On 29/07/2020 21:35, Tanmay Jagdale via Asa-dev wrote:
> Hi Leif, Graeme,
>
> I have pushed the following branch that adds support for the
> pseudo static approach of modifying the ACPI tables.
> http://git.linaro.org/people/tanmay.jagdale/edk2-platforms.git/log/?h=qemu_…
>
> With this we can boot Linux with any number of CPUs and the
> ACPI tables will get configured at runtime based on the CPU
> count.
>
> I have separated them into 4 commits and a patch with all the
> changes consolidated into one is in the attached file.
>
> There are a few issues
> 1. We have to pass acpi_apic_instance=2 bootarg to Linux because
> 2 APIC tables are getting created we have to use the 2nd instance
> which gets created at runtime.
> I'm working on a fix for this issue.
I think if you just rename the madt.aslc to madt.c this will fix that.
The aslc extension means that version of the table automatically gets
installed.
Thanks
Graeme
> 2. The SSDT table does not have entries for all CPUs and I'm working
> on updating that table too.
>
> Can you please review this patchset and see if these changes are
> okay ?
>
> With Regards,
> Tanmay
Hi Leif, Graeme,
I have pushed the following branch that adds support for the
pseudo static approach of modifying the ACPI tables.
http://git.linaro.org/people/tanmay.jagdale/edk2-platforms.git/log/?h=qemu_…
With this we can boot Linux with any number of CPUs and the
ACPI tables will get configured at runtime based on the CPU
count.
I have separated them into 4 commits and a patch with all the
changes consolidated into one is in the attached file.
There are a few issues
1. We have to pass acpi_apic_instance=2 bootarg to Linux because
2 APIC tables are getting created we have to use the 2nd instance
which gets created at runtime.
I'm working on a fix for this issue.
2. The SSDT table does not have entries for all CPUs and I'm working
on updating that table too.
Can you please review this patchset and see if these changes are
okay ?
With Regards,
Tanmay
Hi Graeme and Masahisa,
I updated the TF-A binaries in edk2-non-osi (with Masahisa's fix) and
pushed to the following branch:
http://git.linaro.org/people/tanmay.jagdale/edk2-non-osi.git/commit/?id=aa1…
I have tested this by booting on Qemu SBSA and verified that the device
tree error is not showing up.
Can you please review the patch if it is okay ?
If okay then I'll send it out the edk2-non-osi mailing list.
With Regards,
Tanmay