Searched hist:"5 e57c6c5" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/net/ipa/ |
H A D | ipa_mem.c | 5e57c6c5 Wed Jun 09 17:34:57 CDT 2021 Alex Elder <elder@linaro.org> net: ipa: separate region range check from other validation
The only thing done by ipa_mem_valid_one() that requires hardware access is the check for whether all regions fit within the size of IPA local memory specified by an IPA register.
Introduce ipa_mem_size_valid() to implement this verification and stop doing so in ipa_mem_valid_one(). Call the new function from ipa_mem_config() (which is also the caller of ipa_mem_valid()).
Signed-off-by: Alex Elder <elder@linaro.org> Signed-off-by: David S. Miller <davem@davemloft.net>
|