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
F173231077: D37355.id113111.diff
Thu, Sep 24, 12:44 PM
F173203334: D37355.diff
Thu, Sep 24, 6:54 AM
Unknown Object (File)
Wed, Sep 23, 5:50 AM
Unknown Object (File)
Sun, Sep 13, 2:49 PM
Unknown Object (File)
Fri, Sep 11, 2:29 AM
Unknown Object (File)
Fri, Sep 11, 1:59 AM
Unknown Object (File)
Tue, Sep 8, 12:07 AM
Unknown Object (File)
Mon, Sep 7, 11:50 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 Not Applicable
Unit
Tests Not Applicable

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