Re: [linux-yocto] [kernel-cache][PATCH] intel-common-drivers: Add x2apic

2017-09-25 Thread Bruce Ashfield

On 09/25/2017 12:56 AM, Syed Mohamad Fauzi, Syed Johan Arif wrote:

I almost forgot to mention, can this patch be applied to kernel 4.4 and 4.9.



This is now merged.

But is there any reason that 4.10 and 4.12 wouldn't want the same
change ?

Bruce


Kind regards
Johan

-Original Message-
From: Syed Mohamad Fauzi, Syed Johan Arif
Sent: Thursday, September 21, 2017 7:29 PM
To: linux-yocto@yoctoproject.org
Cc: Syed Mohamad Fauzi, Syed Johan Arif 
; Tan, Raymond 

Subject: [linux-yocto][kernel-cache][PATCH] intel-common-drivers: Add x2apic

Dear maintainer,

The Intel Denverton platform requires x2apic to boot hence the need to enable 
it in intel-common-drivers as a built-in feature

Syed Mohamad Fauzi, Syed Johan Arif (1):
   intel-common: adding x2apic

  bsp/intel-common/intel-common-drivers.scc | 1 +
  1 file changed, 1 insertion(+)

--
1.9.1



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


Re: [linux-yocto] [PATCH 1/2][v2] cgl: Add cgl features

2017-09-25 Thread Bruce Ashfield

On 09/25/2017 07:43 AM, zhe...@windriver.com wrote:

From: He Zhe 

Add features for Carrier Grade Linux
https://wiki.linuxfoundation.org/cgl/start


This says patch 1/2, but I don't think there's actually a patch
two. If that is wrong, resend patch 2, since I don't have it.

I've merged this to the 4.12 and master branches of the kernel-cache

Bruce



Signed-off-by: He Zhe 
---
  cgl/cfg/dmm.cfg  |  1 +
  cgl/cfg/dmm.scc  |  4 
  cgl/cfg/drbd.cfg |  1 +
  cgl/cfg/drbd.scc |  4 
  cgl/cfg/fs/ocfs2.cfg | 15 +++
  cgl/cfg/fs/ocfs2.scc |  4 
  cgl/cfg/iscsi.cfg| 14 ++
  cgl/cfg/iscsi.scc|  6 ++
  cgl/cfg/net/ip_vs.cfg| 36 
  cgl/cfg/net/ip_vs.scc|  4 
  cgl/cfg/net/l2tp.cfg | 15 +++
  cgl/cfg/net/l2tp.scc |  4 
  cgl/cfg/net/macvlan.cfg  | 14 ++
  cgl/cfg/net/macvlan.scc  |  4 
  cgl/features/aoe/aoe.cfg |  1 +
  cgl/features/aoe/aoe.scc |  4 
  cgl/features/audit/audit.cfg |  6 ++
  cgl/features/audit/audit.scc |  4 
  cgl/features/mip6/mip6.cfg   |  8 
  cgl/features/mip6/mip6.scc   |  5 +
  cgl/features/pstore/pstore.cfg   |  3 +++
  cgl/features/pstore/pstore.scc   |  4 
  cgl/features/qdisc/qdisc_stats.cfg   |  1 +
  cgl/features/qdisc/qdisc_stats.scc   |  1 +
  cgl/features/quota/quota.cfg |  5 +
  cgl/features/quota/quota.scc |  4 
  cgl/features/selinux/selinux-dev.cfg |  3 +++
  cgl/features/selinux/selinux-dev.scc |  3 +++
  cgl/features/selinux/selinux.cfg | 11 +++
  cgl/features/selinux/selinux.scc |  4 
  cgl/features/udp/udp_stats.cfg   |  1 +
  cgl/features/udp/udp_stats.scc   |  1 +
  32 files changed, 195 insertions(+)
  create mode 100644 cgl/cfg/dmm.cfg
  create mode 100644 cgl/cfg/dmm.scc
  create mode 100644 cgl/cfg/drbd.cfg
  create mode 100644 cgl/cfg/drbd.scc
  create mode 100644 cgl/cfg/fs/ocfs2.cfg
  create mode 100644 cgl/cfg/fs/ocfs2.scc
  create mode 100644 cgl/cfg/iscsi.cfg
  create mode 100644 cgl/cfg/iscsi.scc
  create mode 100644 cgl/cfg/net/ip_vs.cfg
  create mode 100644 cgl/cfg/net/ip_vs.scc
  create mode 100644 cgl/cfg/net/l2tp.cfg
  create mode 100644 cgl/cfg/net/l2tp.scc
  create mode 100644 cgl/cfg/net/macvlan.cfg
  create mode 100644 cgl/cfg/net/macvlan.scc
  create mode 100644 cgl/features/aoe/aoe.cfg
  create mode 100644 cgl/features/aoe/aoe.scc
  create mode 100644 cgl/features/audit/audit.cfg
  create mode 100644 cgl/features/audit/audit.scc
  create mode 100644 cgl/features/mip6/mip6.cfg
  create mode 100644 cgl/features/mip6/mip6.scc
  create mode 100644 cgl/features/pstore/pstore.cfg
  create mode 100644 cgl/features/pstore/pstore.scc
  create mode 100644 cgl/features/qdisc/qdisc_stats.cfg
  create mode 100644 cgl/features/qdisc/qdisc_stats.scc
  create mode 100644 cgl/features/quota/quota.cfg
  create mode 100644 cgl/features/quota/quota.scc
  create mode 100644 cgl/features/selinux/selinux-dev.cfg
  create mode 100644 cgl/features/selinux/selinux-dev.scc
  create mode 100644 cgl/features/selinux/selinux.cfg
  create mode 100644 cgl/features/selinux/selinux.scc
  create mode 100644 cgl/features/udp/udp_stats.cfg
  create mode 100644 cgl/features/udp/udp_stats.scc

diff --git a/cgl/cfg/dmm.cfg b/cgl/cfg/dmm.cfg
new file mode 100644
index 000..e8645a2
--- /dev/null
+++ b/cgl/cfg/dmm.cfg
@@ -0,0 +1 @@
+CONFIG_DM_MULTIPATH=y
diff --git a/cgl/cfg/dmm.scc b/cgl/cfg/dmm.scc
new file mode 100644
index 000..49fc19a
--- /dev/null
+++ b/cgl/cfg/dmm.scc
@@ -0,0 +1,4 @@
+define KFEATURE_DESCRIPTION "Device Mapper Multipath Support"
+define KFEATURE_COMPATIBILITY all
+
+kconf non-hardware dmm.cfg
diff --git a/cgl/cfg/drbd.cfg b/cgl/cfg/drbd.cfg
new file mode 100644
index 000..475b821
--- /dev/null
+++ b/cgl/cfg/drbd.cfg
@@ -0,0 +1 @@
+CONFIG_BLK_DEV_DRBD=y
diff --git a/cgl/cfg/drbd.scc b/cgl/cfg/drbd.scc
new file mode 100644
index 000..a6de3b8
--- /dev/null
+++ b/cgl/cfg/drbd.scc
@@ -0,0 +1,4 @@
+define KFEATURE_DESCRIPTION "DRBD Block Device Support"
+define KFEATURE_COMPATIBILITY all
+
+kconf non-hardware drbd.cfg
diff --git a/cgl/cfg/fs/ocfs2.cfg b/cgl/cfg/fs/ocfs2.cfg
new file mode 100644
index 000..8d7caf3
--- /dev/null
+++ b/cgl/cfg/fs/ocfs2.cfg
@@ -0,0 +1,15 @@
+#.
+#WARNING
+#
+# This file is a kernel configuration fragment, and not a full kernel
+# configuration file.  The final kernel configuration is made up of
+# an assembly of processed fragments, each of which is designed to
+# capture a specific part of the final configuration (e.g. platform
+# config

Re: [linux-yocto] [linux-yocto-4.8][PATCH] mm/workingset.c: fix implicit declaration of __list_lru_init_key

2017-09-25 Thread Bruce Ashfield

On 09/22/2017 07:02 PM, akuster808 wrote:

Cal,


On 09/22/2017 03:48 PM, California Sullivan wrote:

__list_lru_init_key does not exist. We're looking for __list_lru_init as
shown in the patch "26690f5 mm: workingset: fix premature shadow node
shrinking with cgroups".

Signed-off-by: California Sullivan 


I believe this fix is already in latest 4.8 preempt-base.

http://git.yoctoproject.org/cgit/cgit.cgi/linux-yocto-4.8/commit/mm/workingset.c?h=standard/preempt-rt/base&id=26690f5a8bdf03966c5db20181089f86f8ca8eef


It was like that, but a merge from standard/base has munged it into
the incorrect form .. and since it is a merge commit, git whatchanged
hides the fact a bit.

I've applied this and pushed it to the -rt branches.

Bruce



I am working on updating morty to the latest versions.

- armin


---

This is for the standard/preempt-rt/base branch. Standard/base is OK.

  mm/workingset.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mm/workingset.c b/mm/workingset.c
index 1856fdb..5e953eb 100644
--- a/mm/workingset.c
+++ b/mm/workingset.c
@@ -493,7 +493,7 @@ static int __init workingset_init(void)
pr_info("workingset: timestamp_bits=%d max_order=%d bucket_order=%u\n",
   timestamp_bits, max_order, bucket_order);
  
-	ret = __list_lru_init_key(&__workingset_shadow_nodes, true, &shadow_nodes_key);

+   ret = __list_lru_init(&__workingset_shadow_nodes, true, 
&shadow_nodes_key);
if (ret)
goto err;
ret = register_shrinker(&workingset_shadow_shrinker);





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


[linux-yocto] [PATCH 1/2][v2] cgl: Add cgl features

2017-09-25 Thread zhe.he
From: He Zhe 

Add features for Carrier Grade Linux
https://wiki.linuxfoundation.org/cgl/start

Signed-off-by: He Zhe 
---
 cgl/cfg/dmm.cfg  |  1 +
 cgl/cfg/dmm.scc  |  4 
 cgl/cfg/drbd.cfg |  1 +
 cgl/cfg/drbd.scc |  4 
 cgl/cfg/fs/ocfs2.cfg | 15 +++
 cgl/cfg/fs/ocfs2.scc |  4 
 cgl/cfg/iscsi.cfg| 14 ++
 cgl/cfg/iscsi.scc|  6 ++
 cgl/cfg/net/ip_vs.cfg| 36 
 cgl/cfg/net/ip_vs.scc|  4 
 cgl/cfg/net/l2tp.cfg | 15 +++
 cgl/cfg/net/l2tp.scc |  4 
 cgl/cfg/net/macvlan.cfg  | 14 ++
 cgl/cfg/net/macvlan.scc  |  4 
 cgl/features/aoe/aoe.cfg |  1 +
 cgl/features/aoe/aoe.scc |  4 
 cgl/features/audit/audit.cfg |  6 ++
 cgl/features/audit/audit.scc |  4 
 cgl/features/mip6/mip6.cfg   |  8 
 cgl/features/mip6/mip6.scc   |  5 +
 cgl/features/pstore/pstore.cfg   |  3 +++
 cgl/features/pstore/pstore.scc   |  4 
 cgl/features/qdisc/qdisc_stats.cfg   |  1 +
 cgl/features/qdisc/qdisc_stats.scc   |  1 +
 cgl/features/quota/quota.cfg |  5 +
 cgl/features/quota/quota.scc |  4 
 cgl/features/selinux/selinux-dev.cfg |  3 +++
 cgl/features/selinux/selinux-dev.scc |  3 +++
 cgl/features/selinux/selinux.cfg | 11 +++
 cgl/features/selinux/selinux.scc |  4 
 cgl/features/udp/udp_stats.cfg   |  1 +
 cgl/features/udp/udp_stats.scc   |  1 +
 32 files changed, 195 insertions(+)
 create mode 100644 cgl/cfg/dmm.cfg
 create mode 100644 cgl/cfg/dmm.scc
 create mode 100644 cgl/cfg/drbd.cfg
 create mode 100644 cgl/cfg/drbd.scc
 create mode 100644 cgl/cfg/fs/ocfs2.cfg
 create mode 100644 cgl/cfg/fs/ocfs2.scc
 create mode 100644 cgl/cfg/iscsi.cfg
 create mode 100644 cgl/cfg/iscsi.scc
 create mode 100644 cgl/cfg/net/ip_vs.cfg
 create mode 100644 cgl/cfg/net/ip_vs.scc
 create mode 100644 cgl/cfg/net/l2tp.cfg
 create mode 100644 cgl/cfg/net/l2tp.scc
 create mode 100644 cgl/cfg/net/macvlan.cfg
 create mode 100644 cgl/cfg/net/macvlan.scc
 create mode 100644 cgl/features/aoe/aoe.cfg
 create mode 100644 cgl/features/aoe/aoe.scc
 create mode 100644 cgl/features/audit/audit.cfg
 create mode 100644 cgl/features/audit/audit.scc
 create mode 100644 cgl/features/mip6/mip6.cfg
 create mode 100644 cgl/features/mip6/mip6.scc
 create mode 100644 cgl/features/pstore/pstore.cfg
 create mode 100644 cgl/features/pstore/pstore.scc
 create mode 100644 cgl/features/qdisc/qdisc_stats.cfg
 create mode 100644 cgl/features/qdisc/qdisc_stats.scc
 create mode 100644 cgl/features/quota/quota.cfg
 create mode 100644 cgl/features/quota/quota.scc
 create mode 100644 cgl/features/selinux/selinux-dev.cfg
 create mode 100644 cgl/features/selinux/selinux-dev.scc
 create mode 100644 cgl/features/selinux/selinux.cfg
 create mode 100644 cgl/features/selinux/selinux.scc
 create mode 100644 cgl/features/udp/udp_stats.cfg
 create mode 100644 cgl/features/udp/udp_stats.scc

diff --git a/cgl/cfg/dmm.cfg b/cgl/cfg/dmm.cfg
new file mode 100644
index 000..e8645a2
--- /dev/null
+++ b/cgl/cfg/dmm.cfg
@@ -0,0 +1 @@
+CONFIG_DM_MULTIPATH=y
diff --git a/cgl/cfg/dmm.scc b/cgl/cfg/dmm.scc
new file mode 100644
index 000..49fc19a
--- /dev/null
+++ b/cgl/cfg/dmm.scc
@@ -0,0 +1,4 @@
+define KFEATURE_DESCRIPTION "Device Mapper Multipath Support"
+define KFEATURE_COMPATIBILITY all
+
+kconf non-hardware dmm.cfg
diff --git a/cgl/cfg/drbd.cfg b/cgl/cfg/drbd.cfg
new file mode 100644
index 000..475b821
--- /dev/null
+++ b/cgl/cfg/drbd.cfg
@@ -0,0 +1 @@
+CONFIG_BLK_DEV_DRBD=y
diff --git a/cgl/cfg/drbd.scc b/cgl/cfg/drbd.scc
new file mode 100644
index 000..a6de3b8
--- /dev/null
+++ b/cgl/cfg/drbd.scc
@@ -0,0 +1,4 @@
+define KFEATURE_DESCRIPTION "DRBD Block Device Support"
+define KFEATURE_COMPATIBILITY all
+
+kconf non-hardware drbd.cfg
diff --git a/cgl/cfg/fs/ocfs2.cfg b/cgl/cfg/fs/ocfs2.cfg
new file mode 100644
index 000..8d7caf3
--- /dev/null
+++ b/cgl/cfg/fs/ocfs2.cfg
@@ -0,0 +1,15 @@
+#.
+#WARNING
+#
+# This file is a kernel configuration fragment, and not a full kernel
+# configuration file.  The final kernel configuration is made up of
+# an assembly of processed fragments, each of which is designed to
+# capture a specific part of the final configuration (e.g. platform
+# configuration, feature configuration, and board specific hardware
+# configuration).  For more information on kernel configuration, please
+# consult the product documentation.
+#
+#.
+
+CONFIG_OCFS2_FS=m
+CONFIG_OCFS2_FS_O2CB=m
diff --git a/cgl/cfg/fs/ocfs2.s