Commit e41f34b5 authored by Zheng Chongzhen's avatar Zheng Chongzhen Committed by guzitao
Browse files

sw64: fix dma features for zx200

Sunway inclusion
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I56OSP



--------------------------------

The device controllers of ZX200 chipset are all the 32-bit DMA capable
device, so we add pci quirk function hook to set dev.bus_dma_limit
to DMA_BIT_MASK(32) for all devices on the chipset, besides when
CONFIG_SUNWAY_IOMMU=n, all these devices will use swiotlb dma_ops.

Signed-off-by: default avatarZheng Chongzhen <zhengchongzhen@wxiat.com>

Signed-off-by: default avatarGu Zitao <guzitao@wxiat.com>
parent 852e6489
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment