summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
diff options
context:
space:
mode:
authorHuacai Chen <chenhuacai@loongson.cn>2023-04-18 19:38:58 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-04-26 14:28:38 +0200
commite82caab68951fd6c1813cb49ba662b479fe39ec5 (patch)
treed50ef5e3b69eaed913bb95831c6b92de74cb96d5 /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
parent55fba69fbfd04cfa81ecbdb8c56e6b9f02123cd2 (diff)
LoongArch: Fix probing of the CRC32 feature
commit df830336045db1246d3245d3737fee9939c5f731 upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c')
0 files changed, 0 insertions, 0 deletions