1. 04 Oct, 2018 7 commits
  2. 03 Oct, 2018 1 commit
    • Neil Armstrong's avatar
      drm/fb_helper: Allow leaking fbdev smem_start · 4be9bd10
      Neil Armstrong authored
      Since "drm/fb: Stop leaking physical address", the default behaviour of
      the DRM fbdev emulation is to set the smem_base to 0 and pass the new
      FBINFO_HIDE_SMEM_START flag.
      
      The main reason is to avoid leaking physical addresse to user-space, and
      it follows a general move over the kernel code to avoid user-space to
      manipulate physical addresses and then use some other mechanisms like
      dma-buf to transfer physical buffer handles over multiple subsystems.
      
      But, a lot of devices depends on closed sources binaries to enable
      OpenGL hardware acceleration that uses this smem_start value to
      pass physical addresses to out-of-tree modules in order to render
      into these physical adresses. These should use dma-buf buffers allocated
      from the DRM display device instead and stop relying on fbdev overallocation
      to gather DMA memory (some HW vendors delivers GBM and Wayland capable
      binaries, but older unsupported devices won't have these new binaries
      and are doomed until an Open Source solution like Lima finalizes).
      
      Since these devices heavily depends on this kind of software and because
      the smem_start population was available for years, it's a breakage to
      stop leaking smem_start without any alternative solutions.
      
      This patch adds a Kconfig depending on the EXPERT config and an unsafe
      kernel module parameter tainting the kernel when enabled.
      
      A clear comment and Kconfig help text was added to clarify why and when
      this patch should be reverted, but in the meantime it's a necessary
      feature to keep.
      
      Cc: Dave Airlie <airlied@gmail.com>
      Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
      Cc: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
      Cc: Noralf Trønnes <noralf@tronnes.org>
      Cc: Maxime Ripard <maxime.ripard@bootlin.com>
      Cc: Eric Anholt <eric@anholt.net>
      Cc: Lucas Stach <l.stach@pengutronix.de>
      Cc: Rob Clark <robdclark@gmail.com>
      Cc: Ben Skeggs <skeggsb@gmail.com>
      Cc: Christian König <christian.koenig@amd.com>
      Signed-off-by: default avatarNeil Armstrong <narmstrong@baylibre.com>
      Reviewed-by: default avatarMaxime Ripard <maxime.ripard@bootlin.com>
      Tested-by: default avatarMaxime Ripard <maxime.ripard@bootlin.com>
      Acked-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      Acked-by: default avatarDave Airlie <airlied@gmail.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/1538136355-15383-1-git-send-email-narmstrong@baylibre.com
      4be9bd10
  3. 02 Oct, 2018 19 commits
  4. 01 Oct, 2018 4 commits
  5. 30 Sep, 2018 6 commits
  6. 29 Sep, 2018 3 commits
    • Greg Kroah-Hartman's avatar
      Merge tag 'for-linus-20180929' of git://git.kernel.dk/linux-block · 291d0e5d
      Greg Kroah-Hartman authored
      Jens writes:
        "Block fixes for 4.19-rc6
      
         A set of fixes that should go into this release. This pull request
         contains:
      
         - A fix (hopefully) for the persistent grants for xen-blkfront. A
           previous fix from this series wasn't complete, hence reverted, and
           this one should hopefully be it. (Boris Ostrovsky)
      
         - Fix for an elevator drain warning with SMR devices, which is
           triggered when you switch schedulers (Damien)
      
         - bcache deadlock fix (Guoju Fang)
      
         - Fix for the block unplug tracepoint, which has had the
           timer/explicit flag reverted since 4.11 (Ilya)
      
         - Fix a regression in this series where the blk-mq timeout hook is
           invoked with the RCU read lock held, hence preventing it from
           blocking (Keith)
      
         - NVMe pull from Christoph, with a single multipath fix (Susobhan Dey)"
      
      * tag 'for-linus-20180929' of git://git.kernel.dk/linux-block:
        xen/blkfront: correct purging of persistent grants
        Revert "xen/blkfront: When purging persistent grants, keep them in the buffer"
        blk-mq: I/O and timer unplugs are inverted in blktrace
        bcache: add separate workqueue for journal_write to avoid deadlock
        xen/blkfront: When purging persistent grants, keep them in the buffer
        block: fix deadline elevator drain for zoned block devices
        blk-mq: Allow blocking queue tag iter callbacks
        nvme: properly propagate errors in nvme_mpath_init
      291d0e5d
    • Greg Kroah-Hartman's avatar
      Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · e7541773
      Greg Kroah-Hartman authored
      Thomas writes:
        "A single fix for the AMD memory encryption boot code so it does not
         read random garbage instead of the cached encryption bit when a kexec
         kernel is allocated above the 32bit address limit."
      
      * 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86/boot: Fix kexec booting failure in the SEV bit detection code
      e7541773
    • Greg Kroah-Hartman's avatar
      Merge branch 'timers-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · e1ce697d
      Greg Kroah-Hartman authored
      Thomas writes:
        "Three small fixes for clocksource drivers:
         - Proper error handling in the Atmel PIT driver
         - Add CLOCK_SOURCE_SUSPEND_NONSTOP for TI SoCs so suspend works again
         - Fix the next event function for Facebook Backpack-CMM BMC chips so
           usleep(100) doesnt sleep several milliseconds"
      
      * 'timers-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        clocksource/drivers/timer-atmel-pit: Properly handle error cases
        clocksource/drivers/fttmr010: Fix set_next_event handler
        clocksource/drivers/ti-32k: Add CLOCK_SOURCE_SUSPEND_NONSTOP flag for non-am43 SoCs
      e1ce697d