Skip to content
Commit a8314950 authored by This contributor prefers not to receive mails's avatar This contributor prefers not to receive mails Committed by Stefan Roese
Browse files

arm: a37xx: pci: Extend validation for PCIe resources and oubound windows



Remapped address of PCIe outbound window may have set only bits from the
mask. Add additional check that remapped address which is calculated from
PCIe bus address specified in DTS file is valid.

Remove also useless clearing of low 16 bits in win_mask. As win_size is
power of two and is at least 0x10000 it means that it always has zero low
16 bits.

Signed-off-by: default avatarPali Rohár <pali@kernel.org>
Reviewed-by: default avatarKonstantin Porotchkin <kostap@marvell.com>
Reviewed-by: default avatarStefan Roese <sr@denx.de>
parent c11f5abc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment