Skip to content
Commit 2e34bde1 authored by Joerg Roedel's avatar Joerg Roedel
Browse files

dma-debug: add checks for kernel text and rodata



Impact: get notified if a device dma maps illegal areas

This patch adds a check to print a warning message when a device driver
tries to map a memory area from the kernel text segment or rodata.

Signed-off-by: default avatarJoerg Roedel <joerg.roedel@amd.com>
parent 6c132d1b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment