At 2016-09-27 02:57:16, "Jaegeuk Kim" wrote:
>Hi Tiezhu,
>
>On Sun, Sep 25, 2016 at 05:50:44PM +0800, Tiezhu Yang wrote:
>> There exists almost same codes when get the value of pre_version
>> and cur_version in function validate_checkpoint, this patch adds
>&g
There exists almost same codes when get the value of pre_version
and cur_version in function validate_checkpoint, this patch adds
get_checkpoint_version to clean up redundant codes.
Signed-off-by: Tiezhu Yang
---
fs/f2fs/checkpoint.c | 63 ++--
1
Hi Chao,
At 2016-09-27 17:46:30, "Chao Yu" wrote:
>On 2016/9/27 10:05, Tiezhu Yang wrote:
>> There exists almost same codes when get the value of pre_version
>> and cur_version in function validate_checkpoint, this patch adds
>> get_checkpoint_version to clean up
There exists almost same codes when get the value of pre_version
and cur_version in function validate_checkpoint, this patch adds
get_checkpoint_version to clean up redundant codes.
Signed-off-by: Tiezhu Yang
---
fs/f2fs/checkpoint.c | 68 ++--
1
The macro f2fs_check_acl is defined but never used since
the initial commit, this patch removes the code that has
been dead for several years.
Signed-off-by: Tiezhu Yang
---
fs/f2fs/acl.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/fs/f2fs/acl.h b/fs/f2fs/acl.h
index b2334d1..2c68518
On Thu, 27 Jun 2024 19:38:06 +0200
Oleg Nesterov wrote:
...
> > > +arch_initcall(check_emit_break);
> > > +
> >
> > I wouldn't even bother with this, but whatever.
>
> Agreed, this looks a bit ugly. I did this only because I can not test
> this (hopefully trivial) patch and the maintainers didn
kernel/kprobes.c and arch/loongarch/kernel/uprobes.c
Tested-by: Tiezhu Yang
Thanks,
Tiezhu
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
Use test_tsk_thread_flag() directly instead of test_ti_thread_flag() to
improve readability when the argument type is struct task_struct, it is
similar with commit 5afc78551bf5 ("arm64: Use test_tsk_thread_flag() for
checking TIF_SINGLESTEP").
Signed-off-by: Tiezhu Yang
---
arch/pari
Use test_tsk_thread_flag() directly instead of test_ti_thread_flag() to
improve readability when the argument type is struct task_struct, it is
similar with commit 5afc78551bf5 ("arm64: Use test_tsk_thread_flag() for
checking TIF_SINGLESTEP").
Signed-off-by: Tiezhu Yang
---
arch/sp
According to the error message, the first argument of ptrace() should be
PTRACE_SINGLESTEP instead of PTRACE_CONT when ptrace single step.
Fixes: f43365ee17f8 ("selftests: arm64: add test for unaligned/inexact
watchpoint handling")
Signed-off-by: Tiezhu Yang
---
tools/testing
On 2/3/21 6:40 PM, Thomas Bogendoerfer wrote:
On Mon, Feb 01, 2021 at 08:56:06PM +0800, Tiezhu Yang wrote:
On 02/01/2021 06:43 PM, Thomas Bogendoerfer wrote:
On Tue, Dec 29, 2020 at 08:55:59PM +0800, Tiezhu Yang wrote:
+++ b/arch/mips/include/uapi/asm/perf_regs.h
@@ -0,0 +1,42 @@
+/* SPDX
On 01/28/2021 05:15 AM, Thomas Bogendoerfer wrote:
On Tue, Jan 05, 2021 at 11:18:06AM +0100, Peter Zijlstra wrote:
On Tue, Jan 05, 2021 at 11:45:37AM +0800, Jiaxun Yang wrote:
在 2021/1/4 下午6:59, Peter Zijlstra 写道:
On Tue, Dec 29, 2020 at 08:55:59PM +0800, Tiezhu Yang wrote:
+u64 perf_reg_abi
On 02/01/2021 06:43 PM, Thomas Bogendoerfer wrote:
On Tue, Dec 29, 2020 at 08:55:59PM +0800, Tiezhu Yang wrote:
+++ b/arch/mips/include/uapi/asm/perf_regs.h
@@ -0,0 +1,42 @@
+/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
+#ifndef _ASM_MIPS_PERF_REGS_H
+#define
On 02/04/2021 02:30 AM, Shuah Khan wrote:
On 2/3/21 1:39 AM, Tiezhu Yang wrote:
According to the error message, the first argument of ptrace() should be
PTRACE_SINGLESTEP instead of PTRACE_CONT when ptrace single step.
Fixes: f43365ee17f8 ("selftests: arm64: add test for
unaligned/in
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 syscalls_n64.c syscall table
arch/mips/Kconfig
Grab a copy of arch/mips/kernel/syscalls/syscall_n64.tbl and use it to
generate tools/perf/arch/mips/include/generated/asm/syscalls_n64.c file,
this is similar with commit 1b700c997500 ("perf tools: Build syscall table
.c header from kernel's syscall_64.tbl")
Signed-off-by: Tiezh
Baechle
Signed-off-by: Archer Yan
Signed-off-by: Tiezhu Yang
---
v2: no changes
tools/perf/Makefile.config | 6 ++
tools/perf/arch/mips/Makefile | 4 ++
tools/perf/arch/mips/include/dwarf-regs-table.h | 31 +
tools/perf/arch/mips/include
riginal patches into two parts (MIPS kernel and perf
tools) to merge easily.]
The original patches:
https://lore.kernel.org/patchwork/patch/1126521/
https://lore.kernel.org/patchwork/patch/1126520/
Signed-off-by: David Daney
Signed-off-by: Ralf Baechle
Signed-off-by: Archer Yan
Signed-off-by:
oader completely"), so the old version can not
work in the latest mainline kernel.
Since it is very simple and useful for newbies, I think it is
necessary to be upstreamed.
[1]
https://github.com/bpftools/linux-observability-with-bpf/tree/master/code/chapter-2/hello_world
Signed-off-by: T
When call ptrace(PTRACE_CONT, ...) failed, use correct error messages.
Signed-off-by: Tiezhu Yang
---
tools/testing/selftests/breakpoints/breakpoint_test_arm64.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tools/testing/selftests/breakpoints/breakpoint_test_arm64.c
On 02/09/2021 10:36 AM, Jiaxun Yang wrote:
On Tue, Feb 9, 2021, at 12:32 AM, Jiaxun Yang wrote:
On Mon, Feb 8, 2021, at 9:14 PM, Tiezhu Yang wrote:
According to MIPS EJTAG Specification [1], a Debug Breakpoint
exception occurs when an SDBBP instruction is executed, the
CP0_DEBUG bit DBp
Signed-off-by: Tiezhu Yang
---
v2: add MIPS_DEBUG_DBP definition
arch/mips/include/asm/mipsregs.h | 4
arch/mips/kernel/genex.S | 4 ++--
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/arch/mips/include/asm/mipsregs.h b/arch/mips/include/asm/mipsregs.h
index a0e8ae5
On 02/09/2021 08:11 PM, Thomas Bogendoerfer wrote:
On Tue, Feb 09, 2021 at 01:05:25PM +0800, Tiezhu Yang wrote:
According to MIPS EJTAG Specification [1], a Debug Breakpoint
exception occurs when an SDBBP instruction is executed, the
CP0_DEBUG bit DBp indicates that a Debug Breakpoint exception
, Feb 22, 2021 at 02:43:39PM +0800, Tiezhu Yang escreveu:
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
system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]
url:
https://github.com/0day-ci/linux/commits/Tiezhu-Yang/clk-hisilicon-Use-correct-return-value-about-hisi_reset_init/20200527-233606
bas
After commit 9d0aaf98dc24 ("MIPS: SGI-IP27: Move all shared IP27
declarations to ip27-common.h"), ip27-common.h is included more
than once in ip27-timer.c, remove it.
Signed-off-by: Tiezhu Yang
---
arch/mips/sgi-ip27/ip27-timer.c | 2 --
1 file changed, 2 deletions(-)
diff --git a
On 05/20/2020 12:03 AM, Thomas Bogendoerfer wrote:
On Tue, May 19, 2020 at 08:28:11PM +0800, Tiezhu Yang wrote:
After commit 9d0aaf98dc24 ("MIPS: SGI-IP27: Move all shared IP27
declarations to ip27-common.h"), ip27-common.h is included more
than once in ip27-timer.c, remove it.
Sig
After commit 0ce5ebd24d25 ("mfd: ioc3: Add driver for SGI IOC3 chip"),
the related includes and comment about ioc3 are not used any more in
ip27-timer.c, remove them.
Signed-off-by: Tiezhu Yang
---
arch/mips/sgi-ip27/ip27-timer.c | 5 -
1 file changed, 5 deletions(-)
diff --git a
After commit f5ff0a280201 ("[MIPS] Use generic NTP code for all MIPS
platforms"), TICK_SIZE is not used in ip27-timer.c for many years,
remove it.
Signed-off-by: Tiezhu Yang
---
Hi Thomas,
I find this not used definition TICK_SIZE just now, maybe I should send
these cleanup patches
tps://www.kernel.org/doc/html/latest/bpf/
Fixes: d9b9170a2653 ("docs: bpf: Rename README.rst to index.rst")
Fixes: cb3f0d56e153 ("docs: networking: convert filter.txt to ReST")
Signed-off-by: Tiezhu Yang
---
Documentation/bpf/index.rst | 6 +++---
1 file changed, 3 insertions(+)
tps://www.kernel.org/doc/html/latest/bpf/
Fixes: d9b9170a2653 ("docs: bpf: Rename README.rst to index.rst")
Fixes: cb3f0d56e153 ("docs: networking: convert filter.txt to ReST")
Signed-off-by: Tiezhu Yang
---
v2:
- Fix a typo "clik" to "click" in the commit mes
On 07/30/2020 05:06 AM, Song Liu wrote:
On Wed, Jul 29, 2020 at 6:17 AM Tiezhu Yang wrote:
There exists an error "404 Not Found" when I click the html link of
"Documentation/networking/filter.rst" in the BPF documentation [1],
fix it.
Additionally, use the new link
tps://www.kernel.org/doc/html/latest/bpf/
Fixes: d9b9170a2653 ("docs: bpf: Rename README.rst to index.rst")
Fixes: cb3f0d56e153 ("docs: networking: convert filter.txt to ReST")
Signed-off-by: Tiezhu Yang
---
Documentation/bpf/index.rst | 12 ++--
Documentation/
/dts/loongson/loongson3_8core_rs780e.dtb
DTB arch/mips/boot/dts/loongson/loongson3_8core_rs780e.dtb.S
AS arch/mips/boot/dts/loongson/loongson3_8core_rs780e.dtb.o
AR arch/mips/boot/dts/loongson/built-in.a
AR arch/mips/boot/dts/built-in.a
Signed-off-by: Tiezhu Yang
There is no git tree for KVM/mips in MAINTAINERS, it is not
convinent to rebase, add it.
Signed-off-by: Tiezhu Yang
---
MAINTAINERS | 1 +
1 file changed, 1 insertion(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index e627ed6..11c82c1 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -9546,6 +9546,7
00.0: ring 3 stalled for more than 10086msec
[ 60.983156] radeon :03:00.0: GPU lockup (current fence id
0x0374 last fence id 0x03a8 on ring 3)
Signed-off-by: Tiezhu Yang
---
arch/mips/include/asm/pgtable.h | 4
arch/mips/kernel/cpu-probe.c| 19
On 08/06/2020 03:39 PM, Jiaxun Yang wrote:
在 2020/8/6 下午3:09, Tiezhu Yang 写道:
Loongson processors have a writecombine issue that maybe failed to
write back framebuffer used with ATI Radeon or AMD GPU at times,
after commit 8a08e50cee66 ("drm: Permit video-buffers writecombine
mapping for
p (current fence id
0x0112 last fence id 0x011d on ring 0)
[ 60.976525] radeon :03:00.0: ring 3 stalled for more than 10086msec
[ 60.983156] radeon :03:00.0: GPU lockup (current fence id
0x0374 last fence id 0x03a8 on ring 3)
Signed-off-
On 08/09/2020 08:13 PM, Christian König wrote:
Am 08.08.20 um 15:50 schrieb Jiaxun Yang:
在 2020/8/8 下午9:41, Thomas Bogendoerfer 写道:
On Sat, Aug 08, 2020 at 03:25:02PM +0800, Tiezhu Yang wrote:
Loongson processors have a writecombine issue that maybe failed to
write back framebuffer used
n fault
I use git bisect to find commit b38d85ef49cf ("perf bpf: Decouple
creating the evlist from adding the SB event") is the first bad
commit, so also add the Fixes tag.
Fixes: b38d85ef49cf ("perf bpf: Decouple creating the evlist from adding the SB
event")
Signed-off-by
On 12/17/2020 08:48 PM, Tiezhu Yang wrote:
On 12/16/2020 11:16 PM, Arnaldo Carvalho de Melo wrote:
Em Wed, Dec 16, 2020 at 11:30:47AM -0300, Arnaldo Carvalho de Melo
escreveu:
Em Wed, Dec 16, 2020 at 07:14:02PM +0800, Jiaxun Yang escreveu:
在 2020/12/16 下午6:05, Tiezhu Yang 写道:
Hi,
In the
Module.symvers still exists when make clean, remove it.
Signed-off-by: Tiezhu Yang
---
Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index e30cf02..8235bb7 100644
--- a/Makefile
+++ b/Makefile
@@ -1468,7 +1468,7 @@ endif # CONFIG_MODULES
with this patch,
we can see the following two sysfs interfaces under DEBUG_FS.
/sys/kernel/debug/memblock/memory
/sys/kernel/debug/memblock/reserved
Signed-off-by: Tiezhu Yang
---
v2:
- select ARCH_KEEP_MEMBLOCK only if DEBUG_KERNEL
arch/mips/Kconfig | 1 +
1 file changed, 1 insertion(+)
di
x/kernel.h:10:
./include/linux/compiler.h:246:10: fatal error: 'asm/rwonce.h' file not found
^~
1 error generated.
$ find . -name rwonce.h
./include/asm-generic/rwonce.h
./arch/arm64/include/asm/rwonce.h
./arch/alpha/include/asm/rwonce.h
Signed-off-by: Tiezhu Yang
%lu
printf("%s/%llx;", sym->name, addr);
~~~^
%lx
printf(";%s %lld\n", key->waker, count);
~~~^ ~
%ld
Signed-off-by: Tiezhu Yang
---
samples/bpf/Makefile|
There exists many build errors and warnings when make M=samples/bpf,
this patch series fix some of them, I will submit some other patches
related with MIPS later.
Tiezhu Yang (2):
samples/bpf: Set flag __SANE_USERSPACE_TYPES__ for MIPS to fix build
warnings
compiler.h: Include asm
llvm.org/get_started.html
Signed-off-by: Tiezhu Yang
---
samples/bpf/Makefile | 2 +-
samples/bpf/README.rst | 17 ++---
2 files changed, 11 insertions(+), 8 deletions(-)
diff --git a/samples/bpf/Makefile b/samples/bpf/Makefile
index 26fc96c..d061446 100644
--- a/samples/bpf/Makef
same time, update the
related comment in Makefile.
[1] https://clang.llvm.org/get_started.html
Signed-off-by: Tiezhu Yang
Acked-by: Yonghong Song
---
v2: Update the commit message suggested by Yonghong,
thank you very much.
samples/bpf/Makefile | 2 +-
samples/bpf/README.rst | 1
On 01/20/2021 05:58 AM, Fangrui Song wrote:
On 2021-01-19, Tiezhu Yang wrote:
The current llvm/clang build procedure in samples/bpf/README.rst is
out of date. See below that the links are not accessible any more.
$ git clone http://llvm.org/git/llvm.git
Cloning into 'llvm'...
fatal:
On 01/20/2021 10:43 AM, Nick Desaulniers wrote:
On Mon, Jan 18, 2021 at 11:56 PM Tiezhu Yang wrote:
The current llvm/clang build procedure in samples/bpf/README.rst is
out of date. See below that the links are not accessible any more.
$ git clone http://llvm.org/git/llvm.git
Cloning into
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 syscalls_n64.c syscall table
arch/mips/Kconfig | 2 +
arch/mips/include/uapi
riginal patches into two parts (MIPS kernel and perf
tools) to merge easily.]
The original patches:
https://lore.kernel.org/patchwork/patch/1126521/
https://lore.kernel.org/patchwork/patch/1126520/
Signed-off-by: David Daney
Signed-off-by: Ralf Baechle
Signed-off-by: Archer Yan
Signed-off-b
Baechle
Signed-off-by: Archer Yan
Signed-off-by: Tiezhu Yang
---
tools/perf/Makefile.config | 6 ++
tools/perf/arch/mips/Makefile | 4 ++
tools/perf/arch/mips/include/dwarf-regs-table.h | 31 +
tools/perf/arch/mips/include/perf_regs.h| 84
Grab a copy of arch/mips/kernel/syscalls/syscall_n64.tbl and use it to
generate tools/perf/arch/mips/include/generated/asm/syscalls_n64.c file,
this is similar with commit 1b700c997500 ("perf tools: Build syscall table
.c header from kernel's syscall_64.tbl")
Signed-off-
On 12/30/2020 12:39 AM, Thomas Bogendoerfer wrote:
On Wed, Dec 16, 2020 at 10:44:23AM +0800, Tiezhu Yang wrote:
I have tested the following three configs on the Loongson platform:
(1) !NUMA and !SMP,
(2) !NUMA and SMP,
(3) NUMA and SMP,
everything is all right.
But there exists the following
On 03/25/2021 06:17 PM, Thomas Bogendoerfer wrote:
On Mon, Mar 22, 2021 at 03:12:59PM +0800, Tiezhu Yang wrote:
On 03/22/2021 12:46 PM, Maciej W. Rozycki wrote:
On Thu, 18 Mar 2021, Tiezhu Yang wrote:
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index 160b3a8..4b94ec7 100644
--- a/arch
again").
Fixes: 0ebeea8ca8a4 ("bpf: Restrict bpf_probe_read{, str}() only to archs where
they work")
Signed-off-by: Tiezhu Yang
---
v3: Select ARCH_HAS_NON_OVERLAPPING_ADDRESS_SPACE if !EVA
on MIPS.
v2: update the commit message to fix typos found by
Sergei Shtylyov, tha
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
ment to point out this bug and suggest the
users to remove CONFIG_MIPS32_O32=y in defconfig when build
kernel with 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/configs/loongson3_defcon
On 03/04/2021 10:02 AM, Nathan Chancellor wrote:
On Thu, Mar 04, 2021 at 09:15:44AM +0800, Tiezhu Yang wrote:
When build kernel with Clang [1]:
$ make CC=clang loongson3_defconfig
$ make CC=clang
[snip]
I think this might be a better solution. I know that I personally never
read defconfig
GCC works well, as Nathan 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
---
ar
[1]
https://lore.kernel.org/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
GCC works, as Nathan 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 C
On 03/22/2021 12:46 PM, Maciej W. Rozycki wrote:
On Thu, 18 Mar 2021, Tiezhu Yang wrote:
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index 160b3a8..4b94ec7 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -6,6 +6,7 @@ config MIPS
select ARCH_BINFMT_ELF_STATE if
On 03/15/2021 08:42 PM, David Laight wrote:
From: Tiezhu Yang
Sent: 15 March 2021 12:26
On 03/15/2021 04:49 AM, Maciej W. Rozycki wrote:
On Tue, 9 Mar 2021, Tiezhu Yang wrote:
diff --git a/arch/mips/include/asm/checksum.h b/arch/mips/include/asm/checksum.h
index 1e6c135..80eddd4 100644
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
_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
he 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://
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
(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 available
st make it work well,
it is not a proper and final solution, I hope someone will have a better
solution to fix this issue in the future.
[1] https://lore.kernel.org/patchwork/patch/1285542/
Signed-off-by: Tiezhu Yang
---
Hi Thomas,
If you are OK with this change, could you please apply it
to
filename
3792429 0 4221
linux-5.12-rc5/net/ipv4/netfilter/nf_reject_ipv4.o
Signed-off-by: Tiezhu Yang
---
arch/mips/include/asm/checksum.h | 4
1 file changed, 4 insertions(+)
diff --git a/arch/mips/include/asm/checksum.h b/arch/mips/include/asm/checksum.h
index 1e6c1
probe_read() will not be available.
This is similar with the commit d195b1d1d1196 ("powerpc/bpf: Enable
bpf_probe_read{, str}() on powerpc again").
Fixes: 0ebeea8ca8a4 ("bpf: Restrict bpf_probe_read{, str}() only to archs where
they work")
Signed-off-by: Tiezhu Yang
---
a
probe_read() will not be available.
This is similar with the commit d195b1d1d119 ("powerpc/bpf: Enable
bpf_probe_read{, str}() on powerpc again").
Fixes: 0ebeea8ca8a4 ("bpf: Restrict bpf_probe_read{, str}() only to archs where
they work")
Signed-off-by: Tiezhu Yang
---
v2: up
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 check
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 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
rep "L2 cache"
L2 cache: 8192K
Signed-off-by: Tiezhu Yang
---
arch/mips/mm/c-r4k.c | 10 --
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/arch/mips/mm/c-r4k.c b/arch/mips/mm/c-r4k.c
index 9cede7c..9952176 100644
--- a/arch/mips/mm/c-r4k.c
+++ b/arch/mips/mm/c-r4k
Since commit 02cf2119684e ("Cleanup the mess in cpu_cache_init."),
cpu_has_6k_cache and cpu_has_8k_cache have no user, r6k_cache_init()
and r8k_cache_init() are not defined for over 15 years, just remove
them.
Signed-off-by: Tiezhu Yang
---
arch/mips/include/asm/cpu-features.h |
Tiezhu Yang (2):
MIPS: Remove cpu_has_6k_cache and cpu_has_8k_cache in cpu_cache_init()
MIPS: Loongson64: Fix wrong scache size when execute lscpu
arch/mips/include/asm/cpu-features.h | 2 --
arch/mips/mm/c-r4k.c | 10 --
arch/mips/mm/cache.c | 10
PIO4,
make PINCTRL_AT91PIO4 depend on HAS_IOMEM to fix it.
Reported-by: kernel test robot
Signed-off-by: Tiezhu Yang
---
drivers/pinctrl/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/pinctrl/Kconfig b/drivers/pinctrl/Kconfig
index 8150953..d132e1a 100644
--- a/drivers/pinctrl/Kconfig
+++
" and "of_address_to_resource"
in phy-mtk-xsphy.c under COMPILE_TEST and CONFIG_PHY_MTK_XSPHY,
make PHY_MTK_XSPHY depend on HAS_IOMEM and OF_ADDRESS to fix it.
Reported-by: kernel test robot
Signed-off-by: Tiezhu Yang
---
drivers/phy/mediatek/Kconfig | 2 ++
1 file changed, 2 insertions(+)
_INNO_HDMI
depend on HAS_IOMEM to fix it.
Reported-by: kernel test robot
Signed-off-by: Tiezhu Yang
---
drivers/phy/rockchip/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/phy/rockchip/Kconfig b/drivers/phy/rockchip/Kconfig
index c2f22f9..159285f 100644
--- a/drivers/ph
On 12/04/2020 08:08 PM, Thomas Bogendoerfer wrote:
On Thu, Dec 03, 2020 at 11:58:51AM +0800, Jiaxun Yang wrote:
在 2020/12/3 上午11:19, Tiezhu Yang 写道:
In the current code, CONFIG_ARCH_KEEP_MEMBLOCK is not set for MIPS arch,
memblock_discard() will discard memory and reserved arrays if they were
kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-4.19.y&id=bc571404829755e4a9504cc5fbc636fea80b2d83
[2]
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-4.19.y&id=81d7c56d6fab5ccbf522c47a655cd427808679f2
Signed-off-by: Tiezhu Yang
kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-4.19.y&id=bc571404829755e4a9504cc5fbc636fea80b2d83
[2]
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-4.19.y&id=81d7c56d6fab5ccbf522c47a655cd427808679f2
Signed-off-by: Tiezhu Yang
-
On 11/25/2020 11:51 AM, Joe Perches wrote:
On Wed, 2020-11-25 at 11:35 +0800, Tiezhu Yang wrote:
When backport the upstream commit to the internal LTS kernel version,
we usually use the following description [1] [2]:
[ Upstream commit cc6528bc9a0c901c83b8220a2e2617f3354d6dd9 ]
or
commit
On 11/25/2020 02:27 PM, Chunfeng Yun wrote:
On Tue, 2020-11-24 at 19:31 -0800, Randy Dunlap wrote:
On 11/24/20 6:24 PM, Chunfeng Yun wrote:
Hi Tiezhu,
On Tue, 2020-11-24 at 17:47 +0800, Tiezhu Yang wrote:
devm_ioremap_resource() will be not built in lib/devres.c if
CONFIG_HAS_IOMEM is not
instance->port_base =
devm_ioremap_resource(&phy->dev, &res);
Reported-by: kernel test robot
Signed-off-by: Tiezhu Yang
Acked-by: Randy Dunlap
---
drivers/phy/mediatek/Kconfig | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/drivers/phy/mediatek/Kco
y placed between Scache and I/D Cache as per
core chahe, it will confuse userspace program otherwise.
Also I do think the level should be continues.
With this patch, we can see the vcache info as L2 cache
and scache info as L3 cache on the Loongson 3A3000
and 3A4000 platform.
Tested-by: Tiezhu Yang
Thanks
- Jiaxun
Thomas.
rectory
[root@linux loongson]# echo 0 > /sys/devices/system/cpu/cpu0/online
bash: /sys/devices/system/cpu/cpu0/online: Permission denied
So no need to check CPU 0 in {loongson3,bmips,octeon}_cpu_disable(),
just remove them.
Signed-off-by: Tiezhu Yang
---
arch/mips/cavium-octeon/smp.c | 3 ---
On 12/16/2020 11:16 PM, Arnaldo Carvalho de Melo wrote:
Em Wed, Dec 16, 2020 at 11:30:47AM -0300, Arnaldo Carvalho de Melo escreveu:
Em Wed, Dec 16, 2020 at 07:14:02PM +0800, Jiaxun Yang escreveu:
在 2020/12/16 下午6:05, Tiezhu Yang 写道:
Hi,
In the current upstream mainline kernel, perf record
tbl
tools/perf/arch/powerpc/entry/syscalls/syscall.tbl
Signed-off-by: Tiezhu Yang
---
tools/perf/arch/powerpc/entry/syscalls/syscall.tbl | 25 --
1 file changed, 18 insertions(+), 7 deletions(-)
diff --git a/tools/perf/arch/powerpc/entry/syscalls/syscall.tbl
b/tools/per
It is better to check syscall.tbl for s390 in check-headers.sh, it is
similar with commit c9b51a017065 ("perf tools: Move syscall_64.tbl check
into check-headers.sh").
Signed-off-by: Tiezhu Yang
---
tools/perf/arch/s390/Makefile | 4
tools/perf/check-headers.sh | 1 +
2 files
perf/arch/s390/entry/syscalls/syscall.tbl
Signed-off-by: Tiezhu Yang
---
tools/perf/arch/s390/entry/syscalls/syscall.tbl | 395 ++--
1 file changed, 225 insertions(+), 170 deletions(-)
diff --git a/tools/perf/arch/s390/entry/syscalls/syscall.tbl
b/tools/perf/arch/s390/entry/
Tiezhu Yang (4):
perf tools: Move syscall.tbl check into check-headers.sh for powerpc
perf tools: Move syscall.tbl check into check-headers.sh for s390
perf tools: Update powerpc's syscall.tbl
perf tools: Update s390's syscall.tbl
tools/perf/arch/powerpc/Makefile
It is better to check syscall.tbl for powerpc in check-headers.sh, it is
similar with commit c9b51a017065 ("perf tools: Move syscall_64.tbl check
into check-headers.sh").
Signed-off-by: Tiezhu Yang
---
tools/perf/arch/powerpc/Makefile | 7 ---
tools/perf/check-headers.sh | 1
atch, we can see
the following two sysfs interfaces under DEBUG_FS.
/sys/kernel/debug/memblock/memory
/sys/kernel/debug/memblock/reserved
Signed-off-by: Tiezhu Yang
---
arch/mips/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index 44a47ad..f65da197 10
Tiezhu Yang (2):
MIPS: Move memblock_dump_all() to the end of setup_arch()
MIPS: Select ARCH_KEEP_MEMBLOCK to enable sysfs memblock debug
arch/mips/Kconfig| 1 +
arch/mips/kernel/setup.c | 4 ++--
2 files changed, 3 insertions(+), 2 deletions(-)
--
2.1.0
1 - 100 of 499 matches
Mail list logo