OpenCloudOS-Kernel/drivers/crypto/qat/qat_common
Colin Ian King cd5c91fe62 crypto: qat - ratelimit invalid ioctl message and print the invalid cmd
Currently incorrect QAT ioctls can spam the kernel log with error messages
of the form "QAT: Invalid ioctl" if a userspace program uses the wrong
ioctl command. Quench the messages by ratelimiting them and also print
the invalid command being used as that is useful to know.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2021-06-28 11:28:08 +08:00
..
Makefile crypto: qat - add qat_4xxx driver 2020-11-20 14:45:34 +11:00
adf_accel_devices.h crypto: qat - enable detection of accelerators hang 2021-04-16 21:16:34 +10:00
adf_accel_engine.c crypto: qat - target fw images to specific AEs 2020-11-20 14:45:34 +11:00
adf_admin.c crypto: qat - remove cast for mailbox CSR 2020-11-13 20:38:43 +11:00
adf_aer.c crypto: qat - drop input parameter from adf_enable_aer() 2020-10-08 16:38:06 +11:00
adf_cfg.c crypto: qat - change return value in adf_cfg_key_val_get() 2020-10-30 17:34:59 +11:00
adf_cfg.h crypto: qat - convert to SPDX License Identifiers 2020-06-18 17:19:44 +10:00
adf_cfg_common.h crypto: qat - add qat_4xxx driver 2020-11-20 14:45:34 +11:00
adf_cfg_strings.h crypto: qat - allow for instances in different banks 2020-10-30 17:35:01 +11:00
adf_cfg_user.h crypto: qat - replace user types with kernel ABI __u types 2020-06-18 17:26:42 +10:00
adf_common_drv.h crypto: qat - allow to target specific AEs 2020-11-13 20:38:54 +11:00
adf_ctl_drv.c crypto: qat - ratelimit invalid ioctl message and print the invalid cmd 2021-06-28 11:28:08 +08:00
adf_dev_mgr.c crypto: qat - fix excluded_middle.cocci warnings 2020-11-27 17:13:41 +11:00
adf_gen2_hw_data.c crypto: qat - enable detection of accelerators hang 2021-04-16 21:16:34 +10:00
adf_gen2_hw_data.h crypto: qat - enable detection of accelerators hang 2021-04-16 21:16:34 +10:00
adf_gen4_hw_data.c crypto: qat - enable detection of accelerators hang 2021-04-16 21:16:34 +10:00
adf_gen4_hw_data.h crypto: qat - enable detection of accelerators hang 2021-04-16 21:16:34 +10:00
adf_hw_arbiter.c crypto: qat - configure arbiter mapping based on engines enabled 2021-01-14 17:10:26 +11:00
adf_init.c crypto: qat - enable detection of accelerators hang 2021-04-16 21:16:34 +10:00
adf_isr.c crypto: qat - fix error path in adf_isr_resource_alloc() 2021-04-02 18:28:12 +11:00
adf_pf2vf_msg.c crypto: qat - fix spelling mistake: "messge" -> "message" 2021-03-07 15:13:14 +11:00
adf_pf2vf_msg.h crypto: qat - convert to SPDX License Identifiers 2020-06-18 17:19:44 +10:00
adf_sriov.c crypto: qat - replace pci with PCI in comments 2020-11-13 20:38:44 +11:00
adf_transport.c crypto: qat - Fix a double free in adf_create_ring 2021-04-09 17:45:14 +10:00
adf_transport.h crypto: qat - replace user types with kernel u types 2020-06-18 17:26:41 +10:00
adf_transport_access_macros.h crypto: qat - remove hardcoded bank irq clear flag mask 2020-10-30 17:34:57 +11:00
adf_transport_debug.c crypto: qat - change format string and cast ring size 2021-01-14 17:10:26 +11:00
adf_transport_internal.h crypto: qat - num_rings_per_bank is device dependent 2020-10-30 17:34:46 +11:00
adf_vf2pf_msg.c crypto: qat - fix spelling mistake: "messge" -> "message" 2021-03-07 15:13:14 +11:00
adf_vf_isr.c crypto: qat - don't release uninitialized resources 2021-03-26 20:02:36 +11:00
icp_qat_fw.h crypto: qat - replace user types with kernel ABI __u types 2020-06-18 17:26:42 +10:00
icp_qat_fw_init_admin.h crypto: qat - rename ME in AE 2020-10-30 17:34:49 +11:00
icp_qat_fw_la.h crypto: qat - add AES-CTR support for QAT GEN4 devices 2020-12-11 21:54:15 +11:00
icp_qat_fw_loader_handle.h crypto: qat - check MMP size before writing to the SRAM 2021-05-28 14:20:40 +08:00
icp_qat_fw_pke.h crypto: qat - replace user types with kernel ABI __u types 2020-06-18 17:26:42 +10:00
icp_qat_hal.h crypto: qat - add gen4 firmware loader 2020-11-13 20:38:55 +11:00
icp_qat_hw.h crypto: qat - add AES-CTR support for QAT GEN4 devices 2020-12-11 21:54:15 +11:00
icp_qat_uclo.h crypto: qat - add gen4 firmware loader 2020-11-13 20:38:55 +11:00
qat_algs.c crypto: qat - fix use of 'dma_map_single' 2021-03-13 00:04:05 +11:00
qat_asym_algs.c crypto: qat - reduce size of mapped region 2021-01-14 17:10:26 +11:00
qat_crypto.c crypto: qat - allow for instances in different banks 2020-10-30 17:35:01 +11:00
qat_crypto.h crypto: qat - register crypto instances based on capability 2020-10-30 17:34:54 +11:00
qat_hal.c crypto: qat - check return code of qat_hal_rd_rel_reg() 2021-05-28 14:20:40 +08:00
qat_uclo.c crypto: qat - remove unused macro in FW loader 2021-05-28 14:20:40 +08:00