From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33827) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fkYIK-0004Fx-3V for qemu-devel@nongnu.org; Tue, 31 Jul 2018 13:18:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fkYIJ-0006yv-5u for qemu-devel@nongnu.org; Tue, 31 Jul 2018 13:18:48 -0400 Received: from mail-oi0-x241.google.com ([2607:f8b0:4003:c06::241]:41328) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fkYII-0006y6-WF for qemu-devel@nongnu.org; Tue, 31 Jul 2018 13:18:47 -0400 Received: by mail-oi0-x241.google.com with SMTP id k12-v6so29365214oiw.8 for ; Tue, 31 Jul 2018 10:18:46 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <20180725085944.11856-4-stefanha@redhat.com> References: <20180725085944.11856-1-stefanha@redhat.com> <20180725085944.11856-4-stefanha@redhat.com> From: Peter Maydell Date: Tue, 31 Jul 2018 18:18:25 +0100 Message-ID: Content-Type: text/plain; charset="UTF-8" Subject: Re: [Qemu-devel] [PATCH v3 3/7] hw/arm: make bitbanded IO optional on ARM M Profile List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi Cc: QEMU Developers , =?UTF-8?Q?Steffen_G=C3=B6rtz?= , Alistair Francis , Liviu Ionescu , qemu-arm , Julia Suvorova , Subbaraya Sundeep , Su Hang , Steffen Gortz , Jim Mussared , Joel Stanley On 25 July 2018 at 09:59, Stefan Hajnoczi wrote: > Some ARM CPUs have bitbanded IO, a memory region that allows convenient > bit access via 32-bit memory loads/stores. This eliminates the need for > read-modify-update instruction sequences. > > This patch makes this optional feature a ARMMProfile qdev property, > allowing boards to choose whether they want bitbanding or not. > > Status of boards: > * iotkit (Cortex M33), no bitband > * mps2 (Cortex M3), bitband > * msf2 (Cortex M3), bitband > * stellaris (Cortex M3), bitband > * stm32f205 (Cortex M3), bitband > > Signed-off-by: Stefan Hajnoczi This fixes a bug in the MPS2 boards, incidentally, where the Ethernet controller is inaccessible because it's hidden by the shouldn't-be-present bitbanding region... thanks -- PMM