From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id F07ECC4727C for ; Tue, 29 Sep 2020 17:39:03 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 64BD92076A for ; Tue, 29 Sep 2020 17:39:03 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="oineF2+E"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="vZKRt8Bv" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 64BD92076A Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=fu9Cr5Sm1I0ddoHS8CsuBy0QY0GMvddb02j9N6Fa8CQ=; b=oineF2+EKA/0V0UcchQXaaspv DVy2fLuReTdqvmN1Ud+QexeZD3CnwPBDF699XTS6iew8L+fevUwG6493JY4SbrhxJWpILUE3EYSm6 pJvWag0Fx8cwfMFDoLo6HR/bTkufXEcHZ3mGvdsvsEjHsGbWNLy6zjjW+cJClOCwM2KMZVbot8Nb0 PivAiwbWuLSTfn4V9prel2mn/fzC7ZYIYxwTVcEkzf9zl+ZOoaIVXmHAaJUDrX4pHZoLghSR/RoW+ +aSYoVDV5xAz4CY830co4Dghj2AgOfdUbInHA6Zu/Apn4ZH2MxilpcBQ36IfhEL5Hf4izdrwNna8A 2OQD4tNKA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kNJZJ-0003l9-Hr; Tue, 29 Sep 2020 17:37:37 +0000 Received: from mail.kernel.org ([198.145.29.99]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kNJZH-0003kh-H7 for linux-arm-kernel@lists.infradead.org; Tue, 29 Sep 2020 17:37:36 +0000 Received: from willie-the-truck (236.31.169.217.in-addr.arpa [217.169.31.236]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id F104B2076A; Tue, 29 Sep 2020 17:37:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1601401054; bh=UvE53L1sg8GJvFFhgRjsqC9XadWv4tH7FwQa5T0OhUw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=vZKRt8BvGxP8BhKW+TX+EPD0sF8tIwU68IIJ5O0yeTLJykidd8yXBaRh2X9NlG4be cdqMJ7rEFbnk2lZDKK73WldEsTLqguaSKm0zeRVkLaJP33bwr9N/9y8IAu+/9D7vKi IGHQdUni92YI8Z3vgo2aB+88b/opTUQ4bfRvaYIQ= Date: Tue, 29 Sep 2020 18:37:28 +0100 From: Will Deacon To: David Brazdil Subject: Re: [PATCH v4 07/10] kvm: arm64: Duplicate arm64_ssbd_callback_required for nVHE hyp Message-ID: <20200929173728.GD14317@willie-the-truck> References: <20200922204910.7265-1-dbrazdil@google.com> <20200922204910.7265-8-dbrazdil@google.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20200922204910.7265-8-dbrazdil@google.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200929_133735_660717_57BFC3DB X-CRM114-Status: GOOD ( 17.54 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Suzuki K Poulose , Catalin Marinas , linux-kernel@vger.kernel.org, James Morse , linux-arm-kernel@lists.infradead.org, Marc Zyngier , Tejun Heo , Dennis Zhou , Christoph Lameter , kernel-team@android.com, kvmarm@lists.cs.columbia.edu, Julien Thierry Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, Sep 22, 2020 at 09:49:07PM +0100, David Brazdil wrote: > Hyp keeps track of which cores require SSBD callback by accessing a > kernel-proper global variable. Create an nVHE symbol of the same name > and copy the value from kernel proper to nVHE as KVM is being enabled > on a core. > > Done in preparation for separating percpu memory owned by kernel > proper and nVHE. > > Signed-off-by: David Brazdil > --- > arch/arm64/include/asm/kvm_mmu.h | 14 +++++++++++++- > arch/arm64/kernel/image-vars.h | 1 - > arch/arm64/kvm/arm.c | 3 +++ > arch/arm64/kvm/hyp/nvhe/switch.c | 3 +++ > 4 files changed, 19 insertions(+), 2 deletions(-) Acked-by: Will Deacon Marc: please take a look at for-next/ghostbusters on the arm64 tree, as that has the patches which remove this stuff entirely. I had to rebase the branch today because I screwed up some of the SoBs but the HEAD is now stable at 780c083a8f84. Will _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel