Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp2874181ybg; Sun, 20 Oct 2019 02:10:01 -0700 (PDT) X-Google-Smtp-Source: APXvYqz35tmWRFt52wb/+k7NBeq7D7vriU249iOPQ5aSNp1wk+g70a15b3ag4WEhfcGOPJEMO43X X-Received: by 2002:a17:906:4c97:: with SMTP id q23mr16014588eju.78.1571562601114; Sun, 20 Oct 2019 02:10:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571562601; cv=none; d=google.com; s=arc-20160816; b=iu0q5WasLIkKmTbYBGQVvEGiy8t4+OlTk4QquCxse9hFg+P+Yc0UPMyrIpnzFIoT8b ZuiNAfCJ51QeI3sIKpqlJelpWGQwipuLxD/3/X9Ak7j2Lw1n7tgB/BGgnwCl4yCcBpS5 tEys9XkPIZLKakYHreUJ6yGgyirOQreplWoRLgMOwSJjBFWyQeOqG89PCzt0XbkmOw2z F+q7kkCf2kd3KjYBIoX2W7xHw+NLpm3yCQOUSfi4q0ObcNruMIMOAMKfGBHCiD40w25/ e3ovxvAeX3sKNeWLQ1cM0CmJLF1CX3pfcCYYzuxxjh38oI0CBV4w+ghewBuKS2QQcAOo 2eeQ== 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:references:message-id:subject:cc :to:from:date; bh=SdoXakWYEcgrlNBrqAPbLzMLtFYKP8smUyDT/I9yZkE=; b=uThWBGXgIJI+EWVaYGQsSdsJb5bI+PlKWpfD8EMV+4/Fvb/vmX93AVpEw1eDq41OLt 5a0vhmscrMgggNFPT3RK6xTZ/gejqsIA+aQPdrhbG4KM36v+7PxpIa8wKb1OwnSrqEOt rghEabvshnuDCz/lUVg2AiSM3UrFRTb8yfQTdn9F+vkw2Bm/t4QkwBs7D+/brzew2hfG HJL2jeY6v/XosiLfshGgAapRvBhC71uPSZ34YmvUXh7V8mBU3STVBrcnTmSxjPYLygpt lrpuYgVwkuK7+Ou5NqbiiRGzR/bTpd1BuEirV215R79TMOE/zR7z+jjo4vmxqGXhnZCf 6qxQ== ARC-Authentication-Results: i=1; mx.google.com; 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 o19si928672edz.97.2019.10.20.02.09.03; Sun, 20 Oct 2019 02:10:01 -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; 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 S1726205AbfJTJIh (ORCPT + 99 others); Sun, 20 Oct 2019 05:08:37 -0400 Received: from isilmar-4.linta.de ([136.243.71.142]:41470 "EHLO isilmar-4.linta.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726019AbfJTJIg (ORCPT ); Sun, 20 Oct 2019 05:08:36 -0400 X-isilmar-external: YES X-isilmar-external: YES X-isilmar-external: YES X-isilmar-external: YES X-isilmar-external: YES X-isilmar-external: YES X-isilmar-external: YES X-isilmar-external: YES Received: from light.dominikbrodowski.net (brodo.linta [10.1.0.102]) by isilmar-4.linta.de (Postfix) with ESMTPSA id 343082006DB; Sun, 20 Oct 2019 09:08:35 +0000 (UTC) Received: by light.dominikbrodowski.net (Postfix, from userid 1000) id 4B01C20552; Sun, 20 Oct 2019 11:08:00 +0200 (CEST) Date: Sun, 20 Oct 2019 11:08:00 +0200 From: Dominik Brodowski To: bhelgaas@google.com, linux-pci@vger.kernel.org Cc: "Michael ." , linux-kernel@vger.kernel.org, Trevor Jacobs , Kris Cleveland , Jeff , Morgan Klym Subject: PCI device function not being enumerated [Was: PCMCIA not working on Panasonic Toughbook CF-29] Message-ID: <20191020090800.GA2778@light.dominikbrodowski.net> References: <20191015064801.GA104469@owl.dominikbrodowski.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.12.2 (2019-09-21) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On the basis of the additional information (thanks), there might be a more specific path to investigate: It is that the PCI code does not enumerate the second cardbus bridge PCI function in the more recent 4.19 kernel compared to the anvient (and working) 2.6 kernel. Namely, only one CardBus bridge is recognized ... 06:01.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev 8b) 06:01.1 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 11) 06:02.0 Network controller: Intel Corporation PRO/Wireless 2915ABG [Calexico2] Network Connection (rev 05) ... instead of the two which really should be present: ... 06:01.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev 8b) 06:01.1 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev 8b) 06:01.2 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 11) 06:02.0 Network controller: Intel Corporation PRO/Wireless 2915ABG [Calexico2] Network Connection (rev 05) ... To the PCI folks: any idea on what may cause the second cardbus bridge PCI device function to be missed? Are there any command line options the users who reported this issue[*] may try? As this isn't really a PCMCIA (16bit) issue, but a PCI enumeration issue, this issue is outside my area of expertise. Thanks, Dominik [*] For more information, see this thread: https://lore.kernel.org/lkml/CAFjuqNi+knSb9WVQOahCVFyxsiqoGgwoM7Z1aqDBebNzp_-jYw@mail.gmail.com/