[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-arm] [PATCH 0/2] v8m: make systick banked
From: |
Peter Maydell |
Subject: |
[Qemu-arm] [PATCH 0/2] v8m: make systick banked |
Date: |
Fri, 1 Dec 2017 18:51:34 +0000 |
This patchset makes the systick device be banked between
security states for ARM v8M.
It is perhaps not the absolute cleanest way to implement
this banking, but the alternative (which I had an irc
discussion with Paolo about some weeks back) would involve
adding a feature to our IOMMU abstraction to allow them
to change transaction attributes, refactoring the NVIC
so that it exposes memory regions for its S and NS views
separately (to be mapped into the CPU's S and NS address
spaces by the board code), and then using an IOMMU region
to implement the "S alias that behaves like NS" memory
region. This version is less than 100 lines by diffstat :-)
thanks
-- PMM
Peter Maydell (2):
nvic: Make nvic_sysreg_ns_ops work with any MemoryRegion
nvic: Make systick banked
include/hw/intc/armv7m_nvic.h | 4 +-
hw/intc/armv7m_nvic.c | 91 ++++++++++++++++++++++++++++++++++++-------
2 files changed, 79 insertions(+), 16 deletions(-)
--
2.7.4
- [Qemu-arm] [PATCH 0/2] v8m: make systick banked,
Peter Maydell <=