From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751475AbdAPU6w (ORCPT ); Mon, 16 Jan 2017 15:58:52 -0500 Received: from smtprelay4.synopsys.com ([198.182.47.9]:59916 "EHLO smtprelay.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751238AbdAPU6m (ORCPT ); Mon, 16 Jan 2017 15:58:42 -0500 From: Vineet Gupta To: , CC: , Vineet Gupta Subject: [PATCH 3/4] ARCv2: smp: MCIP: remove debug aid to halt all cores when one halts Date: Mon, 16 Jan 2017 12:57:56 -0800 Message-ID: <1484600277-32345-4-git-send-email-vgupta@synopsys.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1484600277-32345-1-git-send-email-vgupta@synopsys.com> References: <1484600277-32345-1-git-send-email-vgupta@synopsys.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.10.161.70] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This was really usefull when doing initial bringup and also for occassional debug of software and hardware bugs. However in the new smp-boot regime, non masters will "self" halt even for run-on-reset configs. This will misinteract with the debug feature as in even master will get halted when the non masters self halt. Signed-off-by: Vineet Gupta --- arch/arc/kernel/mcip.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/arch/arc/kernel/mcip.c b/arch/arc/kernel/mcip.c index f39142acc89e..933382e0edd0 100644 --- a/arch/arc/kernel/mcip.c +++ b/arch/arc/kernel/mcip.c @@ -101,11 +101,6 @@ static void mcip_probe_n_setup(void) IS_AVAIL1(mp.gfrc, "GFRC")); cpuinfo_arc700[0].extn.gfrc = mp.gfrc; - - if (mp.dbg) { - __mcip_cmd_data(CMD_DEBUG_SET_SELECT, 0, 0xf); - __mcip_cmd_data(CMD_DEBUG_SET_MASK, 0xf, 0xf); - } } struct plat_smp_ops plat_smp_ops = { -- 2.7.4