Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp1087346lqo; Fri, 17 May 2024 10:12:26 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVIFmWx4Joe0O1AxxA7lwgYvMNZV+/hIAyDSiTv6X9VRhlS0qMaQw2qqTFhrjn6GlgzXikebp9IgQzDfDmG5edeCG2QdhIZ+o8gZ8V3xw== X-Google-Smtp-Source: AGHT+IEGpmUdLZzX069OIEKl9aZ+Vkx5QwJjjVxy1O4ie0eUKCMs9V18u7X/fRZEPuArnp6XcVr4 X-Received: by 2002:a05:6a00:61c8:b0:6f6:7bbd:bebf with SMTP id d2e1a72fcca58-6f67bbdbf3bmr6121007b3a.24.1715965946285; Fri, 17 May 2024 10:12:26 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715965946; cv=pass; d=google.com; s=arc-20160816; b=oMscP1VC4C4ka0LNXpOolHO+ZBagi+yQcn8CNCPsA5tWNCf0GAB9GwEoyLApVrrGBk ZpL+YiKPAdrNUxo3tlMSpOKVTdVuqqyw84X0kzB6EcIKdyThObiWCWsFruszjG3ixDSH 99tRAkbTCLPnVLv5g4BcPnNiDmnR1MTUp/VrE+gzLFNftyIf/CWQwGO10sk14I6uE1yG sHHezYfG4Pm6WwpyW0KdxuBDWZrhB4Z3mGj4OtVPdio651ItULdcX7iJDZgH39WlElJh m7QABUTDdfDEZlrifP629bA3awk0POTf2vWLlUrtPRAZYpj4XqovGPVqojCTmG/k9VsY yzWA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date; bh=sJP3Bvi4LZvT2V50/zdiKAgCKlmfC4y7jjdKq6zUFW0=; fh=wzeMTFoRsvdNnF0AO6wVGIdJ2jUB+o4d5Xm8vCtsljw=; b=dOPGvErWARDFuyElXwotd64R7WdHSDxWk7Ms3UyH7HAOmLD9dlTc1bzJjHEbSpw6qn KYx8Ja3B2Yk2+osovWcBUJeM1GBXusN2ZLkiNHGE7G+HX8XJvpD8ESZJfAbrF/aBWcxi y1C6h2vGycxX9SKsi1XbEQDJTFzzA4eYk6CWJMdKIfEIZ28gbH3yiGJMU4NerYrzpXpz qR9YMmrZ4B8bJ4UAhilyF//xzfO54yBbxnus88T1+OLr+83gvQliUZiVy6oiJ54fJljF 3jTzX24SlSGECQpdSz5QiKOuH4wT8vlel2eTK3iSNCiaVlLkskXax9TZLjx4iVlELvqf 6tWA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-182383-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-182383-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linux.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id d2e1a72fcca58-6f4d2aeefd0si17640655b3a.198.2024.05.17.10.12.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 May 2024 10:12:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-182383-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; arc=pass (i=1 spf=pass spfdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-182383-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-182383-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linux.com 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 BBE5C285C68 for ; Fri, 17 May 2024 17:12:25 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7327513DBA5; Fri, 17 May 2024 17:12:18 +0000 (UTC) Received: from mail-pg1-f169.google.com (mail-pg1-f169.google.com [209.85.215.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 B957013D8B9; Fri, 17 May 2024 17:12:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.169 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715965938; cv=none; b=WqcmmQ5BvrN5uORvEi3hckPdd5AxJnuTkjk+rmXKeytryMBBwK6zdi/eVQ3GSG9MhkiftyaLjNdHobTg36H7oxejyM3EdtDOSvIv0gRhUQPnJxJx5vR2VEFm/xzVJ8iqXbhcjlCqpuY7LTVn92UJ8xvadJqKer05FoOT1+l5cis= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715965938; c=relaxed/simple; bh=V7Moi5gWFU3OYOWp1ODvyUp0cpccJTi4lzeR8bBjtxc=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=TArLqOkx5p9i9RFaM/R13vFXnZuLfUCzju9K3OwFyzGicPWGslOoRzM2RTfxqHWqzCFKTekbzr71ZlMki+mVUeXGCCtY0fjfiDl/8gBk3Sm9UGFZWN9rXhjgMSOa45WmZucT+YWwuK7RZtygjuG3ks2jHq4rlLuNVMdD0rFk7Ws= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=linux.com; spf=pass smtp.mailfrom=gmail.com; arc=none smtp.client-ip=209.85.215.169 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=linux.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pg1-f169.google.com with SMTP id 41be03b00d2f7-5f80aa2d4a3so90824a12.0; Fri, 17 May 2024 10:12:16 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715965936; x=1716570736; h=in-reply-to: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=sJP3Bvi4LZvT2V50/zdiKAgCKlmfC4y7jjdKq6zUFW0=; b=bxOSrHTCPlneyUptUHRlx+YbJTqKK/J7pSpxOgypsUogf7eMGFSHI8ltP72Lbf7Cu2 X3iocQhu35dVNzNZHQCBMeuXxZuw6D+BpoJhkFkTn8XMjyBnbx2pIr5E20M1ht+pksE6 zx6WI3nEfg4f6LCDjF83DjdXqLgUt2ZFnlaf4jaYtx8YVFe/VO18CFSkkLuGEyjZ544w 0sKgUESGUkICPHc2dylyWgIePv1KzsrtaO4ZT/LQKoBfLGqkdb45YBs88c2krVknKps2 wfm5ge6rDDWNdmZC3mqqvVeL718etRF+wD25ijXPN1NAMaZpAOQkdGAHGNh8dJ7N7TuZ wHdw== X-Forwarded-Encrypted: i=1; AJvYcCUJ7Wl6cyxr1xoMeshLiNlZzMtIo5KcyflUEt3BP2IZINNoMFdJvd481TK2XTybHlyahka986XSileTXi7g7kKtDFvUDjtwnCffb3k3tZyQKRpRNy/+Qp5KepfbaaGQxeMOYJW10YnaBgCgFyvrrxYW4c8iCGoD95V7QHSSj8zNyx3gqQ== X-Gm-Message-State: AOJu0YyQRqM1RTD60IE3llmL6j1I5eGJ/req8i0FlURmo5C7zduUEhgk LGrezRbrDMvSR1C6vFOL6yWTnjlQ+Um2t0WQQ0j58qMhDsJdAH3Y X-Received: by 2002:a05:6a00:21c6:b0:6f4:9fc7:daf2 with SMTP id d2e1a72fcca58-6f4e02a5f45mr26551627b3a.7.1715965936009; Fri, 17 May 2024 10:12:16 -0700 (PDT) Received: from localhost (fpd11144dd.ap.nuro.jp. [209.17.68.221]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-6340b57ed97sm15246657a12.23.2024.05.17.10.12.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 May 2024 10:12:15 -0700 (PDT) Date: Sat, 18 May 2024 02:12:13 +0900 From: Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= To: Frank Li Cc: Bjorn Helgaas , Jingoo Han , Gustavo Pimentel , Manivannan Sadhasivam , Lorenzo Pieralisi , Rob Herring , Krzysztof Kozlowski , Conor Dooley , imx@lists.linux.dev, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Yoshihiro Shimoda , Serge Semin Subject: Re: [PATCH v8 0/5] PCI: dwc: Add common pme_turn_off message by using outbound iATU Message-ID: <20240517171213.GE1947919@rocinante> References: <20240418-pme_msg-v8-0-a54265c39742@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=us-ascii Content-Disposition: inline In-Reply-To: <20240418-pme_msg-v8-0-a54265c39742@nxp.com> > Involve an new and common mathod to send pme_turn_off() message. Previously > pme_turn_off() implement by platform related special register to trigge > it. > > But Yoshihiro give good idea by using iATU to send out message. Previously > Yoshihiro provide patches to raise INTx message by dummy write to outbound > iATU. > > Use similar mathod to send out pme_turn_off message. > > Previous two patches is picked from Yoshihiro' big patch serialise. > PCI: dwc: Change arguments of dw_pcie_prog_outbound_atu() > PCI: Add INTx Mechanism Messages macros > > PCI: Add PME_TURN_OFF message macro > dt-bindings: PCI: dwc: Add 'msg" register region, Add "msg" region to use > to map PCI msg. > > PCI: dwc: Add common pme_turn_off message method > Using common pme_turn_off() message if platform have not define their. Applied to controller/dwc, thank you! [01/05] PCI: Add INTx Mechanism Messages macros https://git.kernel.org/pci/pci/c/182e6ef0df77 [02/05] PCI: dwc: Consolidate args of dw_pcie_prog_outbound_atu() into a structure https://git.kernel.org/pci/pci/c/523d5018701d [03/05] PCI: dwc: Add outbound MSG TLPs support https://git.kernel.org/pci/pci/c/a683a0065ac1 [04/05] PCI: Add PCIE_MSG_CODE_PME_TURN_OFF message macro https://git.kernel.org/pci/pci/c/a61a1c5932b0 [05/05] PCI: dwc: Add generic MSG TLP support for sending PME_Turn_Off when system suspend https://git.kernel.org/pci/pci/c/33af7f463b68 Krzysztof