Merge branch 'staging/kernel-msm/MMI-U1UGS34.23-110-23-2' into lineage-22.2

Based on tag 'MMI-U1UGS34.23-110-23-2' of https://github.com/MotorolaMobilityLLC/kernel-msm

"Fogos push for Android 14"

* staging/kernel-msm/MMI-U1UGS34.23-110-23-2: (698 commits)
  mmc: sdhci-msm: Move MMC_CAP2_MAX_DISCARD_SIZE to prevent merge conflict
  Reapply "UPSTREAM: binder: fix the missing BR_FROZEN_REPLY in binder_return_strings"
  Revert "qseecom: Suppress suspend warning if without bus scaling."
  Revert "Penang: fix for device suspend tests fail. [1/2]"
  Revert "Penang: resolve kasan panic"
  Revert "Penang: kasan panic"
  Revert "penang: device suspend tests fail"
  Revert "net: qrtr: get svc_id before queueing sk_buff"
  Revert "af_unix: Do not use atomic ops for unix_sk(sk)->inflight."
  Revert "af_unix: Fix garbage collector racing against connect()"
  Revert "BACKPORT: net: fix __dst_negative_advice() race"
  Revert "ANDROID: ABI fixup for abi break in struct dst_ops"
  Revert "BACKPORT:sched: Provide sched_set_fifo()"
  Revert "msm: npu: Fix use after free issue"
  Revert "fs:EROFS:Porting 5.10 erofs to 5.4"
  Revert "BACKPORT:erofs: add per-cpu threads for decompression as an option"
  Revert "UPSTREAM: erofs: fix an error code in z_erofs_init_zip_subsystem()"
  msm: adsprpc: Avoid taking reference for group_info
  adsprpc: Handle UAF scenario in put_args
  msm: adsprpc: use-after-free (UAF) in global maps
  ...

Change-Id: Ia48438f247670d77560472205994632fa62062dd
This commit is contained in:
Michael Bestas 2025-03-21 18:12:10 +02:00
commit 869b1e64a6
No known key found for this signature in database
229 changed files with 20042 additions and 329 deletions

103
Androidbp
View file

@ -28,6 +28,109 @@ kernel_headers_verbose = ""
build = ["gen_headers_arm.bp", "gen_headers_arm64.bp"]
soong_config_module_type {
name: "mmi_camera_legacy_genrule_defaults",
module_type: "genrule_defaults",
config_namespace: "mmi_camera_legacy",
variables: ["board_config_camera_legacy_kernel"],
properties: ["cmd"],
}
soong_config_string_variable {
name: "board_config_camera_legacy_kernel",
values: ["enabled", "disabled"],
}
mmi_camera_legacy_genrule_defaults {
name: "mmi_kernel_headers_cmdrules_arm",
soong_config_variables: {
board_config_camera_legacy_kernel: {
disabled: {
cmd: "python3 $(location kernel_headers.py) " +
kernel_headers_verbose +
"--header_arch arm " +
"--gen_dir $(genDir) " +
"--arch_asm_kbuild $(location arch/arm/include/uapi/asm/Kbuild) " +
"--arch_include_uapi $(locations arch/arm/include/uapi/**/*.h) " +
"--techpack_include_uapi $(locations techpack/*/include/uapi/*/**/*.h) " +
"--asm_generic_kbuild $(location include/uapi/asm-generic/Kbuild) " +
"headers " +
"--old_gen_headers_bp $(location gen_headers_arm.bp) " +
"--new_gen_headers_bp $(location :qti_generate_gen_headers_arm) " +
"--version_makefile $(location Makefile) " +
"--arch_syscall_tool $(location arch/arm/tools/syscallhdr.sh) " +
"--arch_syscall_tbl $(location arch/arm/tools/syscall.tbl) " +
"--headers_install $(location headers_install.sh) " +
"--unifdef $(location unifdef) " +
"--include_uapi $(locations include/uapi/**/*.h)",
},
enabled: {
cmd: "python3 $(location kernel_headers.py) " +
kernel_headers_verbose +
"--header_arch arm " +
"--gen_dir $(genDir) " +
"--arch_asm_kbuild $(location arch/arm/include/uapi/asm/Kbuild) " +
"--arch_include_uapi $(locations arch/arm/include/uapi/**/*.h) " +
"--techpack_include_uapi $(locations techpack/*/include/uapi/*/**/*.h) " +
"--asm_generic_kbuild $(location include/uapi/asm-generic/Kbuild) " +
"headers " +
"--old_gen_headers_bp $(location gen_headers_arm.bp) " +
"--new_gen_headers_bp $(location :qti_generate_gen_headers_arm) " +
"--version_makefile $(location Makefile) " +
"--arch_syscall_tool $(location arch/arm/tools/syscallhdr.sh) " +
"--arch_syscall_tbl $(location arch/arm/tools/syscall.tbl) " +
"--headers_install $(location headers_install.sh) " +
"--unifdef $(location unifdef) " +
"--include_uapi $(locations include/uapi/**/*.h) " +
"--camera_legacy ",
},
},
},
}
mmi_camera_legacy_genrule_defaults {
name: "mmi_kernel_headers_cmdrules_arm64",
soong_config_variables: {
board_config_camera_legacy_kernel: {
disabled: {
cmd: "python3 $(location kernel_headers.py) " +
kernel_headers_verbose +
"--header_arch arm64 " +
"--gen_dir $(genDir) " +
"--arch_asm_kbuild $(location arch/arm64/include/uapi/asm/Kbuild) " +
"--arch_include_uapi $(locations arch/arm64/include/uapi/**/*.h) " +
"--techpack_include_uapi $(locations techpack/*/include/uapi/*/**/*.h) " +
"--asm_generic_kbuild $(location include/uapi/asm-generic/Kbuild) " +
"headers " +
"--old_gen_headers_bp $(location gen_headers_arm64.bp) " +
"--new_gen_headers_bp $(location :qti_generate_gen_headers_arm64) " +
"--version_makefile $(location Makefile) " +
"--headers_install $(location headers_install.sh) " +
"--unifdef $(location unifdef) " +
"--include_uapi $(locations include/uapi/**/*.h)",
},
enabled: {
cmd: "python3 $(location kernel_headers.py) " +
kernel_headers_verbose +
"--header_arch arm64 " +
"--gen_dir $(genDir) " +
"--arch_asm_kbuild $(location arch/arm64/include/uapi/asm/Kbuild) " +
"--arch_include_uapi $(locations arch/arm64/include/uapi/**/*.h) " +
"--techpack_include_uapi $(locations techpack/*/include/uapi/*/**/*.h) " +
"--asm_generic_kbuild $(location include/uapi/asm-generic/Kbuild) " +
"headers " +
"--old_gen_headers_bp $(location gen_headers_arm64.bp) " +
"--new_gen_headers_bp $(location :qti_generate_gen_headers_arm64) " +
"--version_makefile $(location Makefile) " +
"--headers_install $(location headers_install.sh) " +
"--unifdef $(location unifdef) " +
"--include_uapi $(locations include/uapi/**/*.h) " +
"--camera_legacy ",
},
},
},
}
cc_library_headers {
name: "qti_kernel_headers",
arch: {

View file

@ -1336,7 +1336,13 @@ PHONY += archheaders archscripts
hdr-inst := -f $(srctree)/scripts/Makefile.headersinst obj
ifeq ($(BOARD_CONFIG_CAMERA_KERNEL_NAME),)
techpack-dirs := $(shell find $(srctree)/techpack -maxdepth 1 -mindepth 1 -type d -not -name ".*")
else
techpack-dirs := $(shell find $(srctree)/techpack -maxdepth 1 -mindepth 1 -type d -not -name ".*"\
| grep -v camera)
techpack-dirs += $(shell find $(srctree)/techpack -maxdepth 2 -mindepth 2 -name "$(BOARD_CONFIG_CAMERA_KERNEL_NAME)")
endif
techpack-dirs := $(subst $(srctree)/,,$(techpack-dirs))
PHONY += headers

View file

@ -103,9 +103,11 @@
blk_status_to_errno
blk_update_request
blk_verify_command
__blockdev_direct_IO
blocking_notifier_call_chain
blocking_notifier_chain_register
blocking_notifier_chain_unregister
block_write_full_page
bpf_prog_add
bpf_prog_put
bpf_prog_sub
@ -124,6 +126,8 @@
bpf_warn_invalid_xdp_action
bprm_change_interp
__break_lease
__bread_gfp
__brelse
build_skb
bus_find_device
bus_for_each_dev
@ -182,6 +186,9 @@
__class_create
class_destroy
class_find_device
class_for_each_device
class_create_file_ns
class_remove_file_ns
class_interface_unregister
__class_register
class_unregister
@ -252,6 +259,7 @@
__const_udelay
consume_skb
contig_page_data
cont_write_begin
_copy_from_iter_full
copy_page
copy_strings_kernel
@ -382,7 +390,9 @@
device_property_read_u32_array
device_property_read_u8_array
device_register
device_remove_bin_file
device_remove_file
device_set_of_node_from_dev
device_set_wakeup_capable
device_show_int
device_store_int
@ -418,6 +428,7 @@
devm_gpio_request_one
devm_iio_channel_get
devm_iio_device_alloc
devm_gpio_free
__devm_iio_device_register
devm_input_allocate_device
devm_ioremap
@ -451,6 +462,7 @@
devm_platform_ioremap_resource
devm_power_supply_get_by_phandle
devm_power_supply_register
devm_pwm_get
devm_pwm_put
devm_regmap_add_irq_chip
devm_regmap_del_irq_chip
@ -514,6 +526,7 @@
dev_uc_sync_multiple
dev_uc_unsync
_dev_warn
d_find_alias
dget_parent
d_instantiate
disable_irq
@ -594,11 +607,13 @@
dma_resv_wait_timeout_rcu
dma_set_coherent_mask
dma_set_mask
d_move
do_exit
do_wait_intr
down
down_read
down_write
d_path
dput
drain_workqueue
driver_find_device
@ -891,6 +906,7 @@
dump_stack
enable_irq
enable_percpu_irq
end_buffer_write_sync
eth_commit_mac_addr_change
ether_setup
eth_mac_addr
@ -916,7 +932,11 @@
fasync_helper
fd_install
fget
filemap_fdatawait_range
filemap_fdatawrite_range
file_path
filp_close
filp_open
find_last_bit
find_next_bit
find_next_zero_bit
@ -961,17 +981,25 @@
fwnode_property_read_u32_array
fwnode_usb_role_switch_get
gcd
generic_block_bmap
generic_cont_expand_simple
generic_delete_inode
generic_device_group
generic_fh_to_dentry
generic_fh_to_parent
generic_file_llseek
generic_file_mmap
generic_file_read_iter
generic_file_splice_read
generic_fillattr
generic_handle_irq
generic_mii_ioctl
generic_permission
generic_read_dir
generic_shutdown_super
generic_write_end
generic_file_fsync
generic_file_write_iter
genlmsg_put
genl_register_family
genl_unregister_family
@ -1009,7 +1037,10 @@
get_random_bytes
get_random_u32
__get_task_comm
get_task_exe_file
get_task_mm
get_task_pid
__getblk_gfp
get_tree_single
get_unmapped_area
get_unused_fd_flags
@ -1105,10 +1136,12 @@
i2c_smbus_read_byte_data
i2c_smbus_read_byte_data
i2c_smbus_read_i2c_block_data
i2c_smbus_read_word_data
i2c_smbus_write_byte
i2c_smbus_write_byte_data
i2c_smbus_write_byte_data
i2c_smbus_write_i2c_block_data
i2c_smbus_write_word_data
__i2c_smbus_xfer
i2c_smbus_xfer
__i2c_transfer
@ -1149,12 +1182,16 @@
iio_channel_release
iio_read_channel_processed
iio_write_channel_raw
ilookup
import_iovec
in_egroup_p
inc_nlink
init_dummy_netdev
init_net
in_group_p
__init_rwsem
init_srcu_struct
init_task
init_timer_key
init_uts_ns
init_wait_entry
@ -1171,6 +1208,7 @@
input_mt_init_slots
input_mt_report_pointer_emulation
input_mt_report_slot_state
input_mt_sync_frame
input_open_device
input_register_device
input_register_handle
@ -1180,12 +1218,15 @@
input_unregister_device
input_unregister_handle
input_unregister_handler
__insert_inode_hash
interval_tree_insert
interval_tree_iter_first
interval_tree_iter_next
interval_tree_remove
int_to_scsilun
invalidate_mapping_pages
invalidate_bdev
invalidate_inode_buffers
iomem_resource
iommu_alloc_resv_region
iommu_attach_device
@ -1282,6 +1323,7 @@
irq_work_queue
iterate_dir
iterate_fd
iunique
jiffies
jiffies_to_msecs
jiffies_to_usecs
@ -1290,6 +1332,7 @@
kernel_connect
kernel_getsockname
kernel_kobj
kernel_power_off
kernel_read
kernel_recvmsg
kernel_restart
@ -1312,6 +1355,7 @@
kfree_skb
kfree_skb_list
kill_anon_super
kill_block_super
kill_fasync
kill_litter_super
kimage_vaddr
@ -1328,6 +1372,7 @@
kmemdup_nul
kobject_create_and_add
kobject_del
kobject_get_path
kobject_init_and_add
kobject_put
kobject_uevent
@ -1375,6 +1420,7 @@
ktime_add_safe
ktime_get
ktime_get_mono_fast_ns
ktime_get_raw_ts64
ktime_get_real_seconds
ktime_get_real_ts64
ktime_get_ts64
@ -1399,16 +1445,22 @@
list_sort
llist_add_batch
llist_reverse_order
load_nls
__local_bh_enable_ip
lockref_get
__lock_buffer
lock_rename
lock_sock_nested
lookup_one_len
LZ4_decompress_safe
mac_pton
mark_buffer_dirty
__mark_inode_dirty
mark_page_accessed
match_int
match_octal
match_string
match_strdup
match_token
mbox_chan_received_data
mbox_chan_txdone
@ -1453,9 +1505,12 @@
mempool_free_slab
memremap
memset
memset32
__memset_io
memunmap
memweight
mfd_add_devices
mfd_remove_devices
mii_check_media
mii_ethtool_get_link_ksettings
mii_ethtool_gset
@ -1472,12 +1527,17 @@
mmc_cqe_request_done
mmc_of_parse
mmc_send_tuning
mmput
mod_delayed_work_on
mod_node_page_state
mod_timer
__module_get
module_layout
module_put
mount_bdev
mpage_readpage
mpage_readpages
mpage_writepages
__msecs_to_jiffies
msleep
msleep_interruptible
@ -1665,6 +1725,7 @@
of_usb_host_tpl_support
oops_in_progress
override_creds
orderly_poweroff
pagecache_get_page
panic
panic_notifier_list
@ -1673,6 +1734,7 @@
param_get_int
param_get_string
param_get_ullong
param_get_uint
param_ops_bool
param_ops_byte
param_ops_charp
@ -1685,6 +1747,7 @@
param_set_bool
param_set_copystring
param_set_int
param_set_uint
passthru_features_check
path_get
path_put
@ -1797,6 +1860,7 @@
platform_get_irq
platform_get_irq_byname
platform_get_irq_byname_optional
platform_get_irq_optional
platform_get_resource
platform_get_resource_byname
platform_irq_count
@ -1849,8 +1913,10 @@
power_supply_get_property
power_supply_put
power_supply_reg_notifier
power_supply_register
power_supply_set_property
power_supply_unreg_notifier
power_supply_unregister
prandom_u32
preempt_schedule
preempt_schedule_notrace
@ -1938,6 +2004,7 @@
__rcu_read_lock
__rcu_read_unlock
rdev_get_drvdata
rdev_get_id
reboot_mode
refcount_dec_and_lock
refcount_dec_and_test_checked
@ -1979,9 +2046,11 @@
regmap_field_read
regmap_field_update_bits_base
__regmap_init
__regmap_init_i2c
regmap_irq_get_virq
regmap_mmio_detach_clk
regmap_raw_read
regmap_raw_write
regmap_read
regmap_register_patch
regmap_update_bits_base
@ -1990,17 +2059,22 @@
regulator_count_voltages
regulator_disable
regulator_disable_deferred
regulator_disable_regmap
regulator_enable
regulator_enable_regmap
regulator_get
regulator_get_current_limit
regulator_get_drvdata
regulator_get_mode
regulator_get_voltage
regulator_get_voltage_sel_regmap
regulator_is_enabled
regulator_is_enabled_regmap
regulator_is_supported_voltage
regulator_list_voltage
regulator_list_voltage_linear
regulator_lock
regulator_map_voltage_linear
regulator_notifier_call_chain
regulator_put
regulator_register
@ -2009,17 +2083,21 @@
regulator_set_load
regulator_set_mode
regulator_set_voltage
regulator_set_voltage_sel_regmap
regulator_unlock
regulator_unregister
regulator_unregister_notifier
regulatory_set_wiphy_regd
release_firmware
release_pages
__release_region
release_sock
remap_pfn_range
remap_vmalloc_range
remove_arg_zero
__remove_inode_hash
remove_proc_entry
remove_proc_subtree
remove_wait_queue
report_iommu_fault
request_firmware
@ -2073,8 +2151,8 @@
rtc_update_irq
rtc_valid_tm
rt_mutex_lock
rt_mutex_trylock
rt_mutex_unlock
rt_mutex_trylock
rtnl_is_locked
rtnl_link_register
rtnl_link_unregister
@ -2086,6 +2164,8 @@
rtnl_unregister_all
save_stack_trace
save_stack_trace_tsk
sb_min_blocksize
sb_set_blocksize
sched_clock
sched_setattr
sched_setscheduler
@ -2166,6 +2246,7 @@
serial8250_suspend_port
serial8250_unregister_port
set_anon_super
setattr_copy
set_cpus_allowed_ptr
set_disk_ro
set_freezable
@ -2284,6 +2365,7 @@
snd_pcm_stop
_snd_pcm_stream_lock_irqsave
snd_pcm_stream_unlock_irqrestore
snd_soc_add_card_controls
snd_soc_add_component_controls
snd_soc_bytes_tlv_callback
snd_soc_card_get_kcontrol
@ -2399,6 +2481,7 @@
__stack_chk_guard
stack_trace_print
strcasecmp
strcat
strchr
strchrnul
strcmp
@ -2412,6 +2495,7 @@
strlcpy
strlen
strncasecmp
strncat
strnchr
strncmp
strncpy
@ -2425,13 +2509,17 @@
strscpy_pad
strsep
strstr
submit_bh
__sw_hweight32
__sw_hweight64
__sw_hweight8
swiotlb_max_segment
sync_blockdev
sync_dirty_buffer
sync_file_create
sync_file_get_fence
sync_filesystem
sync_mapping_buffers
synchronize_hardirq
synchronize_irq
synchronize_net
@ -2473,6 +2561,7 @@
thermal_cooling_device_unregister
thermal_of_cooling_device_register
thermal_zone_device_register
thermal_zone_device_unregister
thermal_zone_device_update
thermal_zone_get_temp
thermal_zone_get_zone_by_name
@ -2482,6 +2571,7 @@
timer_unstable_counter_workaround
timespec64_to_jiffies
_totalram_pages
touch_buffer
trace_array_create
trace_array_destroy
__trace_bprintk
@ -2503,6 +2593,7 @@
trace_seq_printf
tracing_off
truncate_inode_pages
truncate_pagecache
try_module_get
try_wait_for_completion
tty_flip_buffer_push
@ -2515,6 +2606,7 @@
typec_altmode_vdm
typec_get_drvdata
typec_partner_register_altmode
typec_partner_set_identity
typec_port_register_altmode
typec_register_partner
typec_register_port
@ -2568,6 +2660,8 @@
__uio_register_device
uhid_hid_driver
uio_unregister_device
unload_nls
unlock_buffer
unlock_new_inode
unlock_page
unlock_rename
@ -2752,6 +2846,8 @@
__usecs_to_jiffies
user_path_at_empty
usleep_range
utf16s_to_utf8s
utf8s_to_utf16s
v4l2_ctrl_find
v4l2_ctrl_g_ctrl
v4l2_ctrl_get_name
@ -2904,9 +3000,13 @@
wait_for_completion_killable
wait_for_completion_timeout
wait_woken
__wait_on_buffer
__wake_up
__wake_up_locked
wake_up_process
wakeup_source_add
wakeup_source_create
wakeup_source_remove
wakeup_source_register
wakeup_source_unregister
__warn_printk
@ -2918,6 +3018,7 @@
woken_wake_function
work_busy
would_dump
write_inode_now
ww_mutex_lock
ww_mutex_lock_interruptible
ww_mutex_unlock

View file

@ -1918,3 +1918,103 @@ source "arch/arm64/kvm/Kconfig"
if CRYPTO
source "arch/arm64/crypto/Kconfig"
endif
config AF_NOISE_ELIMINATION
bool "For elimnating AF resonance noise"
default n
help
Enable it only for produts that suffering AF resonance noise.
config AW882XX_PARAMS_FROM_BIN
bool "params is stored in bin file"
default n
help
Enable it only for params of smartPA is stored in bin file.
config AW882XX_STEREO_SMARTPA
bool "aw dual smart pa"
default n
help
Enable it only for dual smart pa.
config AW882XX_MAPSIZE_16K
bool "aw afe mapsize 16k"
default n
help
Enable it only for use 16k mapsize.
config AW882XX_STEREO_SMARTPA_PRI
bool "aw dual smart pa pri i2s"
default n
help
Enable it only for dual smart pa.
config SND_SOC_AW87XXX
tristate "SoC Audio for awinic AW87XXX Smart K PA"
depends on I2C
help
This option enables support for AW87XXX Smart K PA.
config SND_SOC_FS1815
tristate "SoC Audio for fs1815 Smart K PA"
depends on I2C
help
This option enables support for fs1815 K PA.
config SND_SOC_AW8838
bool "aw8838 for hac"
default n
help
Enable it only for hac on.
config CAMERA_FLASH_PWM
bool "control flash"
default n
help
Enable it only for produts that control flash.
config CAMERA_DISABLE_VSYNC_IRQ
bool "For cam disable vsync irq"
default n
help
Enable it to disable cam vsync irq.
config CAM_SENSOR_PROBE_RETRY
bool "For sensor probe fail"
default n
help
Add retries for sensor id matching
config CAMERA_CCI_ADDR_SWITCH
bool "For cam switch i2c address"
default n
help
Enable it to switch i2c address.
config CAMERA_FLASH_IIC_COMPATIBLE
bool "auto select iic flash suppliers"
default n
help
Enable it, this is automatically selected flash supplers.
config MOT_DONGWOON_OIS_AF_DRIFT
bool "dongwoon ois af drift"
default n
help
Enable it will support dongwoon ois af drift.
config MOT_SENSOR_PRE_POWERUP
bool "For sensor power up and initialization early"
default n
help
Enable it to power up and initialise early.
config MOT_SECURE_CAMERA
bool "For switch secure mode successfully"
default n
help
Enable it to fix switch secure mode error.
config MOT_USB_DEBUG_LOG
bool "For usb debug log in factiry SW"
default n

View file

@ -0,0 +1,28 @@
#
# Please avoid changing the Qualcomm defconfig files and use this file to
# add any Motorola-specific configuration changes that are applicable to
# userdebug, eng, and user builds.
#
# After building, a list of all of the config files that are used can be found
# at the top of:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/mapphone_defconfig
#
# The actual output of the kernel configuration system can be found at:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/.config
#
# You can check the .config file to verify that your configuration option is
# being set as expected.
#
# CONFIG_CGROUP_DEBUG is not set
# CONFIG_CLEANCACHE is not set
# CONFIG_CMA_ALLOW_WRITE_DEBUGFS is not set
# CONFIG_CMA_DEBUG is not set
# CONFIG_PREEMPTIRQ_EVENTS is not set
# CONFIG_PREEMPT_TRACER is not set
# CONFIG_PROVE_LOCKING is not set
# CONFIG_RCU_TORTURE_TEST is not set
# CONFIG_TEST_USER_COPY is not set
# CONFIG_UFSTW is not set
# CONFIG_SLUB_DEBUG_ON is not set

View file

@ -0,0 +1,25 @@
#
# Please avoid changing the Qualcomm defconfig files and use this file to
# add any Motorola-specific configuration changes that are applicable to
# userdebug, eng, and user builds.
#
# After building, a list of all of the config files that are used can be found
# at the top of:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/mapphone_defconfig
#
# The actual output of the kernel configuration system can be found at:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/.config
#
# You can check the .config file to verify that your configuration option is
# being set as expected.
#
# CONFIG_CGROUP_DEBUG is not set
# CONFIG_CLEANCACHE is not set
# CONFIG_CMA_ALLOW_WRITE_DEBUGFS is not set
# CONFIG_CMA_DEBUG is not set
# CONFIG_PREEMPTIRQ_EVENTS is not set
# CONFIG_PREEMPT_TRACER is not set
# CONFIG_PROVE_LOCKING is not set
# CONFIG_RCU_TORTURE_TEST is not set
# CONFIG_TEST_USER_COPY is not set

View file

@ -0,0 +1,25 @@
#
# Please avoid changing the Qualcomm defconfig files and use this file to
# add any Motorola-specific configuration changes that are applicable to
# userdebug, eng, and user builds.
#
# After building, a list of all of the config files that are used can be found
# at the top of:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/mapphone_defconfig
#
# The actual output of the kernel configuration system can be found at:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/.config
#
# You can check the .config file to verify that your configuration option is
# being set as expected.
#
# CONFIG_CGROUP_DEBUG is not set
# CONFIG_CLEANCACHE is not set
# CONFIG_CMA_ALLOW_WRITE_DEBUGFS is not set
# CONFIG_CMA_DEBUG is not set
# CONFIG_PREEMPTIRQ_EVENTS is not set
# CONFIG_PREEMPT_TRACER is not set
# CONFIG_PROVE_LOCKING is not set
# CONFIG_RCU_TORTURE_TEST is not set
# CONFIG_TEST_USER_COPY is not set

View file

@ -0,0 +1,25 @@
#
# Please avoid changing the Qualcomm defconfig files and use this file to
# add any Motorola-specific configuration changes that are applicable to
# userdebug, eng, and user builds.
#
# After building, a list of all of the config files that are used can be found
# at the top of:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/mapphone_defconfig
#
# The actual output of the kernel configuration system can be found at:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/.config
#
# You can check the .config file to verify that your configuration option is
# being set as expected.
#
# CONFIG_CGROUP_DEBUG is not set
# CONFIG_CLEANCACHE is not set
# CONFIG_CMA_ALLOW_WRITE_DEBUGFS is not set
# CONFIG_CMA_DEBUG is not set
# CONFIG_PREEMPTIRQ_EVENTS is not set
# CONFIG_PREEMPT_TRACER is not set
# CONFIG_PROVE_LOCKING is not set
# CONFIG_RCU_TORTURE_TEST is not set
# CONFIG_TEST_USER_COPY is not set

View file

@ -0,0 +1,25 @@
#
# Please avoid changing the Qualcomm defconfig files and use this file to
# add any Motorola-specific configuration changes that are applicable to
# userdebug, eng, and user builds.
#
# After building, a list of all of the config files that are used can be found
# at the top of:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/mapphone_defconfig
#
# The actual output of the kernel configuration system can be found at:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/.config
#
# You can check the .config file to verify that your configuration option is
# being set as expected.
#
# CONFIG_CGROUP_DEBUG is not set
# CONFIG_CLEANCACHE is not set
# CONFIG_CMA_ALLOW_WRITE_DEBUGFS is not set
# CONFIG_CMA_DEBUG is not set
# CONFIG_PREEMPTIRQ_EVENTS is not set
# CONFIG_PREEMPT_TRACER is not set
# CONFIG_PROVE_LOCKING is not set
# CONFIG_RCU_TORTURE_TEST is not set
# CONFIG_TEST_USER_COPY is not set

View file

@ -0,0 +1,25 @@
#
# Please avoid changing the Qualcomm defconfig files and use this file to
# add any Motorola-specific configuration changes that are applicable to
# userdebug, eng, and user builds.
#
# After building, a list of all of the config files that are used can be found
# at the top of:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/mapphone_defconfig
#
# The actual output of the kernel configuration system can be found at:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/.config
#
# You can check the .config file to verify that your configuration option is
# being set as expected.
#
# CONFIG_CGROUP_DEBUG is not set
# CONFIG_CLEANCACHE is not set
# CONFIG_CMA_ALLOW_WRITE_DEBUGFS is not set
# CONFIG_CMA_DEBUG is not set
# CONFIG_PREEMPTIRQ_EVENTS is not set
# CONFIG_PREEMPT_TRACER is not set
# CONFIG_PROVE_LOCKING is not set
# CONFIG_RCU_TORTURE_TEST is not set
# CONFIG_TEST_USER_COPY is not set

View file

@ -0,0 +1,25 @@
#
# Please avoid changing the Qualcomm defconfig files and use this file to
# add any Motorola-specific configuration changes that are applicable to
# userdebug, eng, and user builds.
#
# After building, a list of all of the config files that are used can be found
# at the top of:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/mapphone_defconfig
#
# The actual output of the kernel configuration system can be found at:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/.config
#
# You can check the .config file to verify that your configuration option is
# being set as expected.
#
# CONFIG_CGROUP_DEBUG is not set
# CONFIG_CLEANCACHE is not set
# CONFIG_CMA_ALLOW_WRITE_DEBUGFS is not set
# CONFIG_CMA_DEBUG is not set
# CONFIG_PREEMPTIRQ_EVENTS is not set
# CONFIG_PREEMPT_TRACER is not set
# CONFIG_PROVE_LOCKING is not set
# CONFIG_RCU_TORTURE_TEST is not set
# CONFIG_TEST_USER_COPY is not set

View file

@ -0,0 +1,25 @@
#
# Please avoid changing the Qualcomm defconfig files and use this file to
# add any Motorola-specific configuration changes that are applicable to
# userdebug, eng, and user builds.
#
# After building, a list of all of the config files that are used can be found
# at the top of:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/mapphone_defconfig
#
# The actual output of the kernel configuration system can be found at:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/.config
#
# You can check the .config file to verify that your configuration option is
# being set as expected.
#
# CONFIG_CGROUP_DEBUG is not set
# CONFIG_CLEANCACHE is not set
# CONFIG_CMA_ALLOW_WRITE_DEBUGFS is not set
# CONFIG_CMA_DEBUG is not set
# CONFIG_PREEMPTIRQ_EVENTS is not set
# CONFIG_PREEMPT_TRACER is not set
# CONFIG_PROVE_LOCKING is not set
# CONFIG_RCU_TORTURE_TEST is not set
# CONFIG_TEST_USER_COPY is not set

View file

@ -0,0 +1,28 @@
#
# Please avoid changing the Qualcomm defconfig files and use this file to
# add any Motorola-specific configuration changes that are applicable to
# userdebug, eng, and user builds.
#
# After building, a list of all of the config files that are used can be found
# at the top of:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/mapphone_defconfig
#
# The actual output of the kernel configuration system can be found at:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/.config
#
# You can check the .config file to verify that your configuration option is
# being set as expected.
#
# CONFIG_CGROUP_DEBUG is not set
# CONFIG_CLEANCACHE is not set
# CONFIG_CMA_ALLOW_WRITE_DEBUGFS is not set
# CONFIG_CMA_DEBUG is not set
# CONFIG_PREEMPTIRQ_EVENTS is not set
# CONFIG_PREEMPT_TRACER is not set
# CONFIG_PROVE_LOCKING is not set
# CONFIG_RCU_TORTURE_TEST is not set
# CONFIG_TEST_USER_COPY is not set
# CONFIG_UFSTW is not set
# CONFIG_SLUB_DEBUG_ON is not set

View file

@ -0,0 +1,28 @@
#
# Please avoid changing the Qualcomm defconfig files and use this file to
# add any Motorola-specific configuration changes that are applicable to
# userdebug, eng, and user builds.
#
# After building, a list of all of the config files that are used can be found
# at the top of:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/mapphone_defconfig
#
# The actual output of the kernel configuration system can be found at:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/.config
#
# You can check the .config file to verify that your configuration option is
# being set as expected.
#
# CONFIG_CGROUP_DEBUG is not set
# CONFIG_CLEANCACHE is not set
# CONFIG_CMA_ALLOW_WRITE_DEBUGFS is not set
# CONFIG_CMA_DEBUG is not set
# CONFIG_PREEMPTIRQ_EVENTS is not set
# CONFIG_PREEMPT_TRACER is not set
# CONFIG_PROVE_LOCKING is not set
# CONFIG_RCU_TORTURE_TEST is not set
# CONFIG_TEST_USER_COPY is not set
# CONFIG_UFSTW is not set
# CONFIG_SLUB_DEBUG_ON is not set

View file

@ -0,0 +1,28 @@
#
# Please avoid changing the Qualcomm defconfig files and use this file to
# add any Motorola-specific configuration changes that are applicable to
# userdebug, eng, and user builds.
#
# After building, a list of all of the config files that are used can be found
# at the top of:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/mapphone_defconfig
#
# The actual output of the kernel configuration system can be found at:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/.config
#
# You can check the .config file to verify that your configuration option is
# being set as expected.
#
# CONFIG_CGROUP_DEBUG is not set
# CONFIG_CLEANCACHE is not set
# CONFIG_CMA_ALLOW_WRITE_DEBUGFS is not set
# CONFIG_CMA_DEBUG is not set
# CONFIG_PREEMPTIRQ_EVENTS is not set
# CONFIG_PREEMPT_TRACER is not set
# CONFIG_PROVE_LOCKING is not set
# CONFIG_RCU_TORTURE_TEST is not set
# CONFIG_TEST_USER_COPY is not set
# CONFIG_UFSTW is not set
# CONFIG_SLUB_DEBUG_ON is not set

View file

@ -0,0 +1,32 @@
#
# Please avoid changing the Qualcomm defconfig files and use this file to
# add any Motorola-specific configuration changes that are applicable to
# userdebug, eng, and user builds.
#
# After building, a list of all of the config files that are used can be found
# at the top of:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/mapphone_defconfig
#
# The actual output of the kernel configuration system can be found at:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/.config
#
# You can check the .config file to verify that your configuration option is
# being set as expected.
#
# CONFIG_CGROUP_DEBUG is not set
# CONFIG_CLEANCACHE is not set
# CONFIG_CMA_ALLOW_WRITE_DEBUGFS is not set
# CONFIG_CMA_DEBUG is not set
# CONFIG_PREEMPTIRQ_EVENTS is not set
# CONFIG_PREEMPT_TRACER is not set
# CONFIG_PROVE_LOCKING is not set
# CONFIG_RCU_TORTURE_TEST is not set
# CONFIG_TEST_USER_COPY is not set
# CONFIG_SM_DEBUGCC_BLAIR is not set
# CONFIG_SM_DISPCC_BLAIR is not set
# CONFIG_SM_GCC_BLAIR is not set
# CONFIG_SM_GPUCC_BLAIR is not set
# CONFIG_PINCTRL_BLAIR is not set
# CONFIG_SLUB_DEBUG_ON is not set
# CONFIG_ARCH_BLAIR is not set

View file

@ -0,0 +1,31 @@
#
# Please avoid changing the Qualcomm defconfig files and use this file to
# add any Motorola-specific configuration changes that are applicable to
# userdebug, eng, and user builds.
#
# After building, a list of all of the config files that are used can be found
# at the top of:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/mapphone_defconfig
#
# The actual output of the kernel configuration system can be found at:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/.config
#
# You can check the .config file to verify that your configuration option is
# being set as expected.
#
# CONFIG_CGROUP_DEBUG is not set
# CONFIG_CLEANCACHE is not set
# CONFIG_CMA_ALLOW_WRITE_DEBUGFS is not set
# CONFIG_CMA_DEBUG is not set
# CONFIG_PREEMPTIRQ_EVENTS is not set
# CONFIG_PREEMPT_TRACER is not set
# CONFIG_PROVE_LOCKING is not set
# CONFIG_RCU_TORTURE_TEST is not set
# CONFIG_TEST_USER_COPY is not set
# CONFIG_CAMERA_FLASH_PWM is not set
# CONFIG_UFSTW is not set
# CONFIG_DUMP_GPIO_ON_SUSPEND is not set
# CONFIG_DUMP_CLK_ON_SUSPEND is not set
# CONFIG_DUMP_REGULATOR_ON_SUSPEND is not set

View file

@ -0,0 +1,30 @@
#
# Please avoid changing the Qualcomm defconfig files and use this file to
# add any Motorola-specific configuration changes that are applicable to
# userdebug, eng, and user builds.
#
# After building, a list of all of the config files that are used can be found
# at the top of:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/mapphone_defconfig
#
# The actual output of the kernel configuration system can be found at:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/.config
#
# You can check the .config file to verify that your configuration option is
# being set as expected.
#
# CONFIG_CGROUP_DEBUG is not set
# CONFIG_CLEANCACHE is not set
# CONFIG_CMA_ALLOW_WRITE_DEBUGFS is not set
# CONFIG_CMA_DEBUG is not set
# CONFIG_PREEMPTIRQ_EVENTS is not set
# CONFIG_PREEMPT_TRACER is not set
# CONFIG_PROVE_LOCKING is not set
# CONFIG_RCU_TORTURE_TEST is not set
# CONFIG_TEST_USER_COPY is not set
# CONFIG_UFSTW is not set
# CONFIG_SLUB_DEBUG_ON is not set
# CONFIG_DEBUG_MUTEXES is not set
# CONFIG_DEBUG_SPINLOCK is not set
# CONFIG_DEBUG_SPINLOCK_PANIC_ON_BUG is not set

View file

@ -0,0 +1,31 @@
#
# Please avoid changing the Qualcomm defconfig files and use this file to
# add any Motorola-specific configuration changes that are applicable to
# userdebug, eng, and user builds.
#
# After building, a list of all of the config files that are used can be found
# at the top of:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/mapphone_defconfig
#
# The actual output of the kernel configuration system can be found at:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/.config
#
# You can check the .config file to verify that your configuration option is
# being set as expected.
#
# CONFIG_CGROUP_DEBUG is not set
# CONFIG_CLEANCACHE is not set
# CONFIG_CMA_ALLOW_WRITE_DEBUGFS is not set
# CONFIG_CMA_DEBUG is not set
# CONFIG_PREEMPTIRQ_EVENTS is not set
# CONFIG_PREEMPT_TRACER is not set
# CONFIG_PROVE_LOCKING is not set
# CONFIG_RCU_TORTURE_TEST is not set
# CONFIG_TEST_USER_COPY is not set
# CONFIG_UFSTW is not set
# CONFIG_SLUB_DEBUG_ON is not set
# CONFIG_DUMP_GPIO_ON_SUSPEND is not set
# CONFIG_DUMP_CLK_ON_SUSPEND is not set
# CONFIG_DUMP_REGULATOR_ON_SUSPEND is not set

View file

@ -0,0 +1,28 @@
#
# Please avoid changing the Qualcomm defconfig files and use this file to
# add any Motorola-specific configuration changes that are applicable to
# userdebug, eng, and user builds.
#
# After building, a list of all of the config files that are used can be found
# at the top of:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/mapphone_defconfig
#
# The actual output of the kernel configuration system can be found at:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/.config
#
# You can check the .config file to verify that your configuration option is
# being set as expected.
#
# CONFIG_CGROUP_DEBUG is not set
# CONFIG_CLEANCACHE is not set
# CONFIG_CMA_ALLOW_WRITE_DEBUGFS is not set
# CONFIG_CMA_DEBUG is not set
# CONFIG_PREEMPTIRQ_EVENTS is not set
# CONFIG_PREEMPT_TRACER is not set
# CONFIG_PROVE_LOCKING is not set
# CONFIG_RCU_TORTURE_TEST is not set
# CONFIG_TEST_USER_COPY is not set
# CONFIG_UFSTW is not set
# CONFIG_SLUB_DEBUG_ON is not set

View file

@ -0,0 +1,29 @@
#
# Please avoid changing the Qualcomm defconfig files and use this file to
# add any Motorola-specific configuration changes that are applicable to
# userdebug, eng, and user builds.
#
# After building, a list of all of the config files that are used can be found
# at the top of:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/mapphone_defconfig
#
# The actual output of the kernel configuration system can be found at:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/.config
#
# You can check the .config file to verify that your configuration option is
# being set as expected.
#
# CONFIG_CGROUP_DEBUG is not set
# CONFIG_CLEANCACHE is not set
# CONFIG_CMA_ALLOW_WRITE_DEBUGFS is not set
# CONFIG_CMA_DEBUG is not set
# CONFIG_PREEMPTIRQ_EVENTS is not set
# CONFIG_PREEMPT_TRACER is not set
# CONFIG_PROVE_LOCKING is not set
# CONFIG_RCU_TORTURE_TEST is not set
# CONFIG_TEST_USER_COPY is not set
# CONFIG_UFSTW is not set
# CONFIG_SLUB_DEBUG_ON is not set
# CONFIG_PANIC_ON_RT_THROTTLING is not set

View file

@ -0,0 +1,29 @@
#
# Please avoid changing the Qualcomm defconfig files and use this file to
# add any Motorola-specific configuration changes that are applicable to
# userdebug, eng, and user builds.
#
# After building, a list of all of the config files that are used can be found
# at the top of:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/mapphone_defconfig
#
# The actual output of the kernel configuration system can be found at:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/.config
#
# You can check the .config file to verify that your configuration option is
# being set as expected.
#
# CONFIG_CGROUP_DEBUG is not set
# CONFIG_CLEANCACHE is not set
# CONFIG_CMA_ALLOW_WRITE_DEBUGFS is not set
# CONFIG_CMA_DEBUG is not set
# CONFIG_PREEMPTIRQ_EVENTS is not set
# CONFIG_PREEMPT_TRACER is not set
# CONFIG_PROVE_LOCKING is not set
# CONFIG_RCU_TORTURE_TEST is not set
# CONFIG_TEST_USER_COPY is not set
# CONFIG_SLUB_DEBUG_ON is not set
# CONFIG_DEBUG_MUTEXES is not set
# CONFIG_DEBUG_SPINLOCK is not set
# CONFIG_DEBUG_SPINLOCK_PANIC_ON_BUG is not set

View file

@ -0,0 +1,25 @@
#
# Please avoid changing the Qualcomm defconfig files and use this file to
# add any Motorola-specific configuration changes that are applicable to
# userdebug, eng, and user builds.
#
# After building, a list of all of the config files that are used can be found
# at the top of:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/mapphone_defconfig
#
# The actual output of the kernel configuration system can be found at:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/.config
#
# You can check the .config file to verify that your configuration option is
# being set as expected.
#
# CONFIG_CGROUP_DEBUG is not set
# CONFIG_CLEANCACHE is not set
# CONFIG_CMA_ALLOW_WRITE_DEBUGFS is not set
# CONFIG_CMA_DEBUG is not set
# CONFIG_PREEMPTIRQ_EVENTS is not set
# CONFIG_PREEMPT_TRACER is not set
# CONFIG_PROVE_LOCKING is not set
# CONFIG_RCU_TORTURE_TEST is not set
# CONFIG_TEST_USER_COPY is not set

View file

@ -0,0 +1,27 @@
#
# Please avoid changing the Qualcomm defconfig files and use this file to
# add any Motorola-specific configuration changes that are applicable to
# userdebug, eng, and user builds.
#
# After building, a list of all of the config files that are used can be found
# at the top of:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/mapphone_defconfig
#
# The actual output of the kernel configuration system can be found at:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/.config
#
# You can check the .config file to verify that your configuration option is
# being set as expected.
#
# CONFIG_CGROUP_DEBUG is not set
# CONFIG_CLEANCACHE is not set
# CONFIG_CMA_ALLOW_WRITE_DEBUGFS is not set
# CONFIG_CMA_DEBUG is not set
# CONFIG_PREEMPTIRQ_EVENTS is not set
# CONFIG_PREEMPT_TRACER is not set
# CONFIG_PROVE_LOCKING is not set
# CONFIG_RCU_TORTURE_TEST is not set
# CONFIG_TEST_USER_COPY is not set
CONFIG_CAMERA_FLASH_PWM=y
# CONFIG_UFSTW is not set

View file

@ -0,0 +1,69 @@
#
# Please avoid changing the Qualcomm defconfig files and use this file to
# add any Motorola-specific configuration changes that are applicable to
# userdebug, eng, and user builds.
#
# After building, a list of all of the config files that are used can be found
# at the top of:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/mapphone_defconfig
#
# The actual output of the kernel configuration system can be found at:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/.config
#
# You can check the .config file to verify that your configuration option is
# being set as expected.
#
CONFIG_DEBUG_FS=y
CONFIG_CPU_FREQ_STAT=y
# CONFIG_EDAC_KRYO_ARM64_PANIC_ON_CE is not set
CONFIG_SLUB_DEBUG_ON=y
# CONFIG_SLUB_DEBUG_PANIC_ON is not set
# CONFIG_CORESIGHT is not set
# CONFIG_DEBUG_PAGEALLOC is not set
# CONFIG_DEBUG_PAGEALLOC_ENABLE_DEFAULT is not set
# CONFIG_DEBUG_PANIC_ON_OOM is not set
# CONFIG_DEBUG_PREEMPT is not set
# CONFIG_TOUCHSCREEN_FTS is not set
# CONFIG_TOUCHSCREEN_SYNAPTICS_DSX is not set
# CONFIG_TOUCHSCREEN_SYNAPTICS_TCM is not set
# CONFIG_TOUCHSCREEN_SYNAPTICS_TCM_CORE is not set
# CONFIG_TOUCHSCREEN_SYNAPTICS_TCM_TOUCH is not set
# CONFIG_TOUCHSCREEN_SYNAPTICS_TCM_DEVICE is not set
# CONFIG_TOUCHSCREEN_SYNAPTICS_TCM_TESTING is not set
# CONFIG_TOUCHSCREEN_SYNAPTICS_TCM_REFLASH is not set
# CONFIG_TOUCHSCREEN_SYNAPTICS_TCM_RECOVERY is not set
# CONFIG_TOUCHSCREEN_SYNAPTICS_TCM_ZEROFLASH is not set
# CONFIG_TOUCHSCREEN_SYNAPTICS_TCM_DIAGNOSTICS is not set
# CONFIG_TOUCHSCREEN_SYNAPTICS_TCM_I2C is not set
CONFIG_LOG_BUF_SHIFT=18
CONFIG_CORESIGHT=y
CONFIG_CORESIGHT_LINK_AND_SINK_TMC=y
CONFIG_CORESIGHT_DYNAMIC_REPLICATOR=y
CONFIG_CORESIGHT_STM=y
CONFIG_CORESIGHT_CTI=y
CONFIG_CORESIGHT_CTI_SAVE_DISABLE=y
CONFIG_CORESIGHT_TPDA=y
CONFIG_CORESIGHT_TPDM=y
CONFIG_CORESIGHT_HWEVENT=y
CONFIG_CORESIGHT_DUMMY=y
CONFIG_CORESIGHT_REMOTE_ETM=y
CONFIG_CORESIGHT_TGU=y
# CONFIG_DEBUG_SECTION_MISMATCH is not set
# CONFIG_DEBUG_PAGEALLOC is not set
# CONFIG_DEBUG_PAGEALLOC_ENABLE_DEFAULT is not set
# CONFIG_DEBUG_KMEMLEAK is not set
# CONFIG_DEBUG_VIRTUAL is not set
# CONFIG_DEBUG_RT_MUTEXES is not set
CONFIG_DEBUG_SPINLOCK=y
CONFIG_DEBUG_MUTEXES=y
# CONFIG_DEBUG_LOCK_ALLOC is not set
# CONFIG_DEBUG_LOCKDEP is not set
# CONFIG_DEBUG_ATOMIC_SLEEP is not set
# CONFIG_RCU_TRACE is not set
# CONFIG_PREEMPT_TRACER is not set
# CONFIG_STACKDEPOT is not set
# CONFIG_SCHED_STACK_END_CHECK is not set
# CONFIG_PAGE_OWNER is not set
# CONFIG_DM_DEBUG is not set
# CONFIG_EXT4_DEBUG is not set
# CONFIG_LOCK_STAT is not set

View file

@ -0,0 +1,18 @@
#
# Please avoid changing the Qualcomm defconfig files and use this file to
# add any Motorola-specific configuration changes that are applicable to
# userdebug, eng, and user builds.
#
# After building, a list of all of the config files that are used can be found
# at the top of:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/mapphone_defconfig
#
# The actual output of the kernel configuration system can be found at:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/.config
#
# You can check the .config file to verify that your configuration option is
# being set as expected.
#
CONFIG_CAMERA_DISABLE_VSYNC_IRQ=y
CONFIG_MOT_USB_DEBUG_LOG=y
# CONFIG_MOT_DONGWOON_OIS_AF_DRIFT is not set

View file

@ -0,0 +1,16 @@
#
# Please avoid changing the Qualcomm defconfig files and use this file to
# add any Motorola-specific configuration changes that are applicable to
# userdebug, eng, and user builds.
#
# After building, a list of all of the config files that are used can be found
# at the top of:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/mapphone_defconfig
#
# The actual output of the kernel configuration system can be found at:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/.config
#
# You can check the .config file to verify that your configuration option is
# being set as expected.
#

View file

@ -0,0 +1,16 @@
#
# Please avoid changing the Qualcomm defconfig files and use this file to
# add any Motorola-specific configuration changes that are applicable to
# userdebug, eng, and user builds.
#
# After building, a list of all of the config files that are used can be found
# at the top of:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/mapphone_defconfig
#
# The actual output of the kernel configuration system can be found at:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/.config
#
# You can check the .config file to verify that your configuration option is
# being set as expected.
#

View file

@ -0,0 +1,16 @@
#
# Please avoid changing the Qualcomm defconfig files and use this file to
# add any Motorola-specific configuration changes that are applicable to
# userdebug, eng, and user builds.
#
# After building, a list of all of the config files that are used can be found
# at the top of:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/mapphone_defconfig
#
# The actual output of the kernel configuration system can be found at:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/.config
#
# You can check the .config file to verify that your configuration option is
# being set as expected.
#

View file

@ -0,0 +1,16 @@
#
# Please avoid changing the Qualcomm defconfig files and use this file to
# add any Motorola-specific configuration changes that are applicable to
# userdebug, eng, and user builds.
#
# After building, a list of all of the config files that are used can be found
# at the top of:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/mapphone_defconfig
#
# The actual output of the kernel configuration system can be found at:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/.config
#
# You can check the .config file to verify that your configuration option is
# being set as expected.
#

View file

@ -0,0 +1,16 @@
#
# Please avoid changing the Qualcomm defconfig files and use this file to
# add any Motorola-specific configuration changes that are applicable to
# userdebug, eng, and user builds.
#
# After building, a list of all of the config files that are used can be found
# at the top of:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/mapphone_defconfig
#
# The actual output of the kernel configuration system can be found at:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/.config
#
# You can check the .config file to verify that your configuration option is
# being set as expected.
#

View file

@ -0,0 +1,16 @@
#
# Please avoid changing the Qualcomm defconfig files and use this file to
# add any Motorola-specific configuration changes that are applicable to
# userdebug, eng, and user builds.
#
# After building, a list of all of the config files that are used can be found
# at the top of:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/mapphone_defconfig
#
# The actual output of the kernel configuration system can be found at:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/.config
#
# You can check the .config file to verify that your configuration option is
# being set as expected.
#

View file

@ -0,0 +1,16 @@
#
# Please avoid changing the Qualcomm defconfig files and use this file to
# add any Motorola-specific configuration changes that are applicable to
# userdebug, eng, and user builds.
#
# After building, a list of all of the config files that are used can be found
# at the top of:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/mapphone_defconfig
#
# The actual output of the kernel configuration system can be found at:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/.config
#
# You can check the .config file to verify that your configuration option is
# being set as expected.
#

View file

@ -0,0 +1,22 @@
#
# Please avoid changing the Qualcomm defconfig files and use this file to
# add any Motorola-specific configuration changes that are applicable to
# userdebug, eng, and user builds.
#
# After building, a list of all of the config files that are used can be found
# at the top of:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/mapphone_defconfig
#
# The actual output of the kernel configuration system can be found at:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/.config
#
# You can check the .config file to verify that your configuration option is
# being set as expected.
#
CONFIG_CAMERA_DISABLE_VSYNC_IRQ=y
# CONFIG_MOT_DONGWOON_OIS_AF_DRIFT is not set
# Enable minimal coresight configuration for modem qdss log
CONFIG_CORESIGHT=y
CONFIG_CORESIGHT_LINK_AND_SINK_TMC=y
CONFIG_CORESIGHT_STM=y
CONFIG_CORESIGHT_DUMMY=y

View file

@ -0,0 +1,22 @@
#
# Please avoid changing the Qualcomm defconfig files and use this file to
# add any Motorola-specific configuration changes that are applicable to
# userdebug, eng, and user builds.
#
# After building, a list of all of the config files that are used can be found
# at the top of:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/mapphone_defconfig
#
# The actual output of the kernel configuration system can be found at:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/.config
#
# You can check the .config file to verify that your configuration option is
# being set as expected.
#
CONFIG_CAMERA_DISABLE_VSYNC_IRQ=y
# CONFIG_MOT_DONGWOON_OIS_AF_DRIFT is not set
# Enable minimal coresight configuration for modem qdss log
CONFIG_CORESIGHT=y
CONFIG_CORESIGHT_LINK_AND_SINK_TMC=y
CONFIG_CORESIGHT_STM=y
CONFIG_CORESIGHT_DUMMY=y

View file

@ -0,0 +1,22 @@
#
# Please avoid changing the Qualcomm defconfig files and use this file to
# add any Motorola-specific configuration changes that are applicable to
# userdebug, eng, and user builds.
#
# After building, a list of all of the config files that are used can be found
# at the top of:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/mapphone_defconfig
#
# The actual output of the kernel configuration system can be found at:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/.config
#
# You can check the .config file to verify that your configuration option is
# being set as expected.
#
CONFIG_CAMERA_DISABLE_VSYNC_IRQ=y
# CONFIG_MOT_DONGWOON_OIS_AF_DRIFT is not set
# Enable minimal coresight configuration for modem qdss log
CONFIG_CORESIGHT=y
CONFIG_CORESIGHT_LINK_AND_SINK_TMC=y
CONFIG_CORESIGHT_STM=y
CONFIG_CORESIGHT_DUMMY=y

View file

@ -0,0 +1,16 @@
#
# Please avoid changing the Qualcomm defconfig files and use this file to
# add any Motorola-specific configuration changes that are applicable to
# userdebug, eng, and user builds.
#
# After building, a list of all of the config files that are used can be found
# at the top of:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/mapphone_defconfig
#
# The actual output of the kernel configuration system can be found at:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/.config
#
# You can check the .config file to verify that your configuration option is
# being set as expected.
#

View file

@ -0,0 +1,17 @@
#
# Please avoid changing the Qualcomm defconfig files and use this file to
# add any Motorola-specific configuration changes that are applicable to
# userdebug, eng, and user builds.
#
# After building, a list of all of the config files that are used can be found
# at the top of:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/mapphone_defconfig
#
# The actual output of the kernel configuration system can be found at:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/.config
#
# You can check the .config file to verify that your configuration option is
# being set as expected.
#
# CONFIG_CAMERA_FLASH_PWM is not set
CONFIG_CAMERA_DISABLE_VSYNC_IRQ=y

View file

@ -0,0 +1,16 @@
#
# Please avoid changing the Qualcomm defconfig files and use this file to
# add any Motorola-specific configuration changes that are applicable to
# userdebug, eng, and user builds.
#
# After building, a list of all of the config files that are used can be found
# at the top of:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/mapphone_defconfig
#
# The actual output of the kernel configuration system can be found at:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/.config
#
# You can check the .config file to verify that your configuration option is
# being set as expected.
#
CONFIG_CAMERA_DISABLE_VSYNC_IRQ=y

View file

@ -0,0 +1,16 @@
#
# Please avoid changing the Qualcomm defconfig files and use this file to
# add any Motorola-specific configuration changes that are applicable to
# userdebug, eng, and user builds.
#
# After building, a list of all of the config files that are used can be found
# at the top of:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/mapphone_defconfig
#
# The actual output of the kernel configuration system can be found at:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/.config
#
# You can check the .config file to verify that your configuration option is
# being set as expected.
#
CONFIG_CAMERA_DISABLE_VSYNC_IRQ=y

View file

@ -0,0 +1,16 @@
#
# Please avoid changing the Qualcomm defconfig files and use this file to
# add any Motorola-specific configuration changes that are applicable to
# userdebug, eng, and user builds.
#
# After building, a list of all of the config files that are used can be found
# at the top of:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/mapphone_defconfig
#
# The actual output of the kernel configuration system can be found at:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/.config
#
# You can check the .config file to verify that your configuration option is
# being set as expected.
#
CONFIG_CAMERA_DISABLE_VSYNC_IRQ=y

View file

@ -0,0 +1,16 @@
#
# Please avoid changing the Qualcomm defconfig files and use this file to
# add any Motorola-specific configuration changes that are applicable to
# userdebug, eng, and user builds.
#
# After building, a list of all of the config files that are used can be found
# at the top of:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/mapphone_defconfig
#
# The actual output of the kernel configuration system can be found at:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/.config
#
# You can check the .config file to verify that your configuration option is
# being set as expected.
#
CONFIG_CAMERA_DISABLE_VSYNC_IRQ=y

View file

@ -0,0 +1,16 @@
#
# Please avoid changing the Qualcomm defconfig files and use this file to
# add any Motorola-specific configuration changes that are applicable to
# userdebug, eng, and user builds.
#
# After building, a list of all of the config files that are used can be found
# at the top of:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/mapphone_defconfig
#
# The actual output of the kernel configuration system can be found at:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/.config
#
# You can check the .config file to verify that your configuration option is
# being set as expected.
#

View file

@ -0,0 +1,16 @@
#
# Please avoid changing the Qualcomm defconfig files and use this file to
# add any Motorola-specific configuration changes that are applicable to
# userdebug, eng, and user builds.
#
# After building, a list of all of the config files that are used can be found
# at the top of:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/mapphone_defconfig
#
# The actual output of the kernel configuration system can be found at:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/.config
#
# You can check the .config file to verify that your configuration option is
# being set as expected.
#

View file

@ -0,0 +1,17 @@
#
# Please avoid changing the Qualcomm defconfig files and use this file to
# add any Motorola-specific configuration changes that are applicable to
# userdebug, eng, and user builds.
#
# After building, a list of all of the config files that are used can be found
# at the top of:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/mapphone_defconfig
#
# The actual output of the kernel configuration system can be found at:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/.config
#
# You can check the .config file to verify that your configuration option is
# being set as expected.
#
CONFIG_CAMERA_FLASH_PWM=y
CONFIG_CAMERA_DISABLE_VSYNC_IRQ=y

View file

@ -0,0 +1,19 @@
#
# Please avoid changing the Qualcomm defconfig files and use this file to
# add any Motorola-specific configuration changes that are applicable to
# userdebug, eng, and user builds.
#
# After building, a list of all of the config files that are used can be found
# at the top of:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/mapphone_defconfig
#
# The actual output of the kernel configuration system can be found at:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/.config
#
# You can check the .config file to verify that your configuration option is
# being set as expected.
#
CONFIG_SERIAL_MSM_GENI_CONSOLE=y
CONFIG_QCOM_RTB=y
CONFIG_QCOM_RTB_QGKI=y
CONFIG_QCOM_RTB_SEPARATE_CPUS=y

View file

@ -0,0 +1 @@
../holi_consolidate.config

View file

@ -0,0 +1 @@
../holi_debug.config

View file

@ -0,0 +1,46 @@
#
# Please avoid changing the Qualcomm defconfig files and use this file to
# add any Motorola-specific configuration changes that are applicable to
# userdebug, eng, and user builds.
#
# After building, a list of all of the config files that are used can be found
# at the top of:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/mapphone_defconfig
#
# The actual output of the kernel configuration system can be found at:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/.config
#
# You can check the .config file to verify that your configuration option is
# being set as expected.
#
CONFIG_BANGKK_DTB=y
# CONFIG_NFC_QTI_I2C is not set
CONFIG_FS_EPOLL_WAKEUP_DEBUG=y
CONFIG_ZRAM_WRITEBACK=y
# CONFIG_THERMAL_STATISTICS is not set
# CONFIG_REGULATOR_QPNP_LCDB is not set
# CONFIG_UFSTW is not set
CONFIG_CRYPTO_CHACHA20POLY1305=y
CONFIG_CAM_SENSOR_PROBE_RETRY=y
CONFIG_MOT_DONGWOON_OIS_AF_DRIFT=y
CONFIG_SND_SOC_AW87XXX=m
#CONFIG_NFC_QTI_I2C=m
CONFIG_MSM_TZ_QSEE_LOG=y
CONFIG_AF_NOISE_ELIMINATION=y
# CONFIG_TOUCHSCREEN_FTS is not set
CONFIG_FELICA_MOUNT_BLOCK=y
# CONFIG_UFSFEATURE is not set
# CONFIG_UFSHPB is not set
# CONFIG_UFSTW is not set
# CONFIG_SCSI_SKHPB is not set
CONFIG_NFC=y
CONFIG_SEC_NFC_PRODUCT_N5=y
CONFIG_SEC_NFC=m
CONFIG_SEC_NFC_IF_I2C=y
CONFIG_QUP0_SE2_AP=y
CONFIG_CAMERA_FLASH_IIC_COMPATIBLE=y
CONFIG_EROFS_FS_PCPU_KTHREAD=y
CONFIG_EROFS_FS_PCPU_KTHREAD_HIPRI=y
CONFIG_MOT_SENSOR_PRE_POWERUP=y
CONFIG_MMAP_READAROUND_LIMIT=y

View file

@ -0,0 +1,24 @@
#
# Please avoid changing the Qualcomm defconfig files and use this file to
# add any Motorola-specific configuration changes that are applicable to
# userdebug, eng, and user builds.
#
# After building, a list of all of the config files that are used can be found
# at the top of:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/mapphone_defconfig
#
# The actual output of the kernel configuration system can be found at:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/.config
#
# You can check the .config file to verify that your configuration option is
# being set as expected.
#
CONFIG_CORFUP_DTB=y
# CONFIG_NFC_QTI_I2C is not set
CONFIG_FS_EPOLL_WAKEUP_DEBUG=y
CONFIG_ZRAM_WRITEBACK=y
# CONFIG_THERMAL_STATISTICS is not set
# CONFIG_TOUCHSCREEN_FTS is not set
# CONFIG_TOUCHSCREEN_FTS_DIRECTORY is not set
CONFIG_AF_NOISE_ELIMINATION=y
# CONFIG_MICRON_UFSHID is not set

View file

@ -0,0 +1,24 @@
#
# Please avoid changing the Qualcomm defconfig files and use this file to
# add any Motorola-specific configuration changes that are applicable to
# userdebug, eng, and user builds.
#
# After building, a list of all of the config files that are used can be found
# at the top of:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/mapphone_defconfig
#
# The actual output of the kernel configuration system can be found at:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/.config
#
# You can check the .config file to verify that your configuration option is
# being set as expected.
#
CONFIG_CORFUQ_DTB=y
# CONFIG_NFC_QTI_I2C is not set
CONFIG_FS_EPOLL_WAKEUP_DEBUG=y
CONFIG_ZRAM_WRITEBACK=y
# CONFIG_THERMAL_STATISTICS is not set
# CONFIG_TOUCHSCREEN_FTS is not set
# CONFIG_TOUCHSCREEN_FTS_DIRECTORY is not set
CONFIG_AF_NOISE_ELIMINATION=y
# CONFIG_MICRON_UFSHID is not set

View file

@ -0,0 +1,26 @@
#
# Please avoid changing the Qualcomm defconfig files and use this file to
# add any Motorola-specific configuration changes that are applicable to
# userdebug, eng, and user builds.
#
# After building, a list of all of the config files that are used can be found
# at the top of:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/mapphone_defconfig
#
# The actual output of the kernel configuration system can be found at:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/.config
#
# You can check the .config file to verify that your configuration option is
# being set as expected.
#
CONFIG_CORFUR_DTB=y
# CONFIG_NFC_QTI_I2C is not set
CONFIG_FS_EPOLL_WAKEUP_DEBUG=y
CONFIG_ZRAM_WRITEBACK=y
# CONFIG_THERMAL_STATISTICS is not set
# CONFIG_TOUCHSCREEN_FTS is not set
# CONFIG_TOUCHSCREEN_FTS_DIRECTORY is not set
CONFIG_AF_NOISE_ELIMINATION=y
# CONFIG_TOUCHSCREEN_NT36XXX is not set
# CONFIG_MICRON_UFSHID is not set
CONFIG_CAM_SENSOR_PROBE_RETRY=y

View file

@ -0,0 +1,24 @@
#
# Please avoid changing the Qualcomm defconfig files and use this file to
# add any Motorola-specific configuration changes that are applicable to
# userdebug, eng, and user builds.
#
# After building, a list of all of the config files that are used can be found
# at the top of:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/mapphone_defconfig
#
# The actual output of the kernel configuration system can be found at:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/.config
#
# You can check the .config file to verify that your configuration option is
# being set as expected.
#
CONFIG_CYPFG_DTB=y
# CONFIG_NFC_QTI_I2C is not set
CONFIG_FS_EPOLL_WAKEUP_DEBUG=y
CONFIG_ZRAM_WRITEBACK=y
# CONFIG_THERMAL_STATISTICS is not set
# CONFIG_UFSHID is not set
# CONFIG_UFSHID_POC is not set
CONFIG_AF_NOISE_ELIMINATION=y
# CONFIG_MICRON_UFSHID is not set

View file

@ -0,0 +1,24 @@
#
# Please avoid changing the Qualcomm defconfig files and use this file to
# add any Motorola-specific configuration changes that are applicable to
# userdebug, eng, and user builds.
#
# After building, a list of all of the config files that are used can be found
# at the top of:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/mapphone_defconfig
#
# The actual output of the kernel configuration system can be found at:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/.config
#
# You can check the .config file to verify that your configuration option is
# being set as expected.
#
CONFIG_CYPFQ_DTB=y
# CONFIG_NFC_QTI_I2C is not set
CONFIG_FS_EPOLL_WAKEUP_DEBUG=y
CONFIG_ZRAM_WRITEBACK=y
# CONFIG_THERMAL_STATISTICS is not set
# CONFIG_REGULATOR_QPNP_LCDB is not set
CONFIG_AF_NOISE_ELIMINATION=y
# CONFIG_MICRON_UFSHID is not set
CONFIG_CAM_SENSOR_PROBE_RETRY=y

View file

@ -0,0 +1,24 @@
#
# Please avoid changing the Qualcomm defconfig files and use this file to
# add any Motorola-specific configuration changes that are applicable to
# userdebug, eng, and user builds.
#
# After building, a list of all of the config files that are used can be found
# at the top of:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/mapphone_defconfig
#
# The actual output of the kernel configuration system can be found at:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/.config
#
# You can check the .config file to verify that your configuration option is
# being set as expected.
#
CONFIG_CYPFR_DTB=y
# CONFIG_NFC_QTI_I2C is not set
CONFIG_FS_EPOLL_WAKEUP_DEBUG=y
CONFIG_ZRAM_WRITEBACK=y
# CONFIG_THERMAL_STATISTICS is not set
CONFIG_AF_NOISE_ELIMINATION=y
# CONFIG_MICRON_UFSHID is not set
CONFIG_FELICA_MOUNT_BLOCK=y
CONFIG_CAM_SENSOR_PROBE_RETRY=y

View file

@ -0,0 +1,35 @@
#
# Please avoid changing the Qualcomm defconfig files and use this file to
# add any Motorola-specific configuration changes that are applicable to
# userdebug, eng, and user builds.
#
# After building, a list of all of the config files that are used can be found
# at the top of:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/mapphone_defconfig
#
# The actual output of the kernel configuration system can be found at:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/.config
#
# You can check the .config file to verify that your configuration option is
# being set as expected.
#
CONFIG_DENVER_DTB=y
CONFIG_FS_EPOLL_WAKEUP_DEBUG=y
CONFIG_ZRAM_WRITEBACK=y
# CONFIG_THERMAL_STATISTICS is not set
# CONFIG_TOUCHSCREEN_SYNAPTICS_TCM is not set
# CONFIG_TOUCHSCREEN_SYNAPTICS_DSX is not set
# CONFIG_TOUCHSCREEN_FTS is not set
# CONFIG_UFSFEATURE is not set
# CONFIG_UFSHPB is not set
# CONFIG_UFSTW is not set
# CONFIG_SCSI_SKHPB is not set
# CONFIG_UFSTW_IGNORE_GUARANTEE_BIT is not set
# CONFIG_UFSTW_BOOT_ENABLED is not set
# CONFIG_MICRON_HPB is not set
# CONFIG_UFSHID is not set
# CONFIG_UFSHID_POC is not set
# CONFIG_SCSI_SKHID is not set
# CONFIG_MICRON_UFSHID is not set
CONFIG_HZ_300=y
CONFIG_CAM_SENSOR_PROBE_RETRY=y

View file

@ -0,0 +1,50 @@
#
# Please avoid changing the Qualcomm defconfig files and use this file to
# add any Motorola-specific configuration changes that are applicable to
# userdebug, eng, and user builds.
#
# After building, a list of all of the config files that are used can be found
# at the top of:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/mapphone_defconfig
#
# The actual output of the kernel configuration system can be found at:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/.config
#
# You can check the .config file to verify that your configuration option is
# being set as expected.
#
CONFIG_FOGO_DTB=y
# CONFIG_NFC_QTI_I2C is not set
CONFIG_FS_EPOLL_WAKEUP_DEBUG=y
CONFIG_ZRAM_WRITEBACK=y
# CONFIG_THERMAL_STATISTICS is not set
# CONFIG_REGULATOR_QPNP_LCDB is not set
# CONFIG_UFSTW is not set
CONFIG_CRYPTO_CHACHA20POLY1305=y
CONFIG_CAM_SENSOR_PROBE_RETRY=y
CONFIG_MOT_DONGWOON_OIS_AF_DRIFT=y
CONFIG_AW882XX_STEREO_SMARTPA=y
CONFIG_AW882XX_STEREO_SMARTPA_PRI=y
CONFIG_AW882XX_PARAMS_FROM_BIN=y
CONFIG_AW882XX_MAPSIZE_16K=y
CONFIG_SND_SOC_AW8838=y
#CONFIG_NFC_QTI_I2C=m
CONFIG_MSM_TZ_QSEE_LOG=y
CONFIG_AF_NOISE_ELIMINATION=y
# CONFIG_TOUCHSCREEN_FTS is not set
CONFIG_FELICA_MOUNT_BLOCK=y
# CONFIG_UFSHPB is not set
# CONFIG_UFSTW is not set
# CONFIG_SCSI_SKHPB is not set
# CONFIG_MICRON_HPB is not set
CONFIG_NFC=y
CONFIG_SEC_NFC_PRODUCT_N5=y
CONFIG_SEC_NFC=m
CONFIG_SEC_NFC_IF_I2C=y
CONFIG_QUP0_SE2_AP=y
# CONFIG_CAMERA_FLASH_IIC_COMPATIBLE is not set
CONFIG_EROFS_FS_PCPU_KTHREAD=y
CONFIG_EROFS_FS_PCPU_KTHREAD_HIPRI=y
CONFIG_MOT_SENSOR_PRE_POWERUP=y
CONFIG_MMAP_READAROUND_LIMIT=y
CONFIG_MOT_SECURE_CAMERA=y

View file

@ -0,0 +1,45 @@
#
# Please avoid changing the Qualcomm defconfig files and use this file to
# add any Motorola-specific configuration changes that are applicable to
# userdebug, eng, and user builds.
#
# After building, a list of all of the config files that are used can be found
# at the top of:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/mapphone_defconfig
#
# The actual output of the kernel configuration system can be found at:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/.config
#
# You can check the .config file to verify that your configuration option is
# being set as expected.
#
CONFIG_FOGOR_DTB=y
# CONFIG_NFC_QTI_I2C is not set
CONFIG_FS_EPOLL_WAKEUP_DEBUG=y
CONFIG_ZRAM_WRITEBACK=y
# CONFIG_THERMAL_STATISTICS is not set
# CONFIG_REGULATOR_QPNP_LCDB is not set
# CONFIG_UFSTW is not set
CONFIG_CRYPTO_CHACHA20POLY1305=y
CONFIG_CAM_SENSOR_PROBE_RETRY=y
CONFIG_MOT_DONGWOON_OIS_AF_DRIFT=y
CONFIG_SND_SOC_FS1815=m
#CONFIG_NFC_QTI_I2C=m
CONFIG_MSM_TZ_QSEE_LOG=y
CONFIG_AF_NOISE_ELIMINATION=y
# CONFIG_TOUCHSCREEN_FTS is not set
CONFIG_FELICA_MOUNT_BLOCK=y
# CONFIG_UFSHPB is not set
# CONFIG_UFSTW is not set
# CONFIG_SCSI_SKHPB is not set
# CONFIG_MICRON_HPB is not set
CONFIG_NFC=y
CONFIG_SEC_NFC_PRODUCT_N5=y
CONFIG_SEC_NFC=m
CONFIG_SEC_NFC_IF_I2C=y
CONFIG_QUP0_SE2_AP=y
CONFIG_CAMERA_FLASH_IIC_COMPATIBLE=y
CONFIG_EROFS_FS_PCPU_KTHREAD=y
CONFIG_EROFS_FS_PCPU_KTHREAD_HIPRI=y
CONFIG_MOT_SENSOR_PRE_POWERUP=y
CONFIG_MMAP_READAROUND_LIMIT=y

View file

@ -0,0 +1,46 @@
#
# Please avoid changing the Qualcomm defconfig files and use this file to
# add any Motorola-specific configuration changes that are applicable to
# userdebug, eng, and user builds.
#
# After building, a list of all of the config files that are used can be found
# at the top of:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/mapphone_defconfig
#
# The actual output of the kernel configuration system can be found at:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/.config
#
# You can check the .config file to verify that your configuration option is
# being set as expected.
#
CONFIG_FOGOS_DTB=y
# CONFIG_NFC_QTI_I2C is not set
CONFIG_FS_EPOLL_WAKEUP_DEBUG=y
CONFIG_ZRAM_WRITEBACK=y
# CONFIG_THERMAL_STATISTICS is not set
# CONFIG_REGULATOR_QPNP_LCDB is not set
# CONFIG_UFSTW is not set
CONFIG_CRYPTO_CHACHA20POLY1305=y
CONFIG_CAM_SENSOR_PROBE_RETRY=y
CONFIG_MOT_DONGWOON_OIS_AF_DRIFT=y
CONFIG_SND_SOC_FS1815=m
#CONFIG_NFC_QTI_I2C=m
CONFIG_MSM_TZ_QSEE_LOG=y
CONFIG_AF_NOISE_ELIMINATION=y
# CONFIG_TOUCHSCREEN_FTS is not set
CONFIG_FELICA_MOUNT_BLOCK=y
# CONFIG_UFSHPB is not set
# CONFIG_UFSTW is not set
# CONFIG_SCSI_SKHPB is not set
# CONFIG_MICRON_HPB is not set
CONFIG_NFC=y
CONFIG_SEC_NFC_PRODUCT_N5=y
CONFIG_SEC_NFC=m
CONFIG_SEC_NFC_IF_I2C=y
CONFIG_QUP0_SE2_AP=y
CONFIG_CAMERA_FLASH_IIC_COMPATIBLE=y
CONFIG_EROFS_FS_PCPU_KTHREAD=y
CONFIG_EROFS_FS_PCPU_KTHREAD_HIPRI=y
CONFIG_MMAP_READAROUND_LIMIT=y
CONFIG_MOT_SENSOR_PRE_POWERUP=y
CONFIG_MOT_SECURE_CAMERA=y

View file

@ -0,0 +1,6 @@
CONFIG_ZRAM_WRITEBACK=y
# CONFIG_UFSHID is not set
# CONFIG_UFSHID_POC is not set
# CONFIG_SCSI_SKHID is not set
# CONFIG_MICRON_UFSHID is not set
CONFIG_CAM_SENSOR_PROBE_RETRY=y

View file

@ -0,0 +1,35 @@
#
# Please avoid changing the Qualcomm defconfig files and use this file to
# add any Motorola-specific configuration changes that are applicable to
# userdebug, eng, and user builds.
#
# After building, a list of all of the config files that are used can be found
# at the top of:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/mapphone_defconfig
#
# The actual output of the kernel configuration system can be found at:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/.config
#
# You can check the .config file to verify that your configuration option is
# being set as expected.
#
CONFIG_IBIZA_DTB=y
# CONFIG_NFC_QTI_I2C is not set
CONFIG_FS_EPOLL_WAKEUP_DEBUG=y
CONFIG_ZRAM_WRITEBACK=y
# CONFIG_THERMAL_STATISTICS is not set
# CONFIG_UFSFEATURE is not set
# CONFIG_UFSHPB is not set
# CONFIG_UFSTW is not set
# CONFIG_SCSI_SKHPB is not set
# CONFIG_UFSTW_IGNORE_GUARANTEE_BIT is not set
# CONFIG_UFSTW_BOOT_ENABLED is not set
# CONFIG_MICRON_HPB is not set
# CONFIG_UFSHID is not set
# CONFIG_UFSHID_POC is not set
# CONFIG_SCSI_SKHID is not set
# CONFIG_MICRON_UFSHID is not set
# CONFIG_TOUCHSCREEN_NT36XXX is not set
CONFIG_HZ_300=y
CONFIG_PROCESS_RECLAIM=n
CONFIG_CAM_SENSOR_PROBE_RETRY=y

View file

@ -0,0 +1,31 @@
#
# Please avoid changing the Qualcomm defconfig files and use this file to
# add any Motorola-specific configuration changes that are applicable to
# userdebug, eng, and user builds.
#
# After building, a list of all of the config files that are used can be found
# at the top of:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/mapphone_defconfig
#
# The actual output of the kernel configuration system can be found at:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/.config
#
# You can check the .config file to verify that your configuration option is
# being set as expected.
#
CONFIG_MIAMI_DTB=y
# CONFIG_NFC_QTI_I2C is not set
CONFIG_FS_EPOLL_WAKEUP_DEBUG=y
CONFIG_ZRAM_WRITEBACK=y
# CONFIG_THERMAL_STATISTICS is not set
# CONFIG_REGULATOR_QPNP_LCDB is not set
CONFIG_AW882XX_STEREO_SMARTPA=y
CONFIG_AW882XX_PARAMS_FROM_BIN=y
CONFIG_AW882XX_MAPSIZE_16K=y
# CONFIG_UFSTW is not set
CONFIG_QUP0_SE2_AP=y
# CONFIG_CAMERA_FLASH_PWM is not set
CONFIG_CRYPTO_CHACHA20POLY1305=y
CONFIG_CAM_SENSOR_PROBE_RETRY=y
CONFIG_CAMERA_CCI_ADDR_SWITCH=y
CONFIG_IS_XFER_IN_PROGRESS=y

View file

@ -0,0 +1,25 @@
#
# Please avoid changing the Qualcomm defconfig files and use this file to
# add any Motorola-specific configuration changes that are applicable to
# userdebug, eng, and user builds.
#
# After building, a list of all of the config files that are used can be found
# at the top of:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/mapphone_defconfig
#
# The actual output of the kernel configuration system can be found at:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/.config
#
# You can check the .config file to verify that your configuration option is
# being set as expected.
#
CONFIG_MILANF_DTB=y
# CONFIG_NFC_QTI_I2C is not set
CONFIG_FS_EPOLL_WAKEUP_DEBUG=y
CONFIG_ZRAM_WRITEBACK=y
# CONFIG_THERMAL_STATISTICS is not set
# CONFIG_REGULATOR_QPNP_LCDB is not set
# CONFIG_AW882XX_PARAMS_FROM_BIN is not set
# CONFIG_UFSTW is not set
CONFIG_CRYPTO_CHACHA20POLY1305=y
CONFIG_CAM_SENSOR_PROBE_RETRY=y

View file

@ -0,0 +1,36 @@
#
# Please avoid changing the Qualcomm defconfig files and use this file to
# add any Motorola-specific configuration changes that are applicable to
# userdebug, eng, and user builds.
#
# After building, a list of all of the config files that are used can be found
# at the top of:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/mapphone_defconfig
#
# The actual output of the kernel configuration system can be found at:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/.config
#
# You can check the .config file to verify that your configuration option is
# being set as expected.
#
CONFIG_PENANG_DTB=y
# CONFIG_NFC_QTI_I2C is not set
CONFIG_FS_EPOLL_WAKEUP_DEBUG=y
CONFIG_ZRAM_WRITEBACK=y
# CONFIG_THERMAL_STATISTICS is not set
# CONFIG_REGULATOR_QPNP_LCDB is not set
# CONFIG_UFSTW is not set
CONFIG_CRYPTO_CHACHA20POLY1305=y
CONFIG_CAM_SENSOR_PROBE_RETRY=y
CONFIG_SND_SOC_AW87XXX=m
CONFIG_NFC_QTI_I2C=m
CONFIG_MSM_TZ_QSEE_LOG=y
CONFIG_AF_NOISE_ELIMINATION=y
# CONFIG_TOUCHSCREEN_FTS is not set
CONFIG_FELICA_MOUNT_BLOCK=y
# CONFIG_UFSFEATURE is not set
# CONFIG_UFSHPB is not set
# CONFIG_UFSTW is not set
# CONFIG_SCSI_SKHPB is not set
CONFIG_EROFS_FS_PCPU_KTHREAD=y
CONFIG_EROFS_FS_PCPU_KTHREAD_HIPRI=y

View file

@ -0,0 +1,34 @@
#
# Please avoid changing the Qualcomm defconfig files and use this file to
# add any Motorola-specific configuration changes that are applicable to
# userdebug, eng, and user builds.
#
# After building, a list of all of the config files that are used can be found
# at the top of:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/mapphone_defconfig
#
# The actual output of the kernel configuration system can be found at:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/.config
#
# You can check the .config file to verify that your configuration option is
# being set as expected.
#
CONFIG_PENANGB_DTB=y
# CONFIG_NFC_QTI_I2C is not set
CONFIG_FS_EPOLL_WAKEUP_DEBUG=y
CONFIG_ZRAM_WRITEBACK=y
# CONFIG_THERMAL_STATISTICS is not set
# CONFIG_REGULATOR_QPNP_LCDB is not set
# CONFIG_UFSTW is not set
CONFIG_CRYPTO_CHACHA20POLY1305=y
CONFIG_CAM_SENSOR_PROBE_RETRY=y
CONFIG_SND_SOC_AW87XXX=m
CONFIG_NFC_QTI_I2C=m
CONFIG_MSM_TZ_QSEE_LOG=y
CONFIG_AF_NOISE_ELIMINATION=y
# CONFIG_TOUCHSCREEN_FTS is not set
CONFIG_FELICA_MOUNT_BLOCK=y
# CONFIG_UFSFEATURE is not set
# CONFIG_UFSHPB is not set
# CONFIG_UFSTW is not set
# CONFIG_SCSI_SKHPB is not set

View file

@ -0,0 +1,37 @@
#
# Please avoid changing the Qualcomm defconfig files and use this file to
# add any Motorola-specific configuration changes that are applicable to
# userdebug, eng, and user builds.
#
# After building, a list of all of the config files that are used can be found
# at the top of:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/mapphone_defconfig
#
# The actual output of the kernel configuration system can be found at:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/.config
#
# You can check the .config file to verify that your configuration option is
# being set as expected.
#
CONFIG_PNANGN_DTB=y
# CONFIG_NFC_QTI_I2C is not set
CONFIG_FS_EPOLL_WAKEUP_DEBUG=y
CONFIG_ZRAM_WRITEBACK=y
# CONFIG_THERMAL_STATISTICS is not set
# CONFIG_REGULATOR_QPNP_LCDB is not set
# CONFIG_TOUCHSCREEN_SYNAPTICS_TCM is not set
# CONFIG_TOUCHSCREEN_SYNAPTICS_DSX is not set
# CONFIG_TOUCHSCREEN_FTS is not set
# CONFIG_TOUCHSCREEN_FTS_DIRECTORY is not set
# CONFIG_TOUCHSCREEN_NT36XXX is not set
# CONFIG_UFSTW is not set
CONFIG_CRYPTO_CHACHA20POLY1305=y
CONFIG_CAM_SENSOR_PROBE_RETRY=y
# CONFIG_SND_SOC_AW87XXX is not set
CONFIG_AW882XX_STEREO_SMARTPA=y
CONFIG_AW882XX_PARAMS_FROM_BIN=y
CONFIG_AW882XX_MAPSIZE_16K=y
# CONFIG_UFSFEATURE is not set
# CONFIG_UFSHPB is not set
# CONFIG_UFSTW is not set
# CONFIG_SCSI_SKHPB is not set

View file

@ -0,0 +1,27 @@
#
# Please avoid changing the Qualcomm defconfig files and use this file to
# add any Motorola-specific configuration changes that are applicable to
# userdebug, eng, and user builds.
#
# After building, a list of all of the config files that are used can be found
# at the top of:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/mapphone_defconfig
#
# The actual output of the kernel configuration system can be found at:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/.config
#
# You can check the .config file to verify that your configuration option is
# being set as expected.
#
CONFIG_RHODEC_DTB=y
# CONFIG_NFC_QTI_I2C is not set
CONFIG_FS_EPOLL_WAKEUP_DEBUG=y
CONFIG_ZRAM_WRITEBACK=y
# CONFIG_THERMAL_STATISTICS is not set
# CONFIG_REGULATOR_QPNP_LCDB is not set
CONFIG_AF_NOISE_ELIMINATION=y
CONFIG_AW882XX_STEREO_SMARTPA=y
CONFIG_AW882XX_PARAMS_FROM_BIN=y
CONFIG_AW882XX_MAPSIZE_16K=y
CONFIG_CRYPTO_CHACHA20POLY1305=y
CONFIG_CAM_SENSOR_PROBE_RETRY=y

View file

@ -0,0 +1,29 @@
#
# Please avoid changing the Qualcomm defconfig files and use this file to
# add any Motorola-specific configuration changes that are applicable to
# userdebug, eng, and user builds.
#
# After building, a list of all of the config files that are used can be found
# at the top of:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/mapphone_defconfig
#
# The actual output of the kernel configuration system can be found at:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/.config
#
# You can check the .config file to verify that your configuration option is
# being set as expected.
#
CONFIG_RHODEI_DTB=y
# CONFIG_NFC_QTI_I2C is not set
CONFIG_FS_EPOLL_WAKEUP_DEBUG=y
CONFIG_ZRAM_WRITEBACK=y
# CONFIG_THERMAL_STATISTICS is not set
# CONFIG_REGULATOR_QPNP_LCDB is not set
CONFIG_AF_NOISE_ELIMINATION=y
CONFIG_AW882XX_STEREO_SMARTPA=y
CONFIG_AW882XX_PARAMS_FROM_BIN=y
CONFIG_AW882XX_MAPSIZE_16K=y
# CONFIG_TOUCHSCREEN_NT36XXX is not set
CONFIG_QUP0_SE2_AP=y
CONFIG_CAM_SENSOR_PROBE_RETRY=y
CONFIG_CRYPTO_CHACHA20POLY1305=y

View file

@ -0,0 +1,30 @@
#
# Please avoid changing the Qualcomm defconfig files and use this file to
# add any Motorola-specific configuration changes that are applicable to
# userdebug, eng, and user builds.
#
# After building, a list of all of the config files that are used can be found
# at the top of:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/mapphone_defconfig
#
# The actual output of the kernel configuration system can be found at:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/.config
#
# You can check the .config file to verify that your configuration option is
# being set as expected.
#
CONFIG_RHODEP_DTB=y
# CONFIG_NFC_QTI_I2C is not set
CONFIG_FS_EPOLL_WAKEUP_DEBUG=y
CONFIG_ZRAM_WRITEBACK=y
# CONFIG_THERMAL_STATISTICS is not set
# CONFIG_REGULATOR_QPNP_LCDB is not set
CONFIG_AW882XX_STEREO_SMARTPA=y
CONFIG_AW882XX_PARAMS_FROM_BIN=y
CONFIG_AW882XX_MAPSIZE_16K=y
# CONFIG_MICRON_UFSHID is not set
CONFIG_QUP0_SE2_AP=y
CONFIG_CAMERA_FLASH_PWM=y
CONFIG_CRYPTO_CHACHA20POLY1305=y
# CONFIG_UFSTW is not set
CONFIG_CAM_SENSOR_PROBE_RETRY=y

View file

@ -0,0 +1,41 @@
#
# Please avoid changing the Qualcomm defconfig files and use this file to
# add any Motorola-specific configuration changes that are applicable to
# userdebug, eng, and user builds.
#
# After building, a list of all of the config files that are used can be found
# at the top of:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/mapphone_defconfig
#
# The actual output of the kernel configuration system can be found at:
# out/target/product/$(PRODUCT)/obj/KERNEL_OBJ/.config
#
# You can check the .config file to verify that your configuration option is
# being set as expected.
#
CONFIG_LOCALVERSION="-moto"
CONFIG_MMI_DEVICE_DTBS=y
CONFIG_PSTORE=y
CONFIG_PSTORE_CONSOLE=y
CONFIG_PSTORE_RAM=y
CONFIG_PSTORE_PMSG=y
CONFIG_SERIAL_MSM_GENI_CONSOLE=y
# CONFIG_SMB1398_CHARGER is not set
# CONFIG_SMB1355_SLAVE_CHARGER is not set
CONFIG_SLUB_DEBUG=y
# CONFIG_SLUB_DEBUG_ON is not set
# CONFIG_SLUB_DEBUG_PANIC_ON is not set
CONFIG_BUG_ON_DATA_CORRUPTION=y
CONFIG_SCHED_STACK_END_CHECK=y
CONFIG_MEDIA_USB_SUPPORT=y
CONFIG_USB_VIDEO_CLASS=y
# CONFIG_CORESIGHT_LINK_AND_SINK_TMC is not set
# CONFIG_CORESIGHT_SOURCE_ETM4X is not set
# CONFIG_CORESIGHT_CTI is not set
# CONFIG_CORESIGHT_TPDA is not set
# CONFIG_CORESIGHT_TPDM is not set
# CONFIG_CORESIGHT_HWEVENT is not set
# CONFIG_CORESIGHT_DUMMY is not set
# CONFIG_CORESIGHT_REMOTE_ETM is not set
# CONFIG_CORESIGHT_TGU is not set

View file

@ -20,6 +20,7 @@ CONFIG_IOMMU_IO_PGTABLE_FAST=y
CONFIG_QCOM_LLCC_PERFMON=m
CONFIG_SCHED_WALT=y
CONFIG_QGKI=y
CONFIG_ZRAM=m
CONFIG_REGULATOR_QTI_DEBUG=y
CONFIG_REGMAP_QTI_DEBUG=y
CONFIG_REGMAP_ALLOW_WRITE_DEBUGFS=y
@ -199,3 +200,15 @@ CONFIG_CRYPTO_SHA1_ARM64_CE=y
CONFIG_QTI_CX_IPEAK_COOLING_DEVICE=y
CONFIG_TLB_CONF_HANDLER=y
CONFIG_QTI_DEVFREQ_VDD_COOLING_DEVICE=y
CONFIG_UFSFEATURE=y
CONFIG_UFSHPB=y
CONFIG_UFSTW=y
CONFIG_UFSTW_IGNORE_GUARANTEE_BIT=y
CONFIG_UFSTW_BOOT_ENABLED=y
CONFIG_SCSI_SKHPB=y
CONFIG_MICRON_HPB=y
CONFIG_UFSHID=y
CONFIG_UFSHID_POC=y
CONFIG_SCSI_SKHID=y
# CONFIG_DM_VERITY_AVB is not set
CONFIG_MICRON_UFSHID=y

View file

@ -0,0 +1,51 @@
CONFIG_LOCALVERSION="-qgki-consolidate"
CONFIG_IOMMU_TLBSYNC_DEBUG=y
CONFIG_IOMMU_DEBUG=y
CONFIG_IOMMU_TESTS=y
CONFIG_IO_PGTABLE_PAGE_ACCOUNTING=y
CONFIG_CMA_DEBUGFS=y
CONFIG_CMA_DEBUG=y
CONFIG_DEBUG_PAGEALLOC=y
CONFIG_DEBUG_PAGEALLOC_ENABLE_DEFAULT=y
CONFIG_PAGE_OWNER=y
CONFIG_PAGE_OWNER_ENABLE_DEFAULT=y
CONFIG_PAGE_EXTENSION_PAGE_FREE=y
CONFIG_PSI_FTRACE=y
# CONFIG_DEBUG_DMA_BUF_REF is not set
CONFIG_EDAC_KRYO_ARM64_PANIC_ON_CE=y
CONFIG_QMP_DEBUGFS_CLIENT=y
CONFIG_ATOMIC64_SELFTEST=m
CONFIG_DETECT_HUNG_TASK=y
CONFIG_DEBUG_SPINLOCK=y
CONFIG_TEST_USER_COPY=m
CONFIG_OF_RESERVED_MEM_CHECK=y
CONFIG_BUG_ON_HW_MEM_ONLINE_FAIL=y
CONFIG_PANIC_ON_SCHED_BUG=y
CONFIG_PANIC_ON_RT_THROTTLING=y
CONFIG_LKDTM=m
CONFIG_RUNTIME_TESTING_MENU=y
CONFIG_PREEMPTIRQ_EVENTS=y
CONFIG_SERIAL_MSM_GENI_CONSOLE=y
CONFIG_QCOM_RTB=y
CONFIG_QCOM_RTB_SEPARATE_CPUS=y
CONFIG_QCOM_RTB_QGKI=y
#CONFIG_DEBUG_CONSOLE_UNHASHED_POINTERS is not set
CONFIG_COMMON_CLK_QCOM_DEBUG=y
CONFIG_CNSS2_DEBUG=y
CONFIG_NL80211_TESTMODE=y
CONFIG_EDAC_QCOM_LLCC_PANIC_ON_CE=y
CONFIG_LOCK_TORTURE_TEST=m
CONFIG_RCU_TORTURE_TEST=m
# CONFIG_CDNS_I3C_MASTER is not set
# CONFIG_DW_I3C_MASTER is not set
CONFIG_CORESIGHT_SOURCE_ETM4X=y
# CONFIG_CORESIGHT_CTI_SAVE_DISABLE is not set
CONFIG_MEM_SHARE_QMI_SERVICE=y
CONFIG_MHI_DEBUG=y
CONFIG_SM_DEBUGCC_HOLI=y
CONFIG_DEBUG_PANIC_ON_OOM=y
CONFIG_USB_F_FS_IPC_LOGGING=y
CONFIG_DYNAMIC_DEBUG=y
CONFIG_QTI_PMIC_GLINK_CLIENT_DEBUG=y
# CONFIG_HH_DISABLE_UART is not set
CONFIG_DEBUG_MODULE_LOAD_INFO=y

View file

@ -29,7 +29,7 @@ CONFIG_QCOM_RTB_QGKI=y
CONFIG_IPA_DEBUG=y
CONFIG_IPA_UT=y
CONFIG_MSM_ADSPRPC=y
CONFIG_DEBUG_CONSOLE_UNHASHED_POINTERS=y
#CONFIG_DEBUG_CONSOLE_UNHASHED_POINTERS is not set
CONFIG_COMMON_CLK_QCOM_DEBUG=y
CONFIG_I2C_MSM_GENI=y
CONFIG_SPI_MSM_GENI=y
@ -140,3 +140,6 @@ CONFIG_MMC_IPC_LOGGING=y
CONFIG_CRYPTO_SHA1_ARM64_CE=y
CONFIG_DEBUG_PAGEALLOC=y
CONFIG_DEBUG_PAGEALLOC_ENABLE_DEFAULT=y
CONFIG_DUMP_GPIO_ON_SUSPEND=y
CONFIG_DUMP_CLK_ON_SUSPEND=y
CONFIG_DUMP_REGULATOR_ON_SUSPEND=y

View file

@ -406,6 +406,9 @@ enum binder_prio_state {
* (invariant after initialized)
* @tsk task_struct for group_leader of process
* (invariant after initialized)
* @files files_struct for process
* (protected by @files_lock)
* @files_lock mutex to protect @files
* @deferred_work_node: element for binder_deferred_list
* (protected by binder_deferred_lock)
* @deferred_work: bitmap of deferred work to perform
@ -468,6 +471,8 @@ struct binder_proc {
struct list_head waiting_threads;
int pid;
struct task_struct *tsk;
struct files_struct *files;
struct mutex files_lock;
struct hlist_node deferred_work_node;
int deferred_work;
int outstanding_txns;

View file

@ -17,11 +17,13 @@
#include <trace/hooks/fpsimd.h>
#include <trace/hooks/topology.h>
#include <trace/hooks/debug.h>
#include <trace/hooks/mm.h>
#include <trace/hooks/minidump.h>
#include <trace/hooks/wqlockup.h>
#include <trace/hooks/sysrqcrash.h>
#include <trace/hooks/cgroup.h>
#include <trace/hooks/sys.h>
#include <trace/hooks/vmscan.h>
/*
* Export tracepoints that act as a bare tracehook (ie: have no trace event
@ -71,5 +73,14 @@ EXPORT_TRACEPOINT_SYMBOL_GPL(android_vh_sysrq_crash);
EXPORT_TRACEPOINT_SYMBOL_GPL(android_rvh_find_busiest_group);
EXPORT_TRACEPOINT_SYMBOL_GPL(android_vh_map_util_freq);
EXPORT_TRACEPOINT_SYMBOL_GPL(android_vh_em_pd_energy);
EXPORT_TRACEPOINT_SYMBOL_GPL(android_vh_rmqueue);
EXPORT_TRACEPOINT_SYMBOL_GPL(android_vh_cgroup_set_task);
EXPORT_TRACEPOINT_SYMBOL_GPL(android_vh_syscall_prctl_finished);
EXPORT_TRACEPOINT_SYMBOL_GPL(android_vh_tune_scan_type);
EXPORT_TRACEPOINT_SYMBOL_GPL(android_vh_tune_swappiness);
EXPORT_TRACEPOINT_SYMBOL_GPL(android_vh_tune_inactive_ratio);
EXPORT_TRACEPOINT_SYMBOL_GPL(android_vh_mem_cgroup_id_remove);
EXPORT_TRACEPOINT_SYMBOL_GPL(android_vh_mem_cgroup_css_offline);
EXPORT_TRACEPOINT_SYMBOL_GPL(android_vh_mem_cgroup_css_online);
EXPORT_TRACEPOINT_SYMBOL_GPL(android_vh_mem_cgroup_free);
EXPORT_TRACEPOINT_SYMBOL_GPL(android_vh_mem_cgroup_alloc);

View file

@ -25,6 +25,7 @@
#include <linux/genhd.h>
#include <linux/highmem.h>
#include <linux/slab.h>
#include <linux/swap.h>
#include <linux/backing-dev.h>
#include <linux/string.h>
#include <linux/vmalloc.h>
@ -1636,6 +1637,27 @@ static void zram_slot_free_notify(struct block_device *bdev,
zram_slot_unlock(zram, index);
}
/* Moto huangzq2: check sync_io state on swap entry,
* return 0 on wb page, else return 1.
*/
#ifdef CONFIG_ZRAM_WRITEBACK
static int zram_ioctl(struct block_device *bdev, fmode_t mode,
unsigned int cmd, unsigned long index)
{
struct zram *zram;
int has_sync_io = 1;
if (cmd != SWP_SYNCHRONOUS_IO) return -EINVAL;
zram = bdev->bd_disk->private_data;
zram_slot_lock(zram, index);
has_sync_io = zram_test_flag(zram, index, ZRAM_WB) ? 0 : 1;
zram_slot_unlock(zram, index);
return has_sync_io;
}
#endif
static int zram_rw_page(struct block_device *bdev, sector_t sector,
struct page *page, unsigned int op)
{
@ -1828,6 +1850,9 @@ static int zram_open(struct block_device *bdev, fmode_t mode)
static const struct block_device_operations zram_devops = {
.open = zram_open,
.swap_slot_free_notify = zram_slot_free_notify,
#ifdef CONFIG_ZRAM_WRITEBACK
.ioctl = zram_ioctl,
#endif
.rw_page = zram_rw_page,
.owner = THIS_MODULE
};

View file

@ -145,7 +145,7 @@ int btfm_slim_enable_ch(struct btfmslim *btfmslim, struct btfmslim_ch *ch,
if (!btfmslim || !ch)
return -EINVAL;
BTFMSLIM_DBG("port: %d ch: %d", ch->port, ch->ch);
BTFMSLIM_INFO("port: %d ch: %d", ch->port, ch->ch);
/* Define the channel with below parameters */
prop.prot = ((rates == 44100) || (rates == 88200)) ?

View file

@ -3489,7 +3489,7 @@ static const struct file_operations clk_enabled_list_fops = {
.release = seq_release,
};
static u32 debug_suspend;
static u32 debug_suspend = IS_ENABLED(CONFIG_DUMP_CLK_ON_SUSPEND);
/*
* Print the names of all enabled clocks and their parents if

View file

@ -123,6 +123,10 @@ static void cluster_prepare(struct lpm_cluster *cluster,
static bool sleep_disabled;
module_param_named(sleep_disabled, sleep_disabled, bool, 0664);
#ifdef CONFIG_DEBUG_FS
extern void gpio_debug_print_enabled(void);
#endif
#ifdef CONFIG_SMP
static int lpm_cpu_qos_notify(struct notifier_block *nb,
unsigned long val, void *ptr);
@ -1119,6 +1123,9 @@ static int cluster_configure(struct lpm_cluster *cluster, int idx,
if (!from_idle) {
clock_debug_print_enabled();
regulator_debug_print_enabled();
#ifdef CONFIG_DEBUG_FS
gpio_debug_print_enabled();
#endif
}
cpu = get_next_online_cpu(from_idle);

View file

@ -433,6 +433,11 @@ static long dma_buf_ioctl(struct file *file,
ret = dma_buf_begin_cpu_access(dmabuf, direction);
return ret;
#ifdef CONFIG_DEBUG_FS
case DMA_BUF_IOCTL_IMPORT_BUF_ADD_BY_MOTO:
dmabuf->ops->import_buf_add_by_moto(dmabuf);
return 0;
#endif
case DMA_BUF_SET_NAME_A:
case DMA_BUF_SET_NAME_B:

View file

@ -1,8 +1,12 @@
# SPDX-License-Identifier: GPL-2.0-only
config QTI_TZ_LOG
tristate "QTI Trust Zone (TZ) Log Driver"
depends on DEBUG_FS
help
This option enables a driver with a debugfs interface for messages
produced by the Secure code (Trust zone). These messages provide
diagnostic information about TZ operation.
config MSM_TZ_QSEE_LOG
bool "enable print QSEE log to kernel log"
depends on QTI_TZ_LOG
help
Set to enable print MSM Trust Zone (TZ) QSEE log to kernel log

View file

@ -19,6 +19,15 @@
#include <linux/qcom_scm.h>
#include <soc/qcom/qseecomi.h>
#include <linux/qtee_shmbridge.h>
#ifdef CONFIG_MSM_TZ_QSEE_LOG
#include <linux/vmalloc.h>
#endif
#ifndef CONFIG_DEBUG_FS
#include <linux/proc_fs.h>
static struct proc_dir_entry *tzdbg_root;
#define TZDBG_ROOT_DIR "tzdbg"
#endif
/* QSEE_LOG_BUF_SIZE = 32K */
#define QSEE_LOG_BUF_SIZE 0x8000
@ -382,7 +391,16 @@ struct tzdbg_stat {
char *name;
char *data;
};
//print qsee log to kernel log
#ifdef CONFIG_MSM_TZ_QSEE_LOG
#ifdef CONFIG_DEBUG_FS
static bool enable_printk_qseelog = false;
#else
static bool enable_printk_qseelog = false;
#endif
#define PRINTK_LIMIT 1024
static char *b_str = NULL;
#endif
struct tzdbg {
void __iomem *virt_iobase;
void __iomem *hyp_virt_iobase;
@ -396,6 +414,10 @@ struct tzdbg {
uint32_t tz_version;
bool is_encrypted_log_enabled;
bool is_enlarged_buf;
#ifdef CONFIG_MSM_TZ_QSEE_LOG
struct workqueue_struct *heartbeat_work_q;
struct work_struct heartbeat_work;
#endif
};
struct tzbsp_encr_log_t {
@ -1086,7 +1108,11 @@ static ssize_t tzdbgfs_read_unencrypted(struct file *file, char __user *buf,
size_t count, loff_t *offp)
{
int len = 0;
#ifdef CONFIG_DEBUG_FS
int tz_id = *(int *)(file->private_data);
#else
int tz_id = *(int *)(long)PDE_DATA(file_inode(file));
#endif
if (tz_id == TZDBG_BOOT || tz_id == TZDBG_RESET ||
tz_id == TZDBG_INTERRUPT || tz_id == TZDBG_GENERAL ||
@ -1150,7 +1176,11 @@ static ssize_t tzdbgfs_read_encrypted(struct file *file, char __user *buf,
size_t count, loff_t *offp)
{
int len = 0, ret = 0;
#ifdef CONFIG_DEBUG_FS
int tz_id = *(int *)(file->private_data);
#else
int tz_id = *(int *)(long)PDE_DATA(file_inode(file));
#endif
struct tzdbg_stat *stat = &(tzdbg.stat[tz_id]);
pr_debug("%s: tz_id = %d\n", __func__, tz_id);
@ -1190,7 +1220,11 @@ static ssize_t tzdbgfs_read_encrypted(struct file *file, char __user *buf,
static ssize_t tzdbgfs_read(struct file *file, char __user *buf,
size_t count, loff_t *offp)
{
#ifdef CONFIG_DEBUG_FS
int tz_id = *(int *)(file->private_data);
#else
int tz_id = *(int *)(long)PDE_DATA(file_inode(file));
#endif
if (!tzdbg.is_encrypted_log_enabled ||
(tz_id == TZDBG_HYP_GENERAL || tz_id == TZDBG_HYP_LOG))
@ -1348,6 +1382,7 @@ static void tzdbg_free_encrypted_log_buf(struct platform_device *pdev)
static int tzdbgfs_init(struct platform_device *pdev)
{
#ifdef CONFIG_DEBUG_FS
int rc = 0;
int i;
struct dentry *dent_dir;
@ -1376,13 +1411,47 @@ err:
debugfs_remove_recursive(dent_dir);
return rc;
#else
int rc = 0;
int i;
struct proc_dir_entry *proc_d_entry = NULL;
tzdbg_root = proc_mkdir(TZDBG_ROOT_DIR, NULL);
if (NULL == tzdbg_root) {
dev_err(&pdev->dev, "Created dir /proc/%s error!\n", TZDBG_ROOT_DIR);
return -1;
}
dev_info(&pdev->dev, "Created dir /proc/%s \n", TZDBG_ROOT_DIR);
for (i = 0; i < TZDBG_STATS_MAX; i++) {
tzdbg.debug_tz[i] = i;
proc_d_entry = proc_create_data(tzdbg.stat[i].name, 0444, tzdbg_root, &tzdbg_fops, &tzdbg.debug_tz[i]);
if (proc_d_entry == NULL) {
dev_err(&pdev->dev, "TZ proc_create_data %s failed\n", tzdbg.stat[i].name);
rc = -ENOMEM;
goto err;
}
}
platform_set_drvdata(pdev, tzdbg_root);
return 0;
err:
remove_proc_subtree(TZDBG_ROOT_DIR, NULL);
return rc;
#endif
}
static void tzdbgfs_exit(struct platform_device *pdev)
{
#ifdef CONFIG_DEBUG_FS
struct dentry *dent_dir;
dent_dir = platform_get_drvdata(pdev);
debugfs_remove_recursive(dent_dir);
#else
remove_proc_subtree(TZDBG_ROOT_DIR, NULL);
#endif
}
static int __update_hypdbg_base(struct platform_device *pdev,
@ -1479,6 +1548,263 @@ static void tzdbg_query_encrypted_log(void)
}
}
#ifdef CONFIG_MSM_TZ_QSEE_LOG
static int splitline_printk(const char *str, int len)
{
int cnt = 0;
char *s = "\n";
char *b_str_tmp = NULL;
char *buf = NULL;
if (b_str == NULL && debug_rw_buf_size >0 ) {
b_str = (char *)vmalloc(debug_rw_buf_size +1);
}
if(len> debug_rw_buf_size) {
pr_err("[TEE-AP]:log is more than max len. trancate \n");
len = debug_rw_buf_size;
}
b_str_tmp = b_str;
memcpy(b_str_tmp, str, len);
b_str_tmp[len] = 0;
buf = strstr(b_str_tmp, s);
while (buf != NULL) {
cnt++;
buf[0] = '\0';
pr_err("[TEE]: %s \n",b_str_tmp);
b_str_tmp = buf + strlen(s);
buf = strstr(b_str_tmp, s);
}
return 0;
}
static int _print_qsee_log_stats(struct tzdbg_log_t *log,
struct tzdbg_log_pos_t *log_start, uint32_t log_len
)
{
uint32_t wrap_start;
uint32_t wrap_end;
uint32_t wrap_cnt;
int max_len;
int len = 0;
int i = 0;
wrap_start = log_start->wrap;
wrap_end = log->log_pos.wrap;
/* Calculate difference in # of buffer wrap-arounds */
if (wrap_end >= wrap_start) {
wrap_cnt = wrap_end - wrap_start;
} else {
/* wrap counter has wrapped around, invalidate start position */
wrap_cnt = 2;
}
if (wrap_cnt > 1) {
/* end position has wrapped around more than once, */
/* current start no longer valid */
log_start->wrap = log->log_pos.wrap - 1;
log_start->offset = (log->log_pos.offset + 1) % log_len;
} else if ((wrap_cnt == 1) &&
(log->log_pos.offset > log_start->offset)) {
/* end position has overwritten start */
log_start->offset = (log->log_pos.offset + 1) % log_len;
}
while (log_start->offset == log->log_pos.offset) {
/*
* No data in ring buffer,
* so we'll hang around until something happens
*/
unsigned long t = msleep_interruptible(50);
if (t != 0) {
/* Some event woke us up, so let's quit */
return 0;
}
}
max_len = debug_rw_buf_size;
/*
* Read from ring buff while there is data and space in return buff
*/
while ((log_start->offset != log->log_pos.offset) && (len < max_len)) {
tzdbg.disp_buf[i++] = log->log_buf[log_start->offset];
log_start->offset = (log_start->offset + 1) % log_len;
if (log_start->offset == 0)
++log_start->wrap;
++len;
}
/*
* return buffer to caller
*/
tzdbg.stat[TZDBG_QSEE_LOG].data = tzdbg.disp_buf;
/*
* print the display buffer
*/
splitline_printk(tzdbg.stat[TZDBG_QSEE_LOG].data,len);
return len;
}
static int _print_qsee_log_v2_stats(struct tzdbg_log_v2_t *log,
struct tzdbg_log_pos_v2_t *log_start, uint32_t log_len)
{
uint32_t wrap_start;
uint32_t wrap_end;
uint32_t wrap_cnt;
int max_len;
int len = 0;
int i = 0;
wrap_start = log_start->wrap;
wrap_end = log->log_pos.wrap;
/* Calculate difference in # of buffer wrap-arounds */
if (wrap_end >= wrap_start)
wrap_cnt = wrap_end - wrap_start;
else {
/* wrap counter has wrapped around, invalidate start position */
wrap_cnt = 2;
}
if (wrap_cnt > 1) {
/* end position has wrapped around more than once, */
/* current start no longer valid */
log_start->wrap = log->log_pos.wrap - 1;
log_start->offset = (log->log_pos.offset + 1) % log_len;
} else if ((wrap_cnt == 1) &&
(log->log_pos.offset > log_start->offset)) {
/* end position has overwritten start */
log_start->offset = (log->log_pos.offset + 1) % log_len;
}
pr_debug("diag_buf wrap = %u, offset = %u\n",
log->log_pos.wrap, log->log_pos.offset);
while (log_start->offset == log->log_pos.offset) {
/*
* No data in ring buffer,
* so we'll hang around until something happens
*/
unsigned long t = msleep_interruptible(50);
if (t != 0) {
/* Some event woke us up, so let's quit */
return 0;
}
}
max_len = debug_rw_buf_size;
pr_debug("diag_buf wrap = %u, offset = %u\n",
log->log_pos.wrap, log->log_pos.offset);
/*
* Read from ring buff while there is data and space in return buff
*/
while ((log_start->offset != log->log_pos.offset) && (len < max_len)) {
tzdbg.disp_buf[i++] = log->log_buf[log_start->offset];
log_start->offset = (log_start->offset + 1) % log_len;
if (log_start->offset == 0)
++log_start->wrap;
++len;
}
/*
* return buffer to caller
*/
tzdbg.stat[TZDBG_QSEE_LOG].data = tzdbg.disp_buf;
/*
* print the display buffer
*/
splitline_printk(tzdbg.stat[TZDBG_QSEE_LOG].data,len);
return len;
}
static _print_encrpted_qsee_log_stats(struct encrypted_log_info *enc_log_info)
{
int ret = 0, len = 0;
struct tzbsp_encr_log_t *encr_log_head;
uint32_t size = 0;
ret = qcom_scm_request_encrypted_log(enc_log_info->paddr,
enc_log_info->size, ENCRYPTED_QSEE_LOG_ID);
if (ret)
return 0;
encr_log_head = (struct tzbsp_encr_log_t *)(enc_log_info->vaddr);
pr_debug("display_buf_size = %d, encr_log_buff_size = %d\n",
display_buf_size, encr_log_head->encr_log_buff_size);
size = encr_log_head->encr_log_buff_size;
len += scnprintf(tzdbg.disp_buf + len,
(display_buf_size - 1) - len,
"\n-------- New Encrypted QSEE Log --------\n");
len += scnprintf(tzdbg.disp_buf + len,
(display_buf_size - 1) - len,
"\nMagic_Num :\n0x%x\n"
"\nVerion :\n%d\n"
"\nEncr_Log_Buff_Size :\n%d\n"
"\nWrap_Count :\n%d\n",
encr_log_head->magic_num,
encr_log_head->version,
encr_log_head->encr_log_buff_size,
encr_log_head->wrap_count);
len += print_text("\nKey : ", encr_log_head->key,
TZBSP_AES_256_ENCRYPTED_KEY_SIZE,
tzdbg.disp_buf + len, display_buf_size);
len += print_text("\nNonce : ", encr_log_head->nonce,
TZBSP_NONCE_LEN,
tzdbg.disp_buf + len, display_buf_size - len);
len += print_text("\nTag : ", encr_log_head->tag,
TZBSP_TAG_LEN,
tzdbg.disp_buf + len, display_buf_size - len);
if (len > display_buf_size - size)
pr_warn("Cannot fit all info into the buffer\n");
pr_debug("encrypted log size %d, disply buffer size %d, used len %d\n",
size, display_buf_size, len);
len += print_text("\nLog : ", encr_log_head->log_buf, size,
tzdbg.disp_buf + len, display_buf_size - len);
memset(enc_log_info->vaddr, 0, enc_log_info->size);
tzdbg.stat[TZDBG_QSEE_LOG].data = tzdbg.disp_buf;
/*
* print the display buffer
*/
splitline_printk(tzdbg.stat[TZDBG_QSEE_LOG].data,len);
return len;
}
static void tzdbg_heartbeat_work(struct work_struct *work)
{
static struct tzdbg_log_pos_t log_start = {0};
static struct tzdbg_log_pos_v2_t log_start_v2 = {0};
if(enable_printk_qseelog) {
pr_debug("[TEE] qsee log -------------begin---\n");
if (!tzdbg.is_encrypted_log_enabled) {
if (!tzdbg.is_enlarged_buf)
_print_qsee_log_stats(g_qsee_log, &log_start,
QSEE_LOG_BUF_SIZE - sizeof(struct tzdbg_log_pos_t));
else
_print_qsee_log_v2_stats(g_qsee_log_v2, &log_start_v2,
QSEE_LOG_BUF_SIZE_V2 - sizeof(struct tzdbg_log_pos_v2_t));
}else{
_print_encrpted_qsee_log_stats(&enc_qseelog_info);
}
pr_debug("[TEE] qsee log -------------end---\n");
queue_work(tzdbg.heartbeat_work_q ,
&tzdbg.heartbeat_work
);
}
}
#endif
/*
* Driver functions
*/
@ -1596,6 +1922,15 @@ static int tz_log_probe(struct platform_device *pdev)
if (tzdbgfs_init(pdev))
goto exit_free_disp_buf;
#ifdef CONFIG_MSM_TZ_QSEE_LOG
if(enable_printk_qseelog) {
tzdbg.heartbeat_work_q = create_singlethread_workqueue("tz_heartbeat");
INIT_WORK(&tzdbg.heartbeat_work,
tzdbg_heartbeat_work);
queue_work(tzdbg.heartbeat_work_q, &tzdbg.heartbeat_work);
dev_err(&pdev->dev, "%s: enable_printk_qseelog is set, is_enlarged=%d is_encrypted=%d\n", __func__,tzdbg.is_enlarged_buf,tzdbg.is_encrypted_log_enabled);
}
#endif
return 0;
exit_free_disp_buf:
@ -1613,6 +1948,12 @@ exit_free_diag_buf:
static int tz_log_remove(struct platform_device *pdev)
{
#ifdef CONFIG_MSM_TZ_QSEE_LOG
if(enable_printk_qseelog) {
enable_printk_qseelog = false;
flush_work(&tzdbg.heartbeat_work);
}
#endif
tzdbgfs_exit(pdev);
dma_free_coherent(&pdev->dev, display_buf_size,
(void *)tzdbg.disp_buf, disp_buf_paddr);
@ -1639,6 +1980,14 @@ static struct platform_driver tz_log_driver = {
};
module_platform_driver(tz_log_driver);
#ifdef CONFIG_MSM_TZ_QSEE_LOG
static int __init setup_enable_printk_qseelog(char *buf)
{
enable_printk_qseelog = true;
return 0;
}
early_param("printk_qseelog", setup_enable_printk_qseelog);
#endif
MODULE_LICENSE("GPL v2");
MODULE_DESCRIPTION("TZ Log driver");

View file

@ -28,6 +28,10 @@
#define MAX_QCOM_SCM_ARGS 10
#define MAX_QCOM_SCM_RETS 3
#define SCM_SVC_MOBICORE 250
#define SCM_CMD_MOBICORE 1
#define ARM_SMCCC_OWNER_MOBI_OS 51
#define QCOM_SCM_ATOMIC BIT(0)
#define QCOM_SCM_NORETRY BIT(1)
@ -2388,6 +2392,70 @@ int __qcom_scm_invoke_smc(struct device *dev, phys_addr_t in_buf,
return ret;
}
int __trustonic_smc_fastcall(void *fc_generic, size_t size)
{
int ret = 0;
struct qcom_scm_desc desc = {
.svc = SCM_SVC_MOBICORE,
.cmd = SCM_CMD_MOBICORE,
.owner = ARM_SMCCC_OWNER_MOBI_OS
};
void *scm_buf_va = NULL;
phys_addr_t scm_buf_pa = 0;
struct qtee_shm scm_shm = {0};
if (qtee_shmbridge_is_enabled()) {
ret = qtee_shmbridge_allocate_shm(PAGE_ALIGN(size), &scm_shm);
if (ret)
return ret;
}
else {
scm_shm.vaddr = kzalloc(PAGE_ALIGN(size), GFP_KERNEL);
if (!scm_shm.vaddr)
return -ENOMEM;
scm_shm.paddr = dma_map_single(NULL, scm_shm.vaddr, size, DMA_TO_DEVICE);
if (dma_mapping_error(NULL, scm_shm.paddr)) {
kfree(scm_shm.vaddr);
return -ENOMEM;
}
}
scm_buf_va = scm_shm.vaddr;
scm_buf_pa = scm_shm.paddr;
if (!scm_buf_va)
return -ENOMEM;
memset(scm_buf_va, 0, size);
memcpy(scm_buf_va, fc_generic, size);
qtee_shmbridge_flush_shm_buf(&scm_shm);
desc.args[0] = scm_buf_pa;
desc.args[1] = (u32)size;
desc.args[2] = scm_buf_pa;
desc.args[3] = (u32)size;
desc.arginfo = QCOM_SCM_ARGS(4, QCOM_SCM_RW, QCOM_SCM_VAL, QCOM_SCM_RW, QCOM_SCM_VAL);
ret = qcom_scm_call(NULL, &desc);
qtee_shmbridge_inv_shm_buf(&scm_shm);
memset(fc_generic, 0x00, size);
memcpy(fc_generic, scm_buf_va, size);
if (qtee_shmbridge_is_enabled()) {
qtee_shmbridge_free_shm(&scm_shm);
}
else {
dma_unmap_single(NULL, scm_shm.paddr, size, DMA_TO_DEVICE);
kfree(scm_shm.vaddr);
}
return ret;
}
int __qcom_scm_invoke_callback_response(struct device *dev, phys_addr_t out_buf,
size_t out_buf_size, int32_t *result, u64 *response_type,
unsigned int *data)

View file

@ -1084,6 +1084,12 @@ int qcom_scm_invoke_smc(phys_addr_t in_buf, size_t in_buf_size,
}
EXPORT_SYMBOL(qcom_scm_invoke_smc);
int trustonic_smc_fastcall(void *fc_generic, size_t size)
{
return __trustonic_smc_fastcall(fc_generic, size);
}
EXPORT_SYMBOL(trustonic_smc_fastcall);
int qcom_scm_invoke_callback_response(phys_addr_t out_buf,
size_t out_buf_size, int32_t *result, u64 *response_type,
unsigned int *data)

View file

@ -297,6 +297,7 @@ extern int __qcom_scm_invoke_smc_legacy(struct device *dev, phys_addr_t in_buf,
extern int __qcom_scm_invoke_smc(struct device *dev, phys_addr_t in_buf,
size_t in_buf_size, phys_addr_t out_buf, size_t out_buf_size,
int32_t *result, u64 *response_type, unsigned int *data);
extern int __trustonic_smc_fastcall(void *fc_generic, size_t size);
extern int __qcom_scm_invoke_callback_response(struct device *dev,
phys_addr_t out_buf, size_t out_buf_size, int32_t *result,
u64 *response_type, unsigned int *data);

View file

@ -5064,6 +5064,104 @@ static int gpiolib_seq_show(struct seq_file *s, void *v)
return 0;
}
static u32 debug_gpio = IS_ENABLED(CONFIG_DUMP_GPIO_ON_SUSPEND);
void gpio_debug_print_enabled(void)
{
unsigned long flags;
struct gpio_device *gdev = NULL;
struct seq_file *s;
int back;
if (likely(!debug_gpio))
{
return;
}
printk("======================= Dump GPIO status begin =======================");
spin_lock_irqsave(&gpio_lock, flags);
s = kzalloc(sizeof(struct seq_file), GFP_KERNEL);
if(s == NULL)
{
printk("hxy struct seq file failed to alloc memory");
return;
}
s->index = 0;
s->version = 0;
s->count = s->from = 0;
s->read_pos= 0;
s->private = NULL;
s->file = NULL;
s->op = NULL;
s->private = "";
s->buf = kzalloc(s->size = PAGE_SIZE,GFP_KERNEL_ACCOUNT);
if (!s->buf)
{
printk("hxy seq file buffer failed to alloc memory %d bytes",s->size);
kfree(s );
return ;
}
list_for_each_entry(gdev, &gpio_devices, list)
{
try_again:
s->count = 0;
back=s->count;
gpiolib_seq_show(s,gdev);
if(s->count >= s->size)
{
kfree(s->buf );
s->buf = kzalloc(s->size = (s->size*2),GFP_KERNEL_ACCOUNT);
if (!s->buf)
{
printk("hxy seq file buffer failed to alloc memory %d bytes",s->size);
kfree(s );
return ;
}
goto try_again;
}
s->buf[s->count] = '\0';
{
char tt[256];
char *ptr;
char *ptr1;
int n;
int loop;
ptr1=s->buf+back;
ptr=strstr(ptr1,"\x0a");
loop=0;
while(ptr != NULL && (loop++ < 500) && (ptr < (s->buf+ s->size)))
{
n=ptr-ptr1;
strncpy(tt,ptr1,n);
tt[n]='\0';
printk(" %s",tt);
ptr1 = ptr+strlen("\x0a");
ptr=strstr(ptr1,"\x0a");
}
}
}
if(s->buf != NULL)
{
kfree(s->buf );
s->buf = NULL;
}
if(s != NULL)
{
kfree(s );
s = NULL;
}
spin_unlock_irqrestore(&gpio_lock, flags);
printk("======================= Dump GPIO status end =======================");
}
EXPORT_SYMBOL(gpio_debug_print_enabled);
static const struct seq_operations gpiolib_seq_ops = {
.start = gpiolib_seq_start,
.next = gpiolib_seq_next,
@ -5089,6 +5187,7 @@ static int __init gpiolib_debugfs_init(void)
/* /sys/kernel/debug/gpio */
debugfs_create_file("gpio", S_IFREG | S_IRUGO, NULL, NULL,
&gpiolib_operations);
debugfs_create_u32("debug_gpio", 0644, NULL, &debug_gpio);
return 0;
}
subsys_initcall(gpiolib_debugfs_init);

View file

@ -145,6 +145,14 @@ config I2C_DEBUG_BUS
a problem with I2C support and want to see more of what is going
on.
config QCOM_I2C_NACK_ERR_WA
bool "I2C Bus nack err for fac"
default 'n'
help
Say Y here if you want the I2C bus drivers to produce a bunch of
debug messages to the system log. Select this if you are having
a problem with I2C support and want to see more of what is going
on.
endif # I2C
endmenu

View file

@ -79,6 +79,10 @@
#define MAX_SE 20
#if IS_ENABLED(CONFIG_QCOM_I2C_NACK_ERR_WA)
u8 i2c_wt6670_dl_mode = 0;
#endif
enum i2c_se_mode {
UNINITIALIZED,
FIFO_SE_DMA,
@ -135,7 +139,6 @@ struct geni_i2c_dev {
bool first_resume;
bool gpi_reset;
bool disable_dma_mode;
bool prev_cancel_pending; //Halt cancel till IOS in good state
bool is_i2c_rtl_based; /* doing pending cancel only for rtl based SE's */
atomic_t is_xfer_in_progress; /* Used to maintain xfer inprogress status */
};
@ -246,58 +249,6 @@ err_ret:
gi2c->err = gi2c_log[err].err;
}
static int do_pending_cancel(struct geni_i2c_dev *gi2c)
{
int timeout = 0;
u32 geni_ios = 0;
/* doing pending cancel only rtl based SE's */
if (!gi2c->is_i2c_rtl_based)
return 0;
geni_ios = geni_read_reg_nolog(gi2c->base, SE_GENI_IOS);
if ((geni_ios & 0x3) != 0x3) {
/* Try to restore IOS with FORCE_DEFAULT */
GENI_SE_ERR(gi2c->ipcl, true, gi2c->dev,
"%s: IOS:0x%x, bad state\n", __func__, geni_ios);
geni_write_reg(FORCE_DEFAULT,
gi2c->base, GENI_FORCE_DEFAULT_REG);
geni_ios = geni_read_reg_nolog(gi2c->base, SE_GENI_IOS);
if ((geni_ios & 0x3) != 0x3) {
GENI_SE_ERR(gi2c->ipcl, true, gi2c->dev,
"%s: IOS:0x%x, Fix from Slave side\n",
__func__, geni_ios);
return -EINVAL;
}
GENI_SE_ERR(gi2c->ipcl, true, gi2c->dev,
"%s: IOS:0x%x restored properly\n", __func__, geni_ios);
}
if (gi2c->se_mode == GSI_ONLY) {
dmaengine_terminate_all(gi2c->tx_c);
gi2c->cfg_sent = 0;
} else {
reinit_completion(&gi2c->xfer);
geni_cancel_m_cmd(gi2c->base);
timeout = wait_for_completion_timeout(&gi2c->xfer, HZ);
if (!timeout) {
GENI_SE_ERR(gi2c->ipcl, true, gi2c->dev,
"%s:Pending Cancel failed\n", __func__);
reinit_completion(&gi2c->xfer);
geni_abort_m_cmd(gi2c->base);
timeout = wait_for_completion_timeout(&gi2c->xfer, HZ);
if (!timeout)
GENI_SE_ERR(gi2c->ipcl, true, gi2c->dev,
"%s:Abort failed\n", __func__);
}
}
gi2c->prev_cancel_pending = false;
GENI_SE_ERR(gi2c->ipcl, true, gi2c->dev,
"%s: Pending Cancel done\n", __func__);
return timeout;
}
static int geni_i2c_prepare(struct geni_i2c_dev *gi2c)
{
if (gi2c->se_mode == UNINITIALIZED) {
@ -346,6 +297,15 @@ static irqreturn_t geni_i2c_irq(int irq, void *dev)
u32 dma = readl_relaxed(gi2c->base + SE_GENI_DMA_MODE_EN);
struct i2c_msg *cur = gi2c->cur;
#if IS_ENABLED(CONFIG_QCOM_I2C_NACK_ERR_WA)
//wt6670 download mode i2c addr
if(cur[0].addr == 0x2B){
i2c_wt6670_dl_mode = 1;
} else if(cur[0].addr == 0x35){
i2c_wt6670_dl_mode = 0;
}
#endif
if (!cur) {
geni_se_dump_dbg_regs(&gi2c->i2c_rsc, gi2c->base, gi2c->ipcl);
GENI_SE_ERR(gi2c->ipcl, false, gi2c->dev, "Spurious irq\n");
@ -358,8 +318,15 @@ static irqreturn_t geni_i2c_irq(int irq, void *dev)
(m_stat & M_CMD_ABORT_EN) ||
(m_stat & M_GP_IRQ_1_EN)) {
#if IS_ENABLED(CONFIG_QCOM_I2C_NACK_ERR_WA)
if(i2c_wt6670_dl_mode == 0){
if (m_stat & M_GP_IRQ_1_EN)
geni_i2c_err(gi2c, I2C_NACK);
}
#else
if (m_stat & M_GP_IRQ_1_EN)
geni_i2c_err(gi2c, I2C_NACK);
#endif
if (m_stat & M_GP_IRQ_3_EN)
geni_i2c_err(gi2c, I2C_BUS_PROTO);
if (m_stat & M_GP_IRQ_4_EN)
@ -994,8 +961,6 @@ static int geni_i2c_gsi_xfer(struct i2c_adapter *adap, struct i2c_msg msgs[],
timeout = wait_for_completion_timeout(&gi2c->xfer,
gi2c->xfer_timeout);
if (!timeout) {
u32 geni_ios = 0;
GENI_SE_ERR(gi2c->ipcl, true, gi2c->dev,
"I2C gsi xfer timeout:%u flags:%d addr:0x%x\n",
gi2c->xfer_timeout, gi2c->cur->flags,
@ -1003,18 +968,6 @@ static int geni_i2c_gsi_xfer(struct i2c_adapter *adap, struct i2c_msg msgs[],
geni_se_dump_dbg_regs(&gi2c->i2c_rsc, gi2c->base,
gi2c->ipcl);
gi2c->err = -ETIMEDOUT;
/* WAR: Set flag to mark cancel pending if IOS stuck */
geni_ios = geni_read_reg_nolog(gi2c->base, SE_GENI_IOS);
if ((geni_ios & 0x3) != 0x3) { //SCL:b'1, SDA:b'0
GENI_SE_DBG(gi2c->ipcl, true, gi2c->dev,
"%s: IO lines not in good state\n", __func__);
/* doing pending cancel only rtl based SE's */
if (gi2c->is_i2c_rtl_based) {
gi2c->prev_cancel_pending = true;
goto geni_i2c_gsi_cancel_pending;
}
}
}
geni_i2c_err_prep_sg:
if (gi2c->err) {
@ -1037,7 +990,6 @@ geni_i2c_err_prep_sg:
/* Resend cfg tre for every new message on shared se */
gi2c->cfg_sent = 0;
geni_i2c_gsi_cancel_pending:
if (msgs[i].flags & I2C_M_RD)
geni_se_iommu_unmap_buf(rx_dev, &gi2c->rx_ph,
msgs[i].len, DMA_FROM_DEVICE);
@ -1065,6 +1017,14 @@ static int geni_i2c_xfer(struct i2c_adapter *adap,
gi2c->err = 0;
atomic_set(&gi2c->is_xfer_in_progress, 1);
#if IS_ENABLED(CONFIG_QCOM_I2C_NACK_ERR_WA)
//wt6670 download mode i2c addr
if(msgs[0].addr == 0x2B){
i2c_wt6670_dl_mode = 1;
} else if( msgs[0].addr == 0x35){
i2c_wt6670_dl_mode = 0;
}
#endif
/* Client to respect system suspend */
if (!pm_runtime_enabled(gi2c->dev)) {
GENI_SE_ERR(gi2c->ipcl, false, gi2c->dev,
@ -1086,17 +1046,6 @@ static int geni_i2c_xfer(struct i2c_adapter *adap,
}
}
// WAR : Complete previous pending cancel cmd
if (gi2c->prev_cancel_pending) {
ret = do_pending_cancel(gi2c);
if (ret) {
pm_runtime_mark_last_busy(gi2c->dev);
pm_runtime_put_autosuspend(gi2c->dev);
atomic_set(&gi2c->is_xfer_in_progress, 0);
return ret; //Don't perform xfer is cancel failed
}
}
GENI_SE_DBG(gi2c->ipcl, false, gi2c->dev,
"n:%d addr:0x%x\n", num, msgs[0].addr);
@ -1214,23 +1163,9 @@ static int geni_i2c_xfer(struct i2c_adapter *adap,
timeout = wait_for_completion_timeout(&gi2c->xfer,
gi2c->xfer_timeout);
if (!timeout) {
u32 geni_ios = 0;
GENI_SE_ERR(gi2c->ipcl, true, gi2c->dev,
"I2C xfer timeout: %d\n", gi2c->xfer_timeout);
geni_i2c_err(gi2c, GENI_TIMEOUT);
/* WAR: Set flag to mark cancel pending if IOS bad */
geni_ios = geni_read_reg_nolog(gi2c->base, SE_GENI_IOS);
if ((geni_ios & 0x3) != 0x3) { //SCL:b'1, SDA:b'0
GENI_SE_DBG(gi2c->ipcl, true, gi2c->dev,
"%s: IO lines not in good state\n", __func__);
/* doing pending cancel only rtl based SE's */
if (gi2c->is_i2c_rtl_based) {
gi2c->prev_cancel_pending = true;
goto geni_i2c_txn_ret;
}
}
}
if (gi2c->err) {
@ -1272,6 +1207,15 @@ static int geni_i2c_xfer(struct i2c_adapter *adap,
if (gi2c->err) {
GENI_SE_ERR(gi2c->ipcl, true, gi2c->dev,
"i2c error :%d\n", gi2c->err);
#if IS_ENABLED(CONFIG_QCOM_I2C_NACK_ERR_WA)
if(i2c_wt6670_dl_mode == 1){
if(gi2c->err == gi2c_log[I2C_NACK].err) {
GENI_SE_ERR(gi2c->ipcl, true, gi2c->dev,"wt6670 nack continue! :%d\n", gi2c->err);
continue;
}
}
#endif
break;
}
}

View file

@ -19,6 +19,7 @@
#define SE_I2C_TX_TRANS_LEN 0x26c
#define SE_I2C_RX_TRANS_LEN 0x270
#define SE_I2C_SCL_COUNTERS 0x278
#define SE_I2C_NOISE_CANCEL_CTL (0x234)
#define SE_I2C_ERR (M_CMD_OVERRUN_EN | M_ILLEGAL_CMD_EN | M_CMD_FAILURE_EN |\
M_GP_IRQ_1_EN | M_GP_IRQ_3_EN | M_GP_IRQ_4_EN)
@ -90,6 +91,8 @@ struct geni_i2c_dev {
void *dma_buf;
size_t xfer_len;
dma_addr_t dma_addr;
u32 noise_rjct_scl;
u32 noise_rjct_sda;
};
struct geni_i2c_err_log {
@ -164,6 +167,9 @@ static void qcom_geni_i2c_conf(struct geni_i2c_dev *gi2c)
val |= itr->t_low_cnt << LOW_COUNTER_SHFT;
val |= itr->t_cycle_cnt;
writel_relaxed(val, gi2c->se.base + SE_I2C_SCL_COUNTERS);
if (gi2c->noise_rjct_scl || gi2c->noise_rjct_sda)
geni_write_reg(gi2c->noise_rjct_scl << 1 |
gi2c->noise_rjct_sda << 3, gi2c->base, SE_I2C_NOISE_CANCEL_CTL);
}
static void geni_i2c_err_misc(struct geni_i2c_dev *gi2c)
@ -556,6 +562,14 @@ static int geni_i2c_probe(struct platform_device *pdev)
if (has_acpi_companion(dev))
ACPI_COMPANION_SET(&gi2c->adap.dev, ACPI_COMPANION(dev));
gi2c->noise_rjct_scl = 0;
gi2c->noise_rjct_sda = 0;
of_property_read_u32(pdev->dev.of_node, "qcom,noise-rjct-scl",
&gi2c->noise_rjct_scl);
of_property_read_u32(pdev->dev.of_node, "qcom,noise-rjct-sda",
&gi2c->noise_rjct_sda);
gi2c->irq = platform_get_irq(pdev, 0);
if (gi2c->irq < 0)
return gi2c->irq;

View file

@ -991,6 +991,8 @@ static const struct adc5_channels adc5_chans_pmic[ADC5_MAX_CHANNEL] = {
SCALE_HW_CALIB_THERM_100K_PULLUP)
[ADC5_GPIO4_100K_PU] = ADC5_CHAN_TEMP("gpio4_100k_pu", 0,
SCALE_HW_CALIB_THERM_100K_PULLUP)
[ADC5_GPIO3_DIV3] = ADC5_CHAN_VOLT("gpio3_div3", 1,
SCALE_HW_CALIB_DEFAULT)
};
static const struct adc5_channels adc7_chans_pmic[ADC5_MAX_CHANNEL] = {

View file

@ -26,6 +26,7 @@
#include <linux/regulator/driver.h>
#include <linux/regulator/machine.h>
#include <linux/regulator/of_regulator.h>
#include <linux/time.h>
#define PMIC_VER_8941 0x01
#define PMIC_VERSION_REG 0x0105
@ -99,6 +100,8 @@ enum qpnp_pon_version {
#define QPNP_PON_S3_DBC_CTL(pon) ((pon)->base + 0x75)
#define QPNP_PON_SMPL_CTL(pon) ((pon)->base + 0x7F)
#define QPNP_PON_TRIGGER_EN(pon) ((pon)->base + 0x80)
#define QPNP_PON_PERPH_RB_SPARE(pon) ((pon)->base + 0x8C)
#define QPNP_PON_DVDD_RB_SPARE(pon) ((pon)->base + 0x8D)
#define QPNP_PON_XVDD_RB_SPARE(pon) ((pon)->base + 0x8E)
#define QPNP_PON_SOFT_RB_SPARE(pon) ((pon)->base + 0x8F)
#define QPNP_PON_SEC_ACCESS(pon) ((pon)->base + 0xD0)
@ -451,6 +454,50 @@ int qpnp_pon_set_restart_reason(enum pon_restart_reason reason)
}
EXPORT_SYMBOL(qpnp_pon_set_restart_reason);
/**
* qpnp_pon_store_extra_reset_info - Store extra reset info in PMIC register.
*
* Returns = 0 if PMIC feature is not available or store restart reason
* successfully.
* Returns > 0 for errors
*
* This function is used to store extra reset info in PMIC spare register
* which can be preserved during reset.
*/
int qpnp_pon_store_extra_reset_info(u16 mask, u16 val)
{
int rc = 0;
struct qpnp_pon *pon = sys_reset_dev;
if (!pon)
return 0;
if (mask & 0xFF) {
rc = qpnp_pon_masked_write(pon, QPNP_PON_DVDD_RB_SPARE(pon),
(mask & 0xFF), (val & 0xFF));
if (rc) {
dev_err(pon->dev,
"Failed to store extra reset info to 0x%x\n",
QPNP_PON_DVDD_RB_SPARE(pon));
return rc;
}
}
if (mask & 0xFF00) {
rc = qpnp_pon_masked_write(pon, QPNP_PON_XVDD_RB_SPARE(pon),
((mask >> 8) & 0xFF), ((val >> 8) & 0xFF));
if (rc) {
dev_err(pon->dev,
"Failed to store extra reset info to 0x%x\n",
QPNP_PON_XVDD_RB_SPARE(pon));
return rc;
}
}
return rc;
}
EXPORT_SYMBOL(qpnp_pon_store_extra_reset_info);
/*
* qpnp_pon_check_hard_reset_stored() - Checks if the PMIC need to
* store hard reset reason.
@ -986,6 +1033,10 @@ static int qpnp_pon_input_dispatch(struct qpnp_pon *pon, u32 pon_type)
uint pon_rt_sts;
u64 elapsed_us;
int rc;
struct timespec64 now;
struct timeval timestamp;
struct tm tm;
char buff[255];
cfg = qpnp_get_cfg(pon, pon_type);
if (!cfg)
@ -1014,6 +1065,19 @@ static int qpnp_pon_input_dispatch(struct qpnp_pon *pon, u32 pon_type)
pon_rt_bit = is_pon_gen3(pon)
? QPNP_PON_GEN3_KPDPWR_N_SET
: QPNP_PON_KPDPWR_N_SET;
/* get the time stamp in readable format to print*/
ktime_get_real_ts64(&now);
timestamp.tv_sec = now.tv_sec;
timestamp.tv_usec = now.tv_nsec/1000;
time64_to_tm((time64_t)(timestamp.tv_sec), 0, &tm);
snprintf(buff, sizeof(buff),
"%u-%02d-%02d %02d:%02d:%02d UTC",
(int) tm.tm_year + 1900, tm.tm_mon + 1,
tm.tm_mday, tm.tm_hour, tm.tm_min, tm.tm_sec);
pr_warn("Report pwrkey %s event at: %s\n", pon_rt_bit &
pon_rt_sts ? "press" : "release", buff);
break;
case PON_RESIN:
pon_rt_bit = is_pon_gen3(pon)
@ -1030,7 +1094,7 @@ static int qpnp_pon_input_dispatch(struct qpnp_pon *pon, u32 pon_type)
return -EINVAL;
}
pr_debug("PMIC input: code=%d, status=0x%02X\n", cfg->key_code,
pr_info("PMIC input: code=%d, status=0x%02X\n", cfg->key_code,
pon_rt_sts);
key_status = pon_rt_sts & pon_rt_bit;
@ -2085,6 +2149,8 @@ static int qpnp_pon_read_gen2_pon_off_reason(struct qpnp_pon *pon, u16 *reason,
rc = qpnp_pon_read(pon, QPNP_PON_OFF_REASON(pon), &reg);
if (rc)
return rc;
dev_info(pon->dev, "PON Register , addr=0x%04X, val=0x%x\n",
QPNP_PON_OFF_REASON(pon), (u8)reg);
if (reg & QPNP_GEN2_POFF_SEQ) {
rc = qpnp_pon_read(pon, QPNP_POFF_REASON1(pon), &reg1);
@ -2092,6 +2158,8 @@ static int qpnp_pon_read_gen2_pon_off_reason(struct qpnp_pon *pon, u16 *reason,
return rc;
*reason = (u8)reg1;
*reason_index_offset = 0;
dev_info(pon->dev, "PON Register , addr=0x%04X, val=0x%x\n",
QPNP_POFF_REASON1(pon), (u8)buf[0]);
} else if (reg & QPNP_GEN2_FAULT_SEQ) {
rc = regmap_bulk_read(pon->regmap, QPNP_FAULT_REASON1(pon), buf,
2);
@ -2102,12 +2170,18 @@ static int qpnp_pon_read_gen2_pon_off_reason(struct qpnp_pon *pon, u16 *reason,
}
*reason = buf[0] | (u16)(buf[1] << 8);
*reason_index_offset = POFF_REASON_FAULT_OFFSET;
dev_info(pon->dev, "PON Register , addr=0x%04X, val=0x%x\n",
QPNP_FAULT_REASON1(pon), (u8)buf[0]);
dev_info(pon->dev, "PON Register , addr=0x%04X, val=0x%x\n",
QPNP_FAULT_REASON1(pon), (u8)buf[1]);
} else if (reg & QPNP_GEN2_S3_RESET_SEQ) {
rc = qpnp_pon_read(pon, QPNP_S3_RESET_REASON(pon), &reg1);
if (rc)
return rc;
*reason = (u8)reg1;
*reason_index_offset = POFF_REASON_S3_RESET_OFFSET;
dev_info(pon->dev, "PON Register , addr=0x%04X, val=0x%x\n",
QPNP_S3_RESET_REASON(pon), (u8)buf[0]);
}
return 0;

View file

@ -70,7 +70,7 @@
/*****************************************************************************
* Private constant and macro definitions using #define
*****************************************************************************/
#define FTS_DRIVER_NAME "fts_ts"
#define FTS_DRIVER_NAME "fts_tp"
#define INTERVAL_READ_REG 200 /* unit:ms */
#define TIMEOUT_READ_REG 1000 /* unit:ms */
#if FTS_POWER_SOURCE_CUST_EN

View file

@ -54,6 +54,10 @@ struct vib_ldo_chip {
u64 vib_play_ms;
bool vib_enabled;
bool disable_overdrive;
bool dis_short_long;
int dis_long_ms;
int vmax_uV_long;
};
static inline int qpnp_vib_ldo_poll_status(struct vib_ldo_chip *chip)
@ -63,7 +67,7 @@ static inline int qpnp_vib_ldo_poll_status(struct vib_ldo_chip *chip)
ret = regmap_read_poll_timeout(chip->regmap,
chip->base + QPNP_VIB_LDO_REG_STATUS1, val,
val & QPNP_VIB_LDO_VREG_READY, 100, 1000);
val & QPNP_VIB_LDO_VREG_READY, 100, 2000);
if (ret < 0) {
pr_err("Vibrator LDO vreg_ready timeout, status=0x%02x, ret=%d\n",
val, ret);
@ -144,6 +148,15 @@ static int qpnp_vibrator_play_on(struct vib_ldo_chip *chip)
int ret;
volt_uV = chip->vmax_uV;
if (chip->dis_short_long) {
pr_debug("vib in dis short and long, play ms=%d, dis_longms=%d, vmax_uV=%d, vmax_uV_long=%d\n",
chip->vib_play_ms, chip->dis_long_ms, chip->vmax_uV, chip->vmax_uV_long);
if (chip->vib_play_ms > chip->dis_long_ms) {
volt_uV = chip->vmax_uV_long;
}
}
if (!chip->disable_overdrive)
volt_uV = chip->overdrive_volt_uV ? chip->overdrive_volt_uV
: min(chip->vmax_uV * 2, QPNP_VIB_LDO_VMAX_UV);
@ -386,6 +399,28 @@ static int qpnp_vib_parse_dt(struct device *dev, struct vib_ldo_chip *chip)
return ret;
}
chip->dis_short_long = of_property_read_bool(dev->of_node,
"qcom,vib-dis-short-long");
if (chip->dis_short_long) {
pr_warn("read dis_short_long true");
ret = of_property_read_u32(dev->of_node, "qcom,vib-dis-short-long-val",
&chip->dis_long_ms);
if (ret < 0) {
pr_err("qcom,vib-dis-short-long-val property read failed, ret=%d\n", ret);
return ret;
}
pr_warn("read dis_long_ms=%d\n", chip->dis_long_ms);
ret = of_property_read_u32(dev->of_node, "qcom,vib-ldo-volt-uv-long",
&chip->vmax_uV_long);
if (ret < 0) {
pr_err("qcom,vib-ldo-volt-uv-long property read failed, ret=%d\n", ret);
return ret;
}
pr_warn("read vmax_uV_long=%d\n", chip->vmax_uV_long);
}
chip->disable_overdrive = of_property_read_bool(dev->of_node,
"qcom,disable-overdrive");

View file

@ -3139,6 +3139,11 @@ static int qseecom_unload_app(struct qseecom_dev_handle *data,
goto unload_exit;
}
if (!memcmp(data->client.app_name, "prov", strlen("prov"))) {
pr_debug("Do not unload prov app from tz\n");
goto unload_exit;
}
__qseecom_cleanup_app(data);
__qseecom_reentrancy_check_if_no_app_blocked(TZ_OS_APP_SHUTDOWN_ID);

View file

@ -2932,6 +2932,12 @@ unsigned int mmc_calc_max_discard(struct mmc_card *card)
struct mmc_host *host = card->host;
unsigned int max_discard, max_trim;
if (!host->max_busy_timeout ||
(host->caps2 & MMC_CAP2_MAX_DISCARD_SIZE))
{
pr_err("mmc_calc_max_discard UINT_MAX = %d \n",UINT_MAX);
return UINT_MAX;
}
/*
* Without erase_group_def set, MMC erase timeout depends on clock
* frequence which can change. In that case, the best choice is

View file

@ -1289,7 +1289,7 @@ static int mmc_sd_suspend(struct mmc_host *host)
int err;
err = _mmc_sd_suspend(host);
if (!err) {
if (!err && host->card) {
pm_runtime_disable(&host->card->dev);
pm_runtime_set_suspended(&host->card->dev);
}

View file

@ -475,6 +475,7 @@ struct sdhci_msm_host {
int sdiowakeup_irq;
bool is_sdiowakeup_enabled;
bool sdio_pending_processing;
bool first_power_on;
};
static struct sdhci_msm_host *sdhci_slot[2];
@ -1718,11 +1719,11 @@ static void sdhci_msm_set_uhs_signaling(struct sdhci_host *host,
/*
* Ensure larger discard size by always setting max_busy_timeout to zero.
* This will always return max_busy_timeout as zero to the sdhci layer.
*/
*/
static unsigned int sdhci_msm_get_max_timeout_count(struct sdhci_host *host)
{
return 0;
static unsigned int sdhci_msm_get_max_timeout_count(struct sdhci_host
*host) {
return 0;
}
#define MAX_PROP_SIZE 32
@ -2271,8 +2272,14 @@ static int sdhci_msm_setup_vreg(struct sdhci_msm_host *msm_host,
for (i = 0; i < ARRAY_SIZE(vreg_table); i++) {
if (vreg_table[i]) {
if (enable)
if (enable) {
ret = sdhci_msm_vreg_enable(vreg_table[i]);
if (msm_host->first_power_on && !(mmc->caps & MMC_CAP_NONREMOVABLE)) {
ret = sdhci_msm_vreg_disable(vreg_table[i]);
msleep(1);
ret = sdhci_msm_vreg_enable(vreg_table[i]);
}
}
else
ret = sdhci_msm_vreg_disable(vreg_table[i]);
if (ret)
@ -2280,6 +2287,9 @@ static int sdhci_msm_setup_vreg(struct sdhci_msm_host *msm_host,
}
}
if (enable && !(mmc->caps & MMC_CAP_NONREMOVABLE))
msm_host->first_power_on = false;
if (enable && !(mmc->caps & MMC_CAP_NONREMOVABLE)) {
/*
@ -3571,6 +3581,7 @@ static const struct sdhci_ops sdhci_msm_ops = {
.set_bus_width = sdhci_set_bus_width,
.set_uhs_signaling = sdhci_msm_set_uhs_signaling,
.get_max_timeout_count = sdhci_msm_get_max_timeout_count,
#if defined(CONFIG_SDC_QTI)
.dump_vendor_regs = sdhci_msm_dump_vendor_regs,
#endif
@ -4308,6 +4319,7 @@ static int sdhci_msm_probe(struct platform_device *pdev)
msm_host = sdhci_pltfm_priv(pltfm_host);
msm_host->mmc = host->mmc;
msm_host->pdev = pdev;
msm_host->first_power_on = true;
ret = mmc_of_parse(host->mmc);
if (ret)
@ -4555,6 +4567,7 @@ static int sdhci_msm_probe(struct platform_device *pdev)
}
sdhci_msm_set_caps(msm_host);
msm_host->mmc->caps2 |= MMC_CAP2_MAX_DISCARD_SIZE;
#if defined(CONFIG_SDC_QTI)
host->timeout_clk_div = 4;

View file

@ -59,6 +59,7 @@ source "drivers/nfc/st-nci/Kconfig"
source "drivers/nfc/nxp-nci/Kconfig"
source "drivers/nfc/s3fwrn5/Kconfig"
source "drivers/nfc/st95hf/Kconfig"
source "drivers/nfc/samsung/Kconfig"
endmenu
config NFC_QTI_I2C

View file

@ -17,4 +17,5 @@ obj-$(CONFIG_NFC_ST_NCI) += st-nci/
obj-$(CONFIG_NFC_NXP_NCI) += nxp-nci/
obj-$(CONFIG_NFC_S3FWRN5) += s3fwrn5/
obj-$(CONFIG_NFC_ST95HF) += st95hf/
obj-$(CONFIG_SEC_NFC) += samsung/
obj-y += qti/

View file

@ -651,6 +651,40 @@ unsigned int nfc_ioctl_nfcc_info(struct file *filp, unsigned long arg)
*
* @return 0 on success, error code for failures.
*/
#ifdef CONFIG_COMPAT
long nfc_compat_dev_ioctl(struct file *pfile, unsigned int cmd, unsigned long arg)
{
int ret = 0;
struct nfc_dev *nfc_dev = pfile->private_data;
arg = (compat_u64)arg;
pr_debug("%s cmd = %x arg = %zx\n", __func__, cmd, arg);
switch (cmd) {
case NFC_SET_PWR:
ret = nfc_ioctl_power_states(nfc_dev, arg);
break;
case ESE_SET_PWR:
ret = nfc_ese_pwr(nfc_dev, arg);
break;
case ESE_GET_PWR:
ret = nfc_ese_pwr(nfc_dev, ESE_POWER_STATE);
break;
case NFCC_GET_INFO:
ret = nfc_ioctl_nfcc_info(pfile, arg);
break;
case NFC_GET_PLATFORM_TYPE:
ret = nfc_dev->interface;
break;
default:
pr_err("%s bad cmd %lu\n", __func__, arg);
ret = -ENOIOCTLCMD;
}
return ret;
}
#endif
long nfc_dev_ioctl(struct file *pfile, unsigned int cmd, unsigned long arg)
{
int ret = 0;

Some files were not shown because too many files have changed in this diff Show more