From patchwork Fri Jan 27 14:47:24 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Abel Vesa X-Patchwork-Id: 647595 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0586AC38142 for ; Fri, 27 Jan 2023 14:47:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233253AbjA0Orf (ORCPT ); Fri, 27 Jan 2023 09:47:35 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55524 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232305AbjA0Ore (ORCPT ); Fri, 27 Jan 2023 09:47:34 -0500 Received: from mail-wm1-x335.google.com (mail-wm1-x335.google.com [IPv6:2a00:1450:4864:20::335]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0CA4E7EFC8 for ; Fri, 27 Jan 2023 06:47:33 -0800 (PST) Received: by mail-wm1-x335.google.com with SMTP id e19-20020a05600c439300b003db1cac0c1fso5553722wmn.5 for ; Fri, 27 Jan 2023 06:47:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=1KKJUq5WKhzjaSp+Mwo81aQ4gVmuVUpw2n+7Kp/Unuo=; b=jdR+Ko3ozAmvYFX9JLmNVn5iV4Csy6QSZG1a/YPXUY/+s0qx9oppoMcDIzS/yMXo11 cJqFXITk2Gb7eu2JCNtJIgmYbAZaNi1hXFy8qX8ipThmzZ4aLU+nCNHvz+SMb98Y3h5V GusdNp0oXBaNNfiv/fnxupM07T1MnwVeiV/XDX/FdOR5PVuJTv4f6gp+IHkcnMShxBnv aNaDCAgF1tSJJSTPwjfTS72J+dqao8PO2hKQZabvSveQ3tKnZTs0Z9ZZUKRwiuKQ1qFu YDdgCCBYsdsgWYWidcp9F6wfCwFFpOgOXVUMVzW4SalPbcKBqI9BbhgbVOe0OqEPwH1E QLkg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=1KKJUq5WKhzjaSp+Mwo81aQ4gVmuVUpw2n+7Kp/Unuo=; b=oHKao2aslJt1U67owLSgCjj0rHtiFt+gqjtnZ3UAkXy8y5q602tAbV4eNTHoTE48aI DM1BKM3GhEZOcgZxm8BUq/ZmC8mG9eWBsGXsu8/yJ4Mdf576oCgWuajJUi1KRvE44cRZ sCF1a7K7wiYi1A0FERXcTLWXJ7VeO2uQjEh/uAD6imICs7RiMNJPCOcpzpnB/K0SisHP AjnH9Gc6q7Y7jlEzbCAHdLjckofS1vYBuwrMu7zgKeErnnlQKE39EpPUHm+dCKNAPiEL 4GRMLcMiZuEdP9agBy9oiYOf7Hu7kqu11tkCrs+bSZkCu1f9lu9eamFkXNb0T3U0fTvv /otA== X-Gm-Message-State: AFqh2krtU8grBgK1VKSdRAQEtNfJsoj2eIGh6iPuzsZAGNjKdwfx4f9l 683cJJBiW1g7jOfo6jdEUC7C9A== X-Google-Smtp-Source: AMrXdXv4N0OXmz+FUj99xgWrogLlCVx4448xlj97WtMIyfMl+0CKekDVru6FDwQXvG7KAqgZYZasIQ== X-Received: by 2002:a05:600c:3c92:b0:3d3:4007:9c88 with SMTP id bg18-20020a05600c3c9200b003d340079c88mr41317427wmb.18.1674830851600; Fri, 27 Jan 2023 06:47:31 -0800 (PST) Received: from hackbox.lan ([94.52.112.99]) by smtp.gmail.com with ESMTPSA id q9-20020a05600c330900b003dc1763da37sm4656118wmp.17.2023.01.27.06.47.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Jan 2023 06:47:30 -0800 (PST) From: Abel Vesa To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Sai Prakash Ranjan , Johan Hovold Cc: linux-arm-msm@vger.kernel.org, Linux Kernel Mailing List Subject: [PATCH v2] soc: qcom: llcc: Fix slice configuration values for SC8280XP Date: Fri, 27 Jan 2023 16:47:24 +0200 Message-Id: <20230127144724.1292580-1-abel.vesa@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org These new values are now based on the latest LLCC SC table. Fixes: ec69dfbdc426 ("soc: qcom: llcc: Add sc8180x and sc8280xp configurations") Signed-off-by: Abel Vesa Acked-by: Konrad Dybcio Reviewed-by: Sai Prakash Ranjan Tested-by: Juerg Haefliger --- The v1 is here: https://lore.kernel.org/all/20230126171636.2319496-1-abel.vesa@linaro.org/ Changes since v1: * dropped the LLCC_GPU and LLCC_WRCACHE max_cap changes * took the new values from documentatio this time rather than downstream kernel drivers/soc/qcom/llcc-qcom.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/soc/qcom/llcc-qcom.c b/drivers/soc/qcom/llcc-qcom.c index 23ce2f78c4ed..26efe12012a0 100644 --- a/drivers/soc/qcom/llcc-qcom.c +++ b/drivers/soc/qcom/llcc-qcom.c @@ -191,9 +191,9 @@ static const struct llcc_slice_config sc8280xp_data[] = { { LLCC_CVP, 28, 512, 3, 1, 0xfff, 0x0, 0, 0, 0, 1, 0, 0 }, { LLCC_APTCM, 30, 1024, 3, 1, 0x0, 0x1, 1, 0, 0, 1, 0, 0 }, { LLCC_WRCACHE, 31, 1024, 1, 1, 0xfff, 0x0, 0, 0, 0, 0, 1, 0 }, - { LLCC_CVPFW, 32, 512, 1, 0, 0xfff, 0x0, 0, 0, 0, 1, 0, 0 }, - { LLCC_CPUSS1, 33, 2048, 1, 1, 0xfff, 0x0, 0, 0, 0, 1, 0, 0 }, - { LLCC_CPUHWT, 36, 512, 1, 1, 0xfff, 0x0, 0, 0, 0, 0, 1, 0 }, + { LLCC_CVPFW, 17, 512, 1, 0, 0xfff, 0x0, 0, 0, 0, 1, 0, 0 }, + { LLCC_CPUSS1, 3, 2048, 1, 1, 0xfff, 0x0, 0, 0, 0, 1, 0, 0 }, + { LLCC_CPUHWT, 5, 512, 1, 1, 0xfff, 0x0, 0, 0, 0, 0, 1, 0 }, }; static const struct llcc_slice_config sdm845_data[] = {