Remove mc_capable() and smt_capable(). Neither is used.
Both were added by 5c45bf279d37 (sched: mc/smt power savings sched
policy). Uses of both were removed by 8e7fbcbc22c1 (sched: Remove stale
power aware scheduling remnants and dysfunctional knobs).
Signed-off-by: Bjorn Helgaas bhelg
Remove sparc64_multi_core because it's not used any more.
It was added by a2f9f6bbb30e (Fix {mc,smt}_capable()), and the last uses
were removed by e637d96bf462 (sched: Remove unused mc_capable() and
smt_capable()).
Signed-off-by: Bjorn Helgaas bhelg...@google.com
---
arch/sparc/include/asm
On Thu, Feb 13, 2014 at 09:13:58PM +0800, Yijing Wang wrote:
Replace list_for_each() + pci_bus_b() with the simpler
list_for_each_entry().
Signed-off-by: Yijing Wang wangyij...@huawei.com
I applied all six of these (please include a 0/6 cover letter in the
future; that's a nice place to note
On Wed, Jan 08, 2014 at 03:58:08PM -0600, Scott Wood wrote:
On Wed, 2014-01-08 at 13:01 +0800, Minghuan Lian wrote:
PowerPC uses structure pci_controller to describe PCI controller,
but ARM uses structure pci_sys_data. In order to support PowerPC
and ARM simultaneously, the patch adds a
On Fri, Dec 20, 2013 at 3:03 AM, Dongsheng Wang
dongsheng.w...@freescale.com wrote:
From: Wang Dongsheng dongsheng.w...@freescale.com
make Freescale platform use pci_platform_pm_ops struct.
This changelog doesn't say anything about what the patch does.
I infer that you want to use
On Thu, Sep 26, 2013 at 08:32:53AM -0400, Mark Lord wrote:
On 13-09-18 05:48 AM, Alexander Gordeev wrote:
The last pattern makes most of sense to me and could be updated with a more
clear sequence - a call to (bit modified) pci_msix_table_size() followed
by a call to pci_enable_msix(). I
On Mon, Dec 9, 2013 at 8:59 PM, Benjamin Herrenschmidt b...@au1.ibm.com wrote:
On Mon, 2013-12-09 at 17:01 -0700, Bjorn Helgaas wrote:
[+cc arch lists]
On Thu, Dec 05, 2013 at 07:52:53PM +0800, Yijing Wang wrote:
Use dev_is_pci() instead of directly compare
pci_bus_type to check whether
[+cc arch lists]
On Thu, Dec 05, 2013 at 07:52:53PM +0800, Yijing Wang wrote:
Use dev_is_pci() instead of directly compare
pci_bus_type to check whether it is pci device.
Signed-off-by: Yijing Wang wangyij...@huawei.com
I applied all these to my pci/yijing-dev_is_pci branch for v3.14,
On Wed, Oct 23, 2013 at 06:41:23PM +0800, Minghuan Lian wrote:
The Freescale's Layerscape series processors will use ARM cores.
The LS1's PCIe controllers is the same as T4240's. So it's better
the PCIe controller driver can support PowerPC and ARM
simultaneously. This patch is for this
On Tue, Nov 19, 2013 at 10:47:05AM +0530, Bharat Bhushan wrote:
In Aperture type of IOMMU (like FSL PAMU), VFIO-iommu system need to know
the MSI region to map its window in h/w. This patch just defines the
required weak functions only and will be used by followup patches.
Signed-off-by:
On Sun, Oct 13, 2013 at 02:02:32AM +0530, Varun Sethi wrote:
Factor out PCI specific code in the PAMU driver.
Signed-off-by: Varun Sethi varun.se...@freescale.com
---
drivers/iommu/fsl_pamu_domain.c | 81
+++
1 file changed, 40 insertions(+), 41
On Fri, Aug 16, 2013 at 4:05 PM, Bjorn Helgaas bhelg...@google.com wrote:
On Tue, Aug 6, 2013 at 11:41 PM, Leon Ravich lrav...@gmail.com wrote:
From comparison of pci printout from the two kernel ,
beside the EDAC errors I noticed other strange differences:
In 3.8.13 I got BAR 7 and BAR 8
On Wed, Oct 9, 2013 at 4:14 AM, Lian Minghuan-b31939
b31...@freescale.com wrote:
arch/powerpc/sysdev/fsl_pci.c | 521 +-
arch/powerpc/sysdev/fsl_pci.h | 89
.../fsl_pci.c = drivers/pci/host/pci-fsl-common.c | 591
On Thu, Oct 3, 2013 at 11:19 PM, Bhushan Bharat-R65777
r65...@freescale.com wrote:
I don't know enough about VFIO to understand why these new interfaces are
needed. Is this the first VFIO IOMMU driver? I see vfio_iommu_spapr_tce.c
and
vfio_iommu_type1.c but I don't know if they're
[+cc Ben, Paul, linuxppc-dev]
On Mon, Sep 30, 2013 at 04:52:54PM +0800, Minghuan Lian wrote:
The Freescale's Layerscape series processors will use ARM cores.
The LS1's PCIe controllers is the same as T4240's. So it's better
the PCIe controller driver can support PowerPC and ARM
- u32 msiir_offset; /* Offset of MSIIR, relative to start of CCSR */
+ dma_addr_t msiir; /* MSIIR Address in CCSR */
Are you sure dma_addr_t is right here, versus phys_addr_t? It implies
that it's the output of the DMA API, but I don't think the DMA API is
used in the MSI driver.
On Fri, Sep 20, 2013 at 07:27:36AM -0500, Tejun Heo wrote:
On Fri, Sep 20, 2013 at 10:24:59AM +0200, Alexander Gordeev wrote:
* Make pci_enable_msix() return 0/-errno
My choice would be this one.
I agree; it sounds like you've identified several bugs related to the
current confusing
On Thu, Sep 19, 2013 at 12:59:17PM +0530, Bharat Bhushan wrote:
This patch adds interface to get following information
- Number of MSI regions (which is number of MSI banks for powerpc).
- Get the region address range: Physical page which have the
address/addresses used for generating
, Paul, this has no dependencies on anything new to PCI or any
other patches in this series, so you can take it through the POWERPC
tree. If you don't want to do that, let me know and I can take it.
If you want it:
Acked-by: Bjorn Helgaas bhelg...@google.com
diff --git a/arch/powerpc/kernel/eeh.c
On Tue, Aug 6, 2013 at 11:41 PM, Leon Ravich lrav...@gmail.com wrote:
From comparison of pci printout from the two kernel ,
beside the EDAC errors I noticed other strange differences:
In 3.8.13 I got BAR 7 and BAR 8:
[ 39.017749] pci :00:00.0: BAR 8: assigned [mem 0xc000-0xdfff]
[+cc linuxppc-dev]
On Mon, Aug 5, 2013 at 5:17 AM, Leon Ravich lrav...@gmail.com wrote:
Hi all ,
I am trying to upgrade ours embedded device (freescale powerPC P2020 cpu)
linux kernel , till now we used 2.6.32 I am trying to upgrade to 3.8.13 .
I took the source from freescale git:
versions of those functions. For this reason, the ARCH_SUPPORTS_MSI
hidden kconfig boolean becomes useless, and this patch gets rid of it.
Signed-off-by: Thomas Petazzoni thomas.petazz...@free-electrons.com
Acked-by: Bjorn Helgaas bhelg...@google.com
Cc: Benjamin Herrenschmidt b
and
CONFIG_HOTPLUG_PCI_PCIE=y combination was accepted by Kconfig and builds a
kernel, but pciehp doesn't actually work in that case (pointed out by
Yinghai, thanks!)
These are intended for v3.11.
---
Bjorn Helgaas (2):
PCI: hotplug: Convert to be builtin only, not modular
PCI
Convert CONFIG_HOTPLUG_PCI from tristate to bool. This only affects
the hotplug core; several of the hotplug drivers can still be modules.
Signed-off-by: Bjorn Helgaas bhelg...@google.com
---
arch/ia64/configs/generic_defconfig|2 +-
arch/ia64/configs/gensparse_defconfig |2
Convert pciehp to be builtin only, with no module option.
Signed-off-by: Bjorn Helgaas bhelg...@google.com
Acked-by: Rafael J. Wysocki rafael.j.wyso...@intel.com
---
drivers/pci/pcie/Kconfig |5 +
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/drivers/pci/pcie/Kconfig b
Acked-by: Bjorn Helgaas bhelg...@google.com
---
arch/mips/include/asm/pci.h| 5 -
arch/powerpc/include/asm/pci.h | 5 -
arch/s390/include/asm/pci.h| 4
arch/x86/include/asm/pci.h | 28 --
arch/x86/kernel/x86_init.c | 21
[+cc linux-pci]
On Tue, Jul 23, 2013 at 8:24 PM, Gavin Shan sha...@linux.vnet.ibm.com wrote:
Since pcibios_release_device() called by pci_stop_and_remove_bus_device()
has removed the EEH cache, we needn't do that again.
Cc: Bjorn Helgaas bhelg...@google.com
Acked-by: Bjorn Helgaas bhelg
On Mon, Jul 22, 2013 at 12:52 AM, Chen Gang gang.c...@asianux.com wrote:
pnv_pci_init_ioda2_phb() is only used during boot up, so need add
'__init' to save the related memory, and avoid related warning:
The function .pnv_pci_init_ioda2_phb() references
the function __init
On Sat, Jul 6, 2013 at 7:54 AM, Jason Cooper ja...@lakedaemon.net wrote:
On Fri, Jul 05, 2013 at 11:45:01PM +0200, Thomas Petazzoni wrote:
Dear Bjorn Helgaas,
On Fri, 5 Jul 2013 15:37:33 -0600, Bjorn Helgaas wrote:
Acked-by: Bjorn Helgaas bhelg...@google.com
Again, please update
and device during the time. The patch introduces
hook pcibios_stop_dev() for the purpose.
Cc: Bjorn Helgaas bhelg...@google.com
Cc: linux-...@vger.kernel.org
Signed-off-by: Gavin Shan sha...@linux.vnet.ibm.com
---
drivers/pci/probe.c |4
drivers/pci/remove.c |2 ++
include/linux
On Thu, Jul 4, 2013 at 8:57 PM, Gavin Shan sha...@linux.vnet.ibm.com wrote:
Since pci_stop_and_remove_bus_device() has removed the EEH cache,
we needn't do that again.
Cc: Bjorn Helgaas bhelg...@google.com
Cc: linux-...@vger.kernel.org
Signed-off-by: Gavin Shan sha...@linux.vnet.ibm.com
Acked-by: Bjorn Helgaas bhelg...@google.com
---
arch/mips/include/asm/pci.h| 5 -
arch/powerpc/include/asm/pci.h | 5 -
arch/s390/include/asm/pci.h| 4
arch/x86/include/asm/pci.h | 28 --
arch/x86/kernel/x86_init.c | 21
On Fri, Jul 5, 2013 at 3:32 PM, Bjorn Helgaas bhelg...@google.com wrote:
Acked-by: Bjorn Helgaas bhelg...@google.com
But please update your subject line to use consistent capitalization, e.g.,
PCI: Use weak ...
___
Linuxppc-dev mailing list
Linuxppc
Cc: Chris Metcalf cmetc...@tilera.com
Acked-by: Bjorn Helgaas bhelg...@google.com
Again, please update the subject line to PCI: Remove ...
I doubt that you'll get explicit acks from all the arches you touched,
but I think it's reasonable to put at least patches 2 3 in -next
soon after v3.11-rc1
On Fri, Jul 5, 2013 at 4:36 PM, Benjamin Herrenschmidt
b...@kernel.crashing.org wrote:
On Fri, 2013-07-05 at 12:49 -0600, Bjorn Helgaas wrote:
We already have pcibios_release_device() (just merged for v3.11).
Would that work for you? I haven't seen your whole series, so I can't
tell whether
On Mon, Jul 1, 2013 at 11:30 PM, Thomas Petazzoni
thomas.petazz...@free-electrons.com wrote:
Dear Michael Ellerman,
On Tue, 02 Jul 2013 10:53:16 +1000, Michael Ellerman wrote:
On Mon, 2013-07-01 at 15:42 +0200, Thomas Petazzoni wrote:
Until now, the MSI architecture-specific functions could
a section mismatch warning.
Signed-off-by: Bjorn Helgaas bhelg...@google.com
---
arch/powerpc/platforms/powernv/pci-ioda.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/powerpc/platforms/powernv/pci-ioda.c
b/arch/powerpc/platforms/powernv/pci-ioda.c
index 9c9d15e
Previously we initialized dev-current_state to 4 (PCI_D3cold), but I think
we wanted PCI_UNKNOWN (5) here based on the comment and the fact that the
generic version of this code, pci_setup_device(), uses PCI_UNKNOWN.
Signed-off-by: Bjorn Helgaas bhelg...@google.com
---
arch/powerpc/kernel
Previously we initialized dev-current_state to 4 (PCI_D3cold), but I think
we wanted PCI_UNKNOWN (5) here based on the comment and the fact that the
generic version of this code, pci_setup_device(), uses PCI_UNKNOWN.
Signed-off-by: Bjorn Helgaas bhelg...@google.com
---
arch/sparc/kernel/pci.c
On Mon, May 20, 2013 at 5:19 PM, Bjorn Helgaas bhelg...@google.com wrote:
Previously we initialized dev-current_state to 4 (PCI_D3cold), but I think
we wanted PCI_UNKNOWN (5) here based on the comment and the fact that the
generic version of this code, pci_setup_device(), uses PCI_UNKNOWN
On Mon, May 20, 2013 at 5:42 PM, Benjamin Herrenschmidt
b...@kernel.crashing.org wrote:
On Mon, 2013-05-20 at 17:19 -0600, Bjorn Helgaas wrote:
Previously we initialized dev-current_state to 4 (PCI_D3cold), but I think
we wanted PCI_UNKNOWN (5) here based on the comment and the fact
On Sun, May 5, 2013 at 11:50 PM, Benjamin Herrenschmidt
b...@kernel.crashing.org wrote:
The PCI core supports an offset per aperture nowadays but our arch
code still has a single offset per host bridge representing the
difference betwen CPU memory addresses and PCI MMIO addresses.
This is a
On Thu, Apr 25, 2013 at 3:49 AM, Andrew Murray andrew.mur...@arm.com wrote:
This patch moves struct pci_controller into asm-generic to allow
for use by other architectures thus reducing code duplication in
the kernel.
Signed-off-by: Andrew Murray andrew.mur...@arm.com
---
-by: Bjorn Helgaas bhelg...@google.com
fs/proc/generic.c | 13 +++
include/linux/proc_fs.h |5
kernel/configs.c |2 +-
kernel/profile.c |2 +-
net/netfilter/xt_recent.c
On Wed, Apr 17, 2013 at 2:04 PM, Alex Deucher alexdeuc...@gmail.com wrote:
On Wed, Apr 17, 2013 at 8:38 AM, Lucas Kannebley Tavares
luca...@linux.vnet.ibm.com wrote:
On 04/12/2013 01:38 PM, Bjorn Helgaas wrote:
On Thu, Apr 11, 2013 at 7:13 AM, Lucas Kannebley Tavares
luca
On Wed, Apr 17, 2013 at 2:17 PM, Alex Deucher alexdeuc...@gmail.com wrote:
On Wed, Apr 17, 2013 at 4:11 PM, Bjorn Helgaas bhelg...@google.com wrote:
On Wed, Apr 17, 2013 at 2:04 PM, Alex Deucher alexdeuc...@gmail.com wrote:
On Wed, Apr 17, 2013 at 8:38 AM, Lucas Kannebley Tavares
luca
On Mon, Apr 15, 2013 at 8:58 AM, Joerg Roedel j...@8bytes.org wrote:
On Mon, Apr 15, 2013 at 12:42:00AM +0530, Varun Sethi wrote:
swap_pci_ref function is used by the IOMMU API code for swapping pci device
pointers, while determining the iommu group for the device.
Currently this function was
On Thu, Apr 11, 2013 at 7:13 AM, Lucas Kannebley Tavares
luca...@linux.vnet.ibm.com wrote:
radeon currently uses a drm function to get the speed capabilities for
the bus. However, this is a non-standard method of performing this
detection and this patch changes it to use the max_bus_speed
-by: Brian King brk...@linux.vnet.ibm.com
Acked-by: Bjorn Helgaas bhelg...@google.com
Feel free to put this in the powerpc tree along with the set default
VGA device patch.
---
drivers/pci/probe.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff -puN drivers/pci/probe.c
On Sat, Apr 6, 2013 at 2:00 AM, Benjamin Herrenschmidt
b...@kernel.crashing.org wrote:
On Fri, 2013-04-05 at 14:11 -0600, Bjorn Helgaas wrote:
I think sparc has the same issue in its own copy of
of_create_pci_dev().
Of course, both of_create_pci_dev() implementations are basically
copies
On Thu, Apr 4, 2013 at 3:58 PM, Brian King brk...@linux.vnet.ibm.com wrote:
Initialize dev-dev.type such that the PCI group attributes for boot_vga
and SR-IOV can be displayed if appropriate. This fixes an issue seen on
Power preventing X from auto initializing a graphics adapter when using
On Thu, Apr 4, 2013 at 3:58 PM, Brian King brk...@linux.vnet.ibm.com wrote:
Add a PCI quirk for VGA devices on Power to set the default VGA device.
Ensures a default VGA is always set if a graphics adapter is present,
even if firmware did not initialize it. If more than one graphics
adapter
On Mon, Apr 1, 2013 at 4:29 AM, Chen Yuanquan-B41889
b41...@freescale.com wrote:
On 12/08/2012 05:15 AM, Bjorn Helgaas wrote:
On Thu, Dec 6, 2012 at 4:23 AM, Chen Yuanquan-B41889
b41...@freescale.com wrote:
On 12/06/2012 05:30 AM, Bjorn Helgaas wrote:
On Wed, Dec 5, 2012 at 2:29 AM, Chen
On Wed, Mar 27, 2013 at 9:25 AM, Benjamin Herrenschmidt
b...@kernel.crashing.org wrote:
On Tue, 2013-03-26 at 12:39 -0600, Bjorn Helgaas wrote:
But we also know pdev is a PCIe device, and I think a PCIe device on a
root bus must be a Root Complex Integrated Endpoint (PCIe spec sec
1.3.2.3
On Tue, Mar 19, 2013 at 11:24 PM, Lucas Kannebley Tavares
luca...@linux.vnet.ibm.com wrote:
Added function to gather the speed cap for a device and return a mask to
supported speeds. The function is divided into an interface and a weak
implementation so that architecture-specific functions can
On Sun, Jan 27, 2013 at 12:23 PM, Yinghai Lu ying...@kernel.org wrote:
Now we have pci_root_buses list, and there is lots of iteration with
list_of_each of it, that is not safe after we add pci root bus hotplug
support after booting stage.
Add pci_get_next_host_bridge and use bus_find_device
On Thu, Dec 6, 2012 at 4:23 AM, Chen Yuanquan-B41889
b41...@freescale.com wrote:
On 12/06/2012 05:30 AM, Bjorn Helgaas wrote:
On Wed, Dec 5, 2012 at 2:29 AM, Chen Yuanquan-B41889
b41...@freescale.com wrote:
On 12/05/2012 04:26 PM, Benjamin Herrenschmidt wrote:
On Wed, 2012-12-05 at 16:20
On Wed, Dec 5, 2012 at 2:29 AM, Chen Yuanquan-B41889
b41...@freescale.com wrote:
On 12/05/2012 04:26 PM, Benjamin Herrenschmidt wrote:
On Wed, 2012-12-05 at 16:20 +0800, Chen Yuanquan-B41889 wrote:
On 12/05/2012 03:17 PM, Benjamin Herrenschmidt wrote:
On Wed, 2012-12-05 at 10:31 +0800,
On Tue, Nov 13, 2012 at 3:32 AM, Geert Uytterhoeven
ge...@linux-m68k.org wrote:
On Mon, Nov 12, 2012 at 10:26 PM, Stephen Rothwell s...@canb.auug.org.au
wrote:
diff --git a/arch/Kconfig b/arch/Kconfig
index 366ec06..9bc00e7 100644
--- a/arch/Kconfig
+++ b/arch/Kconfig
@@ -271,6 +271,13 @@
On Mon, Jun 18, 2012 at 4:55 PM, Benjamin Herrenschmidt
b...@kernel.crashing.org wrote:
On Mon, 2012-06-18 at 15:06 -0600, Bjorn Helgaas wrote:
We're moving the CardBus IRQ config from before pci_bus_add_devices()
to after. I see why you did that: we're proposing to do the powerpc
DMA IRQ
On Mon, Sep 10, 2012 at 7:29 PM, Stephen Rothwell s...@canb.auug.org.au wrote:
Hi Bjorn,
After merging the pci tree, today's linux-next build (powerpc
ppc64_defconfig) failed like this:
arch/powerpc/platforms/powernv/pci-ioda.c: In function
'pnv_pci_window_alignment':
On Mon, Aug 6, 2012 at 8:45 PM, Zang Roy-R61911 r61...@freescale.com wrote:
-Original Message-
From: Linuxppc-dev [mailto:linuxppc-dev-bounces+tie-
fei.zang=freescale@lists.ozlabs.org] On Behalf Of Liu Shengzhou-B36685
Sent: Thursday, July 26, 2012 11:45 AM
To:
On Thu, Aug 23, 2012 at 12:28:23AM -0700, Olof Johansson wrote:
Hi,
On Mon, Jul 9, 2012 at 11:20 AM, Bjorn Helgaas bhelg...@google.com wrote:
After 253d2e5498, we disable MEM and IO decoding for most devices while we
size 32-bit BARs. However, we restore the original COMMAND register
On Tue, Jul 17, 2012 at 10:25 PM, Ram Pai linux...@us.ibm.com wrote:
On Tue, Jul 17, 2012 at 11:14:51AM -0600, Bjorn Helgaas wrote:
On Tue, Jul 17, 2012 at 4:38 AM, Benjamin Herrenschmidt
b...@kernel.crashing.org wrote:
On Tue, 2012-07-17 at 18:03 +0800, Ram Pai wrote:
Lets say we
On Tue, Jul 17, 2012 at 4:38 AM, Benjamin Herrenschmidt
b...@kernel.crashing.org wrote:
On Tue, 2012-07-17 at 18:03 +0800, Ram Pai wrote:
Lets say we passed that 'type' flag to size the minimum
alignment constraints for that b_res. And window_alignment(bus,
type) of
On Sun, Jul 15, 2012 at 9:50 PM, Gavin Shan sha...@linux.vnet.ibm.com wrote:
On Fri, Jul 13, 2012 at 02:12:50PM -0600, Bjorn Helgaas wrote:
On Fri, Jun 29, 2012 at 02:47:48PM +0800, Gavin Shan wrote:
On some powerpc platforms, device BARs need to be assigned to separate
segments of the address
On Mon, Jul 16, 2012 at 11:30:23PM +0800, Gavin Shan wrote:
v1 - v2:
* Shorten the varaible names so that they looks more short.
* Changelog adjustment so that they looks more meaningful.
v2 - v3:
* Rebase to 3.5.RC4
v3 - v4:
* Merge Yinghai's patches.
v3 -
On Mon, Jul 16, 2012 at 11:30:27PM +0800, Gavin Shan wrote:
The patch implements the weak function to return the default I/O
or memory alignment for P2P bridge. Currently, I/O window has 4KiB
alignment and memory window is 4MiB aligned by default. On the other
hand, those platforms (e.g.
On Mon, Jul 16, 2012 at 11:30:28PM +0800, Gavin Shan wrote:
The patch changes function pbus_size_io() and pbus_size_mem() to
do resource (I/O, memory and prefetchable memory) reassignment
based on the minimal alignments for the p2p bridge, which was
retrieved by function
On Fri, Jun 29, 2012 at 02:47:48PM +0800, Gavin Shan wrote:
On some powerpc platforms, device BARs need to be assigned to separate
segments of the address space in order for the error isolation and HW
virtualization mechanisms (EEH) to work properly. Those segments have
a minimum size that can
On Wed, Jun 27, 2012 at 8:48 AM, Gavin Shan sha...@linux.vnet.ibm.com wrote:
For allocating resource under bus path, we do have dev pass along,
and we could just use bus instead. Also, we'd like to make function
find_pci_host_bridge() global so that some platforms (e.g. PPC) can
access the pci
On Wed, Jun 27, 2012 at 8:48 AM, Gavin Shan sha...@linux.vnet.ibm.com wrote:
On some powerpc platforms, device BARs need to be assigned to separate
segments of the address space in order for the error isolation and HW
virtualization mechanisms (EEH) to work properly. Those segments have
a
On Mon, Jun 18, 2012 at 2:39 PM, Benjamin Herrenschmidt
b...@kernel.crashing.org wrote:
On Mon, 2012-06-18 at 09:23 -0600, Bjorn Helgaas wrote:
Ooh, sorry about that. Who's going to push this fix? I don't see it
in Linus' tree yet. If you want me to, please forward me the original
patch
On Tue, Jun 5, 2012 at 11:15 PM, Benjamin Herrenschmidt
b...@kernel.crashing.org wrote:
On Tue, 2012-06-05 at 23:50 -0400, Ben Collins wrote:
The commit introducing pcibios_io_space_offset() was ignoring 32-bit to
64-bit sign extention, which is the case on ppc32 with 64-bit resource
On Fri, Jun 15, 2012 at 7:15 AM, Wanpeng Li liwp.li...@gmail.com wrote:
From: Wanpeng Li l...@linux.vnet.ibm.com
Warning(drivers/pci/setup-bus.c:277): No description found for parameter
'fail_head'
Warning(drivers/pci/setup-bus.c:277): Excess function parameter 'failed_list'
description in
I'm trying to make some progress on these patches, but I'm concerned
about this bit:
diff --git a/drivers/pcmcia/cardbus.c b/drivers/pcmcia/cardbus.c
index 24caeaf..a980691 100644
--- a/drivers/pcmcia/cardbus.c
+++ b/drivers/pcmcia/cardbus.c
@@ -85,7 +84,6 @@ int __ref cb_alloc(struct
On Tue, Jun 5, 2012 at 11:26 PM, Benjamin Herrenschmidt
b...@kernel.crashing.org wrote:
On Wed, 2012-05-23 at 11:33 +0900, Hiroo Matsumoto wrote:
This patchset is for PCI hotplug.
pcibios_setup_bus_devices which sets DMA and IRQs of PCI device is called
only when boot. DMA setting in probe
On Thu, May 24, 2012 at 9:00 PM, Benjamin Herrenschmidt
b...@kernel.crashing.org wrote:
On Wed, 2012-05-23 at 16:37 -0600, Bjorn Helgaas wrote:
From: Hiroo Matsumoto matsumoto.hi...@jp.fujitsu.com
PowerPC initialized DMA and IRQ information in the pci_scan_child_bus()
- pcibios_fixup_bus
On Wed, May 23, 2012 at 11:51 AM, Jesse Larrew
jlar...@linux.vnet.ibm.com wrote:
On 05/22/2012 09:33 PM, Hiroo Matsumoto wrote:
+static int pcibios_device_change_notifier(struct notifier_block *nb,
+ unsigned long action, void *data)
+{
+ struct
Here's what I put in my for-3.6 branch for now. We can still change
it, so let me know if you see any problems.
I reworked the changelogs, changed the notification function name per
Jesse, folded the one-line pcibios_setup_bus_notifier() into the only
caller (on microblaze), and changed it from
: MAC: 1, PHY: 4, PBA No: D50861-003
[bhelgaas: changelog, notifier name, registration can be __init]
CC: Dominik Brodowski li...@dominikbrodowski.net
Signed-off-by: Hiroo MATSUMOTO matsumoto.hi...@jp.fujitsu.com
Signed-off-by: Bjorn Helgaas bhelg...@google.com
---
arch/powerpc/include/asm/pci.h
, inline registration]
Signed-off-by: Hiroo MATSUMOTO matsumoto.hi...@jp.fujitsu.com
Signed-off-by: Bjorn Helgaas bhelg...@google.com
---
arch/microblaze/include/asm/pci.h |1 -
arch/microblaze/pci/pci-common.c | 62 -
2 files changed, 34 insertions(+), 29
an...@samba.org
CC: Benjamin Herrenschmidt b...@kernel.crashing.org
CC: linuxppc-dev@lists.ozlabs.org
Signed-off-by: Bjorn Helgaas bhelg...@google.com
---
arch/powerpc/kernel/pci_of_scan.c | 12
1 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/arch/powerpc/kernel
Signed-off-by: Bjorn Helgaas bhelg...@google.com
---
arch/powerpc/platforms/pasemi/pci.c |3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/arch/powerpc/platforms/pasemi/pci.c
b/arch/powerpc/platforms/pasemi/pci.c
index b27d886..aa86271 100644
--- a/arch/powerpc/platforms
We believe there's no reason to prevent reallocation on PA Semi, so
revert to the default of allow reallocation if necessary.
CC: Olof Johansson o...@lixom.net
CC: Benjamin Herrenschmidt b...@kernel.crashing.org
CC: linuxppc-dev@lists.ozlabs.org
Signed-off-by: Bjorn Helgaas bhelg...@google.com
Herrenschmidt b...@kernel.crashing.org
CC: linuxppc-dev@lists.ozlabs.org
Signed-off-by: Bjorn Helgaas bhelg...@google.com
---
arch/powerpc/include/asm/ppc-pci.h|2 --
arch/powerpc/kernel/pci-common.c |3 ---
arch/powerpc/kernel/pci_64.c |5 -
arch
()
using the offsets supplied with pci_add_resource_offset(). The OF path
now does the fixup with new pcibios_bus_to_resource() calls in
of_pci_parse_addrs() and of_scan_pci_bridge().
Acked-by: Benjamin Herrenschmidt b...@kernel.crashing.org
CC: linuxppc-dev@lists.ozlabs.org
Signed-off-by: Bjorn Helgaas
-off-by: Bjorn Helgaas bhelg...@google.com
---
arch/powerpc/include/asm/pci.h |1 +
arch/powerpc/kernel/pci-common.c |8 ++--
arch/powerpc/kernel/pci_32.c |6 +++---
arch/powerpc/kernel/pci_64.c |2 +-
4 files changed, 11 insertions(+), 6 deletions(-)
diff --git
the OF device tree.
CC: Benjamin Herrenschmidt b...@kernel.crashing.org
CC: linuxppc-dev@lists.ozlabs.org
Signed-off-by: Bjorn Helgaas bhelg...@google.com
---
arch/powerpc/kernel/pci_of_scan.c | 12
1 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/arch/powerpc/kernel
On Sun, Mar 4, 2012 at 8:34 PM, Benjamin Herrenschmidt
b...@kernel.crashing.org wrote:
On Sat, 2012-03-03 at 08:52 +1100, Benjamin Herrenschmidt wrote:
Or give me a chance to dig :-) I'll have a look next week.
This is indeed what bjorn suspected on irc, this patch fixes it:
(Bjorn, please
system (several other PowerPC based systems to
not fail). A normal boot only shows .wait_scan_init being called
once. (I have initcall_debug=y debug on the command line).
I bisected this down to:
commit 6c5705fec63d83eeb165fe61e34adc92ecc2ce75
Author: Bjorn Helgaas bhelg...@google.com
Date
On Mon, Feb 27, 2012 at 10:36 PM, Bjorn Helgaas bhelg...@google.com wrote:
On Mon, Feb 27, 2012 at 7:09 PM, Yinghai Lu ying...@kernel.org wrote:
Signed-off-by: Yinghai Lu ying...@kernel.org
Cc: Benjamin Herrenschmidt b...@kernel.crashing.org
Cc: Paul Mackerras pau...@samba.org
Cc: linuxppc
On Sat, Feb 25, 2012 at 12:47 AM, Yinghai Lu ying...@kernel.org wrote:
On Fri, Feb 24, 2012 at 2:24 PM, Jesse Barnes jbar...@virtuousgeek.org
wrote:
On Thu, 23 Feb 2012 12:51:30 -0800
Bjorn Helgaas bhelg...@google.com wrote:
2) We already have a way to add resources to a root bus
On Mon, Feb 27, 2012 at 7:09 PM, Yinghai Lu ying...@kernel.org wrote:
Signed-off-by: Yinghai Lu ying...@kernel.org
Cc: Benjamin Herrenschmidt b...@kernel.crashing.org
Cc: Paul Mackerras pau...@samba.org
Cc: linuxppc-dev@lists.ozlabs.org
---
arch/powerpc/kernel/pci-common.c | 7 ++-
On Wed, Feb 22, 2012 at 1:41 PM, Benjamin Herrenschmidt
b...@kernel.crashing.org wrote:
On Wed, 2012-02-22 at 11:19 -0700, Bjorn Helgaas wrote:
int maple_pci_get_legacy_ide_irq(struct pci_dev *pdev, int channel)
diff --git a/arch/powerpc/platforms/pasemi/pci.c
b/arch/powerpc/platforms/pasemi
Herrenschmidt b...@kernel.crashing.org
CC: linuxppc-dev@lists.ozlabs.org
Signed-off-by: Bjorn Helgaas bhelg...@google.com
---
arch/powerpc/include/asm/ppc-pci.h|2 --
arch/powerpc/kernel/pci-common.c |3 ---
arch/powerpc/kernel/pci_64.c |5 -
arch/powerpc
On Thu, Feb 23, 2012 at 12:25 PM, Jesse Barnes jbar...@virtuousgeek.org wrote:
On Fri, 10 Feb 2012 08:35:58 +1100
Benjamin Herrenschmidt b...@kernel.crashing.org wrote:
On Thu, 2012-02-09 at 11:24 -0800, Bjorn Helgaas wrote:
My point is that the interface between the arch and the PCI core
set the ppc64
default (PCI_PROBE_ONLY set) in the 64-bit setup_arch() before calling
the platform .setup_arch() method, which may override the default.
CC: Benjamin Herrenschmidt b...@kernel.crashing.org
CC: linuxppc-dev@lists.ozlabs.org
Signed-off-by: Bjorn Helgaas bhelg...@google.com
---
arch
On Wed, Feb 22, 2012 at 1:41 PM, Benjamin Herrenschmidt
b...@kernel.crashing.org wrote:
On Wed, 2012-02-22 at 11:19 -0700, Bjorn Helgaas wrote:
We already use pci_flags, so this just sets pci_flags directly and removes
the intermediate step of figuring out pci_probe_only, then using it to set
On Wed, Feb 8, 2012 at 2:02 PM, Benjamin Herrenschmidt
b...@kernel.crashing.org wrote:
On Wed, 2012-02-08 at 07:58 -0800, Bjorn Helgaas wrote:
The only architecture-specific thing here is discovering the range of
bus numbers below a host bridge. The architecture should not have to
mess around
701 - 800 of 856 matches
Mail list logo