29 Apr, 2009
1 commit
-
* 'drm-intel-next' of git://git.kernel.org/pub/scm/linux/kernel/git/anholt/drm-intel:
drm/i915: fix up error path leak in i915_cmdbuffer
drm/i915: fix unpaired i915 device mutex on entervt failure.
drm/i915: add support for G41 chipset
drm/i915: Enable ASLE if present
drm/i915: Unregister ACPI video driver when exiting
drm/i915: Register ACPI video even when not modesetting
drm/i915: fix transition to I915_TILING_NONE
drm/i915: Don't let an oops get triggered from irq_emit without dma init.
drm/i915: allow tiled front buffers on 965+
23 Apr, 2009
1 commit
-
Linux-2.6.29 deleted the legacy ACPI idle handler, leaving
the CPU_IDLE handler, which does not track bus master activity.So delete the unused bm_activity field -- it is confusing to
print an always zero value.This patch could break programs that parse
/proc/acpi/processor/*/power, since it deletes this
line from that file:bus master activity: 00000000
http://bugzilla.kernel.org/show_bug.cgi?id=13145
is not fixed by this patch, but provoked this patch.Signed-off-by: Len Brown
18 Apr, 2009
1 commit
-
The i915 DRM triggers registration of the ACPI video driver on load. It
should unregister it at unload in order to avoid generating backtraces on
being reloaded.Signed-off-by: Matthew Garrett
Signed-off-by: Eric Anholt
08 Apr, 2009
1 commit
-
…bjorn.notify' into release
07 Apr, 2009
2 commits
-
Asus boards have an ACPI interface for interacting with the hwmon (fan,
temperatures, voltages) subsystem; this driver exposes the relevant
information via the standard sysfs interface.There are two different ACPI interfaces:
- an old one (based on RVLT/RFAN/RTMP)
- a new one (GGRP/GITM)
Both may be present but there a few cases (my board, sigh) where the
new interface is just an empty stub; the driver defaults to the old one
when both are present.
The old interface has received a considerable testing, but I'm still
awaiting confirmation from my tester that the new one is working as
expected (hence the debug code is still enabled).Currently all the attributes are read-only, though a (partial) control
should be possible with a bit more work.Signed-off-by: Luca Tettamanti
Signed-off-by: Hans de Goede
Signed-off-by: Jean Delvare -
unused
Signed-off-by: Len Brown
05 Apr, 2009
7 commits
-
This patch adds support for ACPI device driver .notify() methods. If
such a method is present, Linux/ACPI installs a handler for device
notifications (but not for system notifications such as Bus Check,
Device Check, etc). When a device notification occurs, Linux/ACPI
passes it on to the driver's .notify() method.In most cases, this removes the need for drivers to install their own
handlers for device-specific notifications.For fixed hardware devices like some power and sleep buttons, there's
no notification value because there's no control method to execute a
Notify opcode. When a fixed hardware device generates an event, we
handle it the same as a regular device notification, except we send
a ACPI_FIXED_HARDWARE_EVENT value. This is outside the normal 0x0-0xff
range used by Notify opcodes.Several drivers install their own handlers for system Bus Check and
Device Check notifications so they can support hot-plug. This patch
doesn't affect that usage.Signed-off-by: Bjorn Helgaas
Reviewed-by: Alex Chiang
Signed-off-by: Len Brown -
Conflicts:
arch/x86/kernel/cpu/cpufreq/longhaul.cSigned-off-by: Len Brown
-
Conflicts:
drivers/acpi/video.cSigned-off-by: Len Brown
04 Apr, 2009
2 commits
-
Signed-off-by: Jan Engelhardt
Signed-off-by: Len Brown -
Signed-off-by: Suresh Siddha
Signed-off-by: Len Brown
28 Mar, 2009
7 commits
-
Intel graphics hardware that implements the ACPI IGD OpRegion spec
requires that the list of display devices be populated before any ACPI
video methods are called. Detect when this is the case and defer
registration until the opregion code calls it. Fixes crashes on HP
laptops.http://bugzilla.kernel.org/show_bug.cgi?id=11259
Signed-off-by: Matthew Garrett
Acked-by: Eric Anholt
Signed-off-by: Len Brown -
In acpi_bus_ops, only the acpi_op_add and acpi_op_start flags are used,
so remove all the rest.Signed-off-by: Bjorn Helgaas
Signed-off-by: Len Brown -
No drivers use the .shutdown method, so remove it.
Signed-off-by: Bjorn Helgaas
Signed-off-by: Len Brown -
No drivers use the .lock and .scan methods, and the Linux/ACPI
code doesn't even provide a way to invoke them, so remove them.Signed-off-by: Bjorn Helgaas
Signed-off-by: Len Brown -
Version 20090320.
Signed-off-by: Bob Moore
Signed-off-by: Lin Ming
Signed-off-by: Len Brown -
This interface is no longer necessary. Requests should be validated
on a per-field basis, not on the entire operation region.Signed-off-by: Bob Moore
Signed-off-by: Lin Ming
Signed-off-by: Len Brown -
Add and deploy constants for the PM status/enable/control
registers.Signed-off-by: Bob Moore
Signed-off-by: Lin Ming
Signed-off-by: Len Brown
27 Mar, 2009
9 commits
-
Version 20090220.
Signed-off-by: Bob Moore
Signed-off-by: Lin Ming
Signed-off-by: Len Brown -
Rename acpi_get_register and acpi_set_register to clarify the
purpose of these functions. New names are acpi_read_bit_register
and acpi_write_bit_register.Signed-off-by: Bob Moore
Signed-off-by: Lin Ming
Signed-off-by: Len Brown -
Removed locking for reads from the ACPI bit registers in PM1
Status, Enable, Control, and PM2 Control. The lock is not required
when reading the single-bit registers. The acpi_get_register_unlocked
function is no longer needed and has been removed. This will
improve performance for reads on these registers. ACPICA BZ 760.http://www.acpica.org/bugzilla/show_bug.cgi?id=760
Signed-off-by: Bob Moore
Signed-off-by: Lin Ming
Signed-off-by: Len Brown -
This function is only needed on 64-bit host operating systems.
Signed-off-by: Bob Moore
Signed-off-by: Lin Ming
Signed-off-by: Len Brown -
This type is the same as TYPE_A. Removed this and all related
instances. Renamed SLEEP_TYPE_A to simply SLEEP_TYPE.
ACPICA BZ 754.http://www.acpica.org/bugzilla/show_bug.cgi?id=754
Signed-off-by: Bob Moore
Signed-off-by: Lin Ming
Signed-off-by: Len Brown -
Now return AE_BAD_PARAMETER if the input register pointer is
null, and AE_BAD_ADDRESS if the register has an address of zero.
Previously, these cases simply returned AE_OK. For optional
registers such as PM1B status/enable/control, the caller should
check for a valid register address before calling. ACPICA BZ 748.http://www.acpica.org/bugzilla/show_bug.cgi?id=748
Signed-off-by: Bob Moore
Signed-off-by: Lin Ming
Signed-off-by: Len Brown -
Update version to 20090123.
Signed-off-by: Bob Moore
Signed-off-by: Lin Ming
Signed-off-by: Len Brown -
Add new flags in the Boot Architecture flags field. Update comments
for all FADT flags. Add FADT version when each flag was defined.Signed-off-by: Bob Moore
Signed-off-by: Lin Ming
Signed-off-by: Len Brown -
Previously, the table override mechanism was implemented for the
DSDT only. Now, any table in the RSDT/XSDT can be replaced by
the host OS. (including the DSDT).Signed-off-by: Bob Moore
Signed-off-by: Lin Ming
Signed-off-by: Len Brown
17 Mar, 2009
1 commit
-
A number of things that shouldn't be exposed outside the ACPI core
were declared in include/acpi/acpi_drivers.h, where anybody can
see them. This patch moves those declarations to a new "internal.h"
inside drivers/acpi.Signed-off-by: Bjorn Helgaas
Signed-off-by: Len Brown
09 Feb, 2009
1 commit
-
to prevent wrongly overwriting fixmap that still want to use.
ACPI used to rely on low mappings being all linearly mapped and
grew a habit: it never really unmapped certain kinds of tables
after use.This can cause problems - for example the hypothetical case
when some spurious access still references it.v2: remove prev_map and prev_size in __apci_map_table
v3: let acpi_os_unmap_memory() call early_iounmap too, so remove extral calling to
early_acpi_os_unmap_memory
v4: fix typo in one acpi_get_table_with_size callingSigned-off-by: Yinghai Lu
Acked-by: Len Brown
Signed-off-by: Ingo Molnar
07 Feb, 2009
1 commit
-
Bit 11 in intel PDC definitions is meant for OS capability to handle
hardware coordination of P-states. In Linux we have always supported
hwardware coordination of P-states. Just let the BIOSes know that we
support it, by setting this bit.Some BIOSes use this bit to choose between hardware or software coordination
and without this change below, BIOSes switch to software coordination, which
is not very optimal in terms of power consumption and extra wakeups from idle.Signed-off-by: Venkatesh Pallipadi
Signed-off-by: Len Brown
17 Jan, 2009
1 commit
-
Make the comment for ACPI_FADT_S4_RTC_WAKE match the ACPI spec;
that bit has nothing to do with status bits.Signed-off-by: David Brownell
Signed-off-by: Andrew Morton
Signed-off-by: Len Brown
09 Jan, 2009
5 commits
-
Conflicts:
drivers/acpi/pci_irq.cNote that this merge disables
e1d3a90846b40ad3160bf4b648d36c6badad39ac
pci, acpi: reroute PCI interrupt to legacy boot interrupt equivalentSigned-off-by: Len Brown
-
Conflicts:
include/acpi/acpixf.hSigned-off-by: Len Brown
-
Signed-off-by: Len Brown
-
On some boxes there exist both RSDT and XSDT table. But unfortunately
sometimes there exists the following error when XSDT table is used:
a. 32/64X address mismatch
b. The 32/64X FACS address mismatchIn such case the boot option of "acpi=rsdt" is provided so that
RSDT is tried instead of XSDT table when the system can't work well.http://bugzilla.kernel.org/show_bug.cgi?id=8246
Signed-off-by: Zhao Yakui
cc:Thomas Renninger
Signed-off-by: Len Brown