Commits

Fabio Estevam committed b21d979625d
of: Allow NXP 4.1 kernel to allocate memory on 2GiB RAM boards On imx6 boards with 2GiB of RAM we have several allocation errors due to low available vmalloc size such as: DMA: failed to allocate 100 KiB pool for atomic coherent allocation imx-sdma: probe of 20ec000.sdma failed with error -12 fec: probe of 2188000.ethernet failed with error -12 This problem does not happen with the original 4.1.15_GA release, but starting in 4.1.22 with commit 444cf5487d5f51a ("of: alloc anywhere from memblock if range not specified") such boards fail to allocate memory. There is no issue with 444cf5487d5f51a ("of: alloc anywhere from memblock if range not specified") itself, but it is incompatible with the way NXP kernel uses to allocate memory. To be on the conservative side, let's simply revert such commmit while an official fix comes from NXP when they upgrade their 4.1 kernel to something newer than 4.1.22. Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>