Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: 2d6d03056a16b762e54d750c9f015fc2b46a99d5
      
https://github.com/tianocore/edk2/commit/2d6d03056a16b762e54d750c9f015fc2b46a99d5
  Author: Ajan Zhong <ajan.zh...@newfw.com>
  Date:   2024-12-09 (Mon, 09 Dec 2024)

  Changed paths:
    M UefiPayloadPkg/Library/FdtParserLib/FdtParseLib.inf

  Log Message:
  -----------
  UefiPayloadPkg: Add AARCH64 support on FdtParserLib

Add AARCH64 support on FdtParserLib.

Signed-off-by: Ajan Zhong <ajan.zh...@newfw.com>


  Commit: ddb4ea681b899e28fd8436c416e0bcdab2e362c9
      
https://github.com/tianocore/edk2/commit/ddb4ea681b899e28fd8436c416e0bcdab2e362c9
  Author: Ajan Zhong <ajan.zh...@newfw.com>
  Date:   2024-12-09 (Mon, 09 Dec 2024)

  Changed paths:
    M UefiPayloadPkg/Library/CustomFdtNodeParserLib/CustomFdtNodeParserLib.c
    M UefiPayloadPkg/Library/FdtParserLib/FdtParserLib.c

  Log Message:
  -----------
  UefiPayloadPkg: Update FDT parser logic for unaligned data access

If alignment check is enabled in AARCH64 platform, FDT parser might
dereference non-aligned 64-bit address to fetch 64-bit data.
Use unaligned data read to avoid triggering unaligned data access.

Signed-off-by: Ajan Zhong <ajan.zh...@newfw.com>


  Commit: 694cc9f1004be90e85dd003711b4724a04e8e697
      
https://github.com/tianocore/edk2/commit/694cc9f1004be90e85dd003711b4724a04e8e697
  Author: Ajan Zhong <ajan.zh...@newfw.com>
  Date:   2024-12-09 (Mon, 09 Dec 2024)

  Changed paths:
    M UefiPayloadPkg/UefiPayloadEntry/AcpiTable.c

  Log Message:
  -----------
  UefiPayloadPkg: Update ReadUnaligned64 in ACPI parsing

According to ACPI Specification, 64 bit physical address of the XSDT
provides indentical functionality to the RSDT but accommodates physical
address of description headers that are larger than 32 bits.

In this case physical address of XSDT table is 64 bit aligned, however
size of ACPI description tabled header is not 64 bit aligned. It leads
to the entry of other description headers are not 64 bit aligned. In
AARCH64 architecture, deference non-aligned 64 bit address to fetch
64-bit data will trigger Alignment fault. Use ReadUnaligned64 method
to fix this unaligned data access issue.

Signed-off-by: Ajan Zhong <ajan.zh...@newfw.com>


Compare: https://github.com/tianocore/edk2/compare/f0424ec80e4c...694cc9f1004b

To unsubscribe from these emails, change your notification settings at 
https://github.com/tianocore/edk2/settings/notifications


_______________________________________________
edk2-commits mailing list
edk2-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to