[Kernel-packages] [Bug 2059961] [NEW] genetlink: fix single op policy dump when do is present

2024-04-01 Thread William Tu
Public bug reported: intro - Our internal test triggers a kernel crash dump below [ 888.690348] Sun Mar 24 23:51:59 2024: DriVerTest - Start Test [ 888.691834] [ 888.983912] mlx5_core

[Kernel-packages] [Bug 2056718] Re: net: openvswitch: add missing .resv_start_op

2024-03-11 Thread William Tu
** Description changed: Intro: == - When hit a kernel warning when using openvswitch kernel module. Digging into the source code, we found it's due to the code snippet - if (WARN_ON(i.cmd >= family->resv_start_op && -(i.doit.validate || i.dumpit.validate))) -

[Kernel-packages] [Bug 2056718] [NEW] net: openvswitch: add missing .resv_start_op

2024-03-10 Thread William Tu
Public bug reported: Intro: == When hit a kernel warning when using openvswitch kernel module. Digging into the source code, we found it's due to the code snippet if (WARN_ON(i.cmd >= family->resv_start_op && (i.doit.validate || i.dumpit.validate)))

[Kernel-packages] [Bug 2056364] [NEW] Add test script for DPLL

2024-03-06 Thread William Tu
Public bug reported: * intro In bug 2053155 "Add DPLL and syncE support" below: https://bugs.launchpad.net/ubuntu/+source/linux-bluefield/+bug/2053155 It requires using a yaml spec file, dpll.yaml, and a python script, cli.py, to verify the correctness. ex: $ sudo ./tools/net/ynl/cli.py --spec

[Kernel-packages] [Bug 2055052] [NEW] net/sched: flower: Add lock protection when remove filter handle

2024-02-26 Thread William Tu
Public bug reported: * intro As IDR can't protect itself from the concurrent modification, place idr_remove() under the protection of tp->lock. * how to fix need to backport the patch from Jianbo "net/sched: flower: Add lock protection when remove filter handle"

[Kernel-packages] [Bug 2053155] Re: Add DPLL and syncE support

2024-02-16 Thread William Tu
** Description changed: * intro Synchronous Ethernet, or SyncE, is an ITU-T standard for computer networking that facilitates the transference of clock signals over the Ethernet physical layer. It is used to pass timing from node to node and is particularly important for mobile networks.

[Kernel-packages] [Bug 2053155] Re: Add DPLL and syncE support

2024-02-15 Thread William Tu
** Description changed: * intro Synchronous Ethernet, or SyncE, is an ITU-T standard for computer networking that facilitates the transference of clock signals over the Ethernet physical layer. It is used to pass timing from node to node and is particularly important for mobile networks.

[Kernel-packages] [Bug 2053155] Re: Add DPLL and syncE support

2024-02-15 Thread William Tu
my first time sending pull request, do I make any mistake so it's Invalid? -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-bluefield in Ubuntu. https://bugs.launchpad.net/bugs/2053155 Title: Add DPLL and syncE support Status in

[Kernel-packages] [Bug 2053155] [NEW] Add DPLL and syncE support

2024-02-14 Thread William Tu
Public bug reported: * intro Synchronous Ethernet, or SyncE, is an ITU-T standard for computer networking that facilitates the transference of clock signals over the Ethernet physical layer. It is used to pass timing from node to node and is particularly important for mobile networks. The

[Kernel-packages] [Bug 2021930] Re: kdump cannot generate coredump file on bluefield with 5.4 and 5.15 kernel

2023-11-30 Thread William Tu
Hi Taihsiang, cat /root@bu-lab6-oob:~# cat /etc/mlnx-release DOCA_2.5.0_BSP_4.5.0_Ubuntu_22.04-1.20231116.dev -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-bluefield in Ubuntu. https://bugs.launchpad.net/bugs/2021930 Title:

[Kernel-packages] [Bug 2021930] Re: kdump cannot generate coredump file on bluefield with 5.4 kernel

2023-11-27 Thread William Tu
adding "-d" to kexec which shows debugging info. I did not see any error... [ 441.468322] kdump-tools[7548]: arch_process_options:178: command_line: BOOT_IMAGE=/boot/vmlinuz-5.15.0-1031-bluefield root=1 [ 441.468586] kdump-tools[7548]: arch_process_options:180: initrd:

[Kernel-packages] [Bug 2021930] Re: kdump cannot generate coredump file on bluefield with 5.4 kernel

2023-11-27 Thread William Tu
I also tested it on 5.15.0-1031-bluefield and it also fails. Configurations: root@bu-oob:~# kdump-config show DUMP_MODE: kdump USE_KDUMP: 1 KDUMP_COREDIR: /var/crash crashkernel addr: 0xbd00 /var/lib/kdump/vmlinuz: symbolic link to

[Kernel-packages] [Bug 2042455] [NEW] Devlink backport: Fix mlx5 driver hangs due to mlx5_sf_hw_table_init

2023-11-01 Thread William Tu
Public bug reported: Summary: Machine hangs when loading OFED 2310 mlx5 driver at BlueField How to reproduce: # load the OFED driver Reason: BF got stuck and observed call trace "mlx5_sf_hw_table_init+0xf4/0x2d0 [mlx5_core] dmesg from minicom: [ 726.569928] INFO: task systemd-udevd:297

[Kernel-packages] [Bug 2039869] [NEW] Devlink reload hangs: fix race and lock issue

2023-10-19 Thread William Tu
Public bug reported: Summary: Machine hangs when doing devlink reload How to reproduce: Host: [root@bu-lab24v ~]# echo '2' > /sys/class/net/ens2f0np0/device/sriov_numvfs Arm: root@bu-lab24v-oob:~# uname -r 5.15.0-1027-bluefield root@bu-lab24v-oob:~# devlink dev eswitch set pci/:03:00.0

[Kernel-packages] [Bug 2032378] Re: Devlink backport: fix race and lock issue

2023-09-06 Thread William Tu
add merge request https://code.launchpad.net/~wtu/ubuntu/+source/linux-bluefield/+git/linux-bluefield/+merge/450806 -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-bluefield in Ubuntu. https://bugs.launchpad.net/bugs/2032378 Title:

[Kernel-packages] [Bug 1978079] Re: EFI pstore not cleared on boot

2023-07-26 Thread William Tu
** Also affects: linux-bluefield (Ubuntu) Importance: Undecided Status: New ** No longer affects: linux-bluefield (Ubuntu Impish) ** No longer affects: linux-bluefield (Ubuntu Kinetic) ** Changed in: linux-bluefield (Ubuntu) Assignee: (unassigned) => William Tu (wtu) ** Chan

[Kernel-packages] [Bug 2028190] [NEW] kernel panic when using conntrack tcp pedit

2023-07-19 Thread William Tu
Public bug reported: * Explain the bug(s) when setting up conntrack offload with tcp pedit (test-ct-tcp-pedit.sh), encounter kernel panic. * brief explanation of fixes In tc_setup_flow_action, need to properly assign action. Which fixes previous commit ("UBUNTU: SAUCE: net/sched: Provide act

[Kernel-packages] [Bug 2025396] [NEW] kdump/kexec does not work when UEFI secureboot and kernel lockdown enabled

2023-06-29 Thread William Tu
Public bug reported: * Explain the bug(s) We've found that for Jammy 5.15 and also 5.4.0-1049 kernel running on Bluefield, the kdump doesn't work when enabling secure boot[1]. * How to test Make sure kernel config: CONFIG_SECURITY_LOCKDOWN_LSM=y CONFIG_SECURITY_LOCKDOWN_LSM_EARLY=y

[Kernel-packages] [Bug 2008523] Re: Make kexec work by default on secureboot systems

2023-06-08 Thread William Tu
With this fix, does kdump/kexec work with CONFIG_SECURITY_LOCKDOWN_LSM=y? -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to kexec-tools in Ubuntu. https://bugs.launchpad.net/bugs/2008523 Title: Make kexec work by default on secureboot

[Kernel-packages] [Bug 2020606] [NEW] net: openvswitch: fix race on port output

2023-05-23 Thread William Tu
Public bug reported: fix race on port output * Explain the bug(s) there is a race condition on port output * brief explanation of fixes We found that upstream linux has the same issue and fix commit 066b86787fa3d97b7aefb5ac0a99a22dad2d15f8 Author: Felix Huettner Date: Wed Apr 5 07:53:41

[Kernel-packages] [Bug 2008136] Re: netfilter: flowtable: add counter support in HW offload

2023-04-12 Thread William Tu
** Description changed: * Explain the bug(s) While conntrack tuples are offloaded to hardware and conntrack packet accounting is enabled, offloaded packets aren't counted. * Brief explanation of fixes Cherry-pick. No adaptation. First commit for SW, second commit of HW

[Kernel-packages] [Bug 2015293] [NEW] netfilter: ctnetlink: Support offloaded conntrack entry deletion

2023-04-04 Thread William Tu
Public bug reported: * Explain the bug(s) conntrack -D or conntrack -F doesn't delete offloaded tuples. * brief explanation of fixes Add support for to delete offloaded tuples via netlink interface and userspace conntrack utility. * How to test Create OVS bridge with 2 devices mlx5 rep

[Kernel-packages] [Bug 2015136] [NEW] Support hardware stats for tc actions

2023-04-03 Thread William Tu
Public bug reported: Support hardware stats for tc actions * Explain the bug(s) tc hardware stats are not offloaded from some offloaded actions (pedit, sample, skbedit) * brief explanation of fixes Implement the necessary callbacks to report back stats for these actions. * How to test

[Kernel-packages] [Bug 2012571] [NEW] net/sched: cls_api: Support hardware miss to tc action

2023-03-22 Thread William Tu
Public bug reported: * Explain the bug(s) Currently tc miss interface only supports resuming from a specific tc chain. If a packet modification is done before a missable action such as CT and there is a miss in CT after it, this may cause a miss match when resuming re-executing the same chain

[Kernel-packages] [Bug 2008136] Re: netfilter: flowtable: add counter support in HW offload

2023-03-21 Thread William Tu
** Changed in: linux-bluefield (Ubuntu Focal) Status: Confirmed => In Progress -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-bluefield in Ubuntu. https://bugs.launchpad.net/bugs/2008136 Title: netfilter: flowtable: add

[Kernel-packages] [Bug 2008136] Re: netfilter: flowtable: add counter support in HW offload

2023-03-21 Thread William Tu
** Changed in: linux-bluefield (Ubuntu Focal) Status: In Progress => Confirmed -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-bluefield in Ubuntu. https://bugs.launchpad.net/bugs/2008136 Title: netfilter: flowtable: add

[Kernel-packages] [Bug 2008136] Re: Add HW offloaded CT stats

2023-02-23 Thread William Tu
** Description changed: * Explain the bug(s) When CT HW offload is enabled, the CT stats does not show the stats of the offloaded flow. Ex: using cat /proc/net/nf_conntrack, or conntrack -L shows only the software CT stats, not the offloaded CT stats * Brief explanation of

[Kernel-packages] [Bug 2008136] Re: Add HW offloaded CT stats

2023-02-22 Thread William Tu
** Description changed: * Explain the bug(s) When CT HW offload is enabled, the CT stats does not show the stats of the offloaded flow. - Ex: using + Ex: using cat /proc/net/nf_conntrack, or conntrack -L shows only the software CT stats, not the offloaded CT stats * Brief

[Kernel-packages] [Bug 2008136] [NEW] Add HW offloaded CT stats

2023-02-22 Thread William Tu
Public bug reported: * Explain the bug(s) When CT HW offload is enabled, the CT stats does not show the stats of the offloaded flow. Ex: using cat /proc/net/nf_conntrack, or conntrack -L shows only the software CT stats, not the offloaded CT stats * Brief explanation of fixes Cherry-pick. No