[GIT PULL] Hexagon arch maintainer change

2019-09-19 Thread Richard Kuo
Hi Linus, Please pull the following changes. I am leaving QuIC, and Brian Cain will be taking over maintainership of the Hexagon port. Thanks, Richard Kuo The following changes since commit 4d856f72c10ecb060868ed10ff1b1453943fc6c8: Linux 5.3 (2019-09-15 14:19:32 -0700) are available

[GIT PULL] Hexagon cleanups

2018-09-13 Thread Richard Kuo
Linus, Please pull the following changes for Hexagon; they contain some fixes for compile warnings. Thanks, Richard Kuo The following changes since commit 11da3a7f84f19c26da6f86af878298694ede0804: Linux 4.19-rc3 (2018-09-09 17:26:43 -0700) are available in the git repository

[GIT PULL] Hexagon cleanups

2018-09-13 Thread Richard Kuo
Linus, Please pull the following changes for Hexagon; they contain some fixes for compile warnings. Thanks, Richard Kuo The following changes since commit 11da3a7f84f19c26da6f86af878298694ede0804: Linux 4.19-rc3 (2018-09-09 17:26:43 -0700) are available in the git repository

Re: [PATCH v2] hexagon: switch to NO_BOOTMEM

2018-07-25 Thread Richard Kuo
; v2: fix calculation of the reserved memory size > > arch/hexagon/Kconfig | 3 +++ > arch/hexagon/mm/init.c | 20 > 2 files changed, 11 insertions(+), 12 deletions(-) > Looks good, I can take this through my tree. Acked-by: Richard Kuo -- Employe

Re: [PATCH v2] hexagon: switch to NO_BOOTMEM

2018-07-25 Thread Richard Kuo
; v2: fix calculation of the reserved memory size > > arch/hexagon/Kconfig | 3 +++ > arch/hexagon/mm/init.c | 20 > 2 files changed, 11 insertions(+), 12 deletions(-) > Looks good, I can take this through my tree. Acked-by: Richard Kuo -- Employe

Re: [PATCH 1/3] hexagon: remove the sync_single_for_cpu DMA operation

2018-07-24 Thread Richard Kuo
nitely appreciate the cleanup. I can take it through my tree, or if not: Acked-by: Richard Kuo Thanks! -- Employee of Qualcomm Innovation Center, Inc. Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project

Re: [PATCH 1/3] hexagon: remove the sync_single_for_cpu DMA operation

2018-07-24 Thread Richard Kuo
nitely appreciate the cleanup. I can take it through my tree, or if not: Acked-by: Richard Kuo Thanks! -- Employee of Qualcomm Innovation Center, Inc. Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project

Re: [PATCH] hexagon: switch to NO_BOOTMEM

2018-07-24 Thread Richard Kuo
On Tue, Jul 24, 2018 at 08:47:04AM +0300, Mike Rapoport wrote: > On Mon, Jul 23, 2018 at 04:23:39PM -0500, Richard Kuo wrote: > > > > On Mon, Jul 16, 2018 at 10:43:18AM +0300, Mike Rapoport wrote: > > > This patch adds registration of the system memory with mem

Re: [PATCH] hexagon: switch to NO_BOOTMEM

2018-07-24 Thread Richard Kuo
On Tue, Jul 24, 2018 at 08:47:04AM +0300, Mike Rapoport wrote: > On Mon, Jul 23, 2018 at 04:23:39PM -0500, Richard Kuo wrote: > > > > On Mon, Jul 16, 2018 at 10:43:18AM +0300, Mike Rapoport wrote: > > > This patch adds registration of the system memory with mem

Re: [PATCH v2] hexagon: modify ffs() and fls() to return int

2018-07-23 Thread Richard Kuo
On Mon, Jul 23, 2018 at 04:27:47PM -0700, Randy Dunlap wrote: > On 07/23/2018 03:50 PM, Richard Kuo wrote: > > On Sun, Jul 22, 2018 at 04:03:58PM -0700, Randy Dunlap wrote: > >> From: Randy Dunlap > >> > >> Building drivers/mtd/nand/raw/nandsim.c on arch/he

Re: [PATCH v2] hexagon: modify ffs() and fls() to return int

2018-07-23 Thread Richard Kuo
On Mon, Jul 23, 2018 at 04:27:47PM -0700, Randy Dunlap wrote: > On 07/23/2018 03:50 PM, Richard Kuo wrote: > > On Sun, Jul 22, 2018 at 04:03:58PM -0700, Randy Dunlap wrote: > >> From: Randy Dunlap > >> > >> Building drivers/mtd/nand/raw/nandsim.c on arch/he

Re: [PATCH v2] hexagon: modify ffs() and fls() to return int

2018-07-23 Thread Richard Kuo
init_nandsim': > ../drivers/mtd/nand/raw/nandsim.c:760:2: warning: format '%u' expects > argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat] > > There are no ffs() or fls() allmodconfig build errors after making this > change. > > Signed-

Re: [PATCH v2] hexagon: modify ffs() and fls() to return int

2018-07-23 Thread Richard Kuo
init_nandsim': > ../drivers/mtd/nand/raw/nandsim.c:760:2: warning: format '%u' expects > argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat] > > There are no ffs() or fls() allmodconfig build errors after making this > change. > > Signed-

Re: [PATCH] arch/h8300: fix kernel/dma.c build warning

2018-07-23 Thread Richard Kuo
d *' > >> > >> Signed-off-by: Randy Dunlap > >> Cc: Yoshinori Sato > >> Cc: Rich Felker > >> Cc: linux...@vger.kernel.org > >> --- > >> arch/hexagon/kernel/dma.c |2 +- > >> 1 file changed, 1 insertion(+), 1 del

Re: [PATCH] arch/h8300: fix kernel/dma.c build warning

2018-07-23 Thread Richard Kuo
d *' > >> > >> Signed-off-by: Randy Dunlap > >> Cc: Yoshinori Sato > >> Cc: Rich Felker > >> Cc: linux...@vger.kernel.org > >> --- > >> arch/hexagon/kernel/dma.c |2 +- > >> 1 file changed, 1 insertion(+), 1 del

Re: [PATCH] hexagon: switch to NO_BOOTMEM

2018-07-23 Thread Richard Kuo
y for the delay, and thanks for this patch. I think the first memblock_reserve should use ARCH_PFN_OFFSET instead of PHYS_OFFSET. If you can amend that I'd be happy to take it through my tree or it can go through any other. Thanks, Richard Kuo -- Employee of Qualcomm Innovation Center, Inc. Qual

Re: [PATCH] hexagon: switch to NO_BOOTMEM

2018-07-23 Thread Richard Kuo
y for the delay, and thanks for this patch. I think the first memblock_reserve should use ARCH_PFN_OFFSET instead of PHYS_OFFSET. If you can amend that I'd be happy to take it through my tree or it can go through any other. Thanks, Richard Kuo -- Employee of Qualcomm Innovation Center, Inc. Qual

Re: [PATCH] hexagon: fix printk format warning in setup.c

2018-05-15 Thread Richard Kuo
ing: format '%x' expects argument of > type 'unsigned int', but argument 2 has type 'long unsigned int' [-Wformat] > > where: > extern unsigned long __phys_offset; > #define PHYS_OFFSET __phys_offset > > Signed-off-by: Randy Dunlap <rdun...@infradead.org> >

Re: [PATCH] hexagon: fix printk format warning in setup.c

2018-05-15 Thread Richard Kuo
rgument of > type 'unsigned int', but argument 2 has type 'long unsigned int' [-Wformat] > > where: > extern unsigned long __phys_offset; > #define PHYS_OFFSET __phys_offset > > Signed-off-by: Randy Dunlap > Cc: Richard Kuo > Cc: linux-hexa...@vger.kernel.org > --- &g

[GIT PULL] Hexagon fixes

2018-05-01 Thread Richard Kuo
Linus, Please pull the following changes for Hexagon; they contain some small fixes for module compilation. Thanks, Richard Kuo The following changes since commit 6da6c0db5316275015e8cc2959f12a17584aeb64: Linux v4.17-rc3 (2018-04-29 14:17:42 -0700) are available in the git repository

[GIT PULL] Hexagon fixes

2018-05-01 Thread Richard Kuo
Linus, Please pull the following changes for Hexagon; they contain some small fixes for module compilation. Thanks, Richard Kuo The following changes since commit 6da6c0db5316275015e8cc2959f12a17584aeb64: Linux v4.17-rc3 (2018-04-29 14:17:42 -0700) are available in the git repository

Re: [PATCH 1/3] hexagon: fix ffz/fls/ffs return type

2018-04-07 Thread Richard Kuo
On Fri, Apr 06, 2018 at 04:28:21PM +0200, Arnd Bergmann wrote: > Let's use the same return type as the major architectures to > avoid warnings like > > drivers/ata/libahci_platform.c: In function 'ahci_platform_init_host': > drivers/ata/libahci_platform.c:561:12: warning: comparison of distinct

Re: [PATCH 1/3] hexagon: fix ffz/fls/ffs return type

2018-04-07 Thread Richard Kuo
On Fri, Apr 06, 2018 at 04:28:21PM +0200, Arnd Bergmann wrote: > Let's use the same return type as the major architectures to > avoid warnings like > > drivers/ata/libahci_platform.c: In function 'ahci_platform_init_host': > drivers/ata/libahci_platform.c:561:12: warning: comparison of distinct

Re: [PATCH 3/3] hexagon: export csum_partial_copy_nocheck

2018-04-07 Thread Richard Kuo
t > len, __wsum sum) > memcpy(dst, src, len); > return csum_partial(dst, len, sum); > } > +EXPORT_SYMBOL(csum_partial_copy_nocheck); Acked-by: Richard Kuo <r...@codeaurora.org> -- Employee of Qualcomm Innovation Center, Inc. Qualcomm Innovation Center, Inc. is a

Re: [PATCH 3/3] hexagon: export csum_partial_copy_nocheck

2018-04-07 Thread Richard Kuo
, __wsum sum) > memcpy(dst, src, len); > return csum_partial(dst, len, sum); > } > +EXPORT_SYMBOL(csum_partial_copy_nocheck); Acked-by: Richard Kuo -- Employee of Qualcomm Innovation Center, Inc. Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project

Re: [PATCH 2/3] hexagon: add memset_io() helper

2018-04-07 Thread Richard Kuo
m > *dst, const void *src, > memcpy((void *) dst, src, count); > } > > +static inline void memset_io(volatile void __iomem *addr, int value, > + size_t size) > +{ > + memset((void __force *)addr, value, size); > +} > + > #define

Re: [PATCH 2/3] hexagon: add memset_io() helper

2018-04-07 Thread Richard Kuo
const void *src, > memcpy((void *) dst, src, count); > } > > +static inline void memset_io(volatile void __iomem *addr, int value, > + size_t size) > +{ > + memset((void __force *)addr, value, size); > +} > + > #define PCI_IO_ADDR

Re: Removing architectures without upstream gcc support

2018-03-02 Thread Richard Kuo
On Wed, Feb 28, 2018 at 09:37:09AM +0100, Arnd Bergmann wrote: > On Wed, Feb 28, 2018 at 3:06 AM, Richard Kuo <r...@codeaurora.org> wrote: > > On Thu, Feb 22, 2018 at 11:43:10PM +0100, Arnd Bergmann wrote: > >> - How do I build an llvm based toolchain for Hexagon? Do I ne

Re: Removing architectures without upstream gcc support

2018-03-02 Thread Richard Kuo
On Wed, Feb 28, 2018 at 09:37:09AM +0100, Arnd Bergmann wrote: > On Wed, Feb 28, 2018 at 3:06 AM, Richard Kuo wrote: > > On Thu, Feb 22, 2018 at 11:43:10PM +0100, Arnd Bergmann wrote: > >> - How do I build an llvm based toolchain for Hexagon? Do I need patches > >> o

Re: Removing architectures without upstream gcc support

2018-02-27 Thread Richard Kuo
scheduled to be released until much later this year. That's actually the closest option currently. I tried the upstream source but it seems to lack some specific patches to support kernel compilation, so I will need to chase those down. Thanks, Richard Kuo -- Employee of Qualcomm Innovation Center, Inc.

Re: Removing architectures without upstream gcc support

2018-02-27 Thread Richard Kuo
scheduled to be released until much later this year. That's actually the closest option currently. I tried the upstream source but it seems to lack some specific patches to support kernel compilation, so I will need to chase those down. Thanks, Richard Kuo -- Employee of Qualcomm Innovation Center, Inc.

Re: Removing architectures without upstream gcc support

2018-02-23 Thread Richard Kuo
On Thu, Feb 22, 2018 at 11:43:10PM +0100, Arnd Bergmann wrote: > On Thu, Feb 22, 2018 at 8:17 PM, Richard Kuo <r...@codeaurora.org> wrote: > > On Thu, Feb 22, 2018 at 04:45:06PM +0100, Arnd Bergmann wrote: > >> * Hexagon is Qualcomm's DSP architecture. It is being act

Re: Removing architectures without upstream gcc support

2018-02-23 Thread Richard Kuo
On Thu, Feb 22, 2018 at 11:43:10PM +0100, Arnd Bergmann wrote: > On Thu, Feb 22, 2018 at 8:17 PM, Richard Kuo wrote: > > On Thu, Feb 22, 2018 at 04:45:06PM +0100, Arnd Bergmann wrote: > >> * Hexagon is Qualcomm's DSP architecture. It is being actively used > >>

Re: Removing architectures without upstream gcc support

2018-02-22 Thread Richard Kuo
mentioned, having it in the tree really has been useful because it gets included in the various upstream changes and fixes, which we appreciate. So hopefully this will help inform the decision a little better. If you have any other questions please let me know. Thanks, Richard Kuo -- Empl

Re: Removing architectures without upstream gcc support

2018-02-22 Thread Richard Kuo
mentioned, having it in the tree really has been useful because it gets included in the various upstream changes and fixes, which we appreciate. So hopefully this will help inform the decision a little better. If you have any other questions please let me know. Thanks, Richard Kuo -- Empl

Re: [PATCH 06/67] hexagon: remove unused flush_write_buffers definition

2018-01-08 Thread Richard Kuo
fers() do { } while (0) > - > #endif /* __KERNEL__ */ > > #endif > -- > 2.14.2 > For Hexagon: Acked-by: Richard Kuo <r...@codeaurora.org> -- Employee of Qualcomm Innovation Center, Inc. Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project

Re: [PATCH 06/67] hexagon: remove unused flush_write_buffers definition

2018-01-08 Thread Richard Kuo
> - > #endif /* __KERNEL__ */ > > #endif > -- > 2.14.2 > For Hexagon: Acked-by: Richard Kuo -- Employee of Qualcomm Innovation Center, Inc. Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project

Re: [PATCH 3/3] hexagon/kbuild: replace CFLAGS_MODULE with KBUILD_CFLAGS_MODULE

2017-10-09 Thread Richard Kuo
low kbuild rules. > > Signed-off-by: Cao jin <caoj.f...@cn.fujitsu.com> > CC: Richard Kuo <r...@codeaurora.org> > CC: linux-hexa...@vger.kernel.org > --- > arch/hexagon/Makefile | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/arch/he

Re: [PATCH 3/3] hexagon/kbuild: replace CFLAGS_MODULE with KBUILD_CFLAGS_MODULE

2017-10-09 Thread Richard Kuo
low kbuild rules. > > Signed-off-by: Cao jin > CC: Richard Kuo > CC: linux-hexa...@vger.kernel.org > --- > arch/hexagon/Makefile | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/arch/hexagon/Makefile b/arch/hexagon/Makefile > index 207711a0

Re: [PATCH] hexagon: get rid of #include

2017-10-09 Thread Richard Kuo
these patches going up some of the other trees, like trivial or kbuild. Might go faster that way. Thanks, Richard Kuo -- Employee of Qualcomm Innovation Center, Inc. Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project

Re: [PATCH] hexagon: get rid of #include

2017-10-09 Thread Richard Kuo
these patches going up some of the other trees, like trivial or kbuild. Might go faster that way. Thanks, Richard Kuo -- Employee of Qualcomm Innovation Center, Inc. Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project

Re: [PATCH] hexagon: get rid of #include

2017-09-27 Thread Richard Kuo
> For hexagon architecture, we know UTS_MACHINE is a fixed string > "hexagon", so let's hard-code it, like many architectures do. > > Signed-off-by: Masahiro Yamada <yamada.masah...@socionext.com> > --- > > arch/hexagon/kernel/ptrace.c | 4 +--- > 1 file change

Re: [PATCH] hexagon: get rid of #include

2017-09-27 Thread Richard Kuo
> For hexagon architecture, we know UTS_MACHINE is a fixed string > "hexagon", so let's hard-code it, like many architectures do. > > Signed-off-by: Masahiro Yamada > --- > > arch/hexagon/kernel/ptrace.c | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) >

Re: [PATCH] hexagon/time: make rtos_timer_device __initdata

2017-09-27 Thread Richard Kuo
gt; Hexagon architecture was not found while cross-compiling, so the > file is not compile-tested. > > arch/hexagon/kernel/time.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Acked-by: Richard Kuo <r...@codeaurora.org> -- Employee of Qualcomm Innovation Center, Inc.

Re: [PATCH] hexagon/time: make rtos_timer_device __initdata

2017-09-27 Thread Richard Kuo
found while cross-compiling, so the > file is not compile-tested. > > arch/hexagon/kernel/time.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Acked-by: Richard Kuo -- Employee of Qualcomm Innovation Center, Inc. Qualcomm Innovation Center, Inc. is a member o

Re: [PATCH 11/35] hexagon: defconfig: Cleanup from old Kconfig options

2017-06-15 Thread Richard Kuo
-off-by: Krzysztof Kozlowski <k...@kernel.org> > --- > arch/hexagon/configs/comet_defconfig | 5 - > 1 file changed, 5 deletions(-) > Acked-by: Richard Kuo <r...@codeaurora.org> -- Qualcomm Innovation Center, Inc. The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project

Re: [PATCH 11/35] hexagon: defconfig: Cleanup from old Kconfig options

2017-06-15 Thread Richard Kuo
d-off-by: Krzysztof Kozlowski > --- > arch/hexagon/configs/comet_defconfig | 5 - > 1 file changed, 5 deletions(-) > Acked-by: Richard Kuo -- Qualcomm Innovation Center, Inc. The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project

Re: [PATCH 31/44] hexagon: remove arch-specific dma_supported implementation

2017-06-15 Thread Richard Kuo
; arch/hexagon/include/asm/dma-mapping.h | 2 -- > arch/hexagon/kernel/dma.c | 9 - > 2 files changed, 11 deletions(-) > Acked-by: Richard Kuo <r...@codeaurora.org> -- Qualcomm Innovation Center, Inc. The Qualcomm Innovation Center, Inc. is a member of

Re: [PATCH 31/44] hexagon: remove arch-specific dma_supported implementation

2017-06-15 Thread Richard Kuo
ude/asm/dma-mapping.h | 2 -- > arch/hexagon/kernel/dma.c | 9 - > 2 files changed, 11 deletions(-) > Acked-by: Richard Kuo -- Qualcomm Innovation Center, Inc. The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project

Re: [PATCH 17/44] hexagon: switch to use ->mapping_error for error reporting

2017-06-15 Thread Richard Kuo
| 1 - > 3 files changed, 9 insertions(+), 6 deletions(-) > Acked-by: Richard Kuo <r...@codeaurora.org> -- Qualcomm Innovation Center, Inc. The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project

Re: [PATCH 17/44] hexagon: switch to use ->mapping_error for error reporting

2017-06-15 Thread Richard Kuo
3 files changed, 9 insertions(+), 6 deletions(-) > Acked-by: Richard Kuo -- Qualcomm Innovation Center, Inc. The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project

Re: hexagon: Use raw_copy_to_user

2017-06-02 Thread Richard Kuo
st += PAGE_SIZE; > > } > > if (count) > > - count = __copy_to_user_hexagon(dest, _zero_page, count); > > + count = raw_copy_to_user(dest, _zero_page, count); > > > > return count; > > } > -- > To unsubscribe from this lis

Re: hexagon: Use raw_copy_to_user

2017-06-02 Thread Richard Kuo
copy_to_user_hexagon(dest, _zero_page, count); > > + count = raw_copy_to_user(dest, _zero_page, count); > > > > return count; > > } > -- > To unsubscribe from this list: send the line "unsubscribe linux-hexagon" in > the body of a messa

Re: [PATCH] hexagon/time: set ->min_delta_ticks and ->max_delta_ticks

2017-04-03 Thread Richard Kuo
s well as to John' Stultz tree [2]. > > [1] > git://nicst.de/linux.git cev-freq-adj.v10.fortglx-4.12-time > > https://nicst.de/git/?p=linux.git;a=shortlog;h=refs/heads/cev-freq-adj.v10.fortglx-4.12-time > > [2] > https://git.linaro.org/peo

Re: [PATCH] hexagon/time: set ->min_delta_ticks and ->max_delta_ticks

2017-04-03 Thread Richard Kuo
t; > [1] > git://nicst.de/linux.git cev-freq-adj.v10.fortglx-4.12-time > > https://nicst.de/git/?p=linux.git;a=shortlog;h=refs/heads/cev-freq-adj.v10.fortglx-4.12-time > > [2] > https://git.linaro.org/people/john.stultz/linux.git fortglx/4.1

Re: [mm PATCH v3 07/23] arch/hexagon: Add option to skip DMA sync as a part of mapping

2016-11-10 Thread Richard Kuo
On Thu, Nov 10, 2016 at 06:34:52AM -0500, Alexander Duyck wrote: > This change allows us to pass DMA_ATTR_SKIP_CPU_SYNC which allows us to > avoid invoking cache line invalidation if the driver will just handle it > later via a sync_for_cpu or sync_for_device call. > > Cc:

Re: [mm PATCH v3 07/23] arch/hexagon: Add option to skip DMA sync as a part of mapping

2016-11-10 Thread Richard Kuo
On Thu, Nov 10, 2016 at 06:34:52AM -0500, Alexander Duyck wrote: > This change allows us to pass DMA_ATTR_SKIP_CPU_SYNC which allows us to > avoid invoking cache line invalidation if the driver will just handle it > later via a sync_for_cpu or sync_for_device call. > > Cc: Ri

Re: Hexagon-setup: Combine four seq_printf() calls into one call in show_cpuinfo()

2016-10-25 Thread Richard Kuo
-by: Richard Kuo <r...@codeaurora.org> On Fri, Oct 21, 2016 at 08:50:11PM +0200, SF Markus Elfring wrote: > > When the author of the semantic patch language is telling you to stand down, > > The collaboration evolved between Julia and me during the years somehow. > Different

Re: Hexagon-setup: Combine four seq_printf() calls into one call in show_cpuinfo()

2016-10-25 Thread Richard Kuo
-by: Richard Kuo On Fri, Oct 21, 2016 at 08:50:11PM +0200, SF Markus Elfring wrote: > > When the author of the semantic patch language is telling you to stand down, > > The collaboration evolved between Julia and me during the years somehow. > Different software development

Re: [PATCH v5 26/44] hexagon: dma-mapping: Use unsigned long for dma_attrs

2016-06-30 Thread Richard Kuo
-mapping.h | 1 - > arch/hexagon/kernel/dma.c | 8 > 2 files changed, 4 insertions(+), 5 deletions(-) > For Hexagon: Acked-By: Richard Kuo <r...@codeaurora.org> -- Qualcomm Innovation Center, Inc. The Qualcomm Innovation Center, Inc. is a member of the

Re: [PATCH v5 26/44] hexagon: dma-mapping: Use unsigned long for dma_attrs

2016-06-30 Thread Richard Kuo
/hexagon/kernel/dma.c | 8 > 2 files changed, 4 insertions(+), 5 deletions(-) > For Hexagon: Acked-By: Richard Kuo -- Qualcomm Innovation Center, Inc. The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project

Re: [RFC][PATCH 10/31] locking,hexagon: Implement atomic_fetch_{add,sub,and,or,xor}()

2016-04-25 Thread Richard Kuo
quot; (output), "=" (val) \ > > + : "r" (>counter), "r" (i)\ > > + : "memory", "p3" \ > > + );

Re: [RFC][PATCH 10/31] locking,hexagon: Implement atomic_fetch_{add,sub,and,or,xor}()

2016-04-25 Thread Richard Kuo
quot; (output), "=" (val) \ > > + : "r" (>counter), "r" (i)\ > > + : "memory", "p3" \ > > + );

Re: [PATCH 3.14 00/79] 3.14.55-stable review

2015-10-19 Thread Richard Kuo
e queue. >From 94cf42f823bc904305b0ee93a09bcd51ba380497 Mon Sep 17 00:00:00 2001 From: Peter Zijlstra Date: Thu, 13 Mar 2014 19:00:36 +0100 Subject: arch,hexagon: Convert smp_mb__*() Thanks, Richard Kuo -- Qualcomm Innovation Center, Inc. The Qualcomm Innovation Center, Inc. is a member of the Code Auro

Re: [PATCH 3.14 00/79] 3.14.55-stable review

2015-10-19 Thread Richard Kuo
mic_dec' > > Odd, any idea what we can do to fix it? > > greg k-h Apologies, the previous patch was the wrong one. It really should have been this one: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=2ab08ee9f0a4eba27c7c4ce0b6d5118e8a18554b There was a stale ba

Re: [PATCH 3.14 00/79] 3.14.55-stable review

2015-10-19 Thread Richard Kuo
e queue. >From 94cf42f823bc904305b0ee93a09bcd51ba380497 Mon Sep 17 00:00:00 2001 From: Peter Zijlstra <pet...@infradead.org> Date: Thu, 13 Mar 2014 19:00:36 +0100 Subject: arch,hexagon: Convert smp_mb__*() Thanks, Richard Kuo -- Qualcomm Innovation Center, Inc. The Qualcomm Innovation Center, Inc.

Re: [PATCH 3.14 00/79] 3.14.55-stable review

2015-10-19 Thread Richard Kuo
mic_dec' > > Odd, any idea what we can do to fix it? > > greg k-h Apologies, the previous patch was the wrong one. It really should have been this one: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=2ab08ee9f0a4eba27c7c4ce0b6d5118e8a18554b There was a stale ba

[GIT PULL] Hexagon arch changes for 4.3

2015-09-09 Thread Richard Kuo
Linus, Please pull the following changes for the Hexagon architecture. It's just two fixes -- one for a uapi header and one for a timer interface. Thanks, Richard Kuo The following changes since commit 64291f7db5bd8150a74ad2036f1037e6a0428df2: Linux 4.2 (2015-08-30 11:34:09 -0700

[GIT PULL] Hexagon arch changes for 4.3

2015-09-09 Thread Richard Kuo
Linus, Please pull the following changes for the Hexagon architecture. It's just two fixes -- one for a uapi header and one for a timer interface. Thanks, Richard Kuo The following changes since commit 64291f7db5bd8150a74ad2036f1037e6a0428df2: Linux 4.2 (2015-08-30 11:34:09 -0700

Re: [PATCH 1/2] hexagon: fix return type of ffs()

2013-08-14 Thread Richard Kuo
u Cc: Mikael Starvik Cc: Jesper Nilsson Cc: linux-cris-ker...@axis.com Cc: Richard Kuo Cc: linux-hexa...@vger.kernel.org Cc: linux-a...@vger.kernel.org --- This patch is not compile tested yet, because I couldn't find cross compiler for hexagon. arch/hexagon/include/asm/bitops.h | 2 +- 1 fi

Re: [PATCH 1/2] hexagon: fix return type of ffs()

2013-08-14 Thread Richard Kuo
Wu fengguang...@intel.com Cc: Mikael Starvik star...@axis.com Cc: Jesper Nilsson jesper.nils...@axis.com Cc: linux-cris-ker...@axis.com Cc: Richard Kuo r...@codeaurora.org Cc: linux-hexa...@vger.kernel.org Cc: linux-a...@vger.kernel.org --- This patch is not compile tested yet, because I couldn't

Re: [PATCH 18/32] hexagon: delete __cpuinit usage from all hexagon files

2013-07-08 Thread Richard Kuo
ly hexagon does not have any __CPUINIT used in assembly files. [1] https://lkml.org/lkml/2013/5/20/589 Cc: Richard Kuo Cc: linux-hexa...@vger.kernel.org Signed-off-by: Paul Gortmaker --- [This commit is part of the __cpuinit removal work. If you don't see any problems with it, then you

Re: [PATCH 18/32] hexagon: delete __cpuinit usage from all hexagon files

2013-07-08 Thread Richard Kuo
does not have any __CPUINIT used in assembly files. [1] https://lkml.org/lkml/2013/5/20/589 Cc: Richard Kuo r...@codeaurora.org Cc: linux-hexa...@vger.kernel.org Signed-off-by: Paul Gortmaker paul.gortma...@windriver.com --- [This commit is part of the __cpuinit removal work. If you don't see

Re: [PATCH 4/6] Hexagon: check to if we will overflow the signal stack

2013-04-04 Thread Richard Kuo
On 04/04/2013 11:25 AM, Linas Vepstas wrote: On 3 April 2013 19:02, Richard Kuo wrote: + /* check if we would overflow the alt stack */ + if (on_sig_stack(sp) && !likely(on_sig_stack(sp - frame_size))) + return (void __user __force *)-1UL; I found the

Re: [PATCH 4/6] Hexagon: check to if we will overflow the signal stack

2013-04-04 Thread Richard Kuo
On 04/04/2013 11:25 AM, Linas Vepstas wrote: On 3 April 2013 19:02, Richard Kuo r...@codeaurora.org wrote: + /* check if we would overflow the alt stack */ + if (on_sig_stack(sp) !likely(on_sig_stack(sp - frame_size))) + return (void __user __force *)-1UL; I found

[PATCH 2/6] Hexagon: fix up int enable/disable at ret_from_fork

2013-04-03 Thread Richard Kuo
Check return coming out of check_work_pending, and if copy_thread passed us a function in r24, call it. Based on feedback from Al Viro. Signed-off-by: Richard Kuo --- arch/hexagon/kernel/vm_entry.S | 13 +++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/arch

[PATCH 1/6] Hexagon: Signal and return path fixes

2013-04-03 Thread Richard Kuo
This fixes the return value of sigreturn and moves the work pending check into a c routine for readability and fixes the loop for multiple pending signals. Based on feedback from Al Viro. Signed-off-by: Richard Kuo --- arch/hexagon/include/uapi/asm/signal.h |2 + arch/hexagon/kernel

[PATCH 0/6] Hexagon: various signal and return path cleanups

2013-04-03 Thread Richard Kuo
. Thanks, Richard Kuo Richard Kuo (6): Hexagon: Signal and return path fixes Hexagon: fix up int enable/disable at ret_from_fork Hexagon: use correct work mask when checking for more work Hexagon: check to if we will overflow the signal stack Hexagon: break up user fn/arg register setting

[PATCH 6/6] Hexagon: fix psp/sp macro

2013-04-03 Thread Richard Kuo
Based on feedback from Al Viro; previous-stack-pointer and user reg for same should always be kept consistent. Signed-off-by: Richard Kuo --- arch/hexagon/include/uapi/asm/registers.h |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/hexagon/include/uapi/asm

[PATCH 3/6] Hexagon: use correct work mask when checking for more work

2013-04-03 Thread Richard Kuo
Signed-off-by: Richard Kuo --- arch/hexagon/kernel/process.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/hexagon/kernel/process.c b/arch/hexagon/kernel/process.c index dc72ed5..8e90b0c 100644 --- a/arch/hexagon/kernel/process.c +++ b/arch/hexagon/kernel/process.c

[PATCH 4/6] Hexagon: check to if we will overflow the signal stack

2013-04-03 Thread Richard Kuo
Signed-off-by: Richard Kuo --- arch/hexagon/kernel/signal.c |4 1 file changed, 4 insertions(+) diff --git a/arch/hexagon/kernel/signal.c b/arch/hexagon/kernel/signal.c index 8a20e8e..097623c 100644 --- a/arch/hexagon/kernel/signal.c +++ b/arch/hexagon/kernel/signal.c @@ -41,6 +41,10

[PATCH 5/6] Hexagon: break up user fn/arg register setting

2013-04-03 Thread Richard Kuo
Signed-off-by: Richard Kuo --- arch/hexagon/kernel/process.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/hexagon/kernel/process.c b/arch/hexagon/kernel/process.c index 8e90b0c..2009377 100644 --- a/arch/hexagon/kernel/process.c +++ b/arch/hexagon/kernel

[PATCH 4/6] Hexagon: check to if we will overflow the signal stack

2013-04-03 Thread Richard Kuo
Signed-off-by: Richard Kuo r...@codeaurora.org --- arch/hexagon/kernel/signal.c |4 1 file changed, 4 insertions(+) diff --git a/arch/hexagon/kernel/signal.c b/arch/hexagon/kernel/signal.c index 8a20e8e..097623c 100644 --- a/arch/hexagon/kernel/signal.c +++ b/arch/hexagon/kernel

[PATCH 5/6] Hexagon: break up user fn/arg register setting

2013-04-03 Thread Richard Kuo
Signed-off-by: Richard Kuo r...@codeaurora.org --- arch/hexagon/kernel/process.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/hexagon/kernel/process.c b/arch/hexagon/kernel/process.c index 8e90b0c..2009377 100644 --- a/arch/hexagon/kernel/process.c +++ b/arch

[PATCH 6/6] Hexagon: fix psp/sp macro

2013-04-03 Thread Richard Kuo
Based on feedback from Al Viro; previous-stack-pointer and user reg for same should always be kept consistent. Signed-off-by: Richard Kuo r...@codeaurora.org --- arch/hexagon/include/uapi/asm/registers.h |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/hexagon

[PATCH 3/6] Hexagon: use correct work mask when checking for more work

2013-04-03 Thread Richard Kuo
Signed-off-by: Richard Kuo r...@codeaurora.org --- arch/hexagon/kernel/process.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/hexagon/kernel/process.c b/arch/hexagon/kernel/process.c index dc72ed5..8e90b0c 100644 --- a/arch/hexagon/kernel/process.c +++ b/arch

[PATCH 0/6] Hexagon: various signal and return path cleanups

2013-04-03 Thread Richard Kuo
. Thanks, Richard Kuo Richard Kuo (6): Hexagon: Signal and return path fixes Hexagon: fix up int enable/disable at ret_from_fork Hexagon: use correct work mask when checking for more work Hexagon: check to if we will overflow the signal stack Hexagon: break up user fn/arg register setting

[PATCH 1/6] Hexagon: Signal and return path fixes

2013-04-03 Thread Richard Kuo
This fixes the return value of sigreturn and moves the work pending check into a c routine for readability and fixes the loop for multiple pending signals. Based on feedback from Al Viro. Signed-off-by: Richard Kuo r...@codeaurora.org --- arch/hexagon/include/uapi/asm/signal.h |2 + arch

[PATCH 2/6] Hexagon: fix up int enable/disable at ret_from_fork

2013-04-03 Thread Richard Kuo
Check return coming out of check_work_pending, and if copy_thread passed us a function in r24, call it. Based on feedback from Al Viro. Signed-off-by: Richard Kuo r...@codeaurora.org --- arch/hexagon/kernel/vm_entry.S | 13 +++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff

Re: [PATCH 1/1] arch Kconfig: remove references to IRQ_PER_CPU

2012-11-13 Thread Richard Kuo
_CPU wasn't removed from any of the architecture Kconfig > files where it was defined or selected. It's completely unused so remove > the remaining references. > > Signed-off-by: James Hogan > Cc: Thomas Gleixner > Cc: Mike Frysinger > Cc: Richard Kuo > Cc: Tony Luck &g

Re: [PATCH 1/1] arch Kconfig: remove references to IRQ_PER_CPU

2012-11-13 Thread Richard Kuo
of the architecture Kconfig files where it was defined or selected. It's completely unused so remove the remaining references. Signed-off-by: James Hogan james.ho...@imgtec.com Cc: Thomas Gleixner t...@linutronix.de Cc: Mike Frysinger vap...@gentoo.org Cc: Richard Kuo r...@codeaurora.org Cc: Tony Luck

Re: [PATCH RFT RESEND linux-next] hexagon: dma-mapping: support debug_dma_mapping_error

2012-11-04 Thread Richard Kuo
_error(dev, dma_addr); > > if (dma_ops->mapping_error) > > return dma_ops->mapping_error(dev, dma_addr); > > > > This looks fine; I'm OK with this going through linux-next. Thanks! Acked-by: Richard Kuo -- Sent by an employee of the Qualcomm Inn

Re: [PATCH RFT RESEND linux-next] hexagon: dma-mapping: support debug_dma_mapping_error

2012-11-04 Thread Richard Kuo
-next. Thanks! Acked-by: Richard Kuo r...@codeaurora.org -- Sent by an employee of the Qualcomm Innovation Center, Inc. The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, hosted by The Linux Foundation -- To unsubscribe from this list: send the line unsubscribe linux

Re: new execve/kernel_thread design

2012-10-25 Thread Richard Kuo
uld be > safe to pull. There are some fun things that'll become possible once > all architectures are converted, but let's handle that stuff first, OK? Latest version of the Hexagon patches look good. Thanks! Acked-by: Richard Kuo -- Sent by an employee of the Qualcomm Innovation

Re: new execve/kernel_thread design

2012-10-25 Thread Richard Kuo
become possible once all architectures are converted, but let's handle that stuff first, OK? Latest version of the Hexagon patches look good. Thanks! Acked-by: Richard Kuo r...@codeaurora.org -- Sent by an employee of the Qualcomm Innovation Center, Inc. The Qualcomm Innovation Center, Inc

Re: [GIT PULL] Please pull the Hexagon branch

2012-10-19 Thread Richard Kuo
On Fri, Oct 19, 2012 at 11:08:40AM -0700, Linus Torvalds wrote: > On Thu, Oct 18, 2012 at 5:16 PM, Richard Kuo wrote: > > > > Please pull the following small changes for the Hexagon arch. It includes > > the Hexagon UAPI changes from David Howells and so

Re: [GIT PULL] Please pull the Hexagon branch

2012-10-19 Thread Richard Kuo
On Fri, Oct 19, 2012 at 11:08:40AM -0700, Linus Torvalds wrote: On Thu, Oct 18, 2012 at 5:16 PM, Richard Kuo r...@codeaurora.org wrote: Please pull the following small changes for the Hexagon arch. It includes the Hexagon UAPI changes from David Howells and some CR marking changes

[GIT PULL] Please pull the Hexagon branch

2012-10-18 Thread Richard Kuo
Linus, Please pull the following small changes for the Hexagon arch. It includes the Hexagon UAPI changes from David Howells and some CR marking changes for the transition from Code Aurora to Linux Foundation. Thanks, Richard Kuo The following changes since commit

[GIT PULL] Please pull the Hexagon branch

2012-10-18 Thread Richard Kuo
Linus, Please pull the following small changes for the Hexagon arch. It includes the Hexagon UAPI changes from David Howells and some CR marking changes for the transition from Code Aurora to Linux Foundation. Thanks, Richard Kuo The following changes since commit

Re: [GIT PULL] Disintegrate UAPI for hexagon

2012-10-05 Thread Richard Kuo
isintegrate arch/hexagon/include/asm (2012-10-04 18:20:45 > +0100) > OK, pulled into my current tree. I'd like to wait for the generic stuff to make it into Linus's tree before pushing it out though. Thanks, Richard Kuo -- Sent by an employee of the Qualcomm Innovation Center, Inc. T

  1   2   >