[PATCH 0/3] usb:hsotg:samsung: Spinlock and IRQ race fix for SMP SoCs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This patch series provides fix for UDC driver running on SMP Samsung SoCs.

In detail, it replaces per EP spinlock with one spinlock for the whole hsotg driver.

Afterwards cleanup and spinlock reorganization has been done. The most notable change 
is to add the spinlock protection to the s3c-hsotg IRQ handler routine. 
Due to that there is a protection from entering interrupt raised by one core when the
other one is for example issuing usb request from usb gadget.

Moreover udc_stop function is now spinlock protected.

Test HW:

- S5PC110 (GONI) - UMP
- Exynos4210 rev.1 (NURI) - SMP

Lukasz Majewski (3):
  usb:hsotg:samsung: Replace endpoint specific locks with a global lock
  usb:hsotg:samsung: Protect the udc_stop routine with spinlock
  usb:hsotg:samsung:smp Provide *_lock functions abstraction layer for
    SMP SoCs

 drivers/usb/gadget/s3c-hsotg.c |  130 +++++++++++++++++++++-------------------
 1 files changed, 68 insertions(+), 62 deletions(-)

-- 
1.7.2.3

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux