diff options
| author | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2025-01-15 13:50:30 +0100 |
|---|---|---|
| committer | Michael S. Tsirkin <mst@redhat.com> | 2025-01-15 13:07:15 -0500 |
| commit | 1cd59b8981ce234c1d790111afce4a32218a88dd (patch) | |
| tree | e0a5577065b5a91a80dff7e4822becc7e1cfd9c5 /docs/specs | |
| parent | 652f6d86cbb60e193edc2510c365b75229734ccf (diff) | |
| download | focaccia-qemu-1cd59b8981ce234c1d790111afce4a32218a88dd.tar.gz focaccia-qemu-1cd59b8981ce234c1d790111afce4a32218a88dd.zip | |
acpi/ghes: move offset calculus to a separate function
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 preparation for a patch that will be changing the logic to calculate it from the HEST table. While here, properly name the variable which stores the cper address. Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Message-Id: <60fdd1bf379ba1db3099710868802aa49a27febb.1736945236.git.mchehab+huawei@kernel.org> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'docs/specs')
0 files changed, 0 insertions, 0 deletions