All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sasha Levin <sashal@kernel.org>
To: Jianxiong Gao <jxgao@google.com>
Cc: stable@vger.kernel.org
Subject: Re: [PATCH 5.4 0/8] preserve DMA offsets when using swiotlb
Date: Tue, 6 Apr 2021 12:10:03 -0400	[thread overview]
Message-ID: <YGyH20fvYV8ySijn@sashalap> (raw)
In-Reply-To: <20210405205109.1700468-1-jxgao@google.com>

On Mon, Apr 05, 2021 at 08:51:01PM +0000, Jianxiong Gao wrote:
>Hi all,
>
>This series of backports fixes the SWIOTLB library to maintain the
>page offset when mapping a DMA address. The bug that motivated this
>patch series manifested when running a 5.4 kernel as a SEV guest with
>an NVMe device. However, any device that infers information from the
>page offset and is accessed through the SWIOTLB will benefit from this
>bug fix.
>
>Jianxiong Gao (7):
>  driver core: add a min_align_mask field to struct
>    device_dma_parameters
>  swiotlb: add a io_tlb_offset helper
>  swiotlb: factor out a nr_slots helper
>  swiotlb: clean up swiotlb_tbl_unmap_single
>  swiotlb: refactor swiotlb_tbl_map_single
>  swiotlb: don't modify orig_addr in swiotlb_tbl_sync_single
>  nvme-pci: set min_align_mask
>
>Linus Torvalds (1):
>  Linux 5.4

This is clearly wrong :)

This series also doesn't apply cleanly, what did you use as a base?

Also, why are the sign-offs on individual patches different between your
patches and upstream?

-- 
Thanks,
Sasha

      parent reply	other threads:[~2021-04-06 16:10 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-05 20:51 [PATCH 5.4 0/8] preserve DMA offsets when using swiotlb Jianxiong Gao
2021-04-05 20:51 ` [PATCH 5.4 1/8] driver core: add a min_align_mask field to struct device_dma_parameters Jianxiong Gao
2021-04-05 20:51 ` [PATCH 5.4 2/8] swiotlb: factor out an io_tlb_offset helper Jianxiong Gao
2021-04-05 20:51 ` [PATCH 5.4 3/8] swiotlb: factor out a nr_slots helper Jianxiong Gao
2021-04-05 20:51 ` [PATCH 5.4 4/8] swiotlb: clean up swiotlb_tbl_unmap_single Jianxiong Gao
2021-04-05 20:51 ` [PATCH 5.4 5/8] swiotlb: refactor swiotlb_tbl_map_single Jianxiong Gao
2021-04-05 20:51 ` [PATCH 5.4 6/8] swiotlb: don't modify orig_addr in swiotlb_tbl_sync_single Jianxiong Gao
2021-04-05 20:51 ` [PATCH 5.4 7/8] swiotlb: respect min_align_mask Jianxiong Gao
2021-04-05 20:51 ` [PATCH 5.4 8/8] nvme-pci: set min_align_mask Jianxiong Gao
2021-04-06 16:10 ` Sasha Levin [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=YGyH20fvYV8ySijn@sashalap \
    --to=sashal@kernel.org \
    --cc=jxgao@google.com \
    --cc=stable@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.