l.com/
> Signed-off-by: Paul E. McKenney
> Cc: Vineet Gupta
> Cc:
>
> diff --git a/arch/arc/include/asm/cmpxchg.h b/arch/arc/include/asm/cmpxchg.h
> index 58045c8983404..76f43db0890fc 100644
> --- a/arch/arc/include/asm/cmpxchg.h
>
On 9/15/24 11:07, kernel test robot wrote:
> Hi Vineet,
>
> FYI, the error/warning still remains.
>
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
> master
> head: 98f7e32f20d28ec452afb208f9cffc08448a2652
> commit: d9820ff76f95fa26d33e412254a89cd65b23142d ARC: mm: s
Signed-off-by: Vineet Gupta
---
arch/arc/include/asm/arcregs.h | 2 +-
arch/arc/include/asm/mmu-arcv2.h | 2 +-
include/soc/arc/{aux.h => arc_aux.h} | 0
include/soc/arc/mcip.h | 2 +-
include/soc/arc/timers.h | 2 +-
5 files changed, 4 insertions(+)
this does not pertain
to cmpxchg() semantics, which are plently well-defined on variables in
general, whether per-CPU or otherwise.
Reported-by: kernel test robot
Closes:
https://lore.kernel.org/oe-kbuild-all/202409251336.toc0tvwb-...@intel.com/
Signed-off-by: Paul E. McKenney
Cc:
Signed-off-
Hi,
Changes slated for a near future rc.
Thx,
-Vineet
Benjamin Szőke (1):
arc: rename aux.h to arc_aux.h
Paul E. McKenney (1):
ARC: build: Use __force to suppress per-CPU cmpxchg warnings
Vineet Gupta (1):
ARC: build: disallow invalid PAE40 + 4K page config
arch/arc/Kconfig
on MMU ver not really ISA, although that follows
eventually.
Reported-by: kernel test robot
Closes:
https://lore.kernel.org/oe-kbuild-all/202409160223.xydgucby-...@intel.com/
Signed-off-by: Vineet Gupta
---
arch/arc/Kconfig | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/a
this does not pertain
to cmpxchg() semantics, which are plently well-defined on variables in
general, whether per-CPU or otherwise.
Reported-by: kernel test robot
Closes:
https://lore.kernel.org/oe-kbuild-all/202409251336.toc0tvwb-...@intel.com/
Signed-off-by: Paul E. McKenney
Cc:
Signed-off-
On 10/7/24 05:04, Szőke Benjamin wrote:
> 2024. 10. 05. 21:40 keltezéssel, Vineet Gupta írta:
>> On 10/5/24 06:41, Szőke Benjamin wrote:
>>> 2024. 09. 25. 10:48 keltezéssel, Shahab Vahedi írta:
>>>> +Add Vineet (with the right address)
>>>> +Up
On 10/5/24 06:41, Szőke Benjamin wrote:
> 2024. 09. 25. 10:48 keltezéssel, Shahab Vahedi írta:
>> +Add Vineet (with the right address)
>> +Update Alexey's address to business instance
>>
>> September 23, "Szőke Benjamin" wrote:
>>
>>> Long time ago i submitted a patch, when it will be reviewed? Is
On 8/31/24 23:50, Masahiro Yamada wrote:
> On Sun, Sep 1, 2024 at 8:02 AM Vineet Gupta wrote:
>>
>>
>> On 8/31/24 03:13, Masahiro Yamada wrote:
>>> On Sat, Aug 31, 2024 at 7:10 PM Masahiro Yamada
>>> wrote:
>>>> Commit abe11ddea1d7 ("
"angel4".
>>
>> Commit fd1557923b2e ("ARC: [plat_arcfpga]->[plat_sim]") changed it
>> from "angel4" to "nsim_70".
>
> A typo.
>
> ... to "nsim_700".
>
>
>> Signed-off-by: Masahiro Yamada
Acked-by: Vineet Gupta
Thx
On 8/5/24 21:28, Paul E. McKenney wrote:
> On Mon, Aug 05, 2024 at 06:27:57PM -0700, Vineet Gupta wrote:
>> Hi Paul,
>>
>> On 8/5/24 12:21, Paul E. McKenney wrote:
>>> Use the new cmpxchg_emu_u8() to emulate one-byte cmpxchg() on arc.
>>>
>>> [
k. ]
>
> Signed-off-by: Paul E. McKenney
> Cc: Vineet Gupta
> Cc: Andi Shyti
> Cc: Andrzej Hajda
> Cc: Arnd Bergmann
> Cc: Palmer Dabbelt
> Cc:
> ---
> arch/arc/Kconfig | 1 +
> arch/arc/include/asm/cmpxchg.h | 33 -
IPT aliasing assumption
- Miscll build warning fixes and some typos
Alexey Brodkin (1):
ARC: [plat-hsdk]: Remove misplaced interrupt-cells property
Bjorn Helgaas (1):
ARC: Fix typos
Vineet Gupta (2):
ARC:
On 3/29/24 15:14, Bjorn Helgaas wrote:
> From: Bjorn Helgaas
>
> Fix typos, most reported by "codespell arch/arc". Only touches comments,
> no code changes.
>
> Signed-off-by: Bjorn Helgaas
Added to ARC for-curr.
Thx,
-Vineet
___
linux-snps-arc mai
On 1/4/24 11:02, Bjorn Helgaas wrote:
>>> diff --git a/arch/arc/kernel/signal.c b/arch/arc/kernel/signal.c
>>> index 0b3bb529d246..5414d9f5c40c 100644
>>> --- a/arch/arc/kernel/signal.c
>>> +++ b/arch/arc/kernel/signal.c
>>> @@ -9,7 +9,7 @@
>>> * vineetg: Nov 2009 (Everything needed for TIF_RE
c
Thx,
-Vineet
>
> Thanks for the pointer.
>
> -Alexey
> --------
> *From:* Vineet Gupta
> *Sent:* Thursday, March 28, 2024 5:15 AM
> *To:* Alexey Brodkin ; arcml
>
> *Subject:* recent kernel warning
&g
On 3/28/24 06:57, Mathieu Desnoyers wrote:
> On 2024-03-28 01:39, Vineet Gupta wrote:
>> Manual/partial revert of 8690bbcf3b70 ("Introduce cpu_dcache_is_aliasing()
>> across all architectures")
>>
>> Current generation of ARCv2/ARCv3 based HSxx cores a
On 3/25/24 23:39, Naresh Kamboju wrote:
> The following arc defconfig build warnings / errors noticed on today's
> Linux next-20240326 tag.
>
> Regressions:
> * arc - defconfig - gcc-9 build failed.
>
> Reported-by: Linux Kernel Functional Testing
>
> Build log:
> -
> arch/arc/kerne
totype for
'syscall_trace_enter' [-Wmissing-prototypes]
| 342 | asmlinkage int syscall_trace_enter(struct pt_regs *regs)
Link:
https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20240325/testrun/23149630/suite/build/test/gcc-9-defconfig/log
Reported-by: Linux Kernel Functional Testing
Signed-
Some fixlets for ARC.
Vineet Gupta (2):
ARC: Fix -Wmissing-prototypes warnings
ARC: mm: fix new code about cache aliasing
arch/arc/Kconfig | 1 -
arch/arc/include/asm/cachetype.h | 9 -
arch/arc/include/asm/ptrace.h| 2 +-
arch/arc/kernel/kprobes.c| 7
s-arc/2023-February/006899.html
Cc: Mathieu Desnoyers
Signed-off-by: Vineet Gupta
---
arch/arc/Kconfig | 1 -
arch/arc/include/asm/cachetype.h | 9 -
2 files changed, 10 deletions(-)
delete mode 100644 arch/arc/include/asm/cachetype.h
diff --git a/arch/arc/Kconfig b/arch/a
Alexey,
Can you have someone look at the following kernel warning:
DTC arch/arc/boot/dts/hsdk.dtb
../arch/arc/boot/dts/hsdk.dts:207.23-235.5: Warning
(interrupt_provider): /soc/ethernet@8000: '#interrupt-cells' found, but
node is not an interrupt provider
arch/arc/boot/dts/hsdk.dtb: Warning
t; This will zero any unspecified members. Move the field initializers to the
> struct declaration when they are known at that time. Leave the fields out
> that were manually initialized to zero, as this would be redundant for
> designated initializers.
>
> Signed-off-by: Rick Edgecom
+CC Bjorn
On 2/13/24 18:39, Alexei Starovoitov wrote:
> On Tue, Feb 13, 2024 at 5:20 AM Shahab Vahedi wrote:
>> From: Shahab Vahedi
>>
>> This will add eBPF JIT support to the 32-bit ARCv2 processors. The
>> implementation is qualified by running the BPF tests on a Synopsys HSDK
>> board with "A
for hugetlb, sparse and smatch fixes
- Removal of VIPT aliasing cache code
Pavel Kozlov (1):
ARC: add hugetlb definitions
Vineet Gupta (5):
ARC: entry: SAVE_ABI_CALLEE_REG: ISA/ABI specific helper
ARC: entry: m
On 12/13/23 07:07, Pavel Kozlov wrote:
> From: Pavel Kozlov
>
> Add hugetlb definitions if THP enabled. ARC doesn't support
> HugeTLB FS but it supports THP. Some kernel code such as pagemap
> uses hugetlb definitions with THP.
>
> This patch fixes ARC build issue (HPAGE_SIZE undeclared error)
On 11/27/23 22:22, Dan Carpenter wrote:
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
> master
> head: 2cc14f52aeb78ce3f29677c2de1f06c0e91471ab
> commit: fad84e39f116035ae8d550c6020107b8ac113b45 ARC: boot log: eliminate
> struct cpuinfo_arc #4: boot log per ISA
>
- PUSHAUX/POPAUX helpers to ARCompact entry
- use gas provided "push"/pop pseudo instructions
Signed-off-by: Vineet Gupta
---
arch/arc/include/asm/entry-compact.h | 55 ++-
arch/arc/include/asm/entry.h | 66
2 files c
Reported-by: kernel test robot
Reported-by: Dan Carpenter
Closes: https://lore.kernel.org/r/202311280906.vaiweaft-...@intel.com/
Signed-off-by: Vineet Gupta
---
arch/arc/kernel/setup.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/arch/arc/kernel/setup.c b/arch/arc
we can let it RIP.
Cc: Matthew Wilcox (Oracle)
Signed-off-by: Vineet Gupta
---
arch/arc/Kconfig | 5 --
arch/arc/include/asm/cacheflush.h | 43 --
arch/arc/mm/cache.c | 136 ++
arch/arc/mm/mmap.c| 21
Hi,
A pile of accrued changes, compile tested only.
Please test.
Thx,
-Vineet
Vineet Gupta (5):
ARC: entry: SAVE_ABI_CALLEE_REG: ISA/ABI specific helper
ARC: entry: move ARCompact specific bits out of entry.h
ARC: mm: retire support for aliasing VIPT D$
ARC: fix spare error
ARC: fix
Reported-by: kernel test robot
Closes:
https://lore.kernel.org/oe-kbuild-all/202312082320.vdn5a9hb-...@intel.com/
Signed-off-by: Vineet Gupta
---
arch/arc/kernel/signal.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/arc/kernel/signal.c b/arch/arc/kernel
/LEAVE_S to reduce code size
For ARCv3 ABI changed so callee regs are now r14-r26 (vs. r13-r25)
thus would need a different implementation.
Signed-off-by: Vineet Gupta
---
arch/arc/include/asm/entry-arcv2.h | 32
arch/arc/include/asm/entry-compact.h | 32
On 10/29/23 20:41, wuqiang.matt wrote:
arch_cmpxchg_relaxed:
...
switch(sizeof((_p_))) {
case 4:
arch_cmpxchg:
...
BUILD_BUG_ON(sizeof(_p_) != 4);
...
_p is the address pointer, so I'm thinking it's a typo but I couldn't
yet confirm. There is not much about arc
On 10/28/23 20:26, Masami Hiramatsu (Google) wrote:
On Sun, 29 Oct 2023 00:40:17 +0800
"wuqiang.matt" wrote:
On 2023/10/28 20:49, Masami Hiramatsu (Google) wrote:
Hi Wuqiang,
On Thu, 26 Oct 2023 19:05:51 +0800
"wuqiang.matt" wrote:
On 2023/10/26 16:46, Arnd Bergmann wrote:
On Thu, Oct
ter (vs. r25)
- Miscll rework of entry code
Pavel Kozlov (1):
ARC: atomics: Add compiler barrier to atomic operations...
Rob Herring (1):
arc: Explicitly include correct DT includes
Vineet Gupta (22):
ARC: -Wmiss
On 8/23/23 10:00, Rob Herring wrote:
On Fri, Jul 14, 2023 at 11:39:49AM -0600, Rob Herring wrote:
The DT of_device.h and of_platform.h date back to the separate
of_platform_bus_type before it as merged into the regular platform bus.
As part of that merge prepping Arm DT support 13 years ago,
te code by moving #2, #3, #4 into #1.
The exceptions to most exceptions are syscall Trap and Machine check
which don't do some of above for various reasons, so call a newly
introduced variant EXCEPTION_PROLOGUE_KEEP_AE (same as original
EXCEPTION_PROLOGUE)
Tested-by: Pavel Kozlov
Signed-off-b
On 8/18/23 05:56, pavel.koz...@synopsys.com wrote:
Hi Vineet,
Subject: [PATCH 16/20] ARC: entry: Add more common chores to
EXCEPTION_PROLOGUE
THe high level structure of most ARC exception handlers is
1. save regfile with EXCEPTION_PROLOGUE
2. setup r0: EFA (not part of pt_regs)
On 8/17/23 05:09, pavel.koz...@synopsys.com wrote:
Hi Vineet,
I'm testing your updates and ran into the same build issue reported by the build
robot.
http://lists.infradead.org/pipermail/linux-snps-arc/2023-August/007522.html
#define MAX_REG_OFFSET offsetof(struct pt_regs, event)
This chang
Reduces duplication in each ISA specific pt_regs
Tested-by: kernel test robot
Closes:
https://lore.kernel.org/oe-kbuild-all/202308151342.roq9urvv-...@intel.com
Signed-off-by: Vineet Gupta
---
arch/arc/include/asm/ptrace.h | 47 +-
arch/arc/kernel/asm-offsets.c
- boot log now clearly per ISA
- global struct cpuinfo_arc[] elimiated
- local struct struct arcinfo kept for passing info
between functions
Tested-by: kernel test robot
Closes:
https://lore.kernel.org/oe-kbuild-all/202308162101.ve5jbg80-...@intel.com
Signed-off-by: Vineet Gupta
s
- folds read_decode_mmu_bcr() into arc_mmu_mumbojumbo()
- setup_processor() directly calls arc_mmu_init() and not via
arc_cpu_init()
Tested-by: kernel test robot
Closes:
https://lore.kernel.org/oe-kbuild-all/202308151213.qkzpmiyz-...@intel.com/
Signed-off-by: Vineet Gupta
---
arch/arc/include/asm/arcr
+CC Alexey and Claudiu
On 8/15/23 09:35, Paul E. McKenney wrote:
On Tue, Aug 15, 2023 at 07:34:04AM +, Liu, Yujie wrote:
Hi Paul,
On Fri, 2023-08-11 at 08:41 -0700, Paul E. McKenney wrote:
On Fri, Aug 11, 2023 at 01:02:12PM +0800, kernel test robot wrote:
tree: https://git.kernel.org/p
Link:https://github.com/foss-for-synopsys-dwc-arc-processors/linux/issues/135
Cc: # v6.3+
Signed-off-by: Pavel Kozlov
Acked-by: Vineet Gupta
Fixes: b64be6836993c431e ("ARC: atomics: implement relaxed variants")
Before that commit, atomic ops could elide memory clobber because
r12,[sp,20]
7e4: 226a 1340 lr r10,[aux_user_sp]
7e8: 22ca 1702 mov.ne r10,sp
7ec: 22d5 1722 add2.ne r10,r10,0x1c
Signed-off-by: Vineet Gupta
---
arch/arc/include/asm/entry-arcv2.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion
Signed-off-by: Vineet Gupta
---
arch/arc/kernel/entry-compact.S | 6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/arch/arc/kernel/entry-compact.S b/arch/arc/kernel/entry-compact.S
index 5cb0cd7e4eab..77f0090554c5 100644
--- a/arch/arc/kernel/entry-compact.S
+++ b/arch/arc
- boot log now clearly per ISA
- global struct cpuinfo_arc[] elimiated
- local struct struct arcinfo kept for passing info
between functions
Signed-off-by: Vineet Gupta
---
arch/arc/include/asm/arcregs.h | 33 +-
arch/arc/include/asm/setup.h | 4 +-
arch/arc/kernel/setup.c
Reduces duplication in each ISA specific pt_regs
Signed-off-by: Vineet Gupta
---
arch/arc/include/asm/ptrace.h | 45 +-
arch/arc/kernel/asm-offsets.c | 2 +-
arch/arc/kernel/kgdb.c | 2 +-
arch/arc/kernel/ptrace.c | 4 +--
arch/arc/kernel
s
- folds read_decode_mmu_bcr() into arc_mmu_mumbojumbo()
- setup_processor() directly calls arc_mmu_init() and not via
arc_cpu_init()
Signed-off-by: Vineet Gupta
---
arch/arc/include/asm/arcregs.h | 27 +++---
arch/arc/include/asm/setup.h | 1 -
arch/arc/kernel/setup.c| 4 +-
arch/ar
r9,r9,0x5
858: 214f 17c9 bsetr9,r9,0x1f
85c: 2029 8240 kflag r9
Signed-off-by: Vineet Gupta
---
arch/arc/include/asm/entry-arcv2.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arc/include/asm/entry-arcv2.h
b/arch/arc/include
- comments update
- rename syscall_trace_entry
- use PT_xxx in entry code
Signed-off-by: Vineet Gupta
---
arch/arc/include/asm/entry-arcv2.h | 23 --
arch/arc/include/asm/entry-compact.h | 3 +-
arch/arc/include/asm/ptrace.h| 2 +-
arch/arc/kernel/asm-offsets.c
Instead of r26,fp,sp,r12,r30 order as fp,r30,r12,r26,sp
- keeps SP at well known position (right abive hardware autosave)
- r26,r12 saved specifically for ARCv2 (and not in ARCv3) kept
closer for easy ifdef'ry later
Signed-off-by: Vineet Gupta
---
arch/arc/include/asm/entry-arcv2.h
Hi,
This is a pile of miscll improvements/updates sitting in one of my local trees.
Given the recent warning fix, we coudl also push them out.
@Alexey, @Shahab: care to give these a spin on hsdk (and test ARC700 build/boot
on nSIM if possible).
Thx,
-Vineet
Vineet Gupta (20):
ARC: uaccess
significantly and much nocer on eyes:
- SAVE_CALLEE_SAVED_{USER,KERNEL} are now exactly same
- no special user_r25 slot in pt_reggs
Note that typical global asm registers are callee-saved (r25), but gp is
not callee-saved thus needs additional -ffixed- toggle
Signed-off-by: Vineet Gupta
---
arch/arc
Signed-off-by: Vineet Gupta
---
arch/arc/kernel/entry.S | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/arch/arc/kernel/entry.S b/arch/arc/kernel/entry.S
index f291fc8476d7..46582fbebcf2 100644
--- a/arch/arc/kernel/entry.S
+++ b/arch/arc/kernel/entry.S
@@ -95,16 +95,15
Signed-off-by: Vineet Gupta
---
arch/arc/include/asm/arcregs.h | 2 --
arch/arc/kernel/mcip.c | 2 --
2 files changed, 4 deletions(-)
diff --git a/arch/arc/include/asm/arcregs.h b/arch/arc/include/asm/arcregs.h
index cb1ad1bb4ece..160ee3fab1bd 100644
--- a/arch/arc/include/asm/arcregs.h
dwarf info was missing.
Now with modern tools, we can make things more obvious by writing the
code in asm and adding approproate dwarf cfi pseudo ops.
This is mostly non functional change, except for slight chnages to asm
- ARCompact doesn't support MOV_S fp, sp, so we use MOV
Signed-
te code by moving #2, #3, #4 into #1.
The exceptions to most exceptions are syscall Trap and Machine check
which don't do some of above for various reasons, so call a newly
introduced variant EXCEPTION_PROLOGUE_KEEP_AE (same as original
EXCEPTION_PROLOGUE)
Signed-off-by: Vineet Gupta
---
arch/
Signed-off-by: Vineet Gupta
---
arch/arc/include/asm/arcregs.h | 37 ++-
arch/arc/include/asm/setup.h | 1 -
arch/arc/kernel/setup.c| 3 +-
arch/arc/mm/cache.c| 171 -
4 files changed, 97 insertions(+), 115 deletions(-)
diff --git a
This avoids potential "bleeding" when size == 0 as cache line would be
dirtied (and possibly fetched from other cores) and due to the same
reaons more optimal too.
Signed-off-by: Vineet Gupta
---
arch/arc/lib/memset-archs.S | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
di
Signed-off-by: Vineet Gupta
---
arch/arc/include/asm/uaccess.h | 10 ++
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/arch/arc/include/asm/uaccess.h b/arch/arc/include/asm/uaccess.h
index d2da159bb80a..1e8809ea000a 100644
--- a/arch/arc/include/asm/uaccess.h
+++ b/arch
and we can see the 2
ways of retirving ksp (descrobed above) in new code.
Signed-off-by: Vineet Gupta
---
arch/arc/include/asm/processor.h | 3 +--
arch/arc/include/asm/thread_info.h | 10 +-
arch/arc/kernel/asm-offsets.c | 2 +-
arch/arc/kernel/ctx_sw_asm.S | 22 ++--
The existing ARC variants have 2 issues
- Use ZOL which may not be present in forthcoming architecture
- Byte loop based vs. generic version which is word loop based
Signed-off-by: Vineet Gupta
---
arch/arc/Kconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arc/Kconfig b/arch
value on first call to
__switch_to when init is switched out for the very first time.
- generic code already does
init_task.stack = init_stack
and ARC code uses that to retrieve task's stack base.
Signed-off-by: Vineet Gupta
---
arch/arc/include/asm/processor.h | 4 +---
1 file ch
Everything is now out-of-line in lib/usercopy.c
Signed-off-by: Vineet Gupta
---
arch/arc/include/asm/uaccess.h | 11 ++-
arch/arc/mm/extable.c | 11 ---
2 files changed, 2 insertions(+), 20 deletions(-)
diff --git a/arch/arc/include/asm/uaccess.h b/arch/arc/include/asm
On 8/13/23 12:18, Arnd Bergmann wrote:
On Sun, Aug 13, 2023, at 21:16, Vineet Gupta wrote:
Anrd reported [1] new compiler warnings due to -Wmissing-protype.
These are for non static functions mostly used in asm code hence not
exported already. Fix this by adding the prototypes.
[1] https
On 8/14/23 12:38, Andrew Morton wrote:
On Sun, 13 Aug 2023 12:25:43 -0700 Vineet Gupta wrote:
Legacy ARC700 processors (first generation of MMU enabled ARC cores) has
VIPT cached which could be configured such that they could alias.
I added the VIPT aliasing support, with all the cache
maintenance burden of that unneeded code.
This also helps streamline support for new features such as generic folio
work.
Signed-off-by: Vineet Gupta
---
arch/arc/Kconfig | 5 --
arch/arc/include/asm/cacheflush.h | 43 --
arch/arc/mm/cache.c | 125
Anrd reported [1] new compiler warnings due to -Wmissing-protype.
These are for non static functions mostly used in asm code hence not
exported already. Fix this by adding the prototypes.
[1] https://lore.kernel.org/lkml/20230810141947.1236730-1-a...@kernel.org
Signed-off-by: Vineet Gupta
On 8/10/23 19:33, Guo Ren wrote:
Thx, Arnd, I will clean them up for the csky part.
Likewise, I'll clean up ARC errors this weekend !
It seems most of therm are in the category you mentioned. Non static but
only used by asm code.
Thx,
-Vineet
__
iewed-by: Vineet Gupta
Shahab can you give this a spin on hsdk - run glibc testsuite over ssh
and make sure nothing strange happens.
Thx,
-Vineet
___
linux-snps-arc mailing list
linux-snps-arc@lists.infradead.org
http://lists.infradead.org/mailman/lis
were cleaned). Enhance the internal flush routines to take the
number of pages to flush.
Signed-off-by: Matthew Wilcox (Oracle)
Cc: Vineet Gupta
Cc: linux-snps-arc@lists.infradead.org
---
arch/arc/include/asm/cacheflush.h | 7 +-
arch/arc/include/asm/pgtable-bits-arcv2.h | 20 +++--
arc
On 2/10/23 09:06, Matthew Wilcox wrote:
I see a discrepancy here ...
arch/arc/include/asm/shmparam.h:
/* Handle upto 2 cache bins */
#define SHMLBA (2 * PAGE_SIZE)
arch/arc/include/asm/cacheflush.h:
#define CACHE_COLORS_NUM4
The initial aliasing dcache support assumed 2 colors but wa
Hi Carlos,
I'd like to introduce Pavel who intends to step up to maintain ARC glibc
port and do periodic wiki updates and such.
I've pointed him to links [1] and [2].
To begin with can he be granted wiki edit access and subsequently also
approve his write access to glibc sourceware repo.
Th
On 1/8/23 11:04, Christophe JAILLET wrote:
In an attempt to simplify some includes in , it
appeared, when compiling fs/ecryptfs/dentry.c, that
was relying on other includes to get the definition of cpu_relax().
(see [1])
It broke on arc.
It its just ARC that broke, maybe we can do something
On 11/27/22 09:38, Shahab Vahedi via Libc-alpha wrote:
While porting ARCv2 to elfutils [1], it was brought up that the
necessary changes to the project's libelf/elf.h must come from
glibc, because they sync it from glibc [2]. Therefore, this patch
is to update ARC entries in elf/elf.h.
The majo
On 11/27/22 10:21, Florian Weimer via Libc-alpha wrote:
* Shahab Vahedi:
From the tests point of view, this is a necessary step for another
patch [1] and allows parsing macros such as "#define A | B". Without
it, a few tests [2] choke when the other patch [1] is applied:
/src/glibc/scripts/.
On 11/21/22 06:30, Adhemerval Zanella Netto wrote:
On 21/11/22 10:06, Shahab Vahedi via Libc-alpha wrote:
While porting ARCv2 to elfutils [1], it was brought up that the
necessary changes to the project's libelf/elf.h must come from
glibc, because they sync it from glibc [2]. Therefore, this
On 11/18/22 05:15, Shahab Vahedi wrote:
While porting ARCv2 to elfutils [1], it was brought up that the
necessary changes to the project's libelf/elf.h must come from
glibc, because they sync it from glibc [2]. Therefore, this patch
is to update ARC entries in elf/elf.h.
The majority of the u
Hi Linus,
Please pull some fixes for ARC.
Thx,
-Vineet
->
The following changes since commit 9abf2313adc1ca1b6180c508c25f22f9395cc780:
Linux 6.1-rc1 (2022-10-16 15:36:24 -0700)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/vgupta/arc
or just oom.
Fixes: d9820ff76f95 ("ARC: mm: switch pgtable_t back to struct page *")
Signed-off-by: Pavel Kozlov
Cc: Vineet Gupta
Cc: Mike Rapoport
Cc: # 4.15.x
You meant 5.15.x
Added to for-curr.
Thx,
-Vineet
---
arch/arc/include/asm/pgtable-levels.h | 2 +-
1 file changed
On 9/29/22 03:14, Lukas Bulwahn wrote:
Clean up config files by:
- removing configs that were deleted in the past
- removing configs not in tree and without recently pending patches
- adding new configs that are replacements for old configs in the file
For some detailed information,
On 8/8/22 06:09, Helge Deller wrote:
The process program name and command line is now shown in generic code
in dump_stack_print_info(), so drop the arc-specific implementation.
Signed-off-by: Helge Deller
But that info printing was added back in 2018 by e36df28f532f882.
I don't think arc is u
/drivers/video/fbdev/riva/fbdev.c:2067:42: 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 Ma
On 7/5/22 23:49, Dan Carpenter wrote:
[ trimmed massive CC list (see below) ]
What's going on with all the arch/arc build breakage on linux-next?
regards,
dan carpenter
To: kernel test robot
Cc: Andrew Morton ,
virtualizat...@lists.linux-foundation.org,
usbb2k-api-...@nongn
On 6/24/22 07:16, Serge Semin wrote:
In accordance with the Generic EHCI/OHCI bindings the corresponding node
name is suppose to comply with the Generic USB HCD DT schema, which
requires the USB nodes to have the name acceptable by the regexp:
"^usb(@.*)?" . Make sure the "generic-ehci" and "g
On 6/23/22 00:56, Bagas Sanjaya wrote:
In an ideal world yes. But sometimes maintainer complain to break whitespacxe
fixes and such into independent fix. Also as someone said later in the thread,
for somebody just getting into kernel and figuring out patch submission etc
this could be a perfec
On 6/22/22 00:52, Jilin Yuan wrote:
Delete the redundant word 'call'.
Signed-off-by: Jilin Yuan
---
arch/arc/kernel/smp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arc/kernel/smp.c b/arch/arc/kernel/smp.c
index d947473f1e6d..6c22a53711e9 100644
--- a/arch/ar
On 6/22/22 01:30, Bagas Sanjaya wrote:
- * If the U-mapping is not congruent to to K-mapping, former needs flushing.
+ * If the U-mapping is not congruent to K-mapping, former needs flushing.
*/
void flush_dcache_page(struct page *page)
{
The patch is OK, but its subject is wrong.
Ri
On 5/7/22 20:02, Jason Wang wrote:
Remove one of the repeated 'call' in comment line 396.
Signed-off-by: Jason Wang
Thx for the fix. Added to for-curr
-Vineet
___
linux-snps-arc mailing list
linux-snps-arc@lists.infradead.org
http://lists.infrad
On 6/3/22 06:01, Xiang wangx wrote:
Delete the redundant word 'to'.
Delete the redundant word 'since'.
Signed-off-by: Xiang wangx
Thx for the fix. Added to for-curr
-Vineet
___
linux-snps-arc mailing list
linux-snps-arc@lists.infradead.org
http
Hi,
On 5/25/22 07:48, Amadeusz Sławiński wrote:
As per asm-generic definition and other architectures __fls should
return unsigned long.
No functional change is expected as return value should fit in unsigned
long.
Signed-off-by: Amadeusz Sławiński
Applied to for-curr.
Thx,
-Vineet
___
ult to be accounted, unlike VM_FAULT_RETRY.
I explicitly didn't touch hmm_vma_fault() and break_ksm() because they do
not handle VM_FAULT_RETRY even with existing code, so I'm literally keeping
them as-is.
Signed-off-by: Peter Xu
---
v3:
- Rebase to akpm/mm-unstable
- Copy arch maintainers
---
Hi Linus,
Please pull.
Thx,
-Vineet
--->
The following changes since commit af2d861d4cd2a4da5137f795ee3509e6f944a25b:
Linux 5.18-rc4 (2022-04-24 14:51:22 -0700)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/vgupta/arc.git/
tags/arc-5.19
On 4/26/22 00:31, Sergey Matyukevich wrote:
I have just sent a fixup for this snafu:
https://lore.kernel.org/linux-snps-arc/20220426072447.125975-1-geoma...@gmail.com/T/#u
IIUC, you have not yet sent a pull-request for next release. So probably
it makes sense to squash this commit with b08a66fb6
Hi Linus,
Please pull.
Thx,
-Vineet
->
The following changes since commit ce522ba9ef7e2d9fb22a39eb3371c0c64e2a433e:
Linux 5.18-rc2 (2022-04-10 14:21:36 -1000)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/vgupta/arc.git/
tags/arc-5.
On 2/22/22 06:05, Sergey Matyukevich wrote:
From: Sergey Matyukevich
Remove redundant c_op macro argument. Only asm_op is needed
to define atomic operations using llock/scond.
Signed-off-by: Sergey Matyukevich
Applied.
Thx,
-Vineet
___
linux-sn
On 3/28/22 01:15, Rolf Eike Beer wrote:
They were in and have been removed from there in
974b9b2c68f ("mm: consolidate pte_index() and pte_offset_*() definitions")
in favor of the generic version. But that missed that the same definitons
also existed in , where they were (inadvertently?)
intr
1 - 100 of 1965 matches
Mail list logo