Searched hist:"1 bd46782d08b01b73df0085b51ea1021b19b44fd" (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/arch/arm/lib/ |
H A D | memcpy.S | diff 1bd46782d08b01b73df0085b51ea1021b19b44fd Fri Jul 03 09:22:54 CDT 2015 Russell King <rmk+kernel@arm.linux.org.uk> ARM: avoid unwanted GCC memset()/memcpy() optimisations for IO variants
We don't want GCC optimising our memset_io(), memcpy_fromio() or memcpy_toio() variants, so we must not call one of the standard functions. Provide a separate name for our assembly memcpy() and memset() functions, and use that instead, thereby bypassing GCC's ability to optimise these operations.
GCCs optimisation may introduce unaligned accesses which are invalid for device mappings.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
|
H A D | memset.S | diff 1bd46782d08b01b73df0085b51ea1021b19b44fd Fri Jul 03 09:22:54 CDT 2015 Russell King <rmk+kernel@arm.linux.org.uk> ARM: avoid unwanted GCC memset()/memcpy() optimisations for IO variants
We don't want GCC optimising our memset_io(), memcpy_fromio() or memcpy_toio() variants, so we must not call one of the standard functions. Provide a separate name for our assembly memcpy() and memset() functions, and use that instead, thereby bypassing GCC's ability to optimise these operations.
GCCs optimisation may introduce unaligned accesses which are invalid for device mappings.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
|
/openbmc/linux/arch/arm/kernel/ |
H A D | armksyms.c | diff 1bd46782d08b01b73df0085b51ea1021b19b44fd Fri Jul 03 09:22:54 CDT 2015 Russell King <rmk+kernel@arm.linux.org.uk> ARM: avoid unwanted GCC memset()/memcpy() optimisations for IO variants
We don't want GCC optimising our memset_io(), memcpy_fromio() or memcpy_toio() variants, so we must not call one of the standard functions. Provide a separate name for our assembly memcpy() and memset() functions, and use that instead, thereby bypassing GCC's ability to optimise these operations.
GCCs optimisation may introduce unaligned accesses which are invalid for device mappings.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
|
/openbmc/linux/arch/arm/include/asm/ |
H A D | io.h | diff 1bd46782d08b01b73df0085b51ea1021b19b44fd Fri Jul 03 09:22:54 CDT 2015 Russell King <rmk+kernel@arm.linux.org.uk> ARM: avoid unwanted GCC memset()/memcpy() optimisations for IO variants
We don't want GCC optimising our memset_io(), memcpy_fromio() or memcpy_toio() variants, so we must not call one of the standard functions. Provide a separate name for our assembly memcpy() and memset() functions, and use that instead, thereby bypassing GCC's ability to optimise these operations.
GCCs optimisation may introduce unaligned accesses which are invalid for device mappings.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
|