Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1722485
| From | Jan Glauber <jglauber@cavium.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [RFC PATCH v9 1/7] edac: thunderx: Remove suspend/resume support |
| Date | 2017-08-29 15:20 +0200 |
| Message-ID | <ujOAY-37c-55@gated-at.bofh.it> (permalink) |
| References | <ujOAV-37c-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
The memory controller on ThunderX/OcteonTX systems does not
support power management. Therefore remove the suspend/resume
callbacks.
Signed-off-by: Jan Glauber <jglauber@cavium.com>
---
drivers/edac/thunderx_edac.c | 21 ---------------------
1 file changed, 21 deletions(-)
diff --git a/drivers/edac/thunderx_edac.c b/drivers/edac/thunderx_edac.c
index 2d352b4..d02bf3b 100644
--- a/drivers/edac/thunderx_edac.c
+++ b/drivers/edac/thunderx_edac.c
@@ -639,27 +639,6 @@ static irqreturn_t thunderx_lmc_threaded_isr(int irq, void *dev_id)
return ret;
}
-#ifdef CONFIG_PM
-static int thunderx_lmc_suspend(struct pci_dev *pdev, pm_message_t state)
-{
- pci_save_state(pdev);
- pci_disable_device(pdev);
-
- pci_set_power_state(pdev, pci_choose_state(pdev, state));
-
- return 0;
-}
-
-static int thunderx_lmc_resume(struct pci_dev *pdev)
-{
- pci_set_power_state(pdev, PCI_D0);
- pci_enable_wake(pdev, PCI_D0, 0);
- pci_restore_state(pdev);
-
- return 0;
-}
-#endif
-
static const struct pci_device_id thunderx_lmc_pci_tbl[] = {
{ PCI_DEVICE(PCI_VENDOR_ID_CAVIUM, PCI_DEVICE_ID_THUNDER_LMC) },
{ 0, },
--
2.9.0.rc0.21.g7777322
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[RFC PATCH v9 0/7] Cavium ARM64 uncore PMU support Jan Glauber <jglauber@cavium.com> - 2017-08-29 15:20 +0200
[RFC PATCH v9 1/7] edac: thunderx: Remove suspend/resume support Jan Glauber <jglauber@cavium.com> - 2017-08-29 15:20 +0200
Re: [RFC PATCH v9 1/7] edac: thunderx: Remove suspend/resume support Borislav Petkov <bp@alien8.de> - 2017-08-30 20:00 +0200
[RFC PATCH v9 4/7] perf: export perf_event_update_userpage() Jan Glauber <jglauber@cavium.com> - 2017-08-29 15:20 +0200
csiph-web