[PW_SID:991704] [v3] riscv: hwprobe: allow querying available RISCV_HWPROBE_KEY_IMA_EXT_0 bits - #779
[PW_SID:991704] [v3] riscv: hwprobe: allow querying available RISCV_HWPROBE_KEY_IMA_EXT_0 bits#779linux-riscv-bot wants to merge 1 commit into
Conversation
…bits When probing for extensions using RISCV_HWPROBE_KEY_IMA_EXT_0, a missing bit in the resulting bitmask means the extension is not available or the kernel is not recent enough to support the bit. Currently, there's no way to differentiate between the two. This adds a new riscv_hwprobe key, RISCV_HWPROBE_KEY_IMA_EXT_0_AVAIL, which returns a bitmask of all the queryable extensions supported by the kernel in RISCV_HWPROBE_KEY_IMA_EXT_0. This can allow programs to use a fallback extension detection method when the bit they want to query is not available in the kernel they are running on. Signed-off-by: offtkp <parisoplop@gmail.com> Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
|
Patch 1: "[v3] riscv: hwprobe: allow querying available RISCV_HWPROBE_KEY_IMA_EXT_0 bits" |
|
Patch 1: "[v3] riscv: hwprobe: allow querying available RISCV_HWPROBE_KEY_IMA_EXT_0 bits" |
|
Patch 1: "[v3] riscv: hwprobe: allow querying available RISCV_HWPROBE_KEY_IMA_EXT_0 bits" |
|
Patch 1: "[v3] riscv: hwprobe: allow querying available RISCV_HWPROBE_KEY_IMA_EXT_0 bits" |
|
Patch 1: "[v3] riscv: hwprobe: allow querying available RISCV_HWPROBE_KEY_IMA_EXT_0 bits" |
|
Patch 1: "[v3] riscv: hwprobe: allow querying available RISCV_HWPROBE_KEY_IMA_EXT_0 bits" |
|
Patch 1: "[v3] riscv: hwprobe: allow querying available RISCV_HWPROBE_KEY_IMA_EXT_0 bits" |
|
Patch 1: "[v3] riscv: hwprobe: allow querying available RISCV_HWPROBE_KEY_IMA_EXT_0 bits" |
|
Patch 1: "[v3] riscv: hwprobe: allow querying available RISCV_HWPROBE_KEY_IMA_EXT_0 bits" |
|
Patch 1: "[v3] riscv: hwprobe: allow querying available RISCV_HWPROBE_KEY_IMA_EXT_0 bits" |
|
Patch 1: "[v3] riscv: hwprobe: allow querying available RISCV_HWPROBE_KEY_IMA_EXT_0 bits" |
|
Patch 1: "[v3] riscv: hwprobe: allow querying available RISCV_HWPROBE_KEY_IMA_EXT_0 bits" |
PR for series 991704 applied to workflow__riscv__fixes
Name: [v3] riscv: hwprobe: allow querying available RISCV_HWPROBE_KEY_IMA_EXT_0 bits
URL: https://patchwork.kernel.org/project/linux-riscv/list/?series=991704
Version: 3