From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:52590) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RcGhn-0000bC-Tw for qemu-devel@nongnu.org; Sun, 18 Dec 2011 08:23:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RcGhm-0000Jt-LC for qemu-devel@nongnu.org; Sun, 18 Dec 2011 08:23:07 -0500 Received: from host-82-135-62-35.customer.m-online.net ([82.135.62.35]:56649 helo=mail.embedded-brains.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RcGhm-0000JD-FJ for qemu-devel@nongnu.org; Sun, 18 Dec 2011 08:23:06 -0500 Received: from linux-an7x.site (38.vpnclient.eb.z [192.168.126.38]) by mail.embedded-brains.de (Postfix) with ESMTP id 012E66526B4 for ; Sun, 18 Dec 2011 14:22:58 +0100 (CET) Message-ID: <4EEDEB06.8000206@embedded-brains.de> Date: Sun, 18 Dec 2011 14:30:46 +0100 From: Sebastian Huber MIME-Version: 1.0 References: <1324061437-20899-1-git-send-email-sebastian.huber@embedded-brains.de> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH] target-arm: Fixed ARMv7-M SHPR access List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org On 17/12/11 01:50, Peter Maydell wrote: > On 16 December 2011 18:50, Sebastian Huber > wrote: >> According to "ARMv7-M Architecture Reference Manual" issue D section >> "B3.2.10 System Handler Prioriy Register 1, SHPR1", "B3.2.11 System >> Handler Prioriy Register 2, SHPR2", and "B3.2.12 System Handler Priori= y >> Register 3, SHPR3". > This would fix the specific issue of not being able to do byte or halfw= ord > accesses to the SHPR registers, but it doesn't do anything about other > byte-accessible registers like the CFSR. > > The right fix for this is for armv7m_nvic to expose a memory region for > the system control space which implements byte and halfword accesses, > and not to try to indirect everything through a single GIC region. I am primary a Qemu user and fixed the bugs only as far as it was=20 necessary to run my test suites. I used the surrounding code as a=20 reference. Maybe I find some time in the next months to clean this up. --=20 Sebastian Huber, embedded brains GmbH Address : Obere Lagerstr. 30, D-82178 Puchheim, Germany Phone : +49 89 18 90 80 79-6 Fax : +49 89 18 90 80 79-9 E-Mail : sebastian.huber@embedded-brains.de PGP : Public key available on request. Diese Nachricht ist keine gesch=C3=A4ftliche Mitteilung im Sinne des EHUG= .