{"id":2233016,"url":"http://patchwork.ozlabs.org/api/1.2/covers/2233016/?format=json","web_url":"http://patchwork.ozlabs.org/project/linux-i2c/cover/20260505142547.795054-1-johan@kernel.org/","project":{"id":35,"url":"http://patchwork.ozlabs.org/api/1.2/projects/35/?format=json","name":"Linux I2C development","link_name":"linux-i2c","list_id":"linux-i2c.vger.kernel.org","list_email":"linux-i2c@vger.kernel.org","web_url":"","scm_url":"","webscm_url":"","list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<20260505142547.795054-1-johan@kernel.org>","list_archive_url":null,"date":"2026-05-05T14:25:39","name":"[0/8] i2c: core: adapter registration fixes","submitter":{"id":64666,"url":"http://patchwork.ozlabs.org/api/1.2/people/64666/?format=json","name":"Johan Hovold","email":"johan@kernel.org"},"mbox":"http://patchwork.ozlabs.org/project/linux-i2c/cover/20260505142547.795054-1-johan@kernel.org/mbox/","series":[{"id":502847,"url":"http://patchwork.ozlabs.org/api/1.2/series/502847/?format=json","web_url":"http://patchwork.ozlabs.org/project/linux-i2c/list/?series=502847","date":"2026-05-05T14:25:43","name":"i2c: core: adapter registration fixes","version":1,"mbox":"http://patchwork.ozlabs.org/series/502847/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/covers/2233016/comments/","headers":{"Return-Path":"\n <linux-i2c+bounces-17257-incoming=patchwork.ozlabs.org@vger.kernel.org>","X-Original-To":["incoming@patchwork.ozlabs.org","linux-i2c@vger.kernel.org"],"Delivered-To":"patchwork-incoming@legolas.ozlabs.org","Authentication-Results":["legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256\n header.s=k20201202 header.b=H91pZSct;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org\n (client-ip=2600:3c09:e001:a7::12fc:5321; helo=sto.lore.kernel.org;\n envelope-from=linux-i2c+bounces-17257-incoming=patchwork.ozlabs.org@vger.kernel.org;\n receiver=patchwork.ozlabs.org)","smtp.subspace.kernel.org;\n\tdkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org\n header.b=\"H91pZSct\"","smtp.subspace.kernel.org;\n arc=none smtp.client-ip=10.30.226.201"],"Received":["from sto.lore.kernel.org (sto.lore.kernel.org\n [IPv6:2600:3c09:e001:a7::12fc:5321])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4g91Bl0S0Bz1yJx\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 06 May 2026 00:30:23 +1000 (AEST)","from smtp.subspace.kernel.org (conduit.subspace.kernel.org\n [100.90.174.1])\n\tby sto.lore.kernel.org (Postfix) with ESMTP id 77E8C30349F9\n\tfor <incoming@patchwork.ozlabs.org>; Tue,  5 May 2026 14:28:46 +0000 (UTC)","from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id 60AB8480974;\n\tTue,  5 May 2026 14:28:35 +0000 (UTC)","from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org\n [10.30.226.201])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby smtp.subspace.kernel.org (Postfix) with ESMTPS id ABEAD480333;\n\tTue,  5 May 2026 14:28:34 +0000 (UTC)","by smtp.kernel.org (Postfix) with ESMTPSA id 6CDFBC2BCFB;\n\tTue,  5 May 2026 14:28:34 +0000 (UTC)","from johan by xi.lan with local (Exim 4.98.2)\n\t(envelope-from <johan@kernel.org>)\n\tid 1wKGlE-00000003Ksq-0JPo;\n\tTue, 05 May 2026 16:28:32 +0200"],"ARC-Seal":"i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1777991314; cv=none;\n b=XOw/8dudE/i5QYj7F02O456ERvTHsmZDWrzhZzWks+DMnDW1zbg8m+fpfFf32WrJlO5D+Zohu4pPEF53dQei5dXY3pFyw0W6TmOo0ESxC74TSdA51Azza30SbOYAi6VyOv6yv6eAZxEcPZpyqkp3i5v3xNbmwSCZcp8PhzdTfWk=","ARC-Message-Signature":"i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1777991314; c=relaxed/simple;\n\tbh=uvYFkySG/K6NGjEHDPK4DqIo2mfvMalgBlwyJKCEUsg=;\n\th=From:To:Cc:Subject:Date:Message-ID:MIME-Version;\n b=ZjItGwpCjKXmwn0mowJdk2oBgVepRELhgOsge5vm7kaP9QmCyqGZ7cYy3JJ5oxrAphit+WCgTEf1+FhP1OsaMVkWpUTeleHZNH1CgzsHzHtvdJKUNF3YYw/eZcjLlhcSsrvEA/hHu5S7+N6zdwZnuX05LCGAp/dBuV3J0l4o2Zo=","ARC-Authentication-Results":"i=1; smtp.subspace.kernel.org;\n dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org\n header.b=H91pZSct; arc=none smtp.client-ip=10.30.226.201","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org;\n\ts=k20201202; t=1777991314;\n\tbh=uvYFkySG/K6NGjEHDPK4DqIo2mfvMalgBlwyJKCEUsg=;\n\th=From:To:Cc:Subject:Date:From;\n\tb=H91pZScty490dHWf12L6P1VYVdpW01lA7qNSwhLJhs9dTCe2eDpD6uC8RehvCI55Z\n\t u/hYwI3bAxeIJomS+9dbhYzPUc8WBuUvyIgnpTCp9tSb3VTTCo+5XIEK7Jv+vFoIki\n\t wehXoyb5erzczy+QDsDcu/zCDsBXCpKtZPeMPWnqQOJUk2pkvMOO18DUMbizACpHOm\n\t OMZVtEzN8PoAsyrWIQHfaYmZDuDydP5PTG2aXLTwgOp6PVR8gDPR/Xh87J1l6vgWkd\n\t CssgGXY5BXVm1S8Q8ezxu5IjQbLm2VlI5CzfuvYmuUImpkENRuXU9Qi942adaFwO9Q\n\t 6P7bgIZpf/rUw==","From":"Johan Hovold <johan@kernel.org>","To":"Wolfram Sang <wsa+renesas@sang-engineering.com>","Cc":"Andi Shyti <andi.shyti@kernel.org>,\n\tlinux-i2c@vger.kernel.org,\n\tlinux-kernel@vger.kernel.org,\n\tJohan Hovold <johan@kernel.org>","Subject":"[PATCH 0/8] i2c: core: adapter registration fixes","Date":"Tue,  5 May 2026 16:25:39 +0200","Message-ID":"<20260505142547.795054-1-johan@kernel.org>","X-Mailer":"git-send-email 2.53.0","Precedence":"bulk","X-Mailing-List":"linux-i2c@vger.kernel.org","List-Id":"<linux-i2c.vger.kernel.org>","List-Subscribe":"<mailto:linux-i2c+subscribe@vger.kernel.org>","List-Unsubscribe":"<mailto:linux-i2c+unsubscribe@vger.kernel.org>","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit"},"content":"This series fixes a number of bugs related to adapter registration found\nthrough inspection (when looking into addressing i2c lifetime issues).\n\nIncluded are also two related cleanups.\n\nJohan\n\n\nJohan Hovold (8):\n  i2c: core: fix hang on adapter registration failure\n  i2c: core: fix adapter probe deferral loop\n  i2c: core: fix adapter debugfs creation\n  i2c: core: disable runtime PM on adapter registration failure\n  i2c: core: fix adapter registration race\n  i2c: core: fix adapter deregistration race\n  i2c: core: clean up bus id allocation\n  i2c: core: clean up adapter registration error label\n\n drivers/i2c/i2c-core-base.c | 164 ++++++++++++++++++++----------------\n 1 file changed, 90 insertions(+), 74 deletions(-)"}