Re: [PATCH v2 4/5] mailbox: document direct synchronous transmit

From: Anup Patel

Date: Fri Dec 04 2026 - 05:58:54 EST


On Sun, Nov 29, 2026 at 9:23 AM Rahul Pathak
<rahul.pathak@xxxxxxxxxxxxxxxx> wrote:
>
> >
> >
> > + - Unchanged; it only reports channel ownership.
> > +
> > +Debugging aids provided by the framework are
> > +``lockdep_assert_not_held(&chan->lock)`` in both direct wrappers,
> > +``might_sleep()`` in the sleepable wrapper, txdone misuse warnings, and
> > +registration-time capability validation. ``CONFIG_DEBUG_ATOMIC_SLEEP`` and
> > +``CONFIG_PROVE_LOCKING`` catch controller bugs that the framework cannot
> > +detect statically.
> > +
> > +The KUnit suite in ``drivers/mailbox/mailbox-sync-test.c`` exercises the
>
> I applied this series but couldn't find this file, is this a typo?

Looks like ``drivers/mailbox/mailbox-sync-test.c`` is not yet upstreamed
so for now let me drop this last paragraph.

Regards,
Anup