Download raw body.
aq 64-bit dma
> Date: Wed, 11 Mar 2026 23:06:39 -0500 > From: Brent Cook <busterb@gmail.com> > > This was the only bus_dmamem call missing BUS_DMA_64BIT in aq(4). > > Tested on an AQC107S without any issues. I think Brad Smith posted this > in a mixed diff earlier too. > > ok? ok kettenis@ The only aq(4) I have access to is the one in my M2 Pro Mac mini. But because of the IOMMU in that machine I can't actually test whether 64-bit DMA in that setup. So thanks for testing this. > Index: if_aq_pci.c > =================================================================== > RCS file: /cvs/src/sys/dev/pci/if_aq_pci.c,v > diff -u -p -u -p -r1.34 if_aq_pci.c > --- if_aq_pci.c 15 Jan 2026 06:41:21 -0000 1.34 > +++ if_aq_pci.c 12 Mar 2026 03:58:19 -0000 > @@ -4043,7 +4043,7 @@ aq_dmamem_alloc(struct aq_softc *sc, str > return (1); > if (bus_dmamem_alloc(sc->sc_dmat, aqm->aqm_size, > align, 0, &aqm->aqm_seg, 1, &aqm->aqm_nsegs, > - BUS_DMA_WAITOK | BUS_DMA_ZERO) != 0) > + BUS_DMA_WAITOK | BUS_DMA_ZERO | BUS_DMA_64BIT) != 0) > goto destroy; > if (bus_dmamem_map(sc->sc_dmat, &aqm->aqm_seg, aqm->aqm_nsegs, > aqm->aqm_size, &aqm->aqm_kva, > >
aq 64-bit dma