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>] [day] [month] [year] [list]
Message-ID: <CADCVGbSeRkjqvkfF+xbwp1AwJK7nogp=OgizYPzftQe7ae2d_g@mail.gmail.com>
Date:   Thu, 16 Feb 2017 17:00:31 +0800
From:   Cyberman Wu <cypher.w@...il.com>
To:     linux-kernel@...r.kernel.org
Subject: ARM: How to use reserved-memory in devicetree

I'm using Xilinx Zynq-7000 platform and shared a region of DDR between
ARM and FPGA.
It seems kernel parameter 'memmap=nn[KMG]$ss[KMG]' doesn't implemented
under ARM platform. I'm trying to use reserved-memory node of devicetree,
but reserved memory in that way can't be accessed using mmap("/dev/mem", ...)
in application, the data read in mapped virtual address is not the
data writing by
FPGA.

Should I write a kernel driver, or use another device for mmap()?

-- 
Cyberman Wu

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ