ree wide.
> 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-
d kprobe_ftrace_handler(unsigned long ip, unsigned long
> parent_ip,
> struct kprobe_ctlblk *kcb;
> struct pt_regs *regs;
>
> + if (unlikely(kprobe_ftrace_disabled))
> + return;
> +
For csky part.
Acked-by: Guo Ren
> bit = ftrace_test_recu
gt; Signed-off-by: Yujie Liu
> Signed-off-by: Paul E. McKenney
> Tested-by: Yujie Liu
> Cc: Guo Ren
> Cc: Arnd Bergmann
> Cc:
> ---
> arch/csky/Kconfig | 1 +
> arch/csky/include/asm/cmpxchg.h | 10 ++
> 2 files changed, 11 insertions(+)
>
> CPU out of idle, as opposed to setting TIF_NEED_RESCHED previously. This
> avoids spurious calls to schedule_idle() in cases where an IPI does not
> necessarily wake up a task on the idle CPU.
>
> Cc: Guo Ren
> Cc: "Rafael J. Wysocki"
> Cc: Daniel Lezcano
> Cc: I
assing a valid integer pointer to ftrace_graph_ret_addr()
>
> Signed-off-by: Puranjay Mohan
LGTM, Thx!
Reviewed-by: Guo Ren
> ---
> arch/csky/kernel/stacktrace.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/arch/csky/kernel/stacktrace.c b/arch/csky/kernel/
/uapi/asm/unistd.h
> @@ -6,6 +6,7 @@
> #define __ARCH_WANT_SYS_CLONE3
> #define __ARCH_WANT_SET_GET_RLIMIT
> #define __ARCH_WANT_TIME32_SYSCALLS
> +#define __ARCH_WANT_SYNC_FILE_RANGE2
For csky part.
Acked-by: Guo Ren
> #include
>
> #define __NR_set_thread_area (__NR_arch_speci
e-Identifier: GPL-2.0
> generic-y += asm-offsets.h
> generic-y += extable.h
> -generic-y += gpio.h
> generic-y += kvm_para.h
> generic-y += mcs_spinlock.h
> generic-y += qrwlock.h
> --
> 2.39.2
>
LGTM!
Acked-by: Guo Ren
--
Best Regards
Guo Ren
gt;
> #include
> -#define __NR_sync_file_range2 __NR_sync_file_range
> +
> +#define __NR_sync_file_range2 84
> +#undef __NR_sync_file_range
For csky part:
Acked-by: Guo Ren
> diff --git a/arch/hexagon/include/uapi/asm/unistd.h
> b/arch/hexagon/include/uapi/asm/unistd.
r valid.
> >
> > Signed-off-by: Arnd Bergmann
Acked-by: Guo Ren
> > ---
>
>
> Reviewed-by: Masahiro Yamada
>
>
> > arch/csky/include/asm/Kbuild | 1 -
> > 1 file changed, 1 deletion(-)
> >
> > diff --git a/arch/csky/include/asm/Kbuild b
The flag can be checked inside of vm_unmapped_area() so
> that this flag does not have to be handled individually by each
> architecture.
Acked-by: Guo Ren
Sv57's pain finds its cure in this antidote.
>
> Link:
> https://github.com/openjdk/jdk/blob/f080b4bb8a75284db1b6037f8c00ef3
traint in arch_get_mmap_end()
>
> For some reason, it appears that the arch_get_mmap_end()
> logic on RISC-V defaults to the maximum address
> space for the 'addr==0' case which is inconsistentn with
> the other architectures, so we should probably fix that
> part first, possibly moving more of that logic into a
> shared implementation.
>
> Arnd
>
--
Best Regards
Guo Ren
On Fri, Sep 6, 2024 at 7:47 PM Julian Vetter wrote:
>
> Use the generic __memcpy_{from,to}io and __memset_io for the csky
> processor architecture.
>
> Reviewed by: Yann Sionneau
> Signed-off-by: Julian Vetter
I'm okay with moving it into GENERIC_IO
Acked-by: Guo R
igned
> long)&csky_cmpxchg_ldw);
csky_cmpxchg_ldw(stw) is a label symbol, not a variable.
arch/csky/kernel/atomic.S:
GLOBAL(csky_cmpxchg_ldw)
GLOBAL(csky_cmpxchg_stw)
Your modification does not affect the ASM output.
(gdb) p main
$1 = {void (void)} 0x5fa
(gdb) p &main
$2 = (void (*)(void)) 0x5fa
> return;
> }
> #endif
> --
> 2.34.1
>
--
Best Regards
Guo Ren
Hi yang,
On Mon, Oct 21, 2024 at 3:51 PM yang li wrote:
>
> Hi Guo Ren:
> In C language, your conclusion is correct, but in assembly language,
> global_symbol != &global_symbol
> I did the following experiment:
>
> liyang@liyang-virtual-machine:~/Desktop/test$ ls
= (u8)c;
> -
> - qc |= qc << 8;
> - qc |= qc << 16;
> -
> - while (count && !IS_ALIGNED((unsigned long)dst, 4)) {
> - __raw_writeb(c, dst);
> - dst++;
> - count--;
> - }
> -
> - while (count >= 4) {
> - __raw_writel(qc, dst);
> - dst += 4;
> - count -= 4;
> - }
> -
> - while (count) {
> - __raw_writeb(c, dst);
> - dst++;
> - count--;
> - }
> -}
> -EXPORT_SYMBOL(__memset_io);
> --
> 2.34.1
>
>
>
>
>
Thx for the clean-up.
Acked-by: Guo Ren
--
Best Regards
Guo Ren
On Sun, Sep 29, 2024 at 4:17 PM Thomas Weißschuh wrote:
>
> Hi Guo Ren,
>
> it seems the values of __NR_rt_sigreturn and __NR_getppid are swapped
> between csky qemu-user and the kernel.
>
> In qemu-user [0, 1]:
> (With context to show the disconuity)
>
> #define
" : : "r" (val), "r" (addr));
}
#endif
>
> Arnd
--
Best Regards
Guo Ren
On Thu, Jan 9, 2025 at 10:36 AM Charlie Jenkins wrote:
>
> csky uses the generic syscall table, use that in perf instead of
> requiring libaudit.
>
> Signed-off-by: Charlie Jenkins
LGTM! Thx
For c-sky part.
Acked-by: Guo Ren
> ---
> tools/perf/Makefile.perf
Acked-by: Guo Ren
On Tue, May 6, 2025 at 10:22 AM Rob Herring (Arm) wrote:
>
> Convert the C-SKY gx6605s timer binding to DT schema format. It's a
> straight-forward conversion.
>
> Signed-off-by: Rob Herring (Arm)
> ---
> .../bindings/timer/csky,
Acked-by: Guo Ren
On Tue, May 6, 2025 at 10:22 AM Rob Herring (Arm) wrote:
>
> Convert the C-SKY Multi-processor timer binding to DT schema format.
> It's a straight-forward conversion.
>
> Signed-off-by: Rob Herring (Arm)
> ---
> .../bindings/timer/csky,
Move setup_initrd from mem_init into memblock_init, that LGTM.
Acked by: Guo Ren (csky)
On Fri, Mar 7, 2025 at 2:52 AM Mike Rapoport wrote:
>
> From: "Mike Rapoport (Microsoft)"
>
> Memory used by initrd should be reserved as soon as possible before
> there any memblo
| 2 +-
> > arch/riscv/kernel/vdso/Makefile | 2 +-
> > 3 files changed, 3 insertions(+), 3 deletions(-)
> >
>
> --
> Xi Ruoyao
> School of Aerospace Science and Technology, Xidian University
--
Best Regards
Guo Ren
On Wed, May 14, 2025 at 6:49 PM wrote:
>
> From: Kan Liang
>
> The throttle support has been added in the generic code. Remove
> the driver-specific throttle support.
Acked-by: Guo Ren
>
> Besides the throttle, perf_event_overflow may return true because of
> event_l
On Fri, Jun 6, 2025 at 1:31 PM Thomas Huth wrote:
>
> On 06/06/2025 04.23, Guo Ren wrote:
> > On Fri, Jun 6, 2025 at 2:28 AM Thomas Huth wrote:
> >>
> >> On 14/03/2025 08.09, Thomas Huth wrote:
> >>> While the GCC and Clang compilers already def
ed by the compilers now.
> >
> > This is a completely mechanical patch (done with a simple "sed -i"
> > statement).
> >
> > Cc: Guo Ren
> > Cc: linux-csky@vger.kernel.org
> > Signed-off-by: Thomas Huth
> > ---
> > arch/csky/abiv1/inc/
25 matches
Mail list logo