search for: is_pci

Displaying 20 results from an estimated 27 matches for "is_pci".

Did you mean: is_pcie
2008 Sep 27
2
[PATCH 3/6 v3] PCI: support ARI capability
...i/pci.c @@ -1260,6 +1260,37 @@ void pci_pm_init(struct pci_dev *dev) } } +/** + * pci_ari_init - turn on ARI forwarding if it's supported + * @dev: the PCI device + */ +void pci_ari_init(struct pci_dev *dev) +{ + int pos; + u32 cap; + u16 ctrl; + + if (!dev->is_pcie || (dev->pcie_type != PCI_EXP_TYPE_ROOT_PORT && + dev->pcie_type != PCI_EXP_TYPE_DOWNSTREAM)) + return; + + pos = pci_find_capability(dev, PCI_CAP_ID_EXP); + if (!pos) + return; + + pci_read_config_dword(dev,...
2008 Sep 27
2
[PATCH 3/6 v3] PCI: support ARI capability
...i/pci.c @@ -1260,6 +1260,37 @@ void pci_pm_init(struct pci_dev *dev) } } +/** + * pci_ari_init - turn on ARI forwarding if it's supported + * @dev: the PCI device + */ +void pci_ari_init(struct pci_dev *dev) +{ + int pos; + u32 cap; + u16 ctrl; + + if (!dev->is_pcie || (dev->pcie_type != PCI_EXP_TYPE_ROOT_PORT && + dev->pcie_type != PCI_EXP_TYPE_DOWNSTREAM)) + return; + + pos = pci_find_capability(dev, PCI_CAP_ID_EXP); + if (!pos) + return; + + pci_read_config_dword(dev,...
2012 Feb 12
1
Anyone already tried to backport the latest ASPM kernel patch to 6.2?
...ff6eb5ef4e2600adbec550c13b8fe72 So I started to experiment with the upstream patch: http://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=commitdiff;h=3c076351c4027a56d5005a39a0b518a4ba393ce2;hp=69166fbf02c7a21745013f2de037bf7af26e4279 To make it apply, one needs to change 'pci_is_pcie(pdev)' into 'pdev->is_pcie'. One also needs to fiddle a little with the first chunk. I came up with the patch attached, but unfortunately the new kernel showed no improvement. Most probably I got something wrong. Anyone else here who tried this or is interested in sorting this o...
2013 Dec 03
1
DAHDI-Linux and DAHDI-Tools 2.8.0-rc5 Now Available
...dynamic spans. wcaxx: Use startup/shutdown callbacks to protect access to channel registers. wctdm24xxp: Remove assigned callback. dahdi: Remove "ddev" symlink before unregistering the span device. dahdi: CentOS 6.5 backported PDE_DATA definition. wcxb: is_pcie -> pci_is_pcie() wcxb: Do not access cur_transfer/cur_msg outside of lock. wcaxx: Add extra dummy read when checking for single fxs modules. wcte43x: Update firmware to version e0017. dahdi: Replace drv_attr with drv_groups on kernels > 3.12. Revert "w...
2013 Dec 03
1
DAHDI-Linux and DAHDI-Tools 2.8.0-rc5 Now Available
...dynamic spans. wcaxx: Use startup/shutdown callbacks to protect access to channel registers. wctdm24xxp: Remove assigned callback. dahdi: Remove "ddev" symlink before unregistering the span device. dahdi: CentOS 6.5 backported PDE_DATA definition. wcxb: is_pcie -> pci_is_pcie() wcxb: Do not access cur_transfer/cur_msg outside of lock. wcaxx: Add extra dummy read when checking for single fxs modules. wcte43x: Update firmware to version e0017. dahdi: Replace drv_attr with drv_groups on kernels > 3.12. Revert "w...
2008 Aug 12
0
SR-IOV: patches are available for Linux kernel [2/4]
...b/include/linux/pci.h @@ -214,6 +214,7 @@ #endif unsigned int broken_parity_status:1; /* Device generates false positive parity */ unsigned int msi_enabled:1; unsigned int msix_enabled:1; + unsigned int ari_enabled:1; /* ARI forwarding on bridge */ unsigned int is_managed:1; unsigned int is_pcie:1; pci_dev_flags_t dev_flags; @@ -1125,5 +1126,33 @@ static inline void pci_mmcfg_early_init( static inline void pci_mmcfg_late_init(void) { } #endif +#ifdef CONFIG_PCI_ARI +/** + * pci_ari_fwd_enabled - query ARI forwarding status + * @dev: PCI device + * + * Returns 1 if ARI forwarding is...
2008 Aug 12
0
SR-IOV: patches are available for Linux kernel [2/4]
...b/include/linux/pci.h @@ -214,6 +214,7 @@ #endif unsigned int broken_parity_status:1; /* Device generates false positive parity */ unsigned int msi_enabled:1; unsigned int msix_enabled:1; + unsigned int ari_enabled:1; /* ARI forwarding on bridge */ unsigned int is_managed:1; unsigned int is_pcie:1; pci_dev_flags_t dev_flags; @@ -1125,5 +1126,33 @@ static inline void pci_mmcfg_early_init( static inline void pci_mmcfg_late_init(void) { } #endif +#ifdef CONFIG_PCI_ARI +/** + * pci_ari_fwd_enabled - query ARI forwarding status + * @dev: PCI device + * + * Returns 1 if ARI forwarding is...
2008 Aug 12
0
SR-IOV: patches are available for Linux kernel [2/4]
...b/include/linux/pci.h @@ -214,6 +214,7 @@ #endif unsigned int broken_parity_status:1; /* Device generates false positive parity */ unsigned int msi_enabled:1; unsigned int msix_enabled:1; + unsigned int ari_enabled:1; /* ARI forwarding on bridge */ unsigned int is_managed:1; unsigned int is_pcie:1; pci_dev_flags_t dev_flags; @@ -1125,5 +1126,33 @@ static inline void pci_mmcfg_early_init( static inline void pci_mmcfg_late_init(void) { } #endif +#ifdef CONFIG_PCI_ARI +/** + * pci_ari_fwd_enabled - query ARI forwarding status + * @dev: PCI device + * + * Returns 1 if ARI forwarding is...
2013 Dec 06
0
DAHDI-Linux and DAHDI-Tools 2.8.0 Now Available
...dynamic spans. wcaxx: Use startup/shutdown callbacks to protect access to channel registers. wctdm24xxp: Remove assigned callback. dahdi: Remove "ddev" symlink before unregistering the span device. dahdi: CentOS 6.5 backported PDE_DATA definition. wcxb: is_pcie -> pci_is_pcie() wcxb: Do not access cur_transfer/cur_msg outside of lock. wcaxx: Add extra dummy read when checking for single fxs modules. wcte43x: Update firmware to version e0017. dahdi: Replace drv_attr with drv_groups on kernels > 3.12. Revert "w...
2013 Dec 06
0
DAHDI-Linux and DAHDI-Tools 2.8.0 Now Available
...dynamic spans. wcaxx: Use startup/shutdown callbacks to protect access to channel registers. wctdm24xxp: Remove assigned callback. dahdi: Remove "ddev" symlink before unregistering the span device. dahdi: CentOS 6.5 backported PDE_DATA definition. wcxb: is_pcie -> pci_is_pcie() wcxb: Do not access cur_transfer/cur_msg outside of lock. wcaxx: Add extra dummy read when checking for single fxs modules. wcte43x: Update firmware to version e0017. dahdi: Replace drv_attr with drv_groups on kernels > 3.12. Revert "w...
2013 Dec 02
0
DAHDI-Linux and DAHDI-Tools 2.8.0-rc4 Now Available
...dynamic spans. wcaxx: Use startup/shutdown callbacks to protect access to channel registers. wctdm24xxp: Remove assigned callback. dahdi: Remove "ddev" symlink before unregistering the span device. dahdi: CentOS 6.5 backported PDE_DATA definition. wcxb: is_pcie -> pci_is_pcie() wcxb: Do not access cur_transfer/cur_msg outside of lock. wcaxx: Add extra dummy read when checking for single fxs modules. wcte43x: Update firmware to version e0017. dahdi: Replace drv_attr with drv_groups on kernels > 3.12. Revert "w...
2013 Dec 02
0
DAHDI-Linux and DAHDI-Tools 2.8.0-rc4 Now Available
...dynamic spans. wcaxx: Use startup/shutdown callbacks to protect access to channel registers. wctdm24xxp: Remove assigned callback. dahdi: Remove "ddev" symlink before unregistering the span device. dahdi: CentOS 6.5 backported PDE_DATA definition. wcxb: is_pcie -> pci_is_pcie() wcxb: Do not access cur_transfer/cur_msg outside of lock. wcaxx: Add extra dummy read when checking for single fxs modules. wcte43x: Update firmware to version e0017. dahdi: Replace drv_attr with drv_groups on kernels > 3.12. Revert "w...
2008 Sep 27
3
[PATCH 4/6 v3] PCI: support SR-IOV capability
...E_NORMAL; + new->multifunction = 0; + new->vendor = dev->vendor; + pci_read_config_word(dev, dev->iov->cap + PCI_IOV_VF_DID, &new->device); + new->cfg_size = PCI_CFG_SPACE_EXP_SIZE; + new->error_state = pci_channel_io_normal; + new->is_pcie = 1; + new->pcie_type = PCI_EXP_TYPE_ENDPOINT; + new->dma_mask = 0xffffffff; + + dev_set_name(&new->dev, "%04x:%02x:%02x.%d", pci_domain_nr(bus), + busnr, PCI_SLOT(devfn), PCI_FUNC(devfn)); + + pci_read_config_byte(new, PCI_REVISION...
2008 Sep 27
3
[PATCH 4/6 v3] PCI: support SR-IOV capability
...E_NORMAL; + new->multifunction = 0; + new->vendor = dev->vendor; + pci_read_config_word(dev, dev->iov->cap + PCI_IOV_VF_DID, &new->device); + new->cfg_size = PCI_CFG_SPACE_EXP_SIZE; + new->error_state = pci_channel_io_normal; + new->is_pcie = 1; + new->pcie_type = PCI_EXP_TYPE_ENDPOINT; + new->dma_mask = 0xffffffff; + + dev_set_name(&new->dev, "%04x:%02x:%02x.%d", pci_domain_nr(bus), + busnr, PCI_SLOT(devfn), PCI_FUNC(devfn)); + + pci_read_config_byte(new, PCI_REVISION...
2008 Sep 01
1
[PATCH 2/4 v2] PCI: support ARI capability
...b/include/linux/pci.h @@ -236,6 +236,7 @@ struct pci_dev { unsigned int broken_parity_status:1; /* Device generates false positive parity */ unsigned int msi_enabled:1; unsigned int msix_enabled:1; + unsigned int ari_enabled:1; /* ARI forwarding */ unsigned int is_managed:1; unsigned int is_pcie:1; pci_dev_flags_t dev_flags; @@ -1137,5 +1138,29 @@ static inline void pci_mmcfg_early_init(void) { } static inline void pci_mmcfg_late_init(void) { } #endif +#ifdef CONFIG_PCI_ARI +/** + * pci_ari_fwd_enabled - query ARI forwarding status + * @dev: the PCI device + * + * Returns 1 if ARI f...
2008 Sep 01
1
[PATCH 2/4 v2] PCI: support ARI capability
...b/include/linux/pci.h @@ -236,6 +236,7 @@ struct pci_dev { unsigned int broken_parity_status:1; /* Device generates false positive parity */ unsigned int msi_enabled:1; unsigned int msix_enabled:1; + unsigned int ari_enabled:1; /* ARI forwarding */ unsigned int is_managed:1; unsigned int is_pcie:1; pci_dev_flags_t dev_flags; @@ -1137,5 +1138,29 @@ static inline void pci_mmcfg_early_init(void) { } static inline void pci_mmcfg_late_init(void) { } #endif +#ifdef CONFIG_PCI_ARI +/** + * pci_ari_fwd_enabled - query ARI forwarding status + * @dev: the PCI device + * + * Returns 1 if ARI f...
2008 Sep 01
1
[PATCH 2/4 v2] PCI: support ARI capability
...b/include/linux/pci.h @@ -236,6 +236,7 @@ struct pci_dev { unsigned int broken_parity_status:1; /* Device generates false positive parity */ unsigned int msi_enabled:1; unsigned int msix_enabled:1; + unsigned int ari_enabled:1; /* ARI forwarding */ unsigned int is_managed:1; unsigned int is_pcie:1; pci_dev_flags_t dev_flags; @@ -1137,5 +1138,29 @@ static inline void pci_mmcfg_early_init(void) { } static inline void pci_mmcfg_late_init(void) { } #endif +#ifdef CONFIG_PCI_ARI +/** + * pci_ari_fwd_enabled - query ARI forwarding status + * @dev: the PCI device + * + * Returns 1 if ARI f...
2008 Oct 14
8
[PATCH 0/8 v4] PCI: Linux kernel SR-IOV support
Greetings, Following patches are intended to support SR-IOV capability in the Linux kernel. With these patches, people can turn a PCI device with the capability into multiple ones from software perspective, which will benefit KVM and achieve other purposes such as QoS, security, and etc. [PATCH 1/8 v4] PCI: define PCI resource names in a 'enum' [PATCH 2/8 v4] PCI: export __pci_read_base
2008 Oct 14
8
[PATCH 0/8 v4] PCI: Linux kernel SR-IOV support
Greetings, Following patches are intended to support SR-IOV capability in the Linux kernel. With these patches, people can turn a PCI device with the capability into multiple ones from software perspective, which will benefit KVM and achieve other purposes such as QoS, security, and etc. [PATCH 1/8 v4] PCI: define PCI resource names in a 'enum' [PATCH 2/8 v4] PCI: export __pci_read_base
2008 Nov 21
22
[PATCH 0/13 v7] PCI: Linux kernel SR-IOV support
Greetings, Following patches are intended to support SR-IOV capability in the Linux kernel. With these patches, people can turn a PCI device with the capability into multiple ones from software perspective, which will benefit KVM and achieve other purposes such as QoS, security, and etc. The Physical Function and Virtual Function drivers using the SR-IOV APIs will come soon! Major changes from