Re: [Qemu-devel] [PATCH v13 2/3] sPAPR: Implement EEH RTAS calls

2014-12-24 Thread Gavin Shan
On Tue, Dec 23, 2014 at 03:22:06PM +1100, David Gibson wrote: >On Mon, Dec 15, 2014 at 11:15:07AM +1100, Gavin Shan wrote: >> The emulation for EEH RTAS requests from guest isn't covered >> by QEMU yet and the patch implements them. >> >> The patch defines constants used by EEH RTAS calls and adds

Re: [Qemu-devel] [PATCH v13 2/3] sPAPR: Implement EEH RTAS calls

2014-12-22 Thread David Gibson
On Mon, Dec 15, 2014 at 11:15:07AM +1100, Gavin Shan wrote: > The emulation for EEH RTAS requests from guest isn't covered > by QEMU yet and the patch implements them. > > The patch defines constants used by EEH RTAS calls and adds > callback sPAPRPHBClass::eeh_handler, which is going to be used >

Re: [Qemu-devel] [PATCH v13 2/3] sPAPR: Implement EEH RTAS calls

2014-12-15 Thread Alexander Graf
On 16.12.14 01:31, Gavin Shan wrote: > On Tue, Dec 16, 2014 at 01:08:52AM +0100, Alexander Graf wrote: >> >> >> On 16.12.14 00:29, Gavin Shan wrote: >>> On Tue, Dec 16, 2014 at 12:13:03AM +0100, Alexander Graf wrote: On 16.12.14 00:08, Gavin Shan wrote: > On Mon, Dec 15, 2014 at 03:52:17

Re: [Qemu-devel] [PATCH v13 2/3] sPAPR: Implement EEH RTAS calls

2014-12-15 Thread Gavin Shan
On Tue, Dec 16, 2014 at 01:08:52AM +0100, Alexander Graf wrote: > > >On 16.12.14 00:29, Gavin Shan wrote: >> On Tue, Dec 16, 2014 at 12:13:03AM +0100, Alexander Graf wrote: >>> On 16.12.14 00:08, Gavin Shan wrote: On Mon, Dec 15, 2014 at 03:52:17PM +0100, Alexander Graf wrote: > On 15.12.1

Re: [Qemu-devel] [PATCH v13 2/3] sPAPR: Implement EEH RTAS calls

2014-12-15 Thread Alexander Graf
On 16.12.14 00:29, Gavin Shan wrote: > On Tue, Dec 16, 2014 at 12:13:03AM +0100, Alexander Graf wrote: >> On 16.12.14 00:08, Gavin Shan wrote: >>> On Mon, Dec 15, 2014 at 03:52:17PM +0100, Alexander Graf wrote: On 15.12.14 01:15, Gavin Shan wrote: > The emulation for EEH RTAS requests fr

Re: [Qemu-devel] [PATCH v13 2/3] sPAPR: Implement EEH RTAS calls

2014-12-15 Thread Gavin Shan
On Tue, Dec 16, 2014 at 12:13:03AM +0100, Alexander Graf wrote: >On 16.12.14 00:08, Gavin Shan wrote: >> On Mon, Dec 15, 2014 at 03:52:17PM +0100, Alexander Graf wrote: >>> On 15.12.14 01:15, Gavin Shan wrote: The emulation for EEH RTAS requests from guest isn't covered by QEMU yet and th

Re: [Qemu-devel] [PATCH v13 2/3] sPAPR: Implement EEH RTAS calls

2014-12-15 Thread Alexander Graf
On 16.12.14 00:08, Gavin Shan wrote: > On Mon, Dec 15, 2014 at 03:52:17PM +0100, Alexander Graf wrote: >> On 15.12.14 01:15, Gavin Shan wrote: >>> The emulation for EEH RTAS requests from guest isn't covered >>> by QEMU yet and the patch implements them. >>> >>> The patch defines constants used b

Re: [Qemu-devel] [PATCH v13 2/3] sPAPR: Implement EEH RTAS calls

2014-12-15 Thread Gavin Shan
On Mon, Dec 15, 2014 at 03:52:17PM +0100, Alexander Graf wrote: >On 15.12.14 01:15, Gavin Shan wrote: >> The emulation for EEH RTAS requests from guest isn't covered >> by QEMU yet and the patch implements them. >> >> The patch defines constants used by EEH RTAS calls and adds >> callback sPAPRPHB

Re: [Qemu-devel] [PATCH v13 2/3] sPAPR: Implement EEH RTAS calls

2014-12-15 Thread Alexander Graf
On 15.12.14 01:15, Gavin Shan wrote: > The emulation for EEH RTAS requests from guest isn't covered > by QEMU yet and the patch implements them. > > The patch defines constants used by EEH RTAS calls and adds > callback sPAPRPHBClass::eeh_handler, which is going to be used > this way: > > * R

[Qemu-devel] [PATCH v13 2/3] sPAPR: Implement EEH RTAS calls

2014-12-14 Thread Gavin Shan
The emulation for EEH RTAS requests from guest isn't covered by QEMU yet and the patch implements them. The patch defines constants used by EEH RTAS calls and adds callback sPAPRPHBClass::eeh_handler, which is going to be used this way: * RTAS calls are received in spapr_pci.c, sanity check is