search for: pci_bus_speed

Displaying 10 results from an estimated 10 matches for "pci_bus_speed".

2023 Nov 14
7
[PATCH v3 0/7] Improvements to pcie_bandwidth_available() for eGPUs
The wrong values are reported from pcie_bandwidth_available() which can cause problems for performance of eGPUs. This series overhauls Thunderbolt related device detection and uses the changes to change the behavior of pcie_bandwidth_available(). v2->v3: * Stop lumping all thunderbolt VSEC and USB4 devices together, introduce is_virtual_link instead * Drop unnecessary patches Mario
2008 Sep 01
1
[PATCH 1/4 v2] PCI: introduce new base functions
...##name) \ + retval = ops->get_##name(slot, value); \ + else \ + *value = slot->info->name; \ + module_put(ops->owner); \ return retval; \ } @@ -118,6 +118,7 @@ GET_STATUS(latch_status, u8) GET_STATUS(adapter_status, u8) GET_STATUS(max_bus_speed, enum pci_bus_speed) GET_STATUS(cur_bus_speed, enum pci_bus_speed) +GET_STATUS(param, const char *) static ssize_t power_read_file(struct pci_slot *slot, char *buf) { @@ -346,6 +347,41 @@ static struct pci_slot_attribute hotplug_slot_attr_test = { .store = test_write_file }; +static ssize_t param_read_file(s...
2008 Sep 01
1
[PATCH 1/4 v2] PCI: introduce new base functions
...##name) \ + retval = ops->get_##name(slot, value); \ + else \ + *value = slot->info->name; \ + module_put(ops->owner); \ return retval; \ } @@ -118,6 +118,7 @@ GET_STATUS(latch_status, u8) GET_STATUS(adapter_status, u8) GET_STATUS(max_bus_speed, enum pci_bus_speed) GET_STATUS(cur_bus_speed, enum pci_bus_speed) +GET_STATUS(param, const char *) static ssize_t power_read_file(struct pci_slot *slot, char *buf) { @@ -346,6 +347,41 @@ static struct pci_slot_attribute hotplug_slot_attr_test = { .store = test_write_file }; +static ssize_t param_read_file(s...
2008 Sep 01
1
[PATCH 1/4 v2] PCI: introduce new base functions
...##name) \ + retval = ops->get_##name(slot, value); \ + else \ + *value = slot->info->name; \ + module_put(ops->owner); \ return retval; \ } @@ -118,6 +118,7 @@ GET_STATUS(latch_status, u8) GET_STATUS(adapter_status, u8) GET_STATUS(max_bus_speed, enum pci_bus_speed) GET_STATUS(cur_bus_speed, enum pci_bus_speed) +GET_STATUS(param, const char *) static ssize_t power_read_file(struct pci_slot *slot, char *buf) { @@ -346,6 +347,41 @@ static struct pci_slot_attribute hotplug_slot_attr_test = { .store = test_write_file }; +static ssize_t param_read_file(s...
2015 Oct 12
12
[PATCH 0/9] PCIe speed changes
this patch series implements PCIe speed changes for Tesla and newer. The Kepler and Fermi bits are tested on my cards at home. Karol Herbst (9): pci: add gk104 variant pci: add gf106 variant pci: implement generic code for PCIe speed change pci: implement pcie speed change for tesla pci: implement pcie speed change on Fermi pci: implement PCIe speed change for kepler+ bios/perf:
2015 Oct 13
12
[PATCH v2 0/9] PCIEs speed change
overall the same as the old stuff, but with better namings and tirivialy improved code here and there Karol Herbst (9): pci: add gk104 variant pci: add gf106 variant pci: implement generic code for PCIe speed change pci: implement pcie speed change for tesla pci: implement pcie speed change on Fermi pci: implement PCIe speed change for kepler+ bios/perf: parse the pci speed from the
2016 Jan 01
9
[PATCH v4 0/9] PCIe speed changes
overall it is for the most part the same as my older version. I cleaned up some copyright things, so that it is more like the others. Also I moved the print about the max speed supported into preinit and did some other minor cleanups in the 3rd commit. Happy testing (and performance for prime offloading setups) Karol Herbst (9): pci: add gk104 variant pci: add gf106 variant pci: implement
2011 Jun 02
0
[PATCH] pci: Use pr_<level> and pr_fmt
...us - Entry hotplug_slot[%lx] pvalue[%lx]\n", - (ulong) hotplug_slot, (ulong) value); + (ulong)hotplug_slot, (ulong)value); ibmphp_lock_operations(); if (hotplug_slot) { pslot = hotplug_slot->private; @@ -402,7 +404,7 @@ static int get_max_bus_speed(struct slot *slot) enum pci_bus_speed speed; struct pci_bus *bus = slot->hotplug_slot->pci_slot->bus; - debug("%s - Entry slot[%p]\n", __func__, slot); + debug("%s: Entry slot[%p]\n", __func__, slot); ibmphp_lock_operations(); mode = slot->supported_bus_mode; @@ -428,7 +430,7 @@ static int get_...
2011 Jun 02
0
[PATCH] pci: Use pr_<level> and pr_fmt
...us - Entry hotplug_slot[%lx] pvalue[%lx]\n", - (ulong) hotplug_slot, (ulong) value); + (ulong)hotplug_slot, (ulong)value); ibmphp_lock_operations(); if (hotplug_slot) { pslot = hotplug_slot->private; @@ -402,7 +404,7 @@ static int get_max_bus_speed(struct slot *slot) enum pci_bus_speed speed; struct pci_bus *bus = slot->hotplug_slot->pci_slot->bus; - debug("%s - Entry slot[%p]\n", __func__, slot); + debug("%s: Entry slot[%p]\n", __func__, slot); ibmphp_lock_operations(); mode = slot->supported_bus_mode; @@ -428,7 +430,7 @@ static int get_...
2011 Jun 02
0
[PATCH] pci: Use pr_<level> and pr_fmt
...us - Entry hotplug_slot[%lx] pvalue[%lx]\n", - (ulong) hotplug_slot, (ulong) value); + (ulong)hotplug_slot, (ulong)value); ibmphp_lock_operations(); if (hotplug_slot) { pslot = hotplug_slot->private; @@ -402,7 +404,7 @@ static int get_max_bus_speed(struct slot *slot) enum pci_bus_speed speed; struct pci_bus *bus = slot->hotplug_slot->pci_slot->bus; - debug("%s - Entry slot[%p]\n", __func__, slot); + debug("%s: Entry slot[%p]\n", __func__, slot); ibmphp_lock_operations(); mode = slot->supported_bus_mode; @@ -428,7 +430,7 @@ static int get_...