From: Aleksander Jan Bajkowski <olek2@wp.pl>
To: tsbogend@alpha.franken.de, olek2@wp.pl,
linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [RFC PATCH 1/1] MIPS: smp-mt: enable all hardware interrupts on second VPE
Date: Sun, 6 Jun 2021 20:15:25 +0200 [thread overview]
Message-ID: <20210606181525.761333-2-olek2@wp.pl> (raw)
In-Reply-To: <20210606181525.761333-1-olek2@wp.pl>
This patch is needed to handle interrupts by the second VPE on Lantiq.
It seems the Lantiq SoC is using all the hardware interrupt lines.
Currently changing smp_affinity to the second VPE hangs interrupts.
Tested on lantiq xRX200 and xRX330 (MIPS 34Kc core).
Signed-off-by: Aleksander Jan Bajkowski <olek2@wp.pl>
---
arch/mips/kernel/smp-mt.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/arch/mips/kernel/smp-mt.c b/arch/mips/kernel/smp-mt.c
index 5f04a0141068..f21cd0eb1fa7 100644
--- a/arch/mips/kernel/smp-mt.c
+++ b/arch/mips/kernel/smp-mt.c
@@ -113,8 +113,7 @@ static void vsmp_init_secondary(void)
STATUSF_IP4 | STATUSF_IP5 |
STATUSF_IP6 | STATUSF_IP7);
else
- change_c0_status(ST0_IM, STATUSF_IP0 | STATUSF_IP1 |
- STATUSF_IP6 | STATUSF_IP7);
+ set_c0_status(ST0_IM);
}
static void vsmp_smp_finish(void)
--
2.30.2
prev parent reply other threads:[~2021-06-06 18:15 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-06 18:15 [RFC PATCH 0/1] " Aleksander Jan Bajkowski
2021-06-06 18:15 ` Aleksander Jan Bajkowski [this message]
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=20210606181525.761333-2-olek2@wp.pl \
--to=olek2@wp.pl \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mips@vger.kernel.org \
--cc=tsbogend@alpha.franken.de \
/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
all inboxes | Powered by JetHome®