Received: by 2002:a05:6500:1b45:b0:1f5:f2ab:c469 with SMTP id cz5csp1103673lqb; Wed, 17 Apr 2024 23:20:28 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXJtSf5iYkRe2z04MLGgsPCmTh47edBmoWklaaJeFvKL/Z94G2MPcyn0aYEjIFFfHahu8iveRprYYp89awcDzfs0OhIFluejsz474UjxQ== X-Google-Smtp-Source: AGHT+IGo2UWR8MDE3Gpy4qEKkw/umHFHFU8HacUPyu2AYdXe6n262UKtUNIpjUA50h1ve/w7Zo8t X-Received: by 2002:ad4:51c4:0:b0:69b:57c7:f861 with SMTP id p4-20020ad451c4000000b0069b57c7f861mr1969869qvq.4.1713421228251; Wed, 17 Apr 2024 23:20:28 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713421228; cv=pass; d=google.com; s=arc-20160816; b=bbnI2lsbpu3DDdm80o3MFY91OaRjPMA++gkHDbroXfq3+H40VgsyvblRruIXu+G/qG buKqWmWPtWs5jspuMuS8+F0Vkl2GHu1lV7ZJuHvUUf1VSq9ocF32hD9fnSdtAUWmEtrR GW9/Wi+CdskX2ZJWrq5uZvrLqOQveOTZkUgwPzyS3RW0OJdMaF1sNzO412y1+lkpEYqG g9G8Wus3R1ioDtF39BI2op0qqQ940rAKVJ6sSWufV1vDxD/cWWxOqHFe5q/qpzaq2stk vcwQ0DQcMdijdHvwI66dAW3v+NDhwhjnNnEvLIWYLZGPXvhk7TDflVPE/vKBeN5S/QPk Jm3w== 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=eC0jjvQDPobd97rKZ4kcPj9ytdXbP5Fo1R6tB5tlq9k=; fh=CAPyVL2X9NvCU6fuR4J2bAVsdKNfFvXykAbbYVvYabs=; b=fAgiTYj7TkalrC3tSXrHYJxAPbV0a38Gk2HO/WBSvEZK2YN2h1RMwmXZppmdVzBawY pdmdnpws+Oa5SgVxeLE9J7N2fHtUTnEVqVlEA844gwCmv3H6l30a/azc+rMedDLJs+4j ememTduSk0mtSe/PDWxIsmwC9F356vFCj3WtMlxnxmKULn5+Ye6BxrVtPxvO+hmOwnCz NOdlYLN/tXb/zUjP8C5iHWlI9w9z+qCCCo6uGr0c92mn3q/JLnaTXGF31YW067IUENBR 5CnMPkL6JPbsMJOCwdEH2ScTGyk3hMONc5lY5OrkLVJLsBbb2sVTF7cYGuKEz3QLUC+Q rzGg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=gJ6GF1zn; 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-149571-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-149571-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id u5-20020ad45aa5000000b0069b3274c74csi803459qvg.17.2024.04.17.23.20.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Apr 2024 23:20:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-149571-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=gJ6GF1zn; 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-149571-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-149571-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 020EA1C20C04 for ; Thu, 18 Apr 2024 06:20:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2FE016A8D2; Thu, 18 Apr 2024 06:20:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="gJ6GF1zn" Received: from mail-pl1-f182.google.com (mail-pl1-f182.google.com [209.85.214.182]) (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 9A32C657D4 for ; Thu, 18 Apr 2024 06:20:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.182 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713421220; cv=none; b=Zzu4RizK6yvi6dD7R4I/mcN9VOAF455DcvUAHL3tnQQLcukwsifccOneY4doz+6EywUtFFVPzT9MNOsnJwopfgdEg/ACFfQCiOligePBZFIvJgcOVC/3g58kIu4X+cmDV7zfk6lhHk4IDxOHtrsdC/R9G4S1KTYbF4UnC/cXlWg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713421220; c=relaxed/simple; bh=ioUowZ4DOFzP0N/qgT9D4k4N1wRxG9niaft+g/nCSIY=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=CT2cwBgyN37MGppB+WyRBb2EHjQmCeEXZuofkK0cr3lcfZLdSkJF+VgPN5ODA1CB5ZWeHED3ZFLOSkA/SWIgfGcvV6iHnyXUmkcUQMKCaCTJe9v3ZHrtWeizLjjLI6oQrJX5vEXJwMQVfT2X0MQ3mshbGZGIcEm79NKmMKQXz9w= 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=gJ6GF1zn; arc=none smtp.client-ip=209.85.214.182 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-f182.google.com with SMTP id d9443c01a7336-1e4f341330fso4639825ad.0 for ; Wed, 17 Apr 2024 23:20:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1713421217; x=1714026017; 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=eC0jjvQDPobd97rKZ4kcPj9ytdXbP5Fo1R6tB5tlq9k=; b=gJ6GF1znWZyEuwRDdA+uya92POSmz5n6eodlWz4RiooNiYXEDy43kceiWN1kvS2+vV ElUKnjYvBAAW+cLlwZxn8R34QwaiRvrJOuodDZrukurQVJFLVlxzVn/wSI1nshz2xS8U nBRtNjNEMmfRq8diyz0anD5geW1/WAKKJT/QNt2ad7jxp4PJt3JMS1E5bRr0fSq302VY cYGGEu/h+O7b5LWV1E472PEirnUZ5nht7RXeAK29fgcXD3PsiBRcvr02RkPLbPq0Pm2r KTro1HLU07bNh7ScLV3Qt2y9Ve7S1P1TSw3xN9dXdN28Tn33ewTxA2ksOAD7cyKwTVkL tU2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713421217; x=1714026017; 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=eC0jjvQDPobd97rKZ4kcPj9ytdXbP5Fo1R6tB5tlq9k=; b=PANLNtgTowfobOjAo/iPEZD4HNpToxjRJiUABD7VasG1aE+kzDFOWymkr8UggS3kfz 9f3Z8fgq1zjJBcc74qTt/yxszeVDrzf6oNsKmZBdI//gguqo8X7fZHvwsz7IDL6HPgAC B0Pc6Z9DcpGdIwwoMcQBB/v9+KKT97thqxQQXXhWsOtANDHrZipl/VWUjc+2vEOByx0r f4PLOE3tqAE1fzn+Clve8mlP6nnOk0gzi3RyRu+I7ccQm6GEQpzW+K/J+gS3M1vx1o1L larneRE7tQjlzefcGgTb0bAy0N+d0djyu+Y8UsXZdmWrb49rzfwK5Ow8ZnjR+GpP64Zi qdYQ== X-Forwarded-Encrypted: i=1; AJvYcCXALCG2XsneWU1FoBjt2IFsqi78Ylc5ezZcmZFOVEkwTn9f4MmcqKkuOlcIBqPAqOidppwkykmktIpJGhmuXxLSOb5JPl55apjoNG6R X-Gm-Message-State: AOJu0YxW9/Uu86RWAZKmrVXF9Oy8LZ5qwEHQ7OLAJPTXvtsBfNT34nV7 Yd3rzZykOJxgJfiBWSpNKAzgAStv1kUEQ8SCi2ypJO2zfPOnB2E75Ua9rxIKig== X-Received: by 2002:a17:903:48f:b0:1e4:24bc:426e with SMTP id jj15-20020a170903048f00b001e424bc426emr1861087plb.28.1713421216842; Wed, 17 Apr 2024 23:20:16 -0700 (PDT) Received: from thinkpad ([120.56.197.253]) by smtp.gmail.com with ESMTPSA id h10-20020a170902b94a00b001e088a9e2bcsm691770pls.292.2024.04.17.23.20.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Apr 2024 23:20:15 -0700 (PDT) Date: Thu, 18 Apr 2024 11:50:09 +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 v7 4/5] PCI: Add PCIE_MSG_CODE_PME_TURN_OFF message macro Message-ID: <20240418062009.GD2861@thinkpad> References: <20240417-pme_msg-v7-0-9c6208cda90f@nxp.com> <20240417-pme_msg-v7-4-9c6208cda90f@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: <20240417-pme_msg-v7-4-9c6208cda90f@nxp.com> On Wed, Apr 17, 2024 at 12:59:42PM -0400, Frank Li wrote: > Add PCIE_MSG_CODE_PME_TURN_OFF macros to enable a PCIe host driver to send > PME_Turn_Off messages. > > Acked-by: Bjorn Helgaas > Signed-off-by: Frank Li Reviewed-by: Manivannan Sadhasivam - Mani > --- > drivers/pci/pci.h | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/drivers/pci/pci.h b/drivers/pci/pci.h > index 02f46875fe2d9..36381fc7ebd32 100644 > --- a/drivers/pci/pci.h > +++ b/drivers/pci/pci.h > @@ -30,6 +30,9 @@ > #define PCIE_MSG_TYPE_R_LOCAL 4 > #define PCIE_MSG_TYPE_R_GATHER 5 > > +/* Power Management Messages; PCIe r6.0, sec 2.2.8.2 */ > +#define PCIE_MSG_CODE_PME_TURN_OFF 0x19 > + > /* INTx Mechanism Messages; PCIe r6.0, sec 2.2.8.1 */ > #define PCIE_MSG_CODE_ASSERT_INTA 0x20 > #define PCIE_MSG_CODE_ASSERT_INTB 0x21 > > -- > 2.34.1 > -- மணிவண்ணன் சதாசிவம்