summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorCorentin Labbe <clabbe@baylibre.com>2022-03-04 10:36:48 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2022-03-09 06:12:31 +0300
commit7a70d9a1cf112c0bdb42800d264d48f34089e3e8 (patch)
treeb0310066678caae62e0f5c063a86e196323bcfa5 /tools/perf/scripts/python/exported-sql-viewer.py
parentee6584bf3c680e20464e20bf28066d1ce685f7d3 (diff)
downloadlinux-7a70d9a1cf112c0bdb42800d264d48f34089e3e8.tar.xz
crypto: xilinx: prevent probing on non-xilinx hardware
The zynqmp-sha driver is always loaded and register its algorithm even on platform which do not have the proper hardware. This lead to a stacktrace due to zynqmp-sha3-384 failing its crypto self tests. So check if hardware is present via the firmware API call get_version. While at it, simplify the platform_driver by using module_platform_driver() Furthermore the driver should depend on ZYNQMP_FIRMWARE since it cannot work without it. Fixes: 7ecc3e34474b ("crypto: xilinx - Add Xilinx SHA3 driver") Signed-off-by: Corentin Labbe <clabbe@baylibre.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions