Files
kernel_arpi/include/linux
Anshuman Khandual 36d6cb73d5 mm/dev_pfn: exclude MEMORY_DEVICE_PRIVATE while computing virtual address
The presence of struct page does not guarantee linear mapping for the pfn
physical range.  Device private memory which is non-coherent is excluded
from linear mapping during devm_memremap_pages() though they will still
have struct page coverage.

Change pfn_t_to_virt() to just check for device private memory before
giving out virtual address for a given pfn.

pfn_t_to_virt() actually has no callers.  Let's fix it for the 5.2 kernel
and remove it in 5.3.

Link: http://lkml.kernel.org/r/1558089514-25067-1-git-send-email-anshuman.khandual@arm.com
Signed-off-by: Anshuman Khandual <anshuman.khandual@arm.com>
Cc: Dan Williams <dan.j.williams@intel.com>
Cc: Jérôme Glisse <jglisse@redhat.com>
Cc: Laurent Dufour <ldufour@linux.vnet.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2019-06-29 16:43:44 +08:00
..
2019-05-14 19:52:50 -07:00
2019-06-06 16:53:12 -07:00
2019-06-14 20:18:27 -07:00
2019-05-07 08:39:02 -06:00
2019-05-09 15:25:13 -04:00
2019-04-22 09:48:12 -06:00
2019-05-01 07:47:37 -07:00
2019-05-14 09:47:51 -07:00
2019-05-07 14:31:03 +02:00
2019-05-14 19:52:51 -07:00
2019-05-14 19:52:48 -07:00
2019-05-08 22:14:36 +02:00
2019-05-16 15:51:55 -07:00
2019-06-14 20:18:27 -07:00
2019-06-15 18:47:31 -07:00
2019-05-15 17:35:54 +01:00