Commit 98a3765
Pack final DTB unconditionally
QEMU currently packs the DTB only when binfo->get_dtb is set.
This covers QEMU-generated DTBs, but can miss DTBs supplied with
-dtb.
The DTB may still be modified after it is loaded, for example when
QEMU adds PSCI data or applies board-specific DTB updates. Pack the
final DTB after those modifications so both generated and user-supplied
DTBs are compacted before being installed into guest memory.1 parent 5aa527c commit 98a3765
1 file changed
Lines changed: 5 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
640 | 640 | | |
641 | 641 | | |
642 | 642 | | |
643 | | - | |
644 | | - | |
645 | | - | |
646 | | - | |
647 | | - | |
648 | | - | |
| 643 | + | |
| 644 | + | |
| 645 | + | |
| 646 | + | |
| 647 | + | |
649 | 648 | | |
650 | 649 | | |
651 | 650 | | |
| |||
0 commit comments