OSDN Git Service
Yong Ding [Thu, 23 Nov 2017 09:42:15 +0000 (17:42 +0800)]
soc: qcom: hab: use separated irq for each pchan
Before this change, all physical channels share only one single irq
issued by only one single virtual shmem device from hypervisor.
To achieve better performance, each physical channel will be built
on top of one virtual shmem device with its own irq.
Change-Id: I5bf42896883865908c80df75f848174f4acf3717
Signed-off-by: Yong Ding <yongding@codeaurora.org>
Yong Ding [Mon, 27 Nov 2017 09:26:03 +0000 (17:26 +0800)]
soc: qcom: hab: add multi-GVMs support
This is the new feature to support multiple Guest Virtual
Machiness communications.
In the past, HAB driver supported the communication between
only one single GVM and the host machine. With this new
feature, more than one GVMs can communicate with the host
machine over HAB driver.
Change-Id: I22eb17b7cf367e25e2d829d9dbd2d3a3463be1e8
Signed-off-by: Yong Ding <yongding@codeaurora.org>
Yong Ding [Wed, 22 Nov 2017 07:31:04 +0000 (15:31 +0800)]
soc: qcom: hab: add clean up for GVM normal exit
When a GVM exits normally, it should detach from the shmem
to notify those who are also attached to this shmem.
Change-Id: I37e9d89e321a2feabf1ea134ced4b6d8dd2d3622
Signed-off-by: Yong Ding <yongding@codeaurora.org>
Yong Ding [Wed, 29 Nov 2017 05:46:07 +0000 (13:46 +0800)]
soc: qcom: hab: add time profiling function
With this profiling function, hab communication overhead can be
measured for performance debug.
Change-Id: I26dd487cfd1bbb811de69d8b35a7c095a21361ac
Signed-off-by: Yong Ding <yongding@codeaurora.org>
Yong Ding [Wed, 29 Nov 2017 09:31:05 +0000 (17:31 +0800)]
soc: qcom: hab: add __packed for export_desc
The export_desc structure is shared among Hypervisor and
GVMs(Guest Virtual Machines). With the explicit __packed
declared, it can have exactly the same memory layout in
Hypervisor and GVMs.
Change-Id: Iccd25e617dd3152f808593dd54b0a20baad02541
Signed-off-by: Yong Ding <yongding@codeaurora.org>
Yong Ding [Fri, 24 Nov 2017 09:27:23 +0000 (17:27 +0800)]
soc: qcom: hab: backend should listen without timeout
In the handshake stage of openning hab virtual channel,
hab backend should listen without timeout so that it just
keeps waiting for the coming connection from hab frontend.
Change-Id: I399fe050c5460bf3b56f862141320b2e2afe55e1
Signed-off-by: Yong Ding <yongding@codeaurora.org>
Yong Ding [Wed, 22 Nov 2017 03:11:23 +0000 (11:11 +0800)]
soc: qcom: hab: add some pchans for camera and clk
Add several more physical channels as MM_CAM2, MM_CLK_VM1
and MM_CLK_VM2.
Change-Id: I5f3138a9635e8ad0e1fcf2012d406b2d6a3db6c1
Signed-off-by: Yong Ding <yongding@codeaurora.org>
Linux Build Service Account [Wed, 29 Nov 2017 12:26:12 +0000 (04:26 -0800)]
Merge "DRM: SDE: Update the hdmi bridge to handle HPD clock"
Linux Build Service Account [Wed, 29 Nov 2017 12:26:11 +0000 (04:26 -0800)]
Merge "defconfig: msm: Enable USB audio QMI service driver for 8996"
Linux Build Service Account [Wed, 29 Nov 2017 12:26:09 +0000 (04:26 -0800)]
Merge "mmc: core: add power on to SD card detect"
Linux Build Service Account [Wed, 29 Nov 2017 12:26:08 +0000 (04:26 -0800)]
Merge "msm: ipa: dynamic memory leak fix"
Linux Build Service Account [Wed, 29 Nov 2017 12:26:06 +0000 (04:26 -0800)]
Merge "sound: usb: Provide controller number in QMI response"
Linux Build Service Account [Wed, 29 Nov 2017 12:26:05 +0000 (04:26 -0800)]
Merge "usb: core: Add helper function to return controller id"
Linux Build Service Account [Wed, 29 Nov 2017 12:26:04 +0000 (04:26 -0800)]
Merge "icnss: Remove MSA0 permission only when modem is crashed"
Linux Build Service Account [Tue, 28 Nov 2017 21:00:57 +0000 (13:00 -0800)]
Merge "platform: msm: Set USB speed to SUPER before calling notifier"
Michael Adisumarta [Thu, 2 Nov 2017 01:16:48 +0000 (18:16 -0700)]
msm: ipa: dynamic memory leak fix
This is a fix for dynamic memory leak seen with incorrectly
allocating memory of a different size than with intended
size.
Change-Id: I821442ee6728ea90ceab7644e194f4e06369333a
Acked-by: Jyothi Jayanthi <jyothij@qti.qualcomm.com>
Signed-off-by: Michael Adisumarta <madisuma@codeaurora.org>
Linux Build Service Account [Tue, 28 Nov 2017 11:16:33 +0000 (03:16 -0800)]
Merge "defconfig: msm: Enable SPI slave framework on 8996 Auto"
Linux Build Service Account [Tue, 28 Nov 2017 11:16:29 +0000 (03:16 -0800)]
Merge "defconfig: msm: enable memory hotplug support"
Linux Build Service Account [Tue, 28 Nov 2017 11:16:28 +0000 (03:16 -0800)]
Merge "arm64: Honor limits set by bootloader"
Linux Build Service Account [Tue, 28 Nov 2017 11:16:27 +0000 (03:16 -0800)]
Merge "arm64: Add "remove" probe driver for memory hot-remove"
Linux Build Service Account [Tue, 28 Nov 2017 11:16:26 +0000 (03:16 -0800)]
Merge "arm64: Hot-remove implementation for arm64"
Dilip Kota [Tue, 28 Nov 2017 04:31:48 +0000 (10:01 +0530)]
defconfig: msm: Enable SPI slave framework on 8996 Auto
Enable SPI slave protocol handlers.
Change-Id: I9458d6445db5f78a08cff9796d4f2e7afbc2909c
Signed-off-by: Dilip Kota <dkota@codeaurora.org>
Linux Build Service Account [Tue, 28 Nov 2017 00:06:01 +0000 (16:06 -0800)]
Merge "msm: sps: Restore ipc log destroy commands"
Linux Build Service Account [Tue, 28 Nov 2017 00:05:59 +0000 (16:05 -0800)]
Merge "defconfig: msm: Compile ADV7481 as a module"
Linux Build Service Account [Tue, 28 Nov 2017 00:05:58 +0000 (16:05 -0800)]
Merge "msm: ADSPRPC: Change SSC VMID from 5 to 38"
Linux Build Service Account [Tue, 28 Nov 2017 00:05:57 +0000 (16:05 -0800)]
Merge "ARM: dts: msm: Remove useless DSI panel commands for adv7533"
Linux Build Service Account [Tue, 28 Nov 2017 00:05:55 +0000 (16:05 -0800)]
Merge "mmc: card: Requeue the request if it fails during issuing"
Camus Wong [Thu, 23 Nov 2017 23:03:21 +0000 (18:03 -0500)]
DRM: SDE: Update the hdmi bridge to handle HPD clock
For non-pluggable display, it should not enable HPD. Instead, the
bridge should handle all the clocks for HDMI. Also the scrambler
should be activated after the HDMI has power on the clock.
Change-Id: I9162a49b8f314de4d30b0d82c7867a639ddf05a6
Signed-off-by: Camus Wong <camusw@codeaurora.org>
Rahul Sharma [Mon, 30 Oct 2017 18:42:53 +0000 (00:12 +0530)]
defconfig: msm: Compile ADV7481 as a module
Compile ADV7481 as a module, as part of kernel modularization
requirement.
Change-Id: Ie3e9669d05646503de6ddd3468cbd6da4ee4eae4
Suggested-by: Resmi Rajendran <resmir@qti.qualcomm.com>
Signed-off-by: Rahul Sharma <sharah@codeaurora.org>
Linux Build Service Account [Mon, 27 Nov 2017 12:36:18 +0000 (04:36 -0800)]
Merge "msm: mdss: hdmi: reset hdmi max supported TMDS clock"
Linux Build Service Account [Mon, 27 Nov 2017 12:36:17 +0000 (04:36 -0800)]
Merge "mmc: core: Return the error if command queue request fails"
Linux Build Service Account [Mon, 27 Nov 2017 12:36:15 +0000 (04:36 -0800)]
Merge "ARM: dts: msm: add psci for msm8996 auto virtual platform"
Daocai [Thu, 23 Nov 2017 07:27:21 +0000 (15:27 +0800)]
ARM: dts: msm: Remove useless DSI panel commands for adv7533
Remove "qcom,mdss-dsi-on-command" and "mdss-dsi-off command"
commands for boot up performance optimization.
The two commands are for native DSI panels without a bridge
chip. However,AUTO platform has adv7533 bridge chip,which
is controlled by I2C instead of the above two commands.
In addition,the two command will cause extra wait for about
210ms in dsi_panel_tx_cmd_set() for dsi_display_enbale().
This make drmAtomicCommit() in libdrm a little slower,
so total boot time will be longer.
Change-Id: I848d189d4055b5626eadd809fc5da7c9c4ecbcce
Signed-off-by: Daocai <daocai@codeaurora.org>
Narender Ankam [Tue, 17 Oct 2017 08:01:11 +0000 (13:31 +0530)]
msm: mdss: hdmi: reset hdmi max supported TMDS clock
In current HDMI driver, SVDs and DTDs derived from EDID
of a DS HDMI sink are checked for supportness based
on previous connection's max TMDS clock.
Always reset the max TMDS clock supported by source
before reading EDID from DS HDMI device.
Change-Id: If5f58562f186634b1ed066fdebfc9fa6b55c6e8a
Signed-off-by: Narender Ankam <nankam@codeaurora.org>
Yimin Peng [Tue, 14 Nov 2017 13:10:02 +0000 (21:10 +0800)]
ARM: dts: msm: add psci for msm8996 auto virtual platform
Hypervisor supports psci-1.0 not 0.1 and new function IDs
have been defined in psci driver.
Change-Id: Id257dd264f9ffc812879997c0b227e53f84c86a2
Signed-off-by: Yimin Peng <yiminp@codeaurora.org>
Linux Build Service Account [Mon, 27 Nov 2017 03:28:15 +0000 (19:28 -0800)]
Merge "spi: spi_qsd: Add slave support for QUP core"
Linux Build Service Account [Mon, 27 Nov 2017 03:28:14 +0000 (19:28 -0800)]
Merge "ARM: msm: dts: Enable support for audio tunneling mode for msm8996"
Linux Build Service Account [Sun, 26 Nov 2017 09:55:10 +0000 (01:55 -0800)]
Merge "ath10k: add support for wowlan offload for wcn3990 WLAN module"
Linux Build Service Account [Sun, 26 Nov 2017 09:55:07 +0000 (01:55 -0800)]
Merge "cfg80211: Make pre-CAC results valid only for ETSI domain"
Linux Build Service Account [Sun, 26 Nov 2017 00:21:07 +0000 (16:21 -0800)]
Merge "msm: camera: Prevent use-after-free in v4l2_event_subscribe."
Linux Build Service Account [Sat, 25 Nov 2017 05:53:39 +0000 (21:53 -0800)]
Merge "Bluetooth: Fix for checking proper user-supplied buffers"
Linux Build Service Account [Sat, 25 Nov 2017 05:53:38 +0000 (21:53 -0800)]
Merge "Bluetooth - Fix for checking proper user-supplied buffers"
Linux Build Service Account [Fri, 24 Nov 2017 20:07:41 +0000 (12:07 -0800)]
Merge "msm: msm_bus: Add mutex lock for floor vote data"
Veerabhadrarao Badiganti [Mon, 9 Oct 2017 15:55:05 +0000 (21:25 +0530)]
mmc: card: Requeue the request if it fails during issuing
In the cmdq request issuing path, cq driver invokes ICE driver calls
to get the configuration for encrypting/decrypting the data requests.
The ice driver in-turn makes calls to secure world (TZ) which can
process only single task at a time. If TZ is busy in servicing
something else when ICE driver invokes it, ICE driver would return
-EBUSY to cmdq driver.
The requests which failed due to ice error are neither issued to h/w
nor errored out, so resulting in filesystem corruptions.
We must re-queue the requests which failed with -EBUSY error, so that
it will be re-issued again as very next request.
Change-Id: I4557a5c3aca8dd53740e48e516e6011787df50d8
Signed-off-by: Veerabhadrarao Badiganti <vbadigan@codeaurora.org>
Balvinder Singh [Mon, 6 Nov 2017 06:20:46 +0000 (11:50 +0530)]
Bluetooth - Fix for checking proper user-supplied buffers
During patch download of devices, size validations & zero alloc
the buffers to ensure values passed are in range
CRs-fixed:
2084692
Change-Id: Ie1cd76fe68766d6d12d7262202e48c18ebe42274
Signed-off-by: Balvinder Singh <bpsingh@codeaurora.org>
Veerabhadrarao Badiganti [Mon, 9 Oct 2017 14:43:45 +0000 (20:13 +0530)]
mmc: core: Return the error if command queue request fails
command-queue request may fail during preparation/issuing in some
cases. In case if it fails, the error code needs to be propagated back
to the function which initiated the request so that the request can be
handled appropriately.
Change-Id: Ia6946c14f0c106fb30bd70ca5c9e600c516fdf55
Signed-off-by: Veerabhadrarao Badiganti <vbadigan@codeaurora.org>
Veerabhadrarao Badiganti [Mon, 9 Oct 2017 14:21:46 +0000 (19:51 +0530)]
mmc: cmdq_hci: Remove runtime PM vote if request issuing fails
Remove the runtime PM vote if command-queue request processing fails.
Otherwise, in case command-queue request preparation fails,
the runtime PM votes go out of sync and sdhc platform device suspend
might get blocked.
Change-Id: Ibe95e1653f7558a7994b606922a1625b429d57f6
Signed-off-by: Veerabhadrarao Badiganti <vbadigan@codeaurora.org>
Balvinder Singh [Mon, 6 Nov 2017 06:25:30 +0000 (11:55 +0530)]
Bluetooth: Fix for checking proper user-supplied buffers
During patch download procedure, size validation and zero
allocation of buffers are done to ensure values passed are
in permissible range
CRs-fixed:
2082452
Change-Id: I1c14e30f14af0279258efd0eadd8ab8ed6d8cf55
Signed-off-by: Balvinder Singh <bpsingh@codeaurora.org>
Hemant Kumar [Fri, 18 Aug 2017 00:34:05 +0000 (17:34 -0700)]
sound: usb: Provide controller number in QMI response
In order to support tunnel mode on multiple usb conttollers
qmi service needs to provide the controller number in
enable audio stream QMI response so that remote entity
programs appropriate usb controller to initiate data transfer
with USB audio device. Also, update QMI response message data
structure with optional speed_info.
Change-Id: I1d4968c19601a3984bf60e7754a6d88473540166
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
Hemant Kumar [Fri, 18 Aug 2017 00:01:00 +0000 (17:01 -0700)]
usb: core: Add helper function to return controller id
Function provides controller id used by a remote entity
to identify which usb controller to program to initiate
data transfer.
Change-Id: Ied396f34496104c139a7910ee86844c124e6803f
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
Hemant Kumar [Fri, 18 Aug 2017 23:59:33 +0000 (16:59 -0700)]
usb: host: xhci: Add helper function to return controller id
Function provides controller id used by a remote entity
to identify which usb controller to program to initiate
data transfer.
Change-Id: Ie700363c1a4a19aeb6b51305c97298f3b4d6e387
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
Hemant Kumar [Fri, 18 Aug 2017 23:40:58 +0000 (16:40 -0700)]
usb: host: Add support for usb core indexing
Unique usb core id is used to differentiate between
different usb controllers.
Change-Id: Ibd886f704e7ecedfbf035b8e5adea2852ddf25bf
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
Jishnu Prakash [Fri, 24 Nov 2017 07:50:19 +0000 (13:20 +0530)]
msm: sps: Restore ipc log destroy commands
Changes got reverted accidentally with commit
e498154c0976
("msm: sps: Update debug message format specifier")
restoring them again.
Change-Id: I6c2c7b4d636131341139d89ff4d59b608df5da9b
Signed-off-by: Jishnu Prakash <jprakash@codeaurora.org>
Linux Build Service Account [Fri, 24 Nov 2017 07:38:13 +0000 (23:38 -0800)]
Merge "msm: wlan: Update regulatory database"
c_mtharu [Fri, 24 Nov 2017 06:47:28 +0000 (12:17 +0530)]
msm: ADSPRPC: Change SSC VMID from 5 to 38
Change Dest VM of SSC from 5 to 38 and it can be unmapped to
HLOS through hyp_assign.
Change-Id: I8e4ace8e9722d4fa79b553ad6b8d29353954f8c5
Signed-off-by: Tharun Kumar Merugu <mtharu@codeaurora.org>
Sarada Prasanna Garnayak [Thu, 23 Nov 2017 11:04:45 +0000 (16:34 +0530)]
ath10k: add support for wowlan offload for wcn3990 WLAN module
Define data structure and callback for the ARP and NS offload
for the ath10k wcn3990 WLAN module. Configure the ARP offload
parameter and enable ARP offload request flag for each vdev
if the vdev in station mode.
This feature adds support to wakeup the device from sleep state
through wowlan event if the ARP request pattern matched with
pattern configured by WLAN module during wow suspend.
CRs-Fixed:
2146265
Change-Id: I54c3491493ad46a7db2adbf71ae1668cf9a88e51
Signed-off-by: Sarada Prasanna Garnayak <sgarna@codeaurora.org>
Odelu Kukatla [Thu, 23 Nov 2017 17:06:03 +0000 (22:36 +0530)]
msm: msm_bus: Add mutex lock for floor vote data
Floor vote data needs to be protected with mutex lock to
avoid double free of memory due to race condtion.
Change-Id: Ifaa01a14d273ccba6b9463aff3a41c0038b05f06
Signed-off-by: Odelu Kukatla <okukatla@codeaurora.org>
Ajay Agarwal [Thu, 23 Nov 2017 16:30:00 +0000 (22:00 +0530)]
platform: msm: Set USB speed to SUPER before calling notifier
Currently we set the USB speed to SUPER after calling vbus/id
notifier callback. As a part of cable connect, is USB speed
is set to SUPER after connect resume_work is called, then we
do not initialise the SSPHY. So clocks are OFF.
But as part of cable disconnect, if USB speed is set to SUPER
before disconnect resume_work is called, then we try to
suspend SSPHY resulting in unclocked access.
Fix this by mandatorily setting USB speed to SUPER before
queuing VBUS/ID notifier.
Change-Id: Iac4411ddafd87909b1b26c9b5a8eb354a073d268
Signed-off-by: Ajay Agarwal <ajaya@codeaurora.org>
Linux Build Service Account [Thu, 23 Nov 2017 22:01:19 +0000 (14:01 -0800)]
Merge "msm: vidc: Fix memory leak issue"
Linux Build Service Account [Thu, 23 Nov 2017 22:01:17 +0000 (14:01 -0800)]
Merge "msm: vidc: Update extradata address mapping"
Linux Build Service Account [Thu, 23 Nov 2017 22:01:16 +0000 (14:01 -0800)]
Merge "msm: camera: isp: Enable epoch2 interrupt for pipeline 47"
Linux Build Service Account [Thu, 23 Nov 2017 22:01:14 +0000 (14:01 -0800)]
Merge "ath10k: Enable WoWLAN for the wcn3990 snoc wlan module"
Linux Build Service Account [Thu, 23 Nov 2017 22:01:13 +0000 (14:01 -0800)]
Merge "scsi: ufs: Get TX and RX fsm state in case of abort"
Linux Build Service Account [Thu, 23 Nov 2017 22:01:12 +0000 (14:01 -0800)]
Merge "drm/msm: protect register dumps and debugfs with mutex"
Linux Build Service Account [Thu, 23 Nov 2017 22:01:11 +0000 (14:01 -0800)]
Merge "USB: gsi: Ring Doorbell to GSI if check for suspend fails"
Linux Build Service Account [Thu, 23 Nov 2017 13:00:02 +0000 (05:00 -0800)]
Merge "ARM: dts: msm: update the new HDMI splash address on msm8996"
Sriharsha Allenki [Thu, 23 Nov 2017 11:45:18 +0000 (17:15 +0530)]
defconfig: msm: Enable USB audio QMI service driver for 8996
This allows APPS USB XHCI driver to offload the USB audio
ISOC data transfer to remote processor. USB audio QMI driver
starts a QMI service to communicate with remote processor to
exchange audio stream related information.
Change-Id: If7bcd41eb5e169551f18d8ed64d38fe17fa1df91
Signed-off-by: Sriharsha Allenki <sallenki@codeaurora.org>
Dilip Kota [Thu, 27 Oct 2016 22:14:28 +0000 (16:14 -0600)]
spi: spi_qsd: Add slave support for QUP core
The QUP core can be programmed to operate as an SPI slave. This
change modifies the existing SPI master driver and adds the slave
functionality.
Change-Id: I73189339956e0fd52449391737fb1e616a6e0bb2
Signed-off-by: Dilip Kota <dkota@codeaurora.org>
Rajeev Kumar Sirasanagandla [Thu, 23 Nov 2017 08:50:01 +0000 (14:20 +0530)]
msm: wlan: Update regulatory database
Remove 160 MHz band-width support for VN as per master sheet
CRs-Fixed:
2145374
Change-Id: Id0cda10bf3343bccda5eea08ae5369754bb40edb
Signed-off-by: Rajeev Kumar Sirasanagandla <rsirasan@codeaurora.org>
Lokesh Kumar Aakulu [Thu, 28 Sep 2017 10:58:19 +0000 (16:28 +0530)]
msm: camera: isp: Enable epoch2 interrupt for pipeline 47
Enable epoch2 interrupt and configure the line as asked
by input camif configuration from user library
Change-Id: Id4f623a907b385a17d63c35fc7746117b666d885
Signed-off-by: Lokesh Kumar Aakulu <lkumar@codeaurora.org>
Vasanthakumar Thiagarajan [Fri, 10 Nov 2017 10:05:46 +0000 (15:35 +0530)]
cfg80211: Make pre-CAC results valid only for ETSI domain
DFS requirement for ETSI domain (section 4.7.1.4 in
ETSI EN 301 893 V1.8.1) is the only one which explicitly
states that once DFS channel is marked as available afer
the CAC, this channel will remain in available state even
moving to a different operating channel. But the same is
not explicitly stated in FCC DFS requirement. Also, Pre-CAC
requriements are not explicitly mentioned in FCC requirement.
Current implementation in keeping DFS channel in available
state is same as described in ETSI domain.
For non-ETSI DFS domain, this patch gives a grace period of 2 seconds
since the completion of successful CAC before moving the channel's
DFS state to 'usable' from 'available' state. The same grace period
is checked against the channel's dfs_state_entered timestamp while
deciding if a DFS channel is available for operation. There is a new
radar event, NL80211_RADAR_PRE_CAC_EXPIRED, reported when DFS channel
is moved from available to usable state after the grace period. Also
make sure the DFS channel state is reset to usable once the beaconing
operation on that channel is brought down (like stop_ap, leave_ibss
and leave_mesh) in non-ETSI domain.
Signed-off-by: Vasanthakumar Thiagarajan <vthiagar@qti.qualcomm.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next.git
Git-commit:
b35a51c7dd25a823767969e3089542d7478777e9
[svishnoi@codeaurora.org: removed NaN interface type from switch case in net/wireless/chan.c
as NaN interface is not supported]
Change-Id: Iba19513d1e40fe5da129d6251212c33d1361fec3
Signed-off-by: Surabhi Vishnoi <svishnoi@codeaurora.org>
Sayali Lokhande [Wed, 15 Nov 2017 10:24:33 +0000 (15:54 +0530)]
scsi: ufs: Get TX and RX fsm state in case of abort
If ufshcd_print_fsm_state() is called during UIC
commands failure, mutex lockup issue is observed
for uic_cmd_mutex. To fix this, read TX and RX
FSM states for UFS aborts cases only, for debugging
purpose.
Change-Id: I716251ec90ef406d9cff1f8a6aa6bc2f8f46926d
Signed-off-by: Sayali Lokhande <sayalil@codeaurora.org>
Linux Build Service Account [Thu, 23 Nov 2017 03:51:29 +0000 (19:51 -0800)]
Merge "ath10k: configure the vdev listen interval before wow suspend"
Linux Build Service Account [Thu, 23 Nov 2017 03:51:28 +0000 (19:51 -0800)]
Merge "msm: ipa: Fix to race condition proxy clock voting"
Linux Build Service Account [Thu, 23 Nov 2017 03:51:27 +0000 (19:51 -0800)]
Merge "msm: ipa: UAPI security code changes"
Linux Build Service Account [Thu, 23 Nov 2017 03:51:25 +0000 (19:51 -0800)]
Merge "drm/msm: implement HDMI teardown sequence for DRM driver"
Linux Build Service Account [Thu, 23 Nov 2017 03:51:24 +0000 (19:51 -0800)]
Merge "mhi: core: fix sequence for new transfer"
Linux Build Service Account [Thu, 23 Nov 2017 03:51:23 +0000 (19:51 -0800)]
Merge "msm: ipa3: Fix IPA aggregation force close call"
Linux Build Service Account [Thu, 23 Nov 2017 03:51:22 +0000 (19:51 -0800)]
Merge "msm: sps: Update debug message format specifier"
Linux Build Service Account [Thu, 23 Nov 2017 03:51:21 +0000 (19:51 -0800)]
Merge "Revert "scsi: ufshcd: Flush exception event before suspend""
Linux Build Service Account [Thu, 23 Nov 2017 03:51:20 +0000 (19:51 -0800)]
Merge "scsi: ufs: Fix off-by-one bug in ufs debugfs driver"
Linux Build Service Account [Thu, 23 Nov 2017 03:51:19 +0000 (19:51 -0800)]
Merge "arm64: memory-hotplug: Add MEMORY_HOTPLUG, MEMORY_HOTREMOVE, MEMORY_PROBE"
Linux Build Service Account [Thu, 23 Nov 2017 03:51:17 +0000 (19:51 -0800)]
Merge "msm: sde: disable support for v4l2 event subscription"
Linux Build Service Account [Thu, 23 Nov 2017 03:51:16 +0000 (19:51 -0800)]
Merge "msm: mdss: hdmi: clear deep color bits in the HDMI controller"
Linux Build Service Account [Thu, 23 Nov 2017 03:51:14 +0000 (19:51 -0800)]
Merge "smb-lib: allow hvdcp if pd is disabled"
Linux Build Service Account [Thu, 23 Nov 2017 03:51:13 +0000 (19:51 -0800)]
Merge "icnss: Send early modem crash notification to wlan driver"
Linux Build Service Account [Thu, 23 Nov 2017 03:51:12 +0000 (19:51 -0800)]
Merge "usb: dwc3: Fix incorrect ep0 state on reset"
Sarada Prasanna Garnayak [Fri, 6 Oct 2017 10:59:41 +0000 (16:29 +0530)]
ath10k: Enable WoWLAN for the wcn3990 snoc wlan module
Register snoc bus layer suspend/resume PM ops and configure
the wakeup source for the device to adds support for WOWLAN
feature for the wcn3990 snoc wlan module.
CRs-Fixed:
2139961
Change-Id: Ic43414b965aee27564f8bbbe237c706f5262c2e4
Signed-off-by: Sarada Prasanna Garnayak <sgarna@codeaurora.org>
Sarada Prasanna Garnayak [Wed, 22 Nov 2017 15:15:22 +0000 (20:45 +0530)]
net: update rdev suspend method for the wowlan suspend/resume
Pass wowlan configuration data as parameter in the rdev
suspend. The userspace wlan utility (iw, wpa_supplicant etc.)
configured the wow pattern and event through nl80211 cmd.
During the wlan system suspend the wlan device configured the
wakeup source and event as per the configuration data passed
by the wlan utility to wkae up the device from the sleep state
on wow pattern or event match.
CRs-Fixed:
2147919
Change-Id: Iaca21724e8dd5a9c18e104c44ee6fe73752594e6
Signed-off-by: Sarada Prasanna Garnayak <sgarna@codeaurora.org>
Sarada Prasanna Garnayak [Sat, 11 Nov 2017 08:37:04 +0000 (14:07 +0530)]
ath10k: configure the vdev listen interval before wow suspend
During the WLAN WOWLAN mode the default listen interval needs
to be configured for each vdev to receive and process the WLAN
WOW pattern match found by the WLAN firmware.
Improper listen interval configuration for the vdev leads to WOW
pattern match missing by the WLAN module and a result WLAN module
failed to wakeup the target as per the WOW pattern configured
during WOWLAN suspend method.
CRs-Fixed:
2141933
Change-Id: I4b4e03c134ecea328bbda55748b1dd633697167a
Signed-off-by: Sarada Prasanna Garnayak <sgarna@codeaurora.org>
Arun KS [Wed, 20 Sep 2017 09:51:08 +0000 (15:21 +0530)]
defconfig: msm: enable memory hotplug support
Enable memory hotplug for msm8996 on automotive targets.
Change-Id: I3cc52027e7d41384b9bfa24e858e3cf14c8940e3
Signed-off-by: Arun KS <arunks@codeaurora.org>
Arun KS [Mon, 9 Oct 2017 11:09:57 +0000 (16:39 +0530)]
arm64: Add fallback option during memory hot add
Section mapping is good for TLB. But sometimes, when
system is low on physically continuous memory, this can
cause memory allocation failures. Add a fallback option to
allocate vmemmap pages from discontinuous pages.
Change-Id: Ide921c36c1e8980a8af047e2c991310405804858
Signed-off-by: Arun KS <arunks@codeaurora.org>
Signed-off-by: Vinayak Menon <vinmenon@codeaurora.org>
Arun KS [Fri, 15 Sep 2017 08:22:00 +0000 (13:52 +0530)]
arm64: Honor limits set by bootloader
Introduce a varible to save bootloader enforced memory limits and
restricts adding beyond this boundary during a memory hotplug.
Change-Id: I28c100644b7287ec4625c4c018b5fffc865e2e72
Signed-off-by: Arun KS <arunks@codeaurora.org>
Mohammed Javid [Mon, 13 Nov 2017 18:13:27 +0000 (23:43 +0530)]
msm: ipa: Fix to race condition proxy clock voting
Added code changes to fix the race condition during
proxy clock voating in IPA.
Change-Id: I1fee17836bf58d25f461643ea1e60bcd06182372
Acked-by: Ashok Vuyyuru <avuyyuru@qti.qualcomm.com>
Signed-off-by: Mohammed Javid <mjavid@codeaurora.org>
Mohammed Javid [Mon, 6 Nov 2017 12:19:56 +0000 (17:49 +0530)]
msm: ipa3: Fix IPA aggregation force close call
In IPA driver uninitialized structure causing some
garbage values result into IPA data stall.
Added code changes to reset zero uninitialized structure.
Change-Id: I3b98041f8a96ea1d571eeaa60fc84457f6309d45
Acked-by: Ashok Vuyyuru <avuyyuru@qti.qualcomm.com>
Signed-off-by: Mohammed Javid <mjavid@codeaurora.org>
Subhash Jadavani [Thu, 16 Nov 2017 22:32:28 +0000 (14:32 -0800)]
Revert "scsi: ufshcd: Flush exception event before suspend"
This reverts commit
de406d12ef760a7536a486e19016e8e38251f1bc.
In case of a background operations exception, there could be a deadlock:
-000|__switch_to()
-001|context_switch(inline)
-001|__schedule()
-002|schedule()
-003|schedule_timeout()
-004|do_wait_for_common(inline)
-004|__wait_for_common(inline)
-004|wait_for_common()
-005|wait_for_completion()
-006|destroy_work_on_stack(inline)
-006|flush_work()
-007|ufshcd_suspend()
-008|ufshcd_runtime_suspend()
-009|ufshcd_pltfrm_runtime_suspend()
-010|pm_generic_runtime_suspend()
-011|__rpm_callback(inline)
-011|rpm_callback()
-012|rpm_suspend()
-013|rpm_idle()
-014|__pm_runtime_idle()
-015|ufshcd_exception_event_handler()
-016|__read_once_size(inline)
-016|static_key_count(inline)
-016|static_key_false(inline)
-016|trace_workqueue_execute_end(inline)
-016|process_one_work()
-017|__read_once_size(inline)
-017|list_empty(inline)
-017|worker_thread()
-018|kthread()
-019|ret_from_fork(asm)
Exception handler tried to suspend UFS synchronously and suspend tries to
flush the currently running exception handler work which results into
deadlock. Revert this change until we find proper fix for this.
Change-Id: I2b8efdf583d08a276b987914c1037619eb8b25f7
Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
Rahul Sharma [Tue, 21 Nov 2017 15:36:18 +0000 (21:06 +0530)]
ARM: dts: msm: update the new HDMI splash address on msm8996
HDMI continuous splash memory addrerss has been changed in bootloader.
This change updates the splash memory address to support the smooth
LK to kernel handoff.
Change-Id: If9c8f20b8215a4ea835b0e070feb2b51364772e6
Signed-off-by: Rahul Sharma <sharah@codeaurora.org>
Arun KS [Wed, 20 Sep 2017 07:50:41 +0000 (13:20 +0530)]
mm/Kconfig: Enable MEMORY_HOTPLUG for arm64
Add arm64 to the list of architectures which supports
memory hotplug.
Change-Id: Iefeb8294bf06eaebb17a3b3aa8b33bb3b7133099
Signed-off-by: Arun KS <arunks@codeaurora.org>
Signed-off-by: Srivatsa Vaddagiri <vatsa@codeaurora.org>
Andrea Reale [Fri, 28 Apr 2017 08:50:16 +0000 (14:20 +0530)]
arm64: Add "remove" probe driver for memory hot-remove
Allows to remove sections of memory that have been previously offlined
from userspace.
This is symmetric to the "memory probe" interface, as described in
Documentation/memory-hotplug.txt. It can be used to manually notify the
OS that one memory section has been removed.
Please, remind that a memory section can only be removed after it has
been logically off-lined; trying to remove a section which has not been
previously off-lined is not supported and will have undefined (but most
likely very bad) behaviour.
To offline a section one can:
To use the remove interface to remove the section:
where 0xYYYYYY is the physical address of the memory section to remove.
Change-Id: I1ab2fafe17b2697a5c667feae25c4ac0655f394e
Signed-off-by: Andrea Reale <ar@linux.vnet.ibm.com>
Signed-off-by: Maciej Bielski <m.bielski@virtualopensystems.com>
Patch-mainline: linux-kernel @ 11 Apr 2017, 18:25
Signed-off-by: Srivatsa Vaddagiri <vatsa@codeaurora.org>
Andrea Reale [Fri, 28 Apr 2017 08:48:26 +0000 (14:18 +0530)]
arm64: Hot-remove implementation for arm64
- arch_remove_memory interface
- kernel page tables cleanup
- vmemmap_free implementation for arm64
Change-Id: I8945b6b91ed7012abc1478de266302427ebeb639
Signed-off-by: Andrea Reale <ar@linux.vnet.ibm.com>
Signed-off-by: Maciej Bielski <m.bielski@virtualopensystems.com>
Patch-mainline: linux-kernel @ 11 Apr 2017, 18:25
Signed-off-by: Srivatsa Vaddagiri <vatsa@codeaurora.org>
Signed-off-by: Arun KS <arunks@codeaurora.org>