aboutsummaryrefslogtreecommitdiff
path: root/drivers/perf/fsl_imx9_ddr_perf.c
diff options
context:
space:
mode:
authorGregory CLEMENT <gregory.clement@bootlin.com>2024-10-11 15:34:08 +0200
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>2024-10-30 23:45:48 +0100
commit6f14293257309a02a6d451e80e4ef1d78560479e (patch)
treee264da4888750425fbe3e99e894e6366138e957e /drivers/perf/fsl_imx9_ddr_perf.c
parentda09935975c8f8c90d6f57be2422dee5557206cd (diff)
downloadlinux-6f14293257309a02a6d451e80e4ef1d78560479e.tar.gz
linux-6f14293257309a02a6d451e80e4ef1d78560479e.tar.bz2
linux-6f14293257309a02a6d451e80e4ef1d78560479e.zip
MIPS: Allow using more than 32-bit addresses for reset vectors when possible
While most MIPS64 CPUs use 32-bit values for their VP Local Reset Exception Base registers, some I6500 CPUs can utilize a 64-bit value, allowing addressing up to 47 bits of physical memory. For the EyeQ6H CPU, where physical memory addresses exceed the 4GB limit, utilizing this feature is mandatory to enable SMP support. Unfortunately, there is no way to detect this capability based solely on the ID of the CPU. According to Imagination, which designed the CPU, the only reliable method is to fill the reset base field with 0xFF and then read back its value. If the upper part of the read-back value is zero, it indicates that the address space is limited to 32 bits. Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'drivers/perf/fsl_imx9_ddr_perf.c')
0 files changed, 0 insertions, 0 deletions