From nobody@FreeBSD.org  Sun Apr 22 10:39:07 2012
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id AE6B5106566B
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 22 Apr 2012 10:39:07 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 9928A8FC0A
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 22 Apr 2012 10:39:07 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q3MAd7gW017603
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 22 Apr 2012 10:39:07 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id q3MAd7n6017602;
	Sun, 22 Apr 2012 10:39:07 GMT
	(envelope-from nobody)
Message-Id: <201204221039.q3MAd7n6017602@red.freebsd.org>
Date: Sun, 22 Apr 2012 10:39:07 GMT
From: Takashi Matsubara <t-matubara@miracle.ocn.ne.jp>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Use of SD card will increase the load of CPU. 
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         167197
>Category:       kern
>Synopsis:       [sdhci] Use of SD card will increase the load of CPU.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Apr 22 10:40:06 UTC 2012
>Closed-Date:    
>Last-Modified:  Mon Apr 23 04:28:32 UTC 2012
>Originator:     Takashi Matsubara
>Release:        FreeBSD9-STABLE
>Organization:
>Environment:
FreeBSD tamago-two.tamago.local 9.0-STABLE FreeBSD 9.0-STABLE #0: Sun Apr 22 15:08:51 JST 2012     matubara@tamago-two.tamago.local:/usr/obj/usr/src/sys/TAMAGO-TWO  amd64
>Description:
If SD card is used,
The following error occurs and the load of CPU increases. 

sdhci0-slot0: Got AutoCMD12 error 0x0001, but there is no active command.

-pciconf -lv is -
sdhci0@pci0:13:0:0:     class=0x080500 card=0x213317aa chip=0xe8221180 rev=0x01 hdr=0x00
    vendor     = 'Ricoh Co Ltd'
    device     = 'MMC/SD Host Controller'
    class      = base peripheral
    subclass   = SD host controller


Computer: Lenovo Thinkpad T510

>How-To-Repeat:
Insert SD-card to hardware card controller
>Fix:
The following source code of head/-current is used. 

sys/dev/mmc
sys/dev/sdhci


>Release-Note:
>Audit-Trail:
>Unformatted:
