From: Christoph Hellwig <hch@lst.de>
To: Alexey Kardashevskiy <aik@amd.com>
Cc: kvm@vger.kernel.org, linux-kernel@vger.kernel.org,
iommu@lists.linux.dev, Ashish Kalra <ashish.kalra@amd.com>,
Pankaj Gupta <pankaj.gupta@amd.com>,
Tom Lendacky <thomas.lendacky@amd.com>,
Robin Murphy <robin.murphy@arm.com>,
Marek Szyprowski <m.szyprowski@samsung.com>,
Christoph Hellwig <hch@lst.de>
Subject: Re: [PATCH kernel] x86/swiotlb/amd: Half the size if allocation failed
Date: Sun, 30 Oct 2022 09:05:40 +0100 [thread overview]
Message-ID: <20221030080540.GH4214@lst.de> (raw)
In-Reply-To: <20221027052607.260234-1-aik@amd.com>
The subject looks wrong - this just touches the swiotlb code, and
nothing x86 or AMD specific.
The code flow now looks a little confusing. Can yu just add a little
swiotlb_memblock_alloc helper that does the two variants of memblock
allocation and remap, so that we can keep a simply
loop around them in the caller?
prev parent reply other threads:[~2022-10-30 8:05 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-27 5:26 [PATCH kernel] x86/swiotlb/amd: Half the size if allocation failed Alexey Kardashevskiy
2022-10-27 16:46 ` Thadeu Lima de Souza Cascardo
2022-10-28 1:14 ` Alexey Kardashevskiy
2022-10-28 14:13 ` Tom Lendacky
2022-10-30 8:05 ` Christoph Hellwig [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=20221030080540.GH4214@lst.de \
--to=hch@lst.de \
--cc=aik@amd.com \
--cc=ashish.kalra@amd.com \
--cc=iommu@lists.linux.dev \
--cc=kvm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=m.szyprowski@samsung.com \
--cc=pankaj.gupta@amd.com \
--cc=robin.murphy@arm.com \
--cc=thomas.lendacky@amd.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox