public inbox for linux-wireless@vger.kernel.org
 help / color / mirror / Atom feed
* ath12k: REO status on PPC does not work
@ 2025-08-15  8:13 Alexander Wilhelm
  2025-08-15  9:55 ` Sebastian Gottschall
  2025-08-19  6:38 ` Baochen Qiang
  0 siblings, 2 replies; 11+ messages in thread
From: Alexander Wilhelm @ 2025-08-15  8:13 UTC (permalink / raw)
  To: Jeff Johnson; +Cc: ath12k, linux-wireless, linux-kernel

Hello devs,

I'm currently working on getting the 'ath12k' driver running on a big endian
PowerPC platform and have encountered the following issue.

In the function 'ath12k_dp_rx_process_reo_status', the REO status is determined
by inspecting memory that the hardware has previously written via DMA.
Specifically, during the call to 'ath12k_hal_srng_access_begin', the driver
reads the value of 'hp_addr' for the destination ring (in my case, always with
ID 21). On the big endian platform, this value is consistently 0, which prevents
the REO status from being updated.

Interestingly, DMA read/write accesses work fine for other rings, just not for
this one. What makes the REO status ring so special? I couldn’t find anything in
the initialization routine that would explain the difference.

Could anyone give me a hint on what I should be looking for?


Best regards
Alexander Wilhelm

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2025-08-21  6:55 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-15  8:13 ath12k: REO status on PPC does not work Alexander Wilhelm
2025-08-15  9:55 ` Sebastian Gottschall
2025-08-15 10:26   ` Alexander Wilhelm
2025-08-15 10:50     ` Sebastian Gottschall
2025-08-15 12:00       ` Alexander Wilhelm
2025-08-19  6:38 ` Baochen Qiang
2025-08-19  6:59   ` Alexander Wilhelm
2025-08-19  7:26     ` Baochen Qiang
2025-08-19  8:10       ` Alexander Wilhelm
2025-08-19  9:21         ` Vasanthakumar Thiagarajan
2025-08-21  6:54           ` Alexander Wilhelm

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox