parisc: PDT/firmware: Add support to read PDT on older PAT-machines
authorHelge Deller <deller@gmx.de>
Fri, 4 Aug 2017 17:12:39 +0000 (19:12 +0200)
committerHelge Deller <deller@gmx.de>
Tue, 22 Aug 2017 14:34:33 +0000 (16:34 +0200)
commit8a5aa00e6b9630d36d7681b38062a3d48d8b6ee6
treed6500b96947876fc3aaedefc07b0c693bb5fb701
parent24587380f61d20e36662fbd4d938431e33e3eda2
parisc: PDT/firmware: Add support to read PDT on older PAT-machines

Older machines with a PAT firmware (e.g. the rp5470) return their Page
Deallocation Table (PDT) info per cell via the PDC_PAT_MEM_PD_INFO PDC call.
This patch adds the necessary structures and wrappers to call firmware.

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