[PATCH v3 08/16] pci: coreboot: Don't read regions when booting

Bin Meng bmeng.cn at gmail.com
Thu May 4 15:18:41 CEST 2023


On Sun, Apr 2, 2023 at 6:52 PM Christian Gmeiner
<christian.gmeiner at gmail.com> wrote:
>
> >
> > When U-Boot is the second-stage bootloader, PCI is already set up. We
> > cannot read the regions from the device tree. There is no point anyway,
> > since PCI devices have already been allocated according to the regions
> > and it is not safe for U-Boot to make any changes.
> >
> > Signed-off-by: Simon Glass <sjg at chromium.org>
> > Reviewed-by: Bin Meng <bmeng.cn at gmail.com>
>
> Tested-by: Christian Gmeiner <christian.gmeiner at gmail.com>
>
> This fixes a regression that got introduced with f2ebaaa9f3 ("pci:
> Handle failed calloc in decode_regions()")
>
> For more details see:
> https://lore.kernel.org/all/20220519164830.3934669-1-ptosi@google.com/T/#m9f89006c3cd36fd0b4f3856e92328ea39206898c
>

Fixes: f2ebaaa9f38d ("pci: Handle failed calloc in decode_regions()")


More information about the U-Boot mailing list