Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp3816898imm; Thu, 17 May 2018 15:32:38 -0700 (PDT) X-Google-Smtp-Source: AB8JxZr6P8/4ld6rK2P361E7c5dPdYsHQvnqEJf41t6wQhv7FWednA1QUSC9J3qoozgoGEa/CDUr X-Received: by 2002:a17:902:7d09:: with SMTP id z9-v6mr7022769pll.4.1526596358751; Thu, 17 May 2018 15:32:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526596358; cv=none; d=google.com; s=arc-20160816; b=aKoeNDdArcYwwbgMoJvibo4o3mclI0Ajl8SRCFpzUw3vHkGf3n8t5v1ovJj9IcKmhU VIQtx9yHFXeQxDUMB0Tc1mJhhL/MiGJp2OjI/qSRvDN1sITMDTBbNvpThuo78lw/nhen HmU2SnCQmxX6XEmGbUDQtxToT/K2vHn3bEpRltlKZ16S2yQ68qw+pKDog29Ty0KRSOSU eMFmmm35ViRCa9BcBIWt+ethJTFexGtY0b8D83o3HB7PN/vmu46vja13Mmax7sGhug46 n1zBQgt6t1h36IA5ei8Kj9S0aARdEaw87WDN8ISRB7cmnnaqwLMcxSWGtP51qlSexgIT cbww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature :arc-authentication-results; bh=YtOyb69bWK9v7JArQdqTvMq+nln8i9KYQz+CW8vrP2U=; b=EFHcBYJ9YybVxely8d7VcSuKUHb+TMG2PyP1iv/gGF5RLiQ1OyA3NwFbW6LnbXpfTc r0FDDU9XhKxBX1LvOwmhyXcrvI/sHNlq/to8jR1A5AaSwhTY4EUvcd7cx5NJ+AFOGSSq WfPRoIhdPKSRRTYmCHpWDSfM5jaViSfXLPyueXxAi9v1xlpNviVIF7DU+zJJWEEplZPr spo9YS8wLsE17bjS3NHFws1NvsflhCgtHrw5g46un0lUmH18uHyBfJRwoJAgxCztfXll OHFlEdw//93PdDsRZKQzYhsLpYmPsYPNYib5Rlb1cNeuMQkmqwleB3fzSeHvP9VtC35D fjVg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=J3ZS26xm; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z5-v6si5850956pfh.367.2018.05.17.15.32.24; Thu, 17 May 2018 15:32:38 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=J3ZS26xm; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752056AbeEQWbg (ORCPT + 99 others); Thu, 17 May 2018 18:31:36 -0400 Received: from mail-ot0-f193.google.com ([74.125.82.193]:37201 "EHLO mail-ot0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751231AbeEQWbe (ORCPT ); Thu, 17 May 2018 18:31:34 -0400 Received: by mail-ot0-f193.google.com with SMTP id 77-v6so6916723otd.4 for ; Thu, 17 May 2018 15:31:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=YtOyb69bWK9v7JArQdqTvMq+nln8i9KYQz+CW8vrP2U=; b=J3ZS26xmb1ftraNYNNDTnJ4Npd62qu/UgxQBAvJuYljCl6XkiX/DL+vgyvwGHJXGIP GYABhRVs16ibKn4THNjUeXmKAKdKx51tbuScA32u4q+rVOWgJpoUXBZ5lx340aOa7pDA qKuoT1mhMYa/I7rG9RLoNZZTM1OtFe14AxikY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=YtOyb69bWK9v7JArQdqTvMq+nln8i9KYQz+CW8vrP2U=; b=srGFfpQnc7+6w57I6IaNz+6VSA3YPzAckRMZ6aOeBQ+N1/dy8nPPvt7m3lKkOWFuAl bUS6qTKUJXkUkFKlQqvq4+RGkXP2/Fj0/Pqt53pnMMifpkNZMA7RDKIv9HczqaSZkR09 2TIvhc3Cb8RH8uO3WyNmKYMf3uR/ZHEIJALuFUq0LOFGmcmO9LnKgCyr1vP09MzIgo4D OLxe7fuP1NW7GnxmBZjqZj6JGnwb3usX12w+jo0/2Dt/k0g29YSSMkw52vZN9RGgplub pJA95wyFvjb+W7nm+aCgNFnZCSIhqXpDvVmzKkNfMUrWZ0m0QScwsJFobZXSW05Hox/W Jyaw== X-Gm-Message-State: ALKqPwe0XT7jX2XDOiH4jtppgijcN8mQG5qlcQjGHmCr0zlVTG/uSBZM wKWNARzJIE3I1koEFtdGSEfdhh+JwY8= X-Received: by 2002:a9d:3694:: with SMTP id h20-v6mr5137294otc.176.1526596293615; Thu, 17 May 2018 15:31:33 -0700 (PDT) Received: from mail-oi0-f45.google.com (mail-oi0-f45.google.com. [209.85.218.45]) by smtp.gmail.com with ESMTPSA id x4-v6sm4683563otx.54.2018.05.17.15.31.31 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 17 May 2018 15:31:31 -0700 (PDT) Received: by mail-oi0-f45.google.com with SMTP id y15-v6so5443910oia.13 for ; Thu, 17 May 2018 15:31:31 -0700 (PDT) X-Received: by 2002:aca:4ac7:: with SMTP id x190-v6mr3985232oia.11.1526596290510; Thu, 17 May 2018 15:31:30 -0700 (PDT) MIME-Version: 1.0 References: <1526492623-20527-1-git-send-email-rishabhb@codeaurora.org> <1526492623-20527-3-git-send-email-rishabhb@codeaurora.org> In-Reply-To: <1526492623-20527-3-git-send-email-rishabhb@codeaurora.org> From: Evan Green Date: Thu, 17 May 2018 15:30:53 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v7 2/2] drivers: soc: Add LLCC driver To: rishabhb@codeaurora.org Cc: linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm@lists.infradead.org, tsoni@codeaurora.org, ckadabi@codeaurora.org, robh@kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 16, 2018 at 10:44 AM Rishabh Bhatnagar wrote: > LLCC (Last Level Cache Controller) provides additional cache memory > in the system. LLCC is partitioned into multiple slices and each > slice gets its own priority, size, ID and other config parameters. > LLCC driver programs these parameters for each slice. Clients that > are assigned to use LLCC need to get information such size & ID of the > slice they get and activate or deactivate the slice as needed. LLCC driver > provides API for the clients to perform these operations. > Signed-off-by: Channagoud Kadabi > Signed-off-by: Rishabh Bhatnagar > --- > drivers/soc/qcom/Kconfig | 17 ++ > drivers/soc/qcom/Makefile | 2 + > drivers/soc/qcom/llcc-sdm845.c | 106 ++++++++++++ > drivers/soc/qcom/llcc-slice.c | 337 +++++++++++++++++++++++++++++++++++++ > include/linux/soc/qcom/llcc-qcom.h | 180 ++++++++++++++++++++ > 5 files changed, 642 insertions(+) > create mode 100644 drivers/soc/qcom/llcc-sdm845.c > create mode 100644 drivers/soc/qcom/llcc-slice.c > create mode 100644 include/linux/soc/qcom/llcc-qcom.h Thanks Rishabh. Reviewed-by: Evan Green