Hi Guys,
In the spirit of starting things for our LCU target here is the network
device on Foundation model converted to probe from ACPI.
Things that have come out of this conversion:
1) we need an ACPI equivalent of simple-bus from FDT
2) we need to decide on how to handle irq domains and especially the domain
for the GIC.
Thanks
Graeme
These patches implement getting ACPI tables from EFI and remove some unneeded
debugging which will crash kernel in this case.
Changes since v1
Handled the case where CONFIG_EFI=n in patch 1/2
If MAB tool would form ACPI blob in the way where some of the tbales cross
page size boundary current kernel can not map it correctly (table size < 4k
case is allowed). We round up table to page size reaching PAGE_SIZE alignment.
Kernel should handle with such case thus changes within acpi_map() function are
needed.
--
1.7.9.5
Hi Guys,
I think I made a mistake when I originally did the u-boot ACPI blob
loading. I would like to correct that mistake before we progress further.
I do not think I should have passed the ACPI.... (length) piece to the
kernel I don't think we actually need in as nothing apart from our debug
code ever checks it. The length is also redundant as its stored in the
FDT if we ever need it (which we don't currently).
When I did the grub/efi work the bootloader is passing a pointer to RSDT
into the kernel. I would like to fix the u-boot path to do the same (and
simplify some code). This will obviously mean people need to refresh
their u-boot.
What do you guys think?
Thanks
Graeme
Hi Guys,
Ok, a serious impediment to us upstreaming code is the state of CPU
idle, currently we have large chunks of code #defined out for our build.
We need to come up with a plan to solve this!
Graeme
Hi, this is v3 of the patch after review from Leif. Leif it would be good
if you could carry this in your branch to save us having to maintain another
grub tree.
Changes since v2:
Updates to pointer types to prevent compile warnings (-Werror issues) from Leif
Changes since v1:
Address Leifs comments:-
return type for grub_cmd_armcpi
does not return with bogus error leaving file open, not jumps to out: properly
bogus whitespace change removed.
Thanks
Graeme
Hi, this is v2 of the patch after review from Leif. Leif it would be good
if you could carry this in your branch to save us having to maintain another
grub tree.
Changes since v1:
Address Leifs comments:-
return type for grub_cmd_armcpi
does not return with bogus error leaving file open, not jumps to out: properly
bogus whitespace change removed.
Thanks
Graeme