Commit graph

892,349 commits

Author SHA1 Message Date
Blagovest Kolenichev
c47e2335cc Merge android11-5.4.61+ (3720133) into msm-5.4
* refs/heads/tmp-3720133:
  ANDROID: ABI: Update allowed list for QCOM
  FROMGIT: Input: Add devices for HID_QUIRK_INCREMENT_USAGE_ON_DUPLICATE
  ANDROID: GKI: add allowed list for Exynosauto SoC
  ANDROID: GKI: update allowed list for Exynosauto SoC
  UPSTREAM: mfd: sprd: Add wakeup capability for PMIC IRQ
  UPSTREAM: tick/common: Touch watchdog in tick_unfreeze() on all CPUs
  FROMLIST: thermal: Fix NULL pointer dereference issue
  ANDROID: ABI: Update allowed list for QCOM
  UPSTREAM: spi: Fix regression to return zero on success instead of positive value
  UPSTREAM: thermal: power_allocator: Fix Kconfig warning
  UPSTREAM: of/platform: Unconditionally pause/resume sync state during kernel init
  UPSTREAM: selinux: ensure the policy has been loaded before reading the sidtab stats
  UPSTREAM: MIPS: vdso: Define BUILD_VDSO32 when building a 32bit kernel
  UPSTREAM: mfd: syscon: Fix syscon_regmap_lookup_by_phandle_args() dummy
  UPSTREAM: ARM: bcm2835_defconfig: Explicitly restore CONFIG_DEBUG_FS
  UPSTREAM: ARM: socfpga_defconfig: Add back DEBUG_FS
  UPSTREAM: um: Fix header inclusion
  UPSTREAM: net: fix fraglist segmentation reference count leak
  UPSTREAM: ipv6: ndisc: RFC-ietf-6man-ra-pref64-09 is now published as RFC8781
  UPSTREAM: of: property: Fix create device links for all child-supplier dependencies
  UPSTREAM: of: property: Do not link to disabled devices
  UPSTREAM: mmc: sdhci: Fix SDHCI_QUIRK_BROKEN_CQE
  UPSTREAM: usb: renesas-xhci: include correct header for get_unaligned_le16()
  UPSTREAM: wil6210: account for napi_gro_receive never returning GRO_DROP
  UPSTREAM: nl80211: fix memory leak when parsing NL80211_ATTR_HE_BSS_COLOR
  UPSTREAM: thermal/drivers/sprd: Fix return value of sprd_thm_probe()
  UPSTREAM: fscrypt: restrict IV_INO_LBLK_* to AES-256-XTS
  UPSTREAM: fscrypt: use smp_load_acquire() for fscrypt_prepared_key
  UPSTREAM: nvmem: sprd: Fix return value of sprd_efuse_probe()
  UPSTREAM: mac80211: fix warning in 6 GHz IE addition in mesh mode
  UPSTREAM: scsi: ufs: Fix interrupt error message for shared interrupts
  UPSTREAM: sched/fair: Fix wrong negative conversion in find_energy_efficient_cpu()
  UPSTREAM: driver core: Fix device_pm_lock() locking for device links
  UPSTREAM: fscrypt: restrict IV_INO_LBLK_32 to ino_bits <= 32
  UPSTREAM: scsi: ufs: ufs-mediatek: Eliminate error message for unbound mphy
  UPSTREAM: scsi: ufs: ufs-mediatek: Fix HOST_PA_TACTIVATE quirk
  UPSTREAM: cfg80211: fix 6 GHz channel conversion
  ANDROID: GKI: update symbol list for exynosauto soc
  ANDROID: ABI: update allowed list for galaxy
  ANDROID: GKI: initial upload list for exynosauto soc
  ANDROID: ABI: Update allowed list for QCOM

 Conflicts:
	drivers/thermal/thermal_sysfs.c
	kernel/sched/fair.c

Change-Id: I9a0af53ba055157468e6b3cee41f4c8bda1f34af
Signed-off-by: Blagovest Kolenichev <bkolenichev@codeaurora.org>
2020-11-19 11:55:48 -08:00
Deeksha Gupta
37201331c4 ANDROID: ABI: Update allowed list for QCOM
Leaf changes summary: 1 artifact changed
Changed leaf types summary: 0 leaf type changed
Removed/Changed/Added functions summary: 0 Removed, 0 Changed, 1 Added function
Removed/Changed/Added variables summary: 0 Removed, 0 Changed, 0 Added variable

1 Added function:

  [A] 'function void cfg80211_stop_iface(wiphy*, wireless_dev*, gfp_t)'

Bug: 173561495
Signed-off-by: Deeksha Gupta <deegupta@codeaurora.org>
Change-Id: I8197af49fd23443631b8845859f88e6bfa363ad1
2020-11-18 14:47:25 +00:00
Chris Ye
6d9ab208c5 FROMGIT: Input: Add devices for HID_QUIRK_INCREMENT_USAGE_ON_DUPLICATE
Kernel 5.4 introduces HID_QUIRK_INCREMENT_USAGE_ON_DUPLICATE, devices
need to be set explicitly with this flag.

Bug: 170072925
Bug: 170126889
Tests: atest android.hardware.input.cts.tests

(cherry picked from commit f59ee399de4a8ca4d7d19cdcabb4b63e94867f09
https://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git for-5.10/upstream-fixes)

Signed-off-by: Chris Ye <lzye@google.com>
Change-Id: I65742e96babc59adde0ab32656850ef4f164ac3e
2020-11-18 11:20:53 +00:00
qctecmdr
6dd629487f Merge "mmc: core: Add debug enhancement logs" 2020-11-18 01:48:37 -08:00
qctecmdr
070943a3f7 Merge "fsa4480: Resolve euro usb analog headset detect issue after PDR" 2020-11-18 01:48:37 -08:00
Chanho Park
09b63a9447 ANDROID: GKI: add allowed list for Exynosauto SoC
This patch adds GKI symbol list for Exynosauto SoC. We need to add
below 10 functions and most of symbols are required by PCIe
EP(End point) driver.

Leaf changes summary: 10 artifacts changed
Changed leaf types summary: 0 leaf type changed
Removed/Changed/Added functions summary: 0 Removed, 0 Changed, 10 Added functions
Removed/Changed/Added variables summary: 0 Removed, 0 Changed, 0 Added variable

10 Added functions:

  [A] 'function uint32_t drm_of_crtc_port_mask(drm_device*, device_node*)'
  [A] 'function int dw_pcie_ep_init(dw_pcie_ep*)'
  [A] 'function u32 dw_pcie_read_dbi(dw_pcie*, u32, size_t)'
  [A] 'function void dw_pcie_write_dbi(dw_pcie*, u32, size_t, u32)'
  [A] 'function void pci_epc_clear_bar(pci_epc*, u8, pci_epf_bar*)'
  [A] 'function int pci_epc_map_addr(pci_epc*, u8, phys_addr_t, u64, size_t)'
  [A] 'function void* pci_epc_mem_alloc_addr(pci_epc*, phys_addr_t*, size_t)'
  [A] 'function void pci_epc_mem_free_addr(pci_epc*, phys_addr_t, void*, size_t)'
  [A] 'function int pci_epc_set_bar(pci_epc*, u8, pci_epf_bar*)'
  [A] 'function void pci_epc_unmap_addr(pci_epc*, u8, phys_addr_t)'

Bug: 173340486
Signed-off-by: Chanho Park <chanho61.park@samsung.com>
Change-Id: I7411118d2112f10f09405acc1a1461e06ccd9883
2020-11-18 02:15:51 +00:00
Chanho Park
83e8d7513c ANDROID: GKI: update allowed list for Exynosauto SoC
This patch adds to update GKI symbol list for Exynosauto SoC. To review
the allowed list easily, this patch does not include any newly additions
of GKI symbols.

Bug: 173340486
Signed-off-by: Chanho Park <chanho61.park@samsung.com>
Change-Id: I6854f5e813845840b4db052282a92f59c6864cc0
2020-11-18 02:15:24 +00:00
Baolin Wang
4e20d65b72 UPSTREAM: mfd: sprd: Add wakeup capability for PMIC IRQ
When changing to use suspend-to-idle to save power, the PMIC irq can not
wakeup the system due to lack of wakeup capability, which will cause
the sub-irqs (such as power key) of the PMIC can not wake up the system.
Thus we can add the wakeup capability for PMIC irq to solve this issue,
as well as removing the IRQF_NO_SUSPEND flag to allow PMIC irq to be
a wakeup source.

Reported-by: Chunyan Zhang <zhang.lyra@gmail.com>
Signed-off-by: Baolin Wang <baolin.wang7@gmail.com>
Tested-by: Chunyan Zhang <chunyan.zhang@unisoc.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Bug: 173341055
(cherry picked from commit a75bfc824a2d33f57ebdc003bfe6b7a9e11e9cb9)
Signed-off-by: Chunyan Zhang <zhang.lyra@gmail.com>
Change-Id: Ibe5f907b96d59e8b02e8e4838fc8b3cde5f4f35e
2020-11-18 02:12:45 +00:00
Chunyan Zhang
5eaa11cf0d UPSTREAM: tick/common: Touch watchdog in tick_unfreeze() on all CPUs
Suspend to IDLE invokes tick_unfreeze() on resume. tick_unfreeze() on the
first resuming CPU resumes timekeeping, which also has the side effect of
resetting the softlockup watchdog on this CPU.

But on the secondary CPUs the watchdog is not reset in the resume /
unfreeze() path, which can result in false softlockup warnings on those
CPUs depending on the time spent in suspend.

Prevent this by clearing the softlock watchdog in the unfreeze path also
on the secondary resuming CPUs.

[ tglx: Massaged changelog ]

Signed-off-by: Chunyan Zhang <chunyan.zhang@unisoc.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20200110083902.27276-1-chunyan.zhang@unisoc.com
Bug: 173341055
(cherry picked from commit 5167c506d62dd9ffab73eba23c79b0a8845c9fe1)
Signed-off-by: Chunyan Zhang <zhang.lyra@gmail.com>
Change-Id: Iab440b4137726811fce76f3636a4cf8bafc2c202
2020-11-18 02:12:36 +00:00
qctecmdr
ce480240e1 Merge "dt-bindings: clock: Update clock ids of GPUCC for YUPIK" 2020-11-17 17:05:50 -08:00
qctecmdr
03d0199dd1 Merge "dma: gpi: Correct the return code in dmaengine_pause api" 2020-11-17 17:05:50 -08:00
qctecmdr
53c40d0501 Merge "mmc: sdhci-msm: Use auto suspend instead of sync" 2020-11-17 17:05:49 -08:00
qctecmdr
37c562ad9d Merge "mmc: sdhci-msm: Set PWRSAVE bit to '0' during tuning" 2020-11-17 17:05:49 -08:00
qctecmdr
b414bf80c4 Merge "tzlog: Update structs as per the new requests" 2020-11-17 17:05:49 -08:00
qctecmdr
756b932c44 Merge "serial: msm_geni_serial: Add enable/disable of dma irq bits" 2020-11-17 17:05:48 -08:00
qctecmdr
6652990708 Merge "msm: kgsl: Increase MAX_PWRLEVELS Limit" 2020-11-17 17:05:48 -08:00
qctecmdr
61717f9f5f Merge "soc: qcom: msm_perf: enable msm_perf driver on default config" 2020-11-17 17:05:48 -08:00
qctecmdr
2f8aed210e Merge "msm: msm-geni-se: Add proxy votes to fix earlycon crash" 2020-11-17 17:05:47 -08:00
qctecmdr
49b2e4a13c Merge "f_fs: fix scheduling while atomic issue of ffs_epfile_io()" 2020-11-17 13:29:01 -08:00
qctecmdr
55b65a4d60 Merge "defconfig: sdxlemur: Allow writing to regmap only on debug builds" 2020-11-17 13:29:01 -08:00
qctecmdr
4c48eb3326 Merge "icnss2: Avoid sending qdss_trace_mem_info to fw if it is down" 2020-11-17 13:29:00 -08:00
qctecmdr
003a1824ff Merge "msm: kgsl: Properly set fault bit in adreno_set_gpu_fault" 2020-11-17 13:29:00 -08:00
qctecmdr
2129bf638c Merge "cfg80211: Add support to calculate and report 4096-QAM HE rates" 2020-11-17 13:29:00 -08:00
qctecmdr
f6b4905d47 Merge "input: touchscreen: mxt: remove disable_irq" 2020-11-17 13:28:59 -08:00
qctecmdr
9a71644291 Merge "i2c: i2c-msm-geni: Wait for abort command completion" 2020-11-17 13:28:59 -08:00
Mukesh Ojha
70145df882 FROMLIST: thermal: Fix NULL pointer dereference issue
Cooling stats variable inside thermal_cooling_device_stats_update()
can get NULL. We should add a valid check on stat before using it.

Bug: 173355233
Link: https://lore.kernel.org/lkml/1605544181-5348-1-git-send-email-mojha@codeaurora.org/
Change-Id: I48105dcf8ff81d272534c59b7120a6d9fc831d04
Signed-off-by: Mukesh Ojha <mojha@codeaurora.org>
2020-11-17 23:56:27 +05:30
qctecmdr
e915fc5948 Merge "msm: kgsl: Add a Kconfig setting for GPU idle timeout" 2020-11-17 05:57:29 -08:00
qctecmdr
c496ba6c04 Merge "arm: defconfig: Enable QRTR MHI for sdxlemur" 2020-11-17 05:57:29 -08:00
qctecmdr
fee2b06454 Merge "icc: dt-bindings: add endpoint IDs for interconnects for SM8150" 2020-11-17 05:57:29 -08:00
qctecmdr
704966b60e Merge "cnss2: Avoid suspending PCIe after QMI send get is called" 2020-11-17 05:57:29 -08:00
qctecmdr
e2f18ef14c Merge "defconfig: Enable relay fs for lahaina" 2020-11-17 05:57:28 -08:00
qctecmdr
75d5a41f25 Merge "usb: misc: nb7vpq904m: disable chip when boot up without cable" 2020-11-17 05:57:28 -08:00
qctecmdr
8c62bda756 Merge "msm: pcie: correct PCIe target link speed mask macro" 2020-11-17 05:57:28 -08:00
qctecmdr
bba465d5c1 Merge "Add support for EMMC storage type" 2020-11-17 05:57:27 -08:00
Shaik Sajida Bhanu
832d9eaf5b mmc: core: Add debug enhancement logs
Add debug enhancement logs to notify request timeout, when cqe is
turned off and when deferred scaling happens.

Change-Id: Ib499f41632427cba3ab0b67e04d605b6cf4419f5
Signed-off-by: Shaik Sajida Bhanu <sbhanu@codeaurora.org>
2020-11-17 11:25:16 +05:30
qctecmdr
5f551b3328 Merge "Kconfig: have ENABLE_VMALLOC_SAVING depend on QGKI" 2020-11-16 19:15:08 -08:00
qctecmdr
4104c0f498 Merge "input: touchscreen: focaltech: toggle reset gpio during error" 2020-11-16 19:15:08 -08:00
qctecmdr
8b249d7cb9 Merge "Merge android11-5.4.61+ (dc2d5a0) into msm-5.4" 2020-11-16 19:15:08 -08:00
Kishore Sri venkata Ganesh Bolisetty
206e048a12 soc: qcom: msm_perf: enable msm_perf driver on default config
carve out frequency boost functionality of msm_perf driver
and enable it on non perf images too.

Change-Id: I2a0af988edf04a88d2fc16018f50830a0ab73220
Signed-off-by: Kishore Sri venkata Ganesh Bolisetty <bsrivenk@codeaurora.org>
2020-11-16 14:35:54 -08:00
Guru Das Srinagesh
6c3524dd68 defconfig: sdxlemur: Allow writing to regmap only on debug builds
For security reasons, allow modifying register values via the regmap
debugfs interface only on debug builds.

Change-Id: Ie22dbb2ff72da2072d46ab1116fb9623fe2185ff
Signed-off-by: Guru Das Srinagesh <gurus@codeaurora.org>
2020-11-16 09:07:35 -08:00
Vatsal Bucha
1ca159a38c fsa4480: Resolve euro usb analog headset detect issue after PDR
Euro headset is sometimes detected as headphone post PDR.
This is due to race condition between powering up of PGA
and cross connection detection due to which cross conn
detection is not successful resulting in usb analog headset
being detected as headphone post PDR. Save switch_control
value before PDR and apply same value during fsa reg notifier
after PDR so that euro side does not detect as cross conn
post PDR to resolve issue.

Change-Id: I4af17d83a8e4a55185421b370162d8e7a5d5b91f
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2020-11-16 02:08:00 -08:00
Zhiqiang Tu
7982ae0c2c ANDROID: ABI: Update allowed list for QCOM
Leaf changes summary: 0 artifact changed
Changed leaf types summary: 0 leaf type changed
Removed/Changed/Added functions summary: 0 Removed, 0 Changed, 0 Added function
Removed/Changed/Added variables summary: 0 Removed, 0 Changed, 0 Added variable

Bug: 173134053
Change-Id: I7f419c3180f2a45ae628e4a600eb6a45ca12a7e9
Signed-off-by: Zhiqiang Tu <ztu@codeaurora.org>
2020-11-16 17:34:58 +08:00
Veera Vegivada
48bfd0d68c icc: dt-bindings: add endpoint IDs for interconnects for SM8150
Add master and slave ID constants for all Qualcomm Technologies, Inc.
SM8150 interconnect providers which consumers can use to set bandwidth
constraints and find paths in the NoC (Network-On-Chip) topology.

Change-Id: Ie3d92159bf34e2cd57873cd3cd85c75e6a62638a
Signed-off-by: Veera Vegivada <vvegivad@codeaurora.org>
2020-11-16 11:45:30 +05:30
Anmolpreet Kaur
bbe813c8f7 tzlog: Update structs as per the new requests
Update structs as per the new requests.

Change-Id: Idea5ebdf6c558b4a2e26031334f47eb7914a0615
Signed-off-by: Anmolpreet Kaur <anmolpre@codeaurora.org>
2020-11-16 11:41:54 +05:30
Vamsi Krishna
5301754193 cfg80211: Add support to calculate and report 4096-QAM HE rates
Drivers supporting 4096-QAM rates as a vendor extension in HE mode need
to update the correct rate info to userspace while using 4096-QAM (MCS12
and MCS13) in HE mode. Add support to calculate bitrates of HE-MCS12 and
HE-MCS13 which represent the 4096-QAM modulation schemes. The MCS12 and
MCS13 bitrates are defined in IEEE P802.11be/D0.1.

In addition, scale up the bitrates by 3*2048 in order to accommodate
calculations for the new MCS12 and MCS13 rates without losing fraction
values.

CRs-Fixed: 2796770
Signed-off-by: Vamsi Krishna <vamsin@codeaurora.org>
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
Link: https://lore.kernel.org/r/20201029183457.7005-1-jouni@codeaurora.org
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Git-commit: 9c97c88d2f4b221d99491c3196da42004c195fb5
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next.git
Change-Id: I44f71f40a57b57703bbbe138e690d6f92369d0ec
Signed-off-by: Vamsi Krishna <vamsin@codeaurora.org>
2020-11-16 11:08:52 +05:30
qctecmdr
58329ca148 Merge "clk: qcom: Add the debug mux information for SM8150" 2020-11-15 17:44:56 -08:00
qctecmdr
b8bfad925d Merge "exfat: add super block operations" 2020-11-15 08:04:36 -08:00
qctecmdr
5869c90e4f Merge "soc: qcom: qmi_interface: Parse all control packets" 2020-11-15 08:04:35 -08:00
qctecmdr
3de3dfe933 Merge "net: neuron: channel: Check buffer boundaries" 2020-11-15 08:04:35 -08:00
qctecmdr
174db10e47 Merge "arm: qcom: Add initial platform for Monaco and Scuba" 2020-11-15 04:36:26 -08:00