[PATCH v3 6/9] misc: xilinx-ai-engine: add request and release tiles

2020-11-29 Thread Wendy Liang
. Signed-off-by: Wendy Liang Reviewed-by: Hyun Kwon --- drivers/misc/xilinx-ai-engine/Makefile | 1 + drivers/misc/xilinx-ai-engine/ai-engine-aie.c | 225 +++ drivers/misc/xilinx-ai-engine/ai-engine-clock.c| 245 + drivers/misc/xilinx-ai

[PATCH v3 9/9] misc: xilinx-ai-engine: Add support for servicing error interrupts

2020-11-29 Thread Wendy Liang
tiles are channeled on a single interrupt line, backtracking the source the interrupt to an AIE module is required. To keep the top-half interrupt short, backtracking is deferred to bottom half by scheduling a task in shared workqueue. Signed-off-by: Nishad Saraf Signed-off-by: Wendy Liang

[PATCH v3 4/9] misc: xilinx-ai-engine: expose AI engine tile memories to userspace

2020-11-29 Thread Wendy Liang
DMA buf for all the tile data memories in an AI engine partition. Signed-off-by: Wendy Liang Reviewed-by: Hyun Kwon --- drivers/misc/xilinx-ai-engine/Makefile | 1 + drivers/misc/xilinx-ai-engine/ai-engine-aie.c | 36 +++ drivers/misc/xilinx-ai-engine/ai-engine-internal.h

[PATCH v3 2/9] misc: Add Xilinx AI engine device driver

2020-11-29 Thread Wendy Liang
partition through the AI engine partition driver instance. AI engine registers write is moved to kernel as there are registers in the AI engine array needs privilege permission. Signed-off-by: Wendy Liang Signed-off-by: Hyun Kwon --- MAINTAINERS| 8

[PATCH v3 7/9] misc: xilinx-ai-engine: Add support to request device management services

2020-11-29 Thread Wendy Liang
to all the other source files in the driver. Signed-off-by: Nishad Saraf Signed-off-by: Wendy Liang --- drivers/misc/xilinx-ai-engine/ai-engine-dev.c | 25 +- drivers/misc/xilinx-ai-engine/ai-engine-internal.h | 6 ++ 2 files changed, 30 insertions(+), 1 deletion

[PATCH v3 5/9] misc: xilinx-ai-engine: add setting shim dma bd operation

2020-11-29 Thread Wendy Liang
to the hardware DMA buffer descriptor. The main logic to control what's go into the buffer descriptor and which buffer descriptor to use is in the userspace AI engine library. Signed-off-by: Wendy Liang Reviewed-by: Hyun Kwon --- drivers/misc/xilinx-ai-engine/Makefile | 1 + drivers

[PATCH v3 8/9] firmware: xilinx: Add IOCTL support for AIE ISR Clear

2020-11-29 Thread Wendy Liang
. Note that, this will only be applicable for ES1 rev. For ES2 and other non-silicon platforms, this call will essentially be a NOP in the firmware. Signed-off-by: Izhar Ameer Shaikh Signed-off-by: Wendy Liang --- drivers/firmware/xilinx/zynqmp.c | 14 ++ include/linux/firmware/xlnx

[PATCH v3 1/9] dt-binding: soc: xilinx: ai-engine: Add AI engine binding

2020-11-29 Thread Wendy Liang
. Signed-off-by: Wendy Liang --- .../bindings/soc/xilinx/xlnx,ai-engine.yaml| 126 + 1 file changed, 126 insertions(+) create mode 100644 Documentation/devicetree/bindings/soc/xilinx/xlnx,ai-engine.yaml diff --git a/Documentation/devicetree/bindings/soc/xilinx/xlnx

[PATCH v3 0/9] Xilinx AI engine kernel driver

2020-11-29 Thread Wendy Liang
Shaikh (1): firmware: xilinx: Add IOCTL support for AIE ISR Clear Nishad Saraf (2): misc: xilinx-ai-engine: Add support to request device management services misc: xilinx-ai-engine: Add support for servicing error interrupts Wendy Liang (6): dt-binding: soc: xilinx: ai-engine: Add AI engi

[PATCH v3 3/9] misc: xilinx-ai-engine: Implement AI engine cleanup sequence

2020-11-29 Thread Wendy Liang
the partition is released, user can set the control flag to indicate not to reset the partition when the user requests the partition. If partition the not to reset partition control flag is set, it will not execute the above cleanup sequence when the partition is released. Signed-off-by: Wendy

[PATCH v2] firmware: xlnx-zynqmp: fix compilation warning

2020-11-24 Thread Wendy Liang
' undeclared (first use in this function) 367 | return -ENODEV; | ^~ Signed-off-by: Wendy Liang --- v2: * Always include linux/err.h --- include/linux/firmware/xlnx-zynqmp.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/linux/firmware/xlnx-zynqmp.h b/include

Re: [PATCH v2 9/9] misc: xilinx-ai-engine: Add support for servicing error interrupts

2020-11-23 Thread Wendy Liang
On 11/19/20 12:36 AM, Hillf Danton wrote: On Wed, 18 Nov 2020 15:48:09 -0800 Wendy Liang wrote: +/** + * aie_interrupt() - interrupt handler for AIE. + * @irq: Interrupt number. + * @data: AI engine device structure. + * @return: IRQ_HANDLED. + * + * This thread function disables level 2

[PATCH v2 6/9] misc: xilinx-ai-engine: add request and release tiles

2020-11-18 Thread Wendy Liang
. Signed-off-by: Wendy Liang Reviewed-by: Hyun Kwon --- drivers/misc/xilinx-ai-engine/Makefile | 1 + drivers/misc/xilinx-ai-engine/ai-engine-aie.c | 227 ++- drivers/misc/xilinx-ai-engine/ai-engine-clock.c| 244 + drivers/misc/xilinx-ai

[PATCH v2 2/9] misc: Add Xilinx AI engine device driver

2020-11-18 Thread Wendy Liang
partition through the AI engine partition driver instance. AI engine registers write is moved to kernel as there are registers in the AI engine array needs privilege permission. Signed-off-by: Wendy Liang Signed-off-by: Hyun Kwon --- MAINTAINERS| 8

[PATCH v2 4/9] misc: xilinx-ai-engine: expose AI engine tile memories to userspace

2020-11-18 Thread Wendy Liang
DMA buf for all the tile data memories in an AI engine partition. Signed-off-by: Wendy Liang Reviewed-by: Hyun Kwon --- drivers/misc/xilinx-ai-engine/Makefile | 1 + drivers/misc/xilinx-ai-engine/ai-engine-aie.c | 36 +++ drivers/misc/xilinx-ai-engine/ai-engine-internal.h

[PATCH v2 5/9] misc: xilinx-ai-engine: add setting shim dma bd operation

2020-11-18 Thread Wendy Liang
to the hardware DMA buffer descriptor. The main logic to control what's go into the buffer descriptor and which buffer descriptor to use is in the userspace AI engine library. Signed-off-by: Wendy Liang Reviewed-by: Hyun Kwon --- drivers/misc/xilinx-ai-engine/Makefile | 1 + drivers

[PATCH v2 8/9] firmware: xilinx: Add IOCTL support for AIE ISR Clear

2020-11-18 Thread Wendy Liang
. Note that, this will only be applicable for ES1 rev. For ES2 and other non-silicon platforms, this call will essentially be a NOP in the firmware. Signed-off-by: Izhar Ameer Shaikh Signed-off-by: Wendy Liang --- drivers/firmware/xilinx/zynqmp.c | 14 ++ include/linux/firmware/xlnx

[PATCH v2 9/9] misc: xilinx-ai-engine: Add support for servicing error interrupts

2020-11-18 Thread Wendy Liang
tiles are channeled on a single interrupt line, backtracking the source the interrupt to an AIE module is required. To keep the top-half interrupt short, backtracking is deferred to bottom half by scheduling a task in shared workqueue. Signed-off-by: Nishad Saraf Signed-off-by: Wendy Liang

[PATCH v2 3/9] misc: xilinx-ai-engine: Implement AI engine cleanup sequence

2020-11-18 Thread Wendy Liang
the partition is released, user can set the control flag to indicate not to reset the partition when the user requests the partition. If partition the not to reset partition control flag is set, it will not execute the above cleanup sequence when the partition is released. Signed-off-by: Wendy

[PATCH v2 7/9] misc: xilinx-ai-engine: Add support to request device management services

2020-11-18 Thread Wendy Liang
to all the other source files in the driver. Signed-off-by: Nishad Saraf Signed-off-by: Wendy Liang --- drivers/misc/xilinx-ai-engine/ai-engine-dev.c | 25 +- drivers/misc/xilinx-ai-engine/ai-engine-internal.h | 6 ++ 2 files changed, 30 insertions(+), 1 deletion

[PATCH v2 0/9] Xilinx AI engine kernel driver

2020-11-18 Thread Wendy Liang
management services misc: xilinx-ai-engine: Add support for servicing error interrupts Wendy Liang (6): dt-binding: soc: xilinx: ai-engine: Add AI engine binding misc: Add Xilinx AI engine device driver misc: xilinx-ai-engine: Implement AI engine cleanup sequence misc: xilinx-ai-engine: expose

[PATCH v2 1/9] dt-binding: soc: xilinx: ai-engine: Add AI engine binding

2020-11-18 Thread Wendy Liang
. Signed-off-by: Wendy Liang --- .../bindings/soc/xilinx/xlnx,ai-engine.yaml| 126 + 1 file changed, 126 insertions(+) create mode 100644 Documentation/devicetree/bindings/soc/xilinx/xlnx,ai-engine.yaml diff --git a/Documentation/devicetree/bindings/soc/xilinx/xlnx

[PATCH] firmware: xlnx-zynqmp: fix compilation warning

2020-11-18 Thread Wendy Liang
' undeclared (first use in this function) 367 | return -ENODEV; | ^~ Signed-off-by: Wendy Liang --- include/linux/firmware/xlnx-zynqmp.h | 4 1 file changed, 4 insertions(+) diff --git a/include/linux/firmware/xlnx-zynqmp.h b/include/linux/firmware/xlnx-zynqmp.h index

[PATCH 9/9] misc: xilinx-ai-engine: Add support for servicing error interrupts

2020-11-18 Thread Wendy Liang
tiles are channeled on a single interrupt line, backtracking the source the interrupt to an AIE module is required. To keep the top-half interrupt short, backtracking is deferred to bottom half by scheduling a task in shared workqueue. Signed-off-by: Nishad Saraf Signed-off-by: Wendy Liang

[PATCH 2/9] misc: Add Xilinx AI engine device driver

2020-11-18 Thread Wendy Liang
partition through the AI engine partition driver instance. AI engine registers write is moved to kernel as there are registers in the AI engine array needs privilege permission. Signed-off-by: Wendy Liang Signed-off-by: Hyun Kwon --- MAINTAINERS| 8

[PATCH 6/9] misc: xilinx-ai-engine: add request and release tiles

2020-11-18 Thread Wendy Liang
. Signed-off-by: Wendy Liang Reviewed-by: Hyun Kwon --- drivers/misc/xilinx-ai-engine/Makefile | 1 + drivers/misc/xilinx-ai-engine/ai-engine-aie.c | 227 ++- drivers/misc/xilinx-ai-engine/ai-engine-clock.c| 244 + drivers/misc/xilinx-ai

[PATCH 4/9] misc: xilinx-ai-engine: expose AI engine tile memories to userspace

2020-11-18 Thread Wendy Liang
DMA buf for all the tile data memories in an AI engine partition. Signed-off-by: Wendy Liang Reviewed-by: Hyun Kwon --- drivers/misc/xilinx-ai-engine/Makefile | 1 + drivers/misc/xilinx-ai-engine/ai-engine-aie.c | 36 +++ drivers/misc/xilinx-ai-engine/ai-engine-internal.h

[PATCH 8/9] firmware: xilinx: Add IOCTL support for AIE ISR Clear

2020-11-18 Thread Wendy Liang
. Note that, this will only be applicable for ES1 rev. For ES2 and other non-silicon platforms, this call will essentially be a NOP in the firmware. Signed-off-by: Izhar Ameer Shaikh Signed-off-by: Wendy Liang --- drivers/firmware/xilinx/zynqmp.c | 14 ++ include/linux/firmware/xlnx

[PATCH 5/9] misc: xilinx-ai-engine: add setting shim dma bd operation

2020-11-18 Thread Wendy Liang
to the hardware DMA buffer descriptor. The main logic to control what's go into the buffer descriptor and which buffer descriptor to use is in the userspace AI engine library. Signed-off-by: Wendy Liang Reviewed-by: Hyun Kwon --- drivers/misc/xilinx-ai-engine/Makefile | 1 + drivers

[PATCH 7/9] misc: xilinx-ai-engine: Add support to request device management services

2020-11-18 Thread Wendy Liang
to all the other source files in the driver. Signed-off-by: Nishad Saraf Signed-off-by: Wendy Liang --- drivers/misc/xilinx-ai-engine/ai-engine-dev.c | 25 +- drivers/misc/xilinx-ai-engine/ai-engine-internal.h | 6 ++ 2 files changed, 30 insertions(+), 1 deletion

[PATCH 1/9] dt-binding: soc: xilinx: ai-engine: Add AI engine binding

2020-11-18 Thread Wendy Liang
. Signed-off-by: Wendy Liang --- .../bindings/soc/xilinx/xlnx,ai-engine.yaml| 119 + 1 file changed, 119 insertions(+) create mode 100644 Documentation/devicetree/bindings/soc/xilinx/xlnx,ai-engine.yaml diff --git a/Documentation/devicetree/bindings/soc/xilinx/xlnx

[PATCH 3/9] misc: xilinx-ai-engine: Implement AI engine cleanup sequence

2020-11-18 Thread Wendy Liang
the partition is released, user can set the control flag to indicate not to reset the partition when the user requests the partition. If partition the not to reset partition control flag is set, it will not execute the above cleanup sequence when the partition is released. Signed-off-by: Wendy

[PATCH 0/9] Xilinx AI engine kernel driver

2020-11-18 Thread Wendy Liang
). Izhar Ameer Shaikh (1): firmware: xilinx: Add IOCTL support for AIE ISR Clear Nishad Saraf (2): misc: xilinx-ai-engine: Add support to request device management services misc: xilinx-ai-engine: Add support for servicing error interrupts Wendy Liang (6): dt-binding: soc: xilinx: ai-engine

Re: RE: RE: [PATCH v14 5/5] remoteproc: Add initial zynqmp R5 remoteproc driver

2020-09-20 Thread Wendy Liang
Hi Ben On Sun, Sep 20, 2020 at 4:16 PM Ben Levinsky wrote: > > Hi All, > > > -Original Message- > > From: Wendy Liang > > Sent: Friday, September 18, 2020 6:53 PM > > To: Michael Auchter > > Cc: Ben Levinsky ; punit1.agra...@toshiba.co.jp; > &

Re: RE: RE: [PATCH v14 5/5] remoteproc: Add initial zynqmp R5 remoteproc driver

2020-09-20 Thread Wendy Liang
Hi Ben, On Sun, Sep 20, 2020 at 4:16 PM Ben Levinsky wrote: > > Hi All, > > > -Original Message- > > From: Wendy Liang > > Sent: Friday, September 18, 2020 6:53 PM > > To: Michael Auchter > > Cc: Ben Levinsky ; punit1.agra...@toshiba.co.jp; > &

Re: RE: RE: [PATCH v14 5/5] remoteproc: Add initial zynqmp R5 remoteproc driver

2020-09-18 Thread Wendy Liang
HI Michael, Ben, Punit, On Fri, Sep 18, 2020 at 12:08 PM Michael Auchter wrote: > > Hey Ben, > > On Fri, Sep 18, 2020 at 06:01:19PM +, Ben Levinsky wrote: > > Hi Michael, Punit, > > > > > -Original Message- > > > From: Michael Auchter > > > Sent: Friday, September 18, 2020 9:07 AM >

[PATCH v8 2/2] dt-bindings: mailbox: Add Xilinx IPI Mailbox

2019-02-21 Thread Wendy Liang
Xilinx ZynqMP IPI(Inter Processor Interrupt) is a hardware block in ZynqMP SoC used for the communication between various processor systems. Signed-off-by: Wendy Liang Reviewed-by: Rob Herring --- .../bindings/mailbox/xlnx,zynqmp-ipi-mailbox.txt | 127 + 1 file changed

[PATCH v8 0/2] Xilinx ZynqMP IPI Mailbox Controller Driver

2019-02-21 Thread Wendy Liang
as subnodes to the IPI agent device node to properly describe the hardware. v3: - add NULL entry to of_device_id of IPI controller v2: - change SPDX-License-Identifier license text style in .c file - replace xlnx-ipi-ids with xlnx,ipi-ids Wendy Liang (2): mailbox: ZynqMP IPI mailbox

[PATCH v8 1/2] mailbox: ZynqMP IPI mailbox controller

2019-02-21 Thread Wendy Liang
This patch is to introduce ZynqMP IPI mailbox controller driver to use the ZynqMP IPI block as mailboxes. Signed-off-by: Wendy Liang --- drivers/mailbox/Kconfig| 11 + drivers/mailbox/Makefile | 2 + drivers/mailbox/zynqmp-ipi-mailbox.c | 725

[PATH v7 1/2] mailbox: ZynqMP IPI mailbox controller

2018-12-20 Thread Wendy Liang
This patch is to introduce ZynqMP IPI mailbox controller driver to use the ZynqMP IPI block as mailboxes. Signed-off-by: Wendy Liang --- drivers/mailbox/Kconfig | 11 + drivers/mailbox/Makefile | 2 + drivers/mailbox/zynqmp-ipi-mailbox.c | 764

[PATH v7 2/2] dt-bindings: mailbox: Add Xilinx IPI Mailbox

2018-12-20 Thread Wendy Liang
Xilinx ZynqMP IPI(Inter Processor Interrupt) is a hardware block in ZynqMP SoC used for the communication between various processor systems. Signed-off-by: Wendy Liang Reviewed-by: Rob Herring --- .../bindings/mailbox/xlnx,zynqmp-ipi-mailbox.txt | 127 + 1 file changed

[PATH v7 0/2] Xilinx ZynqMP IPI Mailbox Controller Driver

2018-12-20 Thread Wendy Liang
3: - add NULL entry to of_device_id of IPI controller v2: - change SPDX-License-Identifier license text style in .c file - replace xlnx-ipi-ids with xlnx,ipi-ids Wendy Liang (2): mailbox: ZynqMP IPI mailbox controller dt-bindings: mailbox: Add Xilinx IPI Mailbox .../bindings/mailbox/xlnx,zynqmp-ipi

Re: [PATCH v4 12/17] remoteproc: modify vring allocation to rely on centralized carveout allocator

2018-12-04 Thread Wendy Liang
On Tue, Dec 4, 2018 at 11:57 AM Loic PALLARDY wrote: > > > > > -Original Message- > > From: Wendy Liang > > Sent: mardi 4 décembre 2018 19:58 > > To: Loic PALLARDY > > Cc: Suman Anna ; Bjorn Andersson > > ; Ohad Ben-Cohen ; > > linux-re

Re: [PATCH v4 12/17] remoteproc: modify vring allocation to rely on centralized carveout allocator

2018-12-04 Thread Wendy Liang
On Tue, Dec 4, 2018 at 11:57 AM Loic PALLARDY wrote: > > > > > -Original Message- > > From: Wendy Liang > > Sent: mardi 4 décembre 2018 19:58 > > To: Loic PALLARDY > > Cc: Suman Anna ; Bjorn Andersson > > ; Ohad Ben-Cohen ; > > linux-re

Re: [PATCH v4 12/17] remoteproc: modify vring allocation to rely on centralized carveout allocator

2018-12-04 Thread Wendy Liang
On Tue, Dec 4, 2018 at 10:04 AM Loic PALLARDY wrote: > > > > > -Original Message- > > From: Wendy Liang > > Sent: mardi 4 décembre 2018 18:57 > > To: Suman Anna > > Cc: Loic PALLARDY ; Bjorn Andersson > > ; Ohad Ben-Cohen ; > > linux-re

Re: [PATCH v4 12/17] remoteproc: modify vring allocation to rely on centralized carveout allocator

2018-12-04 Thread Wendy Liang
On Tue, Dec 4, 2018 at 10:04 AM Loic PALLARDY wrote: > > > > > -Original Message- > > From: Wendy Liang > > Sent: mardi 4 décembre 2018 18:57 > > To: Suman Anna > > Cc: Loic PALLARDY ; Bjorn Andersson > > ; Ohad Ben-Cohen ; > > linux-re

Re: [PATCH v4 12/17] remoteproc: modify vring allocation to rely on centralized carveout allocator

2018-12-04 Thread Wendy Liang
On Mon, Oct 29, 2018 at 1:19 PM Suman Anna wrote: > > Hi Loic, > > On 10/24/18 10:14 AM, Loic PALLARDY wrote: > > Hi Suman, > > > >> -Original Message- > >> From: Suman Anna > >> Sent: mercredi 24 octobre 2018 02:14 > >> To: Loic PALLARDY ; bjorn.anders...@linaro.org; > >>

Re: [PATCH v4 12/17] remoteproc: modify vring allocation to rely on centralized carveout allocator

2018-12-04 Thread Wendy Liang
On Mon, Oct 29, 2018 at 1:19 PM Suman Anna wrote: > > Hi Loic, > > On 10/24/18 10:14 AM, Loic PALLARDY wrote: > > Hi Suman, > > > >> -Original Message- > >> From: Suman Anna > >> Sent: mercredi 24 octobre 2018 02:14 > >> To: Loic PALLARDY ; bjorn.anders...@linaro.org; > >>

[PATCH v6 0/2] Xilinx ZynqMP IPI Mailbox Controller Driver

2018-11-19 Thread Wendy Liang
n .c file - replace xlnx-ipi-ids with xlnx,ipi-ids Wendy Liang (2): mailbox: ZynqMP IPI mailbox controller dt-bindings: mailbox: Add Xilinx IPI Mailbox .../bindings/mailbox/xlnx,zynqmp-ipi-mailbox.txt | 127 drivers/mailbox/Kconfig| 9 + driv

[PATCH v6 0/2] Xilinx ZynqMP IPI Mailbox Controller Driver

2018-11-19 Thread Wendy Liang
n .c file - replace xlnx-ipi-ids with xlnx,ipi-ids Wendy Liang (2): mailbox: ZynqMP IPI mailbox controller dt-bindings: mailbox: Add Xilinx IPI Mailbox .../bindings/mailbox/xlnx,zynqmp-ipi-mailbox.txt | 127 drivers/mailbox/Kconfig| 9 + driv

[PATCH v6 2/2] dt-bindings: mailbox: Add Xilinx IPI Mailbox

2018-11-19 Thread Wendy Liang
Xilinx ZynqMP IPI(Inter Processor Interrupt) is a hardware block in ZynqMP SoC used for the communication between various processor systems. Signed-off-by: Wendy Liang --- .../bindings/mailbox/xlnx,zynqmp-ipi-mailbox.txt | 127 + 1 file changed, 127 insertions(+) create

[PATCH v6 2/2] dt-bindings: mailbox: Add Xilinx IPI Mailbox

2018-11-19 Thread Wendy Liang
Xilinx ZynqMP IPI(Inter Processor Interrupt) is a hardware block in ZynqMP SoC used for the communication between various processor systems. Signed-off-by: Wendy Liang --- .../bindings/mailbox/xlnx,zynqmp-ipi-mailbox.txt | 127 + 1 file changed, 127 insertions(+) create

[PATCH v6 1/2] mailbox: ZynqMP IPI mailbox controller

2018-11-19 Thread Wendy Liang
This patch is to introduce ZynqMP IPI mailbox controller driver to use the ZynqMP IPI block as mailboxes. Signed-off-by: Wendy Liang --- drivers/mailbox/Kconfig| 9 + drivers/mailbox/Makefile | 2 + drivers/mailbox/zynqmp-ipi-mailbox.c | 762

[PATCH v6 1/2] mailbox: ZynqMP IPI mailbox controller

2018-11-19 Thread Wendy Liang
This patch is to introduce ZynqMP IPI mailbox controller driver to use the ZynqMP IPI block as mailboxes. Signed-off-by: Wendy Liang --- drivers/mailbox/Kconfig| 9 + drivers/mailbox/Makefile | 2 + drivers/mailbox/zynqmp-ipi-mailbox.c | 762

[PATCH v5 1/2] mailbox: ZynqMP IPI mailbox controller

2018-11-05 Thread Wendy Liang
This patch is to introduce ZynqMP IPI mailbox controller driver to use the ZynqMP IPI block as mailboxes. Signed-off-by: Wendy Liang --- drivers/mailbox/Kconfig| 9 + drivers/mailbox/Makefile | 2 + drivers/mailbox/zynqmp-ipi-mailbox.c | 762

[PATCH v5 1/2] mailbox: ZynqMP IPI mailbox controller

2018-11-05 Thread Wendy Liang
This patch is to introduce ZynqMP IPI mailbox controller driver to use the ZynqMP IPI block as mailboxes. Signed-off-by: Wendy Liang --- drivers/mailbox/Kconfig| 9 + drivers/mailbox/Makefile | 2 + drivers/mailbox/zynqmp-ipi-mailbox.c | 762

[PATCH v5 0/2] Xilinx ZynqMP IPI Mailbox Controller Driver

2018-11-05 Thread Wendy Liang
onfig symbol. v4: - make IPI mailboxes as subnodes to the IPI agent device node to properly describe the hardware. v3: - add NULL entry to of_device_id of IPI controller v2: - change SPDX-License-Identifier license text style in .c file - replace xlnx-ipi-ids with xlnx,ipi-ids Wendy

[PATCH v5 2/2] dt-bindings: mailbox: Add Xilinx IPI Mailbox

2018-11-05 Thread Wendy Liang
Xilinx ZynqMP IPI(Inter Processor Interrupt) is a hardware block in ZynqMP SoC used for the communication between various processor systems. Signed-off-by: Wendy Liang --- .../bindings/mailbox/xlnx,zynqmp-ipi-mailbox.txt | 128 + 1 file changed, 128 insertions(+) create

[PATCH v5 0/2] Xilinx ZynqMP IPI Mailbox Controller Driver

2018-11-05 Thread Wendy Liang
onfig symbol. v4: - make IPI mailboxes as subnodes to the IPI agent device node to properly describe the hardware. v3: - add NULL entry to of_device_id of IPI controller v2: - change SPDX-License-Identifier license text style in .c file - replace xlnx-ipi-ids with xlnx,ipi-ids Wendy

[PATCH v5 2/2] dt-bindings: mailbox: Add Xilinx IPI Mailbox

2018-11-05 Thread Wendy Liang
Xilinx ZynqMP IPI(Inter Processor Interrupt) is a hardware block in ZynqMP SoC used for the communication between various processor systems. Signed-off-by: Wendy Liang --- .../bindings/mailbox/xlnx,zynqmp-ipi-mailbox.txt | 128 + 1 file changed, 128 insertions(+) create

Re: [PATCH v4 2/2] dt-bindings: mailbox: Add Xilinx IPI Mailbox

2018-10-10 Thread Wendy Liang
On Wed, Oct 10, 2018 at 2:59 AM Sudeep Holla wrote: > > On Wed, Oct 10, 2018 at 12:18:32AM -0700, Wendy Liang wrote: > > Xilinx ZynqMP IPI(Inter Processor Interrupt) is a hardware block > > in ZynqMP SoC used for the communication between various processor > > sys

Re: [PATCH v4 2/2] dt-bindings: mailbox: Add Xilinx IPI Mailbox

2018-10-10 Thread Wendy Liang
On Wed, Oct 10, 2018 at 2:59 AM Sudeep Holla wrote: > > On Wed, Oct 10, 2018 at 12:18:32AM -0700, Wendy Liang wrote: > > Xilinx ZynqMP IPI(Inter Processor Interrupt) is a hardware block > > in ZynqMP SoC used for the communication between various processor > > sys

[PATCH v4 2/2] dt-bindings: mailbox: Add Xilinx IPI Mailbox

2018-10-10 Thread Wendy Liang
Xilinx ZynqMP IPI(Inter Processor Interrupt) is a hardware block in ZynqMP SoC used for the communication between various processor systems. Signed-off-by: Wendy Liang --- Not put "Reviewed-by" as bindings have been updated since last review. --- .../bindings/mailbox/xlnx,zynqmp-ipi-m

[PATCH v4 2/2] dt-bindings: mailbox: Add Xilinx IPI Mailbox

2018-10-10 Thread Wendy Liang
Xilinx ZynqMP IPI(Inter Processor Interrupt) is a hardware block in ZynqMP SoC used for the communication between various processor systems. Signed-off-by: Wendy Liang --- Not put "Reviewed-by" as bindings have been updated since last review. --- .../bindings/mailbox/xlnx,zynqmp-ipi-m

[PATCH v4 1/2] mailbox: ZynqMP IPI mailbox controller

2018-10-10 Thread Wendy Liang
This patch is to introduce ZynqMP IPI mailbox controller driver to use the ZynqMP IPI block as mailboxes. Signed-off-by: Wendy Liang --- drivers/mailbox/Kconfig| 8 + drivers/mailbox/Makefile | 2 + drivers/mailbox/zynqmp-ipi-mailbox.c | 762

[PATCH v4 1/2] mailbox: ZynqMP IPI mailbox controller

2018-10-10 Thread Wendy Liang
This patch is to introduce ZynqMP IPI mailbox controller driver to use the ZynqMP IPI block as mailboxes. Signed-off-by: Wendy Liang --- drivers/mailbox/Kconfig| 8 + drivers/mailbox/Makefile | 2 + drivers/mailbox/zynqmp-ipi-mailbox.c | 762

[PATCH v4 0/2] Xilinx ZynqMP IPI Mailbox Controller Driver

2018-10-10 Thread Wendy Liang
properly describe the hardware. v3: - add NULL entry to of_device_id of IPI controller v2: - change SPDX-License-Identifier license text style in .c file - replace xlnx-ipi-ids with xlnx,ipi-ids Wendy Liang (2): mailbox: ZynqMP IPI mailbox controller dt-bindings: mailbox: Add Xilinx IPI Ma

[PATCH v4 0/2] Xilinx ZynqMP IPI Mailbox Controller Driver

2018-10-10 Thread Wendy Liang
properly describe the hardware. v3: - add NULL entry to of_device_id of IPI controller v2: - change SPDX-License-Identifier license text style in .c file - replace xlnx-ipi-ids with xlnx,ipi-ids Wendy Liang (2): mailbox: ZynqMP IPI mailbox controller dt-bindings: mailbox: Add Xilinx IPI Ma

Re: [PATCH v3 2/2] dt-bindings: mailbox: Add Xilinx IPI Mailbox

2018-10-09 Thread Wendy Liang
On Thu, Jan 4, 2018 at 3:53 PM Wendy Liang wrote: > > Xilinx ZynqMP IPI(Inter Processor Interrupt) is a hardware block > in ZynqMP SoC used for the communication between various processor > systems. > > Signed-off-by: Wendy Liang > --- > .../bindings/mailbox/xlnx,zynqmp

Re: [PATCH v3 2/2] dt-bindings: mailbox: Add Xilinx IPI Mailbox

2018-10-09 Thread Wendy Liang
On Thu, Jan 4, 2018 at 3:53 PM Wendy Liang wrote: > > Xilinx ZynqMP IPI(Inter Processor Interrupt) is a hardware block > in ZynqMP SoC used for the communication between various processor > systems. > > Signed-off-by: Wendy Liang > --- > .../bindings/mailbox/xlnx,zynqmp

Re: [PATCH v4 13/17] remoteproc: create vdev subdevice with specific dma memory pool

2018-09-27 Thread Wendy Liang
Hi Loic, On Thu, Sep 27, 2018 at 12:22 PM Loic PALLARDY wrote: > > Hi Wendy > > > -Original Message- > > From: Wendy Liang > > Sent: Thursday, September 27, 2018 7:17 PM > > To: Loic PALLARDY > > Cc: Bjorn Andersson ; Ohad Ben-Cohen > > ; l

Re: [PATCH v4 13/17] remoteproc: create vdev subdevice with specific dma memory pool

2018-09-27 Thread Wendy Liang
Hi Loic, On Thu, Sep 27, 2018 at 12:22 PM Loic PALLARDY wrote: > > Hi Wendy > > > -Original Message- > > From: Wendy Liang > > Sent: Thursday, September 27, 2018 7:17 PM > > To: Loic PALLARDY > > Cc: Bjorn Andersson ; Ohad Ben-Cohen > > ; l

Re: [PATCH v4 13/17] remoteproc: create vdev subdevice with specific dma memory pool

2018-09-27 Thread Wendy Liang
On Fri, Jul 27, 2018 at 6:16 AM Loic Pallardy wrote: > > This patch creates a dedicated vdev subdevice for each vdev declared > in firmware resource table and associates carveout named "vdev%dbuffer" > (with %d vdev index in resource table) if any as dma coherent memory pool. > > Then vdev

Re: [PATCH v4 13/17] remoteproc: create vdev subdevice with specific dma memory pool

2018-09-27 Thread Wendy Liang
On Fri, Jul 27, 2018 at 6:16 AM Loic Pallardy wrote: > > This patch creates a dedicated vdev subdevice for each vdev declared > in firmware resource table and associates carveout named "vdev%dbuffer" > (with %d vdev index in resource table) if any as dma coherent memory pool. > > Then vdev

Re: [PATCH 6/7] remoteproc: Add Xilinx ZynqMP R5 remoteproc

2018-09-10 Thread Wendy Liang
On Fri, Aug 24, 2018 at 9:26 AM Wendy Liang wrote: > > Ping, any comments to the driver? Any comments to this driver? Thanks, Wendy > On Thu, Aug 16, 2018 at 3:17 AM Wendy Liang wrote: > > > > There are cortex-r5 processors in Xilinx Zynq UltraScale+ > > MPSoC platfo

Re: [PATCH 6/7] remoteproc: Add Xilinx ZynqMP R5 remoteproc

2018-09-10 Thread Wendy Liang
On Fri, Aug 24, 2018 at 9:26 AM Wendy Liang wrote: > > Ping, any comments to the driver? Any comments to this driver? Thanks, Wendy > On Thu, Aug 16, 2018 at 3:17 AM Wendy Liang wrote: > > > > There are cortex-r5 processors in Xilinx Zynq UltraScale+ > > MPSoC platfo

Re: [PATCH v3 2/2] dt-bindings: mailbox: Add Xilinx IPI Mailbox

2018-09-10 Thread Wendy Liang
On Thu, Jul 26, 2018 at 2:31 PM Wendy Liang wrote: > > On Tue, Jan 9, 2018 at 8:42 PM, Jassi Brar wrote: > > On Wed, Jan 10, 2018 at 6:52 AM, Jiaying Liang wrote: > >>> From: Jassi Brar [mailto:jassisinghb...@gmail.com] > > > >&g

Re: [PATCH v3 2/2] dt-bindings: mailbox: Add Xilinx IPI Mailbox

2018-09-10 Thread Wendy Liang
On Thu, Jul 26, 2018 at 2:31 PM Wendy Liang wrote: > > On Tue, Jan 9, 2018 at 8:42 PM, Jassi Brar wrote: > > On Wed, Jan 10, 2018 at 6:52 AM, Jiaying Liang wrote: > >>> From: Jassi Brar [mailto:jassisinghb...@gmail.com] > > > >&g

Re: [PATCH 6/7] remoteproc: Add Xilinx ZynqMP R5 remoteproc

2018-08-24 Thread Wendy Liang
Ping, any comments to the driver? On Thu, Aug 16, 2018 at 3:17 AM Wendy Liang wrote: > > There are cortex-r5 processors in Xilinx Zynq UltraScale+ > MPSoC platforms. This remoteproc driver is to manage the > R5 processors. > > Signed-off-by: Wendy Liang > --- > dr

Re: [PATCH 6/7] remoteproc: Add Xilinx ZynqMP R5 remoteproc

2018-08-24 Thread Wendy Liang
Ping, any comments to the driver? On Thu, Aug 16, 2018 at 3:17 AM Wendy Liang wrote: > > There are cortex-r5 processors in Xilinx Zynq UltraScale+ > MPSoC platforms. This remoteproc driver is to manage the > R5 processors. > > Signed-off-by: Wendy Liang > --- > dr

Re: [PATCH 7/7] Documentation: devicetree: Add Xilinx R5 rproc binding

2018-08-19 Thread Wendy Liang
On Fri, Aug 17, 2018 at 9:31 AM, Moritz Fischer wrote: > Hi Wendy, > > couple of minor stuff inline. > > On Thu, Aug 16, 2018 at 12:06 AM, Wendy Liang wrote: >> Add device tree binding for Xilinx Cortex-r5 remoteproc. >> >> Signed-off-by: Wendy Liang >>

Re: [PATCH 7/7] Documentation: devicetree: Add Xilinx R5 rproc binding

2018-08-19 Thread Wendy Liang
On Fri, Aug 17, 2018 at 9:31 AM, Moritz Fischer wrote: > Hi Wendy, > > couple of minor stuff inline. > > On Thu, Aug 16, 2018 at 12:06 AM, Wendy Liang wrote: >> Add device tree binding for Xilinx Cortex-r5 remoteproc. >> >> Signed-off-by: Wendy Liang >>

Re: [PATCH 7/7] Documentation: devicetree: Add Xilinx R5 rproc binding

2018-08-19 Thread Wendy Liang
On Fri, Aug 17, 2018 at 8:09 AM, Rob Herring wrote: > Hi, this email is from Rob's (experimental) review bot. I found a couple > of common problems with your patch. Please see below. > > On Thu, 16 Aug 2018 00:06:30 -0700, Wendy Liang wrote: >> Add device tree binding fo

Re: [PATCH 7/7] Documentation: devicetree: Add Xilinx R5 rproc binding

2018-08-19 Thread Wendy Liang
On Fri, Aug 17, 2018 at 8:09 AM, Rob Herring wrote: > Hi, this email is from Rob's (experimental) review bot. I found a couple > of common problems with your patch. Please see below. > > On Thu, 16 Aug 2018 00:06:30 -0700, Wendy Liang wrote: >> Add device tree binding fo

[PATCH 5/7] firmware: xlnx-zynqmp: Add shutdown/wakeup request

2018-08-16 Thread Wendy Liang
Add shutdown/wakeup a resource eemi operations to shutdown or bringup a resource. Signed-off-by: Wendy Liang --- drivers/firmware/xilinx/zynqmp.c | 35 +++ include/linux/firmware/xlnx-zynqmp.h | 8 2 files changed, 43 insertions(+) diff --git

[PATCH 3/7] firmware: xilinx-zynqmp: Add request access capability macro

2018-08-16 Thread Wendy Liang
Add request access capability macro which will be used to request access to a device node from Xilinx firmware. Signed-off-by: Wendy Liang --- include/linux/firmware/xlnx-zynqmp.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/linux/firmware/xlnx-zynqmp.h b/include/linux

[PATCH 6/7] remoteproc: Add Xilinx ZynqMP R5 remoteproc

2018-08-16 Thread Wendy Liang
There are cortex-r5 processors in Xilinx Zynq UltraScale+ MPSoC platforms. This remoteproc driver is to manage the R5 processors. Signed-off-by: Wendy Liang --- drivers/remoteproc/Kconfig| 9 + drivers/remoteproc/Makefile | 1 + drivers/remoteproc

[PATCH 4/7] firmware: xlnx-zynqmp: Add request/release node

2018-08-16 Thread Wendy Liang
Add request/release resource node EEMI operations. Signed-off-by: Wendy Liang --- drivers/firmware/xilinx/zynqmp.c | 30 ++ include/linux/firmware/xlnx-zynqmp.h | 7 +++ 2 files changed, 37 insertions(+) diff --git a/drivers/firmware/xilinx/zynqmp.c b

[PATCH 5/7] firmware: xlnx-zynqmp: Add shutdown/wakeup request

2018-08-16 Thread Wendy Liang
Add shutdown/wakeup a resource eemi operations to shutdown or bringup a resource. Signed-off-by: Wendy Liang --- drivers/firmware/xilinx/zynqmp.c | 35 +++ include/linux/firmware/xlnx-zynqmp.h | 8 2 files changed, 43 insertions(+) diff --git

[PATCH 3/7] firmware: xilinx-zynqmp: Add request access capability macro

2018-08-16 Thread Wendy Liang
Add request access capability macro which will be used to request access to a device node from Xilinx firmware. Signed-off-by: Wendy Liang --- include/linux/firmware/xlnx-zynqmp.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/linux/firmware/xlnx-zynqmp.h b/include/linux

[PATCH 6/7] remoteproc: Add Xilinx ZynqMP R5 remoteproc

2018-08-16 Thread Wendy Liang
There are cortex-r5 processors in Xilinx Zynq UltraScale+ MPSoC platforms. This remoteproc driver is to manage the R5 processors. Signed-off-by: Wendy Liang --- drivers/remoteproc/Kconfig| 9 + drivers/remoteproc/Makefile | 1 + drivers/remoteproc

[PATCH 4/7] firmware: xlnx-zynqmp: Add request/release node

2018-08-16 Thread Wendy Liang
Add request/release resource node EEMI operations. Signed-off-by: Wendy Liang --- drivers/firmware/xilinx/zynqmp.c | 30 ++ include/linux/firmware/xlnx-zynqmp.h | 7 +++ 2 files changed, 37 insertions(+) diff --git a/drivers/firmware/xilinx/zynqmp.c b

[PATCH 7/7] Documentation: devicetree: Add Xilinx R5 rproc binding

2018-08-16 Thread Wendy Liang
Add device tree binding for Xilinx Cortex-r5 remoteproc. Signed-off-by: Wendy Liang --- .../remoteproc/xlnx,zynqmp-r5-remoteproc.txt | 81 ++ 1 file changed, 81 insertions(+) create mode 100644 Documentation/devicetree/bindings/remoteproc/xlnx,zynqmp-r5

[PATCH 1/7] firmware: xlnx-zynqmp: Add RPU ioctl enums

2018-08-16 Thread Wendy Liang
Add ZynqMP firmware ioctl enums for RPU configuration. Signed-off-by: Wendy Liang --- include/linux/firmware/xlnx-zynqmp.h | 19 +++ 1 file changed, 19 insertions(+) diff --git a/include/linux/firmware/xlnx-zynqmp.h b/include/linux/firmware/xlnx-zynqmp.h index a3ef7d6..9c4258f

[PATCH 7/7] Documentation: devicetree: Add Xilinx R5 rproc binding

2018-08-16 Thread Wendy Liang
Add device tree binding for Xilinx Cortex-r5 remoteproc. Signed-off-by: Wendy Liang --- .../remoteproc/xlnx,zynqmp-r5-remoteproc.txt | 81 ++ 1 file changed, 81 insertions(+) create mode 100644 Documentation/devicetree/bindings/remoteproc/xlnx,zynqmp-r5

[PATCH 1/7] firmware: xlnx-zynqmp: Add RPU ioctl enums

2018-08-16 Thread Wendy Liang
Add ZynqMP firmware ioctl enums for RPU configuration. Signed-off-by: Wendy Liang --- include/linux/firmware/xlnx-zynqmp.h | 19 +++ 1 file changed, 19 insertions(+) diff --git a/include/linux/firmware/xlnx-zynqmp.h b/include/linux/firmware/xlnx-zynqmp.h index a3ef7d6..9c4258f

[PATCH 2/7] firmware: xlnx-zynqmp: Add request ack enums

2018-08-16 Thread Wendy Liang
Add firmware request ack enums which will be used in firmware request calls. Signed-off-by: Wendy Liang --- include/linux/firmware/xlnx-zynqmp.h | 6 ++ 1 file changed, 6 insertions(+) diff --git a/include/linux/firmware/xlnx-zynqmp.h b/include/linux/firmware/xlnx-zynqmp.h index 9c4258f

[PATCH 2/7] firmware: xlnx-zynqmp: Add request ack enums

2018-08-16 Thread Wendy Liang
Add firmware request ack enums which will be used in firmware request calls. Signed-off-by: Wendy Liang --- include/linux/firmware/xlnx-zynqmp.h | 6 ++ 1 file changed, 6 insertions(+) diff --git a/include/linux/firmware/xlnx-zynqmp.h b/include/linux/firmware/xlnx-zynqmp.h index 9c4258f

[PATCH 0/7] Add Xilinx ZynqMP R5 remoteproc driver

2018-08-16 Thread Wendy Liang
://patchwork.kernel.org/cover/10555405/ Wendy Liang (7): firmware: xlnx-zynqmp: Add RPU ioctl enums firmware: xlnx-zynqmp: Add request ack enums firmware: xilinx-zynqmp: Add request access capability macro firmware: xlnx-zynqmp: Add request/release node firmware: xlnx-zynqmp: Add shutdown/wakeup

[PATCH 0/7] Add Xilinx ZynqMP R5 remoteproc driver

2018-08-16 Thread Wendy Liang
://patchwork.kernel.org/cover/10555405/ Wendy Liang (7): firmware: xlnx-zynqmp: Add RPU ioctl enums firmware: xlnx-zynqmp: Add request ack enums firmware: xilinx-zynqmp: Add request access capability macro firmware: xlnx-zynqmp: Add request/release node firmware: xlnx-zynqmp: Add shutdown/wakeup

  1   2   >