From: "Jayachandran C" <jchandra@broadcom.com>
To: linux-mips@linux-mips.org, ralf@linux-mips.org, ddaney.cavm@gmail.com
Cc: "Jayachandran C" <jchandra@broadcom.com>
Subject: [PATCH 0/5 v2] Cop2 save and restore for Netlogic XLP
Date: Mon, 10 Jun 2013 12:59:59 +0530 [thread overview]
Message-ID: <1370849404-4918-1-git-send-email-jchandra@broadcom.com> (raw)
This patchset is to generalize the COP2 save/restore implemented for
Octeon and to use it for Netlogic XLP.
Patch 1 and 2 of the series affects the Octeon platform as well, please
let me know if there are any suggestions/comments.
Thanks,
JC.
---
Changes in v2:
- XLR support dropped, status register is readonly in XLR and cannot
be restored
- fix naming of COP2 registers
Jayachandran C (5):
MIPS: Move cop2 save/restore to switch_to()
MIPS: Allow kernel to use coprocessor 2
MIPS: Netlogic: Fix nlm_read_c2_status() definition
MIPS: Netlogic: rename nlm_cop2_save/restore
MIPS: Netlogic: COP2 save/restore code
arch/mips/include/asm/cop2.h | 29 ++++++++
arch/mips/include/asm/netlogic/xlr/fmn.h | 12 ++-
arch/mips/include/asm/processor.h | 31 +++++---
arch/mips/include/asm/switch_to.h | 19 ++++-
arch/mips/kernel/octeon_switch.S | 27 -------
arch/mips/kernel/traps.c | 15 ++--
arch/mips/netlogic/xlp/Makefile | 2 +-
arch/mips/netlogic/xlp/cop2-ex.c | 118 ++++++++++++++++++++++++++++++
arch/mips/netlogic/xlr/fmn.c | 18 ++---
9 files changed, 208 insertions(+), 63 deletions(-)
create mode 100644 arch/mips/netlogic/xlp/cop2-ex.c
--
1.7.9.5
next reply other threads:[~2013-06-10 7:28 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-10 7:29 Jayachandran C [this message]
2013-06-10 7:30 ` [PATCH 1/5] MIPS: Move cop2 save/restore to switch_to() Jayachandran C
2013-06-10 7:30 ` [PATCH 2/5] MIPS: Allow kernel to use coprocessor 2 Jayachandran C
2013-06-10 11:31 ` Sergei Shtylyov
2013-06-10 12:42 ` Ralf Baechle
2013-06-11 4:12 ` Jayachandran C.
2013-06-10 7:30 ` [PATCH 3/5] MIPS: Netlogic: Fix nlm_read_c2_status() definition Jayachandran C
2013-06-10 7:30 ` [PATCH 4/5] MIPS: Netlogic: rename nlm_cop2_save/restore Jayachandran C
2013-06-10 7:30 ` [PATCH 5/5] MIPS: Netlogic: COP2 save/restore code Jayachandran C
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=1370849404-4918-1-git-send-email-jchandra@broadcom.com \
--to=jchandra@broadcom.com \
--cc=ddaney.cavm@gmail.com \
--cc=linux-mips@linux-mips.org \
--cc=ralf@linux-mips.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