[PW_SID:1118739] riscv: alternative: Statically compute alternative section boundaries and patch compat vDSO#2170
[PW_SID:1118739] riscv: alternative: Statically compute alternative section boundaries and patch compat vDSO#2170linux-riscv-bot wants to merge 4 commits into
Conversation
Currently the alternative sections are extracted from the vDSO binaries at runtime. This has runtime overhead and also doesn't work for the compat vDSO. Extract the offsets of the alternative section during the build with the existing symbol extraction machinery. Also add dummy symbols as fallback. Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de> Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
Currently the alternative sections are extracted from the vDSO binaries at runtime. This has runtime overhead and also doesn't work for the compat vDSO. Use the offsets generated during the build instead, fixing both issues. Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de> Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
The vDSO for compat processes can also contain alternative entries. Patch those, too. Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de> Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
|
Patch 1: "[1/3] riscv: vdso: Add symbols for the alternative section boundaries" |
|
Patch 1: "[1/3] riscv: vdso: Add symbols for the alternative section boundaries" |
|
Patch 1: "[1/3] riscv: vdso: Add symbols for the alternative section boundaries" |
|
Patch 1: "[1/3] riscv: vdso: Add symbols for the alternative section boundaries" |
|
Patch 1: "[1/3] riscv: vdso: Add symbols for the alternative section boundaries" |
|
Patch 1: "[1/3] riscv: vdso: Add symbols for the alternative section boundaries" |
|
Patch 1: "[1/3] riscv: vdso: Add symbols for the alternative section boundaries" |
|
Patch 1: "[1/3] riscv: vdso: Add symbols for the alternative section boundaries" |
|
Patch 1: "[1/3] riscv: vdso: Add symbols for the alternative section boundaries" |
|
Patch 1: "[1/3] riscv: vdso: Add symbols for the alternative section boundaries" |
|
Patch 1: "[1/3] riscv: vdso: Add symbols for the alternative section boundaries" |
|
Patch 1: "[1/3] riscv: vdso: Add symbols for the alternative section boundaries" |
|
Patch 2: "[2/3] riscv: alternative: Use the statically extracted vDSO section offsets" |
|
Patch 2: "[2/3] riscv: alternative: Use the statically extracted vDSO section offsets" |
|
Patch 2: "[2/3] riscv: alternative: Use the statically extracted vDSO section offsets" |
|
Patch 2: "[2/3] riscv: alternative: Use the statically extracted vDSO section offsets" |
|
Patch 2: "[2/3] riscv: alternative: Use the statically extracted vDSO section offsets" |
|
Patch 2: "[2/3] riscv: alternative: Use the statically extracted vDSO section offsets" |
|
Patch 2: "[2/3] riscv: alternative: Use the statically extracted vDSO section offsets" |
|
Patch 2: "[2/3] riscv: alternative: Use the statically extracted vDSO section offsets" |
|
Patch 2: "[2/3] riscv: alternative: Use the statically extracted vDSO section offsets" |
|
Patch 2: "[2/3] riscv: alternative: Use the statically extracted vDSO section offsets" |
|
Patch 2: "[2/3] riscv: alternative: Use the statically extracted vDSO section offsets" |
|
Patch 2: "[2/3] riscv: alternative: Use the statically extracted vDSO section offsets" |
|
Patch 3: "[3/3] riscv: alternative: Also patch the compat vDSO" |
|
Patch 3: "[3/3] riscv: alternative: Also patch the compat vDSO" |
|
Patch 3: "[3/3] riscv: alternative: Also patch the compat vDSO" |
|
Patch 3: "[3/3] riscv: alternative: Also patch the compat vDSO" |
|
Patch 3: "[3/3] riscv: alternative: Also patch the compat vDSO" |
|
Patch 3: "[3/3] riscv: alternative: Also patch the compat vDSO" |
|
Patch 3: "[3/3] riscv: alternative: Also patch the compat vDSO" |
|
Patch 3: "[3/3] riscv: alternative: Also patch the compat vDSO" |
|
Patch 3: "[3/3] riscv: alternative: Also patch the compat vDSO" |
|
Patch 3: "[3/3] riscv: alternative: Also patch the compat vDSO" |
|
Patch 3: "[3/3] riscv: alternative: Also patch the compat vDSO" |
|
Patch 3: "[3/3] riscv: alternative: Also patch the compat vDSO" |
89be0ce to
dc5ff20
Compare
PR for series 1118739 applied to workflow__riscv__fixes
Name: riscv: alternative: Statically compute alternative section boundaries and patch compat vDSO
URL: https://patchwork.kernel.org/project/linux-riscv/list/?series=1118739
Version: 1