]> git.baikalelectronics.ru Git - kernel.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)
commit07f9e5c2eb6d8c515c802ef0b442b5cbdcc72e58
treebb8c33d2619840e10d29c4e5caed49e8267bf4ba
parentcc1957920d1fd51faebabe1fbb2ef720bafa3e85
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