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>
This commit is contained in:
@@ -381,6 +381,9 @@ static void __init setup_bootmem(void)
|
||||
request_resource(res, &data_resource);
|
||||
}
|
||||
request_resource(&sysram_resources[0], &pdcdata_resource);
|
||||
|
||||
/* Initialize Page Deallocation Table (PDT) and check for bad memory. */
|
||||
pdc_pdt_init();
|
||||
}
|
||||
|
||||
static int __init parisc_text_address(unsigned long vaddr)
|
||||
|
Reference in New Issue
Block a user