Commit Graph

3608 Commits

Author SHA1 Message Date
Michael Bestas
e5a17833b1 Merge tag 'v4.4.277' of https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable into android-msm-wahoo-4.4
This is the 4.4.277 stable release

# gpg: Signature made Wed Jul 28 10:13:10 2021 EEST
# gpg:                using RSA key 647F28654894E3BD457199BE38DBBDC86092693E
# gpg: Good signature from "Greg Kroah-Hartman <gregkh@kernel.org>" [full]
# gpg: gregkh@kernel.org: Verified 27 signatures in the past 11 days.  Encrypted
#      0 messages.

# By Colin Ian King (2) and others
# Via Greg Kroah-Hartman
* tag 'v4.4.277' of https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable:
  Linux 4.4.277
  btrfs: compression: don't try to compress if we don't have enough pages
  iio: accel: bma180: Fix BMA25x bandwidth register values
  iio: accel: bma180: Use explicit member assignment
  net: bcmgenet: ensure EXT_ENERGY_DET_MASK is clear
  media: ngene: Fix out-of-bounds bug in ngene_command_config_free_buf()
  tracing: Fix bug in rb_per_cpu_empty() that might cause deadloop.
  USB: serial: cp210x: add ID for CEL EM3588 USB ZigBee stick
  USB: serial: cp210x: fix comments for GE CS1000
  USB: serial: option: add support for u-blox LARA-R6 family
  usb: renesas_usbhs: Fix superfluous irqs happen after usb_pkt_pop()
  usb: max-3421: Prevent corruption of freed memory
  USB: usb-storage: Add LaCie Rugged USB3-FW to IGNORE_UAS
  usb: hub: Disable USB 3 device initiated lpm if exit latency is too high
  KVM: PPC: Book3S: Fix H_RTAS rets buffer overflow
  xhci: Fix lost USB 2 remote wake
  ALSA: sb: Fix potential ABBA deadlock in CSP driver
  s390/ftrace: fix ftrace_update_ftrace_func implementation
  proc: Avoid mixing integer types in mem_rw()
  Revert "USB: quirks: ignore remote wake-up on Fibocom L850-GL LTE modem"
  scsi: target: Fix protect handling in WRITE SAME(32)
  scsi: iscsi: Fix iface sysfs attr detection
  netrom: Decrease sock refcount when sock timers expire
  net: decnet: Fix sleeping inside in af_decnet
  net: fix uninit-value in caif_seqpkt_sendmsg
  s390/bpf: Perform r1 range checking before accessing jit->seen_reg[r1]
  perf probe-file: Delete namelist in del_events() on the error path
  perf test bpf: Free obj_buf
  igb: Check if num of q_vectors is smaller than max before array access
  iavf: Fix an error handling path in 'iavf_probe()'
  ipv6: tcp: drop silly ICMPv6 packet too big messages
  tcp: annotate data races around tp->mtu_info
  net: validate lwtstate->data before returning from skb_tunnel_info()
  net: ti: fix UAF in tlan_remove_one
  net: moxa: fix UAF in moxart_mac_probe
  net: bcmgenet: Ensure all TX/RX queues DMAs are disabled
  net: ipv6: fix return value of ip6_skb_dst_mtu
  x86/fpu: Make init_fpstate correct with optimized XSAVE
  Revert "memory: fsl_ifc: fix leak of IO mapping on probe failure"
  sched/fair: Fix CFS bandwidth hrtimer expiry type
  scsi: aic7xxx: Fix unintentional sign extension issue on left shift of u8
  kbuild: mkcompile_h: consider timestamp if KBUILD_BUILD_TIMESTAMP is set
  thermal/core: Correct function name thermal_zone_device_unregister()
  ARM: imx: pm-imx5: Fix references to imx5_cpu_suspend_info
  ARM: dts: imx6: phyFLEX: Fix UART hardware flow control
  ARM: dts: BCM63xx: Fix NAND nodes names
  ARM: brcmstb: dts: fix NAND nodes names

Change-Id: I6b5853d6a4ab11c742e356f9aec7f048487971bb
2021-08-05 14:00:59 +03:00
Matthias Maennich
64796795bc kbuild: mkcompile_h: consider timestamp if KBUILD_BUILD_TIMESTAMP is set
[ Upstream commit a979522a1a88556e42a22ce61bccc58e304cb361 ]

To avoid unnecessary recompilations, mkcompile_h does not regenerate
compile.h if just the timestamp changed.
Though, if KBUILD_BUILD_TIMESTAMP is set, an explicit timestamp for the
build was requested, in which case we should not ignore it.

If a user follows the documentation for reproducible builds [1] and
defines KBUILD_BUILD_TIMESTAMP as the git commit timestamp, a clean
build will have the correct timestamp. A subsequent cherry-pick (or
amend) changes the commit timestamp and if an incremental build is done
with a different KBUILD_BUILD_TIMESTAMP now, that new value is not taken
into consideration. But it should for reproducibility.

Hence, whenever KBUILD_BUILD_TIMESTAMP is explicitly set, do not ignore
UTS_VERSION when making a decision about whether the regenerated version
of compile.h should be moved into place.

[1] https://www.kernel.org/doc/html/latest/kbuild/reproducible-builds.html

Signed-off-by: Matthias Maennich <maennich@google.com>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-07-28 09:12:34 +02:00
Michael Bestas
dfe6bc2159 Merge tag 'v4.4.269' into android-msm-wahoo-4.4
This is the 4.4.269 stable release

# gpg: Signature made Sat May 22 11:39:12 2021 EEST
# gpg:                using RSA key 647F28654894E3BD457199BE38DBBDC86092693E
# gpg: Good signature from "Greg Kroah-Hartman <gregkh@kernel.org>" [full]
# gpg: gregkh@kernel.org: Verified 20 signatures in the past 2 hours.  Encrypted
#      0 messages.

# By Colin Ian King (11) and others
# Via Greg Kroah-Hartman
* tag 'v4.4.269':
  Linux 4.4.269
  iio: tsl2583: Fix division by a zero lux_val
  xhci: Do not use GFP_KERNEL in (potentially) atomic context
  ipv6: remove extra dev_hold() for fallback tunnels
  ip6_tunnel: sit: proper dev_{hold|put} in ndo_[un]init methods
  sit: proper dev_{hold|put} in ndo_[un]init methods
  ALSA: hda: generic: change the DAC ctl name for LO+SPK or LO+HP
  um: Mark all kernel symbols as local
  ACPI / hotplug / PCI: Fix reference count leak in enable_slot()
  isdn: capi: fix mismatched prototypes
  cxgb4: Fix the -Wmisleading-indentation warning
  usb: sl811-hcd: improve misleading indentation
  kgdb: fix gcc-11 warning on indentation
  x86/msr: Fix wr/rdmsr_safe_regs_on_cpu() prototypes
  kobject_uevent: remove warning in init_uevent_argv()
  dm ioctl: fix out of bounds array access when no devices
  thermal/core/fair share: Lock the thermal zone while looping over instances
  FDDI: defxx: Make MMIO the configuration default except for EISA
  KVM: x86: Cancel pvclock_gtod_work on module removal
  usb: core: hub: fix race condition about TRSMRCY of resume
  usb: dwc2: Fix gadget DMA unmap direction
  usb: xhci: Increase timeout for HC halt
  usb: fotg210-hcd: Fix an error message
  squashfs: fix divide error in calculate_skip()
  powerpc/64s: Fix crashes when toggling entry flush barrier
  ARC: entry: fix off-by-one error in syscall number validation
  kernel: kexec_file: fix error return code of kexec_calculate_store_digests()
  ksm: fix potential missing rmap_item for stable_node
  drm/radeon: Fix off-by-one power_state index heap overwrite
  sctp: fix a SCTP_MIB_CURRESTAB leak in sctp_sf_do_dupcook_b
  NFSv4.2 fix handling of sr_eof in SEEK's reply
  pNFS/flexfiles: fix incorrect size check in decode_nfs_fh()
  NFS: Deal correctly with attribute generation counter overflow
  PCI: Release OF node in pci_scan_device()'s error path
  ASoC: rt286: Make RT286_SET_GPIO_* readable and writable
  powerpc/iommu: Annotate nested lock for lockdep
  wl3501_cs: Fix out-of-bounds warnings in wl3501_mgmt_join
  wl3501_cs: Fix out-of-bounds warnings in wl3501_send_pkt
  ASoC: rt286: Generalize support for ALC3263 codec
  sctp: Fix out-of-bounds warning in sctp_process_asconf_param()
  kconfig: nconf: stop endless search loops
  selftests: Set CC to clang in lib.mk if LLVM is set
  cuse: prevent clone
  mac80211: clear the beacon's CRC after channel switch
  ip6_vti: proper dev_{hold|put} in ndo_[un]init methods
  Bluetooth: initialize skb_queue_head at l2cap_chan_create()
  Bluetooth: Set CONF_NOT_COMPLETE as l2cap_chan default
  ALSA: rme9652: don't disable if not enabled
  ALSA: hdspm: don't disable if not enabled
  ALSA: hdsp: don't disable if not enabled
  net: stmmac: Set FIFO sizes for ipq806x
  tipc: convert dest node's address to network order
  fs: dlm: fix debugfs dump
  sctp: delay auto_asconf init until binding the first addr
  Revert "net/sctp: fix race condition in sctp_destroy_sock"
  kfifo: fix ternary sign extension bugs
  net:nfc:digital: Fix a double free in digital_tg_recv_dep_req
  powerpc/52xx: Fix an invalid ASM expression ('addi' used instead of 'add')
  ath9k: Fix error check in ath9k_hw_read_revisions() for PCI devices
  net: davinci_emac: Fix incorrect masking of tx and rx error channel
  vsock/vmci: log once the failed queue pair allocation
  mwl8k: Fix a double Free in mwl8k_probe_hw
  i2c: sh7760: fix IRQ error path
  powerpc/pseries: extract host bridge from pci_bus prior to bus removal
  i2c: sh7760: add IRQ check
  i2c: jz4780: add IRQ check
  i2c: cadence: add IRQ check
  net: thunderx: Fix unintentional sign extension issue
  mt7601u: fix always true expression
  mac80211: bail out if cipher schemes are invalid
  powerpc: iommu: fix build when neither PCI or IBMVIO is set
  ALSA: usb-audio: Add error checks for usb_driver_claim_interface() calls
  nfc: pn533: prevent potential memory corruption
  ALSA: core: remove redundant spin_lock pair in snd_card_disconnect
  powerpc/prom: Mark identical_pvr_fixup as __init
  net: lapbether: Prevent racing when checking whether the netif is running
  HID: plantronics: Workaround for double volume key presses
  x86/events/amd/iommu: Fix sysfs type mismatch
  HSI: core: fix resource leaks in hsi_add_client_from_dt()
  scsi: sni_53c710: Add IRQ check
  scsi: sun3x_esp: Add IRQ check
  scsi: jazz_esp: Add IRQ check
  media: dvb-usb-remote: fix dvb_usb_nec_rc_key_to_event type mismatch
  scsi: fcoe: Fix mismatched fcoe_wwn_from_mac declaration
  ata: libahci_platform: fix IRQ check
  sata_mv: add IRQ checks
  pata_ipx4xx_cf: fix IRQ check
  pata_arasan_cf: fix IRQ check
  media: m88rs6000t: avoid potential out-of-bounds reads on arrays
  media: omap4iss: return error code when omap4iss_get() failed
  media: vivid: fix assignment of dev->fbuf_out_flags
  ttyprintk: Add TTY hangup callback.
  tty: fix return value for unsupported ioctls
  USB: cdc-acm: fix unprivileged TIOCCSERIAL
  usb: gadget: r8a66597: Add missing null check on return from platform_get_resource
  crypto: qat - Fix a double free in adf_create_ring
  staging: rtl8192u: Fix potential infinite loop
  crypto: qat - fix error path in adf_isr_resource_alloc()
  mtd: require write permissions for locking and badblock ioctls
  fotg210-udc: Complete OUT requests on short packets
  fotg210-udc: Don't DMA more than the buffer can take
  fotg210-udc: Mask GRP2 interrupts we don't handle
  fotg210-udc: Remove a dubious condition leading to fotg210_done
  fotg210-udc: Fix EP0 IN requests bigger than two packets
  fotg210-udc: Fix DMA on EP0 for length > max packet size
  crypto: qat - don't release uninitialized resources
  usb: gadget: pch_udc: Check for DMA mapping error
  usb: gadget: pch_udc: Check if driver is present before calling ->setup()
  usb: gadget: pch_udc: Replace cpu_to_le32() by lower_32_bits()
  ARM: dts: exynos: correct PMIC interrupt trigger level on Snow
  ARM: dts: exynos: correct PMIC interrupt trigger level on SMDK5250
  memory: gpmc: fix out of bounds read and dereference on gpmc_cs[]
  usb: gadget: pch_udc: Revert d3cb25a121 completely
  KVM: s390: split kvm_s390_real_to_abs
  ALSA: hda/realtek: Remove redundant entry for ALC861 Haier/Uniwill devices
  ALSA: hda/realtek: Re-order ALC269 Sony quirk table entries
  ALSA: hda/realtek: Re-order ALC882 Sony quirk table entries
  ALSA: hda/realtek: Re-order ALC882 Acer quirk table entries
  drm/radeon: fix copy of uninitialized variable back to userspace
  cfg80211: scan: drop entry from hidden_list on overflow
  ipw2x00: potential buffer overflow in libipw_wx_set_encodeext()
  md: md_open returns -EBUSY when entering racing area
  md: factor out a mddev_find_locked helper from mddev_find
  tracing: Restructure trace_clock_global() to never block
  tracing: Map all PIDs to command lines
  tracing: Treat recording comm for idle task as a success
  tracing: Use strlcpy() instead of strcpy() in __trace_find_cmdline()
  misc: vmw_vmci: explicitly initialize vmci_datagram payload
  misc: vmw_vmci: explicitly initialize vmci_notify_bm_set_msg struct
  misc: lis3lv02d: Fix false-positive WARN on various HP models
  FDDI: defxx: Bail out gracefully with unassigned PCI resource for CSR
  net/nfc: fix use-after-free llcp_sock_bind/connect
  hsr: use netdev_err() instead of WARN_ONCE()
  Bluetooth: verify AMP hci_chan before amp_destroy
  dm space map common: fix division bug in sm_ll_find_free_block()
  dm persistent data: packed struct should have an aligned() attribute too
  usb: gadget/function/f_fs string table fix for multiple languages
  usb: gadget: dummy_hcd: fix gpf in gadget_setup
  ext4: fix error code in ext4_commit_super
  ext4: fix check to prevent false positive report of incorrect used inodes
  ftrace: Handle commands when closing set_ftrace_filter file
  jffs2: check the validity of dstlen in jffs2_zlib_compress()
  powerpc: fix EDEADLOCK redefinition error in uapi/asm/errno.h
  powerpc/eeh: Fix EEH handling for hugepages in ioremap space.
  jffs2: Fix kasan slab-out-of-bounds problem
  openvswitch: fix stack OOB read while fragmenting IPv4 packets
  arm64/vdso: Discard .note.gnu.property sections in vDSO
  ALSA: sb: Fix two use after free in snd_sb_qsound_build
  ALSA: emu8000: Fix a use after free in snd_emu8000_create_mixer
  scsi: libfc: Fix a format specifier
  scsi: lpfc: Fix crash when a REG_RPI mailbox fails triggering a LOGO response
  drm/amdgpu: fix NULL pointer dereference
  drm/msm/mdp5: Configure PP_SYNC_HEIGHT to double the vtotal
  media: gscpa/stv06xx: fix memory leak
  media: dvb-usb: fix memory leak in dvb_usb_adapter_init
  media: i2c: adv7511-v4l2: fix possible use-after-free in adv7511_remove()
  power: supply: s3c_adc_battery: fix possible use-after-free in s3c_adc_bat_remove()
  power: supply: generic-adc-battery: fix possible use-after-free in gab_remove()
  clk: socfpga: arria10: Fix memory leak of socfpga_clk on error return
  media: em28xx: fix memory leak
  media: gspca/sq905.c: fix uninitialized variable
  media: media/saa7164: fix saa7164_encoder_register() memory leak bugs
  media: ite-cir: check for receive overflow
  scsi: target: pscsi: Fix warning in pscsi_complete_cmd()
  btrfs: convert logic BUG_ON()'s in replace_path to ASSERT()'s
  phy: phy-twl4030-usb: Fix possible use-after-free in twl4030_usb_remove()
  intel_th: Consistency and off-by-one fix
  spi: omap-100k: Fix reference leak to master
  spi: dln2: Fix reference leak to master
  x86/build: Propagate $(CLANG_FLAGS) to $(REALMODE_FLAGS)
  PCI: PM: Do not read power state in pci_enable_device_flags()
  usb: gadget: uvc: add bInterval checking for HS mode
  staging: wimax/i2400m: fix byte-order issue
  fbdev: zero-fill colormap in fbcmap.c
  mmc: core: Set read only for SD cards with permanent write protect bit
  mmc: core: Do a power cycle when the CMD11 fails
  ecryptfs: fix kernel panic with null dev_name
  ACPI: custom_method: fix a possible memory leak
  ACPI: custom_method: fix potential use-after-free issue
  s390/disassembler: increase ebpf disasm buffer size
  platform/x86: thinkpad_acpi: Correct thermal sensor allocation
  USB: Add reset-resume quirk for WD19's Realtek Hub
  USB: Add LPM quirk for Lenovo ThinkPad USB-C Dock Gen2 Ethernet
  ALSA: usb-audio: Add MIDI quirk for Vox ToneLab EX
  iwlwifi: Fix softirq/hardirq disabling in iwl_pcie_enqueue_hcmd()
  net: usb: ax88179_178a: initialize local variables before use
  timerfd: Reject ALARM timerfds without CAP_WAKE_ALARM

 Conflicts:
	drivers/mmc/core/core.c
	drivers/usb/core/hub.c
	kernel/trace/trace.c

Change-Id: If654a926df1053a3dd1334679898ecc983161565
2021-07-24 19:27:53 +03:00
Michael Bestas
75ae980167 Merge tag 'v4.4.262' into android-msm-wahoo-4.4
This is the 4.4.262 stable release

# gpg: Signature made Wed Mar 17 17:08:58 2021 EET
# gpg:                using RSA key 647F28654894E3BD457199BE38DBBDC86092693E
# gpg: Good signature from "Greg Kroah-Hartman <gregkh@kernel.org>" [full]
# gpg: gregkh@kernel.org: Verified 13 signatures in the past 2 hours.  Encrypted
#      0 messages.

# By Ian Abbott (9) and others
# Via Greg Kroah-Hartman
* tag 'v4.4.262':
  Linux 4.4.262
  xen/events: avoid handling the same event on two cpus at the same time
  xen/events: don't unmask an event channel when an eoi is pending
  xen/events: reset affinity of 2-level event when tearing it down
  iio: imu: adis16400: fix memory leak
  iio: imu: adis16400: release allocated memory on failure
  KVM: arm64: Fix exclusive limit for IPA size
  media: hdpvr: Fix an error handling path in hdpvr_probe()
  powerpc/64s: Fix instruction encoding for lis in ppc_function_entry()
  alpha: switch __copy_user() and __do_clean_user() to normal calling conventions
  alpha: get rid of tail-zeroing in __copy_user()
  alpha: move exports to actual definitions
  alpha: Package string routines together
  alpha: make short build log available for division routines
  alpha: merge build rules of division routines
  alpha: add $(src)/ rather than $(obj)/ to make source file path
  block: rsxx: fix error return code of rsxx_pci_probe()
  NFSv4.2: fix return value of _nfs4_get_security_label()
  staging: comedi: pcl818: Fix endian problem for AI command data
  staging: comedi: pcl711: Fix endian problem for AI command data
  staging: comedi: me4000: Fix endian problem for AI command data
  staging: comedi: dmm32at: Fix endian problem for AI command data
  staging: comedi: das800: Fix endian problem for AI command data
  staging: comedi: das6402: Fix endian problem for AI command data
  staging: comedi: adv_pci1710: Fix endian problem for AI command data
  staging: comedi: addi_apci_1500: Fix endian problem for command sample
  staging: comedi: addi_apci_1032: Fix endian problem for COS sample
  staging: rtl8192e: Fix possible buffer overflow in _rtl92e_wx_set_scan
  staging: rtl8712: Fix possible buffer overflow in r8712_sitesurvey_cmd
  staging: rtl8188eu: fix potential memory corruption in rtw_check_beacon_data()
  staging: rtl8712: unterminated string leads to read overflow
  staging: rtl8188eu: prevent ->ssid overflow in rtw_wx_set_scan()
  staging: rtl8192u: fix ->ssid overflow in r8192_wx_set_scan()
  usbip: fix stub_dev usbip_sockfd_store() races leading to gpf
  usbip: fix vhci_hcd to check for stream socket
  usbip: fix stub_dev to check for stream socket
  USB: serial: cp210x: add some more GE USB IDs
  USB: serial: cp210x: add ID for Acuity Brands nLight Air Adapter
  USB: serial: ch341: add new Product ID
  USB: serial: io_edgeport: fix memory leak in edge_startup
  xhci: Improve detection of device initiated wake signal.
  usb: renesas_usbhs: Clear PIPECFG for re-enabling pipe with other EPNUM
  usb: gadget: f_uac2: always increase endpoint max_packet_size by one audio slot
  Goodix Fingerprint device is not a modem
  libertas: fix a potential NULL pointer dereference
  scripts/recordmcount.{c,pl}: support -ffunction-sections .text.* section names
  mmc: core: Fix partition switch time for eMMC
  s390/dasd: fix hanging DASD driver unbind
  ALSA: usb-audio: Fix "cannot get freq eq" errors on Dell AE515 sound bar
  ALSA: hda: Avoid spurious unsol event handling during S3/S4
  ALSA: hda/hdmi: Cancel pending works before suspend
  scsi: libiscsi: Fix iscsi_prep_scsi_cmd_pdu() error handling
  s390/smp: __smp_rescan_cpus() - move cpumask away from stack
  PCI: xgene-msi: Fix race in installing chained irq handler
  powerpc/perf: Record counter overflow always if SAMPLE_IP is unset
  mmc: mediatek: fix race condition between msdc_request_timeout and irq
  mmc: mxs-mmc: Fix a resource leak in an error handling path in 'mxs_mmc_probe()'
  media: usbtv: Fix deadlock on suspend
  net: davicom: Fix regulator not turned off on driver removal
  net: davicom: Fix regulator not turned off on failed probe
  net: lapbether: Remove netif_start_queue / netif_stop_queue
  net/mlx4_en: update moderation when config reset
  futex: fix dead code in attach_to_pi_owner()
  futex: Cure exit race
  futex: Change locking rules
  Revert "mm, slub: consider rest of partial list if acquire_slab() fails"
  floppy: fix lock_fdc() signal handling
  cifs: return proper error code in statfs(2)
  netfilter: x_tables: gpf inside xt_find_revision()
  can: flexcan: enable RX FIFO after FRZ/HALT valid
  can: flexcan: assert FRZ bit in flexcan_chip_freeze()
  can: skb: can_skb_set_owner(): fix ref counting if socket was closed before setting skb ownership
  net: Fix gro aggregation for udp encaps with zero csum
  ath9k: fix transmitting to stations in dynamic SMPS mode
  uapi: nfnetlink_cthelper.h: fix userspace compilation error

 Conflicts:
	arch/alpha/include/asm/Kbuild
	drivers/mmc/core/mmc.c

Change-Id: I953ac9d0615287d57d9d3a2f61910587b52676dc
2021-07-24 19:24:32 +03:00
Michael Bestas
7814e00393 Merge tag 'v4.4.260' into android-msm-wahoo-4.4
This is the 4.4.260 stable release

# gpg: Signature made Sun Mar  7 12:25:09 2021 EET
# gpg:                using RSA key 647F28654894E3BD457199BE38DBBDC86092693E
# gpg: Good signature from "Greg Kroah-Hartman <gregkh@kernel.org>" [full]
# gpg: gregkh@kernel.org: Verified 11 signatures in the past 2 hours.  Encrypted
#      0 messages.

# By Chris Leech (2) and others
# Via Greg Kroah-Hartman
* tag 'v4.4.260':
  Linux 4.4.260
  media: v4l: ioctl: Fix memory leak in video_usercopy
  swap: fix swapfile read/write offset
  zsmalloc: account the number of compacted pages correctly
  xen-netback: respect gnttab_map_refs()'s return value
  Xen/gnttab: handle p2m update errors on a per-slot basis
  scsi: iscsi: Verify lengths on passthrough PDUs
  scsi: iscsi: Ensure sysfs attributes are limited to PAGE_SIZE
  sysfs: Add sysfs_emit and sysfs_emit_at to format sysfs output
  scsi: iscsi: Restrict sessions and handles to admin capabilities
  media: uvcvideo: Allow entities with no pads
  staging: most: sound: add sanity check for function argument
  Bluetooth: Fix null pointer dereference in amp_read_loc_assoc_final_data
  x86/build: Treat R_386_PLT32 relocation as R_386_PC32
  ath10k: fix wmi mgmt tx queue full due to race condition
  pktgen: fix misuse of BUG_ON() in pktgen_thread_worker()
  wlcore: Fix command execute failure 19 for wl12xx
  vt/consolemap: do font sum unsigned
  x86/reboot: Add Zotac ZBOX CI327 nano PCI reboot quirk
  staging: fwserial: Fix error handling in fwserial_create
  mm/hugetlb.c: fix unnecessary address expansion of pmd sharing
  net: fix up truesize of cloned skb in skb_prepare_for_shift()
  xfs: Fix assert failure in xfs_setattr_size()
  JFS: more checks for invalid superblock
  hugetlb: fix update_and_free_page contig page struct assumption
  scripts: set proper OpenSSL include dir also for sign-file
  scripts: use pkg-config to locate libcrypto
  mmc: sdhci-esdhc-imx: fix kernel panic when remove module
  iwlwifi: pcie: fix to correct null check
  net: usb: qmi_wwan: support ZTE P685M modem
  futex: Ensure the correct return value from futex_lock_pi()

 Conflicts:
	mm/zsmalloc.c

Change-Id: Icd558a8993995beba1100d0739bafb04259cac17
2021-07-24 19:19:26 +03:00
Michael Bestas
4cc75538c1 Merge tag 'v4.4.259' into android-msm-wahoo-4.4
This is the 4.4.259 stable release

# gpg: Signature made Wed Mar  3 17:45:51 2021 EET
# gpg:                using RSA key 647F28654894E3BD457199BE38DBBDC86092693E
# gpg: Good signature from "Greg Kroah-Hartman <gregkh@kernel.org>" [full]
# gpg: gregkh@kernel.org: Verified 10 signatures in the past 2 hours.  Encrypted
#      0 messages.

# By Dan Carpenter (7) and others
# Via Greg Kroah-Hartman
* tag 'v4.4.259':
  Linux 4.4.259
  dm era: Update in-core bitset after committing the metadata
  futex: Fix OWNER_DEAD fixup
  dm era: only resize metadata in preresume
  dm era: Reinitialize bitset cache before digesting a new writeset
  dm era: Use correct value size in equality function of writeset tree
  dm era: Fix bitset memory leaks
  dm era: Verify the data block size hasn't changed
  dm era: Recover committed writeset after crash
  gfs2: Don't skip dlm unlock if glock has an lvb
  sparc32: fix a user-triggerable oops in clear_user()
  f2fs: fix out-of-repair __setattr_copy()
  gpio: pcf857x: Fix missing first interrupt
  module: Ignore _GLOBAL_OFFSET_TABLE_ when warning for undefined symbols
  libnvdimm/dimm: Avoid race between probe and available_slots_show()
  usb: renesas_usbhs: Clear pipe running flag in usbhs_pkt_pop()
  mm: hugetlb: fix a race between freeing and dissolving the page
  floppy: reintroduce O_NDELAY fix
  x86/reboot: Force all cpus to exit VMX root if VMX is supported
  staging: rtl8188eu: Add Edimax EW-7811UN V2 to device table
  drivers/misc/vmw_vmci: restrict too big queue size in qp_host_alloc_queue
  btrfs: fix reloc root leak with 0 ref reloc roots on recovery
  KEYS: trusted: Fix migratable=1 failing
  usb: dwc3: gadget: Fix dep->interval for fullspeed interrupt
  usb: dwc3: gadget: Fix setting of DEPCFG.bInterval_m1
  USB: serial: mos7720: fix error code in mos7720_write()
  USB: serial: mos7840: fix error code in mos7840_write()
  USB: serial: option: update interface mapping for ZTE P685M
  Input: i8042 - add ASUS Zenbook Flip to noselftest list
  Input: joydev - prevent potential read overflow in ioctl
  Input: xpad - add support for PowerA Enhanced Wired Controller for Xbox Series X|S
  blk-settings: align max_sectors on "logical_block_size" boundary
  block: Move SECTOR_SIZE and SECTOR_SHIFT definitions into <linux/blkdev.h>
  scsi: bnx2fc: Fix Kconfig warning & CNIC build errors
  i2c: brcmstb: Fix brcmstd_send_i2c_cmd condition
  mm/hugetlb: fix potential double free in hugetlb_register_node() error path
  mm/memory.c: fix potential pte_unmap_unlock pte error
  PCI: Align checking of syscall user config accessors
  VMCI: Use set_page_dirty_lock() when unregistering guest memory
  misc: eeprom_93xx46: Add module alias to avoid breaking support for non device tree users
  misc: eeprom_93xx46: Fix module alias to enable module autoprobe
  sparc64: only select COMPAT_BINFMT_ELF if BINFMT_ELF is set
  Input: elo - fix an error code in elo_connect()
  perf test: Fix unaligned access in sample parsing test
  perf intel-pt: Fix missing CYC processing in PSB
  powerpc/pseries/dlpar: handle ibm, configure-connector delay status
  mfd: wm831x-auxadc: Prevent use after free in wm831x_auxadc_read_irq()
  tracepoint: Do not fail unregistering a probe due to memory failure
  amba: Fix resource leak for drivers without .remove
  ARM: 9046/1: decompressor: Do not clear SCTLR.nTLSMD for ARMv7+ cores
  mmc: usdhi6rol0: Fix a resource leak in the error handling path of the probe
  powerpc/47x: Disable 256k page size
  IB/umad: Return EIO in case of when device disassociated
  isofs: release buffer head before return
  regulator: axp20x: Fix reference cout leak
  clocksource/drivers/mxs_timer: Add missing semicolon when DEBUG is defined
  dmaengine: fsldma: Fix a resource leak in an error handling path of the probe function
  dmaengine: fsldma: Fix a resource leak in the remove function
  HID: core: detect and skip invalid inputs to snto32()
  clk: meson: clk-pll: fix initializing the old rate (fallback) for a PLL
  jffs2: fix use after free in jffs2_sum_write_data()
  fs/jfs: fix potential integer overflow on shift of a int
  btrfs: clarify error returns values in __load_free_space_cache
  media: uvcvideo: Accept invalid bFormatIndex and bFrameIndex values
  media: cx25821: Fix a bug when reallocating some dma memory
  media: lmedm04: Fix misuse of comma
  ASoC: cs42l56: fix up error handling in probe
  media: tm6000: Fix memleak in tm6000_start_stream
  media: media/pci: Fix memleak in empress_init
  MIPS: lantiq: Explicitly compare LTQ_EBU_PCC_ISTAT against 0
  MIPS: c-r4k: Fix section mismatch for loongson2_sc_init
  gma500: clean up error handling in init
  drm/gma500: Fix error return code in psb_driver_load()
  fbdev: aty: SPARC64 requires FB_ATY_CT
  b43: N-PHY: Fix the update of coef for the PHY revision >= 3case
  xen/netback: fix spurious event detection for common event case
  bnxt_en: reverse order of TX disable and carrier off
  ARM: s3c: fix fiq for clang IAS
  usb: dwc2: Make "trimming xfer length" a debug message
  usb: dwc2: Abort transaction after errors with unknown reason
  Bluetooth: Put HCI device if inquiry procedure interrupts
  Bluetooth: drop HCI device reference before return
  ARM: dts: exynos: correct PMIC interrupt trigger level on Arndale Octa
  ARM: dts: exynos: correct PMIC interrupt trigger level on Spring
  Bluetooth: Fix initializing response id after clearing struct
  MIPS: vmlinux.lds.S: add missing PAGE_ALIGNED_DATA() section
  kdb: Make memory allocations more robust
  scripts/recordmcount.pl: support big endian for ARCH sh
  igb: Remove incorrect "unexpected SYS WRAP" log message
  ntfs: check for valid standard information attribute
  xen-netback: delete NAPI instance when queue fails to initialize
  usb: quirks: add quirk to start video capture on ELMO L-12F document camera reliable
  HID: make arrays usage and value to be the same

Change-Id: I1e89f14870d9386ef5ad211a4d421745e6b29f89
2021-07-24 19:19:07 +03:00
Michael Bestas
bbea1101c3 Merge tag 'v4.4.258' into android-msm-wahoo-4.4
This is the 4.4.258 stable release

# gpg: Signature made Tue Feb 23 14:58:32 2021 EET
# gpg:                using RSA key 647F28654894E3BD457199BE38DBBDC86092693E
# gpg: Good signature from "Greg Kroah-Hartman <gregkh@kernel.org>" [full]
# gpg: gregkh@kernel.org: Verified 9 signatures in the past 2 hours.  Encrypted
#      0 messages.

# By Jan Beulich (8) and others
# Via Greg Kroah-Hartman
* tag 'v4.4.258':
  Linux 4.4.258
  kvm: check tlbs_dirty directly
  scsi: qla2xxx: Fix crash during driver load on big endian machines
  xen-blkback: fix error handling in xen_blkbk_map()
  xen-scsiback: don't "handle" error by BUG()
  xen-netback: don't "handle" error by BUG()
  xen-blkback: don't "handle" error by BUG()
  xen/arm: don't ignore return errors from set_phys_to_machine
  Xen/gntdev: correct error checking in gntdev_map_grant_pages()
  Xen/gntdev: correct dev_bus_addr handling in gntdev_map_grant_pages()
  Xen/x86: also check kernel mapping in set_foreign_p2m_mapping()
  Xen/x86: don't bail early from clear_foreign_p2m_mapping()
  tracing: Avoid calling cc-option -mrecord-mcount for every Makefile
  tracing: Fix SKIP_STACK_VALIDATION=1 build due to bad merge with -mrecord-mcount
  trace: Use -mcount-record for dynamic ftrace
  x86/build: Disable CET instrumentation in the kernel for 32-bit too
  vsock: fix locking in vsock_shutdown()
  net: watchdog: hold device global xmit lock during tx disable
  usb: dwc3: ulpi: Replace CPU-based busyloop with Protocol-based one
  usb: dwc3: ulpi: fix checkpatch warning
  h8300: fix PREEMPTION build, TI_PRE_COUNT undefined
  netfilter: xt_recent: Fix attempt to update deleted entry
  memblock: do not start bottom-up allocations with kernel_end
  squashfs: add more sanity checks in xattr id lookup
  squashfs: add more sanity checks in inode lookup
  squashfs: add more sanity checks in id lookup
  memcg: fix a crash in wb_workfn when a device disappears
  include/trace/events/writeback.h: fix -Wstringop-truncation warnings
  lib/string: Add strscpy_pad() function
  SUNRPC: Handle 0 length opaque XDR object data properly
  SUNRPC: Move simple_get_bytes and simple_get_netobj into private header
  iwlwifi: mvm: guard against device removal in reprobe
  iwlwifi: pcie: add a NULL check in iwl_pcie_txq_unmap
  af_key: relax availability checks for skb size calculation
  fgraph: Initialize tracing_graph_pause at task creation
  tracing: Do not count ftrace events in top level enable output

Change-Id: I1b31d727428550a5170b62cd709d4ee850f0b66d
2021-07-24 19:19:00 +03:00
Michael Bestas
ab56b71439 Merge tag 'v4.4.251' into android-msm-wahoo-4.4
This is the 4.4.251 stable release

# gpg: Signature made Tue Jan 12 20:48:17 2021 EET
# gpg:                using RSA key 647F28654894E3BD457199BE38DBBDC86092693E
# gpg: Good signature from "Greg Kroah-Hartman <gregkh@kernel.org>" [full]
# gpg: gregkh@kernel.org: Verified 3 signatures in the past 74 minutes.  Encrypted
#      0 messages.

# By Johan Hovold (4) and others
# Via Greg Kroah-Hartman
* tag 'v4.4.251':
  Linux 4.4.251
  x86/mtrr: Correct the range check before performing MTRR type lookups
  netfilter: xt_RATEEST: reject non-null terminated string from userspace
  netfilter: ipset: fix shift-out-of-bounds in htable_bits()
  Revert "device property: Keep secondary firmware node secondary by type"
  ALSA: hda/conexant: add a new hda codec CX11970
  x86/mm: Fix leak of pmd ptlock
  USB: serial: keyspan_pda: remove unused variable
  usb: gadget: configfs: Preserve function ordering after bind failure
  usb: gadget: Fix spinlock lockup on usb_function_deactivate
  USB: gadget: legacy: fix return error code in acm_ms_bind()
  usb: gadget: function: printer: Fix a memory leak for interface descriptor
  usb: gadget: f_uac2: reset wMaxPacketSize
  usb: gadget: select CONFIG_CRC32
  ALSA: usb-audio: Fix UBSAN warnings for MIDI jacks
  USB: usblp: fix DMA to stack
  USB: yurex: fix control-URB timeout handling
  USB: serial: option: add LongSung M5710 module support
  USB: serial: iuu_phoenix: fix DMA from stack
  usb: uas: Add PNY USB Portable SSD to unusual_uas
  USB: xhci: fix U1/U2 handling for hardware with XHCI_INTEL_HOST quirk set
  usb: chipidea: ci_hdrc_imx: add missing put_device() call in usbmisc_get_init_data()
  USB: cdc-acm: blacklist another IR Droid device
  usb: gadget: enable super speed plus
  video: hyperv_fb: Fix the mmap() regression for v5.4.y and older
  ethernet: ucc_geth: fix use-after-free in ucc_geth_remove()
  virtio_net: Fix recursive call to cpus_read_lock()
  net: sched: prevent invalid Scell_log shift count
  vhost_net: fix ubuf refcount incorrectly when sendmsg fails
  CDC-NCM: remove "connected" log message
  net: hdlc_ppp: Fix issues when mod_timer is called while timer is running
  net: hns: fix return value check in __lb_other_process()
  ipv4: Ignore ECN bits for fib lookups in fib_compute_spec_dst()
  atm: idt77252: call pci_disable_device() on error path
  depmod: handle the case of /sbin/depmod without /sbin in PATH
  lib/genalloc: fix the overflow when size is too big
  workqueue: Kick a worker based on the actual activation of delayed works
  kbuild: don't hardcode depmod path

Change-Id: I73fe9f529d9144d548be2fef3c7f3c7dae6371ba
2021-07-24 18:05:03 +03:00
Mihai Moldovan
4d688ff974 kconfig: nconf: stop endless search loops
[ Upstream commit 8c94b430b9f6213dec84e309bb480a71778c4213 ]

If the user selects the very first entry in a page and performs a
search-up operation, or selects the very last entry in a page and
performs a search-down operation that will not succeed (e.g., via
[/]asdfzzz[Up Arrow]), nconf will never terminate searching the page.

The reason is that in this case, the starting point will be set to -1
or n, which is then translated into (n - 1) (i.e., the last entry of
the page) or 0 (i.e., the first entry of the page) and finally the
search begins. This continues to work fine until the index reaches 0 or
(n - 1), at which point it will be decremented to -1 or incremented to
n, but not checked against the starting point right away. Instead, it's
wrapped around to the bottom or top again, after which the starting
point check occurs... and naturally fails.

My original implementation added another check for -1 before wrapping
the running index variable around, but Masahiro Yamada pointed out that
the actual issue is that the comparison point (starting point) exceeds
bounds (i.e., the [0,n-1] interval) in the first place and that,
instead, the starting point should be fixed.

This has the welcome side-effect of also fixing the case where the
starting point was n while searching down, which also lead to an
infinite loop.

OTOH, this code is now essentially all his work.

Amazingly, nobody seems to have been hit by this for 11 years - or at
the very least nobody bothered to debug and fix this.

Signed-off-by: Mihai Moldovan <ionic@ionic.de>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-05-22 10:38:27 +02:00
Joe Lawrence
1ebf0857f8 scripts/recordmcount.{c,pl}: support -ffunction-sections .text.* section names
commit 9c8e2f6d3d361439cc6744a094f1c15681b55269 upstream.

When building with -ffunction-sections, the compiler will place each
function into its own ELF section, prefixed with ".text".  For example,
a simple test module with functions test_module_do_work() and
test_module_wq_func():

  % objdump --section-headers test_module.o | awk '/\.text/{print $2}'
  .text
  .text.test_module_do_work
  .text.test_module_wq_func
  .init.text
  .exit.text

Adjust the recordmcount scripts to look for ".text" as a section name
prefix.  This will ensure that those functions will be included in the
__mcount_loc relocations:

  % objdump --reloc --section __mcount_loc test_module.o
  OFFSET           TYPE              VALUE
  0000000000000000 R_X86_64_64       .text.test_module_do_work
  0000000000000008 R_X86_64_64       .text.test_module_wq_func
  0000000000000010 R_X86_64_64       .init.text

Link: http://lkml.kernel.org/r/1542745158-25392-2-git-send-email-joe.lawrence@redhat.com

Signed-off-by: Joe Lawrence <joe.lawrence@redhat.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
[Manoj: Resolve conflict on 4.4.y/4.9.y because of missing 42c269c88dc1]
Signed-off-by: Manoj Gupta <manojgupta@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-03-17 16:07:21 +01:00
Rolf Eike Beer
b1488c5d8f scripts: set proper OpenSSL include dir also for sign-file
commit fe968c41ac4f4ec9ffe3c4cf16b72285f5e9674f upstream.

Fixes: 2cea4a7a1885 ("scripts: use pkg-config to locate libcrypto")
Signed-off-by: Rolf Eike Beer <eb@emlix.com>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-03-07 11:24:20 +01:00
Rolf Eike Beer
06fbf9bce0 scripts: use pkg-config to locate libcrypto
commit 2cea4a7a1885bd0c765089afc14f7ff0eb77864e upstream.

Otherwise build fails if the headers are not in the default location. While at
it also ask pkg-config for the libs, with fallback to the existing value.

Signed-off-by: Rolf Eike Beer <eb@emlix.com>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-03-07 11:24:20 +01:00
Rong Chen
8a5c9045f5 scripts/recordmcount.pl: support big endian for ARCH sh
[ Upstream commit 93ca696376dd3d44b9e5eae835ffbc84772023ec ]

The kernel test robot reported the following issue:

    CC [M]  drivers/soc/litex/litex_soc_ctrl.o
  sh4-linux-objcopy: Unable to change endianness of input file(s)
  sh4-linux-ld: cannot find drivers/soc/litex/.tmp_gl_litex_soc_ctrl.o: No such file or directory
  sh4-linux-objcopy: 'drivers/soc/litex/.tmp_mx_litex_soc_ctrl.o': No such file

The problem is that the format of input file is elf32-shbig-linux, but
sh4-linux-objcopy wants to output a file which format is elf32-sh-linux:

  $ sh4-linux-objdump -d drivers/soc/litex/litex_soc_ctrl.o | grep format
  drivers/soc/litex/litex_soc_ctrl.o:     file format elf32-shbig-linux

Link: https://lkml.kernel.org/r/20210210150435.2171567-1-rong.a.chen@intel.com
Link: https://lore.kernel.org/linux-mm/202101261118.GbbYSlHu-lkp@intel.com
Signed-off-by: Rong Chen <rong.a.chen@intel.com>
Reported-by: kernel test robot <lkp@intel.com>
Cc: Yoshinori Sato <ysato@users.osdn.me>
Cc: Rich Felker <dalias@libc.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-03-03 16:44:15 +01:00
Vasily Gorbik
224eb56468 tracing: Avoid calling cc-option -mrecord-mcount for every Makefile
commit 07d0408120216b60625c9a5b8012d1c3a907984d upstream.

Currently if CONFIG_FTRACE_MCOUNT_RECORD is enabled -mrecord-mcount
compiler flag support is tested for every Makefile.

Top 4 cc-option usages:
    511 -mrecord-mcount
     11  -fno-stack-protector
      9 -Wno-override-init
      2 -fsched-pressure

To address that move cc-option from scripts/Makefile.build to top Makefile
and export CC_USING_RECORD_MCOUNT to be used in original place.

While doing that also add -mrecord-mcount to CC_FLAGS_FTRACE (if gcc
actually supports it).

Link: http://lkml.kernel.org/r/patch-2.thread-aa7b8d.git-de935bace15a.your-ad-here.call-01533557518-ext-9465@work.hours

Acked-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-02-23 13:58:13 +01:00
Greg Thelen
61ff0a8d64 tracing: Fix SKIP_STACK_VALIDATION=1 build due to bad merge with -mrecord-mcount
commit ed7d40bc67b8353c677b38c6cdddcdc310c0f452 upstream.

Non gcc-5 builds with CONFIG_STACK_VALIDATION=y and
SKIP_STACK_VALIDATION=1 fail.
Example output:
  /bin/sh: init/.tmp_main.o: Permission denied

commit 96f60dfa5819 ("trace: Use -mcount-record for dynamic ftrace"),
added a mismatched endif.  This causes cmd_objtool to get mistakenly
set.

Relocate endif to balance the newly added -record-mcount check.

Link: http://lkml.kernel.org/r/20180608214746.136554-1-gthelen@google.com

Fixes: 96f60dfa5819 ("trace: Use -mcount-record for dynamic ftrace")
Acked-by: Andi Kleen <ak@linux.intel.com>
Tested-by: David Rientjes <rientjes@google.com>
Signed-off-by: Greg Thelen <gthelen@google.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-02-23 13:58:13 +01:00
Andi Kleen
86cb8d448d trace: Use -mcount-record for dynamic ftrace
commit 96f60dfa5819a065bfdd2f2ba0df7d9cbce7f4dd upstream.

gcc 5 supports a new -mcount-record option to generate ftrace
tables directly. This avoids the need to run record_mcount
manually.

Use this option when available.

So far doesn't use -mcount-nop, which also exists now.

This is needed to make ftrace work with LTO because the
normal record-mcount script doesn't run over the link
time output.

It should also improve build times slightly in the general
case.
Link: http://lkml.kernel.org/r/20171127213423.27218-12-andi@firstfloor.org

Signed-off-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-02-23 13:58:13 +01:00
Linus Torvalds
04f31e3d8b depmod: handle the case of /sbin/depmod without /sbin in PATH
[ Upstream commit cedd1862be7e666be87ec824dabc6a2b05618f36 ]

Commit 436e980e2ed5 ("kbuild: don't hardcode depmod path") stopped
hard-coding the path of depmod, but in the process caused trouble for
distributions that had that /sbin location, but didn't have it in the
PATH (generally because /sbin is limited to the super-user path).

Work around it for now by just adding /sbin to the end of PATH in the
depmod.sh script.

Reported-and-tested-by: Sedat Dilek <sedat.dilek@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-01-12 19:47:54 +01:00
Nathan Chancellor
faae17952d Merge 4.4.249 into android-msm-wahoo-4.4
Changes in 4.4.249: (131 commits)
        spi: bcm2835aux: Fix use-after-free on unbind
        spi: bcm2835aux: Restore err assignment in bcm2835aux_spi_probe
        ARC: stack unwinding: don't assume non-current task is sleeping
        platform/x86: acer-wmi: add automatic keyboard background light toggle key as KEY_LIGHTS_TOGGLE
        Input: cm109 - do not stomp on control URB
        Input: i8042 - add Acer laptops to the i8042 reset list
        pinctrl: amd: remove debounce filter setting in IRQ type setting
        spi: Prevent adding devices below an unregistering controller
        net/mlx4_en: Avoid scheduling restart task if it is already running
        tcp: fix cwnd-limited bug for TSO deferral where we send nothing
        net: stmmac: delete the eee_ctrl_timer after napi disabled
        net: bridge: vlan: fix error return code in __vlan_add()
        USB: dummy-hcd: Fix uninitialized array use in init()
        USB: add RESET_RESUME quirk for Snapscan 1212
        ALSA: usb-audio: Fix potential out-of-bounds shift
        ALSA: usb-audio: Fix control 'access overflow' errors from chmap
        xhci: Give USB2 ports time to enter U3 in bus suspend
        USB: sisusbvga: Make console support depend on BROKEN
        ALSA: pcm: oss: Fix potential out-of-bounds shift
        serial: 8250_omap: Avoid FIFO corruption caused by MDR1 access
        USB: serial: cp210x: enable usb generic throttle/unthrottle
        scsi: bnx2i: Requires MMU
        can: softing: softing_netdev_open(): fix error handling
        RDMA/cm: Fix an attempt to use non-valid pointer when cleaning timewait
        dm table: Remove BUG_ON(in_interrupt())
        soc/tegra: fuse: Fix index bug in get_process_id
        USB: serial: option: add interface-number sanity check to flag handling
        USB: gadget: f_rndis: fix bitrate for SuperSpeed and above
        usb: chipidea: ci_hdrc_imx: Pass DISABLE_DEVICE_STREAMING flag to imx6ul
        media: msi2500: assign SPI bus number dynamically
        Bluetooth: Fix slab-out-of-bounds read in hci_le_direct_adv_report_evt()
        drm/gma500: fix double free of gma_connector
        ARM: p2v: fix handling of LPAE translation in BE mode
        crypto: talitos - Fix return type of current_desc_hdr()
        spi: img-spfi: fix reference leak in img_spfi_resume
        ASoC: pcm: DRAIN support reactivation
        Bluetooth: Fix null pointer dereference in hci_event_packet()
        spi: spi-ti-qspi: fix reference leak in ti_qspi_setup
        spi: tegra20-slink: fix reference leak in slink ops of tegra20
        spi: tegra20-sflash: fix reference leak in tegra_sflash_resume
        spi: tegra114: fix reference leak in tegra spi ops
        RDMa/mthca: Work around -Wenum-conversion warning
        MIPS: BCM47XX: fix kconfig dependency bug for BCM47XX_BCMA
        media: solo6x10: fix missing snd_card_free in error handling case
        drm/omap: dmm_tiler: fix return error code in omap_dmm_probe()
        Input: ads7846 - fix integer overflow on Rt calculation
        Input: ads7846 - fix unaligned access on 7845
        powerpc/feature: Fix CPU_FTRS_ALWAYS by removing CPU_FTRS_GENERIC_32
        soc: ti: knav_qmss: fix reference leak in knav_queue_probe
        soc: ti: Fix reference imbalance in knav_dma_probe
        drivers: soc: ti: knav_qmss_queue: Fix error return code in knav_queue_probe
        memstick: fix a double-free bug in memstick_check
        ARM: dts: at91: sama5d4_xplained: add pincontrol for USB Host
        ARM: dts: at91: sama5d3_xplained: add pincontrol for USB Host
        orinoco: Move context allocation after processing the skb
        cw1200: fix missing destroy_workqueue() on error in cw1200_init_common
        mips: cdmm: fix use-after-free in mips_cdmm_bus_discover
        NFSv4.2: condition READDIR's mask for security label based on LSM state
        lockd: don't use interval-based rebinding over TCP
        NFS: switch nfsiod to be an UNBOUND workqueue.
        media: saa7146: fix array overflow in vidioc_s_audio()
        pinctrl: falcon: add missing put_device() call in pinctrl_falcon_probe()
        memstick: r592: Fix error return in r592_probe()
        ASoC: jz4740-i2s: add missed checks for clk_get()
        dm ioctl: fix error return code in target_message
        clocksource/drivers/arm_arch_timer: Correct fault programming of CNTKCTL_EL1.EVNTI
        cpufreq: highbank: Add missing MODULE_DEVICE_TABLE
        cpufreq: loongson1: Add missing MODULE_ALIAS
        cpufreq: scpi: Add missing MODULE_ALIAS
        scsi: pm80xx: Fix error return in pm8001_pci_probe()
        seq_buf: Avoid type mismatch for seq_buf_init
        scsi: fnic: Fix error return code in fnic_probe()
        powerpc/pseries/hibernation: drop pseries_suspend_begin() from suspend ops
        usb: ehci-omap: Fix PM disable depth umbalance in ehci_hcd_omap_probe
        usb: oxu210hp-hcd: Fix memory leak in oxu_create
        speakup: fix uninitialized flush_lock
        nfs_common: need lock during iterate through the list
        x86/kprobes: Restore BTF if the single-stepping is cancelled
        extcon: max77693: Fix modalias string
        ASoC: wm_adsp: remove "ctl" from list on error in wm_adsp_create_control()
        um: chan_xterm: Fix fd leak
        nfc: s3fwrn5: Release the nfc firmware
        powerpc/ps3: use dma_mapping_error()
        checkpatch: fix unescaped left brace
        net: bcmgenet: Fix a resource leak in an error handling path in the probe functin
        net: allwinner: Fix some resources leak in the error handling path of the probe and in the remove function
        net: korina: fix return value
        clk: ti: Fix memleak in ti_fapll_synth_setup
        perf record: Fix memory leak when using '--user-regs=?' to list registers
        qlcnic: Fix error code in probe
        clk: s2mps11: Fix a resource leak in error handling paths in the probe function
        cfg80211: initialize rekey_data
        Input: cros_ec_keyb - send 'scancodes' in addition to key events
        Input: goodix - add upside-down quirk for Teclast X98 Pro tablet
        media: gspca: Fix memory leak in probe
        media: sunxi-cir: ensure IR is handled when it is continuous
        media: netup_unidvb: Don't leak SPI master in probe error path
        Input: cyapa_gen6 - fix out-of-bounds stack access
        Revert "ACPI / resources: Use AE_CTRL_TERMINATE to terminate resources walks"
        ACPI: PNP: compare the string length in the matching_id()
        ALSA: pcm: oss: Fix a few more UBSAN fixes
        s390/dasd: fix list corruption of pavgroup group list
        s390/dasd: fix list corruption of lcu list
        staging: comedi: mf6x4: Fix AI end-of-conversion detection
        powerpc/perf: Exclude kernel samples while counting events in user space.
        USB: serial: mos7720: fix parallel-port state restore
        USB: serial: keyspan_pda: fix dropped unthrottle interrupts
        USB: serial: keyspan_pda: fix write deadlock
        USB: serial: keyspan_pda: fix stalled writes
        USB: serial: keyspan_pda: fix write-wakeup use-after-free
        USB: serial: keyspan_pda: fix tx-unthrottle use-after-free
        USB: serial: keyspan_pda: fix write unthrottling
        btrfs: quota: Set rescan progress to (u64)-1 if we hit last leaf
        btrfs: scrub: Don't use inode page cache in scrub_handle_errored_block()
        Btrfs: fix selftests failure due to uninitialized i_mode in test inodes
        btrfs: fix return value mixup in btrfs_get_extent
        ext4: fix a memory leak of ext4_free_data
        ceph: fix race in concurrent __ceph_remove_cap invocations
        jffs2: Fix GC exit abnormally
        jfs: Fix array index bounds check in dbAdjTree
        spi: rb4xx: Don't leak SPI master in probe error path
        mtd: parser: cmdline: Fix parsing of part-names with colons
        iio: adc: rockchip_saradc: fix missing clk_disable_unprepare() on error in rockchip_saradc_resume
        iio:pressure:mpl3115: Force alignment of buffer
        xen/xenbus: Allow watches discard events before queueing
        xen/xenbus: Add 'will_handle' callback support in xenbus_watch_path()
        xen/xenbus/xen_bus_type: Support will_handle watch callback
        xen/xenbus: Count pending messages for each watch
        xenbus/xenbus_backend: Disallow pending watch messages
        PCI: Fix pci_slot_release() NULL pointer dereference
        Linux 4.4.249

Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
2020-12-29 12:05:17 -07:00
Dwaipayan Ray
a4afc3b522 checkpatch: fix unescaped left brace
[ Upstream commit 03f4935135b9efeb780b970ba023c201f81cf4e6 ]

There is an unescaped left brace in a regex in OPEN_BRACE check.  This
throws a runtime error when checkpatch is run with --fix flag and the
OPEN_BRACE check is executed.

Fix it by escaping the left brace.

Link: https://lkml.kernel.org/r/20201115202928.81955-1-dwaipayanray1@gmail.com
Fixes: 8d1824780f ("checkpatch: add --fix option for a couple OPEN_BRACE misuses")
Signed-off-by: Dwaipayan Ray <dwaipayanray1@gmail.com>
Acked-by: Joe Perches <joe@perches.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-12-29 13:42:40 +01:00
Nathan Chancellor
de03ddc510 Merge 4.4.242 into android-msm-wahoo-4.4
Changes in 4.4.242: (87 commits)
        SUNRPC: ECONNREFUSED should cause a rebind.
        scripts/setlocalversion: make git describe output more reliable
        powerpc/powernv/opal-dump : Use IRQ_HANDLED instead of numbers in interrupt handler
        efivarfs: Replace invalid slashes with exclamation marks in dentries.
        ravb: Fix bit fields checking in ravb_hwtstamp_get()
        tipc: fix memory leak caused by tipc_buf_append()
        mtd: lpddr: Fix bad logic in print_drs_error
        ata: sata_rcar: Fix DMA boundary mask
        fscrypt: return -EXDEV for incompatible rename or link into encrypted dir
        f2fs crypto: avoid unneeded memory allocation in ->readdir
        powerpc/powernv/smp: Fix spurious DBG() warning
        sparc64: remove mm_cpumask clearing to fix kthread_use_mm race
        f2fs: fix to check segment boundary during SIT page readahead
        um: change sigio_spinlock to a mutex
        xfs: fix realtime bitmap/summary file truncation when growing rt volume
        video: fbdev: pvr2fb: initialize variables
        ath10k: fix VHT NSS calculation when STBC is enabled
        mmc: via-sdmmc: Fix data race bug
        printk: reduce LOG_BUF_SHIFT range for H8300
        kgdb: Make "kgdbcon" work properly with "kgdb_earlycon"
        USB: adutux: fix debugging
        drivers/net/wan/hdlc_fr: Correctly handle special skb->protocol values
        power: supply: test_power: add missing newlines when printing parameters by sysfs
        md/bitmap: md_bitmap_get_counter returns wrong blocks
        clk: ti: clockdomain: fix static checker warning
        net: 9p: initialize sun_server.sun_path to have addr's value only when addr is valid
        drivers: watchdog: rdc321x_wdt: Fix race condition bugs
        ext4: Detect already used quota file early
        gfs2: add validation checks for size of superblock
        memory: emif: Remove bogus debugfs error handling
        ARM: dts: s5pv210: move PMU node out of clock controller
        ARM: dts: s5pv210: remove dedicated 'audio-subsystem' node
        md/raid5: fix oops during stripe resizing
        leds: bcm6328, bcm6358: use devres LED registering function
        NFS: fix nfs_path in case of a rename retry
        ACPI / extlog: Check for RDMSR failure
        ACPI: video: use ACPI backlight for HP 635 Notebook
        acpi-cpufreq: Honor _PSD table setting on new AMD CPUs
        w1: mxc_w1: Fix timeout resolution problem leading to bus error
        scsi: mptfusion: Fix null pointer dereferences in mptscsih_remove()
        btrfs: reschedule if necessary when logging directory items
        vt: keyboard, simplify vt_kdgkbsent
        vt: keyboard, extend func_buf_lock to readers
        dmaengine: dma-jz4780: Fix race in jz4780_dma_tx_status
        iio:gyro:itg3200: Fix timestamp alignment and prevent data leak.
        powerpc/powernv/elog: Fix race while processing OPAL error log event.
        ubifs: dent: Fix some potential memory leaks while iterating entries
        ubi: check kthread_should_stop() after the setting of task state
        ia64: fix build error with !COREDUMP
        ceph: promote to unsigned long long before shifting
        libceph: clear con->out_msg on Policy::stateful_server faults
        9P: Cast to loff_t before multiplying
        ring-buffer: Return 0 on success from ring_buffer_resize()
        vringh: fix __vringh_iov() when riov and wiov are different
        tty: make FONTX ioctl use the tty pointer they were actually passed
        arm64: berlin: Select DW_APB_TIMER_OF
        cachefiles: Handle readpage error correctly
        hil/parisc: Disable HIL driver when it gets stuck
        ARM: samsung: fix PM debug build with DEBUG_LL but !MMU
        ARM: s3c24xx: fix missing system reset
        device property: Keep secondary firmware node secondary by type
        device property: Don't clear secondary pointer for shared primary firmware node
        staging: comedi: cb_pcidas: Allow 2-channel commands for AO subdevice
        xen/events: don't use chip_data for legacy IRQs
        tipc: fix use-after-free in tipc_bcast_get_mode
        gianfar: Replace skb_realloc_headroom with skb_cow_head for PTP
        gianfar: Account for Tx PTP timestamp in the skb headroom
        Fonts: Replace discarded const qualifier
        ALSA: usb-audio: Add implicit feedback quirk for Qu-16
        ftrace: Fix recursion check for NMI test
        ftrace: Handle tracing when switching between context
        ARM: dts: sun4i-a10: fix cpu_alert temperature
        x86/kexec: Use up-to-dated screen_info copy to fill boot params
        of: Fix reserved-memory overlap detection
        scsi: core: Don't start concurrent async scan on same host
        vsock: use ns_capable_noaudit() on socket create
        vt: Disable KD_FONT_OP_COPY
        fork: fix copy_process(CLONE_PARENT) race with the exiting ->real_parent
        serial: 8250_mtk: Fix uart_get_baud_rate warning
        serial: txx9: add missing platform_driver_unregister() on error in serial_txx9_init
        USB: serial: cyberjack: fix write-URB completion race
        USB: serial: option: add LE910Cx compositions 0x1203, 0x1230, 0x1231
        USB: serial: option: add Telit FN980 composition 0x1055
        USB: Add NO_LPM quirk for Kingston flash drive
        ARC: stack unwinding: avoid indefinite looping
        Revert "ARC: entry: fix potential EFA clobber when TIF_SYSCALL_TRACE"
        Linux 4.4.242

Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>

Conflicts:
	scripts/setlocalversion
2020-11-12 09:49:14 -07:00
Rasmus Villemoes
0ca3565a06 scripts/setlocalversion: make git describe output more reliable
commit 548b8b5168c90c42e88f70fcf041b4ce0b8e7aa8 upstream.

When building for an embedded target using Yocto, we're sometimes
observing that the version string that gets built into vmlinux (and
thus what uname -a reports) differs from the path under /lib/modules/
where modules get installed in the rootfs, but only in the length of
the -gabc123def suffix. Hence modprobe always fails.

The problem is that Yocto has the concept of "sstate" (shared state),
which allows different developers/buildbots/etc. to share build
artifacts, based on a hash of all the metadata that went into building
that artifact - and that metadata includes all dependencies (e.g. the
compiler used etc.). That normally works quite well; usually a clean
build (without using any sstate cache) done by one developer ends up
being binary identical to a build done on another host. However, one
thing that can cause two developers to end up with different builds
[and thus make one's vmlinux package incompatible with the other's
kernel-dev package], which is not captured by the metadata hashing, is
this `git describe`: The output of that can be affected by

(1) git version: before 2.11 git defaulted to a minimum of 7, since
2.11 (git.git commit e6c587) the default is dynamic based on the
number of objects in the repo
(2) hence even if both run the same git version, the output can differ
based on how many remotes are being tracked (or just lots of local
development branches or plain old garbage)
(3) and of course somebody could have a core.abbrev config setting in
~/.gitconfig

So in order to avoid `uname -a` output relying on such random details
of the build environment which are rather hard to ensure are
consistent between developers and buildbots, make sure the abbreviated
sha1 always consists of exactly 12 hex characters. That is consistent
with the current rule for -stable patches, and is almost always enough
to identify the head commit unambigously - in the few cases where it
does not, the v5.4.3-00021- prefix would certainly nail it down.

[Adapt to `` vs $() differences between 5.4 and upstream.]
Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-11-10 10:22:11 +01:00
Nathan Chancellor
725f0b5505 Merge 4.4.236 into android-msm-wahoo-4.4
Changes in 4.4.236: (63 commits)
        HID: core: Correctly handle ReportSize being zero
        HID: core: Sanitize event code and type when mapping input
        perf record/stat: Explicitly call out event modifiers in the documentation
        mm, page_alloc: remove unnecessary variable from free_pcppages_bulk
        hwmon: (applesmc) check status earlier.
        ceph: don't allow setlease on cephfs
        s390: don't trace preemption in percpu macros
        xen/xenbus: Fix granting of vmalloc'd memory
        dmaengine: of-dma: Fix of_dma_router_xlate's of_dma_xlate handling
        batman-adv: Avoid uninitialized chaddr when handling DHCP
        batman-adv: bla: use netif_rx_ni when not in interrupt context
        dmaengine: at_hdmac: check return value of of_find_device_by_node() in at_dma_xlate()
        netfilter: nf_tables: incorrect enum nft_list_attributes definition
        netfilter: nf_tables: fix destination register zeroing
        dmaengine: pl330: Fix burst length if burst size is smaller than bus width
        bnxt_en: Check for zero dir entries in NVRAM.
        fix regression in "epoll: Keep a reference on files added to the check list"
        tg3: Fix soft lockup when tg3_reset_task() fails.
        iommu/vt-d: Serialize IOMMU GCMD register modifications
        thermal: ti-soc-thermal: Fix bogus thermal shutdowns for omap4430
        include/linux/log2.h: add missing () around n in roundup_pow_of_two()
        btrfs: drop path before adding new uuid tree entry
        btrfs: Remove redundant extent_buffer_get in get_old_root
        btrfs: Remove extraneous extent_buffer_get from tree_mod_log_rewind
        btrfs: set the lockdep class for log tree extent buffers
        uaccess: Add non-pagefault user-space read functions
        uaccess: Add non-pagefault user-space write function
        btrfs: fix potential deadlock in the search ioctl
        net: qmi_wwan: MDM9x30 specific power management
        net: qmi_wwan: support "raw IP" mode
        net: qmi_wwan: should hold RTNL while changing netdev type
        net: qmi_wwan: ignore bogus CDC Union descriptors
        Add Dell Wireless 5809e Gobi 4G HSPA+ Mobile Broadband Card (rev3) to qmi_wwan
        qmi_wwan: Added support for Gemalto's Cinterion PHxx WWAN interface
        qmi_wwan: add support for Quectel EC21 and EC25
        NET: usb: qmi_wwan: add support for Telit LE922A PID 0x1040
        drivers: net: usb: qmi_wwan: add QMI_QUIRK_SET_DTR for Telit PID 0x1201
        usb: qmi_wwan: add D-Link DWM-222 A2 device ID
        net: usb: qmi_wwan: add Telit ME910 support
        net: usb: qmi_wwan: add Telit 0x1050 composition
        ALSA: ca0106: fix error code handling
        ALSA: pcm: oss: Remove superfluous WARN_ON() for mulaw sanity check
        dm cache metadata: Avoid returning cmd->bm wild pointer on error
        dm thin metadata: Avoid returning cmd->bm wild pointer on error
        net: refactor bind_bucket fastreuse into helper
        net: initialize fastreuse on inet_inherit_port
        checkpatch: fix the usage of capture group ( ... )
        mm/hugetlb: fix a race between hugetlb sysctl handlers
        cfg80211: regulatory: reject invalid hints
        net: usb: Fix uninit-was-stored issue in asix_read_phy_addr()
        ALSA: firewire-digi00x: add support for console models of Digi00x series
        ALSA: firewire-digi00x: exclude Avid Adrenaline from detection
        ALSA; firewire-tascam: exclude Tascam FE-8 from detection
        fs/affs: use octal for permissions
        affs: fix basic permission bits to actually work
        ravb: Fixed to be able to unload modules
        net: ethernet: mlx4: Fix memory allocation in mlx4_buddy_init()
        bnxt_en: Failure to update PHY is not fatal condition.
        bnxt: don't enable NAPI until rings are ready
        net: usb: dm9601: Add USB ID of Keenetic Plus DSL
        sctp: not disable bh in the whole sctp_get_port_local()
        net: disable netpoll on fresh napis
        Linux 4.4.236

Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
2020-09-12 09:47:22 -07:00
Mrinal Pandey
c85a849623 checkpatch: fix the usage of capture group ( ... )
commit 13e45417cedbfc44b1926124b1846f5ee8c6ba4a upstream.

The usage of "capture group (...)" in the immediate condition after `&&`
results in `$1` being uninitialized.  This issues a warning "Use of
uninitialized value $1 in regexp compilation at ./scripts/checkpatch.pl
line 2638".

I noticed this bug while running checkpatch on the set of commits from
v5.7 to v5.8-rc1 of the kernel on the commits with a diff content in
their commit message.

This bug was introduced in the script by commit e518e9a59e
("checkpatch: emit an error when there's a diff in a changelog").  It
has been in the script since then.

The author intended to store the match made by capture group in variable
`$1`.  This should have contained the name of the file as `[\w/]+`
matched.  However, this couldn't be accomplished due to usage of capture
group and `$1` in the same regular expression.

Fix this by placing the capture group in the condition before `&&`.
Thus, `$1` can be initialized to the text that capture group matches
thereby setting it to the desired and required value.

Fixes: e518e9a59e ("checkpatch: emit an error when there's a diff in a changelog")
Signed-off-by: Mrinal Pandey <mrinalmni@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Tested-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
Reviewed-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
Cc: Joe Perches <joe@perches.com>
Link: https://lkml.kernel.org/r/20200714032352.f476hanaj2dlmiot@mrinalpandey
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-09-12 11:45:31 +02:00
Nathan Chancellor
f66d65aa7b Merge tag 'android-11.0.0_r0.1' into android-msm-wahoo-4.4
Android 11.0.0 release 0.1

* tag 'android-11.0.0_r0.1':
  usb: gadget: composite: Revert self-powered change
  Revert "misc: mnh: update to vendor release MNH_PV_1.0.8"
  Revert "misc: mnh: Update PRQ regconfig with 2018 memory IP investigation."
  Revert "misc: mnh: Update PRQ DDR Driver baseline"
  Revert "misc: mnh: ddr: Update register ops macro"
  Revert "misc: mnh: Implement workaround DDR SW freq switch."
  Revert "misc: mnh: DDR training workaround."
  Revert "misc: mnh: AXI Hang due to sleep state not exited"
  Revert "misc: mnh: Update FSP1 bypass timings."
  Revert "misc: mnh: Remove static variables from DDR switch."
  Revert "misc: mnh: DDR MR1 - enable on-the-fly burst length"
  blk-mq: Allow blocking queue tag iter callbacks
  blk-mq: sync the update nr_hw_queues with blk_mq_queue_tag_busy_iter
  blk-mq: Allow timeouts to run while queue is freezing
  block: defer timeouts to a workqueue
  ANDROID: xfrm: remove in_compat_syscall() checks
  ANDROID: xfrm: remove in_compat_syscall() checks
  BACKPORT: arm64: makefile fix build of .i file in external module case
  scsi: ufs: health descriptor cached
  FROMLIST: writeback: Avoid skipping inode writeback
  arm64: configs: wahoo Enable HID_STEAM
  ANDROID: hid: steam: remove BT controller matching
  UPSTREAM: HID: steam: Fix input device disappearing
  UPSTREAM: HID: steam: fix deadlock with input devices.
  UPSTREAM: HID: steam: fix boot loop with bluetooth firmware
  UPSTREAM: HID: steam: remove input device when a hid client is running.
  UPSTREAM: HID: steam: use hid_device.driver_data instead of hid_set_drvdata()
  UPSTREAM: HID: steam: add missing fields in client initialization
  UPSTREAM: HID: steam: add battery device.
  UPSTREAM: HID: add driver for Valve Steam Controller
  configs: wahoo: Enable UTS namespace
  UPSTREAM: net: ipv6: Use passed in table for nexthop lookups
  ANDROID: clang: update to 11.0.1
  slimbus: fix -Wmisleading-indentation
  msm: mdss: fix -Wmisleading-indentation
  kconfig: fix -Wmisleading-indentation
  regulator: cpr3: fix -Wmisleading-indentation
  drivers: soc: qcom: rpm_stats: fix -Wmisleading-indentation
  soc: qcom: fix -Wmisleading-indentation
  input: misc: VL53L0: fix -Wmisleading-indentation
  input: touchscreen: stm: fix -Wmisleading-indentation
  leds: qpnp-wled: fix -Wmisleading-indentation
  msm: camera: isp: fix -Wmisleading-indentation
  ASoC: msm: qdsp6v2: fix -Wmisleading-indentation
  wcd9xxx: fix -Wmisleading-indentation
  BACKPORT: loop: change queue block size to match when using DIO
  UPSTREAM: loop: Only freeze block queue when needed.
  UPSTREAM: loop: Only change blocksize when needed.
  scsi: ufs: remove duplicated log
  nl80211: add NL80211_CMD_UPDATE_FT_IES to supported commands
  qcacld-3.0: Fix possible memleak in send_assoc_req
  qcacld-3.0: Update correct MCS parameters in wiphy
  qcacld-3.0: Connection fails due to reassociation in progress
  qcacld-3.0: Select default channel from the acs cfg list
  msm: ipa3: increase rmnet_ipa timeout value
  qcacld-3.0: Append MBO IE from supplicant to Assoc Request Frame
  ANDROID: fuse: Add null terminator to path in canonical path to avoid issue
  qcacld-3.0: Set max BW for each valid channel and send to FW
  qcacmn: Set max BW for each valid channel and send to FW
  fw-api: Upgrade fw-api interface files
  configs: wahoo: Enable HID_NINTENDO
  FROMLIST: HID: nintendo: add nintendo switch controller driver
  qcacld-3.0: Set negotiated auth type to OPEN for SAE-pmk cache case
  ANDROID: clang: update to 10.0.4
  power: qpnp-fg-gen3: fix -Wsizeof-array-div
  crypto: msm: fix -Wbool-operation
  UPSTREAM: ALSA: pcm: Add missing copy ops check before clearing buffer
  diag: Increment data ready only if it is first update
  diag: Handle data ready notification properly
  ANDROID: selinux: modify RTM_GETLINK permission
  msm: mdss: check dma mapping error
  arm64/config: use outline compiler instrumentation in kasan build
  UPSTREAM: HID: input: map digitizer battery usage
  UPSTREAM: HID: input: ignore the battery in OKLICK Laser BTmouse
  ANDROID: clang: update to 10.0.1
  msm: ipa3: Fix to add check for dma_map_single return values
  ANDROID: mm: Throttle rss_stat tracepoint
  qcacld-3.0: Reduce the candidate list to 5 in roam cmd for SAE auth
  qcacld-3.0: Do rx inorder replenish for fragmented packets
  smb-lib: continue overheat mitigation until cable unplugged
  Makefile: append BUILD_NUMBER to version string when defined
  msm: camera_v2: remove gcc invocations
  ANDROID: binder: eliminate diff between wahoo-4.4 and android-4.4-p
  ANDROID: fix binder change in merge of 4.4.183
  UPSTREAM: ANDROID: binder: correct the cmd print for BINDER_WORK_RETURN_ERROR
  UPSTREAM: ANDROID: binder: change down_write to down_read
  UPSTREAM: ANDROID: binder: re-order some conditions
  UPSTREAM: ANDROID: binder: prevent transactions into own process.
  UPSTREAM: ANDROID: binder: synchronize_rcu() when using POLLFREE.
  UPSTREAM: binder: replace "%p" with "%pK"
  UPSTREAM: ANDROID: binder: remove WARN() for redundant txn error
  UPSTREAM: android: binder: Use true and false for boolean values
  UPSTREAM: android: binder: use VM_ALLOC to get vm area
  UPSTREAM: android: binder: Prefer __func__ to using hardcoded function name
  UPSTREAM: android: binder: Use octal permissions
  ANDROID: binder: Remove obsolete proc waitqueue.
  UPSTREAM: ANDROID: binder: make binder_alloc_new_buf_locked static and indent its arguments
  UPSTREAM: android: binder: Check for errors in binder_alloc_shrinker_init().
  ANDROID: binder: clarify deferred thread work.
  UPSTREAM: android: binder: fix type mismatch warning
  UPSTREAM: binder: free memory on error
  icnss: Correct condition to check invalid address range
  i2c-msm-v2: Select BLOCK mode if any msgs[*].buf is from stack
  msm: ipa3: fix to remove mutex lock in panic notifier
  qcacld-3.0: Fix buffer overread in csr_scan_add_result()
  qcacld-3.0: Reject DISA test vendor command if power save is enabled
  qcacmn: Add QDF API for ID allocation
  qcacld-3.0: Avoid Integer underflow in hdd_dns_make_name_query
  qcacld-3.0: Enable QDF ID allocation API
  ANDROID: clang: update to 9.0.8
  [UPSTREAM] modpost: file2alias: check prototype of handler
  [UPSTREAM] modpost: file2alias: go back to simple devtable lookup
  UPSTREAM: ANDROID: binder: remove waitqueue when thread exits.
  input:touchscreen:ftm/synaptics: input event time
  UPSTREAM: Input: reset device timestamp on sync
  UPSTREAM: input: allow drivers specify timestamp for input events
  UPSTREAM: HID: sony: Fix race condition between rumble and device remove.
  msm: camera: Synchronize camera open/close calls.
  ANDROID: clang: update to 9.0.7
  soc: qcom: glink: Initialize local state while fetching ctx
  soc: qcom: glink: Move get reference to valid location
  soc: qcom: glink: Move ctx initialization of xprt ptr
  diag: dci: Prevent task deallocation and possible resource leak
  diag: dci: Validate dci client entries prior to access
  diag: dci: Validate dci client entries prior read
  ANDROID: clang: upgrade wahoo to 9.0.6
  Pixel 2: build.config: use clang on debug builds
  UPSTREAM: kasan: add tests for alloca poisoning
  BACKPORT: kasan: add no_sanitize attribute for clang builds
  BACKPORT: kasan: add compiler support for clang
  UPSTREAM: kasan: use %px to print addresses instead of %p
  UPSTREAM: kasan: add functions for unpoisoning stack variables
  UPSTREAM: kasan: support alloca() poisoning
  UPSTREAM: kasan/Makefile: support LLVM style asan parameters
  Revert "ANDROID: kasan, LLVMLinux: add clang-specific CFLAGS_KASAN"
  Pixel 2: build.config: fix make olddefconfig invocations
  diag: Prevent out-of-bound access while processing userspace data
  diag: Prevent out of bound access while getting build mask
  diag: Check command size against the minimum before parsing
  scsi: ufs: print phy state to debug UFS hibern8 error
  scsi: ufs: enlarge UIC/TM command timeout
  soc: qcom: smem: Add secure device check for smem dump
  scsi: ufs: Print real incorrect request response code
  glink: add size check before transferring data
  drivers: thermal: Use FCAP scm call instead of DMAX
  misc: mnh: DDR MR1 - enable on-the-fly burst length
  misc: mnh: Remove static variables from DDR switch.
  misc: mnh: Update FSP1 bypass timings.
  misc: mnh: AXI Hang due to sleep state not exited
  misc: mnh: DDR training workaround.
  misc: mnh: Implement workaround DDR SW freq switch.
  misc: mnh: ddr: Update register ops macro
  misc: mnh: Update PRQ DDR Driver baseline
  misc: mnh: Update PRQ regconfig with 2018 memory IP investigation.
  misc: mnh: update to vendor release MNH_PV_1.0.8
  misc: mnh: Sync function signatures in mnh-ddr
  misc: mnh: Make sure SM doesn't move forward if DDR init fails.
  Revert "misc: mnh-ddr: Allocate memory for driver once"
  misc: mnh: Add mnh-hwio-cpu.h
  mnh-sm: Print BOOT_STAT on boot/resume failure
  qcacld-3.0: Log pkt_stats to logger thread for sw_event
  wlan: Enable pktlog when verbose log on.
  qcacld-3.0: Packet stat collection failure
  misc: mnh: Pass struct pci_dev to mnh_pci_{suspend|resume}
  misc: mnh-thermal: register a cooling device.
  dts: taimen: lower fg-temp charging factor & comp on high temp
  battery: fix htc_battery_probe abort in charger mode
  subsystem_restart: Not capture ssrdump as detected specific pattern
  qcacld-3.0: Return proper error on request id mapping failure
  qcacld-3.0: OOB read while processing extscan change results
  icnss: Add check on msa region
  UPSTREAM: seccomp: Fix tracer exit notifications during fatal signals
  UPSTREAM: arm64/ptrace: run seccomp after ptrace
  UPSTREAM: arm/ptrace: run seccomp after ptrace
  BACKPORT: x86/ptrace: run seccomp after ptrace
  UPSTREAM: seccomp: recheck the syscall after RET_TRACE
  UPSTREAM: seccomp: remove 2-phase API
  BACKPORT: x86/entry: Get rid of two-phase syscall entry work
  BACKPORT: seccomp: Add a seccomp_data parameter secure_computing()
  BACKPORT: x86/entry/64: Always run ptregs-using syscalls on the slow path
  UPSTREAM: x86/syscalls: Add syscall entry qualifiers
  UPSTREAM: x86/syscalls: Move compat syscall entry handling into syscalltbl.sh
  UPSTREAM: x86/syscalls: Remove __SYSCALL_COMMON and __SYSCALL_X32
  UPSTREAM: x86/syscalls: Refactor syscalltbl.sh
  perf: Cancel the mux hrtimer during CPU hotplug to avoid migration
  qcacld-3.0: Add data validation for avoid frequency command

Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>

Conflicts:
	drivers/of/Kconfig
	drivers/scsi/sd.c
	drivers/usb/core/quirks.c
	drivers/usb/gadget/function/f_fs.c
	fs/fs-writeback.c
	include/linux/compiler-clang.h
	include/linux/fs.h
	net/ipv6/route.c
	net/l2tp/l2tp_core.c
2020-09-10 12:15:28 -07:00
Nathan Chancellor
a66a3944e1 Merge 4.4.232 into android-msm-wahoo-4.4
Changes in 4.4.232: (55 commits)
        pinctrl: amd: fix npins for uart0 in kerncz_groups
        mac80211: allow rx of mesh eapol frames with default rx key
        scsi: scsi_transport_spi: Fix function pointer check
        xtensa: fix __sync_fetch_and_{and,or}_4 declarations
        xtensa: update *pos in cpuinfo_op.next
        drivers/net/wan/lapbether: Fixed the value of hard_header_len
        net: sky2: initialize return of gm_phy_read
        drm/nouveau/i2c/g94-: increase NV_PMGR_DP_AUXCTL_TRANSACTREQ timeout
        SUNRPC reverting d03727b248d0 ("NFSv4 fix CLOSE not waiting for direct IO compeletion")
        perf/core: Fix locking for children siblings group read
        uprobes: Change handle_swbp() to send SIGTRAP with si_code=SI_KERNEL, to fix GDB regression
        ALSA: info: Drop WARN_ON() from buffer NULL sanity check
        ASoC: rt5670: Correct RT5670_LDO_SEL_MASK
        btrfs: fix double free on ulist after backref resolution failure
        x86/fpu: Disable bottom halves while loading FPU registers
        btrfs: fix mount failure caused by race with umount
        hippi: Fix a size used in a 'pci_free_consistent()' in an error handling path
        ax88172a: fix ax88172a_unbind() failures
        net: dp83640: fix SIOCSHWTSTAMP to update the struct with actual configuration
        net: smc91x: Fix possible memory leak in smc_drv_probe()
        scripts/decode_stacktrace: strip basepath from all paths
        regmap: dev_get_regmap_match(): fix string comparison
        usb: gadget: udc: gr_udc: fix memleak on error handling path in gr_ep_init()
        arm64: Use test_tsk_thread_flag() for checking TIF_SINGLESTEP
        x86: math-emu: Fix up 'cmp' insn for clang ias
        Revert "cifs: Fix the target file was deleted when rename failed."
        staging: wlan-ng: properly check endpoint types
        staging: comedi: addi_apci_1032: check INSN_CONFIG_DIGITAL_TRIG shift
        staging: comedi: ni_6527: fix INSN_CONFIG_DIGITAL_TRIG support
        staging: comedi: addi_apci_1500: check INSN_CONFIG_DIGITAL_TRIG shift
        staging: comedi: addi_apci_1564: check INSN_CONFIG_DIGITAL_TRIG shift
        serial: 8250: fix null-ptr-deref in serial8250_start_tx()
        serial: 8250_mtk: Fix high-speed baud rates clamping
        mm/memcg: fix refcount error while moving and swapping
        parisc: Add atomic64_set_release() define to avoid CPU soft lockups
        ath9k: Fix general protection fault in ath9k_hif_usb_rx_cb
        ath9k: Fix regression with Atheros 9271
        AX.25: Fix out-of-bounds read in ax25_connect()
        AX.25: Prevent out-of-bounds read in ax25_sendmsg()
        net-sysfs: add a newline when printing 'tx_timeout' by sysfs
        net: udp: Fix wrong clean up for IS_UDPLITE macro
        AX.25: Prevent integer overflows in connect and sendmsg
        tcp: allow at most one TLP probe per flight
        rxrpc: Fix sendmsg() returning EPIPE due to recvmsg() returning ENODATA
        ip6_gre: fix null-ptr-deref in ip6gre_init_net()
        drivers/net/wan/x25_asy: Fix to make it work
        Makefile: Fix GCC_TOOLCHAIN_DIR prefix for Clang cross compilation
        regmap: debugfs: check count when read regmap file
        xfs: set format back to extents if xfs_bmap_extents_to_btree
        tools/lib/subcmd/pager.c: do not alias select() params
        perf: Make perf able to build with latest libbfd
        perf tools: Fix snprint warnings for gcc 8
        perf annotate: Use asprintf when formatting objdump command line
        perf probe: Fix to check blacklist address correctly
        Linux 4.4.232

Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
2020-07-31 10:04:56 -07:00
Pi-Hsun Shih
cdde225d8d scripts/decode_stacktrace: strip basepath from all paths
[ Upstream commit d178770d8d21489abf5bafefcbb6d5243b482e9a ]

Currently the basepath is removed only from the beginning of the string.
When the symbol is inlined and there's multiple line outputs of
addr2line, only the first line would have basepath removed.

Change to remove the basepath prefix from all lines.

Fixes: 31013836a71e ("scripts/decode_stacktrace: match basepath using shell prefix operator, not regex")
Co-developed-by: Shik Chen <shik@chromium.org>
Signed-off-by: Pi-Hsun Shih <pihsun@chromium.org>
Signed-off-by: Shik Chen <shik@chromium.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Cc: Sasha Levin <sashal@kernel.org>
Cc: Nicolas Boichat <drinkcat@chromium.org>
Cc: Jiri Slaby <jslaby@suse.cz>
Link: http://lkml.kernel.org/r/20200720082709.252805-1-pihsun@chromium.org
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-07-31 16:43:13 +02:00
Nathan Chancellor
3430acf63e Merge 4.4.229 into android-msm-wahoo-4.4
Changes in 4.4.229: (135 commits)
        s390: fix syscall_get_error for compat processes
        clk: sunxi: Fix incorrect usage of round_down()
        i2c: piix4: Detect secondary SMBus controller on AMD AM4 chipsets
        clk: qcom: msm8916: Fix the address location of pll->config_reg
        ALSA: isa/wavefront: prevent out of bounds write in ioctl
        scsi: qla2xxx: Fix issue with adapter's stopping state
        i2c: pxa: clear all master action bits in i2c_pxa_stop_message()
        usblp: poison URBs upon disconnect
        ps3disk: use the default segment boundary
        vfio/pci: fix memory leaks in alloc_perm_bits()
        mfd: wm8994: Fix driver operation if loaded as modules
        scsi: lpfc: Fix lpfc_nodelist leak when processing unsolicited event
        nfsd: Fix svc_xprt refcnt leak when setup callback client failed
        powerpc/crashkernel: Take "mem=" option into account
        yam: fix possible memory leak in yam_init_driver
        mksysmap: Fix the mismatch of '.L' symbols in System.map
        scsi: sr: Fix sr_probe() missing deallocate of device minor
        scsi: ibmvscsi: Don't send host info in adapter info MAD after LPM
        ALSA: usb-audio: Improve frames size computation
        s390/qdio: put thinint indicator after early error
        tty: hvc: Fix data abort due to race in hvc_open
        staging: sm750fb: add missing case while setting FB_VISUAL
        i2c: pxa: fix i2c_pxa_scream_blue_murder() debug output
        serial: amba-pl011: Make sure we initialize the port.lock spinlock
        drivers: base: Fix NULL pointer exception in __platform_driver_probe() if a driver developer is foolish
        PCI/ASPM: Allow ASPM on links to PCIe-to-PCI/PCI-X Bridges
        power: supply: smb347-charger: IRQSTAT_D is volatile
        scsi: mpt3sas: Fix double free warnings
        dlm: remove BUG() before panic()
        clk: ti: composite: fix memory leak
        tty: n_gsm: Fix SOF skipping
        tty: n_gsm: Fix waking up upper tty layer when room available
        powerpc/pseries/ras: Fix FWNMI_VALID off by one
        powerpc/ps3: Fix kexec shutdown hang
        vfio-pci: Mask cap zero
        usb/ohci-platform: Fix a warning when hibernating
        USB: host: ehci-mxc: Add error handling in ehci_mxc_drv_probe()
        tty: n_gsm: Fix bogus i++ in gsm_data_kick
        clk: samsung: exynos5433: Add IGNORE_UNUSED flag to sclk_i2s1
        watchdog: da9062: No need to ping manually before setting timeout
        usb: dwc2: gadget: move gadget resume after the core is in L0 state
        USB: gadget: udc: s3c2410_udc: Remove pointless NULL check in s3c2410_udc_nuke
        usb: gadget: lpc32xx_udc: don't dereference ep pointer before null check
        usb: gadget: fix potential double-free in m66592_probe.
        net: sunrpc: Fix off-by-one issues in 'rpc_ntop6'
        ASoC: fsl_asrc_dma: Fix dma_chan leak when config DMA channel failed
        openrisc: Fix issue with argument clobbering for clone/fork
        gfs2: Allow lock_nolock mount to specify jid=X
        scsi: iscsi: Fix reference count leak in iscsi_boot_create_kobj
        lib/zlib: remove outdated and incorrect pre-increment optimization
        include/linux/bitops.h: avoid clang shift-count-overflow warnings
        elfnote: mark all .note sections SHF_ALLOC
        selftests/net: in timestamping, strncpy needs to preserve null byte
        scsi: acornscsi: Fix an error handling path in acornscsi_probe()
        usb/xhci-plat: Set PM runtime as active on resume
        usb/ehci-platform: Set PM runtime as active on resume
        perf report: Fix NULL pointer dereference in hists__fprintf_nr_sample_events()
        bcache: fix potential deadlock problem in btree_gc_coalesce
        block: Fix use-after-free in blkdev_get()
        libata: Use per port sync for detach
        drm: encoder_slave: fix refcouting error for modules
        drm/dp_mst: Reformat drm_dp_check_act_status() a bit
        drm/qxl: Use correct notify port address when creating cursor ring
        selinux: fix double free
        ext4: fix partial cluster initialization when splitting extent
        drm/dp_mst: Increase ACT retry timeout to 3s
        sparc64: fix misuses of access_process_vm() in genregs32_[sg]et()
        block: nr_sects_write(): Disable preemption on seqcount write
        crypto: algboss - don't wait during notifier callback
        kprobes: Fix to protect kick_kprobe_optimizer() by kprobe_mutex
        powerpc/kprobes: Fixes for kprobe_lookup_name() on BE
        x86/kprobes: Avoid kretprobe recursion bug
        kretprobe: Prevent triggering kretprobe from within kprobe_flush_task
        e1000e: Do not wake up the system via WOL if device wakeup is disabled
        sched/rt, net: Use CONFIG_PREEMPTION.patch
        net: core: device_rename: Use rwsem instead of a seqcount
        net: Revert "pkt_sched: fq: use proper locking in fq_dump_stats()"
        scsi: scsi_devinfo: handle non-terminated strings
        l2tp: Allow duplicate session creation with UDP
        net: sched: export __netdev_watchdog_up()
        fix a braino in "sparc32: fix register window handling in genregs32_[gs]et()"
        net: fix memleak in register_netdevice()
        net: usb: ax88179_178a: fix packet alignment padding
        tg3: driver sleeps indefinitely when EEH errors exceed eeh_max_freezes
        ip_tunnel: fix use-after-free in ip_tunnel_lookup()
        tcp_cubic: fix spurious HYSTART_DELAY exit upon drop in min RTT
        ip6_gre: fix use-after-free in ip6gre_tunnel_lookup()
        tcp: grow window for OOO packets only for SACK flows
        sctp: Don't advertise IPv4 addresses if ipv6only is set on the socket
        net: Fix the arp error in some cases
        net: Do not clear the sock TX queue in sk_set_socket()
        net: core: reduce recursion limit value
        mld: fix memory leak in ipv6_mc_destroy_dev()
        USB: ohci-sm501: Add missed iounmap() in remove
        usb: dwc2: Postponed gadget registration to the udc class driver
        usb: add USB_QUIRK_DELAY_INIT for Logitech C922
        PCI: Disable MSI for HiSilicon Hip06/Hip07 Root Ports
        USB: ehci: reopen solution for Synopsys HC bug
        usb: host: ehci-exynos: Fix error check in exynos_ehci_probe()
        ALSA: usb-audio: add quirk for Denon DCD-1500RE
        xhci: Fix incorrect EP_STATE_MASK
        xhci: Fix enumeration issue when setting max packet size for FS devices.
        cdc-acm: Add DISABLE_ECHO quirk for Microchip/SMSC chip
        ALSA: usb-audio: uac1: Invalidate ctl on interrupt
        ALSA: usb-audio: allow clock source validity interrupts
        ALSA: usb-audio: Clean up mixer element list traverse
        ALSA: usb-audio: Fix OOB access of mixer element list
        xhci: Poll for U0 after disabling USB2 LPM
        cifs/smb3: Fix data inconsistent when punch hole
        cifs/smb3: Fix data inconsistent when zero file range
        efi/esrt: Fix reference count leak in esre_create_sysfs_entry.
        RDMA/mad: Fix possible memory leak in ib_mad_post_receive_mads()
        ARM: imx5: add missing put_device() call in imx_suspend_alloc_ocram()
        usb: gadget: udc: Potential Oops in error handling code
        netfilter: ipset: fix unaligned atomic access
        sched/core: Fix PI boosting between RT and DEADLINE tasks
        net: alx: fix race condition in alx_remove
        kbuild: improve cc-option to clean up all temporary files
        blktrace: break out of blktrace setup on concurrent calls
        ACPI: sysfs: Fix pm_profile_attr type
        KVM: X86: Fix MSR range of APIC registers in X2APIC mode
        mm/slab: use memzero_explicit() in kzfree()
        ocfs2: load global_inode_alloc
        ocfs2: fix value of OCFS2_INVALID_SLOT
        ocfs2: fix panic on nfs server over ocfs2
        arm64: perf: Report the PC value in REGS_ABI_32 mode
        tracing: Fix event trigger to accept redundant spaces
        drm/radeon: fix fb_div check in ni_init_smc_spll_table()
        sunrpc: fixed rollback in rpc_gssd_dummy_populate()
        SUNRPC: Properly set the @subbuf parameter of xdr_buf_subsegment()
        pNFS/flexfiles: Fix list corruption if the mirror count changes
        NFSv4 fix CLOSE not waiting for direct IO compeletion
        PCI: Disable MSI for HiSilicon Hip06/Hip07 only in Root Port mode
        ALSA: usb-audio: Fix invalid NULL check in snd_emuusb_set_samplerate()
        Linux 4.4.229

Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>

Conflicts:
	drivers/usb/host/xhci-plat.c
2020-07-01 09:54:19 -07:00
Masahiro Yamada
ea4f911f9c kbuild: improve cc-option to clean up all temporary files
[ Upstream commit f2f02ebd8f3833626642688b2d2c6a7b3c141fa9 ]

When cc-option and friends evaluate compiler flags, the temporary file
$$TMP is created as an output object, and automatically cleaned up.
The actual file path of $$TMP is .<pid>.tmp, here <pid> is the process
ID of $(shell ...) invoked from cc-option. (Please note $$$$ is the
escape sequence of $$).

Such garbage files are cleaned up in most cases, but some compiler flags
create additional output files.

For example, -gsplit-dwarf creates a .dwo file.

When CONFIG_DEBUG_INFO_SPLIT=y, you will see a bunch of .<pid>.dwo files
left in the top of build directories. You may not notice them unless you
do 'ls -a', but the garbage files will increase every time you run 'make'.

This commit changes the temporary object path to .tmp_<pid>/tmp, and
removes .tmp_<pid> directory when exiting. Separate build artifacts such
as *.dwo will be cleaned up all together because their file paths are
usually determined based on the base name of the object.

Another example is -ftest-coverage, which outputs the coverage data into
<base-name-of-object>.gcno

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-06-29 20:08:02 -04:00
ashimida
025c48a5eb mksysmap: Fix the mismatch of '.L' symbols in System.map
[ Upstream commit 72d24accf02add25e08733f0ecc93cf10fcbd88c ]

When System.map was generated, the kernel used mksysmap to
filter the kernel symbols, but all the symbols with the
second letter 'L' in the kernel were filtered out, not just
the symbols starting with 'dot + L'.

For example:
ashimida@ubuntu:~/linux$ cat System.map |grep ' .L'
ashimida@ubuntu:~/linux$ nm -n vmlinux |grep ' .L'
ffff0000088028e0 t bLength_show
......
ffff0000092e0408 b PLLP_OUTC_lock
ffff0000092e0410 b PLLP_OUTA_lock

The original intent should be to filter out all local symbols
starting with '.L', so the dot should be escaped.

Fixes: 00902e9847 ("mksysmap: Add h8300 local symbol pattern")
Signed-off-by: ashimida <ashimida@linux.alibaba.com>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-06-29 20:07:49 -04:00
lucaswei
629d7a5691 LTS: Merge upstream-linux-4.4.y (4.4.223) into android-msm-wahoo-4.4
Merge upstream-linux-4.4.y LTS kernel (4.4.223) into M2S2 master kernel.

Bug: 155048454
Test: Manual testing, SST, vts/vts-kernel, pts/base, pts/postsubmit-long
Signed-off-by: lucaswei <lucaswei@google.com>
Change-Id: I4d2f0440e56004b50c79e5a88465165e80cc2b88
2020-05-26 21:10:16 +08:00
lucaswei
3286ade6c7 Merge upstream-linux-4.4.y (4.4.223) into android-msm-wahoo-4.4-lts
Linux 4.4.223
  * mac80211: add ieee80211_is_any_nullfunc()
      include/linux/ieee80211.h
    ALSA: hda: Match both PCI ID and SSID for driver blacklist
    sctp: Fix SHUTDOWN CTSN Ack in the peer restart case
    macvlan: Fix potential use-after free for broadcasts
    net: ep93xx_eth: Do not crash unloading module
  * net: skbuff: Remove errornous length validation in skb_vlan_pop()
      net/core/skbuff.c
    bna: add missing per queue ethtool stat
  * bridge: Fix problems around fdb entries pointing to the bridge device
      net/bridge/br_fdb.c
    brcmfmac: restore stopping netdev queue when bus clogs up
    brcmfmac: add fallback for devices that do not report per-chain values
    pinctrl: tegra: Correctly check the supported configuration
    ata: sata_dwc_460ex: remove incorrect locking
    net: ethernet: davinci_emac: Fix platform_data overwrite
    cxl: Fix DAR check & use REGION_ID instead of opencoding
    at803x: fix reset handling
    net: dsa: mv88e6xxx: fix port VLAN maps
  * regulator: core: Rely on regulator_dev_release to free constraints
      drivers/regulator/core.c
    net: mv643xx_eth: fix packet corruption with TSO and tiny unaligned packets.
    ovs/vxlan: fix rtnl notifications on iface deletion
    net: ethoc: Fix early error paths
    net: vxlan: lwt: Fix vxlan local traffic.
    mvpp2: use correct size for memset
    ravb: Add missing free_irq() call to ravb_close()
    net: macb: replace macb_writel() call by queue_writel() to update queue ISR
    net: mvneta: fix trivial cut-off issue in mvneta_ethtool_update_stats
  * net: icmp_route_lookup should use rt dev to determine L3 domain
      net/ipv4/icmp.c
    hwrng: exynos - Disable runtime PM on driver unbind
  * l2tp: fix use-after-free during module unload
      net/l2tp/l2tp_core.c
    net: ehea: avoid null pointer dereference
    net: dsa: mv88e6xxx: enable SA learning on DSA ports
  * net: bridge: don't increment tx_dropped in br_do_proxy_arp
      net/bridge/br_input.c
    net: hns: fix device reference leaks
    net: ethernet: ti: cpsw: fix secondary-emac probe error path
    net: ethernet: ti: cpsw: fix device and of_node leaks
    net: ethernet: mvneta: Remove IFF_UNICAST_FLT which is not implemented
    net: ethernet: davinci_emac: Fix devioctl while in fixed link
    bnxt_en: Remove locking around txr->dev_state
    net: axienet: Fix return value check in axienet_probe()
  * qdisc: fix a module refcount leak in qdisc_create_dflt()
      net/sched/sch_generic.c
    bnxt: add a missing rcu synchronization
    ovs/geneve: fix rtnl notifications on iface deletion
    net: ethernet: stmmac: dwmac-generic: fix probe error path
    fq_codel: return non zero qlen in class dumps
    net: ethernet: stmmac: dwmac-rk: fix probe error path
  * rtnl: reset calcit fptr in rtnl_unregister()
      net/core/rtnetlink.c
    net: ethernet: stmmac: dwmac-sti: fix probe error path
    et131x: Fix logical vs bitwise check in et131x_tx_timeout()
  * net: icmp6_send should use dst dev to determine L3 domain
      net/ipv6/icmp.c
    tipc: fix the error handling in tipc_udp_enable()
    macvtap: segmented packet is consumed
    net: macb: add missing free_netdev() on error in macb_probe()
    cxgbi: fix uninitialized flowi6
    net: bcmsysport: Device stats are unsigned long
    sfc: clear napi_hash state when copying channels
    sfc: fix potential stack corruption from running past stat bitmask
    gre: reject GUE and FOU in collect metadata mode
    gre: build header correctly for collect metadata tunnels
    gre: do not assign header_ops in collect metadata mode
    ovs/gre: fix rtnl notifications on iface deletion
    net: bcmgenet: device stats are unsigned long
    net: bcmgenet: fix skb_len in bcmgenet_xmit_single()
    cxgb4/cxgb4vf: Fixes regression in perf when tx vlan offload is disabled
    openvswitch: update checksum in {push,pop}_mpls
    dmaengine: edma: Add probe callback to edma_tptc_driver
  * dm: fix second blk_delay_queue() parameter to be in msec units not jiffies
      drivers/md/dm.c
  * blk-mq: fix undefined behaviour in order_to_size()
      block/blk-mq.c
    gfs2: fix flock panic issue
    net: dsa: mv88e6xxx: unlock DSA and CPU ports
  * Revert "cpufreq: Drop rwsem lock around CPUFREQ_GOV_POLICY_EXIT"
      drivers/cpufreq/cpufreq.c
      include/linux/cpufreq.h
    MIPS: perf: Remove incorrect odd/even counter handling for I6400
  * bonding: fix length of actor system
      drivers/net/bonding/bond_netlink.c
    ALSA: fm801: Initialize chip after IRQ handler is registered
    xprtrdma: Fix backchannel allocation of extra rpcrdma_reps
    mlx4: do not call napi_schedule() without care
  * ipv4: Fix table id reference in fib_sync_down_addr
      net/ipv4/fib_semantics.c
  * vti6: fix input path
      include/net/xfrm.h
      net/ipv6/ip6_vti.c
      net/ipv6/xfrm6_input.c
      net/ipv6/xfrm6_tunnel.c
  * net: Don't delete routes in different VRFs
      include/net/ip_fib.h
      net/ipv4/fib_frontend.c
      net/ipv4/fib_semantics.c
  * net: vrf: Fix dst reference counting
      include/net/ip6_route.h
      include/net/route.h
      net/ipv4/route.c
      net/ipv6/route.c
    power_supply: tps65217-charger: Fix NULL deref during property export
    power: bq27xxx_battery: Fix bq27541 AveragePower register address
    power: test_power: correctly handle empty writes
    power: bq27xxx: fix register numbers of bq27500
    power: bq27xxx: fix reading for bq27000 and bq27010
  * sched/preempt: Fix preempt_count manipulations
      include/asm-generic/preempt.h
    pkt_sched: fq: use proper locking in fq_dump_stats()
    net_sched: flower: Avoid dissection of unmasked keys
  * sched/fair: Fix calc_cfs_shares() fixed point arithmetics width confusion
      kernel/sched/fair.c
    mlxsw: switchx2: Fix ethernet port initialization
    mlxsw: switchx2: Fix misuse of hard_header_len
    net/mlx4_core: Fix QUERY FUNC CAP flags
    net/mlx4: Fix uninitialized fields in rule when adding promiscuous mode to device managed flow steering
    net/mlx4_en: Fix potential deadlock in port statistics flow
    net/mlx4_core: Do not access comm channel if it has not yet been initialized
    net/mlx4_en: Process all completions in RX rings after port goes up
    net/mlx4_core: Fix the resource-type enum in res tracker to conform to FW spec
    net/mlx4_core: Check device state before unregistering it
    net/mlx4_en: Fix the return value of a failure in VLAN VID add/kill
    net/mlx4_core: Fix access to uninitialized index
    net/mlx4_core: Fix potential corruption in counters database
    bpf: fix map not being uncharged during map creation failure
    bpf, trace: check event type in bpf_perf_event_read
    arm64: bpf: jit JMP_JSET_{X,K}
    cls_bpf: reset class and reuse major in da
    clk: xgene: Don't call __pa on ioremaped address
    clk: imx: clk-pllv3: fix incorrect handle of enet powerdown bit
    clk: multiplier: Prevent the multiplier from under / over flowing
    clk: ti: omap3+: dpll: use non-locking version of clk_get_rate
    clk: gpio: handle error codes for of_clk_get_parent_count()
    clk: st: avoid uninitialized variable use
  * udp: restore UDPlite many-cast delivery
      net/ipv4/udp.c
      net/ipv6/udp.c
    netfilter: nft_dup: do not use sreg_dev if the user doesn't specify it
    netfilter: nf_tables: destroy the set if fail to add transaction
    netfilter: nft_dynset: fix panic if NFT_SET_HASH is not enabled
    netfilter: nf_tables: fix a wrong check to skip the inactive rules
  * net: ipv6: Fix processing of RAs in presence of VRF
      include/net/ip6_fib.h
      net/ipv6/route.c
  * ipv6: add missing netconf notif when 'all' is updated
      net/ipv6/addrconf.c
  * ipv6: do not abuse GFP_ATOMIC in inet6_netconf_notify_devconf()
      net/ipv6/addrconf.c
  * ipv6: fix checksum annotation in udp6_csum_init
      net/ipv6/ip6_checksum.c
  * net: vrf: Fix dev refcnt leak due to IPv6 prefix route
      net/ipv6/addrconf.c
  * ipv4: accept u8 in IP_TOS ancillary data
      net/ipv4/ip_sockglue.c
  * ipv4: do not abuse GFP_ATOMIC in inet_netconf_notify_devconf()
      net/ipv4/devinet.c
  * ipv4: fix checksum annotation in udp4_csum_init
      net/ipv4/udp.c
  * flow_dissector: Check for IP fragmentation even if not using IPv4 address
      net/core/flow_dissector.c
  * ipv4: Fix memory leak in exception case for splitting tries
      net/ipv4/fib_trie.c
    be2net: Don't leak iomapped memory on removal.
    pinctrl: bcm2835: Fix memory leak in error path
    memory/tegra: Add number of TLB lines for Tegra124
    target: Fix a memory leak in target_dev_lba_map_store()
    qlcnic: use the correct ring in qlcnic_83xx_process_rcv_ring_diag()
    qlcnic: potential NULL dereference in qlcnic_83xx_get_minidump_template()
    qede: uninitialized variable in qede_start_xmit()
    i40e: fix an uninitialized variable bug
    power: ipaq-micro-battery: freeing the wrong variable
    ethernet: micrel: fix some error codes
    mfd: lp8788-irq: Uninitialized variable in irq handler
    net: moxa: fix an error code
    VFIO: platform: reset: fix a warning message condition
    ath9k_htc: check for underflow in ath9k_htc_rx_msg()
    cx23885: uninitialized variable in cx23885_av_work_handler()
    am437x-vpfe: fix an uninitialized variable bug
    lirc_imon: do not leave imon_probe() with mutex held
    rc: allow rc modules to be loaded if rc-main is not a module
    net: systemport: suppress warnings on failed Rx SKB allocations
    net: bcmgenet: suppress warnings on failed Rx SKB allocations
  * lib/mpi: Fix building for powerpc with clang
      lib/mpi/longlong.h
    scripts/config: allow colons in option strings for sed
    cifs: protect updating server->dstaddr with a spinlock
    wimax/i2400m: Fix potential urb refcnt leak
    selftests/ipc: Fix test failure seen after initial test run
    iio:ad7797: Use correct attribute_group
    mdio-sun4i: oops in error handling in probe
    iommu/dma: Respect IOMMU aperture when allocating
    drivers: net: cpsw: don't ignore phy-mode if phy-handle is used
    net: dsa: slave: fix of-node leak and phy priority
    phy: micrel: Fix finding PHY properties in MAC node for KSZ9031.
  * of_mdio: fix node leak in of_phy_register_fixed_link error path
      drivers/of/of_mdio.c
    net: phy: bcm7xxx: Fix shadow mode 2 disabling
  * net: phy: Fix phy_mac_interrupt()
      drivers/net/phy/phy.c
  * net: phy: Avoid polling PHY with PHY_IGNORE_INTERRUPTS
      drivers/net/phy/phy.c
    NFC: nci: memory leak in nci_core_conn_create()
  * sunrpc: Update RPCBIND_MAXNETIDLEN
      include/linux/sunrpc/msg_prot.h
    sctp: fix the transports round robin issue when init is retransmitted
    powerpc/book3s: Fix MCE console messages for unrecoverable MCE.
    powerpc/tm: Fix stack pointer corruption in __tm_recheckpoint()
    perf tools: Fix perf regs mask generation
    mmc: sdhci: Fix regression setting power on Trats2 board
    mmc: moxart: fix wait_for_completion_interruptible_timeout return variable type
    mmc: dw_mmc: rockchip: Set the drive phase properly
    clk: rockchip: Revert "clk: rockchip: reset init state before mmc card initialization"
    mmc: block: return error on failed mmc_blk_get()
    mmc: debugfs: correct wrong voltage value
    mmc: sd: limit SD card power limit according to cards capabilities
    mmc: sdhci: restore behavior when setting VDD via external regulator
  * Revert "ACPI / LPSS: allow to use specific PM domain during ->probe()"
      drivers/acpi/acpi_lpss.c
    ASoC: fsl_ssi: mark SACNT register volatile
    ASoC: tegra_alc5632: check return value
    ASoC: Intel: pass correct parameter in sst_alloc_stream_mrfld()
    mtd: nand: denali: add missing nand_release() call in denali_remove()
  * net: get rid of an signed integer overflow in ip_idents_reserve()
      net/ipv4/route.c
    NFS: Fix an LOCK/OPEN race when unlinking an open file
    mac80211: Fix BW upgrade for TDLS peers
    mac80211: TDLS: change BW calculation for WIDER_BW peers
    mac80211: TDLS: always downgrade invalid chandefs
    mac80211: fix mgmt-tx abort cookie and leak
  * xfrm: Fix memory leak of aead algorithm name
      net/xfrm/xfrm_state.c
  * xfrm_user: propagate sec ctx allocation errors
      net/xfrm/xfrm_user.c
  * net/xfrm_input: fix possible NULL deref of tunnel.ip6->parms.i_key
      net/ipv6/xfrm6_input.c
      net/xfrm/xfrm_input.c
    Input: edt-ft5x06 - fix setting gain, offset, and threshold via device tree
  * Input: gpio-keys - fix check for disabling unsupported keys
      drivers/input/keyboard/gpio_keys.c
    Btrfs: clean up an error code in btrfs_init_space_info()
    isa: Call isa_bus_init before dependent ISA bus drivers register
    Drivers: hv: utils: use memdup_user in hvt_op_write
    serial: samsung: Fix possible out of bounds access on non-DT platform
  * tty: serial: msm: Support more bauds
      drivers/tty/serial/msm_serial.c
    batman-adv: replace WARN with rate limited output on non-existing VLAN
    batman-adv: Fix lockdep annotation of batadv_tlv_container_remove
  * net: ipv6: tcp reset, icmp need to consider L3 domain
      net/ipv6/icmp.c
      net/ipv6/tcp_ipv6.c
    RDS:TCP: Synchronize rds_tcp_accept_one with rds_send_xmit when resetting t_sock
  * tcp: do not set rtt_min to 1
      net/ipv4/tcp_input.c
  * net: tcp_memcontrol: properly detect ancestor socket pressure
      include/net/sock.h
    mlxsw: spectrum: Fix misuse of hard_header_len
    mlxsw: spectrum: Indicate support for autonegotiation
    mlxsw: spectrum: Don't count internal TX header bytes to stats
    mlxsw: spectrum: Disable learning according to STP state
    mlxsw: spectrum: Don't forward packets when STP state is DISABLED
    RDMA/cxgb3: device driver frees DMA memory with different size
    xprtrdma: rpcrdma_bc_receive_call() should init rq_private_buf.len
    xprtrdma: xprt_rdma_free() must not release backchannel reqs
    xprtrdma: Fix additional uses of spin_lock_irqsave(rb_lock)
    xprtrdma: checking for NULL instead of IS_ERR()
    ath10k: free cached fw bin contents when get board id fails
    mtd: nand: fix ONFI parameter page layout
  * bonding: prevent out of bound accesses
      drivers/net/bonding/bond_3ad.c
      drivers/net/bonding/bond_alb.c
      include/net/bonding.h
  * phy: fix device reference leaks
      drivers/net/phy/phy_device.c
    irda: Free skb on irda_accept error path.
    btrfs: cleaner_kthread() doesn't need explicit freeze
    sch_tbf: update backlog as well
    sch_sfb: keep backlog updated with qlen
    sch_qfq: keep backlog updated with qlen
  * sch_prio: update backlog as well
      net/sched/sch_prio.c
    sch_hfsc: always keep backlog updated
    sch_drr: update backlog as well
  * net_sched: keep backlog updated with qlen
      include/net/sch_generic.h
      net/sched/sch_generic.c
    net/mlx5e: Copy all L2 headers into inline segment
    net/mlx5: Fix pci error recovery flow
    net/mlx5: Add timeout handle to commands with callback
    net/mlx5: Fix potential deadlock in command mode change
    net/mlx5: Fix wait_vital for VFs and remove fixed sleep
    net/mlx5: Avoid calling sleeping function by the health poll thread
    net/mlx5: use mlx5_buf_alloc_node instead of mlx5_buf_alloc in mlx5_wq_ll_create
    net/mlx5e: Fix blue flame quota logic
    net/mlx5: Fix masking of reserved bits in XRCD number
    net/mlx5: Fix the size of modify QP mailbox
    net/mlx5e: Fix MLX5E_100BASE_T define
    IB/mlx5: Fix FW version diaplay in sysfs
    net/mlx5: Make command timeout way shorter
    IB/mlx5: Fix RC transport send queue overhead computation
    net/mlx5: Avoid passing dma address 0 to firmware
    c8sectpfe: Rework firmware loading mechanism
  * firmware: actually return NULL on failed request_firmware_nowait()
      drivers/base/firmware_class.c
    powerpc/pci/of: Parse unassigned resources
  * GRE: Disable segmentation offloads w/ CSUM and we are encapsulated via FOU
      include/linux/netdevice.h
      net/core/dev.c
      net/ipv4/gre_offload.c
    ovs/gre,geneve: fix error path when creating an iface
    IB/mlx4: Initialize hop_limit when creating address handle
    mlxsw: Treat local port 64 as valid
    brcmfmac: add eth_type_trans back for PCIe full dongle
    vfio/pci: Allow VPD short read
    alpha/PCI: Call iomem_is_exclusive() for IORESOURCE_MEM, but not IORESOURCE_IO
    net/mlx4_core: Implement pci_resume callback
  * PCI: Supply CPU physical address (not bus address) to iomem_is_exclusive()
      drivers/pci/pci-sysfs.c
    mlxsw: pci: Correctly determine if descriptor queue is full
    net/mlx4_core: Do not BUG_ON during reset when PCI is offline
  * dccp: limit sk_filter trim to payload
      include/net/sock.h
      net/core/sock.c
    Bluetooth: btmrvl: fix hung task warning dump
    iwlwifi: set max firmware version of 7265 to 17
    mwifiex: add missing check for PCIe8997 chipset
    mwifiex: fix IBSS data path issue.
  * xfrm: fix crash in XFRM_MSG_GETSA netlink handler
      net/xfrm/xfrm_user.c
  * netfilter: nfnetlink: use original skbuff when acking batches
      net/netfilter/nfnetlink.c
    ALSA: fm801: detect FM-only card earlier
    ALSA: fm801: propagate TUNER_ONLY bit when autodetected
    ALSA: fm801: explicitly free IRQ line
    x86/apic/uv: Silence a shift wrapping warning
    x86/LDT: Print the real LDT base address
    perf/x86: Fix filter_events() bug with event mappings
    ARM: OMAP2+: hwmod: fix _idle() hwmod state sanity check sequence
    ARM: dts: kirkwood: add kirkwood-ds112.dtb to Makefile
    ARM: dts: kirkwood: use unique machine name for ds112
    ARM: dts: orion5x: fix the missing mtd flash on linkstation lswtgl
    ARM: dts: orion5x: gpio pin fixes for linkstation lswtgl
    ARM: dts: kirkwood: gpio-leds fixes for linkstation ls-wvl/vl
    ARM: dts: kirkwood: gpio-leds fixes for linkstation ls-wxl/wsxl
    ARM: dts: kirkwood: gpio pin fixes for linkstation ls-wvl/vl
    ARM: dts: kirkwood: gpio pin fixes for linkstation ls-wxl/wsxl
    ARM: imx: select SRC for i.MX7
    ARM: dts: armadillo800eva Correct extal1 frequency to 24 MHz
    mips/panic: replace smp_send_stop() with kdump friendly version in panic path
    MIPS: Define AT_VECTOR_SIZE_ARCH for ARCH_DLINFO
    MIPS: RM7000: Double locking bug in rm7k_tc_disable()
    bpf, mips: fix off-by-one in ctx offset allocation
    MIPS: Octeon: Off by one in octeon_irq_gpio_map()
    MIPS: c-r4k: Fix protected_writeback_scache_line for EVA
    MIPS: SMP: Update cpu_foreign_map on CPU disable
    MIPS: KVM: Fix translation of MFC0 ErrCtl
    MIPS: perf: Fix I6400 event numbers
    MIPS: Fix BC1{EQ,NE}Z return offset calculation
    MIPS: math-emu: Fix BC1{EQ,NE}Z emulation
    MIPS: BMIPS: Adjust mips-hpt-frequency for BCM7435
    MIPS: Fix HTW config on XPA kernel without LPA enabled
    MIPS: BMIPS: Pretty print BMIPS5200 processor name
    MIPS: BMIPS: local_r4k___flush_cache_all needs to blast S-cache
    MIPS: BMIPS: Clear MIPS_CACHE_ALIASES earlier
    MIPS: BMIPS: BMIPS5000 has I cache filing from D cache
    MIPS: scall: Handle seccomp filters which redirect syscalls
    MIPS: smp-cps: Stop printing EJTAG exceptions to UART
    MIPS: BMIPS: Fix PRID_IMP_BMIPS5000 masking for BMIPS5200
    MIPS: ptrace: Drop cp0_tcstatus from regoffset_table[]
    MIPS: Fix macro typo
  * usb: gadget: udc: core: don't starve DMA resources
      drivers/usb/gadget/udc/udc-core.c
    usb: gadget: pch_udc: reorder spin_[un]lock to avoid deadlock
    usb: gadged: pch_udc: get rid of redundant assignments
    usb: gadget: f_acm: Fix configfs attr name
    staging: rtl8192u: Fix crash due to pointers being "confusing"
    drm/qxl: qxl_release leak in qxl_draw_dirty_fb()
    drm/qxl: qxl_release use after free
    mwifiex: fix PCIe register information for 8997 chipset
Linux 4.4.222
  * selinux: properly handle multiple messages in selinux_netlink_send()
      security/selinux/hooks.c
  * ipv6: use READ_ONCE() for inet->hdrincl as in ipv4
      net/ipv6/raw.c
    ASoC: imx-spdif: Fix crash on suspend
    ASoC: wm8960: Fix WM8960_SYSCLK_PLL mode
    exynos4-is: fix a format string bug
    perf/x86: Fix uninitialized value usage
    powerpc/perf: Remove PPMU_HAS_SSLOT flag for Power8
    perf hists: Fix HISTC_MEM_DCACHELINE width setting
    i2c: designware-pci: use IRQF_COND_SUSPEND flag
    dmaengine: dmatest: Fix iteration non-stop logic
    nfs: Fix potential posix_acl refcnt leak in nfs3_set_acl
    ALSA: opti9xx: shut up gcc-10 range warning
    vfio/type1: Fix VA->PA translation for PFNMAP VMAs in vaddr_get_pfn()
    RDMA/mlx4: Initialize ib_spec on the stack
  * PM: ACPI: Output correct message on target power state
      drivers/acpi/device_pm.c
    ALSA: pcm: oss: Place the plugin buffer overflow checks correctly
    drm/qxl: qxl_release leak in qxl_hw_surface_alloc()
  * ext4: fix special inode number checks in __ext4_iget()
      fs/ext4/inode.c
Linux 4.4.221
  * propagate_one(): mnt_set_mountpoint() needs mount_lock
      fs/pnode.c
  * ext4: unsigned int compared against zero
      fs/ext4/block_validity.c
  * ext4: fix block validity checks for journal inodes using indirect blocks
      fs/ext4/block_validity.c
  * ext4: don't perform block validity checks on the journal inode
      fs/ext4/extents.c
  * ext4: protect journal inode's blocks using block_validity
      fs/ext4/block_validity.c
      fs/ext4/inode.c
  * ext4: avoid declaring fs inconsistent due to invalid file handles
      fs/ext4/ext4.h
      fs/ext4/ialloc.c
      fs/ext4/inode.c
      fs/ext4/ioctl.c
      fs/ext4/namei.c
      fs/ext4/resize.c
      fs/ext4/super.c
  * ext4: convert BUG_ON's to WARN_ON's in mballoc.c
      fs/ext4/mballoc.c
    xen/xenbus: ensure xenbus_map_ring_valloc() returns proper grant status
    scsi: target: fix PR IN / READ FULL STATUS for FC
    bpf, x86: Fix encoding for lower 8-bit registers in BPF_STX BPF_B
  * perf/core: fix parent pid/tid in task exit events
      kernel/events/core.c
    net/cxgb4: Check the return from t4_query_params properly
    usb: gadget: udc: bdc: Remove unnecessary NULL checks in bdc_req_complete
    mtd: cfi: fix deadloop in cfi_cmdset_0002.c do_write_buffer
  * fuse: fix possibly missed wake-up after abort
      fs/fuse/dev.c
    sctp: use right member as the param of list_for_each_entry
    remoteproc: Fix wrong rvring index computation
  * usb: f_fs: Clear OS Extended descriptor counts to zero in ffs_data_reset()
      drivers/usb/gadget/function/f_fs.c
    UAS: fix deadlock in error handling and PM flushing work
    UAS: no use logging any details in case of ENODEV
    staging: vt6656: Power save stop wake_up_count wrap around.
    staging: vt6656: Fix drivers TBTT timing counter.
    staging: comedi: Fix comedi_device refcnt leak in comedi_open
    staging: comedi: dt2815: fix writing hi byte of analog output
    ARM: imx: provide v7_cpu_resume() only on ARM_CPU_SUSPEND=y
  * ASoC: dapm: fixup dapm kcontrol widget
      sound/soc/soc-dapm.c
  * audit: check the length of userspace generated audit records
      kernel/audit.c
  * usb-storage: Add unusual_devs entry for JMicron JMS566
      drivers/usb/storage/unusual_devs.h
    tty: rocket, avoid OOB access
    tty: hvc: fix buffer overflow during hvc_alloc().
    KVM: VMX: Enable machine check support for 32bit targets
  * KVM: Check validity of resolved slot when searching memslots
      include/linux/kvm_host.h
  * ALSA: usb-audio: Filter out unsupported sample rates on Focusrite devices
      sound/usb/format.c
  * ALSA: usb-audio: Fix usb audio refcnt leak when getting spdif
      sound/usb/mixer_quirks.c
    ALSA: usx2y: Fix potential NULL dereference
  * USB: hub: Fix handling of connect changes during sleep
      drivers/usb/core/hub.c
  * USB: core: Fix free-while-in-use bug in the USB S-Glibrary
      drivers/usb/core/message.c
  * drivers: usb: core: Minimize irq disabling in usb_sg_cancel()
      drivers/usb/core/message.c
  * drivers: usb: core: Don't disable irqs in usb_sg_wait() during URB submit.
      drivers/usb/core/message.c
  * USB: Add USB_QUIRK_DELAY_CTRL_MSG and USB_QUIRK_DELAY_INIT for Corsair K70 RGB RAPIDFIRE
      drivers/usb/core/quirks.c
    USB: sisusbvga: Change port variable from signed to unsigned
  * fs/namespace.c: fix mountpoint reference counter race
      fs/namespace.c
    iio: xilinx-xadc: Fix sequencer configuration for aux channels in simultaneous mode
    iio: xilinx-xadc: Fix clearing interrupt when enabling trigger
    iio: xilinx-xadc: Fix ADC-B powerdown
    ALSA: hda: Remove ASUS ROG Zenith from the blacklist
  * xfrm: Always set XFRM_TRANSFORMED in xfrm{4,6}_output_finish
      net/ipv4/xfrm4_output.c
      net/ipv6/xfrm6_output.c
    team: fix hang in team_mode_get()
  * tcp: cache line align MAX_TCP_HEADER
      include/net/tcp.h
    net/x25: Fix x25_neigh refcnt leak when receiving frame
    net: netrom: Fix potential nr_neigh refcnt leak in nr_add_node
    macvlan: fix null dereference in macvlan_device_event()
  * ipv6: fix restrict IPV6_ADDRFORM operation
      net/ipv6/ipv6_sockglue.c
    pwm: bcm2835: Dynamically allocate base
    pwm: renesas-tpu: Fix late Runtime PM enablement
    s390/cio: avoid duplicated 'ADD' uevents
    ipc/util.c: sysvipc_find_ipc() should increase position index
    kernel/gcov/fs.c: gcov_seq_next() should increase position index
    ASoC: Intel: atom: Take the drv->lock mutex before calling sst_send_slot_map()
    scsi: iscsi: Report unbind session event when the target has been removed
    pwm: rcar: Fix late Runtime PM enablement
    ceph: don't skip updating wanted caps when cap is stale
    ceph: return ceph_mdsc_do_request() errors from __get_parent()
    scsi: lpfc: Fix kasan slab-out-of-bounds error in lpfc_unreg_login
  * vti4: removed duplicate log message.
      net/ipv4/ip_vti.c
    crypto: mxs-dcp - make symbols 'sha1_null_hash' and 'sha256_null_hash' static
  * net: ipv4: avoid unused variable warning for sysctl
      net/ipv4/route.c
  * net: ipv4: emulate READ_ONCE() on ->hdrincl bit-field in raw_sendmsg()
      net/ipv4/raw.c
    ALSA: hda - Fix incorrect usage of IS_REACHABLE()
  * ext4: fix extent_status fragmentation for plain files
      fs/ext4/extents.c
Linux 4.4.220
    x86/vdso: Fix lsl operand order
    x86/microcode/intel: replace sync_core() with native_cpuid_reg(eax)
    x86/CPU: Add native CPUID variants returning a single datum
    mtd: phram: fix a double free issue in error path
    mtd: lpddr: Fix a double free in probe()
    locktorture: Print ratio of acquisitions, not failures
    tty: evh_bytechan: Fix out of bounds accesses
  * fbdev: potential information leak in do_fb_ioctl()
      drivers/video/fbdev/core/fbmem.c
    iommu/amd: Fix the configuration of GCR3 table root pointer
    ext2: fix empty body warnings when -Wextra is used
    NFS: Fix memory leaks in nfs_pageio_stop_mirroring()
  * compiler.h: fix error in BUILD_BUG_ON() reporting
      include/linux/compiler.h
  * percpu_counter: fix a data race at vm_committed_as
      include/linux/percpu_counter.h
  * ext4: do not commit super on read-only bdev
      fs/ext4/super.c
    NFS: direct.c: Fix memory leak of dreq when nfs_get_lock_context fails
    clk: tegra: Fix Tegra PMC clock out parents
    clk: at91: usb: continue if clk_hw_round_rate() return zero
    of: unittest: kmemleak in of_unittest_platform_populate()
  * of: fix missing kobject init for !SYSFS && OF_DYNAMIC config
      drivers/of/base.c
    soc: qcom: smem: Use le32_to_cpu for comparison
    rtc: pm8xxx: Fix issue in RTC write path
    wil6210: rate limit wil_rx_refill error
  * scsi: ufs: ufs-qcom: remove broken hci version quirk
      drivers/scsi/ufs/ufs-qcom.c
    wil6210: fix temperature debugfs
    wil6210: increase firmware ready timeout
    drm: NULL pointer dereference [null-pointer-deref] (CWE 476) problem
    video: fbdev: sis: Remove unnecessary parentheses and commented code
    ALSA: hda: Don't release card at firmware loading error
  * scsi: sg: add sg_remove_request in sg_common_write
      drivers/scsi/sg.c
  * tracing: Fix the race between registering 'snapshot' event trigger and triggering 'snapshot' operation
      kernel/trace/trace_events_trigger.c
    x86/mitigations: Clear CPU buffers on the SYSCALL fast path
    kvm: x86: Host feature SSBD doesn't imply guest feature SPEC_CTRL_SSBD
    dm flakey: check for null arg_name in parse_features()
  * ext4: do not zeroout extents beyond i_disksize
      fs/ext4/extents.c
    mac80211_hwsim: Use kstrndup() in place of kasprintf()
  * ALSA: usb-audio: Don't override ignore_ctl_error value from the map
      sound/usb/mixer.c
    ASoC: Intel: mrfld: return error codes when an error occurs
    ASoC: Intel: mrfld: fix incorrect check on p->sink
  * ext4: fix incorrect inodes per group in error message
      fs/ext4/super.c
  * ext4: fix incorrect group count in ext4_fill_super error message
      fs/ext4/super.c
  * jbd2: improve comments about freeing data buffers whose page mapping is NULL
      fs/jbd2/commit.c
  * scsi: ufs: Fix ufshcd_hold() caused scheduling while atomic
      drivers/scsi/ufs/ufshcd.c
  * net: ipv6: do not consider routes via gateways for anycast address check
      include/net/ip6_route.h
  * net: ipv4: devinet: Fix crash when add/del multicast IP with autojoin
      net/ipv4/devinet.c
    mfd: dln2: Fix sanity checking for endpoints
    misc: echo: Remove unnecessary parentheses and simplify check for zero
    powerpc/fsl_booke: Avoid creating duplicate tlb1 entry
    ipmi: fix hung processes in __get_guid()
    drm/dp_mst: Fix clearing payload state on topology disable
    Btrfs: fix crash during unmount due to race with delayed inode workers
    powerpc/64/tm: Don't let userspace set regs->trap via sigreturn
    libata: Return correct status in sata_pmp_eh_recover_pm() when ATA_DFLAG_DETACH is set
    hfsplus: fix crash and filesystem corruption when deleting files
  * kmod: make request_module() return an error when autoloading is disabled
      kernel/kmod.c
    Input: i8042 - add Acer Aspire 5738z to nomux list
    s390/diag: fix display of diagnose call statistics
    ocfs2: no need try to truncate file beyond i_size
  * ext4: fix a data race at inode->i_blocks
      fs/ext4/inode.c
  * arm64: armv8_deprecated: Fix undef_hook mask for thumb setend
      arch/arm64/kernel/armv8_deprecated.c
    scsi: zfcp: fix missing erp_lock in port recovery trigger for point-to-point
    IB/ipoib: Fix lockdep issue found on ipoib_ib_dev_heavy_flush
    Btrfs: incremental send, fix invalid memory access
    ALSA: hda: Initialize power_state field properly
    xen-netfront: Rework the fix for Rx stall during OOM and network stress
  * futex: futex_wake_op, do not fail on invalid op
      kernel/futex.c
    crypto: mxs-dcp - fix scatterlist linearization for hash
    KVM: x86: Allocate new rmap and large page tracking when moving memslot
    x86/entry/32: Add missing ASM_CLAC to general_protection entry
  * signal: Extend exec_id to 64bits
      fs/exec.c
      include/linux/sched.h
      kernel/signal.c
    ath9k: Handle txpower changes even when TPC is disabled
    MIPS: OCTEON: irq: Fix potential NULL pointer dereference
    irqchip/versatile-fpga: Apply clear-mask earlier
  * KEYS: reaching the keys quotas correctly
      security/keys/key.c
      security/keys/keyctl.c
    thermal: devfreq_cooling: inline all stubs for CONFIG_DEVFREQ_THERMAL=n
    acpi/x86: ignore unspecified bit positions in the ACPI global lock field
    ALSA: pcm: oss: Fix regression by buffer overflow fix
    ALSA: ice1724: Fix invalid access for enumerated ctl items
    ALSA: hda: Fix potential access overflow in beep helper
    ALSA: hda: Add driver blacklist
  * ALSA: usb-audio: Add mixer workaround for TRX40 and co
      sound/usb/mixer_maps.c
  * usb: gadget: composite: Inform controller driver of self-powered
      drivers/usb/gadget/composite.c
  * usb: gadget: f_fs: Fix use after free issue as part of queue failure
      drivers/usb/gadget/function/f_fs.c
    ASoC: topology: use name_prefix for new kcontrol
  * ASoC: dpcm: allow start or stop during pause for backend
      sound/soc/soc-pcm.c
  * ASoC: dapm: connect virtual mux with default value
      sound/soc/soc-dapm.c
  * ASoC: fix regwmask
      sound/soc/soc-ops.c
    misc: rtsx: set correct pcr_ops for rts522A
    btrfs: track reloc roots based on their commit root bytenr
    btrfs: remove a BUG_ON() from merge_reloc_roots()
    locking/lockdep: Avoid recursion in lockdep_count_{for,back}ward_deps()
    x86/boot: Use unsigned comparison for addresses
    gfs2: Don't demote a glock until its revokes are written
    libata: Remove extra scsi_host_put() in ata_scsi_add_hosts()
    selftests/x86/ptrace_syscall_32: Fix no-vDSO segfault
    irqchip/versatile-fpga: Handle chained IRQs properly
    i2c: st: fix missing struct parameter description
    qlcnic: Fix bad kzalloc null test
    net: vxge: fix wrong __VA_ARGS__ usage
    bus: sunxi-rsb: Return correct data when mixing 16-bit and 8-bit reads

Change-Id: Ic791260c4269d3f4db46d01098b969caed77d5e7
Signed-off-by: lucaswei <lucaswei@google.com>
2020-05-26 19:04:55 +08:00
Nathan Chancellor
1d6ad6def5 Merge 4.4.224 into android-msm-wahoo-4.4
Changes in 4.4.224: (87 commits)
        USB: serial: qcserial: Add DW5816e support
        Revert "net: phy: Avoid polling PHY with PHY_IGNORE_INTERRUPTS"
        dp83640: reverse arguments to list_add_tail
        net/mlx4_core: Fix use of ENOSPC around mlx4_counter_alloc()
        sch_sfq: validate silly quantum values
        sch_choke: avoid potential panic in choke_reset()
        Revert "ACPI / video: Add force_native quirk for HP Pavilion dv6"
        enic: do not overwrite error code
        ipv6: fix cleanup ordering for ip6_mr failure
        binfmt_elf: move brk out of mmap when doing direct loader exec
        x86/apm: Don't access __preempt_count with zeroed fs
        Revert "IB/ipoib: Update broadcast object if PKey value was changed in index 0"
        USB: uas: add quirk for LaCie 2Big Quadra
        USB: serial: garmin_gps: add sanity checking for data length
        batman-adv: fix batadv_nc_random_weight_tq
        scripts/decodecode: fix trapping instruction formatting
        phy: micrel: Ensure interrupts are reenabled on resume
        binfmt_elf: Do not move brk for INTERP-less ET_EXEC
        ext4: add cond_resched() to ext4_protect_reserved_inode
        net: ipv6: add net argument to ip6_dst_lookup_flow
        net: ipv6_stub: use ip6_dst_lookup_flow instead of ip6_dst_lookup
        blktrace: Fix potential deadlock between delete & sysfs ops
        blktrace: fix unlocked access to init/start-stop/teardown
        blktrace: fix trace mutex deadlock
        blktrace: Protect q->blk_trace with RCU
        blktrace: fix dereference after null check
        ptp: do not explicitly set drvdata in ptp_clock_register()
        ptp: use is_visible method to hide unused attributes
        ptp: create "pins" together with the rest of attributes
        chardev: add helper function to register char devs with a struct device
        ptp: Fix pass zero to ERR_PTR() in ptp_clock_register
        ptp: fix the race between the release of ptp_clock and cdev
        ptp: free ptp device pin descriptors properly
        net: handle no dst on skb in icmp6_send
        net/sonic: Fix a resource leak in an error handling path in 'jazz_sonic_probe()'
        net: moxa: Fix a potential double 'free_irq()'
        drop_monitor: work around gcc-10 stringop-overflow warning
        scsi: sg: add sg_remove_request in sg_write
        spi: spi-dw: Add lock protect dw_spi rx/tx to prevent concurrent calls
        cifs: Check for timeout on Negotiate stage
        cifs: Fix a race condition with cifs_echo_request
        dmaengine: pch_dma.c: Avoid data race between probe and irq handler
        dmaengine: mmp_tdma: Reset channel error on release
        drm/qxl: lost qxl_bo_kunmap_atomic_page in qxl_image_init_helper()
        ipc/util.c: sysvipc_find_ipc() incorrectly updates position index
        net: openvswitch: fix csum updates for MPLS actions
        gre: do not keep the GRE header around in collect medata mode
        mm/memory_hotplug.c: fix overflow in test_pages_in_a_zone()
        scsi: qla2xxx: Avoid double completion of abort command
        i40e: avoid NVM acquire deadlock during NVM update
        net/mlx5: Fix driver load error flow when firmware is stuck
        netfilter: conntrack: avoid gcc-10 zero-length-bounds warning
        IB/mlx4: Test return value of calls to ib_get_cached_pkey
        pnp: Use list_for_each_entry() instead of open coding
        gcc-10 warnings: fix low-hanging fruit
        kbuild: compute false-positive -Wmaybe-uninitialized cases in Kconfig
        Stop the ad-hoc games with -Wno-maybe-initialized
        gcc-10: disable 'zero-length-bounds' warning for now
        gcc-10: disable 'array-bounds' warning for now
        gcc-10: disable 'stringop-overflow' warning for now
        gcc-10: disable 'restrict' warning for now
        block: defer timeouts to a workqueue
        blk-mq: Allow timeouts to run while queue is freezing
        blk-mq: sync the update nr_hw_queues with blk_mq_queue_tag_busy_iter
        blk-mq: Allow blocking queue tag iter callbacks
        x86/paravirt: Remove the unused irq_enable_sysexit pv op
        gcc-10: avoid shadowing standard library 'free()' in crypto
        net: fix a potential recursive NETDEV_FEAT_CHANGE
        net: ipv4: really enforce backoff for redirects
        netlabel: cope with NULL catmap
        ALSA: hda/realtek - Limit int mic boost for Thinkpad T530
        ALSA: rawmidi: Fix racy buffer resize under concurrent accesses
        ALSA: rawmidi: Initialize allocated buffers
        USB: gadget: fix illegal array access in binding with UDC
        ARM: dts: imx27-phytec-phycard-s-rdk: Fix the I2C1 pinctrl entries
        x86: Fix early boot crash on gcc-10, third try
        exec: Move would_dump into flush_old_exec
        usb: gadget: net2272: Fix a memory leak in an error handling path in 'net2272_plat_probe()'
        usb: gadget: audio: Fix a missing error return value in audio_bind()
        usb: gadget: legacy: fix error return code in gncm_bind()
        usb: gadget: legacy: fix error return code in cdc_bind()
        Revert "ALSA: hda/realtek: Fix pop noise on ALC225"
        ARM: dts: r8a7740: Add missing extal2 to CPG node
        KVM: x86: Fix off-by-one error in kvm_vcpu_ioctl_x86_setup_mce
        Makefile: disallow data races on gcc-10 as well
        scsi: iscsi: Fix a potential deadlock in the timeout handler
        Linux 4.4.224

Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>

Conflicts:
	kernel/trace/blktrace.c
	sound/core/rawmidi.c
2020-05-19 23:48:50 -07:00
Ivan Delalande
e0ff8cd6ff scripts/decodecode: fix trapping instruction formatting
commit e08df079b23e2e982df15aa340bfbaf50f297504 upstream.

If the trapping instruction contains a ':', for a memory access through
segment registers for example, the sed substitution will insert the '*'
marker in the middle of the instruction instead of the line address:

	2b:   65 48 0f c7 0f          cmpxchg16b %gs:*(%rdi)          <-- trapping instruction

I started to think I had forgotten some quirk of the assembly syntax
before noticing that it was actually coming from the script.  Fix it to
add the address marker at the right place for these instructions:

	28:   49 8b 06                mov    (%r14),%rax
	2b:*  65 48 0f c7 0f          cmpxchg16b %gs:(%rdi)           <-- trapping instruction
	30:   0f 94 c0                sete   %al

Fixes: 18ff44b189 ("scripts/decodecode: make faulting insn ptr more robust")
Signed-off-by: Ivan Delalande <colona@arista.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Reviewed-by: Borislav Petkov <bp@suse.de>
Link: http://lkml.kernel.org/r/20200419223653.GA31248@visor
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-05-20 08:11:35 +02:00
Nick Desaulniers
0e83ac367c kconfig: fix -Wmisleading-indentation
Fixes:
scripts/kconfig/symbol.c:1119:4: warning: misleading indentation;
statement is not part of the previous 'if' [-Wmisleading-indentation]
fprintf(stderr, "For a resolution refer to Documentation/kbuild/kconfig-language.txt\n");
^
scripts/kconfig/symbol.c:1116:3: note: previous statement is here
if (stack->sym == last_sym)
^

This code has been significantly rewritten upstream, it's not worth
backporting IMO.

Bug: 155426751
Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
Change-Id: Ie3bf9ac441e039fb80617e847524abf22a340595
2020-05-15 15:45:39 -07:00
Nathan Chancellor
576eee06d0 Merge 4.4.223 into android-msm-wahoo-4.4
Changes in 4.4.223: (307 commits)
        mwifiex: fix PCIe register information for 8997 chipset
        drm/qxl: qxl_release use after free
        drm/qxl: qxl_release leak in qxl_draw_dirty_fb()
        staging: rtl8192u: Fix crash due to pointers being "confusing"
        usb: gadget: f_acm: Fix configfs attr name
        usb: gadged: pch_udc: get rid of redundant assignments
        usb: gadget: pch_udc: reorder spin_[un]lock to avoid deadlock
        usb: gadget: udc: core: don't starve DMA resources
        MIPS: Fix macro typo
        MIPS: ptrace: Drop cp0_tcstatus from regoffset_table[]
        MIPS: BMIPS: Fix PRID_IMP_BMIPS5000 masking for BMIPS5200
        MIPS: smp-cps: Stop printing EJTAG exceptions to UART
        MIPS: scall: Handle seccomp filters which redirect syscalls
        MIPS: BMIPS: BMIPS5000 has I cache filing from D cache
        MIPS: BMIPS: Clear MIPS_CACHE_ALIASES earlier
        MIPS: BMIPS: local_r4k___flush_cache_all needs to blast S-cache
        MIPS: BMIPS: Pretty print BMIPS5200 processor name
        MIPS: Fix HTW config on XPA kernel without LPA enabled
        MIPS: BMIPS: Adjust mips-hpt-frequency for BCM7435
        MIPS: math-emu: Fix BC1{EQ,NE}Z emulation
        MIPS: Fix BC1{EQ,NE}Z return offset calculation
        MIPS: perf: Fix I6400 event numbers
        MIPS: KVM: Fix translation of MFC0 ErrCtl
        MIPS: SMP: Update cpu_foreign_map on CPU disable
        MIPS: c-r4k: Fix protected_writeback_scache_line for EVA
        MIPS: Octeon: Off by one in octeon_irq_gpio_map()
        bpf, mips: fix off-by-one in ctx offset allocation
        MIPS: RM7000: Double locking bug in rm7k_tc_disable()
        MIPS: Define AT_VECTOR_SIZE_ARCH for ARCH_DLINFO
        mips/panic: replace smp_send_stop() with kdump friendly version in panic path
        ARM: dts: armadillo800eva Correct extal1 frequency to 24 MHz
        ARM: imx: select SRC for i.MX7
        ARM: dts: kirkwood: gpio pin fixes for linkstation ls-wxl/wsxl
        ARM: dts: kirkwood: gpio pin fixes for linkstation ls-wvl/vl
        ARM: dts: kirkwood: gpio-leds fixes for linkstation ls-wxl/wsxl
        ARM: dts: kirkwood: gpio-leds fixes for linkstation ls-wvl/vl
        ARM: dts: orion5x: gpio pin fixes for linkstation lswtgl
        ARM: dts: orion5x: fix the missing mtd flash on linkstation lswtgl
        ARM: dts: kirkwood: use unique machine name for ds112
        ARM: dts: kirkwood: add kirkwood-ds112.dtb to Makefile
        ARM: OMAP2+: hwmod: fix _idle() hwmod state sanity check sequence
        perf/x86: Fix filter_events() bug with event mappings
        x86/LDT: Print the real LDT base address
        x86/apic/uv: Silence a shift wrapping warning
        ALSA: fm801: explicitly free IRQ line
        ALSA: fm801: propagate TUNER_ONLY bit when autodetected
        ALSA: fm801: detect FM-only card earlier
        netfilter: nfnetlink: use original skbuff when acking batches
        xfrm: fix crash in XFRM_MSG_GETSA netlink handler
        mwifiex: fix IBSS data path issue.
        mwifiex: add missing check for PCIe8997 chipset
        iwlwifi: set max firmware version of 7265 to 17
        Bluetooth: btmrvl: fix hung task warning dump
        dccp: limit sk_filter trim to payload
        net/mlx4_core: Do not BUG_ON during reset when PCI is offline
        mlxsw: pci: Correctly determine if descriptor queue is full
        PCI: Supply CPU physical address (not bus address) to iomem_is_exclusive()
        net/mlx4_core: Implement pci_resume callback
        alpha/PCI: Call iomem_is_exclusive() for IORESOURCE_MEM, but not IORESOURCE_IO
        vfio/pci: Allow VPD short read
        brcmfmac: add eth_type_trans back for PCIe full dongle
        mlxsw: Treat local port 64 as valid
        IB/mlx4: Initialize hop_limit when creating address handle
        ovs/gre,geneve: fix error path when creating an iface
        GRE: Disable segmentation offloads w/ CSUM and we are encapsulated via FOU
        powerpc/pci/of: Parse unassigned resources
        firmware: actually return NULL on failed request_firmware_nowait()
        c8sectpfe: Rework firmware loading mechanism
        net/mlx5: Avoid passing dma address 0 to firmware
        IB/mlx5: Fix RC transport send queue overhead computation
        net/mlx5: Make command timeout way shorter
        IB/mlx5: Fix FW version diaplay in sysfs
        net/mlx5e: Fix MLX5E_100BASE_T define
        net/mlx5: Fix the size of modify QP mailbox
        net/mlx5: Fix masking of reserved bits in XRCD number
        net/mlx5e: Fix blue flame quota logic
        net/mlx5: use mlx5_buf_alloc_node instead of mlx5_buf_alloc in mlx5_wq_ll_create
        net/mlx5: Avoid calling sleeping function by the health poll thread
        net/mlx5: Fix wait_vital for VFs and remove fixed sleep
        net/mlx5: Fix potential deadlock in command mode change
        net/mlx5: Add timeout handle to commands with callback
        net/mlx5: Fix pci error recovery flow
        net/mlx5e: Copy all L2 headers into inline segment
        net_sched: keep backlog updated with qlen
        sch_drr: update backlog as well
        sch_hfsc: always keep backlog updated
        sch_prio: update backlog as well
        sch_qfq: keep backlog updated with qlen
        sch_sfb: keep backlog updated with qlen
        sch_tbf: update backlog as well
        btrfs: cleaner_kthread() doesn't need explicit freeze
        irda: Free skb on irda_accept error path.
        phy: fix device reference leaks
        bonding: prevent out of bound accesses
        mtd: nand: fix ONFI parameter page layout
        ath10k: free cached fw bin contents when get board id fails
        xprtrdma: checking for NULL instead of IS_ERR()
        xprtrdma: Fix additional uses of spin_lock_irqsave(rb_lock)
        xprtrdma: xprt_rdma_free() must not release backchannel reqs
        xprtrdma: rpcrdma_bc_receive_call() should init rq_private_buf.len
        RDMA/cxgb3: device driver frees DMA memory with different size
        mlxsw: spectrum: Don't forward packets when STP state is DISABLED
        mlxsw: spectrum: Disable learning according to STP state
        mlxsw: spectrum: Don't count internal TX header bytes to stats
        mlxsw: spectrum: Indicate support for autonegotiation
        mlxsw: spectrum: Fix misuse of hard_header_len
        net: tcp_memcontrol: properly detect ancestor socket pressure
        tcp: do not set rtt_min to 1
        RDS:TCP: Synchronize rds_tcp_accept_one with rds_send_xmit when resetting t_sock
        net: ipv6: tcp reset, icmp need to consider L3 domain
        batman-adv: Fix lockdep annotation of batadv_tlv_container_remove
        batman-adv: replace WARN with rate limited output on non-existing VLAN
        tty: serial: msm: Support more bauds
        serial: samsung: Fix possible out of bounds access on non-DT platform
        Drivers: hv: utils: use memdup_user in hvt_op_write
        isa: Call isa_bus_init before dependent ISA bus drivers register
        Btrfs: clean up an error code in btrfs_init_space_info()
        Input: gpio-keys - fix check for disabling unsupported keys
        Input: edt-ft5x06 - fix setting gain, offset, and threshold via device tree
        net/xfrm_input: fix possible NULL deref of tunnel.ip6->parms.i_key
        xfrm_user: propagate sec ctx allocation errors
        xfrm: Fix memory leak of aead algorithm name
        mac80211: fix mgmt-tx abort cookie and leak
        mac80211: TDLS: always downgrade invalid chandefs
        mac80211: TDLS: change BW calculation for WIDER_BW peers
        mac80211: Fix BW upgrade for TDLS peers
        NFS: Fix an LOCK/OPEN race when unlinking an open file
        net: get rid of an signed integer overflow in ip_idents_reserve()
        mtd: nand: denali: add missing nand_release() call in denali_remove()
        ASoC: Intel: pass correct parameter in sst_alloc_stream_mrfld()
        ASoC: tegra_alc5632: check return value
        ASoC: fsl_ssi: mark SACNT register volatile
        Revert "ACPI / LPSS: allow to use specific PM domain during ->probe()"
        mmc: sdhci: restore behavior when setting VDD via external regulator
        mmc: sd: limit SD card power limit according to cards capabilities
        mmc: debugfs: correct wrong voltage value
        mmc: block: return error on failed mmc_blk_get()
        clk: rockchip: Revert "clk: rockchip: reset init state before mmc card initialization"
        mmc: dw_mmc: rockchip: Set the drive phase properly
        mmc: moxart: fix wait_for_completion_interruptible_timeout return variable type
        mmc: sdhci: Fix regression setting power on Trats2 board
        perf tools: Fix perf regs mask generation
        powerpc/tm: Fix stack pointer corruption in __tm_recheckpoint()
        powerpc/book3s: Fix MCE console messages for unrecoverable MCE.
        sctp: fix the transports round robin issue when init is retransmitted
        sunrpc: Update RPCBIND_MAXNETIDLEN
        NFC: nci: memory leak in nci_core_conn_create()
        net: phy: Avoid polling PHY with PHY_IGNORE_INTERRUPTS
        net: phy: Fix phy_mac_interrupt()
        net: phy: bcm7xxx: Fix shadow mode 2 disabling
        of_mdio: fix node leak in of_phy_register_fixed_link error path
        phy: micrel: Fix finding PHY properties in MAC node for KSZ9031.
        net: dsa: slave: fix of-node leak and phy priority
        drivers: net: cpsw: don't ignore phy-mode if phy-handle is used
        iommu/dma: Respect IOMMU aperture when allocating
        mdio-sun4i: oops in error handling in probe
        iio:ad7797: Use correct attribute_group
        selftests/ipc: Fix test failure seen after initial test run
        wimax/i2400m: Fix potential urb refcnt leak
        cifs: protect updating server->dstaddr with a spinlock
        scripts/config: allow colons in option strings for sed
        lib/mpi: Fix building for powerpc with clang
        net: bcmgenet: suppress warnings on failed Rx SKB allocations
        net: systemport: suppress warnings on failed Rx SKB allocations
        rc: allow rc modules to be loaded if rc-main is not a module
        lirc_imon: do not leave imon_probe() with mutex held
        am437x-vpfe: fix an uninitialized variable bug
        cx23885: uninitialized variable in cx23885_av_work_handler()
        ath9k_htc: check for underflow in ath9k_htc_rx_msg()
        VFIO: platform: reset: fix a warning message condition
        net: moxa: fix an error code
        mfd: lp8788-irq: Uninitialized variable in irq handler
        ethernet: micrel: fix some error codes
        power: ipaq-micro-battery: freeing the wrong variable
        i40e: fix an uninitialized variable bug
        qede: uninitialized variable in qede_start_xmit()
        qlcnic: potential NULL dereference in qlcnic_83xx_get_minidump_template()
        qlcnic: use the correct ring in qlcnic_83xx_process_rcv_ring_diag()
        target: Fix a memory leak in target_dev_lba_map_store()
        memory/tegra: Add number of TLB lines for Tegra124
        pinctrl: bcm2835: Fix memory leak in error path
        be2net: Don't leak iomapped memory on removal.
        ipv4: Fix memory leak in exception case for splitting tries
        flow_dissector: Check for IP fragmentation even if not using IPv4 address
        ipv4: fix checksum annotation in udp4_csum_init
        ipv4: do not abuse GFP_ATOMIC in inet_netconf_notify_devconf()
        ipv4: accept u8 in IP_TOS ancillary data
        net: vrf: Fix dev refcnt leak due to IPv6 prefix route
        ipv6: fix checksum annotation in udp6_csum_init
        ipv6: do not abuse GFP_ATOMIC in inet6_netconf_notify_devconf()
        ipv6: add missing netconf notif when 'all' is updated
        net: ipv6: Fix processing of RAs in presence of VRF
        netfilter: nf_tables: fix a wrong check to skip the inactive rules
        netfilter: nft_dynset: fix panic if NFT_SET_HASH is not enabled
        netfilter: nf_tables: destroy the set if fail to add transaction
        netfilter: nft_dup: do not use sreg_dev if the user doesn't specify it
        udp: restore UDPlite many-cast delivery
        clk: st: avoid uninitialized variable use
        clk: gpio: handle error codes for of_clk_get_parent_count()
        clk: ti: omap3+: dpll: use non-locking version of clk_get_rate
        clk: multiplier: Prevent the multiplier from under / over flowing
        clk: imx: clk-pllv3: fix incorrect handle of enet powerdown bit
        clk: xgene: Don't call __pa on ioremaped address
        cls_bpf: reset class and reuse major in da
        arm64: bpf: jit JMP_JSET_{X,K}
        bpf, trace: check event type in bpf_perf_event_read
        bpf: fix map not being uncharged during map creation failure
        net/mlx4_core: Fix potential corruption in counters database
        net/mlx4_core: Fix access to uninitialized index
        net/mlx4_en: Fix the return value of a failure in VLAN VID add/kill
        net/mlx4_core: Check device state before unregistering it
        net/mlx4_core: Fix the resource-type enum in res tracker to conform to FW spec
        net/mlx4_en: Process all completions in RX rings after port goes up
        net/mlx4_core: Do not access comm channel if it has not yet been initialized
        net/mlx4_en: Fix potential deadlock in port statistics flow
        net/mlx4: Fix uninitialized fields in rule when adding promiscuous mode to device managed flow steering
        net/mlx4_core: Fix QUERY FUNC CAP flags
        mlxsw: switchx2: Fix misuse of hard_header_len
        mlxsw: switchx2: Fix ethernet port initialization
        sched/fair: Fix calc_cfs_shares() fixed point arithmetics width confusion
        net_sched: flower: Avoid dissection of unmasked keys
        pkt_sched: fq: use proper locking in fq_dump_stats()
        sched/preempt: Fix preempt_count manipulations
        power: bq27xxx: fix reading for bq27000 and bq27010
        power: bq27xxx: fix register numbers of bq27500
        power: test_power: correctly handle empty writes
        power: bq27xxx_battery: Fix bq27541 AveragePower register address
        power_supply: tps65217-charger: Fix NULL deref during property export
        net: vrf: Fix dst reference counting
        net: Don't delete routes in different VRFs
        vti6: fix input path
        ipv4: Fix table id reference in fib_sync_down_addr
        mlx4: do not call napi_schedule() without care
        xprtrdma: Fix backchannel allocation of extra rpcrdma_reps
        ALSA: fm801: Initialize chip after IRQ handler is registered
        bonding: fix length of actor system
        MIPS: perf: Remove incorrect odd/even counter handling for I6400
        Revert "cpufreq: Drop rwsem lock around CPUFREQ_GOV_POLICY_EXIT"
        net: dsa: mv88e6xxx: unlock DSA and CPU ports
        gfs2: fix flock panic issue
        blk-mq: fix undefined behaviour in order_to_size()
        dm: fix second blk_delay_queue() parameter to be in msec units not jiffies
        dmaengine: edma: Add probe callback to edma_tptc_driver
        openvswitch: update checksum in {push,pop}_mpls
        cxgb4/cxgb4vf: Fixes regression in perf when tx vlan offload is disabled
        net: bcmgenet: fix skb_len in bcmgenet_xmit_single()
        net: bcmgenet: device stats are unsigned long
        ovs/gre: fix rtnl notifications on iface deletion
        gre: do not assign header_ops in collect metadata mode
        gre: build header correctly for collect metadata tunnels
        gre: reject GUE and FOU in collect metadata mode
        sfc: fix potential stack corruption from running past stat bitmask
        sfc: clear napi_hash state when copying channels
        net: bcmsysport: Device stats are unsigned long
        cxgbi: fix uninitialized flowi6
        net: macb: add missing free_netdev() on error in macb_probe()
        macvtap: segmented packet is consumed
        tipc: fix the error handling in tipc_udp_enable()
        net: icmp6_send should use dst dev to determine L3 domain
        et131x: Fix logical vs bitwise check in et131x_tx_timeout()
        net: ethernet: stmmac: dwmac-sti: fix probe error path
        rtnl: reset calcit fptr in rtnl_unregister()
        net: ethernet: stmmac: dwmac-rk: fix probe error path
        fq_codel: return non zero qlen in class dumps
        net: ethernet: stmmac: dwmac-generic: fix probe error path
        ovs/geneve: fix rtnl notifications on iface deletion
        bnxt: add a missing rcu synchronization
        qdisc: fix a module refcount leak in qdisc_create_dflt()
        net: axienet: Fix return value check in axienet_probe()
        bnxt_en: Remove locking around txr->dev_state
        net: ethernet: davinci_emac: Fix devioctl while in fixed link
        net: ethernet: mvneta: Remove IFF_UNICAST_FLT which is not implemented
        net: ethernet: ti: cpsw: fix device and of_node leaks
        net: ethernet: ti: cpsw: fix secondary-emac probe error path
        net: hns: fix device reference leaks
        net: bridge: don't increment tx_dropped in br_do_proxy_arp
        net: dsa: mv88e6xxx: enable SA learning on DSA ports
        net: ehea: avoid null pointer dereference
        l2tp: fix use-after-free during module unload
        hwrng: exynos - Disable runtime PM on driver unbind
        net: icmp_route_lookup should use rt dev to determine L3 domain
        net: mvneta: fix trivial cut-off issue in mvneta_ethtool_update_stats
        net: macb: replace macb_writel() call by queue_writel() to update queue ISR
        ravb: Add missing free_irq() call to ravb_close()
        mvpp2: use correct size for memset
        net: vxlan: lwt: Fix vxlan local traffic.
        net: ethoc: Fix early error paths
        ovs/vxlan: fix rtnl notifications on iface deletion
        net: mv643xx_eth: fix packet corruption with TSO and tiny unaligned packets.
        regulator: core: Rely on regulator_dev_release to free constraints
        net: dsa: mv88e6xxx: fix port VLAN maps
        at803x: fix reset handling
        cxl: Fix DAR check & use REGION_ID instead of opencoding
        net: ethernet: davinci_emac: Fix platform_data overwrite
        ata: sata_dwc_460ex: remove incorrect locking
        pinctrl: tegra: Correctly check the supported configuration
        brcmfmac: add fallback for devices that do not report per-chain values
        brcmfmac: restore stopping netdev queue when bus clogs up
        bridge: Fix problems around fdb entries pointing to the bridge device
        bna: add missing per queue ethtool stat
        net: skbuff: Remove errornous length validation in skb_vlan_pop()
        net: ep93xx_eth: Do not crash unloading module
        macvlan: Fix potential use-after free for broadcasts
        sctp: Fix SHUTDOWN CTSN Ack in the peer restart case
        ALSA: hda: Match both PCI ID and SSID for driver blacklist
        mac80211: add ieee80211_is_any_nullfunc()
        Linux 4.4.223

Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>

Conflicts:
	drivers/base/firmware_class.c
	drivers/mmc/host/sdhci.c
	drivers/net/wireless/ath/ath10k/core.c
	drivers/tty/serial/msm_serial.c
	net/ipv6/route.c
2020-05-10 20:10:38 -07:00
Jeremie Francois (on alpha)
9dc6976d94 scripts/config: allow colons in option strings for sed
[ Upstream commit e461bc9f9ab105637b86065d24b0b83f182d477c ]

Sed broke on some strings as it used colon as a separator.
I made it more robust by using \001, which is legit POSIX AFAIK.

E.g. ./config --set-str CONFIG_USBNET_DEVADDR "de:ad:be:ef:00:01"
failed with: sed: -e expression #1, char 55: unknown option to `s'

Signed-off-by: Jeremie Francois (on alpha) <jeremie.francois@gmail.com>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-05-10 10:26:11 +02:00
lucaswei
d3642cb72e Merge upstream-linux-4.4.y (4.4.219) into android-msm-wahoo-4.4-lts
Linux 4.4.219
    drm_dp_mst_topology: fix broken drm_dp_sideband_parse_remote_dpcd_read()
    clk: qcom: rcg: Return failure for RCG update
    RDMA/cm: Update num_paths in cma_resolve_iboe_route error flow
    Bluetooth: RFCOMM: fix ODEBUG bug in rfcomm_dev_ioctl
    IB/hfi1: Call kobject_put() when kobject_init_and_add() fails
    ASoC: jz4740-i2s: Fix divider written at incorrect offset in register
    xen-netfront: Update features after registering netdev
    xen-netfront: Fix mismatched rtnl_unlock
    power: supply: axp288_charger: Fix unchecked return value
    tools/accounting/getdelays.c: fix netlink attribute length
  * random: always use batched entropy for get_random_u{32,64}
      drivers/char/random.c
    slcan: Don't transmit uninitialized stack data in padding
    net: stmmac: dwmac1000: fix out-of-bounds mac address reg setting
    mm: mempolicy: require at least one nodeid for MPOL_PREFERRED
    padata: always acquire cpu_hotplug_lock before pinst->lock
    usb: gadget: printer: Drop unused device qualifier descriptor
    usb: gadget: uac2: Drop unused device qualifier descriptor
  * l2tp: fix race between l2tp_session_delete() and l2tp_tunnel_closeall()
      net/l2tp/l2tp_core.c
      net/l2tp/l2tp_core.h
  * l2tp: ensure sessions are freed after their PPPOL2TP socket
      net/l2tp/l2tp_ppp.c
  * l2tp: Refactor the codes with existing macros instead of literal number
      net/l2tp/l2tp_ppp.c
  * l2tp: fix duplicate session creation
      net/l2tp/l2tp_core.c
      net/l2tp/l2tp_eth.c
      net/l2tp/l2tp_ppp.c
  * l2tp: ensure session can't get removed during pppol2tp_session_ioctl()
      net/l2tp/l2tp_ppp.c
  * l2tp: fix race in l2tp_recv_common()
      net/l2tp/l2tp_core.c
      net/l2tp/l2tp_core.h
      net/l2tp/l2tp_ip.c
      net/l2tp/l2tp_ip6.c
  * net: l2tp: Make l2tp_ip6 namespace aware
      net/l2tp/l2tp_ip6.c
  * l2tp: Correctly return -EBADF from pppol2tp_getname.
      net/l2tp/l2tp_ppp.c
    sctp: fix possibly using a bad saddr with a given dst
  * net, ip_tunnel: fix interface lookup with no key
      net/ipv4/ip_tunnel.c
  * ipv4: fix a RCU-list lock in fib_triestat_seq_show
      net/ipv4/fib_trie.c
    drm/bochs: downgrade pci_request_region failure from error to warning
Linux 4.4.218
    perf map: Fix off by one in strncpy() size argument
    net: ks8851-ml: Fix IO operations, again
    bpf: Explicitly memset the bpf_attr structure
    vt: vt_ioctl: fix use-after-free in vt_in_use()
  * locking/atomic, kref: Add kref_read()
      include/linux/kref.h
    vt: vt_ioctl: fix VT_DISALLOCATE freeing in-use virtual console
    vt: vt_ioctl: remove unnecessary console allocation checks
  * vt: switch vt_dont_switch to bool
      include/linux/vt_kern.h
    vt: ioctl, switch VT_IS_IN_USE and VT_BUSY to inlines
  * vt: selection, introduce vc_is_sel
      include/linux/selection.h
    media: xirlink_cit: add missing descriptor sanity checks
    media: stv06xx: add missing descriptor sanity checks
    media: dib0700: fix rc endpoint lookup
    media: ov519: add missing endpoint sanity checks
  * libfs: fix infoleak in simple_attr_read()
      fs/libfs.c
    staging: wlan-ng: fix use-after-free Read in hfa384x_usbin_callback
    staging: rtl8188eu: Add ASUS USB-N10 Nano B1 to device table
    media: usbtv: fix control-message timeouts
    media: flexcop-usb: fix endpoint sanity check
    usb: musb: fix crash with highmen PIO and usbmon
    USB: serial: io_edgeport: fix slab-out-of-bounds read in edge_interrupt_callback
    USB: cdc-acm: restore capability check order
    USB: serial: option: add Wistron Neweb D19Q1
    USB: serial: option: add BroadMobi BM806U
    USB: serial: option: add support for ASKEY WWHC050
    tools: Let O= makes handle a relative path with -C option
  * vti6: Fix memory leak of skb if input policy check fails
      net/ipv6/ip6_vti.c
  * xfrm: policy: Fix doulbe free in xfrm_policy_timer
      net/xfrm/xfrm_policy.c
  * xfrm: add the missing verify_sec_ctx_len check in xfrm_add_acquire
      net/xfrm/xfrm_user.c
  * xfrm: fix uctx len check in verify_sec_ctx_len
      net/xfrm/xfrm_user.c
  * vti[6]: fix packet tx through bpf_redirect() in XinY cases
      net/ipv4/Kconfig
      net/ipv4/ip_vti.c
      net/ipv6/ip6_vti.c
  * genirq: Fix reference leaks on irq affinity notifiers
      kernel/irq/manage.c
    mac80211: mark station unauthorized before key removal
  * scsi: sd: Fix optimal I/O size for devices that change reported values
      drivers/scsi/sd.c
  * scripts/dtc: Remove redundant YYLOC global declaration
      scripts/dtc/dtc-lexer.lex.c_shipped
    perf probe: Do not depend on dwfl_module_addrsym()
    i2c: hix5hd2: add missed clk_disable_unprepare in remove
    sxgbe: Fix off by one in samsung driver strncpy size arg
    mac80211: Do not send mesh HWMP PREQ if HWMP is disabled
    scsi: ipr: Fix softlockup when rescanning devices in petitboot
    dt-bindings: net: FMan erratum A050385
    cpupower: avoid multiple definition with gcc -fno-common
  * net: ipv4: don't let PMTU updates increase route MTU
      net/ipv4/route.c
  * drivers/hwspinlock: use correct radix tree API
      drivers/hwspinlock/hwspinlock_core.c
    KVM: VMX: Do not allow reexecute_instruction() when skipping MMIO instr
  * uapi glibc compat: fix outer guard of net device flags enum
      include/uapi/linux/if.h
    IB/ipoib: Do not warn if IPoIB debugfs doesn't exist
    vhost: Check docket sk_family instead of call getname
    hsr: set .netnsok flag
    hsr: add restart routine into hsr_get_node_list()
    hsr: use rcu_read_lock() in hsr_get_node_{list/status}()
    vxlan: check return value of gro_cells_init()
    slcan: not call free_netdev before rtnl_unlock in slcan_open
    NFC: fdp: Fix a signedness bug in fdp_nci_send_patch()
    net_sched: keep alloc_hash updated after hash allocation
    net_sched: cls_route: remove the right filter from hashtable
    net: dsa: Fix duplicate frames flooded by learning
    hsr: fix general protection fault in hsr_addr_is_self()
    Revert "drm/dp_mst: Skip validating ports during destruction, just ref"
  * arm64: smp: fix smp_send_stop() behaviour
      arch/arm64/kernel/smp.c
    ALSA: hda/realtek: Fix pop noise on ALC225
  * futex: Unbreak futex hashing
      kernel/futex.c
  * futex: Fix inode life-time issue
      fs/inode.c
      include/linux/fs.h
      include/linux/futex.h
      kernel/futex.c
  * kbuild: Disable -Wpointer-to-enum-cast
      scripts/Makefile.extrawarn
    USB: cdc-acm: fix rounding error in TIOCSSERIAL
    USB: cdc-acm: fix close_delay and closing_wait units in TIOCSSERIAL
  * x86/mm: split vmalloc_sync_all()
      include/linux/vmalloc.h
      kernel/notifier.c
      mm/vmalloc.c
  * mm, slub: prevent kmalloc_node crashes and memory leaks
      mm/slub.c
  * mm: slub: be more careful about the double cmpxchg of freelist
      mm/slub.c
    memcg: fix NULL pointer dereference in __mem_cgroup_usage_unregister_event
  * rtc: max8907: add missing select REGMAP_IRQ
      drivers/rtc/Kconfig
    intel_th: Fix user-visible error codes
    staging/speakup: fix get_word non-space look-ahead
    staging: rtl8188eu: Add device id for MERCUSYS MW150US v2
    ALSA: pcm: oss: Remove WARNING from snd_pcm_plug_alloc() checks
    ALSA: pcm: oss: Avoid plugin buffer overflow
    ALSA: seq: oss: Fix running status after receiving sysex
    ALSA: seq: virmidi: Fix running status after receiving sysex
    ALSA: line6: Fix endless MIDI read loop
    USB: serial: pl2303: add device-id for HP LD381
  * usb: host: xhci-plat: add a shutdown
      drivers/usb/host/xhci-plat.c
    USB: serial: option: add ME910G1 ECM composition 0x110b
  * usb: quirks: add NO_LPM quirk for RTL8153 based ethernet adapters
      drivers/usb/core/quirks.c
  * USB: Disable LPM on WD19's Realtek Hub
      drivers/usb/core/quirks.c
    altera-stapl: altera_get_note: prevent write beyond end of 'key'
    drm/exynos: dsi: fix workaround for the legacy clock name
    drm/exynos: dsi: propagate error value and silence meaningless warning
    spi/zynqmp: remove entry that causes a cs glitch
    ARM: dts: dra7: Add "dma-ranges" property to PCIe RC DT nodes
    powerpc: Include .BTF section
  * spi: qup: call spi_qup_pm_resume_runtime before suspending
      drivers/spi/spi-qup.c
Linux 4.4.217
  * ipv4: ensure rcu_read_lock() in cipso_v4_error()
      net/ipv4/cipso_ipv4.c
  * mm: slub: add missing TID bump in kmem_cache_alloc_bulk()
      mm/slub.c
    ARM: 8958/1: rename missed uaccess .fixup section
    ARM: 8957/1: VDSO: Match ARMv8 timer in cntvct_functional()
  * jbd2: fix data races at struct journal_head
      fs/jbd2/transaction.c
  * signal: avoid double atomic counter increments for user accounting
      kernel/signal.c
    net: ks8851-ml: Fix IRQ handling and locking
    perf/amd/uncore: Replace manual sampling check with CAP_NO_INTERRUPT flag
    batman-adv: Don't schedule OGM for disabled interface
    batman-adv: Avoid free/alloc race when handling OGM buffer
    batman-adv: Only read OGM tvlv_len after buffer len check
    batman-adv: Reduce tt_global hash refcnt only for removed entry
    batman-adv: Reduce tt_local hash refcnt only for removed entry
    batman-adv: Reduce claim hash refcnt only for removed entry
    batman-adv: Prevent duplicated tvlv handler
    batman-adv: Prevent duplicated global TT entry
    batman-adv: Prevent duplicated nc_node entry
    batman-adv: Prevent duplicated gateway_node entry
    batman-adv: Avoid storing non-TT-sync flags on singular entries too
    batman-adv: Fix debugfs path for renamed softif
    batman-adv: Fix debugfs path for renamed hardif
    batman-adv: prevent TT request storms by not sending inconsistent TT TLVLs
    batman-adv: Fix TT sync flags for intermediate TT responses
    batman-adv: Avoid race in TT TVLV allocator helper
    batman-adv: Fix skbuff rcsum on packet reroute
    batman-adv: update data pointers after skb_cow()
    batman-adv: Fix internal interface indices types
    batman-adv: Fix lock for ogm cnt access in batadv_iv_ogm_calc_tq
    batman-adv: fix TT sync flag inconsistencies
    batman-adv: Fix rx packet/bytes stats on local ARP reply
    batman-adv: Fix transmission of final, 16th fragment
    batman-adv: Fix double free during fragment merge error
    batman-adv: Add missing refcnt for last_candidate
    batman-adv: Fix speedy join in gateway client mode
    batman-adv: Free last_bonding_candidate on release of orig_node
    batman-adv: Fix reference leak in batadv_find_router
    batman-adv: Fix non-atomic bla_claim::backbone_gw access
    batman-adv: lock crc access in bridge loop avoidance
    batman-adv: Fix orig_node_vlan leak on orig_node_release
    batman-adv: Avoid nullptr dereference in dat after vlan_insert_tag
    batman-adv: Avoid nullptr dereference in bla after vlan_insert_tag
    batman-adv: Clean up untagged vlan when destroying via rtnl-link
    batman-adv: Fix ICMP RR ethernet access after skb_linearize
    batman-adv: Fix use-after-free/double-free of tt_req_node
    batman-adv: fix skb deref after free
    batman-adv: Avoid duplicate neigh_node additions
    batman-adv: Fix reference counting of vlan object for tt_local_entry
    batman-adv: Drop reference to netdevice on last reference
    batman-adv: Deactivate TO_BE_ACTIVATED hardif on shutdown
    batman-adv: init neigh node last seen field
    batman-adv: Fix integer overflow in batadv_iv_ogm_calc_tq
    batman-adv: Fix unexpected free of bcast_own on add_if error
    batman-adv: Avoid endless loop in bat-on-bat netdevice check
    batman-adv: Only put orig_node_vlan list reference when removed
    batman-adv: Only put gw_node list reference when removed
    batman-adv: Fix invalid read while copying bat_iv.bcast_own
    efi: Add a sanity check to efivar_store_raw()
  * ipv6: restrict IPV6_ADDRFORM operation
      net/ipv6/ipv6_sockglue.c
    mwifiex: Fix heap overflow in mmwifiex_process_tdls_action_frame()
    iommu/vt-d: Ignore devices with out-of-spec domain number
    iommu/vt-d: Fix the wrong printing in RHSA parsing
    netfilter: cthelper: add missing attribute validation for cthelper
  * nl80211: add missing attribute validation for channel switch
      net/wireless/nl80211.c
  * nl80211: add missing attribute validation for critical protocol indication
      net/wireless/nl80211.c
    iommu/vt-d: Fix a bug in intel_iommu_iova_to_phys() for huge page
    iommu/vt-d: dmar: replace WARN_TAINT with pr_warn + add_taint
    efi: Fix a race and a buffer overflow while reading efivars via sysfs
    ARC: define __ALIGN_STR and __ALIGN symbols for ARC
    KVM: x86: clear stale x86_emulate_ctxt->intercept value
    gfs2_atomic_open(): fix O_EXCL|O_CREAT handling on cold dcache
    drm/amd/display: remove duplicated assignment to grph_obj_type
    iommu/vt-d: quirk_ioat_snb_local_iommu: replace WARN_TAINT with pr_warn + add_taint
    net: fq: add missing attribute validation for orphan mask
  * bonding/alb: make sure arp header is pulled before accessing it
      drivers/net/bonding/bond_alb.c
  * slip: make slhc_compress() more robust against malicious packets
      drivers/net/slip/slhc.c
    net: fec: validate the new settings in fec_enet_set_coalesce()
    macvlan: add cond_resched() during multicast processing
    ipvlan: don't deref eth hdr before checking it's set
    ipvlan: do not use cond_resched_rcu() in ipvlan_process_multicast()
    ipvlan: egress mcast packets are not exceptional
    ipvlan: do not add hardware address of master to its unicast filter list
    ipvlan: add cond_resched_rcu() while processing muticast backlog
    nfc: add missing attribute validation for vendor subcommand
    nfc: add missing attribute validation for SE API
    team: add missing attribute validation for array index
    team: add missing attribute validation for port ifindex
    nl802154: add missing attribute validation for dev_type
    nl802154: add missing attribute validation
  * fib: add missing attribute validation for tun_id
      include/net/fib_rules.h
    bnxt_en: reinitialize IRQs when MTU is modified
    net: nfc: fix bounds checking bugs on "pipe"
  * r8152: check disconnect status after long sleep
      drivers/net/usb/r8152.c
    NFS: Remove superfluous kmap in nfs_readdir_xdr_to_array
Linux 4.4.216
    crypto: algif_skcipher - use ZERO_OR_NULL_PTR in skcipher_recvmsg_async
    dm cache: fix a crash due to incorrect work item cancelling
    powerpc: fix hardware PMU exception bug on PowerVM compatibility mode systems
    dmaengine: coh901318: Fix a double lock bug in dma_tc_handle()
    hwmon: (adt7462) Fix an error return in ADT7462_REG_VOLT()
    ARM: imx: build v7_cpu_resume() unconditionally
    RMDA/cm: Fix missing ib_cm_destroy_id() in ib_cm_insert_listen()
    RDMA/iwcm: Fix iwcm work deallocation
  * ASoC: dapm: Correct DAPM handling of active widgets during shutdown
      sound/soc/soc-dapm.c
    ASoC: pcm512x: Fix unbalanced regulator enable call in probe error path
  * ASoC: pcm: Fix possible buffer overflow in dpcm state sysfs output
      sound/soc/soc-pcm.c
    dmaengine: tegra-apb: Prevent race conditions of tasklet vs free list
    dmaengine: tegra-apb: Fix use-after-free
    vt: selection, push sel_lock up
    vt: selection, push console lock down
    vt: selection, close sel_buffer race
  * fat: fix uninit-memory access for partial initialized inode
      fs/fat/inode.c
    vgacon: Fix a UAF in vgacon_invert_region
  * usb: core: port: do error out if usb_autopm_get_interface() fails
      drivers/usb/core/port.c
  * usb: core: hub: do error out if usb_autopm_get_interface() fails
      drivers/usb/core/hub.c
  * usb: quirks: add NO_LPM quirk for Logitech Screen Share
      drivers/usb/core/quirks.c
  * usb: storage: Add quirk for Samsung Fit flash
      drivers/usb/storage/unusual_devs.h
    cifs: don't leak -EAGAIN for stat() during reconnect
    s390/cio: cio_ignore_proc_seq_next should increase position index
    watchdog: da9062: do not ping the hw during stop()
    net: ks8851-ml: Fix 16-bit IO operation
    net: ks8851-ml: Fix 16-bit data access
    net: ks8851-ml: Remove 8-bit bus accessors
    drm/msm/dsi: save pll state before dsi host is powered off
    drm: msm: Fix return type of dsi_mgr_connector_mode_valid for kCFI
    usb: gadget: serial: fix Tx stall after buffer overflow
  * usb: gadget: ffs: ffs_aio_cancel(): Save/restore IRQ flags
      drivers/usb/gadget/function/f_fs.c
    serial: ar933x_uart: set UART_CS_{RX,TX}_READY_ORIDE
  * audit: always check the netlink payload length in audit_receive_msg()
      kernel/audit.c
  * fs: prevent page refcount overflow in pipe_buf_get
      fs/fuse/dev.c
      fs/pipe.c
      fs/splice.c
      include/linux/pipe_fs_i.h
      kernel/trace/trace.c
  * pipe: add pipe_buf_get() helper
      fs/fuse/dev.c
      fs/splice.c
      include/linux/pipe_fs_i.h
  * mm: prevent get_user_pages() from overflowing page refcount
      include/linux/mm.h
      mm/gup.c
  * mm, gup: ensure real head page is ref-counted when using hugepages
      mm/gup.c
  * mm, gup: remove broken VM_BUG_ON_PAGE compound check for hugepages
      mm/gup.c
  * mm: add 'try_get_page()' helper function
      include/linux/mm.h
      mm/internal.h
  * mm: make page ref count overflow check tighter and more explicit
      include/linux/mm.h
      mm/internal.h
    slip: stop double free sl->dev in slip_open
    KVM: Check for a bad hva before dropping into the ghc slow path
  * namei: only return -ECHILD from follow_dotdot_rcu()
      fs/namei.c
  * net: netlink: cap max groups which will be considered in netlink_bind()
      net/netlink/af_netlink.c
  * include/linux/bitops.h: introduce BITS_PER_TYPE
      include/linux/bitops.h
    ecryptfs: Fix up bad backport of fe2e082f5da5b4a0a92ae32978f81507ef37ec66
    i2c: jz4780: silence log flood on txabrt
    MIPS: VPE: Fix a double free and a memory leak in 'release_vpe()'
    HID: hiddev: Fix race in in hiddev_disconnect()
  * HID: core: increase HID report buffer size to 8KiB
      include/linux/hid.h
  * HID: core: fix off-by-one memset in hid_report_raw_event()
      drivers/hid/hid-core.c
  * audit: fix error handling in audit_data_to_entry()
      kernel/auditfilter.c
  * ext4: potential crash on allocation error in ext4_alloc_flex_bg_array()
      fs/ext4/super.c
  * net: sched: correct flower port blocking
      include/net/flow_dissector.h
    nfc: pn544: Fix occasional HW initialization failure
    sctp: move the format error check out of __sctp_sf_do_9_1_abort
  * ipv6: Fix route replacement with dev-only route
      net/ipv6/ip6_fib.c
  * ipv6: Fix nlmsg_flags when splitting a multipath route
      net/ipv6/route.c
    net: phy: restore mdio regs in the iproc mdio driver
  * net: fib_rules: Correctly set table field when table number exceeds 8 bits
      net/core/fib_rules.c
  * sysrq: Remove duplicated sysrq message
      drivers/tty/sysrq.c
  * sysrq: Restore original console_loglevel when sysrq disabled
      drivers/tty/sysrq.c
  * cfg80211: add missing policy for NL80211_ATTR_STATUS_CODE
      net/wireless/nl80211.c
    cifs: Fix mode output in debugging statements
  * cfg80211: check wiphy driver existence for drvinfo report
      net/wireless/ethtool.c
    mac80211: consider more elements in parsing CRC
    ipmi:ssif: Handle a possible NULL pointer reference
  * ext4: fix potential race between s_group_info online resizing and access
      fs/ext4/ext4.h
      fs/ext4/mballoc.c
  * ext4: fix potential race between s_flex_groups online resizing and access
      fs/ext4/ext4.h
      fs/ext4/ialloc.c
      fs/ext4/mballoc.c
      fs/ext4/resize.c
      fs/ext4/super.c
  * ext4: fix potential race between online resizing and write operations
      fs/ext4/balloc.c
      fs/ext4/ext4.h
      fs/ext4/resize.c
      fs/ext4/super.c
    iwlwifi: pcie: fix rb_allocator workqueue allocation
Linux 4.4.215
    xen: Enable interrupts when calling _cond_resched()
    ALSA: seq: Fix concurrent access to queue current tick/time
    ALSA: seq: Avoid concurrent access to queue flags
  * ALSA: rawmidi: Avoid bit fields for state flags
      include/sound/rawmidi.h
    ecryptfs: replace BUG_ON with error handling code
    scsi: Revert "target: iscsi: Wait for all commands to finish before freeing a session"
    scsi: Revert "RDMA/isert: Fix a recently introduced regression related to logout"
    Btrfs: fix btrfs_wait_ordered_range() so that it waits for all ordered extents
    KVM: apic: avoid calculating pending eoi from an uninitialized val
    KVM: nVMX: Check IO instruction VM-exit conditions
    KVM: nVMX: Refactor IO bitmap checks into helper function
  * ext4: add cond_resched() to __ext4_find_entry()
      fs/ext4/namei.c
  * ext4: fix a data race in EXT4_I(inode)->i_disksize
      fs/ext4/ext4.h
      fs/ext4/inode.c
    netfilter: xt_bpf: add overflow checks
    KVM: nVMX: Don't emulate instructions in guest mode
    vt: vt_ioctl: fix race in VT_RESIZEX
    VT_RESIZEX: get rid of field-by-field copyin
  * xhci: apply XHCI_PME_STUCK_QUIRK to Intel Comet Lake platforms
      drivers/usb/host/xhci-pci.c
    Revert "ipc,sem: remove uneeded sem_undo_list lock usage in exit_sem()"
    tty: serial: imx: setup the correct sg entry for tx dma
    x86/mce/amd: Fix kobject lifetime
    staging: rtl8188eu: Fix potential overuse of kernel memory
    staging: rtl8188eu: Fix potential security hole
  * USB: hub: Don't record a connect-change event during reset-resume
      drivers/usb/core/hub.c
  * USB: Fix novation SourceControl XL after suspend
      drivers/usb/core/quirks.c
    usb: uas: fix a plug & unplug racing
    staging: vt6656: fix sign of rx_dbm to bb_pre_ed_rssi.
  * staging: android: ashmem: Disallow ashmem memory from being remapped
      drivers/staging/android/ashmem.c
    floppy: check FDC index for errors before assigning it
    enic: prevent waking up stopped tx queues over watchdog reset
  * selinux: ensure we cleanup the internal AVC counters on error in avc_update()
      security/selinux/avc.c
  * brd: check and limit max_part par
      drivers/block/brd.c
    microblaze: Prevent the overflow of the start
  * irqchip/gic-v3-its: Reference to its_invall_cmd descriptor when building INVALL
      drivers/irqchip/irq-gic-v3-its.c
    bcache: explicity type cast in bset_bkey_last()
    reiserfs: prevent NULL pointer dereference in reiserfs_insert_item()
  * lib/scatterlist.c: adjust indentation in __sg_alloc_table
      lib/scatterlist.c
    ocfs2: fix a NULL pointer dereference when call ocfs2_update_inode_fsync_trans()
    radeon: insert 10ms sleep in dce5_crtc_load_lut
  * trigger_next should increase position index
      kernel/trace/trace_events_trigger.c
    drm/nouveau/disp/nv50-: prevent oops when no channel method map provided
    iwlegacy: ensure loop counter addr does not wrap and cause an infinite loop
    hostap: Adjust indentation in prism2_hostapd_add_sta
    ARM: 8951/1: Fix Kexec compilation issue.
  * jbd2: switch to use jbd2_journal_abort() when failed to submit the commit record
      fs/jbd2/commit.c
    ALSA: hda - Add docking station support for Lenovo Thinkpad T420s
    s390/ftrace: generate traced function stack frame
    remoteproc: Initialize rproc_class before use
    ide: serverworks: potential overflow in svwks_set_pio_mode()
    cmd64x: potential buffer overflow in cmd64x_program_timings()
    scsi: iscsi: Don't destroy session if there are outstanding connections
    iommu/arm-smmu-v3: Use WRITE_ONCE() when changing validity of an STE
    drm/vmwgfx: prevent memory leak in vmw_cmdbuf_res_add
    drm/nouveau: Fix copy-paste error in nouveau_fence_wait_uevent_handler
  * driver core: Print device when resources present in really_probe()
      drivers/base/dd.c
  * PCI: Don't disable bridge BARs when assigning bus resources
      drivers/pci/setup-bus.c
  * ASoC: atmel: fix build error with CONFIG_SND_ATMEL_SOC_DMA=m
      sound/soc/atmel/Kconfig
    wan: ixp4xx_hss: fix compile-testing on 64-bit
    Input: edt-ft5x06 - work around first register access error
  * rcu: Use WRITE_ONCE() for assignments to ->pprev for hlist_nulls
      include/linux/list_nulls.h
      include/linux/rculist_nulls.h
    soc/tegra: fuse: Correct straps' address for older Tegra124 device trees
    usbip: Fix unsafe unaligned pointer usage
    tools lib api fs: Fix gcc9 stringop-truncation compilation error
    ALSA: sh: Fix compile warning wrt const
    pinctrl: sh-pfc: sh7269: Fix CAN function GPIOs
    x86/vdso: Provide missing include file
    ARM: dts: r8a7779: Add device node for ARM global timer
    scsi: aic7xxx: Adjust indentation in ahc_find_syncrate
  * ACPICA: Disassembler: create buffer fields in ACPI_PARSE_LOAD_PASS1
      drivers/acpi/acpica/dsfield.c
      drivers/acpi/acpica/dswload.c
    orinoco: avoid assertion in case of NULL pointer
    rtlwifi: rtl_pci: Fix -Wcast-function-type
    iwlegacy: Fix -Wcast-function-type
    ipw2x00: Fix -Wcast-function-type
    b43legacy: Fix -Wcast-function-type
    ALSA: usx2y: Adjust indentation in snd_usX2Y_hwdep_dsp_status
    reiserfs: Fix spurious unlock in reiserfs_fill_super() error handling
    NFC: port100: Convert cpu_to_le16(le16_to_cpu(E1) + E2) to use le16_add_cpu().
    regulator: rk808: Lower log level on optional GPIOs being not available
    drm/amdgpu: remove 4 set but not used variable in amdgpu_atombios_get_connector_info_from_object_table
    clk: qcom: rcg2: Don't crash if our parent can't be found; return an error
  * kconfig: fix broken dependency in randconfig-generated .config
      scripts/kconfig/confdata.c
  * ext4, jbd2: ensure panic when aborting with zero errno
      fs/jbd2/checkpoint.c
      fs/jbd2/journal.c
  * tracing: Fix very unlikely race of registering two stat tracers
      kernel/trace/trace_stat.c
  * jbd2: clear JBD2_ABORT flag before journal_reset to update log tail info when load journal
      fs/jbd2/journal.c
  * nfs: NFS_SWAP should depend on SWAP
      fs/nfs/Kconfig
    usb: gadget: udc: fix possible sleep-in-atomic-context bugs in gr_probe()
    uio: fix a sleep-in-atomic-context bug in uio_dmem_genirq_irqcontrol()
    MIPS: Loongson: Fix potential NULL dereference in loongson3_platform_init()
    efi/x86: Map the entire EFI vendor string before copying it
    media: sti: bdisp: fix a possible sleep-in-atomic-context bug in bdisp_device_run()
    media: i2c: mt9v032: fix enum mbus codes and frame sizes
    pinctrl: sh-pfc: sh7264: Fix CAN function GPIOs
    gianfar: Fix TX timestamping with a stacked DSA driver
    brcmfmac: Fix use after free in brcmf_sdio_readframes()
    drm/gma500: Fixup fbdev stolen size usage evaluation
    Revert "KVM: VMX: Add non-canonical check on writes to RTIT address MSRs"
    scsi: qla2xxx: fix a potential NULL pointer dereference
    btrfs: print message when tree-log replay starts
  * jbd2: do not clear the BH_Mapped flag when forgetting a metadata buffer
      fs/jbd2/commit.c
  * jbd2: move the clearing of b_modified flag to the journal_unmap_buffer()
      fs/jbd2/commit.c
      fs/jbd2/transaction.c
    hwmon: (pmbus/ltc2978) Fix PMBus polling of MFR_COMMON definitions.
    s390/time: Fix clk type in get_tod_clock
    padata: Remove broken queue flushing
    btrfs: log message when rw remount is attempted with unclean tree-log
    Btrfs: fix race between using extent maps and merging them
  * ext4: fix checksum errors with indexed dirs
      fs/ext4/dir.c
      fs/ext4/ext4.h
      fs/ext4/inode.c
      fs/ext4/namei.c
    ubifs: Fix deadlock in concurrent bulk-read and writepage
  * ALSA: usb-audio: Apply sample rate quirk for Audioengine D1
      sound/usb/quirks.c
    ecryptfs: fix a memory leak bug in ecryptfs_init_messaging()
    ecryptfs: fix a memory leak bug in parse_tag_1_packet()
    ALSA: hda: Use scnprintf() for printing texts for sysfs/procfs
    KVM: x86: emulate RDPID
    x86/vdso: Use RDPID in preference to LSL when available
Linux 4.4.214
  * dm: fix potential for q->make_request_fn NULL pointer
      drivers/md/dm.c
    libertas: make lbs_ibss_join_existing() return error code on rates overflow
    libertas: don't exit from lbs_ibss_join_existing() with RCU read lock held
    mwifiex: Fix possible buffer overflows in mwifiex_cmd_append_vsie_tlv()
    mwifiex: Fix possible buffer overflows in mwifiex_ret_wmm_get_status()
    pinctrl: sh-pfc: r8a7778: Fix duplicate SDSELF_B and SD1_CLK_B
    powerpc/pseries: Allow not having ibm, hypertas-functions::hcall-multi-tce for DDW
    ARM: dts: at91: sama5d3: define clock rate range for tcb1
    ARM: dts: at91: sama5d3: fix maximum peripheral clock rates
    ARC: [plat-axs10x]: Add missing multicast filter number to GMAC node
    rtc: hym8563: Return -EINVAL if the time is known to be invalid
  * scsi: ufs: Fix ufshcd_probe_hba() reture value in case ufshcd_scsi_add_wlus() fails
      drivers/scsi/ufs/ufshcd.c
  * ASoC: pcm: update FE/BE trigger order based on the command
      sound/soc/soc-pcm.c
  * perf/core: Fix mlock accounting in perf_mmap()
      kernel/events/core.c
  * clocksource: Prevent double add_timer_on() for watchdog_timer
      kernel/time/clocksource.c
    cifs: fail i/o on soft mounts if sessionsetup errors out
    KVM: nVMX: vmread should not set rflags to specify success in case of #PF
    KVM: VMX: Add non-canonical check on writes to RTIT address MSRs
    KVM: x86/mmu: Apply max PA check for MMIO sptes to 32-bit KVM
    btrfs: flush write bio if we loop in extent_write_cache_pages
    KVM: x86: Protect kvm_lapic_reg_write() from Spectre-v1/L1TF attacks
    KVM: x86: Protect pmu_intel.c from Spectre-v1/L1TF attacks
    KVM: x86: Refactor picdev_write() to prevent Spectre-v1/L1TF attacks
    KVM: x86: drop picdev_in_range()
    drm: atmel-hlcdc: enable clock before configuring timing engine
    Btrfs: fix race between adding and putting tree mod seq elements and nodes
    btrfs: remove trivial locking wrappers of tree mod log
    Btrfs: fix assertion failure on fsync with NO_HOLES enabled
    NFS: Directory page cache pages need to be locked when read
    NFS: Fix bool initialization/comparison
    NFS: Fix memory leaks and corruption in readdir
  * bonding/alb: properly access headers in bond_alb_xmit()
      drivers/net/bonding/bond_alb.c
    net: systemport: Avoid RBUF stuck in Wake-on-LAN mode
    mfd: rn5t618: Mark ADC control register volatile
    mfd: da9062: Fix watchdog compatible string
    net: tulip: Adjust indentation in {dmfe, uli526x}_init_module
    net: smc911x: Adjust indentation in smc911x_phy_configure
  * ppp: Adjust indentation into ppp_async_input
      drivers/net/ppp/ppp_async.c
    NFC: pn544: Adjust indentation in pn544_hci_check_presence
    powerpc/44x: Adjust indentation in ibm4xx_denali_fixup_memsize
    ext2: Adjust indentation in ext2_fill_super
    scsi: qla4xxx: Adjust indentation in qla4xxx_mem_free
    scsi: csiostor: Adjust indentation in csio_device_reset
    scsi: qla2xxx: Fix the endianness of the qla82xx_get_fw_size() return type
    KVM: x86: Free wbinvd_dirty_mask if vCPU creation fails
    KVM: PPC: Book3S PR: Free shared page if mmu initialization fails
    KVM: PPC: Book3S HV: Uninit vCPU if vcore creation fails
    KVM: x86: Protect MSR-based index computations in fixed_msr_to_seg_unit() from Spectre-v1/L1TF attacks
    KVM: x86: Protect x86_decode_insn from Spectre-v1/L1TF attacks
    KVM: x86: Protect MSR-based index computations from Spectre-v1/L1TF attacks in x86.c
    KVM: x86: Protect ioapic_read_indirect() from Spectre-v1/L1TF attacks
    KVM: x86: Protect MSR-based index computations in pmu.h from Spectre-v1/L1TF attacks
    KVM: x86: Protect ioapic_write_indirect() from Spectre-v1/L1TF attacks
    KVM: x86: Protect kvm_hv_msr_[get|set]_crash_data() from Spectre-v1/L1TF attacks
    KVM: x86: Protect DR-based index computations from Spectre-v1/L1TF attacks
    KVM: x86: Refactor prefix decoding to prevent Spectre-v1/L1TF attacks
    sunrpc: expiry_time should be seconds not timeval
    mwifiex: fix unbalanced locking in mwifiex_process_country_ie()
    ARM: tegra: Enable PLLP bypass during Tegra124 LP1
    btrfs: set trans->drity in btrfs_commit_transaction
    crypto: picoxcell - adjust the position of tasklet_init and fix missed tasklet_kill
  * crypto: api - Fix race condition in crypto_spawn_alg
      crypto/algapi.c
      crypto/api.c
      crypto/internal.h
    crypto: pcrypt - Do not clear MAY_SLEEP flag in original request
    dm space map common: fix to ensure new block isn't already in use
  * of: Add OF_DMA_DEFAULT_COHERENT & select it on powerpc
      drivers/of/Kconfig
      drivers/of/address.c
  * Revert "ovl: modify ovl_permission() to do checks on two inodes"
      fs/overlayfs/inode.c
    power: supply: ltc2941-battery-gauge: fix use-after-free
    scsi: qla2xxx: Fix mtcp dump collection failure
  * crypto: api - Check spawn->alg under lock in crypto_drop_spawn
      crypto/algapi.c
    PCI: keystone: Fix link training retries initiation
    mmc: spi: Toggle SPI polarity, do not hardcode it
    powerpc/pseries: Advance pfn if section is not present in lmb_is_removable()
    lib/test_kasan.c: fix memory leak in kmalloc_oob_krealloc_more()
    ALSA: dummy: Fix PCM format loop in proc output
    usb: gadget: f_ecm: Use atomic_t to track in-flight request
  * usb: gadget: f_ncm: Use atomic_t to track in-flight request
      drivers/usb/gadget/function/f_ncm.c
    usb: gadget: legacy: set max_speed to super-speed
    brcmfmac: Fix memory leak in brcmf_usbdev_qinit
    mfd: dln2: More sanity checking for endpoints
    media: uvcvideo: Avoid cyclic entity chains due to malformed USB descriptors
  * tcp: clear tp->segs_{in|out} in tcp_disconnect()
      net/ipv4/tcp.c
  * tcp: clear tp->total_retrans in tcp_disconnect()
      net/ipv4/tcp.c
    net_sched: fix an OOB access in cls_tcindex
    net: hsr: fix possible NULL deref in hsr_handle_frame()
    cls_rsvp: fix rsvp_policy
    ASoC: qcom: Fix of-node refcount unbalance to link->codec_of_node
    sparc32: fix struct ipc64_perm type definition
    x86/cpu: Update cached HLE state on write to TSX_CTRL_CPUID_CLEAR
    media: iguanair: fix endpoint sanity check
Linux 4.4.213
    btrfs: do not zero f_bavail if we have available space
    btrfs: fix mixed block count of available space
  * net: Fix skb->csum update in inet_proto_csum_replace16().
      net/core/utils.c
    l2t_seq_next should increase position index
    seq_tab_next() should increase position index
    net/sonic: Quiesce SONIC before re-initializing descriptor memory
    net/sonic: Fix receive buffer handling
    net/sonic: Use MMIO accessors
    net/sonic: Add mutual exclusion for accessing shared state
    net/fsl: treat fsl,erratum-a011043
    qlcnic: Fix CPU soft lockup while collecting firmware dump
  * r8152: get default setting of WOL before initializing
      drivers/net/usb/r8152.c
    airo: Add missing CAP_NET_ADMIN check in AIROOLDIOCTL/SIOCDEVPRIVATE
    airo: Fix possible info leak in AIROOLDIOCTL/SIOCDEVPRIVATE
    scsi: fnic: do not queue commands during fwreset
  * vti[6]: fix packet tx through bpf_redirect()
      net/ipv4/ip_vti.c
      net/ipv6/ip6_vti.c
  * wireless: wext: avoid gcc -O3 warning
      net/wireless/wext-core.c
    ixgbe: Fix calculation of queue with VFs and flow director on interface flap
    ixgbevf: Remove limit of 10 entries for unicast filter list
    clk: mmp2: Fix the order of timer mux parents
    media: si470x-i2c: Move free() past last use of 'radio'
  * usb: dwc3: turn off VBUS when leaving host mode
      drivers/usb/dwc3/core.c
    ttyprintk: fix a potential deadlock in interrupt context issue
    media: dvb-usb/dvb-usb-urb.c: initialize actlen to 0
    media: gspca: zero usb_buf
    media: digitv: don't continue if remote control state can't be read
    reiserfs: Fix memory leak of journal device string
    mm/mempolicy.c: fix out of bounds write in mpol_parse_str()
  * arm64: kbuild: remove compressed images on 'make ARCH=arm64 (dist)clean'
      arch/arm64/boot/Makefile
    crypto: pcrypt - Fix user-after-free on module unload
  * vfs: fix do_last() regression
      fs/namei.c
    crypto: af_alg - Use bh_lock_sock in sk_destruct
  * net_sched: ematch: reject invalid TCF_EM_SIMPLE
      net/sched/ematch.c
    usb-storage: Disable UAS on JMicron SATA enclosure
    atm: eni: fix uninitialized variable warning
    net: wan: sdla: Fix cast from pointer to integer of different size
    drivers/net/b44: Change to non-atomic bit operations on pwol_mask
    watchdog: rn5t618_wdt: fix module aliases
    zd1211rw: fix storage endpoint lookup
    rtl8xxxu: fix interface sanity check
    brcmfmac: fix interface sanity check
    ath9k: fix storage endpoint lookup
    staging: vt6656: Fix false Tx excessive retries reporting.
    staging: vt6656: use NULLFUCTION stack on mac80211
    staging: vt6656: correct packet types for CTS protect, mode.
    staging: wlan-ng: ensure error return is actually returned
    staging: most: net: fix buffer overflow
    USB: serial: ir-usb: fix IrLAP framing
    USB: serial: ir-usb: fix link-speed handling
    USB: serial: ir-usb: add missing endpoint sanity check
    rsi_91x_usb: fix interface sanity check
    orinoco_usb: fix interface sanity check
  * ALSA: pcm: Add missing copy ops check before clearing buffer
      sound/core/pcm_native.c
Linux 4.4.212
    libertas: Fix two buffer overflows at parsing bss descriptor
    net/x25: fix nonblocking connect
    netfilter: ipset: use bitmap infrastructure completely
  * bitmap: Add bitmap_alloc(), bitmap_zalloc() and bitmap_free()
      include/linux/bitmap.h
      lib/bitmap.c
  * md: Avoid namespace collision with bitmap API
      drivers/md/bitmap.c
    scsi: iscsi: Avoid potential deadlock in iscsi_if_rx func
    iio: buffer: align the size of scan bytes to size of the largest element
  * do_last(): fetch directory ->i_mode and ->i_uid before it's too late
      fs/namei.c
    tracing: xen: Ordered comparison of function pointers
    scsi: RDMA/isert: Fix a recently introduced regression related to logout
    hwmon: (nct7802) Fix voltage limits to wrong registers
    Input: aiptek - fix endpoint sanity check
    Input: gtco - fix endpoint sanity check
    Input: sur40 - fix interface sanity checks
    mmc: sdhci: fix minimum clock rate for v3 controller
    ARM: 8950/1: ftrace/recordmcount: filter relocation types
    Input: keyspan-remote - fix control-message timeouts
    hwmon: (adt7475) Make volt2reg return same reg as reg2volt input
    net: usb: lan78xx: Add .ndo_features_check
  * net_sched: fix datalen for ematch
      net/sched/ematch.c
  * net, ip_tunnel: fix namespaces move
      net/ipv4/ip_tunnel.c
    net: cxgb3_main: Add CAP_NET_ADMIN check to CHELSIO_GET_MEM
    firestream: fix memory leaks
    can, slip: Protect tty->disc_data in write_wakeup and close with RCU
    m68k: Call timer_interrupt() with interrupts disabled
    arm64: dts: juno: Fix UART frequency
    drm/radeon: fix bad DMA from INTERRUPT_CNTL2
    dmaengine: ti: edma: fix missed failure handling
  * packet: fix data-race in fanout_flow_is_huge()
      net/packet/af_packet.c
  * net: neigh: use long type to store jiffies delta
      net/core/neighbour.c
    MIPS: Loongson: Fix return value of loongson_hwmon_init
    media: ov6650: Fix .get_fmt() V4L2_SUBDEV_FORMAT_TRY support
    media: ov6650: Fix some format attributes not under control
    media: ov6650: Fix incorrect use of JPEG colorspace
    net: qca_spi: Move reset_count to struct qcaspi
    dmaengine: imx-sdma: fix size check for sdma script_number
    drm/msm/dsi: Implement reset correctly
    net: stmmac: fix length of PTP clock's name string
    llc: fix sk_buff refcounting in llc_conn_state_process()
    llc: fix another potential sk_buff leak in llc_ui_sendmsg()
    mac80211: accept deauth frames in IBSS mode
    net: ethernet: stmmac: Fix signedness bug in ipq806x_gmac_of_parse()
    net: broadcom/bcmsysport: Fix signedness in bcm_sysport_probe()
    net: hisilicon: Fix signedness bug in hix5hd2_dev_probe()
    iommu/amd: Wait for completion of IOTLB flush in attach_device
    net/rds: Fix 'ib_evt_handler_call' element in 'rds_ib_stat_names'
    net: sonic: replace dev_kfree_skb in sonic_send_packet
    hwmon: (shtc1) fix shtc1 and shtw1 id mask
    Btrfs: fix hang when loading existing inode cache off disk
    net: sonic: return NETDEV_TX_OK if failed to map buffer
    ath9k: dynack: fix possible deadlock in ath_dynack_node_{de}init
    iio: dac: ad5380: fix incorrect assignment to val
    bcma: fix incorrect update of BCMA_CORE_PCI_MDIO_DATA
    x86, perf: Fix the dependency of the x86 insn decoder selftest
  * power: supply: Init device wakeup after device_add()
      drivers/power/power_supply_core.c
  * Partially revert "kfifo: fix kfifo_alloc() and kfifo_init()"
      lib/kfifo.c
    ahci: Do not export local variable ahci_em_messages
    mips: avoid explicit UB in assignment of mips_io_port_base
    mac80211: minstrel_ht: fix per-group max throughput rate initialization
    dmaengine: dw: platform: Switch to acpi_dma_controller_register()
  * signal: Allow cifs and drbd to receive their terminating signals
      include/linux/signal.h
      kernel/signal.c
    ASoC: wm8737: Fix copy-paste error in wm8737_snd_controls
    ASoC: cs4349: Use PM ops 'cs4349_runtime_pm'
    ASoC: es8328: Fix copy-paste error in es8328_right_line_controls
  * ext4: set error return correctly when ext4_htree_store_dirent fails
      fs/ext4/inline.c
    crypto: caam - free resources in case caam_rng registration failed
    cifs: fix rmmod regression in cifs.ko caused by force_sig changes
    ALSA: aoa: onyx: always initialize register read value
    x86/kgbd: Use NMI_VECTOR not APIC_DM_NMI
    mic: avoid statically declaring a 'struct device'.
  * usb: host: xhci-hub: fix extra endianness conversion
      drivers/usb/host/xhci-hub.c
    libertas_tf: Use correct channel range in lbtf_geo_init
    scsi: libfc: fix null pointer dereference on a null lport
    net: pasemi: fix an use-after-free in pasemi_mac_phy_init()
  * devres: allow const resource arguments
      include/linux/device.h
      lib/devres.c
    mfd: intel-lpss: Release IDA resources
    iommu/amd: Make iommu_disable safer
    drm/msm/a3xx: remove TPL1 regs from snapshot
    rtc: pcf8563: Clear event flags and disable interrupts before requesting irq
    ASoC: ti: davinci-mcasp: Fix slot mask settings when using multiple AXRs
    net/af_iucv: always register net_device notifier
    drm/msm/mdp5: Fix mdp5_cfg_init error return
    powerpc/cacheinfo: add cacheinfo_teardown, cacheinfo_rebuild
    media: vivid: fix incorrect assignment operation when setting video mode
  * inet: frags: call inet_frags_fini() after unregister_pernet_subsys()
      net/ipv6/reassembly.c
    signal/cifs: Fix cifs_put_tcp_session to call send_sig instead of force_sig
  * iommu: Use right function to get group for device
      drivers/iommu/iommu.c
    misc: sgi-xp: Properly initialize buf in xpc_get_rsvd_page_pa
    spi: spi-fsl-spi: call spi_finalize_current_message() at the end
  * thermal: cpu_cooling: Actually trace CPU load in thermal_power_cpu_get_power
      drivers/thermal/cpu_cooling.c
    backlight: lm3630a: Return 0 on success in update_status functions
    kdb: do a sanity check on the cpu in kdb_per_cpu()
    ARM: riscpc: fix lack of keyboard interrupts after irq conversion
  * netfilter: ebtables: CONFIG_COMPAT: reject trailing data after last rule
      net/bridge/netfilter/ebtables.c
    platform/x86: alienware-wmi: printing the wrong error code
    media: davinci/vpbe: array underflow in vpbe_enum_outputs()
    media: omap_vout: potential buffer overflow in vidioc_dqbuf()
    iommu/vt-d: Make kernel parameter igfx_off work with vIOMMU
    IB/mlx5: Add missing XRC options to QP optional params mask
  * ASoC: fix valid stream condition
      sound/soc/soc-pcm.c
  * packet: in recvmsg msg_name return at least sizeof sockaddr_ll
      net/packet/af_packet.c
  * ALSA: usb-audio: Handle the error from snd_usb_mixer_apply_create_quirk()
      sound/usb/mixer.c
    dmaengine: axi-dmac: Don't check the number of frames for alignment
    6lowpan: Off by one handling ->nexthdr
    media: ov2659: fix unbalanced mutex_lock/unlock
    powerpc: vdso: Make vdso32 installation conditional in vdso_install
    tipc: set sysctl_tipc_rmem and named_timeout right range
    hwmon: (w83627hf) Use request_muxed_region for Super-IO accesses
    ARM: pxa: ssp: Fix "WARNING: invalid free of devm_ allocated data"
    scsi: qla2xxx: Unregister chrdev if module initialization fails
    ehea: Fix a copy-paste err in ehea_init_port_res
    spi: bcm2835aux: fix driver to not allow 65535 (=-1) cs-gpios
    soc/fsl/qe: Fix an error code in qe_pin_request()
    spi: tegra114: fix for unpacked mode transfers
    spi: tegra114: clear packed bit for unpacked mode
    media: davinci-isif: avoid uninitialized variable use
    ARM: OMAP2+: Fix potentially uninitialized return value for _setup_reset()
    m68k: mac: Fix VIA timer counter accesses
    jfs: fix bogus variable self-initialization
    media: cx23885: check allocation return
    media: wl128x: Fix an error code in fm_download_firmware()
    media: cx18: update *pos correctly in cx18_read_pos()
    media: ivtv: update *pos correctly in ivtv_read_pos()
    net: sh_eth: fix a missing check of of_get_phy_mode
    xen, cpu_hotplug: Prevent an out of bounds access
    scsi: megaraid_sas: reduce module load time
    nios2: ksyms: Add missing symbol exports
    regulator: wm831x-dcdc: Fix list of wm831x_dcdc_ilim from mA to uA
    ARM: 8847/1: pm: fix HYP/SVC mode mismatch when MCPM is used
    clocksource/drivers/sun5i: Fail gracefully when clock rate is unavailable
    fs/nfs: Fix nfs_parse_devname to not modify it's argument
    ASoC: qcom: Fix of-node refcount unbalance in apq8016_sbc_parse_of()
    drm/nouveau/pmu: don't print reply values if exec is false
    drm/nouveau/bios/ramcfg: fix missing parentheses when calculating RON
    cdc-wdm: pass return value of recover_from_urb_loss
    vfio_pci: Enable memory accesses before calling pci_map_rom
  * block: don't use bio->bi_vcnt to figure out segment number
      block/blk-merge.c
    pinctrl: sh-pfc: sh73a0: Fix fsic_spdif pin groups
    pinctrl: sh-pfc: r8a7791: Fix scifb2_data_c pin group
    pinctrl: sh-pfc: emev2: Add missing pinmux functions
    fbdev: chipsfb: remove set but not used variable 'size'
    rtc: pm8xxx: fix unintended sign extension
    rtc: 88pm80x: fix unintended sign extension
    rtc: 88pm860x: fix unintended sign extension
    rtc: ds1672: fix unintended sign extension
    tty: ipwireless: Fix potential NULL pointer dereference
    rtc: cmos: ignore bogus century byte
    ASoC: imx-sgtl5000: put of nodes if finding codec fails
    crypto: tgr192 - fix unaligned memory access
    media: s5p-jpeg: Correct step and max values for V4L2_CID_JPEG_RESTART_INTERVAL
    RDMA/ocrdma: Fix out of bounds index check in query pkey
    IB/usnic: Fix out of bounds index check in query pkey
    clk: armada-xp: fix refcount leak in axp_clk_init()
    clk: kirkwood: fix refcount leak in kirkwood_clk_init()
    clk: armada-370: fix refcount leak in a370_clk_init()
    clk: vf610: fix refcount leak in vf610_clocks_init()
    clk: imx7d: fix refcount leak in imx7d_clocks_init()
    clk: imx6sx: fix refcount leak in imx6sx_clocks_init()
    clk: imx6q: fix refcount leak in imx6q_clocks_init()
    clk: samsung: exynos4: fix refcount leak in exynos4_get_xom()
    clk: socfpga: fix refcount leak
    clk: qoriq: fix refcount leak in clockgen_init()
    clk: highbank: fix refcount leak in hb_clk_init()
    Input: nomadik-ske-keypad - fix a loop timeout test
    pinctrl: sh-pfc: sh7734: Remove bogus IPSR10 value
    pinctrl: sh-pfc: sh7269: Add missing PCIOR0 field
    pinctrl: sh-pfc: sh7734: Add missing IPSR11 field
    pinctrl: sh-pfc: r8a7794: Remove bogus IPSR9 field
    pinctrl: sh-pfc: sh73a0: Add missing TO pin to tpu4_to3 group
    pinctrl: sh-pfc: r8a7791: Remove bogus marks from vin1_b_data18 group
    pinctrl: sh-pfc: r8a7791: Remove bogus ctrl marks from qspi_data4_b group
    pinctrl: sh-pfc: r8a7740: Add missing LCD0 marks to lcd0_data24_1 group
    pinctrl: sh-pfc: r8a7740: Add missing REF125CK pin to gether_gmii group
    drm/dp_mst: Skip validating ports during destruction, just ref
    exportfs: fix 'passing zero to ERR_PTR()' warning
    pcrypt: use format specifier in kobject_add
    staging: comedi: ni_mio_common: protect register write overflow
  * ALSA: usb-audio: update quirk for B&W PX to remove microphone
      sound/usb/quirks-table.h
    ALSA: hda: fix unused variable warning
    drm/virtio: fix bounds check in virtio_gpu_cmd_get_capset()
    mt7601u: fix bbp version check in mt7601u_wait_bbp_ready
    powerpc/archrandom: fix arch_get_random_seed_int()
    xfs: Sanity check flags of Q_XQUOTARM call
Linux 4.4.211
    regulator: ab8500: Remove SYSCLKREQ from enum ab8505_regulator_id
    perf probe: Fix wrong address verification
  * scsi: core: scsi_trace: Use get_unaligned_be*()
      drivers/scsi/scsi_trace.c
    scsi: target: core: Fix a pr_debug() argument
    scsi: bnx2i: fix potential use after free
    scsi: qla4xxx: fix double free bug
    scsi: esas2r: unlock on error in esas2r_nvram_read_direct()
  * cfg80211: check for set_wiphy_params
      net/wireless/rdev-ops.h
    cw1200: Fix a signedness bug in cw1200_load_firmware()
    xen/blkfront: Adjust indentation in xlvbd_alloc_gendisk
    net: usb: lan78xx: limit size of local TSO packets
  * tcp: fix marked lost packets not being retransmitted
      net/ipv4/tcp_input.c
  * r8152: add missing endpoint sanity check
      drivers/net/usb/r8152.c
    macvlan: use skb_reset_mac_header() in macvlan_queue_xmit()
    batman-adv: Fix DAT candidate selection on little endian systems
    netfilter: fix a use-after-free in mtype_destroy()
    arm64: dts: agilex/stratix10: fix pmu interrupt numbers
    scsi: fnic: fix invalid stack access
    scsi: fnic: use kernel's '%pM' format option to print MAC
    USB: serial: keyspan: handle unbound ports
    USB: serial: io_edgeport: handle unbound ports on URB completion
    USB: serial: io_edgeport: use irqsave() in USB's complete callback
    net: stmmac: Enable 16KB buffer size
    net: stmmac: 16KB buffer must be 16 byte aligned
  * mm/page-writeback.c: avoid potential division by zero in wb_min_max_ratio()
      mm/page-writeback.c
    x86/efistub: Disable paging at mixed mode entry
  * usb: core: hub: Improved device recognition on remote wakeup
      drivers/usb/core/hub.c
    scsi: mptfusion: Fix double fetch bug in ioctl
    USB: serial: quatech2: handle unbound ports
    USB: serial: io_edgeport: add missing active-port sanity check
    USB: serial: ch341: handle unbound port at reset_resume
    USB: serial: suppress driver bind attributes
    USB: serial: opticon: fix control-message timeouts
    USB: serial: simple: Add Motorola Solutions TETRA MTP3xxx and MTP85xx
  * block: fix an integer overflow in logical block size
      block/blk-settings.c
      include/linux/blkdev.h
  * Fix built-in early-load Intel microcode alignment
      firmware/Makefile
    ALSA: seq: Fix racy access for queue timer in proc read
    ocfs2: call journal flush to mark journal as empty after journal recovery when mount
    hexagon: work around compiler crash
    rseq/selftests: Turn off timeout setting
    rtc: msm6242: Fix reading of 10-hour digit
    rtlwifi: Remove unnecessary NULL check in rtl_regd_init
    spi: atmel: fix handling of cs_change set on non-last xfer
    media: exynos4-is: Fix recursive locking in isp_video_release()
    tty: serial: pch_uart: correct usage of dma_unmap_sg
    tty: serial: imx: use the sg count from dma_map_sg
  * compat_ioctl: handle SIOCOUTQNSD
      net/socket.c
    clk: samsung: exynos5420: Preserve CPU clocks configuration during suspend/resume
    mei: fix modalias documentation
    iio: imu: adis16480: assign bias value only if operation succeeded
    platform/x86: asus-wmi: Fix keyboard brightness cannot be set to 0
  * scsi: sd: Clear sdkp->protection_type if disk is reformatted without PI
      drivers/scsi/sd.c
    scsi: enclosure: Fix stale device oops with hot replug
    RDMA/srpt: Report the SCSI residual to the initiator
    cifs: Adjust indentation in smb2_open_file
    hsr: reset network header when supervision frame is created
  * gpio: Fix error message on out-of-range GPIO in lookup table
      drivers/gpio/gpiolib.c
  * iommu: Remove device link to group on failure
      drivers/iommu/iommu.c
    rtc: mt6397: fix alarm register overwrite
    dccp: Fix memleak in __feat_register_sp
  * ext4: add more paranoia checking in ext4_expand_extra_isize handling
      fs/ext4/inode.c
      fs/ext4/super.c
  * ext4: fix use-after-free race with debug_want_extra_isize
      fs/ext4/super.c
    wimax: i2400: Fix memory leak in i2400m_op_rfkill_sw_toggle
    wimax: i2400: fix memory leak
    xen: let alloc_xenballooned_pages() fail if not enough memory free
  * mm/page_alloc.c: calculate 'available' memory in a separate function
      fs/proc/meminfo.c
      include/linux/mm.h
      mm/page_alloc.c
    ALSA: line6: Fix memory leak at line6_init_pcm() error path
    ALSA: line6: Fix write on zero-sized buffer
    p54usb: Fix race between disconnect and firmware loading
    media: usb:zr364xx:Fix KASAN:null-ptr-deref Read in zr364xx_vidioc_querycap
    mac80211: Do not send Layer 2 Update frame before authorization
  * cfg80211/mac80211: make ieee80211_send_layer2_update a public function
      include/net/cfg80211.h
      net/wireless/util.c
    rsi: add fix for crash during assertions
  * HID: hidraw, uhid: Always report EPOLLOUT
      drivers/hid/hidraw.c
      drivers/hid/uhid.c
  * HID: hidraw: Fix returning EPOLLOUT from hidraw_poll
      drivers/hid/hidraw.c
  * hidraw: Return EPOLLOUT from hidraw_poll
      drivers/hid/hidraw.c

Change-Id: I4e2a28e048faff24238ce5a56af2303790a9bdf3
Signed-off-by: lucaswei <lucaswei@google.com>
2020-04-24 18:27:45 +08:00
Nathan Chancellor
728bce2243 Merge 4.4.218 into android-msm-wahoo-4.4
Changes in 4.4.218: (92 commits)
        spi: qup: call spi_qup_pm_resume_runtime before suspending
        powerpc: Include .BTF section
        ARM: dts: dra7: Add "dma-ranges" property to PCIe RC DT nodes
        spi/zynqmp: remove entry that causes a cs glitch
        drm/exynos: dsi: propagate error value and silence meaningless warning
        drm/exynos: dsi: fix workaround for the legacy clock name
        altera-stapl: altera_get_note: prevent write beyond end of 'key'
        USB: Disable LPM on WD19's Realtek Hub
        usb: quirks: add NO_LPM quirk for RTL8153 based ethernet adapters
        USB: serial: option: add ME910G1 ECM composition 0x110b
        usb: host: xhci-plat: add a shutdown
        USB: serial: pl2303: add device-id for HP LD381
        ALSA: line6: Fix endless MIDI read loop
        ALSA: seq: virmidi: Fix running status after receiving sysex
        ALSA: seq: oss: Fix running status after receiving sysex
        ALSA: pcm: oss: Avoid plugin buffer overflow
        ALSA: pcm: oss: Remove WARNING from snd_pcm_plug_alloc() checks
        staging: rtl8188eu: Add device id for MERCUSYS MW150US v2
        staging/speakup: fix get_word non-space look-ahead
        intel_th: Fix user-visible error codes
        rtc: max8907: add missing select REGMAP_IRQ
        memcg: fix NULL pointer dereference in __mem_cgroup_usage_unregister_event
        mm: slub: be more careful about the double cmpxchg of freelist
        mm, slub: prevent kmalloc_node crashes and memory leaks
        x86/mm: split vmalloc_sync_all()
        USB: cdc-acm: fix close_delay and closing_wait units in TIOCSSERIAL
        USB: cdc-acm: fix rounding error in TIOCSSERIAL
        kbuild: Disable -Wpointer-to-enum-cast
        futex: Fix inode life-time issue
        futex: Unbreak futex hashing
        ALSA: hda/realtek: Fix pop noise on ALC225
        arm64: smp: fix smp_send_stop() behaviour
        Revert "drm/dp_mst: Skip validating ports during destruction, just ref"
        hsr: fix general protection fault in hsr_addr_is_self()
        net: dsa: Fix duplicate frames flooded by learning
        net_sched: cls_route: remove the right filter from hashtable
        net_sched: keep alloc_hash updated after hash allocation
        NFC: fdp: Fix a signedness bug in fdp_nci_send_patch()
        slcan: not call free_netdev before rtnl_unlock in slcan_open
        vxlan: check return value of gro_cells_init()
        hsr: use rcu_read_lock() in hsr_get_node_{list/status}()
        hsr: add restart routine into hsr_get_node_list()
        hsr: set .netnsok flag
        vhost: Check docket sk_family instead of call getname
        IB/ipoib: Do not warn if IPoIB debugfs doesn't exist
        uapi glibc compat: fix outer guard of net device flags enum
        KVM: VMX: Do not allow reexecute_instruction() when skipping MMIO instr
        drivers/hwspinlock: use correct radix tree API
        net: ipv4: don't let PMTU updates increase route MTU
        cpupower: avoid multiple definition with gcc -fno-common
        dt-bindings: net: FMan erratum A050385
        scsi: ipr: Fix softlockup when rescanning devices in petitboot
        mac80211: Do not send mesh HWMP PREQ if HWMP is disabled
        sxgbe: Fix off by one in samsung driver strncpy size arg
        i2c: hix5hd2: add missed clk_disable_unprepare in remove
        perf probe: Do not depend on dwfl_module_addrsym()
        scripts/dtc: Remove redundant YYLOC global declaration
        scsi: sd: Fix optimal I/O size for devices that change reported values
        mac80211: mark station unauthorized before key removal
        genirq: Fix reference leaks on irq affinity notifiers
        vti[6]: fix packet tx through bpf_redirect() in XinY cases
        xfrm: fix uctx len check in verify_sec_ctx_len
        xfrm: add the missing verify_sec_ctx_len check in xfrm_add_acquire
        xfrm: policy: Fix doulbe free in xfrm_policy_timer
        vti6: Fix memory leak of skb if input policy check fails
        tools: Let O= makes handle a relative path with -C option
        USB: serial: option: add support for ASKEY WWHC050
        USB: serial: option: add BroadMobi BM806U
        USB: serial: option: add Wistron Neweb D19Q1
        USB: cdc-acm: restore capability check order
        USB: serial: io_edgeport: fix slab-out-of-bounds read in edge_interrupt_callback
        usb: musb: fix crash with highmen PIO and usbmon
        media: flexcop-usb: fix endpoint sanity check
        media: usbtv: fix control-message timeouts
        staging: rtl8188eu: Add ASUS USB-N10 Nano B1 to device table
        staging: wlan-ng: fix use-after-free Read in hfa384x_usbin_callback
        libfs: fix infoleak in simple_attr_read()
        media: ov519: add missing endpoint sanity checks
        media: dib0700: fix rc endpoint lookup
        media: stv06xx: add missing descriptor sanity checks
        media: xirlink_cit: add missing descriptor sanity checks
        vt: selection, introduce vc_is_sel
        vt: ioctl, switch VT_IS_IN_USE and VT_BUSY to inlines
        vt: switch vt_dont_switch to bool
        vt: vt_ioctl: remove unnecessary console allocation checks
        vt: vt_ioctl: fix VT_DISALLOCATE freeing in-use virtual console
        locking/atomic, kref: Add kref_read()
        vt: vt_ioctl: fix use-after-free in vt_in_use()
        bpf: Explicitly memset the bpf_attr structure
        net: ks8851-ml: Fix IO operations, again
        perf map: Fix off by one in strncpy() size argument
        Linux 4.4.218

Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>

Conflicts:
	arch/arm64/kernel/smp.c
	drivers/scsi/sd.c
2020-04-02 11:27:31 -07:00
Dirk Mueller
ce513359d8 scripts/dtc: Remove redundant YYLOC global declaration
commit e33a814e772cdc36436c8c188d8c42d019fda639 upstream.

gcc 10 will default to -fno-common, which causes this error at link
time:

  (.text+0x0): multiple definition of `yylloc'; dtc-lexer.lex.o (symbol from plugin):(.text+0x0): first defined here

This is because both dtc-lexer as well as dtc-parser define the same
global symbol yyloc. Before with -fcommon those were merged into one
defintion. The proper solution would be to to mark this as "extern",
however that leads to:

  dtc-lexer.l:26:16: error: redundant redeclaration of 'yylloc' [-Werror=redundant-decls]
   26 | extern YYLTYPE yylloc;
      |                ^~~~~~
In file included from dtc-lexer.l:24:
dtc-parser.tab.h:127:16: note: previous declaration of 'yylloc' was here
  127 | extern YYLTYPE yylloc;
      |                ^~~~~~
cc1: all warnings being treated as errors

which means the declaration is completely redundant and can just be
dropped.

Signed-off-by: Dirk Mueller <dmueller@suse.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
[robh: cherry-pick from upstream]
Cc: stable@vger.kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>
[nc: Also apply to dtc-lexer.lex.c_shipped due to a lack of
     e039139be8c2, where dtc-lexer.l started being used]
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-04-02 19:02:36 +02:00
Nathan Chancellor
69b28a540f kbuild: Disable -Wpointer-to-enum-cast
commit 82f2bc2fcc0160d6f82dd1ac64518ae0a4dd183f upstream.

Clang's -Wpointer-to-int-cast deviates from GCC in that it warns when
casting to enums. The kernel does this in certain places, such as device
tree matches to set the version of the device being used, which allows
the kernel to avoid using a gigantic union.

https://elixir.bootlin.com/linux/v5.5.8/source/drivers/ata/ahci_brcm.c#L428
https://elixir.bootlin.com/linux/v5.5.8/source/drivers/ata/ahci_brcm.c#L402
https://elixir.bootlin.com/linux/v5.5.8/source/include/linux/mod_devicetable.h#L264

To avoid a ton of false positive warnings, disable this particular part
of the warning, which has been split off into a separate diagnostic so
that the entire warning does not need to be turned off for clang. It
will be visible under W=1 in case people want to go about fixing these
easily and enabling the warning treewide.

Cc: stable@vger.kernel.org
Link: https://github.com/ClangBuiltLinux/linux/issues/887
Link: 2a41b31fcd
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-04-02 19:02:31 +02:00
Nathan Chancellor
83ee7ecb56 Merge 4.4.215 into android-msm-wahoo-4.4
Changes in 4.4.215: (114 commits)
        x86/vdso: Use RDPID in preference to LSL when available
        KVM: x86: emulate RDPID
        ALSA: hda: Use scnprintf() for printing texts for sysfs/procfs
        ecryptfs: fix a memory leak bug in parse_tag_1_packet()
        ecryptfs: fix a memory leak bug in ecryptfs_init_messaging()
        ALSA: usb-audio: Apply sample rate quirk for Audioengine D1
        ubifs: Fix deadlock in concurrent bulk-read and writepage
        ext4: fix checksum errors with indexed dirs
        Btrfs: fix race between using extent maps and merging them
        btrfs: log message when rw remount is attempted with unclean tree-log
        padata: Remove broken queue flushing
        s390/time: Fix clk type in get_tod_clock
        hwmon: (pmbus/ltc2978) Fix PMBus polling of MFR_COMMON definitions.
        jbd2: move the clearing of b_modified flag to the journal_unmap_buffer()
        jbd2: do not clear the BH_Mapped flag when forgetting a metadata buffer
        btrfs: print message when tree-log replay starts
        scsi: qla2xxx: fix a potential NULL pointer dereference
        Revert "KVM: VMX: Add non-canonical check on writes to RTIT address MSRs"
        drm/gma500: Fixup fbdev stolen size usage evaluation
        brcmfmac: Fix use after free in brcmf_sdio_readframes()
        gianfar: Fix TX timestamping with a stacked DSA driver
        pinctrl: sh-pfc: sh7264: Fix CAN function GPIOs
        media: i2c: mt9v032: fix enum mbus codes and frame sizes
        media: sti: bdisp: fix a possible sleep-in-atomic-context bug in bdisp_device_run()
        efi/x86: Map the entire EFI vendor string before copying it
        MIPS: Loongson: Fix potential NULL dereference in loongson3_platform_init()
        uio: fix a sleep-in-atomic-context bug in uio_dmem_genirq_irqcontrol()
        usb: gadget: udc: fix possible sleep-in-atomic-context bugs in gr_probe()
        nfs: NFS_SWAP should depend on SWAP
        jbd2: clear JBD2_ABORT flag before journal_reset to update log tail info when load journal
        tracing: Fix very unlikely race of registering two stat tracers
        ext4, jbd2: ensure panic when aborting with zero errno
        kconfig: fix broken dependency in randconfig-generated .config
        clk: qcom: rcg2: Don't crash if our parent can't be found; return an error
        drm/amdgpu: remove 4 set but not used variable in amdgpu_atombios_get_connector_info_from_object_table
        regulator: rk808: Lower log level on optional GPIOs being not available
        NFC: port100: Convert cpu_to_le16(le16_to_cpu(E1) + E2) to use le16_add_cpu().
        reiserfs: Fix spurious unlock in reiserfs_fill_super() error handling
        ALSA: usx2y: Adjust indentation in snd_usX2Y_hwdep_dsp_status
        b43legacy: Fix -Wcast-function-type
        ipw2x00: Fix -Wcast-function-type
        iwlegacy: Fix -Wcast-function-type
        rtlwifi: rtl_pci: Fix -Wcast-function-type
        orinoco: avoid assertion in case of NULL pointer
        ACPICA: Disassembler: create buffer fields in ACPI_PARSE_LOAD_PASS1
        scsi: aic7xxx: Adjust indentation in ahc_find_syncrate
        ARM: dts: r8a7779: Add device node for ARM global timer
        x86/vdso: Provide missing include file
        pinctrl: sh-pfc: sh7269: Fix CAN function GPIOs
        ALSA: sh: Fix compile warning wrt const
        tools lib api fs: Fix gcc9 stringop-truncation compilation error
        usbip: Fix unsafe unaligned pointer usage
        soc/tegra: fuse: Correct straps' address for older Tegra124 device trees
        rcu: Use WRITE_ONCE() for assignments to ->pprev for hlist_nulls
        Input: edt-ft5x06 - work around first register access error
        wan: ixp4xx_hss: fix compile-testing on 64-bit
        ASoC: atmel: fix build error with CONFIG_SND_ATMEL_SOC_DMA=m
        PCI: Don't disable bridge BARs when assigning bus resources
        driver core: Print device when resources present in really_probe()
        drm/nouveau: Fix copy-paste error in nouveau_fence_wait_uevent_handler
        drm/vmwgfx: prevent memory leak in vmw_cmdbuf_res_add
        iommu/arm-smmu-v3: Use WRITE_ONCE() when changing validity of an STE
        scsi: iscsi: Don't destroy session if there are outstanding connections
        cmd64x: potential buffer overflow in cmd64x_program_timings()
        ide: serverworks: potential overflow in svwks_set_pio_mode()
        remoteproc: Initialize rproc_class before use
        s390/ftrace: generate traced function stack frame
        ALSA: hda - Add docking station support for Lenovo Thinkpad T420s
        jbd2: switch to use jbd2_journal_abort() when failed to submit the commit record
        ARM: 8951/1: Fix Kexec compilation issue.
        hostap: Adjust indentation in prism2_hostapd_add_sta
        iwlegacy: ensure loop counter addr does not wrap and cause an infinite loop
        drm/nouveau/disp/nv50-: prevent oops when no channel method map provided
        trigger_next should increase position index
        radeon: insert 10ms sleep in dce5_crtc_load_lut
        ocfs2: fix a NULL pointer dereference when call ocfs2_update_inode_fsync_trans()
        lib/scatterlist.c: adjust indentation in __sg_alloc_table
        reiserfs: prevent NULL pointer dereference in reiserfs_insert_item()
        bcache: explicity type cast in bset_bkey_last()
        irqchip/gic-v3-its: Reference to its_invall_cmd descriptor when building INVALL
        microblaze: Prevent the overflow of the start
        brd: check and limit max_part par
        selinux: ensure we cleanup the internal AVC counters on error in avc_update()
        enic: prevent waking up stopped tx queues over watchdog reset
        floppy: check FDC index for errors before assigning it
        staging: android: ashmem: Disallow ashmem memory from being remapped
        staging: vt6656: fix sign of rx_dbm to bb_pre_ed_rssi.
        usb: uas: fix a plug & unplug racing
        USB: Fix novation SourceControl XL after suspend
        USB: hub: Don't record a connect-change event during reset-resume
        staging: rtl8188eu: Fix potential security hole
        staging: rtl8188eu: Fix potential overuse of kernel memory
        x86/mce/amd: Fix kobject lifetime
        tty: serial: imx: setup the correct sg entry for tx dma
        Revert "ipc,sem: remove uneeded sem_undo_list lock usage in exit_sem()"
        xhci: apply XHCI_PME_STUCK_QUIRK to Intel Comet Lake platforms
        VT_RESIZEX: get rid of field-by-field copyin
        vt: vt_ioctl: fix race in VT_RESIZEX
        KVM: nVMX: Don't emulate instructions in guest mode
        netfilter: xt_bpf: add overflow checks
        ext4: fix a data race in EXT4_I(inode)->i_disksize
        ext4: add cond_resched() to __ext4_find_entry()
        KVM: nVMX: Refactor IO bitmap checks into helper function
        KVM: nVMX: Check IO instruction VM-exit conditions
        KVM: apic: avoid calculating pending eoi from an uninitialized val
        Btrfs: fix btrfs_wait_ordered_range() so that it waits for all ordered extents
        scsi: Revert "RDMA/isert: Fix a recently introduced regression related to logout"
        scsi: Revert "target: iscsi: Wait for all commands to finish before freeing a session"
        ecryptfs: replace BUG_ON with error handling code
        ALSA: rawmidi: Avoid bit fields for state flags
        ALSA: seq: Avoid concurrent access to queue flags
        ALSA: seq: Fix concurrent access to queue current tick/time
        xen: Enable interrupts when calling _cond_resched()
        Linux 4.4.215

Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>

Conflicts:
	drivers/usb/core/quirks.c
2020-03-02 20:27:15 -07:00
Masahiro Yamada
cc37c79839 kconfig: fix broken dependency in randconfig-generated .config
[ Upstream commit c8fb7d7e48d11520ad24808cfce7afb7b9c9f798 ]

Running randconfig on arm64 using KCONFIG_SEED=0x40C5E904 (e.g. on v5.5)
produces the .config with CONFIG_EFI=y and CONFIG_CPU_BIG_ENDIAN=y,
which does not meet the !CONFIG_CPU_BIG_ENDIAN dependency.

This is because the user choice for CONFIG_CPU_LITTLE_ENDIAN vs
CONFIG_CPU_BIG_ENDIAN is set by randomize_choice_values() after the
value of CONFIG_EFI is calculated.

When this happens, the has_changed flag should be set.

Currently, it takes the result from the last iteration. It should
accumulate all the results of the loop.

Fixes: 3b9a19e089 ("kconfig: loop as long as we changed some symbols in randconfig")
Reported-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-02-28 15:38:56 +01:00
lucaswei
64c0256540 Merge upstream-linux-4.4.y (4.4.210) into android-msm-wahoo-4.4-lts
Linux 4.4.210
    drm/i915/gen9: Clear residual context state on context switch
    netfilter: ipset: avoid null deref when IPSET_ATTR_LINENO is present
  * netfilter: arp_tables: init netns pointer in xt_tgchk_param struct
      net/ipv4/netfilter/arp_tables.c
  * USB: Fix: Don't skip endpoint descriptors with maxpacket=0
      drivers/usb/core/config.c
    rtl8xxxu: prevent leaking urb
    scsi: bfa: release allocated memory in case of error
    mwifiex: pcie: Fix memory leak in mwifiex_pcie_alloc_cmdrsp_buf
    mwifiex: fix possible heap overflow in mwifiex_process_country_ie()
  * tty: always relink the port
      drivers/tty/tty_port.c
  * tty: link tty and port before configuring it as console
      drivers/tty/serial/serial_core.c
      drivers/tty/tty_port.c
    staging: rtl8188eu: Add device code for TP-Link TL-WN727N v5.21
    usb: musb: dma: Correct parameter passed to IRQ handler
    usb: musb: Disable pullup at init
    USB: serial: option: add ZLP support for 0x1bc7/0x9010
    staging: vt6656: set usb_set_intfdata on driver fail.
    can: can_dropped_invalid_skb(): ensure an initialized headroom in outgoing CAN sk_buffs
    can: mscan: mscan_rx_poll(): fix rx path lockup when returning from polling to irq mode
    can: gs_usb: gs_usb_probe(): use descriptors of current altsetting
    drm/dp_mst: correct the shifting in DP_REMOTE_I2C_READ
  * Input: add safety guards to input_set_keycode()
      drivers/input/input.c
  * HID: hid-input: clear unmapped usages
      drivers/hid/hid-input.c
  * HID: uhid: Fix returning EPOLLOUT from uhid_char_poll
      drivers/hid/uhid.c
  * HID: Fix slab-out-of-bounds read in hid_field_extract
      drivers/hid/hid-core.c
    tracing: Have stack tracer compile when MCOUNT_INSN_SIZE is not defined
    kernel/trace: Fix do not unregister tracepoints when register sched_migrate_task fail
  * ALSA: usb-audio: Apply the sample rate quirk for Bose Companion 5
      sound/usb/quirks.c
    usb: chipidea: host: Disable port power only if previously enabled
  * chardev: Avoid potential use-after-free in 'chrdev_open()'
      fs/char_dev.c
  * kobject: Export kobject_get_unless_zero()
      include/linux/kobject.h
      lib/kobject.c
Linux 4.4.209
    USB: serial: option: add Telit ME910G1 0x110a composition
  * USB: core: fix check for duplicate endpoints
      drivers/usb/core/config.c
  * macvlan: do not assume mac_header is set in macvlan_broadcast()
      include/linux/if_ether.h
    vxlan: fix tos value before xmit
    vlan: fix memory leak in vlan_dev_set_egress_priority
    vlan: vlan_changelink() should propagate errors
  * tcp: fix "old stuff" D-SACK causing SACK to be treated as D-SACK
      net/ipv4/tcp_input.c
    sctp: free cmd->obj.chunk for the unprocessed SCTP_CMD_REPLY
    pkt_sched: fq: do not accept silly TCA_FQ_QUANTUM
    net: usb: lan78xx: fix possible skb leak
    net: stmmac: dwmac-sunxi: Allow all RGMII modes
    llc2: Fix return statement of llc_stat_ev_rx_null_dsap_xid_c (and _test_c)
    parisc: Fix compiler warnings in debug_core.c
  * kconfig: don't crash on NULL expressions in expr_eq()
      scripts/kconfig/expr.c
    regulator: rn5t618: fix module aliases
    ASoC: wm8962: fix lambda value
  * rfkill: Fix incorrect check to avoid NULL pointer dereference
      net/rfkill/core.c
    net: usb: lan78xx: Fix error message format specifier
    bnx2x: Fix logic to get total no. of PFs per engine
    bnx2x: Do not handle requests from VFs after parity
    powerpc: Ensure that swiotlb buffer is allocated from low memory
    ARM: dts: am437x-gp/epos-evm: fix panel compatible
    netfilter: uapi: Avoid undefined left-shift in xt_sctp.h
    ARM: vexpress: Set-up shared OPP table instead of individual for each CPU
  * netfilter: ctnetlink: netns exit must wait for callbacks
      net/netfilter/nf_conntrack_netlink.c
    locking/spinlock/debug: Fix various data races
  * pstore/ram: Write new dumps to start of recycled zones
      fs/pstore/ram.c
    locking/x86: Remove the unused atomic_inc_short() methd
    s390/smp: fix physical to logical CPU map for SMT
  * net: add annotations on hh->hh_len lockless accesses
      include/net/neighbour.h
      net/core/neighbour.c
      net/ethernet/eth.c
    ath9k_htc: Discard undersized packets
    ath9k_htc: Modify byte order for an error message
    powerpc/pseries/hvconsole: Fix stack overread via udbg
    drm/mst: Fix MST sideband up-reply failure handling
  * tty: serial: msm_serial: Fix lockup for sysrq and oops
      drivers/tty/serial/msm_serial.c
  * Bluetooth: delete a stray unlock
      net/bluetooth/l2cap_core.c
    Bluetooth: btusb: fix PM leak in error case of setup
    ftrace: Avoid potential division by zero in function profiler
    ALSA: cs4236: fix error return comparison of an unsigned integer
  * gpiolib: fix up emulated open drain outputs
      drivers/gpio/gpiolib.c
  * compat_ioctl: block: handle Persistent Reservations
      block/compat_ioctl.c
  * dmaengine: Fix access to uninitialized dma_slave_caps
      include/linux/dmaengine.h
  * locks: print unsigned ino in /proc/locks
      fs/locks.c
    MIPS: Avoid VDSO ABI breakage due to global register variable
    ALSA: ice1724: Fix sleep-in-atomic in Infrasonic Quartet support code
    Revert "perf report: Add warning when libunwind not compiled in"
  * taskstats: fix data-race
      kernel/taskstats.c
    xfs: fix mount failure crash on invalid iclog memory access
    xen/balloon: fix ballooned page accounting without hotplug enabled
    s390/cpum_sf: Avoid SBD overflow condition in irq handler
    s390/cpum_sf: Adjust sampling interval to avoid hitting sample limits
    md: raid1: check rdev before reference in raid1_sync_request func
    usb: gadget: fix wrong endpoint desc
    scsi: libsas: stop discovering if oob mode is disconnected
    scsi: iscsi: qla4xxx: fix double free in probe
    scsi: qla2xxx: Don't call qlt_async_event twice
    scsi: lpfc: Fix memory leak on lpfc_bsg_write_ebuf_set func
    RDMA/cma: add missed unregister_pernet_subsys in init failure
  * PM / devfreq: Don't fail devfreq_dev_release if not in list
      drivers/devfreq/devfreq.c
Linux 4.4.208
  * tcp: do not send empty skb from tcp_write_xmit()
      net/ipv4/tcp_output.c
    mmc: sdhci: Update the tuning failed messages to pr_debug level
  * hrtimer: Annotate lockless access to timer->state
      include/linux/hrtimer.h
      kernel/time/hrtimer.c
  * net: icmp: fix data-race in cmp_global_allow()
      net/ipv4/icmp.c
    netfilter: bridge: make sure to pull arp header in br_nf_forward_arp()
    6pack,mkiss: fix possible deadlock
  * netfilter: ebtables: compat: reject all padding in matches/watchers
      net/bridge/netfilter/ebtables.c
    net: davinci_cpdma: use dma_addr_t for DMA address
  * filldir[64]: remove WARN_ON_ONCE() for bad directory entries
      fs/readdir.c
  * Make filldir[64]() verify the directory entry filename is valid
      fs/readdir.c
    ALSA: hda - Downgrade error message for single-cmd fallback
  * kernel: sysctl: make drop_caches write-only
      kernel/sysctl.c
    ocfs2: fix passing zero to 'PTR_ERR' warning
    s390/cpum_sf: Check for SDBT and SDB consistency
  * libfdt: define INT32_MAX and UINT32_MAX in libfdt_env.h
      include/linux/libfdt_env.h
    perf regs: Make perf_reg_name() return "unknown" instead of NULL
    cdrom: respect device capabilities during opening action
  * scripts/kallsyms: fix definitely-lost memory leak
      scripts/kallsyms.c
    gpio: mpc8xxx: Don't overwrite default irq_set_type callback
    scsi: target: iscsi: Wait for all commands to finish before freeing a session
    scsi: pm80xx: Fix for SATA device discovery
  * ext4: work around deleting a file with i_nlink == 0 safely
      fs/ext4/namei.c
  * HID: Improve Windows Precision Touchpad detection.
      drivers/hid/hid-core.c
    bcache: at least try to shrink 1 node in bch_mca_scan()
    clk: pxa: fix one of the pxa RTC clocks
    powerpc/security: Fix wrong message when RFI Flush is disable
    powerpc/pseries/cmm: Implement release() function for sysfs device
  * scsi: ufs: fix potential bug which ends in system hang
      drivers/scsi/ufs/ufshcd.c
    scsi: lpfc: fix: Coverity: lpfc_cmpl_els_rsp(): Null pointer dereferences
  * fs/quota: handle overflows of sysctl fs.quota.* and report as unsigned long
      fs/quota/dquot.c
      include/linux/quota.h
    irqchip: ingenic: Error out if IRQ domain creation failed
    irqchip/irq-bcm7038-l1: Enable parent IRQ if necessary
    clk: qcom: Allow constant ratio freq tables for rcg
    scsi: lpfc: Fix duplicate unreg_rpi error in port offline flow
  * scsi: tracing: Fix handling of TRANSFER LENGTH == 0 for READ(6) and WRITE(6)
      drivers/scsi/scsi_trace.c
  * jbd2: Fix statistics for the number of logged blocks
      fs/jbd2/commit.c
    powerpc/security/book3s64: Report L1TF status in sysfs
    clocksource/drivers/asm9260: Add a check for of_clk_get
    dma-debug: add a schedule point in debug_dma_dump_mappings()
    powerpc/pseries: Mark accumulate_stolen_time() as notrace
    scsi: csiostor: Don't enable IRQs too early
    scsi: lpfc: Fix SLI3 hba in loop mode not discovering devices
    scsi: target: compare full CHAP_A Algorithm strings
    iommu/tegra-smmu: Fix page tables in > 4 GiB memory
    Input: atmel_mxt_ts - disable IRQ across suspend
    scsi: lpfc: Fix locking on mailbox command completion
    scsi: mpt3sas: Fix clear pending bit in ioctl status
    perf probe: Fix to show function entry line as probe-able
    mmc: sdhci-of-esdhc: fix P2020 errata handling
    powerpc/irq: fix stack overflow verification
  * ext4: check for directory entries too close to block end
      fs/ext4/dir.c
    staging: comedi: gsc_hpdi: check dma_alloc_coherent() return value
    platform/x86: hp-wmi: Make buffer for HPWMI_FEATURE2_QUERY 128 bytes
    USB: EHCI: Do not return -EPIPE when hub is disconnected
    usbip: Fix error path of vhci_recv_ret_submit()
  * net: dst: Force 4-byte alignment of dst_metrics
      include/net/dst.h
    sctp: fully initialize v4 addr in some functions
    net: usb: lan78xx: Fix suspend/resume PHY register access error
    net: qlogic: Fix error paths in ql_alloc_large_buffers()
    net: nfc: nci: fix a possible sleep-in-atomic-context bug in nci_uart_tty_receive()
    net: hisilicon: Fix a BUG trigered by wrong bytes_compl
  * mod_devicetable: fix PHY module format
      include/linux/mod_devicetable.h
    fjes: fix missed check in fjes_acpi_add
  * af_packet: set defaule value for tmo
      net/packet/af_packet.c
  * ALSA: pcm: Avoid possible info leaks from PCM stream buffers
      sound/core/pcm_native.c
    Btrfs: fix removal logic of the tree mod log that leads to use-after-free issues
    btrfs: abort transaction after failed inode updates in create_subvol
    btrfs: return error pointer from alloc_test_extent_buffer
    btrfs: do not call synchronize_srcu() in inode_tree_del
  * usb: xhci: Fix build warning seen with CONFIG_PM=n
      drivers/usb/host/xhci-pci.c
    Revert "mmc: sdhci: Fix incorrect switch to HS mode"
  * net: phy: initialise phydev speed and duplex sanely
      drivers/net/phy/phy_device.c
    libtraceevent: Fix memory leakage in copy_filter_type
    crypto: vmx - Avoid weird build failures
    crypto: sun4i-ss - Fix 64-bit size_t warnings on sun4i-ss-hash.c
    fbtft: Make sure string is NULL terminated
    iwlwifi: check kasprintf() return value
    btrfs: don't prematurely free work in end_workqueue_fn()
    spi: tegra20-slink: add missed clk_unprepare
    x86/crash: Add a forward declaration of struct kimage
  * cpufreq: Register drivers only after CPU devices have been registered
      drivers/cpufreq/cpufreq.c
    parport: load lowlevel driver if ports not found
    ASoC: rt5677: Mark reg RT5677_PWR_ANLG2 as volatile
    spi: pxa2xx: Add missed security checks
    EDAC/ghes: Fix grain calculation
    media: si470x-i2c: add missed operations in remove
    media: pvrusb2: Fix oops on tear-down when radio support is not present
    ath10k: fix get invalid tx rate for Mesh metric
    perf probe: Filter out instances except for inlined subroutine and subprogram
    perf probe: Skip end-of-sequence and non statement lines
    perf probe: Fix to show calling lines of inlined functions
    perf probe: Return a better scope DIE if there is no best scope
    perf probe: Skip overlapped location on searching variables
    perf probe: Fix to show inlined function callsite without entry_pc
    perf probe: Fix to show ranges of variables in functions without entry_pc
    perf probe: Fix to probe an inline function which has no entry pc
    perf probe: Walk function lines in lexical blocks
    perf probe: Fix to list probe event with correct line number
    perf probe: Fix to find range-only function instance
    rtlwifi: fix memory leak in rtl92c_set_fw_rsvdpagepkt()
    spi: img-spfi: fix potential double release
    bnx2x: Fix PF-VF communication over multi-cos queues.
    pinctrl: sh-pfc: sh7734: Fix duplicate TCLK1_B
    libata: Ensure ata_port probe has completed before detach
  * arm64: psci: Reduce the waiting time for cpu_psci_cpu_kill()
      arch/arm64/kernel/psci.c
    x86/ioapic: Prevent inconsistent state when moving an interrupt
    drm/gma500: fix memory disclosures due to uninitialized bytes
  * Bluetooth: hci_core: fix init for HCI_USER_CHANNEL
      net/bluetooth/hci_core.c
    iio: adc: max1027: Reset the device at probe time
    perf report: Add warning when libunwind not compiled in
    x86/mm: Use the correct function type for native_set_fixmap()
    extcon: sm5502: Reset registers during initialization
    media: ti-vpe: vpe: Make sure YUYV is set as default format
    media: ti-vpe: vpe: fix a v4l2-compliance failure about frame sequence number
    media: ti-vpe: vpe: fix a v4l2-compliance warning about invalid pixel format
    mwifiex: pcie: Fix memory leak in mwifiex_pcie_init_evt_ring
    samples: pktgen: fix proc_cmd command result check logic
    media: flexcop-usb: fix NULL-ptr deref in flexcop_usb_transfer_init()
    regulator: max8907: Fix the usage of uninitialized variable in max8907_regulator_probe()
    hwrng: omap3-rom - Call clk_disable_unprepare() on exit only if not idled
    usb: renesas_usbhs: add suspend event support in gadget mode
    tools/power/cpupower: Fix initializer override in hsw_ext_cstates
    media: ov6650: Fix stored frame format not in sync with hardware
    media: i2c: ov2659: Fix missing 720p register config
    media: i2c: ov2659: fix s_stream return value
    media: am437x-vpfe: Setting STD to current value is not an error
    IB/iser: bound protection_sg size by data_sg size
    rtlwifi: prevent memory leak in rtl_usb_probe
    staging: rtl8188eu: fix possible null dereference
  * spi: Add call to spi_slave_abort() function when spidev driver is released
      drivers/spi/spidev.c
    iio: light: bh1750: Resolve compiler warning and make code more readable
    drm: mst: Fix query_payload ack reply struct
    ALSA: hda/ca0132 - Avoid endless loop
    ALSA: hda/ca0132 - Keep power on during processing DSP response
    btrfs: handle ENOENT in btrfs_uuid_tree_iterate
    btrfs: do not leak reloc root if we fail to read the fs root
Linux 4.4.207
    net: stmmac: don't stop NAPI processing when dropping a packet
    net: stmmac: use correct DMA buffer size in the RX descriptor
  * xhci: fix USB3 device initiated resume race with roothub autosuspend
      drivers/usb/host/xhci-hub.c
      drivers/usb/host/xhci-ring.c
      drivers/usb/host/xhci.h
    drm/radeon: fix r1xx/r2xx register checker for POT textures
    dm btree: increase rebalance threshold in __rebalance2()
    vfio/pci: call irq_bypass_unregister_producer() before freeing irq
    ARM: tegra: Fix FLOW_CTLR_HALT register clobbering by tegra_resume()
    ARM: dts: s3c64xx: Fix init order of clock providers
    CIFS: Respect O_SYNC and O_DIRECT flags during reconnect
    xtensa: fix TLB sanity checker
  * PCI/MSI: Fix incorrect MSI-X masking on resume
      drivers/pci/msi.c
  * PCI: Fix Intel ACS quirk UPDCR register address
      drivers/pci/quirks.c
    net: ethernet: ti: cpsw: fix extra rx interrupt
  * tcp: Protect accesses to .ts_recent_stamp with {READ,WRITE}_ONCE()
      include/net/tcp.h
  * tcp: tighten acceptance of ACKs not matching a child socket
      include/net/tcp.h
  * tcp: fix rejected syncookies due to stale timestamps
      include/linux/time.h
      include/net/tcp.h
  * inet: protect against too small mtu values.
      include/linux/netdevice.h
      include/net/ip.h
      net/core/dev.c
      net/ipv4/devinet.c
      net/ipv4/ip_output.c
    tipc: fix ordering of tipc module init and exit routine
  * tcp: md5: fix potential overestimation of TCP option space
      net/ipv4/tcp_output.c
  * net: bridge: deny dev_set_mac_address() when unregistering
      net/bridge/br_device.c
  * kernel/module.c: wakeup processes in module_wq on module unload
      kernel/module.c
    sunrpc: fix crash when cache_head become valid before update
  * workqueue: Fix missing kfree(rescuer) in destroy_workqueue()
      kernel/workqueue.c
  * blk-mq: make sure that line break can be printed
      block/blk-mq-sysfs.c
  * mm/shmem.c: cast the type of unmap_start to u64
      mm/shmem.c
    powerpc: Fix vDSO clock_getres()
    scsi: qla2xxx: Always check the qla2x00_wait_for_hba_online() return value
    scsi: qla2xxx: Fix qla24xx_process_bidir_cmd()
    scsi: qla2xxx: Fix DMA unmap leak
    pinctrl: samsung: Fix device node refcount leaks in S3C64xx wakeup controller init
    ARM: dts: omap3-tao3530: Fix incorrect MMC card detection GPIO polarity
    x86/MCE/AMD: Turn off MC4_MISC thresholding on all family 0x15 models
    e100: Fix passing zero to 'PTR_ERR' warning in e100_load_ucode_wait
    scsi: lpfc: Cap NPIV vports to 256
    Btrfs: fix negative subv_writers counter and data space leak after buffered write
    iio: adis16480: Add debugfs_reg_access entry
  * xhci: make sure interrupts are restored to correct state
      drivers/usb/host/xhci-hub.c
  * xhci: Fix memory leak in xhci_add_in_port()
      drivers/usb/host/xhci-mem.c
  * usb: xhci: only set D3hot for pci device
      drivers/usb/host/xhci-pci.c
      drivers/usb/host/xhci.c
      drivers/usb/host/xhci.h
    scsi: zfcp: trace channel log even for FCP command responses
  * quota: fix livelock in dquot_writeback_dquots
      fs/quota/dquot.c
  * quota: Check that quota is not dirty before release
      fs/quota/dquot.c
      include/linux/quotaops.h
    video/hdmi: Fix AVI bar unpack
    powerpc: Allow 64bit VDSO __kernel_sync_dicache to work across ranges >4GB
    pinctrl: samsung: Fix device node refcount leaks in init code
    pinctrl: samsung: Fix device node refcount leaks in S3C24xx wakeup controller init
  * ACPI: PM: Avoid attaching ACPI PM domain to certain devices
      drivers/acpi/device_pm.c
  * ACPI: bus: Fix NULL pointer check in acpi_bus_get_private_data()
      drivers/acpi/bus.c
  * ACPI: OSL: only free map once in osl.c
      drivers/acpi/osl.c
  * cpuidle: Do not unset the driver if it is there already
      drivers/cpuidle/driver.c
    media: radio: wl1273: fix interrupt masking on release
    media: bdisp: fix memleak on release
    ar5523: check NULL before memcpy() in ar5523_cmd()
    cgroup: pids: use atomic64_t for pids->limit
  * blk-mq: avoid sysfs buffer overflow with too many CPU cores
      block/blk-mq-sysfs.c
  * ASoC: Jack: Fix NULL pointer dereference in snd_soc_jack_report
      sound/soc/soc-jack.c
  * workqueue: Fix pwq ref leak in rescuer_thread()
      kernel/workqueue.c
  * workqueue: Fix spurious sanity check failures in destroy_workqueue()
      kernel/workqueue.c
    lib: raid6: fix awk build warnings
    rtlwifi: rtl8192de: Fix missing enable interrupt flag
    rtlwifi: rtl8192de: Fix missing callback that tests for hw release of buffer
    rtlwifi: rtl8192de: Fix missing code to retrieve RX buffer address
    btrfs: Remove btrfs_bio::flags member
    btrfs: check page->mapping when loading free space cache
    virtio-balloon: fix managed page counts when migrating pages between zones
    mtd: spear_smi: Fix Write Burst mode
    usb: mon: Fix a deadlock in usbmon between mmap and read
  * usb: core: urb: fix URB structure initialization function
      drivers/usb/core/urb.c
    USB: adutux: fix interface sanity check
    USB: serial: io_edgeport: fix epic endpoint lookup
    USB: idmouse: fix interface sanity checks
    USB: atm: ueagle-atm: add missing endpoint check
    iio: humidity: hdc100x: fix IIO_HUMIDITYRELATIVE channel reporting
  * xhci: Increase STS_HALT timeout in xhci_suspend()
      drivers/usb/host/xhci.c
    staging: gigaset: add endpoint-type sanity check
    staging: gigaset: fix illegal free on probe errors
    staging: gigaset: fix general protection fault on probe
    staging: rtl8712: fix interface sanity check
    staging: rtl8188eu: fix interface sanity check
  * usb: Allow USB device to be warm reset in suspended state
      drivers/usb/core/hub.c
  * usb: gadget: configfs: Fix missing spin_lock_init()
      drivers/usb/gadget/configfs.c
  * fs/proc/array.c: allow reporting eip/esp for all coredumping threads
      fs/proc/array.c
  * proc: fix coredump vs read /proc/*/stat race
      fs/proc/array.c
  * fs/proc: Report eip/esp in /prod/PID/stat for coredumping
      fs/proc/array.c
  * fs/proc: Stop reporting eip and esp in /proc/PID/stat
      fs/proc/array.c
  * sched/core, x86: Make struct thread_info arch specific again
      include/linux/thread_info.h
  * sched/core: Add try_get_task_stack() and put_task_stack()
      include/linux/sched.h
      init/Kconfig
  * sched/core: Allow putting thread_info into task_struct
      include/linux/init_task.h
      include/linux/sched.h
      include/linux/thread_info.h
      init/Kconfig
      init/init_task.c
      kernel/sched/sched.h
    ALSA: hda - Fix pending unsol events at shutdown
    appletalk: Set error code if register_snap_client failed
  * appletalk: Fix potential NULL pointer dereference in unregister_snap_client
      include/linux/atalk.h
    KVM: x86: fix out-of-bounds write in KVM_GET_EMULATED_CPUID (CVE-2019-19332)
  * thermal: Fix deadlock in thermal thermal_zone_device_check
      drivers/thermal/thermal_core.c
    RDMA/qib: Validate ->show()/store() callbacks before calling them
    spi: atmel: Fix CS high support
    crypto: user - fix memory leak in crypto_report
    crypto: crypto4xx - fix double-free in crypto4xx_destroy_sdr
    KVM: x86: fix presentation of TSX feature in ARCH_CAPABILITIES
    KVM: x86: do not modify masked bits of shared MSRs
    drm/i810: Prevent underflow in ioctl
  * jbd2: Fix possible overflow in jbd2_log_space_left()
      include/linux/jbd2.h
    can: slcan: Fix use-after-free Read in slcan_open
    tty: vt: keyboard: reject invalid keycodes
    CIFS: Fix SMB2 oplock break processing
    CIFS: Fix NULL-pointer dereference in smb2_push_mandatory_locks
    Input: goodix - add upside-down quirk for Teclast X89 tablet
    ALSA: pcm: oss: Avoid potential buffer overflows
  * fuse: verify attributes
      fs/fuse/dir.c
      fs/fuse/fuse_i.h
  * fuse: verify nlink
      fs/fuse/dir.c
  * sched/fair: Scale bandwidth quota and period without losing quota/period ratio precision
      kernel/sched/fair.c
    ARM: dts: sunxi: Fix PMU compatible strings
    mlx4: Use snprintf instead of complicated strcpy
    nfsd: Return EPERM, not EACCES, in some SETATTR cases
    MIPS: OCTEON: cvmx_pko_mem_debug8: use oldest forward compatible definition
    powerpc/math-emu: Update macros from GCC
    dlm: fix invalid cluster name warning
    ARM: dts: pxa: clean up USB controller nodes
  * kbuild: fix single target build for external module
      Makefile
  * modpost: skip ELF local symbols during section mismatch check
      scripts/mod/modpost.c
  * tcp: fix off-by-one bug on aborting window-probing socket
      net/ipv4/tcp_timer.c
    ARM: dts: mmp2: fix the gpio interrupt cell number
    net/x25: fix null_x25_address handling
    net/x25: fix called/calling length calculation in x25_parse_address_block
    ARM: OMAP1/2: fix SoC name printing
    nfsd: fix a warning in __cld_pipe_upcall()
    dlm: NULL check before kmem_cache_destroy is not needed
    i2c: imx: don't print error message on probe defer
    serial: imx: fix error handling in console_setup
    altera-stapl: check for a null key before strcasecmp'ing it
  * dma-mapping: fix return type of dma_set_max_seg_size()
      include/linux/dma-mapping.h
  * ACPI: fix acpi_find_child_device() invocation in acpi_preset_companion()
      include/linux/acpi.h
    dmaengine: coh901318: Remove unused variable
    dmaengine: coh901318: Fix a double-lock bug
    ARM: dts: exynos: Use Samsung SoC specific compatible for DWC2 module
    rtc: dt-binding: abx80x: fix resistance scale
    rtc: max8997: Fix the returned value in case of error in 'max8997_rtc_read_alarm()'
    math-emu/soft-fp.h: (_FP_ROUND_ZERO) cast 0 to void to fix warning
    MIPS: OCTEON: octeon-platform: fix typing
  * regulator: Fix return value of _set_load() stub
      include/linux/regulator/consumer.h
    Staging: iio: adt7316: Fix i2c data reading, set the data field
    pinctrl: qcom: ssbi-gpio: fix gpio-hog related boot issues
    scsi: zfcp: drop default switch case which might paper over missing case
    MIPS: SiByte: Enable ZONE_DMA32 for LittleSur
    dlm: fix missing idr_destroy for recover_idr
    clk: rockchip: fix rk3188 sclk_mac_lbtest parameter ordering
    clk: rockchip: fix rk3188 sclk_smc gate data
    extcon: max8997: Fix lack of path setting in USB device mode
    ARM: 8813/1: Make aligned 2-byte getuser()/putuser() atomic on ARMv6+
    iwlwifi: mvm: Send non offchannel traffic via AP sta
  * serial: core: Allow processing sysrq at port unlock time
      include/linux/serial_core.h
    net: ep93xx_eth: fix mismatch of request_mem_region in remove
    rsxx: add missed destroy_workqueue calls in remove
  * ALSA: pcm: Fix stream lock usage in snd_pcm_period_elapsed()
      sound/core/pcm_lib.c
    Input: cyttsp4_core - fix use after free bug
    NFC: nxp-nci: Fix NULL pointer dereference after I2C communication error
    autofs: fix a leak in autofs_expire_indirect()
    serial: ifx6x60: add missed pm_runtime_disable
  * serial: serial_core: Perform NULL checks for break_ctl ops
      drivers/tty/serial/serial_core.c
    x86/PCI: Avoid AMD FCH XHCI USB PME# from D0 defect
  * tty: serial: msm_serial: Fix flow control
      drivers/tty/serial/msm_serial.c
    usb: gadget: u_serial: add missing port entry locking
    x86/apic/32: Avoid bogus LDR warnings
Linux 4.4.206
    platform/x86: hp-wmi: Fix ACPI errors caused by too small buffer
    hwrng: stm32 - fix unbalanced pm_runtime_enable
  * HID: core: check whether Usage Page item is after Usage ID items
      drivers/hid/hid-core.c
  * net: sched: fix `tc -s class show` no bstats on class with nolock subqueues
      net/sched/sch_mq.c
      net/sched/sch_multiq.c
      net/sched/sch_prio.c
    tipc: fix link name length check
    openvswitch: remove another BUG_ON()
    openvswitch: drop unneeded BUG_ON() in ovs_flow_cmd_build_info()
    slip: Fix use-after-free Read in slip_open
    openvswitch: fix flow command message size
    macvlan: schedule bc_work even if error
  * pwm: Clear chip_data in pwm_put()
      drivers/pwm/core.c
    net: macb: fix error format in dev_err()
  * media: v4l2-ctrl: fix flags for DO_WHITE_BALANCE
      drivers/media/v4l2-core/v4l2-ctrls.c
    mei: bus: prefix device names on bus with the bus name
    USB: serial: ftdi_sio: add device IDs for U-Blox C099-F9P
    staging: rtl8192e: fix potential use after free
    mtd: Remove a debug trace in mtdpart.c
    powerpc/pseries/dlpar: Fix a missing check in dlpar_parse_cc_property()
    scsi: libsas: Check SMP PHY control function result
    ACPI / APEI: Switch estatus pool to use vmalloc memory
    scsi: libsas: Support SATA PHY connection rate unmatch fixing during discovery
  * net: dev: Use unsigned integer as an argument to left-shift
      include/linux/netdevice.h
  * net: fix possible overflow in __sk_mem_raise_allocated()
      include/net/sock.h
      net/core/sock.c
    sfc: initialise found bitmap in efx_ef10_mtd_probe
    tipc: fix skb may be leaky in tipc_link_input
    decnet: fix DN_IFREQ_SIZE
    sfc: suppress duplicate nvmem partition types in efx_ef10_mtd_probe
  * net/core/neighbour: fix kmemleak minimal reference count for hash tables
      net/core/neighbour.c
  * net/core/neighbour: tell kmemleak about hash tables
      net/core/neighbour.c
    tipc: fix memory leak in tipc_nl_compat_publ_dump
    mtd: Check add_mtd_device() ret code
  * lib/genalloc.c: include vmalloc.h
      lib/genalloc.c
  * lib/genalloc.c: use vzalloc_node() to allocate the bitmap
      lib/genalloc.c
    ocfs2: clear journal dirty flag after shutdown journal
    tipc: fix a missing check of genlmsg_put
    atl1e: checking the status of atl1e_write_phy_reg
    net: stmicro: fix a missing check of clk_prepare
    um: Make GCOV depend on !KCOV
  * net/net_namespace: Check the return value of register_pernet_subsys()
      net/core/net_namespace.c
    regulator: tps65910: fix a missing check of return value
    drbd: fix print_st_err()'s prototype to match the definition
    drbd: reject attach of unsuitable uuids even if connected
    powerpc/44x/bamboo: Fix PCI range
    powerpc/mm: Make NULL pointer deferences explicit on bad page faults.
    powerpc/prom: fix early DEBUG messages
    ath6kl: Fix off by one error in scan completion
    ath6kl: Only use match sets when firmware supports it
    scsi: csiostor: fix incorrect dma device in case of vport
    scsi: qla2xxx: deadlock by configfs_depend_item
    RDMA/srp: Propagate ib_post_send() failures to the SCSI mid-layer
    openrisc: Fix broken paths to arch/or32
    serial: max310x: Fix tx_empty() callback
    drivers/regulator: fix a missing check of return value
    powerpc/xmon: fix dump_segments()
    powerpc/book3s/32: fix number of bats in p/v_block_mapped()
    IB/qib: Fix an error code in qib_sdma_verbs_send()
    xfs: Align compat attrlist_by_handle with native implementation.
    gfs2: take jdata unstuff into account in do_grow
    HID: doc: fix wrong data structure reference for UHID_OUTPUT
    pinctrl: sh-pfc: sh7734: Fix shifted values in IPSR10
    pinctrl: sh-pfc: sh7264: Fix PFCR3 and PFCR0 register configuration
    KVM: s390: unregister debug feature on failing arch init
    xen/pciback: Check dev_data before using it
    btrfs: only track ref_heads in delayed_ref_updates
    VSOCK: bind to random port for VMADDR_PORT_ANY
  * gpiolib: Fix return value of gpio_to_desc() stub if !GPIOLIB
      include/linux/gpio/consumer.h
    microblaze: move "... is ready" messages to arch/microblaze/Makefile
    microblaze: adjust the help to the real behavior
    ubi: Do not drop UBI device reference before using
    ubi: Put MTD device after it is not used
    xfs: require both realtime inodes to mount
    rtl818x: fix potential use after free
    mwifiex: debugfs: correct histogram spacing, formatting
    mwifiex: fix potential NULL dereference and use after free
    crypto: user - support incremental algorithm dumps
  * ACPI / LPSS: Ignore acpi_device_fix_up_power() return value
      drivers/acpi/acpi_lpss.c
    ARM: ks8695: fix section mismatch warning
    PM / AVS: SmartReflex: NULL check before some freeing functions is not needed
  * arm64: smp: Handle errors reported by the firmware
      arch/arm64/kernel/smp.c
    parisc: Fix HP SDC hpa address output
    parisc: Fix serio address output
    ARM: dts: imx53-voipac-dmm-668: Fix memory node duplication
    ARM: debug-imx: only define DEBUG_IMX_UART_PORT if needed
    scsi: lpfc: Fix dif and first burst use in write commands
    block: drbd: remove a stray unlock in __drbd_send_protocol()
    scripts/gdb: fix debugging modules compiled with hot/cold partitioning
    can: c_can: D_CAN: c_can_chip_config(): perform a sofware reset on open
    can: peak_usb: report bus recovery as well
  * reset: fix reset_control_ops kerneldoc comment
      include/linux/reset-controller.h
    clk: samsung: exynos5420: Preserve PLL configuration during suspend/resume
    ASoC: kirkwood: fix external clock probe defer
  * ASoC: compress: fix unsigned integer overflow check
      sound/core/compress_offload.c

Change-Id: Ieefc3442d0ce62a147d6d427b125f7b148e88c05
Signed-off-by: lucaswei <lucaswei@google.com>
2020-02-14 10:51:59 +08:00
Nathan Chancellor
4cf66c0bce Merge 4.4.212 into android-msm-wahoo-4.4
Changes in 4.4.212: (184 commits)
        xfs: Sanity check flags of Q_XQUOTARM call
        powerpc/archrandom: fix arch_get_random_seed_int()
        mt7601u: fix bbp version check in mt7601u_wait_bbp_ready
        drm/virtio: fix bounds check in virtio_gpu_cmd_get_capset()
        ALSA: hda: fix unused variable warning
        ALSA: usb-audio: update quirk for B&W PX to remove microphone
        staging: comedi: ni_mio_common: protect register write overflow
        pcrypt: use format specifier in kobject_add
        exportfs: fix 'passing zero to ERR_PTR()' warning
        drm/dp_mst: Skip validating ports during destruction, just ref
        pinctrl: sh-pfc: r8a7740: Add missing REF125CK pin to gether_gmii group
        pinctrl: sh-pfc: r8a7740: Add missing LCD0 marks to lcd0_data24_1 group
        pinctrl: sh-pfc: r8a7791: Remove bogus ctrl marks from qspi_data4_b group
        pinctrl: sh-pfc: r8a7791: Remove bogus marks from vin1_b_data18 group
        pinctrl: sh-pfc: sh73a0: Add missing TO pin to tpu4_to3 group
        pinctrl: sh-pfc: r8a7794: Remove bogus IPSR9 field
        pinctrl: sh-pfc: sh7734: Add missing IPSR11 field
        pinctrl: sh-pfc: sh7269: Add missing PCIOR0 field
        pinctrl: sh-pfc: sh7734: Remove bogus IPSR10 value
        Input: nomadik-ske-keypad - fix a loop timeout test
        clk: highbank: fix refcount leak in hb_clk_init()
        clk: qoriq: fix refcount leak in clockgen_init()
        clk: socfpga: fix refcount leak
        clk: samsung: exynos4: fix refcount leak in exynos4_get_xom()
        clk: imx6q: fix refcount leak in imx6q_clocks_init()
        clk: imx6sx: fix refcount leak in imx6sx_clocks_init()
        clk: imx7d: fix refcount leak in imx7d_clocks_init()
        clk: vf610: fix refcount leak in vf610_clocks_init()
        clk: armada-370: fix refcount leak in a370_clk_init()
        clk: kirkwood: fix refcount leak in kirkwood_clk_init()
        clk: armada-xp: fix refcount leak in axp_clk_init()
        IB/usnic: Fix out of bounds index check in query pkey
        RDMA/ocrdma: Fix out of bounds index check in query pkey
        media: s5p-jpeg: Correct step and max values for V4L2_CID_JPEG_RESTART_INTERVAL
        crypto: tgr192 - fix unaligned memory access
        ASoC: imx-sgtl5000: put of nodes if finding codec fails
        rtc: cmos: ignore bogus century byte
        tty: ipwireless: Fix potential NULL pointer dereference
        rtc: ds1672: fix unintended sign extension
        rtc: 88pm860x: fix unintended sign extension
        rtc: 88pm80x: fix unintended sign extension
        rtc: pm8xxx: fix unintended sign extension
        fbdev: chipsfb: remove set but not used variable 'size'
        pinctrl: sh-pfc: emev2: Add missing pinmux functions
        pinctrl: sh-pfc: r8a7791: Fix scifb2_data_c pin group
        pinctrl: sh-pfc: sh73a0: Fix fsic_spdif pin groups
        block: don't use bio->bi_vcnt to figure out segment number
        vfio_pci: Enable memory accesses before calling pci_map_rom
        cdc-wdm: pass return value of recover_from_urb_loss
        drm/nouveau/bios/ramcfg: fix missing parentheses when calculating RON
        drm/nouveau/pmu: don't print reply values if exec is false
        ASoC: qcom: Fix of-node refcount unbalance in apq8016_sbc_parse_of()
        fs/nfs: Fix nfs_parse_devname to not modify it's argument
        clocksource/drivers/sun5i: Fail gracefully when clock rate is unavailable
        ARM: 8847/1: pm: fix HYP/SVC mode mismatch when MCPM is used
        regulator: wm831x-dcdc: Fix list of wm831x_dcdc_ilim from mA to uA
        nios2: ksyms: Add missing symbol exports
        scsi: megaraid_sas: reduce module load time
        xen, cpu_hotplug: Prevent an out of bounds access
        net: sh_eth: fix a missing check of of_get_phy_mode
        media: ivtv: update *pos correctly in ivtv_read_pos()
        media: cx18: update *pos correctly in cx18_read_pos()
        media: wl128x: Fix an error code in fm_download_firmware()
        media: cx23885: check allocation return
        jfs: fix bogus variable self-initialization
        m68k: mac: Fix VIA timer counter accesses
        ARM: OMAP2+: Fix potentially uninitialized return value for _setup_reset()
        media: davinci-isif: avoid uninitialized variable use
        spi: tegra114: clear packed bit for unpacked mode
        spi: tegra114: fix for unpacked mode transfers
        soc/fsl/qe: Fix an error code in qe_pin_request()
        spi: bcm2835aux: fix driver to not allow 65535 (=-1) cs-gpios
        ehea: Fix a copy-paste err in ehea_init_port_res
        scsi: qla2xxx: Unregister chrdev if module initialization fails
        ARM: pxa: ssp: Fix "WARNING: invalid free of devm_ allocated data"
        hwmon: (w83627hf) Use request_muxed_region for Super-IO accesses
        tipc: set sysctl_tipc_rmem and named_timeout right range
        powerpc: vdso: Make vdso32 installation conditional in vdso_install
        media: ov2659: fix unbalanced mutex_lock/unlock
        6lowpan: Off by one handling ->nexthdr
        dmaengine: axi-dmac: Don't check the number of frames for alignment
        ALSA: usb-audio: Handle the error from snd_usb_mixer_apply_create_quirk()
        packet: in recvmsg msg_name return at least sizeof sockaddr_ll
        ASoC: fix valid stream condition
        IB/mlx5: Add missing XRC options to QP optional params mask
        iommu/vt-d: Make kernel parameter igfx_off work with vIOMMU
        media: omap_vout: potential buffer overflow in vidioc_dqbuf()
        media: davinci/vpbe: array underflow in vpbe_enum_outputs()
        platform/x86: alienware-wmi: printing the wrong error code
        netfilter: ebtables: CONFIG_COMPAT: reject trailing data after last rule
        ARM: riscpc: fix lack of keyboard interrupts after irq conversion
        kdb: do a sanity check on the cpu in kdb_per_cpu()
        backlight: lm3630a: Return 0 on success in update_status functions
        thermal: cpu_cooling: Actually trace CPU load in thermal_power_cpu_get_power
        spi: spi-fsl-spi: call spi_finalize_current_message() at the end
        misc: sgi-xp: Properly initialize buf in xpc_get_rsvd_page_pa
        iommu: Use right function to get group for device
        signal/cifs: Fix cifs_put_tcp_session to call send_sig instead of force_sig
        inet: frags: call inet_frags_fini() after unregister_pernet_subsys()
        media: vivid: fix incorrect assignment operation when setting video mode
        powerpc/cacheinfo: add cacheinfo_teardown, cacheinfo_rebuild
        drm/msm/mdp5: Fix mdp5_cfg_init error return
        net/af_iucv: always register net_device notifier
        ASoC: ti: davinci-mcasp: Fix slot mask settings when using multiple AXRs
        rtc: pcf8563: Clear event flags and disable interrupts before requesting irq
        drm/msm/a3xx: remove TPL1 regs from snapshot
        iommu/amd: Make iommu_disable safer
        mfd: intel-lpss: Release IDA resources
        devres: allow const resource arguments
        net: pasemi: fix an use-after-free in pasemi_mac_phy_init()
        scsi: libfc: fix null pointer dereference on a null lport
        libertas_tf: Use correct channel range in lbtf_geo_init
        usb: host: xhci-hub: fix extra endianness conversion
        mic: avoid statically declaring a 'struct device'.
        x86/kgbd: Use NMI_VECTOR not APIC_DM_NMI
        ALSA: aoa: onyx: always initialize register read value
        cifs: fix rmmod regression in cifs.ko caused by force_sig changes
        crypto: caam - free resources in case caam_rng registration failed
        ext4: set error return correctly when ext4_htree_store_dirent fails
        ASoC: es8328: Fix copy-paste error in es8328_right_line_controls
        ASoC: cs4349: Use PM ops 'cs4349_runtime_pm'
        ASoC: wm8737: Fix copy-paste error in wm8737_snd_controls
        signal: Allow cifs and drbd to receive their terminating signals
        dmaengine: dw: platform: Switch to acpi_dma_controller_register()
        mac80211: minstrel_ht: fix per-group max throughput rate initialization
        mips: avoid explicit UB in assignment of mips_io_port_base
        ahci: Do not export local variable ahci_em_messages
        Partially revert "kfifo: fix kfifo_alloc() and kfifo_init()"
        power: supply: Init device wakeup after device_add()
        x86, perf: Fix the dependency of the x86 insn decoder selftest
        bcma: fix incorrect update of BCMA_CORE_PCI_MDIO_DATA
        iio: dac: ad5380: fix incorrect assignment to val
        ath9k: dynack: fix possible deadlock in ath_dynack_node_{de}init
        net: sonic: return NETDEV_TX_OK if failed to map buffer
        Btrfs: fix hang when loading existing inode cache off disk
        hwmon: (shtc1) fix shtc1 and shtw1 id mask
        net: sonic: replace dev_kfree_skb in sonic_send_packet
        net/rds: Fix 'ib_evt_handler_call' element in 'rds_ib_stat_names'
        iommu/amd: Wait for completion of IOTLB flush in attach_device
        net: hisilicon: Fix signedness bug in hix5hd2_dev_probe()
        net: broadcom/bcmsysport: Fix signedness in bcm_sysport_probe()
        net: ethernet: stmmac: Fix signedness bug in ipq806x_gmac_of_parse()
        mac80211: accept deauth frames in IBSS mode
        llc: fix another potential sk_buff leak in llc_ui_sendmsg()
        llc: fix sk_buff refcounting in llc_conn_state_process()
        net: stmmac: fix length of PTP clock's name string
        drm/msm/dsi: Implement reset correctly
        dmaengine: imx-sdma: fix size check for sdma script_number
        net: qca_spi: Move reset_count to struct qcaspi
        media: ov6650: Fix incorrect use of JPEG colorspace
        media: ov6650: Fix some format attributes not under control
        media: ov6650: Fix .get_fmt() V4L2_SUBDEV_FORMAT_TRY support
        MIPS: Loongson: Fix return value of loongson_hwmon_init
        net: neigh: use long type to store jiffies delta
        packet: fix data-race in fanout_flow_is_huge()
        dmaengine: ti: edma: fix missed failure handling
        drm/radeon: fix bad DMA from INTERRUPT_CNTL2
        arm64: dts: juno: Fix UART frequency
        m68k: Call timer_interrupt() with interrupts disabled
        can, slip: Protect tty->disc_data in write_wakeup and close with RCU
        firestream: fix memory leaks
        net: cxgb3_main: Add CAP_NET_ADMIN check to CHELSIO_GET_MEM
        net, ip_tunnel: fix namespaces move
        net_sched: fix datalen for ematch
        net: usb: lan78xx: Add .ndo_features_check
        hwmon: (adt7475) Make volt2reg return same reg as reg2volt input
        Input: keyspan-remote - fix control-message timeouts
        ARM: 8950/1: ftrace/recordmcount: filter relocation types
        mmc: sdhci: fix minimum clock rate for v3 controller
        Input: sur40 - fix interface sanity checks
        Input: gtco - fix endpoint sanity check
        Input: aiptek - fix endpoint sanity check
        hwmon: (nct7802) Fix voltage limits to wrong registers
        scsi: RDMA/isert: Fix a recently introduced regression related to logout
        tracing: xen: Ordered comparison of function pointers
        do_last(): fetch directory ->i_mode and ->i_uid before it's too late
        iio: buffer: align the size of scan bytes to size of the largest element
        scsi: iscsi: Avoid potential deadlock in iscsi_if_rx func
        md: Avoid namespace collision with bitmap API
        bitmap: Add bitmap_alloc(), bitmap_zalloc() and bitmap_free()
        netfilter: ipset: use bitmap infrastructure completely
        net/x25: fix nonblocking connect
        libertas: Fix two buffer overflows at parsing bss descriptor
        Linux 4.4.212

Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
2020-01-29 17:10:10 -07:00
Alex Sverdlin
f2b7596f90 ARM: 8950/1: ftrace/recordmcount: filter relocation types
commit 927d780ee371d7e121cea4fc7812f6ef2cea461c upstream.

Scenario 1, ARMv7
=================

If code in arch/arm/kernel/ftrace.c would operate on mcount() pointer
the following may be generated:

00000230 <prealloc_fixed_plts>:
 230:   b5f8            push    {r3, r4, r5, r6, r7, lr}
 232:   b500            push    {lr}
 234:   f7ff fffe       bl      0 <__gnu_mcount_nc>
                        234: R_ARM_THM_CALL     __gnu_mcount_nc
 238:   f240 0600       movw    r6, #0
                        238: R_ARM_THM_MOVW_ABS_NC      __gnu_mcount_nc
 23c:   f8d0 1180       ldr.w   r1, [r0, #384]  ; 0x180

FTRACE currently is not able to deal with it:

WARNING: CPU: 0 PID: 0 at .../kernel/trace/ftrace.c:1979 ftrace_bug+0x1ad/0x230()
...
CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.4.116-... #1
...
[<c0314e3d>] (unwind_backtrace) from [<c03115e9>] (show_stack+0x11/0x14)
[<c03115e9>] (show_stack) from [<c051a7f1>] (dump_stack+0x81/0xa8)
[<c051a7f1>] (dump_stack) from [<c0321c5d>] (warn_slowpath_common+0x69/0x90)
[<c0321c5d>] (warn_slowpath_common) from [<c0321cf3>] (warn_slowpath_null+0x17/0x1c)
[<c0321cf3>] (warn_slowpath_null) from [<c038ee9d>] (ftrace_bug+0x1ad/0x230)
[<c038ee9d>] (ftrace_bug) from [<c038f1f9>] (ftrace_process_locs+0x27d/0x444)
[<c038f1f9>] (ftrace_process_locs) from [<c08915bd>] (ftrace_init+0x91/0xe8)
[<c08915bd>] (ftrace_init) from [<c0885a67>] (start_kernel+0x34b/0x358)
[<c0885a67>] (start_kernel) from [<00308095>] (0x308095)
---[ end trace cb88537fdc8fa200 ]---
ftrace failed to modify [<c031266c>] prealloc_fixed_plts+0x8/0x60
 actual: 44:f2:e1:36
ftrace record flags: 0
 (0)   expected tramp: c03143e9

Scenario 2, ARMv4T
==================

ftrace: allocating 14435 entries in 43 pages
------------[ cut here ]------------
WARNING: CPU: 0 PID: 0 at kernel/trace/ftrace.c:2029 ftrace_bug+0x204/0x310
CPU: 0 PID: 0 Comm: swapper Not tainted 4.19.5 #1
Hardware name: Cirrus Logic EDB9302 Evaluation Board
[<c0010a24>] (unwind_backtrace) from [<c000ecb0>] (show_stack+0x20/0x2c)
[<c000ecb0>] (show_stack) from [<c03c72e8>] (dump_stack+0x20/0x30)
[<c03c72e8>] (dump_stack) from [<c0021c18>] (__warn+0xdc/0x104)
[<c0021c18>] (__warn) from [<c0021d7c>] (warn_slowpath_null+0x4c/0x5c)
[<c0021d7c>] (warn_slowpath_null) from [<c0095360>] (ftrace_bug+0x204/0x310)
[<c0095360>] (ftrace_bug) from [<c04dabac>] (ftrace_init+0x3b4/0x4d4)
[<c04dabac>] (ftrace_init) from [<c04cef4c>] (start_kernel+0x20c/0x410)
[<c04cef4c>] (start_kernel) from [<00000000>] (  (null))
---[ end trace 0506a2f5dae6b341 ]---
ftrace failed to modify
[<c000c350>] perf_trace_sys_exit+0x5c/0xe8
 actual:   1e:ff:2f:e1
Initializing ftrace call sites
ftrace record flags: 0
 (0)
 expected tramp: c000fb24

The analysis for this problem has been already performed previously,
refer to the link below.

Fix the above problems by allowing only selected reloc types in
__mcount_loc. The list itself comes from the legacy recordmcount.pl
script.

Link: https://lore.kernel.org/lkml/56961010.6000806@pengutronix.de/
Cc: stable@vger.kernel.org
Fixes: ed60453fa8 ("ARM: 6511/1: ftrace: add ARM support for C version of recordmcount")
Signed-off-by: Alexander Sverdlin <alexander.sverdlin@nokia.com>
Acked-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-01-29 10:21:51 +01:00
Nathan Chancellor
4747b04527 Merge 4.9.209 into android-msm-bluecross-4.9
Changes in 4.9.209: (90 commits)
        PM / devfreq: Don't fail devfreq_dev_release if not in list
        RDMA/cma: add missed unregister_pernet_subsys in init failure
        scsi: lpfc: Fix memory leak on lpfc_bsg_write_ebuf_set func
        scsi: qla2xxx: Don't call qlt_async_event twice
        scsi: iscsi: qla4xxx: fix double free in probe
        scsi: libsas: stop discovering if oob mode is disconnected
        usb: gadget: fix wrong endpoint desc
        md: raid1: check rdev before reference in raid1_sync_request func
        s390/cpum_sf: Adjust sampling interval to avoid hitting sample limits
        s390/cpum_sf: Avoid SBD overflow condition in irq handler
        IB/mlx4: Follow mirror sequence of device add during device removal
        xen-blkback: prevent premature module unload
        xen/balloon: fix ballooned page accounting without hotplug enabled
        PM / hibernate: memory_bm_find_bit(): Tighten node optimisation
        xfs: fix mount failure crash on invalid iclog memory access
        taskstats: fix data-race
        drm: limit to INT_MAX in create_blob ioctl
        Revert "perf report: Add warning when libunwind not compiled in"
        ALSA: ice1724: Fix sleep-in-atomic in Infrasonic Quartet support code
        MIPS: Avoid VDSO ABI breakage due to global register variable
        mm/zsmalloc.c: fix the migrated zspage statistics.
        memcg: account security cred as well to kmemcg
        locks: print unsigned ino in /proc/locks
        dmaengine: Fix access to uninitialized dma_slave_caps
        compat_ioctl: block: handle Persistent Reservations
        ata: libahci_platform: Export again ahci_platform_<en/dis>able_phys()
        ata: ahci_brcm: Allow optional reset controller to be used
        ata: ahci_brcm: Fix AHCI resources management
        gpiolib: fix up emulated open drain outputs
        tracing: Have the histogram compare functions convert to u64 first
        ALSA: cs4236: fix error return comparison of an unsigned integer
        ftrace: Avoid potential division by zero in function profiler
        arm64: Revert support for execute-only user mappings
        PM / devfreq: Check NULL governor in available_governors_show
        nfsd4: fix up replay_matches_cache()
        xfs: don't check for AG deadlock for realtime files in bunmapi
        Bluetooth: btusb: fix PM leak in error case of setup
        Bluetooth: delete a stray unlock
        Bluetooth: Fix memory leak in hci_connect_le_scan
        media: flexcop-usb: ensure -EIO is returned on error condition
        regulator: ab8500: Remove AB8505 USB regulator
        media: usb: fix memory leak in af9005_identify_state
        tty: serial: msm_serial: Fix lockup for sysrq and oops
        fix compat handling of FICLONERANGE, FIDEDUPERANGE and FS_IOC_FIEMAP
        drm/mst: Fix MST sideband up-reply failure handling
        powerpc/pseries/hvconsole: Fix stack overread via udbg
        rxrpc: Fix possible NULL pointer access in ICMP handling
        ath9k_htc: Modify byte order for an error message
        ath9k_htc: Discard undersized packets
        net: add annotations on hh->hh_len lockless accesses
        s390/smp: fix physical to logical CPU map for SMT
        xen/blkback: Avoid unmapping unmapped grant pages
        locking/x86: Remove the unused atomic_inc_short() methd
        pstore/ram: Write new dumps to start of recycled zones
        locking/spinlock/debug: Fix various data races
        netfilter: ctnetlink: netns exit must wait for callbacks
        efi/gop: Return EFI_NOT_FOUND if there are no usable GOPs
        efi/gop: Return EFI_SUCCESS if a usable GOP was found
        efi/gop: Fix memory leak in __gop_query32/64()
        ARM: vexpress: Set-up shared OPP table instead of individual for each CPU
        netfilter: uapi: Avoid undefined left-shift in xt_sctp.h
        spi: spi-cavium-thunderx: Add missing pci_release_regions()
        ARM: dts: am437x-gp/epos-evm: fix panel compatible
        samples: bpf: Replace symbol compare of trace_event
        powerpc: Ensure that swiotlb buffer is allocated from low memory
        bnx2x: Do not handle requests from VFs after parity
        bnx2x: Fix logic to get total no. of PFs per engine
        net: usb: lan78xx: Fix error message format specifier
        rfkill: Fix incorrect check to avoid NULL pointer dereference
        ASoC: wm8962: fix lambda value
        regulator: rn5t618: fix module aliases
        kconfig: don't crash on NULL expressions in expr_eq()
        perf/x86/intel: Fix PT PMI handling
        net: stmmac: RX buffer size must be 16 byte aligned
        block: fix memleak when __blk_rq_map_user_iov() is failed
        parisc: Fix compiler warnings in debug_core.c
        llc2: Fix return statement of llc_stat_ev_rx_null_dsap_xid_c (and _test_c)
        macvlan: do not assume mac_header is set in macvlan_broadcast()
        net: stmmac: dwmac-sunxi: Allow all RGMII modes
        net: usb: lan78xx: fix possible skb leak
        pkt_sched: fq: do not accept silly TCA_FQ_QUANTUM
        sctp: free cmd->obj.chunk for the unprocessed SCTP_CMD_REPLY
        tcp: fix "old stuff" D-SACK causing SACK to be treated as D-SACK
        vxlan: fix tos value before xmit
        vlan: vlan_changelink() should propagate errors
        net: sch_prio: When ungrafting, replace with FIFO
        vlan: fix memory leak in vlan_dev_set_egress_priority
        USB: core: fix check for duplicate endpoints
        USB: serial: option: add Telit ME910G1 0x110a composition
        Linux 4.9.209

Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>

Conflicts:
	arch/arm64/mm/fault.c
	drivers/gpu/drm/drm_property.c
	kernel/locking/spinlock_debug.c
2020-01-12 11:10:25 -07:00
Thomas Hebb
26cee8d70e kconfig: don't crash on NULL expressions in expr_eq()
[ Upstream commit 272a72103012862e3a24ea06635253ead0b6e808 ]

NULL expressions are taken to always be true, as implemented by the
expr_is_yes() macro and by several other functions in expr.c. As such,
they ought to be valid inputs to expr_eq(), which compares two
expressions.

Signed-off-by: Thomas Hebb <tommyhebb@gmail.com>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-01-12 11:22:50 +01:00
Nathan Chancellor
5988840eb2 Merge 4.4.208 into android-msm-wahoo-4.4
Changes in 4.4.208: (137 commits)
        btrfs: do not leak reloc root if we fail to read the fs root
        btrfs: handle ENOENT in btrfs_uuid_tree_iterate
        ALSA: hda/ca0132 - Keep power on during processing DSP response
        ALSA: hda/ca0132 - Avoid endless loop
        drm: mst: Fix query_payload ack reply struct
        iio: light: bh1750: Resolve compiler warning and make code more readable
        spi: Add call to spi_slave_abort() function when spidev driver is released
        staging: rtl8188eu: fix possible null dereference
        rtlwifi: prevent memory leak in rtl_usb_probe
        IB/iser: bound protection_sg size by data_sg size
        media: am437x-vpfe: Setting STD to current value is not an error
        media: i2c: ov2659: fix s_stream return value
        media: i2c: ov2659: Fix missing 720p register config
        media: ov6650: Fix stored frame format not in sync with hardware
        tools/power/cpupower: Fix initializer override in hsw_ext_cstates
        usb: renesas_usbhs: add suspend event support in gadget mode
        hwrng: omap3-rom - Call clk_disable_unprepare() on exit only if not idled
        regulator: max8907: Fix the usage of uninitialized variable in max8907_regulator_probe()
        media: flexcop-usb: fix NULL-ptr deref in flexcop_usb_transfer_init()
        samples: pktgen: fix proc_cmd command result check logic
        mwifiex: pcie: Fix memory leak in mwifiex_pcie_init_evt_ring
        media: ti-vpe: vpe: fix a v4l2-compliance warning about invalid pixel format
        media: ti-vpe: vpe: fix a v4l2-compliance failure about frame sequence number
        media: ti-vpe: vpe: Make sure YUYV is set as default format
        extcon: sm5502: Reset registers during initialization
        x86/mm: Use the correct function type for native_set_fixmap()
        perf report: Add warning when libunwind not compiled in
        iio: adc: max1027: Reset the device at probe time
        Bluetooth: hci_core: fix init for HCI_USER_CHANNEL
        drm/gma500: fix memory disclosures due to uninitialized bytes
        x86/ioapic: Prevent inconsistent state when moving an interrupt
        arm64: psci: Reduce the waiting time for cpu_psci_cpu_kill()
        libata: Ensure ata_port probe has completed before detach
        pinctrl: sh-pfc: sh7734: Fix duplicate TCLK1_B
        bnx2x: Fix PF-VF communication over multi-cos queues.
        spi: img-spfi: fix potential double release
        rtlwifi: fix memory leak in rtl92c_set_fw_rsvdpagepkt()
        perf probe: Fix to find range-only function instance
        perf probe: Fix to list probe event with correct line number
        perf probe: Walk function lines in lexical blocks
        perf probe: Fix to probe an inline function which has no entry pc
        perf probe: Fix to show ranges of variables in functions without entry_pc
        perf probe: Fix to show inlined function callsite without entry_pc
        perf probe: Skip overlapped location on searching variables
        perf probe: Return a better scope DIE if there is no best scope
        perf probe: Fix to show calling lines of inlined functions
        perf probe: Skip end-of-sequence and non statement lines
        perf probe: Filter out instances except for inlined subroutine and subprogram
        ath10k: fix get invalid tx rate for Mesh metric
        media: pvrusb2: Fix oops on tear-down when radio support is not present
        media: si470x-i2c: add missed operations in remove
        EDAC/ghes: Fix grain calculation
        spi: pxa2xx: Add missed security checks
        ASoC: rt5677: Mark reg RT5677_PWR_ANLG2 as volatile
        parport: load lowlevel driver if ports not found
        cpufreq: Register drivers only after CPU devices have been registered
        x86/crash: Add a forward declaration of struct kimage
        spi: tegra20-slink: add missed clk_unprepare
        btrfs: don't prematurely free work in end_workqueue_fn()
        iwlwifi: check kasprintf() return value
        fbtft: Make sure string is NULL terminated
        crypto: sun4i-ss - Fix 64-bit size_t warnings on sun4i-ss-hash.c
        crypto: vmx - Avoid weird build failures
        libtraceevent: Fix memory leakage in copy_filter_type
        net: phy: initialise phydev speed and duplex sanely
        Revert "mmc: sdhci: Fix incorrect switch to HS mode"
        usb: xhci: Fix build warning seen with CONFIG_PM=n
        btrfs: do not call synchronize_srcu() in inode_tree_del
        btrfs: return error pointer from alloc_test_extent_buffer
        btrfs: abort transaction after failed inode updates in create_subvol
        Btrfs: fix removal logic of the tree mod log that leads to use-after-free issues
        ALSA: pcm: Avoid possible info leaks from PCM stream buffers
        af_packet: set defaule value for tmo
        fjes: fix missed check in fjes_acpi_add
        mod_devicetable: fix PHY module format
        net: hisilicon: Fix a BUG trigered by wrong bytes_compl
        net: nfc: nci: fix a possible sleep-in-atomic-context bug in nci_uart_tty_receive()
        net: qlogic: Fix error paths in ql_alloc_large_buffers()
        net: usb: lan78xx: Fix suspend/resume PHY register access error
        sctp: fully initialize v4 addr in some functions
        net: dst: Force 4-byte alignment of dst_metrics
        usbip: Fix error path of vhci_recv_ret_submit()
        USB: EHCI: Do not return -EPIPE when hub is disconnected
        platform/x86: hp-wmi: Make buffer for HPWMI_FEATURE2_QUERY 128 bytes
        staging: comedi: gsc_hpdi: check dma_alloc_coherent() return value
        ext4: check for directory entries too close to block end
        powerpc/irq: fix stack overflow verification
        mmc: sdhci-of-esdhc: fix P2020 errata handling
        perf probe: Fix to show function entry line as probe-able
        scsi: mpt3sas: Fix clear pending bit in ioctl status
        scsi: lpfc: Fix locking on mailbox command completion
        Input: atmel_mxt_ts - disable IRQ across suspend
        iommu/tegra-smmu: Fix page tables in > 4 GiB memory
        scsi: target: compare full CHAP_A Algorithm strings
        scsi: lpfc: Fix SLI3 hba in loop mode not discovering devices
        scsi: csiostor: Don't enable IRQs too early
        powerpc/pseries: Mark accumulate_stolen_time() as notrace
        dma-debug: add a schedule point in debug_dma_dump_mappings()
        clocksource/drivers/asm9260: Add a check for of_clk_get
        powerpc/security/book3s64: Report L1TF status in sysfs
        jbd2: Fix statistics for the number of logged blocks
        scsi: tracing: Fix handling of TRANSFER LENGTH == 0 for READ(6) and WRITE(6)
        scsi: lpfc: Fix duplicate unreg_rpi error in port offline flow
        clk: qcom: Allow constant ratio freq tables for rcg
        irqchip/irq-bcm7038-l1: Enable parent IRQ if necessary
        irqchip: ingenic: Error out if IRQ domain creation failed
        fs/quota: handle overflows of sysctl fs.quota.* and report as unsigned long
        scsi: lpfc: fix: Coverity: lpfc_cmpl_els_rsp(): Null pointer dereferences
        scsi: ufs: fix potential bug which ends in system hang
        powerpc/pseries/cmm: Implement release() function for sysfs device
        powerpc/security: Fix wrong message when RFI Flush is disable
        clk: pxa: fix one of the pxa RTC clocks
        bcache: at least try to shrink 1 node in bch_mca_scan()
        HID: Improve Windows Precision Touchpad detection.
        ext4: work around deleting a file with i_nlink == 0 safely
        scsi: pm80xx: Fix for SATA device discovery
        scsi: target: iscsi: Wait for all commands to finish before freeing a session
        gpio: mpc8xxx: Don't overwrite default irq_set_type callback
        scripts/kallsyms: fix definitely-lost memory leak
        cdrom: respect device capabilities during opening action
        perf regs: Make perf_reg_name() return "unknown" instead of NULL
        libfdt: define INT32_MAX and UINT32_MAX in libfdt_env.h
        s390/cpum_sf: Check for SDBT and SDB consistency
        ocfs2: fix passing zero to 'PTR_ERR' warning
        kernel: sysctl: make drop_caches write-only
        ALSA: hda - Downgrade error message for single-cmd fallback
        Make filldir[64]() verify the directory entry filename is valid
        filldir[64]: remove WARN_ON_ONCE() for bad directory entries
        net: davinci_cpdma: use dma_addr_t for DMA address
        netfilter: ebtables: compat: reject all padding in matches/watchers
        6pack,mkiss: fix possible deadlock
        netfilter: bridge: make sure to pull arp header in br_nf_forward_arp()
        net: icmp: fix data-race in cmp_global_allow()
        hrtimer: Annotate lockless access to timer->state
        mmc: sdhci: Update the tuning failed messages to pr_debug level
        tcp: do not send empty skb from tcp_write_xmit()
        Linux 4.4.208

Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>

Conflicts:
	arch/arm64/kernel/psci.c
	kernel/time/hrtimer.c
2020-01-05 01:10:58 -07:00
Masahiro Yamada
5f9d7ba584 scripts/kallsyms: fix definitely-lost memory leak
[ Upstream commit 21915eca088dc271c970e8351290e83d938114ac ]

build_initial_tok_table() overwrites unused sym_entry to shrink the
table size. Before the entry is overwritten, table[i].sym must be freed
since it is malloc'ed data.

This fixes the 'definitely lost' report from valgrind. I ran valgrind
against x86_64_defconfig of v5.4-rc8 kernel, and here is the summary:

[Before the fix]

  LEAK SUMMARY:
     definitely lost: 53,184 bytes in 2,874 blocks

[After the fix]

  LEAK SUMMARY:
     definitely lost: 0 bytes in 0 blocks

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-01-04 13:34:36 +01:00
Nathan Chancellor
5634273c61 Merge 4.4.207 into android-msm-wahoo-4.4
Changes in 4.4.207: (163 commits)
        x86/apic/32: Avoid bogus LDR warnings
        usb: gadget: u_serial: add missing port entry locking
        tty: serial: msm_serial: Fix flow control
        x86/PCI: Avoid AMD FCH XHCI USB PME# from D0 defect
        serial: serial_core: Perform NULL checks for break_ctl ops
        serial: ifx6x60: add missed pm_runtime_disable
        autofs: fix a leak in autofs_expire_indirect()
        NFC: nxp-nci: Fix NULL pointer dereference after I2C communication error
        Input: cyttsp4_core - fix use after free bug
        ALSA: pcm: Fix stream lock usage in snd_pcm_period_elapsed()
        rsxx: add missed destroy_workqueue calls in remove
        net: ep93xx_eth: fix mismatch of request_mem_region in remove
        serial: core: Allow processing sysrq at port unlock time
        iwlwifi: mvm: Send non offchannel traffic via AP sta
        ARM: 8813/1: Make aligned 2-byte getuser()/putuser() atomic on ARMv6+
        extcon: max8997: Fix lack of path setting in USB device mode
        clk: rockchip: fix rk3188 sclk_smc gate data
        clk: rockchip: fix rk3188 sclk_mac_lbtest parameter ordering
        dlm: fix missing idr_destroy for recover_idr
        MIPS: SiByte: Enable ZONE_DMA32 for LittleSur
        scsi: zfcp: drop default switch case which might paper over missing case
        pinctrl: qcom: ssbi-gpio: fix gpio-hog related boot issues
        Staging: iio: adt7316: Fix i2c data reading, set the data field
        regulator: Fix return value of _set_load() stub
        MIPS: OCTEON: octeon-platform: fix typing
        math-emu/soft-fp.h: (_FP_ROUND_ZERO) cast 0 to void to fix warning
        rtc: max8997: Fix the returned value in case of error in 'max8997_rtc_read_alarm()'
        rtc: dt-binding: abx80x: fix resistance scale
        ARM: dts: exynos: Use Samsung SoC specific compatible for DWC2 module
        dmaengine: coh901318: Fix a double-lock bug
        dmaengine: coh901318: Remove unused variable
        ACPI: fix acpi_find_child_device() invocation in acpi_preset_companion()
        dma-mapping: fix return type of dma_set_max_seg_size()
        altera-stapl: check for a null key before strcasecmp'ing it
        serial: imx: fix error handling in console_setup
        i2c: imx: don't print error message on probe defer
        dlm: NULL check before kmem_cache_destroy is not needed
        nfsd: fix a warning in __cld_pipe_upcall()
        ARM: OMAP1/2: fix SoC name printing
        net/x25: fix called/calling length calculation in x25_parse_address_block
        net/x25: fix null_x25_address handling
        ARM: dts: mmp2: fix the gpio interrupt cell number
        tcp: fix off-by-one bug on aborting window-probing socket
        modpost: skip ELF local symbols during section mismatch check
        kbuild: fix single target build for external module
        ARM: dts: pxa: clean up USB controller nodes
        dlm: fix invalid cluster name warning
        powerpc/math-emu: Update macros from GCC
        MIPS: OCTEON: cvmx_pko_mem_debug8: use oldest forward compatible definition
        nfsd: Return EPERM, not EACCES, in some SETATTR cases
        mlx4: Use snprintf instead of complicated strcpy
        ARM: dts: sunxi: Fix PMU compatible strings
        sched/fair: Scale bandwidth quota and period without losing quota/period ratio precision
        fuse: verify nlink
        fuse: verify attributes
        ALSA: pcm: oss: Avoid potential buffer overflows
        Input: goodix - add upside-down quirk for Teclast X89 tablet
        CIFS: Fix NULL-pointer dereference in smb2_push_mandatory_locks
        CIFS: Fix SMB2 oplock break processing
        tty: vt: keyboard: reject invalid keycodes
        can: slcan: Fix use-after-free Read in slcan_open
        jbd2: Fix possible overflow in jbd2_log_space_left()
        drm/i810: Prevent underflow in ioctl
        KVM: x86: do not modify masked bits of shared MSRs
        KVM: x86: fix presentation of TSX feature in ARCH_CAPABILITIES
        crypto: crypto4xx - fix double-free in crypto4xx_destroy_sdr
        crypto: user - fix memory leak in crypto_report
        spi: atmel: Fix CS high support
        RDMA/qib: Validate ->show()/store() callbacks before calling them
        thermal: Fix deadlock in thermal thermal_zone_device_check
        KVM: x86: fix out-of-bounds write in KVM_GET_EMULATED_CPUID (CVE-2019-19332)
        appletalk: Fix potential NULL pointer dereference in unregister_snap_client
        appletalk: Set error code if register_snap_client failed
        ALSA: hda - Fix pending unsol events at shutdown
        sched/core: Allow putting thread_info into task_struct
        sched/core: Add try_get_task_stack() and put_task_stack()
        sched/core, x86: Make struct thread_info arch specific again
        fs/proc: Stop reporting eip and esp in /proc/PID/stat
        fs/proc: Report eip/esp in /prod/PID/stat for coredumping
        proc: fix coredump vs read /proc/*/stat race
        fs/proc/array.c: allow reporting eip/esp for all coredumping threads
        usb: gadget: configfs: Fix missing spin_lock_init()
        usb: Allow USB device to be warm reset in suspended state
        staging: rtl8188eu: fix interface sanity check
        staging: rtl8712: fix interface sanity check
        staging: gigaset: fix general protection fault on probe
        staging: gigaset: fix illegal free on probe errors
        staging: gigaset: add endpoint-type sanity check
        xhci: Increase STS_HALT timeout in xhci_suspend()
        iio: humidity: hdc100x: fix IIO_HUMIDITYRELATIVE channel reporting
        USB: atm: ueagle-atm: add missing endpoint check
        USB: idmouse: fix interface sanity checks
        USB: serial: io_edgeport: fix epic endpoint lookup
        USB: adutux: fix interface sanity check
        usb: core: urb: fix URB structure initialization function
        usb: mon: Fix a deadlock in usbmon between mmap and read
        mtd: spear_smi: Fix Write Burst mode
        virtio-balloon: fix managed page counts when migrating pages between zones
        btrfs: check page->mapping when loading free space cache
        btrfs: Remove btrfs_bio::flags member
        rtlwifi: rtl8192de: Fix missing code to retrieve RX buffer address
        rtlwifi: rtl8192de: Fix missing callback that tests for hw release of buffer
        rtlwifi: rtl8192de: Fix missing enable interrupt flag
        lib: raid6: fix awk build warnings
        workqueue: Fix spurious sanity check failures in destroy_workqueue()
        workqueue: Fix pwq ref leak in rescuer_thread()
        ASoC: Jack: Fix NULL pointer dereference in snd_soc_jack_report
        blk-mq: avoid sysfs buffer overflow with too many CPU cores
        cgroup: pids: use atomic64_t for pids->limit
        ar5523: check NULL before memcpy() in ar5523_cmd()
        media: bdisp: fix memleak on release
        media: radio: wl1273: fix interrupt masking on release
        cpuidle: Do not unset the driver if it is there already
        ACPI: OSL: only free map once in osl.c
        ACPI: bus: Fix NULL pointer check in acpi_bus_get_private_data()
        ACPI: PM: Avoid attaching ACPI PM domain to certain devices
        pinctrl: samsung: Fix device node refcount leaks in S3C24xx wakeup controller init
        pinctrl: samsung: Fix device node refcount leaks in init code
        powerpc: Allow 64bit VDSO __kernel_sync_dicache to work across ranges >4GB
        video/hdmi: Fix AVI bar unpack
        quota: Check that quota is not dirty before release
        quota: fix livelock in dquot_writeback_dquots
        scsi: zfcp: trace channel log even for FCP command responses
        usb: xhci: only set D3hot for pci device
        xhci: Fix memory leak in xhci_add_in_port()
        xhci: make sure interrupts are restored to correct state
        iio: adis16480: Add debugfs_reg_access entry
        Btrfs: fix negative subv_writers counter and data space leak after buffered write
        scsi: lpfc: Cap NPIV vports to 256
        e100: Fix passing zero to 'PTR_ERR' warning in e100_load_ucode_wait
        x86/MCE/AMD: Turn off MC4_MISC thresholding on all family 0x15 models
        ARM: dts: omap3-tao3530: Fix incorrect MMC card detection GPIO polarity
        pinctrl: samsung: Fix device node refcount leaks in S3C64xx wakeup controller init
        scsi: qla2xxx: Fix DMA unmap leak
        scsi: qla2xxx: Fix qla24xx_process_bidir_cmd()
        scsi: qla2xxx: Always check the qla2x00_wait_for_hba_online() return value
        powerpc: Fix vDSO clock_getres()
        mm/shmem.c: cast the type of unmap_start to u64
        blk-mq: make sure that line break can be printed
        workqueue: Fix missing kfree(rescuer) in destroy_workqueue()
        sunrpc: fix crash when cache_head become valid before update
        kernel/module.c: wakeup processes in module_wq on module unload
        net: bridge: deny dev_set_mac_address() when unregistering
        tcp: md5: fix potential overestimation of TCP option space
        tipc: fix ordering of tipc module init and exit routine
        inet: protect against too small mtu values.
        tcp: fix rejected syncookies due to stale timestamps
        tcp: tighten acceptance of ACKs not matching a child socket
        tcp: Protect accesses to .ts_recent_stamp with {READ,WRITE}_ONCE()
        net: ethernet: ti: cpsw: fix extra rx interrupt
        PCI: Fix Intel ACS quirk UPDCR register address
        PCI/MSI: Fix incorrect MSI-X masking on resume
        xtensa: fix TLB sanity checker
        CIFS: Respect O_SYNC and O_DIRECT flags during reconnect
        ARM: dts: s3c64xx: Fix init order of clock providers
        ARM: tegra: Fix FLOW_CTLR_HALT register clobbering by tegra_resume()
        vfio/pci: call irq_bypass_unregister_producer() before freeing irq
        dm btree: increase rebalance threshold in __rebalance2()
        drm/radeon: fix r1xx/r2xx register checker for POT textures
        xhci: fix USB3 device initiated resume race with roothub autosuspend
        net: stmmac: use correct DMA buffer size in the RX descriptor
        net: stmmac: don't stop NAPI processing when dropping a packet
        Linux 4.4.207

Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>

Conflicts:
	include/linux/thread_info.h
2019-12-24 13:20:07 -07:00