[PATCH v3 0/2] platform/x86/amd: send WBRF DSM payload as buffer
From: Mario Limonciello
Date: Fri Nov 20 2026 - 12:52:53 EST
Signed-off-by: Mario Limonciello <superm1@xxxxxxxxxx>
---
Changes in v3:
- Drop unrelated whitespace-only changes to acpi_evaluate_dsm() calls
(Ilpo, David)
- Drop __packed from the new payload structs; they are naturally aligned
(David)
- Add a new prerequisite patch adding the includes the driver was already
missing (Ilpo)
- Add the includes needed by the new code and put <asm/byteorder.h> into
its own group (Ilpo)
- Link to v2: https://patch.msgid.link/20261102-superm1-wbrf-v2-1-28b02bb4ce61@xxxxxxxxxx
Changes in v2:
- Declare payload with __free(kfree) at the kzalloc() site, after input
validation, instead of initializing it to NULL at the top of
wbrf_record() (Sashiko)
- Compute payload length with struct_size_t() so it no longer depends on
payload being declared earlier (Sashiko)
- Link to v1: https://patch.msgid.link/20261102-superm1-wbrf-v1-1-b58d8d85277c@xxxxxxxxxx
---
Mario Limonciello (2):
platform/x86/amd: Add missing includes to wbrf
platform/x86/amd: send WBRF DSM payload as buffer
drivers/platform/x86/amd/wbrf.c | 73 +++++++++++++++++++++++++----------------
1 file changed, 45 insertions(+), 28 deletions(-)
---
base-commit: aebb7274476403040d582c61478df8f4a7bf9cd3
change-id: 20261029-superm1-wbrf-d94050a28212
Best regards,
--
Mario Limonciello <mario.limonciello@xxxxxxx>