From ff52563a214c71fcd1e21e9f00ad839612032e3b Mon Sep 17 00:00:00 2001 From: Ciro Santilli Date: Thu, 21 Jun 2018 11:28:58 +0100 Subject: dev, arm: accept and ignore writes to GIC APRn registers Otherwise the Linux kernel v4.17 boot fails with error: Tried to write Gic cpu at offset 0xd0 Change-Id: Ie8063212c9e2b29e2e4766801b4b9538e9eccbf8 Reviewed-by: Andreas Sandberg Reviewed-on: https://gem5-review.googlesource.com/11590 Maintainer: Andreas Sandberg --- src/dev/arm/gic_pl390.cc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/dev/arm/gic_pl390.cc') diff --git a/src/dev/arm/gic_pl390.cc b/src/dev/arm/gic_pl390.cc index f918f7783..b0c4e99ee 100644 --- a/src/dev/arm/gic_pl390.cc +++ b/src/dev/arm/gic_pl390.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2010, 2013, 2015-2017 ARM Limited + * Copyright (c) 2010, 2013, 2015-2018 ARM Limited * All rights reserved * * The license below extends only to copyright in the software and shall @@ -602,6 +602,12 @@ Pl390::writeCpu(ContextID ctx, Addr daddr, uint32_t data) ctx, iar.ack_id, iar.cpu_id); break; } + case GICC_APR0: + case GICC_APR1: + case GICC_APR2: + case GICC_APR3: + warn("GIC APRn write ignored because not implemented: %#x\n", daddr); + break; default: panic("Tried to write Gic cpu at offset %#x\n", daddr); break; -- cgit v1.2.3