linux/drivers/infiniband/hw
Cai Huoqing fc36ce35e9 RDMA/usnic: Remove redundant pci_clear_master
Remove pci_clear_master to simplify the code,
the bus-mastering is also cleared in do_pci_disable_device,
like this:
./drivers/pci/pci.c:2197
static void do_pci_disable_device(struct pci_dev *dev)
{
	u16 pci_command;

	pci_read_config_word(dev, PCI_COMMAND, &pci_command);
	if (pci_command & PCI_COMMAND_MASTER) {
		pci_command &= ~PCI_COMMAND_MASTER;
		pci_write_config_word(dev, PCI_COMMAND, pci_command);
	}

	pcibios_disable_device(dev);
}.
And dev->is_busmaster is set to 0 in pci_disable_device.

Signed-off-by: Cai Huoqing <cai.huoqing@linux.dev>
Link: https://lore.kernel.org/r/20230323115742.13836-1-cai.huoqing@linux.dev
Signed-off-by: Leon Romanovsky <leon@kernel.org>
2023-03-29 13:08:22 +03:00
..
bnxt_re RDMA/bnxt_re: Add resize_cq support 2023-03-29 10:03:43 +03:00
cxgb4 iw_cxgb4: Fix potential NULL dereference in c4iw_fill_res_cm_id_entry() 2023-02-15 13:37:37 +02:00
efa RDMA/efa: Add data polling capability feature bit 2023-03-22 14:41:58 -03:00
erdma RDMA/erdma: Use fixed hardware page size 2023-03-24 11:31:22 -03:00
hfi1 IB/hfi1: Drop redundant pci_enable_pcie_error_reporting() 2023-03-19 16:15:44 +02:00
hns RDMA/hns: Add new command to support query vf caps 2023-03-14 11:57:56 +02:00
irdma RDMA/irdma: Refactor PBLE functions 2023-03-19 11:36:33 +02:00
mana v6.3 RDMA pull request 2023-02-24 15:11:03 -08:00
mlx4 RDMA/mlx4: Prevent shift wrapping in set_user_sq_size() 2023-03-19 11:35:46 +02:00
mlx5 RDMA/mlx5: Expand switchdev Q-counters to expose representor statistics 2023-03-29 10:09:23 +03:00
mthca IB: move from strlcpy with unused retval to strscpy 2022-08-21 14:18:02 +03:00
ocrdma IB: move from strlcpy with unused retval to strscpy 2022-08-21 14:18:02 +03:00
qedr Linux 6.1-rc8 2022-12-09 15:52:17 -04:00
qib IB/qib: Drop redundant pci_enable_pcie_error_reporting() 2023-03-19 16:16:06 +02:00
usnic RDMA/usnic: Remove redundant pci_clear_master 2023-03-29 13:08:22 +03:00
vmw_pvrdma mm: replace vma->vm_flags direct modifications with modifier calls 2023-02-09 16:51:39 -08:00
Makefile RDMA/mana_ib: Add a driver for Microsoft Azure Network Adapter 2022-11-11 11:40:09 +02:00