RFR: 8262491: AArch64: CPU description should contain compatible board list [v2]

Yasumasa Suenaga ysuenaga at openjdk.java.net
Wed Mar 3 05:21:46 UTC 2021


On Wed, 3 Mar 2021 04:57:40 GMT, Nick Gasson <ngasson at openjdk.org> wrote:

> > > Maybe you could use the files under `/sys/devices/virtual/dmi/id/` like `board_vendor` and `board_name`?
> > 
> > 
> > It does not exist on Raspberry Pi OS.
> 
> That's because the default Raspberry Pi firmware uses Device Tree. You'll only get those files if the system was booted from UEFI (x86-style firmware).

As I said in before comment, I want to fix it for device tree at first if we cannot refer board name in same way between devce tree and ACPI. If we cannot refer device tree, "AArch64" still uses for CPU description - it is same behavior with current implementation.

Maybe I can improve this change to refer `/sys/devices/virtual/dmi/id/` if I re-install UEFI supported OS (e.g. Fedora) to my Pi 4, but I cannot do it now. So I want to work for it in another issue.

-------------

PR: https://git.openjdk.java.net/jdk/pull/2759


More information about the hotspot-dev mailing list