Increase the VDD_GFX CPR 710 MHz (Fmax) corner ceiling voltage
from 1024 mV to 1088 mV. This ensures that parts requiring
higher voltages operate correctly.
Also increase the aging reference voltage since it needs to
match the Fmax ceiling voltage.
Change-Id: I0799fe76c7a19d8fd97b6270b403b2994ea09a74
Signed-off-by: David Collins <collinsd@codeaurora.org>
During code generation, we used to BUG_ON unknown/unsupported encoding
or invalid parameters.
Instead, now we report these as errors and simply return the
instruction AARCH64_BREAK_FAULT. Users of these codegen helpers should
check for and handle this failure condition as appropriate.
Otherwise, unhandled codegen failure will result in trapping at
run-time due to AARCH64_BREAK_FAULT, which is arguably better than a
BUG_ON.
Change-Id: I35f8d8960c0a3f6cecf0690e8f93fce339ed8838
Git-commit: c94ae4f7c5ec6b6fddde1c08809d5e32a963d7f3
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Signed-off-by: Zi Shen Lim <zlim.lnx@gmail.com>
Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Runmin Wang <runminw@codeaurora.org>
The RANDOMIZE_MODULE_REGION_FULL Kconfig option allows KASLR to be
configured in such a way that kernel modules and the core kernel are
allocated completely independently, which implies that modules are likely
to require branches via PLT entries to reach the core kernel. The dynamic
ftrace code does not expect that, and assumes that it can patch module
code to perform a relative branch to anywhere in the core kernel. This
may result in errors such as
branch_imm_common: offset out of range
------------[ cut here ]------------
WARNING: CPU: 3 PID: 196 at kernel/trace/ftrace.c:1995 ftrace_bug+0x220/0x2e8
Modules linked in:
CPU: 3 PID: 196 Comm: systemd-udevd Not tainted 4.8.0-22-generic #24
Hardware name: AMD Seattle/Seattle, BIOS 10:34:40 Oct 6 2016
task: ffff8d1bef7dde80 task.stack: ffff8d1bef6b0000
PC is at ftrace_bug+0x220/0x2e8
LR is at ftrace_process_locs+0x330/0x430
So make RANDOMIZE_MODULE_REGION_FULL mutually exclusive with DYNAMIC_FTRACE
at the Kconfig level.
Change-Id: I60868f2cb0194b61000946e1d524fa27342dec6b
Git-commit: 8fe88a4145cdeee486af60e61f5d5a14f804fa45
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Runmin Wang <runminw@codeaurora.org>
Enable SCHED_AUTOGROUP which enables certain optimizations in the
scheduler for better performance.
Change-Id: Ib099531ed19715e88373d4aee2926205a8eaf9c6
Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>
Add resource manager for retrieving the control paths and layer
mixers. Encoder and CRTC use this to get the hw driver contexts
for those blocks.
Change-Id: Id6789ef24616197a295bcb5687a0de659cc11e5d
Signed-off-by: Abhijit Kulkarni <kabhijit@codeaurora.org>
Signed-off-by: Krishna Srinivas Kundurthi <kskund@codeaurora.org>
Add mdp_top block support to hw layer, provides split pipe
control, and interface select. Use mdp_top from intf block
to program interface select.
Change-Id: I15f2070f7d552a6ec11bda0302f362e22ca6e84e
Signed-off-by: Abhijit Kulkarni <kabhijit@codeaurora.org>
Signed-off-by: Krishna Srinivas Kundurthi <kskund@codeaurora.org>
Modify funnel configuration for modem etm and tpda.
Modify data width for submodules for sdm660.
CRs-fixed: 1111225
Change-Id: I27538435b2c89041ca6c0305eb1405cf75ed59af
Signed-off-by: Amey Telawane <ameyt@codeaurora.org>
Pass the proper VMID value during secure attach. This VMID is used by
the HYP/TZ to maintain the pagetables.
Change-Id: I3b7c27c079b044c9325bcbcb6fa4312e424f3a94
Signed-off-by: Charan Teja Reddy <charante@codeaurora.org>
BLSP2 UART1 is used as transport for Bluetooth between sdm660 & wcn3990.
Enable it so that Bluetooth can be enabled on sdm660 CDP/MTP/QRD.
Change-Id: Ib5102a96d42213bbeb230f83806b10a397353df8
Signed-off-by: Rupesh Tatiya <rtatiya@codeaurora.org>
SDM660 target supports the bw monitor version 4 includes
the zone counts.
Enable the bw mon4 for the SDM660 target.
Change-Id: I0f8323c6bdc91d859456ddd8a70838cd8e71779c
Signed-off-by: Santosh Mardi <gsantosh@codeaurora.org>
Update cpufreq driver to adapt to opensource clock framework
Opensource clock framework dev_clk_get returns with the
different clock handle for all cpu cores with same clock source
This is different in the existing clock framework where
dev_clk_get returns with the same clock handle for the cores
which shares the same clock source.
Cpufreq driver was compatible with the existing clock
framework but with the opensource clock framework we need
to handle the different clock handles for all the cores
even the clock source is common.
Change-Id: Ic343bc20dc7c8b2ce151a5a2b5f85b43cdd949bf
Signed-off-by: Santosh Mardi <gsantosh@codeaurora.org>
Update vdd-current-level as per latest hardware documentation
and interrupt related properties of sdhc2 for sdm660 QRD.
CRs-Fixed: 1111072
Change-Id: Ica211d68a032d51ab313cce47d2b84137433f18c
Signed-off-by: xiaonian <xiaonian@codeaurora.org>
Make change to improve input validation on request and response
buffers' address and length for qseecom_send_service_cmd.
Change-Id: I047e3264333d767541e43b7dadd1727232fd48ef
Signed-off-by: Zhen Kong <zkong@codeaurora.org>
Ignore MSA0 dump collection during graceful shutdown. Collect
ramdump only when modem is really crashed.
CRs-Fixed: 1110935
Change-Id: Ic2fbfec320eb516224daad9ae78be07c61376cfc
Signed-off-by: Yuanyuan Liu <yuanliu@codeaurora.org>
Add an API that can trigger WLAN PDR. WLAN host driver can use
this API to trigger PDR in the cases where it fails to communicate
with FW over it's native copy engine interface.
CRs-Fixed: 1110381
Change-Id: I7a076ba023b3e48c9e5473ec4895f50c71816831
Signed-off-by: Sameer Thalappil <sameert@codeaurora.org>
Fix checkpatch warnings and other style issues in the regulator
debugfs functions. Refactor the code to remove unnecessary error
checks as well as a shared buffer and mutex. Rename variables
and functions to better follow the naming conventions found in
the core.c file. Update the conditions used for allowing the
creation of 'voltage' and 'load' debugfs files.
Change-Id: I59881078ce9e908de11e74d15372edf233eb17b0
Signed-off-by: David Collins <collinsd@codeaurora.org>
Add debugfs support of configuring fw features dynamically.
CRs-Fixed: 1107443
Change-Id: I0021ac61467174c794fa8f6ef130479b166c1425
Signed-off-by: Yuanyuan Liu <yuanliu@codeaurora.org>