Commit Graph

1414 Commits

Author SHA1 Message Date
Sanjeev Jakkilinki a503fd22c1 thorium: Governor and Scheduler tuning parameters
high_speed_delay and scaling_min_freq parameters are
changed as per voltage plan of thorium
Also start perfd.

Change-Id: I940e7fc4a96df7968dc6fc33a7ee5e337c2c039b
2015-12-01 17:00:38 +05:30
Shantanu Jain 861539568f Revert "device: common: Enable host based touch processing for MSM8937"
This reverts commit 1146de1b54

Change-Id: Idfed6fa346a897b1786a93c5d32a2c6b3a1db69d
2015-11-30 15:50:22 +05:30
Linux Build Service Account 7216f0edf6 Merge "init: qcom: start irq balancer for 8937" 2015-11-21 17:55:55 -08:00
Linux Build Service Account bf054952af Merge "init.qcom.rc: Set HID USB composition for power off charging mode" 2015-11-21 00:09:16 -08:00
Linux Build Service Account 38b74aecd1 Merge "update permissions for audio on hdmi_audio_cb node." 2015-11-20 18:12:56 -08:00
Linux Build Service Account f6b27c2484 Merge "init.qcom.post_boot: Adjust touch boost frequency for 8996" 2015-11-20 18:12:56 -08:00
Linux Build Service Account 10218ab323 Merge "device: common: Enable host based touch processing for MSM8937" 2015-11-19 10:19:53 -08:00
Linux Build Service Account 201d2dc01c Merge "init.qcom.usb: Update USB default composition where external MDM is used" 2015-11-19 04:29:44 -08:00
Linux Build Service Account b7ae5489be Merge "init: early_boot: Use virtual_size to set lcd_density" 2015-11-18 02:41:52 -08:00
Abinaya P 1146de1b54 device: common: Enable host based touch processing for MSM8937
This enables host based touch processing for MSM8937 MTP, CDP
and RCM.

Change-Id: I41fe6d6c57350ff362b387fb49e25629ae72a666
2015-11-18 15:36:09 +05:30
Mayank Rana ba93b75a01 init.qcom.rc: Set HID USB composition for power off charging mode
This change configures USB composition as "charging" which results
into enumerating with HID USB composition with power off charging
mode.

Change-Id: I463b7f0ff14ee10ae75e463f8e7fa7fa399fc6df
2015-11-17 19:15:44 -08:00
Mayank Rana 83ae7a4d17 init.qcom.usb: Update USB default composition where external MDM is used
To use DUN interface related transport as port bridge instead of TTY, update
USB default composition as well update USB composition related configuration.

Change-Id: I713ab7b5d7f90611d25ab1c8ef7813e489abcdd8
2015-11-17 16:04:04 -08:00
Mingming Yin a2255668dc update permissions for audio on hdmi_audio_cb node.
- grant write permissions on hdmi_audio_cb node for
  audio HAL. hdmi_audio_cb is used for HDMI audio
  device switch acknowledgement feature.
  Audio hal updates hdmi_audio_cb with HDMI audio device
  switch status. hdmi driver monitors hdmi_audio_cb and
  send connect/disconnect events accordingly.

Change-Id: I053a9eb8bd3bdc76e990e69ff3625e0dc6a4e76c
2015-11-17 14:16:58 -08:00
Dilip Gudlur bd3c314e7c init.qcom.post_boot: Adjust touch boost frequency for 8996
Change modifies touch boost frequency as per frequency
plan on 8996, previous frequency was getting rounded off
to higher value.

Change-Id: Ibd3144c5fd5729a29c2ae715e595fb8d52339e42
2015-11-17 13:03:43 -08:00
Linux Build Service Account e65334f85a Merge "post_boot: Enable low power modes for msm8937" 2015-11-17 06:35:49 -08:00
Linux Build Service Account 191ab50b8c Merge "FR 30314: Do not copy mbns during every boot up" 2015-11-17 06:35:49 -08:00
Ray Zhang b9851bd27a init: early_boot: Use virtual_size to set lcd_density
Calculating density depending on FB resolution is more accurate
than depending on platform or target ID, since in some cases there
might be multiple panels supported on a single target or a single
target can have multiple hwplatform variants

Change-Id: Ibf238b269d3c64ffc06d798998dcd68343977003
2015-11-16 15:56:53 +05:30
Prasad Sodagudi 5005afbfc4 init: qcom: start irq balancer for 8937
start irq balancer on 8937 builds and use
msm_irqbalance.conf config file.

Change-Id: Ie067a7f6dfa473909c13a612cb030e1779d9630d
2015-11-13 11:33:39 +05:30
Sooraj Sasindran cccaccab57 FR 30314: Do not copy mbns during every boot up
Do not copy mbns for every boot up, instead copy
only for first boot up or after a factory reset or
after modem update

CRs-Fixed: 938004
Change-Id: I74a417bcb05d3fb0f969580d51895b8ce23e13ec
2015-11-11 21:17:36 -08:00
ajay kumar 9a9e8e1871 Bluetooth : Add 8937 to indicate SMD transport
Adding 8937 for SMD channels

Change-Id: I4dda27ed648b63f3e538437ffe2eac8992d70c7b
2015-11-10 09:44:16 -08:00
Linux Build Service Account 23803eca53 Merge "init.qcom.rc: Add oneshot for port-bridge service" 2015-11-09 18:02:55 -08:00
Linux Build Service Account 810ab96415 Merge "common: set alarm and boot animation properties during early boot" 2015-11-09 11:47:14 -08:00
Linux Build Service Account 5465e56d0b Merge ""IMS start from bootup"" 2015-11-09 11:47:13 -08:00
Linux Build Service Account e25a5049d0 Merge "init.qcom.usb.sh: Update ESOC to support any MDM" 2015-11-09 11:47:10 -08:00
Achyuth Sai Vadrav 6d47372c0a post_boot: Enable low power modes for msm8937
Enable low power modes for msm8937.

Change-Id: I16dabf50c7639ee7ed7e714d50a4d59b130feaf4
2015-11-09 20:37:45 +05:30
Ravinder Konka 746cab9670 init.qcom.rc: Add oneshot for port-bridge service
Add oneshot for port-bridge so that port-bridge
won't be restarted when it exits.

Change-Id: Ic583c329c64034b20d0582fa6d660c986428fe69
2015-11-05 15:36:00 +05:30
Gopal G Goberu 4b014cfbc9 "IMS start from bootup"
Change-Id: I1c686cd91ba9d6a9a23a3ad13c02ca1a13bd75b7
2015-11-05 00:00:40 -08:00
Linux Build Service Account 3525d8f1b1 Merge "post_boot: Disable low power modes for msm8937" 2015-11-03 14:16:55 -08:00
Mao Jinlong 6256eb0439 common: set alarm and boot animation properties during early boot
If boot is trrigerred by rtc alarm, set ro.alrm_boot as true and set
debug.sf.nobootanimation as '1' to disable boot animation.

Change-Id: I55ca254e63f24a9a7255f0d8600ef3ede91d4a97
2015-11-03 01:01:02 -08:00
Linux Build Service Account 0991ca76d5 Merge "init.qcom.post_boot: Enable mem_latency governor for msm8996" 2015-11-02 23:48:52 -08:00
Jack Pham 6756f76a28 init.qcom.usb.sh: Update ESOC to support any MDM
ESOC is a used to determine if there is an MDM device connected,
and if so, what type of connection is used (HSIC, PCIe). Currently
the script only supports MDM9x25 or MDM9x35. Update the check to
support all present and future MDMs.

Change-Id: I6afe7d3da74fa1cf795ff2313d1bb992f5aa4f1e
2015-11-02 15:01:26 -08:00
Linux Build Service Account 885e504ab2 Merge "USB: Enable CPU RPS mask for msm8937 target" 2015-11-02 12:41:21 -08:00
Rohit Gupta 6c1dc8e33d init.qcom.post_boot: Enable mem_latency governor for msm8996
Enable memory latency governor for msm8996 for helping memory
latency intensive usecases. Remove the cpufreq governor setting
for mincpubw device since memory latency governor along with
bw_hwmon governor is sufficient for voting for higher DDR
frequencies for most memory bound workloads.
Set the polling_interval for mem_latency governor to 10ms.

Change-Id: I5715aea50452c02d57fe94538627fe00567106fe
2015-11-02 10:52:55 -08:00
Achyuth Sai Vadrav e8b9af6f2b post_boot: Disable low power modes for msm8937
Disable low power modes for msm8937.

Change-Id: I7c1a72f882ba966406c64c63c7f7c96ad4668b6d
2015-11-02 14:40:13 +05:30
Vijayavardhan Vennapusa 8c2dc8eff9 USB: Enable CPU RPS mask for msm8937 target
Enable CPU RPS mask on msm8937 target to fix
the out of order packets issue.

Change-Id: I6d0f61e86b223770d983942de2da69ed431d1a64
2015-11-02 13:25:02 +05:30
Himanshu Aggarwal d7e5428dd4 device: common: add navigation bar for MSM8937
Touch panel does not support virtual keys on MSM 8937. Set
qemu.hw.mainkeys as 0 to enable the Android navigation bar.

Change-Id: Idc40ae63488898d393153a8e4fd49fefdd0b555a
2015-11-02 12:09:55 +05:30
Linux Build Service Account 01bd7d3d08 Merge "early_boot: Add permissions for msm_cmd_autorefresh_en" 2015-11-01 03:21:48 -08:00
Linux Build Service Account 4fd8e6f4be Merge "ueventd: Allow system permission for RPS sysfs node" 2015-11-01 03:21:30 -08:00
Linux Build Service Account d388e80a61 Merge "thorium: Governor and Scheduler tuning parameters" 2015-10-31 19:55:24 -07:00
Linux Build Service Account ad6185f6b1 Merge "init.qcom.usb.sh: Set default composition for msm8937" 2015-10-30 22:19:24 -07:00
Sameer Thalappil af7626a1a1 ueventd: Allow system permission for RPS sysfs node
Allow system permission for RPS sysfs nodes, so that WLAN user space
daemon can enable RPS(Receive packet steering) feature.

CRs-Fixed: 902775
Change-Id: I54cf28ce07785ec0fb36456d1100160da312a7de
2015-10-29 12:58:59 -07:00
Sanjeev Jakkilinki 545f317df8 thorium: Governor and Scheduler tuning parameters
Updated thorium Governor and Scheduler tuning parameters.

Change-Id: I507e04727943501a2cb4646d5ff7fd2cdb4d0518
2015-10-28 20:57:28 +05:30
Linux Build Service Account 89c0653cac Merge "cnss_diag: Start cnss_diag service to log the logs to a file" 2015-10-27 15:50:50 -07:00
Linux Build Service Account 982d748b12 Merge "post_boot: Disable low power modes for msm8952" 2015-10-27 15:50:49 -07:00
Saurabh Shah 1852c96f21 early_boot: Add permissions for msm_cmd_autorefresh_en
Add permissions for /sys/class/graphics/fb0/msm_cmd_autorefresh_en
node. This can be read from / written to by display stack.

Change-Id: Ibe6854d076f176d34986edcde365e3dab91b2660
2015-10-27 12:05:32 -07:00
Achyuth Sai Vadrav eab3338a00 post_boot: Disable low power modes for msm8952
Disable low power modes for msm8952.

Change-Id: If975a028d937f19eb5d9dd103e94952533fd24c3
2015-10-27 13:14:39 +05:30
Vijayavardhan Vennapusa 32984751a4 init.qcom.usb.sh: Set default composition for msm8937
Set default composition as 9091 for msm8937 for USB functionality
to be working.

Change-Id: Iaaf4a4de4791ad2106505f8658927197cd36bab1
2015-10-27 11:59:57 +05:30
Mahesh A Saptasagar ce3a0d41b8 cnss_diag: Start cnss_diag service to log the logs to a file
Start the cnss_diag service with -f option to capture the wlan
driver logs to an internal/external sdcard and also enable -d
flag to capture debug logs.

Change-Id: I69400e3dc70e2bd75c1f1ff9d997cb3cf9deb378
CRs-Fixed: 866180
2015-10-26 08:58:02 -07:00
Fenglin Wu 238076a168 init.qcom.rc: Change charger process label
Change the charger process label to u:r:healthd:0

Change-Id: I586849104e8d6127c9b2c5a14f7c53956c5b2c73
2015-10-25 00:10:01 -07:00
Skylar Chang 0f36f9dad8 init script: Change IPA dev nodes to system UID
For more secure, the HLOS framework process can't
run as net_admin, it only has system privilege.
Therefore those IPA device nodes which HLOS
framework process needs to access should be put
as system UID but with net_admin GID for IPACM
to configure rules in IPA-HW when device bootup.

Change-Id: I445aa23d01ad6606e8e140e3aaa0c03e0d11481c
2015-10-23 11:33:41 -07:00
Linux Build Service Account 6b6b8bf3cf Merge "Enable Adaptive LMK on 8996." 2015-10-17 11:16:34 -07:00
Linux Build Service Account 918007533d Merge "init: qcom: set permission/ownership of secure-touch sysfs" 2015-10-16 09:09:49 -07:00
Linux Build Service Account 8a92250d0a Merge "init.qcom.rc: Start irsc_util along with core services" 2015-10-15 10:52:52 -07:00
Linux Build Service Account e3a12a9078 Merge "ueventd.qcom.rc: add permission for hbtp device nodes" 2015-10-15 10:52:50 -07:00
Linux Build Service Account c7594584b0 Merge "Add file flag to synchronize qcril.db copying" 2015-10-15 05:24:50 -07:00
Bhargav Upperla 78a8cea8bd Enable Adaptive LMK on 8996.
Helps with device performance when
under heavy memory pressure.

Change-Id: Ibaf972023c1bf0b8a097698b26c9c4fabc5606e6
2015-10-13 09:56:11 -07:00
Himanshu Aggarwal d4c42275cb init: qcom: set permission/ownership of secure-touch sysfs
The sysfs path of input device corresponding to the touchscreen
can not be hard-coded. Determine the path dynamically at
run-time and set the permission/ownership of secure-touch sysfs
correctly.

Change-Id: I203c7a21ce8f1669fce8eab17f646d4d29795c6e
2015-10-13 19:55:37 +05:30
Karthikeyan Ramasubramanian d6bfefa05a init.qcom.rc: Start irsc_util along with core services
Start irsc_util along with other core services so that it is able
to configure the communication infrastructure which the other core
services require.

CRs-Fixed: 917146
Change-Id: I2611613a38677b5d5e0d1fc713a3694ad44de459
2015-10-12 17:31:55 -06:00
Linux Build Service Account 5a3e4523d1 Merge "Add permissions for graphics on hdmi nodes." 2015-10-12 11:34:57 -07:00
Linux Build Service Account 6a0ee9e88e Merge "init.qcom.rc: move port_bridge log folder creation to post-fs-data" 2015-10-12 04:20:29 -07:00
Linux Build Service Account 352f9ab972 Merge "init.qcom.rc: Seemp health Deamon" 2015-10-11 01:49:47 -07:00
Linux Build Service Account 436eff9768 Merge "Bluetooth : Set HCI transport for 8952 target" 2015-10-10 12:10:38 -07:00
Linux Build Service Account 5fee6029c1 Merge "init.qcom.usb: Use char_bridge as transport with DUN for RNDIS compositions" 2015-10-10 12:10:27 -07:00
Linux Build Service Account 89986ad210 Merge "init.qcom.post_boot.sh: Update BCL hotplug control on MSM8996" 2015-10-10 03:42:14 -07:00
Richard LIU 11b14d8b64 Add file flag to synchronize qcril.db copying
- Add a file to indicate if prebuilt db file is supported
- Add a file to indicate if copying process has completed

Change-Id: I27344d1e318456d9e5ad639a6ae9394f121a3705
2015-10-09 11:15:29 -07:00
William Clark 3eecd5af95 init.qcom.rc: Seemp health Deamon
Added seemp health daemon for boot time launch.

Change-Id: I6da0dc2a74ffb838b481b387f31fe5fbcbbb3dc0
2015-10-08 10:02:46 -07:00
venkata Jagadeesh 0e8697e8a2 Bluetooth : Set HCI transport for 8952 target
Hci reset from ftm fails as HCI transport not
set as smd for 8952 target.

Change-Id: Id1d42cafec81471ea41cbe3cfb0ff477b8f7d8e1
CRs-Fixed: 916324
2015-10-07 22:59:29 -07:00
Sumit Bajpai 333fd37971 BT-HFP: HFP1.7 AG support for 8939.
Added HFP 1.7 version support to 8939.

Change-Id: I8765e3806197dcf2f978062b16e0653e7191e215
2015-10-08 09:01:38 +05:30
Dileep Marchya fb7374c47a Add permissions for graphics on hdmi nodes.
- Add system.graphics permissions on hdmi_audio_cb
  & hdcp2p2/min_level_change nodes.

Change-Id: I888e9d5143ec1c6a2f6e1505a50edbf015ca2a1e
2015-10-07 18:23:13 -07:00
Subash Abhinov Kasiviswanathan 1d8f2b8921 init.qcom.rc: move port_bridge log folder creation to post-fs-data
It is possible for a temporary file system to be
mounted as /data during device bootup in certain
cases ex. when Full Disk Encryption is enabled.
The temporary file system will be replaced with the
proper data partition in post-fs-data.

We were creating the port-bridge logging folder
/data/misc/port_bridge in "on boot" when the
temporary file system is loaded. We will lose
this folder when the actual partition is loaded
at a later point. To fix this we need to move
the folder creation commands to "post-fs-data"

Change-Id: Id1ab94169e4d797a5ef5bd789766fa557811ef43
2015-10-07 17:47:36 -07:00
Mayank Rana e146053a60 init.qcom.usb: Use char_bridge as transport with DUN for RNDIS compositions
Add RNDIS USB compositions having DUN interface using char_bridge as
transport instead of SMD.

0x90B5 - RNDIS + MODEM (cdev as transport) + DIAG
0x90B6 - RNDIS + MODEM (cdev as transport) + DIAG + ADB

Change-Id: Ic8a16dfacd488ed90cdd0ae8546fcf3c97e20b40
2015-10-07 12:56:27 -07:00
Alex Sarraf 5c5a314fa7 ueventd.qcom.rc: add permission for hbtp device nodes
Add permission access for the hbtp device nodes

Change-Id: I8e381364870e25ac99141413106c45b0a14882c1
2015-10-06 12:12:18 -07:00
Shiju Mathew 2d17ea241e init.qcom.post_boot.sh: Update BCL hotplug control on MSM8996
Update BCL hotplug control in post boot script
with new sysfs path to reflect the change in
kernel device naming rule.

CRs-Fixed: 919092
Change-Id: I908bddeef945cbdb9724c2495141d1289b678f29
2015-10-06 12:41:35 -04:00
Linux Build Service Account daf7485cc7 Merge "post_boot: msm8996: Bus DCVS v2 config 3" 2015-09-30 15:52:06 -07:00
Venkateshwarlu Domakonda af0d06aab4 init: qcom: factory: Fix the issue with FM module parameter
In FFBM mode, not able to set the FMRadio transport module parameter.
Gave enough permission to set.

Change-Id: If157c710cd5d3ea50e52b1195a1657e8c98a9cd8
CRs-Fixed: 876930
2015-09-27 23:05:46 -07:00
Mohit Aggarwal 1fe611d5ed device: qcom: common: Replace diag with qcom_diag
/dev/diag node permissions changed back to AID_QCOM_DIAG.
This patch ensures that diag clients will be running
with correct permissions.

Change-Id: Id921bf1932058f42a92320adfbcde2f4db47e419
2015-09-25 16:10:47 +05:30
Dilip Gudlur bddc5ebf4c post_boot: msm8996: Bus DCVS v2 config 3
Change modifies bus dcvs v2 with tuned
sample_ms and idle_mbps values.

Change-Id: I9ecf056e46a638d433b54fa70aedea6910a8c953
2015-09-24 13:59:55 -07:00
Harshal Trivedi bc7302acd7 Moving perfd and nfc directory creation to correct section
On an encrypted device, mkdir in /data partition must be moved from
"boot" trigger to "post-fs-data" as the /data partition is remouned
after giving passkey by the user. Hence some folders are not created
as they were created already on boot but could not be found after
remounting the /data partition.

Change-Id: I36763cac31efed4d64d5d1ac18e5bcd1a2323432
2015-09-23 17:57:26 -07:00
Linux Build Service Account c81481c2f9 Merge "WFD: Updated the list of group permissions to include net_admin" 2015-09-22 15:34:49 -07:00
Linux Build Service Account 6dfc8d2691 Merge "init.qcom.usb: Add USB compositions for MIDI functionality" 2015-09-22 01:02:15 -07:00
Linux Build Service Account 8ea47dcfe6 Merge "qcom: Add pIMEM registers to DCC block on MSM8996" 2015-09-19 22:41:56 -07:00
Linux Build Service Account f86cd8f04d Merge "post_boot: Enable ignore_hispeed_on_notif for MSM8996" 2015-09-18 23:45:57 -07:00
Mayank Rana f515cf79d7 init.qcom.usb: Add USB compositions for MIDI functionality
Add new USB compositions to support MIDI functionality.
Add the following PIDs:
0x90BA - MIDI
0x90BB - MIDI + ADB

Change-Id: I2f50a6b55c12fd7706644c6497d00f8a0c1c02fa
2015-09-17 18:51:16 -07:00
Sanrio Alvares 7df6b78a25 qcom: Add pIMEM registers to DCC block on MSM8996
Add pIMEM registers to DCC block to capture those registers
during a crash

Change-Id: I16d3cad6df2c67f8acfdd81975a9c17875af63aa
2015-09-16 12:20:49 -07:00
Shruthi Krishna c185f5cc89 Add qcom_diag permissions to RIDL
8952 changed diag from SMD to socket, need new permission

Change-Id: I182c1a3c5bef007cb411cb11d84a781e3f4b3d8a
2015-09-15 13:45:18 -07:00
Shruthi Krishna 20131491c6 Move RIDL socket to /data
Move RIDL socket to /data.

Change-Id: Iaf5e29c398ee1d09b1763207eb6b04ac927e7634
2015-09-14 16:07:23 -07:00
Junjie Wu 695058e06e post_boot: Enable ignore_hispeed_on_notif for MSM8996
Update min_sample_time, max_freq_hysteresis and enable
ignore_hispeed_on_notif for MSM8996.

Change-Id: If20476fe1561b3f23f6538e5533cd2a0011413fd
2015-09-11 17:01:23 -07:00
Manoj Kumar AVM bc8405ea0f WFD: Updated the list of group permissions to include net_admin
This is required for using libnl API's. Since there is a limit of
maximum 12 groups, this also required removing a few unnecessary
groups that were there earlier.

Change-Id: I7107275dfeffffb203892134d4fef94ef3597188
2015-09-11 11:58:25 -07:00
Linux Build Service Account c83f854bf0 Merge "Change tftp_server class from core to main" 2015-09-11 11:35:44 -07:00
Tapas Kumar Kundu 2be12910e3 post_boot: msm8996: Enable sched_init_task_load=100 for 8996
Setting the Newly created task load to 100 percent, since such tasks
have no history of their demand. Setting this tunable to 100 will
result in tasks to start on the best capacity CPU cluster.

Change-Id: I4c79029672376ea0ecb8628523f5ce4f389b81f7
2015-09-09 15:00:26 -07:00
Linux Build Service Account 0cf422a05a Merge "WFD: Spawn wifi display service at boot up" 2015-08-30 23:00:04 -07:00
Linux Build Service Account ea6cf06fdb Merge "init.qcom.usb: Fix Modem interface transport name with DPL composition" 2015-08-30 03:41:11 -07:00
Linux Build Service Account 7619ec247a Merge "init: qcom: Fix the issue with fm patch downloader" 2015-08-30 03:41:03 -07:00
Linux Build Service Account cd53566e1c Merge "init.qcom.post_boot.sh: Enable LPMs by default" 2015-08-29 08:43:34 -07:00
Mayank Rana 4426dd179a init.qcom.usb: Fix Modem interface transport name with DPL composition
Modem interface is using serial transport as char_bridge. Due to using
"cdev" as serial transport name with DPL based composition, DPL based
composition switch is failing. Hence fix this issue by using
"char_bridge" as serial transport name.

Change-Id: I092df985f8f5302d0f5c4299cd2dbdc5e5b3dd1c
2015-08-28 15:47:33 -07:00
Linux Build Service Account 616c4ad4a2 Merge "Revert "diag: Allow radio (instead of system) to use /dev/diag"" 2015-08-28 03:01:55 -07:00
Linux Build Service Account b2feae5591 Merge "ueventd.qcom.rc: add permissions for nqx nfc driver" 2015-08-27 16:39:23 -07:00
Shruthi Krishna 0b2482c2b4 Revert "diag: Allow radio (instead of system) to use /dev/diag"
This reverts commit 0321a4ad6c.

Change-Id: I51ad05a40b167743cd8b35a46efd068f0a7d1535
2015-08-25 16:27:38 -07:00
padarshr 9df27e64a7 Change tftp_server class from core to main
Because of an open file on /data by this module,
encryption was failing as /data unmounting failed,
so changing this to main class to make encryption successful

Change-Id: I52a1f0f8abb51234f54be0ddbcc4016df52c466e
2015-08-24 21:45:51 -07:00
Maunik Shah aeb8a95dee init.qcom.rc: create /data/ramdump directory for subsystem_ramdump
To store subsystem ramdumps on persistent storage, /data/ramdump
folder is created on persist.sys.ssr.enable_ramdumps property set

Change-Id: I9aba35e09656c36f1056fc2255f75e094916fafa
CRs-Fixed: 838055
2015-08-24 21:45:29 -07:00
Lalit Kansara 2ea1be88ed On an encrypted device, mkdir in /data on boot trigger should be moved
On an encrypted device, mkdir in /data partition must be moved from
"boot" trigger to "post-fs-data" as the /data partition is remouned
after giving passkey by the user. Hence some folders are not created
as they were created already on boot but could not be found after
remounting the /data partition. Consequently some functionality broken

Change-Id: I25e6c208d4cc036b34f818c683a3219d3431d67a
2015-08-24 21:44:14 -07:00
Linux Build Service Account 90578cb6d2 Merge "diag: Allow radio (instead of system) to use /dev/diag" 2015-08-24 05:03:32 -07:00
Linux Build Service Account d86dd81fd5 Merge "post_boot: msm8952: Port all 8952 scheduler/governor tuning params" 2015-08-24 05:03:14 -07:00
Linux Build Service Account 130a5df639 Merge "init script: Add qti process to qcom_diag group membership" 2015-08-24 05:03:07 -07:00
Linux Build Service Account 7e0e3e4fab Merge "init.qcom.usb.sh: Use default USB composition as diag,adb" 2015-08-24 05:02:42 -07:00
Lalit Kansara 19bf67a8e7 Setting fake battery capacity moved from one script to another
On encrypted device init.qcom.class_core.sh script is unable to write
fake_batt_capacity to /sys/class/power_supply/battery/capacity file
due to unknown reason. Moving this logic to init.class_main.sh script
is working fine

Change-Id: I4c7cc7893314302f4749628d57343be1903e7e1c
2015-08-24 02:35:45 -07:00
Linux Build Service Account dc63ee3f5f Merge "init_earlyboot: Support APQ8096 Dragonboard 820" 2015-08-22 16:37:02 -07:00
Linux Build Service Account 573503cfb8 Merge "common: init: load SLPI images as part of early boot" 2015-08-22 12:14:31 -07:00
Azhar Shaikh 112df495cd init.qcom.usb: Remove stop adbd from compositions with adb
There is a race observed between ffs_func_bind() and ffs_ep0_open()
while doing composition switch from any composition which supports adb
to any other adb supporting composition.

Below are the steps executed on switching to rndis,none,adb composition:
1. On doing stop adbd ffs_ep0_release is called which releases all the
descriptors.
2. Write 0 to /sys/class/android_usb/android0/enable which calls unbind of
all functions of the existing composition.
3. Write 1 to /sys/class/android_usb/android0/enable which calls bind of
rndis and ffs function drivers.
4. start adbd which calls ffs_ep0_open().
bind of rndis function driver completes successfully.
Below is the race observed where ffs_do_functionfs_bind() returns -ENODEV
since the descriptors are not ready, due to ffs_ep0_open() called after
bind call and hence the descriptors are not ready.

enable_store					ffs_ep0_open
     |						     |
android_enable					ffs_ep0_write
     |						     |
android_bind_config				__ffs_data_got_descs
     |						     |
android_bind_enabled_functions			ffs_ep0_write
     |						     |
ffs_function_bind_config			__ffs_data_got_strings
     |						     |
usb_add_function				ffs_epfiles_create
     |						     |
ffs_func_bind					ffs_ready
     |						(descriptors are ready)
ffs_do_functionfs_bind
(check if descriptors are
ready)
     |
functionfs_bind

stop adbd releases the descriptors and then again start adbd in the
same composition switch, rewrites these descriptors.
adb daemon is always running, even when the composition does not support
adb. So doing a stop/start of the adb daemon is not needed. Hence, fix this
issue by not doing stop adbd in all compositions which support adb.

Change-Id: Ib65b3f99eaa136f6cd10c64bc37e0951f6a0567c
2015-08-21 16:19:06 -07:00
Linux Build Service Account 395c824657 Merge "init.qcom.rc: create directories for fingerprint" 2015-08-21 08:44:59 -07:00
Linux Build Service Account 9146b6b43d Merge "common: Modify ffbm settings script" 2015-08-21 08:44:57 -07:00
Venkateshwarlu Domakonda b7ddd33800 init: qcom: Fix the issue with fm patch downloader
Created separate fm directory to store calibration file.

Change-Id: I20c3e10b028ef3e666591b2dbcfcb3ad3554ff7d
2015-08-21 20:04:24 +05:30
Venkateshwarlu Domakonda 71d7a79081 init: qcom: Fix the issue with fm_dl service
- Open the SMD channel dynamically instead of bootup.
- Remove dev node access permission to 3rd party application.

Change-Id: I7486a59c298acbeede9f51145475f937a6e8de36
2015-08-21 20:04:19 +05:30
Venkateshwarlu Domakonda 722d255d51 init: qcom: Fix the issue with fm_dl service
- As the platform apps does not have permission to run the fm_dl service,
  run the fm_dl service during bootup to get the calibrartion data.
- Gave dev node access permission to 3rd party application.

Change-Id: I7fb49d4b01452d4efff8f06dfd3f6863407081b6
CRs-Fixed: 849294
2015-08-21 20:04:14 +05:30
Venkateshwarlu Domakonda a3c0b4af3d init: qcom: Add support for static linking for radio-iris-transport module
This patch makes iris FM driver static similar
to the drivers for other targets.

Change-Id: I7b0c6dd70148444df8930919294e86f2c9d20915
2015-08-21 20:01:38 +05:30
Vivek Mehta 599d60056d WFD: Spawn wifi display service at boot up
Spawn wifi display service at boot up instead
of starting it at runtime

Change-Id: Ie069ffce5fdbcef75f3cbf8d851a29e2cc438b95
2015-08-20 13:48:29 -07:00
Linux Build Service Account 9f1d8ac450 Merge "common: Add QBT1000 Fingerprint sensor driver device node" 2015-08-20 08:11:12 -07:00
mashaikh 6837e77716 post_boot: msm8952: Port all 8952 scheduler/governor tuning params
All scheduler/governor tuning params for 8952 ported to 3.18 branch

Change-Id: Iee1c62f41ea63e86f3e1a8b43317c6d84152f78c
2015-08-20 14:51:09 +05:30
Satya Durga Srinivasu Prabhala 0e4ed772f1 common: init: load SLPI images as part of early boot
This change will make sure SLPI gets loaded early and
available by the time sensor daemon gets started.

Change-Id: Idc31ffd038a72a8b16b8dbc0c2426ff830382661
2015-08-19 19:56:08 -07:00
Tyler Wear bc4fc74357 init script: Add qti process to qcom_diag group membership
Enable qcom_diag group membership for qti process so
that it can write to diag

Change-Id: I30e748b642455b0c33452932f650276566b34750
2015-08-19 17:05:53 -07:00
Biswajit Paul 6de7033753 init.qcom.rc: create directories for fingerprint
create fingerprint specific folder on post-fs-data

Change-Id: Ie251278975b89db5a4ba9668b802a8fc6796035c
2015-08-19 10:08:14 -07:00
muluhe f7e7810a11 common: Modify ffbm settings script
Change ffbm related setting script to rc format.

Change-Id: I658760f9a02f0a2e1e70bfa9f8d22af009c24978
2015-08-19 13:55:12 +08:00
Ajay Dudani 0321a4ad6c diag: Allow radio (instead of system) to use /dev/diag
Allow radio (instead of system) to use /dev/diag

Change-Id: I0518d7f0e6570b9872f6fc7c6181e9c8473bdd32
2015-08-17 22:51:11 -07:00
Mathew Joseph Karimpanal 7c31425f1e init_earlyboot: Support APQ8096 Dragonboard 820
Set LCD density to 240 for typical 10" Dragonboard FWVGA displays.
Enable Software Navigation Bar for Dragonboard.

Change-Id: Ie48ef1987a00941866ed0ef9e6e67519359cb360
2015-08-17 12:12:07 -07:00
Murali Nalajala 1843676e34 init.qcom.post_boot.sh: Enable LPMs by default
Enable all LPMs by default for version >= 8996V3.0

Change-Id: I9dd414ffaccf1fb6eb0012f8e7f579d259f0817c
2015-08-14 17:28:39 -07:00
Puneet Mishra 734e68a5ec ueventd.qcom.rc: add permissions for nqx nfc driver
Set permissions for nq-nci driver.

CRs-Fixed: 883637
Change-Id: I6139065cee3bbe409bfa27e61ccf95b4597a67be
2015-08-14 17:10:40 +01:00
Amal Paul 5e681243a5 common: Add QBT1000 Fingerprint sensor driver device node
QBT1000 driver votes on clocks and makes calls to trustzone

Change-Id: Iab23f99391f4e15e0cae936eec09122ee50056ae
CRs-Fixed: 851186
2015-08-13 15:06:09 -07:00
Mayank Rana f8eb1d48b9 init.qcom.usb.sh: Use default USB composition as diag,adb
When there is no platform identify using ro.board.platform, use
USB default composition as diag,adb. This reduces depedency on
different USB interface related transport.

Change-Id: Idc66ed88422494780670a92892951d6f84e315e8
2015-08-13 11:04:19 -07:00
Murali Nalajala 1f55ad086a init.qcom.post_boot.sh: Enable LPMs by default for 8996v3.0
Enable all LPMs by default for 8996V3.0

Change-Id: Iabe7af18f853d4da99ccb95c81d001092757acff
2015-08-11 13:45:48 -07:00
Linux Build Service Account 21d8e37968 Merge "init_earlyboot: set lcd density for 8996" 2015-08-09 04:01:36 -07:00
Linux Build Service Account 7a797102ed Merge "init script: Add USB device files to usb group" 2015-08-08 16:08:07 -07:00
Linux Build Service Account 64e640d9be Merge "Bluetooth: Provide diag permission." 2015-08-07 16:11:43 -07:00
Arun Kumar K.R 4a981c3c6a init_earlyboot: set lcd density for 8996
Set the property ro.sf.lcd_density to 480 for 8996

Change-Id: I0a36b3516df8201cc865e79896c14872891e1d09
2015-08-07 12:53:50 -07:00
Linux Build Service Account a3f24780c9 Merge "init: early_boot: Set up display permissions" 2015-08-07 04:09:01 -07:00
Mahesh Kumar Sharma bfe636bded Bluetooth: Provide diag permission.
Providing diag access permission to ftmdaemon.

Change-Id: I466ed1374e943aff1f766b235b374893189b11d5
2015-08-05 20:06:19 -07:00
Tyler Wear 1d88c13a44 init script: Add USB device files to usb group
Enable access to USB device files through usb
group.

Change-Id: I36a851e0648a483cea0447880132680d029febdc
2015-08-05 17:26:45 -07:00
Chiou-Hao Hsu eb47555610 Merge tag 'AU_LINUX_ANDROID_LA.HB.1.1.1.05.01.01.063.362' into HEAD
* commit '286a19816bbb48cfe05ac008e564a86014809d8f':
  init.qcom.post_boot: Configure new bus bw_hwmon parameters for MSM8996
  Initial support for thorium project on master

Conflicts:
	vendorsetup.sh

Change-Id: Icd41cc4a722fe5f4f2bffa711484c2a0662b0a0d
2015-08-04 23:29:51 -07:00
Naseer Ahmed 8e9fc0c83c init: early_boot: Set up display permissions
Setup ownership and permissions on display primary and external nodes.

Change-Id: I01abc29a630e6a35ada940dba80e8e8c3e9b4a2e
2015-08-04 20:20:51 -04:00
Chiou-Hao Hsu 64e54d0eab Merge tag 'AU_LINUX_ANDROID_LA.HB.1.1.1.05.01.01.063.356' into HEAD
* commit '6dfa44b044c858c2b5de0f0c3ca9eef28131a0c1': (27 commits)
  Add tcp buffer sizes for LTE_CA
  init.qcom.post_boot.sh: Update scheduler tunables for 8996
  tz app seemp_healthd removed
  init.qcom.post_boot: Enable low power modes for 8952
  init.qcom.usb: Add composition to support DPL with DUN over char bridge
  init.qcom.rc: FST Manager runs as user "wifi"
  init.qcom.post_boot.sh: Enable all the LPMs by default
  qcom: Add default configuration for DCC block on MSM8976
  BTLogKit: Added BTLogKit to Product Packages
  init.qcom.usb: Set default USB request buffer size as 128 KB for MTP
  Adding and starting IOP service for 8996
  base.mk: add FST Manager to the build
  init.qcom.rc: add FST manager service
  Bluetooth: Drop Wcnss_filter to bluetooth only access
  init.qcom.post_boot: Set mincpubw devfreq governor to cpufreq for 8996
  audio_policy: disable software DRC flag
  init.qcom.rc: Seemp health Deamon
  Disable sched_boost on msm8996 at post-boot.
  Mms: Change default config options
  qcom: Add default configuration for DCC block.
  ...

Conflicts:
	rootdir/etc/init.qcom.rc

Change-Id: Ifedca1c92c67b2006f11eaa54d4fb8134fe5952c
2015-08-03 11:28:17 -07:00
Linux Build Service Account c4f2982136 Merge "init.qcom.post_boot: Configure new bus bw_hwmon parameters for MSM8996" 2015-08-01 00:53:57 -07:00
Junjie Wu 8851feaa81 init.qcom.post_boot: Configure new bus bw_hwmon parameters for MSM8996
Configure parameters of new bus bw_hwmon for MSM8996.

Change-Id: Id233e11ca67827c47983bc89999789e2d1fbf9fd
2015-07-31 10:30:03 -07:00
Linux Build Service Account 6dfa44b044 Merge " tz app seemp_healthd removed" 2015-07-31 10:08:48 -07:00
Linux Build Service Account f6055efdd7 Merge "diag: Change /dev/diag group permission to qcom_diag" 2015-07-28 19:41:34 -07:00
Syed Rameez Mustafa 991585f407 init.qcom.post_boot.sh: Update scheduler tunables for 8996
Remove defunct scheduler parameters: mostly_idle_* and sched_small_task.
Update remaining ones that guide scheduler placement decision based on
8996.

Change-Id: I1d144ad1a524d9b7ea0b584f7dc29744fd0079b5
2015-07-27 18:07:42 -07:00
Linux Build Service Account 423040c7e9 Merge "init.qcom.post_boot.sh: Enable all the LPMs by default" 2015-07-27 14:51:17 -07:00
Linux Build Service Account 7451225807 Merge "qcom: Add default configuration for DCC block on MSM8976" 2015-07-27 11:41:53 -07:00
Linux Build Service Account c4606a097e Merge "init.qcom.post_boot: Enable low power modes for 8952" 2015-07-26 00:20:14 -07:00
Linux Build Service Account 0e7971517c Merge "init.qcom.usb: Add composition to support DPL with DUN over char bridge" 2015-07-24 16:55:56 -07:00
Linux Build Service Account c0cdac1304 Merge "init.qcom.usb: Set default USB request buffer size as 128 KB for MTP" 2015-07-24 16:55:55 -07:00
Sreelakshmi Gownipalli 66abfc2fe7 diag: Change /dev/diag group permission to qcom_diag
Change the /dev/diag node group permission from diag to
qcom_diag.

Change-Id: I37a4683cadf65ca87676d294caaecdc3ed19b5d2
2015-07-24 16:32:36 -07:00
Harshal Trivedi f550a6dc66 tz app seemp_healthd removed
To resolve bootup crash due to memory scribbling with this application

Change-Id: Id54b34cbdfd3838e373582a549d73ecd5f74323c
2015-07-24 11:35:19 -07:00
Avijit Kanti Das be4f64bbbc qti-testscripts: Adding new service to init.qcom.rc
Adding new service for in init.qcom.rc for testing purpose.
This service is only for userdebug configuration.

Change-Id: Id94a50bd6269a8a47ca1a8929b566c70a23d852e
2015-07-24 11:27:10 -07:00
Maulik Shah e9077a57c9 init.qcom.post_boot: Enable low power modes for 8952
Enable low power modes for 8952.

Change-Id: Ic2babd1d28386b5ed43d300b2e74e56b34b0e476
2015-07-24 10:48:39 +05:30
Linux Build Service Account f7b0f8ed9e Merge "init.qcom.rc: FST Manager runs as user "wifi"" 2015-07-23 17:37:15 -07:00
Mayank Rana 70aa71bc3c init.qcom.usb: Add composition to support DPL with DUN over char bridge
Add new USB compositions having DPL interface to update serial_cdev as
transport for Modem inteface.
0x90AD - DIAG + ADB + MODEM (cdev as transport) + NMEA + RMNET +
	Mass Storage + DPL

0x90B0 - DIAG + MODEM (cdev as transport) + NMEA + RMNET +
	Mass Storage + DPL

Change-Id: I27e142a9ff2dca00c8f41e57f822fd551377271c
2015-07-22 13:05:11 -07:00
Dedy Lansky 9cf403d09a init.qcom.rc: FST Manager runs as user "wifi"
run fstman as "wifi" instead of root.
At boot, chown of bond0's sysfs entry queue_id so that
fstman can access it.
support netd.fstman.start property for starting fstman in SoftAP mode

Change-Id: I025a2cab2d6a3ffbc879e14faf21c48da9936a11
2015-07-22 18:08:07 +03:00
Murali Nalajala fc2a3db563 init.qcom.post_boot.sh: Enable all the LPMs by default
Enable all the LPMs by default except D3 state.

Change-Id: I572f611ed47d019ebe9b22f5a0e300db06051269
2015-07-21 17:30:48 -07:00
Xiaogang Cui 24de10f2c3 qcom: Add default configuration for DCC block on MSM8976
Add support to run default configuration for DCC block on MSM8976.

Change-Id: Iafb7c5ca378d29c23a213313df2d86659fee3907
2015-07-21 14:31:07 +08:00
Linux Build Service Account 8fafd94e45 Merge "qcom: Add default configuration for DCC block." 2015-07-19 05:39:37 -07:00
Susmitha Gummalla 41c330bf64 Camera: Create a folder for mm-qcamera-daemon
Make sure that the /data/misc/camera folder is created
for camera to open and function

Change-Id: I8bcef7ac0a339715668388034f69ff0f6a0374dd
2015-07-18 15:28:18 -07:00
Linux Build Service Account 676d9eda2e Merge "Bluetooth: Drop Wcnss_filter to bluetooth only access" 2015-07-18 08:16:45 -07:00
Linux Build Service Account d647b98b27 Merge "Adding and starting IOP service for 8996" 2015-07-18 08:16:39 -07:00
Linux Build Service Account 99967e6e10 Merge "init.qcom.post_boot: Set mincpubw devfreq governor to cpufreq for 8996" 2015-07-18 08:16:39 -07:00
Linux Build Service Account be4c887c22 Merge "base.mk: add FST Manager to the build" 2015-07-18 08:16:35 -07:00
Mayank Rana 0fe2baca36 init.qcom.usb: Set default USB request buffer size as 128 KB for MTP
To improve throughput when using USB MTP functionality, set default
USB request buffer size as 128 KB for both Tx and Rx.

Change-Id: I2fd3f6ba05daf167b27ba82678f25b7bf9269a47
2015-07-16 13:10:11 -07:00
Linux Build Service Account 328dbd69ba Merge "init.qcom.rc: Seemp health Deamon" 2015-07-16 09:36:53 -07:00
Abhimanyu Garg 8f7764f0b3 Adding and starting IOP service for 8996
Creating directory for IOP socket and database.
Defining IOP daemon sevice to serve the prefetching requests.
Starting IOP service for 8996.

Change-Id: I43f00118c60a2768035a395de87d8c36f5a0cf57
2015-07-15 11:50:07 -07:00
Hamad Kadmany 10b82260bd init.qcom.rc: add FST manager service
This is needed for fast-session-transfer (FST) feature.

Change-Id: I14226b237a015d8f05f33a80f857fe768fbc31a6
2015-07-15 18:16:11 +03:00
Sungjun Park 29332691b5 Bluetooth: Drop Wcnss_filter to bluetooth only access
Make wcnss_filter to run with bluetooth previliges

Change-Id: Ifc1f139799c40731b22d821fbcc01ceeb6b0b566
2015-07-14 16:26:18 -07:00
Rohit Gupta 78fd9deae9 init.qcom.post_boot: Set mincpubw devfreq governor to cpufreq for 8996
Enable CPU to DDR bus scaling floor by setting mincpubw devfreq
governor to cpufreq

Change-Id: I8f88badd4760fcd2ade301a26197dd0ecbd88006
2015-07-13 18:41:54 -07:00
Linux Build Service Account a407208390 Merge "Disable sched_boost on msm8996 at post-boot." 2015-07-13 16:58:05 -07:00
Linux Build Service Account 3f68a9c110 Merge "init.qcom.rc: Mount debugfs with correct permissions" 2015-07-13 16:58:03 -07:00
Chiou-Hao Hsu 2c7c87556e Merge tag 'AU_LINUX_ANDROID_LA.HB.1.1.1.05.01.01.063.321' into HEAD
* commit '06292cd44d1f0d8143e08feb2173108ec2e25e42':
  audio: Add appropriate permission for avtimer driver
  Add support for generating signed LK image.
  common: init.qcom.rc: move to core class for Sensor Daemon
  init.qcom.post_boot: Configure cpu boost paramters for 8996
  Config File for Sprint Voice Replacement RAT
  init.qcom.post_boot: start perfd after cpu governor is initialized
  init.qcom.post_boot: enable perfd for msm8996
  init.qcom.rc: QSEE Proxy daemon
  base.mk: remove "libdrmdecrypt" library reference as the lib is obsolete

Change-Id: I22c00cd75c52922fc119d69fd72ce1d8ed903ac6
2015-07-13 14:57:57 -07:00
William Clark 9b4f14383d init.qcom.rc: Seemp health Deamon
Added seemp health daemon for boot time launch.

Change-Id: I6da0dc2a74ffb838b481b387f31fe5fbcbbb3dc0
2015-07-13 14:36:12 -07:00
Linux Build Service Account 74e44dbf57 Merge "Add running directory for LogKit II" 2015-07-13 03:53:35 -07:00
Linux Build Service Account 6397af5c9a Merge "Remove RIDL from root" 2015-07-13 03:53:35 -07:00
Linux Build Service Account 1b824b2250 Merge "common: init: move sensor service to it's own script" 2015-07-11 15:14:19 -07:00
Ajay Dudani 9ad03d94bc Update storage configuration as vold not manages storage
Change-Id: Iaf55aeaff3e47afcecabd766a9f43f2abab9c98c
2015-07-10 12:34:25 -07:00
Varad Deshmukh 1e106faf1e Disable sched_boost on msm8996 at post-boot.
This disables the sched_boost enabled at init.target.rc,
which was trying to keep threads on the sLVT cluster
during boot-up.

Change-Id: I88153d65d9dd916f9c444565926095267c33188f
2015-07-10 12:21:40 -07:00
Shashank Mittal b11ffa72a7 qcom: Add default configuration for DCC block.
Add support to run default configuration for DCC block.

On MSM8996 device DCC is configured to capture SPM registers at the time
of crash.

Change-Id: I70e2139e365e6d5e169d34b78380f80f8cfea78f
2015-07-09 11:35:38 -07:00
Shiv Maliyappanahalli 4de2da38e1 audio: Add appropriate permission for avtimer driver
Update the permisions for avtimer driver so that only apps
with audio group permission can open it

Change-Id: If3eabd988dfa5537037f5a1936ad254ec3eab9bf
2015-07-08 17:41:52 -07:00
Satya Durga Srinivasu Prabhala ee637c86ba common: init: move sensor service to it's own script
Even though sensor service moved to core class, common script is
being started as part of late_start services, from which, sensor
service is started. This is causing issues like, none of the
sensors are available to clients as System Server also scheduled
in parallel.

Change-Id: Ie69e43e9845952f06efd9fe52b68b9a02a9522ce
2015-07-08 16:30:43 -07:00
Linux Build Service Account 9ea81ef92d Merge "common: init.qcom.rc: move to core class for Sensor Daemon" 2015-07-04 12:32:06 -07:00
Linux Build Service Account 7762cf5095 Merge "init.qcom.rc: QSEE Proxy daemon" 2015-07-03 04:14:21 -07:00
Ameya Thakur ed099c11b0 init.qcom.rc: Mount debugfs with correct permissions
The newer kernels have changed the default mount permissions of
debugfs from 0755 to 0700. As a result a lot of userspace processes
can no longer access it. Changing the permission to 0755 to compensate
for this.

Change-Id: Ibc608dfadaf0157b72da6e172c5acd6ff3f27e3a
2015-06-30 16:54:02 -07:00
Satya Durga Srinivasu Prabhala 4925b97d5c common: init.qcom.rc: move to core class for Sensor Daemon
Peripheral Manager gets started as part of core class & if Sensor
Daemon gets started as part of class late_start, for slow
processors (e.g. at bring-up), scheduling may not happen as
expected and leads to issues like none of the sensors are available
to clients as System Server also scheduled in parallel.

Change-Id: I444600db8c66855db1d23b629c04dbe2beef30a3
2015-06-30 10:46:31 -07:00
Tapas Kumar Kundu 93bc622e67 init.qcom.post_boot: Configure cpu boost paramters for 8996
Set cpu_boost driver parameters for 8996. Userspace Entity can use
cpu boost driver to boost cpu frequency using these paramters.

Change-Id: I9fddd2e92d2aa65f761b49838b96d3fc9325ac8b
2015-06-26 18:51:18 -07:00
Tapas Kumar Kundu 3459e7f61a init.qcom.post_boot: start perfd after cpu governor is initialized
perfd hosts perflock/profile manager api. If perfd starts before cpu
governor parameter initialization then it cannot save default values
into file. This changes make perfd to start only after cpu governor
parameters are initialized.

Change-Id: Ifbbf6a61c9c048349b8c71395a5ba23abfed7006
2015-06-24 13:55:02 -07:00
Chiou-Hao Hsu 3cb7938470 Merge tag 'AU_LINUX_ANDROID_LA.HB.1.1.1.05.01.01.063.284' into HEAD
* commit '485c2299fc9482baea450440176ec8a98f9d9f0b':
  8952 bring-up on LA.HB.1.1.1
  init.qco.post-boot: Set bw_hwmon governor correctly for cpubw on 8996
  init.qcom.post_boot.sh: Enable C4 mode and disable suspend for 8996
  Enable cutom ecc
  base.mk: Adding compilation of libqcmediaplayer
  wqmsm8996: Enable Bus DCVS
  init.qcom.post_boot: Set bw_hwmon governor for cpubw device on 8996
  d/q/common: Add wfdservice to input group

Conflicts:
	vendorsetup.sh

Change-Id: If43c3633bbad8001790a5701ae376e581e4fabb5
2015-06-24 11:17:42 -07:00
Hamad Kadmany b84219dd74 init.qcom.rc: add dhcp client support over bond0
bonding is used for data-path in fast-session-transfer
(FST) feature.

Change-Id: I8c96d594fd1b8e4bc720b0eb5c19e75b9f8b8ea1
2015-06-24 12:13:48 +03:00
Tapas Kumar Kundu 32718eef11 init.qcom.post_boot: enable perfd for msm8996
msm8996 uses perfd to host perflock. perfd implements api for both
perflock and profile manager. Any userspace entity can use perflock
and profile manager to change system performance.

Change-Id: Ic176d8503181e11dd810df6c5d1766df1bd36dfd
2015-06-23 17:21:38 -07:00
Sudhir Sharma 35123eaaa6 Add running directory for LogKit II
Add new directory under SelfHost for storing a 'running' file

Change-Id: I7f0d0d01327168f6596ae9d1e5ea593dd7eee1dd
2015-06-23 08:36:17 -07:00
Linux Build Service Account 485c2299fc Merge "init.qco.post-boot: Set bw_hwmon governor correctly for cpubw on 8996" 2015-06-22 19:57:53 -07:00
Sudhir Sharma 210416ec00 Remove RIDL from root
Remove RIDL from root, using correct groups instead

Change-Id: Id2433b51c1f0d4221b212ffc2667619a58e71997
2015-06-22 09:12:23 -07:00
Linux Build Service Account bf7c6d64b0 Merge "init.qcom.post_boot.sh: Enable C4 mode and disable suspend for 8996" 2015-06-20 18:58:36 -07:00
Linux Build Service Account b14aea96b7 Merge "Enable cutom ecc" 2015-06-20 14:20:42 -07:00
Rohit Gupta 0f0ac702ed init.qco.post-boot: Set bw_hwmon governor correctly for cpubw on 8996
Previous commit to set the governor might fail on some builds which
might have a prefix 'soc:' to the node name for cpubw device.
This patch accounts for that change and sets the governor correctly
for the cpubw device.

Change-Id: Ic5b9a1264fc6fc6fef36c9486a0ba0dfe2b1716a
2015-06-19 14:32:49 -07:00
Murali Nalajala 8420d50640 init.qcom.post_boot.sh: Enable C4 mode and disable suspend for 8996
Enable C4(Fast PC) LPM mode for 8996v2.1.
All LPMs are disabled by default for v1.0 and V2.0.
Disable suspend for 8996v1.0 and 8996v2.0.

Change-Id: I6fe1e6da074b033cc895a17e52a6f33903a21875
2015-06-18 13:23:55 -07:00
Puneet Mishra 666b9feb05 init.qcom.rc: QSEE Proxy daemon
Rename fidodaemon to qseeproxydaemon.

Change-Id: I65e66220a92f299047226311e54c69dcd847c2ec
2015-06-16 14:45:00 +01:00
Linux Build Service Account a6f3e5c651 Merge "wqmsm8996: Enable Bus DCVS" 2015-06-13 04:48:03 -07:00