sys_hwprobe.c (0ad70db5eb21e50ed693fa274bea0346de453e29) sys_hwprobe.c (fc078ea317cc856c1e82997da7e8fd4d6da7aa29)
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * The hwprobe interface, for allowing userspace to probe to see which features
4 * are supported by the hardware. See Documentation/arch/riscv/hwprobe.rst for
5 * more details.
6 */
7#include <linux/syscalls.h>
8#include <asm/cacheflush.h>

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

110 EXT_KEY(ZIHINTNTL);
111 EXT_KEY(ZTSO);
112 EXT_KEY(ZACAS);
113 EXT_KEY(ZICOND);
114 EXT_KEY(ZIHINTPAUSE);
115 EXT_KEY(ZIMOP);
116 EXT_KEY(ZCA);
117 EXT_KEY(ZCB);
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * The hwprobe interface, for allowing userspace to probe to see which features
4 * are supported by the hardware. See Documentation/arch/riscv/hwprobe.rst for
5 * more details.
6 */
7#include <linux/syscalls.h>
8#include <asm/cacheflush.h>

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

110 EXT_KEY(ZIHINTNTL);
111 EXT_KEY(ZTSO);
112 EXT_KEY(ZACAS);
113 EXT_KEY(ZICOND);
114 EXT_KEY(ZIHINTPAUSE);
115 EXT_KEY(ZIMOP);
116 EXT_KEY(ZCA);
117 EXT_KEY(ZCB);
118 EXT_KEY(ZCMOP);
118
119 /*
120 * All the following extensions must depend on the kernel
121 * support of V.
122 */
123 if (has_vector()) {
124 EXT_KEY(ZVE32X);
125 EXT_KEY(ZVE32F);

--- 314 unchanged lines hidden ---
119
120 /*
121 * All the following extensions must depend on the kernel
122 * support of V.
123 */
124 if (has_vector()) {
125 EXT_KEY(ZVE32X);
126 EXT_KEY(ZVE32F);

--- 314 unchanged lines hidden ---