All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michael Neuling <mikey@neuling.org>
To: Michael Ellerman <mpe@ellerman.id.au>
Cc: greg@kroah.com, arnd@arndb.de, benh@kernel.crashing.org,
	anton@samba.org, linux-kernel@vger.kernel.org,
	linuxppc-dev@ozlabs.org, jk@ozlabs.org, imunsie@au.ibm.com,
	cbe-oss-dev@lists.ozlabs.org,
	"Aneesh Kumar K.V" <aneesh.kumar@linux.vnet.ibm.com>
Subject: Re: [PATCH v2 06/17] powerpc/powernv: Split out set MSI IRQ chip code
Date: Thu, 02 Oct 2014 15:22:17 +1000	[thread overview]
Message-ID: <1412227337.6143.0.camel@ale.ozlabs.ibm.com> (raw)
In-Reply-To: <20141002015729.D379414016B@ozlabs.org>

On Thu, 2014-10-02 at 11:57 +1000, Michael Ellerman wrote:
> On Tue, 2014-30-09 at 10:34:55 UTC, Michael Neuling wrote:
> > From: Ian Munsie <imunsie@au1.ibm.com>
> > 
> > Some of the MSI IRQ code in pnv_pci_ioda_msi_setup() is generically useful so
> > split it out.
> > 
> > This will be used by some of the cxl PCIe code later.
> > 
> > diff --git a/arch/powerpc/platforms/powernv/pci-ioda.c b/arch/powerpc/platforms/powernv/pci-ioda.c
> > index df241b1..329164f 100644
> > --- a/arch/powerpc/platforms/powernv/pci-ioda.c
> > +++ b/arch/powerpc/platforms/powernv/pci-ioda.c
> > @@ -1306,14 +1306,36 @@ static void pnv_ioda2_msi_eoi(struct irq_data *d)
> >  	icp_native_eoi(d);
> >  }
> >  
> > +
> > +static void set_msi_irq_chip(struct pnv_phb *phb, unsigned int virq)
> > +{
> > +	struct irq_data *idata;
> > +	struct irq_chip *ichip;
> > +
> > +	if (phb->type != PNV_PHB_IODA2)
> > +		return;
> > +
> > +	/*
> > +	 * Change the IRQ chip for the MSI interrupts on PHB3.
> > +	 * The corresponding IRQ chip should be populated for
> > +	 * the first time.
> 
> Seeing as you're moving this comment can you clarify the wording.

Ok.

Mikey

WARNING: multiple messages have this Message-ID (diff)
From: Michael Neuling <mikey@neuling.org>
To: Michael Ellerman <mpe@ellerman.id.au>
Cc: cbe-oss-dev@lists.ozlabs.org, arnd@arndb.de,
	"Aneesh Kumar K.V" <aneesh.kumar@linux.vnet.ibm.com>,
	greg@kroah.com, linux-kernel@vger.kernel.org, imunsie@au.ibm.com,
	linuxppc-dev@ozlabs.org, anton@samba.org, jk@ozlabs.org
Subject: Re: [PATCH v2 06/17] powerpc/powernv: Split out set MSI IRQ chip code
Date: Thu, 02 Oct 2014 15:22:17 +1000	[thread overview]
Message-ID: <1412227337.6143.0.camel@ale.ozlabs.ibm.com> (raw)
In-Reply-To: <20141002015729.D379414016B@ozlabs.org>

On Thu, 2014-10-02 at 11:57 +1000, Michael Ellerman wrote:
> On Tue, 2014-30-09 at 10:34:55 UTC, Michael Neuling wrote:
> > From: Ian Munsie <imunsie@au1.ibm.com>
> >=20
> > Some of the MSI IRQ code in pnv_pci_ioda_msi_setup() is generically use=
ful so
> > split it out.
> >=20
> > This will be used by some of the cxl PCIe code later.
> >=20
> > diff --git a/arch/powerpc/platforms/powernv/pci-ioda.c b/arch/powerpc/p=
latforms/powernv/pci-ioda.c
> > index df241b1..329164f 100644
> > --- a/arch/powerpc/platforms/powernv/pci-ioda.c
> > +++ b/arch/powerpc/platforms/powernv/pci-ioda.c
> > @@ -1306,14 +1306,36 @@ static void pnv_ioda2_msi_eoi(struct irq_data *=
d)
> >  	icp_native_eoi(d);
> >  }
> > =20
> > +
> > +static void set_msi_irq_chip(struct pnv_phb *phb, unsigned int virq)
> > +{
> > +	struct irq_data *idata;
> > +	struct irq_chip *ichip;
> > +
> > +	if (phb->type !=3D PNV_PHB_IODA2)
> > +		return;
> > +
> > +	/*
> > +	 * Change the IRQ chip for the MSI interrupts on PHB3.
> > +	 * The corresponding IRQ chip should be populated for
> > +	 * the first time.
>=20
> Seeing as you're moving this comment can you clarify the wording.

Ok.

Mikey

  reply	other threads:[~2014-10-02  5:22 UTC|newest]

Thread overview: 100+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-30 10:34 [PATCH v2 0/17] POWER8 Coherent Accelerator device driver Michael Neuling
2014-09-30 10:34 ` Michael Neuling
2014-09-30 10:34 ` [PATCH v2 01/17] powerpc/cell: Move spu_handle_mm_fault() out of cell platform Michael Neuling
2014-09-30 10:34   ` Michael Neuling
2014-09-30 10:34 ` [PATCH v2 02/17] powerpc/cell: Move data segment faulting code " Michael Neuling
2014-09-30 10:34   ` Michael Neuling
2014-10-01  6:47   ` Michael Ellerman
2014-10-01  6:47     ` Michael Ellerman
2014-10-01  6:51     ` Benjamin Herrenschmidt
2014-10-01  6:51       ` Benjamin Herrenschmidt
2014-10-02  0:42     ` Michael Neuling
2014-10-02  0:42       ` Michael Neuling
2014-10-01  9:45   ` Aneesh Kumar K.V
2014-10-01  9:45     ` Aneesh Kumar K.V
2014-10-01 11:10     ` Michael Neuling
2014-10-01 11:10       ` Michael Neuling
2014-10-01  9:53   ` Aneesh Kumar K.V
2014-10-01  9:53     ` Aneesh Kumar K.V
2014-10-02  0:58     ` Michael Neuling
2014-10-02  0:58       ` Michael Neuling
2014-09-30 10:34 ` [PATCH v2 03/17] powerpc/cell: Make spu_flush_all_slbs() generic Michael Neuling
2014-09-30 10:34   ` Michael Neuling
2014-09-30 10:40   ` Arnd Bergmann
2014-09-30 10:40     ` Arnd Bergmann
2014-10-01  7:13   ` Michael Ellerman
2014-10-01  7:13     ` Michael Ellerman
2014-10-01 10:51     ` Michael Neuling
2014-10-01 10:51       ` Michael Neuling
2014-09-30 10:34 ` [PATCH v2 04/17] powerpc/msi: Improve IRQ bitmap allocator Michael Neuling
2014-09-30 10:34   ` Michael Neuling
2014-10-01  7:13   ` Michael Ellerman
2014-10-01  7:13     ` Michael Ellerman
2014-10-02  2:01     ` Michael Neuling
2014-10-02  2:01       ` Michael Neuling
2014-09-30 10:34 ` [PATCH v2 05/17] powerpc/mm: Export mmu_kernel_ssize and mmu_linear_psize Michael Neuling
2014-09-30 10:34   ` Michael Neuling
2014-10-01  7:13   ` Michael Ellerman
2014-10-01  7:13     ` Michael Ellerman
2014-10-02  3:13     ` Michael Neuling
2014-10-02  3:13       ` Michael Neuling
2014-09-30 10:34 ` [PATCH v2 06/17] powerpc/powernv: Split out set MSI IRQ chip code Michael Neuling
2014-09-30 10:34   ` Michael Neuling
2014-10-02  1:57   ` Michael Ellerman
2014-10-02  1:57     ` Michael Ellerman
2014-10-02  5:22     ` Michael Neuling [this message]
2014-10-02  5:22       ` Michael Neuling
2014-09-30 10:34 ` [PATCH v2 07/17] cxl: Add new header for call backs and structs Michael Neuling
2014-09-30 10:34   ` Michael Neuling
2014-10-01 12:00   ` Michael Ellerman
2014-10-01 12:00     ` Michael Ellerman
2014-10-02  3:37     ` Michael Neuling
2014-10-02  3:37       ` Michael Neuling
2014-09-30 10:34 ` [PATCH v2 08/17] powerpc/powerpc: Add new PCIe functions for allocating cxl interrupts Michael Neuling
2014-09-30 10:34   ` Michael Neuling
2014-10-02  3:16   ` Michael Ellerman
2014-10-02  3:16     ` Michael Ellerman
2014-10-02  6:09     ` Michael Neuling
2014-10-02  6:09       ` Michael Neuling
2014-09-30 10:34 ` [PATCH v2 09/17] powerpc/mm: Add new hash_page_mm() Michael Neuling
2014-09-30 10:34   ` Michael Neuling
2014-10-01  9:43   ` Aneesh Kumar K.V
2014-10-01  9:43     ` Aneesh Kumar K.V
2014-10-02  7:10     ` Michael Neuling
2014-10-02  7:10       ` Michael Neuling
2014-10-02  3:48   ` Michael Ellerman
2014-10-02  3:48     ` Michael Ellerman
2014-10-02  7:39     ` Michael Neuling
2014-10-02  7:39       ` Michael Neuling
2014-09-30 10:34 ` [PATCH v2 10/17] powerpc/mm: Merge vsid calculation in hash_page() and copro_data_segment() Michael Neuling
2014-09-30 10:34   ` Michael Neuling
2014-10-01  9:55   ` Aneesh Kumar K.V
2014-10-01  9:55     ` Aneesh Kumar K.V
2014-10-02  6:44     ` Michael Neuling
2014-10-02  6:44       ` Michael Neuling
2014-09-30 10:35 ` [PATCH v2 11/17] powerpc/opal: Add PHB to cxl mode call Michael Neuling
2014-09-30 10:35   ` Michael Neuling
2014-09-30 10:35 ` [PATCH v2 12/17] powerpc/mm: Add hooks for cxl Michael Neuling
2014-09-30 10:35   ` Michael Neuling
2014-09-30 10:35 ` [PATCH v2 13/17] cxl: Add base builtin support Michael Neuling
2014-09-30 10:35   ` Michael Neuling
2014-10-01 12:00   ` Michael Ellerman
2014-10-01 12:00     ` Michael Ellerman
2014-10-02  3:43     ` Michael Neuling
2014-10-02  3:43       ` Michael Neuling
2014-09-30 10:35 ` [PATCH v2 14/17] cxl: Driver code for powernv PCIe based cards for userspace access Michael Neuling
2014-09-30 10:35   ` Michael Neuling
2014-10-02  7:02   ` Michael Ellerman
2014-10-02  7:02     ` Michael Ellerman
2014-09-30 10:35 ` [PATCH v2 15/17] cxl: Userspace header file Michael Neuling
2014-09-30 10:35   ` Michael Neuling
2014-10-02  6:02   ` Michael Ellerman
2014-10-02  6:02     ` Michael Ellerman
2014-10-02 10:28     ` Ian Munsie
2014-10-02 10:28       ` Ian Munsie
2014-10-02 12:42       ` Benjamin Herrenschmidt
2014-10-02 12:42         ` Benjamin Herrenschmidt
2014-09-30 10:35 ` [PATCH v2 16/17] cxl: Add driver to Kbuild and Makefiles Michael Neuling
2014-09-30 10:35   ` Michael Neuling
2014-09-30 10:35 ` [PATCH v2 17/17] cxl: Add documentation for userspace APIs Michael Neuling
2014-09-30 10:35   ` Michael Neuling

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=1412227337.6143.0.camel@ale.ozlabs.ibm.com \
    --to=mikey@neuling.org \
    --cc=aneesh.kumar@linux.vnet.ibm.com \
    --cc=anton@samba.org \
    --cc=arnd@arndb.de \
    --cc=benh@kernel.crashing.org \
    --cc=cbe-oss-dev@lists.ozlabs.org \
    --cc=greg@kroah.com \
    --cc=imunsie@au.ibm.com \
    --cc=jk@ozlabs.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linuxppc-dev@ozlabs.org \
    --cc=mpe@ellerman.id.au \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.