[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] device_tree: check device tree blob file size
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] [PATCH] device_tree: check device tree blob file size |
Date: |
Mon, 25 Mar 2019 10:38:36 +0000 |
On Mon, 25 Mar 2019 at 10:34, P J P <address@hidden> wrote:
> IMO, generic 2MB of dtb size limit is reasonable; Considering 64KB is the max
> we are seeing, plus QEMU has FDT_MAX_SIZE defined to be 0x100000(~1MB), and
> noone has complained that it's too small.
Noone has complained that it's too small because right now
*we do not check against it* for the common case of "just
load an external dtb".
We should not be imposing an arbitrary limit within QEMU
if we don't need to. Here, we do not need to.
thanks
-- PMM