Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754784AbbLERXw (ORCPT ); Sat, 5 Dec 2015 12:23:52 -0500 Received: from mail-io0-f172.google.com ([209.85.223.172]:35735 "EHLO mail-io0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754296AbbLERXu (ORCPT ); Sat, 5 Dec 2015 12:23:50 -0500 Subject: Re: [PATCH LINUX v3 07/10] tty: xuartps: Acquire port lock for shutdown To: Soren Brinkmann , Greg Kroah-Hartman References: <1448161172-19717-1-git-send-email-soren.brinkmann@xilinx.com> <1448161172-19717-8-git-send-email-soren.brinkmann@xilinx.com> Cc: Jiri Slaby , Michal Simek , linux-serial@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org From: Peter Hurley Message-ID: <56631DA2.5050402@hurleysoftware.com> Date: Sat, 5 Dec 2015 12:23:46 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: <1448161172-19717-8-git-send-email-soren.brinkmann@xilinx.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 555 Lines: 12 On 11/21/2015 09:59 PM, Soren Brinkmann wrote: > Shutting down the UART port can happen while console operations are in > progress. Holding the port lock serializes these operations and avoids > the UART HW to be disabled in the middle of console prints. Reviewed-by: Peter Hurley -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/