From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932178AbbGZGzM (ORCPT ); Sun, 26 Jul 2015 02:55:12 -0400 Received: from mga03.intel.com ([134.134.136.65]:3931 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751460AbbGZGzK (ORCPT ); Sun, 26 Jul 2015 02:55:10 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.15,546,1432623600"; d="scan'208";a="754924900" From: Tomas Winkler To: Greg Kroah-Hartman Cc: arnd@arndb.de, Alexander Usyskin , linux-kernel@vger.kernel.org, Tomas Winkler Subject: [char-misc-next 0/9 RESEND] mei: support for async event notifications Date: Sun, 26 Jul 2015 09:54:14 +0300 Message-Id: <1437893663-2068-1-git-send-email-tomas.winkler@intel.com> X-Mailer: git-send-email 2.4.3 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org FW has gained new capability where a FW client can asynchronously notify the host that an event has occurred in its process. The notification doesn't provide any data and host may need to query further the FW client in order to get details of the event. New IOCTLs are introduced for the user space to enable/disable and consume the event notifications. The asynchronous nature is provided via poll and fasync. Alexander Usyskin (1): mei: bus: add and call callback on notify event Tomas Winkler (8): mei: define async notification hbm commands mei: implement async notification hbm messages mei: enable async event notifications only from hbm version 2.0 mei: add mei_cl_notify_request command mei: add a handler that waits for notification on event mei: add async event notification ioctls mei: support polling for event notification mei: implement fasync for event notification Documentation/ioctl/ioctl-number.txt | 2 + Documentation/misc-devices/mei/mei.txt | 45 ++++++- drivers/misc/mei/bus.c | 50 +++++++- drivers/misc/mei/client.c | 224 +++++++++++++++++++++++++++++++++ drivers/misc/mei/client.h | 8 ++ drivers/misc/mei/debugfs.c | 2 + drivers/misc/mei/hbm.c | 136 ++++++++++++++++++++ drivers/misc/mei/hbm.h | 2 + drivers/misc/mei/hw.h | 68 ++++++++++ drivers/misc/mei/interrupt.c | 7 ++ drivers/misc/mei/main.c | 96 ++++++++++++++ drivers/misc/mei/mei_dev.h | 15 +++ drivers/nfc/mei_phy.c | 3 +- include/linux/mei_cl_bus.h | 4 + include/uapi/linux/mei.h | 19 +++ 15 files changed, 675 insertions(+), 6 deletions(-) -- 2.4.3