linux_dsm_epyc7002/drivers/crypto/qat/qat_common
Arnd Bergmann 8c9478a400 crypto: qat - reduce stack size with KASAN
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 larger than 1536 bytes [-Werror=frame-larger-than=]

Changing the register-read function to return the value instead reduces the stack
size to around 800 bytes, most of which is for the 'savuwords' array. The function
now no longer returns an error code, but nothing ever evaluated that anyway.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2017-12-22 19:52:39 +11:00
..
.gitignore crypto: qat - Add support for RSA algorithm 2015-07-17 21:20:18 +08:00
adf_accel_devices.h crypto: qat - fix bar discovery for c62x 2016-12-30 19:52:27 +08:00
adf_accel_engine.c crypto: qat - add support for new devices to FW loader 2015-12-09 20:03:49 +08:00
adf_admin.c crypto: qat - fix constants table DMA 2016-08-31 23:00:50 +08:00
adf_aer.c crypto: qat - fix spelling mistake: "runing" -> "running" 2017-07-18 17:50:51 +08:00
adf_cfg_common.h crypto: qat - increase number of supported devices 2016-12-30 19:52:36 +08:00
adf_cfg_strings.h crypto: qat - Remove redundant nrbg rings 2016-04-05 20:35:52 +08:00
adf_cfg_user.h crypto: qat - Pack cfg ctl structs 2016-01-25 22:39:02 +08:00
adf_cfg.c crypto: qat - Add support for SRIOV 2015-08-10 23:20:16 +08:00
adf_cfg.h
adf_common_drv.h crypto: qat - increase number of supported devices 2016-12-30 19:52:36 +08:00
adf_ctl_drv.c crypto: qat - change the adf_ctl_stop_devices to void 2016-05-13 17:30:18 +08:00
adf_dev_mgr.c crypto: qat - remove unused and redundant pointer vf_info 2017-11-03 21:53:31 +08:00
adf_hw_arbiter.c crypto: qat - remove redundant arbiter configuration 2016-03-11 21:22:18 +08:00
adf_init.c crypto: qat - increase number of supported devices 2016-12-30 19:52:36 +08:00
adf_isr.c crypto: qat - Fix typo in comments 2016-05-03 16:10:13 +08:00
adf_pf2vf_msg.c crypto: qat - move isr files to qat common so that they can be reused 2015-12-09 20:03:51 +08:00
adf_pf2vf_msg.h crypto: qat - enable legacy VFs 2015-08-25 21:13:19 +08:00
adf_sriov.c crypto: qat - fix comments describing adf_disable_sriov() 2016-12-30 19:52:23 +08:00
adf_transport_access_macros.h crypto: qat - enable VF irq after guest exits ungracefully 2015-12-14 21:03:36 +08:00
adf_transport_debug.c drivers/crypto/qat: use seq_hex_dump() to dump buffers 2015-09-10 13:29:01 -07:00
adf_transport_internal.h crypto: qat - move isr files to qat common so that they can be reused 2015-12-09 20:03:51 +08:00
adf_transport.c crypto: qat - enable VF irq after guest exits ungracefully 2015-12-14 21:03:36 +08:00
adf_transport.h crypto: qat - Intel(R) QAT transport code 2014-06-20 21:26:15 +08:00
adf_vf2pf_msg.c crypto: qat - check if PF is running 2016-04-18 18:49:51 +08:00
adf_vf_isr.c crypto: qat - replace hardcoded BIT(0) in vf_isr 2016-12-30 19:52:24 +08:00
icp_qat_fw_init_admin.h crypto: qat - Intel(R) QAT FW interface 2014-06-20 21:26:16 +08:00
icp_qat_fw_la.h crypto: qat - checkpatch blank lines 2014-08-01 22:36:01 +08:00
icp_qat_fw_loader_handle.h crypto: qat - add support for new devices to FW loader 2015-12-09 20:03:49 +08:00
icp_qat_fw_pke.h crypto: qat - Add support for RSA algorithm 2015-07-17 21:20:18 +08:00
icp_qat_fw.h crypto: qat - Add support for RSA algorithm 2015-07-17 21:20:18 +08:00
icp_qat_hal.h crypto: qat - add support for new devices to FW loader 2015-12-09 20:03:49 +08:00
icp_qat_hw.h crypto: qat - fix checkpatch CHECK_SPACING issues 2015-04-01 22:22:46 +08:00
icp_qat_uclo.h crypto: qat - Change the definition of icp_qat_uof_regtype 2016-03-11 21:19:19 +08:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
qat_algs.c This is the first pull request for the new dma-mapping subsystem 2017-07-06 19:20:54 -07:00
qat_asym_algs.c crypto: dh - Remove pointless checks for NULL 'p' and 'g' 2017-11-10 19:20:22 +08:00
qat_crypto.c crypto: qat - use list_for_each_entry* 2015-12-22 20:43:41 +08:00
qat_crypto.h crypto: qat - Add support for RSA algorithm 2015-07-17 21:20:18 +08:00
qat_hal.c crypto: qat - reduce stack size with KASAN 2017-12-22 19:52:39 +11:00
qat_uclo.c crypto: qat - mark expected switch fall-throughs in qat_uclo 2017-11-03 21:53:31 +08:00