Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753438AbaAZVt6 (ORCPT ); Sun, 26 Jan 2014 16:49:58 -0500 Received: from mail-pa0-f52.google.com ([209.85.220.52]:40713 "EHLO mail-pa0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753370AbaAZVt4 (ORCPT ); Sun, 26 Jan 2014 16:49:56 -0500 Date: Sun, 26 Jan 2014 13:49:53 -0800 From: Dmitry Torokhov To: Raghu Gandham Cc: aaro.koskinen@iki.fi, linux-input@vger.kernel.org, linux-mips@linux-mips.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] Input: i8042-io - Exclude mips platforms when allocating/deallocating IO regions. Message-ID: <20140126214952.GD18840@core.coreip.homeip.net> References: <1390676514-30880-1-git-send-email-raghu.gandham@imgtec.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1390676514-30880-1-git-send-email-raghu.gandham@imgtec.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Raghu, On Sat, Jan 25, 2014 at 11:01:54AM -0800, Raghu Gandham wrote: > The standard IO regions are already reserved by the platform code on most MIPS > devices(malta, cobalt, sni). The Commit 197a1e96c8be5b6005145af3a4c0e45e2d651444 > ("Input: i8042-io - fix up region handling on MIPS") introduced a bug on these > MIPS platforms causing i8042 driver to fail when trying to reserve IO ports. > Prior to the above mentioned commit request_region is skipped on MIPS but > release_region is called. > > This patch reverts commit 197a1e96c8be5b6005145af3a4c0e45e2d651444 and also > avoids calling release_region for MIPS. The problem is that IO regions are reserved on _most_, but not _all_ devices. MIPS should figure out what they want to do with i8042 registers and be consistent on all devices. I do not want to apply this patch because it will be breaking devices using the other configuration. Thanks. -- Dmitry -- 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/