aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorJoel Stanley <joel@jms.id.au>2023-07-25 15:06:11 +0930
committerReza Arbab <arbab@linux.ibm.com>2023-08-09 15:37:17 -0500
commit4183a749ada259c422e003028bebba11ba17ce08 (patch)
tree9c2d6f97521998fe2553f9c2d63d6bdcf388570d /core
parent8fe7ea7c1515746299129cc56eff266c7a340950 (diff)
downloadskiboot-4183a749ada259c422e003028bebba11ba17ce08.zip
skiboot-4183a749ada259c422e003028bebba11ba17ce08.tar.gz
skiboot-4183a749ada259c422e003028bebba11ba17ce08.tar.bz2
pci: Remove MVE opal calls
These callbacks were used by the p7ioc code that was removed a long time ago. Add them to the list of removed calls and delete the dead code. Linux has removed the code that called these functions in v6.5-rc1. Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Reza Arbab <arbab@linux.ibm.com>
Diffstat (limited to 'core')
-rw-r--r--core/pci-opal.c36
1 files changed, 0 insertions, 36 deletions
diff --git a/core/pci-opal.c b/core/pci-opal.c
index acbcd2a..28b2c84 100644
--- a/core/pci-opal.c
+++ b/core/pci-opal.c
@@ -307,42 +307,6 @@ static int64_t opal_pci_set_peltv(uint64_t phb_id, uint32_t parent_pe,
}
opal_call(OPAL_PCI_SET_PELTV, opal_pci_set_peltv, 4);
-static int64_t opal_pci_set_mve(uint64_t phb_id, uint32_t mve_number,
- uint64_t pe_number)
-{
- struct phb *phb = pci_get_phb(phb_id);
- int64_t rc;
-
- if (!phb)
- return OPAL_PARAMETER;
- if (!phb->ops->set_mve)
- return OPAL_UNSUPPORTED;
- phb_lock(phb);
- rc = phb->ops->set_mve(phb, mve_number, pe_number);
- phb_unlock(phb);
-
- return rc;
-}
-opal_call(OPAL_PCI_SET_MVE, opal_pci_set_mve, 3);
-
-static int64_t opal_pci_set_mve_enable(uint64_t phb_id, uint32_t mve_number,
- uint32_t state)
-{
- struct phb *phb = pci_get_phb(phb_id);
- int64_t rc;
-
- if (!phb)
- return OPAL_PARAMETER;
- if (!phb->ops->set_mve_enable)
- return OPAL_UNSUPPORTED;
- phb_lock(phb);
- rc = phb->ops->set_mve_enable(phb, mve_number, state);
- phb_unlock(phb);
-
- return rc;
-}
-opal_call(OPAL_PCI_SET_MVE_ENABLE, opal_pci_set_mve_enable, 3);
-
static int64_t opal_pci_msi_eoi(uint64_t phb_id,
uint32_t hwirq)
{