Re: [PATCH 07/23] hexagon/time: Migrate to new 'set-state' interface

2015-07-21 Thread rkuo
On Thu, Jul 16, 2015 at 04:56:19PM +0530, Viresh Kumar wrote: > Migrate hexagon driver to the new 'set-state' interface provided by > clockevents core, the earlier 'set-mode' interface is marked obsolete > now. > > This also enables us to implement callbacks for new states of clockevent > devices,

Re: [PATCH 00/28] arch: Provide atomic logic ops

2015-07-21 Thread rkuo
On Thu, Jul 16, 2015 at 07:21:10PM +0200, Peter Zijlstra wrote: > Currently there is an incoherent mess of atomic_{set,clear}_mask() and > atomic_or() (but no atomic_{and,nand,xor}()) in the tree. > > Those archs that implement atomic_{set,clear}_mask() are not even consistent > on > its signatur

Re: [PATCH 2/2] Consolidate redundant register/stack access code

2015-06-18 Thread rkuo
On Mon, Jun 15, 2015 at 12:42:59PM -0400, David Long wrote: > From: "David A. Long" > > Several architectures have identical or functionally equivalent code > implementing parts of the HAVE_REGS_AND_STACK_ACCESS_API feature. Move > that code out of the architecture directories. > > Signed-off-b

Re: [PATCH 12/32] hexagon: copy_thread(): rename 'arg' argument to 'kthread_arg'

2015-03-16 Thread rkuo
On Fri, Mar 13, 2015 at 08:14:35PM +0200, Alex Dowad wrote: > The 'arg' argument to copy_thread() is only ever used when forking a new > kernel thread. Hence, rename it to 'kthread_arg' for clarity (and consistency > with do_fork() and other arch-specific implementations of copy_thread()). > > Sig

[GIT PULL] Hexagon changes for v3.19

2014-12-19 Thread rkuo
repository at: https://git.kernel.org/pub/scm/linux/kernel/git/rkuo/linux-hexagon-kernel.git for-linus for you to fetch changes up to 8914d7e857807e1e60975000cba3750c9b2643e8: Hexagon: fix signal delivery for debug traps (2014-12-16 13:27:39 -0600

Re: [PATCH] hexagon: Fix build failures in linux-next

2014-12-09 Thread rkuo
On Tue, Dec 09, 2014 at 02:21:45PM -0800, Guenter Roeck wrote: > hexagon:defconfig fails to build in linux-next since commit 332fd7c4fef5 > ("genirq: Generic chip: Change irq_reg_{readl,writel} arguments"). > > The primary build failure is > > arch/hexagon/include/asm/cacheflush.h: In function 'c

Re: [PATCH] Hexagon: Remove useless select of NO_IOPORT_MAP

2014-09-29 Thread rkuo
On Wed, Sep 24, 2014 at 09:21:51PM +0200, Paul Bolle wrote: > Hexagon's primary Kconfig entry has a select for NO_IOPORT_MAP. But > because hexagon never defines a Kconfig symbol NO_IOPORT_MAP this select > is a nop. It can be removed. > > Perhaps hexagon should add its own Kconfig entry for NO_IO

Re: [PATCH v2] flush_icache_range: Export symbol to fix build errors

2014-08-20 Thread rkuo
On Mon, Aug 18, 2014 at 11:59:13AM -0400, Pranith Kumar wrote: > Fix building errors occuring due to a missing export of flush_icache_range() > in > > kisskb.ellerman.id.au/kisskb/buildresult/11677809/ > > ERROR: "flush_icache_range" [drivers/misc/lkdtm.ko] undefined! > > Signed-off-by: Pranith

Re: [PATCH 19/38] hexagon: clean-up uapi Kbuild file

2014-07-28 Thread rkuo
On Mon, Jul 14, 2014 at 05:08:47PM +0200, Sam Ravnborg wrote: > Remove redundant assignments. > > Signed-off-by: Sam Ravnborg > Cc: Richard Kuo > --- > arch/hexagon/include/uapi/asm/Kbuild | 10 -- > 1 file changed, 10 deletions(-) > > diff --git a/arch/hexagon/include/uapi/asm/Kbuild

Re: [PATCH 03/38] hexagon: drop ucontext from list exported headers

2014-07-28 Thread rkuo
On Mon, Jul 14, 2014 at 05:08:31PM +0200, Sam Ravnborg wrote: > ucontext.h is already specified in include/uapi/asm-generic/Kbuild > so this is redundant. > > Signed-off-by: Sam Ravnborg > Cc: Richard Kuo > Cc: linux-hexagon > Cc: David Howells > --- > arch/hexagon/include/asm/Kbuild | 3 ---

Re: [PATCH v2 13/29] nios2: DMA mapping API

2014-07-28 Thread rkuo
On Thu, Jul 24, 2014 at 02:05:16PM +0200, Arnd Bergmann wrote: > > >> +void dma_sync_single_for_cpu(struct device *dev, dma_addr_t dma_handle, > > >> + size_t size, enum dma_data_direction > > >> direction) > > >> +{ > > >> + BUG_ON(!valid_dma_direction(direction)); >

Re: [PATCH 4/6] update reference, kerneltrap.org no longer works

2014-06-12 Thread rkuo
On Mon, Jun 09, 2014 at 11:55:24AM -0400, Pranith Kumar wrote: > kerneltrap.org no longer works, update to a working reference > > Signed-off-by: Pranith Kumar > --- > arch/hexagon/include/asm/cache.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/hexagon/include/

Re: [PATCH] Hexagon: remove checks for CONFIG_PAGE_SIZE_1MB

2014-05-28 Thread rkuo
On Fri, May 23, 2014 at 04:37:25PM +0200, Paul Bolle wrote: > There are two checks for CONFIG_PAGE_SIZE_1MB in hexagon's code. But > there is no Kconfig symbol PAGE_SIZE_1MB. Remove these unneeded checks > and the code they hide. > > Signed-off-by: Paul Bolle > --- > Untested. > > Richard prefer

Re: [PATCH] Hexagon: remove check for CONFIG_COMET_EARLY_UART_DEBUG

2014-05-20 Thread rkuo
On Sat, May 17, 2014 at 01:53:06PM +0200, Paul Bolle wrote: > There's been a check for CONFIG_COMET_EARLY_UART_DEBUG ever since > Hexagon was added in v3.2. But the related Kconfig symbol has never been > added to the tree. Remove this check. > > Signed-off-by: Paul Bolle > --- > Not tested. > >

Re: [PATCH 11/27] hexagon: Use common bits from generic tlb.h

2014-05-20 Thread rkuo
On Wed, May 14, 2014 at 08:59:43PM +0200, Richard Weinberger wrote: > It is no longer needed to define them on our own. > > Cc: Richard Kuo > Cc: Peter Zijlstra > Cc: Ingo Molnar > Cc: Tim Chen > Cc: Stephen Rothwell > Cc: Chen Gang > Cc: Richard Weinberger > Cc: linux-hexa...@vger.kernel.o

Re: [PATCH 08/20] arch,hexagon: Fold atomic_ops

2014-05-12 Thread rkuo
On Thu, May 08, 2014 at 03:58:48PM +0200, Peter Zijlstra wrote: > OK, no LoC saved in this case because the !return variants were > defined in terms of the return ops. Still do it because this also > prepares for easy addition of new ops. > > Cc: Linus Torvalds > Cc: Richard Kuo > Cc: Vineet Gup

Re: [PATCH 01/11] random: don't feed stack data into pool when interrupt regs NULL

2014-04-09 Thread rkuo
On Mon, Apr 07, 2014 at 09:30:57PM +0200, Sebastian Andrzej Siewior wrote: > Yes. Usually there is generic function doing something sane but not as > good as it could do with arch specific code. Or the code is completly > disabled unless the architecture wires it up. Dropping a new function and > h

[GIT PULL] arch/hexagon changes for 3.15

2014-04-04 Thread rkuo
-0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/rkuo/linux-hexagon-kernel.git for-linus for you to fetch changes up to a9a44fdf329668125042055c569656aa83d8cccb: Hexagon: update CR year for elf.h (2014-04-04 18:20:02 -0500

Re: [PATCH 2/2] asm-generic: rwsem: de-PPCify rwsem.h

2014-02-26 Thread rkuo
On Fri, Feb 21, 2014 at 05:22:27PM +, Will Deacon wrote: > asm-generic/rwsem.h used to live under arch/powerpc. During its > liberation to common code, a few references to its former home where > preserved, in particular the definition of RWSEM_ACTIVE_MASK is > predicated on CONFIG_PPC64. > >

Re: [PATCH v3] arch: hexagon: kernel: hexagon_ksyms.c: export related symbols which various modules need

2013-12-06 Thread rkuo
On Tue, Dec 03, 2013 at 08:26:46PM +0800, Chen Gang wrote: > Need export all related functions and symbols for various modules with > allmodconfig. The related errors: > > MODPOST 2879 modules > ERROR: "__vmyield" [sound/sound_firmware.ko] undefined! > ERROR: "__phys_offset" [sound/drivers

Re: [PATCH] arch: hexagon: kernel: reset.c: use function pointer instead of function for pm_power_off and export it

2013-12-06 Thread rkuo
On Fri, Nov 29, 2013 at 12:01:37PM +0800, Chen Gang wrote: > 'pm_power_off' is a function pointer, not a function, so need change > its type, and also need export it, or can not pass compiling with > allmodconfig. The related error: > > MODPOST 2879 modules > ERROR: "pm_power_off" [drivers/c

Re: [PATCH v2] arch: hexagon: include: asm: add prefix "hvm[ci]_" for all enum members in "hexagon_vm.h"

2013-12-06 Thread rkuo
On Thu, Nov 28, 2013 at 04:51:45PM +0800, Chen Gang wrote: > Append "hvmc_" or "hvmi_" to all related enum members (which are too > common to make conflict with another sub-systems). The related error > with allmodconfig: > > CC [M] drivers/md/raid1.o > drivers/md/raid1.c:1440:13: error: 's

Re: [PATCH] arch: hexagon: include: uapi: asm: setup.h add swith macro __KERNEL__

2013-12-06 Thread rkuo
On Wed, Nov 27, 2013 at 01:28:36PM +0800, Chen Gang wrote: > Define dummy '__init' instead of include "linux/init.h" if !__KERNEL__, > or can not pass checking. The related error (with allmodconfig under > hexagon): > > CHECK include/asm (34 files) > usr/include/asm/setup.h:22: included fi

Re: [PATCH] arc: kernel: add default extern variable 'screen_info' in "setup.c"

2013-12-05 Thread rkuo
On Thu, Nov 28, 2013 at 05:07:05PM +0800, Chen Gang wrote: > Hello Vineet: > > hexagon meets the same issue, could you help send related patch for it? > > If you have no time, please let me know, I should send it within next > month. > > BTW: I assume hexagon need not support VGA_CONSOLE, either

Re: [RFC PATCH v3 07/19] smp, hexagon: kill SMP single function call interrupt

2013-12-04 Thread rkuo
On Thu, Dec 05, 2013 at 12:12:58AM +0800, Jiang Liu wrote: > Commit 9a46ad6d6df3b54 "smp: make smp_call_function_many() use logic > similar to smp_call_function_single()" has unified the way to handle > single and multiple cross-CPU function calls. Now only one intterupt > is needed for architectur

Re: [PATCH] drivers: scsi: scsi_lib.c: add prefix "SCSILIB_" to macro "SP"

2013-12-02 Thread rkuo
On Mon, Dec 02, 2013 at 06:14:33PM +0800, Chen Gang wrote: > If one issue occurs, normally, both sides need improvement. > > For our issue: > > - need try to keep uapi no touch ("arch/hexagon/uapi/asm/registers.h"). > > - improving our module is much easier than improving hexagon. > > - for

Re: [PATCH] arch: hexagon: include: asm: add "vga.h" in Kbuild

2013-11-24 Thread rkuo
On Tue, Nov 19, 2013 at 01:17:21PM +0800, Chen Gang wrote: > Need include generic "vga.h", or can not pass compiling with > allmodconfig, the related error: > > CC [M] drivers/gpu/drm/drm_irq.o > In file included from include/linux/vgaarb.h:34:0, >from drivers/gpu/drm/dr

Re: [PATCH] arch: hexagon: Kconfig: add HAVE_DMA_ATTR in Kconfig and remove "linux/dma-mapping.h" from "asm/dma-mapping.h"

2013-11-24 Thread rkuo
On Tue, Nov 19, 2013 at 12:57:27PM +0800, Chen Gang wrote: > When HAS_DMA, and also need use generic implementation, HAVE_DMA_ATTR > must be enabled, or can not pass compiling with allmodconfig, the > related error: > > CC [M] drivers/ata/libata-core.o > drivers/ata/libata-core.c: In functi

Re: [PATCH] arch: hexagon: kernel: add export symbol function __delay()

2013-11-24 Thread rkuo
On Tue, Nov 19, 2013 at 11:10:43AM +0800, Chen Gang wrote: > Need add __delay() implementation, or can not pass allmodconfig in > next-20131118 tree. > > The related error: > > CC kernel/locking/spinlock_debug.o > kernel/locking/spinlock_debug.c: In function '__spin_lock_debug': > ke

Re: [PATCH 04/11] hexagon: use generic fixmap.h

2013-11-17 Thread rkuo
On Tue, Nov 12, 2013 at 08:22:18AM -0500, Mark Salter wrote: > Signed-off-by: Mark Salter > CC: Richard Kuo > CC: linux-hexa...@vger.kernel.org > --- > arch/hexagon/include/asm/fixmap.h | 40 > +-- > 1 file changed, 1 insertion(+), 39 deletions(-) > Thanks

Re: [PATCH 09/29] hexagon: Use get_signal() signal_setup_done()

2013-10-17 Thread rkuo
On Tue, Oct 08, 2013 at 01:32:22PM +0200, Richard Weinberger wrote: > Use the more generic functions get_signal() signal_setup_done() > for signal delivery. > > Signed-off-by: Richard Weinberger Thanks for the changes. Compiled and tested briefly; the Hexagon part of this looks fine. If you wa

Re: [PATCH 07/21] hexagon: remove unnecessary prom.h includes

2013-09-30 Thread rkuo
On Thu, Sep 26, 2013 at 01:50:42PM -0500, Rob Herring wrote: > From: Rob Herring > > Hexagon does not have a prom.h header, so it is probably broken with > CONFIG_OF enabled. In any case, remove unnecessary prom.h include in > preparation to make prom.h optional. > > Signed-off-by: Rob Herring

[GIT PULL] Hexagon fix/cleanup

2013-05-07 Thread rkuo
available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/rkuo/linux-hexagon-kernel.git for-linus for you to fetch changes up to de3a45e36b7467af2518d3bf7ec6ec909549: HEXAGON: Remove non existent reference to GENERIC_KERNEL_EXECVE & GENERIC_KERNEL_THREAD (2013-05-0

[GIT PULL] Hexagon arch fixes

2013-04-30 Thread rkuo
following changes since commit c1be5a5b1b355d40e6cf79cc979eb66dafa24ad1: Linux 3.9 (2013-04-28 17:36:01 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/rkuo/linux-hexagon-kernel.git for-linus for you to fetch changes up to

Re: [PATCHSET v2] arch: unify task dump debug info

2013-04-12 Thread rkuo
> On Mon, Apr 08, 2013 at 08:31:07AM -0700, Tejun Heo wrote: >> Andrew, ping? > > Ping #2. Workqueue conversion of writeback in the block tree needs > these patches to avoid losing debug information over the conversion, > so it'd be great if this can be scheduled for 3.10. > > Thanks. > > -- > tej

Re: [PATCH] arch: remove CONFIG_GENERIC_FIND_NEXT_BIT again

2013-03-25 Thread rkuo
> CONFIG_GENERIC_FIND_NEXT_BIT was removed in v3.0, but reappeared in two > architectures. Remove it again. > > Signed-off-by: Paul Bolle > --- > 0) Untested. > > 1) See commit 63e424c84429903c92a0f1e9654c31ccaf6694d0 ("arch: remove > CONFIG_GENERIC_FIND_{NEXT_BIT,BIT_LE,LAST_BIT}") for the remova

Re: [RFC][CFT] what's in signal.git queue

2013-02-20 Thread rkuo
On Thu, Feb 14, 2013 at 01:25:39AM +, Al Viro wrote: > At that point the common stem ends; as far as I'm concerned, this part is > in never-rebase mode by now. Then comes a bunch of per-architecture branches; > all subject to ACK by maintainers (ones who are not MIA, that is ;-/). Once > main

Re: [PATCH v3 00/44] Meta Linux Kernel Port

2013-02-05 Thread rkuo
I actually found someone locally who signed my key. Good luck! On Tue, Feb 05, 2013 at 07:24:34PM +0530, Vineet Gupta wrote: > On Wednesday 30 January 2013 02:14 AM, Stephen Rothwell wrote: > > Hi Vineet, > > > > On Mon, 28 Jan 2013 12:40:24 +0530 Vineet Gupta > > wrote: > >> > >> Stephen,