Re: [tpmdd-devel] [PATCH v1] tpm/st33zp24: Add GPIO ACPI mapping table

2017-03-16 Thread Andy Shevchenko
On Wed, 2017-03-15 at 10:28 +0200, Jarkko Sakkinen wrote: > On Mon, Mar 13, 2017 at 07:38:11PM +0200, Andy Shevchenko wrote: > > In order to make GPIO ACPI library stricter prepare users of > > gpiod_get_index() to correctly behave when there no mapping is > > provided by fi

[tpmdd-devel] [PATCH v1] tpm/st33zp24: Switch to devm_acpi_dev_add_driver_gpios()

2017-06-12 Thread Andy Shevchenko
Switch to use managed variant of acpi_dev_add_driver_gpios() to simplify error path and fix potentially wrong assignment if ->probe() fails. Signed-off-by: Andy Shevchenko <andriy.shevche...@linux.intel.com> --- drivers/char/tpm/st33zp24/i2c.c | 3 +-- drivers/char/tpm/st33zp24/spi.c |

Re: [tpmdd-devel] [PATCH v1] ACPI: Switch to use generic UUID API

2017-05-22 Thread Andy Shevchenko
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 af

[tpmdd-devel] [PATCH v1] ACPI: Switch to use generic UUID API

2017-05-04 Thread Andy Shevchenko
x.intel.com> Cc: Liam Girdwood <lgirdw...@gmail.com> Cc: Mark Brown <broo...@kernel.org> Signed-off-by: Andy Shevchenko <andriy.shevche...@linux.intel.com> --- drivers/acpi/acpi_extlog.c | 10 +++--- drivers/acpi/bus.c | 29 ++

Re: [tpmdd-devel] [PATCH v1] ACPI: Switch to use generic UUID API

2017-05-05 Thread Andy Shevchenko
On Fri, 2017-05-05 at 10:06 +0300, Amir Goldstein wrote: > On Fri, May 5, 2017 at 9:20 AM, Dan Williams <dan.j.willi...@intel.com > > wrote: > > On Thu, May 4, 2017 at 2:21 AM, Andy Shevchenko > > <andriy.shevche...@linux.intel.com> wrote: > > >  

Re: [tpmdd-devel] Regression from efi: call get_event_log before ExitBootServices

2018-03-13 Thread Andy Shevchenko
lmost?) all Bay Trail hardware has a 32 bit > UEFI, > even though the processor is 64 bit capable (AFAIK 64 bit Windows drivers > were > not ready in time so all Bay Trail devices shipped with a 32 bit Windows). Almost. Lenovo Thinkpad 10 tablet has 64-bit firmwar