| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
MFC after: 3 days
Sponsored by: Juniper Networks, Inc
Notes:
svn path=/head/; revision=359285
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This allows replacing "sys/eventfilter.h" includes with "sys/_eventfilter.h"
in other header files (e.g., sys/{bus,conf,cpu}.h) and reduces header
pollution substantially.
EVENTHANDLER_DECLARE and EVENTHANDLER_LIST_DECLAREs were moved out of .c
files into appropriate headers (e.g., sys/proc.h, powernv/opal.h).
As a side effect of reduced header pollution, many .c files and headers no
longer contain needed definitions. The remainder of the patch addresses
adding appropriate includes to fix those files.
LOCK_DEBUG and LOCK_FILE_LINE_ARG are moved to sys/_lock.h, as required by
sys/mutex.h since r326106 (but silently protected by header pollution prior
to this change).
No functional change (intended). Of course, any out of tree modules that
relied on header pollution for sys/eventhandler.h, sys/lock.h, or
sys/mutex.h inclusion need to be fixed. __FreeBSD_version has been bumped.
Notes:
svn path=/head/; revision=347984
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Those should ensure correctness of ichwd_find_ich_lpc_bridge() and
ichwd_find_ich_lpc_bridge() as well as make it easier for both humans
and static analyzers to see the relation between tco_version and ich and
smb variables in ichwd_identify().
Reported by: Coverity
CID: 1396314, 1396317
MFC after: 10 days
Notes:
svn path=/head/; revision=342193
|
| |
|
|
|
|
|
|
|
|
| |
Submitted by: Tetsuya Uemura <t_uemura@macome.co.jp>
Tested by: Tetsuya Uemura <t_uemura@macome.co.jp>
MFC after: 2 weeks
Relnotes: maybe
Notes:
svn path=/head/; revision=342073
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=342072
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=339591
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
Notes:
svn path=/head/; revision=326255
|
| |
|
|
|
|
|
|
| |
Submitted by: jhb
MFC after: 1 week
Notes:
svn path=/head/; revision=323388
|
| |
|
|
|
|
|
|
|
|
| |
Lewisburg/Sunrise Point documentation.
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Notes:
svn path=/head/; revision=323387
|
| |
|
|
|
|
|
|
| |
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Notes:
svn path=/head/; revision=323386
|
| |
|
|
|
|
|
|
| |
Reported by: jhb
MFC after: 6 days
Notes:
svn path=/head/; revision=321856
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Resource allocation for parent device does not look good by itself, but
attempt to allocate them for unrelated device just does not end up good.
On Asus X99-E WS/USB3.1 system reporting ISA bridge via both PCI and ACPI
this reported to cause kernel panic on shutdown due to messed resources:
https://bugs.freenas.org/issues/25237.
MFC after: 1 week
Notes:
svn path=/head/; revision=321720
|
| |
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=314477
|
| |
|
|
|
|
|
| |
MFC after: 2 weeks
Notes:
svn path=/head/; revision=297255
|
| |
|
|
|
|
|
|
|
| |
Reviewed by: jhb
Obtained from: Cas-well
Sponsored by: Stormshield
Notes:
svn path=/head/; revision=286890
|
| |
|
|
|
|
|
|
|
| |
PR: 195851
Submitted by: ftigeot@wolfpond.org
MFC after: 1 week
Notes:
svn path=/head/; revision=285628
|
| |
|
|
|
|
|
| |
MFC after: 1 week
Notes:
svn path=/head/; revision=275101
|
| |
|
|
|
|
|
| |
MFC after: 1 week
Notes:
svn path=/head/; revision=253475
|
| |
|
|
|
|
|
|
|
| |
and these messages flood the log when bootverbose is enabled.
Approved by: rstone (co-mentor)
Notes:
svn path=/head/; revision=248104
|
| |
|
|
| |
Notes:
svn path=/head/; revision=244977
|
| |
|
|
|
|
|
|
|
| |
operate on resource objects instead.
MFC after: 1 week
Notes:
svn path=/head/; revision=229598
|
| |
|
|
|
|
|
|
|
|
|
|
| |
timeout is the same timeout.
Submitted by: Dmitrij Tejblum <tejblum yandex-team.ru>
PR: kern/139604
MFC after: 2 weeks
Approved by: re (kib)
Notes:
svn path=/head/; revision=225340
|
| |
|
|
|
|
|
| |
to Seth Heasley for preparing the changes.
Notes:
svn path=/head/; revision=221789
|
| |
|
|
|
|
|
|
|
|
| |
Sponsored by: Sandvine Incorporated
Reviewed by: des
MFC after: 1 week
X-MFC: r221015
Notes:
svn path=/head/; revision=221016
|
| |
|
|
|
|
|
|
|
|
|
| |
correct unwind based on former state.
Sponsored by: Sandvine Incorporated
Reviewed by: des
MFC after: 1 week
Notes:
svn path=/head/; revision=221015
|
| |
|
|
| |
Notes:
svn path=/head/; revision=221010
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
Notes:
svn path=/head/; revision=220925
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
Notes:
svn path=/head/; revision=218149
|
| |
|
|
|
|
|
|
|
| |
- SATA controller
- Watchdog timer
- SMBus controller
Notes:
svn path=/head/; revision=218140
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=216298
|
| |
|
|
|
|
|
|
|
| |
indicator bit, preventing us from reporting in that case.
X-MFC-with: r215868
Notes:
svn path=/head/; revision=216266
|
| |
|
|
| |
Notes:
svn path=/head/; revision=215918
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
- Fix a bug where TCO_BOOT_STS was supposed to be cleared after
TCO_SECOND_TO_STS and not before.
Sponsored by: Sandvine Incorporated
Submitted by: Mark Johnston <mjohnston at sandvine dot com>
Reviewed by: des
MFC after: 10 days
Notes:
svn path=/head/; revision=215868
|
| |
|
|
|
|
|
|
|
|
| |
for watchdog support. Also add additional Intel Ibex
Peak (5 Series/3400 Series) PCH IDs.
MFC after a week
Notes:
svn path=/head/; revision=211908
|
| |
|
|
|
|
|
|
|
|
|
| |
This is similar to a fix in r189305 but for earlier ICH versions (<= 5).
Reported by: someone via attilio
Discussed with: des, attilio
MFC after: 1 week
Notes:
svn path=/head/; revision=210454
|
| |
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=202917
|
| |
|
|
|
|
|
|
|
| |
PR: kern/143068
Submitted by: Mike Tancsa (Sentex)
MFC after: 1 week
Notes:
svn path=/head/; revision=202812
|
| |
|
|
|
|
|
|
| |
Reviewed by: imp, des
MFC after: 1 week
Notes:
svn path=/head/; revision=199015
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
| grep <modname>' can be used instead.
Put a message behind bootverbose as
ichwd0: <Intel ICH6M watchdog timer> on isa0
ichwd0: Intel ICH6M watchdog timer (ICH6 or equivalent)
does not make a lot of sense.
MFC after: 1 week
Notes:
svn path=/head/; revision=197072
|
| |
|
|
|
|
|
|
|
|
| |
Generated code is identical after stripping .comment section.
Suggested by: Andriy Gapon <avg@icyb.net.ua>
MFC after: 2 weeks
Notes:
svn path=/head/; revision=190030
|
| |
|
|
|
|
|
| |
Approved by: jhb (mentor)
Notes:
svn path=/head/; revision=189305
|
| |
|
|
|
|
|
|
|
| |
PR: kern/126736
Submitted by: Olivier Smedts olivier of gid0 org
MFC after: 1 week
Notes:
svn path=/head/; revision=182161
|
| |
|
|
|
|
|
|
|
| |
PR: kern/119351
Submitted by: Takeharu KATO <takeharu1219@ybb.ne.jp>
MFC after: 1 week
Notes:
svn path=/head/; revision=175128
|
| |
|
|
|
|
|
|
|
| |
PR: i386/119126
Submitted by: Dan Lukes <dan@obluda.cz>
MFC after: 1 week
Notes:
svn path=/head/; revision=175013
|
| |
|
|
| |
Notes:
svn path=/head/; revision=175012
|
| |
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=173661
|
| |
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=171820
|
| |
|
|
|
|
|
|
|
|
|
| |
watchdog might hide the succesful arming of an earlier one. Accept that on
failing to arm any watchdog (because of non-supported timeouts) EOPNOTSUPP is
returned instead of the more appropriate EINVAL.
MFC after: 3 days
Notes:
svn path=/head/; revision=167950
|
| |
|
|
|
|
|
|
|
|
|
| |
watchdog chip.
Noticed by: Mike Tancsa
Tested by: Mike Tancsa
MFC after: 1 week
Notes:
svn path=/head/; revision=167503
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
behave as expected.
Also:
- Return an error if WD_PASSIVE is passed in to the ioctl as only
WD_ACTIVE is implemented at the moment. See sys/watchdog.h for an
explanation of the difference between WD_ACTIVE and WD_PASSIVE.
- Remove the I_HAVE_TOTALLY_LOST_MY_SENSE_OF_HUMOR define. If you've
lost your sense of humor, than don't add a define.
Specific changes:
i80321_wdog.c
Don't roll your own passive watchdog tickle as this would defeat the
purpose of an active (userland) watchdog tickle.
ichwd.c / ipmi.c:
WD_ACTIVE means active patting of the watchdog by a userland process,
not whether the watchdog is active. See sys/watchdog.h.
kern_clock.c:
(software watchdog) Remove a check for WD_ACTIVE as this does not make
sense here. This reverts r1.181.
Notes:
svn path=/head/; revision=165260
|