Skip to content

powerpc/ibmvnic: DLPAR fix kernel Oops when add of vNIC device

Diego Domingos requested to merge didoming/centos-stream-9:bz2055981 into main

Bugzilla: http://bugzilla.redhat.com/2055981

Brew: https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=43166875

Tested:

# uname -a
Linux ltczep10-lp1 5.14.0-64.bz2055981_test.el9.ppc64le #1 SMP Fri Feb 18 08:34:13 EST 2022 ppc64le ppc64le ppc64le GNU/Linux

Configured env3 and allow NM to control it.

Ran test:

!/bin/bash
for i in `seq 1 20`
do
        echo "===== Iteration $i at `date` ====="
    drmgr -r -c slot -s U9040.MR9.132987X-V1-C3 -w 5 -d 1
    sleep 5
    drmgr -a -c slot -s U9040.MR9.132987X-V1-C3 -w 5 -d 1
    sleep 5
    ip a s dev env3
done

and did not hit the crash (although the problem is hard
to reproduce and direct use of drmgr is not recommended).

Avocado CI io_vnic tests ran fine on this build.

Signed-off-by: Diego Domingos didoming@redhat.com

Merge request reports