Re: [PATCH v2] bus: mhi: host: fix endianness of BHI vector table

From: Alexander Wilhelm
Date: Mon May 19 2025 - 02:10:43 EST


Am Fri, May 16, 2025 at 09:13:46AM -0600 schrieb Jeff Hugo:
> On 5/15/2025 3:55 AM, Alexander Wilhelm wrote:
> > On big endian platforms like PowerPC the DMA address and size are required
> > to be swapped. Otherwise the MHI bus does not start properly. The following
> > example shows the error messages by using qcn9274 wireless radio module
> > with ath12k driver:
> >
> > ath12k_pci 0001:01:00.0: BAR 0: assigned [mem 0xc00000000-0xc001fffff 64bit]
> > ath12k_pci 0001:01:00.0: MSI vectors: 1
> > ath12k_pci 0001:01:00.0: Hardware name: qcn9274 hw2.0
> > ath12k_pci 0001:01:00.0: failed to set mhi state: POWER_ON(2)
> > ath12k_pci 0001:01:00.0: failed to start mhi: -110
> > ath12k_pci 0001:01:00.0: failed to power up :-110
> > ath12k_pci 0001:01:00.0: failed to create soc core: -110
> > ath12k_pci 0001:01:00.0: failed to init core: -110
> > ath12k_pci: probe of 0001:01:00.0 failed with error -110
> >
>
> Fixes?

Yes, it does. But I see know that the commit message is not clear enough.
I'll fix that.

Best regards
Alexander Wilhelm

>
> > Signed-off-by: Alexander Wilhelm <alexander.wilhelm@xxxxxxxxxxxx>
>
> Reviewed-by: Jeff Hugo <jeff.hugo@xxxxxxxxxxxxxxxx>