From patchwork Sat Dec 7 14:04:26 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 13898274 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 61A5428F5; Sat, 7 Dec 2024 14:04:34 +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=1733580274; cv=none; b=QBrGBFWDk9pfKPF5xvqEKXsFRRoBc9uxLNBFgkhtE+xog49oFHj9azkmtEvXdwtSGGx7i1bz9TgyyMCVvHLCPKsfi0qQZLrZOlA1gpEQ0z3pPKGJ9ejxDI2GnwuW/11OqK7+hOooq+8nNYOt8sNQ6RtmXgytOq+1aY+OA1eUXzA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733580274; c=relaxed/simple; bh=983SQaU9rtEGbsfPFkWj2Mfmr4vVZCxgYGPpaXZg2Qc=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:To:Cc; b=eD584CLhnobmCT7zpxrDYDQ82IRP2rpFxoiJZFzfVT9xi+iBae4Oz8C8Rj0KApRhnW6MEMnC2Y4eooaPHeuf55pA8jsVa7PuvbXqfH8ScP/8fhvRNXUk2kzq9lJlwpz4Fb512NsC7S/zqMem6UY89FPlVkjyAEeJQTrYAkQffXs= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=FvhtIjkf; 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="FvhtIjkf" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E526FC4CECD; Sat, 7 Dec 2024 14:04:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1733580273; bh=983SQaU9rtEGbsfPFkWj2Mfmr4vVZCxgYGPpaXZg2Qc=; h=From:Date:Subject:To:Cc:From; b=FvhtIjkf4uRHmX5/JQ88pBlmJjzq7SFGNIQlRorP7Ra10BReVqJp7nzkXeREBSATk LfoImvQF2LmE6uZtEd4NqzdzlhcCcxo1k9081tfKoSb52MlASoxTlPegYcQ6bRoLqO 2e96Jj7EaFtnBQnQKF8lopR+qkyIWGv5pCwoxA6BShUWlidKU02VbVXXgbamxKUVYi oD1orjZQasqTbm3pwMXVmsYd9p87X2sQWpewV+6ZGZLVvhjQsBnUC8nKHY3p2EkgV+ S9+ZksICyoPYPhltNdS00zKm5THIsuryOPu6uSlm34S69P7QGnPBt62GistKgXPk+Y m2FR5TlT84uAQ== From: Konrad Dybcio Date: Sat, 07 Dec 2024 15:04:26 +0100 Subject: [PATCH] soc: qcom: llcc: Enable LLCC_WRCACHE at boot on X1 Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20241207-topic-llcc_x1e_wrcache-v1-1-232e6aff49e4@oss.qualcomm.com> X-B4-Tracking: v=1; b=H4sIAOlVVGcC/x3MQQqAIBBA0avIrBNGi4SuEiExTTUgFhoVRHdPW r7F/w9kTsIZOvVA4lOybLHAVApoHePCWqZisGgbY9HpY9uFdAhE/jbsr0QjrazbxqFDtpOpEUq 8J57l/sf98L4fuoNEv2gAAAA= X-Change-ID: 20241207-topic-llcc_x1e_wrcache-647070e2d130 To: Bjorn Andersson , Konrad Dybcio , Sibi Sankar , Bryan O'Donoghue , Rajendra Nayak Cc: Marijn Suijten , linux-arm-msm@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=1733580270; l=948; i=konrad.dybcio@oss.qualcomm.com; s=20230215; h=from:subject:message-id; bh=AJDCtKjCaC1zSG6+EVFpuNHfeia13SCSkoBrVHutuog=; b=9eltFICYAwn27f+NKH6pDXsDDp/OU3U4q+hMKAJvBLLT5chdv07b/sA/En1c6VcS0PpQmgc8P grCiVliSG5SDa+Oe1Z7GuHAqElOPop8MDakScWQ4f3VIWHo4Kv8h4UN X-Developer-Key: i=konrad.dybcio@oss.qualcomm.com; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= From: Konrad Dybcio Do so in accordance with the internal recommendations. Fixes: b3cf69a43502 ("soc: qcom: llcc: Add configuration data for X1E80100") Signed-off-by: Konrad Dybcio Reviewed-by: Rajendra Nayak --- drivers/soc/qcom/llcc-qcom.c | 1 + 1 file changed, 1 insertion(+) --- base-commit: ebe1b11614e079c5e366ce9bd3c8f44ca0fbcc1b change-id: 20241207-topic-llcc_x1e_wrcache-647070e2d130 Best regards, diff --git a/drivers/soc/qcom/llcc-qcom.c b/drivers/soc/qcom/llcc-qcom.c index 32c3bc887cefb87c296e3ba67a730c87fa2fa346..1560db00a01248197e5c2936e785a5ea77f74ad8 100644 --- a/drivers/soc/qcom/llcc-qcom.c +++ b/drivers/soc/qcom/llcc-qcom.c @@ -3004,6 +3004,7 @@ static const struct llcc_slice_config x1e80100_data[] = { .fixed_size = true, .bonus_ways = 0xfff, .cache_mode = 0, + .activate_on_init = true, }, { .usecase_id = LLCC_CAMEXP0, .slice_id = 4,