diff options
author | Guo Ren <[email protected]> | 2022-04-05 15:13:09 +0800 |
---|---|---|
committer | Palmer Dabbelt <[email protected]> | 2022-04-26 13:36:47 -0700 |
commit | f4b395e6f1a588ed6c9a30474e58cf6b27b65783 (patch) | |
tree | a629aefc95eb698e8e479698acb9fdb90f028fe0 /include/linux/fpga/fpga-mgr.h | |
parent | 87309e1082481bb78a9fbea6ed6784d979ff93c9 (diff) |
riscv: compat: Add hw capability check for elf
Detect hardware COMPAT (32bit U-mode) capability in rv64. If not
support COMPAT mode in hw, compat_elf_check_arch would return
false by compat_binfmt_elf.c
Add CLASS to enhance (compat_)elf_check_arch to distinguish
32BIT/64BIT elf.
Signed-off-by: Guo Ren <[email protected]>
Signed-off-by: Guo Ren <[email protected]>
Tested-by: Heiko Stuebner <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions