From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932163Ab2IKLA3 (ORCPT ); Tue, 11 Sep 2012 07:00:29 -0400 Received: from ns1.pc-advies.be ([83.149.101.17]:38221 "EHLO spo001.leaseweb.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S932140Ab2IKLAZ (ORCPT ); Tue, 11 Sep 2012 07:00:25 -0400 Date: Tue, 11 Sep 2012 13:00:21 +0200 From: Wim Van Sebroeck To: Oskar Schirmer Cc: Sascha Hauer , linux-kernel@vger.kernel.org, Wolfram Sang , Andrew Morton Subject: Re: [PATCH v2] watchdog/imx2+: add support for pretimeout interrupt functionality Message-ID: <20120911110021.GG27604@spo001.leaseweb.com> References: <1338460658-16067-1-git-send-email-oskar@scara.com> <1347357652-23601-1-git-send-email-oskar@scara.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1347357652-23601-1-git-send-email-oskar@scara.com> User-Agent: Mutt/1.4.1i Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Oskar, > This watchdog device provides pretimeout facilities: > Set some timeout value and get informed about imminent > watchdog activity thru interrupt. > > Allow user to wait for this interrupt thru poll(2), > and to clear it thru read(2). > > Signed-off-by: Oskar Schirmer > Cc: Wim Van Sebroeck > Cc: Wolfram Sang > Cc: Sascha Hauer > Cc: Andrew Morton I have a problem with the read and poll. We had "read()" in the past so we have a possible issue here (different function but userspace apps could still use the old read)... Can you explain what the read and poll does and where you want to use it. Kind regards, Wim.