[PATCH 1/2] Reland "x86: Move FACP table into separate functions""

Andy Shevchenko andriy.shevchenko at linux.intel.com
Fri Aug 25 15:17:58 CEST 2023


On Fri, Aug 25, 2023 at 02:06:34PM +0300, Andy Shevchenko wrote:
> On Thu, Aug 24, 2023 at 12:23:32PM -0600, Simon Glass wrote:
> > Each board has its own way of creating this table. Rather than calling the
> > acpi_create_fadt() function for each one from a common acpi_write_fadt()
> > function, just move the writer into the board-specific code.
> 
> No luck, but I have a bit of time to debug more.

Okay, after your patch even U-Boot can't see those tables

=> acpi list
Name      Base   Size  Detail
----  --------  -----  ------
RSDP  000e4500     24  v02 U-BOOT
RSDT  000e4530     34  v01 U-BOOT U-BOOTBL 20231001 INTL 0
XSDT  000e45e0     44  v01 U-BOOT U-BOOTBL 20231001 INTL 0
CSRT  000e5490     58  v00 U-BOOT U-BOOTBL 20231001 INTL 0
MCFG  000e5610     3c  v01 U-BOOT U-BOOTBL 20231001 INTL 0
SPCR  000e5650     50  v02 U-BOOT U-BOOTBL 20231001 INTL 0
APIC  000e56a0     48  v02 U-BOOT U-BOOTBL 20231001 INTL 0

Because the base is badly corrupted:

-00000030: 52 53 44 54 38 00 00 00 01 95 55 2d 42 4f 4f 54  RSDT8.....U-BOOT
+00000030: 52 53 44 54 34 00 00 00 01 eb 55 2d 42 4f 4f 54  RSDT4.....U-BOOT

-00000050: 00 00 00 00 90 54 0e 00 f0 54 0e 00 10 56 0e 00  .....T...T...V..
+00000050: 00 00 00 00 90 54 0e 00 10 56 0e 00 50 56 0e 00  .....T...V..PV..

-00000060: 50 56 0e 00 a0 56 0e 00 00 00 00 00 00 00 00 00  PV...V..........
+00000060: a0 56 0e 00 00 00 00 00 00 00 00 00 00 00 00 00  .V..............

-000000e0: 58 53 44 54 4c 00 00 00 01 7b 55 2d 42 4f 4f 54  XSDTL....{U-BOOT
+000000e0: 58 53 44 54 44 00 00 00 01 d5 55 2d 42 4f 4f 54  XSDTD.....U-BOOT

-00000100: 00 00 00 00 90 54 0e 00 00 00 00 00 f0 54 0e 00  .....T.......T..
+00000100: 00 00 00 00 90 54 0e 00 00 00 00 00 10 56 0e 00  .....T.......V..

-00000110: 00 00 00 00 10 56 0e 00 00 00 00 00 50 56 0e 00  .....V......PV..
+00000110: 00 00 00 00 50 56 0e 00 00 00 00 00 a0 56 0e 00  ....PV.......V..

-00000120: 00 00 00 00 a0 56 0e 00 00 00 00 00 00 00 00 00  .....V..........
+00000120: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................



-- 
With Best Regards,
Andy Shevchenko




More information about the U-Boot mailing list