1. 18 1月, 2015 3 次提交
    • J
      drm/exynos: fix warning of vblank reference count · 7c4c5584
      Joonyoung Shim 提交于
      Prevented re-enabling the vblank interrupt by drm_vblank_off and
      drm_vblank_get from mixer_wait_for_vblank returns error after
      drm_vblank_off. We get below warnings without this error handling
      because vblank reference count is mismatched by above sequence.
      
      setting mode 1920x1080-60Hz@XR24 on connectors 16, crtc 13
      [   19.900793] ------------[ cut here ]------------
      [   19.903959] WARNING: CPU: 0 PID: 0 at drivers/gpu/drm/drm_irq.c:1072 exynos_drm_crtc_finish_pageflip+0xac/0xdc()
      [   19.914076] Modules linked in:
      [   19.917116] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 3.19.0-rc4-00040-g3d729789-dirty #46
      [   19.925342] Hardware name: SAMSUNG EXYNOS (Flattened Device Tree)
      [   19.931437] [<c0014430>] (unwind_backtrace) from [<c001158c>] (show_stack+0x10/0x14)
      [   19.939131] [<c001158c>] (show_stack) from [<c04cdd50>] (dump_stack+0x84/0xc4)
      [   19.946329] [<c04cdd50>] (dump_stack) from [<c00226f4>] (warn_slowpath_common+0x80/0xb0)
      [   19.954382] [<c00226f4>] (warn_slowpath_common) from [<c00227c0>] (warn_slowpath_null+0x1c/0x24)
      [   19.963132] [<c00227c0>] (warn_slowpath_null) from [<c02c20cc>] (exynos_drm_crtc_finish_pageflip+0xac/0xdc)
      [   19.972841] [<c02c20cc>] (exynos_drm_crtc_finish_pageflip) from [<c02cb7ec>] (mixer_irq_handler+0xdc/0x104)
      [   19.982546] [<c02cb7ec>] (mixer_irq_handler) from [<c005c904>] (handle_irq_event_percpu+0x78/0x134)
      [   19.991555] [<c005c904>] (handle_irq_event_percpu) from [<c005c9fc>] (handle_irq_event+0x3c/0x5c)
      [   20.000395] [<c005c9fc>] (handle_irq_event) from [<c005f384>] (handle_fasteoi_irq+0xe0/0x1ac)
      [   20.008885] [<c005f384>] (handle_fasteoi_irq) from [<c005bf88>] (generic_handle_irq+0x2c/0x3c)
      [   20.017463] [<c005bf88>] (generic_handle_irq) from [<c005c254>] (__handle_domain_irq+0x7c/0xec)
      [   20.026128] [<c005c254>] (__handle_domain_irq) from [<c0008698>] (gic_handle_irq+0x30/0x68)
      [   20.034449] [<c0008698>] (gic_handle_irq) from [<c00120c0>] (__irq_svc+0x40/0x74)
      [   20.041893] Exception stack(0xc06fff68 to 0xc06fffb0)
      [   20.046923] ff60:                   00000000 00000000 000052f6 c001b460 c06fe000 c07064e8
      [   20.055070] ff80: c04d743c c07392a2 c0739440 c06da340 ef7fca80 00000000 01000000 c06fffb0
      [   20.063212] ffa0: c000f24c c000f250 60000013 ffffffff
      [   20.068245] [<c00120c0>] (__irq_svc) from [<c000f250>] (arch_cpu_idle+0x38/0x3c)
      [   20.075611] [<c000f250>] (arch_cpu_idle) from [<c0050948>] (cpu_startup_entry+0x108/0x16c)
      [   20.083846] [<c0050948>] (cpu_startup_entry) from [<c06aec5c>] (start_kernel+0x3a0/0x3ac)
      [   20.091980] ---[ end trace 2c76ee0500489d1b ]---
      Signed-off-by: NJoonyoung Shim <jy0922.shim@samsung.com>
      Signed-off-by: NInki Dae <inki.dae@samsung.com>
      7c4c5584
    • J
      drm/exynos: remove unnecessary runtime pm operations · bd508666
      Joonyoung Shim 提交于
      In booting, we can see a below message.
      
      [    3.241728] exynos-mixer 14450000.mixer: Unbalanced pm_runtime_enable!
      
      Already pm_runtime_enable is called by probe function. Remove
      pm_runtime_enable/disable from mixer_bind and mixer_unbind.
      Signed-off-by: NJoonyoung Shim <jy0922.shim@samsung.com>
      Signed-off-by: NInki Dae <inki.dae@samsung.com>
      bd508666
    • J
      drm/exynos: fix reset codes for memory mapped hdmi phy · 265134a0
      Joonyoung Shim 提交于
      This fixes reset codes to support memory mapped hdmi phy as well as hdmi
      phy dedicated i2c lines.
      Signed-off-by: NJoonyoung Shim <jy0922.shim@samsung.com>
      Signed-off-by: NInki Dae <inki.dae@samsung.com>
      265134a0
  2. 12 1月, 2015 1 次提交
  3. 08 1月, 2015 3 次提交
    • D
      Merge tag 'amdkfd-fixes-2015-01-06' of git://people.freedesktop.org/~gabbayo/linux into drm-fixes · 79305ec6
      Dave Airlie 提交于
      - Complete overhaul to the main IOCTL function, kfd_ioctl(), according to
        drm_ioctl() example. This includes changing the IOCTL definitions, so it
        breaks compatibility with previous versions of the userspace. However,
        because the kernel was not officialy released yet, and this the first
        kernel that includes amdkfd, I assume I can still do that at this stage.
      
      - A couple of bug fixes for the non-HWS path (used for bring-ups and
        debugging purposes only).
      
      * tag 'amdkfd-fixes-2015-01-06' of git://people.freedesktop.org/~gabbayo/linux:
        drm/amdkfd: rewrite kfd_ioctl() according to drm_ioctl()
        drm/amdkfd: reformat IOCTL definitions to drm-style
        drm/amdkfd: Do copy_to/from_user in general kfd_ioctl()
        drm/amdkfd: unmap VMID<-->PASID when relesing VMID (non-HWS)
        drm/radeon: Assign VMID to PASID for IH in non-HWS mode
        drm/radeon: do not leave queue acquired if timeout happens in kgd_hqd_destroy()
        drm/amdkfd: Load mqd to hqd in non-HWS mode
        drm/amd: Fixing typos in kfd<->kgd interface
      79305ec6
    • D
      Merge branch 'drm-fixes-3.19' of git://people.freedesktop.org/~agd5f/linux into drm-fixes · eaee8ec4
      Dave Airlie 提交于
      some minor radeon fixes.
      
      * 'drm-fixes-3.19' of git://people.freedesktop.org/~agd5f/linux:
        drm/radeon: integer underflow in radeon_cp_dispatch_texture()
        drm/radeon: adjust default bapm settings for KV
        drm/radeon: properly filter DP1.2 4k modes on non-DP1.2 hw
        drm/radeon: fix sad_count check for dce3
        drm/radeon: KV has three PPLLs (v2)
      eaee8ec4
    • D
      Merge branch 'linux-3.19' of git://anongit.freedesktop.org/git/nouveau/linux-2.6 into drm-fixes · f6624888
      Dave Airlie 提交于
          - Fix BUG() on !SMP builds
          - Fix for OOPS on pre-NV50 that snuck into -next
          - MCP7[789A] hang fix where firmware hasn't already setup NISO pollers
          - NV4x IGP MSI disable, it doesn't appear to work correctly
          - Add GK208B to recognised boards (no code change aside from adding
          chipset recognition)
      
      * 'linux-3.19' of git://anongit.freedesktop.org/git/nouveau/linux-2.6:
        drm/nouveau/nouveau: Do not BUG_ON(!spin_is_locked()) on UP
        drm/nv4c/mc: disable msi
        drm/nouveau/fb/ram/mcp77: enable NISO poller
        drm/nouveau/fb/ram/mcp77: use carveout reg to determine size
        drm/nouveau/fb/ram/mcp77: subclass nouveau_ram
        drm/nouveau: wake up the card if necessary during gem callbacks
        drm/nouveau/device: Add support for GK208B, resolves bug 86935
        drm/nouveau: fix missing return statement in nouveau_ttm_tt_unpopulate
        drm/nouveau/bios: fix oops on pre-nv50 chipsets
      f6624888
  4. 07 1月, 2015 3 次提交
  5. 06 1月, 2015 5 次提交
  6. 05 1月, 2015 1 次提交
  7. 04 1月, 2015 2 次提交
    • D
      Merge tag 'amdkfd-fixes-2014-12-30' of git://people.freedesktop.org/~gabbayo/linux into linus · 2f6bd4da
      Dave Airlie 提交于
      Highlights:
      
      - Link order changes in drm/Makefile and drivers/Makefile to fix issue
        when amdkfd, radeon and amd_iommu_v2 are compiled inside the kernel
        image.
      
      - Consider kernel configuration (using #IFDEFs) when radeon initializes
        amdkfd, due to a specific configuration that makes symbol_request()
        return a non-NULL value when a symbol doesn't exists. Rusty Russel
        is helping me to find the root cause, but it may take a while because
        of year-end so I'm sending this as a band-aid solution.
      
      * tag 'amdkfd-fixes-2014-12-30' of git://people.freedesktop.org/~gabbayo/linux:
        drm/radeon: Init amdkfd only if it was compiled
        amdkfd: actually allocate longs for the pasid bitmask
        drm: Put amdkfd before radeon in drm Makefile
        drivers: Move iommu/ before gpu/ in Makefile
        amdkfd: Remove duplicate include
        amdkfd: Fixing topology bug in building sysfs nodes
        amdkfd: Fix accounting of device queues
      2f6bd4da
    • D
      Merge tag 'drm-intel-next-fixes-2014-12-30' of git://anongit.freedesktop.org/drm-intel into linus · 379a2d31
      Dave Airlie 提交于
      I've had these since before -rc1, but they missed my last pull
      request. Real bug fixes and mostly cc: stable material.
      
      * tag 'drm-intel-next-fixes-2014-12-30' of git://anongit.freedesktop.org/drm-intel:
        drm/i915: add missing rpm ref to i915_gem_pwrite_ioctl
        Revert "drm/i915: Preserve VGACNTR bits from the BIOS"
        drm/i915: Don't call intel_prepare_page_flip() multiple times on gen2-4
        drm/i915: Kill check_power_well() calls
      379a2d31
  8. 03 1月, 2015 3 次提交
    • L
      Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi · d753856c
      Linus Torvalds 提交于
      Pull SCSI fixes from James Bottomley:
       "This is a set of three fixes: one to correct an abort path thinko
        causing failures (and a panic) in USB on device misbehaviour, One to
        fix an out of order issue in the fnic driver and one to match discard
        expectations to qemu which otherwise cause Linux to behave badly as a
        guest"
      
      * tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi:
        SCSI: fix regression in scsi_send_eh_cmnd()
        fnic: IOMMU Fault occurs when IO and abort IO is out of order
        sd: tweak discard heuristics to work around QEMU SCSI issue
      d753856c
    • L
      Merge tag 'sound-3.19-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound · 6a4bfa7c
      Linus Torvalds 提交于
      Pull sound fixes from Takashi Iwai:
       "Nothing too exciting as a new year's start here: most of fixes are for
        ASoC, a boot crash fix on OMAP for deferred probe, a few driver
        specific fixes (Intel, dwc, rockchip, rt5677), in addition to typo
        fixes in kerneldoc comments for PCM"
      
      * tag 'sound-3.19-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound:
        ALSA: pcm: Fix kerneldoc for params_*() functions
        ASoC: rockchip: i2s: fix maxburst of dma data to 4
        ASoC: rockchip: i2s: fix error defination of transmit data level
        ASoC: Intel: correct the fixed free block allocation
        ASoC: rt5677: fixed rt5677_dsp_vad_put rt5677_dsp_vad_get panic
        ASoC: Intel: Fix BYTCR machine driver MODULE_ALIAS
        ASoC: Intel: Fix BYTCR firmware name
        ASoC: dwc: Iterate over all channels
        ASoC: dwc: Ensure FIFOs are flushed to prevent channel swap
        ASoC: Intel: Add I2C dependency to two new machines
        ASoC: dapm: Remove snd_soc_of_parse_audio_routing() due to deferred probe
      6a4bfa7c
    • L
      Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost · d7e19bd8
      Linus Torvalds 提交于
      Pull vhost cleanup and virtio bugfix
       "There's a single change here, fixing a vhost bug where vhost
        initialization fails due to used ring alignment check being too
        strict"
      
      * tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost:
        vhost: relax used address alignment
        virtio_ring: document alignment requirements
      d7e19bd8
  9. 01 1月, 2015 4 次提交
  10. 31 12月, 2014 9 次提交
    • T
      nios2: Use preempt_schedule_irq · 1b0f4492
      Tobias Klauser 提交于
      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: NTobias Klauser <tklauser@distanz.ch>
      Acked-by: NLey Foon Tan <lftan@altera.com>
      1b0f4492
    • W
      nios2: Initialize cpuinfo.mmu · 6f3d2b00
      Walter Goossens 提交于
      This patch initializes the mmu field of the cpuinfo structure to the
      value supplied by the devicetree.
      Signed-off-by: NWalter Goossens <waltergoossens@home.nl>
      Acked-by: NLey Foon Tan <lftan@altera.com>
      6f3d2b00
    • L
      Merge tag 'fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc · 9bb29b6b
      Linus Torvalds 提交于
      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
    • L
      Merge tag 'fbdev-fixes-3.19' of git://git.kernel.org/pub/scm/linux/kernel/git/tomba/linux · e4811a27
      Linus Torvalds 提交于
      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
    • L
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input · bac22980
      Linus Torvalds 提交于
      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
    • J
      Revert "cfg80211: make WEXT compatibility unselectable" · 831a39c2
      Jiri Kosina 提交于
      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/343688Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      831a39c2
    • L
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net · 2c90331c
      Linus Torvalds 提交于
      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
    • L
      Merge tag 'linux-kselftest-3.19-fixes' of... · 6ab1e8de
      Linus Torvalds 提交于
      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
    • A
      SCSI: fix regression in scsi_send_eh_cmnd() · 511833ac
      Alan Stern 提交于
      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: NAlan Stern <stern@rowland.harvard.edu>
      Reported-by: NАндрей Аладьев <aladjev.andrew@gmail.com>
      Tested-by: NАндрей Аладьев <aladjev.andrew@gmail.com>
      Fixes: ac61d195Acked-by: NHannes Reinecke <hare@suse.de>
      Cc: <stable@vger.kernel.org>
      Signed-off-by: NJames Bottomley <JBottomley@Parallels.com>
      511833ac
  11. 30 12月, 2014 6 次提交