
Hi Christoph,
On Tue, 7 May 2019 at 09:59, Christoph Muellner christoph.muellner@theobroma-systems.com wrote:
From: Christoph Müllner christoph.muellner@theobroma-systems.com
Some machines have limited DMA engines, which cannot deal with arbitrary addresses. This patch introduces a function to model these restrictions on a machine level.
Signed-off-by: Christoph Müllner christoph.muellner@theobroma-systems.com Signed-off-by: Christoph Muellner christoph.muellner@theobroma-systems.com
Changes in v2: None
common/board_f.c | 5 +++++ include/init.h | 2 ++ 2 files changed, 7 insertions(+)
Can we handle this with driver model somehow? How does the kernel handle it? Is there a device-tree binding for the DMA node that could provide this information.
Also, where is this function called from?
Regards, Simon