diff options
author | Andrew Scull | 2022-04-21 16:11:11 +0000 |
---|---|---|
committer | Tom Rini | 2022-05-03 18:33:26 -0400 |
commit | 7739d93d8288d9b58946ff5c5e46fb9e89599886 (patch) | |
tree | 9b288afc525d82917979763b2d415d8973d78632 /arch | |
parent | 12507a2d2269f36d16232d78ec15e861d3fff2d7 (diff) |
pci: Match region flags using a mask
When converting addresses, apply a mask to the region flags during
lookup. This allows the caller to specify which flags are important and
which are not, for example to exclude system memory regions.
The behaviour of the function is changed such that they don't
preferentially search for a non-system memory region. However, system
memory regions are added after other regions in decode_regions() leading
to a similar outcome.
Signed-off-by: Andrew Scull <ascull@google.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions