Skip to content

Commit 691474b

Browse files
mcamromrafaeljw
authored andcommitted
ACPICA: Align comments in TPRn-related structures
Align comments in ACPI_TPRN_BASE_REG and ACPI_TPRN_LIMIT_REG structures. Link: acpica/acpica@95815d550969 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/2286538.NgBsaNRSFp@rafael.j.wysocki
1 parent 9b02cf9 commit 691474b

1 file changed

Lines changed: 14 additions & 16 deletions

File tree

include/acpi/actbl1.h

Lines changed: 14 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1998,14 +1998,10 @@ struct acpi_tpr_array {
19981998
struct acpi_tpr_instance {
19991999
u32 flags;
20002000
u32 tpr_cnt;
2001-
struct acpi_tpr_array tpr_array[];
20022001
};
20032002

20042003
struct acpi_tpr_aux_sr {
20052004
u32 srl_cnt;
2006-
/*
2007-
* ACPI_TPR_SERIALIZE_REQUEST tpr_sr_arr[];
2008-
*/
20092005
};
20102006

20112007
/*
@@ -2022,13 +2018,14 @@ struct acpi_tprn_base_reg {
20222018
u64 rw:1; /* access: 1 == RO, 0 == RW (for TPR must be RW) */
20232019
u64 enable:1; /* 0 == range enabled, 1 == range disabled */
20242020
u64 reserved1:15;
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.
2031-
*/
2021+
u64 tpr_base_rw:44;
2022+
/*
2023+
* 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.
2028+
*/
20322029
};
20332030

20342031
/*
@@ -2045,11 +2042,12 @@ struct acpi_tprn_limit_reg {
20452042
u64 rw:1; /* access: 1 == RO, 0 == RW (for TPR must be RW) */
20462043
u64 enable:1; /* 0 == range enabled, 1 == range disabled */
20472044
u64 reserved1:15;
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.
2052-
*/
2045+
u64 tpr_limit_rw:44;
2046+
/*
2047+
* Minimal TPRn_Limit resolution is 1MB.
2048+
* These bits define TPR limit address.
2049+
* Width is determined by a bus width.
2050+
*/
20532051
};
20542052

20552053
/*

0 commit comments

Comments
 (0)