Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RISC-V: fix vector insn load/store width mask #134

Merged
merged 1 commit into from
Jul 11, 2024

Conversation

RevySR
Copy link
Collaborator

@RevySR RevySR commented Jul 10, 2024

[ commit: 04a2aef ]

RVFDQ_FL_FS_WIDTH_MASK should be 3 bits [14-12], shifted down by 12 bits. Replace GENMASK(3, 0) with GENMASK(2, 0).

Fixes: cd05483 ("riscv: Allocate user's vector context in the first-use trap")

Reviewed-by: Charlie Jenkins [email protected]
Link: https://lore.kernel.org/r/[email protected]

[ commit: 04a2aef ]

RVFDQ_FL_FS_WIDTH_MASK should be 3 bits [14-12], shifted down by 12 bits.
Replace GENMASK(3, 0) with GENMASK(2, 0).

Fixes: cd05483 ("riscv: Allocate user's vector context in the first-use trap")
Signed-off-by: Jesse Taube <[email protected]>
Reviewed-by: Charlie Jenkins <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Palmer Dabbelt <[email protected]>
Signed-off-by: Han Gao <[email protected]>
Signed-off-by: Han Gao <[email protected]>
@RevySR RevySR merged commit 0c83a81 into ruyisdk:linux-6.6.36 Jul 11, 2024
24 of 25 checks passed
@RevySR RevySR deleted the backport-fix branch July 11, 2024 10:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants