[PATCH] mfd: cros_ec: Add support for MKBP more event flags

2018-11-29 Thread egranata
From: Enrico Granata The ChromeOS EC has support for signaling to the host that a single IRQ can serve multiple MKBP events. Doing this serves an optimization purpose, as it minimizes the number of round-trips into the interrupt handling machinery, and it proves beneficial to sensor timestamping

[PATCH] mfd: cros_ec: Add support for MKBP more event flags

2018-12-20 Thread egranata
From: Enrico Granata The ChromeOS EC has support for signaling to the host that a single IRQ can serve multiple MKBP events. Doing this serves an optimization purpose, as it minimizes the number of round-trips into the interrupt handling machinery, and it proves beneficial to sensor timestamping

[PATCH v2] mfd: cros_ec: Add support for MKBP more event flags

2018-12-21 Thread egranata
From: Enrico Granata The ChromeOS EC has support for signaling to the host that a single IRQ can serve multiple MKBP events. Doing this serves an optimization purpose, as it minimizes the number of round-trips into the interrupt handling machinery, and it proves beneficial to sensor timestamping

[PATCH v2] mfd: cros_ec: Add support for MKBP more event flags

2018-12-21 Thread egranata
From: Enrico Granata The ChromeOS EC has support for signaling to the host that a single IRQ can serve multiple MKBP events. Doing this serves an optimization purpose, as it minimizes the number of round-trips into the interrupt handling machinery, and it proves beneficial to sensor timestamping

[PATCH] mfd: cros_ec: check for NULL transfer function

2019-04-03 Thread egranata
From: Enrico Granata As new transfer mechanisms are added to the EC codebase, they may not support v2 of the EC protocol. If the v3 initial handshake transfer fails, the kernel will try and call cmd_xfer as a fallback. If v2 is not supported, cmd_xfer will be NULL, and the code will end up causi

[PATCH v2] mfd: cros_ec: check for NULL transfer function

2019-04-03 Thread egranata
From: Enrico Granata As new transfer mechanisms are added to the EC codebase, they may not support v2 of the EC protocol. If the v3 initial handshake transfer fails, the kernel will try and call cmd_xfer as a fallback. If v2 is not supported, cmd_xfer will be NULL, and the code will end up causi

[PATCH v2] driver: platform: Support parsing GpioInt 0 in platform_get_irq()

2019-02-11 Thread egranata
From: Enrico Granata ACPI 5 added support for GpioInt resources as a way to provide information about interrupts mediated via a GPIO controller. Several device buses (e.g. SPI, I2C) have support for retrieving an IRQ specified via this type of resource, and providing it directly to the driver as

[PATCH] driver: platform: Add support for GpioInt() ACPI to platform_get_irq()

2019-02-07 Thread egranata
From: Enrico Granata ACPI 5 added support for GpioInt resources as a way to provide information about interrupts mediated via a GPIO controller. Several device buses (e.g. SPI, I2C) have support for retrieving an IRQ specified via this type of resource, and providing it directly to the driver as

[PATCH] driver: platform: Add support for GpioInt() ACPI to platform_get_irq()

2019-02-07 Thread egranata
From: Enrico Granata ACPI 5 added support for GpioInt resources as a way to provide information about interrupts mediated via a GPIO controller. Several device buses (e.g. SPI, I2C) have support for retrieving an IRQ specified via this type of resource, and providing it directly to the driver as

[PATCH] vhost: do not reference a file that does not exist

2019-08-07 Thread egranata
From: Enrico Granata lguest was removed from the mainline kernel in late 2017. Signed-off-by: Enrico Granata --- drivers/vhost/vhost.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/vhost/vhost.c b/drivers/vhost/vhost.c index 0536f8526359..2c376cb66971 100644 -

[PATCH v3] driver: platform: Support parsing GpioInt 0 in platform_get_irq()

2019-02-21 Thread egranata
From: Enrico Granata ACPI 5 added support for GpioInt resources as a way to provide information about interrupts mediated via a GPIO controller. Several device buses (e.g. SPI, I2C) have support for retrieving an IRQ specified via this type of resource, and providing it directly to the driver as

[PATCH] mfd: cros_ec: Only register a positive IRQ number

2019-03-21 Thread egranata
From: Enrico Granata Add a layer of sanity checking to cros_ec_register against attempting to register IRQ values that are not strictly greater than 0. Signed-off-by: Enrico Granata --- drivers/mfd/cros_ec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mfd/cros_e