Re: [PATCH 0/2] mailbox: axiado: fix RX handling and debugfs name truncation warning
From: Jassi Brar
Date: Sun Oct 11 2026 - 21:30:39 EST
On Thu, Sep 3, 2026 at 2:17 AM Swark Yang <syang@xxxxxxxxxx> wrote:
>
> 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@xxxxxxxxxx>
> ---
> 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@xxxxxxxxxx>
>
Applied to mailbox/for-next
Thanks
Jassi