All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ash Wilding <ash.j.wilding@gmail.com>
To: sstabellini@kernel.org
Cc: ehem+xen@m5p.com, julien@xen.org, roman@zededa.com,
	xen-devel@lists.xenproject.org
Subject: Re: Xen on RP4
Date: Sun,  1 Nov 2020 17:26:08 +0000	[thread overview]
Message-ID: <20201101172608.90996-1-ash.j.wilding@gmail.com> (raw)
In-Reply-To: <alpine.DEB.2.21.2010301240450.12247@sstabellini-ThinkPad-T480s>

Hi,


>> I think the best compromise is still to use an ACPI string to detect
>> the platform. For instance, would it be possible to use the OEMID
>> fields in RSDT, XSDT, FADT?  Possibly even a combination of them?
>>
>> Another option might be to get the platform name from UEFI somehow. 
>
> I included appropriate strings in e-mail.  Suitable strings do appear
> in `dmesg`.


Just as a heads-up, SMCCC does define the optional SMCCC_ARCH_SOC_ID [1]
function and this is listed as mandatory in the Server Base Boot Reqs
(SBBR); see pp 15 of ARM DEN 0044F [2].

Unfortunately it looks like RPi 4's firmware doesn't currently support
this, or at least the rpi4-uefi project [3] didn't think so as of FW
version 1.6 [4], but I couldn't find equivalent SBBR feature tracking
pages on that site for FW versions 1.7 or 1.8 to confirm, nor could I
find any reference to SMCCC_ARCH_SOC_ID in the RPi 4 FW sources [5].

On the bright side, while not very helpful in the short-term, note that
Arm's recently announced SystemReady [6] program is an evolution of
ServerReady (SBSA+SBBR) but for other segments and applications incl.
Embedded, IoT, and general Linux Boot.

That means in future we should see more platform firmware supporting
SMCCC_ARCH_SOC_ID, as the SiPs will (hopefully) want their platforms to
be SystemReady certified.

Hope that's useful info.

Thanks,
Ash.

[1] https://developer.arm.com/documentation/den0028/c
[2] https://developer.arm.com/documentation/den0044/latest
[3] https://rpi4-uefi.dev/about/
[4] https://rpi4-uefi.dev/status-v1-6-firmware/
[5] https://github.com/pftf/RPi4/tree/master
[6] https://developer.arm.com/architectures/system-architectures/arm-systemready


  reply	other threads:[~2020-11-01 17:26 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20201011051933.GA77136@mattapan.m5p.com>
     [not found] ` <alpine.DEB.2.21.2010121138480.10386@sstabellini-ThinkPad-T480s>
     [not found]   ` <20201012215751.GB89158@mattapan.m5p.com>
     [not found]     ` <c38d78bd-c011-404b-5f59-d10cd7d7f006@xen.org>
     [not found]       ` <20201016003024.GA13290@mattapan.m5p.com>
     [not found]         ` <23885c28-dee5-4e9a-dc43-6ccf19a94df6@xen.org>
     [not found]           ` <20201022021655.GA74011@mattapan.m5p.com>
     [not found]             ` <alpine.DEB.2.21.2010221620230.12247@sstabellini-ThinkPad-T480s>
     [not found]               ` <20201023005629.GA83870@mattapan.m5p.com>
     [not found]                 ` <alpine.DEB.2.21.2010221801490.12247@sstabellini-ThinkPad-T480s>
     [not found]                   ` <20201023211941.GA90171@mattapan.m5p.com>
2020-10-23 23:59                     ` Xen on RP4 Stefano Stabellini
2020-10-24  1:56                       ` Elliott Mitchell
2020-10-24  3:13                       ` Elliott Mitchell
2020-10-24  4:34                       ` Elliott Mitchell
2020-10-24  5:35                       ` Elliott Mitchell
2020-10-26 13:31                         ` Julien Grall
2020-10-26 16:03                           ` Elliott Mitchell
2020-10-26 18:44                             ` Julien Grall
2020-10-26 21:32                               ` Elliott Mitchell
2020-10-28  1:54                               ` Elliott Mitchell
2020-10-29  0:37                                 ` Stefano Stabellini
2020-10-29  5:20                                   ` Jürgen Groß
2020-10-29 19:57                                     ` Stefano Stabellini
2020-11-10 23:25                                       ` Elliott Mitchell
2020-11-11  2:59                                       ` Christopher Clark
2020-10-29 21:29                                   ` Elliott Mitchell
2020-10-30 20:10                                     ` Stefano Stabellini
2020-11-01 17:26                                       ` Ash Wilding [this message]
2020-11-02 21:22                                         ` Stefano Stabellini
2020-11-25  3:37 Elliott Mitchell
2020-11-25  4:01 ` Roman Shaposhnik
2020-11-25  4:41   ` Elliott Mitchell
2020-11-25  4:45     ` Roman Shaposhnik
2020-11-25  5:16       ` Elliott Mitchell
2020-11-25 18:57         ` Stefano Stabellini
2020-11-26  3:36           ` Elliott Mitchell
2020-11-28  7:59             ` Roman Shaposhnik
2020-11-28 18:15               ` Elliott Mitchell
2020-11-28  4:56           ` Elliott Mitchell
2020-11-25 19:45         ` Roman Shaposhnik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20201101172608.90996-1-ash.j.wilding@gmail.com \
    --to=ash.j.wilding@gmail.com \
    --cc=ehem+xen@m5p.com \
    --cc=julien@xen.org \
    --cc=roman@zededa.com \
    --cc=sstabellini@kernel.org \
    --cc=xen-devel@lists.xenproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.