Page MenuHomeFreeBSD

bhyve: nvme controller obey async event setting when reporting critical temperature
ClosedPublic

Authored by wanpengqian_gmail.com on Nov 11 2022, 7:59 AM.
Tags
None
Referenced Files
F115309529: D37355.diff
Tue, Apr 22, 11:29 AM
Unknown Object (File)
Mon, Apr 7, 9:18 PM
Unknown Object (File)
Mar 14 2025, 10:55 AM
Unknown Object (File)
Mar 10 2025, 1:08 PM
Unknown Object (File)
Mar 4 2025, 9:16 PM
Unknown Object (File)
Feb 22 2025, 2:36 PM
Unknown Object (File)
Feb 14 2025, 4:12 AM
Unknown Object (File)
Feb 10 2025, 1:28 PM

Details

Summary

async event report is controlled by async event configuration feature setting.
when reporting a critical temperature warning, check the async event configuration.

Test Plan

trigger a critical temperature event whether the on/off setting is effective.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 48306
Build 45192: arc lint + arc unit

Event Timeline

corvink added inline comments.
usr.sbin/bhyve/pci_nvme.c
1761

address feedback

usr.sbin/bhyve/pci_nvme.c
1761

this init value will be overridden by the following statement. I think giving an init value to false is reasonable at first.

This revision is now accepted and ready to land.Nov 14 2022, 10:48 AM