]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
parisc: Add Page Deallocation Table (PDT) support
authorHelge Deller <deller@gmx.de>
Thu, 11 May 2017 20:24:15 +0000 (22:24 +0200)
committerHelge Deller <deller@gmx.de>
Fri, 12 May 2017 07:14:15 +0000 (09:14 +0200)
commitc9c2877d08d9aa0ca0a5c227ac795fbb76269300
treebb8c33d2619840e10d29c4e5caed49e8267bf4ba
parentc8c3735997a3aa184fa81742bb6c4062a26af2f3
parisc: Add Page Deallocation Table (PDT) support

The firmare in most parisc machines maintains a Page Deallocation Table (PDT)
which holds a list of physical memory addresses where hardware detected memory
errors (single bit and double bit errors).

This patch adds the missing PDC firmware calls and the logic to read the PDT
from firmware, report all current PDT entries and exclude the reported bad
memory from being used by Linux.

Signed-off-by: Helge Deller <deller@gmx.de>
arch/parisc/include/asm/pdc.h
arch/parisc/include/asm/pdcpat.h
arch/parisc/include/asm/pgtable.h
arch/parisc/include/uapi/asm/pdc.h
arch/parisc/kernel/Makefile
arch/parisc/kernel/firmware.c
arch/parisc/kernel/inventory.c
arch/parisc/kernel/pdt.c [new file with mode: 0644]
arch/parisc/mm/init.c