Re: [PATCH] Documentation/tracing: Mention that RESET_ATTACK_MITIGATION can clear memory

2024-10-01 Thread Ard Biesheuvel
Hi Hans, On Tue, 1 Oct 2024 at 10:57, Hans de Goede wrote: > > Hi, > > On 1-Oct-24 8:17 AM, Ard Biesheuvel wrote: > > On Thu, 26 Sept 2024 at 19:02, Steven Rostedt wrote: > >> > >> From: Steven Rostedt > >> > >> At the 2024 Linux Plumbers C

Re: [PATCH] Documentation/tracing: Mention that RESET_ATTACK_MITIGATION can clear memory

2024-10-01 Thread Ard Biesheuvel
On Tue, 1 Oct 2024 at 14:52, Steven Rostedt wrote: > > On Tue, 1 Oct 2024 11:35:53 +0200 > Ard Biesheuvel wrote: > > > All I am asking for is a line in the documentation that says that > > clobbered trace buffers could occur at any time, regardless of whether > >

Re: [PATCH] Documentation/tracing: Mention that RESET_ATTACK_MITIGATION can clear memory

2024-09-30 Thread Ard Biesheuvel
On Thu, 26 Sept 2024 at 19:02, Steven Rostedt wrote: > > From: Steven Rostedt > > At the 2024 Linux Plumbers Conference, I was talking with Hans de Goede > about the persistent buffer to display traces from previous boots. He > mentioned that UEFI can clear memory. In my own tests I have not seen

Re: [PATCH v3 7/8] execmem: add support for cache of large ROX pages

2024-09-13 Thread Ard Biesheuvel
Hi Mike, On Mon, 9 Sept 2024 at 08:51, Mike Rapoport wrote: > > From: "Mike Rapoport (Microsoft)" > > Using large pages to map text areas reduces iTLB pressure and improves > performance. > > Extend execmem_alloc() with an ability to use huge pages with ROX > permissions as a cache for smaller a

Re: ARM Ftrace Function Graph Fails With UNWINDER_FRAME_POINTER

2023-12-02 Thread Ard Biesheuvel
On Sat, 2 Dec 2023 at 09:49, Justin Chen wrote: > > > > On 12/1/23 10:53 PM, Ard Biesheuvel wrote: > > On Fri, 1 Dec 2023 at 23:59, Justin Chen wrote: > >> > >> > >> > >> On 12/1/23 10:07 AM, Steven Rostedt wrote: > >>> On Fri, 1

Re: ARM Ftrace Function Graph Fails With UNWINDER_FRAME_POINTER

2023-12-01 Thread Ard Biesheuvel
On Fri, 1 Dec 2023 at 23:59, Justin Chen wrote: > > > > On 12/1/23 10:07 AM, Steven Rostedt wrote: > > On Fri, 1 Dec 2023 09:25:59 -0800 > > Justin Chen wrote: > > > >>> It appears the sub instruction at 0x6dd0 correctly accounts for the > >>> extra 8 bytes, so the frame pointer is valid. So it i

Re: ARM Ftrace Function Graph Fails With UNWINDER_FRAME_POINTER

2023-12-01 Thread Ard Biesheuvel
On Fri, 1 Dec 2023 at 00:48, Justin Chen wrote: > > Hello, > > Ran into an odd bug that I am unsure what the solution is. Tested a few > kernels versions and they all fail the same. > > FUNCTION_GRAPH_FP_TEST was enabled with 953f534a7ed6 ("ARM: ftrace: > enable HAVE_FUNCTION_GRAPH_FP_TEST"). This