Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp2986ybg; Tue, 2 Jun 2020 14:34:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy2qatNZIZULUwgzpgFXqjULn4+HG/KmFn9fteTmDQyykTk+gaR7qrfHixIkAJcAWs/bs5M X-Received: by 2002:a17:906:f0e:: with SMTP id z14mr24563162eji.375.1591133694943; Tue, 02 Jun 2020 14:34:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591133694; cv=none; d=google.com; s=arc-20160816; b=LhxV+sWROSgvQsWTUZ0WxbBsgaiXN4ON41YkwlqEBSjo/GbRD7oujd01R5lo+lAEuU 0Tdf7qGQrP79Q6zxFQgQ+k3F8xSz5T9UGoYG0dbfhDyVkK84/gJstYf1KYZOChgDW0vN dOf1X8SlVIN9BVPRcKSLV1C+7m4lsMT8cpD8hKjh8gQZ7eNEdswQqcOQ1qm2M6eZ0YV7 C2u+FC0fObWFzePbbp1HARJp1nwFJ4XRuH2MBABbkdnjl1F9IT6Yq4HjomIWhMTjgy9v gBKHaQgu+sHTGbqnc2rHBCUWW+b51JotwgxrUdK6P9rr7g7hRWK8g/fc0V7dfEVKze/5 rGGw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=NlyPlUpzi8PxJ6au1VoYObkQsvt6RuFDhAnnzvz4bv0=; b=i4fBDpk1CuZhKS5Z5iD2dZxsZPr54VdrrHAjLCBUvzRBaRhxu7V7gIUg4YaBd3Dn2R 2CEizrlpsteCuRWCddsVky2ON3uVouqK1OFgnFwa42LHLYY6vzYkyBPK0VUaQhx3eKf+ D//rB6MJOARAHGUYHectMZ6UWj1soznYqxA9yJDXwmRkgC25JFGrDaFPPZ9osiPa9XoP XlEBpmY5G2aBJyE7gG1pFezhFfLouvhy11KKdLH63E0ec1mM9BZ7u3dT5+UdsL9khhjP TBYOmRnNg9yVXxWT3epwjfztAaISwkzIBwpmA5QagxfSg8S3NAOKGDyEw4X86crm4hPO vIuQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=niGr0710; 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=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n21si57428eju.448.2020.06.02.14.34.29; Tue, 02 Jun 2020 14:34:54 -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=@chromium.org header.s=google header.b=niGr0710; 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=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727032AbgFBVcZ (ORCPT + 99 others); Tue, 2 Jun 2020 17:32:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40168 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726174AbgFBVcZ (ORCPT ); Tue, 2 Jun 2020 17:32:25 -0400 Received: from mail-vs1-xe42.google.com (mail-vs1-xe42.google.com [IPv6:2607:f8b0:4864:20::e42]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B2409C08C5C0 for ; Tue, 2 Jun 2020 14:32:23 -0700 (PDT) Received: by mail-vs1-xe42.google.com with SMTP id a68so146878vsd.8 for ; Tue, 02 Jun 2020 14:32:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=NlyPlUpzi8PxJ6au1VoYObkQsvt6RuFDhAnnzvz4bv0=; b=niGr0710a1CzJTTkAC1MviQRrhfyFb98xSRE+/esFIW4I7LWXcyfTIt2O9SmXR/yRZ RngJF2TxDpa6TPzdMv8y4O47Suo9Ujr1Op5mpSmlfbIGHJ5ASnRe+epOmQS1ieDhYz9V 1zbBa+UdRxiiMIY5+1aNGrSDsITPGnZnfQS94= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=NlyPlUpzi8PxJ6au1VoYObkQsvt6RuFDhAnnzvz4bv0=; b=cY0/JO4+98lUCyV/PA0bO/EiPNA0eCwXg1+RwNwtqrhYIsvvSvi4aE4FIekN8SunW2 NZ1wD2OocqZVF4Ab2eDQwt8slUiOtM2ZuPyWt8md158xGfWDA29+y8fLyzbV4D4btPlR oBgu/om5mPRPEaGgEHECja+DGR9xDcLBg/7n2AXQzzyixayZn0DE90vVPuuOX2zh36sl pQZR4Js91pU63luvlE0FHR95QvpAzjUZscE7trpE+Hr3Es8cxBRWYWK0i9wzNOMqX64l ZzJyBO4rUkTvwX/1s1UqGIvBphXxbulkFBEHHFXbBtazw50HLlBuanY1zcJ/78SaU9nB 9jtQ== X-Gm-Message-State: AOAM532x8GMbid75z8weoCOl9T2WWTRWzcxW4JG7emKZRgQhqnimDBio hITMXQv/LRjzXnyW6xhOqX44ujB2q2I= X-Received: by 2002:a67:6582:: with SMTP id z124mr3411727vsb.24.1591133542729; Tue, 02 Jun 2020 14:32:22 -0700 (PDT) Received: from mail-vk1-f177.google.com (mail-vk1-f177.google.com. [209.85.221.177]) by smtp.gmail.com with ESMTPSA id h3sm10759vsp.2.2020.06.02.14.32.22 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 02 Jun 2020 14:32:22 -0700 (PDT) Received: by mail-vk1-f177.google.com with SMTP id m18so1265825vkk.9 for ; Tue, 02 Jun 2020 14:32:22 -0700 (PDT) X-Received: by 2002:ac5:c305:: with SMTP id j5mr1333596vkk.92.1591133541729; Tue, 02 Jun 2020 14:32:21 -0700 (PDT) MIME-Version: 1.0 References: <1590751607-29676-1-git-send-email-sumit.garg@linaro.org> <1590751607-29676-3-git-send-email-sumit.garg@linaro.org> In-Reply-To: <1590751607-29676-3-git-send-email-sumit.garg@linaro.org> From: Doug Anderson Date: Tue, 2 Jun 2020 14:32:10 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v4 2/4] kdb: Check status of console prior to invoking handlers To: Sumit Garg Cc: Daniel Thompson , kgdb-bugreport@lists.sourceforge.net, Jason Wessel , Petr Mladek , Sergey Senozhatsky , Greg Kroah-Hartman , Jiri Slaby , LKML Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Fri, May 29, 2020 at 4:27 AM Sumit Garg wrote: > > Check if a console is enabled prior to invoking corresponding write > handler. > > Suggested-by: Sergey Senozhatsky > Signed-off-by: Sumit Garg > Reviewed-by: Daniel Thompson > --- > kernel/debug/kdb/kdb_io.c | 2 ++ > 1 file changed, 2 insertions(+) Reviewed-by: Douglas Anderson