• Huacai Chen's avatar
    MIPS: Loongson-3: Fix BRIDGE irq delivery problem · 4353f89b
    Huacai Chen authored
    [ Upstream commit 360fe725f8849aaddc53475fef5d4a0c439b05ae ]
    
    After commit e509bd7d ("genirq: Allow migration of chained
    interrupts by installing default action") Loongson-3 fails at here:
    
    setup_irq(LOONGSON_HT1_IRQ, &cascade_irqaction);
    
    This is because both chained_action and cascade_irqaction don't have
    IRQF_SHARED flag. This will cause Loongson-3 resume fails because HPET
    timer interrupt can't be delivered during S3. So we set the irqchip of
    the chained irq to loongson_irq_chip which doesn't disable the chained
    irq in CP0.Status.
    
    Cc: stable@vger.kernel.org
    Signed-off-by: default avatarHuacai Chen <chenhc@lemote.com>
    Signed-off-by: default avatarPaul Burton <paul.burton@mips.com>
    Patchwork: https://patchwork.linux-mips.org/patch/20434/
    Cc: Ralf Baechle <ralf@linux-mips.org>
    Cc: James Hogan <jhogan@kernel.org>
    Cc: linux-mips@linux-mips.org
    Cc: Fuxin Zhang <zhangfx@lemote.com>
    Cc: Zhangjin Wu <wuzhangjin@gmail.com>
    Cc: Huacai Chen <chenhuacai@gmail.com>
    Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
    4353f89b
Name
Last commit
Last update
..
dec Loading commit data...
emma Loading commit data...
fw Loading commit data...
ip32 Loading commit data...
lasat Loading commit data...
mach-ar7 Loading commit data...
mach-ath25 Loading commit data...
mach-ath79 Loading commit data...
mach-au1x00 Loading commit data...
mach-bcm47xx Loading commit data...
mach-bcm63xx Loading commit data...
mach-bmips Loading commit data...
mach-cavium-octeon Loading commit data...
mach-cobalt Loading commit data...
mach-db1x00 Loading commit data...
mach-dec Loading commit data...
mach-emma2rh Loading commit data...
mach-generic Loading commit data...
mach-ip22 Loading commit data...
mach-ip27 Loading commit data...
mach-ip28 Loading commit data...
mach-ip32 Loading commit data...
mach-jazz Loading commit data...
mach-jz4740 Loading commit data...
mach-lantiq Loading commit data...
mach-lasat Loading commit data...
mach-loongson32 Loading commit data...
mach-loongson64 Loading commit data...
mach-malta Loading commit data...
mach-netlogic Loading commit data...
mach-paravirt Loading commit data...
mach-pistachio Loading commit data...
mach-pmcs-msp71xx Loading commit data...
mach-pnx833x Loading commit data...
mach-ralink Loading commit data...
mach-rc32434 Loading commit data...
mach-rm Loading commit data...
mach-sead3 Loading commit data...
mach-sibyte Loading commit data...
mach-tx39xx Loading commit data...
mach-tx49xx Loading commit data...
mach-vr41xx Loading commit data...
mach-xilfpga Loading commit data...
mips-boards Loading commit data...
netlogic Loading commit data...
octeon Loading commit data...
pci Loading commit data...
sgi Loading commit data...
sibyte Loading commit data...
sn Loading commit data...
txx9 Loading commit data...
vr41xx Loading commit data...
xtalk Loading commit data...
Kbuild Loading commit data...
abi.h Loading commit data...
addrspace.h Loading commit data...
amon.h Loading commit data...
arch_hweight.h Loading commit data...
asm-eva.h Loading commit data...
asm-offsets.h Loading commit data...
asm.h Loading commit data...
asmmacro-32.h Loading commit data...
asmmacro-64.h Loading commit data...
asmmacro.h Loading commit data...
atomic.h Loading commit data...
barrier.h Loading commit data...
bcache.h Loading commit data...
bitops.h Loading commit data...
bmips-spaces.h Loading commit data...
bmips.h Loading commit data...
bootinfo.h Loading commit data...
branch.h Loading commit data...
break.h Loading commit data...
bug.h Loading commit data...
bugs.h Loading commit data...
cache.h Loading commit data...
cacheflush.h Loading commit data...
cacheops.h Loading commit data...
cdmm.h Loading commit data...
cevt-r4k.h Loading commit data...
checksum.h Loading commit data...
clkdev.h Loading commit data...
clock.h Loading commit data...
clocksource.h Loading commit data...
cmp.h Loading commit data...
cmpxchg.h Loading commit data...
compat-signal.h Loading commit data...
compat.h Loading commit data...
compiler.h Loading commit data...
cop2.h Loading commit data...
cpu-features.h Loading commit data...
cpu-info.h Loading commit data...
cpu-type.h Loading commit data...
cpu.h Loading commit data...
debug.h Loading commit data...
delay.h Loading commit data...
device.h Loading commit data...
div64.h Loading commit data...
dma-coherence.h Loading commit data...
dma-mapping.h Loading commit data...
dma.h Loading commit data...
ds1287.h Loading commit data...
dsp.h Loading commit data...
edac.h Loading commit data...
elf.h Loading commit data...
errno.h Loading commit data...
eva.h Loading commit data...
exec.h Loading commit data...
fb.h Loading commit data...
fixmap.h Loading commit data...
floppy.h Loading commit data...
fpregdef.h Loading commit data...
fpu.h Loading commit data...
fpu_emulator.h Loading commit data...
ftrace.h Loading commit data...
futex.h Loading commit data...
gio_device.h Loading commit data...
gt64120.h Loading commit data...
hardirq.h Loading commit data...
hazards.h Loading commit data...
highmem.h Loading commit data...
hpet.h Loading commit data...
hugetlb.h Loading commit data...
hw_irq.h Loading commit data...
i8259.h Loading commit data...
ide.h Loading commit data...
idle.h Loading commit data...
inst.h Loading commit data...
io.h Loading commit data...
irq.h Loading commit data...
irq_cpu.h Loading commit data...
irq_gt641xx.h Loading commit data...
irq_regs.h Loading commit data...
irqflags.h Loading commit data...
isadep.h Loading commit data...
jazz.h Loading commit data...
jazzdma.h Loading commit data...
jump_label.h Loading commit data...
kdebug.h Loading commit data...
kexec.h Loading commit data...
kgdb.h Loading commit data...
kmap_types.h Loading commit data...
kprobes.h Loading commit data...
kvm_host.h Loading commit data...
kvm_para.h Loading commit data...
linkage.h Loading commit data...
local.h Loading commit data...
m48t37.h Loading commit data...
maar.h Loading commit data...
mc146818-time.h Loading commit data...
mc146818rtc.h Loading commit data...
mips-cm.h Loading commit data...
mips-cpc.h Loading commit data...
mips-r2-to-r6-emul.h Loading commit data...
mips_machine.h Loading commit data...
mips_mt.h Loading commit data...
mipsmtregs.h Loading commit data...
mipsprom.h Loading commit data...
mipsregs.h Loading commit data...
mmu.h Loading commit data...
mmu_context.h Loading commit data...
mmzone.h Loading commit data...
module.h Loading commit data...
msa.h Loading commit data...
msc01_ic.h Loading commit data...
nile4.h Loading commit data...
paccess.h Loading commit data...
page.h Loading commit data...
pci.h Loading commit data...
perf_event.h Loading commit data...
pgalloc.h Loading commit data...
pgtable-32.h Loading commit data...
pgtable-64.h Loading commit data...
pgtable-bits.h Loading commit data...
pgtable.h Loading commit data...
pm-cps.h Loading commit data...
pm.h Loading commit data...
pmon.h Loading commit data...
prefetch.h Loading commit data...
processor.h Loading commit data...
prom.h Loading commit data...
ptrace.h Loading commit data...
r4k-timer.h Loading commit data...
r4kcache.h Loading commit data...
reboot.h Loading commit data...
reg.h Loading commit data...
regdef.h Loading commit data...
rtlx.h Loading commit data...
seccomp.h Loading commit data...
setup.h Loading commit data...
sgialib.h Loading commit data...
sgiarcs.h Loading commit data...
shmparam.h Loading commit data...
sigcontext.h Loading commit data...
signal.h Loading commit data...
sim.h Loading commit data...
smp-cps.h Loading commit data...
smp-ops.h Loading commit data...
smp.h Loading commit data...
sni.h Loading commit data...
socket.h Loading commit data...
sparsemem.h Loading commit data...
spinlock.h Loading commit data...
spinlock_types.h Loading commit data...
spram.h Loading commit data...
stackframe.h Loading commit data...
stackprotector.h Loading commit data...
stacktrace.h Loading commit data...
string.h Loading commit data...
switch_to.h Loading commit data...
syscall.h Loading commit data...
termios.h Loading commit data...
thread_info.h Loading commit data...
time.h Loading commit data...
timex.h Loading commit data...
tlb.h Loading commit data...
tlbdebug.h Loading commit data...
tlbflush.h Loading commit data...
tlbmisc.h Loading commit data...
topology.h Loading commit data...
traps.h Loading commit data...
txx9irq.h Loading commit data...
txx9pio.h Loading commit data...
txx9tmr.h Loading commit data...
types.h Loading commit data...
uaccess.h Loading commit data...
uasm.h Loading commit data...
unaligned.h Loading commit data...
unistd.h Loading commit data...
uprobes.h Loading commit data...
vdso.h Loading commit data...
vga.h Loading commit data...
vpe.h Loading commit data...
war.h Loading commit data...
watch.h Loading commit data...
wbflush.h Loading commit data...