Re: [linux-yocto] [kernel-cache][yocto-4.12][PATCH] bpf: add bpf kernel config

2017-09-12 Thread Jianchuan Wang



On 09/12/2017 08:35 PM, Bruce Ashfield wrote:



On Tue, Sep 12, 2017 at 3:14 AM, Jianchuan Wang 
> 
wrote:



Please ignore this...



Ignore it completely, or just the 2nd send of the same patch ?



The patch is correct and same.
I fond the repo name is yocto-kernel-cache, not kernel-cache, so I 
re-send the patch for it.


Thanks,
Jianchuan

Bruce


On 09/12/2017 02:11 PM, jianchuan.w...@windriver.com
 wrote:

From: Jianchuan Wang >

Add basic meta data for bpf.

Signed-off-by: Jianchuan Wang >
---
  features/bpf/bpf.cfg | 4 
  features/bpf/bpf.scc | 4 
  2 files changed, 8 insertions(+)
  create mode 100644 features/bpf/bpf.cfg
  create mode 100644 features/bpf/bpf.scc

diff --git a/features/bpf/bpf.cfg b/features/bpf/bpf.cfg
new file mode 100644
index 000..0c4967c
--- /dev/null
+++ b/features/bpf/bpf.cfg
@@ -0,0 +1,4 @@
+CONFIG_BPF=y
+CONFIG_BPF_SYSCALL=y
+CONFIG_BPF_JIT=y
+CONFIG_BPF_EVENTS=y
diff --git a/features/bpf/bpf.scc b/features/bpf/bpf.scc
new file mode 100644
index 000..f2306f2
--- /dev/null
+++ b/features/bpf/bpf.scc
@@ -0,0 +1,4 @@
+define KFEATURE_DESCRIPTION "Enable Berkeley Packet Filter (BPF)"
+define KFEATURE_COMPATIBILITY all
+
+kconf non-hardware bpf.cfg


-- 
___

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





--
"Thou shalt not follow the NULL pointer, for chaos and madness await 
thee at its end"


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


Re: [linux-yocto] [linux-yocto-4.4][PATCH] drivers/usb/dwc3/gadget.c: fix merge

2017-09-12 Thread Cal Sullivan

Thanks for the super quick turnaround time!

And hey, I appreciate the effort you put in.
Thanks to you its very rare that we see issues on our end, and I know 
these branches aren't an ideal situation.


---
Cal

On 09/12/2017 04:42 PM, Bruce Ashfield wrote:

On 2017-09-12 7:38 PM, California Sullivan wrote:

Commit "c813008 usb: dwc3: replace %p with %pK" did not apply correctly
due a previous backport. In the confusion, some error checking was
added back which included a goto whose target didn't exist, causing a
compilation failure.



Well crap. I even looked at this during the merge and thought it
was ok.

I was just doing -stable updates to 4.4, so this is merged and pushed.

Bruce



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


Re: [linux-yocto] [linux-yocto-4.4][PATCH] drivers/usb/dwc3/gadget.c: fix merge

2017-09-12 Thread Bruce Ashfield

On 2017-09-12 7:38 PM, California Sullivan wrote:

Commit "c813008 usb: dwc3: replace %p with %pK" did not apply correctly
due a previous backport. In the confusion, some error checking was
added back which included a goto whose target didn't exist, causing a
compilation failure.



Well crap. I even looked at this during the merge and thought it
was ok.

I was just doing -stable updates to 4.4, so this is merged and pushed.

Bruce


Fix the issue by reverting the merge and the patch, then manually
applying the intended changes (replacing all instances of %p with %pK in
the affected files).

Signed-off-by: California Sullivan 
---
This is for the standard/intel/base branch, which should then be
waterfalled into the other intel branches.

  drivers/usb/dwc3/gadget.c | 21 -
  1 file changed, 4 insertions(+), 17 deletions(-)

diff --git a/drivers/usb/dwc3/gadget.c b/drivers/usb/dwc3/gadget.c
index 192c119..6c369a6 100644
--- a/drivers/usb/dwc3/gadget.c
+++ b/drivers/usb/dwc3/gadget.c
@@ -813,7 +813,7 @@ static void dwc3_prepare_one_trb(struct dwc3_ep *dep,
  {
struct dwc3_trb *trb;
  
-	dwc3_trace(trace_dwc3_gadget, "%s: req %p dma %08llx length %d%s%s",

+   dwc3_trace(trace_dwc3_gadget, "%s: req %pK dma %08llx length %d%s%s",
dep->name, req, (unsigned long long) dma,
length, last ? " last" : "",
chain ? " chain" : "");
@@ -1085,14 +1085,14 @@ static int __dwc3_gadget_ep_queue(struct dwc3_ep *dep, 
struct dwc3_request *req)
  
  	if (!dep->endpoint.desc) {

dwc3_trace(trace_dwc3_gadget,
-   "trying to queue request %p to disabled %s\n",
+   "trying to queue request %pK to disabled %s\n",
>request, dep->endpoint.name);
return -ESHUTDOWN;
}
  
-	if (WARN(req->dep != dep, "request %p belongs to '%s'\n",

+   if (WARN(req->dep != dep, "request %pK belongs to '%s'\n",
>request, req->dep->name)) {
-   dwc3_trace(trace_dwc3_gadget, "request %p belongs to '%s'\n",
+   dwc3_trace(trace_dwc3_gadget, "request %pK belongs to '%s'\n",
>request, req->dep->name);
return -EINVAL;
}
@@ -1242,19 +1242,6 @@ static int dwc3_gadget_ep_queue(struct usb_ep *ep, 
struct usb_request *request,
int ret;
  
  	spin_lock_irqsave(>lock, flags);

-   if (!dep->endpoint.desc) {
-   dev_dbg(dwc->dev, "trying to queue request %p to disabled %s\n",
-   request, ep->name);
-   ret = -ESHUTDOWN;
-   goto out;
-   }
-
-   if (WARN(req->dep != dep, "request %pK belongs to '%s'\n",
-   request, req->dep->name)) {
-   ret = -EINVAL;
-   goto out;
-   }
-
ret = __dwc3_gadget_ep_queue(dep, req);
  
  	/*




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


[linux-yocto] [linux-yocto-4.4][PATCH] drivers/usb/dwc3/gadget.c: fix merge

2017-09-12 Thread California Sullivan
Commit "c813008 usb: dwc3: replace %p with %pK" did not apply correctly
due a previous backport. In the confusion, some error checking was
added back which included a goto whose target didn't exist, causing a
compilation failure.

Fix the issue by reverting the merge and the patch, then manually
applying the intended changes (replacing all instances of %p with %pK in
the affected files).

Signed-off-by: California Sullivan 
---
This is for the standard/intel/base branch, which should then be
waterfalled into the other intel branches.

 drivers/usb/dwc3/gadget.c | 21 -
 1 file changed, 4 insertions(+), 17 deletions(-)

diff --git a/drivers/usb/dwc3/gadget.c b/drivers/usb/dwc3/gadget.c
index 192c119..6c369a6 100644
--- a/drivers/usb/dwc3/gadget.c
+++ b/drivers/usb/dwc3/gadget.c
@@ -813,7 +813,7 @@ static void dwc3_prepare_one_trb(struct dwc3_ep *dep,
 {
struct dwc3_trb *trb;
 
-   dwc3_trace(trace_dwc3_gadget, "%s: req %p dma %08llx length %d%s%s",
+   dwc3_trace(trace_dwc3_gadget, "%s: req %pK dma %08llx length %d%s%s",
dep->name, req, (unsigned long long) dma,
length, last ? " last" : "",
chain ? " chain" : "");
@@ -1085,14 +1085,14 @@ static int __dwc3_gadget_ep_queue(struct dwc3_ep *dep, 
struct dwc3_request *req)
 
if (!dep->endpoint.desc) {
dwc3_trace(trace_dwc3_gadget,
-   "trying to queue request %p to disabled %s\n",
+   "trying to queue request %pK to disabled %s\n",
>request, dep->endpoint.name);
return -ESHUTDOWN;
}
 
-   if (WARN(req->dep != dep, "request %p belongs to '%s'\n",
+   if (WARN(req->dep != dep, "request %pK belongs to '%s'\n",
>request, req->dep->name)) {
-   dwc3_trace(trace_dwc3_gadget, "request %p belongs to '%s'\n",
+   dwc3_trace(trace_dwc3_gadget, "request %pK belongs to '%s'\n",
>request, req->dep->name);
return -EINVAL;
}
@@ -1242,19 +1242,6 @@ static int dwc3_gadget_ep_queue(struct usb_ep *ep, 
struct usb_request *request,
int ret;
 
spin_lock_irqsave(>lock, flags);
-   if (!dep->endpoint.desc) {
-   dev_dbg(dwc->dev, "trying to queue request %p to disabled %s\n",
-   request, ep->name);
-   ret = -ESHUTDOWN;
-   goto out;
-   }
-
-   if (WARN(req->dep != dep, "request %pK belongs to '%s'\n",
-   request, req->dep->name)) {
-   ret = -EINVAL;
-   goto out;
-   }
-
ret = __dwc3_gadget_ep_queue(dep, req);
 
/*
-- 
2.9.5

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


Re: [linux-yocto] [kernel-cache][yocto-4.12][PATCH] bpf: add bpf kernel config

2017-09-12 Thread Bruce Ashfield
On Tue, Sep 12, 2017 at 8:35 AM, Bruce Ashfield 
wrote:

>
>
> On Tue, Sep 12, 2017 at 3:14 AM, Jianchuan Wang <
> jianchuan.w...@windriver.com> wrote:
>
>>
>> Please ignore this...
>>
>>
>>
> Ignore it completely, or just the 2nd send of the same patch ?
>
>
As you can see, I did merge a variant of this fragment. If it isn't
correct, send follow up patches.

Bruce


> Bruce
>
>
>>
>> On 09/12/2017 02:11 PM, jianchuan.w...@windriver.com wrote:
>>
>>> From: Jianchuan Wang 
>>>
>>> Add basic meta data for bpf.
>>>
>>> Signed-off-by: Jianchuan Wang 
>>> ---
>>>   features/bpf/bpf.cfg | 4 
>>>   features/bpf/bpf.scc | 4 
>>>   2 files changed, 8 insertions(+)
>>>   create mode 100644 features/bpf/bpf.cfg
>>>   create mode 100644 features/bpf/bpf.scc
>>>
>>> diff --git a/features/bpf/bpf.cfg b/features/bpf/bpf.cfg
>>> new file mode 100644
>>> index 000..0c4967c
>>> --- /dev/null
>>> +++ b/features/bpf/bpf.cfg
>>> @@ -0,0 +1,4 @@
>>> +CONFIG_BPF=y
>>> +CONFIG_BPF_SYSCALL=y
>>> +CONFIG_BPF_JIT=y
>>> +CONFIG_BPF_EVENTS=y
>>> diff --git a/features/bpf/bpf.scc b/features/bpf/bpf.scc
>>> new file mode 100644
>>> index 000..f2306f2
>>> --- /dev/null
>>> +++ b/features/bpf/bpf.scc
>>> @@ -0,0 +1,4 @@
>>> +define KFEATURE_DESCRIPTION "Enable Berkeley Packet Filter (BPF)"
>>> +define KFEATURE_COMPATIBILITY all
>>> +
>>> +kconf non-hardware bpf.cfg
>>>
>>
>> --
>> ___
>> linux-yocto mailing list
>> linux-yocto@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/linux-yocto
>>
>
>
>
> --
> "Thou shalt not follow the NULL pointer, for chaos and madness await thee
> at its end"
>



-- 
"Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end"
-- 
___
linux-yocto mailing list
linux-yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/linux-yocto


Re: [linux-yocto] [yocto-kernel-cache][yocto-4.12][PATCH] kdump: add config fragments

2017-09-12 Thread Bruce Ashfield

On 09/12/2017 04:42 AM, jianchuan.w...@windriver.com wrote:

From: Jianchuan Wang 



merged.

Bruce


Signed-off-by: Jianchuan Wang 
---
  features/kdump/kdump-enable.scc | 4 
  features/kdump/kdump.cfg| 1 +
  2 files changed, 5 insertions(+)
  create mode 100644 features/kdump/kdump-enable.scc
  create mode 100644 features/kdump/kdump.cfg

diff --git a/features/kdump/kdump-enable.scc b/features/kdump/kdump-enable.scc
new file mode 100644
index 000..69a7dd3
--- /dev/null
+++ b/features/kdump/kdump-enable.scc
@@ -0,0 +1,4 @@
+define KFEATURE_DESCRIPTION "Enable Kdump - The kexec-based Crash Dumping 
Solution"
+define KFEATURE_COMPATIBILITY optional
+
+kconf non-hardware kdump.cfg
diff --git a/features/kdump/kdump.cfg b/features/kdump/kdump.cfg
new file mode 100644
index 000..84bb04c
--- /dev/null
+++ b/features/kdump/kdump.cfg
@@ -0,0 +1 @@
+CONFIG_CRASH_DUMP=y



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


Re: [linux-yocto] [yocto-kernel-cache][yocto-4.12][PATCH] sysrq: add sysrq kernel config

2017-09-12 Thread Bruce Ashfield

On 09/12/2017 03:19 AM, jianchuan.w...@windriver.com wrote:

From: Jianchuan Wang 

Add basic meta data for sysrq


merged

Bruce



Signed-off-by: Jianchuan Wang 
---
  features/sysrq/sysrq.cfg | 2 ++
  features/sysrq/sysrq.scc | 1 +
  2 files changed, 3 insertions(+)
  create mode 100644 features/sysrq/sysrq.cfg
  create mode 100644 features/sysrq/sysrq.scc

diff --git a/features/sysrq/sysrq.cfg b/features/sysrq/sysrq.cfg
new file mode 100644
index 000..ebdced4
--- /dev/null
+++ b/features/sysrq/sysrq.cfg
@@ -0,0 +1,2 @@
+CONFIG_MAGIC_SYSRQ=y
+CONFIG_MAGIC_SYSRQ_DEFAULT_ENABLE=1
diff --git a/features/sysrq/sysrq.scc b/features/sysrq/sysrq.scc
new file mode 100644
index 000..7ca0e45
--- /dev/null
+++ b/features/sysrq/sysrq.scc
@@ -0,0 +1 @@
+kconf non-hardware sysrq.cfg



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


Re: [linux-yocto] [yocto-kernel-cache][yocto-4.12][PATCH] kexec/kdump: Add config fragments

2017-09-12 Thread Bruce Ashfield

On 09/12/2017 04:18 AM, jianchuan.w...@windriver.com wrote:

From: Jianchuan Wang 



merged.

Bruce


Signed-off-by: Jianchuan Wang 
---
  features/kexec/kexec-enable.scc | 4 
  features/kexec/kexec.cfg| 1 +
  2 files changed, 5 insertions(+)
  create mode 100644 features/kexec/kexec-enable.scc
  create mode 100644 features/kexec/kexec.cfg

diff --git a/features/kexec/kexec-enable.scc b/features/kexec/kexec-enable.scc
new file mode 100644
index 000..54181ab
--- /dev/null
+++ b/features/kexec/kexec-enable.scc
@@ -0,0 +1,4 @@
+define KFEATURE_DESCRIPTION "Enable Kexec - live kernel execution"
+define KFEATURE_COMPATIBILITY optional
+
+kconf non-hardware kexec.cfg
diff --git a/features/kexec/kexec.cfg b/features/kexec/kexec.cfg
new file mode 100644
index 000..b45488d
--- /dev/null
+++ b/features/kexec/kexec.cfg
@@ -0,0 +1 @@
+CONFIG_KEXEC=y



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


Re: [linux-yocto] [yocto-kernel-cache][yocto-4.12][PATCH] bpf: add bpf kernel config

2017-09-12 Thread Bruce Ashfield

On 09/12/2017 02:12 AM, jianchuan.w...@windriver.com wrote:

From: Jianchuan Wang 

Add basic meta data for bpf.


merged

Bruce



Signed-off-by: Jianchuan Wang 
---
  features/bpf/bpf.cfg | 4 
  features/bpf/bpf.scc | 4 
  2 files changed, 8 insertions(+)
  create mode 100644 features/bpf/bpf.cfg
  create mode 100644 features/bpf/bpf.scc

diff --git a/features/bpf/bpf.cfg b/features/bpf/bpf.cfg
new file mode 100644
index 000..0c4967c
--- /dev/null
+++ b/features/bpf/bpf.cfg
@@ -0,0 +1,4 @@
+CONFIG_BPF=y
+CONFIG_BPF_SYSCALL=y
+CONFIG_BPF_JIT=y
+CONFIG_BPF_EVENTS=y
diff --git a/features/bpf/bpf.scc b/features/bpf/bpf.scc
new file mode 100644
index 000..f2306f2
--- /dev/null
+++ b/features/bpf/bpf.scc
@@ -0,0 +1,4 @@
+define KFEATURE_DESCRIPTION "Enable Berkeley Packet Filter (BPF)"
+define KFEATURE_COMPATIBILITY all
+
+kconf non-hardware bpf.cfg



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


Re: [linux-yocto] [kernel-cache][yocto-4.12][PATCH] bpf: add bpf kernel config

2017-09-12 Thread Bruce Ashfield
On Tue, Sep 12, 2017 at 3:14 AM, Jianchuan Wang <
jianchuan.w...@windriver.com> wrote:

>
> Please ignore this...
>
>
>
Ignore it completely, or just the 2nd send of the same patch ?

Bruce


>
> On 09/12/2017 02:11 PM, jianchuan.w...@windriver.com wrote:
>
>> From: Jianchuan Wang 
>>
>> Add basic meta data for bpf.
>>
>> Signed-off-by: Jianchuan Wang 
>> ---
>>   features/bpf/bpf.cfg | 4 
>>   features/bpf/bpf.scc | 4 
>>   2 files changed, 8 insertions(+)
>>   create mode 100644 features/bpf/bpf.cfg
>>   create mode 100644 features/bpf/bpf.scc
>>
>> diff --git a/features/bpf/bpf.cfg b/features/bpf/bpf.cfg
>> new file mode 100644
>> index 000..0c4967c
>> --- /dev/null
>> +++ b/features/bpf/bpf.cfg
>> @@ -0,0 +1,4 @@
>> +CONFIG_BPF=y
>> +CONFIG_BPF_SYSCALL=y
>> +CONFIG_BPF_JIT=y
>> +CONFIG_BPF_EVENTS=y
>> diff --git a/features/bpf/bpf.scc b/features/bpf/bpf.scc
>> new file mode 100644
>> index 000..f2306f2
>> --- /dev/null
>> +++ b/features/bpf/bpf.scc
>> @@ -0,0 +1,4 @@
>> +define KFEATURE_DESCRIPTION "Enable Berkeley Packet Filter (BPF)"
>> +define KFEATURE_COMPATIBILITY all
>> +
>> +kconf non-hardware bpf.cfg
>>
>
> --
> ___
> linux-yocto mailing list
> linux-yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/linux-yocto
>



-- 
"Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end"
-- 
___
linux-yocto mailing list
linux-yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/linux-yocto


[linux-yocto] [yocto-kernel-cache][yocto-4.12][PATCH] kdump: add config fragments

2017-09-12 Thread jianchuan.wang
From: Jianchuan Wang 

Signed-off-by: Jianchuan Wang 
---
 features/kdump/kdump-enable.scc | 4 
 features/kdump/kdump.cfg| 1 +
 2 files changed, 5 insertions(+)
 create mode 100644 features/kdump/kdump-enable.scc
 create mode 100644 features/kdump/kdump.cfg

diff --git a/features/kdump/kdump-enable.scc b/features/kdump/kdump-enable.scc
new file mode 100644
index 000..69a7dd3
--- /dev/null
+++ b/features/kdump/kdump-enable.scc
@@ -0,0 +1,4 @@
+define KFEATURE_DESCRIPTION "Enable Kdump - The kexec-based Crash Dumping 
Solution"
+define KFEATURE_COMPATIBILITY optional
+
+kconf non-hardware kdump.cfg
diff --git a/features/kdump/kdump.cfg b/features/kdump/kdump.cfg
new file mode 100644
index 000..84bb04c
--- /dev/null
+++ b/features/kdump/kdump.cfg
@@ -0,0 +1 @@
+CONFIG_CRASH_DUMP=y
-- 
2.7.4

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


[linux-yocto] [yocto-kernel-cache][yocto-4.12][PATCH] kexec/kdump: Add config fragments

2017-09-12 Thread jianchuan.wang
From: Jianchuan Wang 

Signed-off-by: Jianchuan Wang 
---
 features/kexec/kexec-enable.scc | 4 
 features/kexec/kexec.cfg| 1 +
 2 files changed, 5 insertions(+)
 create mode 100644 features/kexec/kexec-enable.scc
 create mode 100644 features/kexec/kexec.cfg

diff --git a/features/kexec/kexec-enable.scc b/features/kexec/kexec-enable.scc
new file mode 100644
index 000..54181ab
--- /dev/null
+++ b/features/kexec/kexec-enable.scc
@@ -0,0 +1,4 @@
+define KFEATURE_DESCRIPTION "Enable Kexec - live kernel execution"
+define KFEATURE_COMPATIBILITY optional
+
+kconf non-hardware kexec.cfg
diff --git a/features/kexec/kexec.cfg b/features/kexec/kexec.cfg
new file mode 100644
index 000..b45488d
--- /dev/null
+++ b/features/kexec/kexec.cfg
@@ -0,0 +1 @@
+CONFIG_KEXEC=y
-- 
2.7.4

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


[linux-yocto] [yocto-kernel-cache][yocto-4.12][PATCH] sysrq: add sysrq kernel config

2017-09-12 Thread jianchuan.wang
From: Jianchuan Wang 

Add basic meta data for sysrq

Signed-off-by: Jianchuan Wang 
---
 features/sysrq/sysrq.cfg | 2 ++
 features/sysrq/sysrq.scc | 1 +
 2 files changed, 3 insertions(+)
 create mode 100644 features/sysrq/sysrq.cfg
 create mode 100644 features/sysrq/sysrq.scc

diff --git a/features/sysrq/sysrq.cfg b/features/sysrq/sysrq.cfg
new file mode 100644
index 000..ebdced4
--- /dev/null
+++ b/features/sysrq/sysrq.cfg
@@ -0,0 +1,2 @@
+CONFIG_MAGIC_SYSRQ=y
+CONFIG_MAGIC_SYSRQ_DEFAULT_ENABLE=1
diff --git a/features/sysrq/sysrq.scc b/features/sysrq/sysrq.scc
new file mode 100644
index 000..7ca0e45
--- /dev/null
+++ b/features/sysrq/sysrq.scc
@@ -0,0 +1 @@
+kconf non-hardware sysrq.cfg
-- 
2.7.4

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


Re: [linux-yocto] [kernel-cache][yocto-4.12][PATCH] bpf: add bpf kernel config

2017-09-12 Thread Jianchuan Wang


Please ignore this...


On 09/12/2017 02:11 PM, jianchuan.w...@windriver.com wrote:

From: Jianchuan Wang 

Add basic meta data for bpf.

Signed-off-by: Jianchuan Wang 
---
  features/bpf/bpf.cfg | 4 
  features/bpf/bpf.scc | 4 
  2 files changed, 8 insertions(+)
  create mode 100644 features/bpf/bpf.cfg
  create mode 100644 features/bpf/bpf.scc

diff --git a/features/bpf/bpf.cfg b/features/bpf/bpf.cfg
new file mode 100644
index 000..0c4967c
--- /dev/null
+++ b/features/bpf/bpf.cfg
@@ -0,0 +1,4 @@
+CONFIG_BPF=y
+CONFIG_BPF_SYSCALL=y
+CONFIG_BPF_JIT=y
+CONFIG_BPF_EVENTS=y
diff --git a/features/bpf/bpf.scc b/features/bpf/bpf.scc
new file mode 100644
index 000..f2306f2
--- /dev/null
+++ b/features/bpf/bpf.scc
@@ -0,0 +1,4 @@
+define KFEATURE_DESCRIPTION "Enable Berkeley Packet Filter (BPF)"
+define KFEATURE_COMPATIBILITY all
+
+kconf non-hardware bpf.cfg


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


[linux-yocto] [yocto-kernel-cache][yocto-4.12][PATCH] bpf: add bpf kernel config

2017-09-12 Thread jianchuan.wang
From: Jianchuan Wang 

Add basic meta data for bpf.

Signed-off-by: Jianchuan Wang 
---
 features/bpf/bpf.cfg | 4 
 features/bpf/bpf.scc | 4 
 2 files changed, 8 insertions(+)
 create mode 100644 features/bpf/bpf.cfg
 create mode 100644 features/bpf/bpf.scc

diff --git a/features/bpf/bpf.cfg b/features/bpf/bpf.cfg
new file mode 100644
index 000..0c4967c
--- /dev/null
+++ b/features/bpf/bpf.cfg
@@ -0,0 +1,4 @@
+CONFIG_BPF=y
+CONFIG_BPF_SYSCALL=y
+CONFIG_BPF_JIT=y
+CONFIG_BPF_EVENTS=y
diff --git a/features/bpf/bpf.scc b/features/bpf/bpf.scc
new file mode 100644
index 000..f2306f2
--- /dev/null
+++ b/features/bpf/bpf.scc
@@ -0,0 +1,4 @@
+define KFEATURE_DESCRIPTION "Enable Berkeley Packet Filter (BPF)"
+define KFEATURE_COMPATIBILITY all
+
+kconf non-hardware bpf.cfg
-- 
2.7.4

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


[linux-yocto] [kernel-cache][yocto-4.12][PATCH] bpf: add bpf kernel config

2017-09-12 Thread jianchuan.wang
From: Jianchuan Wang 

Add basic meta data for bpf.

Signed-off-by: Jianchuan Wang 
---
 features/bpf/bpf.cfg | 4 
 features/bpf/bpf.scc | 4 
 2 files changed, 8 insertions(+)
 create mode 100644 features/bpf/bpf.cfg
 create mode 100644 features/bpf/bpf.scc

diff --git a/features/bpf/bpf.cfg b/features/bpf/bpf.cfg
new file mode 100644
index 000..0c4967c
--- /dev/null
+++ b/features/bpf/bpf.cfg
@@ -0,0 +1,4 @@
+CONFIG_BPF=y
+CONFIG_BPF_SYSCALL=y
+CONFIG_BPF_JIT=y
+CONFIG_BPF_EVENTS=y
diff --git a/features/bpf/bpf.scc b/features/bpf/bpf.scc
new file mode 100644
index 000..f2306f2
--- /dev/null
+++ b/features/bpf/bpf.scc
@@ -0,0 +1,4 @@
+define KFEATURE_DESCRIPTION "Enable Berkeley Packet Filter (BPF)"
+define KFEATURE_COMPATIBILITY all
+
+kconf non-hardware bpf.cfg
-- 
2.7.4

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