Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Jul 2017 14:49:56 -0600
From:      Warner Losh <imp@bsdimp.com>
To:        Marius Strobl <marius@freebsd.org>
Cc:        Warner Losh <imp@freebsd.org>, src-committers <src-committers@freebsd.org>, "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>,  "svn-src-head@freebsd.org" <svn-src-head@freebsd.org>
Subject:   Re: svn commit: r320844 - in head: etc/mtree include lib/libcam sys/amd64/conf sys/arm/broadcom/bcm2835 sys/arm/conf sys/arm/ti sys/cam sys/cam/mmc sys/cam/scsi sys/conf sys/dev/mmc sys/dev/sdhci sys/m...
Message-ID:  <CANCZdfqim1ksF6%2BJ4j-nnEH5GKSHtAoGJOfJceOd6OjYtjys8g@mail.gmail.com>
In-Reply-To: <CANCZdfrQeqUC7_ppkhk2poSwr3Kgm7VGqBcOg5-AWzuPqJ0GCw@mail.gmail.com>
References:  <201707091657.v69GvOar096942@repo.freebsd.org> <20170709184221.GB38352@alchemy.franken.de> <CANCZdfrQeqUC7_ppkhk2poSwr3Kgm7VGqBcOg5-AWzuPqJ0GCw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Jul 9, 2017 at 2:40 PM, Warner Losh <imp@bsdimp.com> wrote:

>
>
> On Sun, Jul 9, 2017 at 12:42 PM, Marius Strobl <marius@freebsd.org> wrote:
>
>> On Sun, Jul 09, 2017 at 04:57:24PM +0000, Warner Losh wrote:
>> > Author: imp
>> > Date: Sun Jul  9 16:57:24 2017
>> > New Revision: 320844
>> > URL: https://svnweb.freebsd.org/changeset/base/320844
>> >
>> > Log:
>> >   An MMC/SD/SDIO stack using CAM
>> >
>> >   Implement the MMC/SD/SDIO protocol within a CAM framework. CAM's
>> >   flexible queueing will make it easier to write non-storage drivers
>> >   than the legacy stack. SDIO drivers from both the kernel and as
>> >   userland daemons are possible, though much of that functionality will
>> >   come later.
>>
>> At least with a non-MMCCAM kernel, with this revision in place I get
>> an endless storm of "unexpected" SDHCI_INT_CARD_INT interrupts during
>> boot. Apparently this is due to the fact that sdhci(4) now enables
>> these interrupts, but sdhci_generic_intr() neither actually handles
>> them nor clears them from intmask.
>>
>
> OK. I'll look into it. Since I don't have an SDHCI card in the system I
> tested it in, I never saw these...
>

Looking at the code, the problem is obvious. It looks like it came in on a
late commit to the mmccam integration branch. I'll revert which should
solve your problem. Looking at my notes and test systems, I did test this
on a NUC, but it was an older version w/o the patch I just reverted. Sorry
for the hassle. r320850


> Btw., were mmc.ko and mmcsd.ko disconnected on purpose with this commit?
>
>
> No, I'll reconnect.
>

This has been done. r320849

Warner



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfqim1ksF6%2BJ4j-nnEH5GKSHtAoGJOfJceOd6OjYtjys8g>