Re: [PATCH stable 5.10-5.11] iommu/amd: Fix sleeping in atomic in increase_address_space()

2021-03-10 Thread Greg KH
On Tue, Mar 09, 2021 at 09:24:29PM +0300, Andrey Ryabinin wrote: > commit 140456f994195b568ecd7fc2287a34eadffef3ca upstream. All now queued up, thanks. greg k-h

[PATCH stable 5.10-5.11] iommu/amd: Fix sleeping in atomic in increase_address_space()

2021-03-09 Thread Andrey Ryabinin
commit 140456f994195b568ecd7fc2287a34eadffef3ca upstream. increase_address_space() calls get_zeroed_page(gfp) under spin_lock with disabled interrupts. gfp flags passed to increase_address_space() may allow sleeping, so it comes to this: BUG: sleeping function called from invalid context at