UPSTREAM: swiotlb-xen: fix late init retry
The commit referenced below removed the assignment of "bytes" from xen_swiotlb_init() without - like done for xen_swiotlb_init_early() - adding an assignment on the retry path, thus leading to excessively sized allocations upon retries. Fixes: 2d29960a ("swiotlb: dynamically allocate io_tlb_default_mem") Signed-off-by:Jan Beulich <jbeulich@suse.com> Cc: stable@vger.kernel.org Reviewed-by:
Christoph Hellwig <hch@lst.de> Link: https://lore.kernel.org/r/778299d6-9cfd-1c13-026e-25ee5d14ecb3@suse.com Signed-off-by:
Juergen Gross <jgross@suse.com> (cherry picked from commit 4c092c59) Bug: 187129171 Signed-off-by:
Connor O'Brien <connoro@google.com> Change-Id: I9d496066e2bd9cdb3d54a4fa6e80d05c3734ca95
Loading
Please sign in to comment