提交 056e261b 编写于 作者: G Guo Mengqi 提交者: Zheng Zengkai

driver: char: delete svm.c

hulk inclusion
category: other
bugzilla: https://gitee.com/openeuler/kernel/issues/I69JDF
CVE: NA

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

Delete svm driver, as it is specially designed for Hisilicon platform.
Signed-off-by: NGuo Mengqi <guomengqi3@huawei.com>
Reviewed-by: Nchenweilong <chenweilong@huawei.com>
Signed-off-by: NJialin Zhang <zhangjialin11@huawei.com>
上级 49457cf7
......@@ -3405,7 +3405,6 @@ CONFIG_TCG_TIS_ST33ZP24_I2C=m
CONFIG_TCG_TIS_ST33ZP24_SPI=m
# CONFIG_XILLYBUS is not set
CONFIG_PIN_MEMORY_DEV=m
CONFIG_HISI_SVM=m
# CONFIG_RANDOM_TRUST_CPU is not set
# CONFIG_RANDOM_TRUST_BOOTLOADER is not set
# end of Character devices
......
......@@ -478,16 +478,6 @@ config PIN_MEMORY_DEV
help
pin memory driver
config HISI_SVM
tristate "Hisilicon svm driver"
depends on ARM64 && ARM_SMMU_V3 && MMU_NOTIFIER
default m
help
This driver provides character-level access to Hisilicon
SVM chipset. Typically, you can bind a task to the
svm and share the virtual memory with hisilicon svm device.
When in doubt, say "N".
config RANDOM_TRUST_CPU
bool "Initialize RNG using CPU RNG instructions"
default y
......
......@@ -48,4 +48,3 @@ obj-$(CONFIG_XILLYBUS) += xillybus/
obj-$(CONFIG_POWERNV_OP_PANEL) += powernv-op-panel.o
obj-$(CONFIG_ADI) += adi.o
obj-$(CONFIG_PIN_MEMORY_DEV) += pin_memory.o
obj-$(CONFIG_HISI_SVM) += svm.o
此差异已折叠。
......@@ -1479,9 +1479,11 @@ unsigned long __do_mmap_mm(struct mm_struct *mm, struct file *file,
pkey = 0;
}
#ifdef CONFIG_ASCEND_FEATURES
/* Physical address is within 4G */
if (flags & MAP_PA32BIT)
vm_flags |= VM_PA32BIT;
#endif
/* Do simple checking here so the lower-level routines won't have
* to. we assume access permissions have been handled by the open
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册