From: Sven Schnelle <svens@stackframe.org>
To: Helge Deller <deller@gmx.de>
Cc: linux-parisc@vger.kernel.org
Subject: [PATCH v3 0/4] add TOC support
Date: Thu, 14 Oct 2021 21:49:12 +0200 [thread overview]
Message-ID: <20211014194916.13901-1-svens@stackframe.org> (raw)
This adds support for the TOC switches found on most PA-RISC
machines. I tested this on my c8000 and a HP 16702A, which is
basically a B160L with some logic analyzer hardware.
Changes in v3:
- add config option
- move toc code to its own c & .S file
- use early_initcall for setup
- split out struct declarations
- use sizeof(*ret) instead of sizeof(struct x)
- move virt_map to assembly.h so it can be used from other files
Changes in v2:
- fix stack allocation
- align toc_lock on 16 byte boundary
- move toc_lock declaration to processor.c
Sven Schnelle (4):
parisc: move virt_map macro to assembly.h
parisc: add PIM TOC data structures
parisc/firmware: add functions to retrieve TOC data
parisc: add support for TOC (transfer of control)
arch/parisc/Kconfig | 14 ++++
arch/parisc/include/asm/assembly.h | 25 +++++++
arch/parisc/include/asm/pdc.h | 2 +
arch/parisc/include/asm/processor.h | 4 +
arch/parisc/include/uapi/asm/pdc.h | 28 ++++++-
arch/parisc/kernel/Makefile | 1 +
arch/parisc/kernel/entry.S | 24 ------
arch/parisc/kernel/firmware.c | 32 ++++++++
arch/parisc/kernel/toc.c | 111 ++++++++++++++++++++++++++++
arch/parisc/kernel/toc_asm.S | 88 ++++++++++++++++++++++
10 files changed, 303 insertions(+), 26 deletions(-)
create mode 100644 arch/parisc/kernel/toc.c
create mode 100644 arch/parisc/kernel/toc_asm.S
--
2.33.0
next reply other threads:[~2021-10-14 19:49 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-14 19:49 Sven Schnelle [this message]
2021-10-14 19:49 ` [PATCH v3 1/4] parisc: move virt_map macro to assembly.h Sven Schnelle
2021-10-14 19:49 ` [PATCH v3 2/4] parisc: add PIM TOC data structures Sven Schnelle
2021-10-14 19:49 ` [PATCH v3 3/4] parisc/firmware: add functions to retrieve TOC data Sven Schnelle
2021-10-14 19:49 ` [PATCH v3 4/4] parisc: add support for TOC (transfer of control) Sven Schnelle
2021-10-16 16:49 ` Rolf Eike Beer
2021-10-16 16:56 ` Helge Deller
2021-10-14 20:27 ` [PATCH v3 0/4] add TOC support Helge Deller
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=20211014194916.13901-1-svens@stackframe.org \
--to=svens@stackframe.org \
--cc=deller@gmx.de \
--cc=linux-parisc@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.