1. 03 May, 2019 3 commits
    • Alexander Shishkin's avatar
      intel_th: msu: Fix single mode with IOMMU · 4e0eaf23
      Alexander Shishkin authored
      Currently, the pages that are allocated for the single mode of MSC are not
      mapped into the device's dma space and the code is incorrectly using
      *_to_phys() in place of a dma address. This fails with IOMMU enabled and
      is otherwise bad practice.
      
      Fix the single mode buffer allocation to map the pages into the device's
      DMA space.
      Signed-off-by: default avatarAlexander Shishkin <alexander.shishkin@linux.intel.com>
      Fixes: ba82664c ("intel_th: Add Memory Storage Unit driver")
      Cc: stable@vger.kernel.org # v4.4+
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      4e0eaf23
    • Greg Kroah-Hartman's avatar
      Merge tag 'gnss-5.2-rc1' of... · 9a552e27
      Greg Kroah-Hartman authored
      Merge tag 'gnss-5.2-rc1' of https://git.kernel.org/pub/scm/linux/kernel/git/johan/gnss into char-misc-next
      
      Johan writes:
      
      GNSS updates for 5.2-rc1
      
      Here are the GNSS updates for 5.2-rc1; only a new u-blox compatible.
      
      All have been in linux-next with no reported issues.
      Signed-off-by: default avatarJohan Hovold <johan@kernel.org>
      
      * tag 'gnss-5.2-rc1' of https://git.kernel.org/pub/scm/linux/kernel/git/johan/gnss:
        gnss: ubx: add u-blox,neo-6m compatible
        dt-bindings: gnss: add u-blox,neo-6m compatible
      9a552e27
    • Greg Kroah-Hartman's avatar
      Merge tag 'misc-habanalabs-next-2019-05-03' of... · 16102736
      Greg Kroah-Hartman authored
      Merge tag 'misc-habanalabs-next-2019-05-03' of git://people.freedesktop.org/~gabbayo/linux into char-misc-next
      
      Oded writes:
      
      This tag contains further changes for kernel 5.2.
      
      The changes are either bug fixes or simple re-factoring of existing code.
      The notable changes are:
      
      - Add missing fields in the bmon structure that is passed in the debug
        IOCTL when the user wants to configure the bus monitor.
      
      - Use the dedicated device-CPU accessible memory pool for all host memory
        allocations that are accessible directly by the embedded CPU. This is
        needed to enforce certain restrictions we have due to the embedded CPU's
        architecture.
      
      - Manipulate DMA addresses only inside ASIC-specific files. This is needed
        to better support future ASICs code.
      
      Other minor changes include:
      
      - Move pr_fmt() to c files to avoid dependency in include order.
      
      - Remove call to CS parsing function for workloads that originates from
        the driver and remove dead code as a result from this change.
      
      - Update names of structure members and labels to better reflect their
        usage.
      
      - When moving the dram PCI bar aperture, return the old aperture address
        range instead of error code. This will allow us to restore the old
        address range in a simpler fashion.
      
      * tag 'misc-habanalabs-next-2019-05-03' of git://people.freedesktop.org/~gabbayo/linux:
        habanalabs: Update CPU DMA memory label name
        habanalabs: Update CPU DMA pool label name
        habanalabs: increase timeout if working with simulator
        habanalabs: remove condition that is always true
        habanalabs: remove redundant member from parser struct
        habanalabs: Manipulate DMA addresses in ASIC functions
        habanalabs: rename functions to improve code readability
        habanalabs: remove call to cs_parser()
        habanalabs: Use single pool for CPU accessible host memory
        habanalabs: return old dram bar address upon change
        habanalabs: rename restore to ctx_switch when appropriate
        habanalabs: use ASIC functions interface for rreg/wreg
        uapi/habanalabs: add missing fields in bmon params
        habanalabs: re-factor goya_parse_cb_no_ext_queue()
        habanalabs: Cancel pr_fmt() definition dependency on includes order
      16102736
  2. 02 May, 2019 37 commits