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 mm01.cs.columbia.edu (mm01.cs.columbia.edu [128.59.11.253]) by smtp.lore.kernel.org (Postfix) with ESMTP id B1D64C433F5 for ; Tue, 11 Jan 2022 14:18:52 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mm01.cs.columbia.edu (Postfix) with ESMTP id 0F4CA4B208; Tue, 11 Jan 2022 09:18:52 -0500 (EST) X-Virus-Scanned: at lists.cs.columbia.edu Authentication-Results: mm01.cs.columbia.edu (amavisd-new); dkim=softfail (fail, message has been altered) header.i=@kernel.org Received: from mm01.cs.columbia.edu ([127.0.0.1]) by localhost (mm01.cs.columbia.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5GVV6bQ7YDjj; Tue, 11 Jan 2022 09:18:50 -0500 (EST) Received: from mm01.cs.columbia.edu (localhost [127.0.0.1]) by mm01.cs.columbia.edu (Postfix) with ESMTP id E09A94B1F2; Tue, 11 Jan 2022 09:18:50 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by mm01.cs.columbia.edu (Postfix) with ESMTP id 305E24B1F2 for ; Tue, 11 Jan 2022 09:18:49 -0500 (EST) X-Virus-Scanned: at lists.cs.columbia.edu Received: from mm01.cs.columbia.edu ([127.0.0.1]) by localhost (mm01.cs.columbia.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LUBBxmJzLwvs for ; Tue, 11 Jan 2022 09:18:48 -0500 (EST) Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by mm01.cs.columbia.edu (Postfix) with ESMTPS id DDEC74B160 for ; Tue, 11 Jan 2022 09:18:47 -0500 (EST) 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 7199DB81ACE; Tue, 11 Jan 2022 14:18:46 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 291DCC36AEB; Tue, 11 Jan 2022 14:18:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1641910725; bh=zJ1/eiV6n61IaOYz5GcKJ/BzFdPcMZQiPxj1RRI1D0U=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=DR3OyCoSMVR4IjpUSbBdm0ZEi8PFPavi+GATwK2x82EUmq26AXrF7ippC6FjbcZta e9sWEuk8U/hDShkUNhWuXqmzNTYdF5wYl12mOMDOJ+BuW9obpwH1Zv5pHpsKTtnT4n +Y/BU7UM+cga+MNW2dwhEc4O13bHwhhv7LnZp4+olSA3P5NZCji4YbrQ0EZF/xaQbj +4CmXDJMz3Gc/agh4YdYegfuBFo3R9H/mi2lxCSSuVu2KTkaoqob4Mib0xz9/fLMEN 3GFDEat/+5VkBqLd2iycocAIHs3WzJaFyMuk8GgU8tFw+ijF90E7nA5cMdyLroKflp Pdb+u1ZXebJOQ== Received: from sofa.misterjones.org ([185.219.108.64] helo=why.misterjones.org) 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 1n7Hz1-00HOuY-87; Tue, 11 Jan 2022 14:18:43 +0000 Date: Tue, 11 Jan 2022 14:18:42 +0000 Message-ID: <871r1etkxp.wl-maz@kernel.org> From: Marc Zyngier To: Peter Maydell Subject: Re: [PATCH v3] hw/arm/virt: KVM: Enable PAuth when supported by the host In-Reply-To: References: <20220107150154.2490308-1-maz@kernel.org> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM-LB/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL-LB/10.8 EasyPG/1.0.0 Emacs/27.1 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") X-SA-Exim-Connect-IP: 185.219.108.64 X-SA-Exim-Rcpt-To: peter.maydell@linaro.org, richard.henderson@linaro.org, qemu-devel@nongnu.org, kvmarm@lists.cs.columbia.edu, kvm@vger.kernel.org, kernel-team@android.com, eric.auger@redhat.com, drjones@redhat.com X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false Cc: kvm@vger.kernel.org, Richard Henderson , qemu-devel@nongnu.org, kernel-team@android.com, kvmarm@lists.cs.columbia.edu X-BeenThere: kvmarm@lists.cs.columbia.edu X-Mailman-Version: 2.1.14 Precedence: list List-Id: Where KVM/ARM decisions are made List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: kvmarm-bounces@lists.cs.columbia.edu Sender: kvmarm-bounces@lists.cs.columbia.edu On Tue, 11 Jan 2022 13:58:49 +0000, Peter Maydell wrote: > > On Sat, 8 Jan 2022 at 13:42, Marc Zyngier wrote: > > > > On 2022-01-07 20:23, Richard Henderson wrote: > > > On 1/7/22 7:01 AM, Marc Zyngier wrote: > > >> @@ -1380,17 +1380,10 @@ void arm_cpu_finalize_features(ARMCPU *cpu, > > >> Error **errp) > > >> return; > > >> } > > >> - /* > > >> - * KVM does not support modifications to this feature. > > >> - * We have not registered the cpu properties when KVM > > >> - * is in use, so the user will not be able to set them. > > >> - */ > > >> - if (!kvm_enabled()) { > > >> - arm_cpu_pauth_finalize(cpu, &local_err); > > >> - if (local_err != NULL) { > > >> + arm_cpu_pauth_finalize(cpu, &local_err); > > >> + if (local_err != NULL) { > > >> error_propagate(errp, local_err); > > >> return; > > >> - } > > >> } > > > > > > Indentation is still off -- error + return should be out-dented one > > > level. > > > > > > > Duh. Clearly, my brain can't spot these. Apologies for the extra noise. > > > > > Otherwise, > > > Reviewed-by: Richard Henderson > > > > Thanks. I'll repost a version shortly, unless someone shouts. > > Don't worry about it -- I've applied this to target-arm.next and > fixed the indent there. Awesome, thanks Peter. M. -- Without deviation from the norm, progress is not possible. _______________________________________________ kvmarm mailing list kvmarm@lists.cs.columbia.edu https://lists.cs.columbia.edu/mailman/listinfo/kvmarm