android_kernel_oneplus_msm8998/drivers/of
Vinayak Menon 3f9a50da4d of: alloc anywhere from memblock if range not specified
early_init_dt_alloc_reserved_memory_arch passes end as 0 to
__memblock_alloc_base, when limits are not specified. But
__memblock_alloc_base takes end value of 0 as MEMBLOCK_ALLOC_ACCESSIBLE
and limits the end to memblock.current_limit. This results in regions
never being placed in HIGHMEM area, for e.g. CMA.
Let __memblock_alloc_base allocate from anywhere in memory if limits are
not specified.

Change-Id: Ifca54781b4b2ae2ccd0a3d414a488c8888d4472f
CRs-fixed: 969426
Signed-off-by: Vinayak Menon <vinmenon@codeaurora.org>
2016-03-23 21:19:17 -07:00
..
unittest-data of/unittest: replace 'selftest' with 'unittest' 2015-03-25 00:53:29 -05:00
address.c of/address: Add new API of_iomap_by_name and of_get_address_by_name 2016-03-01 12:22:34 -08:00
base.c of: simplify arch_find_n_match_cpu_physical_id() function 2015-10-30 13:04:19 -05:00
device.c of: to support binding numa node to specified device in devicetree 2015-10-17 22:11:50 -07:00
dynamic.c of/dynamic: Fix test for PPC_PSERIES 2015-06-05 10:39:28 +09:00
fdt.c of: Always print out reserved mem details 2016-03-22 11:10:57 -07:00
fdt_address.c of/fdt: add FDT address translation support 2014-05-20 15:19:25 -05:00
irq.c of/irq: Export of_irq_find_parent again 2015-12-09 09:08:36 -06:00
Kconfig drivers: of: Add snapshot of of_slimbus driver 2016-03-23 19:58:24 -07:00
Makefile drivers: of: Add snapshot of of_slimbus driver 2016-03-23 19:58:24 -07:00
of_batterydata.c power_supply: change getting and setting power supply properties 2016-03-01 12:22:39 -08:00
of_mdio.c of_mdio: fix MDIO phy device refcounting 2015-09-24 23:04:52 -07:00
of_mtd.c of_mtd: Add helpers to get ECC strength and ECC step size 2014-03-10 22:42:28 -07:00
of_net.c of_net: factor out repetitive code from of_get_mac_address() 2015-03-29 08:56:17 +01:00
of_pci.c More power management and ACPI updates for v4.4-rc1 2015-11-12 11:50:33 -08:00
of_pci_irq.c of_pci_irq: Silence bogus "of_irq_parse_pci() failed ..." messages. 2015-09-17 14:46:11 -05:00
of_private.h of: Refactor __of_node_alloc() into __of_node_dup() 2014-11-24 22:24:41 +00:00
of_reserved_mem.c of: alloc anywhere from memblock if range not specified 2016-03-23 21:19:17 -07:00
of_slimbus.c drivers: of: Add snapshot of of_slimbus driver 2016-03-23 19:58:24 -07:00
overlay.c of/overlay: add missing of_node_put 2015-10-22 09:35:51 -05:00
pdt.c of: Eliminate of_allnodes list 2014-11-04 13:29:38 +00:00
platform.c of: platform: initialize of_reserved_mem 2016-03-22 11:07:33 -07:00
resolver.c of/resolver: Switch to new local fixups format. 2014-11-24 22:24:50 +00:00
unittest.c of/unittest: add missing of_node_put 2015-10-22 09:26:28 -05:00