Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754260Ab0GWLKM (ORCPT ); Fri, 23 Jul 2010 07:10:12 -0400 Received: from mail-qy0-f174.google.com ([209.85.216.174]:35716 "EHLO mail-qy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752427Ab0GWLKK (ORCPT ); Fri, 23 Jul 2010 07:10:10 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=oAjO0lVGX+O2eRE65mb75Hgth+TSk8h3UUuljFB5qdqzPuVa+2z/eYk6Bi8jptqcFj SWgBENEXNEKHxrGJhTOp9cpHoiuOq7amDvdOY3bmOzuUZ/5Gh8ZyS4OhDikbDxqXPjGC lJ2/EeucqJ7NMx3tNRMSFuCsVXOoCKTL6B4DE= MIME-Version: 1.0 In-Reply-To: <4C455597.2020200@renesas.com> References: <4C455597.2020200@renesas.com> Date: Fri, 23 Jul 2010 20:10:09 +0900 Message-ID: Subject: Re: [PATCH] tmio_mmc: Make ack_mmc_irqs() write-only From: Magnus Damm To: Yusuke Goda Cc: ian@mnementh.co.uk, damm@opensource.se, sameo@linux.intel.com, Paul Mundt , g.liakhovetski@gmx.de, linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org, Andrew Morton Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 888 Lines: 19 2010/7/20 Yusuke Goda : > This patch updates ack_mmc_irqs() to acknowledge using write instead > of read-modify-write. Without this fix the old read-modify-write > implementation may acknowledge interrupt sources by mistake. The > driver may if so lock-up waiting forever for an interrupt that will > never come. Observed with the TMIO_STAT_RXRDY bit together with CMD53 > on AR6002 and BCM4318 SDIO cards in polled mode. > > Signed-off-by: Yusuke Goda Simple testing with a BCM4318 card and a MMC card on sh7372 and SDHI shows no problems. Acked-by: Magnus Damm -- 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/