diff options
| author | Huacai Chen <[email protected]> | 2018-11-10 03:50:14 +0000 |
|---|---|---|
| committer | Paul Burton <[email protected]> | 2018-11-12 19:36:58 +0000 |
| commit | 25517ed4e99b3be4244dfd61d1e5c753b09faf2c (patch) | |
| tree | 796674ecc7f5a8747645a1f4b7b67bb263c268b0 /lib/xarray.c | |
| parent | MIPS: OCTEON: cavium_octeon_defconfig: re-enable OCTEON USB driver (diff) | |
| download | kernel-25517ed4e99b3be4244dfd61d1e5c753b09faf2c.tar.gz kernel-25517ed4e99b3be4244dfd61d1e5c753b09faf2c.zip | |
MIPS: Let early memblock_alloc*() allocate memories bottom-up
After switched to NO_BOOTMEM, there are several boot failures. Some of
them have been fixed and some of them haven't. I find that many of them
are because of memory allocations are top-down, while the old behavior
is bottom-up. This patch let early memblock_alloc*() allocate memories
bottom-up to avoid some potential problems.
Signed-off-by: Huacai Chen <[email protected]>
Signed-off-by: Paul Burton <[email protected]>
Fixes: bcec54bf3118 ("mips: switch to NO_BOOTMEM")
Patchwork: https://patchwork.linux-mips.org/patch/21069/
References: https://patchwork.linux-mips.org/patch/21031/
Cc: Ralf Baechle <[email protected]>
Cc: James Hogan <[email protected]>
Cc: Steven J . Hill <[email protected]>
Cc: [email protected]
Cc: Fuxin Zhang <[email protected]>
Cc: Zhangjin Wu <[email protected]>
Diffstat (limited to 'lib/xarray.c')
0 files changed, 0 insertions, 0 deletions
