Re: [PATCH] arm64: dts: qcom: sdm845-mtp: Mark protected gcc clocks

From: Stephen Boyd
Date: Wed Nov 28 2018 - 01:33:37 EST


Quoting Bjorn Andersson (2018-11-21 23:30:43)
> On Wed 21 Nov 01:01 PST 2018, Stephen Boyd wrote:
>
> > Quoting Bjorn Andersson (2018-11-05 21:50:13)
> > > As of v4.20-rc1 probing the GCC driver on a SDM845 device with the
> > > standard security implementation causes an access violation and an
> > > immediate system restart. Use the protected-clocks property to mark the
> > > offending clocks protected for the MTP, in order to allow it to boot.
> > >
> > > Cc: Stephen Boyd <sboyd@xxxxxxxxxx>
> > > Signed-off-by: Bjorn Andersson <bjorn.andersson@xxxxxxxxxx>
> > > ---
> > >
> > > This depends on the acceptance of
> > > https://lore.kernel.org/lkml/20181105194011.43770-1-swboyd@xxxxxxxxxxxx/
> >
> > Do you need me to merge this into clk-fixes so that Andy can send this
> > up for v4.20 final? I thought you may have other boot blocking issues so
> > this wouldn't be a critical fix.
> >
>
> We resolved the gpio-related issues, so iirc this is the only other item
> preventing the MTP from booting. So yes please.
>
> Unless you enable USB support, because configuring the first USB
> controller in host currently crashes the device - I've not yet found the
> cause for this though.
>

Ok let me do the necessary shuffling to get this all lined up for
merging later this week, including this dts patch.