Commit Graph
96 Commits
Author SHA1 Message Date
Michael Bestas d92cd45955 Merge remote-tracking branch 'sm8250/lineage-20' into lineage-22.1
* sm8250/lineage-20:
  UPSTREAM: ALSA: usb-audio: Fix a DMA to stack memory bug
  msm: camera: sensor: TOCTOU error handling

Change-Id: I1420806901495e8f95b87c20cd79179ffbe087d0
2025-02-06 17:47:41 +02:00
Swami Reddy Reddy 423f14b6e6 msm: camera: sensor: TOCTOU error handling
- Change to dereference s_ctrl only after proper
  NULL Dereference Check.

CRs-Fixed: 3875406
Change-Id: I8e2c717b22efff2a7d6503d38c048e30eff230da
Signed-off-by: Swami Reddy Reddy <quic_swamired@quicinc.com>
2025-02-04 19:39:57 +02:00
Michael Bestas 27517bd4f7 Merge remote-tracking branch 'sm8250/lineage-20' into lineage-21
* sm8250/lineage-20:
  dsp: q6lsm: Check size of payload before access
  UPSTREAM: unicode: Don't special case ignorable code points
  msm: camera: sensor: handling condition for random read
  fw-api: CL 27148704 - update fw common interface files
  fw-api: CL 27145397 - update fw common interface files
  fw-api: CL 27121105 - update fw common interface files
  fw-api: Add marina E3 hal header files to fw-api project
  fw-api: CL 27039913 - update fw common interface files
  fw-api: CL 27020660 - update fw common interface files
  fw-api: CL 27007360 - update fw common interface files
  fw-api: CL 26997210 - update fw common interface files
  fw-api: CL 26979953 - update fw common interface files
  fw-api: CL 26967399 - update fw common interface files
  fw-api: CL 26957438 - update fw common interface files
  fw-api: CL 26944074 - update fw common interface files
  fw-api: CL 26941589 - update fw common interface files
  fw-api: CL 26938915 - update fw common interface files
  fw-api: CL 26931520 - update fw common interface files
  fw-api: CL 26931515 - update fw common interface files
  fw-api: Add hardware header files for QCC2072 Cologne
  ...

Change-Id: Ic914e24f24b7a624c20dc6d8a0e0aaa0084f30f8
2024-11-07 12:47:32 +02:00
Michael Bestas 532750c881 Merge tag 'LA.UM.9.12.r1-18500-SMxx50.QSSI14.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/camera-kernel into android13-4.19-kona
LA.UM.9.12.r1-18500-SMxx50.QSSI14.0

* tag 'LA.UM.9.12.r1-18500-SMxx50.QSSI14.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/camera-kernel:
  msm: camera: sensor: handling condition for random read
  msm: camera: memmgr: Remove the mutex lock for kref variable

Change-Id: If9f25f4c833965e83ea19a60de3bbd515dc81144
2024-11-04 04:07:58 +02:00
Michael Bestas 1ec02f10bd Merge remote-tracking branch 'sm8250/lineage-20' into lineage-21
* sm8250/lineage-20:
  Revert "ANDROID: ALSA: jack: Update supported jack switch types"
  Revert "ALSA: jack: Add support to report second microphone"
  ASOC: Remove support for ANC headphones
  qcacmn: Update no. of DWORDs for htt_tx_msdu_desc_ext2_t

Change-Id: Ice64d788ffdc579eb2788f4f40e9eb0e6220b0ea
2024-11-04 01:49:04 +02:00
Akhil Karuturi eda293580e ASOC: Remove support for ANC headphones
ANC headphones are no longer supported, removed dead code related to the feature.

Change-Id: I3dd51b5b1d9f77fd870947608f8a14fc3f7aeed0
Signed-off-by: Akhil Karuturi <akarutur@codeaurora.org>
2024-10-31 21:37:53 +00:00
Michael Bestas 7170507aaf Merge remote-tracking branch 'sm8250/lineage-20' into lineage-21
* sm8250/lineage-20:
  ii2c: i2c-master-msm-geni: add null pointer check in event call back
  msm-4.19: qseecom: Fix possible race condition
  adsprpc: Handle UAF scenario in put_args
  adsprpc: Handle UAF scenario in put_args
  securemsm-kernel: Decrement the server object ref count in mutex context
  qcedev: fix UAF in qcedev_smmu
  msm: camera: icp: io buf config num validation
  dsp: q6lsm: Check size of payload before access
  msm: kgsl: Fix error handling during drawctxt switch
  asoc: codecs: Fix for the SSR issue on qcm2150
  msm: ipa: Add additional cleanup in finish rt rule addition
  msm: camera: sensor: TOCTOU error handling in eeprom
  msm: camera: sensor: TOCTOU error handling in eeprom
  vidc_3x: Fix cts failures
  msm: kgsl: Fix error handling during drawctxt switch
  msm: camera: memmgr: Remove the mutex lock for kref variable
  msm: eva: Adding kref count for cvp_get_inst_from_id
  msm: camera: memmgr: Remove the mutex lock for kref variable
  dsp: q6voice: Adds checks for an integer overflow
  msm: adsprpc: use-after-free (UAF) in global maps
  ...

Change-Id: Id089cb2f36426ffb377c41ffa078b340b75d6889
2024-10-10 19:02:31 +03:00
Michael Bestas 8fc1b264e3 Merge tag 'LA.UM.9.12.1.r1-09700-SMxx50.QSSI12.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/video-driver into android13-4.19-kona
"LA.UM.9.12.1.r1-09700-SMxx50.QSSI12.0"

* tag 'LA.UM.9.12.1.r1-09700-SMxx50.QSSI12.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/video-driver:
  msm: vidc: Release cvp buffer lock in invalid buffer case
  msm: vidc: Fix possible UAF during buffer unregister call
  vidc: Return EBUSY if mbpf check fails
  vidc: Skip unsupported session load in load calculation

 Conflicts:
	techpack/video/msm/vidc/msm_vidc_common.c

Change-Id: I7dc1d60f51c11288c83f7ee4097b2b2f39d2655b
2024-10-10 14:26:14 +03:00
Michael Bestas 080219bb4f Merge tag 'LA.UM.9.15.2.r1-10600-KAMORTA.QSSI14.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/camera-kernel into android13-4.19-kona
"LA.UM.9.15.2.r1-10600-KAMORTA.QSSI14.0"

* tag 'LA.UM.9.15.2.r1-10600-KAMORTA.QSSI14.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/camera-kernel:
  msm: camera: memmgr: Remove the mutex lock for kref variable
  msm: camera: memmgr: Add refcount to track umd in use buffers
  msm: camera: sensor: Handling race condition in util api
  msm: camera: common: Fix possible OOB reads and writes operations

Change-Id: Ic30b7c9d5683965ee182c28681387a9725a83b17
2024-10-10 14:16:48 +03:00
Michael Bestas 92fb1a2d0c Merge tag 'LA.UM.9.12.1.r1-09700-SMxx50.QSSI12.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/camera-kernel into android13-4.19-kona
"LA.UM.9.12.1.r1-09700-SMxx50.QSSI12.0"

* tag 'LA.UM.9.12.1.r1-09700-SMxx50.QSSI12.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/camera-kernel:
  msm: camera: icp: io buf config num validation
  msm: camera: sensor: TOCTOU error handling in eeprom
  msm: camera: sensor: TOCTOU error handling in eeprom
  msm: camera: memmgr: Remove the mutex lock for kref variable
  msm: camera: sensor: Handling race condition in util api
  msm: camera: memmgr: Add refcount to track umd in use buffers
  msm: camera: smmu: Use get_file to increase ref count
  msm: camera: sensor: Using low priority queue for init setting
  msm: camera: reqmgr: Increase V4L2 Queue depth

Change-Id: I15be6929b7950eca0564c4cb76c407cb2d35261c
2024-10-10 14:14:05 +03:00
Michael Bestas 7df3d99789 Merge tag 'LA.UM.9.15.2.r1-10600-KAMORTA.QSSI14.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/audio-kernel into android13-4.19-kona
"LA.UM.9.15.2.r1-10600-KAMORTA.QSSI14.0"

* tag 'LA.UM.9.15.2.r1-10600-KAMORTA.QSSI14.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/audio-kernel:
  dsp: q6lsm: Check size of payload before access
  asoc: codecs: Fix for the SSR issue on qcm2150
  dsp: q6voice: Adds checks for an integer overflow
  asoc: Fix out-of-bound write
  dsp: q6voice: Adds checks for an integer overflow
  Fix for OOB access issue
  dsp: q6lsm: Check size of payload before access

Change-Id: I708a0be36841731d8c5126b8135123b642a8a7d7
2024-10-10 14:13:12 +03:00
Michael Bestas bcb290148a Merge tag 'LA.UM.9.12.1.r1-09700-SMxx50.QSSI12.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/audio-kernel into android13-4.19-kona
"LA.UM.9.12.1.r1-09700-SMxx50.QSSI12.0"

* tag 'LA.UM.9.12.1.r1-09700-SMxx50.QSSI12.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/audio-kernel:
  dsp: q6voice: Adds checks for an integer overflow
  asoc: Fix out-of-bound write
  dsp: q6voice: Adds checks for an integer overflow
  dsp: q6lsm: Check size of payload before access
  Fix for OOB access issue
  Audio legacy: Integer overflow in msm_lsm_ioctl_compat during audio playback usecase. size = sizeof(p_info_32) + p_info_32.param_size; This overflow issue may result heap overflow during copying the data: memcpy(param_info_rsp, &p_info_32, sizeof(p_info_32));
  ASoC: Resolve use after free in listen sound client
  dsp: q6lsm: Add check for payload buffer
  ASoC: msm-pcm-voip: Avoid interger underflow
  soc: swr-mstr: Store and compare dev_addr along with dev_num

 Conflicts:
	techpack/audio/asoc/msm-compress-q6-v2.c
	techpack/audio/asoc/msm-pcm-routing-v2.c

Change-Id: I76045565c18bea94657ac7bbb46a49058f108f8d
2024-10-10 14:09:06 +03:00
Michael Bestas a2c8b0656e Merge remote-tracking branch 'sm8250/lineage-20' into lineage-21
* sm8250/lineage-20:
  arm64: cputype: Remove duplicate A77 definitions
  qcacld-3.0: Remove use-after-free of frame in tx mgmt send
  smcinvoke: Rename size_add to smci_size_add
  video: driver: Return proper error code
  video: driver: Return proper error code
  Linux 4.19.322
  Revert "parisc: Use irq_enter_rcu() to fix warning at kernel/context_tracking.c:367"
  netns: restore ops before calling ops_exit_list
  cx82310_eth: fix error return code in cx82310_bind()
  net, sunrpc: Remap EPERM in case of connection failure in xs_tcp_setup_socket
  rtmutex: Drop rt_mutex::wait_lock before scheduling
  drm/i915/fence: Mark debug_fence_free() with __maybe_unused
  drm/i915/fence: Mark debug_fence_init_onstack() with __maybe_unused
  ACPI: processor: Fix memory leaks in error paths of processor_add()
  ACPI: processor: Return an error if acpi_processor_get_info() fails in processor_add()
  ila: call nf_unregister_net_hooks() sooner
  netns: add pre_exit method to struct pernet_operations
  nilfs2: protect references to superblock parameters exposed in sysfs
  nilfs2: replace snprintf in show functions with sysfs_emit
  tracing: Avoid possible softlockup in tracing_iter_reset()
  ...

Change-Id: I7954f59d42b987203aacc473a6637bc792b68a79
2024-10-09 04:17:11 +03:00
Jerry Huang 5889b586f3 video: driver: Return proper error code
Return correct error code when session
is not supported since remaining memory
is not sufficient to proceed current session

Bug: 273301608
Test: CtsMediaMiscTestCases:android.media.misc.cts.ResourceManagerTest#testAVCVideoCodecReclaimHighResolution
Change-Id: Ib989b7ad41606303f2ff3359768105b10cf9393d
2024-09-18 13:39:23 +03:00
Jerry Huang 29ea278cb8 video: driver: Return proper error code
Return correct error code when session
is not supported when max mbpf limit
is reached.

Bug: 273301608
Test: CtsMediaMiscTestCases android.media.misc.cts.ResourceManagerTest#testReclaimResourceMixVsNonsecureHighResolution
Change-Id: I50739758df36d534970101977a1f64a465ba3e77
2024-09-18 13:38:20 +03:00
Michael Bestas bc9852895c techpack: camera-bengal: Enable legacy camera fix for cebu
Change-Id: Ic0ce4e5e1c827d3ee0ddeba71407fbc9bbd550d0
2024-08-25 02:12:02 +03:00
Michael Bestas 745d278459 techpack: display: Fix misleading indentation
Change-Id: I4fbaf1d15d54e5013adfdb1f142d645acc457c83
2024-08-19 15:13:01 +03:00
Michael Bestas 328a417425 Merge remote-tracking branch 'sm8250/lineage-20' into lineage-21
* sm8250/lineage-20:
  net: aquantia: Fix misleading indentation
  max31760: Fix misleading indentation
  techpack: audio: Fix indentation in wsa881x_visense_adc_ctrl()
  techpack: camera-bengal: Add missing braces in cam_ope_mgr_create_kmd_buf()
  fscrypt: Fix misleading indentation
  dcc_v2: Fix misleading indentations
  usb_bam: Fix misleading indentations
  crypto: msm: Fix compile errors
  crypto: msm: Fix incorrect boolean logic
  Makefile: Enable misleading indentation and bool operation warnings
  kbuild: Remove '-mno-global-merge'
  Revert "ANDROID: HACK: arm64, LLVMLinux: use -mno-implicit-float"
  ANDROID: fully revert ANDROID_PARANOID_NETWORK
  ANDROID: revert all xt_qtaguid stuff
  UPSTREAM: kbuild: use CONFIG_CC_VERSION_TEXT to construct LINUX_COMPILER macro
  UPSTREAM: kbuild: do not pass $(KBUILD_CFLAGS) to scripts/mkcompile_h
  UPSTREAM: kbuild: ensure full rebuild when the compiler is updated
  tracing: Fix clang -Wint-in-bool-context warnings in IF_ASSIGN macro
  Revert "BACKPORT: kgsl: hwsched: Don't cross dereference kgsl_mem_entry pointer"

Change-Id: I9037b37cc0ddc89bfc348b519853e55f3a8f491e
2024-08-19 15:12:27 +03:00
Alexander Winkowski fd4f634bbc techpack: audio: Fix indentation in wsa881x_visense_adc_ctrl()
Cross-checked with msm-4.14 and msm-5.15 tags. The change does not exist
as a separate commit and is squashed into the initial import.

Change-Id: Ib3defedf0fbd5b7cdccdfba26383313ff05b4ef0
Signed-off-by: Alexander Winkowski <dereference23@outlook.com>
2024-08-19 12:58:31 +03:00
Alexander Winkowski 2b7f56236b techpack: camera-bengal: Add missing braces in cam_ope_mgr_create_kmd_buf()
Cross-checked with msm-5.15 tag. The change does not exist as a separate
commit and is squashed into the initial import.

Change-Id: Ie922c512d7ea24661d3179cfd156ab8eb6fcc363
Signed-off-by: Alexander Winkowski <dereference23@outlook.com>
2024-08-19 12:44:44 +03:00
Michael Bestas 6c9d4e7476 techpack: camera-bengal: Enable legacy camera fix for guam
Change-Id: I1e4cd2a7b8d5f1324d55e3e47747198ce97ddf1a
2024-07-01 07:15:00 +00:00
Michael Bestas 8c4351b4e2 techpack: camera-bengal: Enable legacy camera fix for borneo
Change-Id: I213304f4128bb41b0758b98317d74ceb61584c18
2024-07-01 06:41:47 +00:00
Michael Bestas 4788d52aae Merge remote-tracking branch 'sm8250/lineage-20' into lineage-21
* sm8250/lineage-20:
  msm/sde: prevent double register of input handler
  scsi: ufs: Use WQ_HIGHPRI for gating work.
  scsi: ufs: disable clock scaling
  scsi: ufs: atomic update for clkgating_enable
  scsi: ufs: call single_release to avoid memory leak
  scsi: ufs: Disable interrupt in reset path
  cpuidle: Do not select menu and ladder governors
  msm: ipa3: Changes to fix memory leak issue
  msm: ipa: avoid OOM Killer for temp allocations
  msm: ipa: use lower order pages
  UPSTREAM: HID: playstation: support updated DualSense rumble mode.
  UPSTREAM: HID: playstation: add initial DualSense Edge controller support
  UPSTREAM: HID: playstation: add DualSense player LED support.
  UPSTREAM: HID: playstation: add microphone mute support for DualSense.
  UPSTREAM: HID: playstation: add initial DualSense lightbar support.
  UPSTREAM: HID: playstation: fix array size comparison (off-by-one)
  UPSTREAM: HID: playstation: fix unused variable in ps_battery_get_property.
  BACKPORT: HID: playstation: report DualSense hardware and firmware version.
  BACKPORT: HID: playstation: add DualSense classic rumble support.
  UPSTREAM: HID: playstation: add DualSense Bluetooth support.
  ...

Change-Id: I8299aa7e799947d78ec126259d58aa956f49ca72
2024-06-22 23:04:28 +03:00
Prashant Singh aab8bf69cb msm/sde: prevent double register of input handler
During Dynamic mode switch case, input_register_handler
is called even after it is registered leading to
list double add warnings and panic.

Change-Id: I312112deb08c998af516252f2117bc629eb13b37
2024-06-11 19:47:29 +03:00
Michael Bestas dd53eab65f Merge remote-tracking branch 'sm8250/lineage-20' into lineage-20
* sm8250/lineage-20:
  BACKPORT: memshare: Prevent possible integer overflow
  erofs: fix lz4 inplace decompression
  Revert "erofs: support decompress big pcluster for lz4 backend"
  erofs: ensure that the post-EOF tails are all zeroed
  erofs: fix compact 4B support for 16k block size
  erofs: avoid infinite loop in z_erofs_do_read_page() when reading beyond EOF
  erofs: fix potential overflow calculating xattr_isize
  erofs: stop parsing non-compact HEAD index if clusterofs is invalid
  erofs: avoid consecutive detection for Highmem memory
  qcacmn: Fix out of bound read issue in ESP ie parse
  soc: qcom: smem: Add boundary checks for partitions
  msm: camera: sensor: Proper handling of race condition in util api
  msm: kgsl: Do not release dma and anon buffers if unmap fails
  msm: kgsl: Keep the timeline fence valid for logging
  msm: camera: sensor: Proper handling of race condition in util api
  fw-api: CL 25873460 - update fw common interface files
  fw-api: CL 25869885 - update fw common interface files
  fw-api: CL 25866433 - update fw common interface files
  fw-api: CL 25840790 - update fw common interface files
  fw-api: CL 25839627 - update fw common interface files
  ...

Change-Id: I579ac7798efc4d829d213516580746b1f2adc748
2024-03-23 02:19:45 +02:00
Michael Bestas 7b3f40eb03 Merge tag 'LA.UM.9.15.2.r1-09500-KAMORTA.QSSI14.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/camera-kernel into android13-4.19-kona
"LA.UM.9.15.2.r1-09500-KAMORTA.QSSI14.0"

* tag 'LA.UM.9.15.2.r1-09500-KAMORTA.QSSI14.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/camera-kernel:
  msm: camera: sensor: Proper handling of race condition in util api

Change-Id: Ic4e59c08cd32cc5a1083a5f8073cc48509ca9edc
2024-03-23 01:13:20 +02:00
Michael Bestas b106341455 Merge tag 'LA.UM.9.12.r1-18200-SMxx50.QSSI14.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/camera-kernel into android13-4.19-kona
"LA.UM.9.12.r1-18200-SMxx50.QSSI14.0"

* tag 'LA.UM.9.12.r1-18200-SMxx50.QSSI14.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/camera-kernel:
  msm: camera: sensor: Proper handling of race condition in util api

Change-Id: I4559d7bbab1e2ad7fd5a5ddaad0165273b6927a6
2024-03-23 01:12:11 +02:00
Michael Bestas 0b5c2a33b4 techpack: camera-bengal: Enable legacy camera fix for guamp
Change-Id: Ic321addea2fa6704cf31e39efb72565ef291c984
2024-02-26 01:21:30 +02:00
Michael Bestas d668db90e5 Merge remote-tracking branch 'sm8250/lineage-20' into lineage-20
* sm8250/lineage-20:
  msm: kgsl: Do not release dma and anon buffers if unmap fails
  Reapply "perf: Fix perf_event_validate_size()"
  UPSTREAM: usb: raw-gadget: properly handle interrupted requests
  UPSTREAM: mm/cma: use nth_page() in place of direct struct page manipulation
  UPSTREAM: wireguard: allowedips: expand maximum node depth
  UPSTREAM: coresight: tmc: Explicit type conversions to prevent integer overflow
  UPSTREAM: wireguard: netlink: send staged packets when setting initial private key
  UPSTREAM: wireguard: queueing: use saner cpu selection wrapping
  UPSTREAM: kheaders: Use array declaration instead of char
  UPSTREAM: arm64: efi: Make efi_rt_lock a raw_spinlock
  UPSTREAM: sched/psi: Fix use-after-free in ep_remove_wait_queue()
  UPSTREAM: usb: musb: mediatek: don't unregister something that wasn't registered
  UPSTREAM: xfrm/compat: prevent potential spectre v1 gadget in xfrm_xlate32_attr()
  UPSTREAM: xfrm: compat: change expression for switch in xfrm_xlate64
  UPSTREAM: perf/core: Call LSM hook after copying perf_event_attr
  Linux 4.19.306
  crypto: scompress - initialize per-CPU variables on each CPU
  Revert "NFSD: Fix possible sleep during nfsd4_release_lockowner()"
  i2c: s3c24xx: fix transferring more than one message in polling mode
  i2c: s3c24xx: fix read transfers in polling mode
  kdb: Fix a potential buffer overflow in kdb_local()
  kdb: Censor attempts to set PROMPT without ENABLE_MEM_READ
  ipvs: avoid stat macros calls from preemptible context
  net: dsa: vsc73xx: Add null pointer check to vsc73xx_gpio_probe
  net: ravb: Fix dma_addr_t truncation in error case
  net: qualcomm: rmnet: fix global oob in rmnet_policy
  serial: imx: Correct clock error message in function probe()
  apparmor: avoid crash when parsed profile name is empty
  perf genelf: Set ELF program header addresses properly
  acpi: property: Let args be NULL in __acpi_node_get_property_reference
  MIPS: Alchemy: Fix an out-of-bound access in db1550_dev_setup()
  MIPS: Alchemy: Fix an out-of-bound access in db1200_dev_setup()
  HID: wacom: Correct behavior when processing some confidence == false touches
  wifi: mwifiex: configure BSSID consistently when starting AP
  wifi: rtlwifi: Convert LNKCTL change to PCIe cap RMW accessors
  wifi: rtlwifi: Remove bogus and dangerous ASPM disable/enable code
  fbdev: flush deferred work in fb_deferred_io_fsync()
  ALSA: oxygen: Fix right channel of capture volume mixer
  usb: mon: Fix atomicity violation in mon_bin_vma_fault
  usb: typec: class: fix typec_altmode_put_partner to put plugs
  Revert "usb: typec: class: fix typec_altmode_put_partner to put plugs"
  usb: chipidea: wait controller resume finished for wakeup irq
  Revert "usb: dwc3: don't reset device side if dwc3 was configured as host-only"
  Revert "usb: dwc3: Soft reset phy on probe for host"
  usb: dwc: ep0: Update request status in dwc3_ep0_stall_restart
  usb: phy: mxs: remove CONFIG_USB_OTG condition for mxs_phy_is_otg_host()
  tick-sched: Fix idle and iowait sleeptime accounting vs CPU hotplug
  binder: fix unused alloc->free_async_space
  binder: fix race between mmput() and do_exit()
  xen-netback: don't produce zero-size SKB frags
  Revert "ASoC: atmel: Remove system clock tree configuration for at91sam9g20ek"
  Input: atkbd - use ab83 as id when skipping the getid command
  binder: fix async space check for 0-sized buffers
  of: unittest: Fix of_count_phandle_with_args() expected value message
  of: Fix double free in of_parse_phandle_with_args_map
  mmc: sdhci_omap: Fix TI SoC dependencies
  watchdog: bcm2835_wdt: Fix WDIOC_SETTIMEOUT handling
  watchdog/hpwdt: Only claim UNKNOWN NMI if from iLO
  watchdog: set cdev owner before adding
  gpu/drm/radeon: fix two memleaks in radeon_vm_init
  drivers/amd/pm: fix a use-after-free in kv_parse_power_table
  drm/amd/pm: fix a double-free in si_dpm_init
  drm/amdgpu/debugfs: fix error code when smc register accessors are NULL
  media: dvbdev: drop refcount on error path in dvb_device_open()
  media: cx231xx: fix a memleak in cx231xx_init_isoc
  drm/radeon/trinity_dpm: fix a memleak in trinity_parse_power_table
  drm/radeon/dpm: fix a memleak in sumo_parse_power_table
  drm/radeon: check the alloc_workqueue return value in radeon_crtc_init()
  drm/drv: propagate errors from drm_modeset_register_all()
  drm/msm/mdp4: flush vblank event on disable
  ASoC: cs35l34: Fix GPIO name and drop legacy include
  ASoC: cs35l33: Fix GPIO name and drop legacy include
  drm/radeon: check return value of radeon_ring_lock()
  drm/radeon/r100: Fix integer overflow issues in r100_cs_track_check()
  drm/radeon/r600_cs: Fix possible int overflows in r600_cs_check_reg()
  f2fs: fix to avoid dirent corruption
  drm/bridge: Fix typo in post_disable() description
  media: pvrusb2: fix use after free on context disconnection
  RDMA/usnic: Silence uninitialized symbol smatch warnings
  ip6_tunnel: fix NEXTHDR_FRAGMENT handling in ip6_tnl_parse_tlv_enc_lim()
  Bluetooth: btmtkuart: fix recv_buf() return value
  Bluetooth: Fix bogus check for re-auth no supported with non-ssp
  wifi: rtlwifi: rtl8192se: using calculate_bit_shift()
  wifi: rtlwifi: rtl8192ee: using calculate_bit_shift()
  wifi: rtlwifi: rtl8192de: using calculate_bit_shift()
  rtlwifi: rtl8192de: make arrays static const, makes object smaller
  wifi: rtlwifi: rtl8192ce: using calculate_bit_shift()
  wifi: rtlwifi: rtl8192cu: using calculate_bit_shift()
  wifi: rtlwifi: rtl8192c: using calculate_bit_shift()
  wifi: rtlwifi: rtl8188ee: phy: using calculate_bit_shift()
  wifi: rtlwifi: add calculate_bit_shift()
  dma-mapping: clear dev->dma_mem to NULL after freeing it
  scsi: hisi_sas: Replace with standard error code return value
  wifi: rtlwifi: rtl8821ae: phy: fix an undefined bitwise shift behavior
  rtlwifi: Use ffs in <foo>_phy_calculate_bit_shift
  firmware: ti_sci: Fix an off-by-one in ti_sci_debugfs_create()
  net/ncsi: Fix netlink major/minor version numbers
  ncsi: internal.h: Fix a spello
  ARM: dts: qcom: apq8064: correct XOADC register address
  wifi: libertas: stop selecting wext
  bpf, lpm: Fix check prefixlen before walking trie
  NFSv4.1/pnfs: Ensure we handle the error NFS4ERR_RETURNCONFLICT
  blocklayoutdriver: Fix reference leak of pnfs_device_node
  crypto: scomp - fix req->dst buffer overflow
  crypto: scompress - Use per-CPU struct instead multiple variables
  crypto: scompress - return proper error code for allocation failure
  crypto: sahara - do not resize req->src when doing hash operations
  crypto: sahara - fix processing hash requests with req->nbytes < sg->length
  crypto: sahara - improve error handling in sahara_sha_process()
  crypto: sahara - fix wait_for_completion_timeout() error handling
  crypto: sahara - fix ahash reqsize
  crypto: virtio - Wait for tasklet to complete on device remove
  pstore: ram_core: fix possible overflow in persistent_ram_init_ecc()
  crypto: sahara - fix error handling in sahara_hw_descriptor_create()
  crypto: sahara - fix processing requests with cryptlen < sg->length
  crypto: sahara - fix ahash selftest failure
  crypto: sahara - remove FLAGS_NEW_KEY logic
  crypto: af_alg - Disallow multiple in-flight AIO requests
  crypto: ccp - fix memleak in ccp_init_dm_workarea
  crypto: virtio - Handle dataq logic with tasklet
  selinux: Fix error priority for bind with AF_UNSPEC on PF_INET6 socket
  mtd: Fix gluebi NULL pointer dereference caused by ftl notifier
  calipso: fix memory leak in netlbl_calipso_add_pass()
  netlabel: remove unused parameter in netlbl_netlink_auditinfo()
  net: netlabel: Fix kerneldoc warnings
  ACPI: LPIT: Avoid u32 multiplication overflow
  ACPI: video: check for error while searching for backlight device parent
  mtd: rawnand: Increment IFC_TIMEOUT_MSECS for nand controller response
  powerpc/imc-pmu: Add a null pointer check in update_events_in_group()
  powerpc/powernv: Add a null pointer check in opal_event_init()
  selftests/powerpc: Fix error handling in FPU/VMX preemption tests
  powerpc/pseries/memhp: Fix access beyond end of drmem array
  powerpc/pseries/memhotplug: Quieten some DLPAR operations
  powerpc/44x: select I2C for CURRITUCK
  powerpc: remove redundant 'default n' from Kconfig-s
  powerpc: add crtsavres.o to always-y instead of extra-y
  EDAC/thunderx: Fix possible out-of-bounds string access
  x86/lib: Fix overflow when counting digits
  coresight: etm4x: Fix width of CCITMIN field
  uio: Fix use-after-free in uio_open
  binder: fix comment on binder_alloc_new_buf() return value
  binder: use EPOLLERR from eventpoll.h
  drm/crtc: fix uninitialized variable use
  ARM: sun9i: smp: fix return code check of of_property_match_string
  Input: xpad - add Razer Wolverine V2 support
  ARC: fix spare error
  s390/scm: fix virtual vs physical address confusion
  Input: i8042 - add nomux quirk for Acer P459-G2-M
  Input: atkbd - skip ATKBD_CMD_GETID in translated mode
  reset: hisilicon: hi6220: fix Wvoid-pointer-to-enum-cast warning
  ring-buffer: Do not record in NMI if the arch does not support cmpxchg in NMI
  tracing: Add size check when printing trace_marker output
  tracing: Have large events show up as '[LINE TOO BIG]' instead of nothing
  drm/crtc: Fix uninit-value bug in drm_mode_setcrtc
  jbd2: correct the printing of write_flags in jbd2_write_superblock()
  clk: rockchip: rk3128: Fix HCLK_OTG gate register
  drm/exynos: fix a potential error pointer dereference
  ASoC: da7219: Support low DC impedance headset
  net/tg3: fix race condition in tg3_reset_task()
  ASoC: rt5650: add mutex to avoid the jack detection failure
  ASoC: cs43130: Fix incorrect frame delay configuration
  ASoC: cs43130: Fix the position of const qualifier
  ASoC: Intel: Skylake: mem leak in skl register function
  f2fs: explicitly null-terminate the xattr list
  UPSTREAM: wifi: cfg80211: fix buffer overflow in elem comparison
  UPSTREAM: gcov: clang: fix the buffer overflow issue
  BACKPORT: selinux: enable use of both GFP_KERNEL and GFP_ATOMIC in convert_context()
  UPSTREAM: wifi: cfg80211: avoid nontransmitted BSS list corruption
  UPSTREAM: wifi: cfg80211: fix BSS refcounting bugs
  UPSTREAM: wifi: cfg80211: ensure length byte is present before access
  UPSTREAM: wifi: cfg80211: fix u8 overflow in cfg80211_update_notlisted_nontrans()
  UPSTREAM: wireguard: netlink: avoid variable-sized memcpy on sockaddr
  UPSTREAM: wireguard: ratelimiter: disable timings test by default
  UPSTREAM: crypto: lib - remove unneeded selection of XOR_BLOCKS
  UPSTREAM: wireguard: allowedips: don't corrupt stack when detecting overflow
  UPSTREAM: wireguard: ratelimiter: use hrtimer in selftest
  UPSTREAM: crypto: arm64/poly1305 - fix a read out-of-bound
  UPSTREAM: wifi: mac80211_hwsim: set virtio device ready in probe()
  UPSTREAM: crypto: memneq - move into lib/
  UPSTREAM: dma-buf: fix use of DMA_BUF_SET_NAME_{A,B} in userspace
  BACKPORT: usb: typec: mux: Check dev_set_name() return value
  UPSTREAM: wireguard: device: check for metadata_dst with skb_valid_dst()
  UPSTREAM: sched/fair: Fix cfs_rq_clock_pelt() for throttled cfs_rq
  UPSTREAM: cfg80211: hold bss_lock while updating nontrans_list
  UPSTREAM: wireguard: socket: ignore v6 endpoints when ipv6 is disabled
  UPSTREAM: wireguard: socket: free skb in send6 when ipv6 is disabled
  UPSTREAM: wireguard: queueing: use CFI-safe ptr_ring cleanup function
  UPSTREAM: mm: don't try to NUMA-migrate COW pages that have other uses
  UPSTREAM: copy_process(): Move fd_install() out of sighand->siglock critical section
  UPSTREAM: usb: raw-gadget: fix handling of dual-direction-capable endpoints
  UPSTREAM: psi: Fix "no previous prototype" warnings when CONFIG_CGROUPS=n
  UPSTREAM: sched/uclamp: Fix rq->uclamp_max not set on first enqueue
  UPSTREAM: wireguard: selftests: increase default dmesg log size
  UPSTREAM: wireguard: allowedips: add missing __rcu annotation to satisfy sparse
  UPSTREAM: sched/uclamp: Fix uclamp_tg_restrict()
  UPSTREAM: coresight: etm4x: Fix etm4_count race by moving cpuhp callbacks to init
  UPSTREAM: sched/uclamp: Fix a deadlock when enabling uclamp static key
  UPSTREAM: mac80211_hwsim: use GFP_ATOMIC under spin lock
  UPSTREAM: usercopy: Avoid soft lockups in test_check_nonzero_user()
  UPSTREAM: lib: test_user_copy: style cleanup
  UPSTREAM: fork: return proper negative error code
  Revert "ipv6: make ip6_rt_gc_expire an atomic_t"
  Revert "ipv6: remove max_size check inline with ipv4"
  Linux 4.19.305
  ipv6: remove max_size check inline with ipv4
  ipv6: make ip6_rt_gc_expire an atomic_t
  net/dst: use a smaller percpu_counter batch for dst entries accounting
  net: add a route cache full diagnostic message
  PCI: Disable ATS for specific Intel IPU E2000 devices
  PCI: Extract ATS disabling to a helper function
  netfilter: nf_tables: Reject tables of unsupported family
  fuse: nlookup missing decrement in fuse_direntplus_link
  mmc: core: Cancel delayed work before releasing host
  mmc: rpmb: fixes pause retune on all RPMB partitions.
  mm: fix unmap_mapping_range high bits shift bug
  firewire: ohci: suppress unexpected system reboot in AMD Ryzen machines and ASM108x/VT630x PCIe cards
  mm/memory-failure: check the mapcount of the precise page
  bnxt_en: Remove mis-applied code from bnxt_cfg_ntp_filters()
  asix: Add check for usbnet_get_endpoints
  net/qla3xxx: fix potential memleak in ql_alloc_buffer_queues
  net/qla3xxx: switch from 'pci_' to 'dma_' API
  i40e: Restore VF MSI-X state during PCI reset
  i40e: fix use-after-free in i40e_aqc_add_filters()
  net: Save and restore msg_namelen in sock_sendmsg
  net: bcmgenet: Fix FCS generation for fragmented skbuffs
  ARM: sun9i: smp: Fix array-index-out-of-bounds read in sunxi_mc_smp_init
  net: sched: em_text: fix possible memory leak in em_text_destroy()
  i40e: Fix filter input checks to prevent config with invalid values
  nfc: llcp_core: Hold a ref to llcp_local->dev when holding a ref to llcp_local
  UPSTREAM: fsverity: skip PKCS#7 parser when keyring is empty
  Audio legacy: Integer overflow in msm_lsm_ioctl_compat during audio playback usecase. size = sizeof(p_info_32) + p_info_32.param_size; This overflow issue may result heap overflow during copying the data: memcpy(param_info_rsp, &p_info_32, sizeof(p_info_32));
  mmc: sdhci-msm: Reset GCC_SDCC_BCR register for SDHC
  usb: phy: Enable clock before accessing EUD register space
  loop: Select I/O scheduler 'none' from inside add_disk()
  BACKPORT: loop: Fix missing discard support when using LOOP_CONFIGURE
  UPSTREAM: loop: unset GENHD_FL_NO_PART_SCAN on LOOP_CONFIGURE
  loop: Check for overflow while configuring loop
  BACKPORT: loop: Set correct device size when using LOOP_CONFIGURE
  cnss2: Add support for configuring calibration duration
  fw-api: CL 25639871 - update fw common interface files
  fw-api: CL 25638846 - update fw common interface files
  fw-api: CL 25637760 - update fw common interface files
  fw-api: CL 25636238 - update fw common interface files
  fw-api: CL 25618622 - update fw common interface files
  fw-api: CL 25612024 - update fw common interface files
  fw-api: CL 25601210 - update fw common interface files
  fw-api: CL 25598308 - update fw common interface files
  fw-api: CL 25585821 - update fw common interface files
  fw-api: CL 25582070 - update fw common interface files
  fw-api: CL 25582068 - update fw common interface files
  block: delete part_round_stats and switch to less precise counting
  BACKPORT: media: venus: hfi_parser: Add check for number of codecs
  BACKPORT: media: venus: hfi: add checks in capabilities from firmware
  BACKPORT: media: venus: hfi: fix the check in session buffer requirement
  BACKPORT: media: venus: hfi: add checks to perform sanity on queue pointers
  fw-api: CL 25560130 - update fw common interface files
  fw-api: CL 25538998 - update fw common interface files
  fw-api: CL 25538692 - update fw common interface files
  fw-api: CL 25526295 - update fw common interface files
  qcacmn: Add sanity check to fix OOB issue
  vidc_3x: venc: Add missing level in h263
  fw-api: CL 25522189 - update fw common interface files
  fw-api: CL 25493022 - update fw common interface files
  fw-api: CL 25473754 - update fw common interface files
  msm: kgsl: Do not free sharedmem if it cannot be unmapped
  vidc_3x: Return EBUSY if mbpf check fails
  fw-api: CL 25397057 - update fw common interface files
  fw-api: CL 25394812 - update fw common interface files
  fw-api: CL 25328958 - update fw common interface files
  fw-api: CL 25314900 - update fw common interface files
  soc: qcom: qmi_encdec: out of bound check for input buffer
  fw-api: CL 25308727 - update fw common interface files
  fw-api: CL 25273382 - update fw common interface files
  fw-api: CL 25272219 - update fw common interface files
  fw-api: CL 25266026 - update fw common interface files
  fw-api: CL 25234042 - update fw common interface files
  fw-api: CL 25234039 - update fw common interface files
  fw-api: CL 25210870 - update fw common interface files
  fw-api: CL 25171661 - update fw common interface files
  fw-api: CL 25170657 - update fw common interface files
  fw-api: CL 25166743 - update fw common interface files
  fw-api: CL 25134675 - update fw common interface files
  fw-api: CL 25104555 - update fw common interface files
  fw-api: CL 25104553 - update fw common interface files
  fw-api: CL 25045621 - update fw common interface files
  fw-api: CL 25043321 - update fw common interface files
  fw-api: CL 25039727 - update fw common interface files
  fw-api: CL 25039724 - update fw common interface files
  fw-api: CL 25036225 - update fw common interface files
  fw-api: CL 25027860 - update fw common interface files
  fw-api: CL 25012076 - update fw common interface files
  fw-api: CL 25001184 - update fw common interface files
  fw-api: CL 24972727 - update fw common interface files
  fw-api: CL 24952424 - update fw common interface files
  fw-api: CL 24942753 - update fw common interface files
  fw-api: CL 24927565 - update fw common interface files
  fw-api: CL 24914490 - update fw common interface files
  fw-api: CL 24886188 - update fw common interface files
  fw-api: CL 24865228 - update fw common interface files
  fw-api: CL 24822236 - update fw common interface files
  fw-api: CL 24815200 - update fw common interface files
  fw-api: CL 24803979 - update fw common interface files
  fw-api: CL 24760251 - update fw common interface files
  fw-api: CL 24704966 - update fw common interface files
  qcacmn: Fix OOB issue
  Release 5.2.022.12B
  qcacld-3.0: Ignore CSA request for invalid channel

 Conflicts:
	include/uapi/linux/dma-buf.h

Change-Id: If75f9950f05bfc17f33be1d863139fdd3de61a5e
2024-02-10 21:16:39 +02:00
Michael Bestas 7883946a13 Merge tag 'LA.UM.9.15.2.r1-09400-KAMORTA.QSSI14.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/audio-kernel into android13-4.19-kona
"LA.UM.9.15.2.r1-09400-KAMORTA.QSSI14.0"

* tag 'LA.UM.9.15.2.r1-09400-KAMORTA.QSSI14.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/audio-kernel:
  Audio legacy: Integer overflow in msm_lsm_ioctl_compat during audio playback usecase. size = sizeof(p_info_32) + p_info_32.param_size; This overflow issue may result heap overflow during copying the data: memcpy(param_info_rsp, &p_info_32, sizeof(p_info_32));

Change-Id: I8869b37a4cc5223d37ec0169efb6eb2965916dd6
2024-02-10 19:51:37 +02:00
Michael Bestas ab5e1c6f5b Merge remote-tracking branch 'sm8250/lineage-20' into lineage-20
* sm8250/lineage-20:
  arm64: efi: Switch to static_assert wrapper
  BACKPORT: build_bug.h: add wrapper for _Static_assert
  vidc: Return EBUSY if mbpf check fails
  BACKPORT: media: venus: hfi: fix the check in session buffer requirement
  ASoC: bolero: Add check for CMPDR switch
  msm:vidc_3x: reject sessions based on max mbpf
  ASoC: wcd937x: Add flag to decide RX_MUTE for HPHL and EAR
  BACKPORT: blk-mq: fix is_flush_rq
  BACKPORT: blk-mq: clearing flush request reference in tags->rqs[]
  BACKPORT: blk-mq: clear stale request in tags->rq[] before freeing one request pool
  BACKPORT: blk-mq: grab rq->refcount before calling ->fn in blk_mq_tagset_busy_iter
  ARM: msm: Add board config support for 32 bit qcm2150
  soc: qcom: socinfo: Add supprot for QCM2150 QRD soc-id
  msm: camera: sensor: Unmap DMA buffers to end access from kernel
  ASoC: msm-audio-effects-q6-v2: Add BPF order check
  dsp: q6afe: Add check for fbsp state
  dsp: q6asm: Add check for ADSP payload size
  ASoC: msm-pcm-host-voice: Check validity of session idx
  dsp: q6lsm: Address use after free for mmap handle
  ASoC: Resolve use after free in listen sound client
  dsp: q6lsm: Add check for payload buffer
  ASoC: msm-pcm-host-voice: Check validity of session idx
  dsp: q6lsm: Address use after free for mmap handle
  dsp: q6lsm: Add check for payload buffer
  ASoC: Resolve use after free in listen sound client
  ASoC: msm-lsm-client: Integer overflow check
  ASoC: dsp: q6core: Avoid use after free
  msm: camera: mem_mgr: release buffers after usage
  ASoC: msm-pcm-q6-v2: Add dsp buf check
  ASoC: msm-pcm-q6-v2: Add dsp buf check
  msm: camera: smmu: Use get_file to increase ref count
  msm: camera: memmgr: Update copyright fix
  asoc: changes to fix KW errors.

Change-Id: I8a8e6810b780eccc31f6a87f91636e81bb7996fe
2024-01-07 16:06:28 +02:00
Michael Bestas f56b63c6ea techpack: camera-bengal: Enable legacy camera fix for rhode
Change-Id: I79ea804e80e871a193739498b66fc5c02f3a3254
2024-01-07 15:54:50 +02:00
Michael Bestas 9864ecb0f8 Conditionally revert "msm: camera: ope: Increase max bl limit and max stripe to process"
This breaks camera on caprip but required on newer devices.

This conditionally reverts commit c4a3b49efc.

Change-Id: Iec7e8d593bb37b637d1f876228bf73b0944e01ff
2024-01-07 15:54:50 +02:00
dianlujitao 1975c930c5 techpack: audio: aw882xx: Load calibration file through firmware class
Direct access to filesystem is insane and hits a neverallow, load it
through the firmware class instead.

Change-Id: I72149f8674c6211fab57a025b47cf84e505a256a
2024-01-07 15:54:50 +02:00
Michael Bestas da532c57bc techpack: audio: Disable CONFIG_SND_SOC_FS16XX
This isn't used on devon/hawao/rhode

Change-Id: Iae7ea265bb271508de5d02ac5649d4cd0bf9805d
2024-01-07 15:54:48 +02:00
dianlujitaoandMichael Bestas b25b68201f techpack: audio: aw88261: Load calibration file through firmware class
Direct access to filesystem is insane and hits a neverallow, load it
through the firmware class instead.

Co-authored-by: Michael Bestas <mkbestas@lineageos.org>
Change-Id: Ic522644c73d63a36430526736257d635deb08f6a
2024-01-07 15:54:48 +02:00
Erfan Abdi fd2f1845d4 techpack: audio: Setup build makefiles for moto bengal
[Dhina17]: Adapted for bengal.

Change-Id: Idff424f8dc188feb5d24c8d77f0ba950ab8275bf
Signed-off-by: Dhina17 <dhinalogu@gmail.com>
2024-01-07 15:54:48 +02:00
Michael Bestas 7942f6ebed techpack: camera-bengal: Correct paths
Change-Id: I976724d136f325d77b2dcf059f87423d77a2f6a3
2024-01-05 12:25:07 +02:00
Michael Bestas ded2481afd Revert "techpack: add camera legacy support"
This reverts commit 657b260037.

Change-Id: I2d0c1b83c70098a59702c41c2e56de98f67d6f31
2024-01-05 12:21:51 +02:00
Michael Bestas e0e8181c9f Merge tag 'LA.UM.9.12.r1-17900.03-SMxx50.QSSI14.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/video-driver into android13-4.19-kona
"LA.UM.9.12.r1-17900.03-SMxx50.QSSI14.0"

* tag 'LA.UM.9.12.r1-17900.03-SMxx50.QSSI14.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/video-driver:
  vidc: Return EBUSY if mbpf check fails

Change-Id: I228810cf48b6b9d2e107e82c6fc13e56e0216859
2024-01-04 12:45:33 +02:00
Michael Bestas d1ca8a57e6 Merge tag 'LA.UM.9.12.r1-17900.03-SMxx50.QSSI14.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/camera-kernel into android13-4.19-kona
"LA.UM.9.12.r1-17900.03-SMxx50.QSSI14.0"

* tag 'LA.UM.9.12.r1-17900.03-SMxx50.QSSI14.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/camera-kernel:
  msm: camera: sensor: Unmap DMA buffers to end access from kernel

Change-Id: I9ec2dbaa6c2a1ce2e5599cfeaeea9c1958c50ca2
2024-01-04 12:41:12 +02:00
Michael Bestas ee723b03a5 Merge tag 'LA.UM.9.15.2.r1-09300-KAMORTA.QSSI12.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/audio-kernel into android13-4.19-kona
"LA.UM.9.15.2.r1-09300-KAMORTA.QSSI12.0"

* tag 'LA.UM.9.15.2.r1-09300-KAMORTA.QSSI12.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/audio-kernel:
  ASoC: bolero: Add check for CMPDR switch
  ASoC: wcd937x: Add flag to decide RX_MUTE for HPHL and EAR
  ASoC: msm-audio-effects-q6-v2: Add BPF order check
  dsp: q6afe: Add check for fbsp state
  dsp: q6asm: Add check for ADSP payload size
  ASoC: msm-pcm-host-voice: Check validity of session idx
  dsp: q6lsm: Address use after free for mmap handle
  ASoC: Resolve use after free in listen sound client
  dsp: q6lsm: Add check for payload buffer
  ASoC: msm-pcm-host-voice: Check validity of session idx
  dsp: q6lsm: Address use after free for mmap handle
  dsp: q6lsm: Add check for payload buffer
  ASoC: Resolve use after free in listen sound client
  ASoC: msm-lsm-client: Integer overflow check
  ASoC: dsp: q6core: Avoid use after free
  ASoC: msm-pcm-q6-v2: Add dsp buf check
  ASoC: msm-pcm-q6-v2: Add dsp buf check
  asoc: changes to fix KW errors.

Change-Id: I1f9e980140a7e5941e16650781b61e6b5fde7c8b
2024-01-04 12:40:10 +02:00
Michael Bestas cdfcefda47 Merge tag 'MMI-T2SN33.73-22-3' of https://github.com/MotorolaMobilityLLC/kernel-msm-techpack-display into lineage-20
"Devon push for Android 13"

* tag 'MMI-T2SN33.73-22-3' of https://github.com/MotorolaMobilityLLC/kernel-msm-techpack-display:
  Revert "disp: msm: use vzalloc for large allocations"
  disp/msm/dsi:enabel ESD te check for video panel
  disp/msm/dsi:support to config glbl_hstx_str_ctrl_0 for mipi driver strength
  disp: msm: use vzalloc for large allocations
  disp: msm: sde: fix RM poll timeouts during PM suspend/resume usecase
  disp: msm: avoid BW down vote after splash memory release
  disp: msm: dsi: Only enable lanes required during phy enable
  disp: msm: sde: while timing engine enabling poll for active region
  [PATCH] disp: msm: sde: remove panic from autorefresh disable sequence
  drm/dsi_panel: send specific demura command when bl change
  drm/msm/dsi-staging: add default brightness property
  kernel/display:hawao+oled:change lcm timing
  HAWAO+OLED: solve mipi driver strength weak problem
  kernel/display:hawao+oled:change lcm timing
  Revert "HAWAO+OLED:solve mipi driver strength weak problem"
  HAWAO+OLED: solve mipi driver strength weak problem
  disp: msm: Fixing motUtil tool for ACL feature
  drm: Add the panel color feature for game mode
  drm: Add the DC panel param feature
  display: Modify the lcd reset gpio pin.
  Fix: display blinking issue
  propagation: panel: add ft8006s special reset timing control
  display: support ft8006s panel brightness level special align
  [Guam NA] Fix propagation error in dsi_display.c
  kernel:dsi: ESD te support for video mode panel
  kernel:dsi: backlight update for hbm gpio
  kernel:dsi: backlight update for hbm gpio
  kernel: dsi: rst pull down config update
  kernel: dsi: tp_rst seq update
  kernel: dsi: enable tp_rst & esd fail logs
  Capri beingup
  kernel: dsi: add new backlight device to avoid conflict
  kernel: dsi: download touch firmware after panel reset
  msm/dsi: add panel tp rst configs
  kernel: dsi: pull down reset pin when shutdown
  dsi: add new backlight control type I2C
  drm/msm/sde: limit the backlight min brightness as bl_min_level
  Kernel: read panel supplier from device tree
  disp: msm: Parsing and store panel's 0xDA register info
  dsi_panel: fix out-of-bounds  issue
  backlight: support device hbm use 51 cmd
  backlight: add hbm gpio control driver
  msm/dsi: add backlight and hbm debug log
  msm/dsi: set brightness at maximum if enabling LCD HBM
  dsi_panel: Check the return status of the touch screen
  drm/panel_param: optimize the code
  Display PanelMode: Add CABC control
  msm: dsi_panel: refresh rate config option
  msm: dsi_panel: refresh rate config option
  disp: msm: Correct DSC 1.1 Rate control for Max val
  dsi: pushing display notifications
  Revert"disp:msm:sde: update splash resource allocation for dual display"
  disp: msm: Restore old backlight setting after exitting HBM
  disp: msm:: reset the param value to the default value
  disp: msm: support for HBM_FOD mode
  disp: msm: add display frequency change notification
  Revert "Revert "disp: msm: sde: update splash resource allocation for dual display""
  Kernel/Display: mot extend code: get lcd para
  Kernel/display: mot extend - early power
  Kernel: Add Moto extern display code
  disp: msm: implement xxx-hbm-is-51cmd dts entry
  disp: msm: fix checking returned value of xx_cmd_transfer
  disp: msm: Register for reboot_notifier
  disp: msm: Support ACL when setting panel param
  disp: msm: Enable "val" to control HBM property
  disp: msm: dsi: Reducing logging in dsi_panel.c
  disp: msm: dsi: Add print info for DSI_CTRL
  disp: msm : Add the ACL panel param feature
  disp: msm: Populate the passing panel's info from BL.
  disp: msm: Set panel enable_status during probing
  disp: msm: Add panel name to enable status API
  disp: msm: Report panel's probe status
  disp: msm: provide API to query for panel enable state
  disp: msm: Correct the panel's LP11_INIT
  disp: msm: Adding KMS property testing for motUtil tool
  disp: msm: add panel's param feature to display FW
  disp: msm: Provide a dynamic method to disable the ESD.
  disp: msm: Add DispUtil tool to motUtil Debugfs
  disp: msm: sde: Add motUtil Debugfs framework
  disp: msm: dsi: Raise BUG for continous panel recovery failure
  disp: msm: dsi: Trigger ESD event if display isn't on
  disp: msm: dsi: Check panel's power_mode during resume
  disp: msm: dsi: parsing BL setting ESD and panel
  disp: msm: sde: Change display ESD checking interval to 8s
  disp: msm: dsi: add prints for DSI/panel turning off/on
  disp: msm: dsi: Add "bl_ctrl_dummy" to panel bl type
  disp: msm: dsi: Add support display 2bytes brightness.
  guam: input add drm support
  input add touch support
  disp: msm: sde: synx: Add quic copyright
  disp: msm: sde: handle partial update transitions in rounded corner.
  Revert "disp: msm: sde: handle partial update transitions in rounded corner".
  disp: msm: sde: handle partial update transitions in rounded corner
  disp: msm: sde: clear partial update mask during last close

 Conflicts:
	techpack/display/msm/msm_drv.c
	techpack/display/msm/msm_drv.h

Change-Id: I40dab2ee196d87f2d24439d5b4e7c4cd14b7051d
2024-01-03 01:34:07 +02:00
Michael Bestas e0d512421b Merge tag 'MMI-T2SN33.73-22-3' of https://github.com/MotorolaMobilityLLC/kernel-msm-techpack-camera into lineage-20
"Devon push for Android 13"

* tag 'MMI-T2SN33.73-22-3' of https://github.com/MotorolaMobilityLLC/kernel-msm-techpack-camera:
  Low flashlight brightness bugfix
  devon4g: read sensorid failed,but return success
  devon: Add retries for sensor id matching
  devon: Actuator noise reduction
  hawao: Fix flash compatible
  rhode: Del an invalid log
  hawao: Actuator noise reduction
  Rhode: Actuator noise reduction
  hawao: Flash compatible
  rhode: Actuator noise reduction
  Rhode: flash node control
  Rhode: add flash current ma control
  Rhode: flash bring up(2/3)
  Rhode4G: main eeprom bring up(3/3)
  Caprip: add wakelock for the actuator noise reduction.
  cam: Add actuator standalone diver for vibrator.
  guamna:[camera] Fix capture failed when set exposure time 1s
  msm: camera: req_mgr: Decrease device handles in hdl_tbl
  guamna: Add eeprom operation READ_LOOP
  guamna: add eeprom name and add hi556 otp read method
  guam: EXPORT_SYMBOL cam_cci_get_subdev

 Conflicts:
	techpack/camera-bengal/drivers/cam_req_mgr/cam_req_mgr_util.c
	techpack/camera-bengal/drivers/cam_sensor_module/cam_flash/Makefile

Change-Id: I141fc90b9c8f08ea3e2f2e38d73f1e91c03d9ad6
2024-01-03 01:21:29 +02:00
Michael Bestas 70b29d0d24 Merge tag 'MMI-T2SN33.73-22-3' of https://github.com/MotorolaMobilityLLC/vendor-qcom-opensource-audio-kernel into lineage-20
"Devon push for Android 13"

* tag 'MMI-T2SN33.73-22-3' of https://github.com/MotorolaMobilityLLC/vendor-qcom-opensource-audio-kernel:
  ASoC: msm-pcm-host-voice: Address buffer overflow in hpcm capture copy
  dsp: q6adm: Resolve mem corruption in adm cb
  dsp: afe: check for param size before copying
  asoc: update q6afe for aw882xx
  mbhc: set the type to lineout when zl or zr is zero.
  asoc: update aw882xx driver to v1.9.0.9
  asoc: change linein threshold
  asoc: update aw88261 driver's spin relase function
  asoc: devon support get awinic skt params from ram
  audio-kernel: enable CONFIG_AW882XX_MAPSIZE_16K for rhode
  audio-kernel: enlarge map size for aw882xx algo
  asoc: audio:update aw882xx driver to v1.9.0.7
  asoc: upgrade aw88261 driver to v1.9.0.6
  asoc: fix wcd937x build error
  audio: wcd937x_slave: Add retry while getting logical addr for wcd937x slave
  audio-kernel: modify rcv and spk smartpa config
  audio-kernel: devon fix build error
  audio-kernel: devon audio bring up
  asoc: upgrade aw88261 driver to v1.9.0.5
  asoc:update aw88261 spin config
  asoc:remove debug info for aw88261
  asoc:upgrade aw88261 driver to v 1.9.0.4
  asoc:upgrade aw88261 driver to v1.9.0.3
  hawaii OLED: hawao audio bringup
  hawaii OLED: hawao audio bringup
  asoc:upgrade aw88261 driver to v1.9.0.2
  asoc:upgrade aw88261 driver to v1.9 debug version
  rhode:mbhc:enable moisture detect for rhode
  rhode: audio: update awinic smartpa driver to V1.8.0.1
  rhode: audio: enable aw882xx algo param store in aw_skt.bin
  asoc:update audio config for rhode
  mbhc:disable moisture detect for rhode
  asoc:init rhode audio
  asoc:add aw88261 codec driver
  asoc: Add fs1818 support for guamp/guamna
  ASoC: update aw882xx driver to v0.1.17
  update aw882xx driver to v0.1.16
  soc: soundwire: Update hw_ctl on HCLK at bootup
  asoc:Enable necessary log for mbhc
  Audio bringup: asoc: add aw882xx support

 Conflicts:
	techpack/audio/asoc/codecs/Kbuild
	techpack/audio/asoc/msm-pcm-host-voice-v2.c
	techpack/audio/dsp/q6adm.c

Change-Id: Ia248afaace87b74c0003a41fd7c8087e5c77e8dd
2024-01-03 01:17:26 +02:00
Michael Bestas 0c7cd62b0a Merge tag 'MMI-T2SN33.73-22-3' of https://github.com/MotorolaMobilityLLC/kernel-msm into lineage-20
"Devon push for Android 13"

* tag 'MMI-T2SN33.73-22-3' of https://github.com/MotorolaMobilityLLC/kernel-msm:
  Revert "spi: spi-msm-geni: Keep device to suspend if PM call fails"
  BACKPORT: FROMGIT: binder: fix freeze race
  FROMGIT: binder: BINDER_GET_FROZEN_INFO ioctl
  binder: BINDER_FREEZE ioctl
  mm/rmap: Fix anon_vma->degree ambiguity leading to double-reuse
  techpack: add camera legacy support
  ANDROID: usb: f_accessory: Check buffer size when initialised via composite
  ALSA: pcm: Move rwsem lock inside snd_ctl_elem_read to prevent UAF
  video: fbdev: pxa3xx-gcu: Fix integer overflow in pxa3xx_gcu_write
  ext4: fix kernel infoleak via ext4_extent_header
  wifi: mac80211_hwsim: avoid mac80211 warning on bad rate
  fbcon: Disallow setting font bigger than screen size
  KVM: arm64: Allow SMCCC_ARCH_WORKAROUND_3 to be discovered and migrated
  arm64: Add Cortex-X2 CPU part definition
  arm64: Add Neoverse-N2, Cortex-A710 CPU part definition
  arm64: Add part number for Arm Cortex-A77
  fget: check that the fd still exists after getting a ref to it
  fs: add fget_many() and fput_many()
  mm: fix misplaced unlock_page in do_wp_page()
  mm: do_wp_page() simplification
  mm/ksm: Remove reuse_ksm_page()
  mm: reuse only-pte-mapped KSM page in do_wp_page()
  Revert "mm:Fix conflict of speculative fault and MGLRU"
  mm:vmscan:Update the page scan prioritiy
  skip USB PHY reset on charger removal
  fuse:Porting fuse passthrough feature
  mm: mglru fix on qcom baseline
  mm:Clean page_io revert conflict
  Revert write back changes
  iio:add bc12 type read iio.
  [rhode]:Modify ldo driver voltage[2/2]
  configs:Enable multi generation LRU
  arm64: pgtable: Fix pte_accessible()
  mm: fix unexpected zeroed page mapping with zram swap
  mm:Fix conflict of speculative fault and MGLRU
  FROMLIST: mm: multi-gen LRU: design doc
  FROMLIST: mm: multi-gen LRU: admin guide
  FROMLIST: mm: multi-gen LRU: debugfs interface
  FROMLIST: mm: multi-gen LRU: thrashing prevention
  FROMLIST: mm: multi-gen LRU: kill switch
  FROMLIST: mm: multi-gen LRU: optimize multiple memcgs
  FROMLIST: mm: multi-gen LRU: support page table walks
  FROMLIST: mm: multi-gen LRU: exploit locality in rmap
  FROMLIST: mm: multi-gen LRU: minimal implementation
  FROMLIST: mm: multi-gen LRU: groundwork
  FROMLIST: mm: x86: add CONFIG_ARCH_HAS_NONLEAF_PMD_YOUNG
  FROMLIST: mm: x86, arm64: add arch_has_hw_pte_young()
  BACKPORT: include/linux/mm_inline.h: fold page_lru_base_type() into its sole caller
  UPSTREAM: mm: VM_BUG_ON lru page flags
  BACKPORT: mm: add __clear_page_lru_flags() to replace page_off_lru()
  BACKPORT: mm/swap.c: don't pass "enum lru_list" to del_page_from_lru_list()
  UPSTREAM: mm/swap.c: don't pass "enum lru_list" to trace_mm_lru_insertion()
  BACKPORT: mm: don't pass "enum lru_list" to lru list addition functions
  BACKPORT: include/linux/mm_inline.h: shuffle lru list addition and deletion functions
  BACKPORT: mm/vmscan.c: use add_page_to_lru_list()
  BACKPORT: mm: use self-explanatory macros rather than "2"
  BACKPORT: mm: remove superfluous __ClearPageActive()
  BACKPORT: mm/swapcache: support to handle the shadow entries
  UPSTREAM: mm/vmscan.c: use update_lru_size() in update_lru_sizes()
  UPSTREAM: arm64: cpufeature: introduce helper cpu_has_hw_af()
  UPSTREAM: mm: replace list_move_tail() with add_page_to_lru_list_tail()
  kernel: add PD VDM VERIFY IIO channel.
  Low flashlight brightness bugfix
  Hawaii+ OLED: sim1+sim2+sd fast plugging cause phone hang
  kernel/config: hawao: usb: sim1+sim2+sd fast plugging cause phone hang
  arm/config: devon: add CONFIG_CAM_SENSOR_PROBE_RETRY
  shmem becomes bigger and bigger when launch apps
  driver/power: Add debug logs
  Hawao: Fix NFC power consumption in sleep mode.
  devon:charger bring up
  kernel:add bc12 detect channel definition
  Revert "(CR): drm: mipi: Disable the MIPI DSI commands 0x2E and 0x3E"
  devon4g: camera flash bringup
  FROMGIT: binder: fix test regression due to sender_euid change
  UPSTREAM: binder: use cred instead of task for getsecid
  BACKPORT: binder: use cred instead of task for selinux checks
  UPSTREAM: binder: use euid from cred instead of using task
  arm64/defconfig: add devon extra configs
  hawao: devconfig: enable CHACHA20 crypto configs
  rhode: devconfig: enable CHACHA20 crypto configs
  regulator: Force shutdown all regulators when system power off.
  arm64: defconfig: Flash compatible
  TZ: Distinguishes encrypted and unencrypted TZ logs interfaces.
  TZ: Fix build err
  Hawaii+OLED:remove CONFIG_QCOM_FSA4480_I2C
  defconfig: Disable SLAB_MERGE.
  arm64/config:Enable Zram writeback on hawao
  Enable LZ4 on Rhode4G and Hawao
  dts: rhode: remove CONFIG_QCOM_FSA4480_I2C
  mm: zram: fix build error when zram wb disabled
  mm : zram fix swapcached issue on Zram Writeback
  fs:proc:abort reclaim once process goes to foreground
  ip_gre: add validation for csum_start
  arm64/config:Enable Zram writeback on Rhode
  kernel:add charger termination definition
  rhode:kernel: add wt6670 get firmware num node
  kernel/config:hawao:remove FTS TP config to use module
  kernel/input:hawao:update to use TP module ko
  kernel: remove wt6670 isp macro definition for user version
  kernel/config:hawao: add new FTS config to fix build error
  input/touchscreen: add ft3519 source config
  input/ft3519: hawao touch driver bringup
  Revert "(CR) hawaii OLED: visionox ft3519 touch drvier bringup"
  kernel: add wt6670 macro definition to control i2c nack
  QC3P:add iio channel definition
  Rhode: define CONFIG_CAMERA_FLASH_PWM
  display: Modify LDO driver initialization voltage compatibility
  Hawao: NFC Bringup(4) - driver
  hawaii OLED: visionox ft3519 touch drvier bringup
  kernel: qc3p wt6760 isp download function
  kernel:add ADC_GPIO3_DIV3 adc channel
  display/config: Add LDO driver config into the kernel.
  display: Load the regulator driver directly into the kernel.
  kernel: use orderly_poweroff when usb plugged out
  tty:diag:Move tty_flip_buffer_push out of spinlock
  Revert "tty:revert the tty update from qcom for moto tty_diag driver"
  kernel:dwc3 delay extcon module registeration
  ANDROID: xt_quota2: set usersize in xt_match registration object
  ANDROID: xt_quota2: clear quota2_log message before sending
  ANDROID: xt_quota2: remove trailing junk which might have a digit in it
  arm/defconfig: add hawao extra config
  usb:diag:revert the f_diag update from qcom for moto tty_diag driver
  tty:revert the tty update from qcom for moto tty_diag driver
  : Enable samsung NFC driver
  : integrate samsung RN4V NFC driver
  Rhode4G: wide camera bring up
  kernel: add charger gki
  kernel: change spi gpio for i2c gpio for charger
  : Remove gpio3 from reserve list for rhode4g
  arm/defconfig: add rhode extra config
  Revert "(CR) guamp: emmc add ffu"
  Removing debug config
  [PATCH] qseecom: Call INIT_WORK() before flush_work()
  guamp: emmc add ffu
  Caprip: modify the actuator noise reduction work flow.
  Caprip: modify the actuator noise reduction work flow.
  APP data lost after first R upgrade
  Porting of (CR) replace WARN with pr_debug for IPA api
  MOTODESK-2239 Make NCM driver compatible with windows
  disable CONFIG_SLUB_DEBUG for user builds
  disable CONFIG_DEBUG_PANIC_ON_OOM in userdebug builds
  Include inlinecrypt at config.gz to fix Q->R upgrade
  usb: add xhci-hw-lpm-disable dt property support
  kernel:ram overwritten by TZ logs to cause random panics
  caprip: Add start/stop vibrating notification to actuator.
  arm64: defconfig: Actuator noise reduction.
  kernel: driver/vibrator: diff vol for long/short vib
  skip ipa assert for debug build (patch 2)
  skip ipa assert for debug build
  limit ion cache size
  Revert "(CR) power: Add wakeup source in battery historian logging"
  power: print active wakeup source before suspend.
  alarmtimer: add debug to identify alarmtimers
  charger:driver:fix non power off issue for factory kill.
  arm64/defconfig: capri: open nfc driver for capri
  arm64/defconfig: disable debug fs on user build
  charger:support typec high 2A current at non-turbo product
  arm/defconfig: enable CONFIG_DEBUG_LIST on R
  soc: qcom: service-locator: enlarge timeout value
  arm/defconfig: caprip: init kernel deconfig
  arm/defconfig: capri: init kernel deconfig
  Revert "Revert "msm: media: uapi: Redefine NV12 format with different alignment""
  Revert "msm: media: uapi: Redefine NV12 format with different alignment"
  clear SDAM for new battery profile loading.
  disable DEBUG_PANIC_ON_OOM on 3G ram device
  driver:qg:enale QG_DEBUG_SOC.
  Charge: fix slab out of bounds risk
  charge: qc2.0 adapter charge slow
  charge: Handle QC2.0 charger vbus rise 12V
  BCL: Enable charge bcl feature
  arm: setup: support mem= memory limit
  arm: call idle notifiers in CPU idle
  charger:improve micro-b input current to 1.9A per HW
  Capri bring up
  kernel:distinguish type-c and microb cdp input setting
  disable SPLIT_RSS_COUNTING to fix zero RSS issue
  charger:add battery test mode support for cebu.
  spi: disable_depth > 0 when pm runtime get sync
  driver/spi: spi driver suspend changes
  kernel: panel_notifier: Add new panel notify event type
  mmc:host:sdhci:Fix host->claimer NULL pointer problem
  Change ION fill mark from 100M to 16M to reduce the Lost RAM
  arm/defconfig: cebu: init kernel deconfig
  : NFC VEN pin startup and shutdown sequence
  disable watermark boost
  charge:Config DCP 2A charge current
  tune memory configs
  charger:limit typec high to medium when hvdcp disabled
  charger:support 2A dcp charger
  arm64/defconfig: enable external usb camera
  power: reset: Use warm reset for dload mode
  Update kernel config of userdebug on Guam/GuamP to improve performance
  charger:duplicated apsd detection at pmi632
  expose ssr_reason to ss_ramdump
  SD: print SD interrupt log
  charger:SW_ICL do not used at moto
  charger:factory image charging soc over 75%
  usb audio: Let the usb sound card index from 1
  kernel:USB DRP connect debug accessory test
  charge: config: config batt NTC for bornr NA
  Kernel: add sys node for panel supplier
  gpu/drm: Create panelRegDA sysfs to expose panel's reg
  pwrkey: change printk level to output to console
  Reboot: trigger warm reset when receive hw_warmreset cmd
  disable CONFIG_DEBUG_CONSOLE_UNHASHED_POINTERS for sts test
  Revert (CR): power: smb5: Clear HDC AICL
  arm/defconfig: borneo:  init kernel deconfig
  guam serials: remove kernel config for PASR
  Revert "mm, vmstat: hide /proc/pagetypeinfo from normal users"
  arm/defconfig: guamna: init kernel deconfig
  arm/defconfig: add 32bit debug config
  defconfig.mk: add arch specific debug
  enable psi for guam guamp
  Revert "defconfig: disable MEMCG for bengal 32"
  Fix QC rebase issue for dual role sysfs access issue
  ion: display ion total size in debufs node
  ion: dmabuf improve debugfs
  kernel:support huawei p10 5A cable
  bengal:Enable dual role usb interface
  smb5:Add dual role class support in smb5
  usb:Add dual role class support
  sdcardfs: don't depend on reserved_mb to check free space
  sdcardfs: check the free space before creating files
  sdcardfs: copy inode size while getting attributes
  : remove nfc function for guam
  charger:allow APSD re-run at factory usb detection
  CONFIG_FPR_FPC disable for rebase fingerprint fix
  defconfig.mk: Don't force make defconfig
  gitignore: ignore dts link
  guamp: arm64/dtsi enable regulator_fixed_voltage
  power: Add wakeup source in battery historian logging
  arm64/defconfig: enable softlockup panic for debug
  : arm64/defconfig : enable NFC
  kernel:add OCP charger current limitation
  guam: add touch module support
  Revert "(CR): config: disable CONFIG_PANIC_ON_REFCOUNT_ERROR"
  arm64/defconfig: disable debug config
  config: disable CONFIG_PANIC_ON_REFCOUNT_ERROR
  arm64/configs: sm4250: Enable USB console
  tty: msm_geni_serial: Support the match() callback
  printk: Keep boot console on if enabled
  arm64/config: support UAS of usb storage
  arm64/defconfig: enable usbnet drivers
  usb:configfs:Set udc_name NULL if attach failed
  usb/dwc3: msm: Enable all Debug Logs
  gadget: bcdUSB version back to 2.0 when not SuperSpeed
  usb: configfs: synchronize the secure and udc_name state
  usb: configfs: skip unregister gadget in secure
  usb: gadget: f_mtp: Return error if count is negative
  usb: gadget: storage: Support READ_TOC for MacOS
  usb: configfs: Implement secure attribute
  usb: configfs: Reset the use_os_desc flag
  usb: mass_storage: Add support for SC_REBOOT
  usb: f_mtp: Handle OS descriptors only when bound
  config:remove unused smb1355 config
  guam: input add touch class support
  arm64/config: enable DIAG_OVER_TTY
  drivers: tty: add tty diag module
  char: diag: add write done sync function
  panel_notify: add api for touch state
  guam: defconfig: enable panel notifications
  video: Add panel_notifier framework
  drm: mipi: disable Elvss dim of HBM for MIPI DSI
  Add new macro MIPI_DSI_MSG_READ
  gpu/drm: Create sysfs to expose panel vendor infor
  drm: mipi: Disable the MIPI DSI commands 0x2E and 0x3E
  drm/dsi: Implement DCS set disp brightness 2bytes
  guam: input add drm support
  defconfig: bengal: enable pstore
  power: Add function to show active wakelocks
  power: suspend: Save snapshot of gpio, vreg when suspend
  PM/Suspend: Print wall time at suspend entry and exit
  - Do not unload prov TZ app.
  add system restart warm and panic mode
  printk: increase log buffer size to 2k
  qpnp-power-on: Print system timestamp on Power key event
  regulator: core: Add sysfs node for debug
  pinctrl: msm: Add sysfs node for debug
  watchdog_v2: export watchdog trigger
  pinctrl: pinctrl-msm: do not dump unallocated GPIOs
  of: conditional status property
  arm64/dt add kpanic modules
  kernel:moto charger/battery driver enable
  config:battery 10k ntc enable
  guamp: input add touch support
  input add touch support
  kernel:JK50 NTC 10K report wrong temp
  arm/defconfig: update debug option
  defconfig: enable CONFIG_MEMCG config
  defconfig: bengal: Add moto defconfigs
  msm-poweroff: Store restart reason
  power: pmic-voter: Export Interfaces
  Do not build moto config while building MSI
  kernel/config: Add Moto ext_config feature
  soc: qcom: kconfig opt to build moto dtbs
  soc: qcom: socinfo: Add sku sysfs support
  soc: qcom: socinfo: Add revision 16 support in socinfo structure
  net: qrtr: fifo: Add bounds check on tx path
  msm: ADSPRPC: Restrict untrusted applications from attaching to GuestOS
  msm: kgsl: Zap performance counters across context switches
  msm: kgsl: Add a sysfs node to control performance counter reads
  tzlog: update struct to get normal and fatal diag logs
  firmware: qcom: Remove garbage characters from qsee log
  firmware: qcom: add enlarged qsee log support
  firmware: qcom: encrypted tz and qsee log support
  serial: msm_geni_serial: Reduce stale delay added in stop_rx_sequencer
  clk: qcom: debugcc: Remove the gcc_camss_camnoc clocks
  defconfig: Enable CONFIG_ION_SYSTEM_HEAP for bengal
  f2fs: fix the periodic wakeups of discard thread
  f2fs: allow to change discard policy based on cached discard cmds
  msm: adsprpc: Lock list before removing node
  clk: qcom: gpucc: Update the post div ops for GPUCC PLL for KHAJE
  clk: qcom: clk-alpha-pll: Update implementation for Zonda PLL
  msm: kgsl: Use pid struct to find the process to reclaim
  mm: process_reclaim: pass pid struct instead of tgid
  msm: kgsl: Change vma->vm_file to shmem file
  mm: process_reclaim: skip target_vma
  net: qrtr: Excessive logging casuing boot failure
  Revert "msm: kgsl: Add GPUCC register dumps to A6xx GPU snapshot"
  defconfig: msm: Enable CONFIG_STATIC_USERMODEHELPER for bengal_32
  fdt: Update CRC check for rng-seed
  defconfig: Enable blk-crypto-fallback to handle sw crypto request
  md: dm-default-key: Use system sector size for SDHCI devices
  msm: mink: Fix copy_to_user issue
  fix corrupt merge
  serial: msm_geni_serial: Disable irq only for HSUART usecase
  msm_geni_serial: Correct the DMA RX interrupt logic

 Conflicts:
	.gitignore
	arch/arm/include/asm/spectre.h
	arch/arm64/include/asm/cpufeature.h
	arch/arm64/include/asm/cputype.h
	drivers/gpu/drm/drm_mipi_dsi.c
	drivers/soc/qcom/socinfo.c
	drivers/usb/gadget/function/f_ncm.c
	drivers/usb/gadget/function/u_ncm.h
	drivers/video/fbdev/core/fbcon.c
	fs/file.c
	fs/fuse/dev.c
	fs/fuse/file.c
	fs/fuse/fuse_i.h
	fs/fuse/passthrough.c
	include/drm/drm_mipi_dsi.h
	include/linux/page-flags-layout.h
	include/linux/rmap.h
	include/uapi/linux/dma-buf.h
	include/uapi/linux/fuse.h
	mm/page_io.c
	mm/rmap.c

Change-Id: I284de7199b3bfc44db2cfc89b2cd00a51bebdb6d
2024-01-03 01:02:41 +02:00
ziqic ede19bd3c1 msm: vidc: fix error during debugfs init
When CONFIG_DEBUG_FS is disabled, the call to
debugfs_create_dir will result in an error.

Add a check of the config to avoid the error.

Change-Id: I7a79dbc5c4c5e1e3192a11d55ad9b7994788f30f
Signed-off-by: ziqic <quic_ziqic_01@quicinc.com>
2023-12-14 13:15:39 +02:00
Michael Bestas 58a190757c Merge tag 'LA.UM.9.12.r1-17400-SMxx50.QSSI13.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/video-driver into android13-4.19-kona
"LA.UM.9.12.r1-17400-SMxx50.QSSI13.0"

* tag 'LA.UM.9.12.r1-17400-SMxx50.QSSI13.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/video-driver:
  msm : Cap framerate for all Intra setting
  msm : Cap framerate for all Intra setting
  video: driver: Return proper error code
  video: driver: Return proper error code

Change-Id: I6a750e08cd103f054a993ff8cc3eb147f2beafa6
2023-11-09 14:50:39 +02:00
Michael Bestas 562179ef39 Merge tag 'LA.UM.9.12.r1-17400-SMxx50.QSSI13.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/audio-kernel into android13-4.19-kona
"LA.UM.9.12.r1-17400-SMxx50.QSSI13.0"

* tag 'LA.UM.9.12.r1-17400-SMxx50.QSSI13.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/audio-kernel:
  dsp: q6asm: Add check for ADSP payload size
  ASoC: msm-audio-effects-q6-v2: Add BPF order check
  dsp: q6afe: Add check for fbsp state
  ASoC: msm-lsm-client: Integer overflow check
  dsp: Correct copyright info

 Conflicts:
	techpack/audio/dsp/msm_audio_ion.c

Change-Id: If36269f6078703b3da8486049b07b993d190ccc3
2023-11-09 14:46:03 +02:00
lucaswei 2f041349d1 techpack: video: hfi_iris2: Fix -Wpointer-to-int-cast
msm/vidc/hfi_iris2.c:170:3: error: cast to smaller integer type 'u32' (aka 'unsigned int') from 'u8 *' (aka 'unsigned char *') [-Werror,-Wpointer-to-int-cast]
                (u32)device->iface_q_table.align_virtual_addr, sid);
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Casting `device->iface_q_table.align_virtual_addr` to uintptr_t first, then
cast to u32 to avoid pointer-to-int-cast errors.

Bug: 171827315
Signed-off-by: lucaswei <lucaswei@google.com>
Change-Id: I687af3df978841d4cba8ea658176187d1fb56837
2023-11-07 19:15:45 +05:45