Plan 9 from Bell Labs’s /usr/web/sources/patch/maybe/sdata-dma/readme

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


Enable DMA by default in kernel for (S)ATA controllers.

This is needed since some (S)ATA controllers doesn't work properly when
DMA is not activated. When this happens, it prevents to start fossil,
then DMA cannot be enabled from startup scripts. Also, it makes the
first startup much faster when fossil do its initial dump to venti.

An option "*nodma=" was added to plan9.ini to disable DMA if needed.
This option is set in the installation plan9.ini, since the user is
asked to enable or disable DMA at the beginning of the installation
process.

I considered it is preferable to enable DMA by default since most disk
controllers are SATA these days and DMA is part of the specification.
Also, most modern ATA controllers have been known to support DMA
properly.

Optionally, the bootsetup installation script could automatically add
option "*nodma=" in installed plan9.ini when the user choose to
disable DMA.

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to [email protected].