Hi,
I have managed to get us to boot as far as the dreaded
> ACPI: Interpreter enabled
state on armv8 now.
For now ACPI tables cannot be bigger than 1MB in size (we are nowhere near
this size). And also FDT cannot be bigger than 1MB (still nowhere near).
>From the conversion which was mostly changing
u32 -> void *
u32 -> phys_addr_t
and adding the correct initialisation to the setup.c on armv8 it is becoming
clear that with the correct universal types used that the arch/arm/kernel/acpi
and arch/arm64/kernel/acpi are actually mostly generic to both platforms so we
will need to decide where to put them.
This genericness is nice to have as it means we should be able to switch
v7/v8 at will for testing!
There is still some code from armv7 that I have not yet brought over to v8
and someone fluent in v8 assembler needs to fix the two assembly bits.
I shall continue to bring code over and enable more ACPI features.
Graeme
There is only one change in this since V2. It turns out we only have
a 2MB window in early boot in which to play with. So move the ACPI
blob to within 1M of the FDT putting it inside the window.
This is just me giving a headsup on the current progress of getting armv7
ACPI prototype stuff into armv8.
Currently it can see the linux,acpi-start and linux,acpi-len values
passed from bootwrapper but when I try and access the address given
by virt_to_phys on that it locks up the model.
Thanks
Graeme