Received: by 10.223.176.46 with SMTP id f43csp975611wra; Wed, 24 Jan 2018 08:42:20 -0800 (PST) X-Google-Smtp-Source: AH8x226uYHYSgbUwUSjoPXmo+cFV/qIaeqZRNfNuBjsekijFkHoNo++tEoyiHcXIRmJ+QyfFP/LH X-Received: by 2002:a17:902:9686:: with SMTP id n6-v6mr8465412plp.333.1516812140600; Wed, 24 Jan 2018 08:42:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516812140; cv=none; d=google.com; s=arc-20160816; b=ngXvhFG6nchhzwE4MNsUd6/cyE6/OqEithSsw1QLQfCuRIfM+BkAF/MvWThbGrMPFM Nm6ijg/GddCzeLCN02s9YEszknSXYbiZ0Wa+zg6lzwM+ZhUd/l8/u5cs88smTbdW7RN+ Gn0Bjg7bHDC8QvexTXjAAIegYIWJvZSVT/gd+jOle4jWBSS9zOsR0C7jhLH1QEVeWHXL +Qb325X227y1xP1rCEmcFR+d7CeoHkiX2I7YFYD0wpIoQ8s4VQ6qx69X+4QdckaQ2ygO KyYCoiBKA1ZK91XT1QtErBpIxiTJEQIkgljPKVL7Rkrh7i5eyAKrwK9ECQKiQJu8M1nt gYPw== 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 :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=J2Q5WBmaa/7EWBB+fbvIFqXz0IXrcrrKrkGijMY5siU=; b=PpZBGo4Ohs3JOMYhl+rUC+NspfwuSXtHI2y5yPL7caJseQCFdqxvU8V/1DpmvBFJEw rnRpzbnX/6NbHUyHP8T3ViDyTtFOvpzjJLe0kkrlGJZtg9dxcf0pTu0ksvQCzoyjr8w7 /gJwKODGu+5By3OGGpQzsPoAnQUsWS9/U2bJUp7s3dJAYsPjeRWy/rTnlRelneR2f050 WUru+zYdGnwSdMkqC33e3YK2T299BcuNAHQgLi4TIwEK8+p2vA/9Smq0ONOToPnJRxmi /N5XWQcKExZ+uEQEd7QNKH+DqPp2sT8v99AKPus90oMRn2LZE1dR7YXJxgo/FEMxxxFx PBFw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=VZFoU0YQ; 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=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q9si3126210pfk.189.2018.01.24.08.42.06; Wed, 24 Jan 2018 08:42:20 -0800 (PST) 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=@gmail.com header.s=20161025 header.b=VZFoU0YQ; 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=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964961AbeAXQkg (ORCPT + 99 others); Wed, 24 Jan 2018 11:40:36 -0500 Received: from mail-qt0-f196.google.com ([209.85.216.196]:37224 "EHLO mail-qt0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S964848AbeAXQke (ORCPT ); Wed, 24 Jan 2018 11:40:34 -0500 Received: by mail-qt0-f196.google.com with SMTP id d54so11899125qtd.4; Wed, 24 Jan 2018 08:40:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=J2Q5WBmaa/7EWBB+fbvIFqXz0IXrcrrKrkGijMY5siU=; b=VZFoU0YQlx/LmvW9fVq43V/YmJfwEYtxF44/e8nuoRfCa5NB9X+IAouLp6RWrhT96D ir7e4IVl7oMaRjm7UN2NtckG7OYTwVzex0zm6Rmvsv+PjrifBx0zoj/f0i7OMuLMiTlb DY30IbJXp03ecvD81zCgj4OV6xmn/JoB1469TJobsIgTsnVRAZaTh5dsgWxdgT4TQDnS 4Dhfqbdo4xMcWPJ5BoPeyRExU+423Z/tZ5Gb4RYlpAjoyucTVNWsab6SZX8Xrrm1NySF ZzKNzu12yH8Yzzk+xkbMV6NHCdDWU1SszZTZW+a1kMgvuEBoIWwpG8XJ+qlWd4B1XkA7 XcEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=J2Q5WBmaa/7EWBB+fbvIFqXz0IXrcrrKrkGijMY5siU=; b=feYU/i/WOTvC56s2y5k913pcGDErBADFyKj/jiYl6fzQrLmMS06oprirAXMXYTwzlY aRj+pMhN6yVP5Yi7vPHLtctaRop/8TcGuUfoFy0MOMWbVppxTzNXOFNUCGpw75ZMa52S 0HP5Lflj8UAEgnquol3It4jOWv74V0Yp1tf2LQsRThWK/hJU2Q2dVjgxnFLKGShn302R KIAwSTcZcmMuVfolYoLXut3dvVnsGnM4JyizKmdfL/Z1rtgzzfbvkhqNUIV9qY2lJck9 zvMdxH58uHT7h+qRlsjZrWbaJQT2VHhiwHPD5G37llakmEvwEMYkFKMw/qXPHhAzPvjF +ezQ== X-Gm-Message-State: AKwxytf97rfOwNTqm1wfLmBst4DLGgMgGMyVFgpJFZb6sQFlT5c5qk9Y mPZol1IWohOouJ1FVu+VIfHynr6pykruPc2Nkyw= X-Received: by 10.237.38.5 with SMTP id z5mr10912524qtc.180.1516812033268; Wed, 24 Jan 2018 08:40:33 -0800 (PST) MIME-Version: 1.0 Received: by 10.12.175.35 with HTTP; Wed, 24 Jan 2018 08:40:32 -0800 (PST) In-Reply-To: <20180123155229.2035e674@alans-desktop> References: <20180117170520.GA12606@kroah.com> <20180123155229.2035e674@alans-desktop> From: Andy Shevchenko Date: Wed, 24 Jan 2018 18:40:32 +0200 Message-ID: Subject: Re: RCU stall in 8250 serial driver Linux 4.15-rc1 To: Alan Cox Cc: Shankara Pailoor , Greg KH , Jiri Slaby , LKML , syzkaller , linux-serial@vger.kernel.org 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 On Tue, Jan 23, 2018 at 5:52 PM, Alan Cox wrote: > On Wed, 17 Jan 2018 09:24:32 -0800 > Shankara Pailoor wrote: > >> Hi Greg, >> >> Sorry for that. Here is the stack trace. C Program below > > > >> serial_in drivers/tty/serial/8250/8250.h:111 [inline] >> wait_for_xmitr+0x8a/0x1d0 drivers/tty/serial/8250/8250_port.c:2033 >> serial8250_console_putchar+0x19/0x50 drivers/tty/serial/8250/8250_port.c:3170 >> uart_console_write+0x98/0xc0 drivers/tty/serial/serial_core.c:1858 > > The console is spinning in polled mode trying to write data to the > console port, which it seems has gotten a bit stuck. Could be the > hypervisor hits some kind of buffering limit, could be hypervisor > interface broke. > > Either way the console interface is supposed to stall the machine to > ensure the bytes always get out and if your serial port jams or gets > massively behind then this will happen. +1 https://lkml.org/lkml/2017/12/21/480 -- With Best Regards, Andy Shevchenko