Skip to content
  1. Dec 13, 2021
  2. Nov 01, 2021
  3. Oct 15, 2021
  4. Oct 14, 2021
  5. Oct 12, 2021
    • Leif Lindholm's avatar
      Silicon/Qemu: don't advertise GICC legacy mmio interface in SbsaQamu MADT · 69035742
      Leif Lindholm authored
      
      
      The MADT GICC structure contains the field PhysicalBaseAddress, which
      is needed for a GICv1/v2 implementation, or to indicate legacy
      compatibility in modern GICs.
      
      Linux commit 9739f6ef053f1, included in v5.12, adds a warning message
      when this field is populated but invalid:
        [Firmware Bug]: CPU interface incapable of MMIO access
      
      As it happens, we currently initialize this to PcdGicDistributorBase
      instead of PcdGicInterruptInterfaceBase, and as a result we now trigger
      this warning.
      
      Since this is an SBSA reference implementation, and legacy GIC support
      has never worked for this port, set the field to 0.
      
      Signed-off-by: default avatarLeif Lindholm <leif@nuviainc.com>
      Cc: Ard Biesheuvel <ardb+tianocore@kernel.org>
      Cc: Graeme Gregory <graeme@nuviainc.com>
      Cc: Radoslaw Biernacki <rad@semihalf.com>
      Acked-by: default avatarArd Biesheuvel <ardb@kernel.org>
      69035742
  6. Sep 23, 2021
  7. Mar 02, 2021
  8. Feb 23, 2021
  9. Dec 15, 2020
  10. Nov 04, 2020
  11. Oct 27, 2020
  12. Sep 08, 2020
  13. Aug 27, 2020
    • Graeme Gregory's avatar
      SbsaQemu: Fix numerous SSDT generation problems · b54d65a4
      Graeme Gregory authored
      
      
      1 - The SBSAQEMU_ACPI_ITOA contained a typo that put bogus characters
      in the name if number of CPUs was greater than 10. It is safer to use
      the AsciiSPrint function from PrintLib.
      
      2 - The _UID fields were bogus, and indicated as bytes in AML instead of
      a word. This caused extra Zeros to appear in disassembly. Fixed by
      making them AML_WORD_PREFIX and putting CpuId in little endian.
      
      3 - The table was a number of bytes too long, which causes bogus Zero in
      dissassembly at end of table. Re-adjust code slightly to reduce table
      size once we know the size of the length field.
      
      Signed-off-by: default avatarGraeme Gregory <graeme@nuviainc.com>
      Reviewed-by: default avatarLeif Lindholm <leif@nuviainc.com>
      b54d65a4
  14. Aug 25, 2020
  15. Jun 17, 2020
  16. May 23, 2020
Loading