Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752262AbdGDSML (ORCPT ); Tue, 4 Jul 2017 14:12:11 -0400 Received: from mail-io0-f193.google.com ([209.85.223.193]:33460 "EHLO mail-io0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752162AbdGDSMJ (ORCPT ); Tue, 4 Jul 2017 14:12:09 -0400 MIME-Version: 1.0 X-Originating-IP: [2a02:168:5640:0:960b:2678:e223:c1c6] In-Reply-To: References: <1498057734-14622-1-git-send-email-daniel.vetter@ffwll.ch> <149805863799.15021.15278760577807511996@mail.alporthouse.com> <20170626161630.u4ubdzgxr37o63ip@phenom.ffwll.local> <20170629102559.al74da7xhcdpahbb@phenom.ffwll.local> From: Daniel Vetter Date: Tue, 4 Jul 2017 20:12:08 +0200 X-Google-Sender-Auth: KRJEvIIEM1x6DhcOWZJxn1q-qeo Message-ID: Subject: Re: [PATCH] BUG-REPORT: snd-hda: hacked-together EPROBE_DEFER support To: Takashi Iwai Cc: Chris Wilson , Intel Graphics Development , Guneshwor Singh , Hardik T Shah , Libin Yang , "Subhransu S. Prusty" , Vinod Koul , Julia Lawall , Jaroslav Kysela , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1455 Lines: 34 On Tue, Jul 4, 2017 at 5:28 PM, Takashi Iwai wrote: > On Tue, 04 Jul 2017 17:14:39 +0200, > Daniel Vetter wrote: >> On Thu, Jun 29, 2017 at 12:25 PM, Daniel Vetter wrote: >> >> Now I took a closer look, and this appears rather like a brown paper >> >> bag bug, not about the deferred probe or module dependency. >> >> The fix patch is below. Could you check whether it works? >> > >> > Yay, this works! >> > >> > Tested-by: Daniel Vetter >> >> Next one: i915 module reloading is broken because something is holding >> onto a module reference and doesn't drop it. Didn't check which sets >> of patches introduced this, but iirc this worked last week. Disabling >> hda-intel gets in Kconfig gets rid of the problem, so I assume >> something in the sound driver is leaking that reference ... >> >> It's also causing lots and lots of red in our CI :( If we can't fix >> this we need to disable snd-hda-intel there too. > > I spotted out a typo in my previous patch that leads to the module > reference unbalance. The fix is already in sound.git tree today: > https://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git/commit/?h=for-linus&id=fc18282cdcba984ab89c74d7e844c10114ae0795 > > The bug was introduced after 4.12. Ok, CI over here confirmed that it's all good again. Thanks, Daniel -- Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch