[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87ikud9hxr.fsf@trenco.lwn.net>
Date: Mon, 30 Sep 2024 11:20:48 -0600
From: Jonathan Corbet <corbet@....net>
To: Steven Rostedt <rostedt@...dmis.org>
Cc: Hans de Goede <hdegoede@...hat.com>, LKML
<linux-kernel@...r.kernel.org>, Linux trace kernel
<linux-trace-kernel@...r.kernel.org>, Masami Hiramatsu
<mhiramat@...nel.org>, Mathieu Desnoyers <mathieu.desnoyers@...icios.com>,
Mike Rapoport <mike.rapoport@...il.com>, Kees Cook
<keescook@...omium.org>, Ard Biesheuvel <ardb@...nel.org>,
linux-doc@...r.kernel.org
Subject: Re: [PATCH] Documentation/tracing: Mention that
RESET_ATTACK_MITIGATION can clear memory
Steven Rostedt <rostedt@...dmis.org> writes:
> On Thu, 26 Sep 2024 19:54:48 +0200
> Hans de Goede <hdegoede@...hat.com> wrote:
>
>> Hi,
>>
>> On 26-Sep-24 7:01 PM, Steven Rostedt wrote:
>> > From: Steven Rostedt <rostedt@...dmis.org>
>> >
>> > 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
>> > this. He later informed me that it requires the config option:
>> >
>> > CONFIG_RESET_ATTACK_MITIGATION
>> >
>> > It appears that setting this will allow the memory to be cleared on boot
>> > up, which will definitely clear out the trace of the previous boot.
>> >
>> > Add this information under the trace_instance in kernel-parameters.txt
>> > to let people know that this can cause issues.
>> >
>> > Link: https://lore.kernel.org/all/20170825155019.6740-2-ard.biesheuvel@linaro.org/
>> >
>> > Reported-by: Hans de Goede <hdegoede@...hat.com>
>> > Signed-off-by: Steven Rostedt (Google) <rostedt@...dmis.org>
>>
>> Thanks, patch looks good to me:
>>
>> Reviewed-by: Hans de Goede <hdegoede@...hat.com>
>
> Thanks,
>
> And I forgot to send this to the Documentation maintainers :-p
>
> Jon, could you take this? Do you need me to resend, or can you just pull it
> from lore?
I'll grab it in a bit.
jon
Powered by blists - more mailing lists