[PATCH] vTPM: fix memory allocation flag for rtce buffer at kernel boot

2015-10-07 Thread Hon Ching(Vicky) Lo
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 pat

[PATCH] vTPM: fix memory allocation flag for rtce buffer at kernel boot

2015-10-07 Thread Hon Ching(Vicky) Lo
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 pat