Skip to content

Commit 9b02cf9

Browse files
mcamromrafaeljw
authored andcommitted
ACPICA: Cleanup comments and DTPR Table handle functions
Link: acpica/acpica@cc480264335e Signed-off-by: Michal Camacho Romero <michal.camacho.romero@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Link: https://patch.msgid.link/2042656.yKVeVyVuyW@rafael.j.wysocki
1 parent 9565d47 commit 9b02cf9

1 file changed

Lines changed: 18 additions & 17 deletions

File tree

include/acpi/actbl1.h

Lines changed: 18 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2003,7 +2003,9 @@ struct acpi_tpr_instance {
20032003

20042004
struct acpi_tpr_aux_sr {
20052005
u32 srl_cnt;
2006-
/* ACPI_TPR_SERIALIZE_REQUEST tpr_sr_arr[]; */
2006+
/*
2007+
* ACPI_TPR_SERIALIZE_REQUEST tpr_sr_arr[];
2008+
*/
20072009
};
20082010

20092011
/*
@@ -2020,13 +2022,13 @@ struct acpi_tprn_base_reg {
20202022
u64 rw:1; /* access: 1 == RO, 0 == RW (for TPR must be RW) */
20212023
u64 enable:1; /* 0 == range enabled, 1 == range disabled */
20222024
u64 reserved1:15;
2023-
u64 tpr_base_rw:44; /* Minimal TPRn_Base resolution is 1MB.
2024-
* Applied to the incoming address, to determine if
2025-
* an access fall within the TPRn defined region.
2026-
* Width is determined by a bus width which can be
2027-
* obtained via CPUID function 0x80000008.
2025+
u64 tpr_base_rw:44; /*
2026+
* Minimal TPRn_Base resolution is 1MB.
2027+
* Applied to the incoming address, to determine if
2028+
* an access fall within the TPRn defined region.
2029+
* Width is determined by a bus width which can be
2030+
* obtained via CPUID function 0x80000008.
20282031
*/
2029-
/* u64 unused : 1; */
20302032
};
20312033

20322034
/*
@@ -2043,12 +2045,11 @@ struct acpi_tprn_limit_reg {
20432045
u64 rw:1; /* access: 1 == RO, 0 == RW (for TPR must be RW) */
20442046
u64 enable:1; /* 0 == range enabled, 1 == range disabled */
20452047
u64 reserved1:15;
2046-
u64 tpr_limit_rw:44; /* Minimal TPRn_Limit resolution is 1MB.
2047-
* These bits define TPR limit address.
2048-
* Width is determined by a bus width.
2048+
u64 tpr_limit_rw:44; /*
2049+
* Minimal TPRn_Limit resolution is 1MB.
2050+
* These bits define TPR limit address.
2051+
* Width is determined by a bus width.
20492052
*/
2050-
2051-
/* u64 unused : 1; */
20522053
};
20532054

20542055
/*
@@ -2062,11 +2063,11 @@ struct acpi_tprn_limit_reg {
20622063
struct acpi_tpr_serialize_request {
20632064
u64 sr_register;
20642065
/*
2065-
* BIT 1 - Status of serialization request (RO)
2066-
* 0 == register idle, 1 == serialization in progress
2067-
* BIT 2 - Control field to initiate serialization (RW)
2068-
* 0 == normal, 1 == initialize serialization
2069-
* (self-clear to allow multiple serialization requests)
2066+
* BIT 1 - Status of serialization request (RO)
2067+
* 0 == register idle, 1 == serialization in progress
2068+
* BIT 2 - Control field to initiate serialization (RW)
2069+
* 0 == normal, 1 == initialize serialization
2070+
* (self-clear to allow multiple serialization requests)
20702071
*/
20712072
};
20722073

0 commit comments

Comments
 (0)