This config is used to pass maximum number of ipc logging memory
regions that can be dumped with minidump. This includes ipc log
buffers and memory regions for global context list and ipc log
contexts for which minidump is enabled.
Change-Id: If735ed093ef9efa3f0b0a2225babe2d26a3c79d4
Signed-off-by: Deepak Kumar Singh <[email protected]>
This change is for general scheduler improvemnts.
Change-Id: I8e6d7afe12387d86f3721c6fd880812ba86d885e
Signed-off-by: Pavankumar Kondeti <[email protected]>
Signed-off-by: Lingutla Chandrasekhar <[email protected]>
This change is for general scheduler improvement.
Change-Id: Id19f38a2b9a67b130876cb8df1e88c6a56aa6aad
Signed-off-by: Pavankumar Kondeti <[email protected]>
This change is for general scheduler improvement.
Change-Id: I30b3899e191d880e741f922323d0826b5c292498
Signed-off-by: Pavankumar Kondeti <[email protected]>
This change is for general scheduler improvement.
Change-Id: I616acbe5bfdb0e1bf88e923d98b4a3d54d26d942
Signed-off-by: Pavankumar Kondeti <[email protected]>
- Made change to fix the compilation error coming due to change
3362467.
Change-Id: Ia2f91319098dbf2e1dd094cfd74aaea253b167b6
Signed-off-by: Paras Singh Jain <[email protected]>
If CONFIG_QCOM_COMMAND_DB=n the following compilation errors will be
seen. Fix this by including the appropriate linux headers.
./include/soc/qcom/cmd-db.h: In function ‘cmd_db_read_aux_data’:
./include/soc/qcom/cmd-db.h: error: implicit declaration of function ‘ERR_PTR’;
Change-Id: I76ed6230b00f88cefbb78e5f2ee4a534316078d7
Reviewed-by: Stephen Boyd <[email protected]>
Signed-off-by: Sibi Sankar <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Bjorn Andersson <[email protected]>
Git-commit: 7ad18bb5c2c4bd50c8b83d375ee19be992022cf3
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Signed-off-by: Tushar Nimkar <[email protected]>
Ignore -106 error when channel opened
again without closing.
CRs-Fixed: 2836671
Change-Id: Ib27179031e6bbdc20511132efd6c4578d1d0a911
Signed-off-by: Satish Kodishala <[email protected]>
Export and call crypto APIs from command queue driver to
service file encryption request and program inline crypto
engine to encrypt/decrypt the data.
Change-Id: I8c9c8413e59454605c711a6a5c14308122a751e2
Signed-off-by: Phanindra Babu Pabba <[email protected]>
Fix data race in prepend_path() with re-reading mnt->mnt_ns twice
without holding the lock.
is_mounted() does check for NULL, but is_anon_ns(mnt->mnt_ns) might
re-read the pointer again which could be NULL already, if in between
reads one of kern_unmount()/kern_unmount_array()/umount_tree() sets
mnt->mnt_ns to NULL.
This is seen in production with the following stack trace:
BUG: kernel NULL pointer dereference, address: 0000000000000048
...
RIP: 0010:prepend_path.isra.4+0x1ce/0x2e0
Call Trace:
d_path+0xe6/0x150
proc_pid_readlink+0x8f/0x100
vfs_readlink+0xf8/0x110
do_readlinkat+0xfd/0x120
__x64_sys_readlinkat+0x1a/0x20
do_syscall_64+0x42/0x110
entry_SYSCALL_64_after_hwframe+0x44/0xa9
Fixes: f2683bd8d5 ("[PATCH] fix d_absolute_path() interplay with fsmount()")
Change-Id: If634d570fb7f37f4a77ae4f10970013dbc0762cb
Signed-off-by: Andrii Nakryiko <[email protected]>
Reviewed-by: Josef Bacik <[email protected]>
Cc: Alexander Viro <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Git-commit: 09cad07547445bf3a41683e4d3abcd154c123ef5
Git-repo: https://android.googlesource.com/kernel/common/
Signed-off-by: Sayali Lokhande <[email protected]>
For synchronous messages sent from the agent to platform,
agent waits for response for 30 milli seconds (max_rx_timeout)
before timing out if response gets delayed from platform.
Increase the timeout value to 1 second to minimize message
send failures in case of delays.
Change-Id: I72e9ab33a9be675b64301e904e8d43fb8bb89e50
Signed-off-by: Santosh Mardi <[email protected]>
Enable CONFIG_PRINT_SUSPEND_EPOCH_QGKI to print epoch values
when the device enter into suspend and resume.
Change-Id: Ia2d54874405cf88f9283cdb1699f67078aa3fcbc
Signed-off-by: Murali Nalajala <[email protected]>
Record cycle count and kernel time in ns while entering suspend
and while resuming. This will help in matching up the kernel time
with external subsystems and in recording suspend time in cycles.
Change-Id: If22d9880103c7d54087d0faf4c992259e6b97f08
Signed-off-by: Srinivas Ramana <[email protected]>
Signed-off-by: Elliot Berman <[email protected]>
Signed-off-by: Murali Nalajala <[email protected]>
Print epoch values when the device is enter and exit out of suspend
and resume. These epoch values are useful to know how long the device
is in suspend state. These values can be used to synchronize various
subsystem timestamps and have an unique timestamp to correlate
between various subsystems.
Change-Id: Ibe04b914649db1f2ee0ae748f3950ca646323ef1
Signed-off-by: Murali Nalajala <[email protected]>
Print proper values for host time and device time from an error
handling routine during time sync update.
Change-Id: Ib8d9d4fb86d4001b0e2b7d62bc2ae381616f3df6
Signed-off-by: Yue Ma <[email protected]>
Remove the gcc_qup clocks from debugcc which are
not registered in GCC to avoid the crash because
of parent index in HOLI.
Change-Id: I0189b114024815fde8959c04bd41aa473d4ac4f8
Signed-off-by: Saurabh Sahu <[email protected]>
* refs/heads/tmp-9c7cbdf:
ANDROID: ABI: add symbols of drm_atomic_helper_setup_commit to unisoc
ANDROID: ABI: update allowed list for galaxy
UPSTREAM: HID: core: Correctly handle ReportSize being zero
UPSTREAM: HID: core: Sanitize event code and type when mapping input
FROMLIST: scripts: merge_config: add strict mode to fail upon any redefinition
Change-Id: I9ae5aa15a3bcef589ca072743ed5713bf0d0cacb
Signed-off-by: Srinivasarao P <[email protected]>
Add HLSQ_DBG_CNTL to list of a6xx registers dumped in snapshot.
Change-Id: Ib55a2a3694368a2a82037d2164ee1470f3950322
Signed-off-by: Rohan Sethi <[email protected]>
call redriver_orientation_get() to get orientation if redriver present.
Change-Id: I1ed69fece1f7577e2c478631920fb1bb3fe93cd1
Signed-off-by: Linyu Yuan <[email protected]>
There is possible crash when phy driver which control the same pin,
1. redriver driver read gpio state and start release state,
2. phy driver start request another state,
3. redriver driver finish release state, clear module owner,
4. phy driver string compare of module owner which is NULL to crash,
prepare to fix it by provide orientaion for USB module.
Change-Id: I177691abd702bac4f388fbbc0c375e19008f5adb
Signed-off-by: Linyu Yuan <[email protected]>
if there are two modules control one same pin,
each module will request and release one state,
there is race when one module request state before
another module complete relase it's state.
revert to commit 87aee0bf55 ("usb: phy: qmp: Perform
DP_COM_SW_RESET during portselect") to allow only one module
control one pin.
Change-Id: Ie6df02f018e58be8bf832b5b3921f5430fadbf53
Signed-off-by: Linyu Yuan <[email protected]>
control redriver when start/stop host or device mode.
Change-Id: Id2e7af96a20b285292d0799b6ed04365611ba709
Signed-off-by: Linyu Yuan <[email protected]>
Using IRQF_NO_SUSPEND and enable_irq_wake together can sometime
cause issue in wakeup from suspend and local host may not come
out of suspend on receiving qmp interrupt.
It is sufficient to use enable_irq_wake to mark irq as wakeup
capable.
Change-Id: I714724b31b92d23df0ac6a648f70416a130c9896
Signed-off-by: Deepak Kumar Singh <[email protected]>
The check for user buffer != NULL in ufshcd_ioctl() should
only be done at a point when we know we have a valid IOCTL
command. Move this check inside the UFS_IOCTL_QUERY
handling code.
Change-Id: I10e86b30ae1fdd8c9230db476bb593ccfa94b55c
Signed-off-by: Anjana <[email protected]>
Signed-off-by: Veera Vegivada <[email protected]>
Commit cd7f415867 ("cnss2: Wait for power up complete during
SSR restart") breaks the compilation when MSM SSR feature is
not enabled. Fix it properly in this change.
Change-Id: I9e16174a4063b037d50f890eccb0983bd68a54a8
Signed-off-by: Yue Ma <[email protected]>
ENOTSUPP is not a SUSV4 error code, use EOPNOTSUPP instead.
Change-Id: I8755486cb47880e52182370ed6939f655424c7d5
Signed-off-by: Yue Ma <[email protected]>
Refactor PCI probe callback so that it will be more clear and
extendable in the future.
Change-Id: I4af5a5d6fcd65b2c79348bb1459888198291f298
Signed-off-by: Yue Ma <[email protected]>
Add the logic to fall back to default path if it fails to load
firmware from device specific path.
Change-Id: I0595a3be97b6f803be232b73fb35b8b5b3c52b0e
Signed-off-by: Yue Ma <[email protected]>
Packets arriving at SIP port will now be checked for SIP/2.0 before
getting tagged as SIP packet. Added helper functions strnstr and strnstrn
for checking substring in a string in case of non null termination.
Change-Id: Ia7d6a3ac5dd1e5f0ce97ee9f6d0c13f16d9dd7f2
Acked-by: Vinisha Varre <[email protected]>
Signed-off-by: Paras Singh Jain <[email protected]>
There might be spurious HS PHY IRQ after USB bus has gone into
hibernation which leads to dwc3_msm_resume and in_lpm flag
getting cleared. Next when the restore from hibernation happens,
dwc3_msm_resume becomes a no-op but in reality, the HW resources
are all turned off. This leads to an unclocked access from
xhci_resume.
Fix this by disabling PHY wakeup IRQs on hibernation/pm_suspend
for automotive targets.
Change-Id: I753fb3593fca31f12406b9126f73f75520dab1b0
Signed-off-by: Ajay Agarwal <[email protected]>
Enable ION and secure buffer driver on gen3auto targets. They
are used to allocate secure & non-secure buffers from various
ION heaps.
Change-Id: I2a9ea7611365a83267a7b396acda8860f58c21d0
Signed-off-by: Vivek Kumar <[email protected]>
There can be maximum of 200 contexts per process and 800
contexts in total. Whenever the limit is exhausted, an
-ENOSPC error is returned. With this change, more information
is logged: total number of contexts, number of attached and
detached contexts for all processes.
Change-Id: If714b5375f1d4ce0551fcb8d156ef5129dbafa6c
Signed-off-by: Kamal Agrawal <[email protected]>
Clear cgcCntlCsrMode field in GMUAO_GMU_CGC_MODE_CNTL register.
Change-Id: I62b7eb97fd9536ad03cf398ba1d1e102af38ec70
Signed-off-by: Kamal Agrawal <[email protected]>
The prefetch work items currently use the system unbounded
workqueue for prefetching/draining memory for a secure VMID. The
execution of either operation can overlap with system suspend and
can block the later phases of the system suspend flow (e.g. waiting
for all available CPUs to go idle) if these operations take a long
amount of time.
Since the prefetch and drain operations involve manipulating the
S2 page tables and can take a long time based on the amount of memory
that is being hyp assigned, use a freezable unbound workqueue. Using
a freezable workqueue allows for outstanding prefetch works to be
processed at the beginning of the system suspend flow, when workqueues
are being frozen, and subsequent prefetch works are processed after
system resume, when workqueues are thawed. This prevents blocking
the later phases of system suspend, where CPUs should quickly
go to idle.
Change-Id: Iedcee6a565b5c871ceb7173c2b48ec3136aa44e1
Signed-off-by: Isaac J. Manjarres <[email protected]>
Sensor Low Power Island (SLPI) has a Pin controller which can
support 14 pin configurations, add pinctrl driver to handle
pins of SLPI from APPS. The snapshot of this driver is taken
from msm-4.14 commit "e4483b491ed60".
Change-Id: Id44ccb34f23a285edf0eaccb501ba4d2296a7b87
Signed-off-by: Vivek Kumar <[email protected]>