aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorWill Deacon <[email protected]>2021-07-20 14:38:23 +0100
committerKonrad Rzeszutek Wilk <[email protected]>2021-07-23 20:13:07 -0400
commit85044eb08d0a37b1b6bcb3504bfd660a85ba5b7b (patch)
tree41e7369b712f770f5bf9d97dd47ccc205198bcc4 /tools/perf/scripts/python/export-to-sqlite.py
parent868c9ddc182bc6728bb380cbfb3170734f72c599 (diff)
of: Return success from of_dma_set_restricted_buffer() when !OF_ADDRESS
When CONFIG_OF_ADDRESS=n, of_dma_set_restricted_buffer() returns -ENODEV and breaks the boot for sparc[64] machines. Return 0 instead, since the function is essentially a glorified NOP in this configuration. Cc: Claire Chang <[email protected]> Cc: Konrad Rzeszutek Wilk <[email protected]> Reported-by: Guenter Roeck <[email protected]> Suggested-by: Robin Murphy <[email protected]> Tested-by: Guenter Roeck <[email protected]> Tested-by: Claire Chang <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Link: https://lore.kernel.org/r/[email protected] Fixes: fec9b625095f ("of: Add plumbing for restricted DMA pool") Signed-off-by: Will Deacon <[email protected]> Signed-off-by: Konrad Rzeszutek Wilk <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions