All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 00/22] MPS devices: FPGAIO, timer, watchdogs, MSC, DMA, SPI
@ 2018-08-20 14:10 Peter Maydell
  2018-08-20 14:10 ` [Qemu-devel] [PATCH 01/22] hw/misc/mps2-fpgaio: Implement 1Hz and 100Hz counters Peter Maydell
                   ` (21 more replies)
  0 siblings, 22 replies; 56+ messages in thread
From: Peter Maydell @ 2018-08-20 14:10 UTC (permalink / raw)
  To: qemu-arm, qemu-devel; +Cc: patches, Philippe Mathieu-Daudé

This patchset is a combination of the remaining patches
from the v1 patchsets
 * mps2: Implement FPGAIO counters and dual-timer
 * arm: Implement MPS2 watchdogs and DMA

plus some new patches which clean up the PL022 and
instantiate it in the MPS2, and one final patch to fix
some SCC config register values.

Patches which need review:
1, 3, 4, 5, 8, 9, 10, 11, 15-22
(2, 6, 7, 12, 13, 14 have been reviewed already in v1)

Changes since v1:
 * some patches that were reviewed have been upstreamed
 * I have split the sysinfo registers out of "iotkit-sysctl"
   and into their own "iotkit-sysinfo" devices
 * patches 15-22 are new

These are all the enhancements I plan to make to the MPS2
boards. I won't be doing anything more except in response to
bug reports.

thanks
-- PMM

Peter Maydell (22):
  hw/misc/mps2-fpgaio: Implement 1Hz and 100Hz counters
  hw/misc/mps2-fpgaio: Implement PSCNTR and COUNTER
  hw/timer/cmsdk-apb-dualtimer: Implement CMSDK dual timer module
  hw/arm/iotkit: Wire up the dualtimer
  hw/arm/mps2: Wire up dual-timer in mps2-an385 and mps2-an511
  hw/arm/iotkit: Wire up the watchdogs
  hw/arm/iotkit: Wire up the S32KTIMER
  hw/misc/iotkit-sysctl: Implement IoTKit system control element
  hw/misc/iotkit-sysinfo: Implement IoTKit system information block
  hw/misc/iotkit: Wire up the sysctl and sysinfo register blocks
  hw/misc/tz-msc: Model TrustZone Master Security Controller
  hw/misc/iotkit-secctl: Wire up registers for controlling MSCs
  hw/arm/iotkit: Wire up the lines for MSCs
  hw/arm/mps2-tz: Create PL081s and MSCs
  hw/ssi/pl022: Allow use as embedded-struct device
  hw/ssi/pl022: Set up reset function in class init
  hw/ssi/pl022: Don't directly call vmstate_register()
  hw/ssi/pl022: Use DeviceState::realize rather than SysBusDevice::init
  hw/ssi/pl022: Correct wrong value for PL022_INT_RT
  hw/ssi/pl022: Correct wrong DMACR and ICR handling
  hw/arm/mps2-tz: Instantiate SPI controllers
  hw/arm/mps2-tz: Fix MPS2 SCC config register values

 hw/misc/Makefile.objs                  |   3 +
 hw/timer/Makefile.objs                 |   1 +
 include/hw/arm/iotkit.h                |  25 +-
 include/hw/misc/iotkit-secctl.h        |  14 +
 include/hw/misc/iotkit-sysctl.h        |  49 +++
 include/hw/misc/iotkit-sysinfo.h       |  37 ++
 include/hw/misc/mps2-fpgaio.h          |  10 +
 include/hw/misc/tz-msc.h               |  79 ++++
 include/hw/ssi/pl022.h                 |  51 +++
 include/hw/timer/cmsdk-apb-dualtimer.h |  72 ++++
 hw/arm/iotkit.c                        | 114 +++++-
 hw/arm/mps2-tz.c                       | 142 ++++++-
 hw/arm/mps2.c                          |  11 +
 hw/misc/iotkit-secctl.c                |  73 +++-
 hw/misc/iotkit-sysctl.c                | 261 +++++++++++++
 hw/misc/iotkit-sysinfo.c               | 128 ++++++
 hw/misc/mps2-fpgaio.c                  | 146 ++++++-
 hw/misc/tz-msc.c                       | 308 +++++++++++++++
 hw/ssi/pl022.c                         |  57 +--
 hw/timer/cmsdk-apb-dualtimer.c         | 515 +++++++++++++++++++++++++
 MAINTAINERS                            |  10 +
 default-configs/arm-softmmu.mak        |   4 +
 hw/misc/trace-events                   |  16 +
 hw/timer/trace-events                  |   5 +
 24 files changed, 2049 insertions(+), 82 deletions(-)
 create mode 100644 include/hw/misc/iotkit-sysctl.h
 create mode 100644 include/hw/misc/iotkit-sysinfo.h
 create mode 100644 include/hw/misc/tz-msc.h
 create mode 100644 include/hw/ssi/pl022.h
 create mode 100644 include/hw/timer/cmsdk-apb-dualtimer.h
 create mode 100644 hw/misc/iotkit-sysctl.c
 create mode 100644 hw/misc/iotkit-sysinfo.c
 create mode 100644 hw/misc/tz-msc.c
 create mode 100644 hw/timer/cmsdk-apb-dualtimer.c

-- 
2.18.0

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

end of thread, other threads:[~2018-08-23 17:47 UTC | newest]

Thread overview: 56+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-20 14:10 [Qemu-devel] [PATCH 00/22] MPS devices: FPGAIO, timer, watchdogs, MSC, DMA, SPI Peter Maydell
2018-08-20 14:10 ` [Qemu-devel] [PATCH 01/22] hw/misc/mps2-fpgaio: Implement 1Hz and 100Hz counters Peter Maydell
2018-08-21 18:34   ` Richard Henderson
2018-08-20 14:10 ` [Qemu-devel] [PATCH 02/22] hw/misc/mps2-fpgaio: Implement PSCNTR and COUNTER Peter Maydell
2018-08-23 13:31   ` Richard Henderson
2018-08-20 14:10 ` [Qemu-devel] [PATCH 03/22] hw/timer/cmsdk-apb-dualtimer: Implement CMSDK dual timer module Peter Maydell
2018-08-23 14:08   ` Richard Henderson
2018-08-20 14:10 ` [Qemu-devel] [PATCH 04/22] hw/arm/iotkit: Wire up the dualtimer Peter Maydell
2018-08-21  6:41   ` Philippe Mathieu-Daudé
2018-08-23 14:09   ` Richard Henderson
2018-08-20 14:10 ` [Qemu-devel] [PATCH 05/22] hw/arm/mps2: Wire up dual-timer in mps2-an385 and mps2-an511 Peter Maydell
2018-08-21  6:43   ` [Qemu-devel] [Qemu-arm] " Philippe Mathieu-Daudé
2018-08-23 14:11   ` [Qemu-devel] " Richard Henderson
2018-08-20 14:11 ` [Qemu-devel] [PATCH 06/22] hw/arm/iotkit: Wire up the watchdogs Peter Maydell
2018-08-23 14:17   ` Richard Henderson
2018-08-20 14:11 ` [Qemu-devel] [PATCH 07/22] hw/arm/iotkit: Wire up the S32KTIMER Peter Maydell
2018-08-23 14:18   ` Richard Henderson
2018-08-20 14:11 ` [Qemu-devel] [PATCH 08/22] hw/misc/iotkit-sysctl: Implement IoTKit system control element Peter Maydell
2018-08-23 14:24   ` Richard Henderson
2018-08-20 14:11 ` [Qemu-devel] [PATCH 09/22] hw/misc/iotkit-sysinfo: Implement IoTKit system information block Peter Maydell
2018-08-21  6:45   ` Philippe Mathieu-Daudé
2018-08-23 14:28   ` Richard Henderson
2018-08-20 14:11 ` [Qemu-devel] [PATCH 10/22] hw/misc/iotkit: Wire up the sysctl and sysinfo register blocks Peter Maydell
2018-08-21  6:47   ` Philippe Mathieu-Daudé
2018-08-23 14:29   ` Richard Henderson
2018-08-20 14:11 ` [Qemu-devel] [PATCH 11/22] hw/misc/tz-msc: Model TrustZone Master Security Controller Peter Maydell
2018-08-23 17:18   ` Richard Henderson
2018-08-20 14:11 ` [Qemu-devel] [PATCH 12/22] hw/misc/iotkit-secctl: Wire up registers for controlling MSCs Peter Maydell
2018-08-23 17:21   ` Richard Henderson
2018-08-23 17:25     ` Peter Maydell
2018-08-20 14:11 ` [Qemu-devel] [PATCH 13/22] hw/arm/iotkit: Wire up the lines for MSCs Peter Maydell
2018-08-23 17:23   ` Richard Henderson
2018-08-20 14:11 ` [Qemu-devel] [PATCH 14/22] hw/arm/mps2-tz: Create PL081s and MSCs Peter Maydell
2018-08-23 17:27   ` Richard Henderson
2018-08-20 14:11 ` [Qemu-devel] [PATCH 15/22] hw/ssi/pl022: Allow use as embedded-struct device Peter Maydell
2018-08-21  6:48   ` Philippe Mathieu-Daudé
2018-08-23 17:29   ` Richard Henderson
2018-08-20 14:11 ` [Qemu-devel] [PATCH 16/22] hw/ssi/pl022: Set up reset function in class init Peter Maydell
2018-08-21  6:49   ` Philippe Mathieu-Daudé
2018-08-23 17:29   ` Richard Henderson
2018-08-20 14:11 ` [Qemu-devel] [PATCH 17/22] hw/ssi/pl022: Don't directly call vmstate_register() Peter Maydell
2018-08-23 17:30   ` Richard Henderson
2018-08-20 14:11 ` [Qemu-devel] [PATCH 18/22] hw/ssi/pl022: Use DeviceState::realize rather than SysBusDevice::init Peter Maydell
2018-08-21  6:53   ` Philippe Mathieu-Daudé
2018-08-23 10:11     ` Peter Maydell
2018-08-23 17:31   ` Richard Henderson
2018-08-20 14:11 ` [Qemu-devel] [PATCH 19/22] hw/ssi/pl022: Correct wrong value for PL022_INT_RT Peter Maydell
2018-08-23 17:33   ` Richard Henderson
2018-08-20 14:11 ` [Qemu-devel] [PATCH 20/22] hw/ssi/pl022: Correct wrong DMACR and ICR handling Peter Maydell
2018-08-23 17:38   ` Richard Henderson
2018-08-20 14:11 ` [Qemu-devel] [PATCH 21/22] hw/arm/mps2-tz: Instantiate SPI controllers Peter Maydell
2018-08-23 17:39   ` Richard Henderson
2018-08-20 14:11 ` [Qemu-devel] [PATCH 22/22] hw/arm/mps2-tz: Fix MPS2 SCC config register values Peter Maydell
2018-08-23 17:42   ` Richard Henderson
2018-08-23 17:45     ` Peter Maydell
2018-08-23 17:46       ` Peter Maydell

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.