From patchwork Tue Sep 15 20:53:47 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: William Breathitt Gray X-Patchwork-Id: 1364652 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=canonical.com Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4Brb9j2K6sz9sTR; Wed, 16 Sep 2020 06:56:08 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1kIHzd-0003eU-6Z; Tue, 15 Sep 2020 20:56:01 +0000 Received: from youngberry.canonical.com ([91.189.89.112]) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1kIHzb-0003eH-SH for kernel-team@lists.ubuntu.com; Tue, 15 Sep 2020 20:55:59 +0000 Received: from mail-qk1-f199.google.com ([209.85.222.199]) by youngberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1kIHzb-0001zf-Hc for kernel-team@lists.ubuntu.com; Tue, 15 Sep 2020 20:55:59 +0000 Received: by mail-qk1-f199.google.com with SMTP id 196so4036166qkn.6 for ; Tue, 15 Sep 2020 13:55:59 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=Z6ywrblIzxsRJA9m9KWpCdnXtY6caxe/zdNijnVPUxE=; b=HSpENAm2i8xzxCRSgVaLwTl0zRJbn+gCgQJXl7UawucmR822t7GbFxpO6ztwvEOXHo lme7c6COzFZBTa62Z91SoZfUCgPJ81UnqVByH/Xq+wbmBTRnqmSlJ4SSZLVMmfJ4c0E7 KNM8cDc07BO6g9rwTyTjxBXlsMS9H5v01+lgpUBWclQBgzHKPwipzM1A1GdJwet5oJeH FpTLplERuvKlIhNU+VwFOj28UYDfQFGxqRBjwZxPiRAkJ1A/0hc+RWhKBtlpLv7Zrcdx qDmhRtgQDCDncWb30oLiSqN6Ui0/bo/q6z0IdrXiYVEjJhrmpLCZHfsd3FdDFqMxcC1+ /Brw== X-Gm-Message-State: AOAM530cWy41fxvQ01kENicWNWGv7YLJoaHINCaHx6UvqePNaCL3aID/ /yGccYbVgwgI0gaock0EYmNSYiLCk/BfhVpp0aZJXsp4N7QDgByg8+/Td0Id+FfjhvdY7biZ2i4 00G7/O4X12y3B3XY6qlYIa/pvjtmjJWR66PugUQvnNQ== X-Received: by 2002:a05:620a:89e:: with SMTP id b30mr20507915qka.231.1600203358352; Tue, 15 Sep 2020 13:55:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzgtspn26PRUIM32zr6ia4kpI2dUdjQR1DYefEBKTCG2FKynxsBs64J8KZcwl5u6zJbVAeFNQ== X-Received: by 2002:a05:620a:89e:: with SMTP id b30mr20507864qka.231.1600203357596; Tue, 15 Sep 2020 13:55:57 -0700 (PDT) Received: from localhost.localdomain (072-189-064-225.res.spectrum.com. [72.189.64.225]) by smtp.gmail.com with ESMTPSA id o13sm16622832qtq.41.2020.09.15.13.55.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Sep 2020 13:55:57 -0700 (PDT) From: William Breathitt Gray To: kernel-team@lists.ubuntu.com Subject: [SRU][FOCAL][PATCH 0/1] kvm: svm: Update svm_xsaves_supported Date: Tue, 15 Sep 2020 16:53:47 -0400 Message-Id: X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" SRU Justification ================= [Impact] AMD CPUs now support XSAVES in a limited fashion (they require IA32_XSS to be zero). AMD has no equivalent of Intel's "Enable XSAVES/XRSTORS" VM-execution control. Instead, XSAVES is always available to the guest when supported on the host. [Regression Potential] Very low chance of regression; previous code returned false for all CPUs while change should only return true when the CPU reports support for the XSAVES feature. [Miscellaneous] Commit 52297436199d is the last remaining patch necessary to add support for the EPYC-v3 and EPYC-Rome CPU model to Focal. Aaron Lewis (1): kvm: svm: Update svm_xsaves_supported arch/x86/kvm/svm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)