Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp337376imm; Wed, 17 Oct 2018 00:35:07 -0700 (PDT) X-Google-Smtp-Source: ACcGV62pCBXy8foAvLojHvI8AGTi+85Z0IuoP9rDudFTspRY3s9LFRjtY2/h9BwOgSJFYL03PbAP X-Received: by 2002:a62:fd0b:: with SMTP id p11-v6mr25033737pfh.167.1539761707795; Wed, 17 Oct 2018 00:35:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539761707; cv=none; d=google.com; s=arc-20160816; b=oAKkGizCNw2oImTAc47w0TKJ5+MAHYwFkAFGG30KwHfFRywSXGlIYVSoA635FuyVTP F71U8QIXzo0flTc1oUmuh39aCgFKSL1fBiuCK1Ij+U5F3lO5ojroYIzTikA3HBmZRwCL S9FvsFsVlMUJqx5OyyTiWbbKAqSpfptGb3I1nYNHS4QePdnJckcpfVIjUAp0brrg0/lI FE/07GNYUXnxTWbaeecdZsu5Z7UpsRArKCAIjqTHzL2HzEExYoaN9xabZMbjMu/mj6UQ P7IdfhQWqJR1ktY3Mbi1WgexqI3b2+KCZykockLzhQPVe2tVav7ohKD1jtzBkqaSGrLw FdiQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:message-id:references :in-reply-to:subject:cc:to:from:date:content-transfer-encoding :mime-version:dkim-signature:dkim-signature; bh=nJMrpFoXDf/5Sfjs0WIpOF/DuUC+ntxq8PnntadZYuU=; b=OiiQw7oyBZGhkHrKAlwV4GTu5w5crFqwJILK1oDh8JrjFgY3fdrpZlzHgZLDbtnmA5 TkoKOSK9uh42Tw4ZmX70nqXY0KaT2w973jdhXM0UZcXwgQQp8CbGbqeUDqFrNO4Dglhz diu4DBVSxrMKaH1RBeem2wnkBBUUkrzzIjYb0rNluPIcVb8Z96qC+dT8PJyCB+V4zVC0 iDFsPQZuEC8sv82oflQ+tH4yr3PBi7uHDcvDroRcujMHqsTG7yUrydG+19sDtFGBzUY/ lhjcGHTh5aW/ljBiFo/WD0BQc5JjWKPy7xfvMT3/9sdjnHrUTc6t3rCuxyGPcOPfQ6wx 23dQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=Qg3ATQog; dkim=pass header.i=@codeaurora.org header.s=default header.b=XQtlv1at; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t64-v6si17183780pfa.170.2018.10.17.00.34.52; Wed, 17 Oct 2018 00:35:07 -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=@codeaurora.org header.s=default header.b=Qg3ATQog; dkim=pass header.i=@codeaurora.org header.s=default header.b=XQtlv1at; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727238AbeJQP2d (ORCPT + 99 others); Wed, 17 Oct 2018 11:28:33 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:42214 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727050AbeJQP2d (ORCPT ); Wed, 17 Oct 2018 11:28:33 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 4A33060B62; Wed, 17 Oct 2018 07:34:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1539761651; bh=fr4Xzf6ysKak5a7qQ4fy5FBzV+DFj3YniUo+bTcF3Gk=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=Qg3ATQogn5fOdZ3YQey97EkXjpXEMLb2Xbs1NrHxm02YdOurWSeEWlEPfetTU/ztk kXMClxyX8JK+oicd2sc4pb1c/bHHiYolHjMzDLIbvTq0SYhMUQ2nIRx7VrSZK6OG5X 2w+3Qe0tuzzsSIt4yFoIsGB/4mi8Trgm18UIW6WE= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.7 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_INVALID,DKIM_SIGNED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.codeaurora.org (Postfix) with ESMTP id B5AB360769; Wed, 17 Oct 2018 07:34:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1539761650; bh=fr4Xzf6ysKak5a7qQ4fy5FBzV+DFj3YniUo+bTcF3Gk=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=XQtlv1atsjeN7XEbDSpIsrltB0fhZTKhBom55InceuJKSXH+IqNIoCVwNfm+j9OHn VpPm5vl3sv0ghxuOfngLBratrhFmv8hGDLxYv4evJjjCcSETmD16Ayc+v4kjdldnEb fXQSrH83EzdpmgmoeHyJQ2gUgA1KksMjvdl8dW0U= MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Wed, 17 Oct 2018 13:04:10 +0530 From: msavaliy@codeaurora.org To: Douglas Anderson Cc: gregkh@linuxfoundation.org, linux-arm-msm@vger.kernel.org, alokc@codeaurora.org, mka@chromium.org, evgreen@chromium.org, linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, Jiri Slaby , linux-arm-msm-owner@vger.kernel.org Subject: Re: [PATCH] tty: serial: qcom_geni_serial: Don't slow all ports just for kgdb In-Reply-To: <20181015204425.84537-1-dianders@chromium.org> References: <20181015204425.84537-1-dianders@chromium.org> Message-ID: <6a4b57b252c01d312be10ce586be7d7d@codeaurora.org> X-Sender: msavaliy@codeaurora.org User-Agent: Roundcube Webmail/1.2.5 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2018-10-16 02:14, Douglas Anderson wrote: > If you turn on CONFIG_KGDB then you'll get CONFIG_CONSOLE_POLL > selected. > > If you have CONFIG_CONSOLE_POLL selected then the GENI serial driver > was setting RX_BYTES_PW to 1 for _all_ UART ports. > > This doesn't seem like such a good idea. Let's only set RX_BYTES_PW > to 1 for the console port. > > Signed-off-by: Douglas Anderson > --- > > drivers/tty/serial/qcom_geni_serial.c | 12 +++++++----- > 1 file changed, 7 insertions(+), 5 deletions(-) > Good finding, Makes sense to keep changes this way for console only port. Reviewed-by: Mukesh Kumar Savaliya