1. 31 Jan, 2012 2 commits
  2. 30 Jan, 2012 16 commits
  3. 29 Jan, 2012 8 commits
  4. 28 Jan, 2012 5 commits
    • Linus Torvalds's avatar
      Merge branch 'fixes' of git://git.linaro.org/people/rmk/linux-arm · deb9b4ce
      Linus Torvalds authored
      * 'fixes' of git://git.linaro.org/people/rmk/linux-arm: (31 commits)
        ARM: 7304/1: ioremap: fix boundary check when reusing static mapping
        ARM: 7301/1: Rename the T() macro to TUSER() to avoid namespace conflicts
        ARM: 7299/1: ftrace: clear zero bit in reported IPs for Thumb-2
        ARM: 7298/1: realview: fix mapping of MPCore private memory region
        PCMCIA: fix sa1111 oops on remove
        ARM: 7288/1: mach-sa1100: add missing module_init() call
        ARM: 7297/1: smp_twd: make sure timer is stopped before registering it
        ARM: 7296/1: proc-v7.S: remove HARVARD_CACHE preprocessor guards
        ARM: 7295/1: cortex-a7: move proc_info out of !CONFIG_ARM_LPAE block
        ARM: 7293/1: logical_cpu_map: decouple CPU mapping from SMP
        ARM: 7291/1: cache: assume 64-byte L1 cachelines for ARMv7 CPUs
        ARM: 7290/1: vmlinux.lds.S: align the exception fixup table to a 4-byte boundary
        ARM: 7289/1: vmlinux.lds.S: do not hardcode cacheline size as 32 bytes
        MFD: ucb1x00-ts: fix resume failure
        MFD: ucb1x00-core: fix gpiolib direction_output handling
        MFD: ucb1x00-core: fix missing restore of io output data on resume
        MFD: mcp-core: fix mcp_priv() to be more type safe
        MFD: mcp-core: fix complaints from the genirq layer
        Revert "ARM: sa11x0: Implement autoloading of codec and codec pdata for mcp bus."
        Revert "ARM: sa1100: Refactor mcp-sa11x0 to use platform resources."
        ...
      
      Fix up conflict due to arch/arm/mach-mx5/Kconfig having been merged into
      mach-imx5 (commit 784a90c0: "ARM i.MX: Merge i.MX5 support into
      mach-imx"), but the ARM_L1_CACHE_SHIFT_6 entry was moved to be driven by
      the CPU_V7 logic from it in the old location in rmk's branch (commit
      a092f2b1: "ARM: 7291/1: cache: assume 64-byte L1 cachelines for
      ARMv7 CPUs").
      deb9b4ce
    • Linus Torvalds's avatar
      Merge tag 'fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc · 81bc3009
      Linus Torvalds authored
      arm-soc fixes for 3.3-rc:
      
      AT91 needed reset fixes which resulted in some minor code refactoring,
      it also adds a feature-removal for one of their platforms for 3.4.
      The USB patches have been acked by Greg K-H.
      
      i.MX and ux500 both have some minor fixes, nothing controversial.
      
      * tag 'fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc:
        arch/arm/mach-imx/mach-mx53_ard.c: add missing iounmap
        ARM: imx: iomux-v1.h: Fix build error due to __init annotation
        ARM: at91: Fix at91sam9g45 and at91cap9 reset
        ARM: at91: make rstc soc independent
        ARM: at91: introduce AT91_SAM9_ALT_RESET to select the at91sam9 alternative reset
        ARM: at91: merge at91cap9_ddrsdr.h in at91sam9_ddrsdr.h
        ARM: at91: fix cap9 ddrsdr register
        ARM/USB: at91/ohci-at91: rename vbus_pin_inverted to vbus_pin_active_low
        USB: at91: fix clk_get error handling
        ARM: at91: removal of CAP9 SoC family
        ARM: at91: fix at91rm9200 soc subtype handling
        mach-ux500: no MMC_CAP_SD_HIGHSPEED on Snowball
        mach-ux500: enable ARM errata 764369
        mach-ux500: do not override outer.inv_all
        mach-ux500: musb: now musb is always in OTG mode
        ARM: imx6: add missing twd_clk for imx6q clock
      81bc3009
    • Eric W. Biederman's avatar
      net caif: Register properly as a pernet subsystem. · 8a8ee9af
      Eric W. Biederman authored
      caif is a subsystem and as such it needs to register with
      register_pernet_subsys instead of register_pernet_device.
      
      Among other problems using register_pernet_device was resulting in
      net_generic being called before the caif_net structure was allocated.
      Which has been causing net_generic to fail with either BUG_ON's or by
      return NULL pointers.
      
      A more ugly problem that could be caused is packets in flight why the
      subsystem is shutting down.
      
      To remove confusion also remove the cruft cause by inappropriately
      trying to fix this bug.
      
      With the aid of the previous patch I have tested this patch and
      confirmed that using register_pernet_subsys makes the failure go away as
      it should.
      Signed-off-by: default avatarEric W. Biederman <ebiederm@xmission.com>
      Acked-by: default avatarSjur Brændeland <sjur.brandeland@stericsson.com>
      Tested-by: default avatarSasha Levin <levinsasha928@gmail.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      8a8ee9af
    • Eric W. Biederman's avatar
      netns: Fail conspicously if someone uses net_generic at an inappropriate time. · 5ee4433e
      Eric W. Biederman authored
      By definition net_generic should never be called when it can return
      NULL.  Fail conspicously with a BUG_ON to make it clear when people mess
      up that a NULL return should never happen.
      
      Recently there was a bug in the CAIF subsystem where it was registered
      with register_pernet_device instead of register_pernet_subsys.  It was
      erroneously concluded that net_generic could validly return NULL and
      that net_assign_generic was buggy (when it was just inefficient).
      Hopefully this BUG_ON will prevent people to coming to similar erroneous
      conclusions in the futrue.
      Signed-off-by: default avatarEric W. Biederman <ebiederm@xmission.com>
      Tested-by: default avatarSasha Levin <levinsasha928@gmail.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      5ee4433e
    • David S. Miller's avatar
  5. 27 Jan, 2012 9 commits
    • Rusty Russell's avatar
      lguest: remove reference from Documentation/virtual/00-INDEX · 13289d5f
      Rusty Russell authored
      We're in tools/lguest now.
      Reported-by: default avatarStephen Hemminger <shemminger@vyatta.com>
      Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
      13289d5f
    • Jason Wang's avatar
      virtio: correct the memory barrier in virtqueue_kick_prepare() · a72caae2
      Jason Wang authored
      Use virtio_mb() to make sure the available index to be exposed before
      checking the the avail event. Otherwise we may get stale value of
      avail event in guest and never kick the host after.
      
      Note: this fixes a bug introduced by ee7cd898.
      Signed-off-by: default avatarJason Wang <jasowang@redhat.com>
      Acked-by: default avatarMichael S. Tsirkin <mst@redhat.com>
      Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
      Cc: stable@kernel.org
      a72caae2
    • Jason Wang's avatar
      virtio: fix typos of memory barriers · 4dbc5d9f
      Jason Wang authored
      Note: this fixes a bug introduced recently in
      7b21e34f.
      Signed-off-by: default avatarJason Wang <jasowang@redhat.com>
      Acked-by: default avatarMichael S. Tsirkin <mst@redhat.com>
      Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
      4dbc5d9f
    • Pawel Moll's avatar
      ARM: 7304/1: ioremap: fix boundary check when reusing static mapping · 3c424f35
      Pawel Moll authored
      Since commit 576d2f25 "ARM: add
      generic ioremap optimization by reusing static mappings" ioremap()
      is trying to reuse existing static mapping when possible.
      
      The condition checking boundaries of the requested and existing
      mappings didn't take in-page offset into consideration though,
      which lead to obscure and hard to debug problems when requested
      mapping crossed end of the static one.
      Signed-off-by: default avatarPawel Moll <pawel.moll@arm.com>
      Acked-by: default avatarNicolas Pitre <nico@linaro.org>
      Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
      3c424f35
    • Konrad Rzeszutek Wilk's avatar
      xen/granttable: Disable grant v2 for HVM domains. · 69e8f430
      Konrad Rzeszutek Wilk authored
      As proper scaffolding for supporting error status is not yet
      implemented.
      
      BUG: unable to handle kernel NULL pointer dereference at 0000000000000400
      IP: [<ffffffff81375ae9>] gnttab_end_foreign_access_ref_v2+0x29/0x40
      PGD 32aa3067 PUD 32a87067 PMD 0
      Oops: 0000 [#1] PREEMPT SMP
      CPU 0
      Modules linked in: sg sr_mod cdrom ata_generic ata_piix libata scsi_mod xen_blkfront xen_netfront fb_sys_fops sysimgblt sysfillrect syscopyarea xen_kbdfront
      cmd
      
      Pid: 2307, comm: ip Not tainted 3.3.0-rc1 #1 Xen HVM domU
      RIP: 0010:[<ffffffff81375ae9>]  [<ffffffff81375ae9>] gnttab_end_foreign_access_ref_v2+0x29/0x40
      RSP: 0018:ffff88003be03d38  EFLAGS: 00010206
      RAX: 0000000000000000 RBX: ffff880033210640 RCX: 0000000000000040
      RDX: 0000000000002000 RSI: 0000000000000000 RDI: 0000000000000200
      RBP: ffff88003be03d38 R08: 0000000000000101 R09: 0000000000000000
      R10: dead000000100100 R11: 0000000000000000 R12: ffff88003be03e48
      R13: 0000000000000001 R14: ffff880039461c00 R15: 0000000000000200
      FS:  00007fb1f84ec700(0000) GS:ffff88003be00000(0000) knlGS:0000000000000000
      ...
      Signed-off-by: default avatarKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
      69e8f430
    • Konrad Rzeszutek Wilk's avatar
      Merge commit 'v3.3-rc1' into stable/for-linus-fixes-3.3 · 6c02b7b1
      Konrad Rzeszutek Wilk authored
      * commit 'v3.3-rc1': (9775 commits)
        Linux 3.3-rc1
        x86, syscall: Need __ARCH_WANT_SYS_IPC for 32 bits
        qnx4: don't leak ->BitMap on late failure exits
        qnx4: reduce the insane nesting in qnx4_checkroot()
        qnx4: di_fname is an array, for crying out loud...
        KEYS: Permit key_serial() to be called with a const key pointer
        keys: fix user_defined key sparse messages
        ima: fix cred sparse warning
        uml: fix compile for x86-64
        MPILIB: Add a missing ENOMEM check
        tpm: fix (ACPI S3) suspend regression
        nvme: fix merge error due to change of 'make_request_fn' fn type
        xen: using EXPORT_SYMBOL requires including export.h
        gpio: tps65910: Use correct offset for gpio initialization
        acpi/apei/einj: Add extensions to EINJ from rev 5.0 of acpi spec
        intel_idle: Split up and provide per CPU initialization func
        ACPI processor: Remove unneeded variable passed by acpi_processor_hotadd_init V2
        tg3: Fix single-vector MSI-X code
        openvswitch: Fix multipart datapath dumps.
        ipv6: fix per device IP snmp counters
        ...
      6c02b7b1
    • Linus Torvalds's avatar
      Merge branch 'drm-fixes' of git://people.freedesktop.org/~airlied/linux · acb42a3b
      Linus Torvalds authored
      * 'drm-fixes' of git://people.freedesktop.org/~airlied/linux: (31 commits)
        gma500: Fix suspend/resume functions
        drm/exynos: fixed pm feature for fimd module.
        MAINTAINERS: added maintainer entry for Exynos DRM Driver.
        drm/exynos: fixed build dependency for DRM_EXYNOS_FIMD
        drm/exynos: fix build dependency for DRM_EXYNOS_HDMI
        drm/exynos: use release_mem_region instead of release_resource
        agp: fix scratch page cleanup
        drm/i915: fixup forcewake spinlock fallout in drpc debugfs function
        drm/i915: debugfs: show semaphore registers also on gen7
        drm/i915: allow userspace forcewake references also on gen7
        drm/i915: Re-enable gen7 RC6 and GPU turbo after resume.
        drm/i915: Correct debugfs printout for RC1e.
        Revert "drm/i915: Work around gen7 BLT ring synchronization issues."
        drm/i915: rip out the HWSTAM missed irq workaround
        drm/i915: paper over missed irq issues with force wake voodoo
        drm/i915: Hold gt_lock across forcewake register reads
        drm/i915: Hold gt_lock during reset
        drm/i915: Move reset forcewake processing to gen6_do_reset
        drm/i915: protect force_wake_(get|put) with the gt_lock
        drm/i915: convert force_wake_get to func pointer in the gpu reset code
        ...
      acb42a3b
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound · ea9f7a67
      Linus Torvalds authored
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound:
        ALSA: hda - Fix silent output on Haier W18 laptop
        ALSA: hda: set mute led polarity for laptops with buggy BIOS based on SSID
        ALSA: hda - Fix silent output on ASUS A6Rp
        ALSA: Fix memory leak on error in snd_compr_set_params()
        ALSA: ymfpci - Don't create invalid PCM & mixers when AC97 doesn't support
      ea9f7a67
    • Chris Mason's avatar
      Btrfs: fix reservations in btrfs_page_mkwrite · 9998eb70
      Chris Mason authored
      Josef fixed btrfs_page_mkwrite to properly release reserved
      extents if there was an error.  But if we fail to get a reservation
      and we fail to dirty the inode (for ENOSPC reasons), we'll end up
      trying to release a reservation we never had.
      
      This makes sure we only release if we were able to reserve.
      Signed-off-by: default avatarChris Mason <chris.mason@oracle.com>
      9998eb70