OpenCloudOS-Kernel/arch/mips/loongson64/common
Christoph Hellwig b6e05477c1 dma/direct: Handle the memory encryption bit in common code
Give the basic phys_to_dma() and dma_to_phys() helpers a __-prefix and add
the memory encryption mask to the non-prefixed versions.  Use the
__-prefixed versions directly instead of clearing the mask again in
various places.

Tested-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Cc: David Woodhouse <dwmw2@infradead.org>
Cc: Joerg Roedel <joro@8bytes.org>
Cc: Jon Mason <jdmason@kudzu.us>
Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Muli Ben-Yehuda <mulix@mulix.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: iommu@lists.linux-foundation.org
Link: http://lkml.kernel.org/r/20180319103826.12853-13-hch@lst.de
Signed-off-by: Ingo Molnar <mingo@kernel.org>
2018-03-20 10:01:59 +01:00
..
cs5536 MIPS: clockevent drivers: Set ->min_delta_ticks and ->max_delta_ticks 2017-04-14 13:11:16 -07:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
bonito-irq.c MIPS, CPUFREQ: Fix spelling of Institute. 2015-07-07 20:59:42 +02:00
cmdline.c MIPS, CPUFREQ: Fix spelling of Institute. 2015-07-07 20:59:42 +02:00
dma-swiotlb.c dma/direct: Handle the memory encryption bit in common code 2018-03-20 10:01:59 +01:00
early_printk.c MIPS: Loongson: Naming style cleanup and rework 2015-06-21 21:53:59 +02:00
env.c MIPS: Loogson: Make enum loongson_cpu_type more clear 2017-06-29 02:42:23 +02:00
init.c MIPS: Loongson: Add NMI handler support 2017-06-29 02:42:22 +02:00
irq.c MIPS, CPUFREQ: Fix spelling of Institute. 2015-07-07 20:59:42 +02:00
machtype.c MIPS: Loongson: Naming style cleanup and rework 2015-06-21 21:53:59 +02:00
mem.c MIPS: Loongson fix name confict - MEM_RESERVED 2018-01-24 13:34:39 +00:00
pci.c MIPS: Loongson: Naming style cleanup and rework 2015-06-21 21:53:59 +02:00
platform.c MIPS: Loongson: Naming style cleanup and rework 2015-06-21 21:53:59 +02:00
pm.c MIPS: Loongson: Naming style cleanup and rework 2015-06-21 21:53:59 +02:00
reset.c MIPS: Loongson: Naming style cleanup and rework 2015-06-21 21:53:59 +02:00
rtc.c MIPS: Loongson: Naming style cleanup and rework 2015-06-21 21:53:59 +02:00
serial.c mips: make loongsoon serial driver explicitly modular 2015-06-21 21:54:12 +02:00
setup.c MIPS: Audit and remove any unnecessary uses of module.h 2017-02-14 09:00:25 +00:00
time.c MIPS: Loongson: Naming style cleanup and rework 2015-06-21 21:53:59 +02:00
uart_base.c MIPS: Audit and remove any unnecessary uses of module.h 2017-02-14 09:00:25 +00:00