From mboxrd@z Thu Jan 1 00:00:00 1970 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 0C7A9C001B0 for ; Mon, 14 Aug 2023 16:14:28 +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-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:From:References:CC:To:Subject: MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=pqHflfELSX/tpSv7kb0RVNXtaCHUiyGwe7l71Gw8UqM=; b=Ch5SRCjdZ23smx cZ2RF0b/Ks2Sj7H3LSLnSZnhrMLKn1OWzv6dbhR8ExLlzIS4Zn1NDZfKL3c6OLuHUNVt3M3c6RpFi D0CvVQs7HQd+JT9cB+JOIo95dNJoWb5eUjcKEVz+/RF5IE0kmuv3HCHl51wHGrph4Go6eS4wHW9LP 2LeqR9AHjwzVYGFXcCYhHmptXcyGQpjQWayIAUMIH9jzzSikxuHDDWkkON2/3Grzk4wM0wzAQ3in+ F9gWq1n36y9AMPUtcaONlhW/RC6NGLA8SnefcfgpID1Fh7awrBp7ze0VRi75ie9DvPhNYL6u7YWOP KgBTxoOPbZ1yR3SBtevQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qVaCh-00HXAG-1Z; Mon, 14 Aug 2023 16:14:03 +0000 Received: from mx0a-0031df01.pphosted.com ([205.220.168.131]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qVaCf-00HX9U-0c for linux-arm-kernel@lists.infradead.org; Mon, 14 Aug 2023 16:14:02 +0000 Received: from pps.filterd (m0279863.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 37EFUnw7032293; Mon, 14 Aug 2023 16:13:50 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=message-id : date : mime-version : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding; s=qcppdkim1; bh=Tk7BNyym1la7u0CA0aSkDYUvy3flaCroLHDQgpCk/mE=; b=amlClTTVELZ4jFpRWzGHD40TUNLB+iuRpzyhnwLdLoY8f5U0vWv5CzEzqxHa5DDHUWQ2 jzcSX3hCeLQamTi+qrutBBaMkjuBSAPPh0eAaqscIM2bJfi++Wyxa/yFDtdP6qZA4uFB RmllO8ExK8y9BzG4jWIbhOmMU6fA94lXxZHYgN8TC0J7R8CstJCviM0Z3uvujnnI3vBf FlK1lCQKockk5/gXh/dYvIBDWeEk9SNSlG9Bb6lix24XqtFGi6qkcT3VfyeJyqkZE58D wWWLNC4qdLTbBu6vfRFY9RlzG+4qpaRDD/01Yul1pkrYHAXLGs3tTljnevaWHSW3nlUE 2Q== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3sffxt969n-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 14 Aug 2023 16:13:50 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 37EGDn3S007529 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 14 Aug 2023 16:13:49 GMT Received: from [10.79.43.91] (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.1118.36; Mon, 14 Aug 2023 09:13:46 -0700 Message-ID: <0cfd73bb-3ae6-d7bd-296c-0c39d194464b@quicinc.com> Date: Mon, 14 Aug 2023 21:43:37 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Subject: Re: [PATCH] firmware: arm_scmi: Fixup perf microwatt support To: Sudeep Holla CC: , , , , , , , Chandra Sekhar Lingutla References: <20230811204818.30928-1-quic_sibis@quicinc.com> <20230814092503.xdzafmqu5h3shrlz@bogus> Content-Language: en-US From: Sibi Sankar In-Reply-To: <20230814092503.xdzafmqu5h3shrlz@bogus> 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-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: 7aSznZ1ZkMRrhvQfHc0tOhHrBOI4pRzH X-Proofpoint-GUID: 7aSznZ1ZkMRrhvQfHc0tOhHrBOI4pRzH X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.267,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-08-14_12,2023-08-10_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxlogscore=999 spamscore=0 malwarescore=0 clxscore=1015 suspectscore=0 adultscore=0 bulkscore=0 mlxscore=0 priorityscore=1501 impostorscore=0 lowpriorityscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2306200000 definitions=main-2308140149 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230814_091401_245161_0167B5D5 X-CRM114-Status: GOOD ( 20.41 ) 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: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hey Sudeep, On 8/14/23 14:55, Sudeep Holla wrote: > On Sat, Aug 12, 2023 at 02:18:18AM +0530, Sibi Sankar wrote: >> The perf power scale value would currently be reported as bogowatts if the >> platform firmware supports microwatt power scale and meets the perf major >> version requirements. Fix this by populating version information in the >> driver private data before the call to protocol attributes is made. >> >> CC: Chandra Sekhar Lingutla >> Fixes: 3630cd8130ce ("firmware: arm_scmi: Add SCMI v3.1 perf power-cost in microwatts") >> Signed-off-by: Sibi Sankar >> --- >> drivers/firmware/arm_scmi/perf.c | 4 ++-- >> 1 file changed, 2 insertions(+), 2 deletions(-) >> >> diff --git a/drivers/firmware/arm_scmi/perf.c b/drivers/firmware/arm_scmi/perf.c >> index c0cd556fbaae..30dedd6ebfde 100644 >> --- a/drivers/firmware/arm_scmi/perf.c >> +++ b/drivers/firmware/arm_scmi/perf.c >> @@ -1080,6 +1080,8 @@ static int scmi_perf_protocol_init(const struct scmi_protocol_handle *ph) > > Please rebase any patch when posting upstream on upstream kernel tree. > This definitely looks like some downstream tree. I will adjust and apply > this time. This file never crossed 1000 line and this patch indicates > otherwise, so I am sure Qcom has some downstream changes in this file now. Thanks for taking time to review the patch but zero points for the ^^ deduction lol. The correct phrasing would be v6.5 rc6 hasn't crossed 1k lines but the patch was based on next-20230809 which has the perf level indexing mode support in addition :) - Sibi > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel