summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorHuacai Chen <chenhuacai@loongson.cn>2023-04-18 19:38:58 +0800
committerHuacai Chen <chenhuacai@loongson.cn>2023-04-18 19:38:58 +0800
commitdf830336045db1246d3245d3737fee9939c5f731 (patch)
tree8a47ba8a0be9163c28452132e051ca380cda08b4 /tools/perf/scripts/python/export-to-postgresql.py
parent16c52e503043aed1e2a2ce38d9249de5936c1f6b (diff)
LoongArch: Fix probing of the CRC32 feature
Not all LoongArch processors support CRC32 instructions. This feature is indicated by CPUCFG1.CRC32 (Bit25) but it is wrongly defined in the previous versions of the ISA manual (and so does in loongarch.h). The CRC32 feature is set unconditionally now, so fix it. BTW, expose the CRC32 feature in /proc/cpuinfo. Cc: stable@vger.kernel.org Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions