From: Liming Sun <lsun@mellanox.com> To: Arnd Bergmann <arnd@arndb.de> Cc: DTML <devicetree@vger.kernel.org>, David Woods <dwoods@mellanox.com>, arm-soc <arm@kernel.org>, Olof Johansson <olof@lixom.net>, Robin Murphy <robin.murphy@arm.com>, Linux ARM <linux-arm-kernel@lists.infradead.org> Subject: RE: [PATCH v4 2/4] arm64: Add Mellanox BlueField SoC config option Date: Mon, 29 Oct 2018 14:58:21 +0000 [thread overview] Message-ID: <DB6PR05MB32236AAD033C20DF6414C464A1F30@DB6PR05MB3223.eurprd05.prod.outlook.com> (raw) In-Reply-To: <CAK8P3a2=shWVjwrmnNTwwGwN_jhwyb+TmeALz4zzTstho51z8A@mail.gmail.com> Thanks! Please see response inline. - Liming > -----Original Message----- > From: Arnd Bergmann [mailto:arnd@arndb.de] > Sent: Friday, October 26, 2018 3:32 PM > To: Liming Sun <lsun@mellanox.com> > Cc: Olof Johansson <olof@lixom.net>; David Woods > <dwoods@mellanox.com>; Robin Murphy <robin.murphy@arm.com>; arm- > soc <arm@kernel.org>; DTML <devicetree@vger.kernel.org>; Linux ARM > <linux-arm-kernel@lists.infradead.org> > Subject: Re: [PATCH v4 2/4] arm64: Add Mellanox BlueField SoC config option > > On Fri, Oct 26, 2018 at 9:18 PM Liming Sun <lsun@mellanox.com> wrote: > > > -----Original Message----- > > > From: arndbergmann@gmail.com [mailto:arndbergmann@gmail.com] On > > > Behalf Of Arnd Bergmann > > > Sent: Thursday, October 25, 2018 11:38 AM > > > To: Liming Sun <lsun@mellanox.com> > > > Cc: Olof Johansson <olof@lixom.net>; David Woods > > > <dwoods@mellanox.com>; Robin Murphy <robin.murphy@arm.com>; > arm- > > > soc <arm@kernel.org>; devicetree@vger.kernel.org; linux-arm- > > > kernel@lists.infradead.org > > > Subject: Re: [PATCH v4 2/4] arm64: Add Mellanox BlueField SoC config > option > > > > > > On 10/24/18, Liming Sun <lsun@mellanox.com> wrote: > > > > This commit introduces config option for Mellanox BlueField SoC, > > > > which can be used to build the SoC specific drivers, and enables > > > > it by default in configs/defconfig. > > > > > > > > Reviewed-by: David Woods <dwoods@mellanox.com> > > > > Signed-off-by: Liming Sun <lsun@mellanox.com> > > > > --- > > > > arch/arm64/Kconfig.platforms | 6 ++++++ > > > > arch/arm64/configs/defconfig | 1 + > > > > 2 files changed, 7 insertions(+) > > > > > > Reviewed-by: Arnd Bergmann <arnd@arndb.de> > > > > > > I'm sorry for missing your series in the past. We should definitely merge > > > the platform support soon. Do you also have device tree files for > reference > > > systems or even production hardware? > > > > We have obsoleted the device tree, and mainly support ACPI now > > on Reference/Production HW. Below is the TMFIFO definition in the ACPI > > DSDT table. > > > > // RShim TMFIFO > > Device(RSH0) { > > Name(_HID, "MLNXBF01") > > Name(_UID, Zero) > > Name(_CCA, 1) > > Name(_CRS, ResourceTemplate() { > > Memory32Fixed(ReadWrite, 0x00800a20, 0x00000018) > > Memory32Fixed(ReadWrite, 0x00800a40, 0x00000018) > > Interrupt(ResourceConsumer, Edge, ActiveHigh, Exclusive) > > { BF1_RSH0_TM_HTT_LWM_INT, > > BF1_RSH0_TM_HTT_HWM_INT, > > BF1_RSH0_TM_TTH_LWM_INT, > > BF1_RSH0_TM_TTH_HWM_INT > > } > > }) > > } > > > > The full ACPI implementation can be found in the 1.0 release: > > http://www.mellanox.com/downloads/BlueField/BlueField- > 1.0.0.10521/BlueField-1.0.0.10521.tar.xz > > Inside this tarball, we can see the "src/edk2/" directory which has the edk2 > patch file including all the ACPI implementation. > > It would be nice if you could still include the dts sources in the submission. > Since this is not a classic server hardware, DT is probably more suitable > here, and there are likely use cases that won't work with ACPI, so it's > good to have a starting point for your users if they need to override > the ACPI tables with a DT, or build systems with a simpler boot loader. Sure, I'll keep this DT change for reference. A little explanation that Mellanox BlueField SOC could be PCIe NIC or standalone device (server) form which can do PXE boot, CentOS installation even on the NIC, etc. The same software/driver works on both. DT seems not working well for some requirement/features like NVDIMM (which requires ACPI DSM). That's why we switched to ACPI though DT support is preserved. > > Arnd
WARNING: multiple messages have this Message-ID (diff)
From: lsun@mellanox.com (Liming Sun) To: linux-arm-kernel@lists.infradead.org Subject: [PATCH v4 2/4] arm64: Add Mellanox BlueField SoC config option Date: Mon, 29 Oct 2018 14:58:21 +0000 [thread overview] Message-ID: <DB6PR05MB32236AAD033C20DF6414C464A1F30@DB6PR05MB3223.eurprd05.prod.outlook.com> (raw) In-Reply-To: <CAK8P3a2=shWVjwrmnNTwwGwN_jhwyb+TmeALz4zzTstho51z8A@mail.gmail.com> Thanks! Please see response inline. - Liming > -----Original Message----- > From: Arnd Bergmann [mailto:arnd at arndb.de] > Sent: Friday, October 26, 2018 3:32 PM > To: Liming Sun <lsun@mellanox.com> > Cc: Olof Johansson <olof@lixom.net>; David Woods > <dwoods@mellanox.com>; Robin Murphy <robin.murphy@arm.com>; arm- > soc <arm@kernel.org>; DTML <devicetree@vger.kernel.org>; Linux ARM > <linux-arm-kernel@lists.infradead.org> > Subject: Re: [PATCH v4 2/4] arm64: Add Mellanox BlueField SoC config option > > On Fri, Oct 26, 2018 at 9:18 PM Liming Sun <lsun@mellanox.com> wrote: > > > -----Original Message----- > > > From: arndbergmann at gmail.com [mailto:arndbergmann at gmail.com] On > > > Behalf Of Arnd Bergmann > > > Sent: Thursday, October 25, 2018 11:38 AM > > > To: Liming Sun <lsun@mellanox.com> > > > Cc: Olof Johansson <olof@lixom.net>; David Woods > > > <dwoods@mellanox.com>; Robin Murphy <robin.murphy@arm.com>; > arm- > > > soc <arm@kernel.org>; devicetree at vger.kernel.org; linux-arm- > > > kernel at lists.infradead.org > > > Subject: Re: [PATCH v4 2/4] arm64: Add Mellanox BlueField SoC config > option > > > > > > On 10/24/18, Liming Sun <lsun@mellanox.com> wrote: > > > > This commit introduces config option for Mellanox BlueField SoC, > > > > which can be used to build the SoC specific drivers, and enables > > > > it by default in configs/defconfig. > > > > > > > > Reviewed-by: David Woods <dwoods@mellanox.com> > > > > Signed-off-by: Liming Sun <lsun@mellanox.com> > > > > --- > > > > arch/arm64/Kconfig.platforms | 6 ++++++ > > > > arch/arm64/configs/defconfig | 1 + > > > > 2 files changed, 7 insertions(+) > > > > > > Reviewed-by: Arnd Bergmann <arnd@arndb.de> > > > > > > I'm sorry for missing your series in the past. We should definitely merge > > > the platform support soon. Do you also have device tree files for > reference > > > systems or even production hardware? > > > > We have obsoleted the device tree, and mainly support ACPI now > > on Reference/Production HW. Below is the TMFIFO definition in the ACPI > > DSDT table. > > > > // RShim TMFIFO > > Device(RSH0) { > > Name(_HID, "MLNXBF01") > > Name(_UID, Zero) > > Name(_CCA, 1) > > Name(_CRS, ResourceTemplate() { > > Memory32Fixed(ReadWrite, 0x00800a20, 0x00000018) > > Memory32Fixed(ReadWrite, 0x00800a40, 0x00000018) > > Interrupt(ResourceConsumer, Edge, ActiveHigh, Exclusive) > > { BF1_RSH0_TM_HTT_LWM_INT, > > BF1_RSH0_TM_HTT_HWM_INT, > > BF1_RSH0_TM_TTH_LWM_INT, > > BF1_RSH0_TM_TTH_HWM_INT > > } > > }) > > } > > > > The full ACPI implementation can be found in the 1.0 release: > > http://www.mellanox.com/downloads/BlueField/BlueField- > 1.0.0.10521/BlueField-1.0.0.10521.tar.xz > > Inside this tarball, we can see the "src/edk2/" directory which has the edk2 > patch file including all the ACPI implementation. > > It would be nice if you could still include the dts sources in the submission. > Since this is not a classic server hardware, DT is probably more suitable > here, and there are likely use cases that won't work with ACPI, so it's > good to have a starting point for your users if they need to override > the ACPI tables with a DT, or build systems with a simpler boot loader. Sure, I'll keep this DT change for reference. A little explanation that Mellanox BlueField SOC could be PCIe NIC or standalone device (server) form which can do PXE boot, CentOS installation even on the NIC, etc. The same software/driver works on both. DT seems not working well for some requirement/features like NVDIMM (which requires ACPI DSM). That's why we switched to ACPI though DT support is preserved. > > Arnd
next prev parent reply other threads:[~2018-10-29 14:58 UTC|newest] Thread overview: 179+ messages / expand[flat|nested] mbox.gz Atom feed top 2018-05-25 16:06 [PATCH v1 1/4] soc: Add TmFifo driver for Mellanox BlueField Soc Liming Sun 2018-05-25 16:06 ` Liming Sun 2018-05-25 16:06 ` [PATCH v1 2/4] arm64: Add Mellanox BlueField SoC config option Liming Sun 2018-05-25 16:06 ` Liming Sun 2018-05-25 16:06 ` [PATCH v1 3/4] dt-bindings: soc: Add TmFifo binding for Mellanox BlueField SoC Liming Sun 2018-05-25 16:06 ` Liming Sun 2018-05-25 16:06 ` [PATCH v1 4/4] MAINTAINERS: Add entry for Mellanox Bluefield Soc Liming Sun 2018-05-25 16:06 ` Liming Sun 2018-05-25 17:14 ` [PATCH v1 1/4] soc: Add TmFifo driver for Mellanox BlueField Soc Robin Murphy 2018-05-25 17:14 ` Robin Murphy 2018-05-25 20:18 ` Liming Sun 2018-05-25 20:18 ` Liming Sun 2018-05-25 20:17 ` [PATCH v2 " Liming Sun 2018-05-25 20:17 ` Liming Sun 2018-05-25 20:17 ` [PATCH v2 2/4] arm64: Add Mellanox BlueField SoC config option Liming Sun 2018-05-25 20:17 ` Liming Sun 2018-05-25 20:17 ` [PATCH v2 3/4] dt-bindings: soc: Add TmFifo binding for Mellanox BlueField SoC Liming Sun 2018-05-25 20:17 ` Liming Sun 2018-05-31 3:43 ` Rob Herring 2018-05-31 3:43 ` Rob Herring 2018-06-01 14:31 ` Liming Sun 2018-06-01 14:31 ` Liming Sun 2018-05-25 20:17 ` [PATCH v2 4/4] MAINTAINERS: Add entry for Mellanox Bluefield Soc Liming Sun 2018-05-25 20:17 ` Liming Sun 2018-06-01 14:31 ` [PATCH v3 1/4] soc: Add TmFifo driver for Mellanox BlueField Soc Liming Sun 2018-06-01 14:31 ` Liming Sun 2018-06-01 14:31 ` [PATCH v3 2/4] arm64: Add Mellanox BlueField SoC config option Liming Sun 2018-06-01 14:31 ` Liming Sun 2018-06-01 14:31 ` [PATCH v3 3/4] dt-bindings: soc: Add TmFifo binding for Mellanox BlueField SoC Liming Sun 2018-06-01 14:31 ` Liming Sun 2018-06-11 18:19 ` Rob Herring 2018-06-11 18:19 ` Rob Herring 2018-06-01 14:31 ` [PATCH v3 4/4] MAINTAINERS: Add entry for Mellanox Bluefield Soc Liming Sun 2018-06-01 14:31 ` Liming Sun 2018-10-24 17:55 ` [PATCH v4 1/4] soc: Add TmFifo driver for Mellanox BlueField Soc Liming Sun 2018-10-24 17:55 ` Liming Sun 2018-10-25 15:57 ` Arnd Bergmann 2018-10-25 15:57 ` Arnd Bergmann 2018-10-26 18:24 ` Liming Sun 2018-10-26 18:24 ` Liming Sun 2018-10-26 18:35 ` Arnd Bergmann 2018-10-26 18:35 ` Arnd Bergmann 2018-10-29 14:17 ` Liming Sun 2018-10-29 14:17 ` Liming Sun 2018-10-29 14:52 ` Arnd Bergmann 2018-10-29 14:52 ` Arnd Bergmann 2018-12-04 22:12 ` Liming Sun 2018-12-04 22:12 ` Liming Sun 2018-10-24 17:55 ` [PATCH v4 2/4] arm64: Add Mellanox BlueField SoC config option Liming Sun 2018-10-24 17:55 ` Liming Sun 2018-10-25 15:38 ` Arnd Bergmann 2018-10-25 15:38 ` Arnd Bergmann 2018-10-26 19:18 ` Liming Sun 2018-10-26 19:18 ` Liming Sun 2018-10-26 19:32 ` Arnd Bergmann 2018-10-26 19:32 ` Arnd Bergmann 2018-10-29 14:58 ` Liming Sun [this message] 2018-10-29 14:58 ` Liming Sun 2018-10-29 15:26 ` Arnd Bergmann 2018-10-29 15:26 ` Arnd Bergmann 2018-10-29 16:09 ` Liming Sun 2018-10-29 16:09 ` Liming Sun 2018-10-24 17:55 ` [PATCH v4 3/4] dt-bindings: soc: Add TmFifo binding for Mellanox BlueField SoC Liming Sun 2018-10-24 17:55 ` Liming Sun 2018-10-25 15:32 ` Arnd Bergmann 2018-10-25 15:32 ` Arnd Bergmann 2018-10-26 19:36 ` Liming Sun 2018-10-26 19:36 ` Liming Sun 2018-10-26 20:33 ` Arnd Bergmann 2018-10-26 20:33 ` Arnd Bergmann 2018-10-29 16:48 ` Liming Sun 2018-10-29 16:48 ` Liming Sun 2019-01-24 15:07 ` Liming Sun 2019-01-24 15:07 ` Liming Sun 2018-10-24 17:55 ` [PATCH v4 4/4] MAINTAINERS: Add entry for Mellanox Bluefield Soc Liming Sun 2018-10-24 17:55 ` Liming Sun 2018-10-31 18:09 ` [PATCH v5 1/5] soc: Add TmFifo driver for Mellanox BlueField Soc Liming Sun 2018-10-31 18:09 ` Liming Sun 2018-10-31 18:09 ` [PATCH v5 2/5] arm64: Add Mellanox BlueField SoC config option Liming Sun 2018-10-31 18:09 ` Liming Sun 2018-10-31 18:09 ` [PATCH v5 3/5] dt-bindings: soc: Add TmFifo binding for Mellanox BlueField SoC Liming Sun 2018-10-31 18:09 ` Liming Sun 2018-10-31 18:09 ` [PATCH v5 4/5] MAINTAINERS: Add entry for Mellanox Bluefield Soc Liming Sun 2018-10-31 18:09 ` Liming Sun 2018-10-31 18:09 ` [PATCH v5 5/5] soc: mellanox: Add host side drivers to support Mellanox BlueField SoCs Liming Sun 2018-11-01 16:23 ` [PATCH v6 1/9] soc: Add TmFifo driver for Mellanox BlueField Soc Liming Sun 2018-11-01 16:23 ` Liming Sun 2018-12-12 23:07 ` Matthias Brugger 2018-12-12 23:07 ` Matthias Brugger 2019-01-03 19:20 ` Liming Sun 2019-01-03 19:20 ` Liming Sun 2018-11-01 16:25 ` Liming Sun 2018-11-01 16:25 ` Liming Sun 2018-11-01 16:25 ` [PATCH v6 2/9] arm64: Add Mellanox BlueField SoC config option Liming Sun 2018-11-01 16:25 ` Liming Sun 2018-11-01 16:25 ` [PATCH v6 3/9] dt-bindings: soc: Add TmFifo binding for Mellanox BlueField SoC Liming Sun 2018-11-01 16:25 ` Liming Sun 2018-11-01 16:25 ` [PATCH v6 4/9] MAINTAINERS: Add entry for Mellanox Bluefield Soc Liming Sun 2018-11-01 16:25 ` Liming Sun 2018-11-01 16:25 ` [PATCH v6 5/9] soc: mellanox: host: Add the common host side Rshim driver Liming Sun 2018-11-01 16:25 ` Liming Sun 2019-01-18 16:02 ` Arnd Bergmann 2019-01-18 16:02 ` Arnd Bergmann 2019-01-18 16:02 ` Arnd Bergmann 2019-01-21 19:22 ` Liming Sun 2019-01-21 19:22 ` Liming Sun 2019-01-21 19:22 ` Liming Sun 2019-01-22 12:20 ` Vincent Whitchurch 2019-01-22 12:20 ` Vincent Whitchurch 2019-01-22 12:20 ` Vincent Whitchurch 2019-01-22 13:27 ` Liming Sun 2019-01-22 13:36 ` Liming Sun 2019-01-22 13:36 ` Liming Sun 2019-01-22 13:36 ` Liming Sun 2018-11-01 16:25 ` [PATCH v6 6/9] soc: mellanox: host: Add networking support over Rshim Liming Sun 2018-11-01 16:25 ` Liming Sun 2018-11-01 16:25 ` [PATCH v6 7/9] soc: mellanox: host: Add the Rshim USB backend driver Liming Sun 2018-11-01 16:25 ` Liming Sun 2018-11-01 16:25 ` [PATCH v6 8/9] soc: mellanox: host: Add the Rshim PCIe " Liming Sun 2018-11-01 16:25 ` Liming Sun 2018-11-01 16:25 ` [PATCH v6 9/9] soc: mellanox: host: Add the Rshim PCIe live-fish " Liming Sun 2018-11-01 16:25 ` Liming Sun 2019-01-03 19:17 ` [PATCH v7 1/9] soc: Add TmFifo driver for Mellanox BlueField Soc Liming Sun 2019-01-03 19:17 ` Liming Sun 2019-03-15 13:18 ` Matthias Brugger 2019-03-15 13:18 ` Matthias Brugger 2019-01-03 19:17 ` [PATCH v7 2/9] arm64: Add Mellanox BlueField SoC config option Liming Sun 2019-01-03 19:17 ` Liming Sun 2019-01-03 19:17 ` [PATCH v7 3/9] dt-bindings: soc: Add TmFifo binding for Mellanox BlueField SoC Liming Sun 2019-01-03 19:17 ` Liming Sun 2019-01-03 19:17 ` [PATCH v7 4/9] MAINTAINERS: Add entry for Mellanox Bluefield Soc Liming Sun 2019-01-03 19:17 ` Liming Sun 2019-01-03 19:17 ` [PATCH v7 5/9] soc: mellanox: host: Add the common host side Rshim driver Liming Sun 2019-01-03 19:17 ` Liming Sun 2019-01-03 19:17 ` [PATCH v7 6/9] soc: mellanox: host: Add networking support over Rshim Liming Sun 2019-01-03 19:17 ` Liming Sun 2019-01-03 19:17 ` [PATCH v7 7/9] soc: mellanox: host: Add the Rshim USB backend driver Liming Sun 2019-01-03 19:17 ` Liming Sun 2019-01-03 19:17 ` [PATCH v7 8/9] soc: mellanox: host: Add the Rshim PCIe " Liming Sun 2019-01-03 19:17 ` Liming Sun 2019-01-03 19:17 ` [PATCH v7 9/9] soc: mellanox: host: Add the Rshim PCIe live-fish " Liming Sun 2019-01-03 19:17 ` Liming Sun 2019-01-21 19:17 ` [PATCH v7 0/9] Mellanox BlueField ARM SoC Rshim driver Liming Sun 2019-01-21 19:17 ` Liming Sun 2019-02-18 13:24 ` Arnd Bergmann 2019-02-18 13:24 ` Arnd Bergmann 2019-01-28 17:28 ` [PATCH v8 0/2] TmFifo platform driver for Mellanox BlueField SoC Liming Sun 2019-01-28 17:28 ` [PATCH v8 1/2] platform/mellanox: Add TmFifo driver for Mellanox BlueField Soc Liming Sun 2019-01-29 22:06 ` Andy Shevchenko 2019-02-13 13:34 ` Liming Sun 2019-02-13 16:33 ` Liming Sun 2019-01-30 6:24 ` Vadim Pasternak 2019-01-30 6:24 ` Vadim Pasternak 2019-02-13 13:42 ` Liming Sun 2019-01-28 17:28 ` [PATCH v8 2/2] dt-bindings: soc: Add TmFifo binding for Mellanox BlueField SoC Liming Sun 2019-02-13 13:27 ` [PATCH v9] platform/mellanox: Add TmFifo driver for Mellanox BlueField Soc Liming Sun 2019-02-13 18:11 ` Andy Shevchenko 2019-02-13 18:34 ` Liming Sun 2019-02-14 16:25 ` Liming Sun 2019-02-28 15:51 ` Liming Sun 2019-02-28 15:51 ` [PATCH v10] " Liming Sun 2019-03-05 15:34 ` Andy Shevchenko 2019-03-06 20:00 ` Liming Sun 2019-03-08 14:44 ` Liming Sun 2019-03-08 14:41 ` [PATCH v11] " Liming Sun 2019-03-26 21:13 ` Liming Sun 2019-03-28 19:56 ` [PATCH v12] " Liming Sun 2019-04-04 19:36 ` [PATCH v13] " Liming Sun 2019-04-05 15:44 ` Andy Shevchenko 2019-04-05 19:10 ` Liming Sun 2019-04-07 2:05 ` Liming Sun 2019-04-11 14:13 ` Andy Shevchenko 2019-04-12 16:15 ` Liming Sun 2019-04-07 2:03 ` [PATCH v14] " Liming Sun 2019-04-11 14:09 ` Andy Shevchenko 2019-04-12 14:23 ` Liming Sun 2019-04-12 17:30 ` [PATCH v15] " Liming Sun 2019-05-03 13:49 ` [PATCH v16] " Liming Sun 2019-05-06 9:13 ` Andy Shevchenko
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=DB6PR05MB32236AAD033C20DF6414C464A1F30@DB6PR05MB3223.eurprd05.prod.outlook.com \ --to=lsun@mellanox.com \ --cc=arm@kernel.org \ --cc=arnd@arndb.de \ --cc=devicetree@vger.kernel.org \ --cc=dwoods@mellanox.com \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=olof@lixom.net \ --cc=robin.murphy@arm.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.