Skip to content
Commit 81c12e92 authored by Yu Zhao's avatar Yu Zhao Committed by Christoph Hellwig
Browse files

Revert "swiotlb: panic if nslabs is too small"



This reverts commit 0bf28fc4.

Reasons:
  1. new panic()s shouldn't be added [1].
  2. It does no "cleanup" but breaks MIPS [2].

v2: properly solved the conflict [3] with
commit 20347fca ("swiotlb: split up the global swiotlb lock")
Reported-by: default avatarkernel test robot <lkp@intel.com>
Reported-by: default avatarDan Carpenter <dan.carpenter@oracle.com>

[1] https://lore.kernel.org/r/CAHk-=wit-DmhMfQErY29JSPjFgebx_Ld+pnerc4J2Ag990WwAA@mail.gmail.com/
[2] https://lore.kernel.org/r/20220820012031.1285979-1-yuzhao@google.com/
[3] https://lore.kernel.org/r/202208310701.LKr1WDCh-lkp@intel.com/



Fixes: 0bf28fc4 ("swiotlb: panic if nslabs is too small")
Signed-off-by: default avatarYu Zhao <yuzhao@google.com>
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
parent 0066f1b0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment