Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp312229rdg; Thu, 12 Oct 2023 06:31:51 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEPQxK54hY1F/WtIg/cptzBWMPgdy6qQ2t7SCoIFd/ud1x0zctvAetJNiok5vUZDOH9VT1f X-Received: by 2002:a05:6a20:431a:b0:159:6b5c:5653 with SMTP id h26-20020a056a20431a00b001596b5c5653mr24552424pzk.37.1697117511471; Thu, 12 Oct 2023 06:31:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697117511; cv=none; d=google.com; s=arc-20160816; b=T1ywvqeFsgoBEnSG4aLtx6sySe68+EJFD8N8G39hVJ5Sfo9K7vaUeTqnGromauHcWd 3YLYSWo3Y/QRvM8NoYwUAWmwjfAY29hbCc4cGe4nCNzCg8R79jwC7QqyFIH9SXyFNzIU LTA/AL8+jl2kx9Oynwc050xQ3F7mXOuvpcfagUuMTsRP46+mO4lRsIJkRO852vFTa/ep jxC7ptW98tOqCsyYtv5grcQCL2pvypCXADhAZ8X4L4YsgUDujSwZ8XVcResQMZy7soBd tOktSWMGZtNi8GfW4Kjsw8pzarYPY8AJT6KEBZllhfvNtDZGidlCOP5DkZXaje67vOSw D9nA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=AzjXxJ4IoniWc/GXSd348ifUPMmCPBqrYMn86oYApt8=; fh=JtxkO0yN6P2eTRkGZX66zdTIZZeNtxloj3WSFogL+m4=; b=xJ6B98bP1olzkHBYJV68y6VtU8oxlWiD2POHiD+LHagGRdRgAl9YGgoUdaHORsn2gY z+S00ErJqnslcu3SqJIKmep/qs+Q7LRa+l6H213sAfM5pMCrRd8DiI58xhJN2kTc4nLi YlUw0HRMOhE6aYzJeYx+dwIw+acKDIyGYw88Mix4t5IFynU46O/AlPeRjyZJdBrXqWF3 JuPJQwZHbWaACsWf9I0yGOkkEWyukIUfpBeRcjyXJPV0swRr0hO4qWF3PgvGjWgcTYz+ L+71HIa7rUldigao+VhS1me+MxFwEQUHTJd26CZfyweZDa/KP7/p6DbyjHFtxkHskOn+ UeaA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=ysSN7UJG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id 27-20020a63195b000000b00566016fc08csi2353868pgz.83.2023.10.12.06.31.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Oct 2023 06:31:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=ysSN7UJG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 4C287807C57A; Thu, 12 Oct 2023 06:30:18 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347262AbjJLNaJ (ORCPT + 99 others); Thu, 12 Oct 2023 09:30:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55522 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347209AbjJLNaH (ORCPT ); Thu, 12 Oct 2023 09:30:07 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1DA3494; Thu, 12 Oct 2023 06:30:05 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0AD6DC433C8; Thu, 12 Oct 2023 13:30:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1697117404; bh=NKCpsSQBteE4J7/LEFm7hT7vdH4qeVTvzOUHXiJH5eU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ysSN7UJGZcbdfH4+nBdUKklO43ddpWgMKFxbnAo9qYLKaELcE1aptQXZiteVeYl39 rq5MVgQ9Bszo64Caen+oio/M2Wl/WZtSu8XId0X0fpDob6RWorKz4e/QMnLTDXCup6 30UV/okoD8M2nV3/OdSJ2XZtSp/+HPJ8mrqdabKE= Date: Thu, 12 Oct 2023 15:30:01 +0200 From: Greg Kroah-Hartman To: pkrasavin@imaqliq.ru Cc: Jiri Slaby , Neil Armstrong , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org Subject: Re: [PATCH v2] tty: serial: meson: hard LOCKUP on crtscts mode Message-ID: <2023101224-outmost-yesterday-5623@gregkh> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Thu, 12 Oct 2023 06:30:18 -0700 (PDT) On Thu, Oct 12, 2023 at 01:22:41PM +0000, pkrasavin@imaqliq.ru wrote: > There might be hard lockup if we set crtscts mode on port without RTS/CTS configured: > > # stty -F /dev/ttyAML6 crtscts; echo 1 > /dev/ttyAML6; echo 2 > /dev/ttyAML6 > [ 95.890386] rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: > [ 95.890857] rcu: 3-...0: (201 ticks this GP) idle=e33c/1/0x4000000000000000 softirq=5844/5846 fqs=4984 > [ 95.900212] rcu: (detected by 2, t=21016 jiffies, g=7753, q=296 ncpus=4) > [ 95.906972] Task dump for CPU 3: > [ 95.910178] task:bash state:R running task stack:0 pid:205 ppid:1 flags:0x00000202 > [ 95.920059] Call trace: > [ 95.922485] __switch_to+0xe4/0x168 > [ 95.925951] 0xffffff8003477508 > [ 95.974379] watchdog: Watchdog detected hard LOCKUP on cpu 3 > [ 95.974424] Modules linked in: 88x2cs(O) rtc_meson_vrtc > > Possible solution would be to not allow to setup crtscts on such port. > > Tested on S905X3 based board. > > Signed-off-by: Pavel Krasavin Hi, This is the friendly patch-bot of Greg Kroah-Hartman. You have sent him a patch that has triggered this response. He used to manually respond to these common problems, but in order to save his sanity (he kept writing the same thing over and over, yet to different people), I was created. Hopefully you will not take offence and will fix the problem in your patch and resubmit it so that it can be accepted into the Linux kernel tree. You are receiving this message because of the following common error(s) as indicated below: - It looks like you did not use your name for the patch on either the Signed-off-by: line, or the From: line (both of which have to match). Please read the kernel file, Documentation/process/submitting-patches.rst for how to do this correctly. If you wish to discuss this problem further, or you have questions about how to resolve this issue, please feel free to respond to this email and Greg will reply once he has dug out from the pending patches received from other developers. thanks, greg k-h's patch email bot