From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoffer Dall Subject: Re: [PATCH] arm64: KVM: Fix decoding of Rt/Rt2 when trapping AArch32 CP accesses Date: Tue, 2 May 2017 09:30:26 +0200 Message-ID: <20170502073026.GD16940@cbox> References: <20170427180648.25159-1-marc.zyngier@arm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: linux-arm-kernel@lists.infradead.org, kvm@vger.kernel.org, kvmarm@lists.cs.columbia.edu To: Marc Zyngier Return-path: Content-Disposition: inline In-Reply-To: <20170427180648.25159-1-marc.zyngier@arm.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kvmarm-bounces@lists.cs.columbia.edu Sender: kvmarm-bounces@lists.cs.columbia.edu List-Id: kvm.vger.kernel.org On Thu, Apr 27, 2017 at 07:06:48PM +0100, Marc Zyngier wrote: > Our 32bit CP14/15 handling inherited some of the ARMv7 code for handling > the trapped system registers, completely missing the fact that the > fields for Rt and Rt2 are now 5 bit wide, and not 4... > > Let's fix it, and provide an accessor for the most common Rt case. > > Cc: stable@vger.kernel.org > Signed-off-by: Marc Zyngier Reviewed-by: Christoffer Dall Aplied to kvmarm/queue. Thanks, -Christoffer