Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp4613213pxb; Tue, 22 Feb 2022 02:35:40 -0800 (PST) X-Google-Smtp-Source: ABdhPJzZMnstp10nPY+WJLLyY7vayuNfOS8NYOQZRzyuiBvnkaW5E0JwwsblpOD5RS0MYrplh/B6 X-Received: by 2002:a63:8bc4:0:b0:341:760f:44d8 with SMTP id j187-20020a638bc4000000b00341760f44d8mr19399259pge.32.1645526140470; Tue, 22 Feb 2022 02:35:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645526140; cv=none; d=google.com; s=arc-20160816; b=ACkgd9CBEr76qItwtZ/csIT9UqcIiD38s8DVHEH3x8nSNxdRcM9rn0hhuH7b4L0SaY w/ssUgT15Szi8ts4jQhO//eW7qvpXZaazovkT91WJu9GjgsKVBVKGGpb+munMt+FMR7y zIcL5cv9fLRmMs2lVw71Tt3KWswh/l5oS+mEn2f1ORXyNmPnwSsl5wNxd/hOh+a2dwR0 NITWUSJTJ6PtPyKW6Iz9VqNZeCg4IaWbs4IcjTJe/pvnAWrKkVriJyaMDZ4akzf91Bdn qW6pj1jGTFS6cIiV7mbrVd5rMp0CC2kcSrTrujIW50635OvCWN863LshR5aD3QBQRORe 9Tig== 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=8powRw5sXLqg7Vv6r0PBYzGYcr4Glo3xJgN3eeugI8c=; b=tPD/MK/E5mcyGwjzVTZHCEo392iePXUuw8EeyY65QA5Og7hPt7OIQBUnXTYKvEaDbk wI/XtnMETfBBodFWlCS+KlcTbk0rJM9OIR5jRvy01OKHHd7HLtWFOKSkUedq+tXTvwV3 7U4yOwnmG3h3AqsmAKsOkOdKHnd2asoshUKYWphpJXybKQOnuHAvLX48PLvJzKNrrsvK dMhlJe4oR5qVqrhbzRFsPHTRc0PhP4RKREGorox7ucTipM3fIas1vTgd0RRn+dt77Wo0 LjTP6DSjJn4YlEnhef1CE348rN9FGZAYL5m/zcdafNrOPuYulKbWq9ypS/YntS2tSJno mqDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=NckF2R0G; 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=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t9si16789628plo.440.2022.02.22.02.35.26; Tue, 22 Feb 2022 02:35:40 -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=@intel.com header.s=Intel header.b=NckF2R0G; 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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230239AbiBVJpI (ORCPT + 99 others); Tue, 22 Feb 2022 04:45:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37514 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229747AbiBVJpH (ORCPT ); Tue, 22 Feb 2022 04:45:07 -0500 Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 358631587A0; Tue, 22 Feb 2022 01:44:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1645523083; x=1677059083; h=date:from:to:cc:subject:message-id:references: mime-version:content-transfer-encoding:in-reply-to; bh=FjeZdgJyNM69LQtheHGzgcCWp87pZxz9Fy/QSUtonDM=; b=NckF2R0GYAgzYBSg+CEAMnQYK/eNP4sW0DAnjdMQniKLNZVxCaZo2zR9 ZuR3Sr+FS9rvgFvX3H+Qfm7GYM/EwXk7Fb3RumDMKglSUyTnV5S0oBC8m eO9ThK25GhQ5uUOufy9mmm1C6pOfJ/cxCk02SSFpKc9j1WLB5AeglO9OX j4wIPo84jli77UJT7mgVEexbAlKaYrST8z6KQD2aTfUjjNFAxajrkTX7v 5FMIsyeUwqjGA1u0wuGvKsJKJy/ltZPTKLRSH/bBinnvcYp2NqPirDi99 xrIPJjiFrk7guH0pBrZHo/eQlnRGMYQaSr375SMcPhbEkcUxaUDQb4hIk Q==; X-IronPort-AV: E=McAfee;i="6200,9189,10265"; a="235193217" X-IronPort-AV: E=Sophos;i="5.88,387,1635231600"; d="scan'208";a="235193217" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Feb 2022 01:44:42 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,387,1635231600"; d="scan'208";a="573374702" Received: from stinkpipe.fi.intel.com (HELO stinkbox) ([10.237.72.151]) by orsmga001.jf.intel.com with SMTP; 22 Feb 2022 01:44:38 -0800 Received: by stinkbox (sSMTP sendmail emulation); Tue, 22 Feb 2022 11:44:37 +0200 Date: Tue, 22 Feb 2022 11:44:37 +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: X-Patchwork-Hint: comment X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE 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 On Tue, Feb 22, 2022 at 10:28:33AM +0100, Andrzej Hajda wrote: > > > On 22.02.2022 08:12, Ville Syrj?l? wrote: > > 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. > > > > It was fixed but in wrong place - patch 11. I will move the change here. Doesn't look correct there either. -- Ville Syrj?l? Intel