Inter-revision diff: patch 10

Comparing v13 (message) to v14 (message)

--- v13
+++ v14
@@ -59,7 +59,7 @@
  # Should be selected if we can mmap non-coherent mappings to userspace.
  # The only thing that is really required is a way to set an uncached bit
 diff --git a/kernel/dma/swiotlb.c b/kernel/dma/swiotlb.c
-index 6499cfbfe95f..d4099f03b2f0 100644
+index 273b21090ee8..1aef294c82b5 100644
 --- a/kernel/dma/swiotlb.c
 +++ b/kernel/dma/swiotlb.c
 @@ -39,6 +39,13 @@
@@ -96,11 +96,11 @@
 +		if (!mem)
 +			return -ENOMEM;
 +
++		set_memory_decrypted((unsigned long)phys_to_virt(rmem->base),
++				     rmem->size >> PAGE_SHIFT);
 +		swiotlb_init_io_tlb_mem(mem, rmem->base, nslabs, false);
 +		mem->force_bounce = true;
 +		mem->for_alloc = true;
-+		set_memory_decrypted((unsigned long)phys_to_virt(rmem->base),
-+				     rmem->size >> PAGE_SHIFT);
 +
 +		rmem->priv = mem;
 +
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help