Searched hist:"20516 d6e51dd9994afda8d556507cfbe7853384b" (Results 1 – 2 of 2) sorted by relevance
/linux/lib/ |
H A D | iomap_copy.c | diff 20516d6e51dd9994afda8d556507cfbe7853384b Thu Apr 11 18:46:14 CEST 2024 Jason Gunthorpe <jgg@nvidia.com> x86: Stop using weak symbols for __iowrite32_copy()
Start switching iomap_copy routines over to use #define and arch provided inline/macro functions instead of weak symbols.
Inline functions allow more compiler optimization and this is often a driver hot path.
x86 has the only weak implementation for __iowrite32_copy(), so replace it with a static inline containing the same single instruction inline assembly. The compiler will generate the "mov edx,ecx" in a more optimal way.
Remove iomap_copy_64.S
Link: https://lore.kernel.org/r/1-v3-1893cd8b9369+1925-mlx5_arm_wc_jgg@nvidia.com Acked-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
|
/linux/arch/x86/lib/ |
H A D | Makefile | diff 20516d6e51dd9994afda8d556507cfbe7853384b Thu Apr 11 18:46:14 CEST 2024 Jason Gunthorpe <jgg@nvidia.com> x86: Stop using weak symbols for __iowrite32_copy()
Start switching iomap_copy routines over to use #define and arch provided inline/macro functions instead of weak symbols.
Inline functions allow more compiler optimization and this is often a driver hot path.
x86 has the only weak implementation for __iowrite32_copy(), so replace it with a static inline containing the same single instruction inline assembly. The compiler will generate the "mov edx,ecx" in a more optimal way.
Remove iomap_copy_64.S
Link: https://lore.kernel.org/r/1-v3-1893cd8b9369+1925-mlx5_arm_wc_jgg@nvidia.com Acked-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
|