OSDN Git Service
Neeraj Upadhyay [Sat, 18 Feb 2017 08:06:55 +0000 (13:36 +0530)]
ARM: dts: msm: add support for NO jacktype for SDM630
Add device tree files for headset jacktype NO, for CDP
and RCM platforms of SDM630.
Change-Id: I297e6467ed47c51950ae527077c3d20cf738e0b6
Signed-off-by: Neeraj Upadhyay <neeraju@codeaurora.org>
Linux Build Service Account [Fri, 17 Feb 2017 15:33:08 +0000 (07:33 -0800)]
Merge "ARM: dts: msm: move ref-clk from phy to ufs node in sdm660"
Linux Build Service Account [Fri, 17 Feb 2017 15:33:07 +0000 (07:33 -0800)]
Merge "ARM: dts: msm: Add qcom,gpu-limit property for sdm660"
Linux Build Service Account [Fri, 17 Feb 2017 15:33:06 +0000 (07:33 -0800)]
Merge "mm:camera: Do not detach isp node during smmu detach."
Linux Build Service Account [Fri, 17 Feb 2017 15:33:05 +0000 (07:33 -0800)]
Merge "msm: cpp: Call iommu detach in the error scenarios for secure case"
Linux Build Service Account [Fri, 17 Feb 2017 15:33:04 +0000 (07:33 -0800)]
Merge "block: protect iterate_bdevs() against concurrent close"
Linux Build Service Account [Fri, 17 Feb 2017 15:33:04 +0000 (07:33 -0800)]
Merge "drm/msm/sde:: fix optional property parsing for qseed and csc properties"
Linux Build Service Account [Fri, 17 Feb 2017 15:33:03 +0000 (07:33 -0800)]
Merge "tracing: Modify saved_tgids size for change in saved_cmdline_size"
Linux Build Service Account [Fri, 17 Feb 2017 15:33:02 +0000 (07:33 -0800)]
Merge "soc: qcom: ramdump: Remove page alignment during ramdump collection"
Linux Build Service Account [Fri, 17 Feb 2017 15:33:01 +0000 (07:33 -0800)]
Merge "ARM: dts: msm: update correct default OT settings for mdss"
Linux Build Service Account [Fri, 17 Feb 2017 15:33:01 +0000 (07:33 -0800)]
Merge "ARM: dts: msm: Add pmic bring up changes for SDM630 QRD"
Linux Build Service Account [Fri, 17 Feb 2017 15:32:59 +0000 (07:32 -0800)]
Merge "soc: qcom: pil: Allow the MBA memory to be dynamic or a carveout"
Asutosh Das [Thu, 9 Feb 2017 11:32:27 +0000 (17:02 +0530)]
ARM: dts: msm: move ref-clk from phy to ufs node in sdm660
This patch moves the ref-clk node from the phy node
to the ufs node.
This is done so as to turn-off the ref-clk supply when
the link is off.
Change-Id: I17139340f2208b67b9a2d99419ac6ce92c06dbe5
Signed-off-by: Asutosh Das <asutoshd@codeaurora.org>
Rabin Vincent [Thu, 1 Dec 2016 08:18:28 +0000 (09:18 +0100)]
block: protect iterate_bdevs() against concurrent close
commit
af309226db916e2c6e08d3eba3fa5c34225200c4 upstream.
If a block device is closed while iterate_bdevs() is handling it, the
following NULL pointer dereference occurs because bdev->b_disk is NULL
in bdev_get_queue(), which is called from blk_get_backing_dev_info() (in
turn called by the mapping_cap_writeback_dirty() call in
__filemap_fdatawrite_range()):
BUG: unable to handle kernel NULL pointer dereference at
0000000000000508
IP: [<
ffffffff81314790>] blk_get_backing_dev_info+0x10/0x20
PGD
9e62067 PUD
9ee8067 PMD 0
Oops: 0000 [#1] PREEMPT SMP DEBUG_PAGEALLOC
Modules linked in:
CPU: 1 PID: 2422 Comm: sync Not tainted 4.5.0-rc7+ #400
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996)
task:
ffff880009f4d700 ti:
ffff880009f5c000 task.ti:
ffff880009f5c000
RIP: 0010:[<
ffffffff81314790>] [<
ffffffff81314790>] blk_get_backing_dev_info+0x10/0x20
RSP: 0018:
ffff880009f5fe68 EFLAGS:
00010246
RAX:
0000000000000000 RBX:
ffff88000ec17a38 RCX:
ffffffff81a4e940
RDX:
7fffffffffffffff RSI:
0000000000000000 RDI:
ffff88000ec176c0
RBP:
ffff880009f5fe68 R08:
0000000000000000 R09:
0000000000000000
R10:
0000000000000001 R11:
0000000000000000 R12:
ffff88000ec17860
R13:
ffffffff811b25c0 R14:
ffff88000ec178e0 R15:
ffff88000ec17a38
FS:
00007faee505d700(0000) GS:
ffff88000fb00000(0000) knlGS:
0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0:
000000008005003b
CR2:
0000000000000508 CR3:
0000000009e8a000 CR4:
00000000000006e0
Stack:
ffff880009f5feb8 ffffffff8112e7f5 0000000000000000 7fffffffffffffff
0000000000000000 0000000000000000 7fffffffffffffff 0000000000000001
ffff88000ec178e0 ffff88000ec17860 ffff880009f5fec8 ffffffff8112e81f
Call Trace:
[<
ffffffff8112e7f5>] __filemap_fdatawrite_range+0x85/0x90
[<
ffffffff8112e81f>] filemap_fdatawrite+0x1f/0x30
[<
ffffffff811b25d6>] fdatawrite_one_bdev+0x16/0x20
[<
ffffffff811bc402>] iterate_bdevs+0xf2/0x130
[<
ffffffff811b2763>] sys_sync+0x63/0x90
[<
ffffffff815d4272>] entry_SYSCALL_64_fastpath+0x12/0x76
Code: 0f 1f 44 00 00 48 8b 87 f0 00 00 00 55 48 89 e5 <48> 8b 80 08 05 00 00 5d
RIP [<
ffffffff81314790>] blk_get_backing_dev_info+0x10/0x20
RSP <
ffff880009f5fe68>
CR2:
0000000000000508
---[ end trace
2487336ceb3de62d ]---
The crash is easily reproducible by running the following command, if an
msleep(100) is inserted before the call to func() in iterate_devs():
while :; do head -c1 /dev/nullb0; done > /dev/null & while :; do sync; done
Fix it by holding the bd_mutex across the func() call and only calling
func() if the bdev is opened.
Change-Id: I3385298e24d9a6121b7b0e35d4f8be15091f3fb4
Fixes:
5c0d6b60a0ba ("vfs: Create function for iterating over block devices")
Reported-and-tested-by: Wei Fang <fangwei1@huawei.com>
Signed-off-by: Rabin Vincent <rabinv@axis.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Git-commit:
af309226db916e2c6e08d3eba3fa5c34225200c4
Git-repo: git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git
Signed-off-by: Prasad Sodagudi <psodagud@codeaurora.org>
Abhinav Kumar [Tue, 7 Feb 2017 03:56:59 +0000 (19:56 -0800)]
drm/msm/sde:: fix optional property parsing for qseed and csc properties
With commit <
5aad7456b5a5aeea93a437ae46680a97d089fe51> (<drm/msm/sde:
parse csc type dtsi entry to select valid csc>), support for
CSC is added to 8998 target. However this is an optional property for
some targets. Fix the parsing logic to not fail in case of missing
optional properties.
CRs-Fixed:
2002381
Change-Id: Idfe750d3afbd0d88d89ffa873deae130a24b2827
Signed-off-by: Abhinav Kumar <abhinavk@codeaurora.org>
Signed-off-by: Manoj Kumar AVM <manojavm@codeaurora.org>
Linux Build Service Account [Thu, 16 Feb 2017 21:09:28 +0000 (13:09 -0800)]
Merge "drm/msm/sde: signal pending PAGE_FLIP events"
Linux Build Service Account [Thu, 16 Feb 2017 11:05:23 +0000 (03:05 -0800)]
Merge "ARM: dts: msm: update CPU efficiency values for sdm660"
Linux Build Service Account [Thu, 16 Feb 2017 11:05:22 +0000 (03:05 -0800)]
Merge "proc: fix conversion of oom_score_adj to oom_adj"
Linux Build Service Account [Thu, 16 Feb 2017 11:05:21 +0000 (03:05 -0800)]
Merge "USB: gadget: Replace %pK with %pM"
Linux Build Service Account [Thu, 16 Feb 2017 11:05:20 +0000 (03:05 -0800)]
Merge "ARM: dts: msm: Enable support for LPM Errata feature on msm8998"
Linux Build Service Account [Thu, 16 Feb 2017 11:05:19 +0000 (03:05 -0800)]
Merge "uio: fix potential use after free issue when accessing debug_buffer"
Linux Build Service Account [Thu, 16 Feb 2017 11:05:18 +0000 (03:05 -0800)]
Merge "BACKPORT: aio: mark AIO pseudo-fs noexec"
Linux Build Service Account [Thu, 16 Feb 2017 11:05:17 +0000 (03:05 -0800)]
Merge "diag: dci: Initialize the stat variable before using it"
Linux Build Service Account [Thu, 16 Feb 2017 11:05:15 +0000 (03:05 -0800)]
Merge "diag: dci: Send masks information to only supported peripherals"
Linux Build Service Account [Thu, 16 Feb 2017 11:05:14 +0000 (03:05 -0800)]
Merge "drivers: lmh_lite: Invalidate cache after the scm call"
Linux Build Service Account [Thu, 16 Feb 2017 11:05:13 +0000 (03:05 -0800)]
Merge "msm: thermal: Ignore thermal bite for secure device"
Linux Build Service Account [Thu, 16 Feb 2017 11:05:13 +0000 (03:05 -0800)]
Merge "drivers: thermal: Exit sysfs notify kthread when sensor unregisters"
Linux Build Service Account [Thu, 16 Feb 2017 11:05:11 +0000 (03:05 -0800)]
Merge "defconfig: msmcortex: Enable regmap debugfs write"
Linux Build Service Account [Thu, 16 Feb 2017 11:05:10 +0000 (03:05 -0800)]
Merge "regmap: Kconfig: make ALLOW_WRITE_DEBUGFS default unset"
Linux Build Service Account [Thu, 16 Feb 2017 11:05:09 +0000 (03:05 -0800)]
Merge "pinctrl: qcom: Add syscore system suspend/resume"
Linux Build Service Account [Thu, 16 Feb 2017 11:05:08 +0000 (03:05 -0800)]
Merge "power: qpnp-fg: Fix possible race condition in FG debugfs"
Linux Build Service Account [Thu, 16 Feb 2017 11:05:07 +0000 (03:05 -0800)]
Merge "soc: qcom: spcom: fix error handling"
Linux Build Service Account [Thu, 16 Feb 2017 11:05:06 +0000 (03:05 -0800)]
Merge "soc: qcom: spss_utils: fix error handling"
Linux Build Service Account [Thu, 16 Feb 2017 11:05:01 +0000 (03:05 -0800)]
Merge "defconfig: msmcortex: Disable CONFIG_ICNSS_DEBUG"
Linux Build Service Account [Thu, 16 Feb 2017 11:05:00 +0000 (03:05 -0800)]
Merge "soc: qcom: glink_spi_xprt: Add check for SSR during RX polling"
Raviteja Tamatam [Thu, 16 Feb 2017 08:57:07 +0000 (14:27 +0530)]
ARM: dts: msm: update correct default OT settings for mdss
Fix default read and write vbif OT settings for mdss driver
in sdm630 and sdm660.
Change-Id: Ib4ae31359db5770d37210d850fde8bb25c9f965b
Signed-off-by: Raviteja Tamatam <travitej@codeaurora.org>
Yingwei Zhao [Tue, 14 Feb 2017 05:45:33 +0000 (13:45 +0800)]
ARM: dts: msm: Add pmic bring up changes for SDM630 QRD
Add battery configuration, enable volume up key, and add PM660A
configuration for SDM630 QRD device.
CRs-Fixed:
2006325
Change-Id: Ifa87e30ebaced84b18c26041c0f659332266d5ee
Signed-off-by: Yingwei Zhao <cyizhao@codeaurora.org>
Liam Mark [Tue, 22 Apr 2014 00:16:11 +0000 (17:16 -0700)]
proc: fix conversion of oom_score_adj to oom_adj
Ensure that oom_score_adj values are properly converted to
oom_adj values by rounding appropriately.
When there is an attempt to calculate an oom_adj value from its
oom_score_adj value the lack of precision results in an oom_adj
value that is one less than it should be.
For example the oom_adj calculated from oom_score_adj 117 is
calculated as 1.989 (117*17 / 1000), and this is rounded to
1 (and not 2 as it should be).
By properly generating oom_adj values backward compatibility is
better supported.
Change-Id: I7f102cf445e572b8e855a9d6b0cf91e3c438eabf
Signed-off-by: Liam Mark <lmark@codeaurora.org>
Signed-off-by: Vinayak Menon <vinmenon@codeaurora.org>
Sahitya Tummala [Fri, 3 Feb 2017 07:54:19 +0000 (13:24 +0530)]
uio: fix potential use after free issue when accessing debug_buffer
The variable debug_buffer is a global variable which is allocated
and free'd when open/close is called on debugfs file -
"/sys/kernel/debug/rmt_storage/info". The current code doesn't
have locks to handle concurrent accesses to the above file.
This results into use after free issue when debug_buffer is
accessed by two threads at the same time. Fix this by adding
a mutex lock to protect this global variable.
Change-Id: I6bc3f0ae2d7fca3ca9fe8561612f5863b6c3268a
Signed-off-by: Sahitya Tummala <stummala@codeaurora.org>
Hemant Kumar [Thu, 9 Feb 2017 02:32:30 +0000 (18:32 -0800)]
ARM: dts: msm: Enable support for LPM Errata feature on msm8998
LPM Errata feature is enabled on dwc3 controller which has
DWC3_REVISION_300A.
Change-Id: Icec177f2bcb4ebc335e5c71550d6ce2f933c1619
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
Satya Durga Srinivasu Prabhala [Tue, 14 Feb 2017 23:28:51 +0000 (15:28 -0800)]
soc: qcom: ramdump: Remove page alignment during ramdump collection
Due to page alignment, memory size is exceeding and SMMU fault is
observed while collecting ramdumps for ADSP subsystem.
Change-Id: Ibadedcbac4eb83382d913e893722967e86775ea0
Signed-off-by: Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
Linux Build Service Account [Thu, 16 Feb 2017 01:01:39 +0000 (17:01 -0800)]
Merge "msm: mdss: fix Display Port boot-up with default resolution"
Linux Build Service Account [Thu, 16 Feb 2017 01:01:38 +0000 (17:01 -0800)]
Merge "msm: mdss: dp: add support to parse maximum PCLK from dtsi for display port"
Linux Build Service Account [Thu, 16 Feb 2017 01:01:37 +0000 (17:01 -0800)]
Merge "msm: mdss: Add HDR Metadata Interface"
Linux Build Service Account [Thu, 16 Feb 2017 01:01:36 +0000 (17:01 -0800)]
Merge "msm: mdss: mask DSI FIFO overflow errors during BTA operation"
Linux Build Service Account [Thu, 16 Feb 2017 01:01:35 +0000 (17:01 -0800)]
Merge "msm: sde: Disable client driven prefetch for rotator"
Linux Build Service Account [Thu, 16 Feb 2017 01:01:34 +0000 (17:01 -0800)]
Merge "qos: Add NULL checking for irq descriptor"
Linux Build Service Account [Thu, 16 Feb 2017 01:01:33 +0000 (17:01 -0800)]
Merge "soc: qcom: fingerprint: keep QSEE handle in kernel space"
Linux Build Service Account [Thu, 16 Feb 2017 01:01:32 +0000 (17:01 -0800)]
Merge "defconfig: msm: new flag for mediabox specific demux changes"
Linux Build Service Account [Thu, 16 Feb 2017 01:01:31 +0000 (17:01 -0800)]
Merge "media: platform: msm: Add demux support for mediabox"
Linux Build Service Account [Thu, 16 Feb 2017 01:01:30 +0000 (17:01 -0800)]
Merge "leds: qpnp-flash: Fix possible race condition in debugfs"
Linux Build Service Account [Thu, 16 Feb 2017 01:01:29 +0000 (17:01 -0800)]
Merge "fuse: fix use after free issue in fuse_dev_do_read()"
Linux Build Service Account [Thu, 16 Feb 2017 01:01:28 +0000 (17:01 -0800)]
Merge "USB: phy-msm-qusb: Fix race conditions during fast PI/PO"
Linux Build Service Account [Thu, 16 Feb 2017 01:01:28 +0000 (17:01 -0800)]
Merge "core_ctl: redo offline_delay_ms tunable implementation"
Linux Build Service Account [Thu, 16 Feb 2017 01:01:25 +0000 (17:01 -0800)]
Merge "sched: don't assume higher capacity means higher power in tick migration"
Linux Build Service Account [Thu, 16 Feb 2017 01:01:25 +0000 (17:01 -0800)]
Merge "ARM: dts: msm: add support of devfreq and cpufreq on SDM630"
Linux Build Service Account [Thu, 16 Feb 2017 01:01:24 +0000 (17:01 -0800)]
Merge "USB: u_data_ipa: Fix NULL pointer dereference before starting RX/TX"
Linux Build Service Account [Thu, 16 Feb 2017 01:01:18 +0000 (17:01 -0800)]
Merge "defconfig: sdm660: enable video for 32bit"
Linux Build Service Account [Thu, 16 Feb 2017 01:01:17 +0000 (17:01 -0800)]
Merge "msm: vidc: Enable port reconfig for thumbnail session"
Linux Build Service Account [Thu, 16 Feb 2017 01:01:16 +0000 (17:01 -0800)]
Merge "qseecom: add new SCM ID to register listener when smcinvoke is supported"
Linux Build Service Account [Thu, 16 Feb 2017 01:01:15 +0000 (17:01 -0800)]
Merge "qcom: smb-lib: expose fcc value change in batt psy"
Linux Build Service Account [Thu, 16 Feb 2017 01:01:13 +0000 (17:01 -0800)]
Merge "msm: ipa3: UL event based completion"
Linux Build Service Account [Thu, 16 Feb 2017 01:01:12 +0000 (17:01 -0800)]
Merge "iommu: dma-mapping: alloc bitmap while fragmented"
Linux Build Service Account [Thu, 16 Feb 2017 01:01:11 +0000 (17:01 -0800)]
Merge "smb138x-charger: Fix max conn temp config"
Linux Build Service Account [Thu, 16 Feb 2017 01:01:10 +0000 (17:01 -0800)]
Merge "iommu/io-pgtable-fast: alloc pgtable while fragmented"
Linux Build Service Account [Thu, 16 Feb 2017 01:01:09 +0000 (17:01 -0800)]
Merge "msm: mdss: Handle ping pong split configuration in splash done"
Linux Build Service Account [Thu, 16 Feb 2017 01:01:08 +0000 (17:01 -0800)]
Merge "msm: mdss: Add mdss capabilities for sdm630"
Linux Build Service Account [Thu, 16 Feb 2017 01:01:08 +0000 (17:01 -0800)]
Merge "ARM: dts: msm: fix wb qos for msm8998"
Linux Build Service Account [Thu, 16 Feb 2017 01:01:07 +0000 (17:01 -0800)]
Merge "msm: mdss: avoid overflow in mdp clock rate calculation for rotator"
Linux Build Service Account [Thu, 16 Feb 2017 01:01:06 +0000 (17:01 -0800)]
Merge "smb-lib: fix icl changed interrupt storm"
Linux Build Service Account [Thu, 16 Feb 2017 01:01:05 +0000 (17:01 -0800)]
Merge "msm: sde: Correct bandwidth for TP10 and P010 in SDE rotator"
Linux Build Service Account [Thu, 16 Feb 2017 01:01:03 +0000 (17:01 -0800)]
Merge "ARM: dts: msm: update sdm660 rotator xin id values"
Linux Build Service Account [Thu, 16 Feb 2017 01:01:03 +0000 (17:01 -0800)]
Merge "msm: sde: Ensure mdp splash cleanup before initiating rotation request"
Linux Build Service Account [Thu, 16 Feb 2017 01:01:02 +0000 (17:01 -0800)]
Merge "scsi: ufs: handle LINERESET error only during hibern8 enter"
Linux Build Service Account [Thu, 16 Feb 2017 01:01:01 +0000 (17:01 -0800)]
Merge "qcom: smb-lib: enable parallel charging for SDP/CDP/OCP/FLOAT adapter"
Linux Build Service Account [Thu, 16 Feb 2017 01:01:00 +0000 (17:01 -0800)]
Merge "spi: spi_qsd: Set DMA mask for SPI device"
Linux Build Service Account [Thu, 16 Feb 2017 01:00:59 +0000 (17:00 -0800)]
Merge "scsi: ufs: renable AH8 timer on reset"
Linux Build Service Account [Thu, 16 Feb 2017 01:00:58 +0000 (17:00 -0800)]
Merge "clk: qcom: Add support to log PLL/RCGR values in case of failure"
Linux Build Service Account [Thu, 16 Feb 2017 01:00:57 +0000 (17:00 -0800)]
Merge "ARM: dts: msm: Move sdcc and ufs ice nodes"
Linux Build Service Account [Thu, 16 Feb 2017 01:00:56 +0000 (17:00 -0800)]
Merge "rpm-rail-stats: Add support to read RPM rail stats"
Linux Build Service Account [Thu, 16 Feb 2017 01:00:56 +0000 (17:00 -0800)]
Merge "input: touchpanel: Add ST Touchscreen version 4.1.0 driver"
Linux Build Service Account [Thu, 16 Feb 2017 01:00:53 +0000 (17:00 -0800)]
Merge "input: touchscreen: gt9xx: fix memory corruption in Goodix driver"
Linux Build Service Account [Thu, 16 Feb 2017 01:00:53 +0000 (17:00 -0800)]
Merge "ARM: dts: msm: Disable home key for SDM660 QRD"
Linux Build Service Account [Thu, 16 Feb 2017 01:00:52 +0000 (17:00 -0800)]
Merge "ath10k: Remove redundant code from snoc layer"
Linux Build Service Account [Thu, 16 Feb 2017 01:00:51 +0000 (17:00 -0800)]
Merge "ARM: dts: msm: Config sdm660 CPR controllers to use default step_quot"
Puja Gupta [Wed, 4 May 2016 19:03:31 +0000 (12:03 -0700)]
soc: qcom: pil: Allow the MBA memory to be dynamic or a carveout
Currently, the MBA is expected to be loadable at any
region in DDR. However, due to limitations in the modem
PBL or MBA image, this is not always possible. Allow
the modem to be loaded in a carved out CMA heap if specified
in device tree. Current memory APIs do not allow the association
of more than one memory region with a device; therefore
allow the existence of an optional sub-device node that
will contain the memory region property for the MBA.
CRs-Fixed:
2006100
Change-Id: Ia2b52be55f0b3f23278e1f71106fdb46de1d0fe1
Signed-off-by: Vikram Mulukutla <markivx@codeaurora.org>
Signed-off-by: Puja Gupta <pujag@codeaurora.org>
Sreelakshmi Gownipalli [Mon, 13 Feb 2017 21:51:12 +0000 (13:51 -0800)]
diag: dci: Initialize the stat variable before using it
Initialize the stat variable before using it while sending
notification to dci client.
Change-Id: Ie5f98d0f45a797f4f122d8c4e2bae1a92bf4e7c9
Signed-off-by: Sreelakshmi Gownipalli <sgownipa@codeaurora.org>
Omprakash Dhyade [Wed, 15 Feb 2017 12:30:15 +0000 (04:30 -0800)]
tracing: Modify saved_tgids size for change in saved_cmdline_size
saved_tgids is fixed size array but uses index upto
savedcmd->cmdline_num. savedcmd->cmdline_num can change
with modification to saved_cmdlines_size node. Fix
this indexing by making saved_tgid part of savedcmd
and modify it's size with changes to saved_cmdline_size.
Change-Id: Ia493f99a3d86d4624414e7605037a1cad35473a9
Signed-off-by: Omprakash Dhyade <odhyade@codeaurora.org>
Ram Chandrasekar [Tue, 14 Feb 2017 17:39:21 +0000 (10:39 -0700)]
drivers: lmh_lite: Invalidate cache after the scm call
LMH driver passes a buffer to TZ for fetching information. The driver
flushes the memory before passing the buffer to TZ. Though the flush
call will clean and invalidate the cache line, it is recommended to
invalidate the cache after the scam call.
Update the LMH driver to invalidate the payload buffer after the scm
call returns.
Change-Id: I4b599f4d1e8bf174ece5503fc4ff204dcb57b423
Signed-off-by: Ram Chandrasekar <rkumbako@codeaurora.org>
Ram Chandrasekar [Fri, 10 Feb 2017 22:14:50 +0000 (15:14 -0700)]
msm: thermal: Ignore thermal bite for secure device
KTM triggers a secure watchdog bite, when temperature reaches very high
threshold. In the secure device this call is not supported.
Avoid triggering the watchdog bite, on a secure device. This bite is
triggered in KTM for debug purpose to save the software state.
In the latest hardware, the tsens controller is capable of initiating a
hardware reset after saving the software state. So this feature is used
only to print the tsens ID which crossed the very high threshold.
Change-Id: Iacef4b64e16f9c2d9789d8faba474429dfcecd4e
Signed-off-by: Ram Chandrasekar <rkumbako@codeaurora.org>
Ram Chandrasekar [Fri, 10 Feb 2017 21:58:30 +0000 (14:58 -0700)]
drivers: thermal: Exit sysfs notify kthread when sensor unregisters
When a thermal zone unregisters, it initiates a blocking call
kthread_stop for the sysfs notify kthread to exit. But the sysfs notify
kthread is blocked on a completion event, which may not be triggered after
the sensor driver initiates a thermal zone unregister call. So, the
kthread_stop will be blocked forever.
As a part of thermal zone unregister, set a thermal zone unregister flag
and send a completion event before calling kthread_stop. Make the sysfs
notify kthread to be aware of thermal zone unregister flag and exit
after the completion event is triggered.
Change-Id: Icf045e0ad6e28135cd3a54c15d9923f095a286ff
Signed-off-by: Ram Chandrasekar <rkumbako@codeaurora.org>
Prasad Sodagudi [Fri, 1 Jul 2016 08:42:20 +0000 (14:12 +0530)]
pinctrl: qcom: Add syscore system suspend/resume
Add syscore system suspend and resume handlers,
to print gpio interrupts status during device resume.
Change-Id: I7c574d2e44a7e318ac9ef89063d2081bf63c09b6
Signed-off-by: Prasad Sodagudi <psodagud@codeaurora.org>
Fenglin Wu [Wed, 15 Feb 2017 15:54:08 +0000 (23:54 +0800)]
defconfig: msmcortex: Enable regmap debugfs write
Add CONFIG_REGMAP_ALLOW_DEBUGFS_WRITE to enable regmap debugfs write in
msmcortex_defconfig.
CRs-Fixed:
1103178
Change-Id: Ifa17f4799d873b4e9e0f3799350ccf38a90ebbc2
Signed-off-by: Fenglin Wu <fenglinw@codeaurora.org>
Fenglin Wu [Wed, 15 Feb 2017 15:44:33 +0000 (23:44 +0800)]
regmap: Kconfig: make ALLOW_WRITE_DEBUGFS default unset
Set REGMAP_ALLOW_WRITE_DEBUGFS default to n to disable regmap debug
write by default.
Rs-Fixed:
1103178
Change-Id: I8e89530b5a1b46dce64455244f20cd7aded84b24
Signed-off-by: Fenglin Wu <fenglinw@codeaurora.org>
Linux Build Service Account [Wed, 15 Feb 2017 14:11:41 +0000 (06:11 -0800)]
Merge "clk: qcom: Clean up the MSM8996 multimedia clock controller (MMCC) driver"
Linux Build Service Account [Wed, 15 Feb 2017 14:11:41 +0000 (06:11 -0800)]
Merge "ath10k: Refactor htt rx descriptor and remove last msdu check for WCN3990"
Linux Build Service Account [Wed, 15 Feb 2017 14:11:40 +0000 (06:11 -0800)]
Merge "ARM: dts: msm: configure interrupt types for charger for pmi8998"
Linux Build Service Account [Wed, 15 Feb 2017 14:11:39 +0000 (06:11 -0800)]
Merge "ASoC: msm: qdsp6v2: Add initialization and range check in q6afe"
Linux Build Service Account [Wed, 15 Feb 2017 14:11:38 +0000 (06:11 -0800)]
Merge "ASoC: wcd934x: Do not prevent the core entering power collapse"
Linux Build Service Account [Wed, 15 Feb 2017 14:11:38 +0000 (06:11 -0800)]
Merge "ASoC: msm: qdsp6v2: NOIRQ dynamic perf mode control"