Hon Ching \(Vicky\) Lo 60ecd86c4d vTPM: fix memory allocation flag for rtce buffer at kernel boot
At ibm vtpm initialzation, tpm_ibmvtpm_probe() registers its interrupt
handler, ibmvtpm_interrupt, which calls ibmvtpm_crq_process to allocate
memory for rtce buffer.  The current code uses 'GFP_KERNEL' as the
type of kernel memory allocation, which resulted a warning at
kernel/lockdep.c.  This patch uses 'GFP_ATOMIC' instead so that the
allocation is high-priority and does not sleep.

Cc: stable@kernel.org
Signed-off-by: Hon Ching(Vicky) Lo <honclo@linux.vnet.ibm.com>
Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
2015-10-19 01:00:49 +02:00
..
2015-02-15 16:59:15 +01:00
2007-08-22 19:52:44 -07:00
2015-01-17 14:00:10 +01:00
2015-01-17 14:00:09 +01:00
2015-01-17 14:00:09 +01:00
2015-02-15 16:59:15 +01:00
2015-07-13 23:33:57 +02:00
2015-01-17 14:00:10 +01:00
2015-02-15 16:59:15 +01:00