Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp2957277rdb; Fri, 22 Sep 2023 13:16:55 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHbxwf+oL7wOMxqf32zvzp0hVagjx7mLk7x7GBPRyA/9AZhNStlIWLyKWlAtOzRkF8V6vga X-Received: by 2002:a05:6808:10d0:b0:3ac:b0ff:ab44 with SMTP id s16-20020a05680810d000b003acb0ffab44mr790391ois.14.1695413815004; Fri, 22 Sep 2023 13:16:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695413814; cv=none; d=google.com; s=arc-20160816; b=RmfM+h6qiaIX7QTkB/98T8UpqfC2/26iAfPa+3XoYs+XvbWpOSQTCwuzl2HKbDmK/0 H04XwVsC5Tu+Al4ecQLDx7B9K0jsu6D1Ae9apnj5CawqpgjekcGKY4qm0Tk33NuWa83Y pYNqyjZxLPSp0amBs+S6qtZbRv5ctj/KZLGxDU28mHLGDa+SsUEf63YHPcWkCrS8H1ph o1JQ/P5rkvlRtmK5JpLoX2ML7XJfVtJGjSf8tCoQ93/XS9PV31yND/y4CV0poybDA+LP vaYHLInZjMrAeIKqdm1JisQZhyr0LH2tejHCeKuVQ8bjxffFagFS0i6XhdgU3V0b4SO0 mcWA== 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=AQm9yEr8BqT/+PpZ1JkB7PoF3iVB8b0Q+lcbIZC+9I8=; fh=XLPh2nLnH64HFn+TSoRI37lU9dZSSivMHFD5RS9g6Pk=; b=Pu3mFwxBs+G4colnIVzz558OBQ4AMbyxFibukmjTKngPlkyAD31AkEMUGdVmeSuyXH ++uZxtI1+uaW/jOEnNtfmRGl9aUkXyTW/QyTNlH2pFmcNQHUBrvR9S+nIjSMmy+7p8dE xda7dNi/1kgt6pUedXfHnlA9UHpBDLEA1NV+ykF1FZy/RKszreP309aZZ6DMGqLCyW7B x9w/Ogn24qEmlGjIAtB+AXa1qLqzQD102KzBgpLJlURlv8Y/u3QRIYyLuC39/52siVo3 nG+EuR/HjdoCOfLK1+IQiHfDlj1NwHEA/PHtAutDwnMWklQ7ouELuSASKQjU6VwXr5+h nMvQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=alien8 header.b="PsoL/Xd3"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id p19-20020a639513000000b00573f786103dsi1514300pgd.754.2023.09.22.13.16.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Sep 2023 13:16:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@alien8.de header.s=alien8 header.b="PsoL/Xd3"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 5E42A835D95A; Fri, 22 Sep 2023 04:38:26 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233702AbjIVLiR (ORCPT + 99 others); Fri, 22 Sep 2023 07:38:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37686 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233652AbjIVLiP (ORCPT ); Fri, 22 Sep 2023 07:38:15 -0400 Received: from mail.alien8.de (mail.alien8.de [IPv6:2a01:4f9:3051:3f93::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 31274FB for ; Fri, 22 Sep 2023 04:38:09 -0700 (PDT) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.alien8.de (SuperMail on ZX Spectrum 128k) with ESMTP id 0C01640E01A1; Fri, 22 Sep 2023 11:38:07 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at mail.alien8.de Authentication-Results: mail.alien8.de (amavisd-new); dkim=pass (4096-bit key) header.d=alien8.de Received: from mail.alien8.de ([127.0.0.1]) by localhost (mail.alien8.de [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id SRsyE2Cjq-7Y; Fri, 22 Sep 2023 11:38:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=alien8; t=1695382684; bh=AQm9yEr8BqT/+PpZ1JkB7PoF3iVB8b0Q+lcbIZC+9I8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=PsoL/Xd3aXEytaiM5hbYYyQxAwky4c3qr5n8GYtd3Jnj8GkdfQw2lDlSvdryi+vXZ 7ALrIttDSEXdaXag70Hg8xxRygRRtjwccwVA1rnDXZbBurTBKzBBpHBehLM5/8VD2d UCR3SRVFm18lEMZJLEFOpSGrtLAZ8F48uSumXYkIDs4WkAPtq/K+xZ4jVf4eW39AAj A0BRXlGSCsxUI9oC7Hii1sXC4VyAYwUAcrmv67sVGiFyEUIJduv+8gnTjuTW8iG2S/ RZE5mI8HICPK96x16WGBi8IiBDl1VulVn764iDQNu57OkfpB9f/d2/MDP9aF+F79zQ Hse5CkVG8s7+WE1FfCI0y80lSKQr0QidWEUFEggH9fLSFxR5FsHIm1h4H0OmaqqFiG R0Ol1F5DLhygZrRrgXoHllfXAcyNz6PeTHbNsnw3kSHGfiK3VZCvW/9CNb1teJFieY 2urbThpswRMCRAOq7Vz/2ZWLWrrtfETQPGKEC8CBpokM/gxeXsi2AmmZk1Et9B1Lbr /HvcsAh8KM42JgYKS0ntLfX719JlEOlidpUSyMWM9HHHHbKny6FzJ46jBme6Qn9E7U DKGjLxM0sMaYGMA2WJWYyDA7+zC7slzolZVecKp6vcEIKMWXfMj8wAX6LzU3TiAXqe 0ALgfsCP507ZTb29hq+Ne7ok= Received: from zn.tnic (pd953036a.dip0.t-ipconnect.de [217.83.3.106]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail.alien8.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 6F5B040E0176; Fri, 22 Sep 2023 11:37:59 +0000 (UTC) Date: Fri, 22 Sep 2023 13:37:54 +0200 From: Borislav Petkov To: Paolo Bonzini Cc: Ingo Molnar , linux-kernel@vger.kernel.org, linux-tip-commits@vger.kernel.org, x86@kernel.org Subject: Re: [tip: x86/cpu] x86/cpu: Clear SVM feature if disabled by BIOS Message-ID: <20230922113754.GEZQ18kuTDSB8W8epS@fat_crate.local> References: <20230921114940.957141-1-pbonzini@redhat.com> <169537583818.27769.18320521458994415527.tip-bot2@tip-bot2> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.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 (lipwig.vger.email [0.0.0.0]); Fri, 22 Sep 2023 04:38:26 -0700 (PDT) On Fri, Sep 22, 2023 at 01:18:09PM +0200, Paolo Bonzini wrote: > AMD and Hygon pretend that they are different, and use different families > for what is effectively the same processor, and that's silly. Not entirely true. Off and on they come with enablement which is close but then a bit different and it is either ifdeffery or do their own functions. For simplicity, we've done "do their own functions" as we cannot test the common code on Hygon. > ... because honestly who even thinks of Hygon... There's that too. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette