OSDN Git Service

sagit-ice-cold/kernel_xiaomi_msm8998.git
7 years agoesoc: mdm-4x: Add support for mdm9x45 and apq8096
Arun KS [Mon, 16 Jan 2017 12:30:37 +0000 (18:00 +0530)]
esoc: mdm-4x: Add support for mdm9x45 and apq8096

Add mdm_ops for mdm9x45 and apq8064.

Change-Id: Iea167175b9bd35a515d15a72897947a889093c03
Signed-off-by: Arun KS <arunks@codeaurora.org>
Signed-off-by: Srivatsa Vaddagiri <vatsa@codeaurora.org>
7 years agoesoc: Add support for autoboot
Arun KS [Mon, 16 Jan 2017 12:17:03 +0000 (17:47 +0530)]
esoc: Add support for autoboot

Some of the external SoC are flash based and can boot independently.
Extend esoc driver to support such auto boot esocs.

This patch also adds support for primary esoc. Primary esoc are
esoc that control secondary esoc such as modems. Primary esoc have
control over reset/poweroff of secondary esoc. Secondary esoc don't
have control over reset/poweroff of primary esoc. In general modems
are considered as secondary esoc while apps processor is considered
as primary esoc.

Change-Id: Id02417fcd122ac108cf75d3381ee7955f0f8f783
Signed-off-by: Arun KS <arunks@codeaurora.org>
Signed-off-by: Srivatsa Vaddagiri <vatsa@codeaurora.org>
7 years agoesoc: Add err_fatal signal status to clink_ops
Arun KS [Mon, 16 Jan 2017 09:57:48 +0000 (15:27 +0530)]
esoc: Add err_fatal signal status to clink_ops

Auto_boot esoc devices can boot and crash before
esoc driver comes up. But there is no way for the
user space code to know that it has crashed by looking
at status line alone. Hence, create a new ioctl entry
to export status of err_fatal line to user space.

Change-Id: Ie7d6115c749d4c63f06aefca29ba457d38eccc7f
Signed-off-by: Arun KS <arunks@codeaurora.org>
7 years agoesoc: Fix integration with SSR driver
Arun KS [Mon, 16 Jan 2017 09:09:52 +0000 (14:39 +0530)]
esoc: Fix integration with SSR driver

SSR driver expects subsystem descriptor device type to be
struct platform_device, whereas esoc driver is passing a
struct device instead. This results in a NULL pointer crash
during platform_get_irq in subsystem_restart.c. Fix esoc
driver to pass platform_device.

Change-Id: I93d02623cb7ac14ea3171c3792a4c52c73a74dea
Signed-off-by: Arun KS <arunks@codeaurora.org>
Signed-off-by: Srivatsa Vaddagiri <vatsa@codeaurora.org>
7 years agoMerge "ARM: dts: msm: move panel bindings to different msm8998 platforms"
Linux Build Service Account [Sat, 29 Apr 2017 14:00:57 +0000 (07:00 -0700)]
Merge "ARM: dts: msm: move panel bindings to different msm8998 platforms"

7 years agoMerge "ARM: dts: msm: Remove I/O coherence for the GPU"
Linux Build Service Account [Sat, 29 Apr 2017 14:00:56 +0000 (07:00 -0700)]
Merge "ARM: dts: msm: Remove I/O coherence for the GPU"

7 years agoMerge "ARM: dts: msm: Change panel settings for sdm660 QRD"
Linux Build Service Account [Sat, 29 Apr 2017 05:10:52 +0000 (22:10 -0700)]
Merge "ARM: dts: msm: Change panel settings for sdm660 QRD"

7 years agoMerge "ARM: dts: msm: control VCI register switch for rm67195"
Linux Build Service Account [Sat, 29 Apr 2017 05:10:50 +0000 (22:10 -0700)]
Merge "ARM: dts: msm: control VCI register switch for rm67195"

7 years agoMerge "drm/msm: Add explicit sync operations"
Linux Build Service Account [Sat, 29 Apr 2017 05:10:49 +0000 (22:10 -0700)]
Merge "drm/msm: Add explicit sync operations"

7 years agoMerge "ASoC: qdsp6v2: Remove Eagle code"
Linux Build Service Account [Sat, 29 Apr 2017 05:10:48 +0000 (22:10 -0700)]
Merge "ASoC: qdsp6v2: Remove Eagle code"

7 years agoMerge "Merge branch 'android-4.4@b834e92' into branch 'msm-4.4'"
Linux Build Service Account [Sat, 29 Apr 2017 05:10:46 +0000 (22:10 -0700)]
Merge "Merge branch 'android-4.4@b834e92' into branch 'msm-4.4'"

7 years agoMerge "power: smb-lib: Fix charger type reporting"
Linux Build Service Account [Sat, 29 Apr 2017 05:10:45 +0000 (22:10 -0700)]
Merge "power: smb-lib: Fix charger type reporting"

7 years agoMerge "ath10k: Move logging prior to ath10k core destroy"
Linux Build Service Account [Sat, 29 Apr 2017 05:10:44 +0000 (22:10 -0700)]
Merge "ath10k: Move logging prior to ath10k core destroy"

7 years agoMerge "ARM: dts: msm: configure supply property for DSI on msm8998."
Linux Build Service Account [Sat, 29 Apr 2017 05:10:43 +0000 (22:10 -0700)]
Merge "ARM: dts: msm: configure supply property for DSI on msm8998."

7 years agoMerge "soc: qcom: Register for indication cb after obtaining state of remote pd"
Linux Build Service Account [Fri, 28 Apr 2017 18:12:25 +0000 (11:12 -0700)]
Merge "soc: qcom: Register for indication cb after obtaining state of remote pd"

7 years agoMerge "icnss: Add support to handle SSR within SSR"
Linux Build Service Account [Fri, 28 Apr 2017 18:12:24 +0000 (11:12 -0700)]
Merge "icnss: Add support to handle SSR within SSR"

7 years agoMerge "qcom: PMRESR register read returns zero for un supported group events"
Linux Build Service Account [Fri, 28 Apr 2017 18:12:23 +0000 (11:12 -0700)]
Merge "qcom: PMRESR register read returns zero for un supported group events"

7 years agoMerge "arm64: Change cpu_resume() to enable mmu early then access sleep_sp by va"
Linux Build Service Account [Fri, 28 Apr 2017 18:12:20 +0000 (11:12 -0700)]
Merge "arm64: Change cpu_resume() to enable mmu early then access sleep_sp by va"

7 years agoMerge "arm64: kasan: clear stale stack poison"
Linux Build Service Account [Fri, 28 Apr 2017 18:12:20 +0000 (11:12 -0700)]
Merge "arm64: kasan: clear stale stack poison"

7 years agoMerge "Revert "arm64: Change cpu_resume() to enable mmu early ...""
Linux Build Service Account [Fri, 28 Apr 2017 18:12:19 +0000 (11:12 -0700)]
Merge "Revert "arm64: Change cpu_resume() to enable mmu early ...""

7 years agoMerge "msm: ADSPRPC: Initialize the list for global gfa maps"
Linux Build Service Account [Fri, 28 Apr 2017 18:12:18 +0000 (11:12 -0700)]
Merge "msm: ADSPRPC: Initialize the list for global gfa maps"

7 years agoARM: dts: msm: move panel bindings to different msm8998 platforms
Chandan Uddaraju [Fri, 14 Apr 2017 16:46:38 +0000 (09:46 -0700)]
ARM: dts: msm: move panel bindings to different msm8998 platforms

Include the panel dtsi files as part of all the different
msm8998 platform specific device tree files. This will
separate panel properties from SOC specific MDSS binding.

Change-Id: I423a53b4601447d0c7be2bdc041b36495f99da3b
Signed-off-by: Chandan Uddaraju <chandanu@codeaurora.org>
7 years agosoc: qcom: Register for indication cb after obtaining state of remote pd
Avaneesh Kumar Dwivedi [Fri, 21 Apr 2017 15:45:03 +0000 (21:15 +0530)]
soc: qcom: Register for indication cb after obtaining state of remote pd

This change moves the registration of indication call back after inquiring
the state of remote PD, this is logical flow since in any case just after
registration we are inquiring the state and doing client notification.

With existing arrangement of code, sometime there is occurring a race
condition between inquiring the remote pd state and indication call back.

Change-Id: I2d4d5e0dc7afde9dfb89747b878c26862532bec4
Signed-off-by: Avaneesh Kumar Dwivedi <akdwived@codeaurora.org>
7 years agosoc: qcom: Clear the memory before freeing it up
Avaneesh Kumar Dwivedi [Mon, 24 Apr 2017 16:21:42 +0000 (21:51 +0530)]
soc: qcom: Clear the memory before freeing it up

It is a case of write after free, this is causing page allocation
failure due to corruption. This is due to freeing up of segments
allocated for venus subsystem, when venus fw loading fail midway.

Change-Id: I0019a05b1d1336dcf361264607597430e5f1625a
Signed-off-by: Avaneesh Kumar Dwivedi <akdwived@codeaurora.org>
7 years agoath10k: Move logging prior to ath10k core destroy
Govind Singh [Fri, 28 Apr 2017 11:20:41 +0000 (16:50 +0530)]
ath10k: Move logging prior to ath10k core destroy

ath10k core destroy frees the debug references and
this is leading to crash when ATH10K_DBG_SNOC mask is
defined.

Fix this by moving logs to prior ath10k core destroy.

Change-Id: If4fd96fdfd9faaf19480b6d523c501747f56d40e
Signed-off-by: Govind Singh <govinds@codeaurora.org>
7 years agoath10k: wait for FW ready during initialization
Rakesh Pillai [Wed, 26 Apr 2017 13:31:06 +0000 (19:01 +0530)]
ath10k: wait for FW ready during initialization

Since the qmi service in snoc driver gets registered late,
it misses the first time FW ready is sent. This causes the
wait on FW ready to fail and eventually the driver loading fails.

Proceed with the driver initialization only once the FW ready
indication arrives. Handle error in case the wait for these
events timeout.

Change-Id: Ib20ddb3a2f8b5b48936cc97b38f637f31e4e0100
Signed-off-by: Rakesh Pillai <pillair@codeaurora.org>
7 years agoMerge "input: misc: hbtp-input: Support for FB_BLANK_NORMAL event"
Linux Build Service Account [Fri, 28 Apr 2017 08:45:05 +0000 (01:45 -0700)]
Merge "input: misc: hbtp-input: Support for FB_BLANK_NORMAL event"

7 years agoMerge "msm: camera: isp: Rate limit tasklet overflow logs"
Linux Build Service Account [Fri, 28 Apr 2017 08:45:04 +0000 (01:45 -0700)]
Merge "msm: camera: isp: Rate limit tasklet overflow logs"

7 years agoMerge "ARM: dts: msm: configure PM8998 S5 and S7 for mode pin control on msm8998"
Linux Build Service Account [Fri, 28 Apr 2017 08:45:03 +0000 (01:45 -0700)]
Merge "ARM: dts: msm: configure PM8998 S5 and S7 for mode pin control on msm8998"

7 years agoMerge "soc: qcom: ipc_router_mhi_xprt: Handle xfer event in atomic context"
Linux Build Service Account [Fri, 28 Apr 2017 08:45:02 +0000 (01:45 -0700)]
Merge "soc: qcom: ipc_router_mhi_xprt: Handle xfer event in atomic context"

7 years agoMerge "msm: mdss: dsi: reset phy during idle screen"
Linux Build Service Account [Fri, 28 Apr 2017 08:45:01 +0000 (01:45 -0700)]
Merge "msm: mdss: dsi: reset phy during idle screen"

7 years agoMerge "cfg80211: size various nl80211 messages correctly"
Linux Build Service Account [Fri, 28 Apr 2017 08:44:59 +0000 (01:44 -0700)]
Merge "cfg80211: size various nl80211 messages correctly"

7 years agoMerge "cfg80211: Fix documentation for connect result"
Linux Build Service Account [Fri, 28 Apr 2017 08:44:58 +0000 (01:44 -0700)]
Merge "cfg80211: Fix documentation for connect result"

7 years agoMerge "cfg80211: Add KEK/nonces for FILS association frames"
Linux Build Service Account [Fri, 28 Apr 2017 08:44:57 +0000 (01:44 -0700)]
Merge "cfg80211: Add KEK/nonces for FILS association frames"

7 years agoicnss: Add support to handle SSR within SSR
Anurag Chouhan [Mon, 10 Apr 2017 11:56:47 +0000 (17:26 +0530)]
icnss: Add support to handle SSR within SSR

Add state bit to defer recursive shutdown. This state
bit adds support for synchronization between reinit
and shutdown method during SSR within SSR.

Change-Id: Ifb857ecdb6545709706380631c423f0e24269e11
Signed-off-by: Anurag Chouhan <achouhan@codeaurora.org>
7 years agoqcom: PMRESR register read returns zero for un supported group events
Prasad Sodagudi [Fri, 8 Jul 2016 16:24:09 +0000 (21:54 +0530)]
qcom: PMRESR register read returns zero for un supported group events

Kryo has 3 groups of events PMRESR0, 1, 2. If kryo_read_pmresr()
is asked to read other than these 3 event groups, return ZERO value.

Change-Id: Ifa348baa749182bb0dcb67562195472699301b1a
Signed-off-by: Prasad Sodagudi <psodagud@codeaurora.org>
Signed-off-by: Mohammed Khajapasha <mkhaja@codeaurora.org>
7 years agomsm: camera: isp: Rate limit tasklet overflow logs
Venu Yeshala [Tue, 25 Apr 2017 03:21:40 +0000 (08:51 +0530)]
msm: camera: isp: Rate limit tasklet overflow logs

This will help reduce excessive logging in case of tasklet
overflow scenarios.

Change-Id: I93f8442c4dcf725cab2d722694d194921b764aff
Signed-off-by: Venu Yeshala <vyeshala@codeaurora.org>
7 years agoMerge "defconfig: enable LCDB support in SDM660-perf_defconfig"
Linux Build Service Account [Thu, 27 Apr 2017 23:52:24 +0000 (16:52 -0700)]
Merge "defconfig: enable LCDB support in SDM660-perf_defconfig"

7 years agoMerge "fs/dcache: Fix indefinite wait in d_invalidate()"
Linux Build Service Account [Thu, 27 Apr 2017 23:52:23 +0000 (16:52 -0700)]
Merge "fs/dcache: Fix indefinite wait in d_invalidate()"

7 years agoMerge "ANDROID: AVB error handler to invalidate vbmeta partition."
Linux Build Service Account [Thu, 27 Apr 2017 23:52:21 +0000 (16:52 -0700)]
Merge "ANDROID: AVB error handler to invalidate vbmeta partition."

7 years agoMerge "USB: dwc3: msm: Fix error handling with dwc3_msm_ep_queue()"
Linux Build Service Account [Thu, 27 Apr 2017 23:52:20 +0000 (16:52 -0700)]
Merge "USB: dwc3: msm: Fix error handling with dwc3_msm_ep_queue()"

7 years agosoc: qcom: ipc_router_mhi_xprt: Handle xfer event in atomic context
Chris Lew [Thu, 1 Dec 2016 23:19:06 +0000 (15:19 -0800)]
soc: qcom: ipc_router_mhi_xprt: Handle xfer event in atomic context

The MHI driver requires the MHI_CB_XFER event handling be atomic.
This change makes the addr map locks into spinlocks so sleep is
avoided while processing the XFER event.

CRs-Fixed: 1089824
Change-Id: I7bd8f606f92095bb47741aa54a846b687fe948b9
Signed-off-by: Chris Lew <clew@codeaurora.org>
7 years agoinput: misc: hbtp-input: Support for FB_BLANK_NORMAL event
Alex Sarraf [Tue, 11 Apr 2017 19:54:46 +0000 (12:54 -0700)]
input: misc: hbtp-input: Support for FB_BLANK_NORMAL event

Add support for handling FB_BLANK_NORMAL event.

Change-Id: Ifd3c1c1eb2e1101bfcd354252711eb67fc362c57
Signed-off-by: Alex Sarraf <asarraf@codeaurora.org>
7 years agoMerge "ARM: dts: msm: Enable KPDPWR software debounce for PM660"
Linux Build Service Account [Thu, 27 Apr 2017 14:07:12 +0000 (07:07 -0700)]
Merge "ARM: dts: msm: Enable KPDPWR software debounce for PM660"

7 years agoMerge "ARM: dts: msm: add support for truly amoled panel on sdm660 and sdm630"
Linux Build Service Account [Thu, 27 Apr 2017 14:07:01 +0000 (07:07 -0700)]
Merge "ARM: dts: msm: add support for truly amoled panel on sdm660 and sdm630"

7 years agoMerge "msm: mdss: enable backlight gpio after commit is done"
Linux Build Service Account [Thu, 27 Apr 2017 14:06:59 +0000 (07:06 -0700)]
Merge "msm: mdss: enable backlight gpio after commit is done"

7 years agoMerge "msm: sde: fix to handle invalid format in sde rotator"
Linux Build Service Account [Thu, 27 Apr 2017 14:06:58 +0000 (07:06 -0700)]
Merge "msm: sde: fix to handle invalid format in sde rotator"

7 years agoMerge "msm: mdss: align the size of smmu domain mapping to 128 MB"
Linux Build Service Account [Thu, 27 Apr 2017 14:06:57 +0000 (07:06 -0700)]
Merge "msm: mdss: align the size of smmu domain mapping to 128 MB"

7 years agoMerge "ARM: dts: msm: Add QRD device nodes for HDK660/630 boards"
Linux Build Service Account [Thu, 27 Apr 2017 14:06:56 +0000 (07:06 -0700)]
Merge "ARM: dts: msm: Add QRD device nodes for HDK660/630 boards"

7 years agoMerge "msm: dsi: Turn off supplies in low power state"
Linux Build Service Account [Thu, 27 Apr 2017 14:06:55 +0000 (07:06 -0700)]
Merge "msm: dsi: Turn off supplies in low power state"

7 years agoMerge "Merge branch 'android-4.4@c71ad0f' into branch 'msm-4.4'"
Linux Build Service Account [Thu, 27 Apr 2017 14:06:53 +0000 (07:06 -0700)]
Merge "Merge branch 'android-4.4@c71ad0f' into branch 'msm-4.4'"

7 years agoMerge "msm: ipa: fix IPC low priority logging"
Linux Build Service Account [Thu, 27 Apr 2017 14:06:52 +0000 (07:06 -0700)]
Merge "msm: ipa: fix IPC low priority logging"

7 years agoMerge "msm: gsi: fix IPC low priority logging"
Linux Build Service Account [Thu, 27 Apr 2017 14:06:51 +0000 (07:06 -0700)]
Merge "msm: gsi: fix IPC low priority logging"

7 years agoMerge "diag: Fix to check for command length size"
Linux Build Service Account [Thu, 27 Apr 2017 14:06:29 +0000 (07:06 -0700)]
Merge "diag: Fix to check for command length size"

7 years agoMerge "mhi: core: add support for 64bit doorbell address"
Linux Build Service Account [Thu, 27 Apr 2017 14:06:27 +0000 (07:06 -0700)]
Merge "mhi: core: add support for 64bit doorbell address"

7 years agoMerge "msm: ipa: Fix race condition between shared memory"
Linux Build Service Account [Thu, 27 Apr 2017 14:06:26 +0000 (07:06 -0700)]
Merge "msm: ipa: Fix race condition between shared memory"

7 years agoMerge "ashmem: add mutex to set size ioctl"
Linux Build Service Account [Thu, 27 Apr 2017 14:06:24 +0000 (07:06 -0700)]
Merge "ashmem: add mutex to set size ioctl"

7 years agoMerge "msm: mdss: Add check to avoid NULL pointer dereference"
Linux Build Service Account [Thu, 27 Apr 2017 14:06:22 +0000 (07:06 -0700)]
Merge "msm: mdss: Add check to avoid NULL pointer dereference"

7 years agoUSB: dwc3: msm: Fix error handling with dwc3_msm_ep_queue()
Mayank Rana [Mon, 25 Apr 2016 23:50:56 +0000 (16:50 -0700)]
USB: dwc3: msm: Fix error handling with dwc3_msm_ep_queue()

If __dwc3_msm_ep_queue() fails, then req_complete is freed
but it is not being removed from mdwc->request_list. This
may result into list_add corruption issue on next USB cable
connect when USB endless request is queued. Fix this issue
by deleting req_complete from mdwc->req_complete_list.

CRs-Fixed: 1007571
Change-Id: I00300bc529db75593939a13fbea33acefa717da5
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
7 years agodefconfig: enable LCDB support in SDM660-perf_defconfig
Ashay Jaiswal [Thu, 27 Apr 2017 11:01:42 +0000 (16:31 +0530)]
defconfig: enable LCDB support in SDM660-perf_defconfig

LCDB driver exposes regulators to control the positive and
negative voltage bias for the LCD display panel. It also
allows ability to configure for the various bias-voltage
parameters.

Change-Id: I339345520a47c117e37e57a7b1f37ff2aead3dd8
Signed-off-by: Ashay Jaiswal <ashayj@codeaurora.org>
7 years agoMerge "input: misc: hbtp_input: filter out fb events"
Linux Build Service Account [Thu, 27 Apr 2017 01:49:04 +0000 (18:49 -0700)]
Merge "input: misc: hbtp_input: filter out fb events"

7 years agoARM: dts: msm: Enable KPDPWR software debounce for PM660
Anirudh Ghayal [Wed, 19 Apr 2017 10:23:01 +0000 (15:53 +0530)]
ARM: dts: msm: Enable KPDPWR software debounce for PM660

Enable the SW debounce handling for KPDPWR_N rising edge.

CRs-Fixed: 2032520
Change-Id: Ic099d38abdd7693425d0e2510a0ef8fc52a69b95
Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>
7 years agoinput: qpnp-power-on: Add debounce for KPDPWR_N rising edge
Anirudh Ghayal [Wed, 19 Apr 2017 09:53:06 +0000 (15:23 +0530)]
input: qpnp-power-on: Add debounce for KPDPWR_N rising edge

On certain PMICs, an unexpected assertion on KPDPWR_DBC may
be seen during falling edge of KPDPWR_N when it is closer
to the rising edge of SLEEP_CLK. This triggers spurious
KPDPWR interrupts. Handle this by adding a debounce in SW
when the first KPDPWR_N falling edge is seen.

The debounce logic is enabled by the DT property
'qcom,kpdpwr-sw-debounce'.

CRs-Fixed: 2032520
Change-Id: I7655c13bda47fa6e2983650d7bec21e52aa91c2f
Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>
7 years agoANDROID: AVB error handler to invalidate vbmeta partition.
David Zeuthen [Tue, 24 Jan 2017 18:17:01 +0000 (13:17 -0500)]
ANDROID: AVB error handler to invalidate vbmeta partition.

If androidboot.vbmeta.device is set and points to a device with vbmeta
magic, this header will be overwritten upon an irrecoverable dm-verity
error. The side-effect of this is that the slot will fail to verify on
next reboot, effectively triggering the boot loader to fallback to
another slot. This work both if the vbmeta struct is at the start of a
partition or if there's an AVB footer at the end.

This code is based on drivers/md/dm-verity-chromeos.c from ChromiumOS.

Example:

 [    0.000000] Kernel command line: rootfstype=ext4 init=/init console=ttyS0,115200 androidboot.console=ttyS0 androidboot.hardware=uefi_x86_64 enforcing=0 androidboot.selinux=permissive androidboot.debuggable=1 buildvariant=eng dm="1 vroot none ro 1,0 2080496 verity 1 PARTUUID=6779df46-78f6-4c69-bf53-59bb1fbf126b PARTUUID=6779df46-78f6-4c69-bf53-59bb1fbf126b 4096 4096 260062 260062 sha1 4f76354c86e430e27426d584a726f2fbffecae32 7e4085342d634065269631ac9a199e1a43f4632c 1 ignore_zero_blocks" root=0xfd00 androidboot.vbmeta.device=PARTUUID=b865935d-38fb-4c4e-b8b4-70dc67321552 androidboot.slot_suffix=_a androidboot.vbmeta.device_state=unlocked androidboot.vbmeta.hash_alg=sha256 androidboot.vbmeta.size=3200 androidboot.vbmeta.digest=14fe41c2b3696c31b7ad5eae7877d7d188995e1ab122c604aaaf4785850b91f7 skip_initramfs
 [...]
 [    0.612802] device-mapper: verity-avb: AVB error handler initialized with vbmeta device: PARTUUID=b865935d-38fb-4c4e-b8b4-70dc67321552
 [...]
 [    1.213804] device-mapper: init: attempting early device configuration.
 [    1.214752] device-mapper: init: adding target '0 2080496 verity 1 PARTUUID=6779df46-78f6-4c69-bf53-59bb1fbf126b PARTUUID=6779df46-78f6-4c69-bf53-59bb1fbf126b 4096 4096 260062 260062 sha1 4f76354c86e430e27426d584a726f2fbffecae32 7e4085342d634065269631ac9a199e1a43f4632c 1 ignore_zero_blocks'
 [    1.217643] device-mapper: init: dm-0 is ready
 [    1.226694] device-mapper: verity: 8:6: data block 0 is corrupted
 [    1.227666] device-mapper: verity-avb: AVB error handler called for PARTUUID=b865935d-38fb-4c4e-b8b4-70dc67321552
 [    1.234308] device-mapper: verity-avb: invalidate_vbmeta: found vbmeta partition
 [    1.235848] device-mapper: verity-avb: invalidate_vbmeta: completed.
 [...]

Bug: 31622239
Test: Manually tested (other arch).
Change-Id: Idf6be32d6a3d28e15de9302aa26ad6a516d663aa
Signed-off-by: David Zeuthen <zeuthen@google.com>
Git-commit: 8d6f006d608c3b03652fb919e496945f2d4d4f1d
Git-repo: https://android.googlesource.com/kernel/common/
[runminw@codeaurora.org: resolve trivial merge conflicts]
Signed-off-by: Runmin Wang <runminw@codeaurora.org>
7 years agoANDROID: Update init/do_mounts_dm.c to the latest ChromiumOS version.
David Zeuthen [Tue, 24 Jan 2017 18:02:35 +0000 (13:02 -0500)]
ANDROID: Update init/do_mounts_dm.c to the latest ChromiumOS version.

This is needed for AVB integration work.

Bug: 31796270
Test: Manually tested (other arch).
Change-Id: I32fd37c1578c6414e3e6ff277d16ad94df7886b8
Signed-off-by: David Zeuthen <zeuthen@google.com>
Git-commit: 6a6a7657c231e947233c43ae0522bbd4edf0139e
Git-repo: https://android.googlesource.com/kernel/common/
Signed-off-by: Runmin Wang <runminw@codeaurora.org>
7 years agoARM: dts: msm: Remove I/O coherence for the GPU
Jordan Crouse [Tue, 18 Apr 2017 17:56:09 +0000 (11:56 -0600)]
ARM: dts: msm: Remove I/O coherence for the GPU

I/O coherence has some limitations that make it less preferable than
the usermode cache operations.  Given these limitations the user mode
driver teams have requested that I/O coherence be disabled.

Change-Id: Ic0dedbadbc10b3a6239e20df8b527a5738a1a3a4
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
7 years agodrm/msm: Add explicit sync operations
Jordan Crouse [Mon, 3 Apr 2017 14:29:34 +0000 (08:29 -0600)]
drm/msm: Add explicit sync operations

Add sync operations to give the user more control
over the behavior of cached buffers.

Change-Id: Ic0dedbad67e19a6b30b2cc5f6b2c7bbe52c2b708
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
7 years agoMerge "msm: camera: isp: Enable recovery for stats in out of sync case"
Linux Build Service Account [Wed, 26 Apr 2017 13:33:54 +0000 (06:33 -0700)]
Merge "msm: camera: isp: Enable recovery for stats in out of sync case"

7 years agoMerge "btfm: set watermark level to 3 for wcn3990 slimbus FM slave ports"
Linux Build Service Account [Wed, 26 Apr 2017 13:33:53 +0000 (06:33 -0700)]
Merge "btfm: set watermark level to 3 for wcn3990 slimbus FM slave ports"

7 years agoMerge "esoc: remove reduntant return_esoc_udev() fn call"
Linux Build Service Account [Wed, 26 Apr 2017 13:33:52 +0000 (06:33 -0700)]
Merge "esoc: remove reduntant return_esoc_udev() fn call"

7 years agoMerge "defconfig: msm: Enable cache dump and common log in perf build"
Linux Build Service Account [Wed, 26 Apr 2017 13:33:51 +0000 (06:33 -0700)]
Merge "defconfig: msm: Enable cache dump and common log in perf build"

7 years agoMerge "power: qpnp-fg-gen3: configure ESR FCC based on Qnovo enable status"
Linux Build Service Account [Wed, 26 Apr 2017 13:33:50 +0000 (06:33 -0700)]
Merge "power: qpnp-fg-gen3: configure ESR FCC based on Qnovo enable status"

7 years agoMerge "msm: camera: Fix kernel overwrite GET_BUF_BY_IDX ioctl"
Linux Build Service Account [Wed, 26 Apr 2017 13:33:49 +0000 (06:33 -0700)]
Merge "msm: camera: Fix kernel overwrite GET_BUF_BY_IDX ioctl"

7 years agoMerge "Revert "soc:qcom: Synchronize service notifier task's""
Linux Build Service Account [Wed, 26 Apr 2017 13:33:48 +0000 (06:33 -0700)]
Merge "Revert "soc:qcom: Synchronize service notifier task's""

7 years agoMerge "ASoC: msm: qdsp6v2: Add support for speaker swap"
Linux Build Service Account [Wed, 26 Apr 2017 13:33:47 +0000 (06:33 -0700)]
Merge "ASoC: msm: qdsp6v2: Add support for speaker swap"

7 years agoMerge "Revert "spi: spi_qsd: Check device state during set_cs call""
Linux Build Service Account [Wed, 26 Apr 2017 13:33:45 +0000 (06:33 -0700)]
Merge "Revert "spi: spi_qsd: Check device state during set_cs call""

7 years agomsm: camera: isp: Enable recovery for stats in out of sync case
Lokesh Kumar Aakulu [Tue, 18 Apr 2017 09:03:16 +0000 (14:33 +0530)]
msm: camera: isp: Enable recovery for stats in out of sync case

When the stats go out of sync across the 2 VFEs, don't treat it
as a fatal error but allow for recovery.

Change-Id: I5ef16b3e823cec9698d3ee0627335653f13fd60d
Signed-off-by: Lokesh Kumar Aakulu <lkumar@codeaurora.org>
7 years agopower: smb-lib: Fix charger type reporting
Ashay Jaiswal [Wed, 26 Apr 2017 09:04:29 +0000 (14:34 +0530)]
power: smb-lib: Fix charger type reporting

Charger type gets updated in 'smblib_update_usb_type' function
and this should only be called after completion of APSD.
Update the calling sites of 'smblib_update_usb_type' to use
'smblib_get_apsd_result' instead of 'smblib_update_usb_type'.
This ensures charger type doesn't get updated inadvertently.

CRs-Fixed: 2038837
Change-Id: Iaa380c8f02bb71ad0f4367c16ec39d86d825dfa2
Signed-off-by: Ashay Jaiswal <ashayj@codeaurora.org>
7 years agomsm: ipa: Fix race condition between shared memory
Utkarsh Saxena [Wed, 26 Apr 2017 09:36:09 +0000 (15:06 +0530)]
msm: ipa: Fix race condition between shared memory

Protect the common shared wlan_comm_desc_list with
spin lock to avoid the race condition.

Change-Id: I02ef6c6b663340711e0e2f766424d642aaa8d7af
Acked-by: Mohammed Javid <mjavid@qti.qualcomm.com>
Signed-off-by: Utkarsh Saxena <usaxena@codeaurora.org>
7 years agoARM: dts: msm: Add QRD device nodes for HDK660/630 boards
Jiangen Jiao [Mon, 24 Apr 2017 03:21:24 +0000 (11:21 +0800)]
ARM: dts: msm: Add QRD device nodes for HDK660/630 boards

Add device tree support for QRD HDK660, HDK630 boards.

Change-Id: I65e7537f2ae0e7d04ccab11342925e0457f4198b
Signed-off-by: Jiangen Jiao <jiangenj@codeaurora.org>
7 years agobtfm: set watermark level to 3 for wcn3990 slimbus FM slave ports
Rupesh Tatiya [Tue, 18 Apr 2017 13:55:11 +0000 (19:25 +0530)]
btfm: set watermark level to 3 for wcn3990 slimbus FM slave ports

Without this, we hear silence or delay in sound during FM playback in
following use cases -
1. Switching between FM and media applications like YouTube
2. Changing volume during FM FTM

Change-Id: I51072ab70e6bc34e1ed10222ee289d987ed9ffbf
Signed-off-by: Rupesh Tatiya <rtatiya@codeaurora.org>
7 years agoesoc: remove reduntant return_esoc_udev() fn call
Mohammed Khajapasha [Tue, 11 Apr 2017 12:22:54 +0000 (17:52 +0530)]
esoc: remove reduntant return_esoc_udev() fn call

Remove reduntant return_esoc_udev() function call
while deleting a esoc device from an esoc clink.

Change-Id: Id2e812addb1bd8af0e23c4182427adbee9731a58
Signed-off-by: Mohammed Khajapasha <mkhaja@codeaurora.org>
7 years agomsm: camera: Fix kernel overwrite GET_BUF_BY_IDX ioctl
Trishansh Bhardwaj [Tue, 18 Apr 2017 09:14:43 +0000 (14:44 +0530)]
msm: camera: Fix kernel overwrite GET_BUF_BY_IDX ioctl

Assign address of buf_info into ioctl_ptr.
Previously we were copying first 8 bytes of buf_info (content)
into ioctl_ptr. Which is dereferenced and written later causing
kernel overwrite vulnerability.

Change-Id: Ie5deae249da8208523027f8ec5632f960757e9bd
Signed-off-by: Trishansh Bhardwaj <tbhardwa@codeaurora.org>
7 years agoMerge "msm: mdss: wait for pp done when switching from ON to LP1"
Linux Build Service Account [Wed, 26 Apr 2017 04:48:58 +0000 (21:48 -0700)]
Merge "msm: mdss: wait for pp done when switching from ON to LP1"

7 years agoMerge "ath10k: enable wlan hardware checksum for wcn3990"
Linux Build Service Account [Wed, 26 Apr 2017 04:48:57 +0000 (21:48 -0700)]
Merge "ath10k: enable wlan hardware checksum for wcn3990"

7 years agoMerge "clk: qcom: Add support for throttle clocks for clients"
Linux Build Service Account [Wed, 26 Apr 2017 04:48:56 +0000 (21:48 -0700)]
Merge "clk: qcom: Add support for throttle clocks for clients"

7 years agoMerge "msm: kgsl: Allow draw context to perform only replay on recovery"
Linux Build Service Account [Wed, 26 Apr 2017 04:48:55 +0000 (21:48 -0700)]
Merge "msm: kgsl: Allow draw context to perform only replay on recovery"

7 years agoMerge "iommu: disable smmu stalls on faulty transactions"
Linux Build Service Account [Wed, 26 Apr 2017 04:48:54 +0000 (21:48 -0700)]
Merge "iommu: disable smmu stalls on faulty transactions"

7 years agoMerge "drm/msm: Enable per cmdstream profiling for the user"
Linux Build Service Account [Wed, 26 Apr 2017 04:48:53 +0000 (21:48 -0700)]
Merge "drm/msm: Enable per cmdstream profiling for the user"

7 years agoMerge "msm: mhi_rmnet: clean channel resources only if allocated"
Linux Build Service Account [Wed, 26 Apr 2017 04:48:52 +0000 (21:48 -0700)]
Merge "msm: mhi_rmnet: clean channel resources only if allocated"

7 years agoMerge "input: laser: disable laser sensor when camera crash"
Linux Build Service Account [Wed, 26 Apr 2017 04:48:51 +0000 (21:48 -0700)]
Merge "input: laser: disable laser sensor when camera crash"

7 years agoMerge "ASoC: wcd934x: force the wdsp clock to be ungated"
Linux Build Service Account [Wed, 26 Apr 2017 04:48:50 +0000 (21:48 -0700)]
Merge "ASoC: wcd934x: force the wdsp clock to be ungated"

7 years agoMerge "ASoC: msm: qdsp6v2: Add TrueHD HDMI compress pass-though"
Linux Build Service Account [Wed, 26 Apr 2017 04:48:48 +0000 (21:48 -0700)]
Merge "ASoC: msm: qdsp6v2: Add TrueHD HDMI compress pass-though"

7 years agoMerge "ASoC: wcd-dsp-mgr: force crash upon collecting ramdumps"
Linux Build Service Account [Wed, 26 Apr 2017 04:48:47 +0000 (21:48 -0700)]
Merge "ASoC: wcd-dsp-mgr: force crash upon collecting ramdumps"

7 years agoMerge "ASoC: msm: qdsp6v2: allow zero size calibration for LSM"
Linux Build Service Account [Wed, 26 Apr 2017 04:48:46 +0000 (21:48 -0700)]
Merge "ASoC: msm: qdsp6v2: allow zero size calibration for LSM"

7 years agoMerge "msm: ipa: return error on channel setup failure"
Linux Build Service Account [Wed, 26 Apr 2017 04:48:45 +0000 (21:48 -0700)]
Merge "msm: ipa: return error on channel setup failure"

7 years agoMerge "msm: rmnet_ipa: fix security issue"
Linux Build Service Account [Wed, 26 Apr 2017 04:48:44 +0000 (21:48 -0700)]
Merge "msm: rmnet_ipa: fix security issue"

7 years agoMerge "defconfig: Enable support for QBT1000 feature"
Linux Build Service Account [Wed, 26 Apr 2017 04:48:43 +0000 (21:48 -0700)]
Merge "defconfig: Enable support for QBT1000 feature"

7 years agoMerge "spcom: always wait for glink LOCAL_DISCONNECT event after glink_close()"
Linux Build Service Account [Wed, 26 Apr 2017 04:48:42 +0000 (21:48 -0700)]
Merge "spcom: always wait for glink LOCAL_DISCONNECT event after glink_close()"

7 years agoMerge "wcnss: fix the race condition issue during cal data extraction"
Linux Build Service Account [Wed, 26 Apr 2017 04:48:41 +0000 (21:48 -0700)]
Merge "wcnss: fix the race condition issue during cal data extraction"