Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2709138imm; Tue, 4 Sep 2018 08:47:00 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYrxGkTYhYmdjrAHSSZeKQlF0oCs4peyK9r/hpULZQQXpFbJZTylz1OjQVlHnEMwJgY4LWR X-Received: by 2002:a62:1c0a:: with SMTP id c10-v6mr35795118pfc.41.1536076020180; Tue, 04 Sep 2018 08:47:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536076020; cv=none; d=google.com; s=arc-20160816; b=HYe/GgB5LtrbPRxcPeGMufTcCFuNkdbtIbezx6nbjImf+49/7/T4AlnLPzc8I3HTCs yTqkoFGkRsjtTdMSK5TpYyCrLtch6pLnUTaLLaT/TdEQJ7YqVB/TQZfNuqXWWj1T+VOY YzysNdCcyzaz9Hn1J4hZ+uIA7su738LqMbPPIb/9ibT8rY5Dj8lTnB6rhipApjzXrEZg qCruTv/ImAxTqRzgI/3jA5d9UkpRczPRMBIZzX5SDLnLakYWWZWDB1AH284P0LqxWppe xhXFyj1JSGaNRFwvELkBry/v5AY4JxVudcUP6ezGStm9nLR4GUNCT6lPq3qRYn7v1OvG SI9w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:references:cc:to:subject:from:arc-authentication-results; bh=5/q9jSi2LzQeBdmHMJ8Z5xD9yyKvWU+XOnA1xjc1htY=; b=EV09ktvFe5IGWhQ8BJ1mLxydqcZMoBtDEFScm6jQxG8cUgrgDH/x+S+zG1mGdCibQr OnWWS9BBte1btnywkhk1pbmF/oX+oF6ZpBGo3nQ0CaQF8J+3Ya5zAAT0DzZgpoP60UZ1 DZEhfJ8cidWSW3+SpGPaV2wifEg2n39lecqpsvxdtbahXJVTcEllNwr3gJiirMxpVp/X +E0uF7N1GJPo12HlmesBJKWW6a47gTuasLHKZB2OQ09i7RwmdT48ka7pD2OvG2qJ+/Tm Gd8OL9T+TLsiqG9Hw6Nm4ekr2qqH9BAHYe1/H9UhT7NCn4jyj/QBuzHpPMtwolx+J/RG b3CQ== 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 cc8-v6si8951728plb.69.2018.09.04.08.46.44; Tue, 04 Sep 2018 08:47:00 -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 S1727278AbeIDULI (ORCPT + 99 others); Tue, 4 Sep 2018 16:11:08 -0400 Received: from smtp17.cstnet.cn ([159.226.251.17]:37438 "EHLO cstnet.cn" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726528AbeIDULH (ORCPT ); Tue, 4 Sep 2018 16:11:07 -0400 Received: from [192.168.1.2] (unknown [222.209.19.22]) by APP-09 (Coremail) with SMTP id swCowAAnKIx+qI5bBce6Bg--.22369S2; Tue, 04 Sep 2018 23:45:03 +0800 (CST) From: Pu Wen Subject: Re: [PATCH v5 07/16] x86/pci: add Hygon PCI vendor and northbridge support To: Borislav Petkov Cc: tglx@linutronix.de, mingo@redhat.com, hpa@zytor.com, x86@kernel.org, thomas.lendacky@amd.com, pbonzini@redhat.com, helgaas@kernel.org, linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, linux-pci@vger.kernel.org References: <20180904145255.GI32615@zn.tnic> Message-ID: <5c6b1493-ee20-ed3f-a558-331c0cb65556@hygon.cn> Date: Tue, 4 Sep 2018 23:45:02 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20180904145255.GI32615@zn.tnic> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-CM-TRANSID: swCowAAnKIx+qI5bBce6Bg--.22369S2 X-Coremail-Antispam: 1UD129KBjDUn29KB7ZKAUJUUUUU529EdanIXcx71UUUUU7v73 VFW2AGmfu7bjvjm3AaLaJ3UjIYCTnIWjp_UUUYH7k0a2IF6w4xM7kC6x804xWl14x267AK xVW8JVW5JwAFc2x0x2IEx4CE42xK8VAvwI8IcIk0rVWrJVCq3wAFIxvE14AKwVWUJVWUGw A2ocxC64kIII0Yj41l84x0c7CEw4AK67xGY2AK021l84ACjcxK6xIIjxv20xvE14v26r1j 6r1xM28EF7xvwVC0I7IYx2IY6xkF7I0E14v26r4j6F4UM28EF7xvwVC2z280aVAFwI0_Gr 0_Cr1l84ACjcxK6I8E87Iv6xkF7I0E14v26r4j6r4UJwAS0I0E0xvYzxvE52x082IY62kv 0487Mc02F40EFcxC0VAKzVAqx4xG6I80ewAv7VC0I7IYx2IY67AKxVWUJVWUGwAv7VC2z2 80aVAFwI0_Jr0_Gr1lOx8S6xCaFVCjc4AY6r1j6r4UM4x0Y48IcVAKI48JM4IIrI8v6xkF 7I0E8cxan2IY04v7Mxk0xIA0c2IEe2xFo4CEbIxvr21lc2xSY4AK67AK6ryrMxAIw28Icx kI7VAKI48JMxC20s026xCaFVCjc4AY6r1j6r4UMI8I3I0E5I8CrVAFwI0_Jr0_Jr4lx2Iq xVCjr7xvwVAFwI0_JrI_JrWlx4CE17CEb7AF67AKxVWUtVW8ZwCIc40Y0x0EwIxGrwCI42 IY6xIIjxv20xvE14v26r1j6r1xMIIF0xvE2Ix0cI8IcVCY1x0267AKxVW8JVWxJwCI42IY 6xAIw20EY4v20xvaj40_Wr1j6rW3Jr1lIxAIcVC2z280aVAFwI0_Jr0_Gr1lIxAIcVC2z2 80aVCY1x0267AKxVW8JVW8JrUvcSsGvfC2KfnxnUUI43ZEXa7IU8_pnPUUUUU== X-Originating-IP: [222.209.19.22] X-CM-SenderInfo: psxzv046klw03qof0z/ Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2018/9/4 22:52, Borislav Petkov wrote: >> Add Hygon support in amd_postcore_init(), early_root_info_init(). > > This whole commit message needs to not say *what* the patch does. Will rework the whole commit messages. >> +#define PCI_DEVICE_ID_HYGON_18H_ROOT 0x1450 >> +#define PCI_DEVICE_ID_HYGON_18H_DF_F3 0x1463 >> +#define PCI_DEVICE_ID_HYGON_18H_DF_F4 0x1464 > > Why are you adding those if you can use the AMD f17h ones? They're the same. I add these definitions to indicate that there are Hygon PCI device IDs. You are right, I can just use the AMD f17h ones here. -- Regards, Pu Wen