Re: [PATCH] KVM: PPC: Book3S HV: Use GLOBAL_TOC for kvmppc_h_set_dabr/xdabr()

From
Michael Ellerman <hidden>
Date
2021-11-17 11:27:59
Reply to
Michael Ellerman, 2021-09-23
On Fri, 24 Sep 2021 01:10:31 +1000, Michael Ellerman wrote:
kvmppc_h_set_dabr(), and kvmppc_h_set_xdabr() which jumps into
it, need to use _GLOBAL_TOC to setup the kernel TOC pointer, because
kvmppc_h_set_dabr() uses LOAD_REG_ADDR() to load dawr_force_enable.

When called from hcall_try_real_mode() we have the kernel TOC in r2,
established near the start of kvmppc_interrupt_hv(), so there is no
issue.

[...]
Applied to powerpc/fixes.

[1/1] KVM: PPC: Book3S HV: Use GLOBAL_TOC for kvmppc_h_set_dabr/xdabr()
      https://git.kernel.org/powerpc/c/dae581864609d36fb58855fd59880b4941ce9d14

cheers
Thread (4 messages) 4 messages, 4 authors, last reply 2021-11-17
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help