linux/drivers/misc/cxl
Aneesh Kumar K.V 0034d395f8 powerpc/mm/hash64: Map all the kernel regions in the same 0xc range
This patch maps vmalloc, IO and vmemap regions in the 0xc address range
instead of the current 0xd and 0xf range. This brings the mapping closer
to radix translation mode.

With hash 64K page size each of this region is 512TB whereas with 4K config
we are limited by the max page table range of 64TB and hence there regions
are of 16TB size.

The kernel mapping is now:

 On 4K hash

     kernel_region_map_size = 16TB
     kernel vmalloc start   = 0xc000100000000000
     kernel IO start        = 0xc000200000000000
     kernel vmemmap start   = 0xc000300000000000

64K hash, 64K radix and 4k radix:

     kernel_region_map_size = 512TB
     kernel vmalloc start   = 0xc008000000000000
     kernel IO start        = 0xc00a000000000000
     kernel vmemmap start   = 0xc00c000000000000

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2019-04-21 23:12:39 +10:00
..
api.c powerpc updates for 4.19 2018-08-17 11:32:50 -07:00
base.c Revert "cxl: Allow a default context to be associated with an external pci_dev" 2018-07-02 23:54:33 +10:00
context.c cxl: Remove abandonned capi support for the Mellanox CX4, final cleanup 2018-07-02 23:54:33 +10:00
cxl.h Merge branch 'topic/ppc-kvm' into next 2018-07-19 14:37:57 +10:00
cxllib.c powerpc/64s: Remove POWER9 DD1 support 2018-07-16 11:37:21 +10:00
debugfs.c cxl: Remove abandonned capi support for the Mellanox CX4, final cleanup 2018-07-02 23:54:33 +10:00
fault.c powerpc/mm/hash64: Map all the kernel regions in the same 0xc range 2019-04-21 23:12:39 +10:00
file.c vfs: do bulk POLL* -> EPOLL* replacement 2018-02-11 14:34:03 -08:00
flash.c misc: Convert to using %pOFn instead of device_node.name 2018-09-14 15:25:57 +02:00
guest.c cxl: Wrap iterations over afu slices inside 'afu_list_lock' 2019-01-30 23:36:53 +11:00
hcalls.c cxl: Remove unused values in bare-metal environment. 2017-04-13 23:34:28 +10:00
hcalls.h cxl: Add guest-specific code 2016-03-09 23:36:52 +11:00
irq.c cxl: Add psl9 specific code 2017-04-13 23:34:31 +10:00
Kconfig Revert "cxl: Add cxl_check_and_switch_mode() API to switch bi-modal cards" 2018-07-02 23:54:31 +10:00
main.c cxl: Fix wrong comparison in cxl_adapter_context_get() 2018-07-19 21:58:11 +10:00
Makefile Revert "cxl: Allow a default context to be associated with an external pci_dev" 2018-07-02 23:54:33 +10:00
native.c Revert "cxl: Add kernel API to allow a context to operate with relocate disabled" 2018-07-02 23:54:30 +10:00
of.c treewide: kzalloc() -> kcalloc() 2018-06-12 16:19:22 -07:00
pci.c cxl: Wrap iterations over afu slices inside 'afu_list_lock' 2019-01-30 23:36:53 +11:00
sysfs.c Merge branch 'fixes' into next 2018-06-03 20:32:02 +10:00
trace.c cxl: Add tracepoints 2015-01-22 17:31:51 +11:00
trace.h cxl: Add psl9 specific code 2017-04-13 23:34:31 +10:00
vphb.c powerpc/dma: remove set_dma_offset 2019-02-18 22:41:04 +11:00