* Re: [GIT PULL 4/7] firmware/tegra: Changes for v7.4-rc1 [not found] ` <20261003095924.1370238-4-thierry.reding@kernel.org> @ 2026-10-13 17:22 ` Arnd Bergmann 2026-11-04 12:42 ` Thierry Reding 0 siblings, 1 reply; 12+ messages in thread From: Arnd Bergmann @ 2026-10-13 17:22 UTC (permalink / raw) To: Thierry Reding, arm, soc Cc: Jon Hunter, linux-tegra, linux-arm-kernel, Rafael J. Wysocki, Len Brown, linux-acpi On Sat, Oct 3, 2026, at 11:59, Thierry Reding wrote: > ---------------------------------------------------------------- > firmware/tegra: Changes for v7.4-rc1 > > The bulk of this adds ACPI support to BPMP as well as a mechanism to > throttle bandwidth for various high speed interconnects. Some smaller > cleanup and typofixes are also included. > > ---------------------------------------------------------------- > Aniruddha Rao (6): > firmware: tegra: bpmp: Move channel initialization to helper > firmware: tegra: bpmp: Add ACPI support [adding ACPI maintainers to Cc] I'd like some clarification about the process here, as I see that the ACPI support patch ee98ea41ee3f ("firmware: tegra: bpmp: Add ACPI support") only has a signoff from both of you and no other review tag. Where is the ACPI binding documentation for this driver, and who is responsible for reviewing it? Arnd ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [GIT PULL 4/7] firmware/tegra: Changes for v7.4-rc1 2026-10-13 17:22 ` [GIT PULL 4/7] firmware/tegra: Changes for v7.4-rc1 Arnd Bergmann @ 2026-11-04 12:42 ` Thierry Reding 2026-11-04 14:11 ` Arnd Bergmann 0 siblings, 1 reply; 12+ messages in thread From: Thierry Reding @ 2026-11-04 12:42 UTC (permalink / raw) To: Arnd Bergmann Cc: arm, soc, Jon Hunter, linux-tegra, linux-arm-kernel, Rafael J. Wysocki, Len Brown, linux-acpi [-- Attachment #1: Type: text/plain, Size: 2638 bytes --] On Tue, Oct 13, 2026 at 07:22:23PM +0200, Arnd Bergmann wrote: > On Sat, Oct 3, 2026, at 11:59, Thierry Reding wrote: > > ---------------------------------------------------------------- > > firmware/tegra: Changes for v7.4-rc1 > > > > The bulk of this adds ACPI support to BPMP as well as a mechanism to > > throttle bandwidth for various high speed interconnects. Some smaller > > cleanup and typofixes are also included. > > > > ---------------------------------------------------------------- > > Aniruddha Rao (6): > > firmware: tegra: bpmp: Move channel initialization to helper > > firmware: tegra: bpmp: Add ACPI support > > [adding ACPI maintainers to Cc] > > I'd like some clarification about the process here, as I see that the > ACPI support patch ee98ea41ee3f ("firmware: tegra: bpmp: Add ACPI support") > only has a signoff from both of you and no other review tag. > > Where is the ACPI binding documentation for this driver, and who is > responsible for reviewing it? Hi Arnd, Rafael, Len, Sorry for the late reply, this fell through the cracks. Admittedly there's not much of a formal process here at all. Anything I've received up to now seemed to be fairly straightforward support extensions like this where the ACPI tables basically provide the same information as the DT via standard resources like register ranges. I suppose for anything beyond this, we'll want better documentation and broader review. Is there anything in particular that you're looking for? Should I guide people internally to always Cc linux-acpi for anything that concerns ACPI? I'm not very familiar with ACPI, so I'm probably not the best reviewer, but I'm sure I'll get the hang of it over time. Generally I think the same principles that we use elsewhere apply: use ACPI standards where we can (standard interfaces, resources, etc.) and if device-specific configuration is needed, use _DSD key-value pairs to mirror what we've done for DT (and also mirror back any new properties needed by ACPI to DT schemas). For anything that isn't (and can't be) documented as part of DT schemas and still custom descriptions are needed, we probably should have some documentation in Documentation/firmware-guide/acpi. One problem that I see with ACPI, and which we successfully side-stepped with DT, is that we usually get "baked-in" ACPI tables, meaning we don't have much of a choice but to accept whatever is provided. In a way that is a step back for Linux, so hopefully we can get better practices in place and avoid this turning into a big mess down the road. Thierry [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 833 bytes --] ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [GIT PULL 4/7] firmware/tegra: Changes for v7.4-rc1 2026-11-04 12:42 ` Thierry Reding @ 2026-11-04 14:11 ` Arnd Bergmann 2026-11-04 14:40 ` Thierry Reding 0 siblings, 1 reply; 12+ messages in thread From: Arnd Bergmann @ 2026-11-04 14:11 UTC (permalink / raw) To: Thierry Reding Cc: arm, soc, Jon Hunter, linux-tegra, linux-arm-kernel, Rafael J . Wysocki, Len Brown, linux-acpi On Wed, Nov 4, 2026, at 13:42, Thierry Reding wrote: > On Tue, Oct 13, 2026 at 07:22:23PM +0200, Arnd Bergmann wrote: >> On Sat, Oct 3, 2026, at 11:59, Thierry Reding wrote: >> >> Where is the ACPI binding documentation for this driver, and who is >> responsible for reviewing it? > > Hi Arnd, Rafael, Len, > > Sorry for the late reply, this fell through the cracks. > > Admittedly there's not much of a formal process here at all. Anything > I've received up to now seemed to be fairly straightforward support > extensions like this where the ACPI tables basically provide the same > information as the DT via standard resources like register ranges. > > I suppose for anything beyond this, we'll want better documentation and > broader review. > > Is there anything in particular that you're looking for? Should I guide > people internally to always Cc linux-acpi for anything that concerns > ACPI? I don't know, I'm also still learning about how this is done, I was hoping that there was already an established way. Having a review done by the ACPI maintainers would definitely help from my point of view, but I'm not sure whether they are set up for that, in case there are a lot of new drivers. I assume there is a knowledge gap in both subsystem maintainers regarding ACPI (certainly this is the case for me for drivers/bus, drivers/firmware, drivers/soc, etc) and ACPI maintainers regarding many of the subsystems that we support with DT. > I'm not very familiar with ACPI, so I'm probably not the best reviewer, > but I'm sure I'll get the hang of it over time. Generally I think the > same principles that we use elsewhere apply: use ACPI standards where we > can (standard interfaces, resources, etc.) and if device-specific > configuration is needed, use _DSD key-value pairs to mirror what we've > done for DT (and also mirror back any new properties needed by ACPI to > DT schemas). For anything that isn't (and can't be) documented as part > of DT schemas and still custom descriptions are needed, we probably > should have some documentation in Documentation/firmware-guide/acpi. > > One problem that I see with ACPI, and which we successfully side-stepped > with DT, is that we usually get "baked-in" ACPI tables, meaning we don't > have much of a choice but to accept whatever is provided. In a way that > is a step back for Linux, so hopefully we can get better practices in > place and avoid this turning into a big mess down the road. Hopefully there is a process in place to amend bindings in a backward compatible way. I would always expect issues to come up during driver review that lead to firmware binding changes. Since in this case both the firmware and the driver are provided by NVIDIA, I don't think we should treat the firmware as an opaque blob that can't be changed as we might for other machines. Arnd ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [GIT PULL 4/7] firmware/tegra: Changes for v7.4-rc1 2026-11-04 14:11 ` Arnd Bergmann @ 2026-11-04 14:40 ` Thierry Reding 2026-11-04 16:28 ` Rafael J. Wysocki (Intel) 0 siblings, 1 reply; 12+ messages in thread From: Thierry Reding @ 2026-11-04 14:40 UTC (permalink / raw) To: Arnd Bergmann Cc: arm, soc, Jon Hunter, linux-tegra, linux-arm-kernel, Rafael J . Wysocki, Len Brown, linux-acpi [-- Attachment #1: Type: text/plain, Size: 4789 bytes --] On Wed, Nov 04, 2026 at 03:11:09PM +0100, Arnd Bergmann wrote: > On Wed, Nov 4, 2026, at 13:42, Thierry Reding wrote: > > On Tue, Oct 13, 2026 at 07:22:23PM +0200, Arnd Bergmann wrote: > >> On Sat, Oct 3, 2026, at 11:59, Thierry Reding wrote: > >> > >> Where is the ACPI binding documentation for this driver, and who is > >> responsible for reviewing it? > > > > Hi Arnd, Rafael, Len, > > > > Sorry for the late reply, this fell through the cracks. > > > > Admittedly there's not much of a formal process here at all. Anything > > I've received up to now seemed to be fairly straightforward support > > extensions like this where the ACPI tables basically provide the same > > information as the DT via standard resources like register ranges. > > > > I suppose for anything beyond this, we'll want better documentation and > > broader review. > > > > Is there anything in particular that you're looking for? Should I guide > > people internally to always Cc linux-acpi for anything that concerns > > ACPI? > > I don't know, I'm also still learning about how this is done, I > was hoping that there was already an established way. Yeah, me too. Maybe Rafael and Len can provide some guidance here. I don't know how ACPI on more traditional platforms works, but I imagine that it's a lot of the same anyway, except perhaps that people have more experience with the spec and today might be doing a good job already. > Having a review done by the ACPI maintainers would definitely > help from my point of view, but I'm not sure whether they are > set up for that, in case there are a lot of new drivers. I think platform maintainers need to be a first line of defense here since they sit at the intersection of a lot of this. At least that's the case for me. Also, I'm eager to learn how to do this right, but I'm often at a loss of where to start. The spec is a bit daunting, and then there's various extensions, too. Maybe the AI genies can help me ramp up. > I assume there is a knowledge gap in both subsystem maintainers > regarding ACPI (certainly this is the case for me for drivers/bus, > drivers/firmware, drivers/soc, etc) and ACPI maintainers regarding > many of the subsystems that we support with DT. Agreed. I've seen some patches where the ACPI support was as simple as just adding an ID table entry and the rest was all standard, but I think once we move beyond standard resources things might get a bit more complicated. I imagine that ACPI may not even have specs for certain aspects that we currently handle in DT... > > I'm not very familiar with ACPI, so I'm probably not the best reviewer, > > but I'm sure I'll get the hang of it over time. Generally I think the > > same principles that we use elsewhere apply: use ACPI standards where we > > can (standard interfaces, resources, etc.) and if device-specific > > configuration is needed, use _DSD key-value pairs to mirror what we've > > done for DT (and also mirror back any new properties needed by ACPI to > > DT schemas). For anything that isn't (and can't be) documented as part > > of DT schemas and still custom descriptions are needed, we probably > > should have some documentation in Documentation/firmware-guide/acpi. > > > > One problem that I see with ACPI, and which we successfully side-stepped > > with DT, is that we usually get "baked-in" ACPI tables, meaning we don't > > have much of a choice but to accept whatever is provided. In a way that > > is a step back for Linux, so hopefully we can get better practices in > > place and avoid this turning into a big mess down the road. > > Hopefully there is a process in place to amend bindings in a backward > compatible way. I would always expect issues to come up during driver > review that lead to firmware binding changes. Since in this case > both the firmware and the driver are provided by NVIDIA, I don't > think we should treat the firmware as an opaque blob that can't > be changed as we might for other machines. If we follow best practices that we've learned during the DT transition, backwards-compatibility shouldn't be all that much of an issue, I think. But maybe I'm a bit optimistic... From my perspective, these kinds of processes need to be injected as early into the chip development cycle as possible, which comes with its own set of challenges (secrecy, timelines, ...). Even if you submit patches for upstream relatively quickly, which we often do these days, it's usually at a point where hardware is relatively fix already and it becomes increasingly harder to update ACPI tables after that point. I'll see if we can adjust some of our internal processes to get this sort of feedback into the loop earlier on. Thierry [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 833 bytes --] ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [GIT PULL 4/7] firmware/tegra: Changes for v7.4-rc1 2026-11-04 14:40 ` Thierry Reding @ 2026-11-04 16:28 ` Rafael J. Wysocki (Intel) 2026-11-04 17:08 ` Andy Shevchenko 0 siblings, 1 reply; 12+ messages in thread From: Rafael J. Wysocki (Intel) @ 2026-11-04 16:28 UTC (permalink / raw) To: Thierry Reding, Arnd Bergmann Cc: arm, soc, Jon Hunter, linux-tegra, linux-arm-kernel, Len Brown, linux-acpi, Lorenzo Pieralisi, Sudeep Holla, Hans de Goede, Jonathan Cameron, Andy Shevchenko, Mika Westerberg, Ilpo Järvinen Thierry, Arnd, On Wed, Nov 4, 2026 at 3:41 PM Thierry Reding <thierry.reding@kernel.org> wrote: > > On Wed, Nov 04, 2026 at 03:11:09PM +0100, Arnd Bergmann wrote: > > On Wed, Nov 4, 2026, at 13:42, Thierry Reding wrote: > > > On Tue, Oct 13, 2026 at 07:22:23PM +0200, Arnd Bergmann wrote: > > >> On Sat, Oct 3, 2026, at 11:59, Thierry Reding wrote: > > >> > > >> Where is the ACPI binding documentation for this driver, and who is > > >> responsible for reviewing it? > > > > > > Hi Arnd, Rafael, Len, > > > > > > Sorry for the late reply, this fell through the cracks. > > > > > > Admittedly there's not much of a formal process here at all. Anything > > > I've received up to now seemed to be fairly straightforward support > > > extensions like this where the ACPI tables basically provide the same > > > information as the DT via standard resources like register ranges. > > > > > > I suppose for anything beyond this, we'll want better documentation and > > > broader review. > > > > > > Is there anything in particular that you're looking for? Should I guide > > > people internally to always Cc linux-acpi for anything that concerns > > > ACPI? > > > > I don't know, I'm also still learning about how this is done, I > > was hoping that there was already an established way. > > Yeah, me too. Maybe Rafael and Len can provide some guidance here. I cannot speak for Len, and he has not been actively involved in the maintenance of ACPI support in the kernel for several years. As far as I'm concerned, the code maintained by me is mostly located in drivers/acpi/ (as per the relevant MAINTAINERS entries) and it is mostly generic code related to ACPI support. I generally don't maintain device drivers using ACPI support except for the ones under drivers/acpi/ which mostly bind to devices representing interfaces defined in the ACPI specification (which is kind of a special case). But there is more. There is ACPI support code in other places (like for instance gpiolib-acpi maintained by Andy and Mika, or platform-x86 drivers maintained by Ilpo) and there are experienced kernel developers in the ARM ecosystem with quite a bit of ACPI-related knowledge (Hans, Jonathan, Sudeep, Lorenzo - all CCed) who can be reached out to for guidance (and arguably they have more experience with ARM platforms than I do). > I don't know how ACPI on more traditional platforms works, but I imagine > that it's a lot of the same anyway, except perhaps that people have more > experience with the spec and today might be doing a good job already. If you have any specific questions, I think I should be able to answer at least some of them, but I'm afraid I cannot give you general guidance on how to do ACPI support in device drivers that would be universally useful. Different drivers have different needs. There are things in ACPI that are not present in DT and vice versa. It also depends on what bus types we're talking about (platform vs PCI vs USB etc). > > Having a review done by the ACPI maintainers would definitely So as per the above, who exactly do you mean by "ACPI maintainers"? If you mean "the people maintaining the code in drivers/acpi/", that's just me and quite frankly, I'm not sure if my review, specifically, would be super-useful for driver development (the fact that my review bandwidth is almost completely saturated nowadays aside). My recommendation would be to ask other people within the ARM ecosystem who have more experience with ACPI for help. > > help from my point of view, but I'm not sure whether they are > > set up for that, in case there are a lot of new drivers. I am not and had I been trying to do it, it wouldn't have scaled anyway. > I think platform maintainers need to be a first line of defense here > since they sit at the intersection of a lot of this. At least that's the > case for me. Also, I'm eager to learn how to do this right, but I'm > often at a loss of where to start. The spec is a bit daunting, and then > there's various extensions, too. Maybe the AI genies can help me ramp > up. My advice would be to reach out to people within your ecosystem in the first place. > > I assume there is a knowledge gap in both subsystem maintainers > > regarding ACPI (certainly this is the case for me for drivers/bus, > > drivers/firmware, drivers/soc, etc) and ACPI maintainers regarding > > many of the subsystems that we support with DT. > > Agreed. I've seen some patches where the ACPI support was as simple as > just adding an ID table entry and the rest was all standard, but I think > once we move beyond standard resources things might get a bit more > complicated. I imagine that ACPI may not even have specs for certain > aspects that we currently handle in DT... That certainly is true, but the ACPI specification is under active development and pieces that are missing can be added to it. There is a process for that in place and ARM people take part in it. ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [GIT PULL 4/7] firmware/tegra: Changes for v7.4-rc1 2026-11-04 16:28 ` Rafael J. Wysocki (Intel) @ 2026-11-04 17:08 ` Andy Shevchenko 2026-11-05 0:11 ` Jonathan Cameron 0 siblings, 1 reply; 12+ messages in thread From: Andy Shevchenko @ 2026-11-04 17:08 UTC (permalink / raw) To: Rafael J. Wysocki (Intel) Cc: Thierry Reding, Arnd Bergmann, arm, soc, Jon Hunter, linux-tegra, linux-arm-kernel, Len Brown, linux-acpi, Lorenzo Pieralisi, Sudeep Holla, Hans de Goede, Jonathan Cameron, Mika Westerberg, Ilpo Järvinen On Wed, Nov 04, 2026 at 05:28:18PM +0100, Rafael J. Wysocki (Intel) wrote: > On Wed, Nov 4, 2026 at 3:41 PM Thierry Reding <thierry.reding@kernel.org> wrote: > > On Wed, Nov 04, 2026 at 03:11:09PM +0100, Arnd Bergmann wrote: > > > On Wed, Nov 4, 2026, at 13:42, Thierry Reding wrote: > > > > On Tue, Oct 13, 2026 at 07:22:23PM +0200, Arnd Bergmann wrote: > > > >> On Sat, Oct 3, 2026, at 11:59, Thierry Reding wrote: > > > >> > > > >> Where is the ACPI binding documentation for this driver, and who is > > > >> responsible for reviewing it? > > > > > > > > Sorry for the late reply, this fell through the cracks. > > > > > > > > Admittedly there's not much of a formal process here at all. Anything > > > > I've received up to now seemed to be fairly straightforward support > > > > extensions like this where the ACPI tables basically provide the same > > > > information as the DT via standard resources like register ranges. > > > > > > > > I suppose for anything beyond this, we'll want better documentation and > > > > broader review. > > > > > > > > Is there anything in particular that you're looking for? Should I guide > > > > people internally to always Cc linux-acpi for anything that concerns > > > > ACPI? > > > > > > I don't know, I'm also still learning about how this is done, I > > > was hoping that there was already an established way. > > > > Yeah, me too. Maybe Rafael and Len can provide some guidance here. > > I cannot speak for Len, and he has not been actively involved in the > maintenance of ACPI support in the kernel for several years. > > As far as I'm concerned, the code maintained by me is mostly located > in drivers/acpi/ (as per the relevant MAINTAINERS entries) and it is > mostly generic code related to ACPI support. I generally don't > maintain device drivers using ACPI support except for the ones under > drivers/acpi/ which mostly bind to devices representing interfaces > defined in the ACPI specification (which is kind of a special case). > > But there is more. There is ACPI support code in other places (like > for instance gpiolib-acpi maintained by Andy and Mika, or platform-x86 > drivers maintained by Ilpo) and there are experienced kernel > developers in the ARM ecosystem with quite a bit of ACPI-related > knowledge (Hans, Jonathan, Sudeep, Lorenzo - all CCed) who can be > reached out to for guidance (and arguably they have more experience > with ARM platforms than I do). > > > I don't know how ACPI on more traditional platforms works, but I imagine > > that it's a lot of the same anyway, except perhaps that people have more > > experience with the spec and today might be doing a good job already. > > If you have any specific questions, I think I should be able to answer > at least some of them, but I'm afraid I cannot give you general > guidance on how to do ACPI support in device drivers that would be > universally useful. Different drivers have different needs. > > There are things in ACPI that are not present in DT and vice versa. > It also depends on what bus types we're talking about (platform vs PCI > vs USB etc). And don't forget the big player(s) such as Microsoft that from time to time creates an "extension" to the ACPI (in means of additional tables or how some of the existing data should be interpreted if it's not clear from the ACPI specification). For instance, above mentioned USB ACPI support for some cases heavily relies on the MS "extensions". Or earlycon support for ACPI is based on MS defined SPCR table. And so on... > > > Having a review done by the ACPI maintainers would definitely > > So as per the above, who exactly do you mean by "ACPI maintainers"? > If you mean "the people maintaining the code in drivers/acpi/", that's > just me and quite frankly, I'm not sure if my review, specifically, > would be super-useful for driver development (the fact that my review > bandwidth is almost completely saturated nowadays aside). > > My recommendation would be to ask other people within the ARM > ecosystem who have more experience with ACPI for help. > > > > help from my point of view, but I'm not sure whether they are > > > set up for that, in case there are a lot of new drivers. > > I am not and had I been trying to do it, it wouldn't have scaled anyway. > > > I think platform maintainers need to be a first line of defense here > > since they sit at the intersection of a lot of this. At least that's the > > case for me. Also, I'm eager to learn how to do this right, but I'm > > often at a loss of where to start. The spec is a bit daunting, and then > > there's various extensions, too. Maybe the AI genies can help me ramp > > up. > > My advice would be to reach out to people within your ecosystem in the > first place. > > > > I assume there is a knowledge gap in both subsystem maintainers > > > regarding ACPI (certainly this is the case for me for drivers/bus, > > > drivers/firmware, drivers/soc, etc) and ACPI maintainers regarding > > > many of the subsystems that we support with DT. > > > > Agreed. I've seen some patches where the ACPI support was as simple as > > just adding an ID table entry and the rest was all standard, but I think > > once we move beyond standard resources things might get a bit more > > complicated. I imagine that ACPI may not even have specs for certain > > aspects that we currently handle in DT... > > That certainly is true, but the ACPI specification is under active > development and pieces that are missing can be added to it. There is > a process for that in place and ARM people take part in it. On top of the above in Linux we also developed some "extensions", for instance how I²C muxes are described, or how some multi-functional devices are being enumerated. These specifics we usually document under Documentation/firmware-guide/acpi/ (see i2c-muxes.rst for the mentioned case). -- With Best Regards, Andy Shevchenko ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [GIT PULL 4/7] firmware/tegra: Changes for v7.4-rc1 2026-11-04 17:08 ` Andy Shevchenko @ 2026-11-05 0:11 ` Jonathan Cameron 2026-11-05 9:30 ` Sudeep Holla 0 siblings, 1 reply; 12+ messages in thread From: Jonathan Cameron @ 2026-11-05 0:11 UTC (permalink / raw) To: Andy Shevchenko Cc: Rafael J. Wysocki (Intel), Thierry Reding, Arnd Bergmann, arm, soc, Jon Hunter, linux-tegra, linux-arm-kernel, Len Brown, linux-acpi, Lorenzo Pieralisi, Sudeep Holla, Hans de Goede, Jonathan Cameron, Mika Westerberg, Ilpo Järvinen, James Morse, Ben Horgan, Sizhe Liu On Wed, 4 Nov 2026 19:08:01 +0200 Andy Shevchenko <andriy.shevchenko@linux.intel.com> wrote: > On Wed, Nov 04, 2026 at 05:28:18PM +0100, Rafael J. Wysocki (Intel) wrote: > > On Wed, Nov 4, 2026 at 3:41 PM Thierry Reding <thierry.reding@kernel.org> wrote: > > > On Wed, Nov 04, 2026 at 03:11:09PM +0100, Arnd Bergmann wrote: > > > > On Wed, Nov 4, 2026, at 13:42, Thierry Reding wrote: > > > > > On Tue, Oct 13, 2026 at 07:22:23PM +0200, Arnd Bergmann wrote: > > > > >> On Sat, Oct 3, 2026, at 11:59, Thierry Reding wrote: > > > > >> > > > > >> Where is the ACPI binding documentation for this driver, and who is > > > > >> responsible for reviewing it? > > > > > > > > > > Sorry for the late reply, this fell through the cracks. > > > > > > > > > > Admittedly there's not much of a formal process here at all. Anything > > > > > I've received up to now seemed to be fairly straightforward support > > > > > extensions like this where the ACPI tables basically provide the same > > > > > information as the DT via standard resources like register ranges. > > > > > > > > > > I suppose for anything beyond this, we'll want better documentation and > > > > > broader review. > > > > > > > > > > Is there anything in particular that you're looking for? Should I guide > > > > > people internally to always Cc linux-acpi for anything that concerns > > > > > ACPI? > > > > > > > > I don't know, I'm also still learning about how this is done, I > > > > was hoping that there was already an established way. > > > > > > Yeah, me too. Maybe Rafael and Len can provide some guidance here. > > > > I cannot speak for Len, and he has not been actively involved in the > > maintenance of ACPI support in the kernel for several years. > > > > As far as I'm concerned, the code maintained by me is mostly located > > in drivers/acpi/ (as per the relevant MAINTAINERS entries) and it is > > mostly generic code related to ACPI support. I generally don't > > maintain device drivers using ACPI support except for the ones under > > drivers/acpi/ which mostly bind to devices representing interfaces > > defined in the ACPI specification (which is kind of a special case). > > > > But there is more. There is ACPI support code in other places (like > > for instance gpiolib-acpi maintained by Andy and Mika, or platform-x86 > > drivers maintained by Ilpo) and there are experienced kernel > > developers in the ARM ecosystem with quite a bit of ACPI-related > > knowledge (Hans, Jonathan, Sudeep, Lorenzo - all CCed) who can be > > reached out to for guidance (and arguably they have more experience > > with ARM platforms than I do). > > > > > I don't know how ACPI on more traditional platforms works, but I imagine > > > that it's a lot of the same anyway, except perhaps that people have more > > > experience with the spec and today might be doing a good job already. > > > > If you have any specific questions, I think I should be able to answer > > at least some of them, but I'm afraid I cannot give you general > > guidance on how to do ACPI support in device drivers that would be > > universally useful. Different drivers have different needs. > > > > There are things in ACPI that are not present in DT and vice versa. > > It also depends on what bus types we're talking about (platform vs PCI > > vs USB etc). > > And don't forget the big player(s) such as Microsoft that from time to time > creates an "extension" to the ACPI (in means of additional tables or how some > of the existing data should be interpreted if it's not clear from the ACPI > specification). For instance, above mentioned USB ACPI support for some cases > heavily relies on the MS "extensions". Or earlycon support for ACPI is based > on MS defined SPCR table. And so on... > > > > > Having a review done by the ACPI maintainers would definitely > > > > So as per the above, who exactly do you mean by "ACPI maintainers"? > > If you mean "the people maintaining the code in drivers/acpi/", that's > > just me and quite frankly, I'm not sure if my review, specifically, > > would be super-useful for driver development (the fact that my review > > bandwidth is almost completely saturated nowadays aside). > > > > My recommendation would be to ask other people within the ARM > > ecosystem who have more experience with ACPI for help. > > > > > > help from my point of view, but I'm not sure whether they are > > > > set up for that, in case there are a lot of new drivers. > > > > I am not and had I been trying to do it, it wouldn't have scaled anyway. > > > > > I think platform maintainers need to be a first line of defense here > > > since they sit at the intersection of a lot of this. At least that's the > > > case for me. Also, I'm eager to learn how to do this right, but I'm > > > often at a loss of where to start. The spec is a bit daunting, and then > > > there's various extensions, too. Maybe the AI genies can help me ramp > > > up. > > > > My advice would be to reach out to people within your ecosystem in the > > first place. It is a bit of a guessing game to figure out who are the right people today when it comes to ACPI and both ARM and x86 platforms. They fall into a few categories and it depends on what you are trying to do. Starting point is push back hard on your firmware folk wrt to shipping something random without an upstream discussion first. You wouldn't expect that to work for dt, it shouldn't work for ACPI either. Features will get rejected if people try to just do something that works for them (same as a weird custom DT binding gets rejected). 1) Basic stand alone driver stuff. Mostly that's all pretty standard and follow the specs where possible. If there are gaps start asking questions. Linux definitely doesn't support all the stuff that has been added to the spec in recent years. So this covers things like register addresses, interrupts etc. All fine, hopefully a subsystem maintainer can take a look and will have enough of any idea. If not ping the folk on this thread for help. Things are a bit flexible for consumer type devices where fixed and bodges are common, generally less so if it is server grade hardware. 2) Stuff that is an ACPI spec gap or place where we'd expect generalization. There are several examples of this on list this week and a few more in my inbox. The particular series here might fall into this category. I've not figured out enough of the details yet to say definitively. I'd also expect a driver using AML as the target interface to either point at a published spec doc, or to include some snippets of the AML - that can be a lot easier to read than the driver code (imagine reading DT by only looking at how drivers parse it). FWIW The driver feature in question looks like it is doing something a bit similar to the PCI trace and tune driver Hisilicon has (though IIRC that has a presence as a PCI driver) https://docs.kernel.org/trace/hisi-ptt.html or if you squint at it differently resctrl / mpam fb. Given that has new ABI etc, I'd expect that to have gotten broader review as well. Probably keeping it to linux-tegra and lkml alone wasn't going to result in anyone noticing! https://lore.kernel.org/all/?q=20260929095915.2215685-1-anrao@nvidia.com Anyhow, feel free to reach out if you want some feedback on this or similar. I can perhaps at least point you to someone who knows a specific area better than me. Jonathan > > > > > > I assume there is a knowledge gap in both subsystem maintainers > > > > regarding ACPI (certainly this is the case for me for drivers/bus, > > > > drivers/firmware, drivers/soc, etc) and ACPI maintainers regarding > > > > many of the subsystems that we support with DT. > > > > > > Agreed. I've seen some patches where the ACPI support was as simple as > > > just adding an ID table entry and the rest was all standard, but I think > > > once we move beyond standard resources things might get a bit more > > > complicated. I imagine that ACPI may not even have specs for certain > > > aspects that we currently handle in DT... > > > > That certainly is true, but the ACPI specification is under active > > development and pieces that are missing can be added to it. There is > > a process for that in place and ARM people take part in it. > > > On top of the above in Linux we also developed some "extensions", for instance > how I²C muxes are described, or how some multi-functional devices are being > enumerated. These specifics we usually document under > Documentation/firmware-guide/acpi/ (see i2c-muxes.rst for the mentioned case). > ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [GIT PULL 4/7] firmware/tegra: Changes for v7.4-rc1 2026-11-05 0:11 ` Jonathan Cameron @ 2026-11-05 9:30 ` Sudeep Holla 2026-11-05 9:54 ` Arnd Bergmann 0 siblings, 1 reply; 12+ messages in thread From: Sudeep Holla @ 2026-11-05 9:30 UTC (permalink / raw) To: Jonathan Cameron Cc: Andy Shevchenko, Rafael J. Wysocki (Intel), Sudeep Holla, Thierry Reding, Arnd Bergmann, arm, soc, Jon Hunter, linux-tegra, linux-arm-kernel, Len Brown, linux-acpi, Lorenzo Pieralisi, Hans de Goede, Jonathan Cameron, Mika Westerberg, Ilpo Järvinen, James Morse, Ben Horgan, Sizhe Liu Hi all, On Wed, Nov 04, 2026 at 04:11:25PM -0800, Jonathan Cameron wrote: > > It is a bit of a guessing game to figure out who are the right people today > when it comes to ACPI and both ARM and x86 platforms. > > They fall into a few categories and it depends on what you are trying to > do. Starting point is push back hard on your firmware folk wrt to shipping > something random without an upstream discussion first. You wouldn't expect > that to work for dt, it shouldn't work for ACPI either. Features > will get rejected if people try to just do something that works for them > (same as a weird custom DT binding gets rejected). > > 1) Basic stand alone driver stuff. Mostly that's all pretty standard > and follow the specs where possible. If there are gaps start asking > questions. Linux definitely doesn't support all the stuff that has been > added to the spec in recent years. So this covers things like register > addresses, interrupts etc. All fine, hopefully a subsystem maintainer > can take a look and will have enough of any idea. If not ping the folk > on this thread for help. Things are a bit flexible for consumer type > devices where fixed and bodges are common, generally less so if it is > server grade hardware. > > 2) Stuff that is an ACPI spec gap or place where we'd expect generalization. > There are several examples of this on list this week and a few more in > my inbox. The particular series here might fall into this category. > I've not figured out enough of the details yet to say definitively. > Nicely summarised or categorised Jonathan. Nothing much to add. For most of the IP/devices/firmware associated with Arm, we are involved in any specification work if there are any. However that doesn't include 3rd party IPs/devices used on Arm based platforms though. > I'd also expect a driver using AML as the target interface to either > point at a published spec doc, or to include some snippets > of the AML - that can be a lot easier to read than the driver code > (imagine reading DT by only looking at how drivers parse it). > Ideally, it should be just HID that any vendor needs to publish unless they make use of any custom methods or something device specific like DSD/DSM. I would expect most of the devices to use standard methods and properties that are already well defined in the ACPI spec. > FWIW The driver feature in question looks like it is doing something a bit similar > to the PCI trace and tune driver Hisilicon has (though IIRC that has > a presence as a PCI driver) https://docs.kernel.org/trace/hisi-ptt.html > or if you squint at it differently resctrl / mpam fb. > > Given that has new ABI etc, I'd expect that to have gotten broader review > as well. Probably keeping it to linux-tegra and lkml alone wasn't > going to result in anyone noticing! > > https://lore.kernel.org/all/?q=20260929095915.2215685-1-anrao@nvidia.com > Agreed, it shouldn't hurt to cc linux-acpi for such driver ACPI enablement patches. -- Regards, Sudeep ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [GIT PULL 4/7] firmware/tegra: Changes for v7.4-rc1 2026-11-05 9:30 ` Sudeep Holla @ 2026-11-05 9:54 ` Arnd Bergmann 2026-11-05 10:23 ` Sudeep Holla 0 siblings, 1 reply; 12+ messages in thread From: Arnd Bergmann @ 2026-11-05 9:54 UTC (permalink / raw) To: Sudeep Holla, Jonathan Cameron Cc: Andy Shevchenko, Rafael J . Wysocki, Thierry Reding, arm, soc, Jon Hunter, linux-tegra, linux-arm-kernel, Len Brown, linux-acpi, Lorenzo Pieralisi, Hans de Goede, Jonathan Cameron, Mika Westerberg, Ilpo Järvinen, James Morse, Ben Horgan, Sizhe Liu On Thu, Nov 5, 2026, at 10:30, Sudeep Holla wrote: > On Wed, Nov 04, 2026 at 04:11:25PM -0800, Jonathan Cameron wrote: >> 1) Basic stand alone driver stuff. Mostly that's all pretty standard >> and follow the specs where possible. If there are gaps start asking >> questions. Linux definitely doesn't support all the stuff that has been >> added to the spec in recent years. So this covers things like register >> addresses, interrupts etc. All fine, hopefully a subsystem maintainer >> can take a look and will have enough of any idea. If not ping the folk >> on this thread for help. Things are a bit flexible for consumer type >> devices where fixed and bodges are common, generally less so if it is >> server grade hardware. >> >> 2) Stuff that is an ACPI spec gap or place where we'd expect generalization. >> There are several examples of this on list this week and a few more in >> my inbox. The particular series here might fall into this category. >> I've not figured out enough of the details yet to say definitively. >> > > Nicely summarised or categorised Jonathan. Nothing much to add. +1 >> I'd also expect a driver using AML as the target interface to either >> point at a published spec doc, or to include some snippets >> of the AML - that can be a lot easier to read than the driver code >> (imagine reading DT by only looking at how drivers parse it). >> > > Ideally, it should be just HID that any vendor needs to publish unless > they make use of any custom methods or something device specific like > DSD/DSM. I would expect most of the devices to use standard methods and > properties that are already well defined in the ACPI spec. >> Given that has new ABI etc, I'd expect that to have gotten broader review >> as well. Probably keeping it to linux-tegra and lkml alone wasn't >> going to result in anyone noticing! >> >> https://lore.kernel.org/all/?q=20260929095915.2215685-1-anrao@nvidia.com >> > > Agreed, it shouldn't hurt to cc linux-acpi for such driver ACPI enablement > patches. Is the "BMRQ" in https://lore.kernel.org/all/20260929095915.2215685-3-anrao@nvidia.com/ a custom method then? How does this relate to the EC and PCC interfaces in ACPI systems? In current mainline, I see that the bpmp driver is used on DT systems by the tegra specific cpufreq, memory and pci drivers, but I would expect that on ACPI those all use shared drivers. Are there any other users that are not already covered on ACPI? Arnd ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [GIT PULL 4/7] firmware/tegra: Changes for v7.4-rc1 2026-11-05 9:54 ` Arnd Bergmann @ 2026-11-05 10:23 ` Sudeep Holla 2026-11-05 13:31 ` Thierry Reding 0 siblings, 1 reply; 12+ messages in thread From: Sudeep Holla @ 2026-11-05 10:23 UTC (permalink / raw) To: Arnd Bergmann Cc: Jonathan Cameron, Andy Shevchenko, Rafael J . Wysocki, Thierry Reding, arm, soc, Jon Hunter, linux-tegra, linux-arm-kernel, Len Brown, linux-acpi, Lorenzo Pieralisi, Hans de Goede, Jonathan Cameron, Mika Westerberg, Ilpo Järvinen, James Morse, Ben Horgan, Sizhe Liu On Thu, Nov 05, 2026 at 10:54:42AM +0100, Arnd Bergmann wrote: > On Thu, Nov 5, 2026, at 10:30, Sudeep Holla wrote: > > On Wed, Nov 04, 2026 at 04:11:25PM -0800, Jonathan Cameron wrote: > > >> 1) Basic stand alone driver stuff. Mostly that's all pretty standard > >> and follow the specs where possible. If there are gaps start asking > >> questions. Linux definitely doesn't support all the stuff that has been > >> added to the spec in recent years. So this covers things like register > >> addresses, interrupts etc. All fine, hopefully a subsystem maintainer > >> can take a look and will have enough of any idea. If not ping the folk > >> on this thread for help. Things are a bit flexible for consumer type > >> devices where fixed and bodges are common, generally less so if it is > >> server grade hardware. > >> > >> 2) Stuff that is an ACPI spec gap or place where we'd expect generalization. > >> There are several examples of this on list this week and a few more in > >> my inbox. The particular series here might fall into this category. > >> I've not figured out enough of the details yet to say definitively. > >> > > > > Nicely summarised or categorised Jonathan. Nothing much to add. > > +1 > > >> I'd also expect a driver using AML as the target interface to either > >> point at a published spec doc, or to include some snippets > >> of the AML - that can be a lot easier to read than the driver code > >> (imagine reading DT by only looking at how drivers parse it). > >> > > > > Ideally, it should be just HID that any vendor needs to publish unless > > they make use of any custom methods or something device specific like > > DSD/DSM. I would expect most of the devices to use standard methods and > > properties that are already well defined in the ACPI spec. > > >> Given that has new ABI etc, I'd expect that to have gotten broader review > >> as well. Probably keeping it to linux-tegra and lkml alone wasn't > >> going to result in anyone noticing! > >> > >> https://lore.kernel.org/all/?q=20260929095915.2215685-1-anrao@nvidia.com > >> > > > > Agreed, it shouldn't hurt to cc linux-acpi for such driver ACPI enablement > > patches. > > Is the "BMRQ" in > https://lore.kernel.org/all/20260929095915.2215685-3-anrao@nvidia.com/ > a custom method then? > I’ve quickly reviewed the patch; it does implements a custom method BMRQ rather than a standard or out-of-the-box solution. More details on this is used based on my understanding below. > How does this relate to the EC and PCC interfaces in ACPI systems? > I am still evaluating how the BPMP driver is intended to operate on ACPI systems. In the meantime, I share the same questions noted above. The current commit message lists several driver features that may not be required for ACPI, which has introduced some clarity issues regarding the intended design. > In current mainline, I see that the bpmp driver is used on DT systems > by the tegra specific cpufreq, memory and pci drivers, but I would > expect that on ACPI those all use shared drivers. Are there any other > users that are not already covered on ACPI? > For ACPI systems, CPUFreq operates through CPPC via PCC, MEMIO, or supported backends. My understanding is that the BMRQ method is called by tegra_bpmp_transfer(), which supports Tegra-specific drivers for power domains, clocks, resets, I2C, PCIe, and memory. On ACPI, these can be abstracted through PCC OpRegions as part of standard methods like _ON/_OFF or other device state methods. Although device/memory DVFS is trickier since the ACPI specification lacks standard methods for it today, the commit message implies these components are largely unused on ACPI systems. I have raised a query on the thread to clarify this. -- Regards, Sudeep ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [GIT PULL 4/7] firmware/tegra: Changes for v7.4-rc1 2026-11-05 10:23 ` Sudeep Holla @ 2026-11-05 13:31 ` Thierry Reding 2026-11-05 13:56 ` Sudeep Holla 0 siblings, 1 reply; 12+ messages in thread From: Thierry Reding @ 2026-11-05 13:31 UTC (permalink / raw) To: Sudeep Holla Cc: Arnd Bergmann, Jonathan Cameron, Andy Shevchenko, Rafael J . Wysocki, arm, soc, Jon Hunter, linux-tegra, linux-arm-kernel, Len Brown, linux-acpi, Lorenzo Pieralisi, Hans de Goede, Jonathan Cameron, Mika Westerberg, Ilpo Järvinen, James Morse, Ben Horgan, Sizhe Liu [-- Attachment #1: Type: text/plain, Size: 5021 bytes --] On Thu, Nov 05, 2026 at 10:23:24AM +0000, Sudeep Holla wrote: > On Thu, Nov 05, 2026 at 10:54:42AM +0100, Arnd Bergmann wrote: > > On Thu, Nov 5, 2026, at 10:30, Sudeep Holla wrote: > > > On Wed, Nov 04, 2026 at 04:11:25PM -0800, Jonathan Cameron wrote: > > > > >> 1) Basic stand alone driver stuff. Mostly that's all pretty standard > > >> and follow the specs where possible. If there are gaps start asking > > >> questions. Linux definitely doesn't support all the stuff that has been > > >> added to the spec in recent years. So this covers things like register > > >> addresses, interrupts etc. All fine, hopefully a subsystem maintainer > > >> can take a look and will have enough of any idea. If not ping the folk > > >> on this thread for help. Things are a bit flexible for consumer type > > >> devices where fixed and bodges are common, generally less so if it is > > >> server grade hardware. > > >> > > >> 2) Stuff that is an ACPI spec gap or place where we'd expect generalization. > > >> There are several examples of this on list this week and a few more in > > >> my inbox. The particular series here might fall into this category. > > >> I've not figured out enough of the details yet to say definitively. > > >> > > > > > > Nicely summarised or categorised Jonathan. Nothing much to add. > > > > +1 > > > > >> I'd also expect a driver using AML as the target interface to either > > >> point at a published spec doc, or to include some snippets > > >> of the AML - that can be a lot easier to read than the driver code > > >> (imagine reading DT by only looking at how drivers parse it). > > >> > > > > > > Ideally, it should be just HID that any vendor needs to publish unless > > > they make use of any custom methods or something device specific like > > > DSD/DSM. I would expect most of the devices to use standard methods and > > > properties that are already well defined in the ACPI spec. > > > > >> Given that has new ABI etc, I'd expect that to have gotten broader review > > >> as well. Probably keeping it to linux-tegra and lkml alone wasn't > > >> going to result in anyone noticing! > > >> > > >> https://lore.kernel.org/all/?q=20260929095915.2215685-1-anrao@nvidia.com > > >> > > > > > > Agreed, it shouldn't hurt to cc linux-acpi for such driver ACPI enablement > > > patches. > > > > Is the "BMRQ" in > > https://lore.kernel.org/all/20260929095915.2215685-3-anrao@nvidia.com/ > > a custom method then? > > > > I’ve quickly reviewed the patch; it does implements a custom method BMRQ > rather than a standard or out-of-the-box solution. More details on this is > used based on my understanding below. To get everyone on the same page: in a nutshell, BPMP is a separate processor that handles various aspects of power management (Boot and Power Management Processor). The CPU communicates with it over a shared memory region and a mailbox/doorbell for signalling. > > How does this relate to the EC and PCC interfaces in ACPI systems? > > > > I am still evaluating how the BPMP driver is intended to operate on ACPI > systems. In the meantime, I share the same questions noted above. The current > commit message lists several driver features that may not be required for > ACPI, which has introduced some clarity issues regarding the intended design. My understanding is that an ACPI systems, as opposed to DT where we do this all through kernel drivers, the inter-processor communication is done via AML. This is because standard power management operations use this same mechanism to enable clocks, deassert resets, etc. > > In current mainline, I see that the bpmp driver is used on DT systems > > by the tegra specific cpufreq, memory and pci drivers, but I would > > expect that on ACPI those all use shared drivers. Are there any other > > users that are not already covered on ACPI? > > > > For ACPI systems, CPUFreq operates through CPPC via PCC, MEMIO, or > supported backends. > > My understanding is that the BMRQ method is called by tegra_bpmp_transfer(), > which supports Tegra-specific drivers for power domains, clocks, resets, > I2C, PCIe, and memory. On ACPI, these can be abstracted through PCC > OpRegions as part of standard methods like _ON/_OFF or other device state > methods. Although device/memory DVFS is trickier since the ACPI > specification lacks standard methods for it today, the commit message > implies these components are largely unused on ACPI systems. I think this goes back to the disconnect from the patch thread and earlier in this discussion: the intent was very much to encapsulate all the power management within standard ACPI methods, and that's working fine, hence why clocks, resets and power domains are not getting exposed on ACPI systems. However, there's no equivalent in ACPI to expose these MBWT knobs, hence the need to expose this through BPMP directly. Thierry [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 833 bytes --] ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [GIT PULL 4/7] firmware/tegra: Changes for v7.4-rc1 2026-11-05 13:31 ` Thierry Reding @ 2026-11-05 13:56 ` Sudeep Holla 0 siblings, 0 replies; 12+ messages in thread From: Sudeep Holla @ 2026-11-05 13:56 UTC (permalink / raw) To: Thierry Reding Cc: Arnd Bergmann, Jonathan Cameron, Andy Shevchenko, Rafael J . Wysocki, arm, soc, Jon Hunter, linux-tegra, linux-arm-kernel, Len Brown, linux-acpi, Lorenzo Pieralisi, Hans de Goede, Jonathan Cameron, Mika Westerberg, Ilpo Järvinen, James Morse, Ben Horgan, Sizhe Liu On Thu, Nov 05, 2026 at 02:31:31PM +0100, Thierry Reding wrote: > On Thu, Nov 05, 2026 at 10:23:24AM +0000, Sudeep Holla wrote: > > On Thu, Nov 05, 2026 at 10:54:42AM +0100, Arnd Bergmann wrote: > > > On Thu, Nov 5, 2026, at 10:30, Sudeep Holla wrote: [...] > > > > I’ve quickly reviewed the patch; it does implements a custom method BMRQ > > rather than a standard or out-of-the-box solution. More details on this is > > used based on my understanding below. > > To get everyone on the same page: in a nutshell, BPMP is a separate > processor that handles various aspects of power management (Boot and > Power Management Processor). The CPU communicates with it over a shared > memory region and a mailbox/doorbell for signalling. > I interpret this as PCC is used where needed and that aligns well with my understanding. > > > How does this relate to the EC and PCC interfaces in ACPI systems? > > > > > > > I am still evaluating how the BPMP driver is intended to operate on ACPI > > systems. In the meantime, I share the same questions noted above. The current > > commit message lists several driver features that may not be required for > > ACPI, which has introduced some clarity issues regarding the intended design. > > My understanding is that an ACPI systems, as opposed to DT where we do > this all through kernel drivers, the inter-processor communication is > done via AML. This is because standard power management operations use > this same mechanism to enable clocks, deassert resets, etc. > Thanks for confirming this. I think we are almost aligned with respect to the expectations from any ACPI system firmware. > > > In current mainline, I see that the bpmp driver is used on DT systems > > > by the tegra specific cpufreq, memory and pci drivers, but I would > > > expect that on ACPI those all use shared drivers. Are there any other > > > users that are not already covered on ACPI? > > > > > > > For ACPI systems, CPUFreq operates through CPPC via PCC, MEMIO, or > > supported backends. > > > > My understanding is that the BMRQ method is called by tegra_bpmp_transfer(), > > which supports Tegra-specific drivers for power domains, clocks, resets, > > I2C, PCIe, and memory. On ACPI, these can be abstracted through PCC > > OpRegions as part of standard methods like _ON/_OFF or other device state > > methods. Although device/memory DVFS is trickier since the ACPI > > specification lacks standard methods for it today, the commit message > > implies these components are largely unused on ACPI systems. > > I think this goes back to the disconnect from the patch thread and > earlier in this discussion: the intent was very much to encapsulate all > the power management within standard ACPI methods, and that's working > fine, hence why clocks, resets and power domains are not getting exposed > on ACPI systems. > Agreed and I think we are aligned. > However, there's no equivalent in ACPI to expose these MBWT knobs, hence > the need to expose this through BPMP directly. > IIUC this is Memory Bandwidth Throttling and shouldn't that align with Arm MPAM and resctrl framework in the kernel ? We now have MPAM via PCC, so if the firmware exposes the right interface, you must be able to reuse that. Even otherwise, shouldn't to make this fit with resctrl ? What am I missing ? -- Regards, Sudeep ^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2026-11-05 13:56 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20261003095924.1370238-1-thierry.reding@kernel.org>
[not found] ` <20261003095924.1370238-4-thierry.reding@kernel.org>
2026-10-13 17:22 ` [GIT PULL 4/7] firmware/tegra: Changes for v7.4-rc1 Arnd Bergmann
2026-11-04 12:42 ` Thierry Reding
2026-11-04 14:11 ` Arnd Bergmann
2026-11-04 14:40 ` Thierry Reding
2026-11-04 16:28 ` Rafael J. Wysocki (Intel)
2026-11-04 17:08 ` Andy Shevchenko
2026-11-05 0:11 ` Jonathan Cameron
2026-11-05 9:30 ` Sudeep Holla
2026-11-05 9:54 ` Arnd Bergmann
2026-11-05 10:23 ` Sudeep Holla
2026-11-05 13:31 ` Thierry Reding
2026-11-05 13:56 ` Sudeep Holla
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox