1. 07 Mar, 2021 1 commit
    • Ard Biesheuvel's avatar
      efi: stub: omit SetVirtualAddressMap() if marked unsupported in RT_PROP table · 9e9888a0
      Ard Biesheuvel authored
      The EFI_RT_PROPERTIES_TABLE contains a mask of runtime services that are
      available after ExitBootServices(). This mostly does not concern the EFI
      stub at all, given that it runs before that. However, there is one call
      that is made at runtime, which is the call to SetVirtualAddressMap()
      (which is not even callable at boot time to begin with)
      
      So add the missing handling of the RT_PROP table to ensure that we only
      call SetVirtualAddressMap() if it is not being advertised as unsupported
      by the firmware.
      
      Cc: <stable@vger.kernel.org> # v5.10+
      Tested-by: default avatarShawn Guo <shawn.guo@linaro.org>
      Signed-off-by: default avatarArd Biesheuvel <ardb@kernel.org>
      9e9888a0
  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