Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932267Ab1EJMVE (ORCPT ); Tue, 10 May 2011 08:21:04 -0400 Received: from mail-pv0-f174.google.com ([74.125.83.174]:52872 "EHLO mail-pv0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755457Ab1EJMVC (ORCPT ); Tue, 10 May 2011 08:21:02 -0400 Message-ID: <2BFFDAA0A0DE4820876E5549867938EC@subhasishg> From: "Subhasish Ghosh" To: "Alan Cox" Cc: "Wolfgang Grandegger" , "Arnd Bergmann" , , "Marc Kleine-Budde" , , , , , "open list" , "CAN NETWORK DRIVERS" , References: <1303474267-6344-1-git-send-email-subhasish@mistralsolutions.com><201105041511.54095.arnd@arndb.de><4DC163D7.9010309@grandegger.com><201105041648.37199.arnd@arndb.de><4DC17831.3070801@grandegger.com> <20110510112734.54160824@lxorguk.ukuu.org.uk> In-Reply-To: <20110510112734.54160824@lxorguk.ukuu.org.uk> Subject: Re: [PATCH v4 1/1] can: add pruss CAN driver. Date: Tue, 10 May 2011 17:51:12 +0530 Organization: Mistral Solutions MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Mailer: Microsoft Windows Live Mail 14.0.8117.416 X-MimeOLE: Produced By Microsoft MimeOLE V14.0.8117.416 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 889 Lines: 20 >> Yes, In case if we allow the ALL implementation, it hogs the CPU. >> In that case we do not need the PRU. The whole purpose of the PRU >> is to offload the processor for any such implementations. > > So the kernel presumably needs to switch between using the PRU and native > according to the number of ids being requested at the time ? All the IDs are programmed into the PRU data RAM. The Kernel receives interrupts based upon these IDs. I could not clearly follow "PRU and native", could you please elaborate. > That would be roughly what we do with other things (eg IP multicast) so > that apps don't need to know all the innards -- 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/