Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752608AbbFAQcl (ORCPT ); Mon, 1 Jun 2015 12:32:41 -0400 Received: from smtprelay0101.hostedemail.com ([216.40.44.101]:50745 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751447AbbFAQcf (ORCPT ); Mon, 1 Jun 2015 12:32:35 -0400 X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,joe@perches.com,:::::::::::::::::::::::::::::::::,RULES_HIT:41:355:379:541:599:973:988:989:1260:1277:1311:1313:1314:1345:1359:1373:1437:1515:1516:1518:1534:1540:1593:1594:1711:1714:1730:1747:1777:1792:2393:2559:2562:2828:2904:3138:3139:3140:3141:3142:3351:3622:3865:3867:3871:3872:3874:4250:4321:5007:6261:6742:10004:10400:10848:11026:11232:11658:11914:12043:12296:12517:12519:12740:13069:13095:13181:13229:13311:13357:13972:21080,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fn,MSBL:0,DNSBL:none,Custom_rules:0:0:0 X-HE-Tag: run09_33213ad944a0a X-Filterd-Recvd-Size: 2070 Message-ID: <1433176350.4861.21.camel@perches.com> Subject: Re: [PATCHv4 2/2] mailbox: Adding driver for Xilinx LogiCORE IP mailbox. From: Joe Perches To: Moritz Fischer Cc: jassisinghbrar@gmail.com, linux-kernel@vger.kernel.org, robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com, ijc+devicetree@hellion.org.uk, galak@codeaurora.org, michal.simek@xilinx.com, soren.brinkmann@xilinx.com, akpm@linux-foundation.org, gregkh@linuxfoundation.org, mchehab@osg.samsung.com, arnd@arndb.de, jingoohan1@gmail.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Date: Mon, 01 Jun 2015 09:32:30 -0700 In-Reply-To: <1433175507-3833-3-git-send-email-moritz.fischer@ettus.com> References: <1433175507-3833-1-git-send-email-moritz.fischer@ettus.com> <1433175507-3833-3-git-send-email-moritz.fischer@ettus.com> Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.12.11-0ubuntu3 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1024 Lines: 34 On Mon, 2015-06-01 at 09:18 -0700, Moritz Fischer wrote: > The Xilinx LogiCORE IP mailbox is a FPGA core that allows for > interprocessor communication via AXI4 memory mapped / AXI4 stream > interfaces. trivia: > diff --git a/drivers/mailbox/mailbox-xilinx.c b/drivers/mailbox/mailbox-xilinx.c [] > +static int xilinx_mbox_startup(struct mbox_chan *chan) > +{ [] > + dev_err(mbox->dev, > + "failed to register mailbox interrupt:%d\n", > + ret); [] > +static int xilinx_mbox_probe(struct platform_device *pdev) > +{ [] > + dev_err(&pdev->dev, "Couldn't get clk.\n"); [] > + dev_info(&pdev->dev, "IRQ not found, fallback to polling.\n"); [] > + dev_err(&pdev->dev, "Register mailbox failed\n"); Perhaps it' be nicer to consistently use a "no-period" message style. -- 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/