From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752452Ab3LSGJ1 (ORCPT ); Thu, 19 Dec 2013 01:09:27 -0500 Received: from userp1040.oracle.com ([156.151.31.81]:44188 "EHLO userp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751813Ab3LSGJY (ORCPT ); Thu, 19 Dec 2013 01:09:24 -0500 From: Yinghai Lu To: Bjorn Helgaas Cc: Guo Chao , linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, Yinghai Lu Subject: [PATCH v5 0/3] PCI: allocate 64bit mmio pref Date: Wed, 18 Dec 2013 22:09:37 -0800 Message-Id: <1387433380-18564-1-git-send-email-yinghai@kernel.org> X-Mailer: git-send-email 1.8.4 X-Source-IP: ucsinet21.oracle.com [156.151.31.93] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org mmio 64 allocation that could help Guo Chao on powerpc mmio allocation. It will try to assign 64 bit resource above 4g at first. And it is based on current pci/next and pci/resource. -v2: update after patch that move device_del down to pci_destroy_dev. add "Try best to allocate pref mmio 64bit above 4G" -v3: refresh and send out after pci_clip_resource() changes, as Bjorn is not happy with attachments. -v4: make pcibios_resource_to_bus take bus directly. -v5: fix non-pref mmio64 allocation problem found by Guo Chao. refresh last three as Bjorn update first two and put them in pci/resource Yinghai Lu (3): PCI: Try to allocate mem64 above 4G at first PCI: Try best to allocate pref mmio 64bit above 4g PCI: Sort pci root bus resources list drivers/pci/bus.c | 43 +++++++++++---- drivers/pci/setup-bus.c | 138 ++++++++++++++++++++++++++++++++---------------- drivers/pci/setup-res.c | 20 ++++++- 3 files changed, 144 insertions(+), 57 deletions(-) -- 1.8.4