summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorSuman Kumar Chakraborty <suman.kumar.chakraborty@intel.com>2025-07-10 14:33:40 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2025-07-18 20:52:00 +1000
commit63fa7c4dc0ea965d0a17fdbf51e5b421f61000fe (patch)
tree9b11cb151bbdcfed2dc2b9690ecd2f883e3542cf /tools/perf/scripts/python
parentf0ae287c50455f7be0d8dd45a803d403c7aa4d2e (diff)
downloadkernel-63fa7c4dc0ea965d0a17fdbf51e5b421f61000fe.tar.gz
crypto: qat - validate service in rate limiting sysfs api
The sysfs interface 'qat_rl/srv' currently allows all valid services, even if a service is not configured for the device. This leads to a failure when attempting to add the SLA using 'qat_rl/sla_op'. Add a check using is_service_enabled() to ensure the requested service is enabled. If not, return -EINVAL to prevent invalid configurations. Signed-off-by: Suman Kumar Chakraborty <suman.kumar.chakraborty@intel.com> Reviewed-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
me hostprogs-y/always to hostprogs/always-yMasahiro Yamada 2019-08-29kbuild: remove unneeded comments and code from scripts/basic/MakefileMasahiro Yamada 2019-07-01fixdep: check return value of printf() and putchar()Masahiro Yamada 2019-05-21treewide: Add SPDX license identifier - Makefile/KconfigThomas Gleixner 2018-12-01kbuild: simplify dependency generation for CONFIG_TRIM_UNUSED_KSYMSMasahiro Yamada 2018-07-18kbuild: move bin2c back to scripts/ from scripts/basic/Masahiro Yamada 2018-05-07fixdep: suppress consecutive / from file paths in dependency list filesNicolas Pitre 2018-03-26kbuild: move include/config/ksym/* to include/ksym/*Masahiro Yamada 2018-03-05fixdep: do not ignore kconfig.hRasmus Villemoes 2018-03-05fixdep: remove some false CONFIG_ matchesRasmus Villemoes 2018-03-05fixdep: remove stale references to uml-config.hRasmus Villemoes 2018-01-18fixdep: use existing helper to check modular CONFIG optionsMasahiro Yamada 2018-01-18fixdep: refactor parse_dep_file()Masahiro Yamada 2018-01-18fixdep: move global variables to local variables of main()Masahiro Yamada 2018-01-18fixdep: remove unneeded memcpy() in parse_dep_file()Masahiro Yamada 2018-01-18fixdep: factor out common code for reading filesMasahiro Yamada 2018-01-18fixdep: use malloc() and read() to load dep_file to bufferMasahiro Yamada 2018-01-18fixdep: remove unnecessary <arpa/inet.h> inclusionMasahiro Yamada 2018-01-08fixdep: exit with error code in error branches of do_config_file()Lukas Bulwahn 2017-08-10fixdep: trivial: typo fix and correctionCao jin 2017-08-10kbuild: trivial cleanups on the commentsCao jin 2016-08-24fixdep: faster CONFIG_ searchAlexey Dobriyan 2016-07-22scripts: Fix size mismatch of kexec_purgatory_sizeTautschnig, Michael 2016-03-29kbuild: add fine grained build dependencies for exported symbolsNicolas Pitre 2016-03-29fixdep: accept extra dependencies on stdinNicolas Pitre 2016-02-17kbuild: fixdep: Check fstat(2) return valueTom Rini 2015-12-07fixdep: constify strrcmp argumentsNicolas Iooss