Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2979139imm; Tue, 4 Sep 2018 13:12:44 -0700 (PDT) X-Google-Smtp-Source: ANB0Vdb/4V3/OuGKzxVwOBwhGIRqjqFS/fdQcNC4wvrl8aOtm/+uPpf1LEyWmSxCLHGAev1ynzVU X-Received: by 2002:a17:902:8ec8:: with SMTP id x8-v6mr35286683plo.308.1536091963960; Tue, 04 Sep 2018 13:12:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536091963; cv=none; d=google.com; s=arc-20160816; b=LmFZeKjCTs51wX+QnBJ33UjvYxV6ubrwkA24nJEofIBA/WfhX4IK4l77xGPHvjDAq3 1smkAlROE/NH6fs6o8PAPr8fx6hj9Zw63MbQrGfthWigSClwFhabl0H87LZgiIHxQ0yx 68WOaxxmjlB9kebYMkCvuvgMARrZZcoCX3OWoKA1bu25Kjls8cKBV70/kDiCcpv0osdS FNaE/3YvSuQKE2lQ83agwiR3scHNLE0lT+pvUQWM4z+NjcsBo5femNqahgv1xvUwXoOH Qv6T+32ZFdioCLHZgzrMRtSZEP/GT8e9oppFygeJInxqsalhnFs2i322EZr0Ivamwiac YIEQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:dkim-signature :arc-authentication-results; bh=x19rrKJXdrL7tbNEM8ddm08CujY08GlWjsTio/6A34Y=; b=i7zqkVp+Q+2eOTJkyoAyv9nAWfX0mEcXbkVtvOEV6EgJQ/JZ+blSAY1MtN02y2nQNK u4f7HU4C9rhk0sCA7TxOOxYIMdkum+dhpva0aRakBotoXozHHh9QfyRBMwYOtrHfuOei yco8pcec2BmfYk7v4lvoY8v5WVbdsPSeaGHvTtOhJG52v+NLqNLmO46TInOlOzKeCc3i 0GYCh7d8DxKDYi115Oitu9sHOu+wWVbHEiTfM5ozzCGEsnwDPrkrp4C1G/7phqc+x4t5 hgRbKE7aPalI9zHPS1pQg4uWPTMhTI50dQjuDWUPIfI10f52mZ5b5ydantomHPkNMRug ArVA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@kemnade.info header.s=20180802 header.b=mD2Z8MEH; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id bj7-v6si19913808plb.320.2018.09.04.13.12.28; Tue, 04 Sep 2018 13:12:43 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@kemnade.info header.s=20180802 header.b=mD2Z8MEH; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727868AbeIEAiD (ORCPT + 99 others); Tue, 4 Sep 2018 20:38:03 -0400 Received: from mail.andi.de1.cc ([85.214.239.24]:37066 "EHLO h2641619.stratoserver.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726749AbeIEAiD (ORCPT ); Tue, 4 Sep 2018 20:38:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=kemnade.info; s=20180802; h=Content-Type:MIME-Version:References: In-Reply-To:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=x19rrKJXdrL7tbNEM8ddm08CujY08GlWjsTio/6A34Y=; b=mD2Z8MEHT7vunSDqGckqhU2D6 jQLxffHkrTeNMV/9V5UNrcDQoHGOr56SkZOv7jhuPMG4N+QK1wS7nRNV++8/+Bm8bTnB9hIrcRxZf m1pJUo8CdBT3buT/Q8oL87V3yIGxkcW23YfvkM9xaQgn8eLMwYa95fwg4z53I+jzJqvkE=; Received: from pd9e2ffa7.dip0.t-ipconnect.de ([217.226.255.167] helo=aktux) by h2641619.stratoserver.net with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1fxHfS-0002FC-UM; Tue, 04 Sep 2018 22:11:19 +0200 Date: Tue, 4 Sep 2018 22:11:09 +0200 From: Andreas Kemnade To: Ulf Hansson Cc: Kishon , Wolfram Sang , "linux-mmc@vger.kernel.org" , linux-omap , Linux Kernel Mailing List , Tony Lindgren , Discussions about the Letux Kernel Subject: Re: [PATCH] mmc: omap_hsmmc: fix wakeirq handling on removal Message-ID: <20180904221109.54604ebf@aktux> In-Reply-To: References: <20180902073058.17053-1-andreas@kemnade.info> X-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.31; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/7=6K2spKo_oqu0jpG3fbWO_"; protocol="application/pgp-signature" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --Sig_/7=6K2spKo_oqu0jpG3fbWO_ Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi, On Tue, 4 Sep 2018 16:34:56 +0200 Ulf Hansson wrote: > On 2 September 2018 at 09:30, Andreas Kemnade wrot= e: > > after unbinding mmc I get things like this: > > [ 185.294067] mmc1: card 0001 removed > > [ 185.305206] omap_hsmmc 480b4000.mmc: wake IRQ with no resume: -13 > > > > The wakeirq stays in /proc-interrupts > > > > rebinding shows this: > > [ 289.795959] genirq: Flags mismatch irq 112. 0000200a (480b4000.mmc:w= akeup) vs. 0000200a (480b4000.mmc:wakeup) > > [ 289.808959] omap_hsmmc 480b4000.mmc: Unable to request wake IRQ > > [ 289.815338] omap_hsmmc 480b4000.mmc: no SDIO IRQ support, falling ba= ck to polling > > > > That bug seems to be introduced by switching from devm_request_irq() > > to generic wakeirq handling. > > > > So let us cleanup at removal. > > > > Signed-off-by: Andreas Kemnade > > Fixes: 5b83b2234be6 ("mmc: omap_hsmmc: Change wake-up interrupt to use = generic wakeirq") =20 >=20 > Applied for fixes, and added a stable tag, thanks! >=20 What also might be critical (still analyzing) of that patch I am fixing is: It keeps the wakeup irq also enabled when the sdio irq is disabled. Regards, Andreas=20 --Sig_/7=6K2spKo_oqu0jpG3fbWO_ Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEE7sDbhY5mwNpwYgrAfb1qx03ikyQFAluO5t0ACgkQfb1qx03i kySTPw/+OGneOSwYXVhucGsyRSQ489fq5hX1hX/+hZiNZc8m+jb8tT1vxY9mqLAj W9tC2aCARIXTRUi1/m7IaUx278Zv1WmbUZswWechQJoKiWLFdbed2KTcuH41tac/ 5xyik3fnvmVfONPrYCkqbDdz/lzgPMI7WAoQY4G8Z4NRX3cGlfx/3MMjF4vxkAVy 13Y5C15ugE7NyQCpeoNUOc5ltmsHyS63GFryQjZik1i0khZDZxzXFrT56z+9ERpK Vtc0RPsSJdzEP6qEOQTBJor174bBozkvAp0m2jHCnC83EWcqL7IoDbUWUnOUh2dX pnNVPve7ZEgH0Zrq/++bfs0Z7VWZJVKQIUZIfElF/WPDh8McFRVscekv2fG1jYek FLvk5bV3CE6+RgsVZG8T58YF11ifk7HW4QFMTacEejBQqqYusjQdRGRNahcPbuxa LrdOndt7RGwGs8OZiGtzl7vI8YTZvj4Wgff6USzP/rDLfAOBDfL6KaBlt3CAHoN1 fAJ95chsv8SzA8U0+xXMhZGNkk2wPsv8lByKNqx/BRs4rqhi1Dm6GuN+nq0EgPDZ C3yOEq/IoXqg6i1x35NR1yMjsk1gai6XUernvtiQ6qnNEHfdrj0lasmNwZhCsEDq Td/IA5uX9QLf0NdLN1wzK3fiSks5GiP4/LdThtVmCKh0/2oUw/4= =aY7t -----END PGP SIGNATURE----- --Sig_/7=6K2spKo_oqu0jpG3fbWO_--