aboutsummaryrefslogtreecommitdiff
path: root/include/asm-ia64/fpu.h
diff options
context:
space:
mode:
authorGrant Grundler <grundler@parisc-linux.org>2007-06-10 16:31:41 -0600
committerKyle McMartin <kyle@minerva.i.cabal.ca>2007-06-12 01:23:30 -0400
commit462b529f91b618f4bd144bbc6184f616dfb58a1e (patch)
treeeb6cd254ef87ee5b9e3b875023f6368f9747e669 /include/asm-ia64/fpu.h
parentc3d4ed4e3e5aa8d9e6b4b795f004a7028ce780e9 (diff)
[PARISC] remove global_ack_eiem
Kudos to Thibaut Varene for spotting the (mis)use of appropriately named global_ack_eiem. This took a long time to figure out and both insight from myself, Kyle McMartin, and James Bottomley were required to narrow down which bit of code could have this race condition. The symptom was interrupts stopped getting delivered while some workload was generating IO interrupts on two different CPUs. One of the interrupt sources would get masked off and stay unmasked. Problem was global_ack_eiem was accessed with read/modified/write sequence and not protected by a spinlock. PA-RISC doesn't need a global ack flag though. External Interrupts are _always_ delivered to a single CPU (except for "global broadcast interrupt" which AFAIK currently is not used.) So we don't have to worry about any given IRQ vector getting delivered to more than one CPU. Tested on a500 and rp34xx boxen. rsync to/from gsyprf11 (a500) would lock up the box since NIC (tg3) interrupt and SCSI (sym2) were on "opposite" CPUs (2 CPU system). Put them on the same CPU or apply this patch and 10GB of data would rsync completely. Please apply the following critical patch. thanks, grant Signed-off-by: Grant Grundler <grundler@parisc-linux.org> Acked-by: Thibaut VARENE <T-Bone@parisc-linux.org> Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
Diffstat (limited to 'include/asm-ia64/fpu.h')
0 files changed, 0 insertions, 0 deletions