Re: [PATCH v3 09/13] mips: Handle KCOV __init vs inline mismatch

2025-07-18 Thread Huacai Chen
Reviewed-by: Huacai Chen On Fri, Jul 18, 2025 at 7:26 AM Kees Cook wrote: > > When KCOV is enabled all functions get instrumented, unless > the __no_sanitize_coverage attribute is used. To prepare for > __no_sanitize_coverage being applied to __init functions, we > have to handle

Re: [PATCH v2 10/14] loongarch: Handle KCOV __init vs inline mismatches

2025-06-24 Thread Huacai Chen
Hi, Kees, On Thu, Jun 19, 2025 at 4:55 PM Huacai Chen wrote: > > Hi, Kees, > > On Fri, May 23, 2025 at 12:39 PM Kees Cook wrote: > > > > When KCOV is enabled all functions get instrumented, unless > > the __no_sanitize_coverage attribute is used. To prepare for &g

Re: [PATCH v2 10/14] loongarch: Handle KCOV __init vs inline mismatches

2025-06-19 Thread Huacai Chen
es in how GCC's inline optimizations get resolved. For > loongarch this exposed several places where __init annotations were > missing but ended up being "accidentally correct". Fix these cases and > force one function to be inline with __always_inline. > > Signed-off-by: K

Re: [PATCH v2 09/14] mips: Handle KCOV __init vs inline mismatches

2025-06-19 Thread Huacai Chen
Hi, Kees, On Fri, May 23, 2025 at 12:41 PM Kees Cook wrote: > > When KCOV is enabled all functions get instrumented, unless > the __no_sanitize_coverage attribute is used. To prepare for > __no_sanitize_coverage being applied to __init functions, we have to > handle differences in how GCC's inlin

Re: [PATCH v6 24/26] mm: Remove devmap related functions and page table bits

2025-01-11 Thread Huacai Chen
Hi, Alistair, I think the last two patches can be squashed into this one. Huacai On Fri, Jan 10, 2025 at 2:03 PM Alistair Popple wrote: > > Now that DAX and all other reference counts to ZONE_DEVICE pages are > managed normally there is no need for the special devmap PTE/PMD/PUD > page table b