On 2020-02-28 8:34 pm, Jonathan Richardson wrote:
On Fri, Feb 28, 2020 at 12:16 PM Nicolas Saenz Julienne
<nsaenzjulienne@xxxxxxx> wrote:
On Fri, 2020-02-28 at 11:56 -0800, Jonathan Richardson wrote:
This is stingray (arch/arm64/boot/dts/broadcom/stingray/bcm958742k.dts).
cma is specified on cmdline as "cma=1G". The full boot log was in the
attachment.
Would you mind attaching it again, I was added to the conversation later.
Sure, it is attached. Thanks for taking a look. This is a boot with
"arch/arm64/configs/defconfig" and the previously mentioned dtb.
[ 0.000000] efi: SMBIOS=0x85c90000 SMBIOS 3.0=0x85a20000 ACPI
2.0=0x85d50000 MEMATTR=0x8945e118 MEMRESERVE=0x85f85018
[ 0.000000] crashkernel reserved: 0x00000000e0000000 -
0x0000000100000000 (512 MB)
[ 0.000000] cma: Reserved 1024 MiB at 0x00000000a0000000
...
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x0000000080000000-0x00000000bfffffff]
[ 0.000000] DMA32 [mem 0x00000000c0000000-0x00000000ffffffff]
Well there's your problem - both zones are only nominally 1GB to begin
with, and both have stuff in them before we even get to placing CMA. To
be honest, even without ZONE_DMA that looks pretty tight.
Robin.