All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] Remove EFI memmap quirk for UV
@ 2015-11-16 17:59 ` Alex Thorlton
  0 siblings, 0 replies; 17+ messages in thread
From: Alex Thorlton @ 2015-11-16 17:59 UTC (permalink / raw)
  To: linux-kernel
  Cc: Alex Thorlton, Matt Fleming, Thomas Gleixner, Ingo Molnar,
	H. Peter Anvin, Hedi Berriche, Dimitri Sivanich, x86, linux-efi

Commit a5d90c923bcf ("x86/efi: Quirk out SGI UV") added a quirk to
efi_apply_memmap_quirks to force SGI UV systems to fall back to the old
EFI memmap mechanism.  We have a BIOS fix for this issue now, so we no
longer need this quirk in the kernel.  This commit removes the quirk
from the function in question.

Signed-off-by: Alex Thorlton <athorlton@sgi.com>
Acked-by: Mike Travis <travis@sgi.com>
Acked-by: Russ Anderson <rja@sgi.com>
Cc: Matt Fleming <matt.fleming@intel.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Hedi Berriche <hedi@sgi.com>
Cc: Dimitri Sivanich <sivanich@sgi.com>
Cc: x86@kernel.org
Cc: linux-efi@vger.kernel.org

---
 arch/x86/platform/efi/quirks.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/arch/x86/platform/efi/quirks.c b/arch/x86/platform/efi/quirks.c
index 1c7380d..96b417c 100644
--- a/arch/x86/platform/efi/quirks.c
+++ b/arch/x86/platform/efi/quirks.c
@@ -259,12 +259,6 @@ void __init efi_apply_memmap_quirks(void)
 		pr_info("efi: Setup done, disabling due to 32/64-bit mismatch\n");
 		efi_unmap_memmap();
 	}
-
-	/*
-	 * UV doesn't support the new EFI pagetable mapping yet.
-	 */
-	if (is_uv_system())
-		set_bit(EFI_OLD_MEMMAP, &efi.flags);
 }
 
 /*
-- 
1.8.5.6


^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [PATCH 1/2] Remove EFI memmap quirk for UV
@ 2015-11-16 17:59 ` Alex Thorlton
  0 siblings, 0 replies; 17+ messages in thread
From: Alex Thorlton @ 2015-11-16 17:59 UTC (permalink / raw)
  To: linux-kernel-u79uwXL29TY76Z2rM5mHXA
  Cc: Alex Thorlton, Matt Fleming, Thomas Gleixner, Ingo Molnar,
	H. Peter Anvin, Hedi Berriche, Dimitri Sivanich,
	x86-DgEjT+Ai2ygdnm+yROfE0A, linux-efi-u79uwXL29TY76Z2rM5mHXA

Commit a5d90c923bcf ("x86/efi: Quirk out SGI UV") added a quirk to
efi_apply_memmap_quirks to force SGI UV systems to fall back to the old
EFI memmap mechanism.  We have a BIOS fix for this issue now, so we no
longer need this quirk in the kernel.  This commit removes the quirk
from the function in question.

Signed-off-by: Alex Thorlton <athorlton-sJ/iWh9BUns@public.gmane.org>
Acked-by: Mike Travis <travis-sJ/iWh9BUns@public.gmane.org>
Acked-by: Russ Anderson <rja-sJ/iWh9BUns@public.gmane.org>
Cc: Matt Fleming <matt.fleming-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
Cc: Thomas Gleixner <tglx-hfZtesqFncYOwBW4kG4KsQ@public.gmane.org>
Cc: Ingo Molnar <mingo-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
Cc: "H. Peter Anvin" <hpa-YMNOUZJC4hwAvxtiuMwx3w@public.gmane.org>
Cc: Hedi Berriche <hedi-sJ/iWh9BUns@public.gmane.org>
Cc: Dimitri Sivanich <sivanich-sJ/iWh9BUns@public.gmane.org>
Cc: x86-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org
Cc: linux-efi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org

---
 arch/x86/platform/efi/quirks.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/arch/x86/platform/efi/quirks.c b/arch/x86/platform/efi/quirks.c
index 1c7380d..96b417c 100644
--- a/arch/x86/platform/efi/quirks.c
+++ b/arch/x86/platform/efi/quirks.c
@@ -259,12 +259,6 @@ void __init efi_apply_memmap_quirks(void)
 		pr_info("efi: Setup done, disabling due to 32/64-bit mismatch\n");
 		efi_unmap_memmap();
 	}
-
-	/*
-	 * UV doesn't support the new EFI pagetable mapping yet.
-	 */
-	if (is_uv_system())
-		set_bit(EFI_OLD_MEMMAP, &efi.flags);
 }
 
 /*
-- 
1.8.5.6

^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [PATCH 2/2] Remove extra mapping code for UV MMRs
@ 2015-11-16 17:59   ` Alex Thorlton
  0 siblings, 0 replies; 17+ messages in thread
From: Alex Thorlton @ 2015-11-16 17:59 UTC (permalink / raw)
  To: linux-kernel
  Cc: Alex Thorlton, Matt Fleming, Thomas Gleixner, Ingo Molnar,
	H. Peter Anvin, Hedi Berriche, Dimitri Sivanich, x86, linux-efi

These MMRs get mapped in correctly using the new EFI memmap scheme on
recent BIOSes, so we no longer need to set up these extra mappings for
them.

Signed-off-by: Alex Thorlton <athorlton@sgi.com>
Acked-by: Mike Travis <travis@sgi.com>
Acked-by: Russ Anderson <rja@sgi.com>
Cc: Matt Fleming <matt.fleming@intel.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Hedi Berriche <hedi@sgi.com>
Cc: Dimitri Sivanich <sivanich@sgi.com>
Cc: x86@kernel.org
Cc: linux-efi@vger.kernel.org

---
 arch/x86/kernel/apic/x2apic_uv_x.c | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/arch/x86/kernel/apic/x2apic_uv_x.c b/arch/x86/kernel/apic/x2apic_uv_x.c
index c8d9295..e8db45d 100644
--- a/arch/x86/kernel/apic/x2apic_uv_x.c
+++ b/arch/x86/kernel/apic/x2apic_uv_x.c
@@ -712,12 +712,6 @@ static __init void map_mmioh_high(int min_pnode, int max_pnode)
 	}
 }
 
-static __init void map_low_mmrs(void)
-{
-	init_extra_mapping_uc(UV_GLOBAL_MMR32_BASE, UV_GLOBAL_MMR32_SIZE);
-	init_extra_mapping_uc(UV_LOCAL_MMR_BASE, UV_LOCAL_MMR_SIZE);
-}
-
 static __init void uv_rtc_init(void)
 {
 	long status;
@@ -890,7 +884,6 @@ void __init uv_system_init(void)
 		return;
 	}
 	pr_info("UV: Found %s hub\n", hub);
-	map_low_mmrs();
 
 	m_n_config.v = uv_read_local_mmr(UVH_RH_GAM_CONFIG_MMR );
 	m_val = m_n_config.s.m_skt;
-- 
1.8.5.6


^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [PATCH 2/2] Remove extra mapping code for UV MMRs
@ 2015-11-16 17:59   ` Alex Thorlton
  0 siblings, 0 replies; 17+ messages in thread
From: Alex Thorlton @ 2015-11-16 17:59 UTC (permalink / raw)
  To: linux-kernel-u79uwXL29TY76Z2rM5mHXA
  Cc: Alex Thorlton, Matt Fleming, Thomas Gleixner, Ingo Molnar,
	H. Peter Anvin, Hedi Berriche, Dimitri Sivanich,
	x86-DgEjT+Ai2ygdnm+yROfE0A, linux-efi-u79uwXL29TY76Z2rM5mHXA

These MMRs get mapped in correctly using the new EFI memmap scheme on
recent BIOSes, so we no longer need to set up these extra mappings for
them.

Signed-off-by: Alex Thorlton <athorlton-sJ/iWh9BUns@public.gmane.org>
Acked-by: Mike Travis <travis-sJ/iWh9BUns@public.gmane.org>
Acked-by: Russ Anderson <rja-sJ/iWh9BUns@public.gmane.org>
Cc: Matt Fleming <matt.fleming-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
Cc: Thomas Gleixner <tglx-hfZtesqFncYOwBW4kG4KsQ@public.gmane.org>
Cc: Ingo Molnar <mingo-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
Cc: "H. Peter Anvin" <hpa-YMNOUZJC4hwAvxtiuMwx3w@public.gmane.org>
Cc: Hedi Berriche <hedi-sJ/iWh9BUns@public.gmane.org>
Cc: Dimitri Sivanich <sivanich-sJ/iWh9BUns@public.gmane.org>
Cc: x86-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org
Cc: linux-efi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org

---
 arch/x86/kernel/apic/x2apic_uv_x.c | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/arch/x86/kernel/apic/x2apic_uv_x.c b/arch/x86/kernel/apic/x2apic_uv_x.c
index c8d9295..e8db45d 100644
--- a/arch/x86/kernel/apic/x2apic_uv_x.c
+++ b/arch/x86/kernel/apic/x2apic_uv_x.c
@@ -712,12 +712,6 @@ static __init void map_mmioh_high(int min_pnode, int max_pnode)
 	}
 }
 
-static __init void map_low_mmrs(void)
-{
-	init_extra_mapping_uc(UV_GLOBAL_MMR32_BASE, UV_GLOBAL_MMR32_SIZE);
-	init_extra_mapping_uc(UV_LOCAL_MMR_BASE, UV_LOCAL_MMR_SIZE);
-}
-
 static __init void uv_rtc_init(void)
 {
 	long status;
@@ -890,7 +884,6 @@ void __init uv_system_init(void)
 		return;
 	}
 	pr_info("UV: Found %s hub\n", hub);
-	map_low_mmrs();
 
 	m_n_config.v = uv_read_local_mmr(UVH_RH_GAM_CONFIG_MMR );
 	m_val = m_n_config.s.m_skt;
-- 
1.8.5.6

^ permalink raw reply related	[flat|nested] 17+ messages in thread

* Re: [PATCH 1/2] Remove EFI memmap quirk for UV
@ 2015-11-16 18:02   ` Thomas Gleixner
  0 siblings, 0 replies; 17+ messages in thread
From: Thomas Gleixner @ 2015-11-16 18:02 UTC (permalink / raw)
  To: Alex Thorlton
  Cc: LKML, Matt Fleming, Ingo Molnar, H. Peter Anvin, Hedi Berriche,
	Dimitri Sivanich, x86, linux-efi

On Mon, 16 Nov 2015, Alex Thorlton wrote:

CC'ing Matt under his correct e-mail address.

> Commit a5d90c923bcf ("x86/efi: Quirk out SGI UV") added a quirk to
> efi_apply_memmap_quirks to force SGI UV systems to fall back to the old
> EFI memmap mechanism.  We have a BIOS fix for this issue now, so we no
> longer need this quirk in the kernel.  This commit removes the quirk
> from the function in question.
> 
> Signed-off-by: Alex Thorlton <athorlton@sgi.com>
> Acked-by: Mike Travis <travis@sgi.com>
> Acked-by: Russ Anderson <rja@sgi.com>
> Cc: Matt Fleming <matt.fleming@intel.com>
> Cc: Thomas Gleixner <tglx@linutronix.de>
> Cc: Ingo Molnar <mingo@redhat.com>
> Cc: "H. Peter Anvin" <hpa@zytor.com>
> Cc: Hedi Berriche <hedi@sgi.com>
> Cc: Dimitri Sivanich <sivanich@sgi.com>
> Cc: x86@kernel.org
> Cc: linux-efi@vger.kernel.org
> 
> ---
>  arch/x86/platform/efi/quirks.c | 6 ------
>  1 file changed, 6 deletions(-)
> 
> diff --git a/arch/x86/platform/efi/quirks.c b/arch/x86/platform/efi/quirks.c
> index 1c7380d..96b417c 100644
> --- a/arch/x86/platform/efi/quirks.c
> +++ b/arch/x86/platform/efi/quirks.c
> @@ -259,12 +259,6 @@ void __init efi_apply_memmap_quirks(void)
>  		pr_info("efi: Setup done, disabling due to 32/64-bit mismatch\n");
>  		efi_unmap_memmap();
>  	}
> -
> -	/*
> -	 * UV doesn't support the new EFI pagetable mapping yet.
> -	 */
> -	if (is_uv_system())
> -		set_bit(EFI_OLD_MEMMAP, &efi.flags);
>  }
>  
>  /*
> -- 
> 1.8.5.6
> 
> 

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [PATCH 1/2] Remove EFI memmap quirk for UV
@ 2015-11-16 18:02   ` Thomas Gleixner
  0 siblings, 0 replies; 17+ messages in thread
From: Thomas Gleixner @ 2015-11-16 18:02 UTC (permalink / raw)
  To: Alex Thorlton
  Cc: LKML, Matt Fleming, Ingo Molnar, H. Peter Anvin, Hedi Berriche,
	Dimitri Sivanich, x86-DgEjT+Ai2ygdnm+yROfE0A,
	linux-efi-u79uwXL29TY76Z2rM5mHXA

On Mon, 16 Nov 2015, Alex Thorlton wrote:

CC'ing Matt under his correct e-mail address.

> Commit a5d90c923bcf ("x86/efi: Quirk out SGI UV") added a quirk to
> efi_apply_memmap_quirks to force SGI UV systems to fall back to the old
> EFI memmap mechanism.  We have a BIOS fix for this issue now, so we no
> longer need this quirk in the kernel.  This commit removes the quirk
> from the function in question.
> 
> Signed-off-by: Alex Thorlton <athorlton-sJ/iWh9BUns@public.gmane.org>
> Acked-by: Mike Travis <travis-sJ/iWh9BUns@public.gmane.org>
> Acked-by: Russ Anderson <rja-sJ/iWh9BUns@public.gmane.org>
> Cc: Matt Fleming <matt.fleming-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
> Cc: Thomas Gleixner <tglx-hfZtesqFncYOwBW4kG4KsQ@public.gmane.org>
> Cc: Ingo Molnar <mingo-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
> Cc: "H. Peter Anvin" <hpa-YMNOUZJC4hwAvxtiuMwx3w@public.gmane.org>
> Cc: Hedi Berriche <hedi-sJ/iWh9BUns@public.gmane.org>
> Cc: Dimitri Sivanich <sivanich-sJ/iWh9BUns@public.gmane.org>
> Cc: x86-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org
> Cc: linux-efi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
> 
> ---
>  arch/x86/platform/efi/quirks.c | 6 ------
>  1 file changed, 6 deletions(-)
> 
> diff --git a/arch/x86/platform/efi/quirks.c b/arch/x86/platform/efi/quirks.c
> index 1c7380d..96b417c 100644
> --- a/arch/x86/platform/efi/quirks.c
> +++ b/arch/x86/platform/efi/quirks.c
> @@ -259,12 +259,6 @@ void __init efi_apply_memmap_quirks(void)
>  		pr_info("efi: Setup done, disabling due to 32/64-bit mismatch\n");
>  		efi_unmap_memmap();
>  	}
> -
> -	/*
> -	 * UV doesn't support the new EFI pagetable mapping yet.
> -	 */
> -	if (is_uv_system())
> -		set_bit(EFI_OLD_MEMMAP, &efi.flags);
>  }
>  
>  /*
> -- 
> 1.8.5.6
> 
> 

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [PATCH 1/2] Remove EFI memmap quirk for UV
  2015-11-16 18:02   ` Thomas Gleixner
  (?)
@ 2015-11-17  9:52   ` Matt Fleming
  2015-11-17 18:24     ` Alex Thorlton
  -1 siblings, 1 reply; 17+ messages in thread
From: Matt Fleming @ 2015-11-17  9:52 UTC (permalink / raw)
  To: Thomas Gleixner
  Cc: Alex Thorlton, LKML, Ingo Molnar, H. Peter Anvin, Hedi Berriche,
	Dimitri Sivanich, x86, linux-efi

On Mon, 16 Nov, at 07:02:48PM, Thomas Gleixner wrote:
> On Mon, 16 Nov 2015, Alex Thorlton wrote:
> 
> CC'ing Matt under his correct e-mail address.
> 
> > Commit a5d90c923bcf ("x86/efi: Quirk out SGI UV") added a quirk to
> > efi_apply_memmap_quirks to force SGI UV systems to fall back to the old
> > EFI memmap mechanism.  We have a BIOS fix for this issue now, so we no
> > longer need this quirk in the kernel.  This commit removes the quirk
> > from the function in question.
> > 
> > Signed-off-by: Alex Thorlton <athorlton@sgi.com>
> > Acked-by: Mike Travis <travis@sgi.com>
> > Acked-by: Russ Anderson <rja@sgi.com>
> > Cc: Matt Fleming <matt.fleming@intel.com>
> > Cc: Thomas Gleixner <tglx@linutronix.de>
> > Cc: Ingo Molnar <mingo@redhat.com>
> > Cc: "H. Peter Anvin" <hpa@zytor.com>
> > Cc: Hedi Berriche <hedi@sgi.com>
> > Cc: Dimitri Sivanich <sivanich@sgi.com>
> > Cc: x86@kernel.org
> > Cc: linux-efi@vger.kernel.org
> > 
> > ---
> >  arch/x86/platform/efi/quirks.c | 6 ------
> >  1 file changed, 6 deletions(-)
> > 
> > diff --git a/arch/x86/platform/efi/quirks.c b/arch/x86/platform/efi/quirks.c
> > index 1c7380d..96b417c 100644
> > --- a/arch/x86/platform/efi/quirks.c
> > +++ b/arch/x86/platform/efi/quirks.c
> > @@ -259,12 +259,6 @@ void __init efi_apply_memmap_quirks(void)
> >  		pr_info("efi: Setup done, disabling due to 32/64-bit mismatch\n");
> >  		efi_unmap_memmap();
> >  	}
> > -
> > -	/*
> > -	 * UV doesn't support the new EFI pagetable mapping yet.
> > -	 */
> > -	if (is_uv_system())
> > -		set_bit(EFI_OLD_MEMMAP, &efi.flags);

Awesome! Thanks Alex.

Can I also close https://bugzilla.kernel.org/show_bug.cgi?id=75021 ?

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [PATCH 1/2] Remove EFI memmap quirk for UV
  2015-11-17  9:52   ` Matt Fleming
@ 2015-11-17 18:24     ` Alex Thorlton
  0 siblings, 0 replies; 17+ messages in thread
From: Alex Thorlton @ 2015-11-17 18:24 UTC (permalink / raw)
  To: Matt Fleming
  Cc: Thomas Gleixner, Alex Thorlton, LKML, Ingo Molnar,
	H. Peter Anvin, Hedi Berriche, Dimitri Sivanich, x86, linux-efi

On Tue, Nov 17, 2015 at 09:52:08AM +0000, Matt Fleming wrote:
> Awesome! Thanks Alex.
> 
> Can I also close https://bugzilla.kernel.org/show_bug.cgi?id=75021 ?

Yep!  Thanks, Matt!

- Alex

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [PATCH 1/2] Remove EFI memmap quirk for UV
@ 2015-11-17 19:32   ` Borislav Petkov
  0 siblings, 0 replies; 17+ messages in thread
From: Borislav Petkov @ 2015-11-17 19:32 UTC (permalink / raw)
  To: Alex Thorlton
  Cc: linux-kernel, Matt Fleming, Thomas Gleixner, Ingo Molnar,
	H. Peter Anvin, Hedi Berriche, Dimitri Sivanich, x86, linux-efi

On Mon, Nov 16, 2015 at 11:59:40AM -0600, Alex Thorlton wrote:
> Commit a5d90c923bcf ("x86/efi: Quirk out SGI UV") added a quirk to
> efi_apply_memmap_quirks to force SGI UV systems to fall back to the old
> EFI memmap mechanism.  We have a BIOS fix for this issue now, so we no
> longer need this quirk in the kernel.

So does that mean that all UV systems out there will get the BIOS update
or at least will have a BIOS update available so that we won't need the
quirk at all?

-- 
Regards/Gruss,
    Boris.

ECO tip #101: Trim your mails when you reply.

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [PATCH 1/2] Remove EFI memmap quirk for UV
@ 2015-11-17 19:32   ` Borislav Petkov
  0 siblings, 0 replies; 17+ messages in thread
From: Borislav Petkov @ 2015-11-17 19:32 UTC (permalink / raw)
  To: Alex Thorlton
  Cc: linux-kernel-u79uwXL29TY76Z2rM5mHXA, Matt Fleming,
	Thomas Gleixner, Ingo Molnar, H. Peter Anvin, Hedi Berriche,
	Dimitri Sivanich, x86-DgEjT+Ai2ygdnm+yROfE0A,
	linux-efi-u79uwXL29TY76Z2rM5mHXA

On Mon, Nov 16, 2015 at 11:59:40AM -0600, Alex Thorlton wrote:
> Commit a5d90c923bcf ("x86/efi: Quirk out SGI UV") added a quirk to
> efi_apply_memmap_quirks to force SGI UV systems to fall back to the old
> EFI memmap mechanism.  We have a BIOS fix for this issue now, so we no
> longer need this quirk in the kernel.

So does that mean that all UV systems out there will get the BIOS update
or at least will have a BIOS update available so that we won't need the
quirk at all?

-- 
Regards/Gruss,
    Boris.

ECO tip #101: Trim your mails when you reply.

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [PATCH 1/2] Remove EFI memmap quirk for UV
@ 2015-11-18  1:56     ` Alex Thorlton
  0 siblings, 0 replies; 17+ messages in thread
From: Alex Thorlton @ 2015-11-18  1:56 UTC (permalink / raw)
  To: Borislav Petkov
  Cc: Alex Thorlton, linux-kernel, Matt Fleming, Thomas Gleixner,
	Ingo Molnar, H. Peter Anvin, Hedi Berriche, Dimitri Sivanich,
	x86, linux-efi

On Tue, Nov 17, 2015 at 08:32:59PM +0100, Borislav Petkov wrote:
> On Mon, Nov 16, 2015 at 11:59:40AM -0600, Alex Thorlton wrote:
> > Commit a5d90c923bcf ("x86/efi: Quirk out SGI UV") added a quirk to
> > efi_apply_memmap_quirks to force SGI UV systems to fall back to the old
> > EFI memmap mechanism.  We have a BIOS fix for this issue now, so we no
> > longer need this quirk in the kernel.
> 
> So does that mean that all UV systems out there will get the BIOS update
> or at least will have a BIOS update available so that we won't need the
> quirk at all?

Essentially, yes.  The BIOS fix isn't available on UV1, but that's older
hardware at this point, and the distro kernels that run on it will
still have the quirk.  This change is mainly so that we can get the
un-quirked code pulled in for the next major distro release.

We won't be checking this down into the stable branches.  Mainly just
planning ahead here for future UV and distro releases.

- Alex

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [PATCH 1/2] Remove EFI memmap quirk for UV
@ 2015-11-18  1:56     ` Alex Thorlton
  0 siblings, 0 replies; 17+ messages in thread
From: Alex Thorlton @ 2015-11-18  1:56 UTC (permalink / raw)
  To: Borislav Petkov
  Cc: Alex Thorlton, linux-kernel-u79uwXL29TY76Z2rM5mHXA, Matt Fleming,
	Thomas Gleixner, Ingo Molnar, H. Peter Anvin, Hedi Berriche,
	Dimitri Sivanich, x86-DgEjT+Ai2ygdnm+yROfE0A,
	linux-efi-u79uwXL29TY76Z2rM5mHXA

On Tue, Nov 17, 2015 at 08:32:59PM +0100, Borislav Petkov wrote:
> On Mon, Nov 16, 2015 at 11:59:40AM -0600, Alex Thorlton wrote:
> > Commit a5d90c923bcf ("x86/efi: Quirk out SGI UV") added a quirk to
> > efi_apply_memmap_quirks to force SGI UV systems to fall back to the old
> > EFI memmap mechanism.  We have a BIOS fix for this issue now, so we no
> > longer need this quirk in the kernel.
> 
> So does that mean that all UV systems out there will get the BIOS update
> or at least will have a BIOS update available so that we won't need the
> quirk at all?

Essentially, yes.  The BIOS fix isn't available on UV1, but that's older
hardware at this point, and the distro kernels that run on it will
still have the quirk.  This change is mainly so that we can get the
un-quirked code pulled in for the next major distro release.

We won't be checking this down into the stable branches.  Mainly just
planning ahead here for future UV and distro releases.

- Alex

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [PATCH 1/2] Remove EFI memmap quirk for UV
  2015-11-18  1:56     ` Alex Thorlton
  (?)
@ 2015-11-18  8:00     ` Ingo Molnar
  2015-11-18  9:23         ` Borislav Petkov
  -1 siblings, 1 reply; 17+ messages in thread
From: Ingo Molnar @ 2015-11-18  8:00 UTC (permalink / raw)
  To: Alex Thorlton
  Cc: Borislav Petkov, linux-kernel, Matt Fleming, Thomas Gleixner,
	Ingo Molnar, H. Peter Anvin, Hedi Berriche, Dimitri Sivanich,
	x86, linux-efi


* Alex Thorlton <athorlton@sgi.com> wrote:

> On Tue, Nov 17, 2015 at 08:32:59PM +0100, Borislav Petkov wrote:
> > On Mon, Nov 16, 2015 at 11:59:40AM -0600, Alex Thorlton wrote:
> > > Commit a5d90c923bcf ("x86/efi: Quirk out SGI UV") added a quirk to
> > > efi_apply_memmap_quirks to force SGI UV systems to fall back to the old
> > > EFI memmap mechanism.  We have a BIOS fix for this issue now, so we no
> > > longer need this quirk in the kernel.
> > 
> > So does that mean that all UV systems out there will get the BIOS update
> > or at least will have a BIOS update available so that we won't need the
> > quirk at all?
> 
> Essentially, yes.  The BIOS fix isn't available on UV1, but that's older
> hardware at this point, and the distro kernels that run on it will
> still have the quirk.  This change is mainly so that we can get the
> un-quirked code pulled in for the next major distro release.

So how about older UV systems that don't want to upgrade the BIOS for whatever 
reason but wants to upgrade to a new distro will have a non-booting kernel?

Also, what about UV systems that compile their own kernels for whatever reason?

> We won't be checking this down into the stable branches.  Mainly just planning 
> ahead here for future UV and distro releases.

But eventually the new kernel will become the stable kernel, and we'll be breaking 
old systems with old BIOSen, which is not good.

We should at least check the BIOS version via a DMI quirk and panic in some nicely 
informative 'upgrade your BIOS!' way to ease the transition ...

Thanks,

	Ingo

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [PATCH 1/2] Remove EFI memmap quirk for UV
@ 2015-11-18  9:23         ` Borislav Petkov
  0 siblings, 0 replies; 17+ messages in thread
From: Borislav Petkov @ 2015-11-18  9:23 UTC (permalink / raw)
  To: Ingo Molnar
  Cc: Alex Thorlton, linux-kernel, Matt Fleming, Thomas Gleixner,
	Ingo Molnar, H. Peter Anvin, Hedi Berriche, Dimitri Sivanich,
	x86, linux-efi

On Wed, Nov 18, 2015 at 09:00:47AM +0100, Ingo Molnar wrote:
> We should at least check the BIOS version via a DMI quirk and panic in some nicely 
> informative 'upgrade your BIOS!' way to ease the transition ...

Or since we're touching BIOS anyway, maybe stick a bit somewhere which
says "EFI is fixed/quirk not needed anymore" when set and software can
check that bit instead of checking BIOS versions...

-- 
Regards/Gruss,
    Boris.

ECO tip #101: Trim your mails when you reply.

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [PATCH 1/2] Remove EFI memmap quirk for UV
@ 2015-11-18  9:23         ` Borislav Petkov
  0 siblings, 0 replies; 17+ messages in thread
From: Borislav Petkov @ 2015-11-18  9:23 UTC (permalink / raw)
  To: Ingo Molnar
  Cc: Alex Thorlton, linux-kernel-u79uwXL29TY76Z2rM5mHXA, Matt Fleming,
	Thomas Gleixner, Ingo Molnar, H. Peter Anvin, Hedi Berriche,
	Dimitri Sivanich, x86-DgEjT+Ai2ygdnm+yROfE0A,
	linux-efi-u79uwXL29TY76Z2rM5mHXA

On Wed, Nov 18, 2015 at 09:00:47AM +0100, Ingo Molnar wrote:
> We should at least check the BIOS version via a DMI quirk and panic in some nicely 
> informative 'upgrade your BIOS!' way to ease the transition ...

Or since we're touching BIOS anyway, maybe stick a bit somewhere which
says "EFI is fixed/quirk not needed anymore" when set and software can
check that bit instead of checking BIOS versions...

-- 
Regards/Gruss,
    Boris.

ECO tip #101: Trim your mails when you reply.

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [PATCH 1/2] Remove EFI memmap quirk for UV
@ 2015-11-18 17:00           ` Alex Thorlton
  0 siblings, 0 replies; 17+ messages in thread
From: Alex Thorlton @ 2015-11-18 17:00 UTC (permalink / raw)
  To: Borislav Petkov
  Cc: Ingo Molnar, Alex Thorlton, linux-kernel, Thomas Gleixner,
	Ingo Molnar, H. Peter Anvin, Hedi Berriche, Dimitri Sivanich,
	x86, linux-efi, matt

On Wed, Nov 18, 2015 at 10:23:16AM +0100, Borislav Petkov wrote:
> On Wed, Nov 18, 2015 at 09:00:47AM +0100, Ingo Molnar wrote:
> > We should at least check the BIOS version via a DMI quirk and panic in some nicely 
> > informative 'upgrade your BIOS!' way to ease the transition ...
> 
> Or since we're touching BIOS anyway, maybe stick a bit somewhere which
> says "EFI is fixed/quirk not needed anymore" when set and software can
> check that bit instead of checking BIOS versions...

After talking through this with Russ, we agree that we should fix this
up to play nice on UV1, without users needing to add the memmap quirk to
the command line.  I'll figure out which check we need to make and spin
another version.

Thanks for looking over this, guys!

- Alex

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [PATCH 1/2] Remove EFI memmap quirk for UV
@ 2015-11-18 17:00           ` Alex Thorlton
  0 siblings, 0 replies; 17+ messages in thread
From: Alex Thorlton @ 2015-11-18 17:00 UTC (permalink / raw)
  To: Borislav Petkov
  Cc: Ingo Molnar, Alex Thorlton, linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	Thomas Gleixner, Ingo Molnar, H. Peter Anvin, Hedi Berriche,
	Dimitri Sivanich, x86-DgEjT+Ai2ygdnm+yROfE0A,
	linux-efi-u79uwXL29TY76Z2rM5mHXA,
	matt-mF/unelCI9GS6iBeEJttW/XRex20P6io

On Wed, Nov 18, 2015 at 10:23:16AM +0100, Borislav Petkov wrote:
> On Wed, Nov 18, 2015 at 09:00:47AM +0100, Ingo Molnar wrote:
> > We should at least check the BIOS version via a DMI quirk and panic in some nicely 
> > informative 'upgrade your BIOS!' way to ease the transition ...
> 
> Or since we're touching BIOS anyway, maybe stick a bit somewhere which
> says "EFI is fixed/quirk not needed anymore" when set and software can
> check that bit instead of checking BIOS versions...

After talking through this with Russ, we agree that we should fix this
up to play nice on UV1, without users needing to add the memmap quirk to
the command line.  I'll figure out which check we need to make and spin
another version.

Thanks for looking over this, guys!

- Alex

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2015-11-18 17:00 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-16 17:59 [PATCH 1/2] Remove EFI memmap quirk for UV Alex Thorlton
2015-11-16 17:59 ` Alex Thorlton
2015-11-16 17:59 ` [PATCH 2/2] Remove extra mapping code for UV MMRs Alex Thorlton
2015-11-16 17:59   ` Alex Thorlton
2015-11-16 18:02 ` [PATCH 1/2] Remove EFI memmap quirk for UV Thomas Gleixner
2015-11-16 18:02   ` Thomas Gleixner
2015-11-17  9:52   ` Matt Fleming
2015-11-17 18:24     ` Alex Thorlton
2015-11-17 19:32 ` Borislav Petkov
2015-11-17 19:32   ` Borislav Petkov
2015-11-18  1:56   ` Alex Thorlton
2015-11-18  1:56     ` Alex Thorlton
2015-11-18  8:00     ` Ingo Molnar
2015-11-18  9:23       ` Borislav Petkov
2015-11-18  9:23         ` Borislav Petkov
2015-11-18 17:00         ` Alex Thorlton
2015-11-18 17:00           ` Alex Thorlton

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.