Skip to content

Commit 7f62346

Browse files
quic-kdybciorobherring
authored andcommitted
of: address: Expand nonposted-mmio to non-Apple Silicon platforms
The nE memory attribute may be utilized by various implementations, not limited to Apple Silicon platforms. Drop the early CONFIG_ARCH_APPLE check. Signed-off-by: Konrad Dybcio <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Rob Herring (Arm) <[email protected]>
1 parent 18d0055 commit 7f62346

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

drivers/of/address.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1028,15 +1028,9 @@ EXPORT_SYMBOL_GPL(of_dma_is_coherent);
10281028
*
10291029
* Returns true if the "nonposted-mmio" property was found for
10301030
* the device's bus.
1031-
*
1032-
* This is currently only enabled on builds that support Apple ARM devices, as
1033-
* an optimization.
10341031
*/
10351032
static bool of_mmio_is_nonposted(const struct device_node *np)
10361033
{
1037-
if (!IS_ENABLED(CONFIG_ARCH_APPLE))
1038-
return false;
1039-
10401034
struct device_node *parent __free(device_node) = of_get_parent(np);
10411035
if (!parent)
10421036
return false;

0 commit comments

Comments
 (0)