Message ID | 20240521105648.3780072-1-u-kumar1@ti.com |
---|---|
Headers | show |
Series | Adding support to load secure firmware for HS devices | expand |
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.
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)
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)
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.
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.
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.
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.
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.
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.
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.
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!