Re: [PATCH 30/62] x86/head/64: Move early exception dispatch to C code

2020-02-12 Thread Joerg Roedel
On Tue, Feb 11, 2020 at 02:44:45PM -0800, Andy Lutomirski wrote: > How about int (or bool) handled; Or just if (!early_make_pgtable) > return; This would also be nicer if you inverted the return value so > that true means "I handled it". Okay, makes sense. Changed the return value of

Re: [PATCH 30/62] x86/head/64: Move early exception dispatch to C code

2020-02-11 Thread Andy Lutomirski
On Tue, Feb 11, 2020 at 5:53 AM Joerg Roedel wrote: > > From: Joerg Roedel > > Move the assembly coded dispatch between page-faults and all other > exceptions to C code to make it easier to maintain and extend. > > Signed-off-by: Joerg Roedel > --- > arch/x86/kernel/head64.c | 20

[PATCH 30/62] x86/head/64: Move early exception dispatch to C code

2020-02-11 Thread Joerg Roedel
From: Joerg Roedel Move the assembly coded dispatch between page-faults and all other exceptions to C code to make it easier to maintain and extend. Signed-off-by: Joerg Roedel --- arch/x86/kernel/head64.c | 20 arch/x86/kernel/head_64.S | 11 +-- 2 files