Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933761AbdDGOED (ORCPT ); Fri, 7 Apr 2017 10:04:03 -0400 Received: from mail.kernel.org ([198.145.29.136]:34782 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933735AbdDGODx (ORCPT ); Fri, 7 Apr 2017 10:03:53 -0400 MIME-Version: 1.0 In-Reply-To: <1491527002.4166.148.camel@kernel.crashing.org> References: <1491462281.2815.47.camel@neuling.org> <1491527002.4166.148.camel@kernel.crashing.org> From: Rob Herring Date: Fri, 7 Apr 2017 09:03:28 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: tty crash in tty_ldisc_receive_buf() To: Benjamin Herrenschmidt Cc: Michael Neuling , Al Viro , johan Hovold , Peter Hurley , Wang YanQing , Alexander Popov , Mikulas Patocka , Dmitry Vyukov , LKML Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 625 Lines: 21 On Thu, Apr 6, 2017 at 8:03 PM, Benjamin Herrenschmidt wrote: > On Thu, 2017-04-06 at 08:28 -0500, Rob Herring wrote: >> >> Can you try this one [1]. >> >> Rob >> >> [1] https://lkml.org/lkml/2017/3/23/569 > > Unless I missed something, that patch doesn't change barriers or > locking, so I don't see how it could fix anything ... Only because that's a code path that I changed recently and the locking and ordering appears to be tricky. > Mind you we haven't quite figured out exactly what's happening here. Is this with a serial port? There were some changes to serial_core close in 4.9. Rob