tory of the file.
Thanks Bjorn !
--
Damien Le Moal
Western Digital Research
Replace the last references to PCI_IRQ_LEGACY with PCI_IRQ_INTX in pci.h
header file. With this change, PCI_IRQ_LEGACY is unused and we can
remove its definition.
Signed-off-by: Damien Le Moal
---
include/linux/pci.h | 7 ++-
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git
In pvscsi_probe(), initialize the irq_flag variable using
PCI_IRQ_ALL_TYPES to remove the use of the deprecated PCI_IRQ_LEGACY
macro.
Signed-off-by: Damien Le Moal
---
drivers/scsi/vmw_pvscsi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/scsi/vmw_pvscsi.c b
Use the macro PCI_IRQ_INTX instead of the deprecated PCI_IRQ_LEGACY
macro.
Signed-off-by: Damien Le Moal
---
drivers/scsi/pmcraid.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/scsi/pmcraid.c b/drivers/scsi/pmcraid.c
index e8bcc3a88732..9c57efa10732 100644
Use the macro PCI_IRQ_INTX instead of the deprecated PCI_IRQ_LEGACY
macro.
Signed-off-by: Damien Le Moal
---
drivers/scsi/mpt3sas/mpt3sas_base.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/scsi/mpt3sas/mpt3sas_base.c
b/drivers/scsi/mpt3sas/mpt3sas_base.c
index
Use the macro PCI_IRQ_INTX instead of the deprecated PCI_IRQ_LEGACY
macro.
Signed-off-by: Damien Le Moal
---
drivers/scsi/megaraid/megaraid_sas_base.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/scsi/megaraid/megaraid_sas_base.c
b/drivers/scsi/megaraid
Use the macro PCI_IRQ_INTX instead of the deprecated PCI_IRQ_LEGACY
macro.
Signed-off-by: Damien Le Moal
---
drivers/scsi/ipr.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/scsi/ipr.c b/drivers/scsi/ipr.c
index 3819f7c42788..e0326f1e6559 100644
--- a/drivers/scsi
Use the macro PCI_IRQ_INTX instead of the deprecated PCI_IRQ_LEGACY
macro.
Signed-off-by: Damien Le Moal
---
drivers/scsi/hpsa.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c
index af18d20f3079..23b19fa30661 100644
--- a/drivers
Use the macro PCI_IRQ_INTX instead of the deprecated PCI_IRQ_LEGACY
macro.
Signed-off-by: Damien Le Moal
---
drivers/scsi/arcmsr/arcmsr_hba.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/scsi/arcmsr/arcmsr_hba.c b/drivers/scsi/arcmsr/arcmsr_hba.c
index
Use the macro PCI_IRQ_INTX instead of the deprecated PCI_IRQ_LEGACY
macro.
Signed-off-by: Damien Le Moal
---
drivers/net/wireless/realtek/rtw88/pci.c | 2 +-
drivers/net/wireless/realtek/rtw89/pci.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/wireless
To be consistent with the deprecation of PCI_IRQ_LEGACY and its
replacement with PCI_IRQ_INTX, rename macros and functions referencing
"legacy irq" to instead use the term "intx irq".
Signed-off-by: Damien Le Moal
---
drivers/net/wireless/ath/ath10k/ahb.c | 18 +++
Use the macro PCI_IRQ_INTX instead of the deprecated PCI_IRQ_LEGACY
macro.
Signed-off-by: Damien Le Moal
---
drivers/net/ethernet/wangxun/libwx/wx_lib.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/net/ethernet/wangxun/libwx/wx_lib.c
b/drivers/net
Use the macro PCI_IRQ_INTX instead of the deprecated PCI_IRQ_LEGACY
macro.
Signed-off-by: Damien Le Moal
---
drivers/net/ethernet/realtek/r8169_main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/realtek/r8169_main.c
b/drivers/net/ethernet/realtek
Use the macro PCI_IRQ_INTX instead of the deprecated PCI_IRQ_LEGACY
macro.
Signed-off-by: Damien Le Moal
---
drivers/net/ethernet/atheros/alx/main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/atheros/alx/main.c
b/drivers/net/ethernet/atheros/alx
Use the macro PCI_IRQ_INTX instead of the deprecated PCI_IRQ_LEGACY
macro. To be consistent with this change, the macros AQ_HW_IRQ_LEGACY
and AQ_CFG_FORCE_LEGACY_INT are respectively renamed to AQ_HW_IRQ_INTX
and AQ_CFG_FORCE_INTX.
Signed-off-by: Damien Le Moal
---
drivers/net/ethernet/aquantia
Use the macro PCI_IRQ_INTX instead of the deprecated PCI_IRQ_LEGACY
macro.
Signed-off-by: Damien Le Moal
---
drivers/net/ethernet/amd/xgbe/xgbe-pci.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/amd/xgbe/xgbe-pci.c
b/drivers/net/ethernet/amd/xgbe
In vmci_guest_probe_device(), remove the reference to PCI_IRQ_LEGACY by
using PCI_IRQ_ALL_TYPES instead of an explicit OR of all IRQ types.
Signed-off-by: Damien Le Moal
---
drivers/misc/vmw_vmci/vmci_guest.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/misc
Use the macro PCI_IRQ_INTX instead of the deprecated PCI_IRQ_LEGACY
macro.
Signed-off-by: Damien Le Moal
---
drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c
b/drivers/infiniband/hw
Use the macro PCI_IRQ_INTX instead of the deprecated PCI_IRQ_LEGACY
macro.
Signed-off-by: Damien Le Moal
---
drivers/infiniband/hw/qib/qib_iba7220.c | 2 +-
drivers/infiniband/hw/qib/qib_iba7322.c | 5 ++---
drivers/infiniband/hw/qib/qib_pcie.c| 2 +-
3 files changed, 4 insertions(+), 5
Use the macro PCI_IRQ_INTX instead of the deprecated PCI_IRQ_LEGACY
macro.
Signed-off-by: Damien Le Moal
---
drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
b/drivers/gpu/drm/amd/amdgpu
Use the macro PCI_IRQ_INTX instead of the deprecated PCI_IRQ_LEGACY
macro.
Signed-off-by: Damien Le Moal
---
drivers/mfd/intel-lpss-pci.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mfd/intel-lpss-pci.c b/drivers/mfd/intel-lpss-pci.c
index 8c00e0c695c5
Use the macro PCI_IRQ_INTX instead of the deprecated PCI_IRQ_LEGACY
macro.
Signed-off-by: Damien Le Moal
---
drivers/ntb/hw/idt/ntb_hw_idt.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/ntb/hw/idt/ntb_hw_idt.c b/drivers/ntb/hw/idt/ntb_hw_idt.c
index 48823b53ede3
Use the macro PCI_IRQ_INTX instead of the deprecated PCI_IRQ_LEGACY
macro.
Signed-off-by: Damien Le Moal
---
drivers/platform/x86/intel_ips.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/platform/x86/intel_ips.c b/drivers/platform/x86/intel_ips.c
index
Use the macro PCI_IRQ_INTX instead of the deprecated PCI_IRQ_LEGACY
macro.
Signed-off-by: Damien Le Moal
---
drivers/tty/serial/8250/8250_pci.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/tty/serial/8250/8250_pci.c
b/drivers/tty/serial/8250/8250_pci.c
index
Use the macro PCI_IRQ_INTX instead of the deprecated PCI_IRQ_LEGACY
macro.
Signed-off-by: Damien Le Moal
---
drivers/usb/core/hcd-pci.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/usb/core/hcd-pci.c b/drivers/usb/core/hcd-pci.c
index ee3156f49533..a08f3f228e6d
Use the macro PCI_IRQ_INTX instead of the deprecated PCI_IRQ_LEGACY
macro.
Signed-off-by: Damien Le Moal
---
sound/soc/intel/avs/core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/soc/intel/avs/core.c b/sound/soc/intel/avs/core.c
index d7f8940099ce..69818e4b43da
Change all references to PCI_IRQ_LEGACY to PCI_IRQ_INTX in the PCI
documentation to reflect that PCI_IRQ_LEGACY is deprecated.
Signed-off-by: Damien Le Moal
---
Documentation/PCI/msi-howto.rst| 2 +-
Documentation/PCI/pci.rst | 2 +-
Documentation
In the PCI Express Port Bus Driver, use the macro PCI_IRQ_INTX instead
of the now deprecated PCI_IRQ_LEGACY macro.
Signed-off-by: Damien Le Moal
---
drivers/pci/pcie/portdrv.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/pci/pcie/portdrv.c b/drivers/pci
In pci_alloc_irq_vectors_affinity(), use the macro PCI_IRQ_INTX instead
of the now deprecated PCI_IRQ_LEGACY macro.
Signed-off-by: Damien Le Moal
---
drivers/pci/msi/api.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/pci/msi/api.c b/drivers/pci/msi/api.c
This patch series removes the use of the depracated PCI_IRQ_LEGACY macro
and replace it with PCI_IRQ_INTX. No functional change.
Damien Le Moal (28):
PCI: msi: Use PCI_IRQ_INTX
PCI: portdrv: Use PCI_IRQ_INTX
PCI: documentation: Use PCI_IRQ_INTX
sound: intel: Use PCI_IRQ_INTX
usb: hcd
On 2020/10/10 4:52, ira.we...@intel.com wrote:
> From: Ira Weiny
>
> The kmap() calls in this FS are localized to a single thread. To avoid
> the over head of global PKRS updates use the new kmap_thread() call.
>
> Cc: Damien Le Moal
> Cc: Naohiro Aota
> Signed-off-by
31 matches
Mail list logo