Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp4494189pxb; Mon, 21 Feb 2022 23:14:51 -0800 (PST) X-Google-Smtp-Source: ABdhPJwq3V0+ndyc07UoxwgrXAMzUgEg5ereHXonrsfQjxQB8SNt5lPwkqNyLgWIuiHUFKyw5sld X-Received: by 2002:a17:902:cccb:b0:14d:ae35:1a81 with SMTP id z11-20020a170902cccb00b0014dae351a81mr22183110ple.137.1645514091162; Mon, 21 Feb 2022 23:14:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645514091; cv=none; d=google.com; s=arc-20160816; b=An5F1bkS+q/bm5oZMC8h0dHPyMdSN9Ej37Hl7YuobGYqRGp8JJdrvdYFrLVg2ZRYZl B4pHY4x6UhQDYvv+/ufpteQLBsMFTTD3enOlQWNzFL6yeaXUbjPhwih5YUtWHVBNwYap bR2Qhltrn1hznfYbsvFTsVfih+WYxIvGzuUDZiHSfBQLrqnS4f6K+lEGpsdaUuABKcMF P5YWDZypTMAcclLYTm+zPsIucKmDe1VHk9Aamt0ET1cCWFneP5B2lPdZXEnr3t8jhO4j rsPztaMmC12Y2csh/bMkHUr/q62qMihtItR5/2m1oa2u2mQkzlrFF5x3VEKA/jj4EEBW u5Og== 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-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=PJpWrQ0Wk+PXYAmQLsr6LbYHlpkwrjjodLLp23W8yOI=; b=wiLaKs3n32vGMzvCiRCcuUBY0O1IJ33aOMDBbi9TCGIA6VMS4ENNDhZkt5+k03qaBc 2tBiZfmtuUnjv+neK7FyQl4lZPGG5vxO2VPY8tZQNaS7IBV4DZbpRQaWgD4doIJMz8mp rQVl2irs3GPDs3K2oQZV478dzI9vI/XaPWJbtqPMNBgvqlnNwLYH2RF1OpIbFzyaL8Q/ Ka5ZbmXCyHmhQ1CFkRJ0u/7t/TzmVDlfkv78g7RRNw2HKPviQJiepfCGAENpUIgDl8yv AYPgTTjQmJL+RiZ/V3JTocSsMrhV7vUPPGoiztIv1bUSmPxikZNfAZHTAhRj6XyIuf4W aOfw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Uv2jToA7; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id p7si31016645plk.116.2022.02.21.23.14.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Feb 2022 23:14:51 -0800 (PST) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Uv2jToA7; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 8A2E6ECB22; Mon, 21 Feb 2022 23:12:43 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230415AbiBVHNE (ORCPT + 99 others); Tue, 22 Feb 2022 02:13:04 -0500 Received: from gmail-smtp-in.l.google.com ([23.128.96.19]:41752 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230401AbiBVHND (ORCPT ); Tue, 22 Feb 2022 02:13:03 -0500 Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B2666ECB01; Mon, 21 Feb 2022 23:12:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1645513958; x=1677049958; h=date:from:to:cc:subject:message-id:references: mime-version:content-transfer-encoding:in-reply-to; bh=vL8DcslhcdCxYi49Fsi+vRBJ4qnH5U4WDLaK8eziX50=; b=Uv2jToA7uEo22fXxl5KSeTvNvJ6x8IM5xIfpliaL4yZIxER8BCTXE3hV LqaIxIYtsiRadt5uxqNLPJ5iFfzeaORsS7VlhsDdD4hb7YEVZ2+rzdJXb 1uwVpqI8E7XWja1rZala9PIt1bBN8YSfBUpZT/bb3WWFjNvmTp2zc/qjM 9Jv5HBJlASOzYKsPbtXDcmO6E3nUfJVbuN1ROeiR31086xE28NC5PuoY+ bdervUk+UtyOw/ABBlTlYLKCZC5pfxeJjhvva+ZhbsC7FOBOywqZ+ikz9 OpcClQhJA45lCroKyBvIvf/Culf6e7nYDn1sx0a8Ipr5f+Wb96WsIPBjs w==; X-IronPort-AV: E=McAfee;i="6200,9189,10265"; a="231595695" X-IronPort-AV: E=Sophos;i="5.88,387,1635231600"; d="scan'208";a="231595695" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Feb 2022 23:12:38 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,387,1635231600"; d="scan'208";a="547615525" Received: from stinkpipe.fi.intel.com (HELO stinkbox) ([10.237.72.151]) by orsmga008.jf.intel.com with SMTP; 21 Feb 2022 23:12:33 -0800 Received: by stinkbox (sSMTP sendmail emulation); Tue, 22 Feb 2022 09:12:32 +0200 Date: Tue, 22 Feb 2022 09:12:32 +0200 From: Ville =?iso-8859-1?Q?Syrj=E4l=E4?= To: Andrzej Hajda Cc: linux-kernel@vger.kernel.org, intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, netdev , Lucas De Marchi , Chris Wilson , Eric Dumazet , Chris Wilson , Jakub Kicinski , Dmitry Vyukov Subject: Re: [Intel-gfx] [PATCH v3 08/11] drm/i915: Separate wakeref tracking Message-ID: References: <20220221232542.1481315-1-andrzej.hajda@intel.com> <20220221232542.1481315-9-andrzej.hajda@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20220221232542.1481315-9-andrzej.hajda@intel.com> X-Patchwork-Hint: comment X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 On Tue, Feb 22, 2022 at 12:25:39AM +0100, Andrzej Hajda wrote: > -static noinline depot_stack_handle_t > +static intel_wakeref_t > track_intel_runtime_pm_wakeref(struct intel_runtime_pm *rpm) > { > - depot_stack_handle_t stack, *stacks; > - unsigned long flags; > - > - if (rpm->no_wakeref_tracking) > - return -1; > - > - stack = __save_depot_stack(); > - if (!stack) > + if (!rpm->available) > return -1; Still not the same. -- Ville Syrj?l? Intel