Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp2539552ybt; Tue, 16 Jun 2020 08:35:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwlM29jN208JvOQHpYbX+kJ8ksVg8MBOMTOXSzhcD2l8O/IYD8pSC611lylPUYbY2eEF/Jz X-Received: by 2002:a05:6402:1776:: with SMTP id da22mr3209571edb.84.1592321703071; Tue, 16 Jun 2020 08:35:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592321703; cv=none; d=google.com; s=arc-20160816; b=aI74ioD011nan7FajO2UqNgk9Xn7k91TwEiPDiYhQR6vJQecI4qDKP7z4KKZUjXcwW zIPV0R13BaCGp/tLfbGfanhHmkoHJ22hqqmvtuBPdCoMcP2oDWLsTCZY2j99jd7SBcie hLzdxsV8XJNpCBFEUTaVG8BEYcPS/Y6thhOHmsx3OAq6pdUHC0LQ/SD57SJHNx0QX78T Gof84kdJOxEZZdzXiOZx0qqmVwUZGtCaxT+DN/nlSEvihqWgw5x/tSUDIZb/Gq4ybeb4 4E0ebIiz8Lv4ja3kpiW4T6f7090DnwT+kNEZ34EmOi3HK0mmra4bDVSApv1NW3t4v3gd D7Fw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=KOiLvnHqBX4acFScf0OjizqdpYUzQHU+7d14P1uXpoM=; b=qOFGIrKYdZfz2JS0PiP8SkA6NxYmKNEbVIxsBkkwcQKLbh3x6V8jQiOPpsqERnn0SG 6JvaS7uFTWX3RKo3SThhr0LsGbgIc8enP0cok8OB3CcGtW0a9wlv3gkW5akqyOjt8OD+ q0bt1ghrGCuQDe/feagJeJgzqDQLrKbS987RustIdeu4ImVbTJ2tm+FgTWPtnMAY+2GF DxZyWq5EuMm1ikqryohE8j7WFED8yt7zODkIq7tpGR+xjJOe6357pMlievxBg0psvd70 ZaK6coRe/nh/FUN9bsHuAbzBfjlUy53IVaV3s+8hIro/6nh/GFLwP+ZBFgP028NIgBJI E5EA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s6si5826308edy.143.2020.06.16.08.34.40; Tue, 16 Jun 2020 08:35:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729167AbgFPPar (ORCPT + 99 others); Tue, 16 Jun 2020 11:30:47 -0400 Received: from muru.com ([72.249.23.125]:57974 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728809AbgFPPaq (ORCPT ); Tue, 16 Jun 2020 11:30:46 -0400 Received: from atomide.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id 2F8D88123; Tue, 16 Jun 2020 15:31:37 +0000 (UTC) Date: Tue, 16 Jun 2020 08:30:42 -0700 From: Tony Lindgren To: Tomi Valkeinen Cc: Grygorii Strashko , linux-omap@vger.kernel.org, "Andrew F . Davis" , Dave Gerlach , Faiz Abbas , Greg Kroah-Hartman , Keerthy , Nishanth Menon , Peter Ujfalusi , Roger Quadros , Suman Anna , Tero Kristo , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, dri-devel@lists.freedesktop.org, Laurent Pinchart Subject: Re: [PATCH 1/5] drm/omap: Fix suspend resume regression after platform data removal Message-ID: <20200616153042.GZ37466@atomide.com> References: <20200531193941.13179-1-tony@atomide.com> <20200531193941.13179-2-tony@atomide.com> <16ba1808-5c7f-573d-8dd0-c80cac2f476e@ti.com> <20200603140639.GG37466@atomide.com> <47e286dd-f87a-4440-5bde-1f7b53e8b672@ti.com> <20200609151943.GL37466@atomide.com> <9ed70121-2a53-d2b3-051a-88eb83e6c53f@ti.com> <592501c9-2d94-b266-ae76-e383d3bffa29@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <592501c9-2d94-b266-ae76-e383d3bffa29@ti.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Tomi Valkeinen [200616 13:02]: > On 11/06/2020 17:00, Grygorii Strashko wrote: > > I think, suspend might be fixed if all devices, which are now child of ti-sysc, will do > > pm_runtime_force_xxx() calls at noirq suspend stage by adding: > > > >     SET_NOIRQ_SYSTEM_SLEEP_PM_OPS(pm_runtime_force_suspend, > >                       pm_runtime_force_resume) > > > > Am I missing smth? > > Isn't this almost exactly the same my patch does? I just used suspend_late > and resume_early. Is noirq phase better than late & early? Well up to you as far as I'm concerned. The noirq phase comes with serious limitations, for let's say i2c bus usage if needed. Probably also harder to debug for suspend and resume. Regards, Tony