From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755976Ab1JNJ1K (ORCPT ); Fri, 14 Oct 2011 05:27:10 -0400 Received: from ezo.ezono.com ([50.22.105.208]:43352 "EHLO ezo.ezono.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755628Ab1JNJ1I convert rfc822-to-8bit (ORCPT ); Fri, 14 Oct 2011 05:27:08 -0400 Message-ID: <4E980065.3090509@ezono.com> Date: Fri, 14 Oct 2011 11:27:01 +0200 From: Abdelghani Ouchabane User-Agent: Mozilla/5.0 (X11; Linux i686; rv:7.0) Gecko/20110927 Thunderbird/7.0 MIME-Version: 1.0 To: Bjorn Helgaas CC: linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, Kenji Kaneshige Subject: Re: PCIe can not rescan for new PCIe device ( FPGA board ) References: <4E8EA746.6030103@ezono.com> <4E8F2758.3040408@ezono.com> <4E93FA07.306@ezono.com> <4E954251.5020801@ezono.com> <4E9549E5.4090405@ezono.com> In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7BIT X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - ezo.ezono.com X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - ezono.com Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > Thanks for the details. > > If I understand correctly: > > A - fails (card not present at power-on, added later) > B - works (card always present) > C - works (card present at power-on, later removed and re-added, > requires manual rescan) > > I see this note in section 9.4.8 (BIOS setup) of the conga-BAF User's Guide: > > Note: Unless the hotplug support for this port is enabled as well, > an unpopulated > port will still be disabled if no PCI Express device is connected. > > If you don't have hotplug enabled in the BIOS setup, it sounds like it > might result in the behavior you're seeing. Do you have that enabled? > > Bjorn Hallo Bjorn & Kenji, the hot-plug was enabled, but today I have received a new BIOS from Congatec which solves the problem. Among the fix is: _BBRAR009 to BBRAR110:_ 2. Enabled PCIExpress / ExpressCard basic hotplug support. Enabled event handling support. Now after the manual rescan my FPGA board gets detect correctly and I can access its registers in the correct way. Many thanks for all your supports. My best regards, Ghani