From patchwork Fri Jan 28 07:47:07 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sai Prakash Ranjan X-Patchwork-Id: 12728057 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 200C4C433EF for ; Fri, 28 Jan 2022 07:48:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:CC :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=xvVBW9ZKzVgpqL/su2qInqNVDG2DSt/nxpJtL0T5xKE=; b=FCIp/B4B8JTOjo rOKkSRcd1cd0M4M50rrBL5szXVxkIXKzFQUnE+yoUPzvZb32bakzf3RMYm5QUASjsF5w60AlOLpP7 IzJB2rZCRNaXwhcDn4c886WH8HI+/jKg1kqmki2GPLI632o1fIGUmgeiKdtCtCTl7j3FV128hbhAg E1WUdTW8gHbepvJmQxS0L77CQdHSmo97tvzjWD6hy3rYRZUeCM0Mwpi3pkCAzG5TC+bhRCZWU/1yS LsVo8aSqpOKYdd4Ko6dhZjS6wknwycfG3aaSB02dIqiAucNdnQKw3gqcxagotWB1MwFKnHpOoQgiS frbvwfIdMKVoSD7Zoieg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nDLyt-000rGj-Gj; Fri, 28 Jan 2022 07:47:39 +0000 Received: from alexa-out.qualcomm.com ([129.46.98.28]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nDLyq-000rFk-83 for linux-arm-kernel@lists.infradead.org; Fri, 28 Jan 2022 07:47:37 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1643356056; x=1674892056; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=c9Am6qH8JLyj1WRxdU6JExADb+ukurj3xhJlMoIyOTM=; b=Xh0JbzjtTZIkn68ptpLXM3U3LzAVJf2ei9/MunKuHhQlZC5WzkyoR06J tkZ7qSeBKCqSvC47tuTwcKP/b/JD9fv5GpLXsqNnO7YOUCep0N1A7i7k1 sv8hOgPDcb/dFFLjF07dclfsGQyjkHx6H9kP01Dah9+ddlqSP/CRpCY1d E=; Received: from ironmsg08-lv.qualcomm.com ([10.47.202.152]) by alexa-out.qualcomm.com with ESMTP; 27 Jan 2022 23:47:36 -0800 X-QCInternal: smtphost Received: from nasanex01c.na.qualcomm.com ([10.47.97.222]) by ironmsg08-lv.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Jan 2022 23:47:35 -0800 Received: from nalasex01a.na.qualcomm.com (10.47.209.196) by nasanex01c.na.qualcomm.com (10.47.97.222) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.922.19; Thu, 27 Jan 2022 23:47:35 -0800 Received: from blr-ubuntu-253.qualcomm.com (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.922.19; Thu, 27 Jan 2022 23:47:31 -0800 From: Sai Prakash Ranjan To: Andy Gross , Bjorn Andersson CC: , , , , Vinod Koul , Manivannan Sadhasivam , Rajendra Nayak , Prasad , Sai Prakash Ranjan Subject: [PATCHv2 0/9] soc: qcom: llcc: Add LLCC support for SM8450 SoC Date: Fri, 28 Jan 2022 13:17:07 +0530 Message-ID: X-Mailer: git-send-email 2.33.1 MIME-Version: 1.0 X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01a.na.qualcomm.com (10.47.209.196) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220127_234736_352639_E2FC0093 X-CRM114-Status: GOOD ( 10.09 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This patch series adds support for LLCC on SM8450 SoC. It mainly consists of LLCC driver changes to incorporate newer LLCC HW found on SM8450 SoC and the corresponding DT bits to enable LLCC. Based on qcom/for-next branch. Changes in v2: * Fix version assignment to drv_data. Huang Yiwei (1): soc: qcom: llcc: Add support for 16 ways of allocation Sai Prakash Ranjan (8): soc: qcom: llcc: Update the logic for version info extraction soc: qcom: llcc: Add write-cache cacheable support soc: qcom: llcc: Add missing llcc configuration data soc: qcom: llcc: Update register offsets for newer LLCC HW soc: qcom: llcc: Add configuration data for SM8450 SoC dt-bindings: arm: msm: Add LLCC compatible for SM8350 dt-bindings: arm: msm: Add LLCC compatible for SM8450 arm64: dts: qcom: sm8450: Add LLCC/system-cache-controller node .../bindings/arm/msm/qcom,llcc.yaml | 2 + arch/arm64/boot/dts/qcom/sm8450.dtsi | 7 ++ drivers/soc/qcom/llcc-qcom.c | 102 +++++++++++++++--- include/linux/soc/qcom/llcc-qcom.h | 9 +- 4 files changed, 105 insertions(+), 15 deletions(-) Tested-by: Vinod Koul