1. 09 May, 2019 15 commits
    • Linus Torvalds's avatar
      Merge tag 'csky-for-linus-5.2-perf-unwind-libdw' of git://github.com/c-sky/csky-linux · b1e76c3d
      Linus Torvalds authored
      Pull arch/csky perf update from Guo Ren:
       "Add support for perf unwind-libdw"
      
      * tag 'csky-for-linus-5.2-perf-unwind-libdw' of git://github.com/c-sky/csky-linux:
        csky: Add support for perf unwind-libdw
      b1e76c3d
    • Linus Torvalds's avatar
      Merge branch 'next-smack' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security · 800c608c
      Linus Torvalds authored
      Pull smack updates from James Morris:
       "Bug fixes for IPv6 handling and other issues and two memory use
        improvements."
      
      * 'next-smack' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security:
        Smack: Fix kbuild reported build error
        smack: Check address length before reading address family
        Smack: Fix IPv6 handling of 0 secmark
        Smack: Create smack_rule cache to optimize memory usage
        smack: removal of global rule list
      800c608c
    • Linus Torvalds's avatar
      Merge branch 'next-integrity' of... · 7664cd6e
      Linus Torvalds authored
      Merge branch 'next-integrity' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security
      
      Pull intgrity updates from James Morris:
       "This contains just three patches, the remainder were either included
        in other pull requests (eg. audit, lockdown) or will be upstreamed via
        other subsystems (eg. kselftests, Power).
      
        Included here is one bug fix, one documentation update, and extending
        the x86 IMA arch policy rules to coordinate the different kernel
        module signature verification methods"
      
      * 'next-integrity' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security:
        doc/kernel-parameters.txt: Deprecate ima_appraise_tcb
        x86/ima: add missing include
        x86/ima: require signed kernel modules
      7664cd6e
    • Linus Torvalds's avatar
      Merge tag 'for-linus-5.2-ofs1' of git://git.kernel.org/pub/scm/linux/kernel/git/hubcap/linux · 88238805
      Linus Torvalds authored
      Pull orangefs updates from Mike Marshall:
       "This includes one fix and our "Orangefs through the pagecache" patch
        series which greatly improves our small IO performance and helps us
        pass more xfstests than before.
      
        Fix:
         - orangefs: truncate before updating size
      
        Pagecache series:
         - all the rest"
      
      * tag 'for-linus-5.2-ofs1' of git://git.kernel.org/pub/scm/linux/kernel/git/hubcap/linux: (23 commits)
        orangefs: truncate before updating size
        orangefs: copy Orangefs-sized blocks into the pagecache if possible.
        orangefs: pass slot index back to readpage.
        orangefs: remember count when reading.
        orangefs: add orangefs_revalidate_mapping
        orangefs: implement writepages
        orangefs: write range tracking
        orangefs: avoid fsync service operation on flush
        orangefs: skip inode writeout if nothing to write
        orangefs: move do_readv_writev to direct_IO
        orangefs: do not return successful read when the client-core disappeared
        orangefs: implement writepage
        orangefs: migrate to generic_file_read_iter
        orangefs: service ops done for writeback are not killable
        orangefs: remove orangefs_readpages
        orangefs: reorganize setattr functions to track attribute changes
        orangefs: let setattr write to cached inode
        orangefs: set up and use backing_dev_info
        orangefs: hold i_lock during inode_getattr
        orangefs: update attributes rather than relying on server
        ...
      88238805
    • Linus Torvalds's avatar
      Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma · dce45af5
      Linus Torvalds authored
      Pull rdma updates from Jason Gunthorpe:
       "This has been a smaller cycle than normal. One new driver was
        accepted, which is unusual, and at least one more driver remains in
        review on the list.
      
        Summary:
      
         - Driver fixes for hns, hfi1, nes, rxe, i40iw, mlx5, cxgb4,
           vmw_pvrdma
      
         - Many patches from MatthewW converting radix tree and IDR users to
           use xarray
      
         - Introduction of tracepoints to the MAD layer
      
         - Build large SGLs at the start for DMA mapping and get the driver to
           split them
      
         - Generally clean SGL handling code throughout the subsystem
      
         - Support for restricting RDMA devices to net namespaces for
           containers
      
         - Progress to remove object allocation boilerplate code from drivers
      
         - Change in how the mlx5 driver shows representor ports linked to VFs
      
         - mlx5 uapi feature to access the on chip SW ICM memory
      
         - Add a new driver for 'EFA'. This is HW that supports user space
           packet processing through QPs in Amazon's cloud"
      
      * tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma: (186 commits)
        RDMA/ipoib: Allow user space differentiate between valid dev_port
        IB/core, ipoib: Do not overreact to SM LID change event
        RDMA/device: Don't fire uevent before device is fully initialized
        lib/scatterlist: Remove leftover from sg_page_iter comment
        RDMA/efa: Add driver to Kconfig/Makefile
        RDMA/efa: Add the efa module
        RDMA/efa: Add EFA verbs implementation
        RDMA/efa: Add common command handlers
        RDMA/efa: Implement functions that submit and complete admin commands
        RDMA/efa: Add the ABI definitions
        RDMA/efa: Add the com service API definitions
        RDMA/efa: Add the efa_com.h file
        RDMA/efa: Add the efa.h header file
        RDMA/efa: Add EFA device definitions
        RDMA: Add EFA related definitions
        RDMA/umem: Remove hugetlb flag
        RDMA/bnxt_re: Use core helpers to get aligned DMA address
        RDMA/i40iw: Use core helpers to get aligned DMA address within a supported page size
        RDMA/verbs: Add a DMA iterator to return aligned contiguous memory blocks
        RDMA/umem: Add API to find best driver supported page size in an MR
        ...
      dce45af5
    • Linus Torvalds's avatar
      Merge tag 'dmaengine-5.2-rc1' of git://git.infradead.org/users/vkoul/slave-dma · 055128ee
      Linus Torvalds authored
      Pull dmaengine updates from Vinod Koul:
      
       - Updates to stm32 dma residue calculations
      
       - Interleave dma capability to axi-dmac and support for ZynqMP arch
      
       - Rework of channel assignment for rcar dma
      
       - Debugfs for pl330 driver
      
       - Support for Tegra186/Tegra194, refactoring for new chips and support
         for pause/resume
      
       - Updates to axi-dmac, bcm2835, fsl-edma, idma64, imx-sdma, rcar-dmac,
         stm32-dma etc
      
       - dev_get_drvdata() updates on few drivers
      
      * tag 'dmaengine-5.2-rc1' of git://git.infradead.org/users/vkoul/slave-dma: (34 commits)
        dmaengine: tegra210-adma: restore channel status
        dmaengine: tegra210-dma: free dma controller in remove()
        dmaengine: tegra210-adma: add pause/resume support
        dmaengine: tegra210-adma: add support for Tegra186/Tegra194
        Documentation: DT: Add compatibility binding for Tegra186
        dmaengine: tegra210-adma: prepare for supporting newer Tegra chips
        dmaengine: at_xdmac: remove a stray bottom half unlock
        dmaengine: fsl-edma: Adjust indentation
        dmaengine: fsl-edma: Fix typo in Vybrid name
        dmaengine: stm32-dma: fix residue calculation in stm32-dma
        dmaengine: nbpfaxi: Use dev_get_drvdata()
        dmaengine: bcm-sba-raid: Use dev_get_drvdata()
        dmaengine: stm32-dma: Fix unsigned variable compared with zero
        dmaengine: stm32-dma: use platform_get_irq()
        dmaengine: rcar-dmac: Update copyright information
        dmaengine: imx-sdma: Only check ratio on parts that support 1:1
        dmaengine: xgene-dma: fix spelling mistake "descripto" -> "descriptor"
        dmaengine: idma64: Move driver name to the header
        dmaengine: bcm2835: Drop duplicate capability setting.
        dmaengine: pl330: _stop: clear interrupt status
        ...
      055128ee
    • Linus Torvalds's avatar
      Merge tag 'dma-mapping-5.2' of git://git.infradead.org/users/hch/dma-mapping · ddab5337
      Linus Torvalds authored
      Pull DMA mapping updates from Christoph Hellwig:
      
       - remove the already broken support for NULL dev arguments to the DMA
         API calls
      
       - Kconfig tidyups
      
      * tag 'dma-mapping-5.2' of git://git.infradead.org/users/hch/dma-mapping:
        dma-mapping: add a Kconfig symbol to indicate arch_dma_prep_coherent presence
        dma-mapping: remove an unnecessary NULL check
        x86/dma: Remove the x86_dma_fallback_dev hack
        dma-mapping: remove leftover NULL device support
        arm: use a dummy struct device for ISA DMA use of the DMA API
        pxa3xx-gcu: pass struct device to dma_mmap_coherent
        gbefb: switch to managed version of the DMA allocator
        da8xx-fb: pass struct device to DMA API functions
        parport_ip32: pass struct device to DMA API functions
        dma: select GENERIC_ALLOCATOR for DMA_REMAP
      ddab5337
    • Linus Torvalds's avatar
      Merge tag 'sound-5.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound · e57ccca1
      Linus Torvalds authored
      Pull sound updates from Takashi Iwai:
       "The most significant changes at this cycle are the Sound Open Firmware
        support from Intel for the common DSP framework along with its support
        for Intel platforms. It's a door opened to a real "free" firmware (in
        the sense of FOSS), and other parties show interests in it.
      
        In addition to SOF, we've got a bunch of updates and fixes as usual.
        Some highlights are below.
      
        ALSA core:
         - Cleanups and fixes in ALSA timer code to cover some races spotted
           by syzkaller
         - Cleanups and fixes in ALSA sequencer code to cover some races,
           again unsurprisingly, spotted by syzkaller
         - Optimize the common page allocation helper with alloc_pages_exact()
      
        ASoC:
         - Add SOF core support, as well as Intel SOF platform support
         - Generic card driver improvements: support for MCLK/sample rate
           ratio and pin switches
         - A big set of improvements to TLV320AIC32x4 drivers
         - New drivers for Freescale audio mixers, several Intel machines,
           several Mediatek machines, Meson G12A, Spreadtrum compressed audio
           and DMA devices
      
        HD-audio:
         - A few Realtek codec fixes for reducing pop noises
         - Quirks for Chromebooks
         - Workaround for faulty connection report on AMD/Nvidia HDMI
      
        Others:
         - A quirk for Focusrite Scarlett Solo USB-audio
         - Add support for MOTU 8pre FireWire
         - 24bit sample format support in aloop
         - GUS patch format support (finally, over a decade) in native emux
           synth code"
      
      * tag 'sound-5.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound: (375 commits)
        ASoC: SOF: Fix unused variable warnings
        ALSA: line6: toneport: Fix broken usage of timer for delayed execution
        ALSA: aica: Fix a long-time build breakage
        ALSA: hda/realtek - Support low power consumption for ALC256
        ASoC: stm32: i2s: update pcm hardware constraints
        ASoC: codec: hdac_hdmi: no checking monitor in hw_params
        ASoC: mediatek: mt6358: save PGA for mixer control
        ASoC: mediatek: mt6358: save output volume for mixer controls
        ASoC: mediatek: mt6358: initialize setting when ramping volume
        ASoC: SOF: core: fix undefined nocodec reference
        ASoC: SOF: xtensa: fix undefined references
        ASoC: SOF: Propagate sof_get_ctrl_copy_params() error properly
        ALSA: hdea/realtek - Headset fixup for System76 Gazelle (gaze14)
        ALSA: hda/intel: add CometLake PCI IDs
        ALSA: hda/realtek - Support low power consumption for ALC295
        ASoC: rockchip: Fix an uninitialized variable compile warning
        ASoC: SOF: Fix a compile warning with CONFIG_PCI=n
        ASoC: da7219: Fix a compile warning at CONFIG_COMMON_CLK=n
        ASoC: sound/soc/sof/: fix kconfig dependency warning
        ASoC: stm32: spdifrx: change trace level on iec control
        ...
      e57ccca1
    • Mao Han's avatar
      csky: Add support for perf unwind-libdw · 3213486f
      Mao Han authored
      This patch add support for DWARF register mappings and libdw registers
      initialization, which is used by perf callchain analyzing, eg:
      
      perf record --call-graph=dwarf <COMMAND>
      
      Here is elfutils csky backend patch set:
      https://sourceware.org/ml/elfutils-devel/2019-q2/msg00007.htmlSigned-off-by: default avatarMao Han <han_mao@c-sky.com>
      Signed-off-by: default avatarGuo Ren <ren_guo@c-sky.com>
      Cc: Peter Zijlstra <peterz@infradead.org>
      Cc: Ingo Molnar <mingo@redhat.com>
      Cc: Arnaldo Carvalho de Melo <acme@kernel.org>
      Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
      Cc: Jiri Olsa <jolsa@redhat.com>
      Cc: Namhyung Kim <namhyung@kernel.org>
      Cc: Arnd Bergmann <arnd@arnd.de>
      3213486f
    • Takashi Iwai's avatar
      Merge tag 'asoc-v5.2-5' of... · ed97c988
      Takashi Iwai authored
      Merge tag 'asoc-v5.2-5' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-linus
      
      ASoC: Fixes for v5.2
      
      A bunch of driver specific fixes that came in since the initial pull
      request for v5.2, mainly warning fixes for the newly added Sound Open
      Firmware code which people appeared to only start looking at after I'd
      sent the pull request.
      ed97c988
    • Linus Torvalds's avatar
      Merge tag 'drm-next-2019-05-09' of git://anongit.freedesktop.org/drm/drm · a2d635de
      Linus Torvalds authored
      Pull drm updates from Dave Airlie:
       "This has two exciting community drivers for ARM Mali accelerators.
        Since ARM has never been open source friendly on the GPU side of the
        house, the community has had to create open source drivers for the
        Mali GPUs. Lima covers the older t4xx and panfrost the newer 6xx/7xx
        series. Well done to all involved and hopefully this will help ARM
        head in the right direction.
      
        There is also now the ability if you don't have any of the legacy
        drivers enabled (pre-KMS) to remove all the pre-KMS support code from
        the core drm, this saves 10% or so in codesize on my machine.
      
        i915 also enable Icelake/Elkhart Lake Gen11 GPUs by default, vboxvideo
        moves out of staging.
      
        There are also some rcar-du patches which crossover with media tree
        but all should be acked by Mauro.
      
        Summary:
      
        uapi changes:
         - Colorspace connector property
         - fourcc - new YUV formts
         - timeline sync objects initially merged
         - expose FB_DAMAGE_CLIPS to atomic userspace
      
        new drivers:
         - vboxvideo: moved out of staging
         - aspeed: ASPEED SoC BMC chip display support
         - lima: ARM Mali4xx GPU acceleration driver support
         - panfrost: ARM Mali6xx/7xx Midgard/Bitfrost acceleration driver support
      
        core:
         - component helper docs
         - unplugging fixes
         - devm device init
         - MIPI/DSI rate control
         - shmem backed gem objects
         - connector, display_info, edid_quirks cleanups
         - dma_buf fence chain support
         - 64-bit dma-fence seqno comparison fixes
         - move initial fb config code to core
         - gem fence array helpers for Lima
         - ability to remove legacy support code if no drivers requires it (removes 10% of drm.ko size)
         - lease fixes
      
        ttm:
         - unified DRM_FILE_PAGE_OFFSET handling
         - Account for kernel allocations in kernel zone only
      
        panel:
         - OSD070T1718-19TS panel support
         - panel-tpo-td028ttec1 backlight support
         - Ronbo RB070D30 MIPI/DSI
         - Feiyang FY07024DI26A30-D MIPI-DSI panel
         - Rocktech jh057n00900 MIPI-DSI panel
      
        i915:
         - Comet Lake (Gen9) PCI IDs
         - Updated Icelake PCI IDs
         - Elkhartlake (Gen11) support
         - DP MST property addtions
         - plane and watermark fixes
         - Icelake port sync and VEBOX disable fixes
         - struct_mutex usage reduction
         - Icelake gamma fix
         - GuC reset fixes
         - make mmap more asynchronous
         - sound display power well race fixes
         - DDI/MIPI-DSI clocks for Icelake
         - Icelake RPS frequency changing support
         - Icelake workarounds
      
        amdgpu:
         - Use HMM for userptr
         - vega20 experimental smu11 support
         - RAS support for vega20
         - BACO support for vega12 + fixes for vega20
         - reworked IH interrupt handling
         - amdkfd RAS support
         - Freesync improvements
         - initial timeline sync object support
         - DC Z ordering fixes
         - NV12 planes support
         - colorspace properties for planes=
         - eDP opts if eDP already initialized
      
        nouveau:
         - misc fixes
      
        etnaviv:
         - misc fixes
      
        msm:
         - GPU zap shader support expansion
         - robustness ABI addition
      
        exynos:
         - Logging cleanups
      
        tegra:
         - Shared reset fix
         - CPU cache maintenance fix
      
        cirrus:
         - driver rewritten using simple helpers
      
        meson:
         - G12A support
      
        vmwgfx:
         - Resource dirtying management improvements
         - Userspace logging improvements
      
        virtio:
         - PRIME fixes
      
        rockchip:
         - rk3066 hdmi support
      
        sun4i:
         - DSI burst mode support
      
        vc4:
         - load tracker to detect underflow
      
        v3d:
         - v3d v4.2 support
      
        malidp:
         - initial Mali D71 support in komeda driver
      
        tfp410:
         - omap related improvement
      
        omapdrm:
         - drm bridge/panel support
         - drop some omap specific panels
      
        rcar-du:
         - Display writeback support"
      
      * tag 'drm-next-2019-05-09' of git://anongit.freedesktop.org/drm/drm: (1507 commits)
        drm/msm/a6xx: No zap shader is not an error
        drm/cma-helper: Fix drm_gem_cma_free_object()
        drm: Fix timestamp docs for variable refresh properties.
        drm/komeda: Mark the local functions as static
        drm/komeda: Fixed warning: Function parameter or member not described
        drm/komeda: Expose bus_width to Komeda-CORE
        drm/komeda: Add sysfs attribute: core_id and config_id
        drm: add non-desktop quirk for Valve HMDs
        drm/panfrost: Show stored feature registers
        drm/panfrost: Don't scream about deferred probe
        drm/panfrost: Disable PM on probe failure
        drm/panfrost: Set DMA masks earlier
        drm/panfrost: Add sanity checks to submit IOCTL
        drm/etnaviv: initialize idle mask before querying the HW db
        drm: introduce a capability flag for syncobj timeline support
        drm: report consistent errors when checking syncobj capibility
        drm/nouveau/nouveau: forward error generated while resuming objects tree
        drm/nouveau/fb/ramgk104: fix spelling mistake "sucessfully" -> "successfully"
        drm/nouveau/i2c: Disable i2c bus access after ->fini()
        drm/nouveau: Remove duplicate ACPI_VIDEO_NOTIFY_PROBE definition
        ...
      a2d635de
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/ide · 89c3b37a
      Linus Torvalds authored
      Pull IDE update from David Miller:
       "Finally deprecate the legacy IDE layer"
      
      * git://git.kernel.org/pub/scm/linux/kernel/git/davem/ide:
        ide: officially deprecated the legacy IDE driver
      89c3b37a
    • Takashi Iwai's avatar
      ASoC: SOF: Fix unused variable warnings · 7f6647ce
      Takashi Iwai authored
      The recent fix for the build fix caused a couple of unused variable
      compiler warnings when CONFIG_SND_SOC_SOF_NOCODEC isn't set:
        sound/soc/sof/core.c:263:6: warning: unused variable ‘ret’ [-Wunused-variable]
        sound/soc/sof/core.c:262:28: warning: unused variable ‘machine’ [-Wunused-variable]
      
      Fix them by adding another ifdef.
      
      Fixes: ce38a750 ("ASoC: SOF: core: fix undefined nocodec reference")
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      7f6647ce
    • Dave Airlie's avatar
      Merge tag 'drm-misc-next-fixes-2019-05-08' of... · eb85d03e
      Dave Airlie authored
      Merge tag 'drm-misc-next-fixes-2019-05-08' of git://anongit.freedesktop.org/drm/drm-misc into drm-next
      
      - A handful of fixes from -next that just missed feature freeze
      - More panfrost fixes that went directly in -misc-next-fixes (various)
      - Fix searchpaths during build (Masahiro)
      - msm patch to fix the driver for chips without zap shader (Rob)
      - Fix freeing imported buffers in drm_gem_cma_free_object() (Noralf)
      
      Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
      Cc: Rob Clark <robdclark@chromium.org>
      Cc: Noralf Trønnes <noralf@tronnes.org>
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      
      From: Sean Paul <sean@poorly.run>
      Link: https://patchwork.freedesktop.org/patch/msgid/20190508205153.GA91135@art_vandelay
      eb85d03e
    • Dave Airlie's avatar
      Merge branch 'for-upstream/mali-dp' of git://linux-arm.org/linux-ld into drm-next · f2e8d169
      Dave Airlie authored
      This is the 2nd pull request for the malidp-next. The new patches add
      additional support for Arm Mali D71 so that it can now be enabled
      correctly and brought up on any SoC that contains the IP. From now on
      we will start focusing on adding writeback, scaling and other useful
      features to bring the driver to the same level of maturity as mali-dp.
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      From: Liviu Dudau <Liviu.Dudau@arm.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20190507103712.GJ15144@e110455-lin.cambridge.arm.com
      f2e8d169
  2. 08 May, 2019 25 commits
    • Christoph Hellwig's avatar
      ide: officially deprecated the legacy IDE driver · 7ad19a99
      Christoph Hellwig authored
      After a recent chat with Dave we agreed to try to finally kill off the
      legacy IDE code base.  Set a two year grace period in which we try
      to move everyone over.  There are a few pieces of hardware not
      supported by libata yet, but for many of them we aren't even sure
      if there are any users.  For those that have users we have usually
      found a volunteer to add libata support.
      Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
      Acked-by: default avatarJens Axboe <axboe@kernel.dk>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      7ad19a99
    • Linus Torvalds's avatar
      Merge tag 'mips_5.2' of git://git.kernel.org/pub/scm/linux/kernel/git/mips/linux · 92fab77b
      Linus Torvalds authored
      Pull MIPS updates from Paul Burton:
      
       - A set of memblock initialization improvements thanks to Serge Semin,
         tidying up after our conversion from bootmem to memblock back in
         v4.20.
      
       - Our eBPF JIT the previously supported only MIPS64r2 through MIPS64r5
         is improved to also support MIPS64r6. Support for MIPS32 systems is
         introduced, with the caveat that it only works for programs that
         don't use 64 bit registers or operations - those will bail out & need
         to be interpreted.
      
       - Improvements to the allocation & configuration of our exception
         vector that should fix issues seen on some platforms using recent
         versions of U-Boot.
      
       - Some minor improvements to code generated for jump labels, along with
         enabling them by default for generic kernels.
      
      * tag 'mips_5.2' of git://git.kernel.org/pub/scm/linux/kernel/git/mips/linux: (27 commits)
        mips: Manually call fdt_init_reserved_mem() method
        mips: Make sure dt memory regions are valid
        mips: Perform early low memory test
        mips: Dump memblock regions for debugging
        mips: Add reserve-nomap memory type support
        mips: Use memblock to reserve the __nosave memory range
        mips: Discard post-CMA-init foreach loop
        mips: Reserve memory for the kernel image resources
        MIPS: Remove duplicate EBase configuration
        MIPS: Sync icache for whole exception vector
        MIPS: Always allocate exception vector for MIPSr2+
        MIPS: Use memblock_phys_alloc() for exception vector
        mips: Combine memblock init and memory reservation loops
        mips: Discard rudiments from bootmem_init
        mips: Make sure kernel .bss exists in boot mem pool
        mips: vdso: drop unnecessary cc-ldoption
        Revert "MIPS: ralink: fix cpu clock of mt7621 and add dt clk devices"
        MIPS: generic: Enable CONFIG_JUMP_LABEL
        MIPS: jump_label: Use compact branches for >= r6
        MIPS: jump_label: Remove redundant nops
        ...
      92fab77b
    • Linus Torvalds's avatar
      Merge tag 'gfs2-for-5.2' of git://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2 · ef75bd71
      Linus Torvalds authored
      Pull GFS2 updates from Andreas Gruenbacher:
       "We've got the following patches ready for this merge window:
      
         - "gfs2: Fix loop in gfs2_rbm_find (v2)"
      
            A rework of a fix we ended up reverting in 5.0 because of an
            iozone performance regression.
      
         - "gfs2: read journal in large chunks"
           "gfs2: fix race between gfs2_freeze_func and unmount"
      
            An improved version of a commit we also ended up reverting in 5.0
            because of a regression in xfstest generic/311. It turns out that
            the journal changes were mostly innocent and that unfreeze didn't
            wait for the freeze to complete, which caused the filesystem to be
            unmounted before it was actually idle.
      
         - "gfs2: Fix occasional glock use-after-free"
           "gfs2: Fix iomap write page reclaim deadlock"
           "gfs2: Fix lru_count going negative"
      
            Fixes for various problems reported and partially fixed by Citrix
            engineers. Thank you very much.
      
         - "gfs2: clean_journal improperly set sd_log_flush_head"
      
            Another fix from Bob.
      
         - .. and a few other minor cleanups"
      
      * tag 'gfs2-for-5.2' of git://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2:
        gfs2: read journal in large chunks
        gfs2: Fix iomap write page reclaim deadlock
        gfs2: fix race between gfs2_freeze_func and unmount
        gfs2: Rename gfs2_trans_{add_unrevoke => remove_revoke}
        gfs2: Rename sd_log_le_{revoke,ordered}
        gfs2: Remove unnecessary extern declarations
        gfs2: Remove misleading comments in gfs2_evict_inode
        gfs2: Replace gl_revokes with a GLF flag
        gfs2: Fix occasional glock use-after-free
        gfs2: clean_journal improperly set sd_log_flush_head
        gfs2: Fix lru_count going negative
        gfs2: Fix loop in gfs2_rbm_find (v2)
      ef75bd71
    • Linus Torvalds's avatar
      Merge tag '5.2-smb3' of git://git.samba.org/sfrench/cifs-2.6 · 78d9affb
      Linus Torvalds authored
      Pull cifs fixes from Steve French:
       "CIFS/SMB3 changes:
      
         - three fixes for stable
      
         - add fiemap support
      
         - improve zero-range support
      
         - various RDMA (smb direct fixes)
      
        I have an additional set of fixes (for improved handling of sparse
        files, mode bits, POSIX extensions) that are still being tested that
        are not included in this pull request but I expect to send in the next
        week"
      
      * tag '5.2-smb3' of git://git.samba.org/sfrench/cifs-2.6: (29 commits)
        cifs: update module internal version number
        SMB3: Clean up query symlink when reparse point
        cifs: fix strcat buffer overflow and reduce raciness in smb21_set_oplock_level()
        Negotiate and save preferred compression algorithms
        cifs: rename and clarify CIFS_ASYNC_OP and CIFS_NO_RESP
        cifs: fix credits leak for SMB1 oplock breaks
        smb3: Add protocol structs for change notify support
        cifs: fix smb3_zero_range for Azure
        cifs: zero-range does not require the file is sparse
        Add new flag on SMB3.1.1 read
        cifs: add fiemap support
        SMB3: Add defines for new negotiate contexts
        cifs: fix bi-directional fsctl passthrough calls
        cifs: smbd: take an array of reqeusts when sending upper layer data
        SMB3: Add handling for different FSCTL access flags
        cifs: Add support for FSCTL passthrough that write data to the server
        cifs: remove superfluous inode_lock in cifs_{strict_}fsync
        cifs: Call MID callback before destroying transport
        cifs: smbd: Retry on memory registration failure
        cifs: smbd: Indicate to retry on transport sending failure
        ...
      78d9affb
    • Rob Clark's avatar
      drm/msm/a6xx: No zap shader is not an error · 15273ffd
      Rob Clark authored
      Depending on platform firmware, a zap shader may not be required to take
      the GPU out of secure mode on boot, in which case we can just write
      RBBM_SECVID_TRUST_CNTL directly.  Which we *mostly* handled, but missed
      clearing 'ret' resulting that hw_init() returned an error on these
      devices.
      
      Fixes: abccb9fe ("drm/msm/a6xx: Add zap shader load")
      Acked-by: default avatarJordan Crouse <jcrouse@codeaurora.org>
      Reviewed-by: default avatarSean Paul <sean@poorly.run>
      Signed-off-by: default avatarRob Clark <robdclark@chromium.org>
      Signed-off-by: default avatarSean Paul <seanpaul@chromium.org>
      Link: https://patchwork.freedesktop.org/patch/msgid/20190508130726.27557-1-robdclark@gmail.com
      15273ffd
    • Linus Torvalds's avatar
      Merge tag 'docs-5.2' of git://git.lwn.net/linux · 8c79f4cd
      Linus Torvalds authored
      Pull documentation updates from Jonathan Corbet:
       "A reasonably busy cycle for docs, including:
      
         - Lots of work on the Chinese and Italian translations
      
         - Some license-rules clarifications from Christoph
      
         - Various build-script fixes
      
         - A new document on memory models
      
         - RST conversion of the live-patching docs
      
         - The usual collection of typo fixes and corrections"
      
      * tag 'docs-5.2' of git://git.lwn.net/linux: (140 commits)
        docs/livepatch: Unify style of livepatch documentation in the ReST format
        docs: livepatch: convert docs to ReST and rename to *.rst
        scripts/documentation-file-ref-check: detect broken :doc:`foo`
        scripts/documentation-file-ref-check: don't parse Next/ dir
        LICENSES: Rename other to deprecated
        LICENSES: Clearly mark dual license only licenses
        docs: Don't reference the ZLib license in license-rules.rst
        docs/vm: Minor editorial changes in the THP and hugetlbfs
        docs/vm: add documentation of memory models
        doc:it_IT: translation alignment
        doc: fix typo in PGP guide
        dontdiff: update with Kconfig build artifacts
        docs/zh_CN: fix typos in 1.Intro.rst file
        docs/zh_CN: redirect CoC docs to Chinese version
        doc: mm: migration doesn't use FOLL_SPLIT anymore
        docs: doc-guide: remove the extension from .rst files
        doc: kselftest: Fix KBUILD_OUTPUT usage instructions
        docs: trace: fix some Sphinx warnings
        docs: speculation.txt: mark example blocks as such
        docs: ntb.txt: add blank lines to clean up some Sphinx warnings
        ...
      8c79f4cd
    • Linus Torvalds's avatar
      Merge tag 'kbuild-v5.2' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild · 2646719a
      Linus Torvalds authored
      Pull Kbuild updates from Masahiro Yamada:
      
       - allow users to invoke 'make' out of the source tree
      
       - refactor scripts/mkmakefile
      
       - deprecate KBUILD_SRC, which was used to track the source tree
         location for O= build.
      
       - fix recordmcount.pl in case objdump output is localized
      
       - turn unresolved symbols in external modules to errors from warnings
         by default; pass KBUILD_MODPOST_WARN=1 to get them back to warnings
      
       - generate modules.builtin.modinfo to collect .modinfo data from
         built-in modules
      
       - misc Makefile cleanups
      
      * tag 'kbuild-v5.2' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild: (21 commits)
        .gitignore: add more all*.config patterns
        moduleparam: Save information about built-in modules in separate file
        Remove MODULE_ALIAS() calls that take undefined macro
        .gitignore: add leading and trailing slashes to generated directories
        scripts/tags.sh: fix direct execution of scripts/tags.sh
        scripts: override locale from environment when running recordmcount.pl
        samples: kobject: allow CONFIG_SAMPLE_KOBJECT to become y
        samples: seccomp: turn CONFIG_SAMPLE_SECCOMP into a bool option
        kbuild: move Documentation to vmlinux-alldirs
        kbuild: move samples/ to KBUILD_VMLINUX_OBJS
        modpost: make KBUILD_MODPOST_WARN also configurable for external modules
        kbuild: check arch/$(SRCARCH)/include/generated before out-of-tree build
        kbuild: remove unneeded dependency for include/config/kernel.release
        memory: squash drivers/memory/Makefile.asm-offsets
        kbuild: use $(srctree) instead of KBUILD_SRC to check out-of-tree build
        kbuild: mkmakefile: generate a simple wrapper of top Makefile
        kbuild: mkmakefile: do not check the generated Makefile marker
        kbuild: allow Kbuild to start from any directory
        kbuild: pass $(MAKECMDGOALS) to sub-make as is
        kbuild: fix warning "overriding recipe for target 'Makefile'"
        ...
      2646719a
    • Linus Torvalds's avatar
      Merge tag 'nolibc-5.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/wtarreau/nolibc · 019d7316
      Linus Torvalds authored
      Pull RISC-V nolibc header update from Willy Tarreau:
       "This single commit adds support for the RISCV architecture to the
        nolibc header file. Currently the file is only used by rcutorture but
        Pranith Kumar who contributed it would like to have this work merged.
      
        I only did some trivial tests to verify that it does not break x86,
        which I consider sufficient since all the code is cleanly enclosed
        inside a single #if/endif block"
      
      * tag 'nolibc-5.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/wtarreau/nolibc:
        tool headers nolibc: add RISCV support
      019d7316
    • Linus Torvalds's avatar
      Merge tag 'csky-for-linus-5.2-rc1' of git://github.com/c-sky/csky-linux · ce45327c
      Linus Torvalds authored
      Pull arch/csky updates from Guo Ren:
      
       - Fixup vdsp&fpu issues in kernel
      
       - Add dynamic function tracer
      
       - Use in_syscall & forget_syscall instead of r11_sig
      
       - Reconstruct signal processing
      
       - Support dynamic start physical address
      
       - Fixup wrong update_mmu_cache implementation
      
       - Support vmlinux bootup with MMU off
      
       - Use va_pa_offset instead of phys_offset
      
       - Fixup syscall_trace return processing flow
      
       - Add perf callchain support
      
       - Add perf_arch_fetch_caller_regs support
      
       - Add page fault perf event support
      
       - Add support for perf registers sampling
      
      * tag 'csky-for-linus-5.2-rc1' of git://github.com/c-sky/csky-linux:
        csky/syscall_trace: Fixup return processing flow
        csky: Fixup compile warning
        csky: Add support for perf registers sampling
        csky: add page fault perf event support
        csky: Use va_pa_offset instead of phys_offset
        csky: Support vmlinux bootup with MMU off
        csky: Add perf_arch_fetch_caller_regs support
        csky: Fixup wrong update_mmu_cache implementation
        csky: Support dynamic start physical address
        csky: Reconstruct signal processing
        csky: Use in_syscall & forget_syscall instead of r11_sig
        csky: Add non-uapi asm/ptrace.h namespace
        csky: mm/fault.c: Remove duplicate header
        csky: remove redundant generic-y
        csky: Update syscall_trace_enter/exit implementation
        csky: Add perf callchain support
        csky/ftrace: Add dynamic function tracer (include graph tracer)
        csky: Fixup vdsp&fpu issues in kernel
      ce45327c
    • Linus Torvalds's avatar
      Merge tag 'media/v5.1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media · e7a1414f
      Linus Torvalds authored
      Pull media updates from Mauro Carvalho Chehab:
      
       - remove the deprecated Zoran driver from staging
      
       - new I2C driver: ST MIPID02 CSI-2 camera bridge
      
       - new platform driver: Amlogic Meson AO CEC G12A Controller
      
       - add support for USB audio via the media controller
      
       - au0828 driver is now supported via the media controller on both on
         media and on usbaudio
      
       - new kernel test for the media device allocator
      
       - add support for stateless decoder at vicodec driver
      
       - lots of other driver improvements fixes and cleanups
      
      * tag 'media/v5.1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media: (218 commits)
        media: dt-bindings: aspeed-video: Add missing memory-region property
        media: platform: Aspeed: Make reserved memory optional
        media: platform: Aspeed: Remove use of reset line
        media: stm32-dcmi: return appropriate error codes during probe
        media: vsp1: Add support for missing 16-bit RGB555 formats
        media: vsp1: Add support for missing 16-bit RGB444 formats
        media: vsp1: Add support for missing 32-bit RGB formats
        media: v4l: Add definitions for missing 16-bit RGB555 formats
        media: v4l: Add definitions for missing 16-bit RGB4444 formats
        media: v4l: Add definitions for missing 32-bit RGB formats
        media: zoran: remove deprecated driver
        media: MAINTAINERS: Update AO CEC with ao-cec-g12a driver
        media: platform: meson: Add Amlogic Meson G12A AO CEC Controller driver
        media: dt-bindings: media: meson-ao-cec: Add G12A AO-CEC-B Compatible
        media: cros-ec-cec: decrement HDMI device refcount
        media: seco-cec: decrement HDMI device refcount
        media: tegra_cec: use new cec_notifier_parse_hdmi_phandle helper
        media: stih_cec: use new cec_notifier_parse_hdmi_phandle helper
        media: s5p_cec: use new cec_notifier_parse_hdmi_phandle helper
        media: meson: ao-cec: use new cec_notifier_parse_hdmi_phandle helper
        ...
      e7a1414f
    • Linus Torvalds's avatar
      Merge tag 'for-linus-5.2' of git://github.com/cminyard/linux-ipmi · 85c1a254
      Linus Torvalds authored
      Pull IPMI updates from Corey Minyard:
       "Some minor cleanups for the IPMI driver"
      
      * tag 'for-linus-5.2' of git://github.com/cminyard/linux-ipmi:
        ipmi: Remove warning if no slave address is present
        ipmi:ssif: Only unregister the platform driver if it was registered
        ipmi:ssif: compare block number correctly for multi-part return messages
        ipmi: Add the i2c-addr property for SSIF interfaces
        char/ipmi: fix spelling mistake "receieved_messages" -> "received_messages"
        ipmi: avoid atomic_inc in exit function
        ipmi: Remove file from ipmi_file_private
        ipmi_si: remove an unused variable in try_smi_init()
        ipmi: Make ipmi_interfaces_srcu variable static
      85c1a254
    • Linus Torvalds's avatar
      Merge tag 'pinctrl-v5.2-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl · fe460a6d
      Linus Torvalds authored
      Pull pin control updates from Linus Walleij:
       "It is pretty calm and chill in pin control for the moment. Just
        incremental development.
      
        There is an odd patch to the Super-H architecture, it's coming from
        the maintainers so should be fine.
      
        Summary:
      
        New drivers:
         - Bitmain BM1880 pin controller
         - Mediatek MT8516
         - Cirrus Logich Lochnagar PMIC pins
      
        Updates:
         - Incremental development on Renesas SH-PFC
         - Incremental development on Intel pin controller and some particular
           updates for Cedarfork.
         - Pin configuration support in Allwinner SunXi drivers
         - Suspend/resume support in the NXP/Freescale i.MX8MQ driver
         - Support for more packaging of the ST Micro STM32"
      
      * tag 'pinctrl-v5.2-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl: (72 commits)
        pinctrl: mcp23s08: Do not complain about unsupported params
        pinctrl: Rework Kconfig dependency for BM1880 pinctrl driver
        MAINTAINERS: Add entry for BM1880 pinctrl
        pinctrl: Add pinctrl support for BM1880 SoC
        dt-bindings: pinctrl: Add BM1880 pinctrl binding
        pinctrl: stm32: check irq controller availability at probe
        pinctrl: mediatek: Add MT8516 Pinctrl driver
        pinctrl: zte: fix leaked of_node references
        pinctrl: intel: Increase readability of intel_gpio_update_pad_mode()
        pinctrl: intel: Retain HOSTSW_OWN for requested gpio pin
        pinctrl: pistachio: fix leaked of_node references
        pinctrl: sunxi: Support I/O bias voltage setting on H6
        pinctrl: sunxi: Prepare for alternative bias voltage setting methods
        pinctrl: st: fix leaked of_node references
        pinctrl: samsung: fix leaked of_node references
        pinctrl: stm32: align stm32mp157 pin names
        pinctrl: stm32: add package information for stm32mp157c
        pinctrl: stm32: introduce package support
        dt-bindings: pinctrl: stm32: add new entry for package information
        pinctrl: imx8mq: Add suspend/resume ops
        ...
      fe460a6d
    • Linus Torvalds's avatar
      Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi · d1cd7c85
      Linus Torvalds authored
      Pull SCSI updates from James Bottomley:
       "This is mostly update of the usual drivers: qla2xxx, qedf, smartpqi,
        hpsa, lpfc, ufs, mpt3sas, ibmvfc and hisi_sas. Plus number of minor
        changes, spelling fixes and other trivia"
      
      * tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi: (298 commits)
        scsi: qla2xxx: Avoid that lockdep complains about unsafe locking in tcm_qla2xxx_close_session()
        scsi: qla2xxx: Avoid that qlt_send_resp_ctio() corrupts memory
        scsi: qla2xxx: Fix hardirq-unsafe locking
        scsi: qla2xxx: Complain loudly about reference count underflow
        scsi: qla2xxx: Use __le64 instead of uint32_t[2] for sending DMA addresses to firmware
        scsi: qla2xxx: Introduce the dsd32 and dsd64 data structures
        scsi: qla2xxx: Check the size of firmware data structures at compile time
        scsi: qla2xxx: Pass little-endian values to the firmware
        scsi: qla2xxx: Fix race conditions in the code for aborting SCSI commands
        scsi: qla2xxx: Use an on-stack completion in qla24xx_control_vp()
        scsi: qla2xxx: Make qla24xx_async_abort_cmd() static
        scsi: qla2xxx: Remove unnecessary locking from the target code
        scsi: qla2xxx: Remove qla_tgt_cmd.released
        scsi: qla2xxx: Complain if a command is released that is owned by the firmware
        scsi: qla2xxx: target: Fix offline port handling and host reset handling
        scsi: qla2xxx: Fix abort handling in tcm_qla2xxx_write_pending()
        scsi: qla2xxx: Fix error handling in qlt_alloc_qfull_cmd()
        scsi: qla2xxx: Simplify qlt_send_term_imm_notif()
        scsi: qla2xxx: Fix use-after-free issues in qla2xxx_qpair_sp_free_dma()
        scsi: qla2xxx: Fix a qla24xx_enable_msix() error path
        ...
      d1cd7c85
    • Linus Torvalds's avatar
      Merge tag 'tty-5.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty · b3a5e648
      Linus Torvalds authored
      Pull tty/serial updates from Greg KH:
       "Here is the "big" set of tty/serial driver patches for 5.2-rc1.
      
        It's really pretty small, not much happening in this portion of the
        kernel at the moment. When the "highlight" is the movement of the
        documentation from .txt to .rst files, it's a good merge window.
      
        There's a number of small fixes and updates over the various serial
        drivers, and a new "tty null" driver for those embedded systems that
        like to make things even smaller and not break things.
      
        All of these have been in linux-next for a while with no reported
        issues"
      
      * tag 'tty-5.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty: (45 commits)
        tty: serial: add driver for the SiFive UART
        dt-bindings: serial: add documentation for the SiFive UART driver
        serial: uartps: Add support for cts-override
        dt-bindings: xilinx-uartps: Add support for cts-override
        serial: milbeaut_usio: Fix error handling in probe and remove
        tty: rocket: deprecate the rp_ioctl
        tty: rocket: Remove RCPK_GET_STRUCT ioctl
        tty: update obsolete termios comment
        tty: serial_core: fix error code returned by uart_register_driver()
        serial: 8250-mtk: modify baudrate setting
        serial: 8250-mtk: add follow control
        docs: serial: convert docs to ReST and rename to *.rst
        serial: 8250_exar: Adjust IOT2000 matching
        TTY: serial_core, add ->install
        serial: Fix using plain integer instead of Null pointer
        tty:serial_core: Spelling mistake
        tty: Add NULL TTY driver
        tty: vt: keyboard: Allow Unicode compose base char
        Revert "tty: fix NULL pointer issue when tty_port ops is not set"
        serial: Add Milbeaut serial control
        ...
      b3a5e648
    • Linus Torvalds's avatar
      Merge tag 'usb-5.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb · 132d68d3
      Linus Torvalds authored
      Pull USB/PHY updates from Greg KH:
       "Here is the big set of USB and PHY driver patches for 5.2-rc1
      
        There is the usual set of:
      
         - USB gadget updates
      
         - PHY driver updates and additions
      
         - USB serial driver updates and fixes
      
         - typec updates and new chips supported
      
         - mtu3 driver updates
      
         - xhci driver updates
      
         - other tiny driver updates
      
        Nothing really interesting, just constant forward progress.
      
        All of these have been in linux-next for a while with no reported
        issues. The usb-gadget and usb-serial trees were merged a bit "late",
        but both of them had been in linux-next before they got merged here
        last Friday"
      
      * tag 'usb-5.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb: (206 commits)
        USB: serial: f81232: implement break control
        USB: serial: f81232: add high baud rate support
        USB: serial: f81232: clear overrun flag
        USB: serial: f81232: fix interrupt worker not stop
        usb: dwc3: Rename DWC3_DCTL_LPM_ERRATA
        usb: dwc3: Fix default lpm_nyet_threshold value
        usb: dwc3: debug: Print GET_STATUS(device) tracepoint
        usb: dwc3: Do core validation early on probe
        usb: dwc3: gadget: Set lpm_capable
        usb: gadget: atmel: tie wake lock to running clock
        usb: gadget: atmel: support USB suspend
        usb: gadget: atmel_usba_udc: simplify setting of interrupt-enabled mask
        dwc2: gadget: Fix completed transfer size calculation in DDMA
        usb: dwc2: Set lpm mode parameters depend on HW configuration
        usb: dwc2: Fix channel disable flow
        usb: dwc2: Set actual frame number for completed ISOC transfer
        usb: gadget: do not use __constant_cpu_to_le16
        usb: dwc2: gadget: Increase descriptors count for ISOC's
        usb: introduce usb_ep_type_string() function
        usb: dwc3: move synchronize_irq() out of the spinlock protected block
        ...
      132d68d3
    • Noralf Trønnes's avatar
      drm/cma-helper: Fix drm_gem_cma_free_object() · 23e35c0e
      Noralf Trønnes authored
      The logic for freeing an imported buffer with a virtual address is
      broken. It will free the buffer instead of unmapping the dma buf.
      Fix by reversing the if ladder and first check if the buffer is imported.
      
      Fixes: b9068cde ("drm/cma-helper: Add DRM_GEM_CMA_VMAP_DRIVER_OPS")
      Cc: stable@vger.kernel.org
      Reported-by: default avatar"Li, Tingqian" <tingqian.li@intel.com>
      Signed-off-by: default avatarNoralf Trønnes <noralf@tronnes.org>
      Reviewed-by: default avatarOleksandr Andrushchenko <oleksandr_andrushchenko@epam.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20190426124753.53722-1-noralf@tronnes.org
      23e35c0e
    • Pranith Kumar's avatar
      tool headers nolibc: add RISCV support · 582e84f7
      Pranith Kumar authored
      This adds support for the RISCV architecture (32 and 64 bit) to the
      nolibc header file.
      Signed-off-by: default avatarPranith Kumar <bobby.prani@gmail.com>
      [willy: minimal rewording of the commit message]
      Signed-off-by: default avatarWilly Tarreau <w@1wt.eu>
      582e84f7
    • Takashi Iwai's avatar
      ALSA: line6: toneport: Fix broken usage of timer for delayed execution · 7f84ff68
      Takashi Iwai authored
      The line6 toneport driver has code for some delayed initialization,
      and this hits the kernel Oops because mutex and other sleepable
      functions are used in the timer callback.  Fix the abuse by a delayed
      work instead so that everything works gracefully.
      
      Reported-by: syzbot+a07d0142e74fdd595cfb@syzkaller.appspotmail.com
      Cc: <stable@vger.kernel.org>
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      7f84ff68
    • Takashi Iwai's avatar
      ALSA: aica: Fix a long-time build breakage · 534420c6
      Takashi Iwai authored
      The build of aica sound driver has been broken since the timer API
      conversion and some code rewrite.  This patch fixes the breakage by
      using the common substream field, as well as a bit cleaning up wrt the
      timer handling in the code.
      
      Fixes: d522bb6a ("ALSA: sh: aica: Convert timers to use timer_setup()")
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      534420c6
    • Kailang Yang's avatar
      ALSA: hda/realtek - Support low power consumption for ALC256 · 6447c962
      Kailang Yang authored
      Remove hp_pin = 0 return. Add the default pin 0x21 as headphone.
      Supported low power consumption, it must do depop procedure when
      headset jack was plugged or unplugged.
      So, alc256_init() and alc256_shutup() must run delay when headset jack
      was plugged or unplugged.
      If depop procedure not run with delay, it will have a chance to let
      power consumption raise high.
      
      [ NOTE: this is a quite quite similar change for ALC295 by commit
        d3ba58bb ("ALSA: hda/realtek - Support low power consumption for
        ALC295"), but applied to ALC256 codec instead -- tiwai ]
      
      Fixes: 8983eb60 ("ALSA: hda/realtek - Move to ACT_INIT state")
      Signed-off-by: default avatarKailang Yang <kailang@realtek.com>
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      6447c962
    • Takashi Iwai's avatar
      Merge tag 'asoc-v5.2-2' of... · 5095c418
      Takashi Iwai authored
      Merge tag 'asoc-v5.2-2' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-linus
      
      ASoC: Fixes for v5.2
      
      A bunch of driver specific fixes that came in since the initial pull
      request for v5.2, mainly warning fixes for the newly added Sound Open
      Firmware code which people appeared to only start looking at after I'd
      sent the pull request.
      5095c418
    • Olivier Moysan's avatar
      ASoC: stm32: i2s: update pcm hardware constraints · 4fc19fff
      Olivier Moysan authored
      - Set period minimum size. Ensure at least 5ms period
      up to 48kHz/16 bits to prevent underrun/overrun.
      - Remove MDMA constraints on period maximum size and
      set period maximum to half the buffer maximum size.
      Signed-off-by: default avatarOlivier Moysan <olivier.moysan@st.com>
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      4fc19fff
    • Libin Yang's avatar
      ASoC: codec: hdac_hdmi: no checking monitor in hw_params · 939507f2
      Libin Yang authored
      Some userspace apps, like pulseaudio, may call open, hw_params,
      prepare to judge whether the pcm is ready or not. Current hdac_hdmi
      will return -ENODEV if monitor is not connected, which will cause
      the apps believe the pcm is not ready. Actually PCM for hdmi is ready,
      even the monitor is not connected.
      
      This patch removes the check of monitor presence in hw_params, just like
      what the legacy HD-Audio driver does.
      Signed-off-by: default avatarLibin Yang <libin.yang@intel.com>
      Acked-by: default avatarPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      939507f2
    • Tzung-Bi Shih's avatar
      ASoC: mediatek: mt6358: save PGA for mixer control · ec0574a6
      Tzung-Bi Shih authored
      mt6358_amic_disable() resets PGA to 0.
      
      Save the gain settings from mixer control and restore them when using
      the microphone.
      Signed-off-by: default avatarTzung-Bi Shih <tzungbi@google.com>
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      ec0574a6
    • Tzung-Bi Shih's avatar
      ASoC: mediatek: mt6358: save output volume for mixer controls · bbb56537
      Tzung-Bi Shih authored
      Output volume settings from mixer controls would be lost.
      
      Imagine that "Headphone Volume" has set to -10dB via amixer:
      - in mtk_hp_enable()
        - hp_store_gain() saves the volume setting -10dB from regmap_read()
          to ana_gain[AUDIO_ANALOG_VOLUME_HPOUTL]
        - headset_volume_ramp() ramps up from -10dB to -10dB
      - in mtk_hp_disable()
        - headset_volume_ramp() ramps down from -10dB to -40dB
      
      Next time in mtk_hp_enable(), hp_store_gain() would save -40dB but
      not -10dB.  As a result, headset_volume_ramp() would ramp from -10dB to
      -40dB (which is mute).
      Signed-off-by: default avatarTzung-Bi Shih <tzungbi@google.com>
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      bbb56537