public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Len Brown <lenb@kernel.org>
To: Mattia Dongili <malattia@linux.it>
Cc: Rodrigo Luiz <rodrigo@gus-mg.org>,
	linux-acpi@vger.kernel.org, robert.moore@intel.com
Subject: Re: sony-laptop: ACPI Exception when a Fn-Key is pressed
Date: Tue, 07 Apr 2009 01:12:41 -0400 (EDT)	[thread overview]
Message-ID: <alpine.LFD.2.00.0904070102450.5698@localhost.localdomain> (raw)
In-Reply-To: <20090406110154.GA25085@kamineko.org>



On Mon, 6 Apr 2009, Mattia Dongili wrote:

> On Sun, Apr 05, 2009 at 09:27:06PM -0300, Rodrigo Luiz wrote:
> > Hi.
> > 
> > I have a Vaio VGN-FW235J and I tried today the latest kernel version
> > in git to test the latest changes in sony-laptop.
> > 
> > When I press any Fn-keys, i.e. brightness control, I received these
> > messages in syslog:
> > 
> > ACPI Error (hwvalid-0186): Denied AML access to port 0x00000080/4
> > (DMA1 0x0081-0x0083) [20090320]

this looks like a write to port 80 -- the debug port -- which is valid.

however, it looks like the size is 4, which overlaps with protected ports?


> > ACPI Exception (evregion-0422): AE_AML_ILLEGAL_ADDRESS, Returned by
> > Handler for [SystemIO] [20090320]
> > ACPI Error (psparse-0537): Method parse/execution failed [\P8XH] (Node
> > f7418c30), AE_AML_ILLEGAL_ADDRESS
> > ACPI Error (psparse-0537): Method parse/execution failed
> > [\_SB_.PCI0.LPCB.EC__._Q58] (Node f741bc00), AE_AML_ILLEGAL_ADDRESS
> > ACPI Error (hwvalid-0186): Denied AML access to port 0x00000080/4
> > (DMA1 0x0081-0x0083) [20090320]
> > ACPI Exception (evregion-0422): AE_AML_ILLEGAL_ADDRESS, Returned by
> > Handler for [SystemIO] [20090320]
> > ACPI Error (psparse-0537): Method parse/execution failed [\P8XH] (Node
> > f7418c30), AE_AML_ILLEGAL_ADDRESS
> > ACPI Error (psparse-0537): Method parse/execution failed
> > [\_SB_.PCI0.LPCB.EC__._Q59] (Node f741bc18), AE_AML_ILLEGAL_ADDRESS
> 
> Interesting. This is due to a change in current git it was not present
> in 2.6.29.
> 
> Does booting with acpi_osi=Linux makes things any worse? (it should fix
> the above error but might make some other functionality behave
> differently).
> Or eventually also see if there is a bios upgrade available for your
> laptop.
> 
> Len,
> it looks like most of the vaios define this in global scope:
> 
>     OperationRegion (PRT0, SystemIO, 0x80, 0x04)
>     Field (PRT0, DWordAcc, Lock, Preserve)
>     {   
>         P80H,   32
>     }
> 
> which falls in the DMA1 reserved area in >WinXP.
> No idea how windows copes with it if the same restrictions area really
> in place.

just defining the opregion is okay.

in 2.6.29 we checked at opregion definition time -- but had some false
hits on regions that were defined and never used.

so in 2.6.30 we have run-time checks only.

-Len Brown, Intel Open Source Technology Center





  parent reply	other threads:[~2009-04-07  5:13 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-06  0:27 sony-laptop: ACPI Exception when a Fn-Key is pressed Rodrigo Luiz
2009-04-06 11:01 ` Mattia Dongili
2009-04-06 13:13   ` Rodrigo Luiz
2009-04-07  2:13     ` yakui_zhao
2009-04-07  4:54       ` Len Brown
2009-04-07  5:00   ` Len Brown
2009-04-07  5:12   ` Len Brown [this message]
2009-04-07 19:46     ` Rodrigo Luiz
2009-04-07 21:27 ` Len Brown
2009-04-07 21:56 ` [PATCH] ACPICA: delete check for AML access to port 0x81-83 Len Brown
2009-04-08  1:20   ` Rodrigo Luiz
2009-04-08  1:46   ` Mattia Dongili
2009-04-09  6:23   ` Matthew Garrett
2009-04-09 14:56     ` Moore, Robert

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=alpine.LFD.2.00.0904070102450.5698@localhost.localdomain \
    --to=lenb@kernel.org \
    --cc=linux-acpi@vger.kernel.org \
    --cc=malattia@linux.it \
    --cc=robert.moore@intel.com \
    --cc=rodrigo@gus-mg.org \
    /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