Commit graph

591668 commits

Author SHA1 Message Date
Krishna Chaitanya Devarakonda
c3d7839f99 msm: mdss: apply bus throughput factor for high downscale cases
For downscaling a 32 BPP surface with scale ratio greater than
or equal to 3.5, it is recommended to increase the mdp core clock
by 10%. This is to avoid any stalls on the bus during high concurreny
scenarios.

Change-Id: I77c8c25c73e4232271a93397e52798a6d5d74cf3
Signed-off-by: Krishna Chaitanya Devarakonda <kdevarak@codeaurora.org>
2017-07-06 05:34:36 -07:00
Linux Build Service Account
b4d55be415 Merge "Revert "defconfig: arm64: msm: Enable virtual platform"" into msm-4.4 2017-07-06 02:48:23 -07:00
Neeraj Upadhyay
5db7f2eae3 Revert "defconfig: arm64: msm: Enable virtual platform"
This reverts commit 2bb686dccd ("defconfig: arm64: msm: Enable
virtual platform"). The configs added in this change are not in
proper state and have build failures.

Change-Id: I30922e76761a1c436b54fb07f376ad9a5f5718f8
Signed-off-by: Neeraj Upadhyay <neeraju@codeaurora.org>
2017-07-06 14:44:51 +05:30
Linux Build Service Account
f96a299e77 Merge "drm/msm: Add timestamp counter" 2017-07-05 18:20:20 -07:00
Linux Build Service Account
e28c151ad1 Merge "msm: kgsl: Add A5XX RBBM registers to pre-crash dumper list" 2017-07-05 18:20:19 -07:00
Linux Build Service Account
fc916a2143 Merge "msm: kgsl: Add a NULL check for limit pointer" 2017-07-05 18:20:18 -07:00
Linux Build Service Account
a3424d9f5f Merge "mm: add preempt points into __purge_vmap_area_lazy()" 2017-07-05 18:20:17 -07:00
Linux Build Service Account
4756ccfd60 Merge "mm: turn vmap_purge_lock into a mutex" 2017-07-05 18:20:15 -07:00
Linux Build Service Account
0f6cf457b2 Merge "compat_qcedev: Fix accessing userspace memory in kernel space" 2017-07-05 10:28:43 -07:00
Linux Build Service Account
4c408ed259 Merge "diag: Add protection while processing non-hdlc packets" 2017-07-05 10:28:41 -07:00
Linux Build Service Account
d3a27d6fc2 Merge "mmc: card: Ratelimit the error log in mmc_blk_cmd_recovery()" 2017-07-05 10:28:40 -07:00
Linux Build Service Account
c4de2baacc Merge "defconfig: Enable and disable few configs for msm8998" 2017-07-05 10:28:39 -07:00
Linux Build Service Account
488f22ed0f Merge "USB: phy-msm-qusb: Enable autoresume only when device is connected" 2017-07-05 02:57:07 -07:00
Linux Build Service Account
22a427999d Merge "mmc: host: Capture error states in Trace logs." 2017-07-05 02:57:07 -07:00
Linux Build Service Account
9e94f54b9b Merge "msm: ADSPRPC: Initialize FastRPC invoke metadata" 2017-07-05 02:57:06 -07:00
Linux Build Service Account
d669e41bdb Merge "msm: mdss: Check htotal for calculating programmable fetch" 2017-07-05 02:57:05 -07:00
Linux Build Service Account
20e0861617 Merge "drm/msm: add support for parsing YUV 420 deep color" 2017-07-04 18:14:09 -07:00
Linux Build Service Account
8267ab99bd Merge "firmware: qcom: tz_log: update interrupt info offset" 2017-07-04 18:14:08 -07:00
Linux Build Service Account
27d09a21d1 Merge "msm-camera: sensor: Fixing kernel crash during i2c read" 2017-07-04 10:05:32 -07:00
Linux Build Service Account
ae03bcca0a Merge "lpm-levels: Enter shallowest state if predicted sleep length is less" 2017-07-04 10:05:31 -07:00
Linux Build Service Account
eacfb14b93 Merge "ASoC: msm-cpe: Resolve memory out of bound access" 2017-07-04 10:05:30 -07:00
Linux Build Service Account
a6e752c97f Merge "ARM: dts: msm: Add support for MPM wakeup capability for audio interrupt for SDM660/630" 2017-07-04 10:05:29 -07:00
Linux Build Service Account
1c7cda658f Merge "msm: ispif: fix crash during dumping io register" 2017-07-04 10:05:28 -07:00
Linux Build Service Account
a9194dae5a Merge "cnss_utils: Add support of cnss_utils for WLAN" 2017-07-04 10:05:27 -07:00
Linux Build Service Account
8012ae66a7 Merge "drm/msm/sde: remove extra entries from interrupt table" 2017-07-04 10:05:22 -07:00
Siba Prasad
7b7d464e9a mmc: host: Capture error states in Trace logs.
Upon encountering any error, few important registers are being captured
in trace logs in sdhci_dumpregs(). But without capturing exact error,
it would be tough to determine from which point in driver this dumpregs
has called. So capture the error state as well in Trace logs before
calling sdhci_dumpregs(). Also capture power irq related registers in
Trace logs upon any power irq related errors.

Change-Id: Ide172cdfb88a988cd4220bed03d05b8c6c4f15cb
Signed-off-by: Siba Prasad <sibap@codeaurora.org>
2017-07-04 17:38:07 +05:30
Mohammed Khajapasha
c387bf3d33 defconfig: Enable and disable few configs for msm8998
This change enables and disables below list of configs to
address the VTS KernelConfig test case failures.

Enable configs:
CONFIG_USB_CONFIGFS_F_AUDIO_SRC
CONFIG_QUOTA
CONFIG_QUOTA_NETLINK_INTERFACE
CONFIG_QFMT_V2
CONFIG_SECURITY_PERF_EVENTS_RESTRICT
CONFIG_CGROUP_DEBUG

Disable configs in perf defconfig:
CONFIG_USELIB
CONFIG_INET_LRO

Change-Id: Icecc6a637b778e6594c0f8c2f26118ae1b0a231c
Signed-off-by: Mohammed Khajapasha <mkhaja@codeaurora.org>
2017-07-04 16:41:50 +05:30
Hareesh Gundu
3b265177fc msm: kgsl: Add a NULL check for limit pointer
KGSL power limit pointer can be error or NULL. Add a NULL
check for limit pointer to avoid NULL pointer dereference.

Change-Id: I4aacaddd1cd9b34f1befc21807eb7ab577f0a7f1
Signed-off-by: Hareesh Gundu <hareeshg@codeaurora.org>
2017-07-04 14:34:10 +05:30
Linux Build Service Account
b14c620eb1 Merge "ASoC: sdm660_cdc: Prevent MICBIAS1 enable during headset record" 2017-07-04 01:21:03 -07:00
Linux Build Service Account
48b492e8e1 Merge "ASoC: wcd-mbhc: Disconnect ANC from RX chain during plug removal" 2017-07-04 01:21:02 -07:00
Linux Build Service Account
8775c10a30 Merge "ASoC: msm: qdsp6v2: add size check to fix out of bounds issue" 2017-07-04 01:21:01 -07:00
Linux Build Service Account
8661bf1cf3 Merge "ASoC: wcd9335: Add counter to maintain count of functions voting for max bw" 2017-07-04 01:21:00 -07:00
Linux Build Service Account
9081293223 Merge "genirq: honour default IRQ affinity setting during migration" 2017-07-04 01:20:58 -07:00
Linux Build Service Account
22d1c0de3b Merge "msm: ipa: prevent string buffer overflows" 2017-07-04 01:20:57 -07:00
Linux Build Service Account
5f7c3c00d4 Merge "msm: ipa: fix IPA MHI unit tests" 2017-07-04 01:20:55 -07:00
Linux Build Service Account
a8e21e678d Merge "drm/msm: Add a parameter query for the number of ringbuffers" 2017-07-04 01:20:54 -07:00
Linux Build Service Account
4a528fd7b8 Merge "drm/msm: Add kernel side submit profiling and tracing" 2017-07-04 01:20:53 -07:00
Linux Build Service Account
01f0e05f48 Merge "msm: camera: add protection in the cci write function" 2017-07-04 01:20:52 -07:00
Linux Build Service Account
4d8e12a8e6 Merge "msm: camera: isp: Handle array out of bound access" 2017-07-04 01:20:51 -07:00
Linux Build Service Account
caad37816b Merge "msm: mdss: fix the pixel clock calculation for fb modes" 2017-07-04 01:20:50 -07:00
Siba Prasad
4e6e5956d5 mmc: card: Ratelimit the error log in mmc_blk_cmd_recovery()
Ratelimit the error log in order to avoid flooding the logs in
case of function mmc_blk_cmd_recovery() gets called repeatedly.

Change-Id: Ic72087382fca2e188f1bbd8195a805cd751ed22e
Signed-off-by: Siba Prasad <sibap@codeaurora.org>
2017-07-04 12:35:11 +05:30
Haibin Liu
95824e6e54 msm: ispif: fix crash during dumping io register
Check whether ispif->base is null before dumping.

CRs-Fixed: 2046207
Change-Id: Ib026632252b43bb4d607ba00188c4c4143c1725e
Signed-off-by: Haibin Liu <haibinl@codeaurora.org>
2017-07-03 23:59:28 -07:00
Srinivas Rao L
e7072f8ed2 lpm-levels: Enter shallowest state if predicted sleep length is less
If lpm_cpuidle_predict returns the prediction value less than the
minimum residency of shallowest mode, then this case was considered
as not predicted. This allows core to enter into deeper states.
Instead in this case, use the minimum residency of
the shallowest state as the predicted sleep length.

Change-Id: Ib5bd1779e305262aef018f82f57d30ec22162b5b
Signed-off-by: Srinivas Rao L <lsrao@codeaurora.org>
Signed-off-by: Naresh Malladi <namall@codeaurora.org>
2017-07-04 11:20:28 +05:30
Tanvi Aggarwal
1e498718d2 msm-camera: sensor: Fixing kernel crash during i2c read
When userspace uses ioctl(), kernel should get the data from
userpsace through copy_from_user() or get_user() and send it
back to userpsace though copy_to_user() or put_user().
In this case, kernel is not using put_user or copy_to_user
which is leading to a crash during I2C read when it tries to
access memory.

CRs-Fixed: 2058381
Change-Id: Ie5596b62cb589ee048e54f37c7e6beda0d62cad5
Signed-off-by: Tanvi Aggarwal <tanvia@codeaurora.org>
2017-07-03 22:05:47 -07:00
Skylar Chang
f0a066a778 msm: ipa: fix IPA MHI unit tests
Connect a test producer pipe for MHI unit tests as the
default LAN_PROD pipe is not connected on MHI config.

Change-Id: I2fc1ff8758d222a738d570b5babc22ced2b43219
CRs-Fixed: 2066878
Acked-by: Ady Abraham <adya@qti.qualcomm.com>
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
2017-07-03 17:23:14 -07:00
Skylar Chang
754752faec msm: ipa: fix mhi suspend logic
Add a missing return statement in IPA MHI suspend routine.

Change-Id: I1dfbcff21ba3ca72ff985e76e851caf6a9da1ae4
CRs-Fixed: 2066866
Acked-by: Ady Abraham <adya@qti.qualcomm.com>
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
2017-07-03 17:22:09 -07:00
Linux Build Service Account
de207d8feb Merge "defconfig: arm64: msm: Enable virtual platform" 2017-07-03 15:52:33 -07:00
Linux Build Service Account
ead5fd4f66 Merge "cpuidle: lpm-levels: Check for negative sleep times" 2017-07-03 15:52:32 -07:00
Linux Build Service Account
f9b5ebb0c8 Merge "mm: add vfree_atomic()" 2017-07-03 15:52:29 -07:00
Linux Build Service Account
d4d87115fd Merge "mm: refactor __purge_vmap_area_lazy()" 2017-07-03 15:52:28 -07:00