summaryrefslogtreecommitdiff
path: root/drivers/platform/msm/ipa (follow)
Commit message (Collapse)AuthorAge
* Merge remote-tracking branch 'msm8998/lineage-20' into lineage-20Raghuram Subramani2024-10-17
| | | | Change-Id: I126075a330f305c85f8fe1b8c9d408f368be95d1
* Merge tag 'LA.UM.9.2.r1-03300-SDMxx0.0' of ↵Michael Bestas2021-05-31
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * msm: ipa: Send actual DL flt rule length to Q6Armaan Siddiqui2021-03-24
| | | | | | | | | | | | | | | | | | | | 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>
* | Merge tag 'LA.UM.9.2.r1-02000-SDMxx0.0' of ↵Michael Bestas2021-02-06
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * msm: ipa3: Add check to validate rule_cntPraveen Kurapati2020-12-09
| | | | | | | | | | | | | | | | 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>
* | Merge tag 'LA.UM.8.4.r1-06200-8x98.0' of ↵Michael Bestas2020-12-09
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * msm: ipa: Fix deleting the routing entriesMichael Adisumarta2020-10-08
| | | | | | | | | | | | | | | | 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>
* | Merge tag 'LA.UM.8.4.r1-05700-8x98.0' of ↵Michael Bestas2020-07-23
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * kernel: Fix build errors with LLVMSwetha Chikkaboraiah2020-05-21
| | | | | | | | | | | | | | | | This patch intends to fix compilation errors while building kernel with LLVM toolchain. Change-Id: I76c4f97d8a0efb44434d54fb07cae23b050d2003 Signed-off-by: Swetha Chikkaboraiah <schikk@codeaurora.org>
* | Revert "msm: ipa3: Fix IPA aggregation register val-mask calculation"Michael Bestas2020-07-23
| | | | | | | | This reverts commit fc9b313534e6c572a93475d71005431604f8d856.
* | Revert "msm: ipa3: Use bitwise instead of logical operator"Michael Bestas2020-07-23
| | | | | | | | This reverts commit f133f6bfdc78ec159b50b1f4c2f496e2933b18a0.
* | Merge tag 'LA.UM.8.4.r1-05500-8x98.0' of ↵Michael Bestas2020-06-03
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * msm: ipa3: Fix compilation errors after enabling LLVMPraveen Kurapati2020-04-28
| | | | | | | | | | | | | | | | | | | | 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>
| * msm: ipa: Fix assignment warning with clangNaitik Bharadiya2020-04-28
| | | | | | | | | | | | | | | | 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>
* | Revert "msm: ipa3: Fix compilation errors after enabling LLVM"Michael Bestas2020-06-03
| | | | | | | | | | | | | | | | * We'll take the upstream fix This reverts commit 072d09418a9391b45941c7e42aaf76da510cd6b6. Change-Id: Ibdd7fad464627ac7474b76d0792ceb49fb1c59aa
* | msm: ipa_v2: Use proper enum in wwan_add_ul_flt_rule_to_ipaNathan Chancellor2020-02-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | msm: ipa3: Fix compilation errors after enabling LLVMPraveen Kurapati2020-02-02
| | | | | | | | | | | | | | | | | | | | | | 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>
* | msm: ipa3: Use bitwise instead of logical operatorGhanim Fodi2020-02-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | msm: ipa3: Fix IPA aggregation register val-mask calculationGhanim Fodi2020-02-02
| | | | | | | | | | | | | | | | | | | | | | | | 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>
* | msm: ipa3: Return if RT table size is 0Mohammed Javid2019-12-23
|/ | | | | | | | | 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>
* msm: ipa: add additional checks to prevent use-after free errorsMichael Adisumarta2019-09-20
| | | | | | | | | 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>
* msm: ipa3: Fix to memory allocation failurePooja Kumari2019-08-10
| | | | | | | | | 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>
* msm: ipa: Fix array out of bound and use after NULL checkMohammed Javid2019-07-10
| | | | | | | | | | 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>
* msm: ipa: Fix pointer checked for NULL may be usedMohammed Javid2019-07-10
| | | | | | | | | Data pointer may be NULL, check for reset value to be false in that case and return EINVAL for invalid argument. Change-Id: I05a4aa96724c123516a7965bd0e939bdf0c86553 Signed-off-by: Mohammed Javid <mjavid@codeaurora.org>
* msm: ipa3: Fix to validate check for IP typePraveen Kurapati2019-06-10
| | | | | | | | Add proper check for validating the IP type while sending request for ul-filter-rule install. Change-Id: I170230310884f176cf41d5ae20287f6d74a4bc29 Signed-off-by: Praveen Kurapati <pkurapat@codeaurora.org>
* msm: ipa: fix to validate input parametersAbhishek Choubey2019-06-04
| | | | | | | | | Validate the input parameters to avoid any unexpected scenarios. Change-Id: If77ac66470baf937b160800174ea14f1a8cb6408 Signed-off-by: Pooja Kumari <kumarip@codeaurora.org> Signed-off-by: Abhishek Choubey <abchoube@codeaurora.org>
* msm: ipa_v2: Protect ipa default routing tableAkshay Pandit2019-05-10
| | | | | | | | | Protect ipa default routing table from addition, deletion and modification once after default rule added by ipa driver. Change-Id: I4b8fdd9208425c5eb0bceed0ce62fb7d7a075e36 Signed-off-by: Akshay Pandit <pandit@codeaurora.org>
* msm: ipa3: add check to load gsi fw onceSkylar Chang2019-05-01
| | | | | | | | | | Add the check before starting workqueue to load ipa/gsi-fws to avoid the smmu assert. Change-Id: Icdea2df4ea30bc154bf539c3016fb08defce4c55 Signed-off-by: Skylar Chang <chiaweic@codeaurora.org> Signed-off-by: Ashok Vuyyuru <avuyyuru@codeaurora.org>
* msm: ipa: fix to validate the ioctl WAN_IOC_SEND_LAN_CLIENT_MSG paramsChaitanya Pratapa2019-03-19
| | | | | | | | | When processing WAN_IOC_SEND_LAN_CLIENT_MSG ioctl there is a possibility of message_type being invalid and this can lead to out of buffer error. Make a change to validate the ioctl params before processing. Change-Id: If7955f77863b772ae1c8feda5ca0145c822403b9 Signed-off-by: Chaitanya Pratapa <cpratapa@codeaurora.org>
* msm: ipa3: Release the IPA lock acquiredPraveen Kurapati2019-02-25
| | | | | | | | | In ipa3_rest_rt we are returning from it without unlocking the lock acquired leading to deadlock issue. Added code to release the lock acquired. Change-Id: I9ab6919c6c2f881a580848a578c9429921e92f08 Signed-off-by: Praveen Kurapati <pkurapat@codeaurora.org>
* msm: ipa3: Fix to validate the buffer sizePraveen Kurapati2019-02-14
| | | | | | | | | Adding code changes to validate buffer size. While calling ipa_read verifying the kernel buffer size in range or not. Change-Id: I5c9a908b0500a5f0148ec7764425897570bdd713 Signed-off-by: Praveen Kurapati <pkurapat@codeaurora.org>
* msm: ipa: Fix to validate the buffer sizePraveen Kurapati2019-02-11
| | | | | | | | | Adding code changes to validate buffer size. While calling ipa_read verifying the kernel buffer size in range or not. Change-Id: Idc608c2cf0587a00f19ece38a4eb646f7fde68e3 Signed-off-by: Praveen Kurapati <pkurapat@codeaurora.org>
* msm: ipa: Remove assert on ep emptyMohammed2018-11-30
| | | | | | | | | | | | Device assert in ep empty affecting LPM scenario. Remove device assert in ep empty check. which is not really required since IPA BAM reset is taken care. Change-Id: I57ae9ada7f15c335a181247675f10b607774fd14 Signed-off-by: Mohammed <mjavid@codeaurora.org>
* msm: ipa4: Fix to disable the napi when rmnet ipa interface going downMohammed2018-11-26
| | | | | | | | | | | | Because of napi not disabled during rmnet ipa interface going down, when interface coming up napi will be in wrong state, it leads to device assert. Added changed to disable napi for the rmnet_ipa interface when the interface goes down. Change-Id: Ia6c7cd6fe9f60c58ffd178dbbf877ab3b38a2f4b Acked-by: Praveen Kurapati <pkurapat@qti.qualcomm.com> Acked-by: Ashok Vuyyuru <avuyyuru@qti.qualcomm.com> Signed-off-by: Mohammed Javid <mjavid@codeaurora.org>
* msm:ipa:Prevent rt rule deletion if rt rule id is invalidMohammed Javid2018-10-24
| | | | | | | | | Currently RT is deleted even if rt rule or header proc ctx is invalid. Add check to prevent it. Change-Id: Ic37ff9a33fab2b3c0d6393e43452e4b62a91d932 Acked-by: Pooja Kumari <kumarip@qti.qualcomm.com> Signed-off-by: Mohammed Javid <mjavid@codeaurora.org>
* Merge "msm: ipa: Check ep empty before reset"Linux Build Service Account2018-10-23
|\
| * msm: ipa: Check ep empty before resetMohammed Javid2018-09-20
| | | | | | | | | | | | | | | | Check for q6 ep empty before issue reset via uC. Change-Id: I2101ed7485a5d688ec156fee4489c20fb8722ace Signed-off-by: Mohammed Javid <mjavid@codeaurora.org>
* | msm: ipa3: Fix to validate the user inputsMohammed Javid2018-10-09
| | | | | | | | | | | | | | | | | | | | Adding code changes to validate user inputs. Before allocating the NAT entry verifying the NAT entry size in range or not. Change-Id: I21147f20a12243af5d21aebdc206703964db2be4 Acked-by: Ashok Vuyyuru <avuyyuru@qti.qualcomm.com> Signed-off-by: Mohammed Javid <mjavid@codeaurora.org>
* | msm: ipa: Protect ipa default routing tableMohammed Javid2018-10-04
|/ | | | | | | | | Protect ipa default routing table from addition, deletion and modification once after default rule added by ipa-driver. Change-Id: I045d9c29fed23edf796d826e440b81124e1f666a Signed-off-by: Mohammed Javid <mjavid@codeaurora.org>
* Merge "msm: ipa3: Add mutex to prevent race condition"Linux Build Service Account2018-08-29
|\
| * msm: ipa3: Add mutex to prevent race conditionMohammed Javid2018-08-28
| | | | | | | | | | | | | | | | | | | | | | | | There is a race condition between ipa3_nat_init_cmd and ipa_read_nat4. The two thread will R/W the critical global variables. This will result in race conditions and possibly buffer overread/ overwrite issues. Add code to prevent this race condition. Change-Id: I6bf9a837ae941cf3ad9413da6e44821916acf196 Acked-by: Pooja Kumari <kumarip@qti.qualcomm.com> Signed-off-by: Mohammed Javid <mjavid@codeaurora.org>
* | Merge "msm:ipa: Prevent NAT table deletion only if public ip is not assigned"Linux Build Service Account2018-08-29
|\ \ | |/ |/|
| * msm:ipa: Prevent NAT table deletion only if public ip is not assignedMohammed Javid2018-08-28
| | | | | | | | | | | | | | | | | | Currnetly NAT table is not deleted even if public ip is assigned to NAT table. Add check to prevent deletion only if public ip is not assigned. Change-Id: I4855b21472d3f6bf541d07733b18592e9e677ce6 Acked-by: Pooja Kumari <kumarip@qti.qualcomm.com> Signed-off-by: Mohammed Javid <mjavid@codeaurora.org>
* | msm: ipa: Validate routing rule idMohammed Javid2018-08-28
|/ | | | | | | | | IPA driver expose routing rule id IOCTL's to user space. There is a chance of getting invalid routing rule-id. Validate it before committing it to IPA hardware. Change-Id: If80b94d3a055f9212d25aff9a57d1b45001ba586 Signed-off-by: Mohammed Javid <mjavid@codeaurora.org>
* msm:ipa3: fix the header table gap issueSkylar Chang2018-08-11
| | | | | | | | | | Move those deleted entries to the free list to avoid the gap in hdr tbl list. Change-Id: I5f5b6ec845e6b7e52c7079c2a3200a8290616951 Acked-by: Pooja Kumari <kumarip@qti.qualcomm.com> Signed-off-by: Mohammed Javid <mjavid@codeaurora.org> Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
* msm: ipa: fix the ipa-hw rules not cleanSkylar Chang2018-08-11
| | | | | | | | | | | | After getting reset ioctl from user-space module, the caches in ipa-driver are clean however ipa-hw still has it. The fix is to commit those caches in ipa-hw. Change-Id: Iee0009b2bf3cdff2979d1fdba629c86a7c5afe21 Acked-by: Pooja Kumari <kumarip@qti.qualcomm.com> Signed-off-by: Mohammed Javid <mjavid@codeaurora.org> Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
* msm: ipa: Add WLAN FW SSR eventMohammed Javid2018-08-09
| | | | | | | | | Add WLAN FW SSR event to handle FW rejuvenate scenario. Change-Id: I417d46cc07f455792906a18f4b6dc8e5ca8ca3de Acked-by: Pooja Kumari <kumarip@qti.qualcomm.com> Signed-off-by: Mohammed Javid <mjavid@codeaurora.org>
* Merge "ipa: update wlan upstream iface name"Linux Build Service Account2018-08-07
|\
| * ipa: update wlan upstream iface nameMohammed Javid2018-08-07
| | | | | | | | | | | | | | | | | | Update WLAN upstream name to support STA SAP scenario with wlan1 iface. Change-Id: I0223c5b4aff8dfe24562a2c6d4ac581a7843224e Acked-by: Pooja Kumari <kumarip@qti.qualcomm.com> Signed-off-by: Mohammed Javid <mjavid@codeaurora.org>
* | Merge "msm: ipa3: using rate limit api for ioctl calls"Linux Build Service Account2018-08-07
|\ \