From: Sudeep Holla <sudeep.holla@kernel.org>
To: Peng Fan <peng.fan@nxp.com>
Cc: "Peng Fan (OSS)" <peng.fan@oss.nxp.com>,
Sudeep Holla <sudeep.holla@kernel.org>,
Jassi Brar <jassisinghbrar@gmail.com>,
Beleswar Padhi <b-padhi@ti.com>, Andrew Davis <afd@ti.com>,
Yuntao Dai <d1581209858@live.com>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"linux-acpi@vger.kernel.org" <linux-acpi@vger.kernel.org>,
"mailbox@lists.linux.dev" <mailbox@lists.linux.dev>
Subject: Re: [PATCH] mailbox: Clean up the usage of mailbox_client.h
Date: Tue, 27 Jan 2026 16:00:39 +0000 [thread overview]
Message-ID: <aXjhJzfHvxrP-zc7@bogus> (raw)
In-Reply-To: <PAXPR04MB84597C134FA912B4C929E11D8890A@PAXPR04MB8459.eurprd04.prod.outlook.com>
On Tue, Jan 27, 2026 at 02:47:33PM +0000, Peng Fan wrote:
> > Subject: RE: [PATCH] mailbox: Clean up the usage of mailbox_client.h
> >
> > Hi Sudeep,
> >
> > > Subject: Re: [PATCH] mailbox: Clean up the usage of mailbox_client.h
> > >
> > > On Tue, Jan 27, 2026 at 07:02:53AM +0800, Peng Fan (OSS) wrote:
> > > > From: Peng Fan <peng.fan@nxp.com>
> > > >
> > > > mailbox_client.h is should be used by consumer drivers, not
> > mailbox
> > > > provider.
> > > >
> > > > Signed-off-by: Peng Fan <peng.fan@nxp.com>
> > > > ---
> > > > drivers/mailbox/bcm-flexrm-mailbox.c | 1 -
> > > > drivers/mailbox/cv1800-mailbox.c | 1 -
> > > > drivers/mailbox/omap-mailbox.c | 1 -
> > > > drivers/mailbox/pcc.c | 1 -
> > > > 4 files changed, 4 deletions(-)
> > > >
> > >
> > > [...]
> > >
> > > >
> > > > diff --git a/drivers/mailbox/pcc.c b/drivers/mailbox/pcc.c index
> > > >
> > >
> > 22e70af1ae5d14e6e8c684fe032c2864f6ae4d6c..6ca84596e7637114f6
> > > 6d32a95d12
> > > > c863e942b756 100644
> > > > --- a/drivers/mailbox/pcc.c
> > > > +++ b/drivers/mailbox/pcc.c
> > > > @@ -55,7 +55,6 @@
> > > > #include <linux/log2.h>
> > > > #include <linux/platform_device.h>
> > > > #include <linux/mailbox_controller.h> -#include
> > > > <linux/mailbox_client.h> #include <linux/io-64-nonatomic-lo-hi.h>
> > > > #include <acpi/pcc.h>
> > > >
> > >
> > > There is a call to mbox_bind_client() in pcc.c that is declared in
> > > linux/mailbox_client.h
> >
> > Thanks for raising this.
>
> Check again.
>
> include/acpi/pcc.h includes mailbox_client.h
>
I see, I missed that. I’m fine with removing it, but the commit message
doesn’t really apply here since it’s getting included anyway. I don’t see
much point in removing it, but I’m fine either way.
--
Regards,
Sudeep
next prev parent reply other threads:[~2026-01-27 16:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-26 23:02 [PATCH] mailbox: Clean up the usage of mailbox_client.h Peng Fan (OSS)
2026-01-27 11:14 ` Sudeep Holla
2026-01-27 13:51 ` Peng Fan
2026-01-27 14:47 ` Peng Fan
2026-01-27 16:00 ` Sudeep Holla [this message]
2026-01-28 7:50 ` Peng Fan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=aXjhJzfHvxrP-zc7@bogus \
--to=sudeep.holla@kernel.org \
--cc=afd@ti.com \
--cc=b-padhi@ti.com \
--cc=d1581209858@live.com \
--cc=jassisinghbrar@gmail.com \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mailbox@lists.linux.dev \
--cc=peng.fan@nxp.com \
--cc=peng.fan@oss.nxp.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.