Received: from eggs.gnu.org ([2001:4830:134:3::10]:35287) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W5GT7-0004up-Cz for qemu-devel@nongnu.org; Mon, 20 Jan 2014 10:08:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W5GT1-0005Vl-76 for qemu-devel@nongnu.org; Mon, 20 Jan 2014 10:08:53 -0500 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 7.1 \(1827\)) From: Alexander Graf In-Reply-To: <1387766542-3184-1-git-send-email-aik@ozlabs.ru> Date: Mon, 20 Jan 2014 16:08:42 +0100 Content-Transfer-Encoding: 7bit Message-Id: References: <1387766542-3184-1-git-send-email-aik@ozlabs.ru> Subject: Re: [Qemu-devel] [PATCH] target-ppc: disable unsupported modes for SPR_CTRL/SPR_UCTRL List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexey Kardashevskiy Cc: qemu-ppc , QEMU Developers On 23.12.2013, at 03:42, Alexey Kardashevskiy 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 Thanks, applied to ppc-next. Alex