Re: [PATCH v3 1/7] syscore: Pass context data to callbacks
Thierry Reding <[email protected]>
| Newsgroups | gmane.linux.ports.riscv,gmane.linux.ports.arm.kernel,gmane.linux.ports.mips,gmane.linux.ports.ppc64.devel,gmane.linux.ports.sh.devel,gmane.linux.kernel.pci,gmane.linux.acpi.devel,gmane.linux.kernel |
|---|---|
| Message-ID | <3dzha4qyqdrbutxby3n5nkvihnxrhniqr6w726eumhzgln2w5l@fbu72mzmjz4m> |
On Mon, Nov 03, 2025 at 05:18:08PM +0100, Rafael J. Wysocki wrote: > On Wed, Oct 29, 2025 at 5:33 PM Thierry Reding <[email protected]> wrote: > > > > From: Thierry Reding <[email protected]> > > > > Several drivers can benefit from registering per-instance data along > > with the syscore operations. To achieve this, move the modifiable fields > > out of the syscore_ops structure and into a separate struct syscore that > > can be registered with the framework. Add a void * driver data field for > > drivers to store contextual data that will be passed to the syscore ops. > > > > Signed-off-by: Thierry Reding <[email protected]> > > This change is fine with me, so I can apply it unless somebody has any > specific heartburn related to it (Greg?), but in case you want to > route it differently > > Acked-by: Rafael J. Wysocki (Intel) <[email protected]> I have a few follow-up patches for the Tegra PMC driver that depend on this. 6.19 is what I was targetting, so if we could put this into a stable branch that'd be the best solution. I can set that up via the Tegra tree if you and Greg are okay with it. If that's all too complicated, I can probably wait until the next cycle to merge the PMC changes. Thierry _______________________________________________ linux-riscv mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-riscv
signature.asc
(application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEiOrDCAFJzPfAjcif3SOs138+s6EFAmkLgLAACgkQ3SOs138+ s6F0Lg//dTn1/PUCYHRhF8cm1xB6JKggiLC40TRct49fcf9eF5gAdCqXm44qKoaF 67aqiXAiwzovTctJIu3rz8p71/FeXp/qGWDdPm/+wI7yD+BoCcVO0nmvXuPwCzhd ZMwqeaRVm57JX4M9S5BdkOGtDLgAjyZ/6Qq/2isiQSPiWWl/IT3YiLyzw8vq8mcY VoepQGK5hm7CHFf8FOBs+sMt6q5JJDm0VjNi+seVcCNg9U25GaXCRc2D9ztAqRib 3768/KMhlftnoJKsizCwWq2Gyw0Se7ifz66djjf51sHd064LLDv7OZpfeGyiFK01 MvVGXoPFuIJB0yqIoMRBbeRULm4kq+dkUkt1JWwYAMw9ZJnhXPJJI8bal2IASj8/ E6NADiYd9HS8kAXWYvLkm0xHv4FN5WXWG2a+Gf6K2vpBm07zG2xnI+eVjYQSnb9W O9TcZf3jDWvgEQ31plH5JFY32sI4vjLAdcKS2oRfkbxFDJvTS+RRjj3EPqFshNXf B5E6pXTCltOkUepuhbGDzIifVWzYgg/GyXNfwzdnJUXcAz7QPPJySfMraf/dn+8S hggVgAivRFDEtaNEqKU6iqoePR3HIUJe/Ebjrb199RV9t4FcnVYOpviJRf5EWpsF 2YEUJPiA7neiac9fPLwCoRh33bJTIzanmWVxmFF1nQ2vozIt68U= =3Mmd -----END PGP SIGNATURE-----