<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/tty/serial, branch v3.14</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
</subtitle>
<id>https://git.shady.money/linux/atom?h=v3.14</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v3.14'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2014-03-06T21:32:25Z</updated>
<entry>
<title>sparc: serial: Clean up the locking for -rt</title>
<updated>2014-03-06T21:32:25Z</updated>
<author>
<name>David Miller</name>
<email>davem@davemloft.net</email>
</author>
<published>2014-03-04T20:28:35Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=e58e241c1788856f69d58821e91e5c988905252d'/>
<id>urn:sha1:e58e241c1788856f69d58821e91e5c988905252d</id>
<content type='text'>
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
Tested-by: Allen Pais &lt;allen.pais@oracle.com&gt;
</content>
</entry>
<entry>
<title>serial: 8250: Support XR17V35x fraction divisor</title>
<updated>2014-02-13T18:02:19Z</updated>
<author>
<name>Joe Schultz</name>
<email>jschultz@xes-inc.com</email>
</author>
<published>2014-02-12T00:30:01Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=45a7bd635930baa960b6817674c64bdfb8f39570'/>
<id>urn:sha1:45a7bd635930baa960b6817674c64bdfb8f39570</id>
<content type='text'>
The Exar XR17V35x family of UARTs have an additional fractional divisor
register (DLD) which was not being used. Calculate and set this
register for these devices to reduce their baud rate error.

Signed-off-by: Joe Schultz &lt;jschultz@xes-inc.com&gt;
Signed-off-by: Aaron Sierra &lt;asierra@xes-inc.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>serial: sirf: fix kernel panic caused by unpaired spinlock</title>
<updated>2014-02-13T18:02:19Z</updated>
<author>
<name>Qipan Li</name>
<email>Qipan.Li@csr.com</email>
</author>
<published>2014-01-27T06:23:39Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=fb78b811422cd2d8c8605949cc4cc13618347ad5'/>
<id>urn:sha1:fb78b811422cd2d8c8605949cc4cc13618347ad5</id>
<content type='text'>
commit 8b9ade9f74f8a279 coming from Viresh Kumar "tty: serial: sirfsoc: drop
uart_port-&gt;lock before calling tty_flip_buffer_push()" broke sirfsoc uart
driver by knic:

	[    5.129122] BUG: spinlock already unlocked on CPU#0, ip6tables/1331
	[    5.132554]  lock: sirfsoc_uart_ports+0x4/0x8a0, .magic: dead4ead,
	.owner: &lt;none&gt;/-1, .owner_cpu: -1
	[    5.141651] CPU: 0 PID: 1331 Comm: ip6tables Tainted: G
	W  O 3.10.16 #3
	[    5.148866] [&lt;c0013528&gt;] (unwind_backtrace+0x0/0xe0) from
	[&lt;c0010e70&gt;] (show_stack+0x10/0x14)
	[    5.157362] [&lt;c0010e70&gt;] (show_stack+0x10/0x14) from
	[&lt;c01a5e68&gt;] (do_raw_spin_unlock+0x40/0xc8)
	[    5.166125] [&lt;c01a5e68&gt;] (do_raw_spin_unlock+0x40/0xc8) from
	[&lt;c03ff8b4&gt;] (_raw_spin_unlock+0x8/0x40)
	[    5.175322] [&lt;c03ff8b4&gt;] (_raw_spin_unlock+0x8/0x40) from
	[&lt;c0203fcc&gt;] (sirfsoc_uart_pio_rx_chars+0xa4/0xc0)
	[    5.185120] [&lt;c0203fcc&gt;]
	(sirfsoc_uart_pio_rx_chars+0xa4/0xc0) from [&lt;c0204fb8&gt;]
	(sirfsoc_rx_tmo_process_tl+0xdc/0x1e0)
	[    5.195875] [&lt;c0204fb8&gt;]
	(sirfsoc_rx_tmo_process_tl+0xdc/0x1e0) from [&lt;c0024b50&gt;]
	(tasklet_action+0x8c/0xec)
	[    5.205673] [&lt;c0024b50&gt;] (tasklet_action+0x8c/0xec) from
	[&lt;c00242a8&gt;] (__do_softirq+0xec/0x1d4)
	[    5.214347] [&lt;c00242a8&gt;] (__do_softirq+0xec/0x1d4) from
	[&lt;c0024428&gt;] (do_softirq+0x48/0x54)
	[    5.222674] [&lt;c0024428&gt;] (do_softirq+0x48/0x54) from
	[&lt;c0024690&gt;] (irq_exit+0x74/0xc0)
	[    5.230573] [&lt;c0024690&gt;] (irq_exit+0x74/0xc0) from
	[&lt;c000e1e8&gt;] (handle_IRQ+0x6c/0x90)
	[    5.238465] [&lt;c000e1e8&gt;] (handle_IRQ+0x6c/0x90) from
	[&lt;c000d500&gt;] (__irq_svc+0x40/0x70)
	[    5.246446] [&lt;c000d500&gt;] (__irq_svc+0x40/0x70) from
	[&lt;c0092e7c&gt;] (mark_page_accessed+0xc/0x68)
	[    5.255034] [&lt;c0092e7c&gt;] (mark_page_accessed+0xc/0x68) from
	[&lt;c00a2a4c&gt;] (unmap_single_vma+0x3bc/0x550)
	[    5.264402] [&lt;c00a2a4c&gt;] (unmap_single_vma+0x3bc/0x550) from
	[&lt;c00a3b4c&gt;] (unmap_vmas+0x44/0x54)
	[    5.273164] [&lt;c00a3b4c&gt;] (unmap_vmas+0x44/0x54) from
	[&lt;c00a81a8&gt;] (exit_mmap+0xc4/0x1e0)
	[    5.281233] [&lt;c00a81a8&gt;] (exit_mmap+0xc4/0x1e0) from
	[&lt;c001bb78&gt;] (mmput+0x3c/0xdc)
	[    5.288868] [&lt;c001bb78&gt;] (mmput+0x3c/0xdc) from [&lt;c0021b0c&gt;]
	(do_exit+0x30c/0x828)
	[    5.296413] [&lt;c0021b0c&gt;] (do_exit+0x30c/0x828) from
	[&lt;c0022dac&gt;] (do_group_exit+0x4c/0xb0)
	[    5.304653] [&lt;c0022dac&gt;] (do_group_exit+0x4c/0xb0) from
	[&lt;c0022e20&gt;] (__wake_up_parent+0x0/0x18)

Root cause:
the commit dropped uart_port-&gt;lock before calling tty_flip_buffer_push(), but in sirfsoc-uart,
sirfsoc_uart_pio_rx_chars() can be called by sirfsoc_rx_tmo_process_tl(). here uart_port-&gt;lock
has not been taken yet. so that caused unpaired lock/unlock.

Solution:
This patch is doing a quick fix for that, it adds spin_lock/unlock(&amp;port-&gt;lock) protect to
sirfsoc_uart_pio_rx_chars() in sirfsoc_rx_tmo_process_tl() to keep spin_lock/unlock in pair.

Signed-off-by: Qipan Li &lt;Qipan.Li@csr.com&gt;
Signed-off-by: Barry Song &lt;Baohua.Song@csr.com&gt;
Cc: stable &lt;stable@vger.kernel.org&gt; # 3.12
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>serial: 8250_pci: unbreak last serial ports on NetMos 9865 cards</title>
<updated>2014-02-13T17:57:33Z</updated>
<author>
<name>Dmitry Eremin-Solenikov</name>
<email>dbaryshkov@gmail.com</email>
</author>
<published>2014-02-11T10:18:13Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=333c085e4b0cd9df04b087d29f87969a4e26dfa9'/>
<id>urn:sha1:333c085e4b0cd9df04b087d29f87969a4e26dfa9</id>
<content type='text'>
Aparently 9865 uses standard BAR encoding scheme (unlike 99xx cards).
Current pci_netmos_9900_setup() uses wrong BAR indices for the 9865 PCI
device, function 2. Using standard BAR indices makes all 6 ports work
for me. Thus disable the NetMos 9900 quirk for NetMos 9865 pci device.

For the reference, here is the relevant part of lspci for my device:

02:07.0 Serial controller: MosChip Semiconductor Technology Ltd. PCI
9865 Multi-I/O Controller (prog-if 02 [16550])
	Subsystem: Device a000:1000
	Flags: bus master, medium devsel, latency 32, IRQ 17
	I/O ports at ac00 [size=8]
	Memory at fcfff000 (32-bit, non-prefetchable) [size=4K]
	Memory at fcffe000 (32-bit, non-prefetchable) [size=4K]
	Capabilities: [48] Power Management version 2
	Kernel driver in use: serial

02:07.1 Serial controller: MosChip Semiconductor Technology Ltd. PCI
9865 Multi-I/O Controller (prog-if 02 [16550])
	Subsystem: Device a000:1000
	Flags: bus master, medium devsel, latency 32, IRQ 18
	I/O ports at a800 [size=8]
	Memory at fcffd000 (32-bit, non-prefetchable) [size=4K]
	Memory at fcffc000 (32-bit, non-prefetchable) [size=4K]
	Capabilities: [48] Power Management version 2
	Kernel driver in use: serial

02:07.2 Communication controller: MosChip Semiconductor Technology Ltd.
PCI 9865 Multi-I/O Controller
	Subsystem: Device a000:3004
	Flags: bus master, medium devsel, latency 32, IRQ 19
	I/O ports at a400 [size=8]
	I/O ports at a000 [size=8]
	I/O ports at 9c00 [size=8]
	I/O ports at 9800 [size=8]
	Memory at fcffb000 (32-bit, non-prefetchable) [size=4K]
	Capabilities: [48] Power Management version 2
	Kernel driver in use: serial

Signed-off-by: Dmitry Eremin-Solenikov &lt;dbaryshkov@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>serial: omap: fix rs485 probe on defered pinctrl</title>
<updated>2014-02-13T17:57:33Z</updated>
<author>
<name>Michael Grzeschik</name>
<email>m.grzeschik@pengutronix.de</email>
</author>
<published>2014-02-13T09:52:03Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=a64c1a1c755674399da3689499b3f64c2a538120'/>
<id>urn:sha1:a64c1a1c755674399da3689499b3f64c2a538120</id>
<content type='text'>
If the gpio is not yet available we better also
defer the probing in the rs485 case.

Signed-off-by: Michael Grzeschik &lt;m.grzeschik@pengutronix.de&gt;
Signed-off-by: Uwe Kleine-König &lt;u.kleine-koenig@pengutronix.de&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>serial: 8250_dw: fix compilation warning when !CONFIG_PM_SLEEP</title>
<updated>2014-02-13T17:57:33Z</updated>
<author>
<name>Mika Westerberg</name>
<email>mika.westerberg@linux.intel.com</email>
</author>
<published>2014-01-16T12:55:57Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=13b949f03e642c5df36ebf5b4770d75f8c4a6b09'/>
<id>urn:sha1:13b949f03e642c5df36ebf5b4770d75f8c4a6b09</id>
<content type='text'>
CONFIG_PM will be set if either or both CONFIG_PM_SLEEP and
CONFIG_PM_RUNTIME is set. Compiling the driver with !CONFIG_PM_SLEEP causes
following compilation warnings:

drivers/tty/serial/8250/8250_dw.c:404:12: warning: ‘dw8250_suspend’ defined but not used [-Wunused-function]
drivers/tty/serial/8250/8250_dw.c:413:12: warning: ‘dw8250_resume’ defined but not used [-Wunused-function]

Fix this by using CONFIG_PM_SLEEP instead.

Signed-off-by: Mika Westerberg &lt;mika.westerberg@linux.intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>serial: omap-serial: Move info message to probe function</title>
<updated>2014-02-13T17:56:08Z</updated>
<author>
<name>Markus Pargmann</name>
<email>mpa@pengutronix.de</email>
</author>
<published>2014-01-24T17:09:41Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=ce6acca65ee42c06ac54ec9ba918865d06cee29d'/>
<id>urn:sha1:ce6acca65ee42c06ac54ec9ba918865d06cee29d</id>
<content type='text'>
Currently the info message about a missing wakeirq for uart is printed
every time the serial driver's startup function is called. This happens
multiple times and not just once.

This can cause lots of extra messages at boot time, slowing things down.  It is
caused by commit 2a0b965cfb6e (serial: omap: Add support for optional wake-up)
which was applied for v3.13-rc1.

This patch moves the infomessage to the probe function to display it
only once.

Reported-by: Uwe Kleine-König &lt;u.kleine-koenig@pengutronix.de&gt;
Acked-by: Tony Lindgren &lt;tony@atomide.com&gt;
Signed-off-by: Markus Pargmann &lt;mpa@pengutronix.de&gt;
Acked-by: Uwe Kleine-König &lt;u.kleine-koenig@pengutronix.de&gt;
Cc: stable &lt;stable@vger.kernel.org&gt; # 3.13
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus</title>
<updated>2014-01-31T01:20:32Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2014-01-31T01:20:32Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=cdfc83075fb76369a31e6c187d0cebcab9f8b9c8'/>
<id>urn:sha1:cdfc83075fb76369a31e6c187d0cebcab9f8b9c8</id>
<content type='text'>
Pull MIPS updates from Ralf Baechle:
 "The most notable new addition inside this pull request is the support
  for MIPS's latest and greatest core called "inter/proAptiv".  The
  patch series describes this core as follows.

    "The interAptiv is a power-efficient multi-core microprocessor
     for use in system-on-chip (SoC) applications. The interAptiv combines
     a multi-threading pipeline with a coherence manager to deliver improved
     computational throughput and power efficiency. The interAptiv can
     contain one to four MIPS32R3 interAptiv cores, system level
     coherence manager with L2 cache, optional coherent I/O port,
     and optional floating point unit."

  The platform specific patches touch all 3 Broadcom families.  It adds
  support for the new Broadcom/Netlogix XLP9xx Soc, building a common
  BCM63XX SMP kernel for all BCM63XX SoCs regardless of core type/count
  and full gpio button/led descriptions for BCM47xx.

  The rest of the series are cleanups and bug fixes that are MIPS
  generic and consist largely of changes that Imgtec/MIPS had published
  in their linux-mti-3.10.git stable tree.  Random other cleanups and
  patches preparing code to be merged in 3.15"

* 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus: (139 commits)
  mips: select ARCH_MIGHT_HAVE_PC_SERIO
  mips: delete non-required instances of include &lt;linux/init.h&gt;
  MIPS: KVM: remove shadow_tlb code
  MIPS: KVM: use common EHINV aware UNIQUE_ENTRYHI
  mips/ide: flush dcache also if icache does not snoop dcache
  MIPS: BCM47XX: fix position of cpu_wait disabling
  MIPS: BCM63XX: select correct MIPS_L1_CACHE_SHIFT value
  MIPS: update MIPS_L1_CACHE_SHIFT based on MIPS_L1_CACHE_SHIFT_&lt;N&gt;
  MIPS: introduce MIPS_L1_CACHE_SHIFT_&lt;N&gt;
  MIPS: ZBOOT: gather string functions into string.c
  arch/mips/pci: don't check resource with devm_ioremap_resource
  arch/mips/lantiq/xway: don't check resource with devm_ioremap_resource
  bcma: gpio: don't cast u32 to unsigned long
  ssb: gpio: add own IRQ domain
  MIPS: BCM47XX: fix sparse warnings in board.c
  MIPS: BCM47XX: add board detection for Linksys WRT54GS V1
  MIPS: BCM47XX: fix detection for some boards
  MIPS: BCM47XX: Enable buttons support on SSB
  MIPS: BCM47XX: Convert WNDR4500 to new syntax
  MIPS: BCM47XX: Use "timer" trigger for status LEDs
  ...
</content>
</entry>
<entry>
<title>Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc</title>
<updated>2014-01-31T01:07:18Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2014-01-31T01:07:18Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=4bcec913d0a98d991c750034a04675443d1f10b5'/>
<id>urn:sha1:4bcec913d0a98d991c750034a04675443d1f10b5</id>
<content type='text'>
Pull more powerpc bits from Ben Herrenschmidt:
 "Here are a few more powerpc bits for this merge window.  The bulk is
  made of two pull requests from Scott and Anatolij that I had missed
  previously (they arrived while I was away).  Since both their branches
  are in -next independently, and the content has been around for a
  little while, they can still go in.

  The rest is mostly bug and regression fixes, a small series of
  cleanups to our pseries cpuidle code (including moving it to the right
  place), and one new cpuidle bakend for the powernv platform.  I also
  wired up the new sched_attr syscalls"

* 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc: (37 commits)
  powerpc: Wire up sched_setattr and sched_getattr syscalls
  powerpc/hugetlb: Replace __get_cpu_var with get_cpu_var
  powerpc: Make sure "cache" directory is removed when offlining cpu
  powerpc/mm: Fix mmap errno when MAP_FIXED is set and mapping exceeds the allowed address space
  powerpc/powernv/cpuidle: Back-end cpuidle driver for powernv platform.
  powerpc/pseries/cpuidle: smt-snooze-delay cleanup.
  powerpc/pseries/cpuidle: Remove MAX_IDLE_STATE macro.
  powerpc/pseries/cpuidle: Make cpuidle-pseries backend driver a non-module.
  powerpc/pseries/cpuidle: Use cpuidle_register() for initialisation.
  powerpc/pseries/cpuidle: Move processor_idle.c to drivers/cpuidle.
  powerpc: Fix 32-bit frames for signals delivered when transactional
  powerpc/iommu: Fix initialisation of DART iommu table
  powerpc/numa: Fix decimal permissions
  powerpc/mm: Fix compile error of pgtable-ppc64.h
  powerpc: Fix hw breakpoints on !HAVE_HW_BREAKPOINT configurations
  clk: corenet: Adds the clock binding
  powerpc/booke64: Guard e6500 tlb handler with CONFIG_PPC_FSL_BOOK3E
  powerpc/512x: dts: add MPC5125 clock specs
  powerpc/512x: clk: support MPC5121/5123/5125 SoC variants
  powerpc/512x: clk: enforce even SDHC divider values
  ...
</content>
</entry>
<entry>
<title>Merge remote-tracking branch 'agust/next' into next</title>
<updated>2014-01-29T05:53:55Z</updated>
<author>
<name>Benjamin Herrenschmidt</name>
<email>benh@kernel.crashing.org</email>
</author>
<published>2014-01-29T05:53:55Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=e9a371100dfdfa4c9f994059d19d98c9b4fd80af'/>
<id>urn:sha1:e9a371100dfdfa4c9f994059d19d98c9b4fd80af</id>
<content type='text'>
&lt;&lt;
Switch mpc512x to the common clock framework and adapt mpc512x
drivers to use the new clock driver. Old PPC_CLOCK code is
removed entirely since there are no users any more.
&gt;&gt;
</content>
</entry>
</feed>
