OSDN Git Service
Linux Build Service Account [Sat, 1 Apr 2017 04:24:21 +0000 (21:24 -0700)]
Merge "net: ipv6: Add early demux handler for UDP unicast"
Linux Build Service Account [Sat, 1 Apr 2017 04:24:21 +0000 (21:24 -0700)]
Merge "drm/msm: Add performance counter tracking"
Linux Build Service Account [Sat, 1 Apr 2017 04:24:20 +0000 (21:24 -0700)]
Merge "icnss: Separate debug and verbose log"
Linux Build Service Account [Sat, 1 Apr 2017 04:24:19 +0000 (21:24 -0700)]
Merge "msm: qpnp-haptic: Enable HW auto-resonance for PM660"
Linux Build Service Account [Sat, 1 Apr 2017 04:24:18 +0000 (21:24 -0700)]
Merge "msm_11ad: 11AD SMMU changes to allow enabling of SMMU stage1"
Linux Build Service Account [Sat, 1 Apr 2017 04:24:17 +0000 (21:24 -0700)]
Merge "msm: media: Allocate extra memory after alignment"
Linux Build Service Account [Sat, 1 Apr 2017 04:24:17 +0000 (21:24 -0700)]
Merge "soc: qcom: spcom: lock ion buf, decrement ref count if no free entry"
Linux Build Service Account [Sat, 1 Apr 2017 04:24:16 +0000 (21:24 -0700)]
Merge "diag: Add support for header untagging"
Linux Build Service Account [Sat, 1 Apr 2017 04:24:15 +0000 (21:24 -0700)]
Merge "ASoC: codecs: Correct stream name, add dapm sync"
Linux Build Service Account [Sat, 1 Apr 2017 04:24:14 +0000 (21:24 -0700)]
Merge "drivers: soc: Add mutex lock in audio_notifier_late_init"
Linux Build Service Account [Thu, 30 Mar 2017 22:31:40 +0000 (15:31 -0700)]
Merge "drm/msm: Remove ringbuffer restriction from idle"
Linux Build Service Account [Thu, 30 Mar 2017 22:31:39 +0000 (15:31 -0700)]
Merge "drm/msm: Update registers for performance counters"
Linux Build Service Account [Thu, 30 Mar 2017 22:31:38 +0000 (15:31 -0700)]
Merge "ARM: dts: msm: Update QoS priority for pimem bus master for sdm660"
Linux Build Service Account [Thu, 30 Mar 2017 22:31:38 +0000 (15:31 -0700)]
Merge "msm_serial_hs: Change GPIO config sequence during runtime resume/suspend"
Linux Build Service Account [Thu, 30 Mar 2017 22:31:35 +0000 (15:31 -0700)]
Merge "msm: sde: Protect concurrent access to resources in SDE rotator"
Linux Build Service Account [Thu, 30 Mar 2017 22:31:34 +0000 (15:31 -0700)]
Merge "msm-4.4: driver to create cld80211 nl family at bootup time"
Linux Build Service Account [Thu, 30 Mar 2017 22:31:33 +0000 (15:31 -0700)]
Merge "wil6210: do not start regular scan on stopped p2p device"
Linux Build Service Account [Thu, 30 Mar 2017 22:31:32 +0000 (15:31 -0700)]
Merge "msm: ipa: Fix to reset the sticky_rear flag"
Linux Build Service Account [Thu, 30 Mar 2017 22:31:29 +0000 (15:31 -0700)]
Merge "usb: gadget: mtp: reset string descriptor's index with unbind"
Linux Build Service Account [Thu, 30 Mar 2017 22:31:28 +0000 (15:31 -0700)]
Merge "esoc: Fix user space corruption due to wrong data type"
Linux Build Service Account [Thu, 30 Mar 2017 22:31:27 +0000 (15:31 -0700)]
Merge "qseecom: fix macro QSEECOM_ALIGN definition issue"
Linux Build Service Account [Thu, 30 Mar 2017 22:31:26 +0000 (15:31 -0700)]
Merge "qcom: qnovo: Disable ok_to_qnovo right after charging stops"
Linux Build Service Account [Thu, 30 Mar 2017 22:31:24 +0000 (15:31 -0700)]
Merge "qcom: smb138x-charger: support two usb input properties"
Linux Build Service Account [Thu, 30 Mar 2017 22:31:23 +0000 (15:31 -0700)]
Merge "qcom: smblib: supsend USB input during boost"
Linux Build Service Account [Thu, 30 Mar 2017 22:31:22 +0000 (15:31 -0700)]
Merge "ARM: dts: msm: Specify smb138x vbus regulator for USBIN-USBIN"
Linux Build Service Account [Thu, 30 Mar 2017 22:31:21 +0000 (15:31 -0700)]
Merge "msm: hdmi: edid: fix parsing of 4K resolution from DTD"
Linux Build Service Account [Thu, 30 Mar 2017 22:31:20 +0000 (15:31 -0700)]
Merge "ARM: dts: msm: Correct primary camera mount angle on SDM660"
Linux Build Service Account [Thu, 30 Mar 2017 14:20:58 +0000 (07:20 -0700)]
Merge "soc: qcom: fix to avoid multiple memory allocations"
Linux Build Service Account [Thu, 30 Mar 2017 14:20:53 +0000 (07:20 -0700)]
Merge "input: touchpanel: Add ST Touchscreen version 4.1.0 driver"
Linux Build Service Account [Thu, 30 Mar 2017 14:20:49 +0000 (07:20 -0700)]
Merge "mmc: host: sdhci-msm: Skip reading GENERICS register in check_pwr_status"
Linux Build Service Account [Thu, 30 Mar 2017 14:20:46 +0000 (07:20 -0700)]
Merge "wil6210: fix memory access violation in wil_memcpy_from/toio_32"
Linux Build Service Account [Thu, 30 Mar 2017 14:20:43 +0000 (07:20 -0700)]
Merge "fs: fat: ratelimit the IO errors"
Linux Build Service Account [Thu, 30 Mar 2017 14:20:37 +0000 (07:20 -0700)]
Merge "power: qpnp-fg-gen3: Whitelist the values in profile integrity word"
Linux Build Service Account [Thu, 30 Mar 2017 14:20:35 +0000 (07:20 -0700)]
Merge "diag: Fix race condition while accessing mdlog session info"
Linux Build Service Account [Thu, 30 Mar 2017 14:20:31 +0000 (07:20 -0700)]
Merge "soc: qcom: glink_ssr: Add kref for cb_data"
Linux Build Service Account [Thu, 30 Mar 2017 14:20:28 +0000 (07:20 -0700)]
Merge "msm: pcie: add sysfs entry for PCIe enumeration"
Linux Build Service Account [Thu, 30 Mar 2017 14:20:25 +0000 (07:20 -0700)]
Merge "input: touchscreen: synaptics_dsx: Remove fw_update sysfs entries"
Linux Build Service Account [Thu, 30 Mar 2017 14:20:22 +0000 (07:20 -0700)]
Merge "mmc: sdhci-msm: Change pm_qos cpu groups latency to PM_QOS_DEFAULT_VALUE"
Linux Build Service Account [Thu, 30 Mar 2017 14:20:20 +0000 (07:20 -0700)]
Merge "ARM: dts: msm: enable display for SDM630 PM660A QRD"
Linux Build Service Account [Thu, 30 Mar 2017 14:20:17 +0000 (07:20 -0700)]
Merge "ASoC: sdm660-cdc: Change val_bits to 8 from 32 in digital cdc regmap"
Odelu Kukatla [Thu, 23 Mar 2017 04:43:09 +0000 (10:13 +0530)]
ARM: dts: msm: Update QoS priority for pimem bus master for sdm660
pimem bus master is starving for data from ddr and time out is
observed with QoS priority set to 0, so increase the QoS priority
for pimem bus master to 1.
Change-Id: Ie90d0a41953e03d8cba9843fd8fb4f7dc511a62d
Signed-off-by: Odelu Kukatla <okukatla@codeaurora.org>
Mukesh Kumar Savaliya [Sun, 12 Mar 2017 07:19:31 +0000 (12:49 +0530)]
msm_serial_hs: Change GPIO config sequence during runtime resume/suspend
In runtime resume scenarios we first enable the HW resources, clocks and
then set the gpio to UART functionalities. When GPIOS are changing the
state RX line samples as zero resulting in RX Break detection. This stops
data coming from BT SOC sending to the BT host causing failures.
Modify the GPIO config sequence such that GPIO functionalities changed
only when resources like Clocks are OFF.
Change-Id: Iaf3b7c7a66dd83fc631e4a779a804ef98836e00b
Signed-off-by: Mukesh Kumar Savaliya <msavaliy@codeaurora.org>
chenx [Tue, 21 Mar 2017 13:11:25 +0000 (21:11 +0800)]
input: touchpanel: Add ST Touchscreen version 4.1.0 driver
This is the reference driver source code for ST
Touchscreen of version 4.1.0. It is used for QVR8998
touchscreen.
(cherry picked from commit
2cd09314337d614e69d0ebd99afb71d99d31b69a)
Signed-off-by: chenx <chenxiang0527@thundersoft.com>
Git-commit:
2cd09314337d614e69d0ebd99afb71d99d31b69a
Git-repo: https://source.codeaurora.org/quic/la/kernel/msm-3.10
CRs-Fixed:
1106217
Change-Id: I5c26deaa3943ff300ce9835678bb4a550e40f096
Signed-off-by: Jin Fu <jinf@codeaurora.org>
Utkarsh Saxena [Tue, 28 Mar 2017 17:21:46 +0000 (22:51 +0530)]
msm: ipa: Fix to reset the sticky_rear flag
When hotspot tethering is toggled quickly
WLAN_AP_CONNECT is received even before all
the filter rules are cleaned up for the previous
DISCONNECT. As the sticky_rear is set, default
rule is not added at the end. Make a change to
reset sticky_rear when default rules are deleted.
Change-Id: I8b63fec360e91ddd5f5267fe74c769547bb5bbfe
Acked-by: Chaitanya Pratapa <cpratapa@qti.qualcomm.com>
Signed-off-by: Utkarsh Saxena <usaxena@codeaurora.org>
Dedy Lansky [Tue, 28 Mar 2017 18:25:42 +0000 (21:25 +0300)]
wil6210: fix memory access violation in wil_memcpy_from/toio_32
In case count is not multiple of 4, there is a read access in
wil_memcpy_toio_32() from outside src buffer boundary.
In wil_memcpy_fromio_32(), in case count is not multiple of 4, there
is a write access to outside dst io memory boundary.
Fix these issues with proper handling of the last 1 to 4 copied bytes.
Change-Id: Iff7853bc4803a01449ddcee996a54a0dccc1db1a
Signed-off-by: Dedy Lansky <dlansky@codeaurora.org>
Andrew Chant [Fri, 10 Mar 2017 06:47:47 +0000 (12:17 +0530)]
input: touchscreen: synaptics_dsx: Remove fw_update sysfs entries
Remove the sysfs entrypoints to fw_update of synaptics_dsx
touch driver.
BUG:
32769717
Change-Id: I1b2ea28e6a8c5c6c583077fbc6801ebb17447a38
Git-commit:
2615c5f302441568e6dd20007bc5246d72837e80
Git-repo: https://android.googlesource.com/kernel/msm.git
Signed-off-by: Andrew Chant <achant@google.com>
Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
Veerabhadrarao Badiganti [Mon, 27 Mar 2017 17:16:20 +0000 (22:46 +0530)]
mmc: host: sdhci-msm: Skip reading GENERICS register in check_pwr_status
Skip checking the SWITCHABLE_SIGNALING_VOLTAGE bit of MCI_GENERICS
register while checking power status on SDHC v5.0 onwards.
This bit shows whether controller supports switching of IO signaling
voltage or not. On SDHC v5.0, switchable signaling voltage support
is present by default and this bit was removed. So we can skip checking
this bit in case of v5.0 controller.
Without this patch, driver tries to read a non-existing bit field which is
causing driver to proceed without waiting for pwr-irq. In some case its
turning off the clock even before pwr irq finishes thus resulting in
un-clocked access errors.
Change-Id: I5beaf5bf043999522e3f2ec537568524c5aec4bf
Signed-off-by: Veerabhadrarao Badiganti <vbadigan@codeaurora.org>
Sahitya Tummala [Tue, 28 Mar 2017 08:19:34 +0000 (13:49 +0530)]
fs: fat: ratelimit the IO errors
In case the application is still issuing the requests after
the low-level driver is shutdown, IO errors are expected.
Ratelimit those errors with the default ratelimit to avoid
watchdog bark issue in some cases.
Change-Id: Ida436cbf1be9556f456652e72bc1dac508abd047
Signed-off-by: Sahitya Tummala <stummala@codeaurora.org>
Subbaraman Narayanamurthy [Mon, 20 Mar 2017 21:37:54 +0000 (14:37 -0700)]
power: qpnp-fg-gen3: Whitelist the values in profile integrity word
While checking the profile integrity word to determine whether a
profile load is required or not, whitelist the values so that
profile loading cannot be skipped because of a garbage value
present.
Change-Id: Iff1d116541d07dbb39de966d98fa69b76aeab93d
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
Subbaraman Narayanamurthy [Wed, 15 Mar 2017 19:47:00 +0000 (12:47 -0700)]
power: qpnp-fg-gen3: Use votable for controlling delta_bsoc irq
Instead of using a flag to retain the interrupt enabled status
of delta_bsoc interrupt, switch it to use a votable instead. This
improves the readability of code by not worrying about the flag.
While at it, fix cleaning up the resources in some error paths
during driver probe.
Change-Id: I2c17a9d90c7b549435caa75da81f4c4779ea3344
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
Tony Truong [Tue, 28 Feb 2017 02:30:13 +0000 (18:30 -0800)]
msm: pcie: add sysfs entry for PCIe enumeration
Create a sysfs entry for each RC (root complex) so
that clients can manually trigger enumeration from
userspace.
Change-Id: I88b1276d95a2a894759a2f122621e10e171d6528
Signed-off-by: Tony Truong <truong@codeaurora.org>
Arun KS [Tue, 7 Feb 2017 13:11:25 +0000 (18:41 +0530)]
esoc: Fix user space corruption due to wrong data type
ESOC IOCTL was designed to transfer data of type unsigned int, but
was pushing data of unsigned long type. Hence causing data corruption
in user space. Fix this by changing put user to use unsigned int.
Change-Id: Ia233eedd76f1ca1ec3036889d6764e568ee975dd
Signed-off-by: Arun KS <arunks@codeaurora.org>
Mayank Rana [Tue, 28 Mar 2017 22:17:03 +0000 (15:17 -0700)]
usb: gadget: mtp: reset string descriptor's index with unbind
When USB host is re-enumerating USB MTP device multiple time, it
has been observed that USB MTP enumeration fails. USB MTP host
side environment (i.e. libmtp) is looking for USB MTP device to
pass string descriptor as "MTP" for successful enumeration. Due
to iInterface ID conflict, USB device is passing next interface
related string descriptor instead of USB MTP interface related
string descriptor. This results into no enumeration with USB MTP
configuration. Fix this issue by resetting mtp_string_defs string
descriptor id to zero, so next mtp_function_bind() call re-allocates
string ID.
CRs-Fixed:
2024744
Change-Id: Iad290ad480ccf23bd514a67128541d7ff67de1a5
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
Subash Abhinov Kasiviswanathan [Thu, 23 Mar 2017 03:50:49 +0000 (21:50 -0600)]
net: ipv6: Add early demux handler for UDP unicast
While running a single stream UDPv6 test, we observed that amount
of CPU spent in NET_RX softirq was much greater than UDPv4 for an
equivalent receive rate. The test here was run on an ARM64 based
Android system. On further analysis with perf, we found that UDPv6
was spending significant time in the statistics netfilter targets
which did socket lookup per packet. These statistics rules perform
a lookup when there is no socket associated with the skb. Since
there are multiple instances of these rules based on UID, there
will be equal number of lookups per skb.
By introducing early demux for UDPv6, we avoid the redundant lookups.
This also helped to improve the performance (800Mbps -> 870Mbps) on a
CPU limited system in a single stream UDPv6 receive test with 1450
byte sized datagrams using iperf.
v1->v2: Use IPv6 cookie to validate dst instead of 0 as suggested
by Eric
CRs-Fixed:
1114946
Change-Id: I2a59058656863c2e20629fe30fbbe3847319f439
Git-commit:
5425077d73e0c8e7e9267ca8397cc0e2293c1fb9
Git-repo: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
Signed-off-by: Subash Abhinov Kasiviswanathan <subashab@codeaurora.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Harry Yang [Fri, 24 Mar 2017 06:43:53 +0000 (23:43 -0700)]
qcom: qnovo: Disable ok_to_qnovo right after charging stops
Disable ok_to_qnovo immediately after charging is disabled while pulse
train is in progress. The flag property ok_to_qnovo indicates qnovno
charging readiness, A delay in doing so could make a normal charging
stop mistakenly treated as an error.
Change-Id: If0c43a4e05b2e0f8cc0ce9a9edca15f466c7fbff
Signed-off-by: Harry Yang <harryy@codeaurora.org>
Harry Yang [Fri, 24 Mar 2017 00:34:46 +0000 (17:34 -0700)]
qcom: smb138x-charger: support two usb input properties
POWER_SUPPLY_PROP_INPUT_CURRENT_LIMITED - indicate if the switcher
is acting in input limited state.
POWER_SUPPLY_PROP_CURRENT_MAX - set/get usb input current limit in
parallel charger.
Change-Id: I3827735a3900680e3e79104e388c2712f12cbbfb
Signed-off-by: Harry Yang <harryy@codeaurora.org>
Harry Yang [Thu, 23 Mar 2017 05:45:25 +0000 (22:45 -0700)]
qcom: smblib: supsend USB input during boost
In parallel configuration, suspend one charger usb input before the
other enters boost mode. Even more so in USBIN-USBIN mode.
Change-Id: I63728421b7697e70bbd83c4c82203b7ebafdaa9f
Signed-off-by: Harry Yang <harryy@codeaurora.org>
Harry Yang [Wed, 15 Mar 2017 21:40:46 +0000 (14:40 -0700)]
ARM: dts: msm: Specify smb138x vbus regulator for USBIN-USBIN
Expose vbus regulator from smb138x in USBIN-USBIN parallel mode.
Change-Id: I3581cbc7ffade0d25363038c25e40e35bd4fce28
Signed-off-by: Harry Yang <harryy@codeaurora.org>
Abhijeet Dharmapurikar [Thu, 23 Mar 2017 18:25:11 +0000 (11:25 -0700)]
pmic-voter: bump up from 8 clients to 16
The current code only supports 8 clients max. There are
situations where we will need more than that.
Bump it up to 16.
Change-Id: I7a32f67b3a4579ec79eb4f0e2a971a1a3a29a7c1
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
Linux Build Service Account [Wed, 29 Mar 2017 21:30:49 +0000 (14:30 -0700)]
Merge "msm: isp: Fix stream off failure in LPM"
Linux Build Service Account [Wed, 29 Mar 2017 21:30:47 +0000 (14:30 -0700)]
Merge "qcom: smb2: Disable parallel charging on qnovo charging below 2A"
Linux Build Service Account [Wed, 29 Mar 2017 21:30:44 +0000 (14:30 -0700)]
Merge "qpnp-fg-gen3: use IMA single mode for pm660 fuel gauge"
Linux Build Service Account [Wed, 29 Mar 2017 21:30:43 +0000 (14:30 -0700)]
Merge "usb: phy: qmp: Select usb3 phy mode during PHY reset"
Linux Build Service Account [Wed, 29 Mar 2017 21:30:42 +0000 (14:30 -0700)]
Merge "msm: ispif: fix a bug in checking the validity of vfe intf"
Aravind Venkateswaran [Wed, 15 Mar 2017 22:23:26 +0000 (15:23 -0700)]
msm: hdmi: edid: fix parsing of 4K resolution from DTD
Detailed Timing Descriptors (DTDs) listed in the EDID data contain
the information about the horizontal addressable video pixels for
each resolution. The maximum value that can be specified for this
field is 4095. In certain instances, a sink may list a resolution
with 4096 horizontal addressable video pixels in the DTD by listing
a value of 4095. If this value is parsed as is, it can lead to
incorrect behavior. Fix this by explicitly updating the value to
4096.
CRs-Fixed:
2020154
Change-Id: I035bbef7d245c7cdd75a5bba8719fcca4592d8b7
Signed-off-by: Aravind Venkateswaran <aravindh@codeaurora.org>
Zhen Kong [Sat, 6 Feb 2016 01:46:40 +0000 (17:46 -0800)]
qseecom: fix macro QSEECOM_ALIGN definition issue
In macro QSEECOM_ALIGN, change (x + QSEECOM_ALIGN_SIZE) to
(x + QSEECOM_ALIGN_MASK); otherwise, when x is already aligned,
QSEECOM_ALIGN(x) will get (x + QSEECOM_ALIGN_SIZE), but it should
be x. Also, remove the dulplicate QSEECOM_ALIGN definition
in hdcp.c and mpq_sdmx.c, since they already include
"qseecom_kernel.h"
Change-Id: I9dbcadb618372fce71c2ff7ab62ca691afe7c7fa
Signed-off-by: Zhen Kong <zkong@codeaurora.org>
Jordan Crouse [Wed, 29 Mar 2017 13:59:56 +0000 (07:59 -0600)]
drm/msm: Add performance counter tracking
Adreno GPUs have a certain number of fixed performance counters
most of which can be programmed to a large number of different
items (countables). A centralized database in the kernel is
needed to make the most efficient use of counters across processes.
Add performance counter tracking and APIs to allow applications to
reserve performance counters by requesting a group ID and a countable
(countables differ from block to block). The kernel will check to
see if an active counter is already selected for that countable or
if a new one should be assigned. Different processes can share the
same counter if they both need the same countable.
Counters are reserved with DRM_IOCTL_MSM_COUNTER_GET which returns
a counter ID for the reserved counter and the hi/lo offset of
the counter register. The reserving application can either read the
counter from within a PM4 stream or it can use the group ID and
counter ID and read the value of the counter with
DRM_MSM_COUNTER_READ. After the counter is no longer needed
DRM_IOCTL_MSM_COUNTER_PUT returns it and it can be released for
other countables if no other processes are sharing it.
Reservations are tracked for each process and cleaned up if the
process dies without putting back the counters.
Change-Id: Ic0dedbadc45e85ab0063331b39ca6f3289523038
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Jordan Crouse [Wed, 29 Mar 2017 13:59:55 +0000 (07:59 -0600)]
drm/msm: Remove ringbuffer restriction from idle
Remove the check in a5xx_idle() to see if idle is being called
on the current ring. a5xx_idle() is to used make sure the
commands in the specified ring have completed and it is entirely
reasonably to expect that a ring switch might need to be
executed first.
Change-Id: Ic0dedbadf45c7f624093efae72f3a9d75dc6857d
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Jordan Crouse [Wed, 29 Mar 2017 13:59:55 +0000 (07:59 -0600)]
drm/msm: Update registers for performance counters
Update a5xx rnddb database to add some VBIF registers for clearing
and enabling performance counters.
Change-Id: Ic0dedbada994e916527e8c44e2cf0a20115985a9
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Linux Build Service Account [Wed, 29 Mar 2017 13:49:33 +0000 (06:49 -0700)]
Merge "ath10k: Use atomic read for fw_crashed state"
Linux Build Service Account [Wed, 29 Mar 2017 13:49:32 +0000 (06:49 -0700)]
Merge "ASoC: msm: add support for ADSP Stream Cmd and Callback"
Linux Build Service Account [Wed, 29 Mar 2017 13:49:32 +0000 (06:49 -0700)]
Merge "soc: qcom: pil: Explicitly clear the subsystem loading address"
Linux Build Service Account [Wed, 29 Mar 2017 13:49:31 +0000 (06:49 -0700)]
Merge "soc: qcom: Separate out qmi handle destruction and PD notification"
Lior David [Mon, 27 Mar 2017 18:10:35 +0000 (21:10 +0300)]
wil6210: do not start regular scan on stopped p2p device
The driver should not allow starting any type of scan on a stopped
P2P device. Current implementation only checked social scan.
Change-Id: I67d92b0bdb4549681e3d08a256b1798fdaeb0939
Signed-off-by: Lior David <qca_liord@qca.qualcomm.com>
Signed-off-by: Maya Erez <qca_merez@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Git-commit:
4a0e45a78328957b012f554fb2ffcd5c69fe418a
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git
Signed-off-by: Maya Erez <merez@codeaurora.org>
Harry Yang [Fri, 24 Mar 2017 05:40:31 +0000 (22:40 -0700)]
qcom: smb2: Disable parallel charging on qnovo charging below 2A
Add qnovo as pl charging voter and disable parallel charging when
qnovo is enabled with fcc below 2A.
Change-Id: Ic03a18318a89344f2bd5c8a72445abe22cd3d142
Signed-off-by: Harry Yang <harryy@codeaurora.org>
Harry Yang [Fri, 24 Mar 2017 04:41:48 +0000 (21:41 -0700)]
qcom: qnovo: Add property to report charge errors
Report status that indicates individual charger errors,
including JEITA, battery, charing disabled, etc.
Change-Id: I5a02d9f86237ae1a05b71e78f17db8c39f35594f
Signed-off-by: Harry Yang <harryy@codeaurora.org>
Harry Yang [Fri, 24 Feb 2017 09:06:00 +0000 (01:06 -0800)]
qcom: qnovo: Add support to enable qnovo charging
Add property qnovo_enable to enable qnovo charging. Also add
property pt_enable to enable pulse train.
Extend QNOVO algorithm's control of voltage and current after
pulse train stops and as long as qnovo_enable = 1.
The interrupt ptrain_done is configured wakeup capable.
CRs-Fixed:
2013069
Change-Id: Icb61e0e0169283f5f52a4994431489dde0af1c73
Signed-off-by: Harry Yang <harryy@codeaurora.org>
Prashanth Bhatta [Wed, 22 Mar 2017 00:53:25 +0000 (17:53 -0700)]
icnss: Separate debug and verbose log
Right now all the logs are dumped to IPC log buffer but there
are some logs which are logged most often and they overwrite log
buffer where in important logs required for debugging may be
lost. Create debug and verbose log level such that logs which are
logged most often and not as important as debug logs are moved to
verbose log level.
Change-Id: Iccab3e5485700efe71ffc85dc7c5f39b0872dfb4
CRs-fixed:
2025867
Signed-off-by: Prashanth Bhatta <bhattap@codeaurora.org>
Dhoat Harpal [Thu, 23 Mar 2017 12:11:45 +0000 (17:41 +0530)]
soc: qcom: glink_ssr: Add kref for cb_data
The variable cb_data is accessed from parallel threads where one thread
can free it anytime, this creates use after free scenerio.
To avoid use after free cases cb_data is freed only when kref count
goes to zero.
CRs-Fixed:
2023620
Change-Id: I74225fc61f8ede03a40ff35d2b963d90c0d4689f
Signed-off-by: Dhoat Harpal <hdhoat@codeaurora.org>
Gopikrishna Mogasati [Mon, 27 Mar 2017 09:57:50 +0000 (15:27 +0530)]
diag: Fix race condition while accessing mdlog session info
This fix allows to avoid possible race condition while
accessing mdlog session info. Without this check there
is a possibility of poison overwritten occurrence.
Also this fix allows mdlog client to check the validity
of process descriptor. Without this fix there is
possibility of crash.
CRs-Fixed:
2022664
Change-Id: Ia10e83c7376de5cab92dd2ec4ec4aa8074223ff3
Signed-off-by: Gopikrishna Mogasati <gmogas@codeaurora.org>
Subbaraman Narayanamurthy [Mon, 27 Mar 2017 23:29:25 +0000 (16:29 -0700)]
qpnp-fg-gen3: use IMA single mode for pm660 fuel gauge
Because of HW issues, burst mode access cannot be done with
pm660 parts. Use IMA in single mode for it.
Change-Id: I4e86601d713140e559ba8a6f92715f2075c7b8ee
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
Subbaraman Narayanamurthy [Thu, 23 Mar 2017 18:06:08 +0000 (11:06 -0700)]
qcom: fg-memif: add support for using IMA single mode
Currently, based on the number of bytes read/written, IMA is
configured for single or burst mode. Add an option to override
to single mode whenever required.
While at it, change pr_err() statements to print some more debug
information which might be useful.
Change-Id: If19e135ed4014732a0efe56250f56f0760a1fb93
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
Ritesh Harjani [Tue, 28 Mar 2017 07:49:26 +0000 (13:19 +0530)]
mmc: sdhci-msm: Change pm_qos cpu groups latency to PM_QOS_DEFAULT_VALUE
In current pm_qos implementation - when the new pm_qos vote request
comes, the previous cpu group where pm_qos vote was put
is determined and removed if the current cpu group is different
than previous.
If the pm_qos vote of performance mode latency is put during
initialization, there can be a case where this vote will never be
released - since during init phase we can't cache the prev pm_qos cpu
group (pm_qos_prev_cpu = -1). Thus during the actual I/O sdhci_request
the pm_qos_prev_cpu will be -1 and unless the request comes once onto
each of those cpu group, the pm_qos voting can never be released.
Hence change this pm_qos vote for all cpu groups to PM_QOS_DEFAULT_VALUE
during init phase.
Change-Id: I71249b58f41850a8a84e6165d6df936eba13b218
Signed-off-by: Ritesh Harjani <riteshh@codeaurora.org>
Srinivas Dasari [Wed, 8 Mar 2017 13:30:51 +0000 (19:00 +0530)]
msm-4.4: driver to create cld80211 nl family at bootup time
Create cnss_genl driver to create a netlink family cld80211
and make it available to cld driver and applications when
they query for it.
This driver creates multicast groups to facilitate communication
from cld driver to userspace and allows cld driver to register
for different commands from user space.
Change-Id: I0795dd08b6429fad60187fee724b3fd3ccfa5603
Signed-off-by: Srinivas Dasari <dasaris@codeaurora.org>
CRs-Fixed:
1100401
Govind Singh [Tue, 28 Mar 2017 04:20:48 +0000 (09:50 +0530)]
ath10k: Use atomic read for fw_crashed state
fw_crashed is atomic state variable, use atomic
read operation for reading the value
Change-Id: Ieaad558cad684a0eb7daaad9d220b44c032d69ca
Signed-off-by: Govind Singh <govinds@codeaurora.org>
Linux Build Service Account [Tue, 28 Mar 2017 03:43:43 +0000 (20:43 -0700)]
Merge "qpnp-fg-gen3: prime CC_SOC_SW when capacity learning begins"
Linux Build Service Account [Tue, 28 Mar 2017 03:43:42 +0000 (20:43 -0700)]
Merge "esoc: add support for additonal physical link info"
Linux Build Service Account [Tue, 28 Mar 2017 03:43:41 +0000 (20:43 -0700)]
Merge "defconfig: msm: enable EDAC_CORTEX_ARM64_DBE_IRQ_ONLY for SDM660"
Linux Build Service Account [Tue, 28 Mar 2017 03:43:38 +0000 (20:43 -0700)]
Merge "BACKPORT: f2fs: add a max block check for get_data_block_bmap"
Linux Build Service Account [Tue, 28 Mar 2017 03:43:38 +0000 (20:43 -0700)]
Merge "qcom: smblib: Only enable hdc and icl irqs on QC/PD chargers"
Subbaraman Narayanamurthy [Thu, 23 Mar 2017 18:46:25 +0000 (11:46 -0700)]
qpnp-revid: add pm660 1.0 and 1.1 definitions
Add revision definitions for pm660 v1.0 and v1.1.
Change-Id: I7aefdbe07d6c01562f9ffb17616419880cea1831
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
Subbaraman Narayanamurthy [Thu, 23 Mar 2017 18:34:28 +0000 (11:34 -0700)]
qpnp-revid: move pmi8998 and pm660 FAB_ID definitions to qpnp-revid.h
FAB_ID can be used across multiple drivers that gets revid
information from qpnp-revid driver. Move the FAB_ID definitions
in RR_ADC driver for pmi8998 and pm660 so that they can be
reused by other clients.
Change-Id: Ia61af56244161c948b0f458a77e699c1cac871b1
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
Ankit Sharma [Thu, 9 Mar 2017 10:56:07 +0000 (16:26 +0530)]
msm: qpnp-haptic: Enable HW auto-resonance for PM660
Enable Hardware based auto resonance calibration for LRA
mode for PM660.
Change-Id: Ic7902ba4b8665eda2623286dd0b1c3fdeb3895e5
Signed-off-by: Ankit Sharma <ansharma@codeaurora.org>
Gaurav Kohli [Sat, 25 Mar 2017 12:06:30 +0000 (17:36 +0530)]
soc: qcom: pil: Explicitly clear the subsystem loading address
Explicitly clear the subsystem loading address in case of any
memory failure. It will help to avoid any platform dependency.
Change-Id: I3be8f6318d68f02c02e637fc34f4a868e9fafa45
Signed-off-by: Gaurav Kohli <gkohli@codeaurora.org>
Linux Build Service Account [Mon, 27 Mar 2017 07:00:25 +0000 (00:00 -0700)]
Merge "ARM: dts: msm: Update LPM parameter values for sdm630"
Linux Build Service Account [Mon, 27 Mar 2017 07:00:24 +0000 (00:00 -0700)]
Merge "usb: gadget: f_ncm: allocate/free net device upon driver bind/unbind"
Linux Build Service Account [Mon, 27 Mar 2017 07:00:23 +0000 (00:00 -0700)]
Merge "ath10k: msm: enable ATH10k DEBUG config for APQ8098"
Linux Build Service Account [Mon, 27 Mar 2017 07:00:22 +0000 (00:00 -0700)]
Merge "ath10k: Fix ATH10K_DBG_SNOC debug mask"
Linux Build Service Account [Mon, 27 Mar 2017 07:00:21 +0000 (00:00 -0700)]
Merge "msm: isp: initialize pd stats buffer index"
Linux Build Service Account [Mon, 27 Mar 2017 07:00:20 +0000 (00:00 -0700)]
Merge "msm: isp: Fix unbalanced hvx clk disable"