[Skiboot] [PATCH] lpc-port80h: Don't write port 80h when running under Simics

Stewart Smith stewart at linux.ibm.com
Mon Jun 3 12:08:28 AEST 2019


Alistair Popple <alistair at popple.id.au> writes:
> Simics doesn't model LPC port 80h. Writing to it terminates the
> simulation due to an invalid LPC memory access. This patch adds a
> check to ensure port 80h isn't accessed if we are running under
> Simics.
>
> Signed-off-by: Alistair Popple <alistair at popple.id.au>
> ---
>  hw/lpc-port80h.c | 4 ++++
>  1 file changed, 4 insertions(+)

Merged to master as of 20a3b69bd1b4088152faeb6c93a5b9cf86774652, along
with me fixing up the run-port80h unit test (it didn't have a "enum
proc_chip_quirks proc_chip_quirks;" declaration, which caused problems
with this patch)

-- 
Stewart Smith
OPAL Architect, IBM.



More information about the Skiboot mailing list