Re: [PATCH -v2] ACPI, APEI: Fix BERT resources conflict with ACPI NVS area

From: Borislav Petkov
Date: Mon Feb 20 2017 - 04:44:51 EST

On Mon, Feb 20, 2017 at 09:12:58AM +0800, Huang, Ying wrote:
> From: Huang Ying <ying.huang@xxxxxxxxx>
> It was reported that on some machines, there is overlap between ACPI
> NVS area and BERT address range. This appears reasonable because BERT
> contents need to be non-volatile across reboot. But this will cause
> resources conflict in current Linux kernel implementation because the
> ACPI NVS area is marked as busy. The resource conflict is fixed via
> excluding the ACPI NVS area when requesting IO resources for BERT.
> When accessing the BERT contents, the whole BERT address range will be
> ioremapped and accessed.
> Reported-and-tested-by: Hans Kristian Rosbach <hansr@xxxxxxxxxxxxx>
> Signed-off-by: "Huang, Ying" <ying.huang@xxxxxxxxx>
> ---
> drivers/acpi/apei/bert.c | 20 ++++++++++++--------
> 1 file changed, 12 insertions(+), 8 deletions(-)

Acked-by: Borislav Petkov <bp@xxxxxxx>


SUSE Linux GmbH, GF: Felix ImendÃrffer, Jane Smithard, Graham Norton, HRB 21284 (AG NÃrnberg)