hwprobe.h (3fd6c59042dbba50391e30862beac979491145fe) hwprobe.h (d1703dc7bc8ec7adb91f5ceaf1556ff1ed212858)
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2/*
3 * Copyright 2023 Rivos, Inc
4 */
5
6#ifndef _UAPI_ASM_HWPROBE_H
7#define _UAPI_ASM_HWPROBE_H
8

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

83#define RISCV_HWPROBE_KEY_HIGHEST_VIRT_ADDRESS 7
84#define RISCV_HWPROBE_KEY_TIME_CSR_FREQ 8
85#define RISCV_HWPROBE_KEY_MISALIGNED_SCALAR_PERF 9
86#define RISCV_HWPROBE_MISALIGNED_SCALAR_UNKNOWN 0
87#define RISCV_HWPROBE_MISALIGNED_SCALAR_EMULATED 1
88#define RISCV_HWPROBE_MISALIGNED_SCALAR_SLOW 2
89#define RISCV_HWPROBE_MISALIGNED_SCALAR_FAST 3
90#define RISCV_HWPROBE_MISALIGNED_SCALAR_UNSUPPORTED 4
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2/*
3 * Copyright 2023 Rivos, Inc
4 */
5
6#ifndef _UAPI_ASM_HWPROBE_H
7#define _UAPI_ASM_HWPROBE_H
8

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

83#define RISCV_HWPROBE_KEY_HIGHEST_VIRT_ADDRESS 7
84#define RISCV_HWPROBE_KEY_TIME_CSR_FREQ 8
85#define RISCV_HWPROBE_KEY_MISALIGNED_SCALAR_PERF 9
86#define RISCV_HWPROBE_MISALIGNED_SCALAR_UNKNOWN 0
87#define RISCV_HWPROBE_MISALIGNED_SCALAR_EMULATED 1
88#define RISCV_HWPROBE_MISALIGNED_SCALAR_SLOW 2
89#define RISCV_HWPROBE_MISALIGNED_SCALAR_FAST 3
90#define RISCV_HWPROBE_MISALIGNED_SCALAR_UNSUPPORTED 4
91#define RISCV_HWPROBE_KEY_MISALIGNED_VECTOR_PERF 10
92#define RISCV_HWPROBE_MISALIGNED_VECTOR_UNKNOWN 0
93#define RISCV_HWPROBE_MISALIGNED_VECTOR_SLOW 2
94#define RISCV_HWPROBE_MISALIGNED_VECTOR_FAST 3
95#define RISCV_HWPROBE_MISALIGNED_VECTOR_UNSUPPORTED 4
91/* Increase RISCV_HWPROBE_MAX_KEY when adding items. */
92
93/* Flags */
94#define RISCV_HWPROBE_WHICH_CPUS (1 << 0)
95
96#endif
96/* Increase RISCV_HWPROBE_MAX_KEY when adding items. */
97
98/* Flags */
99#define RISCV_HWPROBE_WHICH_CPUS (1 << 0)
100
101#endif