ipmb_dev_int.c: sync up with upstream

Bug #1980525 reported by Asmaa Mnebhi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux-bluefield (Ubuntu)
Invalid
Undecided
Unassigned
Focal
Fix Released
Medium
Asmaa Mnebhi

Bug Description

SRU Justification:

[Impact]

Sync up the ipmb_dev_int.c with the latest version available in the upstream master branch.

[Fix]

* cherry-pick fc26067c7417e7fafed7bcc97bda155d91988734
  ipmi: remove open coded version of SMBus block write
* backport ipmb_dev_int.c related change from
  commit 0924c5a0cbed5831a2a0ff2f9a19692265f1ab92
  The above commit makes modifications to 3 files:
  ipmb_dev_int.c, ipmi_ipmb.c and ipmi_ssif.c
  ipmi_ipmb.c doesn't exist on 5.4, so we just pull the change targeting
  ipmb_dev_int.c

[Test Case]

* check ipmb_dev_int is loaded without failure (check dmesg and lsmod)
* verify that /dev/ipmb-2 is created
* run ipmi command from bmc to send requests to BF DPU and verify that the response is as expected

[Regression Potential]

Any of the test cases above could be impacted due to these changes.

Asmaa Mnebhi (asmaam)
description: updated
Stefan Bader (smb)
Changed in linux-bluefield (Ubuntu Focal):
assignee: nobody → Asmaa Mnebhi (asmaam)
importance: Undecided → Medium
status: New → In Progress
Changed in linux-bluefield (Ubuntu):
status: New → Invalid
Changed in linux-bluefield (Ubuntu Focal):
status: In Progress → Fix Committed
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote :

This bug is awaiting verification that the linux-bluefield/5.4.0-1043.48 kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-focal' to 'verification-done-focal'. If the problem still exists, change the tag 'verification-needed-focal' to 'verification-failed-focal'.

If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you!

tags: added: verification-needed-focal
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (9.7 KiB)

This bug was fixed in the package linux-bluefield - 5.4.0-1044.49

---------------
linux-bluefield (5.4.0-1044.49) focal; urgency=medium

  [ Ubuntu: 5.4.0-124.140 ]

  * CVE-2022-2586
    - SAUCE: netfilter: nf_tables: do not allow SET_ID to refer to another table
    - SAUCE: netfilter: nf_tables: do not allow RULE_ID to refer to another chain
  * CVE-2022-2588
    - SAUCE: net_sched: cls_route: remove from list when handle is 0
  * CVE-2022-34918
    - netfilter: nf_tables: stricter validation of element data

linux-bluefield (5.4.0-1043.48) focal; urgency=medium

  * focal/linux-bluefield: 5.4.0-1043.48 -proposed tracker (LP: #1981258)

  * pwr-mlxbf.c: make hids local variables (LP: #1980774)
    - SAUCE: pwr-mlxbf.c: make hids local variables

  * ipmb_host.c: rename structs to be driver specific (LP: #1980537)
    - SAUCE: ipmb_host.c: rename structs to be driver specific

  * ipmb_dev_int.c: sync up with upstream (LP: #1980525)
    - ipmi: remove open coded version of SMBus block write
    - ipmi: use simple i2c probe function

  * mlx-trio module license update (LP: #1979264)
    - SAUCE: mlx-trio: Module license update

  * misleading error prints from mlx-trio (LP: #1979045)
    - SAUCE: mlx-trio: Use pr_debug for TRIO IRQ prints

  [ Ubuntu: 5.4.0-123.139 ]

  * focal/linux: 5.4.0-123.139 -proposed tracker (LP: #1981284)
  * Packaging resync (LP: #1786013)
    - debian/dkms-versions -- update from kernel-versions (main/2022.07.11)
  * Hairpin traffic does not work with centralized NAT gw (LP: #1967856)
    - net: openvswitch: fix misuse of the cached connection on tuple changes
  * [UBUNTU 20.04] Include patches to avoid self-detected stall with Secure
    Execution (LP: #1979296)
    - KVM: s390: pv: add macros for UVC CC values
    - KVM: s390: pv: avoid stalls when making pages secure
    - KVM: s390: pv: avoid stalls for kvm_s390_pv_init_vm
  * Focal update: v5.4.195 upstream stable release (LP: #1980407)
    - batman-adv: Don't skb_split skbuffs with frag_list
    - hwmon: (tmp401) Add OF device ID table
    - mac80211: Reset MBSSID parameters upon connection
    - net: Fix features skip in for_each_netdev_feature()
    - ipv4: drop dst in multicast routing path
    - drm/nouveau: Fix a potential theorical leak in nouveau_get_backlight_name()
    - netlink: do not reset transport header in netlink_recvmsg()
    - mac80211_hwsim: call ieee80211_tx_prepare_skb under RCU protection
    - dim: initialize all struct fields
    - hwmon: (ltq-cputemp) restrict it to SOC_XWAY
    - s390/ctcm: fix variable dereferenced before check
    - s390/ctcm: fix potential memory leak
    - s390/lcs: fix variable dereferenced before check
    - net/sched: act_pedit: really ensure the skb is writable
    - net/smc: non blocking recvmsg() return -EAGAIN when no data and
      signal_pending
    - net: sfc: ef10: fix memory leak in efx_ef10_mtd_probe()
    - gfs2: Fix filesystem block deallocation for short writes
    - hwmon: (f71882fg) Fix negative temperature
    - ASoC: max98090: Reject invalid values in custom control put()
    - ASoC: max98090: Generate notifications on changes for custom control
    - ASoC: ops: Validate input values in snd_...

Read more...

Changed in linux-bluefield (Ubuntu Focal):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.