)]}'
{
  "commit": "232fb69a53a5ec3f22a8104d447abe4806848a8f",
  "tree": "a454904b343b0d58db180f8d030a2aae8b8c1a86",
  "parents": [
    "b53cde3557b8f97e6a635782875d442551a89bf1"
  ],
  "author": {
    "name": "Oleg Nesterov",
    "email": "oleg@tv-sign.ru",
    "time": "Wed Oct 15 22:03:57 2008 -0700"
  },
  "committer": {
    "name": "Linus Torvalds",
    "email": "torvalds@linux-foundation.org",
    "time": "Thu Oct 16 11:21:45 2008 -0700"
  },
  "message": "fbcon_set_all_vcs: fix kernel crash when switching the rotated consoles\n\necho 3 \u003e\u003e /sys/class/graphics/fbcon/rotate_all, then switch to another\nconsole. Result:\n\n\tBUG: unable to handle kernel paging request at ffffc20005d00000\n\tIP: [bitfill_aligned+149/265] bitfill_aligned+0x95/0x109\n\tPGD 7e228067 PUD 7e229067 PMD 7bc1f067 PTE 0\n\tOops: 0002 [1] SMP\n\tCPU 1\n\tModules linked in: [...a lot...]\n\tPid: 10, comm: events/1 Not tainted 2.6.26.5-45.fc9.x86_64 #1\n\tRIP: 0010:[bitfill_aligned+149/265]  [bitfill_aligned+149/265] bitfill_aligned+0x95/0x109\n\tRSP: 0018:ffff81007d811bc8  EFLAGS: 00010216\n\tRAX: ffffc20005d00000 RBX: 0000000000000000 RCX: 0000000000000400\n\tRDX: 0000000000000000 RSI: ffffc20005d00000 RDI: ffffffffffffffff\n\tRBP: ffff81007d811be0 R08: 0000000000000400 R09: 0000000000000040\n\tR10: 0000000000000000 R11: 0000000000000000 R12: 0000000000010000\n\tR13: ffffffff811632f0 R14: 0000000000000006 R15: ffff81007cb85400\n\tFS:  0000000000000000(0000) GS:ffff81007e004780(0000) knlGS:0000000000000000\n\tCS:  0010 DS: 0018 ES: 0018 CR0: 000000008005003b\n\tCR2: ffffc20005d00000 CR3: 0000000000201000 CR4: 00000000000006e0\n\tDR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000\n\tDR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400\n\tProcess events/1 (pid: 10, threadinfo ffff81007d810000, task ffff81007d808000)\n\tStack:  ffff81007c9d75a0 0000000000000000 0000000000000000 ffff81007d811c80\n\t ffffffff81163a61 ffff810000000000 ffffffff8115f9c8 0000001000000000\n\t 0000000100aaaaaa 000000007cd0d4a0 fffffd8a00000800 0001000000000000\n\tCall Trace:\n\t [cfb_fillrect+523/798] cfb_fillrect+0x20b/0x31e\n\t [soft_cursor+416/436] ? soft_cursor+0x1a0/0x1b4\n\t [ccw_clear_margins+205/263] ccw_clear_margins+0xcd/0x107\n\t [fbcon_clear_margins+59/61] fbcon_clear_margins+0x3b/0x3d\n\t [fbcon_switch+1291/1466] fbcon_switch+0x50b/0x5ba\n\t [redraw_screen+261/481] redraw_screen+0x105/0x1e1\n\t [ccw_cursor+0/1869] ? ccw_cursor+0x0/0x74d\n\t [complete_change_console+48/190] complete_change_console+0x30/0xbe\n\t [change_console+115/120] change_console+0x73/0x78\n\t [console_callback+0/292] ? console_callback+0x0/0x124\n\t [console_callback+97/292] console_callback+0x61/0x124\n\t [schedule_delayed_work+25/30] ? schedule_delayed_work+0x19/0x1e\n\t [run_workqueue+139/282] run_workqueue+0x8b/0x11a\n\t [worker_thread+221/238] worker_thread+0xdd/0xee\n\t [autoremove_wake_function+0/56] ? autoremove_wake_function+0x0/0x38\n\t [worker_thread+0/238] ? worker_thread+0x0/0xee\n\t [kthread+73/118] kthread+0x49/0x76\n\t [child_rip+10/18] child_rip+0xa/0x12\n\t [kthread+0/118] ? kthread+0x0/0x76\n\t [child_rip+0/18] ? child_rip+0x0/0x12\n\nBecause fbcon_set_all_vcs()-\u003eFBCON_SWAP() uses display-\u003erotate \u003d\u003d 0 instead\nof fbcon_ops-\u003erotate, and vc_resize() has no effect because it is called with\nnew_cols/rows \u003d\u003d -\u003evc_cols/rows.\n\nTested on 2.6.26.5-45.fc9.x86_64, but\nhttp://git.kernel.org/?p\u003dlinux/kernel/git/torvalds/linux-2.6.git seems to\nhave the same problem.\n\nSigned-off-by: Oleg Nesterov \u003coleg@tv-sign.ru\u003e\nCc: Krzysztof Helt \u003ckrzysztof.h1@poczta.fm\u003e\nCc: \u003cstable@kernel.org\u003e\t[2.6.27.x, 2.6.26.x, maybe 2.6.25.x]\nSigned-off-by: Andrew Morton \u003cakpm@linux-foundation.org\u003e\nSigned-off-by: Linus Torvalds \u003ctorvalds@linux-foundation.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "da91bb16da8a1c530b7d4e7edccaef928876fee6",
      "old_mode": 33188,
      "old_path": "drivers/video/console/fbcon.c",
      "new_id": "93a080e827ccc8cbf4370df966096170190701a4",
      "new_mode": 33188,
      "new_path": "drivers/video/console/fbcon.c"
    }
  ]
}
