]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
parisc: Add PDC PAT call to get free running 64-bit counter
authorHelge Deller <deller@gmx.de>
Fri, 6 Feb 2026 20:26:40 +0000 (21:26 +0100)
committerHelge Deller <deller@gmx.de>
Fri, 6 Feb 2026 23:45:19 +0000 (00:45 +0100)
commit0b3b90a0f971e4289367f172cfc36c934741b209
tree1ba2bdd46dc3c302eb33a2b34baeae0433ea4d61
parent5ff7842103f60b29b9907d25b371f65d5b40bbe4
parisc: Add PDC PAT call to get free running 64-bit counter

PDC PAT defines this optional function. Testing on my C8000 workstation
and a rp3440 server did not indicate that they provide such counter.
Nevertheless, add the function since we should try to use such a
counter if it's available. In Qemu it should be simple to add it.

Signed-off-by: Helge Deller <deller@gmx.de>
arch/parisc/include/asm/pdcpat.h
arch/parisc/kernel/firmware.c