Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp599782ybv; Sat, 22 Feb 2020 10:14:36 -0800 (PST) X-Google-Smtp-Source: APXvYqw7ZIRTOwsryE3W0db4GrCSj1dUXakZ20YUO9nqPnFpE1TA/luNW0trepfHG7XQwqjpBuAg X-Received: by 2002:a05:6808:8fc:: with SMTP id d28mr7068163oic.152.1582395276736; Sat, 22 Feb 2020 10:14:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582395276; cv=none; d=google.com; s=arc-20160816; b=NUoLrLEBAYVKeZ23gUOnIXZ52dmKjtWfo6jIZbukHAu3BmJlgtUHNjaU/JPf0sO3l/ s7igNKB0as/bCG6r1elITrMiF0s06XUthbwluPCdTUmx7svxDaZ5twd3zjl4FMTpsvon TAipupb6DvmTuUClV6lSB0kCdfrgoJK2QDZhqiGWI8bLMXeNY//cjrDUeJk7ib8Zh+YZ TBDZ0e1ong+E4Ct/kwC01SqCQ6LHQITZ/MU5uPpV7zExllvnj2gLchBAFVD1p9UgZG3D Ojo5o5dxZSF2ECPKJIzMvlIpTjy79N7OEwR5NHgwaI8zS85QPWSj3ojWLpcSJ3hsFbQG z8/g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature; bh=wMQ3G8kaOVH0ihUQElGiW0JuHb2R8FaxxPppamq/tQA=; b=ymwEU19QPyAcnKJRNG6DDvTxs4sQN+36raMGXuNqZlNRihl6E8jxRdI1gTLU4wuMLX VmWLAw2qbDmfJVnQZrF+EpxBowjWyR9YIxvSqgLesfQ5oxcMamfCae6gqXj+ytLSB6o9 lMnaXVlv7T7CZ/E8Lb5x7+pKPS+oPdR9WxE+n6Ek35lUHL4IsvcQLfJpQ0OXYAWBiOdQ AWdGapfyf2CO7y/pLV4AvnyC44WNB+968TlioB6w3+D8xkTzbIhbcMR28525TU+aovmj AtkumYH0+s6lgGOv/wF/ne6gpzm2Djx/LDXGcS2Myfuy3FySIzvhK7S7n760FuvZeBQh U3xg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=aDIueX7p; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g2si3669873otn.117.2020.02.22.10.14.24; Sat, 22 Feb 2020 10:14:36 -0800 (PST) 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=@gmail.com header.s=20161025 header.b=aDIueX7p; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726892AbgBVSOP (ORCPT + 99 others); Sat, 22 Feb 2020 13:14:15 -0500 Received: from mail-oi1-f195.google.com ([209.85.167.195]:36636 "EHLO mail-oi1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726310AbgBVSOP (ORCPT ); Sat, 22 Feb 2020 13:14:15 -0500 Received: by mail-oi1-f195.google.com with SMTP id c16so5049164oic.3; Sat, 22 Feb 2020 10:14:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=wMQ3G8kaOVH0ihUQElGiW0JuHb2R8FaxxPppamq/tQA=; b=aDIueX7pw6x8YMKhYRmjDRoA6YurfllH+G6jkwW8LnR8ID1BIcNSV0w7tXNuROkVfG pM1Z9S37VGRz+XlzCJvJv5IvmOW0QALqb74XAaz/47e8NGnhgsMCpp/gRDpbPpNQaCNn v5tX7/EYx1cuxCwkpsnmgol52Fd1HHT9+LuLWZKwHwYjwjl4kSYtKsziWb+cl/gfdHk3 XKQN09ZDJYc1xyWdYPy1ilYdhTx96BWSLd9SNY/oGUILQZJkMC+iS2hVRTYPhFR6UbS2 V7iysw2fIAjXj+3vb+uXTUg8Nq+OWOJ5fNQNdCFlaEN+rxqnIwFiWnRo87nWry93aXDF BBqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=wMQ3G8kaOVH0ihUQElGiW0JuHb2R8FaxxPppamq/tQA=; b=gaxd5LczH+WBiWyvEEgYPoDTU/HKT64V3wVLvJMyZ2+PS8LySd3oP4Usxpqvv+7Ko7 p05OUVYVjXmxBIxPWo5X5VWOjUY9y8wkeokGyLO/kz3zeFRzmN2i9T05wv9+SoUz2dKV hZcmmGZUgfOH0/f0pRW+wT2/D5LA/ZDJ4xpk6wgn1ybPc7Bshsoc9yd5DwADu3oEzbr/ T3LW0uyqnYCpybmJzhOG5Izq3n1V9sT6WJsW8Qu+k46AGgY6HcOvG5Vq1StPgsJf0LtN rjrUnLoz5SgbfVz/eZF7Mbn9NSG1JvvrWn5bx5otxiCRWnirMzb9OSdvkawChWCmr5iH 0gJg== X-Gm-Message-State: APjAAAXkfn65cHCdyI6jgEAAaYtaiWsplxq1DoMbSg2UUEDjWnr0aax/ MJVT/huQ8Fm7joC4fvBPV77esev79QiKCOhOr+k= X-Received: by 2002:aca:c401:: with SMTP id u1mr6991120oif.62.1582395254316; Sat, 22 Feb 2020 10:14:14 -0800 (PST) MIME-Version: 1.0 Received: by 2002:a9d:12e:0:0:0:0:0 with HTTP; Sat, 22 Feb 2020 10:14:13 -0800 (PST) In-Reply-To: <20200222165617.GA207731@google.com> References: <20191029170250.GA43972@google.com> <20200222165617.GA207731@google.com> From: "Michael ." Date: Sun, 23 Feb 2020 05:14:13 +1100 Message-ID: Subject: Re: PCI device function not being enumerated [Was: PCMCIA not working on Panasonic Toughbook CF-29] To: Bjorn Helgaas 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 Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Bjorn, yes this is still unfixed. I'm sorry that I haven't been able to pursue this but the weather in Australia has been horrendous since October last year. Your proposals sound good but are way beyond my knowledge and skill level to implement. I, and my friends, are happy to help in any way we can. Cheers. Michael. P.S. I apologise for the double reply On 23/02/2020, Bjorn Helgaas wrote: > On Tue, Oct 29, 2019 at 12:02:50PM -0500, Bjorn Helgaas wrote: >> [+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/ > > I guess this problem is still unfixed? I hate the fact that we broke > something that used to work. > > Maybe we need some sort of DMI check in ricoh_mmc_fixup_rl5c476() so > we skip it for Toughbooks? Or maybe we limit the quirk to the > machines where it was originally needed? > > Bjorn >