[PATCH v6] ehci: fix EHCI host controller initialization sequence

2021-01-10 Thread Eugene Korenevsky
). BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=211095 Acked-by: Alan Stern Signed-off-by: Eugene Korenevsky --- v1: initial patch v2: add BugLink tag v3: add Revieved-By tags (incorrect), restore `msleep(5)` v4: remove Reviewed-By tags, restore reading from USBCMD prior to msleep, adjust

Re: [RFC PATCH 0/5] Introduce /proc/all/ to gather stats from all processes

2020-08-25 Thread Eugene Lubarsky
fixed them. There's currently a lot of momentum behind io_uring which could not only enable efficient enumeration and retrieval of small files but maybe it would also be a more natural place for an API like task_diag.. Best Wishes, Eugene

Re: [RFC PATCH 0/5] Introduce /proc/all/ to gather stats from all processes

2020-08-25 Thread Eugene Lubarsky
On Mon, 10 Aug 2020 17:41:32 +0200 Greg KH wrote: > On Tue, Aug 11, 2020 at 01:27:00AM +1000, Eugene Lubarsky wrote: > > On Mon, 10 Aug 2020 17:04:53 +0200 > > Greg KH wrote: > And have you benchmarked any of this? Try working with the common > tools that want thi

Re: [RFC PATCH 0/5] Introduce /proc/all/ to gather stats from all processes

2020-08-13 Thread Eugene Lubarsky
f read syscalls are still required. However I may not have the time to figure out a proposed fix for this by myself. Regardless, text-based formats can't match the efficiency of task_diag, but binary ones are also possible. Best Wishes, Eugene

Re: [RFC PATCH 0/5] Introduce /proc/all/ to gather stats from all processes

2020-08-10 Thread Eugene Lubarsky
s? > Currently I'm trying to re-use the existing code in fs/proc that controls which PIDs are visible, but may well be missing something.. Best Wishes, Eugene

[RFC PATCH 4/5] fs/proc: Introduce /proc/all/io

2020-08-10 Thread Eugene Lubarsky
Returns io info for all visible processes. The data is the same as /proc/[pid]/io but formatted as a series of numbers on a single line. A PID column is also prepended. Signed-off-by: Eugene Lubarsky --- fs/proc/base.c | 66 -- 1 file changed, 59

[RFC PATCH 0/5] Introduce /proc/all/ to gather stats from all processes

2020-08-10 Thread Eugene Lubarsky
overlapping goals: /proc/task-diag (https://github.com/avagin/linux-task-diag), but I'm not sure about its current status. Best Wishes, Eugene Eugene Lubarsky (5): fs/proc: Introduce /proc/all/stat fs/proc: Introduce /proc/all/statm fs/proc: Introduce /proc/all/status fs/proc: Introduce /proc

[RFC PATCH 2/5] fs/proc: Introduce /proc/all/statm

2020-08-10 Thread Eugene Lubarsky
Returns statm lines for all visible processes with prepended PIDs. Signed-off-by: Eugene Lubarsky --- fs/proc/base.c | 14 ++ 1 file changed, 14 insertions(+) diff --git a/fs/proc/base.c b/fs/proc/base.c index e0f60a1528b7..8396a38ba7d2 100644 --- a/fs/proc/base.c +++ b/fs/proc

[RFC PATCH 3/5] fs/proc: Introduce /proc/all/status

2020-08-10 Thread Eugene Lubarsky
Returns status lines for all visible processes in the existing format. Signed-off-by: Eugene Lubarsky --- fs/proc/base.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/fs/proc/base.c b/fs/proc/base.c index 8396a38ba7d2..5982fd43dd21 100644 --- a/fs/proc/base.c +++ b/fs/proc

[RFC PATCH 5/5] fs/proc: Introduce /proc/all/statx

2020-08-10 Thread Eugene Lubarsky
ines with "m" or "io", repeating these for each process. e.g. ... 25 (cat) R 1 1 0 0 -1 4194304 185 0 16 0 2 0 0 0 20 ... m 662 188 167 5 0 112 0 io 4292 0 12 0 0 0 0 ... Signed-off-by: Eugene Lubarsky --- fs/proc/base.c | 27 +++ 1 file changed, 27 insert

[RFC PATCH 1/5] fs/proc: Introduce /proc/all/stat

2020-08-10 Thread Eugene Lubarsky
Returns stat lines for all visible processes in the existing format, aiming to substantially reduce the number of syscalls that are needed for this common task. Signed-off-by: Eugene Lubarsky --- fs/proc/base.c | 98 ++ fs/proc/internal.h | 1

Re: [PATCH v10 26/26] x86/cet/shstk: Add arch_prctl functions for shadow stack

2020-05-22 Thread Eugene Syromiatnikov
On Fri, May 22, 2020 at 10:17:43AM -0700, Yu-cheng Yu wrote: > On Thu, 2020-05-21 at 15:42 -0700, Kees Cook wrote: > > On Wed, Apr 29, 2020 at 03:07:32PM -0700, Yu-cheng Yu wrote: > [...] > > > + > > > +int prctl_cet(int option, u64 arg2) > > > +{ > > > + struct cet_status *cet; > > > + > > > + if

Re: [PATCH v2] uapi, posix-timers: provide clockid-related macros and functions to UAPI

2020-05-12 Thread Eugene Syromiatnikov
On Tue, May 12, 2020 at 10:58:16PM +0300, Sergey Organov wrote: > Eugene Syromiatnikov writes: > > > As of now, there is no interface exposed for converting pid/fd into > > clockid and vice versa; linuxptp, for example, has been carrying these > > definitions in missing

[PATCH v2] uapi, posix-timers: provide clockid-related macros and functions to UAPI

2019-09-23 Thread Eugene Syromiatnikov
As of now, there is no interface exposed for converting pid/fd into clockid and vice versa; linuxptp, for example, has been carrying these definitions in missing.h header for quite some time[1]. [1] https://sourceforge.net/p/linuxptp/code/ci/af380e86/tree/missing.h Signed-off-by: Eugene

[PATCH] uapi, posix-timers: provide clockid-related macros and functions to UAPI

2019-09-20 Thread Eugene Syromiatnikov
As of now, there is no interface exposed for converting pid/fd into clockid and vice versa; linuxptp, for example, has been carrying these definitions in missing.h header for quite some time[1]. [1] https://sourceforge.net/p/linuxptp/code/ci/af380e86/tree/missing.h Signed-off-by: Eugene

[PATCH v3 3/3] drivers/md/raid5-ppl.c: use the new spelling of RWH_WRITE_LIFE_NOT_SET

2019-09-20 Thread Eugene Syromiatnikov
As it is consistent with prefixes of other write life time hints. Signed-off-by: Eugene Syromiatnikov --- drivers/md/raid5-ppl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/md/raid5-ppl.c b/drivers/md/raid5-ppl.c index 18a4064..cab5b13 100644 --- a/drivers/md

[PATCH v3 2/3] drivers/md/raid5.c: use the new spelling of RWH_WRITE_LIFE_NOT_SET

2019-09-20 Thread Eugene Syromiatnikov
As it is consistent with prefixes of other write life time hints. Signed-off-by: Eugene Syromiatnikov --- drivers/md/raid5.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/md/raid5.c b/drivers/md/raid5.c index 223e97a..2f71f6f 100644 --- a/drivers/md/raid5.c

[PATCH v3 0/3] Fix typo in RWH_WRITE_LIFE_NOT_SET constant name

2019-09-20 Thread Eugene Syromiatnikov
s/md/raid5-ppl.c:ppl_init_log(). Changes since v1[2]: * Changed format of the commit ID in the commit message of the first patch. * Removed bogus Signed-off-by that snuck into the resend of the series. [1] https://lkml.org/lkml/2018/10/30/34 [2] https://lkml.org/lkml/2018/10/26/88 Eugene Syromi

[PATCH v3 1/3] fcntl: fix typo in RWH_WRITE_LIFE_NOT_SET r/w hint name

2019-09-20 Thread Eugene Syromiatnikov
[3] https://www.mail-archive.com/linux-block@vger.kernel.org/msg09638.html Fixes: c75b1d9421f8 ("fs: add fcntl() interface for setting/getting write life time hints") Signed-off-by: Eugene Syromiatnikov --- fs/fcntl.c | 2 +- include/uapi/linux/fcntl.h | 9 +

[PATCH net v2 1/3] uapi, net/smc: move protocol constant definitions to UAPI

2019-09-20 Thread Eugene Syromiatnikov
support for smc") Signed-off-by: Eugene Syromiatnikov --- include/uapi/linux/smc.h | 7 ++- net/smc/smc.h| 4 +--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/include/uapi/linux/smc.h b/include/uapi/linux/smc.h index 0e11ca4..10561f8 100644 --- a/include/ua

[PATCH net v2 3/3] uapi, net/smc: provide socket state constants in UAPI

2019-09-20 Thread Eugene Syromiatnikov
As socket state itself is already exposed via sock_diag interface. Fixes: ac7138746e14 ("smc: establish new socket family") Fixes: b38d732477e4 ("smc: socket closing and linkgroup cleanup") Signed-off-by: Eugene Syromiatnikov --- include/uapi/linux/smc_diag.h | 17 ++

[PATCH net v2 2/3] uapi, net/smc: provide fallback diagnostic codes in UAPI

2019-09-20 Thread Eugene Syromiatnikov
Since the values to which these codes are corresponding to are already exposed via sock_diag interface. Signed-off-by: Eugene Syromiatnikov --- include/uapi/linux/smc.h | 25 + net/smc/smc_clc.h| 22 -- 2 files changed, 25 insertions(+), 22

[PATCH net v2 0/3] net/smc: move some definitions to UAPI

2019-09-20 Thread Eugene Syromiatnikov
]: * Patch "provide fallback diagnostic codes in UAPI" is updated in accordance with the updated set of diagnostic codes. [1] https://lkml.org/lkml/2018/10/7/177 Eugene Syromiatnikov (3): uapi, net/smc: move protocol constant definitions to UAPI uapi, net/smc: provide fallback diagno

[PATCH v3 5/6] selftests/clone3: enable clone3 self-tests on all architectures

2019-09-11 Thread Eugene Syromiatnikov
clone3() is available on most architectures, so there's no reason to restrict the respective self-tests to x86_64. * tools/testing/selftests/clone3/Makefile (TEST_GEN_PROGS): Set always, not only ifeq ($(ARCH),x86_64). Signed-off-by: Eugene Syromiatnikov --- tools/testing/selftests/clone3

[PATCH v3 1/6] selftests/clone3: convert test modes into an enum

2019-09-11 Thread Eugene Syromiatnikov
parameter type to enum test_mode. Signed-off-by: Eugene Syromiatnikov --- tools/testing/selftests/clone3/clone3.c | 21 ++--- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/tools/testing/selftests/clone3/clone3.c b/tools/testing/selftests/clone3/clone3.c index a0f1989

[PATCH v3 2/6] selftests/clone3: add a check for invalid exit_signal

2019-09-11 Thread Eugene Syromiatnikov
test_mode values. Signed-off-by: Eugene Syromiatnikov --- tools/testing/selftests/clone3/clone3.c | 36 + 1 file changed, 36 insertions(+) diff --git a/tools/testing/selftests/clone3/clone3.c b/tools/testing/selftests/clone3/clone3.c index 7b65ee5..4837865 100644

[PATCH v3 6/6] selftests: add clone3 to TARGETS

2019-09-11 Thread Eugene Syromiatnikov
* tools/testing/selftests/Makefile (TARGETS): Add clone3. Signed-off-by: Eugene Syromiatnikov --- tools/testing/selftests/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/testing/selftests/Makefile b/tools/testing/selftests/Makefile index 25b43a8c..05163e4 100644 --- a/tools

[PATCH v3 4/6] selftests/clone3: fix up format strings

2019-09-11 Thread Eugene Syromiatnikov
* tools/testing/selftests/clone3/clone3.c (test_clone3): Change format qualifier for printing size field from %d to %zu; place colon right after the word "says". Signed-off-by: Eugene Syromiatnikov --- tools/testing/selftests/clone3/clone3.c | 4 ++-- 1 file changed, 2 insert

[PATCH v3 3/6] selftests/clone3: use uint64_t for flags parameter

2019-09-11 Thread Eugene Syromiatnikov
type from int to uint64_t; change the format string that prints it accordingly. Signed-off-by: Eugene Syromiatnikov --- tools/testing/selftests/clone3/clone3.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/tools/testing/selftests/clone3/clone3.c b/tools/testing

[PATCH v3 0/6] Update clone3 self-tests

2019-09-11 Thread Eugene Syromiatnikov
://lkml.org/lkml/2019/9/11/677 [2] https://lkml.org/lkml/2019/9/10/768 [3] https://lkml.org/lkml/2019/9/10/416 Eugene Syromiatnikov (6): selftests/clone3: convert test modes into an enum selftests/clone3: add a check for invalid exit_signal selftests/clone3: use uint64_t for flags parameter

[PATCH v3] fork: check exit_signal passed in clone3() call

2019-09-11 Thread Eugene Syromiatnikov
lone3") Reported-by: Oleg Nesterov Co-authored-by: Oleg Nesterov Co-authored-by: Dmitry V. Levin Signed-off-by: Eugene Syromiatnikov --- kernel/fork.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/kernel/fork.c b/kernel/fork.c index 2852d0e..f98314b 100644 --- a/kernel/fo

[PATCH v3] fork: check exit_signal passed in clone3() call

2019-09-11 Thread Eugene Syromiatnikov
] https://lkml.org/lkml/2019/9/10/411 [6] https://lkml.org/lkml/2019/9/10/467 Eugene Syromiatnikov (1): fork: check exit_signal passed in clone3() call kernel/fork.c | 11 +++ 1 file changed, 11 insertions(+) -- 2.1.4

Re: [PATCH v2] fork: check exit_signal passed in clone3() call

2019-09-11 Thread Eugene Syromiatnikov
On Wed, Sep 11, 2019 at 04:54:47PM +0200, Christian Brauner wrote: > On Wed, Sep 11, 2019 at 03:32:13PM +0100, Eugene Syromiatnikov wrote: > > On Wed, Sep 11, 2019 at 04:16:36PM +0200, Christian Brauner wrote: > > > On Wed, Sep 11, 2019 at 03:52:36PM +0200, Christian Brauner wro

Re: [PATCH v2] fork: check exit_signal passed in clone3() call

2019-09-11 Thread Eugene Syromiatnikov
On Wed, Sep 11, 2019 at 04:16:36PM +0200, Christian Brauner wrote: > On Wed, Sep 11, 2019 at 03:52:36PM +0200, Christian Brauner wrote: > > On Wed, Sep 11, 2019 at 06:48:52AM -0700, Andrew Morton wrote: > > > What are the user-visible runtime effects of this bug? The userspace can set -1 as an

[PATCH v2 1/6] selftests/clone3: convert test modes into an enum

2019-09-10 Thread Eugene Syromiatnikov
parameter type to enum test_mode. Signed-off-by: Eugene Syromiatnikov --- tools/testing/selftests/clone3/clone3.c | 21 ++--- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/tools/testing/selftests/clone3/clone3.c b/tools/testing/selftests/clone3/clone3.c index a0f1989

[PATCH v2 5/6] selftests/clone3: enable clone3 self-tests on all architectures

2019-09-10 Thread Eugene Syromiatnikov
clone3() is available on most architectures, so there's no reason to restrict the respective self-tests to x86_64. * tools/testing/selftests/clone3/Makefile (TEST_GEN_PROGS): Set always, not only ifeq ($(ARCH),x86_64). Signed-off-by: Eugene Syromiatnikov --- tools/testing/selftests/clone3

[PATCH v2 3/6] selftests/clone3: use uint64_t for flags parameter

2019-09-10 Thread Eugene Syromiatnikov
type from int to uint64_t; change the format string that prints it accordingly. Signed-off-by: Eugene Syromiatnikov --- tools/testing/selftests/clone3/clone3.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/tools/testing/selftests/clone3/clone3.c b/tools/testing

[PATCH v2 4/6] selftests/clone3: fix up format strings

2019-09-10 Thread Eugene Syromiatnikov
* tools/testing/selftests/clone3/clone3.c (test_clone3): Change format qualifier for printing size field from %d to %zu; place colon right after the word "says". Signed-off-by: Eugene Syromiatnikov --- tools/testing/selftests/clone3/clone3.c | 4 ++-- 1 file changed, 2 insert

[PATCH v2 6/6] selftests: add clone3 to TARGETS

2019-09-10 Thread Eugene Syromiatnikov
* tools/testing/selftests/Makefile (TARGETS): Add clone3. Signed-off-by: Eugene Syromiatnikov --- tools/testing/selftests/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/testing/selftests/Makefile b/tools/testing/selftests/Makefile index 25b43a8c..05163e4 100644 --- a/tools

[PATCH v2 2/6] selftests/clone3: add a check for invalid exit_signal

2019-09-10 Thread Eugene Syromiatnikov
to the added enum test_mode values. Signed-off-by: Eugene Syromiatnikov --- tools/testing/selftests/clone3/clone3.c | 36 + 1 file changed, 36 insertions(+) diff --git a/tools/testing/selftests/clone3/clone3.c b/tools/testing/selftests/clone3/clone3.c index 7b65ee5

[PATCH v2 0/6] Update clone3 self-tests

2019-09-10 Thread Eugene Syromiatnikov
. Changes since v1[1]: - exit_signal check extended to cover more cases of invalid exit_signal value. [1] https://lkml.org/lkml/2019/9/10/416 Eugene Syromiatnikov (6): selftests/clone3: convert test modes into an enum selftests/clone3: add a check for invalid exit_signal selftests/clone3

[PATCH v2] fork: check exit_signal passed in clone3() call

2019-09-10 Thread Eugene Syromiatnikov
tps://lkml.org/lkml/2019/9/10/411 [3] https://lkml.org/lkml/2019/9/10/467 Eugene Syromiatnikov (1): fork: check exit_signal passed in clone3() call kernel/fork.c | 12 1 file changed, 12 insertions(+) -- 2.1.4

[PATCH v2] fork: check exit_signal passed in clone3() call

2019-09-10 Thread Eugene Syromiatnikov
* kernel/fork.c (copy_clone_args_from_user): Fail with -EINVAL if args.exit_signal has bits set outside CSIGNAL mask. (_do_fork): Note that exit_signal is expected to be checked for the sanity by the caller. Fixes: 7f192e3cd316 ("fork: add clone3") Reported-by: Oleg Nesterov Signed-off-

Re: [PATCH] fork: fail on non-zero higher 32 bits of args.exit_signal

2019-09-10 Thread Eugene Syromiatnikov
p 10, 2019 at 03:09:35PM +0200, Christian Brauner wrote: > > > > > On Tue, Sep 10, 2019 at 02:44:41PM +0200, Oleg Nesterov wrote: > > > > > > On 09/10, Eugene Syromiatnikov wrote: > > > > > > > > > > > > > > ---

Re: [PATCH] fork: fail on non-zero higher 32 bits of args.exit_signal

2019-09-10 Thread Eugene Syromiatnikov
: > > > > On 09/10, Eugene Syromiatnikov wrote: > > > > > > > > > > --- a/kernel/fork.c > > > > > +++ b/kernel/fork.c > > > > > @@ -2562,6 +2562,9 @@ noinline static int > > > > > copy_clone_args_from_user(struct ke

[PATCH 5/6] selftests/clone3: enable clone3 self-tests on all architectures

2019-09-10 Thread Eugene Syromiatnikov
clone3() is available on most architectures, so there's no reason to restrict the respective self-tests to x86_64. * tools/testing/selftests/clone3/Makefile (TEST_GEN_PROGS): Set always, not only ifeq ($(ARCH),x86_64). Signed-off-by: Eugene Syromiatnikov --- tools/testing/selftests/clone3

[PATCH 6/6] selftests: add clone3 to TARGETS

2019-09-10 Thread Eugene Syromiatnikov
* tools/testing/selftests/Makefile (TARGETS): Add clone3. Signed-off-by: Eugene Syromiatnikov --- tools/testing/selftests/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/testing/selftests/Makefile b/tools/testing/selftests/Makefile index 25b43a8c..05163e4 100644 --- a/tools

[PATCH 2/6] selftests/clone3: add a check for invalid exit_signal

2019-09-10 Thread Eugene Syromiatnikov
test_clone3 clone check with test_mode == CLONE3_ARGS_BIG_EXIT_SIGNAL. Signed-off-by: Eugene Syromiatnikov --- tools/testing/selftests/clone3/clone3.c | 9 + 1 file changed, 9 insertions(+) diff --git a/tools/testing/selftests/clone3/clone3.c b/tools/testing/selftests/clone3/clone3.c index

[PATCH 3/6] selftests/clone3: use uint64_t for flags parameter

2019-09-10 Thread Eugene Syromiatnikov
type from int to uint64_t; change the format string that prints it accordingly. Signed-off-by: Eugene Syromiatnikov --- tools/testing/selftests/clone3/clone3.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/tools/testing/selftests/clone3/clone3.c b/tools/testing

[PATCH 1/6] selftests/clone3: convert test modes into an enum

2019-09-10 Thread Eugene Syromiatnikov
parameter type to enum test_mode. Signed-off-by: Eugene Syromiatnikov --- tools/testing/selftests/clone3/clone3.c | 21 ++--- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/tools/testing/selftests/clone3/clone3.c b/tools/testing/selftests/clone3/clone3.c index a0f1989

[PATCH 4/6] selftests/clone3: fix up format strings

2019-09-10 Thread Eugene Syromiatnikov
* tools/testing/selftests/clone3/clone3.c (test_clone3): Change format qualifier for printing size field from %d to %zu; place colon right after the word "says". Signed-off-by: Eugene Syromiatnikov --- tools/testing/selftests/clone3/clone3.c | 4 ++-- 1 file changed, 2 insert

[PATCH 0/6] Update clone3 self-tests

2019-09-10 Thread Eugene Syromiatnikov
of the clone3 test. Applied on top of brauer/linux.git/for-next. Eugene Syromiatnikov (6): selftests/clone3: convert test modes into an enum selftests/clone3: add a check for invalid exit_signal selftests/clone3: use uint64_t for flags parameter selftests/clone3: fix up format strings

[PATCH] fork: fail on non-zero higher 32 bits of args.exit_signal

2019-09-10 Thread Eugene Syromiatnikov
with -EINVAL if args.exit_signal converted to unsigned int is not equal to the original value. Signed-off-by: Eugene Syromiatnikov --- kernel/fork.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/kernel/fork.c b/kernel/fork.c index 2852d0e..fcbc4d5 100644 --- a/kernel/fork.c +++ b/kernel

Re: [PATCH] kallsyms: store type information in its own array

2019-03-07 Thread Eugene Loh
It's been 1.5 weeks. Could I get some feedback on this patch? Thanks. On 02/25/2019 11:59 AM, eugene@oracle.com wrote: From: Eugene Loh When a module is loaded, its symbols' Elf_Sym information is stored in a symtab. Further, type information is also captured. Since Elf_Sym has

[PATCH] kallsyms: store type information in its own array

2019-02-25 Thread eugene . loh
From: Eugene Loh When a module is loaded, its symbols' Elf_Sym information is stored in a symtab. Further, type information is also captured. Since Elf_Sym has no type field, historically the st_info field has been hijacked for storing type: st_info was overwritten. commit

[PATCH] Kbuild: Handle too long symbols in kallsyms.c

2019-01-17 Thread eugene . loh
From: Eugene Loh When checking for symbols with excessively long names, account for null terminating character. Fixes: f3462aa952cf ("Kbuild: Handle longer symbols in kallsyms.c") Signed-off-by: Eugene Loh --- scripts/kallsyms.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletion

Re: [PATCH v2 0/2] Fix typo in RWH_WRITE_LIFE_NOT_SET constant name

2018-12-17 Thread Eugene Syromiatnikov
On Mon, Oct 29, 2018 at 09:00:45PM +0100, Eugene Syromiatnikov wrote: > This is a small fix of a typo (or, more specifically, some remnant of > the old patch version spelling) in RWH_WRITE_LIFE_NOT_SET constant, > which is named as RWF_WRITE_LIFE_NOT_SET currently. Since the name

Re: [PATCH] execve.2: document an effect of BINPRM_BUF_SIZE increase to 256

2018-11-22 Thread Eugene Syromiatnikov
On Thu, Nov 22, 2018 at 04:59:24PM +0100, Michael Kerrisk (man-pages) wrote: > Hi Eugene, > > On Wed, 21 Nov 2018 at 17:07, Eugene Syromiatnikov wrote: > > > > Increase of BINPRM_BUF_SIZE to 256 increases the limit on the possible > > interpreter line length for scrip

Re: [PATCH] execve.2: document an effect of BINPRM_BUF_SIZE increase to 256

2018-11-22 Thread Eugene Syromiatnikov
On Thu, Nov 22, 2018 at 04:59:24PM +0100, Michael Kerrisk (man-pages) wrote: > Hi Eugene, > > On Wed, 21 Nov 2018 at 17:07, Eugene Syromiatnikov wrote: > > > > Increase of BINPRM_BUF_SIZE to 256 increases the limit on the possible > > interpreter line length for scrip

Re: [PATCH v1 2/2] signal: add procfd_signal() syscall

2018-11-19 Thread Eugene Syromiatnikov
On Mon, Nov 19, 2018 at 11:32:39AM +0100, Christian Brauner wrote: > +/** > + * sys_procfd_signal - send a signal to a process through a process file > + * descriptor > + * @fd: the file descriptor of the process > + * @sig: signal to be sent > + * @info: the signal info >

Re: [PATCH v1 2/2] signal: add procfd_signal() syscall

2018-11-19 Thread Eugene Syromiatnikov
On Mon, Nov 19, 2018 at 11:32:39AM +0100, Christian Brauner wrote: > +/** > + * sys_procfd_signal - send a signal to a process through a process file > + * descriptor > + * @fd: the file descriptor of the process > + * @sig: signal to be sent > + * @info: the signal info >

Re: [PATCH v1 2/2] signal: add procfd_signal() syscall

2018-11-19 Thread Eugene Syromiatnikov
On Mon, Nov 19, 2018 at 11:32:39AM +0100, Christian Brauner wrote: > diff --git a/arch/x86/entry/syscalls/syscall_32.tbl > b/arch/x86/entry/syscalls/syscall_32.tbl > index 3cf7b533b3d1..e637eab883e9 100644 > --- a/arch/x86/entry/syscalls/syscall_32.tbl > +++

Re: [PATCH v1 2/2] signal: add procfd_signal() syscall

2018-11-19 Thread Eugene Syromiatnikov
On Mon, Nov 19, 2018 at 11:32:39AM +0100, Christian Brauner wrote: > diff --git a/arch/x86/entry/syscalls/syscall_32.tbl > b/arch/x86/entry/syscalls/syscall_32.tbl > index 3cf7b533b3d1..e637eab883e9 100644 > --- a/arch/x86/entry/syscalls/syscall_32.tbl > +++

[PATCH v2 2/2] drivers/md/raid5.c: use the new spelling of RWH_WRITE_LIFE_NOT_SET

2018-10-29 Thread Eugene Syromiatnikov
As it is consistent with prefixes of other write life time hints. Signed-off-by: Eugene Syromiatnikov --- drivers/md/raid5.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/md/raid5.c b/drivers/md/raid5.c index e4e98f4..0bcfbd3 100644 --- a/drivers/md/raid5.c

[PATCH v2 2/2] drivers/md/raid5.c: use the new spelling of RWH_WRITE_LIFE_NOT_SET

2018-10-29 Thread Eugene Syromiatnikov
As it is consistent with prefixes of other write life time hints. Signed-off-by: Eugene Syromiatnikov --- drivers/md/raid5.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/md/raid5.c b/drivers/md/raid5.c index e4e98f4..0bcfbd3 100644 --- a/drivers/md/raid5.c

[PATCH v2 1/2] fcntl: fix typo in RWH_WRITE_LIFE_NOT_SET r/w hint

2018-10-29 Thread Eugene Syromiatnikov
www.mail-archive.com/linux-block@vger.kernel.org/msg09638.html Fixes: c75b1d9421f8 ("fs: add fcntl() interface for setting/getting write life time hints") Signed-off-by: Eugene Syromiatnikov --- fs/fcntl.c | 2 +- include/uapi/linux/fcntl.h | 9 - to

[PATCH v2 1/2] fcntl: fix typo in RWH_WRITE_LIFE_NOT_SET r/w hint

2018-10-29 Thread Eugene Syromiatnikov
www.mail-archive.com/linux-block@vger.kernel.org/msg09638.html Fixes: c75b1d9421f8 ("fs: add fcntl() interface for setting/getting write life time hints") Signed-off-by: Eugene Syromiatnikov --- fs/fcntl.c | 2 +- include/uapi/linux/fcntl.h | 9 - to

[PATCH v2 0/2] Fix typo in RWH_WRITE_LIFE_NOT_SET constant name

2018-10-29 Thread Eugene Syromiatnikov
irst patch. * Removed bogus Signed-off-by that snuck into the resend of the series. Eugene Syromiatnikov (2): fcntl: fix typo in RWH_WRITE_LIFE_NOT_SET r/w hint drivers/md/raid5.c: use the new spelling of RWH_WRITE_LIFE_NOT_SET drivers/md/raid5.c | 4 ++--

[PATCH v2 0/2] Fix typo in RWH_WRITE_LIFE_NOT_SET constant name

2018-10-29 Thread Eugene Syromiatnikov
irst patch. * Removed bogus Signed-off-by that snuck into the resend of the series. Eugene Syromiatnikov (2): fcntl: fix typo in RWH_WRITE_LIFE_NOT_SET r/w hint drivers/md/raid5.c: use the new spelling of RWH_WRITE_LIFE_NOT_SET drivers/md/raid5.c | 4 ++--

Re: [PATCH RESEND 1/2] fcntl: fix typo in RWH_WRITE_LIFE_NOT_SET r/w hint

2018-10-29 Thread Eugene Syromiatnikov
On Fri, Oct 26, 2018 at 08:44:35AM -0600, Jens Axboe wrote: > On 10/25/18 3:54 PM, Eugene Syromiatnikov wrote: > > According to commit message in the original commit v4.13-rc1~212^2~51, > > as well as userspace library[1] and man page update[2], R/W hint constants > > are

Re: [PATCH RESEND 1/2] fcntl: fix typo in RWH_WRITE_LIFE_NOT_SET r/w hint

2018-10-29 Thread Eugene Syromiatnikov
On Fri, Oct 26, 2018 at 08:44:35AM -0600, Jens Axboe wrote: > On 10/25/18 3:54 PM, Eugene Syromiatnikov wrote: > > According to commit message in the original commit v4.13-rc1~212^2~51, > > as well as userspace library[1] and man page update[2], R/W hint constants > > are

[PATCH RESEND 2/2] drivers/md/raid5.c: use the new spelling of RWH_WRITE_LIFE_NOT_SET

2018-10-25 Thread Eugene Syromiatnikov
As it is consistent with prefixes of other write life time hints. Signed-off-by: Eugene Syromiatnikov Signed-off-by: Eugene Syromyatnikov --- drivers/md/raid5.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/md/raid5.c b/drivers/md/raid5.c index e4e98f4

[PATCH RESEND 2/2] drivers/md/raid5.c: use the new spelling of RWH_WRITE_LIFE_NOT_SET

2018-10-25 Thread Eugene Syromiatnikov
As it is consistent with prefixes of other write life time hints. Signed-off-by: Eugene Syromiatnikov Signed-off-by: Eugene Syromyatnikov --- drivers/md/raid5.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/md/raid5.c b/drivers/md/raid5.c index e4e98f4

[PATCH RESEND 1/2] fcntl: fix typo in RWH_WRITE_LIFE_NOT_SET r/w hint

2018-10-25 Thread Eugene Syromiatnikov
5b1d9421f8 ("fs: add fcntl() interface for setting/getting write life time hints") Signed-off-by: Eugene Syromiatnikov Signed-off-by: Eugene Syromyatnikov --- fs/fcntl.c | 2 +- include/uapi/linux/fcntl.h | 9 - tools/include/uapi/linux/fcntl.h |

[PATCH RESEND 1/2] fcntl: fix typo in RWH_WRITE_LIFE_NOT_SET r/w hint

2018-10-25 Thread Eugene Syromiatnikov
5b1d9421f8 ("fs: add fcntl() interface for setting/getting write life time hints") Signed-off-by: Eugene Syromiatnikov Signed-off-by: Eugene Syromyatnikov --- fs/fcntl.c | 2 +- include/uapi/linux/fcntl.h | 9 - tools/include/uapi/linux/fcntl.h |

[PATCH RESEND 0/2] Fix typo in RWH_WRITE_LIFE_NOT_SET constant name

2018-10-25 Thread Eugene Syromyatnikov
th to make the name used in the fcntl.h UAPI header in line with it. Second follow-up patch updates (the sole) usage site of this constant in kernel to use the new spelling. The old name is retained as it is part of UAPI now. Eugene Syromiatnikov (2): fcntl: fix typo in RWH_WRITE_LIFE_NOT_SET r/w hint

[PATCH RESEND 0/2] Fix typo in RWH_WRITE_LIFE_NOT_SET constant name

2018-10-25 Thread Eugene Syromyatnikov
th to make the name used in the fcntl.h UAPI header in line with it. Second follow-up patch updates (the sole) usage site of this constant in kernel to use the new spelling. The old name is retained as it is part of UAPI now. Eugene Syromiatnikov (2): fcntl: fix typo in RWH_WRITE_LIFE_NOT_SET r/w hint

Re: [PATCH 0/2] Fix typo in RWH_WRITE_LIFE_NOT_SET constant name

2018-10-25 Thread Eugene Syromiatnikov
On Thu, Oct 25, 2018 at 08:25:44AM -0600, Jens Axboe wrote: > On 10/25/18 8:19 AM, Eugene Syromiatnikov wrote: > > On Sat, Oct 06, 2018 at 07:51:14PM +0200, Eugene Syromiatnikov wrote: > >> Hello. > >> > >> This is a small fix of a typo (or, more specifically

Re: [PATCH 0/2] Fix typo in RWH_WRITE_LIFE_NOT_SET constant name

2018-10-25 Thread Eugene Syromiatnikov
On Thu, Oct 25, 2018 at 08:25:44AM -0600, Jens Axboe wrote: > On 10/25/18 8:19 AM, Eugene Syromiatnikov wrote: > > On Sat, Oct 06, 2018 at 07:51:14PM +0200, Eugene Syromiatnikov wrote: > >> Hello. > >> > >> This is a small fix of a typo (or, more specifically

Re: [PATCH 0/2] Fix typo in RWH_WRITE_LIFE_NOT_SET constant name

2018-10-25 Thread Eugene Syromiatnikov
On Sat, Oct 06, 2018 at 07:51:14PM +0200, Eugene Syromiatnikov wrote: > Hello. > > This is a small fix of a typo (or, more specifically, some remnant of > the old patch version spelling) in RWH_WRITE_LIFE_NOT_SET constant, > which is named as RWF_WRITE_LIFE_NOT_SET currently.

Re: [PATCH 0/2] Fix typo in RWH_WRITE_LIFE_NOT_SET constant name

2018-10-25 Thread Eugene Syromiatnikov
On Sat, Oct 06, 2018 at 07:51:14PM +0200, Eugene Syromiatnikov wrote: > Hello. > > This is a small fix of a typo (or, more specifically, some remnant of > the old patch version spelling) in RWH_WRITE_LIFE_NOT_SET constant, > which is named as RWF_WRITE_LIFE_NOT_SET currently.

Re: [PATCH v3 7/7] ia64: wire up system calls

2018-10-11 Thread Eugene Syromiatnikov
On Thu, Oct 11, 2018 at 09:24:43AM +0200, Arnd Bergmann wrote: > On Thu, Oct 11, 2018 at 6:26 AM Firoz Khan wrote: > > +# perf_event_open requires an architecture specific implementation > > +326common perf_event_open sys_perf_event_open [...] > > I don't think that's

Re: [PATCH v3 7/7] ia64: wire up system calls

2018-10-11 Thread Eugene Syromiatnikov
On Thu, Oct 11, 2018 at 09:24:43AM +0200, Arnd Bergmann wrote: > On Thu, Oct 11, 2018 at 6:26 AM Firoz Khan wrote: > > +# perf_event_open requires an architecture specific implementation > > +326common perf_event_open sys_perf_event_open [...] > > I don't think that's

[RFC PATCH] uapi, posix-timers: provide clockid-related macros and functions to UAPI

2018-10-07 Thread Eugene Syromiatnikov
As of now, there is no interface exposed for converting pid/fd into clockid and vice versa; linuxptp, for example, has been carrying these definitions in missing.h header for quite some time[1]. [1] https://sourceforge.net/p/linuxptp/code/ci/af380e86/tree/missing.h Signed-off-by: Eugene

[RFC PATCH] uapi, posix-timers: provide clockid-related macros and functions to UAPI

2018-10-07 Thread Eugene Syromiatnikov
As of now, there is no interface exposed for converting pid/fd into clockid and vice versa; linuxptp, for example, has been carrying these definitions in missing.h header for quite some time[1]. [1] https://sourceforge.net/p/linuxptp/code/ci/af380e86/tree/missing.h Signed-off-by: Eugene

Re: [PATCH V7 00/20] C-SKY(csky) Linux Kernel Port

2018-10-06 Thread Eugene Syromiatnikov
On Sun, Oct 07, 2018 at 12:48:15PM +0800, Guo Ren wrote: > On Sat, Oct 06, 2018 at 10:06:49PM +0200, Eugene Syromiatnikov wrote: > > I'm sorry for my ignorance, but I'm struggling to find ISA reference/manual, > > architecture programming manual, and System V ABI definition; > &

Re: [PATCH V7 00/20] C-SKY(csky) Linux Kernel Port

2018-10-06 Thread Eugene Syromiatnikov
On Sun, Oct 07, 2018 at 12:48:15PM +0800, Guo Ren wrote: > On Sat, Oct 06, 2018 at 10:06:49PM +0200, Eugene Syromiatnikov wrote: > > I'm sorry for my ignorance, but I'm struggling to find ISA reference/manual, > > architecture programming manual, and System V ABI definition; > &

Re: [PATCH V7 00/20] C-SKY(csky) Linux Kernel Port

2018-10-06 Thread Eugene Syromiatnikov
On Fri, Oct 05, 2018 at 01:41:42PM +0800, Guo Ren wrote: > This is the 7th version patchset to add the Linux kernel port for > C-SKY(csky) based on linux-4.19-rc3. > > In this patchset some fixup patches are folded into original patch in > order to make review clearly and reduce the patches'

Re: [PATCH V7 00/20] C-SKY(csky) Linux Kernel Port

2018-10-06 Thread Eugene Syromiatnikov
On Fri, Oct 05, 2018 at 01:41:42PM +0800, Guo Ren wrote: > This is the 7th version patchset to add the Linux kernel port for > C-SKY(csky) based on linux-4.19-rc3. > > In this patchset some fixup patches are folded into original patch in > order to make review clearly and reduce the patches'

[PATCH 2/2] drivers/md/raid5.c: use the new spelling of RWH_WRITE_LIFE_NOT_SET

2018-10-06 Thread Eugene Syromiatnikov
As it is consistent with prefixes of other write life time hints. Signed-off-by: Eugene Syromiatnikov --- drivers/md/raid5.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/md/raid5.c b/drivers/md/raid5.c index e4e98f4..0bcfbd3 100644 --- a/drivers/md/raid5.c

[PATCH 2/2] drivers/md/raid5.c: use the new spelling of RWH_WRITE_LIFE_NOT_SET

2018-10-06 Thread Eugene Syromiatnikov
As it is consistent with prefixes of other write life time hints. Signed-off-by: Eugene Syromiatnikov --- drivers/md/raid5.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/md/raid5.c b/drivers/md/raid5.c index e4e98f4..0bcfbd3 100644 --- a/drivers/md/raid5.c

[PATCH 1/2] fcntl: fix typo in RWH_WRITE_LIFE_NOT_SET r/w hint

2018-10-06 Thread Eugene Syromiatnikov
5b1d9421f8 ("fs: add fcntl() interface for setting/getting write life time hints") Signed-off-by: Eugene Syromiatnikov --- fs/fcntl.c | 2 +- include/uapi/linux/fcntl.h | 9 - tools/include/uapi/linux/fcntl.h | 9 - 3 files changed, 17 insert

[PATCH 1/2] fcntl: fix typo in RWH_WRITE_LIFE_NOT_SET r/w hint

2018-10-06 Thread Eugene Syromiatnikov
5b1d9421f8 ("fs: add fcntl() interface for setting/getting write life time hints") Signed-off-by: Eugene Syromiatnikov --- fs/fcntl.c | 2 +- include/uapi/linux/fcntl.h | 9 - tools/include/uapi/linux/fcntl.h | 9 - 3 files changed, 17 insert

[PATCH 0/2] Fix typo in RWH_WRITE_LIFE_NOT_SET constant name

2018-10-06 Thread Eugene Syromiatnikov
th to make the name used in the fcntl.h UAPI header in line with it. Second follow-up patch updates (the sole) usage site of this constant in kernel to use the new spelling. The old name is retained as it is part of UAPI now. Eugene Syromiatnikov (2): fcntl: fix typo in RWH_WRITE_LIFE_NOT_SET r/w hint

[PATCH 0/2] Fix typo in RWH_WRITE_LIFE_NOT_SET constant name

2018-10-06 Thread Eugene Syromiatnikov
th to make the name used in the fcntl.h UAPI header in line with it. Second follow-up patch updates (the sole) usage site of this constant in kernel to use the new spelling. The old name is retained as it is part of UAPI now. Eugene Syromiatnikov (2): fcntl: fix typo in RWH_WRITE_LIFE_NOT_SET r/w hint

Re: [PATCH resend] uapi/linux/keyctl.h: don't use C++ reserved keyword as a struct member name

2018-09-09 Thread Eugene Syromiatnikov
On Tue, Aug 28, 2018 at 04:34:04PM -0700, Randy Dunlap wrote: > From: Randy Dunlap > > Since this header is in "include/uapi/linux/", apparently people > want to use it in userspace programs -- even in C++ ones. > However, the header uses a C++ reserved keyword ("private"), > so change that to

Re: [PATCH resend] uapi/linux/keyctl.h: don't use C++ reserved keyword as a struct member name

2018-09-09 Thread Eugene Syromiatnikov
On Tue, Aug 28, 2018 at 04:34:04PM -0700, Randy Dunlap wrote: > From: Randy Dunlap > > Since this header is in "include/uapi/linux/", apparently people > want to use it in userspace programs -- even in C++ ones. > However, the header uses a C++ reserved keyword ("private"), > so change that to

[PATCH bpf 0/2] Use __aligned_u64 in UAPI fields

2018-05-27 Thread Eugene Syromiatnikov
throughout the UAPI header. Eugene Syromiatnikov (2): bpf: fix alignment of netns_dev/netns_ino fields in bpf_{map,prog}_info bpf: enforce usage of __aligned_u64 in the UAPI header include/uapi/linux/bpf.h | 30 +++--- tools/include/uapi/linux/bpf.h | 30

[PATCH bpf 2/2] bpf: enforce usage of __aligned_u64 in the UAPI header

2018-05-27 Thread Eugene Syromiatnikov
were added to struct bpf_sock_ops in commit v4.16-rc1~123^2~33^2~5^2~4, struct bpf_perf_event_value was added in commit v4.15-rc1~84^2~532^2~3). Signed-off-by: Eugene Syromiatnikov <e...@redhat.com> --- include/uapi/linux/bpf.h | 22 +++--- tools/include/uapi/

[PATCH bpf 1/2] bpf: fix alignment of netns_dev/netns_ino fields in bpf_{map,prog}_info

2018-05-27 Thread Eugene Syromiatnikov
for these fields. Reported-by: Dmitry V. Levin <l...@altlinux.org> Fixes: 52775b33bb507 ("bpf: offload: report device information about offloaded maps") Fixes: 675fc275a3a2d ("bpf: offload: report device information for offloaded programs") Signed-off-by: Eugene Syro

  1   2   3   4   5   6   >