From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 06F8710E2; Wed, 28 Sep 2022 13:33:50 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A52D5C433D7; Wed, 28 Sep 2022 13:33:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1664372030; bh=b/FYU3aJ9ggOeVDclUSANnV7bmk+tzL6okjGvLPAgB4=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=hwbitYwa7jrTpzhRAI1tqG4RiKIgY7HRXka+LcFvMHjPKCf2onHfdzt3NDIFKThRF ZUts1qeD4YqT/vESskDF94vQ5pL/9spKiPvRFkLcSU5va1/gDb6CbzIAOkwgGJO+dB xuFCoWhU4A8SMYb1HFZflOOs45AkOZv3t1FNN0PgxILtQPe7xf/V6puED8aIgFlbwS 2tOsr9OEJzTf9rYLg/gaoZ2yZd9113OrrN+Cs/EZKY4Qk88PgmrM4xb2dkw8CeNrME 5xEq7GHO3JoiJ38PWFAxC5VDSlWvwLDYhgc7h4xFh52+iMp+pxSfmZ/lDwDRNTRa23 TPu/EeLGDwwZg== Received: from sofa.misterjones.org ([185.219.108.64] helo=goblin-girl.misterjones.org) by disco-boy.misterjones.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1odXC8-00DI4S-FT; Wed, 28 Sep 2022 14:33:48 +0100 Date: Wed, 28 Sep 2022 09:33:47 -0400 Message-ID: <86mtaj7hdw.wl-maz@kernel.org> From: Marc Zyngier To: Frank Li Cc: tglx@linutronix.de, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kw@linux.com, bhelgaas@google.com, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-pci@vger.kernel.org, peng.fan@nxp.com, aisheng.dong@nxp.com, jdmason@kudzu.us, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, kishon@ti.com, lorenzo.pieralisi@arm.com, ntb@lists.linux.dev, lznuaa@gmail.com, imx@lists.linux.dev, manivannan.sadhasivam@linaro.org Subject: Re: [PATCH v11 0/6] PCI EP driver support MSI doorbell from host In-Reply-To: <20220922161246.20586-1-Frank.Li@nxp.com> References: <20220922161246.20586-1-Frank.Li@nxp.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM-LB/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL-LB/10.8 EasyPG/1.0.0 Emacs/27.1 (aarch64-unknown-linux-gnu) MULE/6.0 (HANACHIRUSATO) Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-SA-Exim-Connect-IP: 185.219.108.64 X-SA-Exim-Rcpt-To: Frank.Li@nxp.com, tglx@linutronix.de, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kw@linux.com, bhelgaas@google.com, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-pci@vger.kernel.org, peng.fan@nxp.com, aisheng.dong@nxp.com, jdmason@kudzu.us, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, kishon@ti.com, lorenzo.pieralisi@arm.com, ntb@lists.linux.dev, lznuaa@gmail.com, imx@lists.linux.dev, manivannan.sadhasivam@linaro.org X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false On Thu, 22 Sep 2022 12:12:40 -0400, Frank Li wrote: >=20 >=20 >=20 > =E2=94=8C=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80= =E2=94=80=E2=94=80=E2=94=90 =E2=94=8C=E2=94=80=E2=94=80=E2=94=80= =E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=90 > =E2=94=82 =E2=94=82 =E2=94=82 = =E2=94=82 > =E2=94=8C=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80= =E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=90 =E2=94=82= =E2=94=82 =E2=94=82 PCI Host =E2=94=82 > =E2=94=82 MSI =E2=94=82=E2=97=84=E2=94=90 =E2=94=82 =E2=94= =82 =E2=94=82 =E2=94=82 > =E2=94=82 Controller =E2=94=82 =E2=94=82 =E2=94=82 =E2=94=82 = =E2=94=82 =E2=94=82 > =E2=94=94=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80= =E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=98 =E2=94=94= =E2=94=80=E2=94=BC=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2= =94=80=E2=94=BC=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94= =80=E2=94=80=E2=94=80=E2=94=80=E2=94=BC=E2=94=80Bar0 =E2=94=82 > =E2=94=82 PCI =E2=94=82 =E2=94=82 Bar1 = =E2=94=82 > =E2=94=82 Func =E2=94=82 =E2=94=82 Bar2 = =E2=94=82 > =E2=94=82 =E2=94=82 =E2=94=82 Bar3 = =E2=94=82 > =E2=94=82 =E2=94=82 =E2=94=82 Bar4 = =E2=94=82 > =E2=94=82 =E2=94=9C=E2=94=80=E2=94=80=E2=94=80=E2= =94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=96=BA=E2=94=82 = =E2=94=82 > =E2=94=94=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80= =E2=94=80=E2=94=80=E2=94=98 =E2=94=94=E2=94=80=E2=94=80=E2=94=80= =E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=98 >=20 > Many PCI controllers provided Endpoint functions. > Generally PCI endpoint is hardware, which is not running a rich OS, > like linux. >=20 > But Linux also supports endpoint functions. PCI Host write BAR space > like write to memory. The EP side can't know memory changed by the Host > driver.=20 >=20 > PCI Spec has not defined a standard method to do that. Only define > MSI(x) to let EP notified RC status change.=20 [...] FWIW, I have queued the first 4 patches of this series into -next. If there is a need for these patches to be pulled by another subsystem, I have pushed out a stable branch at [1]. Thanks, M. [1] https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git/l= og/?h=3Dirq/fsl-mu-msi --=20 Without deviation from the norm, progress is not possible.