Received: by 2002:a05:6602:2086:0:0:0:0 with SMTP id a6csp4393393ioa; Wed, 27 Apr 2022 02:53:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwZ98b5FE6agwGsJjYkF8ntER5nIRboq309kzrncvGzmWirfYH2XefAtf7GLVBUF6yugFeN X-Received: by 2002:a17:90b:1e10:b0:1d9:a68a:144f with SMTP id pg16-20020a17090b1e1000b001d9a68a144fmr10035123pjb.17.1651053195957; Wed, 27 Apr 2022 02:53:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651053195; cv=none; d=google.com; s=arc-20160816; b=sf60uGnsVQ58Hc4yUJCdDAGORzgTeH1l01GFv3iuRpLcVPCr1ueUDs2JN11S/qpw1V ai/c5JHEg2PRvcx2baJYWPKe0/VJrQ/evDhihblabLoEZ6bsZuzlBQ15lbliOqDJOiaZ DhgvQCh77Hlb26FuzgW/k0o6ROvZZGF09NmGT9bieDBYLSg8yt8LCZHuCqEoog5i4fyp j3qJtCsxBrucIxTRcYPtABM7p64f4GTGWFQPnCM4f1Wf/wseh8dQo77k9LIrLmBCcvW4 vJhVgEb15hmQ+XL2S5hjpmn+KgGt/bNwacN+jo/FqRMm6Y1RoNKGyfoFXrzaL3ydBoVU Hbxg== 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 :references:message-id:subject:cc:to:from:date:dkim-signature; bh=UgkxP6AMfnaAWLQABV2a9gqxkUf3RZZ7Bpg1ZSLjFy8=; b=Jzn3wvZPh5XjIbbQyJ3+C8H4Wy56A8LV/XjcpBk5smTMpmYF0i2s5KbtuvtzmglCZB m9ZLPTLl89krwwlGu3e+iH05SOKTkZO3GMnDFSPcEAt9aozzMCCOmuFNDtU+niWW5z63 vqL3PPj9MIH2kG3Kmy3/ElpXKjtGg9IER5NNEKpPxbMCqe88CFY4oXHnRuLVG4Erd3J1 xbjy5hwocRx315i/UD5G9M09m9gGq3Cry7EzYAA4MGywqehWyawUR//yzcojZM9DqSG0 x7xZktjUXdE4aqH9NmtEC1FRbX2jwZvOT9mCD4KN4/6absIOfCQbFAVLq3s6xDajFOEH kYiA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=AWBZ9Ezn; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id 200-20020a6304d1000000b003a9fd439348si945536pge.582.2022.04.27.02.53.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Apr 2022 02:53:15 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=AWBZ9Ezn; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 171ED2A3263; Wed, 27 Apr 2022 02:23:59 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1350051AbiDZMm4 (ORCPT + 99 others); Tue, 26 Apr 2022 08:42:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56700 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1350022AbiDZMmy (ORCPT ); Tue, 26 Apr 2022 08:42:54 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8C2E71773C0; Tue, 26 Apr 2022 05:39:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=UgkxP6AMfnaAWLQABV2a9gqxkUf3RZZ7Bpg1ZSLjFy8=; b=AWBZ9Ezn9EEeNgu1/KnwmLjXko yb5HjsfLMUe0EgqI6u4af4kjFMFIcitq92LFPJdg9xsjZn4Bhzu2mdSADx2d/v2pTOiFySJB1I5Zg UZxbJhVXYzIGEuK6pTHJ3l9QZRrLDZUHiks7NWSrxPXJzxAD0HBNhbSdG1JxT3G7IJ8/HrmbOd2EB SZYukMFZhT7BlVg2S8TV8eVa3gCWKzmOfVyOXF1TGuLQwxBf0x6wPdlRCz53BTozzxmjgQ9Rgi1zL IMkSfI8uD7DHkU2YRGguKmgWDmFUddCQ9WRdzru1H4PvSh/wu8oZfyq5RVDB7L1s3buD/gKFqSQDx 8dtIgOtg==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by casper.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1njKTW-009dLL-BW; Tue, 26 Apr 2022 12:39:26 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 94F4030093A; Tue, 26 Apr 2022 14:39:24 +0200 (CEST) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 7F9362029F9FF; Tue, 26 Apr 2022 14:39:24 +0200 (CEST) Date: Tue, 26 Apr 2022 14:39:24 +0200 From: Peter Zijlstra To: Wen Pu Cc: Sandipan Das , "linux-kernel@vger.kernel.org" , "linux-perf-users@vger.kernel.org" , "x86@kernel.org" , "bp@alien8.de" , "dave.hansen@linux.intel.com" , "acme@kernel.org" , "mark.rutland@arm.com" , "alexander.shishkin@linux.intel.com" , "namhyung@kernel.org" , "jolsa@kernel.org" , "tglx@linutronix.de" , "mingo@redhat.com" , "pbonzini@redhat.com" , "jmattson@google.com" , "like.xu.linux@gmail.com" , "eranian@google.com" , "ananth.narayan@amd.com" , "ravi.bangoria@amd.com" , "santosh.shukla@amd.com" Subject: Re: [PATCH v2 7/7] kvm: x86/cpuid: Fix CPUID leaf 0xA Message-ID: References: <54bc7fe4cadf6bdef823bab1fba43d4891d2e1a9.1650515382.git.sandipan.das@amd.com> <20220426081550.GO2731@worktop.programming.kicks-ass.net> <9e6d14a0-a658-195c-c7a3-7d2687a61544@amd.com> <25e89d27-d7da-2dea-dd20-0a9d8dcdee83@hygon.cn> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <25e89d27-d7da-2dea-dd20-0a9d8dcdee83@hygon.cn> X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 26, 2022 at 11:45:32AM +0000, Wen Pu wrote: > I have confirmed that Hygon processors do not support CPUID leaf 0xA. > Sandipan, could you please also add X86_VENDOR_HYGON in the if > conditional? Will do, thanks!