Re: [PATCHv2] of: Add generic handling for ePAPR 1.1 fail-sss states

From: Matthijs van Duin
Date: Mon Sep 12 2016 - 09:46:53 EST


On 12 September 2016 at 15:35, Tom Rini <trini@xxxxxxxxxxxx> wrote:
> What do you mean by "you can't put it to good use" ? Is that the case
> of stuff that's say exposed via a header and could be used but isn't (ie
> the cape/hat/chip/etc case) or the IP block is still OK but just not
> exposed at all?
>
> What we're trying to address here is the case of "don't even try to
> use the peripheral, bad things will happen. But please properly idle
> the IP block!".

I'm pretty sure IP blocks in the "don't even try" category are
necessarily idled. There's no reason they wouldn't be.

The hwmod infrastructure generally tries to access the sysconfig
register located in the IP block address space itself. If you try to
do that with a peripheral that's efused out you'll get a bus error.

Matthijs