RE: [PATCH v5 1/2] platform/mellanox: Add bootctl driver for Mellanox BlueField Soc

2019-05-22 Thread Liming Sun
iver-...@vger.kernel.org; linux- > ker...@vger.kernel.org > Subject: Re: [PATCH v5 1/2] platform/mellanox: Add bootctl driver for > Mellanox BlueField Soc > > On Mon, May 20, 2019 at 10:44 PM Liming Sun wrote: > > > -Original Message- > > > From: Greg KH

RE: [PATCH v5 1/2] platform/mellanox: Add bootctl driver for Mellanox BlueField Soc

2019-05-22 Thread Liming Sun
sday, May 22, 2019 9:35 AM > To: Liming Sun > Cc: Andy Shevchenko ; Darren Hart ; > Vadim Pasternak ; David > Woods ; platform-driver-...@vger.kernel.org; > linux-kernel@vger.kernel.org; ard.biesheu...@linaro.org > Subject: Re: [PATCH v5 1/2] platform/mellanox: Add bootctl dri

Re: [PATCH v5 1/2] platform/mellanox: Add bootctl driver for Mellanox BlueField Soc

2019-05-22 Thread Mark Rutland
Hi Liming, On Fri, May 17, 2019 at 01:49:04PM -0400, Liming Sun wrote: > This commit adds the bootctl platform driver for Mellanox BlueField > Soc, which controls the eMMC boot partition swapping and sends SMC > calls to ATF running at exception level EL3 to program some system > register. This re

Re: [PATCH v5 1/2] platform/mellanox: Add bootctl driver for Mellanox BlueField Soc

2019-05-21 Thread Arnd Bergmann
ver-...@vger.kernel.org; > > linux-kernel@vger.kernel.org > > Subject: Re: [PATCH v5 1/2] platform/mellanox: Add bootctl driver for > > Mellanox BlueField Soc > > > > On Mon, May 20, 2019 at 06:07:44PM +, Liming Sun wrote: > > > > > +static struct

RE: [PATCH v5 1/2] platform/mellanox: Add bootctl driver for Mellanox BlueField Soc

2019-05-20 Thread Liming Sun
H v5 1/2] platform/mellanox: Add bootctl driver for > Mellanox BlueField Soc > > On Mon, May 20, 2019 at 06:07:44PM +, Liming Sun wrote: > > > > +static struct platform_driver mlxbf_bootctl_driver = { > > > > + .probe = mlxbf_bootctl_probe, > > >

Re: [PATCH v5 1/2] platform/mellanox: Add bootctl driver for Mellanox BlueField Soc

2019-05-20 Thread Greg KH
On Mon, May 20, 2019 at 06:07:44PM +, Liming Sun wrote: > > > +static struct platform_driver mlxbf_bootctl_driver = { > > > + .probe = mlxbf_bootctl_probe, > > > + .driver = { > > > + .name = "mlxbf-bootctl", > > > + .groups = mlxbf_bootctl_groups, > > > + .acpi_match_ta

RE: [PATCH v5 1/2] platform/mellanox: Add bootctl driver for Mellanox BlueField Soc

2019-05-20 Thread Liming Sun
H v5 1/2] platform/mellanox: Add bootctl driver for > Mellanox BlueField Soc > > On Fri, May 17, 2019 at 01:49:04PM -0400, Liming Sun wrote: > > This commit adds the bootctl platform driver for Mellanox BlueField > > Soc, which controls the eMMC boot partition swapping and sends

Re: [PATCH v5 1/2] platform/mellanox: Add bootctl driver for Mellanox BlueField Soc

2019-05-20 Thread Greg KH
On Fri, May 17, 2019 at 01:49:04PM -0400, Liming Sun wrote: > This commit adds the bootctl platform driver for Mellanox BlueField > Soc, which controls the eMMC boot partition swapping and sends SMC > calls to ATF running at exception level EL3 to program some system > register. This register is pe

[PATCH v5 1/2] platform/mellanox: Add bootctl driver for Mellanox BlueField Soc

2019-05-17 Thread Liming Sun
This commit adds the bootctl platform driver for Mellanox BlueField Soc, which controls the eMMC boot partition swapping and sends SMC calls to ATF running at exception level EL3 to program some system register. This register is persistent during warm reset and is only accessible in secure code whi