Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Linux kernel: how to enable item CONFIG_DMA_ENGINE

Need help with peripherals or devices?
Post Reply
Message
Author
frank67
Posts: 11
Joined: 2021-08-26 19:04
Has thanked: 1 time

Linux kernel: how to enable item CONFIG_DMA_ENGINE

#1 Post by frank67 »

Hello everybody,
I'm on Bullseye 11 kernel source 5.10.46 I'm attempt to recompile the kernel, I've a trouble with "make menuconfig" I've to enable CONFIG_DMA_ENGINE that it's not showed in the menu interface of "make menuconfig".
Looking for this item on Debian kernel showed me that it's enabled:

Code: Select all

$ grep DMA_ENGINE /boot/config-5.10.0-8-amd64 
CONFIG_DMA_ENGINE=y
CONFIG_DMA_ENGINE_RAID=y
I post my tar gzipped .config file as attachment so you can try my kernel configuration for my hardware, don't forget to do a "make oldconfig" after coping .config in the kernel source tree.
How can I enable this item in my .config file? :?:
Thanks in advance
Attachments
conf.tgz
(29.36 KiB) Downloaded 56 times

Aki
Global Moderator
Global Moderator
Posts: 2823
Joined: 2014-07-20 18:12
Location: Europe
Has thanked: 69 times
Been thanked: 385 times

Re: Linux kernel: how to enable item CONFIG_DMA_ENGINE

#2 Post by Aki »

Hi frank67,

Welcome to the forum.

This is the section "Device Drivers ---> DMA Engine support" from the screen of the "make menuconfig" command in the configuration of kernel 5.10.0 from Debian

Code: Select all

  ┌───────────────────────────────────────────────── DMA Engine support ─────────────────────────────────────────────────┐
  │  Arrow keys navigate the menu.  <Enter> selects submenus ---> (or empty submenus ----).  Highlighted letters are     │  
  │  hotkeys.  Pressing <Y> includes, <N> excludes, <M> modularizes features.  Press <Esc><Esc> to exit, <?> for Help,   │  
  │  </> for Search.  Legend: [*] built-in  [ ] excluded  <M> module  < > module capable                                 │  
  │                                                                                                                      │  
  │ ┌──────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐ │  
  │ │                      --- DMA Engine support                                                                      │ │  
  │ │                      [ ]   DMA Engine debugging                                                                  │ │  
  │ │                            *** DMA Devices ***                                                                   │ │  
  │ │                      < >   Altera / Intel mSGDMA Engine                                                          │ │  
  │ │                      <M>   Intel integrated DMA 64-bit support                                                   │ │  
  │ │                      < >   Intel Data Accelerators support                                                       │ │  
  │ │                      <M>   Intel I/OAT DMA support                                                               │ │  
  │ │                      < >   PLX ExpressLane PEX Switch DMA Engine Support                                         │ │  
  │ │                      < >   Xilinx DPDMA Engine                                                                   │ │  
  │ │                      < >   Qualcomm Technologies HIDMA Management support                                        │ │  
  │ │                      < >   Qualcomm Technologies HIDMA Channel support                                           │ │  
  │ │                      <M>   Synopsys DesignWare AHB DMA platform driver                                           │ │  
  │ │                      {M}   Synopsys DesignWare AHB DMA PCI driver                                                │ │  
  │ │                      < >   Synopsys DesignWare eDMA controller driver                                            │ │  
  │ │                      < >   Synopsys DesignWare eDMA PCIe driver                                                  │ │  
  │ │                      < >   Sifive PDMA controller driver                                                         │ │  
  │ │                            *** DMA Clients ***                                                                   │ │  
  │ │                      [*]   Async_tx: Offload support for the async_tx api                                        │ │  
  │ │                      < >   DMA Test client                                                                       │ │  
  │ │                                                                                                                  │ │  
  │ │                                                                                                                  │ │  
  │ │                                                                                                                  │ │  
  │ └──────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘ │  
  ├──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤  
  │                               <Select>    < Exit >    < Help >    < Save >    < Load >                               │  
  └──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
This is the screen from your configuration:

Code: Select all

  ┌───────────────────────────────────────────────── DMA Engine support ─────────────────────────────────────────────────┐
  │  Arrow keys navigate the menu.  <Enter> selects submenus ---> (or empty submenus ----).  Highlighted letters are     │  
  │  hotkeys.  Pressing <Y> includes, <N> excludes, <M> modularizes features.  Press <Esc><Esc> to exit, <?> for Help,   │  
  │  </> for Search.  Legend: [*] built-in  [ ] excluded  <M> module  < > module capable                                 │  
  │                                                                                                                      │  
  │ ┌──────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐ │  
  │ │                      --- DMA Engine support                                                                      │ │  
  │ │                      [ ]   DMA Engine debugging                                                                  │ │  
  │ │                            *** DMA Devices ***                                                                   │ │  
  │ │                      < >   Altera / Intel mSGDMA Engine                                                          │ │  
  │ │                      < >   Intel integrated DMA 64-bit support                                                   │ │  
  │ │                      < >   Intel Data Accelerators support                                                       │ │  
  │ │                      < >   Intel I/OAT DMA support                                                               │ │  
  │ │                      < >   PLX ExpressLane PEX Switch DMA Engine Support                                         │ │  
  │ │                      < >   Xilinx DPDMA Engine                                                                   │ │  
  │ │                      < >   Qualcomm Technologies HIDMA Management support                                        │ │  
  │ │                      < >   Qualcomm Technologies HIDMA Channel support                                           │ │  
  │ │                      < >   Synopsys DesignWare AHB DMA platform driver                                           │ │  
  │ │                      < >   Synopsys DesignWare AHB DMA PCI driver                                                │ │  
  │ │                      < >   Synopsys DesignWare eDMA controller driver                                            │ │  
  │ │                      < >   Synopsys DesignWare eDMA PCIe driver                                                  │ │  
  │ │                      < >   Sifive PDMA controller driver                                                         │ │  
  │ │                                                                                                                  │ │  
  │ │                                                                                                                  │ │  
  │ │                                                                                                                  │ │  
  │ │                                                                                                                  │ │  
  │ │                                                                                                                  │ │  
  │ │                                                                                                                  │ │  
  │ └──────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘ │  
  ├──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤  
  │                               <Select>    < Exit >    < Help >    < Save >    < Load >                               │  
  └──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘  
    
I think you have disabled all the modules requiring the "--- DMA Engine support " and that's why it is not enabled in the kernel config file.
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀

frank67
Posts: 11
Joined: 2021-08-26 19:04
Has thanked: 1 time

Re: Linux kernel: how to enable item CONFIG_DMA_ENGINE

#3 Post by frank67 »

I've solved, it was necessary to enable CONFIG_RAPIDIO_DMA_ENGINE to obtain CONFIG_DMA_ENGINE enabled.
Thanks anyway

Aki
Global Moderator
Global Moderator
Posts: 2823
Joined: 2014-07-20 18:12
Location: Europe
Has thanked: 69 times
Been thanked: 385 times

Re: Linux kernel: how to enable item CONFIG_DMA_ENGINE

#4 Post by Aki »

I'm glad I helped you to sort it out.
Happy Debian & happy hacking.
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Linux kernel: how to enable item CONFIG_DMA_ENGINE

#5 Post by stevepusser »

I'm curious as to why you're rebuilding it without the Debian patches, too. Are you trying to eak out some more performance or something?
MX Linux packager and developer

Post Reply