1368 Commits

Author SHA1 Message Date
Runmin Wang
5682ea9f33 Merge remote-tracking branch 'remotes/origin/tmp-9189141' into msm-4.14
* remotes/origin/tmp-9189141:
  Linux 4.14.13
  KVM: s390: prevent buffer overrun on memory hotplug during migration
  KVM: s390: fix cmma migration for multiple memory slots
  mtd: nand: pxa3xx: Fix READOOB implementation
  parisc: qemu idle sleep support
  parisc: Fix alignment of pa_tlb_lock in assembly on 32-bit SMP kernel
  apparmor: fix regression in mount mediation when feature set is pinned
  x86/microcode/AMD: Add support for fam17h microcode loading
  Input: elantech - add new icbody type 15
  powerpc/mm: Fix SEGV on mapped region to return SEGV_ACCERR
  ARC: uaccess: dont use "l" gcc inline asm constraint modifier
  iommu/arm-smmu-v3: Cope with duplicated Stream IDs
  iommu/arm-smmu-v3: Don't free page table ops twice
  kernel/signal.c: remove the no longer needed SIGNAL_UNKILLABLE check in complete_signal()
  kernel/signal.c: protect the SIGNAL_UNKILLABLE tasks from !sig_kernel_only() signals
  kernel/signal.c: protect the traced SIGNAL_UNKILLABLE tasks from SIGKILL
  x86 / CPU: Always show current CPU frequency in /proc/cpuinfo
  x86 / CPU: Avoid unnecessary IPIs in arch_freq_get_on_cpu()
  fscache: Fix the default for fscache_maybe_release_page()
  sunxi-rsb: Include OF based modalias in device uevent
  drm/i915: Apply Display WA #1183 on skl, kbl, and cfl
  drm/i915: Disable DC states around GMBUS on GLK
  crypto: chelsio - select CRYPTO_GF128MUL
  crypto: pcrypt - fix freeing pcrypt instances
  crypto: chacha20poly1305 - validate the digest size
  crypto: n2 - cure use after free
  efi/capsule-loader: Reinstate virtual capsule mapping
  btrfs: fix refcount_t usage when deleting btrfs_delayed_nodes
  userfaultfd: clear the vma->vm_userfaultfd_ctx if UFFD_EVENT_FORK fails
  mm/sparse.c: wrong allocation for mem_section
  mm/mprotect: add a cond_resched() inside change_pmd_range()
  kernel/acct.c: fix the acct->needcheck check in check_free_space()
  x86/pti: Rename BUG_CPU_INSECURE to BUG_CPU_MELTDOWN
  x86/alternatives: Add missing '\n' at end of ALTERNATIVE inline asm
  x86/tlb: Drop the _GPL from the cpu_tlbstate export
  x86/events/intel/ds: Use the proper cache flush method for mapping ds buffers
  x86/kaslr: Fix the vaddr_end mess
  x86/mm: Map cpu_entry_area at the same place on 4/5 level
  x86/mm: Set MODULES_END to 0xffffffffff000000
  ANDROID: netfilter: xt_qtaguid: Fix 4.14 compilation
  ANDROID: Squashfs: optimize reading uncompressed data
  ANDROID: Squashfs: implement .readpages()
  ANDROID: Squashfs: replace buffer_head with BIO
  ANDROID: Squashfs: refactor page_actor
  ANDROID: usb: f_fs: Prevent gadget unbind if it is already unbound
  Linux 4.14.12
  rtc: m41t80: remove unneeded checks from m41t80_sqw_set_rate
  rtc: m41t80: avoid i2c read in m41t80_sqw_is_prepared
  rtc: m41t80: avoid i2c read in m41t80_sqw_recalc_rate
  rtc: m41t80: fix m41t80_sqw_round_rate return value
  rtc: m41t80: m41t80_sqw_set_rate should return 0 on success
  Revert "xfrm: Fix stack-out-of-bounds read in xfrm_state_find."
  x86/process: Define cpu_tss_rw in same section as declaration
  x86/pti: Switch to kernel CR3 at early in entry_SYSCALL_compat()
  x86/dumpstack: Print registers for first stack frame
  x86/dumpstack: Fix partial register dumps
  x86/pti: Make sure the user/kernel PTEs match
  x86/cpu, x86/pti: Do not enable PTI on AMD processors
  capabilities: fix buffer overread on very short xattr
  exec: Weaken dumpability for secureexec
  Linux 4.14.11
  tty: fix tty_ldisc_receive_buf() documentation
  n_tty: fix EXTPROC vs ICANON interaction with TIOCINQ (aka FIONREAD)
  x86/ldt: Make LDT pgtable free conditional
  x86/ldt: Plug memory leak in error path
  x86/espfix/64: Fix espfix double-fault handling on 5-level systems
  x86-32: Fix kexec with stack canary (CONFIG_CC_STACKPROTECTOR)
  x86/mm: Remove preempt_disable/enable() from __native_flush_tlb()
  x86/smpboot: Remove stale TLB flush invocations
  nohz: Prevent a timer interrupt storm in tick_nohz_stop_sched_tick()
  staging: android: ion: Fix dma direction for dma_sync_sg_for_cpu/device
  drivers: base: cacheinfo: fix cache type for non-architected system cache
  phy: tegra: fix device-tree node lookups
  binder: fix proc->files use-after-free
  timers: Reinitialize per cpu bases on hotplug
  timers: Invoke timer_start_debug() where it makes sense
  timers: Use deferrable base independent of base::nohz_active
  usb: xhci: Add XHCI_TRUST_TX_LENGTH for Renesas uPD720201
  USB: Fix off by one in type-specific length check of BOS SSP capability
  usb: add RESET_RESUME for ELSA MicroLink 56K
  usb: Add device quirk for Logitech HD Pro Webcam C925e
  USB: serial: option: adding support for YUGA CLM920-NC5
  USB: serial: option: add support for Telit ME910 PID 0x1101
  USB: serial: qcserial: add Sierra Wireless EM7565
  USB: serial: ftdi_sio: add id for Airbus DS P8GR
  USB: chipidea: msm: fix ulpi-node lookup
  usbip: vhci: stop printing kernel pointer addresses in messages
  usbip: stub: stop printing kernel pointer addresses in messages
  usbip: prevent leaking socket pointer address in messages
  usbip: fix usbip bind writing random string after command in match_busid
  sparc64: repair calling incorrect hweight function from stubs
  skbuff: in skb_copy_ubufs unclone before releasing zerocopy
  skbuff: skb_copy_ubufs must release uarg even without user frags
  skbuff: orphan frags before zerocopy clone
  Revert "mlx5: move affinity hints assignments to generic code"
  ipv6: set all.accept_dad to 0 by default
  ipv4: fib: Fix metrics match when deleting a route
  phylink: ensure AN is enabled
  phylink: ensure the PHY interface mode is appropriately set
  bnxt_en: Fix sources of spurious netpoll warnings
  net: sched: fix static key imbalance in case of ingress/clsact_init error
  vxlan: restore dev->mtu setting based on lower device
  net/mlx5: FPGA, return -EINVAL if size is zero
  tcp: refresh tcp_mstamp from timers callbacks
  ipv6: Honor specified parameters in fibmatch lookup
  net: phy: marvell: Limit 88m1101 autoneg errata to 88E1145 as well.
  tcp: fix potential underestimation on rcv_rtt
  mlxsw: spectrum: Disable MAC learning for ovs port
  tipc: fix hanging poll() for stream sockets
  sctp: make sure stream nums can match optlen in sctp_setsockopt_reset_streams
  s390/qeth: fix error handling in checksum cmd callback
  net: dsa: bcm_sf2: Clear IDDQ_GLOBAL_PWR bit for PHY
  sfc: pass valid pointers from efx_enqueue_unwind
  openvswitch: Fix pop_vlan action for double tagged frames
  net/mlx5: Fix error flow in CREATE_QP command
  net/mlx5e: Prevent possible races in VXLAN control flow
  net/mlx5e: Add refcount to VXLAN structure
  net/mlx5e: Fix features check of IPv6 traffic
  net/mlx5e: Fix possible deadlock of VXLAN lock
  net/mlx5: Fix rate limit packet pacing naming and struct
  tcp: invalidate rate samples during SACK reneging
  sock: free skb in skb_complete_tx_timestamp on error
  net: phy: micrel: ksz9031: reconfigure autoneg after phy autoneg workaround
  net: Fix double free and memory corruption in get_net_ns_by_id()
  net: bridge: fix early call to br_stp_change_bridge_id and plug newlink leaks
  ipv4: Fix use-after-free when flushing FIB tables
  ip6_gre: fix device features for ioctl setup
  adding missing rcu_read_unlock in ipxip6_rcv
  sctp: Replace use of sockets_allocated with specified macro.
  net: mvmdio: disable/unprepare clocks in EPROBE_DEFER case
  net: ipv4: fix for a race condition in raw_sendmsg
  s390/qeth: update takeover IPs after configuration change
  s390/qeth: lock IP table while applying takeover changes
  s390/qeth: don't apply takeover changes to RXIP
  s390/qeth: apply takeover changes when mode is toggled
  tcp_bbr: reset long-term bandwidth sampling on loss recovery undo
  tcp_bbr: reset full pipe detection on loss recovery undo
  tg3: Fix rx hang on MTU change with 5717/5719
  tcp md5sig: Use skb's saddr when replying to an incoming segment
  tcp_bbr: record "full bw reached" decision in new full_bw_reached bit
  RDS: Check cmsg_len before dereferencing CMSG_DATA
  ptr_ring: add barriers
  net: reevalulate autoflowlabel setting after sysctl setting
  net: qmi_wwan: add Sierra EM7565 1199:9091
  netlink: Add netns check on taps
  net: igmp: Use correct source address on IGMPv3 reports
  net: fec: unmap the xmit buffer that are not transferred by DMA
  ipv6: mcast: better catch silly mtu values
  ipv4: igmp: guard against silly MTU values
  kbuild: add '-fno-stack-check' to kernel build options
  block: don't let passthrough IO go into .make_request_fn()
  block: fix blk_rq_append_bio
  cpufreq: schedutil: Use idle_calls counter of the remote CPU
  ALSA: hda - Fix missing COEF init for ALC225/295/299
  ALSA: hda - fix headset mic detection issue on a Dell machine
  ALSA: hda - change the location for one mic on a Lenovo machine
  ALSA: hda - Add MIC_NO_PRESENCE fixup for 2 HP machines
  ALSA: hda: Drop useless WARN_ON()
  IB/core: Verify that QP is security enabled in create and destroy
  IB/uverbs: Fix command checking as part of ib_uverbs_ex_modify_qp()
  IB/mlx5: Serialize access to the VMA list
  IB/hfi: Only read capability registers if the capability exists
  gpio: fix "gpio-line-names" property retrieval
  ASoC: tlv320aic31xx: Fix GPIO1 register definition
  ASoC: twl4030: fix child-node lookup
  ASoC: fsl_ssi: AC'97 ops need regmap, clock and cleaning up on failure
  ASoC: da7218: fix fix child-node lookup
  ASoC: wm_adsp: Fix validation of firmware and coeff lengths
  ASoC: codecs: msm8916-wcd: Fix supported formats
  iw_cxgb4: Only validate the MSN for successful completions
  ring-buffer: Do no reuse reader page if still in use
  ring-buffer: Mask out the info bits when returning buffer page length
  x86/ldt: Make the LDT mapping RO
  x86/mm/dump_pagetables: Allow dumping current pagetables
  x86/mm/dump_pagetables: Check user space page table for WX pages
  x86/mm/dump_pagetables: Add page table directory to the debugfs VFS hierarchy
  x86/mm/pti: Add Kconfig
  x86/dumpstack: Indicate in Oops whether PTI is configured and enabled
  x86/mm: Clarify the whole ASID/kernel PCID/user PCID naming
  x86/mm: Use INVPCID for __native_flush_tlb_single()
  x86/mm: Optimize RESTORE_CR3
  x86/mm: Use/Fix PCID to optimize user/kernel switches
  x86/mm: Abstract switching CR3
  x86/mm: Allow flushing for future ASID switches
  x86/pti: Map the vsyscall page if needed
  x86/pti: Put the LDT in its own PGD if PTI is on
  x86/mm/64: Make a full PGD-entry size hole in the memory map
  x86/events/intel/ds: Map debug buffers in cpu_entry_area
  x86/cpu_entry_area: Add debugstore entries to cpu_entry_area
  x86/mm/pti: Map ESPFIX into user space
  x86/mm/pti: Share entry text PMD
  x86/entry: Align entry text section to PMD boundary
  x86/mm/pti: Share cpu_entry_area with user space page tables
  x86/mm/pti: Force entry through trampoline when PTI active
  x86/mm/pti: Add functions to clone kernel PMDs
  x86/mm/pti: Populate user PGD
  x86/mm/pti: Allocate a separate user PGD
  x86/mm/pti: Allow NX poison to be set in p4d/pgd
  x86/mm/pti: Add mapping helper functions
  x86/pti: Add the pti= cmdline option and documentation
  x86/mm/pti: Add infrastructure for page table isolation
  x86/mm/pti: Prepare the x86/entry assembly code for entry/exit CR3 switching
  x86/mm/pti: Disable global pages if PAGE_TABLE_ISOLATION=y
  x86/cpufeatures: Add X86_BUG_CPU_INSECURE
  tracing: Fix crash when it fails to alloc ring buffer
  tracing: Fix possible double free on failure of allocating trace buffer
  tracing: Remove extra zeroing out of the ring buffer page

  Conflicts:
	drivers/staging/android/ion/ion.c
	kernel/time/timer.c

Change-Id: Ia5b16c96ab44e640e2f10ab535c4c672b670cbdc
Signed-off-by: Runmin Wang <runminw@codeaurora.org>
2018-01-11 17:52:14 -08:00
Greg Kroah-Hartman
918914133e This is the 4.14.13 stable release
-----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEEZH8oZUiU471FcZm+ONu9yGCSaT4FAlpVz2IACgkQONu9yGCS
 aT5ruQ//e+yZXvviuuvH1GoPEPIBXNLIZRe1wRbkput3B299ECktxXfvquP/a8UK
 NcUM2G4TlrZ6o0qYjvYEpKpXmvXUBIhloNfX5bGTNFa5fAeQ4Zlx06EVBydtfteW
 gYn17aLZrnAPsr0g2A6BvPEtjkZQ4olzbcjQMlgmvCN0C4FH4eldEjC//wr7O00w
 yn+W5pL8b3QSjfuyHyp607BJni26bIZJtZGTmuyzRlfljaTxM1LDjCJNACp3Y8hP
 oR+5cxnlaOr7grtAbdBjAN3oLeH/JxEKP5Ec+4KTolYp/qfoRBaA7AEQhpUKgRuh
 rez1hJ5vGWBim4edARmkc27Fvos91TmKFRe+oH0LU8pA6FbcHQ3cAJGAWSSRfxwS
 5UAPRgXruGGh+jyx+2MK8+UuhRrCBxalmSIoo/EuVEaAdLiZRua1rgO8JegoAAZD
 YAMZnY0aSFcncCOPO1JZEHi07py1LU3JMk6vAh53KVyePaEJXy6JzRPoXJep2a7f
 kRzPzNHYUH3cfR1oOv7Cuf+UEXSc5FvDjlzPXkDVBbK/7qVJaYRmVIz5evXbEXmy
 CQMQfivl5WvT3amPj/PSreWh0khXfENa3VZrTJdTqbq8gytlxwgz7JXSxNSipNUJ
 A2eg13rOVnT9knVfw8Kefozwtc+I56KMJ/F0VuzaJcsIvCs6+Q8=
 =dywX
 -----END PGP SIGNATURE-----

Merge 4.14.13 into android-4.14

Changes in 4.14.13
	x86/mm: Set MODULES_END to 0xffffffffff000000
	x86/mm: Map cpu_entry_area at the same place on 4/5 level
	x86/kaslr: Fix the vaddr_end mess
	x86/events/intel/ds: Use the proper cache flush method for mapping ds buffers
	x86/tlb: Drop the _GPL from the cpu_tlbstate export
	x86/alternatives: Add missing '\n' at end of ALTERNATIVE inline asm
	x86/pti: Rename BUG_CPU_INSECURE to BUG_CPU_MELTDOWN
	kernel/acct.c: fix the acct->needcheck check in check_free_space()
	mm/mprotect: add a cond_resched() inside change_pmd_range()
	mm/sparse.c: wrong allocation for mem_section
	userfaultfd: clear the vma->vm_userfaultfd_ctx if UFFD_EVENT_FORK fails
	btrfs: fix refcount_t usage when deleting btrfs_delayed_nodes
	efi/capsule-loader: Reinstate virtual capsule mapping
	crypto: n2 - cure use after free
	crypto: chacha20poly1305 - validate the digest size
	crypto: pcrypt - fix freeing pcrypt instances
	crypto: chelsio - select CRYPTO_GF128MUL
	drm/i915: Disable DC states around GMBUS on GLK
	drm/i915: Apply Display WA #1183 on skl, kbl, and cfl
	sunxi-rsb: Include OF based modalias in device uevent
	fscache: Fix the default for fscache_maybe_release_page()
	x86 / CPU: Avoid unnecessary IPIs in arch_freq_get_on_cpu()
	x86 / CPU: Always show current CPU frequency in /proc/cpuinfo
	kernel/signal.c: protect the traced SIGNAL_UNKILLABLE tasks from SIGKILL
	kernel/signal.c: protect the SIGNAL_UNKILLABLE tasks from !sig_kernel_only() signals
	kernel/signal.c: remove the no longer needed SIGNAL_UNKILLABLE check in complete_signal()
	iommu/arm-smmu-v3: Don't free page table ops twice
	iommu/arm-smmu-v3: Cope with duplicated Stream IDs
	ARC: uaccess: dont use "l" gcc inline asm constraint modifier
	powerpc/mm: Fix SEGV on mapped region to return SEGV_ACCERR
	Input: elantech - add new icbody type 15
	x86/microcode/AMD: Add support for fam17h microcode loading
	apparmor: fix regression in mount mediation when feature set is pinned
	parisc: Fix alignment of pa_tlb_lock in assembly on 32-bit SMP kernel
	parisc: qemu idle sleep support
	mtd: nand: pxa3xx: Fix READOOB implementation
	KVM: s390: fix cmma migration for multiple memory slots
	KVM: s390: prevent buffer overrun on memory hotplug during migration
	Linux 4.14.13

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2018-01-10 09:41:41 +01:00
Greg Kroah-Hartman
b8447222eb Linux 4.14.13 2018-01-10 09:31:23 +01:00
Runmin Wang
39d3607980 Merge remote-tracking branch 'remotes/origin/tmp-ad490df' into msm-4.14
* remotes/origin/tmp-ad490df:
  ANDROID: binder: Remove obsolete proc waitqueue.
  f2fs: updates on 4.15-rc1
  ANDROID: arch_topology: fix build for !CONFIG_CPU_FREQ
  ANDROID: ARM64: Tweak defconfig Android EAS features
  ANDROID: ARM64: Tweak defconfig for EAS platforms
  ANDROID: DEBUG: accumulate debug output and dump all at the end of energy_diff
  ANDROID: sched/fair: prevent meaningless active migration
  ANDROID: sched/fair: Fall back to slow path wakeup placement if needed
  ANDROID: DEBUG: Temporarily disable lockdep asserting on update_task_ravg
  ANDROID: sched: Introduce Window Assisted Load Tracking (WALT)
  ANDROID: Add find_best_target to minimise energy calculation overhead
  ANDROID: Combined EAS Load Balance Tweaks
  ANDROID: sched/fair: re-factor energy_diff to use a single (extensible) energy_env
  ANDROID: sched/fair: consider task utilization in group_norm/max_util()
  ANDROID: refactor select_task_rq_fair et al to be cleaner
  ANDROID: sched: fair: Bypass energy-aware wakeup for prefer-idle tasks
  ANDROID: sched: Move energy-aware decision into a helper function
  ANDROID: sched/fair: Try to estimate possible idle states.
  ANDROID: trace/sched: Add tracepoint for sched_overutilized events
  ANDROID: sched: fair/tune: Add schedtune with cgroups interface
  ANDROID: sched: EAS: take cstate into account when selecting idle core
  ANDROID: sched: Unconditionally honor sync flag for energy-aware wakeups
  ANDROID: sched: Add KConfig option to set ENERGY_AWARE sched feature on
  ANDROID: cpufreq: schedutil: add up/down frequency transition rate limits
  ANDROID: sched: Add per-cpu max capacity to sched_group_capacity
  ANDROID: sched: cpufreq: use PELT rt_rq as estimate of required RT CPU capacity
  ANDROID: trace/sched: add tracepoint for rt_rq PELT signal
  FROMLIST: sched/rt: add utilization tracking
  FROMLIST: sched/fair: Use wake_q length as a hint for wake_wide
  FROMLIST: sched/fair: Update blocked load from newly idle balance
  FROMLIST: sched: force update of blocked load of idle cpus
  UPSTREAM: sched/fair: Sync task util before slow-path wakeup
  UPSTREAM: sched/fair: Fix usage of find_idlest_group() when the local group is idlest
  UPSTREAM: sched/fair: Fix usage of find_idlest_group() when no groups are allowed
  UPSTREAM: sched/fair: Fix find_idlest_group() when local group is not allowed
  UPSTREAM: sched/fair: Remove unnecessary comparison with -1
  UPSTREAM: sched/fair: Move select_task_rq_fair() slow-path into its own function
  UPSTREAM: sched/fair: Force balancing on NOHZ balance if local group has capacity
  ANDROID: sched/events: Introduce task_group load tracking trace event
  ANDROID: sched/events: Introduce sched_entity load tracking trace event
  ANDROID: sched/events: Introduce cfs_rq load tracking trace event
  ANDROID: sched/autogroup: Define autogroup_path() for !CONFIG_SCHED_DEBUG
  ANDROID: sched/debug: Add energy procfs interface
  ANDROID: arm: Support for extracting EAS energy costs from DT
  ANDROID: arm64: Support for extracting EAS energy costs from DT
  ANDROID: arm: Add Energy Model to dtb for TC2
  ANDROID: hisilicon: Add energy model data to hisilicon 6220 dtb
  ANDROID: arm64: Add Energy Model to dtb for Juno-r0 and Juno-r2
  ANDROID: Documentation: DT bindings for energy model cost data required by EAS
  ANDROID: arm64, dts: add hikey cpu capacity-dmips-mhz information
  ANDROID: drivers base/arch_topology: Detect SD_SHARE_CAP_STATES flag
  ANDROID: drivers base/arch_topology: enforce SCHED_CAPACITY_SCALE as highest CPU capacity
  ANDROID: drivers base/arch_topology: fold two pr_debug()'s into one
  ANDROID: sched: Per-Sched-domain over utilization
  ANDROID: sched: Disable energy-unfriendly nohz kicks
  ANDROID: sched: Consider a not over-utilized energy-aware system as balanced
  ANDROID: sched/fair: Energy-aware wake-up task placement
  ANDROID: sched: Add over-utilization/tipping point indicator
  ANDROID: sched/fair: Add energy_diff dead-zone margin
  ANDROID: sched: Determine the current sched_group idle-state
  ANDROID: sched, cpuidle: Track cpuidle state index in the scheduler
  ANDROID: sched: Estimate energy impact of scheduling decisions
  ANDROID: sched: Extend sched_group_energy to test load-balancing decisions
  ANDROID: initramfs: call free_initrd() when skipping init
  FROMLIST: net: xfrm: allow clearing socket xfrm policies.
  FROMLIST: binder: fix proc->files use-after-free
  UPSTREAM: arm64: vdso: fix clock_getres for 4GiB-aligned res
  UPSTREAM: security: bpf: replace include of linux/bpf.h with forward declarations
  BACKPORT: selinux: bpf: Add addtional check for bpf object file receive
  UPSTREAM: selinux: bpf: Add selinux check for eBPF syscall operations
  BACKPORT: security: bpf: Add LSM hooks for bpf object related syscall
  BACKPORT: bpf: Add file mode configuration into bpf maps
  UPSTREAM: arm64: Avoid aligning normal memory pointers in __memcpy_{to,from}io
  UPSTREAM: android: binder: Change binder_shrinker to static
  UPSTREAM: f2fs: expose some sectors to user in inline data or dentry case
  UPSTREAM: tracing: Add support for preempt and irq enable/disable events
  UPSTREAM: tracing: Prepare to add preempt and irq trace events
  BACKPORT: android: binder: Remove unused vma argument
  ANDROID: Revert "arm64: move ELF_ET_DYN_BASE to 4GB / 4MB"
  ANDROID: Revert "arm: move ELF_ET_DYN_BASE to 4MB"
  ANDROID: memory_state_time: fix undefined behavior with missing DT properties
  ANDROID: memory_state_time: Implement memory_state_time, used by qcom,cpubw
  ANDROID: uid_sys_stats: log task io with a debug flag
  ANDROID: uid_sys_stats: check previous uid_entry before call find_or_register_uid
  ANDROID: uid_sys_stats: Kconfig: add depends for UID_SYS_STATS
  ANDROID: uid_sys_stats: defer io stats calulation for dead tasks
  ANDROID: uid_sys_stats: fix access of task_uid(task)
  ANDROID: uid_sys_stats: reduce update_io_stats overhead
  ANDROID: uid_sys_stats: change to use rt_mutex
  ANDROID: uid_sys_stats: account for fsync syscalls
  ANDROID: uid_sys_stats: fix negative write bytes.
  ANDROID: uid_sys_stats: allow writing same state
  ANDROID: uid_sys_stats: rename uid_cputime.c to uid_sys_stats.c
  ANDROID: uid_cputime: add per-uid IO usage accounting
  ANDROID: uid_cputime: Check for the range while removing range of UIDs.
  ANDROID: uid_cputime: Iterates over all the threads instead of processes.
  ANDROID: uid_cputime: fix cputime overflow
  ANDROID: uid_cputime: Adds accounting for the cputimes per uid.
  CHROMIUM: usb: gadget: f_accessory: add .raw_request callback
  CHROMIUM: usb: gadget: f_audio_source: add .free_func callback
  ANDROID: usb: gadget: f_midi: set fi->f to NULL when free f_midi function
  ANDROID: usb: gadget: f_midi: create F_midi device
  ANDROID: usb: gadget: f_accessory: assign no-op request complete callbacks
  ANDROID: usb: gadget: f_accessory: Fix for UsbAccessory clean unbind.
  ANDROID: usb: gadget: f_accessory: fix false disconnect due to a signal sent to the reading process
  ANDROID: usb: gadget: f_accessory: Move gadget functions code
  ANDROID: usb: gadget: f_accessory: Migrate to USB_FUNCTION API
  ANDROID: usb: gadget: f_audio_source: disable the CPU C-states upon playback
  ANDROID: usb: gadget: f_audio_source: Move gadget functions code
  ANDROID: usb: gadget: f_audio_source: Move to USB_FUNCTION API
  ANDROID: usb: gadget: composite: Do not disconnect unregistered dev
  ANDROID: usb: gadget: configfs: fix null ptr in android_disconnect
  ANDROID: usb: gadget: configfs: Add device attribute to determine gadget state
  ANDROID: usb: gadget: configfs: Add "state" attribute to android_device
  ANDROID: usb: gadget: configfs: Add function devices to the parent
  ANDROID: usb: gadget: configfs: Add Uevent to notify userspace
  ANDROID: usb: gadget: configfs: Add usb_function ptr to fi struct
  ANDROID: usb: gadget: f_audio_source: Fixed USB Audio Class Interface Descriptor
  ANDROID: usb: gadget: f_audio_source: change max ISO packet size
  ANDROID: usb: gadget: f_audio_source: New gadget driver for audio output
  ANDROID: usb: gadget: f_accessory: check for accessory device before disconnecting HIDs
  ANDROID: usb: gadget: f_accessory: Enabled Zero Length Packet (ZLP) for acc_write
  ANDROID: usb: gadget: f_accessory: move userspace interface to uapi
  ANDROID: usb: gadget: f_accessory: Add support for HID input devices
  ANDROID: usb: gadget: f_accessory: Add ACCESSORY_SET_AUDIO_MODE control request and ioctl
  ANDROID: usb: gadget: f_accessory: Add Android Accessory function
  ANDROID: usb: phy: Dual role sysfs class definition
  ANDROID: usb: otg-wakelock: Remove wakelock.h dependencies
  ANDROID: usb: otg-wakelock: Temporarily grab wakelock on charger and disconnect events
  ANDROID: usb: otg-wakelock: Take wakelock when VBUS present
  ANDROID: trace: net: use %pK for kernel pointers
  ANDROID: trace: power: add trace_clock_set_parent
  ANDROID: trace: cpufreq: Add tracing for min/max cpufreq
  ANDROID: trace: gpu: add gpu trace events
  ANDROID: trace: sched: add sched blocked tracepoint which dumps out context of sleep.
  ANDROID: trace: add non-hierarchical function_graph option
  ANDROID: security,perf: Allow further restriction of perf_event_open
  ANDROID: rtc-palmas: correct for bcd year
  ANDROID: power: wakeup: align wakeup_sources format
  ANDROID: power: wakeup: Add the guard condition for len in pm_get_active_wakeup_sources
  ANDROID: power: wakeup: Add last wake up source logging for suspend abort reason.
  ANDROID: power: wakeup_reason: fix suspend time reporting
  ANDROID: power: wakeup_reason: Report suspend times from last_suspend_time
  ANDROID: power: wakeup_reason: Add check_wakeup_reason() to verify wakeup source irq
  ANDROID: power: wakeup_reason: Adds functionality to log the last suspend abort reason.
  ANDROID: power: wakeup_reason: Avoids bogus error messages for the suspend aborts.
  ANDROID: power: wakeup_reason: Add guard condition for maximum wakeup reasons
  ANDROID: power: wakeup_reason: add an API to log wakeup reasons
  ANDROID: power: power_supply: Add property CHARGE_COUNTER_EXT and 64-bit precision properties
  ANDROID: power: power_supply: add POWER_SUPPLY_PROP_CHARGE_ENABLED
  ANDROID: power: power_supply: add POWER_SUPPLY_PROP_USB_OTG
  ANDROID: power: power_supply: Add custom property for USB High Current mode
  ANDROID: arm64: copy CONFIG_CMDLINE_EXTEND from ARM
  ANDROID: of: Support CONFIG_CMDLINE_EXTEND config option
  ANDROID: NFC: st21nfca: Fix memory OOB and leak issues in connectivity events handler
  ANDROID: NFC: Fix possible memory corruption when handling SHDLC I-Frame commands
  ANDROID: nfc: fdp: Fix possible buffer overflow in WCS4000 NFC driver
  ANDROID: NFC: st21nfca: Fix out of bounds kernel access when handling ATR_REQ
  ANDROID: netfilter: xt_IDLETIMER: Use fullsock when querying uid
  ANDROID: netfilter: xt_IDLETIMER: Fix use after free condition during work
  ANDROID: netfilter: xt_IDLETIMER: Adds the uid field in the msg
  ANDROID: netfilter: xt_IDLETIMER: time-stamp and suspend/resume handling.
  ANDROID: netfilter: xt_IDLETIMER: Add new netlink msg type
  ANDROID: netfilter: xt_qtaguid: Use sk_uid to replace uid get from socket file
  ANDROID: netfilter: xt_qtaguid: fix handling for cases where tunnels are used.
  ANDROID: netfilter: xt_qtaguid: handle properly request sockets
  ANDROID: netfilter: xt_qtaguid: Add untag hacks to inet_release function
  ANDROID: netfilter: xt_qtaguid: don't check if embedded arrays are NULL
  ANDROID: netfilter: xt_qtaguid: fix the deadlock when enable DDEBUG
  ANDROID: netfilter: xt_qtaguid: Don't show empty tag stats for unprivileged uids
  ANDROID: netfilter: xt_qtaguid: Fix panic caused by processing non-full socket.
  ANDROID: netfilter: xt_qtaguid: Fix panic caused by synack processing
  ANDROID: netfilter: xt_qtaguid: fix a race condition in if_tag_stat_update
  ANDROID: netfilter: xt_qtaguid: xt_socket: build fixes
  ANDROID: netfilter: xt_socket/nf_socket: fix refcount underflow and crash
  ANDROID: netfilter: xt_qtaguid: Use sk_callback_lock read locks before reading sk->sk_socket
  ANDROID: netfilter: xt_qtaguid/xt_socket: Build fixups
  ANDROID: netfilter: xt_qtaguid: Fix boot panic
  ANDROID: netfilter: xt_qtaguid: fix bad tcp_time_wait sock handling
  ANDROID: netfilter: xt_qtaguid: 3.10 fixes
  ANDROID: netfilter: xt_qtaguid: rate limit some of the printks
  ANDROID: netfilter: xt_qtaguid: Allow tracking loopback
  ANDROID: netfilter: xt_qtaguid: extend iface stat to report protocols
  ANDROID: netfilter: xt_qtaguid: remove AID_* dependency for access control
  ANDROID: netfilter: xt_qtaguid: Don't BUG_ON if create_if_tag_stat fails
  ANDROID: netfilter: xt_qtaguid: fix error exit that would keep a spinlock.
  ANDROID: netfilter: xt_qtaguid: report only uid tags to non-privileged processes
  ANDROID: netfilter: xt_qtaguid: start tracking iface rx/tx at low level
  ANDROID: netfilter: xt_qtaguid: fix ipv6 protocol lookup
  ANDROID: netfilter: xt_qtaguid: add qtaguid matching module
  ANDROID: netfilter: xt_quota2: fixup the quota2, and enable.
  ANDROID: netfilter: xt_quota2: adding the original quota2 from xtables-addons
  ANDROID: net: xfrm: check dir value of xfrm_userpolicy_id
  ANDROID: net: xfrm: make PF_KEY SHA256 use RFC-compliant truncation.
  ANDROID: net: wireless: wlcore: Disable filtering in AP role
  ANDROID: net: wireless: Decrease scan entry expiration to avoid stall results
  ANDROID: net: rfkill: Introduce CONFIG_RFKILL_PM and use instead of CONFIG_PM to power down
  ANDROID: net: ipv6: autoconf routes into per-device tables
  ANDROID: net: ipv6: fix crash caused by ipv6_find_hdr()
  ANDROID: net: ipv4: tcp: add a sysctl to config the tcp_default_init_rwnd
  ANDROID: net: ipv4: sysfs_net_ipv4: Add sysfs-based knobs for controlling TCP window size
  ANDROID: net: ip-sysctl: Document tcp_fwmark_accept
  ANDROID: net: paranoid: commoncap: Begin to warn users of implicit PARANOID_NETWORK capability grants
  ANDROID: net: paranoid: security: Add proper checks for Android specific capability checks
  ANDROID: net: paranoid: Only NET_ADMIN is allowed to fully control TUN interfaces.
  ANDROID: net: paranoid: Replace AID_NET_RAW checks with capable(CAP_NET_RAW).
  ANDROID: net: paranoid: security: Add AID_NET_RAW and AID_NET_ADMIN capability check in cap_capable().
  ANDROID: net: Paranoid network.
  ANDROID: mmc: core: export emmc revision
  ANDROID: mmc: core: move to a SCHED_FIFO thread
  ANDROID: mmc: core: Add "ignore mmc pm notify" functionality
  ANDROID: mmc: sdio: Add concept of an 'embedded' SDIO device.
  ANDROID: mmc: sd: Add retries in re-detection
  ANDROID: mmc: sd: When resuming, try a little harder to init the card
  ANDROID: mmc: sd: Add new CONFIG_MMC_PARANOID_SD_INIT for enabling retries during SD detection
  ANDROID: mm: add a field to store names for private anonymous memory
  ANDROID: HACK: arm64: use -mno-implicit-float instead of -mgeneral-regs-only
  ANDROID: Kbuild, LLVMLinux: allow overriding clang target triple
  CHROMIUM: arm64: Disable asm-operand-width warning for clang
  CHROMIUM: kbuild: clang: Disable the 'duplicate-decl-specifier' warning
  ANDROID: kbuild: Makefile.clean: make Kbuild and Makefile optional
  ANDROID: kbuild: make it possible to specify the module output dir
  ANDROID: input: goldfish_events: no extra EV_SYN; register goldfish
  ANDROID: input: keychord: Fix for a memory leak in keychord.
  ANDROID: input: keychord: Fix races in keychord_write.
  ANDROID: input: keychord: Fix a slab out-of-bounds read.
  ANDROID: input: keychord: log when keychord triggered
  ANDROID: input: keyreset: switch to orderly_reboot
  ANDROID: input: keyreset: Made keyreset more robust
  ANDROID: input: keyreset: Changed keyreset to act as a wrapper for keycombo.
  ANDROID: input: keycombo: add keycombo, a general key combo driver.
  ANDROID: input: keychord: Add keychord driver
  ANDROID: input: keyreset: Add keyreset driver.
  ANDROID: input: gpio_matrix: Remove wakelock.h dependencies
  ANDROID: input: gpio_input: convert from wakelocks to wakeup sources
  ANDROID: input: gpio_event: remove early suspend
  ANDROID: input: Generic GPIO Input devices
  ANDROID: initramfs: Add skip_initramfs command line option
  ANDROID: build: add build server configs for goldfish
  ANDROID: goldfish: add ranchu defconfigs
  ANDROID: goldfish_sync_timeline: Rename fence to dma_fence
  ANDROID: goldfish_sync: 32 max cmds to save stack
  ANDROID: goldfish_sync: Fix sync_file_obj is NULL but dereferenced problem
  ANDROID: goldfish_sync: Isolate single module to fix compilation
  ANDROID: goldfish_sync: upgrade to new fence sync api
  ANDROID: goldfish_sync: Add goldfish sync driver
  ANDROID: goldfish_audio: Clear audio read buffer status after each read
  ANDROID: goldfish_audio: Enable ACPI-based enumeration for goldfish audio
  ANDROID: goldfishfb: Set pixclock = 0
  ANDROID: goldfishfb: Enable ACPI-based enumeration for goldfish framebuffer
  ANDROID: goldfishfb: add devicetree bindings
  ANDROID: fs: Fix for in kernel emergency remount when loop mounts are used
  ANDROID: fs: Refactor FS readpage/write tracepoints.
  ANDROID: fs: FS tracepoints to track IO.
  ANDROID: fs: sched: add a counter to track fsync
  ANDROID: fs: epoll: use freezable blocking call
  ANDROID: fs: ext4: Add support for FIDTRIM, a best-effort ioctl for deep discard trim
  ANDROID: fs: fuse: Freeze client on suspend when request sent to userspace
  ANDROID: fs: pstore: ram: Add ramoops_console_write_buf api
  ANDROID: fs: block_dump: Don't display inode changes if block_dump < 2
  ANDROID: dm: verity: add minimum prefetch size
  ANDROID: dm: android-verity: mark dev as rw for linear target
  ANDROID: dm: android-verity: allow disable dm-verity for Treble VTS
  ANDROID: dm: android-verity: fix table_make_digest() error handling
  ANDROID: dm: android-verity: rebase for 4.9
  ANDROID: dm: android-verity: Remove fec_header location constraint
  ANDROID: dm: android-verity: adopt changes made to dm callbacks
  ANDROID: dm: android-verity: pack the fec_header structure
  ANDROID: dm: android-verity: Verify header before fetching table
  ANDROID: dm: android-verity: allow adb disable-verity only in userdebug
  ANDROID: dm: android-verity: mount as linear target if eng build
  ANDROID: dm: android-verity: use default verity public key
  ANDROID: dm: android-verity: fix signature verification flag
  ANDROID: dm: android-verity: use name_to_dev_t
  ANDROID: dm: android-verity: Mounting root as linear device when verity disabled
  ANDROID: dm: android-verity: Add android verity target
  ANDROID: dm: do_mounts_dm: Update init/do_mounts_dm.c to the latest ChromiumOS version.
  ANDROID: dm: do_mounts_dm: fix dm_substitute_devices()
  ANDROID: dm: do_mounts_dm: Rebase on top of 4.9
  CHROMIUM: dm: boot time specification of dm=
  ANDROID: dm: verity-fec: add sysfs attribute fec/corrected
  CHROMIUM: dma-buf: dma-fence: fix warning when releasing active sync point
  CHROMIUM: cgroups: relax permissions on moving tasks between cgroups
  ANDROID: cpuset: Make cpusets restore on hotplug
  ANDROID: cpu: send KOBJ_ONLINE event when enabling cpus
  ANDROID: cpuidle: governor: menu: don't use loadavg
  ANDROID: binder: clarify deferred thread work.
  ANDROID: binder: show high watermark of alloc->pages.
  ANDROID: binder: Add thread->process_todo flag.
  ANDROID: binder: fix node sched policy calculation
  ANDROID: binder: init desired_prio.sched_policy before use it
  ANDROID: binder: fix transaction leak.
  ANDROID: binder: Add tracing for binder priority inheritance.
  ANDROID: binder: don't check prio permissions on restore.
  ANDROID: binder: add RT inheritance flag to node.
  ANDROID: binder: improve priority inheritance.
  ANDROID: binder: add min sched_policy to node.
  ANDROID: binder: add support for RT prio inheritance.
  ANDROID: ashmem: Shrink directly through shmem_fallocate
  ANDROID: ashmem: Add shmem_set_file to mm/shmem.c
  ANDROID: fiq_debugger: Remove wakelock.h dependencies
  ANDROID: fiq_debugger: Add fiq_debugger.disable option
  ANDROID: fiq_debugger: Add option to apply uart overlay by FIQ_DEBUGGER_UART_OVERLAY
  ANDROID: fiq_debugger: Add fiq_watchdog_triggered api
  ANDROID: fiq_debugger: Call fiq_debugger_printf through a function pointer from cpu specific code
  ANDROID: fiq_debugger: add ARM64 support
  ANDROID: fiq_debugger: split arm support into fiq_debugger_arm.c
  ANDROID: fiq_debugger: use pt_regs for registers
  ANDROID: fiq_debugger: allow compiling without CONFIG_FIQ_GLUE
  ANDROID: fiq_debugger: rename debug->fiq_debugger
  ANDROID: fiq_debugger: move into drivers/staging/android/fiq_debugger/
  ANDROID: kdb: support new lines without carriage returns
  ANDROID: ARM: fiq_debugger: Update tty code for 3.9
  ANDROID: ARM: fiq_debugger: lock between tty and console writes
  ANDROID: ARM: fiq_debugger: add process context reboot command
  ANDROID: ARM: fiq_debugger: fix multiple consoles and make it a preferred console
  ANDROID: ARM: kgdb: ignore breakpoint instructions from user mode
  ANDROID: ARM: fiq_debugger: add support for kgdb
  ANDROID: ARM: fiq_debugger: add debug_putc
  ANDROID: ARM: fiq_debugger: add support for reboot commands
  ANDROID: ARM: fiq_debugger: Add generic fiq serial debugger
  ANDROID: ARM: fiq_glue: Add custom fiq return handler api.
  ANDROID: ARM: fiq_glue: Add fiq_glue
  ANDROID: arm64: pass return address to dma_common_contiguous_remap
  ANDROID: arm64: check for upper PAGE_SHIFT bits in pfn_valid()
  ANDROID: arm: mm: Optionally flush entire dcache from v6_dma_flush_range
  ANDROID: arm: decompressor: Flush tlb before swiching domain 0 to client mode
  ANDROID: arm: fault: assume no context when IRQs are disabled during data abort.
  ANDROID: arm: add option to flush console before reboot
  ANDROID: arm64: process: dump memory around registers when displaying regs
  ANDROID: arm: process: Add display of memory around registers when displaying regs.
  ANDROID: arm64: Allow to choose appended kernel image
  ANDROID: arm64: add option to build Image-dtb
  ANDROID: arm64: add option to build Image.gz/dtb combo
  ANDROID: arm: convert build of appended dtb zImage to list of dtbs
  ANDROID: arm: add config option to build zImage/dtb combo
  ANDROID: arm: Fix dtb list when DTB_IMAGE_NAMES is empty
  ANDROID: arch: force -fno-pic
  ANDROID: add script to fetch android kernel config fragments
  ANDROID: sched: Calculate energy consumption of sched_group
  ANDROID: sched: Highest energy aware balancing sched_domain level pointer
  ANDROID: sched: Relocated cpu_util() and change return type
  ANDROID: sched: EAS & 'single cpu per cluster'/cpu hotplug interoperability
  ANDROID: sched: Introduce SD_SHARE_CAP_STATES sched_domain flag
  ANDROID: sched: Initialize energy data structures
  ANDROID: sched: Introduce energy data structures
  ANDROID: sched: Make energy awareness a sched feature
  ANDROID: sched: Documentation for scheduler energy cost model
  ANDROID: arm64: Enable dynamic sched_domain flag setting
  ANDROID: arm: Enable dynamic sched_domain flag setting
  ANDROID: drivers/base/arch_topology: Dynamic sched_domain flag detection
  ANDROID: sched/fair: Avoid unnecessary balancing of asymmetric capacity groups
  ANDROID: sched: Consider misfit tasks when load-balancing
  ANDROID: sched: Add group_misfit_task load-balance type
  ANDROID: arm64: wire cpu-invariant accounting support up to the task scheduler
  ANDROID: arm64: wire frequency-invariant accounting support up to the task scheduler
  ANDROID: arm: wire cpu-invariant accounting support up to the task scheduler
  ANDROID: arm: wire frequency-invariant accounting support up to the task scheduler
  ANDROID: drivers base/arch_topology: allow inlining cpu-invariant accounting support
  ANDROID: drivers base/arch_topology: provide frequency-invariant accounting support
  ANDROID: cpufreq: dt: invoke frequency-invariance setter function
  ANDROID: cpufreq: arm_big_little: invoke frequency-invariance setter function
  ANDROID: cpufreq: provide default frequency-invariance setter function
  ANDROID: drivers base/arch_topology: free cpumask cpus_to_visit
  ANDROID: sched: Enable idle balance to pull single task towards cpu with higher capacity
  ANDROID: sched: Prevent unnecessary active balance of single task in sched group

  Conflicts:
	Documentation/admin-guide/kernel-parameters.txt
	Makefile
	arch/arm/configs/ranchu_defconfig
	arch/arm64/Kconfig
	arch/arm64/Makefile
	arch/arm64/boot/Makefile
	arch/arm64/configs/ranchu64_defconfig
	arch/arm64/kernel/io.c
	arch/arm64/kernel/process.c
	arch/arm64/mm/dma-mapping.c
	arch/x86/configs/i386_ranchu_defconfig
	arch/x86/configs/x86_64_ranchu_defconfig
	drivers/android/binder.c
	drivers/dma-buf/sw_sync.c
	drivers/md/Kconfig
	drivers/md/dm-android-verity.c
	drivers/md/dm-android-verity.h
	drivers/md/dm-linear.c
	drivers/mmc/core/Kconfig
	drivers/mmc/core/mmc.c
	drivers/power/supply/power_supply_sysfs.c
	drivers/staging/android/fiq_debugger/fiq_debugger.c
	drivers/staging/android/fiq_debugger/fiq_debugger_arm64.c
	drivers/usb/gadget/Kconfig
	drivers/usb/gadget/function/Makefile
	include/linux/power_supply.h
	init/initramfs.c
	kernel/power/suspend.c
	kernel/sched/sched.h
	net/netfilter/xt_qtaguid.c
	arch/arm/kernel/topology.c
	arch/arm64/boot/dts/hisilicon/hi6220.dtsi
	arch/arm64/kernel/topology.c
	drivers/base/arch_topology.c
	kernel/sched/fair.c
	kernel/sched/features.h
	kernel/sched/sched.h
	kernel/sched/topology.c

Change-Id: Ib242448f01dae40bff6a4da72aa4619c44663e76
Signed-off-by: Runmin Wang <runminw@codeaurora.org>
2018-01-09 15:41:23 -08:00
Greg Kroah-Hartman
81e7d45894 This is the 4.14.12 stable release
-----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEEZH8oZUiU471FcZm+ONu9yGCSaT4FAlpPkFsACgkQONu9yGCS
 aT69nQ/9Hiz0+pNIaYXVqFIJdY0mDIsbzInW5me5/8o4iZVFSicRuT4Jh6jA4jPx
 jUBhdRPiscCJ0+K/k+NjPPFVibdBKkp/l6J6yv5ufpVuQdzGrVV+l99qFCdAkxU4
 mfpa9VzXD72l//NQNeg+Ik6cR6wKpQJBQnWHy/gSMdaaqRsRbVs1O6DMUixZHXLh
 jA7omw1OU/B4/EDwQHpZo4pdVcfVonRtvYmxh5e3eTYgZUX87bjBrWOepBDApGnZ
 GEXUWGniKyrLyrtz6LP3RyavkwpNDdEcWn5nmymUC/7mhJKF9T0AJ+gx0lMXGwfF
 Bf5sgF3Mxob1mQhLdtX4Gon2FvjK6DTVNydEPEmst2APHQfcxqihkQNyfCKmFKT3
 ZDkESf4vET2hL5tM1i/fBV6iZfZwA13EcfeefkWrA2elKYUx/XIRrtJf8BRKE7R8
 S64PfK7PR33ceaLITPPUUaGtfhwxLS+zgHoVT+PY5zErAmiFVTAgjE5qB7BtHSxv
 +Q0esOP9HBxLO1Vjfos9k63weIJ1Ye60+AUzfb8yo5dHFMaY05SwXqUGG/PoMLP+
 DCXggTTpEoeNUC0CY7C22NjISgMS6AcA05CN5kKrkTz3tBVhgkLUGIxXY/8gXkim
 FUkIKHFP6ecif1q7VcC581gk47Y4ZMFFwPCjc/W/EyBfAdEdDcc=
 =Y7Wx
 -----END PGP SIGNATURE-----

Merge 4.14.12 into android-4.14

Changes in 4.14.12
	exec: Weaken dumpability for secureexec
	capabilities: fix buffer overread on very short xattr
	x86/cpu, x86/pti: Do not enable PTI on AMD processors
	x86/pti: Make sure the user/kernel PTEs match
	x86/dumpstack: Fix partial register dumps
	x86/dumpstack: Print registers for first stack frame
	x86/pti: Switch to kernel CR3 at early in entry_SYSCALL_compat()
	x86/process: Define cpu_tss_rw in same section as declaration
	Revert "xfrm: Fix stack-out-of-bounds read in xfrm_state_find."
	rtc: m41t80: m41t80_sqw_set_rate should return 0 on success
	rtc: m41t80: fix m41t80_sqw_round_rate return value
	rtc: m41t80: avoid i2c read in m41t80_sqw_recalc_rate
	rtc: m41t80: avoid i2c read in m41t80_sqw_is_prepared
	rtc: m41t80: remove unneeded checks from m41t80_sqw_set_rate
	Linux 4.14.12

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2018-01-05 22:25:51 +01:00
Greg Kroah-Hartman
8d577afdee Linux 4.14.12 2018-01-05 15:48:59 +01:00
Greg Kroah-Hartman
51caa5cc80 This is the 4.14.11 stable release
-----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEEZH8oZUiU471FcZm+ONu9yGCSaT4FAlpL3gcACgkQONu9yGCS
 aT5Mtg//ZLHXxfOvt7JDOBw1iWR/ysgrS/8p2ora3zjGUCtsYSkGqRmRrAj9CiFD
 ihbb8pGvdDu4JzOVJxIbT6hLBcK93RqeYVlK4qm5G3ja4ddik3Y9Ue0JkjqWbBDD
 4BNGdixwlOEA5EhCBsZTESFDReox9sg4eUcw5X2bDKoo3in3ZSWVtzmGw6lqgSj3
 c7HkScjc2aqp8rs1hKwkwfjfhF3uT7qqOmcNopoTJmwyoritC8bcRtAukqKP+eQR
 vXp15vApC0IpBwU7iChAAl165looT9PjRMvPOwkORkBnWf7H1Y2weOk2hE4LF1yy
 2zdM3b1qqEsjpKi1N8Pin70RyNxjTr8OOhEBdIwl/FrJ02lKsCxKXig0UsFL0Skj
 lfQWyyg5qkkK4TK/F36f6RrqatN74O3nuPGcRG+vldHcP/sangKF09/+a3pDW0oZ
 Kvi7HLSscZsuSD1VMIzf/+9PgrR5gSmlpe8G/3SHsShxfO2P21WUkOX1nmpciAd2
 VFm6BvPmmW6Rm/GKkf1vl/a/X9HtrQeCkmsYVlSxGLJ6smnoXLzkNHcqb8Jhnoh8
 xKgdrUXqp0Om10hLty2dNzwoaSOKo93eq2fxlftT5lKazxBYAVUZg4tW5LppYZeK
 kKBTycrFxxt9UFJ8NP9zMPIsleuOeItWzMnNExncVHlxdu+fjbQ=
 =EJtN
 -----END PGP SIGNATURE-----

Merge 4.14.11 into android-4.14

Changes in 4.14.11
	tracing: Remove extra zeroing out of the ring buffer page
	tracing: Fix possible double free on failure of allocating trace buffer
	tracing: Fix crash when it fails to alloc ring buffer
	x86/cpufeatures: Add X86_BUG_CPU_INSECURE
	x86/mm/pti: Disable global pages if PAGE_TABLE_ISOLATION=y
	x86/mm/pti: Prepare the x86/entry assembly code for entry/exit CR3 switching
	x86/mm/pti: Add infrastructure for page table isolation
	x86/pti: Add the pti= cmdline option and documentation
	x86/mm/pti: Add mapping helper functions
	x86/mm/pti: Allow NX poison to be set in p4d/pgd
	x86/mm/pti: Allocate a separate user PGD
	x86/mm/pti: Populate user PGD
	x86/mm/pti: Add functions to clone kernel PMDs
	x86/mm/pti: Force entry through trampoline when PTI active
	x86/mm/pti: Share cpu_entry_area with user space page tables
	x86/entry: Align entry text section to PMD boundary
	x86/mm/pti: Share entry text PMD
	x86/mm/pti: Map ESPFIX into user space
	x86/cpu_entry_area: Add debugstore entries to cpu_entry_area
	x86/events/intel/ds: Map debug buffers in cpu_entry_area
	x86/mm/64: Make a full PGD-entry size hole in the memory map
	x86/pti: Put the LDT in its own PGD if PTI is on
	x86/pti: Map the vsyscall page if needed
	x86/mm: Allow flushing for future ASID switches
	x86/mm: Abstract switching CR3
	x86/mm: Use/Fix PCID to optimize user/kernel switches
	x86/mm: Optimize RESTORE_CR3
	x86/mm: Use INVPCID for __native_flush_tlb_single()
	x86/mm: Clarify the whole ASID/kernel PCID/user PCID naming
	x86/dumpstack: Indicate in Oops whether PTI is configured and enabled
	x86/mm/pti: Add Kconfig
	x86/mm/dump_pagetables: Add page table directory to the debugfs VFS hierarchy
	x86/mm/dump_pagetables: Check user space page table for WX pages
	x86/mm/dump_pagetables: Allow dumping current pagetables
	x86/ldt: Make the LDT mapping RO
	ring-buffer: Mask out the info bits when returning buffer page length
	ring-buffer: Do no reuse reader page if still in use
	iw_cxgb4: Only validate the MSN for successful completions
	ASoC: codecs: msm8916-wcd: Fix supported formats
	ASoC: wm_adsp: Fix validation of firmware and coeff lengths
	ASoC: da7218: fix fix child-node lookup
	ASoC: fsl_ssi: AC'97 ops need regmap, clock and cleaning up on failure
	ASoC: twl4030: fix child-node lookup
	ASoC: tlv320aic31xx: Fix GPIO1 register definition
	gpio: fix "gpio-line-names" property retrieval
	IB/hfi: Only read capability registers if the capability exists
	IB/mlx5: Serialize access to the VMA list
	IB/uverbs: Fix command checking as part of ib_uverbs_ex_modify_qp()
	IB/core: Verify that QP is security enabled in create and destroy
	ALSA: hda: Drop useless WARN_ON()
	ALSA: hda - Add MIC_NO_PRESENCE fixup for 2 HP machines
	ALSA: hda - change the location for one mic on a Lenovo machine
	ALSA: hda - fix headset mic detection issue on a Dell machine
	ALSA: hda - Fix missing COEF init for ALC225/295/299
	cpufreq: schedutil: Use idle_calls counter of the remote CPU
	block: fix blk_rq_append_bio
	block: don't let passthrough IO go into .make_request_fn()
	kbuild: add '-fno-stack-check' to kernel build options
	ipv4: igmp: guard against silly MTU values
	ipv6: mcast: better catch silly mtu values
	net: fec: unmap the xmit buffer that are not transferred by DMA
	net: igmp: Use correct source address on IGMPv3 reports
	netlink: Add netns check on taps
	net: qmi_wwan: add Sierra EM7565 1199:9091
	net: reevalulate autoflowlabel setting after sysctl setting
	ptr_ring: add barriers
	RDS: Check cmsg_len before dereferencing CMSG_DATA
	tcp_bbr: record "full bw reached" decision in new full_bw_reached bit
	tcp md5sig: Use skb's saddr when replying to an incoming segment
	tg3: Fix rx hang on MTU change with 5717/5719
	tcp_bbr: reset full pipe detection on loss recovery undo
	tcp_bbr: reset long-term bandwidth sampling on loss recovery undo
	s390/qeth: apply takeover changes when mode is toggled
	s390/qeth: don't apply takeover changes to RXIP
	s390/qeth: lock IP table while applying takeover changes
	s390/qeth: update takeover IPs after configuration change
	net: ipv4: fix for a race condition in raw_sendmsg
	net: mvmdio: disable/unprepare clocks in EPROBE_DEFER case
	sctp: Replace use of sockets_allocated with specified macro.
	adding missing rcu_read_unlock in ipxip6_rcv
	ip6_gre: fix device features for ioctl setup
	ipv4: Fix use-after-free when flushing FIB tables
	net: bridge: fix early call to br_stp_change_bridge_id and plug newlink leaks
	net: Fix double free and memory corruption in get_net_ns_by_id()
	net: phy: micrel: ksz9031: reconfigure autoneg after phy autoneg workaround
	sock: free skb in skb_complete_tx_timestamp on error
	tcp: invalidate rate samples during SACK reneging
	net/mlx5: Fix rate limit packet pacing naming and struct
	net/mlx5e: Fix possible deadlock of VXLAN lock
	net/mlx5e: Fix features check of IPv6 traffic
	net/mlx5e: Add refcount to VXLAN structure
	net/mlx5e: Prevent possible races in VXLAN control flow
	net/mlx5: Fix error flow in CREATE_QP command
	openvswitch: Fix pop_vlan action for double tagged frames
	sfc: pass valid pointers from efx_enqueue_unwind
	net: dsa: bcm_sf2: Clear IDDQ_GLOBAL_PWR bit for PHY
	s390/qeth: fix error handling in checksum cmd callback
	sctp: make sure stream nums can match optlen in sctp_setsockopt_reset_streams
	tipc: fix hanging poll() for stream sockets
	mlxsw: spectrum: Disable MAC learning for ovs port
	tcp: fix potential underestimation on rcv_rtt
	net: phy: marvell: Limit 88m1101 autoneg errata to 88E1145 as well.
	ipv6: Honor specified parameters in fibmatch lookup
	tcp: refresh tcp_mstamp from timers callbacks
	net/mlx5: FPGA, return -EINVAL if size is zero
	vxlan: restore dev->mtu setting based on lower device
	net: sched: fix static key imbalance in case of ingress/clsact_init error
	bnxt_en: Fix sources of spurious netpoll warnings
	phylink: ensure the PHY interface mode is appropriately set
	phylink: ensure AN is enabled
	ipv4: fib: Fix metrics match when deleting a route
	ipv6: set all.accept_dad to 0 by default
	Revert "mlx5: move affinity hints assignments to generic code"
	skbuff: orphan frags before zerocopy clone
	skbuff: skb_copy_ubufs must release uarg even without user frags
	skbuff: in skb_copy_ubufs unclone before releasing zerocopy
	sparc64: repair calling incorrect hweight function from stubs
	usbip: fix usbip bind writing random string after command in match_busid
	usbip: prevent leaking socket pointer address in messages
	usbip: stub: stop printing kernel pointer addresses in messages
	usbip: vhci: stop printing kernel pointer addresses in messages
	USB: chipidea: msm: fix ulpi-node lookup
	USB: serial: ftdi_sio: add id for Airbus DS P8GR
	USB: serial: qcserial: add Sierra Wireless EM7565
	USB: serial: option: add support for Telit ME910 PID 0x1101
	USB: serial: option: adding support for YUGA CLM920-NC5
	usb: Add device quirk for Logitech HD Pro Webcam C925e
	usb: add RESET_RESUME for ELSA MicroLink 56K
	USB: Fix off by one in type-specific length check of BOS SSP capability
	usb: xhci: Add XHCI_TRUST_TX_LENGTH for Renesas uPD720201
	timers: Use deferrable base independent of base::nohz_active
	timers: Invoke timer_start_debug() where it makes sense
	timers: Reinitialize per cpu bases on hotplug
	binder: fix proc->files use-after-free
	phy: tegra: fix device-tree node lookups
	drivers: base: cacheinfo: fix cache type for non-architected system cache
	staging: android: ion: Fix dma direction for dma_sync_sg_for_cpu/device
	nohz: Prevent a timer interrupt storm in tick_nohz_stop_sched_tick()
	x86/smpboot: Remove stale TLB flush invocations
	x86/mm: Remove preempt_disable/enable() from __native_flush_tlb()
	x86-32: Fix kexec with stack canary (CONFIG_CC_STACKPROTECTOR)
	x86/espfix/64: Fix espfix double-fault handling on 5-level systems
	x86/ldt: Plug memory leak in error path
	x86/ldt: Make LDT pgtable free conditional
	n_tty: fix EXTPROC vs ICANON interaction with TIOCINQ (aka FIONREAD)
	tty: fix tty_ldisc_receive_buf() documentation
	Linux 4.14.11

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2018-01-04 13:50:35 +01:00
Greg Kroah-Hartman
7af3494ec5 This is the 4.14.10 stable release
-----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEEZH8oZUiU471FcZm+ONu9yGCSaT4FAlpGcx8ACgkQONu9yGCS
 aT645g/+ONd4UyxTgGHcIvczv7mBewAa67cgikmX94nMYU2MjVErda1N+TFinOeK
 aJleP7FVSPjF8Fc/xsX8axJ+fz1Lvcz5xWofldqtD580yCVmfsBncAKaO7HadeZL
 UytXxXncPhYMl84G4PwJwYYHDClKGH+5RaSDF6Qb972KCVRTQsDII9GKGMfYho41
 dfiKsv0G/6SuwaToQHtEreeoLlLY+80q+owoUHEYr9wxjUHIa0pxXEcW/eNjWNxO
 YQbnQVx1Sjwmk8bZz/lq5sEHWincZXHF/H1wScMskf1KQuimLmyiGb6Wi5CBV8JC
 sS08sKTT1A0PnxFahQBsdm01O+ZWYI0RLaD5DcEzH4eHeme3x+8KUQTFzbEIiXsi
 +3pZJ00vYMdp3KHJYOTuBNAC4iUjzr3R1Z4PM0TvEOmzry8Pws0adBqcmhSg62tg
 JmRVSg6XJfPLsc23lD26kPruWF0BDb0ypzx/KAJ2svHE6wMC35LSgNrfzTS7gtUp
 v/w4+JNsvGFR1C906GLaWAgjRyT5X5uSvUepiIv9DBawHMdztt4GUoSLUi1YekQ1
 m6aK5t5EjI6ywGdsXRNWnlAWv/TSIxQe6KvULEK4T/kVNrkC3qputXymbgPwOks7
 I2YfKYHd/nE3AmDEusxHL2L6t/Ynaw/RKSW4N5VOH34KQwmtoCs=
 =oXpe
 -----END PGP SIGNATURE-----

Merge 4.14.10 into android-4.14

Changes in 4.14.10
	Revert "ipv6: grab rt->rt6i_ref before allocating pcpu rt"
	objtool: Move synced files to their original relative locations
	objtool: Move kernel headers/code sync check to a script
	objtool: Fix cross-build
	tools/headers: Sync objtool UAPI header
	objtool: Fix 64-bit build on 32-bit host
	x86/decoder: Fix and update the opcodes map
	x86/insn-eval: Add utility functions to get segment selector
	x86/Kconfig: Limit NR_CPUS on 32-bit to a sane amount
	x86/mm/dump_pagetables: Check PAGE_PRESENT for real
	x86/mm/dump_pagetables: Make the address hints correct and readable
	x86/vsyscall/64: Explicitly set _PAGE_USER in the pagetable hierarchy
	x86/vsyscall/64: Warn and fail vsyscall emulation in NATIVE mode
	arch, mm: Allow arch_dup_mmap() to fail
	x86/ldt: Rework locking
	x86/ldt: Prevent LDT inheritance on exec
	x86/mm/64: Improve the memory map documentation
	x86/doc: Remove obvious weirdnesses from the x86 MM layout documentation
	x86/entry: Rename SYSENTER_stack to CPU_ENTRY_AREA_entry_stack
	x86/uv: Use the right TLB-flush API
	x86/microcode: Dont abuse the TLB-flush interface
	x86/mm: Use __flush_tlb_one() for kernel memory
	x86/mm: Remove superfluous barriers
	x86/mm: Add comments to clarify which TLB-flush functions are supposed to flush what
	x86/mm: Move the CR3 construction functions to tlbflush.h
	x86/mm: Remove hard-coded ASID limit checks
	x86/mm: Put MMU to hardware ASID translation in one place
	x86/mm: Create asm/invpcid.h
	x86/cpu_entry_area: Move it to a separate unit
	x86/cpu_entry_area: Move it out of the fixmap
	init: Invoke init_espfix_bsp() from mm_init()
	x86/cpu_entry_area: Prevent wraparound in setup_cpu_entry_area_ptes() on 32bit
	ACPI: APEI / ERST: Fix missing error handling in erst_reader()
	acpi, nfit: fix health event notification
	crypto: skcipher - set walk.iv for zero-length inputs
	crypto: mcryptd - protect the per-CPU queue with a lock
	crypto: af_alg - wait for data at beginning of recvmsg
	crypto: af_alg - fix race accessing cipher request
	mfd: cros ec: spi: Don't send first message too soon
	mfd: twl4030-audio: Fix sibling-node lookup
	mfd: twl6040: Fix child-node lookup
	ALSA: rawmidi: Avoid racy info ioctl via ctl device
	ALSA: hda/realtek - Fix Dell AIO LineOut issue
	ALSA: hda - Add vendor id for Cannonlake HDMI codec
	ALSA: usb-audio: Add native DSD support for Esoteric D-05X
	ALSA: usb-audio: Fix the missing ctl name suffix at parsing SU
	PCI / PM: Force devices to D0 in pci_pm_thaw_noirq()
	block: unalign call_single_data in struct request
	block-throttle: avoid double charge
	parisc: Align os_hpmc_size on word boundary
	parisc: Fix indenting in puts()
	parisc: Hide Diva-built-in serial aux and graphics card
	Revert "parisc: Re-enable interrupts early"
	spi: xilinx: Detect stall with Unknown commands
	spi: a3700: Fix clk prescaling for coefficient over 15
	pinctrl: cherryview: Mask all interrupts on Intel_Strago based systems
	arm64: kvm: Prevent restoring stale PMSCR_EL1 for vcpu
	KVM: arm/arm64: Fix HYP unmapping going off limits
	KVM: PPC: Book3S: fix XIVE migration of pending interrupts
	KVM: PPC: Book3S HV: Fix pending_pri value in kvmppc_xive_get_icp()
	KVM: MMU: Fix infinite loop when there is no available mmu page
	KVM: X86: Fix load RFLAGS w/o the fixed bit
	kvm: x86: fix RSM when PCID is non-zero
	clk: sunxi: sun9i-mmc: Implement reset callback for reset controls
	powerpc/perf: Dereference BHRB entries safely
	drm/i915: Flush pending GTT writes before unbinding
	drm/sun4i: Fix error path handling
	libnvdimm, dax: fix 1GB-aligned namespaces vs physical misalignment
	libnvdimm, btt: Fix an incompatibility in the log layout
	libnvdimm, pfn: fix start_pad handling for aligned namespaces
	net: mvneta: clear interface link status on port disable
	net: mvneta: use proper rxq_number in loop on rx queues
	net: mvneta: eliminate wrong call to handle rx descriptor error
	Revert "ipmi_si: fix memory leak on new_smi"
	Linux 4.14.10

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2018-01-04 13:49:47 +01:00
Greg Kroah-Hartman
0cf36be1cd This is the 4.14.9 stable release
-----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEEZH8oZUiU471FcZm+ONu9yGCSaT4FAlpA/J4ACgkQONu9yGCS
 aT7BRw//VHyIjWjM5ViC7+zynbXM3hmK5IXTuQgsxmO6VJ7DmqGtKiN1JuhOAvlH
 /MEVnyyYWK1j00ixvirvbsi8735LtxI71fYT38/xVEAOQ+EQrsGfsJs62y6qaoKd
 8Eo4QSoUrh8e5+fj59GZYwb9c+DjeZUG3eZgqbLPHjumI7jW5gV35nM8X6wn4mpw
 p5GjS9v6w9QhTITFt/AEdcd1372AfgJyeg0TA2lavQAD8P8yj8QPikny1KAQ2djq
 psr8PKc5/dhqLNxEaK/lUuzNCaeo7Tr+WHZ6w2nwK+lAh8owss5uTLlD7ELcBLlL
 J4qiClQLU2v6KfQJ1bweUG57Ecnd1xoOWhZVvwnNA99NW0brD4CY4sO1LXJfhmbp
 G8eGdhhLbCpCwD+cgb9vHRzMCFjTsw00pMtLvWIqJ+BynRpC+DQPnTfa71oamDkF
 ekZH4A2q7jEliuXt50Dj0dF2lk1ZzYq6jO2xifNDMglPthx8MuVFOXdXEhwLGK+8
 g9TcMdEivOZgyXFS9qlD77V7imW5+drM8rKAhSk1yGrpGoQNVOV8CVmxHydQbOP4
 zXoJ6tdfcDyalkqzmllZpwnMJzTXsHwquv/zkMI/is2u3zlJ/mzp9IZygLrI2aJ+
 cyxW8hDiGJFtrwyCEa+QB/8+aU3K98f37Q3MSnj734I4XvUz3I8=
 =JYwK
 -----END PGP SIGNATURE-----

Merge 4.14.9 into android-4.14

Changes in 4.14.9
	x86/asm: Remove unnecessary \n\t in front of CC_SET() from asm templates
	objtool: Don't report end of section error after an empty unwind hint
	x86/head: Remove confusing comment
	x86/head: Remove unused 'bad_address' code
	x86/head: Fix head ELF function annotations
	x86/boot: Annotate verify_cpu() as a callable function
	x86/xen: Fix xen head ELF annotations
	x86/xen: Add unwind hint annotations
	x86/head: Add unwind hint annotations
	ACPI / APEI: adjust a local variable type in ghes_ioremap_pfn_irq()
	x86/unwinder: Make CONFIG_UNWINDER_ORC=y the default in the 64-bit defconfig
	x86/fpu/debug: Remove unused 'x86_fpu_state' and 'x86_fpu_deactivate_state' tracepoints
	x86/unwind: Rename unwinder config options to 'CONFIG_UNWINDER_*'
	x86/unwind: Make CONFIG_UNWINDER_ORC=y the default in kconfig for 64-bit
	bitops: Add clear/set_bit32() to linux/bitops.h
	x86/cpuid: Add generic table for CPUID dependencies
	x86/fpu: Parse clearcpuid= as early XSAVE argument
	x86/fpu: Make XSAVE check the base CPUID features before enabling
	x86/fpu: Remove the explicit clearing of XSAVE dependent features
	x86/platform/UV: Convert timers to use timer_setup()
	objtool: Print top level commands on incorrect usage
	x86/cpuid: Prevent out of bound access in do_clear_cpu_cap()
	mm/sparsemem: Allocate mem_section at runtime for CONFIG_SPARSEMEM_EXTREME=y
	x86/kasan: Use the same shadow offset for 4- and 5-level paging
	x86/xen: Provide pre-built page tables only for CONFIG_XEN_PV=y and CONFIG_XEN_PVH=y
	x86/xen: Drop 5-level paging support code from the XEN_PV code
	ACPI / APEI: remove the unused dead-code for SEA/NMI notification type
	x86/asm: Don't use the confusing '.ifeq' directive
	x86/build: Beautify build log of syscall headers
	x86/mm/64: Rename the register_page_bootmem_memmap() 'size' parameter to 'nr_pages'
	x86/cpufeatures: Enable new SSE/AVX/AVX512 CPU features
	x86/mm: Relocate page fault error codes to traps.h
	x86/boot: Relocate definition of the initial state of CR0
	ptrace,x86: Make user_64bit_mode() available to 32-bit builds
	x86/entry/64: Remove the restore_c_regs_and_iret label
	x86/entry/64: Split the IRET-to-user and IRET-to-kernel paths
	x86/entry/64: Move SWAPGS into the common IRET-to-usermode path
	x86/entry/64: Simplify reg restore code in the standard IRET paths
	x86/entry/64: Shrink paranoid_exit_restore and make labels local
	x86/entry/64: Use pop instead of movq in syscall_return_via_sysret
	x86/entry/64: Merge the fast and slow SYSRET paths
	x86/entry/64: Use POP instead of MOV to restore regs on NMI return
	x86/entry/64: Remove the RESTORE_..._REGS infrastructure
	xen, x86/entry/64: Add xen NMI trap entry
	x86/entry/64: De-Xen-ify our NMI code
	x86/entry/32: Pull the MSR_IA32_SYSENTER_CS update code out of native_load_sp0()
	x86/entry/64: Pass SP0 directly to load_sp0()
	x86/entry: Add task_top_of_stack() to find the top of a task's stack
	x86/xen/64, x86/entry/64: Clean up SP code in cpu_initialize_context()
	x86/entry/64: Stop initializing TSS.sp0 at boot
	x86/entry/64: Remove all remaining direct thread_struct::sp0 reads
	x86/entry/32: Fix cpu_current_top_of_stack initialization at boot
	x86/entry/64: Remove thread_struct::sp0
	x86/traps: Use a new on_thread_stack() helper to clean up an assertion
	x86/entry/64: Shorten TEST instructions
	x86/cpuid: Replace set/clear_bit32()
	bitops: Revert cbe96375025e ("bitops: Add clear/set_bit32() to linux/bitops.h")
	x86/mm: Define _PAGE_TABLE using _KERNPG_TABLE
	x86/cpufeatures: Re-tabulate the X86_FEATURE definitions
	x86/cpufeatures: Fix various details in the feature definitions
	selftests/x86/ldt_gdt: Add infrastructure to test set_thread_area()
	selftests/x86/ldt_gdt: Run most existing LDT test cases against the GDT as well
	ACPI / APEI: Replace ioremap_page_range() with fixmap
	x86/virt, x86/platform: Merge 'struct x86_hyper' into 'struct x86_platform' and 'struct x86_init'
	x86/virt: Add enum for hypervisors to replace x86_hyper
	drivers/misc/intel/pti: Rename the header file to free up the namespace
	x86/cpufeature: Add User-Mode Instruction Prevention definitions
	x86: Make X86_BUG_FXSAVE_LEAK detectable in CPUID on AMD
	perf/x86: Enable free running PEBS for REGS_USER/INTR
	bpf: fix build issues on um due to mising bpf_perf_event.h
	locking/barriers: Add implicit smp_read_barrier_depends() to READ_ONCE()
	locking/barriers: Convert users of lockless_dereference() to READ_ONCE()
	x86/mm/kasan: Don't use vmemmap_populate() to initialize shadow
	x86/entry/64/paravirt: Use paravirt-safe macro to access eflags
	x86/unwinder/orc: Dont bail on stack overflow
	x86/unwinder: Handle stack overflows more gracefully
	x86/irq: Remove an old outdated comment about context tracking races
	x86/irq/64: Print the offending IP in the stack overflow warning
	x86/entry/64: Allocate and enable the SYSENTER stack
	x86/dumpstack: Add get_stack_info() support for the SYSENTER stack
	x86/entry/gdt: Put per-CPU GDT remaps in ascending order
	x86/mm/fixmap: Generalize the GDT fixmap mechanism, introduce struct cpu_entry_area
	x86/kasan/64: Teach KASAN about the cpu_entry_area
	x86/entry: Fix assumptions that the HW TSS is at the beginning of cpu_tss
	x86/dumpstack: Handle stack overflow on all stacks
	x86/entry: Move SYSENTER_stack to the beginning of struct tss_struct
	x86/entry: Remap the TSS into the CPU entry area
	x86/entry/64: Separate cpu_current_top_of_stack from TSS.sp0
	x86/espfix/64: Stop assuming that pt_regs is on the entry stack
	x86/entry/64: Use a per-CPU trampoline stack for IDT entries
	x86/entry/64: Return to userspace from the trampoline stack
	x86/entry/64: Create a per-CPU SYSCALL entry trampoline
	x86/entry/64: Move the IST stacks into struct cpu_entry_area
	x86/entry/64: Remove the SYSENTER stack canary
	x86/entry: Clean up the SYSENTER_stack code
	x86/entry/64: Make cpu_entry_area.tss read-only
	x86/paravirt: Dont patch flush_tlb_single
	x86/paravirt: Provide a way to check for hypervisors
	x86/cpufeatures: Make CPU bugs sticky
	optee: fix invalid of_node_put() in optee_driver_init()
	backlight: pwm_bl: Fix overflow condition
	drm: Add retries for lspcon mode detection
	clk: sunxi-ng: nm: Check if requested rate is supported by fractional clock
	clk: sunxi-ng: sun5i: Fix bit offset of audio PLL post-divider
	crypto: crypto4xx - increase context and scatter ring buffer elements
	crypto: lrw - Fix an error handling path in 'create()'
	rtc: pl031: make interrupt optional
	kvm, mm: account kvm related kmem slabs to kmemcg
	net: phy: at803x: Change error to EINVAL for invalid MAC
	PCI: Avoid bus reset if bridge itself is broken
	scsi: cxgb4i: fix Tx skb leak
	scsi: mpt3sas: Fix IO error occurs on pulling out a drive from RAID1 volume created on two SATA drive
	PCI: Create SR-IOV virtfn/physfn links before attaching driver
	PM / OPP: Move error message to debug level
	igb: check memory allocation failure
	i40e: use the safe hash table iterator when deleting mac filters
	iio: st_sensors: add register mask for status register
	ixgbe: fix use of uninitialized padding
	IB/rxe: check for allocation failure on elem
	block,bfq: Disable writeback throttling
	md: always set THREAD_WAKEUP and wake up wqueue if thread existed
	ip_gre: check packet length and mtu correctly in erspan tx
	ipv6: grab rt->rt6i_ref before allocating pcpu rt
	leds: pca955x: Don't invert requested value in pca955x_gpio_set_value()
	Bluetooth: hci_uart_set_flow_control: Fix NULL deref when using serdev
	Bluetooth: hci_bcm: Fix setting of irq trigger type
	i40e/i40evf: spread CPU affinity hints across online CPUs only
	PCI/AER: Report non-fatal errors only to the affected endpoint
	tracing: Exclude 'generic fields' from histograms
	ASoC: codecs: msm8916-wcd-analog: fix micbias level
	ASoC: img-parallel-out: Add pm_runtime_get/put to set_fmt callback
	powerpc/xmon: Avoid tripping SMP hardlockup watchdog
	powerpc/watchdog: Do not trigger SMP crash from touch_nmi_watchdog
	sctp: silence warns on sctp_stream_init allocations
	ASoC: codecs: msm8916-wcd-analog: fix module autoload
	fm10k: fix mis-ordered parameters in declaration for .ndo_set_vf_bw
	scsi: lpfc: Fix secure firmware updates
	scsi: lpfc: PLOGI failures during NPIV testing
	scsi: lpfc: Fix warning messages when NVME_TARGET_FC not defined
	i40e: fix client notify of VF reset
	vfio/pci: Virtualize Maximum Payload Size
	ARM: exynos_defconfig: Enable UAS support for Odroid HC1 board
	fm10k: ensure we process SM mbx when processing VF mbx
	ibmvnic: Set state UP
	net: ipv6: send NS for DAD when link operationally up
	RDMA/hns: Avoid NULL pointer exception
	staging: greybus: light: Release memory obtained by kasprintf
	clk: sunxi-ng: sun6i: Rename HDMI DDC clock to avoid name collision
	tcp: fix under-evaluated ssthresh in TCP Vegas
	rtc: set the alarm to the next expiring timer
	cpuidle: fix broadcast control when broadcast can not be entered
	drm/vc4: Avoid using vrefresh==0 mode in DSI htotal math.
	IB/opa_vnic: Properly clear Mac Table Digest
	IB/opa_vnic: Properly return the total MACs in UC MAC list
	thermal/drivers/hisi: Fix missing interrupt enablement
	thermal/drivers/hisi: Fix kernel panic on alarm interrupt
	thermal/drivers/hisi: Simplify the temperature/step computation
	thermal/drivers/hisi: Fix multiple alarm interrupts firing
	platform/x86: asus-wireless: send an EV_SYN/SYN_REPORT between state changes
	mm/sparsemem: Fix ARM64 boot crash when CONFIG_SPARSEMEM_EXTREME=y
	bpf: fix branch pruning logic
	bpf: fix corruption on concurrent perf_event_output calls
	bpf, s390x: do not reload skb pointers in non-skb context
	bpf, ppc64: do not reload skb pointers in non-skb context
	bpf, sparc: fix usage of wrong reg for load_skb_regs after call
	bpf/verifier: fix bounds calculation on BPF_RSH
	bpf: fix incorrect sign extension in check_alu_op()
	bpf: fix incorrect tracking of register size truncation
	bpf: fix 32-bit ALU op verification
	bpf: fix missing error return in check_stack_boundary()
	bpf: force strict alignment checks for stack pointers
	bpf: don't prune branches when a scalar is replaced with a pointer
	bpf: fix integer overflows
	selftests/bpf: add tests for recent bugfixes
	linux/compiler.h: Split into compiler.h and compiler_types.h
	Linux 4.14.9

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2018-01-04 13:49:18 +01:00
Greg Kroah-Hartman
7237d3f322 This is the 4.14.8 stable release
-----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEEZH8oZUiU471FcZm+ONu9yGCSaT4FAlo6Km0ACgkQONu9yGCS
 aT7vKA//WO6PM1s+/eDNZu7IuBcvrvSuFI7FffvbDuWsIFk5fKwLen2M9RLT9oZF
 8XxnZG0fWKZCdvLTeC14C4oKedcOMSR6VZIg5CddMqibq5uWNLisfZUb0KKG4DE3
 Mljvw8AM8OJupmXtDHu/nG4/J1vP03jWi6liMAwLyzxTGOMjtq0a7Nbt3NiTArFz
 cI7Xs+zEnS2fgKX2SrJGB+6xYKQe4Q4JSjZ1lQAM3LW3G96n731HsU/oRKkU9FyQ
 ZBysxNITbPSwKP9SuvgAl5rYo7ZKIQ9UbUDyJmm82gvwxDupdaa4hkrBo/+imESN
 ngDO/EFirsPXTEj2H7SPw3+sRh9j41IDAcqDPZKFNuwEe0g0fwJ/g3/7EaZeXpR2
 kXT+sHrwkzXcDXeuEQkUtsPULCJuYfgVUXnSIGtuPv7sG1IOaeOyofXHYixGsONu
 HRZMNPQcdqT3aYQIlMIOWEJidpOtxGztwdz1fWWzUQwNPBBNH2tlgEXhyR0ofDaM
 VVRRw9V6IyS4/5HjaCs/nIp+WN+vyW0p+xijQIzzLTAFRITB5IMDWwggPT5z4JPk
 Yf41I8bjkTUA0oMWL/b737u2krM8wYmmwvdc+9+lrA+HM51B63ViuvWyXrEAd2Sv
 37X8oZa8dj4lIDZoTll+8wXcY80VHuz7+vvVYIRUwnSEg1bLKIU=
 =eZgu
 -----END PGP SIGNATURE-----

Merge 4.14.8 into android-4.14

Changes in 4.14.8
	mfd: fsl-imx25: Clean up irq settings during removal
	crypto: algif_aead - fix reference counting of null skcipher
	crypto: rsa - fix buffer overread when stripping leading zeroes
	crypto: hmac - require that the underlying hash algorithm is unkeyed
	crypto: salsa20 - fix blkcipher_walk API usage
	crypto: af_alg - fix NULL pointer dereference in
	cifs: fix NULL deref in SMB2_read
	string.h: workaround for increased stack usage
	autofs: fix careless error in recent commit
	kernel: make groups_sort calling a responsibility group_info allocators
	mm, oom_reaper: fix memory corruption
	tracing: Allocate mask_str buffer dynamically
	USB: uas and storage: Add US_FL_BROKEN_FUA for another JMicron JMS567 ID
	USB: core: prevent malicious bNumInterfaces overflow
	ovl: Pass ovl_get_nlink() parameters in right order
	ovl: update ctx->pos on impure dir iteration
	usbip: fix stub_rx: get_pipe() to validate endpoint number
	usbip: fix stub_rx: harden CMD_SUBMIT path to handle malicious input
	usbip: prevent vhci_hcd driver from leaking a socket pointer address
	usbip: fix stub_send_ret_submit() vulnerability to null transfer_buffer
	mmc: core: apply NO_CMD23 quirk to some specific cards
	ceph: drop negative child dentries before try pruning inode's alias
	usb: xhci: fix TDS for MTK xHCI1.1
	xhci: Don't add a virt_dev to the devs array before it's fully allocated
	IB/core: Bound check alternate path port number
	IB/core: Don't enforce PKey security on SMI MADs
	nfs: don't wait on commit in nfs_commit_inode() if there were no commit requests
	arm64: mm: Fix pte_mkclean, pte_mkdirty semantics
	arm64: Initialise high_memory global variable earlier
	arm64: fix CONFIG_DEBUG_WX address reporting
	scsi: core: Fix a scsi_show_rq() NULL pointer dereference
	scsi: libsas: fix length error in sas_smp_handler()
	sched/rt: Do not pull from current CPU if only one CPU to pull
	dm: fix various targets to dm_register_target after module __init resources created
	SUNRPC: Fix a race in the receive code path
	iw_cxgb4: only insert drain cqes if wq is flushed
	x86/boot/compressed/64: Detect and handle 5-level paging at boot-time
	x86/boot/compressed/64: Print error if 5-level paging is not supported
	eeprom: at24: change nvmem stride to 1
	posix-timer: Properly check sigevent->sigev_notify
	dmaengine: dmatest: move callback wait queue to thread context
	Revert "exec: avoid RLIMIT_STACK races with prlimit()"
	ext4: support fast symlinks from ext3 file systems
	ext4: fix fdatasync(2) after fallocate(2) operation
	ext4: add missing error check in __ext4_new_inode()
	ext4: fix crash when a directory's i_size is too small
	IB/mlx4: Fix RSS's QPC attributes assignments
	HID: cp2112: fix broken gpio_direction_input callback
	sfc: don't warn on successful change of MAC
	fbdev: controlfb: Add missing modes to fix out of bounds access
	video: udlfb: Fix read EDID timeout
	video: fbdev: au1200fb: Release some resources if a memory allocation fails
	video: fbdev: au1200fb: Return an error code if a memory allocation fails
	rtc: pcf8563: fix output clock rate
	scsi: aacraid: use timespec64 instead of timeval
	drm/amdgpu: bypass lru touch for KIQ ring submission
	PM / s2idle: Clear the events_check_enabled flag
	ASoC: Intel: Skylake: Fix uuid_module memory leak in failure case
	dmaengine: ti-dma-crossbar: Correct am335x/am43xx mux value type
	mlxsw: spectrum: Fix error return code in mlxsw_sp_port_create()
	PCI/PME: Handle invalid data when reading Root Status
	powerpc/powernv/cpufreq: Fix the frequency read by /proc/cpuinfo
	PCI: Do not allocate more buses than available in parent
	iommu/mediatek: Fix driver name
	thunderbolt: tb: fix use after free in tb_activate_pcie_devices
	netfilter: ipvs: Fix inappropriate output of procfs
	powerpc/opal: Fix EBUSY bug in acquiring tokens
	powerpc/ipic: Fix status get and status clear
	powerpc/pseries/vio: Dispose of virq mapping on vdevice unregister
	platform/x86: intel_punit_ipc: Fix resource ioremap warning
	target/iscsi: Detect conn_cmd_list corruption early
	target/iscsi: Fix a race condition in iscsit_add_reject_from_cmd()
	iscsi-target: fix memory leak in lio_target_tiqn_addtpg()
	target:fix condition return in core_pr_dump_initiator_port()
	target/file: Do not return error for UNMAP if length is zero
	badblocks: fix wrong return value in badblocks_set if badblocks are disabled
	iommu/amd: Limit the IOVA page range to the specified addresses
	xfs: truncate pagecache before writeback in xfs_setattr_size()
	arm-ccn: perf: Prevent module unload while PMU is in use
	crypto: tcrypt - fix buffer lengths in test_aead_speed()
	mm: Handle 0 flags in _calc_vm_trans() macro
	net: hns3: fix for getting advertised_caps in hns3_get_link_ksettings
	net: hns3: Fix a misuse to devm_free_irq
	staging: rtl8188eu: Revert part of "staging: rtl8188eu: fix comments with lines over 80 characters"
	clk: mediatek: add the option for determining PLL source clock
	clk: imx: imx7d: Fix parent clock for OCRAM_CLK
	clk: imx6: refine hdmi_isfr's parent to make HDMI work on i.MX6 SoCs w/o VPU
	media: camss-vfe: always initialize reg at vfe_set_xbar_cfg()
	clk: hi6220: mark clock cs_atb_syspll as critical
	blk-mq-sched: dispatch from scheduler IFF progress is made in ->dispatch
	clk: tegra: Use readl_relaxed_poll_timeout_atomic() in tegra210_clock_init()
	clk: tegra: Fix cclk_lp divisor register
	ppp: Destroy the mutex when cleanup
	ASoC: rsnd: rsnd_ssi_run_mods() needs to care ssi_parent_mod
	thermal/drivers/step_wise: Fix temperature regulation misbehavior
	misc: pci_endpoint_test: Fix failure path return values in probe
	misc: pci_endpoint_test: Avoid triggering a BUG()
	scsi: scsi_debug: write_same: fix error report
	GFS2: Take inode off order_write list when setting jdata flag
	media: usbtv: fix brightness and contrast controls
	rpmsg: glink: Initialize the "intent_req_comp" completion variable
	bcache: explicitly destroy mutex while exiting
	bcache: fix wrong cache_misses statistics
	Ib/hfi1: Return actual operational VLs in port info query
	Bluetooth: hci_ldisc: Fix another race when closing the tty.
	arm64: prevent regressions in compressed kernel image size when upgrading to binutils 2.27
	btrfs: fix false EIO for missing device
	btrfs: Explicitly handle btrfs_update_root failure
	btrfs: undo writable superblocke when sprouting fails
	btrfs: avoid null pointer dereference on fs_info when calling btrfs_crit
	btrfs: tests: Fix a memory leak in error handling path in 'run_test()'
	qtnfmac: modify full Tx queue error reporting
	mtd: spi-nor: stm32-quadspi: Fix uninitialized error return code
	ARM64: dts: meson-gxbb-odroidc2: fix usb1 power supply
	Bluetooth: btusb: Add new NFA344A entry.
	samples/bpf: adjust rlimit RLIMIT_MEMLOCK for xdp1
	liquidio: fix kernel panic in VF driver
	platform/x86: hp_accel: Add quirk for HP ProBook 440 G4
	nvme: use kref_get_unless_zero in nvme_find_get_ns
	l2tp: cleanup l2tp_tunnel_delete calls
	xfs: fix log block underflow during recovery cycle verification
	xfs: return a distinct error code value for IGET_INCORE cache misses
	xfs: fix incorrect extent state in xfs_bmap_add_extent_unwritten_real
	net: dsa: lan9303: Do not disable switch fabric port 0 at .probe
	net: hns3: fix a bug in hclge_uninit_client_instance
	net: hns3: add nic_client check when initialize roce base information
	net: hns3: fix the bug of hns3_set_txbd_baseinfo
	RDMA/cxgb4: Declare stag as __be32
	PCI: Detach driver before procfs & sysfs teardown on device remove
	scsi: hisi_sas: fix the risk of freeing slot twice
	scsi: hpsa: cleanup sas_phy structures in sysfs when unloading
	scsi: hpsa: destroy sas transport properties before scsi_host
	mfd: mxs-lradc: Fix error handling in mxs_lradc_probe()
	net: hns3: fix the TX/RX ring.queue_index in hns3_ring_get_cfg
	net: hns3: fix the bug when map buffer fail
	net: hns3: fix a bug when alloc new buffer
	serdev: ttyport: enforce tty-driver open() requirement
	powerpc/perf/hv-24x7: Fix incorrect comparison in memord
	powerpc/xmon: Check before calling xive functions
	soc: mediatek: pwrap: fix compiler errors
	ipv4: ipv4_default_advmss() should use route mtu
	KVM: nVMX: Fix EPT switching advertising
	tty fix oops when rmmod 8250
	dev/dax: fix uninitialized variable build warning
	pinctrl: adi2: Fix Kconfig build problem
	raid5: Set R5_Expanded on parity devices as well as data.
	scsi: scsi_devinfo: Add REPORTLUN2 to EMC SYMMETRIX blacklist entry
	IB/core: Fix use workqueue without WQ_MEM_RECLAIM
	IB/core: Fix calculation of maximum RoCE MTU
	vt6655: Fix a possible sleep-in-atomic bug in vt6655_suspend
	IB/hfi1: Mask out A bit from psn trace
	rtl8188eu: Fix a possible sleep-in-atomic bug in rtw_createbss_cmd
	rtl8188eu: Fix a possible sleep-in-atomic bug in rtw_disassoc_cmd
	ipmi_si: fix memory leak on new_smi
	nullb: fix error return code in null_init()
	scsi: sd: change manage_start_stop to bool in sysfs interface
	scsi: sd: change allow_restart to bool in sysfs interface
	scsi: bfa: integer overflow in debugfs
	raid5-ppl: check recovery_offset when performing ppl recovery
	md-cluster: fix wrong condition check in raid1_write_request
	xprtrdma: Don't defer fencing an async RPC's chunks
	udf: Avoid overflow when session starts at large offset
	macvlan: Only deliver one copy of the frame to the macvlan interface
	IB/core: Fix endianness annotation in rdma_is_multicast_addr()
	RDMA/cma: Avoid triggering undefined behavior
	IB/ipoib: Grab rtnl lock on heavy flush when calling ndo_open/stop
	icmp: don't fail on fragment reassembly time exceeded
	lightnvm: pblk: prevent gc kicks when gc is not operational
	lightnvm: pblk: fix changing GC group list for a line
	lightnvm: pblk: use right flag for GC allocation
	lightnvm: pblk: initialize debug stat counter
	lightnvm: pblk: fix min size for page mempool
	lightnvm: pblk: protect line bitmap while submitting meta io
	ath9k: fix tx99 potential info leak
	ath10k: fix core PCI suspend when WoWLAN is supported but disabled
	ath10k: fix build errors with !CONFIG_PM
	usb: musb: da8xx: fix babble condition handling
	Linux 4.14.8

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2018-01-04 13:48:52 +01:00
Greg Kroah-Hartman
5adbbb16a5 This is the 4.14.7 stable release
-----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEEZH8oZUiU471FcZm+ONu9yGCSaT4FAlo2ek8ACgkQONu9yGCS
 aT77ZBAA00LgEemgczsewIMs/la6ztVfyMnL0FjZOFh4/X6vUd3jfonv6TplSVvt
 MkvsnGfw+YTH5PE5db38HAhruNRVLHo6xZOl3R5NeQghQoe8PNjxWm7FXsQ4H5Zp
 apyllIPBnck2XzlXR2iiiS41dem++/ktYum24Xu4Bre+rplt/6HXQ42osHyfrCbD
 jcwMdw4IesjdPaooZBBgJENZTBlft+NR8bkO+ZjcvameBqpIaEyeAAAYpd0+2SYE
 e/nbEP7FI3aSMcki7zaMkFLXJql/+mMuZK4I6ZsbfDSX1uqgBvxpOHJ9rpuzjkgm
 Bmv78c5YimppXsIF81+Raixvf7XW+xjydTL6T4I+phgLu8HaClbk3DNleWi60hdj
 nrd5q4SO3EMtT3T1Te54xTBW8gbNpKymp2QQWuOKxVaRuy1sppZxOqJVu0n6kpVp
 rsZnfxGHfxM0xCVy2mPH37xFsppn54TVbA7qnv/BbLtw80dmY+HGsCZ+EN9EzYh0
 f6ZHo487UZnzrHggwPQKdsiHBpITfEGxa1c/qG6nTRnUgpTv5ilmZFSD94w8PES6
 tqRRi7aZJbrGjTRWOwOX3Ot/4jpFhmnAIY8F+CKm/qWtD064FCfR4puutVk2ZbBe
 hLncVOO9JAuvn6Gcy8zKTBIkE7TE4hYlDM82NxEWLHfLkRnwOwk=
 =069a
 -----END PGP SIGNATURE-----

Merge 4.14.7 into android-4.14

Changes in 4.14.7
	net: qmi_wwan: add Quectel BG96 2c7c:0296
	net: thunderx: Fix TCP/UDP checksum offload for IPv6 pkts
	net: thunderx: Fix TCP/UDP checksum offload for IPv4 pkts
	net: realtek: r8169: implement set_link_ksettings()
	s390/qeth: fix early exit from error path
	tipc: fix memory leak in tipc_accept_from_sock()
	vhost: fix skb leak in handle_rx()
	rds: Fix NULL pointer dereference in __rds_rdma_map
	sit: update frag_off info
	tcp: add tcp_v4_fill_cb()/tcp_v4_restore_cb()
	packet: fix crash in fanout_demux_rollover()
	net/packet: fix a race in packet_bind() and packet_notifier()
	tcp: remove buggy call to tcp_v6_restore_cb()
	usbnet: fix alignment for frames with no ethernet header
	net: remove hlist_nulls_add_tail_rcu()
	stmmac: reset last TSO segment size after device open
	tcp/dccp: block bh before arming time_wait timer
	s390/qeth: build max size GSO skbs on L2 devices
	s390/qeth: fix thinko in IPv4 multicast address tracking
	s390/qeth: fix GSO throughput regression
	tcp: use IPCB instead of TCP_SKB_CB in inet_exact_dif_match()
	tipc: call tipc_rcv() only if bearer is up in tipc_udp_recv()
	tcp: use current time in tcp_rcv_space_adjust()
	net: sched: cbq: create block for q->link.block
	tap: free skb if flags error
	tcp: when scheduling TLP, time of RTO should account for current ACK
	tun: free skb in early errors
	net: ipv6: Fixup device for anycast routes during copy
	tun: fix rcu_read_lock imbalance in tun_build_skb
	net: accept UFO datagrams from tuntap and packet
	net: openvswitch: datapath: fix data type in queue_gso_packets
	cls_bpf: don't decrement net's refcount when offload fails
	sctp: use right member as the param of list_for_each_entry
	ipmi: Stop timers before cleaning up the module
	usb: gadget: ffs: Forbid usb_ep_alloc_request from sleeping
	fcntl: don't cap l_start and l_end values for F_GETLK64 in compat syscall
	fix kcm_clone()
	KVM: arm/arm64: vgic-its: Preserve the revious read from the pending table
	kbuild: do not call cc-option before KBUILD_CFLAGS initialization
	powerpc/powernv/idle: Round up latency and residency values
	ipvlan: fix ipv6 outbound device
	ide: ide-atapi: fix compile error with defining macro DEBUG
	blk-mq: Avoid that request queue removal can trigger list corruption
	nvmet-rdma: update queue list during ib_device removal
	audit: Allow auditd to set pid to 0 to end auditing
	audit: ensure that 'audit=1' actually enables audit for PID 1
	dm raid: fix panic when attempting to force a raid to sync
	md: free unused memory after bitmap resize
	RDMA/cxgb4: Annotate r2 and stag as __be32
	x86/intel_rdt: Fix potential deadlock during resctrl unmount
	media: dvb-core: always call invoke_release() in fe_free()
	dvb_frontend: don't use-after-free the frontend struct
	Linux 4.14.7

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2018-01-04 13:47:49 +01:00
Greg Kroah-Hartman
20f3b53781 This is the 4.14.6 stable release
-----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEEZH8oZUiU471FcZm+ONu9yGCSaT4FAloyPAUACgkQONu9yGCS
 aT4/Zw/8CECy8ywQzB3ezK1K0PmzPfiko2nyf0Gn7UQDz6mYooIvI9yjliGeQqGk
 VlOP0kAGhJrUTHupfq5XZW3jrg5PZ4TFvR/4PkmuAZh9OdtPOW5XA6kw6EytSdyL
 GlYc67m67y2T06I6txjW+gloUdAWHMUf0UCjK8PpYHjbosY4VdRtfMiofojyFHLe
 8fmfCvj2zt5Asm/nZbLgrnLrSdtvdj2XdTgNZ7Rtkdv0ae+a0/o+BcxQoF4YwLid
 2lnklkQagg8ArdrZJep520PEjAyAQC7fU52y9jnv5MCye9QBKyCymQv3Lv/oXmwF
 F6BmZaGgmuEZQ8E5OsvmUxDpkU4VHzQEtbuq6KpwFMWIBzws4vAo4+JE3Al2JMtl
 GXzbxOk7vdmrKwX9HO7LMm32jJUcHDprbX6qH3Deg8H5F0vCYt9+GsLjj4+hYV52
 ZepqEjir7PwBiBHcQwYiTrZyB9msGVZN7g9aYdWT/QFAqWMpcxb5aS6kIre/fsLs
 zMCvURFh9RTjOxdNn7ZxO2QF/EwfwL3Z6rlkiXIV/of7QRks+xWIK8FDZbPngCKq
 OUvjmFzyNQfMQtBnkY7OsdgfyP5lDsGSLT1YrWXz3KYT+akaFY16MUzOUE8Cstnj
 5PPzL3vdYv/7nzS2iGdtuht5He35nOlAr9gWZbjTVY9dGESXq/A=
 =qUfs
 -----END PGP SIGNATURE-----

Merge 4.14.6 into android-4.14

Changes in 4.14.6
	usb: gadget: udc: renesas_usb3: fix number of the pipes
	usb: gadget: core: Fix ->udc_set_speed() speed handling
	serdev: ttyport: add missing receive_buf sanity checks
	serdev: ttyport: fix NULL-deref on hangup
	serdev: ttyport: fix tty locking in close
	usb: f_fs: Force Reserved1=1 in OS_DESC_EXT_COMPAT
	can: mcba_usb: fix device disconnect bug
	can: peak/pci: fix potential bug when probe() fails
	can: flexcan: fix VF610 state transition issue
	can: ti_hecc: Fix napi poll return value for repoll
	can: kvaser_usb: free buf in error paths
	can: kvaser_usb: Fix comparison bug in kvaser_usb_read_bulk_callback()
	can: kvaser_usb: ratelimit errors if incomplete messages are received
	can: kvaser_usb: cancel urb on -EPIPE and -EPROTO
	can: mcba_usb: cancel urb on -EPROTO
	can: ems_usb: cancel urb on -EPIPE and -EPROTO
	can: esd_usb2: cancel urb on -EPIPE and -EPROTO
	can: usb_8dev: cancel urb on -EPIPE and -EPROTO
	can: peak/pcie_fd: fix potential bug in restarting tx queue
	virtio: release virtio index when fail to device_register
	iio: stm32: fix adc/trigger link error
	iio: health: max30102: Temperature should be in milli Celsius
	iio: adc: cpcap: fix incorrect validation
	iio: adc: meson-saradc: fix the bit_idx of the adc_en clock
	iio: adc: meson-saradc: initialize the bandgap correctly on older SoCs
	iio: adc: meson-saradc: Meson8 and Meson8b do not have REG11 and REG13
	pinctrl: armada-37xx: Fix direction_output() callback behavior
	Drivers: hv: vmbus: Fix a rescind issue
	hv: kvp: Avoid reading past allocated blocks from KVP file
	firmware: cleanup FIRMWARE_IN_KERNEL message
	firmware: vpd: Destroy vpd sections in remove function
	firmware: vpd: Tie firmware kobject to device lifetime
	firmware: vpd: Fix platform driver and device registration/unregistration
	isa: Prevent NULL dereference in isa_bus driver callbacks
	scsi: dma-mapping: always provide dma_get_cache_alignment
	scsi: use dma_get_cache_alignment() as minimum DMA alignment
	scsi: libsas: align sata_device's rps_resp on a cacheline
	efi: Move some sysfs files to be read-only by root
	efi/esrt: Use memunmap() instead of kfree() to free the remapping
	ASN.1: fix out-of-bounds read when parsing indefinite length item
	ASN.1: check for error from ASN1_OP_END__ACT actions
	KEYS: add missing permission check for request_key() destination
	KEYS: reject NULL restriction string when type is specified
	X.509: reject invalid BIT STRING for subjectPublicKey
	X.509: fix comparisons of ->pkey_algo
	x86/idt: Load idt early in start_secondary
	x86/PCI: Make broadcom_postcore_init() check acpi_disabled
	KVM: x86: fix APIC page invalidation
	btrfs: fix missing error return in btrfs_drop_snapshot
	btrfs: handle errors while updating refcounts in update_ref_for_cow
	ALSA: hda/realtek - New codec support for ALC257
	ALSA: pcm: prevent UAF in snd_pcm_info
	ALSA: seq: Remove spurious WARN_ON() at timer check
	ALSA: usb-audio: Fix out-of-bound error
	ALSA: usb-audio: Add check return value for usb_string()
	iommu/vt-d: Fix scatterlist offset handling
	smp/hotplug: Move step CPUHP_AP_SMPCFD_DYING to the correct place
	s390: always save and restore all registers on context switch
	s390/mm: fix off-by-one bug in 5-level page table handling
	s390: fix compat system call table
	KVM: s390: Fix skey emulation permission check
	Revert "powerpc: Do not call ppc_md.panic in fadump panic notifier"
	powerpc/64s: Initialize ISAv3 MMU registers before setting partition table
	iwlwifi: mvm: mark MIC stripped MPDUs
	iwlwifi: mvm: don't use transmit queue hang detection when it is not possible
	iwlwifi: mvm: flush queue before deleting ROC
	iwlwifi: add new cards for 9260 and 22000 series
	iwlwifi: mvm: fix packet injection
	iwlwifi: mvm: enable RX offloading with TKIP and WEP
	brcmfmac: change driver unbind order of the sdio function devices
	kdb: Fix handling of kallsyms_symbol_next() return value
	md/r5cache: move mddev_lock() out of r5c_journal_mode_set()
	drm/bridge: analogix dp: Fix runtime PM state in get_modes() callback
	drm/exynos: gem: Drop NONCONTIG flag for buffers allocated without IOMMU
	drm/i915: Fix vblank timestamp/frame counter jumps on gen2
	media: dvb: i2c transfers over usb cannot be done from stack
	media: rc: sir_ir: detect presence of port
	media: rc: partial revert of "media: rc: per-protocol repeat period"
	arm64: KVM: fix VTTBR_BADDR_MASK BUG_ON off-by-one
	arm: KVM: Fix VTTBR_BADDR_MASK BUG_ON off-by-one
	KVM: VMX: remove I/O port 0x80 bypass on Intel hosts
	KVM: arm/arm64: Fix broken GICH_ELRSR big endian conversion
	KVM: arm/arm64: vgic-irqfd: Fix MSI entry allocation
	KVM: arm/arm64: vgic: Preserve the revious read from the pending table
	KVM: arm/arm64: vgic-its: Check result of allocation before use
	arm64: fpsimd: Prevent registers leaking from dead tasks
	arm64: SW PAN: Point saved ttbr0 at the zero page when switching to init_mm
	arm64: SW PAN: Update saved ttbr0 value on enter_lazy_tlb
	Revert "ARM: dts: imx53: add srtc node"
	bus: arm-cci: Fix use of smp_processor_id() in preemptible context
	bus: arm-ccn: Check memory allocation failure
	bus: arm-ccn: Fix use of smp_processor_id() in preemptible context
	bus: arm-ccn: fix module unloading Error: Removing state 147 which has instances left.
	IB/core: Avoid unnecessary return value check
	IB/core: Only enforce security for InfiniBand
	crypto: talitos - fix AEAD test failures
	crypto: talitos - fix memory corruption on SEC2
	crypto: talitos - fix setkey to check key weakness
	crypto: talitos - fix AEAD for sha224 on non sha224 capable chips
	crypto: talitos - fix use of sg_link_tbl_len
	crypto: talitos - fix ctr-aes-talitos
	ARM: BUG if jumping to usermode address in kernel mode
	ARM: avoid faulting on qemu
	irqchip/qcom: Fix u32 comparison with value less than zero
	net/smc: use sk_rcvbuf as start for rmb creation
	kbuild: pkg: use --transform option to prefix paths in tar
	coccinelle: fix parallel build with CHECK=scripts/coccicheck
	powerpc/perf: Fix pmu_count to count only nest imc pmus
	apparmor: fix leak of null profile name if profile allocation fails
	x86/mpx/selftests: Fix up weird arrays
	mac80211_hwsim: Fix memory leak in hwsim_new_radio_nl()
	gre6: use log_ecn_error module parameter in ip6_tnl_rcv()
	route: also update fnhe_genid when updating a route cache
	route: update fnhe_expires for redirect when the fnhe exists
	rsi: fix memory leak on buf and usb_reg_buf
	drivers/rapidio/devices/rio_mport_cdev.c: fix resource leak in error handling path in 'rio_dma_transfer()'
	pipe: match pipe_max_size data type with procfs
	lib/genalloc.c: make the avail variable an atomic_long_t
	dynamic-debug-howto: fix optional/omitted ending line number to be LARGE instead of 0
	NFS: Fix a typo in nfs_rename()
	sunrpc: Fix rpc_task_begin trace point
	nfp: inherit the max_mtu from the PF netdev
	nfp: fix flower offload metadata flag usage
	xfs: fix forgotten rcu read unlock when skipping inode reclaim
	dt-bindings: usb: fix reg-property port-number range
	block: wake up all tasks blocked in get_request()
	sparc64/mm: set fields in deferred pages
	zsmalloc: calling zs_map_object() from irq is a bug
	slub: fix sysfs duplicate filename creation when slub_debug=O
	sctp: do not free asoc when it is already dead in sctp_sendmsg
	sctp: use the right sk after waking up from wait_buf sleep
	fcntl: don't leak fd reference when fixup_compat_flock fails
	geneve: fix fill_info when link down
	bpf: fix lockdep splat
	clk: stm32h7: fix test of clock config
	clk: sunxi-ng: a83t: Fix i2c buses bits
	clk: qcom: common: fix legacy board-clock registration
	clk: uniphier: fix DAPLL2 clock rate of Pro5
	clk: hi3660: fix incorrect uart3 clock freqency
	mailbox: mailbox-test: don't rely on rx_buffer content to signal data ready
	kbuild: rpm-pkg: fix jobserver unavailable warning
	atm: horizon: Fix irq release error
	jump_label: Invoke jump_label_test() via early_initcall()
	tls: Use kzalloc for aead_request allocation
	xfrm: Copy policy family in clone_policy
	f2fs: fix to clear FI_NO_PREALLOC
	bnxt_re: changing the ip address shouldn't affect new connections
	IB/mlx4: Increase maximal message size under UD QP
	IB/mlx5: Assign send CQ and recv CQ of UMR QP
	afs: Fix total-length calculation for multiple-page send
	afs: Connect up the CB.ProbeUuid
	Linux 4.14.6

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2018-01-04 13:47:18 +01:00
Greg Kroah-Hartman
0730eb4486 This is the 4.14.5 stable release
-----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEEZH8oZUiU471FcZm+ONu9yGCSaT4FAlotK00ACgkQONu9yGCS
 aT4VoxAAxVKwGkMDtfw0TKTXOCkF3XSrq6H8+JEpsq94wvQAUzao1wAp/jptEO78
 OWpnxqoMrjfCHmo/qOaK3RzyzfGbYOI/vcXtMe+00vF8JTrJf6BxiPeZglz/0GFq
 5H3Uyk+7yIMMcyl8MfB5HAcmc53DcOESDEXaMmi2Cibsetn/ubZDrStoTQMza+/q
 tLIyT2gqMDaUGFexB2bFQGVlBTC7KfXQu3k3DzO7LqkJ+lgL4vWd64mX/PwhjfCL
 ZnlAlILKZEx+3xmMhCrzm1BLShdgSf+Uyetu1fuozog3guJsV+4gL7NBB4F/kW/l
 peb737yniAeAxWqB8X9woqHTPLzsFHBYVKK8hlmXy8l2753sCVm762b7ZorM94vU
 Muavxs1CU5Pl/t9EIERomfJpbNswR6345jV6tWNhjLL9pvzLKU+c4cMvxNwgy7ny
 bvHqbnnxXOU2Aztjp2HLo83e3UJwkc3vucsIzTJKrEQRUj4j5vdP9WJ4PQPUc1F3
 EkddgswICc5BZuDBhBkc+zdrjU8uf93V84z51DsZxkD/jj+SWDjgDJyME2UBFqff
 KGEHYXnDTJYRxfTcvUOB5/6XDFsQQLvxRKO3sWrDg7T8k1T3HFRjseYbhTo0Kv4n
 aZ/HHjvTDaSf7Z+wZx0ySy8rxiZcSE2c6J72Qxmadf123YUgLEI=
 =kRA1
 -----END PGP SIGNATURE-----

Merge 4.14.5 into android-4.14

Changes in 4.14.5
	drm/fsl-dcu: avoid disabling pixel clock twice on suspend
	drm/fsl-dcu: enable IRQ before drm_atomic_helper_resume()
	drm/amdgpu: Use unsigned ring indices in amdgpu_queue_mgr_map
	s390/runtime instrumentation: simplify task exit handling
	usbip: fix usbip attach to find a port that matches the requested speed
	usbip: Fix USB device hang due to wrong enabling of scatter-gather
	uas: Always apply US_FL_NO_ATA_1X quirk to Seagate devices
	usb: quirks: Add no-lpm quirk for KY-688 USB 3.1 Type-C Hub
	serial: 8250_pci: Add Amazon PCI serial device ID
	ANDROID: binder: fix transaction leak.
	USB: serial: option: add Quectel BG96 id
	USB: serial: usb_debug: add new USB device id
	serial: 8250_early: Only set divisor if valid clk & baud
	MIPS: Add custom serial.h with BASE_BAUD override for generic kernel
	ima: fix hash algorithm initialization
	s390: vfio-ccw: Do not attempt to free no-op, test and tic cda.
	PM / Domains: Fix genpd to deal with drivers returning 1 from ->prepare()
	s390/pci: do not require AIS facility
	selftests/x86/ldt_get: Add a few additional tests for limits
	selftests/x86/ldt_gdt: Robustify against set_thread_area() and LAR oddities
	staging: greybus: loopback: Fix iteration count on async path
	m68k: fix ColdFire node shift size calculation
	serial: 8250_fintek: Fix rs485 disablement on invalid ioctl()
	staging: rtl8822be: fix wrong dma unmap len
	staging: rtl8188eu: avoid a null dereference on pmlmepriv
	spi: sh-msiof: Fix DMA transfer size check
	spi: spi-axi: fix potential use-after-free after deregistration
	mmc: tmio: check mmc_regulator_get_supply return value
	mmc: sdhci-msm: fix issue with power irq
	hwmon: (pmbus/core) Prevent unintentional setting of page to 0xFF
	perf/core: Fix __perf_read_group_add() locking
	usb: phy: tahvo: fix error handling in tahvo_usb_probe()
	PCI: dra7xx: Create functional dependency between PCIe and PHY
	x86/intel_rdt: Initialize bitmask of shareable resource if CDP enabled
	x86/intel_rdt: Fix potential deadlock during resctrl mount
	serial: 8250: Preserve DLD[7:4] for PORT_XR17V35X
	kprobes: Use synchronize_rcu_tasks() for optprobe with CONFIG_PREEMPT=y
	x86/entry: Use SYSCALL_DEFINE() macros for sys_modify_ldt()
	clocksource/drivers/arm_arch_timer: Validate CNTFRQ after enabling frame
	dt-bindings: timer: renesas, cmt: Fix SoC-specific compatible values
	EDAC, sb_edac: Fix missing break in switch
	usb: mtu3: fix error return code in ssusb_gadget_init()
	staging: fsl-dpaa2/eth: Account for Rx FD buffers on error path
	staging: rtl8822be: Keep array subscript no lower than zero
	ARM: cpuidle: Correct driver unregistration if init fails
	usb: xhci: Return error when host is dead in xhci_disable_slot()
	sysrq : fix Show Regs call trace on ARM
	serial: sh-sci: suppress warning for ports without dma channels
	usbip: tools: Install all headers needed for libusbip development
	serial: imx: Update cached mctrl value when changing RTS
	staging: fsl-mc/dpio: Fix incorrect comparison
	perf test attr: Fix ignored test case result
	perf test attr: Fix python error on empty result
	kprobes/x86: Disable preemption in ftrace-based jprobes
	locking/refcounts, x86/asm: Use unique .text section for refcount exceptions
	s390/ptrace: fix guarded storage regset handling
	tools include: Do not use poison with C++
	perf tools: Fix leaking rec_argv in error cases
	mm, x86/mm: Fix performance regression in get_user_pages_fast()
	iio: adc: ti-ads1015: add 10% to conversion wait time
	iio: multiplexer: add NULL check on devm_kzalloc() and devm_kmemdup() return values
	locking/refcounts, x86/asm: Enable CONFIG_ARCH_HAS_REFCOUNT
	powerpc/jprobes: Disable preemption when triggered through ftrace
	powerpc/kprobes: Disable preemption before invoking probe handler for optprobes
	dma-buf/sw_sync: force signal all unsignaled fences on dying timeline
	staging: ccree: fix leak of import() after init()
	usb: hub: Cycle HUB power when initialization fails
	USB: ulpi: fix bus-node lookup
	xhci: Don't show incorrect WARN message about events for empty rings
	usb: xhci: fix panic in xhci_free_virt_devices_depth_first
	USB: core: Add type-specific length check of BOS descriptors
	USB: usbfs: Filter flags passed in from user space
	usb: host: fix incorrect updating of offset
	locking/refcounts: Do not force refcount_t usage as GPL-only export
	Linux 4.14.5

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2018-01-04 13:46:07 +01:00
Greg Kroah-Hartman
c5c36272cd This is the 4.14.4 stable release
-----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEEZH8oZUiU471FcZm+ONu9yGCSaT4FAlomdF8ACgkQONu9yGCS
 aT668xAAtbsoX6y/g11RT5/DsBoeIYgvNTzfcU3dGJC2/1rEx+pBOLFkGVNcK7nR
 wXD/DUFHWQRSsynke+gP8mjmWsRxwmoo0bv04eZ3Xdf8GGAVKIJQjUXV5jXOCPtw
 fMWshZkQlM11aus/bxEW0H7vqBK4DBLoYJ7H21i5SKkWubyUmDV6rX0So1w6sKYo
 RSvVG1MTkLjRSrSStgBKTBMoOdj6PfCKcQRmaqjPNZRP2+uqD+8NuUlbMZijxuYw
 U3lhXv8czRt0NSyA3pc9ucFR6DwAvc6VgVRvLec1+XzKHlvmCgBo9Tmsq5DcfT1B
 9owFlS53yzyEMk8o7FYznX5rDd32MBIejjAgpCKyXxurkv58NiwSs6VJIzHcNHJK
 2xc1nmZH8wIrUaYo7ecq6e7hN+TMvPK9wWyhsKauiofaJUY4c7pI2Qb37ddNPxpE
 11j3Vb0OlqxK3rAc+ElDmTe6GZ3rd2hLZU6nyPIqIWOrwgXf2zlB5X9ytZzR4gMi
 rZrzDyKNO3lRNhteb5qzGzT6bH5wMvDZUp6DhviSBd4FVSXfTT53AEDoYgk9OLE2
 rhaMVTu4zgRQi7AvM1PRyiVisQHwnXQUU6pGiXDWltFJMz9uPvHmMT8iZlCODePG
 3x/Hj4ZAXHARNKkDQCwvPz3zWffwugRdXzMiPN1oyDzxgzQuC/c=
 =bxe4
 -----END PGP SIGNATURE-----

Merge 4.14.4 into android-4.14

Changes in 4.14.4
	platform/x86: hp-wmi: Fix tablet mode detection for convertibles
	mm, memory_hotplug: do not back off draining pcp free pages from kworker context
	mm, oom_reaper: gather each vma to prevent leaking TLB entry
	mm, thp: Do not make page table dirty unconditionally in touch_p[mu]d()
	mm/cma: fix alloc_contig_range ret code/potential leak
	mm: fix device-dax pud write-faults triggered by get_user_pages()
	mm, hugetlbfs: introduce ->split() to vm_operations_struct
	device-dax: implement ->split() to catch invalid munmap attempts
	mm: introduce get_user_pages_longterm
	mm: fail get_vaddr_frames() for filesystem-dax mappings
	v4l2: disable filesystem-dax mapping support
	IB/core: disable memory registration of filesystem-dax vmas
	exec: avoid RLIMIT_STACK races with prlimit()
	mm/madvise.c: fix madvise() infinite loop under special circumstances
	mm: migrate: fix an incorrect call of prep_transhuge_page()
	mm, memcg: fix mem_cgroup_swapout() for THPs
	fs/fat/inode.c: fix sb_rdonly() change
	autofs: revert "autofs: take more care to not update last_used on path walk"
	autofs: revert "autofs: fix AT_NO_AUTOMOUNT not being honored"
	mm/hugetlb: fix NULL-pointer dereference on 5-level paging machine
	btrfs: clear space cache inode generation always
	nfsd: Fix stateid races between OPEN and CLOSE
	nfsd: Fix another OPEN stateid race
	nfsd: fix panic in posix_unblock_lock called from nfs4_laundromat
	crypto: algif_aead - skip SGL entries with NULL page
	crypto: af_alg - remove locking in async callback
	crypto: skcipher - Fix skcipher_walk_aead_common
	lockd: lost rollback of set_grace_period() in lockd_down_net()
	s390: revert ELF_ET_DYN_BASE base changes
	drm: omapdrm: Fix DPI on platforms using the DSI VDDS
	omapdrm: hdmi4: Correct the SoC revision matching
	apparmor: fix oops in audit_signal_cb hook
	arm64: module-plts: factor out PLT generation code for ftrace
	arm64: ftrace: emit ftrace-mod.o contents through code
	powerpc/powernv: Fix kexec crashes caused by tlbie tracing
	powerpc/kexec: Fix kexec/kdump in P9 guest kernels
	KVM: x86: pvclock: Handle first-time write to pvclock-page contains random junk
	KVM: x86: Exit to user-mode on #UD intercept when emulator requires
	KVM: x86: inject exceptions produced by x86_decode_insn
	KVM: lapic: Split out x2apic ldr calculation
	KVM: lapic: Fixup LDR on load in x2apic
	mmc: sdhci: Avoid swiotlb buffer being full
	mmc: block: Fix missing blk_put_request()
	mmc: block: Check return value of blk_get_request()
	mmc: core: Do not leave the block driver in a suspended state
	mmc: block: Ensure that debugfs files are removed
	mmc: core: prepend 0x to pre_eol_info entry in sysfs
	mmc: core: prepend 0x to OCR entry in sysfs
	ACPI / EC: Fix regression related to PM ops support in ECDT device
	eeprom: at24: fix reading from 24MAC402/24MAC602
	eeprom: at24: correctly set the size for at24mac402
	eeprom: at24: check at24_read/write arguments
	i2c: i801: Fix Failed to allocate irq -2147483648 error
	cxl: Check if vphb exists before iterating over AFU devices
	bcache: Fix building error on MIPS
	bcache: only permit to recovery read error when cache device is clean
	bcache: recover data from backing when data is clean
	hwmon: (jc42) optionally try to disable the SMBUS timeout
	nvme-pci: add quirk for delay before CHK RDY for WDC SN200
	Revert "drm/radeon: dont switch vt on suspend"
	drm/amdgpu: potential uninitialized variable in amdgpu_vce_ring_parse_cs()
	drm/amdgpu: Potential uninitialized variable in amdgpu_vm_update_directories()
	drm/amdgpu: correct reference clock value on vega10
	drm/amdgpu: fix error handling in amdgpu_bo_do_create
	drm/amdgpu: Properly allocate VM invalidate eng v2
	drm/amdgpu: Remove check which is not valid for certain VBIOS
	drm/ttm: fix ttm_bo_cleanup_refs_or_queue once more
	dma-buf: make reservation_object_copy_fences rcu save
	drm/amdgpu: reserve root PD while releasing it
	drm/ttm: Always and only destroy bo->ttm_resv in ttm_bo_release_list
	drm/vblank: Fix flip event vblank count
	drm/vblank: Tune drm_crtc_accurate_vblank_count() WARN down to a debug
	drm/tilcdc: Precalculate total frametime in tilcdc_crtc_set_mode()
	drm/radeon: fix atombios on big endian
	drm/panel: simple: Add missing panel_simple_unprepare() calls
	drm/hisilicon: Ensure LDI regs are properly configured.
	drm/ttm: once more fix ttm_buffer_object_transfer
	drm/amd/pp: fix typecast error in powerplay.
	drm/fb_helper: Disable all crtc's when initial setup fails.
	drm/fsl-dcu: Don't set connector DPMS property
	drm/edid: Don't send non-zero YQ in AVI infoframe for HDMI 1.x sinks
	drm/amdgpu: move UVD/VCE and VCN structure out from union
	drm/amdgpu: Set adev->vcn.irq.num_types for VCN
	include/linux/compiler-clang.h: handle randomizable anonymous structs
	IB/core: Do not warn on lid conversions for OPA
	IB/hfi1: Do not warn on lid conversions for OPA
	e1000e: fix the use of magic numbers for buffer overrun issue
	md: forbid a RAID5 from having both a bitmap and a journal.
	drm/i915: Fix false-positive assert_rpm_wakelock_held in i915_pmic_bus_access_notifier v2
	drm/i915: Re-register PMIC bus access notifier on runtime resume
	drm/i915/fbdev: Serialise early hotplug events with async fbdev config
	drm/i915/gvt: Correct ADDR_4K/2M/1G_MASK definition
	drm/i915: Don't try indexed reads to alternate slave addresses
	drm/i915: Prevent zero length "index" write
	Revert "x86/entry/64: Add missing irqflags tracing to native_load_gs_index()"
	Linux 4.14.4

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2018-01-04 13:44:57 +01:00
Greg Kroah-Hartman
50cb0d5ca6 This is the 4.14.3 stable release
-----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEEZH8oZUiU471FcZm+ONu9yGCSaT4FAlofxBwACgkQONu9yGCS
 aT664w/+JBr74jjVuHkYvVNeT/7f/ipvyU1R/yx6JckD5qtXCC3Sl5TbPzCzyK3g
 0FauMPFhMm588Slr6LxJ33DeNxJNTh8NO9TiLtbIeKD74z9j8u5ZCU8/9RW+s7vB
 SMZlHWbUmxO42zeEyx3GJz8iz/4YBLfQiBcb0kDvxepoEKRcwzWCUVA5lzsuepR7
 WKFJtg7kIAoZRXVgNaWBEF4hBc5o8Qz6bost8fmtqV7j07co80DSk+i9939HDeb6
 qzCPd5HturbpX5ItBVdzb799YIAoEM/BuSnqllzUjupmqEtMHuaqSr9Cfy6+8zbT
 mqbQed79qIWAhlJgjNsquBNMKnvrV5uMygvvVIB3ErwGdocR4n8JSXPSQ35GpXnv
 UtkCWPtNht+oqsSb/El353cbULOWHTM/JM0MYUXx38Zve5sKKlGZ3225TkTMQDHn
 0RCBOoVW9+SPQBod9c2oYuqFcWiBJDU6/k6f1ys3FRaMjRNP4w54iJ2NXywVKtif
 2Ot0TWzmjprlLu+0GazGhN/HP36UDiTKfjNV6cEAWmv7xjf5tEeRZ+UDds2LZvF2
 Ur+jkZ4MRxLg9k60Z8iTkw/hQfkp4URTjvWqwhXO0Yxw4sa2oEUej3STa4xYOU0R
 KLxNtI25YTj4R7PFoCXrVQi4xq3B9i9ZGqULaB6UR0XZ2x/miyA=
 =AQYK
 -----END PGP SIGNATURE-----

Merge 4.14.3 into android-4.14

Changes in 4.14.3
	s390: fix transactional execution control register handling
	s390/noexec: execute kexec datamover without DAT
	s390/runtime instrumention: fix possible memory corruption
	s390/guarded storage: fix possible memory corruption
	s390/disassembler: add missing end marker for e7 table
	s390/disassembler: increase show_code buffer size
	ACPI / PM: Fix acpi_pm_notifier_lock vs flush_workqueue() deadlock
	ACPI / EC: Fix regression related to triggering source of EC event handling
	cpufreq: schedutil: Reset cached_raw_freq when not in sync with next_freq
	serdev: fix registration of second slave
	sched: Make resched_cpu() unconditional
	lib/mpi: call cond_resched() from mpi_powm() loop
	x86/boot: Fix boot failure when SMP MP-table is based at 0
	x86/decoder: Add new TEST instruction pattern
	x86/entry/64: Fix entry_SYSCALL_64_after_hwframe() IRQ tracing
	x86/entry/64: Add missing irqflags tracing to native_load_gs_index()
	perf/x86/intel: Hide TSX events when RTM is not supported
	arm64: Implement arch-specific pte_access_permitted()
	ARM: 8722/1: mm: make STRICT_KERNEL_RWX effective for LPAE
	ARM: 8721/1: mm: dump: check hardware RO bit for LPAE
	uapi: fix linux/tls.h userspace compilation error
	uapi: fix linux/rxrpc.h userspace compilation errors
	MIPS: cmpxchg64() and HAVE_VIRT_CPU_ACCOUNTING_GEN don't work for 32-bit SMP
	MIPS: ralink: Fix MT7628 pinmux
	MIPS: ralink: Fix typo in mt7628 pinmux function
	net: mvneta: fix handling of the Tx descriptor counter
	nbd: wait uninterruptible for the dead timeout
	nbd: don't start req until after the dead connection logic
	PM / OPP: Add missing of_node_put(np)
	PCI/ASPM: Account for downstream device's Port Common_Mode_Restore_Time
	PCI/ASPM: Use correct capability pointer to program LTR_L1.2_THRESHOLD
	PCI: hv: Use effective affinity mask
	PCI: Set Cavium ACS capability quirk flags to assert RR/CR/SV/UF
	PCI: Apply Cavium ThunderX ACS quirk to more Root Ports
	ALSA: hda: Add Raven PCI ID
	dm integrity: allow unaligned bv_offset
	dm cache: fix race condition in the writeback mode overwrite_bio optimisation
	dm crypt: allow unaligned bv_offset
	dm zoned: ignore last smaller runt zone
	dm mpath: remove annoying message of 'blk_get_request() returned -11'
	dm bufio: fix integer overflow when limiting maximum cache size
	ovl: Put upperdentry if ovl_check_origin() fails
	dm: allocate struct mapped_device with kvzalloc
	sched/rt: Simplify the IPI based RT balancing logic
	MIPS: pci: Remove KERN_WARN instance inside the mt7620 driver
	dm: fix race between dm_get_from_kobject() and __dm_destroy()
	dm: discard support requires all targets in a table support discards
	MIPS: Fix odd fp register warnings with MIPS64r2
	MIPS: Fix MIPS64 FP save/restore on 32-bit kernels
	MIPS: dts: remove bogus bcm96358nb4ser.dtb from dtb-y entry
	MIPS: Fix an n32 core file generation regset support regression
	MIPS: BCM47XX: Fix LED inversion for WRT54GSv1
	MIPS: math-emu: Fix final emulation phase for certain instructions
	rt2x00usb: mark device removed when get ENOENT usb error
	mm/z3fold.c: use kref to prevent page free/compact race
	autofs: don't fail mount for transient error
	nilfs2: fix race condition that causes file system corruption
	fscrypt: lock mutex before checking for bounce page pool
	eCryptfs: use after free in ecryptfs_release_messaging()
	libceph: don't WARN() if user tries to add invalid key
	bcache: check ca->alloc_thread initialized before wake up it
	fs: guard_bio_eod() needs to consider partitions
	fanotify: fix fsnotify_prepare_user_wait() failure
	isofs: fix timestamps beyond 2027
	btrfs: change how we decide to commit transactions during flushing
	f2fs: expose some sectors to user in inline data or dentry case
	NFS: Fix typo in nomigration mount option
	NFS: Revert "NFS: Move the flock open mode check into nfs_flock()"
	nfs: Fix ugly referral attributes
	NFS: Avoid RCU usage in tracepoints
	NFS: revalidate "." etc correctly on "open".
	nfsd: deal with revoked delegations appropriately
	rtlwifi: rtl8192ee: Fix memory leak when loading firmware
	rtlwifi: fix uninitialized rtlhal->last_suspend_sec time
	iwlwifi: fix firmware names for 9000 and A000 series hw
	md: fix deadlock error in recent patch.
	md: don't check MD_SB_CHANGE_CLEAN in md_allow_write
	Bluetooth: btqcomsmd: Add support for BD address setup
	md/bitmap: revert a patch
	fsnotify: clean up fsnotify_prepare/finish_user_wait()
	fsnotify: pin both inode and vfsmount mark
	fsnotify: fix pinning group in fsnotify_prepare_user_wait()
	ata: fixes kernel crash while tracing ata_eh_link_autopsy event
	ext4: fix interaction between i_size, fallocate, and delalloc after a crash
	ext4: prevent data corruption with inline data + DAX
	ext4: prevent data corruption with journaling + DAX
	ALSA: pcm: update tstamp only if audio_tstamp changed
	ALSA: usb-audio: Add sanity checks to FE parser
	ALSA: usb-audio: Fix potential out-of-bound access at parsing SU
	ALSA: usb-audio: Add sanity checks in v2 clock parsers
	ALSA: timer: Remove kernel warning at compat ioctl error paths
	ALSA: hda/realtek - Fix ALC275 no sound issue
	ALSA: hda: Fix too short HDMI/DP chmap reporting
	ALSA: hda - Fix yet remaining issue with vmaster 0dB initialization
	ALSA: hda/realtek - Fix ALC700 family no sound issue
	ASoC: sun8i-codec: Invert Master / Slave condition
	ASoC: sun8i-codec: Fix left and right channels inversion
	ASoC: sun8i-codec: Set the BCLK divider
	mfd: lpc_ich: Avoton/Rangeley uses SPI_BYT method
	fix a page leak in vhost_scsi_iov_to_sgl() error recovery
	9p: Fix missing commas in mount options
	fs/9p: Compare qid.path in v9fs_test_inode
	net/9p: Switch to wait_event_killable()
	scsi: qla2xxx: Suppress a kernel complaint in qla_init_base_qpair()
	scsi: sd_zbc: Fix sd_zbc_read_zoned_characteristics()
	scsi: lpfc: fix pci hot plug crash in timer management routines
	scsi: lpfc: fix pci hot plug crash in list_add call
	scsi: lpfc: Fix crash receiving ELS while detaching driver
	scsi: lpfc: Fix FCP hba_wqidx assignment
	scsi: lpfc: Fix oops if nvmet_fc_register_targetport fails
	iscsi-target: Make TASK_REASSIGN use proper se_cmd->cmd_kref
	iscsi-target: Fix non-immediate TMR reference leak
	target: fix null pointer regression in core_tmr_drain_tmr_list
	target: fix buffer offset in core_scsi3_pri_read_full_status
	target: Fix QUEUE_FULL + SCSI task attribute handling
	target: Fix caw_sem leak in transport_generic_request_failure
	target: Fix quiese during transport_write_pending_qf endless loop
	target: Avoid early CMD_T_PRE_EXECUTE failures during ABORT_TASK
	mtd: Avoid probe failures when mtd->dbg.dfs_dir is invalid
	mtd: nand: Export nand_reset() symbol
	mtd: nand: atmel: Actually use the PM ops
	mtd: nand: omap2: Fix subpage write
	mtd: nand: Fix writing mtdoops to nand flash.
	mtd: nand: mtk: fix infinite ECC decode IRQ issue
	mailbox: bcm-flexrm-mailbox: Fix FlexRM ring flush sequence
	p54: don't unregister leds when they are not initialized
	block: Fix a race between blk_cleanup_queue() and timeout handling
	raid1: prevent freeze_array/wait_all_barriers deadlock
	genirq: Track whether the trigger type has been set
	irqchip/gic-v3: Fix ppi-partitions lookup
	lockd: double unregister of inetaddr notifiers
	KVM: PPC: Book3S HV: Don't call real-mode XICS hypercall handlers if not enabled
	KVM: nVMX: set IDTR and GDTR limits when loading L1 host state
	KVM: SVM: obey guest PAT
	kvm: vmx: Reinstate support for CPUs without virtual NMI
	dax: fix PMD faults on zero-length files
	dax: fix general protection fault in dax_alloc_inode
	SUNRPC: Fix tracepoint storage issues with svc_recv and svc_rqst_status
	clk: ti: dra7-atl-clock: fix child-node lookups
	libnvdimm, dimm: clear 'locked' status on successful DIMM enable
	libnvdimm, pfn: make 'resource' attribute only readable by root
	libnvdimm, namespace: fix label initialization to use valid seq numbers
	libnvdimm, region : make 'resource' attribute only readable by root
	libnvdimm, namespace: make 'resource' attribute only readable by root
	svcrdma: Preserve CB send buffer across retransmits
	IB/srpt: Do not accept invalid initiator port names
	IB/cm: Fix memory corruption in handling CM request
	IB/hfi1: Fix incorrect available receive user context count
	IB/srp: Avoid that a cable pull can trigger a kernel crash
	IB/core: Avoid crash on pkey enforcement failed in received MADs
	IB/core: Only maintain real QPs in the security lists
	NFC: fix device-allocation error return
	spi-nor: intel-spi: Fix broken software sequencing codes
	i40e: Use smp_rmb rather than read_barrier_depends
	igb: Use smp_rmb rather than read_barrier_depends
	igbvf: Use smp_rmb rather than read_barrier_depends
	ixgbevf: Use smp_rmb rather than read_barrier_depends
	i40evf: Use smp_rmb rather than read_barrier_depends
	fm10k: Use smp_rmb rather than read_barrier_depends
	ixgbe: Fix skb list corruption on Power systems
	parisc: Fix validity check of pointer size argument in new CAS implementation
	powerpc: Fix boot on BOOK3S_32 with CONFIG_STRICT_KERNEL_RWX
	powerpc/mm/radix: Fix crashes on Power9 DD1 with radix MMU and STRICT_RWX
	powerpc/perf/imc: Use cpu_to_node() not topology_physical_package_id()
	powerpc/signal: Properly handle return value from uprobe_deny_signal()
	powerpc/64s: Fix masking of SRR1 bits on instruction fault
	powerpc/64s/radix: Fix 128TB-512TB virtual address boundary case allocation
	powerpc/64s/hash: Fix 512T hint detection to use >= 128T
	powerpc/64s/hash: Fix 128TB-512TB virtual address boundary case allocation
	powerpc/64s/hash: Fix fork() with 512TB process address space
	powerpc/64s/hash: Allow MAP_FIXED allocations to cross 128TB boundary
	media: Don't do DMA on stack for firmware upload in the AS102 driver
	media: rc: check for integer overflow
	media: rc: nec decoder should not send both repeat and keycode
	cx231xx-cards: fix NULL-deref on missing association descriptor
	media: v4l2-ctrl: Fix flags field on Control events
	media: venus: fix wrong size on dma_free
	media: venus: venc: fix bytesused v4l2_plane field
	media: venus: reimplement decoder stop command
	ARM64: dts: meson-gxl: Add alternate ARM Trusted Firmware reserved memory zone
	iwlwifi: fix wrong struct for a000 device
	iwlwifi: add a new a000 device
	iwlwifi: pcie: sort IDs for the 9000 series for easier comparisons
	iwlwifi: add new cards for a000 series
	iwlwifi: add new cards for 8265 series
	iwlwifi: add new cards for 8260 series
	iwlwifi: fix PCI IDs and configuration mapping for 9000 series
	iwlwifi: mvm: support version 7 of the SCAN_REQ_UMAC FW command
	e1000e: Fix error path in link detection
	e1000e: Fix return value test
	e1000e: Separate signaling for link check/link up
	e1000e: Avoid receiver overrun interrupt bursts
	e1000e: fix buffer overrun while the I219 is processing DMA transactions
	Linux 4.14.3

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2018-01-04 13:41:17 +01:00
Greg Kroah-Hartman
fbbc906cb4 This is the 4.14.2 stable release
-----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEEZH8oZUiU471FcZm+ONu9yGCSaT4FAloXzCIACgkQONu9yGCS
 aT4PjRAAv+4V+QToo6x0P/xo0B6Bwkary9XdiZd+ae9kaJ9SD+AExtvAXaBN2zEC
 Imm+D9a9Z73LmbsYI4e6ASJ6h1bbo0jEGeUOCRWImigxawfLvPjJtPPXC4j+LaTJ
 YxNCES40SeogeiA+gHKg0RXHdg08xGuBMncBZHG+yXom2bJ9b7Y5AQzy0H08L6Yq
 dixKoBci6kM65NaYEbaquVOUkYUvUazBdpe+pVnRzMh5WrY9V+iV1MuEt7PcQApQ
 ar9Y+4Tlgvpf4v5a4TEmk1v98RhAbQd2meY0mVzrDUX/TFldndxpZaTahK25oGDv
 BbS04ToyIrxp3Oyi8EzlLOiK477iZNUXkHquLx7xUC8meJkxPHFE3gk/QYtuCEKC
 YAA1Y6VXJ4VGJPzabcuoX9Do7PcxTtqr0eD6unAj6v1pmDx60svHOpm6AF2gpMdN
 HlEitjLoSK6mcun0rwvjCSkAnn5rTevxEsTeJEoaRC+4qySQpwfgPImzN/KJ/FGB
 eff/Mlx28t0/Y4GA+08UGkwhEMnwomIcSOxAvkDmDb0OU+lUKMgIepiSSpc/XkI5
 4oFgeVSSKelYeEAKWhEi6q2z8ytqY2tDStFFiM/Azi32RwXdXqs2WwnQkAIVBVoU
 2EUMWg8BFRirix/XUoegmKOoWHQdEzPDcCwka0nKTvBOkJHBrco=
 =/dos
 -----END PGP SIGNATURE-----

Merge 4.14.2 into android-4.14

Changes in 4.14.2
	bio: ensure __bio_clone_fast copies bi_partno
	af_netlink: ensure that NLMSG_DONE never fails in dumps
	vxlan: fix the issue that neigh proxy blocks all icmpv6 packets
	net: cdc_ncm: GetNtbFormat endian fix
	fealnx: Fix building error on MIPS
	net/sctp: Always set scope_id in sctp_inet6_skb_msgname
	ima: do not update security.ima if appraisal status is not INTEGRITY_PASS
	serial: omap: Fix EFR write on RTS deassertion
	serial: 8250_fintek: Fix finding base_port with activated SuperIO
	tpm-dev-common: Reject too short writes
	rcu: Fix up pending cbs check in rcu_prepare_for_idle
	mm/pagewalk.c: report holes in hugetlb ranges
	ocfs2: fix cluster hang after a node dies
	ocfs2: should wait dio before inode lock in ocfs2_setattr()
	ipmi: fix unsigned long underflow
	mm/page_alloc.c: broken deferred calculation
	mm/page_ext.c: check if page_ext is not prepared
	coda: fix 'kernel memory exposure attempt' in fsync
	ipmi: Prefer ACPI system interfaces over SMBIOS ones
	Linux 4.14.2

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2018-01-04 13:31:17 +01:00
Greg Kroah-Hartman
dc6bfa1865 This is the 4.14.1 stable release
-----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEEZH8oZUiU471FcZm+ONu9yGCSaT4FAloT6JYACgkQONu9yGCS
 aT72KQ/+I0tmoW72a4/Vn8/vgPT7kMiEmb5ITh+ZAS+s3g2gzDV7/xNSN0lM/YLc
 E8bLIbLDkgVGysH3uqdTMfjOGLs9OtQ/rn8II4f412OzalPEADaR1UR/2eYRl+F6
 htlozp1cEZJ3SrLUXRW8Gn4HN6v5u/0LW9HcQcGsmi0a24R3DlWXLJ2l/SolncB8
 85asWspXoLj4oUkGkJkKxSknae+AsegWJcAvs3hy1AlPXeb+mPGZV3K8lWhm9jdV
 4vl0KqeGan1sNv0kw9jwDGGo8nATLQSSq1Vfl6DKZbKS7Inz8eJoZD9BlQdpSUQ2
 dddPCvvcTWZx+2aZY5kHQxrn//9PHaQnCxpPouoO11kp8vENcefBWBEOGcadhvJW
 oJYOaamyjOJr8powGTtwys9D5JRPQkTS6FJNcUg1rTb4QhHk7ADl0pYo0xuTXaIE
 rymE6oIJAUzNj5Execsn1fCWwl6/1/ZZTeGkvElazDrR/OmFb9Dqoq3NUovsRd4C
 h009XonLVaA0lHp+4/Z/QPLR+vgUr/MHp0XgbpdEJ9DokpmScPdpGNVZcwe7es31
 pW14doas+4l/VY0CXahCMwh5oJ0eDm6NIeEUnWlo7C/hFfoHhpYWlzNkmgJ3MDyq
 NwJ6RfpxFV1Lrfs6mZMhWp4gZ6/wXXMD2EbVe8GiHLTjUGDeh0A=
 =HiFb
 -----END PGP SIGNATURE-----

Merge 4.14.1 into android-4.14

Changes in 4.14.1
	EDAC, sb_edac: Don't create a second memory controller if HA1 is not present
	dmaengine: dmatest: warn user when dma test times out
	media: imon: Fix null-ptr-deref in imon_probe
	media: dib0700: fix invalid dvb_detach argument
	crypto: dh - Fix double free of ctx->p
	crypto: dh - Don't permit 'p' to be 0
	crypto: dh - Don't permit 'key' or 'g' size longer than 'p'
	crypto: brcm - Explicity ACK mailbox message
	USB: early: Use new USB product ID and strings for DbC device
	USB: usbfs: compute urb->actual_length for isochronous
	USB: Add delay-init quirk for Corsair K70 LUX keyboards
	usb: gadget: f_fs: Fix use-after-free in ffs_free_inst
	USB: serial: metro-usb: stop I/O after failed open
	USB: serial: Change DbC debug device binding ID
	USB: serial: qcserial: add pid/vid for Sierra Wireless EM7355 fw update
	USB: serial: garmin_gps: fix I/O after failed probe and remove
	USB: serial: garmin_gps: fix memory leak on probe errors
	selftests/x86/protection_keys: Fix syscall NR redefinition warnings
	x86/MCE/AMD: Always give panic severity for UC errors in kernel context
	platform/x86: peaq-wmi: Add DMI check before binding to the WMI interface
	platform/x86: peaq_wmi: Fix missing terminating entry for peaq_dmi_table
	HID: cp2112: add HIDRAW dependency
	HID: wacom: generic: Recognize WACOM_HID_WD_PEN as a type of pen collection
	rpmsg: glink: Add missing MODULE_LICENSE
	staging: wilc1000: Fix bssid buffer offset in Txq
	staging: sm750fb: Fix parameter mistake in poke32
	staging: ccree: fix 64 bit scatter/gather DMA ops
	staging: greybus: spilib: fix use-after-free after deregistration
	staging: vboxvideo: Fix reporting invalid suggested-offset-properties
	staging: rtl8188eu: Revert 4 commits breaking ARP
	spi: fix use-after-free at controller deregistration
	sparc32: Add cmpxchg64().
	sparc64: mmu_context: Add missing include files
	sparc64: Fix page table walk for PUD hugepages
	Linux 4.14.1

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2018-01-04 13:27:10 +01:00
Runmin Wang
5b3d3092b2 Merge remote-tracking branch 'remotes/origin/tmp-b8ce823' into msm-4.14
* remotes/origin/tmp-b8ce823:
  Linux 4.14.10
  Revert "ipmi_si: fix memory leak on new_smi"
  net: mvneta: eliminate wrong call to handle rx descriptor error
  net: mvneta: use proper rxq_number in loop on rx queues
  net: mvneta: clear interface link status on port disable
  libnvdimm, pfn: fix start_pad handling for aligned namespaces
  libnvdimm, btt: Fix an incompatibility in the log layout
  libnvdimm, dax: fix 1GB-aligned namespaces vs physical misalignment
  drm/sun4i: Fix error path handling
  drm/i915: Flush pending GTT writes before unbinding
  powerpc/perf: Dereference BHRB entries safely
  clk: sunxi: sun9i-mmc: Implement reset callback for reset controls
  kvm: x86: fix RSM when PCID is non-zero
  KVM: X86: Fix load RFLAGS w/o the fixed bit
  KVM: MMU: Fix infinite loop when there is no available mmu page
  KVM: PPC: Book3S HV: Fix pending_pri value in kvmppc_xive_get_icp()
  KVM: PPC: Book3S: fix XIVE migration of pending interrupts
  KVM: arm/arm64: Fix HYP unmapping going off limits
  arm64: kvm: Prevent restoring stale PMSCR_EL1 for vcpu
  pinctrl: cherryview: Mask all interrupts on Intel_Strago based systems
  spi: a3700: Fix clk prescaling for coefficient over 15
  spi: xilinx: Detect stall with Unknown commands
  Revert "parisc: Re-enable interrupts early"
  parisc: Hide Diva-built-in serial aux and graphics card
  parisc: Fix indenting in puts()
  parisc: Align os_hpmc_size on word boundary
  block-throttle: avoid double charge
  block: unalign call_single_data in struct request
  PCI / PM: Force devices to D0 in pci_pm_thaw_noirq()
  ALSA: usb-audio: Fix the missing ctl name suffix at parsing SU
  ALSA: usb-audio: Add native DSD support for Esoteric D-05X
  ALSA: hda - Add vendor id for Cannonlake HDMI codec
  ALSA: hda/realtek - Fix Dell AIO LineOut issue
  ALSA: rawmidi: Avoid racy info ioctl via ctl device
  mfd: twl6040: Fix child-node lookup
  mfd: twl4030-audio: Fix sibling-node lookup
  mfd: cros ec: spi: Don't send first message too soon
  crypto: af_alg - fix race accessing cipher request
  crypto: af_alg - wait for data at beginning of recvmsg
  crypto: mcryptd - protect the per-CPU queue with a lock
  crypto: skcipher - set walk.iv for zero-length inputs
  acpi, nfit: fix health event notification
  ACPI: APEI / ERST: Fix missing error handling in erst_reader()
  x86/cpu_entry_area: Prevent wraparound in setup_cpu_entry_area_ptes() on 32bit
  init: Invoke init_espfix_bsp() from mm_init()
  x86/cpu_entry_area: Move it out of the fixmap
  x86/cpu_entry_area: Move it to a separate unit
  x86/mm: Create asm/invpcid.h
  x86/mm: Put MMU to hardware ASID translation in one place
  x86/mm: Remove hard-coded ASID limit checks
  x86/mm: Move the CR3 construction functions to tlbflush.h
  x86/mm: Add comments to clarify which TLB-flush functions are supposed to flush what
  x86/mm: Remove superfluous barriers
  x86/mm: Use __flush_tlb_one() for kernel memory
  x86/microcode: Dont abuse the TLB-flush interface
  x86/uv: Use the right TLB-flush API
  x86/entry: Rename SYSENTER_stack to CPU_ENTRY_AREA_entry_stack
  x86/doc: Remove obvious weirdnesses from the x86 MM layout documentation
  x86/mm/64: Improve the memory map documentation
  x86/ldt: Prevent LDT inheritance on exec
  x86/ldt: Rework locking
  arch, mm: Allow arch_dup_mmap() to fail
  x86/vsyscall/64: Warn and fail vsyscall emulation in NATIVE mode
  x86/vsyscall/64: Explicitly set _PAGE_USER in the pagetable hierarchy
  x86/mm/dump_pagetables: Make the address hints correct and readable
  x86/mm/dump_pagetables: Check PAGE_PRESENT for real
  x86/Kconfig: Limit NR_CPUS on 32-bit to a sane amount
  x86/insn-eval: Add utility functions to get segment selector
  x86/decoder: Fix and update the opcodes map
  objtool: Fix 64-bit build on 32-bit host
  tools/headers: Sync objtool UAPI header
  objtool: Fix cross-build
  objtool: Move kernel headers/code sync check to a script
  objtool: Move synced files to their original relative locations
  Revert "ipv6: grab rt->rt6i_ref before allocating pcpu rt"

Change-Id: Icb04a656eb49a1571081b17189a9e02973398e97
Signed-off-by: Runmin Wang <runminw@codeaurora.org>
2018-01-02 14:01:48 -08:00
Runmin Wang
a35d45d785 Merge remote-tracking branch 'remotes/origin/tmp-dad5c14' into msm-4.14
* remotes/origin/tmp-dad5c14:
  Linux 4.14.9
  linux/compiler.h: Split into compiler.h and compiler_types.h
  selftests/bpf: add tests for recent bugfixes
  bpf: fix integer overflows
  bpf: don't prune branches when a scalar is replaced with a pointer
  bpf: force strict alignment checks for stack pointers
  bpf: fix missing error return in check_stack_boundary()
  bpf: fix 32-bit ALU op verification
  bpf: fix incorrect tracking of register size truncation
  bpf: fix incorrect sign extension in check_alu_op()
  bpf/verifier: fix bounds calculation on BPF_RSH
  bpf, sparc: fix usage of wrong reg for load_skb_regs after call
  bpf, ppc64: do not reload skb pointers in non-skb context
  bpf, s390x: do not reload skb pointers in non-skb context
  bpf: fix corruption on concurrent perf_event_output calls
  bpf: fix branch pruning logic
  mm/sparsemem: Fix ARM64 boot crash when CONFIG_SPARSEMEM_EXTREME=y
  platform/x86: asus-wireless: send an EV_SYN/SYN_REPORT between state changes
  thermal/drivers/hisi: Fix multiple alarm interrupts firing
  thermal/drivers/hisi: Simplify the temperature/step computation
  thermal/drivers/hisi: Fix kernel panic on alarm interrupt
  thermal/drivers/hisi: Fix missing interrupt enablement
  IB/opa_vnic: Properly return the total MACs in UC MAC list
  IB/opa_vnic: Properly clear Mac Table Digest
  drm/vc4: Avoid using vrefresh==0 mode in DSI htotal math.
  cpuidle: fix broadcast control when broadcast can not be entered
  rtc: set the alarm to the next expiring timer
  tcp: fix under-evaluated ssthresh in TCP Vegas
  clk: sunxi-ng: sun6i: Rename HDMI DDC clock to avoid name collision
  staging: greybus: light: Release memory obtained by kasprintf
  RDMA/hns: Avoid NULL pointer exception
  net: ipv6: send NS for DAD when link operationally up
  ibmvnic: Set state UP
  fm10k: ensure we process SM mbx when processing VF mbx
  ARM: exynos_defconfig: Enable UAS support for Odroid HC1 board
  vfio/pci: Virtualize Maximum Payload Size
  i40e: fix client notify of VF reset
  scsi: lpfc: Fix warning messages when NVME_TARGET_FC not defined
  scsi: lpfc: PLOGI failures during NPIV testing
  scsi: lpfc: Fix secure firmware updates
  fm10k: fix mis-ordered parameters in declaration for .ndo_set_vf_bw
  ASoC: codecs: msm8916-wcd-analog: fix module autoload
  sctp: silence warns on sctp_stream_init allocations
  powerpc/watchdog: Do not trigger SMP crash from touch_nmi_watchdog
  powerpc/xmon: Avoid tripping SMP hardlockup watchdog
  ASoC: img-parallel-out: Add pm_runtime_get/put to set_fmt callback
  ASoC: codecs: msm8916-wcd-analog: fix micbias level
  tracing: Exclude 'generic fields' from histograms
  PCI/AER: Report non-fatal errors only to the affected endpoint
  i40e/i40evf: spread CPU affinity hints across online CPUs only
  Bluetooth: hci_bcm: Fix setting of irq trigger type
  Bluetooth: hci_uart_set_flow_control: Fix NULL deref when using serdev
  leds: pca955x: Don't invert requested value in pca955x_gpio_set_value()
  ipv6: grab rt->rt6i_ref before allocating pcpu rt
  ip_gre: check packet length and mtu correctly in erspan tx
  md: always set THREAD_WAKEUP and wake up wqueue if thread existed
  block,bfq: Disable writeback throttling
  IB/rxe: check for allocation failure on elem
  ixgbe: fix use of uninitialized padding
  iio: st_sensors: add register mask for status register
  i40e: use the safe hash table iterator when deleting mac filters
  igb: check memory allocation failure
  PM / OPP: Move error message to debug level
  PCI: Create SR-IOV virtfn/physfn links before attaching driver
  scsi: mpt3sas: Fix IO error occurs on pulling out a drive from RAID1 volume created on two SATA drive
  scsi: cxgb4i: fix Tx skb leak
  PCI: Avoid bus reset if bridge itself is broken
  net: phy: at803x: Change error to EINVAL for invalid MAC
  kvm, mm: account kvm related kmem slabs to kmemcg
  rtc: pl031: make interrupt optional
  crypto: lrw - Fix an error handling path in 'create()'
  crypto: crypto4xx - increase context and scatter ring buffer elements
  clk: sunxi-ng: sun5i: Fix bit offset of audio PLL post-divider
  clk: sunxi-ng: nm: Check if requested rate is supported by fractional clock
  drm: Add retries for lspcon mode detection
  backlight: pwm_bl: Fix overflow condition
  optee: fix invalid of_node_put() in optee_driver_init()
  x86/cpufeatures: Make CPU bugs sticky
  x86/paravirt: Provide a way to check for hypervisors
  x86/paravirt: Dont patch flush_tlb_single
  x86/entry/64: Make cpu_entry_area.tss read-only
  x86/entry: Clean up the SYSENTER_stack code
  x86/entry/64: Remove the SYSENTER stack canary
  x86/entry/64: Move the IST stacks into struct cpu_entry_area
  x86/entry/64: Create a per-CPU SYSCALL entry trampoline
  x86/entry/64: Return to userspace from the trampoline stack
  x86/entry/64: Use a per-CPU trampoline stack for IDT entries
  x86/espfix/64: Stop assuming that pt_regs is on the entry stack
  x86/entry/64: Separate cpu_current_top_of_stack from TSS.sp0
  x86/entry: Remap the TSS into the CPU entry area
  x86/entry: Move SYSENTER_stack to the beginning of struct tss_struct
  x86/dumpstack: Handle stack overflow on all stacks
  x86/entry: Fix assumptions that the HW TSS is at the beginning of cpu_tss
  x86/kasan/64: Teach KASAN about the cpu_entry_area
  x86/mm/fixmap: Generalize the GDT fixmap mechanism, introduce struct cpu_entry_area
  x86/entry/gdt: Put per-CPU GDT remaps in ascending order
  x86/dumpstack: Add get_stack_info() support for the SYSENTER stack
  x86/entry/64: Allocate and enable the SYSENTER stack
  x86/irq/64: Print the offending IP in the stack overflow warning
  x86/irq: Remove an old outdated comment about context tracking races
  x86/unwinder: Handle stack overflows more gracefully
  x86/unwinder/orc: Dont bail on stack overflow
  x86/entry/64/paravirt: Use paravirt-safe macro to access eflags
  x86/mm/kasan: Don't use vmemmap_populate() to initialize shadow
  locking/barriers: Convert users of lockless_dereference() to READ_ONCE()
  locking/barriers: Add implicit smp_read_barrier_depends() to READ_ONCE()
  bpf: fix build issues on um due to mising bpf_perf_event.h
  perf/x86: Enable free running PEBS for REGS_USER/INTR
  x86: Make X86_BUG_FXSAVE_LEAK detectable in CPUID on AMD
  x86/cpufeature: Add User-Mode Instruction Prevention definitions
  drivers/misc/intel/pti: Rename the header file to free up the namespace
  x86/virt: Add enum for hypervisors to replace x86_hyper
  x86/virt, x86/platform: Merge 'struct x86_hyper' into 'struct x86_platform' and 'struct x86_init'
  ACPI / APEI: Replace ioremap_page_range() with fixmap
  selftests/x86/ldt_gdt: Run most existing LDT test cases against the GDT as well
  selftests/x86/ldt_gdt: Add infrastructure to test set_thread_area()
  x86/cpufeatures: Fix various details in the feature definitions
  x86/cpufeatures: Re-tabulate the X86_FEATURE definitions
  x86/mm: Define _PAGE_TABLE using _KERNPG_TABLE
  bitops: Revert cbe96375025e ("bitops: Add clear/set_bit32() to linux/bitops.h")
  x86/cpuid: Replace set/clear_bit32()
  x86/entry/64: Shorten TEST instructions
  x86/traps: Use a new on_thread_stack() helper to clean up an assertion
  x86/entry/64: Remove thread_struct::sp0
  x86/entry/32: Fix cpu_current_top_of_stack initialization at boot
  x86/entry/64: Remove all remaining direct thread_struct::sp0 reads
  x86/entry/64: Stop initializing TSS.sp0 at boot
  x86/xen/64, x86/entry/64: Clean up SP code in cpu_initialize_context()
  x86/entry: Add task_top_of_stack() to find the top of a task's stack
  x86/entry/64: Pass SP0 directly to load_sp0()
  x86/entry/32: Pull the MSR_IA32_SYSENTER_CS update code out of native_load_sp0()
  x86/entry/64: De-Xen-ify our NMI code
  xen, x86/entry/64: Add xen NMI trap entry
  x86/entry/64: Remove the RESTORE_..._REGS infrastructure
  x86/entry/64: Use POP instead of MOV to restore regs on NMI return
  x86/entry/64: Merge the fast and slow SYSRET paths
  x86/entry/64: Use pop instead of movq in syscall_return_via_sysret
  x86/entry/64: Shrink paranoid_exit_restore and make labels local
  x86/entry/64: Simplify reg restore code in the standard IRET paths
  x86/entry/64: Move SWAPGS into the common IRET-to-usermode path
  x86/entry/64: Split the IRET-to-user and IRET-to-kernel paths
  x86/entry/64: Remove the restore_c_regs_and_iret label
  ptrace,x86: Make user_64bit_mode() available to 32-bit builds
  x86/boot: Relocate definition of the initial state of CR0
  x86/mm: Relocate page fault error codes to traps.h
  x86/cpufeatures: Enable new SSE/AVX/AVX512 CPU features
  x86/mm/64: Rename the register_page_bootmem_memmap() 'size' parameter to 'nr_pages'
  x86/build: Beautify build log of syscall headers
  x86/asm: Don't use the confusing '.ifeq' directive
  ACPI / APEI: remove the unused dead-code for SEA/NMI notification type
  x86/xen: Drop 5-level paging support code from the XEN_PV code
  x86/xen: Provide pre-built page tables only for CONFIG_XEN_PV=y and CONFIG_XEN_PVH=y
  x86/kasan: Use the same shadow offset for 4- and 5-level paging
  mm/sparsemem: Allocate mem_section at runtime for CONFIG_SPARSEMEM_EXTREME=y
  x86/cpuid: Prevent out of bound access in do_clear_cpu_cap()
  objtool: Print top level commands on incorrect usage
  x86/platform/UV: Convert timers to use timer_setup()
  x86/fpu: Remove the explicit clearing of XSAVE dependent features
  x86/fpu: Make XSAVE check the base CPUID features before enabling
  x86/fpu: Parse clearcpuid= as early XSAVE argument
  x86/cpuid: Add generic table for CPUID dependencies
  bitops: Add clear/set_bit32() to linux/bitops.h
  x86/unwind: Make CONFIG_UNWINDER_ORC=y the default in kconfig for 64-bit
  x86/unwind: Rename unwinder config options to 'CONFIG_UNWINDER_*'
  x86/fpu/debug: Remove unused 'x86_fpu_state' and 'x86_fpu_deactivate_state' tracepoints
  x86/unwinder: Make CONFIG_UNWINDER_ORC=y the default in the 64-bit defconfig
  ACPI / APEI: adjust a local variable type in ghes_ioremap_pfn_irq()
  x86/head: Add unwind hint annotations
  x86/xen: Add unwind hint annotations
  x86/xen: Fix xen head ELF annotations
  x86/boot: Annotate verify_cpu() as a callable function
  x86/head: Fix head ELF function annotations
  x86/head: Remove unused 'bad_address' code
  x86/head: Remove confusing comment
  objtool: Don't report end of section error after an empty unwind hint
  x86/asm: Remove unnecessary \n\t in front of CC_SET() from asm templates

Change-Id: I8d4690608f817c55a142827e64ff04f7d66a70d1
Signed-off-by: Runmin Wang <runminw@codeaurora.org>
2018-01-02 14:01:11 -08:00
Greg Kroah-Hartman
0d59679df5 Linux 4.14.11 2018-01-02 20:31:17 +01:00
Linus Torvalds
aa7f9011bc kbuild: add '-fno-stack-check' to kernel build options
commit 3ce120b16cc548472f80cf8644f90eda958cf1b6 upstream.

It appears that hardened gentoo enables "-fstack-check" by default for
gcc.

That doesn't work _at_all_ for the kernel, because the kernel stack
doesn't act like a user stack at all: it's much smaller, and it doesn't
auto-expand on use.  So the extra "probe one page below the stack" code
generated by -fstack-check just breaks the kernel in horrible ways,
causing infinite double faults etc.

[ I have to say, that the particular code gcc generates looks very
  stupid even for user space where it works, but that's a separate
  issue.  ]

Reported-and-tested-by: Alexander Tsoy <alexander@tsoy.me>
Reported-and-tested-by: Toralf Förster <toralf.foerster@gmx.de>
Cc: Dave Hansen <dave.hansen@intel.com>
Cc: Jiri Kosina <jikos@kernel.org>
Cc: Andy Lutomirski <luto@amacapital.net>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-01-02 20:31:06 +01:00
Greg Kroah-Hartman
b8ce8232fc Linux 4.14.10 2017-12-29 17:53:50 +01:00
Greg Kroah-Hartman
dad5c1402c Linux 4.14.9 2017-12-25 14:26:48 +01:00
Josh Poimboeuf
8af220c9e2 x86/unwind: Rename unwinder config options to 'CONFIG_UNWINDER_*'
commit 11af847446ed0d131cf24d16a7ef3d5ea7a49554 upstream.

Rename the unwinder config options from:

  CONFIG_ORC_UNWINDER
  CONFIG_FRAME_POINTER_UNWINDER
  CONFIG_GUESS_UNWINDER

to:

  CONFIG_UNWINDER_ORC
  CONFIG_UNWINDER_FRAME_POINTER
  CONFIG_UNWINDER_GUESS

... in order to give them a more logical config namespace.

Suggested-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/73972fc7e2762e91912c6b9584582703d6f1b8cc.1507924831.git.jpoimboe@redhat.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-12-25 14:26:13 +01:00
Runmin Wang
8045b5064f Merge remote-tracking branch 'remotes/origin/tmp-7b37750' into msm-4.14
* remotes/origin/tmp-7b37750:
  Linux 4.14.8
  usb: musb: da8xx: fix babble condition handling
  ath10k: fix build errors with !CONFIG_PM
  ath10k: fix core PCI suspend when WoWLAN is supported but disabled
  ath9k: fix tx99 potential info leak
  lightnvm: pblk: protect line bitmap while submitting meta io
  lightnvm: pblk: fix min size for page mempool
  lightnvm: pblk: initialize debug stat counter
  lightnvm: pblk: use right flag for GC allocation
  lightnvm: pblk: fix changing GC group list for a line
  lightnvm: pblk: prevent gc kicks when gc is not operational
  icmp: don't fail on fragment reassembly time exceeded
  IB/ipoib: Grab rtnl lock on heavy flush when calling ndo_open/stop
  RDMA/cma: Avoid triggering undefined behavior
  IB/core: Fix endianness annotation in rdma_is_multicast_addr()
  macvlan: Only deliver one copy of the frame to the macvlan interface
  udf: Avoid overflow when session starts at large offset
  xprtrdma: Don't defer fencing an async RPC's chunks
  md-cluster: fix wrong condition check in raid1_write_request
  raid5-ppl: check recovery_offset when performing ppl recovery
  scsi: bfa: integer overflow in debugfs
  scsi: sd: change allow_restart to bool in sysfs interface
  scsi: sd: change manage_start_stop to bool in sysfs interface
  nullb: fix error return code in null_init()
  ipmi_si: fix memory leak on new_smi
  rtl8188eu: Fix a possible sleep-in-atomic bug in rtw_disassoc_cmd
  rtl8188eu: Fix a possible sleep-in-atomic bug in rtw_createbss_cmd
  IB/hfi1: Mask out A bit from psn trace
  vt6655: Fix a possible sleep-in-atomic bug in vt6655_suspend
  IB/core: Fix calculation of maximum RoCE MTU
  IB/core: Fix use workqueue without WQ_MEM_RECLAIM
  scsi: scsi_devinfo: Add REPORTLUN2 to EMC SYMMETRIX blacklist entry
  raid5: Set R5_Expanded on parity devices as well as data.
  pinctrl: adi2: Fix Kconfig build problem
  dev/dax: fix uninitialized variable build warning
  tty fix oops when rmmod 8250
  KVM: nVMX: Fix EPT switching advertising
  ipv4: ipv4_default_advmss() should use route mtu
  soc: mediatek: pwrap: fix compiler errors
  powerpc/xmon: Check before calling xive functions
  powerpc/perf/hv-24x7: Fix incorrect comparison in memord
  serdev: ttyport: enforce tty-driver open() requirement
  net: hns3: fix a bug when alloc new buffer
  net: hns3: fix the bug when map buffer fail
  net: hns3: fix the TX/RX ring.queue_index in hns3_ring_get_cfg
  mfd: mxs-lradc: Fix error handling in mxs_lradc_probe()
  scsi: hpsa: destroy sas transport properties before scsi_host
  scsi: hpsa: cleanup sas_phy structures in sysfs when unloading
  scsi: hisi_sas: fix the risk of freeing slot twice
  PCI: Detach driver before procfs & sysfs teardown on device remove
  RDMA/cxgb4: Declare stag as __be32
  net: hns3: fix the bug of hns3_set_txbd_baseinfo
  net: hns3: add nic_client check when initialize roce base information
  net: hns3: fix a bug in hclge_uninit_client_instance
  net: dsa: lan9303: Do not disable switch fabric port 0 at .probe
  xfs: fix incorrect extent state in xfs_bmap_add_extent_unwritten_real
  xfs: return a distinct error code value for IGET_INCORE cache misses
  xfs: fix log block underflow during recovery cycle verification
  l2tp: cleanup l2tp_tunnel_delete calls
  nvme: use kref_get_unless_zero in nvme_find_get_ns
  platform/x86: hp_accel: Add quirk for HP ProBook 440 G4
  liquidio: fix kernel panic in VF driver
  samples/bpf: adjust rlimit RLIMIT_MEMLOCK for xdp1
  Bluetooth: btusb: Add new NFA344A entry.
  ARM64: dts: meson-gxbb-odroidc2: fix usb1 power supply
  mtd: spi-nor: stm32-quadspi: Fix uninitialized error return code
  qtnfmac: modify full Tx queue error reporting
  btrfs: tests: Fix a memory leak in error handling path in 'run_test()'
  btrfs: avoid null pointer dereference on fs_info when calling btrfs_crit
  btrfs: undo writable superblocke when sprouting fails
  btrfs: Explicitly handle btrfs_update_root failure
  btrfs: fix false EIO for missing device
  arm64: prevent regressions in compressed kernel image size when upgrading to binutils 2.27
  Bluetooth: hci_ldisc: Fix another race when closing the tty.
  Ib/hfi1: Return actual operational VLs in port info query
  bcache: fix wrong cache_misses statistics
  bcache: explicitly destroy mutex while exiting
  rpmsg: glink: Initialize the "intent_req_comp" completion variable
  media: usbtv: fix brightness and contrast controls
  GFS2: Take inode off order_write list when setting jdata flag
  scsi: scsi_debug: write_same: fix error report
  misc: pci_endpoint_test: Avoid triggering a BUG()
  misc: pci_endpoint_test: Fix failure path return values in probe
  thermal/drivers/step_wise: Fix temperature regulation misbehavior
  ASoC: rsnd: rsnd_ssi_run_mods() needs to care ssi_parent_mod
  ppp: Destroy the mutex when cleanup
  clk: tegra: Fix cclk_lp divisor register
  clk: tegra: Use readl_relaxed_poll_timeout_atomic() in tegra210_clock_init()
  blk-mq-sched: dispatch from scheduler IFF progress is made in ->dispatch
  clk: hi6220: mark clock cs_atb_syspll as critical
  media: camss-vfe: always initialize reg at vfe_set_xbar_cfg()
  clk: imx6: refine hdmi_isfr's parent to make HDMI work on i.MX6 SoCs w/o VPU
  clk: imx: imx7d: Fix parent clock for OCRAM_CLK
  clk: mediatek: add the option for determining PLL source clock
  staging: rtl8188eu: Revert part of "staging: rtl8188eu: fix comments with lines over 80 characters"
  net: hns3: Fix a misuse to devm_free_irq
  net: hns3: fix for getting advertised_caps in hns3_get_link_ksettings
  mm: Handle 0 flags in _calc_vm_trans() macro
  crypto: tcrypt - fix buffer lengths in test_aead_speed()
  arm-ccn: perf: Prevent module unload while PMU is in use
  xfs: truncate pagecache before writeback in xfs_setattr_size()
  iommu/amd: Limit the IOVA page range to the specified addresses
  badblocks: fix wrong return value in badblocks_set if badblocks are disabled
  target/file: Do not return error for UNMAP if length is zero
  target:fix condition return in core_pr_dump_initiator_port()
  iscsi-target: fix memory leak in lio_target_tiqn_addtpg()
  target/iscsi: Fix a race condition in iscsit_add_reject_from_cmd()
  target/iscsi: Detect conn_cmd_list corruption early
  platform/x86: intel_punit_ipc: Fix resource ioremap warning
  powerpc/pseries/vio: Dispose of virq mapping on vdevice unregister
  powerpc/ipic: Fix status get and status clear
  powerpc/opal: Fix EBUSY bug in acquiring tokens
  netfilter: ipvs: Fix inappropriate output of procfs
  thunderbolt: tb: fix use after free in tb_activate_pcie_devices
  iommu/mediatek: Fix driver name
  PCI: Do not allocate more buses than available in parent
  powerpc/powernv/cpufreq: Fix the frequency read by /proc/cpuinfo
  PCI/PME: Handle invalid data when reading Root Status
  mlxsw: spectrum: Fix error return code in mlxsw_sp_port_create()
  dmaengine: ti-dma-crossbar: Correct am335x/am43xx mux value type
  ASoC: Intel: Skylake: Fix uuid_module memory leak in failure case
  PM / s2idle: Clear the events_check_enabled flag
  drm/amdgpu: bypass lru touch for KIQ ring submission
  scsi: aacraid: use timespec64 instead of timeval
  rtc: pcf8563: fix output clock rate
  video: fbdev: au1200fb: Return an error code if a memory allocation fails
  video: fbdev: au1200fb: Release some resources if a memory allocation fails
  video: udlfb: Fix read EDID timeout
  fbdev: controlfb: Add missing modes to fix out of bounds access
  sfc: don't warn on successful change of MAC
  HID: cp2112: fix broken gpio_direction_input callback
  IB/mlx4: Fix RSS's QPC attributes assignments
  ext4: fix crash when a directory's i_size is too small
  ext4: add missing error check in __ext4_new_inode()
  ext4: fix fdatasync(2) after fallocate(2) operation
  ext4: support fast symlinks from ext3 file systems
  Revert "exec: avoid RLIMIT_STACK races with prlimit()"
  dmaengine: dmatest: move callback wait queue to thread context
  posix-timer: Properly check sigevent->sigev_notify
  eeprom: at24: change nvmem stride to 1
  x86/boot/compressed/64: Print error if 5-level paging is not supported
  x86/boot/compressed/64: Detect and handle 5-level paging at boot-time
  iw_cxgb4: only insert drain cqes if wq is flushed
  SUNRPC: Fix a race in the receive code path
  dm: fix various targets to dm_register_target after module __init resources created
  sched/rt: Do not pull from current CPU if only one CPU to pull
  scsi: libsas: fix length error in sas_smp_handler()
  scsi: core: Fix a scsi_show_rq() NULL pointer dereference
  arm64: fix CONFIG_DEBUG_WX address reporting
  arm64: Initialise high_memory global variable earlier
  arm64: mm: Fix pte_mkclean, pte_mkdirty semantics
  nfs: don't wait on commit in nfs_commit_inode() if there were no commit requests
  IB/core: Don't enforce PKey security on SMI MADs
  IB/core: Bound check alternate path port number
  xhci: Don't add a virt_dev to the devs array before it's fully allocated
  usb: xhci: fix TDS for MTK xHCI1.1
  ceph: drop negative child dentries before try pruning inode's alias
  mmc: core: apply NO_CMD23 quirk to some specific cards
  usbip: fix stub_send_ret_submit() vulnerability to null transfer_buffer
  usbip: prevent vhci_hcd driver from leaking a socket pointer address
  usbip: fix stub_rx: harden CMD_SUBMIT path to handle malicious input
  usbip: fix stub_rx: get_pipe() to validate endpoint number
  ovl: update ctx->pos on impure dir iteration
  ovl: Pass ovl_get_nlink() parameters in right order
  USB: core: prevent malicious bNumInterfaces overflow
  USB: uas and storage: Add US_FL_BROKEN_FUA for another JMicron JMS567 ID
  tracing: Allocate mask_str buffer dynamically
  mm, oom_reaper: fix memory corruption
  kernel: make groups_sort calling a responsibility group_info allocators
  autofs: fix careless error in recent commit
  string.h: workaround for increased stack usage
  cifs: fix NULL deref in SMB2_read
  crypto: af_alg - fix NULL pointer dereference in
  crypto: salsa20 - fix blkcipher_walk API usage
  crypto: hmac - require that the underlying hash algorithm is unkeyed
  crypto: rsa - fix buffer overread when stripping leading zeroes
  crypto: algif_aead - fix reference counting of null skcipher
  mfd: fsl-imx25: Clean up irq settings during removal

Change-Id: I85518720609ec3e039cdf104fc1a54dd022a3577
Signed-off-by: Runmin Wang <runminw@codeaurora.org>
2017-12-21 10:11:36 -08:00
Greg Kroah-Hartman
7b3775017f Linux 4.14.8 2017-12-20 10:10:38 +01:00
Runmin Wang
b716d1c640 Merge remote-tracking branch 'remotes/origin/tmp-3afae84' into msm-4.14
* remotes/origin/tmp-3afae84:
  Linux 4.14.7
  dvb_frontend: don't use-after-free the frontend struct
  media: dvb-core: always call invoke_release() in fe_free()
  x86/intel_rdt: Fix potential deadlock during resctrl unmount
  RDMA/cxgb4: Annotate r2 and stag as __be32
  md: free unused memory after bitmap resize
  dm raid: fix panic when attempting to force a raid to sync
  audit: ensure that 'audit=1' actually enables audit for PID 1
  audit: Allow auditd to set pid to 0 to end auditing
  nvmet-rdma: update queue list during ib_device removal
  blk-mq: Avoid that request queue removal can trigger list corruption
  ide: ide-atapi: fix compile error with defining macro DEBUG
  ipvlan: fix ipv6 outbound device
  powerpc/powernv/idle: Round up latency and residency values
  kbuild: do not call cc-option before KBUILD_CFLAGS initialization
  KVM: arm/arm64: vgic-its: Preserve the revious read from the pending table
  fix kcm_clone()
  fcntl: don't cap l_start and l_end values for F_GETLK64 in compat syscall
  usb: gadget: ffs: Forbid usb_ep_alloc_request from sleeping
  ipmi: Stop timers before cleaning up the module
  sctp: use right member as the param of list_for_each_entry
  cls_bpf: don't decrement net's refcount when offload fails
  net: openvswitch: datapath: fix data type in queue_gso_packets
  net: accept UFO datagrams from tuntap and packet
  tun: fix rcu_read_lock imbalance in tun_build_skb
  net: ipv6: Fixup device for anycast routes during copy
  tun: free skb in early errors
  tcp: when scheduling TLP, time of RTO should account for current ACK
  tap: free skb if flags error
  net: sched: cbq: create block for q->link.block
  tcp: use current time in tcp_rcv_space_adjust()
  tipc: call tipc_rcv() only if bearer is up in tipc_udp_recv()
  tcp: use IPCB instead of TCP_SKB_CB in inet_exact_dif_match()
  s390/qeth: fix GSO throughput regression
  s390/qeth: fix thinko in IPv4 multicast address tracking
  s390/qeth: build max size GSO skbs on L2 devices
  tcp/dccp: block bh before arming time_wait timer
  stmmac: reset last TSO segment size after device open
  net: remove hlist_nulls_add_tail_rcu()
  usbnet: fix alignment for frames with no ethernet header
  tcp: remove buggy call to tcp_v6_restore_cb()
  net/packet: fix a race in packet_bind() and packet_notifier()
  packet: fix crash in fanout_demux_rollover()
  tcp: add tcp_v4_fill_cb()/tcp_v4_restore_cb()
  sit: update frag_off info
  rds: Fix NULL pointer dereference in __rds_rdma_map
  vhost: fix skb leak in handle_rx()
  tipc: fix memory leak in tipc_accept_from_sock()
  s390/qeth: fix early exit from error path
  net: realtek: r8169: implement set_link_ksettings()
  net: thunderx: Fix TCP/UDP checksum offload for IPv4 pkts
  net: thunderx: Fix TCP/UDP checksum offload for IPv6 pkts
  net: qmi_wwan: add Quectel BG96 2c7c:0296
  Linux 4.14.6
  afs: Connect up the CB.ProbeUuid
  afs: Fix total-length calculation for multiple-page send
  IB/mlx5: Assign send CQ and recv CQ of UMR QP
  IB/mlx4: Increase maximal message size under UD QP
  bnxt_re: changing the ip address shouldn't affect new connections
  f2fs: fix to clear FI_NO_PREALLOC
  xfrm: Copy policy family in clone_policy
  tls: Use kzalloc for aead_request allocation
  jump_label: Invoke jump_label_test() via early_initcall()
  atm: horizon: Fix irq release error
  kbuild: rpm-pkg: fix jobserver unavailable warning
  mailbox: mailbox-test: don't rely on rx_buffer content to signal data ready
  clk: hi3660: fix incorrect uart3 clock freqency
  clk: uniphier: fix DAPLL2 clock rate of Pro5
  clk: qcom: common: fix legacy board-clock registration
  clk: sunxi-ng: a83t: Fix i2c buses bits
  clk: stm32h7: fix test of clock config
  bpf: fix lockdep splat
  geneve: fix fill_info when link down
  fcntl: don't leak fd reference when fixup_compat_flock fails
  sctp: use the right sk after waking up from wait_buf sleep
  sctp: do not free asoc when it is already dead in sctp_sendmsg
  slub: fix sysfs duplicate filename creation when slub_debug=O
  zsmalloc: calling zs_map_object() from irq is a bug
  sparc64/mm: set fields in deferred pages
  block: wake up all tasks blocked in get_request()
  dt-bindings: usb: fix reg-property port-number range
  xfs: fix forgotten rcu read unlock when skipping inode reclaim
  nfp: fix flower offload metadata flag usage
  nfp: inherit the max_mtu from the PF netdev
  sunrpc: Fix rpc_task_begin trace point
  NFS: Fix a typo in nfs_rename()
  dynamic-debug-howto: fix optional/omitted ending line number to be LARGE instead of 0
  lib/genalloc.c: make the avail variable an atomic_long_t
  pipe: match pipe_max_size data type with procfs
  drivers/rapidio/devices/rio_mport_cdev.c: fix resource leak in error handling path in 'rio_dma_transfer()'
  rsi: fix memory leak on buf and usb_reg_buf
  route: update fnhe_expires for redirect when the fnhe exists
  route: also update fnhe_genid when updating a route cache
  gre6: use log_ecn_error module parameter in ip6_tnl_rcv()
  mac80211_hwsim: Fix memory leak in hwsim_new_radio_nl()
  x86/mpx/selftests: Fix up weird arrays
  apparmor: fix leak of null profile name if profile allocation fails
  powerpc/perf: Fix pmu_count to count only nest imc pmus
  coccinelle: fix parallel build with CHECK=scripts/coccicheck
  kbuild: pkg: use --transform option to prefix paths in tar
  net/smc: use sk_rcvbuf as start for rmb creation
  irqchip/qcom: Fix u32 comparison with value less than zero
  ARM: avoid faulting on qemu
  ARM: BUG if jumping to usermode address in kernel mode
  crypto: talitos - fix ctr-aes-talitos
  crypto: talitos - fix use of sg_link_tbl_len
  crypto: talitos - fix AEAD for sha224 on non sha224 capable chips
  crypto: talitos - fix setkey to check key weakness
  crypto: talitos - fix memory corruption on SEC2
  crypto: talitos - fix AEAD test failures
  IB/core: Only enforce security for InfiniBand
  IB/core: Avoid unnecessary return value check
  bus: arm-ccn: fix module unloading Error: Removing state 147 which has instances left.
  bus: arm-ccn: Fix use of smp_processor_id() in preemptible context
  bus: arm-ccn: Check memory allocation failure
  bus: arm-cci: Fix use of smp_processor_id() in preemptible context
  Revert "ARM: dts: imx53: add srtc node"
  arm64: SW PAN: Update saved ttbr0 value on enter_lazy_tlb
  arm64: SW PAN: Point saved ttbr0 at the zero page when switching to init_mm
  arm64: fpsimd: Prevent registers leaking from dead tasks
  KVM: arm/arm64: vgic-its: Check result of allocation before use
  KVM: arm/arm64: vgic: Preserve the revious read from the pending table
  KVM: arm/arm64: vgic-irqfd: Fix MSI entry allocation
  KVM: arm/arm64: Fix broken GICH_ELRSR big endian conversion
  KVM: VMX: remove I/O port 0x80 bypass on Intel hosts
  arm: KVM: Fix VTTBR_BADDR_MASK BUG_ON off-by-one
  arm64: KVM: fix VTTBR_BADDR_MASK BUG_ON off-by-one
  media: rc: partial revert of "media: rc: per-protocol repeat period"
  media: rc: sir_ir: detect presence of port
  media: dvb: i2c transfers over usb cannot be done from stack
  drm/i915: Fix vblank timestamp/frame counter jumps on gen2
  drm/exynos: gem: Drop NONCONTIG flag for buffers allocated without IOMMU
  drm/bridge: analogix dp: Fix runtime PM state in get_modes() callback
  md/r5cache: move mddev_lock() out of r5c_journal_mode_set()
  kdb: Fix handling of kallsyms_symbol_next() return value
  brcmfmac: change driver unbind order of the sdio function devices
  iwlwifi: mvm: enable RX offloading with TKIP and WEP
  iwlwifi: mvm: fix packet injection
  iwlwifi: add new cards for 9260 and 22000 series
  iwlwifi: mvm: flush queue before deleting ROC
  iwlwifi: mvm: don't use transmit queue hang detection when it is not possible
  iwlwifi: mvm: mark MIC stripped MPDUs
  powerpc/64s: Initialize ISAv3 MMU registers before setting partition table
  Revert "powerpc: Do not call ppc_md.panic in fadump panic notifier"
  KVM: s390: Fix skey emulation permission check
  s390: fix compat system call table
  s390/mm: fix off-by-one bug in 5-level page table handling
  s390: always save and restore all registers on context switch
  smp/hotplug: Move step CPUHP_AP_SMPCFD_DYING to the correct place
  iommu/vt-d: Fix scatterlist offset handling
  ALSA: usb-audio: Add check return value for usb_string()
  ALSA: usb-audio: Fix out-of-bound error
  ALSA: seq: Remove spurious WARN_ON() at timer check
  ALSA: pcm: prevent UAF in snd_pcm_info
  ALSA: hda/realtek - New codec support for ALC257
  btrfs: handle errors while updating refcounts in update_ref_for_cow
  btrfs: fix missing error return in btrfs_drop_snapshot
  KVM: x86: fix APIC page invalidation
  x86/PCI: Make broadcom_postcore_init() check acpi_disabled
  x86/idt: Load idt early in start_secondary
  X.509: fix comparisons of ->pkey_algo
  X.509: reject invalid BIT STRING for subjectPublicKey
  KEYS: reject NULL restriction string when type is specified
  KEYS: add missing permission check for request_key() destination
  ASN.1: check for error from ASN1_OP_END__ACT actions
  ASN.1: fix out-of-bounds read when parsing indefinite length item
  efi/esrt: Use memunmap() instead of kfree() to free the remapping
  efi: Move some sysfs files to be read-only by root
  scsi: libsas: align sata_device's rps_resp on a cacheline
  scsi: use dma_get_cache_alignment() as minimum DMA alignment
  scsi: dma-mapping: always provide dma_get_cache_alignment
  isa: Prevent NULL dereference in isa_bus driver callbacks
  firmware: vpd: Fix platform driver and device registration/unregistration
  firmware: vpd: Tie firmware kobject to device lifetime
  firmware: vpd: Destroy vpd sections in remove function
  firmware: cleanup FIRMWARE_IN_KERNEL message
  hv: kvp: Avoid reading past allocated blocks from KVP file
  Drivers: hv: vmbus: Fix a rescind issue
  pinctrl: armada-37xx: Fix direction_output() callback behavior
  iio: adc: meson-saradc: Meson8 and Meson8b do not have REG11 and REG13
  iio: adc: meson-saradc: initialize the bandgap correctly on older SoCs
  iio: adc: meson-saradc: fix the bit_idx of the adc_en clock
  iio: adc: cpcap: fix incorrect validation
  iio: health: max30102: Temperature should be in milli Celsius
  iio: stm32: fix adc/trigger link error
  virtio: release virtio index when fail to device_register
  can: peak/pcie_fd: fix potential bug in restarting tx queue
  can: usb_8dev: cancel urb on -EPIPE and -EPROTO
  can: esd_usb2: cancel urb on -EPIPE and -EPROTO
  can: ems_usb: cancel urb on -EPIPE and -EPROTO
  can: mcba_usb: cancel urb on -EPROTO
  can: kvaser_usb: cancel urb on -EPIPE and -EPROTO
  can: kvaser_usb: ratelimit errors if incomplete messages are received
  can: kvaser_usb: Fix comparison bug in kvaser_usb_read_bulk_callback()
  can: kvaser_usb: free buf in error paths
  can: ti_hecc: Fix napi poll return value for repoll
  can: flexcan: fix VF610 state transition issue
  can: peak/pci: fix potential bug when probe() fails
  can: mcba_usb: fix device disconnect bug
  usb: f_fs: Force Reserved1=1 in OS_DESC_EXT_COMPAT
  serdev: ttyport: fix tty locking in close
  serdev: ttyport: fix NULL-deref on hangup
  serdev: ttyport: add missing receive_buf sanity checks
  usb: gadget: core: Fix ->udc_set_speed() speed handling
  usb: gadget: udc: renesas_usb3: fix number of the pipes

Change-Id: I47977dc6948f8e5edbcd21770a63242e86adcb3b
Signed-off-by: Runmin Wang <runminw@codeaurora.org>
2017-12-19 11:13:17 -08:00
Greg Hackmann
b9b964626e ANDROID: Kbuild, LLVMLinux: allow overriding clang target triple
Android has an unusual setup where the kernel needs to target
[arch]-linux-gnu to avoid Android userspace-specific flags and
optimizations, but AOSP doesn't ship a matching binutils.

Add a new variable CLANG_TRIPLE which can override the "-target" triple
used to compile the kernel, while using a different CROSS_COMPILE to
pick the binutils/gcc installation.  For Android you'd do something
like:

  export CLANG_TRIPLE=aarch64-linux-gnu-
  export CROSS_COMPILE=aarch64-linux-android-

If you don't need something like this, leave CLANG_TRIPLE unset and it
will default to CROSS_COMPILE.

Change-Id: I85d63599c6ab8ed458071cdf9197d85b1f7f150b
Signed-off-by: Greg Hackmann <ghackmann@google.com>
2017-12-18 21:11:22 +05:30
Matthias Kaehlcke
4cd9453d6a CHROMIUM: kbuild: clang: Disable the 'duplicate-decl-specifier' warning
clang generates plenty of these warnings in different parts of the code.
They are mostly caused by container_of() and other macros which declare
a "const <type> *" variable for their internal use which triggers a
"duplicate 'const' specifier" warning if the <type> is already const
qualified.

Change-Id: I3ad9d33e31b7b40f926554eed2afeea1ebb7e961
Wording-mostly-from: Michael Davidson <md@google.com>
Signed-off-by: Matthias Kaehlcke <mka@chromium.org>
2017-12-18 21:11:22 +05:30
Greg Kroah-Hartman
3afae8437c Linux 4.14.7 2017-12-17 15:08:14 +01:00
Masahiro Yamada
b0c08c89ea kbuild: do not call cc-option before KBUILD_CFLAGS initialization
[ Upstream commit 433dc2ebe7d17dd21cba7ad5c362d37323592236 ]

Some $(call cc-option,...) are invoked very early, even before
KBUILD_CFLAGS, etc. are initialized.

The returned string from $(call cc-option,...) depends on
KBUILD_CPPFLAGS, KBUILD_CFLAGS, and GCC_PLUGINS_CFLAGS.

Since they are exported, they are not empty when the top Makefile
is recursively invoked.

The recursion occurs in several places.  For example, the top
Makefile invokes itself for silentoldconfig.  "make tinyconfig",
"make rpm-pkg" are the cases, too.

In those cases, the second call of cc-option from the same line
runs a different shell command due to non-pristine KBUILD_CFLAGS.

To get the same result all the time, KBUILD_* and GCC_PLUGINS_CFLAGS
must be initialized before any call of cc-option.  This avoids
garbage data in the .cache.mk file.

Move all calls of cc-option below the config targets because target
compiler flags are unnecessary for Kconfig.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-12-17 15:07:59 +01:00
Greg Kroah-Hartman
5fd159e1ee Linux 4.14.6 2017-12-14 09:53:15 +01:00
Runmin Wang
164b053d38 Merge remote-tracking branch 'remotes/origin/tmp-64138f0' into msm-4.14
* remotes/origin/tmp-64138f0:
  Linux 4.14.5
  locking/refcounts: Do not force refcount_t usage as GPL-only export
  usb: host: fix incorrect updating of offset
  USB: usbfs: Filter flags passed in from user space
  USB: core: Add type-specific length check of BOS descriptors
  usb: xhci: fix panic in xhci_free_virt_devices_depth_first
  xhci: Don't show incorrect WARN message about events for empty rings
  USB: ulpi: fix bus-node lookup
  usb: hub: Cycle HUB power when initialization fails
  staging: ccree: fix leak of import() after init()
  dma-buf/sw_sync: force signal all unsignaled fences on dying timeline
  powerpc/kprobes: Disable preemption before invoking probe handler for optprobes
  powerpc/jprobes: Disable preemption when triggered through ftrace
  locking/refcounts, x86/asm: Enable CONFIG_ARCH_HAS_REFCOUNT
  iio: multiplexer: add NULL check on devm_kzalloc() and devm_kmemdup() return values
  iio: adc: ti-ads1015: add 10% to conversion wait time
  mm, x86/mm: Fix performance regression in get_user_pages_fast()
  perf tools: Fix leaking rec_argv in error cases
  tools include: Do not use poison with C++
  s390/ptrace: fix guarded storage regset handling
  locking/refcounts, x86/asm: Use unique .text section for refcount exceptions
  kprobes/x86: Disable preemption in ftrace-based jprobes
  perf test attr: Fix python error on empty result
  perf test attr: Fix ignored test case result
  staging: fsl-mc/dpio: Fix incorrect comparison
  serial: imx: Update cached mctrl value when changing RTS
  usbip: tools: Install all headers needed for libusbip development
  serial: sh-sci: suppress warning for ports without dma channels
  sysrq : fix Show Regs call trace on ARM
  usb: xhci: Return error when host is dead in xhci_disable_slot()
  ARM: cpuidle: Correct driver unregistration if init fails
  staging: rtl8822be: Keep array subscript no lower than zero
  staging: fsl-dpaa2/eth: Account for Rx FD buffers on error path
  usb: mtu3: fix error return code in ssusb_gadget_init()
  EDAC, sb_edac: Fix missing break in switch
  dt-bindings: timer: renesas, cmt: Fix SoC-specific compatible values
  clocksource/drivers/arm_arch_timer: Validate CNTFRQ after enabling frame
  x86/entry: Use SYSCALL_DEFINE() macros for sys_modify_ldt()
  kprobes: Use synchronize_rcu_tasks() for optprobe with CONFIG_PREEMPT=y
  serial: 8250: Preserve DLD[7:4] for PORT_XR17V35X
  x86/intel_rdt: Fix potential deadlock during resctrl mount
  x86/intel_rdt: Initialize bitmask of shareable resource if CDP enabled
  PCI: dra7xx: Create functional dependency between PCIe and PHY
  usb: phy: tahvo: fix error handling in tahvo_usb_probe()
  perf/core: Fix __perf_read_group_add() locking
  hwmon: (pmbus/core) Prevent unintentional setting of page to 0xFF
  mmc: sdhci-msm: fix issue with power irq
  mmc: tmio: check mmc_regulator_get_supply return value
  spi: spi-axi: fix potential use-after-free after deregistration
  spi: sh-msiof: Fix DMA transfer size check
  staging: rtl8188eu: avoid a null dereference on pmlmepriv
  staging: rtl8822be: fix wrong dma unmap len
  serial: 8250_fintek: Fix rs485 disablement on invalid ioctl()
  m68k: fix ColdFire node shift size calculation
  staging: greybus: loopback: Fix iteration count on async path
  selftests/x86/ldt_gdt: Robustify against set_thread_area() and LAR oddities
  selftests/x86/ldt_get: Add a few additional tests for limits
  s390/pci: do not require AIS facility
  PM / Domains: Fix genpd to deal with drivers returning 1 from ->prepare()
  s390: vfio-ccw: Do not attempt to free no-op, test and tic cda.
  ima: fix hash algorithm initialization
  MIPS: Add custom serial.h with BASE_BAUD override for generic kernel
  serial: 8250_early: Only set divisor if valid clk & baud
  USB: serial: usb_debug: add new USB device id
  USB: serial: option: add Quectel BG96 id
  ANDROID: binder: fix transaction leak.
  serial: 8250_pci: Add Amazon PCI serial device ID
  usb: quirks: Add no-lpm quirk for KY-688 USB 3.1 Type-C Hub
  uas: Always apply US_FL_NO_ATA_1X quirk to Seagate devices
  usbip: Fix USB device hang due to wrong enabling of scatter-gather
  usbip: fix usbip attach to find a port that matches the requested speed
  s390/runtime instrumentation: simplify task exit handling
  drm/amdgpu: Use unsigned ring indices in amdgpu_queue_mgr_map
  drm/fsl-dcu: enable IRQ before drm_atomic_helper_resume()
  drm/fsl-dcu: avoid disabling pixel clock twice on suspend

Change-Id: Ie619c2a47fa9ec90196715db30b4d251789f4388
Signed-off-by: Runmin Wang <runminw@codeaurora.org>
2017-12-11 10:23:40 -08:00
Greg Kroah-Hartman
64138f0adb Linux 4.14.5 2017-12-10 13:40:45 +01:00
Runmin Wang
5cd5fea2fd Merge remote-tracking branch 'remotes/origin/tmp-51a2a68' into msm-4.14
* remotes/origin/tmp-51a2a68:
  Linux 4.14.4
  Revert "x86/entry/64: Add missing irqflags tracing to native_load_gs_index()"
  drm/i915: Prevent zero length "index" write
  drm/i915: Don't try indexed reads to alternate slave addresses
  drm/i915/gvt: Correct ADDR_4K/2M/1G_MASK definition
  drm/i915/fbdev: Serialise early hotplug events with async fbdev config
  drm/i915: Re-register PMIC bus access notifier on runtime resume
  drm/i915: Fix false-positive assert_rpm_wakelock_held in i915_pmic_bus_access_notifier v2
  md: forbid a RAID5 from having both a bitmap and a journal.
  e1000e: fix the use of magic numbers for buffer overrun issue
  IB/hfi1: Do not warn on lid conversions for OPA
  IB/core: Do not warn on lid conversions for OPA
  include/linux/compiler-clang.h: handle randomizable anonymous structs
  drm/amdgpu: Set adev->vcn.irq.num_types for VCN
  drm/amdgpu: move UVD/VCE and VCN structure out from union
  drm/edid: Don't send non-zero YQ in AVI infoframe for HDMI 1.x sinks
  drm/fsl-dcu: Don't set connector DPMS property
  drm/fb_helper: Disable all crtc's when initial setup fails.
  drm/amd/pp: fix typecast error in powerplay.
  drm/ttm: once more fix ttm_buffer_object_transfer
  drm/hisilicon: Ensure LDI regs are properly configured.
  drm/panel: simple: Add missing panel_simple_unprepare() calls
  drm/radeon: fix atombios on big endian
  drm/tilcdc: Precalculate total frametime in tilcdc_crtc_set_mode()
  drm/vblank: Tune drm_crtc_accurate_vblank_count() WARN down to a debug
  drm/vblank: Fix flip event vblank count
  drm/ttm: Always and only destroy bo->ttm_resv in ttm_bo_release_list
  drm/amdgpu: reserve root PD while releasing it
  dma-buf: make reservation_object_copy_fences rcu save
  drm/ttm: fix ttm_bo_cleanup_refs_or_queue once more
  drm/amdgpu: Remove check which is not valid for certain VBIOS
  drm/amdgpu: Properly allocate VM invalidate eng v2
  drm/amdgpu: fix error handling in amdgpu_bo_do_create
  drm/amdgpu: correct reference clock value on vega10
  drm/amdgpu: Potential uninitialized variable in amdgpu_vm_update_directories()
  drm/amdgpu: potential uninitialized variable in amdgpu_vce_ring_parse_cs()
  Revert "drm/radeon: dont switch vt on suspend"
  nvme-pci: add quirk for delay before CHK RDY for WDC SN200
  hwmon: (jc42) optionally try to disable the SMBUS timeout
  bcache: recover data from backing when data is clean
  bcache: only permit to recovery read error when cache device is clean
  bcache: Fix building error on MIPS
  cxl: Check if vphb exists before iterating over AFU devices
  i2c: i801: Fix Failed to allocate irq -2147483648 error
  eeprom: at24: check at24_read/write arguments
  eeprom: at24: correctly set the size for at24mac402
  eeprom: at24: fix reading from 24MAC402/24MAC602
  ACPI / EC: Fix regression related to PM ops support in ECDT device
  mmc: core: prepend 0x to OCR entry in sysfs
  mmc: core: prepend 0x to pre_eol_info entry in sysfs
  mmc: block: Ensure that debugfs files are removed
  mmc: core: Do not leave the block driver in a suspended state
  mmc: block: Check return value of blk_get_request()
  mmc: block: Fix missing blk_put_request()
  mmc: sdhci: Avoid swiotlb buffer being full
  KVM: lapic: Fixup LDR on load in x2apic
  KVM: lapic: Split out x2apic ldr calculation
  KVM: x86: inject exceptions produced by x86_decode_insn
  KVM: x86: Exit to user-mode on #UD intercept when emulator requires
  KVM: x86: pvclock: Handle first-time write to pvclock-page contains random junk
  powerpc/kexec: Fix kexec/kdump in P9 guest kernels
  powerpc/powernv: Fix kexec crashes caused by tlbie tracing
  arm64: ftrace: emit ftrace-mod.o contents through code
  arm64: module-plts: factor out PLT generation code for ftrace
  apparmor: fix oops in audit_signal_cb hook
  omapdrm: hdmi4: Correct the SoC revision matching
  drm: omapdrm: Fix DPI on platforms using the DSI VDDS
  s390: revert ELF_ET_DYN_BASE base changes
  lockd: lost rollback of set_grace_period() in lockd_down_net()
  crypto: skcipher - Fix skcipher_walk_aead_common
  crypto: af_alg - remove locking in async callback
  crypto: algif_aead - skip SGL entries with NULL page
  nfsd: fix panic in posix_unblock_lock called from nfs4_laundromat
  nfsd: Fix another OPEN stateid race
  nfsd: Fix stateid races between OPEN and CLOSE
  btrfs: clear space cache inode generation always
  mm/hugetlb: fix NULL-pointer dereference on 5-level paging machine
  autofs: revert "autofs: fix AT_NO_AUTOMOUNT not being honored"
  autofs: revert "autofs: take more care to not update last_used on path walk"
  fs/fat/inode.c: fix sb_rdonly() change
  mm, memcg: fix mem_cgroup_swapout() for THPs
  mm: migrate: fix an incorrect call of prep_transhuge_page()
  mm/madvise.c: fix madvise() infinite loop under special circumstances
  exec: avoid RLIMIT_STACK races with prlimit()
  IB/core: disable memory registration of filesystem-dax vmas
  v4l2: disable filesystem-dax mapping support
  mm: fail get_vaddr_frames() for filesystem-dax mappings
  mm: introduce get_user_pages_longterm
  device-dax: implement ->split() to catch invalid munmap attempts
  mm, hugetlbfs: introduce ->split() to vm_operations_struct
  mm: fix device-dax pud write-faults triggered by get_user_pages()
  mm/cma: fix alloc_contig_range ret code/potential leak
  mm, thp: Do not make page table dirty unconditionally in touch_p[mu]d()
  mm, oom_reaper: gather each vma to prevent leaking TLB entry
  mm, memory_hotplug: do not back off draining pcp free pages from kworker context
  platform/x86: hp-wmi: Fix tablet mode detection for convertibles
  Linux 4.14.3
  e1000e: fix buffer overrun while the I219 is processing DMA transactions
  e1000e: Avoid receiver overrun interrupt bursts
  e1000e: Separate signaling for link check/link up
  e1000e: Fix return value test
  e1000e: Fix error path in link detection
  iwlwifi: mvm: support version 7 of the SCAN_REQ_UMAC FW command
  iwlwifi: fix PCI IDs and configuration mapping for 9000 series
  iwlwifi: add new cards for 8260 series
  iwlwifi: add new cards for 8265 series
  iwlwifi: add new cards for a000 series
  iwlwifi: pcie: sort IDs for the 9000 series for easier comparisons
  iwlwifi: add a new a000 device
  iwlwifi: fix wrong struct for a000 device
  ARM64: dts: meson-gxl: Add alternate ARM Trusted Firmware reserved memory zone
  media: venus: reimplement decoder stop command
  media: venus: venc: fix bytesused v4l2_plane field
  media: venus: fix wrong size on dma_free
  media: v4l2-ctrl: Fix flags field on Control events
  cx231xx-cards: fix NULL-deref on missing association descriptor
  media: rc: nec decoder should not send both repeat and keycode
  media: rc: check for integer overflow
  media: Don't do DMA on stack for firmware upload in the AS102 driver
  powerpc/64s/hash: Allow MAP_FIXED allocations to cross 128TB boundary
  powerpc/64s/hash: Fix fork() with 512TB process address space
  powerpc/64s/hash: Fix 128TB-512TB virtual address boundary case allocation
  powerpc/64s/hash: Fix 512T hint detection to use >= 128T
  powerpc/64s/radix: Fix 128TB-512TB virtual address boundary case allocation
  powerpc/64s: Fix masking of SRR1 bits on instruction fault
  powerpc/signal: Properly handle return value from uprobe_deny_signal()
  powerpc/perf/imc: Use cpu_to_node() not topology_physical_package_id()
  powerpc/mm/radix: Fix crashes on Power9 DD1 with radix MMU and STRICT_RWX
  powerpc: Fix boot on BOOK3S_32 with CONFIG_STRICT_KERNEL_RWX
  parisc: Fix validity check of pointer size argument in new CAS implementation
  ixgbe: Fix skb list corruption on Power systems
  fm10k: Use smp_rmb rather than read_barrier_depends
  i40evf: Use smp_rmb rather than read_barrier_depends
  ixgbevf: Use smp_rmb rather than read_barrier_depends
  igbvf: Use smp_rmb rather than read_barrier_depends
  igb: Use smp_rmb rather than read_barrier_depends
  i40e: Use smp_rmb rather than read_barrier_depends
  spi-nor: intel-spi: Fix broken software sequencing codes
  NFC: fix device-allocation error return
  IB/core: Only maintain real QPs in the security lists
  IB/core: Avoid crash on pkey enforcement failed in received MADs
  IB/srp: Avoid that a cable pull can trigger a kernel crash
  IB/hfi1: Fix incorrect available receive user context count
  IB/cm: Fix memory corruption in handling CM request
  IB/srpt: Do not accept invalid initiator port names
  svcrdma: Preserve CB send buffer across retransmits
  libnvdimm, namespace: make 'resource' attribute only readable by root
  libnvdimm, region : make 'resource' attribute only readable by root
  libnvdimm, namespace: fix label initialization to use valid seq numbers
  libnvdimm, pfn: make 'resource' attribute only readable by root
  libnvdimm, dimm: clear 'locked' status on successful DIMM enable
  clk: ti: dra7-atl-clock: fix child-node lookups
  SUNRPC: Fix tracepoint storage issues with svc_recv and svc_rqst_status
  dax: fix general protection fault in dax_alloc_inode
  dax: fix PMD faults on zero-length files
  kvm: vmx: Reinstate support for CPUs without virtual NMI
  KVM: SVM: obey guest PAT
  KVM: nVMX: set IDTR and GDTR limits when loading L1 host state
  KVM: PPC: Book3S HV: Don't call real-mode XICS hypercall handlers if not enabled
  lockd: double unregister of inetaddr notifiers
  irqchip/gic-v3: Fix ppi-partitions lookup
  genirq: Track whether the trigger type has been set
  raid1: prevent freeze_array/wait_all_barriers deadlock
  block: Fix a race between blk_cleanup_queue() and timeout handling
  p54: don't unregister leds when they are not initialized
  mailbox: bcm-flexrm-mailbox: Fix FlexRM ring flush sequence
  mtd: nand: mtk: fix infinite ECC decode IRQ issue
  mtd: nand: Fix writing mtdoops to nand flash.
  mtd: nand: omap2: Fix subpage write
  mtd: nand: atmel: Actually use the PM ops
  mtd: nand: Export nand_reset() symbol
  mtd: Avoid probe failures when mtd->dbg.dfs_dir is invalid
  target: Avoid early CMD_T_PRE_EXECUTE failures during ABORT_TASK
  target: Fix quiese during transport_write_pending_qf endless loop
  target: Fix caw_sem leak in transport_generic_request_failure
  target: Fix QUEUE_FULL + SCSI task attribute handling
  target: fix buffer offset in core_scsi3_pri_read_full_status
  target: fix null pointer regression in core_tmr_drain_tmr_list
  iscsi-target: Fix non-immediate TMR reference leak
  iscsi-target: Make TASK_REASSIGN use proper se_cmd->cmd_kref
  scsi: lpfc: Fix oops if nvmet_fc_register_targetport fails
  scsi: lpfc: Fix FCP hba_wqidx assignment
  scsi: lpfc: Fix crash receiving ELS while detaching driver
  scsi: lpfc: fix pci hot plug crash in list_add call
  scsi: lpfc: fix pci hot plug crash in timer management routines
  scsi: sd_zbc: Fix sd_zbc_read_zoned_characteristics()
  scsi: qla2xxx: Suppress a kernel complaint in qla_init_base_qpair()
  net/9p: Switch to wait_event_killable()
  fs/9p: Compare qid.path in v9fs_test_inode
  9p: Fix missing commas in mount options
  fix a page leak in vhost_scsi_iov_to_sgl() error recovery
  mfd: lpc_ich: Avoton/Rangeley uses SPI_BYT method
  ASoC: sun8i-codec: Set the BCLK divider
  ASoC: sun8i-codec: Fix left and right channels inversion
  ASoC: sun8i-codec: Invert Master / Slave condition
  ALSA: hda/realtek - Fix ALC700 family no sound issue
  ALSA: hda - Fix yet remaining issue with vmaster 0dB initialization
  ALSA: hda: Fix too short HDMI/DP chmap reporting
  ALSA: hda/realtek - Fix ALC275 no sound issue
  ALSA: timer: Remove kernel warning at compat ioctl error paths
  ALSA: usb-audio: Add sanity checks in v2 clock parsers
  ALSA: usb-audio: Fix potential out-of-bound access at parsing SU
  ALSA: usb-audio: Add sanity checks to FE parser
  ALSA: pcm: update tstamp only if audio_tstamp changed
  ext4: prevent data corruption with journaling + DAX
  ext4: prevent data corruption with inline data + DAX
  ext4: fix interaction between i_size, fallocate, and delalloc after a crash
  ata: fixes kernel crash while tracing ata_eh_link_autopsy event
  fsnotify: fix pinning group in fsnotify_prepare_user_wait()
  fsnotify: pin both inode and vfsmount mark
  fsnotify: clean up fsnotify_prepare/finish_user_wait()
  md/bitmap: revert a patch
  Bluetooth: btqcomsmd: Add support for BD address setup
  md: don't check MD_SB_CHANGE_CLEAN in md_allow_write
  md: fix deadlock error in recent patch.
  iwlwifi: fix firmware names for 9000 and A000 series hw
  rtlwifi: fix uninitialized rtlhal->last_suspend_sec time
  rtlwifi: rtl8192ee: Fix memory leak when loading firmware
  nfsd: deal with revoked delegations appropriately
  NFS: revalidate "." etc correctly on "open".
  NFS: Avoid RCU usage in tracepoints
  nfs: Fix ugly referral attributes
  NFS: Revert "NFS: Move the flock open mode check into nfs_flock()"
  NFS: Fix typo in nomigration mount option
  f2fs: expose some sectors to user in inline data or dentry case
  btrfs: change how we decide to commit transactions during flushing
  isofs: fix timestamps beyond 2027
  fanotify: fix fsnotify_prepare_user_wait() failure
  fs: guard_bio_eod() needs to consider partitions
  bcache: check ca->alloc_thread initialized before wake up it
  libceph: don't WARN() if user tries to add invalid key
  eCryptfs: use after free in ecryptfs_release_messaging()
  fscrypt: lock mutex before checking for bounce page pool
  nilfs2: fix race condition that causes file system corruption
  autofs: don't fail mount for transient error
  mm/z3fold.c: use kref to prevent page free/compact race
  rt2x00usb: mark device removed when get ENOENT usb error
  MIPS: math-emu: Fix final emulation phase for certain instructions
  MIPS: BCM47XX: Fix LED inversion for WRT54GSv1
  MIPS: Fix an n32 core file generation regset support regression
  MIPS: dts: remove bogus bcm96358nb4ser.dtb from dtb-y entry
  MIPS: Fix MIPS64 FP save/restore on 32-bit kernels
  MIPS: Fix odd fp register warnings with MIPS64r2
  dm: discard support requires all targets in a table support discards
  dm: fix race between dm_get_from_kobject() and __dm_destroy()
  MIPS: pci: Remove KERN_WARN instance inside the mt7620 driver
  sched/rt: Simplify the IPI based RT balancing logic
  dm: allocate struct mapped_device with kvzalloc
  ovl: Put upperdentry if ovl_check_origin() fails
  dm bufio: fix integer overflow when limiting maximum cache size
  dm mpath: remove annoying message of 'blk_get_request() returned -11'
  dm zoned: ignore last smaller runt zone
  dm crypt: allow unaligned bv_offset
  dm cache: fix race condition in the writeback mode overwrite_bio optimisation
  dm integrity: allow unaligned bv_offset
  ALSA: hda: Add Raven PCI ID
  PCI: Apply Cavium ThunderX ACS quirk to more Root Ports
  PCI: Set Cavium ACS capability quirk flags to assert RR/CR/SV/UF
  PCI: hv: Use effective affinity mask
  PCI/ASPM: Use correct capability pointer to program LTR_L1.2_THRESHOLD
  PCI/ASPM: Account for downstream device's Port Common_Mode_Restore_Time
  PM / OPP: Add missing of_node_put(np)
  nbd: don't start req until after the dead connection logic
  nbd: wait uninterruptible for the dead timeout
  net: mvneta: fix handling of the Tx descriptor counter
  MIPS: ralink: Fix typo in mt7628 pinmux function
  MIPS: ralink: Fix MT7628 pinmux
  MIPS: cmpxchg64() and HAVE_VIRT_CPU_ACCOUNTING_GEN don't work for 32-bit SMP
  uapi: fix linux/rxrpc.h userspace compilation errors
  uapi: fix linux/tls.h userspace compilation error
  ARM: 8721/1: mm: dump: check hardware RO bit for LPAE
  ARM: 8722/1: mm: make STRICT_KERNEL_RWX effective for LPAE
  arm64: Implement arch-specific pte_access_permitted()
  perf/x86/intel: Hide TSX events when RTM is not supported
  x86/entry/64: Add missing irqflags tracing to native_load_gs_index()
  x86/entry/64: Fix entry_SYSCALL_64_after_hwframe() IRQ tracing
  x86/decoder: Add new TEST instruction pattern
  x86/boot: Fix boot failure when SMP MP-table is based at 0
  lib/mpi: call cond_resched() from mpi_powm() loop
  sched: Make resched_cpu() unconditional
  serdev: fix registration of second slave
  cpufreq: schedutil: Reset cached_raw_freq when not in sync with next_freq
  ACPI / EC: Fix regression related to triggering source of EC event handling
  ACPI / PM: Fix acpi_pm_notifier_lock vs flush_workqueue() deadlock
  s390/disassembler: increase show_code buffer size
  s390/disassembler: add missing end marker for e7 table
  s390/guarded storage: fix possible memory corruption
  s390/runtime instrumention: fix possible memory corruption
  s390/noexec: execute kexec datamover without DAT
  s390: fix transactional execution control register handling

Change-Id: I5c0d3507068e1f4482753cdcb83d1b43a52b2889
Signed-off-by: Runmin Wang <runminw@codeaurora.org>
2017-12-06 11:47:09 -08:00
Greg Kroah-Hartman
51a2a68fde Linux 4.14.4 2017-12-05 11:26:38 +01:00
Prasad Sodagudi
0cc35b1bfa AndroidKernel: Add LLVM support for Kernel
Add necessary changes to be able to compile the Kernel
with LLVM.

Change-Id: I147a7abc29ec66828e9626a74125d391f8aaa329
Signed-off-by: Prasad Sodagudi <psodagud@codeaurora.org>
Signed-off-by: Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
2017-12-01 15:09:26 -08:00
Greg Kroah-Hartman
191314edb3 Linux 4.14.3 2017-11-30 08:41:00 +00:00
Runmin Wang
2743e2d6a8 Merge remote-tracking branch 'remotes/origin/tmp-f9f0b03' into msm-next
* remotes/origin/tmp-f9f0b03:
  Linux 4.14.2
  ipmi: Prefer ACPI system interfaces over SMBIOS ones
  coda: fix 'kernel memory exposure attempt' in fsync
  mm/page_ext.c: check if page_ext is not prepared
  mm/page_alloc.c: broken deferred calculation
  ipmi: fix unsigned long underflow
  ocfs2: should wait dio before inode lock in ocfs2_setattr()
  ocfs2: fix cluster hang after a node dies
  mm/pagewalk.c: report holes in hugetlb ranges
  rcu: Fix up pending cbs check in rcu_prepare_for_idle
  tpm-dev-common: Reject too short writes
  serial: 8250_fintek: Fix finding base_port with activated SuperIO
  serial: omap: Fix EFR write on RTS deassertion
  ima: do not update security.ima if appraisal status is not INTEGRITY_PASS
  net/sctp: Always set scope_id in sctp_inet6_skb_msgname
  fealnx: Fix building error on MIPS
  net: cdc_ncm: GetNtbFormat endian fix
  vxlan: fix the issue that neigh proxy blocks all icmpv6 packets
  af_netlink: ensure that NLMSG_DONE never fails in dumps
  bio: ensure __bio_clone_fast copies bi_partno
  Linux 4.14.1
  sparc64: Fix page table walk for PUD hugepages
  sparc64: mmu_context: Add missing include files
  sparc32: Add cmpxchg64().
  spi: fix use-after-free at controller deregistration
  staging: rtl8188eu: Revert 4 commits breaking ARP
  staging: vboxvideo: Fix reporting invalid suggested-offset-properties
  staging: greybus: spilib: fix use-after-free after deregistration
  staging: ccree: fix 64 bit scatter/gather DMA ops
  staging: sm750fb: Fix parameter mistake in poke32
  staging: wilc1000: Fix bssid buffer offset in Txq
  rpmsg: glink: Add missing MODULE_LICENSE
  HID: wacom: generic: Recognize WACOM_HID_WD_PEN as a type of pen collection
  HID: cp2112: add HIDRAW dependency
  platform/x86: peaq_wmi: Fix missing terminating entry for peaq_dmi_table
  platform/x86: peaq-wmi: Add DMI check before binding to the WMI interface
  x86/MCE/AMD: Always give panic severity for UC errors in kernel context
  selftests/x86/protection_keys: Fix syscall NR redefinition warnings
  USB: serial: garmin_gps: fix memory leak on probe errors
  USB: serial: garmin_gps: fix I/O after failed probe and remove
  USB: serial: qcserial: add pid/vid for Sierra Wireless EM7355 fw update
  USB: serial: Change DbC debug device binding ID
  USB: serial: metro-usb: stop I/O after failed open
  usb: gadget: f_fs: Fix use-after-free in ffs_free_inst
  USB: Add delay-init quirk for Corsair K70 LUX keyboards
  USB: usbfs: compute urb->actual_length for isochronous
  USB: early: Use new USB product ID and strings for DbC device
  crypto: brcm - Explicity ACK mailbox message
  crypto: dh - Don't permit 'key' or 'g' size longer than 'p'
  crypto: dh - Don't permit 'p' to be 0
  crypto: dh - Fix double free of ctx->p
  media: dib0700: fix invalid dvb_detach argument
  media: imon: Fix null-ptr-deref in imon_probe
  dmaengine: dmatest: warn user when dma test times out
  EDAC, sb_edac: Don't create a second memory controller if HA1 is not present

Change-Id: I7274e9e849e76d651d6e4f09bea15229d3036118
Signed-off-by: Runmin Wang <runminw@codeaurora.org>
2017-11-27 11:00:26 -08:00
Greg Kroah-Hartman
f9f0b03ded Linux 4.14.2 2017-11-24 08:37:05 +01:00
Greg Kroah-Hartman
780a781dd6 Linux 4.14.1 2017-11-21 09:49:25 +01:00
Kyle Yan
1a3004fa9e Merge remote-tracking branch 'origin/tmp-bebc608' into msm-next
* origin/tmp-bebc608:
  Linux 4.14
  vlan: fix a use-after-free in vlan_device_event()
  tooling/headers: Sync the tools/include/uapi/drm/i915_drm.h UAPI header
  net: dsa: return after vlan prepare phase
  net: dsa: return after mdb prepare phase
  .mailmap: Add Maciej W. Rozycki's Imagination e-mail address
  Revert "x86: CPU: Fix up "cpu MHz" in /proc/cpuinfo"
  can: ifi: Fix transmitter delay calculation
  tcp: fix tcp_fastretrans_alert warning
  tcp: gso: avoid refcount_t warning from tcp_gso_segment()
  can: peak: Add support for new PCIe/M2 CAN FD interfaces
  can: sun4i: handle overrun in RX FIFO
  can: c_can: don't indicate triple sampling support for D_CAN
  x86/debug: Handle warnings before the notifier chain, to fix KGDB crash
  net/mlx5e: Increase Striding RQ minimum size limit to 4 multi-packet WQEs
  net/mlx5e: Set page to null in case dma mapping fails
  net/mlx5e: Fix napi poll with zero budget
  net/mlx5: Cancel health poll before sending panic teardown command
  net/mlx5: Loop over temp list to release delay events
  rds: ib: Fix NULL pointer dereference in debug code
  MAINTAINERS: update TPM driver infrastructure changes
  sysctl: add register_sysctl() dummy helper
  x86/mm: Fix ELF_ET_DYN_BASE for 5-level paging
  perf trace: Call machine__exit() at exit
  perf tools: Fix eBPF event specification parsing
  perf tools: Add "reject" option for parse-events.l
  rbd: use GFP_NOIO for parent stat and data requests
  ALSA: hda - fix headset mic problem for Dell machines with alc274
  cls_u32: use tcf_exts_get_net() before call_rcu()
  cls_tcindex: use tcf_exts_get_net() before call_rcu()
  cls_rsvp: use tcf_exts_get_net() before call_rcu()
  cls_route: use tcf_exts_get_net() before call_rcu()
  cls_matchall: use tcf_exts_get_net() before call_rcu()
  cls_fw: use tcf_exts_get_net() before call_rcu()
  cls_flower: use tcf_exts_get_net() before call_rcu()
  cls_flow: use tcf_exts_get_net() before call_rcu()
  cls_cgroup: use tcf_exts_get_net() before call_rcu()
  cls_bpf: use tcf_exts_get_net() before call_rcu()
  cls_basic: use tcf_exts_get_net() before call_rcu()
  net_sched: introduce tcf_exts_get_net() and tcf_exts_put_net()
  Revert "net_sched: hold netns refcnt for each action"
  net: usb: asix: fill null-ptr-deref in asix_suspend
  Revert "net: usb: asix: fill null-ptr-deref in asix_suspend"
  x86/mm: Unbreak modules that rely on external PAGE_KERNEL availability
  x86/idt: Remove X86_TRAP_BP initialization in idt_setup_traps()
  apparmor: fix off-by-one comparison on MAXMAPPED_SIG
  drm/i915: Deconstruct struct sgt_dma initialiser
  drm/i915: Reject unknown syncobj flags
  MIPS: AR7: Ensure that serial ports are properly set up
  MAINTAINERS: Add Lorenzo Pieralisi for PCI host bridge drivers
  KEYS: fix NULL pointer dereference during ASN.1 parsing [ver #2]
  MIPS: AR7: Defer registration of GPIO
  x86/oprofile/ppro: Do not use __this_cpu*() in preemptible context
  x86/unwind: Disable KASAN checking in the ORC unwinder
  qmi_wwan: Add missing skb_reset_mac_header-call
  bonding: fix slave stuck in BOND_LINK_FAIL state
  qrtr: Move to postcore_initcall
  net: qmi_wwan: fix divide by 0 on bad descriptors
  net: cdc_ether: fix divide by 0 on bad descriptors
  KVM: PPC: Book3S HV: Fix exclusion between HPT resizing and other HPT updates
  bonding: discard lowest hash bit for 802.3ad layer3+4
  Input: synaptics-rmi4 - RMI4 can also use SMBUS version 3
  Input: tsc200x-core - set INPUT_PROP_DIRECT
  Input: elan_i2c - add ELAN060C to the ACPI table
  net/mlx5e/core/en_fs: fix pointer dereference after free in mlx5e_execute_l2_action
  net: mvpp2: Prevent userspace from changing TX affinities
  MAINTAINERS: Remove Gabriele Paoloni as HiSilicon PCI maintainer
  MAINTAINERS: Remove Stephen Bates as Microsemi Switchtec maintainer
  MIPS: BMIPS: Fix missing cbr address
  drivers/ide-cd: Handle missing driver data during status check gracefully
  Revert "scsi: make 'state' device attribute pollable"
  ALSA: seq: Fix OSS sysex delivery in OSS emulation
  x86/smpboot: Make optimization of delay calibration work correctly
  ACPI / PM: Blacklist Low Power S0 Idle _DSM for Dell XPS13 9360
  scripts: add leaking_addresses.pl
  ALSA: seq: Avoid invalid lockdep class warning
  ARM: 8720/1: ensure dump_instr() checks addr_limit
  ALSA: timer: Limit max instances per timer
  tcp: fix DSACK-based undo on non-duplicate ACK
  l2tp: don't use l2tp_tunnel_find() in l2tp_ip and l2tp_ip6
  cpufreq: schedutil: Examine the correct CPU when we update util
  net: usb: asix: fill null-ptr-deref in asix_suspend
  netfilter/ipvs: clear ipvs_property flag when SKB net namespace changed
  cxgb4: update latest firmware version supported
  crypto: ccm - preserve the IV buffer
  crypto: x86/sha1-mb - fix panic due to unaligned access
  crypto: x86/sha256-mb - fix panic due to unaligned access
  xfrm: Fix stack-out-of-bounds read in xfrm_state_find.
  xfrm: do unconditional template resolution before pcpu cache check
  xfrm: defer daddr pointer assignment after spi parsing
  ALSA: usb-audio: support new Amanero Combo384 firmware version
  drm/vmwgfx: Fix Ubuntu 17.10 Wayland black screen issue
  drm/vmwgfx: constify vmw_fence_ops
  workqueue: Fix NULL pointer dereference

Change-Id: Id92cc6896224b2a45aaa1a6c525dee61d2791e60
Signed-off-by: Kyle Yan <kyan@codeaurora.org>
Signed-off-by: Prasad Sodagudi <psodagud@codeaurora.org>
2017-11-12 15:42:11 -08:00
Linus Torvalds
bebc6082da Linux 4.14 2017-11-12 10:46:13 -08:00
Runmin Wang
253c6dff4b Merge remote-tracking branch 'remotes/origin/tmp-39dae59' into msm-next
* remotes/msm-4.9/tmp-39dae59:
  Linux 4.14-rc8
  x86/module: Detect and skip invalid relocations
  objtool: Prevent GCC from merging annotate_unreachable(), take 2
  Revert "x86/mm: Stop calling leave_mm() in idle code"
  Documentation: Add Frank Rowand to list of enforcement statement endorsers
  doc: add Willy Tarreau to the list of enforcement statement endorsers
  tools/headers: Synchronize kernel ABI headers
  objtool: Resync objtool's instruction decoder source code copy with the kernel's latest version
  Input: sparse-keymap - send sync event for KE_SW/KE_VSW
  Input: ar1021_i2c - set INPUT_PROP_DIRECT
  arch/tile: Implement ->set_state_oneshot_stopped()
  Update MIPS email addresses
  x86: CPU: Fix up "cpu MHz" in /proc/cpuinfo
  mm, swap: fix race between swap count continuation operations
  mm/huge_memory.c: deposit page table when copying a PMD migration entry
  initramfs: fix initramfs rebuilds w/ compression after disabling
  fs/hugetlbfs/inode.c: fix hwpoison reserve accounting
  ocfs2: fstrim: Fix start offset of first cluster group during fstrim
  mm, /proc/pid/pagemap: fix soft dirty marking for PMD migration entry
  userfaultfd: hugetlbfs: prevent UFFDIO_COPY to fill beyond the end of i_size
  Documentation: Add Tim Bird to list of enforcement statement endorsers
  net: systemport: Correct IPG length settings
  tcp: do not mangle skb->cb[] in tcp_make_synack()
  fib: fib_dump_info can no longer use __in_dev_get_rtnl
  stmmac: use of_property_read_u32 instead of read_u8
  net_sched: hold netns refcnt for each action
  net_sched: acquire RTNL in tc_action_net_exit()
  powerpc/perf: Fix core-imc hotplug callback failure during imc initialization
  Kbuild: don't pass "-C" to preprocessor when processing linker scripts
  Revert "x86: do not use cpufreq_quick_get() for /proc/cpuinfo "cpu MHz""
  arm64: ensure __dump_instr() checks addr_limit
  KVM: x86: Update APICv on APIC reset
  KVM: VMX: Do not fully reset PI descriptor on vCPU reset
  kvm: Return -ENODEV from update_persistent_clock
  futex: futex_wake_op, do not fail on invalid op
  MIPS: Update email address for Marcin Nowakowski
  License cleanup: add SPDX license identifier to uapi header files with a license
  License cleanup: add SPDX license identifier to uapi header files with no license
  License cleanup: add SPDX GPL-2.0 license identifier to files with no license
  KEYS: fix out-of-bounds read during ASN.1 parsing
  KEYS: trusted: fix writing past end of buffer in trusted_read()
  KEYS: return full count in keyring_read() if buffer is too small
  net: vrf: correct FRA_L3MDEV encode type
  tcp_nv: fix division by zero in tcpnv_acked()
  drm/amdgpu: allow harvesting check for Polaris VCE
  drm/amdgpu: return -ENOENT from uvd 6.0 early init for harvesting
  ARM: add debug ".edata_real" symbol
  MIPS: smp-cmp: Fix vpe_id build error
  MAINTAINERS: Update Pistachio platform maintainers
  MIPS: smp-cmp: Use right include for task_struct
  signal: Fix name of SIGEMT in #if defined() check
  MIPS: Update Goldfish RTC driver maintainer email address
  MIPS: Update RINT emulation maintainer email address
  MIPS: CPS: Fix use of current_cpu_data in preemptible code
  x86/mcelog: Get rid of RCU remnants
  watchdog/hardlockup/perf: Use atomics to track in-use cpu counter
  watchdog/harclockup/perf: Revert a33d44843d45 ("watchdog/hardlockup/perf: Simplify deferred event destroy")
  ARM: 8716/1: pass endianness info to sparse
  drm/i915: Check incoming alignment for unfenced buffers (on i915gm)
  x86/mm: fix use-after-free of vma during userfaultfd fault
  ide:ide-cd: fix kernel panic resulting from missing scsi_req_init
  mmc: dw_mmc: Fix the DTO timeout calculation
  tcp: fix tcp_mtu_probe() vs highest_sack
  ipv6: addrconf: increment ifp refcount before ipv6_del_addr()
  tun/tap: sanitize TUNSETSNDBUF input
  mlxsw: i2c: Fix buffer increment counter for write transaction
  netfilter: nf_reject_ipv4: Fix use-after-free in send_reset
  futex: Fix more put_pi_state() vs. exit_pi_state_list() races
  powerpc/kprobes: Dereference function pointers only if the address does not belong to kernel text
  Revert "powerpc64/elfv1: Only dereference function descriptor for non-text symbols"
  mlxsw: reg: Add high and low temperature thresholds
  MAINTAINERS: Remove Yotam from mlxfw
  MAINTAINERS: Update Yotam's E-mail
  net: hns: set correct return value
  net: lapbether: fix double free
  bpf: remove SK_REDIRECT from UAPI
  net: phy: marvell: Only configure RGMII delays when using RGMII
  MIPS: SMP: Fix deadlock & online race
  MIPS: bpf: Fix a typo in build_one_insn()
  MIPS: microMIPS: Fix incorrect mask in insn_table_MM
  MIPS: Fix CM region target definitions
  MIPS: generic: Fix compilation error from include asm/mips-cpc.h
  MIPS: Fix exception entry when CONFIG_EVA enabled
  irqchip/irq-mvebu-gicp: Add missing spin_lock init
  drm/nouveau/kms/nv50: use the correct state for base channel notifier setup
  MIPS: generic: Fix NI 169445 its build
  Update MIPS email addresses
  tile: pass machine size to sparse
  selftests: lib.mk: print individual test results to console by default
  RDMA/nldev: Enforce device index check for port callback
  Revert "PM / QoS: Fix device resume latency PM QoS"
  Revert "PM / QoS: Fix default runtime_pm device resume latency"
  scsi: qla2xxx: Fix oops in qla2x00_probe_one error path
  xfrm: Fix GSO for IPsec with GRE tunnel.
  ALSA: seq: Fix nested rwsem annotation for lockdep splat
  ALSA: timer: Add missing mutex lock for compat ioctls
  tc-testing: fix arg to ip command: -s -> -n
  net_sched: remove tcf_block_put_deferred()
  l2tp: hold tunnel in pppol2tp_connect()
  drm/i915: Hold rcu_read_lock when iterating over the radixtree (vma idr)
  drm/i915: Hold rcu_read_lock when iterating over the radixtree (objects)
  drm/i915/edp: read edp display control registers unconditionally
  drm/i915: Do not rely on wm preservation for ILK watermarks
  drm/i915: Cancel the modeset retry work during modeset cleanup
  Mark 'ioremap_page_range()' as possibly sleeping
  nvme: Fix setting logical block format when revalidating
  mmc: dw_mmc: Add locking to the CTO timer
  mmc: dw_mmc: Fix the CTO timeout calculation
  mmc: dw_mmc: cancel the CTO timer after a voltage switch
  perf/cgroup: Fix perf cgroup hierarchy support
  PM / QoS: Fix default runtime_pm device resume latency
  Revert "ath10k: fix napi_poll budget overflow"
  ath10k: rebuild crypto header in rx data frames
  cifs: check MaxPathNameComponentLength != 0 before using it
  KVM: arm/arm64: vgic-its: Check GITS_BASER Valid bit before saving tables
  KVM: arm/arm64: vgic-its: Check CBASER/BASER validity before enabling the ITS
  KVM: arm/arm64: vgic-its: Fix vgic_its_restore_collection_table returned value
  KVM: arm/arm64: vgic-its: Fix return value for device table restore
  efi/libstub: arm: omit sorting of the UEFI memory map
  perf tools: Unwind properly location after REJECT
  virtio_blk: Fix an SG_IO regression
  wcn36xx: Remove unnecessary rcu_read_unlock in wcn36xx_bss_info_changed
  ARM: dts: mvebu: pl310-cache disable double-linefill
  xfrm: Clear sk_dst_cache when applying per-socket policy.
  perf symbols: Fix memory corruption because of zero length symbols
  powerpc/64s/radix: Fix preempt imbalance in TLB flush
  netfilter: nft_set_hash: disable fast_ops for 2-len keys
  powerpc: Fix check for copy/paste instructions in alignment handler
  powerpc/perf: Fix IMC allocation routine
  xfrm: Fix xfrm_dst_cache memleak
  ARM: 8715/1: add a private asm/unaligned.h
  clk: uniphier: fix clock data for PXs3
  Documentation: Add my name to kernel enforcement statement
  nvme-rdma: fix possible hang when issuing commands during ctrl removal
  arm/arm64: kvm: Disable branch profiling in HYP code
  arm/arm64: kvm: Move initialization completion message
  arm/arm64: KVM: set right LR register value for 32 bit guest when inject abort
  Documentation: kernel-enforcement-statement.rst: proper sort names
  ASoC: rt5616: fix 0x91 default value
  Documentation: Add Arm Ltd to kernel-enforcement-statement.rst
  arm64: dts: uniphier: add STDMAC clock to EHCI nodes
  ARM: dts: uniphier: add STDMAC clock to EHCI nodes
  mmc: renesas_sdhi: fix kernel panic in _internal_dmac.c
  mmc: tmio: fix swiotlb buffer is full
  Documentation: kernel-enforcement-statement.rst: Remove Red Hat markings
  Documentation: Add myself to the enforcement statement list
  Documentation: Sign kernel enforcement statement
  Add ack for Trond Myklebust to the enforcement statement
  Documentation: update kernel enforcement support list
  Documentation: add my name to supporters
  ASoC: rt5659: connect LOUT Amp with Charge Pump
  ASoC: rt5659: register power bit of LOUT Amp
  KVM: arm64: its: Fix missing dynamic allocation check in scan_its_table
  crypto: x86/chacha20 - satisfy stack validation 2.0
  ASoC: rt5663: Change the dev getting function in rt5663_irq
  ASoC: rt5514: Revert Hotword Model control
  ASoC: topology: Fix a potential memory leak in 'soc_tplg_dapm_widget_denum_create()'
  ASoC: topology: Fix a potential NULL pointer dereference in 'soc_tplg_dapm_widget_denum_create()'
  ASoC: rt5514-spi: check irq status to schedule data copy
  ASoC: adau17x1: Workaround for noise bug in ADC

  Conflicts:
	drivers/gpu/drm/msm/Makefile
	drivers/soc/qcom/Makefile
	drivers/staging/android/ion/Makefile
	include/linux/coresight-stm.h
	include/trace/events/kmem.h

Change-Id: I01f1779762b652b9213924caa3d54f29cf03d285
Signed-off-by: Runmin Wang <runminw@codeaurora.org>
2017-11-06 11:37:20 -08:00
Linus Torvalds
39dae59d66 Linux 4.14-rc8 2017-11-05 13:05:14 -08:00
Linus Torvalds
ead751507d License cleanup: add SPDX license identifiers to some files
Many source files in the tree are missing licensing information, which
 makes it harder for compliance tools to determine the correct license.
 
 By default all files without license information are under the default
 license of the kernel, which is GPL version 2.
 
 Update the files which contain no license information with the 'GPL-2.0'
 SPDX license identifier.  The SPDX identifier is a legally binding
 shorthand, which can be used instead of the full boiler plate text.
 
 This patch is based on work done by Thomas Gleixner and Kate Stewart and
 Philippe Ombredanne.
 
 How this work was done:
 
 Patches were generated and checked against linux-4.14-rc6 for a subset of
 the use cases:
  - file had no licensing information it it.
  - file was a */uapi/* one with no licensing information in it,
  - file was a */uapi/* one with existing licensing information,
 
 Further patches will be generated in subsequent months to fix up cases
 where non-standard license headers were used, and references to license
 had to be inferred by heuristics based on keywords.
 
 The analysis to determine which SPDX License Identifier to be applied to
 a file was done in a spreadsheet of side by side results from of the
 output of two independent scanners (ScanCode & Windriver) producing SPDX
 tag:value files created by Philippe Ombredanne.  Philippe prepared the
 base worksheet, and did an initial spot review of a few 1000 files.
 
 The 4.13 kernel was the starting point of the analysis with 60,537 files
 assessed.  Kate Stewart did a file by file comparison of the scanner
 results in the spreadsheet to determine which SPDX license identifier(s)
 to be applied to the file. She confirmed any determination that was not
 immediately clear with lawyers working with the Linux Foundation.
 
 Criteria used to select files for SPDX license identifier tagging was:
  - Files considered eligible had to be source code files.
  - Make and config files were included as candidates if they contained >5
    lines of source
  - File already had some variant of a license header in it (even if <5
    lines).
 
 All documentation files were explicitly excluded.
 
 The following heuristics were used to determine which SPDX license
 identifiers to apply.
 
  - when both scanners couldn't find any license traces, file was
    considered to have no license information in it, and the top level
    COPYING file license applied.
 
    For non */uapi/* files that summary was:
 
    SPDX license identifier                            # files
    ---------------------------------------------------|-------
    GPL-2.0                                              11139
 
    and resulted in the first patch in this series.
 
    If that file was a */uapi/* path one, it was "GPL-2.0 WITH
    Linux-syscall-note" otherwise it was "GPL-2.0".  Results of that was:
 
    SPDX license identifier                            # files
    ---------------------------------------------------|-------
    GPL-2.0 WITH Linux-syscall-note                        930
 
    and resulted in the second patch in this series.
 
  - if a file had some form of licensing information in it, and was one
    of the */uapi/* ones, it was denoted with the Linux-syscall-note if
    any GPL family license was found in the file or had no licensing in
    it (per prior point).  Results summary:
 
    SPDX license identifier                            # files
    ---------------------------------------------------|------
    GPL-2.0 WITH Linux-syscall-note                       270
    GPL-2.0+ WITH Linux-syscall-note                      169
    ((GPL-2.0 WITH Linux-syscall-note) OR BSD-2-Clause)    21
    ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)    17
    LGPL-2.1+ WITH Linux-syscall-note                      15
    GPL-1.0+ WITH Linux-syscall-note                       14
    ((GPL-2.0+ WITH Linux-syscall-note) OR BSD-3-Clause)    5
    LGPL-2.0+ WITH Linux-syscall-note                       4
    LGPL-2.1 WITH Linux-syscall-note                        3
    ((GPL-2.0 WITH Linux-syscall-note) OR MIT)              3
    ((GPL-2.0 WITH Linux-syscall-note) AND MIT)             1
 
    and that resulted in the third patch in this series.
 
  - when the two scanners agreed on the detected license(s), that became
    the concluded license(s).
 
  - when there was disagreement between the two scanners (one detected a
    license but the other didn't, or they both detected different
    licenses) a manual inspection of the file occurred.
 
  - In most cases a manual inspection of the information in the file
    resulted in a clear resolution of the license that should apply (and
    which scanner probably needed to revisit its heuristics).
 
  - When it was not immediately clear, the license identifier was
    confirmed with lawyers working with the Linux Foundation.
 
  - If there was any question as to the appropriate license identifier,
    the file was flagged for further research and to be revisited later
    in time.
 
 In total, over 70 hours of logged manual review was done on the
 spreadsheet to determine the SPDX license identifiers to apply to the
 source files by Kate, Philippe, Thomas and, in some cases, confirmation
 by lawyers working with the Linux Foundation.
 
 Kate also obtained a third independent scan of the 4.13 code base from
 FOSSology, and compared selected files where the other two scanners
 disagreed against that SPDX file, to see if there was new insights.  The
 Windriver scanner is based on an older version of FOSSology in part, so
 they are related.
 
 Thomas did random spot checks in about 500 files from the spreadsheets
 for the uapi headers and agreed with SPDX license identifier in the
 files he inspected. For the non-uapi files Thomas did random spot checks
 in about 15000 files.
 
 In initial set of patches against 4.14-rc6, 3 files were found to have
 copy/paste license identifier errors, and have been fixed to reflect the
 correct identifier.
 
 Additionally Philippe spent 10 hours this week doing a detailed manual
 inspection and review of the 12,461 patched files from the initial patch
 version early this week with:
  - a full scancode scan run, collecting the matched texts, detected
    license ids and scores
  - reviewing anything where there was a license detected (about 500+
    files) to ensure that the applied SPDX license was correct
  - reviewing anything where there was no detection but the patch license
    was not GPL-2.0 WITH Linux-syscall-note to ensure that the applied
    SPDX license was correct
 
 This produced a worksheet with 20 files needing minor correction.  This
 worksheet was then exported into 3 different .csv files for the
 different types of files to be modified.
 
 These .csv files were then reviewed by Greg.  Thomas wrote a script to
 parse the csv files and add the proper SPDX tag to the file, in the
 format that the file expected.  This script was further refined by Greg
 based on the output to detect more types of files automatically and to
 distinguish between header and source .c files (which need different
 comment types.)  Finally Greg ran the script using the .csv files to
 generate the patches.
 
 Reviewed-by: Kate Stewart <kstewart@linuxfoundation.org>
 Reviewed-by: Philippe Ombredanne <pombredanne@nexb.com>
 Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
 -----BEGIN PGP SIGNATURE-----
 
 iG0EABECAC0WIQT0tgzFv3jCIUoxPcsxR9QN2y37KQUCWfswbQ8cZ3JlZ0Brcm9h
 aC5jb20ACgkQMUfUDdst+ykvEwCfXU1MuYFQGgMdDmAZXEc+xFXZvqgAoKEcHDNA
 6dVh26uchcEQLN/XqUDt
 =x306
 -----END PGP SIGNATURE-----

Merge tag 'spdx_identifiers-4.14-rc8' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core

Pull initial SPDX identifiers from Greg KH:
 "License cleanup: add SPDX license identifiers to some files

  Many source files in the tree are missing licensing information, which
  makes it harder for compliance tools to determine the correct license.

  By default all files without license information are under the default
  license of the kernel, which is GPL version 2.

  Update the files which contain no license information with the
  'GPL-2.0' SPDX license identifier. The SPDX identifier is a legally
  binding shorthand, which can be used instead of the full boiler plate
  text.

  This patch is based on work done by Thomas Gleixner and Kate Stewart
  and Philippe Ombredanne.

  How this work was done:

  Patches were generated and checked against linux-4.14-rc6 for a subset
  of the use cases:

   - file had no licensing information it it.

   - file was a */uapi/* one with no licensing information in it,

   - file was a */uapi/* one with existing licensing information,

  Further patches will be generated in subsequent months to fix up cases
  where non-standard license headers were used, and references to
  license had to be inferred by heuristics based on keywords.

  The analysis to determine which SPDX License Identifier to be applied
  to a file was done in a spreadsheet of side by side results from of
  the output of two independent scanners (ScanCode & Windriver)
  producing SPDX tag:value files created by Philippe Ombredanne.
  Philippe prepared the base worksheet, and did an initial spot review
  of a few 1000 files.

  The 4.13 kernel was the starting point of the analysis with 60,537
  files assessed. Kate Stewart did a file by file comparison of the
  scanner results in the spreadsheet to determine which SPDX license
  identifier(s) to be applied to the file. She confirmed any
  determination that was not immediately clear with lawyers working with
  the Linux Foundation.

  Criteria used to select files for SPDX license identifier tagging was:

   - Files considered eligible had to be source code files.

   - Make and config files were included as candidates if they contained
     >5 lines of source

   - File already had some variant of a license header in it (even if <5
     lines).

  All documentation files were explicitly excluded.

  The following heuristics were used to determine which SPDX license
  identifiers to apply.

   - when both scanners couldn't find any license traces, file was
     considered to have no license information in it, and the top level
     COPYING file license applied.

     For non */uapi/* files that summary was:

       SPDX license identifier                            # files
       ---------------------------------------------------|-------
       GPL-2.0                                              11139

     and resulted in the first patch in this series.

     If that file was a */uapi/* path one, it was "GPL-2.0 WITH
     Linux-syscall-note" otherwise it was "GPL-2.0". Results of that
     was:

       SPDX license identifier                            # files
       ---------------------------------------------------|-------
       GPL-2.0 WITH Linux-syscall-note                        930

     and resulted in the second patch in this series.

   - if a file had some form of licensing information in it, and was one
     of the */uapi/* ones, it was denoted with the Linux-syscall-note if
     any GPL family license was found in the file or had no licensing in
     it (per prior point). Results summary:

       SPDX license identifier                            # files
       ---------------------------------------------------|------
       GPL-2.0 WITH Linux-syscall-note                       270
       GPL-2.0+ WITH Linux-syscall-note                      169
       ((GPL-2.0 WITH Linux-syscall-note) OR BSD-2-Clause)    21
       ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)    17
       LGPL-2.1+ WITH Linux-syscall-note                      15
       GPL-1.0+ WITH Linux-syscall-note                       14
       ((GPL-2.0+ WITH Linux-syscall-note) OR BSD-3-Clause)    5
       LGPL-2.0+ WITH Linux-syscall-note                       4
       LGPL-2.1 WITH Linux-syscall-note                        3
       ((GPL-2.0 WITH Linux-syscall-note) OR MIT)              3
       ((GPL-2.0 WITH Linux-syscall-note) AND MIT)             1

     and that resulted in the third patch in this series.

   - when the two scanners agreed on the detected license(s), that
     became the concluded license(s).

   - when there was disagreement between the two scanners (one detected
     a license but the other didn't, or they both detected different
     licenses) a manual inspection of the file occurred.

   - In most cases a manual inspection of the information in the file
     resulted in a clear resolution of the license that should apply
     (and which scanner probably needed to revisit its heuristics).

   - When it was not immediately clear, the license identifier was
     confirmed with lawyers working with the Linux Foundation.

   - If there was any question as to the appropriate license identifier,
     the file was flagged for further research and to be revisited later
     in time.

  In total, over 70 hours of logged manual review was done on the
  spreadsheet to determine the SPDX license identifiers to apply to the
  source files by Kate, Philippe, Thomas and, in some cases,
  confirmation by lawyers working with the Linux Foundation.

  Kate also obtained a third independent scan of the 4.13 code base from
  FOSSology, and compared selected files where the other two scanners
  disagreed against that SPDX file, to see if there was new insights.
  The Windriver scanner is based on an older version of FOSSology in
  part, so they are related.

  Thomas did random spot checks in about 500 files from the spreadsheets
  for the uapi headers and agreed with SPDX license identifier in the
  files he inspected. For the non-uapi files Thomas did random spot
  checks in about 15000 files.

  In initial set of patches against 4.14-rc6, 3 files were found to have
  copy/paste license identifier errors, and have been fixed to reflect
  the correct identifier.

  Additionally Philippe spent 10 hours this week doing a detailed manual
  inspection and review of the 12,461 patched files from the initial
  patch version early this week with:

   - a full scancode scan run, collecting the matched texts, detected
     license ids and scores

   - reviewing anything where there was a license detected (about 500+
     files) to ensure that the applied SPDX license was correct

   - reviewing anything where there was no detection but the patch
     license was not GPL-2.0 WITH Linux-syscall-note to ensure that the
     applied SPDX license was correct

  This produced a worksheet with 20 files needing minor correction. This
  worksheet was then exported into 3 different .csv files for the
  different types of files to be modified.

  These .csv files were then reviewed by Greg. Thomas wrote a script to
  parse the csv files and add the proper SPDX tag to the file, in the
  format that the file expected. This script was further refined by Greg
  based on the output to detect more types of files automatically and to
  distinguish between header and source .c files (which need different
  comment types.) Finally Greg ran the script using the .csv files to
  generate the patches.

  Reviewed-by: Kate Stewart <kstewart@linuxfoundation.org>
  Reviewed-by: Philippe Ombredanne <pombredanne@nexb.com>
  Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
  Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>"

* tag 'spdx_identifiers-4.14-rc8' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core:
  License cleanup: add SPDX license identifier to uapi header files with a license
  License cleanup: add SPDX license identifier to uapi header files with no license
  License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 10:04:46 -07:00
Greg Kroah-Hartman
b24413180f License cleanup: add SPDX GPL-2.0 license identifier to files with no license
Many source files in the tree are missing licensing information, which
makes it harder for compliance tools to determine the correct license.

By default all files without license information are under the default
license of the kernel, which is GPL version 2.

Update the files which contain no license information with the 'GPL-2.0'
SPDX license identifier.  The SPDX identifier is a legally binding
shorthand, which can be used instead of the full boiler plate text.

This patch is based on work done by Thomas Gleixner and Kate Stewart and
Philippe Ombredanne.

How this work was done:

Patches were generated and checked against linux-4.14-rc6 for a subset of
the use cases:
 - file had no licensing information it it.
 - file was a */uapi/* one with no licensing information in it,
 - file was a */uapi/* one with existing licensing information,

Further patches will be generated in subsequent months to fix up cases
where non-standard license headers were used, and references to license
had to be inferred by heuristics based on keywords.

The analysis to determine which SPDX License Identifier to be applied to
a file was done in a spreadsheet of side by side results from of the
output of two independent scanners (ScanCode & Windriver) producing SPDX
tag:value files created by Philippe Ombredanne.  Philippe prepared the
base worksheet, and did an initial spot review of a few 1000 files.

The 4.13 kernel was the starting point of the analysis with 60,537 files
assessed.  Kate Stewart did a file by file comparison of the scanner
results in the spreadsheet to determine which SPDX license identifier(s)
to be applied to the file. She confirmed any determination that was not
immediately clear with lawyers working with the Linux Foundation.

Criteria used to select files for SPDX license identifier tagging was:
 - Files considered eligible had to be source code files.
 - Make and config files were included as candidates if they contained >5
   lines of source
 - File already had some variant of a license header in it (even if <5
   lines).

All documentation files were explicitly excluded.

The following heuristics were used to determine which SPDX license
identifiers to apply.

 - when both scanners couldn't find any license traces, file was
   considered to have no license information in it, and the top level
   COPYING file license applied.

   For non */uapi/* files that summary was:

   SPDX license identifier                            # files
   ---------------------------------------------------|-------
   GPL-2.0                                              11139

   and resulted in the first patch in this series.

   If that file was a */uapi/* path one, it was "GPL-2.0 WITH
   Linux-syscall-note" otherwise it was "GPL-2.0".  Results of that was:

   SPDX license identifier                            # files
   ---------------------------------------------------|-------
   GPL-2.0 WITH Linux-syscall-note                        930

   and resulted in the second patch in this series.

 - if a file had some form of licensing information in it, and was one
   of the */uapi/* ones, it was denoted with the Linux-syscall-note if
   any GPL family license was found in the file or had no licensing in
   it (per prior point).  Results summary:

   SPDX license identifier                            # files
   ---------------------------------------------------|------
   GPL-2.0 WITH Linux-syscall-note                       270
   GPL-2.0+ WITH Linux-syscall-note                      169
   ((GPL-2.0 WITH Linux-syscall-note) OR BSD-2-Clause)    21
   ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)    17
   LGPL-2.1+ WITH Linux-syscall-note                      15
   GPL-1.0+ WITH Linux-syscall-note                       14
   ((GPL-2.0+ WITH Linux-syscall-note) OR BSD-3-Clause)    5
   LGPL-2.0+ WITH Linux-syscall-note                       4
   LGPL-2.1 WITH Linux-syscall-note                        3
   ((GPL-2.0 WITH Linux-syscall-note) OR MIT)              3
   ((GPL-2.0 WITH Linux-syscall-note) AND MIT)             1

   and that resulted in the third patch in this series.

 - when the two scanners agreed on the detected license(s), that became
   the concluded license(s).

 - when there was disagreement between the two scanners (one detected a
   license but the other didn't, or they both detected different
   licenses) a manual inspection of the file occurred.

 - In most cases a manual inspection of the information in the file
   resulted in a clear resolution of the license that should apply (and
   which scanner probably needed to revisit its heuristics).

 - When it was not immediately clear, the license identifier was
   confirmed with lawyers working with the Linux Foundation.

 - If there was any question as to the appropriate license identifier,
   the file was flagged for further research and to be revisited later
   in time.

In total, over 70 hours of logged manual review was done on the
spreadsheet to determine the SPDX license identifiers to apply to the
source files by Kate, Philippe, Thomas and, in some cases, confirmation
by lawyers working with the Linux Foundation.

Kate also obtained a third independent scan of the 4.13 code base from
FOSSology, and compared selected files where the other two scanners
disagreed against that SPDX file, to see if there was new insights.  The
Windriver scanner is based on an older version of FOSSology in part, so
they are related.

Thomas did random spot checks in about 500 files from the spreadsheets
for the uapi headers and agreed with SPDX license identifier in the
files he inspected. For the non-uapi files Thomas did random spot checks
in about 15000 files.

In initial set of patches against 4.14-rc6, 3 files were found to have
copy/paste license identifier errors, and have been fixed to reflect the
correct identifier.

Additionally Philippe spent 10 hours this week doing a detailed manual
inspection and review of the 12,461 patched files from the initial patch
version early this week with:
 - a full scancode scan run, collecting the matched texts, detected
   license ids and scores
 - reviewing anything where there was a license detected (about 500+
   files) to ensure that the applied SPDX license was correct
 - reviewing anything where there was no detection but the patch license
   was not GPL-2.0 WITH Linux-syscall-note to ensure that the applied
   SPDX license was correct

This produced a worksheet with 20 files needing minor correction.  This
worksheet was then exported into 3 different .csv files for the
different types of files to be modified.

These .csv files were then reviewed by Greg.  Thomas wrote a script to
parse the csv files and add the proper SPDX tag to the file, in the
format that the file expected.  This script was further refined by Greg
based on the output to detect more types of files automatically and to
distinguish between header and source .c files (which need different
comment types.)  Finally Greg ran the script using the .csv files to
generate the patches.

Reviewed-by: Kate Stewart <kstewart@linuxfoundation.org>
Reviewed-by: Philippe Ombredanne <pombredanne@nexb.com>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-11-02 11:10:55 +01:00
Runmin Wang
b5ebeb3ea6 Merge remote-tracking branch 'remotes/origin/tmp-0b07194' into msm-next
* remotes/origin/tmp-0b07194:
  Linux 4.14-rc7
  selftests: Introduce a new test case to tc testsuite
  selftests: Introduce a new script to generate tc batch file
  net_sched: fix call_rcu() race on act_sample module removal
  net_sched: add rtnl assertion to tcf_exts_destroy()
  net_sched: use tcf_queue_work() in tcindex filter
  net_sched: use tcf_queue_work() in rsvp filter
  net_sched: use tcf_queue_work() in route filter
  net_sched: use tcf_queue_work() in u32 filter
  net_sched: use tcf_queue_work() in matchall filter
  net_sched: use tcf_queue_work() in fw filter
  net_sched: use tcf_queue_work() in flower filter
  net_sched: use tcf_queue_work() in flow filter
  net_sched: use tcf_queue_work() in cgroup filter
  net_sched: use tcf_queue_work() in bpf filter
  net_sched: use tcf_queue_work() in basic filter
  net_sched: introduce a workqueue for RCU callbacks of tc filter
  sctp: fix some type cast warnings introduced since very beginning
  sctp: fix a type cast warnings that causes a_rwnd gets the wrong value
  sctp: fix some type cast warnings introduced by transport rhashtable
  sctp: fix some type cast warnings introduced by stream reconf
  net_sched: avoid matching qdisc with zero handle
  sctp: reset owner sk for data chunks on out queues when migrating a sock
  bpf: rename sk_actions to align with bpf infrastructure
  bpf: bpf_compute_data uses incorrect cb structure
  assoc_array: Fix a buggy node-splitting case
  tap: reference to KVA of an unloaded module causes kernel panic
  tcp: refresh tp timestamp before tcp_mtu_probe()
  tuntap: properly align skb->head before building skb
  Fix tracing sample code warning.
  Input: synaptics-rmi4 - limit the range of what GPIOs are buttons
  Input: gtco - fix potential out-of-bound access
  ip6_gre: update dst pmtu if dev mtu has been updated by toobig in __gre6_xmit
  ip6_gre: only increase err_count for some certain type icmpv6 in ip6gre_err
  ipip: only increase err_count for some certain type icmp in ipip_err
  net: stmmac: First Queue must always be in DCB mode
  net: stmmac: dwc-qos-eth: Fix typo in DT bindings parsing
  Revert "x86/mm: Limit mmap() of /dev/mem to valid physical addresses"
  maintainers: drop Chris Wright from pvops
  arm/xen: don't inclide rwlock.h directly.
  drm/i915/gvt: Adding ACTHD mmio read handler
  drm/i915/gvt: Extract mmio_read_from_hw() common function
  drm/i915/gvt: Refine MMIO_RING_F()
  drm/i915/gvt: properly check per_ctx bb valid state
  Revert "apparmor: add base infastructure for socket mediation"
  SMB3: Validate negotiate request must always be signed
  alpha/PCI: Move pci_map_irq()/pci_swizzle() out of initdata
  i40e: Add programming descriptors to cleaned_count
  i40e: Fix incorrect use of tx_itr_setting when checking for Rx ITR setup
  ixgbe: Fix Tx map failure path
  igb: Fix TX map failure path
  e1000: avoid null pointer dereference on invalid stat type
  e1000: fix race condition between e1000_down() and e1000_watchdog
  xen: fix booting ballooned down hvm guest
  tap: double-free in error path in tap_open()
  tcp: call tcp_rate_skb_sent() when retransmit with unaligned skb->data
  tcp/dccp: fix other lockdep splats accessing ireq_opt
  rds: Fix inaccurate accounting of unsignaled wrs
  rds: ib: Fix uninitialized variable
  net: mvpp2: do not sleep in set_rx_mode
  net: mvpp2: fix invalid parameters order when calling the tcam init
  net: mvpp2: fix typo in the tcam setup
  net/mlx5e: DCBNL, Implement tc with ets type and zero bandwidth
  net/mlx5e: Properly deal with encap flows add/del under neigh update
  net/mlx5: Delay events till mlx5 interface's add complete for pci resume
  net/mlx5: Fix health work queue spin lock to IRQ safe
  tun: allow positive return values on dev_get_valid_name() call
  nfp: refuse offloading filters that redirects to upper devices
  net/unix: don't show information about sockets from other namespaces
  RDMA/netlink: OOPs in rdma_nl_rcv_msg() from misinterpreted flag
  SMB: fix validate negotiate info uninitialised memory use
  SMB: fix leak of validate negotiate info response buffer
  CIFS: Fix NULL pointer deref on SMB2_tcon() failure
  CIFS: do not send invalid input buffer on QUERY_INFO requests
  cifs: Select all required crypto modules
  xen/gntdev: avoid out of bounds access in case of partial gntdev_mmap()
  drm/i915/perf: fix perf enable/disable ioctls with 32bits userspace
  fuse: fix READDIRPLUS skipping an entry
  drm/amd/amdgpu: Remove workaround check for UVD6 on APUs
  efi/libstub/arm: Don't randomize runtime regions when CONFIG_HIBERNATION=y
  efi/efi_test: Prevent an Oops in efi_runtime_query_capsulecaps()
  mac80211: don't compare TKIP TX MIC key in reinstall prevention
  ceph: unlock dangling spinlock in try_flush_caps()
  s390/kvm: fix detection of guest machine checks
  net: dsa: check master device before put
  strparser: Use delayed work instead of timer for msg timeout
  nbd: handle interrupted sendmsg with a sndtimeo set
  Input: elan_i2c - add ELAN0611 to the ACPI table
  ovl: do not cleanup unsupported index entries
  ovl: handle ENOENT on index lookup
  ovl: fix EIO from lookup of non-indexed upper
  PM / QoS: Fix device resume latency PM QoS
  hwmon: (tmp102) Fix first temperature reading
  ALSA: hda - fix headset mic problem for Dell machines with alc236
  perf/x86/intel/bts: Fix exclusive event reference leak
  can: kvaser_usb: Ignore CMD_FLUSH_QUEUE_REPLY messages
  can: kvaser_usb: Correct return value in printout
  can: sun4i: fix loopback mode
  sctp: full support for ipv6 ip_nonlocal_bind & IP_FREEBIND
  net: mvpp2: do not call txq_done from the Tx path when Tx irqs are used
  net: mvpp2: do not unmap TSO headers buffers
  net: mvpp2: fix TSO headers allocation and management
  cdc_ether: flag the Huawei ME906/ME909 as WWAN
  drivers/net/usb: add device id for TP-LINK UE300 USB 3.0 Ethernet
  xfs: fix AIM7 regression
  kbuild: clang: fix build failures with sparse check
  kbuild doc: a bundle of fixes on makefiles.txt
  platform/x86: intel_pmc_ipc: Use spin_lock to protect GCR updates
  platform/x86: intel_pmc_ipc: Use devm_* calls in driver probe function
  sched/swait: Document it clearly that the swait facilities are special and shouldn't be used
  x86/unwind: Show function name+offset in ORC error messages
  x86/entry: Fix idtentry unwind hint
  scsi: Suppress a kernel warning in case the prep function returns BLKPREP_DEFER
  ipsec: Fix aborted xfrm policy dump crash
  tcp/dccp: fix lockdep splat in inet_csk_route_req()
  tcp: do tcp_mstamp_refresh before retransmits on TSQ handler
  x86/cpu/AMD: Apply the Erratum 688 fix when the BIOS doesn't
  drm/amd/powerplay: fix uninitialized variable
  hwmon: (da9052) Increase sample rate when using TSI
  ALSA: hda/realtek - Add support for ALC236/ALC3204
  SUNRPC: Destroy transport from the system workqueue
  nvme-rdma: Fix error status return in tagset allocation failure
  nvme-rdma: Fix possible double free in reconnect flow
  ovl: Return -ENOMEM if an allocation fails ovl_lookup()
  ovl: add NULL check in ovl_alloc_inode
  pinctrl: mcp23s08: fix interrupt handling regression
  pinctrl/amd: fix masking of GPIO interrupts
  nvmet: synchronize sqhd update
  nvme-fc: retry initial controller connections 3 times
  nvme-fc: fix iowait hang
  CIFS: SMBD: Fix the definition for SMB2_CHANNEL_RDMA_V1_INVALIDATE
  cifs: handle large EA requests more gracefully in smb2+
  Fix encryption labels and lengths for SMB3.1.1
  regulator: rn5t618: Do not index regulator_desc arrays by id
  fq_impl: Properly enforce memory limit
  mac80211: validate user rate mask before configuring driver
  cfg80211: fix connect/disconnect edge cases
  mac80211: use constant time comparison with keys
  scsi: sg: Re-fix off by one in sg_fill_request_table()
  scsi: aacraid: Fix controller initialization failure
  scsi: hpsa: Fix configured_logical_drive_count·check
  scsi: qla2xxx: Initialize Work element before requesting IRQs
  scsi: zfcp: fix erp_action use-before-initialize in REC action trace
  spi: fix IDR collision on systems with both fixed and dynamic SPI bus numbers
  SUNRPC: fix a list corruption issue in xprt_release()
  KVM: PPC: Book3S HV: Add more barriers in XIVE load/unload code
  KVM: PPC: Book3S: Protect kvmppc_gpa_to_ua() with SRCU
  KVM: PPC: Book3S HV: POWER9 more doorbell fixes
  KVM: PPC: Fix oops when checking KVM_CAP_PPC_HTM
  spi: bcm-qspi: Fix use after free in bcm_qspi_probe() in error path
  ARC: unbork module link errors with !CONFIG_ARC_HAS_LLSC
  ARC: [plat-hsdk] Increase SDIO CIU frequency to 50000000Hz
  ipsec: Fix dst leak in xfrm_bundle_create().
  workqueue: replace pool->manager_arb mutex with a flag
  spi: a3700: Return correct value on timeout detection
  ARC: [plat-hsdk] select CONFIG_RESET_HSDK from Kconfig
  Makefile: kselftest: fix grammar typo
  kbuild: Fix optimization level choice default
  kbuild: drop unused symverfile in Makefile.modpost
  kbuild: revert $(realpath ...) to $(shell cd ... && /bin/pwd)
  regulator: axp20x: Fix poly-phase bit offset for AXP803 DCDC5/6
  spi: uapi: spidev: add missing ioctl header
  spi: stm32: Fix logical error in stm32_spi_prepare_mbr()
  spi: armada-3700: Fix padding when sending not 4-byte aligned data
  spi: armada-3700: Fix failing commands with quad-SPI

  Conflicts:
		Makefile

Change-Id: I06fa17c404fc626cbefb620a36824596dbc6f21d
Signed-off-by: Runmin Wang <runminw@codeaurora.org>
2017-10-30 11:21:01 -07:00
Linus Torvalds
0b07194bb5 Linux 4.14-rc7 2017-10-29 13:58:38 -07:00
Linus Torvalds
25a5d23b47 Kbuild fixes for v4.14 (2nd)
- fix O= building on dash
 
 - remove unused dependency in Makefile
 
 - fix default of a choice in Kconfig
 
 - fix typos and documentation style
 
 - fix command options unrecognized by sparse
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQIcBAABAgAGBQJZ9KBpAAoJED2LAQed4NsG85AP/RNrH/uyiLsBWfmicpTOt6Vx
 tHik2cn3TN5TBKcLcdh214zSBCPiJSp/dIvjOmIEssOqxJS001O+jlrnbB938hCn
 xVNs3aeBOx1StNB6DOplRtVe/pEIhSMMsXbIilz5a0kAn1mud73FqWmdXSRVA8zT
 JjI9gCl4pQTkv32Pz9w5HRWI8fweMnvbHfMUJhCaYcIIyN/hqfEzupPAeww4sKkg
 P5z60iif1OMlGgB9ZdWI+giblgLJOV+KoaUh181YEICenpsaf6rpdroP3X879N7i
 Y/le65xLVtc3rUZXoggNcGj04nZ7seSBHDbmicgWu0Fbj8+4nQ9mplVr1g1fLCVc
 Ml3joe24XO0PwXOrOTxCHQHRjqWSRv6cn8X9qIQqSLHkJgryxhZ5DiCGqQRxExLN
 gbKQ82UZSc4jNsOhcfcZ3ls7Ve5ao7rSUueL97acdDRhm+t0OWLmF9cQrX+eBzpj
 NOMaPvym+ucPNSRrhEgwFxDjB8dzVfO8tuYTuwX8HxQc7v5SUWuwsnurAXc3fKF2
 2D+VsU8EHk9IKDmQMIlvlj6R4bSr0bjecedA6czcRLMr83h1fCxvQxBw4UIQIzY0
 4y6QIUX7paMAo/OOqqOm10mBJM6Sr+y2JiGvL4gFhiGbCi3+xvOa7P4hRgPCe2Lq
 +FGPIdh+skAypoc/1VfA
 =0Rbk
 -----END PGP SIGNATURE-----

Merge tag 'kbuild-fixes-v4.14-2' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild

Pull Kbuild fixes from Masahiro Yamada:

 - fix O= building on dash

 - remove unused dependency in Makefile

 - fix default of a choice in Kconfig

 - fix typos and documentation style

 - fix command options unrecognized by sparse

* tag 'kbuild-fixes-v4.14-2' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild:
  kbuild: clang: fix build failures with sparse check
  kbuild doc: a bundle of fixes on makefiles.txt
  Makefile: kselftest: fix grammar typo
  kbuild: Fix optimization level choice default
  kbuild: drop unused symverfile in Makefile.modpost
  kbuild: revert $(realpath ...) to $(shell cd ... && /bin/pwd)
2017-10-28 11:01:57 -07:00