summaryrefslogtreecommitdiff
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2015-01-19 12:53:49 +0100
committerRalf Baechle <ralf@linux-mips.org>2015-01-19 13:09:52 +0100
commit93000719491581990a8a1094eaadbf3bdccf2a5f (patch)
tree07548a7954c90547b577ef513364a80f3acad335 /scripts/patch-kernel
parenta3e6c1eff54878506b2dddcc202df9cc8180facb (diff)
downloadkernel-93000719491581990a8a1094eaadbf3bdccf2a5f.tar.gz
MIPS: ARC: Fix build error.
[...] struct component { ^ In file included from ./arch/mips/include/asm/sn/klconfig.h:58:0, from ./arch/mips/include/asm/sn/module.h:12, from ./arch/mips/include/asm/sn/node.h:8, from ./arch/mips/include/asm/mach-ip35/mmzone.h:4, from ./arch/mips/include/asm/mmzone.h:9, from ./arch/mips/include/asm/mach-ip35/topology.h:7, from ./arch/mips/include/asm/topology.h:11, from include/linux/topology.h:35, from include/linux/gfp.h:8, from include/linux/device.h:29, from drivers/base/component.c:14: ./arch/mips/include/asm/fw/arc/hinv.h:122:16: note: originally defined here typedef struct component { ^ make[2]: *** [drivers/base/component.o] Error 1 make[2]: Target `__build' not remade because of errors. make[1]: *** [drivers/base] Error 2 make[1]: Target `__build' not remade because of errors. Fix by using an nameless struct definition in the COMPONENT definition. Which is what the ARC spec uses anyway. While at it, do the same thing for two other typedefs. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
ian.muszynski@intel.com> Reviewed-by: Tero Kristo <tero.kristo@linux.intel.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> 2023-07-20crypto: qat - add heartbeat counters checkDamian Muszynski A firmware update for QAT GEN2 changed the format of a data structure used to report the heartbeat counters. To support all firmware versions, extend the heartbeat logic with an algorithm that detects the number of counters returned by firmware. The algorithm detects the number of counters to be used (and size of the corresponding data structure) by the comparison the expected size of the data in memory, with the data which was written by the firmware. Firmware detection is done one time during the first read of heartbeat debugfs file to avoid increasing the time needed to load the module. Signed-off-by: Damian Muszynski <damian.muszynski@intel.com> Reviewed-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> 2023-07-20crypto: qat - add heartbeat featureDamian Muszynski Under some circumstances, firmware in the QAT devices could become unresponsive. The Heartbeat feature provides a mechanism to detect unresponsive devices. The QAT FW periodically writes to memory a set of counters that allow to detect the liveness of a device. This patch adds logic to enable the reporting of those counters, analyze them and report if a device is alive or not. In particular this adds (1) heartbeat enabling, reading and detection logic (2) reporting of heartbeat status and configuration via debugfs (3) documentation for the newly created sysfs entries (4) configuration of FW settings related to heartbeat, e.g. tick period (5) logic to convert time in ms (provided by the user) to clock ticks This patch introduces a new folder in debugfs called heartbeat with the following attributes: - status - queries_sent - queries_failed - config All attributes except config are reading only. In particular: - `status` file returns 0 when device is operational and -1 otherwise. - `queries_sent` returns the total number of heartbeat queries sent. - `queries_failed` returns the total number of heartbeat queries failed. - `config` allows to adjust the frequency at which the firmware writes counters to memory. This period is given in milliseconds and it is fixed for GEN4 devices. Signed-off-by: Damian Muszynski <damian.muszynski@intel.com> Reviewed-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> 2023-07-20crypto: qat - add measure clock frequencyDamian Muszynski The QAT hardware does not expose a mechanism to report its clock frequency. This is required to implement the Heartbeat feature. Add a clock measuring algorithm that estimates the frequency by comparing the internal timestamp counter incremented by the firmware with the time measured by the kernel. The frequency value is only used internally and not exposed to the user. Signed-off-by: Damian Muszynski <damian.muszynski@intel.com> Reviewed-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> 2023-04-06crypto: qat - Move driver to drivers/crypto/intel/qatTom Zanussi With the growing number of Intel crypto drivers, it makes sense to group them all into a single drivers/crypto/intel/ directory. Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> &id=9c4a55d1dac3cd17aad9944f1647e2ade5a6345f'>staging: rtl8192e: Rename LeisurePSLeaveMateusz Kulikowski 2015-07-22staging: rtl8192e: Rename IPSLeaveMateusz Kulikowski 2015-07-22staging: rtl8192e: Rename write_nic_byteMateusz Kulikowski 2015-07-22staging: rtl8192e: Rename rtl8192_commitMateusz Kulikowski 2015-07-22staging: rtl8192e: Rename set_swcamMateusz Kulikowski 2015-07-22staging: rtl8192e: Rename setKeyMateusz Kulikowski 2015-07-22staging: rtl8192e: Rename EnableHWSecurityConfig8192Mateusz Kulikowski 2015-07-22staging: rtl8192e: Rename CamResetAllEntryMateusz Kulikowski 2015-07-14staging: rtl8192e: Remove DMESG macroMateusz Kulikowski 2015-07-14staging: rtl8192e: Remove unused definesMateusz Kulikowski 2015-06-01staging: rtl8192e: Replace RT_TRACE(COMP_ERR, ...) with netdev_*Mateusz Kulikowski 2015-06-01staging: rtl8192e: Remove unimplemented iwpriv handlersMateusz Kulikowski 2015-06-01staging: rtl8192e: Fix LONG_LINE warningsMateusz Kulikowski 2015-06-01staging: rtl8192e: Make ethernet addresses properly alignedMateusz Kulikowski 2015-04-03staging: rtl8192e: Comment cleanup (style/format)Mateusz Kulikowski 2015-04-03staging: rtl8192e: Fix UNNECESSARY_ELSE warningMateusz Kulikowski 2015-03-20staging: rtl8192e: fix coding style warnings (printk -> netdev_*)Mateusz Kulikowski 2015-03-20staging: rtl8192e: fix coding style issues (merge broken strings)Mateusz Kulikowski 2015-03-16Staging: rtl8192e: Bool tests don't need comparisonsCristina Opriceana 2015-03-06staging: rtl8192e: Remove if conditions.Navya Sri Nizamkari