<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/dev, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=main</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2026-05-19T17:18:00Z</updated>
<entry>
<title>vnic: Add missing #include</title>
<updated>2026-05-19T17:18:00Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2026-05-19T17:18:00Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=8c9dc47b5fcaf58a89b1511118b78a65737b20cc'/>
<id>urn:sha1:8c9dc47b5fcaf58a89b1511118b78a65737b20cc</id>
<content type='text'>
Reported by:	bz, olivier
Fixes:		6dc813301a17 ("sys: Use is_pci_device instead of direct comparisons to devclasses")
Sponsored by:	Chelsio Communications
</content>
</entry>
<entry>
<title>snd_hda: Reassign duplicate HDMI/DP pin sequences instead of disabling</title>
<updated>2026-05-19T12:25:51Z</updated>
<author>
<name>Abdelkader Boudih</name>
<email>freebsd@seuros.com</email>
</author>
<published>2026-05-19T12:24:14Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=65341ec3172936804b081c8ceca9bae88f5c7192'/>
<id>urn:sha1:65341ec3172936804b081c8ceca9bae88f5c7192</id>
<content type='text'>
Some firmware (e.g. Apple EFI on Sandy Bridge Mac hardware) programs all
HDMI/DP output pins in an association with identical sequence numbers.

The existing code disables the entire association on the first
duplicate, leaving HDMI/DP audio non-functional.

For digital output pins (HDMI/DP) with seq=0 duplicates, search for the
next free sequence slot and reassign the duplicate rather than
disabling.

The seq=0 restriction targets the known Apple firmware pattern; any
other duplicate sequence is more likely a genuine firmware error and the
association is still disabled.

Update first after reassignment so that hpredir is not left pointing at
a stale sequence. Non-digital and input associations retain the existing
disable behaviour.

MFC after:	1 week
Reviewed by:	christos
Differential Revision:	https://reviews.freebsd.org/D55473
</content>
</entry>
<entry>
<title>iwx: clean up / document noise floor and RSSI fetching</title>
<updated>2026-05-19T05:27:59Z</updated>
<author>
<name>Adrian Chadd</name>
<email>adrian@FreeBSD.org</email>
</author>
<published>2025-11-16T03:13:59Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e56f7becc7efe05acbb08162961dca574b152720'/>
<id>urn:sha1:e56f7becc7efe05acbb08162961dca574b152720</id>
<content type='text'>
* Document what iwx_rxmq_get_signal_strength() is doing in a comment,
  noting what the firmware returns and what math is being done on it
  to turn it into a dBm value.

* Document what iwx_get_noise() is supposed to do, that we can't just
  go do math with log numbers like we're doing, but also that we're
  seeing zeros in this firmware (AX210), which may mean we're decoding
  using the wrong structs.

* Swizzle around the RSSI calculation as a function, add min/max RSSI
  values, and calculate RSSI against the noise floor.

* And handle the lowest noise floor value - it can't be -127dBm as
  that will throw things off.  Cap it at -100dBm which is a little
  lower than the thermal noise floor at 20MHz (-98dBm), but it matches
  IWX_MIN_DBM.

Differential Revision:	https://reviews.freebsd.org/D53780
</content>
</entry>
<entry>
<title>sys: Use is_pci_device instead of checking device or devclass names</title>
<updated>2026-05-18T18:52:39Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2026-05-18T18:52:39Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=be4f245e1e4fe60d43aaff5b11b45f2a9a66a51c'/>
<id>urn:sha1:be4f245e1e4fe60d43aaff5b11b45f2a9a66a51c</id>
<content type='text'>
Reviewed by:	bz, imp
Sponsored by:	Chelsio Communications
Differential Revision:	https://reviews.freebsd.org/D56998
</content>
</entry>
<entry>
<title>sys: Use is_pci_device instead of direct comparisons to devclasses</title>
<updated>2026-05-18T18:52:23Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2026-05-18T18:52:23Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=6dc813301a173e2e1993c3064df162e6218c1231'/>
<id>urn:sha1:6dc813301a173e2e1993c3064df162e6218c1231</id>
<content type='text'>
Reviewed by:	bz
Sponsored by:	Chelsio Communications
Differential Revision:	https://reviews.freebsd.org/D56997
</content>
</entry>
<entry>
<title>pci: Add is_pci_device helper function</title>
<updated>2026-05-18T18:50:39Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2026-05-18T18:50:39Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ffcf5e356644252f2f6c89ba01057af45c216559'/>
<id>urn:sha1:ffcf5e356644252f2f6c89ba01057af45c216559</id>
<content type='text'>
This returns true if a given device is a PCI device (child of a PCI
bus).

Reviewed by:	bz, kib
Sponsored by:	Chelsio Communications
Differential Revision:	https://reviews.freebsd.org/D56996
</content>
</entry>
<entry>
<title>qcom_tlmm: remove annoying debugging</title>
<updated>2026-05-18T17:04:11Z</updated>
<author>
<name>Adrian Chadd</name>
<email>adrian@FreeBSD.org</email>
</author>
<published>2026-05-18T17:03:20Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=32f854663d76ea06529ca8990ec0d116c8acb32b'/>
<id>urn:sha1:32f854663d76ea06529ca8990ec0d116c8acb32b</id>
<content type='text'>
Yes this printf is for local debugging and not required at all on anything.

Pointed out by: andrew@
</content>
</entry>
<entry>
<title>Revert "asmc: fix asmc_key_dump() page fault on T2 MMIO backend"</title>
<updated>2026-05-18T16:58:59Z</updated>
<author>
<name>Adrian Chadd</name>
<email>adrian@FreeBSD.org</email>
</author>
<published>2026-05-18T16:58:59Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=af5cdcd8b18c9a24cc317f1886dd3c32b253ef27'/>
<id>urn:sha1:af5cdcd8b18c9a24cc317f1886dd3c32b253ef27</id>
<content type='text'>
This reverts commit 3abc07947c14f5c30e5328d56a2da8dbf8412ebf.

I'm not sure how this built locally for me but obviously failed
in CI; I'll go figure that out with the submitter and come back.
</content>
</entry>
<entry>
<title>asmc: fix asmc_key_dump() page fault on T2 MMIO backend</title>
<updated>2026-05-18T14:01:20Z</updated>
<author>
<name>Abdelkader Boudih</name>
<email>freebsd@seuros.com</email>
</author>
<published>2026-05-18T14:01:20Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=3abc07947c14f5c30e5328d56a2da8dbf8412ebf'/>
<id>urn:sha1:3abc07947c14f5c30e5328d56a2da8dbf8412ebf</id>
<content type='text'>
asmc_key_dump() used I/O port macros (ASMC_DATAPORT_WRITE/READ,
asmc_command()) unconditionally. On T2 Macs, sc_ioport is NULL
(MMIO backend is used instead), causing a page fault when
ASMC_DEBUG triggers asmc_dumpall() during attach.

Add an MMIO guard at the top of asmc_key_dump(): delegate to
asmc_key_dump_by_index() + asmc_key_read() for MMIO devices,
consistent with the rest of the T2 code paths.

Reviewed by:	adrian
Differential Revision:	https://reviews.freebsd.org/D56748
</content>
</entry>
<entry>
<title>kernel: address executable stack warnings in amd64 gcc build</title>
<updated>2026-05-16T20:24:45Z</updated>
<author>
<name>Ryan Libby</name>
<email>rlibby@FreeBSD.org</email>
</author>
<published>2026-05-16T20:24:45Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=755c1e039adfd68ecf4d5954e13fe54263c34a03'/>
<id>urn:sha1:755c1e039adfd68ecf4d5954e13fe54263c34a03</id>
<content type='text'>
Mark assembly files as not requiring executable stacks.

Reviewed by:	kib
Differential Revision:	https://reviews.freebsd.org/D56946
</content>
</entry>
</feed>
