Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754620AbbLERFg (ORCPT ); Sat, 5 Dec 2015 12:05:36 -0500 Received: from mail-io0-f174.google.com ([209.85.223.174]:33831 "EHLO mail-io0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754572AbbLERFb (ORCPT ); Sat, 5 Dec 2015 12:05:31 -0500 Subject: Re: [PATCH LINUX v3 02/10] tty: xuartps: Use spinlock to serialize HW access To: Soren Brinkmann , Greg Kroah-Hartman References: <1448161172-19717-1-git-send-email-soren.brinkmann@xilinx.com> <1448161172-19717-3-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: <56631957.3050302@hurleysoftware.com> Date: Sat, 5 Dec 2015 12:05:27 -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-3-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: 582 Lines: 13 On 11/21/2015 09:59 PM, Soren Brinkmann wrote: > Instead of disabling the IRQ, use the spin lock to serialize accesses to > the HW. This protects the driver from interference of non-IRQ callbacks > with each other and makes the driver more consistent in its > serialization method. 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/