Commit graph

576725 commits

Author SHA1 Message Date
Linux Build Service Account
28f64cb2a6 Promotion of kernel.lnx.4.4-161103.
CRs      Change ID                                   Subject
--------------------------------------------------------------------------------------------------------------
1084491   Ia9350b9c7810db7eb900957b4ce5dac046ab5e0d   ARM: dts: msm: Add qcom,dump-size entry for dumping CPU
1084491   I37ca3aae0471fcd60499615df77093d5b5451bf8   Documentation: arm: add cache DT bindings
1078910   I9cb454cebb74df291479cecc3533d2c684363f77   ion: disable system contig heap
1077179   I5bc6a5a46311206818d70567e31fd84adc0128be   leds: qpnp-flash-v2: Fix strobe control settings
1077868   Id568f76e03b93cf411366abf01ea857fb80ff1bf   ARM: dts: msm: correct cpu nodes information for msmtrit
1083761   Ib38ecabb3c4bf40fcf5ad368fbbdbe4c44edbf3b   msm: vidc: Scale bus bw along with venus clocks
1084236   I4c13601b0fded6de9d8f897c6d471c6a40c90e4d   sched/hmp: Automatically add children threads to colocat
1070067   I0d4b9f72a12e91b16f3844ac70db33b7de5e5263   usb_bam: Avoid uninitialized variable errors
1080024   I92bd53432a11241228d2e5ac89a3b20d19b05a31   CHROMIUM: dm: boot time specification of dm=
1049826   I3e11ca7f6df4bb0d928512f81f3e3dc40fed791a   msm: camera: cpp: Validate frame message before manipula
1080024   I952d86fd1475f0825f9be1386e3497b36127abd0   ANDROID: dm: Rebase on top of 4.1
1082476 1750919   I3a79950b76c1c38e487471f21dc60590b032dd3f   msm: vidc: Correct debugfs directory name
1080024   I4ba1043965d25ec444a833283392ac2394c845f3   Revert "init: do_mounts: Add a dummy definition for dm_t
1084009   Ie1a5038458b0b93dfec3e5bfc350686eb1f8eb1b   ASoC: wcd934x: Initialize mbhc pointer before access
1080688   Ia60fc3ecb5c2aba19effe1c8242f2d89fdef3ebd   ARM: dts: msm: specify SPI configuration for msmfalcon.
1083524   Ic26fa36bf84bce020ad07ad87de50e684dd7fa5a   ARM: dts: msm: Add initial support for msmcobalt V2 QRD
1075835 1075868   I06426109ab39d33e2b11514082c0bc989c4c8167   coresight: tmc: avoid null pointer dereference
1072541   If2b3e241076a4e0eeb87eeb4361398313fca6962   dwc3: gadget: Remove disabling events and ep0 from gadge
1081711   Iee908c56ec530569b35dafa060139e0428efc781   soc: qcom: scm: add check to avoid buffer overflow
1025311   Ie432af1fefc79f88ec67d212f8b9880355c4266d   cfg80211: support virtual interfaces with different beac
1043802   I3eb92f83b42b0fa28dc73f6e0d4f74ef50375855   ARM: dts: msm: add support for QBT1000 on msmcobalt
1082843   I6ab3992958a659995b7d5020287fd6e47e28f2a4   clk: msm: clock-debug: Print VDD level in clock_state tr
1082816   I475d1219ae62378a90c69642f2320149d0f13885   ASoc: wcd934x: correct MAD micbias setting
967547   I92b10e62be8129ead5859a285bf964ab0a3ae2fd   driver core: fix race between creating/querying glue dir
1084935   I31e8e0b5e9ae240ca031f625cf7c49f1bfe165d4   msm: secure_buffer: fix scm call argument layout
1074738   Ie7f8cee59b90f16f8a844d618a6f903b3e3c2f27   msm: mdss: lock mutex before setting backlight

Change-Id: Id13d60a1768a89563fa5209fc5fe3abfc2ea7bb0
CRs-Fixed: 1077179, 1075868, 1082476, 1083761, 1081711, 1043802, 1084935, 1049826, 1070067, 1082816, 1025311, 1074738, 1083524, 1075835, 1080024, 1750919, 1072541, 1084491, 1084009, 1077868, 967547, 1084236, 1080688, 1078910, 1082843
2016-11-03 04:18:23 -06:00
Linux Build Service Account
8a4f90bd10 Merge "soc: qcom: scm: add check to avoid buffer overflow" 2016-11-02 14:41:43 -07:00
Linux Build Service Account
1057dedd40 Merge "driver core: fix race between creating/querying glue dir and its cleanup" 2016-11-02 14:41:41 -07:00
Linux Build Service Account
8a4e6fcee3 Merge "msm: secure_buffer: fix scm call argument layout" 2016-11-02 14:41:40 -07:00
Linux Build Service Account
875dca44ef Merge "cfg80211: support virtual interfaces with different beacon intervals" 2016-11-02 14:41:39 -07:00
Linux Build Service Account
0959fcfffd Merge "ARM: dts: msm: add support for QBT1000 on msmcobalt" 2016-11-02 14:41:38 -07:00
Linux Build Service Account
4e38e151ea Merge "ARM: dts: msm: specify SPI configuration for msmfalcon." 2016-11-02 14:41:37 -07:00
Linux Build Service Account
46f563dcc0 Merge "leds: qpnp-flash-v2: Fix strobe control settings" 2016-11-02 14:41:37 -07:00
Linux Build Service Account
0d24d9472f Merge "ARM: dts: msm: Add initial support for msmcobalt V2 QRD SKUK board" 2016-11-02 14:41:36 -07:00
Linux Build Service Account
1bd40bfda3 Merge "ARM: dts: msm: correct cpu nodes information for msmtriton" 2016-11-02 14:41:35 -07:00
Linux Build Service Account
4b37769e9e Merge "sched/hmp: Automatically add children threads to colocation group" 2016-11-02 14:41:34 -07:00
Linux Build Service Account
adfb89a493 Merge "dwc3: gadget: Remove disabling events and ep0 from gadget stop" 2016-11-02 14:41:33 -07:00
Linux Build Service Account
cf07c20103 Merge "ASoC: wcd934x: Initialize mbhc pointer before access" 2016-11-02 14:41:33 -07:00
Linux Build Service Account
d8ad28c008 Merge "ASoc: wcd934x: correct MAD micbias setting" 2016-11-02 14:41:32 -07:00
Linux Build Service Account
7a4ed459e7 Merge "usb_bam: Avoid uninitialized variable errors" 2016-11-02 14:41:31 -07:00
Linux Build Service Account
59f5ac9019 Merge "clk: msm: clock-debug: Print VDD level in clock_state traces" 2016-11-02 14:41:30 -07:00
Linux Build Service Account
72b163627a Merge "msm: vidc: Scale bus bw along with venus clocks" 2016-11-02 14:41:29 -07:00
Linux Build Service Account
137f201d51 Merge "Revert "init: do_mounts: Add a dummy definition for dm_table_put"" 2016-11-02 14:41:27 -07:00
Linux Build Service Account
f505d0d4f0 Merge "coresight: tmc: avoid null pointer dereference" 2016-11-02 14:41:26 -07:00
Linux Build Service Account
ca13239ffd Merge "msm: mdss: lock mutex before setting backlight" 2016-11-02 14:41:24 -07:00
Linux Build Service Account
0e0667d15e Merge "ion: disable system contig heap" 2016-11-02 14:41:23 -07:00
Linux Build Service Account
7774b2db99 Merge "msm: camera: cpp: Validate frame message before manipulating it." 2016-11-02 14:41:22 -07:00
Linux Build Service Account
65485bf038 Promotion of kernel.lnx.4.4-161102.
CRs      Change ID                                   Subject
--------------------------------------------------------------------------------------------------------------
1068171   Ic0f2a51b5af661fd23576ae5135c920b92f0cdfd   dt-bindings: power: reset: add document for reboot-mode
1082552   If27cb2bb3fcaafa5c8435f3c2e0e4be9b8f1e987   sched/hmp: Disable interrupts when resetting all task st
1082652   Ic4791164cee1dea0cc36c8445f546b9ec56785d4   drivers: cpuidle: lpm-levels: Enable Sleep prediction
1068171   Id65f6b9186e7a5209542a380bae31a1d8933b931   power: reset: add reboot mode driver
1070301   I619272c5d0439427061541f5658cfd305a4ebd46   usb: xhci-plat: Enable wakeup for the root hubs
1082708   I0228967ca3b33a56489a80833c0565ba2dfe8c2a   msm: ipa3: fix send_cmd_timeout logic
1080024   I00c612be2b8c22dd5afb65a739551df91cb324fc   ANDROID: dm verity fec: initialize recursion level
1083755   Iea068907241b42846d95d8e62e59409cdd29ca42   ASoC: wcd9335: Enable standalone ldo_h
1084195   I7c3d321f9f062037d85efba437a3fc1012b64d4b   pmic-voter: Add the votable name in debugfs
1077457   If2bb1900c07af1ea162da362c913d4880b0bc755   msm: crypto: Fix integer over flow check in qce driver
1072781   Ie6b5a511f5b3077adae7d464de437f2aa893b0c9   msm: kgsl: Clear the interrupt immediately
1082598   I2a49535786ac61c4da0bebe300aff33a556e485d   ARM: dts: msm: fix WLED sink configuration for msmcobalt
1066400   Id08f7b2e109b6b2963b19dfe07f07cbfb424202b   spmi-pmic-arb: fix a possible null pointer dereference
1082630   I490b5679de4cb4837f5ed5d4e40d339e12c8ecc9   icnss: Shutdown Adrastea before remapping MSA0
1080024   I7ce9f38d8c7a62361392c5a8ccebb288f8a3a2ea   ANDROID: dm: allow adb disable-verity only in userdebug
1082196   I1f53c9536b6896111707b77954d2b6cf4d227db8   usb: dwc3: Turn on memory core and periphery upon resume
1081279   I30cd3fb0435e085e76a60043b80b6ff7aded2819   clk: msm: Add COMMON_CLK branch memory flags
1080024   Id27cf5231aebcdd14f4fb25dd44052f829e0427e   Revert "dm-verity: Add a temporary dummy opaque struct d
1080024   Idb88b901e0209c2cccc9c0796689f780592d58f9   ANDROID: dm verity fec: fix RS block calculation
1081637   I0a34f0bbc9f2049b826777a31e14d2cf62cdc211   qseecom: check error return value of ion_map_kernel
1080024   I2d9354e240d36ea06fc68c2d18d8e87b823a4c2f   ANDROID: dm: fix signature verification flag
1082349   I0d8e9bdc15d052458e366cef13a6d2d8c7420ff2   arm64: Implement optimised IP checksum helpers
1083795   Ifa59335033f8b9bda6fb0ca4b071387fdaa8f6f9   ASoC: wcd934x: Restore CPR defaults after SSR
1080024   Ib34d25c0854202f3e70df0a6d0ef1d96f0250c8e   ANDROID: dm: android-verity: Verify header before fetchi
1049512   Id254a12ba8fc2d57951d158c8fce80168375586d   Bluetooth:Add ioctl to power control connectivity chip
1080024   I8f5c2289b842b820ca04f5773525e5449bb3f355   ANDROID: dm: mount as linear target if eng build
1080024   I4a377e417b00afd9ecccdb3e605fea31a7df112e   ANDROID: dm: rename dm-linear methods for dm-android-ver
1082804   I7901df15ec03273304c5e4d417f272497ad1523c   clk: msm: clock-osm: Request Nominal Fmax frequency afte
1083524   Iabc11506074511ee71463e9d287f6e460dca451e   ARM: dts: msm: Add initial support for msmcobalt v2 QRD
1080024   I506c89b053d835ab579e703eef2bc1f8487250de   ANDROID: dm: use default verity public key
1083708   Ifdd0089a6a970792ebd84665178bd4de86eae2fb   soc: qcom: signal buffer response after glink_rx_done()
1083306   I018729af22dbd787f42fc3788cbff018be7b4014   ARM: dts: msm: correct pmicobalt_bob regulator name for
1068949   Iba43e192905ab37d196aea4b5d00861b9cb7c347   msm: ipa3: Support IPA-USB suspend sequence without remo
1082304   I04008d0bfc9a874e08b45f78a937004e9f37527d   usb: pd: Fix sink hard reset looping bug
1080024   Icfdc3e7b3ead5de335a059cade1aca70414db415   ANDROID: dm-android-verity: Rebase on top of 4.1
1080024   Ie04c8cf2dd755f54d02dbdc4e734a13d6f6507b5   ANDROID: dm: android-verity: Remove fec_header location
1080024   I82a911cf963367b1f311c5035bf894a380a76e54   dm-verity: Add a temporary dummy opaque struct declarati
1067432   I2cd3b87aca032d4c5868cc9db35987213349a337   msm: ADSPRPC: Do not pass offset for secure buffers
1080024   I0a7ebff331d259c59a5e03c81918cc1613c3a766   ANDROID: dm verity fec: limit error correction recursion
1081779   I321bd79d04e135030764dcdf83a58fee3c4e72c8   msm: mdss: Add Rec2020 YUV conversion to CSC tables
1082870   Iea0a8cd64fcce14a99b828cadb0f07664ce858f0   usb: pd: Observe PSHardResetTimer for source hard reset
1082940   Idfc139ff63f6268f836694e0680c1e44582dfbb3   ARM: qcom: add board entries for msmtriton
1083675   I0ba41c9564c12b0b2c419222b54fa0e05be93b75   msm: ipa3: wait for uC load before USB disconnect
1056777   Ibee5689216d9115cb4888fb8593734eaef6c7f9f   ARM: dts: msm: add support for etm and cpu-cti on msmfal
1080024   I7e99644a0960ac8279f02c0158ed20999510ea97   ANDROID: dm: Add android verity target
1082643   I1aae776d5e6cc8f1cc2af9278c0e3d6ac37804a9   icnss: Enable PMM_TCXO_CLK before switch to cxo
1066017   Ibe0053e8bd4d8219098ba09041d66fcd5b4592fd   binder: prevent kptr leak by using %pK format specifier
1080024   Idb84453e70cc11abd5ef3a0adfbb16f8b5feaf07   ANDROID: dm: use name_to_dev_t
1083760   I2d3f3a299939a061a43b4f552aedc7cac897d8b7   smb138x-charger: Fix FCC and FV parameters
1051250   Ia5cc4a6bbf6b6d0d86e13cec7da167f8a49b859d   leds: qpnp-wled: Update AMOLED_VOUT programming
1054930   Id9273e546d3565935a7b1150c27993f02c5734e3   wil6210: prevent XTAL off in device bootloader
1080024   Ic64950c3b55f0a6eaa570bcedc2ace83bbf3005e   ANDROID: dm-verity: adopt changes made to dm callbacks
1078627   I55bff36d8504f5fd3041f0dad42a077f25976966   power: reset: Do not disable SDI during reset
1080024   Ic0f7c17e4889c5580d70b52d9a709a37165a5747   ANDROID: dm verity fec: add missing release from fec_kty
1044007   Ia706e7184ab31c5e4e3bb2668a1ab7660ca3c6ce   Don't show empty tag stats for unprivileged uids
1083199   Ib19d78f0834803c75b255ee3a119e043ffb8a988   ASoC: wcd934x: fix default value for FLL threshold
1081102   I9665dfc1c52d77dc8953042101d726e7f7ba1807   msm: vidc: Add Colorspace in sequence change event
1080024   Ic41ca4b8908fb2777263799cf3a3e25934d70f18   ANDROID: dm: Mounting root as linear device when verity
1075843   Ibc69706ae1dc878de5cbdaf283f0d71aff8000a1   leds: qpnp-wled: add support for configuring ILIM in pmi
1080024   Iceca2eb6daa55f0acb936eafe1d59f65f7cfcd55   init: do_mounts: Add a dummy definition for dm_table_put
1080024   I157170eebe3c0f89a68ae05870a1060f188d0da0   ANDROID: dm: Minor cleanup
1025311   Ic4c7f66e84c8898d9db630d373b8a3cc8472e826   cfg80211: pass struct to interface combination check/ite
1083198   Ibbca465192c58deba3618d70e36089119c7f3994   ASoC: wcd934x: Add impedance detection controls

Change-Id: Id0fc440d2bfff0c915eaf17a6dd1335053a7d24f
CRs-Fixed: 1083708, 1044007, 1083198, 1083199, 1083760, 1049512, 1082349, 1082304, 1070301, 1066017, 1081637, 1068949, 1082552, 1082870, 1083795, 1025311, 1082630, 1077457, 1080024, 1083524, 1066400, 1082196, 1081102, 1075843, 1083755, 1072781, 1083306, 1082652, 1084195, 1083675, 1051250, 1082940, 1054930, 1056777, 1081779, 1082598, 1082804, 1068171, 1067432, 1082643, 1078627, 1082708, 1081279
2016-11-02 08:08:03 -06:00
Linux Build Service Account
8992f7dd08 Merge "msm: vidc: Correct debugfs directory name" 2016-11-02 05:22:32 -07:00
Linux Build Service Account
132e00e993 Merge "ARM: dts: msm: Add qcom,dump-size entry for dumping CPU L1/L2 caches" 2016-11-02 05:22:31 -07:00
Linux Build Service Account
64f10bccf4 Merge "Documentation: arm: add cache DT bindings" 2016-11-02 05:22:30 -07:00
Purushottam Kushwaha
be04d39c8b cfg80211: support virtual interfaces with different beacon intervals
This commit provides a mechanism for the host drivers to advertise the
support for different beacon intervals among the respective interface
combinations in a group, through NL80211_IFACE_COMB_BI_MIN_GCD (u32).

This value will be compared against GCD of all beaconing interfaces of
matching combinations.

If the driver doesn't advertise this value, the old behaviour where
all beacon intervals must be identical is retained.

If it is specified, then any beacon interval for an interface in the
interface combination as well as the GCD of all active beacon intervals
in the combination must be greater or equal to this value.

Signed-off-by: Purushottam Kushwaha <pkushwah@qti.qualcomm.com>
[change commit message, some variable names, small other things]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next.git
Git-commit: 0c317a02ca982ca093e71bf07cb562265ba40032
CRs-fixed: 1025311
Change-Id: Ie432af1fefc79f88ec67d212f8b9880355c4266d
Signed-off-by: Purushottam Kushwaha <pkushwah@codeaurora.org>
[pkushwah@codeaurora.org: This commit also includes fix for memory leak
which was introduced by 0c317a02ca982ca093e71bf07cb562265ba40032
320c975f180b19296f0fd6c5bf2144e633aaba5e:
cfg80211: fix possible memory leak in cfg80211_iter_combinations()]
2016-11-02 04:22:03 -07:00
Lior Barenboim
9807d70133 ARM: dts: msm: add support for QBT1000 on msmcobalt
Add node for QBT1000 (fingerprint sensor) which defines the
clocks which are used by the driver and GPIOs which are used
to signal IPC messaging and finger detection.

Add pmcobalt entry for MTP for physical home-button GPIO.

Change-Id: I3eb92f83b42b0fa28dc73f6e0d4f74ef50375855
Signed-off-by: Lior Barenboim <liorb@codeaurora.org>
2016-11-02 12:17:04 +02:00
ansharma
c04ad37d1b leds: qpnp-flash-v2: Fix strobe control settings
Currently strobe control is cleared even when HW strobe control is not
explicitly enabled. Fix it.

CRs-Fixed: 1077179
Change-Id: I5bc6a5a46311206818d70567e31fd84adc0128be
Signed-off-by: ansharma <ansharma@codeaurora.org>
2016-11-02 13:05:10 +05:30
Mukesh Kumar Savaliya
e9f5e981bc ARM: dts: msm: specify SPI configuration for msmfalcon.
Initial support for all BLSP SPIs with default configuration
and disabled state such that clients can overwrite and enable
respective SPI instance as per need.

Change-Id: Ia60fc3ecb5c2aba19effe1c8242f2d89fdef3ebd
Signed-off-by: Mukesh Kumar Savaliya <msavaliy@codeaurora.org>
2016-11-02 11:42:06 +05:30
Arumuga Durai A
149e3bdb82 usb_bam: Avoid uninitialized variable errors
Static analysis tool reports errors related to
functions using uninitialized varibles. Fix these.

CRS-Fixed: 1070067
Change-Id: I0d4b9f72a12e91b16f3844ac70db33b7de5e5263
Signed-off-by: Arumuga Durai A <cadurai@codeaurora.org>
2016-11-01 18:56:23 -07:00
Vamsi Krishna Samavedam
5c57c9e196 dwc3: gadget: Remove disabling events and ep0 from gadget stop
Controller driver explicitly puts the controller in low power mode
when cable disconnected. However, due to config-fs and ADB design
which unbinds composition on every cable disconnect results in
detaching/stopping gadget driver on every cable disconnect. Gadget
stop will explicitly brings the controller out of low power mode to
disable events and ep0 which is not necessary as controller is
already in low power mode. These operations are not required for
composition switch as well because gadget pull-up call back will
take care of that. Hence, Remove disabling events and ep0 from stop
gadget callback.

Change-Id: If2b3e241076a4e0eeb87eeb4361398313fca6962
Signed-off-by: Vamsi Krishna Samavedam <vskrishn@codeaurora.org>
2016-11-01 18:29:59 -07:00
Phani Kumar Uppalapati
1fcf0af78a ASoC: wcd934x: Initialize mbhc pointer before access
Initialize mbhc pointer before it gets accessed from
a different thread.

Change-Id: Ie1a5038458b0b93dfec3e5bfc350686eb1f8eb1b
Signed-off-by: Phani Kumar Uppalapati <phaniu@codeaurora.org>
2016-11-01 17:25:37 -07:00
Deepak Katragadda
5fa9ed4664 clk: msm: clock-debug: Print VDD level in clock_state traces
Add support for printing the voltage voting info to the
clock_state ftrace events.

CRs-Fixed: 1082843
Change-Id: I6ab3992958a659995b7d5020287fd6e47e28f2a4
Signed-off-by: Deepak Katragadda <dkatraga@codeaurora.org>
2016-11-01 13:53:35 -07:00
Satya Durga Srinivasu Prabhala
b67bb93f56 power: reset: Do not disable SDI during reset
During reset if SDI is disabled, PIMEM gets zeroed out.

Change-Id: I55bff36d8504f5fd3041f0dad42a077f25976966
Signed-off-by: Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
2016-11-01 12:08:05 -07:00
Satya Durga Srinivasu Prabhala
01b2c9a5d7 soc: qcom: scm: add check to avoid buffer overflow
There is a posibility of a buffer overflow in scm_call,
add check to avoid the same.

Change-Id: Iee908c56ec530569b35dafa060139e0428efc781
Signed-off-by: Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
2016-11-01 08:47:03 -07:00
Prasad Sodagudi
488460b415 ARM: dts: msm: Add qcom,dump-size entry for dumping CPU L1/L2 caches
Update arm cache documentation about qcom,dump-size to dump
the CPU L1/L2 caches in order to analyze data corruption.

Change-Id: Ia9350b9c7810db7eb900957b4ce5dac046ab5e0d
Signed-off-by: Abhimanyu Kapur <abhimany@codeaurora.org>
Signed-off-by: Patrick Daly <pdaly@codeaurora.org>
Signed-off-by: Prasad Sodagudi <psodagud@codeaurora.org>
2016-11-01 18:02:29 +05:30
Lorenzo Pieralisi
0645a625ac Documentation: arm: add cache DT bindings
On ARM systems the cache topology cannot be probed at runtime, in
particular, it is impossible to probe which CPUs share a given cache
level. Power management software requires this knowledge to implement
optimized power down sequences, hence this patch adds a document that
defines the DT cache bindings for ARM systems. The bindings are compliant
with ePAPR (PowerPC bindings), even though most of the cache nodes
properties requirements are overriden, because caches geometry for
architected caches is probeable on ARM systems. This patch also adds
properties that are specific to ARM architected caches to the existing ones
defined in the ePAPR v1.1, as bindings extensions.

Change-Id: I37ca3aae0471fcd60499615df77093d5b5451bf8
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Signed-off-by: Abhimanyu Kapur <abhimany@codeaurora.org>
2016-11-01 17:58:39 +05:30
Linux Build Service Account
9a5e4de102 Merge "soc: qcom: signal buffer response after glink_rx_done()" 2016-11-01 04:46:23 -07:00
Linux Build Service Account
66c843eb32 Merge "drivers: cpuidle: lpm-levels: Enable Sleep prediction" 2016-11-01 04:46:14 -07:00
Shiraz Hashim
fcca61799a msm: secure_buffer: fix scm call argument layout
For hyp_assign calls, dest_vm_and_perm_info wrongly
defines ctx as u32 * type, while TZ expects it as u64.
This creates an inconsistency on 32bit system. Fix it.

Change-Id: I31e8e0b5e9ae240ca031f625cf7c49f1bfe165d4
Signed-off-by: Shiraz Hashim <shashim@codeaurora.org>
2016-11-01 16:43:02 +05:30
Ming Lei
fc29c002eb driver core: fix race between creating/querying glue dir and its cleanup
The global mutex of 'gdp_mutex' is used to serialize creating/querying
glue dir and its cleanup. Turns out it isn't a perfect way because
part(kobj_kset_leave()) of the actual cleanup action() is done inside
the release handler of the glue dir kobject. That means gdp_mutex has
to be held before releasing the last reference count of the glue dir
kobject.

This patch moves glue dir's cleanup after kobject_del() in device_del()
for avoiding the race.

Change-Id: I92b10e62be8129ead5859a285bf964ab0a3ae2fd
Cc: Yijing Wang <wangyijing@huawei.com>
Reported-by: Chandra Sekhar Lingutla <clingutla@codeaurora.org>
Signed-off-by: Ming Lei <ming.lei@canonical.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Git-commit: cebf8fd16900fdfd58c0028617944f808f97fe50
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Signed-off-by: Lingutla Chandrasekhar <clingutla@codeaurora.org>
2016-11-01 10:30:01 +05:30
Linux Build Service Account
30b895d9f1 Merge "spmi-pmic-arb: fix a possible null pointer dereference" 2016-10-31 20:15:00 -07:00
Linux Build Service Account
e7e78fb541 Merge "msm: vidc: Add Colorspace in sequence change event" 2016-10-31 20:14:59 -07:00
Linux Build Service Account
d01975ab44 Merge "msm: mdss: Add Rec2020 YUV conversion to CSC tables" 2016-10-31 20:14:58 -07:00
Linux Build Service Account
22205d0388 Merge "pmic-voter: Add the votable name in debugfs" 2016-10-31 20:14:53 -07:00
Abhijeet Dharmapurikar
5558abe400 spmi-pmic-arb: fix a possible null pointer dereference
If "core" memory resource is not specified, the driver could end up
dereferencing a null pointer.

Fix this by returning -EINVAL when core resource is missing.

Change-Id: Id08f7b2e109b6b2963b19dfe07f07cbfb424202b
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
2016-10-31 15:40:26 -07:00
Linux Build Service Account
9b370b3988 Merge "Don't show empty tag stats for unprivileged uids" 2016-10-31 13:04:31 -07:00
Linux Build Service Account
c1818afef3 Merge "msm: ipa3: wait for uC load before USB disconnect" 2016-10-31 13:04:30 -07:00
Linux Build Service Account
b333bf73d8 Merge "wil6210: prevent XTAL off in device bootloader" 2016-10-31 13:04:29 -07:00