diff options
author | Yingwei Zheng <dtcxzyw2333@gmail.com> | 2024-10-05 11:00:09 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-05 11:00:09 +0800 |
commit | bf895c714e1f8a51c1e565a75acf60bf7197be51 (patch) | |
tree | 3af2051ba3cee02647738f98f0ded75a79b16261 /lldb/source/Commands/CommandObjectSession.cpp | |
parent | e6549b8036089f20c6ac01e644a544aa2b231ca8 (diff) | |
download | llvm-bf895c714e1f8a51c1e565a75acf60bf7197be51.zip llvm-bf895c714e1f8a51c1e565a75acf60bf7197be51.tar.gz llvm-bf895c714e1f8a51c1e565a75acf60bf7197be51.tar.bz2 |
[RISCV] Bump hwprobe support to Linux 6.11 (#108578)
This patch is the follow-up of
https://github.com/llvm/llvm-project/pull/94352 with some updates:
1. Add support for more extensions for `zve*`, `zimop`, `zc*`, `zcmop`
and `zawrs`.
2. Use `RISCV_HWPROBE_KEY_MISALIGNED_SCALAR_PERF` to check whether the
processor supports fast misaligned scalar memory access.
https://github.com/llvm/llvm-project/pull/108551 reminds me that the
patch
https://lore.kernel.org/all/20240809214444.3257596-1-evan@rivosinc.com/T/
has been merged. Address comment
https://github.com/llvm/llvm-project/pull/94352#discussion_r1626056015.
References:
1. constants:
https://github.com/torvalds/linux/blame/v6.11-rc7/arch/riscv/include/uapi/asm/hwprobe.h
2. https://docs.kernel.org/arch/riscv/hwprobe.html
3. Related commits:
1. `zve*` support:
https://github.com/torvalds/linux/commit/de8f8282a969d0b7342702f355886aab3b14043d
2. `zimop` support:
https://github.com/torvalds/linux/commit/36f8960de887a5e2811c5d1c0517cfa6f419c1c4
3. `zc*` support:
https://github.com/torvalds/linux/commit/0ad70db5eb21e50ed693fa274bea0346de453e29
4. `zcmop` support:
https://github.com/torvalds/linux/commit/fc078ea317cc856c1e82997da7e8fd4d6da7aa29
5. `zawrs` support:
https://github.com/torvalds/linux/commit/244c18fbf64a33d152645766a033b2935ab0acb5
6. scalar misaligned perf:
https://github.com/torvalds/linux/commit/c42e2f076769c9c1bc5f3f0aa1c2032558e76647
and
https://github.com/torvalds/linux/commit/1f5288874de776412041022607513ffac74ae1a6
Diffstat (limited to 'lldb/source/Commands/CommandObjectSession.cpp')
0 files changed, 0 insertions, 0 deletions