arch-arm, dev-arm: WakeRequest implementation
authorAdrian Herrera <adrian.herrera@arm.com>
Mon, 9 Dec 2019 20:13:55 +0000 (20:13 +0000)
committerGiacomo Travaglini <giacomo.travaglini@arm.com>
Tue, 31 Mar 2020 13:30:16 +0000 (13:30 +0000)
commit9bcffd1e29087c664ac70dbea48eacf148f2078b
tree966d40e4c657625a0f15640f0cfeeeb95388473e
parent412264912276073354d2ef73c13b5f79fe3b41e5
arch-arm, dev-arm: WakeRequest implementation

This patch provides a GIC WakeRequest implementation based on GICv3 and
FVPBasePwrCtrl models. When GICR_WAKER.ProcessorSleep is set to 1 for a
certain PE, any pending interrupt coming from the Redistributor asserts
a WakeRequest signal; if PwrStatus.WEN is set, this brings up the PE.

Change-Id: I5e8b7f0e9f7706dfcc7d2e0857f4c3b86cdc04ca
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/26810
Tested-by: Gem5 Cloud Project GCB service account <345032938727@cloudbuild.gserviceaccount.com>
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
Maintainer: Nikos Nikoleris <nikos.nikoleris@arm.com>
src/arch/arm/system.cc
src/arch/arm/system.hh
src/dev/arm/fvp_base_pwr_ctrl.cc
src/dev/arm/fvp_base_pwr_ctrl.hh
src/dev/arm/gic_v3.cc
src/dev/arm/gic_v3.hh
src/dev/arm/gic_v3_cpu_interface.cc
src/dev/arm/gic_v3_cpu_interface.hh
src/dev/arm/gic_v3_redistributor.cc