Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp999645imm; Thu, 6 Sep 2018 13:37:01 -0700 (PDT) X-Google-Smtp-Source: ANB0VdY07a+fQfNYXDGQZsmFTv2kH4TH5HIlQGGepmeL964SvFzNxV1IbpxGfiNJJmNr3bmjm5jb X-Received: by 2002:a62:9992:: with SMTP id t18-v6mr4799902pfk.239.1536266221703; Thu, 06 Sep 2018 13:37:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536266221; cv=none; d=google.com; s=arc-20160816; b=VF/ZBhHIxfOwDA/uThIXJ68ndfeet9DsBK2pfq80+7R5UkhJ365YJDs7EXZqX1UhNw 0zEC+61P7DNoV6yCrd4ESvaxw87UTtM3sE3Ji8OxO4oiCuWQvOJemAszTGVc60KtiAop 83+qUdMtf3Nwq6noRzV2klS2j2dlIVOOjX3ivouQHw0h1GAxq6zTpeRbCW8aa45d5PcU MHUc1nyWzrzwgDHlSbnxxnoF3xbIXcD/OriBAj9sCZT8j5U8V44oWveuMBx6XA/Kwy5A kaExj/Rhro15oULwqhH51kCNrUc/fIXKPZ4tuWsQGuIWXF7kalGapDazVEon+jCSYYbm liJQ== 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; bh=cExu9qkZ8LACo9ADCoi8GVi7uqeA270LIuI1v2qI+24=; b=vzitspdRfQqfWzHXkpBDINo9vhdH4fKOSUO3EKFSFilc2dhcMUr0qvwhLB6bZAu0Eu BFLx6R8EZgEjGckGCywnQkGK3nXGor++ux/FDul+VDxB7IJf6vdGl4MEjYABXqWzjEFF pB6JFXEZpjC9cO3/EENRueqaZKfzd7bbp6UKLWZb5BDrzu7RwCoo9SVduqW851/bq089 fJcUqOxgDNHGOLupOFRxmwZQCFY9oMK0QaRPb6LlepbL2YBvLzi5Ws6MRvPuhY5pCh22 uVGhl1BZWCIKVySSnWj+mvnHSalJJ3LMl8xYTq4SP0lgDimjIZ5WIUnXy9Y6frXQipmB qz9Q== 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 m13-v6si6006400pgi.192.2018.09.06.13.36.46; Thu, 06 Sep 2018 13:37:01 -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 S1730319AbeIFUYH (ORCPT + 99 others); Thu, 6 Sep 2018 16:24:07 -0400 Received: from smtp21.cstnet.cn ([159.226.251.21]:53478 "EHLO cstnet.cn" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1730122AbeIFUYG (ORCPT ); Thu, 6 Sep 2018 16:24:06 -0400 Received: from [192.168.1.8] (unknown [222.209.19.98]) by APP-01 (Coremail) with SMTP id qwCowABHKOUSTJFbJbh7Bw--.36259S2; Thu, 06 Sep 2018 23:47:31 +0800 (CST) From: Pu Wen Subject: Re: [PATCH v5 10/16] x86/mce: enable Hygon support to MCE infrastructure To: Borislav Petkov Cc: tglx@linutronix.de, mingo@redhat.com, hpa@zytor.com, x86@kernel.org, thomas.lendacky@amd.com, pbonzini@redhat.com, tony.luck@intel.com, linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, linux-edac@vger.kernel.org References: <20180905092234.GC2237@zn.tnic> <01604799-b993-e530-817c-ad097d343fc4@hygon.cn> <20180905131427.GI2237@zn.tnic> <20180906083924.GB10768@zn.tnic> <634f371e-1a2d-5b23-c9b0-5f32a8ee4cee@hygon.cn> <20180906122956.GF10768@zn.tnic> Message-ID: Date: Thu, 6 Sep 2018 23:47:31 +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: <20180906122956.GF10768@zn.tnic> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-CM-TRANSID: qwCowABHKOUSTJFbJbh7Bw--.36259S2 X-Coremail-Antispam: 1UD129KBjvdXoW7Xr13XrWDCr1UCFyxAr43KFg_yoWxCwbEgF nIkrs3W34UtrWvqry8Grs5ZF1qgayIgFW8Zw1UtrnxKas8AFZrJ3ZxCF1fZrn2ga9xWwn5 Wr1jv392q3WqgjkaLaAFLSUrUUUUUb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUIcSsGvfJTRUUUb-kYjsxI4VWkCwAYFVCjjxCrM7AC8VAFwI0_Gr0_Xr1l1xkIjI8I 6I8E6xAIw20EY4v20xvaj40_Wr0E3s1l1IIY67AEw4v_Jr0_Jr4l8cAvFVAK0II2c7xJM2 8CjxkF64kEwVA0rcxSw2x7M28EF7xvwVC0I7IYx2IY67AKxVWUJVWUCwA2z4x0Y4vE2Ix0 cI8IcVCY1x0267AKxVW8JVWxJwA2z4x0Y4vEx4A2jsIE14v26r1j6r4UM28EF7xvwVC2z2 80aVCY1x0267AKxVW8JVW8Jr1le2I262IYc4CY6c8Ij28IcVAaY2xG8wAqx4xG64xvF2IE w4CE5I8CrVC2j2WlYx0E2Ix0cI8IcVAFwI0_Jr0_Jr4lYx0Ex4A2jsIE14v26r1j6r4UMc vjeVCFs4IE7xkEbVWUJVW8JwACjcxG0xvEwIxGrwACI402YVCY1x02628vn2kIc2xKxwCY jI0SjxkI62AI1cAE67vIY487MxkIecxEwVAFwVW5WwCF04k20xvY0x0EwIxGrwCFx2IqxV CFs4IE7xkEbVWUJVW8JwC20s026c02F40E14v26r1j6r18MI8I3I0E7480Y4vE14v26r10 6r1rMI8E67AF67kF1VAFwI0_Jw0_GFylIxkGc2Ij64vIr41lIxAIcVC0I7IYx2IY67AKxV WUJVWUCwCI42IY6xIIjxv20xvEc7CjxVAFwI0_Gr0_Cr1lIxAIcVCF04k26cxKx2IYs7xG 6rW3Jr0E3s1lIxAIcVC2z280aVAFwI0_Jr0_Gr1lIxAIcVC2z280aVCY1x0267AKxVW8JV W8JrUvcSsGvfC2KfnxnUUI43ZEXa7IU8_pnPUUUUU== X-Originating-IP: [222.209.19.98] 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/6 20:29, Borislav Petkov wrote: > Say what now?! What testing do you do if you boot a kernel which doesn't > even use the functionality you're testing?! I'm sorry, this case is not good to demonstrate the useage. And I think there are no other people will do the test without MCE in kernel. So with MCE enabled in kernel is the main case to support. > The first way but change that dependency to CPU_SUP_AMD because there > are people building their own kernels and don't run distro configs. And > you need CPU_SUP_AMD because you're using their code. That's good, will select CPU_SUP_AMD for CPU_SUP_HYGON to solve the dependency issues in kernel. -- Regards, Pu Wen