From patchwork Wed May 30 11:38:11 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Juerg Haefliger X-Patchwork-Id: 922730 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-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 40wpWV2KKwz9s1d; Wed, 30 May 2018 21:38:30 +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 1fNzQs-0006Cu-Al; Wed, 30 May 2018 11:38:22 +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 1fNzQr-0006Cl-98 for kernel-team@lists.ubuntu.com; Wed, 30 May 2018 11:38:21 +0000 Received: from mail-wm0-f71.google.com ([74.125.82.71]) by youngberry.canonical.com with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.76) (envelope-from ) id 1fNzQr-0006S2-1l for kernel-team@lists.ubuntu.com; Wed, 30 May 2018 11:38:21 +0000 Received: by mail-wm0-f71.google.com with SMTP id x203-v6so6797620wmg.8 for ; Wed, 30 May 2018 04:38:21 -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; bh=z/E90T/VJ3WZ4va2sO6cK0wSgFepE4GBfTG3xgwvzeM=; b=JV2jOiGQQIvyKQ92fw/zOOxFVFwH1dfgQldUaO5mgfEBAB94cfh4DOIGDO+kNymPcJ /xblgMmpTC1t2aR/oK2O3QcAedn4DHpRNZNHW/Um6L8i9OEaYBdVW0Gf+wK46YkgJmoc 9U5rFqfI/mwy2hfdtdsfWM72ttzYS0sCeo2EHWozGJW3COV7Wr9bkXODKEVuYg5KfAXU P+XaYbNG6nLMjG/WnrS8XcWeNFgPtbMtCaA+dbEtko/s6puDvUfaY6r29Ut7LjI3PGw9 7oH+S9MbMixVU8V5BF5J44dS5Igm8d85OhvOekjfVUL57VXiOrr6IBH1BQhhpZ3GQu8y zi4w== X-Gm-Message-State: ALKqPwfZL5mD85c7ujEPKOOQpSeiu7vPltdsOu+3uHCrK/WVA/J5lcPW Hso1jQieGMWQzXcAsD52wX1bWVIMoofcPMx8hPQNKiBJJ/CfplRNzSoBYEst6qp5oDLMys3kV1a 16SFSCBe+Aibrn4oQ4SnyvH4C4HT19AOsXgdWhdy60A== X-Received: by 2002:a50:ee8c:: with SMTP id f12-v6mr3146444edr.10.1527680300624; Wed, 30 May 2018 04:38:20 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLlrYHRBwHqhUuPr2Xd9dhPphrK6DG+s+k6kjOddyB7P0C3v1tFQgTfQpBlesMDniHrEQP4jQ== X-Received: by 2002:a50:ee8c:: with SMTP id f12-v6mr3146437edr.10.1527680300495; Wed, 30 May 2018 04:38:20 -0700 (PDT) Received: from localhost.localdomain ([81.221.205.149]) by smtp.gmail.com with ESMTPSA id g1-v6sm9265853edi.41.2018.05.30.04.38.19 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 30 May 2018 04:38:19 -0700 (PDT) From: Juerg Haefliger X-Google-Original-From: Juerg Haefliger To: kernel-team@lists.ubuntu.com Subject: [SRU][Xenial][PATCH 0/6] Fixups for CVE-2018-3639 (x86) Date: Wed, 30 May 2018 13:38:11 +0200 Message-Id: <20180530113817.14784-1-juergh@canonical.com> X-Mailer: git-send-email 2.17.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: , MIME-Version: 1.0 Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" Misc subsequent fixups and cleanups for CVE-2018-3639 (x86). Signed-off-by: Juerg Haefliger Huaitong Han (1): KVM: x86: remove magic number with enum cpuid_leafs Juerg Haefliger (5): UBUNTU: SAUCE: x86/cpufeatures: Move CPUID_7_EDX CPUID bits to word 18 UBUNTU: SAUCE: x86: Remove double include UBUNTU: SAUCE: proc: Remove empty line in /proc/$pid/status UBUNTU: SAUCE: x86/pti: Evaluate X86_BUG_CPU_MELTDOWN when pti=auto UBUNTU: SAUCE: x86/speculation: Query individual feature flags when reloading microcode arch/x86/include/asm/cpufeature.h | 10 ++++-- arch/x86/include/asm/cpufeatures.h | 12 +++---- arch/x86/include/asm/disabled-features.h | 2 ++ arch/x86/include/asm/mwait.h | 1 - arch/x86/include/asm/required-features.h | 2 ++ arch/x86/kernel/cpu/microcode/core.c | 24 +++++++------ arch/x86/kvm/cpuid.c | 44 ++++++++++++------------ arch/x86/mm/kaiser.c | 7 ++-- fs/proc/array.c | 2 +- 9 files changed, 57 insertions(+), 47 deletions(-) Acked-by: Stefan Bader Acked-by: Kleber Sacilotto de Souza