linux-mips/CAG_fn=W0JHf8QyUX==+rqmp8poulhrsqca9htffws31ga8k...@mail.gmail.com/
Signed-off-by: Tiezhu Yang
---
arch/mips/include/asm/checksum.h | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
applied to mips-next.
This is in a performance-critical path (otherwise it wouldn't
athan said, the config
should not even be selectable when build kernel with Clang, so
just make MIPS32_O32 depends on !CC_IS_CLANG.
[1] https://www.kernel.org/doc/html/latest/kbuild/llvm.html
[2] https://bugs.llvm.org/show_bug.cgi?id=38063
Signed-off-by: Tiezhu Yang
---
arch/mips/Kconfig | 2
On 03/02/2021 06:01 PM, Ben Dooks wrote:
On 02/03/2021 07:28, Tiezhu Yang wrote:
copy_to_user() returns the amount left to copy, it should return -EFAULT
if copy to user failed.
This looks technically correct, but the caller (only one)
will check for non-zero and will covert that to -EFAULT
athan said, the config
should not even be selectable when building with Clang, so
just make MIPS32_O32 depends on !CC_IS_CLANG.
[1] https://www.kernel.org/doc/html/latest/kbuild/llvm.html
[2] https://bugs.llvm.org/show_bug.cgi?id=38063
Signed-off-by: Tiezhu Yang
Acked-by: Nathan Chancellor
---
configs in loongson3_defconfig to make sure
the above configs are set after make loongson3_defconfig.
[1] https://github.com/iovisor/bpftrace/blob/master/INSTALL.md
Signed-off-by: Tiezhu Yang
---
arch/mips/configs/loongson3_defconfig | 7 ++-
1 file changed, 6 insertions(+), 1 deletion
can build successfully by both GCC and Clang,
at the same time, we can avoid the potential performance influence
with GCC.
Signed-off-by: Tiezhu Yang
---
arch/mips/include/asm/checksum.h | 10 ++
1 file changed, 10 insertions(+)
diff --git a/arch/mips/include/asm/checksum.h b/arch/mips/i
On 03/09/2021 12:52 AM, David Laight wrote:
From: Tiezhu Yang
Sent: 08 March 2021 12:50
The asm code in csum_tcpudp_nofold() is performance-critical, I am sorry
for the poorly considered implementation about the performance influence
with GCC in the commit 198688edbf77 ("MIPS: Fix inlin
can build successfully by both GCC and Clang,
at the same time, we can avoid the potential performance influence
with GCC.
Signed-off-by: Tiezhu Yang
---
arch/mips/include/asm/checksum.h | 12
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/arch/mips/include/asm/checksu
(1) tools/bpf/bpftool build failed due to the following reason:
Error: failed to load BTF from /boot/vmlinux-5.12.0-rc2: No such file or
directory
make: *** [Makefile:158: vmlinux.h] Error 2
(2) When set CONFIG_DEBUG_INFO_BTF=y, failed to generate BTF for vmlinux
due to pahole is not
On 04/12/2021 11:02 AM, Tiezhu Yang wrote:
On 04/11/2021 07:04 PM, Jinyang He wrote:
Commit 04324f44cb69 ("MIPS: Remove get_fs/set_fs") brought a problem for
strnlen_user(). Jump out when checking access_ok() with condition that
(s + strlen(s)) < __UA_LIMIT <=
On 04/11/2021 07:04 PM, Jinyang He wrote:
Commit 04324f44cb69 ("MIPS: Remove get_fs/set_fs") brought a problem for
strnlen_user(). Jump out when checking access_ok() with condition that
(s + strlen(s)) < __UA_LIMIT <= (s + n). The old __strnlen_user_asm()
just checked (ua_limit & s) without
g/doc/html/latest/bpf/bpf_devel_QA.html
Fixes: 542228384888 ("bpf, doc: convert bpf_devel_QA.rst to use RST formatting")
Signed-off-by: Tiezhu Yang
---
v2: Add Fixes: tag
Documentation/bpf/bpf_devel_QA.rst | 23 ++-
1 file changed, 10 insertions(+), 13 deletions(-)
d
_module() failure disappered and we can login
normally through a graphical interface.
[1] https://lore.kernel.org/patchwork/patch/1411214/
Signed-off-by: Tiezhu Yang
---
v2: Update the commit message to avoid using diff content - patch(1) might not
work
kernel/module.c | 2 +-
1 file changed, 1 ins
and we can login
normally through a graphical interface.
[1] https://lore.kernel.org/patchwork/patch/1411214/
Signed-off-by: Tiezhu Yang
---
kernel/module.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/module.c b/kernel/module.c
index 3047935..30d320b 100644
--- a/ker
t remove the links of
"samples/bpf/" and "selftests" because there are not related
documentations.
[1] https://www.kernel.org/doc/html/MAINTAINERS
[2] https://www.kernel.org/doc/html/samples/bpf/
[3] https://www.kernel.org/doc/html/tools/testing/selftests/bpf/
[4] https://
From: Tiezhu Yang
In the current code, arch_has_single_step() is not defined on MIPS,
that means MIPS does not support instruction single-step for user mode.
Delve is a debugger for the Go programming language, the ptrace syscall
PtraceSingleStep() failed [1] on MIPS and then the single step
On 02/04/2021 11:35 AM, Tiezhu Yang wrote:
v2: add R26 and R27 to the enum perf_event_mips_regs in patch #1
Tiezhu Yang (3):
MIPS: kernel: Support extracting off-line stack traces from user-space
with perf
perf tools: Support mips unwinding and dwarf-regs
perf tools: Generate mips
Commit-ID: 53b7607382b0b99d6ae1ef5b1b0fa042b00ac7f4
Gitweb: https://git.kernel.org/tip/53b7607382b0b99d6ae1ef5b1b0fa042b00ac7f4
Author: Tiezhu Yang
AuthorDate: Mon, 24 Jun 2019 12:41:18 +0800
Committer: Thomas Gleixner
CommitDate: Wed, 26 Jun 2019 16:02:45 +0200
x86/kexec: Make
501 - 518 of 518 matches
Mail list logo