HAOUAS Elyes has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/32743
Change subject: mb/t400/acpi: Fix ATPR's buffer length ......................................................................
mb/t400/acpi: Fix ATPR's buffer length
Change-Id: Ic9cf16a7494667f6dab156c697fb8f8e9966051e Signed-off-by: Elyes HAOUAS ehaouas@noos.fr --- M src/mainboard/lenovo/t400/acpi/graphics.asl 1 file changed, 6 insertions(+), 4 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/43/32743/1
diff --git a/src/mainboard/lenovo/t400/acpi/graphics.asl b/src/mainboard/lenovo/t400/acpi/graphics.asl index 818ea93..ff6923b 100644 --- a/src/mainboard/lenovo/t400/acpi/graphics.asl +++ b/src/mainboard/lenovo/t400/acpi/graphics.asl @@ -57,15 +57,17 @@
Method (ATPX, 2, Serialized) { /* Create local variables */ - Name (ATPR, Buffer (0x08) { + Name (ATPR, Buffer (0x10) { + 0x0, 0x0, 0x0, 0x0, + 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0 }) CreateWordField (ATPR, 0x00, SIZE) CreateWordField (ATPR, 0x02, VERS) - CreateDWordField (ATPR, 0x02, MASK) - CreateDWordField (ATPR, 0x04, FUNC) - CreateDWordField (ATPR, 0x06, FLAG) + CreateDWordField (ATPR, 0x04, MASK) + CreateDWordField (ATPR, 0x08, FUNC) + CreateDWordField (ATPR, 0x10, FLAG)
/* Version request */ if (LEqual(Arg0, 0x0))
Hello Alexander Couzens, Patrick Rudolph, build bot (Jenkins), Nico Huber, Martin Roth,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/32743
to look at the new patch set (#2).
Change subject: mb/t400/acpi: Fix ATPR's buffer length ......................................................................
mb/t400/acpi: Fix ATPR's buffer length
Error spoted using acpica version 20190509 (Change-Id: I6779a20 ).
Change-Id: Ic9cf16a7494667f6dab156c697fb8f8e9966051e Signed-off-by: Elyes HAOUAS ehaouas@noos.fr --- M src/mainboard/lenovo/t400/acpi/graphics.asl 1 file changed, 6 insertions(+), 4 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/43/32743/2
Hello Alexander Couzens, Patrick Rudolph, build bot (Jenkins), Nico Huber, Martin Roth,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/32743
to look at the new patch set (#3).
Change subject: mb/t400/acpi: Fix ATPR's buffer length ......................................................................
mb/t400/acpi: Fix ATPR's buffer length
Error spoted using acpica version 20190509 (Change-Id: I6779a20).
Change-Id: Ic9cf16a7494667f6dab156c697fb8f8e9966051e Signed-off-by: Elyes HAOUAS ehaouas@noos.fr --- M src/mainboard/lenovo/t400/acpi/graphics.asl 1 file changed, 6 insertions(+), 4 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/43/32743/3
Hello Alexander Couzens, Patrick Rudolph, build bot (Jenkins), Nico Huber, Martin Roth,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/32743
to look at the new patch set (#4).
Change subject: mb/t400/acpi: Fix ATPR's buffer length ......................................................................
mb/t400/acpi: Fix ATPR's buffer length
Error spoted using acpica version 20190509 (Change-Id: I6779a20).
Change-Id: Ic9cf16a7494667f6dab156c697fb8f8e9966051e Signed-off-by: Elyes HAOUAS ehaouas@noos.fr --- M src/mainboard/lenovo/t400/acpi/graphics.asl 1 file changed, 6 insertions(+), 6 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/43/32743/4
Martin Roth has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/32743 )
Change subject: mb/t400/acpi: Fix ATPR's buffer length ......................................................................
Patch Set 4:
(2 comments)
Thanks for fixing this so quickly.
a couple nits about the commit message, but it's good otherwise.
https://review.coreboot.org/#/c/32743/2//COMMIT_MSG Commit Message:
https://review.coreboot.org/#/c/32743/2//COMMIT_MSG@7 PS2, Line 7: Fix ATPR's buffer length Maybe: "mb/t400/acpi: Update ATPR buffer to fit all entries"
https://review.coreboot.org/#/c/32743/2//COMMIT_MSG@9 PS2, Line 9: spoted spotted
Hello Alexander Couzens, Patrick Rudolph, build bot (Jenkins), Nico Huber, Martin Roth,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/32743
to look at the new patch set (#5).
Change subject: mb/t400/acpi: Update ATPR buffer to fit all entries ......................................................................
mb/t400/acpi: Update ATPR buffer to fit all entries
Error spotted using acpica version 20190509 (Change-Id: I6779a20).
Change-Id: Ic9cf16a7494667f6dab156c697fb8f8e9966051e Signed-off-by: Elyes HAOUAS ehaouas@noos.fr --- M src/mainboard/lenovo/t400/acpi/graphics.asl 1 file changed, 6 insertions(+), 6 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/43/32743/5
Nico Huber has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/32743 )
Change subject: mb/t400/acpi: Update ATPR buffer to fit all entries ......................................................................
Patch Set 5: Code-Review-1
(1 comment)
This is part of a kernel interface (cf. `drivers/gpu/drm/ amd/amdgpu/amdgpu_atpx_handler.c`), please find a solution that doesn't break the ABI.
https://review.coreboot.org/#/c/32743/5/src/mainboard/lenovo/t400/acpi/graph... File src/mainboard/lenovo/t400/acpi/graphics.asl:
https://review.coreboot.org/#/c/32743/5/src/mainboard/lenovo/t400/acpi/graph... PS5, Line 68: These offsets look all correct.
Would be worth to add a comment that they specify different, incompatible structures, `struct atpx_verify_interface` and `struct atpx_px_params` in the kernel. However, as the latter is not implemented here anyway, we can also just drop `MASK` and `FLAG`.
Hello Alexander Couzens, Patrick Rudolph, build bot (Jenkins), Nico Huber, Martin Roth,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/32743
to look at the new patch set (#6).
Change subject: mb/t400/acpi: Update ATPR buffer to fit all entries ......................................................................
mb/t400/acpi: Update ATPR buffer to fit all entries
Error spotted using acpica version 20190509 (Change-Id: I6779a20).
Change-Id: Ic9cf16a7494667f6dab156c697fb8f8e9966051e Signed-off-by: Elyes HAOUAS ehaouas@noos.fr --- M src/mainboard/lenovo/t400/acpi/graphics.asl 1 file changed, 1 insertion(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/43/32743/6
Hello Alexander Couzens, Patrick Rudolph, build bot (Jenkins), Nico Huber, Martin Roth,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/32743
to look at the new patch set (#7).
Change subject: mb/t400/acpi: Update ATPR buffer to fit all entries ......................................................................
mb/t400/acpi: Update ATPR buffer to fit all entries
Error spotted using acpica version 20190509 (Change-Id: I6779a20).
Change-Id: Ic9cf16a7494667f6dab156c697fb8f8e9966051e Signed-off-by: Elyes HAOUAS ehaouas@noos.fr --- M src/mainboard/lenovo/t400/acpi/graphics.asl 1 file changed, 0 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/43/32743/7
Nico Huber has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/32743 )
Change subject: mb/t400/acpi: Update ATPR buffer to fit all entries ......................................................................
Patch Set 7: Code-Review+2
Commit message needs an update.
Martin Roth has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/32743 )
Change subject: mb/t400/acpi: Update ATPR buffer to fit all entries ......................................................................
Patch Set 7: Code-Review+2
Patrick Georgi has submitted this change and it was merged. ( https://review.coreboot.org/c/coreboot/+/32743 )
Change subject: mb/t400/acpi: Update ATPR buffer to fit all entries ......................................................................
mb/t400/acpi: Update ATPR buffer to fit all entries
Error spotted using acpica version 20190509 (Change-Id: I6779a20).
Change-Id: Ic9cf16a7494667f6dab156c697fb8f8e9966051e Signed-off-by: Elyes HAOUAS ehaouas@noos.fr Reviewed-on: https://review.coreboot.org/c/coreboot/+/32743 Tested-by: build bot (Jenkins) no-reply@coreboot.org Reviewed-by: Nico Huber nico.h@gmx.de Reviewed-by: Martin Roth martinroth@google.com --- M src/mainboard/lenovo/t400/acpi/graphics.asl 1 file changed, 0 insertions(+), 2 deletions(-)
Approvals: build bot (Jenkins): Verified Martin Roth: Looks good to me, approved Nico Huber: Looks good to me, approved
diff --git a/src/mainboard/lenovo/t400/acpi/graphics.asl b/src/mainboard/lenovo/t400/acpi/graphics.asl index 818ea93..038774f 100644 --- a/src/mainboard/lenovo/t400/acpi/graphics.asl +++ b/src/mainboard/lenovo/t400/acpi/graphics.asl @@ -63,9 +63,7 @@ }) CreateWordField (ATPR, 0x00, SIZE) CreateWordField (ATPR, 0x02, VERS) - CreateDWordField (ATPR, 0x02, MASK) CreateDWordField (ATPR, 0x04, FUNC) - CreateDWordField (ATPR, 0x06, FLAG)
/* Version request */ if (LEqual(Arg0, 0x0))