Re: [PATCH 4/5 gnumach] Remove verbose debug printfs

2023-02-13 Thread Samuel Thibault
Applied, thanks! Damien Zammit, le lun. 13 févr. 2023 08:50:02 +, a ecrit: > --- > i386/i386/mp_desc.c | 1 - > i386/i386/smp.c | 1 - > i386/intel/pmap.c | 1 - > 3 files changed, 3 deletions(-) > > diff --git a/i386/i386/mp_desc.c b/i386/i386/mp_desc.c > index 446fedb5..e6fcbf62

Re: [PATCH 3/5 gnumach] Make curr_ipl[] per cpu

2023-02-13 Thread Samuel Thibault
Applied, thanks! Damien Zammit, le lun. 13 févr. 2023 08:49:52 +, a ecrit: > --- > i386/i386/cpu_number.h | 13 --- > i386/i386/fpu.c | 4 ++-- > i386/i386/ipl.h | 2 +- > i386/i386/pic.c | 6 +++-- >

Re: [PATCH 1/5 gnumach] interrupt.S: Dont change ipl for pmap_update_interrupt

2023-02-13 Thread Samuel Thibault
Applied, thanks! Damien Zammit, le lun. 13 févr. 2023 08:49:39 +, a ecrit: > --- > i386/i386at/interrupt.S | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/i386/i386at/interrupt.S b/i386/i386at/interrupt.S > index 1103b1c8..55f4fa0f 100644 > ---

Re: [PATCH 2/5 gnumach] pmap: Signal cpu for TLB update if kernel_pmap

2023-02-13 Thread Samuel Thibault
Applied, thanks! Damien Zammit, le lun. 13 févr. 2023 08:49:45 +, a ecrit: > --- > i386/intel/pmap.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/i386/intel/pmap.c b/i386/intel/pmap.c > index 0a805e4c..40ddcd6a 100644 > --- a/i386/intel/pmap.c > +++

Re: [PATCH 5/5 gnumach] x86_64: Fix broken int_stack_base

2023-02-13 Thread Samuel Thibault
Applied, thanks! Damien Zammit, le lun. 13 févr. 2023 08:50:08 +, a ecrit: > --- > x86_64/cswitch.S | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/x86_64/cswitch.S b/x86_64/cswitch.S > index 1a7471c3..015e884c 100644 > --- a/x86_64/cswitch.S > +++

Re: [PATCH 0/5 gnumach] More smp progress

2023-02-13 Thread Almudena Garcia
Hi: Have you checked the bound processor that I sent you some days ago? Maybe it's related Added to this, you can debug better using gdb Try with this El lun., 13 feb. 2023 9:49, Damien Zammit escribió: > This adds a few more things we need for smp. > Per-cpu curr_ipl[] for example. > With

[sr #110199] Cross-building of GNU/Hurd and additional packages

2023-02-13 Thread Ineiev
Update of sr #110199 (project administration): Status: In Progress => Need Info Open/Closed:Open => Closed ___ Follow-up Comment #34: Some files

[PATCH 4/5 gnumach] Remove verbose debug printfs

2023-02-13 Thread Damien Zammit
--- i386/i386/mp_desc.c | 1 - i386/i386/smp.c | 1 - i386/intel/pmap.c | 1 - 3 files changed, 3 deletions(-) diff --git a/i386/i386/mp_desc.c b/i386/i386/mp_desc.c index 446fedb5..e6fcbf62 100644 --- a/i386/i386/mp_desc.c +++ b/i386/i386/mp_desc.c @@ -199,7 +199,6 @@ cpu_control(int cpu,

[PATCH 5/5 gnumach] x86_64: Fix broken int_stack_base

2023-02-13 Thread Damien Zammit
--- x86_64/cswitch.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x86_64/cswitch.S b/x86_64/cswitch.S index 1a7471c3..015e884c 100644 --- a/x86_64/cswitch.S +++ b/x86_64/cswitch.S @@ -137,7 +137,7 @@ ud2 movqS_ARG2,%rsi /* get its argument */

[PATCH 3/5 gnumach] Make curr_ipl[] per cpu

2023-02-13 Thread Damien Zammit
--- i386/i386/cpu_number.h | 13 --- i386/i386/fpu.c | 4 ++-- i386/i386/ipl.h | 2 +- i386/i386/pic.c | 6 +++-- i386/i386/spl.S | 34 ++--- i386/i386at/ioapic.c

[PATCH 2/5 gnumach] pmap: Signal cpu for TLB update if kernel_pmap

2023-02-13 Thread Damien Zammit
--- i386/intel/pmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i386/intel/pmap.c b/i386/intel/pmap.c index 0a805e4c..40ddcd6a 100644 --- a/i386/intel/pmap.c +++ b/i386/intel/pmap.c @@ -3013,7 +3013,7 @@ voidsignal_cpus( cpu_update_needed[which_cpu] =

[PATCH 1/5 gnumach] interrupt.S: Dont change ipl for pmap_update_interrupt

2023-02-13 Thread Damien Zammit
--- i386/i386at/interrupt.S | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/i386/i386at/interrupt.S b/i386/i386at/interrupt.S index 1103b1c8..55f4fa0f 100644 --- a/i386/i386at/interrupt.S +++ b/i386/i386at/interrupt.S @@ -43,6 +43,9 @@ ENTRY(interrupt) cmpl

[PATCH 0/5 gnumach] More smp progress

2023-02-13 Thread Damien Zammit
This adds a few more things we need for smp. Per-cpu curr_ipl[] for example. With these changes compiled for smp and apic, the kernel fails to boot with -smp {2,4,6,8} due to the first task getting lost somewhere. If you boot with $(prompt-task-resume) in grub, it enters the debugger just before