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 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 94ABCC433EF for ; Fri, 8 Oct 2021 07:33:05 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 5CD3761042 for ; Fri, 8 Oct 2021 07:33:05 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 5CD3761042 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:Message-ID:References:In-Reply-To:Subject:Cc:To:From :Date:MIME-Version:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=WcG/XwZfWjrUU7GYU9+xaK3pI7m2dYV/SvPdKxefpkY=; b=HN9jFAGN0zqPSj3gk5ZvvhWE8U //cspvJdj6g9t6Gu/JmVd9fAeXzKk10D3mkltQLjfkADrzlrBi5wqk+hLsH8wuATKmzXS/V2sTsDS 7GdFiqgQ2+E+8lY/olc2vk/bA7RFm/6ru+wwv8wHKpZwAO7Aee6+ZSxt/JTJWdSdBymu/jDAnSeBw /4ZPrBSqXrT6ESE136JnWUhPlsn57iuAZK4wCq0/5pGnlaCFNGYkNmBEYKFiNr+mCwZAvSD7Es0lD S59YjAGpH/bHKid61zpOlRCopbY8hWknReqmO5lZ5jG9bwVkp4GbO8A5REDzkjc2zGN1jwv3C0rgH CgC8l+Ig==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mYkLd-001rnG-Co; Fri, 08 Oct 2021 07:31:17 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mYkLZ-001rmk-FY for linux-arm-kernel@lists.infradead.org; Fri, 08 Oct 2021 07:31:14 +0000 Received: from disco-boy.misterjones.org (disco-boy.misterjones.org [51.254.78.96]) (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 3F6F361039; Fri, 8 Oct 2021 07:31:13 +0000 (UTC) Received: from disco-boy.misterjones.org ([51.254.78.96] helo=www.loen.fr) by disco-boy.misterjones.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1mYkLX-00FU0a-7G; Fri, 08 Oct 2021 08:31:11 +0100 MIME-Version: 1.0 Date: Fri, 08 Oct 2021 08:31:11 +0100 From: Marc Zyngier To: Will Deacon Cc: linux-arm-kernel@lists.infradead.org, Quentin Perret , Catalin Marinas , Alexandru Elisei , Suzuki K Poulose , Mark Rutland , kvmarm@lists.cs.columbia.edu Subject: Re: [PATCH v2 5/5] KVM: arm64: Disable privileged hypercalls after pKVM finalisation In-Reply-To: <20211008072722.GA32625@willie-the-truck> References: <20211005113721.29441-1-will@kernel.org> <20211005113721.29441-6-will@kernel.org> <877depq9gw.wl-maz@kernel.org> <20211008072722.GA32625@willie-the-truck> User-Agent: Roundcube Webmail/1.4.11 Message-ID: X-Sender: maz@kernel.org X-SA-Exim-Connect-IP: 51.254.78.96 X-SA-Exim-Rcpt-To: will@kernel.org, linux-arm-kernel@lists.infradead.org, qperret@google.com, catalin.marinas@arm.com, alexandru.elisei@arm.com, suzuki.poulose@arm.com, mark.rutland@arm.com, kvmarm@lists.cs.columbia.edu X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211008_003113_569510_BFF26F2A X-CRM114-Status: GOOD ( 18.13 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 2021-10-08 08:27, Will Deacon wrote: > On Thu, Oct 07, 2021 at 01:56:47PM +0100, Marc Zyngier wrote: >> On Tue, 05 Oct 2021 12:37:21 +0100, >> Will Deacon wrote: >> > >> This is no helping with the above, but can we *please* try to get rid >> of this #define insanity before moving things around? I came up with >> the following, which seems to build. >> >> Thoughts? >> >> M. >> >> From 8a50c98489220d2ebaf02d4ffdbef3cf0d6634ee Mon Sep 17 00:00:00 2001 >> From: Marc Zyngier >> Date: Thu, 7 Oct 2021 13:18:29 +0100 >> Subject: [PATCH] KVM: arm64: Turn __KVM_HOST_SMCCC_FUNC_* into an enum >> (mostly) >> >> __KVM_HOST_SMCCC_FUNC_* is a royal pain, as there is a fair amount >> of churn around these #defines, and we avoid making it an enum >> only for the sake of the early init, low level code that requires >> __KVM_HOST_SMCCC_FUNC___kvm_hyp_init to be usable from assembly. >> >> Let's be brave and turn everything but this symbol into an enum, >> using a bit of arithmetic to avoid any overlap. >> >> Signed-off-by: Marc Zyngier >> --- >> arch/arm64/include/asm/kvm_asm.h | 44 >> +++++++++++++++++--------------- >> 1 file changed, 24 insertions(+), 20 deletions(-) > > Looks fine to me: > > Acked-by: Will Deacon > > Do you need me to respin my series on top of this? If you don't mind, that'd make my life easier. Thanks, M. -- Jazz is not dead. It just smells funny... _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel