arm64: entry.S: Add ventry overflow sanity checks
authorJames Morse <james.morse@arm.com>
Wed, 17 Nov 2021 15:15:26 +0000 (15:15 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 11 Mar 2022 11:42:06 +0000 (12:42 +0100)
commitd1e3d6d26d9eab22548c3b7373ec12bbfecc765f
tree6ebee59daff44f01ce71ceaa6d2c7977fc3fae2b
parentb6f9598cc07850dcfe3ca420cbe700e84ec74e2e
arm64: entry.S: Add ventry overflow sanity checks

commit 4330e2c5c04c27bebf89d34e0bc14e6943413067 upstream.

Subsequent patches add even more code to the ventry slots.
Ensure kernels that overflow a ventry slot don't get built.

Reviewed-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: James Morse <james.morse@arm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm64/kernel/entry.S