Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1671573 > unrolled thread
| Started by | Borislav Petkov <bp@alien8.de> |
|---|---|
| First post | 2017-06-21 12:00 +0200 |
| Last post | 2017-06-21 12:00 +0200 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: [PATCH v7 24/36] x86, swiotlb: Add memory encryption support Borislav Petkov <bp@alien8.de> - 2017-06-21 12:00 +0200
| From | Borislav Petkov <bp@alien8.de> |
|---|---|
| Date | 2017-06-21 12:00 +0200 |
| Subject | Re: [PATCH v7 24/36] x86, swiotlb: Add memory encryption support |
| Message-ID | <tUKAy-4rR-7@gated-at.bofh.it> |
On Fri, Jun 16, 2017 at 01:54:24PM -0500, Tom Lendacky wrote:
> Since DMA addresses will effectively look like 48-bit addresses when the
> memory encryption mask is set, SWIOTLB is needed if the DMA mask of the
> device performing the DMA does not support 48-bits. SWIOTLB will be
> initialized to create decrypted bounce buffers for use by these devices.
>
> Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
> ---
> arch/x86/include/asm/dma-mapping.h | 5 ++-
> arch/x86/include/asm/mem_encrypt.h | 5 +++
> arch/x86/kernel/pci-dma.c | 11 +++++--
> arch/x86/kernel/pci-nommu.c | 2 +
> arch/x86/kernel/pci-swiotlb.c | 15 +++++++++-
> arch/x86/mm/mem_encrypt.c | 22 +++++++++++++++
> include/linux/swiotlb.h | 1 +
> init/main.c | 10 +++++++
> lib/swiotlb.c | 54 +++++++++++++++++++++++++++++++-----
> 9 files changed, 108 insertions(+), 17 deletions(-)
Reviewed-by: Borislav Petkov <bp@suse.de>
--
Regards/Gruss,
Boris.
Good mailing practices for 400: avoid top-posting and trim the reply.
Back to top | Article view | linux.kernel
csiph-web