Re: [PATCH 1/2] tty: pl011: Work around QDF2400 E44 stuck BUSY bit
From: Mark Rutland
Date: Wed Feb 08 2017 - 08:35:06 EST
On Wed, Feb 08, 2017 at 07:27:29AM -0600, Timur Tabi wrote:
> Robin Murphy wrote:
> >Are we to take it that every SoC now and always with any Kryo or Falkor
> >core which also has an SBSA UART will require this workaround?
>
> No, only Kryo and Falkor V1 based SOCs have this problem. Falkor V2
> will have this fixed. We intend to revert these fixes after Falkor
> V1 SOCs are no longer supported.
Supported by whom?
Generally, once something's upstreamed we expect it to remain supported.
> > There's a
> >guarantee that the UART itself will definitely never be fixed in some
> >future revision? That it'll never be integrated into, say, some
> >Kryo/Cortex-Axx big.LITTLE system where you do still need the
> >workaround, but might be making this check on the wrong core?
>
> We are sure that this erratum is restricted to those specific SOCs.
Ok. Then please identify the system as a whole (i.e. the SoC), and not
the CPU.
> >If there's really no suitable ID register to identify this particular
> >UART implementation, it probably needs to be described appropriately by
> >the firmware - I can't claim knowledge of how that works under ACPI, but
> >I do note that the only device ID currently being matched is "ARMH0011",
> >which seems to me to be inappropriate to describe something which is not
> >an ARM PL011, bugs or no bugs.
>
> ACPI is not like device tree. You can't just define a
> "qcom,needs-busy-bit-fix" property and call it a day.
ACPI and DT have pretty much the exact same set of issues w.r.t.
long term maintenance and support.
The important step is raising issues early, rather than shipping FW with
values that are not known to work (or known to not work)...
> If you're saying that we should create a new ACPI HID, like
> QCOM0011, that probably would have worked as well, except hindsight
> is 20/20, and we already have firmware in the field.
There are other way of identifying the system, if you look further than
the device.
Thanks,
Thanks.