linux_dsm_epyc7002/arch/tile/include
Peter Zijlstra 9e3d6223d2 math64, timers: Fix 32bit mul_u64_u32_shr() and friends
It turns out that while GCC-4.4 manages to generate 32x32->64 mult
instructions for the 32bit mul_u64_u32_shr() code, any GCC after that
fails horribly.

Fix this by providing an explicit mul_u32_u32() function which can be
architcture provided.

Reported-by: Chris Metcalf <cmetcalf@mellanox.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Chris Metcalf <cmetcalf@mellanox.com> [for tile]
Cc: Christopher S. Hall <christopher.s.hall@intel.com>
Cc: David Gibson <david@gibson.dropbear.id.au>
Cc: John Stultz <john.stultz@linaro.org>
Cc: Laurent Vivier <lvivier@redhat.com>
Cc: Liav Rehana <liavr@mellanox.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Parit Bhargava <prarit@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Richard Cochran <richardcochran@gmail.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/20161209083011.GD15765@worktop.programming.kicks-ass.net
Signed-off-by: Ingo Molnar <mingo@kernel.org>
2017-01-14 11:31:50 +01:00
..
arch tile: <arch/> header updates from upstream 2013-09-16 15:47:26 -04:00
asm math64, timers: Fix 32bit mul_u64_u32_shr() and friends 2017-01-14 11:31:50 +01:00
gxio ptp: tilegx: convert to the 64 bit get/set time methods. 2015-03-31 12:01:18 -04:00
hv tile: Fix misspellings in comments. 2016-03-04 14:44:57 -05:00
uapi tile: Define AT_VECTOR_SIZE_ARCH for ARCH_DLINFO 2016-07-25 12:15:06 -04:00