[GIT PULL] Mailbox changes for v4.21

2019-01-01 Thread Jassi Brar
Hi Linus, The following changes since commit f5d582777bcb1c7ff19a5a2343f66ea01de401c6: Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid (2018-12-10 11:04:41 -0800) are available in the Git repository at:

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

2018-12-21 Thread Jassi Brar
On Thu, Dec 20, 2018 at 11:32 AM Wendy Liang wrote: > diff --git a/drivers/mailbox/zynqmp-ipi-mailbox.c > b/drivers/mailbox/zynqmp-ipi-mailbox.c > new file mode 100644 > index 000..bbddfd5 > --- /dev/null > +++ b/drivers/mailbox/zynqmp-ipi-mailbox.c > @@ -0,0 +1,764 @@ .. > + > +/*

Re: [PATCH 00/19] mailbox: Device-managed registration

2018-12-17 Thread Jassi Brar
On Mon, Dec 17, 2018 at 8:35 AM Thierry Reding wrote: > > On Tue, Dec 11, 2018 at 10:34:59PM +0530, Jassi Brar wrote: > > On Wed, Nov 21, 2018 at 8:24 PM Thierry Reding > > wrote: > > > > > > From: Thierry Reding > > > > > > Hi,

Re: [PATCH 00/19] mailbox: Device-managed registration

2018-12-11 Thread Jassi Brar
On Wed, Nov 21, 2018 at 8:24 PM Thierry Reding wrote: > > From: Thierry Reding > > Hi, > > This series of patches adds device-managed registration functions for > mailbox controllers. A number of drivers can be simplified by making use > of this new API both in the error cleanup paths in their

Re: [PATCH 00/19] mailbox: Device-managed registration

2018-12-06 Thread Jassi Brar
On Wed, Dec 5, 2018 at 10:14 AM Thierry Reding wrote: > > On Wed, Nov 28, 2018 at 10:39:50AM +0100, Thierry Reding wrote: > > On Wed, Nov 21, 2018 at 03:54:10PM +0100, Thierry Reding wrote: > > > From: Thierry Reding > > > > > > Hi, > > > > > > This series of patches adds device-managed

Re: [PATCH 00/19] mailbox: Device-managed registration

2018-12-06 Thread Jassi Brar
On Wed, Dec 5, 2018 at 10:14 AM Thierry Reding wrote: > > On Wed, Nov 28, 2018 at 10:39:50AM +0100, Thierry Reding wrote: > > On Wed, Nov 21, 2018 at 03:54:10PM +0100, Thierry Reding wrote: > > > From: Thierry Reding > > > > > > Hi, > > > > > > This series of patches adds device-managed

[GIT PULL] Mailbox changes for v4.20

2018-10-29 Thread Jassi Brar
The following changes since commit e704966c45e48d0220d1ee5e463034ae493a95b2: Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input (2018-09-28 18:04:50 -0700) are available in the Git repository at:

[GIT PULL] Mailbox changes for v4.20

2018-10-29 Thread Jassi Brar
The following changes since commit e704966c45e48d0220d1ee5e463034ae493a95b2: Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input (2018-09-28 18:04:50 -0700) are available in the Git repository at:

Re: [PATCH 1/2] dt-bindings: dmaengine: add DT binding for UniPhier MIO DMAC

2018-08-23 Thread Jassi Brar
On 23 August 2018 at 18:51, Rob Herring wrote: > On Thu, Aug 23, 2018 at 12:38 AM Jassi Brar > wrote: >> On 23 August 2018 at 10:48, Masahiro Yamada >> > >> > If desired, I will export of_irq_count() >> > and use it from my driver. >> > >&

Re: [PATCH 1/2] dt-bindings: dmaengine: add DT binding for UniPhier MIO DMAC

2018-08-23 Thread Jassi Brar
On 23 August 2018 at 18:51, Rob Herring wrote: > On Thu, Aug 23, 2018 at 12:38 AM Jassi Brar > wrote: >> On 23 August 2018 at 10:48, Masahiro Yamada >> > >> > If desired, I will export of_irq_count() >> > and use it from my driver. >> > >&

Re: [PATCH 1/2] dt-bindings: dmaengine: add DT binding for UniPhier MIO DMAC

2018-08-22 Thread Jassi Brar
On 23 August 2018 at 10:48, Masahiro Yamada wrote: > Hi Jassi, > > > 2018-08-21 19:44 GMT+09:00 Jassi Brar : >> On 21 August 2018 at 15:17, Masahiro Yamada >> wrote: >>> (+CC Rob, DT, LKML) >>> >>> I forgot to CC this to DT community... >

Re: [PATCH 1/2] dt-bindings: dmaengine: add DT binding for UniPhier MIO DMAC

2018-08-22 Thread Jassi Brar
On 23 August 2018 at 10:48, Masahiro Yamada wrote: > Hi Jassi, > > > 2018-08-21 19:44 GMT+09:00 Jassi Brar : >> On 21 August 2018 at 15:17, Masahiro Yamada >> wrote: >>> (+CC Rob, DT, LKML) >>> >>> I forgot to CC this to DT community... >

Re: [PATCH 1/2] dt-bindings: dmaengine: add DT binding for UniPhier MIO DMAC

2018-08-21 Thread Jassi Brar
On 21 August 2018 at 15:17, Masahiro Yamada wrote: > (+CC Rob, DT, LKML) > > I forgot to CC this to DT community... > > > 2018-08-21 18:30 GMT+09:00 Masahiro Yamada : >> The MIO DMAC (Media IO DMA Controller) is used in UniPhier LD4, >> Pro4, and sLD8 SoCs. >> >> Signed-off-by: Masahiro Yamada

Re: [PATCH 1/2] dt-bindings: dmaengine: add DT binding for UniPhier MIO DMAC

2018-08-21 Thread Jassi Brar
On 21 August 2018 at 15:17, Masahiro Yamada wrote: > (+CC Rob, DT, LKML) > > I forgot to CC this to DT community... > > > 2018-08-21 18:30 GMT+09:00 Masahiro Yamada : >> The MIO DMAC (Media IO DMA Controller) is used in UniPhier LD4, >> Pro4, and sLD8 SoCs. >> >> Signed-off-by: Masahiro Yamada

[GIT PULL] Mailbox changes for v4.19

2018-08-16 Thread Jassi Brar
Hi Linus, The following changes since commit 0585df468e8f4481b78256a2bf09449290bfcbf3: Merge tag 'media/v4.18-3' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media (2018-08-02 16:55:42 -0700) are available in the Git repository at:

[GIT PULL] Mailbox changes for v4.19

2018-08-16 Thread Jassi Brar
Hi Linus, The following changes since commit 0585df468e8f4481b78256a2bf09449290bfcbf3: Merge tag 'media/v4.18-3' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media (2018-08-02 16:55:42 -0700) are available in the Git repository at:

Re: [PATCH v3] mailbox: arm_mhu: add support for mhuv2

2018-08-13 Thread Jassi Brar
On Tue, May 29, 2018 at 2:12 AM, Samarth Parikh wrote: > diff --git a/Documentation/devicetree/bindings/mailbox/arm-mhu.txt > b/Documentation/devicetree/bindings/mailbox/arm-mhu.txt > index 4971f03..1633535 100644 > --- a/Documentation/devicetree/bindings/mailbox/arm-mhu.txt > +++

Re: [PATCH v3] mailbox: arm_mhu: add support for mhuv2

2018-08-13 Thread Jassi Brar
On Tue, May 29, 2018 at 2:12 AM, Samarth Parikh wrote: > diff --git a/Documentation/devicetree/bindings/mailbox/arm-mhu.txt > b/Documentation/devicetree/bindings/mailbox/arm-mhu.txt > index 4971f03..1633535 100644 > --- a/Documentation/devicetree/bindings/mailbox/arm-mhu.txt > +++

Re: [PATCH v3 3/8] mailbox: Add transmit done by blocking option

2018-08-09 Thread Jassi Brar
through the earlycon as > it's printing out correctly. > > Thanks, > Mikko > > > On 08.08.2018 17:46, Mikko Perttunen wrote: >> >> On 08/08/2018 05:39 PM, Jassi Brar wrote: >>> >>> On Wed, Aug 8, 2018 at 8:04 PM, Mikko Perttunen wrote: >>>&g

Re: [PATCH v3 3/8] mailbox: Add transmit done by blocking option

2018-08-09 Thread Jassi Brar
through the earlycon as > it's printing out correctly. > > Thanks, > Mikko > > > On 08.08.2018 17:46, Mikko Perttunen wrote: >> >> On 08/08/2018 05:39 PM, Jassi Brar wrote: >>> >>> On Wed, Aug 8, 2018 at 8:04 PM, Mikko Perttunen wrote: >>>&g

Re: [PATCH v3 3/8] mailbox: Add transmit done by blocking option

2018-08-08 Thread Jassi Brar
On Wed, Aug 8, 2018 at 8:04 PM, Mikko Perttunen wrote: > > > On 08/08/2018 05:10 PM, Jassi Brar wrote: >> >> On Wed, Aug 8, 2018 at 5:08 PM, Mikko Perttunen wrote: >>> >>> >>> >>> On 04.08.2018 13:45, Mikko Perttunen wrote

Re: [PATCH v3 3/8] mailbox: Add transmit done by blocking option

2018-08-08 Thread Jassi Brar
On Wed, Aug 8, 2018 at 8:04 PM, Mikko Perttunen wrote: > > > On 08/08/2018 05:10 PM, Jassi Brar wrote: >> >> On Wed, Aug 8, 2018 at 5:08 PM, Mikko Perttunen wrote: >>> >>> >>> >>> On 04.08.2018 13:45, Mikko Perttunen wrote

Re: [PATCH v3 3/8] mailbox: Add transmit done by blocking option

2018-08-08 Thread Jassi Brar
On Wed, Aug 8, 2018 at 5:08 PM, Mikko Perttunen wrote: > > > On 04.08.2018 13:45, Mikko Perttunen wrote: >> >> On 08/03/2018 03:54 PM, Jassi Brar wrote: >>> >>> On Mon, Jul 2, 2018 at 5:10 PM, Mikko Perttunen >>> wrote: >>>> >

Re: [PATCH v3 3/8] mailbox: Add transmit done by blocking option

2018-08-08 Thread Jassi Brar
On Wed, Aug 8, 2018 at 5:08 PM, Mikko Perttunen wrote: > > > On 04.08.2018 13:45, Mikko Perttunen wrote: >> >> On 08/03/2018 03:54 PM, Jassi Brar wrote: >>> >>> On Mon, Jul 2, 2018 at 5:10 PM, Mikko Perttunen >>> wrote: >>>> >

Re: [PATCH v3 3/8] mailbox: Add transmit done by blocking option

2018-08-03 Thread Jassi Brar
On Mon, Jul 2, 2018 at 5:10 PM, Mikko Perttunen wrote: > Add a new TXDONE option, TXDONE_BY_BLOCK. With this option, the > send_data function of the mailbox driver is expected to block until > the message has been sent. The new option is used with the Tegra > Combined UART driver to minimize

Re: [PATCH v3 3/8] mailbox: Add transmit done by blocking option

2018-08-03 Thread Jassi Brar
On Mon, Jul 2, 2018 at 5:10 PM, Mikko Perttunen wrote: > Add a new TXDONE option, TXDONE_BY_BLOCK. With this option, the > send_data function of the mailbox driver is expected to block until > the message has been sent. The new option is used with the Tegra > Combined UART driver to minimize

Re: [PATCH v7 1/6] dt-bindings: mailbox: allow mbox-cells to be equal to 0

2018-07-26 Thread Jassi Brar
On Thu, Jul 26, 2018 at 5:25 PM, A.s. Dong wrote: >> -Original Message- >> From: Jassi Brar [mailto:jassisinghb...@gmail.com] >> Sent: Thursday, July 26, 2018 7:37 PM >> To: A.s. Dong >> Cc: Oleksij Rempel ; Shawn Guo >> ; Fabio Estevam ; Rob >

Re: [PATCH v7 1/6] dt-bindings: mailbox: allow mbox-cells to be equal to 0

2018-07-26 Thread Jassi Brar
On Thu, Jul 26, 2018 at 5:25 PM, A.s. Dong wrote: >> -Original Message- >> From: Jassi Brar [mailto:jassisinghb...@gmail.com] >> Sent: Thursday, July 26, 2018 7:37 PM >> To: A.s. Dong >> Cc: Oleksij Rempel ; Shawn Guo >> ; Fabio Estevam ; Rob >

Re: [PATCH v7 1/6] dt-bindings: mailbox: allow mbox-cells to be equal to 0

2018-07-26 Thread Jassi Brar
On Thu, Jul 26, 2018 at 4:30 PM, A.s. Dong wrote: >> -Original Message- >> From: Jassi Brar [mailto:jassisinghb...@gmail.com] >> Sent: Thursday, July 26, 2018 5:42 PM >> To: Oleksij Rempel >> Cc: Shawn Guo ; Fabio Estevam >> ; Rob Herring ; Mark

Re: [PATCH v7 1/6] dt-bindings: mailbox: allow mbox-cells to be equal to 0

2018-07-26 Thread Jassi Brar
On Thu, Jul 26, 2018 at 4:30 PM, A.s. Dong wrote: >> -Original Message- >> From: Jassi Brar [mailto:jassisinghb...@gmail.com] >> Sent: Thursday, July 26, 2018 5:42 PM >> To: Oleksij Rempel >> Cc: Shawn Guo ; Fabio Estevam >> ; Rob Herring ; Mark

Re: [PATCH v7 1/6] dt-bindings: mailbox: allow mbox-cells to be equal to 0

2018-07-26 Thread Jassi Brar
On Thu, Jul 26, 2018 at 12:23 PM, Oleksij Rempel wrote: > From: Dong Aisheng > > Mailbox devices may have only one channel which means the mbox-cells > at least 1 does not make sense for this type devices. Let's remove > that limitation to allow the mbox-cells to be equal to 0. > OK But please

Re: [PATCH v7 1/6] dt-bindings: mailbox: allow mbox-cells to be equal to 0

2018-07-26 Thread Jassi Brar
On Thu, Jul 26, 2018 at 12:23 PM, Oleksij Rempel wrote: > From: Dong Aisheng > > Mailbox devices may have only one channel which means the mbox-cells > at least 1 does not make sense for this type devices. Let's remove > that limitation to allow the mbox-cells to be equal to 0. > OK But please

Re: [PATCH V2 0/6] mailbox: ti-msgmgr: Add support for AM654 Secure Proxy

2018-07-23 Thread Jassi Brar
On Mon, Jul 23, 2018 at 6:59 PM, Nishanth Menon wrote: > On 18:06-20180716, Nishanth Menon wrote: >> The V2 of the series updates a minor comment in binding and picks up Rob's >> Reviewed-by >> >> Since I have'nt seen additional comments, I am assuming things are fine for >> v4.19. >> >> The

Re: [PATCH V2 0/6] mailbox: ti-msgmgr: Add support for AM654 Secure Proxy

2018-07-23 Thread Jassi Brar
On Mon, Jul 23, 2018 at 6:59 PM, Nishanth Menon wrote: > On 18:06-20180716, Nishanth Menon wrote: >> The V2 of the series updates a minor comment in binding and picks up Rob's >> Reviewed-by >> >> Since I have'nt seen additional comments, I am assuming things are fine for >> v4.19. >> >> The

Re: [PATCH V4 3/5] mailbox: imx: add imx mu support

2018-07-11 Thread Jassi Brar
On Wed, Jul 11, 2018 at 10:11 PM, A.s. Dong wrote: > Hi Jassi, > >> -Original Message----- >> From: Jassi Brar [mailto:jassisinghb...@gmail.com] >> Sent: Thursday, July 12, 2018 12:32 AM >> To: A.s. Dong >> Cc: Sascha Hauer ; linux-arm- >> ker.

Re: [PATCH V4 3/5] mailbox: imx: add imx mu support

2018-07-11 Thread Jassi Brar
On Wed, Jul 11, 2018 at 10:11 PM, A.s. Dong wrote: > Hi Jassi, > >> -Original Message----- >> From: Jassi Brar [mailto:jassisinghb...@gmail.com] >> Sent: Thursday, July 12, 2018 12:32 AM >> To: A.s. Dong >> Cc: Sascha Hauer ; linux-arm- >> ker.

Re: [PATCH V4 3/5] mailbox: imx: add imx mu support

2018-07-11 Thread Jassi Brar
On Wed, Jul 11, 2018 at 6:28 PM, A.s. Dong wrote: > Hi Jassi, > >> -Original Message----- >> From: Jassi Brar [mailto:jassisinghb...@gmail.com] >> Sent: Wednesday, July 11, 2018 6:44 PM >> To: A.s. Dong >> Cc: Sascha Hauer ; linux-arm- >> ker...@list

Re: [PATCH V4 3/5] mailbox: imx: add imx mu support

2018-07-11 Thread Jassi Brar
On Wed, Jul 11, 2018 at 6:28 PM, A.s. Dong wrote: > Hi Jassi, > >> -Original Message----- >> From: Jassi Brar [mailto:jassisinghb...@gmail.com] >> Sent: Wednesday, July 11, 2018 6:44 PM >> To: A.s. Dong >> Cc: Sascha Hauer ; linux-arm- >> ker...@list

Re: [PATCH V4 3/5] mailbox: imx: add imx mu support

2018-07-11 Thread Jassi Brar
On Wed, Jul 11, 2018 at 4:07 PM, A.s. Dong wrote: > > > -Original Message- > > From: Sascha Hauer [mailto:s.ha...@pengutronix.de] > > Sent: Wednesday, July 11, 2018 3:55 PM > > To: A.s. Dong > > Cc: linux-arm-ker...@lists.infradead.org; donga...@gmail.c

Re: [PATCH V4 3/5] mailbox: imx: add imx mu support

2018-07-11 Thread Jassi Brar
On Wed, Jul 11, 2018 at 4:07 PM, A.s. Dong wrote: > > > -Original Message- > > From: Sascha Hauer [mailto:s.ha...@pengutronix.de] > > Sent: Wednesday, July 11, 2018 3:55 PM > > To: A.s. Dong > > Cc: linux-arm-ker...@lists.infradead.org; donga...@gmail.c

[GIT PULL] Mailbox changes for v4.18

2018-06-06 Thread Jassi Brar
Hi Linus, The following changes since commit 7fbb6157630f2ba6ee355689061f9596b84373ef: Merge tag 'armsoc-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc (2018-05-26 14:05:16 -0700) are available in the Git repository at:

[GIT PULL] Mailbox changes for v4.18

2018-06-06 Thread Jassi Brar
Hi Linus, The following changes since commit 7fbb6157630f2ba6ee355689061f9596b84373ef: Merge tag 'armsoc-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc (2018-05-26 14:05:16 -0700) are available in the Git repository at:

Re: [PATCH v2] mailbox: arm_mhu: add support for mhuv2

2018-05-28 Thread Jassi Brar
On Thu, May 17, 2018 at 1:34 PM, Samarth Parikh wrote: > ARM has launched a next version of MHU i.e. MHUv2 with its latest > subsystems. The main change is that the MHUv2 is now a distributed IP > with different peripheral views (registers) for the sender and receiver. > >

Re: [PATCH v2] mailbox: arm_mhu: add support for mhuv2

2018-05-28 Thread Jassi Brar
On Thu, May 17, 2018 at 1:34 PM, Samarth Parikh wrote: > ARM has launched a next version of MHU i.e. MHUv2 with its latest > subsystems. The main change is that the MHUv2 is now a distributed IP > with different peripheral views (registers) for the sender and receiver. > > Another main difference

Re: [PATCH 6/8] serial: Add Tegra Combined UART driver

2018-05-13 Thread Jassi Brar
On Tue, May 8, 2018 at 5:14 PM, Mikko Perttunen wrote: > > +config SERIAL_TEGRA_TCU > + tristate "NVIDIA Tegra Combined UART" > + depends on ARCH_TEGRA && MAILBOX > + select SERIAL_CORE > + help > + Support for the mailbox-based TCU

Re: [PATCH 6/8] serial: Add Tegra Combined UART driver

2018-05-13 Thread Jassi Brar
On Tue, May 8, 2018 at 5:14 PM, Mikko Perttunen wrote: > > +config SERIAL_TEGRA_TCU > + tristate "NVIDIA Tegra Combined UART" > + depends on ARCH_TEGRA && MAILBOX > + select SERIAL_CORE > + help > + Support for the mailbox-based TCU (Tegra Combined UART)

Re: [PATCH 5/5] hisi: Consolidate the Kconfigs for the CLOCK_STUB and the MAILBOX

2018-05-08 Thread Jassi Brar
ver when the > parent driver is selected. With sensible defaults in place, we can leave > other choices for EXPERT. > Acked-by: Jassi Brar <jaswinder.si...@linaro.org>

Re: [PATCH 5/5] hisi: Consolidate the Kconfigs for the CLOCK_STUB and the MAILBOX

2018-05-08 Thread Jassi Brar
aults in place, we can leave > other choices for EXPERT. > Acked-by: Jassi Brar

Re: [PATCH] mailbox: arm_mhu: add support for mhuv2

2018-05-02 Thread Jassi Brar
On Wed, May 2, 2018 at 12:44 PM, Samarth Parikh wrote: > Hi Jassi, > > I am resending the patch for review, in case you have missed my previous > patch. Can you please go through it and let me know your thoughts on > the same? > You don't want this to go into git log :) If

Re: [PATCH] mailbox: arm_mhu: add support for mhuv2

2018-05-02 Thread Jassi Brar
On Wed, May 2, 2018 at 12:44 PM, Samarth Parikh wrote: > Hi Jassi, > > I am resending the patch for review, in case you have missed my previous > patch. Can you please go through it and let me know your thoughts on > the same? > You don't want this to go into git log :) If your patch isn't looked

Re: [PATCH v2 2/2] mailbox: add STMicroelectronics STM32 IPCC driver

2018-04-09 Thread Jassi Brar
On Mon, Apr 9, 2018 at 2:33 PM, Fabien DESSENNE <fabien.desse...@st.com> wrote: > > > On 06/04/18 18:20, Jassi Brar wrote: >> On Fri, Apr 6, 2018 at 8:35 PM, Fabien DESSENNE <fabien.desse...@st.com> >> wrote: >>> On 06/04/18 14:56, Jassi Brar wrote: &

Re: [PATCH v2 2/2] mailbox: add STMicroelectronics STM32 IPCC driver

2018-04-09 Thread Jassi Brar
On Mon, Apr 9, 2018 at 2:33 PM, Fabien DESSENNE wrote: > > > On 06/04/18 18:20, Jassi Brar wrote: >> On Fri, Apr 6, 2018 at 8:35 PM, Fabien DESSENNE >> wrote: >>> On 06/04/18 14:56, Jassi Brar wrote: >>>> On Fri, Apr 6, 2018 at 5:59

Re: [PATCH v2 2/2] mailbox: add STMicroelectronics STM32 IPCC driver

2018-04-06 Thread Jassi Brar
On Fri, Apr 6, 2018 at 8:35 PM, Fabien DESSENNE <fabien.desse...@st.com> wrote: > > On 06/04/18 14:56, Jassi Brar wrote: >> On Fri, Apr 6, 2018 at 5:59 PM, Fabien DESSENNE <fabien.desse...@st.com> >> wrote: >>> Hi >>> >>> >>> On 0

Re: [PATCH v2 2/2] mailbox: add STMicroelectronics STM32 IPCC driver

2018-04-06 Thread Jassi Brar
On Fri, Apr 6, 2018 at 8:35 PM, Fabien DESSENNE wrote: > > On 06/04/18 14:56, Jassi Brar wrote: >> On Fri, Apr 6, 2018 at 5:59 PM, Fabien DESSENNE >> wrote: >>> Hi >>> >>> >>> On 05/04/18 11:38, Jassi Brar wrote: >>>

Re: [PATCH v2 2/2] mailbox: add STMicroelectronics STM32 IPCC driver

2018-04-06 Thread Jassi Brar
On Fri, Apr 6, 2018 at 5:59 PM, Fabien DESSENNE <fabien.desse...@st.com> wrote: > Hi > > > On 05/04/18 11:38, Jassi Brar wrote: >> On Mon, Mar 12, 2018 at 4:28 PM, Fabien Dessenne <fabien.desse...@st.com> >> wrote: >> >>> + >>> +

Re: [PATCH v2 2/2] mailbox: add STMicroelectronics STM32 IPCC driver

2018-04-06 Thread Jassi Brar
On Fri, Apr 6, 2018 at 5:59 PM, Fabien DESSENNE wrote: > Hi > > > On 05/04/18 11:38, Jassi Brar wrote: >> On Mon, Mar 12, 2018 at 4:28 PM, Fabien Dessenne >> wrote: >> >>> + >>> + /* irq */ >>> + for (i = 0;

[GIT PULL] Mailbox changes for v4.17

2018-04-06 Thread Jassi Brar
Hi Linus, The following changes since commit 0aa3fdb8b3a6df3c2e3b61dbfe079db9d30e03cd: Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi (2018-03-14 17:02:49 -0700) are available in the git repository at:

[GIT PULL] Mailbox changes for v4.17

2018-04-06 Thread Jassi Brar
Hi Linus, The following changes since commit 0aa3fdb8b3a6df3c2e3b61dbfe079db9d30e03cd: Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi (2018-03-14 17:02:49 -0700) are available in the git repository at:

Re: [PATCH v2 2/2] mailbox: add STMicroelectronics STM32 IPCC driver

2018-04-05 Thread Jassi Brar
On Mon, Mar 12, 2018 at 4:28 PM, Fabien Dessenne wrote: > + > + /* irq */ > + for (i = 0; i < IPCC_IRQ_NUM; i++) { > + ipcc->irqs[i] = of_irq_get_byname(dev->of_node, irq_name[i]); > + if (ipcc->irqs[i] < 0) { > +

Re: [PATCH v2 2/2] mailbox: add STMicroelectronics STM32 IPCC driver

2018-04-05 Thread Jassi Brar
On Mon, Mar 12, 2018 at 4:28 PM, Fabien Dessenne wrote: > + > + /* irq */ > + for (i = 0; i < IPCC_IRQ_NUM; i++) { > + ipcc->irqs[i] = of_irq_get_byname(dev->of_node, irq_name[i]); > + if (ipcc->irqs[i] < 0) { > + dev_err(dev, "no

Re: [PATCH 2/3] mailbox: Avoid NULL dereference in mbox_chan_received_data

2018-03-01 Thread Jassi Brar
On Wed, Feb 28, 2018 at 7:57 AM, Samuel Holland wrote: > If a reception IRQ is pending when a mailbox channel is shut down (for > example, if the controller uses threaded interrupts), it is possible for > mbox_chan_received_data to be called while chan->cl is NULL. > We can

Re: [PATCH 2/3] mailbox: Avoid NULL dereference in mbox_chan_received_data

2018-03-01 Thread Jassi Brar
On Wed, Feb 28, 2018 at 7:57 AM, Samuel Holland wrote: > If a reception IRQ is pending when a mailbox channel is shut down (for > example, if the controller uses threaded interrupts), it is possible for > mbox_chan_received_data to be called while chan->cl is NULL. > We can add a check in

Re: [PATCH 3/3] mailbox: sunxi-msgbox: Add a new mailbox driver

2018-02-28 Thread Jassi Brar
On Thu, Mar 1, 2018 at 12:26 AM, Samuel Holland <sam...@sholland.org> wrote: > On 02/28/18 12:14, Jassi Brar wrote: >> On Wed, Feb 28, 2018 at 11:21 PM, Samuel Holland <sam...@sholland.org> wrote: >>> Hi, >>> >>> On 02/28/18 03:16, Jassi Brar wro

Re: [PATCH 3/3] mailbox: sunxi-msgbox: Add a new mailbox driver

2018-02-28 Thread Jassi Brar
On Thu, Mar 1, 2018 at 12:26 AM, Samuel Holland wrote: > On 02/28/18 12:14, Jassi Brar wrote: >> On Wed, Feb 28, 2018 at 11:21 PM, Samuel Holland wrote: >>> Hi, >>> >>> On 02/28/18 03:16, Jassi Brar wrote: >>>> On Wed, Feb

Re: [PATCH 3/3] mailbox: sunxi-msgbox: Add a new mailbox driver

2018-02-28 Thread Jassi Brar
On Wed, Feb 28, 2018 at 11:21 PM, Samuel Holland <sam...@sholland.org> wrote: > Hi, > > On 02/28/18 03:16, Jassi Brar wrote: >> On Wed, Feb 28, 2018 at 7:57 AM, Samuel Holland <sam...@sholland.org> wrote: >> >> >>> +/* >>> + * Th

Re: [PATCH 3/3] mailbox: sunxi-msgbox: Add a new mailbox driver

2018-02-28 Thread Jassi Brar
On Wed, Feb 28, 2018 at 11:21 PM, Samuel Holland wrote: > Hi, > > On 02/28/18 03:16, Jassi Brar wrote: >> On Wed, Feb 28, 2018 at 7:57 AM, Samuel Holland wrote: >> >> >>> +/* >>> + * The message box hardware provides 8 unidirectional channels.

Re: [PATCH 3/3] mailbox: sunxi-msgbox: Add a new mailbox driver

2018-02-28 Thread Jassi Brar
On Wed, Feb 28, 2018 at 7:57 AM, Samuel Holland wrote: > +/* > + * The message box hardware provides 8 unidirectional channels. As the > mailbox > + * framework expects them to be bidirectional > That is incorrect. Mailbox framework does not require a channel to be TX

Re: [PATCH 3/3] mailbox: sunxi-msgbox: Add a new mailbox driver

2018-02-28 Thread Jassi Brar
On Wed, Feb 28, 2018 at 7:57 AM, Samuel Holland wrote: > +/* > + * The message box hardware provides 8 unidirectional channels. As the > mailbox > + * framework expects them to be bidirectional > That is incorrect. Mailbox framework does not require a channel to be TX and RX capable. You

[GIT PULL] Mailbox changes for v4.16

2018-02-04 Thread Jassi Brar
Hi Linus, The following changes since commit ef7f8cec80a0ba7bd00ece46844c8994117dc910: Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net (2018-01-08 20:21:39 -0800) are available in the git repository at: git://git.linaro.org/landing-teams/working/fujitsu/integration.git

[GIT PULL] Mailbox changes for v4.16

2018-02-04 Thread Jassi Brar
Hi Linus, The following changes since commit ef7f8cec80a0ba7bd00ece46844c8994117dc910: Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net (2018-01-08 20:21:39 -0800) are available in the git repository at: git://git.linaro.org/landing-teams/working/fujitsu/integration.git

Re: [PATCH v11 2/6] mailbox: qcom: Create APCS child device for clock controller

2018-01-31 Thread Jassi Brar
On Thu, Feb 1, 2018 at 12:10 AM, Georgi Djakov <georgi.dja...@linaro.org> wrote: > > Hi Jassi, > > On 01/27/2018 05:44 AM, Jassi Brar wrote: > > On Thu, Jan 4, 2018 at 10:26 PM, Georgi Djakov <georgi.dja...@linaro.org> > > wrote: > >> Hi Jassi, >

Re: [PATCH v11 2/6] mailbox: qcom: Create APCS child device for clock controller

2018-01-31 Thread Jassi Brar
On Thu, Feb 1, 2018 at 12:10 AM, Georgi Djakov wrote: > > Hi Jassi, > > On 01/27/2018 05:44 AM, Jassi Brar wrote: > > On Thu, Jan 4, 2018 at 10:26 PM, Georgi Djakov > > wrote: > >> Hi Jassi, > >> > >> On 12/29/2017 08:14 AM, Jassi Brar wrot

Re: [PATCH v11 2/6] mailbox: qcom: Create APCS child device for clock controller

2018-01-26 Thread Jassi Brar
On Thu, Jan 4, 2018 at 10:26 PM, Georgi Djakov <georgi.dja...@linaro.org> wrote: > Hi Jassi, > > On 12/29/2017 08:14 AM, Jassi Brar wrote: >> Hi Bjorn, >> >> On Sun, Dec 24, 2017 at 10:36 AM, Bjorn Andersson >> <bjorn.anders...@linaro.org> wrote: >&

Re: [PATCH v11 2/6] mailbox: qcom: Create APCS child device for clock controller

2018-01-26 Thread Jassi Brar
On Thu, Jan 4, 2018 at 10:26 PM, Georgi Djakov wrote: > Hi Jassi, > > On 12/29/2017 08:14 AM, Jassi Brar wrote: >> Hi Bjorn, >> >> On Sun, Dec 24, 2017 at 10:36 AM, Bjorn Andersson >> wrote: >>> On Fri 22 Dec 20:57 PST 2017, Jassi Brar wrote: >&

Re: FW: [PATCH v20 2/4] mailbox: mediatek: Add Mediatek CMDQ driver

2018-01-18 Thread Jassi Brar
On Mon, Jan 8, 2018 at 2:08 PM, houlong wei wrote: > Hi Jassi, > > Sorry for reply so late. > According to previous discussion, there are two methods to move > dma_map_single() outside of spin_lock. > (1) put in mtk-cmdq-helper.c, as described by HS on 2017-02-09. > >

Re: FW: [PATCH v20 2/4] mailbox: mediatek: Add Mediatek CMDQ driver

2018-01-18 Thread Jassi Brar
On Mon, Jan 8, 2018 at 2:08 PM, houlong wei wrote: > Hi Jassi, > > Sorry for reply so late. > According to previous discussion, there are two methods to move > dma_map_single() outside of spin_lock. > (1) put in mtk-cmdq-helper.c, as described by HS on 2017-02-09. > > I think a trade-off

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

2018-01-09 Thread Jassi Brar
On Wed, Jan 10, 2018 at 6:52 AM, Jiaying Liang <jli...@xilinx.com> wrote: >> From: Jassi Brar [mailto:jassisinghb...@gmail.com] >> > + >> > +Controller Device Node: >> > +=== >> > +Required properties: >> > +

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

2018-01-09 Thread Jassi Brar
On Wed, Jan 10, 2018 at 6:52 AM, Jiaying Liang wrote: >> From: Jassi Brar [mailto:jassisinghb...@gmail.com] >> > + >> > +Controller Device Node: >> > +=== >> > +Required properties: >> > + >> >

Re: [RFC] dmaengine: pl330: fix a race condition in case of threaded irqs

2018-01-09 Thread Jassi Brar
On Mon, Dec 25, 2017 at 7:50 AM, Qi Hou wrote: > I found this problem below, and I now understand why it happens, but I'm not > 100% sure what is the best way to fix it. > > When booting up with "threadirqs" in command line, all irq handlers of the DMA > controller pl330

Re: [RFC] dmaengine: pl330: fix a race condition in case of threaded irqs

2018-01-09 Thread Jassi Brar
On Mon, Dec 25, 2017 at 7:50 AM, Qi Hou wrote: > I found this problem below, and I now understand why it happens, but I'm not > 100% sure what is the best way to fix it. > > When booting up with "threadirqs" in command line, all irq handlers of the DMA > controller pl330 will be threaded

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

2018-01-09 Thread Jassi Brar
On Fri, Jan 5, 2018 at 5:21 AM, 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 > --- >

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

2018-01-09 Thread Jassi Brar
On Fri, Jan 5, 2018 at 5:21 AM, 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-ipi-mailbox.txt | 104

Re: [PATCH v4 2/3] mailbox: Add support for Hi3660 mailbox

2018-01-04 Thread Jassi Brar
On Tue, Dec 19, 2017 at 4:45 PM, Kaihua Zhong wrote: . > diff --git a/drivers/mailbox/hi3660-mailbox.c > b/drivers/mailbox/hi3660-mailbox.c > new file mode 100644 > index 000..3ceca40 > --- /dev/null > +++ b/drivers/mailbox/hi3660-mailbox.c > @@ -0,0 +1,319 @@ >

Re: [PATCH v4 2/3] mailbox: Add support for Hi3660 mailbox

2018-01-04 Thread Jassi Brar
On Tue, Dec 19, 2017 at 4:45 PM, Kaihua Zhong wrote: . > diff --git a/drivers/mailbox/hi3660-mailbox.c > b/drivers/mailbox/hi3660-mailbox.c > new file mode 100644 > index 000..3ceca40 > --- /dev/null > +++ b/drivers/mailbox/hi3660-mailbox.c > @@ -0,0 +1,319 @@ > +//

Re: [PATCH v11 2/6] mailbox: qcom: Create APCS child device for clock controller

2017-12-28 Thread Jassi Brar
Hi Bjorn, On Sun, Dec 24, 2017 at 10:36 AM, Bjorn Andersson <bjorn.anders...@linaro.org> wrote: > On Fri 22 Dec 20:57 PST 2017, Jassi Brar wrote: > >> On Tue, Dec 5, 2017 at 9:16 PM, Georgi Djakov <georgi.dja...@linaro.org> >> wrote: >> > There is a

Re: [PATCH v11 2/6] mailbox: qcom: Create APCS child device for clock controller

2017-12-28 Thread Jassi Brar
Hi Bjorn, On Sun, Dec 24, 2017 at 10:36 AM, Bjorn Andersson wrote: > On Fri 22 Dec 20:57 PST 2017, Jassi Brar wrote: > >> On Tue, Dec 5, 2017 at 9:16 PM, Georgi Djakov >> wrote: >> > There is a clock controller functionality provided by the APCS hardware &g

Re: [PATCH v11 2/6] mailbox: qcom: Create APCS child device for clock controller

2017-12-22 Thread Jassi Brar
On Tue, Dec 5, 2017 at 9:16 PM, Georgi Djakov wrote: > There is a clock controller functionality provided by the APCS hardware > block of msm8916 devices. The device-tree would represent an APCS node > with both mailbox and clock provider properties. > The spec might

Re: [PATCH v11 2/6] mailbox: qcom: Create APCS child device for clock controller

2017-12-22 Thread Jassi Brar
On Tue, Dec 5, 2017 at 9:16 PM, Georgi Djakov wrote: > There is a clock controller functionality provided by the APCS hardware > block of msm8916 devices. The device-tree would represent an APCS node > with both mailbox and clock provider properties. > The spec might depict a 'clock' box and

Re: mailbox: ti-msgmgr: Switch to SPDX Licensing

2017-12-16 Thread Jassi Brar
On Sun, Dec 17, 2017 at 3:19 AM, Nishanth Menon wrote: > On 08:21-20171213, Lokesh Vutla wrote: >> >> >> On Saturday 02 December 2017 03:52 PM, Nishanth Menon wrote: >> > Switch to SPDX licensing and drop the GPL text which comes redundant. >> > >> > Signed-off-by: Nishanth Menon

Re: mailbox: ti-msgmgr: Switch to SPDX Licensing

2017-12-16 Thread Jassi Brar
On Sun, Dec 17, 2017 at 3:19 AM, Nishanth Menon wrote: > On 08:21-20171213, Lokesh Vutla wrote: >> >> >> On Saturday 02 December 2017 03:52 PM, Nishanth Menon wrote: >> > Switch to SPDX licensing and drop the GPL text which comes redundant. >> > >> > Signed-off-by: Nishanth Menon >> >> >>

Re: [PATCH v3 2/3] mailbox: Add support for Hi3660 mailbox

2017-12-04 Thread Jassi Brar
On Fri, Nov 17, 2017 at 2:54 PM, Xu YiPing wrote: > From: Kaihua Zhong > > Hi3660 mailbox controller is used to send message within multiple > processors, MCU, HIFI, etc. It supports 32 mailbox channels and every > channel can only be used for

Re: [PATCH v3 2/3] mailbox: Add support for Hi3660 mailbox

2017-12-04 Thread Jassi Brar
On Fri, Nov 17, 2017 at 2:54 PM, Xu YiPing wrote: > From: Kaihua Zhong > > Hi3660 mailbox controller is used to send message within multiple > processors, MCU, HIFI, etc. It supports 32 mailbox channels and every > channel can only be used for single transferring direction. Once the > channel

Re: [PATCH] mailbox: txdone_method shouldn't always be reset

2017-11-17 Thread Jassi Brar
On Fri, Nov 17, 2017 at 12:34 PM, Bjorn Andersson <bjorn.anders...@linaro.org> wrote: > On Thu 16 Nov 22:47 PST 2017, Jassi Brar wrote: >> On 16 Nov 2017 23:12, "Bjorn Andersson" <bjorn.anders...@linaro.org> wrote: >> On Thu 16 Nov 09:06 PST 2017, Jassi

Re: [PATCH] mailbox: txdone_method shouldn't always be reset

2017-11-17 Thread Jassi Brar
On Fri, Nov 17, 2017 at 12:34 PM, Bjorn Andersson wrote: > On Thu 16 Nov 22:47 PST 2017, Jassi Brar wrote: >> On 16 Nov 2017 23:12, "Bjorn Andersson" wrote: >> On Thu 16 Nov 09:06 PST 2017, Jassi Brar wrote: >> > diff --git a/drivers/mailbox/mailbox.c b/dr

Re: [PATCH] mailbox: txdone_method shouldn't always be reset

2017-11-16 Thread Jassi Brar
On Thu, Nov 16, 2017 at 10:21 PM, Jassi Brar <jassisinghb...@gmail.com> wrote: > On Thu, Nov 16, 2017 at 11:01 AM, Bjorn Andersson > <bjorn.anders...@linaro.org> wrote: >> A client that knows how to drive txdone would temporarily "upgrade" the >> method to

Re: [PATCH] mailbox: txdone_method shouldn't always be reset

2017-11-16 Thread Jassi Brar
On Thu, Nov 16, 2017 at 10:21 PM, Jassi Brar wrote: > On Thu, Nov 16, 2017 at 11:01 AM, Bjorn Andersson > wrote: >> A client that knows how to drive txdone would temporarily "upgrade" the >> method to TXDONE_BY_ACK. But with the introduction of commit 33cd7

Re: [PATCH] mailbox: txdone_method shouldn't always be reset

2017-11-16 Thread Jassi Brar
On Thu, Nov 16, 2017 at 11:01 AM, Bjorn Andersson wrote: > A client that knows how to drive txdone would temporarily "upgrade" the > method to TXDONE_BY_ACK. But with the introduction of commit 33cd7123ac0ba > ("mailbox: reset txdone_method TXDONE_BY_POLL if client

Re: [PATCH] mailbox: txdone_method shouldn't always be reset

2017-11-16 Thread Jassi Brar
On Thu, Nov 16, 2017 at 11:01 AM, Bjorn Andersson wrote: > A client that knows how to drive txdone would temporarily "upgrade" the > method to TXDONE_BY_ACK. But with the introduction of commit 33cd7123ac0ba > ("mailbox: reset txdone_method TXDONE_BY_POLL if client knows_txdone") > there is no

[GIT PULL] Mailbox changes for v4.15

2017-11-15 Thread Jassi Brar
Hi Linus, The following changes since commit 15f859ae5c43c7f0a064ed92d33f7a5bc5de6de0: Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dledford/rdma (2017-10-26 23:04:14 +0200) are available in the git repository at:

[GIT PULL] Mailbox changes for v4.15

2017-11-15 Thread Jassi Brar
Hi Linus, The following changes since commit 15f859ae5c43c7f0a064ed92d33f7a5bc5de6de0: Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dledford/rdma (2017-10-26 23:04:14 +0200) are available in the git repository at:

<    1   2   3   4   5   6   7   8   9   10   >