Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp743264pxp; Fri, 11 Mar 2022 13:59:12 -0800 (PST) X-Google-Smtp-Source: ABdhPJyaOXGVCnaTfDmH3jQLkisoCKM64cub5Q6I+XO2uun8rvdv+JmWB99KrlJg1pR/Nc0EzEBW X-Received: by 2002:a63:d40d:0:b0:380:f45d:2cf2 with SMTP id a13-20020a63d40d000000b00380f45d2cf2mr7118329pgh.610.1647035952127; Fri, 11 Mar 2022 13:59:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1647035952; cv=none; d=google.com; s=arc-20160816; b=CzX1bSI+rnP494R4KCRNsPteiuDuy9crDXRlIh6iWsNKe0M6lYZybTiELx2Jh7tLkC QPPIE6NwVo6EYMzSl7ibzhFZlaSCxY8tymMvJJfEB/N3azNLoWKVJnYX7clcb5a84v+Q pwjRHalTc2hGg+hOLrejrSHDuBC81SgNYzURJgEeRFjsYC52oUXBbBopjZWeQp9QlAB/ WlWJrStRCrV2vtIish0L7ax1EOAUEKrF89ohOPDzJXOvxdE1M18epSYkK9xugvsbor3o /WgqRPsM7uzF7p+3CnRlNrCKJKem/qci8hO16nyscSD+gmQoThYrEidMZoJivpBuqfh6 s+8A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:user-agent :mime-version:message-id:date:subject:cc:to:from:dkim-signature; bh=GPXoy6XbJyM6rXXpUnSK1E7Apv3cdtWvhQwD4/cO07E=; b=u5ayZQ2ZBmgMsCxCpjWTVS51k+DNDnity/hIvIwdpXdcrd+1d4hNFKuw0/pwnMHUWm G2tFmBJtGto4OVDdkbk5250sfGxmqjc5f6hpVy0ppDcolkTQvrKqh0Wqdosmxmym8ROC 7/76uvS+Grgu0lNn0xTQHqRNNYbN4Mhpsefmg+59OnOy+zD9yRyWUV4j24PH9U5YcUNw RkoIR/iuu/Lv2XFz9UQzBiXJBYZeKOm9FDCyeUy6+Ztt9CGOF+ezVQqrHR1LoUrI/kwQ HzQOunp4tg1g6iY2eagntLQmTeOw5IIbaaq3YKUOJGZgyUTNHbfZG4bFAASsfY7o3+Nq yAKQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=aIOzmT0Z; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id i8-20020a17090332c800b00151c6f1b299si9613155plr.374.2022.03.11.13.59.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Mar 2022 13:59:12 -0800 (PST) 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=@linuxfoundation.org header.s=korg header.b=aIOzmT0Z; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 32B941F65E3; Fri, 11 Mar 2022 13:16:24 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344790AbiCJOlM (ORCPT + 99 others); Thu, 10 Mar 2022 09:41:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49724 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244817AbiCJO3b (ORCPT ); Thu, 10 Mar 2022 09:29:31 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 414D913FAF8; Thu, 10 Mar 2022 06:24:44 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id C7917B82676; Thu, 10 Mar 2022 14:24:19 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 12BA6C340E8; Thu, 10 Mar 2022 14:24:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1646922258; bh=IGMsbAtKCivwIrG+92+GkcrGbLGm7lLEddCjNgl6LsE=; h=From:To:Cc:Subject:Date:From; b=aIOzmT0ZLolIkpmzRz3kmDFJtErUiVN56v6oreVeORqJt8j149IzxDBxEna/nbCVk P2IlDk648V8MKD3mJ29+O6PpAreae8zttssADggCTlcYCalSJ/p/7bYV9RxrUDJCYP sDLNlWZ6hekNOmnoPiSvi4JEWZrIUsNuSx0IXPjg= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, torvalds@linux-foundation.org, akpm@linux-foundation.org, linux@roeck-us.net, shuah@kernel.org, patches@kernelci.org, lkft-triage@lists.linaro.org, pavel@denx.de, jonathanh@nvidia.com, f.fainelli@gmail.com, sudipm.mukherjee@gmail.com, slade@sladewatkins.com Subject: [PATCH 5.10 00/58] 5.10.105-rc2 review Date: Thu, 10 Mar 2022 15:18:20 +0100 Message-Id: <20220310140812.869208747@linuxfoundation.org> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 User-Agent: quilt/0.66 X-stable: review X-Patchwork-Hint: ignore X-KernelTest-Patch: http://kernel.org/pub/linux/kernel/v5.x/stable-review/patch-5.10.105-rc2.gz X-KernelTest-Tree: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git X-KernelTest-Branch: linux-5.10.y X-KernelTest-Patches: git://git.kernel.org/pub/scm/linux/kernel/git/stable/stable-queue.git X-KernelTest-Version: 5.10.105-rc2 X-KernelTest-Deadline: 2022-03-12T14:08+00:00 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 This is the start of the stable review cycle for the 5.10.105 release. There are 58 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made by Sat, 12 Mar 2022 14:07:58 +0000. Anything received after that time might be too late. The whole patch series can be found in one patch at: https://www.kernel.org/pub/linux/kernel/v5.x/stable-review/patch-5.10.105-rc2.gz or in the git tree and branch at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-5.10.y and the diffstat can be found below. thanks, greg k-h ------------- Pseudo-Shortlog of commits: Greg Kroah-Hartman Linux 5.10.105-rc2 Greg Kroah-Hartman Revert "ACPI: PM: s2idle: Cancel wakeup before dispatching EC GPE" Juergen Gross xen/netfront: react properly to failing gnttab_end_foreign_access_ref() Juergen Gross xen/gnttab: fix gnttab_end_foreign_access() without page specified Juergen Gross xen/pvcalls: use alloc/free_pages_exact() Juergen Gross xen/9p: use alloc/free_pages_exact() Juergen Gross xen: remove gnttab_query_foreign_access() Juergen Gross xen/gntalloc: don't use gnttab_query_foreign_access() Juergen Gross xen/scsifront: don't use gnttab_query_foreign_access() for mapped status Juergen Gross xen/netfront: don't use gnttab_query_foreign_access() for mapped status Juergen Gross xen/blkfront: don't use gnttab_query_foreign_access() for mapped status Juergen Gross xen/grant-table: add gnttab_try_end_foreign_access() Juergen Gross xen/xenbus: don't let xenbus_grant_ring() remove grants in error case Russell King (Oracle) ARM: fix build warning in proc-v7-bugs.c Nathan Chancellor ARM: Do not use NOCROSSREFS directive with ld.lld Russell King (Oracle) ARM: fix co-processor register typo Emmanuel Gil Peyrot ARM: fix build error when BPF_SYSCALL is disabled James Morse arm64: proton-pack: Include unprivileged eBPF status in Spectre v2 mitigation reporting James Morse arm64: Use the clearbhb instruction in mitigations James Morse KVM: arm64: Allow SMCCC_ARCH_WORKAROUND_3 to be discovered and migrated James Morse arm64: Mitigate spectre style branch history side channels James Morse KVM: arm64: Allow indirect vectors to be used without SPECTRE_V3A James Morse arm64: proton-pack: Report Spectre-BHB vulnerabilities as part of Spectre-v2 James Morse arm64: Add percpu vectors for EL1 James Morse arm64: entry: Add macro for reading symbol addresses from the trampoline James Morse arm64: entry: Add vectors that have the bhb mitigation sequences James Morse arm64: entry: Add non-kpti __bp_harden_el1_vectors for mitigations James Morse arm64: entry: Allow the trampoline text to occupy multiple pages James Morse arm64: entry: Make the kpti trampoline's kpti sequence optional James Morse arm64: entry: Move trampoline macros out of ifdef'd section James Morse arm64: entry: Don't assume tramp_vectors is the start of the vectors James Morse arm64: entry: Allow tramp_alias to access symbols after the 4K boundary James Morse arm64: entry: Move the trampoline data page before the text page James Morse arm64: entry: Free up another register on kpti's tramp_exit path James Morse arm64: entry: Make the trampoline cleanup optional James Morse arm64: spectre: Rename spectre_v4_patch_fw_mitigation_conduit James Morse arm64: entry.S: Add ventry overflow sanity checks Joey Gouly arm64: cpufeature: add HWCAP for FEAT_RPRES Joey Gouly arm64: cpufeature: add HWCAP for FEAT_AFP Joey Gouly arm64: add ID_AA64ISAR2_EL1 sys register Marc Zyngier arm64: Add HWCAP for self-synchronising virtual counter Anshuman Khandual arm64: Add Cortex-A510 CPU part definition Anshuman Khandual arm64: Add Cortex-X2 CPU part definition Suzuki K Poulose arm64: Add Neoverse-N2, Cortex-A710 CPU part definition Hector Martin arm64: cputype: Add CPU implementor & types for the Apple M1 cores Russell King (Oracle) ARM: include unprivileged BPF status in Spectre V2 reporting Russell King (Oracle) ARM: Spectre-BHB workaround Russell King (Oracle) ARM: use LOADADDR() to get load address of sections Russell King (Oracle) ARM: early traps initialisation Russell King (Oracle) ARM: report Spectre v2 status through sysfs Josh Poimboeuf x86/speculation: Warn about eIBRS + LFENCE + Unprivileged eBPF + SMT Josh Poimboeuf x86/speculation: Warn about Spectre v2 LFENCE mitigation Kim Phillips x86/speculation: Update link to AMD speculation whitepaper Kim Phillips x86/speculation: Use generic retpoline by default on AMD Josh Poimboeuf x86/speculation: Include unprivileged eBPF status in Spectre v2 mitigation reporting Peter Zijlstra Documentation/hw-vuln: Update spectre doc Peter Zijlstra x86/speculation: Add eIBRS + Retpoline options Peter Zijlstra (Intel) x86/speculation: Rename RETPOLINE_AMD to RETPOLINE_LFENCE Peter Zijlstra x86,bugs: Unconditionally allow spectre_v2=retpoline,amd ------------- Diffstat: Documentation/admin-guide/hw-vuln/spectre.rst | 48 ++-- Documentation/admin-guide/kernel-parameters.txt | 8 +- Documentation/arm64/cpu-feature-registers.rst | 29 +- Documentation/arm64/elf_hwcaps.rst | 12 + Makefile | 4 +- arch/arm/include/asm/assembler.h | 10 + arch/arm/include/asm/spectre.h | 32 +++ arch/arm/include/asm/vmlinux.lds.h | 43 ++- arch/arm/kernel/Makefile | 2 + arch/arm/kernel/entry-armv.S | 79 +++++- arch/arm/kernel/entry-common.S | 24 ++ arch/arm/kernel/spectre.c | 71 +++++ arch/arm/kernel/traps.c | 65 ++++- arch/arm/mm/Kconfig | 11 + arch/arm/mm/proc-v7-bugs.c | 208 +++++++++++--- arch/arm64/Kconfig | 9 + arch/arm64/include/asm/assembler.h | 33 +++ arch/arm64/include/asm/cpu.h | 1 + arch/arm64/include/asm/cpucaps.h | 3 +- arch/arm64/include/asm/cpufeature.h | 28 ++ arch/arm64/include/asm/cputype.h | 22 ++ arch/arm64/include/asm/fixmap.h | 6 +- arch/arm64/include/asm/hwcap.h | 3 + arch/arm64/include/asm/insn.h | 1 + arch/arm64/include/asm/kvm_asm.h | 8 + arch/arm64/include/asm/kvm_mmu.h | 3 +- arch/arm64/include/asm/mmu.h | 6 + arch/arm64/include/asm/sections.h | 5 + arch/arm64/include/asm/spectre.h | 4 + arch/arm64/include/asm/sysreg.h | 18 ++ arch/arm64/include/asm/vectors.h | 73 +++++ arch/arm64/include/uapi/asm/hwcap.h | 3 + arch/arm64/include/uapi/asm/kvm.h | 5 + arch/arm64/kernel/cpu_errata.c | 7 + arch/arm64/kernel/cpufeature.c | 28 +- arch/arm64/kernel/cpuinfo.c | 4 + arch/arm64/kernel/entry.S | 213 ++++++++++---- arch/arm64/kernel/proton-pack.c | 359 +++++++++++++++++++++++- arch/arm64/kernel/vmlinux.lds.S | 2 +- arch/arm64/kvm/arm.c | 3 +- arch/arm64/kvm/hyp/hyp-entry.S | 4 + arch/arm64/kvm/hyp/smccc_wa.S | 75 +++++ arch/arm64/kvm/hyp/vhe/switch.c | 9 +- arch/arm64/kvm/hypercalls.c | 12 + arch/arm64/kvm/psci.c | 18 +- arch/arm64/kvm/sys_regs.c | 2 +- arch/arm64/mm/mmu.c | 12 +- arch/x86/include/asm/cpufeatures.h | 2 +- arch/x86/include/asm/nospec-branch.h | 16 +- arch/x86/kernel/cpu/bugs.c | 205 ++++++++++---- drivers/acpi/ec.c | 10 - drivers/acpi/sleep.c | 14 +- drivers/block/xen-blkfront.c | 63 +++-- drivers/net/xen-netfront.c | 54 ++-- drivers/scsi/xen-scsifront.c | 3 +- drivers/xen/gntalloc.c | 25 +- drivers/xen/grant-table.c | 71 ++--- drivers/xen/pvcalls-front.c | 8 +- drivers/xen/xenbus/xenbus_client.c | 24 +- include/linux/arm-smccc.h | 5 + include/linux/bpf.h | 12 + include/xen/grant_table.h | 19 +- kernel/sysctl.c | 7 + net/9p/trans_xen.c | 14 +- tools/arch/x86/include/asm/cpufeatures.h | 2 +- 65 files changed, 1825 insertions(+), 354 deletions(-)