323c32f878
bump to latest version, added fixes for i810 hang, uefi xsdt issue, saa7134, rtl8192se, tun speed
43 lines
1.4 KiB
Diff
43 lines
1.4 KiB
Diff
@@ -, +, @@
|
|
acpi_tb_parse_root_table().
|
|
Commit: 671cc68dc61f029d44b43a681356078e02d8dab8
|
|
Subject: ACPICA: Back port and refine validation of the XSDT root table.
|
|
---
|
|
drivers/acpi/acpica/tbutils.c | 6 ++++--
|
|
1 file changed, 4 insertions(+), 2 deletions(-)
|
|
--- a/drivers/acpi/acpica/tbutils.c
|
|
+++ a/drivers/acpi/acpica/tbutils.c
|
|
@@ -461,6 +461,7 @@ acpi_status __init acpi_tb_parse_root_table(acpi_physical_address rsdp_address)
|
|
u32 table_count;
|
|
struct acpi_table_header *table;
|
|
acpi_physical_address address;
|
|
+ acpi_physical_address rsdt_address;
|
|
u32 length;
|
|
u8 *table_entry;
|
|
acpi_status status;
|
|
@@ -488,11 +489,13 @@ acpi_status __init acpi_tb_parse_root_table(acpi_physical_address rsdp_address)
|
|
* as per the ACPI specification.
|
|
*/
|
|
address = (acpi_physical_address) rsdp->xsdt_physical_address;
|
|
+ rsdt_address = (acpi_physical_address) rsdp->rsdt_physical_address;
|
|
table_entry_size = ACPI_XSDT_ENTRY_SIZE;
|
|
} else {
|
|
/* Root table is an RSDT (32-bit physical addresses) */
|
|
|
|
address = (acpi_physical_address) rsdp->rsdt_physical_address;
|
|
+ rsdt_address = address;
|
|
table_entry_size = ACPI_RSDT_ENTRY_SIZE;
|
|
}
|
|
|
|
@@ -515,8 +518,7 @@ acpi_status __init acpi_tb_parse_root_table(acpi_physical_address rsdp_address)
|
|
|
|
/* Fall back to the RSDT */
|
|
|
|
- address =
|
|
- (acpi_physical_address) rsdp->rsdt_physical_address;
|
|
+ address = rsdt_address;
|
|
table_entry_size = ACPI_RSDT_ENTRY_SIZE;
|
|
}
|
|
}
|
|
|