Re: [linux-yocto] [PATCH 0/1] Module signing config

2018-11-05 Thread Bruce Ashfield

On 11/5/18 1:38 AM, Anuj Mittal wrote:

Hi Bruce,

This change adds features to enable module signing [1] when included.

CONFIG_MODULE_SIG_FORCE is included in a seprate force-signing.scc to be
used by BSPs that would want all modules to be validly signed and reject
the ones not signed or not signed using a valid key.

Please merge in 4.14 and beyond if this looks okay.


Looks fine to me. No concerns here.

   4c4a0c67fd78..dac0479ff81a  master -> master
   89791174e7f6..0f839b780ed3  yocto-4.14 -> yocto-4.14
   a28fd4843381..ed1978c99214  yocto-4.18 -> yocto-4.18
   f32f48feff9b..86fdeb05f63e  yocto-4.19 -> yocto-4.19




[1] https://www.kernel.org/doc/Documentation/admin-guide/module-signing.rst

Anuj Mittal (1):
   features/module-signing: add new feature

  features/module-signing/force-signing.cfg | 1 +
  features/module-signing/force-signing.scc | 6 ++
  features/module-signing/signing.cfg   | 4 
  features/module-signing/signing.scc   | 4 
  4 files changed, 15 insertions(+)
  create mode 100644 features/module-signing/force-signing.cfg
  create mode 100644 features/module-signing/force-signing.scc
  create mode 100644 features/module-signing/signing.cfg
  create mode 100644 features/module-signing/signing.scc



--
___
linux-yocto mailing list
linux-yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/linux-yocto


Re: [linux-yocto] [PATCH] kernel-cache: edac: correct config

2018-11-05 Thread Bruce Ashfield

On 11/1/18 11:09 PM, Hongzhi.Song wrote:

Please merge to master/v4.19~v4.14



merged:

To ssh://g...@git.yoctoproject.org/yocto-kernel-cache
   277086f8d01e..4c4a0c67fd78  master -> master
   19c174f547e6..89791174e7f6  yocto-4.14 -> yocto-4.14
   8ae63963256e..a28fd4843381  yocto-4.18 -> yocto-4.18
   1a030a8254c6..f32f48feff9b  yocto-4.19 -> yocto-4.19



Hongzhi.Song (1):
   edac: Drop CONFIG_EDAC_MM_EDAC and add dependency

  features/edac/edac.cfg | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)



--
___
linux-yocto mailing list
linux-yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/linux-yocto


Re: [linux-yocto] [PATCH] of: Fix of_populate_phandle_cache compilation error

2018-11-05 Thread Bruce Ashfield

On 11/2/18 4:42 AM, He Zhe wrote:

When merging tag 'v4.18.10' into v4.18/standard/base, 05a9931 "of: fix phandle
cache creation for DTs with no phandles" from v4.18.10 introduces an undefined
label "out" and causes the follow compilation error.

drivers/of/base.c: In function 'of_populate_phandle_cache':
drivers/of/base.c:124:3: error: label 'out' used but not defined
goto out;
^~~~

This is because the base of 05a9931 has been modified by b75caf0 "of: allocate /
free phandle cache outside of the devtree_lock".

This patch picks a part of
https://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-rt-devel.git/commit/?h=
linux-4.18.y-rt=9866102318991051e5e99085d3c88d6483ee70d4
to fix this error, and can be dropped when rebasing above 9866102.


merged.

Bruce



Signed-off-by: He Zhe 
---
This error affects all arches building preempt-rt kernel with "of" by default.

  drivers/of/base.c | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/of/base.c b/drivers/of/base.c
index ecb495df4aad..49da3726cda5 100644
--- a/drivers/of/base.c
+++ b/drivers/of/base.c
@@ -119,14 +119,14 @@ void of_populate_phandle_cache(void)
phandles++;
  
  	raw_spin_unlock_irqrestore(_lock, flags);

+   kfree(shadow);
  
  	if (!phandles)

-   goto out;
+   return;
  
  	cache_entries = roundup_pow_of_two(phandles);

phandle_cache_mask = cache_entries - 1;
  
-	kfree(shadow);

shadow = kcalloc(cache_entries, sizeof(*phandle_cache), GFP_KERNEL);
  
  	if (!shadow)




--
___
linux-yocto mailing list
linux-yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/linux-yocto