The NetBSD Project

CVS log for src/sys/arch/x86/x86/Attic/ipmi.c

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.64.10.1: download - view: text, markup, annotated - select for diffs
Tue Aug 18 09:41:10 2020 UTC (4 years, 3 months ago) by martin
Branches: netbsd-8
CVS tags: netbsd-8-3-RELEASE
Diff to: previous 1.64: preferred, colored; next MAIN 1.65: preferred, colored
Changes since revision 1.64: +6 -6 lines
Pull up following revision(s) (requested by nonaka in ticket #1597):

	sys/dev/ipmi.c: revision 1.5
	(applied to sys/arch/x86/x86/ipmi.c)

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.66.6.1
Mon Jun 10 22:06:54 2019 UTC (5 years, 6 months ago) by christos
Branches: phil-wifi
FILE REMOVED
Changes since revision 1.66: +2 -2 lines
Sync with HEAD

Revision 1.66.4.2
Wed Dec 26 14:01:45 2018 UTC (5 years, 11 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
FILE REMOVED
Changes since revision 1.66.4.1: +2 -2 lines
Sync with HEAD, resolve a few conflicts

Revision 1.71
Tue Dec 25 11:56:13 2018 UTC (5 years, 11 months ago) by mlelstv
Branches: MAIN
CVS tags: thorpej-futex-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, isaki-audio2-base, isaki-audio2, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, bouyer-sunxi-drm-base, bouyer-sunxi-drm, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache, HEAD
FILE REMOVED
Changes since revision 1.70: +2 -2 lines
Make ipmi driver available to other platforms.
Add ACPI attachment.

Revision 1.70: download - view: text, markup, annotated - select for diffs
Mon Dec 17 16:26:03 2018 UTC (5 years, 11 months ago) by christos
Branches: MAIN
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +12 -8 lines
Back to using aprint_error() and get more info about the error so we can
figure out why we can't map the registers.

Revision 1.69: download - view: text, markup, annotated - select for diffs
Mon Dec 17 15:12:52 2018 UTC (5 years, 11 months ago) by gson
Branches: MAIN
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +3 -4 lines
Don't call aprint_error_dev() with a NULL dev.  Fixes PR port-amd64/53789.

Revision 1.68: download - view: text, markup, annotated - select for diffs
Sat Dec 1 01:56:30 2018 UTC (6 years ago) by msaitoh
Branches: MAIN
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +5 -3 lines
 Use DVF_ATTACH_INPROGRESS.

Revision 1.66.4.1: download - view: text, markup, annotated - select for diffs
Sat Oct 20 06:58:30 2018 UTC (6 years, 1 month ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +4 -4 lines
Sync with head

Revision 1.67: download - view: text, markup, annotated - select for diffs
Sun Oct 14 17:37:40 2018 UTC (6 years, 1 month ago) by jdolecek
Branches: MAIN
CVS tags: pgoyette-compat-1126, pgoyette-compat-1020
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +4 -4 lines
remove M_CANFAIL flag for malloc(9) - it was completely ignored, so had
actually no effect

Revision 1.53.2.3: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:36:50 2017 UTC (7 years ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.53.2.2: preferred, colored; branchpoint 1.53: preferred, colored; next MAIN 1.54: preferred, colored
Changes since revision 1.53.2.2: +176 -159 lines
update from HEAD

Revision 1.59.2.5: download - view: text, markup, annotated - select for diffs
Mon Aug 28 17:51:56 2017 UTC (7 years, 3 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.59.2.4: preferred, colored; branchpoint 1.59: preferred, colored; next MAIN 1.60: preferred, colored
Changes since revision 1.59.2.4: +161 -154 lines
Sync with HEAD

Revision 1.66: download - view: text, markup, annotated - select for diffs
Thu Jun 22 13:32:47 2017 UTC (7 years, 5 months ago) by joerg
Branches: MAIN
CVS tags: tls-maxphys-base-20171202, phil-wifi-base, pgoyette-compat-base, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825
Branch point for: phil-wifi, pgoyette-compat
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +3 -3 lines
Use a proper format string.

Revision 1.65: download - view: text, markup, annotated - select for diffs
Wed Jun 21 21:55:07 2017 UTC (7 years, 5 months ago) by christos
Branches: MAIN
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +161 -154 lines
knf, fix more error and debugging messages.

Revision 1.64: download - view: text, markup, annotated - select for diffs
Thu Jul 7 06:55:40 2016 UTC (8 years, 5 months ago) by msaitoh
Branches: MAIN
CVS tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: netbsd-8
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +6 -6 lines
KNF. Remove extra spaces. No functional change.

Revision 1.59.2.4: download - view: text, markup, annotated - select for diffs
Fri Apr 22 15:44:12 2016 UTC (8 years, 7 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.59.2.3: preferred, colored; branchpoint 1.59: preferred, colored
Changes since revision 1.59.2.3: +5 -4 lines
Sync with HEAD

Revision 1.63: download - view: text, markup, annotated - select for diffs
Sun Apr 3 10:32:00 2016 UTC (8 years, 8 months ago) by mlelstv
Branches: MAIN
CVS tags: nick-nhusb-base-20160529, nick-nhusb-base-20160422
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +5 -4 lines
Only fix up IPMI on ProLiant Microserver when address if set.
Don't assume a specific preconfigured address, just clear the lower bits.

Revision 1.59.2.3: download - view: text, markup, annotated - select for diffs
Tue Sep 22 12:05:54 2015 UTC (9 years, 2 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.59.2.2: preferred, colored; branchpoint 1.59: preferred, colored
Changes since revision 1.59.2.2: +3 -3 lines
Sync with HEAD

Revision 1.62: download - view: text, markup, annotated - select for diffs
Fri Aug 28 14:06:01 2015 UTC (9 years, 3 months ago) by joerg
Branches: MAIN
CVS tags: nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +3 -3 lines
Cast to uint64_t first in case the input is negative.

Revision 1.59.2.2: download - view: text, markup, annotated - select for diffs
Sat Jun 6 14:40:04 2015 UTC (9 years, 6 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.59.2.1: preferred, colored; branchpoint 1.59: preferred, colored
Changes since revision 1.59.2.1: +9 -11 lines
Sync with HEAD

Revision 1.61: download - view: text, markup, annotated - select for diffs
Mon Apr 13 16:03:51 2015 UTC (9 years, 7 months ago) by riastradh
Branches: MAIN
CVS tags: nick-nhusb-base-20150606
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +2 -4 lines
Convert arch/x86 to use <sys/rnd*.h>.  Omit needless includes.

Revision 1.59.2.1: download - view: text, markup, annotated - select for diffs
Mon Apr 6 15:18:04 2015 UTC (9 years, 8 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +6 -4 lines
Sync with HEAD

Revision 1.60: download - view: text, markup, annotated - select for diffs
Mon Dec 29 14:00:26 2014 UTC (9 years, 11 months ago) by mlelstv
Branches: MAIN
CVS tags: nick-nhusb-base-20150406
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +6 -4 lines
Avoid NULL pointer dereference if SMBIOS key "system-product" does not
exist.

Revision 1.57.2.1: download - view: text, markup, annotated - select for diffs
Mon Nov 10 17:59:57 2014 UTC (10 years, 1 month ago) by snj
Branches: netbsd-7
CVS tags: netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0
Diff to: previous 1.57: preferred, colored; next MAIN 1.58: preferred, colored
Changes since revision 1.57: +3 -2 lines
Pull up following revision(s) (requested by maxv in ticket #195):
	sys/arch/arm/iomd/iomd_irqhandler.c: revision 1.21
	sys/arch/arm/ofw/ofw_irqhandler.c: revision 1.21
	sys/arch/atari/atari/intr.c: revision 1.24-1.25
	sys/arch/ews4800mips/sbd/fb_sbdio.c: revision 1.14
	sys/arch/hpcmips/tx/tx39icu.c: revision 1.34
	sys/arch/shark/isa/isa_irqhandler.c: revision 1.27
	sys/arch/sparc/sparc/machdep.c: revision 1.327
	sys/arch/sparc64/dev/psycho.c: revision 1.119
	sys/arch/sparc64/dev/schizo.c: revision 1.32
	sys/arch/sparc64/sparc64/machdep.c: revision 1.279
	sys/arch/sun68k/sun68k/bus.c: revision 1.22
	sys/arch/x86/x86/ipmi.c: revision 1.58
	sys/arch/xen/xen/privcmd.c: revision 1.46-1.49
Fix several memory leaks.

Revision 1.59: download - view: text, markup, annotated - select for diffs
Mon Sep 22 13:30:55 2014 UTC (10 years, 2 months ago) by nat
Branches: MAIN
CVS tags: nick-nhusb-base
Branch point for: nick-nhusb
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +10 -2 lines
Make remote access cards on HP ProLiant microservers N36L,
N40L and N54L work with ipmi(4).

Addresses PR 48233.

This commit was approved by christos@

Revision 1.58: download - view: text, markup, annotated - select for diffs
Sun Sep 21 16:40:53 2014 UTC (10 years, 2 months ago) by christos
Branches: MAIN
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +3 -2 lines
fix leak.

Revision 1.53.2.2: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:03:29 2014 UTC (10 years, 3 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.53.2.1: preferred, colored; branchpoint 1.53: preferred, colored
Changes since revision 1.53.2.1: +10 -23 lines
Rebase to HEAD as of a few days ago.

Revision 1.57: download - view: text, markup, annotated - select for diffs
Sun Aug 10 16:44:34 2014 UTC (10 years, 4 months ago) by tls
Branches: MAIN
CVS tags: tls-maxphys-base, netbsd-7-base
Branch point for: netbsd-7
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +4 -23 lines
Merge tls-earlyentropy branch into HEAD.

Revision 1.50.8.2: download - view: text, markup, annotated - select for diffs
Thu May 22 11:40:14 2014 UTC (10 years, 6 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.50.8.1: preferred, colored; branchpoint 1.50: preferred, colored; next MAIN 1.51: preferred, colored
Changes since revision 1.50.8.1: +15 -11 lines
sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.54.6.2: download - view: text, markup, annotated - select for diffs
Sun May 18 17:45:30 2014 UTC (10 years, 6 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.54.6.1: preferred, colored; branchpoint 1.54: preferred, colored; next MAIN 1.55: preferred, colored
Changes since revision 1.54.6.1: +4 -2 lines
sync with head

Revision 1.56.2.1: download - view: text, markup, annotated - select for diffs
Mon Apr 7 03:37:31 2014 UTC (10 years, 8 months ago) by tls
Branches: tls-earlyentropy
Diff to: previous 1.56: preferred, colored; next MAIN 1.57: preferred, colored
Changes since revision 1.56: +4 -23 lines
Be a little more clear and consistent about harvesting entropy from devices:

1) deprecate RND_FLAG_NO_ESTIMATE

2) define RND_FLAG_COLLECT_TIME, RND_FLAG_COLLECT_VALUE

3) define RND_FLAG_ESTIMATE_TIME, RND_FLAG_ESTIMATE_VALUE

4) define RND_FLAG_DEFAULT: RND_FLAG_COLLECT_TIME|
   RND_FLAG_COLLECT_VALUE|RND_FLAG_ESTIMATE_TIME

5) Make entropy harvesting from environmental sensors a little more generic
   and remove it from individual sensor drivers.

6) Remove individual open-coded delta-estimators for values from a few
   places in the tree (uvm, environmental drivers).

7) 0 -> RND_FLAG_DEFAULT, actually gather entropy from various drivers
   that had stubbed out code, other minor cleanups.

Revision 1.56: download - view: text, markup, annotated - select for diffs
Thu Oct 17 20:58:55 2013 UTC (11 years, 1 month ago) by christos
Branches: MAIN
CVS tags: yamt-pagecache-base9, tls-earlyentropy-base, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3
Branch point for: tls-earlyentropy
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +4 -2 lines
__USE a debugging variable

Revision 1.54.6.1: download - view: text, markup, annotated - select for diffs
Wed Aug 28 23:59:24 2013 UTC (11 years, 3 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +8 -4 lines
sync with head

Revision 1.55: download - view: text, markup, annotated - select for diffs
Mon Aug 12 15:40:34 2013 UTC (11 years, 4 months ago) by yamt
Branches: MAIN
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +8 -4 lines
fix validness check of sensor value

this change is intended to mirror what ipmitool does.
(their macros for these bits are IS_READING_UNAVAILABLE and
IS_SCANNING_DISABLED.)

see also:
    second-gen-interface-spec-v2-rev1-4
    Table 35-15, Get Sensor Reading Command

might fix PR/46833 from Francois Tigeot

reviewed by Masanobu SAITOH and Tom Ivar Helbekkmo
tested by Tom Ivar Helbekkmo

Revision 1.53.2.1: download - view: text, markup, annotated - select for diffs
Sun Jun 23 06:20:14 2013 UTC (11 years, 5 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +7 -9 lines
resync from head

Revision 1.54: download - view: text, markup, annotated - select for diffs
Tue Mar 19 06:34:28 2013 UTC (11 years, 8 months ago) by msaitoh
Branches: MAIN
CVS tags: riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, khorben-n900, agc-symver-base, agc-symver
Branch point for: rmind-smpnet
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +7 -9 lines
KNF a bit.

Revision 1.50.8.1: download - view: text, markup, annotated - select for diffs
Tue Apr 17 00:07:06 2012 UTC (12 years, 7 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +34 -5 lines
sync with head

Revision 1.52.2.1: download - view: text, markup, annotated - select for diffs
Thu Apr 12 17:09:01 2012 UTC (12 years, 8 months ago) by riz
Branches: netbsd-6
CVS tags: netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus
Diff to: previous 1.52: preferred, colored; next MAIN 1.53: preferred, colored
Changes since revision 1.52: +9 -4 lines
Pull up following revision(s) (requested by njoly in ticket #176):
	sys/arch/x86/x86/ipmi.c: revision 1.53
For 1's and 2's complement sensor data, convert unsigned raw data to a
signed type before proceeding any computation. Fix handling of
negative temperatures that can be set for critmin/warnmin limits.

Revision 1.50.12.2: download - view: text, markup, annotated - select for diffs
Thu Apr 5 21:33:21 2012 UTC (12 years, 8 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.50.12.1: preferred, colored; branchpoint 1.50: preferred, colored; next MAIN 1.51: preferred, colored
Changes since revision 1.50.12.1: +9 -4 lines
sync to latest -current.

Revision 1.53: download - view: text, markup, annotated - select for diffs
Wed Apr 4 17:44:31 2012 UTC (12 years, 8 months ago) by njoly
Branches: MAIN
CVS tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base10
Branch point for: tls-maxphys
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +9 -4 lines
For 1's and 2's complement sensor data, convert unsigned raw data to a
signed type before proceeding any computation. Fix handling of
negative temperatures that can be set for critmin/warnmin limits.

Revision 1.50.12.1: download - view: text, markup, annotated - select for diffs
Sat Feb 18 07:33:36 2012 UTC (12 years, 9 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +27 -3 lines
merge to -current.

Revision 1.52: download - view: text, markup, annotated - select for diffs
Thu Feb 2 19:43:01 2012 UTC (12 years, 10 months ago) by tls
Branches: MAIN
CVS tags: netbsd-6-base, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2
Branch point for: netbsd-6
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +26 -3 lines
Entropy-pool implementation move and cleanup.

1) Move core entropy-pool code and source/sink/sample management code
   to sys/kern from sys/dev.

2) Remove use of NRND as test for presence of entropy-pool code throughout
   source tree.

3) Remove use of RND_ENABLED in device drivers as microoptimization to
   avoid expensive operations on disabled entropy sources; make the
   rnd_add calls do this directly so all callers benefit.

4) Fix bug in recent rnd_add_data()/rnd_add_uint32() changes that might
   have lead to slight entropy overestimation for some sources.

5) Add new source types for environmental sensors, power sensors, VM
   system events, and skew between clocks, with a sample implementation
   for each.

ok releng to go in before the branch due to the difficulty of later
pullup (widespread #ifdef removal and moved files).  Tested with release
builds on amd64 and evbarm and live testing on amd64.

Revision 1.51: download - view: text, markup, annotated - select for diffs
Tue Jan 10 15:23:11 2012 UTC (12 years, 11 months ago) by njoly
Branches: MAIN
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +3 -2 lines
Call aprint_naive for quiet boot message.

Revision 1.44.2.2: download - view: text, markup, annotated - select for diffs
Sat Mar 5 20:52:30 2011 UTC (13 years, 9 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.44.2.1: preferred, colored; next MAIN 1.45: preferred, colored
Changes since revision 1.44.2.1: +250 -60 lines
sync with head

Revision 1.28.2.4: download - view: text, markup, annotated - select for diffs
Sun Oct 24 22:48:18 2010 UTC (14 years, 1 month ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.28.2.3: preferred, colored; branchpoint 1.28: preferred, colored; next MAIN 1.29: preferred, colored
Changes since revision 1.28.2.3: +281 -79 lines
Sync with HEAD

Revision 1.18.4.7: download - view: text, markup, annotated - select for diffs
Sat Oct 9 03:31:58 2010 UTC (14 years, 2 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.18.4.6: preferred, colored; branchpoint 1.18: preferred, colored; next MAIN 1.19: preferred, colored
Changes since revision 1.18.4.6: +4 -4 lines
sync with head

Revision 1.42.2.2: download - view: text, markup, annotated - select for diffs
Tue Aug 17 06:45:33 2010 UTC (14 years, 3 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.42.2.1: preferred, colored; branchpoint 1.42: preferred, colored; next MAIN 1.43: preferred, colored
Changes since revision 1.42.2.1: +248 -58 lines
Sync with HEAD.

Revision 1.18.4.6: download - view: text, markup, annotated - select for diffs
Wed Aug 11 22:52:57 2010 UTC (14 years, 4 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.18.4.5: preferred, colored; branchpoint 1.18: preferred, colored
Changes since revision 1.18.4.5: +261 -64 lines
sync with head.

Revision 1.50: download - view: text, markup, annotated - select for diffs
Wed Aug 11 11:31:45 2010 UTC (14 years, 4 months ago) by pgoyette
Branches: MAIN
CVS tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-nfs-mp-base11, uebayasi-xip-base7, uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, rmind-uvmplock-nbase, rmind-uvmplock-base, matt-mips64-premerge-20101231, jym-xensuspend-nbase, jym-xensuspend-base, jruoho-x86intr-base, jruoho-x86intr, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: yamt-pagecache, jmcneill-usbmp
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +4 -4 lines
Keep condvar wmesg within 8-char limit.

Revision 1.49: download - view: text, markup, annotated - select for diffs
Sun Aug 1 15:42:19 2010 UTC (14 years, 4 months ago) by mlelstv
Branches: MAIN
CVS tags: yamt-nfs-mp-base10
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +39 -14 lines
For sensors with inverted value (1/x function), exchange lower and upper
limits so that {warn,crit}min < curval < {warn,crit}max.

Revision 1.48: download - view: text, markup, annotated - select for diffs
Sun Aug 1 08:16:14 2010 UTC (14 years, 4 months ago) by mlelstv
Branches: MAIN
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +195 -47 lines
sc_cmd_mtx protects a command sequence, no longer abuse it for delays.

Initialize mutexes and condition variables in attach and not in the
asynchronously started kernel thread.

Increase BMC spin timeout from 5ms to 15ms, this is necessary to detect
the BMC in a HP ML110G4 reliably.

Implement non-linear sensors as defined in IPMIv2.0 with some crude
32.32 fixed point arithmetic. This adds some small errors as logarithm
and power functions are only approximated.

Fix sensor index mapping so that sensor limits are computed correctly.

Revision 1.47: download - view: text, markup, annotated - select for diffs
Sat Jul 17 21:34:39 2010 UTC (14 years, 4 months ago) by pgoyette
Branches: MAIN
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +19 -2 lines
Register ipmi(4) with power management subsystem so we might have a chance
of suspending.  Suspending will still be denied if the watchdog is active.

As discussed on tech-kern@

XXX The pmf handlers for this and all other watchdogs should be factored
XXX out into a common handler for a generic wdog(4) pseudo-device, but
XXX that's left for the future.

Revision 1.44.2.1: download - view: text, markup, annotated - select for diffs
Sun May 30 05:17:12 2010 UTC (14 years, 6 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +14 -6 lines
sync with head

Revision 1.42.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 30 14:39:59 2010 UTC (14 years, 7 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +36 -26 lines
Sync with HEAD.

Revision 1.46: download - view: text, markup, annotated - select for diffs
Sat Apr 10 19:02:39 2010 UTC (14 years, 8 months ago) by pgoyette
Branches: MAIN
CVS tags: uebayasi-xip-base1
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +12 -4 lines
Save initial, boot-time limit values, and restore them upon request
from sysmon_envsys(9).

Revision 1.45: download - view: text, markup, annotated - select for diffs
Mon Mar 22 23:21:29 2010 UTC (14 years, 8 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +4 -4 lines
A lot of good it does to printf() a bus_space_tag_t.  Don't do it.

Revision 1.44: download - view: text, markup, annotated - select for diffs
Sun Mar 14 18:04:29 2010 UTC (14 years, 9 months ago) by pgoyette
Branches: MAIN
Branch point for: rmind-uvmplock
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +2 -3 lines
Remove setting of the edata->monitor since that member no longer exists.

Revision 1.18.4.5: download - view: text, markup, annotated - select for diffs
Thu Mar 11 15:03:09 2010 UTC (14 years, 9 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.18.4.4: preferred, colored; branchpoint 1.18: preferred, colored
Changes since revision 1.18.4.4: +29 -29 lines
sync with head

Revision 1.43: download - view: text, markup, annotated - select for diffs
Sun Feb 14 23:07:59 2010 UTC (14 years, 9 months ago) by pgoyette
Branches: MAIN
CVS tags: yamt-nfs-mp-base9
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +25 -22 lines
Adapt to changes in sysmon's limit structure.

Revision 1.42: download - view: text, markup, annotated - select for diffs
Sun Jan 31 11:39:55 2010 UTC (14 years, 10 months ago) by mlelstv
Branches: MAIN
CVS tags: uebayasi-xip-base
Branch point for: uebayasi-xip
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +6 -4 lines
Release buffer in case a receive failed.

Revision 1.28.2.3: download - view: text, markup, annotated - select for diffs
Sun Nov 1 13:58:18 2009 UTC (15 years, 1 month ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.28.2.2: preferred, colored; branchpoint 1.28: preferred, colored
Changes since revision 1.28.2.2: +2 -7 lines
Sync with HEAD.

Revision 1.41: download - view: text, markup, annotated - select for diffs
Mon Oct 19 18:41:10 2009 UTC (15 years, 1 month ago) by bouyer
Branches: MAIN
CVS tags: matt-premerge-20091211
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +2 -7 lines
Remove closes 3 & 4 from my licence. Lots of thanks to Soren Jacobsen
for the booring work !

Revision 1.18.4.4: download - view: text, markup, annotated - select for diffs
Wed Aug 19 18:46:51 2009 UTC (15 years, 3 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.18.4.3: preferred, colored; branchpoint 1.18: preferred, colored
Changes since revision 1.18.4.3: +153 -107 lines
sync with head.

Revision 1.28.2.2: download - view: text, markup, annotated - select for diffs
Thu Jul 23 23:31:37 2009 UTC (15 years, 4 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.28.2.1: preferred, colored; branchpoint 1.28: preferred, colored
Changes since revision 1.28.2.1: +284 -160 lines
Sync with HEAD.

Revision 1.40: download - view: text, markup, annotated - select for diffs
Mon Jul 20 19:25:07 2009 UTC (15 years, 4 months ago) by dyoung
Branches: MAIN
CVS tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7, jymxensuspend-base
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +4 -2 lines
In ipmi_match(), initialize the condition variable sc_cmd_sleep.
Fixes a bug in previous, exposed by

# drvctl -d ipmi0
# drvctl -r -a ipmibus mainbus0
*lockdebug panic here*

Revision 1.39: download - view: text, markup, annotated - select for diffs
Mon Jul 20 19:11:30 2009 UTC (15 years, 4 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +151 -107 lines
Overhaul synchronization in ipmi(4): synchronize all access to
device registers with a mutex.  Convert tsleep/wakeup calls to
cv_wait/cv_signal.

Do not repeatedly malloc/free tiny buffers for sending/receiving
commands, but reserve a command buffer in the softc.

Tickle the watchdog in the sensors-refreshing thread.

I am fairly certain that after the device is attached, every register
access happens in the sensors-refreshing thread.  Moreover, no
software interrupt touches any register, now.  So I may get rid of
the mutex that protects register accesses, sc_cmd_mtx.

Revision 1.18.4.3: download - view: text, markup, annotated - select for diffs
Sat Jul 18 14:52:56 2009 UTC (15 years, 4 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.18.4.2: preferred, colored; branchpoint 1.18: preferred, colored
Changes since revision 1.18.4.2: +134 -54 lines
sync with head.

Revision 1.38: download - view: text, markup, annotated - select for diffs
Sat Jul 11 05:03:11 2009 UTC (15 years, 5 months ago) by pgoyette
Branches: MAIN
CVS tags: yamt-nfs-mp-base6
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +39 -22 lines
Store the limit values directly in the driver-private sensor data since
we don't have access to sysmon_envsys(8)'s copy at refresh time.  (The
refresh is driven completely within the driver, and sysmon is uninvolved.)

Resolves unexpected alarms (as reported by David Young) such as over-limit
alarms on fan sensors which have only lower limit values.

Revision 1.37: download - view: text, markup, annotated - select for diffs
Thu Jul 9 15:50:26 2009 UTC (15 years, 5 months ago) by pgoyette
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +10 -10 lines
Don't extract upper/lower limit values if the values are not valid.

Correct comparison of cur_value against lower-limits.

Revision 1.36: download - view: text, markup, annotated - select for diffs
Mon Jun 29 12:30:09 2009 UTC (15 years, 5 months ago) by pgoyette
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +116 -53 lines
Adapt to new features available in sysmon_envsys:

1) expose the built-in limits to user-land (via envstat(8)), and
2) allow user-specified limits to override the built-in limits.

No comments received from current-users@ over 2-week period.

Revision 1.18.4.2: download - view: text, markup, annotated - select for diffs
Sat Jun 20 07:20:13 2009 UTC (15 years, 5 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.18.4.1: preferred, colored; branchpoint 1.18: preferred, colored
Changes since revision 1.18.4.1: +4 -6 lines
sync with head

Revision 1.35: download - view: text, markup, annotated - select for diffs
Mon Jun 1 20:36:43 2009 UTC (15 years, 6 months ago) by pgoyette
Branches: MAIN
CVS tags: yamt-nfs-mp-base5
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +3 -2 lines
Replace a flag that was accidentally removed.

Revision 1.34: download - view: text, markup, annotated - select for diffs
Mon Jun 1 20:08:44 2009 UTC (15 years, 6 months ago) by pgoyette
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +4 -7 lines
Since we no longer have individual events for each sensor value limit,
we don't need individual flag bits.  Clean up extra bit definitions.
Bump kernel version - welcome to 5.99.13

Revision 1.28.2.1: download - view: text, markup, annotated - select for diffs
Wed May 13 17:18:45 2009 UTC (15 years, 7 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +87 -47 lines
Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.

Revision 1.18.4.1: download - view: text, markup, annotated - select for diffs
Mon May 4 08:12:11 2009 UTC (15 years, 7 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +190 -131 lines
sync with head.

Revision 1.20.2.3: download - view: text, markup, annotated - select for diffs
Tue Apr 28 07:34:57 2009 UTC (15 years, 7 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.20.2.2: preferred, colored; branchpoint 1.20: preferred, colored; next MAIN 1.21: preferred, colored
Changes since revision 1.20.2.2: +82 -42 lines
Sync with HEAD.

Revision 1.33: download - view: text, markup, annotated - select for diffs
Fri Apr 24 17:42:03 2009 UTC (15 years, 7 months ago) by ad
Branches: MAIN
CVS tags: yamt-nfs-mp-base4, yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +27 -38 lines
- Attach via the kthread so boot is not so slow on some systems with IPMI.
- NOWAIT -> WAITOK

Revision 1.32: download - view: text, markup, annotated - select for diffs
Tue Apr 7 21:47:58 2009 UTC (15 years, 8 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +8 -2 lines
When ipmi0 detaches, free all of the ipmi_sensor's on the (global!)
ipmi_sensor_list.

Revision 1.31: download - view: text, markup, annotated - select for diffs
Tue Apr 7 21:00:30 2009 UTC (15 years, 8 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +4 -5 lines
In ipmi_detach(), don't sysmon_envsys_destroy(), but just _unregister():
_unregister() calls _destroy().

Revision 1.30: download - view: text, markup, annotated - select for diffs
Tue Apr 7 17:53:45 2009 UTC (15 years, 8 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +52 -6 lines
Add a device-detachment hook for ipmi(4).

Revision 1.20.2.2: download - view: text, markup, annotated - select for diffs
Tue Mar 3 18:29:37 2009 UTC (15 years, 9 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.20.2.1: preferred, colored; branchpoint 1.20: preferred, colored
Changes since revision 1.20.2.1: +7 -7 lines
Sync with HEAD.

Revision 1.29: download - view: text, markup, annotated - select for diffs
Sun Feb 22 07:14:46 2009 UTC (15 years, 9 months ago) by dholland
Branches: MAIN
CVS tags: nick-hppapmap-base2
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +7 -7 lines
Improve some cryptic warning messages; from a patch attached to PR 38019
by Greg A. Woods, with a couple adjustments. Compile-tested only, but should
not be able to break anything.

Revision 1.20.2.1: download - view: text, markup, annotated - select for diffs
Mon Jan 19 13:17:09 2009 UTC (15 years, 10 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +60 -63 lines
Sync with HEAD.

Revision 1.16.6.3: download - view: text, markup, annotated - select for diffs
Sat Jan 17 13:28:38 2009 UTC (15 years, 10 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.16.6.2: preferred, colored; branchpoint 1.16: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16.6.2: +58 -61 lines
Sync with HEAD.

Revision 1.21.2.7: download - view: text, markup, annotated - select for diffs
Tue Dec 23 03:44:17 2008 UTC (15 years, 11 months ago) by snj
Branches: netbsd-5
CVS tags: netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b
Diff to: previous 1.21.2.6: preferred, colored; branchpoint 1.21: preferred, colored; next MAIN 1.22: preferred, colored
Changes since revision 1.21.2.6: +3 -3 lines
Pull up following revision(s) (requested by taca in ticket #197):
	sys/arch/x86/x86/ipmi.c: revision 1.28
Change max retry time to 90 seconds from 5 seconds.
It is processed in background to detect ipmi.
Now my ML115 G1 detects ipmi as NetBSD 4_STABLE.
Discussed with Matthias Scheler (tron) with private mail
and approved by him.

Revision 1.28: download - view: text, markup, annotated - select for diffs
Sat Dec 20 16:52:41 2008 UTC (15 years, 11 months ago) by taca
Branches: MAIN
CVS tags: mjf-devfs2-base
Branch point for: jym-xensuspend
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +3 -3 lines
Change max retry time to 90 seconds from 5 seconds.
It is processed in background to detect ipmi.

Now my ML115 G1 detects ipmi as NetBSD 4_STABLE.

Discussed with Matthias Scheler (tron) with private mail
and approved by him.

Revision 1.21.2.6: download - view: text, markup, annotated - select for diffs
Thu Dec 18 01:04:38 2008 UTC (15 years, 11 months ago) by snj
Branches: netbsd-5
Diff to: previous 1.21.2.5: preferred, colored; branchpoint 1.21: preferred, colored
Changes since revision 1.21.2.5: +3 -3 lines
Pull up following revision(s) (requested by tron in ticket #191):
	sys/arch/x86/x86/ipmi.c: revision 1.27
Keep trying to attach ipmi(4) in the background for five seconds.
NetBSD now detects the IPMI support in a HP Proliant ML110 G4 again.
This fixes PR kern/40065 by myself.

Revision 1.27: download - view: text, markup, annotated - select for diffs
Mon Dec 15 12:13:46 2008 UTC (15 years, 11 months ago) by tron
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +3 -3 lines
Keep trying to attach ipmi(4) in the background for five seconds.
NetBSD now detects the IPMI support in a HP Proliant ML110 G4 again.
This fixes PR kern/40065 by myself.

Revision 1.18.10.2: download - view: text, markup, annotated - select for diffs
Sat Dec 13 01:13:38 2008 UTC (16 years ago) by haad
Branches: haad-dm
Diff to: previous 1.18.10.1: preferred, colored; branchpoint 1.18: preferred, colored; next MAIN 1.19: preferred, colored
Changes since revision 1.18.10.1: +59 -62 lines
Update haad-dm branch to haad-dm-base2.

Revision 1.21.2.5: download - view: text, markup, annotated - select for diffs
Thu Nov 20 03:27:31 2008 UTC (16 years ago) by snj
Branches: netbsd-5
Diff to: previous 1.21.2.4: preferred, colored; branchpoint 1.21: preferred, colored
Changes since revision 1.21.2.4: +29 -40 lines
Pull up following revision(s) (requested by ad in ticket #94):
	sys/arch/x86/x86/ipmi.c: revision 1.26
Fix sloppy device_private conversion by cegger@ that prevented systems
with IPMI from booting for the last two weeks.

Revision 1.26: download - view: text, markup, annotated - select for diffs
Wed Nov 19 13:12:05 2008 UTC (16 years ago) by ad
Branches: MAIN
CVS tags: haad-nbase2, haad-dm-base2, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +29 -40 lines
Fix sloppy device_private conversion by cegger@ that prevented systems
with IPMI from booting for the last two weeks.

Revision 1.21.2.4: download - view: text, markup, annotated - select for diffs
Thu Nov 6 23:01:13 2008 UTC (16 years, 1 month ago) by snj
Branches: netbsd-5
Diff to: previous 1.21.2.3: preferred, colored; branchpoint 1.21: preferred, colored
Changes since revision 1.21.2.3: +5 -4 lines
Pull up following revision(s) (requested by cegger in ticket #10):
	sys/arch/x86/x86/ipmi.c: revision 1.25
If ipmi failed to attach we would crash because we would end up using
callouts while cold. If cold, wait 10 times longer, and if we spinout fail
instead of trying to poll. Makes my machine boot again.

Revision 1.21.2.3: download - view: text, markup, annotated - select for diffs
Thu Nov 6 22:59:13 2008 UTC (16 years, 1 month ago) by snj
Branches: netbsd-5
Diff to: previous 1.21.2.2: preferred, colored; branchpoint 1.21: preferred, colored
Changes since revision 1.21.2.2: +3 -3 lines
Pull up following revision(s) (requested by cegger in ticket #10):
	sys/arch/x86/x86/ipmi.c: revision 1.24
unbreak previous. this change wasn't intended.

Revision 1.21.2.2: download - view: text, markup, annotated - select for diffs
Thu Nov 6 22:58:07 2008 UTC (16 years, 1 month ago) by snj
Branches: netbsd-5
Diff to: previous 1.21.2.1: preferred, colored; branchpoint 1.21: preferred, colored
Changes since revision 1.21.2.1: +12 -9 lines
Pull up following revision(s) (requested by cegger in ticket #10):
	sys/arch/x86/x86/ipmi.c: revision 1.23
	sys/arch/x86/include/ipmivar.h: revision 1.9
The functions called from ipmi_match use the DEVNAME macro. But the
softc is allocated on the stack and the accessed sc_dev member is not
initialized.
Initialize the sc_dev.dv_xname in ipmi_match, which is enough to make
DEVNAME work. Finally this also allows the device_t/softc split.

Revision 1.21.2.1: download - view: text, markup, annotated - select for diffs
Thu Nov 6 22:55:05 2008 UTC (16 years, 1 month ago) by snj
Branches: netbsd-5
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +22 -20 lines
Pull up following revision(s) (requested by cegger in ticket #10):
	sys/arch/x86/x86/ipmi.c: revision 1.22
ipmi_match: remove one indentation level

Revision 1.25: download - view: text, markup, annotated - select for diffs
Mon Nov 3 22:44:42 2008 UTC (16 years, 1 month ago) by christos
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +5 -4 lines
If ipmi failed to attach we would crash because we would end up using callouts
while cold. If cold, wait 10 times longer, and if we spinout fail instead of
trying to poll. Makes my machine boot again.

Revision 1.24: download - view: text, markup, annotated - select for diffs
Mon Nov 3 12:33:08 2008 UTC (16 years, 1 month ago) by cegger
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +3 -3 lines
unbreak previous. this change wasn't intended.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Mon Nov 3 12:25:53 2008 UTC (16 years, 1 month ago) by cegger
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +10 -7 lines
The functions called from ipmi_match use the DEVNAME macro. But the softc is allocated on the stack and the accessed sc_dev member is not initialized.

Initialize the sc_dev.dv_xname in ipmi_match, which is enough to make DEVNAME work. Finally this also allows the device_t/softc split.

Revision 1.22: download - view: text, markup, annotated - select for diffs
Mon Nov 3 12:19:06 2008 UTC (16 years, 1 month ago) by cegger
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +22 -20 lines
ipmi_match: remove one indentation level

Revision 1.21: download - view: text, markup, annotated - select for diffs
Thu Oct 30 20:28:02 2008 UTC (16 years, 1 month ago) by cegger
Branches: MAIN
CVS tags: netbsd-5-base
Branch point for: netbsd-5
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +11 -9 lines
prepare for device_t/softc split, but actually don't do it: ipmi_match() wants to access sc_dev before we have chance to initialize it

Revision 1.18.10.1: download - view: text, markup, annotated - select for diffs
Sun Oct 19 22:16:07 2008 UTC (16 years, 1 month ago) by haad
Branches: haad-dm
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +62 -40 lines
Sync with HEAD.

Revision 1.18.6.2: download - view: text, markup, annotated - select for diffs
Fri Oct 10 22:29:46 2008 UTC (16 years, 2 months ago) by skrll
Branches: wrstuden-revivesa
Diff to: previous 1.18.6.1: preferred, colored; branchpoint 1.18: preferred, colored; next MAIN 1.19: preferred, colored
Changes since revision 1.18.6.1: +38 -29 lines
Sync with HEAD.

Revision 1.16.6.2: download - view: text, markup, annotated - select for diffs
Sun Sep 28 10:40:12 2008 UTC (16 years, 2 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.16.6.1: preferred, colored; branchpoint 1.16: preferred, colored
Changes since revision 1.16.6.1: +60 -38 lines
Sync with HEAD.

Revision 1.18.6.1: download - view: text, markup, annotated - select for diffs
Wed Sep 24 16:38:50 2008 UTC (16 years, 2 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +26 -13 lines
Merge in changes between wrstuden-revivesa-base-2 and
wrstuden-revivesa-base-3.

Revision 1.20: download - view: text, markup, annotated - select for diffs
Tue Sep 23 10:17:06 2008 UTC (16 years, 2 months ago) by ad
Branches: MAIN
CVS tags: wrstuden-revivesa-base-4, matt-mips64-base2, haad-dm-base1
Branch point for: nick-hppapmap
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +38 -29 lines
Speed up ipmi attach a bit, although boot times on my workstation still suck:

before		18s
after		14s
without	ipmi	8s

Revision 1.19: download - view: text, markup, annotated - select for diffs
Mon Sep 8 03:05:38 2008 UTC (16 years, 3 months ago) by pgoyette
Branches: MAIN
CVS tags: wrstuden-revivesa-base-3
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +26 -13 lines
Separate checking of sensor value vs threshold/limit value into two
routines, so we can distinguish between an over-limit vs under-limit
condition.  Set sensor state appropriately based on which threshold
is exceeded.

To do: come up with a means of detecting non-existent fans vs broken
fans.  Currently, both report a valid value of "0 RPM" at least on
some platforms.

OK garbled@
Tested by simonb@

Revision 1.4.10.2: download - view: text, markup, annotated - select for diffs
Tue Jun 3 20:47:18 2008 UTC (16 years, 6 months ago) by skrll
Branches: wrstuden-fixsa
Diff to: previous 1.4.10.1: preferred, colored; branchpoint 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4.10.1: +46 -5 lines
Sync with netbsd-4.

Revision 1.16.6.1: download - view: text, markup, annotated - select for diffs
Mon Jun 2 13:22:51 2008 UTC (16 years, 6 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +92 -92 lines
Sync with HEAD.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Thu Apr 17 05:26:11 2008 UTC (16 years, 7 months ago) by cegger
Branches: MAIN
CVS tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42-X, yamt-pf42, yamt-nfs-mp-base2, yamt-nfs-mp-base, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, hpcarm-cleanup-nbase
Branch point for: yamt-nfs-mp, wrstuden-revivesa, haad-dm
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +3 -3 lines
Add missing bracket. Fixes build for i386 ALL kernel.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Wed Apr 16 16:06:52 2008 UTC (16 years, 7 months ago) by cegger
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +92 -92 lines
- use aprint_*_dev and device_xname
- use POSIX integer types

Revision 1.14.2.2: download - view: text, markup, annotated - select for diffs
Mon Feb 18 21:05:17 2008 UTC (16 years, 9 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.14.2.1: preferred, colored; branchpoint 1.14: preferred, colored; next MAIN 1.15: preferred, colored
Changes since revision 1.14.2.1: +4 -5 lines
Sync with HEAD.

Revision 1.4.6.7: download - view: text, markup, annotated - select for diffs
Mon Jan 21 09:40:15 2008 UTC (16 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.4.6.6: preferred, colored; branchpoint 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4.6.6: +4 -5 lines
sync with head

Revision 1.12.2.2: download - view: text, markup, annotated - select for diffs
Wed Jan 9 01:49:56 2008 UTC (16 years, 11 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.12.2.1: preferred, colored; branchpoint 1.12: preferred, colored; next MAIN 1.13: preferred, colored
Changes since revision 1.12.2.1: +28 -25 lines
sync with HEAD

Revision 1.15.6.1: download - view: text, markup, annotated - select for diffs
Tue Jan 8 22:10:38 2008 UTC (16 years, 11 months ago) by bouyer
Branches: bouyer-xeni386
CVS tags: bouyer-xeni386-merge1
Diff to: previous 1.15: preferred, colored; next MAIN 1.16: preferred, colored
Changes since revision 1.15: +4 -5 lines
Sync with HEAD

Revision 1.16: download - view: text, markup, annotated - select for diffs
Fri Jan 4 18:38:32 2008 UTC (16 years, 11 months ago) by ad
Branches: MAIN
CVS tags: yamt-lazymbuf-base15, yamt-lazymbuf-base14, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-base, bouyer-xeni386-nbase, bouyer-xeni386-base, ad-socklock-base1
Branch point for: mjf-devfs2
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +4 -5 lines
sys/lock.h isn't needed here.

Revision 1.4.4.2: download - view: text, markup, annotated - select for diffs
Wed Dec 19 19:38:52 2007 UTC (16 years, 11 months ago) by ghen
Branches: netbsd-4
CVS tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base
Diff to: previous 1.4.4.1: preferred, colored; branchpoint 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4.4.1: +46 -5 lines
Pull up following revision(s) (requested by briggs in ticket #989):
	sys/arch/amd64/conf/GENERIC: revision 1.151
	sys/arch/x86/x86/ipmi.c: revision 1.12
	sys/dev/DEVNAMES: revision 1.228
	sys/arch/amd64/amd64/bios32.c: revision 1.6
	sys/arch/x86/x86/ipmi.c: revision 1.8
	sys/arch/amd64/conf/files.amd64: revision 1.39 via patch
	sys/arch/amd64/amd64/mainbus.c: revision 1.17
Use PRIx64 for a 64-bit quantity instead of llx in a debug print.
Add (commented-out) support for IPMI on amd64--pretty much copied straight
from i386.
Check for duplicate sensor names in the IPMI table.  If a duplicate name
is found, try to make it unique by appending a count (1-99) to the sensor
description (truncating, if necessary).

Revision 1.4.6.6: download - view: text, markup, annotated - select for diffs
Fri Dec 7 17:27:00 2007 UTC (17 years ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.4.6.5: preferred, colored; branchpoint 1.4: preferred, colored
Changes since revision 1.4.6.5: +26 -22 lines
sync with head

Revision 1.5.6.8: download - view: text, markup, annotated - select for diffs
Mon Dec 3 18:40:17 2007 UTC (17 years ago) by ad
Branches: vmlocking
Diff to: previous 1.5.6.7: preferred, colored; branchpoint 1.5: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5.6.7: +26 -22 lines
Sync with HEAD.

Revision 1.11.8.3: download - view: text, markup, annotated - select for diffs
Wed Nov 21 21:53:39 2007 UTC (17 years ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.11.8.2: preferred, colored; branchpoint 1.11: preferred, colored; next MAIN 1.12: preferred, colored
Changes since revision 1.11.8.2: +26 -22 lines
Sync with HEAD.

Revision 1.14.2.1: download - view: text, markup, annotated - select for diffs
Mon Nov 19 00:47:02 2007 UTC (17 years ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +26 -22 lines
Sync with HEAD.

Revision 1.13.2.1: download - view: text, markup, annotated - select for diffs
Sun Nov 18 19:34:48 2007 UTC (17 years ago) by bouyer
Branches: bouyer-xenamd64
Diff to: previous 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13: +26 -22 lines
Sync with HEAD

Revision 1.15: download - view: text, markup, annotated - select for diffs
Fri Nov 16 08:00:13 2007 UTC (17 years ago) by xtraeme
Branches: MAIN
CVS tags: yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, jmcneill-pm-base, cube-autoconf-base, cube-autoconf, bouyer-xenamd64-base2, bouyer-xenamd64-base
Branch point for: bouyer-xeni386
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +26 -22 lines
Extend the envsys2 API (one more time, sorry) as defined in:

http://mail-index.netbsd.org/tech-kern/2007/11/09/0001.html

sysmon_envsys_create() and sysmon_envsys_destroy() were added to
create/destroy sysmon_envsys objects (and its TAILQ/LIST for sensors/events).

sysmon_envsys_sensor_attach() and sysmon_envsys_sensor_detach() were
added to attach/detach sensors to a specified sysmon_envsys device.

The events framework is now per device and configurable via the
ENVSYS_SETDICTIONARY ioctl or /etc/envsys.conf and envstat(8).

Update all users and documentation to reflect these changes.

Revision 1.12.2.1: download - view: text, markup, annotated - select for diffs
Tue Nov 6 23:23:50 2007 UTC (17 years, 1 month ago) by matt
Branches: matt-armv6
CVS tags: matt-armv6-prevmlocking
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +3 -3 lines
sync with HEAD

Revision 1.4.6.5: download - view: text, markup, annotated - select for diffs
Sat Oct 27 11:29:02 2007 UTC (17 years, 1 month ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.4.6.4: preferred, colored; branchpoint 1.4: preferred, colored
Changes since revision 1.4.6.4: +3 -3 lines
sync with head.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Wed Oct 17 19:58:17 2007 UTC (17 years, 1 month ago) by garbled
Branches: MAIN
CVS tags: yamt-x86pmap-base4, jmcneill-base
Branch point for: mjf-devfs
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +2 -2 lines
Merge the ppcoea-renovation branch to HEAD.

This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree.  Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches.  The work
for this branch was done by a variety of people, too long to list here.

TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.

Revision 1.4.8.3: download - view: text, markup, annotated - select for diffs
Mon Oct 15 21:50:32 2007 UTC (17 years, 1 month ago) by riz
Branches: netbsd-3
Diff to: previous 1.4.8.2: preferred, colored; branchpoint 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4.8.2: +3 -3 lines
Pull up following revision(s) (requested by bouyer in ticket #1847):
	sys/arch/x86/x86/ipmi.c: revision 1.13
Don't attach ipmi if GETID failed. From Nicolas Joly.

Revision 1.5.6.7: download - view: text, markup, annotated - select for diffs
Tue Oct 9 13:38:46 2007 UTC (17 years, 2 months ago) by ad
Branches: vmlocking
Diff to: previous 1.5.6.6: preferred, colored; branchpoint 1.5: preferred, colored
Changes since revision 1.5.6.6: +3 -3 lines
Sync with head.

Revision 1.12.4.1: download - view: text, markup, annotated - select for diffs
Sat Oct 6 15:33:36 2007 UTC (17 years, 2 months ago) by yamt
Branches: yamt-x86pmap
Diff to: previous 1.12: preferred, colored; next MAIN 1.13: preferred, colored
Changes since revision 1.12: +3 -3 lines
sync with head.

Revision 1.5.14.1: download - view: text, markup, annotated - select for diffs
Wed Oct 3 19:25:54 2007 UTC (17 years, 2 months ago) by garbled
Branches: ppcoea-renovation
Diff to: previous 1.5: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5: +95 -116 lines
Sync with HEAD

Revision 1.11.8.2: download - view: text, markup, annotated - select for diffs
Tue Oct 2 18:27:53 2007 UTC (17 years, 2 months ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.11.8.1: preferred, colored; branchpoint 1.11: preferred, colored
Changes since revision 1.11.8.1: +3 -3 lines
Sync with HEAD.

Revision 1.4.10.1: download - view: text, markup, annotated - select for diffs
Sun Sep 30 03:39:04 2007 UTC (17 years, 2 months ago) by wrstuden
Branches: wrstuden-fixsa
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +3 -3 lines
Catch up on netbsd-4 as of a few days ago.

Revision 1.4.4.1: download - view: text, markup, annotated - select for diffs
Thu Sep 27 15:07:06 2007 UTC (17 years, 2 months ago) by xtraeme
Branches: netbsd-4
CVS tags: wrstuden-fixsa-base-1, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-1-RELEASE, netbsd-4-0, matt-nb4-arm-base, matt-nb4-arm
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +3 -3 lines
Pull up following revision(s) (requested by bouyer in ticket #898):
	sys/arch/x86/x86/ipmi.c: revision 1.13 (via patch)

Don't attach ipmi if GETID failed. From Nicolas Joly.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Sun Sep 23 19:17:51 2007 UTC (17 years, 2 months ago) by bouyer
Branches: MAIN
CVS tags: yamt-x86pmap-base3, yamt-x86pmap-base2, vmlocking-base, ppcoea-renovation-base
Branch point for: bouyer-xenamd64
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +3 -3 lines
Don't attach ipmi if GETID failed. From Nicolas Joly.

Revision 1.4.6.4: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:31:27 2007 UTC (17 years, 3 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.4.6.3: preferred, colored; branchpoint 1.4: preferred, colored
Changes since revision 1.4.6.3: +94 -115 lines
sync with head.

Revision 1.5.6.6: download - view: text, markup, annotated - select for diffs
Mon Aug 20 18:39:17 2007 UTC (17 years, 3 months ago) by ad
Branches: vmlocking
Diff to: previous 1.5.6.5: preferred, colored; branchpoint 1.5: preferred, colored
Changes since revision 1.5.6.5: +44 -3 lines
Sync with HEAD.

Revision 1.11.8.1: download - view: text, markup, annotated - select for diffs
Thu Aug 16 11:02:39 2007 UTC (17 years, 3 months ago) by jmcneill
Branches: jmcneill-pm
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +44 -3 lines
Sync with HEAD.

Revision 1.11.4.1: download - view: text, markup, annotated - select for diffs
Wed Aug 15 13:47:58 2007 UTC (17 years, 3 months ago) by skrll
Branches: nick-csl-alignment
Diff to: previous 1.11: preferred, colored; next MAIN 1.12: preferred, colored
Changes since revision 1.11: +44 -3 lines
Sync with HEAD.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Mon Aug 13 18:32:22 2007 UTC (17 years, 4 months ago) by briggs
Branches: MAIN
CVS tags: yamt-x86pmap-base, nick-csl-alignment-base5
Branch point for: yamt-x86pmap, matt-armv6
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +44 -3 lines
Check for duplicate sensor names in the IPMI table.  If a duplicate name
is found, try to make it unique by appending a count (1-99) to the sensor
description (truncating, if necessary).  This takes my Dell PowerEdge 1800
from:
        Temp:     40.000 degC
  VRD 1 Temp:     35.000 degC
  VRD 0 Temp:     39.000 degC
 Planar Temp:     35.000 degC
Ambient Temp:     20.000 degC
       Fan 2:       1500 RPM
       Fan 1:       1425 RPM
CMOS Battery:      3.057 V
   Intrusion:         ON
     Status :         ON

to:
       Temp3:     40.000 degC
       Temp2:     40.000 degC
  VRD 1 Temp:     35.000 degC
  VRD 0 Temp:     39.000 degC
 Planar Temp:     35.000 degC
Ambient Temp:     20.000 degC
       Temp1:     41.000 degC
        Temp:     43.000 degC
       Fan 2:       1500 RPM
       Fan 1:       1425 RPM
CMOS Battery:      3.057 V
   Intrusion:         ON
    Status 1:         ON
     Status :         ON

Revision 1.5.6.5: download - view: text, markup, annotated - select for diffs
Sun Jul 15 13:17:17 2007 UTC (17 years, 4 months ago) by ad
Branches: vmlocking
Diff to: previous 1.5.6.4: preferred, colored; branchpoint 1.5: preferred, colored
Changes since revision 1.5.6.4: +44 -97 lines
Sync with head.

Revision 1.5.8.1: download - view: text, markup, annotated - select for diffs
Wed Jul 11 20:03:22 2007 UTC (17 years, 5 months ago) by mjf
Branches: mjf-ufs-trans
Diff to: previous 1.5: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5: +52 -114 lines
Sync with head.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Mon Jul 9 20:52:38 2007 UTC (17 years, 5 months ago) by ad
Branches: MAIN
CVS tags: nick-csl-alignment-base, mjf-ufs-trans-base, matt-mips64-base, matt-mips64, hpcarm-cleanup
Branch point for: nick-csl-alignment, jmcneill-pm
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +10 -19 lines
Merge some of the less invasive changes from the vmlocking branch:

- kthread, callout, devsw API changes
- select()/poll() improvements
- miscellaneous MT safety improvements

Revision 1.10: download - view: text, markup, annotated - select for diffs
Wed Jul 4 17:36:17 2007 UTC (17 years, 5 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +4 -5 lines
Start with all sensors in ENVSYS_SINVALID state, and switch to ENVSYS_SVALID
(or other, depending on result) once the sensor has been read.
This way envstat(8) won't show sensors which have not yet their correct value.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Tue Jul 3 23:13:12 2007 UTC (17 years, 5 months ago) by xtraeme
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +3 -3 lines
ipmi_sensor_status: if state is ok return ENVSYS_SVALID and not
ENVSYS_WARN_OK, the latter is deprecated on envsys2.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Tue Jul 3 22:58:07 2007 UTC (17 years, 5 months ago) by briggs
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +4 -4 lines
Use PRIx64 for a 64-bit quantity instead of llx in a debug print.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Mon Jul 2 15:29:47 2007 UTC (17 years, 5 months ago) by xtraeme
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +11 -6 lines
- On Intrusion sensors, if something is not ok return a critical event.
- On Power Supply sensors:
	* if power supply is not installed, return a critical event.
	* if power supply is installed but not powered on, return a
	  warnover event.

Revision 1.5.6.4: download - view: text, markup, annotated - select for diffs
Sun Jul 1 21:50:35 2007 UTC (17 years, 5 months ago) by ad
Branches: vmlocking
Diff to: previous 1.5.6.3: preferred, colored; branchpoint 1.5: preferred, colored
Changes since revision 1.5.6.3: +3 -3 lines
Adapt to callout API change.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Sun Jul 1 07:37:13 2007 UTC (17 years, 5 months ago) by xtraeme
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +37 -94 lines
Imported envsys 2, a brief description of the new features:
(Part 2: drivers)

* Support for detachable sensors.
* Cleaned up the API for simplicity and efficiency.
* Ability to send capacity/critical/warning events to powerd(8).
* Adapted all the code to the new locking order.
* Compatibility with the old envsys API: the ENVSYS_GTREINFO
  and ENVSYS_GTREDATA ioctl(2)s are supported.
* Added support for a 'dictionary based communication channel' between
  sysmon_power(9) and powerd(8), that means there is no 32 bytes event
  size restriction anymore.
* Binary compatibility with old envstat(8) and powerd(8) via COMPAT_40.
* All drivers with the n^2 gtredata bug were fixed, PR kern/36226.

Tested by:

blymn: smsc(4).
bouyer: ipmi(4), mfi(4).
kefren: ug(4).
njoly: viaenv(4), adt7463.c.
riz: owtemp(4).
xtraeme: acpiacad(4), acpibat(4), acpitz(4), aiboost(4), it(4), lm(4).

Revision 1.5.6.3: download - view: text, markup, annotated - select for diffs
Sun May 13 17:36:19 2007 UTC (17 years, 7 months ago) by ad
Branches: vmlocking
Diff to: previous 1.5.6.2: preferred, colored; branchpoint 1.5: preferred, colored
Changes since revision 1.5.6.2: +3 -3 lines
- Pass the error number and residual count to biodone(), and let it handle
  setting error indicators. Prepare to eliminate B_ERROR.
- Add a flag argument to brelse() to be set into the buf's flags, instead
  of doing it directly. Typically used to set B_INVAL.
- Add a "struct cpu_info *" argument to kthread_create(), to be used to
  create bound threads. Change "bool mpsafe" to "int flags".
- Allow exit of LWPs in the IDL state when (l != curlwp).
- More locking fixes & conversion to the new API.

Revision 1.5.6.2: download - view: text, markup, annotated - select for diffs
Tue Apr 10 12:07:07 2007 UTC (17 years, 8 months ago) by ad
Branches: vmlocking
Diff to: previous 1.5.6.1: preferred, colored; branchpoint 1.5: preferred, colored
Changes since revision 1.5.6.1: +9 -18 lines
Nuke the deferred kthread creation stuff, as it's no longer needed.
Pointed out by thorpej@.

Revision 1.5.6.1: download - view: text, markup, annotated - select for diffs
Mon Apr 9 22:09:53 2007 UTC (17 years, 8 months ago) by ad
Branches: vmlocking
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +4 -4 lines
- Add two new arguments to kthread_create1: pri_t pri, bool mpsafe.
- Fork kthreads off proc0 as new LWPs, not new processes.

Revision 1.4.6.3: download - view: text, markup, annotated - select for diffs
Mon Feb 26 09:08:51 2007 UTC (17 years, 9 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.4.6.2: preferred, colored; branchpoint 1.4: preferred, colored
Changes since revision 1.4.6.2: +8 -14 lines
sync with head.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Thu Feb 15 15:40:50 2007 UTC (17 years, 9 months ago) by ad
Branches: MAIN
CVS tags: yamt-idlelwp-base8, yamt-idlelwp, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup, ad-audiomp-base, ad-audiomp
Branch point for: vmlocking, ppcoea-renovation, mjf-ufs-trans
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +8 -14 lines
Replace some uses of lockmgr() / simplelocks.

Revision 1.4.8.2: download - view: text, markup, annotated - select for diffs
Mon Jan 8 16:36:20 2007 UTC (17 years, 11 months ago) by ghen
Branches: netbsd-3
Diff to: previous 1.4.8.1: preferred, colored; branchpoint 1.4: preferred, colored
Changes since revision 1.4.8.1: +1925 -0 lines
Pull up following revision(s) (requested by bouyer in ticket #1621):
	sys/arch/i386/conf/GENERIC: revision 1.787 via patch
	share/man/man4/Makefile: revision 1.407 via patch
	distrib/sets/lists/man/mi: revision 1.936 via patch
	share/man/man4/ipmi.4: revision 1.1 via patch
	sys/arch/i386/i386/bios32.c: revision 1.11 via patch
	sys/dev/DEVNAMES: revision 1.221 via patch
	sys/arch/x86/x86/ipmi.c: revision 1.1 via patch
	sys/arch/i386/i386/mainbus.c: revision 1.65 via patch
	sys/arch/x86/include/smbiosvar.h: revision 1.1 via patch
	sys/arch/x86/include/ipmivar.h: revision 1.1 via patch
	sys/arch/x86/conf/files.x86: revision 1.20 via patch
	sys/arch/i386/conf/files.i386: revision 1.293 via patch
Add ipmi(4) driver, from OpenBSD. This requires SMBios support, so add
SMBios detection and mapping to bios32.c, also from OpenBSD (for now this
is only compiled in if ipmi(4) is configured). The sensors and watchdog are
accessible though envsys(4).
Works on i386; some work is needed on amd64 to access the BIOS. It would
eventually work on Xen if the SMBios is accessible (to be tested).
Add manpage for new ipmi driver.
Claim ipmi.

Revision 1.4.6.2: download - view: text, markup, annotated - select for diffs
Sat Dec 30 20:47:22 2006 UTC (17 years, 11 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.4.6.1: preferred, colored; branchpoint 1.4: preferred, colored
Changes since revision 1.4.6.1: +1929 -0 lines
sync with head.

Revision 1.2.2.3: download - view: text, markup, annotated - select for diffs
Sun Dec 10 07:16:43 2006 UTC (18 years ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.2.2.2: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.2.2: +13 -13 lines
sync with head.

Revision 1.4.2.2: download - view: text, markup, annotated - select for diffs
Sat Nov 18 21:29:39 2006 UTC (18 years ago) by ad
Branches: newlock2
Diff to: previous 1.4.2.1: preferred, colored; branchpoint 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4.2.1: +1929 -0 lines
Sync with head.

Revision 1.4.8.1
Thu Nov 16 01:32:39 2006 UTC (18 years ago) by ghen
Branches: netbsd-3
FILE REMOVED
Changes since revision 1.4: +0 -1929 lines
file ipmi.c was added on branch netbsd-3 on 2007-01-08 16:36:20 +0000

Revision 1.4.6.1
Thu Nov 16 01:32:39 2006 UTC (18 years ago) by yamt
Branches: yamt-lazymbuf
FILE REMOVED
Changes since revision 1.4: +0 -1929 lines
file ipmi.c was added on branch yamt-lazymbuf on 2006-12-30 20:47:22 +0000

Revision 1.4.2.1
Thu Nov 16 01:32:39 2006 UTC (18 years ago) by ad
Branches: newlock2
FILE REMOVED
Changes since revision 1.4: +0 -1929 lines
file ipmi.c was added on branch newlock2 on 2006-11-18 21:29:39 +0000

Revision 1.4: download - view: text, markup, annotated - select for diffs
Thu Nov 16 01:32:39 2006 UTC (18 years ago) by christos
Branches: MAIN
CVS tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, post-newlock2-merge, newlock2-nbase, newlock2-base, netbsd-4-base, netbsd-4-0-RC1
Branch point for: yamt-lazymbuf, wrstuden-fixsa, newlock2, netbsd-4, netbsd-3
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +12 -12 lines
__unused removal on arguments; approved by core.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Fri Nov 10 18:15:12 2006 UTC (18 years, 1 month ago) by christos
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +3 -3 lines
convert variable allocation to constant.

Revision 1.2.2.2: download - view: text, markup, annotated - select for diffs
Sun Oct 22 06:05:16 2006 UTC (18 years, 1 month ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.2.2.1: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.2.1: +1929 -0 lines
sync with head

Revision 1.2.2.1
Thu Oct 12 01:30:44 2006 UTC (18 years, 2 months ago) by yamt
Branches: yamt-splraiseipl
FILE REMOVED
Changes since revision 1.2: +0 -1929 lines
file ipmi.c was added on branch yamt-splraiseipl on 2006-10-22 06:05:16 +0000

Revision 1.2: download - view: text, markup, annotated - select for diffs
Thu Oct 12 01:30:44 2006 UTC (18 years, 2 months ago) by christos
Branches: MAIN
CVS tags: yamt-splraiseipl-base2
Branch point for: yamt-splraiseipl
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +16 -12 lines
- sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386

Revision 1.1: download - view: text, markup, annotated - select for diffs
Sun Oct 1 18:37:55 2006 UTC (18 years, 2 months ago) by bouyer
Branches: MAIN
Add ipmi(4) driver, from OpenBSD. This requires SMBios support, so add
SMBios detection and mapping to bios32.c, also from OpenBSD (for now this
is only compiled in if ipmi(4) is configured). The sensors and watchdog are
accessible though envsys(4).
Works on i386; some work is needed on amd64 to access the BIOS. It would
eventually work on Xen if the SMBios is accessible (to be tested).

Diff request

This form allows you to request diffs 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.

Log view options

CVSweb <webmaster@jp.NetBSD.org>