Received: by 10.223.185.111 with SMTP id b44csp331631wrg; Fri, 9 Mar 2018 05:49:21 -0800 (PST) X-Google-Smtp-Source: AG47ELuc7+GIAJk+Us9DKBfv56YYCmZHJUNiCJKPgTI8vgdoUJSA6RHqczJLkx+MSUOgi7m6MS51 X-Received: by 10.98.152.86 with SMTP id q83mr30076922pfd.218.1520603361071; Fri, 09 Mar 2018 05:49:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520603361; cv=none; d=google.com; s=arc-20160816; b=s/c1P+GWKZ5ib04e+YB0mt2pNmENPHeYkHJIGXP4/3XZxj95a8Ar/Mzqss/A0Rh8gq TsZnjURCH6BfA8elleji6rVgzVUZ51iXk0rHNX+I2HrgOsp0b9U7DNMizGbBYlq57IjW jWnd25Lfr70YVLPHzcJWzHPRVng+Y/fTkB+Bu25HrJpdGZzkzdHvV+sio7E/zIKWlE/H QntZJ3IITnKgPSm9nDbcaCKthWKgKY7OUGLy1Ag8Hwojq0eJohZKqTF9UhDCiXz2t7+9 frZ9lS5meqzFBM3GdhGqdZUOBHFB03MR4kTTrOHULVHAdjknLDWwtsY1zGkm6QEB4KDE FVeA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=BMjyydXh1hyTjaQumJJGPPrksYAy1HjcLTGsCxe60tM=; b=bFE3aM7qzq4kC80qjiDbaOHx400JtNAcitM6k8oXeYMD4sdETRi9MYQXKB3WiBqi1t cTyYFD9CSJKjyFKqVq6DfRKCZjhR4Z8n67gk59hzOJIn6a+4ivRUT3fq586rfSlFKvzB yLVOXIygUI6TqxarORGdYTQXAEYr9ABl8wSt9k719E6LVHqq/zBk0LDIf1S2ckmFIE4Y ei4t0v8PfqVoge7fCuPsB7ms0E46eMoX72o110ZG/QiGtNm+QOTHrIJb65/nhx+9CMYx zihQllw3/7wOHoRqAmaVGJ4+BVqDKcK/ghtnzjMyxM/MWAZKR7Qq2RxAw5FjvLud3P4C 14EA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a1-v6si898549pld.647.2018.03.09.05.49.06; Fri, 09 Mar 2018 05:49:21 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932118AbeCINsH (ORCPT + 99 others); Fri, 9 Mar 2018 08:48:07 -0500 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:51958 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751065AbeCINsE (ORCPT ); Fri, 9 Mar 2018 08:48:04 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id BDFC61610; Fri, 9 Mar 2018 05:48:04 -0800 (PST) Received: from edgewater-inn.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.72.51.249]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 8FC693F25C; Fri, 9 Mar 2018 05:48:04 -0800 (PST) Received: by edgewater-inn.cambridge.arm.com (Postfix, from userid 1000) id BEF0C1AE53CA; Fri, 9 Mar 2018 13:48:09 +0000 (GMT) Date: Fri, 9 Mar 2018 13:48:09 +0000 From: Will Deacon To: Shanker Donthineni Cc: Marc Zyngier , linux-kernel , linux-arm-kernel , Catalin Marinas , kvmarm , Christoffer Dall , Vikram Sethi , Sean Campbell , Thomas Speier Subject: Re: [PATCH v2] arm64: KVM: Use SMCCC_ARCH_WORKAROUND_1 for Falkor BP hardening Message-ID: <20180309134809.GC15537@arm.com> References: <1520269603-2900-1-git-send-email-shankerd@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1520269603-2900-1-git-send-email-shankerd@codeaurora.org> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi SHanker, On Mon, Mar 05, 2018 at 11:06:43AM -0600, Shanker Donthineni wrote: > The function SMCCC_ARCH_WORKAROUND_1 was introduced as part of SMC > V1.1 Calling Convention to mitigate CVE-2017-5715. This patch uses > the standard call SMCCC_ARCH_WORKAROUND_1 for Falkor chips instead > of Silicon provider service ID 0xC2001700. > > Signed-off-by: Shanker Donthineni > --- > Chnages since v1: > - Trivial change in cpucaps.h (refresh after removing ARM64_HARDEN_BP_POST_GUEST_EXIT) > > arch/arm64/include/asm/cpucaps.h | 5 ++-- > arch/arm64/include/asm/kvm_asm.h | 2 -- > arch/arm64/kernel/bpi.S | 8 ------ > arch/arm64/kernel/cpu_errata.c | 55 ++++++++++++++-------------------------- > arch/arm64/kvm/hyp/entry.S | 12 --------- > arch/arm64/kvm/hyp/switch.c | 10 -------- > 6 files changed, 21 insertions(+), 71 deletions(-) Could you reply to my outstanding question on the last version of this patch please? http://lists.infradead.org/pipermail/linux-arm-kernel/2018-March/564194.html Will