1. 30 Jan, 2015 4 commits
  2. 28 Jan, 2015 2 commits
    • Mike Galbraith's avatar
      sched: Fix crash if cpuset_cpumask_can_shrink() is passed an empty cpumask · bb2bc55a
      Mike Galbraith authored
      While creating an exclusive cpuset, we passed cpuset_cpumask_can_shrink()
      an empty cpumask (cur), and dl_bw_of(cpumask_any(cur)) made boom with it:
      
       CPU: 0 PID: 6942 Comm: shield.sh Not tainted 3.19.0-master #19
       Hardware name: MEDIONPC MS-7502/MS-7502, BIOS 6.00 PG 12/26/2007
       task: ffff880224552450 ti: ffff8800caab8000 task.ti: ffff8800caab8000
       RIP: 0010:[<ffffffff81073846>]  [<ffffffff81073846>] cpuset_cpumask_can_shrink+0x56/0xb0
       [...]
       Call Trace:
        [<ffffffff810cb82a>] validate_change+0x18a/0x200
        [<ffffffff810cc877>] cpuset_write_resmask+0x3b7/0x720
        [<ffffffff810c4d58>] cgroup_file_write+0x38/0x100
        [<ffffffff811d953a>] kernfs_fop_write+0x12a/0x180
        [<ffffffff8116e1a3>] vfs_write+0xb3/0x1d0
        [<ffffffff8116ed06>] SyS_write+0x46/0xb0
        [<ffffffff8159ced6>] system_call_fastpath+0x16/0x1b
      Signed-off-by: default avatarMike Galbraith <umgwanakikbuti@gmail.com>
      Acked-by: default avatarZefan Li <lizefan@huawei.com>
      Fixes: f82f8042 ("sched/deadline: Ensure that updates to exclusive cpusets don't break AC")
      Signed-off-by: default avatarPeter Zijlstra (Intel) <peterz@infradead.org>
      Cc: Linus Torvalds <torvalds@linux-foundation.org>
      Link: http://lkml.kernel.org/r/1422417235.5716.5.camel@marge.simpson.netSigned-off-by: default avatarIngo Molnar <mingo@kernel.org>
      bb2bc55a
    • Jan Beulich's avatar
      sched/fair: Avoid using uninitialized variable in preferred_group_nid() · 81907478
      Jan Beulich authored
      At least some gcc versions - validly afaict - warn about potentially
      using max_group uninitialized: There's no way the compiler can prove
      that the body of the conditional where it and max_faults get set/
      updated gets executed; in fact, without knowing all the details of
      other scheduler code, I can't prove this either.
      
      Generally the necessary change would appear to be to clear max_group
      prior to entering the inner loop, and break out of the outer loop when
      it ends up being all clear after the inner one. This, however, seems
      inefficient, and afaict the same effect can be achieved by exiting the
      outer loop when max_faults is still zero after the inner loop.
      
      [ mingo: changed the solution to zero initialization: uninitialized_var()
        needs to die, as it's an actively dangerous construct: if in the future
        a known-proven-good piece of code is changed to have a true, buggy
        uninitialized variable, the compiler warning is then supressed...
      
        The better long term solution is to clean up the code flow, so that
        even simple minded compilers (and humans!) are able to read it without
        getting a headache.  ]
      Signed-off-by: default avatarJan Beulich <jbeulich@suse.com>
      Signed-off-by: default avatarPeter Zijlstra (Intel) <peterz@infradead.org>
      Cc: Rik van Riel <riel@redhat.com>
      Cc: Linus Torvalds <torvalds@linux-foundation.org>
      Link: http://lkml.kernel.org/r/54C2139202000078000588F7@mail.emea.novell.comSigned-off-by: default avatarIngo Molnar <mingo@kernel.org>
      81907478
  3. 27 Jan, 2015 1 commit
    • Linus Torvalds's avatar
      Merge branch 'akpm' (patches from Andrew Morton) · 4adca1cb
      Linus Torvalds authored
      Merge misc fixes from Andrew Morton:
       "Six fixes"
      
      * emailed patches from Andrew Morton <akpm@linux-foundation.org>:
        drivers/rtc/rtc-s5m.c: terminate s5m_rtc_id array with empty element
        printk: add dummy routine for when CONFIG_PRINTK=n
        mm/vmscan: fix highidx argument type
        memcg: remove extra newlines from memcg oom kill log
        x86, build: replace Perl script with Shell script
        mm: page_alloc: embed OOM killing naturally into allocation slowpath
      4adca1cb
  4. 26 Jan, 2015 18 commits
  5. 24 Jan, 2015 11 commits
  6. 23 Jan, 2015 4 commits
    • Linus Torvalds's avatar
      Merge tag 'platform-drivers-x86-v3.19-2' of... · 53448a53
      Linus Torvalds authored
      Merge tag 'platform-drivers-x86-v3.19-2' of git://git.infradead.org/users/dvhart/linux-platform-drivers-x86
      
      Pull platform driver fix from Darren Hart:
       "Revert keyboard backlight sysfs support and documentation.
      
        The support for the dell-laptop keyboard backlight was flawed and the
        fix:
      
              https://lkml.org/lkml/2015/1/14/539
      
        was more invasive that I felt comfortable sending at RC5.
      
        This series reverts the support for the dell-laptop keyboard backlight
        as well as the documentation for the newly created sysfs attributes.
      
        We'll get this implemented correctly for 3.20"
      
      * tag 'platform-drivers-x86-v3.19-2' of git://git.infradead.org/users/dvhart/linux-platform-drivers-x86:
        Revert "platform: x86: dell-laptop: Add support for keyboard backlight"
        Revert "Documentation: Add entry for dell-laptop sysfs interface"
      53448a53
    • Linus Torvalds's avatar
      Merge tag 'pci-v3.19-fixes-1' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci · 55069592
      Linus Torvalds authored
      Pull PCI fixes from Bjorn Helgaas:
       "These are fixes for:
      
         - a resource management problem that causes a Radeon "Fatal error
           during GPU init" on machines where the BIOS programmed an invalid
           Root Port window.  This was a regression in v3.16.
      
         - an Atheros AR93xx device that doesn't handle PCI bus resets
           correctly.  This was a regression in v3.14.
      
         - an out-of-date email address"
      
      * tag 'pci-v3.19-fixes-1' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci:
        MAINTAINERS: Update Richard Zhu's email address
        sparc/PCI: Clip bridge windows to fit in upstream windows
        powerpc/PCI: Clip bridge windows to fit in upstream windows
        parisc/PCI: Clip bridge windows to fit in upstream windows
        mn10300/PCI: Clip bridge windows to fit in upstream windows
        microblaze/PCI: Clip bridge windows to fit in upstream windows
        ia64/PCI: Clip bridge windows to fit in upstream windows
        frv/PCI: Clip bridge windows to fit in upstream windows
        alpha/PCI: Clip bridge windows to fit in upstream windows
        x86/PCI: Clip bridge windows to fit in upstream windows
        PCI: Add pci_claim_bridge_resource() to clip window if necessary
        PCI: Add pci_bus_clip_resource() to clip to fit upstream window
        PCI: Pass bridge device, not bus, when updating bridge windows
        PCI: Mark Atheros AR93xx to avoid bus reset
        PCI: Add flag for devices where we can't use bus reset
      55069592
    • Linus Torvalds's avatar
      Merge tag 'devicetree-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/glikely/linux · b8de08da
      Linus Torvalds authored
      Pull devicetree bug fixes and documentation updates from Grant Likely:
       "A few bugfixes for the new DT overlay feature, documentation updates,
        spelling corrections, and changes to MAINTAINERS.  Nothing earth
        shattering here"
      
      * tag 'devicetree-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/glikely/linux:
        of/unittest: Overlays with sub-devices tests
        of/platform: Handle of_populate drivers in notifier
        of/overlay: Do not generate duplicate nodes
        devicetree: document the "qemu" and "virtio" vendor prefixes
        devicetree: document ARM bindings for QEMU's Firmware Config interface
        Documentation: of: fix typo in graph bindings
        dma-mapping: fix debug print to display correct dma_pfn_offset
        of: replace Asahi Kasei Corp vendor prefix
        ARM: dt: GIC: Spelling s/specific/specifier/, s/flaggs/flags/
        dt/bindings: arm-boards: Spelling s/pointong/pointing/
        MAINTAINERS: Update DT website and git repository
        MAINTAINERS: drop DT regex matching on of_get_property and of_match_table
      b8de08da
    • Olof Johansson's avatar
      Merge tag 'imx-fixes-3.19-2' of... · 4b3415c9
      Olof Johansson authored
      Merge tag 'imx-fixes-3.19-2' of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux into fixes
      
      Merge "ARM: imx: fixes for 3.19, 2nd round" from Shawn Guo:
      
      The i.MX fixes for 3.19, 2nd round:
       - Correct pwm clock assignment in i.MX25 device tree to fix the broken
         pwm support on i.MX25
      
      * tag 'imx-fixes-3.19-2' of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux:
        ARM: dts: imx25: Fix PWM "per" clocks
      Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
      4b3415c9