Re: [Qemu-devel] [PATCH v4] hw/ppc/spapr: Implement the h_page_init hypercall

2016-02-18 Thread David Gibson
On Thu, Feb 18, 2016 at 10:15:54AM +0100, Thomas Huth wrote: > This hypercall either initializes a page with zeros, or copies > another page. > According to LoPAPR, the i-cache of the page should also be > flushed if using H_ICACHE_INVALIDATE or H_ICACHE_SYNCHRONIZE, > and the d-cache should be syn

[Qemu-devel] [PATCH v4] hw/ppc/spapr: Implement the h_page_init hypercall

2016-02-18 Thread Thomas Huth
This hypercall either initializes a page with zeros, or copies another page. According to LoPAPR, the i-cache of the page should also be flushed if using H_ICACHE_INVALIDATE or H_ICACHE_SYNCHRONIZE, and the d-cache should be synchronized to the RAM if the H_ICACHE_SYNCHRONIZE flag is used. For this