From: Tom Rini Date: Tue, 3 May 2022 22:33:46 +0000 (-0400) Subject: Merge branch '2022-05-03-virtio-pci-add-and-fix-consistency-checks' X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=46eb29201c17e1273d1cabeafde378b0759c0d7d;p=u-boot.git Merge branch '2022-05-03-virtio-pci-add-and-fix-consistency-checks' To quote the author: The virtio PCI drivers forgo a number of consistency checks, particularly around pointer validation and bounds checking. This series focuses on the modern driver to add those checks. The start of the series adds and fixes some basic bounds checks. Later patches ensure PCI addresses fall within the expected regions rather than any arbitrary address. This is acheived by introducing range parameters to a few of the dm_pci_* functions that allow the ranges to be checked. The series also adds a few new configs to allow parts of virtio and PCI to be disabled where the features may be unused and the current implementations don't have the needed consistencty checks. --- 46eb29201c17e1273d1cabeafde378b0759c0d7d