OSDN Git Service

hw/misc/tz_mpc.c: Honour the BLK_LUT settings in translate
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 22 Jun 2018 12:28:40 +0000 (13:28 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 22 Jun 2018 12:28:40 +0000 (13:28 +0100)
commitdd29d0687d472be0c92b554383d2d8549fe37584
treefefa8dcc9e54fe4629f72f7fc0b72f952a54fde5
parent57c49a6e8773bcce0d407ff4d9b2de7a904f1b0d
hw/misc/tz_mpc.c: Honour the BLK_LUT settings in translate

The final part of the Memory Protection Controller we need to
implement is actually using the BLK_LUT data programmed by the
guest to determine whether to block the transaction or not.

Since this means we now change transaction mappings when
the guest writes to BLK_LUT, we must also call the IOMMU
notifiers at that point.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Message-id: 20180620132032.28865-5-peter.maydell@linaro.org
hw/misc/trace-events
hw/misc/tz-mpc.c