<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/dev/amdsbwd, branch release/13.2.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=release%2F13.2.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=release%2F13.2.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2022-06-10T12:32:22Z</updated>
<entry>
<title>amdsbwd(4): Fix a typo in a source code comment</title>
<updated>2022-06-10T12:32:22Z</updated>
<author>
<name>Gordon Bergling</name>
<email>gbe@FreeBSD.org</email>
</author>
<published>2022-06-04T09:26:44Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=836ade5e8f5da6a564cd61dcbee137b5438a4880'/>
<id>urn:sha1:836ade5e8f5da6a564cd61dcbee137b5438a4880</id>
<content type='text'>
- s/accross/across/

(cherry picked from commit 68c0bd3e3f45e030d48b354d7444934ca381a07e)
</content>
</entry>
<entry>
<title>amdsbwd: always enable watchdog register decoding</title>
<updated>2021-12-27T11:37:29Z</updated>
<author>
<name>Andriy Gapon</name>
<email>avg@FreeBSD.org</email>
</author>
<published>2020-05-27T10:15:54Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=bf206683a865c381f8f6f70bd8a0c0cf840ea940'/>
<id>urn:sha1:bf206683a865c381f8f6f70bd8a0c0cf840ea940</id>
<content type='text'>
This seems to be required even if the watchdog is accessed via the common
MMIO space.

Tested on:
- Ryzen 3 3200U APU;
- Ryzen 7 5800X CPU with X570 chipset.

(cherry picked from commit cca0d3bbd8c9f8b50c6940c33704a6c8c464b68f)
</content>
</entry>
<entry>
<title>amd*: clean up empty lines in .c and .h files</title>
<updated>2020-09-01T21:39:19Z</updated>
<author>
<name>Mateusz Guzik</name>
<email>mjg@FreeBSD.org</email>
</author>
<published>2020-09-01T21:39:19Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e492d18c3c8660f2a8afb673395e00baec0b6488'/>
<id>urn:sha1:e492d18c3c8660f2a8afb673395e00baec0b6488</id>
<content type='text'>
</content>
</entry>
<entry>
<title>amdsbwd, intpm: Add Hygon Dhyana support.</title>
<updated>2020-02-13T19:09:24Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2020-02-13T19:09:24Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=decf9c5ff61b4a53951fb065fb8139bc7859263d'/>
<id>urn:sha1:decf9c5ff61b4a53951fb065fb8139bc7859263d</id>
<content type='text'>
Initialize the FCH SMBus controller for Hygon Dhyana CPU.
Set the vendor of the FCH description via the exact CPU vendor.

Submitted by:	Pu Wen &lt;puwen@hygon.cn&gt;
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D23558
</content>
</entry>
<entry>
<title>Extract eventfilter declarations to sys/_eventfilter.h</title>
<updated>2019-05-20T00:38:23Z</updated>
<author>
<name>Conrad Meyer</name>
<email>cem@FreeBSD.org</email>
</author>
<published>2019-05-20T00:38:23Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e2e050c8ef733138fc6a9e514e4b856fefbc3ff1'/>
<id>urn:sha1:e2e050c8ef733138fc6a9e514e4b856fefbc3ff1</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>amdsbwd: fix reboot status reporting</title>
<updated>2018-05-05T05:22:11Z</updated>
<author>
<name>Andriy Gapon</name>
<email>avg@FreeBSD.org</email>
</author>
<published>2018-05-05T05:22:11Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=34577ddb157019f42a12193090c880440a62bf4d'/>
<id>urn:sha1:34577ddb157019f42a12193090c880440a62bf4d</id>
<content type='text'>
Originally, I overlooked that PMIO register 0xc0 has a dual personality.
It can either be S5/Reset Status register or Misc. Fix register (aka
debug status register).  The mode is controlled by bit 2 in PMIO
register 0xc4.  Apparently there are register programming requirements
for the second personality, so many BIOSes leave the register, after
programming it, in that mode.  So, we need to switch the register to the
correct mode.

Additionally, AMDSB8_WD_RST_STS was defined incorrectly as bit 13 while
it is actually bit 25 (and the register's width is 32 bits, not 16).

With this change I see the following in dmesg after a reset by the
watchdog:
amdsbwd0: ResetStatus = 0x42000000
amdsbwd0: Previous Reset was caused by Watchdog

MFC after:	2 weeks
</content>
</entry>
<entry>
<title>amdsbwd: add suspend and resume methods</title>
<updated>2018-05-03T15:33:18Z</updated>
<author>
<name>Andriy Gapon</name>
<email>avg@FreeBSD.org</email>
</author>
<published>2018-05-03T15:33:18Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=9a042dbc6e7b60c934b60955ae73c120449c3705'/>
<id>urn:sha1:9a042dbc6e7b60c934b60955ae73c120449c3705</id>
<content type='text'>
Without the suspend method the watchdog may fire in S1 state.  Without
the resume method the watchdog is not re-enabled after returning from S3
state.  I observe this on one of my systems.

Not sure if watchdog(4) should participate in the suspend actions.
Right now everything is up to individual drivers.

MFC after:	2 weeks
</content>
</entry>
<entry>
<title>[amdsbwd] teach amdsbwd that it has options</title>
<updated>2018-04-24T13:07:17Z</updated>
<author>
<name>Eitan Adler</name>
<email>eadler@FreeBSD.org</email>
</author>
<published>2018-04-24T13:07:17Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=66e77f8d1cb185966fe3209dee7b5621eca44e96'/>
<id>urn:sha1:66e77f8d1cb185966fe3209dee7b5621eca44e96</id>
<content type='text'>
AMDSBWD_DEBUG was previously checked for as a #define but it was not
possible to define it

Reviewed by:	kevans
Discussed with:	kenm
</content>
</entry>
<entry>
<title>amdsbwd: fix handling of timeout values beyond the supported range</title>
<updated>2018-01-10T17:35:00Z</updated>
<author>
<name>Andriy Gapon</name>
<email>avg@FreeBSD.org</email>
</author>
<published>2018-01-10T17:35:00Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=cf38c8c6308b64e45a23ccfdc15f3a7911f292dd'/>
<id>urn:sha1:cf38c8c6308b64e45a23ccfdc15f3a7911f292dd</id>
<content type='text'>
The driver now fully observes watchdog(9) protocol.
Previously a too large timeout was silently clamped while the correct
behavior is to disable the watchdog and leave the error as is
(i.e. to not report success).

Also, previously a too small value caused the timer to stop while the
correct behavior is to use the minimal supported value.

MFC after:	2 weeks
</content>
</entry>
<entry>
<title>sys/dev: further adoption of SPDX licensing ID tags.</title>
<updated>2017-11-27T14:52:40Z</updated>
<author>
<name>Pedro F. Giffuni</name>
<email>pfg@FreeBSD.org</email>
</author>
<published>2017-11-27T14:52:40Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=718cf2ccb9956613756ab15d7a0e28f2c8e91cab'/>
<id>urn:sha1:718cf2ccb9956613756ab15d7a0e28f2c8e91cab</id>
<content type='text'>
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.
</content>
</entry>
</feed>
