From: Sudeep Holla <sudeep.holla@arm.com>
To: Andrea Tomassetti <andrea.tomassetti@sipearl.com>
Cc: <lkp@intel.com>, <jassisinghbrar@gmail.com>, <lenb@kernel.org>,
<linux-acpi@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
<oe-kbuild-all@lists.linux.dev>,
<olivier.dautricourt@sipearl.com>, <olivierdautricourt@gmail.com>,
<rafael@kernel.org>, <thibault.cantori@sipearl.com>
Subject: Re: [PATCH v2] mailbox: pcc: support polling mode when there is no platform IRQ
Date: Thu, 27 Nov 2025 14:51:43 +0000 [thread overview]
Message-ID: <20251127-lovely-real-wrasse-b1fbcd@sudeepholla> (raw)
In-Reply-To: <20251119090118.2445303-1-andrea.tomassetti@sipearl.com>
On Wed, Nov 19, 2025 at 10:01:18AM +0100, Andrea Tomassetti wrote:
> The goal is to allow clients to submit a message in both irq and polling
> mode of the pcc mailbox. The ACPI specification does not require a
> platform irq for pcc channels. Let's implement the case where it is not
> available.
>
> peek_data is mapped to pcc_mbox_error_check_and_clear, so that it
> returns true if no error occurred while the platform processed last
> message, and therefore clients can fetch response data provided by the
> platform.
>
> Tested-by: Thibault Cantori <thibault.cantori@sipearl.com>
> Co-developed-by: Olivier Dautricourt <olivier.dautricourt@sipearl.com>
> Signed-off-by: Olivier Dautricourt <olivier.dautricourt@sipearl.com>
> Signed-off-by: Andrea Tomassetti <andrea.tomassetti@sipearl.com>
> Reported-by: kernel test robot <lkp@intel.com>
> Closes: https://lore.kernel.org/oe-kbuild-all/202511120243.soxAFpqQ-lkp@intel.com/
> Closes: https://lore.kernel.org/oe-kbuild-all/202511120558.Cln7LF6M-lkp@intel.com/
> Closes: https://lore.kernel.org/oe-kbuild-all/202511120729.R3XQNSnx-lkp@intel.com/
> ---
> v2: Fix issues reported by the kernel test robot
> - sparse: incorrect type in argument 2 (different address spaces)
> - acpi_pcc.c:(.text+0x69): undefined reference to `__udivdi3'
>
> drivers/acpi/acpi_pcc.c | 78 ++++++++++++++++++++++++++++-------------
> drivers/mailbox/pcc.c | 12 ++++++-
Please separate the changes to the PCC OpRegion handler and the PCC mailbox
driver into individual patches. I’ve also done some cleanup work [1], which
has been tested and resolves part of the polling vs. IRQ flag initialization
issue.
I’d appreciate it if you could rebase your changes on top of those updates to
make the review process smoother and help us move forward more quickly.
--
Regards,
Sudeep
[1] https://lore.kernel.org/all/20251016-pcc_mb_updates-v1-0-0fba69616f69@arm.com/
next prev parent reply other threads:[~2025-11-27 14:51 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-10 15:08 [PATCH] mailbox: pcc: support polling mode when there is no platform IRQ Andrea Tomassetti
2025-11-11 18:29 ` kernel test robot
2025-11-11 21:47 ` kernel test robot
2025-11-12 0:07 ` kernel test robot
2025-11-19 9:01 ` [PATCH v2] " Andrea Tomassetti
2025-11-27 14:51 ` Sudeep Holla [this message]
2025-12-02 10:12 ` [PATCH v3 1/2] " Andrea Tomassetti
2025-12-03 10:28 ` Sudeep Holla
2025-12-04 12:59 ` Andrea Tomassetti
2025-12-04 13:14 ` Sudeep Holla
2025-12-09 10:39 ` Andrea Tomassetti
2025-12-09 11:11 ` Sudeep Holla
2025-12-02 10:12 ` [PATCH v3 2/2] mailbox: pcc: add peek_data handler Andrea Tomassetti
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=20251127-lovely-real-wrasse-b1fbcd@sudeepholla \
--to=sudeep.holla@arm.com \
--cc=andrea.tomassetti@sipearl.com \
--cc=jassisinghbrar@gmail.com \
--cc=lenb@kernel.org \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lkp@intel.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=olivier.dautricourt@sipearl.com \
--cc=olivierdautricourt@gmail.com \
--cc=rafael@kernel.org \
--cc=thibault.cantori@sipearl.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox