public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Heiko Carstens <heiko.carstens@de.ibm.com>
To: Kees Cook <keescook@chromium.org>
Cc: Ingo Molnar <mingo@kernel.org>,
	Martin Schwidefsky <schwidefsky@de.ibm.com>,
	LKML <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH 0/2] Proper ro_after_init implementation on s390
Date: Tue, 7 Jun 2016 20:07:48 +0200	[thread overview]
Message-ID: <20160607180748.GA4280@osiris> (raw)
In-Reply-To: <CAGXu5j+LOL=wD7djNJrz-iAFRhuKxuZdjKhVCPWfzC_O=DmfxA@mail.gmail.com>

On Tue, Jun 07, 2016 at 08:49:14AM -0700, Kees Cook wrote:
> > Heiko Carstens (2):
> >   vmlinux.lds.h: allow arch specific handling of ro_after_init data section
> >   s390/mm: add proper __ro_after_init support
> >
> >  arch/s390/include/asm/cache.h     |  3 ---
> >  arch/s390/include/asm/sections.h  |  1 +
> >  arch/s390/kernel/vmlinux.lds.S    | 12 +++++++++++-
> >  arch/s390/mm/init.c               |  7 ++++---
> >  arch/s390/mm/vmem.c               |  7 +++----
> >  include/asm-generic/vmlinux.lds.h | 10 +++++++++-
> >  6 files changed, 28 insertions(+), 12 deletions(-)
> 
> Awesome! This looks great to me! Have you had a chance to look through
> any of the arch/s390/ __init code for variables that should be marked
> __ro_after_init?

Not yet, and actually this I'm a bit reluctant to do that, since any wrong
annotation will lead to kernel crashes sooner or later ;)
However I'll look into this as well.

> Reviewed-by: Kees Cook <keescook@chromium.org>

Thanks! I add that to both patches.

(sorry for the broken threading; one of the outgoing mail servers rewrote
all Message-Id headers)

  reply	other threads:[~2016-06-07 18:07 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-07 12:06 [PATCH 0/2] Proper ro_after_init implementation on s390 Heiko Carstens
2016-06-07 15:49 ` Kees Cook
2016-06-07 18:07   ` Heiko Carstens [this message]
2016-06-07 18:11     ` Kees Cook
2016-06-08  5:41       ` Heiko Carstens
2016-06-08 15:49         ` Kees Cook

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160607180748.GA4280@osiris \
    --to=heiko.carstens@de.ibm.com \
    --cc=keescook@chromium.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@kernel.org \
    --cc=schwidefsky@de.ibm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox