lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Mon, 11 Jun 2012 19:29:43 +0200
From:	sjur.brandeland@...ricsson.com
To:	Ohad Ben-Cohen <ohad@...ery.com>
Cc:	Loic PALLARDY <loic.pallardy@...ricsson.com>,
	Ludovic BARRE <ludovic.barre@...ricsson.com>,
	linux-kernel@...r.kernel.org, Arnd Bergmann <arnd@...db.de>,
	Linus Walleij <linus.walleij@...aro.org>,
	Sjur Brændeland <sjurbren@...il.com>,
	Sjur Brændeland <sjur.brandeland@...ricsson.com>
Subject: [PATCHv2 0/5] remoteproc: Custom firmware handling.

From: Sjur Brændeland <sjur.brandeland@...ricsson.com>

Hi Ohad,
Here is a new patch series. I dropped the two bug-fix patches
since last time, as you already included these. I've tried to
address all of your review comments since last time, hope I
didn't miss any.

Status:
I have done a simple simulated test now with the STE firmware
loader and main-flow seems ok, but I haven't done any negative 
tests.

Changes since V1:
- Changed rproc_set_boot_addr to rproc_get_boot_addr avoiding
  firmware handlers to manipulate the rproc structure.
- Functions in remoteproc_elf_loader are now static and prefixed
   with _rproc to avoid any namespace issues.
- Added commit note about rproc_da_to_va() becoming non-static
  and moved it to remoteproc_internal.h
- Made the elf handler default.
- Moved pointer to rproc_fw_ops from the rproc_ops struct to
  the rproc struct.
- Fixed typos
- The fw_ops are no longer exported as symbols.
- The struct rproc_fw_ops is made const.
- The inline helper functions are moved from remoteproc.h to
  remoteproc_internal.h
- The latest patch is a bit odd. The ste_modem_remoteproc module
  contains only the firmware handler, and nothing else.

Regards,
Sjur

Sjur Brændeland (5):
  remoteproc: Pass struct fw to load_segments and find_rsc_table.
  remoteproc: Add function rproc_get_boot_addr
  remoteproc: Move Elf related functions to separate file
  remoteproc: Support custom firmware handlers
  remoteproc: Add custom STE-modem firmware loader.

 drivers/remoteproc/Kconfig                       |    9 +
 drivers/remoteproc/Makefile                      |    1 +
 drivers/remoteproc/remoteproc_core.c             |  251 +------------------
 drivers/remoteproc/remoteproc_elf_loader.c       |  289 ++++++++++++++++++++++
 drivers/remoteproc/remoteproc_internal.h         |   37 +++
 drivers/remoteproc/remoteproc_ste_modem_loader.c |  179 +++++++++++++
 include/linux/remoteproc.h                       |   23 ++-
 7 files changed, 546 insertions(+), 243 deletions(-)
 create mode 100644 drivers/remoteproc/remoteproc_elf_loader.c
 create mode 100644 drivers/remoteproc/remoteproc_ste_modem_loader.c

-- 
1.7.5.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ