<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/dev/ahci, branch stable/14</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>ahci(4): Add another device ID for Marvell 9128 SATA controller: 0x91a3</title>
<updated>2026-04-30T07:52:30+00:00</updated>
<author>
<name>John W</name>
<email>jwdevel@gmail.com</email>
</author>
<published>2025-07-28T05:17:32+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=487eeda542a774ba9237d8bda58c9fcb99b2afba'/>
<id>487eeda542a774ba9237d8bda58c9fcb99b2afba</id>
<content type='text'>
This was encountered on a Gigabyte GA-P55A-UD4 motherboard identifying itself
as:
ahci0@pci0:2:0:0:       class=0x01018f rev=0x11 hdr=0x00 vendor=0x1b4b device=0x91a3 subvendor=0x1458 subdevice=0xb000
    vendor     = 'Marvell Technology Group Ltd.'
    class      = mass storage
    subclass   = ATA

The physical chip has "88SE9128-NAA2" printed on it.

Similar code has been in Linux for a long time:
https://github.com/torvalds/linux/commit/50be5e3657cd2851a297dc0b3fd459f25829d29b

Co-authored-by:	Michael Osipov &lt;michaelo@FreeBSD.org&gt;
PR:		288526
Reviewed by:	jhb
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D56464

(cherry picked from commit c72edc2b2eb283450df8db05cf9321aee7de0bcb)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This was encountered on a Gigabyte GA-P55A-UD4 motherboard identifying itself
as:
ahci0@pci0:2:0:0:       class=0x01018f rev=0x11 hdr=0x00 vendor=0x1b4b device=0x91a3 subvendor=0x1458 subdevice=0xb000
    vendor     = 'Marvell Technology Group Ltd.'
    class      = mass storage
    subclass   = ATA

The physical chip has "88SE9128-NAA2" printed on it.

Similar code has been in Linux for a long time:
https://github.com/torvalds/linux/commit/50be5e3657cd2851a297dc0b3fd459f25829d29b

Co-authored-by:	Michael Osipov &lt;michaelo@FreeBSD.org&gt;
PR:		288526
Reviewed by:	jhb
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D56464

(cherry picked from commit c72edc2b2eb283450df8db05cf9321aee7de0bcb)
</pre>
</div>
</content>
</entry>
<entry>
<title>ahci: Restrict NVMe redirection by BAR size</title>
<updated>2026-02-24T21:43:36+00:00</updated>
<author>
<name>Alexander Motin</name>
<email>mav@FreeBSD.org</email>
</author>
<published>2026-02-09T19:23:26+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=aabd5243fb97979d33a7eece4f7cca18ffd82a95'/>
<id>aabd5243fb97979d33a7eece4f7cca18ffd82a95</id>
<content type='text'>
Attempts to access vendor-specific registers on emulator of older
Intel hardware was reported to confuse one.  Since the redirection
obviously require BAR size bigger than normal 2KB of AHCI, add
the condition, similar to what Linux is doing.

Requested by:	kib
MFC after:	2 weeks

(cherry picked from commit b9d3945831fc7a60f2065c7a0afc747dc5653c9f)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Attempts to access vendor-specific registers on emulator of older
Intel hardware was reported to confuse one.  Since the redirection
obviously require BAR size bigger than normal 2KB of AHCI, add
the condition, similar to what Linux is doing.

Requested by:	kib
MFC after:	2 weeks

(cherry picked from commit b9d3945831fc7a60f2065c7a0afc747dc5653c9f)
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix SATA NCQ error recovery after 25375b1415</title>
<updated>2026-01-23T17:12:50+00:00</updated>
<author>
<name>Alexander Motin</name>
<email>mav@FreeBSD.org</email>
</author>
<published>2024-06-27T13:29:23+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=6abefcdd2585019bda24dddeab49040ee39f4079'/>
<id>6abefcdd2585019bda24dddeab49040ee39f4079</id>
<content type='text'>
Since that commit ahci(4), siis(4) and mvs(4) drivers ended up
using wrong command to fetch error information for NCQ commands.
Since ATA errors are not very informative to begin with, the only
noticeable effect is a lack of retries on those errors by CAM.

MFC after:	1 week
PR:		279978

(cherry picked from commit 87085c12ba8fa51f777bc636df67008b45e20d1c)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since that commit ahci(4), siis(4) and mvs(4) drivers ended up
using wrong command to fetch error information for NCQ commands.
Since ATA errors are not very informative to begin with, the only
noticeable effect is a lack of retries on those errors by CAM.

MFC after:	1 week
PR:		279978

(cherry picked from commit 87085c12ba8fa51f777bc636df67008b45e20d1c)
</pre>
</div>
</content>
</entry>
<entry>
<title>ahci: Don't fail attach if the MSI-X BARs cannot be allocated</title>
<updated>2025-10-10T21:04:35+00:00</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2025-10-06T17:56:47+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=07f4fa7a0db931c47cc78c711e05d5d51a4e2448'/>
<id>07f4fa7a0db931c47cc78c711e05d5d51a4e2448</id>
<content type='text'>
If the MSI-X table and/or PBA live in separate BAR(s) and those BAR(s)
cannot be allocated, fall back to using MSI or INTx instead of failing
attach.

PR:		289748
Reported by:	Vitalij Satanivskij &lt;satan@Ukr.net&gt;
Reviewed by:	avg, imp
Differential Revision:	https://reviews.freebsd.org/D52889

(cherry picked from commit b658158e9396848d3963e9555d356d0f4ca6900a)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If the MSI-X table and/or PBA live in separate BAR(s) and those BAR(s)
cannot be allocated, fall back to using MSI or INTx instead of failing
attach.

PR:		289748
Reported by:	Vitalij Satanivskij &lt;satan@Ukr.net&gt;
Reviewed by:	avg, imp
Differential Revision:	https://reviews.freebsd.org/D52889

(cherry picked from commit b658158e9396848d3963e9555d356d0f4ca6900a)
</pre>
</div>
</content>
</entry>
<entry>
<title>ahci: Use pci_msix_*_bar instead of reading config registers directly</title>
<updated>2025-10-10T21:04:08+00:00</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2025-10-06T17:56:47+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=5672349164252f091d174a5f10bd48385240ddb8'/>
<id>5672349164252f091d174a5f10bd48385240ddb8</id>
<content type='text'>
Reported by:	avg
Reviewed by:	avg, imp
Differential Revision:	https://reviews.freebsd.org/D52888

(cherry picked from commit 762f1c7c6cded9242956c2c35c772dff9b5d155b)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reported by:	avg
Reviewed by:	avg, imp
Differential Revision:	https://reviews.freebsd.org/D52888

(cherry picked from commit 762f1c7c6cded9242956c2c35c772dff9b5d155b)
</pre>
</div>
</content>
</entry>
<entry>
<title>Add some AMD device IDs.</title>
<updated>2024-09-25T13:17:26+00:00</updated>
<author>
<name>Dmitry Luhtionov</name>
<email>dmitryluhtionov@gmail.com</email>
</author>
<published>2024-06-07T15:00:09+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=d01a9cceefbc072aef212c640d8558768853545e'/>
<id>d01a9cceefbc072aef212c640d8558768853545e</id>
<content type='text'>
(cherry picked from commit 4cc4b5e2b5f85f136169069559108ed7fff351f9)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(cherry picked from commit 4cc4b5e2b5f85f136169069559108ed7fff351f9)
</pre>
</div>
</content>
</entry>
<entry>
<title>ahci: Use device_set_desc(f)()</title>
<updated>2024-06-09T13:37:47+00:00</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2024-02-04T23:32:53+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=6324f02689182418abf19df36b077a9a7d9d13ee'/>
<id>6324f02689182418abf19df36b077a9a7d9d13ee</id>
<content type='text'>
No functional change intended.

MFC after:	1 week

(cherry picked from commit a74b496507329665c6aa8d0ef2ea42c2fbd88c48)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
No functional change intended.

MFC after:	1 week

(cherry picked from commit a74b496507329665c6aa8d0ef2ea42c2fbd88c48)
</pre>
</div>
</content>
</entry>
<entry>
<title>ahci: add AMD device id in RAID mode</title>
<updated>2023-09-13T17:43:33+00:00</updated>
<author>
<name>Andrey V. Elsukov</name>
<email>ae@FreeBSD.org</email>
</author>
<published>2023-09-04T12:33:49+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=0307168d927b5ec7a7889a29d09fe1500d0b514c'/>
<id>0307168d927b5ec7a7889a29d09fe1500d0b514c</id>
<content type='text'>
Found on Asus ROX Strix X570-F Gaming.

MFC after:	1 week

(cherry picked from commit 3afe6b525386af1dda7791ea2a9d718fa634d4fd)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Found on Asus ROX Strix X570-F Gaming.

MFC after:	1 week

(cherry picked from commit 3afe6b525386af1dda7791ea2a9d718fa634d4fd)
</pre>
</div>
</content>
</entry>
<entry>
<title>sys: Remove $FreeBSD$: one-line .c pattern</title>
<updated>2023-08-16T17:54:36+00:00</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2023-08-16T17:54:36+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=685dc743dc3b5645e34836464128e1c0558b404b'/>
<id>685dc743dc3b5645e34836464128e1c0558b404b</id>
<content type='text'>
Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
</pre>
</div>
</content>
</entry>
<entry>
<title>sys: Remove $FreeBSD$: two-line .h pattern</title>
<updated>2023-08-16T17:54:11+00:00</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2023-08-16T17:54:11+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=95ee2897e98f5d444f26ed2334cc7c439f9c16c6'/>
<id>95ee2897e98f5d444f26ed2334cc7c439f9c16c6</id>
<content type='text'>
Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/
</pre>
</div>
</content>
</entry>
</feed>
