Re: [Qemu-devel] [PATCH v3] target-s390x: Implement stfl and stfle

2017-02-26 Thread Thomas Huth
On 26.02.2017 19:57, Michal Marek wrote: > Dne 26.2.2017 v 12:22 Thomas Huth napsal(a): >> On 26.02.2017 00:38, Michal Marek wrote: >>> The implementation is partially cargo cult based, but it works for the >>> linux kernel use case. >>> >>> Signed-off-by: Michal Marek >>> --- >>> v3: >>> - Initi

Re: [Qemu-devel] [PATCH v3] target-s390x: Implement stfl and stfle

2017-02-26 Thread Michal Marek
Dne 26.2.2017 v 12:22 Thomas Huth napsal(a): > On 26.02.2017 00:38, Michal Marek wrote: >> The implementation is partially cargo cult based, but it works for the >> linux kernel use case. >> >> Signed-off-by: Michal Marek >> --- >> v3: >> - Initialize the buffer in do_stfle() >> v2: >> - STFLE i

Re: [Qemu-devel] [PATCH v3] target-s390x: Implement stfl and stfle

2017-02-26 Thread Thomas Huth
On 26.02.2017 00:38, Michal Marek wrote: > The implementation is partially cargo cult based, but it works for the > linux kernel use case. > > Signed-off-by: Michal Marek > --- > v3: > - Initialize the buffer in do_stfle() > v2: > - STFLE is not a privileged instruction, go through the MMU to s

[Qemu-devel] [PATCH v3] target-s390x: Implement stfl and stfle

2017-02-25 Thread Michal Marek
The implementation is partially cargo cult based, but it works for the linux kernel use case. Signed-off-by: Michal Marek --- v3: - Initialize the buffer in do_stfle() v2: - STFLE is not a privileged instruction, go through the MMU to store the result - annotate the stfl helper with TCG_CAL