Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-03-29 | Add glue to make ipmi(4) attach to FDT. | Mark Kettenis | |
ok deraadt@ | |||
2020-03-19 | Plug memory leak of psensor if read_sensor does not return zero. | tracey | |
CID 1491654 ok mpi@ kn@ florian@ | |||
2020-03-09 | Return error value when sending "sensor reading" is failed. This fixes | YASUOKA Masahiko | |
"ipmi0: sendcmd fails" errors when there is a sensor which is enumurated but reading it is failed. ok mpi | |||
2020-02-18 | ipmi(4): tsleep(9) -> tsleep_nsec(9) | cheloha | |
There remains a polling sleep in this driver. We can fix it separately. ok mpi@ | |||
2020-01-11 | Make sure we use signed types in the sensor value calculation; 'char' is | Mark Kettenis | |
unsigned on some of our hardware platforms! ok deraadt@ | |||
2019-12-31 | Convert infinite sleeps to {m,t}sleep_nsec(9). | Martin Pieuchot | |
ok kn@ | |||
2019-12-19 | Use bus_size_t as the type for the base address. | Mark Kettenis | |
ok deraadt@, dlg@ | |||
2019-08-19 | Add support for SMBus System Interface (SSIF). | Mark Kettenis | |
ok jmatthew@ | |||
2019-08-13 | Reorganize the ipmi(4) code a bit in anticipation of adding SSIF support: | Mark Kettenis | |
- Put function prototypes in more logical places. - Inroduce a ipmi_attach_common() function. - Move all the SMBIOS related code to the end of the file and only compile it in on amd64 & i386. ok jmatthew@ and deraadt@ | |||
2019-08-12 | Remlve command mutex. It is unnecessary since commands are already | Mark Kettenis | |
serialized by the use of a taskq and it prevents sendmsg/endmsg from being able to sleep. This hurts when implementing SSIF since some i2c controllers sleep while waiting for transactions on the i2c bus to complete. ok jmatthew@, deraadt@ | |||
2018-06-15 | Use IPL_MPFLOOR for ipmi mutex to prevent a interrupt which requires | YASUOKA Masahiko | |
KERNEL_LOCK(). This fixes the panic with with witness. diff from fukaumi at soum.co.jp. input and ok mpi | |||
2018-04-13 | Don't panic if ipmi_sendcmd() fails | YASUOKA Masahiko | |
diff from fukaumi at soum.co.jp. ok deraadt mpi | |||
2018-01-01 | The missing NULL check for the return value of malloc(9) with | Alexander Bluhm | |
M_NOWAIT is wrong. Use M_WAITOK in ipmi_match() during attach. OK kettenis@ | |||
2017-09-08 | If you use sys/param.h, you don't need sys/types.h | Theo de Raadt | |
2017-06-29 | set c.c_maxrxlen to something. apparently lost a line somewhere. | Ted Unangst | |
maybe it works now? :) from Colin Stolley via Paul B. Henson | |||
2016-06-07 | per trending style, add continue to empty loops. | Ted Unangst | |
ok mglocker | |||
2016-03-27 | Always sleep at same priority. | Martin Pieuchot | |
ok uebayasi@ | |||
2016-02-11 | ipmi(4) - Check sensor name length more carefully | Masao Uebayashi | |
Don't blindly trust sensor name info returned from BMC. Check them more carefully. Prevent DELL R210 II from panic'ing. Problem reported & tested by sthen@ Much feedback & close review & OK by jsg@ | |||
2016-02-07 | Comment. | Masao Uebayashi | |
2016-02-07 | Remove a too strict assertion. | Masao Uebayashi | |
2016-02-05 | Implement FreeBSD-compatible IOCTL to access BMC in ipmi(4) | Masao Uebayashi | |
Initial help & testing by jmatthew@ Code review & input by mpi@ Final review & OK by jsg@ | |||
2016-01-25 | Replace magic numbers. | Masao Uebayashi | |
2016-01-12 | Use task to execute command except polling context. | Masao Uebayashi | |
2016-01-12 | Use task to execute watchdog tickle. | Masao Uebayashi | |
2016-01-12 | Refactor ipmi_watchdog(); split tickle and set into separate functions. | Masao Uebayashi | |
2016-01-11 | Make sendmsg() and recvmsg() functions take only struct ipmi_cmd *. | Masao Uebayashi | |
Handle interface specific command length more nicely. No functional changes. | |||
2016-01-11 | Allocate command data buffer on softc and use it from both ipmi_sendcmd() | Masao Uebayashi | |
and ipmi_recvcmd(). No functional changes. | |||
2016-01-11 | Refactor buildmsg() functions to take struct ipmi_cmd * instead of 6 | Masao Uebayashi | |
arguments. No functional changes. | |||
2016-01-11 | Introduce struct ipmi_cmd and have ipmi_cmd() function. IPMI command | Masao Uebayashi | |
sequence is always a pair of send and receive; call both from ipmi_cmd(). By making ipmi_cmd() take only one argument struct ipmi_cmd *, this also helps to prepare to call ipmi_cmd() as a task. No functional changes intended. | |||
2016-01-11 | Remove useless sc_poll flag because it is always 1. Remove unused global | Masao Uebayashi | |
ipmi_poll too. | |||
2016-01-11 | Read values from disabled sensors if possible. From jmatthew@. | Masao Uebayashi | |
2016-01-10 | Print a message to console when ipmi(4) watchdog is either enabled or | Masao Uebayashi | |
disabled. Replace a magic number while here. | |||
2016-01-10 | When stopping wdog (via wdog_shutdown() e.g. before entering shutdown), | Masao Uebayashi | |
clear DONTSTOP bits. Without this, BMC records, at least on some NEC servers, watchdog timer expiration event, which only confuses admins. OK kettenis@ | |||
2016-01-09 | Correct sensor threashold handling by properly checking response of Get Sensor | Masao Uebayashi | |
Reading Command. Patch from jmatthew@. Extra review by kettenis@. Tested by me. | |||
2016-01-07 | Copy received data only if it exists. Avoid panics in odd situations. | Masao Uebayashi | |
2015-09-08 | sizes for free(); ok semarie | Theo de Raadt | |
2015-06-21 | memory leak on failure; from Maxime Villard | Theo de Raadt | |
2015-01-07 | Fix impi(4) to make watchdog work and not to panic. | YASUOKA Masahiko | |
diff from uebayasi jsg ok uebayasi | |||
2014-12-10 | Convert watchdog(4) devices to use autoconf(9) framework. | Mike Belopuhov | |
ok deraadt, tests on glxpcib and ok mpi | |||
2014-10-21 | Style + typos in debug printfs. | Masao Uebayashi | |
2014-07-12 | add a size argument to free. will be used soon, but for now default to 0. | Ted Unangst | |
after discussions with beck deraadt kettenis. | |||
2014-07-08 | decouple struct uvmexp into a new file, so that uvm_extern.h and sysctl.h | Theo de Raadt | |
don't need to be married. ok guenther miod beck jsing kettenis | |||
2014-05-04 | format string fix for bus_space_tag_t | Stefan Fritsch | |
bus_space_tag_t is a pointer everywhere, except on i386, where it's an int. Cast to long. ok kettenis@ 'Right idiom' deraadt@ | |||
2013-07-03 | The ipmi threshold value may be negative. Respect the sign bit | Alexander Bluhm | |
when checking wether an ipmi sensor is critial. From Matthias Pitzl; OK deraadt@ | |||
2013-04-10 | Fix various glitches in queue macro usage. | Philip Guenther | |
ok millert@ | |||
2012-12-21 | tweak for malloc(9) calls: | Gleydson Soares | |
- M_CANFAIL is useless here since that M_NOWAIT will return NULL immediately if no resources. OK mikeb@ mpi@ | |||
2012-10-17 | Swap arguments to wdog_register() since it is nicer, and prepare | Theo de Raadt | |
wdog_shutdown() for external usage. | |||
2010-05-24 | We sometimes compile kernels with -Wvariable-decl because it makes us | Theo de Raadt | |
happier regarding potential kernel stack overflows, so just use the (small) maximum buffer size in one case. ok marco | |||
2008-06-11 | replace the last missing xname header before an error message in get_sdr(); ↵ | Constantine A. Murenin | |
ok deraadt | |||
2008-02-16 | Call sensordev_install() iff we find and sensor_attach() the individual sensors. | Constantine A. Murenin | |
The call got misplaced in ipmi.c#rev1.59 on 2007-08-31. ok marco; tested todd |