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 X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7EF3EC43613 for ; Thu, 20 Jun 2019 17:10:45 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 30BEB2082C for ; Thu, 20 Jun 2019 17:10:45 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="m9j1uCPg"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="UkmyXsXt" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 30BEB2082C Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:To:Subject:Message-ID:Date:From: In-Reply-To:References:MIME-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=FcMSYAERe2o2bUlv4+MVUYEk0GUtvDRPJeUrszsddz8=; b=m9j1uCPgkw6ctY eIbFWBgSOPtUBQM1Kc/CID8pvXYUNQ67cnxwyGL0nWXUC1Upkxso3CSrztWB+3eERpE+DMPVGqzBi bLuq+mfECD964qbrpDnh6Kzyi/71BykmOThino8ky09hWKy1Rw0a/HRMBfwp2yUJlhw80yNwBpwxX wSRnGnX9zud3YueMsADEx7cxfjX2rzp+UzTnVdx7gbHm+ZdCt+pRJYYgc1hmUDiHCzF60fXxk24iG 8j1aaNCz7w3dpboW7uNoUt9lC2OTQJQxQtkJSvP3XnF38ULjSDcy3D3uHxBBCbkvNnEVK8orhzblX zGIkQZR8NlXZQi5m3RbQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1he0a9-00039e-7l; Thu, 20 Jun 2019 17:10:41 +0000 Received: from mail-io1-xd42.google.com ([2607:f8b0:4864:20::d42]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1he0a6-00039L-Ss for linux-arm-kernel@lists.infradead.org; Thu, 20 Jun 2019 17:10:40 +0000 Received: by mail-io1-xd42.google.com with SMTP id s7so726719iob.11 for ; Thu, 20 Jun 2019 10:10:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=yuJewaQ7KsCRsX8ZjQXOqMlc/8BlH5ARUew1Y+etC1E=; b=UkmyXsXtH/UzT0mZ/pmjlRclEPuboO/jGIyM1c66hagyg1OU2FEA9Nw/OXopHXj/cw vtRiSDLgdKnwrvpy195tJCEOL97frnqn6ECevLFGomfQFNR2rmE0yn/fKYzJveQTCQoy nu9ylkEVtXl86mZJXmn/rJ6mDU9EuxArOfI82Dv02z19xyO9KqnJQ+pfKB6x7b3WnptX RyLWmiBjOJ0kkyIBIxC0EcIICYnxGzggwsVPrnc8OMhd50843OevrNFwk4tC7ONnkZE6 Auco03rsdckPUjNWUxqKKV74t3aaH9pH+M9lrIcxMaUWps1HcEvFJn1ui6fepMy3Debq kmKg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=yuJewaQ7KsCRsX8ZjQXOqMlc/8BlH5ARUew1Y+etC1E=; b=ZZJhD59IvrH1Pp/zuQI8/QNuupVoOGTC8T7m51aeSMo2hKRz5wG+q+ZW8aQGVOSFYM GfXWoVDNEfNkKphujnZOUeYsbxm19Y5HZxASktqVWJdVRetOJJcoF6IUeGCr/Vldg42q EQ85JX27EXKOa8X8tQG26g0nUM+hhJcaSNbtAS5MFysAFpy97Zw8FUgUwzbPv7TjIJhj ZWFX6cqKaxliP+yOS188a4bK12H/JyT2WYsm3aSx5ufWGKIZSQMDt7tV8JHXgF40NeeC sLKtshy6/MNpRuIr+22AhBOsJRRXkD3IyoGr8DO4q/qBKlG4u/PlfDtfNfju34pUIR7n 0ipw== X-Gm-Message-State: APjAAAVsXIlRS9IQ0L20Vh58YPznKagGBvCA8p1Mw8dXI2dpXm1h5yZL Ua23GdLUt13etSoseN8LjLasoe+1Uf8iHlN4gfuNnQ== X-Google-Smtp-Source: APXvYqyDXTd/RIi2w0+uQ/ie0xBrezLHPO3FlBbM+k7imkVzaMksczUmYxRQRYLpGQmxxJu2sHkIrESgDsWq7LB6dU8= X-Received: by 2002:a05:6638:29a:: with SMTP id c26mr8309324jaq.98.1561050637785; Thu, 20 Jun 2019 10:10:37 -0700 (PDT) MIME-Version: 1.0 References: <20190618125433.9739-6-andrew.murray@arm.com> <20190618132159.GA18121@e107155-lin> <15ef45d4-ee1a-3c45-878d-f08f0a84cfeb@arm.com> <20190619110749.GD1360@e107155-lin> <20190620114116.GE20984@e119886-lin.cambridge.arm.com> <20190620154154.GB25273@e107155-lin> <20190620163426.GC25273@e107155-lin> <20190620165427.GH20984@e119886-lin.cambridge.arm.com> <9adb65af-a898-462b-ecbc-af972d9331a6@arm.com> In-Reply-To: <9adb65af-a898-462b-ecbc-af972d9331a6@arm.com> From: Mathieu Poirier Date: Thu, 20 Jun 2019 11:10:26 -0600 Message-ID: Subject: Re: [PATCH v1 5/5] coresight: etm4x: save/restore state across CPU low power states To: Suzuki K Poulose X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190620_101038_937240_DB38A502 X-CRM114-Status: GOOD ( 13.39 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Al Grant , Alexander Shishkin , Sudeep Holla , Andrew Murray , linux-arm-kernel , Mike Leach Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, 20 Jun 2019 at 11:00, Suzuki K Poulose wrote: > > > > On 20/06/2019 17:54, Andrew Murray wrote: > > On Thu, Jun 20, 2019 at 10:47:38AM -0600, Mathieu Poirier wrote: > >> On Thu, 20 Jun 2019 at 10:34, Sudeep Holla wrote: > >>> > >>> On Thu, Jun 20, 2019 at 10:14:04AM -0600, Mathieu Poirier wrote: > >>>> On Thu, 20 Jun 2019 at 09:41, Sudeep Holla wrote: > > ... > > >> Then all we have to do is make the ACPI/DT property that indicate the > >> method used to deal with tracer idling mandatory. That way people are > >> conscious of the choice they are making. To be backward compatible > >> with current systems we default to the TRCPDCR.PU method but print a > >> warning message, just like we do for obsolete DT bindings. > > > > I'll respin the series based on this approach. I'll also flip the > > 'disable_pm_save' module option to 'enable_pm_save' - thus allowing any > > one to use software save/restore if they wish. > > If you are going to add a firmware property, please get a consensus on the > name here, before respinning to avoid another churn :-). How about one of : > > "arm,coresight-etm-looses-state" > "arm,coresight-etm-needs-save-restore" "arm,coresight-needs-save-restore" That way we can also use it for CTI. > > or something better long the line. > > Cheers > Suzuki > > _______________________________________________ > linux-arm-kernel mailing list > linux-arm-kernel@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel