<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/video/console, branch v3.6</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.6</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v3.6'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2012-08-23T12:29:32Z</updated>
<entry>
<title>fbcon: Fix bit_putcs() call to kmalloc(s, GFP_KERNEL)</title>
<updated>2012-08-23T12:29:32Z</updated>
<author>
<name>Bruno Prémont</name>
<email>bonbons@linux-vserver.org</email>
</author>
<published>2012-07-30T19:09:49Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=72caa5fb948ef818fe1332848e9c61b10687ce7a'/>
<id>urn:sha1:72caa5fb948ef818fe1332848e9c61b10687ce7a</id>
<content type='text'>
Switch to kmalloc(,GFP_ATOMIC) in bit_putcs to fix below trace:

[    9.771812] BUG: sleeping function called from invalid context at /usr/src/linux-git/mm/slub.c:943
[    9.771814] in_atomic(): 1, irqs_disabled(): 1, pid: 1063, name: mount
[    9.771818] Pid: 1063, comm: mount Not tainted 3.5.0-jupiter-00003-g8d858b1-dirty #2
[    9.771819] Call Trace:
[    9.771838]  [&lt;c104f79b&gt;] __might_sleep+0xcb/0xe0
[    9.771844]  [&lt;c10c00d4&gt;] __kmalloc+0xb4/0x1c0
[    9.771851]  [&lt;c1041d4a&gt;] ? queue_work+0x1a/0x30
[    9.771854]  [&lt;c1041dcf&gt;] ? queue_delayed_work+0xf/0x30
[    9.771862]  [&lt;c1205832&gt;] ? bit_putcs+0xf2/0x3e0
[    9.771865]  [&lt;c1041e01&gt;] ? schedule_delayed_work+0x11/0x20
[    9.771868]  [&lt;c1205832&gt;] bit_putcs+0xf2/0x3e0
[    9.771875]  [&lt;c12002b8&gt;] ? get_color.clone.14+0x28/0x100
[    9.771878]  [&lt;c1200d2f&gt;] fbcon_putcs+0x11f/0x130
[    9.771882]  [&lt;c1205740&gt;] ? bit_clear+0xe0/0xe0
[    9.771885]  [&lt;c1200f6d&gt;] fbcon_redraw.clone.21+0x11d/0x160
[    9.771889]  [&lt;c120383d&gt;] fbcon_scroll+0x79d/0xe10
[    9.771892]  [&lt;c12002b8&gt;] ? get_color.clone.14+0x28/0x100
[    9.771897]  [&lt;c124c0b4&gt;] scrup+0x64/0xd0
[    9.771900]  [&lt;c124c22b&gt;] lf+0x2b/0x60
[    9.771903]  [&lt;c124cc95&gt;] vt_console_print+0x1d5/0x2f0
[    9.771907]  [&lt;c124cac0&gt;] ? register_vt_notifier+0x20/0x20
[    9.771913]  [&lt;c102b335&gt;] call_console_drivers.clone.5+0xa5/0xc0
[    9.771916]  [&lt;c102c58e&gt;] console_unlock+0x2fe/0x3c0
[    9.771920]  [&lt;c102ca16&gt;] vprintk_emit+0x2e6/0x300
[    9.771924]  [&lt;c13f01ae&gt;] printk+0x38/0x3a
[    9.771931]  [&lt;c112e8fe&gt;] reiserfs_remount+0x2ae/0x3e0
[    9.771934]  [&lt;c112e650&gt;] ? reiserfs_fill_super+0xb00/0xb00
[    9.771939]  [&lt;c10ca0ab&gt;] do_remount_sb+0xab/0x150
[    9.771943]  [&lt;c1034476&gt;] ? ns_capable+0x46/0x70
[    9.771948]  [&lt;c10e059c&gt;] do_mount+0x20c/0x6b0
[    9.771955]  [&lt;c10a7044&gt;] ? strndup_user+0x34/0x50
[    9.771958]  [&lt;c10e0acc&gt;] sys_mount+0x6c/0xa0
[    9.771964]  [&lt;c13f2557&gt;] sysenter_do_call+0x12/0x26

According to comment in bit_putcs() that kammloc() call only happens
when fbcon is drawing to a monochrome framebuffer (which is my case with
hid-picolcd).

Signed-off-by: Bruno Prémont &lt;bonbons@linux-vserver.org&gt;
Signed-off-by: Florian Tobias Schandinat &lt;FlorianSchandinat@gmx.de&gt;
</content>
</entry>
<entry>
<title>fbcon: prevent possible buffer overflow.</title>
<updated>2012-08-23T12:22:46Z</updated>
<author>
<name>Paul Cercueil</name>
<email>paul@crapouillou.net</email>
</author>
<published>2012-07-24T01:00:24Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=e432964a3c5ce517fd93101ae3875172ee958b65'/>
<id>urn:sha1:e432964a3c5ce517fd93101ae3875172ee958b65</id>
<content type='text'>
Signed-off-by: Paul Cercueil &lt;paul@crapouillou.net&gt;
Signed-off-by: Florian Tobias Schandinat &lt;FlorianSchandinat@gmx.de&gt;
</content>
</entry>
<entry>
<title>fbcon: fix race condition between console lock and cursor timer (v1.1)</title>
<updated>2012-08-22T04:00:35Z</updated>
<author>
<name>Dave Airlie</name>
<email>airlied@redhat.com</email>
</author>
<published>2012-08-21T06:29:47Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=d8636a2717bb3da2a7ce2154bf08de90bb8c87b0'/>
<id>urn:sha1:d8636a2717bb3da2a7ce2154bf08de90bb8c87b0</id>
<content type='text'>
So we've had a fair few reports of fbcon handover breakage between
efi/vesafb and i915 surface recently, so I dedicated a couple of
days to finding the problem.

Essentially the last thing we saw was the conflicting framebuffer
message and that was all.

So after much tracing with direct netconsole writes (printks
under console_lock not so useful), I think I found the race.

Thread A (driver load)    Thread B (timer thread)
  unbind_con_driver -&gt;              |
  bind_con_driver -&gt;                |
  vc-&gt;vc_sw-&gt;con_deinit -&gt;          |
  fbcon_deinit -&gt;                   |
  console_lock()                    |
      |                             |
      |                       fbcon_flashcursor timer fires
      |                       console_lock() &lt;- blocked for A
      |
      |
fbcon_del_cursor_timer -&gt;
  del_timer_sync
  (BOOM)

Of course because all of this is under the console lock,
we never see anything, also since we also just unbound the active
console guess what we never see anything.

Hopefully this fixes the problem for anyone seeing vesafb-&gt;kms
driver handoff.

v1.1: add comment suggestion from Alan.

Cc: stable@vger.kernel.org
Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
</content>
</entry>
<entry>
<title>Merge tag 'fbdev-fixes-for-3.5-1' of git://github.com/schandinat/linux-2.6</title>
<updated>2012-06-16T23:59:05Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2012-06-16T23:59:05Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=88c144b12a943d35500dbfc141c9b33955d2a88a'/>
<id>urn:sha1:88c144b12a943d35500dbfc141c9b33955d2a88a</id>
<content type='text'>
Pull fbdev fixes from Florian Tobias Schandinat:

 - two fixes for s3c-fb by Jingoo Han (including a fix for a potential
   division by zero)

 - a couple of randconfig fixes by Arnd Bergmann

 - a cleanup for bfin_adv7393fb by Emil Goode

* tag 'fbdev-fixes-for-3.5-1' of git://github.com/schandinat/linux-2.6:
  video: s3c-fb: fix possible division by zero in s3c_fb_calc_pixclk
  video: s3c-fb: clear SHADOWCON register when clearing hardware window registers
  drivers/tosa: driver needs I2C and SPI to compile
  drivers/savagefb: use mdelay instead of udelay
  video/console: automatically select a font
  video/ili9320: do not mark exported functions __devexit
  drivers/video: use correct __devexit_p annotation
  video: bfin_adv7393fb: Convert to kstrtouint_from_user
</content>
</entry>
<entry>
<title>video/console: automatically select a font</title>
<updated>2012-06-09T12:51:11Z</updated>
<author>
<name>Arnd Bergmann</name>
<email>arnd@arndb.de</email>
</author>
<published>2012-05-15T21:02:59Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=d399099cbba92b247ac323a99ac4c5fa5b0ca68d'/>
<id>urn:sha1:d399099cbba92b247ac323a99ac4c5fa5b0ca68d</id>
<content type='text'>
The frame buffer console needs at least one font to be built into
the kernel, so add the necessary Kconfig magic to guarantee that
one of the available font is always on. If a user accidentally
disables all fonts manually, the 8x16 font will be selected
anyway.

Signed-off-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
Signed-off-by: Mathieu Poirier &lt;mathieu.poirier@linaro.org&gt;
Signed-off-by: Florian Tobias Schandinat &lt;FlorianSchandinat@gmx.de&gt;
</content>
</entry>
<entry>
<title>parisc: move definition of PAGE0 to asm/page.h</title>
<updated>2012-05-10T22:12:08Z</updated>
<author>
<name>Rolf Eike Beer</name>
<email>eike-kernel@sf-tec.de</email>
</author>
<published>2012-05-10T21:08:17Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=4a8a0788a36c923a0229beae5e88d9849e359db5'/>
<id>urn:sha1:4a8a0788a36c923a0229beae5e88d9849e359db5</id>
<content type='text'>
This was defined in asm/pdc.h which needs to include asm/page.h for
__PAGE_OFFSET. This leads to an include loop so that page.h eventually will
include pdc.h again. While this is no problem because of header guards, it is
a problem because some symbols may be undefined. Such an error is this:

In file included from include/linux/bitops.h:35:0,
                 from include/asm-generic/getorder.h:7,
                 from arch/parisc/include/asm/page.h:162,
                 from arch/parisc/include/asm/pdc.h:346,
                 from arch/parisc/include/asm/processor.h:16,
                 from arch/parisc/include/asm/spinlock.h:6,
                 from arch/parisc/include/asm/atomic.h:20,
                 from include/linux/atomic.h:4,
                 from include/linux/sysfs.h:20,
                 from include/linux/kobject.h:21,
                 from include/linux/device.h:17,
                 from include/linux/eisa.h:5,
                 from arch/parisc/kernel/pci.c:11:
arch/parisc/include/asm/bitops.h: In function ‘set_bit’:
arch/parisc/include/asm/bitops.h:82:2: error: implicit declaration of function ‘_atomic_spin_lock_irqsave’ [-Werror=implicit-function-declaration]
arch/parisc/include/asm/bitops.h:84:2: error: implicit declaration of function ‘_atomic_spin_unlock_irqrestore’ [-Werror=implicit-function-declaration]

Signed-off-by: Rolf Eike Beer &lt;eike-kernel@sf-tec.de&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>Remove all #inclusions of asm/system.h</title>
<updated>2012-03-28T17:30:03Z</updated>
<author>
<name>David Howells</name>
<email>dhowells@redhat.com</email>
</author>
<published>2012-03-28T17:30:03Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=9ffc93f203c18a70623f21950f1dd473c9ec48cd'/>
<id>urn:sha1:9ffc93f203c18a70623f21950f1dd473c9ec48cd</id>
<content type='text'>
Remove all #inclusions of asm/system.h preparatory to splitting and killing
it.  Performed with the following command:

perl -p -i -e 's!^#\s*include\s*&lt;asm/system[.]h&gt;.*\n!!' `grep -Irl '^#\s*include\s*&lt;asm/system[.]h&gt;' *`

Signed-off-by: David Howells &lt;dhowells@redhat.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus</title>
<updated>2012-01-14T21:05:21Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2012-01-14T21:05:21Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=4964e0664c80680fa6b28ef91381c076a5b25c2c'/>
<id>urn:sha1:4964e0664c80680fa6b28ef91381c076a5b25c2c</id>
<content type='text'>
* 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus: (119 commits)
  MIPS: Delete unused function add_temporary_entry.
  MIPS: Set default pci cache line size.
  MIPS: Flush huge TLB
  MIPS: Octeon: Remove SYS_SUPPORTS_HIGHMEM.
  MIPS: Octeon: Add support for OCTEON II PCIe
  MIPS: Octeon: Update PCI Latency timer and enable more error reporting.
  MIPS: Alchemy: Update cpu-feature-overrides
  MIPS: Alchemy: db1200: Improve PB1200 detection.
  MIPS: Alchemy: merge Au1000 and Au1300-style IRQ controller code.
  MIPS: Alchemy: chain IRQ controllers to MIPS IRQ controller
  MIPS: Alchemy: irq: register pm at irq init time
  MIPS: Alchemy: Touchscreen support on DB1100
  MIPS: Alchemy: Hook up IrDA on DB1000/DB1100
  net/irda: convert au1k_ir to platform driver.
  MIPS: Alchemy: remove unused board headers
  MTD: nand: make au1550nd.c a platform_driver
  MIPS: Netlogic: Mark Netlogic chips as SMT capable
  MIPS: Netlogic: Add support for XLP 3XX cores
  MIPS: Netlogic: Merge some of XLR/XLP wakup code
  MIPS: Netlogic: Add default XLP config.
  ...

Fix up trivial conflicts in arch/mips/kernel/{perf_event_mipsxx.c,
traps.c} and drivers/tty/serial/Makefile
</content>
</entry>
<entry>
<title>MIPS: GIO bus support for SGI IP22/28</title>
<updated>2011-12-07T22:03:44Z</updated>
<author>
<name>Thomas Bogendoerfer</name>
<email>tsbogend@alpha.franken.de</email>
</author>
<published>2011-11-22T14:38:02Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=e84de0c61905030a0fe66b7210b6f1bb7c3e1eab'/>
<id>urn:sha1:e84de0c61905030a0fe66b7210b6f1bb7c3e1eab</id>
<content type='text'>
SGI IP22/IP28 machines have GIO busses for adding graphics and other
extension cards. This patch adds support for GIO driver/device
handling and converts the newport console driver to a GIO driver.

[ralf@linux-mips.org: Fixed build error caused by the modules.h -&gt; export.h
changes.]

Signed-off-by: Thomas Bogendoerfer &lt;tsbogend@alpha.franken.de&gt;
Acked-by: Florian Tobias Schandinat &lt;FlorianSchandinat@gmx.de&gt;
To: linux-fbdev@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/2886/
Signed-off-by: Ralf Baechle &lt;ralf@linux-mips.org&gt;
</content>
</entry>
<entry>
<title>Merge branch 'master' into for-next</title>
<updated>2011-11-13T19:55:53Z</updated>
<author>
<name>Jiri Kosina</name>
<email>jkosina@suse.cz</email>
</author>
<published>2011-11-13T19:55:35Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=2290c0d06d82faee87b1ab2d9d4f7bf81ef64379'/>
<id>urn:sha1:2290c0d06d82faee87b1ab2d9d4f7bf81ef64379</id>
<content type='text'>
Sync with Linus tree to have 157550ff ("mtd: add GPMI-NAND driver
in the config and Makefile") as I have patch depending on that one.
</content>
</entry>
</feed>
