Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

ACPICA: actbl2.h: ACPI 6.5: RAS2: Rename structure and field names of the RAS2 table

ACPICA commit 2c8a38f747de9d977491a494faf0dfaf799b777b

Rename the structure and field names of the RAS2 table to shorten them and
avoid long lines in the ACPI RAS2 drivers.

1. struct acpi_ras2_shared_memory to struct acpi_ras2_shmem

2. In struct acpi_ras2_shared_memory: fields,
- set_capabilities[16] to set_caps[16]
- num_parameter_blocks to num_param_blks
- set_capabilities_status to set_caps_status

3. struct acpi_ras2_patrol_scrub_parameter to
struct acpi_ras2_patrol_scrub_param

4. In struct acpi_ras2_patrol_scrub_parameter: fields,
- patrol_scrub_command to command
- requested_address_range to req_addr_range
- actual_address_range to actl_addr_range

Link: https://github.com/acpica/acpica/commit/2c8a38f7
Signed-off-by: Shiju Jose <shiju.jose@huawei.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Link: https://patch.msgid.link/1942053.CQOukoFCf9@rjwysocki.net

authored by

Shiju Jose and committed by
Rafael J. Wysocki
d46825d2 2b821188

+8 -8
+8 -8
include/acpi/actbl2.h
··· 3035 3035 3036 3036 /* RAS2 Platform Communication Channel Shared Memory Region */ 3037 3037 3038 - struct acpi_ras2_shared_memory { 3038 + struct acpi_ras2_shmem { 3039 3039 u32 signature; 3040 3040 u16 command; 3041 3041 u16 status; 3042 3042 u16 version; 3043 3043 u8 features[16]; 3044 - u8 set_capabilities[16]; 3045 - u16 num_parameter_blocks; 3046 - u32 set_capabilities_status; 3044 + u8 set_caps[16]; 3045 + u16 num_param_blks; 3046 + u32 set_caps_status; 3047 3047 }; 3048 3048 3049 3049 /* RAS2 Parameter Block Structure for PATROL_SCRUB */ ··· 3056 3056 3057 3057 /* RAS2 Parameter Block Structure for PATROL_SCRUB */ 3058 3058 3059 - struct acpi_ras2_patrol_scrub_parameter { 3059 + struct acpi_ras2_patrol_scrub_param { 3060 3060 struct acpi_ras2_parameter_block header; 3061 - u16 patrol_scrub_command; 3062 - u64 requested_address_range[2]; 3063 - u64 actual_address_range[2]; 3061 + u16 command; 3062 + u64 req_addr_range[2]; 3063 + u64 actl_addr_range[2]; 3064 3064 u32 flags; 3065 3065 u32 scrub_params_out; 3066 3066 u32 scrub_params_in;