linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] powerpc/powernv: Add XHCI and USB storage to defconfig
@ 2017-02-06  2:55 Michael Neuling
  2017-02-06  2:55 ` [PATCH 2/2] powerpc/powernv: Add more BPF in defconfig Michael Neuling
  2017-02-09 13:17 ` [1/2] powerpc/powernv: Add XHCI and USB storage to defconfig Michael Ellerman
  0 siblings, 2 replies; 8+ messages in thread
From: Michael Neuling @ 2017-02-06  2:55 UTC (permalink / raw)
  To: mpe; +Cc: linuxppc-dev, Michael Neuling

These are common on bare metal machines, so put them in the defconfig.

This adds 216KB to the vmlinux size

Signed-off-by: Michael Neuling <mikey@neuling.org>
---
 arch/powerpc/configs/powernv_defconfig | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/arch/powerpc/configs/powernv_defconfig b/arch/powerpc/configs/powernv_defconfig
index b793550fac..7028dbc753 100644
--- a/arch/powerpc/configs/powernv_defconfig
+++ b/arch/powerpc/configs/powernv_defconfig
@@ -214,10 +214,11 @@ CONFIG_HID_SUNPLUS=y
 CONFIG_USB_HIDDEV=y
 CONFIG_USB=y
 CONFIG_USB_MON=m
+CONFIG_USB_XHCI_HCD=y
 CONFIG_USB_EHCI_HCD=y
 # CONFIG_USB_EHCI_HCD_PPC_OF is not set
 CONFIG_USB_OHCI_HCD=y
-CONFIG_USB_STORAGE=m
+CONFIG_USB_STORAGE=y
 CONFIG_NEW_LEDS=y
 CONFIG_LEDS_CLASS=m
 CONFIG_LEDS_POWERNV=m
-- 
2.9.3

^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [PATCH 2/2] powerpc/powernv: Add more BPF in defconfig
  2017-02-06  2:55 [PATCH 1/2] powerpc/powernv: Add XHCI and USB storage to defconfig Michael Neuling
@ 2017-02-06  2:55 ` Michael Neuling
  2017-02-07  0:10   ` Michael Ellerman
  2017-02-09 13:17 ` [1/2] powerpc/powernv: Add XHCI and USB storage to defconfig Michael Ellerman
  1 sibling, 1 reply; 8+ messages in thread
From: Michael Neuling @ 2017-02-06  2:55 UTC (permalink / raw)
  To: mpe; +Cc: linuxppc-dev, Michael Neuling

This enables BCC (https://github.com/iovisor/bcc) on powernv.

This adds 225KB to the vmlinux size.

Signed-off-by: Michael Neuling <mikey@neuling.org>
---
 arch/powerpc/configs/powernv_defconfig | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/arch/powerpc/configs/powernv_defconfig b/arch/powerpc/configs/powernv_defconfig
index 7028dbc753..911b43e2c7 100644
--- a/arch/powerpc/configs/powernv_defconfig
+++ b/arch/powerpc/configs/powernv_defconfig
@@ -29,6 +29,7 @@ CONFIG_CGROUP_CPUACCT=y
 CONFIG_CGROUP_PERF=y
 CONFIG_USER_NS=y
 CONFIG_BLK_DEV_INITRD=y
+CONFIG_BPF_SYSCALL=y
 # CONFIG_COMPAT_BRK is not set
 CONFIG_PROFILING=y
 CONFIG_OPROFILE=y
@@ -79,6 +80,10 @@ CONFIG_NETFILTER=y
 # CONFIG_NETFILTER_ADVANCED is not set
 CONFIG_BRIDGE=m
 CONFIG_VLAN_8021Q=m
+CONFIG_NET_SCHED=y
+CONFIG_NET_CLS_BPF=y
+CONFIG_NET_CLS_ACT=y
+CONFIG_NET_ACT_BPF=y
 CONFIG_BPF_JIT=y
 CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
 CONFIG_DEVTMPFS=y
-- 
2.9.3

^ permalink raw reply related	[flat|nested] 8+ messages in thread

* Re: [PATCH 2/2] powerpc/powernv: Add more BPF in defconfig
  2017-02-06  2:55 ` [PATCH 2/2] powerpc/powernv: Add more BPF in defconfig Michael Neuling
@ 2017-02-07  0:10   ` Michael Ellerman
  2017-02-07  7:54     ` Naveen N. Rao
  0 siblings, 1 reply; 8+ messages in thread
From: Michael Ellerman @ 2017-02-07  0:10 UTC (permalink / raw)
  To: Michael Neuling; +Cc: linuxppc-dev, Michael Neuling

Michael Neuling <mikey@neuling.org> writes:

> This enables BCC (https://github.com/iovisor/bcc) on powernv.
>
> This adds 225KB to the vmlinux size.
>
> Signed-off-by: Michael Neuling <mikey@neuling.org>
> ---
>  arch/powerpc/configs/powernv_defconfig | 5 +++++
>  1 file changed, 5 insertions(+)
>
> diff --git a/arch/powerpc/configs/powernv_defconfig b/arch/powerpc/configs/powernv_defconfig
> index 7028dbc753..911b43e2c7 100644
> --- a/arch/powerpc/configs/powernv_defconfig
> +++ b/arch/powerpc/configs/powernv_defconfig
> @@ -29,6 +29,7 @@ CONFIG_CGROUP_CPUACCT=y
>  CONFIG_CGROUP_PERF=y
>  CONFIG_USER_NS=y
>  CONFIG_BLK_DEV_INITRD=y
> +CONFIG_BPF_SYSCALL=y
>  # CONFIG_COMPAT_BRK is not set
>  CONFIG_PROFILING=y
>  CONFIG_OPROFILE=y
> @@ -79,6 +80,10 @@ CONFIG_NETFILTER=y
>  # CONFIG_NETFILTER_ADVANCED is not set
>  CONFIG_BRIDGE=m
>  CONFIG_VLAN_8021Q=m
> +CONFIG_NET_SCHED=y
> +CONFIG_NET_CLS_BPF=y
> +CONFIG_NET_CLS_ACT=y
> +CONFIG_NET_ACT_BPF=y

I'm inclined to make these =m.

I assume that would still work for bcc?

cheers

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH 2/2] powerpc/powernv: Add more BPF in defconfig
  2017-02-07  0:10   ` Michael Ellerman
@ 2017-02-07  7:54     ` Naveen N. Rao
  2017-02-07 11:00       ` Michael Ellerman
  0 siblings, 1 reply; 8+ messages in thread
From: Naveen N. Rao @ 2017-02-07  7:54 UTC (permalink / raw)
  To: Michael Ellerman; +Cc: Michael Neuling, linuxppc-dev

On 2017/02/07 11:10AM, Michael Ellerman wrote:
> Michael Neuling <mikey@neuling.org> writes:
> 
> > This enables BCC (https://github.com/iovisor/bcc) on powernv.
> >
> > This adds 225KB to the vmlinux size.
> >
> > Signed-off-by: Michael Neuling <mikey@neuling.org>
> > ---
> >  arch/powerpc/configs/powernv_defconfig | 5 +++++
> >  1 file changed, 5 insertions(+)
> >
> > diff --git a/arch/powerpc/configs/powernv_defconfig b/arch/powerpc/configs/powernv_defconfig
> > index 7028dbc753..911b43e2c7 100644
> > --- a/arch/powerpc/configs/powernv_defconfig
> > +++ b/arch/powerpc/configs/powernv_defconfig
> > @@ -29,6 +29,7 @@ CONFIG_CGROUP_CPUACCT=y
> >  CONFIG_CGROUP_PERF=y
> >  CONFIG_USER_NS=y
> >  CONFIG_BLK_DEV_INITRD=y
> > +CONFIG_BPF_SYSCALL=y
> >  # CONFIG_COMPAT_BRK is not set
> >  CONFIG_PROFILING=y
> >  CONFIG_OPROFILE=y
> > @@ -79,6 +80,10 @@ CONFIG_NETFILTER=y
> >  # CONFIG_NETFILTER_ADVANCED is not set
> >  CONFIG_BRIDGE=m
> >  CONFIG_VLAN_8021Q=m
> > +CONFIG_NET_SCHED=y
> > +CONFIG_NET_CLS_BPF=y
> > +CONFIG_NET_CLS_ACT=y
> > +CONFIG_NET_ACT_BPF=y
> 
> I'm inclined to make these =m.
> 
> I assume that would still work for bcc?

Yes, that should work too.
As an aside, I had sent a patch to enable BPF_SYSCALL across powernv, 
pseries and ppc64 defconfigs:
https://patchwork.ozlabs.org/patch/721997/

It would be good to have the network related BPF configs enabled across 
all three.

- Naveen

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH 2/2] powerpc/powernv: Add more BPF in defconfig
  2017-02-07  7:54     ` Naveen N. Rao
@ 2017-02-07 11:00       ` Michael Ellerman
  2017-02-07 18:06         ` Naveen N. Rao
  0 siblings, 1 reply; 8+ messages in thread
From: Michael Ellerman @ 2017-02-07 11:00 UTC (permalink / raw)
  To: Naveen N. Rao; +Cc: Michael Neuling, linuxppc-dev

"Naveen N. Rao" <naveen.n.rao@linux.vnet.ibm.com> writes:
> On 2017/02/07 11:10AM, Michael Ellerman wrote:
>> Michael Neuling <mikey@neuling.org> writes:
>> > diff --git a/arch/powerpc/configs/powernv_defconfig b/arch/powerpc/configs/powernv_defconfig
>> > index 7028dbc753..911b43e2c7 100644
>> > --- a/arch/powerpc/configs/powernv_defconfig
>> > +++ b/arch/powerpc/configs/powernv_defconfig
>> > @@ -79,6 +80,10 @@ CONFIG_NETFILTER=y
>> >  # CONFIG_NETFILTER_ADVANCED is not set
>> >  CONFIG_BRIDGE=m
>> >  CONFIG_VLAN_8021Q=m
>> > +CONFIG_NET_SCHED=y
>> > +CONFIG_NET_CLS_BPF=y
>> > +CONFIG_NET_CLS_ACT=y
>> > +CONFIG_NET_ACT_BPF=y
>> 
>> I'm inclined to make these =m.
>> 
>> I assume that would still work for bcc?
>
> Yes, that should work too.

> As an aside, I had sent a patch to enable BPF_SYSCALL across powernv, 
> pseries and ppc64 defconfigs:
> https://patchwork.ozlabs.org/patch/721997/

Thanks. That's better.

> It would be good to have the network related BPF configs enabled across 
> all three.

I'll mush the patches all together and turn them all on across
pseries/ppc64/powernv.

cheers

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH 2/2] powerpc/powernv: Add more BPF in defconfig
  2017-02-07 11:00       ` Michael Ellerman
@ 2017-02-07 18:06         ` Naveen N. Rao
  2017-02-09 13:17           ` [2/2] " Michael Ellerman
  0 siblings, 1 reply; 8+ messages in thread
From: Naveen N. Rao @ 2017-02-07 18:06 UTC (permalink / raw)
  To: mpe; +Cc: mikey, linuxppc-dev

On 2017/02/07 10:00PM, Michael Ellerman wrote:
> 
> I'll mush the patches all together and turn them all on across
> pseries/ppc64/powernv.

Here's a version that does that. I have merged all the patches
(including UPROBE_EVENT since that is very useful with bcc anyway). I
have also added CGROUP_BPF to get namespace coverage.

Thanks,
Naveen

--
powerpc: include bpf/bcc related config options in defconfigs

Specifically:
- CONFIG_BPF_SYSCALL
- CONFIG_NET_SCHED
- CONFIG_NET_CLS_BPF
- CONFIG_NET_CLS_ACT
- CONFIG_NET_ACT_BPF
- CONFIG_CGROUP_BPF
- CONFIG_UPROBE_EVENT

... in pseries, ppc64 and powernv defconfigs.

Signed-off-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
---
 arch/powerpc/configs/powernv_defconfig | 7 +++++++
 arch/powerpc/configs/ppc64_defconfig   | 7 +++++++
 arch/powerpc/configs/pseries_defconfig | 7 +++++++
 3 files changed, 21 insertions(+)

diff --git a/arch/powerpc/configs/powernv_defconfig b/arch/powerpc/configs/powernv_defconfig
index b793550fac91..7a60b026247a 100644
--- a/arch/powerpc/configs/powernv_defconfig
+++ b/arch/powerpc/configs/powernv_defconfig
@@ -26,9 +26,11 @@ CONFIG_CGROUP_FREEZER=y
 CONFIG_CPUSETS=y
 CONFIG_CGROUP_DEVICE=y
 CONFIG_CGROUP_CPUACCT=y
+CONFIG_CGROUP_BPF=y
 CONFIG_CGROUP_PERF=y
 CONFIG_USER_NS=y
 CONFIG_BLK_DEV_INITRD=y
+CONFIG_BPF_SYSCALL=y
 # CONFIG_COMPAT_BRK is not set
 CONFIG_PROFILING=y
 CONFIG_OPROFILE=y
@@ -79,6 +81,10 @@ CONFIG_NETFILTER=y
 # CONFIG_NETFILTER_ADVANCED is not set
 CONFIG_BRIDGE=m
 CONFIG_VLAN_8021Q=m
+CONFIG_NET_SCHED=y
+CONFIG_NET_CLS_BPF=m
+CONFIG_NET_CLS_ACT=y
+CONFIG_NET_ACT_BPF=m
 CONFIG_BPF_JIT=y
 CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
 CONFIG_DEVTMPFS=y
@@ -290,6 +296,7 @@ CONFIG_LOCKUP_DETECTOR=y
 CONFIG_LATENCYTOP=y
 CONFIG_SCHED_TRACER=y
 CONFIG_BLK_DEV_IO_TRACE=y
+CONFIG_UPROBE_EVENT=y
 CONFIG_CODE_PATCHING_SELFTEST=y
 CONFIG_FTR_FIXUP_SELFTEST=y
 CONFIG_MSI_BITMAP_SELFTEST=y
diff --git a/arch/powerpc/configs/ppc64_defconfig b/arch/powerpc/configs/ppc64_defconfig
index 0396126ba6a8..4f1288b04303 100644
--- a/arch/powerpc/configs/ppc64_defconfig
+++ b/arch/powerpc/configs/ppc64_defconfig
@@ -14,7 +14,9 @@ CONFIG_LOG_BUF_SHIFT=18
 CONFIG_LOG_CPU_MAX_BUF_SHIFT=13
 CONFIG_CGROUPS=y
 CONFIG_CPUSETS=y
+CONFIG_CGROUP_BPF=y
 CONFIG_BLK_DEV_INITRD=y
+CONFIG_BPF_SYSCALL=y
 # CONFIG_COMPAT_BRK is not set
 CONFIG_PROFILING=y
 CONFIG_OPROFILE=y
@@ -76,6 +78,10 @@ CONFIG_INET_IPCOMP=m
 CONFIG_NETFILTER=y
 # CONFIG_NETFILTER_ADVANCED is not set
 CONFIG_BRIDGE=m
+CONFIG_NET_SCHED=y
+CONFIG_NET_CLS_BPF=m
+CONFIG_NET_CLS_ACT=y
+CONFIG_NET_ACT_BPF=m
 CONFIG_BPF_JIT=y
 CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
 CONFIG_DEVTMPFS=y
@@ -324,6 +330,7 @@ CONFIG_DEBUG_MUTEXES=y
 CONFIG_LATENCYTOP=y
 CONFIG_SCHED_TRACER=y
 CONFIG_BLK_DEV_IO_TRACE=y
+CONFIG_UPROBE_EVENT=y
 CONFIG_CODE_PATCHING_SELFTEST=y
 CONFIG_FTR_FIXUP_SELFTEST=y
 CONFIG_MSI_BITMAP_SELFTEST=y
diff --git a/arch/powerpc/configs/pseries_defconfig b/arch/powerpc/configs/pseries_defconfig
index d99734f3b868..6d0eb02fefa4 100644
--- a/arch/powerpc/configs/pseries_defconfig
+++ b/arch/powerpc/configs/pseries_defconfig
@@ -24,12 +24,14 @@ CONFIG_CGROUP_FREEZER=y
 CONFIG_CGROUP_DEVICE=y
 CONFIG_CPUSETS=y
 CONFIG_CGROUP_CPUACCT=y
+CONFIG_CGROUP_BPF=y
 CONFIG_MEMCG=y
 CONFIG_MEMCG_SWAP=y
 CONFIG_CGROUP_PERF=y
 CONFIG_CGROUP_SCHED=y
 CONFIG_USER_NS=y
 CONFIG_BLK_DEV_INITRD=y
+CONFIG_BPF_SYSCALL=y
 # CONFIG_COMPAT_BRK is not set
 CONFIG_PROFILING=y
 CONFIG_OPROFILE=y
@@ -82,6 +84,10 @@ CONFIG_NETFILTER=y
 # CONFIG_NETFILTER_ADVANCED is not set
 CONFIG_BRIDGE=m
 CONFIG_VLAN_8021Q=m
+CONFIG_NET_SCHED=y
+CONFIG_NET_CLS_BPF=m
+CONFIG_NET_CLS_ACT=y
+CONFIG_NET_ACT_BPF=m
 CONFIG_BPF_JIT=y
 CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
 CONFIG_DEVTMPFS=y
@@ -290,6 +296,7 @@ CONFIG_LOCKUP_DETECTOR=y
 CONFIG_LATENCYTOP=y
 CONFIG_SCHED_TRACER=y
 CONFIG_BLK_DEV_IO_TRACE=y
+CONFIG_UPROBE_EVENT=y
 CONFIG_CODE_PATCHING_SELFTEST=y
 CONFIG_FTR_FIXUP_SELFTEST=y
 CONFIG_MSI_BITMAP_SELFTEST=y
-- 
2.11.0

^ permalink raw reply related	[flat|nested] 8+ messages in thread

* Re: [2/2] powerpc/powernv: Add more BPF in defconfig
  2017-02-07 18:06         ` Naveen N. Rao
@ 2017-02-09 13:17           ` Michael Ellerman
  0 siblings, 0 replies; 8+ messages in thread
From: Michael Ellerman @ 2017-02-09 13:17 UTC (permalink / raw)
  To: Naveen N. Rao; +Cc: mikey, linuxppc-dev

On Tue, 2017-02-07 at 18:06:41 UTC, "Naveen N. Rao" wrote:
> On 2017/02/07 10:00PM, Michael Ellerman wrote:
> > 
> > I'll mush the patches all together and turn them all on across
> > pseries/ppc64/powernv.
> 
> Here's a version that does that. I have merged all the patches
> (including UPROBE_EVENT since that is very useful with bcc anyway). I
> have also added CGROUP_BPF to get namespace coverage.
> 
> Thanks,
> Naveen
> ---
> powerpc: include bpf/bcc related config options in defconfigs
> 
> Specifically:
> - CONFIG_BPF_SYSCALL
> - CONFIG_NET_SCHED
> - CONFIG_NET_CLS_BPF
> - CONFIG_NET_CLS_ACT
> - CONFIG_NET_ACT_BPF
> - CONFIG_CGROUP_BPF
> - CONFIG_UPROBE_EVENT
> 
> ... in pseries, ppc64 and powernv defconfigs.
> 
> Signed-off-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>

Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/63b2547b155de2c41d40ea75015574

cheers

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [1/2] powerpc/powernv: Add XHCI and USB storage to defconfig
  2017-02-06  2:55 [PATCH 1/2] powerpc/powernv: Add XHCI and USB storage to defconfig Michael Neuling
  2017-02-06  2:55 ` [PATCH 2/2] powerpc/powernv: Add more BPF in defconfig Michael Neuling
@ 2017-02-09 13:17 ` Michael Ellerman
  1 sibling, 0 replies; 8+ messages in thread
From: Michael Ellerman @ 2017-02-09 13:17 UTC (permalink / raw)
  To: Michael Neuling; +Cc: Michael Neuling, linuxppc-dev

On Mon, 2017-02-06 at 02:55:43 UTC, Michael Neuling wrote:
> These are common on bare metal machines, so put them in the defconfig.
> 
> This adds 216KB to the vmlinux size
> 
> Signed-off-by: Michael Neuling <mikey@neuling.org>

Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/e623c54ec995899cf4179873070861

cheers

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2017-02-09 13:17 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-06  2:55 [PATCH 1/2] powerpc/powernv: Add XHCI and USB storage to defconfig Michael Neuling
2017-02-06  2:55 ` [PATCH 2/2] powerpc/powernv: Add more BPF in defconfig Michael Neuling
2017-02-07  0:10   ` Michael Ellerman
2017-02-07  7:54     ` Naveen N. Rao
2017-02-07 11:00       ` Michael Ellerman
2017-02-07 18:06         ` Naveen N. Rao
2017-02-09 13:17           ` [2/2] " Michael Ellerman
2017-02-09 13:17 ` [1/2] powerpc/powernv: Add XHCI and USB storage to defconfig Michael Ellerman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).