mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Zhang, Rui" <rui.zhang@intel.com>
To: "Rafael J. Wysocki" <rjw@rjwysocki.net>,
	Markus Trippelsdorf <markus@trippelsdorf.de>
Cc: "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 12:59:47 +0000	[thread overview]
Message-ID: <744357E9AAD1214791ACBA4B0B9092630120179D@SHSMSX103.ccr.corp.intel.com> (raw)
In-Reply-To: <1586607.L4KMXXX471@vostro.rjw.lan>

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="utf-8", Size: 4244 bytes --]

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

Thanks,
rui
> -----Original Message-----
> From: linux-acpi-owner@vger.kernel.org [mailto:linux-acpi-
> owner@vger.kernel.org] On Behalf Of Rafael J. Wysocki
> Sent: Tuesday, March 11, 2014 9:00 PM
> To: Markus Trippelsdorf
> Cc: linux-acpi@vger.kernel.org; Zhang, Rui; 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 09:44:09 AM Markus Trippelsdorf wrote:
> > Since:
> >  commit b355cee88e3b1a193f0e9a81db810f6f83ad728b
> >  Author: Zhang Rui <rui.zhang@intel.com>
> >  Date:   Thu Feb 27 11:37:15 2014 +0800
> >
> >      ACPI / resources: ignore invalid ACPI device resources
> >
> > The following error message is printed three times during boot on my
> > machine: "can't evaluate _CRS: 1"
> 
> It may be catching a BIOS bug actually.
> 
> Please attach the output of acpidump from that system.
> 
> > Here's the dmesg diff:
> >
> > @@ -308,6 +308,8 @@
> >  Switched to clocksource hpet
> >  pnp: PnP ACPI init
> >  ACPI: bus type PNP registered
> > +pnp 00:00: unknown resource type 10 in _CRS pnp 00:00: can't
> evaluate
> > +_CRS: 1
> >  system 00:00: Plug and Play ACPI device, IDs PNP0c02 (active)  pnp
> > 00:01: [dma 4]  pnp 00:01: Plug and Play ACPI device, IDs PNP0200
> > (active) @@ -318,6 +320,8 @@  system 00:06: [mem
> > 0xfec00000-0xfec00fff] could not be reserved  system 00:06: [mem
> > 0xfee00000-0xfee00fff] has been reserved  system 00:06: Plug and Play
> > ACPI device, IDs PNP0c02 (active)
> > +pnp 00:07: unknown resource type 4 in _CRS pnp 00:07: can't evaluate
> > +_CRS: 1
> >  system 00:07: [io  0x04d0-0x04d1] has been reserved  system 00:07:
> > [io  0x040b] has been reserved  system 00:07: [io  0x04d6] has been
> > reserved @@ -334,19 +338,9 @@  system 00:07: [io  0x0cd8-0x0cdf] has
> > been reserved  system 00:07: [io  0x0b00-0x0b3f] has been reserved
> > system 00:07: [io  0x0800-0x089f] could not be reserved -system 00:07:
> > [io  0x0b00-0x0b0f] has been reserved -system 00:07: [io
> > 0x0b20-0x0b3f] has been reserved -system 00:07: [io  0x0900-0x090f]
> > has been reserved -system 00:07: [io  0x0910-0x091f] has been
> reserved
> > -system 00:07: [io  0xfe00-0xfefe] has been reserved -system 00:07:
> > [mem 0xdff00000-0xdfffffff] has been reserved -system 00:07: [mem
> > 0xffb80000-0xffbfffff] has been reserved -system 00:07: [mem
> > 0xfec10000-0xfec1001f] has been reserved  system 00:07: Plug and Play
> > ACPI device, IDs PNP0c02 (active) -system 00:08: [io  0x0230-0x023f]
> > has been reserved -system 00:08: [io  0x0290-0x029f] has been
> reserved
> > -system 00:08: [io  0x0f40-0x0f4f] has been reserved -system 00:08:
> > [io  0x0a30-0x0a3f] has been reserved
> > +pnp 00:08: unknown resource type 4 in _CRS pnp 00:08: can't evaluate
> > +_CRS: 1
> >  system 00:08: Plug and Play ACPI device, IDs PNP0c02 (active)
> system
> > 00:09: [mem 0xe0000000-0xefffffff] has been reserved  system 00:09:
> > Plug and Play ACPI device, IDs PNP0c02 (active)
> >
> >
> 
> --
> I speak only for myself.
> Rafael J. Wysocki, Intel Open Source Technology Center.
> --
> To unsubscribe from this list: send the line "unsubscribe linux-acpi"
> in the body of a message to majordomo@vger.kernel.org More majordomo
> info at  http://vger.kernel.org/majordomo-info.html
ÿôèº{.nÇ+‰·Ÿ®‰­†+%ŠËÿ±éݶ\x17¥Šwÿº{.nÇ+‰·¥Š{±þG«éÿŠ{ayº\x1dʇڙë,j\a­¢f£¢·hšïêÿ‘êçz_è®\x03(­éšŽŠÝ¢j"ú\x1a¶^[m§ÿÿ¾\a«þG«éÿ¢¸?™¨è­Ú&£ø§~á¶iO•æ¬z·švØ^\x14\x04\x1a¶^[m§ÿÿÃ\fÿ¶ìÿ¢¸?–I¥

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

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-11  8:44 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 [this message]
2014-03-11 13:23     ` Rafael J. Wysocki
2014-03-11 13:11       ` Zhang, Rui
2014-03-11 13:27         ` Rafael J. Wysocki
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=744357E9AAD1214791ACBA4B0B9092630120179D@SHSMSX103.ccr.corp.intel.com \
    --to=rui.zhang@intel.com \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=markus@trippelsdorf.de \
    --cc=rafael.j.wysocki@intel.com \
    --cc=rjw@rjwysocki.net \
    /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

all inboxes | Powered by JetHome®