Thread (30 messages) flat view 30 messages, 5 authors, 2021-03-05

Re: [RFC PATCH v1] powerpc: Enable KFENCE for PPC32

From: Marco Elver <elver@google.com>
Date: 2021-03-02 09:35:23
Also in: lkml

On Tue, 2 Mar 2021 at 09:37, Christophe Leroy
[off-list ref] wrote:
Add architecture specific implementation details for KFENCE and enable
KFENCE for the ppc32 architecture. In particular, this implements the
required interface in <asm/kfence.h>.
Nice!
KFENCE requires that attributes for pages from its memory pool can
individually be set. Therefore, force the Read/Write linear map to be
mapped at page granularity.

Unit tests succeed on all tests but one:

        [   15.053324]     # test_invalid_access: EXPECTATION FAILED at mm/kfence/kfence_test.c:636
        [   15.053324]     Expected report_matches(&expect) to be true, but is false
        [   15.068359]     not ok 21 - test_invalid_access
This is strange, given all the other tests passed. Do you mind sharing
the full test log?

Thanks,
-- Marco
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help