Re: [PATCH 2/8] ARC: Fix typos

2024-01-03 Thread Randy Dunlap
> implemen > + * -sys_rt_sigsuspend() now comes from generic code, so discard arch > implement implementation > * -sys_sigsuspend() no longer needs to fudge ptregs, hence t

Re: [PATCH] treewide: drop CONFIG_EMBEDDED

2023-08-18 Thread Randy Dunlap
Hi Jesse, I replied to your comment a few days ago, but for some reason your email to me contains: Reply-To: 20230816055010.31534-1-rdun...@infradead.org so it wasn't sent directly to you. My former reply is below. On 8/16/23 20:15, Randy Dunlap wrote: > Hi Jesse, > > On 8/16/23 15:

Re: [PATCH] treewide: drop CONFIG_EMBEDDED

2023-08-16 Thread Randy Dunlap
Hi Jesse, On 8/16/23 15:45, Jesse Taube wrote: > Hi, Randy > >> diff -- a/init/Kconfig b/init/Kconfig >> --- a/init/Kconfig >> +++ b/init/Kconfig >> @@ -1790,14 +1790,6 @@ config DEBUG_RSEQ >> >>    If unsure, say N. >> >> -config EMBEDDED >> -    bool "Embedded system" >> -    select EXPERT

[PATCH] treewide: drop CONFIG_EMBEDDED

2023-08-15 Thread Randy Dunlap
There is only one Kconfig user of CONFIG_EMBEDDED and it can be switched to EXPERT or "if !ARCH_MULTIPLATFORM" (suggested by Arnd). Signed-off-by: Randy Dunlap Cc: Russell King Cc: linux-arm-ker...@lists.infradead.org Cc: Arnd Bergmann Cc: Jason A. Donenfeld Cc: wiregu...@lists.zx

[PATCH v2] arc: iounmap() arg is volatile

2022-10-09 Thread Randy Dunlap
1 of 'iounmap' discards 'volatile' qualifier from pointer target type [-Werror=discarded-qualifiers] 2067 | iounmap(default_par->riva.PRAMIN); Fixes: 1162b0701b14b ("ARC: I/O and DMA Mappings") Signed-off-by: Randy Dunlap Cc: Vineet Gupta Cc: linux-snps-arc@lists.

[PATCH] ARC: align iounmap() argument with other architectures

2022-08-10 Thread Randy Dunlap
ted 'const void *' but argument is of type 'volatile void *' 35 | extern void iounmap(const void __iomem *addr); Fixes: 1162b0701b14 ("ARC: I/O and DMA Mappings") Signed-off-by: Randy Dunlap Cc: Vineet Gupta Cc: linux-snps-arc@lists.infradead.org --- arch/arc/include/asm/io.h |2 +-

Re: [PATCH v2] docs: Add documentation for ARC processors

2021-11-12 Thread Randy Dunlap
to match the state of development. Signed-off-by: Alexey Brodkin Cc: Randy Dunlap Cc: Vineet Gupta --- Changes v1 -> v2: * Spello "linux" -> "Linux" (Randy Dunlap) Documentation/arc/arc.rst | 81 ++ Documenta

Re: [PATCH] docs: Add documentation for ARC processors

2021-11-11 Thread Randy Dunlap
On 11/11/21 12:10 PM, Alexey Brodkin wrote: +Important note on ARC processors configurability + + +ARC processors are highly configurable and several configurable options +are supported in linux. Some options are transparent to software

[PATCH] ARC: thread_info.h: correct two typos in a comment

2021-10-29 Thread Randy Dunlap
Fix typos of "separately" and "remains". Signed-off-by: Randy Dunlap Suggested-by: Matthew Wilcox # "remains" Cc: Vineet Gupta Cc: linux-snps-arc@lists.infradead.org --- arch/arc/include/asm/thread_info.h |4 ++-- 1 file changed, 2 insertions(+), 2 deletio

[tip: timers/core] clocksource/drivers/arc_timer: Eliminate redefined macro error

2021-10-25 Thread tip-bot2 for Randy Dunlap
The following commit has been merged into the timers/core branch of tip: Commit-ID: 58100c34f7827ddf64309c5a7c8c4e5bd6415b95 Gitweb: https://git.kernel.org/tip/58100c34f7827ddf64309c5a7c8c4e5bd6415b95 Author:Randy Dunlap AuthorDate:Thu, 23 Sep 2021 19:08:25 -07:00

[PATCH v2] clocksource: arc_timer: eliminate redefined macro error

2021-09-23 Thread Randy Dunlap
xes: b26c2e3823ba ("ARC: breakout timer include code into separate header") Signed-off-by: Randy Dunlap Cc: Vineet Gupta Cc: linux-snps-arc@lists.infradead.org Cc: Daniel Lezcano Cc: Thomas Gleixner Cc: Shahab Vahedi --- v2: prefix both TIMER_CTRL_xx macros with ARC_ (suggested

Re: [PATCH] clocksource: arc_timer: eliminate redefined macro error

2021-09-23 Thread Randy Dunlap
On 9/23/21 2:42 AM, Shahab Vahedi wrote: Hi Randy, I have one minor comment. On 9/23/21 5:18 AM, Randy Dunlap wrote: --- linux-next-20210917.orig/include/soc/arc/timers.h +++ linux-next-20210917/include/soc/arc/timers.h @@ -17,7 +17,7 @@ #define ARC_REG_TIMER1_CNT0x100 /* timer 1

[PATCH] clocksource: arc_timer: eliminate redefined macro error

2021-09-22 Thread Randy Dunlap
this is the location of the previous definition 20 | #define TIMER_CTRL_IE (1 << 0) /* Interrupt when Count reaches limit */ Fixes: b26c2e3823ba ("ARC: breakout timer include code into separate header") Signed-off-by: Randy Dunlap Cc: Vineet Gupta Cc: linux-snps-ar

[PATCH] arc: rename arc_timer's TIMER_CTRL_IE to avoid redefinition

2021-07-18 Thread Randy Dunlap
of the previous definition 20 | #define TIMER_CTRL_IE (1 << 0) /* Interrupt when Count reaches limit */ Fixes: b26c2e3823ba ("ARC: breakout timer include code into separate header") Signed-off-by: Randy Dunlap Cc: Vineet Gupta Cc: linux-snps-arc@lists.infradead.org --

[PATCH] ARC: kgdb: add 'fallthrough' to prevent a warning

2021-04-21 Thread Randy Dunlap
| if (kgdb_hex2long(, )) | ^ ../arch/arc/kernel/kgdb.c:144:2: note: here 144 | case 'D': | ^~~~ Signed-off-by: Randy Dunlap Cc: Vineet Gupta Cc: linux-snps-arc@lists.infradead.org --- arch/arc/kernel/kgdb.c |1 + 1 file changed, 1 insertion(+) --- linux-next-20210420.orig/arch/arc

Re: [PATCH] arc/kernel/signal.c: Fix couple of typos

2021-03-24 Thread Randy Dunlap
On 3/23/21 10:52 PM, Bhaskar Chowdhury wrote: > > s/unconditonally/unconditionally/ > s/gaurantees/guarantees/ > > Signed-off-by: Bhaskar Chowdhury Acked-by: Randy Dunlap > --- > arch/arc/kernel/signal.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) &g

Re: [PATCH] arch: arc: Fix a typo

2021-03-22 Thread Randy Dunlap
On 3/22/21 5:28 AM, Bhaskar Chowdhury wrote: > > s/defintion/definition/ > > Signed-off-by: Bhaskar Chowdhury Acked-by: Randy Dunlap > --- > arch/arc/Makefile | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/arc/Makefile b/arch/arc/Ma

Re: [PATCH] arc: include/asm: Couple of spelling fixes

2021-03-22 Thread Randy Dunlap
On 3/22/21 5:32 AM, Bhaskar Chowdhury wrote: > > s/interrpted/interrupted/ > s/defintion/definition/ > > Signed-off-by: Bhaskar Chowdhury Acked-by: Randy Dunlap > --- > arch/arc/include/asm/cmpxchg.h | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) &g

Re: [PATCH v5 1/2] lib: stackdepot: Add support to configure STACK_HASH_SIZE

2021-01-18 Thread Randy Dunlap
On 1/18/21 10:52 PM, Vijayanand Jitta wrote: > > > On 1/19/2021 4:23 AM, Randy Dunlap wrote: >> On 1/18/21 1:56 AM, vji...@codeaurora.org wrote: >>> From: Yogesh Lal >>> >>> Use CONFIG_STACK_HASH_ORDER to configure STACK_HASH_SIZE. >>> >>

Re: [PATCH v5 1/2] lib: stackdepot: Add support to configure STACK_HASH_SIZE

2021-01-18 Thread Randy Dunlap
On 1/18/21 1:56 AM, vji...@codeaurora.org wrote: > From: Yogesh Lal > > Use CONFIG_STACK_HASH_ORDER to configure STACK_HASH_SIZE. > > Aim is to have configurable value for STACK_HASH_SIZE, > so depend on use case one can configure it. > > One example is of Page Owner, default value of >

[PATCH v3] arch/arc: add copy_user_page() to to fix build error on ARC

2021-01-04 Thread Randy Dunlap
=implicit-function-declaration] Reported-by: kernel test robot Signed-off-by: Randy Dunlap Cc: Vineet Gupta Cc: linux-snps-arc@lists.infradead.org Cc: Dan Williams #Acked-by: Vineet Gupta # v1 Cc: Andrew Morton Cc: Matthew Wilcox Cc: Jan Kara Cc: linux-fsde...@vger.kernel.org Cc: linux-nvd

Re: [PATCH v2] fs/dax: include to fix build error on ARC

2021-01-04 Thread Randy Dunlap
On 1/4/21 12:13 PM, Dan Williams wrote: > On Thu, Dec 31, 2020 at 8:29 PM Randy Dunlap wrote: >> >> fs/dax.c uses copy_user_page() but ARC does not provide that interface, >> resulting in a build error. >> >> Provide copy_user_page() in (beside copy_page(

[PATCH] fs: dax: fix build error on ARC

2020-10-06 Thread Randy Dunlap
From: Randy Dunlap fs/dax.c uses copy_user_page() but ARC does not provide that interface, resulting in a build error. Provide copy_user_page() in (beside copy_page()) and add to fs/dax.c to fix the build error. ../fs/dax.c: In function 'copy_cow_page_dax': ../fs/dax.c:702:2: error: implicit

Re: [PATCH] drm/amdgpu/swsmu: fix ARC build errors

2020-10-06 Thread Randy Dunlap
sienna_cichlid_ppt.c: In function > 'sienna_cichlid_fill_i2c_req': > ../arch/arc/include/asm/bug.h:24:2: error: implicit declaration of function > 'pr_warn'; did you mean 'drm_warn'? [-Werror=implicit-function-declaration] > > Reported-by: kernel test robot > Cc: Randy Dunlap > Cc: Evan Quan > C

[RFC PATCH] DRM: amd: powerplay: don't undef pr_warn() {causes ARC build errors}

2020-10-05 Thread Randy Dunlap
From: Randy Dunlap arch/arc/ implements BUG_ON() with BUG(). ARC has its own BUG() function and that function uses pr_warn() as part of its implementation. Several (8) files in amd/powerplay/ #undef various pr_xyz() functions so that they won't be used by these drivers, since dev_() functions

[PATCH] arc: include/asm: fix typos of "themselves"

2020-10-05 Thread Randy Dunlap
From: Randy Dunlap Fix copy/paste spello of "themselves" in 3 places. Signed-off-by: Randy Dunlap Cc: Vineet Gupta Cc: linux-snps-arc@lists.infradead.org --- arch/arc/include/asm/atomic.h |4 ++-- arch/arc/include/asm/cmpxchg.h |2 +- 2 files changed, 3 insertions(+), 3

[PATCH] ARC: pgalloc.h: delete a duplicated word + other fixes

2020-07-21 Thread Randy Dunlap
Drop the repeated word "to". Change "Thay" to "That". Add a closing right parenthesis. Signed-off-by: Randy Dunlap Cc: Vineet Gupta Cc: linux-snps-arc@lists.infradead.org --- arch/arc/include/asm/pgalloc.h |4 ++-- 1 file changed, 2 insertions(+), 2 deletio

[PATCH] arch/arc: fix some Kconfig typos

2020-01-31 Thread Randy Dunlap
From: Randy Dunlap Fix language typos in arch/arc/Kconfig. Signed-off-by: Randy Dunlap Cc: Vineet Gupta Cc: linux-snps-arc@lists.infradead.org --- arch/arc/Kconfig |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- linux-next-20200131.orig/arch/arc/Kconfig +++ linux-next

[PATCH] arc: eznps: fix allmodconfig kconfig warning

2019-11-26 Thread Randy Dunlap
From: Randy Dunlap Fix kconfig warning for arch/arc/plat-eznps/Kconfig allmodconfig: WARNING: unmet direct dependencies detected for CLKSRC_NPS Depends on [n]: GENERIC_CLOCKEVENTS [=y] && !PHYS_ADDR_T_64BIT [=y] Selected by [y]: - ARC_PLAT_EZNPS [=y] Signed-off-by: Randy Du

Re: [PATCH v2 1/2] GPIO: add single-register gpio via creg driver

2018-08-28 Thread Randy Dunlap
Hi, I don't see any updates/corrections here. :( On 08/28/2018 04:27 AM, Eugeniy Paltsev wrote: > diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig > index 71c0ab46f216..0f9cc1582cab 100644 > --- a/drivers/gpio/Kconfig > +++ b/drivers/gpio/Kconfig > @@ -430,6 +430,15 @@ config GPIO_REG

Re: [PATCH 1/2] GPIO: add single-register gpio via creg driver

2018-08-23 Thread Randy Dunlap
On 08/23/2018 08:00 AM, Eugeniy Paltsev wrote: > diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig > index 71c0ab46f216..0f9cc1582cab 100644 > --- a/drivers/gpio/Kconfig > +++ b/drivers/gpio/Kconfig > @@ -430,6 +430,15 @@ config GPIO_REG > A 32-bit single register GPIO fixed in/out

[PATCH 3/4 v3] arc: fix data type errors in platform headers

2018-07-29 Thread Randy Dunlap
On 07/29/2018 12:01 AM, Leon Romanovsky wrote: > On Thu, Jul 26, 2018 at 08:16:35PM -0700, rd_dunlab wrote: >> From: Randy Dunlap >> >> Add to fix build errors. >> Both ctop.h and use u32 types and cause many >> errors. >> >> Examples: >> ..

Re: [PATCH 2/4] arc: fix type warnings in arc/mm/cache.c

2018-07-24 Thread Randy Dunlap
On 07/24/2018 05:02 PM, Vineet Gupta wrote: > On 07/24/2018 01:46 PM, Randy Dunlap wrote: >> From: Randy Dunlap >> >> ../arch/arc/mm/cache.c: In function 'flush_anon_page': >> ../arch/arc/mm/cache.c:1062:55: warning: passing argument 2 of >> '__flush_dcache

Re: [PATCH 1/4] arc: fix some build issues in delay.h

2018-07-24 Thread Randy Dunlap
On 07/24/2018 03:04 PM, Vineet Gupta wrote: > On 07/24/2018 01:46 PM, Randy Dunlap wrote: >> From: Randy Dunlap >> >> Fix build errors in arch/arc/'s delay.h: >> - add for loops_per_jiffy >> - add for "u64" >> >> In file included from ../dr

[PATCH 1/4] arc: fix some build issues in delay.h

2018-07-24 Thread Randy Dunlap
From: Randy Dunlap Fix build errors in arch/arc/'s delay.h: - add for loops_per_jiffy - add for "u64" In file included from ../drivers/infiniband/hw/cxgb3/cxio_hal.c:32: ../arch/arc/include/asm/delay.h: In function '__udelay': ../arch/arc/include/asm/delay.h:61:12: error: 'u64'

[PATCH 4/4] arc: fix mtm.c printk format warning

2018-07-24 Thread Randy Dunlap
From: Randy Dunlap Fix printk format warning in arch/arc/plat-eznps/mtm.c: In file included from ../include/linux/printk.h:7, from ../include/linux/kernel.h:14, from ../include/linux/list.h:9, from ../include/linux/smp.h:12

[PATCH 2/4] arc: fix type warnings in arc/mm/cache.c

2018-07-24 Thread Randy Dunlap
From: Randy Dunlap ../arch/arc/mm/cache.c: In function 'flush_anon_page': ../arch/arc/mm/cache.c:1062:55: warning: passing argument 2 of '__flush_dcache_page' makes integer from pointer without a cast [-Wint-conversion] __flush_dcache_page((phys_addr_t)page_address(page), page_address(page

Re: arch/arc/ allmodconfig

2018-07-23 Thread Randy Dunlap
On 07/23/2018 01:34 AM, Ofer Levi(SW) wrote: > Hi Vineet, randy > > Indeed this structure is missing, following is a patch based on linux-4.17.9. > Sorry about that. > > Thanks > > > diff -uprN linux-4.17.9.org/arch/arc/plat-eznps/include/plat/ctop.h >

arch/arc/ allmodconfig

2018-07-18 Thread Randy Dunlap
Hi, When I try to (cross-)build arch/arc/ allmodconfig, I get a syntax error here: ./arch/arc/plat-eznps/mtm.c: In function 'mtm_enable_core': ../arch/arc/plat-eznps/mtm.c:113:30: error: storage size of 'dpc' isn't known struct nps_host_reg_aux_dpc dpc; ^~~ There

Re: [PATCH] arc/Kconfig: include mm/Kconfig inside "ARC system configuration"

2018-06-30 Thread Randy Dunlap
t "Maximum zone order" >> default "12" if ARC_HUGEPAGE_16M >> default "11" >> +endmenu # "Memory Management" >> >> source "net/Kconfig" >> source "drivers/Kconfig" >> > > Awes

Re: [PATCH 22/34] dma-mapping: add an arch_dma_supported hook

2018-02-02 Thread Randy Dunlap
On 01/12/2018 12:42 AM, Christoph Hellwig wrote: > To implement the x86 forbid_dac and iommu_sac_force we want an arch hook > so that it can apply the global options across all dma_map_ops > implementations. > > Signed-off-by: Christoph Hellwig > --- >