From patchwork Tue Oct 30 22:18:41 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Doug Anderson X-Patchwork-Id: 10661705 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 82FA914DE for ; Tue, 30 Oct 2018 22:19:26 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6FD172A956 for ; Tue, 30 Oct 2018 22:19:26 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5FCEC2A97D; Tue, 30 Oct 2018 22:19:26 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 0B2812A956 for ; Tue, 30 Oct 2018 22:19:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=bsAVK2bEo9fzrzypyZp+pimPH8UtMkvYUCfA3LiXgag=; b=HEPUHdseYx+c4W aoqzbT8GaLhrx7WSIlMQ/WyTMrjMQr44zv3vnRT844PAWM441IKB4iIolO3IdlzBEVSF0nJItVaRi mu1IxvhJiDIzZgbnMn3jVW9xdHK3EauYtxPmESyIda0vjF6twlqf1KNygYibR1YGIQzvxY+d2tOmG nCronb95PqpUkAMvuZJ9Ym4CAKC3m6/4kMGbLSKQDRkbTUAWPqGNRgwO/BGPZiUFw123Moj6178UR He56SeDhqz7fLB9OEp3lHdo7qpYzNsZf3S07IrUqT+7nOFFtaEUaIFomHVVnBWpPiwzRJ6YHZg5T4 i9R2jmPzC0Z0Ac8zzh6A==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gHcM1-0002Yk-7K; Tue, 30 Oct 2018 22:19:17 +0000 Received: from mail-pf1-x442.google.com ([2607:f8b0:4864:20::442]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gHcLx-0002Vb-T5 for linux-arm-kernel@lists.infradead.org; Tue, 30 Oct 2018 22:19:15 +0000 Received: by mail-pf1-x442.google.com with SMTP id h4-v6so6548484pfi.10 for ; Tue, 30 Oct 2018 15:19:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=SPVTCN7yB3EvcS3VgTBTPuwRPE6icIQDbNo/cFgw8x4=; b=F5MtIjUSmfPSLlRLUcvlxb8bgwO944Vzlwsrb+STW1m9SKp+FbIUnhKepFgX1d/6zY WFEsTME5GAO3fNxqCMjL5qf9DfZtUWW/0eu+pQx31M+moNIAPuITstIM3gP6+QCFd8p4 spMZEp8n6pfvs7QIBWD5+GLOMia4bijBqXNww= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=SPVTCN7yB3EvcS3VgTBTPuwRPE6icIQDbNo/cFgw8x4=; b=ppdXzcMY+O5u+ommg4FIQPoXk+od2peXGqCNMlWDlTrF7I4Sjo72D9PoHqaakrlmQl 7RtrAeXBWtF+ZyXEAXsayqfH1FitluTHrYlx4mOdqD1SCKpOPNn4FVR955iFZzX1aGe/ 5mDlwIz3FaO+RkIjvPdrlh4fbNkL/UZh3LtifqlSVkWHbzb8q3aiSBkRnocDwCVU90pv k6L6r0pfVZ7Mi1OSuO2KWfSj2Zj2GJvY7AiP04Y+2Tyga9jbbdemJp7U6AGZwb2Tuuom 8SD0Aceoyc1Ulv19/Ie4MkIfBPkjNEGQVbMIlMw8Eu8Hrz5dUKqj7PwESZbdOGXhGRDR aA6w== X-Gm-Message-State: AGRZ1gIdo1MnQlYhmhnmicXuh0TqgRRpJCqnoNT5JA194UvDL3wX0UtU 4jrUyaorXl9xn4gKdRQ29XqyQg== X-Google-Smtp-Source: AJdET5c8VEq72Qy0GxQVPtDW46vA6aevXpwki6KHW4SNnqLPDwpMxBbEkvTAqWJGZKK3oeUkFc+Anw== X-Received: by 2002:a62:571b:: with SMTP id l27-v6mr521667pfb.209.1540937943074; Tue, 30 Oct 2018 15:19:03 -0700 (PDT) Received: from tictac2.mtv.corp.google.com ([2620:15c:202:1:c8e0:70d7:4be7:a36]) by smtp.gmail.com with ESMTPSA id c70-v6sm2889774pfe.93.2018.10.30.15.19.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 30 Oct 2018 15:19:02 -0700 (PDT) From: Douglas Anderson To: Jason Wessel , Daniel Thompson Subject: [PATCH v2 0/2] kgdb: Fix kgdb_roundup_cpus() Date: Tue, 30 Oct 2018 15:18:41 -0700 Message-Id: <20181030221843.121254-1-dianders@chromium.org> X-Mailer: git-send-email 2.19.1.568.g152ad8e336-goog MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181030_151913_948554_E5E38A19 X-CRM114-Status: GOOD ( 11.28 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Kate Stewart , linux-mips@linux-mips.org, Rich Felker , Catalin Marinas , linux-sh@vger.kernel.org, Peter Zijlstra , kgdb-bugreport@lists.sourceforge.net, Will Deacon , linux-kernel@vger.kernel.org, Paul Mackerras , Michael Ellerman , "H. Peter Anvin" , sparclinux@vger.kernel.org, Yoshinori Sato , linux-hexagon@vger.kernel.org, x86@kernel.org, Russell King , Ingo Molnar , James Hogan , linux-snps-arc@lists.infradead.org, Huang Ying , Greg Kroah-Hartman , Borislav Petkov , Thomas Gleixner , linux-arm-kernel@lists.infradead.org, Christophe Leroy , Vineet Gupta , Douglas Anderson , Ralf Baechle , Richard Kuo , Paul Burton , Benjamin Herrenschmidt , Philippe Ombredanne , Andrew Morton , linuxppc-dev@lists.ozlabs.org, "David S. Miller" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This series was originally part of the series ("serial: Finish kgdb on qcom_geni; fix many lockdep splats w/ kgdb") but it made sense to split it up. It's believed that dropping into kgdb should be more robust once these patches are applied. Changes in v2: - Removing irq flags separated from fixing lockdep splat. - Don't use smp_call_function (Daniel). Douglas Anderson (2): kgdb: Remove irq flags from roundup kgdb: Fix kgdb_roundup_cpus() for arches who used smp_call_function() arch/arc/kernel/kgdb.c | 10 ++-------- arch/arm/kernel/kgdb.c | 12 ------------ arch/arm64/kernel/kgdb.c | 12 ------------ arch/hexagon/kernel/kgdb.c | 32 -------------------------------- arch/mips/kernel/kgdb.c | 9 +-------- arch/powerpc/kernel/kgdb.c | 6 +++--- arch/sh/kernel/kgdb.c | 12 ------------ arch/sparc/kernel/smp_64.c | 2 +- arch/x86/kernel/kgdb.c | 9 ++------- include/linux/kgdb.h | 22 ++++++++++++++-------- kernel/debug/debug_core.c | 38 +++++++++++++++++++++++++++++++++++++- 11 files changed, 60 insertions(+), 104 deletions(-)