android_kernel_xiaomi_sm8350/drivers/macintosh
Benjamin Herrenschmidt 0ebfff1491 [POWERPC] Add new interrupt mapping core and change platforms to use it
This adds the new irq remapper core and removes the old one.  Because
there are some fundamental conflicts with the old code, like the value
of NO_IRQ which I'm now setting to 0 (as per discussions with Linus),
etc..., this commit also changes the relevant platform and driver code
over to use the new remapper (so as not to cause difficulties later
in bisecting).

This patch removes the old pre-parsing of the open firmware interrupt
tree along with all the bogus assumptions it made to try to renumber
interrupts according to the platform. This is all to be handled by the
new code now.

For the pSeries XICS interrupt controller, a single remapper host is
created for the whole machine regardless of how many interrupt
presentation and source controllers are found, and it's set to match
any device node that isn't a 8259.  That works fine on pSeries and
avoids having to deal with some of the complexities of split source
controllers vs. presentation controllers in the pSeries device trees.

The powerpc i8259 PIC driver now always requests the legacy interrupt
range. It also has the feature of being able to match any device node
(including NULL) if passed no device node as an input. That will help
porting over platforms with broken device-trees like Pegasos who don't
have a proper interrupt tree.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2006-07-03 21:36:01 +10:00
..
adb-iop.c [PATCH] m68k: NULL noise removal 2006-01-12 09:09:04 -08:00
adb.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
adbhid.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
ans-lcd.c [PATCH] powerpc: Remove sections use from ppc64 and drivers 2005-09-19 09:38:49 +10:00
apm_emu.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
Kconfig [POWERPC] Make sure we select CONFIG_NEW_LEDS if ADB_PMU_LED is set 2006-06-28 15:19:04 +10:00
mac_hid.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
macio_asic.c [POWERPC] Add new interrupt mapping core and change platforms to use it 2006-07-03 21:36:01 +10:00
macio_sysfs.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
macio-adb.c [POWERPC] Add new interrupt mapping core and change platforms to use it 2006-07-03 21:36:01 +10:00
Makefile [POWERPC] Convert powermac ide blink to new led infrastructure 2006-06-28 11:51:12 +10:00
mediabay.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
nvram.c
smu.c [POWERPC] Add new interrupt mapping core and change platforms to use it 2006-07-03 21:36:01 +10:00
therm_adt746x.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
therm_pm72.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
therm_pm72.h typo fixes: mecanism -> mechanism 2006-06-30 18:20:44 +02:00
therm_windtunnel.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
via-cuda.c [POWERPC] Add new interrupt mapping core and change platforms to use it 2006-07-03 21:36:01 +10:00
via-macii.c [PATCH] m68k: NULL noise removal 2006-01-12 09:09:04 -08:00
via-maciisi.c [PATCH] m68k: NULL noise removal 2006-01-12 09:09:04 -08:00
via-pmu68k.c [PATCH] Notifier chain update: API changes 2006-03-27 08:44:50 -08:00
via-pmu-backlight.c [PATCH] Rewritten backlight infrastructure for portable Apple computers 2006-06-25 10:00:59 -07:00
via-pmu-event.c Input: via-pmu - add input device support 2006-06-26 01:49:55 -04:00
via-pmu-event.h Input: via-pmu - add input device support 2006-06-26 01:49:55 -04:00
via-pmu-led.c [POWERPC] Convert powermac ide blink to new led infrastructure 2006-06-28 11:51:12 +10:00
via-pmu.c [POWERPC] Add new interrupt mapping core and change platforms to use it 2006-07-03 21:36:01 +10:00
windfarm_core.c [PATCH] Notifier chain update: API changes 2006-03-27 08:44:50 -08:00
windfarm_cpufreq_clamp.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
windfarm_lm75_sensor.c [PATCH] macintosh: cleanup the use of i2c headers 2006-03-23 14:40:24 +11:00
windfarm_max6690_sensor.c [PATCH] macintosh: cleanup the use of i2c headers 2006-03-23 14:40:24 +11:00
windfarm_pid.c [PATCH] windfarm license fix 2006-03-06 18:40:45 -08:00
windfarm_pid.h [PATCH] powerpc: Thermal control for dual core G5s 2006-02-07 22:05:14 -08:00
windfarm_pm81.c [PATCH] powerpc: Thermal control for dual core G5s 2006-02-07 22:05:14 -08:00
windfarm_pm91.c [PATCH] powerpc: Thermal control for dual core G5s 2006-02-07 22:05:14 -08:00
windfarm_pm112.c [PATCH] powerpc: Fix windfarm_pm112 not starting all control loops 2006-03-03 21:44:06 +11:00
windfarm_smu_controls.c [PATCH] powerpc: Thermal control for dual core G5s 2006-02-07 22:05:14 -08:00
windfarm_smu_sat.c [PATCH] macintosh: cleanup the use of i2c headers 2006-03-23 14:40:24 +11:00
windfarm_smu_sensors.c [PATCH] powerpc: Thermal control for dual core G5s 2006-02-07 22:05:14 -08:00
windfarm.h [PATCH] powerpc: Thermal control for dual core G5s 2006-02-07 22:05:14 -08:00