Re: [Qemu-devel] [PATCH v4 21/29] target-ppc: Enable FSCR facility check for TAR

2014-06-04 Thread Tom Musta
On 6/3/2014 9:37 PM, Alexey Kardashevskiy wrote: > On 06/04/2014 03:08 AM, Tom Musta wrote: >> On 6/3/2014 4:27 AM, Alexey Kardashevskiy wrote: >>> This makes user-privileged read/write fail if TAR facility is not enabled >>> in FSCR. [ ...] >>> >> >> There are potential impacts to user mode here

Re: [Qemu-devel] [PATCH v4 21/29] target-ppc: Enable FSCR facility check for TAR

2014-06-03 Thread Alexey Kardashevskiy
On 06/04/2014 03:08 AM, Tom Musta wrote: > On 6/3/2014 4:27 AM, Alexey Kardashevskiy wrote: >> This makes user-privileged read/write fail if TAR facility is not enabled >> in FSCR. >> >> Since this is the very first check for enabled in FSCR facility, >> this also adds gen_fscr_facility_check() for

Re: [Qemu-devel] [PATCH v4 21/29] target-ppc: Enable FSCR facility check for TAR

2014-06-03 Thread Tom Musta
On 6/3/2014 4:27 AM, Alexey Kardashevskiy wrote: > This makes user-privileged read/write fail if TAR facility is not enabled > in FSCR. > > Since this is the very first check for enabled in FSCR facility, > this also adds gen_fscr_facility_check() for using in spr_write_tar()/ > spr_read_tar(). >

[Qemu-devel] [PATCH v4 21/29] target-ppc: Enable FSCR facility check for TAR

2014-06-03 Thread Alexey Kardashevskiy
This makes user-privileged read/write fail if TAR facility is not enabled in FSCR. Since this is the very first check for enabled in FSCR facility, this also adds gen_fscr_facility_check() for using in spr_write_tar()/ spr_read_tar(). Signed-off-by: Alexey Kardashevskiy --- target-ppc/translate