From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out0.migadu.com (out0.migadu.com [94.23.1.103]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D608C1841 for ; Fri, 28 Oct 2022 00:32:29 +0000 (UTC) Date: Fri, 28 Oct 2022 00:32:23 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1666917148; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=YmQeJUsu3xWIWXWEJHbX8lN5DXqcivPn29z2MMPdCMA=; b=MyWcRuNzNwkuj16CNTXC+jJjnEqH0+E3WS2BeUOKoJhjNor/w8u8OJNo1fGDF05Min9dHP R098nsQQ4fOxQ5L+NDymxmEm+DD53sFpu+5mGyty69LBiRTWMTb3a/l2z92BwzRy4SLAWb tiNpJS/Xls+MAOq/GGH0UTVjX8+S/gI= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Oliver Upton To: Will Deacon Cc: kvmarm@lists.linux.dev, Sean Christopherson , Vincent Donnefort , Alexandru Elisei , Catalin Marinas , Philippe =?iso-8859-1?Q?Mathieu-Daud=E9?= , James Morse , Chao Peng , Quentin Perret , Suzuki K Poulose , Mark Rutland , Fuad Tabba , Marc Zyngier , kernel-team@android.com, kvm@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v5 05/25] KVM: arm64: Unify identifiers used to distinguish host and hypervisor Message-ID: References: <20221020133827.5541-1-will@kernel.org> <20221020133827.5541-6-will@kernel.org> Precedence: bulk X-Mailing-List: kvmarm@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20221020133827.5541-6-will@kernel.org> X-Migadu-Flow: FLOW_OUT On Thu, Oct 20, 2022 at 02:38:07PM +0100, Will Deacon wrote: > The 'pkvm_component_id' enum type provides constants to refer to the > host and the hypervisor, yet this information is duplicated by the > 'pkvm_hyp_id' constant. > > Remove the definition of 'pkvm_hyp_id' and move the 'pkvm_component_id' > type definition to 'mem_protect.h' so that it can be used outside of > the memory protection code, for example when initialising the owner for > hypervisor-owned pages. > > Reviewed-by: Philippe Mathieu-Daudé > Tested-by: Vincent Donnefort > Signed-off-by: Will Deacon Reviewed-by: Oliver Upton -- Thanks, Oliver 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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id C425BECAAA1 for ; Fri, 28 Oct 2022 00:33:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc: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=L8LeA1O5ZKr+Zv7tEwZgM3BwAQr2ePnmzDy5p2MsaY4=; b=UvKX/zLvVep+vX /iMLt2xa0bWM8zU2W2drqFHiS5BXi4Fsx6m0CBitQ5z45MZU2jLtWAOCW4s1lnZo4IJ2NY8KaOoEc qutqFwF2/x2apdWFXXJn3+uiZE00OLshkOc5yaXDwtiIGp2pmjjYdh9hkNDBsb+d4uaBGvk56Pfi/ 4lHD9hBSdy/plbr3FYJ+IVvUwPO+ADIRuZ/KO+zoHYzsTR6/GfK5KF0z41Heul1CHvgpVqauLtmBL 5yKfX5hvj40ajpwin3raCmwQP+KFWv3piJg9ZADhLRkER208j2EvB2Xpef8TudBkwNBuWg/jR+XXg prS15fwzN7fRV9oXKhog==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ooDIV-00FIht-V6; Fri, 28 Oct 2022 00:32:32 +0000 Received: from out0.migadu.com ([2001:41d0:2:267::]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ooDIT-00FIh4-MR for linux-arm-kernel@lists.infradead.org; Fri, 28 Oct 2022 00:32:31 +0000 Date: Fri, 28 Oct 2022 00:32:23 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1666917148; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=YmQeJUsu3xWIWXWEJHbX8lN5DXqcivPn29z2MMPdCMA=; b=MyWcRuNzNwkuj16CNTXC+jJjnEqH0+E3WS2BeUOKoJhjNor/w8u8OJNo1fGDF05Min9dHP R098nsQQ4fOxQ5L+NDymxmEm+DD53sFpu+5mGyty69LBiRTWMTb3a/l2z92BwzRy4SLAWb tiNpJS/Xls+MAOq/GGH0UTVjX8+S/gI= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Oliver Upton To: Will Deacon Cc: kvmarm@lists.linux.dev, Sean Christopherson , Vincent Donnefort , Alexandru Elisei , Catalin Marinas , Philippe =?iso-8859-1?Q?Mathieu-Daud=E9?= , James Morse , Chao Peng , Quentin Perret , Suzuki K Poulose , Mark Rutland , Fuad Tabba , Marc Zyngier , kernel-team@android.com, kvm@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v5 05/25] KVM: arm64: Unify identifiers used to distinguish host and hypervisor Message-ID: References: <20221020133827.5541-1-will@kernel.org> <20221020133827.5541-6-will@kernel.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20221020133827.5541-6-will@kernel.org> X-Migadu-Flow: FLOW_OUT X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221027_173229_892801_15FA3BCD X-CRM114-Status: GOOD ( 10.56 ) 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-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, Oct 20, 2022 at 02:38:07PM +0100, Will Deacon wrote: > The 'pkvm_component_id' enum type provides constants to refer to the > host and the hypervisor, yet this information is duplicated by the > 'pkvm_hyp_id' constant. > = > Remove the definition of 'pkvm_hyp_id' and move the 'pkvm_component_id' > type definition to 'mem_protect.h' so that it can be used outside of > the memory protection code, for example when initialising the owner for > hypervisor-owned pages. > = > Reviewed-by: Philippe Mathieu-Daud=E9 > Tested-by: Vincent Donnefort > Signed-off-by: Will Deacon Reviewed-by: Oliver Upton -- Thanks, Oliver _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel