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
Unknown Object (File)
Mon, Jan 27, 4:40 PM
Unknown Object (File)
Sat, Jan 18, 9:26 PM
Unknown Object (File)
Thu, Jan 16, 12:07 PM
Unknown Object (File)
Nov 16 2024, 7:39 AM
Unknown Object (File)
Nov 16 2024, 7:25 AM
Unknown Object (File)
Nov 16 2024, 4:50 AM
Unknown Object (File)
Nov 14 2024, 9:24 AM
Unknown Object (File)
Nov 10 2024, 3:32 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 48287
Build 45173: 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