RESEND [PATCH] - SN: Add support for CPU disable

2007-08-22 Thread John Keller
Add additional support for CPU disable on SN platforms. Correctly setup the smp_affinity mask for I/O error IRQs. Restrict the use of the feature to Altix 4000 and 450 systems running with a CPU disable capable PROM, and do not allow disabling of CPU 0. Signed-off-by: John Keller <[EM

RESEND [PATCH] - SN: Add support for CPU disable

2007-08-01 Thread John Keller
Add additional support for CPU disable on SN platforms. Correctly setup the smp_affinity mask for I/O error IRQs. Restrict the use of the feature to Altix 4000 and 450 systems running with a CPU disable capable PROM, and do not allow disabling of CPU 0. Signed-off-by: John Keller <[EM

[PATCH] - SN: Add support for CPU disable

2007-07-31 Thread John Keller
Add additional support for CPU disable on SN platforms. Correctly setup the smp_affinity mask for I/O error IRQs. Restrict the use of the feature to Altix 4000 and 450 systems running with a CPU disable capable PROM, and do not allow disabling of CPU 0. Signed-off-by: John Keller <[EM

[PATCH] - x86_64-add-ioapic-nmi-support-fix-3

2007-06-30 Thread John Keller
> > [adding Andi Kleen] > > John Keller wrote: > > Place all the IOACPI NMI support code under CONFIG_ACPI > > to clear up build errors with certain configs. > > > > Signed-off-by: John Keller <[EMAIL PROTECTED]> > > --- > > Is there som

[PATCH] - x86_64-add-ioapic-nmi-support-fix-3

2007-06-29 Thread John Keller
Place all the IOACPI NMI support code under CONFIG_ACPI to clear up build errors with certain configs. Signed-off-by: John Keller <[EMAIL PROTECTED]> --- arch/x86_64/kernel/io_apic.c | 77 + 1 file changed, 40 insertions(+), 37 deletions(-) Index:

RESEND: [PATCH] - SN: Correct ROM resource length for BIOS copy

2007-06-29 Thread John Keller
On SN systems, when setting the IORESOURCE_ROM_BIOS_COPY resource flag, the resource length should be set to the actual size of the ROM image so that a call to pci_map_rom() returns the correct size. Signed-off-by: John Keller <[EMAIL PROTECTED]> --- Resend #1 - correct format of block c

[PATCH] - SN: Correct ROM resource length for BIOS copy

2007-06-29 Thread John Keller
On SN systems, when setting the IORESOURCE_ROM_BIOS_COPY resource flag, the resource length should be set to the actual size of the ROM image so that a call to pci_map_rom() returns the correct size. Signed-off-by: John Keller <[EMAIL PROTECTED]> --- To avoid duplicate code, the imag

Re: 2.6.22-rc6-mm1: io_apic build error

2007-06-28 Thread John Keller
> > On Thu, 28 Jun 2007 13:09:21 -0700 > Randy Dunlap <[EMAIL PROTECTED]> wrote: > > > On Thu, 28 Jun 2007 03:43:21 -0700 Andrew Morton wrote: > > > > > > > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.22-rc6/2.6.22-rc6-mm1/ > > > > > > on x86_64, with CONFIG_PCI disabl

Re: [PATCH] - Add IOAPIC NMI support on x86_64

2007-06-19 Thread John Keller
> > > In our specific case, a loadable driver will register to process > > the NMI generated by a timer device on the IOAPIC pin. The driver > > will need to unmask/mask the NMI interrupt at init/exit time. > > > > The timer NMI interrupt will be used to synchronize cluster nodes. > > We nor

Re: [PATCH] - Add IOAPIC NMI support on x86_64

2007-06-19 Thread John Keller
> > John Keller <[EMAIL PROTECTED]> writes: > > > Add support for IOAPIC NMI interrupts on x86_64. > > > > Changes include the following: > > > > - Obtain the NMI IOAPIC info via an ACPI NMI SRC structure that is > > part of the MADT, and p

[PATCH] - Add IOAPIC NMI support on x86_64

2007-06-18 Thread John Keller
irq_desc[] and irq_2_pin[] entries for the NMI interrupt irq, which will be used by the generic mask/unmask routines. This will allow a driver to enable/disable the NMI interrupt via enable/disable_irq(). Signed-off-by: John Keller <[EMAIL PROTECTED]> --- arch/i386/kernel/acpi/

Re: [PATCH Resend] - SN: validate smp_affinity mask on intr

2007-05-08 Thread John Keller
> > On Tue, 8 May 2007 13:14:26 -0700 > "Luck, Tony" <[EMAIL PROTECTED]> wrote: > > > > It had a dopey little bug: > > > > > > -#define is_affinity_mask_valid() 1 > > > +#define is_affinity_mask_valid(val) 1 > > > > That would fix warnings on non-ia64 systems (which is > > a step in the right di

[PATCH Resend] - SN: validate smp_affinity mask on intr redirect

2007-05-08 Thread John Keller
On SN, only allow one bit to be set in the smp_affinty mask when redirecting an interrupt. Currently setting multiple bits is allowed, but only the first bit is used in determining the CPU to redirect to. This has caused confusion among some customers. Signed-off-by: John Keller <[EMAIL PROTEC

Re: [PATCH] - SN: validate smp_affinity mask on intr redirect

2007-05-03 Thread John Keller
I'll rework as per your suggestions. Thanks, John > > On Thu, 03 May 2007 07:56:02 -0500 > John Keller <[EMAIL PROTECTED]> wrote: > > > On SN, only allow one bit to be set in the smp_affinty mask > > when redirecting an interrupt. Currently setting multipl

[PATCH] - SN: validate smp_affinity mask on intr redirect

2007-05-03 Thread John Keller
On SN, only allow one bit to be set in the smp_affinty mask when redirecting an interrupt. Currently setting multiple bits is allowed, but only the first bit is used in determining the CPU to redirect to. This has caused confusion among some customers. Signed-off-by: John Keller <[EMAIL PROTEC

[PATCH] - Altix: ioremap vga_console_iobase

2007-03-20 Thread John Keller
ersion was happening in sn_scan_pcdp(), but not in setup_vga_console(). Signed-off-by: John Keller <[EMAIL PROTECTED]> --- arch/ia64/sn/kernel/setup.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Index: linux-2.6/arch/ia64/s

Re: [PATCH] Fix wrong /proc/iomem on SGI Altix

2007-03-15 Thread John Keller
Looks good. Feel free to add. Acked-by: John Keller <[EMAIL PROTECTED]> > > In sn_io_slot_fixup(), the parent is re-set from the bus to > io(port|mem)_resource because the address is changed in a way that it's not > child of the bus any more. > > However, onl

Re: [PATCH 1/1] - Altix: reinitialize acpi tables

2007-03-01 Thread John Keller
still be required for a kexec/kdump boot. John > > so will the 1st acpi_table_init() always fail -- even > on future machines? > > -Len > > On Wednesday 28 February 2007 18:47, John Keller wrote: > > To provide compatibilty with SN kernels that do and do not >

[PATCH 1/1] - Altix: reinitialize acpi tables

2007-02-28 Thread John Keller
seen, and the kernel will crash on boot. Because of issues with kexec support, we are not able to create the tables prior to acpi_table_init(). As a result, we are making a second call to acpi_table_init() to process the rebuilt DSDT and SSDTs. Signed-off-by: John Keller <[EMAIL PROTEC

[PATCH 1/1] - platform_kernel_launch_event is noop on generic kernel

2007-02-28 Thread John Keller
Add a missing #define for the platform_kernel_launch_event. Without this fix, a call to platform_kernel_launch_event() becomes a noop on generic kernels. SN systems require this fix to successfully kdump/kexec from certain hardware errors. Signed-off-by: John Keller <[EMAIL PROTECTED]> ---

[PATCH 1/1] - Altix: cannot register acpi bus driver before bus scan

2007-02-23 Thread John Keller
via calls to acpi_get_devices(). Signed-off-by: John Keller <[EMAIL PROTECTED]> --- arch/ia64/sn/kernel/io_acpi_init.c | 44 +-- 1 file changed, 22 insertions(+), 22 deletions(-) Index: release/arch/ia64/sn/kernel/io_acpi_

[PATCH 1/1] - acpi_boot_init() making bad check on return code

2007-02-16 Thread John Keller
acpi_boot_init() is making a bad check on the return status from acpi_table_parse(). acpi_table_parse() now returns zero on success, one on failure. Signed-off-by: Aaron Young <[EMAIL PROTECTED]> --- Index: release/arch/ia64/kernel/acpi.c ==

Re: [PATCH 1/1] - acpi_unload_table_id() always returns error

2007-02-16 Thread John Keller
under any license (GPL or non-GPL) consistent with the project. John > > Thanks for the fix, John. > Do you grant Intel permission to apply it to the upstream ACPICA tree (with > its non-GPL license)? > > -Len > > On Thursday 15 February 2007

[PATCH 1/1] - acpi_unload_table_id() always returns error

2007-02-15 Thread John Keller
acpi_unload_table_id() is always returning an error status. Also, once the matching table is found, don't bother looking for another match. Signed-off-by: John Keller <[EMAIL PROTECTED]> --- Index: release/drivers/acpi/table

[PATCH 1/1] - Altix: more ACPI PRT support

2007-02-02 Thread John Keller
The SN Altix platform does not conform to the IOSAPIC IRQ routing model. Add code in acpi_unregister_gsi() to check if (acpi_irq_model == ACPI_IRQ_MODEL_PLATFORM) and return. Signed-off-by: John Keller <[EMAIL PROTECTED]> --- Due to an oversight, this code was not added previously when s

[PATCH 1/1] - increase acpi owner_id max

2007-01-26 Thread John Keller
owner id. Signed-off-by: John Keller <[EMAIL PROTECTED]> --- drivers/acpi/utilities/utmisc.c |6 +++--- include/acpi/acconfig.h |4 ++-- include/acpi/aclocal.h |4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) Index: linux/drivers/acpi/utilities/ut

[PATCH 1/1] - Altix: ACPI _PRT support

2006-12-22 Thread John Keller
acpi_register_gsi() to avoid the iosapic code path. Signed-off-by: John Keller <[EMAIL PROTECTED]> --- To avoid future regression/backward compatibilty issues when _PRT support is added to our PROM, we'd like to see this pushed into 2.6.20, if at all possible. arch/ia64/kernel/acpi.c

Re: [PATCH 3/3] - Add support for acpi_load_table/acpi_unload_table_id

2006-11-30 Thread John Keller
This patch makes acpi_load_table() available for use by removing it from the #ifdef ACPI_FUTURE_USAGE. It also adds a new routine used to unload an ACPI table of a given type and "id" - acpi_unload_table_id(). The implementation of this new routine was almost a direct copy of existing routi

Re: [PATCH 2/3] - Altix: Add ACPI SSDT PCI device support (hotplug)

2006-11-30 Thread John Keller
Support for dynamic loading and unloading of ACPI SSDT tables upon slot hotplugs and unplugs. On SN platforms, we now represent every populated root bus slot with a single ACPI SSDT table containing info for every device and PPB attached to the slot. These SSDTs are generated by the prom at