[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] target-ppc: disable unsupported modes for SPR_C
From: |
Alexander Graf |
Subject: |
Re: [Qemu-devel] [PATCH] target-ppc: disable unsupported modes for SPR_CTRL/SPR_UCTRL |
Date: |
Mon, 20 Jan 2014 16:08:42 +0100 |
On 23.12.2013, at 03:42, Alexey Kardashevskiy <address@hidden> wrote:
> The Figure 17 "SPR encodings" of the PowerISA 2.07 describes CTRL SPR as:
>
> priviledged
> # spr5-9 spr0-4 name mtspr mfspr len cat
> 136 00100 01000 CTRL - no 32 S
> 152 00100 11000 CTRL yes - 32 S
>
> According to this chart, the hypervisor's CTRL (#152) does not support
> reading, the user-space's CTRL (UCTRL, #136) does not support writing.
>
> This replaces unsupported operations with the default SPR_NOACCESS hook.
>
> Signed-off-by: Alexey Kardashevskiy <address@hidden>
Thanks, applied to ppc-next.
Alex