mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-15 15:04:27 +08:00
003e6b56d7
According to the ARM IORT specifications DEN 0049 issue E,
the "Number of IDs" field in the ID mapping format reports
the number of IDs in the mapping range minus one.
In iort_node_get_rmr_info(), we erroneously skip ID mappings
whose "Number of IDs" equal to 0, resulting in valid mapping
nodes with a single ID to map being skipped, which is wrong.
Fix iort_node_get_rmr_info() by removing the bogus id_count
check.
Fixes:
|
||
---|---|---|
.. | ||
agdi.c | ||
apmt.c | ||
dma.c | ||
gtdt.c | ||
init.c | ||
init.h | ||
iort.c | ||
Kconfig | ||
Makefile |