Commit Graph

884685 Commits

Author SHA1 Message Date
Jack Pham
7f37505d4c build.config.msm.lahaina: Add qgki-consolidate as a supported variant
Add support for building using the lahaina-qgki-consolidate_defconfig
which consists of the QGKI + consolidate fragments.

Change-Id: Ie6bf7e564560a808a67f2c65bcb63e099f43e4f4
Signed-off-by: Jack Pham <jackp@codeaurora.org>
2020-06-26 12:19:09 -07:00
qctecmdr
6e625d330f Merge "mm: Fix sleeping while atomic during speculative page fault" 2020-06-25 19:09:40 -07:00
qctecmdr
1f2a0ad6f9 Merge "Merge android-5.4-stable.32 (724ffa0) into msm-5.4" 2020-06-25 14:38:28 -07:00
qctecmdr
7727556160 Merge "ufs: sysfs: Use snprintf instead of sprintf" 2020-06-25 04:55:02 -07:00
qctecmdr
a8c8cc0763 Merge "msm: cvp: Increase delay during AXI reset pulse" 2020-06-25 04:55:01 -07:00
qctecmdr
bba2f13464 Merge "power: smb1398: Add snapshot of driver" 2020-06-25 04:55:01 -07:00
qctecmdr
5027ca7013 Merge "memshare: Add debug logs to track subsystem notification" 2020-06-25 04:55:01 -07:00
qctecmdr
29909395db Merge "msm: kgsl: Add support to toggle GPU GX CPR loop enable" 2020-06-25 04:55:00 -07:00
qctecmdr
080901e562 Merge "cpufreq: qcom: cpufreq-hw: Remove enable of GT_IRQ for EPSS" 2020-06-25 04:55:00 -07:00
qctecmdr
cac85f094b Merge "scsi: Block reset attempts to UFS through scsi ioctl" 2020-06-25 01:48:41 -07:00
qctecmdr
524546f263 Merge "scsi: ufs: Record last intr status and its timestamp" 2020-06-24 22:34:01 -07:00
qctecmdr
adc8e47e36 Merge "mmc: Kconfig: Change MMC_SDHCI_MSM to be static module" 2020-06-24 22:34:01 -07:00
qctecmdr
fac58968a5 Merge "soc: qcom: hwkm: check key size before unwrap" 2020-06-24 22:34:01 -07:00
Blagovest Kolenichev
72fdae88b0 Merge android-5.4-stable.32 (724ffa0) into msm-5.4
* refs/heads/tmp-724ffa0:
  Linux 5.4.32
  iommu/vt-d: Allow devices with RMRRs to use identity domain
  drm/i915: Fix ref->mutex deadlock in i915_active_wait()
  fbcon: fix null-ptr-deref in fbcon_switch
  blk-mq: Keep set->nr_hw_queues and set->map[].nr_queues in sync
  RDMA/cm: Update num_paths in cma_resolve_iboe_route error flow
  Bluetooth: RFCOMM: fix ODEBUG bug in rfcomm_dev_ioctl
  RDMA/siw: Fix passive connection establishment
  RDMA/cma: Teach lockdep about the order of rtnl and lock
  RDMA/ucma: Put a lock around every call to the rdma_cm layer
  include/uapi/linux/swab.h: fix userspace breakage, use __BITS_PER_LONG for swap
  ceph: canonicalize server path in place
  ceph: remove the extra slashes in the server path
  ARM: imx: only select ARM_ERRATA_814220 for ARMv7-A
  ARM: imx: Enable ARM_ERRATA_814220 for i.MX6UL and i.MX7D
  IB/mlx5: Replace tunnel mpls capability bits for tunnel_offloads
  IB/hfi1: Fix memory leaks in sysfs registration and unregistration
  IB/hfi1: Call kobject_put() when kobject_init_and_add() fails
  ASoC: jz4740-i2s: Fix divider written at incorrect offset in register
  platform/x86: intel_int0002_vgpio: Use acpi_register_wakeup_handler()
  ACPI: PM: Add acpi_[un]register_wakeup_handler()
  hwrng: imx-rngc - fix an error path
  tools/accounting/getdelays.c: fix netlink attribute length
  slub: improve bit diffusion for freelist ptr obfuscation
  uapi: rename ext2_swab() to swab() and share globally in swab.h
  usb: dwc3: gadget: Wrap around when skip TRBs
  random: always use batched entropy for get_random_u{32,64}
  s390: prevent leaking kernel address in BEAR
  r8169: change back SG and TSO to be disabled by default
  mlxsw: spectrum_flower: Do not stop at FLOW_ACTION_VLAN_MANGLE
  tun: Don't put_page() for all negative return values from XDP program
  slcan: Don't transmit uninitialized stack data in padding
  net: stmmac: dwmac1000: fix out-of-bounds mac address reg setting
  net_sched: fix a missing refcnt in tcindex_init()
  net_sched: add a temporary refcnt for struct tcindex_data
  net: phy: micrel: kszphy_resume(): add delay after genphy_resume() before accessing PHY registers
  net: dsa: mt7530: fix null pointer dereferencing in port5 setup
  net: dsa: bcm_sf2: Ensure correct sub-node is parsed
  net: dsa: bcm_sf2: Do not register slave MDIO bus with OF
  ipv6: don't auto-add link-local address to lag ports
  cxgb4: fix MPS index overwrite when setting MAC address
  net: phy: realtek: fix handling of RTL8105e-integrated PHY
  ANDROID: ABI/Whitelist: add display whitelist to unisoc whitelist
  ANDROID: Kconfig.gki Add SND_SOC_TOPOLOGY
  ANDROID: GKI: enable CONFIG_ARM_PSCI_CPUIDLE
  ANDROID: power: wakeup_reason: wake reason enhancements
  UPSTREAM: cpufreq: Make cpufreq_global_kobject static
  ANDROID: staging: ion: implement vmap for built-in heaps
  ANDROID: KABI: Update kABI after dropping CONFIG_PCIEPORTBUS from gki_defconfig
  ANDROID: gki_defconfig: Drop CONFIG_PCIEPORTBUS
  FROMLIST: power_supply: Add additional health properties to the header
  UPSTREAM: power: supply: core: Update sysfs-class-power ABI document
  ANDROID: GKI: update ABI for mmc changes
  UPSTREAM: mmc: sdhci-sprd: Set the missing MMC_CAP_WAIT_WHILE_BUSY flag
  UPSTREAM: mmc: host: hsq: Add missing MODULE_LICENSE() and MODULE_DESCRIPTION()
  UPSTREAM: mmc: host: sdhci-sprd: Add software queue support
  UPSTREAM: mmc: host: sdhci: Add a variable to defer to complete requests if needed
  UPSTREAM: mmc: host: sdhci: Add request_done ops for struct sdhci_ops
  UPSTREAM: mmc: core: Enable the MMC host software queue for the SD card
  UPSTREAM: mmc: Add MMC host software queue support
  FROMGIT: kbuild: mkcompile_h: Include $LD version in /proc/version
  ANDROID: ignore compiler tag __must_check for GENKSYMS
  UPSTREAM: mfd: sc27xx: Add USB charger type detection support
  UPSTREAM: Revert "gpio: eic-sprd: Use devm_platform_ioremap_resource()"
  UPSTREAM: pinctrl: sprd: Add pin high impedance mode support
  UPSTREAM: pinctrl: sprd: Use the correct pin output configuration
  UPSTREAM: nvmem: sprd: Determine double data programming from device data
  UPSTREAM: nvmem: sprd: Optimize the block lock operation
  UPSTREAM: nvmem: sprd: Fix the block lock operation
  UPSTREAM: dmaengine: sprd: Set request pending flag when DMA controller is active
  Linux 5.4.31
  mm: mempolicy: require at least one nodeid for MPOL_PREFERRED
  padata: always acquire cpu_hotplug_lock before pinst->lock
  net: Fix Tx hash bound checking
  i2c: i801: Do not add ICH_RES_IO_SMI for the iTCO_wdt device
  watchdog: iTCO_wdt: Make ICH_RES_IO_SMI optional
  watchdog: iTCO_wdt: Export vendorsupport
  tcp: fix TFO SYNACK undo to avoid double-timestamp-undo
  IB/hfi1: Ensure pq is not left on waitlist
  rxrpc: Fix sendmsg(MSG_WAITALL) handling
  iwlwifi: dbg: don't abort if sending DBGC_SUSPEND_RESUME fails
  iwlwifi: yoyo: don't add TLV offset when reading FIFOs
  iwlwifi: consider HE capability when setting LDPC
  net/mlx5e: kTLS, Fix wrong value in record tracker enum
  soc: mediatek: knows_txdone needs to be set in Mediatek CMDQ helper
  ALSA: hda/ca0132 - Add Recon3Di quirk to handle integrated sound on EVGA X99 Classified motherboard
  Revert "dm: always call blk_queue_split() in dm_process_bio()"
  power: supply: axp288_charger: Add special handling for HP Pavilion x2 10
  extcon: axp288: Add wakeup support
  nvmem: check for NULL reg_read and reg_write before dereferencing
  mei: me: add cedar fork device ids
  coresight: do not use the BIT() macro in the UAPI header
  PCI: sysfs: Revert "rescan" file renames
  misc: pci_endpoint_test: Avoid using module parameter to determine irqtype
  misc: pci_endpoint_test: Fix to support > 10 pci-endpoint-test devices
  misc: rtsx: set correct pcr_ops for rts522A
  brcmfmac: abort and release host after error
  padata: fix uninitialized return value in padata_replace()
  XArray: Fix xa_find_next for large multi-index entries
  net/mlx5e: kTLS, Fix TCP seq off-by-1 issue in TX resync flow
  tools/power turbostat: Fix 32-bit capabilities warning
  tools/power turbostat: Fix missing SYS_LPI counter on some Chromebooks
  tools/power turbostat: Fix gcc build warnings
  drm/amdgpu: fix typo for vcn1 idle check
  initramfs: restore default compression behavior
  drm/bochs: downgrade pci_request_region failure from error to warning
  drm/amd/display: Add link_rate quirk for Apple 15" MBP 2017
  kconfig: introduce m32-flag and m64-flag
  nvme-rdma: Avoid double freeing of async event data
  ANDROID: GKI: update ABI for SCHED_AUTOGROUP removal
  ANDROID: GKI: Remove SCHED_AUTOGROUP
  ANDROID: fscrypt: fall back to filesystem-layer crypto when needed
  ANDROID: block: require drivers to declare supported crypto key type(s)
  ANDROID: block: make blk_crypto_start_using_mode() properly check for support
  ANDROID: GKI: defconfig: modify debug configs
  ANDROID: kbuild: ensure __cfi_check is correctly aligned
  FROMLIST: kmod: make request_module() return an error when autoloading is disabled
  UPSTREAM: loop: Only freeze block queue when needed.
  UPSTREAM: loop: Only change blocksize when needed.
  ANDROID: GKI: Fix ABI for CMA page allocation
  ANDROID: GKI: mm: add cma pcp list
  ANDROID: GKI: cma: redirect page allocation to CMA
  ANDROID: Fix wq fp check for CFI builds
  ANDROID: Incremental fs: Fix remount
  ANDROID: Incremental fs: Protect get_fill_block, and add a field
  ANDROID: Incremental fs: Fix crash polling 0 size read_log
  ANDROID: Incremental fs: get_filled_blocks: better index_out
  UPSTREAM: sched/rt: cpupri_find: Trigger a full search as fallback
  UPSTREAM: sched/rt: Remove unnecessary push for unfit tasks
  UPSTREAM: sched/rt: Allow pulling unfitting task
  UPSTREAM: sched/rt: Optimize cpupri_find() on non-heterogenous systems
  UPSTREAM: sched/rt: Re-instate old behavior in select_task_rq_rt()
  UPSTREAM: sched/rt: cpupri_find: Implement fallback mechanism for !fit case
  ANDROID: staging: ion: move definition of attachment
  ANDROID: Incremental fs: Fix four resource bugs
  ANDROID: GKI: Removed cuttlefish configs

Conflicts:
	drivers/base/power/wakeup.c
	drivers/irqchip/irq-gic-v3.c
	include/linux/gfp.h
	include/linux/highmem.h
	include/linux/mmc/host.h
	include/linux/mmzone.h
	include/uapi/linux/coresight-stm.h
	kernel/sched/cpupri.c
	kernel/sched/rt.c
	mm/page_alloc.c
	scripts/module-lto.lds.S

Change-Id: I1845fe7d1d0cd48d91f689565324a794b1a29f10
Signed-off-by: Blagovest Kolenichev <bkolenichev@codeaurora.org>
2020-06-24 11:39:32 -07:00
George Shen
8ff219949a msm: cvp: Increase delay during AXI reset pulse
Per CVP HPG update on May 26th 2020.

Change-Id: I270d73200c77b0d1019b4b1935b2f3b43fac1546
Signed-off-by: George Shen <sqiao@codeaurora.org>
2020-06-24 11:01:41 -07:00
Asutosh Das
69ffb0e70b ufs: sysfs: Use snprintf instead of sprintf
Replaces sprintf with snprintf for security.

Change-Id: Ic9a140caabf6c3d4b13103214bfe41f336e2cf29
Signed-off-by: Asutosh Das <asutoshd@codeaurora.org>
2020-06-24 10:25:54 -07:00
qctecmdr
a25b03139e Merge "Revert "ALSA: PCM: volume API implementation"" 2020-06-24 10:04:12 -07:00
qctecmdr
c07da6b737 Merge "clk: qcom: gpucc: Add Support for GPUCC clock driver for SHIMA" 2020-06-24 10:04:12 -07:00
qctecmdr
0c70215a72 Merge "drivers: qcom: add system PM violators debug driver" 2020-06-24 10:04:11 -07:00
Manoj Prabhu B
e7f23f73cb memshare: Add debug logs to track subsystem notification
Enable debug logs to track the subsystem notification for a
peripheral SSR process.

Change-Id: Id8b12fb9b45e07b28a242c47e6c8148fe2154280
Signed-off-by: Manoj Prabhu B <bmanoj@codeaurora.org>
2020-06-24 19:41:24 +05:30
qctecmdr
9faf140cf6 Merge "mm: support vector address ranges for process_madvise" 2020-06-24 06:08:09 -07:00
qctecmdr
e093936a5f Merge "Revert "interconnect: qcom: Build icc-rpmh with qnoc-lahaina"" 2020-06-24 06:08:09 -07:00
qctecmdr
22264270c4 Merge "msm: kgsl: Do not clear dispatcher fault when adreno reset fails" 2020-06-24 06:08:06 -07:00
Taniya Das
7823a9b79a cpufreq: qcom: cpufreq-hw: Remove enable of GT_IRQ for EPSS
CPUFREQ SW does not require to enable the IRQ for EPSS, thus remove the
enable.

Change-Id: Ib1c10d755355c6f4df46a62568d2895e291e846a
Signed-off-by: Taniya Das <tdas@codeaurora.org>
2020-06-24 16:11:51 +05:30
qctecmdr
eb4b022fe0 Merge "serial: msm_geni_serial: Fix DMA TX FSM reset sequence" 2020-06-24 02:45:25 -07:00
qctecmdr
2b0ab25f37 Merge "net: qrtr: Fix early exit in del client and bye cmds" 2020-06-24 02:45:24 -07:00
Jagadeesh Kona
5f0652aec7 clk: qcom: gpucc: Add Support for GPUCC clock driver for SHIMA
Add Graphics clock controller driver for the GPU clients to be
able to control clocks.

Change-Id: Id51e33ff46b9d39c1fb8a0fc14b4f73abcf40e4f
Signed-off-by: Jagadeesh Kona <jkona@codeaurora.org>
2020-06-24 09:19:27 +05:30
qctecmdr
09ea649182 Merge "defconfig: lahaina-qgki: Enable debug clock controller" 2020-06-23 19:11:26 -07:00
qctecmdr
719aee502f Merge "sysfs: ufs-qcom: Add sysfs entries for flashpvl" 2020-06-23 19:11:25 -07:00
qctecmdr
175eaa56f0 Merge "input: touchscreen: st: add trusted touch support" 2020-06-23 19:11:25 -07:00
qctecmdr
fae69cd80b Merge "soc: qcom: Check rmb status register for spss bootup status" 2020-06-23 19:11:25 -07:00
Akash Asthana
c2ca8e5398 serial: msm_geni_serial: Fix DMA TX FSM reset sequence
TX FSM reset command generates TX_RESET_DONE & TX_DMA_DONE interrupt bits.
Upon receiving TX_DMA_DONE we initiate new TX transfer for the pending
bytes present in tty uart circular buffer. That leaves TX sequencer active
after reset sequence. That can result into all kinds of SMMU crash where
client initiates new TX DMA transfer without knowing that we have already
a transfer queued. This is unexpected behaviour because we expect TX
sequencer and DMA engine to go IDLE after reset.

To fix above scenario, don't handle TX_DMA_DONE upon reciving
TX_RESET_DONE.

Also, add IPC logs to get_mctrl function to get the IOS status.

Change-Id: Ib76750b5e2c6ec5bf993c341c258791e471672d2
Signed-off-by: Akash Asthana <akashast@codeaurora.org>
2020-06-23 05:58:14 -07:00
Akash Asthana
1c701bd680 serial: msm-geni-serial: Fix possible null pointer access with handle_rx
Some customers are using UART node in UFFI for console and using
the same node for HSUART in kernel but not as console. In this
scenario there is a possibility for null pointer access
with handle_rx while trying to stop secondary sequencer.
This change will move handle_rx initialization from port_startup to
probe function. This will help to avoid null pointer access issues.

Change-Id: Ibda592b375d14ba0c23c4b99223006b1fa53c211
Signed-off-by: Chandana Kishori Chiluveru <cchiluve@codeaurora.org>
Signed-off-by: Akash Asthana <akashast@codeaurora.org>
2020-06-23 05:57:52 -07:00
qctecmdr
b318939c3f Merge "trace: increase caller depth for preempt/irqs disable events" 2020-06-23 05:16:32 -07:00
qctecmdr
3d7e7985de Merge "dt-bindings: clock: Add support for GPUCC PLL0" 2020-06-23 05:16:32 -07:00
qctecmdr
db62dd6887 Merge "clk: qcom: Add clk_list_rates support for divider clocks" 2020-06-23 05:16:31 -07:00
Jishnu Prakash
269ef17387 power: smb1398: Add snapshot of driver
Add snapshot of the SMB1398 driver as of msm-4.19
'commit 94b7d70cfe4f7 ("power: qpnp-smb5: Do not set BC1P2_START_ON_CC
on DAM")'.

Change-Id: I70f066f8b330630ad2777bb5c9a7ecc8dbd8b9ee
Signed-off-by: Jishnu Prakash <jprakash@codeaurora.org>
2020-06-23 16:20:53 +05:30
Lingutla Chandrasekhar
9f2b8d8b1a trace: increase caller depth for preempt/irqs disable events
preempt/irq disable events tracks and prints 4 callers (3 actual callers
and current trace event caller), who disables irqs and preemption for
longer duration. It may not be sufficient for all scenarios, so extend
these events to track 5 callers and exclude current trace event caller.

Change-Id: I464dd738a78d3a89fea62fcf4aaee9897bb03c37
Signed-off-by: Lingutla Chandrasekhar <clingutla@codeaurora.org>
2020-06-23 11:51:51 +05:30
Akash Asthana
1b85a9865b serial: Refactor code to reduce cyclomatic complexity
Resolve the cyclomatic complexity numbers by refactoring the code.

Fixes: 39fc927ed715 ("serial: Propagate missing UART fix 4.19 to 5.4")
Change-Id: I599900246852e002d68364affc8ff032a6231324
Signed-off-by: Akash Asthana <akashast@codeaurora.org>
2020-06-23 10:39:13 +05:30
qctecmdr
8be0640752 Merge "net: qrtr: ns: Add ipc logging to ns" 2020-06-22 20:50:37 -07:00
qctecmdr
a9e028c82c Merge "ANDROID: kbuild: ensure __cfi_check is correctly aligned" 2020-06-22 20:50:37 -07:00
qctecmdr
5f30feb7a6 Merge "sched: use wake_q length only when WALT is enabled" 2020-06-22 20:50:36 -07:00
Shashank Babu Chinta Venkata
d5c077b099 input: touchscreen: st: add trusted touch support
Add Trusted touch support to lahaina MTP
Touchscreen driver. This feature enables driver to
operate in trusted touch mode in trusted virtual machine(TVM).
The primary virtual machine(PVM) lends resources such
as IO memory and touch irq to TVM prior to trusted touch
is initiated and reclaims those resources back after trusted
touch usecase finishes.The resource requirements of TVM
such as clock, regulators etc are taken care by PVM.

Change-Id: I584fa3c96796b8a34f1948847e83aac7ce913d94
Signed-off-by: Shashank Babu Chinta Venkata <sbchin@codeaurora.org>
2020-06-22 19:39:14 -07:00
qctecmdr
a543b4c83b Merge "drivers: soc: Add devcoredump based ramdump APIs" 2020-06-22 18:20:36 -07:00
qctecmdr
888edf7bb4 Merge "clk: qcom: lahaina: Lucid PLL 5LPE config and frequency plan update" 2020-06-22 18:20:36 -07:00
Jeevan Shriram
7bd4f1b732 sched: use wake_q length only when WALT is enabled
Upstream commit aa8b37baac ("FROMLIST: sched/fair: Use wake_q
length as a hint for wake_wide") that is being carried in msm-5.4
kernel caused CRC checks failures when GKI boot image is used for
verification as the commit adds extra argument to select_task_rq().
Fix this issue by wrapping extra argument under CONFIG_SCHED_WALT.

Change-Id: Ie41a36a334efbcd2030f7c3caee31883ee84718e
Signed-off-by: Jeevan Shriram <jshriram@codeaurora.org>
2020-06-22 17:33:30 -07:00
qctecmdr
6a5a6eb724 Merge "usb: gadget: Fix double free of device descriptor pointers" 2020-06-22 15:53:18 -07:00
Jay Jayanna
65b0fd0c9a net: qrtr: ns: Add ipc logging to ns
Log packets processed by ns using ipc logging framework.

Change-Id: I08e9b8551efb4a58cf899835cfac25c1952bd4b8
Signed-off-by: Jay Jayanna <jayanna@codeaurora.org>
2020-06-22 15:10:14 -07:00
Jay Jayanna
a51b58c8e7 net: qrtr: Fix early exit in del client and bye cmds
When del client and bye command packets are sent out, if there
is an error in sending, continue with the loop to send to the
rest of the clients. The current implementation bails out when
the send fails. This is causing dropping of these packets to
the rest of the clients.

Change-Id: If9111216061e64ba1777590edba128b011625250
Signed-off-by: Jay Jayanna <jayanna@codeaurora.org>
2020-06-22 15:04:35 -07:00
Asutosh Das
cc56124585 sysfs: ufs-qcom: Add sysfs entries for flashpvl
Added entries are bus_speed_mode, clk_status and
err_count.

Change-Id: I459c75048d737651d977f5a5c6aa5dd84553156c
Signed-off-by: Asutosh Das <asutoshd@codeaurora.org>
2020-06-22 11:31:09 -07:00