Commit graph

582596 commits

Author SHA1 Message Date
Linux Build Service Account
07cd7cd92a Merge "sched: fix bug in auto adjustment of group upmigrate/downmigrate" 2017-02-08 17:48:18 -08:00
Linux Build Service Account
0c9dc102d9 Merge "Use after free from pid_nr_ns()" 2017-02-08 17:48:17 -08:00
Linux Build Service Account
8c3934fc84 Merge "msm: kgsl: Add support for A508 GPU on SDM630" 2017-02-08 17:48:17 -08:00
Linux Build Service Account
1a80cbf258 Merge "ice: fix issue with losing ICE key configuration during reset" 2017-02-08 17:48:15 -08:00
Linux Build Service Account
7b50cd1586 Merge "ARM: dts: msm: Update MEM ACC corner mapping for APC0/1 for sdm660" 2017-02-08 17:48:15 -08:00
Linux Build Service Account
24e0ec62a2 Merge "regulator: cpr4: null terminate of_match_table" 2017-02-08 17:48:14 -08:00
Linux Build Service Account
2eb98d3889 Merge "defconfig: enable CONFIG_FREE_PAGES_RDONLY for sdm660" 2017-02-08 17:48:08 -08:00
Linux Build Service Account
1cc8872588 Merge "arm: mm: add missing pieces for CONFIG_FREE_PAGES_RDONLY" 2017-02-08 17:48:08 -08:00
Linux Build Service Account
ba12d174c8 Merge "defconfig: Align sdm660 arm32 defconfig with arm64" 2017-02-08 17:48:07 -08:00
Linux Build Service Account
8f0a76b8f6 Merge "arm: mm: program ptes for access restriction" 2017-02-08 17:48:07 -08:00
Linux Build Service Account
cf2156f96e Merge "ARM: dts: msm: Add bluetooth node of wcn3990 for sdm630" 2017-02-08 17:48:06 -08:00
Linux Build Service Account
d683c305eb Merge "USB: u_data_ipa: Fix pm_runtime usage count in case of error" 2017-02-08 17:48:05 -08:00
Linux Build Service Account
fc7780d2f7 Merge "defconfig: msm: enable SCHED_AUTOGROUP for sdm660" 2017-02-08 17:48:05 -08:00
Linux Build Service Account
4274d1ddbd Merge "qcom-charger: smb2: fix kernel log flooding by charger driver" 2017-02-08 17:48:04 -08:00
Linux Build Service Account
98f3f9832b Merge "msm: mdss: Correct video interface setup for AVR feature" 2017-02-08 17:48:03 -08:00
Linux Build Service Account
a3863eb11e Merge "msm: ext_display: update hpd and notify for HDMI" 2017-02-08 17:48:02 -08:00
Linux Build Service Account
74717404f7 Merge "msm: mdss: fix mdp vbif qos priorities" 2017-02-08 17:48:01 -08:00
Linux Build Service Account
c08dbd7160 Merge "msm: mdss: Skip ping pong wait when panel is reported dead" 2017-02-08 17:48:00 -08:00
Linux Build Service Account
cdf7b60f9d Merge "power: supply: qcom: fix OTG soft start failure with higher capacitance" 2017-02-08 17:47:59 -08:00
Linux Build Service Account
0a2cd3d49f Merge "ARM: dts: msm: update nt35597 truly panel init sequence" 2017-02-08 17:47:58 -08:00
Linux Build Service Account
5a1c2adb5c Merge "icnss: After recovery probe if not done already" 2017-02-08 17:47:58 -08:00
Linux Build Service Account
075735536c Merge "ARM: dts: msm: update truly fhd panel init sequence" 2017-02-08 17:47:53 -08:00
Linux Build Service Account
1e319a1d2d Merge "regulator: qpnp-oledb-regulator: correct various coding style issues" 2017-02-08 17:47:45 -08:00
Linux Build Service Account
c14db37507 Merge "regulator: qpnp-lcdb-regulator: correct various coding style issues" 2017-02-08 17:47:44 -08:00
Linux Build Service Account
530b3e3cf2 Merge "regulator: qpnp-labibb-regulator: correct various coding style issues" 2017-02-08 17:47:44 -08:00
Linux Build Service Account
2c9038e7d1 Merge "leds: leds-qpnp-wled: correct various coding style issues" 2017-02-08 17:47:43 -08:00
Linux Build Service Account
331a26c52b Merge "leds: leds-qpnp-flash-v2: correct various coding style issues" 2017-02-08 17:47:43 -08:00
Linux Build Service Account
3fc3c69db9 Merge "leds: leds-qpnp-flash: correct various coding style issues" 2017-02-08 17:47:42 -08:00
Linux Build Service Account
4c61075032 Merge "leds: leds-qpnp: correct various coding style issues" 2017-02-08 17:47:41 -08:00
Linux Build Service Account
b6ec54aa3e Merge "qcom: qnovo: Fix QNOVO IADC_OFFSET, STRM_CTRL and PPCNT settings" 2017-02-08 17:47:41 -08:00
Linux Build Service Account
61eadab792 Merge "ARM: dts: msm: Configure PMI8998 GPIO6 for discharge FET ctrl signal" 2017-02-08 17:47:40 -08:00
Linux Build Service Account
47d0a67935 Merge "ARM: dts: msm: update the DT properties for display port on SDM660" 2017-02-08 17:47:39 -08:00
Linux Build Service Account
52ea397825 Merge "iio: qcom-tadc: set all threshold comparators directions" 2017-02-08 17:47:34 -08:00
Linux Build Service Account
3a6de8f9a9 Merge "net: support __alloc_skb to always use GFP_DMA" 2017-02-08 17:47:30 -08:00
Linux Build Service Account
d412bf2a8c Merge "msm: ADSPRPC: Check for buffer overflow condition" 2017-02-08 17:47:30 -08:00
Rajesh Kemisetti
e12ca1eb7b msm: kgsl: Add support for A508 GPU on SDM630
Add new GPU ID: A508 and corresponding VBIF and initial
settings on SDM630.

Change-Id: If1cd782beb50098a69a9d05acb083ef4b0465766
Signed-off-by: Rajesh Kemisetti <rajeshk@codeaurora.org>
2017-02-08 21:53:15 +05:30
Andrey Markovytch
a1cd6239e4 ice: fix issue with losing ICE key configuration during reset
TZ is called to restore key configuration in case of UFS reset

Change-Id: Id434e7f9ec6befdce97f52fd350957b66adcb15f
Signed-off-by: Andrey Markovytch <andreym@codeaurora.org>
2017-02-08 04:35:20 -08:00
Neeraj Upadhyay
c74187e5c8 regulator: cpr4: null terminate of_match_table
Null terminate cpr4_mmss_regulator_match_table with
'{}', to fix the error reported from KASAN.

Change-Id: Ib991fe5ce57e9e12132c3c836e1e807cb0afad22
Signed-off-by: Neeraj Upadhyay <neeraju@codeaurora.org>
2017-02-08 16:34:20 +05:30
Shiraz Hashim
aad00ec265 defconfig: enable CONFIG_FREE_PAGES_RDONLY for sdm660
Enable CONFIG_FREE_PAGES_RDONLY for 32bit sdm660, that
marks freed kernel pages as read-only.

Change-Id: I532dc10fc6aee5200275550eb1df7d1e6cf195e9
Signed-off-by: Shiraz Hashim <shashim@codeaurora.org>
2017-02-08 16:12:17 +05:30
Shiraz Hashim
f7abb9acbd arm: mm: add missing pieces for CONFIG_FREE_PAGES_RDONLY
CONFIG_FREE_PAGES_RDONLY, which marks freed kernel pages
as read-only missed the Kconfig and an interface to mark
pages as read-only for 32 bit system. Add them.

Change-Id: Ibb5020a44323fb50febd66e16ca448da8ecb352c
Signed-off-by: Shiraz Hashim <shashim@codeaurora.org>
2017-02-08 16:12:16 +05:30
Shiraz Hashim
154827ce27 defconfig: Align sdm660 arm32 defconfig with arm64
Align arm32 and arm64 sdm660 defconfig with respect to
iommu configs and remove cma size selection as it is to be
moved to device tree.

Change-Id: I5c5f88c05dce9f58d29d56d9cfea2b0d785d665a
Signed-off-by: Shiraz Hashim <shashim@codeaurora.org>
2017-02-08 16:11:04 +05:30
Shiraz Hashim
01ede3637b defconfig: msm: update mmap randomness for sdm660
CTS malloc tests on Android 'N' expects higher entropy in
mmap returned address. Present value of mmap random bits
is not providing enough variations for 32 bit tasks.

Increase mmap_rnd_bits for 32bit and mmap_rnd_compat_bits
for 64bit targets to value of 16.

Change-Id: I1cb88cb1f1fc2a8dc7e27eb54b8c0b2a3eb37843
Signed-off-by: Shiraz Hashim <shashim@codeaurora.org>
2017-02-08 16:11:04 +05:30
Shiraz Hashim
f39623177b arm: mm: program ptes for access restriction
CONFIG_RODATA allows strict kernel mapping permissions to
be followed and accordingly maps regions as read-only,
not-executable etc. correspondingly. CONFIG_RODATA however
assumes all memory regions to be SECTION_SIZE aligned and
section mapped for performance reasons.

With CONFIG_FORCE_PAGES, we force all kernel mappings as
page mapped thus breaking CONFIG_RODATA.

Provide provision to apply permissions at page (pte)
level, if CONFIG_RODATA does not find section mapping.

Change-Id: I8dbf5c3741836bc63a231d8a471cf0306662993b
Signed-off-by: Shiraz Hashim <shashim@codeaurora.org>
2017-02-08 16:11:00 +05:30
Pavankumar Kondeti
9c32e32899 sched: fix bug in auto adjustment of group upmigrate/downmigrate
sched_group_upmigrate tunable can accept values greater than
100%. Don't limit it to 100% while doing the auto adjustment.

Change-Id: I3d1c1e84f2f4dec688235feb1536b9261a3e808b
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
2017-02-08 15:07:45 +05:30
Vijayavardhan Vennapusa
94cd6c197a USB: u_data_ipa: Fix pm_runtime usage count in case of error
If disconnect happens before connect_work start executing, then
there is a chance that connect_work returns with port_usb NULL.
Due to this, port->is_connected will be NULL and disconnect_work
returns with this check, but not decremented pm_usage count, which
is incremented before scheduling connect_work in ipa_data_connect.
Hence fix this by decrementing pm_usage count in connect_work if
port_usb is NULL.

Change-Id: Ic60f2addcf07375429e0858d3c7a376a35132750
Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
2017-02-08 14:29:20 +05:30
Tirupathi Reddy
9e38e5398a ARM: dts: msm: Update MEM ACC corner mapping for APC0/1 for sdm660
Use NOM ACC settings up to TURBO voltage corner for APC0/1 for
sdm660.

CRs-Fixed: 2003900
Change-Id: Id1c82a7e1681e028d0426fe0565d88faa6588ab5
Signed-off-by: Tirupathi Reddy <tirupath@codeaurora.org>
2017-02-08 14:03:29 +05:30
Laura Abbott
9c2442a7a9 arm: highmem: Add support for flushing kmap_atomic mappings
The highmem code provides kmap_flush_unused to ensure all kmap
mappings are really removed if they are unused. This code does not
handle kmap_atomic mappings since they are managed separately.
This prevents an issue for any code which relies on having absolutely
no mappings for a particular page. Rather than pay the penalty of
having CONFIG_DEBUG_HIGHMEM on all the time, add functionality
to remove the kmap_atomic mappings in a similar way to kmap_flush_unused.

Change-Id: Ieb25da809b377b1fae1629e2cb75f8aebc1c1bca
Signed-off-by: Laura Abbott <lauraa@codeaurora.org>
2017-02-08 13:40:38 +05:30
Shiraz Hashim
8c98573eaf ARM: dts: msm: configure default CMA region for sdm630
Configure the size of the default CMA region to 32 MB in
DT for sdm630.

Configuring the default CMA region in the DT is cleaner
than using CONFIG_CMA_SIZE_MBYTES since it is easier to
configure per target and the alloc ranges can be specified
in DT.

Change-Id: I329ae0aa9cffeed7c30e44749c15fbb83c58b599
Signed-off-by: Shiraz Hashim <shashim@codeaurora.org>
2017-02-08 13:40:30 +05:30
Pavankumar Kondeti
3b315a544a defconfig: msm: enable SCHED_AUTOGROUP for sdm660
This config is already enabled in all other variants but missed
in the 32 bit debug defconfig.

Change-Id: I7b1cb538eaf63305eba171c7453c1459c802eb41
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
2017-02-08 11:19:11 +05:30
Ashay Jaiswal
b3f4a97dc3 qcom-charger: smb2: fix kernel log flooding by charger driver
Power supply framework expects all registered power_supply
entities(except "battery" psy) to support ONLINE property.
"usb-main" psy doesn't support ONLINE property and prints
error for unsupported properties in get_property function.
Update error prints to debug in get-property function of
"usb-main" to prevent log flooding.

Change-Id: I270a93fe2e48d368f13e74e63c48613c1a4fb693
Signed-off-by: Ashay Jaiswal <ashayj@codeaurora.org>
2017-02-08 10:27:52 +05:30