bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 08/12 gnumach] smp: Deassert IPI 251 as part of sequence


From: Samuel Thibault
Subject: Re: [PATCH 08/12 gnumach] smp: Deassert IPI 251 as part of sequence
Date: Tue, 31 Jan 2023 20:48:10 +0100
User-agent: NeoMutt/20170609 (1.8.3)

Applied, thanks!

Damien Zammit, le mar. 31 janv. 2023 09:38:18 +0000, a ecrit:
> ---
>  i386/i386/smp.c | 6 +++++-
>  1 file changed, 5 insertions(+), 1 deletion(-)
> 
> diff --git a/i386/i386/smp.c b/i386/i386/smp.c
> index c351efaa..acf69d21 100644
> --- a/i386/i386/smp.c
> +++ b/i386/i386/smp.c
> @@ -60,7 +60,11 @@ void smp_pmap_update(unsigned apic_id)
>          pause_memory;
>      } while(lapic->icr_low.delivery_status == SEND_PENDING);
> 
> -    printf("done\n");
> +    apic_send_ipi(NO_SHORTHAND, FIXED, PHYSICAL, DE_ASSERT, EDGE, 
> CALL_SINGLE_FUNCTION_BASE, apic_id);
> +
> +    do {
> +        pause_memory;
> +    } while(lapic->icr_low.delivery_status == SEND_PENDING);
> 
>      cpu_intr_restore(flags);
>  }
> --
> 2.34.1
> 
> 
> 

-- 
Samuel
---
Pour une évaluation indépendante, transparente et rigoureuse !
Je soutiens la Commission d'Évaluation de l'Inria.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]