u-boot/drivers
Andrew Scull 398dc367c5 pci: Range check address conversions
When converting between PCI bus and physical addresses, include a length
parameter that can be used to check that the entire range fits within
one of the PCI regions. This prevents an address being returned that
might be only partially valid for the range it is going to be used for.

Where the range check is not wanted, passing a length of 0 will have the
same behaviour as before this change.

Signed-off-by: Andrew Scull <ascull@google.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
2022-05-03 15:50:45 -04:00
..
adc adc: meson-saradc: add AXG variant 2022-04-25 09:25:00 +02:00
ata ahci: add PCI bindings for Marvell 88SE6121/45 SATA controllers 2022-04-11 15:03:29 -04:00
axi WS cleanup: remove trailing empty lines 2021-09-30 08:08:56 -04:00
bios_emulator pci: Drop DM_PCI check from bios_emul 2021-08-05 19:46:35 -04:00
block vpl: Add Kconfig options for VPL 2022-05-02 09:58:13 -04:00
bootcount Prepare v2022.04-rc5 2022-03-28 12:36:49 -04:00
bus bus: ti-sysc: change in a normal driver 2021-03-22 19:23:27 +13:00
button button: adc: set state to pressed when the voltage is closest to nominal 2022-02-11 09:00:47 -05:00
cache cache: sifive: Fix -Wint-to-pointer-cast warning 2021-10-20 10:59:09 +08:00
clk vpl: Add Kconfig options for VPL 2022-05-02 09:58:13 -04:00
core vpl: Add Kconfig options for VPL 2022-05-02 09:58:13 -04:00
cpu cpu: 83xx: Add missing dependency on CPU_MPC83XX 2022-04-26 17:18:39 +05:30
crypto crypto/fsl: add invalidate_dcache_range for hash output buffer 2022-04-21 15:18:25 +02:00
ddr ddr: fsl: Allow to compile it without env support 2022-04-26 17:18:39 +05:30
demo demo: migrate uclass to livetree 2021-10-05 08:50:15 -04:00
dfu DFU: Check the number of arguments and argument string strictly 2022-02-11 11:29:23 -05:00
dma dma: bcm6348: Don't check clk_free 2022-03-30 13:02:55 -04:00
fastboot fastboot: only look up real partition names when no alias exists 2022-01-28 11:30:39 -05:00
firmware firmware: firmware-zynqmp: Add zynqmp_pm_set_gem_config api 2022-04-05 15:13:13 +02:00
fpga arm: socfpga: arria10: Enable double peripheral RBF configuration 2021-12-17 12:58:01 +08:00
gpio vpl: Add Kconfig options for VPL 2022-05-02 09:58:13 -04:00
hwspinlock treewide: invaild -> invalid 2022-01-13 07:57:49 -05:00
i2c vpl: Add Kconfig options for VPL 2022-05-02 09:58:13 -04:00
input input: apple: Add support for Apple SPI keyboard 2022-02-10 16:44:23 -05:00
iommu iommu: Add M1 Pro/Max support to Apple DART driver 2022-02-21 08:35:40 -05:00
led led: Drop led_default_state() 2022-04-28 09:26:44 -04:00
mailbox mailbox: apple: Add driver for Apple IOP mailbox 2022-02-10 16:44:23 -05:00
memory keystone2: Move CONFIG_AEMIF_CNTRL_BASE out of CONFIG namespace 2021-09-27 21:38:34 -04:00
misc vpl: Add Kconfig options for VPL 2022-05-02 09:58:13 -04:00
mmc Merge https://gitlab.denx.de/u-boot/custodians/u-boot-mpc85xx 2022-04-27 09:19:41 -04:00
mtd mtd: nand: raw: Add support for DT property nand-ecc-algo=bch 2022-04-26 17:18:39 +05:30
mux treewide: invaild -> invalid 2022-01-13 07:57:49 -05:00
net net: marvell: mvgbe: Set PHY page 0 before phy_connect 2022-05-02 07:47:26 +02:00
nvme nvme: call device_probe() after scanning 2022-04-09 21:06:31 +02:00
pch treewide: Simply conditions with the new OF_REAL 2021-09-25 09:46:15 -06:00
pci pci: Range check address conversions 2022-05-03 15:50:45 -04:00
pci_endpoint dm: define LOG_CATEGORY for all uclass 2021-07-06 10:38:03 -06:00
phy phy: phy-imx8mq-usb: Add support for i.MX8MP USB PHY 2022-04-12 17:33:56 +02:00
pinctrl vpl: Add Kconfig options for VPL 2022-05-02 09:58:13 -04:00
power x86: sandbox: Add missing PCI bar to barinfo 2022-04-29 11:11:36 -04:00
pwm driver: pwm: pwm-imx: separe dm from non dm implementation 2022-04-12 19:10:44 +02:00
qe configs: fsl: migrate FMAN/QE specific defines to Kconfig 2021-11-09 17:18:23 +05:30
ram ram: k3-ddrss: Allow use of dt provided initial frequency 2022-04-20 11:14:39 -04:00
reboot-mode reboot-mode: migrate uclass to livetree 2021-10-05 08:50:15 -04:00
remoteproc remoteproc: ipu: Add driver to bring up ipu 2022-02-08 11:00:03 -05:00
reset scmi: change parameter dev in devm_scmi_process_msg 2022-03-02 17:42:06 -05:00
rng rng: add OP-TEE based Random Number Generator 2022-04-11 10:28:04 -04:00
rtc vpl: Add Kconfig options for VPL 2022-05-02 09:58:13 -04:00
scsi scsi: call device_probe() after scanning 2022-04-09 21:06:31 +02:00
serial vpl: Add Kconfig options for VPL 2022-05-02 09:58:13 -04:00
smem dm: define LOG_CATEGORY for all uclass 2021-07-06 10:38:03 -06:00
soc soc: soc_ti_k3: update j721e revision numbering 2022-02-08 09:41:27 -05:00
sound sound: Fix buffer overflow in square wave generation 2022-04-29 11:11:36 -04:00
spi spi: atmel-quadspi: Fix the buswidth adjustment between spi-mem and controller 2022-04-26 09:54:41 +03:00
spmi spmi: msm: add arbiter version 5 support 2021-10-31 08:46:44 -04:00
sysinfo sysinfo: rcar3: Add Renesas R-Car Gen3 sysinfo driver 2021-07-20 23:33:54 +02:00
sysreset vpl: Add Kconfig options for VPL 2022-05-02 09:58:13 -04:00
tee tee: optee: bind rng optee driver 2022-04-11 10:28:04 -04:00
thermal WS cleanup: remove SPACE(s) followed by TAB 2021-09-30 09:08:16 -04:00
timer vpl: Add Kconfig options for VPL 2022-05-02 09:58:13 -04:00
tpm vpl: Add Kconfig options for VPL 2022-05-02 09:58:13 -04:00
ufs dm: define LOG_CATEGORY for all uclass 2021-07-06 10:38:03 -06:00
usb usb: sandbox: Bounds check read from buffer 2022-04-29 11:11:36 -04:00
video rockchip: video: mipi: add more compatible strings for rk3288/rk3399 2022-04-18 11:25:13 +08:00
virtio virtio: pci: Read entire capability into memory 2022-05-03 15:50:45 -04:00
w1 arm: Remove zmx25 board and ARCH_MX25 2021-10-01 21:08:18 -04:00
w1-eeprom dm: define LOG_CATEGORY for all uclass 2021-07-06 10:38:03 -06:00
watchdog nds32: Remove the architecture 2022-04-25 16:04:05 -04:00
xen WS cleanup: remove trailing empty lines 2021-09-30 08:08:56 -04:00
Kconfig iommu: Add IOMMU uclass 2021-10-31 08:46:44 -04:00
Makefile Introduce Verifying Program Loader (VPL) 2022-05-02 09:58:13 -04:00