public inbox for linuxppc-dev@ozlabs.org 
 help / color / mirror / Atom feed
From: Hiroo Matsumoto <matsumoto.hiroo@jp•fujitsu.com>
To: Bjorn Helgaas <bhelgaas@google•com>
Cc: linux-pci@vger•kernel.org, linuxppc-dev@lists•ozlabs.org,
	jbarnes@virtuousgeek•org,
	Kenji Kaneshige <kaneshige.kenji@jp•fujitsu.com>
Subject: [PATCH v2 0/2] Add pcibios_device_change_notifier
Date: Wed, 23 May 2012 11:33:42 +0900	[thread overview]
Message-ID: <4FBC4C86.9050206@jp.fujitsu.com> (raw)

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 for PCI driver, like dma_set_mask,
does not work on powerpc platform. So it is need to set DMA and IRQs of
PCI device when hotplug.

1. Moving pcibios_setup_bus_devices code to pcibios_device_change_notifier
   which is registered to bus notifier in pcibios_init.
2. Removing caller and callee of pcibios_setup_bus_devices bus notifier
   works instead of pcibios_setup_bus_devices.
3. Using this bus notifier for microblaze because microblaze/PCI is similer
   with powerpc/PCI.

[PATCH v2 1/2] powerpc/PCI: Add pcibios_device_change_notifier for powerpc
[PATCH v2 2/2] microblaze/PCI: Add pcibios_device_change_notifier for microblaze


Regards.

Hiroo MATSUMOTO

             reply	other threads:[~2012-05-23  3:14 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-23  2:33 Hiroo Matsumoto [this message]
2012-06-06  5:26 ` [PATCH v2 0/2] Add pcibios_device_change_notifier Benjamin Herrenschmidt
2012-06-07 12:45   ` Hiroo Matsumoto
2012-06-07 21:31     ` Benjamin Herrenschmidt
2012-06-11 22:51   ` Bjorn Helgaas
2012-06-11 23:24     ` Benjamin Herrenschmidt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4FBC4C86.9050206@jp.fujitsu.com \
    --to=matsumoto.hiroo@jp$(echo .)fujitsu.com \
    --cc=bhelgaas@google$(echo .)com \
    --cc=jbarnes@virtuousgeek$(echo .)org \
    --cc=kaneshige.kenji@jp$(echo .)fujitsu.com \
    --cc=linux-pci@vger$(echo .)kernel.org \
    --cc=linuxppc-dev@lists$(echo .)ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox