Android 9.0.0 Release 0.5 (PPR1.180610.011,taimen/walleye)
* tag 'android-9.0.0_r0.5': (611 commits)
scsi: ufs: call single_release to avoid memory leak
kernel: initialize and free cpufreq stats properly
kernel: Fix massive cpufreq stats memory leaks
scsi: ufs: revise commit ecd2676bd513 ("disallow SECURITY_PROTOCOL_IN without _OUT")
FROMLIST: binder: fix proc->files use-after-free
Revert "Add timeout and panic when __scm_call_armv8_64 takes too long."
scsi: ufs: disallow SECURITY_PROTOCOL_IN without _OUT
qcacld-3.0: Fix potential buffer overflow in radio stats event handler
packet: in packet_do_bind, test fanout with bind_lock held
packet: hold bind lock when rebinding to fanout hook
qcacld-3.0: Fix OOB write in WMA TX power level stats handler
msm: mdss: Fix for wrong length in copy_to_user
fbdev: msm: check buffer size before writing to user buffer
qcacld-3.0: Add vdev_id sanity check in wma_vdev_stop_resp_handler
msm: sde: check buffer size before writing to user buffer
diag: Protect the decrement of number of diag clients
drivers: qcom: lpm-stats: Fix undefined access error
input: touch: ftm4: Fix length of memset() to avoid using uninitialized memory
input: touch: ftm4: Fix memory overflow
netfilter: ebtables: CONFIG_COMPAT: don't trust userland offsets
msm: camera: Fix for Possible information leak issue
ASoC: msm-lsm-client: use kzalloc instead of kmalloc
Revert "arch/arm64/wahoo_defconfig: enable DEADLINE I/O scheduler"
Wifi: Store unstripped wlan.ko image
Release 5.2.1.1J.1
qcacld-3.0: Enable support to send packet fate stats
Revert "serial: msm_serial_hs: Protect spurious irqs after wakeup irq enablement"
pinctrl: qcom: Add irq_enable callback for msm gpio
arm64: dts: taimen: Move DISPLAY_ON command to post-panel-on
Revert "qcom: scm: reduce the timeout to trigger panic from 10mins to 10s."
Revert "arm64/configs: wahoo: Enable RTB logging"
FROMLIST: arm64: vdso32: Use full path to Clang instead of relying on PATH
msm: ipa: rmnet: Make code changes with respect to CR#2046006
qcacld-3.0: Not to be hard to make high order page
arm64/configs: wahoo: Enable RTB logging
qcom: scm: reduce the timeout to trigger panic from 10mins to 10s.
Release 5.2.1.1J
qcacld-3.0: Fix race condition in resetting vdev and using it
qcacld-3.0: Acquire SME lock before csr_roam_offload_scan from SME
qcacld-3.0: Call vdev resp and hold req queue cleanup from MC thread
qcacmn: Fix debugfs issue for DPTRACE
tcpm: Ignore CC and vbus changes in PORT_RESET change
arm64: dts: taimen-pm: set LOW_BATT_THRESHOLD to 2.7V
smb-lib: add DT to set BATIF_LOW_BATT_THRESHOLD
arm64: dts: taimen: set low voltage thresholds
msm: mdss: read status register in case of error detection
msm: mdss: add post panel on command debug node
msm-dwc3: Add debug logs around suspend/resume
BACKPORT: irq: Make the irqentry text section unconditional
UPSTREAM: kasan: make get_wild_bug_type() static
UPSTREAM: kasan: separate report parts by empty lines
UPSTREAM: kasan: improve double-free report format
UPSTREAM: kasan: print page description after stacks
UPSTREAM: kasan: improve slab object description
UPSTREAM: kasan: change report header
UPSTREAM: kasan: simplify address description logic
UPSTREAM: kasan: change allocation and freeing stack traces headers
UPSTREAM: kasan: unify report headers
UPSTREAM: kasan: introduce helper functions for determining bug type
BACKPORT: kasan: report only the first error by default
UPSTREAM: kasan: fix races in quarantine_remove_cache()
UPSTREAM: kasan: resched in quarantine_remove_cache()
BACKPORT: kasan, sched/headers: Uninline kasan_enable/disable_current()
BACKPORT: kasan: drain quarantine of memcg slab objects
UPSTREAM: x86/suspend: fix false positive KASAN warning on suspend/resume
UPSTREAM: kasan: support use-after-scope detection
UPSTREAM: kasan/tests: add tests for user memory access functions
UPSTREAM: mm, kasan: add a ksize() test
BACKPORT: kprobes: Unpoison stack in jprobe_return() for KASAN
UPSTREAM: arm64: setup: introduce kaslr_offset()
UPSTREAM: kcov: fix comparison callback signature
UPSTREAM: kcov: support comparison operands collection
UPSTREAM: kcov: remove pointless current != NULL check
UPSTREAM: kcov: support compat processes
UPSTREAM: kcov: simplify interrupt check
UPSTREAM: kcov: make kcov work properly with KASLR enabled
UPSTREAM: kcov: add more missing includes
UPSTREAM: kcov: add missing #include <linux/sched.h>
UPSTREAM: kcov: properly check if we are in an interrupt
UPSTREAM: kcov: don't profile branches in kcov
UPSTREAM: kcov: don't trace the code coverage code
Add timeout and panic when __scm_call_armv8_64 takes too long.
Release 5.2.1.1I.1
qcacld-3.0: Ignore the csa event when roaming is in progress
htc_battery: Add Vbus output status in log
smb-lib: Export Vbus output status
power_supply: Add property of OTG status
scsi: ufs: disable clock scaling
Release 5.2.1.1I
qcacld-3.0: Revive the WoW wakeup logs to appear in kmsg
qcacld-3.0: Log netdev tx queue state at user triggered disconnect
qcacld-3.0: Don't fill any WMA request if target is not ready
msm: adsprpc: Use unsigned integer for length values
FROMLIST: ARM: amba: Fix race condition with driver_override
msm: sensor: ois: add conditional check for ioctl
drivers: cpuidle: lpm-levels: Fix untrusted pointer dereference.
ASoC: msm: check payload size before memory allocation
UPSTREAM: scsi: sg: don't return bogus Sg_requests
netfilter: add back stackpointer size checks
qcacld-3.0: Fix integer underflow and buffer over-read in fwlog
ASoC: msm: qdsp6v2: check for buffer size before read
usb: gadget: f_hid: fix: Prevent accessing released memory
usb: gadget: define free_ep_req as universal function
[BACKPORT] xfrm_user: fix return value from xfrm_user_rcv_msg
soc: qcom: fix race condition while freeing private data
msm: vidc: Addition of enums for HLG and HDR10
defconfig: arm64: Enable UFSHCD_CMD_LOGGING flag
scsi: ufs: Fix compilation error in ufs cmd logging
scsi: ufs: add support for logging custom events
scsi: ufs: fix the UFS command tracing events
scsi: ufs: update ufs command logging infrastructure
scsi: ufs: add command logging infrastructure
power: qpnp-fg-gen3: make CHARGE_FULL property writable by user
Revert "USB: set hub's default autosuspend delay as 0"
Revert "usb: hub: Prevent hub autosuspend if usbcore.autosuspend is -1"
msm: ipa: Fix to handle NULL pointer dereference
msm: ipa: Prevent deletion of the default route rule
msm: ipa: Fix to add string NULL terminator
msm: ipa: dynamic memory leak fix
msm: ipa: dynamic memory leak fix
msm: ipa: return the wifi stats when reset is set
msm: ipa: Return error -ENODEV for set data quota failure
msm: ipa: Change error value for set quota
msm: ipa: Fix to validate routing table index for filter exception
msm:ipa: Fix to slab out of bounds access
msm: ipa3: Fix IPA aggregation force close call
msm: ipa: ipa_usb: teth_prot and ttype validation
msm: ipa: Fix to use after free issue
msm: ipa: fix ipacm_client usage
msm: ipa3: Verify IPA client id before using it
msm: ipa3: Protect access to ipa3_qmi_ctx variable by lock
msm: ipa: using rate limit api for ioctl calls
msm: ipa: Fix to IPA static analysis constant null deferenced
msm: ipa: Fix to use GFP_DMA and add check for dma_map_single
Release 5.2.1.1H.1
qcacld-3.0: update the adapter->rssi from fw
qcacld-3.0: Fix null pointer dereference in sending probe req
Release 5.2.1.1H
qcacld-3.0: Fix OOB write in wma_extscan_change_results_event_handler
qcacld-3.0: Fix Use after free in wma_del_tdls_sta
qcacld-3.0: Fix race vdev down and tx_desc->vdev access
qcacld-3.0: Fix race vdev down and tx_desc->vdev access
qcacld-3.0: Fix OOB write in wma_unified_debug_print_event_handler
qcacld-3.0: Probe request sent with corrupted IE
qcacmn: Validate nbuf in dp trace function
qcacmn: Check for TSO packet in release_skb
build.config: enforce trace_printk check
msm: mdss: improve performance coming out of idle pc
Revert "qcacld-3.0: Treat ARP/ICMP/ICMPV6 packets as high priority"
pd_engine: Add support for TYPEC_CC_RP_1_5
tcpm: set rp tp 1.5A once PD contract is negotiated
smb-lib: Add support for POWER_SUPPLY_TYPEC_PR_SOURCE_1_5
qcacld-3.0: Enable wiphy RxLDPC for 5G band
Release 5.2.1.1G
qcacld-3.0: Enable ct tracker for external ctrl mode after tdls link enable
qcacld-3.0: Hold wakelock till connection completion
qcacld-3.0: Reset txrx connectivity stats after SSR
qcacld-3.0: Prevent access to rx thread after thread shutdown
qcacld-3.0: Flush packets in datapath error case
qcacld-3.0: Remove CSR dot11f IE RSN max len
qcacld-3.0: Fix OOB write in wma_unified_debug_print_event_handler
qcacld-3.0: Return -EGAIAN and not -ENODEV if FW is down
qcacld-3.0: Fix check condition after taking lock
qcacld-3.0: Fix OOB write in wma_roam_synch_event_handler
qcacld-3.0: Fix issue in connection to WAPI AP
ASoC: msm: qdsp6v2: Add volume control for capture streams
cpufreq: stats: use seq iterator for large uid-related files
cpufreq: stats: update uid data in acct_update_power
htc_battery: Control stop/start charge level by charging_disabled
proc: add null check in proc_uid_init
Release 5.2.1.1E
qcacld-3.0: Remove duplicate block of code due to auto merge
qcacld-3.0: Reset is_acs_allowed variable when chan count is 0
qcacld-3.0: Avoid double free in drv_cmd_get_ibss_peer_info_all()
qcacld-3.0: Fail channel sap channel change request for channel 0
qcacld-3.0: Fix buf overflow in __wlan_hdd_cfg80211_update_connect_params
icnss: Consider recovery as FW down
usb: pd_engine: Turn off Vbus and Vconn during shutdown
VTS: Fix test for supplicant deprecated commands
Revert "xhci: plat: Register shutdown for xhci_plat"
Revert "f_fs: set maxburst to one before enabling endpoints"
dwc3: resize txfifo of IN/INT endpoint before enabling it
scsi: ufs: Avoid dead lock during error recovery
power: qcom/bcl_peripheral: fix READ_OPTIONAL_PROP
icnss: Avoid wlan driver remove during modem graceful shutdown
lge_battery: add parameters to control stop/start charge level
ext4: handle errors on ext4_commit_super
qcacld-3.0: WLAN upgrade to 5.2.1.1D
arm64: dts: Add tcpc configs for taimen
usb: to recognize vbus_present from attribute "present"
Revert "Revert "f_fs: set maxburst to one before enabling endpoints""
Revert "ANDROID: usb: gadget: accessory: Lower protocol version"
qcacld-3.0: WLAN upgrade to 5.2.1.1C.1
qcacld-3.0: Fix issue while handling ndp response without iface name
726b68f Release 5.2.1.1C
arm64: wahoo_defconfig: set CONFIG_QCA_CLD_WLAN=m
ANDROID: usb: gadget: accessory: Lower protocol version
usb: typec: Import tcpc configs from device tree
arm64: dts: Add tcpc configs for walleye
dt-bindings: usb: Add typec bindings
Revert "f_fs: set maxburst to one before enabling endpoints"
staging: bcm15602: use async probe
init/main.c: add sync point between each level
Revert "Revert "select: use freezable blocking call""
input: misc: stmvl53L0: use async probe
arm64:configs:wahoo: disable CONFIG_QPNP_FG_GEN3_LEGACY_CYCLE_COUNT
qpnp: fg+smb-lib: implement Linux cycle count
htc_battery: add parameters to control stop/start charge level
misc: mnh: use async probe
FROMLIST: ALSA: usb-audio: fix memory leak on cval
ALSA: usb-audio: fix error in backport
qpnp-fg-gen3: add cycle_counts_bins device driver attribute
qcacld-3.0: WLAN upgrade to 5.2.1.1B
qcacld-3.0: WLAN upgrade to 5.2.1.1A
BACKPORT: ALSA: usb-audio: UAC2 jack detection
BACKPORT: ALSA: usb-audio: fix uac control query argument
scsi: ufs: Add discard command support to ufs debugfs req. stats
scsi: ufs: Adding io_stats to UFS debugfs
blkdev: Refactoring block io latency histogram codes
msm: wlan: Update regulatory database
msm: wlan: Update regulatory database
msm: wlan: Update regulatory database
ANDROID: initramfs: call free_initrd() when skipping init
pd_engine:Notify smblib when no suspend is allowed
typec: PD: Add callback to support no usb suspend
smb-lib: support separate current settings from usb and pd
arm64: dts: msm8998-htc-common: set imem-restart_info
reset/msm-poweroff: setting reboot message
qcacld-3.0: WLAN upgrade to 5.1.1.47F.2
qcacld-3.0: Validate opmode update req before sending to FW
scsi: ufs: fix req_stats debugfs entry
gower: smb138x-charger: changed buck freq from 700 to 900 kHz
power: smb-lib: Skip enable DRP when chg->typec_pr_disabled is true
Revert "msm: ipc_logging: Disable ipc_log_string"
BACKPORT: mm, procfs: breakdown RSS for anon, shmem and file in /proc/pid/status
BACKPORT: mm, shmem: add internal shmem resident memory accounting
power/supply qpnp-smb2: remove POWER_SUPPLY_PROP_PORT_TEMP
net: replace dst_cache ip6_tunnel implementation with the generic one
Make DST_CACHE a silent config option
net: add dst_cache support
scsi: ufs: fix wrong order for slow io
scsi: ufs: ufs-qcom-ice: Initialize local variable in ice_cfg_start()
scsi: ufs: Serialise ufs clock gating and ungating
scsi: ufs: Add UFS slow I/O monitoring.
Revert "qcacld-3.0: Fix potential OOB read in dot11f.c"
Revert "qcacld-3.0: Check the length of IE's before appending"
Revert "qcacld-3.0: Check ie_len against 255 in function get_container_ies_len"
msm: mdss: set err detect irq to disable on init
msm: ADSPRPC: Change SSC VMID from 5 to 38
Disable kASLR for KASAN builds.
msm: ipc_logging: Disable ipc_log_string
UPSTREAM: block: silently forbid sending any ioctl to a partition
Revert "Revert "qcacld-3.0: WLAN upgrade to 5.1.1.47F.1""
arm64: dts: lge: taimen: max touch coordinates
thermal: qcom: tracing: add clock_set_rate tracing for lmh
arm64: dts: taimen: To avoid AOD blinking issues, changed some related commands
Revert "soc: qcom: glink: Move ctx initialization of xprt ptr"
Revert "soc: qcom: glink: Move tx_info allocation in beginning"
Revert "soc: qcom: glink: Move get reference to valid location"
Revert "soc: qcom: initialize glink link state"
Revert "soc: qcom: avoid calling sleeping functions in interrupt context"
Revert "qcacld-3.0: WLAN upgrade to 5.1.1.47F.1"
Revert "qcacld-3.0: Check for SRD channels in sap_get_channel_list"
Revert "qcacld-3.0: Update bss count based on channel offset only for same band"
Revert "qcacld-3.0: Trim ACS channel list based on the concurrent connections"
Revert "qcacld-3.0: Avoid 2.4Ghz channel in 40Mhz for SAP start"
Revert "qcacld-3.0: WLAN upgrade to 5.1.1.47F.2"
Revert "qcacld-3.0: Treat ARP/ICMP/ICMPV6 packets as high priority"
arch/arm64/wahoo_defconfig: set default readahead to 2048KB
ANDROID: mm: add config for default readahead size
power: lge_battery: Enable bm_check_therm_charging when not charging
Revert "arm64: dts: taimen: set fg-empty-voltage to 3.2V"
Revert "arm64: dts: walleye: set fg-empty-voltage to 3.2V"
Revert "arm64: dts: taimen: set fg-empty-voltage to 3.2V"
Revert "arm64: dts: walleye: set fg-empty-voltage to 3.2V"
Revert "arm64: dts: taimen: lower FG empty and cutoff voltages"
Revert "arm64: dts: taimen: set vbat-too-low-threshold to 2.8V"
scsi: ufs: fix wrong pointer for enabled latency_hist
misc: mnh-ddr: Allocate memory for driver once
scsi: ufs: nullify lrbp->cmd inside of valid tag period
arch/arm64/wahoo_defconfig: enable DEADLINE I/O scheduler
qcacld-3.0: Treat ARP/ICMP/ICMPV6 packets as high priority
qcacld-3.0: WLAN upgrade to 5.1.1.47F.2
qcacld-3.0: Avoid 2.4Ghz channel in 40Mhz for SAP start
qcacld-3.0: Trim ACS channel list based on the concurrent connections
qcacld-3.0: Update bss count based on channel offset only for same band
qcacld-3.0: Check for SRD channels in sap_get_channel_list
qcacld-3.0: WLAN upgrade to 5.1.1.47F.1
soc: qcom: avoid calling sleeping functions in interrupt context
soc: qcom: initialize glink link state
soc: qcom: glink: Move get reference to valid location
soc: qcom: glink: Move tx_info allocation in beginning
soc: qcom: glink: Move ctx initialization of xprt ptr
ANDROID: usb: gadget: f_accessory: Also zero out rx_req on unbind
soc: qcom: service-locator: Update incorrect usage of qmi_send_req_wait
soc: qcom: service-locator: Fix error message prints for receiving messages
ANDROID: usb: gadget: f_accessory: Fix double-free
msm: ipa3: add lock for num_q6_rule
msm: ipa: fix security issues in ipa wan driver
nl80211: Define policy for packet pattern attributes
netlink: Add netns check on taps
qcacld-3.0: Add sanity check for vdev_id in wma_wow_wakeup_host_event
qcacld-3.0: Add sanity check for vdev id to prevent OOB access
qcacld-3.0: Calculate buf_len properly for extscan hotlist event buffer
msm: ipa: add null terminator
misc: mnh: mipi: change variable type to check for error
qcacld-3.0: Validate packet length, before processing PTT commands
qcacld-3.0: Use after free in hdd_debugfs_stats_update api
qcacld-3.0: Fix potential OOB read in dot11f.c
BACKPORT: USB: core: harden cdc_parse_cdc_header
PCI: Fix race condition with driver_override
qcacld-3.0: Fix potential buffer overwrite in wma_unified_link_iface_stats_event_handler
FROMGIT: soc: qcom: initialize glink link state
qcacld-3.0: Check the length of IE's before appending
UPSTREAM: KEYS: encrypted: fix buffer overread in valid_master_desc()
UPSTREAM: net: ipv4: fix for a race condition in raw_sendmsg
qcacld-3.0: Add sanity check in wma_process_rmf_frame
diag: dci: Add validity check for dci client's process descriptor
qcacld-3.0: Add sanity check for num_hw_modes and num_phy
qcacld-3.0: WLAN upgrade to 5.1.1.44V.4
qcacld-3.0: Enhance logging levels for some SAP ACS messages
qcacld-3.0: Do 11ac override only if channel list has 5Ghz channel(s)
qcacld-3.0: Assign acs_cfg->end_ch before use
qcacld-3.0: Avoid selection of irrelevant channel in 80/160MHz config
qcacld-3.0: Set ACS weight to max for channels not in scan list
qcacld-3.0: Fix an ACS hw mode mapping discrepancy
qcacld-3.0: Check for valid vdev ID in SWBA event handler
ASoC: apr: Add validity check to APR port
msm: ipa: Fix the handling of default IPA header
qcacld-3.0: Fix buffer overread in wma_extscan_hotlist_match_event_handler
qcacld-3.0: Remove unused function proc_set_req_internal
qcacld-3.0: Fix potential buffer overflow in htt_t2h_lp_msg_handler
qcacld-3.0: Fix potential buffer overflow in ol_rx_flush_handler
qcacld-3.0: Fix buffer overflow in wma radio_tx_power_level_stats handler
qcacld-3.0: Fix potential buffer overflow in process_tx_info
ANDROID: usb: gadget: f_accessory: Increase buffer size and max burst
Revert "arm64: dts: taimen: To avoid AOD flickering, changed AOD in/out init.code"
qcacld-3.0: Check ie_len against 255 in function get_container_ies_len
arm64: dts: taimen: To avoid AOD flickering, changed AOD in/out init.code
msm: wlan: Remove channel 14 from Japan
ANDROID: cpufreq: change uid_cpupower to use u32
qcacld-3.0: Support NDP Confirm with channel info and Schedule Update
UPSTREAM: ext4: don't allow encrypted operations without keys
UPSTREAM: typec: tcpm: Only request matching pdos
UPSTREAM: typec: tcpm: Validate source and sink caps
ANDROID: sdcardfs: Protect set_top
ANDROID: fsnotify: Notify lower fs of open
Revert "ANDROID: sdcardfs: notify lower file of opens"
ANDROID: sdcardfs: Use lower getattr times/size
qcacld-3.0: WLAN upgrade to 5.1.1.44V.3
qcacld-3.0: Validate CSA WBW IE before processing channel switch
Revert "arm64/configs: wahoo: remove CONFIG_IPC_LOGGING"
nl80211: Add the missing nl80211 enums
Revert "scsi: ufs: Change power mode on line reset"
Revert "Revert "scsi: ufs: disable auto hibern8""
KEYS: prevent KEYCTL_READ on negative key
hrtimer: Reset hrtimer cpu base proper on CPU hotplug
qcacld-3.0: WLAN upgrade to 5.1.1.44V.2
qcacld-3.0: Avoid panic during HDD resume failure if FW is down
qcacld-3.0: WLAN upgrade to 5.1.1.44V.1
qcacld-3.0: Send per chain rssi to upper layer
qcacld-3.0: Modify dwell time and DBS scan based on scan request
qcacmn: Send per chain rssi to upper layer
qcacld-3.0: Add support for HW mode info vendor command
nl80211: Introduce scan flags to emphasize requested scan behavior
cfg80211: Scan results to also report the per chain signal strength
qcacld-3.0: WLAN upgrade to 5.1.1.44V
msm: wlan: Remove DSRC channels from US reg-domain
icnss: Update icnss platform driver
USB: fix buffer overflows with parsing CDC headers
scsi/ufs: use 16 queue depth for Samsung UFS part
BACKPORT: USB: core: harden cdc_parse_cdc_header
ANDROID: clock_gettime(CLOCK_BOOTTIME,) slows down >20x
qcacld-3.0: Update host driver version to 5.1.1.41W.1
Revert "scsi: ufs: disable auto hibern8"
qcacld-3.0: Trim the ACS scan channel list as per acs config
ANDROID: xattr: Pass EOPNOTSUPP to permission2
STOPSHIP: ANDROID: cpufreq: concurrent_*_time P/H experiment
ANDROID: cpufreq: Remove seq_printf from critical path
ANDROID: sdcardfs: Move default_normal to superblock
qcacld-3.0: Check the channel width value in CSA processing
arm64: dts: htc: usb-xa: Lower USB-C temp and hysteresis thresholds
arm64: dts: lge: Lower USB-C temp and hysteresis thresholds
wlan_mac: Change from icnss to cnss_utils api
cnss_utils: Zero out cnss_utils priv structure during initialization
cnss_utils: Add support for derived MAC address
cnss_utils: Add support of cnss_utils for WLAN
arm64: dts: taimen: lower FG empty and cutoff voltages
arm64: dts: taimen: set vbat-too-low-threshold to 2.8V
power: qcom: bcl_peripheral: allow setting vbat-too-low from DT
msm: bus_arb: disable debug logging
arm64/configs: wahoo: remove CONFIG_IPC_LOGGING
input: touchscreen: stm: enable touch after unblank
Add VTI support to Wahoo Kernel
arm64: dts: taimen: set fg-empty-voltage to 3.2V
arm64: dts: walleye: set fg-empty-voltage to 3.2V
power: lge-battery: remove debugging FG log message
qcacld-3.0: WLAN upgrade to 5.1.1.41W
wireless: wlan: Remove DSRC channels from ETSI countries
soc: qcom: ssr: Remove ramdump enabled limitation for crash_reason
STOPSHIP: ANDROID: vdso: add disable switch for experiments
ANDROID: wahoo: turn on VDSO
ANDROID: arm64: vdso32: fix CC=clang build
ANDROID: wahoo: add CROSS_COMPILE_ARM32 to build configs
ANDROID: CROSS_COMPILE_ARM32 must work if CONFIG_COMPAT_VDSO
FROMLIST: BACKPORT: [PATCH 6/6] arm64: Wire up and expose the new compat vDSO
FROMLIST: BACKPORT: [PATCH 5/6] arm64: compat: 32-bit vDSO setup
FROMLIST: [PATCH 4/6] arm64: compat: Add a 32-bit vDSO
FROMLIST: [PATCH 3/6] arm64: Refactor vDSO init/setup
FROMLIST: [PATCH 2/6] arm64: elf: Set AT_SYSINFO_EHDR in compat processes
FROMLIST: [PATCH 1/6] arm64: compat: Use vDSO sigreturn trampolines if available
FROMLIST: lib: vdso: add support for time
FROMLIST: [PATCH] arm64: compat: Expose offset to registers in sigframes
FROMLIST: [PATCH v5 12/12] lib: vdso: do not expose gettimeofday, if no arch supported timer
FROMLIST: [PATCH v5 11/12] lib: vdso: Add support for CLOCK_BOOTTIME
FROMLIST: [PATCH v5 10/12] arm64: vdso: replace gettimeofday.S with global vgettimeofday.C
FROMLIST: [PATCH v5 09/12] arm: vdso: move vgettimeofday.c to lib/vdso/
FROMLIST: [PATCH v5 08/12] arm: vdso: Add ARCH_CLOCK_FIXED_MASK
FROMLIST: [PATCH v5 07/12] arm: vdso: disable profiling
FROMLIST: [PATCH v5 06/12] arm: vdso: add support for clock_getres
FROMLIST: [PATCH v6 05/12] arm: vdso: Add support for CLOCK_MONOTONIC_RAW
FROMLIST: [PATCH v5 04/12] arm: vdso: do calculations outside reader loops
FROMLIST: [PATCH v5 03/12] arm: vdso: inline assembler operations to compiler.h
FROMLIST: [PATCH v5 02/12] arm: vdso: add include file defining __get_datapage()
FROMLIST: [PATCH v5 01/12] arm: vdso: rename vdso_datapage variables
FROMLIST: [PATCH v2 3/3] arm64: compat: Add CONFIG_KUSER_HELPERS
FROMLIST: [PATCH v2 2/3] arm64: compat: Split the sigreturn trampolines and kuser helpers (assembler sources)
FROMLIST: [PATCH v2 1/3] arm64: compat: Split the sigreturn trampolines and kuser helpers (C sources)
msm: ipc_logging: fix missing header
ANDROID: sdcardfs: Fix missing break on default_normal
mm: skip swap readahead when process is exiting
ANDROID: sdcardfs: Add default_normal option
ANDROID: sdcardfs: notify lower file of opens
UPSTREAM: net: xfrm: allow clearing socket xfrm policies.
qcacld-3.0: wlan driver upgrade to 5.1.1.38X
diag: Add timer to make sure wakelock no stuck
misc: mnh: fix pcie suspend sequence for power down from suspend
misc: mnh: prevent double ready irq disables
ANDROID: cpufreq: update conditions for recording cputime
BACKPORT: arm64: Use __pa_symbol for empty_zero_page
BACKPORT: arm64: Use __pa_symbol for kernel symbols
UPSTREAM: mm: Introduce lm_alias
BACKPORT: time: Clean up CLOCK_MONOTONIC_RAW time handling
BACKPORT: time: Fix CLOCK_MONOTONIC_RAW sub-nanosecond accounting
UPSTREAM: arm64: compat: Remove leftover variable declaration
UPSTREAM: arm64: vdso: constify vm_special_mapping used for aarch32 vectors page
UPSTREAM: arm64: vdso: add __init section marker to alloc_vectors_page
UPSTREAM: ARM: 8597/1: VDSO: put RO and RO after init objects into proper sections
UPSTREAM: arm64: Add support for CLOCK_MONOTONIC_RAW in clock_gettime() vDSO
UPSTREAM: arm64: Refactor vDSO time functions
UPSTREAM: arm64: fix vdso-offsets.h dependency
UPSTREAM: kbuild: drop FORCE from PHONY targets
UPSTREAM: mm: add PHYS_PFN, use it in __phys_to_pfn()
UPSTREAM: ARM: 8476/1: VDSO: use PTR_ERR_OR_ZERO for vma check
Revert "soc: qcom: pil: Dump whole subsystem region"
misc: mnh: Free firmware buf on download failure
Revert "arm64: dts: taimen: add delay after sleep out and post panel on cmd"
ANDROID: cpufreq: uid_concurrent_policy_time
ANDROID: cpufreq: uid_concurrent_active_time
ANDROID: cpufreq: concurrent_policy_time by pid
ANDROID: cpufreq: concurrent_active_time by pid
PM: wakeup_reasons: Fix formatting for printk
ufs: show ufs part info in error case
msm: mdss: ensure mdp transfer before post panel on commands
spmi-pmic-arb: add support to dispatch interrupt based on IRQ status
input: ftm4: sync only between repeated touch events
msm: kgsl: Stop slab shrinker when no more pages can be reclaimed
UPSTREAM: arm64: vdso: fix clock_getres for 4GiB-aligned res
build.config.clang.lto: fix LD_LIBRARY_PATH
soc: qcom: pil: Dump whole subsystem region
easelcomm: Avoid retries when sending wrap marker
FROMLIST: arm64: Avoid aligning normal memory pointers in __memcpy_{to,from}io
misc: easelcomm: Convert service spinlock to mutex
msm: mdss: enable err_detect irq after post panel on
misc: easelcomm: Fix signed and unsigned comparison
drv2624: use regmap_write_bit() for updating bits for volatile registers
genirq: Add generic action name for chained IRQs
input: touchscreen: stm: add decoding for additional events
clk: msm: clock-gpu-8998: Remove 180MHz perf level for gfx3d clock
arm64: configs: wahoo: enable MNH_PCIE_MULTIPLE_MSI
misc: mnh: pcie: fix compile error for multiple msi config
pci: msm: add support for multiple msi interrupts
ANDROID: Revert "arm64: move ELF_ET_DYN_BASE to 4GB / 4MB"
sched: rate-limit sched_timing printk
usb: gadget: f_fs: Fix sleeping while atomic in ffs_epfile_io
power: Adjust learned capacity max decrement to 0.5%
arm64: dtbo: muskie: Remove muskie dtbo from build
ANDROID: cpufreq: Add time_in_state to /proc/uid directories
ANDROID: proc: Add /proc/uid directory
input: misc: Fixed LDAF PerformRefSpadManagement
soc: qcom: glink: Add downvote of transport during SSR
input: touchscreen: stm: faster touch i2c reads
ANDROID: binder: show high watermark of alloc->pages.
ANDROID: binder: Add thread->process_todo flag.
qpnp-fg-gen3: Move getting battery id and profile to profile_load_work
input: ftm4: reflash firmware when config or cx is corrupt
diag: Flush control workqueue immediately on channel close
BACKPORT: xfrm: Clear sk_dst_cache when applying per-socket policy.
msm: vidc: Fix issue with regulator node reordering
staging: bcm15602: add vsel sysfs for all bcm15602 rails
...
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Conflicts:
arch/arm/include/asm/kvm_arm.h
arch/arm64/boot/dts/lge/dsi-panel-sw43402-dsc-qhd-cmd.dtsi
arch/x86/include/asm/thread_info.h
arch/x86/kernel/kprobes/core.c
drivers/gpu/drm/msm/msm_gem_submit.c
drivers/md/dm-bufio.c
drivers/media/v4l2-core/v4l2-compat-ioctl32.c
drivers/mmc/core/bus.c
drivers/net/wireless/iwlwifi/iwl-nvm-parse.c
include/linux/compiler-clang.h
kernel/time/timekeeping.c
net/bridge/netfilter/ebtables.c
net/core/dst_cache.c
net/ipv4/raw.c
net/xfrm/xfrm_state.c
sound/usb/card.c
sound/usb/mixer.c
Changes in 4.4.146: (123 commits)
MIPS: Fix off-by-one in pci_resource_to_user()
Input: elan_i2c - add ACPI ID for lenovo ideapad 330
Input: i8042 - add Lenovo LaVie Z to the i8042 reset list
Input: elan_i2c - add another ACPI ID for Lenovo Ideapad 330-15AST
tracing: Fix double free of event_trigger_data
tracing: Fix possible double free in event_enable_trigger_func()
tracing/kprobes: Fix trace_probe flags on enable_trace_kprobe() failure
tracing: Quiet gcc warning about maybe unused link variable
xen/netfront: raise max number of slots in xennet_get_responses()
ALSA: emu10k1: add error handling for snd_ctl_add
ALSA: fm801: add error handling for snd_ctl_add
nfsd: fix potential use-after-free in nfsd4_decode_getdeviceinfo
mm: vmalloc: avoid racy handling of debugobjects in vunmap
mm/slub.c: add __printf verification to slab_err()
rtc: ensure rtc_set_alarm fails when alarms are not supported
netfilter: ipset: List timing out entries with "timeout 1" instead of zero
infiniband: fix a possible use-after-free bug
hvc_opal: don't set tb_ticks_per_usec in udbg_init_opal_common()
powerpc/64s: Fix compiler store ordering to SLB shadow area
RDMA/mad: Convert BUG_ONs to error flows
disable loading f2fs module on PAGE_SIZE > 4KB
f2fs: fix to don't trigger writeback during recovery
usbip: usbip_detach: Fix memory, udev context and udev leak
perf/x86/intel/uncore: Correct fixed counter index check in generic code
perf/x86/intel/uncore: Correct fixed counter index check for NHM
iwlwifi: pcie: fix race in Rx buffer allocator
Bluetooth: hci_qca: Fix "Sleep inside atomic section" warning
Bluetooth: btusb: Add a new Realtek 8723DE ID 2ff8:b011
ASoC: dpcm: fix BE dai not hw_free and shutdown
mfd: cros_ec: Fail early if we cannot identify the EC
mwifiex: handle race during mwifiex_usb_disconnect
wlcore: sdio: check for valid platform device data before suspend
media: videobuf2-core: don't call memop 'finish' when queueing
btrfs: add barriers to btrfs_sync_log before log_commit_wait wakeups
btrfs: qgroup: Finish rescan when hit the last leaf of extent tree
PCI: Prevent sysfs disable of device while driver is attached
ath: Add regulatory mapping for FCC3_ETSIC
ath: Add regulatory mapping for ETSI8_WORLD
ath: Add regulatory mapping for APL13_WORLD
ath: Add regulatory mapping for APL2_FCCA
ath: Add regulatory mapping for Uganda
ath: Add regulatory mapping for Tanzania
ath: Add regulatory mapping for Serbia
ath: Add regulatory mapping for Bermuda
ath: Add regulatory mapping for Bahamas
powerpc/32: Add a missing include header
powerpc/chrp/time: Make some functions static, add missing header include
powerpc/powermac: Add missing prototype for note_bootable_part()
powerpc/powermac: Mark variable x as unused
powerpc/8xx: fix invalid register expression in head_8xx.S
pinctrl: at91-pio4: add missing of_node_put
PCI: pciehp: Request control of native hotplug only if supported
mwifiex: correct histogram data with appropriate index
scsi: ufs: fix exception event handling
ALSA: emu10k1: Rate-limit error messages about page errors
regulator: pfuze100: add .is_enable() for pfuze100_swb_regulator_ops
md: fix NULL dereference of mddev->pers in remove_and_add_spares()
media: smiapp: fix timeout checking in smiapp_read_nvm
ALSA: usb-audio: Apply rate limit to warning messages in URB complete callback
HID: hid-plantronics: Re-resend Update to map button for PTT products
drm/radeon: fix mode_valid's return type
powerpc/embedded6xx/hlwd-pic: Prevent interrupts from being handled by Starlet
HID: i2c-hid: check if device is there before really probing
tty: Fix data race in tty_insert_flip_string_fixed_flag
dma-iommu: Fix compilation when !CONFIG_IOMMU_DMA
media: rcar_jpu: Add missing clk_disable_unprepare() on error in jpu_open()
libata: Fix command retry decision
media: saa7164: Fix driver name in debug output
mtd: rawnand: fsl_ifc: fix FSL NAND driver to read all ONFI parameter pages
brcmfmac: Add support for bcm43364 wireless chipset
s390/cpum_sf: Add data entry sizes to sampling trailer entry
perf: fix invalid bit in diagnostic entry
scsi: 3w-9xxx: fix a missing-check bug
scsi: 3w-xxxx: fix a missing-check bug
scsi: megaraid: silence a static checker bug
thermal: exynos: fix setting rising_threshold for Exynos5433
bpf: fix references to free_bpf_prog_info() in comments
media: siano: get rid of __le32/__le16 cast warnings
drm/atomic: Handling the case when setting old crtc for plane
ALSA: hda/ca0132: fix build failure when a local macro is defined
memory: tegra: Do not handle spurious interrupts
memory: tegra: Apply interrupts mask per SoC
drm/gma500: fix psb_intel_lvds_mode_valid()'s return type
ipconfig: Correctly initialise ic_nameservers
rsi: Fix 'invalid vdd' warning in mmc
audit: allow not equal op for audit by executable
microblaze: Fix simpleImage format generation
usb: hub: Don't wait for connect state at resume for powered-off ports
crypto: authencesn - don't leak pointers to authenc keys
crypto: authenc - don't leak pointers to authenc keys
media: omap3isp: fix unbalanced dma_iommu_mapping
scsi: scsi_dh: replace too broad "TP9" string with the exact models
scsi: megaraid_sas: Increase timeout by 1 sec for non-RAID fastpath IOs
media: si470x: fix __be16 annotations
drm: Add DP PSR2 sink enable bit
random: mix rdrand with entropy sent in from userspace
squashfs: be more careful about metadata corruption
ext4: fix inline data updates with checksums enabled
ext4: check for allocation block validity with block group locked
dmaengine: pxa_dma: remove duplicate const qualifier
ASoC: pxa: Fix module autoload for platform drivers
ipv4: remove BUG_ON() from fib_compute_spec_dst
net: fix amd-xgbe flow-control issue
net: lan78xx: fix rx handling before first packet is send
xen-netfront: wait xenbus state change when load module manually
NET: stmmac: align DMA stuff to largest cache line length
tcp: do not force quickack when receiving out-of-order packets
tcp: add max_quickacks param to tcp_incr_quickack and tcp_enter_quickack_mode
tcp: do not aggressively quick ack after ECN events
tcp: refactor tcp_ecn_check_ce to remove sk type cast
tcp: add one more quick ack after after ECN events
inet: frag: enforce memory limits earlier
net: dsa: Do not suspend/resume closed slave_dev
netlink: Fix spectre v1 gadget in netlink_create()
squashfs: more metadata hardening
squashfs: more metadata hardenings
can: ems_usb: Fix memory leak on ems_usb_disconnect()
net: socket: fix potential spectre v1 gadget in socketcall
virtio_balloon: fix another race between migration and ballooning
kvm: x86: vmx: fix vpid leak
crypto: padlock-aes - Fix Nano workaround data corruption
scsi: sg: fix minor memory leak in error path
Linux 4.4.146
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Conflicts:
drivers/scsi/ufs/ufshcd.c
include/net/tcp.h
net/socket.c
[ Upstream commit 1c74d5c0de0c2cc29fef97a19251da2ad6f579bd ]
Currently we are enabling handling of interrupts specific to Tegra124+
which happen to overlap with previous generations. Let's specify
interrupts mask per SoC generation for consistency and in a preparation
of squashing of Tegra20 driver into the common one that will enable
handling of GART faults which may be undesirable by newer generations.
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Host wlan driver needs to know if the drive has been
reloaded and wiphy re-registered with the kernel.
Therefore add APIs to retrieve this information.
CRs-Fixed: 2058292
Change-Id: Ia323e31e9b6779e2f5279f42b6e1860a9259a189
Signed-off-by: Amar Singhal <asinghal@codeaurora.org>
As debugfs interface is intended to test the respective framework, remove
from the driver to make sure it won't be available by default.
CRs-Fixed: 2025661
Change-Id: I6af9a8333c8028611f889cc2f9b0beb37ef12c9b
Signed-off-by: Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
Low latency use cases are failing because glink RX thread to handle
the TX Done command is not being scheduled during high system load.
These new APIs allow clients to specify if they need the RX glink
thread to be Realtime
CRs-Fixed: 2050701
Change-Id: I6bd4023394e9ee617797826687f34abaee3fe65d
Signed-off-by: Chris Lew <clew@codeaurora.org>
The return values from QMI could be compared directly and was
incorrectly interpreted in service locator and notifier.
Also initialize structure in service locator so as to not have garbage
values in them.
Change-Id: I7f8f27857706e9508b64289d9263c79494c17a8d
Signed-off-by: Puja Gupta <pujag@codeaurora.org>
If FW is down irrespective of crash, a uevent
is sent to wlan host driver to indicate FW is down.
Change-Id: I9fe2a2a11178f72ea27150d74d93a1e411eac030
CRs-fixed: 2027902
Signed-off-by: Hardik Kantilal Patel <hkpatel@codeaurora.org>
Signed-off-by: Anurag Chouhan <achouhan@codeaurora.org>
refs/heads/tmp-28ec98b:
Linux 4.4.55
ext4: don't BUG when truncating encrypted inodes on the orphan list
dm: flush queued bios when process blocks to avoid deadlock
nfit, libnvdimm: fix interleave set cookie calculation
s390/kdump: Use "LINUX" ELF note name instead of "CORE"
KVM: s390: Fix guest migration for huge guests resulting in panic
mvsas: fix misleading indentation
serial: samsung: Continue to work if DMA request fails
USB: serial: io_ti: fix information leak in completion handler
USB: serial: io_ti: fix NULL-deref in interrupt callback
USB: iowarrior: fix NULL-deref in write
USB: iowarrior: fix NULL-deref at probe
USB: serial: omninet: fix reference leaks at open
USB: serial: safe_serial: fix information leak in completion handler
usb: host: xhci-plat: Fix timeout on removal of hot pluggable xhci controllers
usb: host: xhci-dbg: HCIVERSION should be a binary number
usb: gadget: function: f_fs: pass companion descriptor along
usb: dwc3: gadget: make Set Endpoint Configuration macros safe
usb: gadget: dummy_hcd: clear usb_gadget region before registration
powerpc: Emulation support for load/store instructions on LE
tracing: Add #undef to fix compile error
MIPS: Netlogic: Fix CP0_EBASE redefinition warnings
MIPS: DEC: Avoid la pseudo-instruction in delay slots
mm: memcontrol: avoid unused function warning
cpmac: remove hopeless #warning
MIPS: ralink: Remove unused rt*_wdt_reset functions
MIPS: ralink: Cosmetic change to prom_init().
mtd: pmcmsp: use kstrndup instead of kmalloc+strncpy
MIPS: Update lemote2f_defconfig for CPU_FREQ_STAT change
MIPS: ip22: Fix ip28 build for modern gcc
MIPS: Update ip27_defconfig for SCSI_DH change
MIPS: ip27: Disable qlge driver in defconfig
MIPS: Update defconfigs for NF_CT_PROTO_DCCP/UDPLITE change
crypto: improve gcc optimization flags for serpent and wp512
USB: serial: digi_acceleport: fix OOB-event processing
USB: serial: digi_acceleport: fix OOB data sanity check
Linux 4.4.54
drivers: hv: Turn off write permission on the hypercall page
fat: fix using uninitialized fields of fat_inode/fsinfo_inode
libceph: use BUG() instead of BUG_ON(1)
drm/i915/dsi: Do not clear DPOUNIT_CLOCK_GATE_DISABLE from vlv_init_display_clock_gating
fakelb: fix schedule while atomic
drm/atomic: fix an error code in mode_fixup()
drm/ttm: Make sure BOs being swapped out are cacheable
drm/edid: Add EDID_QUIRK_FORCE_8BPC quirk for Rotel RSX-1058
drm/ast: Fix AST2400 POST failure without BMC FW or VBIOS
drm/ast: Call open_key before enable_mmio in POST code
drm/ast: Fix test for VGA enabled
drm/amdgpu: add more cases to DCE11 possible crtc mask setup
mac80211: flush delayed work when entering suspend
xtensa: move parse_tag_fdt out of #ifdef CONFIG_BLK_DEV_INITRD
pwm: pca9685: Fix period change with same duty cycle
nlm: Ensure callback code also checks that the files match
target: Fix NULL dereference during LUN lookup + active I/O shutdown
ceph: remove req from unsafe list when unregistering it
ktest: Fix child exit code processing
IB/srp: Fix race conditions related to task management
IB/srp: Avoid that duplicate responses trigger a kernel bug
IB/IPoIB: Add destination address when re-queue packet
IB/ipoib: Fix deadlock between rmmod and set_mode
mnt: Tuck mounts under others instead of creating shadow/side mounts.
net: mvpp2: fix DMA address calculation in mvpp2_txq_inc_put()
s390: use correct input data address for setup_randomness
s390: make setup_randomness work
s390: TASK_SIZE for kernel threads
s390/dcssblk: fix device size calculation in dcssblk_direct_access()
s390/qdio: clear DSCI prior to scanning multiple input queues
Bluetooth: Add another AR3012 04ca:3018 device
KVM: VMX: use correct vmcs_read/write for guest segment selector/base
KVM: s390: Disable dirty log retrieval for UCONTROL guests
serial: 8250_pci: Add MKS Tenta SCOM-0800 and SCOM-0801 cards
tty: n_hdlc: get rid of racy n_hdlc.tbuf
TTY: n_hdlc, fix lockdep false positive
Linux 4.4.53
scsi: lpfc: Correct WQ creation for pagesize
MIPS: IP22: Fix build error due to binutils 2.25 uselessnes.
MIPS: IP22: Reformat inline assembler code to modern standards.
powerpc/xmon: Fix data-breakpoint
dmaengine: ipu: Make sure the interrupt routine checks all interrupts.
bcma: use (get|put)_device when probing/removing device driver
md linear: fix a race between linear_add() and linear_congested()
rtc: sun6i: Switch to the external oscillator
rtc: sun6i: Add some locking
NFSv4: fix getacl ERANGE for some ACL buffer sizes
NFSv4: fix getacl head length estimation
NFSv4: Fix memory and state leak in _nfs4_open_and_get_state
nfsd: special case truncates some more
nfsd: minor nfsd_setattr cleanup
rtlwifi: rtl8192c-common: Fix "BUG: KASAN:
rtlwifi: Fix alignment issues
gfs2: Add missing rcu locking for glock lookup
rdma_cm: fail iwarp accepts w/o connection params
RDMA/core: Fix incorrect structure packing for booleans
Drivers: hv: util: Backup: Fix a rescind processing issue
Drivers: hv: util: Fcopy: Fix a rescind processing issue
Drivers: hv: util: kvp: Fix a rescind processing issue
hv: init percpu_list in hv_synic_alloc()
hv: allocate synic pages for all present CPUs
usb: gadget: udc: fsl: Add missing complete function.
usb: host: xhci: plat: check hcc_params after add hcd
usb: musb: da8xx: Remove CPPI 3.0 quirk and methods
w1: ds2490: USB transfer buffers need to be DMAable
w1: don't leak refcount on slave attach failure in w1_attach_slave_device()
can: usb_8dev: Fix memory leak of priv->cmd_msg_buffer
iio: pressure: mpl3115: do not rely on structure field ordering
iio: pressure: mpl115: do not rely on structure field ordering
arm/arm64: KVM: Enforce unconditional flush to PoC when mapping to stage-2
fuse: add missing FR_FORCE
crypto: testmgr - Pad aes_ccm_enc_tv_template vector
ath9k: use correct OTP register offsets for the AR9340 and AR9550
ath9k: fix race condition in enabling/disabling IRQs
ath5k: drop bogus warning on drv_set_key with unsupported cipher
target: Fix multi-session dynamic se_node_acl double free OOPs
target: Obtain se_node_acl->acl_kref during get_initiator_node_acl
samples/seccomp: fix 64-bit comparison macros
ext4: return EROFS if device is r/o and journal replay is needed
ext4: preserve the needs_recovery flag when the journal is aborted
ext4: fix inline data error paths
ext4: fix data corruption in data=journal mode
ext4: trim allocation requests to group size
ext4: do not polute the extents cache while shifting extents
ext4: Include forgotten start block on fallocate insert range
loop: fix LO_FLAGS_PARTSCAN hang
block/loop: fix race between I/O and set_status
jbd2: don't leak modified metadata buffers on an aborted journal
Fix: Disable sys_membarrier when nohz_full is enabled
sd: get disk reference in sd_check_events()
scsi: use 'scsi_device_from_queue()' for scsi_dh
scsi: aacraid: Reorder Adapter status check
scsi: storvsc: properly set residual data length on errors
scsi: storvsc: properly handle SRB_ERROR when sense message is present
scsi: storvsc: use tagged SRB requests if supported by the device
dm stats: fix a leaked s->histogram_boundaries array
dm cache: fix corruption seen when using cache > 2TB
ipc/shm: Fix shmat mmap nil-page protection
mm: do not access page->mapping directly on page_endio
mm: vmpressure: fix sending wrong events on underflow
mm/page_alloc: fix nodes for reclaim in fast path
iommu/vt-d: Tylersburg isoch identity map check is done too late.
iommu/vt-d: Fix some macros that are incorrectly specified in intel-iommu
regulator: Fix regulator_summary for deviceless consumers
staging: rtl: fix possible NULL pointer dereference
ALSA: hda - Fix micmute hotkey problem for a lenovo AIO machine
ALSA: hda - Add subwoofer support for Dell Inspiron 17 7000 Gaming
ALSA: seq: Fix link corruption by event error handling
ALSA: ctxfi: Fallback DMA mask to 32bit
ALSA: timer: Reject user params with too small ticks
ALSA: hda - fix Lewisburg audio issue
ALSA: hda/realtek - Cannot adjust speaker's volume on a Dell AIO
ARM: dts: at91: Enable DMA on sama5d2_xplained console
ARM: dts: at91: Enable DMA on sama5d4_xplained console
ARM: at91: define LPDDR types
media: fix dm1105.c build error
uvcvideo: Fix a wrong macro
am437x-vpfe: always assign bpp variable
MIPS: Handle microMIPS jumps in the same way as MIPS32/MIPS64 jumps
MIPS: Calculate microMIPS ra properly when unwinding the stack
MIPS: Fix is_jump_ins() handling of 16b microMIPS instructions
MIPS: Fix get_frame_info() handling of microMIPS function size
MIPS: Prevent unaligned accesses during stack unwinding
MIPS: Clear ISA bit correctly in get_frame_info()
MIPS: Lantiq: Keep ethernet enabled during boot
MIPS: OCTEON: Fix copy_from_user fault handling for large buffers
MIPS: BCM47XX: Fix button inversion for Asus WL-500W
MIPS: Fix special case in 64 bit IP checksumming.
samples: move mic/mpssd example code from Documentation
Linux 4.4.52
kvm: vmx: ensure VMCS is current while enabling PML
Revert "usb: chipidea: imx: enable CI_HDRC_SET_NON_ZERO_TTHA"
rtlwifi: rtl_usb: Fix for URB leaking when doing ifconfig up/down
block: fix double-free in the failure path of cgwb_bdi_init()
goldfish: Sanitize the broken interrupt handler
x86/platform/goldfish: Prevent unconditional loading
USB: serial: ark3116: fix register-accessor error handling
USB: serial: opticon: fix CTS retrieval at open
USB: serial: spcp8x5: fix modem-status handling
USB: serial: ftdi_sio: fix line-status over-reporting
USB: serial: ftdi_sio: fix extreme low-latency setting
USB: serial: ftdi_sio: fix modem-status error handling
USB: serial: cp210x: add new IDs for GE Bx50v3 boards
USB: serial: mos7840: fix another NULL-deref at open
tty: serial: msm: Fix module autoload
net: socket: fix recvmmsg not returning error from sock_error
ip: fix IP_CHECKSUM handling
irda: Fix lockdep annotations in hashbin_delete().
dccp: fix freeing skb too early for IPV6_RECVPKTINFO
packet: Do not call fanout_release from atomic contexts
packet: fix races in fanout_add()
net/llc: avoid BUG_ON() in skb_orphan()
blk-mq: really fix plug list flushing for nomerge queues
rtc: interface: ignore expired timers when enqueuing new timers
rtlwifi: rtl_usb: Fix missing entry in USB driver's private data
Linux 4.4.51
mmc: core: fix multi-bit bus width without high-speed mode
bcache: Make gc wakeup sane, remove set_task_state()
ntb_transport: Pick an unused queue
NTB: ntb_transport: fix debugfs_remove_recursive
printk: use rcuidle console tracepoint
ARM: 8658/1: uaccess: fix zeroing of 64-bit get_user()
futex: Move futex_init() to core_initcall
drm/dp/mst: fix kernel oops when turning off secondary monitor
drm/radeon: Use mode h/vdisplay fields to hide out of bounds HW cursor
Input: elan_i2c - add ELAN0605 to the ACPI table
Fix missing sanity check in /dev/sg
scsi: don't BUG_ON() empty DMA transfers
fuse: fix use after free issue in fuse_dev_do_read()
siano: make it work again with CONFIG_VMAP_STACK
vfs: fix uninitialized flags in splice_to_pipe()
Linux 4.4.50
l2tp: do not use udp_ioctl()
ping: fix a null pointer dereference
packet: round up linear to header len
net: introduce device min_header_len
sit: fix a double free on error path
sctp: avoid BUG_ON on sctp_wait_for_sndbuf
mlx4: Invoke softirqs after napi_reschedule
macvtap: read vnet_hdr_size once
tun: read vnet_hdr_sz once
tcp: avoid infinite loop in tcp_splice_read()
ipv6: tcp: add a missing tcp_v6_restore_cb()
ip6_gre: fix ip6gre_err() invalid reads
netlabel: out of bound access in cipso_v4_validate()
ipv4: keep skb->dst around in presence of IP options
net: use a work queue to defer net_disable_timestamp() work
tcp: fix 0 divide in __tcp_select_window()
ipv6: pointer math error in ip6_tnl_parse_tlv_enc_lim()
ipv6: fix ip6_tnl_parse_tlv_enc_lim()
can: Fix kernel panic at security_sock_rcv_skb
Conflicts:
drivers/scsi/sd.c
drivers/usb/gadget/function/f_fs.c
drivers/usb/host/xhci-plat.c
CRs-Fixed: 2023471
Change-Id: I396051a8de30271af77b3890d4b19787faa1c31e
Signed-off-by: Blagovest Kolenichev <bkolenichev@codeaurora.org>
Some PLL implementations depend on the CPU being able to handle
certain interrupts in order for the set_rate operation to
complete. Allow interrupts to be handled in the set_rate op.
CRs-Fixed: 960701
Change-Id: I6fda5ed9eb7d6f2e2cd91c58ebabfd7bc1c8a2fc
Signed-off-by: Vikram Mulukutla <markivx@codeaurora.org>
Add a new driver to Provide a communication interface between userspace and
tz services using Secure Channel Manager (SCM) interface. It exposes APIs
for userspace to get system profiling information.
This will allow the sdp profiler to get cpu/gpu and total bandwidth info.
Change-Id: Ia1f5dbdda44b9e25a0a705ffe827f0c3741c8ef8
Signed-off-by: Jaiju Yesudasan <cjaijuy@codeaurora.org>
Fix the symbol linking error for loadable kernel modules
which is using secure buffer hypervisor api for smmu configuration.
CRs-Fixed: 2019262
Change-Id: I3d83fd4b1854298c1283e03f220de8c673195492
Signed-off-by: Sarada Prasanna Garnayak <sgarna@codeaurora.org>
Added new service identifier macro for scm call.
The service is for getting system bandwidth information.
Change-Id: I0a67fe039753ea30c81bcdb34612d79d6bc6082c
Signed-off-by: Jaiju Yesudasan <cjaijuy@codeaurora.org>
In case of user PD restart requests from clients, return a separate error
code if PDR is disabled on subsystem. This is so that clients can
distinguish it from other error cases and take appropriate action.
CRs-Fixed: 2011758
Change-Id: Ifac7779455a3984de97a4e3e2f33bd74c5148cab
Signed-off-by: Puja Gupta <pujag@codeaurora.org>
When there is Modem WDOG bite, Q6 will not get chance to reset
the hardware and if shutdown is called as part of PD down
notification then freeing buffers already submitted to hardware
may cause exceptions as hardware may try to access DDR location
which is already freed.
Fix the issue by delaying the shutdown till FW ready happens and
hardware is reset to clean state this way buffers are freed after
hardware is in reset state.
CRs-fixed: 2000709
Change-Id: Iacea5e8b712dd4ca310e5b502e43f4beb99f6981
Signed-off-by: Prashanth Bhatta <bhattap@codeaurora.org>
Signed-off-by: Vaishali Gupta <Vaishali@codeaurora.org>
Add more refined states with service notifier notification for clients
to be able to distinguish between different error scenarios.
CRs-Fixed: 2004229
Change-Id: Ibae1f2b0ba03f8cdcb14398d7d35b007fac1a150
Signed-off-by: Puja Gupta <pujag@codeaurora.org>
Signed-off-by: Vaishali Gupta <Vaishali@codeaurora.org>
Add new SCM ID to register listener when smcinvoke is supported. Then
TZ, depending on how the listener has been registered, will either
behave in the old way (i.e. rsp[1]=QSEE_LISTENER_ID), or the new way
(rsp[1]=app_id) when smcinvoke is supported. And qseecom will first
to register listener with new SCM ID, if failed, then fallback to
use old ID.
Change-Id: Ia27055db6ec8f26705669ee913919b29461121ca
Signed-off-by: Zhen Kong <zkong@codeaurora.org>
When there is Modem WDOG bite, Q6 will not get chance to reset
the hardware and if shutdown is called as part of PD down
notification then freeing buffers already submitted to hardware
may cause exceptions as hardware may try to access DDR location
which is already freed.
Fix the issue by delaying the shutdown till FW ready happens and
hardware is reset to clean state this way buffers are freed after
hardware is in reset state.
CRs-fixed: 2000709
Change-Id: Iacea5e8b712dd4ca310e5b502e43f4beb99f6981
Signed-off-by: Prashanth Bhatta <bhattap@codeaurora.org>
Add more refined states with service notifier notification for clients
to be able to distinguish between different error scenarios.
CRs-Fixed: 2004229
Change-Id: Ibae1f2b0ba03f8cdcb14398d7d35b007fac1a150
Signed-off-by: Puja Gupta <pujag@codeaurora.org>
Implement common driver to limit Cx ipeak based on
voting from various clients in multimedia.
Change-Id: Ie0a57e49f7a8ba8a4fa3aa7f50dd0947f8e9d11b
Signed-off-by: Rajesh Kemisetti <rajeshk@codeaurora.org>
enable_fw_log is renamed to fw_log_mode and changed
from boolean type to uint8_t, so that it can support
multiple log mode.
CRs-Fixed: 1116983
Change-Id: I9d4af7cd2c857b62f434d968f51af76121006907
Signed-off-by: Yuanyuan Liu <yuanliu@codeaurora.org>
Add an API that can trigger WLAN PDR. WLAN host driver can use
this API to trigger PDR in the cases where it fails to communicate
with FW over it's native copy engine interface.
CRs-Fixed: 1110381
Change-Id: I7a076ba023b3e48c9e5473ec4895f50c71816831
Signed-off-by: Sameer Thalappil <sameert@codeaurora.org>
Add initial device tree support and socinfo support for
SDA630.
Change-Id: If2a60c27d5870f3738d77564d392efffece892ac
Signed-off-by: Neeraj Upadhyay <neeraju@codeaurora.org>
Add initial device tree and socinfo support for SDM658 SoC.
Also add device tree and socinfo support for SDA variant.
Change-Id: I3d8860ed57c859d35eaf4d77f0064091993a1bcf
Signed-off-by: Neeraj Upadhyay <neeraju@codeaurora.org>
API check the wlan firmware ready status in icnss platform
data and return the status(true/false) to caller.
CRs-Fixed: 1106520
Change-Id: I1246e6c213011d73ade5078c07bb2190135e54ec
Signed-off-by: Sarada Prasanna Garnayak <sgarna@codeaurora.org>
Update the code name from msmtriton/apqtriton to sdm630/sda630.
As part of this, update the filename containing "triton" and
files content containing "triton".
Change-Id: Ia558be75041e41e83d304d5fb4091c2a098e87c0
Signed-off-by: Neeraj Upadhyay <neeraju@codeaurora.org>
Update the code name from msmfalcon/apqfalcon to sdm660/sda660.
As part of this, update the filename containing "falcon" and
files content containing "falcon".
Change-Id: Iec85862251b9e1b4dcc8bdce8b214ce87c0049bc
Signed-off-by: Neeraj Upadhyay <neeraju@codeaurora.org>
Add initial device tree support and socinfo support for
APQ variants of falcon.
Change-Id: Ie955a9b544890b799a0c8cd5bb71d27d8cdc7307
Signed-off-by: Srinivas Ramana <sramana@codeaurora.org>
In some specific cases, clients may want to know why subsystem
crashed, for example, in case of watch dog bite, subsystem may not
be able to execute error handling. Which would need different code
paths to be exercised on the apps processor.
Change-Id: I073733b8a56b57f14906b25cba08012c2f0b414a
Signed-off-by: Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
Add logic to support sensor compatibility to fix same
slave address of sensor but different modules on one platform.
Change-Id: I6c6721e8ff890feaf2d618c8170e346367a68c28
Signed-off-by: penliu <pengfeiliu@codeaurora.org>
Signed-off-by: Wei Ding <weiding@codeaurora.org>
Remove dev reference in icnss_set_wlan_mac_address as
this function is called by external module and won't
be able to get ICNSS dev pointer.
CRs-Fixed: 1099641
Change-Id: I21c992676c41b6cdc3ea53722806e8d0be78d9d5
Signed-off-by: Yuanyuan Liu <yuanliu@codeaurora.org>