History log of /freebsd-10-stable/sys/kern/kern_tc.c
Revision Date Author Comments
# 302234 27-Jun-2016 bdrewery

MFC r298819:

sys/kern: spelling fixes in comments.


# 288473 02-Oct-2015 kib

MFC r288216:
Use per-cpu values for base and last in tc_cpu_ticks().


# 287042 23-Aug-2015 ian

MFC r286701:

If a specific timecounter has been chosen via sysctl, and a new
timecounter with higher quality registers (presumably in a module that has
just been loaded), do not undo the user's choice by switching to the new
timecounter.

Document that behavior, and also the fact that there is no way to
unregister a timecounter (and thus no way to unload a module containing
one).


# 287036 23-Aug-2015 ian

MFC r286423, r286429:

RFC 2783 requires a status of ETIMEDOUT, not EWOULDBLOCK, on a timeout.

Only process the PPS event types currently enabled in pps_params.mode.


# 285753 21-Jul-2015 kib

Revert r284178 and r284256.

Approved by: re (gjb)


# 284548 18-Jun-2015 kib

MFC r284178:
Add barriers when updating and reading th_generation.

MFC r284256:
Tweaks for r284178.


# 283341 23-May-2015 ian

MFC r279728, r279729, r279756, r279773, r282424, r281367:

Add mutex support to the pps_ioctl() API in the kernel.

Add PPS support to USB serial drivers.

Use correct mode variable for PPS support.

Switch polarity of USB serial PPS events.

The ftdi "get latency" and "get bitmode" device commands are read
operations, not writes.

Implement a mechanism for making changes in the kernel<->driver PPS
interface without breaking ABI or API compatibility with existing drivers.

Bump version number to indicate the new PPS ABI version changes in the
pps_state structure.


# 280973 01-Apr-2015 jhb

MFC 276724:
On some Intel CPUs with a P-state but not C-state invariant TSC the TSC
may also halt in C2 and not just C3 (it seems that in some cases the BIOS
advertises its C3 state as a C2 state in _CST). Just play it safe and
disable both C2 and C3 states if a user forces the use of the TSC as the
timecounter on such CPUs.

PR: 192316


# 288473 02-Oct-2015 kib

MFC r288216:
Use per-cpu values for base and last in tc_cpu_ticks().


# 287042 23-Aug-2015 ian

MFC r286701:

If a specific timecounter has been chosen via sysctl, and a new
timecounter with higher quality registers (presumably in a module that has
just been loaded), do not undo the user's choice by switching to the new
timecounter.

Document that behavior, and also the fact that there is no way to
unregister a timecounter (and thus no way to unload a module containing
one).


# 287036 23-Aug-2015 ian

MFC r286423, r286429:

RFC 2783 requires a status of ETIMEDOUT, not EWOULDBLOCK, on a timeout.

Only process the PPS event types currently enabled in pps_params.mode.


# 285753 21-Jul-2015 kib

Revert r284178 and r284256.

Approved by: re (gjb)


# 284548 18-Jun-2015 kib

MFC r284178:
Add barriers when updating and reading th_generation.

MFC r284256:
Tweaks for r284178.


# 283341 23-May-2015 ian

MFC r279728, r279729, r279756, r279773, r282424, r281367:

Add mutex support to the pps_ioctl() API in the kernel.

Add PPS support to USB serial drivers.

Use correct mode variable for PPS support.

Switch polarity of USB serial PPS events.

The ftdi "get latency" and "get bitmode" device commands are read
operations, not writes.

Implement a mechanism for making changes in the kernel<->driver PPS
interface without breaking ABI or API compatibility with existing drivers.

Bump version number to indicate the new PPS ABI version changes in the
pps_state structure.


# 280973 01-Apr-2015 jhb

MFC 276724:
On some Intel CPUs with a P-state but not C-state invariant TSC the TSC
may also halt in C2 and not just C3 (it seems that in some cases the BIOS
advertises its C3 state as a C2 state in _CST). Just play it safe and
disable both C2 and C3 states if a user forces the use of the TSC as the
timecounter on such CPUs.

PR: 192316