1. 16 Apr, 2021 1 commit
    • Vidya Sagar's avatar
      PCI: tegra: Add Tegra194 MCFG quirks for ECAM errata · 7f100744
      Vidya Sagar authored
      The PCIe controller in Tegra194 SoC is not ECAM-compliant.  With the
      current hardware design, ECAM can be enabled only for one controller (the
      C5 controller) with bus numbers starting from 160 instead of 0. A different
      approach is taken to avoid this abnormal way of enabling ECAM for just one
      controller but to enable configuration space access for all the other
      controllers. In this approach, ops are added through MCFG quirk mechanism
      which access the configuration spaces by dynamically programming iATU
      (internal AddressTranslation Unit) to generate respective configuration
      accesses just like the way it is done in DesignWare core sub-system.
      
      This issue is specific to Tegra194 and it would be fixed in the future
      generations of Tegra SoCs.
      
      Link: https://lore.kernel.org/r/20210416134537.19474-1-vidyas@nvidia.comSigned-off-by: default avatarVidya Sagar <vidyas@nvidia.com>
      Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
      7f100744
  2. 06 Mar, 2021 4 commits
  3. 05 Mar, 2021 33 commits
  4. 04 Mar, 2021 2 commits
    • Jens Axboe's avatar
      kernel: provide create_io_thread() helper · cc440e87
      Jens Axboe authored
      Provide a generic helper for setting up an io_uring worker. Returns a
      task_struct so that the caller can do whatever setup is needed, then call
      wake_up_new_task() to kick it into gear.
      
      Add a kernel_clone_args member, io_thread, which tells copy_process() to
      mark the task with PF_IO_WORKER.
      Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
      cc440e87
    • Pavel Begunkov's avatar
      io_uring: reliably cancel linked timeouts · dd59a3d5
      Pavel Begunkov authored
      Linked timeouts are fired asynchronously (i.e. soft-irq), and use
      generic cancellation paths to do its stuff, including poking into io-wq.
      The problem is that it's racy to access tctx->io_wq, as
      io_uring_task_cancel() and others may be happening at this exact moment.
      Mark linked timeouts with REQ_F_INLIFGHT for now, making sure there are
      no timeouts before io-wq destraction.
      Signed-off-by: default avatarPavel Begunkov <asml.silence@gmail.com>
      Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
      dd59a3d5