lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Tue, 16 Sep 2014 14:54:40 -0700 From: Lee Jones <lee.jones@...aro.org> To: Mika Westerberg <mika.westerberg@...ux.intel.com> Cc: "Rafael J. Wysocki" <rjw@...ysocki.net>, linux-acpi@...r.kernel.org, devicetree@...r.kernel.org, linux-kernel@...r.kernel.org, Greg Kroah-Hartman <gregkh@...uxfoundation.org>, Linus Walleij <linus.walleij@...aro.org>, Alexandre Courbot <gnurou@...il.com>, Dmitry Torokhov <dmitry.torokhov@...il.com>, Bryan Wu <cooloney@...il.com>, Grant Likely <grant.likely@...aro.org>, Arnd Bergmann <arnd@...db.de>, Aaron Lu <aaron.lu@...el.com>, Darren Hart <dvhart@...ux.intel.com> Subject: Re: [RFC PATCH v2 05/16] mfd: Add ACPI support On Tue, 16 Sep 2014, Mika Westerberg wrote: > If an MFD device is backed by ACPI namespace, we should allow subdevice > drivers to access their corresponding ACPI companion devices through normal > means (e.g using ACPI_COMPANION()). > > This patch adds such support to the MFD core. If the MFD parent device > does not specify any ACPI _HID/_CID for the child device, the child > device will share the parent ACPI companion device. Otherwise the child > device will be assigned with the corresponding ACPI companion, if found > in the namespace below the parent. > > Signed-off-by: Mika Westerberg <mika.westerberg@...ux.intel.com> > Reviewed-by: Darren Hart <dvhart@...ux.intel.com> > --- > Lee, I tried to get rid of #ifdefs in the below patch but it wasn't > possible because we are using functions that are not available when > !CONFIG_ACPI. > > Documentation/acpi/enumeration.txt | 27 +++++++++++++++++++++++++ > drivers/mfd/mfd-core.c | 40 ++++++++++++++++++++++++++++++++++++++ > include/linux/mfd/core.h | 3 +++ > 3 files changed, 70 insertions(+) Acked-by: Lee Jones <lee.jones@...aro.org> -- Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists