parisc: Add function to return DIMM slot of physical address
authorHelge Deller <deller@gmx.de>
Tue, 25 Jul 2017 17:26:23 +0000 (19:26 +0200)
committerHelge Deller <deller@gmx.de>
Tue, 25 Jul 2017 17:28:37 +0000 (19:28 +0200)
commit25a9b76597fafbbf688dd4473cb910568deb2b0c
tree0e7b0b216bf0ecdd115ec882bf62213f97cf9352
parentf520e55241e1cf0c10d308ccf47513f28533f60a
parisc: Add function to return DIMM slot of physical address

Add a firmware wrapper function, which asks PDC firmware for the DIMM slot of a
physical address. This is needed to show users which DIMM module needs
replacement in case a broken DIMM was encountered.

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