[PATCH 0/2] mailbox: axiado: fix RX handling and debugfs name truncation warning

Swark Yang syang at axiado.com
Thu Sep 3 00:17:51 PDT 2026


This series fixes two independent issues in the Axiado AX3005 mailbox
driver introduced by commit 14af7a96afa3 ("mailbox: add Axiado AX3005
mailbox driver"):

Patch 1 fixes two RX-path correctness issues found during bring-up.
The threaded IRQ handler previously consumed only one frame per
invocation even when additional frames were already queued, and the
RX polling logic could mistake a FIFO error for completion of an
incomplete frame. It also corrects IRQ handled accounting and uses a
stream accessor for the RX FIFO payload.

Patch 2 fixes a -Wformat-truncation warning reported by the kernel
test robot for the debugfs entry-name buffer.

The two patches are independent and can be applied/reviewed
separately.

Testing:

Both patches build cleanly with the aarch64 cross-compiler and pass
checkpatch.pl. The originally reported -Wformat-truncation warning is
no longer present.

As a runtime regression check, Patch 2 was also verified on AX3005
hardware, where the debugfs directory correctly exposes chan0-errors
through chan15-errors.

Patch 1 was regression-tested with live mailbox traffic on AX3005
using a development kernel carrying the platform devicetree support.

Signed-off-by: Swark Yang <syang at axiado.com>
---
Swark Yang (2):
      mailbox: axiado: fix RX frame draining and error handling
      mailbox: axiado: fix debugfs name truncation warning

 drivers/mailbox/axiado-mailbox.c | 116 ++++++++++++++++++++++++++++++---------
 1 file changed, 90 insertions(+), 26 deletions(-)
---
base-commit: 66498c75b4f8017f62d720d9b59675bdf3abce91
change-id: 20260830-axiado-mailbox-fixes-v1-42b9f4ef43b5

Best regards,
-- 
Swark Yang <syang at axiado.com>




More information about the linux-arm-kernel mailing list