[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACPK8XfgbQvAN+RzXWV0zJ_s9u3huyqA-1rofpf__3ifyB_Vzw@mail.gmail.com>
Date: Mon, 21 Feb 2022 08:39:47 +0000
From: Joel Stanley <joel@....id.au>
To: Arnd Bergmann <arnd@...db.de>
Cc: "Verdun, Jean-Marie" <verdun@....com>,
Krzysztof Kozlowski <krzysztof.kozlowski@...onical.com>,
"Hawkins, Nick" <nick.hawkins@....com>,
Rob Herring <robh+dt@...nel.org>,
Russell King <linux@...linux.org.uk>,
Shawn Guo <shawnguo@...nel.org>,
Stanislav Jakubek <stano.jakubek@...il.com>,
Sam Ravnborg <sam@...nborg.org>,
Linus Walleij <linus.walleij@...aro.org>,
Hao Fang <fanghao11@...wei.com>,
"Russell King (Oracle)" <rmk+kernel@...linux.org.uk>,
Geert Uytterhoeven <geert+renesas@...der.be>,
Mark Rutland <mark.rutland@....com>,
Ard Biesheuvel <ardb@...nel.org>,
Anshuman Khandual <anshuman.khandual@....com>,
Lukas Bulwahn <lukas.bulwahn@...il.com>,
Masahiro Yamada <masahiroy@...nel.org>,
DTML <devicetree@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Linux ARM <linux-arm-kernel@...ts.infradead.org>,
OpenBMC Maillist <openbmc@...ts.ozlabs.org>
Subject: Re: [PATCH] Adding architectural support for HPE's GXP BMC. This is
the first of a series of patches to support HPE's BMC with Linux Kernel.
On Tue, 1 Feb 2022 at 09:00, Arnd Bergmann <arnd@...db.de> wrote:
>
> On Mon, Jan 31, 2022 at 7:52 PM Verdun, Jean-Marie <verdun@....com> wrote:
> >
> > - GXP is the name of the SoC. It has multiple implementations, which are currently compatibles. I don't think for the moment that we need to distinguished them. We might have a GXP v2 coming up but not before a certain amount of time which is far enough.
> > - This SoC is used to implement BMC features of HPE servers (all ProLiant, many Apollo, and Superdome machines)
>
> Is there any more specific name of the chip that can be used to identify the
> exact generation after a new one comes out? The normal way we handle
> compatible strings for devices is to start with a specific model number of
> the chip that integrates it, and then have later chips refer to the device by
> its new name, with the old one as a fallback. This makes drivers work out of
> the box when the device is unchanged, but gives you a way to distinguish them
> if a difference gets noticed after both revisions are already used.
>
> As with some of points that Krzysztof and others made previously, the goal
> here is to avoid binding incompatibilities in the future: anything that works
> in an upstream kernel should keep working in later versions, ideally
> allowing any combination of old and new dtb blobs in the bootloader
> with old or new kernel versions.
>
> > It does support many features including:
> > - ARMv7 architecture, and it is based on a Cortex A9 core
> > - Use an AXI bus to which
> > - a memory controller is attached, as well as multiple SPI interfaces to connect boot flash, and ROM flash, a 10/100/1000 Mac engine which supports SGMII (2 ports) and RMII
> > - Multiple I2C engines to drive connectivity with a host infrastructure
> > - A video engine which support VGA and DP, as well as an hardware video encder
> > - Multiple PCIe ports
> > - A PECI interface, and LPC eSPI
> > - Multiple UART for debug purpose, and Virtual UART for host connectivity
> > - A GPIO engine
>
> Thanks for the description. This seems quite normal then, similar to the
> aspeed and npcm BMC platforms that we support already. You can
> probably drop some of the people on the Cc list, but I would suggest you add
> the openbmc list and Joel Stanley (Cc'd now) in your next submissions, Joel
> would be the best person to review the parts that are BMC specific.
I had a call with some of the HPE developers a while back. It's good
to hear from you again.
As Arnd said, please cc me on your submissions and I'll provide
review. You can also cc openbmc@...ts.ozlabs.org to reach a wider
audience of BMC developers.
After our call the other month, I took a look at your latest kernel
tree and started teasing out something that could be submitted:
https://github.com/shenki/linux/commits/gxp
Hopefully this helps illustrate what we mean about breaking down the
patches into small logical chunks. Don't take what I've done there as
correct, but it's an indication. Feel free to re-use.
I encourage you to take a look at the aspeed device trees for
inspiration. The way they are organised into generations - 2400, 2500,
2600 - illistrate's Arnd's points about supporting multiple
generations of SoC with the one code base.
Cheers,
Joel
Powered by blists - more mailing lists