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 DC1EEC433FE for ; Fri, 12 Nov 2021 15:45:18 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 8E21A60273 for ; Fri, 12 Nov 2021 15:45:18 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 8E21A60273 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=m5p.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.xenproject.org Received: from list by lists.xenproject.org with outflank-mailman.225309.389086 (Exim 4.92) (envelope-from ) id 1mlYjX-00009Z-74; Fri, 12 Nov 2021 15:44:55 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 225309.389086; Fri, 12 Nov 2021 15:44:55 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1mlYjX-00009S-47; Fri, 12 Nov 2021 15:44:55 +0000 Received: by outflank-mailman (input) for mailman id 225309; Fri, 12 Nov 2021 15:44:54 +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 1mlYjV-00009M-Vc for xen-devel@lists.xenproject.org; Fri, 12 Nov 2021 15:44:53 +0000 Received: from mailhost.m5p.com (mailhost.m5p.com [74.104.188.4]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id 78f9036d-43cf-11ec-a9d2-d9f7a1cc8784; Fri, 12 Nov 2021 16:44:51 +0100 (CET) Received: from m5p.com (mailhost.m5p.com [IPv6:2001:470:1f07:15ff:0:0:0:f7]) by mailhost.m5p.com (8.16.1/8.15.2) with ESMTPS id 1ACFibYu081994 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Fri, 12 Nov 2021 10:44:43 -0500 (EST) (envelope-from ehem@m5p.com) Received: (from ehem@localhost) by m5p.com (8.16.1/8.15.2/Submit) id 1ACFiaVw081993; Fri, 12 Nov 2021 07:44:36 -0800 (PST) (envelope-from ehem) 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: 78f9036d-43cf-11ec-a9d2-d9f7a1cc8784 Date: Fri, 12 Nov 2021 07:44:36 -0800 From: Elliott Mitchell To: Henry Wang Cc: Stefano Stabellini , Julien Grall , "xen-devel@lists.xenproject.org" Subject: Re: ACPI/UEFI support for Xen/ARM status? Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Fri, Nov 12, 2021 at 05:54:08AM +0000, Henry Wang wrote: > > > -----Original Message----- > > From: Xen-devel On Behalf Of > > Elliott Mitchell > > > > I've been busy with another part of this project, so I've lost track of > > progress on ACPI/UEFI support on ARM. > > > > Last I'd read full support for ACPI/UEFI seemed a ways off. Using a stub > > domain to constrain ACPI table parsing seemed the favored approach. I > > was under the impression that would take some time. > > > > What is the status? Do the Xen/ARM leads have any guesses for when full > > ACPI/UEFI support might reach completion? > > I am doing some development based on the Xen UEFI/ACPI on AArch64 using > the Arm FVP_Base platform. Using edk2 and master branch of Xen with > `CONFIG_ACPI=y`, it seems everything can work properly. > > Here are some of my logs: > Shell> FS2:EFI\XEN\xen.efi > Xen 4.16-rc (c/s Fri Nov 12 02:34:01 2021 +0000 git:323b47ffd9-dirty) EFI loader > ... > (XEN) PFN compression on bits 20...22 > (XEN) ACPI: RSDP F5E30018, 0024 (r2 LINARO) > (XEN) ACPI: XSDT F5E3FE98, 005C (r1 LINARO RTSMVEV8 2 1000013) > (XEN) ACPI: FACP F5E3FA98, 0114 (r6 LINARO RTSMVEV8 2 LNRO 2) > (XEN) ACPI: DSDT F5E3ED98, 02AB (r2 LINARO RTSMVEV8 4 INTL 20200925) > (XEN) ACPI: GTDT F5E3FC18, 00E0 (r2 LINARO RTSMVEV8 2 LNRO 2) > (XEN) ACPI: APIC F5E3E998, 02D4 (r4 LINARO RTSMVEV8 2 LNRO 2) > (XEN) ACPI: SPCR F5E3FF98, 0050 (r2 LINARO RTSMVEV8 2 LNRO 2) > (XEN) Domain heap initialised > ... > [ 0.000000] ACPI: SPCR 0x00000000F5E3FF98 000050 (v02 LINARO RTSMVEV8 00000002 LNRO 00000002) > [ 0.000000] ACPI: SPCR: console: pl011,mmio32,0x1c090000,115200 > ... > > Hopefully this answers your question. :) Thanks for the attempt at answering, but the SPCR entry tells me there is a substantial portion of ACPI/UEFI functionality you're not testing. I'm specifically looking for framebuffer console support and SPCR says you're using serial console. While serial console is appropriate for true servers, for some use cases it is inadequate. Julien Grall and Stefano Stabellini had been proposing doing ACPI table parsing in a stub domain, but I'm unaware of the status. Not finding much suggests it hasn't gone very far yet. -- (\___(\___(\______ --=> 8-) EHM <=-- ______/)___/)___/) \BS ( | ehem+sigmsg@m5p.com PGP 87145445 | ) / \_CS\ | _____ -O #include O- _____ | / _/ 8A19\___\_|_/58D2 7E3D DDF4 7BA6 <-PGP-> 41D1 B375 37D0 8714\_|_/___/5445