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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 73396C433F5 for ; Thu, 27 Jan 2022 06:33:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236775AbiA0Gdt (ORCPT ); Thu, 27 Jan 2022 01:33:49 -0500 Received: from mga07.intel.com ([134.134.136.100]:58739 "EHLO mga07.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229650AbiA0Gdr (ORCPT ); Thu, 27 Jan 2022 01:33:47 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1643265227; x=1674801227; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=oAtC2UENBb/Yx/gPjIbAsh8DxMuVnWALhMreXORpLwE=; b=knOstGt2xMcWq2/x8KS+lysgkI+tzHVex2DPwuJg2uZcLQLwwaH/0vxY fl3p0sWqR6mqMOx6UMiwTaOLuPbxh/Qs6y+Cgendxwnw3SQPg8kyXaCjG zWBfzY1KkeOnthv1ZHQBRwFE6zAkVfwgoyS+Ui8M5Qw3tssYDkxCAgdzf bJOr0kr9KN1eLR5phrfACLOkUJ3SxCL1ZYLz1Dtf4TzJhhMsqIfzK2lVx ZqiO3qgAgIJ3SXTobP+3s0KX5C3y3mRbiKwY8c4TcGUBRKKfvCrE/F7IY 55OAirMne9aAcjfF5CnPMruQHGIUm3wrIbvjoripA5eOkLRMRicj0Sonp Q==; X-IronPort-AV: E=McAfee;i="6200,9189,10239"; a="310077855" X-IronPort-AV: E=Sophos;i="5.88,320,1635231600"; d="scan'208";a="310077855" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Jan 2022 22:33:42 -0800 X-IronPort-AV: E=Sophos;i="5.88,320,1635231600"; d="scan'208";a="521097307" Received: from lahna.fi.intel.com (HELO lahna) ([10.237.72.162]) by orsmga007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Jan 2022 22:33:38 -0800 Received: by lahna (sSMTP sendmail emulation); Thu, 27 Jan 2022 08:31:20 +0200 Date: Thu, 27 Jan 2022 08:31:20 +0200 From: Mika Westerberg To: Kai-Heng Feng Cc: bhelgaas@google.com, koba.ko@canonical.com, Russell Currey , Oliver O'Halloran , linuxppc-dev@lists.ozlabs.org, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 2/2] PCI/DPC: Disable DPC service when link is in L2/L3 ready, L2 and L3 state Message-ID: References: <20220127025418.1989642-1-kai.heng.feng@canonical.com> <20220127025418.1989642-2-kai.heng.feng@canonical.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220127025418.1989642-2-kai.heng.feng@canonical.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jan 27, 2022 at 10:54:18AM +0800, Kai-Heng Feng wrote: > Since TLP and DLLP transmission is disabled for a Link in L2/L3 Ready, > L2 and L3 (i.e. device in D3hot and D3cold), and DPC depends on AER, so > also disable DPC here. > > Signed-off-by: Kai-Heng Feng Reviewed-by: Mika Westerberg 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 Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id CA4BEC433F5 for ; Thu, 27 Jan 2022 06:35:28 +0000 (UTC) Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4JkrSH0bkfz3cRQ for ; Thu, 27 Jan 2022 17:35:27 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=CpEM6dmQ; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=linux.intel.com (client-ip=192.55.52.88; helo=mga01.intel.com; envelope-from=mika.westerberg@linux.intel.com; receiver=) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=CpEM6dmQ; dkim-atps=neutral Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4JkrRb0vdkz2yJw for ; Thu, 27 Jan 2022 17:34:49 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1643265291; x=1674801291; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=oAtC2UENBb/Yx/gPjIbAsh8DxMuVnWALhMreXORpLwE=; b=CpEM6dmQI+j1CbQ5zOdLYloP1LrbsqunQ+iyJTmxvMCcNW5thiusQs8f ddjvvweDqss95kY8mCQyikc9tdxmtr1V4RzEPZQSQE/QkQDW/eyfbsY28 CMblncs1DydHT4cOF395pSDOGjo6Uaiq3tYxNTbX4r54tNE+tRaNsyLou 8a9MIgBj8LLY7w+IwOz9n4xrEXQky0EnKYuHi5jYxy/OQ91B3CVvnS2Lx Yea8/1uve1MNeYYtKr9jFuwlYZ55GNWgA/qQPrepiJf+zQqiLVRtQPqBR fC9nYq80akQEpQFi03nPt9ZcH6NvBfwW9lPxA+TeuELrNbrBEdyMYLoAa A==; X-IronPort-AV: E=McAfee;i="6200,9189,10239"; a="271218051" X-IronPort-AV: E=Sophos;i="5.88,320,1635231600"; d="scan'208";a="271218051" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Jan 2022 22:33:43 -0800 X-IronPort-AV: E=Sophos;i="5.88,320,1635231600"; d="scan'208";a="521097307" Received: from lahna.fi.intel.com (HELO lahna) ([10.237.72.162]) by orsmga007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Jan 2022 22:33:38 -0800 Received: by lahna (sSMTP sendmail emulation); Thu, 27 Jan 2022 08:31:20 +0200 Date: Thu, 27 Jan 2022 08:31:20 +0200 From: Mika Westerberg To: Kai-Heng Feng Subject: Re: [PATCH v2 2/2] PCI/DPC: Disable DPC service when link is in L2/L3 ready, L2 and L3 state Message-ID: References: <20220127025418.1989642-1-kai.heng.feng@canonical.com> <20220127025418.1989642-2-kai.heng.feng@canonical.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220127025418.1989642-2-kai.heng.feng@canonical.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, koba.ko@canonical.com, Oliver O'Halloran , bhelgaas@google.com, linuxppc-dev@lists.ozlabs.org Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" On Thu, Jan 27, 2022 at 10:54:18AM +0800, Kai-Heng Feng wrote: > Since TLP and DLLP transmission is disabled for a Link in L2/L3 Ready, > L2 and L3 (i.e. device in D3hot and D3cold), and DPC depends on AER, so > also disable DPC here. > > Signed-off-by: Kai-Heng Feng Reviewed-by: Mika Westerberg