dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [Bug 50521] New: nouveau_acpi call _DSM with wrong parameter
@ 2012-11-13 15:17 bugzilla-daemon
  2013-12-23 16:44 ` [Bug 50521] " bugzilla-daemon
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: bugzilla-daemon @ 2012-11-13 15:17 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=50521

           Summary: nouveau_acpi call _DSM with wrong parameter
           Product: Drivers
           Version: 2.5
    Kernel Version: 2.6.38
          Platform: All
        OS/Version: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Video(DRI - non Intel)
        AssignedTo: drivers_video-dri@kernel-bugs.osdl.org
        ReportedBy: alex.williamson@redhat.com
                CC: alan@lxorguk.ukuu.org.uk, daniel@ffwll.ch
        Regression: No


Cloning for nouveau

+++ This bug was initially created as a clone of Bug #32602 +++

Both drivers/gpu/drm/i915/intel_acpi.c and
drivers/gpu/drm/nouveau/nouveau_acpi.c call _DSM methods with parameters of
_DSM(Buffer, Integer, Integer, Integer).  The ACPI spec defines the parameters
to be _DSM(Buffer, Integer, Integer, Package).  On a UL30VT, the AML preforms
operations on Arg3 which are not valid for an Integer data type, resulting in
ACPI faults.  Excerpt of DSDT:

Method (_DSM, 4, NotSerialized)
{
    If (LEqual (Arg0, Buffer (0x10)
            {
                /* 0000 */    0xA0, 0xA0, 0x95, 0x9D, 0x60, 0x00, 0x48, 0x4D,
                /* 0008 */    0xB3, 0x4D, 0x7E, 0x5F, 0xEA, 0x12, 0x9F, 0xD4
            }))
    {
        Store (Zero, Local0)
        Store (ShiftLeft (DerefOf (Index (Arg3, 0x03)), 0x18), Local0)
        Add (ShiftLeft (DerefOf (Index (Arg3, 0x02)), 0x10), Local0, Local0)
        Add (ShiftLeft (DerefOf (Index (Arg3, One)), 0x08), Local0, Local0)
        Add (ShiftLeft (DerefOf (Index (Arg3, Zero)), Zero), Local0, Local0)
        ...

The Index operation is only valid on a Buffer, String, or Package, which is
perfectly reasonable given the definition of the _DSM call.

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug 50521] nouveau_acpi call _DSM with wrong parameter
  2012-11-13 15:17 [Bug 50521] New: nouveau_acpi call _DSM with wrong parameter bugzilla-daemon
@ 2013-12-23 16:44 ` bugzilla-daemon
  2013-12-28  7:14 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: bugzilla-daemon @ 2013-12-23 16:44 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=50521

Alan <alan@lxorguk.ukuu.org.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |OBSOLETE

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug 50521] nouveau_acpi call _DSM with wrong parameter
  2012-11-13 15:17 [Bug 50521] New: nouveau_acpi call _DSM with wrong parameter bugzilla-daemon
  2013-12-23 16:44 ` [Bug 50521] " bugzilla-daemon
@ 2013-12-28  7:14 ` bugzilla-daemon
  2013-12-28 12:07 ` bugzilla-daemon
  2013-12-28 12:10 ` bugzilla-daemon
  3 siblings, 0 replies; 5+ messages in thread
From: bugzilla-daemon @ 2013-12-28  7:14 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=50521

--- Comment #1 from justincase@yopmail.com ---
Why was this closed as "RESOLVED"? The code is still present in the kernel, and
it still causes errors. My _DSM looks identically to the above. (Asus X73SV)

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug 50521] nouveau_acpi call _DSM with wrong parameter
  2012-11-13 15:17 [Bug 50521] New: nouveau_acpi call _DSM with wrong parameter bugzilla-daemon
  2013-12-23 16:44 ` [Bug 50521] " bugzilla-daemon
  2013-12-28  7:14 ` bugzilla-daemon
@ 2013-12-28 12:07 ` bugzilla-daemon
  2013-12-28 12:10 ` bugzilla-daemon
  3 siblings, 0 replies; 5+ messages in thread
From: bugzilla-daemon @ 2013-12-28 12:07 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=50521

--- Comment #2 from Alan <alan@lxorguk.ukuu.org.uk> ---
It was fixed on August 1st. If you have an older kernel you'll need to update

commit 6d5c2d8ca3c15a191a8078316e547c1f4e5ad6eb

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug 50521] nouveau_acpi call _DSM with wrong parameter
  2012-11-13 15:17 [Bug 50521] New: nouveau_acpi call _DSM with wrong parameter bugzilla-daemon
                   ` (2 preceding siblings ...)
  2013-12-28 12:07 ` bugzilla-daemon
@ 2013-12-28 12:10 ` bugzilla-daemon
  3 siblings, 0 replies; 5+ messages in thread
From: bugzilla-daemon @ 2013-12-28 12:10 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=50521

Alan <alan@lxorguk.ukuu.org.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|OBSOLETE                    |---

--- Comment #3 from Alan <alan@lxorguk.ukuu.org.uk> ---
Ah .. sorry only Intel was fixed.. Nouveau folks must be slacking ;-)

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-12-28 12:10 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-13 15:17 [Bug 50521] New: nouveau_acpi call _DSM with wrong parameter bugzilla-daemon
2013-12-23 16:44 ` [Bug 50521] " bugzilla-daemon
2013-12-28  7:14 ` bugzilla-daemon
2013-12-28 12:07 ` bugzilla-daemon
2013-12-28 12:10 ` bugzilla-daemon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).