From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Pellegrini Subject: Re: =?utf-8?b?cGNoX2Nhbjo=?= Data transmission stops after dropped packet Date: Thu, 6 Dec 2012 14:20:08 +0000 (UTC) Message-ID: References: <50ABABDE.8060503@grandegger.com> <50ABF09C.8040303@grandegger.com> <50ACABE2.2020306@grandegger.com> <50ACF9C0.8050206@grandegger.com> <50AD042B.3020305 @grandegger.com> <50AD319E.2000209@grandegger.com> <50AF8C01.6060 809@grandegger.com> <50AFABB1.7080 507@grandegger.com> <50AFAFF0.9030706@grandegger.com> <50B2449B.806 0708@grandegger.com> <50B38AFB.70209@grandegger.com> <50B3B162.9020905@grandegger.com> <50B751D7.6060106@grandegger.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from plane.gmane.org ([80.91.229.3]:60538 "EHLO plane.gmane.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932710Ab2LFOU1 (ORCPT ); Thu, 6 Dec 2012 09:20:27 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1TgcJY-0003o6-HZ for linux-can@vger.kernel.org; Thu, 06 Dec 2012 15:20:36 +0100 Received: from 96.45.208.254 ([96.45.208.254]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 06 Dec 2012 15:20:36 +0100 Received: from mikep86 by 96.45.208.254 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 06 Dec 2012 15:20:36 +0100 Sender: linux-can-owner@vger.kernel.org List-ID: To: linux-can@vger.kernel.org Michael Pellegrini gmail.com> writes: > > I have implemented a better solution now using different sets of > > registers for tx and rx. This avoids locking in the RX path as well. > > Furthermore, pch_can now uses spin_[un]lock_bh. Would be nice if you > > could give the pch_can and c_can_pci driver a try when time permits. > > Great! I'm happy to test these drivers out. In addition to testing > these drivers through my application, I'm looking at creating a soak test to > really push the interface (and the driver) hard. That test will probably be > ready early next week. I will get back to you with the results. I have some results. The good news: The c_can driver appears to work very well. It has been running successfully under the soak test for 18 hours and counting. The bad news: The pch_can driver is exhibiting the transmission problem again. The soak test causes the driver to fail within minutes. Details of the soak test: There are two systems involved in the test: the PCH-System and an External Node. The External Node transmits data at a high rate, bringing bus utilization to ~35%. The PCH-System also transmits data, in bursts of 10 messages every 5 ms. Combined, the two systems utilize ~90% of bus bandwidth. The PCH-System is constantly checking that it is receiving data from the External Node at the expected rate and in the expected order. - Mike