qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] target-s390x: Implement lpp instruction


From: Richard Henderson
Subject: Re: [Qemu-devel] [PATCH] target-s390x: Implement lpp instruction
Date: Sat, 25 Feb 2017 10:51:06 +1100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0

On 02/25/2017 12:50 AM, Miroslav Benes wrote:
Linux arch/s390/kernel/head(64).S uses lpp instruction if it is
available in facilities list provided by stfl/stfle instruction. This is
the case of newer z/System generations and their qemu definition.

Signed-off-by: Miroslav Benes <address@hidden>
---

I can't find LPP in my PoO 11th edition...

+static ExitStatus op_lpp(DisasContext *s, DisasOps *o)
+{
+    check_privileged(s);
+    potential_page_fault(s);
+
+    tcg_gen_st_i64(o->in2, cpu_env, offsetof(CPUS390XState, pp));

But you don't need the potential_page_fault, since this is not a store to guest memory.


r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]