Re: [PATCH v2 08/14] powerpc: Handle KCOV __init vs inline mismatches

Andrew Donnellan
2025-05-23T05:25:22Z

On Thu, 2025-05-22 at 21:39 -0700, 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 inline optimizations get resolved.
> For
> s390 this requires forcing a couple functions to be inline with

I assume you mean powerpc here, though I'm sure my employer is happy
that you're at least confusing us with IBM's other architecture :)

--
Andrew Donnellan OzLabs, ADL Canberra
ajd@linux.ibm.com IBM Australia Limited