* [PATCH v7 0/3] PCI: tegra: Allow building as a module
@ 2025-07-31 21:59 Aaron Kling via B4 Relay
2025-07-31 21:59 ` [PATCH v7 1/3] irqdomain: Export irq_domain_free_irqs Aaron Kling via B4 Relay
` (4 more replies)
0 siblings, 5 replies; 12+ messages in thread
From: Aaron Kling via B4 Relay @ 2025-07-31 21:59 UTC (permalink / raw)
To: Thomas Gleixner, Lorenzo Pieralisi, Rob Herring, Bjorn Helgaas,
Thierry Reding, Jonathan Hunter, Rafael J. Wysocki,
Daniel Lezcano, Krzysztof Wilczyński, Manivannan Sadhasivam,
Krzysztof Wilczyński
Cc: linux-kernel, linux-pci, linux-tegra, linux-pm, Aaron Kling
Signed-off-by: Aaron Kling <webgeek1234@gmail.com>
---
Changes in v7:
- Rebased on 6.16
- Updated mailing address list
- Link to v6: https://lore.kernel.org/r/20250507-pci-tegra-module-v6-0-5fe363eaa302@gmail.com
Changes in v6:
- Remove unused debugfs cleanup function, as caught by kernel ci
- Link to v5: https://lore.kernel.org/r/20250505-pci-tegra-module-v5-0-827aaac998ba@gmail.com
Changes in v5:
- Copy commit message exactly word for word on patch 1, as required by reviewer
- Delete remove callback in patch 3, per request
- Don't clean up debugfs, per request, which drops patch 4 entirely
- Link to v4: https://lore.kernel.org/r/20250505-pci-tegra-module-v4-0-088b552c4b1a@gmail.com
Changes in v4:
- Updated commit messages for patches 1 and 2, per review
- Link to v3: https://lore.kernel.org/r/20250502-pci-tegra-module-v3-0-556a49732d70@gmail.com
Changes in v3:
- Add patch to drop remove callback, per request
- Link to v2: https://lore.kernel.org/r/20250428-pci-tegra-module-v2-0-c11a4b912446@gmail.com
Changes in v2:
- Add patch to export tegra_cpuidle_pcie_irqs_in_use as required when
building pci-tegra as a module for arm
- Drop module exit to prevent module unloading, as requested
- Link to v1: https://lore.kernel.org/r/20250420-pci-tegra-module-v1-0-c0a1f831354a@gmail.com
---
Aaron Kling (3):
irqdomain: Export irq_domain_free_irqs
cpuidle: tegra: Export tegra_cpuidle_pcie_irqs_in_use
PCI: tegra: Allow building as a module
drivers/cpuidle/cpuidle-tegra.c | 1 +
drivers/pci/controller/Kconfig | 2 +-
drivers/pci/controller/pci-tegra.c | 35 ++++-------------------------------
kernel/irq/irqdomain.c | 1 +
4 files changed, 7 insertions(+), 32 deletions(-)
---
base-commit: 038d61fd642278bab63ee8ef722c50d10ab01e8f
change-id: 20250313-pci-tegra-module-7cbd1c5e70af
Best regards,
--
Aaron Kling <webgeek1234@gmail.com>
^ permalink raw reply [flat|nested] 12+ messages in thread
* [PATCH v7 1/3] irqdomain: Export irq_domain_free_irqs
2025-07-31 21:59 [PATCH v7 0/3] PCI: tegra: Allow building as a module Aaron Kling via B4 Relay
@ 2025-07-31 21:59 ` Aaron Kling via B4 Relay
2025-07-31 21:59 ` [PATCH v7 2/3] cpuidle: tegra: Export tegra_cpuidle_pcie_irqs_in_use Aaron Kling via B4 Relay
` (3 subsequent siblings)
4 siblings, 0 replies; 12+ messages in thread
From: Aaron Kling via B4 Relay @ 2025-07-31 21:59 UTC (permalink / raw)
To: Thomas Gleixner, Lorenzo Pieralisi, Rob Herring, Bjorn Helgaas,
Thierry Reding, Jonathan Hunter, Rafael J. Wysocki,
Daniel Lezcano, Krzysztof Wilczyński, Manivannan Sadhasivam,
Krzysztof Wilczyński
Cc: linux-kernel, linux-pci, linux-tegra, linux-pm, Aaron Kling
From: Aaron Kling <webgeek1234@gmail.com>
Export irq_domain_free_irqs() to allow PCI/MSI drivers like pci-tegra to
be built as a module.
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Aaron Kling <webgeek1234@gmail.com>
---
kernel/irq/irqdomain.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/kernel/irq/irqdomain.c b/kernel/irq/irqdomain.c
index c8b6de09047be768624b622a7a31fad1441de6d2..eb8eb9ee147cdc5d27a4da53ab62f852b78841f4 100644
--- a/kernel/irq/irqdomain.c
+++ b/kernel/irq/irqdomain.c
@@ -1877,6 +1877,7 @@ void irq_domain_free_irqs(unsigned int virq, unsigned int nr_irqs)
irq_domain_free_irq_data(virq, nr_irqs);
irq_free_descs(virq, nr_irqs);
}
+EXPORT_SYMBOL_GPL(irq_domain_free_irqs);
static void irq_domain_free_one_irq(struct irq_domain *domain, unsigned int virq)
{
--
2.50.1
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCH v7 2/3] cpuidle: tegra: Export tegra_cpuidle_pcie_irqs_in_use
2025-07-31 21:59 [PATCH v7 0/3] PCI: tegra: Allow building as a module Aaron Kling via B4 Relay
2025-07-31 21:59 ` [PATCH v7 1/3] irqdomain: Export irq_domain_free_irqs Aaron Kling via B4 Relay
@ 2025-07-31 21:59 ` Aaron Kling via B4 Relay
2025-09-26 21:25 ` Bjorn Helgaas
2025-07-31 21:59 ` [PATCH v7 3/3] PCI: tegra: Allow building as a module Aaron Kling via B4 Relay
` (2 subsequent siblings)
4 siblings, 1 reply; 12+ messages in thread
From: Aaron Kling via B4 Relay @ 2025-07-31 21:59 UTC (permalink / raw)
To: Thomas Gleixner, Lorenzo Pieralisi, Rob Herring, Bjorn Helgaas,
Thierry Reding, Jonathan Hunter, Rafael J. Wysocki,
Daniel Lezcano, Krzysztof Wilczyński, Manivannan Sadhasivam,
Krzysztof Wilczyński
Cc: linux-kernel, linux-pci, linux-tegra, linux-pm, Aaron Kling
From: Aaron Kling <webgeek1234@gmail.com>
Add export for tegra_cpuidle_pcie_irqs_in_use() so that drivers like
pci-tegra can be loaded as a module.
Signed-off-by: Aaron Kling <webgeek1234@gmail.com>
---
drivers/cpuidle/cpuidle-tegra.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/cpuidle/cpuidle-tegra.c b/drivers/cpuidle/cpuidle-tegra.c
index b203a93deac5f378572be90e22c73e7417adb99e..aca907a62bb5de4ee4c71c1900eacedd4b90bc0a 100644
--- a/drivers/cpuidle/cpuidle-tegra.c
+++ b/drivers/cpuidle/cpuidle-tegra.c
@@ -336,6 +336,7 @@ void tegra_cpuidle_pcie_irqs_in_use(void)
pr_info("disabling CC6 state, since PCIe IRQs are in use\n");
tegra_cpuidle_disable_state(TEGRA_CC6);
}
+EXPORT_SYMBOL_GPL(tegra_cpuidle_pcie_irqs_in_use);
static void tegra_cpuidle_setup_tegra114_c7_state(void)
{
--
2.50.1
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCH v7 3/3] PCI: tegra: Allow building as a module
2025-07-31 21:59 [PATCH v7 0/3] PCI: tegra: Allow building as a module Aaron Kling via B4 Relay
2025-07-31 21:59 ` [PATCH v7 1/3] irqdomain: Export irq_domain_free_irqs Aaron Kling via B4 Relay
2025-07-31 21:59 ` [PATCH v7 2/3] cpuidle: tegra: Export tegra_cpuidle_pcie_irqs_in_use Aaron Kling via B4 Relay
@ 2025-07-31 21:59 ` Aaron Kling via B4 Relay
2025-07-31 22:01 ` [PATCH v7 0/3] " Aaron Kling
2025-12-09 18:40 ` Bjorn Helgaas
4 siblings, 0 replies; 12+ messages in thread
From: Aaron Kling via B4 Relay @ 2025-07-31 21:59 UTC (permalink / raw)
To: Thomas Gleixner, Lorenzo Pieralisi, Rob Herring, Bjorn Helgaas,
Thierry Reding, Jonathan Hunter, Rafael J. Wysocki,
Daniel Lezcano, Krzysztof Wilczyński, Manivannan Sadhasivam,
Krzysztof Wilczyński
Cc: linux-kernel, linux-pci, linux-tegra, linux-pm, Aaron Kling
From: Aaron Kling <webgeek1234@gmail.com>
This changes the module macro back to builtin, which does not define an
exit function. This will prevent the module from being unloaded. There
are concerns with modules not cleaning up IRQs on unload, thus this
needs specifically disallowed. The remove callback is also dropped as it
is unused.
Signed-off-by: Aaron Kling <webgeek1234@gmail.com>
---
drivers/pci/controller/Kconfig | 2 +-
drivers/pci/controller/pci-tegra.c | 35 ++++-------------------------------
2 files changed, 5 insertions(+), 32 deletions(-)
diff --git a/drivers/pci/controller/Kconfig b/drivers/pci/controller/Kconfig
index 886f6f43a895f8f56ce3bcabbea382b6cd3b15c2..abdc17ff7b8f54c6b1cd3ee6556753f68ae546e9 100644
--- a/drivers/pci/controller/Kconfig
+++ b/drivers/pci/controller/Kconfig
@@ -225,7 +225,7 @@ config PCI_HYPERV_INTERFACE
driver.
config PCI_TEGRA
- bool "NVIDIA Tegra PCIe controller"
+ tristate "NVIDIA Tegra PCIe controller"
depends on ARCH_TEGRA || COMPILE_TEST
depends on PCI_MSI
select IRQ_MSI_LIB
diff --git a/drivers/pci/controller/pci-tegra.c b/drivers/pci/controller/pci-tegra.c
index 467ddc701adce28c5edeb6d1b423ce56068f069a..c020822bdf0b72c4cc56817a9e689256b964e9cd 100644
--- a/drivers/pci/controller/pci-tegra.c
+++ b/drivers/pci/controller/pci-tegra.c
@@ -2546,12 +2546,6 @@ static const struct seq_operations tegra_pcie_ports_sops = {
DEFINE_SEQ_ATTRIBUTE(tegra_pcie_ports);
-static void tegra_pcie_debugfs_exit(struct tegra_pcie *pcie)
-{
- debugfs_remove_recursive(pcie->debugfs);
- pcie->debugfs = NULL;
-}
-
static void tegra_pcie_debugfs_init(struct tegra_pcie *pcie)
{
pcie->debugfs = debugfs_create_dir("pcie", NULL);
@@ -2625,29 +2619,6 @@ static int tegra_pcie_probe(struct platform_device *pdev)
return err;
}
-static void tegra_pcie_remove(struct platform_device *pdev)
-{
- struct tegra_pcie *pcie = platform_get_drvdata(pdev);
- struct pci_host_bridge *host = pci_host_bridge_from_priv(pcie);
- struct tegra_pcie_port *port, *tmp;
-
- if (IS_ENABLED(CONFIG_DEBUG_FS))
- tegra_pcie_debugfs_exit(pcie);
-
- pci_stop_root_bus(host->bus);
- pci_remove_root_bus(host->bus);
- pm_runtime_put_sync(pcie->dev);
- pm_runtime_disable(pcie->dev);
-
- if (IS_ENABLED(CONFIG_PCI_MSI))
- tegra_pcie_msi_teardown(pcie);
-
- tegra_pcie_put_resources(pcie);
-
- list_for_each_entry_safe(port, tmp, &pcie->ports, list)
- tegra_pcie_port_free(port);
-}
-
static int tegra_pcie_pm_suspend(struct device *dev)
{
struct tegra_pcie *pcie = dev_get_drvdata(dev);
@@ -2751,6 +2722,8 @@ static struct platform_driver tegra_pcie_driver = {
.pm = &tegra_pcie_pm_ops,
},
.probe = tegra_pcie_probe,
- .remove = tegra_pcie_remove,
};
-module_platform_driver(tegra_pcie_driver);
+builtin_platform_driver(tegra_pcie_driver);
+MODULE_AUTHOR("Thierry Reding <treding@nvidia.com>");
+MODULE_DESCRIPTION("NVIDIA PCI host controller driver");
+MODULE_LICENSE("GPL");
--
2.50.1
^ permalink raw reply related [flat|nested] 12+ messages in thread
* Re: [PATCH v7 0/3] PCI: tegra: Allow building as a module
2025-07-31 21:59 [PATCH v7 0/3] PCI: tegra: Allow building as a module Aaron Kling via B4 Relay
` (2 preceding siblings ...)
2025-07-31 21:59 ` [PATCH v7 3/3] PCI: tegra: Allow building as a module Aaron Kling via B4 Relay
@ 2025-07-31 22:01 ` Aaron Kling
2025-08-01 6:00 ` Manivannan Sadhasivam
2025-12-09 18:40 ` Bjorn Helgaas
4 siblings, 1 reply; 12+ messages in thread
From: Aaron Kling @ 2025-07-31 22:01 UTC (permalink / raw)
To: webgeek1234
Cc: Thomas Gleixner, Lorenzo Pieralisi, Rob Herring, Bjorn Helgaas,
Thierry Reding, Jonathan Hunter, Rafael J. Wysocki,
Daniel Lezcano, Krzysztof Wilczyński, Manivannan Sadhasivam,
linux-kernel, linux-pci, linux-tegra, linux-pm
On Thu, Jul 31, 2025 at 4:59 PM Aaron Kling via B4 Relay
<devnull+webgeek1234.gmail.com@kernel.org> wrote:
>
> Signed-off-by: Aaron Kling <webgeek1234@gmail.com>
> ---
> Changes in v7:
> - Rebased on 6.16
> - Updated mailing address list
> - Link to v6: https://lore.kernel.org/r/20250507-pci-tegra-module-v6-0-5fe363eaa302@gmail.com
>
> Changes in v6:
> - Remove unused debugfs cleanup function, as caught by kernel ci
> - Link to v5: https://lore.kernel.org/r/20250505-pci-tegra-module-v5-0-827aaac998ba@gmail.com
>
> Changes in v5:
> - Copy commit message exactly word for word on patch 1, as required by reviewer
> - Delete remove callback in patch 3, per request
> - Don't clean up debugfs, per request, which drops patch 4 entirely
> - Link to v4: https://lore.kernel.org/r/20250505-pci-tegra-module-v4-0-088b552c4b1a@gmail.com
>
> Changes in v4:
> - Updated commit messages for patches 1 and 2, per review
> - Link to v3: https://lore.kernel.org/r/20250502-pci-tegra-module-v3-0-556a49732d70@gmail.com
>
> Changes in v3:
> - Add patch to drop remove callback, per request
> - Link to v2: https://lore.kernel.org/r/20250428-pci-tegra-module-v2-0-c11a4b912446@gmail.com
>
> Changes in v2:
> - Add patch to export tegra_cpuidle_pcie_irqs_in_use as required when
> building pci-tegra as a module for arm
> - Drop module exit to prevent module unloading, as requested
> - Link to v1: https://lore.kernel.org/r/20250420-pci-tegra-module-v1-0-c0a1f831354a@gmail.com
>
> ---
> Aaron Kling (3):
> irqdomain: Export irq_domain_free_irqs
> cpuidle: tegra: Export tegra_cpuidle_pcie_irqs_in_use
> PCI: tegra: Allow building as a module
>
> drivers/cpuidle/cpuidle-tegra.c | 1 +
> drivers/pci/controller/Kconfig | 2 +-
> drivers/pci/controller/pci-tegra.c | 35 ++++-------------------------------
> kernel/irq/irqdomain.c | 1 +
> 4 files changed, 7 insertions(+), 32 deletions(-)
> ---
> base-commit: 038d61fd642278bab63ee8ef722c50d10ab01e8f
> change-id: 20250313-pci-tegra-module-7cbd1c5e70af
>
> Best regards,
> --
> Aaron Kling <webgeek1234@gmail.com>
>
>
Continuing the conversation from the last revision [0]. Is there any
path forward for this series?
Aaron
[0] https://lore.kernel.org/all/CALHNRZ84Xj=_HqrFWnYHdV-A9YM4yu2FhfYgHy4-sR65tsYbUA@mail.gmail.com/
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH v7 0/3] PCI: tegra: Allow building as a module
2025-07-31 22:01 ` [PATCH v7 0/3] " Aaron Kling
@ 2025-08-01 6:00 ` Manivannan Sadhasivam
2025-08-18 18:39 ` Aaron Kling
0 siblings, 1 reply; 12+ messages in thread
From: Manivannan Sadhasivam @ 2025-08-01 6:00 UTC (permalink / raw)
To: Aaron Kling, Daniel Lezcano
Cc: Thomas Gleixner, Lorenzo Pieralisi, Rob Herring, Bjorn Helgaas,
Thierry Reding, Jonathan Hunter, Rafael J. Wysocki,
Krzysztof Wilczyński, linux-kernel, linux-pci, linux-tegra,
linux-pm
On Thu, Jul 31, 2025 at 05:01:55PM GMT, Aaron Kling wrote:
> On Thu, Jul 31, 2025 at 4:59 PM Aaron Kling via B4 Relay
> <devnull+webgeek1234.gmail.com@kernel.org> wrote:
> >
> > Signed-off-by: Aaron Kling <webgeek1234@gmail.com>
> > ---
> > Changes in v7:
> > - Rebased on 6.16
> > - Updated mailing address list
> > - Link to v6: https://lore.kernel.org/r/20250507-pci-tegra-module-v6-0-5fe363eaa302@gmail.com
> >
> > Changes in v6:
> > - Remove unused debugfs cleanup function, as caught by kernel ci
> > - Link to v5: https://lore.kernel.org/r/20250505-pci-tegra-module-v5-0-827aaac998ba@gmail.com
> >
> > Changes in v5:
> > - Copy commit message exactly word for word on patch 1, as required by reviewer
> > - Delete remove callback in patch 3, per request
> > - Don't clean up debugfs, per request, which drops patch 4 entirely
> > - Link to v4: https://lore.kernel.org/r/20250505-pci-tegra-module-v4-0-088b552c4b1a@gmail.com
> >
> > Changes in v4:
> > - Updated commit messages for patches 1 and 2, per review
> > - Link to v3: https://lore.kernel.org/r/20250502-pci-tegra-module-v3-0-556a49732d70@gmail.com
> >
> > Changes in v3:
> > - Add patch to drop remove callback, per request
> > - Link to v2: https://lore.kernel.org/r/20250428-pci-tegra-module-v2-0-c11a4b912446@gmail.com
> >
> > Changes in v2:
> > - Add patch to export tegra_cpuidle_pcie_irqs_in_use as required when
> > building pci-tegra as a module for arm
> > - Drop module exit to prevent module unloading, as requested
> > - Link to v1: https://lore.kernel.org/r/20250420-pci-tegra-module-v1-0-c0a1f831354a@gmail.com
> >
> > ---
> > Aaron Kling (3):
> > irqdomain: Export irq_domain_free_irqs
> > cpuidle: tegra: Export tegra_cpuidle_pcie_irqs_in_use
> > PCI: tegra: Allow building as a module
> >
> > drivers/cpuidle/cpuidle-tegra.c | 1 +
> > drivers/pci/controller/Kconfig | 2 +-
> > drivers/pci/controller/pci-tegra.c | 35 ++++-------------------------------
> > kernel/irq/irqdomain.c | 1 +
> > 4 files changed, 7 insertions(+), 32 deletions(-)
> > ---
> > base-commit: 038d61fd642278bab63ee8ef722c50d10ab01e8f
> > change-id: 20250313-pci-tegra-module-7cbd1c5e70af
> >
> > Best regards,
> > --
> > Aaron Kling <webgeek1234@gmail.com>
> >
> >
>
> Continuing the conversation from the last revision [0]. Is there any
> path forward for this series?
>
Daniel, could you please look into the cpufreq patch?
- Mani
--
மணிவண்ணன் சதாசிவம்
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH v7 0/3] PCI: tegra: Allow building as a module
2025-08-01 6:00 ` Manivannan Sadhasivam
@ 2025-08-18 18:39 ` Aaron Kling
2025-09-22 16:18 ` Aaron Kling
0 siblings, 1 reply; 12+ messages in thread
From: Aaron Kling @ 2025-08-18 18:39 UTC (permalink / raw)
To: Manivannan Sadhasivam
Cc: Daniel Lezcano, Thomas Gleixner, Lorenzo Pieralisi, Rob Herring,
Bjorn Helgaas, Thierry Reding, Jonathan Hunter, Rafael J. Wysocki,
Krzysztof Wilczyński, linux-kernel, linux-pci, linux-tegra,
linux-pm
On Fri, Aug 1, 2025 at 1:01 AM Manivannan Sadhasivam <mani@kernel.org> wrote:
>
> On Thu, Jul 31, 2025 at 05:01:55PM GMT, Aaron Kling wrote:
> > On Thu, Jul 31, 2025 at 4:59 PM Aaron Kling via B4 Relay
> > <devnull+webgeek1234.gmail.com@kernel.org> wrote:
> > >
> > > Signed-off-by: Aaron Kling <webgeek1234@gmail.com>
> > > ---
> > > Changes in v7:
> > > - Rebased on 6.16
> > > - Updated mailing address list
> > > - Link to v6: https://lore.kernel.org/r/20250507-pci-tegra-module-v6-0-5fe363eaa302@gmail.com
> > >
> > > Changes in v6:
> > > - Remove unused debugfs cleanup function, as caught by kernel ci
> > > - Link to v5: https://lore.kernel.org/r/20250505-pci-tegra-module-v5-0-827aaac998ba@gmail.com
> > >
> > > Changes in v5:
> > > - Copy commit message exactly word for word on patch 1, as required by reviewer
> > > - Delete remove callback in patch 3, per request
> > > - Don't clean up debugfs, per request, which drops patch 4 entirely
> > > - Link to v4: https://lore.kernel.org/r/20250505-pci-tegra-module-v4-0-088b552c4b1a@gmail.com
> > >
> > > Changes in v4:
> > > - Updated commit messages for patches 1 and 2, per review
> > > - Link to v3: https://lore.kernel.org/r/20250502-pci-tegra-module-v3-0-556a49732d70@gmail.com
> > >
> > > Changes in v3:
> > > - Add patch to drop remove callback, per request
> > > - Link to v2: https://lore.kernel.org/r/20250428-pci-tegra-module-v2-0-c11a4b912446@gmail.com
> > >
> > > Changes in v2:
> > > - Add patch to export tegra_cpuidle_pcie_irqs_in_use as required when
> > > building pci-tegra as a module for arm
> > > - Drop module exit to prevent module unloading, as requested
> > > - Link to v1: https://lore.kernel.org/r/20250420-pci-tegra-module-v1-0-c0a1f831354a@gmail.com
> > >
> > > ---
> > > Aaron Kling (3):
> > > irqdomain: Export irq_domain_free_irqs
> > > cpuidle: tegra: Export tegra_cpuidle_pcie_irqs_in_use
> > > PCI: tegra: Allow building as a module
> > >
> > > drivers/cpuidle/cpuidle-tegra.c | 1 +
> > > drivers/pci/controller/Kconfig | 2 +-
> > > drivers/pci/controller/pci-tegra.c | 35 ++++-------------------------------
> > > kernel/irq/irqdomain.c | 1 +
> > > 4 files changed, 7 insertions(+), 32 deletions(-)
> > > ---
> > > base-commit: 038d61fd642278bab63ee8ef722c50d10ab01e8f
> > > change-id: 20250313-pci-tegra-module-7cbd1c5e70af
> > >
> > > Best regards,
> > > --
> > > Aaron Kling <webgeek1234@gmail.com>
> > >
> > >
> >
> > Continuing the conversation from the last revision [0]. Is there any
> > path forward for this series?
> >
>
> Daniel, could you please look into the cpufreq patch?
Another two weeks with no response to a review request. And over two
months total since the cpuidle maintainers were initially asked to
look. Is there a policy for dealing with lack of responses?
Aaron
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH v7 0/3] PCI: tegra: Allow building as a module
2025-08-18 18:39 ` Aaron Kling
@ 2025-09-22 16:18 ` Aaron Kling
0 siblings, 0 replies; 12+ messages in thread
From: Aaron Kling @ 2025-09-22 16:18 UTC (permalink / raw)
To: Manivannan Sadhasivam
Cc: Daniel Lezcano, Thomas Gleixner, Lorenzo Pieralisi, Rob Herring,
Bjorn Helgaas, Thierry Reding, Jonathan Hunter, Rafael J. Wysocki,
Krzysztof Wilczyński, linux-kernel, linux-pci, linux-tegra,
linux-pm
On Mon, Aug 18, 2025 at 1:39 PM Aaron Kling <webgeek1234@gmail.com> wrote:
>
> On Fri, Aug 1, 2025 at 1:01 AM Manivannan Sadhasivam <mani@kernel.org> wrote:
> >
> > On Thu, Jul 31, 2025 at 05:01:55PM GMT, Aaron Kling wrote:
> > > On Thu, Jul 31, 2025 at 4:59 PM Aaron Kling via B4 Relay
> > > <devnull+webgeek1234.gmail.com@kernel.org> wrote:
> > > >
> > > > Signed-off-by: Aaron Kling <webgeek1234@gmail.com>
> > > > ---
> > > > Changes in v7:
> > > > - Rebased on 6.16
> > > > - Updated mailing address list
> > > > - Link to v6: https://lore.kernel.org/r/20250507-pci-tegra-module-v6-0-5fe363eaa302@gmail.com
> > > >
> > > > Changes in v6:
> > > > - Remove unused debugfs cleanup function, as caught by kernel ci
> > > > - Link to v5: https://lore.kernel.org/r/20250505-pci-tegra-module-v5-0-827aaac998ba@gmail.com
> > > >
> > > > Changes in v5:
> > > > - Copy commit message exactly word for word on patch 1, as required by reviewer
> > > > - Delete remove callback in patch 3, per request
> > > > - Don't clean up debugfs, per request, which drops patch 4 entirely
> > > > - Link to v4: https://lore.kernel.org/r/20250505-pci-tegra-module-v4-0-088b552c4b1a@gmail.com
> > > >
> > > > Changes in v4:
> > > > - Updated commit messages for patches 1 and 2, per review
> > > > - Link to v3: https://lore.kernel.org/r/20250502-pci-tegra-module-v3-0-556a49732d70@gmail.com
> > > >
> > > > Changes in v3:
> > > > - Add patch to drop remove callback, per request
> > > > - Link to v2: https://lore.kernel.org/r/20250428-pci-tegra-module-v2-0-c11a4b912446@gmail.com
> > > >
> > > > Changes in v2:
> > > > - Add patch to export tegra_cpuidle_pcie_irqs_in_use as required when
> > > > building pci-tegra as a module for arm
> > > > - Drop module exit to prevent module unloading, as requested
> > > > - Link to v1: https://lore.kernel.org/r/20250420-pci-tegra-module-v1-0-c0a1f831354a@gmail.com
> > > >
> > > > ---
> > > > Aaron Kling (3):
> > > > irqdomain: Export irq_domain_free_irqs
> > > > cpuidle: tegra: Export tegra_cpuidle_pcie_irqs_in_use
> > > > PCI: tegra: Allow building as a module
> > > >
> > > > drivers/cpuidle/cpuidle-tegra.c | 1 +
> > > > drivers/pci/controller/Kconfig | 2 +-
> > > > drivers/pci/controller/pci-tegra.c | 35 ++++-------------------------------
> > > > kernel/irq/irqdomain.c | 1 +
> > > > 4 files changed, 7 insertions(+), 32 deletions(-)
> > > > ---
> > > > base-commit: 038d61fd642278bab63ee8ef722c50d10ab01e8f
> > > > change-id: 20250313-pci-tegra-module-7cbd1c5e70af
> > > >
> > > > Best regards,
> > > > --
> > > > Aaron Kling <webgeek1234@gmail.com>
> > > >
> > > >
> > >
> > > Continuing the conversation from the last revision [0]. Is there any
> > > path forward for this series?
> > >
> >
> > Daniel, could you please look into the cpufreq patch?
>
> Another two weeks with no response to a review request. And over two
> months total since the cpuidle maintainers were initially asked to
> look. Is there a policy for dealing with lack of responses?
Another month with no response. Can something be done with this,
please? If the subsystem maintainers don't respond, can they be
overridden by anyone? Who would the next step up even be? Does it go
directly from subsystem maintainers to Torvalds himself?
Aaron
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH v7 2/3] cpuidle: tegra: Export tegra_cpuidle_pcie_irqs_in_use
2025-07-31 21:59 ` [PATCH v7 2/3] cpuidle: tegra: Export tegra_cpuidle_pcie_irqs_in_use Aaron Kling via B4 Relay
@ 2025-09-26 21:25 ` Bjorn Helgaas
2025-10-20 18:53 ` Aaron Kling
0 siblings, 1 reply; 12+ messages in thread
From: Bjorn Helgaas @ 2025-09-26 21:25 UTC (permalink / raw)
To: webgeek1234, Rafael J. Wysocki, Daniel Lezcano
Cc: Thomas Gleixner, Lorenzo Pieralisi, Rob Herring, Bjorn Helgaas,
Thierry Reding, Jonathan Hunter, Krzysztof Wilczyński,
Manivannan Sadhasivam, linux-kernel, linux-pci, linux-tegra,
linux-pm
[cc->to: Rafael, Daniel, any feedback or ack? Would like to resolve
this (part of Aaron's series at
https://lore.kernel.org/r/20250731-pci-tegra-module-v7-0-cad4b088b8fb@gmail.com)]
On Thu, Jul 31, 2025 at 04:59:25PM -0500, Aaron Kling via B4 Relay wrote:
> From: Aaron Kling <webgeek1234@gmail.com>
>
> Add export for tegra_cpuidle_pcie_irqs_in_use() so that drivers like
> pci-tegra can be loaded as a module.
>
> Signed-off-by: Aaron Kling <webgeek1234@gmail.com>
> ---
> drivers/cpuidle/cpuidle-tegra.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/cpuidle/cpuidle-tegra.c b/drivers/cpuidle/cpuidle-tegra.c
> index b203a93deac5f378572be90e22c73e7417adb99e..aca907a62bb5de4ee4c71c1900eacedd4b90bc0a 100644
> --- a/drivers/cpuidle/cpuidle-tegra.c
> +++ b/drivers/cpuidle/cpuidle-tegra.c
> @@ -336,6 +336,7 @@ void tegra_cpuidle_pcie_irqs_in_use(void)
> pr_info("disabling CC6 state, since PCIe IRQs are in use\n");
> tegra_cpuidle_disable_state(TEGRA_CC6);
> }
> +EXPORT_SYMBOL_GPL(tegra_cpuidle_pcie_irqs_in_use);
tegra_cpuidle_pcie_irqs_in_use() looks like a workaround for a Tegra20
hardware defect, and having no knowledge of typical Tegra20 systems,
my questions would be "Why do we even bother with this? Should
cpuidle-tegra.c just disable CC6 always, unconditionally? The whole
thing, and all of include/soc/tegra/cpuidle.h, looks like it might be
more trouble than it's worth."
Bjorn
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH v7 2/3] cpuidle: tegra: Export tegra_cpuidle_pcie_irqs_in_use
2025-09-26 21:25 ` Bjorn Helgaas
@ 2025-10-20 18:53 ` Aaron Kling
2025-12-09 4:38 ` Aaron Kling
0 siblings, 1 reply; 12+ messages in thread
From: Aaron Kling @ 2025-10-20 18:53 UTC (permalink / raw)
To: Bjorn Helgaas
Cc: Rafael J. Wysocki, Daniel Lezcano, Thomas Gleixner,
Lorenzo Pieralisi, Rob Herring, Bjorn Helgaas, Thierry Reding,
Jonathan Hunter, Krzysztof Wilczyński, Manivannan Sadhasivam,
linux-kernel, linux-pci, linux-tegra, linux-pm
On Fri, Sep 26, 2025 at 4:25 PM Bjorn Helgaas <helgaas@kernel.org> wrote:
>
> [cc->to: Rafael, Daniel, any feedback or ack? Would like to resolve
> this (part of Aaron's series at
> https://lore.kernel.org/r/20250731-pci-tegra-module-v7-0-cad4b088b8fb@gmail.com)]
>
> On Thu, Jul 31, 2025 at 04:59:25PM -0500, Aaron Kling via B4 Relay wrote:
> > From: Aaron Kling <webgeek1234@gmail.com>
> >
> > Add export for tegra_cpuidle_pcie_irqs_in_use() so that drivers like
> > pci-tegra can be loaded as a module.
> >
> > Signed-off-by: Aaron Kling <webgeek1234@gmail.com>
> > ---
> > drivers/cpuidle/cpuidle-tegra.c | 1 +
> > 1 file changed, 1 insertion(+)
> >
> > diff --git a/drivers/cpuidle/cpuidle-tegra.c b/drivers/cpuidle/cpuidle-tegra.c
> > index b203a93deac5f378572be90e22c73e7417adb99e..aca907a62bb5de4ee4c71c1900eacedd4b90bc0a 100644
> > --- a/drivers/cpuidle/cpuidle-tegra.c
> > +++ b/drivers/cpuidle/cpuidle-tegra.c
> > @@ -336,6 +336,7 @@ void tegra_cpuidle_pcie_irqs_in_use(void)
> > pr_info("disabling CC6 state, since PCIe IRQs are in use\n");
> > tegra_cpuidle_disable_state(TEGRA_CC6);
> > }
> > +EXPORT_SYMBOL_GPL(tegra_cpuidle_pcie_irqs_in_use);
>
> tegra_cpuidle_pcie_irqs_in_use() looks like a workaround for a Tegra20
> hardware defect, and having no knowledge of typical Tegra20 systems,
> my questions would be "Why do we even bother with this? Should
> cpuidle-tegra.c just disable CC6 always, unconditionally? The whole
> thing, and all of include/soc/tegra/cpuidle.h, looks like it might be
> more trouble than it's worth."
It's been almost a month again with no responses. Does this have any
path forward that doesn't include signoff from the cpuidle
maintainers? It's been over four months since they were first asked to
look at this, so I presume there will never be any response.
Aaron
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH v7 2/3] cpuidle: tegra: Export tegra_cpuidle_pcie_irqs_in_use
2025-10-20 18:53 ` Aaron Kling
@ 2025-12-09 4:38 ` Aaron Kling
0 siblings, 0 replies; 12+ messages in thread
From: Aaron Kling @ 2025-12-09 4:38 UTC (permalink / raw)
To: Bjorn Helgaas
Cc: Rafael J. Wysocki, Daniel Lezcano, Thomas Gleixner,
Lorenzo Pieralisi, Rob Herring, Bjorn Helgaas, Thierry Reding,
Jonathan Hunter, Krzysztof Wilczyński, Manivannan Sadhasivam,
linux-kernel, linux-pci, linux-tegra, linux-pm
On Mon, Oct 20, 2025 at 1:53 PM Aaron Kling <webgeek1234@gmail.com> wrote:
>
> On Fri, Sep 26, 2025 at 4:25 PM Bjorn Helgaas <helgaas@kernel.org> wrote:
> >
> > [cc->to: Rafael, Daniel, any feedback or ack? Would like to resolve
> > this (part of Aaron's series at
> > https://lore.kernel.org/r/20250731-pci-tegra-module-v7-0-cad4b088b8fb@gmail.com)]
> >
> > On Thu, Jul 31, 2025 at 04:59:25PM -0500, Aaron Kling via B4 Relay wrote:
> > > From: Aaron Kling <webgeek1234@gmail.com>
> > >
> > > Add export for tegra_cpuidle_pcie_irqs_in_use() so that drivers like
> > > pci-tegra can be loaded as a module.
> > >
> > > Signed-off-by: Aaron Kling <webgeek1234@gmail.com>
> > > ---
> > > drivers/cpuidle/cpuidle-tegra.c | 1 +
> > > 1 file changed, 1 insertion(+)
> > >
> > > diff --git a/drivers/cpuidle/cpuidle-tegra.c b/drivers/cpuidle/cpuidle-tegra.c
> > > index b203a93deac5f378572be90e22c73e7417adb99e..aca907a62bb5de4ee4c71c1900eacedd4b90bc0a 100644
> > > --- a/drivers/cpuidle/cpuidle-tegra.c
> > > +++ b/drivers/cpuidle/cpuidle-tegra.c
> > > @@ -336,6 +336,7 @@ void tegra_cpuidle_pcie_irqs_in_use(void)
> > > pr_info("disabling CC6 state, since PCIe IRQs are in use\n");
> > > tegra_cpuidle_disable_state(TEGRA_CC6);
> > > }
> > > +EXPORT_SYMBOL_GPL(tegra_cpuidle_pcie_irqs_in_use);
> >
> > tegra_cpuidle_pcie_irqs_in_use() looks like a workaround for a Tegra20
> > hardware defect, and having no knowledge of typical Tegra20 systems,
> > my questions would be "Why do we even bother with this? Should
> > cpuidle-tegra.c just disable CC6 always, unconditionally? The whole
> > thing, and all of include/soc/tegra/cpuidle.h, looks like it might be
> > more trouble than it's worth."
>
> It's been almost a month again with no responses. Does this have any
> path forward that doesn't include signoff from the cpuidle
> maintainers? It's been over four months since they were first asked to
> look at this, so I presume there will never be any response.
It has been another month and a half without any response. Is there
any kernel policy for handling completely dead subsystems? Can the
maintainer of -next sign off? Can it be sent directly to Torvalds? I
have been trying to get this merged for almost 8 months now. And the
majority of that time has been waiting on one single ack for a trivial
one line change that wont affect anything outside of this series. This
is seriously ridiculous.
Aaron
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH v7 0/3] PCI: tegra: Allow building as a module
2025-07-31 21:59 [PATCH v7 0/3] PCI: tegra: Allow building as a module Aaron Kling via B4 Relay
` (3 preceding siblings ...)
2025-07-31 22:01 ` [PATCH v7 0/3] " Aaron Kling
@ 2025-12-09 18:40 ` Bjorn Helgaas
4 siblings, 0 replies; 12+ messages in thread
From: Bjorn Helgaas @ 2025-12-09 18:40 UTC (permalink / raw)
To: webgeek1234
Cc: Thomas Gleixner, Lorenzo Pieralisi, Rob Herring, Bjorn Helgaas,
Thierry Reding, Jonathan Hunter, Rafael J. Wysocki,
Daniel Lezcano, Krzysztof Wilczyński, Manivannan Sadhasivam,
linux-kernel, linux-pci, linux-tegra, linux-pm
On Thu, Jul 31, 2025 at 04:59:23PM -0500, Aaron Kling via B4 Relay wrote:
> Signed-off-by: Aaron Kling <webgeek1234@gmail.com>
> ---
> Changes in v7:
> - Rebased on 6.16
> - Updated mailing address list
> - Link to v6: https://lore.kernel.org/r/20250507-pci-tegra-module-v6-0-5fe363eaa302@gmail.com
>
> Changes in v6:
> - Remove unused debugfs cleanup function, as caught by kernel ci
> - Link to v5: https://lore.kernel.org/r/20250505-pci-tegra-module-v5-0-827aaac998ba@gmail.com
>
> Changes in v5:
> - Copy commit message exactly word for word on patch 1, as required by reviewer
> - Delete remove callback in patch 3, per request
> - Don't clean up debugfs, per request, which drops patch 4 entirely
> - Link to v4: https://lore.kernel.org/r/20250505-pci-tegra-module-v4-0-088b552c4b1a@gmail.com
>
> Changes in v4:
> - Updated commit messages for patches 1 and 2, per review
> - Link to v3: https://lore.kernel.org/r/20250502-pci-tegra-module-v3-0-556a49732d70@gmail.com
>
> Changes in v3:
> - Add patch to drop remove callback, per request
> - Link to v2: https://lore.kernel.org/r/20250428-pci-tegra-module-v2-0-c11a4b912446@gmail.com
>
> Changes in v2:
> - Add patch to export tegra_cpuidle_pcie_irqs_in_use as required when
> building pci-tegra as a module for arm
> - Drop module exit to prevent module unloading, as requested
> - Link to v1: https://lore.kernel.org/r/20250420-pci-tegra-module-v1-0-c0a1f831354a@gmail.com
>
> ---
> Aaron Kling (3):
> irqdomain: Export irq_domain_free_irqs
> cpuidle: tegra: Export tegra_cpuidle_pcie_irqs_in_use
> PCI: tegra: Allow building as a module
>
> drivers/cpuidle/cpuidle-tegra.c | 1 +
> drivers/pci/controller/Kconfig | 2 +-
> drivers/pci/controller/pci-tegra.c | 35 ++++-------------------------------
> kernel/irq/irqdomain.c | 1 +
> 4 files changed, 7 insertions(+), 32 deletions(-)
Tidied commit logs per previous reviews and applied to
pci/controller/tegra for v6.20, thanks.
This branch will be rebased after v6.19-rc1.
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2025-12-09 18:40 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-31 21:59 [PATCH v7 0/3] PCI: tegra: Allow building as a module Aaron Kling via B4 Relay
2025-07-31 21:59 ` [PATCH v7 1/3] irqdomain: Export irq_domain_free_irqs Aaron Kling via B4 Relay
2025-07-31 21:59 ` [PATCH v7 2/3] cpuidle: tegra: Export tegra_cpuidle_pcie_irqs_in_use Aaron Kling via B4 Relay
2025-09-26 21:25 ` Bjorn Helgaas
2025-10-20 18:53 ` Aaron Kling
2025-12-09 4:38 ` Aaron Kling
2025-07-31 21:59 ` [PATCH v7 3/3] PCI: tegra: Allow building as a module Aaron Kling via B4 Relay
2025-07-31 22:01 ` [PATCH v7 0/3] " Aaron Kling
2025-08-01 6:00 ` Manivannan Sadhasivam
2025-08-18 18:39 ` Aaron Kling
2025-09-22 16:18 ` Aaron Kling
2025-12-09 18:40 ` Bjorn Helgaas
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox