From: Alexey Kardashevskiy <aik@ozlabs.ru>
To: linuxppc-dev@lists.ozlabs.org
Cc: Alexey Kardashevskiy <aik@ozlabs.ru>,
Alistair Popple <alistair@popple.id.au>,
Thiago Jung Bauermann <bauerman@linux.ibm.com>,
David Gibson <david@gibson.dropbear.id.au>
Subject: [PATCH kernel 0/2] pseries: Enable SWIOTLB
Date: Tue, 7 May 2019 16:25:57 +1000 [thread overview]
Message-ID: <20190507062559.20295-1-aik@ozlabs.ru> (raw)
This is an attempt to allow PCI pass through to a secure guest when
hardware can only access insecure memory. This allows SWIOTLB use
for passed through devices.
Later on secure VMs will unsecure SWIOTLB bounce buffers for DMA
and the rest of the guest RAM will be unavailable to the hardware
by default.
This is based on sha1
e93c9c99a629 Linus Torvalds "Linux 5.1".
Please comment. Thanks.
Alexey Kardashevskiy (2):
powerpc/pseries/dma: Allow swiotlb
powerpc/pseries/dma: Enable swiotlb
arch/powerpc/kernel/dma-iommu.c | 36 ++++++++++++++++++++++++++
arch/powerpc/platforms/pseries/setup.c | 5 ++++
arch/powerpc/platforms/pseries/Kconfig | 1 +
3 files changed, 42 insertions(+)
--
2.17.1
next reply other threads:[~2019-05-07 6:27 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-07 6:25 Alexey Kardashevskiy [this message]
2019-05-07 6:25 ` [PATCH kernel 1/2] powerpc/pseries/dma: Allow swiotlb Alexey Kardashevskiy
2019-05-10 22:36 ` Thiago Jung Bauermann
2019-05-13 6:30 ` Alexey Kardashevskiy
2019-06-19 4:13 ` Thiago Jung Bauermann
2019-07-08 1:19 ` Michael Ellerman
2019-05-07 6:25 ` [PATCH kernel 2/2] powerpc/pseries/dma: Enable swiotlb Alexey Kardashevskiy
2019-05-10 22:41 ` Thiago Jung Bauermann
2019-05-13 6:32 ` Alexey Kardashevskiy
2019-05-30 7:04 ` [PATCH kernel 0/2] pseries: Enable SWIOTLB Alexey Kardashevskiy
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=20190507062559.20295-1-aik@ozlabs.ru \
--to=aik@ozlabs.ru \
--cc=alistair@popple.id.au \
--cc=bauerman@linux.ibm.com \
--cc=david@gibson.dropbear.id.au \
--cc=linuxppc-dev@lists.ozlabs.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).