* [Qemu-devel] [PATCH] ACPI: Remove commented-out code from HPET._CRS
@ 2014-02-07 15:30 Gabriel L. Somlo
2014-02-10 7:59 ` Igor Mammedov
2014-02-10 9:07 ` Michael S. Tsirkin
0 siblings, 2 replies; 3+ messages in thread
From: Gabriel L. Somlo @ 2014-02-07 15:30 UTC (permalink / raw)
To: qemu-devel; +Cc: qemu-trivial, imammedo, mst
IRQNoFlags on HPET._CRS crashes WinXP because it causes the HPET
to conflict with the system timer and/or the RTC. It only occurs
on Apple hardware, and even there it is exposed fully only when
OS X is detected (via _OSI). Recent OS X versions work on QEMU
without this statement, so at this time there is no need to find
a better way to conditionally include the statement. This patch
removes the commented out (and wrong, should have been {0, 8})
statement from HPET._CRS.
Signed-off-by: Gabriel Somlo <somlo@cmu.edu>
---
hw/i386/acpi-dsdt-hpet.dsl | 3 ---
1 file changed, 3 deletions(-)
diff --git a/hw/i386/acpi-dsdt-hpet.dsl b/hw/i386/acpi-dsdt-hpet.dsl
index dfde174..44961b8 100644
--- a/hw/i386/acpi-dsdt-hpet.dsl
+++ b/hw/i386/acpi-dsdt-hpet.dsl
@@ -39,9 +39,6 @@ Scope(\_SB) {
Return (0x0F)
}
Name(_CRS, ResourceTemplate() {
-#if 0 /* This makes WinXP BSOD for not yet figured reasons. */
- IRQNoFlags() {2, 8}
-#endif
Memory32Fixed(ReadOnly,
0xFED00000, // Address Base
0x00000400, // Address Length
--
1.8.1.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] [PATCH] ACPI: Remove commented-out code from HPET._CRS
2014-02-07 15:30 [Qemu-devel] [PATCH] ACPI: Remove commented-out code from HPET._CRS Gabriel L. Somlo
@ 2014-02-10 7:59 ` Igor Mammedov
2014-02-10 9:07 ` Michael S. Tsirkin
1 sibling, 0 replies; 3+ messages in thread
From: Igor Mammedov @ 2014-02-10 7:59 UTC (permalink / raw)
To: Gabriel L. Somlo; +Cc: qemu-trivial, qemu-devel, mst
On Fri, 7 Feb 2014 10:30:40 -0500
"Gabriel L. Somlo" <gsomlo@gmail.com> wrote:
> IRQNoFlags on HPET._CRS crashes WinXP because it causes the HPET
> to conflict with the system timer and/or the RTC. It only occurs
> on Apple hardware, and even there it is exposed fully only when
> OS X is detected (via _OSI). Recent OS X versions work on QEMU
> without this statement, so at this time there is no need to find
> a better way to conditionally include the statement. This patch
> removes the commented out (and wrong, should have been {0, 8})
> statement from HPET._CRS.
>
> Signed-off-by: Gabriel Somlo <somlo@cmu.edu>
> ---
> hw/i386/acpi-dsdt-hpet.dsl | 3 ---
> 1 file changed, 3 deletions(-)
>
> diff --git a/hw/i386/acpi-dsdt-hpet.dsl b/hw/i386/acpi-dsdt-hpet.dsl
> index dfde174..44961b8 100644
> --- a/hw/i386/acpi-dsdt-hpet.dsl
> +++ b/hw/i386/acpi-dsdt-hpet.dsl
> @@ -39,9 +39,6 @@ Scope(\_SB) {
> Return (0x0F)
> }
> Name(_CRS, ResourceTemplate() {
> -#if 0 /* This makes WinXP BSOD for not yet figured reasons. */
> - IRQNoFlags() {2, 8}
> -#endif
> Memory32Fixed(ReadOnly,
> 0xFED00000, // Address Base
> 0x00000400, // Address Length
Reviewed-By: Igor Mammedov <imammedo@redhat.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] [PATCH] ACPI: Remove commented-out code from HPET._CRS
2014-02-07 15:30 [Qemu-devel] [PATCH] ACPI: Remove commented-out code from HPET._CRS Gabriel L. Somlo
2014-02-10 7:59 ` Igor Mammedov
@ 2014-02-10 9:07 ` Michael S. Tsirkin
1 sibling, 0 replies; 3+ messages in thread
From: Michael S. Tsirkin @ 2014-02-10 9:07 UTC (permalink / raw)
To: Gabriel L. Somlo; +Cc: qemu-trivial, imammedo, qemu-devel
On Fri, Feb 07, 2014 at 10:30:40AM -0500, Gabriel L. Somlo wrote:
> IRQNoFlags on HPET._CRS crashes WinXP because it causes the HPET
> to conflict with the system timer and/or the RTC. It only occurs
> on Apple hardware, and even there it is exposed fully only when
> OS X is detected (via _OSI). Recent OS X versions work on QEMU
> without this statement, so at this time there is no need to find
> a better way to conditionally include the statement. This patch
> removes the commented out (and wrong, should have been {0, 8})
> statement from HPET._CRS.
>
> Signed-off-by: Gabriel Somlo <somlo@cmu.edu>
Applied, thanks!
> ---
> hw/i386/acpi-dsdt-hpet.dsl | 3 ---
> 1 file changed, 3 deletions(-)
>
> diff --git a/hw/i386/acpi-dsdt-hpet.dsl b/hw/i386/acpi-dsdt-hpet.dsl
> index dfde174..44961b8 100644
> --- a/hw/i386/acpi-dsdt-hpet.dsl
> +++ b/hw/i386/acpi-dsdt-hpet.dsl
> @@ -39,9 +39,6 @@ Scope(\_SB) {
> Return (0x0F)
> }
> Name(_CRS, ResourceTemplate() {
> -#if 0 /* This makes WinXP BSOD for not yet figured reasons. */
> - IRQNoFlags() {2, 8}
> -#endif
> Memory32Fixed(ReadOnly,
> 0xFED00000, // Address Base
> 0x00000400, // Address Length
> --
> 1.8.1.4
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-02-10 9:02 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-07 15:30 [Qemu-devel] [PATCH] ACPI: Remove commented-out code from HPET._CRS Gabriel L. Somlo
2014-02-10 7:59 ` Igor Mammedov
2014-02-10 9:07 ` Michael S. Tsirkin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).