From nobody Thu Dec 18 22:36:24 2025 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B4B3A1C9EAA; Wed, 19 Mar 2025 14:26:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1742394373; cv=none; b=Ls9MwgIy/2wpWQtCZIQbj2MSWsVzr47qFaCliF4jHp7z5Wu3MLduLkbEs7keE0aewa+eEXmbP0DmEnR4Zmez1PE3A/boa/FcvssEVNjMctlpR7xPJ7brzY8k4bOhFLuuvWAK9EMAto7SiljlXkALsDZ5SbXTNH85bHa5ssMVPW4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1742394373; c=relaxed/simple; bh=felFitzAfVwGDg+nw420Ie8NgeeaGNR7lMYUTvtD8SA=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=bOQFz4BdY6D+bDbNdMYUuW6eV5fLGfqiaYvFshQQt8aWIvOsvpjFBl5JATd8I7WkAxXPd5q0dQprB1D3Gg/rpRxZbVG7ob2AKC1y7hbwcXxqSNDTpa4cHGUBhCBM6XxHtkcY1CdfwejJixPiRk9TZzQY9XZS9TVKglmmncw6rpY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=ULh2ca0C; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="ULh2ca0C" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0D864C4CEE8; Wed, 19 Mar 2025 14:26:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1742394373; bh=felFitzAfVwGDg+nw420Ie8NgeeaGNR7lMYUTvtD8SA=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=ULh2ca0CQyIzCwUKHiakRPqW1dY2NdSmwGXV5vrg7EyjxhxIJrQKHHznonfmfmg4A 55da4VnQMFJYoYMbDyxM7vtqr2Gh4i7J4O6C2NdwP3Jtn1XenkY4V9Tk3oqISFO/14 gMCag3egjrKdpOB3V02rHlX5wv/aICRe3zTWFTMwLZ67FxI7zPjHPZIUU363HSe2yv anRmZ4wJX1AGl9MDCQ807QeZHxyfmMtyTRDZcez88Awdld1Fs6RLkSqwSe+G5tgZWN oY7jDgp4m5TlSlI+UuzUjR2RD4ZdWQ0//zkr19HY+k1SVnWY2XAmh28E+BYsPmDN7r NNK/Qq8YlJdag== From: Konrad Dybcio Date: Wed, 19 Mar 2025 15:25:57 +0100 Subject: [PATCH 1/2] of: address: Expand nonposted-mmio to non-Apple Silicon platforms Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20250319-topic-nonposted_mmio-v1-1-dfb886fbd15f@oss.qualcomm.com> References: <20250319-topic-nonposted_mmio-v1-0-dfb886fbd15f@oss.qualcomm.com> In-Reply-To: <20250319-topic-nonposted_mmio-v1-0-dfb886fbd15f@oss.qualcomm.com> To: Rob Herring , Saravana Kannan Cc: Bjorn Andersson , Melody Olvera , Marijn Suijten , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1742394367; l=1022; i=konrad.dybcio@oss.qualcomm.com; s=20230215; h=from:subject:message-id; bh=kRSnoBpvWDoY+tUUEVYLHvYCbHYustA1YR/PxkJVib8=; b=tzrLllFMNO1tAVV7igQDQn687UgZfZnwzqCC1cUBZSDdD6hbukdAVwG3QyVNx3OsdfymDKmQR B6AiUrQyNNzCzH7HJnIvO1+cIak/bkB142NaUQnfDm7Jru3BTajuKr8 X-Developer-Key: i=konrad.dybcio@oss.qualcomm.com; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= From: Konrad Dybcio 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 --- drivers/of/address.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/drivers/of/address.c b/drivers/of/address.c index d177a2b9edaf8de28b1b132156e9a951763c4e79..2041ea112ded70e11d3831b4039= 01c36c8c29a93 100644 --- a/drivers/of/address.c +++ b/drivers/of/address.c @@ -1031,15 +1031,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) =3D of_get_parent(np); if (!parent) return false; --=20 2.48.1