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
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
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
via-maciisi.c
via-pmu68k.c
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
windfarm_cpufreq_clamp.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
windfarm_lm75_sensor.c
windfarm_max6690_sensor.c
windfarm_pid.c
windfarm_pid.h
windfarm_pm81.c
windfarm_pm91.c
windfarm_pm112.c
windfarm_smu_controls.c
windfarm_smu_sat.c
windfarm_smu_sensors.c
windfarm.h