Received: by 2002:ab2:7a55:0:b0:1f4:4a7d:290d with SMTP id u21csp144960lqp; Thu, 4 Apr 2024 09:06:48 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUrkcXZhkDsNh9Cbi3z14vUy9jgDoibCoOdcWY93mj5HeDJgzsrhg0BajyyZxolWMsM6pYNUhhg1AdZh9q8ZwnjeP0zYPhIINf9ULcUkg== X-Google-Smtp-Source: AGHT+IEKITJ5s/y4OfT1NzTCcoDDFXhXiT/EQnOJijOe7+UiCEkSXzOw/zCrnw1fBS8BQaWymjiK X-Received: by 2002:a17:90a:bc9:b0:2a3:394:7f06 with SMTP id x9-20020a17090a0bc900b002a303947f06mr260693pjd.19.1712246808500; Thu, 04 Apr 2024 09:06:48 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712246808; cv=pass; d=google.com; s=arc-20160816; b=q9oYSrt5y/oIXFKXyJbyiFUcMjzdMTEHFyEYv8e2wgATrsXWmNOLfp5Yb1mzimBYYS OQyZGlJ3/XWKU4vuRyRZSqoeeT1XY82/32zYPt6W9R6Ulrn+SkHoemtjTtMKPs+gEACX XRSAs5pwjaHT+NlIkyB7rUr0b3slcWMl1S+aSb/XynvKqelwxM83a/ChDhRmZGvlYqRv nihHTLL39KZhzxjpm5828vCa+6WxFIp1Ha31yJzECAXOzwngHu70xs3qtH/8ZHFwpCZ+ qHcbnBICPXdLLmlDjJpij2c2jAkN0AF+pkAWg5fS4Z3LuVzPn3S1GCXVJxAbV4jo1rqR agVQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=A76vBCCK1MtmEH4eG8ItKOT6t7ZQD66dj/w9DMvOXMg=; fh=2Rd6x95wkzJBMxTGjUjeWjzEBZMjaHObqtiYWePYk2k=; b=Bil1azdAkjkd3fj/v/8Z4cqmh4omwnySr8vN47fnzrSawUyMcuszIqYsw/BHPnHWCu toTZII6yBZOoluhc7uzz+XkACTBGjqVKekmRD+RYrjRLEVPfP+pTTJ4UZcv8hKmWemH1 ak7N5u7wpVjeyEUrUIQu6EorbLMQmxzaspZv3evEHB0ohRly8WiGxlpIMdga0DfSDXR9 jSj4BNIncHjUqHLszbfy1SnlAfIjnDE38NsyYDzpymNwaR1h6Tz/4RtkoMNgKtdwkuMT g9kM8+tjFQI738F6ygkkAZY9ZEKbBxawQfx8NolHvS25mvwZ/cNJs6V54AjX93PNg7Ka cdZQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=BVFVrXWG; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-131768-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-131768-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id t1-20020a17090ae50100b002a2b752a32esi2487699pjy.1.2024.04.04.09.06.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Apr 2024 09:06:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-131768-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=BVFVrXWG; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-131768-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-131768-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id EFA1B285B9F for ; Thu, 4 Apr 2024 15:53:54 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EB42512AAE4; Thu, 4 Apr 2024 15:53:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="BVFVrXWG" Received: from mail-pl1-f169.google.com (mail-pl1-f169.google.com [209.85.214.169]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BABE512AACB for ; Thu, 4 Apr 2024 15:53:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.169 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712246026; cv=none; b=bEQlzboHKoRzfJuVQhwYxVjALvKfJcilpwIIlUu91InqUI2td3vhdJL8Po9vwauALgDGNa7vREZf8yTMSoWhgxYIDwdHzSCUCJHTS5qAxxB5LWZNMK/SxNru1Tup3z3G6GDse/3HETdoVeX0XjX3DQnISRHMRaloBeu+jDLozMA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712246026; c=relaxed/simple; bh=IOtUCFZKVp3dT19yR6jJ9GMvsH8zvq9FCQseOX3yf9o=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=XaN/1DrP9KYShp42cOZalh6JynSaD8qsVwR7lSm5Y9Yjqx+BZzzK/EPD2ly5mR4To21MOVuk/LlTQc4CGBojaijcvJXnAfUN7EXSg3YYbxWD14nU1768L/FhvNySKYEhmSmBMtMC0qaY2VwOAt8t0xTDqW5SjVY6ujHI8FWek8o= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=BVFVrXWG; arc=none smtp.client-ip=209.85.214.169 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-pl1-f169.google.com with SMTP id d9443c01a7336-1e2b137d666so6139915ad.2 for ; Thu, 04 Apr 2024 08:53:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1712246024; x=1712850824; darn=vger.kernel.org; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=A76vBCCK1MtmEH4eG8ItKOT6t7ZQD66dj/w9DMvOXMg=; b=BVFVrXWGbHM8qhB83t61mMhoFmPEG/vvXxwDqH1cO4dmIBHr8/1IDsGi4qSkpI1k4n IFPzn/bKEHJ7xk1lTHPvtQOWx8ph68tt3qtGFBM4E0x0kIm+hoCTagL93wBnUpCxbysn ctKRBG/Vphb2ycZOZaC7kb6iP7BdUHqurZCihc2ZdOW7eDxQwu/h6fFMUQJITVpehpwe 8du7xfNyX3Jkyq0Sv/YmFPiBj1gfDK/A1GGBhj+6dTEJelt5NWcRC5sa/GI2HjI0X42m CHhzJ5iQUHuc32nLT6KL5UqMS/n9yZ539GAoi4/VZHNF83i/5WULkZmoJ+/P6odCsZ9b r4Ew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712246024; x=1712850824; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=A76vBCCK1MtmEH4eG8ItKOT6t7ZQD66dj/w9DMvOXMg=; b=UTRqsOY16l4dObh0hV1QbIkEkruJKcKTTTuYOpUBBUGZbmJ1WMgMiCUr97xfvxwMbA otQkSNzeVl89o2q4xhpG68OW1/zKjRjkeVbtlplVMEnX0t7UfhNDV3CJmUbmAgrttHip lPsRbcoTZqYoCTmoqSP1OHxzGkNDCio6ynGLic+JCf0jR2+V3zunCVOEgjW2iWohgp5G kF0LXxUqf+DD9yFrtnOm2Bj5X1AjlxijI13dItKoDvAOj33ayCxl1btGkZMzYzZlsTO7 iVbBcjGR9KENV0eXvEFTesIpvOKVCvsCiqic6hKNbED1LpCn088ZZ2v5Vk6b3HGAtxPk 80Wg== X-Forwarded-Encrypted: i=1; AJvYcCVpnztB69GYEg6lcy1Nr3Ype7BZXlFu8BrAyPMcVN0xRZuWJQJzNRWHKK5x7V1uMa0WNkYx1lNvtOY9zKOQrGSKNHoCsDPaffBu6tER X-Gm-Message-State: AOJu0YxOonpkOLgyAycPutrFdND7QU7e2PmhNZsi3kHwEesvh3dUxyWB L3LnShIWXp6MNdOPyjqXP/R+q7n/1BSLYDL3I9+dsBH0Iwe/m5mKEAjF1dp+LMUYy5gly01usTU = X-Received: by 2002:a17:902:ce86:b0:1e2:5e2f:682 with SMTP id f6-20020a170902ce8600b001e25e2f0682mr3358537plg.2.1712246023633; Thu, 04 Apr 2024 08:53:43 -0700 (PDT) Received: from thinkpad ([103.203.73.241]) by smtp.gmail.com with ESMTPSA id n18-20020a170903111200b001e0bae4490fsm15599425plh.154.2024.04.04.08.53.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Apr 2024 08:53:43 -0700 (PDT) Date: Thu, 4 Apr 2024 21:23:37 +0530 From: Manivannan Sadhasivam To: Frank Li Cc: Bjorn Helgaas , Jingoo Han , Gustavo Pimentel , Lorenzo Pieralisi , Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= , Rob Herring , Krzysztof Kozlowski , Conor Dooley , imx@lists.linux.dev, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: Re: [PATCH v5 4/5] PCI: Add PCIE_MSG_CODE_PME_TURN_OFF message macro Message-ID: <20240404155337.GB35218@thinkpad> References: <20240319-pme_msg-v5-0-af9ffe57f432@nxp.com> <20240319-pme_msg-v5-4-af9ffe57f432@nxp.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20240319-pme_msg-v5-4-af9ffe57f432@nxp.com> On Tue, Mar 19, 2024 at 12:07:14PM -0400, Frank Li wrote: > Add PCIE_MSG_CODE_PME_TURN_OFF macros to enable a PCIe host driver to send > PME_Turn_Off messages. > > Signed-off-by: Frank Li > --- > drivers/pci/pci.h | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/pci/pci.h b/drivers/pci/pci.h > index ffd066c15f3bb..989681a0d6057 100644 > --- a/drivers/pci/pci.h > +++ b/drivers/pci/pci.h > @@ -40,6 +40,8 @@ > #define PCIE_MSG_CODE_DEASSERT_INTC 0x26 > #define PCIE_MSG_CODE_DEASSERT_INTD 0x27 > > +#define PCIE_MSG_CODE_PME_TURN_OFF 0x19 > + I think this could be moved before INTx to keep the codes sorted. - Mani > extern const unsigned char pcie_link_speed[]; > extern bool pci_early_dump; > > > -- > 2.34.1 > -- மணிவண்ணன் சதாசிவம்