Received: by 2002:ac0:e34a:0:0:0:0:0 with SMTP id g10csp627635imn; Tue, 26 Jul 2022 05:26:18 -0700 (PDT) X-Google-Smtp-Source: AGRyM1t39ghBq+4GnydcQXnjhNL+w4EGAyAITUpHBuQm8+u+GOF7Sd6TxbrDeqy2+2KiXT3Mc0ea X-Received: by 2002:a17:90b:3a8d:b0:1f2:bda7:da0d with SMTP id om13-20020a17090b3a8d00b001f2bda7da0dmr9187117pjb.102.1658838378193; Tue, 26 Jul 2022 05:26:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658838378; cv=none; d=google.com; s=arc-20160816; b=HZDrF49CWD6BSvKKGDEbQwM+nQFU+LVKCGUbUp2giCp2Uin7z5FhPPkOXl4HL7K6OB HQrva6q4LWD5VNf3H6xGoJOBGlzhur7vmjdjr4TW5oa0dM7ley5eRkNU4V/ejON6kuaQ 0gWaUs7OH+MChu7OWn+/oMJQN2d8xBtxBf+UjwEkAAr/AzChuruYsxDH3aiE8wOWXGVa g8EdXsvDrbtkzm6IwaGQfkFez7ZFUOi6axY/jqMfWJ9ha4lwxKdY4twWfUhRxswS4Y// qYTJ6p1hhiNQaNOiITE9ykt+ynhBUnU9JD7IMDVV6jsGEcPehwTG62EktBR+FgQH0pWC 5XbA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:references:cc :to:from:subject:dkim-signature; bh=Y19Fz65PlnLCYSYXGeKtni8ycM0Z52y7gynxwVIafhU=; b=Yemrz12jgLy/Pd/daWOFbXOP2O0iKEGeZtO4qGkhGRvLl4BRvFzpwB4KnLKvhe/s7S nwuoma8Dg34fomwDrPIhD6MOBgmtvDwEh6CgUXUtdPmUeTzOW2fvd9QNmk2jzhRfvx7d BGeVxtvCcBIz0Nx38jQe7jSUfYleEon/tzjO8pkM+q2w4w0m7TTfbb7MA6C04y1aYOY9 wferhsEAy6E7Fwo/5WPJLfhbQuuitv2e680lcFcFYNWpV3xZjFyiIkfkvr/mB6vyKOvN H9qod3gFYxmgJHfbgTl2DKplwmC2lAculI6Vb8BqDhps250TK0AbMyKnEwbrKiMRQE0D seDQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=tm9ArRv8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l19-20020a17090ac59300b001f2392a855esi13647532pjt.41.2022.07.26.05.26.02; Tue, 26 Jul 2022 05:26:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=tm9ArRv8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233407AbiGZMBn (ORCPT + 99 others); Tue, 26 Jul 2022 08:01:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41514 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232819AbiGZMBm (ORCPT ); Tue, 26 Jul 2022 08:01:42 -0400 Received: from alexa-out-sd-01.qualcomm.com (alexa-out-sd-01.qualcomm.com [199.106.114.38]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 79CCBBE0D; Tue, 26 Jul 2022 05:01:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1658836901; x=1690372901; h=subject:from:to:cc:references:message-id:date: mime-version:in-reply-to:content-transfer-encoding; bh=Y19Fz65PlnLCYSYXGeKtni8ycM0Z52y7gynxwVIafhU=; b=tm9ArRv8SPTzFssb5Cmd9Q5GIxfz3ewtshcsx0z2lcyFaLrlcDSfq9Er QdXx15+7S/bWxGcfuFRuvV4GaqMsTfevFwZL5DY8vRYLITms7uPjKpXjS aIsF/fImV6otHmTB8IxKtQFA0Y+DVuTWO27FL7wMV4ZBcfeNDUHLwVZb9 4=; Received: from unknown (HELO ironmsg-SD-alpha.qualcomm.com) ([10.53.140.30]) by alexa-out-sd-01.qualcomm.com with ESMTP; 26 Jul 2022 05:01:41 -0700 X-QCInternal: smtphost Received: from nasanex01c.na.qualcomm.com ([10.47.97.222]) by ironmsg-SD-alpha.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Jul 2022 05:01:40 -0700 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.986.22; Tue, 26 Jul 2022 05:01:40 -0700 Received: from [10.79.43.230] (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.986.22; Tue, 26 Jul 2022 05:01:36 -0700 Subject: Re: [PATCH 10/10] arm64: dts: qcom: sdm845: add LLCC BWMON From: Sibi Sankar To: Krzysztof Kozlowski , Steev Klimaszewski , Andy Gross , Bjorn Andersson , Konrad Dybcio , Georgi Djakov , Rob Herring , , , , CC: Rajendra Nayak References: <20220720192807.130098-1-krzysztof.kozlowski@linaro.org> <20220720192807.130098-11-krzysztof.kozlowski@linaro.org> <25673493-4171-62b0-f696-1316d115f388@kali.org> <96552a95-8939-3ac2-c9b3-14dabaf53923@linaro.org> <25321f37-dbea-188b-1b11-e983a00701b2@quicinc.com> Message-ID: <3325c626-f1af-2e95-fc53-68cf3d427a88@quicinc.com> Date: Tue, 26 Jul 2022 17:31:33 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <25321f37-dbea-188b-1b11-e983a00701b2@quicinc.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nalasex01a.na.qualcomm.com (10.47.209.196) X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 7/26/22 5:01 PM, Sibi Sankar wrote: > On 7/23/22 2:06 PM, Krzysztof Kozlowski wrote: >> On 23/07/2022 04:37, Steev Klimaszewski wrote: >>>> >>>> Currently it's 5.19.0-rc7 (torvalds tree at 4ba1329c) with a few extra >>>> patches on top, the bwmon set included.  It's possible that secure >>>> world uses it, but I do not know enough about that to say one way or >>>> the other. >> >> To test patches you should apply them on maintainer's tree or >> linux-next. Applying on other trees of course might be useful for >> testing some backports, but it is independent process and different >> issue. >> >>>> >>>> -- steev >>>> >>> I think you may be right; I just applied this patchset to -next >>> (20220722) and i do not see the error message there.  On my 5.19-rc7 >>> tree, i am also testing a patchset that enables qcom devices to access >>> efivars, so possibly we are ending up in secure world there? >> >> Actually mapping of IO space should not touch secure world, so this was >> a long shot assuming you test it on the next. >> > > The memory region specified in device tree overlaps with the llcc system > cache controller node. Steev probably had the QCOM_LLCC config enabled > when he tested it out on his branch. From what I see we can probably get away with restricting the llcc_base reg region to just llcc0_common region and leave the lcc-bwmon as is. > >> >> Best regards, >> Krzysztof >>