Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1191226
| Path | csiph.com!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Benjamin Tissoires <benjamin.tissoires@redhat.com> |
| Newsgroups | linux.kernel |
| Subject | [PATCH v4 0/3] I2C/SMBus: add support for Host Notify (in i2c_i801) |
| Date | Thu, 23 Jul 2015 21:00:02 +0200 |
| Message-ID | <pPtSN-6Pc-3@gated-at.bofh.it> (permalink) |
| X-Original-To | Wolfram Sang <wsa@the-dreams.de>, Jean Delvare <jdelvare@suse.de>, Dmitry Torokhov <dmitry.torokhov@gmail.com> |
| X-Scanned-By | MIMEDefang 2.68 on 10.5.11.23 |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 37 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | benjamin.tissoires@gmail.com, linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org, Benjamin Tissoires <benjamin.tissoires@redhat.com> |
| X-Original-Date | Thu, 23 Jul 2015 14:55:15 -0400 |
| X-Original-Message-ID | <1437677718-7894-1-git-send-email-benjamin.tissoires@redhat.com> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | aioe.org linux.kernel:1191226 |
Show key headers only | View raw
Hi, this is the v4 of this patch series which fixes the race we discovered this week when accessing the registers in i2c_i801. Compared to v3, i2c_handle_smbus_host_notify can now be called in a non sleeping thread because a worker will be spawn later on. That also means that we need to allocate the worker and some other structures, so I introduced i2c_setup_smbus_host_notify(). Cheers, Benjamin Benjamin Tissoires (3): i2c: add a protocol parameter to the alert callback i2c-smbus: add SMBus Host Notify support i2c: i801: add support of Host Notify Documentation/i2c/smbus-protocol | 3 + drivers/char/ipmi/ipmi_ssif.c | 6 +- drivers/hwmon/lm90.c | 3 +- drivers/i2c/busses/i2c-i801.c | 164 +++++++++++++++++++++++++++++---------- drivers/i2c/i2c-smbus.c | 113 +++++++++++++++++++++++++-- include/linux/i2c-smbus.h | 43 ++++++++++ include/linux/i2c.h | 10 ++- include/uapi/linux/i2c.h | 1 + 8 files changed, 292 insertions(+), 51 deletions(-) -- 2.4.3 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH v4 0/3] I2C/SMBus: add support for Host Notify (in i2c_i801) Benjamin Tissoires <benjamin.tissoires@redhat.com> - 2015-07-23 21:00 +0200 [PATCH v4 2/3] i2c-smbus: add SMBus Host Notify support Benjamin Tissoires <benjamin.tissoires@redhat.com> - 2015-07-23 21:00 +0200 [PATCH v4 3/3] i2c: i801: add support of Host Notify Benjamin Tissoires <benjamin.tissoires@redhat.com> - 2015-07-23 21:00 +0200
csiph-web