Invoke milestone call to QHEE as soc specific early initcall
to enable protection of kernel's memory regions in stage 2
memory mappings.
Change-Id: I3298cfebc3a5e5e64bf6a696a0a259c4059197b3
Signed-off-by: Preeti Nagar <pnagar@codeaurora.org>
When VIN/2 – VOUT < the threshold with debounce time,
WIN_UV protection kicks in. Update this threshold to
10mV.
Change-Id: I015528b9fb1e4db86c4e1af186aa0f6a912967f2
Signed-off-by: Ashish Chavan <ashichav@codeaurora.org>
Enable QoS for the master ports on Holi with predefined
values for priority and urgency.
Change-Id: I0b0233ff72bf88ae1597592bd6bdd08e1ccfa006
Signed-off-by: Odelu Kukatla <okukatla@codeaurora.org>
Update the master and slave ID constants for Holi interconnect
providers which consumers can use to set bandwidth constraints
and find paths in the NoC (Network-On-Chip) topology.
Change-Id: Ibba6b5ca47a56c041f1314eb516e62d3b9291573
Signed-off-by: Odelu Kukatla <okukatla@codeaurora.org>
When memory block is logically offlined, it is still part of System RAM
but is inactive, and can be made active or Onlined anytime. Though from
the perspective of kernel which is giving the “current usable memory in
the system" info to userspace via MemTotal, when active-mode memory
onlining is enabled, the offlined blocks can be onlined when there is
memory pressure (on demand) and thus can be added as part of total
available memory in the system.
Change-Id: I3d6acbe5b05c33c60ac3f1346977f5a72e4d5897
Signed-off-by: Sudarshan Rajagopalan <sudaraja@codeaurora.org>
Add support for multiple clients in qoslat by maintaining a
list of devices and aggregating across them during updates.
Change-Id: I3e9970b324938eecdd85f3970ba3acc2c5880fdf
Signed-off-by: Amir Vajid <avajid@codeaurora.org>
Currently, since remote process kill is a kernel RPC call, a zero
pid is sent in its message. Send the actual HLOS pid for the
process kill message so that the remote subsystem can identify
which process to kill without needing to map the arguments.
Change-Id: I14c13194baa231a892ed9e8ee269a8cdb1710211
Acked-by: Thyagarajan Venkatanarayanan <venkatan@qti.qualcomm.com>
Signed-off-by: Himateja Reddy <hmreddy@codeaurora.org>
Add support for the qcom,vmid-cp-camera-preview-ro. This property
ensures that buffers for VMID_CP_CAMERA_PREVIEW are mapped with
read-only access.
Change-Id: I484e4c48965d5920e395de7958ae8c102947722d
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
Attempt to enable split pagetables on the global and LPAC domains.
If successful we no longer need to map globals in all pagetables and we
don't need to manually return to the default pagetable when coming out
of slumber since all the globals will now live in the always on TTBR1
region.
Change-Id: Ic0dedbaddd7d05299d7e85d7b0bbc96b46dad10e
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Signed-off-by: Harshdeep Dhatt <hdhatt@codeaurora.org>
The user maps the memstore using the GPU address of the shadow memory.
Unfortunately, mmap() only uses a unsigned long which means that 32 bit
applications can handle when TTBR1 is enabled and the memstore is in
very high memory.
Instead of passing the real GPU address pass a dummy 32 bit value and use
that to identify the memstore instead.
Change-Id: Ic0dedbaddd6efda305953b20cfaa4a597020bff9
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
The input argument to allocate the page table memory is the
order of the size of the allocation. The size given to
alloc_pages_exact and free_pages_exact is calculated from
the order, so the size is always a power of 2. Thus, there
is no benefit to using [alloc/free]_pages_exact, so replace
their usage with calls to [alloc/free]_pages_exact.
Change-Id: Ic299ad3a1e3885700d927c894786b83a82f48cff
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
msm_iommu_flush_ops was originally introduced to support calling
into the IOMMU driver to allocate and free the page table memory.
Since the support for calling into the IOMMU driver to manage the page
table memory was introduced in a recent patch in a different way,
the support for msm_iommu_flush_ops is no longer required, so remove it.
Change-Id: I052dab627b4008e7661511d2e4e7a7e26d3b83dc
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>