Re: [PATCH] powerpc/kvm: Fix objtool warning for unannotated intra-function call in booke.o

2023-02-05 Thread Michael Ellerman
On Sat, 28 Jan 2023 18:11:58 +0530, Sathvika Vasireddy wrote: > Objtool throws the following warning: > arch/powerpc/kvm/booke.o: warning: objtool: kvmppc_fill_pt_regs+0x30: > unannotated intra-function call > > Fix this warning by allowing the function to set the value of 'nip' field > using

[PATCH] powerpc/kvm: Fix objtool warning for unannotated intra-function call in booke.o

2023-01-28 Thread Sathvika Vasireddy
Objtool throws the following warning: arch/powerpc/kvm/booke.o: warning: objtool: kvmppc_fill_pt_regs+0x30: unannotated intra-function call Fix this warning by allowing the function to set the value of 'nip' field using _THIS_IP_ macro, without having to use an additional assembly instruction to