OSDN Git Service

sagit-ice-cold/kernel_xiaomi_msm8998.git
7 years agoMerge "ARM: dts: msm: disable secondary adv7533 on apq8096proAU ADP"
Linux Build Service Account [Thu, 15 Jun 2017 23:10:55 +0000 (16:10 -0700)]
Merge "ARM: dts: msm: disable secondary adv7533 on apq8096proAU ADP"

7 years agoMerge "ARM: dts: msm: Add non-removable ufs property for SDM660"
Linux Build Service Account [Thu, 15 Jun 2017 23:10:54 +0000 (16:10 -0700)]
Merge "ARM: dts: msm: Add non-removable ufs property for SDM660"

7 years agoMerge "msm: ipa: Add assert upon send command failure"
Linux Build Service Account [Thu, 15 Jun 2017 23:10:53 +0000 (16:10 -0700)]
Merge "msm: ipa: Add assert upon send command failure"

7 years agoMerge "ARM: dts: msm: enable ADV7535 on MSM8996Pro Auto CDP lite platform"
Linux Build Service Account [Thu, 15 Jun 2017 23:10:52 +0000 (16:10 -0700)]
Merge "ARM: dts: msm: enable ADV7535 on MSM8996Pro Auto CDP lite platform"

7 years agoMerge "mmc: sdhci-msm: Corrected the '&' operator with '&&' in the 'if' statement"
Linux Build Service Account [Thu, 15 Jun 2017 23:10:51 +0000 (16:10 -0700)]
Merge "mmc: sdhci-msm: Corrected the '&' operator with '&&' in the 'if' statement"

7 years agoMerge "ASoC: msm: qdsp6v2: Clear HDMI channel allocation on shutdown"
Linux Build Service Account [Thu, 15 Jun 2017 15:36:31 +0000 (08:36 -0700)]
Merge "ASoC: msm: qdsp6v2: Clear HDMI channel allocation on shutdown"

7 years agoMerge "ASoC: msm: qdsp6v2: make audio debugfs read and release exclusive"
Linux Build Service Account [Thu, 15 Jun 2017 15:36:30 +0000 (08:36 -0700)]
Merge "ASoC: msm: qdsp6v2: make audio debugfs read and release exclusive"

7 years agoMerge "soundwire: Fix swr device count logic in registration"
Linux Build Service Account [Thu, 15 Jun 2017 15:36:28 +0000 (08:36 -0700)]
Merge "soundwire: Fix swr device count logic in registration"

7 years agoMerge "soundwire: Remove startup from swr_driver structure"
Linux Build Service Account [Thu, 15 Jun 2017 15:36:27 +0000 (08:36 -0700)]
Merge "soundwire: Remove startup from swr_driver structure"

7 years agoMerge "ARM: dts: msm: Update low temperature APSS frequency in msm8996pro"
Linux Build Service Account [Thu, 15 Jun 2017 15:36:26 +0000 (08:36 -0700)]
Merge "ARM: dts: msm: Update low temperature APSS frequency in msm8996pro"

7 years agoMerge "msm: vidc: Send appropriate picture_type while turning off PIC TYPE DECODE"
Linux Build Service Account [Thu, 15 Jun 2017 15:36:25 +0000 (08:36 -0700)]
Merge "msm: vidc: Send appropriate picture_type while turning off PIC TYPE DECODE"

7 years agoMerge "crypto: msm: fix rfc4309(ccm(aes)) issue on msm-4.4"
Linux Build Service Account [Thu, 15 Jun 2017 15:36:24 +0000 (08:36 -0700)]
Merge "crypto: msm: fix rfc4309(ccm(aes)) issue on msm-4.4"

7 years agoMerge "net: rps: send out pending IPI's on CPU hotplug"
Linux Build Service Account [Thu, 15 Jun 2017 15:36:23 +0000 (08:36 -0700)]
Merge "net: rps: send out pending IPI's on CPU hotplug"

7 years agoMerge "msm: ipa: fix ipacm_client usage"
Linux Build Service Account [Thu, 15 Jun 2017 15:36:23 +0000 (08:36 -0700)]
Merge "msm: ipa: fix ipacm_client usage"

7 years agoMerge "icnss: Change MSA permissions to collect dump"
Linux Build Service Account [Thu, 15 Jun 2017 15:36:22 +0000 (08:36 -0700)]
Merge "icnss: Change MSA permissions to collect dump"

7 years agoARM: dts: msm: disable secondary adv7533 on apq8096proAU ADP
Jin Li [Fri, 18 Nov 2016 20:35:20 +0000 (15:35 -0500)]
ARM: dts: msm: disable secondary adv7533 on apq8096proAU ADP

On APQ8096 Auto ADP Lite platform, it only has two displays,
native HDMI and one DSI-HDMI display through ADV7533 bridge
chip. The secondary ADV7533 instance needs to be disabled.

Change-Id: Ibae5c1561ec9f6890f818eeef185dfcf0bc1a62d
Signed-off-by: Jin Li <jinl@codeaurora.org>
7 years agoARM: dts: msm: Add non-removable ufs property for SDM660
Asutosh Das [Wed, 14 Jun 2017 09:58:46 +0000 (15:28 +0530)]
ARM: dts: msm: Add non-removable ufs property for SDM660

Defines the non-removable property for UFS device node.
This basically lets the driver know that UFS is the boot
device.

Change-Id: I11df8441385910fdab7595a96a5deb24c7ca833e
Signed-off-by: Asutosh Das <asutoshd@codeaurora.org>
7 years agoARM: dts: msm: enable ADV7535 on MSM8996Pro Auto CDP lite platform
Jin Li [Tue, 8 Nov 2016 20:58:16 +0000 (15:58 -0500)]
ARM: dts: msm: enable ADV7535 on MSM8996Pro Auto CDP lite platform

There is still one ADV7535 instance on MSM8996Pro Auto CDP lite
platform, which connects DSI0 interface to HDMI.

Change-Id: I1efe7484d6f4eb1956c95689420b06b40278588e
Signed-off-by: Jin Li <jinl@codeaurora.org>
7 years agoARM: dts: msm: Update low temperature APSS frequency in msm8996pro
Manaf Meethalavalappu Pallikunhi [Wed, 12 Apr 2017 06:58:50 +0000 (12:28 +0530)]
ARM: dts: msm: Update low temperature APSS frequency in msm8996pro

Update the minimum frequency restriction value and maximum frequency
limit value to the correct nominal frequency 1.056 GHz and 1.2096 GHz
respectively, as per the updated frequency plan of msm8996pro.

Change-Id: I725351c064f0211f95af4b4dd708b62360331282
Signed-off-by: Manaf Meethalavalappu Pallikunhi <manafm@codeaurora.org>
7 years agoMerge "msm:camera: correct stats query out of boundary"
Linux Build Service Account [Thu, 15 Jun 2017 02:48:53 +0000 (19:48 -0700)]
Merge "msm:camera: correct stats query out of boundary"

7 years agoMerge "msm: smmu: add re-route calling for specified iova when mapping"
Linux Build Service Account [Thu, 15 Jun 2017 02:48:52 +0000 (19:48 -0700)]
Merge "msm: smmu: add re-route calling for specified iova when mapping"

7 years agoMerge "ARM: dts: msm: fix the ADB connection issue on auto CDP."
Linux Build Service Account [Thu, 15 Jun 2017 02:48:51 +0000 (19:48 -0700)]
Merge "ARM: dts: msm: fix the ADB connection issue on auto CDP."

7 years agoMerge "ARM: dts: msm: Add tune2_efuse_addr for SDM660/630"
Linux Build Service Account [Thu, 15 Jun 2017 02:48:50 +0000 (19:48 -0700)]
Merge "ARM: dts: msm: Add tune2_efuse_addr for SDM660/630"

7 years agoMerge "ARM: dts: msm: Update CCI voltage range for MSM8996pro automotive"
Linux Build Service Account [Thu, 15 Jun 2017 02:48:43 +0000 (19:48 -0700)]
Merge "ARM: dts: msm: Update CCI voltage range for MSM8996pro automotive"

7 years agoMerge "msm: ba: Update ba driver to latest v4l2 framework"
Linux Build Service Account [Thu, 15 Jun 2017 02:48:39 +0000 (19:48 -0700)]
Merge "msm: ba: Update ba driver to latest v4l2 framework"

7 years agommc: sdhci-msm: Corrected the '&' operator with '&&' in the 'if' statement
Bao D. Nguyen [Wed, 14 Jun 2017 19:42:41 +0000 (12:42 -0700)]
mmc: sdhci-msm: Corrected the '&' operator with '&&' in the 'if' statement

Without this fix the MMC may incorrectly set the CAPS for the SD card.

Change-Id: Ia4be2e78453663818cfd18deb9a590ec80423bca
Signed-off-by: Bao D. Nguyen <nguyenb@codeaurora.org>
7 years agomsm: vidc: Send appropriate picture_type while turning off PIC TYPE DECODE
Praveen Kumar Dwivedi [Wed, 24 May 2017 00:27:31 +0000 (17:27 -0700)]
msm: vidc: Send appropriate picture_type while turning off PIC TYPE DECODE

For V4L2_CID_MPEG_VIDC_VIDEO_PICTYPE_DEC_MODE ioctl the valid
ctrl values are V4L2_MPEG_VIDC_VIDEO_PICTYPE_DECODE_ON and
V4L2_MPEG_VIDC_VIDEO_PICTYPE_DECODE_OFF. But for
V4L2_MPEG_VIDC_VIDEO_PICTYPE_DECODE_OFF case
we are sending wrong enable_picture.picture_type value. We are
also oring HAL_PICTURE_IDR, whereas only
HAL_PICTURE_I | HAL_PICTURE_P | HAL_PICTURE_B should be sent.

Change-Id: I96103d068b3e6e5f23da07d9a4c20e92ed55557c
Signed-off-by: Praveen Kumar Dwivedi <pkd@codeaurora.org>
7 years agoMerge "drm/msm/sde: add support to select secure context bank"
Linux Build Service Account [Wed, 14 Jun 2017 16:57:07 +0000 (09:57 -0700)]
Merge "drm/msm/sde: add support to select secure context bank"

7 years agoMerge "msm: mdss: Clean-up payload for unsupported versions"
Linux Build Service Account [Wed, 14 Jun 2017 16:57:06 +0000 (09:57 -0700)]
Merge "msm: mdss: Clean-up payload for unsupported versions"

7 years agoMerge "f_fs: set maxburst to one before enabling endpoints"
Linux Build Service Account [Wed, 14 Jun 2017 16:57:06 +0000 (09:57 -0700)]
Merge "f_fs: set maxburst to one before enabling endpoints"

7 years agoMerge "mmc: core: Ignore CRC errors with CMD13 while executing tuning"
Linux Build Service Account [Wed, 14 Jun 2017 16:57:05 +0000 (09:57 -0700)]
Merge "mmc: core: Ignore CRC errors with CMD13 while executing tuning"

7 years agoMerge "defconfig: msm: Enable RCU_FAST_NO_HZ for sdm660"
Linux Build Service Account [Wed, 14 Jun 2017 16:57:04 +0000 (09:57 -0700)]
Merge "defconfig: msm: Enable RCU_FAST_NO_HZ for sdm660"

7 years agoMerge "msm: isp: camera: Avoid potential out of bound write"
Linux Build Service Account [Wed, 14 Jun 2017 16:57:03 +0000 (09:57 -0700)]
Merge "msm: isp: camera: Avoid potential out of bound write"

7 years agoMerge "msm: camera: isp: configure correct pixel per line with Testgen"
Linux Build Service Account [Wed, 14 Jun 2017 16:57:02 +0000 (09:57 -0700)]
Merge "msm: camera: isp: configure correct pixel per line with Testgen"

7 years agoMerge "mmc: sd: return error information of sd_init_card incase of failure"
Linux Build Service Account [Wed, 14 Jun 2017 16:57:01 +0000 (09:57 -0700)]
Merge "mmc: sd: return error information of sd_init_card incase of failure"

7 years agomsm: ipa: fix ipacm_client usage
Skylar Chang [Mon, 12 Jun 2017 17:50:12 +0000 (10:50 -0700)]
msm: ipa: fix ipacm_client usage

Fix the access to ipacm_client array.

Change-Id: I0e6c026a4f6eb0bc21f4e07cb301e21f78103f33
CRs-Fixed: 2024177
Acked-by: Ady Abraham <adya@qti.qualcomm.com>
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
7 years agomsm: ipa: Add assert upon send command failure
Utkarsh Saxena [Mon, 5 Jun 2017 11:24:15 +0000 (16:54 +0530)]
msm: ipa: Add assert upon send command failure

Assert the device upon send command failure
after reaching maximum retries.

Change-Id: I154eda0697ec190662dc16edbe09e2213b4a0bae
Acked-by: Ashok Vuyyuru <avuyyuru@qti.qualcomm.com>
Acked-by: Mohammed Javid <mjavid@qti.qualcomm.com>
Signed-off-by: Utkarsh Saxena <usaxena@codeaurora.org>
Signed-off-by: Mohammed Javid <mjavid@codeaurora.org>
7 years agonet: rps: send out pending IPI's on CPU hotplug
Ashwanth Goli [Fri, 9 Jun 2017 08:54:58 +0000 (14:24 +0530)]
net: rps: send out pending IPI's on CPU hotplug

IPI's from the victim cpu are not handled in dev_cpu_callback.
So these pending IPI's would be sent to the remote cpu only when
NET_RX is scheduled on the victim cpu and since this trigger is
unpredictable it would result in packet latencies on the remote cpu.

This patch add support to send the pending ipi's of victim cpu.

Change-Id: I6e688bf0d09a952468eec18f80ce6b21bf370ef1
Signed-off-by: Ashwanth Goli <ashwanth@codeaurora.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
7 years agoMerge "scsi: ufs: update ufs command logging infrastructure"
Linux Build Service Account [Wed, 14 Jun 2017 07:55:40 +0000 (00:55 -0700)]
Merge "scsi: ufs: update ufs command logging infrastructure"

7 years agoicnss: Change MSA permissions to collect dump
Anurag Chouhan [Thu, 8 Jun 2017 12:56:56 +0000 (18:26 +0530)]
icnss: Change MSA permissions to collect dump

With certain senarios such as error FATAL, WBOG Bite in modem
WLAN hardware is still alive, while trying to collect the dump
platform driver is removing the MSA permissions from MSS
and WLAN Hardware to HLOS, at the same time if WLAN Hardware
is trying to access the MSA region which results into SNOC error
To avoid such senarios instead of removing MSS and WLAN permissions
MSA is assigned HLOS permissions as well and once the ramdump is collected
HLOS permissions will be removed.

Change-Id: Ic71e0fa8c064fd70dad9958187244909cbb80c0a
CRs-fixed: 2048531
Signed-off-by: Anurag Chouhan <achouhan@qti.qualcomm.com>
7 years agoscsi: ufs-qcom: Add check for ufs bootdevice
Asutosh Das [Wed, 7 Jun 2017 06:17:42 +0000 (11:47 +0530)]
scsi: ufs-qcom: Add check for ufs bootdevice

On qcom platforms, bootdevice is the primary storage
device. The regulators to this device are left ON by
the bootloaders. Detecting further in the init sequence
that UFS is not the bootdevice entails turning-off of
these regulators without sending PON. This is bad for
the underlying storage device.

Change-Id: I7e9231f0bcf90d8f329146ae2d831bbb5ef8190e
Signed-off-by: Asutosh Das <asutoshd@codeaurora.org>
7 years agomsm: smmu: add re-route calling for specified iova when mapping
Guchun Chen [Tue, 13 Jun 2017 07:11:53 +0000 (15:11 +0800)]
msm: smmu: add re-route calling for specified iova when mapping

When calling smmu mapping, if iova is specified directly by user, not
allocated dynamically in dma-mapping.c, smmu driver needs to provide
support for this. This is needed in early display case. In this scenario,
LK has set physical memory to display hardware for fetching, so if iova
is not explicitly specified in kernel, but instead dynamically produced
by "alloc_iova" in dma-mapping.c, display hardware has no chance to know
this new iova, then smmu fault will happen if enabling the iommu stage-1
translation.
To fix this smmu fault problem, add re-routing to the right path when
iova specified by user is not 0 in smmu map function.

Change-Id: I555fe7ae44464f25245d2d0a6740a2411a8624ba
Signed-off-by: Guchun Chen <guchunc@codeaurora.org>
7 years agoMerge "drm/msm: Use per-ring submit lists"
Linux Build Service Account [Tue, 13 Jun 2017 23:29:03 +0000 (16:29 -0700)]
Merge "drm/msm: Use per-ring submit lists"

7 years agoMerge "drm/msm: fix leak in failed submit path"
Linux Build Service Account [Tue, 13 Jun 2017 23:29:02 +0000 (16:29 -0700)]
Merge "drm/msm: fix leak in failed submit path"

7 years agoMerge "msm: thermal: Probe sensor info prior to other feature probe"
Linux Build Service Account [Tue, 13 Jun 2017 23:29:01 +0000 (16:29 -0700)]
Merge "msm: thermal: Probe sensor info prior to other feature probe"

7 years agoMerge "defconfig: msm: Enable CONFIG_MMC_RING_BUFFER for msm8998"
Linux Build Service Account [Tue, 13 Jun 2017 23:29:00 +0000 (16:29 -0700)]
Merge "defconfig: msm: Enable CONFIG_MMC_RING_BUFFER for msm8998"

7 years agoMerge "diag: dci: Add NULL pointer checks for dci buffers"
Linux Build Service Account [Tue, 13 Jun 2017 23:28:59 +0000 (16:28 -0700)]
Merge "diag: dci: Add NULL pointer checks for dci buffers"

7 years agoMerge "drm/msm: Fix possible overflow issue in submit_cmd"
Linux Build Service Account [Tue, 13 Jun 2017 23:28:58 +0000 (16:28 -0700)]
Merge "drm/msm: Fix possible overflow issue in submit_cmd"

7 years agoscsi: ufs: update ufs command logging infrastructure
Can Guo [Fri, 9 Jun 2017 07:17:22 +0000 (15:17 +0800)]
scsi: ufs: update ufs command logging infrastructure

This change increases the max command logging capability.
It also adds cmd log print if pwr ctrl failure detected.
Finally, it changes function name ufshcd_cmd_log_print to
ufshchd_print_cmd_log to align with the naming of other
ufshcd debug print functions.

Change-Id: Ia407b239a0e231c353cccf7e6acf87a5f73d7bd8
Signed-off-by: Can Guo <cang@codeaurora.org>
7 years agocrypto: msm: fix rfc4309(ccm(aes)) issue on msm-4.4
Zhen Kong [Mon, 12 Jun 2017 18:10:17 +0000 (11:10 -0700)]
crypto: msm: fix rfc4309(ccm(aes)) issue on msm-4.4

In newer kernel (msm-4.4 or later), for AEAD ciphering, crypto api has
been re-worked and the assoclen defines the length of association data
and iv together. But for rfc4309(ccm(aes)), iv is not part of AAD.
Therefore, change qcrypto driver to remove the iv, by subtract 8 from
assoclen for rfc4309(ccm(aes)).

Change-Id: I37eb1934d7817b5b5c33440122b68e5d37854960
Signed-off-by: Zhen Kong <zkong@codeaurora.org>
7 years agodrm/msm/sde: add support to select secure context bank
Abhijit Kulkarni [Tue, 2 May 2017 01:32:18 +0000 (18:32 -0700)]
drm/msm/sde: add support to select secure context bank

Add support in the sde plane component to select the secure context
bank based on the fb_mode plane property. This changes also sets the
correct hw settings for the secure plane src address.

CRs-Fixed: 2053654
Change-Id: Iacdfbb366b3ff56fcd5036fb9157547542095cde
Signed-off-by: Abhijit Kulkarni <kabhijit@codeaurora.org>
7 years agoMerge "ARM: dts: msm: Add clock config entry to vmem device on MSM8996"
Linux Build Service Account [Tue, 13 Jun 2017 15:48:42 +0000 (08:48 -0700)]
Merge "ARM: dts: msm: Add clock config entry to vmem device on MSM8996"

7 years agoMerge "ARM: dts: msm: Align CB size to 128MB for SDM660 and SDM630"
Linux Build Service Account [Tue, 13 Jun 2017 15:48:41 +0000 (08:48 -0700)]
Merge "ARM: dts: msm: Align CB size to 128MB for SDM660 and SDM630"

7 years agoMerge "msm: vidc: Perform cache operations only on filled length"
Linux Build Service Account [Tue, 13 Jun 2017 15:48:40 +0000 (08:48 -0700)]
Merge "msm: vidc: Perform cache operations only on filled length"

7 years agoMerge "msm: vidc: Allocate memory dynamically for debugfs info_reads"
Linux Build Service Account [Tue, 13 Jun 2017 15:48:40 +0000 (08:48 -0700)]
Merge "msm: vidc: Allocate memory dynamically for debugfs info_reads"

7 years agoMerge "msm: vidc: Return only active state VBs during flush"
Linux Build Service Account [Tue, 13 Jun 2017 15:48:39 +0000 (08:48 -0700)]
Merge "msm: vidc: Return only active state VBs during flush"

7 years agoMerge "diag: Synchronize mdlog read and write threads"
Linux Build Service Account [Tue, 13 Jun 2017 15:48:38 +0000 (08:48 -0700)]
Merge "diag: Synchronize mdlog read and write threads"

7 years agoMerge "ASoC: msm: qdspv6: Fix wrong smmu sid for ULL playback"
Linux Build Service Account [Tue, 13 Jun 2017 15:48:37 +0000 (08:48 -0700)]
Merge "ASoC: msm: qdspv6: Fix wrong smmu sid for ULL playback"

7 years agoMerge "sdm660: adsprpc: Map uncached buffers as non-coherent"
Linux Build Service Account [Tue, 13 Jun 2017 15:48:36 +0000 (08:48 -0700)]
Merge "sdm660: adsprpc: Map uncached buffers as non-coherent"

7 years agodefconfig: msm: Enable RCU_FAST_NO_HZ for sdm660
Srinivas Ramana [Tue, 13 Jun 2017 07:47:40 +0000 (13:17 +0530)]
defconfig: msm: Enable RCU_FAST_NO_HZ for sdm660

Enable RCU fast for better performance.

Change-Id: I2754849dea0190456ff7bd6bec7f4d675b2bb5c4
Signed-off-by: Srinivas Ramana <sramana@codeaurora.org>
7 years agoASoC: msm: qdspv6: Fix wrong smmu sid for ULL playback
Rohit Kumar [Fri, 19 May 2017 13:03:19 +0000 (18:33 +0530)]
ASoC: msm: qdspv6: Fix wrong smmu sid for ULL playback

SMMU sid is set to 0 in q6asm_set_shared_circ_buff and
q6asm_set_shared_pos_buff in 32 bit arch. Fix it to
send proper SID to ADSP when sharing buffer.

Change-Id: I00cc0f881acd7a4a52292e65360ea7b03f2f0212
Signed-off-by: Rohit Kumar <rohitkr@codeaurora.org>
7 years agoARM: dts: msm: Add tune2_efuse_addr for SDM660/630
Vijayavardhan Vennapusa [Mon, 5 Jun 2017 12:21:53 +0000 (17:51 +0530)]
ARM: dts: msm: Add tune2_efuse_addr for SDM660/630

Pass tune2_efuse_addr register and bit field to be read from the register
from the device tree, which will be used to read HS_TRIM value and update
the value to QUSB2_PHY_TUNE2_REGISTER for eye-diagram test passing.

Change-Id: I64b4febf41f2e2c027c1d220e7037d8eeec27d46
Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
7 years agoMerge "msm: ipa: fix hdr table full condition"
Linux Build Service Account [Tue, 13 Jun 2017 04:43:20 +0000 (21:43 -0700)]
Merge "msm: ipa: fix hdr table full condition"

7 years agoMerge "power: qpnp-fg-gen3: Qualify aborting capacity learning"
Linux Build Service Account [Tue, 13 Jun 2017 04:43:18 +0000 (21:43 -0700)]
Merge "power: qpnp-fg-gen3: Qualify aborting capacity learning"

7 years agoMerge "drm/msm: Fix kernel address issue of profile buffer"
Linux Build Service Account [Tue, 13 Jun 2017 04:43:17 +0000 (21:43 -0700)]
Merge "drm/msm: Fix kernel address issue of profile buffer"

7 years agoMerge "qseecom: Fix accessing userspace memory in kernel space"
Linux Build Service Account [Tue, 13 Jun 2017 04:43:17 +0000 (21:43 -0700)]
Merge "qseecom: Fix accessing userspace memory in kernel space"

7 years agoMerge "msm: kgsl: Log clk set, enable and prepare failure"
Linux Build Service Account [Tue, 13 Jun 2017 04:43:16 +0000 (21:43 -0700)]
Merge "msm: kgsl: Log clk set, enable and prepare failure"

7 years agoMerge "soc: qcom: update return value for minidump add region"
Linux Build Service Account [Tue, 13 Jun 2017 04:43:14 +0000 (21:43 -0700)]
Merge "soc: qcom: update return value for minidump add region"

7 years agoMerge "clk: qcom: Add regmap mux-div clocks support"
Linux Build Service Account [Tue, 13 Jun 2017 04:43:13 +0000 (21:43 -0700)]
Merge "clk: qcom: Add regmap mux-div clocks support"

7 years agodrm/msm: Use per-ring submit lists
Jordan Crouse [Mon, 12 Jun 2017 15:16:45 +0000 (09:16 -0600)]
drm/msm: Use per-ring submit lists

To make it easier to determine what submit(s) are currently active
on any given ring, store the active submits in per-ring lists instead
of a master list.

Change-Id: Ic0dedbadb331cd8e4e85dfcfa51cb1ceabe6efa9
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
7 years agodrm/msm: fix leak in failed submit path
Rob Clark [Mon, 12 Jun 2017 15:16:44 +0000 (09:16 -0600)]
drm/msm: fix leak in failed submit path

Change-Id: Ic0dedbadf485dd63ef727402b653a9d996a13632
Signed-off-by: Rob Clark <robdclark@gmail.com>
Git-commit: 40e6815bba6e34e5560e8855b43cd3eb17b24b09
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
[jcrouse@codeaurora.org: fix merge conflicts and initialize node at create]
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
7 years agodrm/msm: Improved rd_full buffer dumping
Jordan Crouse [Mon, 12 Jun 2017 15:16:44 +0000 (09:16 -0600)]
drm/msm: Improved rd_full buffer dumping

Always print the iova and size for every buffer in a commit when
rd_full is enabled but only dump the contents for input buffers.
Also make imported buffers work with vmap so that they can be
safely dumped.

Change-Id: Ic0dedbad6ed5c426dc85a9c089b6c86c95c727cc
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
7 years agodrm/msm/rd: add module param to dump all bo's
Rob Clark [Mon, 12 Jun 2017 15:16:43 +0000 (09:16 -0600)]
drm/msm/rd: add module param to dump all bo's

By default, if using $debugfs/.../rd to log cmdstream, only the
cmdstream buffers themselves are logged.  But in some cases we want
to capture other buffers in the submit (to see VBO's or shaders).
So add a mod-param knob to control this.

Change-Id: Ic0dedbadf993d9ab2c7a44f14e7720e7567a6da1
Signed-off-by: Rob Clark <robdclark@gmail.com>
Git-commit: 79c21187ca370f37302f0d5c16c387985d7b8ba1
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
[jcrouse@codeaurora.org: fix minor merge conflicts]
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
7 years agodrm/msm/rd: split out snapshot_buf helper
Rob Clark [Mon, 12 Jun 2017 15:16:43 +0000 (09:16 -0600)]
drm/msm/rd: split out snapshot_buf helper

(reduce the noise in next patch)

Change-Id: Ic0dedbadd4b1100ff7b203f120f4acd0c4bf8d09
Signed-off-by: Rob Clark <robdclark@gmail.com>
Git-commit: 6507e799f432d9fa86ba398b095ef1139a70deac
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
[jcrouse@codeaurora.org: fixed minor merge conflicts]
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
7 years agomsm: ipa: fix hdr table full condition
Skylar Chang [Thu, 8 Jun 2017 22:47:22 +0000 (15:47 -0700)]
msm: ipa: fix hdr table full condition

The header table is managed by IPA driver and header cannot be
moved. Instead a "free list" is maintained for deleted headers.
This change fixes a bug on header addition where the table is considered
full only if it is full and the free list is empty.

Change-Id: Ief8a384ea105c6f0179faaf95a98b9731fe6a01e
CRs-Fixed: 2048799
Acked-by: Ady Abraham <adya@qti.qualcomm.com>
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
7 years agodrm/msm: Fix possible overflow issue in submit_cmd
Jordan Crouse [Mon, 12 Jun 2017 15:16:42 +0000 (09:16 -0600)]
drm/msm: Fix possible overflow issue in submit_cmd

When verifying that the submit_cmd offset and size do not exceed the
bounds of the GEM object make sure to cast the math operation
into a suitably large buffer to account for overflow.

Change-Id: Ic0dedbad97513ee538d539e771038b3cf0405e91
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
7 years agopower: qpnp-fg-gen3: Qualify aborting capacity learning
Subbaraman Narayanamurthy [Mon, 5 Jun 2017 18:59:15 +0000 (11:59 -0700)]
power: qpnp-fg-gen3: Qualify aborting capacity learning

Currently, capacity learning algorithm is aborted when the
charging status goes to not charging. This can happen with qnovo
enabled charging where stopping the pulsing can lead to charging
status change. Qualify aborting capacity learning based on the
qnovo enable status and input presence.

While at it, abort the capacity learning when the charging status
goes to discharging and charger is removed.

Change-Id: I4546e8880be0658748157cb13f048610eee932a3
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
7 years agopower: qpnp-fg-gen3: fix an unbalanced irq disable for delta_bsoc irq
Subbaraman Narayanamurthy [Thu, 8 Jun 2017 00:51:30 +0000 (17:51 -0700)]
power: qpnp-fg-gen3: fix an unbalanced irq disable for delta_bsoc irq

Currently, rerun_election() is called on delta_bsoc_irq_en
votable to disable delta_bsoc interrupt during probe. However, it
doesn't set the internal variable for votable to not allow a
similar vote again. When a vote is made later to disable the
interrupt again, it can end up in invoking the callback again.

This leads to an unbalanced interrupt disable warning. Fix it.

CRs-Fixed: 2058754
Change-Id: I30c35be5275b5b310cf9b17ea4660a3e2e89c59a
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
7 years agoMerge "Policy_engine: Add module parameter to disable PD"
Linux Build Service Account [Mon, 12 Jun 2017 17:41:38 +0000 (10:41 -0700)]
Merge "Policy_engine: Add module parameter to disable PD"

7 years agoMerge "diag: Remove BOM in file"
Linux Build Service Account [Mon, 12 Jun 2017 17:41:37 +0000 (10:41 -0700)]
Merge "diag: Remove BOM in file"

7 years agoMerge "usb: gadget: Bind android devices for all UDC gadgets"
Linux Build Service Account [Mon, 12 Jun 2017 17:41:36 +0000 (10:41 -0700)]
Merge "usb: gadget: Bind android devices for all UDC gadgets"

7 years agoMerge "ARM: dts: msm: specify a PWM mode threshold for BoB on SDM660"
Linux Build Service Account [Mon, 12 Jun 2017 17:41:35 +0000 (10:41 -0700)]
Merge "ARM: dts: msm: specify a PWM mode threshold for BoB on SDM660"

7 years agoMerge "SDM660: ADSPRPC: Handle NULL pointer dereference"
Linux Build Service Account [Mon, 12 Jun 2017 17:41:34 +0000 (10:41 -0700)]
Merge "SDM660: ADSPRPC: Handle NULL pointer dereference"

7 years agoMerge "defconfig: arch: arm64: Disable CONFIG_CC_OPTIMIZE_FOR_SIZE defconfig"
Linux Build Service Account [Mon, 12 Jun 2017 17:41:34 +0000 (10:41 -0700)]
Merge "defconfig: arch: arm64: Disable CONFIG_CC_OPTIMIZE_FOR_SIZE defconfig"

7 years agoMerge "ASoC: sdm660_cdc: Update micbias regulator to power saving on use basis"
Linux Build Service Account [Mon, 12 Jun 2017 17:41:33 +0000 (10:41 -0700)]
Merge "ASoC: sdm660_cdc: Update micbias regulator to power saving on use basis"

7 years agoqseecom: Fix accessing userspace memory in kernel space
Brahmaji K [Thu, 1 Jun 2017 11:50:10 +0000 (17:20 +0530)]
qseecom: Fix accessing userspace memory in kernel space

Use put_user API to write the data from kernel space to
userspace to avoid accessing userspace memory directly
in kernel space.

Change-Id: I649fe2597e80ccad50cf16b355e220734810e94c
Signed-off-by: Brahmaji K <bkomma@codeaurora.org>
7 years agosoc: qcom: update return value for minidump add region
Lingutla Chandrasekhar [Mon, 12 Jun 2017 09:06:03 +0000 (14:36 +0530)]
soc: qcom: update return value for minidump add region

If minidump is not enabled, minidump add region api returns
error number, clients can log the error to log buffer, which
flood the log buffer unnecessarily.

So return quietly if minidump support is not enabled.

Change-Id: I9c6428015ca40c5233f80471896bacecd0872bf7
Signed-off-by: Lingutla Chandrasekhar <clingutla@codeaurora.org>
7 years agoclk: qcom: Add regmap mux-div clocks support
Georgi Djakov [Wed, 18 Mar 2015 15:23:29 +0000 (17:23 +0200)]
clk: qcom: Add regmap mux-div clocks support

Add support for hardware that can switch both parent clocks and divider
at the same time. This avoids generating intermediate frequencies from
either the old parent clock and new divider or new parent clock and
old divider combinations.

Change-Id: I1b3f7e9422f5c27eeb391d309374167dc139e8ca
Signed-off-by: Georgi Djakov <georgi.djakov@linaro.org>
Git-commit: 549f1a4028350851f73837ad8cce3ac5fd2abd11
Git-repo: https://git.quicinc.com/?p=kernel/msm-4.4.git
[anischal@codeaurora.org: Fix compilation issue with
mux_div_get_safe_parent]
Signed-off-by: Amit Nischal <anischal@codeaurora.org>
7 years agodiag: Synchronize mdlog read and write threads
Manoj Prabhu B [Wed, 7 Jun 2017 11:45:25 +0000 (17:15 +0530)]
diag: Synchronize mdlog read and write threads

The patch defines the per peripheral packet length
inside the per peripheral structure replacing
corresponding global variables.

CRs-Fixed: 2050301
Change-Id: I0bb732d93cd98aa46c69c81eeae9872a801a9e18
Signed-off-by: Manoj Prabhu B <bmanoj@codeaurora.org>
7 years agodiag: Remove BOM in file
Mohit Aggarwal [Wed, 17 May 2017 00:09:31 +0000 (17:09 -0700)]
diag: Remove BOM in file

This file seems to have a BOM sequence to indicate the file is
UTF-8. There aren't any UTF sequences in the file though, and
this trips up sparse when running on files that include this
header. Remove the BOM so sparse is happy.

Change-Id: Ie25ce60077d1f2b4eb51bf0792635f02d1b33ae7
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Mohit Aggarwal <maggarwa@codeaurora.org>
7 years agosdm660: adsprpc: Map uncached buffers as non-coherent
c_mtharu [Fri, 9 Jun 2017 09:23:48 +0000 (14:53 +0530)]
sdm660: adsprpc: Map uncached buffers as non-coherent

Map un-cached buffers as non io-coherent to avoid snooping overhead.

Change-Id: Iddbde76d6d8a13cd48c737f1046a53a2bc1ef2a5
Acked-by: Viswanatham Paduchuri <vpaduchu@qti.qualcomm.com>
Signed-off-by: Tharun Kumar Merugu <mtharu@codeaurora.org>
7 years agoMerge "fbdev: msm: Allocate fd with O_CLOEXEC flag"
Linux Build Service Account [Sat, 10 Jun 2017 09:20:47 +0000 (02:20 -0700)]
Merge "fbdev: msm: Allocate fd with O_CLOEXEC flag"

7 years agoMerge "msm: mdss: Buffer overflow while processing gamut table data"
Linux Build Service Account [Sat, 10 Jun 2017 09:20:46 +0000 (02:20 -0700)]
Merge "msm: mdss: Buffer overflow while processing gamut table data"

7 years agoMerge "fb: msm_dba: add post-on-sleep support for adv7533 vreg"
Linux Build Service Account [Sat, 10 Jun 2017 09:20:45 +0000 (02:20 -0700)]
Merge "fb: msm_dba: add post-on-sleep support for adv7533 vreg"

7 years agoMerge "ARM: dts: msm: update nt35597 panel properties for msm8998"
Linux Build Service Account [Sat, 10 Jun 2017 09:20:43 +0000 (02:20 -0700)]
Merge "ARM: dts: msm: update nt35597 panel properties for msm8998"

7 years agoMerge "msm: mdss: Do not attempt to request TE irq again if already requested"
Linux Build Service Account [Sat, 10 Jun 2017 09:20:42 +0000 (02:20 -0700)]
Merge "msm: mdss: Do not attempt to request TE irq again if already requested"

7 years agoMerge "ARM: dts: msm: Enable secondary USB port for HDK660"
Linux Build Service Account [Sat, 10 Jun 2017 09:20:42 +0000 (02:20 -0700)]
Merge "ARM: dts: msm: Enable secondary USB port for HDK660"

7 years agodrm/msm: Fix kernel address issue of profile buffer
Kasin Li [Sun, 4 Jun 2017 08:34:16 +0000 (16:34 +0800)]
drm/msm: Fix kernel address issue of profile buffer

Current DRM adds offset when making IOVA but failed to add it when
making kernel address. This makes DRM write queue_s and submit_s to
wrong place if the profile buffer is not at the head of
a chunk of buffer.

Change-Id: I5af9c3050f4c6c5e0a54ed495bf79053f08f0bab
Signed-off-by: Kasin Li <donglil@codeaurora.org>
7 years agoMerge "icnss: Add APIs to store driver load count"
Linux Build Service Account [Sat, 10 Jun 2017 01:47:16 +0000 (18:47 -0700)]
Merge "icnss: Add APIs to store driver load count"

7 years agoMerge "ARM: dts: msm: Disable MHI node for msm8996"
Linux Build Service Account [Sat, 10 Jun 2017 01:47:15 +0000 (18:47 -0700)]
Merge "ARM: dts: msm: Disable MHI node for msm8996"