Re: [PATCH v2 4/8] KVM: arm64: Generate hyp relocation data

2021-02-01 Thread Marc Zyngier
Hi David, On 2021-02-01 10:42, David Brazdil wrote: Thanks for writing the fix, Marc! There are no corner cases in this code so if it boots, that should be a good indicator that all BE inputs were converted. Just one little thing I noticed below, otherwise: Acked-by: David Brazdil arch/ar

Re: [PATCH v2 4/8] KVM: arm64: Generate hyp relocation data

2021-02-01 Thread David Brazdil
Thanks for writing the fix, Marc! There are no corner cases in this code so if it boots, that should be a good indicator that all BE inputs were converted. Just one little thing I noticed below, otherwise: Acked-by: David Brazdil > arch/arm64/kvm/hyp/nvhe/Makefile | 1 + > arch/arm64/kvm/h

Re: [PATCH v2 4/8] KVM: arm64: Generate hyp relocation data

2021-01-30 Thread Marc Zyngier
On Sat, 30 Jan 2021 16:11:04 +, Guenter Roeck wrote: > > On Sat, Jan 30, 2021 at 01:44:15PM +, Marc Zyngier wrote: > > From d80ca05b2ed90fc30d328041692fa80f525c8d12 Mon Sep 17 00:00:00 2001 > > From: Marc Zyngier > > Date: Sat, 30 Jan 2021 13:07:51 + > > Subject: [PATCH] KVM: arm64:

Re: [PATCH v2 4/8] KVM: arm64: Generate hyp relocation data

2021-01-30 Thread Guenter Roeck
On Sat, Jan 30, 2021 at 01:44:15PM +, Marc Zyngier wrote: > On Fri, 29 Jan 2021 21:43:25 +, > Guenter Roeck wrote: > > > > Hi, > > > > On Tue, Jan 05, 2021 at 06:05:37PM +, David Brazdil wrote: > > > Add a post-processing step to compilation of KVM nVHE hyp code which > > > calls a c

Re: [PATCH v2 4/8] KVM: arm64: Generate hyp relocation data

2021-01-30 Thread Marc Zyngier
On Fri, 29 Jan 2021 21:43:25 +, Guenter Roeck wrote: > > Hi, > > On Tue, Jan 05, 2021 at 06:05:37PM +, David Brazdil wrote: > > Add a post-processing step to compilation of KVM nVHE hyp code which > > calls a custom host tool (gen-hyprel) on the partially linked object > > file (hyp sect

Re: [PATCH v2 4/8] KVM: arm64: Generate hyp relocation data

2021-01-30 Thread Marc Zyngier
Hi Guenter, Thanks a lot for the heads up. On 2021-01-29 21:43, Guenter Roeck wrote: Hi, On Tue, Jan 05, 2021 at 06:05:37PM +, David Brazdil wrote: Add a post-processing step to compilation of KVM nVHE hyp code which calls a custom host tool (gen-hyprel) on the partially linked object fil

Re: [PATCH v2 4/8] KVM: arm64: Generate hyp relocation data

2021-01-29 Thread Guenter Roeck
Hi, On Tue, Jan 05, 2021 at 06:05:37PM +, David Brazdil wrote: > Add a post-processing step to compilation of KVM nVHE hyp code which > calls a custom host tool (gen-hyprel) on the partially linked object > file (hyp sections' names prefixed). > > The tool lists all R_AARCH64_ABS64 data reloc

[PATCH v2 4/8] KVM: arm64: Generate hyp relocation data

2021-01-05 Thread David Brazdil
Add a post-processing step to compilation of KVM nVHE hyp code which calls a custom host tool (gen-hyprel) on the partially linked object file (hyp sections' names prefixed). The tool lists all R_AARCH64_ABS64 data relocations targeting hyp sections and generates an assembly file that will form a