Skip to content
  1. Jun 07, 2014
  2. Jun 01, 2014
  3. May 30, 2014
  4. May 26, 2014
    • Rafael J. Wysocki's avatar
      PM / sleep: Introduce command line argument for sleep state enumeration · 0399d4db
      Rafael J. Wysocki authored
      
      
      On some systems the platform doesn't support neither
      PM_SUSPEND_MEM nor PM_SUSPEND_STANDBY, so PM_SUSPEND_FREEZE is the
      only available system sleep state.  However, some user space frameworks
      only use the "mem" and (sometimes) "standby" sleep state labels, so
      the users of those systems need to modify user space in order to be
      able to use system suspend at all and that is not always possible.
      
      For this reason, add a new kernel command line argument,
      relative_sleep_states, allowing the users of those systems to change
      the way in which the kernel assigns labels to system sleep states.
      Namely, for relative_sleep_states=1, the "mem", "standby" and "freeze"
      labels will enumerate the available system sleem states from the
      deepest to the shallowest, respectively, so that "mem" is always
      present in /sys/power/state and the other state strings may or may
      not be presend depending on what is supported by the platform.
      
      Update system sleep states documentation to reflect this change.
      
      Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
      0399d4db
    • Rafael J. Wysocki's avatar
      PM / sleep: Use valid_state() for platform-dependent sleep states only · 43e8317b
      Rafael J. Wysocki authored
      
      
      Use the observation that, for platform-dependent sleep states
      (PM_SUSPEND_STANDBY, PM_SUSPEND_MEM), a given state is either
      always supported or always unsupported and store that information
      in pm_states[] instead of calling valid_state() every time we
      need to check it.
      
      Also do not use valid_state() for PM_SUSPEND_FREEZE, which is always
      valid, and move the pm_test_level validity check for PM_SUSPEND_FREEZE
      directly into enter_state().
      
      Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
      43e8317b
    • Rafael J. Wysocki's avatar
      PM / sleep: Add state field to pm_states[] entries · 27ddcc65
      Rafael J. Wysocki authored
      
      
      To allow sleep states corresponding to the "mem", "standby" and
      "freeze" lables to be different from the pm_states[] indexes of
      those strings, introduce struct pm_sleep_state, consisting of
      a string label and a state number, and turn pm_states[] into an
      array of objects of that type.
      
      This modification should not lead to any functional changes.
      
      Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
      27ddcc65
  5. May 20, 2014
  6. May 17, 2014
    • Rafael J. Wysocki's avatar
      PM / sleep: Update device PM documentation to cover direct_complete · f71495f3
      Rafael J. Wysocki authored
      
      
      Update the device PM documentation in devices.txt and runtime_pm.txt
      to reflect the changes in the system suspend and resume handling
      related to the introduction of the new power.direct_complete flag.
      
      Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
      Acked-by: default avatarAlan Stern <stern@rowland.harvard.edu>
      f71495f3
    • Rafael J. Wysocki's avatar
      PM / sleep: Mechanism to avoid resuming runtime-suspended devices unnecessarily · aae4518b
      Rafael J. Wysocki authored
      
      
      Currently, some subsystems (e.g. PCI and the ACPI PM domain) have to
      resume all runtime-suspended devices during system suspend, mostly
      because those devices may need to be reprogrammed due to different
      wakeup settings for system sleep and for runtime PM.
      
      For some devices, though, it's OK to remain in runtime suspend
      throughout a complete system suspend/resume cycle (if the device was in
      runtime suspend at the start of the cycle).  We would like to do this
      whenever possible, to avoid the overhead of extra power-up and power-down
      events.
      
      However, problems may arise because the device's descendants may require
      it to be at full power at various points during the cycle.  Therefore the
      most straightforward way to do this safely is if the device and all its
      descendants can remain runtime suspended until the complete stage of
      system resume.
      
      To this end, introduce a new device PM flag, power.direct_complete
      and modify the PM core to use that flag as follows.
      
      If the ->prepare() callback of a device returns a positive number,
      the PM core will regard that as an indication that it may leave the
      device runtime-suspended.  It will then check if the system power
      transition in progress is a suspend (and not hibernation in particular)
      and if the device is, indeed, runtime-suspended.  In that case, the PM
      core will set the device's power.direct_complete flag.  Otherwise it
      will clear power.direct_complete for the device and it also will later
      clear it for the device's parent (if there's one).
      
      Next, the PM core will not invoke the ->suspend() ->suspend_late(),
      ->suspend_irq(), ->resume_irq(), ->resume_early(), or ->resume()
      callbacks for all devices having power.direct_complete set.  It
      will invoke their ->complete() callbacks, however, and those
      callbacks are then responsible for resuming the devices as
      appropriate, if necessary.  For example, in some cases they may
      need to queue up runtime resume requests for the devices using
      pm_request_resume().
      
      Changelog partly based on an Alan Stern's description of the idea
      (http://marc.info/?l=linux-pm&m=139940466625569&w=2).
      
      Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
      Acked-by: default avatarAlan Stern <stern@rowland.harvard.edu>
      aae4518b
    • Dan Carpenter's avatar
      PM / hibernate: Fix memory corruption in resumedelay_setup() · f6514be5
      Dan Carpenter authored
      In the original code "resume_delay" is an int so on 64 bits, the call to
      kstrtoul() will cause memory corruption.  We may as well fix a style
      issue here as well and make "resume_delay" unsigned int, since that's
      what we pass to ssleep().
      
      Fixes: 317cf7e5
      
       (PM / hibernate: convert simple_strtoul to kstrtoul)
      Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
      Acked-by: default avatarPavel Machek <pavel@ucw.cz>
      Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
      f6514be5
  7. May 16, 2014
    • Rafael J. Wysocki's avatar
      ACPI / PM: Hold ACPI scan lock over the "freeze" sleep state · 1f0b6386
      Rafael J. Wysocki authored
      The "freeze" sleep state suffers from the same issue that was
      addressed by commit ad07277e
      
       (ACPI / PM: Hold acpi_scan_lock over
      system PM transitions) for ACPI sleep states, that is, things break
      if ->remove() is called for devices whose system resume callbacks
      haven't been executed yet.
      
      It also can be addressed in the same way, by holding the ACPI scan
      lock over the "freeze" sleep state and PM transitions to and from
      that state, but ->begin() and ->end() platform operations for the
      "freeze" sleep state are needed for this purpose.
      
      This change has been tested on Acer Aspire S5 with Thunderbolt.
      
      Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
      1f0b6386
  8. May 10, 2014
    • Rafael J. Wysocki's avatar
      ACPI / PM: Export acpi_target_system_state() to modules · fad16dd9
      Rafael J. Wysocki authored
      
      
      Export the acpi_target_system_state() function to modules so that
      modular drivers can use it to check what the target ACPI sleep state
      of the system is (that is needed for i915 mostly at this point).
      
      Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
      fad16dd9
    • Fabian Frederick's avatar
      PM / hibernate: convert simple_strtoul to kstrtoul · 317cf7e5
      Fabian Frederick authored
      
      
      Replace obsolete function.
      
      Signed-off-by: default avatarFabian Frederick <fabf@skynet.be>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
      317cf7e5
    • Linus Torvalds's avatar
      Linux 3.15-rc5 · d6d211db
      Linus Torvalds authored
      v3.15-rc5
      d6d211db
    • Linus Torvalds's avatar
      Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 181da3c3
      Linus Torvalds authored
      Pull x86 fixes from Peter Anvin:
       "A somewhat unpleasantly large collection of small fixes.  The big ones
        are the __visible tree sweep and a fix for 'earlyprintk=efi,keep'.  It
        was using __init functions with predictably suboptimal results.
      
        Another key fix is a build fix which would produce output that simply
        would not decompress correctly in some configuration, due to the
        existing Makefiles picking up an unfortunate local label and mistaking
        it for the global symbol _end.
      
        Additional fixes include the handling of 64-bit numbers when setting
        the vdso data page (a latent bug which became manifest when i386
        started exporting a vdso with time functions), a fix to the new MSR
        manipulation accessors which would cause features to not get properly
        unblocked, a build fix for 32-bit userland, and a few new platform
        quirks"
      
      * 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86, vdso, time: Cast tv_nsec to u64 for proper shifting in update_vsyscall()
        x86: Fix typo in MSR_IA32_MISC_ENABLE_LIMIT_CPUID macro
        x86: Fix typo preventing msr_set/clear_bit from having an effect
        x86/intel: Add quirk to disable HPET for the Baytrail platform
        x86/hpet: Make boot_hpet_disable extern
        x86-64, build: Fix stack protector Makefile breakage with 32-bit userland
        x86/reboot: Add reboot quirk for Certec BPC600
        asmlinkage: Add explicit __visible to drivers/*, lib/*, kernel/*
        asmlinkage, x86: Add explicit __visible to arch/x86/*
        asmlinkage: Revert "lto: Make asmlinkage __visible"
        x86, build: Don't get confused by local symbols
        x86/efi: earlyprintk=efi,keep fix
      181da3c3
  9. May 09, 2014
    • Boris Ostrovsky's avatar
      x86, vdso, time: Cast tv_nsec to u64 for proper shifting in update_vsyscall() · 28b92e09
      Boris Ostrovsky authored
      
      
      With tk->wall_to_monotonic.tv_nsec being a 32-bit value on 32-bit
      systems, (tk->wall_to_monotonic.tv_nsec << tk->shift) in update_vsyscall()
      may lose upper bits or, worse, add them since compiler will do this:
      	(u64)(tk->wall_to_monotonic.tv_nsec << tk->shift)
      instead of
      	((u64)tk->wall_to_monotonic.tv_nsec << tk->shift)
      
      So if, for example, tv_nsec is 0x800000 and shift is 8 we will end up
      with 0xffffffff80000000 instead of 0x80000000. And then we are stuck in
      the subsequent 'while' loop.
      
      We need an explicit cast.
      
      Signed-off-by: default avatarBoris Ostrovsky <boris.ostrovsky@oracle.com>
      Link: http://lkml.kernel.org/r/1399648287-15178-1-git-send-email-boris.ostrovsky@oracle.com
      Acked-by: default avatarKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
      Cc: <stable@vger.kernel.org> # v3.14
      Signed-off-by: default avatarH. Peter Anvin <hpa@zytor.com>
      28b92e09
    • Andres Freund's avatar
      x86: Fix typo in MSR_IA32_MISC_ENABLE_LIMIT_CPUID macro · c45f7736
      Andres Freund authored
      The spuriously added semicolon didn't have any effect because the
      macro isn't currently in use.
      
      c0a639ad
      
      
      
      Signed-off-by: default avatarAndres Freund <andres@anarazel.de>
      Link: http://lkml.kernel.org/r/1399598957-7011-3-git-send-email-andres@anarazel.de
      Cc: Borislav Petkov <bp@suse.de>
      Signed-off-by: default avatarH. Peter Anvin <hpa@zytor.com>
      c45f7736
    • Andres Freund's avatar
      x86: Fix typo preventing msr_set/clear_bit from having an effect · 722a0d22
      Andres Freund authored
      Due to a typo the msr accessor function introduced in
      22085a66 didn't have any lasting
      effects because they accidentally wrote the old value back.
      
      After c0a639ad
      
       this at the very least
      this causes cpuid limits not to be lifted on some cpus leading to
      missing capabilities for those.
      
      Signed-off-by: default avatarAndres Freund <andres@anarazel.de>
      Link: http://lkml.kernel.org/r/1399598957-7011-2-git-send-email-andres@anarazel.de
      Cc: Borislav Petkov <bp@suse.de>
      Signed-off-by: default avatarH. Peter Anvin <hpa@zytor.com>
      722a0d22
    • Linus Torvalds's avatar
      Merge tag 'xfs-for-linus-3.15-rc5' of git://oss.sgi.com/xfs/xfs · afcf0a2d
      Linus Torvalds authored
      Pull xfs fixes from Dave Chinner:
       "The main fix is adding support for default ACLs on O_TMPFILE opened
        inodes to bring XFS into line with other filesystems.  Metadata CRCs
        are now also considered well enough tested to be fully supported, so
        we're removing the shouty warnings issued at mount time for
        filesystems with that format.  And there's transaction block
        reservation overrun fix.
      
        Summary:
         - fix a remote attribute size calculation bug that leads to a
           transaction overrun
         - add default ACLs to O_TMPFILE files
         - Remove the EXPERIMENTAL tag from filesystems with metadata CRC
           support"
      
      * tag 'xfs-for-linus-3.15-rc5' of git://oss.sgi.com/xfs/xfs:
        xfs: remote attribute overwrite causes transaction overrun
        xfs: initialize default acls for ->tmpfile()
        xfs: fully support v5 format filesystems
      afcf0a2d
    • Linus Torvalds's avatar
      Merge tag 'trace-fixes-v3.15-rc4-v2' of... · f322e262
      Linus Torvalds authored
      Merge tag 'trace-fixes-v3.15-rc4-v2' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace
      
      Pull tracing fixes from Steven Rostedt:
       "This contains two fixes.
      
        The first is a long standing bug that causes bogus data to show up in
        the refcnt field of the module_refcnt tracepoint.  It was introduced
        by a merge conflict resolution back in 2.6.35-rc days.
      
        The result should be 'refcnt = incs - decs', but instead it did
        'refcnt = incs + decs'.
      
        The second fix is to a bug that was introduced in this merge window
        that allowed for a tracepoint funcs pointer to be used after it was
        freed.  Moving the location of where the probes are released solved
        the problem"
      
      * tag 'trace-fixes-v3.15-rc4-v2' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace:
        tracepoint: Fix use of tracepoint funcs after rcu free
        trace: module: Maintain a valid user count
      f322e262
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input · d86561b4
      Linus Torvalds authored
      Pull input subsystem fixes from Dmitry Torokhov:
       "Just a few fixups to various drivers"
      
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input:
        Input: elantech - fix touchpad initialization on Gigabyte U2442
        Input: tca8418 - fix loading this driver as a module from a device tree
        Input: bma150 - extend chip detection for bma180
        Input: atkbd - fix keyboard not working on some LG laptops
        Input: synaptics - add min/max quirk for ThinkPad Edge E431
      d86561b4
    • Linus Torvalds's avatar
      Merge tag 'sound-3.15-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound · c6c96d7b
      Linus Torvalds authored
      Pull sound fixes from Takashi Iwai:
       "A bunch of small fixes for USB-audio and HD-audio, where most of them
        are for regressions: USB-audio PM fixes, ratelimit annoyance fix, HDMI
        offline state fix, and a couple of device-specific quirks"
      
      * tag 'sound-3.15-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound:
        ALSA: hda - hdmi: Set converter channel count even without sink
        ALSA: usb-audio: work around corrupted TEAC UD-H01 feedback data
        ALSA: usb-audio: Fix deadlocks at resuming
        ALSA: usb-audio: Save mixer status only once at suspend
        ALSA: usb-audio: Prevent printk ratelimiting from spamming kernel log while DEBUG not defined
        ALSA: hda - add headset mic detect quirk for a Dell laptop
      c6c96d7b
    • Linus Torvalds's avatar
      Merge tag 'mfd-mmc-fixes-3.15-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd · 1b826a94
      Linus Torvalds authored
      Pull mmc/rtsx revert from Lee Jones.
      
      * tag 'mfd-mmc-fixes-3.15-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd:
        mmc: rtsx: Revert "mmc: rtsx: add support for pre_req and post_req"
      1b826a94
  10. May 08, 2014
    • Mathieu Desnoyers's avatar
      tracepoint: Fix use of tracepoint funcs after rcu free · 8058bd0f
      Mathieu Desnoyers authored
      Commit de7b2973
      
       "tracepoint: Use struct pointer instead of name hash
      for reg/unreg tracepoints" introduces a use after free by calling
      release_probes on the old struct tracepoint array before the newly
      allocated array is published with rcu_assign_pointer. There is a race
      window where tracepoints (RCU readers) can perform a
      "use-after-grace-period-after-free", which shows up as a GPF in
      stress-tests.
      
      Link: http://lkml.kernel.org/r/53698021.5020108@oracle.com
      Link: http://lkml.kernel.org/p/1399549669-25465-1-git-send-email-mathieu.desnoyers@efficios.com
      
      Reported-by: default avatarSasha Levin <sasha.levin@oracle.com>
      CC: Oleg Nesterov <oleg@redhat.com>
      CC: Dave Jones <davej@redhat.com>
      Fixes: de7b2973
      
       "tracepoint: Use struct pointer instead of name hash for reg/unreg tracepoints"
      Signed-off-by: default avatarMathieu Desnoyers <mathieu.desnoyers@efficios.com>
      Signed-off-by: default avatarSteven Rostedt <rostedt@goodmis.org>
      8058bd0f
    • Romain Izard's avatar
      trace: module: Maintain a valid user count · 098507ae
      Romain Izard authored
      
      
      The replacement of the 'count' variable by two variables 'incs' and
      'decs' to resolve some race conditions during module unloading was done
      in parallel with some cleanup in the trace subsystem, and was integrated
      as a merge.
      
      Unfortunately, the formula for this replacement was wrong in the tracing
      code, and the refcount in the traces was not usable as a result.
      
      Use 'count = incs - decs' to compute the user count.
      
      Link: http://lkml.kernel.org/p/1393924179-9147-1-git-send-email-romain.izard.pro@gmail.com
      
      Acked-by: default avatarIngo Molnar <mingo@kernel.org>
      Cc: Rusty Russell <rusty@rustcorp.com.au>
      Cc: Frederic Weisbecker <fweisbec@gmail.com>
      Cc: stable@vger.kernel.org # 2.6.35
      Fixes: c1ab9cab
      
       "merge conflict resolution"
      Signed-off-by: default avatarRomain Izard <romain.izard.pro@gmail.com>
      Signed-off-by: default avatarSteven Rostedt <rostedt@goodmis.org>
      098507ae
    • Micky Ching's avatar
      mmc: rtsx: Revert "mmc: rtsx: add support for pre_req and post_req" · 98fcc576
      Micky Ching authored
      This reverts commit c42deffd
      
      .
      
      commit <mmc: rtsx: add support for pre_req and post_req> did use
      mutex_unlock() in tasklet, but mutex_unlock() can't be used in
      tasklet(atomic context). The driver needs to use mutex to avoid
      concurrency, so we can't use tasklet here, the patch need to be
      removed.
      
      The spinlock host->lock and pcr->lock may deadlock, one way to solve
      the deadlock is remove host->lock in sd_isr_done_transfer(), but if
      using workqueue the we can avoid using the spinlock and also avoid
      the problem.
      
      Signed-off-by: default avatarMicky Ching <micky_ching@realsil.com.cn>
      Acked-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
      Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
      98fcc576
    • Feng Tang's avatar
      x86/intel: Add quirk to disable HPET for the Baytrail platform · 62187910
      Feng Tang authored
      
      
      HPET on current Baytrail platform has accuracy problem to be
      used as reliable clocksource/clockevent, so add a early quirk to
      disable it.
      
      Signed-off-by: default avatarFeng Tang <feng.tang@intel.com>
      Cc: Clemens Ladisch <clemens@ladisch.de>
      Cc: John Stultz <john.stultz@linaro.org>
      Cc: Linus Torvalds <torvalds@linux-foundation.org>
      Link: http://lkml.kernel.org/r/1398327498-13163-2-git-send-email-feng.tang@intel.com
      Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
      62187910
    • Feng Tang's avatar
      x86/hpet: Make boot_hpet_disable extern · f10f383d
      Feng Tang authored
      
      
      HPET on some platform has accuracy problem. Making
      "boot_hpet_disable" extern so that we can runtime disable
      the HPET timer by using quirk to check the platform.
      
      Signed-off-by: default avatarFeng Tang <feng.tang@intel.com>
      Cc: Clemens Ladisch <clemens@ladisch.de>
      Cc: John Stultz <john.stultz@linaro.org>
      Cc: Linus Torvalds <torvalds@linux-foundation.org>
      Link: http://lkml.kernel.org/r/1398327498-13163-1-git-send-email-feng.tang@intel.com
      Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
      f10f383d
    • Linus Torvalds's avatar
      Merge tag 'for-linus-20140507' of git://git.infradead.org/linux-mtd · 9f1eb57d
      Linus Torvalds authored
      Pull MTD fix from Brian Norris:
       "A single update for Keystone SoC's, whose NAND controller does not
        support subpage programming"
      
      * tag 'for-linus-20140507' of git://git.infradead.org/linux-mtd:
        mtd: davinci-nand: disable subpage write for keystone-nand
      9f1eb57d
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid · 7ceeff44
      Linus Torvalds authored
      Pull HID fixes from Jiri Kosina:
      
       - fix a small bug in computation of report size, which might cause some
         devices (Atmel touchpad found on the Samsung Ativ 9) to reject
         reports with otherwise valid contents
      
       - a few device-ID specific quirks/additions piggy-backing on top of it
      
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid:
        HID: sensor-hub: Add in quirk for sensor hub in Lenovo Ideapad Yogas
        HID: add NO_INIT_REPORTS quirk for Synaptics Touch Pad V 103S
        HID: core: fix computation of the report size
        HID: multitouch: add support of EliteGroup 05D8 panels
      7ceeff44
    • Linus Torvalds's avatar
      Merge branch 'drm-radeon-mullins' of git://people.freedesktop.org/~airlied/linux · f56cfe0c
      Linus Torvalds authored
      Pull radeon mullins support from Dave Airlie:
       "This is support for the new AMD mullins APU, it pretty much just adds
        support to the driver in the all the right places, and is pretty low
        risk wrt other GPUs"
      
      Oh well.  I guess it ends up fitting under "support new hardware" for
      merging late.
      
      * 'drm-radeon-mullins' of git://people.freedesktop.org/~airlied/linux:
        drm/radeon: add pci ids for Mullins
        drm/radeon: add Mullins VCE support
        drm/radeon: modesetting updates for Mullins.
        drm/radeon: dpm updates for KV/KB
        drm/radeon: add Mullins dpm support.
        drm/radeon: add Mullins UVD support.
        drm/radeon: update cik init for Mullins.
        drm/radeon: add Mullins chip family
      f56cfe0c
    • Linus Torvalds's avatar
      Merge branch 'drm-fixes' of git://people.freedesktop.org/~airlied/linux · 8a207d3e
      Linus Torvalds authored
      Pull drm fixes from Dave Airlie:
       "radeon, i915 and nouveau fixes, all fixes for regressions or black
        screens, or possible oopses"
      
      * 'drm-fixes' of git://people.freedesktop.org/~airlied/linux:
        drm/radeon: lower the ref * post PLL maximum
        drm/radeon: check that we have a clock before PLL setup
        drm/radeon: drm/radeon: add missing radeon_semaphore_free to error path
        drm/radeon: Fix num_banks calculation for SI
        agp: info leak in agpioc_info_wrap()
        drm/gm107/gr: bump attrib cb size quite a bit
        drm/nouveau: fix another lock unbalance in nouveau_crtc_page_flip
        drm/nouveau/bios: fix shadowing from PROM on big-endian systems
        drm/nouveau/acpi: allow non-optimus setups to load vbios from acpi
        drm/radeon/dp: check for errors in dpcd reads
        drm/radeon: avoid high jitter with small frac divs
        drm/radeon: check buffer relocation offset
        drm/radeon: use pflip irq on R600+ v2
        drm/radeon/uvd: use lower clocks on old UVD to boot v2
        drm/i915: don't try DP_LINK_BW_5_4 on HSW ULX
        drm/i915: Sanitize the enable_ppgtt module option once
        drm/i915: Break encoder->crtc link separately in intel_sanitize_crtc()
      8a207d3e
    • George Spelvin's avatar
      x86-64, build: Fix stack protector Makefile breakage with 32-bit userland · 14262d67
      George Spelvin authored
      
      
      If you are using a 64-bit kernel with 32-bit userland, then
      scripts/gcc-x86_64-has-stack-protector.sh invokes 32-bit gcc
      with -mcmodel=kernel, which produces:
      
      <stdin>:1:0: error: code model 'kernel' not supported in the 32 bit mode
      
      and trips the "broken compiler" test at arch/x86/Makefile:120.
      
      There are several places a fix is possible, but the following seems
      cleanest.  (But it's minimal; it would also be possible to factor
      out a bunch of stuff from the two branches of the if.)
      
      Signed-off-by: default avatarGeorge Spelvin <linux@horizon.com>
      Link: http://lkml.kernel.org/r/20140507210552.7581.qmail@ns.horizon.com
      Cc: <stable@vger.kernel.org> # v3.14
      Signed-off-by: default avatarH. Peter Anvin <hpa@linux.intel.com>
      14262d67
  11. May 07, 2014