summaryrefslogtreecommitdiff
path: root/scripts/include
AgeCommit message (Expand)Author
2024-10-07scripts: import more list macrosSami Tolvanen
2024-09-20kconfig: use hash table to reuse expressionsMasahiro Yamada
2024-09-20scripts: move hash function from scripts/kconfig/ to scripts/include/Masahiro Yamada
2024-09-10scripts: import more hash table macrosMasahiro Yamada
2024-09-01kbuild: split x*alloc() functions in kconfig to scripts/include/xalloc.hMasahiro Yamada
2024-07-21kbuild: move some helper headers from scripts/kconfig/ to scripts/include/Masahiro Yamada
nel/commit/drivers/accel/habanalabs/include/gaudi2?id=7d352a816056068daa8bd8c2be9f66a6afde8365'>habanalabs: Replace zero-length arrays with flexible-array membersGustavo A. R. Silva Zero-length arrays are deprecated[1] and we are moving towards adopting C99 flexible-array members instead. So, replace zero-length arrays in a couple of structures with flex-array members. This helps with the ongoing efforts to tighten the FORTIFY_SOURCE routines on memcpy() and help us make progress towards globally enabling -fstrict-flex-arrays=3 [2]. Link: https://www.kernel.org/doc/html/latest/process/deprecated.html#zero-length-and-one-element-arrays [1] Link: https://gcc.gnu.org/pipermail/gcc-patches/2022-October/602902.html [2] Link: https://github.com/KSPP/linux/issues/78 Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org> Reviewed-by: Stanislaw Gruszka <stanislaw.gruszka@linux.intel.com> Reviewed-by: Oded Gabbay <ogabbay@kernel.org> Signed-off-by: Oded Gabbay <ogabbay@kernel.org> 2023-01-26habanalabs/gaudi2: avoid reconfiguring the same PB registersKoby Elbaz It appears that, within the sync manager security configuration, we reconfigure PB registers over and over without any need to do that. Signed-off-by: Koby Elbaz <kelbaz@habana.ai> Reviewed-by: Oded Gabbay <ogabbay@kernel.org> Signed-off-by: Oded Gabbay <ogabbay@kernel.org> 2023-01-26habanalabs/gaudi2: update f/w filesOded Gabbay Update gaudi2 firmware files with the latest version. There is no functional change. Signed-off-by: Oded Gabbay <ogabbay@kernel.org> 2023-01-26habanalabs/gaudi2: update asic register filesOded Gabbay Update some register files with the latest h/w auto-generated files. There is no functional change. Signed-off-by: Oded Gabbay <ogabbay@kernel.org> 2023-01-26habanalabs: move driver to accel subsystemOded Gabbay Now that we have a subsystem for compute accelerators, move the habanalabs driver to it. This patch only moves the files and fixes the Makefiles. Future patches will change the existing code to register to the accel subsystem and expose the accel device char files instead of the habanalabs device char files. Update the MAINTAINERS file to reflect this change. Signed-off-by: Oded Gabbay <ogabbay@kernel.org>