Commit graph

890,734 commits

Author SHA1 Message Date
qctecmdr
37fbddf552 Merge "irqchip: gicv3: add hardware irq print in gic_show_resume_irq()" 2020-09-13 01:13:30 -07:00
qctecmdr
e900a3179e Merge "media: v4l2-core: remove the unused code" 2020-09-11 17:31:06 -07:00
qctecmdr
0f41fad1db Merge "dcc_v2: fix 1 write 1 read register configuration fail issue" 2020-09-11 17:31:05 -07:00
qctecmdr
43e5660aef Merge "soc: qcom: Replace SPCOM channel owner pid with tgid" 2020-09-11 17:31:05 -07:00
qctecmdr
dae63ac667 Merge "msm: cvp: update hbb bit based on ddr type for shima and lahaina" 2020-09-11 17:31:04 -07:00
qctecmdr
dd762656ce Merge "mem-offline: add a knob to allow to skip sending RPM/AOP msg" 2020-09-11 17:31:04 -07:00
qctecmdr
a7070a834f Merge "power: supply: qcom: Fix SMB5 and QG IIO device names" 2020-09-11 17:31:04 -07:00
qctecmdr
53cb12a6d2 Merge "memshare: Use carveouts for memory sharing usecases" 2020-09-11 17:31:03 -07:00
qctecmdr
0ddb8e5654 Merge "power: battery: Add support to enable PPS to work in CV mode" 2020-09-11 17:31:03 -07:00
qctecmdr
d480a9b0f9 Merge "msm: kgsl: Show max gpu temperature" 2020-09-11 17:31:02 -07:00
qctecmdr
b8d4dbb8c8 Merge "defconfig: Enable smcinvoke on haven" 2020-09-11 17:31:02 -07:00
qctecmdr
d2418b6330 Merge "usb: dwc3: dwc3-msm: Export msm_data_fifo_config() for QDSS" 2020-09-11 17:31:02 -07:00
qctecmdr
d855fd065f Merge "sched/walt: Improve the scheduler" 2020-09-11 11:35:49 -07:00
qctecmdr
f9ce7b0dba Merge "arm64: defconfig: Enable misc config for debugging for Lahaina/Shima" 2020-09-11 11:35:48 -07:00
qctecmdr
66fb6c0716 Merge "msm: cvp: fix for arbitrary command packet sending to CVP FW" 2020-09-11 11:35:48 -07:00
qctecmdr
27bd362ffc Merge "soc: qcom: Enable slabowner support in minidump" 2020-09-11 11:35:47 -07:00
qctecmdr
c15f839170 Merge "defconfig: Enable SMB1398 driver for holi" 2020-09-11 11:35:47 -07:00
qctecmdr
c134299abe Merge "rpmsg: glink: reset read/write index after ssr" 2020-09-11 11:35:46 -07:00
qctecmdr
1cba609c76 Merge "scsi: ufs-qcom: lane validity after link-startup" 2020-09-11 11:35:46 -07:00
qctecmdr
3382794840 Merge "cnss2: Call mhi_device_get_sync() if timeout requested is 0" 2020-09-11 11:35:46 -07:00
qctecmdr
e00c38307d Merge "arch: arm64: Enable thermal emergency poweroff delay" 2020-09-11 08:25:29 -07:00
qctecmdr
7c0e915192 Merge "coresight: stm: Remove debug fuse status check for stm" 2020-09-11 08:25:29 -07:00
qctecmdr
053d24a8e6 Merge "usb: phy: qusb2: Update tune params based on efuse value" 2020-09-11 08:25:28 -07:00
qctecmdr
41521da246 Merge "usb: dwc3: Fix enumeration failure with reset during transfers" 2020-09-11 08:25:28 -07:00
qctecmdr
b71f422182 Merge "lpm-levels: Wakeup the isolated core for new PMQoS update" 2020-09-11 08:25:28 -07:00
qctecmdr
98c9a6f535 Merge "arm: defconfig: Enable STM_PROTO_BASIC for holi" 2020-09-11 08:25:27 -07:00
suchawla
23ad3fd0a3 msm: cvp: update hbb bit based on ddr type for shima and lahaina
Update highest_bank_bit for shima based on ddr type.
LPDDR5 - 15, LPDDR4 - 14.

Change-Id: I62e73990f0ea2734eacc7f7c23e41ccf3a6edbcb
Signed-off-by: suchawla <suchawla@codeaurora.org>
2020-09-11 14:33:47 +05:30
himta ram
95649b1415 media: v4l2-core: remove the unused code
Remove the unused v4l2-core code and remove the
related unused code in rtc6226 driver.

CRs-Fixed: 2774873
Change-Id: Ib1b7fd89f735ba67ec2a38e236a2cecaf5540a53
Signed-off-by: himta ram <hram@codeaurora.org>
2020-09-11 12:30:05 +05:30
Wesley Cheng
b0b5ab3932 usb: dwc3: dwc3-msm: Export msm_data_fifo_config() for QDSS
Since f_qdss is compiled as a module, it is dependent on
msm_data_fifo_config() being exported to avoid an undefined reference
compilation error.

Change-Id: I41155fe7af14c8e4003841f54ef878d3535d33d7
Signed-off-by: Wesley Cheng <wcheng@codeaurora.org>
2020-09-10 23:56:46 -07:00
Wesley Cheng
077ffb878d platform: msm: Export usb_bam symbols for module compilation
Some symbols utilized by f_qdss are not exported, which leads to symbol
undefined errors when compiling usb_bam as a module.  Export the symbols
remaining symbols used by f_qdss.

Change-Id: I3f01cee19bbbc990487df4437e15c3c5aa2a98e5
Signed-off-by: Wesley Cheng <wcheng@codeaurora.org>
2020-09-10 23:56:31 -07:00
Wesley Cheng
47ea755874 usb: gadget: qdss: Fix overlapping comparison operators
The conditional check in qdss_enable_debug_inface_store() ensures that the
user input is either a 1 or 0.  However, the comparison check used has
overlapping conditions, leading to a compile warning/error.  Change the
operators to check explicitly for 1 or 0 to avoid this.

Change-Id: I582cd0ab56815b434818744f597f867fbf3abce2
Signed-off-by: Wesley Cheng <wcheng@codeaurora.org>
2020-09-10 23:56:11 -07:00
Prakash Gupta
ab083043a0 mem-offline: add a knob to allow to skip sending RPM/AOP msg
Many a times RPM/AOP dependencies are not available. This limits the abiity
to verify mem-offline features. Allow an module param to dynamically
enable/disable sending rpm/aop messages for mem offline/online requests.

Add mem_offline.bypass_send_msg=1 to kernel bootargs to enable bypass.

Change-Id: I1489bb0454164015e749459866982a608c211f63
Signed-off-by: Prakash Gupta <guptap@codeaurora.org>
2020-09-11 12:04:57 +05:30
Yuanfang Zhang
d59a83501c dcc_v2: fix 1 write 1 read register configuration fail issue
Re-use base address from last entry only when the decs_type of
last entry equal to "DCC_ADDR_TYPE" in dcc_config_add().

Change-Id: I6c678ddaac6c689d73b14c63d03abdbd6289dc0c
Signed-off-by: Yuanfang Zhang <zhangyuanfang@codeaurora.org>
2020-09-11 14:22:15 +08:00
Anmolpreet Kaur
950bdc209d defconfig: Enable smcinvoke on haven
This change adds defconfig entry to enable smcinvoke
on haven.

Change-Id: I4832d8d91da6c04306fec8be2d14bb55267aa4ac
Signed-off-by: Anmolpreet Kaur <anmolpre@codeaurora.org>
2020-09-10 21:54:40 -07:00
Asutosh Das
166510834d scsi: ufs-qcom: lane validity after link-startup
The supported lanes are defined through dt.
Sometimes during link-startup (spm-lvl = 5) the discovered
lanes is less than the defined lanes. But sw anyway tries
configure the defined lanes and PMC fails.
This check is to catch these scenarios.

Change-Id: Iff8aac6a5b18b612771ecea2eaccdfc2569b5968
Signed-off-by: Asutosh Das <asutoshd@codeaurora.org>
2020-09-10 18:40:49 -07:00
Liron Daniel
94c9932e84 soc: qcom: Replace SPCOM channel owner pid with tgid
SPU HAL server uses multiple RPC threads to handle HAL client requests.
pid is not shared between the threads which prevents releasing SPCOM
channels properly. tgid, the group ID which is shared between the
threads is used instead.

Change-Id: I7b119b386868364f3c476d1f6dfdf915aac8c306
Signed-off-by: Liron Daniel <lirond@codeaurora.org>
2020-09-11 00:25:33 +03:00
Jishnu Prakash
bc58ccf571 defconfig: Enable SMB1398 driver for holi
Enable SMB1398 driver which controls the 1398 charge pump master
and slave devices.

Change-Id: I07a0e2d68928c8ae32eb7901bb2ef70c7cbf4a26
Signed-off-by: Jishnu Prakash <jprakash@codeaurora.org>
2020-09-10 23:08:54 +05:30
Jishnu Prakash
064b1642f2 power: supply: smb1398: Add support to make SMB1398 driver GKI compliant
Add support for charge pump master and slave power supplies through IIO
devices and properties under them through IIO channels under the device.

Change-Id: Iccd70399bb1326548b2aa597ec04d648ebd28097
Signed-off-by: Jishnu Prakash <jprakash@codeaurora.org>
Signed-off-by: Ashish Chavan <ashichav@codeaurora.org>
2020-09-10 09:39:36 -07:00
Mao Jinlong
7cd1fb78d6 coresight: stm: Remove debug fuse status check for stm
STM should work on both non-secure and secure device. So remove the debug
fuse check.

Change-Id: If3ff461fec1dca2165ceaaf3750af7338332c486
Signed-off-by: Mao Jinlong <jinlmao@codeaurora.org>
2020-09-10 21:26:01 +08:00
Jishnu Prakash
e273311dfc power: supply: qcom: Fix SMB5 and QG IIO device names
Fix SMB5 and QG IIO device names in driver files instead of
obtaining them from DT node names.

Change-Id: I9a8188e94f5ed714b15384fd4dbb59f21d2a5c59
Signed-off-by: Jishnu Prakash <jprakash@codeaurora.org>
2020-09-10 16:56:47 +05:30
Isaac J. Manjarres
962f6fcf2b memshare: Use carveouts for memory sharing usecases
The memory sharing usecases that memshare caters to require the memory
associated with the usecase to be XPU protected. Since the memory
is currently drawn from the common CMA pool, there is still a normal
cached mapping in the kernel for the memory. This can lead to
speculative cache-line fills before the memory is unmapped from the
stage-2 page tables of Linux, and XPU protected. Later, when the lines
are evicted from the cache (as clean-evicts), this results in a write
to the system cache, which triggers an XPU violation.

Use carveouts for the memshare usecases, to avoid creating normal
cached mappings in the kernel for the memory that the memshare
usecases need to use.

Modify allocation based on the checks for the client id of the
memshare child node.

Change-Id: I1cfdc600a1aeea06072253cbbf1564fa5bebd62b
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
Signed-off-by: Manoj Prabhu B <bmanoj@codeaurora.org>
2020-09-10 15:58:23 +05:30
Pratham Pratap
df72690bd9 usb: phy: qusb2: Update tune params based on efuse value
For 8nm zero value is treated as a valid efuse value and
driver should honor this efuse value to update the tune
params. This change makes the updation of tune value possible
even if the efuse value is zero.

Change-Id: I6eac2e2414bf61b89aa41bebbfe56ad10017969e
Signed-off-by: Pratham Pratap <prathampratap@codeaurora.org>
2020-09-10 01:09:48 -07:00
suchawla
31c9c94ba1 msm: cvp: fix for arbitrary command packet sending to CVP FW
After checking packet id invalid go to exit, do not process
the packet.

Change-Id: I97a396eca869d2b0f26b02b179a68a1ee049d4b6
Signed-off-by: suchawla <suchawla@codeaurora.org>
2020-09-09 23:46:42 -07:00
Yuanfang Zhang
8e795cfbf7 arm: defconfig: Enable STM_PROTO_BASIC for holi
Enable STM_PROTO_BASIC to support to write log to /dev/coresight-stm.

Change-Id: I9c736953e664de799f221a87b81953b4c020fbd5
Signed-off-by: Yuanfang Zhang <zhangyuanfang@codeaurora.org>
2020-09-10 14:28:26 +08:00
Vijayanand Jitta
796c864c72 soc: qcom: Enable slabowner support in minidump
Register and dump slabowner on kernel panic to minidump
table.

Change-Id: I1644ead8ce75ddfca7181ccf102dedabf42c6ad7
Signed-off-by: Vijayanand Jitta <vjitta@codeaurora.org>
2020-09-10 11:48:20 +05:30
Prateek Sood
2204bd3642 irqchip: gicv3: add hardware irq print in gic_show_resume_irq()
Currently gic_show_resume_irq() only prints linux irq number.
There are cases where linux irq number is not listed in
cat /proc/interrupts output. To check for spurious irq cases,
hardware irq number can help.

Change-Id: I03005412688041d7ec99a80b741c16e31db3394d
Signed-off-by: Prateek Sood <prsood@codeaurora.org>
2020-09-09 23:04:34 -07:00
Vijayanand Jitta
3f17f5a3dc soc: qcom: Enable pageowner support in minidump
Register and dump pageowner on kernel panic to minidump
table.

Change-Id: I410fe9a6e875e1485bd2e9d0ad5798015d2ce3e6
Signed-off-by: Vijayanand Jitta <vjitta@codeaurora.org>
2020-09-10 11:34:13 +05:30
qctecmdr
38b1718d28 Merge "mhi: core: Remove verbose log from threaded interrupt handler" 2020-09-09 18:24:29 -07:00
qctecmdr
5a6978730b Merge "msm-perf: Kgsl events collection for perf" 2020-09-09 18:24:28 -07:00
qctecmdr
5d6b253ca1 Merge "input: touchscreen: mxt: reset IC before read again" 2020-09-09 18:24:28 -07:00