Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1488440

[PATCH v2 0/6] Atmel sama5d2 security module support

Path csiph.com!weretis.net!feeder4.news.weretis.net!news.mixmin.net!aioe.org!gothmog.csi.it!bofh.it!news.nic.it!robomod
From Alexandre Belloni <alexandre.belloni@free-electrons.com>
Newsgroups linux.kernel
Subject [PATCH v2 0/6] Atmel sama5d2 security module support
Date Thu, 22 Sep 2016 00:20:01 +0200
Message-ID <sjXSh-6ij-3@gated-at.bofh.it> (permalink)
X-Mailer git-send-email 2.9.3
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 40
Organization linux.* mail to news gateway
X-Original-Cc linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Boris Brezillon <boris.brezillon@free-electrons.com>, Alexandre Belloni <alexandre.belloni@free-electrons.com>, Arnd Bergmann <arnd@arndb.de>, Philipp Zabel <p.zabel@pengutronix.de>, Greg Kroah-Hartman <gregkh@linuxfoundation.org>
X-Original-Date Thu, 22 Sep 2016 00:09:33 +0200
X-Original-Message-ID <20160921220939.27924-1-alexandre.belloni@free-electrons.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1488440

Show key headers only | View raw


Hi,

There has already been multiple tentatives trying to add support for the
Sama5d2 security module and in particular, access to its SRAM.
After multiple discussions, I believe adding support in the sram
driver/framework is probably the best because it allows exporting the
SRAM to the kernel, to userspace and also to run code from it.

As the support for the sama5d2 securam is fairly small, I've included it
directly in the mmio-sram driver.

Changes in v2:
 - Fixed an issued in the sama5d2 dtsi
 - Use regmap_read_poll_timeout and of_device_get_match_data as suggested by
   Philipp
 - Shrink the timeout to 500ms
 - Added Rob's acks

Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Philipp Zabel <p.zabel@pengutronix.de>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

Alexandre Belloni (6):
  Documentation: dt: atmel-at91: Document secumod bindings
  ARM: at91: add secumod register definitions
  ARM: dts: at91: sama5d2: Add secumod node
  misc: sram: document new compatible
  misc: sram: add Atmel securam support
  ARM: dts: at91: sama5d2: Add securam node

 .../devicetree/bindings/arm/atmel-at91.txt         | 17 +++++++++
 Documentation/devicetree/bindings/sram/sram.txt    |  2 +-
 arch/arm/boot/dts/sama5d2.dtsi                     | 19 ++++++++++
 drivers/misc/sram.c                                | 42 ++++++++++++++++++----
 include/soc/at91/atmel-secumod.h                   | 20 +++++++++++
 5 files changed, 92 insertions(+), 8 deletions(-)
 create mode 100644 include/soc/at91/atmel-secumod.h

-- 
2.9.3

Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

[PATCH v2 0/6] Atmel sama5d2 security module support Alexandre Belloni <alexandre.belloni@free-electrons.com> - 2016-09-22 00:20 +0200
  [PATCH v2 3/6] ARM: dts: at91: sama5d2: Add secumod node Alexandre Belloni <alexandre.belloni@free-electrons.com> - 2016-09-22 00:20 +0200
  [PATCH v2 5/6] misc: sram: add Atmel securam support Alexandre Belloni <alexandre.belloni@free-electrons.com> - 2016-09-22 00:20 +0200
    Re: [PATCH v2 5/6] misc: sram: add Atmel securam support Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2016-09-22 07:10 +0200

csiph-web