Commit Graph

1073 Commits

Author SHA1 Message Date
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
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
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
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
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
Sooraj Sasindran 5a1cd5fcc8 Enable cutom ecc
Enable custom ecc by deafualt in RIL
copy prebuilt qcrl.db file into /data/misc/radio if
data partition does not have.

Change-Id: Ic024e157d3b6577170c4b79d8a76d9a5b5ce03f1
2015-06-12 17:34:17 -07:00
Linux Build Service Account aaac5185a5 Merge "d/q/common: Add wfdservice to input group" 2015-06-12 13:29:29 -07:00
Linux Build Service Account 11adefe3ea Merge "init.qcom.post_boot: Set bw_hwmon governor for cpubw device on 8996" 2015-06-11 13:08:23 -07:00
Linux Build Service Account cd13479a07 Merge "Disable RIDL service" 2015-06-01 01:25:37 -07:00
Linux Build Service Account 88c8e3e1f4 Merge "init.qcom.rc: update irsc_util to not use logwrapper" 2015-06-01 01:25:37 -07:00
Biswajit Paul 0518ce7c40 Disable RIDL service
Disable RIDL service due to excessive logging while
booting.

Change-Id: I29df9feca29d498d4177a32935f06475aae905c9
2015-05-29 18:23:12 -07:00
Ravi Kumar Siddojigari 69ade9782d init.qcom.rc: update irsc_util to not use logwrapper
Logwrapper does not have security domain defined.
Using it causes a misleading warning for irsc_util.

CRs-Fixed: 780042
Change-Id: I7595b0d96f5b2ec8696f67ab024c0f1ce54d249f
2015-05-29 17:24:32 -07:00
Matt Wagantall 5abd07c9e5 init: Replace '/sys/devices/soc.0' with '/sys/devices/soc' for 8996
The 3.18 kernel includes upstream changes which have changes the
naming of the soc device directory from 'soc.0' to simply 'soc'.
Updated references for targets using the 3.18 kernel- currently
only 8996.

Change-Id: I70b7b8121a6e08c43271afaa4b6fcfcbb1f01df1
2015-05-29 14:25:36 -07:00
Girish S Ghongdemath 671192b46d wqmsm8996: Enable Bus DCVS
Switch devfreq cpu bus dcvs governor to bw_hwmon

Change-Id: I828d2e0982be9c75ba69dbd53d8e28b7ea8f07ee
2015-05-29 10:59:58 -07:00
Linux Build Service Account 63162dd36d Merge "ueventd.qcom.rc: Add malware protection device node" 2015-05-28 14:59:11 -07:00
Rohit Gupta e6263d1565 init.qcom.post_boot: Set bw_hwmon governor for cpubw device on 8996
Enable CPU to DDR bus scaling using hw counters by setting cpubw
devfreq governor to bw_hwmon for MSM8996.

Change-Id: I77e105e6794dd905de3bb525651fef5010421df1
2015-05-27 13:53:29 -07:00
William Clark 0c72cf1b6e ueventd.qcom.rc: Add malware protection device node
Add malware protection node to seemplog.

Change-Id: Ia2c98694b392f6af02150e00051656914264afb1
2015-05-26 14:02:26 -07:00
Linux Build Service Account 0658c66158 Merge "init.qcom.rc: Make clients communicate with netmgrd using UNIX sockets" 2015-05-23 14:30:31 -07:00
Mayank Rana 98eb94bfe9 init.qcom.usb: Change USB default composition on 8996 for DUN interface
This change sets DUN interface transport as char_bridge instead of smd.
With that default USB composition on 8996 v2.0 and above revision is:
9025: DIAG + ADB + MODEM + NMEA + RMNET + MSC
(diag,serial_bridge,serial_tty,rmnet_ipa,mass_storage,adb)

9026: DIAG + MODEM + NMEA + RMNET + MSC
(diag,serial_bridge,serial_tty,rmnet_ipa,mass_storage,adb)

Change-Id: Ief61c384ee6def4e3667e3909fa5465a84ea1ba3
2015-05-19 10:34:37 -07:00
Mayank Rana b7bca58ab3 init.qcom.usb: Set default MSM8996 composition
Set the default USB composition for MSM8996 as below:
For msm8996 v1.0:
"diag,adb"

For msm8996 v2.0 and above:
"diag,serial_smd,serial_tty,rmnet_ipa,mass_storage,adb"

Change-Id: Ide70eec2e6a266eb5d9f52957a8c698712fc575d
2015-05-19 10:32:54 -07:00
Linux Build Service Account 8c6cc36479 Merge "Set correct permission for the modem_config" 2015-05-19 00:48:48 -07:00
Sooraj Sasindran aeb976c54a Set correct permission for the modem_config
Set corrrect permission for modem_config dir

Change-Id: Ieaad4056bbecc26cfbbae27c68e7e30dbfab364d
2015-05-18 15:43:49 -07:00
Linux Build Service Account 80c7894303 Merge "common: init.qcom.usb.sh: Configure BAM2BAM_IPA for RNDIS on MSM8996" 2015-05-18 15:39:19 -07:00
Subash Abhinov Kasiviswanathan e7fdd44176 init.qcom.rc: Make clients communicate with netmgrd using UNIX sockets
Netmgrd was redesigned to add support for its clients to communicate
with netmgr using unicast netlink messages to eliminate the need for
the clients to have CAP_NET_ADMIN privileges.

However, this approach brings up two new problems.

- Clients need to scan through /proc/<pid>/stat to find the PID of
  netmgrd. It is possible that a rogue process can call themselves
  netmgrd and the communication would happen with it instead.

- Additionally we would need to add a SELinux policy which would be too
  permissive to scan through procfs entirely. A workaround for this was
  to not audit any failures in procfs but it is not a clean approach.

Fix this by establishing communication using UNIX domain sockets for
clients to talk to netmgrd.

CRs-Fixed: 754937
Change-Id: Ice97b1eff69b1022ccfb2e1c324fb39dc76f3a35
2015-05-18 16:15:27 -06:00
Poly Singh d91f48b264 Remove startRIDL.sh to fix FDE
Remove startRIDL.sh to fix Full Disk Encryption, honor late_start

Change-Id: I4d548e8725cfd5ddc683eedcd3db627c3f494806
2015-05-15 12:03:39 -07:00
Linux Build Service Account 931ac79bc2 Merge "init.qcom.rc : changes to start port-bridge" 2015-05-14 14:41:14 -07:00
Mayank Rana 1df9f5c636 common: init.qcom.usb.sh: Configure BAM2BAM_IPA for RNDIS on MSM8996
For MSM8996 target, RNDIS is enabled with BAM-to-BAM to IPA for the
datapath. Set the transport type accordingly, which allows the USB
composite driver to choose the f_qc_rndis driver that supports this.

Change-Id: I641f30d4a7f8a50e2ead3d0f63a2c16cb64e9b08
2015-05-13 12:31:47 -07:00
Subash Abhinov Kasiviswanathan 650dc9e66d init.qcom.rc : changes to start port-bridge
Start port-bridge during boot up.

CRs-Fixed: 835829
Change-Id: I36e3b071b737ba5f6e88137bc786a209e43e3a94
2015-05-12 22:59:21 -06:00
Linux Build Service Account b6f0ac072c Merge "Change bootup shell script to duplicate config files" 2015-05-11 18:52:33 -07:00
Manu Prasad 2f76b878fa d/q/common: Add wfdservice to input group
-- Adding wfdservice to input group to allow access to
   input nodes under dev/input for Direct Streaming feature

Change-Id: I0b4a0bac905a0166b4690186e32ae219c53ad7e9
2015-05-08 21:30:17 +05:30
Sooraj Sasindran 0c440edd5d Change bootup shell script to duplicate config files
Change bootup shell script to:
- Copy config files
- change the new config to correct ownship
- set flag to indicate copy is completed.

Change-Id: Ie00059ba49ac0d59b2c41b35640593347521dec3
2015-05-07 17:14:37 -07:00
Puneet Mishra 63e018de21 init.qcom.rc: FIDO Daemon
Add the FIDO daemon to init.target.rc, so that it's started
by init at boot.
Change-Id: Ie093a56eea2d5dbb46d8b0df54816a6405f5f2b2
2015-05-07 11:23:37 +01:00
Aravind Asam 49b9de19ff Updated logic for writing image version in sysfs
Removed target list and added check for presence of
sysfs entry 'select_image'

Change-Id: I2678cc09d4f9cd1de0366e57ed637b48860bfbda
2015-05-06 16:25:46 -07:00
Satya Krishna Pindiproli e8245f1a11 common: add permissions for native APE driver
Give 660 permissions to the native APE driver
to support end to end playback of APE clips.

Change-Id: I975d13c864138b3236d04fa9aa4262d12db5ebb4
2015-05-04 00:37:35 -07:00
Linux Build Service Account d6805cbd30 Merge "qcom: Change property name for coresight configuration." 2015-04-14 17:49:25 -07:00
Linux Build Service Account 00987ee2b1 Merge "qcom: Remove coredump configuration init script." 2015-04-14 17:49:25 -07:00
Linux Build Service Account 53118eeb09 Merge "Start qdss agent as a service." 2015-04-14 17:49:24 -07:00
Satya Krishna Pindiproli a03eb082e6 common: add permissions for native ALAC driver
A native driver to support end to end playback of ALAC
content has been implemented. Give 660 permissions to
the driver to support the feature.

CRs-Fixed: 808940
Change-Id: Id11145249b4527476972a945955a1acb82af676b
2015-04-09 10:52:22 -07:00
Shashank Mittal 1d3f8de3ca qcom: Change property name for coresight configuration.
Add support for skipping default coresight configuration if
ro.dbg.coresight.config is not set.

Change-Id: I2114ad7a3781242f8d592bb1ea1a16104d6b7397
2015-04-06 15:24:22 -07:00
Shashank Mittal d00cc21800 qcom: Remove coredump configuration init script.
With new coresight debug agent available all coredump configuration can
be done from user configuration script. So removing this configuration
from init scripts.

Change-Id: Iaa06919eb6622ee1320d7fe2475e62fa89b3292d
2015-04-06 15:24:22 -07:00
Shashank Mittal 3a30d6c69a Start qdss agent as a service.
Start qdss agent as a service and run init.qcom.debug.sh thru debug
agent script.

Change-Id: I3abde82d0816046e779517bb79b6cbe1ee26cade
2015-04-06 15:24:16 -07:00
Ravinder Konka cf9a78bc4a init.qcom.rc: Separate def_rwnd property for 2G
- Separate property net.tcp.2g_init_rwnd for 2G networks
- Updating adv_win_scale based on a system property

CRs-Fixed: 679127
Change-Id: I66b679afdcd690c52dae6039cf552be3917e8f68
2015-04-02 05:34:14 -07:00