From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932706AbcG0Xlu (ORCPT ); Wed, 27 Jul 2016 19:41:50 -0400 Received: from cloudserver094114.home.net.pl ([79.96.170.134]:52094 "HELO cloudserver094114.home.net.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1758277AbcG0Xlk (ORCPT ); Wed, 27 Jul 2016 19:41:40 -0400 From: "Rafael J. Wysocki" To: Linus Torvalds Cc: Andrew Cooper , David Vrabel , Shannon Zhao , "Rafael J. Wysocki" , xen-devel , "linux-kernel@vger.kernel.org" Subject: Re: [Xen-devel] [GIT PULL] xen: features and fixes for 4.8-rc0 Date: Thu, 28 Jul 2016 01:46:43 +0200 Message-ID: <2152986.NBIGJLcTzZ@vostro.rjw.lan> User-Agent: KMail/4.11.5 (Linux/4.5.0-rc1+; KDE/4.11.5; x86_64; ; ) In-Reply-To: References: <5798BB14.9090606@cantab.net> <4745197.6nnjR21Chc@vostro.rjw.lan> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="utf-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wednesday, July 27, 2016 04:18:32 PM Linus Torvalds wrote: > On Wed, Jul 27, 2016 at 4:09 PM, Rafael J. Wysocki wrote: > > > > The STAO definition document: > > > > http://wiki.xenproject.org/mediawiki/images/0/02/Status-override-table.pdf > > > > requires as to "operate as if that device does not exist", quite literally. > > Well, first off, documentation is one thing, actually changing > behavior is something entirely different. > > Theory and practice are *not* the same. Well, the STAO thing is totally new, so we have the documentation only ATM. > The other worry I have is that I'd be happier if it's still visible in > /sys/bus/acpi/ etc. Again, it's one thing to not react to it > programmatically, and another thing entirely to actually hide the > information from the rest of the system. > > If I read that patch right, it will be hidden from sysfs too. But > Maybe I'm mistaken. You're right. Avoiding to enumerate it entirely is somewhat simpler, because it allows us to avoid some special casing in a few places IIRC. I guess we can ask the author of the commit in question to come up with a patch to unhide that device and we'll see how that looks like. Thanks, Rafael