diff options
author | Suresh Siddha <[email protected]> | 2011-08-25 12:01:12 -0700 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2011-09-21 10:26:26 +0200 |
commit | e57253a81d9cc7049e9e43bd806ce6cdd297ec1c (patch) | |
tree | 979900bd7e7fe8fd60e28fcd79b2652bd92fa84a /kernel/posix-cpu-timers.c | |
parent | 1e75b31d638d5242ca8e9771dfdcbd28a5f041df (diff) |
x86, ioapic: Restore the mask bit correctly in eoi_ioapic_irq()
For older IO-APIC's, we were clearing the remote-IRR by changing
the RTE trigger mode to edge and then back to level. We wanted
to mask the RTE during this process, so we were essentially
doing mask+edge and then to unmask+level.
As part of the commit ca64c47cecd0321b2e0dcbd7aaff44b68ce20654,
we moved this EOI process earlier where the IO-APIC RTE is
masked. So we were wrongly unmasking it in the eoi_ioapic_irq().
So change the remote-IRR clear sequence in eoi_ioapic_irq() to
mask + edge and then restore the previous RTE entry which will
restore the mask status as well as the level trigger.
Signed-off-by: Suresh Siddha <[email protected]>
Cc: Maciej W. Rozycki <[email protected]>
Cc: Thomas Renninger <[email protected]>
Cc: Rafael Wysocki <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'kernel/posix-cpu-timers.c')
0 files changed, 0 insertions, 0 deletions