From: stefan@agner.ch (Stefan Agner) Date: Wed, 20 Jun 2018 21:06:38 +0200 Subject: Dynamic ftrace self test broken on ARM In-Reply-To: <20180620101311.0bcd73d3@gandalf.local.home> References: <65fb14b356bc0a414f1fe5cf5c6eb395@agner.ch> <20180618175437.3e6c85a1@gandalf.local.home> <20180619091735.7aec75d0@gandalf.local.home> <5e26cebbb2ebeb87fdc808509881736b@agner.ch> <20180620101311.0bcd73d3@gandalf.local.home> Message-ID: <7904ed3fe9f59a54526d64f366915b43@agner.ch> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 20.06.2018 16:13, Steven Rostedt wrote: > On Wed, 20 Jun 2018 15:51:55 +0200 > Stefan Agner wrote: > > >> v4.9 seems to work, so I started bisecting. It turned out that commit >> 6f05d0761af6 ("ARM: 8668/1: ftrace: Fix dynamic ftrace with DEBUG_RODATA >> and !FRAME_POINTER") broke it, introduced during the v4.12 merge window. > > That patch doesn't appear to be the cause. It could have been a failed > bisect. Does the commit before that commit work? Does that commit fail? Pretty sure it is that one. Reverting it on top of v4.18-rc1 fixes it... > > It may be due to some other RODATA change though. That is actually one > of my thoughts when looking at the bug. CONFIG_STRICT_KERNEL_RWX=y is set, will test without. -- Stefan