From: Len Brown <lenb@kernel.org>
To: linux-acpi@vger.kernel.org
Cc: Kristen Carlson Accardi <kristen.c.accardi@intel.com>,
Andrew Morton <akpm@osdl.org>, Len Brown <len.brown@intel.com>
Subject: [PATCH 132/140] ACPI: bay: new driver adding removable drive bay support
Date: Wed, 7 Feb 2007 13:52:26 -0500 [thread overview]
Message-ID: <11708745493979-git-send-email-lenb@kernel.org> (raw)
In-Reply-To: <1170874548137-git-send-email-lenb@kernel.org>
In-Reply-To: <9e89dde2b063ca73fcdc9244fe68e2dea32c5088.1170873816.git.len.brown@intel.com>
From: Kristen Carlson Accardi <kristen.c.accardi@intel.com>
Signed-off-by: Kristen Carlson Accardi <kristen.c.accardi@intel.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Len Brown <len.brown@intel.com>
---
drivers/acpi/Kconfig | 7 +
drivers/acpi/Makefile | 3 +-
drivers/acpi/bay.c | 592 +++++++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 601 insertions(+), 1 deletions(-)
create mode 100644 drivers/acpi/bay.c
diff --git a/drivers/acpi/Kconfig b/drivers/acpi/Kconfig
index f4f000a..2caef09 100644
--- a/drivers/acpi/Kconfig
+++ b/drivers/acpi/Kconfig
@@ -139,6 +139,13 @@ config ACPI_DOCK
help
This driver adds support for ACPI controlled docking stations
+config ACPI_BAY
+ tristate "Removable Drive Bay"
+ depends on EXPERIMENTAL
+ help
+ This driver adds support for ACPI controlled removable drive
+ bays such as the IBM ultrabay or the Dell Module Bay.
+
config ACPI_PROCESSOR
tristate "Processor"
default y
diff --git a/drivers/acpi/Makefile b/drivers/acpi/Makefile
index bce7ca2..1a73805 100644
--- a/drivers/acpi/Makefile
+++ b/drivers/acpi/Makefile
@@ -43,7 +43,8 @@ obj-$(CONFIG_ACPI_BUTTON) += button.o
obj-$(CONFIG_ACPI_EC) += ec.o
obj-$(CONFIG_ACPI_FAN) += fan.o
obj-$(CONFIG_ACPI_DOCK) += dock.o
-obj-$(CONFIG_ACPI_VIDEO) += video.o
+obj-$(CONFIG_ACPI_BAY) += bay.o
+obj-$(CONFIG_ACPI_VIDEO) += video.o
obj-$(CONFIG_ACPI_HOTKEY) += hotkey.o
obj-y += pci_root.o pci_link.o pci_irq.o pci_bind.o
obj-$(CONFIG_ACPI_POWER) += power.o
diff --git a/drivers/acpi/bay.c b/drivers/acpi/bay.c
new file mode 100644
index 0000000..1cfc0b7
--- /dev/null
+++ b/drivers/acpi/bay.c
@@ -0,0 +1,592 @@
+/*
+ * bay.c - ACPI removable drive bay driver
+ *
+ * Copyright (C) 2006 Kristen Carlson Accardi <kristen.c.accardi@intel.com>
+ *
+ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or (at
+ * your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
+ *
+ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ */
+#include <linux/kernel.h>
+#include <linux/module.h>
+#include <linux/init.h>
+#include <linux/types.h>
+#include <linux/notifier.h>
+#include <acpi/acpi_bus.h>
+#include <acpi/acpi_drivers.h>
+#include <linux/proc_fs.h>
+#include <linux/seq_file.h>
+#include <asm/uaccess.h>
+
+#define ACPI_BAY_DRIVER_NAME "ACPI Removable Drive Bay Driver"
+
+ACPI_MODULE_NAME("bay")
+MODULE_AUTHOR("Kristen Carlson Accardi");
+MODULE_DESCRIPTION(ACPI_BAY_DRIVER_NAME);
+MODULE_LICENSE("GPL");
+#define ACPI_BAY_CLASS "bay"
+#define ACPI_BAY_COMPONENT 0x10000000
+#define _COMPONENT ACPI_BAY_COMPONENT
+#define bay_dprintk(h,s) {\
+ char prefix[80] = {'\0'};\
+ struct acpi_buffer buffer = {sizeof(prefix), prefix};\
+ acpi_get_name(h, ACPI_FULL_PATHNAME, &buffer);\
+ printk(KERN_DEBUG PREFIX "%s: %s\n", prefix, s); }
+
+static void bay_notify(acpi_handle handle, u32 event, void *data);
+static int acpi_bay_add(struct acpi_device *device);
+static int acpi_bay_remove(struct acpi_device *device, int type);
+static int acpi_bay_match(struct acpi_device *device,
+ struct acpi_driver *driver);
+
+static struct acpi_driver acpi_bay_driver = {
+ .name = ACPI_BAY_DRIVER_NAME,
+ .class = ACPI_BAY_CLASS,
+ .ops = {
+ .add = acpi_bay_add,
+ .remove = acpi_bay_remove,
+ .match = acpi_bay_match,
+ },
+};
+
+struct bay {
+ acpi_handle handle;
+ char *name;
+ struct list_head list;
+ struct proc_dir_entry *proc;
+};
+
+LIST_HEAD(drive_bays);
+
+static struct proc_dir_entry *acpi_bay_dir;
+
+/*****************************************************************************
+ * Drive Bay functions *
+ *****************************************************************************/
+/**
+ * is_ejectable - see if a device is ejectable
+ * @handle: acpi handle of the device
+ *
+ * If an acpi object has a _EJ0 method, then it is ejectable
+ */
+static int is_ejectable(acpi_handle handle)
+{
+ acpi_status status;
+ acpi_handle tmp;
+
+ status = acpi_get_handle(handle, "_EJ0", &tmp);
+ if (ACPI_FAILURE(status))
+ return 0;
+ return 1;
+}
+
+/**
+ * bay_present - see if the bay device is present
+ * @bay: the drive bay
+ *
+ * execute the _STA method.
+ */
+static int bay_present(struct bay *bay)
+{
+ unsigned long sta;
+ acpi_status status;
+
+ if (bay) {
+ status = acpi_evaluate_integer(bay->handle, "_STA", NULL, &sta);
+ if (ACPI_SUCCESS(status) && sta)
+ return 1;
+ }
+ return 0;
+}
+
+/**
+ * eject_device - respond to an eject request
+ * @handle - the device to eject
+ *
+ * Call this devices _EJ0 method.
+ */
+static void eject_device(acpi_handle handle)
+{
+ struct acpi_object_list arg_list;
+ union acpi_object arg;
+
+ bay_dprintk(handle, "Ejecting device");
+
+ arg_list.count = 1;
+ arg_list.pointer = &arg;
+ arg.type = ACPI_TYPE_INTEGER;
+ arg.integer.value = 1;
+
+ if (ACPI_FAILURE(acpi_evaluate_object(handle, "_EJ0",
+ &arg_list, NULL)))
+ pr_debug("Failed to evaluate _EJ0!\n");
+}
+
+
+/**
+ * is_ata - see if a device is an ata device
+ * @handle: acpi handle of the device
+ *
+ * If an acpi object has one of 4 ATA ACPI methods defined,
+ * then it is an ATA device
+ */
+static int is_ata(acpi_handle handle)
+{
+ acpi_handle tmp;
+
+ if ((ACPI_SUCCESS(acpi_get_handle(handle, "_GTF", &tmp))) ||
+ (ACPI_SUCCESS(acpi_get_handle(handle, "_GTM", &tmp))) ||
+ (ACPI_SUCCESS(acpi_get_handle(handle, "_STM", &tmp))) ||
+ (ACPI_SUCCESS(acpi_get_handle(handle, "_SDD", &tmp))))
+ return 1;
+
+ return 0;
+}
+
+/**
+ * parent_is_ata(acpi_handle handle)
+ *
+ */
+static int parent_is_ata(acpi_handle handle)
+{
+ acpi_handle phandle;
+
+ if (acpi_get_parent(handle, &phandle))
+ return 0;
+
+ return is_ata(phandle);
+}
+
+/**
+ * is_ejectable_bay - see if a device is an ejectable drive bay
+ * @handle: acpi handle of the device
+ *
+ * If an acpi object is ejectable and has one of the ACPI ATA
+ * methods defined, then we can safely call it an ejectable
+ * drive bay
+ */
+static int is_ejectable_bay(acpi_handle handle)
+{
+ if ((is_ata(handle) || parent_is_ata(handle)) && is_ejectable(handle))
+ return 1;
+ return 0;
+}
+
+/**
+ * eject_removable_drive - try to eject this drive
+ * @dev : the device structure of the drive
+ *
+ * If a device is a removable drive that requires an _EJ0 method
+ * to be executed in order to safely remove from the system, do
+ * it. ATM - always returns success
+ */
+int eject_removable_drive(struct device *dev)
+{
+ acpi_handle handle = DEVICE_ACPI_HANDLE(dev);
+
+ if (handle) {
+ bay_dprintk(handle, "Got device handle");
+ if (is_ejectable_bay(handle))
+ eject_device(handle);
+ } else {
+ printk("No acpi handle for device\n");
+ }
+
+ /* should I return an error code? */
+ return 0;
+}
+EXPORT_SYMBOL_GPL(eject_removable_drive);
+
+static int acpi_bay_add(struct acpi_device *device)
+{
+ bay_dprintk(device->handle, "adding bay device");
+ strcpy(acpi_device_name(device), "Dockable Bay");
+ strcpy(acpi_device_class(device), "bay");
+ return 0;
+}
+
+static int acpi_bay_status_seq_show(struct seq_file *seq, void *offset)
+{
+ struct bay *bay = (struct bay *)seq->private;
+
+ if (!bay)
+ return 0;
+
+ if (bay_present(bay))
+ seq_printf(seq, "present\n");
+ else
+ seq_printf(seq, "removed\n");
+
+ return 0;
+}
+
+static ssize_t
+acpi_bay_write_eject(struct file *file,
+ const char __user * buffer,
+ size_t count, loff_t * data)
+{
+ struct seq_file *m = (struct seq_file *)file->private_data;
+ struct bay *bay = (struct bay *)m->private;
+ char str[12] = { 0 };
+ u32 state = 0;
+
+ /* FIXME - our only valid value here is 1 */
+ if (!bay || count + 1 > sizeof str)
+ return -EINVAL;
+
+ if (copy_from_user(str, buffer, count))
+ return -EFAULT;
+
+ str[count] = 0;
+ state = simple_strtoul(str, NULL, 0);
+ if (state)
+ eject_device(bay->handle);
+
+ return count;
+}
+
+static int
+acpi_bay_status_open_fs(struct inode *inode, struct file *file)
+{
+ return single_open(file, acpi_bay_status_seq_show,
+ PDE(inode)->data);
+}
+
+static int
+acpi_bay_eject_open_fs(struct inode *inode, struct file *file)
+{
+ return single_open(file, acpi_bay_status_seq_show,
+ PDE(inode)->data);
+}
+
+static struct file_operations acpi_bay_status_fops = {
+ .open = acpi_bay_status_open_fs,
+ .read = seq_read,
+ .llseek = seq_lseek,
+ .release = single_release,
+};
+
+static struct file_operations acpi_bay_eject_fops = {
+ .open = acpi_bay_eject_open_fs,
+ .read = seq_read,
+ .write = acpi_bay_write_eject,
+ .llseek = seq_lseek,
+ .release = single_release,
+};
+#if 0
+static struct file_operations acpi_bay_insert_fops = {
+ .open = acpi_bay_insert_open_fs,
+ .read = seq_read,
+ .llseek = seq_lseek,
+ .release = single_release,
+};
+#endif
+static int acpi_bay_add_fs(struct bay *bay)
+{
+ struct proc_dir_entry *entry = NULL;
+
+ if (!bay)
+ return -EINVAL;
+
+ /*
+ * create a proc entry for this device
+ * we need to do this a little bit differently than normal
+ * acpi device drivers because our device may not be present
+ * at the moment, and therefore we have no acpi_device struct
+ */
+
+ bay->proc = proc_mkdir(bay->name, acpi_bay_dir);
+
+ /* 'status' [R] */
+ entry = create_proc_entry("status",
+ S_IRUGO, bay->proc);
+ if (!entry)
+ return -EIO;
+ else {
+ entry->proc_fops = &acpi_bay_status_fops;
+ entry->data = bay;
+ entry->owner = THIS_MODULE;
+ }
+ /* 'eject' [W] */
+ entry = create_proc_entry("eject",
+ S_IWUGO, bay->proc);
+ if (!entry)
+ return -EIO;
+ else {
+ entry->proc_fops = &acpi_bay_eject_fops;
+ entry->data = bay;
+ entry->owner = THIS_MODULE;
+ }
+#if 0
+ /* 'insert' [W] */
+ entry = create_proc_entry("insert",
+ S_IWUGO, bay->proc);
+ if (!entry)
+ return -EIO;
+ else {
+ entry->proc_fops = &acpi_bay_insert_fops;
+ entry->data = bay;
+ entry->owner = THIS_MODULE;
+ }
+#endif
+ return 0;
+}
+
+static void acpi_bay_remove_fs(struct bay *bay)
+{
+ if (!bay)
+ return;
+
+ if (bay->proc) {
+ remove_proc_entry("status", bay->proc);
+ remove_proc_entry("eject", bay->proc);
+#if 0
+ remove_proc_entry("insert", bay->proc);
+#endif
+ remove_proc_entry(bay->name, acpi_bay_dir);
+ bay->proc = NULL;
+ }
+}
+
+static int bay_is_dock_device(acpi_handle handle)
+{
+ acpi_handle parent;
+
+ acpi_get_parent(handle, &parent);
+
+ /* if the device or it's parent is dependent on the
+ * dock, then we are a dock device
+ */
+ return (is_dock_device(handle) || is_dock_device(parent));
+}
+
+static int bay_add(acpi_handle handle)
+{
+ acpi_status status;
+ struct bay *new_bay;
+ struct acpi_buffer nbuffer = {ACPI_ALLOCATE_BUFFER, NULL};
+ acpi_get_name(handle, ACPI_FULL_PATHNAME, &nbuffer);
+
+ bay_dprintk(handle, "Adding notify handler");
+
+ /*
+ * if this is the first bay device found, make the root
+ * proc entry
+ */
+ if (acpi_bay_dir == NULL)
+ acpi_bay_dir = proc_mkdir(ACPI_BAY_CLASS, acpi_root_dir);
+
+ /*
+ * Initialize bay device structure
+ */
+ new_bay = kmalloc(GFP_ATOMIC, sizeof(*new_bay));
+ INIT_LIST_HEAD(&new_bay->list);
+ new_bay->handle = handle;
+ new_bay->name = (char *)nbuffer.pointer;
+ list_add(&new_bay->list, &drive_bays);
+ acpi_bay_add_fs(new_bay);
+
+ /* register for events on this device */
+ status = acpi_install_notify_handler(handle, ACPI_SYSTEM_NOTIFY,
+ bay_notify, new_bay);
+ if (ACPI_FAILURE(status)) {
+ printk(KERN_ERR PREFIX "Error installing bay notify handler\n");
+ }
+
+ /* if we are on a dock station, we should register for dock
+ * notifications.
+ */
+ if (bay_is_dock_device(handle)) {
+ bay_dprintk(handle, "Is dependent on dock\n");
+ register_hotplug_dock_device(handle, bay_notify, new_bay);
+ }
+ printk(KERN_INFO PREFIX "Bay [%s] Added\n", new_bay->name);
+ return 0;
+}
+
+static int acpi_bay_remove(struct acpi_device *device, int type)
+{
+ /*** FIXME: do something here */
+ return 0;
+}
+
+static int acpi_bay_match(struct acpi_device *device,
+ struct acpi_driver *driver)
+{
+ if (!device || !driver)
+ return -EINVAL;
+
+ if (is_ejectable_bay(device->handle)) {
+ bay_dprintk(device->handle, "matching bay device");
+ return 0;
+ }
+
+ return -ENODEV;
+}
+
+/**
+ * bay_create_acpi_device - add new devices to acpi
+ * @handle - handle of the device to add
+ *
+ * This function will create a new acpi_device for the given
+ * handle if one does not exist already. This should cause
+ * acpi to scan for drivers for the given devices, and call
+ * matching driver's add routine.
+ *
+ * Returns a pointer to the acpi_device corresponding to the handle.
+ */
+static struct acpi_device * bay_create_acpi_device(acpi_handle handle)
+{
+ struct acpi_device *device = NULL;
+ struct acpi_device *parent_device;
+ acpi_handle parent;
+ int ret;
+
+ bay_dprintk(handle, "Trying to get device");
+ if (acpi_bus_get_device(handle, &device)) {
+ /*
+ * no device created for this object,
+ * so we should create one.
+ */
+ bay_dprintk(handle, "No device for handle");
+ acpi_get_parent(handle, &parent);
+ if (acpi_bus_get_device(parent, &parent_device))
+ parent_device = NULL;
+
+ ret = acpi_bus_add(&device, parent_device, handle,
+ ACPI_BUS_TYPE_DEVICE);
+ if (ret) {
+ pr_debug("error adding bus, %x\n",
+ -ret);
+ return NULL;
+ }
+ }
+ return device;
+}
+
+/**
+ * bay_notify - act upon an acpi bay notification
+ * @handle: the bay handle
+ * @event: the acpi event
+ * @data: our driver data struct
+ *
+ */
+static void bay_notify(acpi_handle handle, u32 event, void *data)
+{
+ struct acpi_device *dev;
+ struct bay *bay = data;
+
+ bay_dprintk(handle, "Bay event");
+
+ switch(event) {
+ case ACPI_NOTIFY_BUS_CHECK:
+ printk("Bus Check\n");
+ case ACPI_NOTIFY_DEVICE_CHECK:
+ printk("Device Check\n");
+ dev = bay_create_acpi_device(handle);
+ if (dev)
+ acpi_bus_generate_event(dev, event, 0);
+ else
+ printk("No device for generating event\n");
+ /* wouldn't it be a good idea to just rescan SATA
+ * right here?
+ */
+ break;
+ case ACPI_NOTIFY_EJECT_REQUEST:
+ printk("Eject request\n");
+ dev = bay_create_acpi_device(handle);
+ if (dev)
+ acpi_bus_generate_event(dev, event, 0);
+ else
+ printk("No device for generating eventn");
+
+ /* wouldn't it be a good idea to just call the
+ * eject_device here if we were a SATA device?
+ */
+ break;
+ default:
+ printk("unknown event %d\n", event);
+ }
+}
+
+static acpi_status
+find_bay(acpi_handle handle, u32 lvl, void *context, void **rv)
+{
+ int *count = (int *)context;
+
+ /*
+ * there could be more than one ejectable bay.
+ * so, just return AE_OK always so that every object
+ * will be checked.
+ */
+ if (is_ejectable_bay(handle)) {
+ bay_dprintk(handle, "found ejectable bay");
+ bay_add(handle);
+ (*count)++;
+ }
+ return AE_OK;
+}
+
+static int __init bay_init(void)
+{
+ int bays = 0;
+
+ acpi_bay_dir = NULL;
+ INIT_LIST_HEAD(&drive_bays);
+
+ /* look for dockable drive bays */
+ acpi_walk_namespace(ACPI_TYPE_DEVICE, ACPI_ROOT_OBJECT,
+ ACPI_UINT32_MAX, find_bay, &bays, NULL);
+
+ if (bays) {
+ if ((acpi_bus_register_driver(&acpi_bay_driver) < 0)) {
+ printk(KERN_ERR "Unable to register bay driver\n");
+ if (acpi_bay_dir)
+ remove_proc_entry(ACPI_BAY_CLASS,
+ acpi_root_dir);
+ }
+ }
+
+ if (!bays)
+ return -ENODEV;
+
+ return 0;
+}
+
+static void __exit bay_exit(void)
+{
+ struct bay *bay, *tmp;
+
+ list_for_each_entry_safe(bay, tmp, &drive_bays, list) {
+ if (is_dock_device(bay->handle))
+ unregister_hotplug_dock_device(bay->handle);
+ acpi_bay_remove_fs(bay);
+ acpi_remove_notify_handler(bay->handle, ACPI_SYSTEM_NOTIFY,
+ bay_notify);
+ kfree(bay->name);
+ kfree(bay);
+ }
+
+ if (acpi_bay_dir)
+ remove_proc_entry(ACPI_BAY_CLASS, acpi_root_dir);
+
+ acpi_bus_unregister_driver(&acpi_bay_driver);
+}
+
+postcore_initcall(bay_init);
+module_exit(bay_exit);
+
--
1.5.0.rc3.39.gec804
next prev parent reply other threads:[~2007-02-07 18:55 UTC|newest]
Thread overview: 143+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-07 18:50 ACPI patches for 2.6.21 Len Brown
2007-02-07 18:50 ` Len Brown
2007-02-07 18:50 ` Len Brown
[not found] ` <9e89dde2b063ca73fcdc9244fe68e2dea32c5088.1170873816.git.len.brown@intel.com>
2007-02-07 18:50 ` [PATCH 1/140] ACPI: clean up scan.c Len Brown
[not found] ` <1d268b0a0f5407138caf0dec9559d68e657a3a74.1170873816.git.len.brown@intel.com>
2007-02-07 18:50 ` [PATCH 2/140] ACPI: rename some functions Len Brown
[not found] ` <d43ec68e9837dfa6618ab473622683fdbf6e68a9.1170873816.git.len.brown@intel.com>
2007-02-07 18:50 ` [PATCH 3/140] ACPI: add device_driver and hepler functions Len Brown
[not found] ` <5d9464a46918ced087c351a10f38cee95725f85b.1170873816.git.len.brown@intel.com>
2007-02-07 18:50 ` [PATCH 4/140] ACPI: add ACPI bus_type for driver model Len Brown
[not found] ` <1890a97ab3f66d1e99768439f8067608b9b97fe3.1170873816.git.len.brown@intel.com>
2007-02-07 18:50 ` [PATCH 5/140] ACPI: change registration interface to follow " Len Brown
[not found] ` <a7178df5e7e5730e5daa6cf6d8b8bf73adbe75c0.1170873816.git.len.brown@intel.com>
2007-02-07 18:50 ` [PATCH 6/140] ACPI: adjust init order Len Brown
[not found] ` <f883d9db008deb20d4969c26475100cec2b7f6f8.1170873816.git.len.brown@intel.com>
2007-02-07 18:50 ` [PATCH 7/140] ACPI: convert to sysfs framework Len Brown
[not found] ` <c4168bff32e218b8400cb48b48adb9b7f7bb31b8.1170873816.git.len.brown@intel.com>
2007-02-07 18:50 ` [PATCH 8/140] ACPI: add acpi_bus_ops in acpi_device Len Brown
[not found] ` <96333578b023957537c3e98b50af7f3b7e08e411.1170873816.git.len.brown@intel.com>
2007-02-07 18:50 ` [PATCH 9/140] ACPI: add acpi_bus_removal_type " Len Brown
[not found] ` <54a07001b9efb6a3bb9a9d8ac9ddb226e29b5406.1170873816.git.len.brown@intel.com>
2007-02-07 18:50 ` [PATCH 10/140] ACPI: consolidate two motherboard drivers into one Len Brown
[not found] ` <db3e1cc3257758d8a694d0a6ab29f109fb019853.1170873816.git.len.brown@intel.com>
2007-02-07 18:50 ` [PATCH 11/140] ACPI: Convert ACPI PCI .bind/.unbind to use PCI bridge driver Len Brown
[not found] ` <ae8433324be16673c75951986dcf85f29c090557.1170873816.git.len.brown@intel.com>
2007-02-07 18:50 ` [PATCH 12/140] ACPI: Set fake hid for non-PNPID ACPI devices Len Brown
[not found] ` <2dec3ba8d872aa3ffbcdb8f6f8a2c0bcd44e9910.1170873816.git.len.brown@intel.com>
2007-02-07 18:50 ` [PATCH 13/140] output: Add display output class support Len Brown
[not found] ` <b03637b8863159a4518cb0a9ab90577460fe3417.1170873816.git.len.brown@intel.com>
2007-02-07 18:50 ` [PATCH 14/140] output: Add output class document Len Brown
[not found] ` <2f3d000a133f68250635f14f6caf24d32d358090.1170873816.git.len.brown@intel.com>
2007-02-07 18:50 ` [PATCH 15/140] ACPI: Adds backlight sysfs support for acpi video driver Len Brown
[not found] ` <e49bd2dd5a503bb94fe2f2af45422b610940b75d.1170873816.git.len.brown@intel.com>
2007-02-07 18:50 ` [PATCH 16/140] ACPI: use PNPID:instance_no as bus_id of ACPI device Len Brown
[not found] ` <2786f6e388e9dfe9e7b1c3c6bd7fcfba9cfb9831.1170873816.git.len.brown@intel.com>
2007-02-07 18:50 ` [PATCH 17/140] ACPI: fix Supermicro X7DB8+ Boot regression Len Brown
[not found] ` <82cae99980c158cb9724415547ca59cf95c58792.1170873816.git.len.brown@intel.com>
2007-02-07 18:50 ` [PATCH 18/140] ACPI: video: fix LCD monitor seen as CRT Len Brown
[not found] ` <bb0958544f3c7c016b2a3025ab3694363e403aa1.1170873816.git.len.brown@intel.com>
2007-02-07 18:50 ` [PATCH 19/140] ACPI: use more understandable bus_id for ACPI devices Len Brown
[not found] ` <d91a0078476ca536d76419f3b53196873b2931bc.1170873816.git.len.brown@intel.com>
2007-02-07 18:50 ` [PATCH 20/140] ACPI: Optimize acpi_get_pci_rootbridge_handle() to boot faster Len Brown
[not found] ` <9a47cdb1bb85e7944fb7419e4078c46516ef7335.1170873816.git.len.brown@intel.com>
2007-02-07 18:50 ` [PATCH 21/140] ACPI: move FADT resource reservations from motherboard driver to osl Len Brown
[not found] ` <a8c78f7fb1571764f48b8af5459abdd2c66a765f.1170873816.git.len.brown@intel.com>
2007-02-07 18:50 ` [PATCH 22/140] PNP: reserve system board iomem resources as well as ioport resources Len Brown
[not found] ` <5859554c3ad31b722f0b5a1d3a40e19d8ccedd0b.1170873816.git.len.brown@intel.com>
2007-02-07 18:50 ` [PATCH 23/140] PNP: system.c whitespace cleanup Len Brown
[not found] ` <10fccf5fda7529258325769e9da136064b481aab.1170873816.git.len.brown@intel.com>
2007-02-07 18:50 ` [PATCH 24/140] i386: turn on CONFIG_PNP in defconfig Len Brown
[not found] ` <5eca338fb510af78eee5372ff6a3525768ab913f.1170873816.git.len.brown@intel.com>
2007-02-07 18:50 ` [PATCH 25/140] ACPI: remove motherboard driver (redundant with PNP system driver) Len Brown
[not found] ` <fb5c3e1b6d304bcf5f8d697471e36f2fa8d53f1c.1170873816.git.len.brown@intel.com>
2007-02-07 18:50 ` [PATCH 26/140] PNPACPI: remove EXPERIMENTAL dependency Len Brown
[not found] ` <b981c591891dc8885de36498d38fa8d8a5481069.1170873816.git.len.brown@intel.com>
2007-02-07 18:50 ` [PATCH 27/140] ACPI: add a Kconfig option for ACPI procfs interface Len Brown
[not found] ` <219c3c8e268b9307eae9fae4c765a0c589b98338.1170873816.git.len.brown@intel.com>
2007-02-07 18:50 ` [PATCH 28/140] ACPI: add ACPI debug attribute in sysfs Len Brown
[not found] ` <5bb730fda8aa4e3f7e94b259c468ecd095f60770.1170873816.git.len.brown@intel.com>
2007-02-07 18:50 ` [PATCH 29/140] ACPI: add ACPICA version " Len Brown
[not found] ` <85091b718969be7b8e6f795af7e264b8afcd7a6d.1170873816.git.len.brown@intel.com>
2007-02-07 18:50 ` [PATCH 30/140] asus-laptop: add base driver Len Brown
[not found] ` <be18cdabb8ed40ff4b8a240e0d6f4e6c30ff866d.1170873816.git.len.brown@intel.com>
2007-02-07 18:50 ` [PATCH 31/140] asus-laptop: add led support Len Brown
[not found] ` <4564de172dcdce641c0d6c689e79e95b5f6bee2c.1170873816.git.len.brown@intel.com>
2007-02-07 18:50 ` [PATCH 32/140] asus-laptop: add bluetooth and wlan support Len Brown
[not found] ` <6b7091e74fe176da97917ca60524e2b3554305f0.1170873816.git.len.brown@intel.com>
2007-02-07 18:50 ` [PATCH 33/140] asus-laptop: add backlight support Len Brown
[not found] ` <78127b4a90469d6973de2837d483f80f3709e6e0.1170873816.git.len.brown@intel.com>
2007-02-07 18:50 ` [PATCH 34/140] asus-laptop: add display switching support Len Brown
[not found] ` <722ad97153015aaf5becba3084565e98e71a2aed.1170873816.git.len.brown@intel.com>
2007-02-07 18:50 ` [PATCH 35/140] asus-laptop: add ledd support Len Brown
[not found] ` <8b857353237c144113b9bbbf9e0236b3f0e7d315.1170873816.git.len.brown@intel.com>
2007-02-07 18:50 ` [PATCH 36/140] asus-laptop: add light sensor support Len Brown
[not found] ` <8def05fa82bfa4af0c8e83a00ff377ddd9074480.1170873816.git.len.brown@intel.com>
2007-02-07 18:50 ` [PATCH 37/140] asus-laptop: Lindent Len Brown
[not found] ` <7ac2735462349ca35d8807d93d66cf4d9ea7b729.1170873816.git.len.brown@intel.com>
2007-02-07 18:50 ` [PATCH 39/140] ACPI: delete unused acpi_device_get_debug_info() Len Brown
[not found] ` <bfd80223d73f80e1d1c69dace9151756b3ef3b49.1170873816.git.len.brown@intel.com>
2007-02-07 18:50 ` [PATCH 40/140] ACPI: correct id for fixed buttons Len Brown
[not found] ` <db50342205deabaff9ce1fbe53d5ba351992fa08.1170873816.git.len.brown@intel.com>
2007-02-07 18:50 ` [PATCH 41/140] ACPI: prevent build failure when CONFIG_X86_NUMAQ=y Len Brown
[not found] ` <c9e3ba2c1d178195e17bb4f1d49c32e0be8dbb16.1170873816.git.len.brown@intel.com>
2007-02-07 18:50 ` [PATCH 42/140] ACPICA: Update function header Len Brown
[not found] ` <24058054d781934df526be114c612cf2b29cf4e7.1170873816.git.len.brown@intel.com>
2007-02-07 18:50 ` [PATCH 43/140] ACPICA: Handle mis-matched package length Len Brown
[not found] ` <8f9337c88335846b01801b1047a4caf10527a320.1170873816.git.len.brown@intel.com>
2007-02-07 18:50 ` [PATCH 44/140] ACPICA: Handle case NumElements > Package length Len Brown
[not found] ` <c81da66608d65dab04730582dfdfcdcab779e2fe.1170873816.git.len.brown@intel.com>
2007-02-07 18:50 ` [PATCH 45/140] ACPICA: Delete recursive feature of ACPI Global Lock Len Brown
[not found] ` <a72d47563bce9542b9a83521a4e8175076278ee9.1170873816.git.len.brown@intel.com>
2007-02-07 18:51 ` [PATCH 46/140] ACPICA: Release global lock from interrupt handler Len Brown
[not found] ` <0654a6d3c7a777ddccd35c5bbc5765ffbfe3ea96.1170873816.git.len.brown@intel.com>
2007-02-07 18:51 ` [PATCH 47/140] ACPICA: Cast acpi_thread_id to UINT32 for debug output only Len Brown
[not found] ` <6b366e2fe1b68bd9af55caf166eaaf0609ba18a9.1170873816.git.len.brown@intel.com>
2007-02-07 18:51 ` [PATCH 48/140] ACPICA: fix for object premature deletion Len Brown
[not found] ` <9c52657a2ac8aac5149e11049497b10918e1f58f.1170873816.git.len.brown@intel.com>
2007-02-07 18:51 ` [PATCH 49/140] ACPICA: Temporary fix for BankValue parameter Len Brown
[not found] ` <f93a21c7184de3db962d01f11eb2ddad5396c824.1170873816.git.len.brown@intel.com>
2007-02-07 18:51 ` [PATCH 50/140] ACPICA: Update version to 20060721 Len Brown
[not found] ` <2e42005bcdb4f63bed1cea7f537a5534d4bd7a57.1170873816.git.len.brown@intel.com>
2007-02-07 18:51 ` [PATCH 51/140] ACPICA: Update debug output Len Brown
[not found] ` <c5fc42ac4d4d6d3e3f619290b86890cb3725d2f8.1170873817.git.len.brown@intel.com>
2007-02-07 18:51 ` [PATCH 53/140] ACPICA: misc fixes for new Table Manager: Len Brown
[not found] ` <8f34890dce60f7df6dd23a0d04977c6572adaab8.1170873817.git.len.brown@intel.com>
2007-02-07 18:51 ` [PATCH 54/140] ACPICA: Update comments for individual table fields Len Brown
[not found] ` <4bf273939c99fae5bae399f51c417a552d74b97f.1170873817.git.len.brown@intel.com>
2007-02-07 18:51 ` [PATCH 55/140] ACPICA: Fix for FADT conversion in 64-bit mode Len Brown
[not found] ` <a4bbb810dedaecf74d54b16b6dd3c33e95e1024c.1170873817.git.len.brown@intel.com>
2007-02-07 18:51 ` [PATCH 56/140] ACPICA: Lint changes Len Brown
[not found] ` <ad71860a17ba33eb0e673e9e2cf5ba0d8e3e3fdd.1170873817.git.len.brown@intel.com>
2007-02-07 18:51 ` [PATCH 57/140] ACPICA: minimal patch to integrate new tables into Linux Len Brown
[not found] ` <2502fffb1958da66fa50a475081cb6827acdd9f3.1170873817.git.len.brown@intel.com>
2007-02-07 18:51 ` [PATCH 58/140] ACPICA: Add support for DMAR table Len Brown
[not found] ` <fdffb72d23172c91af56983f303d1986994df522.1170873817.git.len.brown@intel.com>
2007-02-07 18:51 ` [PATCH 59/140] ACPICA: Add acpi_gpe_count global to track the number of GPE events Len Brown
[not found] ` <c5a7156959e89b32260ad6072bbf5077bcdfbeee.1170873817.git.len.brown@intel.com>
2007-02-07 18:51 ` [PATCH 60/140] ACPICA: Disable all wake GPEs after first one recieved Len Brown
[not found] ` <3d81b236a82a26fa8bdef9096829675d81890dc9.1170873817.git.len.brown@intel.com>
2007-02-07 18:51 ` [PATCH 61/140] ACPICA: Fix unalignment in acpi_ut_repair_name Len Brown
[not found] ` <69874165ab953a62f9adb3096ccd84ed2561a602.1170873817.git.len.brown@intel.com>
2007-02-07 18:51 ` [PATCH 62/140] ACPICA: Store GPE number instead of bitmask Len Brown
[not found] ` <84fb2c97731c1631c5548c15f3698ad82c274245.1170873817.git.len.brown@intel.com>
2007-02-07 18:51 ` [PATCH 63/140] ACPICA: Split acpi_format_exception into two parts Len Brown
[not found] ` <0eaa14c02809cc93386b907846da5c024fd73012.1170873817.git.len.brown@intel.com>
2007-02-07 18:51 ` [PATCH 64/140] ACPICA: Update version to 20060831 Len Brown
[not found] ` <b89b71a0019660d73e3c9671205c49e443d7085c.1170873817.git.len.brown@intel.com>
2007-02-07 18:51 ` [PATCH 65/140] ACPICA: Cleanup of FADT verification function Len Brown
[not found] ` <95befdb398e0112ede80529f6770644ecfa5a82e.1170873817.git.len.brown@intel.com>
2007-02-07 18:51 ` [PATCH 66/140] ACPICA: Create tbfadt.c to hold all FADT-related functions Len Brown
[not found] ` <1ba753acb372c2955a4843302e92e49ce82e2fea.1170873817.git.len.brown@intel.com>
2007-02-07 18:51 ` [PATCH 67/140] ACPICA: Re-implement interpreters' "serialized mode" Len Brown
[not found] ` <765ec20180fb70b4ee9d730167b2a0b76879f791.1170873817.git.len.brown@intel.com>
2007-02-07 18:51 ` [PATCH 68/140] ACPICA: Delete stale FADT functions outside tbfadt.c Len Brown
[not found] ` <e56b638bbee3c17b0dee39495bd15afe64db1b94.1170873817.git.len.brown@intel.com>
2007-02-07 18:51 ` [PATCH 69/140] ACPICA: Update comments in tbfadt.c Len Brown
[not found] ` <694b0b2092bce3f4610626b04158a6f3a95058e6.1170873817.git.len.brown@intel.com>
2007-02-07 18:51 ` [PATCH 70/140] ACPICA: add ASF comment Len Brown
[not found] ` <77389e1263a7c9bc8040bda726e08b6501ba1c8b.1170873817.git.len.brown@intel.com>
2007-02-07 18:51 ` [PATCH 71/140] ACPICA: re-factor table init routines for benefit of iASL Len Brown
[not found] ` <15f0c0d1ef7804d098fe3eb0a3f350a490ca269c.1170873817.git.len.brown@intel.com>
2007-02-07 18:51 ` [PATCH 72/140] ACPICA: Allow type ANY to be the target of the Scope operator Len Brown
[not found] ` <cc2a472b8411ce0b71738039e15d45917da30fbe.1170873817.git.len.brown@intel.com>
2007-02-07 18:51 ` [PATCH 73/140] ACPICA: IsResourceTemplate now returns ACPI_STATUS Len Brown
[not found] ` <775d85b6aa33116da8aacad4168c540ce86a1803.1170873817.git.len.brown@intel.com>
2007-02-07 18:51 ` [PATCH 74/140] ACPICA: Add declarations for ASF! sub-tables Len Brown
[not found] ` <ea5d8ebcbb7ca3bcb35a2133805571295f3f06e8.1170873817.git.len.brown@intel.com>
2007-02-07 18:51 ` [PATCH 75/140] ACPICA: FADT verification is now table driven Len Brown
[not found] ` <13b572a35ed904ae1e162f8ee89ca7fd6992b44c.1170873817.git.len.brown@intel.com>
2007-02-07 18:51 ` [PATCH 76/140] ACPICA: Report error if method creates 2 objects with the same name Len Brown
[not found] ` <7139284460fba90c4dfcfae76680ad36b45f5982.1170873817.git.len.brown@intel.com>
2007-02-07 18:51 ` [PATCH 77/140] ACPICA: New common routine for creating and verifying a local FADT Len Brown
[not found] ` <0fab8997f18f71b2391e72e49d8d31a395352dcc.1170873817.git.len.brown@intel.com>
2007-02-07 18:51 ` [PATCH 78/140] ACPICA: Fix memory leak in table load error path Len Brown
[not found] ` <977a6226feae3e2c10a4d8227625ff0f04b49239.1170873817.git.len.brown@intel.com>
2007-02-07 18:51 ` [PATCH 79/140] ACPICA: Fix trace output name and whitespace Len Brown
[not found] ` <4cdf469090f732ab8a45b2d30b43ec5745699285.1170873817.git.len.brown@intel.com>
2007-02-07 18:51 ` [PATCH 80/140] ACPICA: Update version to 20060912 Len Brown
[not found] ` <11708744951308-git-send-emailMessage-Id: <d41eb99bac4063aa3fac2dbb8ca01bedd9f0b3bf.1170873818.git.len.brown@intel.com>
[not found] ` <14d64b5e36a82ef21a51d8a15639d26b75a79499.1170873817.git.len.brown@intel.com>
2007-02-07 18:51 ` [PATCH 81/140] ACPICA: Add full table name to disassembler output Len Brown
2007-02-07 18:51 ` [PATCH 82/140] ACPICA: Fix for Global Lock semaphore Len Brown
2007-02-07 18:51 ` [PATCH 83/140] ACPICA: Remove obsolete Flags parameter Len Brown
2007-02-07 18:51 ` [PATCH 84/140] ACPICA: Use faster ByIndex interface to get FACS Len Brown
2007-02-07 18:51 ` [PATCH 85/140] ACPICA: On AML mutex force-release, set depth to zero (was 1) Len Brown
2007-02-07 18:51 ` [PATCH 86/140] ACPICA: Update interpreter error paths to always report the error Len Brown
2007-02-07 18:51 ` [PATCH 87/140] ACPICA: Fix for possible memory leak and fault Len Brown
2007-02-07 18:51 ` [PATCH 88/140] ACPICA: Add new subsystem state bit that is set after SubsystemInitialize is called Len Brown
2007-02-07 18:51 ` [PATCH 89/140] ACPICA: Update version to 20060927 Len Brown
2007-02-07 18:51 ` [PATCH 90/140] ACPICA: Restructured module into multiple functions Len Brown
2007-02-07 18:51 ` [PATCH 91/140] ACPICA: Eliminate control method 2-pass parse/execute Len Brown
2007-02-07 18:51 ` [PATCH 92/140] ACPICA: Fix race condition with AcpiWalkNamespace Len Brown
2007-02-07 18:51 ` [PATCH 93/140] ACPICA: _CID support for PCI Root Bridge detection Len Brown
2007-02-07 18:51 ` [PATCH 94/140] ACPICA: Use manifest constants for parse pass number Len Brown
2007-02-07 18:51 ` [PATCH 95/140] ACPICA: Update comments Len Brown
2007-02-07 18:51 ` [PATCH 96/140] ACPICA: Abort downward walk on temporary node detection Len Brown
2007-02-07 18:51 ` [PATCH 97/140] ACPICA: Fixes for parameter validation Len Brown
2007-02-07 18:51 ` [PATCH 98/140] ACPICA: Update version to 20061011 Len Brown
2007-02-07 18:51 ` [PATCH 99/140] ACPICA: Remove duplicate table manager Len Brown
2007-02-07 18:51 ` [PATCH 100/140] ACPICA: use new ACPI headers Len Brown
2007-02-07 18:51 ` [PATCH 101/140] ACPICA: Remove duplicate table definitions Len Brown
2007-02-07 18:51 ` [PATCH 102/140] ACPICA: Remove duplicate table definitions (non-conflicting) Len Brown
2007-02-07 18:51 ` [PATCH 103/140] ACPICA: Remove duplicate table definitions (non-conflicting), cont Len Brown
2007-02-07 18:51 ` [PATCH 104/140] ACPICA: Update debug output routines for data structure changes Len Brown
2007-02-07 18:51 ` [PATCH 105/140] ACPICA: Miscellaneous table manager updates and optimizations Len Brown
2007-02-07 18:52 ` [PATCH 106/140] ACPICA: Fixes for load() operator Len Brown
2007-02-07 18:52 ` [PATCH 107/140] ACPICA: Remove global lock handler on AcpiTerminate Len Brown
2007-02-07 18:52 ` [PATCH 108/140] ACPICA: Ensure that all structures in acobject.h are aligned, via #pragma Len Brown
2007-02-07 18:52 ` [PATCH 109/140] ACPICA: Add ACPI_MAX macro Len Brown
2007-02-07 18:52 ` [PATCH 110/140] ACPICA: Fail AcpiEnable if ACPI tables not loaded Len Brown
2007-02-07 18:52 ` [PATCH 111/140] ACPICA: Add include of actables.h Len Brown
2007-02-07 18:52 ` [PATCH 112/140] ACPICA: Update version to 20061109 Len Brown
2007-02-07 18:52 ` [PATCH 113/140] ACPICA: Removed all 16-bit support Len Brown
2007-02-07 18:52 ` [PATCH 114/140] ACPICA: Debugger multithreading enhancements Len Brown
2007-02-07 18:52 ` [PATCH 115/140] ACPICA: Update a comment Len Brown
2007-02-07 18:52 ` [PATCH 117/140] ACPICA: Added option to display memory statistics upon termination Len Brown
2007-02-07 18:52 ` [PATCH 118/140] ACPICA: Update version to 20061215 Len Brown
2007-02-07 18:52 ` [PATCH 119/140] ACPICA: Allow ACPI id to be u32 instead of u8 Len Brown
2007-02-07 18:52 ` [PATCH 120/140] ACPICA: Allow processor to be declared with the Device() instead of Processor() Len Brown
2007-02-07 18:52 ` [PATCH 121/140] ACPICA: Update copyright to 2007 Len Brown
2007-02-07 18:52 ` [PATCH 122/140] ACPICA: Fix for incorrect parameter passed to AcpiTbDeleteTable during table load Len Brown
2007-02-07 18:52 ` [PATCH 123/140] ACPICA: Update version to 20070126 Len Brown
2007-02-07 18:52 ` [PATCH 124/140] ACPI: build fix for IBM x440 - CONFIG_X86_SUMMIT Len Brown
2007-02-07 18:52 ` [PATCH 125/140] ACPI: fix HP RX2600 IA64 boot Len Brown
2007-02-07 18:52 ` [PATCH 126/140] ACPI_NUMA: fix HP IA64 simulator issue with extended memory domain Len Brown
2007-02-07 18:52 ` [PATCH 127/140] ACPICA: reduce conflicts with Altix patch series Len Brown
2007-02-07 18:52 ` [PATCH 128/140] Altix: ACPI SSDT PCI device support Len Brown
2007-02-07 18:52 ` [PATCH 129/140] Altix: Add ACPI SSDT PCI device support (hotplug) Len Brown
2007-02-07 18:52 ` [PATCH 130/140] ACPICA: fix gcc build warnings Len Brown
2007-02-07 18:52 ` [PATCH 131/140] ACPI: dock: check if parent is on dock Len Brown
2007-02-07 18:52 ` Len Brown [this message]
2007-02-07 18:52 ` [PATCH 133/140] ACPI: bay: delete unused variable Len Brown
2007-02-07 18:52 ` [PATCH 134/140] ACPI: bay: remove prototype procfs code Len Brown
2007-02-07 18:52 ` [PATCH 135/140] ACPI: bay: make bay a platform driver Len Brown
2007-04-13 17:25 ` Bjorn Helgaas
2007-02-07 18:52 ` [PATCH 136/140] ACPI: bay: make drive_bays static Len Brown
2007-02-07 18:52 ` [PATCH 137/140] ACPI: bay: new driver is EXPERIMENTAL Len Brown
2007-02-07 18:52 ` [PATCH 138/140] ACPI: bay: Convert ACPI Bay driver to be compatible with sysfs update Len Brown
2007-02-07 18:52 ` [PATCH 139/140] asus-laptop: merge with ACPICA table update Len Brown
2007-02-07 18:52 ` [PATCH 140/140] ACPICA: reduce table header messages to fit within 80 columns Len Brown
2007-02-07 19:42 ` ACPI patches for 2.6.21 Mattia Dongili
2007-02-07 20:19 ` Len Brown
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=11708745493979-git-send-email-lenb@kernel.org \
--to=lenb@kernel.org \
--cc=akpm@osdl.org \
--cc=kristen.c.accardi@intel.com \
--cc=len.brown@intel.com \
--cc=linux-acpi@vger.kernel.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