diff options
author | Sebastian Ott <sebott@linux.ibm.com> | 2018-10-18 11:11:08 +0200 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2018-12-13 10:42:26 +0100 |
commit | 98dfd32620e970eb576ebce5ea39d905cb005e72 (patch) | |
tree | 2b4b41e5990056e27343d9fd1cdf80f96fbfa95a /drivers/s390/crypto | |
parent | s390/pci: remove bit_lock usage in interrupt handler (diff) | |
download | linux-98dfd32620e970eb576ebce5ea39d905cb005e72.tar.xz linux-98dfd32620e970eb576ebce5ea39d905cb005e72.zip |
s390/pci: fix sleeping in atomic during hotplug
When triggered by pci hotplug (PEC 0x306) clp_get_state is called
with spinlocks held resulting in the following warning:
zpci: n/a: Event 0x306 reconfigured PCI function 0x0
BUG: sleeping function called from invalid context at mm/page_alloc.c:4324
in_atomic(): 1, irqs_disabled(): 0, pid: 98, name: kmcheck
2 locks held by kmcheck/98:
Change the allocation to use GFP_ATOMIC.
Cc: stable@vger.kernel.org # 4.13+
Signed-off-by: Sebastian Ott <sebott@linux.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390/crypto')
0 files changed, 0 insertions, 0 deletions