From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751979AbeA3MKp (ORCPT ); Tue, 30 Jan 2018 07:10:45 -0500 Received: from foss.arm.com ([217.140.101.70]:52874 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751572AbeA3MKm (ORCPT ); Tue, 30 Jan 2018 07:10:42 -0500 Subject: Re: [PATCH v2 16/16] arm64: Add ARM_SMCCC_ARCH_WORKAROUND_1 BP hardening support To: Ard Biesheuvel Cc: Linux Kernel Mailing List , linux-arm-kernel , kvmarm , Catalin Marinas , Will Deacon , Peter Maydell , Christoffer Dall , Lorenzo Pieralisi , Mark Rutland , Robin Murphy , Jon Masters References: <20180129174559.1866-1-marc.zyngier@arm.com> <20180129174559.1866-17-marc.zyngier@arm.com> From: Marc Zyngier Organization: ARM Ltd Message-ID: <27fb84a6-d2a0-2d49-0e99-4a8bb8b32ac9@arm.com> Date: Tue, 30 Jan 2018 12:10:38 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 29/01/18 19:41, Ard Biesheuvel wrote: > On 29 January 2018 at 17:45, Marc Zyngier wrote: >> Add the detection and runtime code for ARM_SMCCC_ARCH_WORKAROUND_1. >> It is lovely. Really. >> >> Signed-off-by: Marc Zyngier >> --- >> arch/arm64/include/asm/kvm_psci.h | 63 ++++++++++++++++++++++++++++++++++++ >> arch/arm64/kernel/bpi.S | 20 ++++++++++++ >> arch/arm64/kernel/cpu_errata.c | 68 ++++++++++++++++++++++++++++++++++++++- >> 3 files changed, 150 insertions(+), 1 deletion(-) >> create mode 100644 arch/arm64/include/asm/kvm_psci.h >> >> diff --git a/arch/arm64/include/asm/kvm_psci.h b/arch/arm64/include/asm/kvm_psci.h > > Did you mean to add this file? It is mostly identical to include/kvm/arm_psci.h No, that's yet another patch splitting mistake. I'll drop it. Thanks, M. -- Jazz is not dead. It just smells funny...