1. 12 Apr, 2012 6 commits
  2. 11 Apr, 2012 13 commits
    • Linus Torvalds's avatar
      Merge tag 'rdma-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband · f549e088
      Linus Torvalds authored
      Pull infiniband fixes from Roland Dreier:
       "Fix a regression in the /sys/class/infiniband/.../rate attribute --
        old kernels used to just return something, even if the underlying
        value was out-of-bounds, while 3.4-rc1 returned EINVAL to userspace.
        This breaks some applications that check for the error, so go back to
        the old behavior."
      
      * tag 'rdma-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband:
        IB/core: Don't return EINVAL from sysfs rate attribute for invalid speeds
        IB/mlx4: Don't return an invalid speed when a port is down
      f549e088
    • Linus Torvalds's avatar
      Merge branch 'stable' of git://git.kernel.org/pub/scm/linux/kernel/git/cmetcalf/linux-tile · 70f33fa5
      Linus Torvalds authored
      Pull arch/tile fixes from Chris Metcalf:
       "This is one important change from Srivatsa Bhat that got dropped when
        I put together my pull request for -rc2, plus a trivial change to
        remove a compiler warning."
      
      * 'stable' of git://git.kernel.org/pub/scm/linux/kernel/git/cmetcalf/linux-tile:
        arch/tile: avoid unused variable warning in proc.c for tilegx
        tile/CPU hotplug: Add missing call to notify_cpu_starting()
      70f33fa5
    • Linus Torvalds's avatar
      Merge tag 'sound-3.4' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound · a1ada086
      Linus Torvalds authored
      Pull sound fixes from Takashi Iwai:
       - A series of fixes for Conexant 20549 HD-audio codec chip
       - A workaround for HDMI hotplug debug prints that annoyed people
       - A fix for the new support of platform DAPM contexts
       - Many driver-specific minor fixes
      
      * tag 'sound-3.4' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound:
        ALSA: hda - hide HDMI/ELD printks unless snd.debug=2
        ALSA: sound/isa/sscape.c: add missing resource-release code
        sound: sound/oss/msnd_pinnacle.c: add vfrees
        ALSA: hda - clean up CX20549 test mixer setup
        ALSA: hda - CX20549 doesn't need pin_amp_workaround.
        ALSA: hda - Remove CD control from model=benq for CX20549
        ALSA: hda - fix record volume controls of CX20459 ("Venice")
        ALSA: hda - Rename capture sources of CX20549 to match common conventions
        ALSA: hda - Fix proc output for ADC amp values of CX20549
        ASoC: tegra: fix i2s compilation when !CONFIG_DEBUG_FS
        ASoC: set idle_bias_off=1 for all platform DAPM contexts
        ASoC: imx-audmux: Check for NULL pointer
        ASoC: imx-audmux: Fix ssi port numbers in sysfs
        ASoC: ak4642: fixup: mute needs +1 step
        MAINTAINERS: Don't list everyone working on Wolfson drivers
        MAINTAINERS: Add missing ASoC OMAP co-maintainer
        ASoC: pxa: pxa2xx-i2s: add io.h for IOMEM macro
        ASoC: tegra: ensure clocks are enabled when touching registers
        ASoC: sgtl5000: Enable VAG when DAC/ADC up
        ALSA: asihpi - fix return value of hpios_locked_mem_alloc()
      a1ada086
    • Linus Torvalds's avatar
      Merge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media · 39f86a60
      Linus Torvalds authored
      Pull media fixes from Mauro Carvalho Chehab:
      
       - dvb core: there is a regression found when used with xine.  For
         whatever unknown reason, xine (and xine-lib clients) wants that the
         frontend to tell what frequency he is using even before the PLL lock
         (or at least, it expects a non-zero frequency).
      
         On DVB, the frequency is only actually known after a frequency
         zig-zag seek, done by the DVB core.  Anyway, the fix was trivial.
         That solves Fedora BZ#808871.
      
       - ivtv: fix a regression when selecting the language channel
      
       - uvc: fix a race-related crash
      
       - it913x: fixes firmware loading
      
       - two trivial patches (a dependency issue at a radio driver at sound
         Kconfig, and a warning fix on dvb).
      
      * 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media:
        [media] uvcvideo: Fix race-related crash in uvc_video_clock_update()
        [media] Drivers/media/radio: Fix build error
        [media] dvb_frontend: fix compiler warning
        [media] it913x: fix firmware loading errors
        [media] ivtv: Fix AUDIO_(BILINGUAL_)CHANNEL_SELECT regression
        [media] dvb_frontend: regression fix: userspace ABI broken for xine
      39f86a60
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/steve/gfs2-3.0-fixes · 1b6150fe
      Linus Torvalds authored
      Pull GFS2 fixes from Steven Whitehouse
      
      * git://git.kernel.org/pub/scm/linux/kernel/git/steve/gfs2-3.0-fixes:
        GFS2: Allow caching of rindex glock
        GFS2: Make sure rindex is uptodate before starting transactions
        GFS2: use depends instead of select in kconfig
        GFS2: put glock reference in error patch of read_rindex_entry
      1b6150fe
    • Chris Metcalf's avatar
      arch/tile: avoid unused variable warning in proc.c for tilegx · e72d5c7e
      Chris Metcalf authored
      Until we push the unaligned access support for tilegx, it's silly
      to have arch/tile/kernel/proc.c generate a warning about an unused
      variable.  Extend the #ifdef to cover all the code and data for now.
      Signed-off-by: default avatarChris Metcalf <cmetcalf@tilera.com>
      e72d5c7e
    • Linus Torvalds's avatar
      x86: merge 32/64-bit versions of 'strncpy_from_user()' and speed it up · 92ae03f2
      Linus Torvalds authored
      This merges the 32- and 64-bit versions of the x86 strncpy_from_user()
      by just rewriting it in C rather than the ancient inline asm versions
      that used lodsb/stosb and had been duplicated for (trivial) differences
      between the 32-bit and 64-bit versions.
      
      While doing that, it also speeds them up by doing the accesses a word at
      a time.  Finally, the new routines also properly handle the case of
      hitting the end of the address space, which we have never done correctly
      before (fs/namei.c has a hack around it for that reason).
      
      Despite all these improvements, it actually removes more lines than it
      adds, due to the de-duplication.  Also, we no longer export (or define)
      the legacy __strncpy_from_user() function (that was defined to not do
      the user permission checks), since it's not actually used anywhere, and
      the user address space checks are built in to the new code.
      
      Other architecture maintainers have been notified that the old hack in
      fs/namei.c will be going away in the 3.5 merge window, in case they
      copied the x86 approach of being a bit cavalier about the end of the
      address space.
      
      Cc: linux-arch@vger.kernel.org
      Cc: Ingo Molnar <mingo@kernel.org>
      Cc: Peter Anvin" <hpa@zytor.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      92ae03f2
    • Oleg Nesterov's avatar
      cred: copy_process() should clear child->replacement_session_keyring · 79549c6d
      Oleg Nesterov authored
      keyctl_session_to_parent(task) sets ->replacement_session_keyring,
      it should be processed and cleared by key_replace_session_keyring().
      
      However, this task can fork before it notices TIF_NOTIFY_RESUME and
      the new child gets the bogus ->replacement_session_keyring copied by
      dup_task_struct(). This is obviously wrong and, if nothing else, this
      leads to put_cred(already_freed_cred).
      
      change copy_creds() to clear this member. If copy_process() fails
      before this point the wrong ->replacement_session_keyring doesn't
      matter, exit_creds() won't be called.
      
      Cc: <stable@vger.kernel.org>
      Signed-off-by: default avatarOleg Nesterov <oleg@redhat.com>
      Acked-by: default avatarDavid Howells <dhowells@redhat.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      79549c6d
    • Grant Likely's avatar
      irqdomain: Fix debugfs formatting · 15e06bf6
      Grant Likely authored
      This patch fixes the irq_domain_mapping debugfs output to pad pointer
      values with leading zeros so that pointer values are displayed
      correctly.  Otherwise you get output similar to "0x 5e0000000000000".
      Also, when the irq_domain is set to 'null'
      Signed-off-by: default avatarGrant Likely <grant.likely@secretlab.ca>
      Cc: David Daney <david.daney@cavium.com>
      Cc: Mika Westerberg <mika.westerberg@linux.intel.com>
      15e06bf6
    • Mika Westerberg's avatar
      irq_domain: correct the debugfs file name · ac5830a3
      Mika Westerberg authored
      The actual name of the irq_domain mapping debugfs file is
      "irq_domain_mapping" not "virq_mapping".
      Signed-off-by: default avatarMika Westerberg <mika.westerberg@linux.intel.com>
      Signed-off-by: default avatarGrant Likely <grant.likely@secretlab.ca>
      ac5830a3
    • Grant Likely's avatar
      irq: Kill pointless irqd_to_hw export · a699e4e4
      Grant Likely authored
      It makes no sense to export this trivial function.  Make it a static inline
      instead.
      
      This patch also drops virq_to_hw from arch/c6x since it is unused by that
      architecture.
      
      v2: Move irq_hw_number_t into types.h to fix ARM build failure
      Signed-off-by: default avatarGrant Likely <grant.likely@secretlab.ca>
      Acked-by: default avatarThomas Gleixner <tglx@linutronix.de>
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      a699e4e4
    • David Daney's avatar
      irq/irq_domain: Quit ignoring error returns from irq_alloc_desc_from(). · 5b7526e3
      David Daney authored
      In commit 4bbdd45a (irq_domain/powerpc: eliminate irq_map; use
      irq_alloc_desc() instead) code was added that ignores error returns
      from irq_alloc_desc_from() by (silently) casting the return value to
      unsigned.  The negitive value error return now suddenly looks like a
      valid irq number.
      
      Commits cc79ca69 (irq_domain: Move irq_domain code from powerpc to
      kernel/irq) and 1bc04f2c (irq_domain: Add support for base irq and
      hwirq in legacy mappings) move this code to its current location in
      irqdomain.c
      
      The result of all of this is a null pointer dereference OOPS if one of
      the error cases is hit.
      
      The fix: Don't cast away the negativeness of the return value and then
      check for errors.
      Signed-off-by: default avatarDavid Daney <david.daney@cavium.com>
      Acked-by: default avatarRob Herring <rob.herring@calxeda.com>
      [grant.likely: dropped addition of new 'irq' variable]
      Signed-off-by: default avatarGrant Likely <grant.likely@secretlab.ca>
      5b7526e3
    • Benjamin Herrenschmidt's avatar
      powerpc: Fix typo in runlatch code · fae2e0fb
      Benjamin Herrenschmidt authored
      Commit fe1952fc
      "powerpc: Rework runlatch code" has a nasty typo
      where it uses "TLF_RUNLATCH" instead of "_TLF_RUNLATCH"
      (bit number instead of bit mask), causing some flags to
      be potentially lost such as _TLF_RESTORE_SIGMASK
      
      (Brown paper bag for me ! We should be able to make
      that break at compile time with a bit of magic, any
      volunteer ?)
      Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
      fae2e0fb
  3. 10 Apr, 2012 17 commits
  4. 09 Apr, 2012 4 commits