diff options
author | Konrad Dybcio <konrad.dybcio@oss.qualcomm.com> | 2025-03-19 15:25:57 +0100 |
---|---|---|
committer | Rob Herring (Arm) <robh@kernel.org> | 2025-03-21 11:27:56 -0500 |
commit | 7f623466b690a6da5b9b9fc821c8bffe11fea5ff (patch) | |
tree | 9e329b51b46ae9546b1591ac566ec5cfe3d7fbe7 | |
parent | 18d00558e89239e5c9a676341568b1ed6ecd4235 (diff) |
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 <konrad.dybcio@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20250319-topic-nonposted_mmio-v1-1-dfb886fbd15f@oss.qualcomm.com
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
-rw-r--r-- | drivers/of/address.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/of/address.c b/drivers/of/address.c index 125833e5ce52..0ed35a4f9205 100644 --- a/drivers/of/address.c +++ b/drivers/of/address.c @@ -1028,15 +1028,9 @@ EXPORT_SYMBOL_GPL(of_dma_is_coherent); * * Returns true if the "nonposted-mmio" property was found for * the device's bus. - * - * This is currently only enabled on builds that support Apple ARM devices, as - * an optimization. */ static bool of_mmio_is_nonposted(const struct device_node *np) { - if (!IS_ENABLED(CONFIG_ARCH_APPLE)) - return false; - struct device_node *parent __free(device_node) = of_get_parent(np); if (!parent) return false; |