summaryrefslogtreecommitdiffstats
path: root/Documentation/gpio.txt
diff options
context:
space:
mode:
authorLukasz Majewski <l.majewski@samsung.com>2012-06-14 10:02:26 +0200
committerFelipe Balbi <balbi@ti.com>2012-06-15 14:38:07 +0300
commit5ad1d3160973c588db806072968d7a2a93cb2a80 (patch)
tree5e7606ce39b83f7b50c90bfa71e4584bae70ac6c /Documentation/gpio.txt
parent2b19a52cc8a31ede990323d46a7faeeeba76bb8f (diff)
downloadop-kernel-dev-5ad1d3160973c588db806072968d7a2a93cb2a80.zip
op-kernel-dev-5ad1d3160973c588db806072968d7a2a93cb2a80.tar.gz
usb: hsotg: samsung: smp Provide *_lock functions abstraction layer for SMP SoCs
For SMP processors the spin_lock_irqsave is _only_ able to disable interrupt on a core on which it is executed. Therefore there may be a situation when other cores raise s3c-hsotg IRQ. Then there are several places where critical sections can be overwritten. To protect the above thread, a spin_lock in the interrupt handler has been added. Due to coherent memory view (especially L1 cache) the spin lock variable control access to IRQ handler only for one CPU core. In this way serialization to access this driver is provided and hence several spin_lock_* routines could be removed from IRQ handler's related functions. The complete_request_lock function has been removed since all its calls are performed from interrupt (spin lock protected) context. Signed-off-by: Lukasz Majewski <l.majewski@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'Documentation/gpio.txt')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud