On 8/13/25 2:01 PM, Keith Busch wrote:
I'm using the AHCI driver. It looks like ata_scsi_dev_config() overrides
the dma_alignment to sector_size - 1, and that pattern goes way back,
almost 20 years ago, so maybe I can't change it.
From an AHCI specification
(https://www.intel.com/content/dam/www/public/us/en/documents/technical-specifications/serial-ata-ahci-spec-rev1-3-1.pdf):
"Data Base Address (DBA): Indicates the 32-bit physical address of the
data block. The block must be word aligned, indicated by bit 0 being
reserved."
Please note that I have no experience with programming AHCI controllers.
Bart.