From: Alexander Graf <agraf@suse.de>
To: linuxppc-dev@lists.ozlabs.org
Cc: Dinar Valeev <dvaleev@suse.com>, Anton Blanchard <anton@samba.org>
Subject: [PATCH 1/4] powerpc: Add global exports for all interrupt vectors
Date: Mon, 23 Dec 2013 02:24:42 +0100 [thread overview]
Message-ID: <1387761885-39599-2-git-send-email-agraf@suse.de> (raw)
In-Reply-To: <1387761885-39599-1-git-send-email-agraf@suse.de>
We need to access every interrupt vector we can find soon, so let's
make them all visible through names to outside code.
Signed-off-by: Alexander Graf <agraf@suse.de>
---
arch/powerpc/kernel/exceptions-64s.S | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/arch/powerpc/kernel/exceptions-64s.S b/arch/powerpc/kernel/exceptions-64s.S
index 9f905e4..fcd039f 100644
--- a/arch/powerpc/kernel/exceptions-64s.S
+++ b/arch/powerpc/kernel/exceptions-64s.S
@@ -148,6 +148,7 @@ END_FTR_SECTION_IFSET(CPU_FTR_HVMODE | CPU_FTR_ARCH_206)
NOTEST, 0x100)
. = 0x200
+ .globl machine_check_pSeries_1
machine_check_pSeries_1:
/* This is moved out of line as it can be patched by FW, but
* some code path might still want to branch into the original
@@ -328,24 +329,28 @@ hv_doorbell_trampoline:
* trickery is thus necessary
*/
. = 0xf00
+ .global performance_monitor_pseries_trampoline
performance_monitor_pseries_trampoline:
SET_SCRATCH0(r13)
EXCEPTION_PROLOG_0(PACA_EXGEN)
b performance_monitor_pSeries
. = 0xf20
+ .global altivec_unavailable_pseries_trampoline
altivec_unavailable_pseries_trampoline:
SET_SCRATCH0(r13)
EXCEPTION_PROLOG_0(PACA_EXGEN)
b altivec_unavailable_pSeries
. = 0xf40
+ .global vsx_unavailable_pseries_trampoline
vsx_unavailable_pseries_trampoline:
SET_SCRATCH0(r13)
EXCEPTION_PROLOG_0(PACA_EXGEN)
b vsx_unavailable_pSeries
. = 0xf60
+ .global facility_unavailable_trampoline
facility_unavailable_trampoline:
SET_SCRATCH0(r13)
EXCEPTION_PROLOG_0(PACA_EXGEN)
--
1.8.1.4
next prev parent reply other threads:[~2013-12-23 1:24 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-23 1:24 [PATCH 0/4] powerpc: Enable ILE on pSeries without H_MODE_SET Alexander Graf
2013-12-23 1:24 ` Alexander Graf [this message]
2013-12-23 1:24 ` [PATCH 2/4] powerpc: Add relocation code for fixups Alexander Graf
2013-12-23 1:24 ` [PATCH 3/4] powerpc: Add hack to make ppc64le work on hosts without ILE Alexander Graf
2013-12-23 1:24 ` [PATCH 4/4] powerpc: Don't return to BE mode when we are already there 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=1387761885-39599-2-git-send-email-agraf@suse.de \
--to=agraf@suse.de \
--cc=anton@samba.org \
--cc=dvaleev@suse.com \
--cc=linuxppc-dev@lists.ozlabs.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;
as well as URLs for NNTP newsgroup(s).