From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.3 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7BAE3CA9EA9 for ; Sun, 20 Oct 2019 09:09:04 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 5312621928 for ; Sun, 20 Oct 2019 09:09:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726225AbfJTJIh (ORCPT ); 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/