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

riscv: Add remaining module relocations and tests #139

Closed
wants to merge 4 commits into from

Conversation

bjoto
Copy link

@bjoto bjoto commented Oct 16, 2023

Pull request for series with
subject: riscv: Add remaining module relocations and tests
version: 3
url: https://patchwork.kernel.org/project/linux-riscv/list/?series=793649

@bjoto
Copy link
Author

bjoto commented Oct 16, 2023

Upstream branch: 0bb80ec
series: https://patchwork.kernel.org/project/linux-riscv/list/?series=793649
version: 3

@bjoto
Copy link
Author

bjoto commented Oct 17, 2023

Upstream branch: 0bb80ec
series: https://patchwork.kernel.org/project/linux-riscv/list/?series=793649
version: 3

@bjoto
Copy link
Author

bjoto commented Oct 18, 2023

Upstream branch: 0bb80ec
series: https://patchwork.kernel.org/project/linux-riscv/list/?series=794190
version: 4

@bjoto bjoto added V4 and removed V3 labels Oct 18, 2023
@bjoto
Copy link
Author

bjoto commented Oct 18, 2023

Upstream branch: 0bb80ec
series: https://patchwork.kernel.org/project/linux-riscv/list/?series=794521
version: 5

@bjoto bjoto added V5 and removed V4 labels Oct 18, 2023
@bjoto
Copy link
Author

bjoto commented Oct 19, 2023

Upstream branch: 0bb80ec
series: https://patchwork.kernel.org/project/linux-riscv/list/?series=794894
version: 6

@bjoto
Copy link
Author

bjoto commented Oct 27, 2023

Upstream branch: ec8c6c7
series: https://patchwork.kernel.org/project/linux-riscv/list/?series=794894
version: 6

@bjoto
Copy link
Author

bjoto commented Oct 31, 2023

Upstream branch: ec8c6c7
series: https://patchwork.kernel.org/project/linux-riscv/list/?series=797812
version: 7

@bjoto
Copy link
Author

bjoto commented Oct 31, 2023

Upstream branch: ec8c6c7
series: https://patchwork.kernel.org/project/linux-riscv/list/?series=797812
version: 7

@bjoto
Copy link
Author

bjoto commented Oct 31, 2023

Upstream branch: ec8c6c7
series: https://patchwork.kernel.org/project/linux-riscv/list/?series=798018
version: 8

@bjoto
Copy link
Author

bjoto commented Nov 1, 2023

Upstream branch: ec8c6c7
series: https://patchwork.kernel.org/project/linux-riscv/list/?series=798236
version: 9

@bjoto
Copy link
Author

bjoto commented Nov 2, 2023

Upstream branch: a22f86f
series: https://patchwork.kernel.org/project/linux-riscv/list/?series=798236
version: 9

@bjoto
Copy link
Author

bjoto commented Nov 2, 2023

Upstream branch: 8aefa03
series: https://patchwork.kernel.org/project/linux-riscv/list/?series=798236
version: 9

@bjoto
Copy link
Author

bjoto commented Nov 6, 2023

Upstream branch: dbfbda3
series: https://patchwork.kernel.org/project/linux-riscv/list/?series=798236
version: 9

@bjoto
Copy link
Author

bjoto commented Nov 7, 2023

Upstream branch: e0c0a7c
series: https://patchwork.kernel.org/project/linux-riscv/list/?series=798236
version: 9

esmil and others added 3 commits November 7, 2023 23:01
With the C-extension regular 32bit instructions are not
necessarily aligned on 4-byte boundaries. RISC-V instructions
are in fact an ordered list of 16bit little-endian
"parcels", so access the instruction as such.

This should also make the code work in case someone builds
a big-endian RISC-V machine.

Signed-off-by: Emil Renner Berthing <kernel@esmil.dk>
Signed-off-by: Charlie Jenkins <charlie@rivosinc.com>
Signed-off-by: Björn Töpel <bjorn@rivosinc.com>
Add all final module relocations and add error logs explaining the ones
that are not supported. Implement overflow checks for
ADD/SUB/SET/ULEB128 relocations.

Signed-off-by: Charlie Jenkins <charlie@rivosinc.com>
Signed-off-by: Björn Töpel <bjorn@rivosinc.com>
Add test cases for the two main groups of relocations added: SUB and
SET, along with uleb128.

Signed-off-by: Charlie Jenkins <charlie@rivosinc.com>
Signed-off-by: Björn Töpel <bjorn@rivosinc.com>
@bjoto
Copy link
Author

bjoto commented Nov 7, 2023

Upstream branch: 946bb33
series: https://patchwork.kernel.org/project/linux-riscv/list/?series=798236
version: 9

@bjoto
Copy link
Author

bjoto commented Nov 8, 2023

At least one diff in series https://patchwork.kernel.org/project/linux-riscv/list/?series=798236 irrelevant now. Closing PR.

@bjoto bjoto added accepted and removed new labels Nov 8, 2023
@bjoto bjoto closed this Nov 8, 2023
@bjoto bjoto deleted the series/783928=>for-next branch November 8, 2023 15:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants