diff options
author | Christoph Hellwig <hch@lst.de> | 2018-04-27 09:13:24 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2018-05-28 12:48:16 +0200 |
commit | 06e9552f5f12564dc1c3483f0934d96cc4f72f18 (patch) | |
tree | 48c92eba3b3c1a7e8576fc84159183481e5e2960 /drivers/net/ethernet/sfc/efx.c | |
parent | 84564d1c76255ac6d5fb76c85818cb5961fad061 (diff) | |
download | linux-06e9552f5f12564dc1c3483f0934d96cc4f72f18.tar.bz2 |
x86/pci-dma: remove the experimental forcesac boot option
Limiting the dma mask to avoid PCI (pre-PCIe) DAC cycles while paying
the huge overhead of an IOMMU is rather pointless, and this seriously
gets in the way of dma mapping work.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'drivers/net/ethernet/sfc/efx.c')
-rw-r--r-- | drivers/net/ethernet/sfc/efx.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/net/ethernet/sfc/efx.c b/drivers/net/ethernet/sfc/efx.c index a4ebd8715494..661828e8fdcf 100644 --- a/drivers/net/ethernet/sfc/efx.c +++ b/drivers/net/ethernet/sfc/efx.c @@ -1289,9 +1289,8 @@ static int efx_init_io(struct efx_nic *efx) pci_set_master(pci_dev); - /* Set the PCI DMA mask. Try all possibilities from our - * genuine mask down to 32 bits, because some architectures - * (e.g. x86_64 with iommu_sac_force set) will allow 40 bit + /* Set the PCI DMA mask. Try all possibilities from our genuine mask + * down to 32 bits, because some architectures will allow 40 bit * masks event though they reject 46 bit masks. */ while (dma_mask > 0x7fffffffUL) { |