Re: [PATCH] crypto: qat - reduce stack size with KASAN

2017-12-22 Thread Herbert Xu
On Mon, Dec 11, 2017 at 01:07:00PM +0100, Arnd Bergmann wrote: > Passing the register value by reference here leads a large amount of stack > being > used when CONFIG_KASAN is enabled: > > drivers/crypto/qat/qat_common/qat_hal.c: In function > 'qat_hal_exec_micro_inst.constprop': > drivers/crypt

[PATCH] crypto: qat - reduce stack size with KASAN

2017-12-11 Thread Arnd Bergmann
Passing the register value by reference here leads a large amount of stack being used when CONFIG_KASAN is enabled: drivers/crypto/qat/qat_common/qat_hal.c: In function 'qat_hal_exec_micro_inst.constprop': drivers/crypto/qat/qat_common/qat_hal.c:963:1: error: the frame size of 1792 bytes is larg