Re: [PATCH] soc: qcom: mark pd-mapper as broken

Frank Oltmanns
2025-01-11T14:21:57Z

On 2025-01-08 at 15:06:34 +0100, Johan Hovold <johan@kernel.org> wrote:
> On Tue, Jan 07, 2025 at 11:02:24AM +0100, Johan Hovold wrote:
>> On Mon, Jan 06, 2025 at 08:10:52PM +0100, Frank Oltmanns wrote:
>
>> > Thank you so much for this idea. I'm currently using this workaround on
>> > my sdm845 device (where the in-kernel pd-mapper is breaking the
>> > out-of-tree call audio functionality).
>>
>> Thanks for letting us know that the audio issue affects sdm845 as well
>> (I don't seem to hit it on sc8280xp and the X13s).
>
> And today I also hit this on the sc8280xp CRD reference design, so as
> expected, there is nothing SoC specific about the audio service
> regression either:
>
> [ 11.235564] PDR: avs/audio get domain list txn wait failed: -110
> [ 11.241976] PDR: service lookup for avs/audio failed: -110
>
> even if it may be masked by random changes in timing.
>
> These means it affects also machines like the X13s which already have
> audio enabled.

I've blocklisted the in-kernel pd-mapper module for now and have
switched back to the userspace pd-mapper.

I don't know if it's helpful or not, but I don't get these error logs
when using to the in-kernel pd-mapper. It's just that the phone's mic
only works on approximately every third boot (unless I defer loading the
module).

>
>> > Is there any work going on on making the timing of the in-kernel
>> > pd-mapper more reliable?
>>
>> The ECANCELLED regression has now been fixed, but the audio issue
>> remains to be addressed (I think Bjorn has done some preliminary
>> investigation).
>
> Hopefully Bjorn or Chris have some plan on how to address the audio
> regression.

If you come up with a patch, I'd be glad to test it on my
xiaomi-beryllium device.

Thanks again,
Frank

>
> Johan