This bug is awaiting verification that the linux-
bluefield/5.15.0-1055.57 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-jammy-linux-bluefield' to
'verification-done-jammy-linux-bluefield'. If the problem still exists,
change the tag 'verification-needed-jammy-linux-bluefield' to
'verification-failed-jammy-linux-bluefield'.


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: kernel-spammed-jammy-linux-bluefield-v2 
verification-needed-jammy-linux-bluefield

-- 
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/2078881

Title:
  mlx-bootctl: support RTC battery status read and clear

Status in linux-bluefield package in Ubuntu:
  New
Status in linux-bluefield source package in Jammy:
  Fix Committed

Bug description:
  SRU Justification:

  [Impact]

  The RTC battery status is not directly accessible from the kernel user
  space. The recent Nvidia UEFI added SMC to report the RTC battery
  status and clear the status bit if needed.

  [Fix]

  * Added an rtc_battery entry in the bootctl driver.
  * Read the rtc_battery entry will trigger an SMC call to read the RTC battery 
status.

  [Test Case]

  * Check if the bootctl driver is loaded.
  * Check the rtc_battery entry:
  cat /sys/bus/platform/drivers/mlxbf-bootctl/rtc_battery
  A value of 0x0 means RTC battery voltage is good.
  A value of 0x80 means RTC battery voltage is low. The status bit is also 
cleared after the read.
  An error code will be return if this feature is missing from UEFI.

  [Other]
  * This code is likely to change depending on feedback we received from 
maintainers.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-bluefield/+bug/2078881/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to