From: Sudeep Holla <sudeep.holla@arm.com>
To: "Rafael J. Wysocki" <rafael@kernel.org>
Cc: linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-i2c@vger.kernel.org, linux-acpi@vger.kernel.org,
"Rafael J. Wysocki" <rafael.j.wysocki@intel.com>,
Andi Shyti <andi.shyti@kernel.org>,
Jean Delvare <jdelvare@suse.com>,
Guenter Roeck <linux@roeck-us.net>,
Huisong Li <lihuisong@huawei.com>
Subject: Re: [PATCH v2 1/4] ACPI: PCC: Add PCC shared memory region command and status bitfields
Date: Tue, 3 Oct 2023 15:29:16 +0100 [thread overview]
Message-ID: <20231003142916.6nbg5sfwd3tk6ol4@bogus> (raw)
In-Reply-To: <CAJZ5v0hG0sDJ4VOY+Gk0Fg1gebNft+z3YK9Jf-7NHb9Ow-C2mg@mail.gmail.com>
On Tue, Oct 03, 2023 at 03:29:16PM +0200, Rafael J. Wysocki wrote:
> On Wed, Sep 27, 2023 at 6:32 PM Sudeep Holla <sudeep.holla@arm.com> wrote:
> >
> > Define the common macros to use when referring to various bitfields in
> > the PCC generic communications channel command and status fields.
> >
> > Currently different drivers that need to use these bitfields have defined
> > these locally. This common macro is intended to consolidate and replace
> > those.
> >
> > Cc: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
> > Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
> > ---
> > include/acpi/pcc.h | 13 +++++++++++++
> > 1 file changed, 13 insertions(+)
> >
> > diff --git a/include/acpi/pcc.h b/include/acpi/pcc.h
> > index 73e806fe7ce7..021891a7434f 100644
> > --- a/include/acpi/pcc.h
> > +++ b/include/acpi/pcc.h
> > @@ -18,7 +18,20 @@ struct pcc_mbox_chan {
> > u16 min_turnaround_time;
> > };
> >
> > +/* Generic Communications Channel Shared Memory Region */
> > +#define PCC_SIGNATURE 0x50424300
> > +/* Generic Communications Channel Command Field */
> > +#define PCC_CMD_GENERATE_DB_INTR BIT(15)
> > +/* Generic Communications Channel Status Field */
> > +#define PCC_STATUS_CMD_COMPLETE BIT(0)
> > +#define PCC_STATUS_SCI_DOORBELL BIT(1)
> > +#define PCC_STATUS_ERROR BIT(2)
> > +#define PCC_STATUS_PLATFORM_NOTIFY BIT(3)
> > +/* Initiator Responder Communications Channel Flags */
> > +#define PCC_CMD_COMPLETION_NOTIFY BIT(0)
> > +
> > #define MAX_PCC_SUBSPACES 256
> > +
> > #ifdef CONFIG_PCC
> > extern struct pcc_mbox_chan *
> > pcc_mbox_request_channel(struct mbox_client *cl, int subspace_id);
> >
> > --
>
> Do you want me to pick up this lot?
I have applied this to me branch [1]. It also has long pending PCC driver
changes. I will send the pull request by end of this week.
--
Regards,
Sudeep
[1] https://git.kernel.org/pub/scm/linux/kernel/git/sudeep.holla/linux.git/log/?h=for-next/pcc/updates
next prev parent reply other threads:[~2023-10-03 14:29 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-27 16:26 [PATCH v2 0/4] ACPI: PCC: Define and use the common PCC shared memory regions related macros Sudeep Holla
2023-09-27 16:26 ` [PATCH v2 1/4] ACPI: PCC: Add PCC shared memory region command and status bitfields Sudeep Holla
2023-10-03 13:29 ` Rafael J. Wysocki
2023-10-03 14:29 ` Sudeep Holla [this message]
2023-10-03 15:05 ` Rafael J. Wysocki
2023-09-27 16:26 ` [PATCH v2 2/4] i2c: xgene-slimpro: Migrate to use generic PCC shmem related macros Sudeep Holla
2023-09-29 7:33 ` Wolfram Sang
2023-09-27 16:26 ` [PATCH v2 3/4] hwmon: (xgene) " Sudeep Holla
2023-09-27 16:26 ` [PATCH v2 4/4] soc: kunpeng_hccs: " Sudeep Holla
2023-09-28 11:30 ` lihuisong (C)
2023-09-29 11:45 ` [PATCH v2 0/4] ACPI: PCC: Define and use the common PCC shared memory regions " Sudeep Holla
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=20231003142916.6nbg5sfwd3tk6ol4@bogus \
--to=sudeep.holla@arm.com \
--cc=andi.shyti@kernel.org \
--cc=jdelvare@suse.com \
--cc=lihuisong@huawei.com \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-hwmon@vger.kernel.org \
--cc=linux-i2c@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@roeck-us.net \
--cc=rafael.j.wysocki@intel.com \
--cc=rafael@kernel.org \
/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