kernel-ark/include/asm-powerpc
Paul Mackerras d04c56f73c [POWERPC] Lazy interrupt disabling for 64-bit machines
This implements a lazy strategy for disabling interrupts.  This means
that local_irq_disable() et al. just clear the 'interrupts are
enabled' flag in the paca.  If an interrupt comes along, the interrupt
entry code notices that interrupts are supposed to be disabled, and
clears the EE bit in SRR1, clears the 'interrupts are hard-enabled'
flag in the paca, and returns.  This means that interrupts only
actually get disabled in the processor when an interrupt comes along.

When interrupts are enabled by local_irq_enable() et al., the code
sets the interrupts-enabled flag in the paca, and then checks whether
interrupts got hard-disabled.  If so, it also sets the EE bit in the
MSR to hard-enable the interrupts.

This has the potential to improve performance, and also makes it
easier to make a kernel that can boot on iSeries and on other 64-bit
machines, since this lazy-disable strategy is very similar to the
soft-disable strategy that iSeries already uses.

This version renames paca->proc_enabled to paca->soft_enabled, and
changes a couple of soft-disables in the kexec code to hard-disables,
which should fix the crash that Michael Ellerman saw.  This doesn't
yet use a reserved CR field for the soft_enabled and hard_enabled
flags.  This applies on top of Stephen Rothwell's patches to make it
possible to build a combined iSeries/other kernel.

Signed-off-by: Paul Mackerras <paulus@samba.org>
2006-10-16 16:31:36 +10:00
..
iseries [POWERPC] Fix up after irq changes 2006-10-07 22:08:26 +10:00
8253pit.h
a.out.h
abs_addr.h
agp.h
asm-compat.h
atomic.h
auxvec.h
backlight.h
bitops.h
bootx.h
btext.h
bug.h
bugs.h
byteorder.h
cache.h
cacheflush.h
checksum.h
compat.h
cputable.h
cputime.h
current.h
dbdma.h
delay.h
div64.h
dma-mapping.h
dma.h
eeh_event.h
eeh.h
elf.h
emergency-restart.h
errno.h
fcntl.h
firmware.h
floppy.h
fs_pd.h
futex.h
grackle.h
hardirq.h
heathrow.h
hvcall.h
hvconsole.h
hvcserver.h
hw_irq.h [POWERPC] Lazy interrupt disabling for 64-bit machines 2006-10-16 16:31:36 +10:00
i8259.h [POWERPC] Fix up after irq changes 2006-10-07 22:08:26 +10:00
ibmebus.h IRQ: Use the new typedef for interrupt handler function pointers 2006-10-09 12:19:47 +01:00
ide.h
immap_86xx.h
immap_qe.h
io.h [PATCH] Consolidate check_signature 2006-10-11 11:14:23 -07:00
ioctl.h
ioctls.h
iommu.h
ipc.h
ipcbuf.h
ipic.h [POWERPC] Fix up after irq changes 2006-10-07 22:08:26 +10:00
irq_regs.h IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
irq.h IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
irqflags.h
Kbuild
kdebug.h
kdump.h
kexec.h
keylargo.h
kmap_types.h
kprobes.h
linkage.h
lmb.h [PATCH] powerpc: Remove calculation of io hole 2006-03-22 15:04:30 +11:00
local.h
lppaca.h
machdep.h [POWERPC] Fix up after irq changes 2006-10-07 22:08:26 +10:00
macio.h
mc146818rtc.h
mediabay.h
mman.h
mmu_context.h
mmu.h
mmzone.h
module.h
mpc85xx.h
mpc86xx.h
mpic.h [POWERPC] Fix up after irq changes 2006-10-07 22:08:26 +10:00
msgbuf.h
mutex.h
namei.h
nvram.h
of_device.h
ohare.h
oprofile_impl.h
paca.h [POWERPC] Lazy interrupt disabling for 64-bit machines 2006-10-16 16:31:36 +10:00
page_32.h
page_64.h
page.h
param.h
parport.h
pci-bridge.h
pci.h
percpu.h
pgalloc.h
pgtable-4k.h
pgtable-64k.h
pgtable.h
pmac_feature.h
pmac_low_i2c.h
pmac_pfunc.h
pmc.h
poll.h
posix_types.h
ppc_asm.h
ppc-pci.h
processor.h
prom.h
pSeries_reconfig.h
ptrace.h
qe_ic.h
qe.h
reg_8xx.h
reg.h [POWERPC] Update MTFSF_L() comment 2006-10-06 21:10:41 +10:00
resource.h
rtas.h
rtc.h
rwsem.h
scatterlist.h
seccomp.h
sections.h
semaphore.h
sembuf.h
serial.h
setup.h
shmbuf.h
shmparam.h
sigcontext.h
siginfo.h
signal.h
smp.h IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
smu.h
socket.h
sockios.h
sparsemem.h
spinlock_types.h
spinlock.h
spu_csa.h
spu_priv1.h
spu.h [POWERPC] spufs: add infrastructure for finding elf objects 2006-10-05 09:21:02 +10:00
sstep.h
stat.h
statfs.h
string.h
synch.h
syscalls.h
systbl.h
system.h
tce.h
termbits.h
termios.h
thread_info.h
time.h
timex.h
tlb.h
tlbflush.h
todc.h
topology.h
tsi108_irq.h
tsi108.h
types.h
uaccess.h
ucc_fast.h
ucc_slow.h
ucc.h
ucontext.h
udbg.h
unaligned.h
uninorth.h
unistd.h
user.h
vdso_datapage.h
vdso.h
vga.h
vio.h
xmon.h
xor.h