[PATCH 21/21] X86_64, UV: Fix incorrect nodes and pnodes for cpuless and memoryless nodes

2016-04-27 Thread Mike Travis
From: Dimitri Sivanich <sivan...@sgi.com> This patch fixes the problem of incorrect nodes and pnodes being returned when referring to nodes that either have no cpus (AKA "headless") or no memory. Signed-off-by: Dimitri Sivanich <sivan...@sgi.com> Signed-off-by: Mike

[PATCH 18/21] X86_64, UV: Build GAM reference tables

2016-04-27 Thread Mike Travis
An aspect of the UV4 system architecture changes involve changing the way sockets, nodes, and pnodes are translated between one another. Decode the information from the BIOS provided EFI system table to build the needed conversion tables. Signed-off-by: Mike Travis <tra...@sgi.com> Re

[PATCH 12/21] X86_64, UV: Move blade local processor ID to the per cpu info struct

2016-04-27 Thread Mike Travis
definition. This allows calling source code to be built for both pre-UV4 kernels as well as post-UV4 kernels. Signed-off-by: Mike Travis Reviewed-by: Dimitri Sivanich Tested-by: John Estabrook Tested-by: Gary Kroening --- arch/x86/include/asm/uv/uv_hub.h | 10 -- arch/x86/kernel/apic

[PATCH 21/21] X86_64, UV: Fix incorrect nodes and pnodes for cpuless and memoryless nodes

2016-04-27 Thread Mike Travis
From: Dimitri Sivanich This patch fixes the problem of incorrect nodes and pnodes being returned when referring to nodes that either have no cpus (AKA "headless") or no memory. Signed-off-by: Dimitri Sivanich Signed-off-by: Mike Travis Tested-by: John Estabrook Tested-by: Gar

[PATCH 18/21] X86_64, UV: Build GAM reference tables

2016-04-27 Thread Mike Travis
An aspect of the UV4 system architecture changes involve changing the way sockets, nodes, and pnodes are translated between one another. Decode the information from the BIOS provided EFI system table to build the needed conversion tables. Signed-off-by: Mike Travis Reviewed-by: Dimitri Sivanich

[PATCH 16/21] X86_64, UV: Add obtaining GAM Range Table from UV BIOS

2016-04-27 Thread Mike Travis
V BIOS via the EFI UVsystab table. Support for older EFI UVsystab tables is maintained. Signed-off-by: Mike Travis <tra...@sgi.com> Tested-by: Dimitri Sivanich <sivan...@sgi.com> Tested-by: John Estabrook <estabr...@sgi.com> Tested-by: Gary Kroening <g...@sgi.com> --- arch

[PATCH 09/21] X86_64, UV: Update MMIOH setup function to work for both UV3 and UV4

2016-04-27 Thread Mike Travis
Since UV3 and UV4 MMIOH regions are setup the same, we can use a common function to setup both. Signed-off-by: Mike Travis <tra...@sgi.com> Reviewed-by: Dimitri Sivanich <sivan...@sgi.com> Tested-by: John Estabrook <estabr...@sgi.com> Tested-by: Gary Kroening <g...@sgi.com&

[PATCH 03/21] X86_64, UV: Add UV4 Specific Defines

2016-04-27 Thread Mike Travis
Add UV4 specific defines to determine if current system type is a UV4 system. Signed-off-by: Mike Travis <tra...@sgi.com> Reviewed-by: Dimitri Sivanich <sivan...@sgi.com> Tested-by: John Estabrook <estabr...@sgi.com> Tested-by: Gary Kroening <g...@sgi.com> --- arch/x86/k

[PATCH 16/21] X86_64, UV: Add obtaining GAM Range Table from UV BIOS

2016-04-27 Thread Mike Travis
V BIOS via the EFI UVsystab table. Support for older EFI UVsystab tables is maintained. Signed-off-by: Mike Travis Tested-by: Dimitri Sivanich Tested-by: John Estabrook Tested-by: Gary Kroening --- arch/x86/include/asm/uv/bios.h | 59 ++-- arch/x86/p

[PATCH 09/21] X86_64, UV: Update MMIOH setup function to work for both UV3 and UV4

2016-04-27 Thread Mike Travis
Since UV3 and UV4 MMIOH regions are setup the same, we can use a common function to setup both. Signed-off-by: Mike Travis Reviewed-by: Dimitri Sivanich Tested-by: John Estabrook Tested-by: Gary Kroening --- arch/x86/kernel/apic/x2apic_uv_x.c |3 ++- 1 file changed, 2 insertions(+), 1

[PATCH 03/21] X86_64, UV: Add UV4 Specific Defines

2016-04-27 Thread Mike Travis
Add UV4 specific defines to determine if current system type is a UV4 system. Signed-off-by: Mike Travis Reviewed-by: Dimitri Sivanich Tested-by: John Estabrook Tested-by: Gary Kroening --- arch/x86/kernel/apic/x2apic_uv_x.c | 12 +--- 1 file changed, 9 insertions(+), 3 deletions

[PATCH 08/21] X86_64, UV: Clean up redunduncies after merge of UV4 MMR definitions

2016-04-27 Thread Mike Travis
Clean up any redundancies caused by new UV4 MMR definitions superseding any previously definitions local to functions. Signed-off-by: Mike Travis <tra...@sgi.com> Reviewed-by: Dimitri Sivanich <sivan...@sgi.com> Reviewed-by: Andrew Banman <aban...@sgi.com> Tested-by: John

[PATCH 08/21] X86_64, UV: Clean up redunduncies after merge of UV4 MMR definitions

2016-04-27 Thread Mike Travis
Clean up any redundancies caused by new UV4 MMR definitions superseding any previously definitions local to functions. Signed-off-by: Mike Travis Reviewed-by: Dimitri Sivanich Reviewed-by: Andrew Banman Tested-by: John Estabrook Tested-by: Gary Kroening --- arch/x86/include/asm/uv/uv_hub.h

[PATCH 19/21] X86_64, UV: Update physical address conversions for UV4

2016-04-27 Thread Mike Travis
to measure execution time. Signed-off-by: Mike Travis <tra...@sgi.com> Tested-by: Dimitri Sivanich <sivan...@sgi.com> Tested-by: John Estabrook <estabr...@sgi.com> Tested-by: Gary Kroening <g...@sgi.com> --- arch/x86/include/asm/uv/uv_hub.h | 131 +++

[PATCH 17/21] X86_64, UV: Support UV4 socket address changes

2016-04-27 Thread Mike Travis
With the UV4 system architecture addressing changes, BIOS now provides this information via an EFI system table. This is the initial decoding of that system table. It also collects the sizing information for later allocation of dynamic conversion tables. Signed-off-by: Mike Travis <

[PATCH 11/21] X86_64, UV: Move scir info to the per cpu info struct

2016-04-27 Thread Mike Travis
Change the references to the SCIR fields to the new per cpu info structs. Signed-off-by: Mike Travis <tra...@sgi.com> Reviewed-by: Dimitri Sivanich <sivan...@sgi.com> Tested-by: John Estabrook <estabr...@sgi.com> Tested-by: Gary Kroening <g...@sgi.com> --- arch/x86

[PATCH 19/21] X86_64, UV: Update physical address conversions for UV4

2016-04-27 Thread Mike Travis
to measure execution time. Signed-off-by: Mike Travis Tested-by: Dimitri Sivanich Tested-by: John Estabrook Tested-by: Gary Kroening --- arch/x86/include/asm/uv/uv_hub.h | 131 - arch/x86/kernel/apic/x2apic_uv_x.c | 96 ++- 2 files

[PATCH 17/21] X86_64, UV: Support UV4 socket address changes

2016-04-27 Thread Mike Travis
With the UV4 system architecture addressing changes, BIOS now provides this information via an EFI system table. This is the initial decoding of that system table. It also collects the sizing information for later allocation of dynamic conversion tables. Signed-off-by: Mike Travis Reviewed

[PATCH 11/21] X86_64, UV: Move scir info to the per cpu info struct

2016-04-27 Thread Mike Travis
Change the references to the SCIR fields to the new per cpu info structs. Signed-off-by: Mike Travis Reviewed-by: Dimitri Sivanich Tested-by: John Estabrook Tested-by: Gary Kroening --- arch/x86/include/asm/uv/uv_hub.h | 17 ++--- arch/x86/kernel/apic/x2apic_uv_x.c | 18

[PATCH 05/21] X86_64, UV: Prep for UV4 MMR updates

2016-04-27 Thread Mike Travis
overlay addresses and NMI definitions to allow for flexibility in newer UV architecture types. Signed-off-by: Mike Travis <tra...@sgi.com> Reviewed-by: Dimitri Sivanich <sivan...@sgi.com> Tested-by: John Estabrook <estabr...@sgi.com> Tested-by: Gary Kroening <g...@sgi.com> -

[PATCH 05/21] X86_64, UV: Prep for UV4 MMR updates

2016-04-27 Thread Mike Travis
overlay addresses and NMI definitions to allow for flexibility in newer UV architecture types. Signed-off-by: Mike Travis Reviewed-by: Dimitri Sivanich Tested-by: John Estabrook Tested-by: Gary Kroening --- arch/x86/include/asm/uv/uv_hub.h |5 arch/x86/kernel/apic/x2apic_uv_x.c | 208

Re: [PATCH 2/3] mm, x86: Remove region_is_ram() call from ioremap

2015-06-23 Thread Mike Travis
On 6/23/2015 2:01 AM, Ingo Molnar wrote: > > * Mike Travis wrote: > >> <<< >> We have a large university system in the UK that is experiencing >> very long delays modprobing the driver for a specific I/O device. >> The delay is from 8-10 m

Re: [PATCH 2/3] mm, x86: Remove region_is_ram() call from ioremap

2015-06-23 Thread Mike Travis
On 6/23/2015 2:01 AM, Ingo Molnar wrote: * Mike Travis tra...@sgi.com wrote: We have a large university system in the UK that is experiencing very long delays modprobing the driver for a specific I/O device. The delay is from 8-10 minutes per device and there are 31 devices

Re: [PATCH 2/3] mm, x86: Remove region_is_ram() call from ioremap

2015-06-22 Thread Mike Travis
On 6/22/2015 10:23 AM, Toshi Kani wrote: > On Mon, 2015-06-22 at 09:21 -0700, Mike Travis wrote: >> >> On 6/19/2015 2:44 PM, Toshi Kani wrote: >>> __ioremap_caller() calls region_is_ram() to look up the resource >>> to check if a target range is RAM, which wa

Re: [PATCH 2/3] mm, x86: Remove region_is_ram() call from ioremap

2015-06-22 Thread Mike Travis
On 6/19/2015 2:44 PM, Toshi Kani wrote: > __ioremap_caller() calls region_is_ram() to look up the resource > to check if a target range is RAM, which was added as an additinal > check to improve the lookup performance over page_is_ram() (commit > 906e36c5c717 "x86: use optimized ioresource

Re: [PATCH 2/3] mm, x86: Remove region_is_ram() call from ioremap

2015-06-22 Thread Mike Travis
On 6/19/2015 2:44 PM, Toshi Kani wrote: __ioremap_caller() calls region_is_ram() to look up the resource to check if a target range is RAM, which was added as an additinal check to improve the lookup performance over page_is_ram() (commit 906e36c5c717 x86: use optimized ioresource lookup in

Re: [PATCH 2/3] mm, x86: Remove region_is_ram() call from ioremap

2015-06-22 Thread Mike Travis
On 6/22/2015 10:23 AM, Toshi Kani wrote: On Mon, 2015-06-22 at 09:21 -0700, Mike Travis wrote: On 6/19/2015 2:44 PM, Toshi Kani wrote: __ioremap_caller() calls region_is_ram() to look up the resource to check if a target range is RAM, which was added as an additinal check to improve

Re: [PATCH 2/2] UV: NMI: simple dump failover if kdump fails

2015-05-01 Thread Mike Travis
On 5/1/2015 12:27 AM, Ingo Molnar wrote: > > * George Beshers wrote: > >> UV: NMI: simple dump failover if kdump fails >> >> The ability to trigger a kdump using the system NMI command >> was added by >> >> commit 12ba6c990fab50fe568f3a

Re: [PATCH 2/2] UV: NMI: simple dump failover if kdump fails

2015-05-01 Thread Mike Travis
On 5/1/2015 12:27 AM, Ingo Molnar wrote: * George Beshers gbesh...@sgi.com wrote: UV: NMI: simple dump failover if kdump fails The ability to trigger a kdump using the system NMI command was added by commit 12ba6c990fab50fe568f3ad8715e81e356552428 Author: Mike Travis tra

[PATCH 2/3] X86, UV: Update UV APIC driver check

2015-04-09 Thread Mike Travis
. Signed-off-by: Mike Travis Acked-by: Hedi Berriche Acked-by: Dimitri Sivanich --- arch/x86/kernel/apic/x2apic_uv_x.c | 74 - 1 file changed, 49 insertions(+), 25 deletions(-) --- linux.orig/arch/x86/kernel/apic/x2apic_uv_x.c +++ linux/arch/x86/kernel/apic

[PATCH 1/3] X86, UV: Update UV APIC OEM check

2015-04-09 Thread Mike Travis
Optimize the first "SGI" OEM check to return faster if the system is not an SGI or UV system. Signed-off-by: Mike Travis Acked-by: Hedi Berriche Acked-by: Dimitri Sivanich --- arch/x86/kernel/apic/x2apic_uv_x.c |3 +++ 1 file changed, 3 insertions(+) --- linux.orig/arch/x86/k

[PATCH 0/3] UV: Update UV APIC checks for new systems.

2015-04-09 Thread Mike Travis
In preparation for new UV systems, update various APIC checks to prevent incompatible hardware/BIOS/kernel conflicts. -- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at

[PATCH 3/3] X86, UV: Update UV APIC HUB check

2015-04-09 Thread Mike Travis
Update check for UV2000/3000. Note when HUB is not recognized. Signed-off-by: Mike Travis Acked-by: Hedi Berriche Acked-by: Dimitri Sivanich --- arch/x86/kernel/apic/x2apic_uv_x.c | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) --- linux.orig/arch/x86/kernel/apic

[PATCH 1/3] X86, UV: Update UV APIC OEM check

2015-04-09 Thread Mike Travis
Optimize the first SGI OEM check to return faster if the system is not an SGI or UV system. Signed-off-by: Mike Travis tra...@sgi.com Acked-by: Hedi Berriche h...@sgi.com Acked-by: Dimitri Sivanich sivan...@sgi.com --- arch/x86/kernel/apic/x2apic_uv_x.c |3 +++ 1 file changed, 3 insertions

[PATCH 3/3] X86, UV: Update UV APIC HUB check

2015-04-09 Thread Mike Travis
Update check for UV2000/3000. Note when HUB is not recognized. Signed-off-by: Mike Travis tra...@sgi.com Acked-by: Hedi Berriche h...@sgi.com Acked-by: Dimitri Sivanich sivan...@sgi.com --- arch/x86/kernel/apic/x2apic_uv_x.c | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions

[PATCH 0/3] UV: Update UV APIC checks for new systems.

2015-04-09 Thread Mike Travis
In preparation for new UV systems, update various APIC checks to prevent incompatible hardware/BIOS/kernel conflicts. -- -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at

[PATCH 2/3] X86, UV: Update UV APIC driver check

2015-04-09 Thread Mike Travis
. Signed-off-by: Mike Travis tra...@sgi.com Acked-by: Hedi Berriche h...@sgi.com Acked-by: Dimitri Sivanich sivan...@sgi.com --- arch/x86/kernel/apic/x2apic_uv_x.c | 74 - 1 file changed, 49 insertions(+), 25 deletions(-) --- linux.orig/arch/x86/kernel/apic

Re: [PATCH 1/1] X86, UV: Update UV APIC driver check

2015-03-24 Thread Mike Travis
On 3/23/2015 11:32 PM, Ingo Molnar wrote: > > * Mike Travis wrote: > >> Fix a bug in the oem check function that determines if the system >> is a UV system and the BIOS is compatible with the kernel's UV apic >> driver. This prevents some possibly obscure pani

Re: [PATCH 1/1] X86, UV: Update UV APIC driver check

2015-03-24 Thread Mike Travis
On 3/23/2015 11:32 PM, Ingo Molnar wrote: * Mike Travis tra...@sgi.com wrote: Fix a bug in the oem check function that determines if the system is a UV system and the BIOS is compatible with the kernel's UV apic driver. This prevents some possibly obscure panics and guards the system

[PATCH 1/1] X86, UV: Update UV APIC driver check

2015-03-23 Thread Mike Travis
. Also add update for new UV3000 system. The first "OEM" check was also optimized to return faster if the system is not an SGI or UV system. Signed-off-by: Mike Travis Acked-by: Hedi Berriche Acked-by: Dimitri Sivanich --- arch/x86/kernel/apic/x2apic_uv_

[PATCH 1/1] X86, UV: Update UV APIC driver check

2015-03-23 Thread Mike Travis
. Also add update for new UV3000 system. The first OEM check was also optimized to return faster if the system is not an SGI or UV system. Signed-off-by: Mike Travis tra...@sgi.com Acked-by: Hedi Berriche h...@sgi.com Acked-by: Dimitri Sivanich sivan...@sgi.com --- arch/x86/kernel/apic/x2apic_uv_x.c

Re: [PATCH 0/2] x86: Speed up ioremap operations

2014-08-29 Thread Mike Travis
On 8/29/2014 1:16 PM, Andrew Morton wrote: > On Fri, 29 Aug 2014 14:53:28 -0500 Mike Travis wrote: > >> >> We have a large university system in the UK that is experiencing >> very long delays modprobing the driver for a specific I/O device. >> The delay i

[PATCH 0/2] x86: Speed up ioremap operations

2014-08-29 Thread Mike Travis
We have a large university system in the UK that is experiencing very long delays modprobing the driver for a specific I/O device. The delay is from 8-10 minutes per device and there are 31 devices in the system. This 4 to 5 hour delay in starting up those I/O devices is very much a burden on

[PATCH 2/2] x86: Use optimized ioresource lookup in ioremap function

2014-08-29 Thread Mike Travis
s aborted. Otherwise, the ioremap operation continues. Signed-off-by: Mike Travis Acked-by: Alex Thorlton Reviewed-by: Cliff Wickman Cc: --- v2: slight rearrangement of code v3: added Cc: stable --- arch/x86/mm/ioremap.c | 20 1 file changed, 16 insertions(+), 4 deletions(-) --- li

[PATCH 1/2] x86: Optimize resource lookups for ioremap

2014-08-29 Thread Mike Travis
result reflects if it was found or not (-1), and whether it is RAM (1) or not (0). This allows the caller to fallback to the previous page by page search if it was not found. Signed-off-by: Mike Travis Acked-by: Alex Thorlton Reviewed-by: Cliff Wickman Cc: --- v2: remove 'weak

[PATCH 0/2] x86: Speed up ioremap operations

2014-08-29 Thread Mike Travis
We have a large university system in the UK that is experiencing very long delays modprobing the driver for a specific I/O device. The delay is from 8-10 minutes per device and there are 31 devices in the system. This 4 to 5 hour delay in starting up those I/O devices is very much a burden on

[PATCH 1/2] x86: Optimize resource lookups for ioremap

2014-08-29 Thread Mike Travis
result reflects if it was found or not (-1), and whether it is RAM (1) or not (0). This allows the caller to fallback to the previous page by page search if it was not found. Signed-off-by: Mike Travis Acked-by: Alex Thorlton Reviewed-by: Cliff Wickman --- v2: remove 'weak' and EXPORT_SYMBOL_GPL

[PATCH 2/2] x86: Use optimized ioresource lookup in ioremap function

2014-08-29 Thread Mike Travis
s aborted. Otherwise, the ioremap operation continues. Signed-off-by: Mike Travis Acked-by: Alex Thorlton Reviewed-by: Cliff Wickman --- v2: slight rearrangement of code --- arch/x86/mm/ioremap.c | 20 1 file changed, 16 insertions(+), 4 deletions(-) --- linux.orig/arch/x86/mm/iore

[PATCH 2/2] x86: Use optimized ioresource lookup in ioremap function

2014-08-29 Thread Mike Travis
operation continues. Signed-off-by: Mike Travis tra...@sgi.com Acked-by: Alex Thorlton athorl...@sgi.com Reviewed-by: Cliff Wickman c...@sgi.com --- v2: slight rearrangement of code --- arch/x86/mm/ioremap.c | 20 1 file changed, 16 insertions(+), 4 deletions

[PATCH 0/2] x86: Speed up ioremap operations

2014-08-29 Thread Mike Travis
We have a large university system in the UK that is experiencing very long delays modprobing the driver for a specific I/O device. The delay is from 8-10 minutes per device and there are 31 devices in the system. This 4 to 5 hour delay in starting up those I/O devices is very much a burden on

[PATCH 1/2] x86: Optimize resource lookups for ioremap

2014-08-29 Thread Mike Travis
result reflects if it was found or not (-1), and whether it is RAM (1) or not (0). This allows the caller to fallback to the previous page by page search if it was not found. Signed-off-by: Mike Travis tra...@sgi.com Acked-by: Alex Thorlton athorl...@sgi.com Reviewed-by: Cliff Wickman c...@sgi.com

[PATCH 1/2] x86: Optimize resource lookups for ioremap

2014-08-29 Thread Mike Travis
result reflects if it was found or not (-1), and whether it is RAM (1) or not (0). This allows the caller to fallback to the previous page by page search if it was not found. Signed-off-by: Mike Travis tra...@sgi.com Acked-by: Alex Thorlton athorl...@sgi.com Reviewed-by: Cliff Wickman c...@sgi.com

[PATCH 2/2] x86: Use optimized ioresource lookup in ioremap function

2014-08-29 Thread Mike Travis
operation continues. Signed-off-by: Mike Travis tra...@sgi.com Acked-by: Alex Thorlton athorl...@sgi.com Reviewed-by: Cliff Wickman c...@sgi.com Cc: sta...@vger.kernel.org --- v2: slight rearrangement of code v3: added Cc: stable --- arch/x86/mm/ioremap.c | 20 1 file changed

[PATCH 0/2] x86: Speed up ioremap operations

2014-08-29 Thread Mike Travis
We have a large university system in the UK that is experiencing very long delays modprobing the driver for a specific I/O device. The delay is from 8-10 minutes per device and there are 31 devices in the system. This 4 to 5 hour delay in starting up those I/O devices is very much a burden on

Re: [PATCH 0/2] x86: Speed up ioremap operations

2014-08-29 Thread Mike Travis
On 8/29/2014 1:16 PM, Andrew Morton wrote: On Fri, 29 Aug 2014 14:53:28 -0500 Mike Travis tra...@sgi.com wrote: We have a large university system in the UK that is experiencing very long delays modprobing the driver for a specific I/O device. The delay is from 8-10 minutes per device

Re: [PATCH 1/2] x86: Optimize resource lookups for ioremap

2014-08-27 Thread Mike Travis
On 8/27/2014 4:37 PM, Andrew Morton wrote: > On Wed, 27 Aug 2014 16:25:24 -0700 Mike Travis wrote: > >>> >>> >>> >>> Doing strcmp("System RAM") is rather a hack. Is there nothing in >>> resource.flags which can be used? Or adde

Re: [PATCH 0/2] x86: Speed up ioremap operations

2014-08-27 Thread Mike Travis
On 8/27/2014 4:20 PM, Andrew Morton wrote: > On Wed, 27 Aug 2014 16:15:28 -0700 Mike Travis wrote: > >> >>> >>>> There are two causes for requiring a restart/reload of the drivers. >>>> First is periodic preventive maintenance (PM) and the se

Re: [PATCH 1/2] x86: Optimize resource lookups for ioremap

2014-08-27 Thread Mike Travis
On 8/27/2014 4:18 PM, Andrew Morton wrote: > On Wed, 27 Aug 2014 16:09:09 -0700 Mike Travis wrote: > >> >>>> >>>> ... >>>> >>>> --- linux.orig/kernel/resource.c >>>> +++ linux/kernel/resource.c >>>> @@ -494,6

Re: [PATCH 0/2] x86: Speed up ioremap operations

2014-08-27 Thread Mike Travis
On 8/27/2014 4:06 PM, Andrew Morton wrote: > On Wed, 27 Aug 2014 17:59:27 -0500 Mike Travis wrote: > >> >> We have a large university system in the UK that is experiencing >> very long delays modprobing the driver for a specific I/O device. >> The delay i

[PATCH 0/2] x86: Speed up ioremap operations

2014-08-27 Thread Mike Travis
We have a large university system in the UK that is experiencing very long delays modprobing the driver for a specific I/O device. The delay is from 8-10 minutes per device and there are 31 devices in the system. This 4 to 5 hour delay in starting up those I/O devices is very much a burden on

Re: [PATCH 1/2] x86: Optimize resource lookups for ioremap

2014-08-27 Thread Mike Travis
On 8/27/2014 4:05 PM, Andrew Morton wrote: > On Wed, 27 Aug 2014 17:59:28 -0500 Mike Travis wrote: > >> Since the ioremap operation is verifying that the specified address range >> is NOT RAM, it will search the entire ioresource list if the condition >> is true

[PATCH 1/2] x86: Optimize resource lookups for ioremap

2014-08-27 Thread Mike Travis
result reflects if it was found or not (-1), and whether it is RAM (1) or not (0). This allows the caller to fallback to the previous page by page search if it was not found. Signed-off-by: Mike Travis Acked-by: Alex Thorlton Reviewed-by: Cliff Wickman --- include/linux/mm.h |1 + kernel

[PATCH 2/2] x86: Use optimized ioresource lookup in ioremap function

2014-08-27 Thread Mike Travis
s aborted. Otherwise, the ioremap operation continues. Signed-off-by: Mike Travis Acked-by: Alex Thorlton Reviewed-by: Cliff Wickman --- arch/x86/mm/ioremap.c | 22 +- 1 file changed, 17 insertions(+), 5 deletions(-) --- linux.orig/arch/x86/mm/ioremap.c +++ linux/arch/x86/mm/iore

[PATCH 2/2] x86: Use optimized ioresource lookup in ioremap function

2014-08-27 Thread Mike Travis
operation continues. Signed-off-by: Mike Travis tra...@sgi.com Acked-by: Alex Thorlton athorl...@sgi.com Reviewed-by: Cliff Wickman c...@sgi.com --- arch/x86/mm/ioremap.c | 22 +- 1 file changed, 17 insertions(+), 5 deletions(-) --- linux.orig/arch/x86/mm/ioremap.c +++ linux

[PATCH 1/2] x86: Optimize resource lookups for ioremap

2014-08-27 Thread Mike Travis
result reflects if it was found or not (-1), and whether it is RAM (1) or not (0). This allows the caller to fallback to the previous page by page search if it was not found. Signed-off-by: Mike Travis tra...@sgi.com Acked-by: Alex Thorlton athorl...@sgi.com Reviewed-by: Cliff Wickman c...@sgi.com

Re: [PATCH 1/2] x86: Optimize resource lookups for ioremap

2014-08-27 Thread Mike Travis
On 8/27/2014 4:05 PM, Andrew Morton wrote: On Wed, 27 Aug 2014 17:59:28 -0500 Mike Travis tra...@sgi.com wrote: Since the ioremap operation is verifying that the specified address range is NOT RAM, it will search the entire ioresource list if the condition is true. To make matters worse

[PATCH 0/2] x86: Speed up ioremap operations

2014-08-27 Thread Mike Travis
We have a large university system in the UK that is experiencing very long delays modprobing the driver for a specific I/O device. The delay is from 8-10 minutes per device and there are 31 devices in the system. This 4 to 5 hour delay in starting up those I/O devices is very much a burden on

Re: [PATCH 0/2] x86: Speed up ioremap operations

2014-08-27 Thread Mike Travis
On 8/27/2014 4:06 PM, Andrew Morton wrote: On Wed, 27 Aug 2014 17:59:27 -0500 Mike Travis tra...@sgi.com wrote: We have a large university system in the UK that is experiencing very long delays modprobing the driver for a specific I/O device. The delay is from 8-10 minutes per device

Re: [PATCH 1/2] x86: Optimize resource lookups for ioremap

2014-08-27 Thread Mike Travis
On 8/27/2014 4:18 PM, Andrew Morton wrote: On Wed, 27 Aug 2014 16:09:09 -0700 Mike Travis tra...@sgi.com wrote: ... --- linux.orig/kernel/resource.c +++ linux/kernel/resource.c @@ -494,6 +494,43 @@ int __weak page_is_ram(unsigned long pfn } EXPORT_SYMBOL_GPL(page_is_ram

Re: [PATCH 0/2] x86: Speed up ioremap operations

2014-08-27 Thread Mike Travis
On 8/27/2014 4:20 PM, Andrew Morton wrote: On Wed, 27 Aug 2014 16:15:28 -0700 Mike Travis tra...@sgi.com wrote: There are two causes for requiring a restart/reload of the drivers. First is periodic preventive maintenance (PM) and the second is if any of the devices experience a fatal

Re: [PATCH 1/2] x86: Optimize resource lookups for ioremap

2014-08-27 Thread Mike Travis
On 8/27/2014 4:37 PM, Andrew Morton wrote: On Wed, 27 Aug 2014 16:25:24 -0700 Mike Travis tra...@sgi.com wrote: looks at the code Doing strcmp(System RAM) is rather a hack. Is there nothing in resource.flags which can be used? Or added otherwise? I agree except this mimics

Re: [PATCH 31/48] uv: Replace __get_cpu_var

2014-03-05 Thread Mike Travis
On 3/5/2014 1:57 PM, Christoph Lameter wrote: > The driver seems to use local64_t to define a single static instance of a > counter and then seems to think that it is safe to increment the counter > from multiple processors using local64_inc and friends. Common > misunderstanding and a reason

Re: [PATCH 31/48] uv: Replace __get_cpu_var

2014-03-05 Thread Mike Travis
On 3/5/2014 1:57 PM, Christoph Lameter wrote: The driver seems to use local64_t to define a single static instance of a counter and then seems to think that it is safe to increment the counter from multiple processors using local64_inc and friends. Common misunderstanding and a reason why I

[tip:core/urgent] kgdb/kdb: Fix no KDB config problem

2014-01-25 Thread tip-bot for Mike Travis
Commit-ID: fc8b13740b2978b34872650cc8e928392e3758aa Gitweb: http://git.kernel.org/tip/fc8b13740b2978b34872650cc8e928392e3758aa Author: Mike Travis AuthorDate: Tue, 14 Jan 2014 10:25:52 -0600 Committer: Ingo Molnar CommitDate: Sat, 25 Jan 2014 08:55:09 +0100 kgdb/kdb: Fix no KDB config

[tip:core/urgent] x86/uv/nmi: Fix Sparse warnings

2014-01-25 Thread tip-bot for Mike Travis
Commit-ID: 74c93f9d39b556ff9ac2340d568ad5caf8446c65 Gitweb: http://git.kernel.org/tip/74c93f9d39b556ff9ac2340d568ad5caf8446c65 Author: Mike Travis AuthorDate: Tue, 14 Jan 2014 10:25:53 -0600 Committer: Ingo Molnar CommitDate: Sat, 25 Jan 2014 08:55:10 +0100 x86/uv/nmi: Fix Sparse

[tip:core/urgent] x86/uv/nmi, kgdb/kdb: Fix UV NMI handler when KDB not configured

2014-01-25 Thread tip-bot for Mike Travis
Commit-ID: 64389998151214c71ba59ac893180744fd880052 Gitweb: http://git.kernel.org/tip/64389998151214c71ba59ac893180744fd880052 Author: Mike Travis AuthorDate: Tue, 14 Jan 2014 10:25:54 -0600 Committer: Ingo Molnar CommitDate: Sat, 25 Jan 2014 08:55:11 +0100 x86/uv/nmi, kgdb/kdb: Fix

[tip:core/urgent] x86/uv/nmi: Fix Sparse warnings

2014-01-25 Thread tip-bot for Mike Travis
Commit-ID: 74c93f9d39b556ff9ac2340d568ad5caf8446c65 Gitweb: http://git.kernel.org/tip/74c93f9d39b556ff9ac2340d568ad5caf8446c65 Author: Mike Travis tra...@sgi.com AuthorDate: Tue, 14 Jan 2014 10:25:53 -0600 Committer: Ingo Molnar mi...@kernel.org CommitDate: Sat, 25 Jan 2014 08:55:10

[tip:core/urgent] x86/uv/nmi, kgdb/kdb: Fix UV NMI handler when KDB not configured

2014-01-25 Thread tip-bot for Mike Travis
Commit-ID: 64389998151214c71ba59ac893180744fd880052 Gitweb: http://git.kernel.org/tip/64389998151214c71ba59ac893180744fd880052 Author: Mike Travis tra...@sgi.com AuthorDate: Tue, 14 Jan 2014 10:25:54 -0600 Committer: Ingo Molnar mi...@kernel.org CommitDate: Sat, 25 Jan 2014 08:55:11

[tip:core/urgent] kgdb/kdb: Fix no KDB config problem

2014-01-25 Thread tip-bot for Mike Travis
Commit-ID: fc8b13740b2978b34872650cc8e928392e3758aa Gitweb: http://git.kernel.org/tip/fc8b13740b2978b34872650cc8e928392e3758aa Author: Mike Travis tra...@sgi.com AuthorDate: Tue, 14 Jan 2014 10:25:52 -0600 Committer: Ingo Molnar mi...@kernel.org CommitDate: Sat, 25 Jan 2014 08:55:09

[PATCH 0/3] KGDB/KDB/UV: Fixups for UV to KGDB interface

2014-01-14 Thread Mike Travis
v2: Update patch 2/3 to include which problems fixed. Other minor changes detailed in the patches. * 1/3: Change the fix for 'KDB not defined' build problem by changing the kgdb_nmicallin() interface to include the KDB specific reason code. This removes the dependency on KDB in the debug

[PATCH 3/3] UV/NMI/KGDB/KDB: Fix UV NMI handler when KDB not configured v2

2014-01-14 Thread Mike Travis
' then an error message is displayed if KDB is not configured. Also note that if both KGDB and KDB are enabled, then the action of 'kgdb' or 'kdb' has no affect on which is used. See the KGDB documentation for further information. Signed-off-by: Mike Travis Reviewed-by: Hedi Berriche --- v2

[PATCH 2/3] UV/NMI: Fix tip/bot/kbuild test robot problems v2

2014-01-14 Thread Mike Travis
Make uv_register_nmi_notifier() and uv_handle_nmi_ping() static to address sparse warnings. Fix problem where uv_nmi_kexec_failed is unused when CONFIG_KEXEC is not defined. Signed-off-by: Mike Travis Reviewed-by: Hedi Berriche --- v2: update the description to include problems fixed

[PATCH 1/3] KGDB/KDB: Fix no KDB config problem v2.

2014-01-14 Thread Mike Travis
Some code added to the debug_core module had KDB dependencies that it shouldn't have. Move the KDB dependent REASON back to the caller to remove the dependency in the debug core code. Update the call from the UV NMI handler to conform to the new interface. Signed-off-by: Mike Travis Reviewed

Re: [PATCH 2/3] PATCH: UV/NMI Fix tip/bot/kbuild test robot problems

2014-01-14 Thread Mike Travis
On 1/14/2014 3:00 AM, Peter Zijlstra wrote: > On Mon, Jan 13, 2014 at 10:24:09PM -0600, Mike Travis wrote: >> Fix some problems found by the kbuild test robot. >> >> Signed-off-by: Mike Travis >> Reviewed-by: Hedi Berriche > > In general it is best to actu

Re: [PATCH 2/3] PATCH: UV/NMI Fix tip/bot/kbuild test robot problems

2014-01-14 Thread Mike Travis
On 1/14/2014 3:00 AM, Peter Zijlstra wrote: On Mon, Jan 13, 2014 at 10:24:09PM -0600, Mike Travis wrote: Fix some problems found by the kbuild test robot. Signed-off-by: Mike Travis tra...@sgi.com Reviewed-by: Hedi Berriche h...@sgi.com In general it is best to actually mention

[PATCH 1/3] KGDB/KDB: Fix no KDB config problem v2.

2014-01-14 Thread Mike Travis
Some code added to the debug_core module had KDB dependencies that it shouldn't have. Move the KDB dependent REASON back to the caller to remove the dependency in the debug core code. Update the call from the UV NMI handler to conform to the new interface. Signed-off-by: Mike Travis tra

[PATCH 3/3] UV/NMI/KGDB/KDB: Fix UV NMI handler when KDB not configured v2

2014-01-14 Thread Mike Travis
' then an error message is displayed if KDB is not configured. Also note that if both KGDB and KDB are enabled, then the action of 'kgdb' or 'kdb' has no affect on which is used. See the KGDB documentation for further information. Signed-off-by: Mike Travis tra...@sgi.com Reviewed-by: Hedi

[PATCH 2/3] UV/NMI: Fix tip/bot/kbuild test robot problems v2

2014-01-14 Thread Mike Travis
Make uv_register_nmi_notifier() and uv_handle_nmi_ping() static to address sparse warnings. Fix problem where uv_nmi_kexec_failed is unused when CONFIG_KEXEC is not defined. Signed-off-by: Mike Travis tra...@sgi.com Reviewed-by: Hedi Berriche h...@sgi.com --- v2: update the description

[PATCH 0/3] KGDB/KDB/UV: Fixups for UV to KGDB interface

2014-01-14 Thread Mike Travis
v2: Update patch 2/3 to include which problems fixed. Other minor changes detailed in the patches. * 1/3: Change the fix for 'KDB not defined' build problem by changing the kgdb_nmicallin() interface to include the KDB specific reason code. This removes the dependency on KDB in the debug

[PATCH 0/3] : KGDB/KDB/UV updates.

2014-01-13 Thread Mike Travis
* Change the fix for 'KDB not defined' build problem by changing the kgdb_nmicallin() interface to include the KDB specific reason code. This removes the dependency on KDB in the debug core. It also requires a change to the kgdb call in from UV NMI handler to avoid a compile error. *

[PATCH 2/3] PATCH: UV/NMI Fix tip/bot/kbuild test robot problems

2014-01-13 Thread Mike Travis
Fix some problems found by the kbuild test robot. Signed-off-by: Mike Travis Reviewed-by: Hedi Berriche --- arch/x86/include/asm/uv/uv.h |2 -- arch/x86/kernel/apic/x2apic_uv_x.c |1 - arch/x86/platform/uv/uv_nmi.c |9 - 3 files changed, 4 insertions(+), 8

[PATCH 3/3] PATCH: UV/NMI/KGDB/KDB Fix UV NMI handler when KDB not configed.

2014-01-13 Thread Mike Travis
' then an error message is displayed if KDB is not configured. Note that if both KGDB and KDB are enabled, then the action of 'kgdb' or 'kdb' has no affect on which is used. See the KGDB documention for further information. Signed-off-by: Mike Travis Reviewed-by: Hedi Berriche --- arch/x86

[PATCH 1/3] PATCH: KGDB/KDB Fix no KDB config problem.

2014-01-13 Thread Mike Travis
Some code added to the debug_core module had KDB dependencies that it shouldn't have. Move the KDB dependent REASON back to the caller to remove the dependency in the debug core code. Signed-off-by: Mike Travis Reviewed-by: Hedi Berriche --- arch/x86/platform/uv/uv_nmi.c |2 +- include

Re: [PATCH 0/3] : KGDB/KDB/UV updates.

2014-01-13 Thread Mike Travis
On 10/19/2013 1:56 AM, Ingo Molnar wrote: > > * Mike Travis wrote: > >> >> * Change the fix for KDB not defined build problem by changing >> the kgdb_nmicallin() interface to include the KDB specific >> reason code. This removes a dependency on KDB in th

Re: [PATCH 0/3] : KGDB/KDB/UV updates.

2014-01-13 Thread Mike Travis
On 10/19/2013 1:56 AM, Ingo Molnar wrote: * Mike Travis tra...@sgi.com wrote: * Change the fix for KDB not defined build problem by changing the kgdb_nmicallin() interface to include the KDB specific reason code. This removes a dependency on KDB in the debug core. Also requires

[PATCH 3/3] PATCH: UV/NMI/KGDB/KDB Fix UV NMI handler when KDB not configed.

2014-01-13 Thread Mike Travis
' then an error message is displayed if KDB is not configured. Note that if both KGDB and KDB are enabled, then the action of 'kgdb' or 'kdb' has no affect on which is used. See the KGDB documention for further information. Signed-off-by: Mike Travis tra...@sgi.com Reviewed-by: Hedi Berriche h

[PATCH 1/3] PATCH: KGDB/KDB Fix no KDB config problem.

2014-01-13 Thread Mike Travis
Some code added to the debug_core module had KDB dependencies that it shouldn't have. Move the KDB dependent REASON back to the caller to remove the dependency in the debug core code. Signed-off-by: Mike Travis tra...@sgi.com Reviewed-by: Hedi Berriche h...@sgi.com --- arch/x86/platform/uv

[PATCH 0/3] : KGDB/KDB/UV updates.

2014-01-13 Thread Mike Travis
* Change the fix for 'KDB not defined' build problem by changing the kgdb_nmicallin() interface to include the KDB specific reason code. This removes the dependency on KDB in the debug core. It also requires a change to the kgdb call in from UV NMI handler to avoid a compile error. *

[PATCH 2/3] PATCH: UV/NMI Fix tip/bot/kbuild test robot problems

2014-01-13 Thread Mike Travis
Fix some problems found by the kbuild test robot. Signed-off-by: Mike Travis tra...@sgi.com Reviewed-by: Hedi Berriche h...@sgi.com --- arch/x86/include/asm/uv/uv.h |2 -- arch/x86/kernel/apic/x2apic_uv_x.c |1 - arch/x86/platform/uv/uv_nmi.c |9 - 3 files changed

Re: [tip:x86/uv] x86/UV: Add uvtrace support

2013-11-11 Thread Mike Travis
On 11/11/2013 10:53 AM, Ingo Molnar wrote: > > * tip-bot for Mike Travis wrote: > >> Commit-ID: 8eba18428ac926f436064ac281e76d36d51bd631 >> Gitweb: >> http://git.kernel.org/tip/8eba18428ac926f436064ac281e76d36d51bd631 >> Author: Mike Travis >>

<    2   3   4   5   6   7   8   9   10   11   >