From: gregory.clement@free-electrons.com (Gregory CLEMENT)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2] arm64: dts: marvell: mark the cp110 crypto engine as dma coherent
Date: Wed, 19 Jul 2017 13:38:25 +0200 [thread overview]
Message-ID: <87d18w7j2m.fsf@free-electrons.com> (raw)
In-Reply-To: <20170719090426.10228-1-antoine.tenart@free-electrons.com> (Antoine Tenart's message of "Wed, 19 Jul 2017 11:04:26 +0200")
Hi Antoine,
On mer., juil. 19 2017, Antoine Tenart <antoine.tenart@free-electrons.com> wrote:
> The crypto engines found on the cp110 master and slave are dma coherent.
> This patch adds the relevant property to their dt nodes.
>
> Cc: stable at vger.kernel.org # v4.12+
> Fixes: 973020fd9498 ("arm64: marvell: dts: add crypto engine description for 7k/8k")
> Signed-off-by: Antoine Tenart <antoine.tenart@free-electrons.com>
Applied on mvebu/fixes
Thanks,
Gregory
> ---
>
> Since v1: added the 'Fixes:' and 'Cc: stable' tags.
>
> arch/arm64/boot/dts/marvell/armada-cp110-master.dtsi | 1 +
> arch/arm64/boot/dts/marvell/armada-cp110-slave.dtsi | 1 +
> 2 files changed, 2 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/marvell/armada-cp110-master.dtsi b/arch/arm64/boot/dts/marvell/armada-cp110-master.dtsi
> index 726528ce54e9..4c68605675a8 100644
> --- a/arch/arm64/boot/dts/marvell/armada-cp110-master.dtsi
> +++ b/arch/arm64/boot/dts/marvell/armada-cp110-master.dtsi
> @@ -270,6 +270,7 @@
> interrupt-names = "mem", "ring0", "ring1",
> "ring2", "ring3", "eip";
> clocks = <&cpm_clk 1 26>;
> + dma-coherent;
> };
> };
>
> diff --git a/arch/arm64/boot/dts/marvell/armada-cp110-slave.dtsi b/arch/arm64/boot/dts/marvell/armada-cp110-slave.dtsi
> index 95f8e5f607f6..0dbb59811d00 100644
> --- a/arch/arm64/boot/dts/marvell/armada-cp110-slave.dtsi
> +++ b/arch/arm64/boot/dts/marvell/armada-cp110-slave.dtsi
> @@ -261,6 +261,7 @@
> interrupt-names = "mem", "ring0", "ring1",
> "ring2", "ring3", "eip";
> clocks = <&cps_clk 1 26>;
> + dma-coherent;
> /*
> * The cryptographic engine found on the cp110
> * master is enabled by default at the SoC
> --
> 2.13.3
>
--
Gregory Clement, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
WARNING: multiple messages have this Message-ID (diff)
From: Gregory CLEMENT <gregory.clement@free-electrons.com>
To: Antoine Tenart <antoine.tenart@free-electrons.com>
Cc: jason@lakedaemon.net, andrew@lunn.ch,
sebastian.hesselbarth@gmail.com,
thomas.petazzoni@free-electrons.com, nadavh@marvell.com,
linux-arm-kernel@lists.infradead.org, stable@vger.kernel.org
Subject: Re: [PATCH v2] arm64: dts: marvell: mark the cp110 crypto engine as dma coherent
Date: Wed, 19 Jul 2017 13:38:25 +0200 [thread overview]
Message-ID: <87d18w7j2m.fsf@free-electrons.com> (raw)
In-Reply-To: <20170719090426.10228-1-antoine.tenart@free-electrons.com> (Antoine Tenart's message of "Wed, 19 Jul 2017 11:04:26 +0200")
Hi Antoine,
On mer., juil. 19 2017, Antoine Tenart <antoine.tenart@free-electrons.com> wrote:
> The crypto engines found on the cp110 master and slave are dma coherent.
> This patch adds the relevant property to their dt nodes.
>
> Cc: stable@vger.kernel.org # v4.12+
> Fixes: 973020fd9498 ("arm64: marvell: dts: add crypto engine description for 7k/8k")
> Signed-off-by: Antoine Tenart <antoine.tenart@free-electrons.com>
Applied on mvebu/fixes
Thanks,
Gregory
> ---
>
> Since v1: added the 'Fixes:' and 'Cc: stable' tags.
>
> arch/arm64/boot/dts/marvell/armada-cp110-master.dtsi | 1 +
> arch/arm64/boot/dts/marvell/armada-cp110-slave.dtsi | 1 +
> 2 files changed, 2 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/marvell/armada-cp110-master.dtsi b/arch/arm64/boot/dts/marvell/armada-cp110-master.dtsi
> index 726528ce54e9..4c68605675a8 100644
> --- a/arch/arm64/boot/dts/marvell/armada-cp110-master.dtsi
> +++ b/arch/arm64/boot/dts/marvell/armada-cp110-master.dtsi
> @@ -270,6 +270,7 @@
> interrupt-names = "mem", "ring0", "ring1",
> "ring2", "ring3", "eip";
> clocks = <&cpm_clk 1 26>;
> + dma-coherent;
> };
> };
>
> diff --git a/arch/arm64/boot/dts/marvell/armada-cp110-slave.dtsi b/arch/arm64/boot/dts/marvell/armada-cp110-slave.dtsi
> index 95f8e5f607f6..0dbb59811d00 100644
> --- a/arch/arm64/boot/dts/marvell/armada-cp110-slave.dtsi
> +++ b/arch/arm64/boot/dts/marvell/armada-cp110-slave.dtsi
> @@ -261,6 +261,7 @@
> interrupt-names = "mem", "ring0", "ring1",
> "ring2", "ring3", "eip";
> clocks = <&cps_clk 1 26>;
> + dma-coherent;
> /*
> * The cryptographic engine found on the cp110
> * master is enabled by default at the SoC
> --
> 2.13.3
>
--
Gregory Clement, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
next prev parent reply other threads:[~2017-07-19 11:38 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-19 9:04 [PATCH v2] arm64: dts: marvell: mark the cp110 crypto engine as dma coherent Antoine Tenart
2017-07-19 9:04 ` Antoine Tenart
2017-07-19 11:38 ` Gregory CLEMENT [this message]
2017-07-19 11:38 ` Gregory CLEMENT
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=87d18w7j2m.fsf@free-electrons.com \
--to=gregory.clement@free-electrons.com \
--cc=linux-arm-kernel@lists.infradead.org \
/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.