Re: [Qemu-devel] [RFC] pseries: Enable in-kernel H_LOGICAL_CI_{LOAD, STORE} implementations

2015-02-09 Thread David Gibson
On Fri, 06 Feb 2015 08:56:32 +0100 Alexander Graf wrote: > > > On 06.02.15 03:54, David Gibson wrote: > > On Thu, Feb 05, 2015 at 12:55:45PM +0100, Alexander Graf wrote: > >> > >> > >> On 05.02.15 12:30, David Gibson wrote: > >>> On Thu, Feb 05, 2015 at 11:22:13AM +0100, Alexander Graf wrote: >

Re: [Qemu-devel] [RFC] pseries: Enable in-kernel H_LOGICAL_CI_{LOAD, STORE} implementations

2015-02-08 Thread Alexander Graf
On 09.02.15 01:37, David Gibson wrote: > On Fri, 06 Feb 2015 08:56:32 +0100 > Alexander Graf wrote: > >> >> >> On 06.02.15 03:54, David Gibson wrote: >>> On Thu, Feb 05, 2015 at 12:55:45PM +0100, Alexander Graf wrote: On 05.02.15 12:30, David Gibson wrote: > On Thu, Feb 05, 2

Re: [Qemu-devel] [RFC] pseries: Enable in-kernel H_LOGICAL_CI_{LOAD, STORE} implementations

2015-02-06 Thread Alexander Graf
On 06.02.15 03:54, David Gibson wrote: > On Thu, Feb 05, 2015 at 12:55:45PM +0100, Alexander Graf wrote: >> >> >> On 05.02.15 12:30, David Gibson wrote: >>> On Thu, Feb 05, 2015 at 11:22:13AM +0100, Alexander Graf wrote: > [snip] >> [snip] >> >>> +ret1 = kvmppc_enable_

Re: [Qemu-devel] [RFC] pseries: Enable in-kernel H_LOGICAL_CI_{LOAD, STORE} implementations

2015-02-05 Thread David Gibson
On Thu, Feb 05, 2015 at 12:55:45PM +0100, Alexander Graf wrote: > > > On 05.02.15 12:30, David Gibson wrote: > > On Thu, Feb 05, 2015 at 11:22:13AM +0100, Alexander Graf wrote: [snip] > [snip] > > > +ret1 = kvmppc_enable_hcall(kvm_state, H_LOGICAL_CI_LOAD); > >>>

Re: [Qemu-devel] [RFC] pseries: Enable in-kernel H_LOGICAL_CI_{LOAD, STORE} implementations

2015-02-05 Thread Alexander Graf
On 05.02.15 12:30, David Gibson wrote: > On Thu, Feb 05, 2015 at 11:22:13AM +0100, Alexander Graf wrote: >> >> >> >>> Am 05.02.2015 um 03:55 schrieb David Gibson : >>> On Thu, Feb 05, 2015 at 01:54:39AM +0100, Alexander Graf wrote: > On 05.02.15 01:48, David Gibson wrote: >

Re: [Qemu-devel] [RFC] pseries: Enable in-kernel H_LOGICAL_CI_{LOAD, STORE} implementations

2015-02-05 Thread David Gibson
On Thu, Feb 05, 2015 at 11:22:13AM +0100, Alexander Graf wrote: > > > > > Am 05.02.2015 um 03:55 schrieb David Gibson : > > > >> On Thu, Feb 05, 2015 at 01:54:39AM +0100, Alexander Graf wrote: > >> > >> > >>> On 05.02.15 01:48, David Gibson wrote: > On Wed, Feb 04, 2015 at 04:19:14PM +01

Re: [Qemu-devel] [RFC] pseries: Enable in-kernel H_LOGICAL_CI_{LOAD, STORE} implementations

2015-02-05 Thread Alexander Graf
> Am 05.02.2015 um 03:55 schrieb David Gibson : > >> On Thu, Feb 05, 2015 at 01:54:39AM +0100, Alexander Graf wrote: >> >> >>> On 05.02.15 01:48, David Gibson wrote: On Wed, Feb 04, 2015 at 04:19:14PM +0100, Alexander Graf wrote: > On 04.02.15 02:32, David Gibson wrote: >

Re: [Qemu-devel] [RFC] pseries: Enable in-kernel H_LOGICAL_CI_{LOAD, STORE} implementations

2015-02-04 Thread David Gibson
On Thu, Feb 05, 2015 at 01:54:39AM +0100, Alexander Graf wrote: > > > On 05.02.15 01:48, David Gibson wrote: > > On Wed, Feb 04, 2015 at 04:19:14PM +0100, Alexander Graf wrote: > >> > >> > >> On 04.02.15 02:32, David Gibson wrote: > >>> On Wed, Feb 04, 2015 at 08:19:06AM +1100, Paul Mackerras wro

Re: [Qemu-devel] [RFC] pseries: Enable in-kernel H_LOGICAL_CI_{LOAD, STORE} implementations

2015-02-04 Thread Alexander Graf
On 05.02.15 01:48, David Gibson wrote: > On Wed, Feb 04, 2015 at 04:19:14PM +0100, Alexander Graf wrote: >> >> >> On 04.02.15 02:32, David Gibson wrote: >>> On Wed, Feb 04, 2015 at 08:19:06AM +1100, Paul Mackerras wrote: On Tue, Feb 03, 2015 at 05:10:51PM +1100, David Gibson wrote: > qem

Re: [Qemu-devel] [RFC] pseries: Enable in-kernel H_LOGICAL_CI_{LOAD, STORE} implementations

2015-02-04 Thread David Gibson
On Wed, Feb 04, 2015 at 04:19:14PM +0100, Alexander Graf wrote: > > > On 04.02.15 02:32, David Gibson wrote: > > On Wed, Feb 04, 2015 at 08:19:06AM +1100, Paul Mackerras wrote: > >> On Tue, Feb 03, 2015 at 05:10:51PM +1100, David Gibson wrote: > >>> qemu currently implements the hypercalls H_LOGI

Re: [Qemu-devel] [RFC] pseries: Enable in-kernel H_LOGICAL_CI_{LOAD, STORE} implementations

2015-02-04 Thread Alexander Graf
On 04.02.15 02:32, David Gibson wrote: > On Wed, Feb 04, 2015 at 08:19:06AM +1100, Paul Mackerras wrote: >> On Tue, Feb 03, 2015 at 05:10:51PM +1100, David Gibson wrote: >>> qemu currently implements the hypercalls H_LOGICAL_CI_LOAD and >>> H_LOGICAL_CI_STORE as PAPR extensions. These are used b

Re: [Qemu-devel] [RFC] pseries: Enable in-kernel H_LOGICAL_CI_{LOAD, STORE} implementations

2015-02-03 Thread David Gibson
On Wed, Feb 04, 2015 at 08:19:06AM +1100, Paul Mackerras wrote: > On Tue, Feb 03, 2015 at 05:10:51PM +1100, David Gibson wrote: > > qemu currently implements the hypercalls H_LOGICAL_CI_LOAD and > > H_LOGICAL_CI_STORE as PAPR extensions. These are used by the SLOF firmware > > for IO, because perf

Re: [Qemu-devel] [RFC] pseries: Enable in-kernel H_LOGICAL_CI_{LOAD, STORE} implementations

2015-02-03 Thread Paul Mackerras
On Tue, Feb 03, 2015 at 05:10:51PM +1100, David Gibson wrote: > qemu currently implements the hypercalls H_LOGICAL_CI_LOAD and > H_LOGICAL_CI_STORE as PAPR extensions. These are used by the SLOF firmware > for IO, because performing cache inhibited MMIO accesses with the MMU off > (real mode) is v

[Qemu-devel] [RFC] pseries: Enable in-kernel H_LOGICAL_CI_{LOAD, STORE} implementations

2015-02-02 Thread David Gibson
qemu currently implements the hypercalls H_LOGICAL_CI_LOAD and H_LOGICAL_CI_STORE as PAPR extensions. These are used by the SLOF firmware for IO, because performing cache inhibited MMIO accesses with the MMU off (real mode) is very awkward on POWER. This approach breaks when SLOF needs to access