Commit Graph

1896 Commits

Author SHA1 Message Date
Yashdev Singh 65809c73f9 Add tcpbuffer parameters into overlay.
- Add the various RAT values in config_mobile_tcp_buffer array.
- These values are from init.qcom.rc.

Change-Id: Ie675c410915029d9ef1a2ef7ebad396201771c27
2014-10-13 17:56:13 -07:00
Tarun Gupta 612d549600 init.qcom.rc : remove /system/bin/usbhub* related changes and configuration
remove /system/bin/usbhub_init* related changes, these service are only
applicable for 7x30 Fusion which is now obselete.

Change-Id: I67cc1b9ce4267f286f47b9f67124a91f535e3e59
2014-10-13 15:56:21 +05:30
Sri Krishna Chaitanya Madireddy 7d8b35351d qcom/common: Added O_NOFOLLOW to avoid follow the symlink
open system call is added with NOFOLLOW flag

Change-Id: I402643635e3ee11b3ac5df63c3b71a9fd6f0d2db
2014-10-13 01:57:38 -07:00
Linux Build Service Account 2a83418d0f Merge "init.qcom.post_boot.sh: Add scheduler packing settings to 8994" 2014-10-12 08:40:35 -07:00
Linux Build Service Account 226f9dd880 Merge "init: create native cgroup" 2014-10-12 05:42:07 -07:00
Linux Build Service Account 69ba4785d9 Merge "msm8909: Add display support for 8909 target" 2014-10-12 00:52:39 -07:00
Linux Build Service Account 971669f574 Merge "init.qcom.usb.rc: Set serial string on init" 2014-10-12 00:52:38 -07:00
Linux Build Service Account ad052f8ca0 Merge "init.qcom.rc: Add service cnss-daemon to bootup" 2014-10-10 17:56:30 -07:00
Linux Build Service Account 7e375c6e9f Merge "init.qcom.post_boot: Enable scheduler inputs to governor" 2014-10-10 06:27:40 -07:00
Rohit Gupta dcfc342932 init.qcom.post_boot: Enable scheduler inputs to governor
This change enables interactive governor to use CPU runqueue loads
for each CPU over the last window from scheduler instead of just
getting CPU busy time. Task migration fixups are also enabled so
that task load can be adjusted at the source and destination CPU
runqueue during a migration.

Change-Id: I7a5c285c5061322dbb0b6d07d86520a981552d2e
2014-10-09 14:39:11 -07:00
Linux Build Service Account 9b00347636 Merge "init script: Start IPACM as net_admin" 2014-10-09 08:11:43 -07:00
Linux Build Service Account 98ba1d97a6 Merge "device: common: Add synaptics_dsx.kl to PRODUCT_PACKAGES" 2014-10-09 08:11:42 -07:00
Linux Build Service Account cb0e84ec5b Merge "init.qcom.post_boot.sh: Disable core control during governor config on MSM8994" 2014-10-09 08:11:41 -07:00
Jack Pham 3bece9982b uicc: add load/unload rules for MSM8994
Add support for MSM8994 USB controller. It is mostly the same
as MSM8974 with minor changes due to controller device name
and the module parameter location.

Change-Id: I80eb83def519c69369b50622907d3d1d3a295fe8
2014-10-08 17:05:40 -07:00
yuanliu 5abb37c836 init.qcom.rc: Add service cnss-daemon to bootup
Start service cnss-daemon on bootup which communicate with
WLAN host driver and QMI location server on LPSS.
The cnss-daemon starts with root permisson. It will
acquire suitble system permission and drop root
permission when it's running.

Change-Id: I799e1001a6fcb6cda872db425b4e2d41b443b0c0
CRs-Fixed: 655468
2014-10-08 12:51:00 -07:00
Naseer Ahmed da838ba05e common: Enable doze mode
Configure the system server and system UI to allow
the device to go into doze mode

Change-Id: I4f0e060c7d1ed1e34c01ab7731ad3dd7cdd775c2
2014-10-07 19:32:03 -04:00
Shiju Mathew e93f8f4451 init.qcom.post_boot.sh: Disable core control during governor config on MSM8994
Disable core control from thermal(KTM and BCL) during
governor configuration on MSM8994 in post boot script.

Change-Id: Id6d7058b2e6d2bd5bb240fe9397f65525d6ad5db
2014-10-07 18:10:13 -04:00
Shantanu Jain bc0c87f0dc device: common: Add synaptics_dsx.kl to PRODUCT_PACKAGES
Add key layout file to PRODUCT_PACKAGES so it will be included
in system image.

Change-Id: I13e78037b61d0384d0fc02f954be3f16edb4dc5b
2014-10-07 15:26:26 +05:30
Linux Build Service Account 984c8363fa Merge "init.qcom.post_boot: Enable bw_hwmon for MSM8939" 2014-10-06 22:53:41 -07:00
Skylar Chang 000598d386 init script: Start IPACM as net_admin
For more secure, IPACM needs to be run as
net_admin instead of root. Therefore those
device nodes which IPACM needs to access
should be put as net_admin with 066 write
read permissions when device bootup.

Change-Id: Idbb154adc44a0b21396973e07432a7fb783bcc55
2014-10-03 15:30:49 -07:00
Linux Build Service Account 21c89ab8e0 Merge "ueventd: add write permission for sensors device nodes on msm8939" 2014-10-02 21:39:26 -07:00
Linux Build Service Account 9103b46a63 Merge "ueventd.qcom.rc: Drop permission of subsystem ramdump nodes" 2014-10-02 21:39:25 -07:00
Linux Build Service Account 9a0d9c7ea9 Merge "init.qcom.rc: Add qcomsysd to the diag group" 2014-10-02 21:39:24 -07:00
Vince Leung de38a15237 init.qcom.post_boot.sh: Add scheduler packing settings to 8994
Enable Task Packing logic for 8994 and set small_task definition
to 30.

Change-Id: I2421dcfc8b92fde2042ae91d781c7362956b00ca
2014-10-02 16:56:41 -07:00
Srivatsa Vaddagiri 3f8c938fa4 init: create native cgroup
Cgroup feature provided by Linux kernel is one of the means used by
Android framework to control cpu usage of applications. Android
framework creates /apps and /apps/bg_non_interactive cgroups and
manages migration of tasks between those two cgroups. Tasks created
outside the scope of Android framework (kernel threads, mpdecision
etc) are however left in "root" cgroup, where each task is considered
to be a cgroup of its own, thus giving each such task more CPU
resource than desired. Such tasks have been found to interfere with
smooth functioning of Android application and have been responsible
for effects such as increased janks or bad user-experience.

Fix this problem by creating a /native cgroup to encapsulate all tasks
at bootup. /native cgroup is assigned shares of 1024 and real-time
bandwidth of 15% (150ms out of every 1sec). The real-time bandwidth is
unchanged (from what currently exists) while the combined shares of
1024 for all "native" tasks will help curb interference between native
and Android tasks.

Change-Id: I988b6145ab7cfbd94cbbab4d63fadc3bab6551fa
2014-10-02 16:37:42 -07:00
Linux Build Service Account f28984c8f8 Merge "init.qcom.rc: Restrict external sdcard write permission" 2014-10-02 16:00:31 -07:00
Linux Build Service Account c44b239dd1 Merge "post_boot.sh: Parameters tuning for conistent IO performance" 2014-10-02 15:59:50 -07:00
Linux Build Service Account a4df8cf1a2 Merge "common: init.qcom.sh: change the trigger position for remotefs process" 2014-10-02 15:59:46 -07:00
Ameya Thakur b645872ae4 ueventd.qcom.rc: Drop permission of subsystem ramdump nodes
The ramdump nodes are now accessible by members of user/group system.

Change-Id: Id6ead0e32a1ad1d62ff5ac00c0fb17f0b7c8b4c5
2014-10-02 12:32:58 -07:00
Oliver Wang 89ab6190b5 ueventd: add write permission for sensors device nodes on msm8939
The sensor HAL needs to write commands to the sensor device nodes to
control the sensor driver. Thus add rules to fix up the permissions
of "enable_wakeup" ,"max_latency" and "flush".

Change-Id: Ica95bef4fb88e220eab84634c07997b3bed7d8d6
2014-10-02 15:30:10 +08:00
Ameya Thakur 72868d851f init.qcom.rc: Add qcomsysd to the diag group
qcomsysd is now a member of group qcom_diag.

Change-Id: I6787fbf996097966321453ebaa787b943b3fd772
2014-10-01 16:50:11 -07:00
Shivaraj Shetty ac69d238c3 msm8909: Add display support for 8909 target
Add support for libs needed for display
on msm8909

Change-Id: Iffb81f4f2aa8d49141bfdaf9592f86b43962bb9b
2014-10-01 18:55:53 +05:30
Venkat Devarasetty fc3fe46467 init: qcom: post_boot: update soc IDs for 8916, 8936 and 8939
Add the new soc IDs for 8916, 8936 and 8939

Change-Id: Ieccf6a4dcb3dc1c59320aabae55d6ab5582692e7
2014-10-01 15:38:41 +05:30
Shalaj Jain 4fc93f119f common: base: Add MSM_VIDC_TARGET_LIST
Define a global list MSM_VIDC_TARGET_LIST which contains all
video enabled targets.

Change-Id: If8ecdf183b0d4b93b9ade587f008343e6f3fa20c
2014-09-30 15:52:07 -07:00
Biswajit Paul 8831f34d27 init.qcom.rc: Restrict external sdcard write permission
Apps must not be allowed to write to secondary external storage
devices, except in their package-specific directories as allowed by
synthesized permissions. Restricting writes in this way ensures the
system can clean up files when applications are uninstalled

Change-Id: I6688dc3f5d81f966fd42a8cf3509c3743474de50
CRs-Fixed: 715425
2014-09-30 10:59:15 -07:00
Taniya Das 9187464f69 init.qcom.post_boot: Enable bw_hwmon for MSM8939
Modify devfreq governor from cpufreq to bw_hwmon for MSM8939.

Change-Id: I04b61648ef4d6700d50589801e989ef2dbc87cad
2014-09-29 22:49:37 -07:00
Jie Cheng 34703121e7 common: init.qcom.sh: change the trigger position for remotefs process
Change the trigger position from init.qcom.rc to init.qcom.sh for remotefs
process rmt_storage and rfs_access. Make sure the two processes are loaded
with "ro.boot.emmc = true" and not in the power off charging mode.

Change-Id: Ie5ddc7afc9e69ab907db18fbcc7301020830cd4b
2014-09-29 17:23:42 +08:00
Linux Build Service Account 6793819e8d Merge "common: start wcnss-service in ffbm" 2014-09-27 13:37:10 -07:00
Linux Build Service Account 37e5d906d6 Merge "common: modify usb configuration in FFBM" 2014-09-27 13:37:09 -07:00
Linux Build Service Account ef9e7e5658 Merge "Bluetooth: GAP: Restricting MAX_ACL_CONNECTIONS to 7" 2014-09-27 06:33:34 -07:00
Linux Build Service Account 831e7ed64c Merge "Rename ferrum to msm8909" 2014-09-27 06:33:22 -07:00
Linux Build Service Account 171e09520b Merge "msm8994: set min_freq prop and rm default_values file" 2014-09-26 18:44:23 -07:00
Linux Build Service Account 1c8924db01 Merge "build: change extension library name to libqti-perfd-client.so" 2014-09-26 18:44:22 -07:00
Linux Build Service Account 0f324fadad Merge "Removes BLE Peripheral display only flag from config file" 2014-09-26 18:44:20 -07:00
Vijayavardhan Vennapusa 7e6279d2a7 init.qcom.usb.rc: Set serial string on init
Currently init.qcom.usb.sh is writing the serial number into
android sysfs entry. But during bootup, .rc file is writing
default composition before .sh gets executed. This results USB
driver sending default serial string to host due to port hopping
happens. Hence write ro.serialno to the sysfs entry on init once.

Also remove reading persist.usb.serialno which is required only for
NAND based devices as all future targets are emmc based devices.

CRs-Fixed: 659235
Change-Id: Iddb0875fe0aff9aa9d53850861cc54735e5006d7
2014-09-25 16:44:48 +05:30
Varun Garg 6cf62ab72e post_boot.sh: Parameters tuning for conistent IO performance
Changing packing parameter and interactive setting for consistent
and improved IO related performance on 8939 target

Change-Id: Ia4bd1d509109050dd2b518cdb11ec90fee94935a
2014-09-25 12:20:22 +05:30
padarshr 0e9416742d Rename ferrum to msm8909
This change is to rename ferrum to chipset name- msm8909

Change-Id: I073fef3be31f94658fbffd41f33a6193fb2483aa
2014-09-24 12:35:16 -07:00
Vince Leung c7fc2974a4 msm8994: set min_freq prop and rm default_values file
Remove the default_values file and set the min_freq
prop to the correct freq value prior to start of perfd.

Change-Id: If0508d5e5d51b2ab3b7e62f81c0be8331d897fef
2014-09-24 11:31:21 -07:00
Vince Leung d73695bbc9 build: change extension library name to libqti-perfd-client.so
Old library is no longer used for this property so update
the property value with the name of the new library,
libqti-perfd-client.so

Change-Id: I5d3e19ee684400bb11c9c584bedadf9f46e9ec4d
2014-09-24 10:55:20 -07:00
muluhe 324f7e601a common: start wcnss-service in ffbm
start wcnss-service in ffbm which needed for BT/FM/WIFI.

Change-Id: I37bc2a5af154cf2c42d1ef324891e0ef0fca3406
2014-09-24 16:39:08 +08:00