Project

General

Profile

Bug #998

obsolete DMA driver interfaces should be removed

Added by Garrett D'Amore over 9 years ago. Updated over 8 years ago.

Status:
Resolved
Priority:
Normal
Category:
kernel
Start date:
2011-05-06
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:

Description

ddi_dma_segtocookie (and a bunch of friends) is an obsolete interface, never supported on 64-bit, and it causes a few #ifdef's for amd64 as there are hacks to override dmac_type to stash offsets in the cookies. We should just clean this up, and eliminate the plumbing -- its not used on any current hardware.

Additionally, ddi_dma_setup and some of its friends have been marked obsolete ~forever, and are not in use in any modern drivers that we are aware of.

There could be third party drivers that use them, but they have been warned for many years not to use these interfaces, and we are not aware of any consumers of them. (And we have looked.)

#1

Updated by Garrett D'Amore almost 9 years ago

  • Subject changed from ddi_dma_segtocookie should be removed to obsolete DMA driver interfaces should be removed
#2

Updated by Garrett D'Amore almost 9 years ago

  • Status changed from New to Resolved
  • % Done changed from 10 to 100

Resolved in:

changeset: 13630:76b4d0b12a17
tag: tip
user: Garrett D'Amore <>
date: Thu Mar 01 15:25:51 2012 -0800
description:
998 obsolete DMA driver interfaces should be removed
Reviewed by: Igor Khozhukhov <>
Reviewed by: Albert Lee <>
Reviewed by: Robert Mustacchi <>
Approved by: Richard Lowe <>

#3

Updated by Garrett D'Amore over 8 years ago

  • Status changed from Resolved to In Progress

Reopening this as it was backed out due to 2221.

#4

Updated by Garrett D'Amore over 8 years ago

  • Status changed from In Progress to Resolved
#5

Updated by Garrett D'Amore over 8 years ago

changeset: 13636:776c3d9cae69
tag: tip
user: Garrett D'Amore <>
date: Sun Mar 11 22:00:47 2012 -0700
description:
998 obsolete DMA driver interfaces should be removed
Reviewed by: Igor Khozhukhov <>
Reviewed by: Albert Lee <>
Reviewed by: Robert Mustacchi <>
Reviewed by: Richard Lowe <>
Approved by: Robert Mustacchi <>

Also available in: Atom PDF