kernel_optimize_test/arch/xtensa/platforms/iss
Max Filippov 24e94454c8 xtensa: ISS: fix locking in TAP network adapter
- don't lock lp->lock in the iss_net_timer for the call of iss_net_poll,
  it will lock it itself;
- invert order of lp->lock and opened_lock acquisition in the
  iss_net_open to make it consistent with iss_net_poll;
- replace spin_lock with spin_lock_bh when acquiring locks used in
  iss_net_timer from non-atomic context;
- replace spin_lock_irqsave with spin_lock_bh in the iss_net_start_xmit
  as the driver doesn't use lp->lock in the hard IRQ context;
- replace __SPIN_LOCK_UNLOCKED(lp.lock) with spin_lock_init, otherwise
  lockdep is unhappy about using non-static key.

Cc: <stable@vger.kernel.org>
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
2015-04-13 09:01:00 +03:00
..
include/platform xtensa: don't use a7 in simcalls 2013-05-09 01:07:10 -07:00
console.c xtensa: ISS: fix timer_lock usage in rs_open 2013-05-09 01:07:11 -07:00
Makefile xtensa: ISS: don't depend on CONFIG_TTY 2014-05-05 09:04:10 -07:00
network.c xtensa: ISS: fix locking in TAP network adapter 2015-04-13 09:01:00 +03:00
setup.c xtensa: provide default platform_pcibios_init implementation 2013-05-09 01:07:09 -07:00
simdisk.c xtensa: fixup simdisk driver to work with immutable bio_vecs 2014-01-29 08:37:32 -07:00