Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp3020377rwb; Mon, 7 Nov 2022 22:43:38 -0800 (PST) X-Google-Smtp-Source: AMsMyM6uh0RlS/91clne3S7mqowKvlPsaw11t3ld2luVMemr+kfqgYVragnI9rgWve6QOlLfIroj X-Received: by 2002:a17:907:d10:b0:79a:a1fe:8be5 with SMTP id gn16-20020a1709070d1000b0079aa1fe8be5mr51943703ejc.125.1667889818767; Mon, 07 Nov 2022 22:43:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1667889818; cv=none; d=google.com; s=arc-20160816; b=CqlbqKOPUSR5Yr2UkakvfIFCpJEjMtCleaX9cY+16JKbQhIZaDqMnBtYkYT2JUO4ua McyGnwsrRyYYHNyB/lrYfv5+6jjMtJ1pY1K6cXu4UxvenQq9DV5o77Liyy9iUebd+6J3 3HFbXBkUZEVkIOGHEjajZb7zXzOoj+ea1xEX2J6bS6MauK725ndF4mMtM78Y0B83BOQp 8D6hhZKET7k9ArxQ9NIKHqiTJ7765wajqu5ztrKEjxh55zUuveOFOhtjpp0RuzaArrSk iOGF0tuhHYDVMdkMi9U9jqrQwH0xwzrQwVcNCWd7xJdZ40vzs61Uca+xC7QSJjNln0Wb +jKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=q5x3mbotwDjjw5wTVlGWhe4kAfiJoSuoTBpIjLq4ZGY=; b=PP2LXpQ1hZdzEQUAy9GS05B1FOW7UnnRb4GTntePOCCORZTu3wsGQGwVJZvcrX97LJ rqwzuELMXHWHTlQsKvWjRelSyjhDaUV6jzwMeTBy/ihPqMkySrPEwmTn95+uz+r3WVXV MAlHopHhp+iFyaMUKzleYoBX7N+UmspCyXe3tH6Cgmw9gzsXvxNe6stbL5aNG8ykmU/G Hs1yussXxxlPmD7CKMsBE79z4jnNmhT23mjhH5dOfRpadAOfwTrRqqgXlWWExbP/at0l q6r66lqF1M+tFYVstJwO3U9T+qvuCgh7B7yWrIoeT7JmoU6qntvNRXkO71LpUTXZLGff C7Vg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=PMXdN4AV; 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 u18-20020a170906b11200b00780f0b45416si9340986ejy.622.2022.11.07.22.43.17; Mon, 07 Nov 2022 22:43:38 -0800 (PST) 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=qcppdkim1 header.b=PMXdN4AV; 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 S233417AbiKHGAB (ORCPT + 91 others); Tue, 8 Nov 2022 01:00:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57636 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229931AbiKHF77 (ORCPT ); Tue, 8 Nov 2022 00:59:59 -0500 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BD198C755; Mon, 7 Nov 2022 21:59:58 -0800 (PST) Received: from pps.filterd (m0279869.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 2A85dueA030535; Tue, 8 Nov 2022 05:59:49 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=q5x3mbotwDjjw5wTVlGWhe4kAfiJoSuoTBpIjLq4ZGY=; b=PMXdN4AVnaU0R3hHbiFWvB4tQBZjWA6wv13E34iRba3hPKcp2wxB9Fgt3feYuaa0YlzV e6kcIK0WmB1audqfDUHIo8bneSa2ijpyvCBgTUUVrfg3ZjxuPTez7NeGn79FwfCs6GoY vFJEGvxcbqWFoE+0gK2EAXvadBOoUGP1otlUSq+em8kD/l8un/gaCUpIWBpBtujtnl82 ItmholXDLdJYhAQuswkrX8tK/4+PgzOeQaX0AYmddQx76RSJO6YbVOa1JPvPGAjY5ZEN LD3pFF/+vUYsSk3WbPpwSInID7lA+/Qe6QiNoUvEf110ZrmotbbUwZgpcjltDRnhrYpf og== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3kqh4g81s5-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 08 Nov 2022 05:59:49 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 2A85xmht026109 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 8 Nov 2022 05:59:48 GMT Received: from [10.50.47.202] (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.29; Mon, 7 Nov 2022 21:59:45 -0800 Message-ID: <3b81d875-7f4b-446a-565b-189ad6c8d9dc@quicinc.com> Date: Tue, 8 Nov 2022 11:29:42 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.9.0 Subject: Re: [PATCH] clk: qcom: Update the force mem core bit for GPU clocks Content-Language: en-US To: Doug Anderson CC: Stephen Boyd , Andy Gross , "Bjorn Andersson" , , , , References: <1666159535-6447-1-git-send-email-quic_c_skakit@quicinc.com> <21cd992c-334e-3a28-f3ac-68a49a4ef00b@quicinc.com> From: "Satya Priya Kakitapalli (Temp)" In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit 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: VJ8AVlnJS6OpLBzmpjYA0tZElcLIRZfB X-Proofpoint-GUID: VJ8AVlnJS6OpLBzmpjYA0tZElcLIRZfB X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.895,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2022-11-07_11,2022-11-07_02,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 mlxlogscore=668 priorityscore=1501 malwarescore=0 mlxscore=0 adultscore=0 lowpriorityscore=0 impostorscore=0 clxscore=1015 bulkscore=0 suspectscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2210170000 definitions=main-2211080029 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, 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 Hi Doug, On 11/7/2022 10:30 PM, Doug Anderson wrote: > Hi, > > On Sun, Nov 6, 2022 at 9:38 PM Satya Priya Kakitapalli (Temp) > wrote: >> >> On 10/28/2022 5:54 AM, Stephen Boyd wrote: >>> Quoting Satya Priya (2022-10-18 23:05:35) >>>> From: Taniya Das >>>> >>>> There are few GPU clocks which are powering up the memories >>>> and thus enable the FORCE_MEM_PERIPH always for these clocks >>>> to force the periph_on signal to remain active during halt >>>> state of the clock. >>> I take it that missing this causes GPU to lose state when it suspends >>> and that confuses the driver? >> >> It is more related to GPU SMMU states and the stability issues that are >> encountered. > I see a very similar code sequence for sc7180. Is any similar fix > needed for sc7180, or is this something unique for sc7280? This is not needed for sc7180, it is related to sc7280 only.