mbox series

[0/4] Adding support to load secure firmware for HS devices

Message ID 20240521105648.3780072-1-u-kumar1@ti.com
Headers show
Series Adding support to load secure firmware for HS devices | expand

Message

Kumar, Udit May 21, 2024, 10:56 a.m. UTC
Some use case needs rproc firmware to be loaded at u-boot stage,
using following commands at u-boot shell, firmware could be loaded

=> setenv dorprocboot 1
=> run boot_rprocs

For Secure devices, secure version of rproc firmware should be loaded,
which is appended by sec keyword[0].
but currently non-secure firmware is loaded even for secure devices.
So adding support for loading secure firmware on Secured devices.

[0]: https://gist.github.com/uditkumarti/cd8bf6a448079b59145d17a0e8bf13b7

Bootlogs:
GP : https://gist.github.com/uditkumarti/23a00c313e1c28b62537aab733a585df#file-gp_device line 65 onwards
HS : https://gist.github.com/uditkumarti/23a00c313e1c28b62537aab733a585df#file-hs-device line 60 onwards


Manorit Chawdhry (3):
  include: mach-k3: move k3 security functions to security.h
  drivers: remoteproc: ti_k3 : enable secure booting with firmware
    images
  mach-k3: common.c: add a flag for booting authenticated rproc binaries

Udit Kumar (1):
  include: env: ti: Add support for secure firmwares

 arch/arm/mach-k3/common.c                |  4 +++-
 arch/arm/mach-k3/common.h                |  4 ++--
 arch/arm/mach-k3/include/mach/security.h | 11 +++++++++++
 drivers/remoteproc/ti_k3_dsp_rproc.c     |  4 ++++
 drivers/remoteproc/ti_k3_r5f_rproc.c     |  4 ++++
 include/env/ti/k3_rproc.env              |  6 +++++-
 include/env/ti/ti_common.env             |  1 +
 7 files changed, 30 insertions(+), 4 deletions(-)
 create mode 100644 arch/arm/mach-k3/include/mach/security.h

Comments

Andy Shevchenko May 21, 2024, 2:29 p.m. UTC | #1
On Tue, May 21, 2024 at 04:26:44PM +0530, Udit Kumar wrote:
> Some use case needs rproc firmware to be loaded at u-boot stage,
> using following commands at u-boot shell, firmware could be loaded
> 
> => setenv dorprocboot 1
> => run boot_rprocs
> 
> For Secure devices, secure version of rproc firmware should be loaded,
> which is appended by sec keyword[0].
> but currently non-secure firmware is loaded even for secure devices.
> So adding support for loading secure firmware on Secured devices.

Are you Cc'ing random people with this?
Please don't do it.
Kumar, Udit May 21, 2024, 3:29 p.m. UTC | #2
On 5/21/2024 7:59 PM, Andy Shevchenko wrote:
> On Tue, May 21, 2024 at 04:26:44PM +0530, Udit Kumar wrote:
>> Some use case needs rproc firmware to be loaded at u-boot stage,
>> using following commands at u-boot shell, firmware could be loaded
>>
>> => setenv dorprocboot 1
>> => run boot_rprocs
>>
>> For Secure devices, secure version of rproc firmware should be loaded,
>> which is appended by sec keyword[0].
>> but currently non-secure firmware is loaded even for secure devices.
>> So adding support for loading secure firmware on Secured devices.
> Are you Cc'ing random people with this?
> Please don't do it.

I used names names popped up while running get_maintainer.pl script of 
u-boot

your email id was there for patch-3 of this series

./scripts/get_maintainer.pl 
0003-include-env-ti-Add-support-for-secure-firmwares.patch
Joe Hershberger <joe.hershberger@ni.com> (maintainer:ENVIRONMENT)
Tom Rini <trini@konsulko.com> (maintainer:THE REST)
Udit Kumar <u-kumar1@ti.com> 
(commit_signer:1/2=50%,authored:1/2=50%,commit_signer:1/7=14%,authored:1/7=14%)
Simon Glass <sjg@chromium.org> 
(commit_signer:1/2=50%,authored:1/2=50%,authored:1/7=14%)
Andy Shevchenko <andriy.shevchenko@linux.intel.com> (commit_signer:1/2=50%)
Bin Meng <bmeng.cn@gmail.com> (commit_signer:1/2=50%)
Manorit Chawdhry <m-chawdhry@ti.com> 
(commit_signer:1/2=50%,commit_signer:5/7=71%,authored:4/7=57%)
Mattijs Korpershoek <mkorpershoek@baylibre.com> (commit_signer:4/7=57%)
Nishanth Menon <nm@ti.com> (commit_signer:1/7=14%,authored:1/7=14%)
Siddharth Vadapalli <s-vadapalli@ti.com> (commit_signer:1/7=14%)
u-boot@lists.denx.de (open list)
Andy Shevchenko May 21, 2024, 4:12 p.m. UTC | #3
On Tue, May 21, 2024 at 08:59:17PM +0530, Kumar, Udit wrote:
> On 5/21/2024 7:59 PM, Andy Shevchenko wrote:
> > On Tue, May 21, 2024 at 04:26:44PM +0530, Udit Kumar wrote:

...

> > Are you Cc'ing random people with this?
> > Please don't do it.
> 
> I used names names popped up while running get_maintainer.pl script of
> u-boot
> 
> your email id was there for patch-3 of this series

Nice, the tool is broken. Please, work with the respective people to fix a tool
or to tune it to avoid such mistakes in the future.

(Hint: I would first disable Git fallback completely)

> ./scripts/get_maintainer.pl
> 0003-include-env-ti-Add-support-for-secure-firmwares.patch
> Joe Hershberger <joe.hershberger@ni.com> (maintainer:ENVIRONMENT)
> Tom Rini <trini@konsulko.com> (maintainer:THE REST)
> Udit Kumar <u-kumar1@ti.com> (commit_signer:1/2=50%,authored:1/2=50%,commit_signer:1/7=14%,authored:1/7=14%)
> Simon Glass <sjg@chromium.org>
> (commit_signer:1/2=50%,authored:1/2=50%,authored:1/7=14%)
> Andy Shevchenko <andriy.shevchenko@linux.intel.com> (commit_signer:1/2=50%)
> Bin Meng <bmeng.cn@gmail.com> (commit_signer:1/2=50%)
> Manorit Chawdhry <m-chawdhry@ti.com>
> (commit_signer:1/2=50%,commit_signer:5/7=71%,authored:4/7=57%)
> Mattijs Korpershoek <mkorpershoek@baylibre.com> (commit_signer:4/7=57%)
> Nishanth Menon <nm@ti.com> (commit_signer:1/7=14%,authored:1/7=14%)
> Siddharth Vadapalli <s-vadapalli@ti.com> (commit_signer:1/7=14%)
> u-boot@lists.denx.de (open list)
Tom Rini May 21, 2024, 4:21 p.m. UTC | #4
On Tue, May 21, 2024 at 07:12:09PM +0300, Andy Shevchenko wrote:
> On Tue, May 21, 2024 at 08:59:17PM +0530, Kumar, Udit wrote:
> > On 5/21/2024 7:59 PM, Andy Shevchenko wrote:
> > > On Tue, May 21, 2024 at 04:26:44PM +0530, Udit Kumar wrote:
> 
> ...
> 
> > > Are you Cc'ing random people with this?
> > > Please don't do it.
> > 
> > I used names names popped up while running get_maintainer.pl script of
> > u-boot
> > 
> > your email id was there for patch-3 of this series
> 
> Nice, the tool is broken. Please, work with the respective people to fix a tool
> or to tune it to avoid such mistakes in the future.
> 
> (Hint: I would first disable Git fallback completely)

So you were cc'd thanks to:
commit 5e541a05f70296dbad07fc1f4e8678ad207bb476
Author: Simon Glass <sjg@chromium.org>
Date:   Sun Jul 30 21:01:45 2023 -0600

    env: Use include/env for text-environment includes
    
    The 'environment' word is too long. We mostly use 'env' in U-Boot, so use
    that as the name of the include directory too.
    
    Signed-off-by: Simon Glass <sjg@chromium.org>
    Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> # Intel Edison
    Reviewed-by: Bin Meng <bmeng.cn@gmail.com>

And, I'm sorry because there are other contributors who get upset when git
fallback doesn't find them (because it also ages out after a year).
In this case there's not even a "tweak the threshold" option since
there's only a single commit to the file so you're in 100% of them.
Andy Shevchenko May 21, 2024, 4:35 p.m. UTC | #5
On Tue, May 21, 2024 at 10:21:45AM -0600, Tom Rini wrote:
> On Tue, May 21, 2024 at 07:12:09PM +0300, Andy Shevchenko wrote:
> > On Tue, May 21, 2024 at 08:59:17PM +0530, Kumar, Udit wrote:
> > > On 5/21/2024 7:59 PM, Andy Shevchenko wrote:
> > > > On Tue, May 21, 2024 at 04:26:44PM +0530, Udit Kumar wrote:

...

> > > > Are you Cc'ing random people with this?
> > > > Please don't do it.
> > > 
> > > I used names names popped up while running get_maintainer.pl script of
> > > u-boot
> > > 
> > > your email id was there for patch-3 of this series
> > 
> > Nice, the tool is broken. Please, work with the respective people to fix a tool
> > or to tune it to avoid such mistakes in the future.
> > 
> > (Hint: I would first disable Git fallback completely)
> 
> So you were cc'd thanks to:
> commit 5e541a05f70296dbad07fc1f4e8678ad207bb476
> Author: Simon Glass <sjg@chromium.org>
> Date:   Sun Jul 30 21:01:45 2023 -0600
> 
>     env: Use include/env for text-environment includes
>     
>     The 'environment' word is too long. We mostly use 'env' in U-Boot, so use
>     that as the name of the include directory too.
>     
>     Signed-off-by: Simon Glass <sjg@chromium.org>
>     Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> # Intel Edison

Yeah, and it even explicitly stated what I reviewed from that code...

>     Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
> 
> And, I'm sorry because there are other contributors who get upset when git
> fallback doesn't find them (because it also ages out after a year).
> In this case there's not even a "tweak the threshold" option since
> there's only a single commit to the file so you're in 100% of them.

Just an example of false positive by get_maintainer.pl :-(
And a confirmation of what I said — tool is broken.
Tom Rini May 21, 2024, 4:45 p.m. UTC | #6
On Tue, May 21, 2024 at 07:35:55PM +0300, Andy Shevchenko wrote:
> On Tue, May 21, 2024 at 10:21:45AM -0600, Tom Rini wrote:
> > On Tue, May 21, 2024 at 07:12:09PM +0300, Andy Shevchenko wrote:
> > > On Tue, May 21, 2024 at 08:59:17PM +0530, Kumar, Udit wrote:
> > > > On 5/21/2024 7:59 PM, Andy Shevchenko wrote:
> > > > > On Tue, May 21, 2024 at 04:26:44PM +0530, Udit Kumar wrote:
> 
> ...
> 
> > > > > Are you Cc'ing random people with this?
> > > > > Please don't do it.
> > > > 
> > > > I used names names popped up while running get_maintainer.pl script of
> > > > u-boot
> > > > 
> > > > your email id was there for patch-3 of this series
> > > 
> > > Nice, the tool is broken. Please, work with the respective people to fix a tool
> > > or to tune it to avoid such mistakes in the future.
> > > 
> > > (Hint: I would first disable Git fallback completely)
> > 
> > So you were cc'd thanks to:
> > commit 5e541a05f70296dbad07fc1f4e8678ad207bb476
> > Author: Simon Glass <sjg@chromium.org>
> > Date:   Sun Jul 30 21:01:45 2023 -0600
> > 
> >     env: Use include/env for text-environment includes
> >     
> >     The 'environment' word is too long. We mostly use 'env' in U-Boot, so use
> >     that as the name of the include directory too.
> >     
> >     Signed-off-by: Simon Glass <sjg@chromium.org>
> >     Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> # Intel Edison
> 
> Yeah, and it even explicitly stated what I reviewed from that code...
> 
> >     Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
> > 
> > And, I'm sorry because there are other contributors who get upset when git
> > fallback doesn't find them (because it also ages out after a year).
> > In this case there's not even a "tweak the threshold" option since
> > there's only a single commit to the file so you're in 100% of them.
> 
> Just an example of false positive by get_maintainer.pl :-(
> And a confirmation of what I said — tool is broken.

It's an imperfect tool, yes. A quick check shows that if you never want
to be cc'd from a git tag, you can add yourself to
.get_maintainer.ignore and you will still be matched for things you have
an explicit MAINTAINER entry for.
Andy Shevchenko May 21, 2024, 5:48 p.m. UTC | #7
On Tue, May 21, 2024 at 10:45:41AM -0600, Tom Rini wrote:
> On Tue, May 21, 2024 at 07:35:55PM +0300, Andy Shevchenko wrote:
> > On Tue, May 21, 2024 at 10:21:45AM -0600, Tom Rini wrote:
> > > On Tue, May 21, 2024 at 07:12:09PM +0300, Andy Shevchenko wrote:
> > > > On Tue, May 21, 2024 at 08:59:17PM +0530, Kumar, Udit wrote:
> > > > > On 5/21/2024 7:59 PM, Andy Shevchenko wrote:
> > > > > > On Tue, May 21, 2024 at 04:26:44PM +0530, Udit Kumar wrote:

...

> > > > > > Are you Cc'ing random people with this?
> > > > > > Please don't do it.
> > > > > 
> > > > > I used names names popped up while running get_maintainer.pl script of
> > > > > u-boot
> > > > > 
> > > > > your email id was there for patch-3 of this series
> > > > 
> > > > Nice, the tool is broken. Please, work with the respective people to fix a tool
> > > > or to tune it to avoid such mistakes in the future.
> > > > 
> > > > (Hint: I would first disable Git fallback completely)
> > > 
> > > So you were cc'd thanks to:
> > > commit 5e541a05f70296dbad07fc1f4e8678ad207bb476
> > > Author: Simon Glass <sjg@chromium.org>
> > > Date:   Sun Jul 30 21:01:45 2023 -0600
> > > 
> > >     env: Use include/env for text-environment includes
> > >     
> > >     The 'environment' word is too long. We mostly use 'env' in U-Boot, so use
> > >     that as the name of the include directory too.
> > >     
> > >     Signed-off-by: Simon Glass <sjg@chromium.org>
> > >     Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> # Intel Edison
> > 
> > Yeah, and it even explicitly stated what I reviewed from that code...
> > 
> > >     Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
> > > 
> > > And, I'm sorry because there are other contributors who get upset when git
> > > fallback doesn't find them (because it also ages out after a year).
> > > In this case there's not even a "tweak the threshold" option since
> > > there's only a single commit to the file so you're in 100% of them.
> > 
> > Just an example of false positive by get_maintainer.pl :-(
> > And a confirmation of what I said — tool is broken.
> 
> It's an imperfect tool, yes. A quick check shows that if you never want
> to be cc'd from a git tag, you can add yourself to
> .get_maintainer.ignore and you will still be matched for things you have
> an explicit MAINTAINER entry for.

But this will kill me being a maintainer of U-Boot parts (regarding to
a certain platform) which is not what I want.
Tom Rini May 21, 2024, 5:52 p.m. UTC | #8
On Tue, May 21, 2024 at 08:48:54PM +0300, Andy Shevchenko wrote:
> On Tue, May 21, 2024 at 10:45:41AM -0600, Tom Rini wrote:
> > On Tue, May 21, 2024 at 07:35:55PM +0300, Andy Shevchenko wrote:
> > > On Tue, May 21, 2024 at 10:21:45AM -0600, Tom Rini wrote:
> > > > On Tue, May 21, 2024 at 07:12:09PM +0300, Andy Shevchenko wrote:
> > > > > On Tue, May 21, 2024 at 08:59:17PM +0530, Kumar, Udit wrote:
> > > > > > On 5/21/2024 7:59 PM, Andy Shevchenko wrote:
> > > > > > > On Tue, May 21, 2024 at 04:26:44PM +0530, Udit Kumar wrote:
> 
> ...
> 
> > > > > > > Are you Cc'ing random people with this?
> > > > > > > Please don't do it.
> > > > > > 
> > > > > > I used names names popped up while running get_maintainer.pl script of
> > > > > > u-boot
> > > > > > 
> > > > > > your email id was there for patch-3 of this series
> > > > > 
> > > > > Nice, the tool is broken. Please, work with the respective people to fix a tool
> > > > > or to tune it to avoid such mistakes in the future.
> > > > > 
> > > > > (Hint: I would first disable Git fallback completely)
> > > > 
> > > > So you were cc'd thanks to:
> > > > commit 5e541a05f70296dbad07fc1f4e8678ad207bb476
> > > > Author: Simon Glass <sjg@chromium.org>
> > > > Date:   Sun Jul 30 21:01:45 2023 -0600
> > > > 
> > > >     env: Use include/env for text-environment includes
> > > >     
> > > >     The 'environment' word is too long. We mostly use 'env' in U-Boot, so use
> > > >     that as the name of the include directory too.
> > > >     
> > > >     Signed-off-by: Simon Glass <sjg@chromium.org>
> > > >     Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> # Intel Edison
> > > 
> > > Yeah, and it even explicitly stated what I reviewed from that code...
> > > 
> > > >     Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
> > > > 
> > > > And, I'm sorry because there are other contributors who get upset when git
> > > > fallback doesn't find them (because it also ages out after a year).
> > > > In this case there's not even a "tweak the threshold" option since
> > > > there's only a single commit to the file so you're in 100% of them.
> > > 
> > > Just an example of false positive by get_maintainer.pl :-(
> > > And a confirmation of what I said — tool is broken.
> > 
> > It's an imperfect tool, yes. A quick check shows that if you never want
> > to be cc'd from a git tag, you can add yourself to
> > .get_maintainer.ignore and you will still be matched for things you have
> > an explicit MAINTAINER entry for.
> 
> But this will kill me being a maintainer of U-Boot parts (regarding to
> a certain platform) which is not what I want.

With a quick local test, no, it still reported you for edison stuff
since that's not where the ignore list comes in.
Andy Shevchenko May 21, 2024, 6:55 p.m. UTC | #9
On Tue, May 21, 2024 at 11:52:47AM -0600, Tom Rini wrote:
> On Tue, May 21, 2024 at 08:48:54PM +0300, Andy Shevchenko wrote:
> > On Tue, May 21, 2024 at 10:45:41AM -0600, Tom Rini wrote:
> > > On Tue, May 21, 2024 at 07:35:55PM +0300, Andy Shevchenko wrote:
> > > > On Tue, May 21, 2024 at 10:21:45AM -0600, Tom Rini wrote:
> > > > > On Tue, May 21, 2024 at 07:12:09PM +0300, Andy Shevchenko wrote:
> > > > > > On Tue, May 21, 2024 at 08:59:17PM +0530, Kumar, Udit wrote:
> > > > > > > On 5/21/2024 7:59 PM, Andy Shevchenko wrote:
> > > > > > > > On Tue, May 21, 2024 at 04:26:44PM +0530, Udit Kumar wrote:

...

> > > > > > > > Are you Cc'ing random people with this?
> > > > > > > > Please don't do it.
> > > > > > > 
> > > > > > > I used names names popped up while running get_maintainer.pl script of
> > > > > > > u-boot
> > > > > > > 
> > > > > > > your email id was there for patch-3 of this series
> > > > > > 
> > > > > > Nice, the tool is broken. Please, work with the respective people to fix a tool
> > > > > > or to tune it to avoid such mistakes in the future.
> > > > > > 
> > > > > > (Hint: I would first disable Git fallback completely)
> > > > > 
> > > > > So you were cc'd thanks to:
> > > > > commit 5e541a05f70296dbad07fc1f4e8678ad207bb476
> > > > > Author: Simon Glass <sjg@chromium.org>
> > > > > Date:   Sun Jul 30 21:01:45 2023 -0600
> > > > > 
> > > > >     env: Use include/env for text-environment includes
> > > > >     
> > > > >     The 'environment' word is too long. We mostly use 'env' in U-Boot, so use
> > > > >     that as the name of the include directory too.
> > > > >     
> > > > >     Signed-off-by: Simon Glass <sjg@chromium.org>
> > > > >     Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> # Intel Edison
> > > > 
> > > > Yeah, and it even explicitly stated what I reviewed from that code...
> > > > 
> > > > >     Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
> > > > > 
> > > > > And, I'm sorry because there are other contributors who get upset when git
> > > > > fallback doesn't find them (because it also ages out after a year).
> > > > > In this case there's not even a "tweak the threshold" option since
> > > > > there's only a single commit to the file so you're in 100% of them.
> > > > 
> > > > Just an example of false positive by get_maintainer.pl :-(
> > > > And a confirmation of what I said — tool is broken.
> > > 
> > > It's an imperfect tool, yes. A quick check shows that if you never want
> > > to be cc'd from a git tag, you can add yourself to
> > > .get_maintainer.ignore and you will still be matched for things you have
> > > an explicit MAINTAINER entry for.
> > 
> > But this will kill me being a maintainer of U-Boot parts (regarding to
> > a certain platform) which is not what I want.
> 
> With a quick local test, no, it still reported you for edison stuff
> since that's not where the ignore list comes in.

I see. Still looking at the rate of false positives so far from U-Boot project
I don't see that a big hammer, like the proposed one, should be used. Better to
teach people on how to use/tune the tool, it will be helpful in a long-term.
Tom Rini May 21, 2024, 7:23 p.m. UTC | #10
On Tue, May 21, 2024 at 09:55:19PM +0300, Andy Shevchenko wrote:
> On Tue, May 21, 2024 at 11:52:47AM -0600, Tom Rini wrote:
> > On Tue, May 21, 2024 at 08:48:54PM +0300, Andy Shevchenko wrote:
> > > On Tue, May 21, 2024 at 10:45:41AM -0600, Tom Rini wrote:
> > > > On Tue, May 21, 2024 at 07:35:55PM +0300, Andy Shevchenko wrote:
> > > > > On Tue, May 21, 2024 at 10:21:45AM -0600, Tom Rini wrote:
> > > > > > On Tue, May 21, 2024 at 07:12:09PM +0300, Andy Shevchenko wrote:
> > > > > > > On Tue, May 21, 2024 at 08:59:17PM +0530, Kumar, Udit wrote:
> > > > > > > > On 5/21/2024 7:59 PM, Andy Shevchenko wrote:
> > > > > > > > > On Tue, May 21, 2024 at 04:26:44PM +0530, Udit Kumar wrote:
> 
> ...
> 
> > > > > > > > > Are you Cc'ing random people with this?
> > > > > > > > > Please don't do it.
> > > > > > > > 
> > > > > > > > I used names names popped up while running get_maintainer.pl script of
> > > > > > > > u-boot
> > > > > > > > 
> > > > > > > > your email id was there for patch-3 of this series
> > > > > > > 
> > > > > > > Nice, the tool is broken. Please, work with the respective people to fix a tool
> > > > > > > or to tune it to avoid such mistakes in the future.
> > > > > > > 
> > > > > > > (Hint: I would first disable Git fallback completely)
> > > > > > 
> > > > > > So you were cc'd thanks to:
> > > > > > commit 5e541a05f70296dbad07fc1f4e8678ad207bb476
> > > > > > Author: Simon Glass <sjg@chromium.org>
> > > > > > Date:   Sun Jul 30 21:01:45 2023 -0600
> > > > > > 
> > > > > >     env: Use include/env for text-environment includes
> > > > > >     
> > > > > >     The 'environment' word is too long. We mostly use 'env' in U-Boot, so use
> > > > > >     that as the name of the include directory too.
> > > > > >     
> > > > > >     Signed-off-by: Simon Glass <sjg@chromium.org>
> > > > > >     Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> # Intel Edison
> > > > > 
> > > > > Yeah, and it even explicitly stated what I reviewed from that code...
> > > > > 
> > > > > >     Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
> > > > > > 
> > > > > > And, I'm sorry because there are other contributors who get upset when git
> > > > > > fallback doesn't find them (because it also ages out after a year).
> > > > > > In this case there's not even a "tweak the threshold" option since
> > > > > > there's only a single commit to the file so you're in 100% of them.
> > > > > 
> > > > > Just an example of false positive by get_maintainer.pl :-(
> > > > > And a confirmation of what I said — tool is broken.
> > > > 
> > > > It's an imperfect tool, yes. A quick check shows that if you never want
> > > > to be cc'd from a git tag, you can add yourself to
> > > > .get_maintainer.ignore and you will still be matched for things you have
> > > > an explicit MAINTAINER entry for.
> > > 
> > > But this will kill me being a maintainer of U-Boot parts (regarding to
> > > a certain platform) which is not what I want.
> > 
> > With a quick local test, no, it still reported you for edison stuff
> > since that's not where the ignore list comes in.
> 
> I see. Still looking at the rate of false positives so far from U-Boot project
> I don't see that a big hammer, like the proposed one, should be used. Better to
> teach people on how to use/tune the tool, it will be helpful in a long-term.

Long term, it would be best if nearly everything had a real MAINTAINERS
entry. Short term, I don't know how to reconcile "I don't want to be
found via git history" with "Why wasn't I cc'd on a patch? Oh, because I
touched it more than a year ago? I don't like that!" in a way other
than:
- Encouraging people to add themselves to / expand existing MAINTAINERS
  entries.
- Add themselves to the ignore list if they don't want to be found for
  other contributions they made.
Tom Rini June 7, 2024, 10:03 p.m. UTC | #11
On Tue, 21 May 2024 16:26:44 +0530, Udit Kumar wrote:

> Some use case needs rproc firmware to be loaded at u-boot stage,
> using following commands at u-boot shell, firmware could be loaded
> 
> => setenv dorprocboot 1
> => run boot_rprocs
> 
> For Secure devices, secure version of rproc firmware should be loaded,
> which is appended by sec keyword[0].
> but currently non-secure firmware is loaded even for secure devices.
> So adding support for loading secure firmware on Secured devices.
> 
> [...]

Applied to u-boot/next, thanks!