1. 24 Mar, 2011 2 commits
    • Namhyung Kim's avatar
      x86, dumpstack: Use %pB format specifier for stack trace · 71f9e598
      Namhyung Kim authored
      Improve noreturn function entries in call traces:
      
      Before:
      
       Call Trace:
        [<ffffffff812a8502>] panic+0x8c/0x18d
        [<ffffffffa000012a>] deep01+0x0/0x38 [test_panic]  <--- bad
        [<ffffffff81104666>] proc_file_write+0x73/0x8d
        [<ffffffff811000b3>] proc_reg_write+0x8d/0xac
        [<ffffffff810c7d32>] vfs_write+0xa1/0xc5
        [<ffffffff810c7e0f>] sys_write+0x45/0x6c
        [<ffffffff8f02943b>] system_call_fastpath+0x16/0x1b
      
      After:
      
       Call Trace:
        [<ffffffff812bce69>] panic+0x8c/0x18d
        [<ffffffffa000012a>] panic_write+0x20/0x20 [test_panic] <--- good
        [<ffffffff81115fab>] proc_file_write+0x73/0x8d
        [<ffffffff81111a5f>] proc_reg_write+0x8d/0xac
        [<ffffffff810d90ee>] vfs_write+0xa1/0xc5
        [<ffffffff810d91cb>] sys_write+0x45/0x6c
        [<ffffffff812c07fb>] system_call_fastpath+0x16/0x1b
      Signed-off-by: default avatarNamhyung Kim <namhyung@gmail.com>
      Acked-by: default avatarFrederic Weisbecker <fweisbec@gmail.com>
      Cc: Steven Rostedt <rostedt@goodmis.org>
      Cc: Linus Torvalds <torvalds@linux-foundation.org>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      LKML-Reference: <1300934550-21394-2-git-send-email-namhyung@gmail.com>
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      71f9e598
    • Namhyung Kim's avatar
      vsprintf: Introduce %pB format specifier · 0f77a8d3
      Namhyung Kim authored
      The %pB format specifier is for stack backtrace. Its handler
      sprint_backtrace() does symbol lookup using (address-1) to
      ensure the address will not point outside of the function.
      
      If there is a tail-call to the function marked "noreturn",
      gcc optimized out the code after the call then causes saved
      return address points outside of the function (i.e. the start
      of the next function), so pollutes call trace somewhat.
      
      This patch adds the %pB printk mechanism that allows architecture
      call-trace printout functions to improve backtrace printouts.
      Signed-off-by: default avatarNamhyung Kim <namhyung@gmail.com>
      Acked-by: default avatarSteven Rostedt <rostedt@goodmis.org>
      Acked-by: default avatarFrederic Weisbecker <fweisbec@gmail.com>
      Cc: Linus Torvalds <torvalds@linux-foundation.org>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Cc: linux-arch@vger.kernel.org
      LKML-Reference: <1300934550-21394-1-git-send-email-namhyung@gmail.com>
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      0f77a8d3
  2. 23 Mar, 2011 1 commit
  3. 21 Mar, 2011 6 commits
  4. 20 Mar, 2011 13 commits
  5. 19 Mar, 2011 6 commits
    • Dmitry Torokhov's avatar
      Merge branch 'next' into for-linus · 97eb3f24
      Dmitry Torokhov authored
      97eb3f24
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ryusuke/nilfs2 · 5bab188a
      Linus Torvalds authored
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ryusuke/nilfs2:
        nilfs2: move NILFS_SUPER_MAGIC to linux/magic.h
        nilfs2: get rid of nilfs_sb_info structure
        nilfs2: use sb instance instead of nilfs_sb_info struct
        nilfs2: get rid of sc_sbi back pointer
        nilfs2: move log writer onto nilfs object
        nilfs2: move next generation counter into nilfs object
        nilfs2: move s_inode_lock and s_dirty_files into nilfs object
        nilfs2: move parameters on nilfs_sb_info into nilfs object
        nilfs2: move mount options to nilfs object
        nilfs2: record used amount of each checkpoint in checkpoint list
        nilfs2: optimize rec_len functions
        nilfs2: append blocksize info to warnings during loading super blocks
        nilfs2: add compat ioctl
        nilfs2: implement FS_IOC_GETFLAGS/SETFLAGS/GETVERSION
        nilfs2: tighten restrictions on inode flags
        nilfs2: mark S_NOATIME on inodes only if NOATIME attribute is set
        nilfs2: use common file attribute macros
        nilfs2: add free entries count only if clear bit operation succeeded
        nilfs2: decrement inodes count only if raw inode was successfully deleted
      5bab188a
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc · a8c91da5
      Linus Torvalds authored
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc: (53 commits)
        mmc: dw_mmc: support mmc power control with regulator
        mmc: dw_mmc: fix suspend/resume operation
        mmc: dw_mmc: add quirks for unreliable card detect, and capabilities
        mmc: tmio: fix address in kunmap_atomic() calls
        mmc: core: reset card voltage after power off
        mmc: core: export function mmc_do_release_host()
        mmc: sdio: remember new card RCA when redetecting card
        mmc: dw_mmc: Remove set-but-unused variable.
        mmc: sdhci-esdhc-imx: add card detect on custom GPIO for mx25/35
        mmc: sdhci-esdhc: broken card detection is not a default quirk
        mmc: sdhci-esdhc-imx: add write protect on custom GPIO on mx25/35
        mmc: msm_sdcc: remove needless cache flush after dma_unmap_sg()
        mmc: sh_mmcif: support aggressive clock gating
        mmc: check if mmc cards < 2GB do sector addressing
        mmc: core: comment on why sdio_reset is done at init time
        mmc: dw_mmc: support DDR mode
        mmc: via-sdmmc: Remove set-but-unused variable.
        mmc: cb710: Return err value in cb710_wait_while_busy()
        mmc: sdhci-pci: Remove set-but-unused variable.
        mmc: mxs-mmc: add mmc host driver for i.MX23/28
        ...
      a8c91da5
    • Linus Torvalds's avatar
      26b95cac
    • Linus Torvalds's avatar
      Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-2.6-mn10300 · 2c1d2470
      Linus Torvalds authored
      * 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-2.6-mn10300:
        MN10300: Clear ASB2364 peripheral interrupt masks before enabling interrupts
        MN10300: Fix the ASB2364 gdbport UART register defs
        MN10300: Fix ASB2364 FPGA register defs
        MN10300: Select GENERIC_HARDIRQS_NO_DEPRECATED
        MN10300: Select HAVE_GENERIC_HARDIRQS rather than GENERIC_HARDIRQS
        MN10300: Convert ASB2364 FPGA irq_chip to new functions
        MN10300: Convert ipi irq_chip to new functions
        MN10300: Convert serial irq_chip to new functions
        MN10300: Convert cpu irq_chips to new functions
        MN10300: Remove unused mn10300_intc_* functions
        MN10300: Remove stale irq_chip.end - V2
        MN10300: Use clockevents_calc_mult_shift()
        MN10300: Use clocksource_register_hz()
        MN10300: Remove stale code
      2c1d2470
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vapier/blackfin · 664322a4
      Linus Torvalds authored
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vapier/blackfin: (32 commits)
        Blackfin: ip0x: fix unused variable warning
        Blackfin: punt unused HDMA masks
        Blackfin: wire up new syscalls
        Blackfin/ipipe: restore pipeline bits in irqflags
        Blackfin/ipipe: fix deferred pipeline sync for the root stage
        Blackfin/ipipe: upgrade to I-pipe mainline
        Blackfin: cpufreq: fix typos
        Blackfin: enable GENERIC_HARDIRQS_NO_DEPRECATED
        Blackfin: SMP: convert to irq chip functions
        Blackfin: use accessor functions in show_interrupts()
        Blackfin: use proper wrapper functions for modifying irq status
        Blackfin: convert gpio irq_chip to new functions
        Blackfin: convert mac irq_chip to new functions
        Blackfin: convert error irq_chip to new functions
        Blackfin: convert internal irq_chip to new functions
        Blackfin: convert core irq_chip to new functions
        Blackfin: use proper wrappers for irq_desc
        Blackfin: optimize startup code
        Blackfin: SMP: work around anomaly 05000491
        Blackfin: SMP: implement cpu_freq support
        ...
      664322a4
  6. 18 Mar, 2011 12 commits