From patchwork Wed Apr 10 10:10:02 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Juerg Haefliger X-Patchwork-Id: 1083280 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) 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 44fKfN4V1Xz9s70; Wed, 10 Apr 2019 20:10:20 +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 1hEABK-0003yc-Gj; Wed, 10 Apr 2019 10:10:14 +0000 Received: from youngberry.canonical.com ([91.189.89.112]) by huckleberry.canonical.com with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.86_2) (envelope-from ) id 1hEABI-0003yI-Ka for kernel-team@lists.ubuntu.com; Wed, 10 Apr 2019 10:10:12 +0000 Received: from mail-ed1-f70.google.com ([209.85.208.70]) by youngberry.canonical.com with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.76) (envelope-from ) id 1hEABI-0003wA-AX for kernel-team@lists.ubuntu.com; Wed, 10 Apr 2019 10:10:12 +0000 Received: by mail-ed1-f70.google.com with SMTP id w27so985441edb.13 for ; Wed, 10 Apr 2019 03:10:12 -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=paXotsKyNq/pGm26x0GoDZuTzf+1kJRJP+4z9lBAKB8=; b=DE4vMYnMRX43y/jUPmHAdOnGMaIC+uWuI0HW3wNUeSmk6iyMgOttfZ+QZA9Gqs3C1n HPOtyTXrWxK2JqJg8GaYxCwB19AN4/GBoZfS0SvQ6SeHXQe5fLfsygszVvkCw5KAhb2Q LiUTMDRXpth3qzu2ficzQg8XydvsQkNH3vyaT59RHDhYLjjTvH9K7s6x5rWNf7QudoUc fS7le35vF902plquEgDDR8FrHjarqfja0C6E0Q0vczHw2a/aU+KBo57sFra9BY64RXTL GcLGts14wln8HORch3VN79E+06pJ7NLFCNMSLofncJM3FKFQNiJ4+pD/wtddJy+deBV4 JHFw== X-Gm-Message-State: APjAAAVzBBZODqAwrB+0DmxPNspWmR5+x1eOfjUz7RJeh3xxO4p53Fyg tKINiccgdOYrBNoY9hUQQhYsdnUzxonN2OJRilcjtYXi+KINCdcuji8i94iLAtRSiENdHeN8kLD XCr+8OsjW6ksv6YJWC64VDW5BhH/Iw4OoIfwIMN+onw== X-Received: by 2002:a17:906:d515:: with SMTP id ge21mr17438302ejb.7.1554891011717; Wed, 10 Apr 2019 03:10:11 -0700 (PDT) X-Google-Smtp-Source: APXvYqyOYG99acoq9rKollpUc/h6KShaI4BoK4FmMjyQc+yAEh3434a1GwQeoCswXblxweKDIQDJuw== X-Received: by 2002:a17:906:d515:: with SMTP id ge21mr17438291ejb.7.1554891011482; Wed, 10 Apr 2019 03:10:11 -0700 (PDT) Received: from localhost.localdomain ([81.221.192.120]) by smtp.gmail.com with ESMTPSA id l22sm6397542eja.67.2019.04.10.03.10.10 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 10 Apr 2019 03:10:10 -0700 (PDT) From: Juerg Haefliger X-Google-Original-From: Juerg Haefliger To: kernel-team@lists.ubuntu.com Subject: [SRU][Bionic][PATCH 0/6] Bionic: Sync to Xenial (Spectre) (LP: #1822760) Date: Wed, 10 Apr 2019 12:10:02 +0200 Message-Id: <20190410101008.14726-1-juergh@canonical.com> X-Mailer: git-send-email 2.19.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" BugLink: https://bugs.launchpad.net/bugs/1822760 == SRU Justification == There are a couple of Spectre related commits in Xenial that never landed in Bionic. Fix that to prevent a regression when upgrading from Xenial to Bionic. == Regression Potential == Low. These are not very intrusive commits that have been in upstream for quite a while. == Fix == Backport the relevant commits from upstream. == Test Case == TBD. Compile-tested all architectures. Signed-off-by: Juerg Haefliger Juerg Haefliger (2): UBUNTU: SAUCE: [Fix] x86/KVM/VMX: Add L1D flush logic UBUNTU: SAUCE: [Fix] x86/speculation: Use ARCH_CAPABILITIES to skip L1D flush on vmentry Paolo Bonzini (1): KVM: VMX: fixes for vmentry_l1d_flush module parameter Tom Lendacky (1): KVM: SVM: Add MSR-based feature support for serializing LFENCE Vlastimil Babka (1): x86/speculation/l1tf: Suggest what to do on systems with too much RAM Wanpeng Li (1): KVM: X86: Allow userspace to define the microcode version arch/x86/include/asm/kvm_host.h | 1 + arch/x86/kernel/cpu/bugs.c | 4 +++ arch/x86/kvm/svm.c | 40 +++++++++++++++++++++++++++--- arch/x86/kvm/vmx.c | 43 +++++++++++++++++++-------------- arch/x86/kvm/x86.c | 18 ++++++++++---- 5 files changed, 79 insertions(+), 27 deletions(-) Acked-by: Stefan Bader Acked-by: Kleber Sacilotto de Souza