From: Sebin Francis <sebin.francis@ti.com>
To: Beleswar Padhi <b-padhi@ti.com>, <nm@ti.com>, <kristo@kernel.org>,
<ssantosh@kernel.org>, <afd@ti.com>, <vigneshr@ti.com>,
<u-kumar1@ti.com>
Cc: <linux-kernel@vger.kernel.org>,
<linux-arm-kernel@lists.infradead.org>,
Praneeth Bajjuri <praneeth@ti.com>
Subject: Re: [PATCH v3 21/22] firmware: ti: ti_sci_rm: Move rm ops into its own file
Date: Wed, 2 Dec 2026 20:12:57 +0530 [thread overview]
Message-ID: <8336078a-4214-44a5-b576-7ee274afe87d@ti.com> (raw)
In-Reply-To: <20261029181147.266771-22-b-padhi@ti.com>
Hi Beleshwar,
On 29/10/26 23:41, Beleswar Padhi wrote:
> From: Andrew Davis <afd@ti.com>
>
> Extract the resource management operations related functions and
> services from ti_sci_core.c into its own file. This breaks down the
> single large file into smaller logical files for better readability
> and maintenance.
>
> Signed-off-by: Andrew Davis <afd@ti.com>
> Co-developed-by: Beleswar Padhi <b-padhi@ti.com>
> Signed-off-by: Beleswar Padhi <b-padhi@ti.com>
> ---
> v3: Changelog:
> 1. None to this patch.
>
> Link to v2:
> https://lore.kernel.org/all/20260930160607.2674980-22-b-padhi@ti.com/
>
> v2: Changelog:
> 1. Include headers: <linux/bitmap.h>, <linux/of.h> and <linux/slab.h> to
> be able to build ti_sci_rm.c standalone for arm32 platforms like
> keystone.
>
> Link to v1:
> https://lore.kernel.org/all/20260929201746.4078803-22-b-padhi@ti.com/
>
> drivers/firmware/ti/Makefile | 1 +
> drivers/firmware/ti/ti_sci.h | 20 +
> drivers/firmware/ti/ti_sci_core.c | 875 +---------------------------
> drivers/firmware/ti/ti_sci_rm.c | 910 ++++++++++++++++++++++++++++++
> 4 files changed, 936 insertions(+), 870 deletions(-)
> create mode 100644 drivers/firmware/ti/ti_sci_rm.c
>
> diff --git a/drivers/firmware/ti/Makefile b/drivers/firmware/ti/Makefile
> index bbfe73587a3c7..7d9c2a73bf5a6 100644
> --- a/drivers/firmware/ti/Makefile
> +++ b/drivers/firmware/ti/Makefile
> @@ -4,4 +4,5 @@ ti_sci-y := ti_sci_core.o
> ti_sci-y += ti_sci_clock.o
> ti_sci-y += ti_sci_device.o
> ti_sci-y += ti_sci_pm.o
> +ti_sci-y += ti_sci_rm.o
> obj-$(CONFIG_TI_SCI_PROTOCOL) += ti_sci.o
> diff --git a/drivers/firmware/ti/ti_sci.h b/drivers/firmware/ti/ti_sci.h
> index 7a707c632276e..e8d6589eec0e9 100644
> --- a/drivers/firmware/ti/ti_sci.h
> +++ b/drivers/firmware/ti/ti_sci.h
> @@ -112,6 +112,7 @@ struct ti_sci_info {
> int users;
> };
>
> +#define cl_to_ti_sci_info(c) container_of(c, struct ti_sci_info, cl)
This is not used outside ti_sci_core.c so should we move there?
Sebin
> #define handle_to_ti_sci_info(h) container_of(h, struct ti_sci_info, handle)
>
> /* Generic Messages */
> @@ -906,6 +907,16 @@ struct ti_sci_msg_req_manage_irq {
> u8 secondary_host;
> } __packed;
>
> +/**
> + * struct ti_sci_irq - Description of allocated irqs
> + * @node: Link to hash table
> + * @desc: Description of the irq
---
next prev parent reply other threads:[~2026-12-02 15:41 UTC|newest]
Thread overview: 40+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-29 18:11 [PATCH v3 00/22] Cleanup and Refactor TI-SCI driver Beleswar Padhi
2026-10-29 18:11 ` [PATCH v3 01/22] firmware: ti_sci: Move error message handling into ti_sci_get_one_xfer() Beleswar Padhi
2026-10-29 18:11 ` [PATCH v3 02/22] firmware: ti_sci: Move error message handling into ti_sci_do_xfer() Beleswar Padhi
2026-10-29 18:11 ` [PATCH v3 03/22] firmware: ti_sci: Move check for ACK " Beleswar Padhi
2026-10-29 18:11 ` [PATCH v3 04/22] firmware: ti_sci: Remove out of place RM debug messages Beleswar Padhi
2026-10-29 18:11 ` [PATCH v3 05/22] firmware: ti_sci: Name response variable resp for consistency Beleswar Padhi
2026-10-29 18:11 ` [PATCH v3 06/22] firmware: ti_sci: Handle xfer cleanup inside ti_sci_do_xfer() Beleswar Padhi
2026-10-29 18:11 ` [PATCH v3 07/22] firmware: ti_sci: Pass request struct into ti_sci_do_xfer() Beleswar Padhi
2026-10-29 18:11 ` [PATCH v3 08/22] firmware: ti_sci: Combine xfer allocation and transfer functions Beleswar Padhi
2026-12-02 14:17 ` Sebin Francis
2026-12-02 15:05 ` Andrew Davis
2026-12-02 15:15 ` Sebin Francis
2026-10-29 18:11 ` [PATCH v3 09/22] firmware: ti_sci: Fetch info struct from handle inside ti_sci_do_xfer() Beleswar Padhi
2026-12-02 13:26 ` Sebin Francis
2026-12-02 15:09 ` Andrew Davis
2026-12-02 17:30 ` Sebin Francis
2026-10-29 18:11 ` [PATCH v3 10/22] firmware: ti_sci: Use tx_message as message buffer directly Beleswar Padhi
2026-10-29 18:11 ` [PATCH v3 11/22] firmware: ti_sci: Use rx_message as message receive buffer Beleswar Padhi
2026-10-29 18:11 ` [PATCH v3 12/22] firmware: ti_sci: Fix some kernel-doc references in structs Beleswar Padhi
2026-10-29 18:11 ` [PATCH v3 13/22] soc: ti: ti_sci_protocol.h: Add missing documentation for structs Beleswar Padhi
2026-12-02 12:46 ` Sebin Francis
2026-10-29 18:11 ` [PATCH v3 14/22] firmware: ti_sci: Do not export reboot control Beleswar Padhi
2026-10-29 18:11 ` [PATCH v3 15/22] firmware: ti_sci: Use pmops fxn pointers in suspend/resume hooks Beleswar Padhi
2026-12-02 12:55 ` Sebin Francis
2026-12-02 15:29 ` Andrew Davis
2026-10-29 18:11 ` [PATCH v3 16/22] firmware: ti_sci: Move the huge ti_sci file into its own directory Beleswar Padhi
2026-11-20 13:42 ` Nishanth Menon
2026-10-29 18:11 ` [PATCH v3 17/22] firmware: ti: ti_sci: Add missing includes for self-contained headers Beleswar Padhi
2026-10-29 18:11 ` [PATCH v3 18/22] firmware: ti: ti_sci_device: Move device ops into its own file Beleswar Padhi
2026-11-20 13:56 ` Nishanth Menon
2026-12-02 13:48 ` Sebin Francis
2026-10-29 18:11 ` [PATCH v3 19/22] firmware: ti: ti_sci_clock: Move clock " Beleswar Padhi
2026-12-02 14:02 ` Sebin Francis
2026-12-02 14:40 ` Sebin Francis
2026-12-02 15:33 ` Andrew Davis
2026-10-29 18:11 ` [PATCH v3 20/22] firmware: ti: ti_sci_pm: Move pm " Beleswar Padhi
2026-10-29 18:11 ` [PATCH v3 21/22] firmware: ti: ti_sci_rm: Move rm " Beleswar Padhi
2026-12-02 14:42 ` Sebin Francis [this message]
2026-10-29 18:11 ` [PATCH v3 22/22] firmware: ti: ti_sci_proc: Move processor " Beleswar Padhi
2026-11-30 8:53 ` [PATCH v3 00/22] Cleanup and Refactor TI-SCI driver abhash
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=8336078a-4214-44a5-b576-7ee274afe87d@ti.com \
--to=sebin.francis@ti.com \
--cc=afd@ti.com \
--cc=b-padhi@ti.com \
--cc=kristo@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=nm@ti.com \
--cc=praneeth@ti.com \
--cc=ssantosh@kernel.org \
--cc=u-kumar1@ti.com \
--cc=vigneshr@ti.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