OSDN Git Service
Jouni Malinen [Wed, 26 Oct 2016 21:41:58 +0000 (00:41 +0300)]
cfg80211: Rename SAE_DATA to more generic AUTH_DATA
This adds defines and nl80211 extensions to allow FILS Authentication to
be implemented similarly to SAE. FILS does not need the special rules
for the Authentication transaction number and Status code fields, but it
does need to add non-IE fields. The previously used
NL80211_ATTR_SAE_DATA can be reused for this to avoid having to
duplicate that implementation. Rename that attribute to more generic
NL80211_ATTR_AUTH_DATA (with backwards compatibility define for
NL80211_SAE_DATA).
Also document the special rules related to the Authentication
transaction number and Status code fiels.
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Git-commit:
11b6b5a4ced2f2c76073b97ee08ca0eab8358fde
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
CRs-Fixed:
2028536
Change-Id: Icc8bbdf3530c46048239ca88bfcb8b100a7f0822
Signed-off-by: Vidyullatha Kanchanapally <vidyullatha@codeaurora.org>
Linux Build Service Account [Tue, 11 Apr 2017 00:23:57 +0000 (17:23 -0700)]
Merge "net: ipv6: ignore null_entry on route dumps"
Linux Build Service Account [Tue, 11 Apr 2017 00:23:57 +0000 (17:23 -0700)]
Merge "battery: fix 0mA ICL not suspending charger"
Linux Build Service Account [Tue, 11 Apr 2017 00:23:56 +0000 (17:23 -0700)]
Merge "mmc: core: fix bus-width selection in HS400 mode"
Linux Build Service Account [Tue, 11 Apr 2017 00:23:55 +0000 (17:23 -0700)]
Merge "qcom: smb2: fix probe failure"
Linux Build Service Account [Tue, 11 Apr 2017 00:23:54 +0000 (17:23 -0700)]
Merge "msm: pcie: change log type for unexpected global IRQ"
Linux Build Service Account [Tue, 11 Apr 2017 00:23:53 +0000 (17:23 -0700)]
Merge "security: pfe: Remove __exit annotation to fix section mismatch"
Linux Build Service Account [Tue, 11 Apr 2017 00:23:53 +0000 (17:23 -0700)]
Merge "arm64: make default ARM64_DMA_IOMMU_ALIGNMENT as 9"
Linux Build Service Account [Tue, 11 Apr 2017 00:23:52 +0000 (17:23 -0700)]
Merge "ARM: dts: msm: align removed_region with SDM630 memmap"
Abhijeet Dharmapurikar [Fri, 7 Apr 2017 23:18:22 +0000 (16:18 -0700)]
battery: fix 0mA ICL not suspending charger
There is a bug in usb ICL (input current limit) votable callback
where it fails to set the current on main charger if the new value
is lower than the settled value.
Fix it.
Change-Id: I8e8e1c16772eabe9f411c3de5460ca581a3a5d37
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
Linux Build Service Account [Mon, 10 Apr 2017 16:26:31 +0000 (09:26 -0700)]
Merge "ARM: dts: msm: Put secondary QUSB2 PHY in reset state for SDM660"
Linux Build Service Account [Mon, 10 Apr 2017 16:26:30 +0000 (09:26 -0700)]
Merge "trace: resolve stack corruption due to string copy"
Linux Build Service Account [Mon, 10 Apr 2017 16:26:29 +0000 (09:26 -0700)]
Merge "power: qpnp-fg-gen3: Add support to configure ESR pulse thresholds"
Sayali Lokhande [Tue, 4 Apr 2017 13:26:58 +0000 (18:56 +0530)]
mmc: core: fix bus-width selection in HS400 mode
During card initialization, for hs400 enhanced strobe
mode we already set the bus width to 8 as part of
mmc_select_hs400.
i.e: mmc_init_card->mmc_select_timing->mmc_select_hs400
Commit
5a86b1150f6c ("mmc: core: fix multi-bit bus width
without high-speed mode") modified bus width selection mode
for hs400(mmc_select_bus_width is being called twice now)
which is resulting in switch command failure(-110 error).
Fix this by adding condition to check if hs400 is supported
before bus-width selection.
Change-Id: I698260599276a251ffbe2f242175be0dc51a91de
Signed-off-by: Sayali Lokhande <sayalil@codeaurora.org>
Amey Telawane [Mon, 1 Aug 2016 11:20:43 +0000 (16:50 +0530)]
trace: resolve stack corruption due to string copy
Strcpy has no limit on string being copied which causes
stack corruption leading to kernel panic. Use strlcpy to
resolve the issue by providing length of string to be copied.
CRs-fixed:
1048480
Change-Id: Ib290b25f7e0ff96927b8530e5c078869441d409f
Signed-off-by: Amey Telawane <ameyt@codeaurora.org>
Shiraz Hashim [Mon, 10 Apr 2017 03:04:46 +0000 (08:34 +0530)]
arm64: make default ARM64_DMA_IOMMU_ALIGNMENT as 9
To realize section mapping of 2MB in arm64 iommu mappings,
set ARM64_DMA_IOMMU_ALIGNMENT to 9 so that 2MB aligned
virtual address can be allocated based on size.
2MB section mapping in iommu page tables would ensure less
pressure on TLBs.
Change-Id: Id22e935e113bee2a4ae7aeab15bcf17b7b6f3c78
Signed-off-by: Shiraz Hashim <shashim@codeaurora.org>
Vijayavardhan Vennapusa [Tue, 21 Mar 2017 08:00:44 +0000 (13:30 +0530)]
ARM: dts: msm: Put secondary QUSB2 PHY in reset state for SDM660
Add secondary QUSB2 PHY node and put it in reset state for SDM660
to avoid leakage current issue.
Change-Id: Iab057c22268408f90ac59f9dc4b0d538edd819b9
Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
Linux Build Service Account [Mon, 10 Apr 2017 06:59:30 +0000 (23:59 -0700)]
Merge "ARM: dts: msm: Add thermistor support for PM660"
Linux Build Service Account [Mon, 10 Apr 2017 06:59:29 +0000 (23:59 -0700)]
Merge "diag: Fix feature mask mismatch for peripherals"
Linux Build Service Account [Mon, 10 Apr 2017 06:59:27 +0000 (23:59 -0700)]
Merge "wil6210: add oob_mode for AP certification"
Linux Build Service Account [Mon, 10 Apr 2017 06:59:27 +0000 (23:59 -0700)]
Merge "wil6210: correctly report locally generated disconnect in STA mode"
Linux Build Service Account [Mon, 10 Apr 2017 06:59:26 +0000 (23:59 -0700)]
Merge "wil6210: use WMI_DISCONNECT_CMDID upon connect timeout"
Linux Build Service Account [Mon, 10 Apr 2017 06:59:24 +0000 (23:59 -0700)]
Merge "wil6210: store bss object and use cfg80211_connect_bss()"
Ashay Jaiswal [Mon, 10 Apr 2017 06:06:30 +0000 (11:36 +0530)]
qcom: smb2: fix probe failure
Charger driver probe might fail while querying for battery
health if bms psy is not available. Fix this by reporting
health as "UNKNOWN".
CRs-Fixed:
2029960
Change-Id: I6544788a6fe3ab7aaf70ffd382213d8b4aa4c0b6
Signed-off-by: Ashay Jaiswal <ashayj@codeaurora.org>
Linux Build Service Account [Sun, 9 Apr 2017 19:29:20 +0000 (12:29 -0700)]
Merge "AndroidKernel: add support to configure DLKM install path"
Manoj Prabhu B [Fri, 7 Apr 2017 11:12:14 +0000 (16:42 +0530)]
diag: Fix feature mask mismatch for peripherals
This patch adds a way to publish APPS support
of untagging header only to selected peripherals.
CRs-Fixed:
2030651
Change-Id: I2a2a03d0a6d441d23ec093ff5de9bef5e9799d24
Signed-off-by: Manoj Prabhu B <bmanoj@codeaurora.org>
Lior David [Mon, 27 Mar 2017 18:42:25 +0000 (21:42 +0300)]
wil6210: add oob_mode for AP certification
Add a new value to the oob_mode module parameter for
supporting AP certification.
All enabled values of oob_mode (>0) are intended only
for debugging and diagnostics.
Change-Id: I170c953b0f126513b6fec7a7c316d282ed56367e
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:
b8c31b5d6c232a36c821bdd556b60c033a1c1577
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git
[merez@codeaurora.org: fix trivial merge conflicts]
Signed-off-by: Maya Erez <merez@codeaurora.org>
Dedy Lansky [Mon, 27 Mar 2017 18:21:31 +0000 (21:21 +0300)]
wil6210: correctly report locally generated disconnect in STA mode
Driver always invoke cfg80211_disconnected() with locally_generated as
false.
Fix this by reporting true whenever the disconnect is triggered from
upper layers (cfg80211) or from within the driver itself (reset,
deinit).
Change-Id: I367797e0eeb1e71a28674415121a054daee04cbc
Signed-off-by: Dedy Lansky <qca_dlansky@qca.qualcomm.com>
Signed-off-by: Maya Erez <qca_merez@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Git-commit:
3b56c15fa3315942b4cb02e57ff842f2f9b14ef7
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git
Signed-off-by: Maya Erez <merez@codeaurora.org>
Dedy Lansky [Mon, 27 Mar 2017 18:20:08 +0000 (21:20 +0300)]
wil6210: use WMI_DISCONNECT_CMDID upon connect timeout
Upon connect timeout driver invokes _wil6210_disconnect() which iterates
over sta array and disconnects each connected sta. In practice, because
the connection is still ongoing and because cid is not yet allocated,
disconnect is not actually happening. This leaves FW in connecting
state while driver is in disconnected state.
To fix this, upon connect timeout, explicitly send WMI_DISCONNECT_CMDID
to FW to make sure it gets disconnected.
Change-Id: I4d6ed85f00901b0e286d8b05d016e9cd5e9dd2fb
Signed-off-by: Dedy Lansky <qca_dlansky@qca.qualcomm.com>
Signed-off-by: Maya Erez <qca_merez@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Git-commit:
628639b1c976a5f02792dc6595a4d199b7b70d85
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git
Signed-off-by: Maya Erez <merez@codeaurora.org>
Dedy Lansky [Mon, 27 Mar 2017 18:18:12 +0000 (21:18 +0300)]
wil6210: store bss object and use cfg80211_connect_bss()
In a fast disconnect/connect sequence, cfg80211_connect_result() can
fail to find the bss object which the driver is connecting to. Detailed
sequence of events:
* Driver is connected in STA mode
* Disconnect request arrives from user space. Driver disconnects and
calls cfg80211_disconnected() which adds new event to the
cfg80211_wq worker thread
* Connect request arrives from user space. cfg80211_connect() stores
ssid/ssid_len and calls rdev_connect()
* __cfg80211_disconnected() runs in worker thread and zero
wdev->ssid_len
* Connect succeeds. Driver calls cfg80211_connect_result() which fails
to find the bss because wdev->ssid_len is zero
To overcome this, upon connect request, store the bss object in the
driver and upon connect completion pass it to kernel using
cfg80211_connect_bss().
Change-Id: I48b7f638e3c69bf2c223ecf65d080fb603fc26f8
Signed-off-by: Dedy Lansky <qca_dlansky@qca.qualcomm.com>
Signed-off-by: Maya Erez <qca_merez@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Git-commit:
bcdd49b074d0ea48f54bc6d24a66efab8688b43a
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git
Signed-off-by: Maya Erez <merez@codeaurora.org>
Linux Build Service Account [Sun, 9 Apr 2017 00:30:33 +0000 (17:30 -0700)]
Merge "qcom: qpnp-fg-gen3: Reconfigure profile parameters upon battery hotswap"
Linux Build Service Account [Sat, 8 Apr 2017 16:12:33 +0000 (09:12 -0700)]
Merge "ARM: dts: msm: optimize rm67195 settings for SDM660 PM660A QRD"
Linux Build Service Account [Sat, 8 Apr 2017 07:16:59 +0000 (00:16 -0700)]
Merge "drm/msm: Fix gmem range setting"
Tony Truong [Sat, 8 Apr 2017 00:12:23 +0000 (17:12 -0700)]
msm: pcie: change log type for unexpected global IRQ
When PCIe host driver receives an unexpected interrupt for
global IRQ, log it to PCIe dump ipc logging to avoid
flooding kernel log.
Change-Id: Ia38e6a3597b0f86b8574f8edf5b2e0e124b02f4d
Signed-off-by: Tony Truong <truong@codeaurora.org>
Linux Build Service Account [Fri, 7 Apr 2017 23:05:49 +0000 (16:05 -0700)]
Merge "iio: qcom-tadc: use HW default for batt therm HW conversion trigger"
Linux Build Service Account [Fri, 7 Apr 2017 23:05:48 +0000 (16:05 -0700)]
Merge "diag: Check for diag glink handle on connect event"
Linux Build Service Account [Fri, 7 Apr 2017 23:05:48 +0000 (16:05 -0700)]
Merge "mhi: core: Enable mhi_dev_net interface channels"
Linux Build Service Account [Fri, 7 Apr 2017 23:05:46 +0000 (16:05 -0700)]
Merge "usb: gadget: f_mass_storage: Perform async runtime suspend after ep disable"
Sreelakshmi Gownipalli [Thu, 30 Mar 2017 17:01:03 +0000 (10:01 -0700)]
diag: Check for diag glink handle on connect event
Check for diag glink handle on receiving connect and
disconnect events from glink.
Change-Id: I049367ffa4fbab1b8b3585cf6d1b53760e7431a6
Signed-off-by: Sreelakshmi Gownipalli <sgownipa@codeaurora.org>
Kasin Li [Tue, 21 Mar 2017 15:32:03 +0000 (23:32 +0800)]
drm/msm: Fix gmem range setting
GMEM IOVA range is intend to start from 0x100000, But currently it
is initialized with RANGE_MIN_LO:RANGE_MIN_LO. It makes GMEM IOVA
start from 0.
Change-Id: I6028c076c32d861303cbec1c6ad168d8494e094c
Signed-off-by: Kasin Li <donglil@codeaurora.org>
Rama Krishna Phani A [Tue, 4 Apr 2017 11:54:21 +0000 (17:24 +0530)]
ARM: dts: msm: Add thermistor support for PM660
Thermal clients will be monitoring thermistors for
temperature mitigations. Add pa_therm0 support for PM660.
Change-Id: I61cb6a5147b68868d782490885969ceb2feef06c
Signed-off-by: Rama Krishna Phani A <rphani@codeaurora.org>
Linux Build Service Account [Fri, 7 Apr 2017 13:39:30 +0000 (06:39 -0700)]
Merge "diag: Set context properly while sending command responses"
Linux Build Service Account [Fri, 7 Apr 2017 13:39:29 +0000 (06:39 -0700)]
Merge "ath10k: synchronize restart work with FW ready indication"
Linux Build Service Account [Fri, 7 Apr 2017 13:39:28 +0000 (06:39 -0700)]
Merge "msm: ipa: Fix memory leak in ipa driver"
Vijayavardhan Vennapusa [Wed, 5 Apr 2017 07:07:46 +0000 (12:37 +0530)]
usb: gadget: f_mass_storage: Perform async runtime suspend after ep disable
commit
82f29356165b6a584 ("usb: gadget: f_mass_storage: Allow USB LPM
upon ep disable") decrements power usage count by 1 for dwc3 device
in thread handler as part of do_set_interface(). fsg_disable() and
fsg_unbind() will raise exception for status change so that status change
is handled in thread handler. Due to this, there is a chance that
fsg_thread can run two times and results in calling do_set_interface()
twice for disabling endpoints. This causes decrementing power usage count
two times instead of 1 and power usage count can become negative. If cable
is disconnected at this time, it could cause unclocked access or fsg_thread
gets stuck. common->fsg bieng non NULL confirms that MSC interface is being
enabled. Hence fix the issue by decrementing power usage count only right
after disbling endpoints as disabling endpoints happens once due to check
of common->fsg.
Change-Id: Ia870838f5a7055436b7412fec5910b5cdbb42de2
Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
Linux Build Service Account [Fri, 7 Apr 2017 05:31:59 +0000 (22:31 -0700)]
Merge "diag: Do not mark buffers free during channel opening"
Linux Build Service Account [Fri, 7 Apr 2017 05:31:56 +0000 (22:31 -0700)]
Merge "ion: change data type of source_vm* variable to int"
Linux Build Service Account [Fri, 7 Apr 2017 05:31:43 +0000 (22:31 -0700)]
Merge "wil6210: missing reinit_completion in HALP voting"
Linux Build Service Account [Fri, 7 Apr 2017 05:31:38 +0000 (22:31 -0700)]
Merge "wil6210: use print_hex_dump_debug instead of print_hex_dump_bytes"
Linux Build Service Account [Thu, 6 Apr 2017 21:33:17 +0000 (14:33 -0700)]
Merge "ASoC: msm: update TDM slot mapping and FE DAI array"
Linux Build Service Account [Thu, 6 Apr 2017 21:33:16 +0000 (14:33 -0700)]
Merge "seemp: fix code analysis issues"
Linux Build Service Account [Thu, 6 Apr 2017 21:33:15 +0000 (14:33 -0700)]
Merge "msm: pcie: update mask and linkdown check in PCIe read/write API"
Linux Build Service Account [Thu, 6 Apr 2017 21:33:14 +0000 (14:33 -0700)]
Merge "msm: pcie: expand PCIe boot option"
Linux Build Service Account [Thu, 6 Apr 2017 21:33:13 +0000 (14:33 -0700)]
Merge "msm-core: Fix uninitialized sampling work"
Linux Build Service Account [Thu, 6 Apr 2017 21:33:12 +0000 (14:33 -0700)]
Merge "soc: qcom: glink_pkt: Add mutex in glink_pkt_read"
Linux Build Service Account [Thu, 6 Apr 2017 21:33:11 +0000 (14:33 -0700)]
Merge "wil6210: prevent access to 11AD device if resume fails"
Linux Build Service Account [Thu, 6 Apr 2017 21:33:10 +0000 (14:33 -0700)]
Merge "Revert "sd: Fix rw_max for devices that report an optimal xfer size""
Linux Build Service Account [Thu, 6 Apr 2017 21:33:09 +0000 (14:33 -0700)]
Merge "spi: spi_qsd: Disable packing for unaliged non DMA mode transfers"
Linux Build Service Account [Thu, 6 Apr 2017 21:33:08 +0000 (14:33 -0700)]
Merge "cpu-hotplug: Always use real time scheduling when hotplugging a CPU"
Linux Build Service Account [Thu, 6 Apr 2017 21:33:07 +0000 (14:33 -0700)]
Merge "binder: use group leader instead of open thread"
Linux Build Service Account [Thu, 6 Apr 2017 21:33:06 +0000 (14:33 -0700)]
Merge "pps-gpio: Timestamp alignment with boottime"
David Ahern [Thu, 16 Feb 2017 19:06:13 +0000 (12:06 -0700)]
net: ipv6: ignore null_entry on route dumps
lkp-robot reported a BUG:
[ 10.151226] BUG: unable to handle kernel NULL pointer dereference at
00000198
[ 10.152525] IP: rt6_fill_node+0x164/0x4b8
[ 10.153307] *pdpt =
0000000012ee5001 *pde =
0000000000000000
[ 10.153309]
[ 10.154492] Oops: 0000 [#1]
[ 10.154987] CPU: 0 PID: 909 Comm: netifd Not tainted
4.10.0-rc4-00722-g41e8c70ee162-dirty #10
[ 10.156482] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.7.5-20140531_083030-gandalf 04/01/2014
[ 10.158254] task:
d0deb000 task.stack:
d0e0c000
[ 10.159059] EIP: rt6_fill_node+0x164/0x4b8
[ 10.159780] EFLAGS:
00010296 CPU: 0
[ 10.160404] EAX:
00000000 EBX:
d10c2358 ECX:
c1f7c6cc EDX:
c1f6ff44
[ 10.161469] ESI:
00000000 EDI:
c2059900 EBP:
d0e0dc4c ESP:
d0e0dbe4
[ 10.162534] DS: 007b ES: 007b FS: 0000 GS: 0033 SS: 0068
[ 10.163482] CR0:
80050033 CR2:
00000198 CR3:
10d94660 CR4:
000006b0
[ 10.164535] Call Trace:
[ 10.164993] ? paravirt_sched_clock+0x9/0xd
[ 10.165727] ? sched_clock+0x9/0xc
[ 10.166329] ? sched_clock_cpu+0x19/0xe9
[ 10.166991] ? lock_release+0x13e/0x36c
[ 10.167652] rt6_dump_route+0x4c/0x56
[ 10.168276] fib6_dump_node+0x1d/0x3d
[ 10.168913] fib6_walk_continue+0xab/0x167
[ 10.169611] fib6_walk+0x2a/0x40
[ 10.170182] inet6_dump_fib+0xfb/0x1e0
[ 10.170855] netlink_dump+0xcd/0x21f
This happens when the loopback device is set down and a ipv6 fib route
dump is requested.
ip6_null_entry is the root of all ipv6 fib tables making it integrated
into the table and hence passed to the ipv6 route dump code. The
null_entry route uses the loopback device for dst.dev but may not have
rt6i_idev set because of the order in which initializations are done --
ip6_route_net_init is run before addrconf_init has initialized the
loopback device. Fixing the initialization order is a much bigger problem
with no obvious solution thus far.
The BUG is triggered when the loopback is set down and the netif_running
check added by
a1a22c1206 fails. The fill_node descends to checking
rt->rt6i_idev for ignore_routes_with_linkdown and since rt6i_idev is
NULL it faults.
The null_entry route should not be processed in a dump request. Catch
and ignore. This check is done in rt6_dump_route as it is the highest
place in the callchain with knowledge of both the route and the network
namespace.
CRs-Fixed:
1065581
Change-Id: Iaf7265f3a83ecba1a3c4f90ec3288b296d918c5a
Fixes:
a1a22c1206("net: ipv6: Keep nexthop of multipath route on admin down")
Signed-off-by: David Ahern <dsa@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Git-commit:
1f17e2f2c8a8be3430813119fa7b633398f6185b
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Signed-off-by: Subash Abhinov Kasiviswanathan <subashab@codeaurora.org>
Shashank Mittal [Fri, 24 Mar 2017 19:56:52 +0000 (12:56 -0700)]
AndroidKernel: add support to configure DLKM install path
Add support to configure DLKM install path.
TARGET_OUT is hard coded to system directory.
Use PRODUCT_OUT instead of TARGET_OUT to use user configured path
instead.
Change-Id: Iacbfa0fce69d3cb4b6f47a6c857983034633dc19
Signed-off-by: Shashank Mittal <mittals@codeaurora.org>
Shashank Mittal [Fri, 17 Mar 2017 20:27:09 +0000 (13:27 -0700)]
arm64: add config option to enable DT overlay
Add config option to enable DT overlay. This option sets DTC_FLAGS to
enable DT compilation with overlay support.
Change-Id: I74b1ed9828ec94093fab40a70c0cd0c155796c94
Signed-off-by: Shashank Mittal <mittals@codeaurora.org>
Shashank Mittal [Fri, 10 Feb 2017 23:15:23 +0000 (15:15 -0800)]
scripts: Makefile: add support to use external DTC
Add support to use external DTC to compile device tree blobs.
Change-Id: I268d2332d5328c3b0050b35c96f91e8ef9e1f6f8
Signed-off-by: Shashank Mittal <mittals@codeaurora.org>
Shashank Mittal [Fri, 10 Feb 2017 22:52:32 +0000 (14:52 -0800)]
scripts: Makefile: add support to compile DT overlay blobs
Add support to compile device tree overlay blob.
'dtbo-y' target can be used to specify DT overlay blob.
'<target>-obj' must be specified to list base and overlay blobs.
Change-Id: Ib5036c70ba46374619cc43f9f7b697e1a444aebf
Signed-off-by: Shashank Mittal <mittals@codeaurora.org>
Shashank Mittal [Fri, 24 Feb 2017 22:21:40 +0000 (14:21 -0800)]
AndroidKernel: add support to pass build flags
Add support to pass build flags while compiling Linux kernel.
This change is required to add support in Linux kernel to use external
host executable. (example: dtc)
Usage example:
TARGET_KERNEL_MAKE_ENV := DTC_EXT=dtc$(HOST_EXECUTABLE_SUFFIX)
Change-Id: I008ca00cf9695133ff167ffdee8d8dfb89beb598
Signed-off-by: Shashank Mittal <mittals@codeaurora.org>
Honghao Liu [Fri, 24 Mar 2017 20:03:00 +0000 (16:03 -0400)]
ASoC: msm: update TDM slot mapping and FE DAI array
Update TDM slot mapping and add hostless FE DAI for customized
sound card on automotive platform.
CRs-fixed:
2024584
Change-Id: I08c2765972405e6dfbbcd6d2590109e119b92423
Signed-off-by: Honghao Liu <honghaol@codeaurora.org>
Yida Wang [Wed, 5 Apr 2017 19:32:36 +0000 (15:32 -0400)]
seemp: fix code analysis issues
Fix code analysis issues related to seemp, such as, variables might
be used uninitialized, and array may use index values larger than its
size.
Change-Id: Ic537ece4d00ac3d72d679359b60999df473f8710
Signed-off-by: Yida Wang <yidaw@codeaurora.org>
Linux Build Service Account [Thu, 6 Apr 2017 12:39:40 +0000 (05:39 -0700)]
Merge "sched/debug: Make the "Preemption disabled at ..." message more useful"
Linux Build Service Account [Thu, 6 Apr 2017 12:39:39 +0000 (05:39 -0700)]
Merge "leds: qpnp-flash-v2: Fix pinctrl configuration"
Linux Build Service Account [Thu, 6 Apr 2017 12:39:38 +0000 (05:39 -0700)]
Merge "msm: vidc: Re-calculate buffer requirement"
Linux Build Service Account [Thu, 6 Apr 2017 12:39:37 +0000 (05:39 -0700)]
Merge "msm: vidc: Prioritize debugfs timeout control over dtsi entry"
Linux Build Service Account [Thu, 6 Apr 2017 12:39:36 +0000 (05:39 -0700)]
Merge "ARM: dts: msm: add support for sharp wuxga split link panel"
Linux Build Service Account [Thu, 6 Apr 2017 12:39:35 +0000 (05:39 -0700)]
Merge "msmcortex: Enable PPP related defconfigs"
Mukesh Kumar Savaliya [Fri, 31 Mar 2017 07:09:11 +0000 (12:39 +0530)]
spi: spi_qsd: Disable packing for unaliged non DMA mode transfers
SPI core has a characterstic that it always sends data in FIFO word size
when we compress the data and fill the FIFO. This helps to improve the
overall througput but sometimes for the data transfers which is not
aligned to FIFO Word [i.e 4] it pads extra bytes and sends out which can
mislead spi slave device.
Do not enable packing if it's a FIFO mode transfer and data size is not
aligned to FIFO word size.
Change-Id: I28f4e3e38db4b882f229c00aa54aabdc72d2c139
Signed-off-by: Mukesh Kumar Savaliya <msavaliy@codeaurora.org>
Maulik Shah [Thu, 6 Apr 2017 10:11:07 +0000 (15:41 +0530)]
msm-core: Fix uninitialized sampling work
Sampling work can be accessed by do_sampling kthread
before init. Fix this by initializing sampling work before
using.
Change-Id: I790ce50fcddbcd08861e31fea9bde839d6fbb7cc
Signed-off-by: Maulik Shah <mkshah@codeaurora.org>
Naresh Munagala [Wed, 18 May 2016 11:41:09 +0000 (17:11 +0530)]
pps-gpio: Timestamp alignment with boottime
GPS driver which makes use of PPS timestamp expects time
with respect to boot time. Existing pps_get_ts function
doesn't return time from the boot so replaced this function
with get_monotonic_boottime function which returns elapsed time
from the boot.
Change-Id: I8f656a1c4ef43f6314d4ab295a177125bcc8195e
CRs-Fixed:
1012438
Signed-off-by: Naresh Munagala <nareshm@codeaurora.org>
Govind Singh [Mon, 27 Mar 2017 14:27:50 +0000 (19:57 +0530)]
ath10k: synchronize restart work with FW ready indication
ath10k restart work needs to be scheduled after FW is ready
during SSR/PDR.
Synchronize restart work with FW ready indication.
Change-Id: I1cd93f4d1913e34c0714e717735c026a5c4faf1d
Signed-off-by: Govind Singh <govinds@codeaurora.org>
Signed-off-by: Sarada Prasanna Garnayak <sgarna@codeaurora.org>
Mukesh Kumar Savaliya [Tue, 4 Apr 2017 05:47:38 +0000 (11:17 +0530)]
spi: spi_qsd: Merge back throughput improvements done for small transfers
These changes will merge back the enhancemnts done to improve the medium
side transfers. This was reverted temporarily till the fix identified.
Change-Id: Ib7ac92ecefe7ca3ff9f03716c51dc31b8322ee33
Signed-off-by: Mukesh Kumar Savaliya <msavaliy@codeaurora.org>
Sayali Lokhande [Thu, 6 Apr 2017 04:26:52 +0000 (09:56 +0530)]
Revert "sd: Fix rw_max for devices that report an optimal xfer size"
This reverts 'commit
9814eb75495b ("sd: Fix rw_max for devices
that report an optimal xfer size")'.
Max sectors limit for request queue(q->limits.max_sectors) is reduced
from 1024 to 16 sectors by above commit and causing performance impact
(reduced by upto 50%). Hence revert the change to fix the performance
issue observed on 8998.
Change-Id: I9abd2be6c90922ea9de818912f405e0d292a62b8
Signed-off-by: Sayali Lokhande <sayalil@codeaurora.org>
Linux Build Service Account [Thu, 6 Apr 2017 03:21:33 +0000 (20:21 -0700)]
Merge "clk: mdss: adjust PLL disable sequence to avoid glitch"
Linux Build Service Account [Thu, 6 Apr 2017 03:21:33 +0000 (20:21 -0700)]
Merge "scsi: ufs: fix error handing during hibern8 enter"
Linux Build Service Account [Thu, 6 Apr 2017 03:21:32 +0000 (20:21 -0700)]
Merge "msm: ipa: continue probe on ipc log failure"
Linux Build Service Account [Thu, 6 Apr 2017 03:21:31 +0000 (20:21 -0700)]
Merge "msm: mhi_rmnet: add support for shutdown and system error notification"
Linux Build Service Account [Thu, 6 Apr 2017 03:21:30 +0000 (20:21 -0700)]
Merge "leds: qpnp-flash-v2: Fix some issues"
Linux Build Service Account [Thu, 6 Apr 2017 03:21:29 +0000 (20:21 -0700)]
Merge "usb: gadget: gsi: Fix incorrect repsonse available notifications"
Linux Build Service Account [Thu, 6 Apr 2017 03:21:28 +0000 (20:21 -0700)]
Merge "icnss: Make driver register asynchronous to probe"
Linux Build Service Account [Thu, 6 Apr 2017 03:21:27 +0000 (20:21 -0700)]
Merge "ASoC: wcd934x: add null check for soundwire control data"
Linux Build Service Account [Thu, 6 Apr 2017 03:21:27 +0000 (20:21 -0700)]
Merge "smb138x: support usbin-usbin with external rsense"
Martijn Coenen [Tue, 7 Mar 2017 14:51:18 +0000 (15:51 +0100)]
binder: use group leader instead of open thread
The binder allocator assumes that the thread that
called binder_open will never die for the lifetime of
that proc. That thread is normally the group_leader,
however it may not be. Use the group_leader instead
of current.
Bug:
35707103
Test: Created test case to open with temporary thread
Change-Id: Id693f74b3591f3524a8c6e9508e70f3e5a80c588
Signed-off-by: Todd Kjos <tkjos@google.com>
Signed-off-by: Martijn Coenen <maco@android.com>
Git-commit:
359795138dc5440e09c58025e28ec1b38d648c09
Git-repo: https://android.googlesource.com/kernel/common/
Signed-off-by: Runmin Wang <runminw@codeaurora.org>
Abhinav Kumar [Fri, 24 Feb 2017 19:56:21 +0000 (11:56 -0800)]
clk: mdss: adjust PLL disable sequence to avoid glitch
Adjust the PLL disable sequence as per the latest HW
programming guidelines to ensure there will not be any
stray clock glitches when PLL is turned OFF abruptly.
Change-Id: I6df35bbe18b0c42b43f38b9dd85c3502b2038928
Signed-off-by: Abhinav Kumar <abhinavk@codeaurora.org>
Abhinav Kumar [Mon, 20 Feb 2017 05:01:15 +0000 (21:01 -0800)]
clk: mdss: re-program PLL registers to power-on-reset value
When the supply to PLL digital domain is turned off,
it can result in certain PLL registers to get corrupted.
Make sure to re-program the PLL registers to the
power-on-reset value before starting to program the PLL again
to ensure that it locks reliably.
Change-Id: I63cac884cf11eae60b187f83654f5922a3342d66
Signed-off-by: Abhinav Kumar <abhinavk@codeaurora.org>
Subhash Jadavani [Fri, 24 Mar 2017 21:44:01 +0000 (14:44 -0700)]
scsi: ufs: fix error handing during hibern8 enter
During clock gating (ufshcd_gate_work()), we first put the link hibern8 by
calling ufshcd_uic_hibern8_enter() and if ufshcd_uic_hibern8_enter()
returns success (0) then we gate all the clocks.
Now let’s zoom in to what ufshcd_uic_hibern8_enter() does internally:
It calls __ufshcd_uic_hibern8_enter() which on detecting the LINERESET,
initiates the full recovery and puts the link back to highest HS gear and
returns success (0) to ufshcd_uic_hibern8_enter() which is the issue as
link is still in active state due to recovery!
Now ufshcd_uic_hibern8_enter() returns success to ufshcd_gate_work() and
hence it goes ahead with gating the UFS clock while link is still in active
state hence I believe controller would raise UIC error interrupts. But when
we service the interrupt, clocks might have already been disabled!
This change fixes for this by returning failure from
__ufshcd_uic_hibern8_enter() if recovery succeeds as link is still not in
hibern8, upon receiving the error ufshcd_hibern8_enter() would initiate
retry to put the link state back into hibern8.
Change-Id: Ib550fb791fa4c582b8f2d317a7f5f7594acb0872
Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
Syed Rameez Mustafa [Fri, 16 Dec 2016 19:59:05 +0000 (11:59 -0800)]
cpu-hotplug: Always use real time scheduling when hotplugging a CPU
CPU hotplug operations take place in preemptible context. This leaves
the hotplugging thread at the mercy of overall system load and CPU
availability. If the hotplugging thread does not get an opportunity
to execute after it has already begun a hotplug operation, CPUs can
end up being stuck in a quasi online state. In the worst case a CPU
can be stuck in a state where the migration thread is parked while
another task is executing and changing affinity in a loop. This
combination can result in unbounded execution time for the running
task until the hotplugging thread gets the chance to run to complete
the hotplug operation.
Fix the said problem by ensuring that hotplug can only occur from
threads belonging to the RT sched class. This allows the hotplugging
thread priority on the CPU no matter what the system load or the
number of available CPUs are. If a SCHED_NORMAL task attempts to
hotplug a CPU, we temporarily elevate it's scheduling policy to RT.
Furthermore, we disallow hotplugging operations to begin if the
calling task belongs to the idle and deadline classes or those that
use the SCHED_BATCH policy.
Change-Id: Idbb1384626e6ddff46c0d2ce752eee68396c78af
Signed-off-by: Syed Rameez Mustafa <rameezmustafa@codeaurora.org>
Sujeev Dias [Fri, 3 Feb 2017 19:13:58 +0000 (11:13 -0800)]
msm: mhi_rmnet: add support for shutdown and system error notification
Add support to handle system error and shutdown notification
from MHI host.
CRs-Fixed:
2022936
Change-Id: Id36097dffd7571490d7d53d2e496bfe024702a42
Signed-off-by: Sujeev Dias <sdias@codeaurora.org>
Linux Build Service Account [Wed, 5 Apr 2017 19:17:10 +0000 (12:17 -0700)]
Merge "msm: mdss: dp: fix notifications for link training tests"
Linux Build Service Account [Wed, 5 Apr 2017 19:17:09 +0000 (12:17 -0700)]
Merge "ARM: dts: msm: Update MDSS max mixer/pipe width for sdm630"
Linux Build Service Account [Wed, 5 Apr 2017 19:17:08 +0000 (12:17 -0700)]
Merge "crypto: msm: Use appropriate logging function"
Linux Build Service Account [Wed, 5 Apr 2017 19:17:05 +0000 (12:17 -0700)]
Merge "qcom: smb1351: update CHARGING_ENABLE reporting logic"