Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: linux@arm.linux.org.uk (Russell King - ARM Linux)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: vfp: Remote obsolete fpmx_state field from vfp_hard_struct
Date: Wed, 30 Mar 2011 18:52:36 +0100	[thread overview]
Message-ID: <20110330175236.GB2939@n2100.arm.linux.org.uk> (raw)
In-Reply-To: <1301489184-4112-2-git-send-email-dave.martin@linaro.org>

On Wed, Mar 30, 2011 at 01:46:24PM +0100, Dave Martin wrote:
> The fpmx_state field was presumably used in the past, when
> FSTMX/FLDMX were used to save and resture the VFP state.
> 
> This was been deprecated since ARMv6, the context switch code
> has been ported to use the double-precision load/store variants
> many years ago, and now it appears that nothing in the kernel
> references this field any more.

Wrong.

        .macro  VFPFSTMIA, base, tmp
#if __LINUX_ARM_ARCH__ < 6
        STC     p11, cr0, [\base],#33*4             @ FSTMIAX \base!, {d0-d15}
#else
        STC     p11, cr0, [\base],#32*4             @ FSTMIAD \base!, {d0-d15}
#endif

So, building for pre-ARMv6, it's still used.

  reply	other threads:[~2011-03-30 17:52 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-30 12:46 [PATCH] ARM: vfp: Remote obsolete fpmx_state field from vfp_hard_struct Dave Martin
2011-03-30 12:46 ` Dave Martin
2011-03-30 17:52   ` Russell King - ARM Linux [this message]
2011-03-31  9:17     ` 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=20110330175236.GB2939@n2100.arm.linux.org.uk \
    --to=linux@arm.linux.org.uk \
    --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