qemu/hw piix_pci.c
CVSROOT: /sources/qemu
Module name: qemu
Changes by: Thiemo Seufer <ths> 07/10/20 20:36:52
Modified files:
hw : piix_pci.c
Log message:
Enable ACPI interrupts, by Igor Lvovsky.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemu/hw/piix_pci.c?cvsroot=qemu&r1=1.11&r2=1.12
Quoted 4 lines · Thiemo Seufer
CVSROOT: /sources/qemu
Module name: qemu
Changes by: Thiemo Seufer <ths> 07/10/20 20:36:52
Quoted 10 lines
Modified files:
hw :piix_pci.cLog message:
Enable ACPI interrupts, by Igor Lvovsky.CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemu/hw/piix_pci.c?cvsroot=qemu&r1=1.11&r2=1.12
IMO this is a bug. The patch enables the ACPI PCI interrupt every time it is asserted. If this is really needed, this implies that the guest OS detects some sort of inconsistency and keeps turning the ACPI interrupt off.
The bug should be addressed instead of worked-around in this way.
Signature · 1 line
error compiling committee.c: too many arguments to function
Quoted 10 lines · Avi Kivity
Quoted 9 lines
Modified files:
hw :piix_pci.c
Log message:
Enable ACPI interrupts, by Igor Lvovsky.CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemu/hw/piix_pci.c?cvsroot=qemu&r1=1.11&r2=1.12
Quoted 6 lines
IMO this is a bug. The patch enables the ACPI PCI interrupt every time it is asserted. If this is really needed, this implies that the guest OS detects some sort of inconsistency and keeps turning the ACPI interrupt off.
The bug should be addressed instead of worked-around in this way.
Igor, could you clarify what happens there?
Thiemo
Quoted 23 lines
-----Original Message-----
From: Thiemo Seufer [mailto:[email protected]]
Sent: Monday, October 22, 2007 12:16 AM
To: Avi Kivity
Cc: [email protected]; Igor Lvovsky
Subject: Re: [Qemu-devel] qemu/hwpiix_pci.cQuoted 7 lines · Avi Kivity
Quoted 7 lines
Modified files:
hw :piix_pci.c
Log message:
Enable ACPI interrupts, by Igor Lvovsky.CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemu/hw/piix_pci.c?cvsroot=qemu&r1=1.1
1&r2=1.12Quoted 4 lines
Quoted 2 lines
IMO this is a bug. The patch enables the ACPI PCI interrupt every time
Quoted 8 lines
it
Quoted 5 lines
is asserted. If this is really needed, this implies that the guest OS detects some sort of inconsistency and keeps turning the ACPI interrupt off.
The bug should be addressed instead of worked-around in this way.
Igor, could you clarify what happens there?
[Igor Lvovsky] Yes sure. I rechecked it and it seems like reasonable conclusion. As I mentioned before, enable bit of PIRQRCA should be 0, but somehow
Windows set it all the time. One of the reasons can be some sort
of inconsistency.
My last patch can be temporary workaround and now we can get the ACPI interrupts without disrupt anything else, but I'll try to find full solution for this issue.
Igor
Quoted 3 lines
Thiemo
Quoted 3 lines · Igor Lvovsky
My last patch can be temporary workaround and now we can get the ACPI interrupts without disrupt anything else, but I'll try to find full solution for this issue.
Interestingly, Linux doesn't receive any interrupts from ACPI, too. There must be something wrong with the hardware emulation.
At [1] you can find a question I sent to this list, but didn't get a response. Just yesterday I started working on it again and it still doesn't work, even with your patch. Before I start going through all the ACPI specs and the Linux driver's code, do you have an idea what might be the problem?
Thanks,
Michael
[1] http://lists.gnu.org/archive/html/qemu-devel/2007-06/msg00450.html
Signature · 1 line
http://hansmi.ch/
Quoted 11 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Michael Hanselmann
Sent: Monday, October 22, 2007 10:27 AM
To: [email protected]
Cc: Avi Kivity
Subject: Re: [Qemu-devel] qemu/hwpiix_pci.c
Quoted 7 lines
Quoted 3 lines · Igor Lvovsky
My last patch can be temporary workaround and now we can get the ACPI interrupts without disrupt anything else, but I'll try to find full solution for this issue.
Interestingly, Linux doesn't receive any interrupts from ACPI, too. There must be something wrong with the hardware emulation.
[Igor Lvovsky] Probably, I will go over the spec again.
Quoted 4 lines
At [1] you can find a question I sent to this list, but didn't get a response. Just yesterday I started working on it again and it still doesn't work, even with your patch.
[Igor Lvovsky] My patch fixes it for windows guest. I tried it for LID open/close events on my laptop. According to the spec OS should care these events through ACPI. Now I have it works on windows guests via ACPI events, but on Linux guest it
work without ACPI (weird).
Before I start going through all the
Quoted 2 lines
ACPI specs and the Linux driver's code, do you have an idea what might be the problem?
[Igor Lvovsky] Not yet, but I'll inform you if I'll find something
Quoted 9 lines
Thanks,
Michael[1] http://lists.gnu.org/archive/html/qemu-devel/2007-06/msg00450.html