misc_mtx was used to mutex misc_list.
But file->f_op->open may be blocked by downloading
firmware in some devices' open.
So move file->f_op->open out of mutex (misc_mtx)
in misc_open to avoid this block.
It also make code more efficiency.
Signed-off-by: Zhang Dongxing
Signed-off-by: xiaoming wang
1048576 bytes at device gadget
Signed-off-by: Chuansheng Liu
Signed-off-by: Zhang Dongxing
Signed-off-by: xiaomin1
---
include/linux/swiotlb.h |2 +-
lib/Kconfig |4
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/include/linux/swiotlb.h b/include/linux
The maximum of SW-IOMMU is limited to 2^11*128 = 256K.
While in different platform and different requirements this seems improper.
So modify the IO_TLB_SEGSIZE to io_tlb_segsize as configurable is make sense.
Signed-off-by: Chuansheng Liu
Signed-off-by: Zhang Dongxing
Signed-off-by: xiaomin1
3 matches
Mail list logo