]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
x86/pvh: Use correct size value in GDT descriptor
authorArd Biesheuvel <ardb@kernel.org>
Wed, 9 Oct 2024 16:04:41 +0000 (18:04 +0200)
committerJuergen Gross <jgross@suse.com>
Tue, 29 Oct 2024 16:23:32 +0000 (17:23 +0100)
commitbb12f48cd150666b96858443e0fc26e92bb7e498
treede66b64e1f4f3c31b2e346fdde5416eb95486564
parente8fbc0d9cab6c1ee6403f42c0991b0c1d5dbc092
x86/pvh: Use correct size value in GDT descriptor

The limit field in a GDT descriptor is an inclusive bound, and therefore
one less than the size of the covered range.

Reviewed-by: Jason Andryuk <jason.andryuk@amd.com>
Tested-by: Jason Andryuk <jason.andryuk@amd.com>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Message-ID: <20241009160438.3884381-9-ardb+git@google.com>
Signed-off-by: Juergen Gross <jgross@suse.com>
arch/x86/platform/pvh/head.S