From: Stefano Stabellini Subject: Re: [PATCH v2 26/41] arm : acpi add xen environment table Date: Fri, 29 May 2015 11:31:38 +0100 Message-ID: References: <1431893048-5214-1-git-send-email-parth.dixit@linaro.org> <1431893048-5214-27-git-send-email-parth.dixit@linaro.org> <555CD101020000780007C65C@mail.emea.novell.com> <555CBDCB.6010600@citrix.com> <555D95AA020000780007C87E@mail.emea.novell.com> <555DB4BD.9070308@citrix.com> <555DD38A020000780007CAF5@mail.emea.novell.com> <5565CC6F020000780007E2AA@mail.emea.novell.com> <5567210C020000780007E8D3@mail.emea.novell.com> <5567249D020000780007E8FD@mail.emea.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <5567249D020000780007E8FD@mail.emea.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Jan Beulich Cc: keir@xen.org, ian.campbell@citrix.com, Stefano Stabellini , andrew.cooper3@citrix.com, tim@xen.org, xen-devel@lists.xen.org, Julien Grall , Stefano.Stabellini@citrix.com, Parth Dixit , christoffer.dall@linaro.org List-Id: xen-devel@lists.xenproject.org On Thu, 28 May 2015, Jan Beulich wrote: > >>> On 28.05.15 at 14:12, wrote: > > On Thu, 28 May 2015, Jan Beulich wrote: > >> >>> On 28.05.15 at 12:58, wrote: > >> > Let's take a closer look at this table. After the boilierplate, these > >> > are the interesting fields: > >> > > >> > GNT Start, GNT Size > >> > Evtchn Intr, Evtchn Intr Flags > >> > > >> > After the table, it is clearly stated: > >> > > >> > "The Grant Table region is optional." > >> > > >> > and > >> > > >> > "The Event Channel Interrupt is optional." > >> > > >> > So I think there is no problem: we don't want to pass any info in that > >> > table? Sure, let's not pass any. We can still use it to flag the > >> > presence of Xen on the platform. > >> > >> Even more so a reason to use what base ACPI has, without any > >> custom table. > > > > Could you please make a concrete suggestion with table names and fields? > > I already pointed you at 6.0's new FADT field "Hypervisor Vendor > Identity". OK, that is a decent alternative. We don't have a suitable hypercall to retrieve the evtchn PPI but we could add one. Overall I still prefer the table approach, but if you really don't want it, I can live with the hypercalls.