Skip to content
  1. Jan 07, 2015
  2. Jan 06, 2015
    • Linus Torvalds's avatar
      Linux 3.19-rc3 · b1940cd2
      Linus Torvalds authored
      v3.19-rc3
      b1940cd2
    • Linus Torvalds's avatar
      Merge tag 'powerpc-3.19-3' of git://git.kernel.org/pub/scm/linux/kernel/git/mpe/linux · 79b8cb97
      Linus Torvalds authored
      Pull powerpc fixes from Michael Ellerman:
      
       - Wire up sys_execveat(). Tested on 32 & 64 bit.
      
       - Fix for kdump on LE systems with cpus hot unplugged.
      
       - Revert Anton's fix for "kernel BUG at kernel/smpboot.c:134!", this
         broke other platforms, we'll do a proper fix for 3.20.
      
      * tag 'powerpc-3.19-3' of git://git.kernel.org/pub/scm/linux/kernel/git/mpe/linux:
        Revert "powerpc: Secondary CPUs must set cpu_callin_map after setting active and online"
        powerpc/kdump: Ignore failure in enabling big endian exception during crash
        powerpc: Wire up sys_execveat() syscall
      79b8cb97
    • Hanjun Guo's avatar
      ACPI / processor: Rename acpi_(un)map_lsapic() to acpi_(un)map_cpu() · d02dc27d
      Hanjun Guo authored
      
      
      acpi_map_lsapic() will allocate a logical CPU number and map it to
      physical CPU id (such as APIC id) for the hot-added CPU, it will also
      do some mapping for NUMA node id and etc, acpi_unmap_lsapic() will
      do the reverse.
      
      We can see that the name of the function is a little bit confusing and
      arch (IA64) dependent so rename them as acpi_(un)map_cpu() to make arch
      agnostic and explicit.
      
      Signed-off-by: default avatarHanjun Guo <hanjun.guo@linaro.org>
      Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
      d02dc27d
    • Hanjun Guo's avatar
      ACPI / processor: Convert apic_id to phys_id to make it arch agnostic · af8f3f51
      Hanjun Guo authored
      
      
      apic_id in MADT table is the CPU hardware id which identify
      it self in the system for x86 and ia64, OSPM will use it for
      SMP init to map APIC ID to logical cpu number in the early
      boot, when the DSDT/SSDT (ACPI namespace) is scanned later, the
      ACPI processor driver is probed and the driver will use acpi_id
      in DSDT to get the apic_id, then map to the logical cpu number
      which is needed by the processor driver.
      
      Before ACPI 5.0, only x86 and ia64 were supported in ACPI spec,
      so apic_id is used both in arch code and ACPI core which is
      pretty fine. Since ACPI 5.0, ARM is supported by ACPI and
      APIC is not available on ARM, this will confuse people when
      apic_id is both used by x86 and ARM in one function.
      
      So convert apic_id to phys_id (which is the original meaning)
      in ACPI processor dirver to make it arch agnostic, but leave the
      arch dependent code unchanged, no functional change.
      
      Signed-off-by: default avatarHanjun Guo <hanjun.guo@linaro.org>
      Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
      af8f3f51
    • Linus Torvalds's avatar
      Merge tag 'please-pull-syscall' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux · f40bde85
      Linus Torvalds authored
      Pull ia64 fixlet from Tony Luck:
       "Add execveat syscall"
      
      * tag 'please-pull-syscall' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux:
        [IA64] Enable execveat syscall for ia64
      f40bde85
    • Rafael J. Wysocki's avatar
      ACPI / PM: Fix PM initialization for devices that are not present · 1b1f3e16
      Rafael J. Wysocki authored
      
      
      If an ACPI device object whose _STA returns 0 (not present and not
      functional) has _PR0 or _PS0, its power_manageable flag will be set
      and acpi_bus_init_power() will return 0 for it.  Consequently, if
      such a device object is passed to the ACPI device PM functions, they
      will attempt to carry out the requested operation on the device,
      although they should not do that for devices that are not present.
      
      To fix that problem make acpi_bus_init_power() return an error code
      for devices that are not present which will cause power_manageable to
      be cleared for them as appropriate in acpi_bus_get_power_flags().
      However, the lists of power resources should not be freed for the
      device in that case, so modify acpi_bus_get_power_flags() to keep
      those lists even if acpi_bus_init_power() returns an error.
      Accordingly, when deciding whether or not the lists of power
      resources need to be freed, acpi_free_power_resources_lists()
      should check the power.flags.power_resources flag instead of
      flags.power_manageable, so make that change too.
      
      Furthermore, if acpi_bus_attach() sees that flags.initialized is
      unset for the given device, it should reset the power management
      settings of the device and re-initialize them from scratch instead
      of relying on the previous settings (the device may have appeared
      after being not present previously, for example), so make it use
      the 'valid' flag of the D0 power state as the initial value of
      flags.power_manageable for it and call acpi_bus_init_power() to
      discover its current power state.
      
      Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
      Reviewed-by: default avatarMika Westerberg <mika.westerberg@linux.intel.com>
      Cc: 3.10+ <stable@vger.kernel.org> # 3.10+
      1b1f3e16
    • Tony Luck's avatar
      [IA64] Enable execveat syscall for ia64 · b739896d
      Tony Luck authored
      
      
      See commit 51f39a1f
          syscalls: implement execveat() system call
      
      Signed-off-by: default avatarTony Luck <tony.luck@intel.com>
      b739896d
  3. Jan 05, 2015
  4. Jan 04, 2015
  5. Jan 03, 2015
  6. Jan 01, 2015
  7. Dec 31, 2014
    • Tobias Klauser's avatar
      nios2: Use preempt_schedule_irq · 1b0f4492
      Tobias Klauser authored
      
      
      Follow aa0d5326 ("ia64: Use preempt_schedule_irq") and use
      preempt_schedule_irq instead of enabling/disabling interrupts and
      messing around with PREEMPT_ACTIVE in the nios2 low-level preemption
      code ourselves. Also get rid of the now needless re-check for
      TIF_NEED_RESCHED, preempt_schedule_irq will already take care of
      rescheduling.
      
      This also fixes the following build error when building with
      CONFIG_PREEMPT:
      
      arch/nios2/kernel/built-in.o: In function `need_resched':
      arch/nios2/kernel/entry.S:374: undefined reference to `PREEMPT_ACTIVE'
      
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Signed-off-by: default avatarTobias Klauser <tklauser@distanz.ch>
      Acked-by: default avatarLey Foon Tan <lftan@altera.com>
      1b0f4492
    • Walter Goossens's avatar
      nios2: Initialize cpuinfo.mmu · 6f3d2b00
      Walter Goossens authored
      
      
      This patch initializes the mmu field of the cpuinfo structure to the
      value supplied by the devicetree.
      
      Signed-off-by: default avatarWalter Goossens <waltergoossens@home.nl>
      Acked-by: default avatarLey Foon Tan <lftan@altera.com>
      6f3d2b00
    • Linus Torvalds's avatar
      Merge tag 'fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc · 9bb29b6b
      Linus Torvalds authored
      Pull ARM SoC fixes from Arnd Bergmann:
       "A very small set of fixes for 3.19, as everyone was out.
      
        The clocksource patch was something I missed for the merge window
        after the change that broke arm64 was merged through arm-soc.  The
        other two patches are a fix for an undetected merge problem in mvebu
        and a defconfig change to make some exynos boards work with the normal
        multi_v7_defconfig"
      
      * tag 'fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc:
        Add USB_EHCI_EXYNOS to multi_v7_defconfig
        ARM: mvebu: Fix pinctrl configuration for Armada 370 DB
        clocksource: arch_timer: Only use the virtual counter (CNTVCT) on arm64
      9bb29b6b
    • Linus Torvalds's avatar
      Merge tag 'fbdev-fixes-3.19' of git://git.kernel.org/pub/scm/linux/kernel/git/tomba/linux · e4811a27
      Linus Torvalds authored
      Pull fbdev fixes from Tomi Valkeinen:
      
       - Fix regression with Nokia N900 display
      
       - Fix crash on fbdev using freed __initdata logos
      
       - Fix fb_deferred_io_fsync() return value.
      
      * tag 'fbdev-fixes-3.19' of git://git.kernel.org/pub/scm/linux/kernel/git/tomba/linux:
        OMAPDSS: SDI: fix output port_num
        video/fbdev: fix defio's fsync
        video/logo: prevent use of logos after they have been freed
        OMAPDSS: pll: NULL dereference in error handling
        OMAPDSS: HDMI: remove double initializer entries
      e4811a27
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input · bac22980
      Linus Torvalds authored
      Pull input layer fixes from Dmitry Torokhov:
       "Fixes for v7 protocol for ALPS devices and few other driver fixes.
      
        Also users can request input events to be stamped with boot time
        timestamps, in addition to real and monotonic timestamps"
      
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input:
        Input: hil_kbd - fix incorrect use of init_completion
        Input: alps - v7: document the v7 touchpad packet protocol
        Input: alps - v7: fix finger counting for > 2 fingers on clickpads
        Input: alps - v7: sometimes a single touch is reported in mt[1]
        Input: alps - v7: ignore new packets
        Input: evdev - add CLOCK_BOOTTIME support
        Input: psmouse - expose drift duration for IBM trackpoints
        Input: stmpe - bias keypad columns properly
        Input: stmpe - enforce device tree only mode
        mfd: stmpe: add pull up/down register offsets for STMPE
        Input: optimize events_per_packet count calculation
        Input: edt-ft5x06 - fixed a macro coding style issue
        Input: gpio_keys - replace timer and workqueue with delayed workqueue
        Input: gpio_keys - allow separating gpio and irq in device tree
      bac22980
    • Jiri Kosina's avatar
      Revert "cfg80211: make WEXT compatibility unselectable" · 831a39c2
      Jiri Kosina authored
      This reverts commit 24a0aa21.
      
      It's causing severe userspace breakage.  Namely, all the utilities from
      wireless-utils which are relying on CONFIG_WEXT (which means tools like
      'iwconfig', 'iwlist', etc) are not working anymore.  There is a 'iw'
      utility in newer wireless-tools, which is supposed to be a replacement
      for all the "deprecated" binaries, but it's far away from being
      massively adopted.
      
      Please see [1] for example of the userspace breakage this is causing.
      
      In addition to that, Larry Finger reports [2] that this patch is also
      causing ipw2200 driver being impossible to build.
      
      To me this clearly shows that CONFIG_WEXT is far, far away from being
      "deprecated enough" to be removed.
      
      [1] http://thread.gmane.org/gmane.linux.kernel/1857010
      [2] http://thread.gmane.org/gmane.linux.network/343688
      
      
      
      Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      831a39c2
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net · 2c90331c
      Linus Torvalds authored
      Pull networking fixes from David Miller:
      
       1) Fix double SKB free in bluetooth 6lowpan layer, from Jukka Rissanen.
      
       2) Fix receive checksum handling in enic driver, from Govindarajulu
          Varadarajan.
      
       3) Fix NAPI poll list corruption in virtio_net and caif_virtio, from
          Herbert Xu.  Also, add code to detect drivers that have this mistake
          in the future.
      
       4) Fix doorbell endianness handling in mlx4 driver, from Amir Vadai.
      
       5) Don't clobber IP6CB() before xfrm6_policy_check() is called in TCP
          input path,f rom Nicolas Dichtel.
      
       6) Fix MPLS action validation in openvswitch, from Pravin B Shelar.
      
       7) Fix double SKB free in vxlan driver, also from Pravin.
      
       8) When we scrub a packet, which happens when we are switching the
          context of the packet (namespace, etc.), we should reset the
          secmark.  From Thomas Graf.
      
       9) ->ndo_gso_check() needs to do more than return true/false, it also
          has to allow the driver to clear netdev feature bits in order for
          the caller to be able to proceed properly.  From Jesse Gross.
      
      * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net: (62 commits)
        genetlink: A genl_bind() to an out-of-range multicast group should not WARN().
        netlink/genetlink: pass network namespace to bind/unbind
        ne2k-pci: Add pci_disable_device in error handling
        bonding: change error message to debug message in __bond_release_one()
        genetlink: pass multicast bind/unbind to families
        netlink: call unbind when releasing socket
        netlink: update listeners directly when removing socket
        genetlink: pass only network namespace to genl_has_listeners()
        netlink: rename netlink_unbind() to netlink_undo_bind()
        net: Generalize ndo_gso_check to ndo_features_check
        net: incorrect use of init_completion fixup
        neigh: remove next ptr from struct neigh_table
        net: xilinx: Remove unnecessary temac_property in the driver
        net: phy: micrel: use generic config_init for KSZ8021/KSZ8031
        net/core: Handle csum for CHECKSUM_COMPLETE VXLAN forwarding
        openvswitch: fix odd_ptr_err.cocci warnings
        Bluetooth: Fix accepting connections when not using mgmt
        Bluetooth: Fix controller configuration with HCI_QUIRK_INVALID_BDADDR
        brcmfmac: Do not crash if platform data is not populated
        ipw2200: select CFG80211_WEXT
        ...
      2c90331c
    • Linus Torvalds's avatar
      Merge tag 'linux-kselftest-3.19-fixes' of... · 6ab1e8de
      Linus Torvalds authored
      Merge tag 'linux-kselftest-3.19-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest
      
      Pull kselftest fix from Shuah Khan:
       "Fix exec test compile warnings"
      
      * tag 'linux-kselftest-3.19-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest:
        selftests/exec: Use %zu to format size_t
      6ab1e8de
    • Alan Stern's avatar
      SCSI: fix regression in scsi_send_eh_cmnd() · 511833ac
      Alan Stern authored
      
      
      Commit ac61d195 (scsi: set correct completion code in
      scsi_send_eh_cmnd()) introduced a bug.  It changed the stored return
      value from a queuecommand call, but it didn't take into account that
      the return value was used again later on.  This patch fixes the bug by
      changing the later usage.
      
      There is a big comment in the middle of scsi_send_eh_cmnd() which
      does a good job of explaining how the routine works.  But it mentions
      a "rtn = FAILURE" value that doesn't exist in the code.  This patch
      adjusts the code to match the comment (I assume the comment is right
      and the code is wrong).
      
      This fixes Bugzilla #88341.
      
      Signed-off-by: default avatarAlan Stern <stern@rowland.harvard.edu>
      Reported-by: default avatarАндрей Аладьев <aladjev.andrew@gmail.com>
      Tested-by: default avatarАндрей Аладьев <aladjev.andrew@gmail.com>
      Fixes: ac61d195
      Acked-by: default avatarHannes Reinecke <hare@suse.de>
      Cc: <stable@vger.kernel.org>
      Signed-off-by: default avatarJames Bottomley <JBottomley@Parallels.com>
      511833ac
  8. Dec 30, 2014