From: Dave.Martin@arm.com (Dave Martin)
To: linux-arm-kernel@lists.infradead.org
Subject: [RFC PATCH] arm64: neon: Remove support for nested or hardirq kernel-mode NEON
Date: Fri, 19 May 2017 15:09:47 +0100 [thread overview]
Message-ID: <20170519140947.GG3559@e103592.cambridge.arm.com> (raw)
In-Reply-To: <CAKv+Gu-o5wofQwpC6Wp87GNniN2eTYmni_JGKNpPFFCWK48zWA@mail.gmail.com>
On Fri, May 19, 2017 at 02:56:20PM +0100, Ard Biesheuvel wrote:
> On 19 May 2017 at 14:46, Dave Martin <Dave.Martin@arm.com> wrote:
[...]
> > OK -- when do you expect your kernel-mode-neon series (or relevant bits
> > of it) to be merged? With that in place, I can carry this patch in
> > the SVE series, or propose it to be merged separately.
> >
>
> There is no reason for any of this to go through the crypto tree or
> mailing list. So for now, let's go with kernel_neon_allowed(), and I
Arg, I just changed it back...
What are the intended meanings of
!kernel_neon_allowed() && !may_use_simd()
!kernel_neon_allowed() && may_use_simd()
kernel_neon_allowed() && !may_use_simd()
kernel_neon_allowed() && may_use_simd()
?
I'm still a little confused here...
> can respin my patches against that and ask Catalin or Will to queue it
> for v4.13. I will be travelling next week, though, so no ETA yet.
OK. It they get queued for v4.13 that's fine for me.
> > I'd also expect CONFIG_KERNEL_NEON_MODE_NEON_FALLBACK and
> > kernel_neon_need_fallback() to be folded in (=y and true respectively),
> > since removal of nesting support will mean that fallback code is always
> > needed for clients that may run elsewhere than in task context.
>
> Yes. So we no longer have to reason about whether a fallback should be
> provided, which is an improvement imo.
Agreed, it seems simpler this way.
Cheers
---Dave
next prev parent reply other threads:[~2017-05-19 14:09 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-19 11:26 [RFC PATCH] arm64: neon: Remove support for nested or hardirq kernel-mode NEON Dave Martin
2017-05-19 11:31 ` Dave Martin
2017-05-19 12:34 ` Ard Biesheuvel
2017-05-19 13:46 ` Dave Martin
2017-05-19 13:56 ` Ard Biesheuvel
2017-05-19 14:09 ` Dave Martin [this message]
2017-05-19 14:18 ` Ard Biesheuvel
2017-05-19 12:49 ` Mark Rutland
2017-05-19 13:13 ` Dave Martin
2017-05-19 13:34 ` Mark Rutland
2017-05-19 14:02 ` Dave Martin
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=20170519140947.GG3559@e103592.cambridge.arm.com \
--to=dave.martin@arm.com \
--cc=linux-arm-kernel@lists.infradead.org \
/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