The NetBSD Project

CVS log for src/sys/dev/ic/tpm.c

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.28 / (download) - annotate - [select for diffs], Tue Jul 4 01:02:26 2023 UTC (7 months, 3 weeks ago) by riastradh
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, HEAD
Changes since 1.27: +7 -5 lines
Diff to previous 1.27 (colored)

tpm(4): Switch tsleep to kpause.

Nothing is interrupt-driven here, so no need for condvars to allow
more prompt wakeups.

Revision 1.27 / (download) - annotate - [select for diffs], Sun Sep 25 18:43:32 2022 UTC (17 months ago) by thorpej
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Changes since 1.26: +2 -3 lines
Diff to previous 1.26 (colored)

Remove unnecessary include of <sys/malloc.h>.

Revision 1.26 / (download) - annotate - [select for diffs], Wed Sep 7 00:34:19 2022 UTC (17 months, 3 weeks ago) by khorben
Branch: MAIN
Changes since 1.25: +3 -3 lines
Diff to previous 1.25 (colored)

tpm(4): add missing newline character in device_printf()

Observed with on a Sun Ultra 24, NetBSD/amd64:

tpm0 at acpi0 (TPM, IFX0102-1): io 0x4e-0x4f,0x4700-0x470b mem 0xfed40000-0xfed44fff
tpm0: device 0x000b15d1 rev 0x10
tpm0: read 8 bytes, expected 10tpm0: deactivating entropy source

Revision 1.13.2.3 / (download) - annotate - [select for diffs], Mon Aug 29 15:48:31 2022 UTC (18 months ago) by martin
Branch: netbsd-9
Changes since 1.13.2.2: +2 -5 lines
Diff to previous 1.13.2.2 (colored) to branchpoint 1.13 (colored) next main 1.14 (colored)

Pull up following revision(s) (requested by riastradh in ticket #1505):

	sys/dev/isa/tpm_isa.c: revision 1.8
	sys/dev/ic/tpm.c: revision 1.20

Add missing printing-of-newlines in the attach routine.

Remove extra newline from boot messages (isa and acpi front-ends
already provide the newline).

Revision 1.13.2.2 / (download) - annotate - [select for diffs], Wed Aug 3 16:00:47 2022 UTC (18 months, 3 weeks ago) by martin
Branch: netbsd-9
CVS Tags: netbsd-9-3-RELEASE
Changes since 1.13.2.1: +571 -44 lines
Diff to previous 1.13.2.1 (colored) to branchpoint 1.13 (colored)

Pull up following revision(s) (requested by riastradh in ticket #1495):

	share/man/man4/tpm.4: revision 1.7
	sys/dev/ic/tpm.c: revision 1.17
	sys/dev/ic/tpmvar.h: revision 1.10
	sys/dev/ic/tpm.c: revision 1.18
	sys/dev/ic/tpm.c: revision 1.19
	sys/dev/acpi/tpm_acpi.c: revision 1.14
	sys/dev/ic/tpmreg.h: revision 1.10
	sys/dev/ic/tpmreg.h: revision 1.11
	sys/dev/ic/tpm.c: revision 1.21
	sys/dev/ic/tpm.c: revision 1.22
	sys/dev/ic/tpm.c: revision 1.23
	sys/dev/ic/tpm.c: revision 1.24
	sys/dev/ic/tpm.c: revision 1.25
	sys/dev/ic/tpmreg.h: revision 1.7
	sys/dev/ic/tpmreg.h: revision 1.8
	sys/dev/ic/tpmreg.h: revision 1.9
	sys/dev/ic/tpmvar.h: revision 1.8
	sys/dev/ic/tpmvar.h: revision 1.9

dev/ic/tpm: Tidy up headers.
- Add include guards.
- Add necessary includes.
- Sort includes.
- Use _BYTE_ORDER, not BYTE_ORDER, for public header.

dev/ic/tpm: Add missing line break in attach output.

dev/ic/tpm: Take advantage of entropy source if available.

If the tpm is deactivated, though, detach the entropy source so we
don't continue to try polling it -- it can't be activated without a
reboot anyway.

Add note about enabling TPM and rnd(4) source.

tpm(4): Handle TPM 2.0 random source too, and loop on short reads.
Tested on ThinkPad T480.

tpm(4): Preserve error if any on ending commands.
This way we don't spuriously suppress an error, such as
TPM_DEACTIVATED, in a loop where we rely on it.

tpm@acpi: Require only one locality's worth of register space.
We don't actually use the registers for the other localities, and
some older TPMs only have the first locality exposed via ACPI.


tpm(4): Fix disabling of rnd source if tpm is deactivated.

Nothing prevents a second worker from being queued when the first one
is about to do rnd_detach_source.  Instead, just set a flag so future
requests don't bother running a new thread; if there's a concurrent
one that's already been scheduled on another CPU, well, too bad, we
get a couple extra log messages but that's fine.

A better way to do this would probably be to detect whether the tpm
is deactivated at attach time, but that requires reading more of the
tpm spec than I care to do when there are alternative ways to
procrastinate like scrubbing the toilet.


tpm(4): Fix suspend and rework I/O transaction lock.

Use sc->sc_lock over individual I/O transactions, not open/close of
the whole device.  This way there is a bounded time before the tpm is
unbusied even if userland is getting at it, so userland can't hold up
suspend indefinitely.  Of course, the tpm might be suspended and
resumed in the middle of the user's session this way -- tough.

This limits the response buffer to 1024 bytes -- which is already a
bit hefty to have on the stack (but it's probably not very deep on
the stack from userland so maybe not a big deal).  If it turns out we
need more, we can use kmem to allocate a buffer on the heap, with the
caveat that it might fail.  This is necessary so that suspend doesn't
block indefinitely on uiomove in tpmread.


tpm(4): Nix TPM_BE16/TPM_BE32.  Just use sys/endian.h.

Revision 1.25 / (download) - annotate - [select for diffs], Sat Jan 29 12:27:30 2022 UTC (2 years ago) by riastradh
Branch: MAIN
Changes since 1.24: +15 -15 lines
Diff to previous 1.24 (colored)

tpm(4): Nix TPM_BE16/TPM_BE32.  Just use sys/endian.h.

Revision 1.24 / (download) - annotate - [select for diffs], Sun Jan 16 20:24:34 2022 UTC (2 years, 1 month ago) by riastradh
Branch: MAIN
Changes since 1.23: +214 -49 lines
Diff to previous 1.23 (colored)

tpm(4): Fix suspend and rework I/O transaction lock.

Use sc->sc_lock over individual I/O transactions, not open/close of
the whole device.  This way there is a bounded time before the tpm is
unbusied even if userland is getting at it, so userland can't hold up
suspend indefinitely.  Of course, the tpm might be suspended and
resumed in the middle of the user's session this way -- tough.

This limits the response buffer to 1024 bytes -- which is already a
bit hefty to have on the stack (but it's probably not very deep on
the stack from userland so maybe not a big deal).  If it turns out we
need more, we can use kmem to allocate a buffer on the heap, with the
caveat that it might fail.  This is necessary so that suspend doesn't
block indefinitely on uiomove in tpmread.

Revision 1.23 / (download) - annotate - [select for diffs], Mon Dec 20 23:05:55 2021 UTC (2 years, 2 months ago) by riastradh
Branch: MAIN
Changes since 1.22: +5 -3 lines
Diff to previous 1.22 (colored)

tpm(4): Fix disabling of rnd source if tpm is deactivated.

Nothing prevents a second worker from being queued when the first one
is about to do rnd_detach_source.  Instead, just set a flag so future
requests don't bother running a new thread; if there's a concurrent
one that's already been scheduled on another CPU, well, too bad, we
get a couple extra log messages but that's fine.

A better way to do this would probably be to detect whether the tpm
is deactivated at attach time, but that requires reading more of the
tpm spec than I care to do when there are alternative ways to
procrastinate like scrubbing the toilet.

Revision 1.19.4.1 / (download) - annotate - [select for diffs], Thu Jun 17 04:46:28 2021 UTC (2 years, 8 months ago) by thorpej
Branch: thorpej-i2c-spi-conf
Changes since 1.19: +205 -37 lines
Diff to previous 1.19 (colored) next main 1.20 (colored)

Sync w/ HEAD.

Revision 1.21.2.1 / (download) - annotate - [select for diffs], Sun Jun 6 20:30:51 2021 UTC (2 years, 8 months ago) by cjep
Branch: cjep_sun2x
Changes since 1.21: +4 -4 lines
Diff to previous 1.21 (colored) next main 1.22 (colored)

sync with head

Revision 1.22 / (download) - annotate - [select for diffs], Wed Jun 2 21:35:17 2021 UTC (2 years, 8 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, cjep_sun2x-base1
Changes since 1.21: +4 -4 lines
Diff to previous 1.21 (colored)

tpm(4): Preserve error if any on ending commands.

This way we don't spuriously suppress an error, such as
TPM_DEACTIVATED, in a loop where we rely on it.

Revision 1.19.6.1 / (download) - annotate - [select for diffs], Mon May 31 22:15:18 2021 UTC (2 years, 8 months ago) by cjep
Branch: cjep_staticlib_x
Changes since 1.19: +203 -35 lines
Diff to previous 1.19 (colored) next main 1.20 (colored)

sync with head

Revision 1.21 / (download) - annotate - [select for diffs], Sat May 29 08:45:29 2021 UTC (2 years, 9 months ago) by riastradh
Branch: MAIN
CVS Tags: cjep_sun2x-base, cjep_staticlib_x-base1
Branch point for: cjep_sun2x
Changes since 1.20: +203 -32 lines
Diff to previous 1.20 (colored)

tpm(4): Handle TPM 2.0 random source too, and loop on short reads.

Tested on ThinkPad T480.

Revision 1.20 / (download) - annotate - [select for diffs], Sat May 22 01:24:27 2021 UTC (2 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.19: +2 -5 lines
Diff to previous 1.19 (colored)

Remove extra newline from boot messages (isa and acpi front-ends
already provide the newline).

Revision 1.16.8.1 / (download) - annotate - [select for diffs], Sat Apr 3 22:28:45 2021 UTC (2 years, 10 months ago) by thorpej
Branch: thorpej-futex
Changes since 1.16: +196 -7 lines
Diff to previous 1.16 (colored) next main 1.17 (colored)

Sync with HEAD.

Revision 1.19 / (download) - annotate - [select for diffs], Mon Jan 4 18:26:59 2021 UTC (3 years, 1 month ago) by riastradh
Branch: MAIN
CVS Tags: thorpej-futex-base, thorpej-cfargs-base, thorpej-cfargs, cjep_staticlib_x-base
Branch point for: thorpej-i2c-spi-conf, cjep_staticlib_x
Changes since 1.18: +186 -2 lines
Diff to previous 1.18 (colored)

dev/ic/tpm: Take advantage of entropy source if available.

If the tpm is deactivated, though, detach the entropy source so we
don't continue to try polling it -- it can't be activated without a
reboot anyway.

Revision 1.18 / (download) - annotate - [select for diffs], Mon Jan 4 18:26:08 2021 UTC (3 years, 1 month ago) by riastradh
Branch: MAIN
Changes since 1.17: +5 -2 lines
Diff to previous 1.17 (colored)

dev/ic/tpm: Add missing line break in attach output.

Revision 1.17 / (download) - annotate - [select for diffs], Mon Jan 4 18:22:19 2021 UTC (3 years, 1 month ago) by riastradh
Branch: MAIN
Changes since 1.16: +9 -7 lines
Diff to previous 1.16 (colored)

dev/ic/tpm: Tidy up headers.

- Add include guards.
- Add necessary includes.
- Sort includes.
- Use _BYTE_ORDER, not BYTE_ORDER, for public header.

Revision 1.12.4.1 / (download) - annotate - [select for diffs], Mon Apr 13 08:04:22 2020 UTC (3 years, 10 months ago) by martin
Branch: phil-wifi
Changes since 1.12: +364 -865 lines
Diff to previous 1.12 (colored) next main 1.13 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.13.2.1 / (download) - annotate - [select for diffs], Wed Oct 16 09:52:38 2019 UTC (4 years, 4 months ago) by martin
Branch: netbsd-9
CVS Tags: netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1
Changes since 1.13: +198 -354 lines
Diff to previous 1.13 (colored)

Pull up following revision(s) (requested by maxv in ticket #336):

	sys/dev/isa/tpm_isa.c: revision 1.6
	sys/dev/ic/tpm.c: revision 1.16
	sys/dev/isa/tpm_isa.c: revision 1.7
	sys/dev/acpi/tpm_acpi.c: revision 1.10
	sys/dev/acpi/tpm_acpi.c: revision 1.11
	sys/dev/ic/tpmreg.h: revision 1.5
	sys/dev/ic/tpmreg.h: revision 1.6
	sys/dev/acpi/tpm_acpi.c: revision 1.9
	sys/dev/ic/tpmvar.h: revision 1.5
	sys/dev/ic/tpmvar.h: revision 1.6
	sys/dev/ic/tpmvar.h: revision 1.7
	sys/dev/ic/tpm.c: revision 1.14
	share/man/man4/tpm.4: revision 1.5
	sys/dev/isa/tpm_isa.c: revision 1.5
	sys/dev/ic/tpm.c: revision 1.15

Improvements in tpm(4):
  - Remove interrupt support, do polling only, avoids unnecessary trouble.
  - Simplify a few things.
  - Fix the suspend function, the SaveState command is 0x98, not 0x9C.
  - Make the driver MP-safe.
  - Sync the man page with reality.

 -

Add suspend support for TPM 2.0 chips. Check the TPM response also for 1.2
chips. Unfortunately I cannot really test this change since ACPI suspend
does not work on any of my laptops.

 -

Provide a better abstraction for the TPM interface. Report it in the ioctl.

Revision 1.16 / (download) - annotate - [select for diffs], Wed Oct 9 14:03:58 2019 UTC (4 years, 4 months ago) by maxv
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, 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: thorpej-futex
Changes since 1.15: +81 -73 lines
Diff to previous 1.15 (colored)

Provide a better abstraction for the TPM interface. Report it in the ioctl.

Revision 1.15 / (download) - annotate - [select for diffs], Wed Oct 9 07:30:58 2019 UTC (4 years, 4 months ago) by maxv
Branch: MAIN
Changes since 1.14: +61 -21 lines
Diff to previous 1.14 (colored)

Add suspend support for TPM 2.0 chips. Check the TPM response also for 1.2
chips. Unfortunately I cannot really test this change since ACPI suspend
does not work on any of my laptops.

Revision 1.14 / (download) - annotate - [select for diffs], Tue Oct 8 18:43:02 2019 UTC (4 years, 4 months ago) by maxv
Branch: MAIN
Changes since 1.13: +73 -277 lines
Diff to previous 1.13 (colored)

Improvements in tpm(4):
 - Remove interrupt support, do polling only, avoids unnecessary trouble.
 - Simplify a few things.
 - Fix the suspend function, the SaveState command is 0x98, not 0x9C.
 - Make the driver MP-safe.
 - Sync the man page with reality.

Revision 1.13 / (download) - annotate - [select for diffs], Sat Jun 22 12:57:41 2019 UTC (4 years, 8 months ago) by maxv
Branch: MAIN
CVS Tags: netbsd-9-base
Branch point for: netbsd-9
Changes since 1.12: +363 -708 lines
Diff to previous 1.12 (colored)

Revamp the TPM driver

 * Fix several bugs, and clean up.
 * Drop the "legacy" interface, it relied on an undocumented global
   variable that was never initialized. It likely had never been tested
   either, so good riddance.
 * Add support for TPM 2.0 chips via ACPI. For these we use the TIS1.2
   interface, same as TPM 1.2.
 * Provide an ioctl to fetch TPM information from the driver.

Tested on a Lenovo desktop with ACPI-TPM2.0, an HP laptop ACPI-TPM2.0, a
Dell laptop with ISA-TPM1.2.

Revision 1.7.10.2 / (download) - annotate - [select for diffs], Sun Dec 3 11:37:04 2017 UTC (6 years, 2 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.7.10.1: +2 -1 lines
Diff to previous 1.7.10.1 (colored) to branchpoint 1.7 (colored) next main 1.8 (colored)

update from HEAD

Revision 1.12 / (download) - annotate - [select for diffs], Sat Oct 28 04:53:55 2017 UTC (6 years, 4 months ago) by riastradh
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, phil-wifi-base, phil-wifi-20190609, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, 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, pgoyette-compat, jdolecek-ncqfixes-base, jdolecek-ncqfixes, isaki-audio2-base, isaki-audio2
Branch point for: phil-wifi
Changes since 1.11: +4 -3 lines
Diff to previous 1.11 (colored)

Kill some more extern struct cfdriver declarations.

Down with externs in .c!

Revision 1.7.10.1 / (download) - annotate - [select for diffs], Wed Aug 20 00:03:38 2014 UTC (9 years, 6 months ago) by tls
Branch: tls-maxphys
Changes since 1.7: +14 -15 lines
Diff to previous 1.7 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.10.2.1 / (download) - annotate - [select for diffs], Sun Aug 10 06:54:52 2014 UTC (9 years, 6 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.10: +3 -2 lines
Diff to previous 1.10 (colored) next main 1.11 (colored)

Rebase.

Revision 1.11 / (download) - annotate - [select for diffs], Fri Jul 25 08:10:37 2014 UTC (9 years, 7 months ago) by dholland
Branch: MAIN
CVS Tags: tls-maxphys-base, tls-earlyentropy-base, 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, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, nick-nhusb, 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, netbsd-8, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, 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, netbsd-7, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Changes since 1.10: +3 -2 lines
Diff to previous 1.10 (colored)

Add d_discard to all struct cdevsw instances I could find.

All have been set to "nodiscard"; some should get a real implementation.

Revision 1.7.6.3 / (download) - annotate - [select for diffs], Thu May 22 11:40:22 2014 UTC (9 years, 9 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.7.6.2: +13 -15 lines
Diff to previous 1.7.6.2 (colored) to branchpoint 1.7 (colored) next main 1.8 (colored)

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.7.14.1 / (download) - annotate - [select for diffs], Sun May 18 17:45:38 2014 UTC (9 years, 9 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.7: +13 -15 lines
Diff to previous 1.7 (colored) next main 1.8 (colored)

sync with head

Revision 1.10 / (download) - annotate - [select for diffs], Sun Mar 16 05:20:27 2014 UTC (9 years, 11 months ago) by dholland
Branch: MAIN
CVS Tags: yamt-pagecache-base9, 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
Changes since 1.9: +13 -4 lines
Diff to previous 1.9 (colored)

Change (mostly mechanically) every cdevsw/bdevsw I can find to use
designated initializers.

I have not built every extant kernel so I have probably broken at
least one build; however I've also found and fixed some wrong
cdevsw/bdevsw entries so even if so I think we come out ahead.

Revision 1.9 / (download) - annotate - [select for diffs], Thu Oct 17 21:24:24 2013 UTC (10 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.8: +2 -5 lines
Diff to previous 1.8 (colored)

- remove unused variables
- move variables inside ifdef sections
- ifdef notdef unused code
- use __USE for debugging variables

Revision 1.8 / (download) - annotate - [select for diffs], Sat Sep 14 13:09:55 2013 UTC (10 years, 5 months ago) by joerg
Branch: MAIN
Changes since 1.7: +2 -10 lines
Diff to previous 1.7 (colored)

GC unused functions and variables.

Revision 1.7.6.2 / (download) - annotate - [select for diffs], Tue Apr 17 00:07:37 2012 UTC (11 years, 10 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.7.6.1: +1157 -0 lines
Diff to previous 1.7.6.1 (colored) to branchpoint 1.7 (colored)

sync with head

Revision 1.7.4.2 / (download) - annotate - [select for diffs], Sat Feb 18 07:34:24 2012 UTC (12 years ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.7.4.1: +1157 -0 lines
Diff to previous 1.7.4.1 (colored) to branchpoint 1.7 (colored) next main 1.8 (colored)

merge to -current.

Revision 1.7.6.1, Mon Feb 6 02:03:32 2012 UTC (12 years ago) by yamt
Branch: yamt-pagecache
Changes since 1.7: +0 -1157 lines
FILE REMOVED

file tpm.c was added on branch yamt-pagecache on 2012-04-17 00:07:37 +0000

Revision 1.7.4.1, Mon Feb 6 02:03:32 2012 UTC (12 years ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.7: +0 -1157 lines
FILE REMOVED

file tpm.c was added on branch jmcneill-usbmp on 2012-02-18 07:34:24 +0000

Revision 1.7 / (download) - annotate - [select for diffs], Mon Feb 6 02:03:32 2012 UTC (12 years ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, netbsd-6-base, 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, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, khorben-n900, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10, agc-symver-base, agc-symver
Branch point for: yamt-pagecache, tls-maxphys, rmind-smpnet, jmcneill-usbmp
Changes since 1.6: +4 -4 lines
Diff to previous 1.6 (colored)

PR/45932: Pierre Pronchery: Fix the return values of the suspend and resume
functions.

Revision 1.6 / (download) - annotate - [select for diffs], Fri Feb 3 15:42:46 2012 UTC (12 years ago) by christos
Branch: MAIN
Changes since 1.5: +3 -3 lines
Diff to previous 1.5 (colored)

shutup debug.

Revision 1.5 / (download) - annotate - [select for diffs], Fri Feb 3 04:03:11 2012 UTC (12 years ago) by christos
Branch: MAIN
Changes since 1.4: +5 -4 lines
Diff to previous 1.4 (colored)

don't try to write in a const buffer.

Revision 1.4 / (download) - annotate - [select for diffs], Mon Jan 23 04:12:26 2012 UTC (12 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.3: +23 -7 lines
Diff to previous 1.3 (colored)

reduce the polling interval to 2 seconds, and try harder to get interrupts
working.

Revision 1.3 / (download) - annotate - [select for diffs], Sun Jan 22 20:41:25 2012 UTC (12 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.2: +92 -88 lines
Diff to previous 1.2 (colored)

cosmetic fixes

Revision 1.2 / (download) - annotate - [select for diffs], Sun Jan 22 16:35:39 2012 UTC (12 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.1: +3 -3 lines
Diff to previous 1.1 (colored)

as jared noted, this is not mpsafe.

Revision 1.1 / (download) - annotate - [select for diffs], Sun Jan 22 06:44:28 2012 UTC (12 years, 1 month ago) by christos
Branch: MAIN

add a tpm driver from bsssd.sourceforge.net

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>