OSDN Git Service

sagit-ice-cold/kernel_xiaomi_msm8998.git
6 years agoMerge "Merge android-4.4.127 (d6bbe8b) into msm-4.4"
Linux Build Service Account [Sat, 21 Apr 2018 09:48:02 +0000 (02:48 -0700)]
Merge "Merge android-4.4.127 (d6bbe8b) into msm-4.4"

6 years agoMerge "ARM: dts: msm: Add WiFi SSR support on msm8996 vplatform"
Linux Build Service Account [Sat, 21 Apr 2018 09:48:01 +0000 (02:48 -0700)]
Merge "ARM: dts: msm: Add WiFi SSR support on msm8996 vplatform"

6 years agoMerge "ARM: dts: msm: Fix DT parsing error for msm8996 la-gvm"
Linux Build Service Account [Sat, 21 Apr 2018 09:47:59 +0000 (02:47 -0700)]
Merge "ARM: dts: msm: Fix DT parsing error for msm8996 la-gvm"

6 years agoMerge "defconfig: msm: Enable 802.11AD WiFi platform driver"
Linux Build Service Account [Sat, 21 Apr 2018 09:47:58 +0000 (02:47 -0700)]
Merge "defconfig: msm: Enable 802.11AD WiFi platform driver"

6 years agoMerge "msm_performance: Add NULL pointer checks"
Linux Build Service Account [Fri, 20 Apr 2018 21:20:53 +0000 (14:20 -0700)]
Merge "msm_performance: Add  NULL pointer checks"

6 years agoMerge "msm: camera: sensor: Program SDR mask delay based on data rate"
Linux Build Service Account [Fri, 20 Apr 2018 21:20:50 +0000 (14:20 -0700)]
Merge "msm: camera: sensor: Program SDR mask delay based on data rate"

6 years agoMerge "cnss: cnss_pci: adapt cnss to msm virtual platform"
Linux Build Service Account [Fri, 20 Apr 2018 21:20:48 +0000 (14:20 -0700)]
Merge "cnss: cnss_pci: adapt cnss to msm virtual platform"

6 years agoMerge "ARM: dts: msm: Add ldo29 and ldo31 to neutrino device node"
Linux Build Service Account [Fri, 20 Apr 2018 21:20:46 +0000 (14:20 -0700)]
Merge "ARM: dts: msm: Add ldo29 and ldo31 to neutrino device node"

6 years agoARM: dts: msm: Fix DT parsing error for msm8996 la-gvm
Vivek Kumar [Wed, 18 Apr 2018 11:54:11 +0000 (17:24 +0530)]
ARM: dts: msm: Fix DT parsing error for msm8996 la-gvm

Add close bracket to fix compilation error for
msm8996 la-gvm specific dts.

Change-Id: Ie98618c658a531712076343b98aa789188c3e6ac
Signed-off-by: Vivek Kumar <vivekuma@codeaurora.org>
6 years agomsm: camera: sensor: Program SDR mask delay based on data rate
Vijay kumar Tumati [Thu, 8 Mar 2018 16:44:25 +0000 (22:14 +0530)]
msm: camera: sensor: Program SDR mask delay based on data rate

Program camera csiphy correctly by using sensor output data rate
information.

Change-Id: I34f4b6b88f645aa620c4d03be2d7905c0951fd4e
Signed-off-by: Vijay kumar Tumati <vtumati@codeaurora.org>
6 years agoMerge android-4.4.127 (d6bbe8b) into msm-4.4
Srinivasarao P [Fri, 20 Apr 2018 06:57:04 +0000 (12:27 +0530)]
Merge android-4.4.127 (d6bbe8b) into msm-4.4

* refs/heads/tmp-d6bbe8b
  Linux 4.4.127
  Revert "ip6_vti: adjust vti mtu according to mtu of lower device"
  net: cavium: liquidio: fix up "Avoid dma_unmap_single on uninitialized ndata"
  spi: davinci: fix up dma_mapping_error() incorrect patch
  Revert "mtip32xx: use runtime tag to initialize command header"
  Revert "cpufreq: Fix governor module removal race"
  Revert "ARM: dts: omap3-n900: Fix the audio CODEC's reset pin"
  Revert "ARM: dts: am335x-pepper: Fix the audio CODEC's reset pin"
  Revert "PCI/MSI: Stop disabling MSI/MSI-X in pci_device_shutdown()"
  nospec: Kill array_index_nospec_mask_check()
  nospec: Move array_index_nospec() parameter checking into separate macro
  net: hns: Fix ethtool private flags
  md/raid10: reset the 'first' at the end of loop
  ARM: dts: am57xx-beagle-x15-common: Add overide powerhold property
  ARM: dts: dra7: Add power hold and power controller properties to palmas
  Documentation: pinctrl: palmas: Add ti,palmas-powerhold-override property definition
  vt: change SGR 21 to follow the standards
  Input: i8042 - enable MUX on Sony VAIO VGN-CS series to fix touchpad
  Input: i8042 - add Lenovo ThinkPad L460 to i8042 reset list
  staging: comedi: ni_mio_common: ack ai fifo error interrupts.
  fs/proc: Stop trying to report thread stacks
  crypto: x86/cast5-avx - fix ECB encryption when long sg follows short one
  crypto: ahash - Fix early termination in hash walk
  parport_pc: Add support for WCH CH382L PCI-E single parallel port card.
  media: usbtv: prevent double free in error case
  mei: remove dev_err message on an unsupported ioctl
  USB: serial: cp210x: add ELDAT Easywave RX09 id
  USB: serial: ftdi_sio: add support for Harman FirmwareHubEmulator
  USB: serial: ftdi_sio: add RT Systems VX-8 cable
  usb: dwc2: Improve gadget state disconnection handling
  scsi: virtio_scsi: always read VPD pages for multiqueue too
  llist: clang: introduce member_address_is_nonnull()
  Bluetooth: Fix missing encryption refresh on Security Request
  netfilter: x_tables: add and use xt_check_proc_name
  netfilter: bridge: ebt_among: add more missing match size checks
  xfrm: Refuse to insert 32 bit userspace socket policies on 64 bit systems
  net: xfrm: use preempt-safe this_cpu_read() in ipcomp_alloc_tfms()
  RDMA/ucma: Introduce safer rdma_addr_size() variants
  RDMA/ucma: Don't allow join attempts for unsupported AF family
  RDMA/ucma: Check that device exists prior to accessing it
  RDMA/ucma: Check that device is connected prior to access it
  RDMA/ucma: Ensure that CM_ID exists prior to access it
  RDMA/ucma: Fix use-after-free access in ucma_close
  RDMA/ucma: Check AF family prior resolving address
  xfrm_user: uncoditionally validate esn replay attribute struct
  arm64: avoid overflow in VA_START and PAGE_OFFSET
  selinux: Remove redundant check for unknown labeling behavior
  netfilter: ctnetlink: Make some parameters integer to avoid enum mismatch
  tty: provide tty_name() even without CONFIG_TTY
  audit: add tty field to LOGIN event
  frv: declare jiffies to be located in the .data section
  jiffies.h: declare jiffies and jiffies_64 with ____cacheline_aligned_in_smp
  fs: compat: Remove warning from COMPATIBLE_IOCTL
  selinux: Remove unnecessary check of array base in selinux_set_mapping()
  cpumask: Add helper cpumask_available()
  genirq: Use cpumask_available() for check of cpumask variable
  netfilter: nf_nat_h323: fix logical-not-parentheses warning
  Input: mousedev - fix implicit conversion warning
  dm ioctl: remove double parentheses
  PCI: Make PCI_ROM_ADDRESS_MASK a 32-bit constant
  writeback: fix the wrong congested state variable definition
  ACPI, PCI, irq: remove redundant check for null string pointer
  kprobes/x86: Fix to set RWX bits correctly before releasing trampoline
  usb: gadget: f_hid: fix: Prevent accessing released memory
  usb: gadget: align buffer size when allocating for OUT endpoint
  usb: gadget: fix usb_ep_align_maybe endianness and new usb_ep_align
  usb: gadget: change len to size_t on alloc_ep_req()
  usb: gadget: define free_ep_req as universal function
  partitions/msdos: Unable to mount UFS 44bsd partitions
  perf/hwbp: Simplify the perf-hwbp code, fix documentation
  ALSA: pcm: potential uninitialized return values
  ALSA: pcm: Use dma_bytes as size parameter in dma_mmap_coherent()
  mtd: jedec_probe: Fix crash in jedec_read_mfr()
  Replace #define with enum for better compilation errors.
  Add missing include to drivers/tty/goldfish.c
  Fix whitespace in drivers/tty/goldfish.c
  ANDROID: fuse: Add null terminator to path in canonical path to avoid issue
  ANDROID: sdcardfs: Fix sdcardfs to stop creating cases-sensitive duplicate entries.
  ANDROID: add missing include to pdev_bus
  ANDROID: pdev_bus: replace writel with gf_write_ptr
  ANDROID: Cleanup type casting in goldfish.h
  ANDROID: Include missing headers in goldfish.h
  ANDROID: cpufreq: times: skip printing invalid frequencies
  ANDROID: xt_qtaguid: Remove unnecessary null checks to device's name
  ANDROID: xt_qtaguid: Remove unnecessary null checks to ifa_label
  ANDROID: cpufreq: times: allocate enough space for a uid_entry
  Linux 4.4.126
  net: systemport: Rewrite __bcm_sysport_tx_reclaim()
  net: fec: Fix unbalanced PM runtime calls
  ieee802154: 6lowpan: fix possible NULL deref in lowpan_device_event()
  s390/qeth: on channel error, reject further cmd requests
  s390/qeth: lock read device while queueing next buffer
  s390/qeth: when thread completes, wake up all waiters
  s390/qeth: free netdevice when removing a card
  team: Fix double free in error path
  skbuff: Fix not waking applications when errors are enqueued
  net: Only honor ifindex in IP_PKTINFO if non-0
  netlink: avoid a double skb free in genlmsg_mcast()
  net/iucv: Free memory obtained by kzalloc
  net: ethernet: ti: cpsw: add check for in-band mode setting with RGMII PHY interface
  net: ethernet: arc: Fix a potential memory leak if an optional regulator is deferred
  l2tp: do not accept arbitrary sockets
  ipv6: fix access to non-linear packet in ndisc_fill_redirect_hdr_option()
  dccp: check sk for closed state in dccp_sendmsg()
  net: Fix hlist corruptions in inet_evict_bucket()
  Revert "genirq: Use irqd_get_trigger_type to compare the trigger type for shared IRQs"
  scsi: sg: don't return bogus Sg_requests
  Revert "genirq: Use irqd_get_trigger_type to compare the trigger type for shared IRQs"
  UPSTREAM: drm: virtio-gpu: set atomic flag
  UPSTREAM: drm: virtio-gpu: transfer dumb buffers to host on plane update
  UPSTREAM: drm: virtio-gpu: ensure plane is flushed to host on atomic update
  UPSTREAM: drm: virtio-gpu: get the fb from the plane state for atomic updates
  Linux 4.4.125
  bpf, x64: increase number of passes
  bpf: skip unnecessary capability check
  kbuild: disable clang's default use of -fmerge-all-constants
  staging: lustre: ptlrpc: kfree used instead of kvfree
  perf/x86/intel: Don't accidentally clear high bits in bdw_limit_period()
  x86/entry/64: Don't use IST entry for #BP stack
  x86/boot/64: Verify alignment of the LOAD segment
  x86/build/64: Force the linker to use 2MB page size
  kvm/x86: fix icebp instruction handling
  tty: vt: fix up tabstops properly
  can: cc770: Fix use after free in cc770_tx_interrupt()
  can: cc770: Fix queue stall & dropped RTR reply
  can: cc770: Fix stalls on rt-linux, remove redundant IRQ ack
  staging: ncpfs: memory corruption in ncp_read_kernel()
  mtd: nand: fsl_ifc: Fix nand waitfunc return value
  tracing: probeevent: Fix to support minus offset from symbol
  rtlwifi: rtl8723be: Fix loss of signal
  brcmfmac: fix P2P_DEVICE ethernet address generation
  acpi, numa: fix pxm to online numa node associations
  drm: udl: Properly check framebuffer mmap offsets
  drm/radeon: Don't turn off DP sink when disconnected
  drm/vmwgfx: Fix a destoy-while-held mutex problem.
  x86/mm: implement free pmd/pte page interfaces
  mm/vmalloc: add interfaces to free unmapped page table
  libata: Modify quirks for MX100 to limit NCQ_TRIM quirk to MU01 version
  libata: Make Crucial BX100 500GB LPM quirk apply to all firmware versions
  libata: Apply NOLPM quirk to Crucial M500 480 and 960GB SSDs
  libata: Enable queued TRIM for Samsung SSD 860
  libata: disable LPM for Crucial BX100 SSD 500GB drive
  libata: Apply NOLPM quirk to Crucial MX100 512GB SSDs
  libata: remove WARN() for DMA or PIO command without data
  libata: fix length validation of ATAPI-relayed SCSI commands
  Bluetooth: btusb: Fix quirk for Atheros 1525/QCA6174
  clk: bcm2835: Protect sections updating shared registers
  ahci: Add PCI-id for the Highpoint Rocketraid 644L card
  PCI: Add function 1 DMA alias quirk for Highpoint RocketRAID 644L
  mmc: dw_mmc: fix falling from idmac to PIO mode when dw_mci_reset occurs
  ALSA: hda/realtek - Always immediately update mute LED with pin VREF
  ALSA: aloop: Fix access to not-yet-ready substream via cable
  ALSA: aloop: Sync stale timer before release
  ALSA: usb-audio: Fix parsing descriptor of UAC2 processing unit
  iio: st_pressure: st_accel: pass correct platform data to init
  MIPS: ralink: Remove ralink_halt()
  ANDROID: cpufreq: times: fix proc_time_in_state_show
  dtc: turn off dtc unit address warnings by default
  Linux 4.4.124
  RDMA/ucma: Fix access to non-initialized CM_ID object
  dmaengine: ti-dma-crossbar: Fix event mapping for TPCC_EVT_MUX_60_63
  clk: si5351: Rename internal plls to avoid name collisions
  nfsd4: permit layoutget of executable-only files
  RDMA/ocrdma: Fix permissions for OCRDMA_RESET_STATS
  ip6_vti: adjust vti mtu according to mtu of lower device
  iommu/vt-d: clean up pr_irq if request_threaded_irq fails
  pinctrl: Really force states during suspend/resume
  coresight: Fix disabling of CoreSight TPIU
  pty: cancel pty slave port buf's work in tty_release
  drm/omap: DMM: Check for DMM readiness after successful transaction commit
  vgacon: Set VGA struct resource types
  IB/umem: Fix use of npages/nmap fields
  RDMA/cma: Use correct size when writing netlink stats
  IB/ipoib: Avoid memory leak if the SA returns a different DGID
  mmc: avoid removing non-removable hosts during suspend
  platform/chrome: Use proper protocol transfer function
  cros_ec: fix nul-termination for firmware build info
  media: [RESEND] media: dvb-frontends: Add delay to Si2168 restart
  media: bt8xx: Fix err 'bt878_probe()'
  rtlwifi: rtl_pci: Fix the bug when inactiveps is enabled.
  RDMA/iwpm: Fix uninitialized error code in iwpm_send_mapinfo()
  drm/msm: fix leak in failed get_pages
  media: c8sectpfe: fix potential NULL pointer dereference in c8sectpfe_timer_interrupt
  Bluetooth: hci_qca: Avoid setup failure on missing rampatch
  perf tests kmod-path: Don't fail if compressed modules aren't supported
  rtc: ds1374: wdt: Fix stop/start ioctl always returning -EINVAL
  rtc: ds1374: wdt: Fix issue with timeout scaling from secs to wdt ticks
  cifs: small underflow in cnvrtDosUnixTm()
  net: hns: fix ethtool_get_strings overflow in hns driver
  sm501fb: don't return zero on failure path in sm501fb_start()
  video: fbdev: udlfb: Fix buffer on stack
  tcm_fileio: Prevent information leak for short reads
  ia64: fix module loading for gcc-5.4
  md/raid10: skip spare disk as 'first' disk
  Input: twl4030-pwrbutton - use correct device for irq request
  power: supply: pda_power: move from timer to delayed_work
  bnx2x: Align RX buffers
  drm/nouveau/kms: Increase max retries in scanout position queries.
  ACPI / PMIC: xpower: Fix power_table addresses
  ipmi/watchdog: fix wdog hang on panic waiting for ipmi response
  ARM: DRA7: clockdomain: Change the CLKTRCTRL of CM_PCIE_CLKSTCTRL to SW_WKUP
  mmc: sdhci-of-esdhc: limit SD clock for ls1012a/ls1046a
  staging: wilc1000: fix unchecked return value
  staging: unisys: visorhba: fix s-Par to boot with option CONFIG_VMAP_STACK set to y
  mtip32xx: use runtime tag to initialize command header
  mfd: palmas: Reset the POWERHOLD mux during power off
  mac80211: don't parse encrypted management frames in ieee80211_frame_acked
  Btrfs: send, fix file hole not being preserved due to inline extent
  rndis_wlan: add return value validation
  mt7601u: check return value of alloc_skb
  iio: st_pressure: st_accel: Initialise sensor platform data properly
  NFS: don't try to cross a mountpount when there isn't one there.
  infiniband/uverbs: Fix integer overflows
  scsi: mac_esp: Replace bogus memory barrier with spinlock
  qlcnic: fix unchecked return value
  wan: pc300too: abort path on failure
  mmc: host: omap_hsmmc: checking for NULL instead of IS_ERR()
  openvswitch: Delete conntrack entry clashing with an expectation.
  netfilter: xt_CT: fix refcnt leak on error path
  Fix driver usage of 128B WQEs when WQ_CREATE is V1.
  ASoC: Intel: Skylake: Uninitialized variable in probe_codec()
  IB/mlx4: Change vma from shared to private
  IB/mlx4: Take write semaphore when changing the vma struct
  HSI: ssi_protocol: double free in ssip_pn_xmit()
  IB/ipoib: Update broadcast object if PKey value was changed in index 0
  IB/ipoib: Fix deadlock between ipoib_stop and mcast join flow
  ALSA: hda - Fix headset microphone detection for ASUS N551 and N751
  e1000e: fix timing for 82579 Gigabit Ethernet controller
  tcp: remove poll() flakes with FastOpen
  NFS: Fix missing pg_cleanup after nfs_pageio_cond_complete()
  md/raid10: wait up frozen array in handle_write_completed
  iommu/omap: Register driver before setting IOMMU ops
  ARM: 8668/1: ftrace: Fix dynamic ftrace with DEBUG_RODATA and !FRAME_POINTER
  KVM: PPC: Book3S PR: Exit KVM on failed mapping
  scsi: virtio_scsi: Always try to read VPD pages
  clk: ns2: Correct SDIO bits
  ath: Fix updating radar flags for coutry code India
  spi: dw: Disable clock after unregistering the host
  media/dvb-core: Race condition when writing to CAM
  net: ipv6: send unsolicited NA on admin up
  i2c: i2c-scmi: add a MS HID
  genirq: Use irqd_get_trigger_type to compare the trigger type for shared IRQs
  cpufreq/sh: Replace racy task affinity logic
  ACPI/processor: Replace racy task affinity logic
  ACPI/processor: Fix error handling in __acpi_processor_start()
  time: Change posix clocks ops interfaces to use timespec64
  Input: ar1021_i2c - fix too long name in driver's device table
  rtc: cmos: Do not assume irq 8 for rtc when there are no legacy irqs
  x86: i8259: export legacy_pic symbol
  regulator: anatop: set default voltage selector for pcie
  platform/x86: asus-nb-wmi: Add wapf4 quirk for the X302UA
  staging: android: ashmem: Fix possible deadlock in ashmem_ioctl
  CIFS: Enable encryption during session setup phase
  SMB3: Validate negotiate request must always be signed
  tpm_tis: fix potential buffer overruns caused by bit glitches on the bus
  tpm: fix potential buffer overruns caused by bit glitches on the bus
  BACKPORT, FROMLIST: crypto: arm64/speck - add NEON-accelerated implementation of Speck-XTS
  Linux 4.4.123
  bpf: fix incorrect sign extension in check_alu_op()
  usb: gadget: bdc: 64-bit pointer capability check
  USB: gadget: udc: Add missing platform_device_put() on error in bdc_pci_probe()
  btrfs: Fix use-after-free when cleaning up fs_devs with a single stale device
  btrfs: alloc_chunk: fix DUP stripe size handling
  ARM: dts: LogicPD Torpedo: Fix I2C1 pinmux
  scsi: sg: only check for dxfer_len greater than 256M
  scsi: sg: fix static checker warning in sg_is_valid_dxfer
  scsi: sg: fix SG_DXFER_FROM_DEV transfers
  irqchip/gic-v3-its: Ensure nr_ites >= nr_lpis
  fs/aio: Use RCU accessors for kioctx_table->table[]
  fs/aio: Add explicit RCU grace period when freeing kioctx
  lock_parent() needs to recheck if dentry got __dentry_kill'ed under it
  fs: Teach path_connected to handle nfs filesystems with multiple roots.
  drm/amdgpu/dce: Don't turn off DP sink when disconnected
  ALSA: seq: Clear client entry before deleting else at closing
  ALSA: seq: Fix possible UAF in snd_seq_check_queue()
  ALSA: hda - Revert power_save option default value
  ALSA: pcm: Fix UAF in snd_pcm_oss_get_formats()
  x86/mm: Fix vmalloc_fault to use pXd_large
  x86/vm86/32: Fix POPF emulation
  selftests/x86/entry_from_vm86: Add test cases for POPF
  selftests/x86: Add tests for the STR and SLDT instructions
  selftests/x86: Add tests for User-Mode Instruction Prevention
  selftests/x86/entry_from_vm86: Exit with 1 if we fail
  ima: relax requiring a file signature for new files with zero length
  rcutorture/configinit: Fix build directory error message
  ipvlan: add L2 check for packets arriving via virtual devices
  ASoC: nuc900: Fix a loop timeout test
  mac80211: remove BUG() when interface type is invalid
  mac80211_hwsim: enforce PS_MANUAL_POLL to be set after PS_ENABLED
  agp/intel: Flush all chipset writes after updating the GGTT
  drm/amdkfd: Fix memory leaks in kfd topology
  veth: set peer GSO values
  media: cpia2: Fix a couple off by one bugs
  scsi: dh: add new rdac devices
  scsi: devinfo: apply to HP XP the same flags as Hitachi VSP
  scsi: core: scsi_get_device_flags_keyed(): Always return device flags
  spi: sun6i: disable/unprepare clocks on remove
  tools/usbip: fixes build with musl libc toolchain
  ath10k: fix invalid STS_CAP_OFFSET_MASK
  clk: qcom: msm8916: fix mnd_width for codec_digcodec
  cpufreq: Fix governor module removal race
  ath10k: update tdls teardown state to target
  ARM: dts: omap3-n900: Fix the audio CODEC's reset pin
  ARM: dts: am335x-pepper: Fix the audio CODEC's reset pin
  mtd: nand: fix interpretation of NAND_CMD_NONE in nand_command[_lp]()
  net: xfrm: allow clearing socket xfrm policies.
  test_firmware: fix setting old custom fw path back on exit
  sched: Stop resched_cpu() from sending IPIs to offline CPUs
  sched: Stop switched_to_rt() from sending IPIs to offline CPUs
  ARM: dts: exynos: Correct Trats2 panel reset line
  HID: elo: clear BTN_LEFT mapping
  video/hdmi: Allow "empty" HDMI infoframes
  drm/edid: set ELD connector type in drm_edid_to_eld()
  wil6210: fix memory access violation in wil_memcpy_from/toio_32
  pwm: tegra: Increase precision in PWM rate calculation
  kprobes/x86: Set kprobes pages read-only
  kprobes/x86: Fix kprobe-booster not to boost far call instructions
  scsi: sg: close race condition in sg_remove_sfp_usercontext()
  scsi: sg: check for valid direction before starting the request
  perf session: Don't rely on evlist in pipe mode
  perf inject: Copy events when reordering events in pipe mode
  drivers/perf: arm_pmu: handle no platform_device
  usb: gadget: dummy_hcd: Fix wrong power status bit clear/reset in dummy_hub_control()
  usb: dwc2: Make sure we disconnect the gadget state
  md/raid6: Fix anomily when recovering a single device in RAID6.
  regulator: isl9305: fix array size
  MIPS: r2-on-r6-emu: Clear BLTZALL and BGEZALL debugfs counters
  MIPS: r2-on-r6-emu: Fix BLEZL and BGTZL identification
  MIPS: BPF: Fix multiple problems in JIT skb access helpers.
  MIPS: BPF: Quit clobbering callee saved registers in JIT code.
  coresight: Fixes coresight DT parse to get correct output port ID.
  drm/amdgpu: Fail fb creation from imported dma-bufs. (v2)
  drm/radeon: Fail fb creation from imported dma-bufs.
  video: ARM CLCD: fix dma allocation size
  iommu/iova: Fix underflow bug in __alloc_and_insert_iova_range
  apparmor: Make path_max parameter readonly
  scsi: ses: don't get power status of SES device slot on probe
  fm10k: correctly check if interface is removed
  ALSA: firewire-digi00x: handle all MIDI messages on streaming packets
  reiserfs: Make cancel_old_flush() reliable
  ARM: dts: koelsch: Correct clock frequency of X2 DU clock input
  net/faraday: Add missing include of of.h
  powerpc: Avoid taking a data miss on every userspace instruction miss
  ARM: dts: r8a7791: Correct parent of SSI[0-9] clocks
  ARM: dts: r8a7790: Correct parent of SSI[0-9] clocks
  NFC: nfcmrvl: double free on error path
  NFC: nfcmrvl: Include unaligned.h instead of access_ok.h
  vxlan: vxlan dev should inherit lowerdev's gso_max_size
  drm/vmwgfx: Fixes to vmwgfx_fb
  braille-console: Fix value returned by _braille_console_setup
  bonding: refine bond_fold_stats() wrap detection
  f2fs: relax node version check for victim data in gc
  blk-throttle: make sure expire time isn't too big
  mm: Fix false-positive VM_BUG_ON() in page_cache_{get,add}_speculative()
  driver: (adm1275) set the m,b and R coefficients correctly for power
  dmaengine: imx-sdma: add 1ms delay to ensure SDMA channel is stopped
  tcp: sysctl: Fix a race to avoid unexpected 0 window from space
  spi: omap2-mcspi: poll OMAP2_MCSPI_CHSTAT_RXS for PIO transfer
  ASoC: rcar: ssi: don't set SSICR.CKDV = 000 with SSIWSR.CONT
  sched: act_csum: don't mangle TCP and UDP GSO packets
  Input: qt1070 - add OF device ID table
  sysrq: Reset the watchdog timers while displaying high-resolution timers
  timers, sched_clock: Update timeout for clock wrap
  media: i2c/soc_camera: fix ov6650 sensor getting wrong clock
  scsi: ipr: Fix missed EH wakeup
  solo6x10: release vb2 buffers in solo_stop_streaming()
  of: fix of_device_get_modalias returned length when truncating buffers
  batman-adv: handle race condition for claims between gateways
  ARM: dts: Adjust moxart IRQ controller and flags
  net/8021q: create device with all possible features in wanted_features
  HID: clamp input to logical range if no null state
  perf probe: Return errno when not hitting any event
  ath10k: disallow DFS simulation if DFS channel is not enabled
  drm: Defer disabling the vblank IRQ until the next interrupt (for instant-off)
  drivers: net: xgene: Fix hardware checksum setting
  perf tools: Make perf_event__synthesize_mmap_events() scale
  i40e: fix ethtool to get EEPROM data from X722 interface
  i40e: Acquire NVM lock before reads on all devices
  perf sort: Fix segfault with basic block 'cycles' sort dimension
  selinux: check for address length in selinux_socket_bind()
  PCI/MSI: Stop disabling MSI/MSI-X in pci_device_shutdown()
  ath10k: fix a warning during channel switch with multiple vaps
  drm: qxl: Don't alloc fbdev if emulation is not supported
  HID: reject input outside logical range only if null state is set
  staging: wilc1000: add check for kmalloc allocation failure.
  staging: speakup: Replace BUG_ON() with WARN_ON().
  Input: tsc2007 - check for presence and power down tsc2007 during probe
  blkcg: fix double free of new_blkg in blkcg_init_queue
  ANDROID: cpufreq: times: avoid prematurely freeing uid_entry
  ANDROID: Use standard logging functions in goldfish_pipe
  ANDROID: Fix whitespace in goldfish
  staging: android: ashmem: Fix possible deadlock in ashmem_ioctl
  llist: clang: introduce member_address_is_nonnull()
  Linux 4.4.122
  fixup: sctp: verify size of a new chunk in _sctp_make_chunk()
  serial: 8250_pci: Add Brainboxes UC-260 4 port serial device
  usb: gadget: f_fs: Fix use-after-free in ffs_fs_kill_sb()
  usb: usbmon: Read text within supplied buffer size
  USB: usbmon: remove assignment from IS_ERR argument
  usb: quirks: add control message delay for 1b1c:1b20
  USB: storage: Add JMicron bridge 152d:2567 to unusual_devs.h
  staging: android: ashmem: Fix lockdep issue during llseek
  staging: comedi: fix comedi_nsamples_left.
  uas: fix comparison for error code
  tty/serial: atmel: add new version check for usart
  serial: sh-sci: prevent lockup on full TTY buffers
  x86: Treat R_X86_64_PLT32 as R_X86_64_PC32
  x86/module: Detect and skip invalid relocations
  Revert "ARM: dts: LogicPD Torpedo: Fix I2C1 pinmux"
  NFS: Fix an incorrect type in struct nfs_direct_req
  scsi: qla2xxx: Replace fcport alloc with qla2x00_alloc_fcport
  ubi: Fix race condition between ubi volume creation and udev
  ext4: inplace xattr block update fails to deduplicate blocks
  netfilter: x_tables: pack percpu counter allocations
  netfilter: x_tables: pass xt_counters struct to counter allocator
  netfilter: x_tables: pass xt_counters struct instead of packet counter
  netfilter: use skb_to_full_sk in ip_route_me_harder
  netfilter: ipv6: fix use-after-free Write in nf_nat_ipv6_manip_pkt
  netfilter: bridge: ebt_among: add missing match size checks
  netfilter: ebtables: CONFIG_COMPAT: don't trust userland offsets
  netfilter: IDLETIMER: be syzkaller friendly
  netfilter: nat: cope with negative port range
  netfilter: x_tables: fix missing timer initialization in xt_LED
  netfilter: add back stackpointer size checks
  tc358743: fix register i2c_rd/wr function fix
  Input: tca8418_keypad - remove double read of key event register
  ARM: omap2: hide omap3_save_secure_ram on non-OMAP3 builds
  netfilter: nfnetlink_queue: fix timestamp attribute
  watchdog: hpwdt: fix unused variable warning
  watchdog: hpwdt: Check source of NMI
  watchdog: hpwdt: SMBIOS check
  nospec: Include <asm/barrier.h> dependency
  ALSA: hda: add dock and led support for HP ProBook 640 G2
  ALSA: hda: add dock and led support for HP EliteBook 820 G3
  ALSA: seq: More protection for concurrent write and ioctl races
  ALSA: seq: Don't allow resizing pool in use
  ALSA: hda/realtek - Fix dock line-out volume on Dell Precision 7520
  x86/MCE: Serialize sysfs changes
  bcache: don't attach backing with duplicate UUID
  kbuild: Handle builtin dtb file names containing hyphens
  loop: Fix lost writes caused by missing flag
  Input: matrix_keypad - fix race when disabling interrupts
  MIPS: OCTEON: irq: Check for null return on kzalloc allocation
  MIPS: ath25: Check for kzalloc allocation failure
  MIPS: BMIPS: Do not mask IPIs during suspend
  drm/amdgpu: fix KV harvesting
  drm/radeon: fix KV harvesting
  drm/amdgpu: Notify sbios device ready before send request
  drm/amdgpu: Fix deadlock on runtime suspend
  drm/radeon: Fix deadlock on runtime suspend
  drm/nouveau: Fix deadlock on runtime suspend
  drm: Allow determining if current task is output poll worker
  workqueue: Allow retrieval of current task's work struct
  scsi: qla2xxx: Fix NULL pointer crash due to active timer for ABTS
  RDMA/mlx5: Fix integer overflow while resizing CQ
  RDMA/ucma: Check that user doesn't overflow QP state
  RDMA/ucma: Limit possible option size
  ANDROID: ranchu: 32 bit framebuffer support
  ANDROID: Address checkpatch warnings in goldfishfb
  ANDROID: Address checkpatch.pl warnings in goldfish_pipe
  ANDROID: sdcardfs: fix lock issue on 32 bit/SMP architectures
  ANDROID: goldfish: Fix typo in goldfish_cmd_locked() call
  ANDROID: Address checkpatch.pl warnings in goldfish_pipe_v2
  FROMLIST: f2fs: don't put dentry page in pagecache into highmem
  Linux 4.4.121
  btrfs: preserve i_mode if __btrfs_set_acl() fails
  bpf, x64: implement retpoline for tail call
  dm io: fix duplicate bio completion due to missing ref count
  mpls, nospec: Sanitize array index in mpls_label_ok()
  net: mpls: Pull common label check into helper
  sctp: verify size of a new chunk in _sctp_make_chunk()
  s390/qeth: fix IPA command submission race
  s390/qeth: fix SETIP command handling
  sctp: fix dst refcnt leak in sctp_v6_get_dst()
  sctp: fix dst refcnt leak in sctp_v4_get_dst
  udplite: fix partial checksum initialization
  ppp: prevent unregistered channels from connecting to PPP units
  netlink: ensure to loop over all netns in genlmsg_multicast_allns()
  net: ipv4: don't allow setting net.ipv4.route.min_pmtu below 68
  net: fix race on decreasing number of TX queues
  ipv6 sit: work around bogus gcc-8 -Wrestrict warning
  hdlc_ppp: carrier detect ok, don't turn off negotiation
  fib_semantics: Don't match route with mismatching tclassid
  bridge: check brport attr show in brport_show
  Revert "led: core: Fix brightness setting when setting delay_off=0"
  x86/spectre: Fix an error message
  leds: do not overflow sysfs buffer in led_trigger_show
  x86/apic/vector: Handle legacy irq data correctly
  ARM: dts: LogicPD Torpedo: Fix I2C1 pinmux
  btrfs: Don't clear SGID when inheriting ACLs
  x86/syscall: Sanitize syscall table de-references under speculation fix
  KVM: mmu: Fix overlap between public and private memslots
  ARM: mvebu: Fix broken PL310_ERRATA_753970 selects
  nospec: Allow index argument to have const-qualified type
  media: m88ds3103: don't call a non-initalized function
  cpufreq: s3c24xx: Fix broken s3c_cpufreq_init()
  ALSA: hda: Add a power_save blacklist
  ALSA: usb-audio: Add a quirck for B&W PX headphones
  tpm_i2c_nuvoton: fix potential buffer overruns caused by bit glitches on the bus
  tpm_i2c_infineon: fix potential buffer overruns caused by bit glitches on the bus
  tpm: st33zp24: fix potential buffer overruns caused by bit glitches on the bus
  ANDROID: Delete the goldfish_nand driver.
  ANDROID: Add input support for Android Wear.
  ANDROID: proc: fix config & includes for /proc/uid
  FROMLIST: ARM: amba: Don't read past the end of sysfs "driver_override" buffer
  UPSTREAM: ANDROID: binder: remove WARN() for redundant txn error
  ANDROID: cpufreq: times: Add missing includes
  ANDROID: cpufreq: Add time_in_state to /proc/uid directories
  ANDROID: proc: Add /proc/uid directory
  ANDROID: cpufreq: times: track per-uid time in state
  ANDROID: cpufreq: track per-task time in state

Conflicts:
drivers/gpu/drm/msm/msm_gem.c
drivers/net/wireless/ath/regd.c
kernel/sched/core.c

Change-Id: I9bb7b5a062415da6925a5a56a34e6eb066a53320
Signed-off-by: Srinivasarao P <spathi@codeaurora.org>
6 years agodefconfig: msm: Enable 802.11AD WiFi platform driver
Zhaoyang Liu [Mon, 25 Dec 2017 02:41:19 +0000 (10:41 +0800)]
defconfig: msm: Enable 802.11AD WiFi platform driver

Enable MSM_11AD platform driver. It is to support
IEEE80211AD WiFi driver wil6210 on MSM AUTO platform.

Change-Id: I507292fafedc78539fa1cf5ae54a7c43ce923f39
Signed-off-by: Zhaoyang Liu <zhaoyang@codeaurora.org>
6 years agoMerge "drm: msm: fix potential NULL pointer dereference"
Linux Build Service Account [Thu, 19 Apr 2018 21:17:12 +0000 (14:17 -0700)]
Merge "drm: msm: fix potential NULL pointer dereference"

6 years agomsm_performance: Add NULL pointer checks
Shashi Shekar Shankar [Tue, 27 Mar 2018 08:11:06 +0000 (13:41 +0530)]
msm_performance: Add  NULL pointer checks

Add NULL pointer checks.

Change-Id: Ia49ed015e8ea13c63296c4491c9d3af99ef0e121
Signed-off-by: Shashi Shekar Shankar <ssbang@codeaurora.org>
6 years agoMerge "ARM: dts: msm: update icnss device node for sdm660 and sdm630"
Linux Build Service Account [Thu, 19 Apr 2018 09:49:35 +0000 (02:49 -0700)]
Merge "ARM: dts: msm: update icnss device node for sdm660 and sdm630"

6 years agoMerge "defconfig: msm: Enable SMD packet driver for msm8996-auto"
Linux Build Service Account [Thu, 19 Apr 2018 09:49:33 +0000 (02:49 -0700)]
Merge "defconfig: msm: Enable SMD packet driver for msm8996-auto"

6 years agocnss: cnss_pci: adapt cnss to msm virtual platform
Ke Huang [Wed, 18 Apr 2018 06:23:28 +0000 (14:23 +0800)]
cnss: cnss_pci: adapt cnss to msm virtual platform

the virtual platform changes to use gerenic pci but not use
msm pci so adapt the cnss_pci to the msm virtual platform.

Change-Id: I8afb5afb9c447e984f2c6f44a722945c48be18dd
Signed-off-by: Ke Huang <keh@codeaurora.org>
6 years agoMerge "clk: qcom: Update DSI PLL settings as per latest recommendation"
Linux Build Service Account [Wed, 18 Apr 2018 22:10:16 +0000 (15:10 -0700)]
Merge "clk: qcom: Update DSI PLL settings as per latest recommendation"

6 years agoMerge "usb: phy-msm-susb-qmp: power down phy upon disconnect notification"
Linux Build Service Account [Wed, 18 Apr 2018 22:10:15 +0000 (15:10 -0700)]
Merge "usb: phy-msm-susb-qmp: power down phy upon disconnect notification"

6 years agoARM: dts: msm: Add ldo29 and ldo31 to neutrino device node
Balachandra C S [Fri, 6 Apr 2018 21:55:44 +0000 (14:55 -0700)]
ARM: dts: msm: Add ldo29 and ldo31 to neutrino device node

Add ldo29 and ldo31 to neutrino device node to disable/enable
vote during suspend/resume.

Change-Id: Ia7fb99aad315e6e74a61bda563a29f01a0faaa22
Signed-off-by: Balachandra C S <balacs@codeaurora.org>
6 years agoMerge "ARM: dts: msm: enable secure smmu domain on msm8996"
Linux Build Service Account [Wed, 18 Apr 2018 11:50:58 +0000 (04:50 -0700)]
Merge "ARM: dts: msm: enable secure smmu domain on msm8996"

6 years agoMerge "mmc: card: Service RPMB requests with priority over other requests"
Linux Build Service Account [Wed, 18 Apr 2018 11:50:57 +0000 (04:50 -0700)]
Merge "mmc: card: Service RPMB requests with priority over other requests"

6 years agoMerge "voice_svc: Avoid double free in voice_svc driver"
Linux Build Service Account [Wed, 18 Apr 2018 11:50:56 +0000 (04:50 -0700)]
Merge "voice_svc: Avoid double free in voice_svc driver"

6 years agoMerge "init/main: Put kernel end place_marker"
Linux Build Service Account [Wed, 18 Apr 2018 11:50:54 +0000 (04:50 -0700)]
Merge "init/main: Put kernel end place_marker"

6 years agoMerge "mmc: card: Call blk_requeue_request() with queue-lock held"
Linux Build Service Account [Wed, 18 Apr 2018 11:50:53 +0000 (04:50 -0700)]
Merge "mmc: card: Call blk_requeue_request() with queue-lock held"

6 years agoMerge "v4l2-core: Remove unhelpful warnings"
Linux Build Service Account [Wed, 18 Apr 2018 11:50:52 +0000 (04:50 -0700)]
Merge "v4l2-core: Remove unhelpful warnings"

6 years agoARM: dts: msm: Add WiFi SSR support on msm8996 vplatform
Ke Huang [Wed, 11 Apr 2018 09:06:50 +0000 (17:06 +0800)]
ARM: dts: msm: Add WiFi SSR support on msm8996 vplatform

Add WiFi SSR support on msm8996 vplatform based on the
subsys notification virtualization.

Change-Id: I4fab07cda3596033f19c120d91b938a92cfee0d9
Signed-off-by: Ke Huang <keh@codeaurora.org>
6 years agomsm: camera: sensor: Receive sensor output data rate information
Vijay kumar Tumati [Thu, 8 Mar 2018 16:04:23 +0000 (21:34 +0530)]
msm: camera: sensor: Receive sensor output data rate information

Program data rate specific camera hardware registers using this
information.

Change-Id: I0a64fd6f5b0e9ae0a5edee836998d8fea0e7478d
Signed-off-by: Vijay kumar Tumati <vtumati@codeaurora.org>
6 years agoARM: dts: msm: update icnss device node for sdm660 and sdm630
Sarada Prasanna Garnayak [Tue, 17 Apr 2018 07:33:16 +0000 (13:03 +0530)]
ARM: dts: msm: update icnss device node for sdm660 and sdm630

Invalid min and max voltage configuration for the vdd-0.8-cx-mx
voltage regulator is causing smmu error after WLAN hardware reset.
To fix the above issue update the icnss wlan module vdd-0.8-cx-mx
regulator min and max voltage configuration value.

CRs-Fixed: 2175145
Change-Id: I293d1d3802c5a0bd3ba7244422ed46d16ef940b0
Signed-off-by: Sarada Prasanna Garnayak <sgarna@codeaurora.org>
6 years agodefconfig: msm: Enable SMD packet driver for msm8996-auto
Arun Kumar Neelakantam [Tue, 17 Apr 2018 09:14:50 +0000 (14:44 +0530)]
defconfig: msm: Enable SMD packet driver for msm8996-auto

SMD packet driver provide access to SMD resources from the
user space through device nodes.

CRs-Fixed: 2223967
Change-Id: I3d458493994f877bfc0bf252ad9e1d5f5e180138
Signed-off-by: Arun Kumar Neelakantam <aneela@codeaurora.org>
6 years agoMerge "mm-camera2:isp2: Release buffer lock after use"
Linux Build Service Account [Tue, 17 Apr 2018 05:39:43 +0000 (22:39 -0700)]
Merge "mm-camera2:isp2: Release buffer lock after use"

6 years agoMerge "ARM: dts: msm: Update client-id for sde_kms_hyp"
Linux Build Service Account [Tue, 17 Apr 2018 05:39:42 +0000 (22:39 -0700)]
Merge "ARM: dts: msm: Update client-id for sde_kms_hyp"

6 years agoMerge "soc: qcom: scm: Support single HAB id for QCPE"
Linux Build Service Account [Tue, 17 Apr 2018 05:39:40 +0000 (22:39 -0700)]
Merge "soc: qcom: scm: Support single HAB id for QCPE"

6 years agoinit/main: Put kernel end place_marker
Vivek Kumar [Fri, 13 Apr 2018 06:40:32 +0000 (12:10 +0530)]
init/main: Put kernel end place_marker

Put kernel end place_marker for all targets.
This saves the kernel end time for targets which
enable MSM_BOOT_TIME_MARKER.

Change-Id: Iad635e971bdd341328d40681b7acf8a6f43f288d
Signed-off-by: Vivek Kumar <vivekuma@codeaurora.org>
6 years agommc: card: Call blk_requeue_request() with queue-lock held
Veerabhadrarao Badiganti [Fri, 16 Mar 2018 08:10:35 +0000 (13:40 +0530)]
mmc: card: Call blk_requeue_request() with queue-lock held

blk_requeue_request() must be called with queue lock held.

If it is called without this lock then there is a chance that block-
queue would be accessed simultaneously by more than one entity (say,
request completion & re-queue) and both can mess-up the queue
pointers which can result in unexpected results.

Change-Id: If81711ecf65a185f4c8dc19b8568621460c93db8
Signed-off-by: Veerabhadrarao Badiganti <vbadigan@codeaurora.org>
6 years agommc: card: Service RPMB requests with priority over other requests
Veerabhadrarao Badiganti [Mon, 9 Oct 2017 17:19:49 +0000 (22:49 +0530)]
mmc: card: Service RPMB requests with priority over other requests

RPMB requests are initiated from TZ and TZ gets blocked from servicing
other tasks/requests till it completes RPMB request. Delays in
servicing RPMB request may result in system-level stability/performance
issues.

Below is the issue observed:
1. TZ rpmb API is called to update TA rollback information. TZ forwards
   the request to HLOS mmc driver via rpmb-service.
2. mmc driver services the rpmb requests only after finishing the
   outstanding IO requests.
3. As part of handling an IO requests, mmc driver makes ICE call
   for getting encryption keys, which in-turn makes call to TZ.
4. Since ICE driver finds TZ is busy/blocked it returns ice request
   with -EBUSY error.
5. The failed requests with -EBUSY error would re-queued back.
6. The IO requests keep getting failed and keep getting re-queued
   and mmc driver never gets a chance to service rpmb requests.
7. This results in a deadlock senario.

So RPMB requests need to be serviced immediately.
If there is any outstanding RPMB request, then mmc driver should stop
pulling any more new requests. The moment its done with serving
ongoing requests, It should start processing RPMB request.

Change-Id: I2d0f98a11716ef946551cc1a967e70a38e91d6ac
Signed-off-by: Veerabhadrarao Badiganti <vbadigan@codeaurora.org>
6 years agomm-camera2:isp2: Release buffer lock after use
Meera Gande [Fri, 13 Apr 2018 10:49:34 +0000 (16:19 +0530)]
mm-camera2:isp2: Release buffer lock after use

At start axi stream, we are acquiring the
buffer lock and releasing after completing
the stream configuration operations. In case
of live snapshot,this is causing the buffer
operations to halt and leading to sof freeze.

Change-Id: I7f57c8befc85c105a5690ac71e0276f42b9f1929
Signed-off-by: Meera Gande <mgande@codeaurora.org>
6 years agoMerge "soc: qcom: boot_stats: Fix place_marker API"
Linux Build Service Account [Mon, 16 Apr 2018 05:22:34 +0000 (22:22 -0700)]
Merge "soc: qcom: boot_stats: Fix place_marker API"

6 years agoMerge "ath10k: deinit wow config in driver unload"
Linux Build Service Account [Mon, 16 Apr 2018 05:22:33 +0000 (22:22 -0700)]
Merge "ath10k: deinit wow config in driver unload"

6 years agoARM: dts: msm: enable secure smmu domain on msm8996
Rahul Sharma [Fri, 6 Apr 2018 07:05:05 +0000 (12:35 +0530)]
ARM: dts: msm: enable secure smmu domain on msm8996

Enable secure context bank of smmu domain to facilitate the
secure display usecases.

Change-Id: I2dea0b7d7a57558070a3f9b726d8e2d3d541521b
Signed-off-by: Rahul Sharma <rahsha@codeaurora.org>
6 years agoARM: dts: msm: Update client-id for sde_kms_hyp
Vivek Kumar [Tue, 10 Apr 2018 14:03:44 +0000 (19:33 +0530)]
ARM: dts: msm: Update client-id for sde_kms_hyp

Update Client-id for sde_kms_hyp node in LA-GVM.
This is required for MTMD feature.

Change-Id: I97c4c55b94173f4cc08d739974a11b9dd3a80ea3
Signed-off-by: Vivek Kumar <vivekuma@codeaurora.org>
6 years agosoc: qcom: scm: Support single HAB id for QCPE
Amit Blay [Sun, 15 Apr 2018 14:07:20 +0000 (17:07 +0300)]
soc: qcom: scm: Support single HAB id for QCPE

All guest VMs use the same HAB id for communication
with QCPE.

Change-Id: I01ed16376730276f13a734b82d387b1d30d14434
Signed-off-by: Amit Blay <ablay@codeaurora.org>
6 years agoMerge "defconfig: sdm660: Enable cnss_genl driver compilation"
Linux Build Service Account [Sun, 15 Apr 2018 08:27:55 +0000 (01:27 -0700)]
Merge "defconfig: sdm660: Enable cnss_genl driver compilation"

6 years agoMerge "defconfig: msmcortex_mediabox : Enable docker"
Linux Build Service Account [Sun, 15 Apr 2018 08:27:42 +0000 (01:27 -0700)]
Merge "defconfig: msmcortex_mediabox : Enable docker"

6 years agoMerge "defconfig: Add USB pass-through related defconfig"
Linux Build Service Account [Sun, 15 Apr 2018 08:27:40 +0000 (01:27 -0700)]
Merge "defconfig: Add USB pass-through related defconfig"

6 years agoMerge "ARM: dts: msm: Enable PMIC-GPIO clients for msm8996 GVM"
Linux Build Service Account [Sat, 14 Apr 2018 20:44:49 +0000 (13:44 -0700)]
Merge "ARM: dts: msm: Enable PMIC-GPIO clients for msm8996 GVM"

6 years agoMerge "ARM: dts: msm: Add USB devices for msm8996 GVM"
Linux Build Service Account [Sat, 14 Apr 2018 20:44:48 +0000 (13:44 -0700)]
Merge "ARM: dts: msm: Add USB devices for msm8996 GVM"

6 years agodefconfig: sdm660: Enable cnss_genl driver compilation
Srinivas Dasari [Tue, 24 Oct 2017 09:27:50 +0000 (14:57 +0530)]
defconfig: sdm660: Enable cnss_genl driver compilation

cnss_genl driver creates a netlink family and multicast groups
to facilitate communication between WLAN driver and userspace.

Define flag CONFIG_CNSS_GENL and set to 'y'(yes) to enable
compilation of the cnss_genl driver inorder to use the same

Change-Id: Ideb929ad36fd0dde38a10741a6bc288fa1949d8e
Signed-off-by: Srinivas Dasari <dasaris@codeaurora.org>
CRs-Fixed: 2124466

6 years agoMerge "defconfig: msm-auto: Make hotplug section size as 256 MB"
Linux Build Service Account [Fri, 13 Apr 2018 11:52:24 +0000 (04:52 -0700)]
Merge "defconfig: msm-auto: Make hotplug section size as 256 MB"

6 years agoMerge "net: ipc_router: Fix buffer overflow during memcpy"
Linux Build Service Account [Fri, 13 Apr 2018 11:52:22 +0000 (04:52 -0700)]
Merge "net: ipc_router: Fix buffer overflow during memcpy"

6 years agoMerge "msm: camera: Framedrop notification"
Linux Build Service Account [Fri, 13 Apr 2018 11:52:21 +0000 (04:52 -0700)]
Merge "msm: camera: Framedrop notification"

6 years agoMerge "ANDROID: fuse: Add null terminator to path in canonical path to avoid issue"
Linux Build Service Account [Fri, 13 Apr 2018 11:52:19 +0000 (04:52 -0700)]
Merge "ANDROID: fuse: Add null terminator to path in canonical path to avoid issue"

6 years agoMerge "msm: ais: jpegdma: Fix for ASAN issues in jpegdma module"
Linux Build Service Account [Fri, 13 Apr 2018 11:52:17 +0000 (04:52 -0700)]
Merge "msm: ais: jpegdma: Fix for ASAN issues in jpegdma module"

6 years agoMerge "leds: qpnp-flash-v2: Fix HW_STROBE configuration"
Linux Build Service Account [Fri, 13 Apr 2018 11:52:15 +0000 (04:52 -0700)]
Merge "leds: qpnp-flash-v2: Fix HW_STROBE configuration"

6 years agoclk: qcom: Update DSI PLL settings as per latest recommendation
Rashi Bindra [Thu, 12 Apr 2018 14:01:33 +0000 (19:31 +0530)]
clk: qcom: Update DSI PLL settings as per latest recommendation

Changes to update DSI PLL settings as per latest recommendation.

Change-Id: Ie864ced700f21b6a94afb9de2d2c55f6ef9c7bd5
Signed-off-by: Rashi Bindra <rbindra@codeaurora.org>
6 years agosoc: qcom: boot_stats: Fix place_marker API
Vivek Kumar [Fri, 13 Apr 2018 06:34:49 +0000 (12:04 +0530)]
soc: qcom: boot_stats: Fix place_marker API

Fix place_marker function definition when MSM_BOOT_TIMER_MARKER is
disabled.

Change-Id: I201ea0a2b78e310016f847c615254f6ee8273b6f
Signed-off-by: Vivek Kumar <vivekuma@codeaurora.org>
6 years agodefconfig: Add USB pass-through related defconfig
Vivek Kumar [Fri, 6 Apr 2018 08:23:24 +0000 (13:53 +0530)]
defconfig: Add USB pass-through related defconfig

defconfigs which are required for USB Passthrough
in LA-GVM are enabled.

Change-Id: I20805eb4ff082e69ac47ea16165004935e3a7b4a
Signed-off-by: Vivek Kumar <vivekuma@codeaurora.org>
6 years agoMerge "ANDROID: uid_sys_stats: Replace tasklist lock with RCU in uid_cputime_show"
Linux Build Service Account [Fri, 13 Apr 2018 01:21:56 +0000 (18:21 -0700)]
Merge "ANDROID: uid_sys_stats: Replace tasklist lock with RCU in uid_cputime_show"

6 years agoMerge "ARM: dts: msm: Allow pm_suspend in host mode for msm8996 Auto CDP"
Linux Build Service Account [Fri, 13 Apr 2018 01:21:54 +0000 (18:21 -0700)]
Merge "ARM: dts: msm: Allow pm_suspend in host mode for msm8996 Auto CDP"

6 years agoMerge "clk: msm: Fix signal interrupt issue for virtual clock"
Linux Build Service Account [Fri, 13 Apr 2018 01:21:51 +0000 (18:21 -0700)]
Merge "clk: msm: Fix signal interrupt issue for virtual clock"

6 years agoMerge "sdcardfs: Fix sdcardfs to stop creating cases-sensitive duplicate entries."
Linux Build Service Account [Fri, 13 Apr 2018 01:21:49 +0000 (18:21 -0700)]
Merge "sdcardfs: Fix sdcardfs to stop creating cases-sensitive duplicate entries."

6 years agoMerge "f2fs: Set GF_NOFS in read_cache_page_gfp while doing f2fs_quota_read"
Linux Build Service Account [Fri, 13 Apr 2018 01:21:48 +0000 (18:21 -0700)]
Merge "f2fs: Set GF_NOFS in read_cache_page_gfp while doing f2fs_quota_read"

6 years agodefconfig: msmcortex_mediabox : Enable docker
Mohamed Moussa [Wed, 11 Apr 2018 22:48:07 +0000 (15:48 -0700)]
defconfig: msmcortex_mediabox : Enable docker

Enable necessary config flags for Docker

Change-Id: I32eb4ffa2cf2d2023df117bcdee96c98fa00ee53
Signed-off-by: Mohamed Moussa <mmouss@codeaurora.org>
6 years agoARM: dts: msm: Enable PMIC-GPIO clients for msm8996 GVM
Vivek Kumar [Tue, 10 Apr 2018 14:11:56 +0000 (19:41 +0530)]
ARM: dts: msm: Enable PMIC-GPIO clients for msm8996 GVM

Enable PMIC-GPIO clients in la-dts file which are on SMPI bus
for msm8996 GVM.These clients use virtual spmi-arb driver.

Change-Id: I6e6da2ac77a0fffea548e777b5dba9239cf76a18
Signed-off-by: Vivek Kumar <vivekuma@codeaurora.org>
6 years agoARM: dts: msm: Enable blsp_uart node for msm8996 GVM
Vivek Kumar [Tue, 10 Apr 2018 13:58:16 +0000 (19:28 +0530)]
ARM: dts: msm: Enable blsp_uart node for msm8996 GVM

Enable blsp_uart device node for uart-passthrough in
la-gvm specific DT file for msm8996 GVM.

Change-Id: I3907e982573f3052e56fcfdd19c76822d336aa14
Signed-off-by: Vivek Kumar <vivekuma@codeaurora.org>
6 years agoARM: dts: msm: Add USB devices for msm8996 GVM
Vivek Kumar [Thu, 12 Apr 2018 01:22:19 +0000 (06:52 +0530)]
ARM: dts: msm: Add USB devices for msm8996 GVM

Add USB device for android in USB specific DT file.
Enable required devices for USB pass-through in LA
specific DT file for msm8996 GVM.

Change-Id: Ic007607dcfb2dd8ee9839ad58d451b6a98c5fb06
Signed-off-by: Vivek Kumar <vivekuma@codeaurora.org>
6 years agoath10k: deinit wow config in driver unload
Sarada Prasanna Garnayak [Wed, 21 Mar 2018 15:40:28 +0000 (21:10 +0530)]
ath10k: deinit wow config in driver unload

The mac80211 support user configured wowlan enable/disable
feature using wlan utils, If the wowlan feature is not enabled
by user the mac80211 subsystem fallback to core stop instead
of wow suspend during system suspend even the wlan firmware
support wowlan feature.

So in driver load init wow and set the wlan device as a wakeup
capable device and deinit wow in driver unload.

CRs-Fixed: 2218083
Change-Id: I5ac5b6e0118f8a3dd01cfbdd706f56fa33b3e101
Signed-off-by: Sarada Prasanna Garnayak <sgarna@codeaurora.org>
6 years agoMerge "USB: f_accessory: Check dev pointer before decoding ctrl request"
Linux Build Service Account [Thu, 12 Apr 2018 02:18:42 +0000 (19:18 -0700)]
Merge "USB: f_accessory: Check dev pointer before decoding ctrl request"

6 years agoMerge "ath10k: enable neighbor solicitation offload in wow suspend"
Linux Build Service Account [Thu, 12 Apr 2018 02:18:41 +0000 (19:18 -0700)]
Merge "ath10k: enable neighbor solicitation offload in wow suspend"

6 years agoMerge "ARM: dts: msm: add qrng for gvm on msm8996"
Linux Build Service Account [Thu, 12 Apr 2018 02:18:40 +0000 (19:18 -0700)]
Merge "ARM: dts: msm: add qrng for gvm on msm8996"

6 years agoMerge "ais: report csid error event to user"
Linux Build Service Account [Thu, 12 Apr 2018 02:18:39 +0000 (19:18 -0700)]
Merge "ais: report csid error event to user"

6 years agousb: msm: Add missing android-usb related documentation
Vivek Kumar [Thu, 12 Apr 2018 00:49:51 +0000 (06:19 +0530)]
usb: msm: Add missing android-usb related documentation

This change adds the missing documentation related to
device tree bindings for android-usb functionality.

Change-Id: Iee24c0a6a333792983a5bea00adaa9a697ab70e3
Signed-off-by: Vivek Kumar <vivekuma@codeaurora.org>
6 years agov4l2-core: Remove unhelpful warnings
Shiju Mathew [Tue, 3 Apr 2018 14:43:32 +0000 (10:43 -0400)]
v4l2-core: Remove unhelpful warnings

This warning is causing unnecessary triage for any test reports.

Change-Id: Iec47d217264e1b98b1fbe62c0ba9ef47aa41af9c
Signed-off-by: Shiju Mathew <shijum@codeaurora.org>
6 years agodefconfig: msm-auto: Make hotplug section size as 256 MB
Arun KS [Tue, 10 Apr 2018 04:30:20 +0000 (10:00 +0530)]
defconfig: msm-auto: Make hotplug section size as 256 MB

On Mojave board, hotplug-able memory size is 256 MB. This depends
on DDR configuration. Configure HOTPLUG_SIZE_BITS to match this.

Change-Id: I014be9240f665cb1754fe701b4d57cf898b5f693
Signed-off-by: Arun KS <arunks@codeaurora.org>
6 years agovoice_svc: Avoid double free in voice_svc driver
Aditya Bavanari [Fri, 6 Apr 2018 12:45:43 +0000 (18:15 +0530)]
voice_svc: Avoid double free in voice_svc driver

voice_svc_dev is allocated as a device managed resource
and need not be freed since it is freed automatically.
Remove the logic to free voice_svc_dev in probe failure
and remove functions to avoid double free.

CRs-Fixed: 2204285
Change-Id: If4f9ca840b00448b987f5ce443f66b0923b01969
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
6 years agoclk: msm: Fix signal interrupt issue for virtual clock
Zhiqiang Tu [Wed, 11 Apr 2018 01:32:09 +0000 (09:32 +0800)]
clk: msm: Fix signal interrupt issue for virtual clock

Virtual clock operations returned error when received signal.
Uninterruptible flag is added in receiving response to avoid
being interrupted by signal.

Change-Id: Id3b5b56432751ec5b49c36a028444c0360fe811f
Signed-off-by: Zhiqiang Tu <ztu@codeaurora.org>
6 years agosoc: qcom: hab: add the uninterruptible receive support
Yong Ding [Wed, 28 Mar 2018 02:22:29 +0000 (10:22 +0800)]
soc: qcom: hab: add the uninterruptible receive support

In the blocking mode of habmm_socket_recv(), it is an
interruptible wait by default. Here, the uninterruptible
version is added.

Change-Id: Iba9ee10afb3f2529a99a9c90f6fc0cb56fb9cb08
Signed-off-by: Yong Ding <yongding@codeaurora.org>
6 years agof2fs: Set GF_NOFS in read_cache_page_gfp while doing f2fs_quota_read
Ritesh Harjani [Wed, 14 Mar 2018 10:16:37 +0000 (15:46 +0530)]
f2fs: Set GF_NOFS in read_cache_page_gfp while doing f2fs_quota_read

Quota code itself is serializing the operations by taking mutex_lock.
It seems a below race can happen if GF_NOFS is not used in f2fs_quota_read

__switch_to+0x88
__schedule+0x5b0
schedule+0x78
schedule_preempt_disabled+0x20
__mutex_lock_slowpath+0xdc    //mutex owner is itself
mutex_lock+0x2c
dquot_commit+0x30 //mutex_lock(&dqopt->dqio_mutex);
dqput+0xe0
__dquot_drop+0x80
dquot_drop+0x48
f2fs_evict_inode+0x218
evict+0xa8
dispose_list+0x3c
prune_icache_sb+0x58
super_cache_scan+0xf4
do_shrink_slab+0x208
shrink_slab.part.40+0xac
shrink_zone+0x1b0
do_try_to_free_pages+0x25c
try_to_free_pages+0x164
__alloc_pages_nodemask+0x534
do_read_cache_page+0x6c
read_cache_page+0x14
f2fs_quota_read+0xa4
read_blk+0x54
find_tree_dqentry+0xe4
find_tree_dqentry+0xb8
find_tree_dqentry+0xb8
find_tree_dqentry+0xb8
qtree_read_dquot+0x68
v2_read_dquot+0x24
dquot_acquire+0x5c // mutex_lock(&dqopt->dqio_mutex);
dqget+0x238
__dquot_initialize+0xd4
dquot_initialize+0x10
dquot_file_open+0x34
f2fs_file_open+0x6c
do_dentry_open+0x1e4
vfs_open+0x6c
path_openat+0xa20
do_filp_open+0x4c
do_sys_open+0x178

Change-Id: I6cc8417ad00426fd93bb42841e20217c0e44103a
Signed-off-by: Ritesh Harjani <riteshh@codeaurora.org>
6 years agoarm64: Make section size configurable for hotplug
Arun KS [Mon, 19 Mar 2018 09:34:03 +0000 (15:04 +0530)]
arm64: Make section size configurable for hotplug

On arm64, currently section size is hard-coded to 1G.
Make this configurable if hotplug is enabled to support
more finer granularity for hotplug-able memory.

Change-Id: I5327ead37069176f4ba34657133fab303fb15b82
Signed-off-by: Arun KS <arunks@codeaurora.org>
6 years agoUSB: f_accessory: Check dev pointer before decoding ctrl request
Vijayavardhan Vennapusa [Wed, 4 Apr 2018 05:32:28 +0000 (11:02 +0530)]
USB: f_accessory: Check dev pointer before decoding ctrl request

In case of poweroff charging mode, accessory function instance
is not created and due to this, _acc_dev will be NULL. If target
is connected to Accessory dock in poweroff charging mode, there
is a chance dev pointer is accessed, which is NULL. Hence add a
check before processing control request and return error if it is
NULL.

Change-Id: I4f1deb9d764b8c0bd1d7837cbc43a2933167f568
Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
6 years agoath10k: enable neighbor solicitation offload in wow suspend
Sarada Prasanna Garnayak [Fri, 5 Jan 2018 10:43:20 +0000 (16:13 +0530)]
ath10k: enable neighbor solicitation offload in wow suspend

In IPV6 the neighbor solicitations are used by nodes to determine
the link layer address of a neighbor and neighbor advertisements
are used by nodes to respond to a neighbor solicitation message.

During WOW suspend offload the neighbor solicitation packet handling
method to WLAN firmware, this adds support to prevent the device
wakeup by neighbor solicitation packet.

CRs-Fixed: 2217590
Change-Id: I5d860e6651b7c62223d9d00886fc386dcf647cab
Signed-off-by: Sarada Prasanna Garnayak <sgarna@codeaurora.org>
6 years agoARM: dts: msm: add qrng for gvm on msm8996
Parai Wang [Mon, 9 Apr 2018 07:53:29 +0000 (15:53 +0800)]
ARM: dts: msm: add qrng for gvm on msm8996

Add device node qualcomm hardware random generator, so that to provide
real random number if qrng is enabled.
This is for security purpose for the application.

Change-Id: Ib359b39ec5c32cb05ed1e38c1ad377657e5c47ae
Signed-off-by: Parai Wang <fpwang@codeaurora.org>
6 years agodrm: msm: fix potential NULL pointer dereference
Suprith Malligere Shankaregowda [Wed, 4 Apr 2018 12:28:29 +0000 (17:58 +0530)]
drm: msm: fix potential NULL pointer dereference

adding NULL check before dereferencing a pointer.

Change-Id: I260b016abdcb16f5b16e58671ed208df21c99a46
Signed-off-by: Suprith Malligere Shankaregowda <supgow@codeaurora.org>
6 years agosdcardfs: Fix sdcardfs to stop creating cases-sensitive duplicate entries.
Ritesh Harjani [Mon, 19 Mar 2018 10:19:54 +0000 (15:49 +0530)]
sdcardfs: Fix sdcardfs to stop creating cases-sensitive duplicate entries.

sdcardfs_name_match gets a 'name' argument from the underlying FS.
This need not be null terminated string.
So in sdcardfs_name_match -> qstr_case_eq -> we should use
str_n_case_eq.

This happens because few of the entries in lower level FS may not be
NULL terminated and may have some garbage characters passed while
doing sdcardfs_name_match.

For e.g.
 # dmesg |grep Download
 [  103.646386] sdcardfs_name_match: q1->name=.nomedia, q1->len=8,
 q2->name=Download\x17\x80\x03, q2->len=8
 [  104.021340] sdcardfs_name_match: q1->name=.nomedia, q1->len=8,
 q2->name=Download\x17\x80\x03, q2->len=8
 [  105.196864] sdcardfs_name_match: q1->name=.nomedia, q1->len=8,
 q2->name=Download\x17\x80\x03, q2->len=8
 [  109.113521] sdcardfs_name_match: q1->name=logs, q1->len=4,
 q2->name=Download\x17\x80\x03, q2->len=8

Now when we try to create a directory with different case for a such
files. SDCARDFS creates a entry if it could not find the underlying
entry in it's dcache.

To reproduce:-
1. bootup the device wait for some time after sdcardfs mounting to
   complete.
2. cd /storage/emulated/0
3. echo 3 > /proc/sys/vm/drop_caches
4. mkdir download

We now start seeing two entries with name.
Download & download.

Change-Id: I976d92a220a607dd8cdb96c01c2041c5c2bc3326
Signed-off-by: Ritesh Harjani <riteshh@codeaurora.org>
6 years agomsm: kgsl: Enhance reading lm_sequence in _execute_reg_sequence()
Archana Sriram [Mon, 26 Mar 2018 07:44:04 +0000 (13:14 +0530)]
msm: kgsl: Enhance reading lm_sequence in _execute_reg_sequence()

Modified conditional checks to read lm_sequence so as to avoid
the possibility of pointer overflow.

CRs-Fixed: 2212443
Change-Id: I72b30e35996c40f23fc81739e27724b1188f1c05
Signed-off-by: Archana Sriram <apsrir@codeaurora.org>
6 years agomsm: camera: Framedrop notification
annamraj [Fri, 6 Apr 2018 14:09:07 +0000 (19:39 +0530)]
msm: camera: Framedrop notification

Notify the frame drop using ioctl
VIDIOC_MSM_BUF_MNGR_BUF_ERROR

Change-Id: Ide54d98fd05e19f5e2d7e88b6b65e151aa257334
Signed-off-by: annamraj <annamraj@codeaurora.org>
6 years agoANDROID: fuse: Add null terminator to path in canonical path to avoid issue
Ritesh Harjani [Mon, 19 Mar 2018 10:33:09 +0000 (16:03 +0530)]
ANDROID: fuse: Add null terminator to path in canonical path to avoid issue

page allocated in fuse_dentry_canonical_path to be handled in
fuse_dev_do_write is allocated using __get_free_pages(GFP_KERNEL).
This may not return a page with data filled with 0. Now this
page may not have a null terminator at all.
If this happens and userspace fuse daemon screws up by passing a string
to kernel which is not NULL terminated (or did not fill anything),
then inside fuse driver in kernel when we try to do
strlen(fuse_dev_write->kern_path->getname_kernel)
on that page data -> it may give us issue with kernel paging request.

Unable to handle kernel paging request at virtual address
------------[ cut here ]------------
<..>
PC is at strlen+0x10/0x90
LR is at getname_kernel+0x2c/0xf4
<..>
strlen+0x10/0x90
kern_path+0x28/0x4c
fuse_dev_do_write+0x5b8/0x694
fuse_dev_write+0x74/0x94
do_iter_readv_writev+0x80/0xb8
do_readv_writev+0xec/0x1cc
vfs_writev+0x54/0x64
SyS_writev+0x64/0xe4
el0_svc_naked+0x24/0x28

To avoid this we should ensure in case of FUSE_CANONICAL_PATH,
the page is null terminated.

Change-Id: I33ca7cc76b4472eaa982c67bb20685df451121f5
Bug: 75984715
[Daniel - small edit, using args size ]
Signed-off-by: Daniel Rosenberg <drosen@google.com>
Git-Repo: https://source.codeaurora.org/quic/la/kernel/msm-4.9/commit/?h=aosp-new/android-4.9&id=4fb542f2aa1414cea5686efcf72a411b7213c375
Git-Commit: 4fb542f2aa1414cea5686efcf72a411b7213c375
Signed-off-by: Ritesh Harjani <riteshh@codeaurora.org>
6 years agomsm: ais: jpegdma: Fix for ASAN issues in jpegdma module
Suprith Malligere Shankaregowda [Fri, 23 Mar 2018 08:43:28 +0000 (14:13 +0530)]
msm: ais: jpegdma: Fix for ASAN issues in jpegdma module

Adding Lock mechanism to avoid concurrency issues between reqbufs
and streamoff calls.

Change-Id: Ic915d346d0aa60d71007a359760a6a573734b6e5
Signed-off-by: Suprith Malligere Shankaregowda <supgow@codeaurora.org>
6 years agoMerge "clk: msm: osm: Update maximum number of bytes to read from buffer"
Linux Build Service Account [Sun, 8 Apr 2018 14:55:03 +0000 (07:55 -0700)]
Merge "clk: msm: osm: Update maximum number of bytes to read from buffer"

6 years agoMerge 4.4.127 into android-4.4
Greg Kroah-Hartman [Sun, 8 Apr 2018 14:07:37 +0000 (16:07 +0200)]
Merge 4.4.127 into android-4.4

Changes in 4.4.127
mtd: jedec_probe: Fix crash in jedec_read_mfr()
ALSA: pcm: Use dma_bytes as size parameter in dma_mmap_coherent()
ALSA: pcm: potential uninitialized return values
perf/hwbp: Simplify the perf-hwbp code, fix documentation
partitions/msdos: Unable to mount UFS 44bsd partitions
usb: gadget: define free_ep_req as universal function
usb: gadget: change len to size_t on alloc_ep_req()
usb: gadget: fix usb_ep_align_maybe endianness and new usb_ep_align
usb: gadget: align buffer size when allocating for OUT endpoint
usb: gadget: f_hid: fix: Prevent accessing released memory
kprobes/x86: Fix to set RWX bits correctly before releasing trampoline
ACPI, PCI, irq: remove redundant check for null string pointer
writeback: fix the wrong congested state variable definition
PCI: Make PCI_ROM_ADDRESS_MASK a 32-bit constant
dm ioctl: remove double parentheses
Input: mousedev - fix implicit conversion warning
netfilter: nf_nat_h323: fix logical-not-parentheses warning
genirq: Use cpumask_available() for check of cpumask variable
cpumask: Add helper cpumask_available()
selinux: Remove unnecessary check of array base in selinux_set_mapping()
fs: compat: Remove warning from COMPATIBLE_IOCTL
jiffies.h: declare jiffies and jiffies_64 with ____cacheline_aligned_in_smp
frv: declare jiffies to be located in the .data section
audit: add tty field to LOGIN event
tty: provide tty_name() even without CONFIG_TTY
netfilter: ctnetlink: Make some parameters integer to avoid enum mismatch
selinux: Remove redundant check for unknown labeling behavior
arm64: avoid overflow in VA_START and PAGE_OFFSET
xfrm_user: uncoditionally validate esn replay attribute struct
RDMA/ucma: Check AF family prior resolving address
RDMA/ucma: Fix use-after-free access in ucma_close
RDMA/ucma: Ensure that CM_ID exists prior to access it
RDMA/ucma: Check that device is connected prior to access it
RDMA/ucma: Check that device exists prior to accessing it
RDMA/ucma: Don't allow join attempts for unsupported AF family
RDMA/ucma: Introduce safer rdma_addr_size() variants
net: xfrm: use preempt-safe this_cpu_read() in ipcomp_alloc_tfms()
xfrm: Refuse to insert 32 bit userspace socket policies on 64 bit systems
netfilter: bridge: ebt_among: add more missing match size checks
netfilter: x_tables: add and use xt_check_proc_name
Bluetooth: Fix missing encryption refresh on Security Request
llist: clang: introduce member_address_is_nonnull()
scsi: virtio_scsi: always read VPD pages for multiqueue too
usb: dwc2: Improve gadget state disconnection handling
USB: serial: ftdi_sio: add RT Systems VX-8 cable
USB: serial: ftdi_sio: add support for Harman FirmwareHubEmulator
USB: serial: cp210x: add ELDAT Easywave RX09 id
mei: remove dev_err message on an unsupported ioctl
media: usbtv: prevent double free in error case
parport_pc: Add support for WCH CH382L PCI-E single parallel port card.
crypto: ahash - Fix early termination in hash walk
crypto: x86/cast5-avx - fix ECB encryption when long sg follows short one
fs/proc: Stop trying to report thread stacks
staging: comedi: ni_mio_common: ack ai fifo error interrupts.
Input: i8042 - add Lenovo ThinkPad L460 to i8042 reset list
Input: i8042 - enable MUX on Sony VAIO VGN-CS series to fix touchpad
vt: change SGR 21 to follow the standards
Documentation: pinctrl: palmas: Add ti,palmas-powerhold-override property definition
ARM: dts: dra7: Add power hold and power controller properties to palmas
ARM: dts: am57xx-beagle-x15-common: Add overide powerhold property
md/raid10: reset the 'first' at the end of loop
net: hns: Fix ethtool private flags
nospec: Move array_index_nospec() parameter checking into separate macro
nospec: Kill array_index_nospec_mask_check()
Revert "PCI/MSI: Stop disabling MSI/MSI-X in pci_device_shutdown()"
Revert "ARM: dts: am335x-pepper: Fix the audio CODEC's reset pin"
Revert "ARM: dts: omap3-n900: Fix the audio CODEC's reset pin"
Revert "cpufreq: Fix governor module removal race"
Revert "mtip32xx: use runtime tag to initialize command header"
spi: davinci: fix up dma_mapping_error() incorrect patch
net: cavium: liquidio: fix up "Avoid dma_unmap_single on uninitialized ndata"
Revert "ip6_vti: adjust vti mtu according to mtu of lower device"
Linux 4.4.127

Change-Id: Ia3b9ed0a5b2ea6c682386dbee5337ed8413d1a53
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
6 years agoLinux 4.4.127
Greg Kroah-Hartman [Sun, 8 Apr 2018 09:52:02 +0000 (11:52 +0200)]
Linux 4.4.127

6 years agoRevert "ip6_vti: adjust vti mtu according to mtu of lower device"
Greg Kroah-Hartman [Fri, 6 Apr 2018 07:42:53 +0000 (09:42 +0200)]
Revert "ip6_vti: adjust vti mtu according to mtu of lower device"

This reverts commit 2fe832c678189d6b19b5ff282e7e70df79c1406b which is
commit 53c81e95df1793933f87748d36070a721f6cb287 upstream.

Ben writes that there are a number of follow-on patches needed to fix
this up, but they get complex to backport, and some custom fixes are
needed, so let's just revert this and wait for a "real" set of patches
to resolve this to be submitted if it is really needed.

Reported-by: Ben Hutchings <ben.hutchings@codethink.co.uk>
Cc: Petr Vorel <pvorel@suse.cz>
Cc: Alexey Kodanev <alexey.kodanev@oracle.com>
Cc: David S. Miller <davem@davemloft.net>
Cc: Stefano Brivio <sbrivio@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
6 years agonet: cavium: liquidio: fix up "Avoid dma_unmap_single on uninitialized ndata"
Greg Kroah-Hartman [Fri, 6 Apr 2018 08:24:54 +0000 (10:24 +0200)]
net: cavium: liquidio: fix up "Avoid dma_unmap_single on uninitialized ndata"

This fixes up commit 1d1cb762524f05cfb37994e0d36b7b4b5e957134 which was
commit 8e6ce7ebeb34f0992f56de078c3744fb383657fa upstream.

Ben writes:
This goto should not have been changed, as no DMA mapping has been
attempted at this point in the function.

This seems to have been fixed upstream by commit 6a885b60dad2 "liquidio:
Introduce new octeon2/3 header".  I leave it to you to work out how it
should be fixed in 4.4-stable.

Fix this up by hand, as the referenced patch isn't worthy of being
backported.

Reported-by: Ben Hutchings <ben.hutchings@codethink.co.uk>
Cc: Florian Fainelli <f.fainelli@gmail.com>
Cc: David S. Miller <davem@davemloft.net>
Cc: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
6 years agospi: davinci: fix up dma_mapping_error() incorrect patch
Greg Kroah-Hartman [Fri, 6 Apr 2018 08:21:12 +0000 (10:21 +0200)]
spi: davinci: fix up dma_mapping_error() incorrect patch

commit 11dd9e2c480324b46118ff708ea2ca8d7022539b, which is commit
c5a2a394835f473ae23931eda5066d3771d7b2f8 upstream had an error in it.

Ben writes:
    The '!' needs to be deleted.  This appears to have been fixed upstream
    by:

    commit 8aedbf580d21121d2a032e4c8ea12d8d2d85e275
    Author: Fabien Parent <fparent@baylibre.com>
    Date:   Thu Feb 23 19:01:56 2017 +0100

spi: davinci: Use SPI framework to handle DMA mapping

    which is not suitable for stable.

So I'm just fixing this up directly.

Reported-by: Ben Hutchings <ben.hutchings@codethink.co.uk>
Cc: Kevin Hilman <khilman@baylibre.com>
Cc: Mark Brown <broonie@kernel.org>
Cc: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
6 years agoRevert "mtip32xx: use runtime tag to initialize command header"
Greg Kroah-Hartman [Fri, 6 Apr 2018 07:27:10 +0000 (09:27 +0200)]
Revert "mtip32xx: use runtime tag to initialize command header"

This reverts commit 9bf9e352ed51d4cdee107675609ba12b42d00c5b which was
commit a4e84aae8139aca9fbfbced1f45c51ca81b57488 upstream.

Ben writes:
MQ IO schedulers were introduced in 4.11, so this shouldn't be
needed in older branches.  It also causes a performance
regression (fixed upstream).  Please revert this for 4.4 and
4.9.

So let's revert it!

Reported-by: Ben Hutchings <ben.hutchings@codethink.co.uk>
Cc: Ming Lei <ming.lei@redhat.com>
Cc: Jens Axboe <axboe@fb.com>
Cc: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
6 years agoRevert "cpufreq: Fix governor module removal race"
Greg Kroah-Hartman [Fri, 6 Apr 2018 07:04:23 +0000 (09:04 +0200)]
Revert "cpufreq: Fix governor module removal race"

This reverts commit 3f7dfb7fcf98a7e73dee018c4a68537ce7fec646 which was
commit a8b149d32b663c1a4105273295184b78f53d33cf upstream.

The backport was not correct, so just drop it entirely.

Reported-by: Ben Hutchings <ben.hutchings@codethink.co.uk>
Cc: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Cc: Viresh Kumar <viresh.kumar@linaro.org>
Cc: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
6 years agoRevert "ARM: dts: omap3-n900: Fix the audio CODEC's reset pin"
Greg Kroah-Hartman [Fri, 6 Apr 2018 06:57:11 +0000 (08:57 +0200)]
Revert "ARM: dts: omap3-n900: Fix the audio CODEC's reset pin"

This reverts commit ffa0a8252863189f0bc92d46c34588df3699f8f8 which was
commit 7be4b5dc7ffa9499ac6ef33a5ffa9ff43f9b7057 upstream.

It requires a driver that was not merged until 4.16, so remove it from
this stable tree as it is pointless.

Reported-by: Ben Hutchings <ben.hutchings@codethink.co.uk>
Cc: Andrew F. Davis <afd@ti.com>
Cc: Tony Lindgren <tony@atomide.com>
Cc: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
6 years agoRevert "ARM: dts: am335x-pepper: Fix the audio CODEC's reset pin"
Greg Kroah-Hartman [Fri, 6 Apr 2018 06:46:40 +0000 (08:46 +0200)]
Revert "ARM: dts: am335x-pepper: Fix the audio CODEC's reset pin"

This reverts commit 59df934af72fe74a64be6a0d8dba21375a5482bc which was
comit e153db03c6b7a035c797bcdf35262586f003ee93 upstream.

It requires a driver that was not merged until 4.16, so remove it from
this stable tree as it is pointless.

Reported-by: Ben Hutchings <ben.hutchings@codethink.co.uk>
Cc: Andrew F. Davis <afd@ti.com>
Cc: Tony Lindgren <tony@atomide.com>
Cc: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
6 years agoRevert "PCI/MSI: Stop disabling MSI/MSI-X in pci_device_shutdown()"
Greg Kroah-Hartman [Wed, 4 Apr 2018 15:24:44 +0000 (17:24 +0200)]
Revert "PCI/MSI: Stop disabling MSI/MSI-X in pci_device_shutdown()"

This reverts commit 4fbe422076d36615ec6fe8648d1aecfa460bc67d which was
commit fda78d7a0ead144f4b2cdb582dcba47911f4952c upstream.

The dependancy tree is just too messy here, just drop it from this
kernel as it's not really needed here.

Reported-by: Ben Hutchings <ben.hutchings@codethink.co.uk>
Cc: Prarit Bhargava <prarit@redhat.com>
Cc: Bjorn Helgaas <bhelgaas@google.com>
Cc: Alex Williamson <alex.williamson@redhat.com>
Cc: David Arcari <darcari@redhat.com>
Cc: Myron Stowe <mstowe@redhat.com>
Cc: Lukas Wunner <lukas@wunner.de>
Cc: Keith Busch <keith.busch@intel.com>
Cc: Mika Westerberg <mika.westerberg@linux.intel.com>
Cc: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
6 years agonospec: Kill array_index_nospec_mask_check()
Dan Williams [Fri, 16 Feb 2018 21:20:42 +0000 (13:20 -0800)]
nospec: Kill array_index_nospec_mask_check()

commit 1d91c1d2c80cb70e2e553845e278b87a960c04da upstream.

There are multiple problems with the dynamic sanity checking in
array_index_nospec_mask_check():

* It causes unnecessary overhead in the 32-bit case since integer sized
  @index values will no longer cause the check to be compiled away like
  in the 64-bit case.

* In the 32-bit case it may trigger with user controllable input when
  the expectation is that should only trigger during development of new
  kernel enabling.

* The macro reuses the input parameter in multiple locations which is
  broken if someone passes an expression like 'index++' to
  array_index_nospec().

Reported-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: Arjan van de Ven <arjan@linux.intel.com>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Dave Hansen <dave.hansen@linux.intel.com>
Cc: David Woodhouse <dwmw2@infradead.org>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Josh Poimboeuf <jpoimboe@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Will Deacon <will.deacon@arm.com>
Cc: linux-arch@vger.kernel.org
Link: http://lkml.kernel.org/r/151881604278.17395.6605847763178076520.stgit@dwillia2-desk3.amr.corp.intel.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Cc: Ben Hutchings <ben.hutchings@codethink.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>