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 lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (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 EC9B2C38145 for ; Tue, 6 Sep 2022 21:39:33 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.400173.641835 (Exim 4.92) (envelope-from ) id 1oVgI1-0001zP-Gj; Tue, 06 Sep 2022 21:39:25 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 400173.641835; Tue, 06 Sep 2022 21:39:25 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1oVgI1-0001yu-Av; Tue, 06 Sep 2022 21:39:25 +0000 Received: by outflank-mailman (input) for mailman id 400173; Tue, 06 Sep 2022 21:39:23 +0000 Received: from se1-gles-flk1-in.inumbo.com ([94.247.172.50] helo=se1-gles-flk1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1oVgHP-0000Cs-6p for xen-devel@lists.xenproject.org; Tue, 06 Sep 2022 21:38:47 +0000 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id d6c0d7c1-2dbd-11ed-af93-0125da4c0113; Tue, 06 Sep 2022 10:28:10 +0200 (CEST) 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 dfw.source.kernel.org (Postfix) with ESMTPS id 35DE56135E; Tue, 6 Sep 2022 08:28:13 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9C90BC433D7; Tue, 6 Sep 2022 08:28:12 +0000 (UTC) Received: from [104.132.45.97] (helo=wait-a-minute.misterjones.org) by disco-boy.misterjones.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1oVTwI-008FyB-Ac; Tue, 06 Sep 2022 09:28:10 +0100 X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: d6c0d7c1-2dbd-11ed-af93-0125da4c0113 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1662452892; bh=JGDZV4T5KqIUpWXzuAVRjEy6irYKEPX4ILzJnv+kSAE=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=O1u7vNxwtyMrk58/eS5t9n9L72A9DrfeDXVvWrISnYJav0Xgtjaa0GAJx0oNbBeB8 +g7Z/Q0kpLcyo8zirOOHbegGhjcv/JmI9rbPu89kr8TvKxNwYO48+JHBYWCZ82P6ZE ZABbaxqu7PP6hRNzY75VXZeDu2cs8RFg5l2W+SgBx4PfKpyICzHeYTKh9tcMInGbsE oDLzGMhi7frOnu5nWXNVMmqjEp3gCMFU6pBChBtRCyumTe4PJIcPBlWRTK8DokgNDz NjqBzp9++Y6dN3BD//G/ozx1SIxHPnjZhyaZn5XQOy2bQXJ7evmXEdZQEvyneE7Uc+ yIQNUxgBdpZdA== Date: Tue, 06 Sep 2022 09:28:10 +0100 Message-ID: <87ilm0rjol.wl-maz@kernel.org> From: Marc Zyngier To: Leo Yan Cc: Ard Biesheuvel , Julien Grall , Jan Beulich , Bertrand Marquis , Rahul Singh , Peter Griffin , xen-devel , Julien Grall , Mathieu Poirier Subject: Re: [PATCH] xen/arm: acpi: Support memory reserve configuration table In-Reply-To: References: <871qtcsacd.wl-maz@kernel.org> <12a8c169-55aa-5e9f-19f8-acd77ea2a8fe@xen.org> <52f24132-ba2b-d4ab-ebd0-613f673b5658@xen.org> <87r10puiey.wl-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") Content-Type: text/plain; charset=US-ASCII X-SA-Exim-Connect-IP: 104.132.45.97 X-SA-Exim-Rcpt-To: leo.yan@linaro.org, ardb@kernel.org, julien@xen.org, jbeulich@suse.com, Bertrand.Marquis@arm.com, Rahul.Singh@arm.com, peter.griffin@linaro.org, xen-devel@lists.xenproject.org, jgrall@amazon.com, mathieu.poirier@linaro.org X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false On Tue, 06 Sep 2022 08:27:47 +0100, Leo Yan wrote: > > On Tue, Sep 06, 2022 at 09:22:00AM +0200, Ard Biesheuvel wrote: > > [...] > > > > IIUC, you consider the general flow from architecture view, so you prefer > > > to ask Xen to implement EFI stub to comply the general flow for EFI > > > booting sequence, right? > > > > > > If the conclusion is to change Xen for support EFI stub, then this > > > would be fine for me and I will hold on and leave Xen developers to work > > > on it. > > > > > > > As I mentioned before, proper EFI boot support in Xen would be nice. > > *However*, I don't think it makes sense to go through all the trouble > > of implementing that just to shut up a warning that doesn't affect Xen > > to begin with. > > Another option is we can set a bit for xen feature, so Linux kernel > can read out the xen feature and make decision if need to reserve > memory for RD tables based on the new feature bit. This is somehow > a solution is to create a general protocol between Xen and Linux kernel. > > How about you think for this? No. If there is such a bit, it has to be in the GIC architecture. I'm not putting anything hypervisor-specific into the GIC driver. Others have tried before you, and they ended up fixing their hypervisor instead. Feel free to talk to ARM to get the architecture updated instead. M. -- Without deviation from the norm, progress is not possible.