---+-+
| | read_ack_preserve|
| | read_ack_write |
+ +--+
For GHESv2 error source, the OSPM must acknowledges the error via Read Ack
register.
so user space must check the ack value to avoid read-write race condition.
Signed-off-by: Dongjiu Geng <gengdong.
(1) Add related APEI/HEST table structures and macros, these
definition refer to ACPI 6.1 and UEFI 2.6 spec.
(2) Add generic error status block and CPER memory section
definition, user space only handle memory section errors.
Signed-off-by: Dongjiu Geng <gengdong...@huawei.
SPM acknowledges the error */
(qemu) xp /1 0x785d00f0
785d00f0: 0x0001
Dongjiu Geng (3):
ACPI: add APEI/HEST/CPER structures and macros
ACPI: Add APEI GHES Table Generation support
ACPI: build and enable APEI GHES in the Makefile and configuration
default-configs/
Add CONFIG_ACPI_APEI configuration in the Makefile and
enable it in the arm-softmmu.mak
Signed-off-by: Dongjiu Geng <gengdong...@huawei.com>
---
thanks a lot Michael and Laszlo's review and comments:
change since v5:
(1) no change
change since v4:
(1) fix email threading in this
the OSPM must acknowledges the error via Read Ack
register.
so user space must check the ack value to avoid read-write race condition.
Signed-off-by: Dongjiu Geng <gengdong...@huawei.com>
---
thanks a lot Michael and Laszlo's review and comments:
change since v6:
(1) update the commit message
(1) Add related APEI/HEST table structures and macros, these
definition refer to ACPI 6.1 and UEFI 2.6 spec.
(2) Add generic error status block and CPER memory section
definition, user space only handle memory section errors.
Signed-off-by: Dongjiu Geng <gengdong...@huawei.
xp /1 0x785D0098
785d0098: 0x785d00f0
/* Before OSPM acknowledges the error */
(qemu) xp /1 0x785d00f0
785d00f0: 0x
/* After OSPM acknowledges the error */
(qemu) xp /1 0x785d00f0
785d00f0: 0x0001
Dongjiu Geng (3):
ACPI: add AP
xp /1 0x785D0098
785d0098: 0x785d00f0
/* Before OSPM acknowledges the error */
(qemu) xp /1 0x785d00f0
785d00f0: 0x
/* After OSPM acknowledges the error */
(qemu) xp /1 0x785d00f0
785d00f0: 0x0001
Dongjiu Geng (3):
ACPI: add AP
Add CONFIG_ACPI_APEI configuration in the Makefile and
enable it in the arm-softmmu.mak
Signed-off-by: Dongjiu Geng <gengdong...@huawei.com>
---
thanks a lot Michael and Laszlo's review and comments:
change since v5:
(1) no change
change since v4:
(1) fix email threading in this
(1) Add related APEI/HEST table structures and macros, these
definition refer to ACPI 6.1 and UEFI 2.6 spec.
(2) Add generic error status block and CPER memory section
definition, user space only handle memory section errors.
Signed-off-by: Dongjiu Geng <gengdong...@huawei.
the OSPM must acknowledges the error via Read Ack
register.
so user space must check the ack value to avoid read-write race condition.
Signed-off-by: Dongjiu Geng <gengdong...@huawei.com>
---
thanks a lot Michael and Laszlo's review and comments:
change since v6:
(1) update the commit message
Add CONFIG_ACPI_APEI configuration in the Makefile and
enable it in the arm-softmmu.mak
Signed-off-by: Dongjiu Geng <gengdong...@huawei.com>
---
thanks a lot Michael and Laszlo's review and comments:
change since v5:
(1) no change
change since v4:
(1) fix email threading in this
(1) Add related APEI/HEST table structures and macros, these
definition refer to ACPI 6.1 and UEFI 2.6 spec.
(2) Add generic error status block and CPER memory section
definition, user space only handle memory section errors.
Signed-off-by: Dongjiu Geng <gengdong...@huawei.
acknowledges the error via Read Ack
register.
so user space must check the ack value to avoid read-write race condition.
Signed-off-by: Dongjiu Geng <gengdong...@huawei.com>
---
thanks a lot Michael and Laszlo's review and comments:
change since v8:
(1) remove the ACK value address
chang
e(for example SEA)
/* Before OSPM acknowledges the error, check the ACK value */
(qemu) xp /1 0x785D0098
785d00f0: 0x
/* After OSPM acknowledges the error, check the ACK value */
(qemu) xp /1 0x785D0098
0000785d00f0: 0x0001
Dongjiu
Add CONFIG_ACPI_APEI configuration in the Makefile and
enable it in the arm-softmmu.mak
Signed-off-by: Dongjiu Geng <gengdong...@huawei.com>
---
thanks a lot Michael and Laszlo's review and comments:
change since v5:
(1) no change
change since v4:
(1) fix email threading in this
(1) Add related APEI/HEST table structures and macros, these
definition refer to ACPI 6.1 and UEFI 2.6 spec.
(2) Add generic error status block and CPER memory section
definition, user space only handle memory section errors.
Signed-off-by: Dongjiu Geng <gengdong...@huawei.
Add CONFIG_ACPI_APEI configuration in the Makefile and
enable it in the arm-softmmu.mak
Signed-off-by: Dongjiu Geng <gengdong...@huawei.com>
---
thanks a lot Michael and Laszlo's review and comments:
change since v5:
(1) no change
change since v4:
(1) fix email threading in this
ACK value(for example SEA)
/* Before OSPM acknowledges the error, check the ACK value */
(qemu) xp /1 0x785D0098
785d00f0: 0x
/* After OSPM acknowledges the error, check the ACK value */
(qemu) xp /1 0x0000785D0098
785d00f0: 0x0001
must acknowledges the error via Read Ack
register.
so user space must check the ack value to avoid read-write race condition.
Signed-off-by: Dongjiu Geng <gengdong...@huawei.com>
---
thanks a lot Michael and Laszlo's review and comments:
change since v8:
(1) remove the ACK value address
chang
(1) Add related APEI/HEST table structures and macros, these
definition refer to ACPI 6.1 and UEFI 2.6 spec.
(2) Add generic error status block and CPER memory section
definition, user space only handle memory section errors.
Signed-off-by: Dongjiu Geng <gengdong...@huawei.
0x 0x 0x
*** BLURB HERE ***
Dongjiu Geng (3):
ACPI: Add new ACPI structures and macros
ACPI: Add APEI GHES Table Generation support 1
ACPI: build and enable APEI GHES in the Makefile and configuration
default-configs/arm-softmmu.mak | 1 +
hw/acpi/Mak
Add CONFIG_ACPI_APEI configuration in the Makefile and
enable it in the arm-softmmu.mak
Signed-off-by: Dongjiu Geng <gengdong...@huawei.com>
---
thanks a lot Laszlo's review and comments:
change since v3:
(1) change name to "CONFIG_ACPI_APEI" from CONFIG_ACPI_APEI_GENERATI
| | CPER |
| | CPER |
| | CPER |
+-+--------+
Signed-off-by: Dongjiu Geng <gengdong...@huawei.com>
---
thanks a lot Laszlo's review and comments:
change si
(1) Add related APEI/HEST table structures and macros, these
definition refer to ACPI 6.1 and UEFI 2.6 spec.
(2) Add generic error status block and CPER memory section
definition, user space only handle memory section errors.
Signed-off-by: Dongjiu Geng <gengdong...@huawei.
0x 0x 0x 0x
785d8128: 0x 0x 0x 0x
785d8138: 0x 0x 0x 0x0000
Dongjiu Geng (3):
ACPI: Add new ACPI structures and macros
ACPI: Add APEI GHES Table Generation support
ACPI: build
Add CONFIG_ACPI_APEI configuration in the Makefile and
enable it in the arm-softmmu.mak
Signed-off-by: Dongjiu Geng <gengdong...@huawei.com>
---
thanks a lot Laszlo's review and comments:
change since v3:
(1) change name to "CONFIG_ACPI_APEI" from CONFIG_ACPI_APEI_GENERATI
| | CPER |
| | CPER |
| | CPER |
+-+--------+
Signed-off-by: Dongjiu Geng <gengdong...@huawei.com>
---
thanks a lot Laszlo's review and comments:
change si
(1) Add related APEI/HEST table structures and macros, these
definition refer to ACPI 6.1 and UEFI 2.6 spec.
(2) Add generic error status block and CPER memory section
definition, user space only handle memory section errors.
Signed-off-by: Dongjiu Geng <gengdong...@huawei.
Add CONFIG_ACPI_APEI configuration in the Makefile and
enable it in the arm-softmmu.mak
Signed-off-by: Dongjiu Geng <gengdong...@huawei.com>
---
thanks a lot Laszlo's review and comments:
change since v4:
(1) fix email threading in this series is incorrect issue
change since v3:
(1)
| | CPER |
| | CPER |
| | CPER |
+-+--------+
Signed-off-by: Dongjiu Geng <gengdong...@huawei.com>
---
thanks a lot Laszlo's review and comments:
change
0x 0x 0x 0x
785d8118: 0x 0x 0x 0x
785d8128: 0x 0x 0x 0x
785d8138: 0x 0x 0x 0x0000
Dongjiu Geng (3):
ACPI: Add new ACPI structures
, PSTATE, far_elx, elr_elx etc, when
switch to guest OS, it will jump to the synchronous
external abort vector table entry.
Signed-off-by: Dongjiu Geng <gengdong...@huawei.com>
Signed-off-by: Quanming Wu <wuquanm...@huawei.com>
---
include/sysemu/kvm.h | 2 +-
linux-headers/asm
Add CONFIG_ACPI_APEI configuration in the Makefile and
enable it in the arm-softmmu.mak
Signed-off-by: Dongjiu Geng <gengdong...@huawei.com>
---
default-configs/arm-softmmu.mak | 1 +
hw/acpi/Makefile.objs | 1 +
2 files changed, 2 insertions(+)
diff --git a/default-confi
(1) Add related APEI/HEST table structures and macros, these
definition refer to ACPI 6.1 and UEFI 2.6 spec.
(2) Add generic error status block and CPER memory section
definition, user space only handle memory section errors.
Signed-off-by: Dongjiu Geng <gengdong...@huawei.
ledges the error, check the ACK value */
(qemu) xp /1 0x785D0098
785d00f0: 0x
/* After OSPM acknowledges the error, check the ACK value */
(qemu) xp /1 0x785D0098
0000785d00f0: 0x0001
Dongjiu Geng (6):
ACPI: add APEI/HEST/CPER structures a
must acknowledges the error via Read Ack
register.
so user space must check the ack value to avoid read-write race condition.
Signed-off-by: Dongjiu Geng <gengdong...@huawei.com>
---
hw/acpi/aml-build.c | 2 +
hw/acpi/hest_ghes.c | 345 +
check if kvm supports guest RAS EXTENSION. if so, set
corresponding feature bit for vcpu.
Signed-off-by: Dongjiu Geng <gengdong...@huawei.com>
---
linux-headers/linux/kvm.h | 1 +
target/arm/cpu.h | 3 +++
target/arm/kvm64.c| 8
3 files changed, 12 insertions(+)
the host VA to guest OS PA and record this error PA to HEST table.
2. set specified virtual SError syndrome and pass the value to KVM.
Signed-off-by: Dongjiu Geng <gengdong...@huawei.com>
Signed-off-by: Quanming Wu <wuquanm...@huawei.com>
---
linux-headers/linux/kvm.h | 1 +
target/arm
| | CPER |
| | CPER |
+-+--------+
Signed-off-by: Dongjiu Geng <gengdong...@huawei.com>
---
default-configs/arm-softmmu.mak | 1 +
hw/acpi/Makefile.objs | 1 +
hw/acpi/aml-bui
check if kvm supports guest RAS EXTENSION. if so, set
corresponding feature bit for vcpu.
Signed-off-by: Dongjiu Geng <gengdong...@huawei.com>
---
linux-headers/asm-arm64/kvm.h | 1 +
linux-headers/linux/kvm.h | 1 +
target/arm/cpu.h | 3 +++
target/arm/kvm64.c
Handle kvmtool's detection for RAS extension, because sometimes
the APP needs to know the CPU's capacity
Signed-off-by: Dongjiu Geng <gengdong...@huawei.com>
---
arch/arm64/kvm/reset.c | 11 +++
include/uapi/linux/kvm.h | 1 +
2 files changed, 12 insertions(+)
diff --git a/arch
when SError happen, kvm notifies kvmtool to generate GHES table
to record the error, then kvmtools inject the SError with specified
virtual syndrome. when switch to guest, a virtual SError will happen with
this specified syndrome.
Signed-off-by: Dongjiu Geng <gengdong...@huawei.com>
---
when happen SEA, deliver signal bus and handle the ioctl that
inject SEA abort to guest, so that guest can handle the SEA error.
Signed-off-by: Dongjiu Geng <gengdong...@huawei.com>
---
arch/arm/include/asm/kvm_host.h | 1 +
arch/arm/kvm/arm.c| 3 +++
arch/arm/kvm/g
Signed-off-by: Dongjiu Geng <gengdong...@huawei.com>
---
linux-headers/linux/kvm.h | 5 +
target/arm/cpu.h | 5 +
target/arm/helper.c | 20
target/arm/internals.h| 1 +
target/arm/kvm.c | 3 +++
target/arm/kvm64.c
below two types:
1. Error on memory access, such as hwpoison. the SIGBUS si_code is
BUS_MCEERR_AR or BUS_MCEERR_OR
2. Error on translation table walk or hardware update of translation table.
The SIGBUS si_code is 0
Signed-off-by: Dongjiu Geng <gengdong...@huawei.com>
---
include/sysemu
kvm_hwpoison_page_add() and kvm_unpoison_all() will be used
by both X86 and ARM platforms, so move them to a common accel/kvm/
folder to avoid duplicate code.
Signed-off-by: Dongjiu Geng <gengdong...@huawei.com>
---
Moving related hwpoison page function to accel/kvm folder is suggeste
Add APEI/GHES description document
Signed-off-by: Dongjiu Geng <gengdong...@huawei.com>
---
docs/specs/acpi_hest_ghes.txt | 98 +++
1 file changed, 98 insertions(+)
create mode 100644 docs/specs/acpi_hest_ghes.txt
diff --git a/docs
Add CONFIG_ACPI_APEI configuration in the arm-softmmu.mak
and add build choice in the Makefile.objs.
Signed-off-by: Dongjiu Geng <gengdong...@huawei.com>
---
default-configs/arm-softmmu.mak | 1 +
hw/acpi/Makefile.objs | 1 +
2 files changed, 2 insertions(+)
diff --git a/d
12: 0137
x11: x10:
x9 : x8 : 00de
x7 : x6 : 2000
x5 : 4060 x4 : 0003
x3 : 0001 x2 : 000f123b
x1 : 0008 x0 : 00000047a048
Dongjiu Geng (12):
the memory
section errors.
For GHESv2 error source, the OSPM must acknowledges the error via
Read Ack register. So user space must check the ack value before
recording a new CPER to avoid read-write race condition.
Suggested-by: Laszlo Ersek <ler...@redhat.com>
Signed-off-by: Dongji
receive this exception exit, check whether KVM support to
set ESR(exception syndrome registers) value. If support, it sets
the ESR value using a new IOCTL.
This handling is only supported in AArch64 platform, not supported
in AArch32 platform.
Signed-off-by: Dongjiu Geng <gengdong...@huawei.
Check if kvm can support to set vsesr_el2 value for vcpu. When
guest takes a virtual SError interrupt exception, this value
will provides syndrome value reported into ESR_EL1 ISS filed.
Signed-off-by: Dongjiu Geng <gengdong...@huawei.com>
Signed-off-by: Quanming Wu <wuquanm...@h
Add Generic Error Status Block structures and some macros
definition, which refer to the ACPI 4.0 and ACPI 6.1. The
HEST table generation and CPER record will use them.
Signed-off-by: Dongjiu Geng <gengdong...@huawei.com>
---
It has been suggested to get rid of most structures that intr
will tell
guest that FAR is not valid and holds an UNKNOWN value.
These value will be set to KVM related structure through
KVM_SET_ONE_REG IOCTL.
Signed-off-by: Dongjiu Geng <gengdong...@huawei.com>
Signed-off-by: Quanming Wu <wuquanm...@huawei.com>
---
People is against that KVM inject
record this error into guest APEI GHES memory and notify guest using
Synchronous-External-Abort(SEA).
Suggested-by: James Morse <james.mo...@arm.com>
Signed-off-by: Dongjiu Geng <gengdong...@huawei.com>
Signed-off-by: Quanming Wu <wuquanm...@huawei.com>
---
QEMU handing the S
ACPI driver will receive this
notification and handing the error.
Signed-off-by: Dongjiu Geng <gengdong...@huawei.com>
---
1. Using which notification type for SIGBUS_MCEERR_AO SIGBUS(Polled,
GPIO-Signal or ARMv8 SEI),
ever discussed here:
https://lists.gnu.org/archive/html/qemu-devel/2
Signed-off-by: Dongjiu Geng <gengdong...@huawei.com>
---
Suggested by here:
https://lkml.org/lkml/2017/9/5/575
---
include/standard-headers/asm-s390/kvm_virtio.h | 1 +
include/standard-headers/asm-s390/virtio-ccw.h | 1 +
include/standard-headers/asm-x86/hyperv.h
Support this feature since version 2.10, disable it by
default in the old version.
Signed-off-by: Dongjiu Geng <gengdong...@huawei.com>
---
Adding platform version is suggested here:
https://lkml.org/lkml/2017/8/25/821
---
hw/arm/virt-acpi-build.c | 14 +-
hw/arm/
the memory
section errors.
For GHESv2 error source, the OSPM must acknowledges the error via
Read Ack register. So user space must check the ack value before
recording a new CPER to avoid read-write race condition.
Suggested-by: Laszlo Ersek <ler...@redhat.com>
Signed-off-by: Dongji
Signed-off-by: Dongjiu Geng <gengdong...@huawei.com>
---
Address Peter's comments to sync mainline Linux header file in [1]
Address Michael's comments to not sync SPDX from Linux kernel header file
[1]: https://lkml.org/lkml/2017/9/5/575
---
linux-headers/linux/kvm.h | 3 +++
1 file chan
Add CONFIG_ACPI_APEI configuration in the arm-softmmu.mak
and add build choice in the Makefile.objs.
Signed-off-by: Dongjiu Geng <gengdong...@huawei.com>
---
default-configs/arm-softmmu.mak | 1 +
hw/acpi/Makefile.objs | 1 +
2 files changed, 2 insertions(+)
diff --git a/d
Check if kvm can support to set vsesr_el2 value for vcpu. When
guest takes a virtual SError interrupt exception, this value
will provides syndrome value reported into ESR_EL1 ISS filed.
Signed-off-by: Dongjiu Geng <gengdong...@huawei.com>
Signed-off-by: Quanming Wu <wuquanm...@h
receive this exception exit, check whether KVM support to
set ESR(exception syndrome registers) value. If support, it sets
the ESR value using a new IOCTL.
This handling is only supported in AArch64 platform, not supported
in AArch32 platform.
Signed-off-by: Dongjiu Geng <gengdong...@huawei.
Add APEI/GHES description document
Signed-off-by: Dongjiu Geng <gengdong...@huawei.com>
---
Address Igor's comments to add a doc
---
docs/specs/acpi_hest_ghes.txt | 96 +++
1 file changed, 96 insertions(+)
create mode 100644 docs/specs/acpi_hest_gh
Add Generic Error Status Block structures and some macros
definition, which refer to the ACPI 4.0 and ACPI 6.1. The
HEST table generation and CPER record will use them.
Signed-off-by: Dongjiu Geng <gengdong...@huawei.com>
---
Address Igor's comments to to get rid of most structures a
will tell
guest that FAR is not valid and holds an UNKNOWN value.
These value will be set to KVM related structure through
KVM_SET_ONE_REG IOCTL.
Signed-off-by: Dongjiu Geng <gengdong...@huawei.com>
Signed-off-by: Quanming Wu <wuquanm...@huawei.com>
---
Marc is against tha
Support this feature since version 2.10, disable it by
default in the old version.
Signed-off-by: Dongjiu Geng <gengdong...@huawei.com>
---
Address Shannon's comments to add platform version in [1].
[1]: https://lkml.org/lkml/2017/8/25/821
---
hw/arm/virt-acpi-build.c | 14 +---
kvm_hwpoison_page_add() and kvm_unpoison_all() will be used
by both X86 and ARM platforms, so move them to a common accel/kvm/
folder to avoid duplicate code.
Signed-off-by: Dongjiu Geng <gengdong...@huawei.com>
---
Address Peter's comments to move related hwpoison page function to acc
record this error into guest APEI GHES memory and notify guest using
Synchronous-External-Abort(SEA).
Suggested-by: James Morse <james.mo...@arm.com>
Signed-off-by: Dongjiu Geng <gengdong...@huawei.com>
Signed-off-by: Quanming Wu <wuquanm...@huawei.com>
---
Address James's comme
0 x8 : 00de
x7 : x6 : 2000
x5 : 4060 x4 : 0003
x3 : 0001 x2 : 000f123b
x1 : 0008 x0 : 0047a048
Dongjiu Geng (12):
ACPI: add related GHES structures and macros definition
ACPI: Add APEI GHES table
ACPI driver will receive this
notification and handing the error.
Signed-off-by: Dongjiu Geng <gengdong...@huawei.com>
---
1. Address discussion result about guest APEI notification type for
SIGBUS_MCEERR_AO SIGBUS in [1],
the discussion conclusion is using GPIO-Signal
[1]:
https://lists.g
will tell
guest that FAR is not valid and holds an UNKNOWN value.
These value will be set to KVM related structure through
KVM_SET_ONE_REG IOCTL.
Signed-off-by: Dongjiu Geng <gengdong...@huawei.com>
Signed-off-by: Quanming Wu <wuquanm...@huawei.com>
---
Marc is against tha
Add APEI/GHES description document
Signed-off-by: Dongjiu Geng <gengdong...@huawei.com>
---
Address Igor's comments to add a doc
---
docs/specs/acpi_hest_ghes.txt | 98 +++
1 file changed, 98 insertions(+)
create mode 100644 docs/specs/acpi_hest_gh
x10:
x9 : x8 : 00de
x7 : x6 : 2000
x5 : 4060 x4 : 0003
x3 : 0001 x2 : 000f123b
x1 : 0008 x0 : 0047a048
Dongjiu Geng (12):
ACPI: add related GHES structures
Add Generic Error Status Block structures and some macros
definition, which refer to the ACPI 4.0 and ACPI 6.1. The
HEST table generation and CPER record will use them.
Signed-off-by: Dongjiu Geng <gengdong...@huawei.com>
---
Address Igor's comments to to get rid of most structures a
ACPI driver will receive this
notification and handing the error.
Signed-off-by: Dongjiu Geng <gengdong...@huawei.com>
---
1. Address discussion result about guest APEI notification type for
SIGBUS_MCEERR_AO SIGBUS in [1],
the discussion conclusion is using GPIO-Signal for asynchronous sign
Signed-off-by: Dongjiu Geng <gengdong...@huawei.com>
---
Address Peter's comments to sync mainline Linux header file in [1]
[1]: https://lkml.org/lkml/2017/9/5/575
---
include/standard-headers/asm-s390/kvm_virtio.h | 1 +
include/standard-headers/asm-s390/virtio-ccw.h | 1 +
i
Support this feature since version 2.10, disable it by
default in the old version.
Signed-off-by: Dongjiu Geng <gengdong...@huawei.com>
---
Address Shannon's comments to add platform version in [1].
[1]: https://lkml.org/lkml/2017/8/25/821
---
hw/arm/virt-acpi-build.c | 14 +---
receive this exception exit, check whether KVM support to
set ESR(exception syndrome registers) value. If support, it sets
the ESR value using a new IOCTL.
This handling is only supported in AArch64 platform, not supported
in AArch32 platform.
Signed-off-by: Dongjiu Geng <gengdong...@huawei.
Check if kvm can support to set vsesr_el2 value for vcpu. When
guest takes a virtual SError interrupt exception, this value
will provides syndrome value reported into ESR_EL1 ISS filed.
Signed-off-by: Dongjiu Geng <gengdong...@huawei.com>
Signed-off-by: Quanming Wu <wuquanm...@h
the memory
section errors.
For GHESv2 error source, the OSPM must acknowledges the error via
Read Ack register. So user space must check the ack value before
recording a new CPER to avoid read-write race condition.
Suggested-by: Laszlo Ersek <ler...@redhat.com>
Signed-off-by: Dongji
Add CONFIG_ACPI_APEI configuration in the arm-softmmu.mak
and add build choice in the Makefile.objs.
Signed-off-by: Dongjiu Geng <gengdong...@huawei.com>
---
default-configs/arm-softmmu.mak | 1 +
hw/acpi/Makefile.objs | 1 +
2 files changed, 2 insertions(+)
diff --git a/d
record this error into guest APEI GHES memory and notify guest using
Synchronous-External-Abort(SEA).
Suggested-by: James Morse <james.mo...@arm.com>
Signed-off-by: Dongjiu Geng <gengdong...@huawei.com>
Signed-off-by: Quanming Wu <wuquanm...@huawei.com>
---
Address James's comme
kvm_hwpoison_page_add() and kvm_unpoison_all() will be used
by both X86 and ARM platforms, so move them to a common accel/kvm/
folder to avoid duplicate code.
Signed-off-by: Dongjiu Geng <gengdong...@huawei.com>
---
Address Peter's comments to move related hwpoison page function to acc
Import KVM_CAP_ARM_INJECT_SERROR_ESR and struct kvm_vcpu_events
for arm64, they are added manually in the kernel tree, so it will be
added after re-running scripts/update-linux-headers.sh.
Signed-off-by: Dongjiu Geng
---
linux-headers/asm-arm/kvm.h | 12
linux-headers/asm-arm64
support for KVM_GET/SET_VCPU_EVENTS to get/set the SError exception
state, and support the state migration.
change since v2:
1. add header definition for arm platform
change since v1:
1. update the code to fix the build errors
Dongjiu Geng (2):
linux-headers: sync linux headers
target: arm
This patch extends the qemu-kvm state sync logic with support for
KVM_GET/SET_VCPU_EVENTS, giving access to yet missing SError exception.
And also it can support the exception state migration.
Signed-off-by: Dongjiu Geng
---
target/arm/cpu.h | 5
target/arm/kvm64.c | 64
Update headers against v4.17-rc7.
Signed-off-by: Dongjiu Geng
---
include/standard-headers/asm-x86/hyperv.h | 1 -
include/standard-headers/asm-x86/kvm_para.h | 2 +-
include/standard-headers/linux/ethtool.h| 36 ++-
include/standard-headers/linux/input.h | 4
Import KVM_CAP_ARM_INJECT_SERROR_ESR and struct kvm_vcpu_events
for arm64
Signed-off-by: Dongjiu Geng
---
linux-headers/asm-arm64/kvm.h | 13 +
linux-headers/linux/kvm.h | 1 +
2 files changed, 14 insertions(+)
diff --git a/linux-headers/asm-arm64/kvm.h b/linux-headers/asm
Update headers against v4.17-rc7.
Signed-off-by: Dongjiu Geng
---
include/standard-headers/asm-x86/hyperv.h | 1 -
include/standard-headers/asm-x86/kvm_para.h | 2 +-
include/standard-headers/linux/ethtool.h| 36 ++-
include/standard-headers/linux/input.h | 4
support for KVM_GET/SET_VCPU_EVENTS to get/set the SError exception
state, and support the state migration.
Dongjiu Geng (3):
linux-headers: update to v4.17-rc7
kvm: sync linux headers
target: arm: Add support for VCPU event states
include/standard-headers/asm-x86/hyperv.h | 1
support for KVM_GET/SET_VCPU_EVENTS to get/set the SError exception
state, and support the state migration.
Dongjiu Geng (3):
linux-headers: update to v4.17-rc7
kvm: sync linux headers
target: arm: Add support for VCPU event states
include/standard-headers/asm-x86/hyperv.h | 1
This patch extends the qemu-kvm state sync logic with support for
KVM_GET/SET_VCPU_EVENTS, giving access to yet missing SError exception.
And also it can support the exception state migration.
Signed-off-by: Dongjiu Geng
---
target/arm/cpu.h | 5
target/arm/kvm64.c | 64
This patch extends the qemu-kvm state sync logic with support for
KVM_GET/SET_VCPU_EVENTS, giving access to yet missing SError exception.
And also it can support the exception state migration.
Signed-off-by: Dongjiu Geng
---
target/arm/cpu.h | 5
target/arm/kvm64.c | 64
Import KVM_CAP_ARM_INJECT_SERROR_ESR and struct kvm_vcpu_events
for arm64
Signed-off-by: Dongjiu Geng
---
linux-headers/asm-arm64/kvm.h | 13 +
linux-headers/linux/kvm.h | 1 +
2 files changed, 14 insertions(+)
diff --git a/linux-headers/asm-arm64/kvm.h b/linux-headers/asm
Import KVM_CAP_ARM_INJECT_SERROR_ESR and struct kvm_vcpu_events
for arm64
Signed-off-by: Dongjiu Geng
---
linux-headers/asm-arm64/kvm.h | 13 +
linux-headers/linux/kvm.h | 1 +
2 files changed, 14 insertions(+)
diff --git a/linux-headers/asm-arm64/kvm.h b/linux-headers/asm
support for KVM_GET/SET_VCPU_EVENTS to get/set the SError exception
state, and support the state migration.
change since v1:
1. update the code to fix the build errors
Dongjiu Geng (2):
kvm: sync linux headers
target: arm: Add support for VCPU event states
linux-headers/asm-arm64/kvm.h
This patch extends the qemu-kvm state sync logic with support for
KVM_GET/SET_VCPU_EVENTS, giving access to yet missing SError exception.
And also it can support the exception state migration.
Signed-off-by: Dongjiu Geng
---
target/arm/cpu.h | 5
target/arm/kvm64.c | 64
will tell
guest that FAR is not valid and holds an UNKNOWN value.
These value will be set to KVM register structures through
KVM_SET_ONE_REG IOCTL.
Signed-off-by: Dongjiu Geng <gengdong...@huawei.com>
---
Marc is against that KVM inject the synchronous external abort(SEA) in [1],
so user spa
1 - 100 of 286 matches
Mail list logo