[PATCH v2 0/3] Update PRM patches to fix some issues...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-- 
2.29.2




[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux