Re: [RFC PATCH 00/13] Introduce first class virtual address spaces

2017-03-14 Thread Chris Metcalf
e them between multiple tasks. I am not fully up to speed on NV/pmem stuff, but isn't that exactly what the DAX mode is supposed to allow you to do? If so, isn't sharing a mapped file on a DAX filesystem on top of pmem equivalent to what you're proposing? -- Chris Metcalf, Mellanox Technologie

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: possible bug in powerpc LE compat syscalls with 64-bit args

2016-06-17 Thread Chris Metcalf
On 6/16/2016 5:42 PM, Andreas Schwab wrote: Chris Metcalf <cmetc...@mellanox.com> writes: Reviewing what other platforms do, it seems like powerpc compat mode may have the opposite problem in little-endian mode, since arguments are passed in "hi, lo" order unconditionally

possible bug in powerpc LE compat syscalls with 64-bit args

2016-06-16 Thread Chris Metcalf
nally in arch/powerpc/kernel/sys_ppc32.c. You may want to adopt the solution in the patch cited above, or similar solutions elsewhere, eg regs_to_64 in arch/arm64/include/asm/assembler.h, or merge_64 in arch/mips/kernel/linux32.c. Here's the email thread from libc-alpha: https://sourceware.org/ml/

Re: [PATCH] powerpc: Quick fix upstream main line build error on PowerPC

2015-10-09 Thread Chris Metcalf
sk of BIG_ENDIAN implementation from include/asm-generic/word-at-a-time.h to arch/powerpc/include/asm/word-at-a-time.h. Thanks; a fix is already queued for Linus. -- Chris Metcalf, EZChip Semiconductor http://www.ezchip.com ___ Linuxppc-dev mailing l

[GIT PULL] strscpy powerpc fix for 4.3 - not 3.4 :-)

2015-10-08 Thread Chris Metcalf
On 10/08/2015 02:45 PM, Guenter Roeck wrote: On Wed, Oct 07, 2015 at 08:27:38PM -0400, Chris Metcalf wrote: On 10/7/2015 6:44 PM, Stephen Rothwell wrote: Hi Linus, After merging Linus' tree, today's linux-next build (powerpc ppc64_defconfig) failed like this: lib/string.c: In function

[GIT PULL] strscpy powerpc fix for 3.4

2015-10-07 Thread Chris Metcalf
git.kernel.org/pub/scm/linux/kernel/git/cmetcalf/linux-tile.git strscpy Chris Metcalf (1): arch/powerpc: provide zero_bytemask() for big-endian arch/powerpc/include/asm/word-at-a-time.h | 5 + 1 file changed, 5 insertions(+) -- Chris Metcalf, EZChip Semiconductor http://

[PATCH] drivers/tty/hvc/hvc_tile.c: properly return -EAGAIN

2015-05-05 Thread Chris Metcalf
-by: Chris Metcalf cmetc...@ezchip.com --- I have queued this in the tile tree as a tile-specific device, but if someone would prefer to pick it up for a tty or tty/hvc tree, that's fine too; just let me know. drivers/tty/hvc/hvc_tile.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

[PATCH] tile: properly use node_isset() on a nodemask_t

2015-04-28 Thread Chris Metcalf
The code accidentally used cpu_isset() previously in one place (though properly node_isset() elsewhere). Signed-off-by: Chris Metcalf cmetc...@ezchip.com --- arch/tile/kernel/setup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/tile/kernel/setup.c b/arch/tile/kernel

Re: bit fields data tearing

2014-09-08 Thread Chris Metcalf
. Occasionally we report bugs for driver code that doesn't use the get_unaligned_xxx() macros and friends, and our fixes are generally taken upstream. -- Chris Metcalf, Tilera Corp. http://www.tilera.com ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org

Re: [PATCH v2 7/7] memory-hotplug: tile: suitable memory should go to ZONE_MOVABLE

2014-07-31 Thread Chris Metcalf
On 7/21/2014 11:09 PM, Wang Nan wrote: Hi Andrew, Please drop patch 7/7 from -mm tree and keep other 6 patches. arch_add_memory() in tile is different from others: no nid parameter. Patch 7/7 will block compiling. I cc this mail to Chris Metcalf and hope he can look at this issue. Other

[PATCH] tile: various console improvements

2013-08-07 Thread Chris Metcalf
to the console as a slightly faster alternative to emulating the hardware more directly. Signed-off-by: Chris Metcalf cmetc...@tilera.com --- arch/tile/Kconfig | 1 + arch/tile/include/asm/setup.h | 3 +- arch/tile/include/hv/hypervisor.h | 29 +++- arch/tile/kernel

Re: [PATCH v2 08/10] tile: uaccess s/might_sleep/might_fault/

2013-05-16 Thread Chris Metcalf
Metcalf cmetc...@tilera.com -- Chris Metcalf, Tilera Corp. http://www.tilera.com ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

Re: [PATCH v3] ipc: provide generic compat versions of IPC syscalls

2012-03-14 Thread Chris Metcalf
. Thanks! On 12/9/2011 10:29 AM, Chris Metcalf wrote: When using the compat APIs, architectures will generally want to be able to make direct syscalls to msgsnd(), shmctl(), etc., and in the kernel we would want them to be handled directly by compat_sys_xxx() functions, as is true for other compat

[PATCH v3] ipc: provide generic compat versions of IPC syscalls

2011-12-12 Thread Chris Metcalf
() and msgrcv() is removed with this change; it also fixes the bug that shmat() and semctl() were not being properly handled. Signed-off-by: Chris Metcalf cmetc...@tilera.com --- arch/Kconfig |3 ++ arch/mips/Kconfig |1 + arch/powerpc/Kconfig |1

[PATCH v2] ipc: provide generic compat versions of IPC syscalls

2011-12-09 Thread Chris Metcalf
() and msgrcv() is removed with this change; it also fixes the bug that shmat() and semctl() were not being properly handled. Signed-off-by: Chris Metcalf cmetc...@tilera.com --- The first version used an __ARCH_WANT_GENERIC_COMPAT_IPC define that was set by tile, and presumably would be set by all

Re: [PATCH 7/7] [v4] drivers/virt: introduce Freescale hypervisor management driver

2011-06-10 Thread Chris Metcalf
(https://patchwork.kernel.org/patch/843892/), which uses a simple hypervisor read/write API to access the portion of the SPI ROM used to hold the boot stream for a TILE processor. -- Chris Metcalf, Tilera Corp. http://www.tilera.com ___ Linuxppc-dev

Re: [PATCH 7/7] [v2] drivers/misc: introduce Freescale hypervisor management driver

2011-06-07 Thread Chris Metcalf
On 6/7/2011 3:08 AM, Arnd Bergmann wrote: On Tuesday 07 June 2011 01:04:40 Chris Metcalf wrote: There is certainly precedent for drivers that don't fit cleanly into an existing category to go in drivers/arch, e.g. drivers/s390, drivers/parisc, etc. There is also drivers/platform/x86, though

Re: [PATCH 7/7] [v2] drivers/misc: introduce Freescale hypervisor management driver

2011-06-06 Thread Chris Metcalf
On 6/6/2011 12:24 PM, Arnd Bergmann wrote: On Monday 06 June 2011, Timur Tabi wrote:. And what about my concern that my driver will be the only one in drivers/virt? I have no doubt that more of these will come. Chris Metcalf is currently looking for a home for his tilera hypervisor drivers

Re: [PATCH 7/7] [v2] drivers/misc: introduce Freescale hypervisor management driver

2011-06-06 Thread Chris Metcalf
For context, the most recent patch for the tile driver in question is here: https://patchwork.kernel.org/patch/843892/ On 6/6/2011 5:23 PM, Konrad Rzeszutek Wilk wrote: On Mon, Jun 06, 2011 at 05:01:36PM -0400, Chris Metcalf wrote: On 6/6/2011 12:24 PM, Arnd Bergmann wrote: On Monday 06 June

Re: [PATCH] atomic: add *_dec_not_zero

2011-05-04 Thread Chris Metcalf
want to use this macro. Reported-by: David S. Miller da...@davemloft.net Signed-off-by: Sven Eckelmann s...@narfation.org [...] arch/tile/include/asm/atomic.h |9 + arch/tile/include/asm/atomic_32.h |1 + Acked-by: Chris Metcalf cmetc...@tilera.com -- Chris Metcalf

Re: [PATCH] sched: provide scheduler_ipi() callback in response to smp_send_reschedule()

2011-01-17 Thread Chris Metcalf
-* profiler count in the meantime. -*/ __get_cpu_var(irq_stat).irq_resched_count++; + scheduler_ipi(); return IRQ_HANDLED; } Acked-by: Chris Metcalf cmetc...@tilera.com -- Chris Metcalf, Tilera Corp. http://www.tilera.com

Re: [PATCH] drivers/char/hvc_console.c: reduce max idle timeout

2010-11-01 Thread Chris Metcalf
On 11/1/2010 8:35 PM, Michael Ellerman wrote: On Wed, 2010-10-27 at 12:54 -0400, Chris Metcalf wrote: The tile architecture uses this framework for our serial console, and our users complain that the delay of up to two seconds feels like the machine has gone non-responsive and is disturbing

Re: [PATCH] drivers/char/hvc_console.c: reduce max idle timeout

2010-10-27 Thread Chris Metcalf
On 10/27/2010 3:21 PM, Alan Cox wrote: On Wed, 27 Oct 2010 12:54:27 -0400 Chris Metcalf cmetc...@tilera.com wrote: The tile architecture uses this framework for our serial console, That may be a mistake unless your console is genuinely only capable of polled input. The console is in fact

Re: [PATCH] char: hvc: check for error case

2010-09-13 Thread Chris Metcalf
= hvc_alloc(0, 0, hvc_tile_get_put_ops, 128); + return IS_ERR(s) ? PTR_ERR(s) : 0; } device_initcall(hvc_tile_init); -- Chris Metcalf, Tilera Corp. http://www.tilera.com ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https

[PATCH] hvc_console: use *_console nomenclature to avoid modpost warning.

2010-07-06 Thread Chris Metcalf
the warning, and is the same thing that most of the other console drivers already do. I made the same change in hvsi.c since I happened to notice it was likely to suffer from the same problem. Signed-off-by: Chris Metcalf cmetc...@tilera.com --- drivers/char/hvc_console.c | 12 ++-- drivers