[Skiboot] [PATCH] lpc: Clear pending IRQs at boot
Stewart Smith
stewart at linux.vnet.ibm.com
Wed Nov 29 16:45:41 AEDT 2017
Oliver O'Halloran <oohall at gmail.com> writes:
> When we come in from hostboot the LPC master has the bus reset indicator
> set. This error isn't handled until the host kernel unmasks interrupts,
> at which point we get the following suprious error:
>
> [ 20.053560375,3] LPC: Got LPC reset on chip 0x0 !
> [ 20.053564560,3] LPC[000]: Unknown LPC error Error address reg: 0x00000000
>
> Fix this by clearing the various error bits in the LPC status register
> before we initalise the skiboot LPC bus driver.
>
> Signed-off-by: Oliver O'Halloran <oohall at gmail.com>
> ---
> hw/lpc.c | 4 ++++
> 1 file changed, 4 insertions(+)
That's been casually bugging me in test results for ages, thanks.
Merged to master as of 7fb517898f69ea008077297617e1035827e29417.
--
Stewart Smith
OPAL Architect, IBM.
More information about the Skiboot
mailing list