linux/drivers
Vladimir Zapolskiy b4c3fcb3c7 misc: sram: extend usage of reserved partitions
This change adds functionality to operate on reserved SRAM partitions
described in device tree file. Two partition properties are added,
"pool" and "export", the first one allows to share a specific partition
for usage by a kernel consumer in the same manner as it is done for
the whole SRAM device, and "export" property provides access to some
SRAM area from userspace over sysfs interface. Practically it is
possible to specify both properties for an SRAM partition, however
simultaneous access from a kernel consumer and from userspace is not
serialized, but still the combination may be useful for debugging
purpose.

The change opens the following scenarios of SRAM usage:
* updates in a particular SRAM area specified by offset and size are
  done by bootloader, then this information is utilized by the kernel,
* a particular SRAM area is rw accessed from userspace, the stored
  data is persistent on soft reboots,
* a device driver secures SRAM area for its purposes,
* etc.

Note, strictly speaking the added optional properties describe policy
of SRAM usage, rather than hardware, but here the policy mostly
resembles flash partitions in devicetree, which is undoubtedly
a very popular option but it does not describe hardware.

Signed-off-by: Vladimir Zapolskiy <vladimir_zapolskiy@mentor.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-10-17 21:51:47 -07:00
..
accessibility
acpi
amba
android
ata
atm
auxdisplay
base regmap: Fixes for v4.3 2015-10-07 14:15:49 +01:00
bcma
block
bluetooth
bus
cdrom
char
clk
clocksource
connector
cpufreq cpufreq: prevent lockup on reading scaling_available_frequencies 2015-10-08 21:47:56 +02:00
cpuidle
crypto
dca
devfreq
dio
dma Merge 4.3-rc4 into char-misc-next 2015-10-06 15:01:52 +01:00
dma-buf
edac
eisa
extcon extcon: Modify the id and name of external connector 2015-10-16 08:30:09 +09:00
firewire
firmware
fmc
fpga fpga manager: add driver for socfpga fpga manager 2015-10-07 18:08:15 +01:00
gpio
gpu
hid
hsi
hv
hwmon
hwspinlock
hwtracing intel_th: Check for NULL instead of ERR_PTR 2015-10-16 23:25:48 -07:00
i2c
ide
idle
iio
infiniband
input
iommu Revert "iommu: Allow iova to be used without requiring IOMMU_SUPPORT" 2015-10-06 09:23:14 +01:00
ipack
irqchip Merge branch 'irq-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2015-10-04 11:40:09 +01:00
isdn
leds
lguest
macintosh
mailbox
mcb mcb: Fix error handling in mcb_pci_probe() 2015-10-05 05:10:01 +01:00
md One bug fix for raid1/raid10. 2015-10-11 09:35:51 -07:00
media
memory memory: ti-aemif: Fix module autoload for OF platform driver 2015-10-05 04:44:11 +01:00
memstick
message
mfd
misc misc: sram: extend usage of reserved partitions 2015-10-17 21:51:47 -07:00
mmc mmc: sdhci-of-at91: use SDHCI_QUIRK2_NEED_DELAY_AFTER_INT_CLK_RST quirk 2015-10-08 19:55:05 +02:00
mtd A few MTD fixes: 2015-10-07 09:35:15 +01:00
net
nfc
ntb
nubus
nvdimm
nvmem Merge 4.3-rc5 into char-misc next 2015-10-12 10:29:36 -07:00
of
oprofile
parisc
parport
pci
pcmcia pcmcia: use kstrdup() in pcmcia_device_query() 2015-10-05 04:47:09 +01:00
perf
phy
pinctrl
platform
pnp
power
powercap
pps
ps3
ptp
pwm
rapidio
ras
regulator Merge remote-tracking branch 'regulator/fix/axp20x' into regulator-linus 2015-10-06 12:00:42 +01:00
remoteproc
reset
rpmsg
rtc
s390
sbus
scsi SCSI fixes on 20151010 2015-10-11 10:02:30 -07:00
sfi
sh
sn
soc
spi Merge remote-tracking branches 'spi/fix/davinci' and 'spi/fix/sh-msiof' into spi-linus 2015-10-07 11:43:39 +01:00
spmi spmi: pmic-arb: u8 <= 0xff is always true 2015-10-04 13:03:15 +01:00
ssb
staging staging: speakup: fix speakup-r regression 2015-10-04 19:57:20 +01:00
target
tc
thermal
thunderbolt
tty drivers/tty: require read access for controlling terminal 2015-10-04 19:20:30 +01:00
uio uio: fix false positive __might_sleep warning splat 2015-10-04 12:32:25 +01:00
usb
uwb
vfio
vhost
video video: of: fix memory leak 2015-10-07 14:13:59 +03:00
virt
virtio
vlynq
vme
w1 W1: w1-gpio - switch to using dev_pm_ops 2015-10-17 21:45:05 -07:00
watchdog
xen
zorro
Kconfig add FPGA manager core 2015-10-07 18:08:15 +01:00
Makefile add FPGA manager core 2015-10-07 18:08:15 +01:00