linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Linus Torvalds <torvalds@linux-foundation.org>
To: Michael Ellerman <mpe@ellerman.id.au>, Mimi Zohar <zohar@linux.ibm.com>
Cc: ajd@linux.ibm.com, alastair@d-silva.org,
	"Aneesh Kumar K.V" <aneesh.kumar@linux.ibm.com>,
	asteinhauser@google.com, Bjorn Helgaas <bhelgaas@google.com>,
	Qian Cai <cai@lca.pw>,
	chris.packham@alliedtelesis.co.nz,
	chris.smart@humanservices.gov.au,
	Christophe Leroy <christophe.leroy@c-s.fr>,
	clg@kaod.org, cmr@informatik.wtf,
	David Hildenbrand <david@redhat.com>,
	debmc@linux.vnet.ibm.com,
	Geert Uytterhoeven <geert+renesas@glider.be>,
	gwalbon@linux.ibm.com, harish@linux.ibm.com,
	hbathini@linux.ibm.com, Christoph Hellwig <hch@lst.de>,
	krzk@kernel.org, leonardo@linux.ibm.com,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	Rasmus Villemoes <linux@rasmusvillemoes.dk>,
	linuxppc-dev@lists.ozlabs.org, linuxram@us.ibm.com,
	madalin.bucur@nxp.com, Mathieu Malaterre <malat@debian.org>,
	msuchanek@suse.de, Nathan Chancellor <natechancellor@gmail.com>,
	nathanl@linux.ibm.com, Nayna Jain <nayna@linux.ibm.com>,
	Nick Piggin <npiggin@gmail.com>,
	"Oliver O'Halloran" <oohall@gmail.com>,
	oss@buserror.net, ravi.bangoria@linux.ibm.com,
	Russell Currey <ruscur@russell.cc>,
	sbobroff@linux.ibm.com, thuth@redhat.com, tyreld@linux.ibm.com,
	vaibhav@linux.ibm.com, valentin@longchamp.me,
	yanaijie@huawei.com, YueHaibing <yuehaibing@huawei.com>
Subject: Re: [GIT PULL] Please pull powerpc/linux.git powerpc-5.5-1 tag
Date: Sat, 30 Nov 2019 14:42:45 -0800	[thread overview]
Message-ID: <CAHk-=wj-BW=C8mFr5mWEYyjgngLoq2N6PZ-RKtiL7X-e93poHw@mail.gmail.com> (raw)
In-Reply-To: <877e3hfxyq.fsf@mpe.ellerman.id.au>

[ Only tangentially related to the power parts ]

On Sat, Nov 30, 2019 at 2:41 AM Michael Ellerman <mpe@ellerman.id.au> wrote:
>
> There's some changes in security/integrity as part of the secure boot work. They
> were all either written by or acked/reviewed by Mimi.

  -#if (defined(CONFIG_X86) && defined(CONFIG_EFI)) || defined(CONFIG_S390)
  +#if (defined(CONFIG_X86) && defined(CONFIG_EFI)) || defined(CONFIG_S390) \
  + || defined(CONFIG_PPC_SECURE_BOOT)

This clearly should be its own CONFIG variable, and be generated by
having the different architectures just select it.

IOW, IMA should probably have a

   config IMA_SECURE_BOOT

and then s390 would just do the select unconditionally, while x86 and
ppc would do

  select IMA_SECURE_BOOT if EFI

and

  select IMA_SECURE_BOOT if PPC_SECURE_BOOT

respectively.

And then we wouldn't have random architectures adding random "me me me
tooo!!!" type code.

               Linus

  reply	other threads:[~2019-11-30 22:48 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-30 10:41 [GIT PULL] Please pull powerpc/linux.git powerpc-5.5-1 tag Michael Ellerman
2019-11-30 22:42 ` Linus Torvalds [this message]
2019-12-02  0:06   ` Nayna
2019-12-02 12:54   ` Mimi Zohar
2019-11-30 23:05 ` pr-tracker-bot

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='CAHk-=wj-BW=C8mFr5mWEYyjgngLoq2N6PZ-RKtiL7X-e93poHw@mail.gmail.com' \
    --to=torvalds@linux-foundation.org \
    --cc=ajd@linux.ibm.com \
    --cc=alastair@d-silva.org \
    --cc=aneesh.kumar@linux.ibm.com \
    --cc=asteinhauser@google.com \
    --cc=bhelgaas@google.com \
    --cc=cai@lca.pw \
    --cc=chris.packham@alliedtelesis.co.nz \
    --cc=chris.smart@humanservices.gov.au \
    --cc=christophe.leroy@c-s.fr \
    --cc=clg@kaod.org \
    --cc=cmr@informatik.wtf \
    --cc=david@redhat.com \
    --cc=debmc@linux.vnet.ibm.com \
    --cc=geert+renesas@glider.be \
    --cc=gwalbon@linux.ibm.com \
    --cc=harish@linux.ibm.com \
    --cc=hbathini@linux.ibm.com \
    --cc=hch@lst.de \
    --cc=krzk@kernel.org \
    --cc=leonardo@linux.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@rasmusvillemoes.dk \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=linuxram@us.ibm.com \
    --cc=madalin.bucur@nxp.com \
    --cc=malat@debian.org \
    --cc=mpe@ellerman.id.au \
    --cc=msuchanek@suse.de \
    --cc=natechancellor@gmail.com \
    --cc=nathanl@linux.ibm.com \
    --cc=nayna@linux.ibm.com \
    --cc=npiggin@gmail.com \
    --cc=oohall@gmail.com \
    --cc=oss@buserror.net \
    --cc=ravi.bangoria@linux.ibm.com \
    --cc=ruscur@russell.cc \
    --cc=sbobroff@linux.ibm.com \
    --cc=thuth@redhat.com \
    --cc=tyreld@linux.ibm.com \
    --cc=vaibhav@linux.ibm.com \
    --cc=valentin@longchamp.me \
    --cc=yanaijie@huawei.com \
    --cc=yuehaibing@huawei.com \
    --cc=zohar@linux.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;
as well as URLs for NNTP newsgroup(s).