dev, arm: Warn on PL011 DMA disable
authorJan-Peter Larsson <jan-peter.larsson@arm.com>
Thu, 20 Dec 2018 15:55:56 +0000 (15:55 +0000)
committerGiacomo Travaglini <giacomo.travaglini@arm.com>
Fri, 4 Jan 2019 13:24:40 +0000 (13:24 +0000)
commit1a4a617c7e0728508d63a91a8534fbb4583f630c
treec8f05c9f521bec9880b6db5e796f500cae4799c5
parent272e4aa26d8c99ea2043a12e49ac25b2e81fc7ac
dev, arm: Warn on PL011 DMA disable

The PL011 spec specifies a DMACR register at offset 0x48, which isn't
implemented in the model. Currently any attempt to access the register
results in a panic.

This change swaps the panic for a warning only when software writes into
DMACR to disable DMA, keeping the panic otherwise.

Change-Id: I04586b52df8d5d174536276fd7ae19e77ff4681a
Reviewed-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/15279
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
src/dev/arm/pl011.cc [changed mode: 0644->0755]
src/dev/arm/pl011.hh [changed mode: 0644->0755]