On Wed 02 Dec 09:39 CST 2020, Wolfram Sang wrote:

> 
> > >> -        if (!of_machine_is_compatible("lenovo,yoga-c630"))
> > >> +        if (!of_machine_is_compatible("lenovo,yoga-c630") &&
> > >> +            !of_machine_is_compatible("oneplus,oneplus6"))
> > > This hack seems to have been working around two separate issues. First
> > > with iommu active the GENI wrappers needs to have their stream mapping
> > > configured. Secondly there was a bug in the transaction setup that was
> > > recently fixed by Doug Anderson.
> > >
> > > So can you please give the following patch a go? I've yet to test it on
> > > the Lenovo machine, but I think it allows us to remove the quirk.
> > >
> > > https://lore.kernel.org/lkml/[email protected]/T/#u
> 
> Please don't top-post. I fixed it this time.
> 
> > It looks like I still have the same issue even with this patch applied.
> 
> So we still need your patch, am I reading correctly?
> 

With Doug's recent fixes in the DMA handling and the introduction of
proper iommu configuration, which Caleb tested [1], I think we're good
without this on the OnePlus. Caleb, please confirm.

If I understood Caleb's report he saw exactly the same problem that Lee
Jones did that lead to the workaround for the Lenovo Yoga C630, and with
the two changes the i2c-hid keyboard came up nicely on my Yoga. So I
posted [2].

[1] 
https://lore.kernel.org/linux-arm-msm/[email protected]/
[2] 
https://lore.kernel.org/linux-arm-msm/[email protected]/

Regards,
Bjorn

Reply via email to