[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <201211160818.01302.arnd@arndb.de>
Date: Fri, 16 Nov 2012 08:18:01 +0000
From: Arnd Bergmann <arnd@...db.de>
To: Rob Clark <rob.clark@...aro.org>
Cc: linux-arm-kernel@...ts.infradead.org, patches@...aro.org,
linux-kernel@...r.kernel.org, linux-omap@...r.kernel.org,
dri-devel@...ts.freedesktop.org,
Russell King <rmk+kernel@....linux.org.uk>,
Rob Clark <rob@...com>
Subject: Re: [PATCH] ARM: add get_user() support for 8 byte types
On Thursday 15 November 2012, Rob Clark wrote:
>
> From: Rob Clark <rob@...com>
>
> A new atomic modeset/pageflip ioctl being developed in DRM requires
> get_user() to work for 64bit types (in addition to just put_user()).
>
> v1: original
> v2: pass correct size to check_uaccess, and better handling of narrowing
> double word read with __get_user_xb() (Russell King's suggestion)
> v3: explain in comment about why this works for narrowing fetch to 1,
> 2, or 4 byte type on ARM.
>
> Signed-off-by: Rob Clark <rob@...com>
Acked-by: Arnd Bergmann <arnd@...db.de>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists