merge with mainline arm patches

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>