From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=193.175.24.41 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796470554; b=AL01SZY8wG1r0Q0TgiXOZ7jYRYLeGPgeJO2cGpRzCO/2pxvlCNS+DYnj96UvWdZS1/N0 PXHNh3NCa8ZapZVpCs/f9lojJNFvuUEx9ANE9q6FyWpTbQMr/KKWEaUsTjJU2M9SMNatP SGfUJveLv2ELBag3LnH6H60C+3BtLuI67bNP+swr/QCHQVptdFgPImp3FOO+4mQZQu7x/ jwx5QMoxd+K0wON5yoPiNjJHAylg75rYtJh+pOTIVVdofqzFB9WhpinBzJInYoadCUC0M +iJ37WZMqwT6m+aE90xE7ZjilPVKSCSf1yVW74JSCdxwBFOjti5r8DHCZ9WVF2o+sFg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796470554; h=DMARC-Filter:Received:Received:Date:From:To:Cc:Subject:Message-ID: References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To; bh=iVNZLDW+QAh3YRV4t6GT+J9X1MTBolZ3XcX4TmIF0Jc=; b=ujpk7UvUnWiyOR1FHDTlLqX4lPhhz/PrHP9B5mWNRxmvuFJv+D5bW3063Qw9xz+rT1AG Zuu0bZFJuSIKUjgx71UKDwRmX/G08mCFjDe2UQ/KGhA5EV7ZXRTDDkpjokaQpju8wVBv5 qsLYKSrXrfmc+lwaKsrM1LFOBAVxQDTWNZW8VdtTpKl5xkC75rs6n8HJN7L+bbigMj2aQ FlPlMs4eUwfutLa98NbZz91ZgLOmCNfdX3zS1maXSKoJbx0s5RhYLNrFH3HQ6BEfIqAKS YG2PSbvKiWdlZrP2AxoewjD7YS6GnZG4t7QpG+PrsrSth75H6Eq1dh50LVHh2KNTnoQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none header.from=alpha.franken.de; spf=pass smtp.mailfrom=alpha.franken.de; arc=none smtp.remote-ip=193.175.24.41 Received: from elvis.franken.de (elvis.franken.de [193.175.24.41]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 55C22606A333 for ; Sat, 5 Dec 2026 11:35:53 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 55C22606A333 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=alpha.franken.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=alpha.franken.de Received: by elvis.franken.de (Postfix, from userid 10) id 0FD92100451; Sat, 5 Dec 2026 12:35:51 +0100 (CET) Received: by alpha.franken.de (Postfix, from userid 1000) id 5607FC081A; Sat, 5 Dec 2026 12:29:21 +0100 (CET) Date: Sat, 5 Dec 2026 12:29:21 +0100 From: Thomas Bogendoerfer To: Guangshuo Li Cc: ryazanov.s.a@gmail.com, linux-mips@vger.kernel.org Subject: Re: [PATCH] MIPS: ath25: Prevent manual unbind of the AR2315 PCI host Message-ID: References: <20261126-a35bb25eb5-u35-0@mail.sdu.edu.cn> X-Mailing-List: linux-mips@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20261126-a35bb25eb5-u35-0@mail.sdu.edu.cn> On Thu, Nov 26, 2026 at 04:30:11PM +0800, Guangshuo Li wrote: > The built-in AR2315 host registers a permanent PCI controller and > interrupt cascade. Unbinding the platform driver frees their > device-managed state while both registrations remain live. Suppress the > bind attributes for this board-created host. > > This issue was found by our static analysis tool under development. > > Fixes: 3ed7a2a702dc ("MIPS: ath25: add AR2315 PCI host controller driver") > Signed-off-by: Guangshuo Li > --- > arch/mips/pci/pci-ar2315.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/mips/pci/pci-ar2315.c b/arch/mips/pci/pci-ar2315.c > index f72802e6c29a..9c3293a4ed3b 100644 > --- a/arch/mips/pci/pci-ar2315.c > +++ b/arch/mips/pci/pci-ar2315.c > @@ -499,6 +499,7 @@ static struct platform_driver ar2315_pci_driver = { > .probe = ar2315_pci_probe, > .driver = { > .name = "ar2315-pci", > + .suppress_bind_attrs = true, > }, > }; > > > base-commit: 4dce97c6c265544342e716e62fd24bbb232590c5 > -- > 2.43.0 applied to mips-next Thomas. -- Crap can work. Given enough thrust pigs will fly, but it's not necessarily a good idea. [ RFC1925, 2.3 ]