diff options
| author | Marc Zyngier <[email protected]> | 2024-10-10 15:13:26 +0000 |
|---|---|---|
| committer | Marc Zyngier <[email protected]> | 2024-10-17 08:17:56 +0000 |
| commit | afa9b48f327c9ef36bfba4c643a29385a633252b (patch) | |
| tree | d7ee2e9eab34c6b8c45f47a3727e821a0e109bb2 /rust/helpers/helpers.c | |
| parent | KVM: arm64: Don't eagerly teardown the vgic on init error (diff) | |
| download | kernel-afa9b48f327c9ef36bfba4c643a29385a633252b.tar.gz kernel-afa9b48f327c9ef36bfba4c643a29385a633252b.zip | |
KVM: arm64: Shave a few bytes from the EL2 idmap code
Our idmap is becoming too big, to the point where it doesn't fit in
a 4kB page anymore.
There are some low-hanging fruits though, such as the el2_init_state
horror that is expanded 3 times in the kernel. Let's at least limit
ourselves to two copies, which makes the kernel link again.
At some point, we'll have to have a better way of doing this.
Reported-by: Nathan Chancellor <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
Link: https://lore.kernel.org/r/20241009204903.GA3353168@thelio-3990X
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions
