Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757152AbYGRQGX (ORCPT ); Fri, 18 Jul 2008 12:06:23 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752036AbYGRQGN (ORCPT ); Fri, 18 Jul 2008 12:06:13 -0400 Received: from mga14.intel.com ([143.182.124.37]:11371 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751808AbYGRQGM convert rfc822-to-8bit (ORCPT ); Fri, 18 Jul 2008 12:06:12 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.31,211,1215414000"; d="scan'208";a="22034462" X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT Subject: RE: [PATCH 1/2] I/OAT: Add watchdog/reset functionality to ioatdma driver Date: Fri, 18 Jul 2008 17:06:06 +0100 Message-ID: <7F38996F7185A24AB9071ED4950AD8C101D2C640@swsmsx413.ger.corp.intel.com> In-Reply-To: <487B6004.6090801@inria.fr> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [PATCH 1/2] I/OAT: Add watchdog/reset functionality to ioatdma driver thread-index: AcjlvGq6y87vL+2/SkG7fnjRnSchLwDMlwBw From: "Sosnowski, Maciej" To: "Brice Goglin" Cc: "Williams, Dan J" , "Nelson, Shannon" , , X-OriginalArrivalTime: 18 Jul 2008 16:06:07.0758 (UTC) FILETIME=[3024EAE0:01C8E8F0] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1124 Lines: 35 Brice Goglin wrote: > Maciej Sosnowski wrote: >> Due to occasional DMA channel hangs observed for I/OAT versions 1.2 >> and 2.0 a watchdog has been introduced to check every 2 seconds >> if all channels progress normally. >> If stuck channel is detected, driver resets it. >> The reset is done in two parts. The second part is scheduled >> by the first one to reinitialize the channel after the restart. >> > > Is all this transparent to the caller? Are you reposting all copies to > the hardware after the reset? Or are we going to get some DMA_ERROR > return values ? Yes, it is transparent. The driver should take care of all the descriptors that have not been served before the reset. >> Sleep time in self_test has been increased to 10ms >> since in some cases 1ms appeared not to be enough > > Thanks Maciej, this helps a lot here. Sure. > > Brice Regards, Maciej -- 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/