Skip to content

Tags: frno7/linux

Tags

ps2-v4.20

Toggle ps2-v4.20's commit message
README for the PlayStation 2 Linux kernel

ps2-v4.19

Toggle ps2-v4.19's commit message
FIXME: Replace dma_[un]map_single with dma_cache_{inv,wback}

ps2-v4.18

Toggle ps2-v4.18's commit message
dma-mapping: relax warning for per-device areas

The reasons why dma_free_attrs() should not be called from IRQ context
are not necessarily obvious and somewhat buried in the development
history, so let's start by documenting the warning itself to help anyone
who does happen to hit it and wonder what the deal is.

However, this check turns out to be slightly over-restrictive for the
way that per-device memory has been spliced into the general API, since
for that case we know that dma_declare_coherent_memory() has created an
appropriate CPU mapping for the entire area and nothing dynamic should
be happening. Given that the usage model for per-device memory is often
more akin to streaming DMA than 'real' coherent DMA (e.g. allocating and
freeing space to copy short-lived packets in and out), it is also
somewhat more reasonable for those operations to happen in IRQ handlers
for such devices.

Therefore, let's move the irqs_disabled() check down past the per-device
area hook, so that that gets a chance to resolve the request before we
reach definite "you're doing it wrong" territory.

Reported-by: Fredrik Noring <[email protected]>
Tested-by: Fredrik Noring <[email protected]>
Signed-off-by: Robin Murphy <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>

ps2-v4.17

Toggle ps2-v4.17's commit message
Revert "Verified that USB on 100 Hz timer works"

This reverts commit 91e464b.

ps2-v4.16

Toggle ps2-v4.16's commit message
Experimental update for PlayStation 2

ps2-v4.15

Toggle ps2-v4.15's commit message
Experimental update for PlayStation 2

ps2-v4.13

Toggle ps2-v4.13's commit message
Enable USB config

ps2-v4.12

Toggle ps2-v4.12's commit message
Enable USB config

ps2-v4.11

Toggle ps2-v4.11's commit message
Enable USB config

ps2-v4.10

Toggle ps2-v4.10's commit message
FIXME: Accept arbitrarily long scatter-gather lists for uses_dma