From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id C00C3EF4EDE for ; Mon, 6 Apr 2026 12:35:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=EBGWzTp2hx4t94btL1xbWdpSg/OGYT8rBTFpHuJExDQ=; b=zOtYUuMtgyEQ8xkd0DCMGFy1c3 FgEsUfOWtIPC6m5Wi2xdIVrechIQ/+hof06lpJd3DG1LnLVNHeQxm9zMrXctgOg/aO5pYEDVsIYYs klMGt3BAMRCWX8bDfinjBpykc8sTw1qVVML83h0cl4GTh9j6vWa2Lyuzuh5AKlmXKR6K12xypx2kb 4f7uTtpWkwx4Is0sYqNelLVek2z3rje9JS7KHLDV4s0+VLfsNwg0GnBtGd1tz3nPaLSIK25t7heag tG6Tcq7V4WUlSVMrqGUAaeqDHvMP0sW7Vn0rPAlHm6XmASCjvRaDPKl0Dzpmu+6EFJzlZYM1u1hoj /hxGHzbQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1w9jAb-000000056ie-0CRX; Mon, 06 Apr 2026 12:35:09 +0000 Received: from elvis.franken.de ([193.175.24.41]) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1w9jAW-000000056gr-1e9B; Mon, 06 Apr 2026 12:35:07 +0000 Received: from uucp by elvis.franken.de with local-rmail (Exim 3.36 #1) id 1w9jAQ-00040n-00; Mon, 06 Apr 2026 14:34:58 +0200 Received: by alpha.franken.de (Postfix, from userid 1000) id 40202C0256; Mon, 6 Apr 2026 14:28:48 +0200 (CEST) Date: Mon, 6 Apr 2026 14:28:48 +0200 From: Thomas Bogendoerfer To: Shiji Yang Cc: linux-mips@vger.kernel.org, Matthias Brugger , AngeloGioacchino Del Regno , Philipp Zabel , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: Re: [PATCH 1/3] mips: pci-mt7620: fix bridge register access Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260406_053504_591031_FBC588E1 X-CRM114-Status: GOOD ( 13.43 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, Jun 18, 2025 at 11:42:05AM +0800, Shiji Yang wrote: > Host bridge registers and PCI RC control registers have different > memory base. pcie_m32() is used to write the RC control registers > instead of bridge registers. This patch introduces bridge_m32() > and use it to operate bridge registers to fix the access issue. > > Signed-off-by: Shiji Yang > --- > arch/mips/pci/pci-mt7620.c | 15 ++++++++++++--- > 1 file changed, 12 insertions(+), 3 deletions(-) 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 ]