summaryrefslogtreecommitdiffstats
path: root/security/keys/request_key.c
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2015-05-15 01:00:02 +0200
committerJoerg Roedel <jroedel@suse.de>2017-04-29 00:09:25 +0200
commit26b37b946a5c2658dbc37dd5d6df40aaa9685d70 (patch)
tree9c115292757373235ac0e7c8e8cfe1a1d0fc355a /security/keys/request_key.c
parentACPI/IORT: Fix CONFIG_IOMMU_API dependency (diff)
downloadlinux-26b37b946a5c2658dbc37dd5d6df40aaa9685d70.tar.xz
linux-26b37b946a5c2658dbc37dd5d6df40aaa9685d70.zip
arm: dma-mapping: Don't override dma_ops in arch_setup_dma_ops()
The arch_setup_dma_ops() function is in charge of setting dma_ops with a call to set_dma_ops(). set_dma_ops() is also called from - highbank and mvebu bus notifiers - dmabounce (to be replaced with swiotlb) - arm_iommu_attach_device (arm_iommu_attach_device is itself called from IOMMU and bus master device drivers) To allow the arch_setup_dma_ops() call to be moved from device add time to device probe time we must ensure that dma_ops already setup by any of the above callers will not be overriden. Aftering replacing dmabounce with swiotlb, converting IOMMU drivers to of_xlate and taking care of highbank and mvebu, the workaround should be removed. Signed-off-by: Sricharan R <sricharan@codeaurora.org> Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Tested-by: Ralph Sennhauser <ralph.sennhauser@gmail.com> Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'security/keys/request_key.c')
0 files changed, 0 insertions, 0 deletions