Re: [PATCH v2 10/15] acpi/ghes: move offset calculus to a separate function

2024-10-02 Thread Igor Mammedov
On Tue, 1 Oct 2024 09:03:47 +0200 Mauro Carvalho Chehab wrote: > Currently, CPER address location is calculated as an offset of > the hardware_errors table. It is also badly named, as the > offset actually used is the address where the CPER data starts, > and not the beginning of the error sourc

[PATCH v2 10/15] acpi/ghes: move offset calculus to a separate function

2024-10-01 Thread Mauro Carvalho Chehab
Currently, CPER address location is calculated as an offset of the hardware_errors table. It is also badly named, as the offset actually used is the address where the CPER data starts, and not the beginning of the error source. Move the logic which calculates such offset to a separate function, in