1. 08 Mar, 2021 1 commit
    • Rafael J. Wysocki's avatar
      ACPI: PCI: IRQ: Consolidate printing diagnostic messages · bf5144a6
      Rafael J. Wysocki authored
      The code in pci_irq.c prints diagnostic messages using different
      and inconsistent methods.  The majority of them are printed with
      the help of the dev_*() familiy of logging functions, but
      ACPI_DEBUG_PRINT() and ACPI_DEBUG_PRINT_RAW() are still used in
      some places which requires the ACPICA debug to be enabled
      additionally which is a nuisance and one message is printed
      using the raw printk().
      
      To consolidate the printing of messages in that code, convert all of
      the ACPI_DEBUG_PRINT() instances in it into dev_dbg(), which is
      consistent with the way the other messages are printed by it,
      replace the only ACPI_DEBUG_PRINT_RAW() instance with pr_debug() and
      make it use pr_warn() istead of printk(KERN_WARNING ).
      
      Also add a pr_fmt() definition to that file and drop the
      _COMPONENT and ACPI_MODULE_NAME() definitions that are not used
      any more after the above changes.
      Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
      Reviewed-by: default avatarHanjun Guo <guohanjun@huawei.com>
      bf5144a6
  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