All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v2 00/11] v8m: minor missing regs and bugfixes
@ 2018-02-09 16:57 Peter Maydell
  2018-02-09 16:58 ` [Qemu-devel] [PATCH v2 01/11] hw/intc/armv7m_nvic: Don't hardcode M profile ID registers in NVIC Peter Maydell
                   ` (10 more replies)
  0 siblings, 11 replies; 22+ messages in thread
From: Peter Maydell @ 2018-02-09 16:57 UTC (permalink / raw)
  To: qemu-arm, qemu-devel; +Cc: patches

This patchset is the result of comparing the registers
listed in the v8M Arm ARM against what QEMU was implementing.
It adds a collection of generally unexciting missing registers
(most of which we can simply NOP or make reads-as-written).
There are also a couple of bug fixes in there, of which the
worst is the byte-to-interrupt-number conversions being
completely wrong in several places.

Version 2 adds 3 new patches at the end:
 * we had a couple of things we were forgetting to migrate
 * implementation of MSPLIM and PSPLIM, which were the missing
   special registers

I've updated the cache ID registers patch to use some constants
for register bit fields; otherwise the first 8 patches are the
same as v1. The derived-exceptions patches are in master now,
so this should apply to master.

thanks
-- PMM

Peter Maydell (11):
  hw/intc/armv7m_nvic: Don't hardcode M profile ID registers in NVIC
  hw/intc/armv7m_nvic: Fix ICSR PENDNMISET/CLR handling
  hw/intc/armv7m_nvic: Implement M profile cache maintenance ops
  hw/intc/armv7m_nvic: Implement v8M CPPWR register
  hw/intc/armv7m_nvic: Implement cache ID registers
  hw/intc/armv7m_nvic: Implement SCR
  target/arm: Implement writing to CONTROL_NS for v8M
  hw/intc/armv7m_nvic: Fix byte-to-interrupt number conversions
  target/arm: Add AIRCR to vmstate struct
  target/arm: Migrate v7m.other_sp
  target/arm: Implement v8M MSPLIM and PSPLIM registers

 target/arm/cpu.h      | 35 ++++++++++++++++++
 hw/intc/armv7m_nvic.c | 98 ++++++++++++++++++++++++++++++++++++++-------------
 target/arm/cpu.c      | 28 +++++++++++++++
 target/arm/helper.c   | 56 +++++++++++++++++++++++++++++
 target/arm/machine.c  | 84 +++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 276 insertions(+), 25 deletions(-)

-- 
2.16.1

^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2018-02-09 21:15 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-09 16:57 [Qemu-devel] [PATCH v2 00/11] v8m: minor missing regs and bugfixes Peter Maydell
2018-02-09 16:58 ` [Qemu-devel] [PATCH v2 01/11] hw/intc/armv7m_nvic: Don't hardcode M profile ID registers in NVIC Peter Maydell
2018-02-09 20:28   ` Richard Henderson
2018-02-09 16:58 ` [Qemu-devel] [PATCH v2 02/11] hw/intc/armv7m_nvic: Fix ICSR PENDNMISET/CLR handling Peter Maydell
2018-02-09 20:30   ` Richard Henderson
2018-02-09 16:58 ` [Qemu-devel] [PATCH v2 03/11] hw/intc/armv7m_nvic: Implement M profile cache maintenance ops Peter Maydell
2018-02-09 20:34   ` Richard Henderson
2018-02-09 16:58 ` [Qemu-devel] [PATCH v2 04/11] hw/intc/armv7m_nvic: Implement v8M CPPWR register Peter Maydell
2018-02-09 20:37   ` Richard Henderson
2018-02-09 16:58 ` [Qemu-devel] [PATCH v2 05/11] hw/intc/armv7m_nvic: Implement cache ID registers Peter Maydell
2018-02-09 20:59   ` Richard Henderson
2018-02-09 16:58 ` [Qemu-devel] [PATCH v2 06/11] hw/intc/armv7m_nvic: Implement SCR Peter Maydell
2018-02-09 21:03   ` Richard Henderson
2018-02-09 16:58 ` [Qemu-devel] [PATCH v2 07/11] target/arm: Implement writing to CONTROL_NS for v8M Peter Maydell
2018-02-09 21:08   ` Richard Henderson
2018-02-09 16:58 ` [Qemu-devel] [PATCH v2 08/11] hw/intc/armv7m_nvic: Fix byte-to-interrupt number conversions Peter Maydell
2018-02-09 16:58 ` [Qemu-devel] [PATCH v2 09/11] target/arm: Add AIRCR to vmstate struct Peter Maydell
2018-02-09 21:12   ` Richard Henderson
2018-02-09 16:58 ` [Qemu-devel] [PATCH v2 10/11] target/arm: Migrate v7m.other_sp Peter Maydell
2018-02-09 21:13   ` Richard Henderson
2018-02-09 16:58 ` [Qemu-devel] [PATCH v2 11/11] target/arm: Implement v8M MSPLIM and PSPLIM registers Peter Maydell
2018-02-09 21:15   ` Richard Henderson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.