1. 03 8月, 2013 1 次提交
  2. 02 8月, 2013 5 次提交
    • G
      Revert "serial: sccnxp: Add DT support" · 461a8ecb
      Greg Kroah-Hartman 提交于
      This reverts commit 85c99690.
      
      Alexander wishes to remove this patch as it is incorrect.
      Reported-by: NAlexander Shiyan <shc_work@mail.ru>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      461a8ecb
    • J
      serial: sh-sci: use dev_get_platdata() · 3ba35baa
      Jingoo Han 提交于
      Use the wrapper function for retrieving the platform data instead of
      accessing dev->platform_data directly
      Signed-off-by: NJingoo Han <jg1.han@samsung.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      3ba35baa
    • V
      serial/arc-uart: Remove the goto/label · 00a135b3
      Vineet Gupta 提交于
      Signed-off-by: NVineet Gupta <vgupta@synopsys.com>
      Cc: Mischa Jonker <mjonker@synopsys.com>
      Cc: Jiri Slaby <jslaby@suse.cz>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      00a135b3
    • V
      serial/arc-uart: Handle Rx Error Interrupts w/o any data · 5284eba7
      Vineet Gupta 提交于
      Currently, Rx error handling only triggers if there is some Rx data.
      Fix that by checking for error - before the data handling.
      Reported-by: NMischa Jonker <mjonker@synopsys.com>
      Tested-by: NMischa Jonker <mjonker@synopsys.com>
      Signed-off-by: NVineet Gupta <vgupta@synopsys.com>
      Cc: Jiri Slaby <jslaby@suse.cz>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      5284eba7
    • P
      tty: Only hangup once · cb50e523
      Peter Hurley 提交于
      Instrumented testing shows a tty can be hungup multiple times [1].
      Although concurrent hangups are properly serialized, multiple
      hangups for the same tty should be prevented.
      
      If tty has already been HUPPED, abort hangup. Note it is not
      necessary to cleanup file *redirect on subsequent hangups,
      as only TIOCCONS can set that value and ioctls are disabled
      after hangup.
      
      [1]
      Test performed by simulating a concurrent async hangup via
      tty_hangup() with a sync hangup via tty_vhangup(), while
      __tty_hangup() was instrumented with:
      
      	diff --git a/drivers/tty/tty_io.c b/drivers/tty/tty_io.c
      	index 26bb78c..fe8b061 100644
      	--- a/drivers/tty/tty_io.c
      	+++ b/drivers/tty/tty_io.c
      	@@ -629,6 +629,8 @@ static void __tty_hangup(struct tty_struct *tty, int exit_session)
      
      		tty_lock(tty);
      
      	+	WARN_ON(test_bit(TTY_HUPPED, &tty->flags));
      	+
      		/* some functions below drop BTM, so we need this bit */
      		set_bit(TTY_HUPPING, &tty->flags);
      
      Test result:
      
      WARNING: at /home/peter/src/kernels/mainline/drivers/tty/tty_io.c:632 __tty_hangup+0x459/0x460()
      Modules linked in: ip6table_filter ip6_tables ebtable_nat <...snip...>
      CPU: 6 PID: 1197 Comm: kworker/6:2 Not tainted 3.10.0-0+rfcomm-xeon #0+rfcomm
      Hardware name: Dell Inc. Precision WorkStation T5400  /0RW203, BIOS A11 04/30/2012
      Workqueue: events do_tty_hangup
       0000000000000009 ffff8802b16d7d18 ffffffff816b553e ffff8802b16d7d58
       ffffffff810407e0 ffff880254f95c00 ffff880254f95c00 ffff8802bfd92b00
       ffff8802bfd96b00 ffff880254f95e40 0000000000000180 ffff8802b16d7d68
      Call Trace:
       [<ffffffff816b553e>] dump_stack+0x19/0x1b
       [<ffffffff810407e0>] warn_slowpath_common+0x70/0xa0
       [<ffffffff8104082a>] warn_slowpath_null+0x1a/0x20
       [<ffffffff813fb279>] __tty_hangup+0x459/0x460
       [<ffffffff8107409c>] ? finish_task_switch+0xbc/0xe0
       [<ffffffff813fb297>] do_tty_hangup+0x17/0x20
       [<ffffffff8105fd6f>] process_one_work+0x16f/0x450
       [<ffffffff8106007c>] process_scheduled_works+0x2c/0x40
       [<ffffffff8106060a>] worker_thread+0x26a/0x380
       [<ffffffff810603a0>] ? rescuer_thread+0x310/0x310
       [<ffffffff810698a0>] kthread+0xc0/0xd0
       [<ffffffff816b0000>] ? destroy_compound_page+0x65/0x92
       [<ffffffff810697e0>] ? kthread_create_on_node+0x130/0x130
       [<ffffffff816c495c>] ret_from_fork+0x7c/0xb0
       [<ffffffff810697e0>] ? kthread_create_on_node+0x130/0x130
      ---[ end trace 98d9f01536cf411e ]---
      Signed-off-by: NPeter Hurley <peter@hurleysoftware.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      cb50e523
  3. 01 8月, 2013 7 次提交
  4. 30 7月, 2013 13 次提交
  5. 29 7月, 2013 4 次提交
    • L
      Linux 3.11-rc3 · 5ae90d8e
      Linus Torvalds 提交于
      5ae90d8e
    • L
      Merge tag 'pinctrl-for-v3.11-2' of... · 76d25a5f
      Linus Torvalds 提交于
      Merge tag 'pinctrl-for-v3.11-2' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl
      
      Pull pin control fixes from Linus Walleij:
       - Driver fixes for AM33xx, SIRF and PFC pin controllers
       - Fix a compile warning from the pinctrl single-register driver
       - Fix a little nasty memory leak
      
      * tag 'pinctrl-for-v3.11-2' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl:
        pinctrl: fix a memleak when freeing maps
        pinctrl: pinctrl-single: fix compile warning when no CONFIG_PM
        pinctrl: sh-pfc: fix SDHI0 VccQ regulator on sh73a0 with DT
        arm/dts: sirf: fix the pingroup name mismatch between drivers and dts
        pinctrl: sirf: add usp0_uart_nostreamctrl pin group for usp-uart without flowctrl
        pinctrl: sirf: fix the pin number and mux bit for usp0
        pinctrl: am33xx dt binding: correct include path
      76d25a5f
    • L
      Merge tag 'trace-fixes-3.11-rc2' of... · 6803f37e
      Linus Torvalds 提交于
      Merge tag 'trace-fixes-3.11-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace
      
      Pull tracing fixes from Steven Rostedt:
       "Oleg is working on fixing a very tight race between opening a event
        file and deleting that event at the same time (both must be done as
        root).
      
        I also found a bug while testing Oleg's patches which has to do with a
        race with kprobes using the function tracer.
      
        There's also a deadlock fix that was introduced with the previous
        fixes"
      
      * tag 'trace-fixes-3.11-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace:
        tracing: Remove locking trace_types_lock from tracing_reset_all_online_cpus()
        ftrace: Add check for NULL regs if ops has SAVE_REGS set
        tracing: Kill trace_cpu struct/members
        tracing: Change tracing_fops/snapshot_fops to rely on tracing_get_cpu()
        tracing: Change tracing_entries_fops to rely on tracing_get_cpu()
        tracing: Change tracing_stats_fops to rely on tracing_get_cpu()
        tracing: Change tracing_buffers_fops to rely on tracing_get_cpu()
        tracing: Change tracing_pipe_fops() to rely on tracing_get_cpu()
        tracing: Introduce trace_create_cpu_file() and tracing_get_cpu()
      6803f37e
    • L
      Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi · 561d9e81
      Linus Torvalds 提交于
      Pull SCSI fixes from James Bottomley:
       "This is five bug fixes, two of which fix long standing problems
        causing crashes (sd and mvsas).  The remaining three are hung (isci
        race) or lost (qla2xxx, isci) devices"
      
      * tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi:
        [SCSI] isci: fix breakage caused by >16byte CDB patch
        [SCSI] mvsas: Fix kernel panic on tile due to unaligned data access
        [SCSI] sd: fix crash when UA received on DIF enabled device
        [SCSI] qla2xxx: Properly set the tagging for commands.
        [SCSI] isci: Fix a race condition in the SSP task management path
      561d9e81
  6. 27 7月, 2013 10 次提交