Re: [PATCH 1/2] ARC: atomic: cleanup atomic-llsc definitions

2022-04-18 Thread Vineet Gupta
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 ___

Re: [PATCH] arc: drop definitions of pgd_index() and pgd_offset{, _k}() entirely

2022-04-18 Thread Vineet Gupta
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?)

Re: [PATCH] ARC: dts: align SPI NOR node name with dtschema

2022-04-18 Thread Vineet Gupta
On 4/7/22 07:33, Krzysztof Kozlowski wrote: The node names should be generic and SPI NOR dtschema expects "flash". Signed-off-by: Krzysztof Kozlowski Applied. Thx, -Vineet ___ linux-snps-arc mailing list linux-snps-arc@lists.infradead.org

Re: [PATCH] ARC: Remove a redundant memset()

2022-04-18 Thread Vineet Gupta
On 3/22/22 12:49, Christophe JAILLET wrote: disasm_instr() already call memset(0) on its 2nd argument, so there is no need to clear it explicitly before calling this function. Remove the redundant memset(). Signed-off-by: Christophe JAILLET Applied. Thx, -Vineet

Re: [PATCH] ARC: fix typos in comments

2022-04-18 Thread Vineet Gupta
On 3/18/22 03:37, Julia Lawall wrote: Various spelling mistakes in comments. Detected with the help of Coccinelle. Signed-off-by: Julia Lawall Applied. Thx, -Vineet ___ linux-snps-arc mailing list linux-snps-arc@lists.infradead.org

Re: [PATCH] ARC: remove redundant READ_ONCE() in cmpxchg loop

2022-04-18 Thread Vineet Gupta
On 3/18/22 19:03, Bang Li wrote: This patch reverts commit 7082a29c22ac ("ARC: use ACCESS_ONCE in cmpxchg loop"). It is not necessary to use READ_ONCE() because cmpxchg contains barrier. We can get it from commit d57f727264f1 ("ARC: add compiler barrier to LLSC based cmpxchg").

Re: [PATCH v2 2/4] ARC: entry: fix syscall_trace_exit argument

2022-04-18 Thread Vineet Gupta
On 4/14/22 01:17, Sergey Matyukevich wrote: From: Sergey Matyukevich Function syscall_trace_exit expects pointer to pt_regs. However r0 is also used to keep syscall return value. Restore pointer to pt_regs before calling syscall_trace_exit. Signed-off-by: Sergey Matyukevich This is

Re: [PATCH v2 0/4] ARC: add missing bits for better BPF support

2022-04-18 Thread Vineet Gupta
On 4/14/22 01:17, Sergey Matyukevich wrote: Hi Vineet and all, Here is the second revision of the patch series implementing the following two features for ARC: - HAVE_REGS_AND_STACK_ACCESS_API - HAVE_SYSCALL_TRACEPOINTS Adding these features enables more BPF programs for ARC kernels,