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=1796477617; b=TPER6nJIA18mk7xbdYX/vMtXs6pNMV7v7RUNcC3MI3c4xkx29uF8FgHVe1pwzFldkmh7 wLdp0VHiyWSJ4wuRPXAPFFnI0SIMVegnrAb88NfsAIqeXCw7lI15IW0bCswtKH9bORaB5 UGb8QsRUPqcwtg3FpbnfuRduON0Eydo5CdOMzRTP+7gFGGg4IC38zJZ+IXVoLUUkfsWGH sAZFH5m0oh+1fF7RIQKnQ611F/3MepFQUIaMpFXoXucjHt2p1K8OAyTR+mpsQTkQ4U7oh Jmeh3WzGtmRvsmCNetWmJJjpXXJ/ngxy+isI/vmBNhOU/KvGaZ0sdokjze6ntets3WA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796477617; h=DMARC-Filter:Received:Received:Date:From:To:Cc:Subject:Message-ID: References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To; bh=+n5UcyURUiIyOaKafhtzM5gtQaXnS2rw29HqTLLFsT8=; b=3WeWu60JnsV599pN78Rxfsga4Hs9FS6e69qHdYrF3eYvTYcQHi7+jLkW8J9IB+ARPV3v yarraJLwezSVsfmnmlkvAqpBaH0MTOf1BG60f6p2MV8wBLN9eFzK2cVxlDpl08PfgmQ4J zgML1lx9uJ/NUKBOqZy2P3YJzMbj/G0OmrLQIii/ndXQaXtOq95J4RC7ZpDATRe0leCP1 y6WBLiswKOfemd+lsB9UC6nLXta+1PxaDkxmjPAc6ATD4vnjPYhqs2VqcZ/7aPOY9d/z+ mCvGyn2ssfy3+y58kg3kDdDbfPdvQy0M28Cmu9O92BDqiBYDHmZLiLaVtOUyy568DJQ== 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) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CF2AF606A335; Sat, 5 Dec 2026 13:33:35 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org CF2AF606A335 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 B7AD9100454; Sat, 5 Dec 2026 14:33:33 +0100 (CET) Received: by alpha.franken.de (Postfix, from userid 1000) id 3A1BCC081A; Sat, 5 Dec 2026 14:28:20 +0100 (CET) Date: Sat, 5 Dec 2026 14:28:20 +0100 From: Thomas Bogendoerfer To: Imre Kaloz Cc: linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, Lee Jones , stable@vger.kernel.org, linux-pci@vger.kernel.org Subject: Re: [PATCH v2 01/53] MIPS: PCI: xtalk-bridge: refuse device numbers past the last slot Message-ID: References: X-Mailing-List: linux-kernel@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: On Tue, Oct 13, 2026 at 03:16:21PM +0200, Imre Kaloz wrote: > Config slots 8 and up alias the type 1 window, so a root bus scan finds > phantom copies of whatever device b_pci_cfg selects. Refuse root bus > accesses past the ASIC's last slot. > > Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2") > Cc: stable@vger.kernel.org > Signed-off-by: Imre Kaloz > --- > arch/mips/pci/pci-xtalk-bridge.c | 17 ++++++++++++++++- > 1 file changed, 16 insertions(+), 1 deletion(-) 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 ]