[PW_SID:957366] Implement endianess swap macros for RISC-V#345
[PW_SID:957366] Implement endianess swap macros for RISC-V#345linux-riscv-bot wants to merge 3 commits into
Conversation
…s into asm-generic Move the default byteswap implementation into asm-generic so that it can be included from arch code. This is required by RISC-V in order to have a fallback implementation without duplicating it. Signed-off-by: Ignacio Encinas <ignacio@iencinas.com> Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
Implement endianness swap macros for RISC-V. Use the rev8 instruction when Zbb is available. Otherwise, rely on the default mask-and-shift implementation. Signed-off-by: Ignacio Encinas <ignacio@iencinas.com> Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
|
Patch 1: "[v4,1/2] include/uapi/linux/swab.h: move default implementation for swab macros into asm-generic" |
|
Patch 1: "[v4,1/2] include/uapi/linux/swab.h: move default implementation for swab macros into asm-generic" |
|
Patch 1: "[v4,1/2] include/uapi/linux/swab.h: move default implementation for swab macros into asm-generic" |
|
Patch 1: "[v4,1/2] include/uapi/linux/swab.h: move default implementation for swab macros into asm-generic" |
|
Patch 1: "[v4,1/2] include/uapi/linux/swab.h: move default implementation for swab macros into asm-generic" |
|
Patch 1: "[v4,1/2] include/uapi/linux/swab.h: move default implementation for swab macros into asm-generic" |
|
Patch 1: "[v4,1/2] include/uapi/linux/swab.h: move default implementation for swab macros into asm-generic" |
|
Patch 1: "[v4,1/2] include/uapi/linux/swab.h: move default implementation for swab macros into asm-generic" |
|
Patch 1: "[v4,1/2] include/uapi/linux/swab.h: move default implementation for swab macros into asm-generic" |
|
Patch 1: "[v4,1/2] include/uapi/linux/swab.h: move default implementation for swab macros into asm-generic" |
|
Patch 1: "[v4,1/2] include/uapi/linux/swab.h: move default implementation for swab macros into asm-generic" |
|
Patch 1: "[v4,1/2] include/uapi/linux/swab.h: move default implementation for swab macros into asm-generic" |
|
Patch 2: "[v4,2/2] riscv: introduce asm/swab.h" |
|
Patch 2: "[v4,2/2] riscv: introduce asm/swab.h" |
|
Patch 2: "[v4,2/2] riscv: introduce asm/swab.h" |
|
Patch 2: "[v4,2/2] riscv: introduce asm/swab.h" |
|
Patch 2: "[v4,2/2] riscv: introduce asm/swab.h" |
|
Patch 2: "[v4,2/2] riscv: introduce asm/swab.h" |
|
Patch 2: "[v4,2/2] riscv: introduce asm/swab.h" |
|
Patch 2: "[v4,2/2] riscv: introduce asm/swab.h" |
|
Patch 2: "[v4,2/2] riscv: introduce asm/swab.h" |
|
Patch 2: "[v4,2/2] riscv: introduce asm/swab.h" |
|
Patch 2: "[v4,2/2] riscv: introduce asm/swab.h" |
|
Patch 2: "[v4,2/2] riscv: introduce asm/swab.h" |
c8da138 to
4d9ad71
Compare
PR for series 957366 applied to workflow__riscv__fixes
Name: Implement endianess swap macros for RISC-V
URL: https://patchwork.kernel.org/project/linux-riscv/list/?series=957366
Version: 4