Skip to content
  1. Dec 15, 2018
    • Linus Torvalds's avatar
      Merge tag 'drm-fixes-2018-12-14' of git://anongit.freedesktop.org/drm/drm · 92de1de5
      Linus Torvalds authored
      Pull drm fixes from Dave Airlie:
       "While I hoped things would calm down, the world hasn't joined with me,
        but it's a few things scattered over a wide area. The i915 workarounds
        regression fix is probably the largest, the rest are more usual sized.
        We also get some new AMD PCI IDs.
      
        There is also a patch in here to MAINTAINERS to added Daniel as an
        official DRM toplevel co-maintainer, he's decided he wants to step up
        and share the glory, and he'll likely process next weeks fixes while
        I'm away on holidays.
      
        Summary:
      
        amdgpu:
      
         - some new PCI IDs
      
         - fixed firmware image updates
      
         - power management fixes
      
         - locking warning fix
      
        nouveau:
      
         - framebuffer flushing fix
      
         - memory leak fix
      
         - tegra device init regression fix
      
        vmwgfx:
      
         - OOM kernel memory fix
      
         - excess return in function fix
      
        i915:
      
         - the biggest fix is a regression fix where workarounds weren't
           getting reapplied after a gpu hang causing further crashing, this
           fixes the workaround application to make it happen again
      
         - GPU hang fixes for Braswell and some GEN3 GPUs
      
         - GVT fix for broadwell tiling
      
        rockchip:
      
         - revert to fix a regression causing a WARN on shutdown
      
        mediatek:
      
         - avoid crash attaching to non-existant bridges"
      
      * tag 'drm-fixes-2018-12-14' of git://anongit.freedesktop.org/drm/drm: (23 commits)
        drm/vmwgfx: Protect from excessive execbuf kernel memory allocations v3
        MAINTAINERS: Daniel for drm co-maintainer
        drm/amdgpu: drop fclk/gfxclk ratio setting
        drm/vmwgfx: remove redundant return ret statement
        drm/i915: Flush GPU relocs harder for gen3
        drm/i915: Allocate a common scratch page
        drm/i915/execlists: Apply a full mb before execution for Braswell
        drm/nouveau/kms: Fix memory leak in nv50_mstm_del()
        drm/nouveau/kms/nv50-: also flush fb writes when rewinding push buffer
        drm/amdgpu: Fix DEBUG_LOCKS_WARN_ON(depth <= 0) in amdgpu_ctx.lock
        Revert "drm/rockchip: Allow driver to be shutdown on reboot/kexec"
        drm/nouveau/drm/nouveau: tegra: Call nouveau_drm_device_init()
        drm/amdgpu/powerplay: Apply avfs cks-off voltages on VI
        drm/amdgpu: update SMC firmware image for polaris10 variants
        drm/amdkfd: add new vega20 pci id
        drm/amdkfd: add new vega10 pci ids
        drm/amdgpu: add some additional vega20 pci ids
        drm/amdgpu: add some additional vega10 pci ids
        drm/amdgpu: update smu firmware images for VI variants (v2)
        drm/i915: Introduce per-engine workarounds
        ...
      92de1de5
  2. Dec 14, 2018
    • Linus Torvalds's avatar
      Merge tag 'xarray-4.20-rc7' of git://git.infradead.org/users/willy/linux-dax · 880b9df1
      Linus Torvalds authored
      Pull XArray fixes from Matthew Wilcox:
       "Two bugfixes, each with test-suite updates, two improvements to the
        test-suite without associated bugs, and one patch adding a missing
        API"
      
      * tag 'xarray-4.20-rc7' of git://git.infradead.org/users/willy/linux-dax:
        XArray: Fix xa_alloc when id exceeds max
        XArray tests: Check iterating over multiorder entries
        XArray tests: Handle larger indices more elegantly
        XArray: Add xa_cmpxchg_irq and xa_cmpxchg_bh
        radix tree: Don't return retry entries from lookup
      880b9df1
    • Linus Torvalds's avatar
      Merge tag 'linux-kselftest-4.20-rc7' of... · 65e08c5e
      Linus Torvalds authored
      Merge tag 'linux-kselftest-4.20-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest
      
      Pull Kselftest fix from Shuah Khan:
       "A single fix for a seccomp test from Kees Cook."
      
      * tag 'linux-kselftest-4.20-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest:
        selftests/seccomp: Remove SIGSTOP si_pid check
      65e08c5e
    • Linus Torvalds's avatar
      Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/evalenti/linux-soc-thermal · 76a5cfb8
      Linus Torvalds authored
      Pull thermal fixes from Eduardo Valentin:
       "Fixes for STM and HISI thermal drivers"
      
      * 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/evalenti/linux-soc-thermal:
        thermal: stm32: Fix stm_thermal_read_factory_settings
        thermal: stm32: read factory settings inside stm_thermal_prepare
        thermal/drivers/hisi: Fix number of sensors on hi3660
        thermal/drivers/hisi: Fix wrong platform_get_irq_byname()
      76a5cfb8
    • Dave Airlie's avatar
      Merge branch 'vmwgfx-fixes-4.20' of git://people.freedesktop.org/~thomash/linux into drm-fixes · 1df07a7f
      Dave Airlie authored
      
      
      One regression fix for avoiding kernel OOM, one cleanup return fix.
      
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      From: Thomas Hellstrom <thellstrom@vmware.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20181213122815.10581-1-thellstrom@vmware.com
      1df07a7f
    • Matthew Wilcox's avatar
      XArray: Fix xa_alloc when id exceeds max · 48483614
      Matthew Wilcox authored
      Specifying a starting ID greater than the maximum ID isn't something
      attempted very often, but it should fail.  It was succeeding due to
      xas_find_marked() returning the wrong error state, so add tests for
      both xa_alloc() and xas_find_marked().
      
      Fixes: b803b428
      
       ("xarray: Add XArray iterators")
      Signed-off-by: default avatarMatthew Wilcox <willy@infradead.org>
      48483614
    • Linus Torvalds's avatar
      Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma · e10db791
      Linus Torvalds authored
      Pull rdma fixes from Doug Ledford:
       "We have 5 small fixes for this pull request. One is a performance
        regression, so not necessarily strictly a fix, but it was small and
        reasonable and claimed to avoid thrashing in the scheduler, so I took
        it. The remaining are all legitimate fixes that match the "we take
        fixes any time" criteria.
      
        Summary:
      
         - One performance regression for hfi1
      
         - One kasan fix for hfi1
      
         - A couple mlx5 fixes
      
         - A core oops fix"
      
      * tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma:
        IB/core: Fix oops in netdev_next_upper_dev_rcu()
        IB/mlx5: Block DEVX umem from the non applicable cases
        IB/mlx5: Fix implicit ODP interrupted page fault
        IB/hfi1: Fix an out-of-bounds access in get_hw_stats
        IB/hfi1: Fix a latency issue for small messages
      e10db791
    • Linus Torvalds's avatar
      Merge tag 'mmc-v4.20-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc · e861e11c
      Linus Torvalds authored
      Pull mmc fixes from Ulf Hansson:
       "MMC core:
         - Fixup RPMB requests to use mrq->sbc when sending CMD23
      
        MMC host:
         - omap: Fix broken MMC/SD on OMAP15XX/OMAP5910/OMAP310
      
         - sdhci-omap: Fix DCRC error handling during tuning
      
         - sdhci: Fixup the timeout check window for clock and reset"
      
      * tag 'mmc-v4.20-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc:
        mmc: sdhci: fix the timeout check window for clock and reset
        mmc: sdhci-omap: Fix DCRC error handling during tuning
        MMC: OMAP: fix broken MMC on OMAP15XX/OMAP5910/OMAP310
        mmc: core: use mrq->sbc when sending CMD23 for RPMB
      e861e11c
    • Linus Torvalds's avatar
      Merge tag 'sound-4.20-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound · 52a7dc28
      Linus Torvalds authored
      Pull sound fixes from Takashi Iwai:
       "Only usual suspects here: a few more fixups for Realtek HD-audio on
        various PCs, including a regression fix in the previous fix for Lenovo
        X1 Carbon, as well as a typo fix in the recent Fireface patch"
      
      * tag 'sound-4.20-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound:
        ALSA: hda/realtek: Enable audio jacks of ASUS UX433FN/UX333FA with ALC294
        ALSA: hda/realtek: Enable audio jacks of ASUS UX533FD with ALC294
        ALSA: hda/realtek: ALC294 mic and headset-mode fixups for ASUS X542UN
        ALSA: fireface: fix reference to wrong register for clock configuration
        ALSA: hda/realtek - Fix the mute LED regresion on Lenovo X1 Carbon
        ALSA: hda/realtek - Fixed headphone issue for ALC700
      52a7dc28
  3. Dec 13, 2018
    • Thomas Hellstrom's avatar
      drm/vmwgfx: Protect from excessive execbuf kernel memory allocations v3 · fd567467
      Thomas Hellstrom authored
      
      
      With the new validation code, a malicious user-space app could
      potentially submit command streams with enough buffer-object and resource
      references in them to have the resulting allocated validion nodes and
      relocations make the kernel run out of GFP_KERNEL memory.
      
      Protect from this by having the validation code reserve TTM graphics
      memory when allocating.
      
      Signed-off-by: default avatarThomas Hellstrom <thellstrom@vmware.com>
      Reviewed-by: default avatarDeepak Rawat <drawat@vmware.com>
      ---
      v2: Removed leftover debug printouts
      fd567467
    • Linus Torvalds's avatar
      Merge tag 'for-4.20/dm-fixes' of... · 67f2a930
      Linus Torvalds authored
      Merge tag 'for-4.20/dm-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm
      
      Pull device mapper fixes from Mike Snitzer:
      
       - Fix DM cache metadata to verify that a cache has block before trying
         to continue with operation that requires them.
      
       - Fix bio-based DM core's dm_make_request() to properly impose device
         limits on individual bios by making use of blk_queue_split().
      
       - Fix long-standing race with how DM thinp notified userspace of
         thin-pool mode state changes before they were actually made.
      
       - Fix the zoned target's bio completion handling; this is a fairly
         invassive fix at this stage but it is localized to the zoned target.
         Any zoned target users will benefit from this fix.
      
      * tag 'for-4.20/dm-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm:
        dm thin: bump target version
        dm thin: send event about thin-pool state change _after_ making it
        dm zoned: Fix target BIO completion handling
        dm: call blk_queue_split() to impose device limits on bios
        dm cache metadata: verify cache has blocks in blocks_are_clean_separate_dirty()
      67f2a930
    • Linus Torvalds's avatar
      Merge tag 'media/v4.20-5' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media · 14a996c3
      Linus Torvalds authored
      Pull media fixes from Mauro Carvalho Chehab:
      
       - one regression at vsp1 driver
      
       - some last time changes for the upcoming request API logic and for
         stateless codec support. As the stateless codec "cedrus" driver is at
         staging, don't apply the MPEG controls as part of the main V4L2 API,
         as those may not be ready for production yet.
      
      * tag 'media/v4.20-5' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media:
        media: Add a Kconfig option for the Request API
        media: extended-controls.rst: add note to the MPEG2 state controls
        media: mpeg2-ctrls.h: move MPEG2 state controls to non-public header
        media: vicodec: set state resolution from raw format
        media: vivid: drop v4l2_ctrl_request_complete() from start_streaming
        media: vb2: don't unbind/put the object when going to state QUEUED
        media: vb2: keep a reference to the request until dqbuf
        media: vb2: skip request checks for VIDIOC_PREPARE_BUF
        media: vb2: don't call __vb2_queue_cancel if vb2_start_streaming failed
        media: cedrus: Fix a NULL vs IS_ERR() check
        media: vsp1: Fix LIF buffer thresholds
      14a996c3
    • Linus Torvalds's avatar
      Merge tag 'ovl-fixes-4.20-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs · e6333d72
      Linus Torvalds authored
      Pull overlayfs fixes from Miklos Szeredi:
       "Needed to revert a patch, because it possibly introduces a security
        hole. Since the patch is basically a conceptual cleanup, not a bug
        fix, it's safe to revert. I'm not giving up on this, and discussions
        seemed to have reached an agreement over how to move forward, but that
        can wait 'till the next release.
      
        The other two patches are fixes for bugs introduced in recent
        releases"
      
      * tag 'ovl-fixes-4.20-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs:
        Revert "ovl: relax permission checking on underlying layers"
        ovl: fix decode of dir file handle with multi lower layers
        ovl: fix missing override creds in link of a metacopy upper
      e6333d72
    • Linus Torvalds's avatar
      Merge tag 'fuse-fixes-4.20-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/fuse · 70f48282
      Linus Torvalds authored
      Pull fuse fixes from Miklos Szeredi:
       "There's one patch fixing a minor but long lived bug, the others are
        fixing regressions introduced in this cycle"
      
      * tag 'fuse-fixes-4.20-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/fuse:
        fuse: continue to send FUSE_RELEASEDIR when FUSE_OPEN returns ENOSYS
        fuse: Fix memory leak in fuse_dev_free()
        fuse: fix revalidation of attributes for permission check
        fuse: fix fsync on directory
        fuse: Add bad inode check in fuse_destroy_inode()
      70f48282
    • Linus Torvalds's avatar
      Merge tag 'trace-v4.20-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace · b5884002
      Linus Torvalds authored
      Pull tracing fixes from Steven Rostedt:
       "While running various ftrace tests on new development code, the
        kmemleak detector found some allocations that were not freed
        correctly.
      
        This fixes a couple of leaks in the event trigger code as well as in
        adding function trace filters in trace instances"
      
      * tag 'trace-v4.20-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace:
        tracing: Fix memory leak of instance function hash filters
        tracing: Fix memory leak in set_trigger_filter()
        tracing: Fix memory leak in create_filter()
      b5884002
    • Dave Airlie's avatar
      Merge branch 'mediatek-drm-fixes-4.20' of... · a805ce68
      Dave Airlie authored
      
      Merge branch 'mediatek-drm-fixes-4.20' of https://github.com/ckhu-mediatek/linux.git-tags into drm-fixes
      
      Single bridge attachment fix.
      
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      From: CK Hu <ck.hu@mediatek.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/1544407975.18825.3.camel@mtksdaap41
      a805ce68
    • Daniel Vetter's avatar
      MAINTAINERS: Daniel for drm co-maintainer · 28adac6f
      Daniel Vetter authored
      
      
      lkml and Linus gained a CoC, and it's serious this time. Which means
      my no 1 reason for declining to officially step up as drm maintainer
      is gone, and I didn't find any new good excuse.
      
      I chatted with a few people in private already, and the biggest
      concern is that I mislay my community hat and start running around
      with my intel hat only. Or some other convenient abuse of trust.
      
      That's why this patch doesn't just need a lot of acks that mean "yeah
      seems fine to me", but a lot of acks that mean "yeah we'll tell you
      when you're over the line and usurp you from that comfy chair if you
      don't get it". Which I think we've been done a fairly good job here at
      dri-devel in general, but better to be clear.
      
      Rough idea is that I'll do this for maybe 2-3 years, helping Dave
      figure out a group model for drm overall. And getting the tooling and
      infrastructure for that off the ground. Then step down again because
      some other shiny thing that needs chasing. Of course as plans tend to
      do, this one will probably pan out a bit different in reality.
      
      Cc: David Airlie <airlied@linux.ie>
      Cc: Linus Torvalds <torvalds@linux-foundation.org>
      Signed-off-by: default avatarDaniel Vetter <daniel.vetter@intel.com>
      Acked-by: default avatarChristian König <christian.koenig@amd.com>
      Acked-by: default avatarRodrigo Vivi <rodrigo.vivi@intel.com>
      Acked-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      Acked-by: default avatarEric Anholt <eric@anholt.net>
      Acked-by: default avatarGerd Hoffmann <kraxel@redhat.com>
      Acked-by: default avatarDaniel Stone <daniels@collabora.com>
      Signed-off-by: default avatarDaniel Vetter <daniel@ffwll.ch>
      Acked-by: default avatarNeil Armstrong <narmstrong@baylibre.com>
      Acked-by: default avatarThierry Reding <treding@nvidia.com>
      Acked-by: default avatarThomas Hellstrom <thellstrom@vmware.com>
      Acked-by: default avatarSean Paul <sean@poorly.run>
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20181210103001.30549-1-daniel.vetter@ffwll.ch
      28adac6f
    • Dave Airlie's avatar
      Merge branch 'linux-4.20' of git://github.com/skeggsb/linux into drm-fixes · b5f436e7
      Dave Airlie authored
      
      
      Three fixes:
      tegra regression fix
      display flushing fix
      mst cleanup fix.
      
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      From: Ben Skeggs <skeggsb@gmail.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/CACAvsv7WCPzjQZonk+eS1FgEUKirz-4LOrVpMUVMM=D-GjbVpg@mail.gmail.com
      b5f436e7
    • Dave Airlie's avatar
      Merge branch 'drm-fixes-4.20' of git://people.freedesktop.org/~agd5f/linux into drm-fixes · 26eacb78
      Dave Airlie authored
      
      
      Fixes for 4.20:
      - Stability fixes for new polaris variants (e.g., RX590)
      - New vega pci ids
      - Vega20 smu fix
      - Ctx locking fix
      
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      From: Alex Deucher <alexdeucher@gmail.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20181212203022.3054-1-alexander.deucher@amd.com
      26eacb78
    • Dave Airlie's avatar
      Merge tag 'drm-misc-fixes-2018-12-12' of git://anongit.freedesktop.org/drm/drm-misc into drm-fixes · e59166b5
      Dave Airlie authored
      
      
      - rockchip: Revert change causing WARN on shutdown (Brian)
      
      Cc: Brian Norris <briannorris@chromium.org>
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      
      From: Sean Paul <sean@poorly.run>
      Link: https://patchwork.freedesktop.org/patch/msgid/20181212204309.GA150523@art_vandelay
      e59166b5
    • Dave Airlie's avatar
      Merge tag 'drm-intel-fixes-2018-12-12-1' of... · ce07fe9e
      Dave Airlie authored
      
      Merge tag 'drm-intel-fixes-2018-12-12-1' of git://anongit.freedesktop.org/drm/drm-intel into drm-fixes
      
      - Two fixes to avoid GPU hangs (on Braswell and Gen3)
      
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      From: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20181212134010.GA18900@jlahtine-desk.ger.corp.intel.com
      ce07fe9e
    • Dave Airlie's avatar
      Merge tag 'drm-intel-fixes-2018-12-07' of... · 71fb5539
      Dave Airlie authored
      
      Merge tag 'drm-intel-fixes-2018-12-07' of git://anongit.freedesktop.org/drm/drm-intel into drm-fixes
      
      - Fix for system crash after GPU hang (Bugzilla #107945)
      - GVT fix for guest graphics corruption (https://github.com/intel/gvt-linux/issues/61)
      
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      From: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20181207104352.GA18214@jlahtine-desk.ger.corp.intel.com
      71fb5539
    • Evan Quan's avatar
      drm/amdgpu: drop fclk/gfxclk ratio setting · 676fff1a
      Evan Quan authored
      
      
      Since this is not needed any more on the latest SMC firmware.
      
      Signed-off-by: default avatarEvan Quan <evan.quan@amd.com>
      Acked-by: default avatarFeifei Xu <Feifei.Xu@amd.com>
      Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      676fff1a
    • Mark Zhang's avatar
      IB/core: Fix oops in netdev_next_upper_dev_rcu() · 37fbd834
      Mark Zhang authored
      When support for bonding of RoCE devices was added, there was
      necessarily a link between the RoCE device and the paired netdevice that
      was part of the bond.  If you remove the mlx4_en module, that paired
      association is broken (the RoCE device is still present but the paired
      netdevice has been released).  We need to account for this in
      is_upper_ndev_bond_master_filter() and filter out those links with a
      broken pairing or else we later oops in netdev_next_upper_dev_rcu().
      
      Fixes: 408f1242
      
       ("IB/core: Delete lower netdevice default GID entries in bonding scenario")
      Signed-off-by: default avatarMark Zhang <markz@mellanox.com>
      Reviewed-by: default avatarParav Pandit <parav@mellanox.com>
      Signed-off-by: default avatarLeon Romanovsky <leonro@mellanox.com>
      Signed-off-by: default avatarDoug Ledford <dledford@redhat.com>
      37fbd834
  4. Dec 12, 2018
  5. Dec 11, 2018
    • Brian Norris's avatar
      Revert "drm/rockchip: Allow driver to be shutdown on reboot/kexec" · 63238173
      Brian Norris authored
      This reverts commit 7f3ef5de.
      
      It causes new warnings [1] on shutdown when running the Google Kevin or
      Scarlet (RK3399) boards under Chrome OS. Presumably our usage of DRM is
      different than what Marc and Heiko test.
      
      We're looking at a different approach (e.g., [2]) to replace this, but
      IMO the revert should be taken first, as it already propagated to
      -stable.
      
      [1] Report here:
      http://lkml.kernel.org/lkml/20181205030127.GA200921@google.com
      
      WARNING: CPU: 4 PID: 2035 at drivers/gpu/drm/drm_mode_config.c:477 drm_mode_config_cleanup+0x1c4/0x294
      ...
       Call trace:
        drm_mode_config_cleanup+0x1c4/0x294
        rockchip_drm_unbind+0x4c/0x8c
        component_master_del+0x88/0xb8
        rockchip_drm_platform_remove+0x2c/0x44
        rockchip_drm_platform_shutdown+0x20/0x2c
        platform_drv_shutdown+0x2c/0x38
        device_shutdown+0x164/0x1b8
        kernel_restart_prepare+0x40/0x48
        kernel_restart+0x20/0x68
      ...
       Memory manager not clean during takedown.
       WARNING: CPU: 4 PID: 2035 at drivers/gpu/drm/drm_mm.c:950 drm_mm_takedown+0x34/0x44
      ...
        drm_mm_takedown+0x34/0x44
        rockchip_drm_unbind+0x64/0x8c
        component_master_del+0x88/0xb8
        rockchip_drm_platform_remove+0x2c/0x44
        rockchip_drm_platform_shutdown+0x20/0x2c
        platform_drv_shutdown+0x2c/0x38
        device_shutdown+0x164/0x1b8
        kernel_restart_prepare+0x40/0x48
        kernel_restart+0x20/0x68
      ...
      
      [2] https://patchwork.kernel.org/patch/10556151/
          https://www.spinics.net/lists/linux-rockchip/msg21342.html
          [PATCH] drm/rockchip: shutdown drm subsystem on shutdown
      
      Fixes: 7f3ef5de
      
       ("drm/rockchip: Allow driver to be shutdown on reboot/kexec")
      Cc: Jeffy Chen <jeffy.chen@rock-chips.com>
      Cc: Robin Murphy <robin.murphy@arm.com>
      Cc: Vicente Bergas <vicencb@gmail.com>
      Cc: Marc Zyngier <marc.zyngier@arm.com>
      Cc: Heiko Stuebner <heiko@sntech.de>
      Cc: stable@vger.kernel.org
      Signed-off-by: default avatarBrian Norris <briannorris@chromium.org>
      Signed-off-by: default avatarHeiko Stuebner <heiko@sntech.de>
      Link: https://patchwork.freedesktop.org/patch/msgid/20181205181657.177703-1-briannorris@chromium.org
      63238173
    • Thierry Reding's avatar
      drm/nouveau/drm/nouveau: tegra: Call nouveau_drm_device_init() · 4ac0a807
      Thierry Reding authored
      As part of commit cfea88a4
      
       ("drm/nouveau: Start using new drm_dev
      initialization helpers"), the initialization of the Nouveau DRM device
      was reworked and along the way the platform driver initialization was
      left incomplete. Add a call to nouveau_drm_device_init() to make sure
      all of the structures are properly initialized.
      
      Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
      Reviewed-by: default avatarLyude Paul <lyude@redhat.com>
      Tested-by: default avatarMarcel Ziswiler <marcel.ziswiler@toradex.com>
      Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
      4ac0a807