In this case, CONFIG_SMP and CONFIG_LPAE are both not enabled,
CONFIG_ENABLE_VMALLOC_SAVING is enabled. The paddr|size|addr
satisfies PMD_SIZE alignment, will create section mapping not
page mapping, non-LPAE arm32 uses 2-level page table, including
pgd and pte, before remapping it will do unmapping which clears
init_mm->pgd of corresponding addr and memcpy into [VMALLOC_START,
VMALLOC_END) part of current->active_mm->pgd, but this memcpy misses
to sync other vmalloc areas outside [VMALLC_START, VMALLOC_END) with
vmalloc saving feature, the pgd part of addr in other vmalloc
areas is not synced and still holds the stale mappings, if request
addrs fall into other vmalloc areas, then page fault happens for them.
So need to consider other vmalloc areas outside [VMALLOC_START,
VMALLOC_END) with vmalloc saving feature, change into [PAGE_OFFSET,
VMALLOC_END) to include all vmalloc areas, then all pgds of vmalloc
addrs in current->active_mm->pgd will be synced on unmapping, the
pgds of request addrs are cleared, then do_traslation_fault will
be called for zero pgd value, it calls copy_pmd to sync the pgds
from init_mm->pgd to current->active_mm->pgd for request addrs on
remapping.
Change-Id: Ia283d409a20c8fc9951434078332a3badf0f9ed0
Signed-off-by: Qingqing Zhou <qqzhou@codeaurora.org>
This snapshot is taken as of dev-sa8155 branch
commit 18dcf6bbb4a9 ("char: virtio_fastrpc: add dma handle support").
Change-Id: I3a918907a319ee397f99162e57644d07504a5dd6
Signed-off-by: Anuj Garg <anujgarg@codeaurora.org>
Variable "dentry" is valid only if "CONFIG_DEBUG_FS" is set.
Update logic such that "dentry" variable is accessed during
debugfs removal only in valid condition.
Change-Id: I2a1e3e7f312cf316c94e930e15e9528fbeedb9a1
Signed-off-by: Nitesh Gupta <nitegupt@codeaurora.org>
Add a boot marker to indicate the time when gpu
driver probe is completed and the device is ready,
and adreno driver is initialised and ready for a640.
Change-Id: I1bfd133b9f23dd497d2ab13cde4989b922ab47a7
Signed-off-by: Rituraj Raman <riturama@codeaurora.org>
Add function to read pinctrl names.
Fix print for the logs to include line number.
Change-Id: I65e341c14104aabec77edcc79cdf97358648914c
Acked-by: Nagarjuna Chaganti <nchagant@qti.qualcomm.com>
Signed-off-by: Suraj Jaiswal <jsuraj@codeaurora.org>
Enabling logging to see interrupts that could have caused resume.
Change-Id: Iecc5d71774c22c03ff3f3a18a955521a43eb2216
Signed-off-by: Vinay Sudra <vsudra@codeaurora.org>
Set CONFIG_BLK_DEV_LOOP_MIN_COUNT=16 that pre-create loop
block devices at init time for vts_kernel_loopconfig_test.
Change-Id: Ie342467aa8208b367ca351d8989b7d166f6371e9
Signed-off-by: Vinay Sudra <vsudra@codeaurora.org>
Enable QRTR for diag IPC in linux guest.
Change-Id: I50da5efb8d24e72ac692653e9cc217162225bdd6
Signed-off-by: Venkata Rao Kakani <vkakani@codeaurora.org>
In systems doorbell is not valid, could set db-off flag to 1. Then
the driver still could probe and disable doorbell and hfence commands.
ifence still works.
Change-Id: I6d4e171d64dfc183f5d500fbd1180adb4b108a63
Signed-off-by: Kasin Li <donglil@codeaurora.org>
Add ipc logging enablement for bcl pmic5. It dumps bcl vbat, ibat
and bcl level status information to ipc logging during bcl interrupt
violation as well as during current value query from thermal
framework.
Change-Id: Ibc0b69b935465f7961a67d88db87536f86b88c77
Signed-off-by: Manaf Meethalavalappu Pallikunhi <manafm@codeaurora.org>
Enable NPU driver on gen3auto. In addition, since NPU driver has
dependency on cdsprm driver, CONFIG_QCOM_CDSP_RM needs to be
enabled.
Change-Id: Ide81af82b665312703f760d4f509a5b7d635793e
Signed-off-by: Jilai Wang <jilaiw@codeaurora.org>