mailweb.openeuler.org
Manage this list

Keyboard Shortcuts

Thread View

  • j: Next unread message
  • k: Previous unread message
  • j a: Jump to all threads
  • j l: Jump to MailingList overview

Kernel

Threads by month
  • ----- 2025 -----
  • May
  • April
  • March
  • February
  • January
  • ----- 2024 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2023 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2022 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2021 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2020 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2019 -----
  • December
kernel@openeuler.org

  • 48 participants
  • 18263 discussions
[PATCH OLK-6.6 0/3] Backport mainline patches to avoid crash caused by rsize being 0
by Wang Zhaolong 17 Apr '25

17 Apr '25
Wang Zhaolong (3): smb:client: smb: client: Add reverse mapping from tcon to superblocks smb: client: Store original IO parameters and prevent zero IO sizes smb: client: Update IO sizes after reconnection fs/smb/client/cifs_fs_sb.h | 1 + fs/smb/client/cifsglob.h | 3 ++- fs/smb/client/connect.c | 15 +++++++++++++++ fs/smb/client/fs_context.c | 2 ++ fs/smb/client/fs_context.h | 3 +++ fs/smb/client/misc.c | 2 ++ fs/smb/client/smb1ops.c | 6 +++--- fs/smb/client/smb2ops.c | 27 +++++++++++++++++++-------- fs/smb/client/smb2pdu.c | 24 ++++++++++++++++++++++-- fs/smb/common/smb2pdu.h | 3 +++ 10 files changed, 72 insertions(+), 14 deletions(-) -- 2.39.2
1 0
0 0
[PATCH openEuler-1.0-LTS 0/4] Backport mainline patchies to avoid crash caused by rsize being 0
by Wang Zhaolong 17 Apr '25

17 Apr '25
Wang Zhaolong (4): Revert "cifs: Prevent NULL pointer dereference caused by cifs_sb->rsize is 0" smb:client: smb: client: Add reverse mapping from tcon to superblocks smb: client: Store original IO parameters and prevent zero IO sizes smb: client: Update IO sizes after reconnection fs/cifs/cifs_fs_sb.h | 3 +++ fs/cifs/cifsglob.h | 12 +++++++++--- fs/cifs/connect.c | 27 ++++++++++++++++++++------- fs/cifs/misc.c | 2 ++ fs/cifs/smb1ops.c | 10 +++++----- fs/cifs/smb2ops.c | 23 +++++++++++++++++------ fs/cifs/smb2pdu.c | 24 ++++++++++++++++++++++-- 7 files changed, 78 insertions(+), 23 deletions(-) -- 2.39.2
2 5
0 0
会议时间提醒 // 答复: [Dev] openEuler Kernel SIG双周例会
by liaotao (C) 17 Apr '25

17 Apr '25
本周五4月18日下午14:00 openEuler kernel sig双周例会,可继续在会议纪要看板申报议题: 会议纪要:https://etherpad.openeuler.org/p/Kernel-meetings 会议链接:https://meeting.huaweicloud.com:36443/#/j/987901819 -----原始约会----- 发件人: openEuler conference <public(a)openeuler.org> 发送时间: 2025年4月10日 16:53 收件人: ,dev@openeuler.org,kernel-discuss@openeuler.org,kernel@openeuler.org 主题: [Dev] openEuler Kernel SIG双周例会 时间: 2025年4月18日星期五 14:00-15:30(UTC+08:00) 北京,重庆,香港特别行政区,乌鲁木齐。 地点: 您好! Kernel 邀请您参加 2025-04-18 14:00 召开的WeLink会议(自动录制) 会议主题:openEuler Kernel SIG双周例会 会议内容: 由于4.11日全天openEuler ODD 2025线下活动,原定4.11日下午开始的Kernel SIG双周例会推迟至4.18日下午。 议题详见会议看板,并可继续申报。 会议链接:https://meeting.huaweicloud.com:36443/#/j/987901819 会议纪要:https://etherpad.openeuler.org/p/Kernel-meetings 更多资讯尽在:https://www.openeuler.org/zh/ Hello! Kernel invites you to attend the WeLink conference(auto recording) will be held at 2025-04-18 14:00, The subject of the conference is openEuler Kernel SIG双周例会 Summary: 由于4.11日全天openEuler ODD 2025线下活动,原定4.11日下午开始的Kernel SIG双周例会推迟至4.18日下午。 议题详见会议看板,并可继续申报。 You can join the meeting at https://meeting.huaweicloud.com:36443/#/j/987901819 Add topics at https://etherpad.openeuler.org/p/Kernel-meetings More information: https://www.openeuler.org/en/
1 0
0 0
[openeuler:OLK-5.10 2862/2862] fs/cachefiles/rdwr.o: warning: objtool: cachefiles_prepare_read()+0x218: unreachable instruction
by kernel test robot 17 Apr '25

17 Apr '25
tree: https://gitee.com/openeuler/kernel.git OLK-5.10 head: 2affea8965688b8231cf977864ba7539320d5db8 commit: 33ba25cc4869bab81ad31784e7bbb25e5da2a2ad [2862/2862] anolis: fscache,cachefiles: add fscache_prepare_read() helper config: x86_64-buildonly-randconfig-005-20250415 (https://download.01.org/0day-ci/archive/20250417/202504171410.vxZz7s2a-lkp@…) compiler: clang version 20.1.2 (https://github.com/llvm/llvm-project 58df0ef89dd64126512e4ee27b4ac3fd8ddf6247) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250417/202504171410.vxZz7s2a-lkp@…) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot <lkp(a)intel.com> | Closes: https://lore.kernel.org/oe-kbuild-all/202504171410.vxZz7s2a-lkp@intel.com/ All warnings (new ones prefixed by >>): >> fs/cachefiles/rdwr.o: warning: objtool: cachefiles_prepare_read()+0x218: unreachable instruction -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
1 0
0 0
[PATCH OLK-6.6 0/3] soc cache: Add support for HiSilicon L3 cache
by Yushan Wang 17 Apr '25

17 Apr '25
driver inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/IC15TR ---------------------------------------------------------------------- This series adds support for HiSilicon SoC cache lockdown and cache maintenance operations. Cache lockdown feature prevents cache entries from being evicted from L3 cache. It can be enabled by calling mmap function to the file (`/dev/hisi_soc_cache_mgmt`). This feature is implemented in the driver hisi_soc_l3c. Cache maintenance feature, following Arm64's CHI spec[1], enables users to raise certain transactions to the memory residing in the cache. This can be achieved by calling ioctl function to the same file as above. This feature is implemented in the driver hisi_soc_hha. L3 cache and L3 cache PMU share the same memory resource, which makes one fails to probe while another is on board. Since both devices rely on distinct information exported by ACPI, their probing functions should be unrelated. Workaround the resource conflict check by replacing devm_ioremap_resource() to devm_ioremap() instead. [1] https://developer.arm.com/documentation/ihi0050/latest/ Yushan Wang (3): soc cache: Add framework driver for HiSilicon SoC cache soc cache: Support cache maintenance for HiSilicon SoC Hydra Home Agent soc cache: Modify default config to compile HiSilicon SoC cache driver arch/arm64/configs/openeuler_defconfig | 5 + drivers/soc/hisilicon/Kconfig | 22 + drivers/soc/hisilicon/Makefile | 3 + .../soc/hisilicon/hisi_soc_cache_framework.c | 378 ++++++++++++++++++ .../soc/hisilicon/hisi_soc_cache_framework.h | 77 ++++ drivers/soc/hisilicon/hisi_soc_hha.c | 189 +++++++++ .../uapi/misc/hisi_soc_cache/hisi_soc_cache.h | 35 ++ 7 files changed, 709 insertions(+) create mode 100644 drivers/soc/hisilicon/hisi_soc_cache_framework.c create mode 100644 drivers/soc/hisilicon/hisi_soc_cache_framework.h create mode 100644 drivers/soc/hisilicon/hisi_soc_hha.c create mode 100644 include/uapi/misc/hisi_soc_cache/hisi_soc_cache.h -- 2.33.0
2 4
0 0
[PATCH OLK-5.10] ftrace: Avoid potential division by zero in function_stat_show()
by Liu Chuang 17 Apr '25

17 Apr '25
From: Nikolay Kuratov <kniv(a)yandex-team.ru> stable inclusion from stable-v5.10.235 commit ca381f60a3bb7cfaa618d73ca411610bd7fc3149 category: bugfix bugzilla: https://gitee.com/src-openeuler/kernel/issues/IBY43C Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id… -------------------------------- commit a1a7eb89ca0b89dc1c326eeee2596f263291aca3 upstream. Check whether denominator expression x * (x - 1) * 1000 mod {2^32, 2^64} produce zero and skip stddev computation in that case. For now don't care about rec->counter * rec->counter overflow because rec->time * rec->time overflow will likely happen earlier. Cc: stable(a)vger.kernel.org Cc: Wen Yang <wenyang(a)linux.alibaba.com> Cc: Mark Rutland <mark.rutland(a)arm.com> Cc: Mathieu Desnoyers <mathieu.desnoyers(a)efficios.com> Link: https://lore.kernel.org/20250206090156.1561783-1-kniv@yandex-team.ru Fixes: e31f7939c1c27 ("ftrace: Avoid potential division by zero in function profiler") Signed-off-by: Nikolay Kuratov <kniv(a)yandex-team.ru> Signed-off-by: Steven Rostedt (Google) <rostedt(a)goodmis.org> Signed-off-by: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org> Signed-off-by: Wang Hai <wanghai38(a)huawei.com> --- kernel/trace/ftrace.c | 27 ++++++++++++--------------- 1 file changed, 12 insertions(+), 15 deletions(-) diff --git a/kernel/trace/ftrace.c b/kernel/trace/ftrace.c index 923d78cc130c..095ba8ab36cf 100644 --- a/kernel/trace/ftrace.c +++ b/kernel/trace/ftrace.c @@ -510,6 +510,7 @@ static int function_stat_show(struct seq_file *m, void *v) static struct trace_seq s; unsigned long long avg; unsigned long long stddev; + unsigned long long stddev_denom; #endif mutex_lock(&ftrace_profile_lock); @@ -531,23 +532,19 @@ static int function_stat_show(struct seq_file *m, void *v) #ifdef CONFIG_FUNCTION_GRAPH_TRACER seq_puts(m, " "); - /* Sample standard deviation (s^2) */ - if (rec->counter <= 1) - stddev = 0; - else { - /* - * Apply Welford's method: - * s^2 = 1 / (n * (n-1)) * (n * \Sum (x_i)^2 - (\Sum x_i)^2) - */ + /* + * Variance formula: + * s^2 = 1 / (n * (n-1)) * (n * \Sum (x_i)^2 - (\Sum x_i)^2) + * Maybe Welford's method is better here? + * Divide only by 1000 for ns^2 -> us^2 conversion. + * trace_print_graph_duration will divide by 1000 again. + */ + stddev = 0; + stddev_denom = rec->counter * (rec->counter - 1) * 1000; + if (stddev_denom) { stddev = rec->counter * rec->time_squared - rec->time * rec->time; - - /* - * Divide only 1000 for ns^2 -> us^2 conversion. - * trace_print_graph_duration will divide 1000 again. - */ - stddev = div64_ul(stddev, - rec->counter * (rec->counter - 1) * 1000); + stddev = div64_ul(stddev, stddev_denom); } trace_seq_init(&s); -- 2.34.1
2 1
0 0
[PATCH OLK-6.6 0/5] drm: LoongArch: fix rx550/gfx6/gfx7/gfx8 error
by Hongchen Zhang 17 Apr '25

17 Apr '25
Tianrui Zhao (3): drm/amdgpu: Fix pcie order dislocation drm/amdgpu: make duplicated EOP packet for GFX6 have real content drm/amdgpu: Fix RX550 pcie order dislocation. lvjianmin (2): drm/radeon: repeat the same EOP packet for EOP workaround on CIK drm/amdgpu: make duplicated EOP packet for GFX7/8 have real content drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 5 + drivers/gpu/drm/amd/amdgpu/amdgpu_ih.c | 159 ++++++++++++++++++++++++ drivers/gpu/drm/amd/amdgpu/amdgpu_ih.h | 6 + drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c | 4 + drivers/gpu/drm/amd/amdgpu/amdgpu_irq.h | 3 + drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c | 19 +++ drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c | 13 +- drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | 13 +- drivers/gpu/drm/radeon/cik.c | 9 +- 9 files changed, 216 insertions(+), 15 deletions(-) -- 2.33.0
2 6
0 0
[PATCH OLK-6.6 0/2] soc cache: Add support for HiSilicon L3 cache
by Yushan Wang 17 Apr '25

17 Apr '25
driver inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/IC15TR ---------------------------------------------------------------------- This series adds support for HiSilicon SoC cache lockdown and cache maintenance operations. Cache lockdown feature prevents cache entries from being evicted from L3 cache. It can be enabled by calling mmap function to the file (`/dev/hisi_soc_cache_mgmt`). This feature is implemented in the driver hisi_soc_l3c. Cache maintenance feature, following Arm64's CHI spec[1], enables users to raise certain transactions to the memory residing in the cache. This can be achieved by calling ioctl function to the same file as above. This feature is implemented in the driver hisi_soc_hha. L3 cache and L3 cache PMU share the same memory resource, which makes one fails to probe while another is on board. Since both devices rely on distinct information exported by ACPI, their probing functions should be unrelated. Workaround the resource conflict check by replacing devm_ioremap_resource() to devm_ioremap() instead. [1] https://developer.arm.com/documentation/ihi0050/latest/ Yushan Wang (2): soc cache: Add framework driver for HiSilicon SoC cache soc cache: Support cache maintenance for HiSilicon SoC Hydra Home Agent drivers/soc/hisilicon/Kconfig | 22 + drivers/soc/hisilicon/Makefile | 3 + .../soc/hisilicon/hisi_soc_cache_framework.c | 381 ++++++++++++++++++ .../soc/hisilicon/hisi_soc_cache_framework.h | 77 ++++ drivers/soc/hisilicon/hisi_soc_hha.c | 188 +++++++++ .../uapi/misc/hisi_soc_cache/hisi_soc_cache.h | 35 ++ 6 files changed, 706 insertions(+) create mode 100644 drivers/soc/hisilicon/hisi_soc_cache_framework.c create mode 100644 drivers/soc/hisilicon/hisi_soc_cache_framework.h create mode 100644 drivers/soc/hisilicon/hisi_soc_hha.c create mode 100644 include/uapi/misc/hisi_soc_cache/hisi_soc_cache.h -- 2.33.0
1 3
0 0
[openeuler:OLK-6.6 2130/2130] arch/arm64/kvm/mmu.c:1665:21: warning: unused variable 'iss2'
by kernel test robot 17 Apr '25

17 Apr '25
tree: https://gitee.com/openeuler/kernel.git OLK-6.6 head: 58353f394bfe86212d5089bc9c1c235ffc761e2c commit: 8d2e1e3b26a99872309a1c2afa3f0f35f1102137 [2130/2130] arm64/config: add config to control whether enable HDBSS feature config: arm64-randconfig-001-20250417 (https://download.01.org/0day-ci/archive/20250417/202504170921.RaPjZtnT-lkp@…) compiler: aarch64-linux-gcc (GCC) 7.5.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250417/202504170921.RaPjZtnT-lkp@…) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot <lkp(a)intel.com> | Closes: https://lore.kernel.org/oe-kbuild-all/202504170921.RaPjZtnT-lkp@intel.com/ All warnings (new ones prefixed by >>): arch/arm64/kvm/mmu.c: In function 'kvm_handle_guest_abort': >> arch/arm64/kvm/mmu.c:1665:21: warning: unused variable 'iss2' [-Wunused-variable] unsigned long hva, iss2; ^~~~ -- arch/arm64/kvm/reset.c: In function 'kvm_arm_vcpu_destroy': >> arch/arm64/kvm/reset.c:165:15: warning: unused variable 'hdbss_pg' [-Wunused-variable] struct page *hdbss_pg; ^~~~~~~~ vim +/iss2 +1665 arch/arm64/kvm/mmu.c aeda9130c38e2e arch/arm/kvm/mmu.c Marc Zyngier 2015-03-12 1648 94f8e6418d3915 arch/arm/kvm/mmu.c Christoffer Dall 2013-01-20 1649 /** 94f8e6418d3915 arch/arm/kvm/mmu.c Christoffer Dall 2013-01-20 1650 * kvm_handle_guest_abort - handles all 2nd stage aborts 94f8e6418d3915 arch/arm/kvm/mmu.c Christoffer Dall 2013-01-20 1651 * @vcpu: the VCPU pointer 94f8e6418d3915 arch/arm/kvm/mmu.c Christoffer Dall 2013-01-20 1652 * 94f8e6418d3915 arch/arm/kvm/mmu.c Christoffer Dall 2013-01-20 1653 * Any abort that gets to the host is almost guaranteed to be caused by a 94f8e6418d3915 arch/arm/kvm/mmu.c Christoffer Dall 2013-01-20 1654 * missing second stage translation table entry, which can mean that either the 94f8e6418d3915 arch/arm/kvm/mmu.c Christoffer Dall 2013-01-20 1655 * guest simply needs more memory and we must allocate an appropriate page or it 94f8e6418d3915 arch/arm/kvm/mmu.c Christoffer Dall 2013-01-20 1656 * can mean that the guest tried to access I/O memory, which is emulated by user 94f8e6418d3915 arch/arm/kvm/mmu.c Christoffer Dall 2013-01-20 1657 * space. The distinction is based on the IPA causing the fault and whether this 94f8e6418d3915 arch/arm/kvm/mmu.c Christoffer Dall 2013-01-20 1658 * memory region has been registered as standard RAM by user space. 94f8e6418d3915 arch/arm/kvm/mmu.c Christoffer Dall 2013-01-20 1659 */ 74cc7e0c35c1e4 arch/arm64/kvm/mmu.c Tianjia Zhang 2020-06-23 1660 int kvm_handle_guest_abort(struct kvm_vcpu *vcpu) 342cd0ab0e6ca3 arch/arm/kvm/mmu.c Christoffer Dall 2013-01-20 1661 { 94f8e6418d3915 arch/arm/kvm/mmu.c Christoffer Dall 2013-01-20 1662 unsigned long fault_status; 94f8e6418d3915 arch/arm/kvm/mmu.c Christoffer Dall 2013-01-20 1663 phys_addr_t fault_ipa; 94f8e6418d3915 arch/arm/kvm/mmu.c Christoffer Dall 2013-01-20 1664 struct kvm_memory_slot *memslot; 6d60015590c3f5 arch/arm64/kvm/mmu.c eillon 2025-04-02 @1665 unsigned long hva, iss2; 98047888bb9fd5 arch/arm/kvm/mmu.c Christoffer Dall 2014-08-19 1666 bool is_iabt, write_fault, writable; 94f8e6418d3915 arch/arm/kvm/mmu.c Christoffer Dall 2013-01-20 1667 gfn_t gfn; 94f8e6418d3915 arch/arm/kvm/mmu.c Christoffer Dall 2013-01-20 1668 int ret, idx; 94f8e6418d3915 arch/arm/kvm/mmu.c Christoffer Dall 2013-01-20 1669 621f48e40ee9b0 virt/kvm/arm/mmu.c Tyler Baicar 2017-06-21 1670 fault_status = kvm_vcpu_trap_get_fault_type(vcpu); 621f48e40ee9b0 virt/kvm/arm/mmu.c Tyler Baicar 2017-06-21 1671 621f48e40ee9b0 virt/kvm/arm/mmu.c Tyler Baicar 2017-06-21 1672 fault_ipa = kvm_vcpu_get_fault_ipa(vcpu); bb428921b777a5 virt/kvm/arm/mmu.c James Morse 2017-07-18 1673 is_iabt = kvm_vcpu_trap_is_iabt(vcpu); 621f48e40ee9b0 virt/kvm/arm/mmu.c Tyler Baicar 2017-06-21 1674 :::::: The code at line 1665 was first introduced by commit :::::: 6d60015590c3f56b0188b2409cfb3ad9e05ded00 arm64/kvm: support to handle the HDBSSF event :::::: TO: eillon <yezhenyu2(a)huawei.com> :::::: CC: Zhenyu Ye <yezhenyu2(a)huawei.com> -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
1 0
0 0
[openeuler:OLK-5.10 2862/2862] fs/erofs/fscache.o: warning: objtool: erofs_fscache_release_page()+0x55: unreachable instruction
by kernel test robot 17 Apr '25

17 Apr '25
tree: https://gitee.com/openeuler/kernel.git OLK-5.10 head: 2affea8965688b8231cf977864ba7539320d5db8 commit: f18ca5e7c9d96c676424c3a36c121697e477ac20 [2862/2862] erofs: implement fscache-based metadata read config: x86_64-buildonly-randconfig-005-20250415 (https://download.01.org/0day-ci/archive/20250417/202504170830.iw6x6XXN-lkp@…) compiler: clang version 20.1.2 (https://github.com/llvm/llvm-project 58df0ef89dd64126512e4ee27b4ac3fd8ddf6247) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250417/202504170830.iw6x6XXN-lkp@…) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot <lkp(a)intel.com> | Closes: https://lore.kernel.org/oe-kbuild-all/202504170830.iw6x6XXN-lkp@intel.com/ All warnings (new ones prefixed by >>): >> fs/erofs/fscache.o: warning: objtool: erofs_fscache_release_page()+0x55: unreachable instruction -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
1 0
0 0
  • ← Newer
  • 1
  • ...
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • ...
  • 1827
  • Older →

HyperKitty Powered by HyperKitty