From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org [172.17.192.35]) by mail.linuxfoundation.org (Postfix) with ESMTP id B83989A0 for ; Mon, 5 May 2014 08:45:42 +0000 (UTC) Received: from gate.crashing.org (gate.crashing.org [63.228.1.57]) by smtp1.linuxfoundation.org (Postfix) with ESMTPS id 298DF1FD46 for ; Mon, 5 May 2014 08:45:42 +0000 (UTC) Message-ID: <1399279528.20388.37.camel@pasglop> From: Benjamin Herrenschmidt To: "Rafael J. Wysocki" Date: Mon, 05 May 2014 18:45:28 +1000 In-Reply-To: <3007964.pJHjDrtZps@vostro.rjw.lan> References: <1583732.MIn3aNNoTS@vostro.rjw.lan> <20140503020242.GD22111@sirena.org.uk> <3007964.pJHjDrtZps@vostro.rjw.lan> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Cc: Greg Kroah-Hartman , dvhart@dvhart.com, "Rafael J. Wysocki" , ksummit-discuss@lists.linuxfoundation.org Subject: Re: [Ksummit-discuss] [TECH TOPIC] Driver model/resources, ACPI, DT, etc (sigh) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Sun, 2014-05-04 at 14:28 +0200, Rafael J. Wysocki wrote: > In my opinion, device drivers should not be concerned about that > really. > The layers of code above them (bus types etc.) should, but not drivers > themselves, because that makes it difficult to use the same driver > for the same piece of hardware on two systems with different firmware > interfaces. Only for standardized resource types, such as mmio ranges or interrupts. Anything else is absolutely in the domain of competence of the driver and I would argue *only* in the domain of competence of the driver. This is a dirty enough table, don't invite a 3rd party to it :-) Cheers, Ben.