mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00

Provide RDVL helpers for SME and extend the main vector configuration tests to cover SME. Signed-off-by: Mark Brown <broonie@kernel.org> Reviewed-by: Shuah Khan <skhan@linuxfoundation.org> Acked-by: Catalin Marinas <catalin.marinas@arm.com> Link: https://lore.kernel.org/r/20220419112247.711548-32-broonie@kernel.org Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
14 lines
156 B
C
14 lines
156 B
C
// SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
#include <stdio.h>
|
|
|
|
#include "rdvl.h"
|
|
|
|
int main(void)
|
|
{
|
|
int vl = rdvl_sme();
|
|
|
|
printf("%d\n", vl);
|
|
|
|
return 0;
|
|
}
|