Re: [PATCH 12/13] powerpc/string: Add KMSAN support

2024-01-09 Thread Nicholas Miehlbradt
On 14/12/2023 8:25 pm, Christophe Leroy wrote: Le 14/12/2023 à 06:55, Nicholas Miehlbradt a écrit : KMSAN expects functions __mem{set,cpy,move} so add aliases pointing to the respective functions. Disable use of architecture specific memset{16,32,64} to ensure that metadata is correctly

Re: [PATCH 12/13] powerpc/string: Add KMSAN support

2023-12-14 Thread Christophe Leroy
Le 14/12/2023 à 06:55, Nicholas Miehlbradt a écrit : > KMSAN expects functions __mem{set,cpy,move} so add aliases pointing to > the respective functions. > > Disable use of architecture specific memset{16,32,64} to ensure that > metadata is correctly updated and strn{cpy,cmp} and mem{chr,cmp}

[PATCH 12/13] powerpc/string: Add KMSAN support

2023-12-13 Thread Nicholas Miehlbradt
KMSAN expects functions __mem{set,cpy,move} so add aliases pointing to the respective functions. Disable use of architecture specific memset{16,32,64} to ensure that metadata is correctly updated and strn{cpy,cmp} and mem{chr,cmp} which are implemented in assembly and therefore cannot be