linux/drivers
Jianqun Xu bb21ab49d6 media: rockchip: isp: assign memory for device early
The sub devices of rkisp will allocate memory from rkisp before the
reserved memory been assigned to rkisp, and will alloc from default
continuous cma memory region instead.

The current system may never do free these memory, so the issue when
to free these memory can not happen.

Fix free issue by moving the assign memory earlier.

Also return error if failed to assign reserved memory since driver
has no iommu.

Change-Id: I4bd3437e5536bda827c6ca71d630a993fcce2d8d
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
2020-07-02 17:11:01 +08:00
..
accessibility
acpi This is the 4.19.108 stable release 2020-03-05 17:40:55 +01:00
amba
android UPSTREAM: binder: prevent UAF for binderfs devices II 2020-03-09 19:48:21 +00:00
ata ata: ahci: Add shutdown to freeze hardware resources of ahci 2020-02-28 16:39:00 +01:00
atm fore200e: Fix incorrect checks of NULL pointer dereference 2020-02-24 08:34:42 +01:00
auxdisplay
base UPSTREAM: driver core: Probe devices asynchronously instead of the driver 2020-03-23 10:28:09 +08:00
bcma bcma: fix incorrect update of BCMA_CORE_PCI_MDIO_DATA 2020-01-27 14:51:09 +01:00
block This is the 4.19.111 stable release 2020-03-18 08:19:47 +01:00
bluetooth Merge tag 'ASB-2020-02-05_4.19' of https://android.googlesource.com/kernel/common 2020-02-17 16:00:29 +08:00
bus bus: ti-sysc: Fix sysc_unprepare() when no clocks have been allocated 2020-01-27 14:50:36 +01:00
cdrom cdrom: respect device capabilities during opening action 2020-01-04 19:13:12 +01:00
char hwrng: core - Call hwrng_modinit() early when CONFIG_ROCKCHIP_THUNDER_BOOT=y 2020-05-25 18:20:21 +08:00
clk clk: rockchip: rk618: Initialize in stack clk_init_data to 0 2020-06-09 14:10:42 +08:00
clocksource Merge remote branch 'android-4.19' of https://android.googlesource.com/kernel/common 2020-03-21 19:46:46 +08:00
connector
cpufreq cpufreq: dt-platdev: Add rv1109 and rv1126 projects into blacklist 2020-05-25 18:19:53 +08:00
cpuidle This is the 4.19.90 stable release 2019-12-18 09:03:30 +01:00
crypto crypto: rockchip - add rv1126 crypto des/des3_ede support 2020-06-30 14:43:39 +08:00
dax
dca
devfreq PM / devfreq: rockchip_bus: add support for rv1126. 2020-05-27 16:59:17 +08:00
dio
dma dmaengine: pl330: Add quirk 'arm,pl330-periph-burst' 2020-06-05 18:47:24 +08:00
dma-buf UPSTREAM: dma-buf: free dmabuf->name in dma_buf_release() 2020-04-09 18:26:34 +08:00
edac EDAC/amd64: Set grain per DIMM 2020-03-11 14:14:45 +01:00
eisa
energy_model
extcon Merge tag 'ASB-2020-02-05_4.19' of https://android.googlesource.com/kernel/common 2020-02-17 16:00:29 +08:00
firewire net: add annotations on hh->hh_len lockless accesses 2020-01-09 10:19:09 +01:00
firmware firmware: rockchip_sip: Introduce sip_map() 2020-06-15 14:12:34 +08:00
fmc
fpga
fsi fsi: sbefifo: Don't fail operations when in SBE IPL state 2020-01-27 14:51:00 +01:00
gnss ANDROID: gnss: Add command line test driver 2019-12-19 22:51:54 +00:00
gpio ANDROID: Fix kernelci build-break for arm32 2020-03-10 11:07:35 -07:00
gpu drm/rockchip: move loader_protect to rockchip_drm_private 2020-07-02 10:21:15 +08:00
headset_observe
hid HID: core: Call hid_init() early when CONFIG_ROCKCHIP_THUNDER_BOOT=y 2020-05-25 18:20:21 +08:00
hsi
hv hv_balloon: Balloon up according to request page number 2020-02-11 04:34:01 -08:00
hwmon hwmon: (adt7462) Fix an error return in ADT7462_REG_VOLT() 2020-03-11 14:15:12 +01:00
hwspinlock
hwtracing This is the 4.19.100 stable release 2020-01-29 17:10:45 +01:00
i2c i2c: rk3x: Call rk3x_i2c_driver_init() early when CONFIG_ROCKCHIP_THUNDER_BOOT=y 2020-05-25 18:20:23 +08:00
ide ide: serverworks: potential overflow in svwks_set_pio_mode() 2020-02-24 08:34:49 +01:00
idle
iio iio: adc: rockchip_saradc: Call rockchip_saradc_driver_init() early when CONFIG_ROCKCHIP_THUNDER_BOOT=y 2020-05-25 18:20:24 +08:00
infiniband This is the 4.19.109 stable release 2020-03-11 17:10:39 +01:00
input Input: sensor-dev - Fix warning 2020-06-19 21:44:51 +08:00
iommu iommu: rockchip: disable fetch dte time limit 2020-07-02 10:21:16 +08:00
ipack
irqchip Merge remote branch 'android-4.19' of https://android.googlesource.com/kernel/common 2020-03-21 19:46:46 +08:00
isdn staging: gigaset: add endpoint-type sanity check 2019-12-17 20:34:33 +01:00
leds Merge remote branch 'android-4.19' of https://android.googlesource.com/kernel/common 2020-03-21 19:46:46 +08:00
lightnvm lightnvm: pblk: fix lock order in pblk_rb_tear_down_check 2020-01-27 14:50:45 +01:00
macintosh macintosh: windfarm: fix MODINFO regression 2020-03-18 07:14:21 +01:00
mailbox mailbox: rockchip: fix to null pointer dereference 2020-03-26 11:09:19 +08:00
mcb
md Merge remote branch 'android-4.19' of https://android.googlesource.com/kernel/common 2020-03-21 19:46:46 +08:00
media media: rockchip: isp: assign memory for device early 2020-07-02 17:11:01 +08:00
memory memory: tegra: Don't invoke Tegra30+ specific memory timing setup on Tegra20 2020-01-27 14:50:13 +01:00
memstick
message scsi: mptfusion: Fix double fetch bug in ioctl 2020-01-23 08:21:28 +01:00
mfd mfd: rk808: update rk817 volatile reg range 2020-06-24 09:03:15 +08:00
misc Merge tag 'ASB-2020-02-05_4.19' of https://android.googlesource.com/kernel/common 2020-02-17 16:00:29 +08:00
mmc mmc: host: rk_sdmmc_ops: Add missing MODULE_LICENSE() 2020-06-18 09:02:18 +08:00
mtd drivers: mtd: nand: rockchip: fix the problem of wrong configuration for the timing 2020-03-27 18:03:40 +08:00
mux
net net: wireless: rockchip_wlan: fix missing MODULE_LICENSE warning 2020-06-19 16:30:23 +08:00
nfc Merge remote branch 'android-4.19' of https://android.googlesource.com/kernel/common 2020-03-21 19:46:46 +08:00
ntb ntb_hw_switchtec: potential shift wrapping bug in switchtec_ntb_init_sndev() 2020-01-27 14:50:55 +01:00
nubus
nvdimm UPSTREAM: virtio-pmem: Add virtio pmem driver 2020-01-26 19:04:57 +00:00
nvme nvme: Fix uninitialized-variable warning 2020-03-11 14:14:55 +01:00
nvmem nvmem: core: Call nvmem_init() early when CONFIG_ROCKCHIP_THUNDER_BOOT=y 2020-06-22 18:48:26 +08:00
of UPSTREAM: fdt: Update CRC check for rng-seed 2020-05-26 11:34:25 +08:00
opp PM / OPP: Call opp_debug_init() later when CONFIG_ROCKCHIP_THUNDER_BOOT=y 2020-05-25 18:20:22 +08:00
oprofile
parisc
parport parport: load lowlevel driver if ports not found 2019-12-31 16:36:01 +01:00
pci Merge remote branch 'android-4.19' of https://android.googlesource.com/kernel/common 2020-03-21 19:46:46 +08:00
pcmcia
perf
phy phy: phy-rockchip-naneng-usb2: add Rref calibrate in tuning 2020-06-30 14:30:35 +08:00
pinctrl pinctrl: rk805: Call rk805_pinctrl_driver_register() early when CONFIG_ROCKCHIP_THUNDER_BOOT=y 2020-05-25 18:20:24 +08:00
platform UPSTREAM: usb: typec: Registering real device entries for the muxes 2020-03-12 14:22:55 -07:00
pnp
power power: rk817_charger: fix error of Unbalanced enable for IRQ 2020-06-19 19:48:33 +08:00
powercap
pps
ps3
ptp ptp: free ptp device pin descriptors properly 2020-01-23 08:21:35 +01:00
pwm pwm: rockchip: Call rockchip_pwm_driver_init() early when CONFIG_ROCKCHIP_THUNDER_BOOT=y 2020-05-25 18:20:23 +08:00
rapidio drivers/rapidio/rio_cm.c: fix potential oops in riocm_ch_listen() 2020-01-27 14:50:31 +01:00
ras
regulator regulator: fan53555: fix up the tcs en\disable failed 2020-07-01 11:21:27 +08:00
remoteproc remoteproc: Initialize rproc_class before use 2020-02-24 08:34:50 +01:00
reset reset: uniphier: Add SCSSI reset control for each channel 2020-02-24 08:34:44 +01:00
rk_nand drivers: rknand: optimize reading speed 2020-03-16 18:31:33 +08:00
rkflash drivers: rkflash: Remove bbt option property if scan fail 2020-06-29 08:52:31 +08:00
rpmsg rpmsg: glink: Free pending deferred work on remove 2019-12-21 10:57:30 +01:00
rtc rtc: hym8563: Initialize in stack clk_init_data to 0 2020-06-09 14:29:28 +08:00
s390 s390/qdio: fill SL with absolute addresses 2020-03-11 14:14:54 +01:00
sbus
scsi This is the 4.19.109 stable release 2020-03-11 17:10:39 +01:00
sfi
sh
siox
slimbus
smc
sn
soc soc: rockchip: thunderboot_mmc: Probe driver early 2020-06-22 18:48:26 +08:00
soundwire soundwire: intel: fix PDI/stream mapping for Bulk 2019-12-31 16:35:55 +01:00
spi spi: rockchip: add compatible string for rv1126 2020-05-25 18:19:59 +08:00
spmi
ssb
staging fiq_debugger: switch to cpu0 as default 2020-04-28 15:05:43 +08:00
switch
target scsi: Revert "target: iscsi: Wait for all commands to finish before freeing a session" 2020-02-28 16:38:58 +01:00
tc
tee This is the 4.19.102 stable release 2020-02-05 19:20:26 +00:00
testcode
thermal thermal: rockchip: add tsadc calibration for rv1126 soc 2020-06-23 15:38:08 +08:00
thunderbolt thunderbolt: Prevent crash if non-active NVMem file is read 2020-02-28 16:38:44 +01:00
tty serial: 8250: Call serial8250_init() early when CONFIG_ROCKCHIP_THUNDER_BOOT=y 2020-07-02 10:21:15 +08:00
uio uio: fix a sleep-in-atomic-context bug in uio_dmem_genirq_irqcontrol() 2020-02-24 08:34:37 +01:00
usb usb: dwc3: gadget: add phy calibration during chirpk state 2020-06-30 14:30:35 +08:00
uwb
vfio This is the 4.19.99 stable release 2020-01-27 15:55:44 +01:00
vhost This is the 4.19.108 stable release 2020-03-05 17:40:55 +01:00
video video: rockchip: mpp: issue for device attach service 2020-06-30 16:51:04 +08:00
virt
virtio ANDROID: Re-add default y for VIRTIO_PCI_LEGACY 2020-03-03 23:28:01 +00:00
visorbus visorbus: fix uninitialized variable access 2020-02-24 08:34:47 +01:00
vlynq
vme vme: bridges: reduce stack usage 2020-02-24 08:34:47 +01:00
w1
watchdog UPSTREAM: watchdog: dw_wdt: ping watchdog to reset countdown before start 2020-03-30 11:37:12 +08:00
xen xen: Enable interrupts when calling _cond_resched() 2020-02-28 16:39:00 +01:00
zorro
Kconfig
Makefile