Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1212694

Re: [RFC 0/1] i2c: acpi: revert setting a "stable" device name

Path csiph.com!eternal-september.org!feeder.eternal-september.org!aioe.org!bofh.it!news.nic.it!robomod
From Dustin Byford <dustin@cumulusnetworks.com>
Newsgroups linux.kernel
Subject Re: [RFC 0/1] i2c: acpi: revert setting a "stable" device name
Date Tue, 25 Aug 2015 07:10:01 +0200
Message-ID <q1eEF-55e-9@gated-at.bofh.it> (permalink)
References <pXsZA-3ac-21@gated-at.bofh.it> <pXLpw-5eo-11@gated-at.bofh.it> <pYnEu-1sk-15@gated-at.bofh.it>
X-Original-To Jarkko Nikula <jarkko.nikula@linux.intel.com>
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=cumulusnetworks.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=wQ4S20MDivhVcHiYCPKSEmbK1MIiqgAvU5FN6qjuzkg=; b=PZzl/S7rVUzB9PInoIHttUuuecQDrIKAjPOhAfa8gBE5Op7C0CG1kMyn1Prqw6VKdJ Dm54uCmb2hMgjPmYh2wL/3B8q4rB41S/oxjzs9Hx8xfZn8cnlP847CTRtPu7dBf4RGEv qe3X+VHKvb7PcxTC0B50uKnOxgEB88F+OWI+Y=
X-Google-Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=wQ4S20MDivhVcHiYCPKSEmbK1MIiqgAvU5FN6qjuzkg=; b=dzjIWOkMVYq9cjHh8lwdC1PdNaib/kneAB6UHtvCHtywCdqPSNoLf+PY0VHa7lmiGe yRRKtGBYmmXm96WThjD5eZbvi/COcF7EWxNgHjiPeTgwlYrd7mfSLSOKaulfsOXSofLN xyAzUgBfDEwpDd1C1BEKi1nBFB7ppbBzNfuhS4+FE2h5+4qJBOtrPZ0kMXiYJ1ttXtSd rq4UpQNQFmXMO6JLyhD/U3RGLBD85ETiAgAGXdqt0NBTX6AUagP/+bvPm6TCp7U78eWB wAjqiQbFQfx++10PKmy4Q37j7VKNFU3m/Rj1Ne4XIGvhnWADjflI/xO5cvWBzxqeGAD/ FT+A==
X-Gm-Message-State ALoCoQmFO6aLjGiuNwNgi+YdFJppl44FA7V90WsY+V7S7kIjrqK3UrHsfOFFzWt5YTrwK7Masl5z
X-Received by 10.66.139.234 with SMTP id rb10mr52816201pab.118.1440479010698; Mon, 24 Aug 2015 22:03:30 -0700 (PDT)
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Disposition inline
User-Agent Mutt/1.5.23 (2014-03-12)
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 20
Organization linux.* mail to news gateway
X-Original-Cc Guenter Roeck <linux@roeck-us.net>, Wolfram Sang <wsa@the-dreams.de>, linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org, jdelvare@suse.com, lm-sensors@lm-sensors.org, rjw@rjwysocki.net, linux-acpi@vger.kernel.org
X-Original-Date Mon, 24 Aug 2015 22:03:29 -0700
X-Original-Message-ID <20150825050329.GC21569@cumulusnetworks.com>
X-Original-References <1439581034-5972-1-git-send-email-dustin@cumulusnetworks.com> <20150815151302.GA10020@roeck-us.net> <55D1948C.6080501@linux.intel.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1212694

Show key headers only | View raw


On Mon Aug 17 11:00, Jarkko Nikula wrote:

> If I remember correctly ACPI ID should not ever change and instance id :xy
> after INTABCD:xy should also be visible and keep the order even if device is
> disabled or not plugged. But I'm not absolute sure about this.
> 
> At least on a test platform that allow disable devices will show those
> devices off-line (/sys/bus/acpi/devices/INTABCD:xy/status == 0).

I'm always surprised how hard it is to tell what *can't* happen in ACPI.
How about a conditional call to LoadTable()?  Seems like that would mess
up the :xy.  Moot point, I think you're on the right track in your RFC
patch.

		--Dustin
--
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/

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [RFC 0/1] i2c: acpi: revert setting a "stable" device name Dustin Byford <dustin@cumulusnetworks.com> - 2015-08-25 07:10 +0200

csiph-web