1. 28 May, 2020 4 commits
    • Serge Semin's avatar
      bus: Add Baikal-T1 APB-bus driver · 8f93662d
      Serge Semin authored
      Baikal-T1 AXI-APB bridge is used to access the SoC subsystem CSRs.
      IO requests are routed to this bus by means of the DW AMBA 3 AXI
      Interconnect. In case if an attempted APB transaction stays with no
      response for a pre-defined time an interrupt occurs and the bus gets
      freed for a next operation. This driver provides the interrupt handler
      to detect the erroneous address, prints an error message about the
      address fault, updates an errors counter. The counter and the APB-bus
      operations timeout can be accessed via corresponding sysfs nodes.
      A dedicated sysfs-node can be also used to artificially cause the
      bus errors described above.
      
      [arnd: fix build warnings for missing includes and wrong return types]
      
      Link: https://lore.kernel.org/r/20200526125928.17096-6-Sergey.Semin@baikalelectronics.ruSigned-off-by: default avatarSerge Semin <Sergey.Semin@baikalelectronics.ru>
      Cc: Alexey Malahov <Alexey.Malahov@baikalelectronics.ru>
      Cc: Paul Burton <paulburton@kernel.org>
      Cc: Olof Johansson <olof@lixom.net>
      Cc: Rob Herring <robh+dt@kernel.org>
      Cc: linux-mips@vger.kernel.org
      Cc: soc@kernel.org
      Cc: devicetree@vger.kernel.org
      Reported-by: default avatarkbuild test robot <lkp@intel.com>
      Reported-by: default avatarkbuild test robot <lkp@intel.com>
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      8f93662d
    • Serge Semin's avatar
      bus: Add Baikal-T1 AXI-bus driver · 63cb7713
      Serge Semin authored
      AXI3-bus is the main communication bus connecting all high-speed
      peripheral IP-cores with RAM controller and MIPS P5600 cores on Baikal-T1
      SoC. Bus traffic arbitration is done by means of DW AMBA 3 AXI
      Interconnect (so called AXI Main Interconnect) routing IO requests from
      one SoC block to another. This driver provides a way to detect any bus
      protocol errors and device not responding situations by means of an
      embedded on top of the interconnect errors handler block (EHB). AXI
      Interconnect QoS arbitration tuning is currently unsupported.
      The bus doesn't provide a way to detect the interconnected devices,
      so they are supposed to be statically defined like by means of the
      simple-bus sub-nodes.
      
      [arnd: fix build warnings for missing includes and wrong return types]
      
      Link: https://lore.kernel.org/r/20200526125928.17096-5-Sergey.Semin@baikalelectronics.ruSigned-off-by: default avatarSerge Semin <Sergey.Semin@baikalelectronics.ru>
      Cc: Alexey Malahov <Alexey.Malahov@baikalelectronics.ru>
      Cc: Paul Burton <paulburton@kernel.org>
      Cc: Olof Johansson <olof@lixom.net>
      Cc: Rob Herring <robh+dt@kernel.org>
      Cc: linux-mips@vger.kernel.org
      Cc: soc@kernel.org
      Cc: devicetree@vger.kernel.org
      Reported-by: default avatarkbuild test robot <lkp@intel.com>
      Reported-by: default avatarkbuild test robot <lkp@intel.com>
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      63cb7713
    • Serge Semin's avatar
      dt-bindings: bus: Add Baikal-T1 APB-bus binding · a1c13784
      Serge Semin authored
      Baikal-T1 CPU or DMAC MMIO requests are handled by the AMBA 3 AXI
      Interconnect which routes them to the AXI-APB bridge, which in turn
      serializes accesses and routes them to the corresponding APB slave device.
      This binding describes the AXI-APB bridge considered as the APB-bus. It is
      supposed to be compatible with "be,bt1-apb" and "simple-bus" drivers,
      should be equipped with EHB MMIO region and a region with no slave device
      mapped, interrupts line number, APB reference clock and domain reset line.
      
      Link: https://lore.kernel.org/r/20200526125928.17096-3-Sergey.Semin@baikalelectronics.ruSigned-off-by: default avatarSerge Semin <Sergey.Semin@baikalelectronics.ru>
      Reviewed-by: default avatarRob Herring <robh@kernel.org>
      Cc: Alexey Malahov <Alexey.Malahov@baikalelectronics.ru>
      Cc: Paul Burton <paulburton@kernel.org>
      Cc: Olof Johansson <olof@lixom.net>
      Cc: linux-mips@vger.kernel.org
      Cc: soc@kernel.org
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      a1c13784
    • Serge Semin's avatar
      dt-bindings: bus: Add Baikal-T1 AXI-bus binding · 78c43a05
      Serge Semin authored
      AXI3-bus is the main communication bus connecting all high-speed
      peripheral IP-cores with RAM controller and with MIPS P5600 cores on
      Baikal-T1 SoC. This binding describes the DW AMBA 3 AXI Inteconnect
      and Errors Handler Block synthesized on top of it, which are
      responsible for the AXI-bus traffic arbitration and errors reporting
      upstream to CPU. Baikal-T1 AXI-bus DT node is supposed to be compatible
      with "be,bt1-axi" and "simple-bus" drivers, should have reg property with
      AXI-bus QOS registers space, syscon phandle reference to the Baikal-T1
      System Controller, IRQ line declared, AXI Interconnect reference clock and
      reset line.
      
      Link: https://lore.kernel.org/r/20200526125928.17096-2-Sergey.Semin@baikalelectronics.ruSigned-off-by: default avatarSerge Semin <Sergey.Semin@baikalelectronics.ru>
      Reviewed-by: default avatarRob Herring <robh@kernel.org>
      Cc: Alexey Malahov <Alexey.Malahov@baikalelectronics.ru>
      Cc: Paul Burton <paulburton@kernel.org>
      Cc: Olof Johansson <olof@lixom.net>
      Cc: linux-mips@vger.kernel.org
      Cc: soc@kernel.org
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      78c43a05
  2. 03 May, 2020 4 commits
  3. 02 May, 2020 8 commits
    • Linus Torvalds's avatar
      Merge tag 'pm-5.7-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm · 743f0573
      Linus Torvalds authored
      Pull power management fixes from Rafael Wysocki:
      
       - prevent the intel_pstate driver from printing excessive diagnostic
         messages in some cases (Chris Wilson)
      
       - make the hibernation restore kernel freeze kernel threads as well as
         user space tasks (Dexuan Cui)
      
       - fix the ACPI device PM disagnostic messages to include the correct
         power state name (Kai-Heng Feng).
      
      * tag 'pm-5.7-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
        PM: ACPI: Output correct message on target power state
        PM: hibernate: Freeze kernel threads in software_resume()
        cpufreq: intel_pstate: Only mention the BIOS disabling turbo mode once
      743f0573
    • Rafael J. Wysocki's avatar
      Merge branches 'pm-cpufreq' and 'pm-sleep' · a5383996
      Rafael J. Wysocki authored
      * pm-cpufreq:
        cpufreq: intel_pstate: Only mention the BIOS disabling turbo mode once
      
      * pm-sleep:
        PM: hibernate: Freeze kernel threads in software_resume()
      a5383996
    • Linus Torvalds's avatar
      Merge tag 'iomap-5.7-fixes-1' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux · f66ed1eb
      Linus Torvalds authored
      Pull iomap fix from Darrick Wong:
       "Hoist the check for an unrepresentable FIBMAP return value into
        ioctl_fibmap.
      
        The internal kernel function can handle 64-bit values (and is needed
        to fix a regression on ext4 + jbd2). It is only the userspace ioctl
        that is so old that it cannot deal"
      
      * tag 'iomap-5.7-fixes-1' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux:
        fibmap: Warn and return an error in case of block > INT_MAX
      f66ed1eb
    • Linus Torvalds's avatar
      Merge tag 'nfs-for-5.7-4' of git://git.linux-nfs.org/projects/trondmy/linux-nfs · 29a47f45
      Linus Torvalds authored
      Pull NFS client bugfixes from Trond Myklebust:
       "Highlights include:
      
        Stable fixes:
         - fix handling of backchannel binding in BIND_CONN_TO_SESSION
      
        Bugfixes:
         - Fix a credential use-after-free issue in pnfs_roc()
         - Fix potential posix_acl refcnt leak in nfs3_set_acl
         - defer slow parts of rpc_free_client() to a workqueue
         - Fix an Oopsable race in __nfs_list_for_each_server()
         - Fix trace point use-after-free race
         - Regression: the RDMA client no longer responds to server disconnect
           requests
         - Fix return values of xdr_stream_encode_item_{present, absent}
         - _pnfs_return_layout() must always wait for layoutreturn completion
      
        Cleanups:
         - Remove unreachable error conditions"
      
      * tag 'nfs-for-5.7-4' of git://git.linux-nfs.org/projects/trondmy/linux-nfs:
        NFS: Fix a race in __nfs_list_for_each_server()
        NFSv4.1: fix handling of backchannel binding in BIND_CONN_TO_SESSION
        SUNRPC: defer slow parts of rpc_free_client() to a workqueue.
        NFSv4: Remove unreachable error condition due to rpc_run_task()
        SUNRPC: Remove unreachable error condition
        xprtrdma: Fix use of xdr_stream_encode_item_{present, absent}
        xprtrdma: Fix trace point use-after-free race
        xprtrdma: Restore wake-up-all to rpcrdma_cm_event_handler()
        nfs: Fix potential posix_acl refcnt leak in nfs3_set_acl
        NFS/pnfs: Fix a credential use-after-free issue in pnfs_roc()
        NFS/pnfs: Ensure that _pnfs_return_layout() waits for layoutreturn completion
      29a47f45
    • Linus Torvalds's avatar
      Merge tag 'dmaengine-fix-5.7-rc4' of git://git.infradead.org/users/vkoul/slave-dma · ed6889db
      Linus Torvalds authored
      Pull dmaengine fixes from Vinod Koul:
       "Core:
         - Documentation typo fixes
         - fix the channel indexes
         - dmatest: fixes for process hang and iterations
      
        Drivers:
         - hisilicon: build error fix without PCI_MSI
         - ti-k3: deadlock fix
         - uniphier-xdmac: fix for reg region
         - pch: fix data race
         - tegra: fix clock state"
      
      * tag 'dmaengine-fix-5.7-rc4' of git://git.infradead.org/users/vkoul/slave-dma:
        dmaengine: dmatest: Fix process hang when reading 'wait' parameter
        dmaengine: dmatest: Fix iteration non-stop logic
        dmaengine: tegra-apb: Ensure that clock is enabled during of DMA synchronization
        dmaengine: fix channel index enumeration
        dmaengine: mmp_tdma: Reset channel error on release
        dmaengine: mmp_tdma: Do not ignore slave config validation errors
        dmaengine: pch_dma.c: Avoid data race between probe and irq handler
        dt-bindings: dma: uniphier-xdmac: switch to single reg region
        include/linux/dmaengine: Typos fixes in API documentation
        dmaengine: xilinx_dma: Add missing check for empty list
        dmaengine: ti: k3-psil: fix deadlock on error path
        dmaengine: hisilicon: Fix build error without PCI_MSI
      ed6889db
    • Linus Torvalds's avatar
      Merge tag 'vfio-v5.7-rc4' of git://github.com/awilliam/linux-vfio · 690e2aba
      Linus Torvalds authored
      Pull VFIO fixes from Alex Williamson:
      
       - copy_*_user validity check for new vfio_dma_rw interface (Yan Zhao)
      
       - Fix a potential math overflow (Yan Zhao)
      
       - Use follow_pfn() for calculating PFNMAPs (Sean Christopherson)
      
      * tag 'vfio-v5.7-rc4' of git://github.com/awilliam/linux-vfio:
        vfio/type1: Fix VA->PA translation for PFNMAP VMAs in vaddr_get_pfn()
        vfio: avoid possible overflow in vfio_iommu_type1_pin_pages
        vfio: checking of validity of user vaddr in vfio_dma_rw
      690e2aba
    • Linus Torvalds's avatar
      Merge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux · 42eb62d4
      Linus Torvalds authored
      Pull arm64 fix from Catalin Marinas:
       "Add -fasynchronous-unwind-tables to the vDSO CFLAGS"
      
      * tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux:
        arm64: vdso: Add -fasynchronous-unwind-tables to cflags
      42eb62d4
    • Linus Torvalds's avatar
      Merge tag 'io_uring-5.7-2020-05-01' of git://git.kernel.dk/linux-block · cf018530
      Linus Torvalds authored
      Pull io_uring fixes from Jens Axboe:
      
       - Fix for statx not grabbing the file table, making AT_EMPTY_PATH fail
      
       - Cover a few cases where async poll can handle retry, eliminating the
         need for an async thread
      
       - fallback request busy/free fix (Bijan)
      
       - syzbot reported SQPOLL thread exit fix for non-preempt (Xiaoguang)
      
       - Fix extra put of req for sync_file_range (Pavel)
      
       - Always punt splice async. We'll improve this for 5.8, but wanted to
         eliminate the inode mutex lock from the non-blocking path for 5.7
         (Pavel)
      
      * tag 'io_uring-5.7-2020-05-01' of git://git.kernel.dk/linux-block:
        io_uring: punt splice async because of inode mutex
        io_uring: check non-sync defer_list carefully
        io_uring: fix extra put in sync_file_range()
        io_uring: use cond_resched() in io_ring_ctx_wait_and_kill()
        io_uring: use proper references for fallback_req locking
        io_uring: only force async punt if poll based retry can't handle it
        io_uring: enable poll retry for any file with ->read_iter / ->write_iter
        io_uring: statx must grab the file table for valid fd
      cf018530
  4. 01 May, 2020 19 commits
  5. 30 Apr, 2020 5 commits