From: Mark A. Greer mgr...@animalcreek.com
Add the generic AM33XX AES module's device tree data and
enable it for the am335x-evm, am335x-evmsk, and am335x-bone
platforms. Also add Documentation file describing the data
for the AES module.
[jo...@ti.com: Dropped interrupt-parent propert,
From: Mark A. Greer mgr...@animalcreek.com
Add the generic AM33XX SHAM module's device tree data and
enable it for the am335x-evm, am335x-evmsk, and am335x-bone
platforms. Also add Documentation file describing the data
for the SHAM module.
[jo...@ti.com: Dropped interrupt-parrent property,
On 10/04/2013 09:10 AM, Benoit Cousson wrote:
On 04/10/2013 04:00, Joel Fernandes wrote:
On 10/03/2013 08:25 AM, Benoit Cousson wrote:
+ DT list and DT maintainers.
Hi Joel,
Thanks for the update. It looks good to me.
For the new bindings added below;
.../devicetree/bindings/crypto
On 10/03/2013 08:25 AM, Benoit Cousson wrote:
+ DT list and DT maintainers.
Hi Joel,
Thanks for the update. It looks good to me.
For the new bindings added below;
.../devicetree/bindings/crypto/omap-aes.txt| 34 ++
.../devicetree/bindings/crypto/omap-sham.txt
Signed-off-by: Joel Fernandes jo...@ti.com
---
arch/arm/boot/dts/am33xx.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi
index 0daa1b2..d7be90a 100644
--- a/arch/arm/boot/dts/am33xx.dtsi
+++ b/arch/arm/boot/dts
OMAP4 has an AES module that uses the omap-aes crypto driver.
Add DT entries for the same.
Signed-off-by: Joel Fernandes jo...@ti.com
---
arch/arm/boot/dts/omap4.dtsi | 9 +
1 file changed, 9 insertions(+)
diff --git a/arch/arm/boot/dts/omap4.dtsi b/arch/arm/boot/dts/omap4.dtsi
index
OMAP4 has an DES3DES module that uses the omap-des crypto driver.
Add DT entries for the same.
Signed-off-by: Joel Fernandes jo...@ti.com
---
arch/arm/boot/dts/omap4.dtsi | 9 +
1 file changed, 9 insertions(+)
diff --git a/arch/arm/boot/dts/omap4.dtsi b/arch/arm/boot/dts/omap4.dtsi
...@github.com:joelagnel/linux-kernel.git (branch for-benoit)
v2 changes:
- Fixed hex capitalization
- Dropped interrupt-parent property and use macros
Benoit Parrot (1):
ARM: dts: AM33XX: Add LCDC info into am335x-evm
Darren Etheridge (1):
dts: boneblack: add pinmux and hdmi node to enable display
Joel
-by: Joel Fernandes jo...@ti.com
---
arch/arm/boot/dts/am335x-evm.dts | 71
arch/arm/boot/dts/am33xx.dtsi| 9 +
2 files changed, 80 insertions(+)
diff --git a/arch/arm/boot/dts/am335x-evm.dts b/arch/arm/boot/dts/am335x-evm.dts
index 86463fa..b73f41f 100644
From: Darren Etheridge detheri...@ti.com
Enable the hdmi output and the LCD Controller on BeagleBone
Black. Also configure the correct pinmux for output of
video data from the SoC to the HDMI encoder.
Signed-off-by: Darren Etheridge detheri...@ti.com
Signed-off-by: Joel Fernandes jo...@ti.com
AM437x SoC has a DES3DES module similar to the one on OMAP4.
Add DT node for the same.
Signed-off-by: Joel Fernandes jo...@ti.com
---
arch/arm/boot/dts/am4372.dtsi | 7 +++
1 file changed, 7 insertions(+)
diff --git a/arch/arm/boot/dts/am4372.dtsi b/arch/arm/boot/dts/am4372.dtsi
index
From: Mark A. Greer mgr...@animalcreek.com
Add the generic AM33XX SHAM module's device tree data and
enable it for the am335x-evm, am335x-evmsk, and am335x-bone
platforms. Also add Documentation file describing the data
for the SHAM module.
[jo...@ti.com: Dropped interrupt-parrent property]
CC:
From: Mark A. Greer mgr...@animalcreek.com
Add the generic AM33XX AES module's device tree data and
enable it for the am335x-evm, am335x-evmsk, and am335x-bone
platforms. Also add Documentation file describing the data
for the AES module.
[jo...@ti.com: Dropped interrupt-parent propert]
CC:
AM437x SoC has AES module similar to the one on OMAP4.
Add DT node for the same.
Signed-off-by: Joel Fernandes jo...@ti.com
---
arch/arm/boot/dts/am4372.dtsi | 7 +++
1 file changed, 7 insertions(+)
diff --git a/arch/arm/boot/dts/am4372.dtsi b/arch/arm/boot/dts/am4372.dtsi
index 0fe393a
On 09/27/2013 02:49 AM, Sekhar Nori wrote:
On 9/27/2013 5:58 AM, Joel Fernandes wrote:
On 09/26/2013 06:13 PM, Olof Johansson wrote:
On Thu, Sep 26, 2013 at 2:55 PM, Joel Fernandes jo...@ti.com wrote:
HWMOD removal for MMC is breaking edma_start as the events are being
manually
triggered
On 09/27/2013 04:04 AM, Sekhar Nori wrote:
On 9/27/2013 5:58 AM, Joel Fernandes wrote:
On 09/26/2013 06:13 PM, Olof Johansson wrote:
On Thu, Sep 26, 2013 at 2:55 PM, Joel Fernandes jo...@ti.com wrote:
HWMOD removal for MMC is breaking edma_start as the events are being
manually
triggered
Lindgren t...@atomide.com
Cc: Olof Johansson o...@lixom.net
Cc: Nishanth Menon n...@ti.com
Cc: Pantel Antoniou pa...@antoniou-consulting.com
Cc: Jason Kridner jkrid...@beagleboard.org
Cc: Koen Kooi k...@dominion.thruhere.net
Signed-off-by: Joel Fernandes jo...@ti.com
---
Just resending this patch
On 09/26/2013 06:13 PM, Olof Johansson wrote:
On Thu, Sep 26, 2013 at 2:55 PM, Joel Fernandes jo...@ti.com wrote:
HWMOD removal for MMC is breaking edma_start as the events are being manually
triggered due to unused channel list not being clear.
The above issue is fixed by reading the dmas
OMAP4 has an DES3DES module that uses the omap-des crypto driver.
Add DT entries for the same.
Signed-off-by: Joel Fernandes jo...@ti.com
---
arch/arm/boot/dts/omap4.dtsi | 10 ++
1 file changed, 10 insertions(+)
diff --git a/arch/arm/boot/dts/omap4.dtsi b/arch/arm/boot/dts/omap4.dtsi
From: Mark A. Greer mgr...@animalcreek.com
Add the generic AM33XX SHAM module's device tree data and
enable it for the am335x-evm, am335x-evmsk, and am335x-bone
platforms. Also add Documentation file describing the data
for the SHAM module.
CC: Paul Walmsley p...@pwsan.com
Signed-off-by: Mark
Signed-off-by: Joel Fernandes jo...@ti.com
---
arch/arm/boot/dts/am33xx.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi
index 96c4b44..1a5575d 100644
--- a/arch/arm/boot/dts/am33xx.dtsi
+++ b/arch/arm/boot/dts
-by: Joel Fernandes jo...@ti.com
---
arch/arm/boot/dts/am335x-evm.dts | 71
arch/arm/boot/dts/am33xx.dtsi| 9 +
2 files changed, 80 insertions(+)
diff --git a/arch/arm/boot/dts/am335x-evm.dts b/arch/arm/boot/dts/am335x-evm.dts
index 86463fa..b73f41f 100644
...@github.com:joelagnel/linux-kernel.git (branch for-benoit)
Benoit Parrot (1):
ARM: dts: AM33XX: Add LCDC info into am335x-evm
Darren Etheridge (1):
dts: boneblack: add pinmux and hdmi node to enable display
Joel Fernandes (5):
omap4: dts: Add node for AES
omap4: dts: Add node for DES3DES module
From: Darren Etheridge detheri...@ti.com
Enable the hdmi output and the LCD Controller on BeagleBone
Black. Also configure the correct pinmux for output of
video data from the SoC to the HDMI encoder.
Signed-off-by: Darren Etheridge detheri...@ti.com
Signed-off-by: Joel Fernandes jo...@ti.com
a comment clarifying this.
Signed-off-by: Joel Fernandes jo...@ti.com
---
drivers/dma/edma.c | 10 --
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/drivers/dma/edma.c b/drivers/dma/edma.c
index 9b63e1e..407b496 100644
--- a/drivers/dma/edma.c
+++ b/drivers/dma/edma.c
@@ -46,8
to
all DMA types must be set separately such as setting of interrupts.
This function takes care of the most-common attributes.
Also added comments clarifying A-sync case calculations.
Signed-off-by: Joel Fernandes jo...@ti.com
---
drivers/dma/edma.c | 198
dma/cyclic)
Joel Fernandes (3):
dma: edma: Split out PaRAM set calculations into its own function
dma: edma: Add support for Cyclic DMA
dma: edma: Increase maximum SG limit to 20
drivers/dma/edma.c | 350 +
1 file changed, 273 insertions
the driver can allocate for a particular descriptor
and error out on such cases.
Signed-off-by: Joel Fernandes jo...@ti.com
---
drivers/dma/edma.c | 159 ++---
1 file changed, 151 insertions(+), 8 deletions(-)
diff --git a/drivers/dma/edma.c b/drivers/dma
binding
updates. Following this suggestion, I've update the patch to the below:
---8---
From: Joel Fernandes jo...@ti.com
Subject: [PATCH v6] ARM: EDMA: Fix clearing of unused list for DT DMA resources
HWMOD removal for MMC is breaking edma_start as the events are being manually
triggered due
On 09/16/2013 06:48 AM, Sekhar Nori wrote:
Hi Joel,
On Saturday 14 September 2013 06:27 AM, Joel Fernandes wrote:
From: Joel Fernandes jo...@ti.com
Subject: [PATCH v4] ARM: EDMA: Fix clearing of unused list for DT DMA
resources
HWMOD removal for MMC is breaking edma_start as the events
On 09/17/2013 12:08 AM, Sekhar Nori wrote:
[..]
I still cannot find any users of edma in the device tree sources either
in linux-next or linus/master. Why cannot this wait until v3.13?
I understand this affects only DT users of EDMA. But I get so many private
reports of breakage due to this
On 09/12/2013 04:58 AM, Sekhar Nori wrote:
On Wednesday 11 September 2013 12:22 AM, Joel Fernandes wrote:
HWMOD removal for MMC is breaking edma_start as the events are being manually
triggered due to unused channel list not being clear.
[..]
It is better to send one version with all comments
On 09/11/2013 12:18 AM, Koen Kooi wrote:
Op 10 sep. 2013, om 22:14 heeft Joel Fernandes jo...@ti.com het volgende
geschreven:
On 09/10/2013 02:39 PM, Koen Kooi wrote:
Op 10 sep. 2013, om 21:24 heeft Joel Fernandes jo...@ti.com het volgende
geschreven:
Here are last few patches
On 07/31/2013 03:35 AM, Javier Martinez Canillas wrote:
On 07/31/2013 01:44 AM, Linus Walleij wrote:
On Tue, Jul 30, 2013 at 6:30 AM, Grant Likely grant.lik...@linaro.org
wrote:
On Mon, Jul 29, 2013 at 6:36 AM, Linus Walleij linus.wall...@linaro.org
wrote:
To solve this dilemma, perform an
On 09/10/2013 08:17 AM, Javier Martinez Canillas wrote:
On 09/10/2013 09:00 AM, Joel Fernandes wrote:
On 07/31/2013 03:35 AM, Javier Martinez Canillas wrote:
On 07/31/2013 01:44 AM, Linus Walleij wrote:
On Tue, Jul 30, 2013 at 6:30 AM, Grant Likely grant.lik...@linaro.org
wrote:
On Mon, Jul
);
+
+MODULE_DESCRIPTION(OMAP DES hw acceleration support.);
+MODULE_LICENSE(GPL v2);
+MODULE_AUTHOR(Joel Fernandes jo...@ti.com);
--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo
On 09/10/2013 10:48 AM, Javier Martinez Canillas wrote:
On 09/10/2013 05:00 PM, Joel Fernandes wrote:
On 09/10/2013 08:17 AM, Javier Martinez Canillas wrote:
On 09/10/2013 09:00 AM, Joel Fernandes wrote:
On 07/31/2013 03:35 AM, Javier Martinez Canillas wrote:
On 07/31/2013 01:44 AM, Linus
the of_* helpers to parse the arguments in the dmas phandle list.
Reviewed-by: Sekhar Nori nsek...@ti.com
Reported-by: Balaji T K balaj...@ti.com
Cc: Pantel Antoniou pa...@antoniou-consulting.com
Signed-off-by: Joel Fernandes jo...@ti.com
---
This patch is a repost of v2 with minor change of return
-hs-handling added
Signed-off-by: Matt Porter mpor...@ti.com
Acked-by: Tony Lindgren t...@atomide.com
Signed-off-by: Joel Fernandes jo...@ti.com
---
.../devicetree/bindings/mmc/ti-omap-hsmmc.txt | 26 ++-
arch/arm/boot/dts/am335x-bone.dts | 11 +++
arch/arm/boot
Here are last few patches required to add EDMA and MMC/SPI support for AM33xx.
Now that all dependent DMA patches and fixes are in linux next or mainline,
except
for [1] which should go in for 3.12 -rc cycle, it is safe to enable MMC and SPI
support
and this patch series enables it. These are
From: Matt Porter mpor...@ti.com
Adds DMA resources to the AM33XX SPI nodes.
Signed-off-by: Matt Porter mpor...@ti.com
Signed-off-by: Joel A Fernandes joelag...@ti.com
---
arch/arm/boot/dts/am33xx.dtsi | 10 ++
1 file changed, 10 insertions(+)
diff --git a/arch/arm/boot/dts/am33xx.dtsi
From: Matt Porter m...@ti.com
Adds AM33XX EDMA support to the am33xx.dtsi as documented in
Documentation/devicetree/bindings/dma/ti-edma.txt
[Joel Fernandes jo...@ti.com]
Drop DT entries that are non-hardware-description as discussed in [1]
[1] https://patchwork.kernel.org/patch/2226761
On 09/10/2013 02:39 PM, Koen Kooi wrote:
Op 10 sep. 2013, om 21:24 heeft Joel Fernandes jo...@ti.com het volgende
geschreven:
Here are last few patches required to add EDMA and MMC/SPI support for
AM33xx.
Now that all dependent DMA patches and fixes are in linux next or mainline
On 09/09/2013 01:43 PM, Koen Kooi wrote:
Op 9 sep. 2013, om 20:27 heeft Joel Fernandes jo...@ti.com het volgende
geschreven:
On 09/09/2013 10:51 AM, Koen Kooi wrote:
Op 9 sep. 2013, om 17:23 heeft Kevin Hilman khil...@linaro.org het
volgende geschreven:
Koen Kooi k
On 09/09/2013 10:51 AM, Koen Kooi wrote:
Op 9 sep. 2013, om 17:23 heeft Kevin Hilman khil...@linaro.org het volgende
geschreven:
Koen Kooi k...@dominion.thruhere.net writes:
The BeagleBone Black is basically a regular BeagleBone with eMMC and HDMI
added,
so create a common dtsi both
On 09/09/2013 01:51 PM, Joel Fernandes wrote:
On 09/09/2013 01:43 PM, Koen Kooi wrote:
Op 9 sep. 2013, om 20:27 heeft Joel Fernandes jo...@ti.com het volgende
geschreven:
On 09/09/2013 10:51 AM, Koen Kooi wrote:
Op 9 sep. 2013, om 17:23 heeft Kevin Hilman khil...@linaro.org het
volgende
On 09/09/2013 03:00 PM, Koen Kooi wrote:
Op 9 sep. 2013, om 21:50 heeft Joel Fernandes jo...@ti.com het volgende
geschreven:
On 09/09/2013 01:51 PM, Joel Fernandes wrote:
On 09/09/2013 01:43 PM, Koen Kooi wrote:
Op 9 sep. 2013, om 20:27 heeft Joel Fernandes jo...@ti.com het volgende
On 09/09/2013 03:12 PM, Joel Fernandes wrote:
On 09/09/2013 03:00 PM, Koen Kooi wrote:
Op 9 sep. 2013, om 21:50 heeft Joel Fernandes jo...@ti.com het volgende
geschreven:
On 09/09/2013 01:51 PM, Joel Fernandes wrote:
On 09/09/2013 01:43 PM, Koen Kooi wrote:
Op 9 sep. 2013, om 20:27 heeft
Hi George,
On 09/06/2013 03:21 AM, George Cherian wrote:
Add mmc nodes for am33xx platforms
Signed-off-by: George Cherian george.cher...@ti.com
---
Verified after applying [1] and [2]
[1] - [PATCH v4 0/6] dma: edma: Support scatter-lists of any length -
On 09/06/2013 02:15 PM, Mark Jackson wrote:
On 06/09/13 20:13, Mark Jackson wrote:
On 23/08/13 20:53, Joel Fernandes wrote:
HWMOD removal for MMC and Crypto is breaking edma_start as the events are
being manually triggered due to unused channel list not being clear. Atleast
breakage has been
On 09/04/2013 11:31 AM, Benoit Cousson wrote:
Hi Joel,
On 31/08/2013 03:19, Joel Fernandes wrote:
Hi Benoit,
On 08/26/2013 03:36 AM, Benoit Cousson wrote:
- minus all the TI emails which are not working anymore :-(
I've just sent my previous email too soon...
Now the patch is different
On 09/02/2013 11:08 PM, Vinod Koul wrote:
On Thu, Aug 29, 2013 at 06:05:41PM -0500, Joel Fernandes wrote:
Process SG-elements in batches of MAX_NR_SG if they are greater
than MAX_NR_SG. Due to this, at any given time only those many
slots will be used in the given channel no matter how long
From: Matt Porter mpor...@ti.com
Subject: [PATCH] ARM: dts: add AM33XX EDMA support
Adds AM33XX EDMA support to the am33xx.dtsi as documented in
Documentation/devicetree/bindings/dma/ti-edma.txt
v2 changes:
Drop DT entries that are non-hardware-description Joel Fernandes jo...@ti.com
Discussion
, still only
10 slots will be allocated to DMA the entire SG list of size 40.
Also enable TC interrupts for slots that are a last in a current
iteration, or that fall on a MAX_NR_SG boundary.
Signed-off-by: Joel Fernandes jo...@ti.com
---
drivers/dma/edma.c | 18 +++---
1 file changed
Manual trigger for events missed as a result of splitting a
scatter gather list and DMA'ing it in batches. Add a helper
function to trigger a channel incase any such events are missed.
Signed-off-by: Joel Fernandes jo...@ti.com
---
arch/arm/common/edma.c | 17
an error condition and detect the channel that
missed it.
Signed-off-by: Joel Fernandes jo...@ti.com
dma: edma: Link to dummy slot only for last SG list split
Consider the case where we have a scatter-list like:
SG1-SG2-SG3-SG4-SG5-SG6-Null
For ex, for a MAX_NR_SG of 2, earlier we were splitting
and allow the manual triggerring to happen
in edma_execute which will be eventually called. This fixes the above
mentioned race conditions seen with the crypto drivers.
[1] http://marc.info/?l=linux-omapm=137416733628831w=2
Signed-off-by: Joel Fernandes jo...@ti.com
---
drivers/dma/edma.c | 50
-omapm=137416733628831w=2
Joel Fernandes (6):
dma: edma: Setup parameters to DMA MAX_NR_SG at a time
dma: edma: Write out and handle MAX_NR_SG at a given time
ARM: edma: Add function to manually trigger an EDMA channel
dma: edma: Find missed events and issue them
dma: edma: Leave linked
With this series, this check is no longer required and
we shouldn't need to reject drivers DMA'ing more than the
MAX number of slots.
Signed-off-by: Joel Fernandes jo...@ti.com
---
drivers/dma/edma.c | 6 --
1 file changed, 6 deletions(-)
diff --git a/drivers/dma/edma.c b/drivers/dma/edma.c
-by: Joel Fernandes jo...@ti.com
---
drivers/dma/edma.c | 79 --
1 file changed, 53 insertions(+), 26 deletions(-)
diff --git a/drivers/dma/edma.c b/drivers/dma/edma.c
index e522ad5..732829b 100644
--- a/drivers/dma/edma.c
+++ b/drivers/dma/edma.c
OMAP4 and AM437x SoCs have a DES3DES module which is capable of performing DES
encrypt/decrypt and 3DES ede encrypt/decrypt operations. Following patch series
adds support for the same.
Tests have been performed with crypto/testmgr and all tests are successful.
Joel Fernandes (3):
crypto: omap
.
Tests have been conducted with the CRYPTO test manager, and functionality
is verified at different page length alignments.
Signed-off-by: Joel Fernandes jo...@ti.com
---
drivers/crypto/omap-des.c | 1192 +
1 file changed, 1192 insertions(+)
create mode
Add config and build options for the newly added omap-des driver.
Signed-off-by: Joel Fernandes jo...@ti.com
---
drivers/crypto/Kconfig | 11 +++
drivers/crypto/Makefile | 1 +
2 files changed, 12 insertions(+)
diff --git a/drivers/crypto/Kconfig b/drivers/crypto/Kconfig
index e289afa
On 08/29/2013 06:27 PM, Joel Fernandes wrote:
Add omap-des driver with platform data for OMAP4. Support added for DES
ECB and CBC modes.
Where possible, code is reused from omap-aes driver with changes made for
adjusting key size, block size, removing non-existent encryption modes
Hi Benoit,
On 08/26/2013 03:33 AM, Benoit Cousson wrote:
Hi Sebastian,
Is this patch different from that one:
http://www.mail-archive.com/linux-omap@vger.kernel.org/msg92176.html
Lokesh just pointed me this patch because it was missing for the SHAM/AES
series
from Mark Greer.
On 08/26/2013 05:46 AM, Sekhar Nori wrote:
On Saturday 24 August 2013 01:23 AM, Joel Fernandes wrote:
HWMOD removal for MMC and Crypto is breaking edma_start as the events are
being manually triggered due to unused channel list not being clear. Atleast
breakage has been seen
the of_* helpers to parse the arguments in the dmas phandle list.
Reviewed-by: Sekhar Nori nsek...@ti.com
Reported-by: Balaji T K balaj...@ti.com
Cc: Pantel Antoniou pa...@antoniou-consulting.com
Signed-off-by: Joel Fernandes jo...@ti.com
---
Changes since v1, in v2 and v3:
- Reduced indentation of non
Updating CC with Matt's current email address.
On 08/24/2013 01:02 PM, Sergei Shtylyov wrote:
Hello.
On 08/23/2013 11:06 PM, Sebastian Andrzej Siewior wrote:
From: Matt Porter m...@ti.com
Adds AM33XX EDMA support to the am33xx.dtsi as documented in
On 08/22/2013 04:24 PM, Mark A. Greer wrote:
On Thu, Aug 22, 2013 at 10:34:06AM +0200, Benoit Cousson wrote:
Hi Lokesh,
On 22/08/2013 05:50, Lokesh Vutla wrote:
Hi Benoit,
On Wednesday 21 August 2013 07:11 PM, Benoit Cousson wrote:
Hi Mark,
In fact I cannot even apply these patches since
Antoniou pa...@antoniou-consulting.com
Signed-off-by: Joel Fernandes jo...@ti.com
---
Note:
Patch should go in for -rc cycle as it fixes existing crypto drivers.
arch/arm/common/edma.c | 22 +++---
1 file changed, 19 insertions(+), 3 deletions(-)
diff --git a/arch/arm/common/edma.c b
On 08/20/2013 07:57 AM, Lokesh Vutla wrote:
Hi Joel,
On Sunday 18 August 2013 08:12 AM, Joel Fernandes wrote:
In early version of this driver, assumptions were made such as DMA layer
requires contiguous buffers etc. Due to this, new buffers were allocated,
mapped and used for DMA
For AM437x SoC, ARCH_OMAP2 and ARCH_OMAP3 is not enabled in the defconfig. We
follow same thing as SHA driver, and add depends on ARCH_OMAP2PLUS so that the
config is selectable for AES driver on AM437x SoC builds.
Signed-off-by: Joel Fernandes jo...@ti.com
---
drivers/crypto/Kconfig |2
Crypto layer only passes nbytes to encrypt but in omap-aes driver we need to
know number of SG elements to pass to dmaengine slave API. We add function for
the same to scatterwalk library.
Signed-off-by: Joel Fernandes jo...@ti.com
---
crypto/scatterwalk.c | 22
: omap-aes: Add useful debug macros will generate
a checkpatch error, which cannot be fixed. Refer to patch for error message
and reasons for why cannot be fixed, thanks.
Joel Fernandes (14):
crypto: scatterwalk: Add support for calculating number of SG
elements
crypto: omap-aes: Add
errors.
Signed-off-by: Joel Fernandes jo...@ti.com
---
drivers/crypto/omap-aes.c | 90 +
1 file changed, 90 insertions(+)
diff --git a/drivers/crypto/omap-aes.c b/drivers/crypto/omap-aes.c
index 9a964e8..889dc99 100644
--- a/drivers/crypto/omap-aes.c
in
omap_aes_device.
Signed-off-by: Joel Fernandes jo...@ti.com
---
drivers/crypto/omap-aes.c | 90 -
1 file changed, 90 deletions(-)
diff --git a/drivers/crypto/omap-aes.c b/drivers/crypto/omap-aes.c
index 5e034a1..bbdd1c3 100644
--- a/drivers/crypto/omap
Use devm_kzalloc instead of kzalloc. With this change, there is no need to
call kfree in error/exit paths.
Signed-off-by: Joel Fernandes jo...@ti.com
---
drivers/crypto/omap-aes.c |4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/drivers/crypto/omap-aes.c b/drivers/crypto
that
requires a do-while loop, but there is code that will break if a do-while loop
is used in the macro so we ignore the checkpatch error in this case.
Signed-off-by: Joel Fernandes jo...@ti.com
---
drivers/crypto/omap-aes.c | 22 +-
1 file changed, 21 insertions(+), 1 deletion
Add IRQ information to pdata and helper macros. These are required
for PIO-mode support.
Signed-off-by: Joel Fernandes jo...@ti.com
---
drivers/crypto/omap-aes.c |8
1 file changed, 8 insertions(+)
diff --git a/drivers/crypto/omap-aes.c b/drivers/crypto/omap-aes.c
index bbdd1c3
in this mode.
Signed-off-by: Joel Fernandes jo...@ti.com
---
drivers/crypto/omap-aes.c | 28 +++-
1 file changed, 23 insertions(+), 5 deletions(-)
diff --git a/drivers/crypto/omap-aes.c b/drivers/crypto/omap-aes.c
index 62b3260..d214dbf 100644
--- a/drivers/crypto/omap-aes.c
+++ b
We initialize the scatter gather walk lists needed for PIO mode and avoid all
DMA paths such as mapping/unmapping buffers by checking for the pio_only flag.
Signed-off-by: Joel Fernandes jo...@ti.com
---
drivers/crypto/omap-aes.c | 43 ++-
1 file changed
of atleast ~20% seen with encrypting a
buffer size of 8K (1800 ops/sec vs 1400 ops/sec). Improvement will be higher
for much larger blocks though such benchmarking is left as an exercise for the
reader. Also DMA usage is much more simplified and coherent with rest of the
code.
Signed-off-by: Joel
Earlier functions that did a similar sync are replaced by the dma_sync_sg_*
which can operate on entire SG list.
Signed-off-by: Joel Fernandes jo...@ti.com
---
drivers/crypto/omap-aes.c |4
1 file changed, 4 insertions(+)
diff --git a/drivers/crypto/omap-aes.c b/drivers/crypto/omap
Keeps request_irq exit/error code paths simpler.
Suggested-by: Lokesh Vutla lokeshvu...@ti.com
Signed-off-by: Joel Fernandes jo...@ti.com
---
drivers/crypto/omap-aes.c |6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/drivers/crypto/omap-aes.c b/drivers/crypto/omap
are used later.
Signed-off-by: Joel Fernandes jo...@ti.com
---
drivers/crypto/omap-aes.c |6 ++
1 file changed, 6 insertions(+)
diff --git a/drivers/crypto/omap-aes.c b/drivers/crypto/omap-aes.c
index 26b802b..e369e6e 100644
--- a/drivers/crypto/omap-aes.c
+++ b/drivers/crypto/omap-aes.c
then copy data into the buffer, and copy data out of it on completion.
Signed-off-by: Joel Fernandes jo...@ti.com
---
drivers/crypto/omap-aes.c | 86 +++--
1 file changed, 83 insertions(+), 3 deletions(-)
diff --git a/drivers/crypto/omap-aes.c b/drivers/crypto
On 08/17/2013 11:22 PM, Joe Perches wrote:
On Sat, 2013-08-17 at 21:42 -0500, Joel Fernandes wrote:
When DEBUG is enabled, these macros can be used to print variables in integer
and hex format, and clearly display which registers, offsets and values are
being read/written , including printing
On 08/15/2013 12:58 AM, Dmitry Kasatkin wrote:
On 15/08/13 02:30, Joel Fernandes wrote:
On 08/14/2013 06:12 PM, Joel Fernandes wrote:
This patch series is a rewrite of the DMA portion of omap-aes driver
and also adds support for PIO mode. Both these modes, give better
performance than before
On 08/15/2013 01:23 AM, Dmitry Kasatkin wrote:
On 15/08/13 06:12, Joel Fernandes wrote:
On 08/14/2013 07:47 PM, Joe Perches wrote:
On Wed, 2013-08-14 at 18:40 -0500, Joel Fernandes wrote:
On 08/14/2013 06:29 PM, Joe Perches wrote:
On Wed, 2013-08-14 at 18:12 -0500, Joel Fernandes wrote:
When
Hi,
I'm having some trouble with using the dma_map/unmap API.
On unmapping a particular page using dma_unmap, it seems that the
PG_dcache_clean flag is set in the page-flags. This is set by the
following statement in __dma_page_dev_to_cpu function in
arch/arm/mm/dma-mapping.c
Hi Russell,
On 08/15/2013 06:55 AM, Russell King - ARM Linux wrote:
On Thu, Aug 15, 2013 at 02:35:59AM -0500, Joel Fernandes wrote:
Hi,
I'm having some trouble with using the dma_map/unmap API.
On unmapping a particular page using dma_unmap, it seems that the
PG_dcache_clean flag is set
be detected as
error conditions.
This should architecturally be the final version of the patch series to
add DMA support for SG lists of any length.
Thanks,
-Joel
On 08/05/2013 11:14 AM, Joel Fernandes wrote:
Here is a more improved approach for DMA support of SG lists of any length
in the EDMA
in omap_aes_device.
Signed-off-by: Joel Fernandes jo...@ti.com
---
drivers/crypto/omap-aes.c | 90 -
1 file changed, 90 deletions(-)
diff --git a/drivers/crypto/omap-aes.c b/drivers/crypto/omap-aes.c
index df2f867..71da52b 100644
--- a/drivers/crypto/omap-aes.c
Crypto layer only passes nbytes to encrypt but in omap-aes driver we
need to know number of SG elements to pass to dmaengine slave API.
We add function for the same to scatterwalk library.
Signed-off-by: Joel Fernandes jo...@ti.com
---
crypto/scatterwalk.c | 22
are used later.
Signed-off-by: Joel Fernandes jo...@ti.com
---
drivers/crypto/omap-aes.c |6 ++
1 file changed, 6 insertions(+)
diff --git a/drivers/crypto/omap-aes.c b/drivers/crypto/omap-aes.c
index 3838e0a..b7189a8 100644
--- a/drivers/crypto/omap-aes.c
+++ b/drivers/crypto/omap-aes.c
Earlier functions that did a similar sync are replaced by
the dma_sync_sg_* which can operate on entire SG list.
Signed-off-by: Joel Fernandes jo...@ti.com
---
drivers/crypto/omap-aes.c |4
1 file changed, 4 insertions(+)
diff --git a/drivers/crypto/omap-aes.c b/drivers/crypto/omap
(647168 bytes)
Future work in this direction would be to dynamically change between
PIO/DMA mode based on the block size.
Joel Fernandes (10):
crypto: scatterwalk: Add support for calculating number of SG
elements
crypto: omap-aes: Add useful debug macros
crypto: omap-aes: Populate number
performance (atleast 35% seen with
encrypting a buffer size of 8K (2800 ops/sec vs 1800 ops/sec).
Also DMA usage is much more simplified and coherent with rest
of the code.
Signed-off-by: Joel Fernandes jo...@ti.com
---
drivers/crypto/omap-aes.c | 147 -
1 file
in this mode.
Signed-off-by: Joel Fernandes jo...@ti.com
---
drivers/crypto/omap-aes.c | 28 +++-
1 file changed, 23 insertions(+), 5 deletions(-)
diff --git a/drivers/crypto/omap-aes.c b/drivers/crypto/omap-aes.c
index 54f2729..34e3b77 100644
--- a/drivers/crypto/omap-aes.c
+++ b
We initialize the scatter gather walk lists needed for PIO mode
and avoid all DMA paths such as mapping/unmapping buffers by
checking for the pio_only flag.
Signed-off-by: Joel Fernandes jo...@ti.com
---
drivers/crypto/omap-aes.c | 43 ++-
1 file changed
201 - 300 of 386 matches
Mail list logo