[PATCH] powerpc/epapr: add "memory" as a clobber to all hypercalls
galak at kernel.crashing.org
Thu Mar 22 04:21:24 EST 2012
On Mar 15, 2012, at 5:41 PM, Timur Tabi wrote:
> The "memory" clobber tells the compiler to ensure that all writes to memory
> are committed before the hypercall is made.
> "memory" is only necessary for hcalls where the Hypervisor will read or
> write guest memory. However, we add it to all hcalls because the impact is
> minimal, and we want to ensure that it's present for the hcalls that need it.
> Signed-off-by: Timur Tabi <timur at freescale.com>
> arch/powerpc/include/asm/epapr_hcalls.h | 7 ++++++-
> 1 files changed, 6 insertions(+), 1 deletions(-)
More information about the Linuxppc-dev