<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/serial/uartlite.c, branch v2.6.34</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=v2.6.34</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v2.6.34'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2010-03-10T21:10:41Z</updated>
<entry>
<title>uartlite: Fix build on sparc.</title>
<updated>2010-03-10T21:10:41Z</updated>
<author>
<name>David Miller</name>
<email>davem@davemloft.net</email>
</author>
<published>2010-03-10T21:05:35Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=07081fd8587478849b69d7b41596e81ff5a7f532'/>
<id>urn:sha1:07081fd8587478849b69d7b41596e81ff5a7f532</id>
<content type='text'>
We can get this driver enabled via MFD_TIMBERDALE which only
requires GPIO to be on.

But the of_address_to_resource() function is only present on
powerpc and microblaze, so we have to conditionalize the
CONFIG_OF probing bits on that.

Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
Signed-off-by: Grant Likely &lt;grant.likely@secretlab.ca&gt;
</content>
</entry>
<entry>
<title>uartlite: fix crash when using as console</title>
<updated>2010-02-03T02:11:22Z</updated>
<author>
<name>Richard Röjfors</name>
<email>richard.rojfors@pelagicore.com</email>
</author>
<published>2010-02-02T21:44:12Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=03eac7bb882a75e6ee5705288f7ec36ad2e7d0d5'/>
<id>urn:sha1:03eac7bb882a75e6ee5705288f7ec36ad2e7d0d5</id>
<content type='text'>
Move the ulite_console_setup to the .devinit section since it might be
called on probe, which is in devinit.  Fixes the crash below where the
uartlite hw is probed after the .init section is freed from the kernel.

uartlite: ttyUL0 at MMIO 0xc8000100 (irq = 30) is a uartlite
BUG: unable to handle kernel NULL pointer dereference at (null)
IP: [&lt;c176720e&gt;] ulite_console_setup+0x6f/0xa8
*pdpt = 0000000036fb0001 *pde = 0000000000000000
Oops: 0000 [#1] PREEMPT SMP
last sysfs file: /sys/devices/pci0000:00/0000:00:1f.1/host0/uevent
Modules linked in: puffin(+) serio_raw

Pid: 151, comm: modprobe Not tainted (2.6.31.5-1.0.b1-b1 #1) POULSBO
EIP: 0060:[&lt;c176720e&gt;] EFLAGS: 00010246 CPU: 0
EIP is at ulite_console_setup+0x6f/0xa8
EAX: c16ec824 EBX: c16ec824 ECX: c176719f EDX: 00000000
ESI: 00000000 EDI: c17b42c4 EBP: f6fd1cf0 ESP: f6fd1cd8
 DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
Process modprobe (pid: 151, ti=f6fd0000 task=f6fa1020 task.ti=f6fd0000)
Stack:
 c1031f51 00000000 00000000 00000246 c182237c f7742000 f6fd1d5c c11fd316
&lt;0&gt; c16ec85c f77420d4 0000001e 00000000 00000000 c1633e78 4f494d4d 63783020
&lt;0&gt; 30303038 00303031 f6fd1d3c c10e0786 f6fd1d48 00000000 f6fd1d48 00000000
Call Trace:
 [&lt;c1031f51&gt;] ? register_console+0xf6/0x1fc
 [&lt;c11fd316&gt;] ? uart_add_one_port+0x237/0x2bb
 [&lt;c10e0786&gt;] ? sysfs_add_one+0x13/0xd3
 [&lt;c10e142f&gt;] ? sysfs_do_create_link+0xba/0xfc
 [&lt;c146f200&gt;] ? ulite_probe+0x198/0x1eb
 [&lt;c12064ee&gt;] ? platform_drv_probe+0xc/0xe
 [&lt;c120597b&gt;] ? driver_probe_device+0x79/0x105
 [&lt;c1205a8e&gt;] ? __device_attach+0x28/0x30
 [&lt;c120511f&gt;] ? bus_for_each_drv+0x3d/0x67
 [&lt;c1205af9&gt;] ? device_attach+0x44/0x58
 [&lt;c1205a66&gt;] ? __device_attach+0x0/0x30
 [&lt;c1204fb8&gt;] ? bus_probe_device+0x1f/0x34
 [&lt;c1203e68&gt;] ? device_add+0x385/0x4c0
 [&lt;c148491f&gt;] ? _write_unlock+0x8/0x1f
 [&lt;c1206aac&gt;] ? platform_device_add+0xd9/0x11c
 [&lt;c120c685&gt;] ? mfd_add_devices+0x165/0x1bc
 [&lt;f831b378&gt;] ? puffin_probe+0x2d0/0x390 [puffin]
 [&lt;c11a08ef&gt;] ? pci_match_device+0xa0/0xa7
 [&lt;c11a07bc&gt;] ? local_pci_probe+0xe/0x10
 [&lt;c11a11db&gt;] ? pci_device_probe+0x43/0x66
 [&lt;c120597b&gt;] ? driver_probe_device+0x79/0x105
 [&lt;c1205a4a&gt;] ? __driver_attach+0x43/0x5f
 [&lt;c120535d&gt;] ? bus_for_each_dev+0x3d/0x67
 [&lt;c1205852&gt;] ? driver_attach+0x14/0x16
 [&lt;c1205a07&gt;] ? __driver_attach+0x0/0x5f
 [&lt;c1204dea&gt;] ? bus_add_driver+0xf9/0x220
 [&lt;c1205c8f&gt;] ? driver_register+0x8b/0xeb
 [&lt;c11a1518&gt;] ? __pci_register_driver+0x43/0x9f
 [&lt;c10477ef&gt;] ? __blocking_notifier_call_chain+0x40/0x4c
 [&lt;f831f000&gt;] ? puffin_init+0x0/0x48 [puffin]
 [&lt;f831f017&gt;] ? puffin_init+0x17/0x48 [puffin]
 [&lt;c1001139&gt;] ? do_one_initcall+0x4c/0x131
 [&lt;c105607b&gt;] ? sys_init_module+0xa7/0x1b7
 [&lt;c1002a61&gt;] ? syscall_call+0x7/0xb
 Code: 6e 74 00 00 00 92 33 00 00 18 00 0e 01 73 79 6e 63 65 2d 72 65 67 69 73 74 72 79 0c 00 49 32
00 00 14 00 09 01 61 6c 73 61 2d 69 &lt;6e&gt; 66 6f 00 00 00 42 37 00 00 10 00 07 01 6b 69 6c 6c 61 6c 6c
EIP: [&lt;c176720e&gt;] ulite_console_setup+0x6f/0xa8 SS:ESP 0068:f6fd1cd8
CR2: 0000000000000000

Signed-off-by: Richard Röjfors &lt;richard.rojfors@pelagicore.com&gt;
Acked-by: Peter Korsgaard &lt;jacmet@sunsite.dk&gt;
Cc: Alan Cox &lt;alan@lxorguk.ukuu.org.uk&gt;
Cc: &lt;stable@kernel.org&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>uartlite: support shared interrupt lines</title>
<updated>2009-09-19T20:13:38Z</updated>
<author>
<name>Peter Korsgaard</name>
<email>jacmet@sunsite.dk</email>
</author>
<published>2009-09-09T14:54:04Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=d2cfe9628c6187cafd1aac32a44dcd9ed7adb5fe'/>
<id>urn:sha1:d2cfe9628c6187cafd1aac32a44dcd9ed7adb5fe</id>
<content type='text'>
Adapt isr to work with shared interrupt lines.

Signed-off-by: Peter Korsgaard &lt;jacmet@sunsite.dk&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>serial: kill off uart_info</title>
<updated>2009-09-19T20:13:28Z</updated>
<author>
<name>Alan Cox</name>
<email>alan@linux.intel.com</email>
</author>
<published>2009-09-19T20:13:28Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=ebd2c8f6d2ec4012c267ecb95e72a57b8355a705'/>
<id>urn:sha1:ebd2c8f6d2ec4012c267ecb95e72a57b8355a705</id>
<content type='text'>
We moved this into uart_state, now move the fields out of the separate
structure and kill it off.

Signed-off-by: Alan Cox &lt;alan@linux.intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>powerpc/virtex: fix various format/casting printk mismatches</title>
<updated>2008-11-14T16:59:48Z</updated>
<author>
<name>Grant Likely</name>
<email>grant.likely@secretlab.ca</email>
</author>
<published>2008-11-14T16:59:48Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=a108096878aa6cb744b5280ca59395b6c0152d14'/>
<id>urn:sha1:a108096878aa6cb744b5280ca59395b6c0152d14</id>
<content type='text'>
Various printk format string in code used by the Xilinx Virtex platform
are not 32-bit/64-bit safe.  Add correct casting to fix the bugs.

Reported-by: Josh Boyer &lt;jwboyer@linux.vnet.ibm.com&gt;
Signed-off-by: Grant Likely &lt;grant.likely@secretlab.ca&gt;
Acked-by: Josh Boyer &lt;jwboyer@linux.vnet.ibm.com&gt;
</content>
</entry>
<entry>
<title>Fix compile errors in SGI console drivers (linux-next tree)</title>
<updated>2008-07-21T00:12:36Z</updated>
<author>
<name>Takashi Iwai</name>
<email>tiwai@suse.de</email>
</author>
<published>2008-07-16T20:54:42Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=a88487c79bfefb715030c5baa68fbedc1b8732e8'/>
<id>urn:sha1:a88487c79bfefb715030c5baa68fbedc1b8732e8</id>
<content type='text'>
The below is the patch to replace blindly all possible places,
including Jack's fixes.

Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
(Reviewed and checked rather than blindly added)
Signed-off-by: Alan Cox &lt;alan@redhat.com&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>serial: replace remaining __FUNCTION__ occurrences</title>
<updated>2008-04-30T15:29:54Z</updated>
<author>
<name>Harvey Harrison</name>
<email>harvey.harrison@gmail.com</email>
</author>
<published>2008-04-30T07:55:10Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=71cc2c2152170b8166f59abb0604dc62073aeb92'/>
<id>urn:sha1:71cc2c2152170b8166f59abb0604dc62073aeb92</id>
<content type='text'>
__FUNCTION__ is gcc-specific, use __func__

Signed-off-by: Harvey Harrison &lt;harvey.harrison@gmail.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>serial: fix platform driver hotplug/coldplug</title>
<updated>2008-04-16T02:35:40Z</updated>
<author>
<name>Kay Sievers</name>
<email>kay.sievers@vrfy.org</email>
</author>
<published>2008-04-15T21:34:35Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=e169c139642fb4c682ec12a409725508dbefa520'/>
<id>urn:sha1:e169c139642fb4c682ec12a409725508dbefa520</id>
<content type='text'>
Since 43cc71eed1250755986da4c0f9898f9a635cb3bf, the platform modalias is
prefixed with "platform:".  Add MODULE_ALIAS() to the hotpluggable serial
platform drivers, to re-enable auto loading.

NOTE that Kconfig for some of these drivers doesn't allow modular builds, and
thus doesn't match the driver source's unload support.  Presumably their
unload code is buggy and/or weakly tested...

[dbrownell@users.sourceforge.net: more drivers, registration fixes]
Signed-off-by: Kay Sievers &lt;kay.sievers@vrfy.org&gt;
Signed-off-by: David Brownell &lt;dbrownell@users.sourceforge.net&gt;
Acked-by: Peter Korsgaard &lt;jacmet@sunsite.dk&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>Merge branch 'for-2.6.25' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc</title>
<updated>2008-02-07T17:02:26Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@woody.linux-foundation.org</email>
</author>
<published>2008-02-07T17:02:26Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=37969581301e50872a1ae84dc73962b5f7ee6b76'/>
<id>urn:sha1:37969581301e50872a1ae84dc73962b5f7ee6b76</id>
<content type='text'>
* 'for-2.6.25' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc: (69 commits)
  [POWERPC] Add SPE registers to core dumps
  [POWERPC] Use regset code for compat PTRACE_*REGS* calls
  [POWERPC] Use generic compat_sys_ptrace
  [POWERPC] Use generic compat_ptrace_request
  [POWERPC] Use generic ptrace peekdata/pokedata
  [POWERPC] Use regset code for PTRACE_*REGS* requests
  [POWERPC] Switch to generic compat_binfmt_elf code
  [POWERPC] Switch to using user_regset-based core dumps
  [POWERPC] Add user_regset compat support
  [POWERPC] Add user_regset_view definitions
  [POWERPC] Use user_regset accessors for GPRs
  [POWERPC] ptrace accessors for special regs MSR and TRAP
  [POWERPC] Use user_regset accessors for SPE regs
  [POWERPC] Use user_regset accessors for altivec regs
  [POWERPC] Use user_regset accessors for FP regs
  [POWERPC] mpc52xx: fix compile error introduce when rebasing patch
  [POWERPC] 4xx: PCIe indirect DCR spinlock fix.
  [POWERPC] Add missing native dcr dcr_ind_lock spinlock
  [POWERPC] 4xx: Fix offset value on Warp board
  [POWERPC] 4xx: Add 440EPx Sequoia ehci dts entry
  ...
</content>
</entry>
<entry>
<title>Remove pointless casts from void pointers</title>
<updated>2008-02-06T18:41:01Z</updated>
<author>
<name>Jeff Garzik</name>
<email>jeff@garzik.org</email>
</author>
<published>2008-02-06T09:36:20Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=15aafa2f9d8399b22e418c53a87dfc0c43f4030f'/>
<id>urn:sha1:15aafa2f9d8399b22e418c53a87dfc0c43f4030f</id>
<content type='text'>
Mostly in and around irq handlers.

Signed-off-by: Jeff Garzik &lt;jgarzik@redhat.com&gt;
Cc: Russell King &lt;rmk@arm.linux.org.uk&gt;
Cc: "Luck Tony" &lt;tony.luck@intel.com&gt;
Cc: Roman Zippel &lt;zippel@linux-m68k.org&gt;
Cc: Geert Uytterhoeven &lt;geert@linux-m68k.org&gt;
Cc: Paul Mackerras &lt;paulus@samba.org&gt;
Cc: Benjamin Herrenschmidt &lt;benh@kernel.crashing.org&gt;
Acked-by: Dmitry Torokhov &lt;dtor@mail.ru&gt;
Cc: Karsten Keil &lt;kkeil@suse.de&gt;
Acked-by: "John W. Linville" &lt;linville@tuxdriver.com&gt;
Cc: James Bottomley &lt;James.Bottomley@steeleye.com&gt;
Cc: David Brownell &lt;david-b@pacbell.net&gt;
Cc: "Antonino A. Daplas" &lt;adaplas@pol.net&gt;
Acked-by: Josh Boyer &lt;jwboyer@linux.vnet.ibm.com&gt;
Acked-by: Holger Schurig &lt;hs4233@mail.mn-solutions.de&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
</feed>
