提交 45eded87 编写于 作者: A Alexey Starikovskiy 提交者: Len Brown

ACPI: fix HP RX2600 IA64 boot

Copy space_id of GAS structure to newly created GAS.
The previous FADT conversion code defaulted to IO space.
Signed-off-by: NAlexey Starikovskiy <alexey.y.starikovskiy@linux.intel.com>
Signed-off-by: NLen Brown <len.brown@intel.com>
上级 0e568335
...@@ -333,6 +333,8 @@ static void acpi_tb_convert_fadt(void) ...@@ -333,6 +333,8 @@ static void acpi_tb_convert_fadt(void)
pm1_register_length, pm1_register_length,
(acpi_gbl_FADT.xpm1a_event_block.address + (acpi_gbl_FADT.xpm1a_event_block.address +
pm1_register_length)); pm1_register_length));
/* Don't forget to copy space_id of the GAS */
acpi_gbl_xpm1a_enable.space_id = acpi_gbl_FADT.xpm1a_event_block.space_id;
/* The PM1B register block is optional, ignore if not present */ /* The PM1B register block is optional, ignore if not present */
...@@ -341,6 +343,9 @@ static void acpi_tb_convert_fadt(void) ...@@ -341,6 +343,9 @@ static void acpi_tb_convert_fadt(void)
pm1_register_length, pm1_register_length,
(acpi_gbl_FADT.xpm1b_event_block. (acpi_gbl_FADT.xpm1b_event_block.
address + pm1_register_length)); address + pm1_register_length));
/* Don't forget to copy space_id of the GAS */
acpi_gbl_xpm1b_enable.space_id = acpi_gbl_FADT.xpm1a_event_block.space_id;
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册