Owned by Alexandre Ghiti
Get this repository:
git clone https://git.launchpad.net/~alexghiti/ubuntu/+source/linux-riscv/+git/jammy
Only Alexandre Ghiti can upload to this repository. If you are Alexandre Ghiti please log in for upload directions.


Name Last Modified Last Commit
int/alex/beaglev_ubuntu_unstable_riscv-5.15.0-8.8 2021-11-15 14:58:30 UTC
UBUNTU: SAUCE: (no-up) Fix the handling of absence of dma coherency

Author: Alexandre Ghiti
Author Date: 2021-11-15 09:32:36 UTC

UBUNTU: SAUCE: (no-up) Fix the handling of absence of dma coherency

The BeagleV has devices that are not dma-coherent and use a mirror
mapping of the DRAM that is uncached to access those devices. The commit
924d6c2d34f2 ("RISC-V: Support non-coherent DMA operations") brings this
support for this board but then breaks other boards like the SiFive

This patch moves the uncached offset to the device tree and any
cache operations regarding DMA transfers are executed only if such
offset exists.

This patch is not upstreamable as it fixes a vendor patch that won't get
upstreamed. The solution implemented here won't work when other boards
land but then we'll work on the more complex solution (and Atish waits
for such board to upstream its DMA patchset

Tested on the Unmatched and the BeagleV boards.

Fixes: 924d6c2d34f2 ("RISC-V: Support non-coherent DMA operations")
Signed-off-by: Alexandre Ghiti <alexandre.ghiti@canonical.com>

11 of 1 result
This repository contains Public information 
Everyone can see this information.