summaryrefslogtreecommitdiff
path: root/drivers/net/wireless (follow)
Commit message (Collapse)AuthorAge
...
* | | | | Merge "ath10k: Fix dst CE ring configuration for CE5"Linux Build Service Account2017-07-28
|\ \ \ \ \
| * | | | | ath10k: Fix dst CE ring configuration for CE5Govind Singh2017-07-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CE5 ring is not used in current configuration for WCN3990 chipset. Set the entries to zero to avoid unnecessary allocation during driver load. CRs-Fixed: 2082022 Change-Id: I992f0fb3b5c2bc6d6fd067bb23e67b23a12ffdb7 Signed-off-by: Govind Singh <govinds@codeaurora.org>
* | | | | | Merge "ath10k: fix memory leak in rx ring buffer allocation"Linux Build Service Account2017-07-28
|\ \ \ \ \ \
| * | | | | | ath10k: fix memory leak in rx ring buffer allocationRakesh Pillai2017-07-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The rx ring buffers are added to a hash table if firmare support full rx reorder. If the full rx reorder support flag is not set before allocating the rx ring buffers, none of the buffers are added to the hash table. When we unload the module, this hash table is checked for freeing the allocated rx ring buffers. Since none of the rx ring buffers were added to the hash table, this memory is leaked. Set the rx full reorder support flag before we allocate the rx ring buffer to avoid the memory leak. CRs-Fixed: 2081334 Change-Id: I6b7cbe05b914cf9aedd8e1ad54ccc4738f8b01e8 Signed-off-by: Rakesh Pillai <pillair@codeaurora.org>
* | | | | | | Merge "wcnss: fix the potential buffer flow issue in firmware setup"Linux Build Service Account2017-07-27
|\ \ \ \ \ \ \
| * | | | | | | wcnss: fix the potential buffer flow issue in firmware setupSarada Prasanna Garnayak2017-07-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add the check against negative or invalid firmware size passed by the userspace thread in firmware setup sysfs write operation. Update the datatype of the variable which holds the firmware size passed by userspace thread during firmware setup and WLAN calibration data update process. CRs-Fixed: 2072966 Change-Id: I8c84ad0d1b0a5f44a39c9c5b228734b0f693e8dd Signed-off-by: Sarada Prasanna Garnayak <sgarna@codeaurora.org>
* | | | | | | | cnss2: Print string for firmware modeYue Ma2017-07-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This can clearly show the firmware mode sent through QMI message in the logs to help debugging. Signed-off-by: Yue Ma <yuem@codeaurora.org> CRs-fixed: 2059087 Change-Id: I0b11808f00229ed557141226bc2510673a7a1ede
* | | | | | | | Merge "cnss2: Do not deinit MHI right after powerup failure"Linux Build Service Account2017-07-25
|\ \ \ \ \ \ \ \ | |_|/ / / / / / |/| | | | | | |
| * | | | | | | cnss2: Do not deinit MHI right after powerup failureYue Ma2017-07-24
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Immediately deinit MHI after powerup failure will clear all the MHI context so it won't be able to enter RDDM state to collect firmware RAM dump. Leave the cleanup to SSR shutdown routine. Change-Id: Ibbbe3ffe3c471f69dd4fc89d7cfaf57f1f899a92 CRs-fixed: 2059087 Signed-off-by: Yue Ma <yuem@codeaurora.org>
* | | | | | | Merge "wil6210: send uevent when creating sysfs files"Linux Build Service Account2017-07-25
|\ \ \ \ \ \ \ | |_|_|/ / / / |/| | | | | |
| * | | | | | wil6210: send uevent when creating sysfs filesLior David2017-07-23
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Send a KOBJ_CHANGE uevent when creating the wil6210 sysfs directory. This is mainly needed so selinux policy rules will be applied when the wil6210 module is dynamically loaded. Change-Id: I4220c551b8792d419db7a380b16f3c87204be22a Signed-off-by: Lior David <liord@codeaurora.org>
* | | | | | Merge "ath10k: Add peer delete resp event processing"Linux Build Service Account2017-07-24
|\ \ \ \ \ \ | |/ / / / / |/| / / / / | |/ / / /
| * / / / ath10k: Add peer delete resp event processingRakesh Pillai2017-07-20
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Peer delete response event is not parsed for the params being sent by firmware. Parse the tlv params and get the peer mac address which was deleted. CRs-Fixed: 2079551 Change-Id: I1f603d65784611d5f82babf2d9fa9dca5b1664b7 Signed-off-by: Rakesh Pillai <pillair@codeaurora.org>
* | | | Merge "ath10k: wait for peer delete resp after every peer delete"Linux Build Service Account2017-07-21
|\ \ \ \
| * | | | ath10k: wait for peer delete resp after every peer deleteRakesh Pillai2017-07-20
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Peer create fails if the same peer has not been properly deleted earlier. Peer delete response indicates the successful deletion of a peer. Wait for peer delete resp after every peer delete cmd. CRs-Fixed: 2079668 Change-Id: I48d6787a42f79d3ce1225c885ca9fa159ef6df77 Signed-off-by: Rakesh Pillai <pillair@codeaurora.org>
* | | | Merge "ath10k: skip vdev down command before vdev restart for wcn3990"Linux Build Service Account2017-07-21
|\ \ \ \
| * | | | ath10k: skip vdev down command before vdev restart for wcn3990Ashutosh Kumar2017-07-21
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Vdev restart command triggers a vdev down and vdev stop in the firmware. We do not need to send vdev down before sending vdev restart to the firmware. Skip vdev down command before we send the vdev restart command for wcn3990 in the case of change in the channel context. CRs-Fixed: 2079703 Change-Id: Idb611ec9ae8d40c7f7c3fe6efe853bf4c60d3123 Signed-off-by: Ashutosh Kumar <askuma@codeaurora.org>
* / / / cnss2: Deinit MHI before device power on during SSRYue Ma2017-07-20
|/ / / | | | | | | | | | | | | | | | | | | | | | This can make sure MHI driver can safely free the memory which is used by WLAN firmware since device is powered off. Change-Id: If9d891eaf1ca7c28869448b3a0a42be713e16c2e Signed-off-by: Yue Ma <yuem@codeaurora.org>
* | | cnss2: Send WAKE MSI base data to firmwareYue Ma2017-07-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | Add the support to send WAKE MSI base data to firmware through HOST_CAP_REQ QMI message so that firmware can use it to wake up WLAN host driver. Change-Id: Ief8bfb6c3746bc0bfd833aa3bded09212773244d Signed-off-by: Yue Ma <yuem@codeaurora.org>
* | | cnss2: Update QMI WLFW header filesYue Ma2017-07-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | Add changes for PMIC XO calibration data support. Also Add one optional field of HOST_CAP_REQ message to indicate the WAKE MSI base data that driver can support. Change-Id: I6cdfa3d5e485fd1a772f1a5c465cfba3e28048a7 Signed-off-by: Yue Ma <yuem@codeaurora.org>
* | | cnss2: Support runtime power on/off WLAN deviceYue Ma2017-07-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | WLAN host driver may do runtime mode switch which requires platform driver to reset device and re-download firmware. Add the changes for runtime power on/off WLAN device to support runtime mode switch. Change-Id: I08d3635afbaafb73691fbdf5d25877fb433bae18 CRs-fixed: 2059087 Signed-off-by: Yue Ma <yuem@codeaurora.org>
* | | Merge "cnss2: Set PCIe to D3hot state before suspending PCIe link"Linux Build Service Account2017-07-12
|\ \ \
| * | | cnss2: Set PCIe to D3hot state before suspending PCIe linkYue Ma2017-07-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As per PCIe spec, PCIe link needs to be set to D3hot state before entering D3cold state. Change-Id: I68defc4cf29fe88262e92fe8fb934948ad13aef4 CRs-fixed: 2059087 Signed-off-by: Yue Ma <yuem@codeaurora.org>
* | | | net: Kconfig: Add config entry for WLAN QCA6290 chipsetYue Ma2017-07-11
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | WLAN QCA6290 chipset specific changes are featurized under this config entry. Change-Id: I9283ea5dcac702018b2483cdcd4aea254e96c51a CRs-fixed: 2071634 Signed-off-by: Yue Ma <yuem@codeaurora.org>
* | | Merge "cnss2: Bypass SMMU stage-1 by default"Linux Build Service Account2017-07-10
|\ \ \
| * | | cnss2: Bypass SMMU stage-1 by defaultYue Ma2017-07-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bypass SMMU stage-1 till it is fully supported by WLAN driver and device. Change-Id: I186345c20f9b71171bba6acc8c5eaa689e39b51c CRs-fixed: 2071634 Signed-off-by: Yue Ma <yuem@codeaurora.org>
| * | | cnss2: Fix issues when migrating to msm-4.4 kernelYue Ma2017-07-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix the issues during migrating CNSS2 platform driver to msm-4.4 kernel. Change-Id: Ifcef708fa9394ad54c92a26a397ec60631e74ef2 CRs-fixed: 2071634 Signed-off-by: Yue Ma <yuem@codeaurora.org>
| * | | net: cnss2: Add snapshot of CNSS2 driverYue Ma2017-07-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a snapshot of the CNSS2 driver and associated files as of msm-3.18 commit c1bbe6d5e136 ("cnss2: Fix kernel checkpatch issues"). Change-Id: Ia77d3abe3f86e4dbeac8d55ea2e0120bed480126 CRs-fixed: 2071634 Signed-off-by: Yue Ma <yuem@codeaurora.org>
* | | | cnss_utils: Zero out cnss_utils priv structure during initalizationYuanyuan Liu2017-07-06
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | Zero out cnss_utils priv structure during initalization to make sure it starts cleanly. CRs-Fixed: 2072421 Change-Id: I72caa5fb7e1df16b018165d277cd3a404b81c304 Signed-off-by: Yuanyuan Liu <yuanliu@codeaurora.org>
* | | Merge "cnss_utils: Add support of cnss_utils for WLAN"Linux Build Service Account2017-07-04
|\ \ \
| * | | cnss_utils: Add support of cnss_utils for WLANYuanyuan Liu2017-06-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support of cnss_utils for WLAN. Export APIs to WLAN host driver which are used to set/get WLAN related information. These information could be retrived later when WLAN driver is reloaded. CRs-Fixed: 2060693 Change-Id: I2c8c36602ec8af133946ff00c41ce648a2628041 Signed-off-by: Yuanyuan Liu <yuanliu@codeaurora.org>
* | | | ath10k: Populate ACS survey resultsAshutosh Kumar2017-06-29
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | ACS fails as channel details are null in survey info. Add the missing fields in survey_info structure and populate the channel details in survey results. CRs-Fixed: 2027495 Change-Id: I1ca933ded4ca039845203ccd51d77cf7cef1c000 Signed-off-by: Ashutosh Kumar <askuma@codeaurora.org>
* | | Merge "cnss_pci: fix the race condition in firmware file setup"Linux Build Service Account2017-06-27
|\ \ \
| * | | cnss_pci: fix the race condition in firmware file setupSarada Prasanna Garnayak2017-06-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add protection code to avoid the redundant firmware setup from the userspace. Synchronize firmware setup global data access by multiple firmware setup routines when firmware setup triggered by userspace is in progress. CRs-Fixed: 2053638 Change-Id: Ib5bf05aade464a0789c7b848457e95d25c4e6f8f Signed-off-by: Sarada Prasanna Garnayak <sgarna@codeaurora.org>
* | | | Merge "ath10k: Add change interface handler"Linux Build Service Account2017-06-23
|\ \ \ \
| * | | | ath10k: Add change interface handlerRakesh Pillai2017-06-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change interface handler is not registered with mac80211. The change interface handler is needed to run p2p go/cli on the same interface as p2p control interface. Add change interface handler for ath10k. CRs-Fixed: 2063870 Change-Id: Ia06850a938b9d5e89d970792e3f0a776693a5f25 Signed-off-by: Rakesh Pillai <pillair@codeaurora.org>
* | | | | Merge "ath10k: wait for vdev delete response from firmware"Linux Build Service Account2017-06-23
|\| | | |
| * | | | ath10k: wait for vdev delete response from firmwareRakesh Pillai2017-06-22
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When we add an interface immediately after removing the interface the vdev deletion in firmware might not have been completed. We need to synchronize the vdev creation with the firmware. Wait for vdev delete response from firmware when we remove an interface. CRs-Fixed: 2065345 Change-Id: Id045087b03d5c5e6451f79b9c1177aca26ed34a2 Signed-off-by: Rakesh Pillai <pillair@codeaurora.org>
* | | | Merge "ath10k: Add interface combinations for wcn3990"Linux Build Service Account2017-06-22
|\ \ \ \ | |/ / / |/| | |
| * | | ath10k: Add interface combinations for wcn3990Rakesh Pillai2017-06-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Interface combinations were not present for wnc3990. Add interface combinations for wcn3990. CRs-Fixed: 2063866 Change-Id: I20a4db54c87c91a154ca63125a06ff78958b12cd Signed-off-by: Rakesh Pillai <pillair@codeaurora.org>
* | | | Merge "ath10k: Increase peer delete response wait to 500msec"Linux Build Service Account2017-06-22
|\ \ \ \
| * | | | ath10k: Increase peer delete response wait to 500msecRakesh Pillai2017-06-21
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Peer creation in firmware fails if last peer deletion is still in progress. Need to wait for peer delete response from firmware after deleting peer from host driver. Increase the peer delete response wait time to 500msec. CRs-Fixed: 2063832 Change-Id: I1c1c2500ae7f8ff1448f6b726d30dbbe3334957c Signed-off-by: Rakesh Pillai <pillair@codeaurora.org>
* / / / wil6210: protect against invalid length of tx management frameHamad Kadmany2017-06-20
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | Validate buffer length has the minimum needed size when sending management frame to protect against possible buffer overrun. Change-Id: Ib5aed79694100597d7f71a9e8d4e8dba91be538a Signed-off-by: Hamad Kadmany <hkadmany@codeaurora.org>
* | | Merge "ath10k: Wait for peer delete response to synchronize with fw"Linux Build Service Account2017-06-15
|\ \ \
| * | | ath10k: Wait for peer delete response to synchronize with fwAshutosh Kumar2017-06-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Peer creation in firmware fails if last peer deletion is still in progress. Wait for peer delete response from firmware after deleting peer from host driver. CRs-Fixed: 2047126 Change-Id: I9eb01393d9cd3dd82f2084262c250081f2076b46 Signed-off-by: Ashutosh Kumar <askuma@codeaurora.org>
* | | | ath10k: Send vdev down if association to bss failsAshutosh Kumar2017-06-15
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | If host driver fails to send WMI_VDEV_DOWN_CMDID, firmware will drop further packets as vdev TX PAUSE reset is done as part of VDEV_DOWN. Send vdev down to firmware if STA fails to associate. CRs-Fixed: 2061161 Change-Id: Ie26645389dcb839758ff6aa55812172beeccc171 Signed-off-by: Ashutosh Kumar <askuma@codeaurora.org>
* | | Merge "Merge branch 'android-4.4@9bc4622' into branch 'msm-4.4'"Linux Build Service Account2017-06-08
|\ \ \
| * | | Merge branch 'android-4.4@9bc4622' into branch 'msm-4.4'Blagovest Kolenichev2017-06-07
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * refs/heads/tmp-9bc4622: Linux 4.4.70 drivers: char: mem: Check for address space wraparound with mmap() nfsd: encoders mustn't use unitialized values in error cases drm/edid: Add 10 bpc quirk for LGD 764 panel in HP zBook 17 G2 PCI: Freeze PME scan before suspending devices PCI: Fix pci_mmap_fits() for HAVE_PCI_RESOURCE_TO_USER platforms tracing/kprobes: Enforce kprobes teardown after testing osf_wait4(): fix infoleak genirq: Fix chained interrupt data ordering uwb: fix device quirk on big-endian hosts metag/uaccess: Check access_ok in strncpy_from_user metag/uaccess: Fix access_ok() iommu/vt-d: Flush the IOTLB to get rid of the initial kdump mappings staging: rtl8192e: rtl92e_get_eeprom_size Fix read size of EPROM_CMD. staging: rtl8192e: fix 2 byte alignment of register BSSIDR. mm/huge_memory.c: respect FOLL_FORCE/FOLL_COW for thp xc2028: Fix use-after-free bug properly arm64: documentation: document tagged pointer stack constraints arm64: uaccess: ensure extension of access_ok() addr arm64: xchg: hazard against entire exchange variable ARM: dts: at91: sama5d3_xplained: not all ADC channels are available ARM: dts: at91: sama5d3_xplained: fix ADC vref powerpc/64e: Fix hang when debugging programs with relocated kernel powerpc/pseries: Fix of_node_put() underflow during DLPAR remove powerpc/book3s/mce: Move add_taint() later in virtual mode cx231xx-cards: fix NULL-deref at probe cx231xx-audio: fix NULL-deref at probe cx231xx-audio: fix init error path dvb-frontends/cxd2841er: define symbol_rate_min/max in T/C fe-ops zr364xx: enforce minimum size when reading header dib0700: fix NULL-deref at probe s5p-mfc: Fix unbalanced call to clock management gspca: konica: add missing endpoint sanity check ceph: fix recursion between ceph_set_acl() and __ceph_setattr() iio: proximity: as3935: fix as3935_write ipx: call ipxitf_put() in ioctl error path USB: hub: fix non-SS hub-descriptor handling USB: hub: fix SS hub-descriptor handling USB: serial: io_ti: fix div-by-zero in set_termios USB: serial: mct_u232: fix big-endian baud-rate handling USB: serial: qcserial: add more Lenovo EM74xx device IDs usb: serial: option: add Telit ME910 support USB: iowarrior: fix info ioctl on big-endian hosts usb: musb: tusb6010_omap: Do not reset the other direction's packet size ttusb2: limit messages to buffer size mceusb: fix NULL-deref at probe usbvision: fix NULL-deref at probe net: irda: irda-usb: fix firmware name on big-endian hosts usb: host: xhci-mem: allocate zeroed Scratchpad Buffer xhci: apply PME_STUCK_QUIRK and MISSING_CAS quirk for Denverton usb: host: xhci-plat: propagate return value of platform_get_irq() sched/fair: Initialize throttle_count for new task-groups lazily sched/fair: Do not announce throttled next buddy in dequeue_task_fair() fscrypt: avoid collisions when presenting long encrypted filenames f2fs: check entire encrypted bigname when finding a dentry fscrypt: fix context consistency check when key(s) unavailable net: qmi_wwan: Add SIMCom 7230E ext4 crypto: fix some error handling ext4 crypto: don't let data integrity writebacks fail with ENOMEM USB: serial: ftdi_sio: add Olimex ARM-USB-TINY(H) PIDs USB: serial: ftdi_sio: fix setting latency for unprivileged users pid_ns: Fix race between setns'ed fork() and zap_pid_ns_processes() pid_ns: Sleep in TASK_INTERRUPTIBLE in zap_pid_ns_processes iio: dac: ad7303: fix channel description of: fix sparse warning in of_pci_range_parser_one proc: Fix unbalanced hard link numbers cdc-acm: fix possible invalid access when processing notification drm/nouveau/tmr: handle races with hw when updating the next alarm time drm/nouveau/tmr: avoid processing completed alarms when adding a new one drm/nouveau/tmr: fix corruption of the pending list when rescheduling an alarm drm/nouveau/tmr: ack interrupt before processing alarms drm/nouveau/therm: remove ineffective workarounds for alarm bugs drm/amdgpu: Make display watermark calculations more accurate drm/amdgpu: Avoid overflows/divide-by-zero in latency_watermark calculations. ath9k_htc: fix NULL-deref at probe ath9k_htc: Add support of AirTies 1eda:2315 AR9271 device s390/cputime: fix incorrect system time s390/kdump: Add final note regulator: tps65023: Fix inverted core enable logic. KVM: X86: Fix read out-of-bounds vulnerability in kvm pio emulation KVM: x86: Fix load damaged SSEx MXCSR register ima: accept previously set IMA_NEW_FILE mwifiex: pcie: fix cmd_buf use-after-free in remove/reset rtlwifi: rtl8821ae: setup 8812ae RFE according to device type md: update slab_cache before releasing new stripes when stripes resizing dm space map disk: fix some book keeping in the disk space map dm thin metadata: call precommit before saving the roots dm bufio: make the parameter "retain_bytes" unsigned long dm cache metadata: fail operations if fail_io mode has been established dm bufio: check new buffer allocation watermark every 30 seconds dm bufio: avoid a possible ABBA deadlock dm raid: select the Kconfig option CONFIG_MD_RAID0 dm btree: fix for dm_btree_find_lowest_key() infiniband: call ipv6 route lookup via the stub interface tpm_crb: check for bad response size ARM: tegra: paz00: Mark panel regulator as enabled on boot USB: core: replace %p with %pK char: lp: fix possible integer overflow in lp_setup() watchdog: pcwd_usb: fix NULL-deref at probe USB: ene_usb6250: fix DMA to the stack usb: misc: legousbtower: Fix memory leak usb: misc: legousbtower: Fix buffers on stack ANDROID: uid_sys_stats: defer io stats calulation for dead tasks ANDROID: AVB: Fix linter errors. ANDROID: AVB: Fix invalidate_vbmeta_submit(). ANDROID: sdcardfs: Check for NULL in revalidate Linux 4.4.69 ipmi: Fix kernel panic at ipmi_ssif_thread() wlcore: Add RX_BA_WIN_SIZE_CHANGE_EVENT event wlcore: Pass win_size taken from ieee80211_sta to FW mac80211: RX BA support for sta max_rx_aggregation_subframes mac80211: pass block ack session timeout to to driver mac80211: pass RX aggregation window size to driver Bluetooth: hci_intel: add missing tty-device sanity check Bluetooth: hci_bcm: add missing tty-device sanity check Bluetooth: Fix user channel for 32bit userspace on 64bit kernel tty: pty: Fix ldisc flush after userspace become aware of the data already serial: omap: suspend device on probe errors serial: omap: fix runtime-pm handling on unbind serial: samsung: Use right device for DMA-mapping calls arm64: KVM: Fix decoding of Rt/Rt2 when trapping AArch32 CP accesses padata: free correct variable CIFS: add misssing SFM mapping for doublequote cifs: fix CIFS_IOC_GET_MNT_INFO oops CIFS: fix mapping of SFM_SPACE and SFM_PERIOD SMB3: Work around mount failure when using SMB3 dialect to Macs Set unicode flag on cifs echo request to avoid Mac error fs/block_dev: always invalidate cleancache in invalidate_bdev() ceph: fix memory leak in __ceph_setxattr() fs/xattr.c: zero out memory copied to userspace in getxattr ext4: evict inline data when writing to memory map IB/mlx4: Reduce SRIOV multicast cleanup warning message to debug level IB/mlx4: Fix ib device initialization error flow IB/IPoIB: ibX: failed to create mcg debug file IB/core: Fix sysfs registration error flow vfio/type1: Remove locked page accounting workqueue dm era: save spacemap metadata root after the pre-commit crypto: algif_aead - Require setkey before accept(2) block: fix blk_integrity_register to use template's interval_exp if not 0 KVM: arm/arm64: fix races in kvm_psci_vcpu_on KVM: x86: fix user triggerable warning in kvm_apic_accept_events() um: Fix PTRACE_POKEUSER on x86_64 x86, pmem: Fix cache flushing for iovec write < 8 bytes selftests/x86/ldt_gdt_32: Work around a glibc sigaction() bug x86/boot: Fix BSS corruption/overwrite bug in early x86 kernel startup usb: hub: Do not attempt to autosuspend disconnected devices usb: hub: Fix error loop seen after hub communication errors usb: Make sure usb/phy/of gets built-in usb: misc: add missing continue in switch staging: comedi: jr3_pci: cope with jiffies wraparound staging: comedi: jr3_pci: fix possible null pointer dereference staging: gdm724x: gdm_mux: fix use-after-free on module unload staging: vt6656: use off stack for out buffer USB transfers. staging: vt6656: use off stack for in buffer USB transfers. USB: Proper handling of Race Condition when two USB class drivers try to call init_usb_class simultaneously USB: serial: ftdi_sio: add device ID for Microsemi/Arrow SF2PLUS Dev Kit usb: host: xhci: print correct command ring address iscsi-target: Set session_fall_back_to_erl0 when forcing reinstatement target: Convert ACL change queue_depth se_session reference usage target/fileio: Fix zero-length READ and WRITE handling target: Fix compare_and_write_callback handling for non GOOD status xen: adjust early dom0 p2m handling to xen hypervisor behavior ANDROID: AVB: Only invalidate vbmeta when told to do so. ANDROID: sdcardfs: Move top to its own struct ANDROID: lowmemorykiller: account for unevictable pages ANDROID: usb: gadget: fix NULL pointer issue in mtp_read() ANDROID: usb: f_mtp: return error code if transfer error in receive_file_work function Signed-off-by: Blagovest Kolenichev <bkolenichev@codeaurora.org> Conflicts: drivers/usb/gadget/function/f_mtp.c fs/ext4/page-io.c net/mac80211/agg-rx.c Change-Id: Id65e75bf3bcee4114eb5d00730a9ef2444ad58eb Signed-off-by: Blagovest Kolenichev <bkolenichev@codeaurora.org>
| | * | Merge 4.4.70 into android-4.4Greg Kroah-Hartman2017-05-25
| | |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes in 4.4.70 usb: misc: legousbtower: Fix buffers on stack usb: misc: legousbtower: Fix memory leak USB: ene_usb6250: fix DMA to the stack watchdog: pcwd_usb: fix NULL-deref at probe char: lp: fix possible integer overflow in lp_setup() USB: core: replace %p with %pK ARM: tegra: paz00: Mark panel regulator as enabled on boot tpm_crb: check for bad response size infiniband: call ipv6 route lookup via the stub interface dm btree: fix for dm_btree_find_lowest_key() dm raid: select the Kconfig option CONFIG_MD_RAID0 dm bufio: avoid a possible ABBA deadlock dm bufio: check new buffer allocation watermark every 30 seconds dm cache metadata: fail operations if fail_io mode has been established dm bufio: make the parameter "retain_bytes" unsigned long dm thin metadata: call precommit before saving the roots dm space map disk: fix some book keeping in the disk space map md: update slab_cache before releasing new stripes when stripes resizing rtlwifi: rtl8821ae: setup 8812ae RFE according to device type mwifiex: pcie: fix cmd_buf use-after-free in remove/reset ima: accept previously set IMA_NEW_FILE KVM: x86: Fix load damaged SSEx MXCSR register KVM: X86: Fix read out-of-bounds vulnerability in kvm pio emulation regulator: tps65023: Fix inverted core enable logic. s390/kdump: Add final note s390/cputime: fix incorrect system time ath9k_htc: Add support of AirTies 1eda:2315 AR9271 device ath9k_htc: fix NULL-deref at probe drm/amdgpu: Avoid overflows/divide-by-zero in latency_watermark calculations. drm/amdgpu: Make display watermark calculations more accurate drm/nouveau/therm: remove ineffective workarounds for alarm bugs drm/nouveau/tmr: ack interrupt before processing alarms drm/nouveau/tmr: fix corruption of the pending list when rescheduling an alarm drm/nouveau/tmr: avoid processing completed alarms when adding a new one drm/nouveau/tmr: handle races with hw when updating the next alarm time cdc-acm: fix possible invalid access when processing notification proc: Fix unbalanced hard link numbers of: fix sparse warning in of_pci_range_parser_one iio: dac: ad7303: fix channel description pid_ns: Sleep in TASK_INTERRUPTIBLE in zap_pid_ns_processes pid_ns: Fix race between setns'ed fork() and zap_pid_ns_processes() USB: serial: ftdi_sio: fix setting latency for unprivileged users USB: serial: ftdi_sio: add Olimex ARM-USB-TINY(H) PIDs ext4 crypto: don't let data integrity writebacks fail with ENOMEM ext4 crypto: fix some error handling net: qmi_wwan: Add SIMCom 7230E fscrypt: fix context consistency check when key(s) unavailable f2fs: check entire encrypted bigname when finding a dentry fscrypt: avoid collisions when presenting long encrypted filenames sched/fair: Do not announce throttled next buddy in dequeue_task_fair() sched/fair: Initialize throttle_count for new task-groups lazily usb: host: xhci-plat: propagate return value of platform_get_irq() xhci: apply PME_STUCK_QUIRK and MISSING_CAS quirk for Denverton usb: host: xhci-mem: allocate zeroed Scratchpad Buffer net: irda: irda-usb: fix firmware name on big-endian hosts usbvision: fix NULL-deref at probe mceusb: fix NULL-deref at probe ttusb2: limit messages to buffer size usb: musb: tusb6010_omap: Do not reset the other direction's packet size USB: iowarrior: fix info ioctl on big-endian hosts usb: serial: option: add Telit ME910 support USB: serial: qcserial: add more Lenovo EM74xx device IDs USB: serial: mct_u232: fix big-endian baud-rate handling USB: serial: io_ti: fix div-by-zero in set_termios USB: hub: fix SS hub-descriptor handling USB: hub: fix non-SS hub-descriptor handling ipx: call ipxitf_put() in ioctl error path iio: proximity: as3935: fix as3935_write ceph: fix recursion between ceph_set_acl() and __ceph_setattr() gspca: konica: add missing endpoint sanity check s5p-mfc: Fix unbalanced call to clock management dib0700: fix NULL-deref at probe zr364xx: enforce minimum size when reading header dvb-frontends/cxd2841er: define symbol_rate_min/max in T/C fe-ops cx231xx-audio: fix init error path cx231xx-audio: fix NULL-deref at probe cx231xx-cards: fix NULL-deref at probe powerpc/book3s/mce: Move add_taint() later in virtual mode powerpc/pseries: Fix of_node_put() underflow during DLPAR remove powerpc/64e: Fix hang when debugging programs with relocated kernel ARM: dts: at91: sama5d3_xplained: fix ADC vref ARM: dts: at91: sama5d3_xplained: not all ADC channels are available arm64: xchg: hazard against entire exchange variable arm64: uaccess: ensure extension of access_ok() addr arm64: documentation: document tagged pointer stack constraints xc2028: Fix use-after-free bug properly mm/huge_memory.c: respect FOLL_FORCE/FOLL_COW for thp staging: rtl8192e: fix 2 byte alignment of register BSSIDR. staging: rtl8192e: rtl92e_get_eeprom_size Fix read size of EPROM_CMD. iommu/vt-d: Flush the IOTLB to get rid of the initial kdump mappings metag/uaccess: Fix access_ok() metag/uaccess: Check access_ok in strncpy_from_user uwb: fix device quirk on big-endian hosts genirq: Fix chained interrupt data ordering osf_wait4(): fix infoleak tracing/kprobes: Enforce kprobes teardown after testing PCI: Fix pci_mmap_fits() for HAVE_PCI_RESOURCE_TO_USER platforms PCI: Freeze PME scan before suspending devices drm/edid: Add 10 bpc quirk for LGD 764 panel in HP zBook 17 G2 nfsd: encoders mustn't use unitialized values in error cases drivers: char: mem: Check for address space wraparound with mmap() Linux 4.4.70 Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
| | | * ath9k_htc: fix NULL-deref at probeJohan Hovold2017-05-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commit ebeb36670ecac36c179b5fb5d5c88ff03ba191ec upstream. Make sure to check the number of endpoints to avoid dereferencing a NULL-pointer or accessing memory beyond the endpoint array should a malicious device lack the expected endpoints. Fixes: 36bcce430657 ("ath9k_htc: Handle storage devices") Signed-off-by: Johan Hovold <johan@kernel.org> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>