]> git.baikalelectronics.ru Git - kernel.git/commit
parisc: Add PDCE_CHECK instruction to HPMC handler
authorHelge Deller <deller@gmx.de>
Sun, 17 Sep 2017 19:28:11 +0000 (21:28 +0200)
committerHelge Deller <deller@gmx.de>
Fri, 22 Sep 2017 17:46:52 +0000 (19:46 +0200)
commitc8c7ab2e4ee397d2dfcfd2c8da76dfc06e1934d1
treefbfa49f7e533a67f5edc040d7f93470e62e295d7
parentf47d9c38afe1e1d9f68aadc97cce2a3be254291b
parisc: Add PDCE_CHECK instruction to HPMC handler

According to the programming note at page 1-31 of the PA 1.1 Firmware
Architecture document, one should use the PDC_INSTR firmware function to
get the instruction that invokes a PDCE_CHECK in the HPMC handler.  This
patch follows this note and sets the instruction which has been a nop up
until now.
Testing on a C3000 and C8000 showed that this firmware call isn't
implemented on those machines, so maybe it's only needed on older ones.

Signed-off-by: Helge Deller <deller@gmx.de>
arch/parisc/kernel/traps.c