arm64/ascend: set the correct dvpp mmap area when no MAP_DVPP flags
ascend inclusion category: feature bugzilla: NA CVE: NA ------------------------------------------------- The commit 4daf80d7164 ("arm64/ascend: Enable...") missed to set the correct dvpp mmap area when the user didn't set the MAP_DVPP flags, so add new area zone to fix this. And fix some coding style, rename the enable_map_dvpp to enable_mmap_dvpp. v2: return true if the input addr is DVPP_MMAP_BASE for dvpp_mmap_zone. Fixes: 4daf80d7164 ("arm64/ascend: Enable DvPP mmap features for Ascend Platform") Signed-off-by:Ding Tianhong <dingtianhong@huawei.com> Reviewed-by:
Hanjun Guo <guohanjun@huawei.com> Signed-off-by:
Yang Yingliang <yangyingliang@huawei.com>
Showing
- arch/arm64/mm/init.c 1 addition, 1 deletionarch/arm64/mm/init.c
- arch/arm64/mm/mmap.c 0 additions, 4 deletionsarch/arm64/mm/mmap.c
- drivers/char/svm.c 2 additions, 2 deletionsdrivers/char/svm.c
- fs/hugetlbfs/inode.c 2 additions, 2 deletionsfs/hugetlbfs/inode.c
- include/linux/mman.h 40 additions, 17 deletionsinclude/linux/mman.h
- mm/mmap.c 10 additions, 10 deletionsmm/mmap.c
Please register or sign in to comment