Linux ACPI
 help / color / mirror / Atom feed
From: "Rafael J. Wysocki" <rjw@rjwysocki.net>
To: "Zhang, Rui" <rui.zhang@intel.com>
Cc: Markus Trippelsdorf <markus@trippelsdorf.de>,
	"linux-acpi@vger.kernel.org" <linux-acpi@vger.kernel.org>,
	"Wysocki, Rafael J" <rafael.j.wysocki@intel.com>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: "can't evaluate _CRS: 1" messages since b355cee [ACPI / resources: ignore invalid ACPI device resources]
Date: Tue, 11 Mar 2014 14:27:52 +0100	[thread overview]
Message-ID: <3023989.nMBYR9I9r3@vostro.rjw.lan> (raw)
In-Reply-To: <744357E9AAD1214791ACBA4B0B909263012037C7@SHSMSX103.ccr.corp.intel.com>

On Tuesday, March 11, 2014 01:11:19 PM Zhang, Rui wrote:
> 
> > -----Original Message-----
> > From: Rafael J. Wysocki [mailto:rjw@rjwysocki.net]
> > Sent: Tuesday, March 11, 2014 9:23 PM
> > To: Zhang, Rui
> > Cc: Markus Trippelsdorf; linux-acpi@vger.kernel.org; Wysocki, Rafael J;
> > linux-kernel@vger.kernel.org
> > Subject: Re: "can't evaluate _CRS: 1" messages since b355cee [ACPI /
> > resources: ignore invalid ACPI device resources]
> > Importance: High
> > 
> > On Tuesday, March 11, 2014 12:59:47 PM Zhang, Rui wrote:
> > > I think the reason problem is that:
> > > 1. there are zero length IO/Memory resources for these machines, and
> > for those resources
> > >    a) w/o commit b355cee88e3b1a193f0e9a81db810f6f83ad728b,
> > acpi_dev_resource_memory/io returns true
> > >    b) w commit b355cee88e3b1a193f0e9a81db810f6f83ad728b,
> > > acpi_dev_resource_memory/io returns false 2. in
> > pnpacpi_allocated_resource(), when acpi_dev_resource_memory/io()
> > returns false, it translates into "the resource is not IO/Memory
> > resource".
> > >
> > > IMO, the root cause is that the BOOL return value of
> > > acpi_dev_resource_memory/io() can not represent the following three
> > > situations
> > > 1) a valid IO/Memory resource
> > > 2) an invalid IO/Memory resource
> > > 3) not an IO/Memory resource
> > 
> > Well, can we make acpi_dev_resource_memory/io return an int, then, so
> > that it can cover all of the cases it needs to cover correctly and so
> > that we can get rid of those confusing messages?
> > 
> Sure, I will submit a patch soon.

Thanks!

-- 
I speak only for myself.
Rafael J. Wysocki, Intel Open Source Technology Center.

  reply	other threads:[~2014-03-11 13:12 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-11  8:44 "can't evaluate _CRS: 1" messages since b355cee [ACPI / resources: ignore invalid ACPI device resources] Markus Trippelsdorf
2014-03-11  9:02 ` Paul Bolle
2014-03-11 12:59 ` Rafael J. Wysocki
2014-03-11 12:58   ` Markus Trippelsdorf
2014-03-11 12:59   ` Zhang, Rui
2014-03-11 13:23     ` Rafael J. Wysocki
2014-03-11 13:11       ` Zhang, Rui
2014-03-11 13:27         ` Rafael J. Wysocki [this message]
2014-03-11 14:49       ` Zhang, Rui

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3023989.nMBYR9I9r3@vostro.rjw.lan \
    --to=rjw@rjwysocki.net \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=markus@trippelsdorf.de \
    --cc=rafael.j.wysocki@intel.com \
    --cc=rui.zhang@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox