Re: [PATCH v6 1/4] of: overlay: kobjectify overlay objects

2015-10-21 Thread Pantelis Antoniou
Hi Greg, > On Oct 21, 2015, at 00:03 , Greg Kroah-Hartman > wrote: > > On Tue, Oct 20, 2015 at 10:13:14PM +0300, Pantelis Antoniou wrote: >> We are going to need the overlays to appear on sysfs with runtime >> global properties (like master enable) so turn them into

Re: [PATCH v6 0/5] PCI: Add support for PCI Enhanced Allocation "BARs"

2015-10-21 Thread Bjorn Helgaas
On Tue, Oct 20, 2015 at 04:04:37PM -0700, David Daney wrote: > From: David Daney > > The original patches are from Sean O. Stalley. I made a few tweaks, > but feel that it is substancially Sean's work, so I am keeping the > patch set version numbering scheme going. > >

Re: [PATCH v4 10/79] via_drm.h: move struct via_file_private definition to drivers/gpu/drm/via/via_drv.h

2015-10-21 Thread Emil Velikov
On 15 October 2015 at 06:55, Mikko Rapeli wrote: > Fixes userspace compile error since list_head is not exported to userspace > headers. > > Suggested by Emil Velikov at > https://lkml.org/lkml/2015/6/3/792 > > Signed-off-by: Mikko Rapeli

Re: [PATCH v4 04/79] drm_mode.h: use __u32 and __u64 from linux/types.h

2015-10-21 Thread Alex Deucher
On Wed, Oct 21, 2015 at 11:09 AM, Emil Velikov wrote: > Hi Alex, > > On 15 October 2015 at 14:48, Mikko Rapeli wrote: >> On Thu, Oct 15, 2015 at 09:32:10AM -0400, Alex Deucher wrote: >>> On Thu, Oct 15, 2015 at 1:55 AM, Mikko Rapeli

Re: [PATCH v6 1/4] of: overlay: kobjectify overlay objects

2015-10-21 Thread Greg Kroah-Hartman
On Wed, Oct 21, 2015 at 04:28:33PM +0300, Pantelis Antoniou wrote: > Hi Greg, > > > On Oct 21, 2015, at 00:03 , Greg Kroah-Hartman > > wrote: > > > > On Tue, Oct 20, 2015 at 10:13:14PM +0300, Pantelis Antoniou wrote: > >> We are going to need the overlays to appear

Re: [PATCH v4 09/79] via_drm.h: don't include non-existing via_drmclient.h

2015-10-21 Thread Emil Velikov
On 15 October 2015 at 06:55, Mikko Rapeli wrote: > Fixes compiler error: > > drm/via_drm.h:36:27: fatal error: via_drmclient.h: No such file or directory > > Signed-off-by: Mikko Rapeli > --- > include/uapi/drm/via_drm.h | 3 --- > 1 file changed, 3

Re: [PATCH v8 04/14] task_isolation: add initial support

2015-10-21 Thread Frederic Weisbecker
On Tue, Oct 20, 2015 at 04:36:02PM -0400, Chris Metcalf wrote: > diff --git a/kernel/isolation.c b/kernel/isolation.c > new file mode 100644 > index ..9a73235db0bb > --- /dev/null > +++ b/kernel/isolation.c > @@ -0,0 +1,78 @@ > +/* > + * linux/kernel/isolation.c > + * > + *

Re: [PATCH v6 0/5] PCI: Add support for PCI Enhanced Allocation "BARs"

2015-10-21 Thread David Daney
On 10/21/2015 08:14 AM, Bjorn Helgaas wrote: [...] Applied to pci/enhanced-allocation for v4.4, thanks, David! I tweaked a couple trivial things and added a couple almost trivial patches on top. Here are the additions; let me know if you see anything wrong. Thanks for working with us on

Re: [PATCH v4 04/79] drm_mode.h: use __u32 and __u64 from linux/types.h

2015-10-21 Thread Alex Deucher
On Wed, Oct 21, 2015 at 12:21 PM, Emil Velikov wrote: > On 21 October 2015 at 16:18, Alex Deucher wrote: >> On Wed, Oct 21, 2015 at 11:09 AM, Emil Velikov >> wrote: >>> Hi Alex, >>> >>> On 15 October 2015 at 14:48,

Re: [PATCH v4 04/79] drm_mode.h: use __u32 and __u64 from linux/types.h

2015-10-21 Thread Emil Velikov
On 21 October 2015 at 16:18, Alex Deucher wrote: > On Wed, Oct 21, 2015 at 11:09 AM, Emil Velikov > wrote: >> Hi Alex, >> >> On 15 October 2015 at 14:48, Mikko Rapeli wrote: >>> On Thu, Oct 15, 2015 at 09:32:10AM -0400, Alex

Re: [PATCH] TTY, devpts: document pty count limiting

2015-10-21 Thread Greg KH
On Wed, Oct 21, 2015 at 01:08:54PM +0300, Konstantin Khlebnikov wrote: > Logic was changed in kernel 3.4 by commit e9aba5158a80 ("tty: rework pty > count limiting") but still isn't documented. Better late than never. > > Signed-off-by: Konstantin Khlebnikov > --- >

Re: [PATCH v4 10/79] via_drm.h: move struct via_file_private definition to drivers/gpu/drm/via/via_drv.h

2015-10-21 Thread Emil Velikov
On 21 October 2015 at 16:33, Daniel Vetter wrote: > On Wed, Oct 21, 2015 at 03:36:22PM +0100, Emil Velikov wrote: >> On 15 October 2015 at 06:55, Mikko Rapeli wrote: >> > Fixes userspace compile error since list_head is not exported to userspace >> >

Re: [PATCH v4 12/79] include/uapi/drm/sis_drm.h: move sis_file_private to drivers/gpu/drm/sis/sis_drv.h

2015-10-21 Thread Daniel Vetter
On Wed, Oct 21, 2015 at 03:39:07PM +0100, Emil Velikov wrote: > On 15 October 2015 at 06:55, Mikko Rapeli wrote: > > Fixes userspace compile error: > > > > drm/sis_drm.h:68:19: error: field ‘obj_list’ has incomplete type > > struct list_head obj_list; > > > > Suggested by

Re: [PATCH v4 10/79] via_drm.h: move struct via_file_private definition to drivers/gpu/drm/via/via_drv.h

2015-10-21 Thread Daniel Vetter
On Wed, Oct 21, 2015 at 03:36:22PM +0100, Emil Velikov wrote: > On 15 October 2015 at 06:55, Mikko Rapeli wrote: > > Fixes userspace compile error since list_head is not exported to userspace > > headers. > > > > Suggested by Emil Velikov at > >

Re: [PATCH v4 2/4] mm, proc: account for shmem swap in /proc/pid/smaps

2015-10-21 Thread Vlastimil Babka
On 10/05/2015 05:01 AM, Hugh Dickins wrote: On Fri, 2 Oct 2015, Vlastimil Babka wrote: Currently, /proc/pid/smaps will always show "Swap: 0 kB" for shmem-backed mappings, even if the mapped portion does contain pages that were swapped out. This is because unlike private anonymous mappings,

Re: [PATCH v4 12/79] include/uapi/drm/sis_drm.h: move sis_file_private to drivers/gpu/drm/sis/sis_drv.h

2015-10-21 Thread Emil Velikov
On 15 October 2015 at 06:55, Mikko Rapeli wrote: > Fixes userspace compile error: > > drm/sis_drm.h:68:19: error: field ‘obj_list’ has incomplete type > struct list_head obj_list; > > Suggested by Emil Velikov at >

Re: [PATCH v4 04/79] drm_mode.h: use __u32 and __u64 from linux/types.h

2015-10-21 Thread Emil Velikov
Hi Alex, On 15 October 2015 at 14:48, Mikko Rapeli wrote: > On Thu, Oct 15, 2015 at 09:32:10AM -0400, Alex Deucher wrote: >> On Thu, Oct 15, 2015 at 1:55 AM, Mikko Rapeli wrote: >> > Fixes userspace compilation error: >> > >> > drm/drm_mode.h:472:2:

Re: [PATCH v4 04/79] drm_mode.h: use __u32 and __u64 from linux/types.h

2015-10-21 Thread Emil Velikov
On 21 October 2015 at 17:27, Alex Deucher wrote: > On Wed, Oct 21, 2015 at 12:21 PM, Emil Velikov > wrote: >> On 21 October 2015 at 16:18, Alex Deucher wrote: >>> On Wed, Oct 21, 2015 at 11:09 AM, Emil Velikov

Re: [PATCH v8 06/14] task_isolation: provide strict mode configurable signal

2015-10-21 Thread Andy Lutomirski
On Tue, Oct 20, 2015 at 11:41 PM, Gilad Ben Yossef wrote: > > >> From: Andy Lutomirski [mailto:l...@amacapital.net] >> Sent: Wednesday, October 21, 2015 4:43 AM >> To: Chris Metcalf >> Subject: Re: [PATCH v8 06/14] task_isolation: provide strict mode >> configurable signal >>

Re: [PATCH] userns/capability: Add user namespace capability

2015-10-21 Thread Andy Lutomirski
On Oct 19, 2015 7:25 AM, "Austin S Hemmelgarn" wrote: > > On 2015-10-17 11:58, Tobias Markus wrote: >> >> Add capability CAP_SYS_USER_NS. >> Tasks having CAP_SYS_USER_NS are allowed to create a new user namespace >> when calling clone or unshare with CLONE_NEWUSER. >> >>

Re: [PATCH v8] seccomp, ptrace: add support for dumping seccomp filters

2015-10-21 Thread Oleg Nesterov
On 10/20, Tycho Andersen wrote: > > Hi Kees, Oleg, > > On Tue, Oct 20, 2015 at 10:20:24PM +0200, Oleg Nesterov wrote: > > > > No, you can't do copy_to_user() from atomic context. You need to pin this > > filter, drop the lock/irq, then copy_to_user(). > > Attached is a patch which addresses this.

Re: [PATCH] TTY, devpts: document pty count limiting

2015-10-21 Thread Eric W. Biederman
Greg KH writes: > On Wed, Oct 21, 2015 at 01:08:54PM +0300, Konstantin Khlebnikov wrote: >> Logic was changed in kernel 3.4 by commit e9aba5158a80 ("tty: rework pty >> count limiting") but still isn't documented. Better late than never. >> >> Signed-off-by:

Re: [PATCH v6 3/4] of: overlay: add per overlay sysfs attributes

2015-10-21 Thread Pantelis Antoniou
Hi Rob, > On Oct 21, 2015, at 00:54 , Rob Herring wrote: > > On Tue, Oct 20, 2015 at 4:11 PM, Pantelis Antoniou > wrote: >> Hi Rob, >> >>> On Oct 21, 2015, at 00:04 , Rob Herring wrote: >>> >>> On Tue, Oct 20,

Re: [PATCH] userns/capability: Add user namespace capability

2015-10-21 Thread Austin S Hemmelgarn
On 2015-10-21 14:53, Andy Lutomirski wrote: On Oct 19, 2015 7:25 AM, "Austin S Hemmelgarn" wrote: On 2015-10-17 11:58, Tobias Markus wrote: Add capability CAP_SYS_USER_NS. Tasks having CAP_SYS_USER_NS are allowed to create a new user namespace when calling clone or

Re: [PATCH v8] seccomp, ptrace: add support for dumping seccomp filters

2015-10-21 Thread Tycho Andersen
Hi Oleg, On Wed, Oct 21, 2015 at 08:51:46PM +0200, Oleg Nesterov wrote: > On 10/20, Tycho Andersen wrote: > > > > Hi Kees, Oleg, > > > > On Tue, Oct 20, 2015 at 10:20:24PM +0200, Oleg Nesterov wrote: > > > > > > No, you can't do copy_to_user() from atomic context. You need to pin this > > >

Re: [PATCH v8] seccomp, ptrace: add support for dumping seccomp filters

2015-10-21 Thread Kees Cook
On Wed, Oct 21, 2015 at 12:15 PM, Tycho Andersen wrote: > Hi Oleg, > > On Wed, Oct 21, 2015 at 08:51:46PM +0200, Oleg Nesterov wrote: >> On 10/20, Tycho Andersen wrote: >> > >> > Hi Kees, Oleg, >> > >> > On Tue, Oct 20, 2015 at 10:20:24PM +0200, Oleg Nesterov wrote:

Re: [PATCH v8] seccomp, ptrace: add support for dumping seccomp filters

2015-10-21 Thread Daniel Borkmann
On 10/21/2015 10:12 PM, Kees Cook wrote: On Wed, Oct 21, 2015 at 12:15 PM, Tycho Andersen wrote: Hi Oleg, On Wed, Oct 21, 2015 at 08:51:46PM +0200, Oleg Nesterov wrote: On 10/20, Tycho Andersen wrote: Hi Kees, Oleg, On Tue, Oct 20, 2015 at 10:20:24PM +0200,

Re: [PATCH v8] seccomp, ptrace: add support for dumping seccomp filters

2015-10-21 Thread Oleg Nesterov
On 10/21, Tycho Andersen wrote: > > Hi Oleg, > > On Wed, Oct 21, 2015 at 08:51:46PM +0200, Oleg Nesterov wrote: > > > + > > > + if (WARN_ON(count != 1)) { > > > + /* The filter tree shouldn't shrink while we're using it. */ > > > + ret = -ENOENT; > > > > Yes. but this looks a bit

Re: [PATCH v8] seccomp, ptrace: add support for dumping seccomp filters

2015-10-21 Thread Tycho Andersen
On Wed, Oct 21, 2015 at 10:18:20PM +0200, Daniel Borkmann wrote: > On 10/21/2015 10:12 PM, Kees Cook wrote: > > > >I like being really paranoid when dealing with the filters. Let's keep > >the WARN_ON (with the "|| !filter" added) but maybe wrap it in > >"unlikely"? > > Btw, the conditions inside

Re: [PATCH v8] seccomp, ptrace: add support for dumping seccomp filters

2015-10-21 Thread Kees Cook
On Wed, Oct 21, 2015 at 2:07 PM, Oleg Nesterov wrote: > On 10/21, Tycho Andersen wrote: >> >> Hi Oleg, >> >> On Wed, Oct 21, 2015 at 08:51:46PM +0200, Oleg Nesterov wrote: >> > > + >> > > + if (WARN_ON(count != 1)) { >> > > + /* The filter tree shouldn't shrink while

Re: [PATCH v8] seccomp, ptrace: add support for dumping seccomp filters

2015-10-21 Thread Tycho Andersen
Hi Oleg, On Wed, Oct 21, 2015 at 11:07:56PM +0200, Oleg Nesterov wrote: > On 10/21, Tycho Andersen wrote: > > > > Hi Oleg, > > > > On Wed, Oct 21, 2015 at 08:51:46PM +0200, Oleg Nesterov wrote: > > > > + > > > > + if (WARN_ON(count != 1)) { > > > > + /* The filter tree

Re: [PATCH v6 3/4] of: overlay: add per overlay sysfs attributes

2015-10-21 Thread Rob Herring
On Wed, Oct 21, 2015 at 2:37 PM, Pantelis Antoniou wrote: > Hi Rob, > >> On Oct 21, 2015, at 00:54 , Rob Herring wrote: >> >> On Tue, Oct 20, 2015 at 4:11 PM, Pantelis Antoniou >> wrote: >>> Hi Rob, >>>

Re: [PATCH v4 2/4] mm, proc: account for shmem swap in /proc/pid/smaps

2015-10-21 Thread Hugh Dickins
On Wed, 21 Oct 2015, Vlastimil Babka wrote: > On 10/05/2015 05:01 AM, Hugh Dickins wrote: > > On Fri, 2 Oct 2015, Vlastimil Babka wrote: > > > > > Currently, /proc/pid/smaps will always show "Swap: 0 kB" for shmem-backed > > > mappings, even if the mapped portion does contain pages that were

Re: [PATCH v6 0/5] PCI: Add support for PCI Enhanced Allocation "BARs"

2015-10-21 Thread Sean O. Stalley
On Wed, Oct 21, 2015 at 10:14:59AM -0500, Bjorn Helgaas wrote: > > Applied to pci/enhanced-allocation for v4.4, thanks, David! > > I tweaked a couple trivial things and added a couple almost trivial patches > on top. Here are the additions; let me know if you see anything wrong. > > Bjorn >

Re: [RFC v3 9/9] kmsg: selftests

2015-10-21 Thread Michael Ellerman
On Mon, 2015-10-19 at 14:58 +0200, Paul Osmialowski wrote: > This patch adds selftests framework and four test scenarios for kmsg. > > The framework shape and code was inspired by similar selftests framework > for kdbus. > diff --git a/tools/testing/selftests/kmsg/Makefile >

RE: [PATCH v8 06/14] task_isolation: provide strict mode configurable signal

2015-10-21 Thread Gilad Ben Yossef
> From: Andy Lutomirski [mailto:l...@amacapital.net] > Sent: Wednesday, October 21, 2015 4:43 AM > To: Chris Metcalf > Subject: Re: [PATCH v8 06/14] task_isolation: provide strict mode > configurable signal > > On Tue, Oct 20, 2015 at 6:30 PM, Chris Metcalf > wrote: > > On

Re: [PATCH] HID: roccat: Fixed resubmit: Deprecating most Roccat sysfs attributes

2015-10-21 Thread Jiri Kosina
On Sat, 17 Oct 2015, Stefan Achatz wrote: > Deprecates all Roccat sysfs attributes except the ones for the old Kone by > moving > abi descriptions from testing to obsolete. > For most devices everything can be done using the hidraw ioctls HIDIOCGFEATURE > and HIDIOCSFEATURE, so I would suggest

[PATCH] TTY, devpts: document pty count limiting

2015-10-21 Thread Konstantin Khlebnikov
Logic was changed in kernel 3.4 by commit e9aba5158a80 ("tty: rework pty count limiting") but still isn't documented. Better late than never. Signed-off-by: Konstantin Khlebnikov --- Documentation/filesystems/devpts.txt |9 +

Re: [PATCH v8 00/14] support "task_isolation" mode for nohz_full

2015-10-21 Thread Peter Zijlstra
Can you *please* start a new thread with each posting? This is absolutely unmanageable. -- To unsubscribe from this list: send the line "unsubscribe linux-api" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH v6 2/4] of: overlay: global sysfs enable attribute

2015-10-21 Thread Pantelis Antoniou
Hi Rob, > On Oct 21, 2015, at 00:50 , Rob Herring wrote: > > On Tue, Oct 20, 2015 at 4:06 PM, Greg Kroah-Hartman > wrote: >> On Tue, Oct 20, 2015 at 10:13:15PM +0300, Pantelis Antoniou wrote: >>> A throw once master enable switch to protect