From: Kukjin Kim Subject: RE: [PATCH] spi/s3c64xx: Log error interrupts Date: Tue, 06 Dec 2011 19:38:03 +0900 Message-ID: <02dd01ccb403$22189640$6649c2c0$%kim@samsung.com> References: <1322479918-7818-1-git-send-email-broonie@opensource.wolfsonmicro.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org, 'Mark Brown' , 'Jassi Brar' To: 'Jassi Brar' , 'Linus Walleij' Return-path: In-reply-to: Content-language: ko List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: spi-devel-general-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: linux-spi.vger.kernel.org Jassi Brar wrote: > > On Fri, Dec 2, 2011 at 5:16 PM, Linus Walleij > wrote: > > On Mon, Nov 28, 2011 at 12:31 PM, Mark Brown > > wrote: > > > >> Although the hardware supports interrupts we're not currently using > them > >> at all since for small transfers the overhead is greater than that for > >> busy waiting and for large transfers we have interrupts from the DMA. > >> This means that if the hardware reports an error (especially one which > >> might not stall transfer) we might miss it. > >> > >> Take a first pass at dealing with such errors by enabling the interrupt > >> if we can and logging the errors if they happen. Ideally we'd report > the > >> error via the affected transfer but since we're in master mode it's > very > >> difficult to trigger errors at present and this code is much simpler. > >> > >> Signed-off-by: Mark Brown > > > > Looks good to me: > > Acked-by: Linus Walleij > > Looks ok to me, too. Acked-by: Kukjin Kim (Cc'ed Grant Likely) As I know, Grant will pick this up in his spi tree with our ack after his backing. Thanks. Best regards, Kgene. -- Kukjin Kim , Senior Engineer, SW Solution Development Team, Samsung Electronics Co., Ltd. > > (Cc:ing Jassi so he doesn't miss this.) > > > Linus, thanks for looping me in. > Though due to my changed priorities, I wouldn't mind me being kept out > of Samsung matters. > > Cheers, > -Jassi ------------------------------------------------------------------------------ Cloud Services Checklist: Pricing and Packaging Optimization This white paper is intended to serve as a reference, checklist and point of discussion for anyone considering optimizing the pricing and packaging model of a cloud services business. Read Now! http://www.accelacomm.com/jaw/sfnl/114/51491232/