ACC: Bugfixed while removing VFs with user space tasks on
driver inclusion category: bugfix bugzilla: NA CVE: NA [ 686.684022] Call trace: [ 686.684025] __vunmap+0x44/0xf8 [ 686.684026] vunmap+0x24/0x30 [ 686.684030] arch_dma_free+0x84/0xa8 [ 686.684032] dma_direct_free+0x30/0x38 [ 686.684033] dma_free_attrs+0xa0/0xe8 [ 686.684037] uacce_queue_drain+0x12c/0x180 [uacce] [ 686.684039] uacce_fops_flush+0x70/0x80 [uacce] [ 686.684041] filp_close+0x30/0x90 [ 686.684045] put_files_struct+0xf8/0x100 [ 686.684048] exit_files+0x40/0x58 [ 686.684052] do_exit+0x294/0xa18 [ 686.684054] do_group_exit+0x38/0xa0 [ 686.684055] __arm64_sys_exit_group+0x14/0x18 [ 686.684059] el0_svc_common+0x5c/0x100 [ 686.684060] el0_svc_handler+0x2c/0x80 [ 686.684062] el0_svc+0x8/0xc [ 686.684063] ---[ end trace 82054841c5907aec ]--- [ 686.684070] Unable to handle kernel paging request at virtual address ffff00001aee0204 As user tries to disable SRIOV on the PCI device, we try to check whether there is any user including kernel crypto or user space. If any, disabling returns failure. For devices who don't use UACCE, there is no such check. Signed-off-by: Nxuzaibo <xuzaibo@huawei.com> Reviewed-by: Nwangzhou <wangzhou1@hisilicon.com> Signed-off-by: Nlingmingqiang <lingmingqiang@huawei.com> Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
Showing
想要评论请 注册 或 登录