RE: [PATCH] EDAC, pnd2: Fix ioremap() size in dnv_rd_reg() from 64K -> 32K

From: Luck, Tony
Date: Thu Aug 08 2019 - 17:05:14 EST


- base = ioremap((resource_size_t)addr, 0x10000);
+ base = ioremap((resource_size_t)addr, 0x8000);

Changing one magic value for another. :-(

Do different BIOS do different things? I don't recall seeing this error
(but perhaps I missed it, or perhaps the kernel has added better checks).

If this number is at the whim of the BIOS, is there some way to
figure out what is the right value on a specific implementation?

-Tony