The NetBSD Project

CVS log for src/sys/dev/ipmi.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / dev

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.4.4.3 / (download) - annotate - [select for diffs], Sat Jun 3 15:17:31 2023 UTC (10 months, 1 week ago) by martin
Branch: netbsd-9
Changes since 1.4.4.2: +33 -9 lines
Diff to previous 1.4.4.2 (colored) to branchpoint 1.4 (colored) next main 1.5 (colored)

Pull up following revision(s) (requested by sborrill in ticket #1639):

	sys/dev/ipmi.c: revision 1.10

Ignore non-recoverable and critical limits smaller than the warning limits.
These are usually invalid.

Name the limit flags to make code more readable.

Revision 1.9.10.1 / (download) - annotate - [select for diffs], Sat Jun 3 15:16:08 2023 UTC (10 months, 1 week ago) by martin
Branch: netbsd-10
CVS Tags: netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1
Changes since 1.9: +33 -9 lines
Diff to previous 1.9 (colored) next main 1.10 (colored)

Pull up following revision(s) (requested by sborrill in ticket #191):

	sys/dev/ipmi.c: revision 1.10

Ignore non-recoverable and critical limits smaller than the warning limits.
These are usually invalid.

Name the limit flags to make code more readable.

Revision 1.10 / (download) - annotate - [select for diffs], Wed Mar 22 13:00:54 2023 UTC (12 months, 3 weeks ago) by mlelstv
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, HEAD
Changes since 1.9: +33 -9 lines
Diff to previous 1.9 (colored)

Ignore non-recoverable and critical limits smaller than the warning limits.
These are usually invalid.

Name the limit flags to make code more readable.

Revision 1.4.4.2 / (download) - annotate - [select for diffs], Wed Dec 8 15:50:13 2021 UTC (2 years, 4 months ago) by martin
Branch: netbsd-9
CVS Tags: netbsd-9-3-RELEASE
Changes since 1.4.4.1: +19 -13 lines
Diff to previous 1.4.4.1 (colored) to branchpoint 1.4 (colored)

Pull up following revision(s) (requested by hauke in ticket #1392):

	sys/dev/ipmi.c: revision 1.6
	sys/dev/ipmi.c: revision 1.7
	sys/dev/ipmi.c: revision 1.8
	sys/dev/ipmi.c: revision 1.9

Fail open when ipmi device was found.
Clear sc_envsys on failure to prevent double-free.

ipmi(4): Use config_pending_incr/decr.
Don't abuse autoconf's private (and incoherent) dv_flags.

ipmi(4): Notify config_pending_decr when ready, not when dying.
Should fix hang at boot.

ipmi(4): Tidy up ipmi_thread a little.
- Join on detach -- don't free anything until thread has exited; thread
  may still be using stuff.
- Nix dead error branch -- malloc(M_WAITOK) cannot fail.
- x = malloc(sizeof(x[0]) * n), not x = malloc(sizeof(type_t) * n)

Revision 1.5.6.1 / (download) - annotate - [select for diffs], Thu Jun 17 04:46:27 2021 UTC (2 years, 9 months ago) by thorpej
Branch: thorpej-i2c-spi-conf
Changes since 1.5: +19 -13 lines
Diff to previous 1.5 (colored) next main 1.6 (colored)

Sync w/ HEAD.

Revision 1.9 / (download) - annotate - [select for diffs], Tue Jun 15 00:20:33 2021 UTC (2 years, 9 months ago) by riastradh
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-futex2-base, thorpej-futex2, thorpej-cfargs2-base, thorpej-cfargs2, netbsd-10-base, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Branch point for: netbsd-10
Changes since 1.8: +7 -10 lines
Diff to previous 1.8 (colored)

ipmi(4): Tidy up ipmi_thread a little.

- Join on detach -- don't free anything until thread has exited; thread
  may still be using stuff.
- Nix dead error branch -- malloc(M_WAITOK) cannot fail.
- x = malloc(sizeof(x[0]) * n), not x = malloc(sizeof(type_t) * n)

Revision 1.8 / (download) - annotate - [select for diffs], Mon Jun 14 22:00:10 2021 UTC (2 years, 9 months ago) by riastradh
Branch: MAIN
Changes since 1.7: +4 -3 lines
Diff to previous 1.7 (colored)

ipmi(4): Notify config_pending_decr when ready, not when dying.

Should fix hang at boot.

Revision 1.7 / (download) - annotate - [select for diffs], Sat Jun 12 12:15:43 2021 UTC (2 years, 10 months ago) by riastradh
Branch: MAIN
Changes since 1.6: +4 -4 lines
Diff to previous 1.6 (colored)

ipmi(4), intelfb(4): Use config_pending_incr/decr.

Don't abuse autoconf's private (and incoherent) dv_flags.

Revision 1.5.10.1 / (download) - annotate - [select for diffs], Sun Jun 6 20:30:51 2021 UTC (2 years, 10 months ago) by cjep
Branch: cjep_sun2x
Changes since 1.5: +11 -3 lines
Diff to previous 1.5 (colored) next main 1.6 (colored)

sync with head

Revision 1.6 / (download) - annotate - [select for diffs], Sun Jun 6 11:48:55 2021 UTC (2 years, 10 months ago) by mlelstv
Branch: MAIN
CVS Tags: cjep_sun2x-base1
Changes since 1.5: +11 -3 lines
Diff to previous 1.5 (colored)

Fail open when ipmi device was found.
Clear sc_envsys on failure to prevent double-free.

Revision 1.4.4.1 / (download) - annotate - [select for diffs], Tue Aug 18 09:36:36 2020 UTC (3 years, 7 months ago) by martin
Branch: netbsd-9
CVS Tags: netbsd-9-2-RELEASE, netbsd-9-1-RELEASE
Changes since 1.4: +6 -6 lines
Diff to previous 1.4 (colored)

Pull up following revision(s) (requested by nonaka in ticket #1056):

	sys/dev/ipmi.c: revision 1.5

ipmi(4): Fixed a bug that incorrect condition is notified.

When the value obtained from the sensor is below the lower limit of
the critical threshold, it is notified that the value is below the lower
limit of the warning threshold.

Revision 1.5 / (download) - annotate - [select for diffs], Mon Aug 17 08:34:36 2020 UTC (3 years, 7 months ago) by nonaka
Branch: MAIN
CVS Tags: thorpej-futex-base, thorpej-futex, thorpej-cfargs-base, thorpej-cfargs, cjep_sun2x-base, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Branch point for: thorpej-i2c-spi-conf, cjep_sun2x
Changes since 1.4: +6 -6 lines
Diff to previous 1.4 (colored)

ipmi(4): Fixed a bug that incorrect condition is notified.

When the value obtained from the sensor is below the lower limit of
the critical threshold, it is notified that the value is below the lower
limit of the warning threshold.

Revision 1.4.2.2 / (download) - annotate - [select for diffs], Mon Jun 10 22:07:04 2019 UTC (4 years, 10 months ago) by christos
Branch: phil-wifi
Changes since 1.4.2.1: +2517 -0 lines
Diff to previous 1.4.2.1 (colored) to branchpoint 1.4 (colored) next main 1.5 (colored)

Sync with HEAD

Revision 1.4.2.1, Sat May 18 08:38:00 2019 UTC (4 years, 10 months ago) by christos
Branch: phil-wifi
Changes since 1.4: +0 -2517 lines
FILE REMOVED

file ipmi.c was added on branch phil-wifi on 2019-06-10 22:07:04 +0000

Revision 1.4 / (download) - annotate - [select for diffs], Sat May 18 08:38:00 2019 UTC (4 years, 10 months ago) by mlelstv
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, netbsd-9-base, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Branch point for: phil-wifi, netbsd-9
Changes since 1.3: +274 -6 lines
Diff to previous 1.3 (colored)

Add experimental userland interface to IPMI driver. Currently, transactions
(like sensor readout) are locked, so that a userland program may interfere with
envsys operation.

To use this you need a program like ipmitool built with OpenIPMI support.

Revision 1.2.2.4 / (download) - annotate - [select for diffs], Fri Jan 18 08:50:25 2019 UTC (5 years, 2 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.2.2.3: +65 -22 lines
Diff to previous 1.2.2.3 (colored) next main 1.3 (colored)

Synch with HEAD

Revision 1.2.2.3 / (download) - annotate - [select for diffs], Tue Jan 1 05:38:34 2019 UTC (5 years, 3 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.2.2.2: +5 -4 lines
Diff to previous 1.2.2.2 (colored)

Bring in some fixes from HEAD to address a couple of build breaks (in
i386 ipmi driver and sun2 rump tests).  Also fix a 'resolve conflict'
from previous commit in sparc64

With this, I am able to successfully build 66 out of 67 architectures
(the same architectures as handled by the releng build server.  The
only exception is evbarm64 which has a strange build failure during
the installcd step - the same failure occurs on HEAD.  It seems to be
something in the build itself, perhaps a difference between handling
of -O vs -M (MAKEOBJDIR vs MAKEOBJDIRPREFIX).

Revision 1.3 / (download) - annotate - [select for diffs], Fri Dec 28 12:44:15 2018 UTC (5 years, 3 months ago) by mlelstv
Branch: MAIN
CVS Tags: pgoyette-compat-20190127, pgoyette-compat-20190118, isaki-audio2-base, isaki-audio2
Changes since 1.2: +65 -22 lines
Diff to previous 1.2 (colored)

Be more verbose about the IPMI device.

Revision 1.2.2.2 / (download) - annotate - [select for diffs], Wed Dec 26 14:01:47 2018 UTC (5 years, 3 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.2.2.1: +2205 -0 lines
Diff to previous 1.2.2.1 (colored)

Sync with HEAD, resolve a few conflicts

Revision 1.2.2.1, Wed Dec 26 06:45:58 2018 UTC (5 years, 3 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.2: +0 -2206 lines
FILE REMOVED

file ipmi.c was added on branch pgoyette-compat on 2018-12-26 14:01:47 +0000

Revision 1.2 / (download) - annotate - [select for diffs], Wed Dec 26 06:45:58 2018 UTC (5 years, 3 months ago) by mlelstv
Branch: MAIN
Branch point for: pgoyette-compat
Changes since 1.1: +5 -4 lines
Diff to previous 1.1 (colored)

Fix 32bit build.

Revision 1.1 / (download) - annotate - [select for diffs], Tue Dec 25 11:56:13 2018 UTC (5 years, 3 months ago) by mlelstv
Branch: MAIN
CVS Tags: pgoyette-compat-1226

Make ipmi driver available to other platforms.
Add ACPI attachment.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>