| Commit message (Collapse) | Author | Age |
| |
|
|
| |
Change-Id: I126075a330f305c85f8fe1b8c9d408f368be95d1
|
| |
|
|
| |
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
|
| |\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
https://source.codeaurora.org/quic/la/kernel/msm-4.4 into lineage-18.1-caf-msm8998
"LA.UM.9.2.r1-03300-SDMxx0.0"
* tag 'LA.UM.9.2.r1-03300-SDMxx0.0' of https://source.codeaurora.org/quic/la/kernel/msm-4.4:
icmp: randomize the global rate limiter
msm: mdss: hdmi: add checksum for HDR infoframe
msm: mdss: hdmi: finetune CEC_REFTIMER:REFTIMER
block: Fix use-after-free in blkdev_get()
msm: ipa: Send actual DL flt rule length to Q6
msm: gsi: Using kzalloc instead of devm_kzalloc
qseecom: Added boundary checks between two subsequent fields
asoc: Add check to handle negative value passed for num_app_cfg_type
msm: kgsl: Access map_count only if entry is successfully allocated
dm verity: skip verity work on I/O errors when system is shutting down
msm: kgsl: Disable all yield packets for secure contexts
ANDROID: xt_qtaguid: Remove tag_entry from process list on untag
fs/binfmt_elf.c: allocate initialized memory in fill_thread_core_info()
msm: kgsl: Deregister gpu address on memdesc_sg_virt failure
Change-Id: I7e3b6f292b960a17501f52ce6be8aace8f1ab012
|
| | |\ |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Currently max length size of DL flt rule is
sent to Q6. But 64K memory allocation is not
always guranteed. Send actual size of DL flt rule
to Q6 to avoid memory error and install flt rule.
Change-Id: I5bb6d2d2b564d06c2f0521aaa2a3c54dc646f07e
Signed-off-by: Armaan Siddiqui <asiddiqu@codeaurora.org>
|
| | |/
| |
| |
| |
| |
| |
| |
| | |
devm_kzalloc causes memory failure, so using kzalloc
to avoid memory allocation failure.
Change-Id: I85befc8c2b06ce74419e4e508fc982ff4df5a343
Signed-off-by: Armaan Siddiqui <asiddiqu@codeaurora.org>
|
| |\|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
https://source.codeaurora.org/quic/la/kernel/msm-4.4 into lineage-18.1-caf-msm8998
* tag 'LA.UM.9.2.r1-02000-SDMxx0.0' of https://source.codeaurora.org/quic/la/kernel/msm-4.4:
net: ipv6: Use passed in table for nexthop lookups
ipv6: addrconf: use stable address generator for ARPHRD_NONE
msm: kgsl: Protect the memdesc->gpuaddr in SVM use cases
msm: kgsl: Stop using memdesc->usermem
msm: kgsl: Correct the refcount on current process PID
HID: sony: Update hid_have_special_driver
UPSTREAM: HID: input: map digitizer battery usage
HID: input: ignore the battery in OKLICK Laser BTmouse
defconfig: Enable CONFIG_HID_NINTENDO for msm8998
iio: qcom-rradc: Update logic to monitor health of RRADC peripheral
qcom: fg-memif: Correct timeout condition for memory grant
power: qpnp-fg-gen3: Add a property to reset FG BCL device
msm: ipa3: Add check to validate rule_cnt
power_supply: add FG_RESET_CLOCK property
defconfig: Enable CONFIG_HID_NINTENDO for SDM660
FROMLIST: HID: nintendo: add nintendo switch controller driver
defconfig: Enable UTS_NS for sdm660
Conflicts:
drivers/hid/hid-input.c
drivers/power/power_supply_sysfs.c
include/linux/power_supply.h
Change-Id: I577e4b1d9410887224dbdb192c6eea1f2de6aded
|
| | |
| |
| |
| |
| |
| |
| |
| | |
Add proper check to validate table rule count
which may lead to overflow error.
Change-Id: I9bdcafcaae4e4cff1b901929c8dc6ae804f85642
Signed-off-by: Praveen Kurapati <pkurapat@codeaurora.org>
|
| |\|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
https://source.codeaurora.org/quic/la/kernel/msm-4.4 into lineage-17.1-caf-msm8998
* tag 'LA.UM.8.4.r1-06200-8x98.0' of https://source.codeaurora.org/quic/la/kernel/msm-4.4:
crypto: Fix possible stack out of bound error
ASoC: sdm660_cdc: Fix ear_pa_gain control
soc: qcom: service-locator: Free PD list after client use
cfg80211: Enhance the AKM advertizement to support per interface
msm: kgsl: Don't wait for room in context queue when context is invalidated
msm: kgsl: Don't allow re-importing memory owned by KGSL
usb: dwc3: ep0: Return from handle_status if ep0_delegate_req succeeds
scsi: ufs: Flush exception event before suspend
msm: ipa: Fix deleting the routing entries
mm-camera2:isp2: Add support for 12bit-plain16 raw format
Revert "ipv6: defrag: drop non-last frags smaller than min mtu"
usb: dwc3: ep0: Return from handle_status if ep0_delegate_req succeeds
Change-Id: Ifcb5f033b250feaa41c4916bbbec757334e3429e
|
| | |
| |
| |
| |
| |
| |
| |
| | |
Make changes to delete the route entry even when the hdr/proc_ctx
handles are already freed. Otherwise the entry will be dangling.
Change-Id: Icbab6b96fa137c5214b37ea33c6203c5a54273ac
Signed-off-by: Michael Adisumarta <madisuma@codeaurora.org>
|
| |\|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
https://source.codeaurora.org/quic/la/kernel/msm-4.4 into lineage-17.1-caf-msm8998
* tag 'LA.UM.8.4.r1-05700-8x98.0' of https://source.codeaurora.org/quic/la/kernel/msm-4.4:
msm: adsprpc: Fix array index underflow problem
profiler: Fix compilation errors
fbdev: msm: fix ret value while translating to mdp format
clk: msm: Fix compilation errors with clang
ath10k: Fix compilation issue
drm/msm/sde: Fix clang compilation in SDE driver
ais: cam_soc_api: Fix compilation error
msm: camera: reset atomic variable
msm: v4l2loopback: Fix clang compilation error
msm: Fix compilation error
asoc: msm-8998: Add new FE's for TDM Primary
diag: dci: Synchronize dci mempool buffers alloc and free
headers_lib: rename Android.bp
kbuild: skip install/check of headers right under uapi directories
uapi: export all arch specifics directories
kernel_headers: Fix headers not detected in incremental builds
kernel headers: Update comparison logic
Kbuild : Use no-export-headers to avoid exporting headers
kernel_headers: kernel headers library package
kbuild: replace genhdr-y with generated-y
uapi: export all headers under uapi directories
uapi: sound: move necessary sound headers under uapi
kernel: Fix build errors with LLVM
Revert "ARM: dts: msm: Remove cpu max frequency restriction on cold temp for msm8996."
ARM: dts: msm: Remove cpu max frequency restriction on cold temp for msm8996.
input: touchpanel: Fix compilation errors with clang
asoc: msm-8998: TDM device grouping changes for capture path
kbuild, x86: Track generated headers with generated-y
kbuild: Remove stale asm-generic wrappers
ARM: put types.h in uapi
msm: ais: jpegdma: Fix uninitialized variable
Makefile.headersinst: remove destination-y option
msm: adsprpc: DSP device node to provide restricted access to ADSP/SLPI
Conflicts:
.gitignore
drivers/mmc/core/sdio_cis.c
Change-Id: I70cf2a0fbcfcbc834a21cf7fa8db9bd2e1c755b1
|
| | |
| |
| |
| |
| |
| |
| |
| | |
This patch intends to fix compilation errors
while building kernel with LLVM toolchain.
Change-Id: I76c4f97d8a0efb44434d54fb07cae23b050d2003
Signed-off-by: Swetha Chikkaboraiah <schikk@codeaurora.org>
|
| | |
| |
| |
| | |
This reverts commit 7bd288d0bf00531c520aa26ad0582ed52c266969.
|
| | |
| |
| |
| | |
This reverts commit fc9b313534e6c572a93475d71005431604f8d856.
|
| | |
| |
| |
| | |
This reverts commit f133f6bfdc78ec159b50b1f4c2f496e2933b18a0.
|
| |\|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
https://source.codeaurora.org/quic/la/kernel/msm-4.4 into lineage-17.1-caf-msm8998
* tag 'LA.UM.8.4.r1-05500-8x98.0' of https://source.codeaurora.org/quic/la/kernel/msm-4.4:
ARM: convert to generated system call tables
ARM: remove indirection of asm/mach-types.h
mm/zsmalloc.c: change stat type parameter to int
msm: sde: fix mem access of sde rotator regdma ram
soc: qcom: Fix strlcpy compilation error with clang
sysmon-qmi: Fix compilation error while using LLVM
mm/zsmalloc.c: fix -Wunneeded-internal-declaration warning
sched/sysctl: Fix attributes of some extern declarations
ion: Fix typecasting of msm_ion_heap_types
soc: qcom: glink_debugfs: Fix compilation error with clang
msm: ipa3: Fix compilation errors after enabling LLVM
msm: ipa: Fix assignment warning with clang
mmc: host: sdhci-msm-ice: Fix clang warning with NOT operator usage
driver : Fix warnings and errors with llvm
soc: qcom: access smp2p_smem structure with I/O function
Makefile: Disable undefined-optimized and tautological features
ANDROID_BUILD_TOP is deprecated.
AndroidKernel: Update the LLVM path
AndroidKernel: Add configuration for the LLVM path
AndroidKernel: Add LLVM support for Kernel
drivers: hwmon: Fix compilation errors in ADC for kernel 4.9
msm: camera: Fix warnings and errors with llvm
f_qc_rndis: Remove unused structure
crypto: qcedev: Fix out of memory issue
crypto: msm: update QTI crypto drivers for msm-4.4
fbdev: msm: wait for frame complete before triggering dma cmd
msm: mdss: hdmi: don't reset CEC while triggering message send
fbdev: msm: Fix race condition during te_irq calls
msm: camera: Fix OOB issue in IR CUT driver
Change-Id: Ib371d4baa8840eabda4bd825d3abcd86e79d5c7a
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
After enabling compilation with LLVM for ipa driver,
assignment errors occurred. Added changes to resolve
compilation warnings.
Change-Id: I66b8c3f37677586955e5aba3250bc24bd93bad62
Signed-off-by: Praveen Kurapati <pkurapat@codeaurora.org>
Signed-off-by: Swetha Chikkaboraiah <schikk@codeaurora.org>
|
| | |
| |
| |
| |
| |
| |
| |
| | |
Use proper enum to fix assignment warning with clang.
Change-Id: I0cee18312a3f4d6f8ae39de2a77ed7c61e19c90c
Signed-off-by: Naitik Bharadiya <bharad@codeaurora.org>
Signed-off-by: Swetha Chikkaboraiah <schikk@codeaurora.org>
|
| | |
| |
| |
| |
| |
| |
| |
| | |
* We'll take the upstream fix
This reverts commit 072d09418a9391b45941c7e42aaf76da510cd6b6.
Change-Id: Ibdd7fad464627ac7474b76d0792ceb49fb1c59aa
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Clang warns:
../drivers/platform/msm/ipa/ipa_v2/rmnet_ipa.c:704:24: warning: implicit
conversion from enumeration type 'enum qmi_result_type_v01' to different
enumeration type 'enum ipa_qmi_result_type_v01' [-Wenum-conversion]
req->install_status = QMI_RESULT_SUCCESS_V01;
~ ^~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
Use the proper enum type, which has the same value.
Fixes: 14bf6793b8e8 ("msm: ipa3: support IPA driver")
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
After enabling compilation with LLVM for ipa driver,
assignment errors occurred. Added changes to resolve
compilation warnings.
Change-Id: I66b8c3f37677586955e5aba3250bc24bd93bad62
Signed-off-by: Praveen Kurapati <pkurapat@codeaurora.org>
Link: https://source.codeaurora.org/quic/la/kernel/msm-4.9/commit/?id=c347cb0ad2452aaf998531291f773cdc83424c6e
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Driver incorrectly uses bam_mode (device/host) as bam_type
(dwc3/CI). This logic will work as long as bus-suspend
happens for dwc3 in device mode with BAM function but will
fail with CI core in device mode. However host mode BAM
pipes are no longer supported. Fix this by using proper
variable for bam_type instead of cur_bam_mode.
Change-Id: Id3b2bf3e578b5c339c46c940645b439dfafd28fb
Signed-off-by: Manu Gautam <mgautam@codeaurora.org>
Link: https://source.codeaurora.org/quic/la/kernel/msm-4.9/commit/?id=077bb02a08aee79cc25bf12af1d109db7bdb8519
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
commit 189a5aa30fc8 ("msm: ipa3: Fix IPA aggregation register val-mask
calculation") introduced a compile time error. The logical '&&' has been
used in a situation where the bitwise '&' operator is needed.
drivers/platform/msm/ipa/ipa_v3/ipahal/ipahal_reg.c:2132:67: error: use of logical '&&' with
constant operand [-Werror,-Wconstant-logical-operand]
valmask->val = (1 << IPA_ENDP_INIT_AGGR_n_AGGR_FORCE_CLOSE_SHFT) &&
^
drivers/platform/msm/ipa/ipa_v3/ipahal/ipahal_reg.c:2132:67: note: use '&' for a bitwise
operation
valmask->val = (1 << IPA_ENDP_INIT_AGGR_n_AGGR_FORCE_CLOSE_SHFT) &&
^~
&
drivers/platform/msm/ipa/ipa_v3/ipahal/ipahal_reg.c:2132:67: note: remove constant to silence
this warning
valmask->val = (1 << IPA_ENDP_INIT_AGGR_n_AGGR_FORCE_CLOSE_SHFT) &&
~^~
drivers/platform/msm/ipa/ipa_v3/ipahal/ipahal_reg.c:2136:60: error: use of logical '&&' with
constant operand [-Werror,-Wconstant-logical-operand]
valmask->val |= ((0 << IPA_ENDP_INIT_AGGR_n_AGGR_EN_SHFT) &&
^
drivers/platform/msm/ipa/ipa_v3/ipahal/ipahal_reg.c:2136:60: note: use '&' for a bitwise
operation
valmask->val |= ((0 << IPA_ENDP_INIT_AGGR_n_AGGR_EN_SHFT) &&
^~
&
drivers/platform/msm/ipa/ipa_v3/ipahal/ipahal_reg.c:2136:60: note: remove constant to silence
this warning
valmask->val |= ((0 << IPA_ENDP_INIT_AGGR_n_AGGR_EN_SHFT) &&
~^~
2 errors generated.
Fixes: 189a5aa30fc8 ("msm: ipa3: Fix IPA aggregation register val-mask calculation")
Signed-off-by: Daniel Mentz <danielmentz@google.com>
Change-Id: Ia077e270743e4551e4b7777c2ced5b021487fff6
CRs-fixed: 2196859
Signed-off-by: Ghanim Fodi <gfodi@codeaurora.org>
Link: https://source.codeaurora.org/quic/la/kernel/msm-4.9/commit/?id=9400cb84016214a08682c4d9726179e572e0c9a6
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The register value and mask used to configure IPA
aggregation are miscalculated at IPA HAL.
The mask value used per H/W version is pre-shifted
and there is no need to shift it.
Change-Id: Ia269e91a96430fc96975cb15b6b37b250f05eda7
Signed-off-by: Ghanim Fodi <gfodi@codeaurora.org>
Link: https://source.codeaurora.org/quic/la/kernel/msm-4.9/commit/?id=189a5aa30fc8bddc0e6f7f88dc5007e6d9601bea
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
|
| |/
|
|
|
|
|
|
|
| |
If RT table size is zero, retrun to prevent
further process.
Change-Id: Ic671b1760969e6a5f5e896f5334289061b02d256
Acked-by: Pooja Kumari <kumarip@qti.qualcomm.com>
Signed-off-by: Mohammed Javid <mjavid@codeaurora.org>
|
| |
|
|
|
|
|
|
|
| |
Adding a function to check for dangling pointer using IPA IDR structure
to avoid use after free error.
Change-Id: I0bd3d733bf10403366abc643f89c3e5c5e6228e9
Acked-by: Suhas Mallesh <smallesh@qti.qualcomm.com>
Signed-off-by: Michael Adisumarta <madisuma@codeaurora.org>
|
| |
|
|
|
|
|
|
| |
Change spin_lock api to spin_lock_bh to provide synchronization
between bottom halves and threads.
Change-Id: Ia964796e3d91ebce60238ad110086ba06a1026c1
Signed-off-by: Amandeep Singh <amansing@codeaurora.org>
|
| |
|
|
|
|
|
|
| |
Remove irq release call while switching to RDDM as the same
is done during the function removal sequence.
Change-Id: I0013c304f739269014caa565c15d851ee2c39aa4
Signed-off-by: Amandeep Singh <amansing@codeaurora.org>
|
| |
|
|
|
|
|
|
| |
Release interrupt synchronously on driver teardown such as during
re-enumeration, manual rmmod and device power down.
Change-Id: I8a2f97266513001ed9a6c08b8ca865c9ffac9065
Signed-off-by: Amandeep Singh <amansing@codeaurora.org>
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| | |
Add QCN SDIO core diver directory in parent directory's Kconfig
to enable its compilation.
Change-Id: I176d17040bf4a63d19635272088e0c4053f8a092
Signed-off-by: Amandeep Singh <amansing@codeaurora.org>
|
| |\| |
|
| | |
| |
| |
| |
| |
| |
| |
| | |
Fix type casting of channel descriptor to avoid memory access
violations during the descriptor usage.
Change-Id: I3d73bf327fd796f482e492265d18d3417f21dc9a
Signed-off-by: Amandeep Singh <amansing@codeaurora.org>
|
| |\| |
|
| | |
| |
| |
| |
| |
| |
| |
| | |
Update card state change API to synchronize multiple invocation
of the same API from different drivers.
Change-Id: I03c18a9540bdb64fa462262faa9cabe158e9e199
Signed-off-by: Amandeep Singh <amansing@codeaurora.org>
|
| |\| |
|
| | |
| |
| |
| |
| |
| |
| | |
Add driver state information param to view from the user space.
Change-Id: I2d4cd86ae5d67ac948a93d28e24ea96394343513
Signed-off-by: Amandeep Singh <amansing@codeaurora.org>
|
| | |
| |
| |
| |
| |
| |
| |
| | |
Disable retuning in function 1 driver by default. Created a sysfs
entry to enable it if needed.
Change-Id: I29b5ea4a8e0f1614b10226edb21c6cbeb7a327cd
Signed-off-by: Amandeep Singh <amansing@codeaurora.org>
|
| | |
| |
| |
| |
| |
| |
| | |
Switch driver operating mode to RDDM when target device switches to RDDM.
Change-Id: I501672f4965e57e59f5a272e35534e66c63b67c1
Signed-off-by: Amandeep Singh <amansing@codeaurora.org>
|
| |\| |
|
| | |
| |
| |
| |
| |
| |
| | |
Add API to dynamically add and remove the SDIO card on demand.
Change-Id: I946115880da75804a6636616d9cf7cfb4a682b92
Signed-off-by: Amandeep Singh <amansing@codeaurora.org>
|
| | |
| |
| |
| |
| |
| |
| |
| | |
Add QCN SDIO core diver config into Makefile and
Kconfig to enable its compilation.
Change-Id: I19d184c628658175179d9b5c52a3a8bd07dd7999
Signed-off-by: Amandeep Singh <amansing@codeaurora.org>
|
| |\| |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Add synchronization support between clients that operate on different
modes, i.e. synchronous or asynchronous. The synchronous client will
momentarily switch to asynchronous if any asynchronous transmission is
scheduled.
Change-Id: I41aec9bff950d2816a9ce55017e118e8504be77a
Signed-off-by: Amandeep Singh <amansing@codeaurora.org>
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The current QCN core driver support four concurrent clients,
and there can be only two CRQ's that can be raised per client
from device.
Reserve 8 bufferes for data reception from device to host.
Change-Id: Iac72b5dd51988ffd1139bf55ecb9799bded77710
Signed-off-by: Amandeep Singh <amansing@codeaurora.org>
|
| | |
| |
| |
| |
| |
| |
| |
| | |
Increase RW queue size to compensate higer data transfer from host
to device, when device is operating at lower frequencies.
Change-Id: I443aead06c757cde40ee99ea2c29a5f323249b8b
Signed-off-by: Amandeep Singh <amansing@codeaurora.org>
|
| | |
| |
| |
| |
| |
| |
| |
| | |
Update read/write API in QCN sdio core driver to issue CMD53
instead of CMD52 for data equal or greater than 4 bytes.
Change-Id: I5641f32fa8896d3fafb087b440ff69ad936a83ee
Signed-off-by: Amandeep Singh <amansing@codeaurora.org>
|
| | |
| |
| |
| |
| |
| |
| |
| | |
Add QCN SDIO core driver as function-1 driver to provide streamlined
communication for peripheral device connected over sdio.
Change-Id: Ia8aec77807b59d3e1476b0a12ee7016809335b39
Signed-off-by: Amandeep Singh <amansing@codeaurora.org>
|
| |/
|
|
|
|
|
|
|
| |
During device reboot when IPA is going for shutdown,
the allocation for memory request fails. Add change in
IPA to not sleep while memory allocation.
Change-Id: I0bdbf0f622770566ad1135c76f6edc2790285420
Signed-off-by: Pooja Kumari <kumarip@codeaurora.org>
|
| |
|
|
|
|
|
|
|
|
| |
Couple of code cleanup
- Check for upper boundary for resource_index
not to dependent on ipa_rm_dep_get_index function.
- Check actual argument for NULL and return.
Change-Id: I0ab244e68d96f7841ab2a10e61f2546314166165
Signed-off-by: Mohammed Javid <mjavid@codeaurora.org>
|