summaryrefslogtreecommitdiff
path: root/src/soc/intel/xeon_sp/spr/Kconfig
diff options
context:
space:
mode:
authorPatrick Rudolph <patrick.rudolph@9elements.com>2023-04-05 09:49:11 +0200
committerFelix Held <felix-coreboot@felixheld.de>2023-04-11 16:28:03 +0000
commitd708884d506cfd5a5c99de5bfc1ce48aa8abedbb (patch)
tree08b935a4342d34fc94ee69c8bad84a90bfa29ec5 /src/soc/intel/xeon_sp/spr/Kconfig
parentdaf834a705e167efc56e72dfb244d161a9605a9d (diff)
soc/intel/xeon_sp/acpi: Fix _OSC method
Fix a couple of bugs in the _OSC method for handling "PCI Host Bridge Device" on Xeon-SP. - Drop the Sleep. The code doesn't write to hardware at all, so there's no need to sleep here. - Make sure that the number of DWORD passed in Arg2 is at least 3. The existing check was useless as it would not create the DWordField, but then use it anyways. - Add check for CXL 2 device method calls which provide a 5 DWORD long buffer to prevent buffer overflows when invoking the "PCI Host Bridge Device" method. Test: Boot on Archer City and confirm that no ACPI errors are reported for _OSC. Change-Id: Ide598e386c30ced24e4f96c37f2b4a609ac33441 Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/74231 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Jonathan Zhang <jon.zhixiong.zhang@gmail.com>
Diffstat (limited to 'src/soc/intel/xeon_sp/spr/Kconfig')
0 files changed, 0 insertions, 0 deletions