From: Christoph Hellwig <hch@infradead.org>
To: Alexander Graf <agraf@suse.de>
Cc: linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org,
Catalin Marinas <catalin.marinas@arm.com>,
Will Deacon <will.deacon@arm.com>, Richard Brown <rbrown@suse.de>,
Matthias Brugger <mbrugger@suse.com>
Subject: Re: [PATCH] arm64: Make kpti command line options x86 compatible
Date: Thu, 15 Nov 2018 01:41:16 -0800 [thread overview]
Message-ID: <20181115094116.GA18154@infradead.org> (raw)
In-Reply-To: <20181113152046.22389-1-agraf@suse.de>
On Tue, Nov 13, 2018 at 04:20:46PM +0100, Alexander Graf wrote:
> I've already stumbled over 2 cases where people got confused about how to
> disable kpti on AArch64. In both cases, they used existing x86_64 options
> and just applied that to an AArch64 system, expecting it to work.
>
> I think it makes a lot of sense to have compatible kernel command line
> parameters whenever we can have them be compatible.
>
> So this patch adds the pti= and no_pti kernel command line options, mapping
> them into the existing kpti= command line framework. It preserves the old
> syntax to maintain compatibility with older command lines.
>
> While at it, the patch also marks the respective options as dual-arch.
Thanks. Which also brings up my old complainst that arm64 and x86 should
use the same config option. Bonus points for moving the parsing code
to a common file..
next prev parent reply other threads:[~2018-11-15 9:41 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-13 15:20 [PATCH] arm64: Make kpti command line options x86 compatible Alexander Graf
2018-11-15 9:41 ` Christoph Hellwig [this message]
2018-11-15 9:46 ` Alexander Graf
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=20181115094116.GA18154@infradead.org \
--to=hch@infradead.org \
--cc=agraf@suse.de \
--cc=catalin.marinas@arm.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mbrugger@suse.com \
--cc=rbrown@suse.de \
--cc=will.deacon@arm.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).