diff options
author | Christoph Hellwig <[email protected]> | 2022-05-11 08:44:29 +0200 |
---|---|---|
committer | Christoph Hellwig <[email protected]> | 2022-05-13 12:48:58 +0200 |
commit | 1521c607cabe7c7edb028e211e88ba1e0f19714e (patch) | |
tree | cf20ea2b5617ab50fb2dd183bbf4a6aa3c896a47 /scripts/bpf_doc.py | |
parent | 84bc4f1dbbbb5f8aa68706a96711dccb28b518e5 (diff) |
swiotlb: don't panic when the swiotlb buffer can't be allocated
For historical reasons the switlb code paniced when the metadata could
not be allocated, but just printed a warning when the actual main
swiotlb buffer could not be allocated. Restore this somewhat unexpected
behavior as changing it caused a boot failure on the Microchip RISC-V
PolarFire SoC Icicle kit.
Fixes: 6424e31b1c05 ("swiotlb: remove swiotlb_init_with_tbl and swiotlb_init_late_with_tbl")
Reported-by: Conor Dooley <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Stefano Stabellini <[email protected]>
Acked-by: Conor Dooley <[email protected]>
Tested-by: Conor Dooley <[email protected]>
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions