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
> ---
> arch/x86/include/asm/dma-mapping.h | 3 +++
t "Maximum zone order"
>> default "12" if ARC_HUGEPAGE_16M
>> default "11"
>> +endmenu # "Memory Management"
>>
>> source "net/Kconfig"
>> source "drivers/Kconfig"
>>
>
> Awes
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
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
> linux-4.17.9/arch/arc/plat-eznps/include/
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
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
From: Randy Dunlap
Add to fix build errors.
Both ctop.h and use u32 types and cause many
errors.
Examples:
../include/soc/nps/common.h:71:4: error: unknown type name 'u32'
u32 __reserved:20, cluster:4, core:4, thread:4;
../include/soc/nps/common.h:76:3: error: unknown type
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
From: Randy Dunlap
Hi,
Here are a few patches that fix build errors or warnings that
I encountered while doing arc "allmodconfig" builds.
These patches do not fix all of the build issues.
arch/arc/include/asm/delay.h|2 ++
arch/arc/mm/cache.c
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
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
>> '
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:
>> ..
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 i
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
>
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
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
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
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
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_() func
u/drm/amd/amdgpu/../powerplay/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 t
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
aration of function 'copy_user_page';
did you mean 'copy_to_user_page'? [-Werror=implicit-function-declaration]
Fixes: cccbce671582 ("filesystem-dax: convert to dax_direct_access()")
Reported-by: kernel test robot
Signed-off-by: Randy Dunlap
Cc: Vineet Gupta
Cc: li
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()) a
y_to_user_page'? [-Werror=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...
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
> STACK_
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.
>>>
>>
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
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
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
rough=]
141 | if (kgdb_hex2long(&ptr, &addr))
| ^
../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 inse
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
--
d.
PowerPC exported it in 2004. It looks like nds32 and nios2
still need to have it exported.
Fixes: 4102b53392d63 ("ARC: [mm] Aliasing VIPT dcache support 2/4")
Signed-off-by: Randy Dunlap
Reported-by: kernel test robot
Cc: Guenter Roeck
Cc: Vineet Gupta
Cc: linux-snps-arc@lists.infrade
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
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
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
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
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
looking forward 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 +++
arch/arc/include/asm/io.h:35:41: note: expected '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
: error: passing argument 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
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
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
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/2
> implemen
> + * -sys_rt_sigsuspend() now comes from generic code, so discard arch
> implement
implementation
> * -sys_sigsuspend() no longer needs to fudge ptregs, hence t
On 6/14/24 12:08 PM, Thomas Huth wrote:
> The "nps_mtm_hs_ctr" parameter has been removed in commit dd7c7ab01a04
> ("ARC: [plat-eznps]: Drop support for EZChip NPS platform"). Remove it
> from the documentation now, too.
>
> Signed-off-by: Thomas Huth
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
46 matches
Mail list logo