]> git.baikalelectronics.ru Git - kernel.git/commit
swiotlb: panic if nslabs is too small
authorDongli Zhang <dongli.zhang@oracle.com>
Sat, 11 Jun 2022 08:25:14 +0000 (01:25 -0700)
committerChristoph Hellwig <hch@lst.de>
Wed, 22 Jun 2022 10:42:09 +0000 (12:42 +0200)
commitcd13b21a12adc1a849f825b47ea33ee25df845c8
tree8905b87243769254b100497f5aa3b506cf4460cf
parentd256ae5808629c5fe798452a883daa3f56335a76
swiotlb: panic if nslabs is too small

Panic on purpose if nslabs is too small, in order to sync with the remap
retry logic.

In addition, print the number of bytes for tlb alloc failure.

Signed-off-by: Dongli Zhang <dongli.zhang@oracle.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
kernel/dma/swiotlb.c