Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp2634517rdb; Fri, 8 Dec 2023 14:16:57 -0800 (PST) X-Google-Smtp-Source: AGHT+IEe7bc91YzguR98J2q3aQbe2RbSLcpB58HX082BZk7KGxhvRoXPecrI73o9oBs72sZHRlVY X-Received: by 2002:a05:6a20:144e:b0:190:3e74:6d42 with SMTP id a14-20020a056a20144e00b001903e746d42mr729288pzi.86.1702073817348; Fri, 08 Dec 2023 14:16:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702073817; cv=none; d=google.com; s=arc-20160816; b=pauNXNzjr297ISulbYdOGiFQcbDqBnn08IY739apaS6TIcl2/Lghd8Q71cmRT5aohw yaLaAUbGj51xPeV71DiozU7iz8+LSy95nCwQhKbjO/AeQiwXmqqMdivOQPPn/GxKADM8 vydwpSkCv32/dMHVwmTh7L0I9gIpG9TZjYx9eq9azNF2oJP1mQAZV4SdwwRUq4u9c8eF HbXioazrd6V4mQwnicKywCygcejT7NrlAhq5Qs1AFfYzLssxliASLzYaoIK7cKmfl+B1 LPGlatzb/53WPPe/gbwYSDI9kjymoi0wY5AUgco4aaw6eeulqdzf/F3qqIsDiHYb/Icz xCdg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :message-id:subject:cc:to:from:date:dkim-signature; bh=MMlVKAZGI6KiZlgI3o5uKvhXblmwDFuGdcMLV2340UU=; fh=EZbhsDocixSE0vFLzL7rkHlZ15ixcHpabCuzDszWgDY=; b=bth34hfNwTc/vZ+AwuDBdQpzp9nsdujUwe9detQ4uxI7osO1MdB3wqkpVL8+HiNYxD zBj353HS1u8Zq6ZN3IFATfujXUBQjr4pklrRrjSvmyG0VB/iso45B3AWzVh1dUAW/Hmi pAeK/HAtufz1gnHga5EcV/L0Y/g6x3veJh+dZAEjw7DCivP7WK11f78HLaVk/LdP22FQ C0k6s0jUm8AvjyM4FFdTBPONzCYmTnwUardLrebXBkCd5j1Kj3mRFXAJEDJPaGmd8WJ5 WPd6RsV1TRKzIf/tK3KE9EmdE5emSeItxe5DPATHL/aTeYF7qmbIGDiNGER17L8FdFGV NPVw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Dp9eSxuk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id u8-20020a170902e5c800b001d2e6c3f136si2278769plf.96.2023.12.08.14.16.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Dec 2023 14:16:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Dp9eSxuk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 9324180E60B7; Fri, 8 Dec 2023 14:16:28 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1574866AbjLHWQP (ORCPT + 99 others); Fri, 8 Dec 2023 17:16:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46802 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229647AbjLHWQN (ORCPT ); Fri, 8 Dec 2023 17:16:13 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5BEEA118 for ; Fri, 8 Dec 2023 14:16:20 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B9862C433C7; Fri, 8 Dec 2023 22:16:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1702073780; bh=4jtOxyTXC1Zhc3BU449OCvozRrSno/0pGK9xBwiWzj0=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=Dp9eSxukWivDGnnqLm5p/1dy7Fycj/b4VPi99MUlFRCHlyGjLCzShqX4wOwgNVjXc 0nMkD//n2AOPmDzWG8i+ROc6PpEmWarre208FQsWrYdE9Br1tyPS7kT3ACy66f4ssG jmcj1F8opaDg0xM6/C7SxCDgEC0Fxo1zfeMpFWfsVzxpNdzglEoeS74stneAFvEKg7 1z/btf3sNG6a8MCKSLPMdY6zTZU+66yq4s+Zdr5zidA8aR0ZozKZ6kYtupqqIt4SHl 6slbDKkyVoQM8etCnOSEvxtI90E0+p8EiO/Bu1pO6eOuYaGF9MQbcRwGzBeBUjngkR lnP40GBp5HXNA== Date: Fri, 8 Dec 2023 16:16:18 -0600 From: Bjorn Helgaas To: Jiaxun Yang Cc: linux-pci@vger.kernel.org, lpieralisi@kernel.org, kw@linux.com, robh@kernel.org, linux-kernel@vger.kernel.org, chenhuacai@kernel.org, stable@vger.kernel.org Subject: Re: [PATCH v6] pci: loongson: Workaround MIPS firmware MRRS settings Message-ID: <20231208221618.GA834006@bhelgaas> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231201115028.84351-1-jiaxun.yang@flygoat.com> X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Fri, 08 Dec 2023 14:16:28 -0800 (PST) On Fri, Dec 01, 2023 at 11:50:28AM +0000, Jiaxun Yang wrote: > ... > + { PCI_VDEVICE(LOONGSON, DEV_LS2K_PCIE_PORT0) }, > + { PCI_VDEVICE(LOONGSON, DEV_LS7A_PCIE_PORT0) }, > + { PCI_VDEVICE(LOONGSON, DEV_LS7A_PCIE_PORT1) }, > + { PCI_VDEVICE(LOONGSON, DEV_LS7A_PCIE_PORT2) }, > + { PCI_VDEVICE(LOONGSON, DEV_LS7A_PCIE_PORT3) }, > + { PCI_VDEVICE(LOONGSON, DEV_LS7A_PCIE_PORT4) }, > + { PCI_VDEVICE(LOONGSON, DEV_LS7A_PCIE_PORT5) }, > + { PCI_VDEVICE(LOONGSON, DEV_LS7A_PCIE_PORT6) }, P.S. I notice most of these Device IDs are not in the lspci database at https://admin.pci-ids.ucw.cz/read/PC/0014. It's easy to add them; there's a link at the bottom of that page. Some, e.g., 0x7a09 (DEV_LS7A_PCIE_PORT0), are described as "PCI-to-PCI Bridge". I had the impression these were Root Ports. If so, the description could be more specific. Bjorn