]> git.baikalelectronics.ru Git - kernel.git/commit
x86/platform/uv: Add and decode Arch Type in UVsystab
authorMike Travis <mike.travis@hpe.com>
Mon, 5 Oct 2020 20:39:22 +0000 (15:39 -0500)
committerBorislav Petkov <bp@suse.de>
Wed, 7 Oct 2020 07:06:10 +0000 (09:06 +0200)
commit44b82775e8eb0876ec7ad616b06deb913e45be35
tree5cca06a78a1a018a39233ac1ee145fbd4bcf6678
parent704e182f6bf3739c0e2b0482da7fc0113c120f69
x86/platform/uv: Add and decode Arch Type in UVsystab

When the UV BIOS starts the kernel it passes the UVsystab info struct to
the kernel which contains information elements more specific than ACPI,
and generally pertinent only to the MMRs. These are read only fields
so information is passed one way only. A new field starting with UV5 is
the UV architecture type so the ACPI OEM_ID field can be used for other
purposes going forward. The UV Arch Type selects the entirety of the
MMRs available, with their addresses and fields defined in uv_mmrs.h.

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Mike Travis <mike.travis@hpe.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Reviewed-by: Dimitri Sivanich <dimitri.sivanich@hpe.com>
Reviewed-by: Steve Wahl <steve.wahl@hpe.com>
Link: https://lkml.kernel.org/r/20201005203929.148656-7-mike.travis@hpe.com
arch/x86/include/asm/uv/bios.h
arch/x86/kernel/apic/x2apic_uv_x.c
arch/x86/platform/uv/bios_uv.c