Re: [Qemu-devel] [PATCH v2] ich9: initialise RCBA register through LPC interface

2015-07-14 Thread Paulo Alcantara
On Tue, 14 Jul 2015 15:55:24 +0200 Gerd Hoffmann kra...@redhat.com wrote: On Do, 2015-07-09 at 21:04 -0300, Paulo Alcantara wrote: This patch initialises root complex register block BAR in order to support TCO watchdog emulation features on QEMU. qemu patches are merged, committed

[Qemu-devel] [PATCH] ich9: fix skipped vmstate_memhp_state subsection

2015-07-13 Thread Paulo Alcantara
Signed-off-by: Paulo Alcantara pca...@zytor.com --- hw/acpi/ich9.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/hw/acpi/ich9.c b/hw/acpi/ich9.c index 5fb7a87..f04f6dc 100644 --- a/hw/acpi/ich9.c +++ b/hw/acpi/ich9.c @@ -206,9 +206,6 @@ const VMStateDescription vmstate_ich9_pm

[Qemu-devel] [PATCH v2] ich9: initialise RCBA register through LPC interface

2015-07-09 Thread Paulo Alcantara
This patch initialises root complex register block BAR in order to support TCO watchdog emulation features on QEMU. Cc: Kevin O'Connor ke...@koconnor.net Cc: Gerd Hofmann kra...@redhat.com Cc: Paolo Bonzini pbonz...@redhat.com Signed-off-by: Paulo Alcantara pca...@zytor.com --- v1 - v2

Re: [Qemu-devel] [PATCH v8 3/3] ich9: implement strap SPKR pin logic

2015-07-01 Thread Paulo Alcantara
On Wed, 1 Jul 2015 15:31:31 +0200 Michael S. Tsirkin m...@redhat.com wrote: On Wed, Jul 01, 2015 at 03:18:41PM +0200, Paolo Bonzini wrote: On 28/06/2015 19:58, Paulo Alcantara wrote: If the signal is sampled high, this indicates that the system is strapped to the No Reboot mode

Re: [Qemu-devel] [PATCH v7 3/3] ich9: implement strap SPKR pin logic

2015-06-28 Thread Paulo Alcantara
On Sun, 28 Jun 2015 10:37:58 +0200 Michael S. Tsirkin m...@redhat.com wrote: On Sat, Jun 27, 2015 at 02:56:33PM -0300, Paulo Alcantara wrote: If the signal is sampled high, this indicates that the system is strapped to the No Reboot mode (ICH9 will disable the TCO Timer system reboot

[Qemu-devel] [PATCH v8 3/3] ich9: implement strap SPKR pin logic

2015-06-28 Thread Paulo Alcantara
-by: Paulo Alcantara pca...@zytor.com --- v7 - v8: * change property name to noreboot * default noreboot property to high * define property in dc-props * update tco tests to support and exercise noreboot property --- hw/acpi/tco.c | 2 +- hw/isa/lpc_ich9.c | 6 ++ include/hw

[Qemu-devel] [PATCH v8 2/3] tests: add testcase for TCO watchdog emulation

2015-06-28 Thread Paulo Alcantara
6) set and get of TCO control and status bits Signed-off-by: Paulo Alcantara pca...@zytor.com --- v1 - v2: * some cleanup * add test for TCO_LOCK bit v2 - v3: * add tests for TCO control status bits * fix check of SECOND_TO_STS bit (it's set in TCO2_STS reg) v3 - v4: * add more

[Qemu-devel] [PATCH v8 1/3] ich9: add TCO interface emulation

2015-06-28 Thread Paulo Alcantara
detection, etc. are not implemented yet. Signed-off-by: Paulo Alcantara pca...@zytor.com --- v1 - v2: * add migration support for TCO I/O device state * wake up only when total time expired instead of every 0.6s * some cleanup suggested by Paolo Bonzini v2 - v3: * set SECOND_TO_STS

[Qemu-devel] [PATCH v7 2/3] tests: add testcase for TCO watchdog emulation

2015-06-27 Thread Paulo Alcantara
6) set and get of TCO control and status bits Signed-off-by: Paulo Alcantara pca...@zytor.com --- v1 - v2: * some cleanup * add test for TCO_LOCK bit v2 - v3: * add tests for TCO control status bits * fix check of SECOND_TO_STS bit (it's set in TCO2_STS reg) v3 - v4: * add more

[Qemu-devel] [PATCH v7 1/3] ich9: add TCO interface emulation

2015-06-27 Thread Paulo Alcantara
detection, etc. are not implemented yet. Signed-off-by: Paulo Alcantara pca...@zytor.com --- v1 - v2: * add migration support for TCO I/O device state * wake up only when total time expired instead of every 0.6s * some cleanup suggested by Paolo Bonzini v2 - v3: * set SECOND_TO_STS

[Qemu-devel] [PATCH v7 3/3] ich9: implement strap SPKR pin logic

2015-06-27 Thread Paulo Alcantara
-by: Paulo Alcantara pca...@zytor.com --- hw/acpi/tco.c | 3 ++- hw/isa/lpc_ich9.c | 38 ++ include/hw/i386/ich9.h | 11 +++ 3 files changed, 51 insertions(+), 1 deletion(-) diff --git a/hw/acpi/tco.c b/hw/acpi/tco.c index 1794a54..c1f5739 100644

[Qemu-devel] [PATCH] ich9: Fix naming confusion when referring to RCBA register

2015-06-27 Thread Paulo Alcantara
Looks like RCBA was confused by either RBCA (Receive Broadcast Packet, TSEC), or they were all just typos. This patch changes all incorrect namings from RBCA to RCBA. Signed-off-by: Paulo Alcantara pca...@zytor.com --- hw/isa/lpc_ich9.c | 32 include/hw

Re: [Qemu-devel] [PATCH v5 2/3] target-i386: reserve RCRB mmio space in ACPI DSDT table

2015-06-24 Thread Paulo Alcantara
On Wed, 24 Jun 2015 17:11:26 +0200 Michael S. Tsirkin m...@redhat.com wrote: On Mon, Jun 22, 2015 at 08:10:28PM -0300, Paulo Alcantara wrote: This block is mapped into memory space, using the Root Complex Base Address (RCBA) register of the PCI-to-LPC bridge. Accesses in this space must

[Qemu-devel] [PATCH v6 1/2] ich9: add TCO interface emulation

2015-06-24 Thread Paulo Alcantara
detection, etc. are not implemented yet. Signed-off-by: Paulo Alcantara pca...@zytor.com --- v1 - v2: * add migration support for TCO I/O device state * wake up only when total time expired instead of every 0.6s * some cleanup suggested by Paolo Bonzini v2 - v3: * set SECOND_TO_STS

[Qemu-devel] [PATCH v6 2/2] tests: add testcase for TCO watchdog emulation

2015-06-24 Thread Paulo Alcantara
6) set and get of TCO control and status bits Signed-off-by: Paulo Alcantara pca...@zytor.com --- v1 - v2: * some cleanup * add test for TCO_LOCK bit v2 - v3: * add tests for TCO control status bits * fix check of SECOND_TO_STS bit (it's set in TCO2_STS reg) v3 - v4: * add more

[Qemu-devel] [PATCH v5 1/3] ich9: add TCO interface emulation

2015-06-22 Thread Paulo Alcantara
detection, etc. are not implemented yet. Signed-off-by: Paulo Alcantara pca...@zytor.com --- v1 - v2: * add migration support for TCO I/O device state * wake up only when total time expired instead of every 0.6s * some cleanup suggested by Paolo Bonzini v2 - v3: * set SECOND_TO_STS

[Qemu-devel] [PATCH v5 3/3] tests: add testcase for TCO watchdog emulation

2015-06-22 Thread Paulo Alcantara
6) set and get of TCO control and status bits Signed-off-by: Paulo Alcantara pca...@zytor.com --- v1 - v2: * some cleanup * add test for TCO_LOCK bit v2 - v3: * add tests for TCO control status bits * fix check of SECOND_TO_STS bit (it's set in TCO2_STS reg) v3 - v4: * add more

[Qemu-devel] [PATCH v5 2/3] target-i386: reserve RCRB mmio space in ACPI DSDT table

2015-06-22 Thread Paulo Alcantara
-by: Paulo Alcantara pca...@zytor.com --- v1 - v2: * s/PDRC/CCR/ for clarity and match ICH9 spec * remove unnecessary OperationRegion for RCRB v2 - v3: (no changes) v3 - v4: * quote RCRB description from ICH9 spec to commit log * fix indentation issue in _CRS() method declaration * create

Re: [Qemu-devel] [PATCH v4 1/3] ich9: add TCO interface emulation

2015-06-22 Thread Paulo Alcantara
On Sun, June 21, 2015 9:37 pm, Paulo Alcantara wrote: This interface provides some registers within a 32-byte range and can be acessed through PCI-to-LPC bridge interface (PMBASE + 0x60). It's commonly used as a watchdog timer to detect system lockups through SMIs that are generated

Re: [Qemu-devel] [PATCH v4 1/3] ich9: add TCO interface emulation

2015-06-22 Thread Paulo Alcantara
On Mon, June 22, 2015 5:39 am, Michael S. Tsirkin wrote: On Sun, Jun 21, 2015 at 09:37:01PM -0300, Paulo Alcantara wrote: diff --git a/hw/acpi/tco.c b/hw/acpi/tco.c new file mode 100644 index 000..b6af1d9 --- /dev/null +++ b/hw/acpi/tco.c @@ -0,0 +1,279 @@ +/* + * QEMU ICH9 TCO

Re: [Qemu-devel] [PATCH v4 1/3] ich9: add TCO interface emulation

2015-06-22 Thread Paulo Alcantara
It's not a big deal, but it's preferable if possible. Paulo do you have a problem switching to GPLv2+? Hi Michael, No, I really don't. If it's really preferable and brings advantage to the project, then I see no problem at all. Thanks, Paulo -- Paulo Alcantara, C.E.S.A.R Speaking for myself

Re: [Qemu-devel] [PATCH v4 2/3] target-i386: reserve RCRB mmio space in ACPI DSDT table

2015-06-22 Thread Paulo Alcantara
On Mon, June 22, 2015 5:40 am, Michael S. Tsirkin wrote: On Sun, Jun 21, 2015 at 09:37:02PM -0300, Paulo Alcantara wrote: This block is mapped into memory space, using the Root Complex Base Address (RCBA) register of the PCI-to-LPC bridge. Accesses in this space must be limited to 32-(DW) bit

Re: [Qemu-devel] [PATCH v4 1/3] ich9: add TCO interface emulation

2015-06-22 Thread Paulo Alcantara
that, I think it's OK for me to enable it by default on pc-q35-2.4 and later. Thanks, Paulo -- Paulo Alcantara, C.E.S.A.R Speaking for myself only.

[Qemu-devel] [PATCH v4 1/3] ich9: add TCO interface emulation

2015-06-21 Thread Paulo Alcantara
detection, etc. are not implemented yet. Signed-off-by: Paulo Alcantara pca...@zytor.com --- v1 - v2: * add migration support for TCO I/O device state * wake up only when total time expired instead of every 0.6s * some cleanup suggested by Paolo Bonzini v2 - v3: * set SECOND_TO_STS

[Qemu-devel] [PATCH v4 3/3] tests: add testcase for TCO watchdog emulation

2015-06-21 Thread Paulo Alcantara
6) set and get of TCO control and status bits Signed-off-by: Paulo Alcantara pca...@zytor.com --- v1 - v2: * some cleanup * add test for TCO_LOCK bit v2 - v3: * add tests for TCO control status bits * fix check of SECOND_TO_STS bit (it's set in TCO2_STS reg) v3 - v4: * add more

[Qemu-devel] [PATCH v4 2/3] target-i386: reserve RCRB mmio space in ACPI DSDT table

2015-06-21 Thread Paulo Alcantara
-by: Paulo Alcantara pca...@zytor.com --- v1 - v2: * s/PDRC/CCR/ for clarity and match ICH9 spec * remove unnecessary OperationRegion for RCRB v2 - v3: (no changes) v3 - v4: * quote RCRB description from ICH9 spec to commit log * fix indentation issue in _CRS() method declaration * create

Re: [Qemu-devel] [PATCH v3 2/3] target-i386: reserve RCRB mmio space in ACPI DSDT table

2015-06-17 Thread Paulo Alcantara
On Wed, 17 Jun 2015 15:33:07 +0200 Michael S. Tsirkin m...@redhat.com wrote: On Mon, Jun 01, 2015 at 08:48:40PM -0300, Paulo Alcantara wrote: v1 - v2: * s/PDRC/CCR/ for clarity and match ICH9 spec * remove unnecessary OperationRegion for RCRB changelog should come after ---. Ok

Re: [Qemu-devel] [PATCH v3 3/3] tests: add testcase for TCO watchdog emulation

2015-06-17 Thread Paulo Alcantara
On Wed, 17 Jun 2015 15:37:49 +0200 Michael S. Tsirkin m...@redhat.com wrote: On Mon, Jun 01, 2015 at 08:48:41PM -0300, Paulo Alcantara wrote: v1 - v2: * some cleanup * add test for TCO_LOCK bit v2 - v3: * add tests for TCO control status bits * fix check of SECOND_TO_STS bit

Re: [Qemu-devel] [PATCH v3 1/3] ich9: add TCO interface emulation

2015-06-17 Thread Paulo Alcantara
On Wed, 17 Jun 2015 15:27:53 +0200 Michael S. Tsirkin m...@redhat.com wrote: On Mon, Jun 01, 2015 at 08:48:39PM -0300, Paulo Alcantara wrote: This interface provides some registers within a 32-byte range and can be acessed through PCI-to-LPC bridge interface (PMBASE + 0x60). It's

Re: [Qemu-devel] [PATCH v3 1/3] ich9: add TCO interface emulation

2015-06-10 Thread Paulo Alcantara
On Mon, June 1, 2015 8:48 pm, Paulo Alcantara wrote: This interface provides some registers within a 32-byte range and can be acessed through PCI-to-LPC bridge interface (PMBASE + 0x60). It's commonly used as a watchdog timer to detect system lockups through SMIs that are generated

[Qemu-devel] [PATCH v4] OvmfPkg/PlatformPei: Initialise RCBA (B0:D31:F0 0xf0) register

2015-06-08 Thread Paulo Alcantara
This patch initialises root complex register block BAR in order to support TCO watchdog emulation features (e.g. reboot upon NO_REBOOT bit not set) on QEMU. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Paulo Alcantara pca...@zytor.com --- OvmfPkg/Include

[Qemu-devel] [PATCH v3] OvmfPkg/PlatformPei: Initialise RCBA (B0:D31:F0 0xf0) register

2015-06-08 Thread Paulo Alcantara
This patch initialises root complex register block BAR in order to support TCO watchdog emulation features (e.g. reboot upon NO_REBOOT bit not set) on QEMU. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Paulo Alcantara pca...@zytor.com --- OvmfPkg/Include

Re: [Qemu-devel] [PATCH] OvmfPkg/PlatformPei: Initialise RCBA (B0:D31:F0 0xf0) register

2015-06-08 Thread Paulo Alcantara
On Mon, 08 Jun 2015 11:06:40 +0200 Laszlo Ersek ler...@redhat.com wrote: On 06/06/15 21:10, Paulo Alcantara wrote: This patch initialises root complex register block BAR in order to support TCO watchdog emulation features (e.g. reboot upon NO_REBOOT bit not set) on QEMU. Contributed

Re: [Qemu-devel] [edk2] [PATCH v3] OvmfPkg/PlatformPei: Initialise RCBA (B0:D31:F0 0xf0) register

2015-06-08 Thread Paulo Alcantara
On Tue, 09 Jun 2015 01:09:19 +0200 Laszlo Ersek ler...@redhat.com wrote: On 06/09/15 00:49, Jordan Justen wrote: On 2015-06-08 15:07:13, Paulo Alcantara wrote: This patch initialises root complex register block BAR in order to support TCO watchdog emulation features (e.g. reboot upon

[Qemu-devel] [PATCH v5 2/2] OvmfPkg/PlatformPei: Initialise RCBA (B0:D31:F0 0xf0) register

2015-06-08 Thread Paulo Alcantara
This patch initialises root complex register block BAR in order to support TCO watchdog emulation features (e.g. reboot upon NO_REBOOT bit not set) on QEMU. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Paulo Alcantara pca...@zytor.com --- OvmfPkg/Include

[Qemu-devel] [PATCH v5 1/2] OvmfPkg/PlatformPei: Query Host Bridge DID only once

2015-06-08 Thread Paulo Alcantara
Make HostBridgeDevId global so MemMapInitialization() can also use it to conditionally add RCRB MMIO address to HOB. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Paulo Alcantara pca...@zytor.com --- OvmfPkg/PlatformPei/Platform.c | 17 +++-- 1 file changed

Re: [Qemu-devel] [edk2] [PATCH] OvmfPkg/PlatformPei: Initialise RCBA (B0:D31:F0 0xf0) register

2015-06-07 Thread Paulo Alcantara
On Sat, 06 Jun 2015 22:13:21 -0700 Jordan Justen jordan.l.jus...@intel.com wrote: On 2015-06-06 12:10:03, Paulo Alcantara wrote: This patch initialises root complex register block BAR in order to support TCO watchdog emulation features (e.g. reboot upon NO_REBOOT bit not set) on QEMU

[Qemu-devel] [PATCH v2] OvmfPkg/PlatformPei: Initialise RCBA (B0:D31:F0 0xf0) register

2015-06-07 Thread Paulo Alcantara
This patch initialises root complex register block BAR in order to support TCO watchdog emulation features (e.g. reboot upon NO_REBOOT bit not set) on QEMU. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Paulo Alcantara pca...@zytor.com --- OvmfPkg/Include

[Qemu-devel] [PATCH] OvmfPkg/PlatformPei: Initialise RCBA (B0:D31:F0 0xf0) register

2015-06-06 Thread Paulo Alcantara
This patch initialises root complex register block BAR in order to support TCO watchdog emulation features (e.g. reboot upon NO_REBOOT bit not set) on QEMU. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Paulo Alcantara pca...@zytor.com --- OvmfPkg/Include

Re: [Qemu-devel] [SeaBIOS] [PATCH 2/3] target-i386: reserve RCRB mmio space in ACPI DSDT table

2015-06-01 Thread Paulo Alcantara
On Mon, June 1, 2015 4:16 am, Gerd Hoffmann wrote: On Sa, 2015-05-30 at 07:57 -0300, Paulo Alcantara wrote: Hi Gerd, On Thu, 28 May 2015 09:13:35 +0200 Gerd Hoffmann kra...@redhat.com wrote: +Scope(\_SB) { +OperationRegion (RCRB, SystemMemory, 0xfed1c000, 0x4000) Where does

Re: [Qemu-devel] [PATCH v2 1/3] ich9: add TCO interface emulation

2015-06-01 Thread Paulo Alcantara
On Mon, June 1, 2015 6:05 am, Paolo Bonzini wrote: On 31/05/2015 00:04, Paulo Alcantara wrote: +case TCO_RLD: +tr-timeouts_no = 0; +if (can_start_tco_timer(tr)) { +tr-tco.rld = tr-tco.tmr; +tco_timer_reload(tr); +} else

Re: [Qemu-devel] [PATCH v2 1/3] ich9: add TCO interface emulation

2015-06-01 Thread Paulo Alcantara
On Mon, 1 Jun 2015 10:38:32 -0300 Paulo Alcantara pca...@zytor.com wrote: On Mon, June 1, 2015 6:05 am, Paolo Bonzini wrote: On 31/05/2015 00:04, Paulo Alcantara wrote: +case TCO_RLD: +tr-timeouts_no = 0; +if (can_start_tco_timer(tr)) { +tr-tco.rld

[Qemu-devel] [PATCH v3 1/3] ich9: add TCO interface emulation

2015-06-01 Thread Paulo Alcantara
of TCO_LOCK bit in TCO1_CNT register Signed-off-by: Paulo Alcantara pca...@zytor.com --- hw/acpi/Makefile.objs | 2 +- hw/acpi/ich9.c | 59 hw/acpi/tco.c | 254 + hw/isa/lpc_ich9.c | 10 ++ include/hw/acpi/ich9.h

[Qemu-devel] [PATCH v3 2/3] target-i386: reserve RCRB mmio space in ACPI DSDT table

2015-06-01 Thread Paulo Alcantara
v1 - v2: * s/PDRC/CCR/ for clarity and match ICH9 spec * remove unnecessary OperationRegion for RCRB Signed-off-by: Paulo Alcantara pca...@zytor.com --- hw/i386/q35-acpi-dsdt.dsl | 14 ++ tests/acpi-test-data/q35/DSDT | Bin 7666 - 7723 bytes 2 files changed, 14 insertions

[Qemu-devel] [PATCH v3 3/3] tests: add testcase for TCO watchdog emulation

2015-06-01 Thread Paulo Alcantara
v1 - v2: * some cleanup * add test for TCO_LOCK bit v2 - v3: * add tests for TCO control status bits * fix check of SECOND_TO_STS bit (it's set in TCO2_STS reg) Signed-off-by: Paulo Alcantara pca...@zytor.com --- tests/Makefile | 2 + tests/tco-test.c | 475

[Qemu-devel] [PATCH v2 2/3] target-i386: reserve RCRB mmio space in ACPI DSDT table

2015-05-30 Thread Paulo Alcantara
v1 - v2: * s/PDRC/CCR/ for clarity and match ICH9 spec * remove unnecessary OperationRegion for RCRB Signed-off-by: Paulo Alcantara pca...@zytor.com --- hw/i386/q35-acpi-dsdt.dsl | 14 ++ tests/acpi-test-data/q35/DSDT | Bin 7666 - 7723 bytes 2 files changed, 14 insertions

[Qemu-devel] [PATCH v2 3/3] tests: add testcase for TCO watchdog emulation

2015-05-30 Thread Paulo Alcantara
v1 - v2: * some cleanup * added test for TCO_LOCK bit Signed-off-by: Paulo Alcantara pca...@zytor.com --- tests/Makefile | 2 + tests/tco-test.c | 419 +++ 2 files changed, 421 insertions(+) create mode 100644 tests/tco-test.c diff

[Qemu-devel] [PATCH v2 1/3] ich9: add TCO interface emulation

2015-05-30 Thread Paulo Alcantara
detection, etc. are not implemented yet. v1 - v2: * add migration support for TCO I/O device state * wake up only when total time expired instead of every 0.6s * some cleanup suggested by Paolo Bonzini Signed-off-by: Paulo Alcantara pca...@zytor.com --- hw/acpi/Makefile.objs | 2 +- hw/acpi

Re: [Qemu-devel] [SeaBIOS] [PATCH 2/3] target-i386: reserve RCRB mmio space in ACPI DSDT table

2015-05-30 Thread Paulo Alcantara
to use that MMIO region for the 16KiB of chipset configuration registers. Or is the firmware free to choose it? Given that, I would say so. Thanks, Paulo -- Paulo Alcantara, C.E.S.A.R Speaking for myself only.

Re: [Qemu-devel] [PATCH 2/3] target-i386: reserve RCRB mmio space in ACPI DSDT table

2015-05-27 Thread Paulo Alcantara
On Wed, 27 May 2015 14:03:59 +0200 Paolo Bonzini pbonz...@redhat.com wrote: On 27/05/2015 02:29, Paulo Alcantara wrote: Signed-off-by: Paulo Alcantara pca...@zytor.com --- hw/i386/acpi-dsdt-pdrc.dsl| 46 ++ Why pdrc and not e.g. ccr

Re: [Qemu-devel] [PATCH 1/3] ich9: add TCO interface emulation

2015-05-27 Thread Paulo Alcantara
-- Paulo Alcantara, C.E.S.A.R Speaking for myself only.

[Qemu-devel] [PATCH 3/3] tests: add testcase for TCO watchdog emulation

2015-05-26 Thread Paulo Alcantara
Signed-off-by: Paulo Alcantara pca...@zytor.com --- tests/Makefile | 2 + tests/tco-test.c | 347 +++ 2 files changed, 349 insertions(+) create mode 100644 tests/tco-test.c diff --git a/tests/Makefile b/tests/Makefile index 729b969

[Qemu-devel] [PATCH 1/3] ich9: add TCO interface emulation

2015-05-26 Thread Paulo Alcantara
detection, etc. are not implemented yet. Signed-off-by: Paulo Alcantara pca...@zytor.com --- hw/acpi/Makefile.objs | 1 + hw/acpi/ich9.c | 36 ++ hw/acpi/tco.c | 188 + hw/isa/lpc_ich9.c | 10 +++ include/hw/acpi/ich9.h

[Qemu-devel] [PATCH 2/3] target-i386: reserve RCRB mmio space in ACPI DSDT table

2015-05-26 Thread Paulo Alcantara
Signed-off-by: Paulo Alcantara pca...@zytor.com --- hw/i386/acpi-dsdt-pdrc.dsl| 46 ++ hw/i386/q35-acpi-dsdt.dsl | 1 + tests/acpi-test-data/q35/DSDT | Bin 7666 - 7795 bytes 3 files changed, 47 insertions(+) create mode 100644 hw/i386/acpi-dsdt

[Qemu-devel] [PATCH] ich9: initialise RCBA register through LPC interface

2015-05-26 Thread Paulo Alcantara
This patch initialises root complex register block BAR in order to support TCO watchdog emulation features on QEMU. Signed-off-by: Paulo Alcantara pca...@zytor.com --- src/fw/dev-q35.h | 3 +++ src/fw/pciinit.c | 4 2 files changed, 7 insertions(+) diff --git a/src/fw/dev-q35.h b/src/fw

[Qemu-devel] [PATCH 2/2] tests: add testcase for TCO watchdog emulation

2015-05-19 Thread Paulo Alcantara
Signed-off-by: Paulo Alcantara pca...@zytor.com --- tests/Makefile | 2 + tests/tco-test.c | 252 +++ 2 files changed, 254 insertions(+) create mode 100644 tests/tco-test.c diff --git a/tests/Makefile b/tests/Makefile index 729b969

[Qemu-devel] [PATCH 1/2] ich9: add TCO interface emulation

2015-05-19 Thread Paulo Alcantara
(NMI2SMI_EN bit), system intruder detection (TCO interrupt due to INTRUDER# signal), etc. are not implemented yet. Signed-off-by: Paulo Alcantara pca...@zytor.com --- hw/acpi/Makefile.objs | 1 + hw/acpi/ich9.c | 36 + hw/acpi/tco.c | 194