linux-mips
[Top] [All Lists]

Re: [PATCH] MIPS: PCI: scan PCI controllers in reverse order

To: Mathias Kresin <dev@kresin.me>, ralf@linux-mips.org
Subject: Re: [PATCH] MIPS: PCI: scan PCI controllers in reverse order
From: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Date: Wed, 15 Mar 2017 12:04:11 +0300
Cc: linux-mips@linux-mips.org
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cogentembedded-com.20150623.gappssmtp.com; s=20150623; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=FW2o8K6fXXPrg3a1JaBQMaT2gpKhtVDvBiYZ/D/asuI=; b=SWto5+XUs3VzazoEeBAlLjiJcdd7VsdbYzBXjarsDCbUGh3ss3NoQsT4vvyczFKEYf WRxv8BoaBdE5H9ZlePwjNHdlTLGHYKaFJ6ScThLqp+gZjL5Krvr7raEphPUskcfVEAJH fjqTEF7SRI0Bzjkxe0hGas+fsTKZ7cH9SK9T4f9/mM5KUHphlOBahxVROd1iucmcg3xa li0Li3avOjZyoaeUtwSXa+GR0nPLIIe3fp/0psCArpIoeb4OwZs43lrKrm8Tr7oNqC+B aD91N6pR37O9vvsNOgnXkkh7iEZoFi/V6zkTXcPAKvChMtkddaYNsLiwsQZVPqHgrZe7 qA+A==
In-reply-to: <1489565039-2621-1-git-send-email-dev@kresin.me>
List-archive: <http://www.linux-mips.org/archives/linux-mips/>
List-help: <mailto:ecartis@linux-mips.org?Subject=help>
List-id: linux-mips <linux-mips.eddie.linux-mips.org>
List-owner: <mailto:ralf@linux-mips.org>
List-post: <mailto:linux-mips@linux-mips.org>
List-software: Ecartis version 1.0.0
List-subscribe: <mailto:ecartis@linux-mips.org?subject=subscribe%20linux-mips>
List-unsubscribe: <mailto:ecartis@linux-mips.org?subject=unsubscribe%20linux-mips>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <1489565039-2621-1-git-send-email-dev@kresin.me>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
Hello!

On 3/15/2017 11:03 AM, Mathias Kresin wrote:

Commit 23dac14d05 "MIPS: PCI: Use struct list_head lists" changed the

   Need 12 digits and () around "<summary>".

controller list from reverse to straight order without taking care of
the changed order for the scan of the recorded PCI controllers.

Traverse the list in reverse order to restore the former behaviour.

This patches fixes the following PCI error on lantiq:

  pci 0000:01:00.0: BAR 0: error updating (0x1c000004 != 0x000000)

Fixes: 23dac14d05 ("MIPS: PCI: Use struct list_head lists")

   Need 12 digits.

Signed-off-by: Mathias Kresin <dev@kresin.me>
[...]

MBR, Sergei


<Prev in Thread] Current Thread [Next in Thread>