Skip to content
  1. Mar 21, 2012
    • Sonic Zhang's avatar
      1762275e
    • Bob Liu's avatar
      blackfin:dma: rename bfin_dma_5xx.c to bfin_dma.c · 5ddebe57
      Bob Liu authored
      
      
      bfin_dma_5xx is not a generic name for all blackfin chips.
      
      Signed-off-by: default avatarSonic Zhang <sonic.zhang@analog.com>
      Signed-off-by: default avatarBob Liu <lliubbo@gmail.com>
      5ddebe57
    • Sonic Zhang's avatar
    • Geert Uytterhoeven's avatar
      ce6da7cd
    • Danny Kukawka's avatar
      Blackfin: pnav: delete duplicate linux/export.h include · 0e233fb0
      Danny Kukawka authored
      
      
      arch/blackfin/mach-bf537/boards/pnav10.c includes 'linux/export.h'
      twice.  No need to include the file a second time in a #ifdef block
      if already included at top.  Remove the duplicate.
      
      Signed-off-by: default avatarDanny Kukawka <danny.kukawka@bisect.de>
      Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
      Signed-off-by: default avatarBob Liu <lliubbo@gmail.com>
      0e233fb0
    • Scott Jiang's avatar
      1957b665
    • Bob Liu's avatar
      arch: blackfin: udpate defconfig · 45a93315
      Bob Liu authored
      
      
      choose musb by default for bf527 and bf548.
      
      Signed-off-by: default avatarBob Liu <lliubbo@gmail.com>
      45a93315
    • David Howells's avatar
      Disintegrate asm/system.h for Blackfin [ver #2] · 3bed8d67
      David Howells authored
      
      
      Disintegrate asm/system.h for Blackfin.
      
      Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
      cc: uclinux-dist-devel@blackfin.uclinux.org
      Signed-off-by: default avatarBob Liu <lliubbo@gmail.com>
      3bed8d67
    • Danny Kukawka's avatar
      arch/blackfin: don't generate random mac in bfin_get_ether_addr() · 0eceb82f
      Danny Kukawka authored
      
      
      Changed bfin_get_ether_addr() to return a state and to
      set no random mac address if the board don't provide one.
      
      Let the caller of bfin_get_ether_addr() set a random mac
      address if the return value is not 0.
      
      v2: don't set random mac in bfin_get_ether_addr()
      
      Signed-off-by: default avatarDanny Kukawka <danny.kukawka@bisect.de>
      Acked-by: default avatarMike Frysinger <vapier@gentoo.org>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      Signed-off-by: default avatarBob Liu <lliubbo@gmail.com>
      0eceb82f
    • Mike Frysinger's avatar
      Blackfin: wire up new process_vm syscalls · dd47ba13
      Mike Frysinger authored
      
      
      Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
      Signed-off-by: default avatarBob Liu <lliubbo@gmail.com>
      dd47ba13
    • Bob Liu's avatar
      blackfin: cleanup anomaly workarounds · 0db07a90
      Bob Liu authored
      
      
      cleanup ANOMALY_05000312 and ANOMALY_05000244
      
      Signed-off-by: default avatarRobin Getz <robin.getz@analog.com>
      Signed-off-by: default avatarBob Liu <lliubbo@gmail.com>
      0db07a90
    • Bob Liu's avatar
      blackfin: update default defconfig · ff4db3b1
      Bob Liu authored
      
      
      Update default defconfig by selecting correct net device driver.
      
      Signed-off-by: default avatarBob Liu <lliubbo@gmail.com>
      ff4db3b1
    • Bob Liu's avatar
      blackfin: thread_info: add suspend flag · 563c76ff
      Bob Liu authored
      
      
      Add suspend flag to thread_info for suspend/resume.
      
      Signed-off-by: default avatarBob Liu <lliubbo@gmail.com>
      563c76ff
    • Bob Liu's avatar
      bfin: add bfin_ad73311_machine platform device · 3268968d
      Bob Liu authored
      
      
      we can pass sport enable pin through platform data
      if customer board has reset pin, add it in ad73311_gpio array
      and modify id to 2
      
      Signed-off-by: default avatarScott Jiang <scott.jiang.linux@gmail.com>
      Signed-off-by: default avatarBob Liu <lliubbo@gmail.com>
      3268968d
    • Bob Liu's avatar
      57084ede
    • Bob Liu's avatar
      blackfin: kgdb: skip hardware watchpoint test · a5b44eeb
      Bob Liu authored
      
      
      blackfin doesn't support hardware watchpoint except for over JTAG
      emulator.
      
      Signed-off-by: default avatarSonic Zhang <sonic.zhang@analog.com>
      Signed-off-by: default avatarBob Liu <lliubbo@gmail.com>
      a5b44eeb
    • Scott Jiang's avatar
      4e937ac1
    • Bob Liu's avatar
      blackfin: bf561: forgot CSYNC in get_core_lock_noflush · a5e0d865
      Bob Liu authored
      
      
      SMP kgdb runs into dead loop without this CSYNC when one core single
      steps over get_core_lock_noflush and the other executes get_core_lock
      as a slave node.
      
      Signed-off-by: default avatarSonic Zhang <sonic.zhang@analog.com>
      Signed-off-by: default avatarBob Liu <lliubbo@gmail.com>
      a5e0d865
    • Mike Frysinger's avatar
      spi/bfin_spi: drop bits_per_word from client data · 5d002cce
      Mike Frysinger authored
      
      
      No other SPI controller has this field, and SPI clients should be setting
      this up in their own drivers.  So drop it from the Blackfin controller to
      keep people from using it.
      
      Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
      Signed-off-by: default avatarBob Liu <lliubbo@gmail.com>
      5d002cce
    • Barry Song's avatar
      blackfin: cplb-mpu: fix page mask table overflow · 4936afc6
      Barry Song authored
      
      
      page mask table will overflow without xip related macros.
      
      Signed-off-by: default avatarBarry Song <barry.song@analog.com>
      Signed-off-by: default avatarBob Liu <lliubbo@gmail.com>
      4936afc6
    • Barry Song's avatar
      blackfin: restore L1 base address and length · edd8a97e
      Barry Song authored
      
      
      Restore L1 base address and length to 0 after free else the value will be
      wrong.
      
      Signed-off-by: default avatarBarry Song <barry.song@analog.com>
      Signed-off-by: default avatarBob Liu <lliubbo@gmail.com>
      edd8a97e
    • Steven Miao's avatar
      blackfin: timer: refine bfin simple timer driver · f7899f7c
      Steven Miao authored
      
      
      Add ioctl cmd for gptimer test app and do some codecleanup(remove spaces).
      
      Signed-off-by: default avatarSteven Miao <realmz6@gmail.com>
      Signed-off-by: default avatarBob Liu <lliubbo@gmail.com>
      f7899f7c
    • Steven Miao's avatar
      BF561 MDMA : fixed BF561 DMA MMRs definition mismatch · c72df808
      Steven Miao authored
      
      
      MDMA io base defined in arch/blackfin/mach-bf561/dma.c do not match the
      definition of MDMA MMRs in arch/blackfin/mach-bf561/include/mach/defBF561.h
      
      Signed-off-by: default avatarSteven Miao <realmz6@gmail.com>
      Signed-off-by: default avatarBob Liu <lliubbo@gmail.com>
      c72df808
    • Bob Liu's avatar
      bfin_sport: add support for ADC/DAC. · 7160fc13
      Bob Liu authored
      
      
      In order to support ADC/DAC demo, add NDSO_MODE mode to bfin_sport.c.
      After that userspace apps like ndso/awg can work fine.
      
      Signed-off-by: default avatarBob Liu <lliubbo@gmail.com>
      7160fc13
    • Linus Torvalds's avatar
      Merge branch 'for-3.4' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/wq · e45836fa
      Linus Torvalds authored
      Pull workqueue changes from Tejun Heo:
       "This contains only one commit which cleans up UP allocation path a
        bit."
      
      * 'for-3.4' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/wq:
        workqueue: use percpu allocator for cwq on UP
      e45836fa
    • Linus Torvalds's avatar
      Merge branch 'for-3.4' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup · 0d9cabdc
      Linus Torvalds authored
      Pull cgroup changes from Tejun Heo:
       "Out of the 8 commits, one fixes a long-standing locking issue around
        tasklist walking and others are cleanups."
      
      * 'for-3.4' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup:
        cgroup: Walk task list under tasklist_lock in cgroup_enable_task_cg_list
        cgroup: Remove wrong comment on cgroup_enable_task_cg_list()
        cgroup: remove cgroup_subsys argument from callbacks
        cgroup: remove extra calls to find_existing_css_set
        cgroup: replace tasklist_lock with rcu_read_lock
        cgroup: simplify double-check locking in cgroup_attach_proc
        cgroup: move struct cgroup_pidlist out from the header file
        cgroup: remove cgroup_attach_task_current_cg()
      0d9cabdc
    • Oleg Nesterov's avatar
      exec: move de_thread()->setmax_mm_hiwater_rss() into exec_mmap() · 701085b2
      Oleg Nesterov authored
      
      
      Minor cleanup. de_thread()->setmax_mm_hiwater_rss() looks a bit
      strange, move it into exec_mmap() which plays with old_mm.
      
      Signed-off-by: default avatarOleg Nesterov <oleg@redhat.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      701085b2
    • Oleg Nesterov's avatar
      exit_signal: fix the "parent has changed security domain" logic · b6e238dc
      Oleg Nesterov authored
      
      
      exit_notify() changes ->exit_signal if the parent already did exec.
      This doesn't really work, we are not going to send the signal now
      if there is another live thread or the exiting task is traced. The
      parent can exec before the last dies or the tracer detaches.
      
      Move this check into do_notify_parent() which actually sends the
      signal.
      
      The user-visible change is that we do not change ->exit_signal,
      and thus the exiting task is still "clone children" for
      do_wait()->eligible_child(__WCLONE). Hopefully this is fine, the
      current logic is racy anyway.
      
      Signed-off-by: default avatarOleg Nesterov <oleg@redhat.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      b6e238dc
    • Oleg Nesterov's avatar
      exit_signal: simplify the "we have changed execution domain" logic · e6368253
      Oleg Nesterov authored
      
      
      exit_notify() checks "tsk->self_exec_id != tsk->parent_exec_id"
      to handle the "we have changed execution domain" case.
      
      We can change do_thread() to always set ->exit_signal = SIGCHLD
      and remove this check to simplify the code.
      
      We could change setup_new_exec() instead, this looks more logical
      because it increments ->self_exec_id. But note that de_thread()
      already resets ->exit_signal if it changes the leader, let's keep
      both changes close to each other.
      
      Note that we change ->exit_signal lockless, this changes the rules.
      Thereafter ->exit_signal is not stable under tasklist but this is
      fine, the only possible change is OLDSIG -> SIGCHLD. This can race
      with eligible_child() but the race is harmless. We can race with
      reparent_leader() which changes our ->exit_signal in parallel, but
      it does the same change to SIGCHLD.
      
      The noticeable user-visible change is that the execing task is not
      "visible" to do_wait()->eligible_child(__WCLONE) right after exec.
      To me this looks more logical, and this is consistent with mt case.
      
      Signed-off-by: default avatarOleg Nesterov <oleg@redhat.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      e6368253
    • Oleg Nesterov's avatar
      CLONE_PARENT shouldn't allow to set ->exit_signal · 5f8aadd8
      Oleg Nesterov authored
      
      
      The child must not control its ->exit_signal, it is the parent who
      decides which signal the child should use for notification.
      
      This means that CLONE_PARENT should not use "clone_flags & CSIGNAL",
      the forking task is the sibling of the new process and their parent
      doesn't control exit_signal in this case.
      
      This patch uses ->exit_signal of the forking process, but perhaps
      we should simply use SIGCHLD.
      
      We read group_leader->exit_signal lockless, this can race with the
      ORIGINAL_SIGNAL -> SIGCHLD transition, but this is fine.
      
      Potentially this change allows to kill self_exec_id/parent_exec_id.
      
      Signed-off-by: default avatarOleg Nesterov <oleg@redhat.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      5f8aadd8
    • Linus Torvalds's avatar
      Merge tag 'usb-3.3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb · ed378a52
      Linus Torvalds authored
      Pull USB merge for 3.4-rc1 from Greg KH:
       "Here's the big USB merge for the 3.4-rc1 merge window.
      
        Lots of gadget driver reworks here, driver updates, xhci changes, some
        new drivers added, usb-serial core reworking to fix some bugs, and
        other various minor things.
      
        There are some patches touching arch code, but they have all been
        acked by the various arch maintainers."
      
      * tag 'usb-3.3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb: (302 commits)
        net: qmi_wwan: add support for ZTE MF820D
        USB: option: add ZTE MF820D
        usb: gadget: f_fs: Remove lock is held before freeing checks
        USB: option: make interface blacklist work again
        usb/ub: deprecate & schedule for removal the "Low Performance USB Block" driver
        USB: ohci-pxa27x: add clk_prepare/clk_unprepare calls
        USB: use generic platform driver on ath79
        USB: EHCI: Add a generic platform device driver
        USB: OHCI: Add a generic platform device driver
        USB: ftdi_sio: new PID: LUMEL PD12
        USB: ftdi_sio: add support for FT-X series devices
        USB: serial: mos7840: Fixed MCS7820 device attach problem
        usb: Don't make USB_ARCH_HAS_{XHCI,OHCI,EHCI} depend on USB_SUPPORT.
        usb gadget: fix a section mismatch when compiling g_ffs with CONFIG_USB_FUNCTIONFS_ETH
        USB: ohci-nxp: Remove i2c_write(), use smbus
        USB: ohci-nxp: Support for LPC32xx
        USB: ohci-nxp: Rename symbols from pnx4008 to nxp
        USB: OHCI-HCD: Rename ohci-pnx4008 to ohci-nxp
        usb: gadget: Kconfig: fix typo for 'different'
        usb: dwc3: pci: fix another failure path in dwc3_pci_probe()
        ...
      ed378a52
    • Linus Torvalds's avatar
      Merge tag 'tty-3.3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty · 843ec558
      Linus Torvalds authored
      Pull TTY/serial patches from Greg KH:
       "tty and serial merge for 3.4-rc1
      
        Here's the big serial and tty merge for the 3.4-rc1 tree.
      
        There's loads of fixes and reworks in here from Jiri for the tty
        layer, and a number of patches from Alan to help try to wrestle the vt
        layer into a sane model.
      
        Other than that, lots of driver updates and fixes, and other minor
        stuff, all detailed in the shortlog."
      
      * tag 'tty-3.3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty: (132 commits)
        serial: pxa: add clk_prepare/clk_unprepare calls
        TTY: Wrong unicode value copied in con_set_unimap()
        serial: PL011: clear pending interrupts
        serial: bfin-uart: Don't access tty circular buffer in TX DMA interrupt after it is reset.
        vt: NULL dereference in vt_do_kdsk_ioctl()
        tty: serial: vt8500: fix annotations for probe/remove
        serial: remove back and forth conversions in serial_out_sync
        serial: use serial_port_in/out vs serial_in/out in 8250
        serial: introduce generic port in/out helpers
        serial: reduce number of indirections in 8250 code
        serial: delete useless void casts in 8250.c
        serial: make 8250's serial_in shareable to other drivers.
        serial: delete last unused traces of pausing I/O in 8250
        pch_uart: Add module parameter descriptions
        pch_uart: Use existing default_baud in setup_console
        pch_uart: Add user_uartclk parameter
        pch_uart: Add Fish River Island II uart clock quirks
        pch_uart: Use uartclk instead of base_baud
        mpc5200b/uart: select more tolerant uart prescaler on low baudrates
        tty: moxa: fix bit test in moxa_start()
        ...
      843ec558
    • Linus Torvalds's avatar
      Merge tag 'staging-3.3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging · 71e7ff25
      Linus Torvalds authored
      Pull big staging driver updates from Greg KH:
       "Here is the big drivers/staging/ merge for 3.4-rc1
      
        Lots of new driver updates here, with the addition of a few new ones,
        and only one moving out of the staging tree to the "real" part of the
        kernel (the hyperv scsi driver, acked by the scsi maintainer).
      
        There are also loads of cleanups, fixes, and other minor things in
        here, all self-contained in the drivers/staging/ tree.
      
        Overall we reversed the recent trend by adding more lines than we
        removed:
         379 files changed, 37952 insertions(+), 14153 deletions(-)"
      
      * tag 'staging-3.3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging: (360 commits)
        staging/zmem: Use lockdep_assert_held instead of spin_is_locked
        Staging: rtl8187se: r8180_wx.c: Cleaned up comments
        Staging: rtl8187se: r8180_wx.c: Removed old comments
        Staging: rtl8187se: r8180_dm.c: Removed old comments
        Staging: android: ram_console.c:
        Staging: rtl8187se: r8180_dm.c: Fix comments
        Staging: rtl8187se: r8180_dm.c: Fix spacing issues
        Staging: rtl8187se: r8180_dm.c Fixed indentation issues
        Staging: rtl8187se: r8180_dm.c: Fix brackets
        Staging: rtl8187se: r8180_dm.c: Removed spaces before tab stop
        staging: vme: fix section mismatches in linux-next 20120314
        Staging: rtl8187se: r8180_core.c: Fix some long line issues
        Staging: rtl8187se: r8180_core.c: Fix some spacing issues
        Staging: rtl8187se: r8180_core.c: Removed trailing spaces
        staging: mei: remove driver internal versioning
        Staging: rtl8187se: r8180_core.c: Cleaned up if statement
        staging: ozwpan depends on NET
        staging: ozwpan: added maintainer for ozwpan driver
        staging/mei: propagate error codes up in the write flow
        drivers:staging:mei Fix some typos in staging/mei
        ...
      71e7ff25
    • Linus Torvalds's avatar
      Merge tag 'driver-core-3.3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core · 4a522463
      Linus Torvalds authored
      Pull driver core patches for 3.4-rc1 from Greg KH:
       "Here's the big driver core merge for 3.4-rc1.
      
        Lots of various things here, sysfs fixes/tweaks (with the nlink
        breakage reverted), dynamic debugging updates, w1 drivers, hyperv
        driver updates, and a variety of other bits and pieces, full
        information in the shortlog."
      
      * tag 'driver-core-3.3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core: (78 commits)
        Tools: hv: Support enumeration from all the pools
        Tools: hv: Fully support the new KVP verbs in the user level daemon
        Drivers: hv: Support the newly introduced KVP messages in the driver
        Drivers: hv: Add new message types to enhance KVP
        regulator: Support driver probe deferral
        Revert "sysfs: Kill nlink counting."
        uevent: send events in correct order according to seqnum (v3)
        driver core: minor comment formatting cleanups
        driver core: move the deferred probe pointer into the private area
        drivercore: Add driver probe deferral mechanism
        DS2781 Maxim Stand-Alone Fuel Gauge battery and w1 slave drivers
        w1_bq27000: Only one thread can access the bq27000 at a time.
        w1_bq27000 - remove w1_bq27000_write
        w1_bq27000: remove unnecessary NULL test.
        sysfs: Fix memory leak in sysfs_sd_setsecdata().
        intel_idle: Revert change of auto_demotion_disable_flags for Nehalem
        w1: Fix w1_bq27000
        driver-core: documentation: fix up Greg's email address
        powernow-k6: Really enable auto-loading
        powernow-k7: Fix CPU family number
        ...
      4a522463
    • Linus Torvalds's avatar
      Merge tag 'char-misc-3.3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc · 9f9d2760
      Linus Torvalds authored
      Pull char and misc patches for 3.4-rc1 from Greg KH:
       "Not much here, just a few minor fixes and some conversions to the
        module_*_driver() functions, making the codebase smaller."
      
      * tag 'char-misc-3.3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc:
        misc: bmp085: Use unsigned long to store jiffies
        char/ramoops: included linux/err.h twice
        misc: bmp085: Handle jiffies overflow correctly
        misc: fsa9480: Remove obsolete cleanup for clientdata
        char: Fix typo in tlclk.c
        char: Fix typo in viotape.c
        cs5535-mfgpt: don't call __init function from __devinit
        MISC: convert drivers/misc/* to use module_spi_driver()
        MISC: convert drivers/misc/* to use module_i2c_driver()
        MISC: convert drivers/misc/* to use module_platform_driver()
      9f9d2760
    • Dan Carpenter's avatar
      AFS: checking wrong bit in afs_readpages() · ad2a8e60
      Dan Carpenter authored
      
      
      We should be testing "if (vnode->flags & (1 << 4))" instead of
      "if (vnode->flags & 4) {".  The current test checks if the data was
      modified instead of deleted.
      
      Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
      Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      ad2a8e60
    • Linus Torvalds's avatar
      Merge branch 'timers-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 161f7a71
      Linus Torvalds authored
      Pull timer changes for v3.4 from Ingo Molnar
      
      * 'timers-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (32 commits)
        ntp: Fix integer overflow when setting time
        math: Introduce div64_long
        cs5535-clockevt: Allow the MFGPT IRQ to be shared
        cs5535-clockevt: Don't ignore MFGPT on SMP-capable kernels
        x86/time: Eliminate unused irq0_irqs counter
        clocksource: scx200_hrt: Fix the build
        x86/tsc: Reduce the TSC sync check time for core-siblings
        timer: Fix bad idle check on irq entry
        nohz: Remove ts->Einidle checks before restarting the tick
        nohz: Remove update_ts_time_stat from tick_nohz_start_idle
        clockevents: Leave the broadcast device in shutdown mode when not needed
        clocksource: Load the ACPI PM clocksource asynchronously
        clocksource: scx200_hrt: Convert scx200 to use clocksource_register_hz
        clocksource: Get rid of clocksource_calc_mult_shift()
        clocksource: dbx500: convert to clocksource_register_hz()
        clocksource: scx200_hrt:  use pr_<level> instead of printk
        time: Move common updates to a function
        time: Reorder so the hot data is together
        time: Remove most of xtime_lock usage in timekeeping.c
        ntp: Add ntp_lock to replace xtime_locking
        ...
      161f7a71
    • Linus Torvalds's avatar
      Merge branch 'sched-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 2ba68940
      Linus Torvalds authored
      Pull scheduler changes for v3.4 from Ingo Molnar
      
      * 'sched-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (27 commits)
        printk: Make it compile with !CONFIG_PRINTK
        sched/x86: Fix overflow in cyc2ns_offset
        sched: Fix nohz load accounting -- again!
        sched: Update yield() docs
        printk/sched: Introduce special printk_sched() for those awkward moments
        sched/nohz: Correctly initialize 'next_balance' in 'nohz' idle balancer
        sched: Cleanup cpu_active madness
        sched: Fix load-balance wreckage
        sched: Clean up parameter passing of proc_sched_autogroup_set_nice()
        sched: Ditch per cgroup task lists for load-balancing
        sched: Rename load-balancing fields
        sched: Move load-balancing arguments into helper struct
        sched/rt: Do not submit new work when PI-blocked
        sched/rt: Prevent idle task boosting
        sched/wait: Add __wake_up_all_locked() API
        sched/rt: Document scheduler related skip-resched-check sites
        sched/rt: Use schedule_preempt_disabled()
        sched/rt: Add schedule_preempt_disabled()
        sched/rt: Do not throttle when PI boosting
        sched/rt: Keep period timer ticking when rt throttling is active
        ...
      2ba68940
    • Linus Torvalds's avatar
      Merge branch 'perf-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 9c2b957d
      Linus Torvalds authored
      Pull perf events changes for v3.4 from Ingo Molnar:
      
       - New "hardware based branch profiling" feature both on the kernel and
         the tooling side, on CPUs that support it.  (modern x86 Intel CPUs
         with the 'LBR' hardware feature currently.)
      
         This new feature is basically a sophisticated 'magnifying glass' for
         branch execution - something that is pretty difficult to extract from
         regular, function histogram centric profiles.
      
         The simplest mode is activated via 'perf record -b', and the result
         looks like this in perf report:
      
      	$ perf record -b any_call,u -e cycles:u branchy
      
      	$ perf report -b --sort=symbol
      	    52.34%  [.] main                   [.] f1
      	    24.04%  [.] f1                     [.] f3
      	    23.60%  [.] f1                     [.] f2
      	     0.01%  [k] _IO_new_file_xsputn    [k] _IO_file_overflow
      	     0.01%  [k] _IO_vfprintf_internal  [k] _IO_new_file_xsputn
      	     0.01%  [k] _IO_vfprintf_internal  [k] strchrnul
      	     0.01%  [k] __printf               [k] _IO_vfprintf_internal
      	     0.01%  [k] main                   [k] __printf
      
         This output shows from/to branch columns and shows the highest
         percentage (from,to) jump combinations - i.e.  the most likely taken
         branches in the system.  "branches" can also include function calls
         and any other synchronous and asynchronous transitions of the
         instruction pointer that are not 'next instruction' - such as system
         calls, traps, interrupts, etc.
      
         This feature comes with (hopefully intuitive) flat ascii and TUI
         support in perf report.
      
       - Various 'perf annotate' visual improvements for us assembly junkies.
         It will now recognize function calls in the TUI and by hitting enter
         you can follow the call (recursively) and back, amongst other
         improvements.
      
       - Multiple threads/processes recording support in perf record, perf
         stat, perf top - which is activated via a comma-list of PIDs:
      
      	perf top -p 21483,21485
      	perf stat -p 21483,21485 -ddd
      	perf record -p 21483,21485
      
       - Support for per UID views, via the --uid paramter to perf top, perf
         report, etc.  For example 'perf top --uid mingo' will only show the
         tasks that I am running, excluding other users, root, etc.
      
       - Jump label restructurings and improvements - this includes the
         factoring out of the (hopefully much clearer) include/linux/static_key.h
         generic facility:
      
      	struct static_key key = STATIC_KEY_INIT_FALSE;
      
      	...
      
      	if (static_key_false(&key))
      	        do unlikely code
      	else
      	        do likely code
      
      	...
      	static_key_slow_inc();
      	...
      	static_key_slow_inc();
      	...
      
         The static_key_false() branch will be generated into the code with as
         little impact to the likely code path as possible.  the
         static_key_slow_*() APIs flip the branch via live kernel code patching.
      
         This facility can now be used more widely within the kernel to
         micro-optimize hot branches whose likelihood matches the static-key
         usage and fast/slow cost patterns.
      
       - SW function tracer improvements: perf support and filtering support.
      
       - Various hardenings of the perf.data ABI, to make older perf.data's
         smoother on newer tool versions, to make new features integrate more
         smoothly, to support cross-endian recording/analyzing workflows
         better, etc.
      
       - Restructuring of the kprobes code, the splitting out of 'optprobes',
         and a corner case bugfix.
      
       - Allow the tracing of kernel console output (printk).
      
       - Improvements/fixes to user-space RDPMC support, allowing user-space
         self-profiling code to extract PMU counts without performing any
         system calls, while playing nice with the kernel side.
      
       - 'perf bench' improvements
      
       - ... and lots of internal restructurings, cleanups and fixes that made
         these features possible.  And, as usual this list is incomplete as
         there were also lots of other improvements
      
      * 'perf-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (120 commits)
        perf report: Fix annotate double quit issue in branch view mode
        perf report: Remove duplicate annotate choice in branch view mode
        perf/x86: Prettify pmu config literals
        perf report: Enable TUI in branch view mode
        perf report: Auto-detect branch stack sampling mode
        perf record: Add HEADER_BRANCH_STACK tag
        perf record: Provide default branch stack sampling mode option
        perf tools: Make perf able to read files from older ABIs
        perf tools: Fix ABI compatibility bug in print_event_desc()
        perf tools: Enable reading of perf.data files from different ABI rev
        perf: Add ABI reference sizes
        perf report: Add support for taken branch sampling
        perf record: Add support for sampling taken branch
        perf tools: Add code to support PERF_SAMPLE_BRANCH_STACK
        x86/kprobes: Split out optprobe related code to kprobes-opt.c
        x86/kprobes: Fix a bug which can modify kernel code permanently
        x86/kprobes: Fix instruction recovery on optimized path
        perf: Add callback to flush branch_stack on context switch
        perf: Disable PERF_SAMPLE_BRANCH_* when not supported
        perf/x86: Add LBR software filter support for Intel CPUs
        ...
      9c2b957d
    • Linus Torvalds's avatar
      Merge branch 'irq-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 0bbfcaff
      Linus Torvalds authored
      Pull irq/core changes for v3.4 from Ingo Molnar
      
      * 'irq-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        genirq: Remove paranoid warnons and bogus fixups
        genirq: Flush the irq thread on synchronization
        genirq: Get rid of unnecessary IRQTF_DIED flag
        genirq: No need to check IRQTF_DIED before stopping a thread handler
        genirq: Get rid of unnecessary irqaction field in task_struct
        genirq: Fix incorrect check for forced IRQ thread handler
        softirq: Reduce invoke_softirq() code duplication
        genirq: Fix long-term regression in genirq irq_set_irq_type() handling
        x86-32/irq: Don't switch to irq stack for a user-mode irq
      0bbfcaff