Update PRM patches to fix some issues...
Get series with b4
b4 am [email protected]Versions newest first
- v2 Latest3 patches 1 replyIn review
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | ACPICA: Add PRMT module header to facilitate parsinginclude/ | +5 | 0 replies | |
| 2/3 | PRM: implement OperationRegion handler for the PlatformRtMechanism subtypedrivers/ drivers/ drivers/ +4 more | +328 | 0 replies | |
| 3/3 | ACPI: Add \_SB._OSC bit for PRMdrivers/ include/ | +2 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/3] Update PRM patches to fix some issues...
Hi Rafael, I found out that there were several misspelled struct fields that resulted from merging my PRM code with ACPICA material that caused build errors. This patch set resolves build issues by
1) fixing the spelling errors
2) defining the struct acpi_prmt_module_header that got left off. This struct is used by acpi_parse_table_entries and is not used by ACPICA so it was left out accidentally.
This patch set also fixes a crash that was caused when I split up acpi_table_prmt and acpi_table_prmt_header. These structs used to be defined in a single struct acpi_table_prmt but it was split up in order to facilitate iASL compiler implementation. The size of the 36-byte ACPI table header + the size of any additional fields are needed as parameter to the acpi_parse_table_entries function. When I split up acpi_table_prmt into two different structs, I did not adjust the parameter to acpi_parse_table_entries and this ended up breaking the PRMT parsing. I've fixed this by changing the parameter to acpi_parse_table_entries to account for this additional struct.
Sorry for the confusion! This patchset should clear things up and runs the PRM handler in the edk2 PRM samples without any issues.
I've based this on rc-5.
Thanks and sorry for the noise!
Erik
Erik Kaneda (3):
ACPICA: Add PRMT module header to facilitate parsing
PRM: implement OperationRegion handler for the PlatformRtMechanism
subtype
ACPI: Add \_SB._OSC bit for PRM
drivers/acpi/Kconfig | 5 + drivers/acpi/Makefile | 1 + drivers/acpi/bus.c | 3 + drivers/acpi/prmt.c | 303 ++++++++++++++++++++++++++++++++++++++++++ drivers/acpi/tables.c | 9 ++ include/acpi/actbl2.h | 5 + include/linux/acpi.h | 2 + include/linux/prmt.h | 7 + 8 files changed, 335 insertions(+) create mode 100644 drivers/acpi/prmt.c create mode 100644 include/linux/prmt.h
Signature · 1 line
2.29.2