Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp1914339rdb; Tue, 3 Oct 2023 05:15:14 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFrrzJ/pR2u24QjTaPaePu9SUtasg4uSVmSm2kBrJeqiIRtJSkAg63k7cLk5zv49qVb66oD X-Received: by 2002:a17:90a:20e:b0:26d:43f0:7ce4 with SMTP id c14-20020a17090a020e00b0026d43f07ce4mr14239339pjc.8.1696335314435; Tue, 03 Oct 2023 05:15:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696335314; cv=none; d=google.com; s=arc-20160816; b=Cpw7xcpsNi+0SCjvtHXpaAD/7VSCGrERmMKxwOZd9qX6ELBJdiRkNjB2hsK+2lJVZy 5ADs8mAHfRNsw4qToCYHLCrDlYlF+zGkE68eaSJcP/YmMi1ZvWJRs6xRTWfdfC8772ZR KipGUxCunVK92Lyfg+oCNbvi25A8ygkG4OBb3tDIYu0WuafdEbpah4zYGsUKeWZfdbT/ sGkl/JtFvPJWRC8rydoX1wlm6Ym0Vl3K6/0q2ZutN/xBILgBaGYMw8+Mcwr4h9/4O+ng uyon6GWMFbw7WivfgvpPG8/ZiS86Qbsz2dlqW6qCsXie+WQUufMDFwbY05PUFtA9HYzp 3dlg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=YKaueA5DXHc/wHtgfv9yXuTb+N2hV3wo7R//05TKWqc=; fh=6XP0iZZ//gJwbw3iWVfW2iDy4z/jr70ouA/teNNZGxk=; b=xzTKLmKkPw4WL0v19hIqpF6VbGAOuOR9axt/VWgkRCUKAaB3aUhGSdvW3AyViVMYuG gCZ+PBZRbNeicf/pss3cDeCku1b7X5zipsXulx9nWYCJAhmB3N6CBfYPWlZzhsHrhtqq d9a0ocm/IKRoWocOjem2Jt2dc2SNu+n9wBPKEeQtyANK7dos+rQTGpjlnhSGYF0hJYYZ 0OBXY9oDNzJdcAf03JJemWxjrpqTpgvQzqY/Oid9khhdmNUlBO5u1qhfylyepgKyYnyC bfGPypdHcMGTpLaFU56H7yFghyDiaq52st+jt+PZouwvk3pt/W31YPiIkCDJaFF2Qf1O 8Pag== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id d17-20020a17090ad3d100b0027383ac5ebcsi1255129pjw.130.2023.10.03.05.15.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Oct 2023 05:15:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 8360D8068869; Tue, 3 Oct 2023 05:15:13 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232131AbjJCMPD (ORCPT + 99 others); Tue, 3 Oct 2023 08:15:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37832 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231960AbjJCMPC (ORCPT ); Tue, 3 Oct 2023 08:15:02 -0400 Received: from muru.com (muru.com [72.249.23.125]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 168EBAF; Tue, 3 Oct 2023 05:14:58 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id 433D380A7; Tue, 3 Oct 2023 12:14:57 +0000 (UTC) Date: Tue, 3 Oct 2023 15:14:55 +0300 From: Tony Lindgren To: Maximilian Luz Cc: Greg Kroah-Hartman , Jiri Slaby , Andy Shevchenko , Dhruva Gole , Ilpo =?utf-8?B?SsOkcnZpbmVu?= , John Ogness , Johan Hovold , Sebastian Andrzej Siewior , Vignesh Raghavendra , linux-omap@vger.kernel.org, Andy Shevchenko , linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org Subject: Re: [PATCH v12 1/1] serial: core: Start managing serial controllers to enable runtime PM Message-ID: <20231003121455.GB34982@atomide.com> References: <20230525113034.46880-1-tony@atomide.com> <62d3678a-a23d-4619-95de-145026629ba8@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <62d3678a-a23d-4619-95de-145026629ba8@gmail.com> X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_NONE 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Tue, 03 Oct 2023 05:15:13 -0700 (PDT) Hi, * Maximilian Luz [231003 11:57]: > A bad workaround is to disable runtime PM, e.g. via > > echo on > /sys/bus/serial-base/devices/dw-apb-uart.4:0/dw-apb-uart.4:0.0/power/control If the touchscreen controller driver(s) are using serdev they are children of the dw-apb-uart.4:0.0 and can use runtime PM calls to block the parent device from idling as necessary. The hierarchy unless changed using ignore_children. Then when the children are done, seem like dw-apb-uart driver should use force_suspend and force_resume calls in the system suspend path. Do you have some mainline kernel test case available or is this still out of tree code? Regards, Tony