Commit graph

595592 commits

Author SHA1 Message Date
Linux Build Service Account
aab5d115b6 Merge "power: qpnp-fg-gen3: Update ESR filter coefficients for low temperature" 2017-12-19 13:24:09 -08:00
Shihuan Liu
4c902280da msm: ipa: add new IP filtering bitmaps
Add new IP filtering bitmaps to match TCP SYN packets.

Change-Id: I73ab2944c3d351fdb57f147d3efedd1b5829835e
Acked-by: Pooja Kumari <kumarip@qti.qualcomm.com>
Signed-off-by: Mohammed Javid <mjavid@codeaurora.org>
Acked-by: Shihuan Liu <shihuanl@qti.qualcomm.com>
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
2017-12-19 11:34:42 -08:00
Mohammed Javid
50e6a826d7 msm: ipa: Change error value for set quota
Currently IPA send common error -EFAULT to user space
in case of IOCTL fails. Change error value for set quota
based on error received from modem.

Change-Id: Ib6ba487a186245ddf752cd08de12293af1ea1bb9
Acked-by: Pooja Kumari <kumarip@qti.qualcomm.com>
Signed-off-by: Mohammed Javid <mjavid@codeaurora.org>
2017-12-19 03:41:28 -08:00
Linux Build Service Account
f05aab07b7 Merge "ARM: dts: msm: add vwatchdog and memdump for gvm on msm8996" 2017-12-19 02:33:31 -08:00
Linux Build Service Account
12c0bc48ce Merge "qseecom: resend continue blocked listener request" 2017-12-19 02:33:30 -08:00
Zhiqiang Tu
e912005f86 ARM: dts: msm: Remove spi_9 and i2c_8 in msm8996 ivi vplatform
Remove spi_9 and i2c_8 since they are not needed.

Change-Id: I1fe4d722e79ebdc5e779f974ca51cc8a8424d564
Signed-off-by: Zhiqiang Tu <ztu@codeaurora.org>
2017-12-19 14:27:02 +08:00
Zhiqiang Tu
60c92e2064 ARM: dts: msm: Remove blsp1_uart2 on msm8996 telematics vplatform
Remove blsp1_uart2 since it is not needed.

Change-Id: If412f12cb1fd455cc7d4e7698d0c202ad80f35ae
Signed-off-by: Zhiqiang Tu <ztu@codeaurora.org>
2017-12-19 14:17:32 +08:00
Linux Build Service Account
1c86ad4bd6 Merge "ARM: dts: msm: Add new device properties for msm8996 agave" 2017-12-18 15:25:05 -08:00
Linux Build Service Account
b878c26f4f Merge "defconfig: msm: add vwatchdog and memdump for gvm" 2017-12-18 15:25:03 -08:00
Linux Build Service Account
b2fc2d0863 Merge "drm/mm: Fix NULL pointer dereference in allocator" 2017-12-18 15:25:02 -08:00
Linux Build Service Account
17d650383a Merge "drm/msm: Set proper GEM address space range for drm mm allocator" 2017-12-18 15:25:01 -08:00
Zhen Kong
0a2d725d48 qseecom: resend continue blocked listener request
When new cmd with session_id is not supported by TZ, resend
continue blocked listener request with legacy cmd using app_id.
Also set dummy app_id in qseecom_process_listener_from_smcinvoke
to support legacy cmd.

Change-Id: Icafc77cece23daff0f2ceb89c10e82a822eb582a
Signed-off-by: Zhen Kong <zkong@codeaurora.org>
2017-12-18 13:59:20 -08:00
Yong Ding
8ad90a3cf7 soc: qcom: hab: add some code clean up
Add some code clean up for hab driver, including removing
implicit type conversion, and etc.

Change-Id: Ic2910f48063e22d1708972c1e0a5d23cbf179874
Signed-off-by: Yong Ding <yongding@codeaurora.org>
2017-12-18 18:41:11 +08:00
Yong Ding
cd4b6d858f soc: qcom: hab: fix issues in multi-threads cases
In multi-threads stress tests, some synchronization issues
were found. Here are the fixes for them.

Change-Id: I43a1fef5771af08f3fe7c0be486cc2d36667e773
Signed-off-by: Yong Ding <yongding@codeaurora.org>
2017-12-18 18:41:07 +08:00
Yong Ding
3addfa2d6e 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>
2017-12-18 18:41:01 +08:00
Yong Ding
8185adc10d 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>
2017-12-18 18:39:55 +08:00
Linux Build Service Account
c2e3a1a7e7 Merge "ARM: dts: msm: memory rework for gvm on msm8996" 2017-12-18 01:19:12 -08:00
Srinivasarao P
bb6e807311 Merge android-4.4.97 (46d256d) into msm-4.4
* refs/heads/tmp-46d256d
  Linux 4.4.97
  staging: r8712u: Fix Sparse warning in rtl871x_xmit.c
  xen: don't print error message in case of missing Xenstore entry
  bt8xx: fix memory leak
  s390/dasd: check for device error pointer within state change interrupts
  mei: return error on notification request to a disconnected client
  exynos4-is: fimc-is: Unmap region obtained by of_iomap()
  staging: lustre: ptlrpc: skip lock if export failed
  staging: lustre: hsm: stack overrun in hai_dump_data_field
  staging: lustre: llite: don't invoke direct_IO for the EOF case
  platform/x86: intel_mid_thermal: Fix module autoload
  scsi: aacraid: Process Error for response I/O
  xen/manage: correct return value check on xenbus_scanf()
  cx231xx: Fix I2C on Internal Master 3 Bus
  perf tools: Only increase index if perf_evsel__new_idx() succeeds
  drm/amdgpu: when dpm disabled, also need to stop/start vce.
  i2c: riic: correctly finish transfers
  ext4: do not use stripe_width if it is not set
  ext4: fix stripe-unaligned allocations
  staging: rtl8712u: Fix endian settings for structs describing network packets
  mfd: axp20x: Fix axp288 PEK_DBR and PEK_DBF irqs being swapped
  mfd: ab8500-sysctrl: Handle probe deferral
  ARM: pxa: Don't rely on public mmc header to include leds.h
  mmc: s3cmci: include linux/interrupt.h for tasklet_struct
  PM / wakeirq: report a wakeup_event on dedicated wekup irq
  Fix tracing sample code warning.
  tracing/samples: Fix creation and deletion of simple_thread_fn creation
  drm/msm: fix an integer overflow test
  drm/msm: Fix potential buffer overflow issue
  perf tools: Fix build failure on perl script context
  ocfs2: fstrim: Fix start offset of first cluster group during fstrim
  ARM: 8715/1: add a private asm/unaligned.h
  ARM: dts: mvebu: pl310-cache disable double-linefill
  arm64: ensure __dump_instr() checks addr_limit
  ASoC: adau17x1: Workaround for noise bug in ADC
  KEYS: fix out-of-bounds read during ASN.1 parsing
  KEYS: return full count in keyring_read() if buffer is too small
  cifs: check MaxPathNameComponentLength != 0 before using it
  ALSA: seq: Fix nested rwsem annotation for lockdep splat
  ALSA: timer: Add missing mutex lock for compat ioctls
  BACKPORT: xfrm: Clear sk_dst_cache when applying per-socket policy.
  Revert "ANDROID: sched/rt: schedtune: Add boost retention to RT"
  cpufreq: Drop schedfreq governor
  ANDROID: sched/rt: schedtune: Add boost retention to RT
  ANDROID: sched/rt: add schedtune accounting
  ANDROID: Revert "arm64: move ELF_ET_DYN_BASE to 4GB / 4MB"
  ANDROID: Revert "arm: move ELF_ET_DYN_BASE to 4MB"
  sched: EAS: Fix the calculation of group util in group_idle_state()
  sched: EAS: update trg_cpu to backup_cpu if no energy saving for target_cpu
  sched: EAS: Fix the condition to distinguish energy before/after

Conflicts:
	drivers/cpufreq/Kconfig
	drivers/gpu/drm/msm/msm_gem_submit.c
	kernel/sched/core.c
	kernel/sched/fair.c
	kernel/sched/rt.c
	kernel/sched/sched.h

Change-Id: I0d8c5287cb67fd47c8944a002c0ca71adcdef537
Signed-off-by: Srinivasarao P <spathi@codeaurora.org>
2017-12-18 14:23:14 +05:30
Aditya Bavanari
c643a15d73 ASoC: apr: Add validity check to APR port
Add boundary checks for APR port received from ADSP.

CRs-Fixed: 2143207
Change-Id: I9a7fa39ee223e1859323caa6eb74c1c8a26a041d
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
2017-12-18 12:22:43 +05:30
Rahul Sharma
bd61eed286 ARM: dts: msm: Add new device properties for msm8996 agave
Add lane_count, settle_count and resolution array
device properties to adv7481 device on msm8996 agave.

Change-Id: I512d3f7339905cb67613ca706c978f23dde599ae
Signed-off-by: Rahul Sharma <sharah@codeaurora.org>
2017-12-18 12:14:34 +05:30
Yimin Peng
7632bd7e03 ARM: dts: msm: add vwatchdog and memdump for gvm on msm8996
Add devices for virtual watchdong and memory dump function.

Change-Id: Ic3d26e8438cd2fcd4fcf0a6091ecd40ffa956c22
Signed-off-by: Yimin Peng <yiminp@codeaurora.org>
2017-12-18 11:11:35 +08:00
Yimin Peng
58f8575c78 defconfig: msm: add vwatchdog and memdump for gvm
add support to virtual watchdog and memory dump function.

Change-Id: If585e8e900487818d12cce9592c357f9a5ccfe7e
Signed-off-by: Yimin Peng <yiminp@codeaurora.org>
2017-12-18 11:09:55 +08:00
Linux Build Service Account
b598eeb6bc Merge "serial: msm_serial_hs: Allow system suspend when no client is active" 2017-12-17 08:28:54 -08:00
Linux Build Service Account
02a73d4553 Merge "qseecom: support listener request from smcinvoke without reentrancy" 2017-12-16 00:56:46 -08:00
Linux Build Service Account
dd2fb75a0c Merge "qseecom: fix an issue when requested listener svc id does not exist" 2017-12-16 00:56:44 -08:00
Gustavo Solaira
3195fe4c37 ARM: dts: msm: Add option to ethernet node on msm8996 CV2X
The ethernet chip has the PERST connected to its reset pin
on msm8996 CV2X boards so it has to be fully reset after
system resume, add this flag so the driver can perform the
correct operation.

Change-Id: I97ecddb4fd7830081c5af7dc9578466e995bb9dd
Signed-off-by: Gustavo Solaira <gustavos@codeaurora.org>
2017-12-15 19:06:41 -08:00
Zhen Kong
f20c33ce06 qseecom: support listener request from smcinvoke without reentrancy
Add support to process listener request from smcinvoke when
reentrancy is disabled.

Change-Id: I2ce030cf6d5104ca2dec1402634a05d425e6d474
Signed-off-by: Zhen Kong <zkong@codeaurora.org>
2017-12-15 15:26:57 -08:00
Linux Build Service Account
0181952bf7 Merge "adv7481: Remove conditional compilation for PM functions" 2017-12-15 14:14:38 -08:00
Linux Build Service Account
89db7216b2 Merge "drm/msm: Correctly retrieve gpu's active power level" 2017-12-15 14:14:37 -08:00
Linux Build Service Account
62d6ead3ee Merge "ARM: dts: msm: blsp and sdhci switch to virtual clock on msm8996 vplatform" 2017-12-15 14:14:36 -08:00
Linux Build Service Account
5074886944 Merge "clk: msm: virtual clock adds support for usb, lpass and modem" 2017-12-15 14:14:35 -08:00
Linux Build Service Account
cfeef3fc55 Merge "msm: ipa: Fix to validate routing table index for filter exception" 2017-12-15 14:14:34 -08:00
Linux Build Service Account
f582d69d42 Merge "msm: mdss: Trigger idle fallback when no update due to touch" 2017-12-15 14:14:33 -08:00
Linux Build Service Account
6897701011 Merge "drivers: net: can: Add suspend/resume routine for CAN driver" 2017-12-15 14:14:32 -08:00
Linux Build Service Account
75bce4cd0b Merge "spi: spi_qsd: Poll for valid state after software Reset" 2017-12-15 14:14:31 -08:00
Zhen Kong
6348962fc5 qseecom: fix an issue when requested listener svc id does not exist
When listener svc id does not exist, the listener svc entry pointer
is actualy invalid, and should be set to NULL to avoid invalid pointer
deference on cache operation when sending listener resp to TZ.

Change-Id: I6af0c7405c9dc5dfe481396979023968a8324dd0
Signed-off-by: Zhen Kong <zkong@codeaurora.org>
2017-12-15 13:48:24 -08:00
Rahul Sharma
626fb980b0 adv7481: Remove conditional compilation for PM functions
Remove conditional compilation for power management functions,
so that suspend and resume are called always.

Change-Id: I6309df0d12db16c90a10127293bb2715cde15a29
Signed-off-by: Rahul Sharma <sharah@codeaurora.org>
2017-12-15 09:23:49 -08:00
Mohammed Javid
040963c813 msm: ipa: Fix to validate routing table index for filter exception
Fix to validate routing table index for filter action
IPA_PASS_TO_EXCEPTION case to avoid ipa assert
during commit filter rule.

Change-Id: I957f7ffc415ea1a042f6b3a948e94410d41b2262
Acked-by: Ashok Vuyyuru <avuyyuru@qti.qualcomm.com>
Signed-off-by: Mohammed Javid <mjavid@codeaurora.org>
2017-12-15 16:00:38 +05:30
Krishna Manikandan
4dab8ddb3c msm: mdss: Trigger idle fallback when no update due to touch
Trigger an idle fallback with a reasonable timeout value when
there is no update despite of a touch event and idle_time is 0.
This will reset the refresh rate to minimum fps.

CRs-Fixed: 2003247
Change-Id: I4a2964038f23984bf1ea39c63bf679d80ad12cba
Signed-off-by: Krishna Manikandan <mkrishn@codeaurora.org>
2017-12-15 14:49:50 +05:30
Mukesh Kumar Savaliya
85113f453f serial: msm_serial_hs: Allow system suspend when no client is active
In some cases, attempt to system resume imbalances the PM usage_count
which completely disables runtime PM callbacks of the device and suspend
doesn't happen.

Allow device to enter suspend through system PM when such condition met
and in addition do not suspend manually if runtime PM is disabled, let
auto suspend takes care of it.

Change-Id: I73df5804d47f551bfee97f43dbe772ee3774b399
Signed-off-by: Mukesh Kumar Savaliya <msavaliy@codeaurora.org>
2017-12-15 14:15:45 +05:30
Linux Build Service Account
df0c65ec10 Merge "Merge android-4.4.96 (aed4c54) into msm-4.4" 2017-12-14 23:58:53 -08:00
Yimin Peng
70830b4ce9 ARM: dts: msm: memory rework for gvm on msm8996
Split memory configuration for different projects.

Change-Id: I2928adb05dfe174a2d8413172ed10f4240f3f42d
Signed-off-by: Yimin Peng <yiminp@codeaurora.org>
2017-12-15 10:06:34 +08:00
Linux Build Service Account
db87e2310e Merge "ARM: dts: msm: Override vendor node entires in fstab for MSM8996ProAU" 2017-12-14 13:44:23 -08:00
Abinaya P
ec7744ab8c drivers: net: can: Add suspend/resume routine for CAN driver
Make the CAN interrupt as a wakeup capable interrupt and also add
suspend/resume routine to handle the suspend/resume states of
the device

Change-Id: I0e972f3c4b005b52fb8d2e03f83995ecd3c47538
Signed-off-by: Abinaya P <abinayap@codeaurora.org>
2017-12-14 10:57:33 -08:00
Dhoat Harpal
e92da40a5d soc: qcom: glink_smem_native_xport: Send blocked signal command
Glink smem xprt driver is not sending blocked signal command to
remote side, when fifo gets full during tx_data. This results in
Glink tx_thread taking longer time in sending data to remote side.

Glink smem xprt driver sends blocked signal command.

CRs-Fixed: 2154819
Change-Id: I105fce28449db2dd0931292cd6850d2409ae683d
Signed-off-by: Dhoat Harpal <hdhoat@codeaurora.org>
2017-12-14 21:39:15 +05:30
Dilip Kota
7dd15c2403 spi: spi_qsd: Poll for valid state after software Reset
For SPI slave, software reset performs long pulse
reset. Software should wait for QUP to be in valid
state before doing operations on QUP.

Change-Id: Ifbed295df87a6c5c383cedb431b368b3dffca676
Signed-off-by: Dilip Kota <dkota@codeaurora.org>
2017-12-14 20:41:51 +05:30
Linux Build Service Account
e16178f1c0 Merge "drivers: power: reset: Do cold reset when doing oem reboot" 2017-12-14 00:14:44 -08:00
Linux Build Service Account
55abb340e4 Merge "ARM: dts: msm: enable drm msm-hyp driver for msm8996" 2017-12-14 00:14:42 -08:00
Linux Build Service Account
0a4d142cf3 Merge "scsi: ufs: Trigger runtime-idle in a separate work" 2017-12-14 00:14:41 -08:00
Linux Build Service Account
19c73e7a34 Merge "dwc3-msm: Notify proper current values in case of floating charger" 2017-12-14 00:14:39 -08:00