From patchwork Sun Jun 6 18:15:24 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aleksander Jan Bajkowski X-Patchwork-Id: 12302139 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C0724C4743D for ; Sun, 6 Jun 2021 18:22:12 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 92FAA613A9 for ; Sun, 6 Jun 2021 18:22:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229697AbhFFSYB (ORCPT ); Sun, 6 Jun 2021 14:24:01 -0400 Received: from mx3.wp.pl ([212.77.101.9]:46965 "EHLO mx3.wp.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229474AbhFFSYA (ORCPT ); Sun, 6 Jun 2021 14:24:00 -0400 X-Greylist: delayed 398 seconds by postgrey-1.27 at vger.kernel.org; Sun, 06 Jun 2021 14:23:59 EDT Received: (wp-smtpd smtp.wp.pl 22137 invoked from network); 6 Jun 2021 20:15:27 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wp.pl; s=1024a; t=1623003327; bh=xsQ8aFTPuFeLl/EzuepZ3LgCC1DxOmEQ2Cs92/MgceU=; h=From:To:Cc:Subject; b=UObVZBtSykWqY04aiUaUT8/rpM5l3UVA0v868G8RS2RApXZYQnrS2Jf4gTVvmEkXe YVFNuG6qu5xc3Kygo2phVV2aInGgxxajF9Ixybd5YS9qUIE/DeaNvThsgQI1g7LtGe tqZru/M/Bfz4/PhynFgW9hHKRfuTefcoGuUgcYuc= Received: from riviera.nat.ds.pw.edu.pl (HELO LAPTOP-OLEK.lan) (olek2@wp.pl@[194.29.137.1]) (envelope-sender ) by smtp.wp.pl (WP-SMTPD) with ECDHE-RSA-AES256-GCM-SHA384 encrypted SMTP for ; 6 Jun 2021 20:15:27 +0200 From: Aleksander Jan Bajkowski To: tsbogend@alpha.franken.de, olek2@wp.pl, linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Aleksander Jan Bajkowski Subject: [RFC PATCH 0/1] MIPS: smp-mt: enable all hardware interrupts on second VPE Date: Sun, 6 Jun 2021 20:15:24 +0200 Message-Id: <20210606181525.761333-1-olek2@wp.pl> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 X-WP-MailID: 35539085eedb8fb54c7457c58164985f X-WP-AV: skaner antywirusowy Poczty Wirtualnej Polski X-WP-SPAM: NO 0000000 [UZN0] Precedence: bulk List-ID: X-Mailing-List: linux-mips@vger.kernel.org From: Aleksander Jan Bajkowski This patch is marked as RFC because I'm not sure if it's a good place to put this code. 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). Aleksander Jan Bajkowski (1): MIPS: smp-mt: enable all hardware interrupts on second VPE arch/mips/kernel/smp-mt.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)