[Intel-gfx] [PATCH v1] ACPI: Switch to use generic UUID API

Andy Shevchenko andriy.shevchenko at linux.intel.com
Mon May 22 19:08:57 UTC 2017


On Thu, 2017-05-04 at 12:21 +0300, Andy Shevchenko wrote:
> acpi_evaluate_dsm() and friends take a pointer to a raw buffer of 16
> bytes. Instead we convert them to use uuid_le type. At the same time
> we
> convert current users.
> 
> acpi_str_to_uuid() becomes useless after the conversion and it's safe
> to
> get rid of it.
> 
> The conversion fixes a potential bug in int340x_thermal as well since
> we have to use memcmp() on binary data.
> 
> Cc: Rafael J. Wysocki <rjw at rjwysocki.net>
> Cc: Mika Westerberg <mika.westerberg at linux.intel.com>
> Cc: Borislav Petkov <bp at suse.de>
> Cc: Dan Williams <dan.j.williams at intel.com>
> Cc: Amir Goldstein <amir73il at gmail.com>
> Cc: Jarkko Sakkinen <jarkko.sakkinen at linux.intel.com>
> Cc: Jani Nikula <jani.nikula at linux.intel.com>
> Cc: Ben Skeggs <bskeggs at redhat.com>
> Cc: Benjamin Tissoires <benjamin.tissoires at redhat.com>
> Cc: Joerg Roedel <joro at 8bytes.org>
> Cc: Adrian Hunter <adrian.hunter at intel.com>
> Cc: Yisen Zhuang <yisen.zhuang at huawei.com>
> Cc: Bjorn Helgaas <bhelgaas at google.com>
> Cc: Zhang Rui <rui.zhang at intel.com>
> Cc: Felipe Balbi <balbi at kernel.org>
> Cc: Mathias Nyman <mathias.nyman at intel.com>
> Cc: Heikki Krogerus <heikki.krogerus at linux.intel.com>
> Cc: Liam Girdwood <lgirdwood at gmail.com>
> Cc: Mark Brown <broonie at kernel.org>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko at linux.intel.com>

Thank you everyone who gave a tag to this.

I'm going to split and rebase on top of Christoph's branch
http://git.infradead.org/users/hch/vfs.git/shortlog/refs/heads/uuid-type
s

followed by changing types and API calls accordingly (without changing a
logic!).

So, I would like to keep tags in place. If there is any objection, speak
up now!
 
Thanks!

-- 
Andy Shevchenko <andriy.shevchenko at linux.intel.com>
Intel Finland Oy


More information about the Intel-gfx mailing list