Commit Graph

889767 Commits

Author SHA1 Message Date
Odelu Kukatla
823b12bb9b build.config: Add qnoc-qos.ko module for Lahaina
qnoc-qos.c needs to be built as module, so add qnoc-qos.ko to
build infra.

Change-Id: I86ace45e2259fc382ed478c6456d55701bf974d4
Signed-off-by: Odelu Kukatla <okukatla@codeaurora.org>
2020-08-30 01:12:35 -07:00
Odelu Kukatla
c54d9f7b06 interconnect: qcom: Build qnoc-qos as module
Build qnoc-qos.c as a module to make the symbols
available and avoid build warnings.

Change-Id: I62ab7a04225d71c036cd78f38259a98f099632ed
Signed-off-by: Odelu Kukatla <okukatla@codeaurora.org>
2020-08-29 23:15:05 +05:30
qctecmdr
99e8c41675 Merge "usb: dwc3: Set FORCE_MEM_CORE_ON bit of GCC_USB30_MASTER_CLK" 2020-08-29 00:51:30 -07:00
qctecmdr
fe2aa494de Merge "interconnect: qcom: sdxlemur: Remove stub functions" 2020-08-28 21:18:09 -07:00
qctecmdr
39074278cc Merge "arm: defconfig: Enable gcc clock driver for sdxlemur" 2020-08-28 21:18:08 -07:00
qctecmdr
d89ce61309 Merge "byte-cntr: Add mutex_unlock when rwp_offset is invalid" 2020-08-28 21:18:08 -07:00
qctecmdr
b58d44d0c6 Merge "Merge android11-5.4.58+ (33cc3e7) into msm-5.4" 2020-08-28 21:18:07 -07:00
qctecmdr
8c8fbafeba Merge "pci: msm: Configure L23 ready poll timeout using sysfs" 2020-08-28 17:56:37 -07:00
qctecmdr
39b229314c Merge "cnss2: Disable LPASS full power collapse on DRV suspend" 2020-08-28 17:56:37 -07:00
qctecmdr
df5fbccdc6 Merge "power: supply: qcom: Update SMB5 charger properties for GKI compliance" 2020-08-28 17:56:36 -07:00
qctecmdr
54dded298e Merge "mhi: core: Check for RDDM cookie set by device to indicate readiness" 2020-08-28 17:56:36 -07:00
Bhaumik Bhatt
0e5a6b80ff mhi: core: Check for RDDM cookie set by device to indicate readiness
If the device is unable to send the mission mode execution
environment change event but has already entered mission mode
with the ability to allow ramdump collection, it can set a unique
cookie pattern to indicate the availability of ramdumps. Allow
the controller to query for this unique pattern upon any bootup
failure or timeout.

Change-Id: Id1f58b75d3f22e9e21b142cbea74d61cc65615b4
Signed-off-by: Bhaumik Bhatt <bbhatt@codeaurora.org>
2020-08-28 14:53:32 -07:00
Bhaumik Bhatt
739281396c mhi: core: Move to error state if firmware could not be loaded
Move MHI to a firmware download error state for any bootup
failures such as unable to find firmware files or load images via
BHI/BHIe. This helps detect an error state sooner and shortens
the wait for a synchronous power up timeout. It also negates the
need to provide additional callbacks due to any intermediate
bootup failures.

Change-Id: I3307e432063f59e978f1e055453155803a6475b2
Signed-off-by: Bhaumik Bhatt <bbhatt@codeaurora.org>
2020-08-28 14:52:01 -07:00
qctecmdr
16a14a1745 Merge "i2c-msm-geni: Add log to print the i2c bus frequency" 2020-08-28 14:21:55 -07:00
qctecmdr
a29a3d5721 Merge "serial: msm_geni_serial: Log CTS and RX IO line status" 2020-08-28 14:21:54 -07:00
qctecmdr
98b3301eae Merge "msm: kgsl: Make ACD QMP message sending failure non fatal" 2020-08-28 14:21:54 -07:00
qctecmdr
8d1b5f677b Merge "defconfig: Avoid disabling temp_alarm driver for holi" 2020-08-28 14:21:54 -07:00
qctecmdr
7212d14052 Merge "regulator: rpm-smd: Update sync_state call" 2020-08-28 14:21:53 -07:00
qctecmdr
2d3abc765c Merge "kernel: crypto: Possible null pointer dereference" 2020-08-28 14:21:53 -07:00
qctecmdr
6278f1358d Merge "cnss2: Add support to use new ramdump APIs" 2020-08-28 14:21:52 -07:00
qctecmdr
ba4ba78525 Merge "msm: cvp: enable cache op by default" 2020-08-28 14:21:51 -07:00
qctecmdr
8356a39a60 Merge "Merge android11-5.4.58 (3a9b53b) into msm-5.4" 2020-08-28 14:21:51 -07:00
Blagovest Kolenichev
7546983cd7 Merge android11-5.4.58+ (33cc3e7) into msm-5.4
* refs/heads/tmp-33cc3e7:
  ANDROID: db845c: set BUILD_INITRAMFS=1
  ANDROID: GKI: Build CEC_{CORE,NOTIFIER,PIN} in
  ANDROID: GKI: Enable CEC support
  ANDROID: ABI: Update ABI snapshot after additions to struct io_pgtable_cfg
  ANDROID: iommu/io-pgtable: Allow IOMMU drivers to allocate/free page-table memory
  ANDROID: update ABI
  UPSTREAM: update to latest version of scripts/checkpatch.pl
  FROMLIST: ufs: change the way to complete fDeviceInit
  ANDROID: GKI: add built-in BCM Bluetooth driver
  Revert "Revert "genetlink: remove genl_bind""
  ANDROID: GKI: enable CONFIG_LEDS_TRIGGER_TIMER
  ANDROID: GKI: add abi_gki_aarch64_oplus
  ANDROID: GKI: fix up abi .xml file due to previous changes.
  ANDROID: GKI: add some padding to some driver core structures
  ANDROID: vendor_hooks: add waiting information for blocked tasks
  ANDROID: GKI: Update abi_gki_aarch64_exynos
  ANDROID: include/linux: add low power mode and fps to notifier
  BACKPORT: scsi: ufs: Fix and simplify setup_xfer_req variant operation
  ANDROID: GKI: enable USB UVC drivers
  ANDROID: GKI: enabled CONFIG_USB_CONFIGFS_NCM=y
  ANDROID: GKI: enable LEDS_CLASS_FLASH

Conflicts:
	drivers/iommu/io-pgtable-arm.c
	drivers/iommu/io-pgtable.c
	include/linux/io-pgtable.h
	scripts/checkpatch.pl

Change-Id: I6cbac7d913653388280a4c58f4f98e6f8b6b29f7
Signed-off-by: Ivaylo Georgiev <irgeorgiev@codeaurora.org>
Signed-off-by: Blagovest Kolenichev <bkolenichev@codeaurora.org>
2020-08-28 11:58:00 -07:00
Manikandan Mohan
41f0ad0de9 cnss2: Disable LPASS full power collapse on DRV suspend
Disable LPASS full power collapse on DRV suspend for WLAN latency
requirement to access DDR over PCIE.

Change-Id: I6643916f80c2778daba33a13fc6d558b0bd84754
Signed-off-by: Manikandan Mohan <manikand@codeaurora.org>
2020-08-28 11:35:20 -07:00
Hemant Kumar
7db2e7aacd pci: msm: Add support to send vote against DRV PC
Some endpoints require to prevent DRV processor power
collapse in order to meet the latency requirement to
access DDR over PCIe link. Send the vote info as part
of DRV enable command over rpmsg.

Change-Id: Iac3e6a0cd4978be877ae305aad31ed02570e4f3c
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
2020-08-28 11:33:49 -07:00
qctecmdr
3a1174add0 Merge "soc: jtagv8: Correct the sequence of restoring the etm registers" 2020-08-28 10:46:01 -07:00
qctecmdr
dda93521e4 Merge "sched/walt: Improve the scheduler" 2020-08-28 10:46:00 -07:00
qctecmdr
a3ebedb4e6 Merge "interconnect: qcom: Add sync_state for Shima" 2020-08-28 10:46:00 -07:00
Jishnu Prakash
fd8fcf0789 power: supply: qcom: Update SMB5 charger properties for GKI compliance
Add support for PSY_IIO_TYPEC_ACCESSORY_MODE property needed for
audio use case. Replace QTI_POWER_SUPPLY_CHARGE_TYPE_TAPER with
POWER_SUPPLY_CHARGE_TYPE_ADAPTIVE to ensure reported charge
type always aligns with allowed types.
In addition, correct read failues seen for dc voltage and
typec_src_rp properties.

Change-Id: I7e39c002488049686dd0dedcf433b9c19687075d
Signed-off-by: Jishnu Prakash <jprakash@codeaurora.org>
2020-08-28 23:14:57 +05:30
Jishnu Prakash
a1e476a841 dt-bindings: iio: Add PSY_IIO_TYPEC_ACCESSORY_MODE for SMB5
Add PSY_IIO_TYPEC_ACCESSORY_MODE for audio use case.

Change-Id: I1bea78a57479d755627e7442be03d7f92467031f
Signed-off-by: Jishnu Prakash <jprakash@codeaurora.org>
2020-08-28 23:13:25 +05:30
Blagovest Kolenichev
8d910feef8 Merge android11-5.4.58 (3a9b53b) into msm-5.4
* refs/heads/tmp-3a9b53b
  Revert "binder: Prevent context manager from incrementing ref 0"
  Revert "drm/drm_fb_helper: fix fbdev with sparc64"
  ANDROID: fix redefinition error for restricted vendor hooks
  Linux 5.4.58
  nfsd: Fix NFSv4 READ on RDMA when using readv
  ima: move APPRAISE_BOOTPARAM dependency on ARCH_POLICY to runtime
  tcp: apply a floor of 1 for RTT samples from TCP timestamps
  selftests/net: relax cpu affinity requirement in msg_zerocopy test
  Revert "vxlan: fix tos value before xmit"
  openvswitch: Prevent kernel-infoleak in ovs_ct_put_key()
  net: thunderx: use spin_lock_bh in nicvf_set_rx_mode_task()
  net: gre: recompute gre csum for sctp over gre tunnels
  hv_netvsc: do not use VF device if link is down
  dpaa2-eth: Fix passing zero to 'PTR_ERR' warning
  appletalk: Fix atalk_proc_init() return path
  net: lan78xx: replace bogus endpoint lookup
  vxlan: Ensure FDB dump is performed under RCU
  rxrpc: Fix race between recvmsg and sendmsg on immediate call failure
  net: ethernet: mtk_eth_soc: fix MTU warnings
  ipv6: Fix nexthop refcnt leak when creating ipv6 route info
  ipv6: fix memory leaks on IPV6_ADDRFORM path
  ipv4: Silence suspicious RCU usage warning
  PCI: tegra: Revert tegra124 raw_violation_fixup
  Revert "powerpc/kasan: Fix shadow pages allocation failure"
  xattr: break delegations in {set,remove}xattr
  Drivers: hv: vmbus: Ignore CHANNELMSG_TL_CONNECT_RESULT(23)
  tools lib traceevent: Fix memory leak in process_dynamic_array_len
  atm: fix atm_dev refcnt leaks in atmtcp_remove_persistent
  igb: reinit_locked() should be called with rtnl_lock
  cfg80211: check vendor command doit pointer before use
  firmware: Fix a reference count leak.
  ALSA: hda: fix NULL pointer dereference during suspend
  net: ethernet: mtk_eth_soc: Always call mtk_gmac0_rgmii_adjust() for mt7623
  usb: hso: check for return value in hso_serial_common_create()
  i2c: slave: add sanity check when unregistering
  i2c: slave: improve sanity check when registering
  drm/drm_fb_helper: fix fbdev with sparc64
  nvme-pci: prevent SK hynix PC400 from using Write Zeroes command
  drm/nouveau/fbcon: zero-initialise the mode_cmd2 structure
  drm/nouveau/fbcon: fix module unload when fbcon init has failed for some reason
  net/9p: validate fds in p9_fd_open
  leds: 88pm860x: fix use-after-free on unbind
  leds: lm3533: fix use-after-free on unbind
  leds: da903x: fix use-after-free on unbind
  leds: lm36274: fix use-after-free on unbind
  leds: wm831x-status: fix use-after-free on unbind
  mtd: properly check all write ioctls for permissions
  vgacon: Fix for missing check in scrollback handling
  scripts: add dummy report mode to add_namespace.cocci
  Smack: fix use-after-free in smk_write_relabel_self()
  binder: Prevent context manager from incrementing ref 0
  omapfb: dss: Fix max fclk divider for omap36xx
  Bluetooth: Prevent out-of-bounds read in hci_inquiry_result_with_rssi_evt()
  Bluetooth: Prevent out-of-bounds read in hci_inquiry_result_evt()
  Bluetooth: Fix slab-out-of-bounds read in hci_extended_inquiry_result_evt()
  Staging: rtl8188eu: rtw_mlme: Fix uninitialized variable authmode
  staging: rtl8712: handle firmware load failure
  staging: android: ashmem: Fix lockdep warning for write operation
  ALSA: seq: oss: Serialize ioctls
  ALSA: hda/ca0132 - Fix AE-5 microphone selection commands.
  ALSA: hda/ca0132 - Fix ZxR Headphone gain control get value.
  ALSA: hda/ca0132 - Add new quirk ID for Recon3D.
  ALSA: hda/realtek: Add alc269/alc662 pin-tables for Loongson-3 laptops
  Revert "ALSA: hda: call runtime_allow() for all hda controllers"
  io_uring: Fix use-after-free in io_sq_wq_submit_work()
  io_uring: prevent re-read of sqe->opcode
  usb: xhci: Fix ASMedia ASM1142 DMA addressing
  usb: xhci: define IDs for various ASMedia host controllers
  USB: iowarrior: fix up report size handling for some devices
  perf/core: Fix endless multiplex timer
  USB: serial: qcserial: add EM7305 QDL product ID
  ANDROID: GKI: update abi based on wifi 6GHz changes
  BACKPORT: cfg80211: require HE capabilities for 6 GHz band
  BACKPORT: cfg80211: reject HT/VHT capabilities on 6 GHz band
  BACKPORT: cfg80211: treat 6 GHz channels as valid regardless of capability
  BACKPORT: mac80211: Add HE 6GHz capabilities element to probe request
  BACKPORT: mac80211: add HE 6 GHz Band Capability element
  BACKPORT: cfg80211: add and expose HE 6 GHz band capabilities
  BACKPORT: cfg80211: handle 6 GHz capability of new station
  BACKPORT: ieee80211: add HE ext EIDs and 6 GHz capability defines
  BACKPORT: ieee80211: add code to obtain and parse 6 GHz operation field
  BACKPORT: cfg80211: add a helper to identify 6 GHz PSCs
  BACKPORT: cfg80211: adapt to new channelization of the 6GHz band
  BACKPORT: cfg80211: fix 6 GHz frequencies to kHz
  BACKPORT: cfg80211: express channels with a KHz component
  Revert "Revert "Revert "ANDROID: ALSA: jack: Update supported ja..."
  UPSTREAM: loop: Fix wrong masking of status flags
  UPSTREAM: loop: Add LOOP_CONFIGURE ioctl
  UPSTREAM: loop: Clean up LOOP_SET_STATUS lo_flags handling
  UPSTREAM: loop: Rework lo_ioctl() __user argument casting
  UPSTREAM: loop: Move loop_set_status_from_info() and friends up
  BACKPORT: loop: Factor out configuring loop from status
  UPSTREAM: loop: Remove figure_loop_size()
  UPSTREAM: loop: Refactor loop_set_status() size calculation
  UPSTREAM: loop: Factor out setting loop device size
  UPSTREAM: loop: Remove sector_t truncation checks
  UPSTREAM: loop: Call loop_config_discard() only after new config is applied
  ANDROID: Revert "module: Refactor section attr into bin attribute"
  ANDROID: Revert "module: Do not expose section addresses to non-CAP_SYSLOG"
  FROMLIST: rpmsg: Guard against null endpoint ops in destroy
  ANDROID: GKI: Add some symbols to symbol list

Conflicts:
	android/abi_gki_aarch64_qcom

Change-Id: I626db7277bb4eb964d24336294e6a2a5ce3fab0a
Signed-off-by: Blagovest Kolenichev <bkolenichev@codeaurora.org>
2020-08-28 10:11:12 -07:00
Blagovest Kolenichev
e4904ae047 Revert "binder: Prevent context manager from incrementing ref 0"
This reverts commit c5665cafbe.

This is a preparation change for merging android-5.4.58 into
msm-5.4 branch. The reverted change is causing UI unresponsive
issue.

Change-Id: I00a837a8706c3625ef736a4de8ce501df233f9a0
Signed-off-by: Blagovest Kolenichev <bkolenichev@codeaurora.org>
2020-08-28 08:32:28 -07:00
Mao Jinlong
03de04b810 byte-cntr: Add mutex_unlock when rwp_offset is invalid
Need add the mutex_unlock when rwp_offset is invalid.

Change-Id: I24fb3ae187d9fad33d073a33710f162c8d1a9c58
Signed-off-by: Mao Jinlong <jinlmao@codeaurora.org>
2020-08-28 22:31:49 +08:00
Jishnu Prakash
4103c39ad5 defconfig: Avoid disabling temp_alarm driver for holi
Avoid disabling CONFIG_QCOM_SPMI_TEMP_ALARM in holi QGKI and
debug config fragments.

Change-Id: I2a036af67cc7334d1d801188cf270f2cd2188e6d
Signed-off-by: Jishnu Prakash <jprakash@codeaurora.org>
2020-08-28 19:54:52 +05:30
qctecmdr
2542e1edab Merge "cpuidle: record state entry failed statistics" 2020-08-28 07:16:00 -07:00
qctecmdr
e7ded32c7a Merge "usb: pd: Add support for IIO based properties" 2020-08-28 07:16:00 -07:00
qctecmdr
eadb3200ae Merge "NFC: Fix NFC firmware download issue" 2020-08-28 07:15:59 -07:00
qctecmdr
6712a5f2f7 Merge "interconnect: qcom: Add support for utility factor" 2020-08-28 07:15:59 -07:00
qctecmdr
e9105b301b Merge "BACKPORT: cfg80211: Squash of all 6GHz changes" 2020-08-28 07:15:59 -07:00
qctecmdr
96eb22e5b8 Merge "defconfig: arm64: Enable data configs" 2020-08-28 07:15:59 -07:00
qctecmdr
e55853d876 Merge "drivers: qcom: rpmh-rsc: check for control TCS availablilty" 2020-08-28 07:15:58 -07:00
qctecmdr
0cbcc5e197 Merge "defconfig: sdxlemur: Enable drivers required for PMIC devices" 2020-08-28 07:15:58 -07:00
Jishnu Prakash
843c2bdb8d regulator: rpm-smd: Update sync_state call
Call sync_state for regulator resource to remove proxy votes
in late bootup.

Change-Id: I329c1f6a6a67876108d5f07b0b7e6b328e43d878
Signed-off-by: Jishnu Prakash <jprakash@codeaurora.org>
2020-08-28 18:51:51 +05:30
Prudhvi Yarlagadda
81f5ee5eb1 i2c-msm-geni: Add log to print the i2c bus frequency
Add log to print the i2c bus frequency. Currently log is
present only to print the default frequency which won't
work if the frequency is defined in dtsi node by i2c client.

Change-Id: I0463c6980d5812c99b737b2472081ac8a041d85d
Signed-off-by: Prudhvi Yarlagadda <pyarlaga@codeaurora.org>
2020-08-28 17:38:07 +05:30
Veerendranath Jakkam
3290a9818c BACKPORT: cfg80211: Squash of all 6GHz changes
Add support for Wi-Fi 6GHz band. squash of commits listed below.

ad8b601 BACKPORT: cfg80211: express channels with a KHz component
666ce0c BACKPORT: cfg80211: fix 6 GHz frequencies to kHz
a4d60a7 BACKPORT: cfg80211: adapt to new channelization of the 6GHz band
2ed68ba BACKPORT: cfg80211: add a helper to identify 6 GHz PSCs
6f5ad8f BACKPORT: ieee80211: add code to obtain and parse 6 GHz operation field
e66b8b1c BACKPORT: ieee80211: add HE ext EIDs and 6 GHz capability defines
bc79097 BACKPORT: cfg80211: handle 6 GHz capability of new station
e3a7357 BACKPORT: cfg80211: add and expose HE 6 GHz band capabilities
b8318c9 BACKPORT: mac80211: add HE 6 GHz Band Capability element
df67878 BACKPORT: mac80211: Add HE 6GHz capabilities element to probe request
0403f9c BACKPORT: cfg80211: treat 6 GHz channels as valid regardless of capability
92a570f BACKPORT: cfg80211: reject HT/VHT capabilities on 6 GHz band
dd5425c BACKPORT: cfg80211: require HE capabilities for 6 GHz band

CRs-Fixed: 2760276
Change-Id: Icecbe2587aba927dcb83bc4a574249dbe408d311
Signed-off-by: Vamsi Krishna <vamsin@codeaurora.org>
Signed-off-by: Raghavendra Rao Ananta <rananta@codeaurora.org>
Git-commit: 934f4c7dd3a544bb8000f7436f1f0e12e04ebc37
Git-commit: 5e9cf0f0a3e98992184442de24253fe1b9c40f2e
Git-commit: d1a1646c0de7b0083d42a1ada72a3ec243bfcc6d
Git-commit: afbc9c9e8bfe71e8bd12a8c01bedd969fbab8f0e
Git-commit: 821273a5a502eebaae005557907d122d1e9b7b98
Git-commit: 8b30808d9be4183fab17f0b0e68eea88c94ff15a
Git-commit: 43e64bf301fd8c54f0082d91c6ffd4de861baf96
Git-commit: 223952177296c34d9c8de9cde33204caffe55725
Git-commit: 24a2042cb22fdfc7feef0df9622f0d9d71b8ced1
Git-commit: 2ad2274c58ee2dcaf9ccde5c63ff30f59b138f77
Git-commit: ba8f6a037f790147438173029799f54c9d3065f2
Git-commit: 461ce35d5535c1479384f67fcf4bfc3f3610edca
Git-commit: f438136528482f98535889c9a6f99bbacdd92870
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next.git
Signed-off-by: Veerendranath Jakkam <vjakkam@codeaurora.org>
2020-08-28 13:44:28 +05:30
Odelu Kukatla
1660c143c6 interconnect: qcom: Add sync_state for Shima
Add sync_state functionality to remove threshold held during initial
boot up and clean up any linger proxy resources that were voted for
from bootloaders.

Change-Id: I8926c80e522a4980a1d3f6f40916f223231e7f58
Signed-off-by: Odelu Kukatla <okukatla@codeaurora.org>
2020-08-28 11:14:01 +05:30
Mukesh Kumar Savaliya
8e62875674 serial: msm_geni_serial: Log CTS and RX IO line status
This change adds the status of UART input lines namely CTS and RX.
These two lines are driven from peer device hence it helps in debug
to confirm peer device status.

This is requested by BT HOST driver to help understand logs clearly.

Change-Id: I892961a5889aea1f46fed1fbde2c924844bc3946
Signed-off-by: Mukesh Kumar Savaliya <msavaliy@codeaurora.org>
2020-08-28 00:11:01 +05:30
Odelu Kukatla
d5ccb61353 interconnect: qcom: Add support for utility factor
Utility factor needs to be applied for aggregated bandwidth
so as to run the bus clock at required frequency.

Change-Id: Ic166f72b0719fa88db4c04b9acdc163483faf538
Signed-off-by: Odelu Kukatla <okukatla@codeaurora.org>
2020-08-27 23:15:27 +05:30
Kaustubh Pandey
d29d8ce04b defconfig: arm64: Enable data configs
Enable config required for wifi calling and perf scenarios
for holi.

Change-Id: I4ff83a9a61d65d42bf25f63895390e1ac0b688c3
Signed-off-by: Kaustubh Pandey <kapandey@codeaurora.org>
2020-08-27 22:33:44 +05:30
Naveen Yadav
0a0fa5202f interconnect: qcom: sdxlemur: Remove stub functions
Switch over to functional interconnect drivers.

Change-Id: I76e294239d06452c69f6b2515d31c97a414a10fb
Signed-off-by: Naveen Yadav <naveenky@codeaurora.org>
2020-08-27 07:57:23 -07:00