Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp4635341ybg; Tue, 29 Oct 2019 10:04:49 -0700 (PDT) X-Google-Smtp-Source: APXvYqwPcAwS0No934vif3/FzduE28CL0ifEGWko67a5mVWouDn2ts8UaQpdNwEhrSylso/fd325 X-Received: by 2002:a17:906:694d:: with SMTP id c13mr4233474ejs.223.1572368689366; Tue, 29 Oct 2019 10:04:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572368689; cv=none; d=google.com; s=arc-20160816; b=hrbfmRpdCH99+pDxnPeLfW9TWLKDgtKbwvoiddA9HqCSTe5A8yz96+D++E259e+V82 IoKUWSqmUf8ob4zGNc4ObcwUqPHvD64fhCyoh4gIkHzhXF8wHUu2MhQDE11dFNzfAgFa Yltxc3WxFwUc8ucCknZ1DxKmb7LnKxzDO3GxXdGgGOGTyeMUZGa5fF5+1hWmfib1F9El VRCzsVSHdSqJol0EVj0jy5tkf3Vpyjm1ibRgSDcwHxMLQbSqFQddsiutZetKFH9/oJTd 9ooJU1SCr+TRJuFYUQqDldUoxHs/oFPqCakOl/rah9yCk6WP9Dz5zUWJ2OxuSX4QGU+F Qgig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:message-id:subject:cc:to:from:date :dkim-signature; bh=Y1Yy6RDqWRGE0PJbnWx69zCnK4dMk4DM4C+BTvBw77A=; b=lgeo082HkHrdzugUbAvKTq6HOP9bt7FLbMI++3LLuv4DItSCPXoIUkolHX12LRXJ2P qmZehq3gy3o7CZiEACw87V5rGbao71WNGXEG0JjCSKKzxeRGkoJzX8dlPV+iSNev9OQo KNprSbfpL4RU1JYzDnX41resaklgqNbSekwYEzfaN5jXqwBD9EF12nXWci2gRSIIoObO KkpCaokYWnpVZacEAaIY9Ct2xPlsFMDIpj3BwW+n+U2UMvIGyvjhRRBCDOY+1mW4olrt +K3+v7pXXmFOqTX3OJynmx74vRHrXqZVC6xKthe/DcWGJqEBoBgbXKRHZn3cNik1ASDS gGig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=JxGocHmg; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m9si8205355ejk.322.2019.10.29.10.04.22; Tue, 29 Oct 2019 10:04:49 -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=pass header.i=@kernel.org header.s=default header.b=JxGocHmg; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390639AbfJ2RCx (ORCPT + 99 others); Tue, 29 Oct 2019 13:02:53 -0400 Received: from mail.kernel.org ([198.145.29.99]:43520 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727279AbfJ2RCx (ORCPT ); Tue, 29 Oct 2019 13:02:53 -0400 Received: from localhost (unknown [69.71.4.100]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 93AD520656; Tue, 29 Oct 2019 17:02:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1572368573; bh=uRow4DFq01/iQXmseqOfm0lJg6W4SSyElcj46INIcUs=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=JxGocHmgHuhGaFAIOYYHZP6jO38X2g9p0rDpJrEy7DLJQ+M1Cr57XwP1R9DzHgUX+ /QcHgkWxbWBXlYSQoR+PP7mEpKUZrKuKnZfBolIILWAUnPQHOFPPm+7zTqB+H1UiD0 I2DR9s4009EVXChMlP+FyzhEabrMXQtaknEFpZk8= Date: Tue, 29 Oct 2019 12:02:50 -0500 From: Bjorn Helgaas To: "Michael ." Cc: Dominik Brodowski , linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, Trevor Jacobs , Kris Cleveland , Jeff , Morgan Klym , Ulf Hansson , Philip Langdale , Pierre Ossman , Maxim Levitsky , linux-mmc@vger.kernel.org Subject: Re: PCI device function not being enumerated [Was: PCMCIA not working on Panasonic Toughbook CF-29] Message-ID: <20191029170250.GA43972@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org [+cc Ulf, Philip, Pierre, Maxim, linux-mmc; see [1] for beginning of thread, [2] for problem report and the patch Michael tested] On Tue, Oct 29, 2019 at 07:58:27PM +1100, Michael . wrote: > Bjorn and Dominik. > I am happy to let you know the patch did the trick, it compiled well > on 5.4-rc4 and my friends in the CC list have tested the modified > kernel and confirmed that both slots are now working as they should. > As a group of dedicated Toughbook users and Linux users please accept > our thanks your efforts and assistance is greatly appreciated. > > Now that we know this patch works what kernel do you think it will be > released in? Will it make 5.4 or will it be put into 5.5 development > for further testing? That patch was not intended to be a fix; it was just to test my guess that the quirk might be related. Removing the quirk solved the problem *you're* seeing, but the quirk was added in the first place to solve some other problem, and if we simply remove the quirk, we may reintroduce the original problem. So we have to look at the history and figure out some way to solve both problems. I cc'd some people who might have insight. Here are some commits that look relevant: 5ae70296c85f ("mmc: Disabler for Ricoh MMC controller") 03cd8f7ebe0c ("ricoh_mmc: port from driver to pci quirk") [1] https://lore.kernel.org/r/CAFjuqNi+knSb9WVQOahCVFyxsiqoGgwoM7Z1aqDBebNzp_-jYw@mail.gmail.com/ [2] https://lore.kernel.org/r/20191021160952.GA229204@google.com/