83 Commits

Author SHA1 Message Date
UtsavBalar1231
cddfba2d4d Merge remote-tracking branch 'origin/auto-kernel' into auto-kernel-oss
* origin/auto-kernel:
  README: update
  drone: integrate drone ci pipeline
  ARM64: configs: raphael: Enable char diagnostics driver
  ARM64: configs: raphael: Regenerate
  Revert "Workaround: These are work around which need to de addressed"
  init: completely remove Early init services support
  Dm: init: Enable rootfs mount as dm-verity during boot without ramdisk
  Revert "Remove Per File Key based hardware crypto framework"
  Revert "Integrate the new file encryption framework"
  Revert "Revert "Reverting crypto patches""
  Revert "Variant ops for UFS crypto and new crypto lib"
  Revert "mmc: host: Use request queue pointer for mmc crypto"
  Revert "mmc: cqhci: eMMC JEDEC v5.2 crypto spec addition"
  Revert "mmc: cqhci: Add eMMC crypto APIs"
  Revert "mmc: cqhci: Add inline crypto support to cqhci"
  Revert "mmc: host: Add variant ops for cqhci crypto"
  Revert "mmc: host: Fix the offset for ICE address"
  Revert "mmc: host: Set the supported dun size for crypto"
  Revert "mmc: host: Fix the condition to parse crypto clocks"
  Revert "fscrypt: support legacy inline crypto mode"
  Revert "dm: Support legacy on disk format in dm-default-key"
  Revert "defconfig: Enable new file encryption flags"
  Revert "ARM: dts: Make crypto address part of host controller node"
  Revert "Use correct endianness for encryption keys"
  Revert "ANDROID: block: backport the ability to specify max_dun_bytes"
  Revert "ANDROID: dm-default-key: set dun_bytes more precisely"
  Revert "ANDROID: fscrypt: set dun_bytes more precisely"
  Revert "BACKPORT: FROMLIST: fscrypt: add support for IV_INO_LBLK_32 policies"
  Revert "ANDROID: fscrypt: handle direct I/O with IV_INO_LBLK_32"
  Revert "dm: default-key: Adapt legacy disk format for new set of arguments"
  Revert "defconfig: Enable new file encryption flags for msmnile"
  kbuild: lto: remove duplicate dependencies from .mod files
  selinux: avc: fix build with CONFIG_AUDIT=y
  Revert "sched: walt: hardcode sched_coloc_downmigrate_ns to 40ms"
  ARM64: configs: raphael: Enable External SOCs Control Support
  ARM64: configs: raphael: Enable generic sound device drivers
  ARM64: configs: raphael: Enable Cleancache
  ARM64: configs: raphael: Enable HL/TTL nftable targets
  drm: msm: dsi_parser: Fix strlcpy usage
  sm8150: fix gcc LTO warnings
  teckpack: audio: tfa98xx: read original memtrack data from device
  drm/msm/sde: Clean up non-60 Hz panel reset code
  Makefile: Remove obsolete -fno-builtin flag
  lib/string.c: implement stpcpy
  Revert "Makefile: add -fno-builtin-stpcpy"
  Revert "Makefile: add -fno-builtin-bcmp"
  Revert "Revert "lib/string.c: implement a basic bcmp""
  msm: ipa3: fix the unmap logic
  net : stmmac: rgmii clock was not setting to low
  ARM: dts: msm: Changing the pet timeout as per granularity limit
  coresight: cti: Move CTI DEVID register read from cti_probe
  soc: qcom: qrtr: APIs for ethernet transport
  arch: arm64 : boot: dts : Removing mac addr entry
  net : stmmac : random mac addr assignment
  ARM: dts: msm: Add new QUPv3 SIDs for SA8155 VM
  ARM: dts: msm: add qoe and cv2x over eth support for sa515m
  ARM: dts: msm: add qmi and v2x over eth support for sa2150p
  Arm: dts: qsc405: Update num of tx queues to 4
  dfc: Enable TX when grant is received
  ARM: dts: sdxprairie: Update num of tx queues to 4
  ARM: dts: msm: Disable disp_rsc for sa8155-capture
  power: qpnp-smb2/5: Report TIME_TO_FULL_NOW and  CHARGE_FULL_DESIGN
  power: qpnp-qg/fg-gen3/gen4: Report TIME_TO_FULL_NOW property
  msm: kgsl: skip if requested address doesn't fall in the svm range
  defconfig: Enable new file encryption flags for msmnile
  rpmsg: glink: Enable irq wake for glink interrupt
  ARM: dts: msm: Update pmic alarm thermal zone mitigation configs for GEN3
  msm: ais: restrict cci user interface to VIDEOC_CAM_CONTROL
  ARM: dts: msm: disable avb for lv container
  binderfs: use refcount for binder control devices too
  msm: eth: Add user space interface for eth
  msm: ipa3: add support on detour lan2lan traffic to sw
  dm: default-key: Adapt legacy disk format for new set of arguments
  defconfig: sdm429: Update configs related to DCC
  net: stmmac: Add mac2mac feature support
  soc: qcom: bgcom: change BG TWM firmware name
  ARM: msm: dts: Disable U1U2 low power modes for QCS610
  UVC: Increase usb requests for better throughput
  Documentation: devicetree: net: Add doc for switch driver
  mmc: host: Set the supported dun size for crypto
  ANDROID: fscrypt: handle direct I/O with IV_INO_LBLK_32
  BACKPORT: FROMLIST: fscrypt: add support for IV_INO_LBLK_32 policies
  ANDROID: fscrypt: set dun_bytes more precisely
  ANDROID: dm-default-key: set dun_bytes more precisely
  ANDROID: block: backport the ability to specify max_dun_bytes
  ARM: dts: msm: Add vbus_detect as USB extcon for Telematics AU MTP
  msm: kgsl: Correctly clean up dma buffer attachment in case of error
  ARM: dts: msm: Add multiple dri device nodes for sa8195 lxc gvm
  Use correct endianness for encryption keys
  ARM: dts: sa2150p: enable rgmii level shifter on nand vt som
  ARM: dts: msm: disable disk rename in LV GVM
  sdm429w: add bg-rsg driver changes
  mtd: msm_qpic_nand: Use logical unit count in flash density
  mmc: host: Fix the condition to parse crypto clocks
  defconfig: Disable wlan vendors to optimize memory
  ARM: dts: Make crypto address part of host controller node
  defconfig: Enable new file encryption flags
  dm: Support legacy on disk format in dm-default-key
  fscrypt: support legacy inline crypto mode
  mmc: host: Fix the offset for ICE address
  mmc: host: Add variant ops for cqhci crypto
  mmc: cqhci: Add inline crypto support to cqhci
  mmc: cqhci: Add eMMC crypto APIs
  mmc: cqhci: eMMC JEDEC v5.2 crypto spec addition
  mmc: host: Use request queue pointer for mmc crypto
  Variant ops for UFS crypto and new crypto lib
  Revert "Reverting crypto patches"
  Integrate the new file encryption framework
  Remove Per File Key based hardware crypto framework
  ARM: dts: msm: Disable cti apps node for sa8155
  ARM: dts: add audio device tree for sda429
  usb: f_gsi: Implement remote wakeup feature for gsi for bus suspend
  diag: Synchronize USB notifications handling event queues
  diag: Add usb events to a queue
  msm: ais: change the buffer SOF timestamp match
  net: stmmac: Fix the ioctl case for timestamping
  usb: gadget: u_ether: Add skb check in eth_start_xmit
  net: stmmac: FR60005 unused data cleanup
  lkdtm: Correct the size value for WRITE_KERN
  net: stmmac: Enable RX parameter configuration from device tree
  msm: camera: Fix uninitialized and Null pointer dereference
  serial: msm_geni_serial: Fix the issue with PM usage
  ARM: defconfig: Enable intermediate functional block support for sdm429w
  clk: qcom: gcc: Add freq support for emac clk in qcs405
  msm: kgsl: Use regulator_is_enabled api when gpu-quirk-cx-gdsc is defined
  msm: kgsl: Reset CM3 during GMU suspend
  soc: qcom: socinfo: Add support for trinket-iot soc-id
  msm: kgsl: Always boot GMU with default CM3 config
  ARM: dts: qcom: Enable SE2 I2C for SA8195
  msm: pcie: validate speed switch request
  msm: pcie: correct cached PCIe link BW max gen speed
  soc: qcom: socinfo: Remove Unnecessary soc-id
  ARM: dts: msm: Remove unnecessary files for qcm6125
  ARM: dts: msm: add support of DP PCLK bond mode for SA8195p
  msm: kgsl: Add handler for GPC interrupt on A6xx GPU
  msm: ipa3: add eth ep_pair info
  msm: ipa3: add v2x ethernet pipes
  msm: kgsl: Poll GDSCR to ensure CX collapse
  ARM: dts: msm: Add WLAN PD auxilary minidump ID for sdmmagpie
  ARM: dts: msm: Add WLAN PD auxilary minidump ID for MSS on SM6150
  RM: dts: msm: add support for gpio based jack detection on qcs610

Signed-off-by: UtsavBalar1231 <utsavbalar1231@gmail.com>
2020-08-29 22:33:13 +05:30
UtsavBalar1231
6431d60afe teckpack: audio: tfa98xx: read original memtrack data from device
Signed-off-by: UtsavBalar1231 <utsavbalar1231@gmail.com>
2020-08-28 11:25:33 +05:30
UtsavBalar1231
5f38a95d53 Merge remote-tracking branch 'origin/auto-kernel' into auto-kernel-oss
* origin/auto-kernel:
  techpack: audio: squash add back auto-kernel changes
  techpack: Remove audio-kernel subtree from source
  techpack: audio: Remove Android.mk files
  ASoC: Avoid spk_id_get duplicate defination
  ASoC: sm8150: do not export all the variables
  ASoC: msm-dai-q6-v2: Mark msm-dai-q6 drivers as sync probe.
  config: sm8150: Build all modules in-kernel
  ASoC: dsp: elliptic: Fix No newline at end of elliptic_version.h
  ASoC: sm8150: Split sa8155 driver into separate config option
  techpack: audio: Remove build timestamp injection
  techpack/audio: codecs: Fix potential buffer overflows
  ASoC: Remove -Werror definations
  SoC: Fix symbolic links
  ASoC: Add non DSP stereo support for tfa98xx
  ASoC: Add Support for tfa98xx driver
  Squashed 'asoc/codecs/tfa98xx/' content from commit 37440d98
  ASoC: sm8150: copy dai links based on device soc id
  ASoC: sm8150: Add tfa9874 codec dai link support
  ASoC: sm8150: Add cs35l41 codec dai link support
  ASoC: sm8150: Add tas2557 codec dai link support
  ASoC: sm8150: Add snd-soc-dummy codec dai link support
  ASoC: sm8150: Disable LPASS_BE_QUAT_MI2S_RX route
  ASoC: sm8150: Fix mi2s clock frequency
  ASoC: sm8150: modify button configuration
  ASoC: msm-dai-fe: Add Support for packed 24 bit
  ASoC: msm-compress-q6-v2: Set decoder output to 24 bit
  ASoC: msm-pcm-routing-v2: Fix external EC reference for AUDIO_REF_EC_UL10 MUX
  ASoC: dsp: q6afe: don't validate payload size check before memory copy
  ASoC: dsp: q6afe: Remove payload size check on param_id_pos
  ASoC: dsp: set channel_mode as 1 for ADM_TOPOLOGY_ID_AUDIO_RX_FVSAM topology
  ASoC: dsp: Add AFE_PORT_ID_PSEUDOPORT_01 routing support
  ASoC: wcd-spi: Return I/O error if WCD SPI suspended
  ASoC: wcd-dsp-mgr: Import WDSP firmware load changes
  ASoC: wcd9xxx-common-v2: set hph mode on hph class-h state
  ASoC: wcd934x: Boost HPH volume
  ASoC: wcd934x: Bringup tavil micbias support
  ASoC: wcd-mbhc-v2: Add Support for USB-C analog Audio
  ASoC: wcd-mbhc-v2: Set insertion debounce time to 256ms
  ASoC: wcd-mbhc: Modify mbhc mic bias control
  ASoC: Add Speaker ID platform driver
  ASoC: Add Support for msm cirrus playback driver
  ASoC: Add Support for MI US proximity driver
  ASoC: Add Support for Elliptic US proximity driver
  ASoC: Add Support for tas2557 driver
  ASoC: Add Support for cs35l41 driver
  ASoC: Revert sm8150 fix for i2s
  ASoC: codec: Remove qcom USB analog headset support
  qcacld-3.0: disable debug configs added in LA.UM.8.1.r1-15800-sm8150.0
  ARM64: configs: raphael: Increase log buffer
  sched: fair: spread tasks with in little cluster
  sched: walt: hardcode sched_coloc_downmigrate_ns to 40ms
  kbuild: disable dtc simple_bus_reg warnings by default
  kbuild: disable new dtc graph and unit-address warnings
  scripts: turn off some new dtc warnings by default
  scripts/dtc: Update to upstream version v1.4.7-14-gc86da84d30e4
  scripts/dtc: Add yamltree.c to dtc sources
  scripts/dtc: consolidate include path options in Makefile
  atomics/treewide: Clean up '*_andnot()' ifdeffery
  atomics/treewide: Make conditional inc/dec ops optional
  atomics/treewide: Make unconditional inc/dec ops optional
  atomics/treewide: Make test ops optional
  atomics/treewide: Make atomic64_fetch_add_unless() optional
  atomics/powerpc: Define atomic64_fetch_add_unless()
  atomics/arm: Define atomic64_fetch_add_unless()
  atomics/arc: Define atomic64_fetch_add_unless()
  atomics/alpha: Define atomic64_fetch_add_unless()
  atomics/generic: Define atomic64_fetch_add_unless()
  atomics: Prepare for atomic64_fetch_add_unless()
  atomics/treewide: Make atomic_fetch_add_unless() optional
  atomics/treewide: Make atomic64_inc_not_zero() optional
  atomics: Make conditional ops return 'bool'
  atomics/treewide: Remove atomic_inc_not_zero_hint()
  atomics/treewide: Remove redundant atomic_inc_not_zero() definitions
  atomics/treewide: Rename __atomic_add_unless() => atomic_fetch_add_unless()
  selinux: Cleanup printk logging in conditional
  selinux: Cleanup printk logging in ebitmap
  selinux: Cleanup printk logging in policydb
  selinux: Cleanup printk logging in netnode
  selinux: Cleanup printk logging in avc
  selinux: Cleanup printk logging in netif
  selinux: Cleanup printk logging in netport
  selinux: Cleanup printk logging in netlink
  selinux: Cleanup printk logging in selinuxfs
  selinux: Cleanup printk logging in avtab
  selinux: Cleanup printk logging in hooks
  ARM64: boot: dts: only append sm8150-v2.dtb
  ARM64: configs: raphael: Disable STACK initialization
  ARM64: configs: raphael: Disable Frequency transitions
  arm64: errata: Allow PC-relative literal loads if the 843419 fix is off
  Revert "ANDROID: HACK: arm64, LLVMLinux: use -mno-implicit-float"
  Revert "lib/string.c: implement a basic bcmp"
  Makefile: add -fno-builtin-bcmp
  Makefile: add -fno-builtin-stpcpy
  Revert "serial: msm_geni_serial: Control RFR manually when RX aborts"
  clk: qcom: osm: avoid freq run over max_freq
  msm: vidc: reduce max_packets count to 480
  msm: vidc: clocks: free vote data when core instance is NULL
  msm: vidc: fix iteration over vote data
  mm, compaction: raise compaction priority after it withdrawns
  scsi: ufs: fix pm_runtime count in reset flow
  scsi: ufs: reject query requests when device shutdown
  scsi: ufs: Avoid race condition between reinit and suspend
  scsi: ufs: re-probing hba when UFS initialization failed.
  netfilter: conntrack: fix kmemleak false positive
  ANDROID: tty: fix tty name overflow
  ANDROID: fix a bug in quota2
  ANDROID: Incremental fs: fix magic compatibility again
  Linux 4.14.195
  KVM: arm/arm64: Don't reschedule in unmap_stage2_range()
  clk: Evict unregistered clks from parent caches
  xen: don't reschedule in preemption off sections
  mm/hugetlb: fix calculation of adjust_range_if_pmd_sharing_possible
  do_epoll_ctl(): clean the failure exits up a bit
  epoll: Keep a reference on files added to the check list
  powerpc/pseries: Do not initiate shutdown when system is running on UPS
  net: dsa: b53: check for timeout
  hv_netvsc: Fix the queue_mapping in netvsc_vf_xmit()
  bonding: fix active-backup failover for current ARP slave
  vfio/type1: Add proper error unwind for vfio_iommu_replay()
  ASoC: intel: Fix memleak in sst_media_open
  ASoC: msm8916-wcd-analog: fix register Interrupt offset
  bonding: fix a potential double-unregister
  bonding: show saner speed for broadcast mode
  net: fec: correct the error path for regulator disable in probe
  i40e: Fix crash during removing i40e driver
  i40e: Set RX_ONLY mode for unicast promiscuous on VLAN
  ext4: fix potential negative array index in do_split()
  alpha: fix annotation of io{read,write}{16,32}be()
  xfs: Fix UBSAN null-ptr-deref in xfs_sysfs_init
  virtio_ring: Avoid loop when vq is broken in virtqueue_poll
  scsi: libfc: Free skb in fc_disc_gpn_id_resp() for valid cases
  cpufreq: intel_pstate: Fix cpuinfo_max_freq when MSR_TURBO_RATIO_LIMIT is 0
  jffs2: fix UAF problem
  xfs: fix inode quota reservation checks
  m68knommu: fix overwriting of bits in ColdFire V3 cache control
  Input: psmouse - add a newline when printing 'proto' by sysfs
  media: vpss: clean up resources in init
  rtc: goldfish: Enable interrupt in set_alarm() when necessary
  media: budget-core: Improve exception handling in budget_register()
  scsi: ufs: Add DELAY_BEFORE_LPM quirk for Micron devices
  spi: Prevent adding devices below an unregistering controller
  jbd2: add the missing unlock_buffer() in the error path of jbd2_write_superblock()
  ext4: fix checking of directory entry validity for inline directories
  mm, page_alloc: fix core hung in free_pcppages_bulk()
  mm: include CMA pages in lowmem_reserve at boot
  kernel/relay.c: fix memleak on destroy relay channel
  romfs: fix uninitialized memory leak in romfs_dev_read()
  btrfs: sysfs: use NOFS for device creation
  btrfs: inode: fix NULL pointer dereference if inode doesn't need compression
  btrfs: Move free_pages_out label in inline extent handling branch in compress_file_range
  btrfs: don't show full path of bind mounts in subvol=
  btrfs: export helpers for subvolume name/id resolution
  powerpc: Allow 4224 bytes of stack expansion for the signal frame
  powerpc/mm: Only read faulting instruction when necessary in do_page_fault()
  khugepaged: adjust VM_BUG_ON_MM() in __khugepaged_enter()
  khugepaged: khugepaged_test_exit() check mmget_still_valid()
  perf probe: Fix memory leakage when the probe point is not found
  drm/vgem: Replace opencoded version of drm_gem_dumb_map_offset()
  ANDROID: virtio_gpu.h: move map/unmap to 3d group
  cpu_input_boost: Mark boost kthread as performance critical
  Revert "cpufreq: cpu_input_boost: Don't touch the prime cluster"
  lib/string.c: Use freestanding environment
  selinux: selinuxfs: avoid dynamic allocations in sel_write_access
  kernfs: Avoid dynamic memory allocation for small read buffers
  Revert "ion: Improve ION allocation paths"
  FIXUP: iommu: msm: Rewrite to improve clarity and performance
  camera_sensor_module: fix mismerge from 3592eba0e6
  ANDROID: tty: fix tty name overflow
  ANDROID: fix a bug in quota2
  Release 5.2.03.30B
  qcacld-3.0: Fix issues about uninitialized variables
  ANDROID: Incremental fs: fix magic compatibility again
  qcacmn: Fix NULL pointer dereference of roam stats event param buf
  qcacmn: Fix the nol timeout panic
  qcacmn: Do not hold the lock for a long time in timer delete function
  Release 5.2.03.30A
  qcacld-3.0: Do not send HT, VHT and HE ie's to FW in all the modes
  qcacmn: Improve 'Not set force_set if event completed'
  Release 5.2.03.30
  qcacld-3.0: Disable tx beam forming for NDI vdev
  Release 5.2.03.29Z
  qcacld-3.0: Check refill debt count during rx data stall
  qcacld-3.0: Enhance logging in RX path to check refill failures
  fw-api: CL 11245227 - update fw common interface files
  Release 5.2.03.29Y
  qcacld-3.0: Fix Mem leak during GTK/IGTK rekey in FT-SuiteB roam
  fw-api: CL 11237513 - update fw common interface files
  fw-api: CL 11228391 - update fw common interface files
  fw-api: CL 11216157 - update fw common interface files
  fw-api: CL 11212157 - update fw common interface files
  fw-api: CL 11199621 - update fw common interface files
  fw-api: CL 11198984 - update fw common interface files
  uapi: Remove ADM_AUDPROC_PERSISTENT_CAL_TYPE cal type
  qcacmn: Fix OOB issue in wlan_parse_rsn_ie
  asoc : codec : enable usb analog headset support

Signed-off-by: UtsavBalar1231 <utsavbalar1231@gmail.com>
2020-08-27 11:23:40 +05:30
UtsavBalar1231
075c1804df techpack: audio: squash add back auto-kernel changes
this adds audio-kernel changes from following commits:
	treewide: Don't warn about debugfs init failure if disabled
	treewide: make every ipc_loggings a no-op
	treewide: silence warning about create IPC logging context
	techpack: audio: silence unused variable warnings
	teckpack: codecs: Use scnprintf() for robustness
	sm8150: squashed commit for fixing maybe-uninitialised variable warnings
	ARM64: configs: raphael: Disable MHI protocol support
	techpack: audio: dsp: properly guard the function
	sm8150: fix gcc-10.1.0 warnings
	drivers: use raw bitwise operations for pm_qos cpumasks
	techpack: wcd-mbhc-v2: make sure headset button wakes the system up
	techpack: silence some logging
	treewide: kmalloc() -> kmalloc_array()
	treewide: kzalloc() -> kcalloc()
	treewide: devm_kzalloc() -> devm_kcalloc()
	techpack: fix the rest of debug_fs related errors
	techpack: audio: dsp: fix compilation without VOICE_MHI

Signed-off-by: UtsavBalar1231 <utsavbalar1231@gmail.com>
2020-08-27 10:58:27 +05:30
UtsavBalar1231
eccccd6048 Merge remote-tracking branch 'origin/q' into auto-kernel
* origin/q:
  techpack: Remove audio-kernel subtree from source
  techpack: audio: Remove Android.mk files
  ASoC: Avoid spk_id_get duplicate defination
  ASoC: sm8150: do not export all the variables
  ASoC: msm-dai-q6-v2: Mark msm-dai-q6 drivers as sync probe.
  config: sm8150: Build all modules in-kernel
  ASoC: dsp: elliptic: Fix No newline at end of elliptic_version.h
  ASoC: sm8150: Split sa8155 driver into separate config option
  techpack: audio: Remove build timestamp injection
  techpack/audio: codecs: Fix potential buffer overflows
  ASoC: Remove -Werror definations
  SoC: Fix symbolic links
  ASoC: Add non DSP stereo support for tfa98xx
  ASoC: Add Support for tfa98xx driver
  Squashed 'asoc/codecs/tfa98xx/' content from commit 37440d98
  ASoC: sm8150: copy dai links based on device soc id
  ASoC: sm8150: Add tfa9874 codec dai link support
  ASoC: sm8150: Add cs35l41 codec dai link support
  ASoC: sm8150: Add tas2557 codec dai link support
  ASoC: sm8150: Add snd-soc-dummy codec dai link support
  ASoC: sm8150: Disable LPASS_BE_QUAT_MI2S_RX route
  ASoC: sm8150: Fix mi2s clock frequency
  ASoC: sm8150: modify button configuration
  ASoC: msm-dai-fe: Add Support for packed 24 bit
  ASoC: msm-compress-q6-v2: Set decoder output to 24 bit
  ASoC: msm-pcm-routing-v2: Fix external EC reference for AUDIO_REF_EC_UL10 MUX
  ASoC: dsp: q6afe: don't validate payload size check before memory copy
  ASoC: dsp: q6afe: Remove payload size check on param_id_pos
  ASoC: dsp: set channel_mode as 1 for ADM_TOPOLOGY_ID_AUDIO_RX_FVSAM topology
  ASoC: dsp: Add AFE_PORT_ID_PSEUDOPORT_01 routing support
  ASoC: wcd-spi: Return I/O error if WCD SPI suspended
  ASoC: wcd-dsp-mgr: Import WDSP firmware load changes
  ASoC: wcd9xxx-common-v2: set hph mode on hph class-h state
  ASoC: wcd934x: Boost HPH volume
  ASoC: wcd934x: Bringup tavil micbias support
  ASoC: wcd-mbhc-v2: Add Support for USB-C analog Audio
  ASoC: wcd-mbhc-v2: Set insertion debounce time to 256ms
  ASoC: wcd-mbhc: Modify mbhc mic bias control
  ASoC: Add Speaker ID platform driver
  ASoC: Add Support for msm cirrus playback driver
  ASoC: Add Support for MI US proximity driver
  ASoC: Add Support for Elliptic US proximity driver
  ASoC: Add Support for tas2557 driver
  ASoC: Add Support for cs35l41 driver
  ASoC: Revert sm8150 fix for i2s
  ASoC: codec: Remove qcom USB analog headset support
  qcacld-3.0: disable debug configs added in LA.UM.8.1.r1-15800-sm8150.0
  Linux 4.14.195
  KVM: arm/arm64: Don't reschedule in unmap_stage2_range()
  clk: Evict unregistered clks from parent caches
  xen: don't reschedule in preemption off sections
  mm/hugetlb: fix calculation of adjust_range_if_pmd_sharing_possible
  do_epoll_ctl(): clean the failure exits up a bit
  epoll: Keep a reference on files added to the check list
  powerpc/pseries: Do not initiate shutdown when system is running on UPS
  net: dsa: b53: check for timeout
  hv_netvsc: Fix the queue_mapping in netvsc_vf_xmit()
  bonding: fix active-backup failover for current ARP slave
  vfio/type1: Add proper error unwind for vfio_iommu_replay()
  ASoC: intel: Fix memleak in sst_media_open
  ASoC: msm8916-wcd-analog: fix register Interrupt offset
  bonding: fix a potential double-unregister
  bonding: show saner speed for broadcast mode
  net: fec: correct the error path for regulator disable in probe
  i40e: Fix crash during removing i40e driver
  i40e: Set RX_ONLY mode for unicast promiscuous on VLAN
  ext4: fix potential negative array index in do_split()
  alpha: fix annotation of io{read,write}{16,32}be()
  xfs: Fix UBSAN null-ptr-deref in xfs_sysfs_init
  virtio_ring: Avoid loop when vq is broken in virtqueue_poll
  scsi: libfc: Free skb in fc_disc_gpn_id_resp() for valid cases
  cpufreq: intel_pstate: Fix cpuinfo_max_freq when MSR_TURBO_RATIO_LIMIT is 0
  jffs2: fix UAF problem
  xfs: fix inode quota reservation checks
  m68knommu: fix overwriting of bits in ColdFire V3 cache control
  Input: psmouse - add a newline when printing 'proto' by sysfs
  media: vpss: clean up resources in init
  rtc: goldfish: Enable interrupt in set_alarm() when necessary
  media: budget-core: Improve exception handling in budget_register()
  scsi: ufs: Add DELAY_BEFORE_LPM quirk for Micron devices
  spi: Prevent adding devices below an unregistering controller
  jbd2: add the missing unlock_buffer() in the error path of jbd2_write_superblock()
  ext4: fix checking of directory entry validity for inline directories
  mm, page_alloc: fix core hung in free_pcppages_bulk()
  mm: include CMA pages in lowmem_reserve at boot
  kernel/relay.c: fix memleak on destroy relay channel
  romfs: fix uninitialized memory leak in romfs_dev_read()
  btrfs: sysfs: use NOFS for device creation
  btrfs: inode: fix NULL pointer dereference if inode doesn't need compression
  btrfs: Move free_pages_out label in inline extent handling branch in compress_file_range
  btrfs: don't show full path of bind mounts in subvol=
  btrfs: export helpers for subvolume name/id resolution
  powerpc: Allow 4224 bytes of stack expansion for the signal frame
  powerpc/mm: Only read faulting instruction when necessary in do_page_fault()
  khugepaged: adjust VM_BUG_ON_MM() in __khugepaged_enter()
  khugepaged: khugepaged_test_exit() check mmget_still_valid()
  perf probe: Fix memory leakage when the probe point is not found
  drm/vgem: Replace opencoded version of drm_gem_dumb_map_offset()
  ANDROID: virtio_gpu.h: move map/unmap to 3d group
  ANDROID: tty: fix tty name overflow
  ANDROID: fix a bug in quota2
  Release 5.2.03.30B
  qcacld-3.0: Fix issues about uninitialized variables
  ANDROID: Incremental fs: fix magic compatibility again
  qcacmn: Fix NULL pointer dereference of roam stats event param buf
  qcacmn: Fix the nol timeout panic
  qcacmn: Do not hold the lock for a long time in timer delete function
  Release 5.2.03.30A
  qcacld-3.0: Do not send HT, VHT and HE ie's to FW in all the modes
  qcacmn: Improve 'Not set force_set if event completed'
  Release 5.2.03.30
  qcacld-3.0: Disable tx beam forming for NDI vdev
  Release 5.2.03.29Z
  qcacld-3.0: Check refill debt count during rx data stall
  qcacld-3.0: Enhance logging in RX path to check refill failures
  fw-api: CL 11245227 - update fw common interface files
  Release 5.2.03.29Y
  qcacld-3.0: Fix Mem leak during GTK/IGTK rekey in FT-SuiteB roam
  fw-api: CL 11237513 - update fw common interface files
  fw-api: CL 11228391 - update fw common interface files
  fw-api: CL 11216157 - update fw common interface files
  fw-api: CL 11212157 - update fw common interface files
  fw-api: CL 11199621 - update fw common interface files
  fw-api: CL 11198984 - update fw common interface files
  uapi: Remove ADM_AUDPROC_PERSISTENT_CAL_TYPE cal type
  qcacmn: Fix OOB issue in wlan_parse_rsn_ie
  asoc : codec : enable usb analog headset support

Signed-off-by: UtsavBalar1231 <utsavbalar1231@gmail.com>
2020-08-27 10:58:10 +05:30
UtsavBalar1231
713dae5291 Add 'techpack/audio/' from commit 'd79a2f5a4f39ed595ee30f29fe336ccc0ef910cb'
git-subtree-dir: techpack/audio
git-subtree-mainline: 3aab74e8d1
git-subtree-split: d79a2f5a4f
2020-08-27 10:57:09 +05:30
UtsavBalar1231
3aab74e8d1 techpack: Remove audio-kernel subtree from source
Signed-off-by: UtsavBalar1231 <utsavbalar1231@gmail.com>
2020-08-27 10:56:37 +05:30
UtsavBalar1231
590f4f4026 Merge tag '9240b7e2de5e72173a9a3f68d5df0a24c7ee2f84' into q
"LA.UM.8.1.r1-15800-sm8150.0"

* tag '9240b7e2de5e72173a9a3f68d5df0a24c7ee2f84':
  uapi: Remove ADM_AUDPROC_PERSISTENT_CAL_TYPE cal type

  ignore (asoc : codec : enable usb analog headset support)
  as xiaomi already added their custom usb analog headset support
  which is pretty similar to qcom

Signed-off-by: UtsavBalar1231 <utsavbalar1231@gmail.com>
2020-08-26 13:35:30 +05:30
UtsavBalar1231
aee7a62153 Merge remote-tracking branch 'origin/auto-kernel' into auto-kernel-oss
* origin/auto-kernel:
  ARM64: configs: raphael: Regenerate and sync
  kernel: Boost whenever a zygote-forked process becomes a top app
  kernel: Boost to the max for when zygote forks
  Revert "fs: exec: Introduce is_zygote_pid()"
  base: firmware_class: Fix suspicious concatenation warnings
  mm: remove __GFP_COLD
  seq_buf: Export seq_buf_printf
  ext4: optimize __ext4_check_dir_entry()
  treewide: Use array_size() in f2fs_kzalloc()
  treewide: Use array_size() in sock_kmalloc()
  treewide: Use array_size() in vzalloc_node()
  treewide: Use array_size() in vzalloc()
  treewide: Use array_size() in vmalloc()
  treewide: devm_kzalloc() -> devm_kcalloc()
  treewide: devm_kmalloc() -> devm_kmalloc_array()
  treewide: kvzalloc() -> kvcalloc()
  treewide: kvmalloc() -> kvmalloc_array()
  treewide: kzalloc_node() -> kcalloc_node()
  treewide: kzalloc() -> kcalloc()
  treewide: kmalloc() -> kmalloc_array()
  treewide: Use struct_size() for devm_kmalloc() and friends
  treewide: Use struct_size() for vmalloc()-family
  treewide: Use struct_size() for kmalloc()-family
  UPSTREAM: Convert v4l2 event to struct_size
  UPSTREAM: Convert virtio_console to struct_size
  device: Use overflow helpers for devm_kmalloc()
  mm: Use overflow helpers in kvmalloc()
  mm: Use overflow helpers in kmalloc_array*()
  slab: make kmalloc_size() return "unsigned int"
  slab: make kmalloc_index() return "unsigned int"
  net/rds/ib_fmr.c: use kmalloc_array_node()
  mm/mempool.c: use kmalloc_array_node()
  drivers/infiniband/sw/rdmavt/qp.c: use kmalloc_array_node()
  drivers/infiniband/hw/qib/qib_init.c: use kmalloc_array_node()
  block/blk-mq.c: use kmalloc_array_node()
  include/linux/slab.h: add kmalloc_array_node() and kcalloc_node()
  slab, slub, slob: convert slab_flags_t to 32-bit
  slab, slub, slob: add slab_flags_t
  ARM64: configs: raphael: use zstd from zRAM compression
  zcomp: Use ARRAY_SIZE() for backends list
  zram: Allocate struct zcomp_strm as per-CPU memory
  drivers/block/zram/zram_drv.c: fix error return codes not being returned in writeback_store
  zram: try to avoid worst-case scenario on same element pages
  Documentation: dontdiff: Add zstd compressed files
  .gitignore: Add ZSTD-compressed files
  x86: Bump ZO_z_extra_bytes margin for zstd
  lib: Add zstd support to decompress
  lib: Prepare zstd for preboot environment, improve performance
  lib: Add might_fault() to strncpy_from_user.
  BACKPORT: lz4: fix kernel decompression speed
  iommu: msm: Fix issues in the 4.14 port
  iommu: msm: Rewrite to improve clarity and performance
  ion: Rewrite for improved clarity and performance
  Revert "ANDROID: staging: android: ion: Expose total heap and pool sizes via sysfs"
  ion: Remove hibernation support for secure heaps
  sde: interrupts: optimize interrupt dispatching routines
  ARM64: configs: raphael: sync for exfat-linux
  exfat: allow new i_version api for 4.14
  fs: include exfat fs
  drivers: staging: remove staging exfat
  ARM64: configs: raphael: some cpu related changes
  Revert "soc:qcom:icnss Async suspend/resume callbacks."
  kernel: Warn when an IRQ's affinity notifier gets overwritten
  kernel: Only set one CPU in the default IRQ affinity mask
  Revert "genirq: Add default affinity mask command line option"
  Revert "irq/core: Fix boot crash when the irqaffinity= boot parameter is passed on CPUMASK_OFFSTACK=y kernels(v1)"
  scsi: ufs: Only create one pm_qos object for the IRQ
  ARM64: configs: raphael: Enable CIB
  cpufreq: cpu_input_boost: Don't touch the prime cluster
  cpufreq: cpu_input_boost: Remove all input boost code and adjust
  cpu_input_boost: Introduce driver for event-based CPU boosting
  ARM64: configs: raphael: Disable IKHEADERS
  Revert "cpufreq: Only block min freq setting for booster processes"
  Revert "goodix_driver_gt9886: use async probing and suspend/resume"
  Revert "mm/slab_common: Align all caches' objects to hardware cachelines"
  proc/base: add static branch hints in __set_oom_adj
  drivers: gt9886: mark IRQ as performance critical
  ARM64: dts: ea8076: re-organize documentation
  arm64: dts: sm8150: Add full CPU frequency tables
  clk: qcom: clk-cpu-osm: Allow overriding CPU frequency tables in DT
  qcacmn: Fix suspicious string concatenation warning in fwlog
  qcacld-3.0: Fix regulatory domain country names
  selinux: randomize layout of key structures
  selinux: remove set but not used variable 'sidtab'
  selinux: ensure the policy has been loaded before reading the sidtab stats
  selinux: fix sidtab string cache locking
  BACKPORT: selinux: cache the SID -> context string translation
  rcu: Make kfree_rcu() ignore NULL pointers
  selinux: remove useless assignments
  selinux: log invalid contexts in AVCs
  BACKPORT: selinux: convert to kvmalloc
  mm: Introduce kvcalloc()
  msm: camera: reqmgr: Stop slot reset on buf done
  msm: mhi_dev: Fix memory leak
  msm: camera: csiphy: Update phy settings for atoll
  msm: camera: core: Change return type
  msm: camera: reqmgr: Skip apply for initial sync req on slave link
  msm: camera: reqmgr: increase the rd idx if no lower pd device
  msm: camera: reqmgr: reset slots after deactivating session
  jpeg: Add DMA driver implementation
  ARM: dts: msm: Include qcs610 changes for qcs410 also
  BACKPORT: loop: Fix wrong masking of status flags
  BACKPORT: loop: Add LOOP_CONFIGURE ioctl
  BACKPORT: loop: Clean up LOOP_SET_STATUS lo_flags handling
  BACKPORT: loop: Rework lo_ioctl() __user argument casting
  BACKPORT: loop: Move loop_set_status_from_info() and friends up
  BACKPORT: loop: Factor out configuring loop from status
  BACKPORT: loop: Remove figure_loop_size()
  BACKPORT: loop: Refactor loop_set_status() size calculation
  BACKPORT: loop: Factor out setting loop device size
  BACKPORT: loop: Remove sector_t truncation checks
  BACKPORT: loop: Call loop_config_discard() only after new config is applied
  qcacld-3.0: Flush pmksa cache for SAP when SAP stop
  Linux 4.14.193
  ARM: 8702/1: head-common.S: Clear lr before jumping to start_kernel()
  ext4: fix direct I/O read error
  random32: move the pseudo-random 32-bit definitions to prandom.h
  random32: remove net_rand_state from the latent entropy gcc plugin
  random: fix circular include dependency on arm64 after addition of percpu.h
  ARM: percpu.h: fix build error
  random32: update the net random state on interrupt and activity
  Revert "scsi: libsas: direct call probe and destruct"
  drivers: cpuidle: lpm-levels: check for valid LPM stats
  mhi: devices: mhi_netdev: Update napi poll weight to 128
  ipa3: mpm: remove WARN_ON for security concern
  sched: Improve the scheduler
  sched: Improve the scheduler
  sched/fair: bonus vruntime for task boost 3
  Sched/fair: Improve the scheduler
  Sched/fair: Improve the scheduler
  sched/walt: Avoid taking rq lock for every IRQ update
  sched/fair: Add timeout for detach_tasks() in load balance
  ANDROID: ARM64: configs: raphael: enable CONFIG_EXT4_FS_POSIX_ACL
  BACKPORT: disp: msm: dsi: Update pll delay calculation as per latest DSI HPG
  BACKPORT: disp: msm: dsi: Fix pll delay calculation during clock switch
  BACKPORT: disp: msm: dsi: Update dsi byte interface clock calculation
  drm: msm: phy-v3: Disable phy idle power collapse on poweron
  drm: msm: phy-v3: Add delay in ULPS exit on-command
  drm: msm: sde: workaround for miui like fod behaviour
  Revert "drm/msm/sde: fix topology lookup table when ctl version is used"
  Revert "drm/msm/dsi-staging: update PHY configuration to support cphy"
  Revert "drm/msm/dsi-staging: Add C-PHY support for phy ver 3.0"
  Revert "ANDROID: drivers base/arch_topology: avoid a stuck risk when cpufreq policy free"
  msm: gsi: disable debug driver
  msm: gsi: silence gsi_config_channel_mode logging
  techpack: silence some logging
  kernel: update build tools
  goodix_driver_gt9886: use async probing and suspend/resume
  sm8150: squash remove place_marker usage
  ARM64: configs: raphael: debloat and optimize
  ARM64: configs: raphael: switch back to 100hz timer frequency
  ARM64: configs: raphael: Always report stock kernel version to fsck.f2fs
  f2fs: Add support for reporting a fake kernel version to fsck
  dsi_panel: Do not explicitly enable ULPS mode during suspend
  ARM64: configs: raphael: sync for omit sublevel patch version
  Kconfig: omit sublevel patch version
  arm64/alternatives: move length validation inside the subsection
  arm64/alternatives: use subsections for replacement sequences
  Revert "FROMLIST: cpu: fix cache warnings when resuming from deep suspend"
  arm64: dts: pm8150: Switch to software debouncing for pon keys
  input: qpnp-power-on: Separate software debounce delay from hardware
  input: qpnp-power-on: Adapt software debounce to work for all keys
  arm64: dts: sm8150: Don't ratelimit userspace kmsg logging
  Revert "kbuild: Add support for LLVM's Polly optimizer"
  ARM64: configs: raphael: adjust cpusets
  ARM64: configs: raphael: Enable and configure cpuset assist
  cpufreq: schedutil: Expose default rate-limits as config options
  ARM64: configs: raphael: Configure optimal minimum CPU frequencies for sm8150
  cpufreq: Allow configuring default minimum frequencies in Kconfig
  cpufreq: Only block min freq setting for booster processes
  cpufreq: Kill userspace CPU boosting entirely
  cpufreq: squash revert cpu_input_boost support
  Linux 4.14.192
  x86/i8259: Use printk_deferred() to prevent deadlock
  KVM: LAPIC: Prevent setting the tscdeadline timer if the lapic is hw disabled
  xen-netfront: fix potential deadlock in xennet_remove()
  cxgb4: add missing release on skb in uld_send()
  x86/unwind/orc: Fix ORC for newly forked tasks
  Revert "i2c: cadence: Fix the hold bit setting"
  net: ethernet: ravb: exit if re-initialization fails in tx timeout
  parisc: add support for cmpxchg on u8 pointers
  nfc: s3fwrn5: add missing release on skb in s3fwrn5_recv_frame
  qed: Disable "MFW indication via attention" SPAM every 5 minutes
  usb: hso: Fix debug compile warning on sparc32
  arm64: csum: Fix handling of bad packets
  arm64/alternatives: move length validation inside the subsection
  mac80211: mesh: Free pending skb when destroying a mpath
  mac80211: mesh: Free ie data when leaving mesh
  bpf: Fix map leak in HASH_OF_MAPS map
  ibmvnic: Fix IRQ mapping disposal in error path
  mlxsw: core: Free EMAD transactions using kfree_rcu()
  mlxsw: core: Increase scope of RCU read-side critical section
  mlx4: disable device on shutdown
  net: lan78xx: fix transfer-buffer memory leak
  net: lan78xx: add missing endpoint sanity check
  sh: Fix validation of system call number
  selftests/net: rxtimestamp: fix clang issues for target arch PowerPC
  net/x25: Fix null-ptr-deref in x25_disconnect
  net/x25: Fix x25_neigh refcnt leak when x25 disconnect
  xfs: fix missed wakeup on l_flush_wait
  rds: Prevent kernel-infoleak in rds_notify_queue_get()
  x86, vmlinux.lds: Page-align end of ..page_aligned sections
  x86/build/lto: Fix truncated .bss with -fdata-sections
  9p/trans_fd: Fix concurrency del of req_list in p9_fd_cancelled/p9_read_work
  9p/trans_fd: abort p9_read_work if req status changed
  f2fs: check if file namelen exceeds max value
  f2fs: check memory boundary by insane namelen
  drm: hold gem reference until object is no longer accessed
  drm/amdgpu: Prevent kernel-infoleak in amdgpu_info_ioctl()
  ARM: 8986/1: hw_breakpoint: Don't invoke overflow handler on uaccess watchpoints
  wireless: Use offsetof instead of custom macro.
  PCI/ASPM: Disable ASPM on ASMedia ASM1083/1085 PCIe-to-PCI bridge
  x86/kvm: Be careful not to clear KVM_VCPU_FLUSH_TLB bit
  ath9k: release allocated buffer if timed out
  ath9k_htc: release allocated buffer if timed out
  iio: imu: adis16400: fix memory leak
  media: rc: prevent memory leak in cx23888_ir_probe
  crypto: ccp - Release all allocated memory if sha type is invalid
  net: phy: mdio-bcm-unimac: fix potential NULL dereference in unimac_mdio_probe()
  scsi: libsas: direct call probe and destruct
  Revert "clk: qcom: rcg2: Don't crash if our parent can't be found; return an error"
  Reverting crypto patches
  msm: ipa3: put ecm default as vlan in auto config
  ARM: dts: sa2150p: delete wlan related nodes for sa2150p target
  ARM: dts: sa2150p: override certain memory regions for sa2150p-nand
  serial: msm_geni_serial: Fix DMA RX FSM reset sequence
  Revert "Dm: init: Enable rootfs mount as dm-verity during boot without ramdisk"
  defconfig: Disable the arm cpuidle support for sdm429
  defconfig: msm: Add config fragment for DEBUG_FS disablement
  scripts: Consider env variables while running 'make'
  Documentation: devicetree: net: Add EMAC configuration options
  drivers: thermal: call TSENS re-init only when register is ready to update
  drivers: cpuidle: lpm-levels: check for valid LPM stats
  msm: camera: cci: Fix incorrect use of cci config ioctl
  kernel: squash revert dynamic stune boost patches
  Revert "exec: Do not block userspace writes when CPU_BOOST is enabled"
  power: smb1390: Fix taper condition for VPH configuration
  msm: ipa3: Fix to unmap sgt pages with correct size
  ARM: dts: sa515m: enable ssr and wake up sideband support
  ARM: dts: sa515m: correct sideband wakeup gpio numbers
  msm: ep_pcie: set irq flag to IRQF_EARLY_RESUME for PERST irq
  uapi: sound: add TTP pass through run mode command
  ARM: dts: msm: enable fuel gauge driver
  ARM: dts: msm: Enable default thermal zones and cooling devices for sdm429
  drm: msm: sde: Fix compile warnings
  drm/msm/sde: revert gcc compilation fix from yaro
  disp: msm: sde: modify setting of split_display flag
  drm/msm/sde: update multirect op to max for multirect mode
  drm/msm/sde: skip rsc client creation for external encoders
  drm/msm/sde: fix deadlock by connection_mutex
  drm/msm/sde: remove redundant connector cache list update
  drm/msm/sde: skip crtc atomic begin when active is false
  drm/msm/sde: fix topology lookup table when ctl version is used
  Linux 4.14.191
  xfs: set format back to extents if xfs_bmap_extents_to_btree
  regmap: debugfs: check count when read regmap file
  mm/page_owner.c: remove drain_all_pages from init_early_allocated_pages
  tcp: allow at most one TLP probe per flight
  rtnetlink: Fix memory(net_device) leak when ->newlink fails
  ip6_gre: fix null-ptr-deref in ip6gre_init_net()
  AX.25: Prevent integer overflows in connect and sendmsg
  rxrpc: Fix sendmsg() returning EPIPE due to recvmsg() returning ENODATA
  net: udp: Fix wrong clean up for IS_UDPLITE macro
  net-sysfs: add a newline when printing 'tx_timeout' by sysfs
  drivers/net/wan/x25_asy: Fix to make it work
  dev: Defer free of skbs in flush_backlog
  AX.25: Prevent out-of-bounds read in ax25_sendmsg()
  AX.25: Fix out-of-bounds read in ax25_connect()
  defconfig: sa2150p: Remove unwanted debug configs
  mhi: cntrl: qcom: Update the fw image name for new devices
  ARM: dts: msm: Add correct board name for SDX55 MTP Telematics AU DSDA
  drivers: qti-virtual-sensor: Add hexa cpu max virtual sensor for SDM429
  ARM: dts: msm: fix cx_cdev label size for SDM429W
  ARM: dts: msm: Add virtual display connector for sa8155
  ARM: dts: msm: Add virtual display connector for sa6155
  ARM: dts: msm: Add virtual display connector for sa8195
  usb: gadget: f_ipc: Increase max packet size to 24k
  ARM: dts: msm: Enable slimbus slave for SDMw429
  usb: gadget: f_ipc: Wait for req completion only when suspended
  Revert "ARM: dts: msm: add display related dt nodes on QCS410 device"
  clk: qcom: npucc: Update NPU Q6 frequency for ATOLL
  Revert "drm/msm/sde: use atomic counter for pending frame done"
  Revert "drm/msm/sde: support posted frame trigger for cmd mode"
  Revert "drm/msm/sde: delay reset frame by a frame for posted trigger"
  Revert "drm/msm/sde: add connector property for frame trigger mode"
  ARM: dts: msm: Configure "qcom,sync-dly" to 800us for SDM660
  backlight: qcom-wled: Add "qcom,sync-dly" device tree property
  usb: dwc3-msm: Set proper ssphy flag during peripheral bus suspend
  Revert "drm/msm/sde: avoid frame done event during autorefresh"
  Revert "drm/msm/sde: trigger frame done if ctl is idle"
  Revert "disp: msm: sde: use wr_ptr interrupt instead of ctl_start"
  Revert "disp: msm: sde: reset ctl during wr_ptr_irq timeout"
  Revert "disp: msm: sde: fix release fence signaling in error cases"
  Revert "disp: msm: sde: wait for specific pp_done instead of zero"
  Revert "disp: msm: sde: fix handling the missing pp-done interrupt cases"
  Revert "disp: msm: sde: avoid encoder power-collapse with pending frames"
  Revert "disp: msm: sde: handle another case for lost pp-done interrupt"
  Revert "disp: msm: sde: signal retire fence in wr_ptr timeout"
  Revert "disp: msm: sde: avoid multiple frame-done encoder events"
  Revert "drm/msm/dsi-staging: update dsi clock calculations"
  Revert "drm/msm/dsi-staging: update frame transfer time calculations"
  Revert "disp: msm: dsi: update dsi pclk in panel mode settings"
  Revert "dt-bindings: Add frame threshold property for dsi controller"
  Revert "ARM: dts: msm: update frame threshold time for atoll"
  Revert "drm/msm/sde: initialize sde_encoder_wait_info before usage"
  Revert "drm/msm/sde: avoid frame_done event trigger for idle scenario"
  Revert "drm/msm/sde: trigger single frame_done evt for vid encoder"
  coresight: cti: Add sys interface to show max trigger number
  ARM: dts: msm: Add memshare for sdm429
  rpmsg: qcom_glink_bgcom: Clean up the channels after SSR
  msm: qpnp-power-on: configure KPDPWR_N S2 for HARD_RESET at TWM entry
  dts: sdx: add support for tdm for sa515m card
  power: smb1398: Update win-uv threshold to 10mV
  power: battery: Fix use of uninitialized variable error
  power: smb1398: Do not disable FP_FET during IREV condition
  backlight: qcom-spmi-wled: Add "qcom,sync-dly" property
  defconfig: Enable FS related configs
  defconfig: Disable CRYPTO_MD4 config
  defconfig: For support api_30 kernel changes
  ARM: dts: msm: disable gpu_isdb cti for trinket
  ARM: dts: qcom: add video device tree entry for sdm429w
  net: qualcomm: rmnet: validate ipv6 extension header lengths
  msm: ais: Address index out of bounds
  msm: mhi_dev: allocate high priority Workqueue for mhi_sm_wq
  binder: fix braces warning in binderfs
  usb: host: xhci: update event ring dequeue pointer on purpose
  drivers: soc: rename block device nodes
  iommu/arm-smmu: Do not write to slave side protected context banks
  i2c: i2c-qcom-geni: Reinitialize the variables after every transfer
  clk: qcom: mdss: Add check to read the gdsc status
  drm/msm/sde: trigger single frame_done evt for vid encoder
  drm/msm/sde: avoid frame_done event trigger for idle scenario
  drm/msm/sde: initialize sde_encoder_wait_info before usage
  ARM: dts: msm: Add UFS support for kdump kernel on sa8155
  iio: adc: Add channels AMUX1 and AMUX3 for voltage reading
  msm: ADSPRPC: Size check before allocating memory from DMA
  usb: dwc3-msm: Add markers for peripheral bus resume
  sched/walt: Improve the scheduler
  Reverting incremental fs changes
  drivers: soc: sdx_ext_ipc: Fix devm_request_threaded_irq call
  Reverting crypto and incrementalfs changes
  diag: Update event and log code ranges
  ARM: dts: msm: Update ADC channels for SA2150P based CCARD
  PCI: Add PCIe quirks for PCIe root port
  ARM: dts: msm: Update mpss_adsp carved memory for sa515m cdp
  ARM: dts: msm: enable usb suspend function in host mode
  usb: dwc3-msm: Add markers for peripheral bus resume
  msm: vidc: fix deadlock between queue and flush buffer handling
  ARM: dts: msm: Add uart support for kdump kernel on sa8155
  sx150x-pinctrl: Avoid i2c transfer during kexec
  ARM: dts: msm: Add and enable Tj based modem_v2x mitigation for SA515
  drivers: thermal: qmi_cooling: Add support for modem_v2x cooling device
  arm: dts: qcom: add tz_apps and qseecom
  mhi: core: Error handling for pending packets in mission_mode
  msm: kgsl: Fix possible use-after-free while adding context to active list
  ARM: dts: msm: add support for SMP2P shutdown ack from modem
  ARM: dts: msm: Update mpss_adsp carved memory for sa515m cdp
  ARM: dts: msm: add hs uart node for BT on QCS410 device
  ARM: dts: msm: Add mem_dump and RTB node for sdm429
  defconfig: sdm429: Add configs related to DCVS and scheduler
  ARM : dts: msm: Add DCVS and sched nodes
  msm: ADSPRPC: Map and FD non-NULL check before dereferencing
  platform: msm: qcom-geni-se: Correct print statement format
  net: stmmac: Add check for micrel phy for phy interrupt
  defconfig: sdmshrike: use uncompressed linux kernel
  soc: qcom: hab: fix some issues in the remote open cancelling case
  ARM: dts: qcom: Add system secure ion heap for Quin GVM
  wcnss: Enable smd channel ready
  ARM: dts: msm8916: Update reserved-memory for wcnss, venus and mba
  defconfig: Enable Incremental FS support
  net: stmmac: Fixed autoneg disable issue
  ubifs: Fix deadlock in concurrent bulk-read and writepage
  spi: spi-geni-qcom: Return error if setup transfer fails
  mhi: core: do not toggle PCIe low power mode in sleeping context
  msm: ais: remove unnecessary writing to csid rdi cfg0 register
  cfg80211: Indicate backport support for sband iftype data
  ARM: dts: qcom: add display nodes for SDA429w devices
  drm/msm/dsi-staging: fix t_clk_pre in high dsi clock use case
  init: early_services: get status after launching early services
  ARM: dts: msm: Add DVT-2 support for APQ hardware
  dt-bindings: add clock_pre extend enable panel property
  usb: phy: snps: Enable auto-resume during host mode bus suspend
  ARM: dts: msm: Add core/core2x clk for SSC QUP
  usb: misc: mdm_data_bridge: Add missing check for single interface
  net: stmmac: Add check for  HWTSTAMP_FILTER_ALL filter
  msm: ais: add ais isp trace
  ARM: msm: dts: set skip-panel-reset for AUO 416p panel
  video: fbdev: msm: add skip-panel-reset dt property
  power: smb5-lib: Report the CURRENT_MAX as 1A in CC-mode
  soc: qcom: bgcom: Use shared_ee property for spi
  ARM: dts: msm: Add shared_ee property to bg spi node
  ARM: dts: msm: Add MHI and PCIe configuration
  video: fbdev: msm: add interface to send idle on/off command to panel
  msm: ipa3: Support uc header proc ctx for DSCP insertion
  usb: gadget: f_ipc: Add support of sideband notifier call chain
  msm: ipa: send the endp_desc QMI for low_lat only on non-auto mode
  ARM: dts: msm: update modem Tj thermal zone trips for SA515
  usb: gadget: f_gsi: Increase num of buffers to 50 for ECM
  fw-api: CL 11046353 - update fw common interface files
  Release 5.2.03.29I
  fw-api: CL 11039524 - update fw common interface files
  fw-api: CL 11034593 - update fw common interface files
  fw-api: CL 11025894 - update fw common interface files
  fw-api: CL 11024688 - update fw common interface files
  fw-api: CL 11019489 - update fw common interface files
  fw-api: CL 11006718 - update fw common interface files
  fw-api: CL 10992505 - update fw common interface files
  fw-api: CL 10972934 - update fw common interface files
  fw-api: CL 10966184 - update fw common interface files
  qcacmn: Send vdev param NAN_CONFIG_FEATURES after creating vdev
  qcacld-3.0: Send vdev param NAN_CONFIG_FEATURES after creating vdev
  usb: gadget: handle bam setup and cleanup for mbim in u_bam_dmux
  Release 5.2.03.29H
  qcacld-3.0: Limit the number of times get_tx_power can come
  Release 5.2.03.29G
  qcacld-3.0: Fix Mlme info updating in connected BSS in scan
  UPSTREAM: ath10k: Fix encoding for protected management frames
  UPSTREAM: ath10k: Fix length of wmi tlv command for protected mgmt frames
  UPSTREAM: ath10k: Add peer delete response event
  UPSTREAM: ath10k: wait for vdev delete response from firmware
  UPSTREAM: ath10k: Add wmi tlv service map for mesh 11s
  UPSTREAM: ath10k: update GCMP & GCMP-256 cipher suite number for WCN3990
  UPSTREAM: ath10k: assign 'n_cipher_suites = 11' for WCN3990 to enable WPA3
  UPSTREAM: ath10k: assign 'n_cipher_suites' for WCN3990
  UPSTREAM: ath10k: Add wmi tlv vdev subtype for mesh in WCN3990
  Release 5.2.03.29F
  qcacld-3.0: Fix pm_qos update logic
  qcacld-3.0: CPU mask not set for affine cores on init
  UPSTREAM: mac80211: add missing WFA Multi-AP backhaul STA Rx requirement
  Release 5.2.03.29E
  qcacld-3.0: Update pm_qos request only if vote or tx or rx level changes
  qcacmn: Define QDF API for cpumask abstraction
  qcacmn: Add QDF API to set thread cpu mask
  qcacmn: Add vdev param to configure NAN feature bitmap to firmware
  Release 5.2.03.29D
  qcacld-3.0: Ini bitmap to enable/disable a particular NAN feature
  msm: sps: Assign proper BAM destination values
  Release 5.2.03.29C
  usb: u_ether: Add null pointer check for sk_buff in eth_start_xmit
  qcacmn: Invoke correct api to convert channel to frequency
  qcacmn: Make freq to chan and vice versa conversion more generic
  qcacld-3.0: Allocate required memory for skb and radiotap
  qcacmn: Fix OOB issue in wlan_parse_rsn_ie
  kheaders: include only headers into kheaders_data.tar.xz
  kheaders: remove meaningless -R option of 'ls'
  msm: camera: Fix KW issues
  ARM: dts: msm: Change smem host id for gvm la
  soc: qcom: smem: Increase total host number
  Release 5.2.03.29B
  qcacld-3.0: Change the RX thread policy for qcs40x soc
  kgsl: Parse secure mapping size from dts
  ANDROID: cuttlefish_defconfig: Drop built-in cmdline
  Release 5.2.03.29A
  qcacld-3.0: Change the policy & priority of RX thread
  Release 5.2.03.29
  ARM: dts: msm: Disable GPU mempools for QCS610 IoT
  qcacld-3.0: Add handler for WMI_VDEV_BCN_LATENCY_EVENTID
  Release 5.2.03.28Z
  asoc: Add digital mute callback function for cdc dma
  qcacld-3.0: Remove unnecessary clone of skb
  usb: host: xhci: Increase number of event ring segments to 4
  fw-api: CL 10917877 - update fw common interface files
  fw-api: CL 10899787 - update fw common interface files
  fw-api: CL 10894153 - update fw common interface files
  fw-api: CL 10878097 - update fw common interface files
  fw-api: CL 10874626 - update fw common interface files
  fw-api: CL 10864082 - update fw common interface files
  fw-api: CL 10859209 - update fw common interface files
  qcacmn: Add support for WMI_VDEV_BCN_LATENCY event
  soc: qcom: bgcom: use pm_runtime_status_suspended of spi
  net: usb: Initialize retval with zero as it might be used uninitialized
  qcacmn: fix format specifier in qdf_dpt_dump_stats_debugfs
  Release 5.2.03.28Y
  qcacld-3.0: initialize peer hang_data in recovery_notifier_cb
  Release 5.2.03.28X
  qcacld-3.0: Add reference when access vdev
  Release 5.2.03.28W
  qcacld-3.0: Fix assert in sme_store_nss_chains_cfg
  ASoC: bolero: Resolve glitch during amic record
  ARM: dts: msm: update frame threshold time for atoll
  dt-bindings: Add frame threshold property for dsi controller
  disp: msm: dsi: update dsi pclk in panel mode settings
  drm/msm/dsi-staging: update frame transfer time calculations
  drm/msm/dsi-staging: update dsi clock calculations
  exfat: version 5.8-2arter97
  exfat: limit supported kernel versions via macro
  exfat: fix sanity-checks on allow_utime and discard mount options
  exfat: flush dirty metadata in fsync
  exfat: move setting VOL_DIRTY over exfat_remove_entries()
  exfat: call sync_filesystem for read-only remount
  exfat: add missing brelse() calls on error paths
  exfat: Set the unused characters of FileName field to the value 0000h
  exfat: debian: comply to debian policy for upstream_version
  msm: adsprpc: Race conditions when handling the ADSP SSR
  disp: msm: sde: avoid multiple frame-done encoder events
  disp: msm: sde: signal retire fence in wr_ptr timeout
  disp: msm: sde: handle another case for lost pp-done interrupt
  disp: msm: sde: avoid encoder power-collapse with pending frames
  disp: msm: sde: fix handling the missing pp-done interrupt cases
  disp: msm: sde: wait for specific pp_done instead of zero
  disp: msm: sde: fix release fence signaling in error cases
  disp: msm: sde: reset ctl during wr_ptr_irq timeout
  exfat: version 5.8-1arter97
  exfat: update README for new base
  exfat: import README.md from master
  exfat: debian: install a Kbuild file, improve installation
  exfat: add Ubuntu DKMS configuration
  exfat: set custom version
  exfat: add virtual xattr support for Android
  exfat: implement "quiet" option for setattr
  exfat: include exfat_raw.h to exfat_fs.h
  exfat: handle older kernels with different getattr() vfs interface
  exfat: handle older kernels without SB_* renamed flags
  exfat: handle kernel versions without exported iversion.h
  exfat: use sops->free_inode only on v5.2+
  exfat: guard timestamp range support
  exfat: add an empty compat.h
  exfat: remove use of fs_parser
  exfat: add gitignore
  exfat: allow building externally
  Add GPL 2.0 license
  exfat: Fix potential use after free in exfat_load_upcase_table()
  exfat: fix range validation error in alloc and free cluster
  exfat: fix incorrect update of stream entry in __exfat_truncate()
  exfat: fix memory leak in exfat_parse_param()
  exfat: remove unnecessary reassignment of p_uniname->name_len
  exfat: standardize checksum calculation
  exfat: add boot region verification
  exfat: separate the boot sector analysis
  exfat: redefine PBR as boot_sector
  exfat: optimize dir-cache
  exfat: replace 'time_ms' with 'time_cs'
  exfat: remove the assignment of 0 to bool variable
  exfat: Remove unused functions exfat_high_surrogate() and exfat_low_surrogate()
  exfat: Simplify exfat_utf8_d_hash() for code points above U+FFFF
  exfat: Improve wording of EXFAT_DEFAULT_IOCHARSET config option
  exfat: Use a more common logging style
  exfat: Simplify exfat_utf8_d_cmp() for code points above U+FFFF
  exfat: add the dummy mount options to be backward compatible with staging/exfat
  exfat: fix possible memory leak in exfat_find()
  exfat: use iter_file_splice_write
  exfat: truncate atimes to 2s granularity
  exfat: properly set s_time_gran
  exfat: remove 'bps' mount-option
  exfat: Unify access to the boot sector
  exfat: add missing MODULE_ALIAS_FS()
  exfat: Fix discard support
  exfat: update file system parameter handling
  exfat: add Kconfig and Makefile
  exfat: add nls operations
  exfat: add misc operations
  exfat: add exfat cache
  exfat: add bitmap operations
  exfat: add fat entry operations
  exfat: add file operations
  exfat: add directory operations
  exfat: add inode operations
  exfat: add super block operations
  exfat: add in-memory and on-disk structures and headers
  disp: msm: sde: use wr_ptr interrupt instead of ctl_start
  drm/msm/sde: trigger frame done if ctl is idle
  drm/msm/sde: avoid frame done event during autorefresh
  drm/msm/sde: add connector property for frame trigger mode
  drm/msm/sde: delay reset frame by a frame for posted trigger
  drm/msm/sde: support posted frame trigger for cmd mode
  drm/msm/sde: use atomic counter for pending frame done
  ASoC: bolero: Fix higher btn press noise issue
  audio-kernel: add proxy ports for call screening in machine driver
  asoc: add code change for proxy playback and capture BE DAIs.
  usb: pd: Correctly handle SVDM versions
  ANDROID: arm64: vdso: wrap -n in ld-option
  BACKPORT: arm64: vdso: Explicitly add build-id option
  BACKPORT: arm64: vdso: use $(LD) instead of $(CC) to link VDSO
  ANDROID: cuttlefish defconfig - enable mount/net/uts namespaces.
  ANDROID: net: bpf: permit redirect from ingress L3 to egress L2 devices at near max mtu
  UPSTREAM: mm/page_io.c: annotate refault stalls from swap_readpage
  ANDROID: cuttlefish_defconfig: Fix dm-verity related options
  BACKPORT: loop: Add LOOP_SET_BLOCK_SIZE in compat ioctl
  BACKPORT: loop: change queue block size to match when using DIO
  ANDROID: cuttlefish_defconfig: Minimally enable EFI
  UPSTREAM: loop: Only freeze block queue when needed.
  UPSTREAM: loop: Only change blocksize when needed.
  UPSTREAM: ipv6: ndisc: add support for 'PREF64' dns64 prefix identifier
  ANDROID: dm-bow: Fix free_show value is incorrect
  UPSTREAM: bpf: Explicitly memset some bpf info structures declared on the stack
  UPSTREAM: bpf: Explicitly memset the bpf_attr structure
  UPSTREAM: binder: fix incorrect calculation for num_valid
  UPSTREAM: sched/psi: Fix OOB write when writing 0 bytes to PSI files
  UPSTREAM: psi: Fix a division error in psi poll()
  UPSTREAM: sched/psi: Fix sampling error and rare div0 crashes with cgroups and high uptime
  UPSTREAM: sched/psi: Correct overly pessimistic size calculation
  ANDROID: net: bpf: Allow TC programs to call BPF_FUNC_skb_change_head

Signed-off-by: UtsavBalar1231 <utsavbalar1231@gmail.com>
2020-08-17 19:30:29 +05:30
Kees Cook
7076e86f97 treewide: devm_kzalloc() -> devm_kcalloc()
The devm_kzalloc() function has a 2-factor argument form, devm_kcalloc().
This patch replaces cases of:

        devm_kzalloc(handle, a * b, gfp)

with:
        devm_kcalloc(handle, a * b, gfp)

as well as handling cases of:

        devm_kzalloc(handle, a * b * c, gfp)

with:

        devm_kzalloc(handle, array3_size(a, b, c), gfp)

as it's slightly less ugly than:

        devm_kcalloc(handle, array_size(a, b), c, gfp)

This does, however, attempt to ignore constant size factors like:

        devm_kzalloc(handle, 4 * 1024, gfp)

though any constants defined via macros get caught up in the conversion.

Any factors with a sizeof() of "unsigned char", "char", and "u8" were
dropped, since they're redundant.

Some manual whitespace fixes were needed in this patch, as Coccinelle
really liked to write "=devm_kcalloc..." instead of "= devm_kcalloc...".

The Coccinelle script used for this was:

// Fix redundant parens around sizeof().
@@
expression HANDLE;
type TYPE;
expression THING, E;
@@

(
  devm_kzalloc(HANDLE,
-	(sizeof(TYPE)) * E
+	sizeof(TYPE) * E
  , ...)
|
  devm_kzalloc(HANDLE,
-	(sizeof(THING)) * E
+	sizeof(THING) * E
  , ...)
)

// Drop single-byte sizes and redundant parens.
@@
expression HANDLE;
expression COUNT;
typedef u8;
typedef __u8;
@@

(
  devm_kzalloc(HANDLE,
-	sizeof(u8) * (COUNT)
+	COUNT
  , ...)
|
  devm_kzalloc(HANDLE,
-	sizeof(__u8) * (COUNT)
+	COUNT
  , ...)
|
  devm_kzalloc(HANDLE,
-	sizeof(char) * (COUNT)
+	COUNT
  , ...)
|
  devm_kzalloc(HANDLE,
-	sizeof(unsigned char) * (COUNT)
+	COUNT
  , ...)
|
  devm_kzalloc(HANDLE,
-	sizeof(u8) * COUNT
+	COUNT
  , ...)
|
  devm_kzalloc(HANDLE,
-	sizeof(__u8) * COUNT
+	COUNT
  , ...)
|
  devm_kzalloc(HANDLE,
-	sizeof(char) * COUNT
+	COUNT
  , ...)
|
  devm_kzalloc(HANDLE,
-	sizeof(unsigned char) * COUNT
+	COUNT
  , ...)
)

// 2-factor product with sizeof(type/expression) and identifier or constant.
@@
expression HANDLE;
type TYPE;
expression THING;
identifier COUNT_ID;
constant COUNT_CONST;
@@

(
- devm_kzalloc
+ devm_kcalloc
  (HANDLE,
-	sizeof(TYPE) * (COUNT_ID)
+	COUNT_ID, sizeof(TYPE)
  , ...)
|
- devm_kzalloc
+ devm_kcalloc
  (HANDLE,
-	sizeof(TYPE) * COUNT_ID
+	COUNT_ID, sizeof(TYPE)
  , ...)
|
- devm_kzalloc
+ devm_kcalloc
  (HANDLE,
-	sizeof(TYPE) * (COUNT_CONST)
+	COUNT_CONST, sizeof(TYPE)
  , ...)
|
- devm_kzalloc
+ devm_kcalloc
  (HANDLE,
-	sizeof(TYPE) * COUNT_CONST
+	COUNT_CONST, sizeof(TYPE)
  , ...)
|
- devm_kzalloc
+ devm_kcalloc
  (HANDLE,
-	sizeof(THING) * (COUNT_ID)
+	COUNT_ID, sizeof(THING)
  , ...)
|
- devm_kzalloc
+ devm_kcalloc
  (HANDLE,
-	sizeof(THING) * COUNT_ID
+	COUNT_ID, sizeof(THING)
  , ...)
|
- devm_kzalloc
+ devm_kcalloc
  (HANDLE,
-	sizeof(THING) * (COUNT_CONST)
+	COUNT_CONST, sizeof(THING)
  , ...)
|
- devm_kzalloc
+ devm_kcalloc
  (HANDLE,
-	sizeof(THING) * COUNT_CONST
+	COUNT_CONST, sizeof(THING)
  , ...)
)

// 2-factor product, only identifiers.
@@
expression HANDLE;
identifier SIZE, COUNT;
@@

- devm_kzalloc
+ devm_kcalloc
  (HANDLE,
-	SIZE * COUNT
+	COUNT, SIZE
  , ...)

// 3-factor product with 1 sizeof(type) or sizeof(expression), with
// redundant parens removed.
@@
expression HANDLE;
expression THING;
identifier STRIDE, COUNT;
type TYPE;
@@

(
  devm_kzalloc(HANDLE,
-	sizeof(TYPE) * (COUNT) * (STRIDE)
+	array3_size(COUNT, STRIDE, sizeof(TYPE))
  , ...)
|
  devm_kzalloc(HANDLE,
-	sizeof(TYPE) * (COUNT) * STRIDE
+	array3_size(COUNT, STRIDE, sizeof(TYPE))
  , ...)
|
  devm_kzalloc(HANDLE,
-	sizeof(TYPE) * COUNT * (STRIDE)
+	array3_size(COUNT, STRIDE, sizeof(TYPE))
  , ...)
|
  devm_kzalloc(HANDLE,
-	sizeof(TYPE) * COUNT * STRIDE
+	array3_size(COUNT, STRIDE, sizeof(TYPE))
  , ...)
|
  devm_kzalloc(HANDLE,
-	sizeof(THING) * (COUNT) * (STRIDE)
+	array3_size(COUNT, STRIDE, sizeof(THING))
  , ...)
|
  devm_kzalloc(HANDLE,
-	sizeof(THING) * (COUNT) * STRIDE
+	array3_size(COUNT, STRIDE, sizeof(THING))
  , ...)
|
  devm_kzalloc(HANDLE,
-	sizeof(THING) * COUNT * (STRIDE)
+	array3_size(COUNT, STRIDE, sizeof(THING))
  , ...)
|
  devm_kzalloc(HANDLE,
-	sizeof(THING) * COUNT * STRIDE
+	array3_size(COUNT, STRIDE, sizeof(THING))
  , ...)
)

// 3-factor product with 2 sizeof(variable), with redundant parens removed.
@@
expression HANDLE;
expression THING1, THING2;
identifier COUNT;
type TYPE1, TYPE2;
@@

(
  devm_kzalloc(HANDLE,
-	sizeof(TYPE1) * sizeof(TYPE2) * COUNT
+	array3_size(COUNT, sizeof(TYPE1), sizeof(TYPE2))
  , ...)
|
  devm_kzalloc(HANDLE,
-	sizeof(TYPE1) * sizeof(THING2) * (COUNT)
+	array3_size(COUNT, sizeof(TYPE1), sizeof(TYPE2))
  , ...)
|
  devm_kzalloc(HANDLE,
-	sizeof(THING1) * sizeof(THING2) * COUNT
+	array3_size(COUNT, sizeof(THING1), sizeof(THING2))
  , ...)
|
  devm_kzalloc(HANDLE,
-	sizeof(THING1) * sizeof(THING2) * (COUNT)
+	array3_size(COUNT, sizeof(THING1), sizeof(THING2))
  , ...)
|
  devm_kzalloc(HANDLE,
-	sizeof(TYPE1) * sizeof(THING2) * COUNT
+	array3_size(COUNT, sizeof(TYPE1), sizeof(THING2))
  , ...)
|
  devm_kzalloc(HANDLE,
-	sizeof(TYPE1) * sizeof(THING2) * (COUNT)
+	array3_size(COUNT, sizeof(TYPE1), sizeof(THING2))
  , ...)
)

// 3-factor product, only identifiers, with redundant parens removed.
@@
expression HANDLE;
identifier STRIDE, SIZE, COUNT;
@@

(
  devm_kzalloc(HANDLE,
-	(COUNT) * STRIDE * SIZE
+	array3_size(COUNT, STRIDE, SIZE)
  , ...)
|
  devm_kzalloc(HANDLE,
-	COUNT * (STRIDE) * SIZE
+	array3_size(COUNT, STRIDE, SIZE)
  , ...)
|
  devm_kzalloc(HANDLE,
-	COUNT * STRIDE * (SIZE)
+	array3_size(COUNT, STRIDE, SIZE)
  , ...)
|
  devm_kzalloc(HANDLE,
-	(COUNT) * (STRIDE) * SIZE
+	array3_size(COUNT, STRIDE, SIZE)
  , ...)
|
  devm_kzalloc(HANDLE,
-	COUNT * (STRIDE) * (SIZE)
+	array3_size(COUNT, STRIDE, SIZE)
  , ...)
|
  devm_kzalloc(HANDLE,
-	(COUNT) * STRIDE * (SIZE)
+	array3_size(COUNT, STRIDE, SIZE)
  , ...)
|
  devm_kzalloc(HANDLE,
-	(COUNT) * (STRIDE) * (SIZE)
+	array3_size(COUNT, STRIDE, SIZE)
  , ...)
|
  devm_kzalloc(HANDLE,
-	COUNT * STRIDE * SIZE
+	array3_size(COUNT, STRIDE, SIZE)
  , ...)
)

// Any remaining multi-factor products, first at least 3-factor products,
// when they're not all constants...
@@
expression HANDLE;
expression E1, E2, E3;
constant C1, C2, C3;
@@

(
  devm_kzalloc(HANDLE, C1 * C2 * C3, ...)
|
  devm_kzalloc(HANDLE,
-	(E1) * E2 * E3
+	array3_size(E1, E2, E3)
  , ...)
|
  devm_kzalloc(HANDLE,
-	(E1) * (E2) * E3
+	array3_size(E1, E2, E3)
  , ...)
|
  devm_kzalloc(HANDLE,
-	(E1) * (E2) * (E3)
+	array3_size(E1, E2, E3)
  , ...)
|
  devm_kzalloc(HANDLE,
-	E1 * E2 * E3
+	array3_size(E1, E2, E3)
  , ...)
)

// And then all remaining 2 factors products when they're not all constants,
// keeping sizeof() as the second factor argument.
@@
expression HANDLE;
expression THING, E1, E2;
type TYPE;
constant C1, C2, C3;
@@

(
  devm_kzalloc(HANDLE, sizeof(THING) * C2, ...)
|
  devm_kzalloc(HANDLE, sizeof(TYPE) * C2, ...)
|
  devm_kzalloc(HANDLE, C1 * C2 * C3, ...)
|
  devm_kzalloc(HANDLE, C1 * C2, ...)
|
- devm_kzalloc
+ devm_kcalloc
  (HANDLE,
-	sizeof(TYPE) * (E2)
+	E2, sizeof(TYPE)
  , ...)
|
- devm_kzalloc
+ devm_kcalloc
  (HANDLE,
-	sizeof(TYPE) * E2
+	E2, sizeof(TYPE)
  , ...)
|
- devm_kzalloc
+ devm_kcalloc
  (HANDLE,
-	sizeof(THING) * (E2)
+	E2, sizeof(THING)
  , ...)
|
- devm_kzalloc
+ devm_kcalloc
  (HANDLE,
-	sizeof(THING) * E2
+	E2, sizeof(THING)
  , ...)
|
- devm_kzalloc
+ devm_kcalloc
  (HANDLE,
-	(E1) * E2
+	E1, E2
  , ...)
|
- devm_kzalloc
+ devm_kcalloc
  (HANDLE,
-	(E1) * (E2)
+	E1, E2
  , ...)
|
- devm_kzalloc
+ devm_kcalloc
  (HANDLE,
-	E1 * E2
+	E1, E2
  , ...)
)

Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Adam W. Willis <return.of.octobot@gmail.com>
Signed-off-by: UtsavBalar1231 <utsavbalar1231@gmail.com>
2020-08-17 18:55:53 +05:30
Kees Cook
41b77821cf treewide: kzalloc() -> kcalloc()
The kzalloc() function has a 2-factor argument form, kcalloc(). This
patch replaces cases of:

        kzalloc(a * b, gfp)

with:
        kcalloc(a * b, gfp)

as well as handling cases of:

        kzalloc(a * b * c, gfp)

with:

        kzalloc(array3_size(a, b, c), gfp)

as it's slightly less ugly than:

        kzalloc_array(array_size(a, b), c, gfp)

This does, however, attempt to ignore constant size factors like:

        kzalloc(4 * 1024, gfp)

though any constants defined via macros get caught up in the conversion.

Any factors with a sizeof() of "unsigned char", "char", and "u8" were
dropped, since they're redundant.

The Coccinelle script used for this was:

// Fix redundant parens around sizeof().
@@
type TYPE;
expression THING, E;
@@

(
  kzalloc(
-	(sizeof(TYPE)) * E
+	sizeof(TYPE) * E
  , ...)
|
  kzalloc(
-	(sizeof(THING)) * E
+	sizeof(THING) * E
  , ...)
)

// Drop single-byte sizes and redundant parens.
@@
expression COUNT;
typedef u8;
typedef __u8;
@@

(
  kzalloc(
-	sizeof(u8) * (COUNT)
+	COUNT
  , ...)
|
  kzalloc(
-	sizeof(__u8) * (COUNT)
+	COUNT
  , ...)
|
  kzalloc(
-	sizeof(char) * (COUNT)
+	COUNT
  , ...)
|
  kzalloc(
-	sizeof(unsigned char) * (COUNT)
+	COUNT
  , ...)
|
  kzalloc(
-	sizeof(u8) * COUNT
+	COUNT
  , ...)
|
  kzalloc(
-	sizeof(__u8) * COUNT
+	COUNT
  , ...)
|
  kzalloc(
-	sizeof(char) * COUNT
+	COUNT
  , ...)
|
  kzalloc(
-	sizeof(unsigned char) * COUNT
+	COUNT
  , ...)
)

// 2-factor product with sizeof(type/expression) and identifier or constant.
@@
type TYPE;
expression THING;
identifier COUNT_ID;
constant COUNT_CONST;
@@

(
- kzalloc
+ kcalloc
  (
-	sizeof(TYPE) * (COUNT_ID)
+	COUNT_ID, sizeof(TYPE)
  , ...)
|
- kzalloc
+ kcalloc
  (
-	sizeof(TYPE) * COUNT_ID
+	COUNT_ID, sizeof(TYPE)
  , ...)
|
- kzalloc
+ kcalloc
  (
-	sizeof(TYPE) * (COUNT_CONST)
+	COUNT_CONST, sizeof(TYPE)
  , ...)
|
- kzalloc
+ kcalloc
  (
-	sizeof(TYPE) * COUNT_CONST
+	COUNT_CONST, sizeof(TYPE)
  , ...)
|
- kzalloc
+ kcalloc
  (
-	sizeof(THING) * (COUNT_ID)
+	COUNT_ID, sizeof(THING)
  , ...)
|
- kzalloc
+ kcalloc
  (
-	sizeof(THING) * COUNT_ID
+	COUNT_ID, sizeof(THING)
  , ...)
|
- kzalloc
+ kcalloc
  (
-	sizeof(THING) * (COUNT_CONST)
+	COUNT_CONST, sizeof(THING)
  , ...)
|
- kzalloc
+ kcalloc
  (
-	sizeof(THING) * COUNT_CONST
+	COUNT_CONST, sizeof(THING)
  , ...)
)

// 2-factor product, only identifiers.
@@
identifier SIZE, COUNT;
@@

- kzalloc
+ kcalloc
  (
-	SIZE * COUNT
+	COUNT, SIZE
  , ...)

// 3-factor product with 1 sizeof(type) or sizeof(expression), with
// redundant parens removed.
@@
expression THING;
identifier STRIDE, COUNT;
type TYPE;
@@

(
  kzalloc(
-	sizeof(TYPE) * (COUNT) * (STRIDE)
+	array3_size(COUNT, STRIDE, sizeof(TYPE))
  , ...)
|
  kzalloc(
-	sizeof(TYPE) * (COUNT) * STRIDE
+	array3_size(COUNT, STRIDE, sizeof(TYPE))
  , ...)
|
  kzalloc(
-	sizeof(TYPE) * COUNT * (STRIDE)
+	array3_size(COUNT, STRIDE, sizeof(TYPE))
  , ...)
|
  kzalloc(
-	sizeof(TYPE) * COUNT * STRIDE
+	array3_size(COUNT, STRIDE, sizeof(TYPE))
  , ...)
|
  kzalloc(
-	sizeof(THING) * (COUNT) * (STRIDE)
+	array3_size(COUNT, STRIDE, sizeof(THING))
  , ...)
|
  kzalloc(
-	sizeof(THING) * (COUNT) * STRIDE
+	array3_size(COUNT, STRIDE, sizeof(THING))
  , ...)
|
  kzalloc(
-	sizeof(THING) * COUNT * (STRIDE)
+	array3_size(COUNT, STRIDE, sizeof(THING))
  , ...)
|
  kzalloc(
-	sizeof(THING) * COUNT * STRIDE
+	array3_size(COUNT, STRIDE, sizeof(THING))
  , ...)
)

// 3-factor product with 2 sizeof(variable), with redundant parens removed.
@@
expression THING1, THING2;
identifier COUNT;
type TYPE1, TYPE2;
@@

(
  kzalloc(
-	sizeof(TYPE1) * sizeof(TYPE2) * COUNT
+	array3_size(COUNT, sizeof(TYPE1), sizeof(TYPE2))
  , ...)
|
  kzalloc(
-	sizeof(TYPE1) * sizeof(THING2) * (COUNT)
+	array3_size(COUNT, sizeof(TYPE1), sizeof(TYPE2))
  , ...)
|
  kzalloc(
-	sizeof(THING1) * sizeof(THING2) * COUNT
+	array3_size(COUNT, sizeof(THING1), sizeof(THING2))
  , ...)
|
  kzalloc(
-	sizeof(THING1) * sizeof(THING2) * (COUNT)
+	array3_size(COUNT, sizeof(THING1), sizeof(THING2))
  , ...)
|
  kzalloc(
-	sizeof(TYPE1) * sizeof(THING2) * COUNT
+	array3_size(COUNT, sizeof(TYPE1), sizeof(THING2))
  , ...)
|
  kzalloc(
-	sizeof(TYPE1) * sizeof(THING2) * (COUNT)
+	array3_size(COUNT, sizeof(TYPE1), sizeof(THING2))
  , ...)
)

// 3-factor product, only identifiers, with redundant parens removed.
@@
identifier STRIDE, SIZE, COUNT;
@@

(
  kzalloc(
-	(COUNT) * STRIDE * SIZE
+	array3_size(COUNT, STRIDE, SIZE)
  , ...)
|
  kzalloc(
-	COUNT * (STRIDE) * SIZE
+	array3_size(COUNT, STRIDE, SIZE)
  , ...)
|
  kzalloc(
-	COUNT * STRIDE * (SIZE)
+	array3_size(COUNT, STRIDE, SIZE)
  , ...)
|
  kzalloc(
-	(COUNT) * (STRIDE) * SIZE
+	array3_size(COUNT, STRIDE, SIZE)
  , ...)
|
  kzalloc(
-	COUNT * (STRIDE) * (SIZE)
+	array3_size(COUNT, STRIDE, SIZE)
  , ...)
|
  kzalloc(
-	(COUNT) * STRIDE * (SIZE)
+	array3_size(COUNT, STRIDE, SIZE)
  , ...)
|
  kzalloc(
-	(COUNT) * (STRIDE) * (SIZE)
+	array3_size(COUNT, STRIDE, SIZE)
  , ...)
|
  kzalloc(
-	COUNT * STRIDE * SIZE
+	array3_size(COUNT, STRIDE, SIZE)
  , ...)
)

// Any remaining multi-factor products, first at least 3-factor products,
// when they're not all constants...
@@
expression E1, E2, E3;
constant C1, C2, C3;
@@

(
  kzalloc(C1 * C2 * C3, ...)
|
  kzalloc(
-	(E1) * E2 * E3
+	array3_size(E1, E2, E3)
  , ...)
|
  kzalloc(
-	(E1) * (E2) * E3
+	array3_size(E1, E2, E3)
  , ...)
|
  kzalloc(
-	(E1) * (E2) * (E3)
+	array3_size(E1, E2, E3)
  , ...)
|
  kzalloc(
-	E1 * E2 * E3
+	array3_size(E1, E2, E3)
  , ...)
)

// And then all remaining 2 factors products when they're not all constants,
// keeping sizeof() as the second factor argument.
@@
expression THING, E1, E2;
type TYPE;
constant C1, C2, C3;
@@

(
  kzalloc(sizeof(THING) * C2, ...)
|
  kzalloc(sizeof(TYPE) * C2, ...)
|
  kzalloc(C1 * C2 * C3, ...)
|
  kzalloc(C1 * C2, ...)
|
- kzalloc
+ kcalloc
  (
-	sizeof(TYPE) * (E2)
+	E2, sizeof(TYPE)
  , ...)
|
- kzalloc
+ kcalloc
  (
-	sizeof(TYPE) * E2
+	E2, sizeof(TYPE)
  , ...)
|
- kzalloc
+ kcalloc
  (
-	sizeof(THING) * (E2)
+	E2, sizeof(THING)
  , ...)
|
- kzalloc
+ kcalloc
  (
-	sizeof(THING) * E2
+	E2, sizeof(THING)
  , ...)
|
- kzalloc
+ kcalloc
  (
-	(E1) * E2
+	E1, E2
  , ...)
|
- kzalloc
+ kcalloc
  (
-	(E1) * (E2)
+	E1, E2
  , ...)
|
- kzalloc
+ kcalloc
  (
-	E1 * E2
+	E1, E2
  , ...)
)

Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Adam W. Willis <return.of.octobot@gmail.com>
Signed-off-by: UtsavBalar1231 <utsavbalar1231@gmail.com>
2020-08-17 18:55:52 +05:30
Kees Cook
88739c4879 treewide: kmalloc() -> kmalloc_array()
The kmalloc() function has a 2-factor argument form, kmalloc_array(). This
patch replaces cases of:

        kmalloc(a * b, gfp)

with:
        kmalloc_array(a * b, gfp)

as well as handling cases of:

        kmalloc(a * b * c, gfp)

with:

        kmalloc(array3_size(a, b, c), gfp)

as it's slightly less ugly than:

        kmalloc_array(array_size(a, b), c, gfp)

This does, however, attempt to ignore constant size factors like:

        kmalloc(4 * 1024, gfp)

though any constants defined via macros get caught up in the conversion.

Any factors with a sizeof() of "unsigned char", "char", and "u8" were
dropped, since they're redundant.

The tools/ directory was manually excluded, since it has its own
implementation of kmalloc().

The Coccinelle script used for this was:

// Fix redundant parens around sizeof().
@@
type TYPE;
expression THING, E;
@@

(
  kmalloc(
-	(sizeof(TYPE)) * E
+	sizeof(TYPE) * E
  , ...)
|
  kmalloc(
-	(sizeof(THING)) * E
+	sizeof(THING) * E
  , ...)
)

// Drop single-byte sizes and redundant parens.
@@
expression COUNT;
typedef u8;
typedef __u8;
@@

(
  kmalloc(
-	sizeof(u8) * (COUNT)
+	COUNT
  , ...)
|
  kmalloc(
-	sizeof(__u8) * (COUNT)
+	COUNT
  , ...)
|
  kmalloc(
-	sizeof(char) * (COUNT)
+	COUNT
  , ...)
|
  kmalloc(
-	sizeof(unsigned char) * (COUNT)
+	COUNT
  , ...)
|
  kmalloc(
-	sizeof(u8) * COUNT
+	COUNT
  , ...)
|
  kmalloc(
-	sizeof(__u8) * COUNT
+	COUNT
  , ...)
|
  kmalloc(
-	sizeof(char) * COUNT
+	COUNT
  , ...)
|
  kmalloc(
-	sizeof(unsigned char) * COUNT
+	COUNT
  , ...)
)

// 2-factor product with sizeof(type/expression) and identifier or constant.
@@
type TYPE;
expression THING;
identifier COUNT_ID;
constant COUNT_CONST;
@@

(
- kmalloc
+ kmalloc_array
  (
-	sizeof(TYPE) * (COUNT_ID)
+	COUNT_ID, sizeof(TYPE)
  , ...)
|
- kmalloc
+ kmalloc_array
  (
-	sizeof(TYPE) * COUNT_ID
+	COUNT_ID, sizeof(TYPE)
  , ...)
|
- kmalloc
+ kmalloc_array
  (
-	sizeof(TYPE) * (COUNT_CONST)
+	COUNT_CONST, sizeof(TYPE)
  , ...)
|
- kmalloc
+ kmalloc_array
  (
-	sizeof(TYPE) * COUNT_CONST
+	COUNT_CONST, sizeof(TYPE)
  , ...)
|
- kmalloc
+ kmalloc_array
  (
-	sizeof(THING) * (COUNT_ID)
+	COUNT_ID, sizeof(THING)
  , ...)
|
- kmalloc
+ kmalloc_array
  (
-	sizeof(THING) * COUNT_ID
+	COUNT_ID, sizeof(THING)
  , ...)
|
- kmalloc
+ kmalloc_array
  (
-	sizeof(THING) * (COUNT_CONST)
+	COUNT_CONST, sizeof(THING)
  , ...)
|
- kmalloc
+ kmalloc_array
  (
-	sizeof(THING) * COUNT_CONST
+	COUNT_CONST, sizeof(THING)
  , ...)
)

// 2-factor product, only identifiers.
@@
identifier SIZE, COUNT;
@@

- kmalloc
+ kmalloc_array
  (
-	SIZE * COUNT
+	COUNT, SIZE
  , ...)

// 3-factor product with 1 sizeof(type) or sizeof(expression), with
// redundant parens removed.
@@
expression THING;
identifier STRIDE, COUNT;
type TYPE;
@@

(
  kmalloc(
-	sizeof(TYPE) * (COUNT) * (STRIDE)
+	array3_size(COUNT, STRIDE, sizeof(TYPE))
  , ...)
|
  kmalloc(
-	sizeof(TYPE) * (COUNT) * STRIDE
+	array3_size(COUNT, STRIDE, sizeof(TYPE))
  , ...)
|
  kmalloc(
-	sizeof(TYPE) * COUNT * (STRIDE)
+	array3_size(COUNT, STRIDE, sizeof(TYPE))
  , ...)
|
  kmalloc(
-	sizeof(TYPE) * COUNT * STRIDE
+	array3_size(COUNT, STRIDE, sizeof(TYPE))
  , ...)
|
  kmalloc(
-	sizeof(THING) * (COUNT) * (STRIDE)
+	array3_size(COUNT, STRIDE, sizeof(THING))
  , ...)
|
  kmalloc(
-	sizeof(THING) * (COUNT) * STRIDE
+	array3_size(COUNT, STRIDE, sizeof(THING))
  , ...)
|
  kmalloc(
-	sizeof(THING) * COUNT * (STRIDE)
+	array3_size(COUNT, STRIDE, sizeof(THING))
  , ...)
|
  kmalloc(
-	sizeof(THING) * COUNT * STRIDE
+	array3_size(COUNT, STRIDE, sizeof(THING))
  , ...)
)

// 3-factor product with 2 sizeof(variable), with redundant parens removed.
@@
expression THING1, THING2;
identifier COUNT;
type TYPE1, TYPE2;
@@

(
  kmalloc(
-	sizeof(TYPE1) * sizeof(TYPE2) * COUNT
+	array3_size(COUNT, sizeof(TYPE1), sizeof(TYPE2))
  , ...)
|
  kmalloc(
-	sizeof(TYPE1) * sizeof(THING2) * (COUNT)
+	array3_size(COUNT, sizeof(TYPE1), sizeof(TYPE2))
  , ...)
|
  kmalloc(
-	sizeof(THING1) * sizeof(THING2) * COUNT
+	array3_size(COUNT, sizeof(THING1), sizeof(THING2))
  , ...)
|
  kmalloc(
-	sizeof(THING1) * sizeof(THING2) * (COUNT)
+	array3_size(COUNT, sizeof(THING1), sizeof(THING2))
  , ...)
|
  kmalloc(
-	sizeof(TYPE1) * sizeof(THING2) * COUNT
+	array3_size(COUNT, sizeof(TYPE1), sizeof(THING2))
  , ...)
|
  kmalloc(
-	sizeof(TYPE1) * sizeof(THING2) * (COUNT)
+	array3_size(COUNT, sizeof(TYPE1), sizeof(THING2))
  , ...)
)

// 3-factor product, only identifiers, with redundant parens removed.
@@
identifier STRIDE, SIZE, COUNT;
@@

(
  kmalloc(
-	(COUNT) * STRIDE * SIZE
+	array3_size(COUNT, STRIDE, SIZE)
  , ...)
|
  kmalloc(
-	COUNT * (STRIDE) * SIZE
+	array3_size(COUNT, STRIDE, SIZE)
  , ...)
|
  kmalloc(
-	COUNT * STRIDE * (SIZE)
+	array3_size(COUNT, STRIDE, SIZE)
  , ...)
|
  kmalloc(
-	(COUNT) * (STRIDE) * SIZE
+	array3_size(COUNT, STRIDE, SIZE)
  , ...)
|
  kmalloc(
-	COUNT * (STRIDE) * (SIZE)
+	array3_size(COUNT, STRIDE, SIZE)
  , ...)
|
  kmalloc(
-	(COUNT) * STRIDE * (SIZE)
+	array3_size(COUNT, STRIDE, SIZE)
  , ...)
|
  kmalloc(
-	(COUNT) * (STRIDE) * (SIZE)
+	array3_size(COUNT, STRIDE, SIZE)
  , ...)
|
  kmalloc(
-	COUNT * STRIDE * SIZE
+	array3_size(COUNT, STRIDE, SIZE)
  , ...)
)

// Any remaining multi-factor products, first at least 3-factor products,
// when they're not all constants...
@@
expression E1, E2, E3;
constant C1, C2, C3;
@@

(
  kmalloc(C1 * C2 * C3, ...)
|
  kmalloc(
-	(E1) * E2 * E3
+	array3_size(E1, E2, E3)
  , ...)
|
  kmalloc(
-	(E1) * (E2) * E3
+	array3_size(E1, E2, E3)
  , ...)
|
  kmalloc(
-	(E1) * (E2) * (E3)
+	array3_size(E1, E2, E3)
  , ...)
|
  kmalloc(
-	E1 * E2 * E3
+	array3_size(E1, E2, E3)
  , ...)
)

// And then all remaining 2 factors products when they're not all constants,
// keeping sizeof() as the second factor argument.
@@
expression THING, E1, E2;
type TYPE;
constant C1, C2, C3;
@@

(
  kmalloc(sizeof(THING) * C2, ...)
|
  kmalloc(sizeof(TYPE) * C2, ...)
|
  kmalloc(C1 * C2 * C3, ...)
|
  kmalloc(C1 * C2, ...)
|
- kmalloc
+ kmalloc_array
  (
-	sizeof(TYPE) * (E2)
+	E2, sizeof(TYPE)
  , ...)
|
- kmalloc
+ kmalloc_array
  (
-	sizeof(TYPE) * E2
+	E2, sizeof(TYPE)
  , ...)
|
- kmalloc
+ kmalloc_array
  (
-	sizeof(THING) * (E2)
+	E2, sizeof(THING)
  , ...)
|
- kmalloc
+ kmalloc_array
  (
-	sizeof(THING) * E2
+	E2, sizeof(THING)
  , ...)
|
- kmalloc
+ kmalloc_array
  (
-	(E1) * E2
+	E1, E2
  , ...)
|
- kmalloc
+ kmalloc_array
  (
-	(E1) * (E2)
+	E1, E2
  , ...)
|
- kmalloc
+ kmalloc_array
  (
-	E1 * E2
+	E1, E2
  , ...)
)

Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Adam W. Willis <return.of.octobot@gmail.com>
Signed-off-by: UtsavBalar1231 <utsavbalar1231@gmail.com>
2020-08-17 18:55:52 +05:30
UtsavBalar1231
2b76578ef1 techpack: silence some logging
- yeah yeah i know its working dont spam me you fuck

Signed-off-by: UtsavBalar1231 <utsavbalar1231@gmail.com>
2020-08-06 22:14:03 +05:30
UtsavBalar1231
727a66e949 Merge remote-tracking branch 'origin/q' into auto-kernel
* origin/q:
  Linux 4.14.192
  x86/i8259: Use printk_deferred() to prevent deadlock
  KVM: LAPIC: Prevent setting the tscdeadline timer if the lapic is hw disabled
  xen-netfront: fix potential deadlock in xennet_remove()
  cxgb4: add missing release on skb in uld_send()
  x86/unwind/orc: Fix ORC for newly forked tasks
  Revert "i2c: cadence: Fix the hold bit setting"
  net: ethernet: ravb: exit if re-initialization fails in tx timeout
  parisc: add support for cmpxchg on u8 pointers
  nfc: s3fwrn5: add missing release on skb in s3fwrn5_recv_frame
  qed: Disable "MFW indication via attention" SPAM every 5 minutes
  usb: hso: Fix debug compile warning on sparc32
  arm64: csum: Fix handling of bad packets
  arm64/alternatives: move length validation inside the subsection
  mac80211: mesh: Free pending skb when destroying a mpath
  mac80211: mesh: Free ie data when leaving mesh
  bpf: Fix map leak in HASH_OF_MAPS map
  ibmvnic: Fix IRQ mapping disposal in error path
  mlxsw: core: Free EMAD transactions using kfree_rcu()
  mlxsw: core: Increase scope of RCU read-side critical section
  mlx4: disable device on shutdown
  net: lan78xx: fix transfer-buffer memory leak
  net: lan78xx: add missing endpoint sanity check
  sh: Fix validation of system call number
  selftests/net: rxtimestamp: fix clang issues for target arch PowerPC
  net/x25: Fix null-ptr-deref in x25_disconnect
  net/x25: Fix x25_neigh refcnt leak when x25 disconnect
  xfs: fix missed wakeup on l_flush_wait
  rds: Prevent kernel-infoleak in rds_notify_queue_get()
  x86, vmlinux.lds: Page-align end of ..page_aligned sections
  x86/build/lto: Fix truncated .bss with -fdata-sections
  9p/trans_fd: Fix concurrency del of req_list in p9_fd_cancelled/p9_read_work
  9p/trans_fd: abort p9_read_work if req status changed
  f2fs: check if file namelen exceeds max value
  f2fs: check memory boundary by insane namelen
  drm: hold gem reference until object is no longer accessed
  drm/amdgpu: Prevent kernel-infoleak in amdgpu_info_ioctl()
  ARM: 8986/1: hw_breakpoint: Don't invoke overflow handler on uaccess watchpoints
  wireless: Use offsetof instead of custom macro.
  PCI/ASPM: Disable ASPM on ASMedia ASM1083/1085 PCIe-to-PCI bridge
  x86/kvm: Be careful not to clear KVM_VCPU_FLUSH_TLB bit
  ath9k: release allocated buffer if timed out
  ath9k_htc: release allocated buffer if timed out
  iio: imu: adis16400: fix memory leak
  media: rc: prevent memory leak in cx23888_ir_probe
  crypto: ccp - Release all allocated memory if sha type is invalid
  net: phy: mdio-bcm-unimac: fix potential NULL dereference in unimac_mdio_probe()
  scsi: libsas: direct call probe and destruct
  Revert "Dm: init: Enable rootfs mount as dm-verity during boot without ramdisk"
  msm: ep_pcie: set irq flag to IRQF_EARLY_RESUME for PERST irq
  mhi: cntrl: qcom: Update the fw image name for new devices
  drivers: qti-virtual-sensor: Add hexa cpu max virtual sensor for SDM429
  ARM: dts: msm: fix cx_cdev label size for SDM429W
  ARM: dts: msm: Add virtual display connector for sa8195
  usb: gadget: f_ipc: Increase max packet size to 24k
  usb: dwc3-msm: Set proper ssphy flag during peripheral bus suspend
  msm: qpnp-power-on: configure KPDPWR_N S2 for HARD_RESET at TWM entry
  power: smb1398: Update win-uv threshold to 10mV
  power: battery: Fix use of uninitialized variable error
  power: smb1398: Do not disable FP_FET during IREV condition
  backlight: qcom-spmi-wled: Add "qcom,sync-dly" property
  ARM: dts: msm: disable gpu_isdb cti for trinket
  net: qualcomm: rmnet: validate ipv6 extension header lengths
  msm: ais: Address index out of bounds
  binder: fix braces warning in binderfs
  usb: host: xhci: update event ring dequeue pointer on purpose
  iommu/arm-smmu: Do not write to slave side protected context banks
  i2c: i2c-qcom-geni: Reinitialize the variables after every transfer
  ARM: dts: msm: Add UFS support for kdump kernel on sa8155
  iio: adc: Add channels AMUX1 and AMUX3 for voltage reading
  msm: ADSPRPC: Size check before allocating memory from DMA
  sched/walt: Improve the scheduler
  drivers: soc: sdx_ext_ipc: Fix devm_request_threaded_irq call
  Reverting crypto and incrementalfs changes
  diag: Update event and log code ranges
  ARM: dts: msm: Update ADC channels for SA2150P based CCARD
  PCI: Add PCIe quirks for PCIe root port
  ARM: dts: msm: enable usb suspend function in host mode
  usb: dwc3-msm: Add markers for peripheral bus resume
  msm: vidc: fix deadlock between queue and flush buffer handling
  ARM: dts: msm: Add uart support for kdump kernel on sa8155
  sx150x-pinctrl: Avoid i2c transfer during kexec
  ARM: dts: msm: Add and enable Tj based modem_v2x mitigation for SA515
  drivers: thermal: qmi_cooling: Add support for modem_v2x cooling device
  arm: dts: qcom: add tz_apps and qseecom
  mhi: core: Error handling for pending packets in mission_mode
  msm: kgsl: Fix possible use-after-free while adding context to active list
  ARM: dts: msm: add support for SMP2P shutdown ack from modem
  ARM: dts: msm: Update mpss_adsp carved memory for sa515m cdp
  ARM: dts: msm: add hs uart node for BT on QCS410 device
  ARM: dts: msm: Add mem_dump and RTB node for sdm429
  defconfig: sdm429: Add configs related to DCVS and scheduler
  ARM : dts: msm: Add DCVS and sched nodes
  msm: ADSPRPC: Map and FD non-NULL check before dereferencing
  platform: msm: qcom-geni-se: Correct print statement format
  net: stmmac: Add check for micrel phy for phy interrupt
  defconfig: sdmshrike: use uncompressed linux kernel
  soc: qcom: hab: fix some issues in the remote open cancelling case
  wcnss: Enable smd channel ready
  ARM: dts: msm8916: Update reserved-memory for wcnss, venus and mba
  defconfig: Enable Incremental FS support
  ubifs: Fix deadlock in concurrent bulk-read and writepage
  spi: spi-geni-qcom: Return error if setup transfer fails
  mhi: core: do not toggle PCIe low power mode in sleeping context
  msm: ais: remove unnecessary writing to csid rdi cfg0 register
  cfg80211: Indicate backport support for sband iftype data
  ARM: dts: qcom: add display nodes for SDA429w devices
  init: early_services: get status after launching early services
  ARM: dts: msm: Add DVT-2 support for APQ hardware
  usb: phy: snps: Enable auto-resume during host mode bus suspend
  ARM: dts: msm: Add core/core2x clk for SSC QUP
  usb: misc: mdm_data_bridge: Add missing check for single interface
  msm: ais: add ais isp trace
  ARM: msm: dts: set skip-panel-reset for AUO 416p panel
  video: fbdev: msm: add skip-panel-reset dt property
  power: smb5-lib: Report the CURRENT_MAX as 1A in CC-mode
  soc: qcom: bgcom: Use shared_ee property for spi
  ARM: dts: msm: Add shared_ee property to bg spi node
  ARM: dts: msm: Add MHI and PCIe configuration
  video: fbdev: msm: add interface to send idle on/off command to panel
  msm: ipa3: Support uc header proc ctx for DSCP insertion
  usb: gadget: handle bam setup and cleanup for mbim in u_bam_dmux
  UPSTREAM: ath10k: Fix encoding for protected management frames
  UPSTREAM: ath10k: Fix length of wmi tlv command for protected mgmt frames
  UPSTREAM: ath10k: Add peer delete response event
  UPSTREAM: ath10k: wait for vdev delete response from firmware
  UPSTREAM: ath10k: Add wmi tlv service map for mesh 11s
  UPSTREAM: ath10k: update GCMP & GCMP-256 cipher suite number for WCN3990
  UPSTREAM: ath10k: assign 'n_cipher_suites = 11' for WCN3990 to enable WPA3
  UPSTREAM: ath10k: assign 'n_cipher_suites' for WCN3990
  UPSTREAM: ath10k: Add wmi tlv vdev subtype for mesh in WCN3990
  UPSTREAM: mac80211: add missing WFA Multi-AP backhaul STA Rx requirement
  usb: u_ether: Add null pointer check for sk_buff in eth_start_xmit
  kheaders: include only headers into kheaders_data.tar.xz
  kheaders: remove meaningless -R option of 'ls'
  msm: camera: Fix KW issues
  ARM: dts: msm: Change smem host id for gvm la
  soc: qcom: smem: Increase total host number
  kgsl: Parse secure mapping size from dts
  asoc: Add digital mute callback function for cdc dma
  usb: host: xhci: Increase number of event ring segments to 4
  soc: qcom: bgcom: use pm_runtime_status_suspended of spi
  net: usb: Initialize retval with zero as it might be used uninitialized
  ASoC: bolero: Resolve glitch during amic record
  msm: adsprpc: Race conditions when handling the ADSP SSR
  ASoC: bolero: Fix higher btn press noise issue
  audio-kernel: add proxy ports for call screening in machine driver
  asoc: add code change for proxy playback and capture BE DAIs.
  usb: pd: Correctly handle SVDM versions

Signed-off-by: UtsavBalar1231 <utsavbalar1231@gmail.com>
2020-08-05 20:50:30 +05:30
UtsavBalar1231
788013d4b8 Merge tag '620f6e30c91e96283c0fcdd09fd65bd0bbce8e43' into q
"LA.UM.8.1.r1-15600-sm8150.0"

* tag '620f6e30c91e96283c0fcdd09fd65bd0bbce8e43':
  asoc: Add digital mute callback function for cdc dma
  ASoC: bolero: Resolve glitch during amic record
  ASoC: bolero: Fix higher btn press noise issue
  audio-kernel: add proxy ports for call screening in machine driver
  asoc: add code change for proxy playback and capture BE DAIs.

Signed-off-by: UtsavBalar1231 <utsavbalar1231@gmail.com>
2020-08-04 14:01:17 +05:30
UtsavBalar1231
f4eaf54a21 Merge remote-tracking branch 'origin/auto-kernel' into auto-kernel-oss
* origin/auto-kernel:
  arm64: vdso32: Fix '--prefix=' value for newer versions of clang
  init: completely remove Early init services support
  techpack: wcd-mbhc-v2: make sure headset button wakes the system up
  scsi: sd: fix a massive performance regression
  scsi: ufs: Release clock if DMA map fails
  scsi: ufs: Recheck bkops level if bkops is disabled
  Revert "PM: core: Fix handling of devices deleted during system-wide resume"
  ARM64: dts: disable phy regulator if datarate is below 1200000000bps
  qcacld-3.0: Free a bunch of pkts at once
  arm64: vdso32: Update optimization flag for sm8150
  goodix_driver_gt9886: Remove touch_irq_boost
  cpuset: guard CPUSETS_ASSISTANT code properly
  ARM64: configs: raphael: Disable CPUSETS Assistant
  ARM64: configs: raphael: switch PELT halflife to 32ms
  ARM64: configs: raphael: regenerate
  crypto: Make CRYPTO_DEV_QCE depend on CRYPTO_DEV_QCRYPTO being disabled
  thermal: core: skip update disabled thermal zones after suspend
  sched/idle: Move quiet_vmstate() into the NOHZ code
  idle: Prevent late-arriving interrupts from disrupting offline
  FORWARDPORT: sched/idle: Micro-optimize the idle loop
  ANDROID: sched: Fix share_cap_level detect
  ANDROID: drivers base/arch_topology: avoid a stuck risk when cpufreq policy free
  Revert "drivers: base: arch_topology: swap the order of updating shared_cap_level"
  ARM64: configs: raphael: Disable CIB
  exec: Do not block userspace writes when CPU_BOOST is enabled
  Revert "cpufreq: Kill userspace CPU boosting entirely"
  Revert "cpufreq: schedutil: Expose default configuration options and apply init protection"
  Revert "cpufreq: Only block min freq setting for booster processes"
  Revert "cpufreq: Allow configuring default minimum frequencies in Kconfig"
  ARM64: configs: raphael: Enable qcom CPU_BOOST
  f2fs: compress: disable compression mount option if compression is off
  f2fs: compress: add sanity check during compressed cluster read
  f2fs: use macro instead of f2fs verity version
  f2fs: fix deadlock between quota writes and checkpoint
  compat: drop support for SUSE 15.1
  version: bump
  compat: add missing headers for ip_tunnel_parse_protocol
  compat: ipv6_dst_lookup_flow was ported to rhel 7.9 beta
  compat: allow override of depmod basedir
  compat: rhel 8.3 beta removed nf_nat_core.h
  f2fs: correct comment of f2fs_exist_written_data
  f2fs: compress: delay temp page allocation
  f2fs: compress: fix to update isize when overwriting compressed file
  f2fs: space related cleanup
  f2fs: fix use-after-free issue
  f2fs: Change the type of f2fs_flush_inline_data() to void
  f2fs: add F2FS_IOC_SEC_TRIM_FILE ioctl
  f2fs: segment.h: delete a duplicated word
  f2fs: compress: fix to avoid memory leak on cc->cpages
  f2fs: use generic names for generic ioctls
  f2fs: don't keep meta inode pages used for compressed block migration
  f2fs: fix error path in do_recover_data()
  f2fs: fix to wait GCed compressed page writeback
  f2fs: remove write attribute of main_blkaddr sysfs node
  f2fs: add GC_URGENT_LOW mode in gc_urgent
  f2fs: avoid readahead race condition
  f2fs: fix return value of move_data_block()
  f2fs: add parameter op_flag in f2fs_submit_page_read()
  f2fs: split f2fs_allocate_new_segments()
  f2fs: lost matching-pair of trace in f2fs_truncate_inode_blocks
  f2fs: fix an oops in f2fs_is_compressed_page
  f2fs: make trace enter and end in pairs for unlink
  f2fs: fix to check page dirty status before writeback
  f2fs: remove the unused compr parameter
  f2fs: support to trace f2fs_fiemap()
  f2fs: support to trace f2fs_bmap()
  f2fs: fix wrong return value of f2fs_bmap_compress()
  f2fs: remove useless parameter of __insert_free_nid()
  f2fs: fix typo in comment of f2fs_do_add_link
  f2fs: fix to wait page writeback before update
  f2fs: show more debug info for per-temperature log
  f2fs: add f2fs_gc exception handle in f2fs_ioc_gc_range
  f2fs: clean up parameter of f2fs_allocate_data_block()
  f2fs: shrink node_write lock coverage
  f2fs: add prefix for exported symbols
  f2fs: use kfree() to free variables allocated by match_strdup()
  f2fs: get the right gc victim section when section has several segments
  f2fs: fix a race condition between f2fs_write_end_io and f2fs_del_fsync_node_entry
  f2fs: remove useless truncate in f2fs_collapse_range()
  f2fs: use kfree() instead of kvfree() to free superblock data
  f2fs: avoid checkpatch error
  f2fs: should avoid inode eviction in synchronous path
  drivers: rmnet: shs: Remove unecessary dereference
  Release 5.2.03.28V
  qcacld-3.0: Update opclass and others param in pilot frame
  Release 5.2.03.28U
  qcacld-3.0: Don't update recovery in progress to false post SSR failure
  data-kernel: emac: Enable LPASS connection based on dts entry.
  data-kernel: EMAC: Fix unmap for RX DMA buffer in context descriptors
  data-kernel: EMAC: Fix the output of ethtool for link settings

Signed-off-by: UtsavBalar1231 <utsavbalar1231@gmail.com>
2020-07-30 21:52:05 +05:30
UtsavBalar1231
92090a5823 Merge remote-tracking branch 'origin/q' into auto-kernel
* origin/q:
  f2fs: compress: disable compression mount option if compression is off
  f2fs: compress: add sanity check during compressed cluster read
  f2fs: use macro instead of f2fs verity version
  f2fs: fix deadlock between quota writes and checkpoint
  f2fs: correct comment of f2fs_exist_written_data
  f2fs: compress: delay temp page allocation
  f2fs: compress: fix to update isize when overwriting compressed file
  f2fs: space related cleanup
  f2fs: fix use-after-free issue
  f2fs: Change the type of f2fs_flush_inline_data() to void
  f2fs: add F2FS_IOC_SEC_TRIM_FILE ioctl
  f2fs: segment.h: delete a duplicated word
  f2fs: compress: fix to avoid memory leak on cc->cpages
  f2fs: use generic names for generic ioctls
  f2fs: don't keep meta inode pages used for compressed block migration
  f2fs: fix error path in do_recover_data()
  f2fs: fix to wait GCed compressed page writeback
  f2fs: remove write attribute of main_blkaddr sysfs node
  f2fs: add GC_URGENT_LOW mode in gc_urgent
  f2fs: avoid readahead race condition
  f2fs: fix return value of move_data_block()
  f2fs: add parameter op_flag in f2fs_submit_page_read()
  f2fs: split f2fs_allocate_new_segments()
  f2fs: lost matching-pair of trace in f2fs_truncate_inode_blocks
  f2fs: fix an oops in f2fs_is_compressed_page
  f2fs: make trace enter and end in pairs for unlink
  f2fs: fix to check page dirty status before writeback
  f2fs: remove the unused compr parameter
  f2fs: support to trace f2fs_fiemap()
  f2fs: support to trace f2fs_bmap()
  f2fs: fix wrong return value of f2fs_bmap_compress()
  f2fs: remove useless parameter of __insert_free_nid()
  f2fs: fix typo in comment of f2fs_do_add_link
  f2fs: fix to wait page writeback before update
  f2fs: show more debug info for per-temperature log
  f2fs: add f2fs_gc exception handle in f2fs_ioc_gc_range
  f2fs: clean up parameter of f2fs_allocate_data_block()
  f2fs: shrink node_write lock coverage
  f2fs: add prefix for exported symbols
  f2fs: use kfree() to free variables allocated by match_strdup()
  f2fs: get the right gc victim section when section has several segments
  f2fs: fix a race condition between f2fs_write_end_io and f2fs_del_fsync_node_entry
  f2fs: remove useless truncate in f2fs_collapse_range()
  f2fs: use kfree() instead of kvfree() to free superblock data
  f2fs: avoid checkpatch error
  f2fs: should avoid inode eviction in synchronous path
  drivers: rmnet: shs: Remove unecessary dereference
  Release 5.2.03.28V
  qcacld-3.0: Update opclass and others param in pilot frame
  Release 5.2.03.28U
  qcacld-3.0: Don't update recovery in progress to false post SSR failure
  data-kernel: emac: Enable LPASS connection based on dts entry.
  data-kernel: EMAC: Fix unmap for RX DMA buffer in context descriptors
  data-kernel: EMAC: Fix the output of ethtool for link settings

Signed-off-by: UtsavBalar1231 <utsavbalar1231@gmail.com>
2020-07-30 21:36:38 +05:30
UtsavBalar1231
4be7e60f67 Merge tag '1296c81909bebd0c9057ec57be7da0afceff3c1e' into q
"LA.UM.8.13.r1-09500-SAIPAN.0"

* tag '1296c81909bebd0c9057ec57be7da0afceff3c1e':
  drivers: rmnet: shs: Remove unecessary dereference
  data-kernel: emac: Enable LPASS connection based on dts entry.
  data-kernel: EMAC: Fix unmap for RX DMA buffer in context descriptors
  data-kernel: EMAC: Fix the output of ethtool for link settings

Signed-off-by: UtsavBalar1231 <utsavbalar1231@gmail.com>
2020-07-30 14:43:14 +05:30
Yaroslav Furman
87d1cb4758 techpack: wcd-mbhc-v2: make sure headset button wakes the system up
- Add IRQF_NO_SUSPEND to button IRQs (press/release).
- Add wakeups to button press/release functions.

These changes ensure that system is woken up when you
pause playback, wait for a bit, try to resume playback
using headset's button.

Signed-off-by: Yaroslav Furman <yaro330@gmail.com>
Signed-off-by: UtsavBalar1231 <utsavbalar1231@gmail.com>
2020-07-30 14:33:59 +05:30
UtsavBalar1231
df54d2cc77 Merge remote-tracking branch 'origin/auto-kernel' into auto-kernel-oss
* origin/auto-kernel:
  techpack: wcd-mbhc-v2: make sure headset button wakes the system up
  scsi: sd: fix a massive performance regression
  scsi: ufs: Release clock if DMA map fails
  scsi: ufs: Recheck bkops level if bkops is disabled
  Revert "PM: core: Fix handling of devices deleted during system-wide resume"
  ARM64: dts: disable phy regulator if datarate is below 1200000000bps
  qcacld-3.0: Free a bunch of pkts at once
  arm64: vdso32: Update optimization flag for sm8150
  goodix_driver_gt9886: Remove touch_irq_boost
  cpuset: guard CPUSETS_ASSISTANT code properly
  ARM64: configs: raphael: Disable CPUSETS Assistant
  ARM64: configs: raphael: switch PELT halflife to 32ms
  ARM64: configs: raphael: regenerate
  crypto: Make CRYPTO_DEV_QCE depend on CRYPTO_DEV_QCRYPTO being disabled
  thermal: core: skip update disabled thermal zones after suspend
  sched/idle: Move quiet_vmstate() into the NOHZ code
  idle: Prevent late-arriving interrupts from disrupting offline
  FORWARDPORT: sched/idle: Micro-optimize the idle loop
  ANDROID: sched: Fix share_cap_level detect
  ANDROID: drivers base/arch_topology: avoid a stuck risk when cpufreq policy free
  Revert "drivers: base: arch_topology: swap the order of updating shared_cap_level"
  ARM64: configs: raphael: Disable CIB
  exec: Do not block userspace writes when CPU_BOOST is enabled
  Revert "cpufreq: Kill userspace CPU boosting entirely"
  Revert "cpufreq: schedutil: Expose default configuration options and apply init protection"
  Revert "cpufreq: Only block min freq setting for booster processes"
  Revert "cpufreq: Allow configuring default minimum frequencies in Kconfig"
  ARM64: configs: raphael: Enable Dynamic Stune Booosting
  cpu-boost: Create separate tunable for Dynamic Schedtune Boost duration
  cpu-boost: Update functions for newer Dynamic Schedtune Boost changes
  cpu-boost: Reset Dynamic SchedTune Boost only if it is currently active
  cpu-boost: Implement Dynamic SchedTune Boost v3
  sched/boost: Perform SchedTune boosting when sched_boost is triggered
  sched/tune: Switch Dynamic Schedtune Boost to a slot-based tracking system
  sched/stune: Rename stune_boost() to do_stune_sched_boost()
  sched/tune: Rename dynamic_boost parameter to sched_boost
  sched/tune: Track active boosts on a per-Schedtune basis
  sched/tune: Reset Dynamic Schedtune Boost only if no more boosts running
  sched/tune: Introduce stune_boost() function
  sched/tune: Refactor do_stune_boost()
  sched/tune: Create dynamic_boost SchedTune parameter
  sched/tune: Rename dynamic_boost_write() to dynamic_boost()
  sched/tune: Add initial support for Dynamic SchedTune Boost
  cpu-boost: reset to CAF
  kernel: Force sched_walt_rotate_big_tasks to 0
  sched: reduce softirq conflicts with RT
  FROMLIST: sched: Make iowait_boost optional in schedutil
  sched: debug: enable debugfs
  Revert "sched: turn off the TTWU_QUEUE feature"
  FORWARDPORT: sched/fair: Skip frequency updates if CPU about to idle
  Revert "sched/fair: Drop always true parameter of update_cfs_rq_load_avg()"
  mm: Increase vmstat interval
  drivers: checkout serial drivers to b24fdc48f2
  Linux 4.14.190
  ath9k: Fix regression with Atheros 9271
  ath9k: Fix general protection fault in ath9k_hif_usb_rx_cb
  parisc: Add atomic64_set_release() define to avoid CPU soft lockups
  io-mapping: indicate mapping failure
  mm/memcg: fix refcount error while moving and swapping
  Makefile: Fix GCC_TOOLCHAIN_DIR prefix for Clang cross compilation
  vt: Reject zero-sized screen buffer size.
  fbdev: Detect integer underflow at "struct fbcon_ops"->clear_margins.
  serial: 8250_mtk: Fix high-speed baud rates clamping
  serial: 8250: fix null-ptr-deref in serial8250_start_tx()
  staging: comedi: addi_apci_1564: check INSN_CONFIG_DIGITAL_TRIG shift
  staging: comedi: addi_apci_1500: check INSN_CONFIG_DIGITAL_TRIG shift
  staging: comedi: ni_6527: fix INSN_CONFIG_DIGITAL_TRIG support
  staging: comedi: addi_apci_1032: check INSN_CONFIG_DIGITAL_TRIG shift
  staging: wlan-ng: properly check endpoint types
  Revert "cifs: Fix the target file was deleted when rename failed."
  usb: xhci: Fix ASM2142/ASM3142 DMA addressing
  usb: xhci-mtk: fix the failure of bandwidth allocation
  binder: Don't use mmput() from shrinker function.
  x86: math-emu: Fix up 'cmp' insn for clang ias
  arm64: Use test_tsk_thread_flag() for checking TIF_SINGLESTEP
  usb: gadget: udc: gr_udc: fix memleak on error handling path in gr_ep_init()
  Input: synaptics - enable InterTouch for ThinkPad X1E 1st gen
  dmaengine: ioat setting ioat timeout as module parameter
  hwmon: (aspeed-pwm-tacho) Avoid possible buffer overflow
  regmap: dev_get_regmap_match(): fix string comparison
  spi: mediatek: use correct SPI_CFG2_REG MACRO
  Input: add `SW_MACHINE_COVER`
  dmaengine: tegra210-adma: Fix runtime PM imbalance on error
  HID: apple: Disable Fn-key key-re-mapping on clone keyboards
  HID: i2c-hid: add Mediacom FlexBook edge13 to descriptor override
  scripts/decode_stacktrace: strip basepath from all paths
  serial: exar: Fix GPIO configuration for Sealevel cards based on XR17V35X
  bonding: check return value of register_netdevice() in bond_newlink()
  i2c: rcar: always clear ICSAR to avoid side effects
  ipvs: fix the connection sync failed in some cases
  mlxsw: destroy workqueue when trap_register in mlxsw_emad_init
  bonding: check error value of register_netdevice() immediately
  net: smc91x: Fix possible memory leak in smc_drv_probe()
  drm: sun4i: hdmi: Fix inverted HPD result
  net: dp83640: fix SIOCSHWTSTAMP to update the struct with actual configuration
  ax88172a: fix ax88172a_unbind() failures
  hippi: Fix a size used in a 'pci_free_consistent()' in an error handling path
  bnxt_en: Fix race when modifying pause settings.
  btrfs: fix page leaks after failure to lock page for delalloc
  btrfs: fix mount failure caused by race with umount
  btrfs: fix double free on ulist after backref resolution failure
  ASoC: rt5670: Correct RT5670_LDO_SEL_MASK
  ALSA: info: Drop WARN_ON() from buffer NULL sanity check
  uprobes: Change handle_swbp() to send SIGTRAP with si_code=SI_KERNEL, to fix GDB regression
  IB/umem: fix reference count leak in ib_umem_odp_get()
  spi: spi-fsl-dspi: Exit the ISR with IRQ_NONE when it's not ours
  SUNRPC reverting d03727b248d0 ("NFSv4 fix CLOSE not waiting for direct IO compeletion")
  irqdomain/treewide: Keep firmware node unconditionally allocated
  drm/nouveau/i2c/g94-: increase NV_PMGR_DP_AUXCTL_TRANSACTREQ timeout
  net: sky2: initialize return of gm_phy_read
  drivers/net/wan/lapbether: Fixed the value of hard_header_len
  xtensa: update *pos in cpuinfo_op.next
  xtensa: fix __sync_fetch_and_{and,or}_4 declarations
  scsi: scsi_transport_spi: Fix function pointer check
  mac80211: allow rx of mesh eapol frames with default rx key
  pinctrl: amd: fix npins for uart0 in kerncz_groups
  gpio: arizona: put pm_runtime in case of failure
  gpio: arizona: handle pm_runtime_get_sync failure case
  ARM64: configs: raphael: Regenerate
  ANDROID: Incremental fs: magic number compatible 32-bit
  ANDROID: kbuild: don't merge .*..compoundliteral in modules
  Revert "arm64/alternatives: use subsections for replacement sequences"
  UPSTREAM: perf/core: Fix crash when using HW tracing kernel filters
  ANDROID: fscrypt: fix DUN contiguity with inline encryption + IV_INO_LBLK_32 policies
  ANDROID: f2fs: add back compress inode check

Signed-off-by: UtsavBalar1231 <utsavbalar1231@gmail.com>
2020-07-30 14:31:15 +05:30
Yaroslav Furman
706e7d5bdd techpack: wcd-mbhc-v2: make sure headset button wakes the system up
- Add IRQF_NO_SUSPEND to button IRQs (press/release).
- Add wakeups to button press/release functions.

These changes ensure that system is woken up when you
pause playback, wait for a bit, try to resume playback
using headset's button.

Signed-off-by: Yaroslav Furman <yaro330@gmail.com>
Signed-off-by: UtsavBalar1231 <utsavbalar1231@gmail.com>
2020-07-30 14:29:57 +05:30
UtsavBalar1231
59906660c9 Merge remote-tracking branch 'origin/auto-kernel' into auto-kernel-oss
* origin/auto-kernel:
  techpack: audio: Disable Elliptic US proximity driver
  ion: system_heap: fix a constant-conversion warning
  ARM64: configs: raphael: Make Ion allocate in page-sized chunks
  usb: gadget: f_gsi: make ipc_loggings a no-op
  msm_geni_serial: reduce wakelock timeout from ISR to 100ms
  msm_serial_hs: make the Bluetooth tty thread RT
  Make msm_serial_hs RT to improve bluetooth performance
  msm_serial_hs: initialize debug mask to 0
  msm_serial_hs: make ipc_loggings a no-op
  qcom-geni-se: remove remaining _no_log() usage
  qcom-geni-se: silence warning about create IPC logging context
  qcom-geni-se: use Async suspend/resume callbacks.
  drivers: checkout serial drivers to LE.UM.3.2.3-43600-SA2150p
  Revert "arm64/alternatives: use subsections for replacement sequences"
  msm: kgsl: remove unused l2pc qos
  qos: Don't disable interrupts while holding pm_qos_lock
  qos: Replace expensive cpumask usage with raw bitwise operations
  drivers: use raw bitwise operations for pm_qos cpumasks
  qos: revert old optimizations
  PM / sleep: Skip OOM killer toggles when kernel is compiled for Android
  disp: msm: sde: fix a warning in kms_update_pm_qos
  disp: msm: sde: prevent CPU from sleeping while processing display IRQ
  Revert "BACKPORT: disp: msm: sde: add pm QoS vote on CPU receiving display IRQ"
  tfa98xx: allow SKIP_INTERRUPTS feature
  tfa98xx: fix a minor issue while container firmware loading
  Linux 4.14.189
  rxrpc: Fix trace string
  libceph: don't omit recovery_deletes in target_copy()
  x86/cpu: Move x86_cache_bits settings
  sched/fair: handle case of task_h_load() returning 0
  arm64: ptrace: Override SPSR.SS when single-stepping is enabled
  thermal/drivers/cpufreq_cooling: Fix wrong frequency converted from power
  misc: atmel-ssc: lock with mutex instead of spinlock
  dmaengine: fsl-edma: Fix NULL pointer exception in fsl_edma_tx_handler
  intel_th: pci: Add Emmitsburg PCH support
  intel_th: pci: Add Tiger Lake PCH-H support
  intel_th: pci: Add Jasper Lake CPU support
  hwmon: (emc2103) fix unable to change fan pwm1_enable attribute
  MIPS: Fix build for LTS kernel caused by backporting lpj adjustment
  timer: Fix wheel index calculation on last level
  uio_pdrv_genirq: fix use without device tree and no interrupt
  Input: i8042 - add Lenovo XiaoXin Air 12 to i8042 nomux list
  mei: bus: don't clean driver pointer
  Revert "zram: convert remaining CLASS_ATTR() to CLASS_ATTR_RO()"
  fuse: Fix parameter for FS_IOC_{GET,SET}FLAGS
  virtio: virtio_console: add missing MODULE_DEVICE_TABLE() for rproc serial
  USB: serial: option: add Quectel EG95 LTE modem
  USB: serial: option: add GosunCn GM500 series
  USB: serial: ch341: add new Product ID for CH340
  USB: serial: cypress_m8: enable Simply Automated UPB PIM
  USB: serial: iuu_phoenix: fix memory corruption
  usb: gadget: function: fix missing spinlock in f_uac1_legacy
  usb: chipidea: core: add wakeup support for extcon
  usb: dwc2: Fix shutdown callback in platform
  USB: c67x00: fix use after free in c67x00_giveback_urb
  ALSA: usb-audio: Fix race against the error recovery URB submission
  ALSA: line6: Perform sanity check for each URB creation
  HID: magicmouse: do not set up autorepeat
  mtd: rawnand: oxnas: Release all devices in the _remove() path
  mtd: rawnand: oxnas: Unregister all devices on error
  mtd: rawnand: oxnas: Keep track of registered devices
  mtd: rawnand: brcmnand: fix CS0 layout
  perf stat: Zero all the 'ena' and 'run' array slot stats for interval mode
  copy_xstate_to_kernel: Fix typo which caused GDB regression
  ARM: dts: socfpga: Align L2 cache-controller nodename with dtschema
  Revert "thermal: mediatek: fix register index error"
  staging: comedi: verify array index is correct before using it
  usb: gadget: udc: atmel: fix uninitialized read in debug printk
  spi: spi-sun6i: sun6i_spi_transfer_one(): fix setting of clock rate
  arm64: dts: meson: add missing gxl rng clock
  phy: sun4i-usb: fix dereference of pointer phy0 before it is null checked
  iio:health:afe4404 Fix timestamp alignment and prevent data leak.
  ACPI: video: Use native backlight on Acer TravelMate 5735Z
  ACPI: video: Use native backlight on Acer Aspire 5783z
  mmc: sdhci: do not enable card detect interrupt for gpio cd type
  doc: dt: bindings: usb: dwc3: Update entries for disabling SS instances in park mode
  Revert "usb/xhci-plat: Set PM runtime as active on resume"
  Revert "usb/ehci-platform: Set PM runtime as active on resume"
  Revert "usb/ohci-platform: Fix a warning when hibernating"
  of: of_mdio: Correct loop scanning logic
  net: dsa: bcm_sf2: Fix node reference count
  spi: fix initial SPI_SR value in spi-fsl-dspi
  spi: spi-fsl-dspi: Fix lockup if device is shutdown during SPI transfer
  iio:health:afe4403 Fix timestamp alignment and prevent data leak.
  iio:pressure:ms5611 Fix buffer element alignment
  iio: pressure: zpa2326: handle pm_runtime_get_sync failure
  iio: mma8452: Add missed iio_device_unregister() call in mma8452_probe()
  iio: magnetometer: ak8974: Fix runtime PM imbalance on error
  iio:humidity:hdc100x Fix alignment and data leak issues
  iio:magnetometer:ak8974: Fix alignment and data leak issues
  arm64/alternatives: don't patch up internal branches
  arm64: alternative: Use true and false for boolean values
  i2c: eg20t: Load module automatically if ID matches
  gfs2: read-only mounts should grab the sd_freeze_gl glock
  tpm_tis: extra chip->ops check on error path in tpm_tis_core_init
  arm64/alternatives: use subsections for replacement sequences
  drm/exynos: fix ref count leak in mic_pre_enable
  cgroup: Fix sock_cgroup_data on big-endian.
  cgroup: fix cgroup_sk_alloc() for sk_clone_lock()
  tcp: md5: do not send silly options in SYNCOOKIES
  tcp: make sure listeners don't initialize congestion-control state
  net_sched: fix a memory leak in atm_tc_init()
  tcp: md5: allow changing MD5 keys in all socket states
  tcp: md5: refine tcp_md5_do_add()/tcp_md5_hash_key() barriers
  tcp: md5: add missing memory barriers in tcp_md5_do_add()/tcp_md5_hash_key()
  net: usb: qmi_wwan: add support for Quectel EG95 LTE modem
  net: Added pointer check for dst->ops->neigh_lookup in dst_neigh_lookup_skb
  llc: make sure applications use ARPHRD_ETHER
  l2tp: remove skb_dst_set() from l2tp_xmit_skb()
  ipv4: fill fl4_icmp_{type,code} in ping_v4_sendmsg
  genetlink: remove genl_bind
  s390/mm: fix huge pte soft dirty copying
  ARC: elf: use right ELF_ARCH
  ARC: entry: fix potential EFA clobber when TIF_SYSCALL_TRACE
  dm: use noio when sending kobject event
  drm/radeon: fix double free
  btrfs: fix fatal extent_buffer readahead vs releasepage race
  Revert "ath9k: Fix general protection fault in ath9k_hif_usb_rx_cb"
  KVM: x86: Mark CR4.TSD as being possibly owned by the guest
  KVM: x86: Inject #GP if guest attempts to toggle CR4.LA57 in 64-bit mode
  KVM: x86: bit 8 of non-leaf PDPEs is not reserved
  KVM: arm64: Stop clobbering x0 for HVC_SOFT_RESTART
  KVM: arm64: Fix definition of PAGE_HYP_DEVICE
  ALSA: usb-audio: add quirk for MacroSilicon MS2109
  ALSA: hda - let hs_mic be picked ahead of hp_mic
  ALSA: opl3: fix infoleak in opl3
  mlxsw: spectrum_router: Remove inappropriate usage of WARN_ON()
  net: macb: mark device wake capable when "magic-packet" property present
  bnxt_en: fix NULL dereference in case SR-IOV configuration fails
  nbd: Fix memory leak in nbd_add_socket
  arm64: kgdb: Fix single-step exception handling oops
  ALSA: compress: fix partial_drain completion state
  smsc95xx: avoid memory leak in smsc95xx_bind
  smsc95xx: check return value of smsc95xx_reset
  net: cxgb4: fix return error value in t4_prep_fw
  x86/entry: Increase entry_stack size to a full page
  nvme-rdma: assign completion vector correctly
  scsi: mptscsih: Fix read sense data size
  ARM: imx6: add missing put_device() call in imx6q_suspend_init()
  cifs: update ctime and mtime during truncate
  s390/kasan: fix early pgm check handler execution
  ixgbe: protect ring accesses with READ- and WRITE_ONCE
  spi: spidev: fix a potential use-after-free in spidev_release()
  spi: spidev: fix a race between spidev_release and spidev_remove
  gpu: host1x: Detach driver on unregister
  ARM: dts: omap4-droid4: Fix spi configuration and increase rate
  spi: spi-fsl-dspi: Fix external abort on interrupt in resume or exit paths
  spi: spi-fsl-dspi: use IRQF_SHARED mode to request IRQ
  spi: spi-fsl-dspi: Fix lockup if device is removed during SPI transfer
  spi: spi-fsl-dspi: Adding shutdown hook
  KVM: s390: reduce number of IO pins to 1
  ARM: dts: msm: Modify gfx_iommus iommus-cells size for qcs405
  ARM: dts: msm: Add dts file for kdump kernel on sa8155
  ARM: dts: msm: multi-card for SA6155/SA8155/SA8195
  defconfig: Add defconfig for kdump capture kernel on gen3_auto
  usb: gadget: f_mdm_data: Do not queue OUT requests if MDM is disconnected
  msm: pil: bootkpi: Add conditional boot marker for modem
  ARM64: configs: raphael: Adjust CPU related changes
  defconfig: Initial common perf defconfig for sa8155 and sa8195
  drm: msm: sde: Fix return type value in sde_connector_update_hbm
  ARM64: dts: raphael: Add wakeup capable flag to all thermal zones
  cpufreq: schedutil: Don't use sprintf
  sched: walt: tag in_sched_bug as maybe_unused
  include: Replace zero-length array with flexible-array
  ARM64: configs: raphael: Disable RODATA_FULL_DEFAULT_ENABLED
  ARM64: configs: raphael: Disable STM
  ARM64: configs: raphael: Disable SCHEDSTATS
  ARM64: configs: raphael: Disable STACKTRACE
  drivers: thermal: Ignore spurious BCL interrupts whenever BCL is in polling
  thermal: fix lockdep splat from qcom driver
  defconfig: sa8155: Enable CONFIG_KEXEC
  ANDROID: Incremental fs: Remove dependency on PKCS7_MESSAGE_PARSER
  ANDROID: Incremental fs: Cache successful hash calculations
  ANDROID: Incremental fs: Fix four error-path bugs
  Revert "ANDROID: Incremental fs: Avoid continually recalculating hashes"
  ANDROID: Incremental fs: wake up log pollers less often
  ANDROID: Incremental fs: Fix scheduling while atomic error
  ANDROID: Incremental fs: Avoid continually recalculating hashes
  ANDROID: Incremental fs: Fix issues with very large files
  ANDROID: Incremental fs: Add setattr call
  ANDROID: Incremental fs: Use simple compression in log buffer
  ANDROID: Incremental fs: Fix create_file performance
  ANDROID: Incremental fs: Fix compound page usercopy crash
  ANDROID: Incremental fs: make remount log buffer change atomic
  ANDROID: Incremental fs: Optimize get_filled_block
  ANDROID: Incremental fs: Fix mislabeled __user ptrs
  ANDROID: Incremental fs: Use 64-bit int for file_size when writing hash blocks
  Revert "ANDROID: Incremental fs: Fix initialization, use of bitfields"
  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
  ANDROID: Incremental fs: Fix four resource bugs
  ANDROID: Incremental fs: Add INCFS_IOC_GET_FILLED_BLOCKS
  ANDROID: Incremental fs: Fix two typos
  ANDROID: Incremental fs: Add INCFS_IOC_PERMIT_FILL
  ANDROID: Incremental fs: Remove signature checks from kernel
  ANDROID: Incremental fs: Pad hash blocks
  ANDROID: Incremental fs: Make fill block an ioctl
  ANDROID: Incremental fs: Remove all access_ok checks
  ANDROID: Incremental fs: Support xattrs
  ANDROID: Incremental fs: Fix initialization, use of bitfields
  ANDROID: Incremental fs: Fix crash on failed lookup
  ANDROID: Incremental fs: Make files writeable
  ANDROID: Incremental fs: Remove C++-style comments
  power: smb1398-charger: disable sync between master and slave
  power: smb1398-charger: Update the OVP threshold to 14V
  power: smb1398: Update default cp-min-icl to 1A for HVDCP3
  power: battery: Add support to enable PPS to work in CV mode
  ARM: dts: qcom: Add HS-I2S device tree support on SA8195-GVM
  spi: spi-geni-qcom: Avoid return before mutex unlock
  drivers: soc: sdx_ext_ipc: Fix dev_err
  drivers: soc: sdx_ext_ipc: Fix probe failure
  serial: msm_geni_serial: Fix DMA TX FSM reset sequence
  Bluetooth: Add the support for wcn3980 in SDM429w
  ARM: dts: msm: Add bluetooth node for 2wcn support for SDM429w
  ARM: dts: msm: Disable can-controller node for SA8195 ADP AIR board
  defconfig: Add WCNSS related config parameter
  rpmsg: qcom_glink_bgcom: Correct the remote intent ack sequence
  msm: ipa3: Update the channel mode before start channel
  ARM: dts: add audio device tree for sdm429
  soc: qcom: hab: add the buffer size sanity check for exporting a buffer
  ARM: dts: msm: revert qcs410 include from dt file
  regulator: qcom_pm8008: Fix regulator_get_voltage API
  Revert "bootkpi: Add KPI Marker for System Resume"
  ARM: dts: msm: Increase CMA region to 40 MB on sm6150
  ARM: dts: msm: Reduce AQC ring size with PCIe switch on sdxprairie
  ARM: dts: msm: Remove unused AQC devicetree node in sdxprairie
  msm: sps: Correct descriptor fifo address to dump contents
  thermal: cpu_cooling: simplify cpu_limits_set_level
  Revert "thermal: cpu_cooling: fix throttling issue"
  drivers: thermal: Validate xiaomi thermal mode input
  techpack: audio: Set correct techpack header install directory
  scsi: ufs: increase power control timeout
  sensors: ssc: try loading another slpi firmware
  ARM64: dts: sm8150: disable pcie0 perst,wake gpio pins
  STOPSHIP: raphael: Disable Speculative store bypass safe bit
  disp: msm: sde: fix hdr meta data property handling
  disp: msm: sde: avoid registering vblank callback during CWB
  disp: msm: do not print error when crtc state is empty
  defconfig: msm: Enable required limits driver for sdm429-bg
  ARM: dts: sa2145p: add support for NAND SOM
  dts: sdx: add support for tdm for sa515m card
  ARM: dts: msm: update modem Tj thermal zone trips for SA515
  net: stmmac: Fixed autoneg disable issue
  ARM: dts: msm: Enable ro.boot.avb_version for sdm429
  cfg80211: Add support for HE
  msm: ipa: send the endp_desc QMI for low_lat only on non-auto mode
  msm: ais: ife SOF and buffer done tracking
  arm :dts : Modified the rgmii size
  ARM: dts: msm: enable AVB 2.0 in linux guest
  defconfig: support for hid-nintendo driver
  ARM: dts: msm: sdhci: disable hotplug in broken change detect
  arm-smmu: add bitmap for secure context banks
  iommu/arm-smmu: override writel_relaxed in smmu global address space
  char: virtio_fastrpc: use DMA_ATTR_SKIP_CPU_SYNC for uncached buffer
  mhi: core: Prevent extra votes for multiple timesync requests
  msm:npu: prevent fmax_pwrlvl to be used uninitialized
  ARM: dts: msm: Add new property npu-dsp-sid-mapped for npu
  msm: npu: Allow user code to query if NPUDSP SID is mapped
  net: stmmac: Add check for  HWTSTAMP_FILTER_ALL filter
  Revert "msm: pcie: add parallelization support for pcie msm probe"
  ARM: dts: msm: Fix wrong include file in sa8195 adp-air overlay
  msm: vidc: fix dec out buf count update logic for batching mode
  ARM: dts: sa2145p: enable side band wake up support
  serial:msm_geni_serial: CANCEL bit changes for 4.14 based target
  ARM: dts: msm: Add common device tree for SA8195 ADP
  defconfig: arm64: msm: Enable CONFIG_IOMMU_IO_PGTABLE_FAST in QCS405
  ARM: dts: msm: Enable PCIe0 for S8155 Single LV GVM
  FROMLIST: HID: nintendo: add nintendo switch controller driver
  f2fs: remove blk_plugging in block_operations
  usb: gadget: f_gsi: Increase num of buffers to 50 for ECM
  msm: v4l2loopback: Implement V4L2 cropping functionality
  defconfig: sa2150p: enable graphics driver
  ARM: dts: sa2150p: Enable device nodes for graphics support
  usb: gadget: f_ipc: Add support of sideband notifier call chain
  ARM: dts: msm: disable qti-can on SA8155 ADP AIR board
  spi: spi-geni-qcom: Restrict SPI responder to transfer mode 1
  msm: mhi_dev: Wait for host to set BHI_INTVEC value
  defconfig: sdm429w: Add new defconfig to enable new PA
  msm: mhi_dev: Skip mhi channel state info change
  qcacld-3.0: Zero local struct memory
  defconfig: sa2150p: enable helper APIs for sideband notifications
  wcnss: Register wlan driver ops for SMD notification
  spi: spi_qsd: Add Shared EE property check for spi
  documentation: bindings: spi_qsd: Add shared ee dtsi flag
  msm-geni-serial: Correct the interrupt polling logic in uart
  rpmsg: glink: Changing interrupt trigger option
  arm64: config: Enable Glink for GVM
  ARM: dts: msm: Add skip-disable-before-sw-enable flag to gx_gdsc
  clk: qcom: gdsc-regulator: Update support to skip GDSC disable
  ARM: dts: msm: change display-label to display-type for DSI0
  ARM: dts: qcom: add video device tree support for sdm429w
  ARM64: dts: msm: Add wakeup support for sdx-ext-ipc devices
  drivers: soc: sdx_ext_ipc: Add wakeup support from system suspend
  ARM: dts: msm: change HAB VMID to 3 for single LV GVM
  msm: ipahal: Add uCP exception case for status pkt
  genetlink: remove genl_bind
  net: stmmac: Set DOMAIN_ATTR_GEOMETRY for smmu fastmap
  usb: gadget: f_midi: Avoid invalid pointer access
  ipa3: Support wdi3 over gsi on msmnile APQ target
  msm: kgsl: Put a keep alive vote before updating CP_RB_WPTR
  rpmsg: qcom_glink_bgcom: Correct the copyright licence
  msm: ep_pcie: Add KPI marker and log for PCIe link init
  msm: mhi_dev: Add KPI marker and log for mhi init
  arm64/kdump: Build fix for CONFIG_KEXEC
  serial: msm_geni_serial: Initialize the variables before access
  mailbox: Add new mailbox for gvm
  hwspinlock: Add support to parse spin lock id
  clk: qcom: mdss: update dsi 12nm clock driver
  mm/swapfile.c: move inode_lock out of claim_swapfile
  ARM: dts: qcom: update display dts nodes for sdm429w WTP
  soc: qcom: dcc_v2: Add NULL check before using dcc driver data
  mm/memblock.c: fix bug in early_dyn_memhotplug
  ARM: dts: sa2150p: enable BLSP0 UART and free up GPIO 83
  ARM: dts: sa2150p: add support for NAND based SOM
  ARM: dts: sa2145p: add support for NAND based SOM
  defconfig: sa515m: enable helper APIs for sideband notifications
  soc: qcom: sideband: add helper APIs for sideband notifications
  clk: qcom: smd_rpm: Change rpm clk_id for SDM429
  defconfig: sdm429: Add MPROC GLINK defconfig for SDM429W
  defconfig: Initial common defconfig for sa8155 and sa8195
  ARM: dts: sa2145p: add msm-id for sa2145p chip
  ARM: dts: sa2150p: remove incorrect msm-id inclusion
  ARM: dts: msm: Update mpss_adsp carved memory for sa515m platform
  ARM: msm: dts: enable touch node for wearable
  ARM: dts: qcom: vm: Add device nodes for second AFE rx and proxy tx devices
  ARM: dts: msm: Disable BAM mode for spi dtsi node
  ARM: dts: msm: Add glink bgcom dtsi node for sdm429
  rpmsg: Add glink-bgcom driver for rpmsg framework
  tmc-etr: Add ETR status check in usb_notifier
  defconfig: sdm429: add display configs
  spi: spi-geni-qcom: Don't initialize GSI channels for FIFO/SE_DMA mode
  ARM: dts: Add NFC device node for SDM429W
  clk: qcom: smd_rpm: Add bb_clk_pin for SDM429
  ARM: msm: dts: Enable restarting usb host mode in HS for SDM660
  USB: pd: Restart host mode in high speed if no usb3 & dp concurrency
  qcom/watchdog_v2: Disable watchdog before booting crash kernel
  ARM: dts: Enable HMP for SA8195, SA8155 and SA6155 VM
  msm: sps: Assign proper BAM destination values
  ARM: dts: msm: Add SPM control for sdm429w
  clk: qcom: cpu-sdm: Add spm control support
  defconfig: sdm: Add support for CPU clocks
  ARM: dts: msm: Add CPU clock support for sdm429w
  clk: qcom: cpu-sdm: Add cpu clock driver for SDM
  ARM: dts: msm: add gpr and gecko drivers to DT
  ARM: dts: msm: add display related dt nodes on QCS410 device
  msm: ais: acquire init_frame_drop from userspace
  defconfig: Enable qcom_sps_dma driver for sdm429w
  i2c-msm-v2: Make init call as module_init for i2c driver
  usb: host: xhci-plat: Fix IMOD configuration from sysfs
  ARM: dts: msm: Add GPU support for sdm429w
  ARM: dts: msm: Add to distinguish NO or NC connection in USB Type-C
  msm: ipa: Fix updating the doobell for WDI3
  bindings: qpnp-smb5: add property to show fake charging status
  usb: dwc3: Write necessary registers for dual port enablement
  Revert "usb: dwc3: Write necessary registers for dual port enablement"
  ARM: dts: msm: Add wcnss node for sdm429
  defconfig: sa2150p: Enable SDX_EXT_IPC
  msm: kgsl: Add A504 GPU support for SDM429
  defconfig: sa2150p-nand: Enable SDX_EXT_IPC
  ARM: dts: msm: Remove the extra double quotes in the model name
  ARM: dts: msm: Add multiport USB controller and PHYs on sdmshrike
  usb: dwc3: Write necessary registers for dual port enablement
  clk: qcom: gdsc-regulator: Add support to skip GDSC disable
  usb: dwc3-msm: Add support for 2nd set of wakeup IRQs
  clk: qcom: Add enable_safe_config for gfx3d_clk_src
  usb: dwc3: Add support for 4 PHYs for dual port controller
  ARM: dts: msm: Disable LPM for 2nd instance of UFS
  ARM: dts: msm: Add bg spi and bg daemon nodes
  coresight-tmc-etr: Add QDSS IPA bam connection support
  ARM: dts: msm: Add blackghost pil node
  ARM: dts: msm: Define adsp loader node
  defconfig: sdm429: Add pil configs to sdm429
  ARM: dts: msm: add device tree for EAP connection through ethernet
  power: qpnp-smb5: add property to show fake charging status
  power: smb5-lib: Show unknown battery status for debug battery
  arm: dts: msm: Add dt entry to enable geometry mapping in stmmac
  ARM: dts: msm: Add multiport USB controller and PHYs on sdmshrike
  usb: dwc3: Write necessary registers for dual port enablement
  usb: dwc3-msm: Add support for 2nd set of wakeup IRQs
  usb: dwc3: Add support for 4 PHYs for dual port controller
  qseecom: register qseecom client with msm bus driver
  msm: ais: remove cci reset for specified master during cci initialization
  ARM: dts: msm: Align with the gpio name change in driver
  drivers: soc: sdx_ext_ipc: Give generic name for gpios
  drivers: soc: sdx_ext_ipc: Make gpio DT entries optional
  i2c: i2c-qcom-geni: Enhance IPC logging debug infra in I2C
  ASoC: tfa98xx: Update profile info properly
  ASoC: tfa98xx: Fix type casting error
  ASoC: tfa98xx: Add tfa98xx smart PA driver
  Release 5.2.03.28T
  qcacld-3.0: Remove validate context check in LL stats get NB ops
  msm: sps: Use iomem attribute for base address
  msm: mhi_dev: Do not flush events to host if channel is stopped
  ARM: dts: msm: add tzlog device node for sdm429
  fs: namespace: Fix use-after-free in unmount
  msm: ais: fix cci read return value issue
  fw-api: Add HKV2 header files to bring fw-api project
  ARM : dts : support realtek r8125 ethernet driver
  msm: ethernet : smmu: enable qcom smmu
  Release 5.2.03.28S
  qcacld-3.0: Add ini to enable/disable dynamic cfg
  dma-mapping-fast: Fix erroneous MAIR idx calculation
  qcacld-3.0: Disable BTM offload to fw if peer support MBO/OCE
  qcacmn: Clean up logs in Tdls path
  sdm429w: modify copy right year as per guidelines
  pinctrl: qcom: Clear status bit on irq_unmask
  qcacmn: Add INI for P2P GO force SCC
  Release 5.2.03.28R
  qcacld-3.0: Add INI for P2P GO force SCC
  Release 5.2.03.28Q
  qcacld-3.0: Fix Invalid EAPOL-Key MIC packet drop issue
  Revert "Revert "ANDROID: security,perf: Allow further restriction of perf_event_open""
  Release 5.2.03.28P
  qcacld-3.0: Tdls sta BA session not happening.
  defconfig: enable cpufreq stats config
  drivers: soc: qcom: Add bg pil driver to 4.14
  clk: qcom: rcg2: Fix possible null pointer dereference
  usb: misc: Add support for diag bridging over mdm_data_bridge
  ARM: dts: msm: Add pil nodes to sdm429
  msm: kernel: add bgcom interface header file
  ARM: dts: msm: Add trace source coresight nodes for sdmshrike
  ARM: dts: msm: Enable CTIs and TPDMs for sdmshrike
  msm: kernel: add bgcom interface header file
  ARM: dts: msm: Fix crypto tests
  ARM: dts: msm: Add support for various subtype of IDP board for QCM/S6125
  Release 5.2.03.28O
  qcacld-3.0: Avoid Null pointer dereferencing in sme api of get band
  ARM: msm: Hardware name correction for SDM429W
  ARM: dts: msm: enable smmu for sdm429
  ARM: dts: msm: Disable the secure mem region for SDM429
  drivers: thermal: Force notify thermal to re-evaluate TSENS sensors
  qcacmn: Add check in policy_mgr_dump_channel_list
  msm: set config for ADSPRPC and add dtsi node
  Release 5.2.03.28N
  qcacld-3.0: Zero local struct memory
  Release 5.2.03.28M
  spi: spi-geni-qcom: Check for zero length transfer
  spi: spi-geni-qcom: Reset the dma engine on failure
  cpufreq: stats: Change return type of cpufreq_stats_update() as void
  cpufreq: stats: Handle the case when trans_table goes beyond PAGE_SIZE
  drivers: thermal: Re-initialize TSENS controller interrupt configuration
  Early Services: init: fs:  synchronize Early Services with init
  soc: qcom: dcc_v2: Add PM callbacks to support hibernation
  atlantic forwarding driver v1.1.7
  ARM: dts: msm: Add support for DT overlay QCS410
  platform: msm: qcom-geni-se: Enable SSC QUP SE clks before SCM call
  qcacld-3.0: enable gSapGetPeerInfo by default
  qcacmn: Get the valid vdev in get_vdev_by_macaddr_from_pdev
  dfc: fix null pointer access
  dfc: add stall recovery timer
  regulator: qpnp-lcdb: Disable step voltage ramp for PM8150L V3
  Release 5.2.03.28L
  qcacld-3.0: Free the cached assoc request if a new assoc req rcvd
  Release 5.2.03.28K
  qcacld-3.0: Call dot11f_unpack_ie_rsn only for RSN IE
  qcacld-3.0: Parse IE from ASSOC_REQ_IE_OFFSET in assoc req
  Release 5.2.03.28J
  qcacld-3.0: Fix propagation issue
  qcacld-3.0: Reject assoc req with PMF disabled from SAE STA
  fw-api: CL 10825654 - update fw common interface files
  fw-api: CL 10805234 - update fw common interface files
  fw-api: CL 10803114 - update fw common interface files
  fw-api: CL 10750324 - update fw common interface files
  fw-api: CL 10740989 - update fw common interface files
  fw-api: CL 10717102 - update fw common interface files
  fw-api: CL 10683133 - update fw common interface files
  drm:msm:sde fix compile error when RSC is not enabled
  msm: mhi_dev: Increase size of ipa_clnt_hndl array
  sched: core_ctl: Fix possible uninitialized variable
  qcacld-3.0: Add pointer sanity check for ChannelList
  msm: mhi_dev: Disable IPA DMA during MHI cleanup
  ARM: dts: msm: Remove camera pil memory
  Release 5.2.03.28I
  qcacld-3.0: Reset tcp adv window scale value to default
  defconfig: sdm429w: Enable BGCOM drivers
  wcnss: validate build version response correctly
  msm: ais: fix 6155 crop issue on mini IFE driver
  Release 5.2.03.28H
  qcacld-3.0: Remove invalid type declaration of mac_handle
  Release 5.2.03.28G
  qcacld-3.0: Handle OWE info update from hostapd
  qcacld-3.0: Send update OWE info event
  qcacld-3.0: Save RSN auth type for RSN association
  Release 5.2.03.28F
  qcacld-3.0: Do not create preauth node while sending SAE assoc reject
  qcacld-3.0: Flush the PMK cache in stop_ap
  qcacld-3.0: Defer Assoc indication to SME if auth is in progress
  msm: ipa: Support hardware accelerated DIAG over qdss
  Release 5.2.03.28E
  msm: kgsl: Do not double free pages in kgsl_memdesc
  defconfig: sa2150p: remove IEEE 802.11 support
  defconfig: sa2150p: remove bluetooth driver not required
  wcnss: Export SMD channel close API for wlan driver removal
  wcnss: Export wcnss smd tx method
  defconfig: sa2150p-nand: Add 3D Graphics driver
  msm: camera: Update CSIPHY/CSID v3.5 registers
  mhi: netdev: free memory allocated in read/write
  ARM: dts: msm: Add audio support
  ARM: dts: msm: Add qseecom node for sdm429
  early init: adjust early devices for 8195
  qseecom: use legacy command for bgapp
  qcacld-3.0: Split processing of assoc request frame
  qcacld-3.0: Validate the PMKID of SAE assoc request
  sched: Improve the scheduler
  dt-bindings: drm: msm: update detach handoff option for shp
  dt-bindings: drm: msm: shd: add dynamic mode support
  dt-bindings: drm: msm-lease: add empty resource support
  arm: dts: msm: Add dt entry to enable geometry mapping in EMAC
  ARM: dts: msm: Add 1.8v override for SA515M telematics CDP
  staging: android: ion: Add support for Carveout allocations in ion_alloc
  Release 5.2.03.28D
  qcacld-3.0: Allow driver to process roam sync ind in RSO STOPPED state
  soc: qcom: Add bgcom driver for sdm429w
  Release 5.2.03.28C
  qcacld-3.0: move log out of the lock region
  ARM: dts: msm: Remove the pil-force-shutdown flag
  Release 5.2.03.28B
  msm: ipa3: Fix to map the npn phy address only once
  msm: mhi_dev: update NHWER after M0 from host
  qcacld-3.0: Merge with HW capability report for su_tx_bformer
  profiler: Add a communication interface between userspace and tz services
  Release 5.2.03.28A
  qcacld-3.0: Extract and cache PMKID from EXTERNAL_AUTH command
  qcacld-3.0: Process external auth command and set preauth node state
  qcacld-3.0: Add preauth node when SAE auth frame is received
  Release 5.2.03.28
  qcacld-3.0: Set EXTERNAL_AUTH flag for SAE auth frame
  qcacld-3.0: Process SAE authentication frames in SAP mode
  defconfig: msm: Add PCIe driver for sdxprarie
  ARM: dts: msm: Add PCIe switch driver for sdxprairie
  pci: switch: Add PCIe switch driver
  msm: camera: isp: Flush Pending list after stop HW to avoid race
  Release 5.2.03.27Z
  qcacld-3.0: Fill sequence number for auth frames in mgmt_tx
  Release 5.2.03.27Y
  clk: qcom: Add debug clk support for SDM660
  msm: ipa3: Send actual DL flt rule to Q6
  cnss2: Add synchronized force wake support
  qcacld-3.0: Enable mgmt_tx for auth frames in SAP mode
  qcacld-3.0: Introduce ini parameter for SAE support on SAP
  ARM: dts: msm: Add debugcc support for SDM660
  defconfig: sdm429: Add CONFIG_MSM_TZ_SMMU defconfig for sdm429
  power: smb2: Enable read/writing of Type-C Rp value
  iommu/arm-smmu: Add MSM_TZ_SMMU support on SDM429W
  ARM: msm: dts: Set usb dvdd voltage range to [0.8v 0.8v] for sdm429
  clk: qcom: sdm429w: Update the gcc/debugcc for sdm429w
  Release 5.2.03.27X
  qcacld-3.0: Remove validate context check in LL stats get NB ops
  rpmsg: qcom_smd: Add SET signal support
  ARM: dts: qcom: Add device nodes for second AFE rx and proxy tx devices
  ARM: dts: qcom: Correct adsp_smsm node interrupt number
  ARM: dts: msm: correct the filenames in Makefile
  usb: gadget: f_ipc: Fix race between ipc_free_inst and ipc_close
  Release 5.2.03.27W
  qcacld-3.0: Do not send VDEV_INSTALL_KEY to fw if SAP/P2PGO is restarting
  msm: ais: define early init for camera
  Release 5.2.03.27V
  qcacld-3.0: Update regulatory band capability with FW capability
  qcacmn: Use IS_ENABLED for the definition of kernel module
  ARM: DTS: msm: Update DP PLL string for SDM660
  msm: ais: fix cci read return value issue
  ARM: dts: msm: remove default SA6155 DP pinctrl
  Release 5.2.03.27U
  qcacld-3.0: Use status for Peer Assoc Conf event
  Release 5.2.03.27T
  qcacld-3.0: Wait for driver recovery while WiFi ON/OFF
  usb: gadget: f_qdss: Allocate one string ID for all instances
  dma-buf: fix race while reading the dma_buf in dmabuffs_dname
  usb: gadget: Reset string ids upon unbind
  init: define early init functions for display subsystem
  msm: adsprpc: Fix array index underflow problem
  init: support early init framework
  qcacmn: Fix buffer overflow while memcpy of pmk_ext
  Release 5.2.03.27S
  USB: f_mtp: Revert Avoid queuing of receive_file_work for 0 length
  qcacld-3.0: Return EAGAIN in wlan_hdd_pld_runtime_suspend
  msm: ais: fix csid fatal error issue
  ARM: dts: msm: Add QDSS IPA bam connection config for sdxprairie
  mhi: core: Use high priority workqueue for all MHI work
  net: stmmac: dwmac4_prog_mtl_tx_algorithms() missing write operation
  net: stmmac: Disable flow ctrl for RX AVB queues and enable TX AVB queues
  net: stmmac: copyright year fix
  defconfig: msm: Disable CONFIG_BUILD_ARM64_APPENDED_DTB_IMAGE flag
  ARM: dts: msm: Add pseudo port entries
  ARM: dts: msm: remove qdss offset for trinket
  ARM: dts: msm: add support of DP PHY bond mode for SA8195p
  ARM: dts: msm: added 2nd DP and eDP for SA8195p
  ARM: dts: msm: revert 2nd DP and eDP related DT modification
  ARM: dts: msm: Add WLAN pin control support on sdm429w
  drm/msm/sde: Add data structure for ROI MISR
  Revert "ARM: dts: msm: remove 2nd DP and eDP from sa8195p"
  msm: ipa: Move the QMI for mhi pipe info to modem bootup
  ARM: dts: msm: Remove GPU min, low and svs levels for 8195
  ARM: dts: msm: include correct dtsi for sa8195p-v2-adp-air-overlay.dts
  diag: Add debug logs tracing diag mhi read and write paths
  ARM: dts: msm: Add MPROC glink related node for gvm
  soc: qcom: smem: Support to parse smem host id
  msm: npu: refactor wait_for_status_ready to reduce the latency
  arm64: Allow boot on cpus other than logical cpu 0
  arm64: dts: qcs405: Add src clk strings
  ARM: dts: msm: Add pcie1 support for sa8155 virtual machine
  clk: qcom: Add pcie1 virtio clocks for sa8155
  net: stmmac: copy from user fail handle
  init: use unbound instead of highpriority wq in early init
  msm: ipa3: increase pkt ctx for cv2x rsrc grp
  rpmsg: smd: Use spinlock in tx path
  init: support early init on SA8195
  diag: Add protection while accessing diag client map
  Revert "ARM: dts: msm: Enabling dynamic splash on DSI and DP displays (sa8195)"
  drm/msm/shd: Update topology name in shd atomic check
  Set req_id in trigger notify and slot increment
  ARM: dts: msm: Enabling dynamic splash on DSI and DP displays (sa8195)
  drm/msm/sde: Move roi number check to atomic_check stage
  drm/msm/shd: Fix can't register irq of roi misr
  net: stmmac: use correct header type
  dtsi: SA8155: Early ethernet changes
  defconfig: SA8155: Enable ebtables vlan filters
  ARM: dts: msm: Add roi misr register address for sm6150
  ARM: dts: msm: Add roi misr register address for sdmshrike
  ARM: dts: msm: Add roi misr register address for sm8150
  drm/msm/sde: add roi misr support
  drm/msm/sde: skip rsc client creation for external encoders
  init: define early init functions for camera subsystem
  drm/msm/dsi-staging: add support for output CSI-2 compatible stream
  drm/msm/dsi-staging: add missing RGB color re-order
  drm/msm/shd: fix null pointer during pm_suspend
  msm/shd: Resolve conflictions in HEAD
  mm/free_area_init_core: skip memmap_init for holes
  drm/msm: add boot marker
  init: move more subsystems into early init framework
  init: define early init functions for display subsystem
  init: define early devices needed by all subsystems
  init: support early userspace
  init: define early init functions for rootfs mounting
  init: define early init functions needed by all subsystems
  init: add new early param and define early initcall macros
  qcacmn: Fix Integer Overflow Leading to Buffer Overflow
  arm: dts: msm: switch to 8 channel ubwc for sdmshrike GPU
  ARM: dts: msm: update macro tile mode for sdmshrike display
  msm: kgsl: Add macrotiling channels property
  initialize the return value to 0 for irq request
  msm: ais: handle timestamp for each RDI of IFE
  drm/msm/sde: fix LM split index for single LM case
  drm/msm/shd: add quad lm support to shared display
  drm/msm-lease: add 32bit ioctl support for msm lease
  drm/msm-lease: fix potential racing condition for msm lease
  drm/msm/shd: populate base topology for shared virtual display
  drm/msm/shd: wait additional vsync when all planes are detached
  defconfig: sdmshrike: Enable config for dyn splash
  drm/msm/sde: add plane layout check and global coordinate support
  drm/msm/sde: add num_mixers in sde_crtc_state
  drm/msm/sde: fix plane sorting with layout set
  drm/msm/dp: accumulated fixes from dev branch
  drm/msm/sde: add topology_name in crtc state
  drm/msm/sde: set pipes per stage to 4 to support quad lm
  ARM: dts: msm: add support of DP PHY bond mode for SA8195p
  drm/msm/dp: add DP PHY bond mode support
  clk/qcom/mdss: added PHY bond mode for 7nm DP/USB PHY
  ARM: dts: msm: added 2nd DP and eDP for SA8195p
  clk/qcom/mdss: added secondary DP/USB PHY PLL support
  drm/msm/dp: added 7nm eDP/DP PHY 5.0.0 support
  clk/qcom/mdss: added 7nm eDP/DP PHY support
  drm/msm/dp: add multiple DP instances support for DP/USB combo PHY
  drm/msm/dp: add force bond mode for dp-sst
  drm/msm/dp: add bond tiled mode support
  drm/msm/dp: add support to multiple dp instances
  drm/msm/dp: add force bond mode support
  drm/msm/dp: add tiled dp-mst mode support
  drm/msm/dp: read sink caps when dp clock is enabled
  drm: msm: sde: skip rm resources pair mask checks for 4LM topologies
  disp: msm: sde: adjust encoders to support 4LM topologies
  disp: msm: sde: add plane L/R property to support 4LM topologies
  disp: msm: sde: expand max mixers to 4 to support 4LM topologies
  drm/msm/sde: add 4LM topology variants in resource manager
  drm/msm/sde: fix topology lookup table when ctl version is used
  ARM: dts: msm: update UBWC highest bank bit for sdmshrike display
  drm/msm/shd: fix null atomic state during mode_fixup
  ARM: dts: msm: add dp-mst simulator for debug mode
  drm/msm/dp: use dp_msm_sim for dp-mst simulation
  drm/msm/dp: add dp-mst sideband simulator
  drm/msm/dp: add dp-mst protocol simulator helper
  drm/msm/dp: add dp aux bridge framework support
  drm/msm/dp: add mixer count check in dp mode validation
  drm/msm/dp: fix widebus-enable setting for dp
  drm/msm/dp: update mode validation logic for widebus
  drm: Check dp extended receiver capabilities
  drm/msm: update topology based on clock requirement
  drm: msm: dp: correct the resolution width check in get_mode_info
  temp fix 8195 start camera fail
  Revert "clk: Parallelization of clk_debug_init"
  defconfig: sm8150: Enable led-qcom-clk driver
  clk: qcom: gcc: Add support for 80KHz and 100KHz for gp clocks
  clk: Parallelization of clk_debug_init
  mhi: core: avoid memset of BHIE registers
  ARM: dts: msm: Add device tree node for GP2 clock driven led
  leds: qcom-clk: Add clock controller based PWM driver
  msm: ais: free gpio and irq when kill ais_server
  ARM: dts: msm: Add NVMe for sa8195p adp board
  defconfig: msm: Enable NVMe for sdmshrike
  ARM: dts: msm: add dload dump type for sa8195p
  defconfig: msm: enable minidump for sa8195p
  clk: qcom: camcc: Update post_div table according to freq plan
  drm/msm/sde: fix null pointer in sde connector atomic check
  ARM: dts: msm: Add pcie1~3 support for sa8195p
  msm: msi: allow accesses to device MSI registers when using QGIC
  Dm: init: Enable rootfs mount as dm-verity during boot without ramdisk
  drm/msm/sde: fix null pointer in sde connector atomic check
  scsi: ufs: Fix IOCTL error checking for input buffer
  mhi: Don't do memset_io with RXVEC for qcn7605
  qcacmn: Add support to send/receive ani level command
  serial: msm_geni_serial: Disable Flow only for HSUART usecase
  disp: msm: dsi: add check before buffer copy
  PM / devfreq: gpubw_mon: Add null check for governor private data
  ARM64: dts: msm: delete the appsbl-qseecom-support property
  Revert "init: support early userspace"
  msm: ais: re-use camnoc info for 8195
  msm: ais: sync to latest mobile camera
  msm: ais: allow sensor power down from init state
  msm: ais: fix pause/resume issue
  defconfig: Enable debug clock controller for sdmshrike
  ARM: dts: msm: Add the clock_debugcc node on sdmshrike
  clk: qcom: Add debug clock controller for sdmshrike
  ARM: dts: msm: Support GPU clock upto 670Mhz for SC8180
  init: support early userspace
  scsi: ufs: sysfs: health descriptor
  drm/msm/sde: change backlight setup to support shared dsi display
  drm/msm/shd: add dsi_display base in shd_display
  Revert "msm: ais: fastforward to PC398"
  ais: refine gerrit 2840559 to fix its side effects
  mhi: Don't do memset_io with RXVEC for qcn7605
  msm: ais: change maximum context numbers to 32
  msm: ais: specify CPU for IFE interrupt
  Increase stabilize for multiple camera
  msm: ais: Remove the active_req_cnt < 2 limitation
  drm/msm-lease: fix for markings
  cnss2: set iova_start and iova_stop to physical RAM range
  scsi: ufs: sysfs: health descriptor
  Fix sa8195p boot panic.
  dts: sa8195: fix display can't work in DP_MST mode
  qcacmn: Fix incorrect ref counter of vdev
  drm/msm-lease: create DRM MSM LEASE driver
  drm: squash changes for drm lease from upstream
  mhi: Don't do memset_io with RXVEC for qcn7605
  Dm: init: Enable rootfs mount as dm-verity during boot without ramdisk.
  Revert "msm: adsprpc: API to get DSP capability"
  msm: camera : Lock Implementation for avoid race condition
  msm: kgsl: Fix race condition while making page as dirty
  net: sockev: avoid races between sockev and socket_close
  Revert "msm: ais: Validate packet params against cpu buffer length"
  Clean unused files: cam_cdm_hw_core.c/cam_cdm_virtual_core.c/cam_fd_hw_mgr.c/cam_icp_context.c.
  fix blacklist issue
  msm: ais: Validate packet params against cpu buffer length
  ARM: dts: fix snd card probe error for sa8155 lv
  qcacld-3.0: Dont create the session from add virt interface
  qcacmn: Fix ref leak of vdev if scan is rejected
  msm: ais: resync ais to PC365 camera kernel
  msm: camera: core : Validate the dev name during the node ioctl handler
  drm: increase drm open count to 1024

Signed-off-by: UtsavBalar1231 <utsavbalar1231@gmail.com>
2020-07-24 16:00:56 +05:30
UtsavBalar1231
9aad116e19 techpack: audio: Disable Elliptic US proximity driver
Signed-off-by: UtsavBalar1231 <utsavbalar1231@gmail.com>
2020-07-24 15:58:10 +05:30
Yaroslav Furman
515984886f drivers: use raw bitwise operations for pm_qos cpumasks
Signed-off-by: Yaroslav Furman <yaro330@gmail.com>
Signed-off-by: UtsavBalar1231 <utsavbalar1231@gmail.com>
2020-07-23 13:30:33 +05:30
UtsavBalar1231
4dcbee3b01 tfa98xx: allow SKIP_INTERRUPTS feature
Signed-off-by: UtsavBalar1231 <utsavbalar1231@gmail.com>
2020-07-23 13:16:01 +05:30
UtsavBalar1231
a4be1e2abb tfa98xx: fix a minor issue while container firmware loading
- extracted from the diff of vangogh-q-oss to cepheus-q-oss

Signed-off-by: UtsavBalar1231 <utsavbalar1231@gmail.com>
2020-07-23 13:15:57 +05:30
UtsavBalar1231
4bb93d57cd Merge remote-tracking branch 'origin/auto-kernel' into auto-kernel-oss
* origin/auto-kernel:
  printk: filter out some spam
  dsp: q6afe: silence port id related logging
  drm: msm: silence FOD related logging
  compat: drop support for SUSE 15.1
  version: bump
  compat: backport ip_tunnel_parse_protocol and ip_tunnel_header_ops
  queueing: make use of ip_tunnel_parse_protocol
  device: implement header_ops->parse_protocol for AF_PACKET
  compat: SUSE 15.1 is the final SUSE we need to support
  compat: rhel 8.3 backported skb_reset_redirect
  receive: account for napi_gro_receive never returning GRO_DROP
  Fix compilation as part of upmerge from mainline
  version: bump
  ARM: dts: msm: Add support to enable/disable fastmap for each CB
  msm: ipa3: Add support to fastmap/geometry for each CB
  netns: workaround bad 5.2.y backport
  device: avoid circular netns references
  msm: camera: Do CSID reset during CSID release
  msm: vidc: Update VP9 minimum buffer count
  noise: do not assign initiation time in if condition
  ARM: dts: msm: Add rmtfs_sharedmem support for SDM429W
  ARM: dts: msm: enable pmic alarm thermal zone mitigation for Gen3 platform
  ARM: dts: msm: update gpu thermal zone threshold for auto Gen 3 platforms
  ARM: dts: msm: Remove low temperature monitor thermal zones for SA8195P
  soc: qcom: Remove WQ_MEM_RECLAIM from rmnet_ps_wq
  msm: camera: Remove frame id and timestamp checks for spurious SOF
  firmware: qcom: Reinitialize the ring buffer log pointer
  msm: sps: SPS driver changes for dummy BAM connect
  defconfig: trinket: Enable dm-snapshot
  usb: dwc3: Add boundary check while traversing the TRB ring buffer
  Kbuild: remove -fvisibility=hidden from cflags
  soc: qcom: hgsl: Update hfi command data structure
  ARM: dts: msm: add xo_clk for DP display on sm8150
  ARM: dts: msm: add link clk rcg entry on sm8150
  msm: camera: isp: Fix race condition b/w add and apply req
  Documentation: Add documentation for audio drivers
  char: virtio_fastrpc: Add profile mode support
  mhi: core: add mhi_device_get_sync_atomic() to wait until M0
  coresight-tmc: Add NULL check before using pointer 'etr_buf->ops'
  coresight: perf: Add NULL check before using pointer sink
  ARM: dts: msm: Enable Perst Based PCIe Enumeration for SA515M
  ARM: dts: msm: Add PCIe reset support for QCS405
  taskstats: extended taskstats2 with acct fields
  drm/msm/dsi-staging: disallow backlight update during panel mode switch
  ARM: dts: msm: Add STMMAC node for qcs405
  ipa3: Wait for IPA post init for 1000 msec before return
  ARM: dts: msm: Add restart driver to sdm429
  usb: pd: Use break instead of return after soft reset is done
  mtd: msm_qpic_nand: check for page_erased bit along with op_err
  ARM: dts: msm: Update display ram dump memory size
  clk: Add prepare lock in clk_populate_clock_opp_table
  msm: ep_pcie: Vote for pipe clk for early init case
  dma-buf: fill dmabuf->name in dma_buf_export
  disp: msm: dsi: Update mode population logic for POMS feature
  disp: msm: dsi: Fix the total number of modes calculation
  disp: msm: dsi: Add support to skip constant fps for command mode
  ARM: dts: msm: add override nodes for SA515M CDP board
  msm: ep_pcie: Update bit to read if the PHY is ready
  defconfig: sa2150p: Enable STMMAC driver
  net: stmmac: Fix type casting for tlmm addr
  compat: drop centos 8.1 support as 8.2 is now out
  net: stmmac: read descriptor count for IPA rx/tx from dt entry
  ARM: dts: msm: Add a flag to enable TSENS re-init
  ARM: dts: msm: Correct the spi pinctrl active node name
  ARM: dts: msm: update to memory map v1 for QCS610 and QCS410
  drm/msm/dsi-staging: Set transfer time to zero as per mode of timing node
  sched: Fix out of bounds issue in for_each_cluster macro
  wcnss: Include header file for show_stack()
  Revert "ARM: dts: msm: Move pil region of ipa fws for SA8155 VM "
  input: qpnp-power-on: Add a property to force hard-reset offset
  clk: qcom: mdss: Improve logging for 10nm dsi pll
  version: bump
  ARM: dts: msm: Enable STM coresight node for sdmshrike
  ARM: dts: msm: Enable ddr coresight nodes for sdmshrike
  ARM: dts: msm: Enable hwevents coresight nodes for sdmshrike
  ARM: dts: msm: Add coresight nodes for sdmshrike
  drm: msm: dsi-staging: Fix dsi-te-using-wd during POMS
  coresight: etx4x: sysfs: fix spinlock unlock issue
  ARM: dts: msm: Add smp2p based shutdown-ack
  ARM: dts: msm: update board-id for different linux variants
  drm/msm/shd: fix null pointer dereferenced
  drm/msm/sde: fix potential array index out of bounds
  block, bfq: fix use-after-free in bfq_idle_slice_timer_body
  net: stmmac: Fix reading IOMACRO por values
  mtd: msm_qpic_nand: Add a check to read an ONFI parameter page
  arm: dts: msm: set descriptor count to 512 for IPA channel
  ARM: dts: msm: Retain the copyright year
  usb: gadget: notify suspend clear to usb phy in udc
  defconfig: Increase command line size to 2048 for SDM429 BG
  arm: Make COMMAND_LINE_SIZE a kernel config option
  ARM: dts: msm: Remove low temperature monitor thermal zones for SA8155
  mhi: cntrl: qcom: Add EDL image to the firmware table
  drm: Check for lessee in DROP_MASTER ioctl
  compat: remove stale suse support
  ARM: dts: msm: Fix register offset to read PHY status
  ARM: dts: msm: Correct pinctrl console UART setting
  usb: f_cdev: USB remote wake up feature implementation for DUN
  compat: bionic-hwe-5.0/disco kernel backported skb_reset_redirect and ipv6 flow
  qemu: mark per_cpu_load_addr as static for gcc-10
  qemu: work around broken centos8 kernel
  compat: ubuntu appears to have backported ipv6_dst_lookup_flow
  qemu: patch in UTS_UBUNTU_RELEASE_ABI for Ubuntu detection
  qemu: support fetching kernels for arbitrary URLs
  ARM: dts: msm: Allow PM suspend irrespective of host RT state on SA8195
  msm: ais: Fix power up sequence of cci
  ARM: dts: msm: update UBWC highest bank bit for sdmshrike display
  ARM: dts: msm: update macro tile mode for sdmshrike display
  drivers: gnss: Suspend, resume handling for GNSS driver
  gnss: sirf: KPI marker for GNSS driver
  Revert "ARM: dts: qcom: Added metadata partition for UDC"
  arm64: dts: qcom: Drive strength reduction for GNSS UART GPIOs
  msm: ipa: fix ipa_disable_apps_wan_cons_deaggr declaration
  ARM: dts: msm: Added sdmshrike-pm
  defconfig: sa8155: Enable Android Low memory killer
  defconfig: sdmshrike: Enable Android Lowmemory killer
  iommu: arm-smmu: Make restore of smmu-context runtime detectable
  ARM: dts: msm: Add qfprom node for SA8195p
  defconfig: sdmshrike: Enable QFPROM driver for sdmshrike
  defconfig: Enable debug clock controller for sdmshrike
  ARM: dts: msm: Add the clock_debugcc node on sdmshrike
  clk: qcom: Add debug clock controller for sdmshrike
  ARM: dts: msm: fix missing header in display dtsi
  Add sdmshrike for supported platform
  Revert "msm: defconfig: Disable IPA for sm6150 auto"
  Revert "clk: qcom: update pll configs for all clock controllers"
  usb: config: Fix incorrect use of keywords

Signed-off-by: UtsavBalar1231 <utsavbalar1231@gmail.com>
2020-07-14 10:32:08 +05:30
UtsavBalar1231
bb56551c33 dsp: q6afe: silence port id related logging
Signed-off-by: UtsavBalar1231 <utsavbalar1231@gmail.com>
2020-07-14 09:11:07 +05:30
UtsavBalar1231
20e2fc686f Merge remote-tracking branch 'origin/auto-kernel' into auto-kernel-oss
* origin/auto-kernel:
  sched/fair: Tighten prefer_spread feature
  sched/walt: Improve the scheduler
  sched/walt: Improve the scheduler
  sched/walt: Improve the scheduler
  sched/walt: Improve the scheduler
  sched: Add support to spread tasks
  sched/fair: Avoid force newly idle load balance if have iowait task
  sched/fair: Force gold cpus to do idle lb when silver has big tasks
  sched/fair: Cleanup for incoming upstream changes
  sched/fair: Cleanup for incoming upstream changes
  sched/fair: remove unused variable
  sched: fair: Improve the scheduler
  sched: Improve the scheduler
  sched: fair: Stop running idle_balance on active migration kick
  cpufreq: Avoid leaving stale IRQ work items during CPU offline
  cpufreq: schedutil: Queue sugov irq work on policy online cpu
  sched/cpufreq_schedutil: create a function for common steps
  sched/fair: Don't place wakee on waker cpu if colocate enabled
  sched: core_ctl: Improve the scheduler
  sched/walt: Fix kernel panic issue by uninitialized data
  sched: walt: Improve the scheduler
  sched: walt: Improve the scheduler
  sched/walt: Improve the scheduler
  sched: walt: improve the scheduler
  sched/walt: cleanup unused code
  sched/walt: Improve the scheduler
  sched: Improve the scheduler
  sched: walt: Improve the scheduler
  sched: core: Use sched_clusters for updown migration handler
  sched: walt: fix sched_cluster initialization
  sched/walt: Improve the scheduler
  sched/walt: Improve the scheduler
  sched: walt: Dump walt status on BUG_ON
  sched/walt: Improve the scheduler
  sched/walt: Improve the scheduler
  sched/walt: Improve the scheduler
  sched/walt: Improve the scheduler
  sched: improve the scheduler
  sched: walt: remove unused variable
  sched: walt: Improve the Scheduler
  sched/walt: Improve the scheduler
  sched/walt: Improve the scheduler
  cpuidle: lpm-levels: get bias time from scheduler
  lpm-levels: Optimize and make way for upstream changes
  sched: Remove unused code in sched_avg.c
  sched: Use bitmask for sched_busy_hysteresis_enable_cpus tunable
  sched: Introduce sched_busy_hysteresis_enable_cpus tunable
  sched/walt: Improve the scheduler
  sched/walt: Improve the scheduler
  sched/walt: Improve the scheduler
  sched: core: Fix usage of cpu core group mask
  arch_topology: Add possible sibling cpu mask for cpu_topology
  arm64/kernel/topology: Cleanup for upstream commit
  sched: Improve the scheduler
  sched/walt: Improve the scheduler
  sched/walt: Improve the scheduler
  sched: Improve the scheduler
  sched/core_ctl: Improve the scheduler
  sched/core_ctl: Improve the scheduler
  sched/walt: Improve the scheduler
  sched/walt: drop preferred_cluster from rtg
  sched/isolcpus: Fix "isolcpus=" boot parameter handling when !CONFIG_CPUMASK_OFFSTACK
  sched/fair: Fix incorrect CPU access in check_for_migration()
  sched/walt: Improve the scheduler
  sched/walt: Improve the scheduler
  sched/walt: Improve the scheduler
  sched/walt: Improve the scheduler
  sched/walt: Improve the scheduler
  sched/walt: Improve the scheduler
  sched/walt: Improve the scheduler
  sched/walt: Improve the scheduler
  sched: Improve the scheduler
  sched: Improve the scheduler
  sched: Improve the scheduler
  sched: Improve the scheduler
  sched: Improve the scheduler
  sched: Cleanup unused variables in walt
  sched: walt: Improve the scheduler
  sched: Improve the scheduler
  sched: clean-up unused/duplicate functions & variables
  sched/fair: upadte adjust_cpus_for_packing()
  sched/fair: Allow prev cpu in find best target
  sched: improve the scheduler
  sched/fair: Refactor packing eligible test
  sched: Improve the scheduler
  sched/walt: Improve the scheduler
  sched/fair: Derive the downmigration margin wrt the destination CPU
  Revert "sched/core: Fix migration to invalid CPU in __set_cpus_allowed_ptr()"
  ANDROID: sched: fair: balance for single core cluster
  sched: reset in preparation of 4.19 WALT optimizations
  android: binder: update to msm-4.19/LU.UM.1.2.1.r1-09000-QRB5165.0
  ARM64: configs: raphael: Disable CONFIG_MSM_TZ_LOG from perf builds
  dma-buf: fix sleep-while-atomic in dmabuffs_dname
  ARM64: configs: raphael: Enable SSBD config for sm8150
  simple_lmk: do not flood the log when we're stuck
  simple_lmk: set kthread priority to 7
  simple_lmk: Mark reclaim kthread as performance critical
  devfreq_boost: Mark boost kthreads as performance critical
  drm/msm/sde: fix potential array index out of bounds
  drm:msm:sde fix compile error when RSC is not enabled
  drm/msm/shd: fix null pointer dereferenced
  rmnet_shs: Fix CFI violation in packet assignment
  rmnet_perf: Fix CFI violation in packet deaggregation
  locking/osq: Use optimized spinning loop for arm64
  sched/fair: Fix excessive packing on the max capacity CPU
  Revert "Revert "sched/fair: Drop always true parameter of update_cfs_rq_load_avg()""
  Revert "FORWARDPORT: sched/fair: Skip frequency updates if CPU about to idle"
  Revert "power: wakeup: kick NETLINK from wakeup source"
  Revert "genirq/generic_pending: Do not lose pending affinity update"
  ARM64: configs: raphael: Enable KCAL color control
  drm/msm/sde: Introduce KCAL color control
  drm/msm/sde: Split HSIC application

Signed-off-by: UtsavBalar1231 <utsavbalar1231@gmail.com>
2020-07-13 20:09:09 +05:30
Danny Lin
8bd24b6618 rmnet_shs: Fix CFI violation in packet assignment
This fixes the following CFI violation when the rmnet_shs module is
loaded:

CFI failure (target: [<ffffff9cddd1e27c>] rmnet_shs_assign+0x0/0x9d0):
------------[ cut here ]------------
WARNING: CPU: 1 PID: 0 at rmnet_deliver_skb+0x224/0x24c
CPU: 1 PID: 0 Comm: swapper/1 Tainted: G S      W       4.14.186 #1
Hardware name: Qualcomm Technologies, Inc. SM8150 V2 PM8150 MTP 18865 19863 14 15 (DT)
task: 0000000098c067f6 task.stack: 00000000289c42de
pc : rmnet_deliver_skb+0x224/0x24c
lr : rmnet_deliver_skb+0x224/0x24c
sp : ffffff801000bc10 pstate : 60400145
x29: ffffff801000bc10 x28: ffffff9cdc68e798
x27: ffffffe5ed28e090 x26: 0000000000000000
x25: 0000000000000000 x24: ffffffe585b41ca8
x23: 0000000000000001 x22: ffffff9cddd1e27c
x21: ffffffe5f40fd100 x20: ffffffe5dfb95000
x19: ffffffe4eff9d500 x18: 0000000000000002
x17: 000000000000009c x16: 000000000000009c
x15: 0000000000000068 x14: 0000000000000082
x13: ffffff9cdefaec08 x12: 0000000000000004
x11: 00000000ffffffff x10: ffffffe5f5200000
x9 : 99d99e2e2d2e1900 x8 : 99d99e2e2d2e1900
x7 : 0000000000000000 x6 : ffffffe5f5209fc2
x5 : 0000000000000000 x4 : 0000000000000000
x3 : 0000000000003a29 x2 : 0000000000000001
x1 : 0000000000000000 x0 : 0000000000000046
\x0aPC: 0xffffff9cdd12b3fc:
b3fc  a9424ff4 a94157f6 a8c37bfd d65f03c0 91246100 aa1303e1 9431af1a a9424ff4
b41c  a94157f6 a8c37bfd d65f03c0 900091e0 91188000 aa1603e1 aa1603e2 97d8aba3
b43c  d4210000 17ffff9e aa1503e0 97d9478c 17ffffa5 aa1503e0 aa0803f6 97d94788
b45c  aa1603e8 17ffffac d10103ff a9017bfd a90257f6 a9034ff4 910043fd aa0003f3
\x0aLR: 0xffffff9cdd12b3fc:
b3fc  a9424ff4 a94157f6 a8c37bfd d65f03c0 91246100 aa1303e1 9431af1a a9424ff4
b41c  a94157f6 a8c37bfd d65f03c0 900091e0 91188000 aa1603e1 aa1603e2 97d8aba3
b43c  d4210000 17ffff9e aa1503e0 97d9478c 17ffffa5 aa1503e0 aa0803f6 97d94788
b45c  aa1603e8 17ffffac d10103ff a9017bfd a90257f6 a9034ff4 910043fd aa0003f3
\x0aSP: 0xffffff801000bbd0:
bbd0  dd12b43c ffffff9c 60400145 00000000 1000bbb8 ffffff80 dd12b2b4 ffffff9c
bbf0  ffffffff 0000007f 2d2e1900 99d99e2e 1000bc10 ffffff80 dd12b43c ffffff9c
bc10  1000bc40 ffffff80 ddd18d48 ffffff9c 00000040 00000000 ddd18338 ffffff9c
bc30  eff9d500 ffffffe4 85b41c18 ffffffe5 1000bc50 ffffff80 ddd1a390 ffffff9c

Call trace:
rmnet_deliver_skb+0x224/0x24c
rmnet_perf_core_send_skb+0x138/0x140
rmnet_perf_opt_flush_single_flow_node+0x624/0x668
rmnet_perf_core_deaggregate+0x194/0x2c4
rmnet_rx_handler+0x17c/0x270
__netif_receive_skb_core+0x50c/0xba0
process_backlog+0x1e4/0x3d0
net_rx_action+0x134/0x4f4
__do_softirq+0x16c/0x344
irq_exit+0x16c/0x178
handle_IPI+0x220/0x2e0
gic_handle_irq.16379+0xa8/0x180
el1_irq+0xb0/0x124
lpm_cpuidle_enter+0x33c/0x358
cpuidle_enter_state+0x220/0x400
do_idle+0x430/0x5f0
cpu_startup_entry+0x74/0x78
__cpu_disable+0x0/0xf0
---[ end trace 6e7b287874dec53f ]---

Reported-by: Adam W. Willis <return.of.octobot@gmail.com>
Signed-off-by: Danny Lin <danny@kdrag0n.dev>
Signed-off-by: UtsavBalar1231 <utsavbalar1231@gmail.com>
2020-07-12 13:23:55 +05:30
Danny Lin
9fb852d44e rmnet_perf: Fix CFI violation in packet deaggregation
This fixes the following CFI violation when the rmnet_perf module is
loaded:

CFI failure (target: [<ffffff9cddd181a4>] rmnet_perf_core_deaggregate+0x0/0x2c4):
------------[ cut here ]------------
WARNING: CPU: 1 PID: 0 at rmnet_rx_handler+0x240/0x270
CPU: 1 PID: 0 Comm: swapper/1 Tainted: G S      W       4.14.186 #1
Hardware name: Qualcomm Technologies, Inc. SM8150 V2 PM8150 MTP 18865 19863 14 15 (DT)
task: 0000000098c067f6 task.stack: 00000000289c42de
pc : rmnet_rx_handler+0x240/0x270
lr : rmnet_rx_handler+0x240/0x270
sp : ffffff801000bd00 pstate : 60400145
x29: ffffff801000bd00 x28: ffffff9cdc68e798
x27: ffffffe5ed28e090 x26: 0000000000000000
x25: ffffff9cdc68e9cc x24: ffffffe42fd6b900
x23: ffffff9cde829f30 x22: ffffff9cddd181a4
x21: ffffffe5f40fd100 x20: ffffffe5dfb95000
x19: ffffffe42fd6b900 x18: 0000000000010000
x17: 0000000000000008 x16: 0000000000000000
x15: 0000000000000008 x14: ffffff9cde85d990
x13: 0000000005000000 x12: 00ff00ff00000000
x11: ffffffffffffffff x10: 0000000000000008
x9 : 99d99e2e2d2e1900 x8 : 99d99e2e2d2e1900
x7 : 0000000000000000 x6 : ffffffe5f52091f1
x5 : 0000000000000000 x4 : 0000000000000000
x3 : fffffffffffffffc x2 : 0000000000000000
x1 : 0000000000000008 x0 : 0000000000000051
\x0aPC: 0xffffff9cdd12b8bc:
b8bc  f900051f aa1503e0 aa1403e1 940001f9 b4fffe60 aa0003f6 aa1403e1 94000015
b8dc  eb1602bf 54ffff01 17ffffef 900091e0 91188000 aa1603e1 aa1603e2 97d8aa73
b8fc  d4210000 17ffffcb aa1503e0 97d9465c 17ffffd2 aa1503e0 97d94659 17ffffdd
b91c  aa1303e0 528001c1 aa1503e2 94303be3 d10183ff a9027bfd f9001bf7 a90457f6
\x0aLR: 0xffffff9cdd12b8bc:
b8bc  f900051f aa1503e0 aa1403e1 940001f9 b4fffe60 aa0003f6 aa1403e1 94000015
b8dc  eb1602bf 54ffff01 17ffffef 900091e0 91188000 aa1603e1 aa1603e2 97d8aa73
b8fc  d4210000 17ffffcb aa1503e0 97d9465c 17ffffd2 aa1503e0 97d94659 17ffffdd
b91c  aa1303e0 528001c1 aa1503e2 94303be3 d10183ff a9027bfd f9001bf7 a90457f6
\x0aSP: 0xffffff801000bcc0:
bcc0  dd12b8fc ffffff9c 60400145 00000000 1000bca8 ffffff80 dd12b828 ffffff9c
bce0  ffffffff 0000007f 2d2e1900 99d99e2e 1000bd00 ffffff80 dd12b8fc ffffff9c
bd00  1000bd60 ffffff80 ddd4eafc ffffff9c 2fd6b900 ffffffe4 de84eec0 ffffff9c
bd20  00000000 00000000 ed28e000 ffffffe5 00000000 00000001 00000000 00000000

Call trace:
rmnet_rx_handler+0x240/0x270
__netif_receive_skb_core+0x50c/0xba0
process_backlog+0x1e4/0x3d0
net_rx_action+0x134/0x4f4
__do_softirq+0x16c/0x344
irq_exit+0x16c/0x178
handle_IPI+0x220/0x2e0
gic_handle_irq.16379+0xa8/0x180
el1_irq+0xb0/0x124
lpm_cpuidle_enter+0x33c/0x358
cpuidle_enter_state+0x220/0x400
do_idle+0x430/0x5f0
cpu_startup_entry+0x74/0x78
__cpu_disable+0x0/0xf0
---[ end trace 6e7b287874dec53e ]---

Reported-by: Adam W. Willis <return.of.octobot@gmail.com>
Signed-off-by: Danny Lin <danny@kdrag0n.dev>
Signed-off-by: UtsavBalar1231 <utsavbalar1231@gmail.com>
2020-07-12 13:23:55 +05:30
UtsavBalar1231
d463cf9380 Merge remote-tracking branch 'origin/auto-kernel' into auto-kernel-oss
* origin/auto-kernel:
  ARM64: configs: raphael: sync and regenerate
  drivers: silence rest of the IPC logging warnings
  msm: sde: add back doze state changes in sde_connector_update_hbm
  Revert "IPA: Remove IPA page allocation failure warning"
  cpuidle: lpm-levels: Fix clock prints in the suspend path
  sched: Fix out of bounds issue in for_each_cluster macro
  sched: core_ctl: Fix possible uninitialized variable
  sched: Improve the scheduler
  taskstats: extended taskstats2 with acct fields
  Revert "Revert "ANDROID: security,perf: Allow further restriction of perf_event_open""
  fs: namespace: Fix use-after-free in unmount
  USB: f_mtp: Revert Avoid queuing of receive_file_work for 0 length
  usb: dwc3: Add boundary check while traversing the TRB ring buffer
  usb: dwc3-msm: Add support for 2nd set of wakeup IRQs
  usb: pd: Use break instead of return after soft reset is done
  USB: pd: Restart host mode in high speed if no usb3 & dp concurrency
  usb: f_cdev: USB remote wake up feature implementation for DUN
  usb: gadget: notify suspend clear to usb phy in udc
  usb: gadget: f_ipc: Fix race between ipc_free_inst and ipc_close
  usb: gadget: f_qdss: Allocate one string ID for all instances
  usb: gadget: Reset string ids upon unbind
  usb: dwc3: Write necessary registers for dual port enablement
  usb: dwc3: Add support for 4 PHYs for dual port controller
  BACKPORT: drivers: thermal: Re-initialize Tsens controller interrupt configuration
  BACKPORT: drivers: thermal: Avoid multiple TSENS controller re-init simultaneously
  drivers: thermal: Force notify thermal to re-evaluate TSENS sensors
  staging: android: ion: Add support for Carveout allocations in ion_alloc
  soc: qcom: dcc_v2: Add PM callbacks to support hibernation
  rpmsg: qcom_smd: Add SET signal support
  spi: spi-geni-qcom: Don't initialize GSI channels for FIFO/SE_DMA mode
  spi: spi-geni-qcom: Check for zero length transfer
  spi: spi-geni-qcom: Reset the dma engine on failure
  platform: msm: qcom-geni-se: Enable SSC QUP SE clks before SCM call
  msm: sps: SPS driver changes for dummy BAM connect
  msm: mhi_dev: update NHWER after M0 from host
  msm: mhi_dev: Do not flush events to host if channel is stopped
  msm: mhi_dev: Increase size of ipa_clnt_hndl array
  msm: mhi_dev: Disable IPA DMA during MHI cleanup
  msm: ipa3: Fix to map the npn phy address only once
  msm: ipa3: Add support to fastmap/geometry for each CB
  msm: ipa3: Send actual DL flt rule to Q6
  msm: ipa3: Wait for IPA post init for 1000 msec before return
  msm: ipa: Support hardware accelerated DIAG over qdss
  msm: ipa3: Fix increase the NAPI budget to maximum
  msm: ipa: Fix rndis client disconnection gracefully
  msm: ipa3: Change IPA log type
  msm: kgsl: Dump GPU registers only when GX is ON
  msm: adsprpc: vote for CPU to stay awake during RPC call
  icnss: Avoid wlan driver unload if driver is not probed
  cpufreq: stats: Change return type of cpufreq_stats_update() as void
  cpufreq: stats: Handle the case when trans_table goes beyond PAGE_SIZE
  clk: qcom: Add enable_safe_config for gfx3d_clk_src
  clk: qcom: rcg2: Fix possible null pointer dereference
  ARM: dts: msm: Add smp2p based shutdown-ack
  ARM: dts: msm: add xo_clk for DP display on sm8150
  ARM: dts: msm: add link clk rcg entry on sm8150
  Linux 4.14.188
  efi: Make it possible to disable efivar_ssdt entirely
  dm zoned: assign max_io_len correctly
  irqchip/gic: Atomically update affinity
  MIPS: Add missing EHB in mtc0 -> mfc0 sequence for DSPen
  cifs: Fix the target file was deleted when rename failed.
  SMB3: Honor persistent/resilient handle flags for multiuser mounts
  SMB3: Honor 'seal' flag for multiuser mounts
  Revert "ALSA: usb-audio: Improve frames size computation"
  nfsd: apply umask on fs without ACL support
  i2c: algo-pca: Add 0x78 as SCL stuck low status for PCA9665
  virtio-blk: free vblk-vqs in error path of virtblk_probe()
  drm: sun4i: hdmi: Remove extra HPD polling
  hwmon: (acpi_power_meter) Fix potential memory leak in acpi_power_meter_add()
  hwmon: (max6697) Make sure the OVERT mask is set correctly
  cxgb4: parse TC-U32 key values and masks natively
  cxgb4: use unaligned conversion for fetching timestamp
  crypto: af_alg - fix use-after-free in af_alg_accept() due to bh_lock_sock()
  kgdb: Avoid suspicious RCU usage warning
  usb: usbtest: fix missing kfree(dev->buf) in usbtest_disconnect
  mm/slub: fix stack overruns with SLUB_STATS
  mm/slub.c: fix corrupted freechain in deactivate_slab()
  usbnet: smsc95xx: Fix use-after-free after removal
  EDAC/amd64: Read back the scrub rate PCI register on F15h
  mm: fix swap cache node allocation mask
  btrfs: fix data block group relocation failure due to concurrent scrub
  btrfs: cow_file_range() num_bytes and disk_num_bytes are same
  btrfs: fix a block group ref counter leak after failure to remove block group
  UPSTREAM: binder: fix null deref of proc->context
  rmnet_shs: set gso_type when partially segmenting SKBs
  uapi: add ADM_AUDPROC_PERSISTENT cal type
  Release 5.2.03.27R
  qcacld-3.0: Validate session id before checking ps enable timer state
  Release 5.2.03.27Q
  qcacld-3.0: Print next RSSI threshold for periodic scan roam trigger
  qcacld-3.0: Add dealloc api to free memory allocated for ll_stats
  Release 5.2.03.27P
  qcacld-3.0: Correct VHT TX STBC setting according to target capability
  Release 5.2.03.27O
  qcacld-3.0: Don't create wifi-aware0 interface if NAN is not supported
  Release 5.2.03.27N
  qcacld-3.0: Add tgt layer for packet capture mode
  qcacld-3.0: Don't set hw_filter for NDI mode
  qcacmn: Fix null pointer dereference at extract_11kv_stats_tlv
  Release 5.2.03.27M
  qcacld-3.0: unregister peer hang notifier
  Release 5.2.03.27L
  qcacld-3.0: Add support to dynamically set dwell time for 2g
  qcacld-3.0: Update set dwell time correctly
  fw-api: Add rx_flow_search_entry.h for qca6750
  fw-api: CL 10663966 - update fw common interface files
  fw-api: CL 10599980 - update fw common interface files
  fw-api: CL 10599978 - update fw common interface files
  fw-api: CL 10581227 - update fw common interface files
  fw-api: CL 10576300 - update fw common interface files
  fw-api: CL 10543175 - update fw common interface files
  qcacmn: Add support to dynamically set dwell time for 2g
  qcacmn: Update set dwell time correctly
  fw-api: Add HW header files for QCA5018
  dsp: Fix a memory leak issue when nvmem read returns invalid length

Signed-off-by: UtsavBalar1231 <utsavbalar1231@gmail.com>
2020-07-11 20:59:02 +05:30
UtsavBalar1231
4614a8c871 Merge remote-tracking branch 'origin/q' into auto-kernel
* origin/q:
  cpuidle: lpm-levels: Fix clock prints in the suspend path
  sched: Fix out of bounds issue in for_each_cluster macro
  sched: core_ctl: Fix possible uninitialized variable
  sched: Improve the scheduler
  taskstats: extended taskstats2 with acct fields
  Revert "Revert "ANDROID: security,perf: Allow further restriction of perf_event_open""
  fs: namespace: Fix use-after-free in unmount
  USB: f_mtp: Revert Avoid queuing of receive_file_work for 0 length
  usb: dwc3: Add boundary check while traversing the TRB ring buffer
  usb: dwc3-msm: Add support for 2nd set of wakeup IRQs
  usb: pd: Use break instead of return after soft reset is done
  USB: pd: Restart host mode in high speed if no usb3 & dp concurrency
  usb: f_cdev: USB remote wake up feature implementation for DUN
  usb: gadget: notify suspend clear to usb phy in udc
  usb: gadget: f_ipc: Fix race between ipc_free_inst and ipc_close
  usb: gadget: f_qdss: Allocate one string ID for all instances
  usb: gadget: Reset string ids upon unbind
  usb: dwc3: Write necessary registers for dual port enablement
  usb: dwc3: Add support for 4 PHYs for dual port controller
  BACKPORT: drivers: thermal: Re-initialize Tsens controller interrupt configuration
  BACKPORT: drivers: thermal: Avoid multiple TSENS controller re-init simultaneously
  drivers: thermal: Force notify thermal to re-evaluate TSENS sensors
  staging: android: ion: Add support for Carveout allocations in ion_alloc
  soc: qcom: dcc_v2: Add PM callbacks to support hibernation
  rpmsg: qcom_smd: Add SET signal support
  spi: spi-geni-qcom: Don't initialize GSI channels for FIFO/SE_DMA mode
  spi: spi-geni-qcom: Check for zero length transfer
  spi: spi-geni-qcom: Reset the dma engine on failure
  platform: msm: qcom-geni-se: Enable SSC QUP SE clks before SCM call
  msm: sps: SPS driver changes for dummy BAM connect
  msm: mhi_dev: update NHWER after M0 from host
  msm: mhi_dev: Do not flush events to host if channel is stopped
  msm: mhi_dev: Increase size of ipa_clnt_hndl array
  msm: mhi_dev: Disable IPA DMA during MHI cleanup
  msm: ipa3: Fix to map the npn phy address only once
  msm: ipa3: Add support to fastmap/geometry for each CB
  msm: ipa3: Send actual DL flt rule to Q6
  msm: ipa3: Wait for IPA post init for 1000 msec before return
  msm: ipa: Support hardware accelerated DIAG over qdss
  msm: ipa3: Fix increase the NAPI budget to maximum
  msm: ipa: Fix rndis client disconnection gracefully
  msm: ipa3: Change IPA log type
  msm: kgsl: Dump GPU registers only when GX is ON
  msm: adsprpc: vote for CPU to stay awake during RPC call
  icnss: Avoid wlan driver unload if driver is not probed
  cpufreq: stats: Change return type of cpufreq_stats_update() as void
  cpufreq: stats: Handle the case when trans_table goes beyond PAGE_SIZE
  clk: qcom: Add enable_safe_config for gfx3d_clk_src
  clk: qcom: rcg2: Fix possible null pointer dereference
  ARM: dts: msm: Add smp2p based shutdown-ack
  ARM: dts: msm: add xo_clk for DP display on sm8150
  ARM: dts: msm: add link clk rcg entry on sm8150
  Linux 4.14.188
  efi: Make it possible to disable efivar_ssdt entirely
  dm zoned: assign max_io_len correctly
  irqchip/gic: Atomically update affinity
  MIPS: Add missing EHB in mtc0 -> mfc0 sequence for DSPen
  cifs: Fix the target file was deleted when rename failed.
  SMB3: Honor persistent/resilient handle flags for multiuser mounts
  SMB3: Honor 'seal' flag for multiuser mounts
  Revert "ALSA: usb-audio: Improve frames size computation"
  nfsd: apply umask on fs without ACL support
  i2c: algo-pca: Add 0x78 as SCL stuck low status for PCA9665
  virtio-blk: free vblk-vqs in error path of virtblk_probe()
  drm: sun4i: hdmi: Remove extra HPD polling
  hwmon: (acpi_power_meter) Fix potential memory leak in acpi_power_meter_add()
  hwmon: (max6697) Make sure the OVERT mask is set correctly
  cxgb4: parse TC-U32 key values and masks natively
  cxgb4: use unaligned conversion for fetching timestamp
  crypto: af_alg - fix use-after-free in af_alg_accept() due to bh_lock_sock()
  kgdb: Avoid suspicious RCU usage warning
  usb: usbtest: fix missing kfree(dev->buf) in usbtest_disconnect
  mm/slub: fix stack overruns with SLUB_STATS
  mm/slub.c: fix corrupted freechain in deactivate_slab()
  usbnet: smsc95xx: Fix use-after-free after removal
  EDAC/amd64: Read back the scrub rate PCI register on F15h
  mm: fix swap cache node allocation mask
  btrfs: fix data block group relocation failure due to concurrent scrub
  btrfs: cow_file_range() num_bytes and disk_num_bytes are same
  btrfs: fix a block group ref counter leak after failure to remove block group
  UPSTREAM: binder: fix null deref of proc->context
  rmnet_shs: set gso_type when partially segmenting SKBs
  uapi: add ADM_AUDPROC_PERSISTENT cal type
  Release 5.2.03.27R
  qcacld-3.0: Validate session id before checking ps enable timer state
  Release 5.2.03.27Q
  qcacld-3.0: Print next RSSI threshold for periodic scan roam trigger
  qcacld-3.0: Add dealloc api to free memory allocated for ll_stats
  Release 5.2.03.27P
  qcacld-3.0: Correct VHT TX STBC setting according to target capability
  Release 5.2.03.27O
  qcacld-3.0: Don't create wifi-aware0 interface if NAN is not supported
  Release 5.2.03.27N
  qcacld-3.0: Add tgt layer for packet capture mode
  qcacld-3.0: Don't set hw_filter for NDI mode
  qcacmn: Fix null pointer dereference at extract_11kv_stats_tlv
  Release 5.2.03.27M
  qcacld-3.0: unregister peer hang notifier
  Release 5.2.03.27L
  qcacld-3.0: Add support to dynamically set dwell time for 2g
  qcacld-3.0: Update set dwell time correctly
  fw-api: Add rx_flow_search_entry.h for qca6750
  fw-api: CL 10663966 - update fw common interface files
  fw-api: CL 10599980 - update fw common interface files
  fw-api: CL 10599978 - update fw common interface files
  fw-api: CL 10581227 - update fw common interface files
  fw-api: CL 10576300 - update fw common interface files
  fw-api: CL 10543175 - update fw common interface files
  qcacmn: Add support to dynamically set dwell time for 2g
  qcacmn: Update set dwell time correctly
  fw-api: Add HW header files for QCA5018
  dsp: Fix a memory leak issue when nvmem read returns invalid length

Signed-off-by: UtsavBalar1231 <utsavbalar1231@gmail.com>
2020-07-11 20:25:52 +05:30
UtsavBalar1231
470e112ea9 Merge tag 'eebf7afd3749ce215bdfad8aef73420588743371' into q
"LA.UM.8.11.1.r1-00300-QCM6125.0"

* tag 'eebf7afd3749ce215bdfad8aef73420588743371':
  rmnet_shs: set gso_type when partially segmenting SKBs
2020-07-11 20:20:55 +05:30
UtsavBalar1231
e85130cf37 Merge tag '632141626376db1bd1eeb672cbd48dfec774c1ab' into q
"LA.UM.8.11.1.r1-00300-QCM6125.0"

* tag '632141626376db1bd1eeb672cbd48dfec774c1ab':
  uapi: add ADM_AUDPROC_PERSISTENT cal type
  dsp: Fix a memory leak issue when nvmem read returns invalid length
2020-07-11 20:20:31 +05:30
UtsavBalar1231
e346cba4e3 Merge remote-tracking branch 'origin/auto-kernel' into auto-kernel-oss
* origin/auto-kernel:
  ARM64: configs: raphael: Disable redundant Spectre variant 2 mitigations
  ARM64: configs: raphael: Disable COREDUMP
  ARM64: configs: raphael: Disable QCOM Memory Dump V2 Support
  ARM64: configs: raphael: Disable CONFIGFS_RNDIS
  ARM64: configs: raphael: set CONFIG_HZ to 250
  ARM64: configs: raphael: Sync for v4.14.187
  ARM64: configs: raphael: Enable and Configure DEVFREQ_BOOST
  ARM64: configs: raphael: Enable and Configure CPU_INPUT_BOOST
  kernel: Boost to the max for a short amount of time when zygote forks
  kernel: Boost whenever a zygote-forked process becomes a top app
  devfreq_boost: perform max devfreq boost for 250ms on touch events
  devfreq_boost: Update and expand to handle CPUBW/LLCCBW boosting
  drm/atomic: boost DDR bus when committing a new frame
  mm: Boost when memory pressure becomes high
  devfreq_boost: Introduce devfreq boost driver
  devfreq: Avoid competing with low-priority tasks
  fs: exec: Introduce is_zygote_pid()
  cpu_input_boost: add prime core support
  cpu_input_boost: rewrite update_online_cpu_policy function
  cpu_input_boost: disable input boost of duration==0
  cpu_input_boost: add sm8150 support
  cpu_input_boost: add support for boost freqs lower than min freq
  cpu_input_boost: Mark boost kthread as performance critical
  cpu_input_boost: Introduce driver for event-based CPU boosting
  Revert "sched: do not allocate window cpu arrays separately"
  msm/sde_fence: ifdef name from sde_fence_context struct
  sde_crtc: fix a slab-out-of-bounds read
  mm: zero-seek shrinkers
  arm64: percpu: Fix LSE implementation of value-returning pcpu atomics
  arm64: percpu: Rewrite per-cpu ops to allow use of LSE atomics
  arm64: move percpu cmpxchg implementation from cmpxchg.h to percpu.h
  locking/mutex: Test for initialized mutex
  futex: Cleanup generic SMP variant of arch_futex_atomic_op_inuser()
  futex: Consolidate duplicated timer setup code
  futex: Ensure that futex address is aligned in handle_futex_death()
  futex: Convert futex_pi_state.refcount to refcount_t
  futex: No need to check return value of debugfs_create functions
  kernel/locking/mutex.c: remove caller signal_pending branch predictions
  locking/mutex: Replace spin_is_locked() with lockdep
  futex: Replace spin_is_locked() with lockdep
  locking/rtmutex: Fix the preprocessor logic with normal #ifdef #else #endif
  locking/ww_mutex: Fix spelling mistake "cylic" -> "cyclic"
  locking/mutex: Fix mutex debug call and ww_mutex documentation
  futex: Mark expected switch fall-throughs
  locking: Implement an algorithm choice for Wound-Wait mutexes
  locking: WW mutex cleanup
  mm: use do_futex() instead of sys_futex() in mm_release()
  locking/rtmutex: Handle non enqueued waiters gracefully in remove_waiter()
  rtmutex: Make rt_mutex_futex_unlock() safe for irq-off callsites
  mutex: Drop linkage.h from mutex.h
  kernel/mutex: mutex_is_locked can be boolean
  futex: futex_wake_op, fix sign_extend32 sign bits
  ARM64: configs: raphael: Sync for rwsem backports
  locking/rwsem: Add ACQUIRE comments
  lcoking/rwsem: Add missing ACQUIRE to read_slowpath sleep loop
  locking/rwsem: Add missing ACQUIRE to read_slowpath exit when queue is empty
  locking/rwsem: Don't call owner_on_cpu() on read-owner
  locking/rwsem: Guard against making count negative
  locking/mutex: Optimize __mutex_trylock_fast()
  locking/rwsem: Adaptive disabling of reader optimistic spinning
  locking/rwsem: Enable time-based spinning on reader-owned rwsem
  locking/rwsem: Make rwsem->owner an atomic_long_t
  locking/rwsem: Enable readers spinning on writer
  locking/rwsem: Clarify usage of owner's nonspinaable bit
  locking/rwsem: Wake up almost all readers in wait queue
  locking/rwsem: More optimal RT task handling of null owner
  locking/rwsem: Always release wait_lock before waking up tasks
  locking/rwsem: Implement lock handoff to prevent lock starvation
  locking/rwsem: Make rwsem_spin_on_owner() return owner state
  locking/rwsem: Code cleanup after files merging
  locking/rwsem: Merge rwsem.h and rwsem-xadd.c into rwsem.c
  locking/rwsem: Implement a new locking scheme
  locking/rwsem: Remove rwsem_wake() wakeup optimization
  locking/rwsem: Prevent unneeded warning during locking selftest
  locking/rwsem: Optimize rwsem structure for uncontended lock acquisition
  locking/rwsem: Enhance DEBUG_RWSEMS_WARN_ON() macro
  locking/rwsem: Add debug check for __down_read*()
  locking/rwsem: Micro-optimize rwsem_try_read_lock_unqueued()
  locking/rwsem: Move rwsem internal function declarations to rwsem-xadd.h
  locking/rwsem: Move owner setting code from rwsem.c to rwsem.h
  locking/rwsem: Relocate rwsem_down_read_failed()
  locking/rwsem: Optimize down_read_trylock()
  locking/rwsem: Remove rwsem-spinlock.c & use rwsem-xadd.c for all archs
  locking/rwsem: Exit read lock slowpath if queue empty & no writer
  locking/rwsem: Simplify the is-owner-spinnable checks
  locking/rwsem: Remove arch specific rwsem files
  locking/rwsem: Make owner store task pointer of last owning reader
  locking/rwsem: Fix up_read_non_owner() warning with DEBUG_RWSEMS
  locking/rwsem: Add DEBUG_RWSEMS to look for lock/unlock mismatches
  locking/rwsem: Add down_read_killable()
  locking/atomics: Explicitly include CONFIGs for atomic64_t type
  preempt: Move PREEMPT_NEED_RESCHED definition into arch code
  arm64: lse: Include compiler_types.h and export.h for out-of-line LL/SC
  locking/atomics/arm64, arm64/bitops: Include <asm-generic/bitops/ext2-atomic-setbit.h>
  arm64: cmpxchg: Use "K" instead of "L" for ll/sc immediate constraint
  arm64: Avoid masking "old" for LSE cmpxchg() implementation
  arm64: Avoid redundant type conversions in xchg() and cmpxchg()
  arm64: cmpxchg: Include linux/compiler.h in asm/cmpxchg.h
  arm64: Implement thread_struct whitelist for hardened usercopy
  locking/atomics/arm64: Replace our atomic/lock bitop implementations with asm-generic
  locking/atomics, asm-generic/bitops/lock.h: Rewrite using atomic_fetch_*()
  arm64: cmpxchg: Include build_bug.h instead of bug.h for BUILD_BUG
  arm64: preempt: Provide our own implementation of asm/preempt.h
  defconfig: Sync for queued spinlocks
  locking/qspinlock: Remove unnecessary BUG_ON() call
  locking/qspinlock_stat: Track the no MCS node available case
  locking/qspinlock: Handle > 4 slowpath nesting levels
  locking/pvqspinlock: Extend node size when pvqspinlock is configured
  locking/spinlocks: Remove an instruction from spin and write locks
  locking/spinlocks: Clean up comment and #ifndef for {,queued_}spin_is_locked()
  locking/qspinlock: Use smp_store_release() in queued_spin_unlock()
  locking/qspinlock_stat: Count instances of nested lock slowpaths
  locking/qspinlock, x86: Provide liveness guarantee
  locking/qspinlock: Rework some comments
  locking/qspinlock: Re-order code
  locking/qspinlock: Add stat tracking for pending vs. slowpath
  locking/qspinlock: Use try_cmpxchg() instead of cmpxchg() when locking
  locking/qspinlock: Elide back-to-back RELEASE operations with smp_wmb()
  locking/qspinlock: Use smp_cond_load_relaxed() to wait for next node
  locking/qspinlock: Use atomic_cond_read_acquire()
  Revert "locking/qspinlock: Re-order code"
  Revert "locking/qspinlock, x86: Provide liveness guarantee"
  BACKPORT: arm64: locking: Replace ticket lock implementation with qspinlock
  locking/spinlocks/arm64: Remove smp_mb() from arch_spin_is_locked()
  arm64: barrier: Implement smp_cond_load_relaxed
  locking/barriers: Introduce smp_cond_load_relaxed() and atomic_cond_read_relaxed()
  locking/arch: Remove dummy arch_{read,spin,write}_lock_flags() implementations
  locking/arch: Remove dummy arch_{read,spin,write}_relax() implementations
  clk: qcom: clk-cpu-osm: Use CLK_GET_RATE_NOCACHE
  FROMLIST: cpu: fix cache warnings when resuming from deep suspend
  Revert "PM / Suspend: Print wall time at suspend entry and exit"
  PM / suspend: remove unnecessary smp2p logs
  kallsyms: reduce size a little on 64-bit
  scripts: Fixed printf format mismatch
  kallsyms: lower alignment on ARM
  Revert "techpack: fix the rest of debug_fs related errors"
  Revert "techpack: fix compilation with debugfs disabled"
  diag: Clear the local masks only during local usb disconnect
  diag: Prevent resource leakage of task structure
  dma-mapping-fast: Fix erroneous MAIR idx calculation
  iommu/arm-smmu: add support to configure IOVA range
  iommu/io-pgtable-fast: optimize statically allocated pages
  iommu: io-pgtable-fast: Separate dma and io-pagetable layers
  ANDROID: GKI: scripts: Makefile: update the lz4 command (#2)
  f2fs: add symbolic link to kobject in sysfs
  f2fs: add GC_URGENT_LOW mode in gc_urgent
  f2fs: avoid readahead race condition
  f2fs: fix return value of move_data_block()
  f2fs: add parameter op_flag in f2fs_submit_page_read()
  f2fs: split f2fs_allocate_new_segments()
  Linux 4.14.187
  Revert "tty: hvc: Fix data abort due to race in hvc_open"
  xfs: add agf freeblocks verify in xfs_agf_verify
  NFSv4 fix CLOSE not waiting for direct IO compeletion
  pNFS/flexfiles: Fix list corruption if the mirror count changes
  SUNRPC: Properly set the @subbuf parameter of xdr_buf_subsegment()
  sunrpc: fixed rollback in rpc_gssd_dummy_populate()
  Staging: rtl8723bs: prevent buffer overflow in update_sta_support_rate()
  drm/radeon: fix fb_div check in ni_init_smc_spll_table()
  tracing: Fix event trigger to accept redundant spaces
  arm64: perf: Report the PC value in REGS_ABI_32 mode
  ocfs2: fix panic on nfs server over ocfs2
  ocfs2: fix value of OCFS2_INVALID_SLOT
  ocfs2: load global_inode_alloc
  mm/slab: use memzero_explicit() in kzfree()
  btrfs: fix failure of RWF_NOWAIT write into prealloc extent beyond eof
  KVM: nVMX: Plumb L2 GPA through to PML emulation
  KVM: X86: Fix MSR range of APIC registers in X2APIC mode
  ACPI: sysfs: Fix pm_profile_attr type
  ALSA: hda: Add NVIDIA codec IDs 9a & 9d through a0 to patch table
  blktrace: break out of blktrace setup on concurrent calls
  kbuild: improve cc-option to clean up all temporary files
  s390/ptrace: fix setting syscall number
  net: alx: fix race condition in alx_remove
  ata/libata: Fix usage of page address by page_address in ata_scsi_mode_select_xlat function
  sched/core: Fix PI boosting between RT and DEADLINE tasks
  net: bcmgenet: use hardware padding of runt frames
  netfilter: ipset: fix unaligned atomic access
  usb: gadget: udc: Potential Oops in error handling code
  ARM: imx5: add missing put_device() call in imx_suspend_alloc_ocram()
  net: qed: fix excessive QM ILT lines consumption
  net: qed: fix NVMe login fails over VFs
  net: qed: fix left elements count calculation
  RDMA/mad: Fix possible memory leak in ib_mad_post_receive_mads()
  ASoC: rockchip: Fix a reference count leak.
  RDMA/cma: Protect bind_list and listen_list while finding matching cm id
  rxrpc: Fix handling of rwind from an ACK packet
  ARM: dts: NSP: Correct FA2 mailbox node
  efi/esrt: Fix reference count leak in esre_create_sysfs_entry.
  cifs/smb3: Fix data inconsistent when zero file range
  cifs/smb3: Fix data inconsistent when punch hole
  xhci: Poll for U0 after disabling USB2 LPM
  ALSA: usb-audio: Fix OOB access of mixer element list
  ALSA: usb-audio: Clean up mixer element list traverse
  ALSA: usb-audio: uac1: Invalidate ctl on interrupt
  loop: replace kill_bdev with invalidate_bdev
  cdc-acm: Add DISABLE_ECHO quirk for Microchip/SMSC chip
  xhci: Fix enumeration issue when setting max packet size for FS devices.
  xhci: Fix incorrect EP_STATE_MASK
  ALSA: usb-audio: add quirk for Denon DCD-1500RE
  usb: host: ehci-exynos: Fix error check in exynos_ehci_probe()
  usb: host: xhci-mtk: avoid runtime suspend when removing hcd
  USB: ehci: reopen solution for Synopsys HC bug
  usb: add USB_QUIRK_DELAY_INIT for Logitech C922
  usb: dwc2: Postponed gadget registration to the udc class driver
  USB: ohci-sm501: Add missed iounmap() in remove
  net: core: reduce recursion limit value
  net: Do not clear the sock TX queue in sk_set_socket()
  net: Fix the arp error in some cases
  ip6_gre: fix use-after-free in ip6gre_tunnel_lookup()
  tcp_cubic: fix spurious HYSTART_DELAY exit upon drop in min RTT
  ip_tunnel: fix use-after-free in ip_tunnel_lookup()
  tg3: driver sleeps indefinitely when EEH errors exceed eeh_max_freezes
  tcp: grow window for OOO packets only for SACK flows
  sctp: Don't advertise IPv4 addresses if ipv6only is set on the socket
  rxrpc: Fix notification call on completion of discarded calls
  rocker: fix incorrect error handling in dma_rings_init
  net: usb: ax88179_178a: fix packet alignment padding
  net: fix memleak in register_netdevice()
  net: bridge: enfore alignment for ethernet address
  mld: fix memory leak in ipv6_mc_destroy_dev()
  ibmveth: Fix max MTU limit
  apparmor: don't try to replace stale label in ptraceme check
  fix a braino in "sparc32: fix register window handling in genregs32_[gs]et()"
  net: sched: export __netdev_watchdog_up()
  block/bio-integrity: don't free 'buf' if bio_integrity_add_page() failed
  net: be more gentle about silly gso requests coming from user
  scsi: scsi_devinfo: handle non-terminated strings
  f2fs: lost matching-pair of trace in f2fs_truncate_inode_blocks
  f2fs: fix an oops in f2fs_is_compressed_page
  f2fs: make trace enter and end in pairs for unlink
  f2fs: fix to check page dirty status before writeback
  f2fs: remove the unused compr parameter
  f2fs: support to trace f2fs_fiemap()
  f2fs: support to trace f2fs_bmap()
  f2fs: fix wrong return value of f2fs_bmap_compress()
  f2fs: remove useless parameter of __insert_free_nid()
  f2fs: fix typo in comment of f2fs_do_add_link
  f2fs: fix to wait page writeback before update
  f2fs: show more debug info for per-temperature log
  f2fs: add f2fs_gc exception handle in f2fs_ioc_gc_range
  f2fs: clean up parameter of f2fs_allocate_data_block()
  f2fs: shrink node_write lock coverage
  f2fs: add prefix for exported symbols
  f2fs: add F2FS_IOC_SEC_TRIM_FILE ioctl
  f2fs: use kfree() to free variables allocated by match_strdup()
  f2fs: get the right gc victim section when section has several segments
  f2fs: fix a race condition between f2fs_write_end_io and f2fs_del_fsync_node_entry
  f2fs: remove useless truncate in f2fs_collapse_range()
  f2fs: use kfree() instead of kvfree() to free superblock data
  f2fs: avoid checkpatch error
  qcacld-3.0: Remove validate context check in LL stats get NB ops
  qcacld-3.0: Add dealloc api to free memory allocated for ll_stats
  qcacld-3.0: unregister peer hang notifier
  ARM: dts: msm: Add audio support
  msm: camera: isp: Fix race condition b/w add and apply req
  msm: camera: Remove frame id and timestamp checks for spurious SOF
  ARM: dts: msm: Include camera sensor DTSi file for QCS410
  msm: adsprpc: Fix array index underflow problem
  qcacld-3.0: Cleanup rrm measurement data based on the index
  Release 5.2.03.27K
  qcacld-3.0: Fix mem leak while deleting pmksa
  qcacld-3.0: Cleanup rrm measurement data based on the index
  data-kernel: EMAC: Fix for stall in bi-dir traffic in sw path
  Release 5.2.03.27J
  qcacld-3.0: Send proper Link Rates to user space
  Release 5.2.03.27I
  qcacld-3.0: Update pktcapture support
  drivers: rmnet_shs: Reset hstat node correctly
  Release 5.2.03.27H
  qcacld-3.0: Add logs for sar safety and sar unsolicited timers
  Release 5.2.03.27G
  qcacld-3.0: Add support to optimize latency using pm_qos
  Release 5.2.03.27F
  qcacld-3.0: Fix intra band roaming issue for dual sta
  Release 5.2.03.27E
  qcacld-3.0: Add CPU mask support to pm_qos calls
  Release 5.2.03.27D
  qcacld-3.0: Update disconnect rssi on every disconnect rssi event
  data-kernel: EMAC: Fix the overflow for sub second increment
  data-kernel: EMAC: copy from user fail handle
  rmnet_shs: Remove local_bh_disable in oom handler
  fw-api: CL 10528997 - update fw common interface files
  fw-api: CL 10521320 - update fw common interface files
  fw-api: CL 10507628 - update fw common interface files
  fw-api: CL 10479358 - update fw common interface files
  fw-api: CL 10477480 - update fw common interface files
  fw-api: CL 10474092 - update fw common interface files
  fw-api: CL 10466792 - update fw common interface files
  fw-api: CL 10462927 - update fw common interface files
  fw-api: CL 10450925 - update fw common interface files
  qcacmn: Increase HTC control msg timeout to 6 seconds
  Release 5.2.03.27C
  qcacld-3.0: Fix LL Timeout over Debugfs
  qcacmn: Introduce scan api to get scan entry ageout time
  Release 5.2.03.27B
  qcacld-3.0: Ageout connected BSS in beacon table mode
  Release 5.2.03.27A
  qcacld-3.0: Add support for WPA3 SuiteB roaming
  qcacld-3.0: Update beacon rpt error code
  qcacmn: Add support for WPA3 SuiteB roaming
  Release 5.2.03.27
  qcacld-3.0: Send disconnect reason code as 0 for beacon miss
  Release 5.2.03.27
  qcacld-3.0: Abort only host scans on roam start
  qcacld-3.0: Handle tx_power_level under radio stat
  Release 5.2.03.26Z
  qcacld-3.0: Fix stack corruption in beacon request table mode
  audio-kernel: Fix compile with CONFIG_DEBUG_FS removed
  qcacld-3.0: Add null check for frequency list in rrm scan done callback
  Release 5.2.03.26Y
  qcacld-3.0: Add a log to print nan separate vdev capa of host and fw
  Release 5.2.03.26X
  qcacmn: Abort only host scans on roam start notification
  qcacld-3.0: Consider Only dot11mode profiles if configured
  Release 5.2.03.26W
  qcacld-3.0: Use MAX_PEERS instead of IBSS define in conn_info
  Release 5.2.03.26V
  qcacld-3.0: fix reassociation issue
  Release 5.2.03.26U
  qcacld-3.0: Don't force RSSI trigger in controlled roaming mode
  fw-api: CL 10404614 - update fw common interface files
  fw-api: CL 10345835 - update fw common interface files
  qcacmn: Update disconnect rssi on every disconnect rssi event
  defconfig: sm6150: Enable PM_AUTOSLEEP for QCS610
  qcacld-3.0: Add vdev start check before sending arp_ns stats cmd to fw
  drivers: rmnet: shs: Unrevert Deadlock fix
  qcacld-3.0: Don't indicate P2P client deletion event
  drivers: shs: Check bounds of stat array
  qcacld-3.0: Send deauth to AP when SAE auth failed
  drivers: shs: protect mmap file operations using shs ep lock
  qcacld-3.0: Protect pktlog under mutex to avoid possible race conditions
  qcacld-3.0: Set RSN capability flag for SAP peers
  qcacld-3.0: Populate correct RSSI value for Monitor packets
  qcacld-3.0: Report correct max NSS in case of DBS
  drivers: rmnet_perf: Take lock during DL marker handling
  qcacld-3.0: Add driver command to request ANI level
  drivers: shs: limit size copied to cached flows array to avoid globar var corruption
  drivers: shs: fix deadlock caused between generic netlink and rtnl locks
  drivers: shs: fix null check before freeing slow start list
  drivers: shs: Change allocation context of shs allocations within spin_lock
  drivers: rmnet_perf: Check for over pulling
  qcacld-3.0: Populate and send correct max rate to the userspace
  drivers: rmnet_shs: Remove rmnet ep access
  qcacld-3.0: Extend force 1x1 ini

Signed-off-by: UtsavBalar1231 <utsavbalar1231@gmail.com>
2020-07-05 16:54:45 +05:30
UtsavBalar1231
de746b0975 Merge remote-tracking branch 'origin/q' into auto-kernel
* origin/q:
  diag: Clear the local masks only during local usb disconnect
  diag: Prevent resource leakage of task structure
  dma-mapping-fast: Fix erroneous MAIR idx calculation
  iommu/arm-smmu: add support to configure IOVA range
  iommu/io-pgtable-fast: optimize statically allocated pages
  iommu: io-pgtable-fast: Separate dma and io-pagetable layers
  ANDROID: GKI: scripts: Makefile: update the lz4 command (#2)
  f2fs: add symbolic link to kobject in sysfs
  f2fs: add GC_URGENT_LOW mode in gc_urgent
  f2fs: avoid readahead race condition
  f2fs: fix return value of move_data_block()
  f2fs: add parameter op_flag in f2fs_submit_page_read()
  f2fs: split f2fs_allocate_new_segments()
  Linux 4.14.187
  Revert "tty: hvc: Fix data abort due to race in hvc_open"
  xfs: add agf freeblocks verify in xfs_agf_verify
  NFSv4 fix CLOSE not waiting for direct IO compeletion
  pNFS/flexfiles: Fix list corruption if the mirror count changes
  SUNRPC: Properly set the @subbuf parameter of xdr_buf_subsegment()
  sunrpc: fixed rollback in rpc_gssd_dummy_populate()
  Staging: rtl8723bs: prevent buffer overflow in update_sta_support_rate()
  drm/radeon: fix fb_div check in ni_init_smc_spll_table()
  tracing: Fix event trigger to accept redundant spaces
  arm64: perf: Report the PC value in REGS_ABI_32 mode
  ocfs2: fix panic on nfs server over ocfs2
  ocfs2: fix value of OCFS2_INVALID_SLOT
  ocfs2: load global_inode_alloc
  mm/slab: use memzero_explicit() in kzfree()
  btrfs: fix failure of RWF_NOWAIT write into prealloc extent beyond eof
  KVM: nVMX: Plumb L2 GPA through to PML emulation
  KVM: X86: Fix MSR range of APIC registers in X2APIC mode
  ACPI: sysfs: Fix pm_profile_attr type
  ALSA: hda: Add NVIDIA codec IDs 9a & 9d through a0 to patch table
  blktrace: break out of blktrace setup on concurrent calls
  kbuild: improve cc-option to clean up all temporary files
  s390/ptrace: fix setting syscall number
  net: alx: fix race condition in alx_remove
  ata/libata: Fix usage of page address by page_address in ata_scsi_mode_select_xlat function
  sched/core: Fix PI boosting between RT and DEADLINE tasks
  net: bcmgenet: use hardware padding of runt frames
  netfilter: ipset: fix unaligned atomic access
  usb: gadget: udc: Potential Oops in error handling code
  ARM: imx5: add missing put_device() call in imx_suspend_alloc_ocram()
  net: qed: fix excessive QM ILT lines consumption
  net: qed: fix NVMe login fails over VFs
  net: qed: fix left elements count calculation
  RDMA/mad: Fix possible memory leak in ib_mad_post_receive_mads()
  ASoC: rockchip: Fix a reference count leak.
  RDMA/cma: Protect bind_list and listen_list while finding matching cm id
  rxrpc: Fix handling of rwind from an ACK packet
  ARM: dts: NSP: Correct FA2 mailbox node
  efi/esrt: Fix reference count leak in esre_create_sysfs_entry.
  cifs/smb3: Fix data inconsistent when zero file range
  cifs/smb3: Fix data inconsistent when punch hole
  xhci: Poll for U0 after disabling USB2 LPM
  ALSA: usb-audio: Fix OOB access of mixer element list
  ALSA: usb-audio: Clean up mixer element list traverse
  ALSA: usb-audio: uac1: Invalidate ctl on interrupt
  loop: replace kill_bdev with invalidate_bdev
  cdc-acm: Add DISABLE_ECHO quirk for Microchip/SMSC chip
  xhci: Fix enumeration issue when setting max packet size for FS devices.
  xhci: Fix incorrect EP_STATE_MASK
  ALSA: usb-audio: add quirk for Denon DCD-1500RE
  usb: host: ehci-exynos: Fix error check in exynos_ehci_probe()
  usb: host: xhci-mtk: avoid runtime suspend when removing hcd
  USB: ehci: reopen solution for Synopsys HC bug
  usb: add USB_QUIRK_DELAY_INIT for Logitech C922
  usb: dwc2: Postponed gadget registration to the udc class driver
  USB: ohci-sm501: Add missed iounmap() in remove
  net: core: reduce recursion limit value
  net: Do not clear the sock TX queue in sk_set_socket()
  net: Fix the arp error in some cases
  ip6_gre: fix use-after-free in ip6gre_tunnel_lookup()
  tcp_cubic: fix spurious HYSTART_DELAY exit upon drop in min RTT
  ip_tunnel: fix use-after-free in ip_tunnel_lookup()
  tg3: driver sleeps indefinitely when EEH errors exceed eeh_max_freezes
  tcp: grow window for OOO packets only for SACK flows
  sctp: Don't advertise IPv4 addresses if ipv6only is set on the socket
  rxrpc: Fix notification call on completion of discarded calls
  rocker: fix incorrect error handling in dma_rings_init
  net: usb: ax88179_178a: fix packet alignment padding
  net: fix memleak in register_netdevice()
  net: bridge: enfore alignment for ethernet address
  mld: fix memory leak in ipv6_mc_destroy_dev()
  ibmveth: Fix max MTU limit
  apparmor: don't try to replace stale label in ptraceme check
  fix a braino in "sparc32: fix register window handling in genregs32_[gs]et()"
  net: sched: export __netdev_watchdog_up()
  block/bio-integrity: don't free 'buf' if bio_integrity_add_page() failed
  net: be more gentle about silly gso requests coming from user
  scsi: scsi_devinfo: handle non-terminated strings
  f2fs: lost matching-pair of trace in f2fs_truncate_inode_blocks
  f2fs: fix an oops in f2fs_is_compressed_page
  f2fs: make trace enter and end in pairs for unlink
  f2fs: fix to check page dirty status before writeback
  f2fs: remove the unused compr parameter
  f2fs: support to trace f2fs_fiemap()
  f2fs: support to trace f2fs_bmap()
  f2fs: fix wrong return value of f2fs_bmap_compress()
  f2fs: remove useless parameter of __insert_free_nid()
  f2fs: fix typo in comment of f2fs_do_add_link
  f2fs: fix to wait page writeback before update
  f2fs: show more debug info for per-temperature log
  f2fs: add f2fs_gc exception handle in f2fs_ioc_gc_range
  f2fs: clean up parameter of f2fs_allocate_data_block()
  f2fs: shrink node_write lock coverage
  f2fs: add prefix for exported symbols
  f2fs: add F2FS_IOC_SEC_TRIM_FILE ioctl
  f2fs: use kfree() to free variables allocated by match_strdup()
  f2fs: get the right gc victim section when section has several segments
  f2fs: fix a race condition between f2fs_write_end_io and f2fs_del_fsync_node_entry
  f2fs: remove useless truncate in f2fs_collapse_range()
  f2fs: use kfree() instead of kvfree() to free superblock data
  f2fs: avoid checkpatch error
  qcacld-3.0: Remove validate context check in LL stats get NB ops
  qcacld-3.0: Add dealloc api to free memory allocated for ll_stats
  qcacld-3.0: unregister peer hang notifier
  ARM: dts: msm: Add audio support
  msm: camera: isp: Fix race condition b/w add and apply req
  msm: camera: Remove frame id and timestamp checks for spurious SOF
  ARM: dts: msm: Include camera sensor DTSi file for QCS410
  msm: adsprpc: Fix array index underflow problem
  qcacld-3.0: Cleanup rrm measurement data based on the index
  Release 5.2.03.27K
  qcacld-3.0: Fix mem leak while deleting pmksa
  qcacld-3.0: Cleanup rrm measurement data based on the index
  data-kernel: EMAC: Fix for stall in bi-dir traffic in sw path
  Release 5.2.03.27J
  qcacld-3.0: Send proper Link Rates to user space
  Release 5.2.03.27I
  qcacld-3.0: Update pktcapture support
  drivers: rmnet_shs: Reset hstat node correctly
  Release 5.2.03.27H
  qcacld-3.0: Add logs for sar safety and sar unsolicited timers
  Release 5.2.03.27G
  qcacld-3.0: Add support to optimize latency using pm_qos
  Release 5.2.03.27F
  qcacld-3.0: Fix intra band roaming issue for dual sta
  Release 5.2.03.27E
  qcacld-3.0: Add CPU mask support to pm_qos calls
  Release 5.2.03.27D
  qcacld-3.0: Update disconnect rssi on every disconnect rssi event
  data-kernel: EMAC: Fix the overflow for sub second increment
  data-kernel: EMAC: copy from user fail handle
  rmnet_shs: Remove local_bh_disable in oom handler
  fw-api: CL 10528997 - update fw common interface files
  fw-api: CL 10521320 - update fw common interface files
  fw-api: CL 10507628 - update fw common interface files
  fw-api: CL 10479358 - update fw common interface files
  fw-api: CL 10477480 - update fw common interface files
  fw-api: CL 10474092 - update fw common interface files
  fw-api: CL 10466792 - update fw common interface files
  fw-api: CL 10462927 - update fw common interface files
  fw-api: CL 10450925 - update fw common interface files
  qcacmn: Increase HTC control msg timeout to 6 seconds
  Release 5.2.03.27C
  qcacld-3.0: Fix LL Timeout over Debugfs
  qcacmn: Introduce scan api to get scan entry ageout time
  Release 5.2.03.27B
  qcacld-3.0: Ageout connected BSS in beacon table mode
  Release 5.2.03.27A
  qcacld-3.0: Add support for WPA3 SuiteB roaming
  qcacld-3.0: Update beacon rpt error code
  qcacmn: Add support for WPA3 SuiteB roaming
  Release 5.2.03.27
  qcacld-3.0: Send disconnect reason code as 0 for beacon miss
  Release 5.2.03.27
  qcacld-3.0: Abort only host scans on roam start
  qcacld-3.0: Handle tx_power_level under radio stat
  Release 5.2.03.26Z
  qcacld-3.0: Fix stack corruption in beacon request table mode
  audio-kernel: Fix compile with CONFIG_DEBUG_FS removed
  qcacld-3.0: Add null check for frequency list in rrm scan done callback
  Release 5.2.03.26Y
  qcacld-3.0: Add a log to print nan separate vdev capa of host and fw
  Release 5.2.03.26X
  qcacmn: Abort only host scans on roam start notification
  qcacld-3.0: Consider Only dot11mode profiles if configured
  Release 5.2.03.26W
  qcacld-3.0: Use MAX_PEERS instead of IBSS define in conn_info
  Release 5.2.03.26V
  qcacld-3.0: fix reassociation issue
  Release 5.2.03.26U
  qcacld-3.0: Don't force RSSI trigger in controlled roaming mode
  fw-api: CL 10404614 - update fw common interface files
  fw-api: CL 10345835 - update fw common interface files
  qcacmn: Update disconnect rssi on every disconnect rssi event
  defconfig: sm6150: Enable PM_AUTOSLEEP for QCS610
  qcacld-3.0: Add vdev start check before sending arp_ns stats cmd to fw
  drivers: rmnet: shs: Unrevert Deadlock fix
  qcacld-3.0: Don't indicate P2P client deletion event
  drivers: shs: Check bounds of stat array
  qcacld-3.0: Send deauth to AP when SAE auth failed
  drivers: shs: protect mmap file operations using shs ep lock
  qcacld-3.0: Protect pktlog under mutex to avoid possible race conditions
  qcacld-3.0: Set RSN capability flag for SAP peers
  qcacld-3.0: Populate correct RSSI value for Monitor packets
  qcacld-3.0: Report correct max NSS in case of DBS
  drivers: rmnet_perf: Take lock during DL marker handling
  qcacld-3.0: Add driver command to request ANI level
  drivers: shs: limit size copied to cached flows array to avoid globar var corruption
  drivers: shs: fix deadlock caused between generic netlink and rtnl locks
  drivers: shs: fix null check before freeing slow start list
  drivers: shs: Change allocation context of shs allocations within spin_lock
  drivers: rmnet_perf: Check for over pulling
  qcacld-3.0: Populate and send correct max rate to the userspace
  drivers: rmnet_shs: Remove rmnet ep access
  qcacld-3.0: Extend force 1x1 ini

Signed-off-by: UtsavBalar1231 <utsavbalar1231@gmail.com>
2020-07-05 08:48:16 +05:30
UtsavBalar1231
00b4d24376 Revert "techpack: fix the rest of debug_fs related errors"
This reverts commit 43d6834364.

Signed-off-by: UtsavBalar1231 <utsavbalar1231@gmail.com>
2020-07-05 08:48:07 +05:30
UtsavBalar1231
ebcd255df1 Revert "techpack: fix compilation with debugfs disabled"
This reverts commit c181d53d51.

Signed-off-by: UtsavBalar1231 <utsavbalar1231@gmail.com>
2020-07-05 08:48:06 +05:30
UtsavBalar1231
8ed118c4a9 Merge tag 'da74090d47d8a685175d6056ce2c74f8aac5668a' into q
"LA.UM.8.13.r1-09000-SAIPAN.0"

* tag 'da74090d47d8a685175d6056ce2c74f8aac5668a':
  data-kernel: EMAC: Fix for stall in bi-dir traffic in sw path
  drivers: rmnet: shs: Unrevert Deadlock fix
  drivers: shs: Check bounds of stat array
  drivers: shs: protect mmap file operations using shs ep lock
  drivers: rmnet_perf: Take lock during DL marker handling
  drivers: shs: limit size copied to cached flows array to avoid globar var corruption
  drivers: shs: fix deadlock caused between generic netlink and rtnl locks
  drivers: shs: fix null check before freeing slow start list
  drivers: shs: Change allocation context of shs allocations within spin_lock
  drivers: rmnet_perf: Check for over pulling
  drivers: rmnet_shs: Remove rmnet ep access

Signed-off-by: UtsavBalar1231 <utsavbalar1231@gmail.com>
2020-07-05 08:44:29 +05:30
UtsavBalar1231
e61e34d3b4 Merge tag '783f04481fa8133cf88cab9d0465a37acb68777a' into q
"LA.UM.8.1.r1-15400-sm8150.0"

* tag '783f04481fa8133cf88cab9d0465a37acb68777a':
  drivers: rmnet_shs: Reset hstat node correctly
  data-kernel: EMAC: Fix the overflow for sub second increment
  data-kernel: EMAC: copy from user fail handle
  rmnet_shs: Remove local_bh_disable in oom handler

Signed-off-by: UtsavBalar1231 <utsavbalar1231@gmail.com>
2020-07-05 08:43:15 +05:30
UtsavBalar1231
2bf6527257 Merge tag 'e511584a6783d11b6d9f494a6a01528e48db09d1' into q
"LA.UM.8.1.r1-15400-sm8150.0"

* tag 'e511584a6783d11b6d9f494a6a01528e48db09d1':
  audio-kernel: Fix compile with CONFIG_DEBUG_FS removed

Signed-off-by: UtsavBalar1231 <utsavbalar1231@gmail.com>
2020-07-05 08:42:54 +05:30
UtsavBalar1231
022ba26f60 Merge remote-tracking branch 'origin/auto-kernel' into auto-kernel-oss
* origin/auto-kernel:
  build-clang: enable LLVM POLLY optimizations
  kbuild: Add support for LLVM's Polly optimizer
  Revert "diag_dci: apply xiaomi changes"
  FIXUP: arm64: break while loop if task had been rescheduled
  Revert "ARM64: configs: raphael: Enable per-task delay accounting"
  Revert "ARM64: configs: raphael: disable msm performance driver"
  ARM64: configs: raphael: Disable kernel lowmemorykiller driver
  techpack: ASoC: tfa98xx: Use system_power_efficient_wq instead of custom workqueue
  sched/tune: fix CAF's fuckup that didn't allow negative boosts
  sched/core: Optimize sched_feat() for !CONFIG_SCHED_DEBUG builds
  cpufreq: Only block min freq setting for booster processes
  exec: Add power@2.0 and IOP to tampering blacklist
  ARM64: configs: raphael: configure schedutil up/down rate limits
  cpufreq: schedutil: Expose default configuration options and apply init protection
  ARM64: configs: raphael: configure cpusets assistant
  cpuset: Move cpuset override values to Kconfig
  cpuset: Refactor cpuset assist code
  kernel: introduce CPUSets Assist
  exec: Extend task_is_booster check to cover OxygenOS userspace HALs
  exec: Add node tampering blacklist function
  msm: sde: simplify sde_connector_update_hbm
  Revert "drm/msm/dsi-staging: handle panel init failure properly"
  drm: msm: sde: fix a backlight race condition
  Revert "drm: msm: implement FOD dimlayer bl block"
  Revert "ANDROID: power: wakeup_reason: wake reason enhancements"
  Revert "ANDROID: fix wakeup reason findings"
  Revert "irq: fix wakeup logging under new s2idle flow"
  Revert "power: suspend: Add suspend timeout handler"
  Revert "power: suspend: silence suspend monitor"
  mm: Allow only __GFP_CMA allocations from Movable zone
  ARM64: configs: raphael: Regenerate
  Linux 4.14.186
  KVM: x86/mmu: Set mmio_value to '0' if reserved #PF can't be generated
  kvm: x86: Fix reserved bits related calculation errors caused by MKTME
  kvm: x86: Move kvm_set_mmio_spte_mask() from x86.c to mmu.c
  md: add feature flag MD_FEATURE_RAID0_LAYOUT
  net: core: device_rename: Use rwsem instead of a seqcount
  sched/rt, net: Use CONFIG_PREEMPTION.patch
  kretprobe: Prevent triggering kretprobe from within kprobe_flush_task
  e1000e: Do not wake up the system via WOL if device wakeup is disabled
  kprobes: Fix to protect kick_kprobe_optimizer() by kprobe_mutex
  crypto: algboss - don't wait during notifier callback
  crypto: algif_skcipher - Cap recv SG list at ctx->used
  mtd: rawnand: tmio: Fix the probe error path
  mtd: rawnand: mtk: Fix the probe error path
  mtd: rawnand: plat_nand: Fix the probe error path
  mtd: rawnand: socrates: Fix the probe error path
  mtd: rawnand: oxnas: Fix the probe error path
  mtd: rawnand: oxnas: Add of_node_put()
  mtd: rawnand: orion: Fix the probe error path
  mtd: rawnand: xway: Fix the probe error path
  mtd: rawnand: sharpsl: Fix the probe error path
  mtd: rawnand: diskonchip: Fix the probe error path
  mtd: rawnand: Pass a nand_chip object to nand_release()
  block: nr_sects_write(): Disable preemption on seqcount write
  x86/boot/compressed: Relax sed symbol type regex for LLVM ld.lld
  drm/dp_mst: Increase ACT retry timeout to 3s
  ext4: fix partial cluster initialization when splitting extent
  selinux: fix double free
  drm/qxl: Use correct notify port address when creating cursor ring
  drm/dp_mst: Reformat drm_dp_check_act_status() a bit
  drm: encoder_slave: fix refcouting error for modules
  libata: Use per port sync for detach
  arm64: hw_breakpoint: Don't invoke overflow handler on uaccess watchpoints
  block: Fix use-after-free in blkdev_get()
  bcache: fix potential deadlock problem in btree_gc_coalesce
  perf report: Fix NULL pointer dereference in hists__fprintf_nr_sample_events()
  usb/ehci-platform: Set PM runtime as active on resume
  usb/xhci-plat: Set PM runtime as active on resume
  scsi: acornscsi: Fix an error handling path in acornscsi_probe()
  drm/sun4i: hdmi ddc clk: Fix size of m divider
  selftests/net: in timestamping, strncpy needs to preserve null byte
  gfs2: fix use-after-free on transaction ail lists
  blktrace: fix endianness for blk_log_remap()
  blktrace: fix endianness in get_pdu_int()
  blktrace: use errno instead of bi_status
  selftests/vm/pkeys: fix alloc_random_pkey() to make it really random
  elfnote: mark all .note sections SHF_ALLOC
  include/linux/bitops.h: avoid clang shift-count-overflow warnings
  lib/zlib: remove outdated and incorrect pre-increment optimization
  geneve: change from tx_error to tx_dropped on missing metadata
  crypto: omap-sham - add proper load balancing support for multicore
  pinctrl: freescale: imx: Fix an error handling path in 'imx_pinctrl_probe()'
  pinctrl: imxl: Fix an error handling path in 'imx1_pinctrl_core_probe()'
  scsi: ufs: Don't update urgent bkops level when toggling auto bkops
  scsi: iscsi: Fix reference count leak in iscsi_boot_create_kobj
  gfs2: Allow lock_nolock mount to specify jid=X
  openrisc: Fix issue with argument clobbering for clone/fork
  vfio/mdev: Fix reference count leak in add_mdev_supported_type
  ASoC: fsl_asrc_dma: Fix dma_chan leak when config DMA channel failed
  extcon: adc-jack: Fix an error handling path in 'adc_jack_probe()'
  powerpc/4xx: Don't unmap NULL mbase
  NFSv4.1 fix rpc_call_done assignment for BIND_CONN_TO_SESSION
  net: sunrpc: Fix off-by-one issues in 'rpc_ntop6'
  scsi: ufs-qcom: Fix scheduling while atomic issue
  clk: bcm2835: Fix return type of bcm2835_register_gate
  x86/apic: Make TSC deadline timer detection message visible
  usb: gadget: Fix issue with config_ep_by_speed function
  usb: gadget: fix potential double-free in m66592_probe.
  usb: gadget: lpc32xx_udc: don't dereference ep pointer before null check
  USB: gadget: udc: s3c2410_udc: Remove pointless NULL check in s3c2410_udc_nuke
  usb: dwc2: gadget: move gadget resume after the core is in L0 state
  watchdog: da9062: No need to ping manually before setting timeout
  IB/cma: Fix ports memory leak in cma_configfs
  PCI/PTM: Inherit Switch Downstream Port PTM settings from Upstream Port
  dm zoned: return NULL if dmz_get_zone_for_reclaim() fails to find a zone
  powerpc/64s/pgtable: fix an undefined behaviour
  clk: samsung: exynos5433: Add IGNORE_UNUSED flag to sclk_i2s1
  tty: n_gsm: Fix bogus i++ in gsm_data_kick
  USB: host: ehci-mxc: Add error handling in ehci_mxc_drv_probe()
  drm/msm/mdp5: Fix mdp5_init error path for failed mdp5_kms allocation
  usb/ohci-platform: Fix a warning when hibernating
  vfio-pci: Mask cap zero
  powerpc/ps3: Fix kexec shutdown hang
  powerpc/pseries/ras: Fix FWNMI_VALID off by one
  tty: n_gsm: Fix waking up upper tty layer when room available
  tty: n_gsm: Fix SOF skipping
  PCI: Fix pci_register_host_bridge() device_register() error handling
  clk: ti: composite: fix memory leak
  dlm: remove BUG() before panic()
  scsi: mpt3sas: Fix double free warnings
  power: supply: smb347-charger: IRQSTAT_D is volatile
  power: supply: lp8788: Fix an error handling path in 'lp8788_charger_probe()'
  scsi: qla2xxx: Fix warning after FC target reset
  PCI/ASPM: Allow ASPM on links to PCIe-to-PCI/PCI-X Bridges
  PCI: rcar: Fix incorrect programming of OB windows
  drivers: base: Fix NULL pointer exception in __platform_driver_probe() if a driver developer is foolish
  serial: amba-pl011: Make sure we initialize the port.lock spinlock
  i2c: pxa: fix i2c_pxa_scream_blue_murder() debug output
  staging: sm750fb: add missing case while setting FB_VISUAL
  thermal/drivers/ti-soc-thermal: Avoid dereferencing ERR_PTR
  tty: hvc: Fix data abort due to race in hvc_open
  s390/qdio: put thinint indicator after early error
  ALSA: usb-audio: Improve frames size computation
  scsi: qedi: Do not flush offload work if ARP not resolved
  staging: greybus: fix a missing-check bug in gb_lights_light_config()
  scsi: ibmvscsi: Don't send host info in adapter info MAD after LPM
  scsi: sr: Fix sr_probe() missing deallocate of device minor
  apparmor: fix introspection of of task mode for unconfined tasks
  mksysmap: Fix the mismatch of '.L' symbols in System.map
  NTB: Fix the default port and peer numbers for legacy drivers
  yam: fix possible memory leak in yam_init_driver
  powerpc/crashkernel: Take "mem=" option into account
  nfsd: Fix svc_xprt refcnt leak when setup callback client failed
  powerpc/perf/hv-24x7: Fix inconsistent output values incase multiple hv-24x7 events run
  clk: clk-flexgen: fix clock-critical handling
  scsi: lpfc: Fix lpfc_nodelist leak when processing unsolicited event
  mfd: wm8994: Fix driver operation if loaded as modules
  m68k/PCI: Fix a memory leak in an error handling path
  vfio/pci: fix memory leaks in alloc_perm_bits()
  ps3disk: use the default segment boundary
  PCI: aardvark: Don't blindly enable ASPM L0s and don't write to read-only register
  dm mpath: switch paths in dm_blk_ioctl() code path
  usblp: poison URBs upon disconnect
  i2c: pxa: clear all master action bits in i2c_pxa_stop_message()
  f2fs: report delalloc reserve as non-free in statfs for project quota
  iio: bmp280: fix compensation of humidity
  scsi: qla2xxx: Fix issue with adapter's stopping state
  ALSA: isa/wavefront: prevent out of bounds write in ioctl
  scsi: qedi: Check for buffer overflow in qedi_set_path()
  ARM: integrator: Add some Kconfig selections
  ASoC: davinci-mcasp: Fix dma_chan refcnt leak when getting dma type
  backlight: lp855x: Ensure regulators are disabled on probe failure
  clk: qcom: msm8916: Fix the address location of pll->config_reg
  remoteproc: Fix IDR initialisation in rproc_alloc()
  iio: pressure: bmp280: Tolerate IRQ before registering
  i2c: piix4: Detect secondary SMBus controller on AMD AM4 chipsets
  clk: sunxi: Fix incorrect usage of round_down()
  power: supply: bq24257_charger: Replace depends on REGMAP_I2C with select
  drm/i915: Whitelist context-local timestamp in the gen9 cmdparser
  s390: fix syscall_get_error for compat processes
  tty: Import correct header for sched priority
  tty: Migrate to kthread_*_work function names
  msm_serial_hs: actually check if msm_serial_hs_tx_work failed to init
  msm_serial_hs: make the Bluetooth tty thread RT
  Make msm_serial_hs RT to improve bluetooth performance
  tty:  check before stopping kthread
  tty: add tty_port_set_policy function
  tty: move tty_port workqueue to be a kthread
  msm_geni_serial: fix console rx polling for KDB/KGDB
  serial: msm_geni_serial: remove uport->sysrq reset from tx path
  serial: msm_geni_serial: fix sysrq support
  serial: msm_geni_serial: add serial break support
  serial: msm_geni_serial: fix UART rx polling
  serial: msm_geni_serial: fix locking around tty_flip_buffer_push()
  msm-geni-serial: Correct the unsupported baudrate error handling
  msm_geni_serial: skip flushing tx upon shutdown
  msm_geni_serial: guard PM related logs with #ifdef DEBUG_PM
  msm_geni_serial: reduce wakelock timeout from ISR to 100ms
  msm_geni_serial: ensure proper ioctl_count range
  msm_geni_serial: log timeouts in wait_for_transfers_inflight()
  msm_geni_serial: log wakelocks from ISR
  msm_geni_serial: log accesses to clock voting
  msm_geni_serial: make ioctl always exclusive
  msm_geni_serial: remove IPC_LOG entirely
  msm_geni_serial: featurize console
  drivers: checkout geni serial drivers to LE.UM.4.3.3.r1-00400-SDX55
  cpuidle: don't disable cpuidle when entering suspend
  kernfs: Allocating memory for kernfs_iattrs with kmem_cache.
  ANDROID: ext4: Optimize match for casefolded encrypted dirs
  ANDROID: ext4: Handle casefolding with encryption
  ANDROID: cuttlefish_defconfig: x86: Enable KERNEL_LZ4
  ANDROID: GKI: scripts: Makefile: update the lz4 command
  FROMLIST: f2fs: fix use-after-free when accessing bio->bi_crypt_context
  writeback: Drop I_DIRTY_TIME_EXPIRE
  writeback: Fix sync livelock due to b_dirty_time processing
  writeback: Avoid skipping inode writeback
  writeback: Protect inode->i_io_list with inode->i_lock
  Revert "writeback: Avoid skipping inode writeback"
  ANDROID: Enable LZ4_RAMDISK
  fscrypt: remove stale definition
  fs-verity: remove unnecessary extern keywords
  fs-verity: fix all kerneldoc warnings
  fscrypt: add support for IV_INO_LBLK_32 policies
  fscrypt: make test_dummy_encryption use v2 by default
  fscrypt: support test_dummy_encryption=v2
  fscrypt: add fscrypt_add_test_dummy_key()
  linux/parser.h: add include guards
  fscrypt: remove unnecessary extern keywords
  fscrypt: name all function parameters
  fscrypt: fix all kerneldoc warnings

Signed-off-by: UtsavBalar1231 <utsavbalar1231@gmail.com>
2020-06-27 12:33:05 +05:30
UtsavBalar1231
f9b33d01eb techpack: ASoC: tfa98xx: Use system_power_efficient_wq instead of custom workqueue
The delayed work used by the nxp tfa driver doesn't have any special requirements that would justify using a custom
workqueue, just use the generic system_power_efficient_wq instead.

* also using multithreaded wq results in potential deadlocks

Signed-off-by: UtsavBalar1231 <utsavbalar1231@gmail.com>
2020-06-26 16:47:47 +05:30
UtsavBalar1231
c67085fd2b sm8150: fix gcc-10.1.0 warnings
Signed-off-by: UtsavBalar1231 <utsavbalar1231@gmail.com>
2020-06-23 10:48:12 +05:30
UtsavBalar1231
b03d1abdfd Merge remote-tracking branch 'origin/auto-kernel' into auto-kernel-oss
* origin/auto-kernel:
  iMMENSITY: add gcc build script
  README: sync with kernel
  ARM64: configs: raphael: disable msm performance driver
  ANDROID: raphael_defconfig: Disable CONFIG_RT_GROUP_SCHED
  ARM64: configs: raphael: remove unused governors and CONFIG_CPU_BOOST
  Makefile: Optimize CPU setup with GCC
  Kbuild: allowing forcing ccache with shell script
  sm8150: fix gcc-10.1.0 warnings
  kbuild: Increase automatic inline instruction limit to 1000 for gcc-10
  Revert "ipa3:msm: Added debugfs support for drop packet stats"
  Revert "Revert "sched: turn off the TTWU_QUEUE feature""
  Revert "sched/core: Ensure cpu number is valid"
  sched/energy: Check out to Android 4.14 common kernel
  ARM: dts: sm8150: Correct off-by-one error for big CPU capacity
  ARM: dts: sm8150: Correct off-by-one error for little CPU capacity
  ARM: dts: sm8150: Re-calculate max CPU capacities

Signed-off-by: UtsavBalar1231 <utsavbalar1231@gmail.com>
2020-06-22 17:55:37 +05:30
UtsavBalar1231
3f6458d062 sm8150: fix gcc-10.1.0 warnings
Signed-off-by: UtsavBalar1231 <utsavbalar1231@gmail.com>
2020-06-22 17:42:10 +05:30
UtsavBalar1231
47ec5a7f99 Merge remote-tracking branch 'origin/auto-kernel' into auto-kernel-oss
* origin/auto-kernel:
  iommu: revert changes from LE.UM.3.3.2-08200-SDX55
  techpack: audio: dsp: properly guard the function
  drm/msm/sde: add sysfs node for trigger wake up early
  IPA: Remove IPA page allocation failure warning
  ARM64: dts: raphael: disable wdog snarl IRQ
  power: smb5: control wdog snarl irq enabled from device tree
  smb5-lib: Create macro to communicate suspend ICL threshold
  scsi: ufs: disable clocks all the time when autohibern8 supports
  kernel: freezer: don't freeze on exit if killable
  kernel: freezer: sync TIF_SIGPENDING clearing with signals
  cgroup: Implement Optionally killable freezer
  thermal: Don't register for non-existing thermal zone
  ARM64: dts: disable second gpu thermal zone
  block,cfq: Set cfq_back_penalty to 1
  block,cfq: Set cfq_quantum to 16
  cpuidle: enter_state: Don't needlessly calculate diff time
  BACKPORT: disp: msm: sde: add pm QoS vote on CPU receiving display IRQ
  firmware: update goodix_gt9886_cfg_f11 touch firmware
  ARM64: configs: raphael: sync with previous changes
  qcacld: do not manually re-enable -Wmaybe-uninitialized
  ext4: Allocate 128-byte allocation context on the stack
  xattr: Avoid dynamically allocating memory in getxattr for small xattrs
  kernfs: use buffer from the stack space
  ARM64: configs: raphael: Disable stack frame size warning
  net/ipv4: fib_trie: Avoid cryptic ternary expressions
  ion: system_heap: Speed up system heap allocations
  drm/sde: use buffer from the stack space
  kthread: use buffer from the stack space
  ARM64: configs: raphael: Disable SMACK and Integrity security suites
  exec: use bprm from the stack space
  sched: do not allocate window cpu arrays separately
  power_supply: don't allocate attrname
  drm/msm/sde: allocate kmem_fence_pool once
  msm: vidc: allocate kmem_buf_pool once
  binfmt_elf: Don't allocate memory dynamically in load_elf_binary
  ANDROID: sdcardfs: Alloc memory only when needed in __sdcardfs_lookup()
  ALSA: control: Don't dynamically allocate a single struct instance
  ALSA: control_compat: Don't dynamically allocate single-use structs
  media: v4l2-ioctl: Use a larger on-stack video copy buffer
  kobject_uevent: Allocate environment buffer on the stack
  scatterlist: Don't allocate sg lists using __get_free_page
  mm/slab_common: Align all caches' objects to hardware cachelines
  ext4: Allocate allocation-context on the stack
  Revert "lib: fix stall in __bitmap_parselist()"
  init: try to mount partition labeled "system" first
  arm64: Avoid watchdog during dump wlan firmware after panic
  arm64/kernel: jump_label: Switch to relative references
  locking/static_key: Don't take sleeping locks in __static_key_slow_dec_deferred()
  locking/static_key: Factor out the fast path of static_key_slow_dec()
  locking/static_key: Add support for deferred static branches
  jump_label: Add branch hints to static_branch_{un,}likely()
  locking/static_key: Fix false positive warnings on concurrent dec/inc
  jump_label: Fix NULL dereference bug in __jump_label_mod_update()
  jump_label: Annotate entries that operate on __init code earlier
  jump_label: Implement generic support for relative references
  jump_label: Abstract jump_entry member accessors
  jump_label/lockdep: Assert we hold the hotplug lock for _cpuslocked() operations
  jump_label: Fix typo in warning message
  jump_label: Use static_key_linked() accessor
  jump_label: Disable jump labels in __exit code
  jump_label: Fix sparc64 warning
  extable: Make init_kernel_text() global
  jump_label: Warn on failed jump_label patching attempt
  jump_label: Explicitly disable jump labels in __init code
  rcu: Speed up calling of RCU tasks callbacks
  arm64/neon: Disable -Wincompatible-pointer-types when building with Clang
  arm64/neon: add workaround for ambiguous C99 stdint.h types
  binder: Reserve caches for small, high-frequency memory allocations
  Revert "Initialize ata before graphics"
  security: selinux: remove __rticdata attribute
  dma_buf: try to use kmem_cache pool for dmabuf allocations
  dma_buf: use kmem_cache pool for struct sync_file
  dma_buf: use kmem_cache pool for struct dma_buf_attachment
  quota_tree: Avoid dynamic memory allocations
  dcache: increase DNAME_INLINE_LEN
  drm/msm/sde: use kmem_cache pool for struct sde_fence
  drm/msm: use kmem_cache pool for struct vblank_work
  msm: kgsl: use kmem_cache pool for draw objects
  msm: camera: use kmem_cache pool for struct sync_user_payload
  msm: vidc: Avoid dynamic memory allocation for small voting data
  msm: vidc: use kmem_cache pool for struct msm_vidc_buffer
  kernfs: use kmem_cache pool for struct kernfs_open_node/file
  sdcardfs: use kmem_cache pool for struct sdcardfs_file_info
  cgroup: use kmem_cache pool for struct cgrp_cset_link
  sde_crtc: Don't allocate memory dynamically in sde_crtc_atomic_check()
  dma-buf: Avoid dynamic memory allocation for small info buffers
  msm: kgsl: Avoid dynamically allocating small command buffers
  msm: kgsl: Don't allocate memory dynamically for temp command buffers
  msm: kgsl: Don't allocate memory dynamically for drawobj sync structs
  ARM64: configs: raphael: DNM: disable Auditing
  drm: display: silence display_set_power logspam
  techpack: audio: silence ELUS logging
  fs: sdcardfs: silence spammy loggers
  techpack: data: rmnet_perf: disable debugging
  drivers: silence few more loggers
  qcom-rpmh-mailbox: silence, driver!
  diagfwd_cntl: silence some more debug
  power: wakeup: silence logspam
  kernel: silence suspends/resume logging
  power: suspend: silence suspend monitor
  msm_vidc: silence video instance open/close spam
  backlight: silence a spammy logger
  mm: compaction: avoid 100% CPU usage during compaction when a task is killed
  gpu: adreno: run kgsl_3d_init on perf critical thread
  cpuidle: Mark CPUs idle as late as possible to avoid unneeded IPIs
  cpuidle: Optimize pm_qos notifier callback and IPI semantics
  arm64: Allow IPI_WAKEUP to be used outside of the ACPI parking protocol
  pinctrl: msm: Remove explicit barriers from mmio ops where unneeded
  locking/atomics, asm-generic/bitops/atomic.h: Rewrite using atomic_*() APIs
  drm/msm/sde: Wait for ctl_start asynchronously on cmd mode panels
  msm: kgsl: Don't try to wait for fences that have been signaled
  ARM64: dts: remove pm qos active latency override
  msm: kgsl: Relax CPU latency requirements to save power
  cpuidle: lpm-levels: Allow exit latencies equal to target latencies
  msm: kgsl: Wake GPU upon receiving an ioctl rather than upon touch input
  qos: Execute notifier callbacks atomically
  qos: Remove remaining instances of disabling IRQs for pm_qos_lock
  qos: Don't disable interrupts while holding pm_qos_lock
  msm: kgsl: Mark IRQ and worker thread as performance critical
  drm/msm: only force actual screen threads to big cluster
  drm/msm: Mark important kthreads as performance critical
  drm: Mark IRQ as performance critical
  scsi: ufshcd: mark IRQ as performance critical
  irq: silence 'irq no longer affine' messages
  kernel: irq: add more backup pathways for perf critical IRQs
  kernel: irq: properly disallow userspace from changing IRQs affinity
  kernel: irq: manage: use a different way of affining perf IRQs
  kernel: Don't allow IRQ affinity masks to have more than one CPU
  kernel: Add API to mark IRQs and kthreads as performance critical
  proc: cmdline: Patch SafetyNet flags
  proc: Remove SafetyNet flags from /proc/cmdline
  usb: gadget: f_fs: silence unused-variable warnings with IPC LOGGING disabled
  slimbus: fix a maybe-unused variable warning
  ANDROID: increase limit on sched-tune boost groups
  sched/tune: Increase the cgroup limit to 7
  cpufreq: schedutil: use scnprintf() instead of snprintf()
  sched: cpufreq_schedutil: Fixup snprintf warnings.
  cpufreq: Avoid leaving stale IRQ work items during CPU offline
  cpufreq: Rename cpufreq_can_do_remote_dvfs()
  sched/cpufreq_schedutil: create a function for common steps
  sched/walt: Improve the scheduler
  sched/core: Ensure cpu number is valid
  Revert "mm: oom_kill: reap memory of a task that receives SIGKILL"
  ARM64: configs: raphael: Disable External SOCs Control Support
  ARM64: configs: raphael: Disable Signature verification
  ARM64: configs: raphael: Disable Scheduler Debugging
  ARM64: configs: raphael: Disable unused ERRATUM fixes
  ARM64: configs: raphael: Disable generic sound device drivers
  ARM64: configs: raphael: Disable unused Switch Architecture drivers
  techpack: audio: dsp: fix compilation without VOICE_MHI
  ARM64: configs: raphael: Disable MHI protocol support
  ARM64: configs: raphael: disable PCI Bus support
  PCI: Add dummy functions to fix IPAv3 in CONFIG_PCI=n builds
  techpack: audio: silence unused variable warnings
  vfs: Bump max inline dirent name size
  ARM64 :configs: raphael: Enable optimized inlining
  compiler: allow all arches to enable CONFIG_OPTIMIZE_INLINING
  arm64: mark (__)cpus_have_const_cap as __always_inline
  arm64: configs: raphael: enable config ARCH_HAS_FAST_MULTIPLIER
  arm64: Select ARCH_HAS_FAST_MULTIPLIER
  ARM64: configs: raphael: Sync for fast full refcount checking
  FROMLIST: arm64: kernel: implement fast refcount checking
  arm64: debug: Separate debug hooks based on target exception level
  writeback: hardcode dirty_expire_centisecs=3000 (30s)
  soc: dcc_v2: remove _no_log() usage
  treewide: remove remaining _no_log() usage
  ARM64: configs: raphael: sync for no RTB support
  Revert "ARM: msm: add support for logged IO accessors"
  Revert "arm64: mm: Log the process id in the rtb"
  Revert "sched: move logging process id in the rtb to sched"
  Revert "ARM: gic-v3: Log the IRQs in RTB before handling an IRQ"
  Revert "ARM: gic: Add support for logging interrupts in RTB"
  Revert "trace: rtb: add msm_rtb register tracing feature snapshot"
  Revert "msm: redefine __raw_{read, write}v for RTB"
  Revert "arm64: Prevent msm-rtb tracing in memcpy_{from,to}io and memset_io"
  Revert "drivers: GICv3: remove the rtb logs of gic write and read"
  mm: kmemleak: Don't die when memory allocation fails
  xfrm interface: fix memory leak on creation
  arm64: vdso: Mark vdso_pagelist allocation as not a leak
  new: netfilter: mark a few allocations as not leaks
  dmaengine: Fix memory leak in dma_async_device_register
  qcom: pdc: fix a memory leak
  blkdev: switch to SSD mode and entropy gathering
  mm/page_alloc.c: free order-0 pages through PCP in page_frag_free()
  compat_ioctl: add compat_ptr_ioctl()
  timer: Convert schedule_timeout() to use from_timer()
  random: don't forget compat_ioctl on urandom
  compat_ioctl: remove /dev/random commands
  random: try to actively add entropy rather than passively wait for it
  random: fix soft lockup when trying to read from an uninitialized blocking pool
  random: only read from /dev/random after its pool has received 128 bits
  random: remove preempt disabled region
  random: Fix whitespace pre random-bytes work
  drivers/char/random.c: remove unused dont_count_entropy
  block: silently forbid sending any ioctl to a partition
  msm: vidc: do not allow queue buffer in flush
  ARM64: configs: raphael: Switch to fq_codel queue discipline
  treewide: silence warning about create IPC logging context
  drivers: squash make every IPC LOGGING a no-op
  treewide: make every ipc_loggings a no-op
  treewide: Don't warn about debugfs init failure if disabled
  ARM64: configs: raphael: disable DEBUG_KERNEL
  ARM64: configs: raphael: disable DEBUG_FS
  ARM64: configs: raphael: Disable TRACING
  trace: add CONFIG_DISABLE_TRACE_PRINTK option
  ARM64: configs: raphael: disable profiling support
  uid_sys_stats: Remove dependency on the profiling subsystem
  profiling: Implement a simple task exit notifier when disabled
  memory_state_time: Remove dependency on profiling support
  msm_bus: remove tracer
  msm: msm_bus: Never compile debugfs-related code
  msm: msm_bus: Kill transaction logging functionality
  cpuidle: lpm-levels: Remove debug event logging
  scsi: ufs: Fix unused function when tracepoints are disabled
  Revert "Perf: arm64: Add Snapshot of perf tracepoints"
  kernel/printk: use on-stack allocations for kernel log
  ipa_v3: fix some maybe-uninitialised warnings
  drivers: fix a couple of unused-variable warnings
  qcom: soc: enable MSM_IDLE_STATS even with debugfs disabled
  soc: qcom: make RPM stats driver debugfs independent
  lib: debug: remove DEBUG_KERNEL dependency from SCHED_DEBUG
  techpack: fix compilation with debugfs disabled
  techpack: fix the rest of debug_fs related errors
  msm: crypto: fix compilation with debugfs disabled
  msm: qcedev: don't bail out if debugfs is disabled
  drm/msm/dsi-staging: Don't bail out when debugfs creation fails
  media: msm: npu: disable debug driver
  msm_vidc: enable debug_fs usage
  soc: qcom: rpm_stats: enable debugfs usage
  qcacld-3.0: enable debugfs usage
  msm: ipa: enable debugfs usage
  drm: dp: enable debugfs usage
  sched: debug: enable debugfs usage
  wakeup: enable debugfs usage
  debugfs: Always compile core debugfs driver for Android kernels
  firmware: qcom: Remove debugfs dependency from tz-log driver
  init: Kconfig: Don't force DEBUG_KERNEL when EXPERT is enabled
  selinux: Remove audit dependency
  ARM64: configs: raphael: Disable SECCOMP
  kernel: fake system calls on seccomp to succeed
  blk: disable IO_STAT completely
  block: disable I/O stats accounting by default
  drivers: gpu: msm: silence unused variables warnings
  Revert "msm: kgsl: Add gpu_frequency trace during SLUMBER entry and exit"
  Revert "drm/msm/sde: add separate handling for rsc states"
  Revert "msm: kgsl: Add gpu_frequency tracepoint to power trace system"
  adreno: leave only /sys/kernel/debug/kgsl/proc/%d/mem for debugfs
  adreno: hardcode for a640
  adreno: disable snapshot, coresight and trace
  gpu: adreno: only compile Adreno 6xx driver
  drm/sde: hardcode for sm8150 v2.0
  drm/msm: skip sde_dbg compilation altogether
  drm/msm/sde: Remove redundant crtc_state assignment
  drm/msm/sde: Don't clear dim layer settings if there are none
  drivers: msm: Don't copy fence names by default
  drm/msm/sde: Omit debug logging code
  drm/msm: Omit SDE event log and most debugfs code
  drm/msm/sde: Cache register values when performing clock control
  drm/msm/sde: Remove register write debug logging
  soc: qcom: watchdog_v2: Fix memory leaks when memory_dump_v2 isn't built
  ufshcd: show bogus clkscale_enable even if it's not supported
  r8152: switch to realtek.com.tw release v2.12.0
  time: move frequently used functions to headers and declare them inline
  printk: disable console suspend by default
  block: replace io_schedule with io_schedule_timeout
  kernel: time: reduce ntp wakeups
  Initialize ata before graphics
  msm: kgsl: Stop slab shrinker when no more pages can be reclaimed
  mm: skip swap readahead when process is exiting
  Revert "Revert "select: use freezable blocking call""
  pwm: treat double free as a debug message
  mm: compaction: Fix bad logging
  random: always use /dev/urandom
  mm: compaction: switch FB notifier API to MSM DRM notifier
  mm: compaction: Add automatic compaction mechanism
  workqueue: Implement delayed_work_busy()
  random: prevent add_input from doing anything
  binfmt_elf.c: use get_random_int() to fix entropy depleting
  binder: set binder_debug_mask=0 to suppress logging
  selinux: don't require auditing
  msm: vidc: Disable msm_vidc_fw_debug_mode
  lib: Disable debug_locks
  msm: bus_arb: disable debug logging
  sde: sde_rotator_smmu: specify sync probe for sde_rotator_smmu
  CHROMIUM: selinux: Do not log permissive denials
  diag: disable DIAG_DEBUG
  sysctl: promote several nodes out of CONFIG_SCHED_DEBUG
  sysctl: promote sched_migration_cost_ns out of CONFIG_SCHED_DEBUG
  printk: fix message filter
  printk: filter out some more charging related logspam
  kernel: printk: silence suspend debug
  printk: ignore healthd and cacert related messages
  printk: block healthd messages in kernel log
  drivers: misc: silence driver logging
  drm: msm: dsi_panel: shut up!
  power: qcom: Specify sync probe for smb1390-charger
  power: qcom: fixup Xiaomi changes import
  power: supply: qcom: silence some annoying loggers
  ARM64: configs: raphael: Enable Cleancache
  ARM64: configs: raphael: Enable Userspace LMK
  ARM64: configs: raphael: switch PELT halflife to 32ms
  ARM64: configs: raphael: Disable PAGE_EXTENSION
  ARM64: configs: raphael: Disable unused graphics modules
  ARM64: configs: raphael: Disable USB Media Support
  ARM64: configs: raphael: Disable unused USBNET modules
  ARM64: configs: raphael: Disable workqueue power-efficient mode by default
  ARM64: configs: raphael: Disable config BLK_DEV_BSG
  ARM64: configs: raphael: Disable QCOM_MEM_OFFLINE
  ARM64: configs: raphael: Disable memory hotplugging support
  msm: ipa3: fix callback function type for ndo_start_xmit
  ANDROID: arm64: kprobes: fix kprobes without CONFIG_KRETPROBES
  ANDROID: kprobes: disable kretprobes with SCS
  ANDROID: kprobes: fix compilation without CONFIG_KRETPROBES
  ANDROID: Makefile: set -Qunused-arguments sooner
  FROMLIST: Makefile: lld: tell clang to use lld
  ANDROID: arm64: add support for building the KASLR kernel with LLVM lld
  Makefile: Use O3 optimization level for Clang LTO
  Revert "ANDROID: arm64: add support for building the KASLR kernel with LLVM lld"
  ANDROID: modules: undo -fdata-sections and -ffunction-sections
  ANDROID: modules: manually merge module .bss sections
  crc32: fix ambiguous aliases
  vdso32: Invoke clang with correct path to GCC toolchain
  ARM64: configs: raphael: Enable DSI panel configuration parser
  drm: msm: remove dynamic_debug dependency from DSI Parser
  dsi_panel: simplify DISPPARAM_HBM_BACKLIGHT_RESEND
  drm/msm/sde: init IRQ lists after allocated node
  drm/msm/dsi-staging: allow multiple listeners on TE
  drm: msm: remove esd irq handling
  ARM64: dts: sm8150-v2.dtsi: Fix cpu4_cpu_l3_latmon
  ARM64: dts: pcie: increase required bus BW for PCIe
  ARM: dts: Allow Adreno 640 to nap
  ARM: dts: sm8150: Set GPU idle timeout to 64 ms
  ARM: dts: sm8150: Disable unhandled or broken IRQ monitoring
  Revert "ARM: dts: msm: Set rcu_expedited for sdm855"
  ARM64: dts: dsi-panel: ea8076: remove esd irq handling
  smb5-lib: clear USB thermal ICL vote if temp_level is 0
  ARM64: configs: raphael: disable QRTR_FIFO config

Signed-off-by: UtsavBalar1231 <utsavbalar1231@gmail.com>
2020-06-16 00:19:06 +05:30
UtsavBalar1231
aae32e94d3 techpack: audio: dsp: properly guard the function
Signed-off-by: UtsavBalar1231 <utsavbalar1231@gmail.com>
2020-06-16 00:16:28 +05:30
UtsavBalar1231
fc9dc66c3f techpack: audio: silence ELUS logging
Signed-off-by: UtsavBalar1231 <utsavbalar1231@gmail.com>
2020-06-15 21:36:15 +05:30