Re: [RFC PATCH] irqchip/gic-v3: Add quirk for msm8996 secured registers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Quoting Srinivas Kandagatla (2018-06-14 10:54:43)
> > 
> >> +{
> >> +    struct gic_chip_data *d = data;
> >> +
> >> +    d->flags |= GICV3_FLAGS_WORKAROUND_IW_GICR_WAKER;
> >> +
> >> +    return true;
> >> +}
> >> +
> >> +static const struct gic_quirk gicv3_quirks[] = {
> >> +    {
> >> +            .desc   = "GICV3: Qualcomm MSM8996 WAKER IW",
> > 
> > Please the erratum number in the message. It should read something like:
> > 
> >               "GICv3: Qualcomm erratum BIGNUMBERHERE"
> > 
> >> +            .iidr   = 0x00001070,   /* MSM8996 */
> >> +            .mask   = 0x0000ffff,
> > 
> > Please match the full GICD_IIDR register, not just the implementer and
> > the revision. Unless you expect all the QC systems to have the same
> > behaviour?
> There seems to be more than one SoC that has this issue,  I will dig up 
> more info before sending next version.
> 

It depends on the firmware and if that firmware decides to block or
allow access to this register space. I don't see how it can be quirked
based on the IIDR at all because there could be different firmware on
the board that doesn't block access to the register. Can a DT property
work?

--
To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [Linux for Sparc]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux