[PATCH] swiotlb: swiotlb_tbl_map_single() kernel BUG in iommu-helper.h:30
: [0.360934] x3 : x2 : 18b0d50da009d000 [0.366258] x1 : x0 : 0042 [0.371583] Call trace: [0.374032] swiotlb_tbl_map_single+0x2b0/0x6a0 [0.378573] swiotlb_map+0xa8/0x2b0 Signed-off-by: Brad Larson --- kernel/dma/swiotlb.c | 2
Re: [PATCH] swiotlb: swiotlb_tbl_map_single() kernel BUG in iommu-helper.h:30
> > On Fri, Feb 26, 2021 at 12:43:07PM -0800, Brad Larson wrote: > > Kernel Oops introduced in next-20210222 due to get_max_slots return arg > size. > > In the function find_slots() variable max_slots is zero when > boundary_mask is > > 0x. > >