Commit Graph

197 Commits

Author SHA1 Message Date
qctecmdr
accf4d51cd Merge "modules.list.msm.waipio: Mark qmp and aoss drivers as primary modules" 2021-09-13 12:09:26 -07:00
Auditya Bhattaram
4c8897477f cape: Add pinctrl-cape to modules.list.msm.waipio
Add pinctrl-cape to modules.list.msm.waipio to enable it to load
during first stage init.

Change-Id: Iad4388a24db5f304ccd6593025879e498de776fb
Signed-off-by: Auditya Bhattaram <audityab@codeaurora.org>
2021-09-06 11:27:48 +05:30
Murthy Nidadavolu
2aca8e55a1 modules.list.msm.waipio: Mark qmp and aoss drivers as primary modules
Load qmp and aoss drivers at boot time to be used by tmecom interface.

Change-Id: Ib5bf882cbba1280c30176136d90fdae1cd6d4550
Signed-off-by: Murthy Nidadavolu <mnssr@codeaurora.org>
2021-09-02 12:40:19 +05:30
Mukesh Ojha
9fd43b9448 pinctrl: qcom: Rename qcom_msm_pinctrl to pinctrl-waipio
Existing pinctrl driver is not generic enough to be used
for other target sharing same binaries. However, current
pinctrl driver can be used for a target where both PVM
and SVM is supported and also for target where SVM is
not supported.

Rename qcom_msm_pinctrl.c to pinctrl-waipio.c and change
the module name in the first stage module list.

Change-Id: I276d4a22921653ba7007be06cb930516699b3ccf
Signed-off-by: Mukesh Ojha <mojha@codeaurora.org>
2021-08-19 20:39:42 +05:30
Mukesh Ojha
dc03cd34d4 diwali: Add qnoc-diwali to modules.list.msm.waipio
Add qnoc-diwali to modules.list.msm.waipio to enable it to load
during first stage init

Change-Id: Iac72352a71f3a78685011fa17c362fe62a7e9d2e
Signed-off-by: Mukesh Ojha <mojha@codeaurora.org>
2021-08-04 09:37:27 -07:00
Tengfei Fan
41da3632db modules.list.msm.waipio: rearrangement for boot KPI
By rearranging driver probe order can help avoiding
driver error probes and have optimal performance in
kernel boot first stage.

Change-Id: I584ddbf9ce647d91ba5d9e6951bd5aa0174bd85b
Signed-off-by: Tengfei Fan <tengfeif@codeaurora.org>
2021-07-30 10:47:47 +08:00
qctecmdr
6e6410d30a Merge "defconfig: waipio: Remove UFS PHY Driver" 2021-07-22 19:53:56 -07:00
Bao D. Nguyen
8d615ee4b0 defconfig: waipio: Remove UFS PHY Driver
Remove the UFS PHY driver used only during the presilicon
development so that it will not be included in the final image.

Change-Id: I3f5cfa4a2e18b5567dc168cd0a903b2c706ad5c7
Signed-off-by: Bao D. Nguyen <nguyenb@codeaurora.org>
2021-07-21 14:19:00 -07:00
Isaac J. Manjarres
49c2eee7da modules.list.msm.waipio: Alphabetize module list for Waipio
In prepartion for enforcement of alphabetization of module lists,
alphabetize Waipio's module list.

Change-Id: Ia0c5c6cce853aeccceb24fc33f8ec4b4867d33a3
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
2021-07-21 10:34:08 -07:00
qctecmdr
c5c1a6a198 Merge "gunyah: arm64: Add arch support for reset reason validation" 2021-07-16 10:35:05 -07:00
Prakruthi Deepak Heragu
5d9f2d2223 gunyah: arm64: Add support for arm64 drivers for Gunyah
Add gh_arm basic driver to support Gunyah. All required features can be
further added to support complete functioning of Gunyah drivers.

Change-Id: I0b821d30977963f9891470ed423f9f9645315153
Signed-off-by: Prakruthi Deepak Heragu <pheragu@codeaurora.org>
2021-07-13 17:41:09 -07:00
Ivaylo Georgiev
1c3ac04751 Merge keystone/android12-5.10-keystone-qcom-release.43+ (92486f8) into msm-5.10
* refs/heads/tmp-92486f8:
  FROMGIT: bpf: Support all gso types in bpf_skb_change_proto()
  ANDROID: GKI: 7/2/2021 KMI update
  ANDROID: ABI: hikey960_gki.fragment: Add cfg80211 and mac80211 as modules
  ANDROID: ABI: gki_defconfig: Make cfg80211 and mac80211 modules
  Revert "ANDROID: GKI: Enable some necessary CFG80211 configs for WIFI"
  Revert "ANDROID: dmabuf: Add mmap_count to struct dmabuf"
  Revert "ANDROID: dma-buf: Don't change vm_ops if vm_file changes"
  ANDROID: GKI: mmc: add Android ABI padding to some structures
  ANDROID: GKI: Add rproc coredump APIs to symbol list
  ANDROID: GKI: Add remoteproc vendor hook symbols
  ANDROID: rproc: Add vendor hook for recovery
  ANDROID: sched: Add vendor data in struct cfs_rq
  ANDROID: Add oem data array for async binder transaction
  UPSTREAM: mm: relocate 'write_protect_seq' in struct mm_struct
  ANDROID: sched: remove regular vendor hooks for 32bit execve
  ANDROID: GKI: enable CONFIG_BLK_CGROUP_IOCOST
  ANDROID: GKI: Add ANDROID_OEM_DATA in struct blk_mq_tags
  ANDROID: GKI: Add ANDROID_OEM_DATA in struct blk_mq_ctx
  ANDROID: GKI: Add ANDROID_OEM_DATA in struct request_queue
  ANDROID: ABI: update virtual device symbols for CAN
  ANDROID: Add CONFIG_CAN=y to gki_defconfig
  FROMLIST: scsi: ufs: Make HCM parameter configurable
  FROMLIST: scsi: ufs: Add support for HCM
  FROMLIST: scsi: ufs: Do not send umap_all in host control mode
  FROMLIST: scsi: ufs: Limit the number of inflight rb
  FROMLIST: scsi: ufs: Add "Cold" regions timer
  FROMLIST: scsi: ufs: Add hpb dev reset response
  FROMLIST: scsi: ufs: Region inactivation in HCM
  FROMLIST: scsi: ufs: Eviction in HCM
  FROMLIST: scsi: ufs: Add region's reads counter
  FROMLIST: scsi: ufs: Transform set_dirty to iterate_rgn
  FROMLIST: scsi: ufs: Add HCM support to rsp_upiu
  FROMLIST: scsi: ufs: Cache HPB Control mode on init
  FROMLIST: scsi: ufs: Add HPB 2.0 support
  FROMLIST: scsi: ufs: Prepare HPB read for cached sub-region
  FROMLIST: scsi: ufs: L2P map management for HPB read
  FROMLIST: scsi: ufs: Introduce HPB feature
  FROMGIT: block/mq-deadline: Prioritize high-priority requests
  FROMGIT: block/mq-deadline: Add cgroup support
  FROMGIT: block/mq-deadline: Track I/O statistics
  FROMGIT: block/mq-deadline: Add I/O priority support
  FROMGIT: block/mq-deadline: Micro-optimize the batching algorithm
  FROMGIT: block/mq-deadline: Reserve 25% of scheduler tags for synchronous requests
  FROMGIT: block/mq-deadline: Improve the sysfs show and store macros
  FROMGIT: block/mq-deadline: Improve compile-time argument checking
  FROMGIT: block/mq-deadline: Rename dd_init_queue() and dd_exit_queue()
  FROMGIT: block/mq-deadline: Remove two local variables
  FROMGIT: block/mq-deadline: Add two lockdep_assert_held() statements
  FROMGIT: block/mq-deadline: Add several comments
  FROMGIT: block: Introduce the ioprio rq-qos policy
  FROMGIT: block/blk-rq-qos: Move a function from a header file into a C file
  FROMGIT: block/blk-cgroup: Swap the blk_throtl_init() and blk_iolatency_init() calls
  FROMGIT: block/Kconfig: Make the BLK_WBT and BLK_WBT_MQ entries consecutive
  FROMGIT: bfq/mq-deadline: remove redundant check for passthrough request
  FROMGIT: blk-mq: Improve performance of non-mq IO schedulers with multiple HW queues
  FROMGIT: Revert "blk-mq, elevator: Count requests per hctx to improve performance"
  FROMLIST: scsi: ufs: add missing host_lock in setup_xfer_req
  Revert "Revert "FROMGIT: scsi: ufs: Utilize Transfer Request List Completion Notification Register""
  Revert "Revert "BACKPORT: FROMGIT: scsi: ufs: Optimize host lock on transfer requests send/compl paths""
  Revert "Revert "KMI: BACKPORT: FROMGIT: scsi: ufs: Optimize host lock on transfer requests send/compl paths""
  ANDROID: Update the ABI representation
  ANDROID: GKI: Update abi_gki_aarch64_qcom for oom_check_panic symbol
  ANDROID: sched: Add trace for __setscheduler_uclamp
  ANDROID: usb: export built-in tracepoint functions
  ANDROID: Fix lost track action type in save_track_hash
  ANDROID: ABI: update for new qcom symbols
  ANDROID: abi_gki_aarch64_qcom: Update ufs symbol list
  ANDROID: GKI: Update abi_gki_aarch64_qcom for logbuf_pr_cont tracepoint
  ANDROID: Update symbol list for mtk
  ANDROID: dma-buf: heaps: export defer-free list size

Conflicts:
	drivers/scsi/ufs/Kconfig

Change-Id: I655cd0fba21a825733bfd0e1f0905f3a2ed755ee
Signed-off-by: Ivaylo Georgiev <irgeorgiev@codeaurora.org>
2021-07-06 06:59:50 -07:00
qctecmdr
20225005d8 Merge "modules.list.msm.waipio: Add qrtr and ns" 2021-06-22 18:00:46 -07:00
Jagadeesh Kona
a08d6a7ed7 diwali: Add gcc-diwali to modules.list.msm.waipio
Add gcc-diwali to modules.list.msm.waipio to enable
it to load during first stage init.

Change-Id: I93815b08eb717c59e2e5d6e24c5998bc5ec485c2
Signed-off-by: Jagadeesh Kona <jkona@codeaurora.org>
2021-06-20 20:21:33 -07:00
Elliot Berman
314c95fed9 modules.list.msm.waipio: Add qrtr and ns
Add qrtr and ns to first-stage modules. These modules require NET_ADMIN
privilege during initialization. Granting vendor_modprobe these
permissions was strictly rejected by security team, so move these
modules to first-stage init.

Change-Id: Ie9ab16618c04954d535c9f5c82420fbd78a12c3f
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
2021-06-18 14:33:04 -07:00
Shaleen Agrawal
bc72158cfe sched: Enable walt debug module in first stage
To catch early errors, it's important to ensure that the walt debug
module is insmodded early.

Change-Id: I1418c16a30041469aa04025018a1f0a79065c390
Signed-off-by: Shaleen Agrawal <shalagra@codeaurora.org>
2021-06-17 13:08:43 -07:00
Neeraj Upadhyay
f192a76c3c modules.list.msm.waipio: Add qcom_gic_intr_routing module to first stage
Add qcom_gic_intr_routing to first state, to load it early
in the boot chain.

Change-Id: I36f6a5e88ddb18bceffc399e62c183a4478cf73f
Signed-off-by: Neeraj Upadhyay <neeraju@codeaurora.org>
2021-06-04 13:05:13 +05:30
Gaurav Kashyap
312c170c62 Add modules necessary for inline encryption
Add modules to support inline encryption using hwkm
for key management.
crypto-qti-hwkm.ko
hwkm.ko
tmecom-intf.ko.

Tests: Bootup with FBE enabled and fscryptctl unit tests.

Change-Id: I030dc297361302b8ca2c2f92ba23b898346eaa08
Signed-off-by: Gaurav Kashyap <gaurkash@codeaurora.org>
2021-05-30 07:33:32 -07:00
Cong Zhang
52892f7d3b Haven: Rename hypervisor to gunyah
The change is to rename 'haven' to 'gunyah', 'hh' to 'gh'.
The following words is unchanged because of the dependency from
hypervisor or userspace: 'haven-hypervisor', 'qcom,hh-watchdog',
'qcom,haven-message-queue', 'qcom,haven-vm-id', 'hh_virtio_backend'.
To track histroy, this change only change content, not rename the
files.

Change-Id: I4fa3e3fb00d4a53b44b6aec81b4c22cbeb5c6853
Signed-off-by: Cong Zhang <congzhan@codeaurora.org>
2021-05-23 01:24:20 -07:00
qctecmdr
80b35efd93 Merge "scsi: ufs: Add ufs phy driver for Waipio" 2021-05-20 01:30:25 -07:00
qctecmdr
7d2ff3384d Merge "pinctrl: qcom: Add pinctrl support for VMs" 2021-05-17 23:45:40 -07:00
qctecmdr
4ad15e0309 Merge "modules.list.msm.waipio: Add llcc-qcom module to first stage" 2021-05-14 09:51:37 -07:00
Naina Mehta
a63fdd9d58 qcom-msm-pinctrl: Add qcom-msm-pinctrl module in first stage init
Add qcom-msm-pinctrl to modules.list.msm.waipio.

Change-Id: Ibc8d4b3ddc691b7021d21f411bb68f150594d312
Signed-off-by: Naina Mehta <nainmeht@codeaurora.org>
2021-05-13 03:43:38 -07:00
Prasad Sodagudi
2200072591 modules.list.msm.waipio: Add llcc-qcom module to first stage
Add llcc-qcom module to first stage to enable CPU LLCC slice
early in the boot chain.

Change-Id: I285b1bd53b7d9c3411decbdc180074a254b39245
Signed-off-by: Prasad Sodagudi <psodagud@codeaurora.org>
2021-05-12 20:26:40 -07:00
Gaurav Kashyap
607d696beb Add modules necessary for inline encryption
Add modules to support inline encryption using wrapped
keys. This is done with the help of three modules.
ufshcd-crypto-qti.ko
crypto-qti-common.ko
crypto-qti-tz.ko.

Change-Id: I5830e1175e2ee0beec3171c2577d919ea4751b76
Signed-off-by: Gaurav Kashyap <gaurkash@codeaurora.org>
2021-05-10 10:57:53 -07:00
Bao D. Nguyen
897fb1767b scsi: ufs: Add ufs phy driver for Waipio
Add newly created Waipio ufs qcom phy driver so that it
will be auto-loaded during bootup.

Change-Id: I6bc6b1e764e9947b75e06d4699249a7816b38d15
Signed-off-by: Bao D. Nguyen <nguyenb@codeaurora.org>
2021-05-09 08:37:00 -07:00
Mukesh Ojha
8ce18f2f82 minidump: Add minidump module in first stage init
Add minidump module to modules.list.msm.waipio.

Change-Id: I319e41c6efaa671b848468280c2d74a35fb750ce
Signed-off-by: Mukesh Ojha <mojha@codeaurora.org>
2021-05-04 18:51:23 +05:30
Rishabh Bhatnagar
76e1f967a3 modules.list.msm.waipio: Add qcom-pmu-lib to modules list
Add qcom-pmu-lib to modules list in the first stage init.
Modules installing perf events need to have CAP_SYS_ADMIN
or CAP_PERFMON capabilities to install events. Moving this
module to first stage solves the problem by ensuring that
init thread insmods this module.

Change-Id: I52b90cfa22dff3afb61a28356bfabae5e60f374b
Signed-off-by: Rishabh Bhatnagar <rishabhb@codeaurora.org>
2021-04-23 09:30:10 -07:00
Chris Goldsworthy
6a32dbbf6c dma-heap: qcom: Use deferred free functionality for system heap
Use deferred free functionality as of commit f10ff61bd1 ("Merge
"dt-bindings: ipcc: Add WPSS client to IPCC header""), so as to speed
up dma-buf releases by having the buffer's memory freed asynchronously
by a helper thread.

Change-Id: Ie32430fe536e0cbc2abc56a259ae9c23e2e090a0
Signed-off-by: Chris Goldsworthy <cgoldswo@codeaurora.org>
2021-03-28 17:38:48 -07:00
Elliot Berman
686afe29c2 modules.list.msm.waipio: Reduce Waipio modules to minimum needed
Reduce first stage module loading to the minimum needed to enable first
stage init functionality:
 - Reboot/poweroff
 - UFS
 - Serial console
 - Basic sched/mem additions.

Change-Id: I683703412df60fc8c638773aad907658c866783b
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
2021-03-09 10:07:35 -08:00
Elliot Berman
428018df54 modules.list.msm.waipio: Sort alphabetically
Order of modules.list.msm.waipio has no impact on load order, so sort
for ease of quickly checking which modules are part of first-stage.

Change-Id: If3b8b1e76990d51018cf91314223370d67318b18
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
2021-03-09 10:06:35 -08:00
Prateek Sood
7635a85cc2 diwali: Add pinctrl-diwali to modules.list.msm.waipio
Add pinctrl-diwali to modules.list.msm.waipio to enable it to load
during first stage init.

Change-Id: I9552f74a403854eba423e4e59255fe0ffe0e16ec
Signed-off-by: Prateek Sood <prsood@codeaurora.org>
Signed-off-by: Mukesh Ojha <mojha@codeaurora.org>
2021-03-09 01:43:41 -08:00
qctecmdr
9bb04cb801 Merge "Waipio: Enable QMI sensor and cooling device drivers" 2021-02-26 15:37:35 -08:00
Prasad Sodagudi
645cc631e9 modules.list: Add mindump to module list
Add minidump to module list of lahaina and waipio SoCs.

Change-Id: Iebe5bf71b14c2903db986c5a3df1d0df7ada0c9e
Signed-off-by: Prasad Sodagudi <psodagud@codeaurora.org>
2021-02-26 07:48:01 -08:00
Ram Chandrasekar
6c2c9e610c Waipio: Enable QMI sensor and cooling device drivers
Enable QMI sensor and cooling device drivers to register the sensors and
cooling devices from remote susbsystems.

Change-Id: I2d9bb66da40e0833f0cf7bba61dabae628d00574
Signed-off-by: Ram Chandrasekar <rkumbako@codeaurora.org>
2021-02-19 14:56:44 -08:00
qctecmdr
d14371e3a3 Merge "dma-heaps: qcom: Export carveout_heap_add_memory" 2021-02-19 00:10:41 -08:00
qctecmdr
9d1371c610 Merge "msm: kgsl: Enable GPU bandwidth and frequency governors" 2021-02-18 17:30:42 -08:00
qctecmdr
5569807566 Merge "waipio: Add 3D graphics driver to the modules list" 2021-02-18 11:02:52 -08:00
qctecmdr
4d003a5ec3 Merge "smcinvoke: enable smcinvoke driver" 2021-02-17 19:55:07 -08:00
qctecmdr
62a934c2e8 Merge "Waipio: Enable CPU Pause driver" 2021-02-17 18:58:54 -08:00
Patrick Daly
7acf8182d6 mem-buf: Split into multiple modules
"mem_buf_retrieve() [mem_buf.ko]" exports a dma_buf, and wants to use
"qcom_sg_ops [qcom_dma_heaps.ko]". But "qcom_sg_map_dma_buf() [qcom_sg_op]"
calls "mem_buf_vmperm_can_cmo [mem_buf.ko]".

Resolve this by splitting mem-buf into two separate modules.
1) mem-buf.ko
Contains  the ioctl interface, msgq handling, and mem_buf_retrieve().
2) mem-buf-dev.ko
Contains the hypervisor interface, as well as all vmperm functionality.

Change-Id: Ifc41f12e62858d865b880c7b40676607016d36a0
Signed-off-by: Patrick Daly <pdaly@codeaurora.org>
2021-02-17 17:08:18 -08:00
Raghu Ananya Arabolu
9a5dff4709 msm: kgsl: Enable GPU bandwidth and frequency governors
Enable the GPU bandwidth and frequency governors.  Add them to the
modules list. This is done for both Lahaina and Waipio targets.

Change-Id: I0a4abafdfa65a5697f06ac4fc0eb9de0744afb00
Signed-off-by: Raghu Ananya Arabolu <rarabolu@codeaurora.org>
2021-02-17 13:47:50 -08:00
Dinesh K Garg
8734ac2d25 smcinvoke: enable smcinvoke driver
Porting SMCInvoke driver to kernel msm-5.10

Change-Id: I2ad581350a8a2b48d653488b4bdbbeb840f00cd2
Signed-off-by: Dinesh K Garg <dineshg@codeaurora.org>
2021-02-16 11:32:23 -08:00
Dinesh K Garg
ce21cb3900 qseecom: enable support for QSEECom
Adding changes to port QSEECom driver to kernel 5.10

Change-Id: I840b485439b9fd8872e9411238ac07c89ac588f5
Signed-off-by: Dinesh K Garg <dineshg@codeaurora.org>
2021-02-16 11:30:11 -08:00
Dinesh K Garg
eb4eadf52a tzlog: enable TZ log driver
Adding required changes to make tzlog driver functional on kernel 5.10

Change-Id: Ia4a28c73f545ca5ae0fa795e1aae608a1b03f9a1
Signed-off-by: Dinesh K Garg <dineshg@codeaurora.org>
2021-02-16 11:24:09 -08:00
Ram Chandrasekar
8eb8eda7be Waipio: Enable CPU Pause driver
Enable CPU Pause driver, which will register CPU Pause as a cooling
device.

Change-Id: I1de04639741309a2e286fd17ada4d17cca7a3f43
Signed-off-by: Ram Chandrasekar <rkumbako@codeaurora.org>
2021-02-16 06:48:35 -08:00
Raghu Ananya Arabolu
8e83219b4a waipio: Add 3D graphics driver to the modules list
Add msm_kgsl.ko to the module inclusion list to allow KGSL to be
probed during boot. This is done for both Lahaina and Waipio targets.

Change-Id: I42f22cbd75a2ff392a6c6dc86e4a2bf8dcbe22fa
Signed-off-by: Raghu Ananya Arabolu <rarabolu@codeaurora.org>
2021-02-12 16:04:10 -08:00
qctecmdr
523e683d6a Merge "Waipio: Enable LMH DCVSh driver" 2021-02-10 17:00:31 -08:00
Ram Chandrasekar
221deb0541 Waipio: Enable LMH DCVSh driver
Enable LMH DCVSh driver to vote for Qref regulators needed by isens
hardware.

Change-Id: I97ebdb53520a8a3549148b409a7cfc9375bd17e9
Signed-off-by: Ram Chandrasekar <rkumbako@codeaurora.org>
2021-02-10 10:24:52 -08:00
Ram Chandrasekar
d82c75ce44 waipio: Enable DDR cooling device
Enable DDR cooling device to place a DDR bandwidth vote during high
temperatures.

Change-Id: Ifad58426097b1c7c351e92e2294c6942f7f9b9e4
Signed-off-by: Ram Chandrasekar <rkumbako@codeaurora.org>
2021-02-10 10:24:51 -08:00