Re: iwx 64-bit dma
Vitaliy Makkoveev <[email protected]> Thu, 30 Jul 2026 00:54:16 +0000
| Newsgroups | gmane.os.openbsd.tech |
|---|---|
| Message-ID | <[email protected]> |
On Wed, Jul 29, 2026 at 06:51:49PM -0600, Theo de Raadt wrote: > Vitaliy Makkoveev <[email protected]> wrote: > > > The IFXF_MBUF_64BIT flag affects only amd64. All other architectures > > still uses memory below 4G. See revision 1.61 of > > sys/arch/amd64/amd64/autoconf.c line 129. > > I don't see how that matters, that's part of the mechanism for > providing memory to drivers. > > The diff in question which adds BUS_DMA_64BIT is a declaration to > the higher-level code that _all_ chipsets supported by this driver can > work with 64 bit-addressable memory if the higher levels provide it. > > If one chipset can't do it, the experience will be terrible. > > > Well, this means the revision 1.198 of sys/dev/pci/if_iwx.c is wrong and should be reverted.