- Mar 25, 2025
-
-
Alistair Delva authored
Originally init/Kconfig.gki was just excluded on 32-bit, which works fine for allmodconfig builds, but breaks downstream boards trying to build specific drivers modularly (in a 'mixed tree' configuration) for 32-bit ARM with Kleaf. Replace the workaround with a new one. Bug: 379954362 Signed-off-by:
Alistair Delva <adelva@google.com> Change-Id: Ia67da020f561fdc43e73a68984ca882bbe0d3082
-
Alistair Delva authored
This reverts commit f896efaa. Broke building 32-bit ARM kernels with kbuild 'mixed tree' support in Kleaf. A different workaround will be used instead. Bug: 379954362 Signed-off-by:
Alistair Delva <adelva@google.com> Change-Id: Ieef7a18de0eb89a76382d23e1bd14d1105e7bb08
-
Dezhen Wang authored
1 function symbol(s) added 'int regulator_is_enabled(struct regulator *regulator)' Bug: 405055772 Change-Id: I3971891abb4864786072915fb514863460f8afa4 Signed-off-by:
Dezhen Wang <dezhen.wang@amlogic.com>
-
Viktor Martensson authored
Add kernel_aarch64_tv as a target and the fragment needed to configure it. Test: TH Bug: 401254795 Change-Id: I09b2b885f13c0c6bf307bba130a428ab4aeba6c2 Signed-off-by:
Viktor Martensson <vmartensson@google.com>
-
xiaosa liang authored
Add symbol list for oplus in gki/aarch64/symbols/oplus 1 function symbol(s) added 'int __traceiter_android_vh_binder_check_special_work(void*, struct binder_proc*, struct list_head**)' 1 variable symbol(s) added 'struct tracepoint __tracepoint_android_vh_binder_check_special_work' Bug: 395737475 Change-Id: I1d459d7c1dc4cc5e3e595db13be3d783d4c2abc4 Signed-off-by:
xiaosa liang <liangxiaosa@oppo.com>
-
wuhaicheng authored
step 2: Add symbol list for oplus in gki/aarch64/symbols/oplus 1 function symbol(s) added 'void __qdisc_calculate_pkt_len(struct sk_buff*, const struct qdisc_size_table*)' Bug: 405507841 Change-Id: Ia2247b605c20f7d70236627dbd9863d5bec6ab25 Signed-off-by:
wuhaicheng <wuhaicheng@oppo.com>
-
xieliujie authored
1 function symbol(s) added 'int __traceiter_android_vh_tick_nohz_idle_stop_tick(void*, void*)' 1 variable symbol(s) added 'struct tracepoint __tracepoint_android_vh_tick_nohz_idle_stop_tick' Bug: 333160399 Change-Id: I9b3e19d1aab32f94b5bad8ebfad7319cea1291ea Signed-off-by:
xieliujie <xieliujie@oppo.com>
-
zhouxuewen authored
This hook will allow to stop extra timers that is created during scheduler_tick. The background is described as follows: 1) In some cases, we find the 4ms tick is not enough for task scheduling so we will start a new timer in scheduler_tick to do extra task scheduling. The hook in scheduler_tick already exists but when cpus enter idle, the timer needs to be stopped for saving power (same logic as nohz idle). 2) We can get about 7% power saving without hurting the performance in certain use case after enabled this feature. 3) Actually we are considering to upstream it to mainline kernel but it can takes time to get really merged. An initial submit is preferred to get the community noticed the potential optimized point. Bug: 333160399 Change-Id: Ie97599ef562def39e13716adfc7cddef14b72075 Signed-off-by:
zhouxuewen <zhouxuewen@oppo.com>
-
wengle authored
Add symbol list for oplus in gki/aarch64/symbols/oplus 1 function symbol(s) added 'int __traceiter_android_vh_customize_alloc_gfp(void*, gfp_t*, unsigned int)' 1 variable symbol(s) added 'struct tracepoint __tracepoint_android_vh_customize_alloc_gfp' Bug: 395197442 Change-Id: Ieb9a44667783d1c81ed9abf7cb1e8c2599280818 Signed-off-by:
wengle <wengle@oppo.com>
-
wei li authored
add vendor hook for supporting customize alloc_gfp at alloc_page_slowpath, give the ability to customize alloc_gfp according to customer specific requirement. Bug: 337192903 Bug: 395197442 Change-Id: I42fd97fa76a47b9fde554434f607285bee8915c0 Signed-off-by:
wei li <liwei1234@oppo.com> Signed-off-by:
wengle <wengle@oppo.com>
-
wei li authored
21 function symbol(s) added 'int __traceiter_block_rq_insert(void*, struct request*)' 'int __traceiter_task_newtask(void*, struct task_struct*, unsigned long)' 'int blkcg_policy_register(struct blkcg_policy*)' 'void blkcg_policy_unregister(struct blkcg_policy*)' 'struct usb_role_switch* fwnode_usb_role_switch_get(struct fwnode_handle*)' 'long get_user_pages_remote(struct mm_struct*, unsigned long, unsigned long, unsigned int, struct page**, int*)' 'time64_t mktime64(unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int)' 'int profile_event_unregister(enum profile_type, struct notifier_block*)' 'struct device* rdev_get_dev(struct regulator_dev*)' 'void task_cputime_adjusted(struct task_struct*, u64*, u64*)' 'unsigned int tty_chars_in_buffer(struct tty_struct*)' 'int tty_dev_name_to_number(const char*, dev_t*)' 'void tty_kclose(struct tty_struct*)' 'struct tty_struct* tty_kopen_exclusive(dev_t)' 'int tty_set_ldisc(struct tty_struct*, int)' 'void tty_unlock(struct tty_struct*)' 'int usb_for_each_dev(void*, int(*)(struct usb_device*, void*))' 'int usb_gadget_connect(struct usb_gadget*)' 'int usb_gadget_disconnect(struct usb_gadget*)' 'struct wakeup_source* wakeup_sources_walk_next(struct wakeup_source*)' 'struct wakeup_source* wakeup_sources_walk_start()' 3 variable symbol(s) added 'struct tracepoint __tracepoint_block_rq_insert' 'struct tracepoint __tracepoint_task_newtask' 'struct srcu_struct tracepoint_srcu' Bug: 406139796 Change-Id: I0c8247234094f628d252482e3d8cb4140c30895d Signed-off-by:
wei li <sirius.liwei@honor.corp-partner.google.com>
-
Aleksei Vetrov authored
Enable trimming, imports and exports protection and missing `system_dlkm_extra_archive_files` to match `kernel_aarch64`. The only differences between these targets is `clang_autofdo_profile` and `kmi_enforced`: we don't guarantee ABI stability in AutoFDO targets. Bug: 393044622 Change-Id: I15e62afebf12fa978d21cde5542fbf1c6e162124 Signed-off-by:
Aleksei Vetrov <vvvvvv@google.com>
-
Aleksei Vetrov authored
Enable trimming, imports and exports protection in `kernel_aarch64_16k` to match `kernel_aarch64`. The only differences between these targets is `page_size` and `kmi_enforced`: we don't guarantee ABI stability in 16k kernels. Bug: 393044622 Change-Id: I43207254a6621149d4b73f9d1c5ddbf3c4abd172 Signed-off-by:
Aleksei Vetrov <vvvvvv@google.com>
-
- Mar 24, 2025
-
-
wei li authored
Add the symbols used by CIFS. 102 function symbol(s) added 'void __d_lookup_unhash_wake(struct dentry*)' 'int __traceiter_netfs_sreq(void*, struct netfs_io_subrequest*, enum netfs_sreq_trace)' 'int add_swap_extent(struct swap_info_struct*, unsigned long, unsigned long, sector_t)' 'int asn1_ber_decoder(const struct asn1_decoder*, void*, const unsigned char*, size_t)' 'size_t copy_page_from_iter(struct page*, size_t, size_t, struct iov_iter*)' 'size_t copy_page_to_iter(struct page*, size_t, size_t, struct iov_iter*)' 'ssize_t copy_splice_read(struct file*, loff_t*, struct pipe_inode_info*, size_t, unsigned int)' 'void d_add(struct dentry*, struct inode*)' 'struct dentry* d_alloc_parallel(struct dentry*, const struct qstr*, wait_queue_head_t*)' 'struct dentry* d_hash_and_lookup(struct dentry*, struct qstr*)' 'void d_move(struct dentry*, struct dentry*)' 'ino_t d_parent_ino(struct dentry*)' 'void deactivate_super(struct super_block*)' 'int errseq_check(errseq_t*, errseq_t)' 'ssize_t extract_iter_to_sg(struct iov_iter*, size_t, struct sg_table*, unsigned int, iov_iter_extraction_t)' 'struct vfsmount* fc_mount(struct fs_context*)' 'int file_modified(struct file*)' 'vm_fault_t filemap_fault(struct vm_fault*)' 'vm_fault_t filemap_map_pages(struct vm_fault*, unsigned long, unsigned long)' 'int filemap_migrate_folio(struct address_space*, struct folio*, struct folio*, enum migrate_mode)' 'ssize_t filemap_splice_read(struct file*, loff_t*, struct pipe_inode_info*, size_t, unsigned int)' 'int finish_no_open(struct file*, struct dentry*)' 'int finish_open(struct file*, struct dentry*, int(*)(struct inode*, struct file*))' 'struct fs_context* fs_context_for_submount(struct file_system_type*, struct dentry*)' 'int fs_param_is_bool(struct p_log*, const struct fs_parameter_spec*, struct fs_parameter*, struct fs_parse_result*)' 'int fs_param_is_gid(struct p_log*, const struct fs_parameter_spec*, struct fs_parameter*, struct fs_parse_result*)' 'int fs_param_is_u64(struct p_log*, const struct fs_parameter_spec*, struct fs_parameter*, struct fs_parse_result*)' 'int fs_param_is_uid(struct p_log*, const struct fs_parameter_spec*, struct fs_parameter*, struct fs_parse_result*)' 'void generate_random_uuid(unsigned char*)' 'int generic_key_instantiate(struct key*, struct key_preparsed_payload*)' 'int generic_setlease(struct file*, int, struct file_lease**, void**)' 'int in_group_p(kgid_t)' 'struct timespec64 inode_set_ctime_current(struct inode*)' 'void iov_iter_discard(struct iov_iter*, unsigned int, size_t)' 'void iterate_supers_type(struct file_system_type*, void(*)(struct super_block*, void*), void*)' 'ino_t iunique(struct super_block*, ino_t)' 'void key_invalidate(struct key*)' 'void key_revoke(struct key*)' 'int key_validate(const struct key*)' 'void* kmem_cache_alloc_lru_noprof(struct kmem_cache*, struct list_lru*, gfp_t)' 'void lock_two_nondirectories(struct inode*, struct inode*)' 'int locks_lock_inode_wait(struct inode*, struct file_lock*)' 'enum OID look_up_OID(const void*, size_t)' 'struct dentry* lookup_positive_unlocked(const char*, struct dentry*, int)' 'void mark_mounts_for_expiry(struct list_head*)' 'int mempool_resize(mempool_t*, int)' 'void mnt_drop_write_file(struct file*)' 'void mnt_set_expiry(struct vfsmount*, struct list_head*)' 'int mnt_want_write_file(struct file*)' 'ssize_t netfs_buffered_read_iter(struct kiocb*, struct iov_iter*)' 'ssize_t netfs_buffered_write_iter_locked(struct kiocb*, struct iov_iter*, struct netfs_group*)' 'bool netfs_dirty_folio(struct address_space*, struct folio*)' 'void netfs_end_io_direct(struct inode*)' 'void netfs_end_io_read(struct inode*)' 'void netfs_end_io_write(struct inode*)' 'ssize_t netfs_file_read_iter(struct kiocb*, struct iov_iter*)' 'ssize_t netfs_file_write_iter(struct kiocb*, struct iov_iter*)' 'void netfs_invalidate_folio(struct folio*, size_t, size_t)' 'vm_fault_t netfs_page_mkwrite(struct vm_fault*, struct netfs_group*)' 'void netfs_prepare_write_failed(struct netfs_io_subrequest*)' 'int netfs_read_folio(struct file*, struct folio*)' 'void netfs_read_subreq_terminated(struct netfs_io_subrequest*, int, bool)' 'void netfs_readahead(struct readahead_control*)' 'bool netfs_release_folio(struct folio*, gfp_t)' 'int netfs_start_io_direct(struct inode*)' 'int netfs_start_io_read(struct inode*)' 'int netfs_start_io_write(struct inode*)' 'ssize_t netfs_unbuffered_read_iter(struct kiocb*, struct iov_iter*)' 'ssize_t netfs_unbuffered_read_iter_locked(struct kiocb*, struct iov_iter*)' 'ssize_t netfs_unbuffered_write_iter(struct kiocb*, struct iov_iter*)' 'ssize_t netfs_unbuffered_write_iter_locked(struct kiocb*, struct iov_iter*, struct netfs_group*)' 'int netfs_unpin_writeback(struct inode*, struct writeback_control*)' 'int netfs_writepages(struct address_space*, struct writeback_control*)' 'int posix_lock_file(struct file*, struct file_lock*, struct file_lock*)' 'void posix_test_lock(struct file*, struct file_lock*)' 'struct cred* prepare_kernel_cred(struct task_struct*)' 'void put_fs_context(struct fs_context*)' 'int register_key_type(struct key_type*)' 'struct key* request_key_tag(struct key_type*, const char*, struct key_tag*, const char*)' 'int security_sb_eat_lsm_opts(char*, void**)' 'void seq_escape_mem(struct seq_file*, const char*, size_t, unsigned int, const char*)' 'int set_anon_super(struct super_block*, void*)' 'struct super_block* sget(struct file_system_type*, int(*)(struct super_block*, void*), int(*)(struct super_block*, void*), int, void*)' 'int sigprocmask(int, sigset_t*, sigset_t*)' 'int sock_sendmsg(struct socket*, struct msghdr*)' 'ssize_t splice_file_range(struct file*, loff_t*, struct file*, loff_t*, size_t)' 'int sprint_oid(const void*, size_t, char*, size_t)' 'int super_setup_bdi(struct super_block*)' 'void tcp_sock_set_cork(struct sock*, bool)' 'void tcp_sock_set_nodelay(struct sock*)' 'struct timespec64 timestamp_truncate(struct timespec64, struct inode*)' 'void truncate_inode_pages_range(struct address_space*, loff_t, loff_t)' 'void truncate_pagecache_range(struct inode*, loff_t, loff_t)' 'void unlock_two_nondirectories(struct inode*, struct inode*)' 'void unregister_key_type(struct key_type*)' 'void user_describe(const struct key*, struct seq_file*)' 'void user_destroy(struct key*)' 'long user_read(const struct key*, char*, size_t)' 'void user_revoke(struct key*)' 'int utf8s_to_utf16s(const u8*, int, enum utf16_endian, wchar_t*, int)' 'int vfs_parse_fs_string(struct fs_context*, const char*, const char*, size_t)' 'loff_t vfs_setpos(struct file*, loff_t, loff_t)' 3 variable symbol(s) added 'struct tracepoint __tracepoint_netfs_sreq' 'struct key_type key_type_logon' 'const struct file_operations simple_dir_operations' Bug: 405507842 Change-Id: I773ece5bcbf665c092ea51ab16bf79be7427aee4 Signed-off-by:
wei li <sirius.liwei@honor.corp-partner.google.com>
-
Dmitry Skiba authored
Adding the following symbols: - all_vm_events - folio_wait_writeback - pcpu_nr_pages - rtc_ktime_to_tm - seq_put_decimal_ll - seq_put_decimal_ull_width - __traceiter_android_rvh_madvise_pageout_begin - __traceiter_android_rvh_madvise_pageout_end - __traceiter_android_rvh_mapping_shrinkable - __traceiter_android_rvh_meminfo_proc_show - __traceiter_android_rvh_reclaim_folio_list - __traceiter_android_rvh_vmscan_kswapd_done - __traceiter_android_rvh_vmscan_kswapd_wake - __traceiter_android_vh_filemap_get_folio - __traceiter_android_vh_mm_compaction_begin - __traceiter_android_vh_mm_compaction_end - __traceiter_android_vh_rmqueue - __traceiter_cma_alloc_finish - __traceiter_cma_alloc_start - __traceiter_mm_vmscan_direct_reclaim_begin - __traceiter_mm_vmscan_direct_reclaim_end - __tracepoint_android_rvh_madvise_pageout_begin - __tracepoint_android_rvh_madvise_pageout_end - __tracepoint_android_rvh_mapping_shrinkable - __tracepoint_android_rvh_meminfo_proc_show - __tracepoint_android_rvh_reclaim_folio_list - __tracepoint_android_rvh_vmscan_kswapd_done - __tracepoint_android_rvh_vmscan_kswapd_wake - __tracepoint_android_vh_filemap_get_folio - __tracepoint_android_vh_mm_compaction_begin - __tracepoint_android_vh_mm_compaction_end - __tracepoint_android_vh_rmqueue - __tracepoint_cma_alloc_finish - __tracepoint_cma_alloc_start - __tracepoint_mm_vmscan_direct_reclaim_begin - __tracepoint_mm_vmscan_direct_reclaim_end - vmalloc_nr_pages - vm_node_stat Bug: 402362646 Change-Id: I2acb7212771b1409c0eefa3d11353e6e0ff18882 Signed-off-by:
Dmitry Skiba <dskiba@google.com>
-
Martin Liu authored
Get direct reclaim info. Bug: 190795589 Bug: 345109910 Signed-off-by:
Martin Liu <liumartin@google.com> Signed-off-by:
Richard Chang <richardycc@google.com> (cherry picked from commit d705ab99) Signed-off-by:
T.J. Mercier <tjmercier@google.com> (cherry picked from https://android-review.googlesource.com/q/commit:c5d01a3f9bc07cc91fc91e7f848d548811116e00) Change-Id: Ie66a3c87484a364a918c19b8e044c82f1afd6749
-
Richard Chang authored
For cma_alloc latency measurement. Bug: 315897033 Change-Id: I5941c0e0017728dc2139d5fad073f8b58f4efa29 Signed-off-by:
Richard Chang <richardycc@google.com> (cherry picked from commit 8bd97710) Signed-off-by:
Dmitry Skiba <dskiba@google.com>
-
Dmitry Skiba authored
These restricted hooks are needed for cases when vendor implementation needs to call sleeping functions. See the bug for details. Bug: 379922825 Change-Id: I0e5626bed930830caf7f96a5b051b3174f4cf250 Signed-off-by:
Dmitry Skiba <dskiba@google.com> (cherry picked from commit 6f0b82dd) Signed-off-by:
Jacky Liu <qsliu@google.com> (cherry picked from commit e7a48cd8) Signed-off-by:
Dmitry Skiba <dskiba@google.com>
-
Minchan Kim authored
To control inode memory reclaim, add restricted vendor hook. Bug: 347958166 Change-Id: Iefb9ef66c9fd5abae99adb1200263e4642f991cc Signed-off-by:
Minchan Kim <minchan@google.com> (cherry picked from commit c53c09b1) Signed-off-by:
Dmitry Skiba <dskiba@google.com>
-
Minchan Kim authored
Add vendor hooks to reclaim MADV_PAGEOUT memory for asynchrnous device. It also exports reclaim_pages to reclaim memory. Bug: 326662423 Change-Id: Ic2516c64a9dbd53173a3bfb19b6cd21636916c27 Signed-off-by:
Minchan Kim <minchan@google.com> (cherry picked from commit 1c0a654f) Signed-off-by:
Dmitry Skiba <dskiba@google.com>
-
Robin Hsu authored
Add vendor hook for compaction begin/end. The first use would be to measure compaction durations. Bug: 229927848 Test: echo 1 > /proc/sys/vm/compact_memory and observe output change in /sys/kernel/pixel_stat/mm/compaction/mm_compaction_duration Signed-off-by:
Robin Hsu <robinhsu@google.com> Change-Id: I3d95434bf49b37199056dc9ddfc36a59a7de17b7 Signed-off-by:
Richard Chang <richardycc@google.com> (cherry picked from commit 13b6bd38) Signed-off-by:
liangjlee <liangjlee@google.com> (cherry picked from commit 33b9d988) Signed-off-by:
Dmitry Skiba <dskiba@google.com>
-
Minchan Kim authored
To report vendor-specific memory statistics, add restricted vendor hook since normal vendor hook work with only atomic context. Bug: 333482947 Change-Id: I5c32961b30f082a8a4aa78906d2fce1cdf4b0d2b Signed-off-by:
Minchan Kim <minchan@google.com> (cherry picked from commit 7ea01ee6) Signed-off-by:
Dmitry Skiba <dskiba@google.com>
-
Chiawei Wang authored
Add a vendor hook for pagecache hit/miss and other vendor specific functions. Bug: 174088128 Bug: 172987241 Signed-off-by:
Chiawei Wang <chiaweiwang@google.com> Change-Id: Ie9f14a69a86b8ed81de766e44e30f2eba1d9bd84 Signed-off-by:
Richard Chang <richardycc@google.com> (cherry picked from commit db158b4a) Signed-off-by:
Jack Lee <liangjlee@google.com> (cherry picked from commit cbac5cbf) Signed-off-by:
Dmitry Skiba <dskiba@google.com>
-
Chiawei Wang authored
Add a vendor hook for costly order page counting and other vendor specific functions. Bug: 174521902 Bug: 172987241 Signed-off-by:
Chiawei Wang <chiaweiwang@google.com> Change-Id: I89206727a462548cc3500b695d85c83ff003eec7 Signed-off-by:
Richard Chang <richardycc@google.com> (cherry picked from commit 369de378) Signed-off-by:
liangjlee <liangjlee@google.com> (cherry picked from commit 86a45bb2) Signed-off-by:
Dmitry Skiba <dskiba@google.com>
-
Qixia Yang authored
Add symbol list for oplus in gki/aarch64/symbols/oplus. 1 function symbol(s) added 'int __traceiter_android_vh_exit_check(void*, struct task_struct*)' 1 variable symbol(s) added 'struct tracepoint __tracepoint_android_vh_exit_check' Bug: 296493318 Change-Id: I26613e658911381f97ba54aef501c10cb9852fa2 Signed-off-by:
Qixia Yang <yangqixia2@oppo.com>
-
Qixia Yang authored
Add hooks at process exiting routines so that oems can control these procedures. One possible benifit is the peak of system load can be shaved and load can be more smooth when a large number of threads is killed once upon a time, while a sudden peak of system load can probably lead to user junk issues. Bug: 296493318 Change-Id: Ied4cc968e45baa39f1b79e8c7dce75cf6b8db55d Signed-off-by:
Qixia Yang <yangqixia2@oppo.com>
-
Qixia Yang authored
Add symbol list for oplus in gki/aarch64/symbols/oplus 1 function symbol(s) added 'int __traceiter_sched_stat_iowait(void*, struct task_struct*, u64)' 1 variable symbol(s) added 'struct tracepoint __tracepoint_sched_stat_iowait' Bug: 322715220 Change-Id: I18171badb1684220e19ee7259faac63e6dee16ca Signed-off-by:
Qixia Yang <yangqixia2@oppo.com>
-
dongliang.cui authored
Sometimes we need to monitor the iowait time of processes in real-time, and monitoring through this tracepoint is a more direct way. Bug: 322715220 Change-Id: I63ac98ba34c6e672da48e73e1c19711b68b28077 Signed-off-by:
dongliang.cui <dongliang.cui@unisoc.com> Signed-off-by:
Qixia Yang <yangqixia2@oppo.com>
-
Qixia Yang authored
Add symbol list for oplus in gki/aarch64/symbols/oplus. 4 function symbol(s) added 'int __traceiter_android_rvh_place_entity(void*, struct cfs_rq*, struct sched_entity*, int, u64*)' 'int __traceiter_android_rvh_try_to_wake_up_success(void*, struct task_struct*)' 'int __traceiter_android_vh_alter_futex_plist_add(void*, struct plist_node*, struct plist_head*, bool*)' 'int __traceiter_android_vh_cpufreq_fast_switch(void*, struct cpufreq_policy*, unsigned int*, unsigned int)' 4 variable symbol(s) added 'struct tracepoint __tracepoint_android_rvh_place_entity' 'struct tracepoint __tracepoint_android_rvh_try_to_wake_up_success' 'struct tracepoint __tracepoint_android_vh_alter_futex_plist_add' 'struct tracepoint __tracepoint_android_vh_cpufreq_fast_switch' Bug: 401436689 Change-Id: I27b5ff416de0d0bcc07774fc181c63188750f15e Signed-off-by:
Qixia Yang <yangqixia2@oppo.com>
-
- Mar 21, 2025
-
-
Robin Hsu authored
export function for procfs node formating Bug: 299190787 Signed-off-by:
Robin Hsu <robinhsu@google.com> (cherry picked from https://android-review.googlesource.com/q/commit:6152faa02ea853d97458a02347142ac6001a60f5) Change-Id: I71e6a0815efa8df99d036bf457b8a0081999f3de
-
Prakruthi Deepak Heragu authored
Enable support for Qualcomm Trusted VMs (QTVMs) Bug: 399219478 Change-Id: I967d5bc41edb3f5479c3b6ade808b3b36cbfcf0e Signed-off-by:
Prakruthi Deepak Heragu <quic_pheragu@quicinc.com>
-
Prakruthi Deepak Heragu authored
QTVMs' Gunyah resources are handled partially by the VMM. The remaining resources are handled by the kernel clients. By providing this notifier, we allow the client drivers to add their operations for setting up the resources they own. Bug: 399219478 Change-Id: I2a5377358aa669dcebd6307ba5bc78ac117886f0 Signed-off-by:
Prakruthi Deepak Heragu <quic_pheragu@quicinc.com>
-
Prakruthi Deepak Heragu authored
Qualcomm Trusted Virtual Machine (QTVM) are VMs that are authenticated by Qualcomm firmware before the VM starts. The firmware also defines the VM's image layout. Additionally, each QTVM comes with a reserved VM ID. Introduce an IOCTL to allow VMMs to configure a QTVM and this driver will handle the setup for QTVMs. Bug: 399219478 Change-Id: Ia3fe74a46c0e53134b9b4b10fa59bcaa8f376c87 Signed-off-by:
Prakruthi Deepak Heragu <quic_pheragu@quicinc.com>
-
Prakruthi Deepak Heragu authored
As QTVMs use Gunyah emulated watchdog instead of vcpu_stall detector, provide trace_hooks to manage the watchdog of the QTVM. Bug: 399219478 Change-Id: I6ec8a0236835dcc20c66681a747eae09c0c1a32d Signed-off-by:
Prakruthi Deepak Heragu <quic_pheragu@quicinc.com>
-
Prakruthi Deepak Heragu authored
RM supports authentication of VMs with the assistance of the firmware. Add an API for auth_mgr to use if the VM it manages uses the firmare for authentication. Bug: 399219478 Change-Id: Ib550c642146586434d8328bb53de08690e2527ad Signed-off-by:
Prakruthi Deepak Heragu <quic_pheragu@quicinc.com>
-
Prakruthi Deepak Heragu authored
Add an IOCTL to choose the authentication mechanism for a Virtual Machine. vm_mgr can setup differently authenticated VMs based on the ops setup by the auth_mgr chosen by the VMM. Bug: 399219478 Change-Id: Ibb6bb30e3f422e606500c04714cda27b2276baf6 Signed-off-by:
Prakruthi Deepak Heragu <quic_pheragu@quicinc.com>
-
Prakruthi Deepak Heragu authored
Introduce CREATE_VM and DESTROY_VM notifications for the VMM. Bug: 399219478 Change-Id: I584ea0c6d088cc93b1b42f19dc36ed177bcdb05a Signed-off-by:
Prakruthi Deepak Heragu <quic_pheragu@quicinc.com>
-
Prakruthi Deepak Heragu authored
Gunyah supports Virtual Machines (VMs) with various authentication mechanisms. Since different authentication mechanisms require distinct operations to be performed to set up a VM, it is necessary to add ops that can support these mechanisms. Bug: 399219478 Change-Id: Ia0a6d9b71edfc59a059ddd94919a9f5b7f137855 Signed-off-by:
Prakruthi Deepak Heragu <quic_pheragu@quicinc.com>
-
Prakruthi Deepak Heragu authored
Allow VMMs to add a binding backed by CMA. Extend the generic Gunyah mem APIs to handle bindings backed by CMA. Bug: 399219478 Change-Id: I1f71641420c8c30f4dfad021d92f70ef6ffdfb29 Signed-off-by:
Prakruthi Deepak Heragu <quic_pheragu@quicinc.com>
-
Prakruthi Deepak Heragu authored
Make the bindings generic so that the APIs can now handle the binding's memory backed either by CMA memory or GUP. Bug: 399219478 Change-Id: I889fe1fbe5664c7c40938db78f350d62bfe33431 Signed-off-by:
Prakruthi Deepak Heragu <quic_pheragu@quicinc.com>
-