was tested by simulating a machine check error in
the guest.
---
Aravinda Prasad (5):
target-ppc: Extend rtas-blob
target-ppc: Register and handle HCALL to receive updated RTAS region
target-ppc: Build error log
target-ppc: Handle ibm,nmi-register RTAS call
target-ppc: Handle
Extend rtas-blob to accommodate error log. Error log
structure is saved in rtas space upon a machine check
exception.
Signed-off-by: Aravinda Prasad aravi...@linux.vnet.ibm.com
---
hw/ppc/spapr.c | 13 ++---
hw/ppc/spapr_rtas.c |4 ++--
include/hw/ppc
reading the error log
and is yet to issue ibm,nmi-interlock call.
This patch implements this functionality.
Signed-off-by: Aravinda Prasad aravi...@linux.vnet.ibm.com
---
hw/ppc/spapr_hcall.c | 13 +
hw/ppc/spapr_rtas.c |8 +++-
2 files changed, 20 insertions(+), 1 deletion
-by: Aravinda Prasad aravi...@linux.vnet.ibm.com
---
hw/ppc/spapr_rtas.c| 91
include/hw/ppc/spapr.h |8
2 files changed, 98 insertions(+), 1 deletion(-)
diff --git a/hw/ppc/spapr_rtas.c b/hw/ppc/spapr_rtas.c
index 02ddbf9..1135d2b 100644
in RTAS space upon
a machine check exception.
[1] https://lists.ozlabs.org/pipermail/linuxppc-dev/2014-August/120386.html
Signed-off-by: Aravinda Prasad aravi...@linux.vnet.ibm.com
---
hw/ppc/spapr_hcall.c |8
include/hw/ppc/spapr.h |3 ++-
2 files changed, 10 insertions(+), 1
to KVM to perform above functionality is
already in upstream kernel.
Signed-off-by: Aravinda Prasad aravi...@linux.vnet.ibm.com
---
hw/ppc/spapr_hcall.c | 147
include/hw/ppc/spapr.h |4 +
2 files changed, 150 insertions(+), 1 deletion(-)
diff
On Tuesday 26 August 2014 11:08 AM, David Gibson wrote:
On Mon, Aug 25, 2014 at 07:15:16PM +0530, Aravinda Prasad wrote:
Extend rtas-blob to accommodate error log. Error log
structure is saved in rtas space upon a machine check
exception.
Hrm. Putting the reserved space into the actual
On Tuesday 26 August 2014 11:17 AM, David Gibson wrote:
On Mon, Aug 25, 2014 at 07:15:35PM +0530, Aravinda Prasad wrote:
Whenever there is a physical memory error due to bit
flips, which cannot be corrected by hardware, the error
is passed on to the kernel. If the memory address in
error
On Tuesday 26 August 2014 11:32 AM, David Gibson wrote:
On Mon, Aug 25, 2014 at 07:15:45PM +0530, Aravinda Prasad wrote:
This patch adds FWNMI support in qemu for powerKVM
guests by handling the ibm,nmi-register rtas call.
Whenever OS issues ibm,nmi-register RTAS call, the
machine check
On Tuesday 26 August 2014 11:34 AM, David Gibson wrote:
On Mon, Aug 25, 2014 at 07:15:54PM +0530, Aravinda Prasad wrote:
It is possible for multi-processors to experience machine
check at or about the same time. As per PAPR, subsequent
processors serialize waiting for the first processor
On Wednesday 27 August 2014 03:20 PM, Alexander Graf wrote:
On 25.08.14 15:45, Aravinda Prasad wrote:
Whenever there is a physical memory error due to bit
flips, which cannot be corrected by hardware, the error
is passed on to the kernel. If the memory address in
error belongs to guest
On Wednesday 27 August 2014 04:07 PM, Alexander Graf wrote:
On 25.08.14 15:45, Aravinda Prasad wrote:
This patch adds FWNMI support in qemu for powerKVM
guests by handling the ibm,nmi-register rtas call.
Whenever OS issues ibm,nmi-register RTAS call, the
machine check notification
On Wednesday 27 August 2014 04:10 PM, Alexander Graf wrote:
On 25.08.14 15:45, Aravinda Prasad wrote:
It is possible for multi-processors to experience machine
check at or about the same time. As per PAPR, subsequent
processors serialize waiting for the first processor to
issue the ibm
On Thursday 28 August 2014 04:03 PM, Benjamin Herrenschmidt wrote:
On Thu, 2014-08-28 at 12:29 +0200, Alexander Graf wrote:
On 28.08.14 12:21, Benjamin Herrenschmidt wrote:
On Thu, 2014-08-28 at 10:36 +0200, Alexander Graf wrote:
So why not put it at 0x7000 then?
Because PAPR says it has
On Thursday 28 August 2014 02:07 PM, Alexander Graf wrote:
On 28.08.14 08:38, Aravinda Prasad wrote:
On Wednesday 27 August 2014 04:07 PM, Alexander Graf wrote:
On 25.08.14 15:45, Aravinda Prasad wrote:
This patch adds FWNMI support in qemu for powerKVM
guests by handling the ibm
On Thursday 28 August 2014 02:12 PM, Alexander Graf wrote:
On 28.08.14 08:56, Aravinda Prasad wrote:
On Wednesday 27 August 2014 04:10 PM, Alexander Graf wrote:
On 25.08.14 15:45, Aravinda Prasad wrote:
It is possible for multi-processors to experience machine
check at or about
On Thursday 28 August 2014 04:10 PM, Alexander Graf wrote:
On 25.08.14 15:45, Aravinda Prasad wrote:
Extend rtas-blob to accommodate error log. Error log
structure is saved in rtas space upon a machine check
exception.
Signed-off-by: Aravinda Prasad aravi...@linux.vnet.ibm.com
I
On Friday 29 August 2014 01:37 AM, Benjamin Herrenschmidt wrote:
On Thu, 2014-08-28 at 22:47 +0530, Aravinda Prasad wrote:
Should we avoid having error log in 0x7000? As per above only
ibm,nmi-register-2 places error log in 0x7000 which will be terminated
in future?
The question is which
On Friday 29 August 2014 03:46 AM, Alexander Graf wrote:
On 28.08.14 19:42, Aravinda Prasad wrote:
On Thursday 28 August 2014 02:07 PM, Alexander Graf wrote:
On 28.08.14 08:38, Aravinda Prasad wrote:
On Wednesday 27 August 2014 04:07 PM, Alexander Graf wrote:
On 25.08.14 15:45
On Monday 01 September 2014 01:16 PM, Alexey Kardashevskiy wrote:
On 08/25/2014 11:45 PM, Aravinda Prasad wrote:
Extend rtas-blob to accommodate error log. Error log
structure is saved in rtas space upon a machine check
exception.
Signed-off-by: Aravinda Prasad aravi...@linux.vnet.ibm.com
On Tuesday 02 September 2014 09:39 AM, Alexey Kardashevskiy wrote:
On 09/01/2014 09:23 PM, Aravinda Prasad wrote:
On Monday 01 September 2014 01:16 PM, Alexey Kardashevskiy wrote:
On 08/25/2014 11:45 PM, Aravinda Prasad wrote:
Extend rtas-blob to accommodate error log. Error log
structure
On Tuesday 02 September 2014 11:19 AM, Alexey Kardashevskiy wrote:
On 09/02/2014 03:25 PM, Aravinda Prasad wrote:
On Tuesday 02 September 2014 09:39 AM, Alexey Kardashevskiy wrote:
On 09/01/2014 09:23 PM, Aravinda Prasad wrote:
On Monday 01 September 2014 01:16 PM, Alexey Kardashevskiy
On Tuesday 02 September 2014 12:04 PM, Alexey Kardashevskiy wrote:
On 09/02/2014 03:56 PM, Aravinda Prasad wrote:
On Tuesday 02 September 2014 11:19 AM, Alexey Kardashevskiy wrote:
On 09/02/2014 03:25 PM, Aravinda Prasad wrote:
On Tuesday 02 September 2014 09:39 AM, Alexey Kardashevskiy
On Tuesday 02 September 2014 02:10 PM, Alexey Kardashevskiy wrote:
On 09/02/2014 05:07 PM, Aravinda Prasad wrote:
On Tuesday 02 September 2014 12:04 PM, Alexey Kardashevskiy wrote:
On 09/02/2014 03:56 PM, Aravinda Prasad wrote:
On Tuesday 02 September 2014 11:19 AM, Alexey Kardashevskiy
On Friday 29 August 2014 03:46 AM, Alexander Graf wrote:
On 28.08.14 19:42, Aravinda Prasad wrote:
On Thursday 28 August 2014 02:07 PM, Alexander Graf wrote:
On 28.08.14 08:38, Aravinda Prasad wrote:
On Wednesday 27 August 2014 04:07 PM, Alexander Graf wrote:
On 25.08.14 15:45
was tested by simulating a machine check error in
the guest.
Changes in v2:
- Re-based to github.com/agraf/qemu.git branch: ppc-next
- Merged patches 4 and 5.
- Incorporated other review comments
---
Aravinda Prasad (4):
target-ppc: Extend rtas-blob
target-ppc: Register and handle
in RTAS space upon
a machine check exception.
[1] https://lists.ozlabs.org/pipermail/linuxppc-dev/2014-August/120386.html
Signed-off-by: Aravinda Prasad aravi...@linux.vnet.ibm.com
---
hw/ppc/spapr_hcall.c |8
include/hw/ppc/spapr.h |3 ++-
2 files changed, 10 insertions(+), 1
Extend rtas-blob to accommodate error log. Error log
structure is saved in rtas space upon a machine check
exception.
Signed-off-by: Aravinda Prasad aravi...@linux.vnet.ibm.com
---
hw/ppc/spapr.c |4
1 file changed, 4 insertions(+)
diff --git a/hw/ppc/spapr.c b/hw/ppc/spapr.c
index
reading the error log
and is yet to issue ibm,nmi-interlock call.
Signed-off-by: Aravinda Prasad aravi...@linux.vnet.ibm.com
---
hw/ppc/spapr_hcall.c | 16 +++
hw/ppc/spapr_rtas.c| 116
include/hw/ppc/spapr.h |8 +++
3 files changed
to KVM to perform above functionality is
already in upstream kernel.
Signed-off-by: Aravinda Prasad aravi...@linux.vnet.ibm.com
---
hw/ppc/spapr_hcall.c | 154
include/hw/ppc/spapr.h |4 +
2 files changed, 157 insertions(+), 1 deletion(-)
diff
On Thursday 04 September 2014 06:39 PM, Alexander Graf wrote:
Am 04.09.2014 um 10:25 schrieb Aravinda Prasad aravi...@linux.vnet.ibm.com:
On Friday 29 August 2014 03:46 AM, Alexander Graf wrote:
On 28.08.14 19:42, Aravinda Prasad wrote:
On Thursday 28 August 2014 02:07 PM
On Friday 05 September 2014 01:12 PM, Alexander Graf wrote:
On 04.09.14 13:13, Aravinda Prasad wrote:
Extend rtas-blob to accommodate error log. Error log
structure is saved in rtas space upon a machine check
exception.
Signed-off-by: Aravinda Prasad aravi...@linux.vnet.ibm.com
On Friday 05 September 2014 07:44 AM, Alexey Kardashevskiy wrote:
On 09/04/2014 09:13 PM, Aravinda Prasad wrote:
Whenever there is a physical memory error due to bit
flips, which cannot be corrected by hardware, the error
is passed on to the kernel. If the memory address in
error belongs
On Friday 05 September 2014 01:34 PM, Alexander Graf wrote:
On 04.09.14 13:13, Aravinda Prasad wrote:
Whenever there is a physical memory error due to bit
flips, which cannot be corrected by hardware, the error
is passed on to the kernel. If the memory address in
error belongs to guest
On Friday 05 September 2014 02:16 PM, Alexander Graf wrote:
On 04.09.14 15:49, Aravinda Prasad wrote:
On Thursday 04 September 2014 06:39 PM, Alexander Graf wrote:
Am 04.09.2014 um 10:25 schrieb Aravinda Prasad
aravi...@linux.vnet.ibm.com:
On Friday 29 August 2014 03:46 AM
On Monday 08 September 2014 02:17 AM, Alexander Graf wrote:
On 25.08.14 15:45, Aravinda Prasad wrote:
This patch adds FWNMI support in qemu for powerKVM
guests by handling the ibm,nmi-register rtas call.
Whenever OS issues ibm,nmi-register RTAS call, the
machine check notification
On Monday 06 October 2014 03:10 PM, Alexander Graf wrote:
On 06.10.14 08:32, Aravinda Prasad wrote:
On Monday 08 September 2014 02:17 AM, Alexander Graf wrote:
On 25.08.14 15:45, Aravinda Prasad wrote:
This patch adds FWNMI support in qemu for powerKVM
guests by handling the ibm,nmi
in the trampoline
Changes in v2:
- Re-based to github.com/agraf/qemu.git branch: ppc-next
- Merged patches 4 and 5.
- Incorporated other review comments
---
Aravinda Prasad (4):
target-ppc: Extend rtas-blob
target-ppc: Register and handle HCALL to receive updated RTAS region
in RTAS space upon
a machine check exception.
[1] https://lists.ozlabs.org/pipermail/linuxppc-dev/2014-August/120386.html
Signed-off-by: Aravinda Prasad aravi...@linux.vnet.ibm.com
---
hw/ppc/spapr_hcall.c |8
include/hw/ppc/spapr.h |3 ++-
2 files changed, 10 insertions(+), 1
Extend rtas-blob to accommodate error log. Error log
structure is saved in rtas space upon a machine check
exception.
Signed-off-by: Aravinda Prasad aravi...@linux.vnet.ibm.com
---
hw/ppc/spapr.c |7 +++
include/hw/ppc/spapr.h |5 +
2 files changed, 12 insertions(+)
diff
to KVM to perform above functionality is
already in upstream kernel.
Signed-off-by: Aravinda Prasad aravi...@linux.vnet.ibm.com
---
hw/ppc/spapr_hcall.c | 159
include/hw/ppc/spapr.h |4 +
2 files changed, 162 insertions(+), 1 deletion(-)
diff
reading the error log
and is yet to issue ibm,nmi-interlock call.
Signed-off-by: Aravinda Prasad aravi...@linux.vnet.ibm.com
---
hw/ppc/spapr_hcall.c| 16 +++
hw/ppc/spapr_rtas.c | 93 +++
include/hw/ppc/spapr.h | 17
On Wednesday 05 November 2014 01:41 PM, Alexander Graf wrote:
On 05.11.14 08:12, Aravinda Prasad wrote:
Extend rtas-blob to accommodate error log. Error log
structure is saved in rtas space upon a machine check
exception.
Signed-off-by: Aravinda Prasad aravi...@linux.vnet.ibm.com
On Wednesday 05 November 2014 02:02 PM, Alexander Graf wrote:
On 05.11.14 08:13, Aravinda Prasad wrote:
This patch adds FWNMI support in qemu for powerKVM
guests by handling the ibm,nmi-register rtas call.
Whenever OS issues ibm,nmi-register RTAS call, the
machine check notification
On Wednesday 05 November 2014 02:37 PM, Alexander Graf wrote:
On 05.11.14 10:00, Alexander Graf wrote:
On 05.11.14 09:46, Aravinda Prasad wrote:
On Wednesday 05 November 2014 01:41 PM, Alexander Graf wrote:
On 05.11.14 08:12, Aravinda Prasad wrote:
Extend rtas-blob to accommodate
On Wednesday 05 November 2014 04:37 PM, Alexander Graf wrote:
On 05.11.14 11:37, Aravinda Prasad wrote:
On Wednesday 05 November 2014 02:02 PM, Alexander Graf wrote:
On 05.11.14 08:13, Aravinda Prasad wrote:
This patch adds FWNMI support in qemu for powerKVM
guests by handling
On Wednesday 05 November 2014 09:16 PM, Tom Musta wrote:
On 11/5/2014 2:32 AM, Alexander Graf wrote:
On 05.11.14 08:13, Aravinda Prasad wrote:
This patch adds FWNMI support in qemu for powerKVM
guests by handling the ibm,nmi-register rtas call.
Whenever OS issues ibm,nmi-register RTAS
On Thursday 06 November 2014 03:59 PM, Alexander Graf wrote:
Am 06.11.2014 um 11:00 schrieb Aravinda Prasad aravi...@linux.vnet.ibm.com:
[...]
And, perhaps this was discussed in an earlier patch, but couldn't you just
do:
li 3,KVMPPC_H_REPORT_MC_ERR
here and avoid
On Tuesday 11 November 2014 08:49 AM, David Gibson wrote:
On Thu, Nov 06, 2014 at 03:30:01PM +0530, Aravinda Prasad wrote:
On Wednesday 05 November 2014 09:16 PM, Tom Musta wrote:
On 11/5/2014 2:32 AM, Alexander Graf wrote:
On 05.11.14 08:13, Aravinda Prasad wrote:
[snip]
+ /*
+ * ori
On Tuesday 11 November 2014 08:46 AM, David Gibson wrote:
On Wed, Nov 05, 2014 at 12:43:15PM +0530, Aravinda Prasad wrote:
This patch adds FWNMI support in qemu for powerKVM
guests by handling the ibm,nmi-register rtas call.
Whenever OS issues ibm,nmi-register RTAS call, the
machine check
On Tuesday 11 November 2014 11:41 AM, David Gibson wrote:
On Tue, Nov 11, 2014 at 11:18:05AM +0530, Aravinda Prasad wrote:
On Tuesday 11 November 2014 08:49 AM, David Gibson wrote:
On Thu, Nov 06, 2014 at 03:30:01PM +0530, Aravinda Prasad wrote:
On Wednesday 05 November 2014 09:16 PM, Tom
On Tuesday 11 November 2014 08:54 AM, David Gibson wrote:
On Wed, Nov 05, 2014 at 12:42:03PM +0530, Aravinda Prasad wrote:
This series of patches add support for fwnmi in powerKVM guests.
Currently upon machine check exception, if the address in
error belongs to guest then KVM invokes
On Thursday 13 November 2014 09:22 AM, David Gibson wrote:
On Tue, Nov 11, 2014 at 12:14:31PM +0530, Aravinda Prasad wrote:
On Tuesday 11 November 2014 08:46 AM, David Gibson wrote:
On Wed, Nov 05, 2014 at 12:43:15PM +0530, Aravinda Prasad wrote:
[snip]
+ . = 0x200
+ /*
+ * Trampoline
On Thursday 13 November 2014 09:27 AM, David Gibson wrote:
On Tue, Nov 11, 2014 at 12:45:05PM +0530, Aravinda Prasad wrote:
On Tuesday 11 November 2014 08:54 AM, David Gibson wrote:
On Wed, Nov 05, 2014 at 12:42:03PM +0530, Aravinda Prasad wrote:
This series of patches add support
On Thursday 13 November 2014 04:02 PM, David Gibson wrote:
On Thu, Nov 13, 2014 at 11:28:30AM +0530, Aravinda Prasad wrote:
On Thursday 13 November 2014 09:22 AM, David Gibson wrote:
On Tue, Nov 11, 2014 at 12:14:31PM +0530, Aravinda Prasad wrote:
On Tuesday 11 November 2014 08:46 AM
On Thursday 13 November 2014 06:14 PM, David Gibson wrote:
On Thu, Nov 13, 2014 at 05:18:16PM +0530, Aravinda Prasad wrote:
On Thursday 13 November 2014 04:02 PM, David Gibson wrote:
On Thu, Nov 13, 2014 at 11:28:30AM +0530, Aravinda Prasad wrote:
[snip]
Having to retry the hcall from here
On Friday 14 November 2014 06:12 AM, David Gibson wrote:
On Thu, Nov 13, 2014 at 08:06:55PM +0530, Aravinda Prasad wrote:
On Thursday 13 November 2014 06:14 PM, David Gibson wrote:
On Thu, Nov 13, 2014 at 05:18:16PM +0530, Aravinda Prasad wrote:
On Thursday 13 November 2014 04:02 PM, David
On Tuesday 11 November 2014 08:54 AM, David Gibson wrote:
[..]
So, this may not still be possible depending on whether the KVM side
of this is already merged, but it occurs to me that there's a simpler
way.
Rather than mucking about with having to update the hypervisor on the
RTAS
in RTAS space upon
a machine check exception.
[1] https://lists.ozlabs.org/pipermail/linuxppc-dev/2014-August/120386.html
Signed-off-by: Aravinda Prasad <aravi...@linux.vnet.ibm.com>
---
hw/ppc/spapr_hcall.c |8
include/hw/ppc/spapr.h |3 ++-
2 files changed, 10 insertions
Extend rtas-blob to accommodate error log. Error log
structure is saved in rtas space upon a machine check
exception.
Signed-off-by: Aravinda Prasad <aravi...@linux.vnet.ibm.com>
---
hw/ppc/spapr.c |4
1 file changed, 4 insertions(+)
diff --git a/hw/ppc/spapr.c b/hw/ppc/spapr.c
?l=kvm-ppc=144726114408289
Signed-off-by: Aravinda Prasad <aravi...@linux.vnet.ibm.com>
---
target-ppc/kvm.c | 69 +++
target-ppc/kvm_ppc.h | 81 ++
2 files changed, 150 insertions(+)
diff --git a/target-pp
d a machine check error, is done reading the error
log. The first processor issues "ibm,nmi-interlock" call
when the error log is consumed. This patch implements the
releasing part of the error-log while subsequent patch
(which builds error log) handles the locking part.
Signed-off-b
when one
of the processor is consuming/processing the error
log.
[1] http://marc.info/?l=kvm-ppc=144726114408289
[2] https://lists.nongnu.org/archive/html/qemu-devel/2014-11/msg00813.html
[3] https://lists.nongnu.org/archive/html/qemu-devel/2015-08/msg00898.html
---
Aravinda Prasad (4
On Thursday 12 November 2015 09:59 AM, David Gibson wrote:
> On Wed, Nov 11, 2015 at 10:46:02PM +0530, Aravinda Prasad wrote:
>> Memory error such as bit flips that cannot be corrected
>> by hardware are passed on to the kernel for handling.
>> If the memory address in e
On Friday 13 November 2015 11:27 AM, David Gibson wrote:
> On Fri, Nov 13, 2015 at 10:23:20AM +0530, Aravinda Prasad wrote:
>>
>>
>> On Friday 13 November 2015 07:28 AM, David Gibson wrote:
>>> On Thu, Nov 12, 2015 at 11:53:45PM +0530, Aravinda Prasad wrote:
On Friday 13 November 2015 07:28 AM, David Gibson wrote:
> On Thu, Nov 12, 2015 at 11:53:45PM +0530, Aravinda Prasad wrote:
>>
>>
>> On Thursday 12 November 2015 01:39 PM, Thomas Huth wrote:
>>> On 11/11/15 18:16, Aravinda Prasad wrote:
>>>>
On Monday 16 November 2015 04:11 PM, Thomas Huth wrote:
> On 16/11/15 11:07, Aravinda Prasad wrote:
>>
>>
>> On Monday 16 November 2015 01:22 PM, Thomas Huth wrote:
>>> On 12/11/15 19:49, Aravinda Prasad wrote:
>>>>
>>>> On
On Monday 16 November 2015 02:31 PM, Thomas Huth wrote:
> On 16/11/15 04:50, Paul Mackerras wrote:
>> On Thu, Nov 12, 2015 at 09:09:59AM +0100, Thomas Huth wrote:
>>>
>>> Shouldn't you also check MSR_ME here first and enter checkstop when
>>> machine checks are disabled?
>>
>> MSR_ME is a
On Monday 16 November 2015 01:22 PM, Thomas Huth wrote:
> On 12/11/15 19:49, Aravinda Prasad wrote:
>>
>> On Thursday 12 November 2015 03:10 PM, Thomas Huth wrote:
> ...
>>> Also LoPAPR talks about 'subsequent processors report "fatal error
>>>
On Thursday 12 November 2015 09:32 AM, David Gibson wrote:
> On Wed, Nov 11, 2015 at 10:45:44PM +0530, Aravinda Prasad wrote:
>> This patch adds support in QEMU to handle "ibm,nmi-register"
>> and "ibm,nmi-interlock" RTAS calls.
>>
>> The m
On Thursday 12 November 2015 01:39 PM, Thomas Huth wrote:
> On 11/11/15 18:16, Aravinda Prasad wrote:
>> Memory error such as bit flips that cannot be corrected
>> by hardware are passed on to the kernel for handling.
>> If the memory address in error belongs to guest
On Thursday 12 November 2015 03:10 PM, Thomas Huth wrote:
> On 12/11/15 09:09, Thomas Huth wrote:
>> On 11/11/15 18:16, Aravinda Prasad wrote:
>>> Memory error such as bit flips that cannot be corrected
>>> by hardware are passed on to the kernel for handling.
>>
On Thursday 12 November 2015 02:53 PM, Thomas Huth wrote:
> On 11/11/15 18:15, Aravinda Prasad wrote:
>> This patch adds support in QEMU to handle "ibm,nmi-register"
>> and "ibm,nmi-interlock" RTAS calls.
>>
>> The machine check notification
On Thursday 12 November 2015 01:56 PM, Thomas Huth wrote:
> On 11/11/15 18:15, Aravinda Prasad wrote:
>> Extend rtas-blob to accommodate error log. Error log
>> structure is saved in rtas space upon a machine check
>> exception.
>>
>> Signed-off-by: Aravinda Pr
On Friday 03 July 2015 11:31 AM, David Gibson wrote:
On Thu, Jul 02, 2015 at 07:11:52PM +1000, Alexey Kardashevskiy wrote:
On 04/02/2015 03:46 PM, David Gibson wrote:
On Thu, Apr 02, 2015 at 03:28:11PM +1100, Alexey Kardashevskiy wrote:
On 11/19/2014 04:48 PM, Aravinda Prasad wrote
On Friday 07 August 2015 09:07 AM, Sam Bobroff wrote:
> Hello Aravinda and all,
>
> On Wed, Jul 08, 2015 at 01:58:13PM +0530, Aravinda Prasad wrote:
>> On Friday 03 July 2015 11:31 AM, David Gibson wrote:
>>> On Thu, Jul 02, 2015 at 07:11:52PM +1000, Alexey Kardashevs
On Monday 10 August 2015 09:35 AM, Sam Bobroff wrote:
> On Sun, Aug 09, 2015 at 03:53:02PM +0200, Alexander Graf wrote:
>>
>>
>> On 07.08.15 05:37, Sam Bobroff wrote:
>>> Hello Aravinda and all,
>>>
>>> On Wed, Jul 08, 2015 at 01:58:13PM +0530, Ar
On Thursday 03 September 2015 11:52 AM, Sam Bobroff wrote:
> On Thu, Sep 03, 2015 at 03:05:21PM +1000, David Gibson wrote:
>
> [snip]
>
>> Hm.. so why can't the hypervisor code do the retrying?
>
> Aravinda replied to this earlier in the thread:
>
> "Retrying cannot be done internally in
On Thursday 03 September 2015 07:32 AM, Paul Mackerras wrote:
> On Sun, Aug 09, 2015 at 03:53:02PM +0200, Alexander Graf wrote:
>>
>>
>> On 07.08.15 05:37, Sam Bobroff wrote:
>>> The RTAS call being discussed in this thread actually has two vectors to
>>> patch
>>> (System Reset and Machine
On Wednesday 02 September 2015 12:04 PM, Sam Bobroff wrote:
> On Tue, Sep 01, 2015 at 04:37:51PM +0530, Aravinda Prasad wrote:
[...]
>>>
>>> So, in summary, it sounds like a decent approach would be:
>>> * store the guest's handlers in QEMU's spapr structure,
On Thursday 17 December 2015 09:21 AM, David Gibson wrote:
> On Wed, Dec 16, 2015 at 11:38:22AM +0530, Aravinda Prasad wrote:
>> This patch adds support in QEMU to handle "ibm,nmi-register"
>> and "ibm,nmi-interlock" RTAS calls.
>>
>> The m
On Thursday 17 December 2015 09:30 AM, David Gibson wrote:
> On Wed, Dec 16, 2015 at 11:38:37AM +0530, Aravinda Prasad wrote:
>> Memory error such as bit flips that cannot be corrected
>> by hardware are passed on to the kernel for handling.
>> If the memory address in e
On Thursday 17 December 2015 09:32 AM, David Gibson wrote:
> On Wed, Dec 16, 2015 at 11:38:47AM +0530, Aravinda Prasad wrote:
>> Introduce a new KVM capability to control how KVM
>> behaves on machine check exception.
>>
>> Without this capability, KVM redirects
: KVM_CAP_PPC_FWNMI is set to 121 as 119 and 120 are
used by KVM_CAP_GUEST_DEBUG_HW_BPS and KVM_CAP_GUEST_DEBUG_HW_WPS
in KVM code, but still not reflected in QEMU code.
Signed-off-by: Aravinda Prasad <aravi...@linux.vnet.ibm.com>
---
hw/ppc/spapr_rtas.c | 17 +
linux-headers/linux
d a machine check error, is done reading the error
log. The first processor issues "ibm,nmi-interlock" call
when the error log is consumed. This patch implements the
releasing part of the error-log while subsequent patch
(which builds error log) handles the locking part.
Signed-off-b
] https://lists.nongnu.org/archive/html/qemu-devel/2015-08/msg00898.html
---
Aravinda Prasad (4):
spapr: Register and handle HCALL to receive updated RTAS region
spapr: Handle "ibm,nmi-register" and "ibm,nmi-interlock" RTAS calls
target-ppc: Handle NMI guest exit
in RTAS space upon
a machine check exception.
[1] https://lists.ozlabs.org/pipermail/linuxppc-dev/2014-August/120386.html
Signed-off-by: Aravinda Prasad <aravi...@linux.vnet.ibm.com>
---
hw/ppc/spapr_hcall.c |8
include/hw/ppc/spapr.h |3 ++-
2 files changed, 10 insertions
4538523497
Signed-off-by: Aravinda Prasad <aravi...@linux.vnet.ibm.com>
---
cpus.c |5 +++
hw/ppc/spapr.c |6 +++
include/qemu/main-loop.h |8
target-ppc/kvm.c | 86 ++
target-ppc/kvm_
On Thursday 19 November 2015 07:26 AM, Alexey Kardashevskiy wrote:
> On 11/13/2015 05:23 AM, Aravinda Prasad wrote:
>
>>>> +
>>>> +/*
>>>> + * Currently KVM only passes on the uncorrected machine
>>>> + * check memory error to guest. Oth
ts/kvm-ppc/msg12637.html
(e20bbd3d and related commits)
Signed-off-by: Aravinda Prasad <aravi...@linux.vnet.ibm.com>
---
hw/ppc/spapr.c |4 ++
target/ppc/kvm.c | 86 ++
target/ppc/
d a machine check error, is done reading the error
log. The first processor issues "ibm,nmi-interlock" call
when the error log is consumed. This patch implements the
releasing part of the error-log while subsequent patch
(which builds error log) handles the locking part.
Signed-off-by: Aravi
). This series contain QEMU changes.
Change Log v3:
- Rebased to v2.10.0-rc0 (git://github.com/dgibson/qemu)
Change Log v2:
- Added KVM capability
- Serialized multiple NMIs with a conditional wait
---
Aravinda Prasad (5):
ppc: spapr: Register and handle HCALL to receive updated RTAS
Introduce a wrapper function to wait on condition for
the main loop mutex. This function atomically releases
the main loop mutex and causes the calling thread to
block on the condition.
Signed-off-by: Aravinda Prasad <aravi...@linux.vnet.ibm.com>
---
cpus.c
in RTAS space upon
a machine check exception.
[1] https://lists.ozlabs.org/pipermail/linuxppc-dev/2014-August/120386.html
Signed-off-by: Aravinda Prasad <aravi...@linux.vnet.ibm.com>
Reviewed-by: David Gibson <da...@gibson.dropbear.id.au>
---
hw/ppc/spapr_hcall.c |8
in
-by: Aravinda Prasad <aravi...@linux.vnet.ibm.com>
---
hw/ppc/spapr_rtas.c | 17 +
target/ppc/kvm.c|2 ++
2 files changed, 19 insertions(+)
diff --git a/hw/ppc/spapr_rtas.c b/hw/ppc/spapr_rtas.c
index 2f3c47b..c2a361a 100644
--- a/hw/ppc/spapr_rtas.c
+++ b/hw/ppc/spapr_
ts/kvm-ppc/msg12637.html
(e20bbd3d and related commits)
Signed-off-by: Aravinda Prasad <aravi...@linux.vnet.ibm.com>
Signed-off-by: Mahesh Salgaonkar <mah...@linux.vnet.ibm.com>
---
hw/ppc/spapr.c |4 ++
target/ppc/kvm.c | 91
d a machine check error, is done reading the error
log. The first processor issues "ibm,nmi-interlock" call
when the error log is consumed. This patch implements the
releasing part of the error-log while subsequent patch
(which builds error log) handles the locking part.
Signed-off-by: Aravi
Introduce a wrapper function to wait on condition for
the main loop mutex. This function atomically releases
the main loop mutex and causes the calling thread to
block on the condition.
Signed-off-by: Aravinda Prasad <aravi...@linux.vnet.ibm.com>
---
cpus.c
in RTAS space upon
a machine check exception.
[1] https://lists.ozlabs.org/pipermail/linuxppc-dev/2014-August/120386.html
Signed-off-by: Aravinda Prasad <aravi...@linux.vnet.ibm.com>
Reviewed-by: David Gibson <da...@gibson.dropbear.id.au>
---
hw/ppc/spapr_hcall.c |8
in
---
Aravinda Prasad (5):
ppc: spapr: Register and handle HCALL to receive updated RTAS region
ppc: spapr: Handle "ibm,nmi-register" and "ibm,nmi-interlock" RTAS calls
Wrapper function to wait on condition for the main loop mutex
target/ppc: Handle NMI guest e
1 - 100 of 265 matches
Mail list logo