Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp6989423ybn; Mon, 30 Sep 2019 07:03:02 -0700 (PDT) X-Google-Smtp-Source: APXvYqx3Me8KwIzEMk/NHn2guznt+VEgBgrpD6oFfzmwTJHAEaQopSgFUeZm+LxoSBJul0PIz3XK X-Received: by 2002:a7b:c203:: with SMTP id x3mr18322975wmi.8.1569852182133; Mon, 30 Sep 2019 07:03:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569852182; cv=none; d=google.com; s=arc-20160816; b=WCZbz3KtOdUm1MFJrA0c1P//rEU9P0sNDMXyTEqJDW9S+cwSjQ+3ahC9FvWV1sjDPt kFGOEK0HIMPES5iFHhSeK0NaToLg1uWEZfwI0568mlxB15D6/K9S1jcOlWeMTKTOZfE5 n3tGmHwXpmchJ+HyuYiywYA/kmGQWOaQJghD4tjSMHyQbU10oIQfqZbCVJLDap7PDo9q CwbZfTuxruceR1AD/tOEmfVr2q3qYwaDhixP2RGKGuaCDgCYSm1cFjJumATIAH1ye3mO oqb/daGtiTTpSDC+RuYRbooImL4SicGf/z37+u1z/2N170ohUx8hSJDSAztVUpPD0P8z lemA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=m44pkEZOmupbPxYH7/QoTtaWkViDDI8aTSk51EHDVfE=; b=ZDdvpq/hGJDLymcxBbN55tpxXSijJs7L+6emItXMcgDOV2t0dVzwuCNShXHTWsnUl8 t87sX9gRIEoYgLj4sR/N98GXDWkAO7yDq+l1bGhrKT5o8sDirI7klINZ35IoDvPyrCkq TOH1b3gqlHQ7tq9d+qSrNshz7kgm3eh4VF1pgPLa3nvktu0EOsdk5ZzE84aolXPSOl9u J1lSlNJx/IwEekHjhInuS6LHInFzQLGxrwEMgk8ly6SYyU319H/3d7XbfqubTmxcBSUq B8Rl9YpL91u3br/4bcgP42vjpqCfvjmgjqOWCXNOcqg4E7oBM0c+QhNy3fLegtEm0pbe afZw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p14si7228885edc.227.2019.09.30.07.02.34; Mon, 30 Sep 2019 07:03:02 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731422AbfI3OCV (ORCPT + 99 others); Mon, 30 Sep 2019 10:02:21 -0400 Received: from foss.arm.com ([217.140.110.172]:55002 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730524AbfI3OCU (ORCPT ); Mon, 30 Sep 2019 10:02:20 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 0DDF028; Mon, 30 Sep 2019 07:02:20 -0700 (PDT) Received: from localhost (unknown [10.37.6.20]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 7B2C13F706; Mon, 30 Sep 2019 07:02:19 -0700 (PDT) Date: Mon, 30 Sep 2019 15:02:17 +0100 From: Andrew Murray To: Tiezhu Yang Cc: bhelgaas@google.com, zenglu@loongson.cn, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] PCI: Add Loongson vendor ID and device IDs Message-ID: <20190930140217.GB38576@e119886-lin.cambridge.arm.com> References: <279cbe32-a44b-3190-aaf7-a277a1220720@loongson.cn> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <279cbe32-a44b-3190-aaf7-a277a1220720@loongson.cn> User-Agent: Mutt/1.10.1+81 (426a6c1) (2018-08-26) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Sep 30, 2019 at 12:55:20PM +0800, Tiezhu Yang wrote: > Add the Loongson vendor ID and device IDs to pci_ids.h > to be used in the future. > > The Loongson IDs can be found at the following link: > https://git.kernel.org/pub/scm/utils/pciutils/pciutils.git/tree/pci.ids > > Co-developed-by: Lu Zeng > Signed-off-by: Lu Zeng > Signed-off-by: Tiezhu Yang > --- > include/linux/pci_ids.h | 19 +++++++++++++++++++ > 1 file changed, 19 insertions(+) > > diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h > index 21a5724..119639d 100644 > --- a/include/linux/pci_ids.h > +++ b/include/linux/pci_ids.h > @@ -3111,4 +3111,23 @@ > > #define PCI_VENDOR_ID_NCUBE 0x10ff > > +#define PCI_VENDOR_ID_LOONGSON 0x0014 > +#define PCI_DEVICE_ID_LOONGSON_HT 0x7a00 > +#define PCI_DEVICE_ID_LOONGSON_APB 0x7a02 > +#define PCI_DEVICE_ID_LOONGSON_GMAC 0x7a03 > +#define PCI_DEVICE_ID_LOONGSON_OTG 0x7a04 > +#define PCI_DEVICE_ID_LOONGSON_GPU_2K1000 0x7a05 > +#define PCI_DEVICE_ID_LOONGSON_DC 0x7a06 > +#define PCI_DEVICE_ID_LOONGSON_HDA 0x7a07 > +#define PCI_DEVICE_ID_LOONGSON_SATA 0x7a08 > +#define PCI_DEVICE_ID_LOONGSON_PCIE_X1 0x7a09 > +#define PCI_DEVICE_ID_LOONGSON_SPI 0x7a0b > +#define PCI_DEVICE_ID_LOONGSON_LPC 0x7a0c > +#define PCI_DEVICE_ID_LOONGSON_DMA 0x7a0f > +#define PCI_DEVICE_ID_LOONGSON_EHCI 0x7a14 > +#define PCI_DEVICE_ID_LOONGSON_GPU_7A1000 0x7a15 > +#define PCI_DEVICE_ID_LOONGSON_PCIE_X4 0x7a19 > +#define PCI_DEVICE_ID_LOONGSON_OHCI 0x7a24 > +#define PCI_DEVICE_ID_LOONGSON_PCIE_X8 0x7a29 Hi Tiezhu, Thanks for the patch - however it is preferred to provide new PCI definitions along with the drivers that use them. They don't provide any useful value without drivers that use them. Thanks, Andrew Murray > + > #endif /* _LINUX_PCI_IDS_H */ > -- > 2.1.0 > >