1. 18 Dec, 2019 20 commits
  2. 17 Dec, 2019 4 commits
    • Daniel Vetter's avatar
      Merge tag 'drm-next-5.6-2019-12-11' of git://people.freedesktop.org/~agd5f/linux into drm-next · be452c4e
      Daniel Vetter authored
      drm-next-5.6-2019-12-11:
      
      amdgpu:
      - Add MST atomic routines
      - Add support for DMCUB (new helper microengine for displays)
      - Add OEM i2c support in DC
      - Use vstartup for vblank events on DCN
      - Simplify Kconfig for DC
      - Renoir fixes for DC
      - Clean up function pointers in DC
      - Initial support for HDCP 2.x
      - Misc code cleanups
      - GFX10 fixes
      - Rework JPEG engine handling for VCN
      - Add clock and power gating support for JPEG
      - BACO support for Arcturus
      - Cleanup PSP ring handling
      - Add framework for using BACO with runtime pm to save power
      - Move core pci state handling out of the driver for pm ops
      - Allow guest power control in 1 VF case with SR-IOV
      - SR-IOV fixes
      - RAS fixes
      - Support for power metrics on renoir
      - Golden settings updates for gfx10
      - Enable gfxoff on supported navi10 skus
      - Update MAINTAINERS
      
      amdkfd:
      - Clean up generational gfx code
      - Fixes for gfx10
      - DIQ fixes
      - Share more code with amdgpu
      
      radeon:
      - PPC DMA fix
      - Register checker fixes for r1xx/r2xx
      - Misc cleanups
      
      From: Alex Deucher <alexdeucher@gmail.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20191211223020.7510-1-alexander.deucher@amd.com
      be452c4e
    • Daniel Vetter's avatar
      d2e53228
    • Stephen Rothwell's avatar
      linux-next: build failure after merge of the drm-misc tree · ed08ddd9
      Stephen Rothwell authored
      Hi all,
      
      After merging the drm-misc tree, today's linux-next build (x86_64
      allmodconfig) failed like this:
      
      drivers/gpu/drm/bridge/analogix/analogix-anx6345.c: In function 'anx6345_i2c_probe':
      drivers/gpu/drm/bridge/analogix/analogix-anx6345.c:738:30: error: implicit declaration of function 'i2c_new_dummy' [-Werror=implicit-function-declaration]
        738 |    anx6345->i2c_clients[i] = i2c_new_dummy(client->adapter,
            |                              ^~~~~~~~~~~~~
      drivers/gpu/drm/bridge/analogix/analogix-anx6345.c:738:28: warning: assignment to 'struct i2c_client *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
        738 |    anx6345->i2c_clients[i] = i2c_new_dummy(client->adapter,
            |                            ^
      
      Caused by commit
      
        6aa19269 ("drm/bridge: Add Analogix anx6345 support")
      
      interacting with commit
      
        2c2f00ab ("i2c: remove i2c_new_dummy() API")
      
      From Linus' tree.
      
      I have applied the following fix up patch for today:
      
      From: Stephen Rothwell <sfr@canb.auug.org.au>
      Date: Mon, 16 Dec 2019 12:11:19 +1100
      Subject: [PATCH] drm/bridge: fix up for removal of i2c_new_dummy()
      Signed-off-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
      Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      Link: https://patchwork.freedesktop.org/patch/msgid/20191216122331.43c766f1@canb.auug.org.au
      ed08ddd9
    • Daniel Vetter's avatar
      Merge tag 'drm-misc-next-2019-12-16' of git://anongit.freedesktop.org/drm/drm-misc into drm-next · 6c56e8ad
      Daniel Vetter authored
      drm-misc-next for v5.6:
      
      UAPI Changes:
      - Add support for DMA-BUF HEAPS.
      
      Cross-subsystem Changes:
      - mipi dsi definition updates, pulled into drm-intel as well.
      - Add lockdep annotations for dma_resv vs mmap_sem and fs_reclaim.
      - Remove support for dma-buf kmap/kunmap.
      - Constify fb_ops in all fbdev drivers, including drm drivers and drm-core, and media as well.
      
      Core Changes:
      - Small cleanups to ttm.
      - Fix SCDC definition.
      - Assorted cleanups to core.
      - Add todo to remove load/unload hooks, and use generic fbdev emulation.
      - Assorted documentation updates.
      - Use blocking ww lock in ttm fault handler.
      - Remove drm_fb_helper_fbdev_setup/teardown.
      - Warning fixes with W=1 for atomic.
      - Use drm_debug_enabled() instead of drm_debug flag testing in various drivers.
      - Fallback to nontiled mode in fbdev emulation when not all tiles are present. (Later on reverted)
      - Various kconfig indentation fixes in core and drivers.
      - Fix freeing transactions in dp-mst correctly.
      - Sean Paul is steping down as core maintainer. :-(
      - Add lockdep annotations for atomic locks vs dma-resv.
      - Prevent use-after-free for a bad job in drm_scheduler.
      - Fill out all block sizes in the P01x and P210 definitions.
      - Avoid division by zero in drm/rect, and fix bounds.
      - Add drm/rect selftests.
      - Add aspect ratio and alternate clocks for HDMI 4k modes.
      - Add todo for drm_framebuffer_funcs and fb_create cleanup.
      - Drop DRM_AUTH for prime import/export ioctls.
      - Clear DP-MST payload id tables downstream when initializating.
      - Fix for DSC throughput definition.
      - Add extra FEC definitions.
      - Fix fake offset in drm_gem_object_funs.mmap.
      - Stop using encoder->bridge in core directly
      - Handle bridge chaining slightly better.
      - Add backlight support to drm/panel, and use it in many panel drivers.
      - Increase max number of y420 modes from 128 to 256, as preparation to add the new modes.
      
      Driver Changes:
      - Small fixes all over.
      - Fix documentation in vkms.
      - Fix mmap_sem vs dma_resv in nouveau.
      - Small cleanup in komeda.
      - Add page flip support in gma500 for psb/cdv.
      - Add ddc symlink in the connector sysfs directory for many drivers.
      - Add support for analogic an6345, and fix small bugs in it.
      - Add atomic modesetting support to ast.
      - Fix radeon fault handler VMA race.
      - Switch udl to use generic shmem helpers.
      - Unconditional vblank handling for mcde.
      - Miscellaneous fixes to mcde.
      - Tweak debug output from komeda using debugfs.
      - Add gamma and color transform support to komeda for DOU-IPS.
      - Add support for sony acx424AKP panel.
      - Various small cleanups to gma500.
      - Use generic fbdev emulation in udl, and replace udl_framebuffer with generic implementation.
      - Add support for Logic PD Type 28 panel.
      - Use drm_panel_* wrapper functions in exynos/tegra/msm.
      - Add devicetree bindings for generic DSI panels.
      - Don't include drm_pci.h directly in many drivers.
      - Add support for begin/end_cpu_access in udmabuf.
      - Stop using drm_get_pci_dev in gma500 and mga200.
      - Fixes to UDL damage handling, and use dma_buf_begin/end_cpu_access.
      - Add devfreq thermal support to panfrost.
      - Fix hotplug with daisy chained monitors by removing VCPI when disabling topology manager.
      - meson: Add support for OSD1 plane AFBC commit.
      - Stop displaying garbage when toggling ast primary plane on/off.
      - More cleanups and fixes to UDL.
      - Add D32 suport to komeda.
      - Remove globle copy of drm_dev in gma500.
      - Add support for Boe Himax8279d MIPI-DSI LCD panel.
      - Add support for ingenic JZ4770 panel.
      - Small null pointer deference fix in ingenic.
      - Remove support for the special tfp420 driver, as there is a generic way to do it.
      Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      
      From: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/ba73535a-9334-5302-2e1f-5208bd7390bd@linux.intel.com
      6c56e8ad
  3. 16 Dec, 2019 5 commits
  4. 15 Dec, 2019 6 commits
    • Linus Torvalds's avatar
      Linux 5.5-rc2 · d1eef1c6
      Linus Torvalds authored
      d1eef1c6
    • Linus Torvalds's avatar
      Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma · 9603e221
      Linus Torvalds authored
      Pull rdma fixes from Doug Ledford:
       "A small collection of -rc fixes. Mostly. One API addition, but that's
        because we wanted to use it in a fix. There's also a bug fix that is
        going to render the 5.5 kernel's soft-RoCE driver incompatible with
        all soft-RoCE versions prior, but it's required to actually implement
        the protocol according to the RoCE spec and required in order for the
        soft-RoCE driver to be able to successfully work with actual RoCE
        hardware.
      
        Summary:
      
         - Update Steve Wise info
      
         - Fix for soft-RoCE crc calculations (will break back compatibility,
           but only with the soft-RoCE driver, which has had this bug since it
           was introduced and it is an on-the-wire bug, but will make
           soft-RoCE fully compatible with real RoCE hardware)
      
         - cma init fixup
      
         - counters oops fix
      
         - fix for mlx4 init/teardown sequence
      
         - fix for mkx5 steering rules
      
         - introduce a cleanup API, which isn't a fix, but we want to use it
           in the next fix
      
         - fix for mlx5 memory management that uses API in previous patch"
      
      * tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma:
        IB/mlx5: Fix device memory flows
        IB/core: Introduce rdma_user_mmap_entry_insert_range() API
        IB/mlx5: Fix steering rule of drop and count
        IB/mlx4: Follow mirror sequence of device add during device removal
        RDMA/counter: Prevent auto-binding a QP which are not tracked with res
        rxe: correctly calculate iCRC for unaligned payloads
        Update mailmap info for Steve Wise
        RDMA/cma: add missed unregister_pernet_subsys in init failure
      9603e221
    • Linus Torvalds's avatar
      Merge tag 'riscv/for-v5.5-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux · 1522d9da
      Linus Torvalds authored
      Pull RISC-V fixes from Paul Walmsley:
       "Two minor build fixes:
      
         - Fix builds of the ELF loader when built with 'make -j1' (nommu
           only)
      
         - Fix CONFIG_SOC_SIFIVE builds when CONFIG_TTY is disabled (found
           during randconfig testing)"
      
      * tag 'riscv/for-v5.5-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux:
        riscv: only select serial sifive if TTY is enabled
        riscv: Fix build dependency for loader
      1522d9da
    • Linus Torvalds's avatar
      Merge tag 'for-linus-5.5b-rc2-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip · b01d7cb4
      Linus Torvalds authored
      Pull xen fixes from Juergen Gross:
       "Two fixes: one for a resource accounting bug in some configurations
        and a fix for another patch which went into rc1"
      
      * tag 'for-linus-5.5b-rc2-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip:
        xen/balloon: fix ballooned page accounting without hotplug enabled
        xen-blkback: prevent premature module unload
      b01d7cb4
    • Linus Torvalds's avatar
      Merge branch 'remove-ksys-mount-dup' of git://git.kernel.org/pub/scm/linux/kernel/git/brodo/linux · 2e6d3045
      Linus Torvalds authored
      Pull ksys_mount() and ksys_dup() removal from Dominik Brodowski:
       "This small series replaces all in-kernel calls to the
        userspace-focused ksys_mount() and ksys_dup() with calls to
        kernel-centric functions:
      
        For each replacement of ksys_mount() with do_mount(), one needs to
        verify that the first and third parameter (char *dev_name, char *type)
        are strings allocated in kernelspace and that the fifth parameter
        (void *data) is either NULL or refers to a full page (only occurence
        in init/do_mounts.c::do_mount_root()). The second and fourth
        parameters (char *dir_name, unsigned long flags) are passed by
        ksys_mount() to do_mount() unchanged, and therefore do not require
        particular care.
      
        Moreover, instead of pretending to be userspace, the opening of
        /dev/console as stdin/stdout/stderr can be implemented using in-kernel
        functions as well. Thereby, ksys_dup() can be removed for good"
      
      [ This doesn't get rid of the special "kernel init runs with KERNEL_DS"
        case, but it at least removes _some_ of the users of "treat kernel
        pointers as user pointers for our magical init sequence".
      
        One day we'll hopefully be rid of it all, and can initialize our
        init_thread addr_limit to USER_DS.    - Linus ]
      
      * 'remove-ksys-mount-dup' of git://git.kernel.org/pub/scm/linux/kernel/git/brodo/linux:
        fs: remove ksys_dup()
        init: unify opening /dev/console as stdin/stdout/stderr
        init: use do_mount() instead of ksys_mount()
        initrd: use do_mount() instead of ksys_mount()
        devtmpfs: use do_mount() instead of ksys_mount()
      2e6d3045
    • Linus Torvalds's avatar
      Merge tag 'Wimplicit-fallthrough-5.5-rc2' of... · 510c9788
      Linus Torvalds authored
      Merge tag 'Wimplicit-fallthrough-5.5-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/gustavoars/linux
      
      Pull fall through fix from Gustavo Silva:
       "Fix compile error on sh by marking expected switch fall-through"
      
      * tag 'Wimplicit-fallthrough-5.5-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/gustavoars/linux:
        sh: kgdb: Mark expected switch fall-throughs
      510c9788
  5. 14 Dec, 2019 5 commits
    • Linus Torvalds's avatar
      Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi · 07c4b9e9
      Linus Torvalds authored
      Pull SCSI fixes from James Bottomley:
       "24 fixes, all in drivers. The lion's share (16) are qla2xxx and the
        rest are iscsi (3), ufs (2), smarpqi, lpfc and libsas"
      
      * tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi: (24 commits)
        scsi: iscsi: Avoid potential deadlock in iscsi_if_rx func
        scsi: iscsi: Fix a potential deadlock in the timeout handler
        scsi: smartpqi: Update attribute name to `driver_version`
        scsi: libsas: stop discovering if oob mode is disconnected
        scsi: ufs: Disable autohibern8 feature in Cadence UFS
        scsi: iscsi: qla4xxx: fix double free in probe
        scsi: ufs: Give an unique ID to each ufs-bsg
        scsi: qla2xxx: Add debug dump of LOGO payload and ELS IOCB
        scsi: qla2xxx: Ignore PORT UPDATE after N2N PLOGI
        scsi: qla2xxx: Don't defer relogin unconditonally
        scsi: qla2xxx: Send Notify ACK after N2N PLOGI
        scsi: qla2xxx: Configure local loop for N2N target
        scsi: qla2xxx: Fix PLOGI payload and ELS IOCB dump length
        scsi: qla2xxx: Don't call qlt_async_event twice
        scsi: qla2xxx: Allow PLOGI in target mode
        scsi: qla2xxx: Change discovery state before PLOGI
        scsi: qla2xxx: Drop superfluous INIT_WORK of del_work
        scsi: qla2xxx: Initialize free_work before flushing it
        scsi: qla2xxx: Use explicit LOGO in target mode
        scsi: qla2xxx: Ignore NULL pointer in tcm_qla2xxx_free_mcmd
        ...
      07c4b9e9
    • Linus Torvalds's avatar
      Merge tag 'char-misc-5.5-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc · f61cf8de
      Linus Torvalds authored
      Pull char/misc driver fixes from Greg KH:
       "Here are six small fixes for some reported char/misc driver issues:
      
         - fix build warnings with new 'awk' with the raid6 code
      
         - four interconnect driver bugfixes
      
         - binder fix for reported problem
      
        All of these except the binder fix have been in linux-next with no
        reported issues. The binder fix is "new" but Todd says it is good as
        he has tested it :)"
      
      * tag 'char-misc-5.5-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc:
        binder: fix incorrect calculation for num_valid
        interconnect: qcom: msm8974: Walk the list safely on node removal
        interconnect: qcom: qcs404: Walk the list safely on node removal
        interconnect: qcom: sdm845: Walk the list safely on node removal
        interconnect: qcom: Fix Kconfig indentation
        lib: raid6: fix awk build warnings
      f61cf8de
    • Linus Torvalds's avatar
      Merge tag 'driver-core-5.5-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core · 894554c1
      Linus Torvalds authored
      Pull driver core fixes from Greg KH:
       "Here are two small driver core fixes to resolve some reported issues
      
        The first is to handle the much-reported (by the build systems)
        problem that superH does not boot anymore.
      
        The second handles an issue in the new platform logic that a number of
        people ran into with the automated tests in kbuild
      
        Both of these have been in linux-next with no reported issues"
      
      * tag 'driver-core-5.5-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core:
        drivers: Fix boot problem on SuperH
        of/platform: Unconditionally pause/resume sync state during kernel init
      894554c1
    • Linus Torvalds's avatar
      Merge tag 'staging-5.5-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging · aff2a525
      Linus Torvalds authored
      Pull staging/IIO fixes from Greg KH:
       "Here are a number of small staging and IIO driver fixes for reported
        issues for 5.5-rc2
      
        Nothing major, a bunch of tiny IIO driver issues resolved, and some
        staging driver fixes for things that people ran into with 5.5-rc1.
        Full details are in the shortlog.
      
        All of these have been in linux-next with no reported issues"
      
      * tag 'staging-5.5-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging: (28 commits)
        fbtft: Fix the initialization from property algorithm
        staging: rtl8712: fix interface sanity check
        staging: rtl8188eu: fix interface sanity check
        staging: gigaset: add endpoint-type sanity check
        staging: gigaset: fix illegal free on probe errors
        staging: gigaset: fix general protection fault on probe
        staging: vchiq: call unregister_chrdev_region() when driver registration fails
        staging: exfat: fix multiple definition error of `rename_file'
        staging/wlan-ng: add CRC32 dependency in Kconfig
        staging: hp100: Fix build error without ETHERNET
        staging: fbtft: Do not hardcode SPI CS polarity inversion
        staging: exfat: properly support discard in clr_alloc_bitmap()
        staging/octeon: Mark Ethernet driver as BROKEN
        iio: adc: max9611: Fix too short conversion time delay
        iio: ad7949: fix channels mixups
        iio: imu: st_lsm6dsx: do not power-off accel if events are enabled
        iio: imu: st_lsm6dsx: track hw FIFO buffering with fifo_mask
        iio: imu: st_lsm6dsx: fix decimation factor estimation
        iio: imu: inv_mpu6050: fix temperature reporting using bad unit
        iio: humidity: hdc100x: fix IIO_HUMIDITYRELATIVE channel reporting
        ...
      aff2a525
    • Linus Torvalds's avatar
      Merge tag 'usb-5.5-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb · a1b85b3b
      Linus Torvalds authored
      Pull USB fixes from Greg KH:
       "Here are some small USB driver fixes for reported issues for 5.5-rc2
      
        There's the usual gadget and xhci fixes, as well as some other
        problems that syzbot has been finding during it's fuzzing runs. Full
        details are in the shortlog.
      
        All of these have been in linux-next with no reported issues"
      
      * tag 'usb-5.5-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb: (21 commits)
        usb: dwc3: pci: add ID for the Intel Comet Lake -H variant
        xhci: make sure interrupts are restored to correct state
        xhci: handle some XHCI_TRUST_TX_LENGTH quirks cases as default behaviour.
        xhci: Increase STS_HALT timeout in xhci_suspend()
        usb: xhci: only set D3hot for pci device
        xhci: fix USB3 device initiated resume race with roothub autosuspend
        xhci: Fix memory leak in xhci_add_in_port()
        USB: Fix incorrect DMA allocations for local memory pool drivers
        usb: gadget: fix wrong endpoint desc
        usb: dwc3: ep0: Clear started flag on completion
        usb: dwc3: gadget: Clear started flag for non-IOC
        usb: dwc3: gadget: Fix logical condition
        USB: atm: ueagle-atm: add missing endpoint check
        USB: adutux: fix interface sanity check
        USB: idmouse: fix interface sanity checks
        USB: serial: io_edgeport: fix epic endpoint lookup
        usb: mon: Fix a deadlock in usbmon between mmap and read
        usb: common: usb-conn-gpio: Don't log an error on probe deferral
        usb: core: urb: fix URB structure initialization function
        usb: typec: fix use after free in typec_register_port()
        ...
      a1b85b3b