summaryrefslogtreecommitdiff
path: root/mm/memory-failure.c
diff options
context:
space:
mode:
authorMaarten Lankhorst <maarten.lankhorst@canonical.com>2012-06-04 12:00:31 +0200
committerBen Hutchings <ben@decadent.org.uk>2012-08-02 14:38:02 +0100
commit86fccf3e1ef30d1970dbd01ce69208ed1b334a8e (patch)
treeeefe552792f1dbe35dc54caab8e41358a42b1411 /mm/memory-failure.c
parent704c3d1f64a8f1200cafbcee732b89fe341fc18f (diff)
nouveau: Fix alignment requirements on src and dst addresses
commit ce806a30470bcd846d148bf39d46de3ad7748228 upstream. Linear copy works by adding the offset to the buffer address, which may end up not being 16-byte aligned. Some tests I've written for prime_pcopy show that the engine allows this correctly, so the restriction on lowest 4 bits of address can be lifted safely. The comments added were by envyas, I think because I used a newer version. Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com> [bwh: Backported to 3.2: no # prefixes in nva3_copy.fuc] Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'mm/memory-failure.c')
0 files changed, 0 insertions, 0 deletions