ath: fix macros coding style issue in regd.c
On Tue, 2010-03-30 at 00:12 +0100, Luis de Bethencourt wrote: This is a patch to the ath/regd.c file that fixes up three warnings about macros found by the checkpatch.pl tool, these said that complex values should be enclosed in parenthesis. Hi Luis. Checkpatch isn't always correct. Please make sure t... 29 Mar 2010 20:19
[PATCH 04/14] x86 acpi/irq: Fix acpi_sci_ioapic_setup so it has both bus_irq and gsi
From: Eric W. Biederman <ebiederm(a)xmission.com> Currently acpi_sci_ioapic_setup calls mp_override_legacy_irq with bus_irq == gsi, which is wrong if we are comming from an override Instead pass the bus_irq into acpi_sci_ioapic_setup. This fix was inspired by a similar fix from: Yinghai Lu <yinghai(a)kernel.org> ... 29 Mar 2010 20:19
[PATCH 03/14] x86 acpi/irq: pci device dev->irq is an isa irq not a gsi
From: Eric W. Biederman <ebiederm(a)xmission.com> Strictly speaking on x86 (where acpi is used) dev->irq must be a dual i8259 irq input aka an isa irq. Therefore we should translate that isa irq into a gsi before passing it to a function that takes a gsi. Signed-off-by: Eric W. Biederman <ebiederm(a)xmission.com>... 29 Mar 2010 20:19
[PATCH 07/14] x86 ioapic: Fix the types of gsi values
From: Eric W. Biederman <ebiederm(a)xmission.com> This patches fixes the types of gsi_base and gsi_end values in struct mp_ioapic_gsi, and the gsi parameter of mp_find_ioapic and mp_find_ioapic_pin A gsi is cannonically a u32, not an int. Signed-off-by: Eric W. Biederman <ebiederm(a)xmission.com> --- arch/x86... 29 Mar 2010 20:19
[PATCH 14/14] x86 irq: Kill io_apic_renumber_irq
From: Eric W. Biederman <ebiederm(a)xmission.com> Now that the generic irq layer is performing the exact same remapping as io_apic_renumber_irq we can kill this weird es7000 specific function. Signed-off-by: Eric W. Biederman <ebiederm(a)xmission.com> --- arch/x86/include/asm/io_apic.h | 1 - arch/x86/kern... 29 Mar 2010 20:19
[PATCH 01/14] x86 acpi/irq: Introduce apci_isa_irq_to_gsi
From: Eric W. Biederman <ebiederm(a)xmission.com> There are a number of cases where the current code makes the assumption that isa irqs identity map to the first 16 acpi global system intereupts. In most instances that assumption is correct as that is the required behaviour in dual i8259 mode and the default behavi... 29 Mar 2010 20:19
[PATCH 12/14] x86 ioapic: Simplify probe_nr_irqs_gsi.
From: Eric W. Biederman <ebiederm(a)xmission.com> Use the global gsi_end value now that all ioapics have valid gsi numbers instead of a combination of acpi_probe_gsi and walking all of the ioapics and couting their number of entries by hand if acpi_probe_gsi gave us an answer we did not like. This fixes a small... 29 Mar 2010 20:19
[PATCH 11/14] x86 ioapic: Optimize pin_2_irq
From: Eric W. Biederman <ebiederm(a)xmission.com> Now that all ioapics have valid gsi_base values use this to accellerate pin_2_irq. In the case of acpi this also ensures that pin_2_irq will compute the same irq value for an ioapic pin as acpi will. Signed-off-by: Eric W. Biederman <ebiederm(a)xmission.com> --- ... 29 Mar 2010 20:19
[PATCH 02/14] x86 acpi/irq: Teach acpi_get_override_irq to take a gsi not an isa_irq
From: Eric W. Biederman <ebiederm(a)xmission.com> In perverse acpi implementations the isa irqs are not identity mapped to the first 16 gsi. Furthermore at least the extended interrupt resource capability may return gsi's and not isa irqs. So since what we get from acpi is a gsi teach acpi_get_overrride_irq to o... 29 Mar 2010 20:19
[PATCH 08/14] x86 ioapic: Teach mp_register_ioapic to compute a global gsi_end
From: Eric W. Biederman <ebiederm(a)xmission.com> Add the global variable gsi_end and teach mp_register_ioapic to keep it uptodate as we add more ioapics into the system. ioapics can only be added early in boot so the code that runs later can treat gsi_end as a constant. Remove the have hacks in sfi.c to secon... 29 Mar 2010 20:19