cpuinfo.c (0aea30a07ec6b50de0fc5f5b2ec34a68ead86b61) cpuinfo.c (69bb02ebc38ace438c9cd7c5315cfe43862b51fe)
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * Record and handle CPU attributes.
4 *
5 * Copyright (C) 2014 ARM Ltd.
6 */
7#include <asm/arch_timer.h>
8#include <asm/cache.h>

--- 84 unchanged lines hidden (view full) ---

93 [KERNEL_HWCAP_DGH] = "dgh",
94 [KERNEL_HWCAP_RNG] = "rng",
95 [KERNEL_HWCAP_BTI] = "bti",
96 [KERNEL_HWCAP_MTE] = "mte",
97 [KERNEL_HWCAP_ECV] = "ecv",
98 [KERNEL_HWCAP_AFP] = "afp",
99 [KERNEL_HWCAP_RPRES] = "rpres",
100 [KERNEL_HWCAP_MTE3] = "mte3",
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * Record and handle CPU attributes.
4 *
5 * Copyright (C) 2014 ARM Ltd.
6 */
7#include <asm/arch_timer.h>
8#include <asm/cache.h>

--- 84 unchanged lines hidden (view full) ---

93 [KERNEL_HWCAP_DGH] = "dgh",
94 [KERNEL_HWCAP_RNG] = "rng",
95 [KERNEL_HWCAP_BTI] = "bti",
96 [KERNEL_HWCAP_MTE] = "mte",
97 [KERNEL_HWCAP_ECV] = "ecv",
98 [KERNEL_HWCAP_AFP] = "afp",
99 [KERNEL_HWCAP_RPRES] = "rpres",
100 [KERNEL_HWCAP_MTE3] = "mte3",
101 [KERNEL_HWCAP_WFXT] = "wfxt",
101};
102
103#ifdef CONFIG_COMPAT
104#define COMPAT_KERNEL_HWCAP(x) const_ilog2(COMPAT_HWCAP_ ## x)
105static const char *const compat_hwcap_str[] = {
106 [COMPAT_KERNEL_HWCAP(SWP)] = "swp",
107 [COMPAT_KERNEL_HWCAP(HALF)] = "half",
108 [COMPAT_KERNEL_HWCAP(THUMB)] = "thumb",

--- 324 unchanged lines hidden ---
102};
103
104#ifdef CONFIG_COMPAT
105#define COMPAT_KERNEL_HWCAP(x) const_ilog2(COMPAT_HWCAP_ ## x)
106static const char *const compat_hwcap_str[] = {
107 [COMPAT_KERNEL_HWCAP(SWP)] = "swp",
108 [COMPAT_KERNEL_HWCAP(HALF)] = "half",
109 [COMPAT_KERNEL_HWCAP(THUMB)] = "thumb",

--- 324 unchanged lines hidden ---