Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp1421719ybg; Tue, 2 Jun 2020 09:29:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwi1j3sp5EMlDzO+zMunzX4TrzqSCLyub4G1VxBptWgobRBZuXjx7qphCYXX4zC/03e5RnG X-Received: by 2002:a17:906:3499:: with SMTP id g25mr22570780ejb.518.1591115365364; Tue, 02 Jun 2020 09:29:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591115365; cv=none; d=google.com; s=arc-20160816; b=As2AxETtPHRPIh9AFc6ZyGyGjVFTYCRqRorKPpf/fS3/jdOsMCh8DznuObW5uBDGlX lSeYOcsncl5IzpJfntmIwShSoBEMW8mWcwM2A6NHtXJ/P5o1txJJJnF/sMWhvCeqeOyq +aWRNItMxh+59f8h6zHMycSCtvhDxQXEBsnrHWL+dJy3aiD6VgUM2JmAo3Znnfd8Ulvy kwP2s2zd6fB28XtkxGtKYb6c+IUPtpAY6C67tKKvLYEz/L8MCp1P6sodo3K2HsEFd4Sk +IoejRKWcykxnAjIZUzM+hHhS6i7rS9X8vXWtxPAG8tdt1nyQ45jhIGAH65oLed/LBDX pv5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-disposition:mime-version :message-id:subject:cc:to:from:date:dkim-signature; bh=P3vrqBjfNDKKP3siR3IdQS6VJvnh0OXHMzs3D2xqe0w=; b=yNqebUwvqJvVYOb4ibnTJJHtcubRwdUooYul01QhQdydcnIO+wDkAm+j46hspsV5TR t7q92OUrR6elXIiePGIPfw/4h++tFOsBopnjx76Fh5sea6rNj6TYKn6lWde0RdXF2YZy RfjMmIetPaTPXsuNW5q5WIhK3mVN8jsHq058MWP/hS1MI8j1Infyx77AR0Bv61ek0ntC L0uiOSx6Vk+ORMIm1aFNxhz9ZCtZrrWJh1hvaYpj6ZnW2R1hf2OuNJgFZb2anoH6/oMg kZfqsdVxsyfj8sb8DXmk9lCmAgVLSc7SgWsdlWLGNCteXT8Kvw/iAxINu0fr/jjh2EXV ec8Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=z73iZVfS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g1si1562595ejk.122.2020.06.02.09.29.00; Tue, 02 Jun 2020 09:29:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=z73iZVfS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726214AbgFBQYo (ORCPT + 99 others); Tue, 2 Jun 2020 12:24:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48848 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725940AbgFBQYo (ORCPT ); Tue, 2 Jun 2020 12:24:44 -0400 Received: from mail-wr1-x444.google.com (mail-wr1-x444.google.com [IPv6:2a00:1450:4864:20::444]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 06A77C05BD1E for ; Tue, 2 Jun 2020 09:24:43 -0700 (PDT) Received: by mail-wr1-x444.google.com with SMTP id e1so4039080wrt.5 for ; Tue, 02 Jun 2020 09:24:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:mime-version:content-disposition; bh=P3vrqBjfNDKKP3siR3IdQS6VJvnh0OXHMzs3D2xqe0w=; b=z73iZVfSZYY/WgssTyrE6Ezcl2qWjFLtDe4XUeViTmVBt5yERXXR4lRdjSYLIIaYNe HPu5gSHq7QjAP5NkHo0GhgCe4tg2NU4nVcpDMqTlmmr1x61ih3FlpshyL7DZa4reB4EJ dh5RmHPNMeTo8nEZWUY/SA7W1AzlP5c1VpyM0p/7G5DVCQttz3kO/pKqZ+pijCBpSm6x Bt+ueJOT/5vaFmxl1X1dYTdvyAovPmg5tPaW2xENSkcNviDK+zCGmidmiSctulCEaA/Z VzgqNrp6JBDfpUWb/Oue3dYNXxf8XEat8VqjLgk39PQLHeMYOU7lgUicmPpCkEEGc4dG 0tdA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition; bh=P3vrqBjfNDKKP3siR3IdQS6VJvnh0OXHMzs3D2xqe0w=; b=V19fnPVEim3NxV5z9lkm8FkdeUjcCVtq6JBcvFWImrzMd6VhDbu0SIIRBQypgzCst0 RzupWj/24ky35OfOxeBVzUUqHcLDSkHbAd73OkzUeKJZFx479P+aUAcxsUfJH0S85lt7 05hPhlKcDOFG+t8o+8VcAuLPq8Tkzdr50CoyP5+FU0+lmwLlcvfw+0OluYI7gdKgL87B cmesuWrGlBoletswS2JdOcfXZydhkIIY661WmHkLStYnhkX5UuNizv/18IysoT/57Oje 6raCGYR/+VBoTO0mFutIDgEG5nkDofmsw88DHWThDOmqP9Tb14pOq/P+LD2OGolWj/K3 K+FA== X-Gm-Message-State: AOAM533p3G+eIRB4AnL+lQr4xy6q0nVDd/PYu5ZowfPL3d4YRGhRBy9+ qOHFI51TktrqZkjrz26cNhDXEQ== X-Received: by 2002:a5d:6cc1:: with SMTP id c1mr28065505wrc.144.1591115082518; Tue, 02 Jun 2020 09:24:42 -0700 (PDT) Received: from holly.lan (cpc141214-aztw34-2-0-cust773.18-1.cable.virginm.net. [86.9.19.6]) by smtp.gmail.com with ESMTPSA id a1sm291919wmj.29.2020.06.02.09.24.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Jun 2020 09:24:41 -0700 (PDT) Date: Tue, 2 Jun 2020 17:24:40 +0100 From: Daniel Thompson To: Linus Torvalds Cc: Jason Wessel , linux-kernel@vger.kernel.org, Douglas Anderson , Wei Li , Sumit Garg , Greg Kroah-Hartman , Jason Yan , Andy Shevchenko Subject: [GIT PULL] kgdb changes for v5.8-rc1 Message-ID: <20200602162440.l235arjoue5zwzi2@holly.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The following changes since commit 6a8b55ed4056ea5559ebe4f6a4b247f627870d4c: Linux 5.7-rc3 (2020-04-26 13:51:02 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/danielt/linux.git/ tags/kgdb-5.8-rc1 for you to fetch changes up to c893de12e1ef17b581eb2cf8fc9018ec0cbd07df: kdb: Remove the misfeature 'KDBFLAGS' (2020-06-02 15:15:46 +0100) ---------------------------------------------------------------- kgdb patches for 5.8-rc1 By far the biggest change in this cycle are the changes that allow much earlier debug of systems that are hooked up via UART by taking advantage of the earlycon framework to implement the kgdb I/O hooks before handing over to the regular polling I/O drivers once they are available. When discussing Doug's work we also found and fixed an broken raw_smp_processor_id() sequence in in_dbg_master(). Also included are a collection of much smaller fixes and tweaks: a couple of tweaks to ged rid of doc gen or coccicheck warnings, future proof some internal calculations that made implicit power-of-2 assumptions and eliminate some rather weird handling of magic environment variables in kdb. Signed-off-by: Daniel Thompson ---------------------------------------------------------------- Andy Shevchenko (1): kgdb: Drop malformed kernel doc comment Daniel Thompson (2): kgdb: Fix spurious true from in_dbg_master() serial: kgdboc: Allow earlycon initialization to be deferred Douglas Anderson (13): kgdb: Disable WARN_CONSOLE_UNLOCKED for all kgdb Revert "kgdboc: disable the console lock when in kgdb" kgdboc: Use a platform device to handle tty drivers showing up late kgdb: Delay "kgdbwait" to dbg_late_init() by default kgdb: Prevent infinite recursive entries to the debugger kgdboc: Remove useless #ifdef CONFIG_KGDB_SERIAL_CONSOLE in kgdboc kgdboc: Add kgdboc_earlycon to support early kgdb using boot consoles kgdboc: Disable all the early code when kgdboc is a module kgdb: Don't call the deinit under spinlock Documentation: kgdboc: Document new kgdboc_earlycon parameter serial: qcom_geni_serial: Support kgdboc_earlycon serial: 8250_early: Support kgdboc_earlycon kdb: Cleanup math with KDB_CMD_HISTORY_COUNT Jason Yan (1): kgdb: Return true in kgdb_nmi_poll_knock() Sumit Garg (1): serial: amba-pl011: Support kgdboc_earlycon Wei Li (1): kdb: Remove the misfeature 'KDBFLAGS' Documentation/admin-guide/kernel-parameters.txt | 20 ++ Documentation/dev-tools/kgdb.rst | 24 ++ arch/x86/Kconfig | 1 + drivers/tty/serial/8250/8250_early.c | 23 ++ drivers/tty/serial/amba-pl011.c | 32 +++ drivers/tty/serial/kgdboc.c | 318 +++++++++++++++++++++--- drivers/tty/serial/qcom_geni_serial.c | 32 +++ include/linux/kdb.h | 2 +- include/linux/kgdb.h | 8 +- kernel/debug/debug_core.c | 57 +++-- kernel/debug/kdb/kdb_main.c | 11 +- lib/Kconfig.kgdb | 18 ++ 12 files changed, 490 insertions(+), 56 deletions(-)