From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751459AbeBTKdP (ORCPT ); Tue, 20 Feb 2018 05:33:15 -0500 Received: from 9pmail.ess.barracuda.com ([64.235.150.224]:39422 "EHLO 9pmail.ess.barracuda.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751172AbeBTKdO (ORCPT ); Tue, 20 Feb 2018 05:33:14 -0500 From: Matt Redfearn To: James Hogan , Ralf Baechle CC: , Matt Redfearn , "Ying Huang" , , Paul Burton , Ingo Molnar , "Matija Glavinic Pecotic" Subject: [PATCH 0/2] MIPS: CONFIG_SMP_SINGLE_IPI Date: Tue, 20 Feb 2018 10:32:21 +0000 Message-ID: <1519122743-4847-1-git-send-email-matt.redfearn@mips.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.150.130.83] X-BESS-ID: 1519122775-298553-23098-37464-12 X-BESS-VER: 2018.2-r1802152108 X-BESS-Apparent-Source-IP: 12.201.5.28 X-BESS-Outbound-Spam-Score: 1.64 X-BESS-Outbound-Spam-Report: Code version 3.2, rules version 3.2.2.190214 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------- 0.00 BSF_BESS_OUTBOUND META: BESS Outbound 0.01 SUBJ_ALL_CAPS META: Subject is all capitals 1.62 SUBJ_ALL_CAPS_2 META: X-BESS-Outbound-Spam-Status: SCORE=1.64 using account:ESS59374 scores of KILL_LEVEL=7.0 tests=BSF_BESS_OUTBOUND, SUBJ_ALL_CAPS, SUBJ_ALL_CAPS_2 X-BESS-BRTS-Status: 1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series adds a configuration option to allow MIPS kernels using CONFIG_GENERIC_IRQ_IPI to use only a single IPI per CPU rather than the usual 2. This allows these kernels to boot on hardware with insufficient interrupts for the usual 2 / CPU. It may also prove more flexible in allowing greater numbers of IPI functions to be delivered without using up additional per CPU interrupts. For example this mechanism may be extended to address the potential for deadlock in arch_trigger_cpumask_backtrace recently pointed out by Huacai Chen. Matt Redfearn (2): MIPS: SMP: Group CONFIG_GENERIC_IRQ_IPI together MIPS: SMP: Introduce CONFIG_SMP_SINGLE_IPI arch/mips/Kconfig | 11 +++++ arch/mips/kernel/smp.c | 106 +++++++++++++++++++++++++++++++++++++++++++++---- 2 files changed, 110 insertions(+), 7 deletions(-) -- 2.7.4