Yes, such user includes libfabric (https://ofiwg.github.io/libfabric/) . which
uses hugetlb pages.
On 3/1/21, 4:30 PM, "Jason Gunthorpe" wrote:
CAUTION: This email originated from outside of the organization. Do not
click links or open attachments unless you can confirm the sender and k
Hi,
Sorry for missing lots of emails in my long vacation. :)
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Dan Williams
> Sent: Sunday, February 24, 2008 10:06 AM
> To: Kumar Gala
> Cc: LKML Kernel; Zhang Wei
> Subject: R
Hi, Matt,
So glad to see you again!
> -Original Message-
> From: Matt Porter [mailto:[EMAIL PROTECTED]
> On Thu, Jan 31, 2008 at 02:30:13PM +0800, Zhang Wei wrote:
> > > -Original Message-
> > > From: Kumar Gala [mailto:[EMAIL PROTECTED]
> >
> -Original Message-
> From: Kumar Gala [mailto:[EMAIL PROTECTED]
>
>
> On Feb 4, 2008, at 11:44 PM, Stephen Rothwell wrote:
>
> >>
> >> + aw = *(u32 *)of_get_property(dev->node, "#address-cells", NULL);
> >> + sw = *(u32 *)of_get_property(dev->node, "#size-cells", NULL);
> >
> > W
Hi, Phil,
> -Original Message-
> From: Phil Terry [mailto:[EMAIL PROTECTED]
>
> On Thu, 2008-01-31 at 14:30 +0800, Zhang Wei wrote:
> >
> > > >
> > I consider each RIO controller will has its own network,
> the device IDs
> > should be
&
> -Original Message-
> From: Kumar Gala [mailto:[EMAIL PROTECTED]
>
> On Jan 31, 2008, at 12:15 AM, Kumar Gala wrote:
>
> >
> > On Jan 30, 2008, at 11:57 PM, Zhang Wei wrote:
> >
> >>
> >>
> >>> -Origin
ilto:[EMAIL PROTECTED]
> Sent: Wednesday, January 30, 2008 10:44 PM
> To: Zhang Wei
> Cc: [EMAIL PROTECTED];
> linux-kernel@vger.kernel.org; [EMAIL PROTECTED]
> Subject: Re: [PATCH 1/6] Change RIO function mpc85xx_ to fsl_ .
>
> Can you post a device tree update as well.
&g
> -Original Message-
> From: Kumar Gala [mailto:[EMAIL PROTECTED]
>
> On Jan 30, 2008, at 4:30 AM, Zhang Wei wrote:
>
> > Change lots of static variable to mport private. And add
> mport to some
> > function declaration.
>
> Can you explai
> -Original Message-
> From: Kumar Gala [mailto:[EMAIL PROTECTED]
> On Jan 30, 2008, at 4:30 AM, Zhang Wei wrote:
>
> > Signed-off-by: Zhang Wei <[EMAIL PROTECTED]>
> > ---
> > include/asm-powerpc/rio.h | 18 ++
Signed-off-by: Zhang Wei <[EMAIL PROTECTED]>
---
include/asm-powerpc/rio.h | 18 ++
include/asm-ppc/rio.h | 18 --
2 files changed, 18 insertions(+), 18 deletions(-)
create mode 100644 include/asm-powerpc/rio.h
delete mode 100644 include/asm-ppc
Now, RapidIO driver for powerpc architecture is also support OF-device.
Signed-off-by: Zhang Wei <[EMAIL PROTECTED]>
---
arch/powerpc/kernel/Makefile |1 -
arch/powerpc/kernel/rio.c | 52 -
arch/powerpc/sysdev/fsl_rio.c
Change lots of static variable to mport private. And add mport to some
function declaration.
Signed-off-by: Zhang Wei <[EMAIL PROTECTED]>
---
arch/powerpc/sysdev/fsl_rio.c | 353 +++--
drivers/rapidio/rio-access.c | 10 +-
include/linux
The RapidIO system size will auto probe in RIO setup. The route
table and rionet_active in rionet.c are changed to be allocated
dynamically according the system size.
Signed-off-by: Zhang Wei <[EMAIL PROTECTED]>
---
arch/powerpc/sysdev/fsl_rio.c |6 +
drivers/net/rionet.c
Signed-off-by: Zhang Wei <[EMAIL PROTECTED]>
---
arch/powerpc/Kconfig| 13 +
arch/powerpc/platforms/86xx/Kconfig |1 +
2 files changed, 14 insertions(+), 0 deletions(-)
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
index 47fe256..ad07964 100644
The driver is also fit for Freescale MPC8641 processor.
Signed-off-by: Zhang Wei <[EMAIL PROTECTED]>
---
arch/powerpc/sysdev/fsl_rio.c | 80
1 files changed, 40 insertions(+), 40 deletions(-)
diff --git a/arch/powerpc/sysdev/fsl_rio.c b/arch/p
Hi, Dan,
> -Original Message-
> From: [EMAIL PROTECTED]
>
> I do not think all the review comments have been addressed, for
> example my earlier comments about GFP_ATOMIC and spin_lock_irqsave
> [1]. We have two options to take this forward:
>
Thanks! Some comments need more study, I'
Hi, Dan,
Thanks so much for your help!
> Since the fixups were straightforward I went ahead and pulled
> this patch
> out of -mm and rebased it on my async-tx patch queue for
> 2.6.25. Could
> you double check the result, I have only compile tested it?
>
> git pull git://lost.foo-proje
a quick note about some more trivial things.
>
> On Fri, 21 Dec 2007 17:58:43 +0800 Zhang Wei
> <[EMAIL PROTECTED]> wrote:
> >
> > +struct rio_priv {
> > + volatile void __iomem *regs_win;
> > + volatile struct rio_atmu_regs __iomem *atmu_regs;
The patch adds the RapidIO support to powerpc with of-device support.
New Serial RapidIO of new Freescale processor, such as MPC8548, MPC8568,
is also added.
Signed-off-by: Zhang Wei <[EMAIL PROTECTED]>
---
arch/powerpc/Kconfig| 12 +
arch/powerpc/platforms/85xx/Kconfig
Add RapidIO memory mapping API and simple Bitmap allocation with fixed size.
Some bugs are fixed.
Signed-off-by: Zhang Wei <[EMAIL PROTECTED]>
---
drivers/rapidio/Kconfig | 18 +-
drivers/rapidio/Makefile|1 +
drivers/rapidio/rio-access.c| 10 +-
d
Signed-off-by: Zhang Wei <[EMAIL PROTECTED]>
---
drivers/net/Kconfig | 10 ++
drivers/net/rionet.c | 337 +-
2 files changed, 345 insertions(+), 2 deletions(-)
diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig
index e8d69b0..b1129cc
Signed-off-by: Zhang Wei <[EMAIL PROTECTED]>
---
arch/powerpc/sysdev/fsl_rio.c | 932 +
1 files changed, 932 insertions(+), 0 deletions(-)
create mode 100644 arch/powerpc/sysdev/fsl_rio.c
diff --git a/arch/powerpc/sysdev/fsl_rio.c b/arch/powerpc/
rionet driver.
Best Regards,
Zhang Wei
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Remove virt_to_bus(), just using the saved phy address to match.
Signed-off-by: Zhang Wei <[EMAIL PROTECTED]>
---
drivers/dma/fsldma.c | 13 +
1 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/drivers/dma/fsldma.c b/drivers/dma/fsldma.c
index 71e1c32..899b0c0
(MPC8349, MPC8360) are also supported.
Signed-off-by: Zhang Wei <[EMAIL PROTECTED]>
Signed-off-by: Ebony Zhu <[EMAIL PROTECTED]>
---
MAINTAINERS |7 +
drivers/dma/Kconfig | 19 +-
drivers/dma/Makefile |1 +
drivers/dma/fsl
Yes, I'm working on it. Do not worry about it.
Wei.
> -Original Message-
> From: Kumar Gala [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, October 30, 2007 4:31 AM
> To: [EMAIL PROTECTED]
> Cc: Zhang Wei-r63237; [EMAIL PROTECTED];
> [EMAIL PROTECTED]; [EMAIL PROT
Hi,
> > +static void fsl_dma_set_src(dma_addr_t addr,
> > + struct dma_async_tx_descriptor
> *tx, int index)
> > +{
>
> What is index supposed to mean? It's not used, or documented
> anywhere than
> I can see.
I've also got more document here. Hi, Dan, could you giv
Hi, Dan,
Does I have followed your new API? :-)
> > ---
> Greetings,
>
> Please copy me on any updates to this driver, drivers/dma, or
> crypto/async_tx.
Ok.
>
> Below are a few review comments...
>
> Regards,
> Dan
>
> > +/**
> > + * fsl_dma_alloc_descriptor - Allocate descriptor from
>
>
> If this is experimental, perhaps you should mark the depends line as
> such
> depends on on DMA_ENGINE && PPC && EXPERIMENTAL
I'll add EXPERIMENTAL for MPC83xx only.
>
> [...]
>
> >+
> >+fsl_dma_memcpy_issue_pending(chan);
> >+while (fsl_dma_is_complete(chan, cookie, NULL, NU
Hi,
> --- /dev/null
> > +++ b/drivers/dma/fsldma.c
> > @@ -0,0 +1,995 @@
>
> Thanks for using kernel-doc notation. However, ...
>
> > +/**
> > + * fsl_dma_alloc_descriptor - Allocate descriptor from
> channel's DMA pool.
>
> Function parameters need to be listed & described here.
> See Docume
PC8540/60, MPC8555, MPC8548,
MPC8641 and so on.
The support for MPC83xx(MPC8349, MPC8360) is experimental.
Signed-off-by: Zhang Wei <[EMAIL PROTECTED]>
Signed-off-by: Ebony Zhu <[EMAIL PROTECTED]>
---
drivers/dma/Kconfig |8 +
drivers/dma/Makefile |1
Hi, Arnd,
I can change it as you metioned now.
Thanks!
-zw
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Arnd Bergmann
> Sent: Sunday, July 29, 2007 9:57 PM
> To: [EMAIL PROTECTED]
> Cc: Zhang Wei-r63237; [EMAIL PROTECTED];
Hi, Kumar,
> + RapidIO is a definition of a system interconnect. This node add
> > + the support for RapidIO processor in kernel. The node name is
> > + suggested to be 'rapidio'.
> > +
> > + Required properties:
> > +
> > +- compatible : Using "fsl,rapidio-delta" for Freescale PowerPC
Hi, Kumar,
> -Original Message-
> From: Kumar Gala [mailto:[EMAIL PROTECTED]
> On Jul 26, 2007, at 3:42 AM, Zhang Wei wrote:
>
> > This patch adds the RapidIO support to the powerpc architecture.
> > Some files are moved from ppc. OF-tree and OF-device supports
This patch adds the memory management driver to RapidIO.
The RapidIO system size is changed to automatically detection.
Add the memory mapping driver to RapidIO basic driver.
Multi master ports are supported.
Add a simple Bitmap RapidIO space allocator driver.
Signed-off-by: Zhang Wei <[EM
changed to master port private variables.
Multi master ports are supported.
Signed-off-by: Zhang Wei <[EMAIL PROTECTED]>
---
arch/powerpc/Kconfig |8 +
arch/powerpc/kernel/Makefile |1 +
arch/powerpc/kernel/rio.c | 64 ++
arch/powerpc/sysdev/Makefile |1 +
arch/p
Add the platform device support with RapidIO to MPC8641HPCN platform.
Signed-off-by: Zhang Wei <[EMAIL PROTECTED]>
---
arch/powerpc/platforms/86xx/mpc86xx_hpcn.c | 16
1 files changed, 16 insertions(+), 0 deletions(-)
diff --git a/arch/powerpc/platforms/86xx/mpc86xx_hpc
Add RapidIO OF-node to the MPC8641HPCN board dts file.
Signed-off-by: Zhang Wei <[EMAIL PROTECTED]>
---
arch/powerpc/boot/dts/mpc8641_hpcn.dts | 13 +
1 files changed, 13 insertions(+), 0 deletions(-)
diff --git a/arch/powerpc/boot/dts/mpc8641_hpcn.dts
b/arch/powerpc/bo
Add the explanation and a sample of RapidIO OF node to the document of
booting-without-of.txt file.
Signed-off-by: Zhang Wei <[EMAIL PROTECTED]>
---
Documentation/powerpc/booting-without-of.txt | 37 ++
1 files changed, 37 insertions(+), 0 deletions(-)
diff -
driver.
5. Add the support to multi master ports.
6. Add a simple bitmap RapidIO space allocator driver.
7. Change the RapidIO system size of menuconfig to automatically detection.
Thanks!
Best Regards,
Zhang Wei
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" i
Hi, Dan,
Thanks! I get it.
It's so lucky we have the same target.
When your patch could be accepted?
Cheers,
Wei.
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Dan Williams
> Sent: Thursday, July 12, 2007 12:57 AM
> To: Z
CH 3/4] Extend the DMA-engine API.
>
> On 7/10/07, Zhang Wei <[EMAIL PROTECTED]> wrote:
> > Add channel wait queue and transfer callback dma_xfer_callback().
> > If the DMA controller and driver support interrupt, when the
> > transfer is finished, it will wakeup the w
dma_device
for RAW physical address DMA transfer, which will be used at transfer
between I/O address and memory address.
Signed-off-by: Zhang Wei <[EMAIL PROTECTED]>
---
include/linux/dmaengine.h | 35 +++
1 files changed, 35 insertions(+), 0 deletions(-)
diff -
Hi, Segher,
> DTS sector to the document of booting-without-of.txt file.
>
> >>> +- #address-cells : Address representation for
> >> "rapidio" devices.
> >>> + This field represents the number of cells needed
> to represent
> >>> + the RapidIO address of the registers. For
> >> s
Hi, Segher,
> > +- #address-cells : Address representation for
> "rapidio" devices.
> > + This field represents the number of cells needed to represent
> > + the RapidIO address of the registers. For
> supporting more than
> > + 32-bits RapidIO address, this field should be
Hi, Arnd,
>
> On Wednesday 27 June 2007, Zhang Wei wrote:
> > +static struct of_device_id mpc86xx_of_ids[] = {
> > + { .type = "soc", },
> > + { .compatible = "fsl,rapidio-delta", },
> > + {},
> > +};
This patch adds the memory management driver to RapidIO.
The RapidIO system size is changed to automatically detection.
Add the memory mapping driver to RapidIO basic driver.
Multi master ports are supported.
Add a simple Bitmap RapidIO space allocator driver.
Signed-off-by: Zhang Wei <[EM
Add the explanation and a sample of RapidIO DTS sector to the document of
booting-without-of.txt file.
Signed-off-by: Zhang Wei <[EMAIL PROTECTED]>
---
Documentation/powerpc/booting-without-of.txt | 34 ++
1 files changed, 34 insertions(+), 0 deletions(-)
diff -
Add the platform device support with RapidIO to MPC8641HPCN platform.
Signed-off-by: Zhang Wei <[EMAIL PROTECTED]>
---
arch/powerpc/platforms/86xx/mpc86xx_hpcn.c | 16
1 files changed, 16 insertions(+), 0 deletions(-)
diff --git a/arch/powerpc/platforms/86xx/mpc86xx_hpc
changed to master port private variables.
Multi master ports are supported.
Signed-off-by: Zhang Wei <[EMAIL PROTECTED]>
---
arch/powerpc/Kconfig |8 +
arch/powerpc/kernel/Makefile |1 +
arch/powerpc/kernel/rio.c | 64 ++
arch/powerpc/sysdev/Makefile |1 +
arch/p
RapidIO driver.
5. Add the support to multi master ports.
6. Add a simple bitmap RapidIO space allocator driver.
7. Change the RapidIO system size of menuconfig to automatically detection.
Thanks!
Best Regards,
Zhang Wei
-
To unsubscribe from this list: send the line "unsubscribe linux-kerne
Add RapidIO sector to the MPC8641HPCN board dts file.
Signed-off-by: Zhang Wei <[EMAIL PROTECTED]>
---
arch/powerpc/boot/dts/mpc8641_hpcn.dts | 13 +
1 files changed, 13 insertions(+), 0 deletions(-)
diff --git a/arch/powerpc/boot/dts/mpc8641_hpcn.dts
b/arch/powerpc/bo
Hi, Kumar and Segher,
>
> > "..8641.." "..8641d.." "..8548.." "..8548e.." "..8543.."
> "..8543e.."
> > "..8572.." "..8572e.." "..8567.." "..8567e.." "..8568.." "..8568e.."
>
> You don't need to mention _all_ compatible devices in
> the "compatible" property, only the few that matter;
> typical
Hi, Segher,
>
> >>> +- device_type : Should be "rapidio"
> >>
> >> There is no OF binding, so no.
> >
> > So, we need to define it.
>
> If you want to. Until that has been done, don't use
> a "device_type". Linux won't use it, anyway.
Do you have another ideas about that? Only remove it?
Hi, Segher,
> -Original Message-
> Subject: Re: [PATCH 1/5] Add the explanation and sample of
> RapidIO DTS sector to the document of booting-without-of.txt file.
>
> > + k) RapidIO
> > +
> > + Required properties:
> > +
> > +- device_type : Should be "rapidio"
>
> There is no
Hi, Phil,
> > +++ b/arch/powerpc/boot/dts/mpc8641_hpcn.dts
> > @@ -329,6 +329,19 @@
> > >;
> > };
> >
> > + [EMAIL PROTECTED] {
> > + device_type = "rapidio";
> > + compatible = "fsl,rapidio-v1.0";
> > +
Add the memory management driver to RapidIO.
The RapidIO system size is changed to automatically detection.
Add the memory mapping driver for RapidIO to RIO basic driver.
Multi master ports are supported.
The simple Bitmap RIO space allocator driver is added.
Signed-off-by: Zhang Wei <[EM
Add the platform device support with RapidIO to MPC8641HPCN platform.
Signed-off-by: Zhang Wei <[EMAIL PROTECTED]>
---
arch/powerpc/platforms/86xx/mpc86xx_hpcn.c | 16
1 files changed, 16 insertions(+), 0 deletions(-)
diff --git a/arch/powerpc/platforms/86xx/mpc86xx_hpc
space allocator driver.
7. Change the RapidIO system size of menuconfig to automatically detection.
Thanks!
Best Regards,
Zhang Wei
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo inf
changed to master port private variables.
Multi master ports are supported.
Signed-off-by: Zhang Wei <[EMAIL PROTECTED]>
---
arch/powerpc/Kconfig |8 +
arch/powerpc/kernel/Makefile |1 +
arch/powerpc/kernel/rio.c | 64 ++
arch/powerpc/sysdev/Makefile |1 +
arch/p
Add the explanation and a sample of RapidIO DTS sector to the document of
booting-without-of.txt file.
Signed-off-by: Zhang Wei <[EMAIL PROTECTED]>
---
Documentation/powerpc/booting-without-of.txt | 41 ++
1 files changed, 41 insertions(+), 0 deletions(-)
diff -
Add RapidIO sector to the MPC8641HPCN board dts file.
Signed-off-by: Zhang Wei <[EMAIL PROTECTED]>
---
arch/powerpc/boot/dts/mpc8641_hpcn.dts | 13 +
1 files changed, 13 insertions(+), 0 deletions(-)
diff --git a/arch/powerpc/boot/dts/mpc8641_hpcn.dts
b/arch/powerpc/bo
62 matches
Mail list logo