]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
ARCv2: don't assume core 0x54 has dual issue
authorVineet Gupta <vgupta@synopsys.com>
Thu, 21 Feb 2019 21:44:49 +0000 (13:44 -0800)
committerVineet Gupta <vgupta@synopsys.com>
Thu, 21 Feb 2019 22:53:36 +0000 (14:53 -0800)
commit7b2e932f633bcb7b190fc7031ce6dac75f8c3472
tree4102321338daed2d80932fe7951bba20b78858b7
parentb6835ea77729e7faf4656ca637ba53f42b8ee3fd
ARCv2: don't assume core 0x54 has dual issue

The first release of core4 (0x54) was dual issue only (HS4x).
Newer releases allow hardware to be configured as single issue (HS3x)
or dual issue.

Prevent accessing a HS4x only aux register in HS3x, which otherwise
leads to illegal instruction exceptions

Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
arch/arc/include/asm/arcregs.h
arch/arc/kernel/setup.c