From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262019AbVHAHQN (ORCPT ); Mon, 1 Aug 2005 03:16:13 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262424AbVHAHQN (ORCPT ); Mon, 1 Aug 2005 03:16:13 -0400 Received: from gprs189-60.eurotel.cz ([160.218.189.60]:30353 "EHLO amd.ucw.cz") by vger.kernel.org with ESMTP id S262019AbVHAHQG (ORCPT ); Mon, 1 Aug 2005 03:16:06 -0400 Date: Mon, 1 Aug 2005 09:15:57 +0200 From: Pavel Machek To: Linus Torvalds Cc: Dave Airlie , ambx1@neo.rr.com, Hugh Dickins , Andrew Morton , Dominik Brodowski , Daniel Ritz , Linux Kernel Mailing List , Len Brown Subject: Re: revert yenta free_irq on suspend Message-ID: <20050801071557.GJ27580@elf.ucw.cz> References: <2e00842e116e.2e116e2e0084@columbus.rr.com> <20050731230507.GE27580@elf.ucw.cz> <20050731232735.GF27580@elf.ucw.cz> <21d7e9970507311659259e5560@mail.gmail.com> <21d7e9970507311744261a3bb7@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Warning: Reading this can be dangerous to your mental health. User-Agent: Mutt/1.5.9i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Hi! > > You said earlier we only should fix drivers that need fixing, but they > > all need fixing > > I think you're still talking from a theoretical standpoing, while all my > arguments are practical. > > In _practice_, I hope that > > (a) we don't see that very much (ie the people for whom things work > already are a strong argument that this is less of a problem in > practice than people try to make it appear) > > (b) drivers, _especially_ on notebooks, are already able to handle an > incoming interrupt with the device in D3 state and returning 0xff > for all reads. > > In particular, this is exactly the same thing that you get on a > surprise device removal too. Not all devices that we want power-managed are hot-pluggable, even on notebooks. If I need to go all over the tree fixing drivers, I'd much rather add free_irq/request_irq than mess with interrupt routines on hardware I don't have... Pavel -- if you have sharp zaurus hardware you don't need... you know my address