of: unittest: 64 bit dma address test requires arch support
authorFrank Rowand <frank.rowand@sony.com>
Sun, 12 Dec 2021 22:18:52 +0000 (16:18 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 27 Jan 2022 09:54:07 +0000 (10:54 +0100)
commitdff359e04260110ac328c2bbdde3c1415f62b22f
tree87babf0a46269a0ac88a4917777251cf4540c0d1
parent918105df78b7b1306a62fa61d091f4e538b13bc9
of: unittest: 64 bit dma address test requires arch support

[ Upstream commit 9fd4cf5d3571b27d746b8ead494a3f051485b679 ]

If an architecture does not support 64 bit dma addresses then testing
for an expected dma address >= 0x100000000 will fail.

Fixes: e0d072782c73 ("dma-mapping: introduce DMA range map, supplanting dma_pfn_offset")
Signed-off-by: Frank Rowand <frank.rowand@sony.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20211212221852.233295-1-frowand.list@gmail.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/of/unittest.c