Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp5298986imd; Tue, 30 Oct 2018 15:21:59 -0700 (PDT) X-Google-Smtp-Source: AJdET5cnl9OKdobLWFjNgzovtobmKHKfQJV2JUJ4wrA2G81/qLTihnv123tpHVZO1FaoDjCXbOGY X-Received: by 2002:a63:8948:: with SMTP id v69mr529930pgd.39.1540938118865; Tue, 30 Oct 2018 15:21:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540938118; cv=none; d=google.com; s=arc-20160816; b=H8Qzg5eniUqHNax3VqDNSrFEkT+GmFZjTxE62UgzwhiDx3w3s5jB9dOwbsh+pmiZTk R4syHtlmCMTepEgRZfUWSS8KxM7O5lU+cYRquWgABulG5XXqz97W/7NYAzCVAAa6NUGu OrBQ2eE0KeWdRqd05YptWQRdkUyDOAatbrnPtRVNAg2VL+NWG2shZcQfldVvzJUh6/nF 7rNpXaN7bnj8w+P3Tcak+UycChUcc18ePcYDjj3rWK9NAqmyq1nnBNcus9oemZ4J3cQI 4XTqt1co+zawoMxBBzmUaeyHNq6sTjQBHVWNrrw3jl4vaX1Z5JDK8rxCjwIEkT+1T94p hp5A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=SPVTCN7yB3EvcS3VgTBTPuwRPE6icIQDbNo/cFgw8x4=; b=0xhSBq39982jKQPMMf4fihO5ui1ykGDSy8TLWVwMnAYo6Lp6DKbx81vrvLZKkkZ0c3 OGcJcVJfLJqKNcODzY9y8lqOMmI/m/JJULnH90Q2rNjDPmXyvepULaCz9Db1q4CJlYOr Rw8ZGn6IxcvKurZNBQJXJJv3s1nGuMyN/VVoB12YeyDjGwJfnm4BMZ2jmrO1UqOSulyu LYTiS/FKqUz6yuY5kypcvtOcV1jNjKvx52JjWq9odh2Ori8XfKPZCBHgB3OAsfBMQyNf HezFGeKNm0WlfIRneKt79QWJkD2LXLiFTT4Fs2Vx7ZG2SBTIH6iCKUix9qAuS2olfMoW U2vQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=F5MtIjUS; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s17-v6si24436110pgm.317.2018.10.30.15.21.42; Tue, 30 Oct 2018 15:21:58 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=F5MtIjUS; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728486AbeJaHOV (ORCPT + 99 others); Wed, 31 Oct 2018 03:14:21 -0400 Received: from mail-pf1-f194.google.com ([209.85.210.194]:38692 "EHLO mail-pf1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727672AbeJaHOU (ORCPT ); Wed, 31 Oct 2018 03:14:20 -0400 Received: by mail-pf1-f194.google.com with SMTP id b11-v6so6564245pfi.5 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=cL/aMZvHWHJZz80SZatbUg4njw/4yaIlhmExTFaJLfjitDfH/jbW/IRL58tOCgbNCo a6jFEmHs3iRDs0TPB0DlHzwnBN/h6c7dir8U+FBVWprTSiCBX86+dhLTdJXCpMk/+C2a IBzWaUHKaT5YY9C3mpgypSERV5ZX0OM4LKoob/q++eX6p2l0N0h/50PYIUzx9zywwYnT DheU+GVgPZbLNIlW7FXwT1xBhKK9OlGzbeAosxOpXTfsjK63HvdOoqWcsdU9/ZbvCuD7 aYz4hUUxg7PekA4g3BfyTxz8KiiKSXSltNDuN6P5+R+uQR23U6ISIN1YuNUX5lKqRFFX F9rw== X-Gm-Message-State: AGRZ1gLMWs1uR4M4Us2FxGfS33XPeo8qQKbu9e8rA8GCeMlN+woKGqxz 9h8wct6MrT/zwtjuIcm76f14Ug== 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 Cc: kgdb-bugreport@lists.sourceforge.net, Peter Zijlstra , Douglas Anderson , linux-mips@linux-mips.org, linux-sh@vger.kernel.org, Borislav Petkov , Paul Burton , sparclinux@vger.kernel.org, Catalin Marinas , James Hogan , linux-hexagon@vger.kernel.org, x86@kernel.org, Vineet Gupta , Thomas Gleixner , Philippe Ombredanne , Kate Stewart , Will Deacon , Ralf Baechle , linux-snps-arc@lists.infradead.org, Andrew Morton , "H. Peter Anvin" , Yoshinori Sato , Benjamin Herrenschmidt , Greg Kroah-Hartman , Paul Mackerras , Ingo Molnar , Russell King , linux-arm-kernel@lists.infradead.org, Christophe Leroy , Huang Ying , "David S. Miller" , Rich Felker , Michael Ellerman , linux-kernel@vger.kernel.org, Richard Kuo , linuxppc-dev@lists.ozlabs.org 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 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(-) -- 2.19.1.568.g152ad8e336-goog