Re: [PATCH 06/16] arch: remove tile port

2018-03-15 Thread Chris Metcalf
On 3/14/2018 10:36 AM, Arnd Bergmann wrote: The Tile architecture port was added by Chris Metcalf in 2010, and maintained until early 2018 when he orphaned it due to his departure from Mellanox, and nobody else stepped up to maintain it. The product line is still around in the form

Re: [PATCH 06/16] arch: remove tile port

2018-03-15 Thread Chris Metcalf
On 3/14/2018 10:36 AM, Arnd Bergmann wrote: The Tile architecture port was added by Chris Metcalf in 2010, and maintained until early 2018 when he orphaned it due to his departure from Mellanox, and nobody else stepped up to maintain it. The product line is still around in the form

[GIT PULL] arch/tile "bugfix" for 4.15-rc3

2017-12-05 Thread Chris Metcalf
. Chris Metcalf (1):   arch/tile: mark as orphaned  MAINTAINERS | 4 +---  1 file changed, 1 insertion(+), 3 deletions(-) -- Chris Metcalf, Mellanox Technologies http://www.mellanox.com

[GIT PULL] arch/tile "bugfix" for 4.15-rc3

2017-12-05 Thread Chris Metcalf
. Chris Metcalf (1):   arch/tile: mark as orphaned  MAINTAINERS | 4 +---  1 file changed, 1 insertion(+), 3 deletions(-) -- Chris Metcalf, Mellanox Technologies http://www.mellanox.com

Re: linux-next: remove the tile tree?

2017-12-04 Thread Chris Metcalf
On 12/4/2017 3:25 PM, Stephen Rothwell wrote: Hi Chris, Given commit 8ee5ad1d4c0b ("arch/tile: mark as orphaned") in Linus' tree, should I remove the tile tree from linux-next? Yes, that would make sense.  Good catch! -- Chris Metcalf, Mellanox Technologies http://www.mellanox.com

Re: linux-next: remove the tile tree?

2017-12-04 Thread Chris Metcalf
On 12/4/2017 3:25 PM, Stephen Rothwell wrote: Hi Chris, Given commit 8ee5ad1d4c0b ("arch/tile: mark as orphaned") in Linus' tree, should I remove the tile tree from linux-next? Yes, that would make sense.  Good catch! -- Chris Metcalf, Mellanox Technologies http://www.mellanox.com

[PATCH] arch/tile: mark as orphaned

2017-12-04 Thread Chris Metcalf
Metcalf <metc...@alum.mit.edu> Signed-off-by: Chris Metcalf <cmetc...@mellanox.com> --- This is my last week at Mellanox, and in the absence of customer engagements, it doesn't seem to make sense to transition the tile architecture maintainer role over to some other Mellanox employee. It wo

[PATCH] arch/tile: mark as orphaned

2017-12-04 Thread Chris Metcalf
Metcalf Signed-off-by: Chris Metcalf --- This is my last week at Mellanox, and in the absence of customer engagements, it doesn't seem to make sense to transition the tile architecture maintainer role over to some other Mellanox employee. It would be great if someone in the community were interested

Re: [PATCH v16 00/13] support "task_isolation" mode

2017-11-07 Thread Chris Metcalf
On 11/7/2017 12:10 PM, Christopher Lameter wrote: On Mon, 6 Nov 2017, Chris Metcalf wrote: On 11/6/2017 10:38 AM, Christopher Lameter wrote: What about that d*mn 1 Hz clock? It's still there, so this code still requires some further work before it can actually get a process into long-term

Re: [PATCH v16 00/13] support "task_isolation" mode

2017-11-07 Thread Chris Metcalf
On 11/7/2017 12:10 PM, Christopher Lameter wrote: On Mon, 6 Nov 2017, Chris Metcalf wrote: On 11/6/2017 10:38 AM, Christopher Lameter wrote: What about that d*mn 1 Hz clock? It's still there, so this code still requires some further work before it can actually get a process into long-term

Re: [PATCH v16 10/13] arch/arm: enable task isolation functionality

2017-11-06 Thread Chris Metcalf
the last week of -rc8 pass more quickly by digging into this patch series!  :-) -- Chris Metcalf, Mellanox Technologies http://www.mellanox.com

Re: [PATCH v16 10/13] arch/arm: enable task isolation functionality

2017-11-06 Thread Chris Metcalf
the last week of -rc8 pass more quickly by digging into this patch series!  :-) -- Chris Metcalf, Mellanox Technologies http://www.mellanox.com

Re: [PATCH v16 09/13] arch/arm64: enable task isolation functionality

2017-11-03 Thread Chris Metcalf
On 11/3/2017 1:32 PM, Mark Rutland wrote: Hi Chris, On Fri, Nov 03, 2017 at 01:04:48PM -0400, Chris Metcalf wrote: In do_notify_resume(), call task_isolation_start() for TIF_TASK_ISOLATION tasks. Add _TIF_TASK_ISOLATION to _TIF_WORK_MASK, and define a local NOTIFY_RESUME_LOOP_FLAGS to check

Re: [PATCH v16 09/13] arch/arm64: enable task isolation functionality

2017-11-03 Thread Chris Metcalf
On 11/3/2017 1:32 PM, Mark Rutland wrote: Hi Chris, On Fri, Nov 03, 2017 at 01:04:48PM -0400, Chris Metcalf wrote: In do_notify_resume(), call task_isolation_start() for TIF_TASK_ISOLATION tasks. Add _TIF_TASK_ISOLATION to _TIF_WORK_MASK, and define a local NOTIFY_RESUME_LOOP_FLAGS to check

[PATCH] arch/tile: Implement ->set_state_oneshot_stopped()

2017-11-03 Thread Chris Metcalf
, as explained by: commit 8fff52fd5093 ("clockevents: Introduce CLOCK_EVT_STATE_ONESHOT_STOPPED state"). Signed-off-by: Chris Metcalf <cmetc...@mellanox.com> --- arch/tile/kernel/time.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/tile/kernel/time.c b/arch/tile/ker

[PATCH] arch/tile: Implement ->set_state_oneshot_stopped()

2017-11-03 Thread Chris Metcalf
, as explained by: commit 8fff52fd5093 ("clockevents: Introduce CLOCK_EVT_STATE_ONESHOT_STOPPED state"). Signed-off-by: Chris Metcalf --- arch/tile/kernel/time.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/tile/kernel/time.c b/arch/tile/kernel/time.c index 6643ffbc0615..f9

Re: [PATCH v16 12/13] arm, tile: turn off timer tick for oneshot_stopped state

2017-11-03 Thread Chris Metcalf
On 11/3/2017 1:18 PM, Mark Rutland wrote: Hi Chris, On Fri, Nov 03, 2017 at 01:04:51PM -0400, Chris Metcalf wrote: diff --git a/drivers/clocksource/arm_arch_timer.c b/drivers/clocksource/arm_arch_timer.c index fd4b7f684bd0..61ea7f907c56 100644 --- a/drivers/clocksource/arm_arch_timer.c +++ b

Re: [PATCH v16 12/13] arm, tile: turn off timer tick for oneshot_stopped state

2017-11-03 Thread Chris Metcalf
On 11/3/2017 1:18 PM, Mark Rutland wrote: Hi Chris, On Fri, Nov 03, 2017 at 01:04:51PM -0400, Chris Metcalf wrote: diff --git a/drivers/clocksource/arm_arch_timer.c b/drivers/clocksource/arm_arch_timer.c index fd4b7f684bd0..61ea7f907c56 100644 --- a/drivers/clocksource/arm_arch_timer.c +++ b

[GIT PULL] arch/tile bugfixes for 4.14-rcN

2017-11-03 Thread Chris Metcalf
Linus, Please pull the following two commits for 4.14 from: git://git.kernel.org/pub/scm/linux/kernel/git/cmetcalf/linux-tile.git master These are both one-line bug fixes. Chris Metcalf (1): arch/tile: Implement ->set_state_oneshot_stopped() Luc Van Oostenryck (1): tile: p

[GIT PULL] arch/tile bugfixes for 4.14-rcN

2017-11-03 Thread Chris Metcalf
Linus, Please pull the following two commits for 4.14 from: git://git.kernel.org/pub/scm/linux/kernel/git/cmetcalf/linux-tile.git master These are both one-line bug fixes. Chris Metcalf (1): arch/tile: Implement ->set_state_oneshot_stopped() Luc Van Oostenryck (1): tile: p

Re: [PATCH v16 10/13] arch/arm: enable task isolation functionality

2017-11-03 Thread Chris Metcalf
On 11/3/2017 1:23 PM, Russell King - ARM Linux wrote: On Fri, Nov 03, 2017 at 01:04:49PM -0400, Chris Metcalf wrote: From: Francis Giraldeau <francis.girald...@gmail.com> This patch is a port of the task isolation functionality to the arm 32-bit architecture. The task isolation

Re: [PATCH v16 10/13] arch/arm: enable task isolation functionality

2017-11-03 Thread Chris Metcalf
On 11/3/2017 1:23 PM, Russell King - ARM Linux wrote: On Fri, Nov 03, 2017 at 01:04:49PM -0400, Chris Metcalf wrote: From: Francis Giraldeau This patch is a port of the task isolation functionality to the arm 32-bit architecture. The task isolation needs an additional thread flag

[PATCH v16 07/13] Add task isolation hooks to arch-independent code

2017-11-03 Thread Chris Metcalf
that for example smp_send_reschedule() is a single generic function that just calls arch_smp_send_reschedule(), allowing generic code to be called every time smp_send_reschedule() is invoked. But for now, we just update either callers or callees as makes most sense. Signed-off-by: Chris Metcalf <cm

[PATCH v16 07/13] Add task isolation hooks to arch-independent code

2017-11-03 Thread Chris Metcalf
that for example smp_send_reschedule() is a single generic function that just calls arch_smp_send_reschedule(), allowing generic code to be called every time smp_send_reschedule() is invoked. But for now, we just update either callers or callees as makes most sense. Signed-off-by: Chris Metcalf

[PATCH v16 10/13] arch/arm: enable task isolation functionality

2017-11-03 Thread Chris Metcalf
bit 7. Signed-off-by: Francis Giraldeau <francis.girald...@gmail.com> Signed-off-by: Chris Metcalf <cmetc...@mellanox.com> [with modifications] --- arch/arm/Kconfig | 1 + arch/arm/include/asm/thread_info.h | 10 +++--- arch/arm/kernel/entry-common.S | 12

[PATCH v16 10/13] arch/arm: enable task isolation functionality

2017-11-03 Thread Chris Metcalf
Giraldeau Signed-off-by: Chris Metcalf [with modifications] --- arch/arm/Kconfig | 1 + arch/arm/include/asm/thread_info.h | 10 +++--- arch/arm/kernel/entry-common.S | 12 arch/arm/kernel/ptrace.c | 10 ++ arch/arm/kernel/signal.c

[PATCH v16 09/13] arch/arm64: enable task isolation functionality

2017-11-03 Thread Chris Metcalf
We instrument the smp_send_reschedule() routine so that it checks for isolated tasks and generates a suitable warning if needed. Finally, report on page faults in task-isolation processes in do_page_faults(). Signed-off-by: Chris Metcalf <cmetc...@mellanox.com> --- arch/arm64/Kconfig | 1 +

[PATCH v16 09/13] arch/arm64: enable task isolation functionality

2017-11-03 Thread Chris Metcalf
We instrument the smp_send_reschedule() routine so that it checks for isolated tasks and generates a suitable warning if needed. Finally, report on page faults in task-isolation processes in do_page_faults(). Signed-off-by: Chris Metcalf --- arch/arm64/Kconfig | 1 + arch/arm64/include/asm/threa

[PATCH v16 08/13] arch/x86: enable task isolation functionality

2017-11-03 Thread Chris Metcalf
, namely non-signalling page faults and non-signalling MPX fixups. Signed-off-by: Chris Metcalf <cmetc...@mellanox.com> --- arch/x86/Kconfig | 1 + arch/x86/entry/common.c| 14 ++ arch/x86/include/asm/apic.h| 3 +++ arch/x86/inclu

[PATCH v16 08/13] arch/x86: enable task isolation functionality

2017-11-03 Thread Chris Metcalf
, namely non-signalling page faults and non-signalling MPX fixups. Signed-off-by: Chris Metcalf --- arch/x86/Kconfig | 1 + arch/x86/entry/common.c| 14 ++ arch/x86/include/asm/apic.h| 3 +++ arch/x86/include/asm/thread_info.h | 8 +--- arch

[PATCH v16 05/13] Add try_stop_full_tick() API for NO_HZ_FULL

2017-11-03 Thread Chris Metcalf
This API checks to see if the scheduler tick can be stopped, and if so, stops it and returns 0; otherwise it returns an error. This is intended for use with task isolation, where we will want to be able to stop the tick synchronously when returning to userspace. Signed-off-by: Chris Metcalf

[PATCH v16 05/13] Add try_stop_full_tick() API for NO_HZ_FULL

2017-11-03 Thread Chris Metcalf
This API checks to see if the scheduler tick can be stopped, and if so, stops it and returns 0; otherwise it returns an error. This is intended for use with task isolation, where we will want to be able to stop the tick synchronously when returning to userspace. Signed-off-by: Chris Metcalf

[PATCH v16 06/13] task_isolation: userspace hard isolation from kernel

2017-11-03 Thread Chris Metcalf
schedule IPI to be sent to the remote core so it can be sure to generate a signal to notify the process. Separate patches that follow provide these changes for x86, tile, arm, and arm64. Signed-off-by: Chris Metcalf <cmetc...@mellanox.com> --- Documentation/admin-guide/kernel-parameters.

[PATCH v16 06/13] task_isolation: userspace hard isolation from kernel

2017-11-03 Thread Chris Metcalf
schedule IPI to be sent to the remote core so it can be sure to generate a signal to notify the process. Separate patches that follow provide these changes for x86, tile, arm, and arm64. Signed-off-by: Chris Metcalf --- Documentation/admin-guide/kernel-parameters.txt | 6 + include/linux/isolat

[PATCH v16 03/13] Revert "sched/core: Drop the unused try_get_task_struct() helper function"

2017-11-03 Thread Chris Metcalf
This reverts commit f11cc0760b8397e0d230122606421b6a96e9f869. We do need this function for try_get_task_struct_on_cpu(). Signed-off-by: Chris Metcalf <cmetc...@mellanox.com> --- include/linux/sched/task.h | 2 ++ kernel/exit.c | 13 + 2 files changed, 15 inse

[PATCH v16 03/13] Revert "sched/core: Drop the unused try_get_task_struct() helper function"

2017-11-03 Thread Chris Metcalf
This reverts commit f11cc0760b8397e0d230122606421b6a96e9f869. We do need this function for try_get_task_struct_on_cpu(). Signed-off-by: Chris Metcalf --- include/linux/sched/task.h | 2 ++ kernel/exit.c | 13 + 2 files changed, 15 insertions(+) diff --git a/include

[PATCH v16 12/13] arm, tile: turn off timer tick for oneshot_stopped state

2017-11-03 Thread Chris Metcalf
l properly re-enable it. This fix avoids a small performance hiccup for regular applications, but for TASK_ISOLATION code, it fixes a potentially serious kernel timer interruption to the time-sensitive application. Signed-off-by: Chris Metcalf <cmetc...@mellanox.com> Acked-by: Daniel Lezcano

[PATCH v16 12/13] arm, tile: turn off timer tick for oneshot_stopped state

2017-11-03 Thread Chris Metcalf
l properly re-enable it. This fix avoids a small performance hiccup for regular applications, but for TASK_ISOLATION code, it fixes a potentially serious kernel timer interruption to the time-sensitive application. Signed-off-by: Chris Metcalf Acked-by: Daniel Lezcano --- arch/tile/kernel/time.c

[PATCH v16 13/13] task_isolation self test

2017-11-03 Thread Chris Metcalf
This code tests various aspects of task_isolation. Signed-off-by: Chris Metcalf <cmetc...@mellanox.com> --- tools/testing/selftests/Makefile | 1 + tools/testing/selftests/task_isolation/Makefile| 6 + tools/testing/selftests/task_isolation/config | 1 +

[PATCH v16 13/13] task_isolation self test

2017-11-03 Thread Chris Metcalf
This code tests various aspects of task_isolation. Signed-off-by: Chris Metcalf --- tools/testing/selftests/Makefile | 1 + tools/testing/selftests/task_isolation/Makefile| 6 + tools/testing/selftests/task_isolation/config | 1 + tools/testing/selftests

[PATCH v16 11/13] arch/tile: enable task isolation functionality

2017-11-03 Thread Chris Metcalf
not generate signals to the application. Signed-off-by: Chris Metcalf <cmetc...@mellanox.com> --- arch/tile/Kconfig | 1 + arch/tile/include/asm/thread_info.h | 2 ++ arch/tile/kernel/hardwall.c | 2 ++ arch/tile/kernel/irq.c | 3 +++ arch/tile/kernel/messa

[PATCH v16 11/13] arch/tile: enable task isolation functionality

2017-11-03 Thread Chris Metcalf
not generate signals to the application. Signed-off-by: Chris Metcalf --- arch/tile/Kconfig | 1 + arch/tile/include/asm/thread_info.h | 2 ++ arch/tile/kernel/hardwall.c | 2 ++ arch/tile/kernel/irq.c | 3 +++ arch/tile/kernel/messaging.c| 4 arch

[PATCH v16 04/13] Add try_get_task_struct_on_cpu() to scheduler for task isolation

2017-11-03 Thread Chris Metcalf
; it uses try_get_task_struct() to increment the ref count on the returned task_struct so that the caller can examine it even if the actual remote task has already exited by that point. Signed-off-by: Chris Metcalf <cmetc...@mellanox.com> --- include/linux/sched/task.h | 1 + kernel/sched/

[PATCH v16 04/13] Add try_get_task_struct_on_cpu() to scheduler for task isolation

2017-11-03 Thread Chris Metcalf
; it uses try_get_task_struct() to increment the ref count on the returned task_struct so that the caller can examine it even if the actual remote task has already exited by that point. Signed-off-by: Chris Metcalf --- include/linux/sched/task.h | 1 + kernel/sched/core.c| 11

[PATCH v16 02/13] vmstat: add vmstat_idle function

2017-11-03 Thread Chris Metcalf
This function checks to see if a vmstat worker is not running, and the vmstat diffs don't require an update. The function is called from the task-isolation code to see if we need to actually do some work to quiet vmstat. Acked-by: Christoph Lameter <c...@linux.com> Signed-off-by: Chris M

[PATCH v16 02/13] vmstat: add vmstat_idle function

2017-11-03 Thread Chris Metcalf
This function checks to see if a vmstat worker is not running, and the vmstat diffs don't require an update. The function is called from the task-isolation code to see if we need to actually do some work to quiet vmstat. Acked-by: Christoph Lameter Signed-off-by: Chris Metcalf --- include

[PATCH v16 01/13] vmstat: add quiet_vmstat_sync function

2017-11-03 Thread Chris Metcalf
guarantees that the vmstat worker will not run on the core on return from the function. Add a quiet_vmstat_sync() function with that semantic. Signed-off-by: Chris Metcalf <cmetc...@mellanox.com> --- include/linux/vmstat.h | 2 ++ mm/vmstat.c| 9 + 2 files changed, 11 ins

[PATCH v16 01/13] vmstat: add quiet_vmstat_sync function

2017-11-03 Thread Chris Metcalf
guarantees that the vmstat worker will not run on the core on return from the function. Add a quiet_vmstat_sync() function with that semantic. Signed-off-by: Chris Metcalf --- include/linux/vmstat.h | 2 ++ mm/vmstat.c| 9 + 2 files changed, 11 insertions(+) diff --git a/inc

[PATCH v16 00/13] support "task_isolation" mode

2017-11-03 Thread Chris Metcalf
hack). Frederic suggested a while ago forcing updates on cpustats was required as the last gating factor; do we think that is still true? Christoph was working on this at one point - any progress from your point of view? Chris Metcalf (12): vmstat: add quiet_vmstat_sync function vmstat: add v

[PATCH v16 00/13] support "task_isolation" mode

2017-11-03 Thread Chris Metcalf
hack). Frederic suggested a while ago forcing updates on cpustats was required as the last gating factor; do we think that is still true? Christoph was working on this at one point - any progress from your point of view? Chris Metcalf (12): vmstat: add quiet_vmstat_sync function vmstat: add v

Re: [GIT PULL] Introduce housekeeping subsystem v4

2017-10-21 Thread Chris Metcalf
to allow ensuring kernel isolation when you absolutely require it.) The current task isolation tree is in the "dataplane" branch at git://git.kernel.org/pub/scm/linux/kernel/git/cmetcalf/linux-tile.git -- Chris Metcalf, Mellanox Technologies http://www.mellanox.com

Re: [GIT PULL] Introduce housekeeping subsystem v4

2017-10-21 Thread Chris Metcalf
nel isolation when you absolutely require it.) The current task isolation tree is in the "dataplane" branch at git://git.kernel.org/pub/scm/linux/kernel/git/cmetcalf/linux-tile.git -- Chris Metcalf, Mellanox Technologies http://www.mellanox.com

[PATCH] firmware: bluefield: add boot control driver

2017-10-09 Thread Chris Metcalf
, but the use case above is what the driver primarily supports. It is structured as a simple sysfs driver that is loaded based on an ACPI table entry, and allows reading/writing text strings to various /sys/bus/platform/drivers/mlx-bootctl/* files. Signed-off-by: Chris Metcalf <cmetc...@mellanox.

[PATCH] firmware: bluefield: add boot control driver

2017-10-09 Thread Chris Metcalf
, but the use case above is what the driver primarily supports. It is structured as a simple sysfs driver that is loaded based on an ACPI table entry, and allows reading/writing text strings to various /sys/bus/platform/drivers/mlx-bootctl/* files. Signed-off-by: Chris Metcalf --- Ingo, since there isn't

[GIT PULL] arch/tile bugfixes for 4.14-rc2

2017-09-22 Thread Chris Metcalf
): tile: defconfig: Cleanup from old Kconfig options arch/tile/configs/tilegx_defconfig | 1 - arch/tile/configs/tilepro_defconfig | 2 -- arch/tile/kernel/setup.c| 2 +- 3 files changed, 1 insertion(+), 4 deletions(-) -- Chris Metcalf, Mellanox Technologies http

[GIT PULL] arch/tile bugfixes for 4.14-rc2

2017-09-22 Thread Chris Metcalf
): tile: defconfig: Cleanup from old Kconfig options arch/tile/configs/tilegx_defconfig | 1 - arch/tile/configs/tilepro_defconfig | 2 -- arch/tile/kernel/setup.c| 2 +- 3 files changed, 1 insertion(+), 4 deletions(-) -- Chris Metcalf, Mellanox Technologies http

Re: [RFC PATCH 0/9] Introduce housekeeping subsystem

2017-08-11 Thread Chris Metcalf
to work on it. I really would like to get out a new spin. Fingers crossed. -- Chris Metcalf, Mellanox Technologies http://www.mellanox.com

Re: [RFC PATCH 0/9] Introduce housekeeping subsystem

2017-08-11 Thread Chris Metcalf
to work on it. I really would like to get out a new spin. Fingers crossed. -- Chris Metcalf, Mellanox Technologies http://www.mellanox.com

Re: [RFC PATCH 0/9] Introduce housekeeping subsystem

2017-08-11 Thread Chris Metcalf
On 8/11/2017 2:36 AM, Mike Galbraith wrote: On Thu, 2017-08-10 at 09:57 -0400, Chris Metcalf wrote: On 8/10/2017 8:54 AM, Frederic Weisbecker wrote: But perhaps I should add a new NO_HZ_FULL_BUT_HOUSEKEEPING option. Otherwise we'll change the meaning of NO_HZ_FULL_ALL way too much

Re: [RFC PATCH 0/9] Introduce housekeeping subsystem

2017-08-11 Thread Chris Metcalf
On 8/11/2017 2:36 AM, Mike Galbraith wrote: On Thu, 2017-08-10 at 09:57 -0400, Chris Metcalf wrote: On 8/10/2017 8:54 AM, Frederic Weisbecker wrote: But perhaps I should add a new NO_HZ_FULL_BUT_HOUSEKEEPING option. Otherwise we'll change the meaning of NO_HZ_FULL_ALL way too much

Re: [RFC PATCH 0/9] Introduce housekeeping subsystem

2017-08-10 Thread Chris Metcalf
NOHZ_FULL on the core... or maybe it's just implied by TASK_ISOLATION. I've done a bad job of finding time to work on that since last year's Plumbers, but September looks good :) -- Chris Metcalf, Mellanox Technologies http://www.mellanox.com

Re: [RFC PATCH 0/9] Introduce housekeeping subsystem

2017-08-10 Thread Chris Metcalf
NOHZ_FULL on the core... or maybe it's just implied by TASK_ISOLATION. I've done a bad job of finding time to work on that since last year's Plumbers, but September looks good :) -- Chris Metcalf, Mellanox Technologies http://www.mellanox.com

Re: [PATCH 09/11] tile/topology: Remove the unused parent_node() macro

2017-07-26 Thread Chris Metcalf
llerman.id.au> Signed-off-by: Dou Liyang<douly.f...@cn.fujitsu.com> Cc: Chris Metcalf<cmetc...@mellanox.com> --- arch/tile/include/asm/topology.h | 6 -- 1 file changed, 6 deletions(-) Acked-by: Chris Metcalf <cmetc...@mellanox.com> -- Chris Metcalf, Mellanox Technologies http://www.mellanox.com

Re: [PATCH 09/11] tile/topology: Remove the unused parent_node() macro

2017-07-26 Thread Chris Metcalf
ff-by: Dou Liyang Cc: Chris Metcalf --- arch/tile/include/asm/topology.h | 6 -- 1 file changed, 6 deletions(-) Acked-by: Chris Metcalf -- Chris Metcalf, Mellanox Technologies http://www.mellanox.com

Re: [PATCH] tile: array underflow in setup_maxnodemem()

2017-07-24 Thread Chris Metcalf
..@oracle.com> Thanks, taken into the tile tree. -- Chris Metcalf, Mellanox Technologies http://www.mellanox.com

Re: [PATCH] tile: array underflow in setup_maxnodemem()

2017-07-24 Thread Chris Metcalf
n into the tile tree. -- Chris Metcalf, Mellanox Technologies http://www.mellanox.com

Re: [RFC PATCH 0/9] Introduce housekeeping subsystem

2017-07-21 Thread Chris Metcalf
offloading (remove residual 1Hz) and all unbound kthreads. git://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks.git nohz/0hz HEAD: 68e3af1de5db228bf6c2a5e721bce59a02cfc4e1 For the series: Reviewed-by: Chris Metcalf <cmetc...@mellanox.com> I spotted a few typos that you

Re: [RFC PATCH 0/9] Introduce housekeeping subsystem

2017-07-21 Thread Chris Metcalf
offloading (remove residual 1Hz) and all unbound kthreads. git://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks.git nohz/0hz HEAD: 68e3af1de5db228bf6c2a5e721bce59a02cfc4e1 For the series: Reviewed-by: Chris Metcalf I spotted a few typos that you should grep for and fix

Re: [RESEND PATCH] tile: defconfig: Cleanup from old Kconfig options

2017-07-20 Thread Chris Metcalf
nts of ulog targets"); Signed-off-by: Krzysztof Kozlowski<k...@kernel.org> --- arch/tile/configs/tilegx_defconfig | 1 - arch/tile/configs/tilepro_defconfig | 2 -- 2 files changed, 3 deletions(-) Thanks! Taken into the tile tree. -- Chris Metcalf, Mellanox Technologies http://www.mellanox.com

Re: [RESEND PATCH] tile: defconfig: Cleanup from old Kconfig options

2017-07-20 Thread Chris Metcalf
nts of ulog targets"); Signed-off-by: Krzysztof Kozlowski --- arch/tile/configs/tilegx_defconfig | 1 - arch/tile/configs/tilepro_defconfig | 2 -- 2 files changed, 3 deletions(-) Thanks! Taken into the tile tree. -- Chris Metcalf, Mellanox Technologies http://www.mellanox.com

Re: [PATCH] lib/strscpy: avoid KASAN false positive

2017-07-19 Thread Chris Metcalf
unconditionally to support KASAN, but I haven't looked deeply at the tradeoffs here. -- Chris Metcalf, Mellanox Technologies http://www.mellanox.com

Re: [PATCH] lib/strscpy: avoid KASAN false positive

2017-07-19 Thread Chris Metcalf
t the tradeoffs here. -- Chris Metcalf, Mellanox Technologies http://www.mellanox.com

[GIT PULL] arch/tile changes for 4.13

2017-07-14 Thread Chris Metcalf
Linus, Please pull the following changes for 4.13 from: git://git.kernel.org/pub/scm/linux/kernel/git/cmetcalf/linux-tile.git master This adds support for an to help with removing __need_xxx #defines from glibc, and removes some dead code in arch/tile/mm/init.c. Chris Metcalf (1

[GIT PULL] arch/tile changes for 4.13

2017-07-14 Thread Chris Metcalf
Linus, Please pull the following changes for 4.13 from: git://git.kernel.org/pub/scm/linux/kernel/git/cmetcalf/linux-tile.git master This adds support for an to help with removing __need_xxx #defines from glibc, and removes some dead code in arch/tile/mm/init.c. Chris Metcalf (1

Re: [RFC][PATCH] atomic: Fix atomic_set_release() for 'funny' architectures

2017-06-09 Thread Chris Metcalf
atomic primitives and therefore seem to rely on their spinlock implementation being SC (I did not fully validate all that). Therefore, the normal atomic_set() is SC and can be used at atomic_set_release(). Acked-by: Chris Metcalf <cmetc...@mellanox.com> [for tile] -- Chris Metcalf, Me

Re: [RFC][PATCH] atomic: Fix atomic_set_release() for 'funny' architectures

2017-06-09 Thread Chris Metcalf
atomic primitives and therefore seem to rely on their spinlock implementation being SC (I did not fully validate all that). Therefore, the normal atomic_set() is SC and can be used at atomic_set_release(). Acked-by: Chris Metcalf [for tile] -- Chris Metcalf, Mellanox Technologies http

Re: Updating kernel.org cross compilers?

2017-05-23 Thread Chris Metcalf
the tilegx/tilepro issues were sorted out -- as someone noted, you need to have the kernel headers available to build glibc. However, if there are any outstanding tile issues, please feel free to loop me in! -- Chris Metcalf, Mellanox Technologies http://www.mellanox.com

Re: Updating kernel.org cross compilers?

2017-05-23 Thread Chris Metcalf
the tilegx/tilepro issues were sorted out -- as someone noted, you need to have the kernel headers available to build glibc. However, if there are any outstanding tile issues, please feel free to loop me in! -- Chris Metcalf, Mellanox Technologies http://www.mellanox.com

Re: [PATCH 2/6] mm, tile: drop arch_{add,remove}_memory

2017-03-30 Thread Chris Metcalf
iously because nobody has noticed that __add_pages has a different signature since 2009. Cc: Chris Metcalf<cmetc...@mellanox.com> Signed-off-by: Michal Hocko<mho...@suse.com> --- arch/tile/mm/init.c | 30 -- 1 file changed, 30 deletions(-) Thanks - taken

Re: [PATCH 2/6] mm, tile: drop arch_{add,remove}_memory

2017-03-30 Thread Chris Metcalf
noticed that __add_pages has a different signature since 2009. Cc: Chris Metcalf Signed-off-by: Michal Hocko --- arch/tile/mm/init.c | 30 -- 1 file changed, 30 deletions(-) Thanks - taken into the tile tree. -- Chris Metcalf, Mellanox Technologies http

[PATCH] tile: prefer to __need_int_reg_t

2017-03-27 Thread Chris Metcalf
As part of some work in glibc to move away from the "__need" prefix, this commit breaks away the definitions of __int_reg_t, __uint_reg_t, __INT_REG_BITS, and __INT_REG_FMT to a separate "microheader". It is then included from to preserve the semantics of the previous header. For now, we

[PATCH] tile: prefer to __need_int_reg_t

2017-03-27 Thread Chris Metcalf
As part of some work in glibc to move away from the "__need" prefix, this commit breaks away the definitions of __int_reg_t, __uint_reg_t, __INT_REG_BITS, and __INT_REG_FMT to a separate "microheader". It is then included from to preserve the semantics of the previous header. For now, we

Re: [PATCH 1/3] futex: remove duplicated code

2017-03-03 Thread Chris Metcalf
Slaby<jsl...@suse.cz> Acked-by: Chris Metcalf <cmetc...@mellanox.com> [for tile] -- Chris Metcalf, Mellanox Technologies http://www.mellanox.com

Re: [PATCH 1/3] futex: remove duplicated code

2017-03-03 Thread Chris Metcalf
by Acked-by: Chris Metcalf [for tile] -- Chris Metcalf, Mellanox Technologies http://www.mellanox.com

Re: [PATCH v15 04/13] task_isolation: add initial support

2017-02-02 Thread Chris Metcalf
man-pages, describing the new prctl calls, is missing. Thanks, I appreciate the feedback. I'll fold this into the next spin of the series! -- Chris Metcalf, Mellanox Technologies http://www.mellanox.com

Re: [PATCH v15 04/13] task_isolation: add initial support

2017-02-02 Thread Chris Metcalf
man-pages, describing the new prctl calls, is missing. Thanks, I appreciate the feedback. I'll fold this into the next spin of the series! -- Chris Metcalf, Mellanox Technologies http://www.mellanox.com

Re: [PATCH] tile: fix build failure

2017-01-24 Thread Chris Metcalf
ld log is at: https://travis-ci.org/sudipm-mukherjee/parport/jobs/194717687 arch/tile/include/asm/div64.h | 1 + 1 file changed, 1 insertion(+) Acked-by: Chris Metcalf <cmetc...@mellanox.com> -- Chris Metcalf, Mellanox Technologies http://www.mellanox.com

Re: [PATCH] tile: fix build failure

2017-01-24 Thread Chris Metcalf
iv64.h | 1 + 1 file changed, 1 insertion(+) Acked-by: Chris Metcalf -- Chris Metcalf, Mellanox Technologies http://www.mellanox.com

[GIT PULL] arch/tile bugfix for 4.10-rc6

2017-01-23 Thread Chris Metcalf
/kernel/ptrace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- Chris Metcalf, Mellanox Technologies http://www.mellanox.com

[GIT PULL] arch/tile bugfix for 4.10-rc6

2017-01-23 Thread Chris Metcalf
/kernel/ptrace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- Chris Metcalf, Mellanox Technologies http://www.mellanox.com

Re: Questions on the task isolation patches

2016-12-22 Thread Chris Metcalf
On 12/20/2016 4:27 AM, Paolo Bonzini wrote: On 16/12/2016 22:00, Chris Metcalf wrote: Sorry, I think I wasn't clear. Normally when you are running task isolated and you enter the kernel, you will get a fatal signal. The exception is if you call prctl itself (or exit), the kernel tolerates

Re: Questions on the task isolation patches

2016-12-22 Thread Chris Metcalf
On 12/20/2016 4:27 AM, Paolo Bonzini wrote: On 16/12/2016 22:00, Chris Metcalf wrote: Sorry, I think I wasn't clear. Normally when you are running task isolated and you enter the kernel, you will get a fatal signal. The exception is if you call prctl itself (or exit), the kernel tolerates

Re: Questions on the task isolation patches

2016-12-16 Thread Chris Metcalf
Sorry for the slow response - I have been busy with some other things. On 12/6/2016 4:43 PM, yunhong jiang wrote: On Fri, 2 Dec 2016 13:58:08 -0500 Chris Metcalf <cmetc...@mellanox.com> wrote: On 12/1/2016 5:28 PM, yunhong jiang wrote: a) If the task isolation need prctl to mark

Re: Questions on the task isolation patches

2016-12-16 Thread Chris Metcalf
Sorry for the slow response - I have been busy with some other things. On 12/6/2016 4:43 PM, yunhong jiang wrote: On Fri, 2 Dec 2016 13:58:08 -0500 Chris Metcalf wrote: On 12/1/2016 5:28 PM, yunhong jiang wrote: a) If the task isolation need prctl to mark itself as isolated, possibly

[GIT PULL] arch/tile changes for 4.10

2016-12-16 Thread Chris Metcalf
Linus, Please pull the following changes for 4.10 from: git://git.kernel.org/pub/scm/linux/kernel/git/cmetcalf/linux-tile.git master Another grab-bag of miscellaneous changes. Chris Metcalf (2): tile: remove #pragma unroll from finv_buffer_remote() tile: use __ro_after_init

[GIT PULL] arch/tile changes for 4.10

2016-12-16 Thread Chris Metcalf
Linus, Please pull the following changes for 4.10 from: git://git.kernel.org/pub/scm/linux/kernel/git/cmetcalf/linux-tile.git master Another grab-bag of miscellaneous changes. Chris Metcalf (2): tile: remove #pragma unroll from finv_buffer_remote() tile: use __ro_after_init

Re: [patch 5/6] [RFD] timekeeping: Provide optional 128bit math

2016-12-09 Thread Chris Metcalf
-5.4, gcc-6.2: bad I also found 4.4 was good on tilegx at recognizing the 32x32, and bad on the later versions I tested; I don't recall which specific later versions I tried, though. -- Chris Metcalf, Mellanox Technologies http://www.mellanox.com

Re: [patch 5/6] [RFD] timekeeping: Provide optional 128bit math

2016-12-09 Thread Chris Metcalf
-5.4, gcc-6.2: bad I also found 4.4 was good on tilegx at recognizing the 32x32, and bad on the later versions I tested; I don't recall which specific later versions I tried, though. -- Chris Metcalf, Mellanox Technologies http://www.mellanox.com

Re: [patch 5/6] [RFD] timekeeping: Provide optional 128bit math

2016-12-09 Thread Chris Metcalf
26 ++ 4 files changed, 42 insertions(+), 9 deletions(-) Untested, but I looked at it closely, and it seems like a decent idea. Acked-by: Chris Metcalf <cmetc...@mellanox.com> [for tile] Of course if this is pushed up, it will then probably be too tempting for me n

Re: [patch 5/6] [RFD] timekeeping: Provide optional 128bit math

2016-12-09 Thread Chris Metcalf
26 ++ 4 files changed, 42 insertions(+), 9 deletions(-) Untested, but I looked at it closely, and it seems like a decent idea. Acked-by: Chris Metcalf [for tile] Of course if this is pushed up, it will then probably be too tempting for me not to add the tilegx-speci

  1   2   3   4   5   6   7   8   9   10   >