Index | Thread | Search

From:
"Theo de Raadt" <deraadt@openbsd.org>
Subject:
Re: iwx 64-bit dma
To:
Vitaliy Makkoveev <mvs@openbsd.org>
Cc:
Brad Smith <brad@comstyle.com>, tech@openbsd.org, stsp@openbsd.org
Date:
Wed, 29 Jul 2026 16:22:51 -0600

Download raw body.

Thread
  • Kirill A. Korinsky:

    iwx 64-bit dma

  • Vitaliy Makkoveev:

    iwx 64-bit dma

    • Theo de Raadt:

      iwx 64-bit dma

Are _all models_ of this chipset safe?

> On Tue, Jul 28, 2026 at 10:31:10PM -0400, Brad Smith wrote:
> > iwx(4) works with 64-bit DMA.
> > 
> > Tested with
> > 
> > iwx0 at pci0 dev 20 function 3 "Intel Wi-Fi 6 AX201" rev 0x00
> > 
> > 
> 
> Yes, this flag is missing. ok mvs@
> 
> > Index: if_iwx.c
> > ===================================================================
> > RCS file: /cvs/src/sys/dev/pci/if_iwx.c,v
> > retrieving revision 1.229
> > diff -u -p -u -p -r1.229 if_iwx.c
> > --- if_iwx.c	28 May 2026 10:51:52 -0000	1.229
> > +++ if_iwx.c	24 Jul 2026 03:10:09 -0000
> > @@ -12671,6 +12671,7 @@ iwx_attach(struct device *parent, struct
> >  
> >  	ifp->if_softc = sc;
> >  	ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
> > +	ifp->if_xflags = IFXF_MBUF_64BIT;
> >  	ifp->if_ioctl = iwx_ioctl;
> >  	ifp->if_start = iwx_start;
> >  	ifp->if_watchdog = iwx_watchdog;
> > 
>