History log of /freebsd-current/sys/dev/ichwd/ichwd.h
Revision Date Author Comments
# 95ee2897 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

sys: Remove $FreeBSD$: two-line .h pattern

Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/


# 4d846d26 10-May-2023 Warner Losh <imp@FreeBSD.org>

spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD

The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch
up to that fact and revert to their recommended match of BSD-2-Clause.

Discussed with: pfg
MFC After: 3 days
Sponsored by: Netflix


# 9da8235c 30-Jul-2021 Paweł Anikiel <pan@semihalf.com>

ichwd: add Lewisburg Super SKUs, Cannon and Comet Lake support

Cannon and Comet Lake PCHs have their PMC hidden, so when reading
the ACPI Base Address fails, we assume a default value.

Obtained from: Semihalf
Sponsored by: Stormshield


# 77cb3b49 24-Mar-2020 Justin Hibbits <jhibbits@FreeBSD.org>

ichwd: Add Atom C3000 watchdog ID.

MFC after: 3 days
Sponsored by: Juniper Networks, Inc


# 701ded4e 14-Dec-2018 Andriy Gapon <avg@FreeBSD.org>

ichwd: add Sunrise Point-LP ID

Submitted by: Tetsuya Uemura <t_uemura@macome.co.jp>
Tested by: Tetsuya Uemura <t_uemura@macome.co.jp>
MFC after: 2 weeks
Relnotes: maybe


# 8b65c16f 14-Dec-2018 Andriy Gapon <avg@FreeBSD.org>

ichwd: add support for clearing No Reboot bit in TCOv4

This is based on a patch developed by
Tetsuya Uemura <t_uemura@macome.co.jp>.
Many thanks!

Submitted by: Tetsuya Uemura <t_uemura@macome.co.jp> (earlier version)
Tested by: Tetsuya Uemura <t_uemura@macome.co.jp>
MFC after: 2 weeks


# da4e7cad 22-Oct-2018 Andriy Gapon <avg@FreeBSD.org>

ichwd: add support for TCO watchdog timer in Lewisburg PCH (C620)

The change is based on public documents listed below as well as Linux
changes and the code developed by Kostik.

The documents:
- Intel® C620 Series Chipset Platform Controller Hub Datasheet
- Intel® 100 Series and Intel® C230 Series Chipset Family Platform
Controller Hub (PCH) Datasheet - Volume 2 of 2

Interesting Linux commits:
- https://github.com/torvalds/linux/commit/9424693035a57961a8eb09e96aab315a7096535d
- https://github.com/torvalds/linux/commit/2a7a0e9bf7b32e838d873226808ab8a6c00148f7

The peculiarity of the new chipsets is that the watchdog resources are
configured in PCI registers of SMBus controller and Power Management
function as opposed to the LPC bridge. I took a simplistic approach of
querying the resources from the respective PCI devices. ichwd is still
a device on isa bus. The PCI devices are found by their slot and
function defined in the datasheets as siblings of the upstream LPC
bridge.

There are some shortcuts and missing features.

First of all, I have not implemented the functionality required to clear
the no-reboot bit. That would require writing to a special PCI
configuration register of a hidden / invisible PCI device after which
the device would start responding to accesses to other registers. The
no-reboot bit was not set on my test hardware, so I decided to leave its
handling for the later time.

Also, I did not try to handle the case where the watchdog resources are
not configured by the hardware as well as the case where ACPI defined
operational region conflicts with the watchdog resources. My test
system did not have either of those problem, so, again, I decided to
leave those cases until later.
See this Linux commit for some details of the ACPI problem:
https://github.com/torvalds/linux/commit/a7ae81952cdab56a1277bd2f9ed7284c0f575120

Finally, I have added only the PCI ID found on my test system. I think
that more IDs can be added as the change gets tested.

Tested on Dell PowerEdge R740.

PR: 222079
Reviewed by: mav, kib
MFC after: 3 weeks
Relnotes: maybe
Sponsored by: Panzura
Differential Revision: https://reviews.freebsd.org/D17585


# 718cf2cc 27-Nov-2017 Pedro F. Giffuni <pfg@FreeBSD.org>

sys/dev: further adoption of SPDX licensing ID tags.

Mainly focus on files that use BSD 2-Clause license, however the tool I
was using misidentified many licenses so this was mostly a manual - error
prone - task.

The Software Package Data Exchange (SPDX) group provides a specification
to make it easier for automated tools to detect and summarize well known
opensource licenses. We are gradually adopting the specification, noting
that the tags are considered only advisory and do not, in any way,
superceed or replace the license texts.


# 263f801f 10-Sep-2017 Konstantin Belousov <kib@FreeBSD.org>

Fix typo, TC0->TCO.

Submitted by: jhb
MFC after: 1 week


# 8bbe1542 09-Sep-2017 Konstantin Belousov <kib@FreeBSD.org>

Add definitions of (new) bits for TCO registers from the
Lewisburg/Sunrise Point documentation.

Sponsored by: The FreeBSD Foundation
MFC after: 1 week


# d703e548 10-Sep-2017 Konstantin Belousov <kib@FreeBSD.org>

Style: tab after #define.

Sponsored by: The FreeBSD Foundation
MFC after: 1 week


# 9417c448 28-Feb-2017 Warner Losh <imp@FreeBSD.org>

Fixed TCO v3 tick convert

TCO v3's internal timer is stored as seconds.

Submitted by: Denir Li <denir-li@users.noreply.github.com>
Pull Request: https://github.com/freebsd/freebsd/pull/51
Pull Request: https://github.com/freebsd/freebsd/pull/52


# 078246e5 18-Aug-2015 Fabien Thomas <fabient@FreeBSD.org>

Add ichwd TCO version 3 support (Bay Trail / Rangeley...)

Reviewed by: jhb
Obtained from: Cas-well
Sponsored by: Stormshield


# e67f3bec 25-Nov-2014 Alexander Motin <mav@FreeBSD.org>

Add bunch of PCI IDs of Intel Wildcat Point (9 Series) chipsets.

MFC after: 1 week


# 428e286d 19-Jul-2013 Jack F Vogel <jfv@FreeBSD.org>

Add new Coleto Creek device support: SATA, SMBus, and Watchdog devices.

MFC after: 1 week


# 5531f5a1 02-Jan-2013 Jack F Vogel <jfv@FreeBSD.org>

Add support for new Intel Lynx Point PCH - Watchdog Timer Device IDs


# e0636bc0 05-Jan-2012 John Baldwin <jhb@FreeBSD.org>

Remove use of explicit bus space tags and handles and use methods that
operate on resource objects instead.

MFC after: 1 week


# 73e3bb65 11-May-2011 Jack F Vogel <jfv@FreeBSD.org>

Chipset support for the new Intel Panther Point PCH, thanks
to Seth Heasley for preparing the changes.


# bb83df76 25-Apr-2011 Attilio Rao <attilio@FreeBSD.org>

Don't assume that SMI are enabled when attaching ichwd and then do
correct unwind based on former state.

Sponsored by: Sandvine Incorporated
Reviewed by: des
MFC after: 1 week


# d0827a16 21-Apr-2011 Attilio Rao <attilio@FreeBSD.org>

Add some more bit definitions:
- TCO_MESSAGEx: TCO specific regs providing the ability to monitor BIOS
bootup activity.
- TCO_NEWCENTURY: reporting RTC year roll over.
- TCO_NMI2SMI_EN, TCO_NMI_NOW: controlling SMIs conversion to NMIs and
NMI trigger.
- SMI_GBL_EN: Enabling SMI delivery for all the northbridge controller.

MFC after: 10 days


# bf0477b2 31-Jan-2011 Jack F Vogel <jfv@FreeBSD.org>

Support for the new Patsburg PCH chipset:
- SMBus Controller
- SATA Controller
- HD Audio Controller
- Watchdog Controller

Thanks to Seth Heasley (seth.heasley@intel.com) for providing us code.

MFC after 3 days


# d5267ede 31-Jan-2011 Jack F Vogel <jfv@FreeBSD.org>

Support for the new DH89xxCC PCH chipset including:
- SATA controller
- Watchdog timer
- SMBus controller


# cb1f5a37 08-Dec-2010 Attilio Rao <attilio@FreeBSD.org>

Use convenience macro for minimum and maximum value capping when
re-arming the watchdog timeout.

Sponsored by: Sandvine Incorporated
Submitted by: Mark Johnston <mjohnston at sandvine dot com>
Reviewed by: des
MFC after: 10 days


# a7d5f7eb 19-Oct-2010 Jamie Gritton <jamie@FreeBSD.org>

A new jail(8) with a configuration file, to replace the work currently done
by /etc/rc.d/jail.


# 6d23f874 27-Aug-2010 Jack F Vogel <jfv@FreeBSD.org>

Add Intel Cougar Point PCH LPC Controller Device IDs
for watchdog support. Also add additional Intel Ibex
Peak (5 Series/3400 Series) PCH IDs.

MFC after a week


# 624e666b 22-Feb-2010 Ed Maste <emaste@FreeBSD.org>

MFC r202812:

Add H55 ID from Mike Tancsa, with minor rewording from avg@.

PR: kern/143068
Submitted by: Mike Tancsa (Sentex)


# b6a18bc9 24-Jan-2010 Remko Lodder <remko@FreeBSD.org>

Add support for the NM10 chipset.

PR: kern/143118
Submitted by: Koshin sumitani <ksumitani at mui dot biglobe dot ne dot jp>
Approved by: imp (mentor, implicit)
MFC after: 3 days


# b8c05be0 22-Jan-2010 Ed Maste <emaste@FreeBSD.org>

Add H55 ID from Mike Tancsa, with minor rewording from avg@.

PR: kern/143068
Submitted by: Mike Tancsa (Sentex)
MFC after: 1 week


# d7f03759 19-Oct-2008 Ulf Lilleengen <lulf@FreeBSD.org>

- Import the HEAD csup code which is the basis for the cvsmode work.


# 94bf3b9f 25-Aug-2008 John Baldwin <jhb@FreeBSD.org>

Add more PCI IDs including those for ICH10.

PR: kern/126736
Submitted by: Olivier Smedts olivier of gid0 org
MFC after: 1 week


# 909a07a8 07-Jan-2008 Dag-Erling Smørgrav <des@FreeBSD.org>

Add support for ICH8M.

PR: kern/119351
Submitted by: Takeharu KATO <takeharu1219@ybb.ne.jp>
MFC after: 1 week


# 89dbcee8 31-Dec-2007 Dag-Erling Smørgrav <des@FreeBSD.org>

Add device IDs for the ICH9 family.

PR: i386/119126
Submitted by: Dan Lukes <dan@obluda.cz>
MFC after: 1 week


# abb75f86 31-Dec-2007 Dag-Erling Smørgrav <des@FreeBSD.org>

Tabify.


# b8b1729d 15-Nov-2007 Jack F Vogel <jfv@FreeBSD.org>

Add PCI device support for Intel S7000FC4UR in usb and ichwd, systems
will not install without the usb changes in the install kernel, so I
would like to MFC this in time for 7.0 RC

MFC: 3 days


# 438dafbb 13-Aug-2007 Dag-Erling Smørgrav <des@FreeBSD.org>

Update to support ICH[678] chipsets (based on a patch by Takeharu KATO)
Fix a resource allocation bug (explained by jhb on -acpi)
Thanks for Mike Tancsa for testing and helping track down the bug.

Approved by: re (kensmith)
MFC after: 3 weeks


# c094bde4 17-Feb-2006 Doug Ambrisko <ambrisko@FreeBSD.org>

Re-work the bus attachment somewhat. Make the rids unique for
the SMI/TCO address space. Switch the bus space I/O to the
one specific for either the SMI or TCO space. Re-calibrate
the tick. Add some more device id's, 82801FBR submitted by des.
This makes it work on the platforms I've tested with.

Go ahead by: des


# 098ca2bd 05-Jan-2005 Warner Losh <imp@FreeBSD.org>

Start each of the license/copyright comments with /*-, minor shuffle of lines


# cae8da61 11-May-2004 Dag-Erling Smørgrav <des@FreeBSD.org>

Add a driver for the watchdog timer function present on the LPC interface
bridge in Intel ICH-series chipsets.

The original implementation was by W. Daryl Hawkins of Texas A&M, but I
have made substantial modifications.