Commit graph android_kernel_motorola_sm6375/include/uapi
Author SHA1 Message Date
Bojun Pan
76a1edce0e msm: ipa: Configure IPA pipes and group resources for Lahaina IPA 4.9
Lahaina uses different pipe endpoint mappings and group resources.
This change captures these configurations.

Change-Id: Ib45848bb52d9a6680b38b4305cbab38c0b00e7d2
Acked-by: Priyadarshini Rajagopal <prajagop@qti.qualcomm.com>
Signed-off-by: Bojun Pan <bojunp@codeaurora.org>
2019-10-04 12:19:50 -07:00
Akash Asthana
6d7a4ec947 serial: msm_geni_serial:Add snapshot of serial UART driver
This snapshot is taken as of msm-4.19 'commit <c01ec6b5c60a8>'
'("geni-qcom-se: Reduce the ab of QUP Core2x clock")'.

Change-Id: Ia40e9d48bca27bb253cbf73ad9fcde9d087820d3
Signed-off-by: Akash Asthana <akashast@codeaurora.org>
2019-10-03 19:18:17 +05:30
qctecmdr
edb7abf4fb Merge "msm: ipa3: SRAM NAT, DDR NAT, back-and-forth NAT" 2019-10-02 06:47:54 -07:00
qctecmdr
1dbe00d010 Merge "msm: kgsl: Add the kgsl uapi header file" 2019-10-01 14:23:21 -07:00
Perry Randise
b8da68935f msm: ipa3: SRAM NAT, DDR NAT, back-and-forth NAT
A new application level feature has NAT running out of SRAM, DDR, or
both. The addtion of just this feature's header to the kernel will
allow it to be propagated to older kernels, such that they can be
compatible (in terms of structure size) with the new application level
feature.

Change-Id: I16b5bfaa1156c69e0a6ae0c2ca4be416a283d049
CRs-Fixed: 2437567
Signed-off-by: Perry Randise <prandise@codeaurora.org>
2019-10-01 13:03:44 -04:00
Harshdeep Dhatt
c3f8417829 msm: kgsl: Add the kgsl uapi header file
Add the UAPI header file for the KGSL Adreno GPU driver.

Change-Id: I7de3f8d2bcb39cefb26cd0720388108578d158e4
Signed-off-by: Harshdeep Dhatt <hdhatt@codeaurora.org>
2019-09-26 14:34:45 -06:00
Skylar Chang
566b07e021 ipa3: add hasting AP+STA quota/stats support
Add uc event ring to have ipa-uc monitor the
quota and bw-voting threshold to generate the
irq to ipa-driver to inform if quota or and bw
threshold is hit.

Change-Id: I7ce9c1a0048016fc6b6248a1632365f51717422c
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
2019-09-26 10:55:19 -07:00
Isaac J. Manjarres
18fe521583 ion: msm: Update the heap IDs as per the ION core standards
Update the heap IDs as per the standard imposed by the ION
core (i.e.):

SYSTEM_HEAP: (1 << 0)
SYSTEM_CONTIG_HEAP: (1 << 1)
CARVEOUT_HEAPS: [(1 << 2), (1 << 6)]
CHUNK_HEAP: (1 << 7)
CMA_HEAPS: [(1 << 8), (1 << 15)]
VENDOR_HEAPS: [(1 << 16), (1 << 31)]

Since the heap IDs are now bitmasks, as opposed to offsets
within a bitmask, update the userspace ION_HEAP() macro/as
well as the heap ID treatment in the kernel to account for
this as well.

Change-Id: I6b7ca1caf89dda03dfb499a362db863168c2753c
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
2019-09-24 15:25:38 -07:00
Isaac J. Manjarres
5baf1404c7 ion: msm: Define heap IDs as constants in their own file
The ION heap IDs are also needed by the device-tree to
provide the kernel with the heap ID for the heap that
a device-tree entry describes. Currently, these IDs are
hard-coded, which can be error-prone when updating the
heap IDs.

Thus, create a header that can also be accessed by the
device-tree and userspace, and move the heap IDs to that
header. This makes it so that the device-tree can now use
the constants defined in the header, instead of hard-coded
IDs, making updates significantly easier.

Change-Id: I58b1aae9924504f2b20e159b9be8da7a2ee8d248
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
2019-09-24 15:25:29 -07:00
Isaac J. Manjarres
5d45437535 ion: msm: Relocate MSM ION header directly to include/uapi/linux
Instead of using a symlink to point to the MSM ION header,
place it directly in the include/uapi/linux path.

Change-Id: Id2a91adb4bdfc2c03e8eb535882734603ccd0f94
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
2019-09-23 09:47:34 -07:00
Raghavendra Rao Ananta
2190391b72 Merge remote-tracking branch 'remotes/origin/tmp-9cd2d925fbd9' into msm-lahaina
* remotes/origin/tmp-9cd2d925fbd9:
  ABI update for 5.3-final
  Linux 5.3
  Revert "ext4: make __ext4_get_inode_loc plug"
  Revert "vhost: block speculation of translated descriptors"
  KVM: x86/mmu: Reintroduce fast invalidate/zap for flushing memslot
  KVM: x86: work around leak of uninitialized stack contents
  KVM: nVMX: handle page fault in vmread
  riscv: modify the Image header to improve compatibility with the ARM64 header
  cdc_ether: fix rndis support for Mediatek based smartphones
  sctp: destroy bucket if failed to bind addr
  sctp: remove redundant assignment when call sctp_get_port_local
  sctp: change return type of sctp_get_port_local
  ixgbevf: Fix secpath usage for IPsec Tx offload
  mmc: tmio: Fixup runtime PM management during remove
  mmc: tmio: Fixup runtime PM management during probe
  Revert "mmc: tmio: move runtime PM enablement to the driver implementations"
  cgroup: freezer: fix frozen state inheritance
  kselftests: cgroup: add freezer mkdir test
  Revert "drm/i915/userptr: Acquire the page lock around set_page_dirty()"
  fork: block invalid exit signals with clone3()
  KVM: s390: Do not leak kernel stack data in the KVM_S390_INTERRUPT ioctl
  sctp: Fix the link time qualifier of 'sctp_ctrlsock_exit()'
  ixgbe: Fix secpath usage for IPsec TX offload.
  Btrfs: fix unwritten extent buffers and hangs on future writeback attempts
  Btrfs: fix assertion failure during fsync and use of stale transaction
  ANDROID: cuttlefish: overlayfs: regression
  KVM: s390: kvm_s390_vm_start_migration: check dirty_bitmap before using it as target for memset()
  net: qrtr: fix memort leak in qrtr_tun_write_iter
  net: Fix null de-reference of device refcount
  ipv6: Fix the link time qualifier of 'ping_v6_proc_exit_net()'
  tun: fix use-after-free when register netdev failed
  pinctrl: aspeed: Fix spurious mux failures on the AST2500
  tcp: fix tcp_ecn_withdraw_cwr() to clear TCP_ECN_QUEUE_CWR
  vhost: make sure log_num < in_num
  vhost: block speculation of translated descriptors
  ixgbe: fix double clean of Tx descriptors with xdp
  ixgbe: Prevent u8 wrapping of ITR value to something less than 10us
  mlx4: fix spelling mistake "veify" -> "verify"
  net: hns3: fix spelling mistake "undeflow" -> "underflow"
  net: lmc: fix spelling mistake "runnin" -> "running"
  NFC: st95hf: fix spelling mistake "receieve" -> "receive"
  net/rds: An rds_sock is added too early to the hash table
  mac80211: Do not send Layer 2 Update frame before authorization
  Revert "mmc: sdhci: Remove unneeded quirk2 flag of O2 SD host controller"
  Revert "mmc: bcm2835: Terminate timeout work synchronously"
  gpiolib: acpi: Add gpiolib_acpi_run_edge_events_on_boot option and blacklist
  lib/Kconfig: fix OBJAGG in lib/ menu structure
  net: sonic: replace dev_kfree_skb in sonic_send_packet
  wimax: i2400: fix memory leak
  sctp: fix the missing put_user when dumping transport thresholds
  sch_hhf: ensure quantum and hhf_non_hh_weight are non-zero
  net_sched: check cops->tcf_block in tc_bind_tclass()
  ABI: ion: Update abi for ion-core changes
  staging: ion: export ion_free() for ion_heaps.
  gpiolib: of: fix fallback quirks handling
  bridge/mdb: remove wrong use of NLM_F_MULTI
  net/ibmvnic: Fix missing { in __ibmvnic_reset
  staging: ion: uapi: match the existing heap type enums
  staging: ion: fix off-by-1 error in heap search
  drm/lima: fix lima_gem_wait() return value
  virtio_ring: fix unmap of indirect descriptors
  drm/i915: Restore relaxed padding (OCL_OOB_SUPPRES_ENABLE) for skl+
  drm/i915: Limit MST to <= 8bpc once again
  gpio: fix line flag validation in lineevent_create
  gpio: fix line flag validation in linehandle_create
  gpio: mockup: add missing single_release()
  Linux 5.3-rc8
  include/linux/compiler.h: fix Oops for Clang-compiled kernels
  x86/timer: Force PIT initialization when !X86_FEATURE_ARAT
  UPSTREAM: ipv6: addrconf_f6i_alloc - fix non-null pointer check to !IS_ERR()
  UPSTREAM: net-ipv6: fix excessive RTF_ADDRCONF flag on ::1/128 local route (and others)
  Revert "x86/apic: Include the LDR when clearing out APIC registers"
  ipc: fix sparc64 ipc() wrapper
  Documentation/process: Add Qualcomm process ambassador for hardware security issues
  nfp: flower: cmsg rtnl locks can timeout reify messages
  net: gso: Fix skb_segment splat when splitting gso_size mangled skb having linear-headed frag_list
  ipv6: addrconf_f6i_alloc - fix non-null pointer check to !IS_ERR()
  isdn/capi: check message length in capi_write()
  net/ibmvnic: free reset work of removed device from queue
  net: phylink: Fix flow control resolution
  net/hamradio/6pack: Fix the size of a sk_buff used in 'sp_bump()'
  Input: elan_i2c - remove Lenovo Legion Y7000 PnpID
  ipc: fix semtimedop for generic 32-bit architectures
  ANDROID: update ABI dump for interconnect patches
  UPSTREAM: interconnect: qcom: Add tagging and wake/sleep support for sdm845
  UPSTREAM: interconnect: Add pre_aggregate() callback
  UPSTREAM: interconnect: Add support for path tags
  drivers: qcom: rpmh-rsc: modularize RSC controller driver
  drm/modes: Make the whitelist more const
  MAINTAINERS: add myself as maintainer for xilinx axiethernet driver
  net: sched: fix reordering issues
  forcedeth: use per cpu to collect xmit/recv statistics
  net: sonic: return NETDEV_TX_OK if failed to map buffer
  Documentation/process/embargoed-hardware-issues: Microsoft ambassador
  soc: qcom: geni: Provide parameter error checking
  iommu/amd: Fix race in increase_address_space()
  iommu/amd: Flush old domains in kdump kernel
  x86/purgatory: Change compiler flags from -mcmodel=kernel to -mcmodel=large to fix kexec relocation errors
  perf/hw_breakpoint: Fix arch_hw_breakpoint use-before-initialization
  keys: Fix missing null pointer check in request_key_auth_describe()
  genirq: Prevent NULL pointer dereference in resend_irqs()
  drm/vmwgfx: Fix double free in vmw_recv_msg()
  bpf: fix precision tracking of stack slots
  net: Properly update v4 routes with v6 nexthop
  selftest: A few cleanups for fib_nexthops.sh
  ipv6: Fix RTA_MULTIPATH with nexthop objects
  net: sock_map, fix missing ulp check in sock hash case
  net: fixed_phy: Add forward declaration for struct gpio_desc;
  tipc: add NULL pointer check before calling kfree_rcu
  Revert "Bluetooth: validate BLE connection interval updates"
  Documentation/process: Add Google contact for embargoed hardware issues
  Documentation/process: Volunteer as the ambassador for Xen
  net-ipv6: fix excessive RTF_ADDRCONF flag on ::1/128 local route (and others)
  ANDROID: first pass cuttlefish GKI modularization
  sctp: use transport pf_retrans in sctp_do_8_2_transport_strike
  rxrpc: Fix misplaced traceline
  ANDROID: Catch rockpi4_defconfig up with gki_defconfig
  configfs: provide exclusion between IO and removals
  ABI: Update ABI
  ANDROID: GKI: enable CONFIG_TIPC for x86
  ANDROID: GKI: enable CONFIG_SPI for x86
  sched/core: Fix uclamp ABI bug, clean up and robustify sched_read_attr() ABI logic and code
  ANDROID: create build.configs for allmodconfig
  Bluetooth: bpa10x: change return value
  Bluetooth: hci_qca: disable irqs when spinlock is acquired
  Bluetooth: btrtl: Additional Realtek 8822CE Bluetooth devices
  powerpc/tm: Fix restoring FP/VMX facility incorrectly on interrupts
  powerpc/tm: Fix FP/VMX unavailable exceptions inside a transaction
  mm/balloon_compaction: suppress allocation warnings
  Revert "vhost: access vq metadata through kernel virtual address"
  vhost: Remove unnecessary variable
  virtio-net: lower min ring num_free for efficiency
  vhost/test: fix build for vhost test
  vhost/test: fix build for vhost test
  ALSA: hda/realtek - Fix the problem of two front mics on a ThinkCentre
  dmaengine: rcar-dmac: Fix DMACHCLR handling if iommu is mapped
  dmaengine: sprd: Fix the DMA link-list configuration
  netfilter: nf_flow_table: set default timeout after successful insertion
  netfilter: ctnetlink: honor IPS_OFFLOAD flag
  netfilter: nft_fib_netdev: Terminate rule eval if protocol=IPv6 and ipv6 module is disabled
  ABI: ion: Update abi for dma_buf_ops changes.
  ANDROID: staging: ion: Remove unnecessary ion heap ops
  ANDROID: staging: ion: Add support for heap-specific dma_buf_ops
  ANDROID: staging: ion: Fix uninitialized variable warning
  Revert "mmc: core: do not retry CMD6 in __mmc_switch()"
  rsi: fix a double free bug in rsi_91x_deinit()
  Revert "rt2800: enable TX_PIN_CFG_LNA_PE_ bits per band"
  rt2x00: clear up IV's on key removal
  iwlwifi: assign directly to iwl_trans->cfg in QuZ detection
  mwifiex: Fix three heap overflow at parsing element in cfg80211_ap_settings
  mt76: mt76x0e: disable 5GHz band for MT7630E
  mt76: mt76x0e: don't use hw encryption for MT7630E
  iommu/vt-d: Remove global page flush support
  sched/fair: Don't assign runtime for throttled cfs_rq
  ALSA: hda/realtek - Enable internal speaker & headset mic of ASUS UX431FL
  netfilter: nft_socket: fix erroneous socket assignment
  netfilter: bridge: Drops IPv6 packets if IPv6 module is not loaded
  configfs: new object reprsenting tree fragments
  configfs_register_group() shouldn't be (and isn't) called in rmdirable parts
  configfs: stash the data we need into configfs_buffer at open time
  ANDROID: update abi for 5.3-rc7
  net: stmmac: dwmac-sun8i: Variable "val" in function sun8i_dwmac_set_syscon() could be uninitialized
  x86/hyper-v: Fix overflow bug in fill_gva_list()
  NFS: Fix inode fileid checks in attribute revalidation code
  Linux 5.3-rc7
  ALSA: hda/realtek - Add quirk for HP Pavilion 15
  x86/uaccess: Don't leak the AC flags into __get_user() argument evaluation
  x86/boot: Preserve boot_params.secure_boot from sanitizing
  drm/nouveau/sec2/gp102: add missing MODULE_FIRMWAREs
  net: seeq: Fix the function used to release some memory in an error handling path
  enetc: Add missing call to 'pci_free_irq_vectors()' in probe and remove functions
  net: bcmgenet: use ethtool_op_get_ts_info()
  tc-testing: don't hardcode 'ip' in nsPlugin.py
  net: dsa: microchip: add KSZ8563 compatibility string
  dt-bindings: net: dsa: document additional Microchip KSZ8563 switch
  net: aquantia: fix out of memory condition on rx side
  net: aquantia: linkstate irq should be oneshot
  net: aquantia: reapply vlan filters on up
  net: aquantia: fix limit of vlan filters
  net: aquantia: fix removal of vlan 0
  net/sched: cbs: Set default link speed to 10 Mbps in cbs_set_port_rate
  taprio: Set default link speed to 10 Mbps in taprio_set_picos_per_byte
  taprio: Fix kernel panic in taprio_destroy
  net: dsa: microchip: fill regmap_config name
  tools/power turbostat: update version number
  tools/power turbostat: Add support for Hygon Fam 18h (Dhyana) RAPL
  tools/power turbostat: Fix caller parameter of get_tdp_amd()
  tools/power turbostat: Fix CPU%C1 display value
  tools/power turbostat: do not enforce 1ms
  tools/power turbostat: read from pipes too
  tools/power turbostat: Add Ice Lake NNPI support
  tools/power turbostat: rename has_hsw_msrs()
  tools/power turbostat: Fix Haswell Core systems
  tools/power turbostat: add Jacobsville support
  tools/power turbostat: fix buffer overrun
  tools/power turbostat: fix file descriptor leaks
  tools/power turbostat: fix leak of file descriptor on error return path
  tools/power turbostat: Make interval calculation per thread to reduce jitter
  tools/power turbostat: remove duplicate pc10 column
  tools/power x86_energy_perf_policy: Fix argument parsing
  tools/power: Fix typo in man page
  tools/power/x86: Enable compiler optimisations and Fortify by default
  tools/power x86_energy_perf_policy: Fix "uninitialized variable" warnings at -O2
  tracing: Correct kdoc formats
  ftrace/x86: Remove mcount() declaration
  tracing/probe: Fix null pointer dereference
  tracing: Make exported ftrace_set_clr_event non-static
  arm64: dts: renesas: hihope-common: Fix eMMC status
  clang-format: Update with the latest for_each macro list
  Partially revert "kfifo: fix kfifo_alloc() and kfifo_init()"
  mm: memcontrol: fix percpu vmstats and vmevents flush
  mm, memcg: do not set reclaim_state on soft limit reclaim
  mailmap: add aliases for Dmitry Safonov
  mm/z3fold.c: fix lock/unlock imbalance in z3fold_page_isolate
  mm, memcg: partially revert "mm/memcontrol.c: keep local VM counters in sync with the hierarchical ones"
  mm/zsmalloc.c: fix build when CONFIG_COMPACTION=n
  mm: memcontrol: flush percpu slab vmstats on kmem offlining
  rxrpc: Fix lack of conn cleanup when local endpoint is cleaned up [ver #2]
  net: stmmac: dwmac-rk: Don't fail if phy regulator is absent
  amd-xgbe: Fix error path in xgbe_mod_init()
  ftrace: Check for successful allocation of hash
  ftrace: Check for empty hash and comment the race with registering probes
  ftrace: Fix NULL pointer dereference in t_probe_next()
  ABI: ion: update abi for ion core changes to heap ids.
  keys: ensure that ->match_free() is called in request_key_and_link()
  ANDROID: staging: ion: add support for consistent heap ids
  ANDROID: staging: ion: reserve specific heap ids for known heap types.
  ANDROID: staging: ion: move uapi/ion.h to uapi/linux/ion.h
  Revert "iommu/vt-d: Avoid duplicated pci dma alias consideration"
  ANDROID: refactor build.config files to remove duplication
  i2c: mediatek: disable zero-length transfers for mt8183
  i2c: iproc: Stop advertising support of SMBUS quick cmd
  MAINTAINERS: i2c mv64xxx: Update documentation path
  perf/x86/amd/ibs: Fix sample bias for dispatched micro-ops
  perf/x86/intel: Restrict period on Nehalem
  ALSA: hda/realtek - Fix overridden device-specific initialization
  drm/selftests: modes: Add more unit tests for the cmdline parser
  drm/modes: Introduce a whitelist for the named modes
  drm/modes: Fix the command line parser to take force options into account
  drm/modes: Add a switch to differentiate free standing options
  Revert "Bluetooth: btusb: driver to enable the usb-wakeup feature"
  mmc: sdhci-cadence: enable v4_mode to fix ADMA 64-bit addressing
  mmc: sdhci-sprd: clear the UHS-I modes read from registers
  mms: sdhci-sprd: add SDHCI_QUIRK_BROKEN_CARD_DETECTION
  mmc: sdhci-sprd: add SDHCI_QUIRK2_PRESET_VALUE_BROKEN
  mmc: sdhci-sprd: add get_ro hook function
  mmc: sdhci-sprd: fixed incorrect clock divider
  mmc: core: Fix init of SD cards reporting an invalid VDD range
  netfilter: nft_meta_bridge: Fix get NFT_META_BRI_IIFVPROTO in network byteorder
  ANDROID: update ABI dump
  scsi: lpfc: Raise config max for lpfc_fcp_mq_threshold variable
  ANDROID: gki_defconfig: enable CONFIG_QCOM_{COMMAND_DB,RPMH,PDC}
  i2c: piix4: Fix port selection for AMD Family 16h Model 30h
  ANDROID: gki_defconfig enable CONFIG_SPARSEMEM_VMEMMAP
  x86/mm/cpa: Prevent large page split when ftrace flips RW on kernel text
  i2c: designware: Synchronize IRQs when unregistering slave client
  i2c: i801: Avoid memory leak in check_acpi_smo88xx_device()
  i2c: make i2c_unregister_device() ERR_PTR safe
  nds32: Mark expected switch fall-throughs
  ARC: unwind: Mark expected switch fall-through
  soc: ixp4xx: Protect IXP4xx SoC drivers by ARCH_IXP4XX || COMPILE_TEST
  mac80211: Correctly set noencrypt for PAE frames
  mac80211: Don't memset RXCB prior to PAE intercept
  iwlwifi: pcie: handle switching killer Qu B0 NICs to C0
  netfilter: nf_flow_table: clear skb tstamp before xmit
  ALSA: hda - Fix potential endless loop at applying quirks
  mtd: hyperbus: fix dependency and build error
  drm/ingenic: Hardcode panel type to DPI
  ANDROID: update ABI for EFI
  ANDROID: gki_defconfig: Minimally enable EFI
  sky2: Disable MSI on yet another ASUS boards (P6Xxxx)
  nfp: flower: handle neighbour events on internal ports
  nfp: flower: prevent ingress block binds on internal ports
  r8152: remove calling netif_napi_del
  Revert "r8152: napi hangup fix after disconnect"
  net/sched: pfifo_fast: fix wrong dereference in pfifo_fast_enqueue
  tcp: inherit timestamp on mtu probe
  net: sched: act_sample: fix psample group handling on overwrite
  ibmvnic: Do not process reset during or after device removal
  ARM: 8901/1: add a criteria for pfn_valid of arm
  RISC-V: Fix FIXMAP area corruption on RV32 systems
  openvswitch: Clear the L4 portion of the key for "later" fragments.
  openvswitch: Properly set L4 keys on "later" IP fragments
  mld: fix memory leak in mld_del_delrec()
  net/sched: pfifo_fast: fix wrong dereference when qdisc is reset
  macb: Update compatibility string for SiFive FU540-C000
  macb: bindings doc: update sifive fu540-c000 binding
  fsi: scom: Don't abort operations for minor errors
  vmw_balloon: Fix offline page marking with compaction
  VMCI: Release resource if the work is already queued
  USB: cdc-wdm: fix race between write and disconnect due to flag abuse
  usb: host: xhci: rcar: Fix typo in compatible string matching
  usb: host: xhci-tegra: Set DMA mask correctly
  USB: storage: ums-realtek: Whitelist auto-delink support
  USB: storage: ums-realtek: Update module parameter description for auto_delink_en
  usb: host: ohci: fix a race condition between shutdown and irq
  usb: hcd: use managed device resources
  typec: tcpm: fix a typo in the comparison of pdo_max_voltage
  Documentation/process: Embargoed hardware security issues
  lkdtm/bugs: fix build error in lkdtm_EXHAUST_STACK
  mei: me: add Tiger Lake point LP device ID
  intel_th: pci: Add Tiger Lake support
  intel_th: pci: Add support for another Lewisburg PCH
  stm class: Fix a double free of stm_source_device
  MAINTAINERS: add entry for LICENSES and SPDX stuff
  libnvdimm/pfn: Fix namespace creation on misaligned addresses
  drm/komeda: Reordered the komeda's de-init functions
  x86/build: Add -Wnoaddress-of-packed-member to REALMODE_CFLAGS, to silence GCC9 build warning
  RDMA/siw: Fix IPv6 addr_list locking
  gpio: pca953x: use pca953x_read_regs instead of regmap_bulk_read
  gpio: pca953x: correct type of reg_direction
  rbd: restore zeroing past the overlap when reading from parent
  libceph: don't call crypto_free_sync_skcipher() on a NULL tfm
  KVM: arm/arm64: vgic-v2: Handle SGI bits in GICD_I{S,C}PENDR0 as WI
  tcp: remove empty skb from write queue in error cases
  net/rds: Fix info leak in rds6_inc_info_copy()
  net: fix skb use after free in netpoll
  net: dsa: tag_8021q: Future-proof the reserved fields in the custom VID
  Add genphy_c45_config_aneg() function to phy-c45.c
  ANDROID: sdcardfs: fix fall through in param parsing
  cifs: update internal module number
  cifs: replace various strncpy with strscpy and similar
  net_sched: fix a NULL pointer deref in ipt action
  cifs: Use kzfree() to zero out the password
  cifs: set domainName when a domain-key is used in multiuser
  KVM: x86: Don't update RIP or do single-step on faulting emulation
  KVM: x86: hyper-v: don't crash on KVM_GET_SUPPORTED_HV_CPUID when kvm_intel.nested is disabled
  drm/amdgpu: fix GFXOFF on Picasso and Raven2
  drm/amdgpu: Add APTX quirk for Dell Latitude 5495
  drm/amd/powerplay: correct Vega20 dpm level related settings
  netfilter: conntrack: make sysctls per-namespace again
  KVM: arm/arm64: vgic: Fix potential deadlock when ap_list is long
  kallsyms: Don't let kallsyms_lookup_size_offset() fail on retrieving the first symbol
  NFS: remove set but not used variable 'mapping'
  NFSv2: Fix write regression
  NFSv2: Fix eof handling
  mfd: rk808: Make PM function declaration static
  netfilter: nf_conntrack_ftp: Fix debug output
  netfilter: xt_physdev: Fix spurious error message in physdev_mt_check
  rxrpc: Use skb_unshare() rather than skb_cow_data()
  rxrpc: Use the tx-phase skb flag to simplify tracing
  rxrpc: Add a private skb flag to indicate transmission-phase skbs
  rxrpc: Abstract out rxtx ring cleanup
  rxrpc: Pass the input handler's data skb reference to the Rx ring
  rxrpc: Use info in skbuff instead of reparsing a jumbo packet
  rxrpc: Improve jumbo packet counting
  x86/boot/compressed/64: Fix missing initialization in find_trampoline_placement()
  drm/i915: Call dma_set_max_seg_size() in i915_driver_hw_probe()
  drm/i915/dp: Fix DSC enable code to use cpu_transcoder instead of encoder->type
  drm/i915: Don't deballoon unused ggtt drm_mm_node in linux guest
  drm/i915: Do not create a new max_bpc prop for MST connectors
  mfd: rk808: Mark pm functions __maybe_unused
  KVM: PPC: Book3S: Fix incorrect guest-to-user-translation error handling
  drm/powerplay: Fix Vega20 power reading again
  drm/powerplay: Fix Vega20 Average Power value v4
  bpf: handle 32-bit zext during constant blinding
  nfp: bpf: fix latency bug when updating stack index register
  Revert "um: remove uses of variable length arrays"
  Revert "um: irq: don't set the chip for all irqs"
  drm/amdgpu: fix dma_fence_wait without reference
  ANDROID: update ABI for CONFIG_NR_CPUS=32
  ANDROID: gki_defconfig: set CONFIG_NR_CPUS=32
  NFS: Fix writepage(s) error handling to not report errors twice
  NFS: Fix spurious EIO read errors
  pNFS/flexfiles: Don't time out requests on hard mounts
  SUNRPC: Handle connection breakages correctly in call_status()
  Revert "NFSv4/flexfiles: Abort I/O early if the layout segment was invalidated"
  SUNRPC: Handle EADDRINUSE and ENOBUFS correctly
  pNFS/flexfiles: Turn off soft RPC calls
  SUNRPC: Don't handle errors if the bind/connect succeeded
  x86/apic: Include the LDR when clearing out APIC registers
  x86/apic: Do not initialize LDR and DFR for bigsmp
  arc: prefer __section from compiler_attributes.h
  dt-bindings: IDU-intc: Add support for edge-triggered interrupts
  dt-bindings: IDU-intc: Clean up documentation
  ARCv2: IDU-intc: Add support for edge-triggered interrupts
  ALSA: oxfw: fix to handle correct stream for PCM playback
  uprobes/x86: Fix detection of 32-bit user mode
  x86/apic: Fix arch_dynirq_lower_bound() bug for DT enabled machines
  r8152: Set memory to all 0xFFs on failed reg reads
  openvswitch: Fix conntrack cache with timeout
  ipv4: mpls: fix mpls_xmit for iptunnel
  nexthop: Fix nexthop_num_path for blackhole nexthops
  ALSA: seq: Fix potential concurrent access to the deleted pool
  net: rds: add service level support in rds-info
  net: route dump netlink NLM_F_MULTI flag missing
  s390/qeth: reject oversized SNMP requests
  sock: fix potential memory leak in proto_register()
  MAINTAINERS: Add phylink keyword to SFF/SFP/SFP+ MODULE SUPPORT
  xfrm/xfrm_policy: fix dst dev null pointer dereference in collect_md mode
  ipv4/icmp: fix rt dst dev null pointer dereference
  openvswitch: Fix log message in ovs conntrack
  bpf: allow narrow loads of some sk_reuseport_md fields with offset > 0
  bpf: fix use after free in prog symbol exposure
  bpf: fix precision tracking in presence of bpf2bpf calls
  flow_dissector: Fix potential use-after-free on BPF_PROG_DETACH
  Revert "r8169: remove not needed call to dma_sync_single_for_device"
  ipv6: propagate ipv6_add_dev's error returns out of ipv6_find_idev
  batman-adv: Only read OGM2 tvlv_len after buffer len check
  batman-adv: Only read OGM tvlv_len after buffer len check
  drm/komeda: Add missing of_node_get() call
  drm/komeda: Clean warning 'komeda_component_add' might be a candidate for 'gnu_printf'
  drm/komeda: Fix warning -Wunused-but-set-variable
  drm/komeda: Fix error: not allocating enough data 1592 vs 1584
  ARM: 8897/1: check stmfd instruction using right shift
  ARM: 8874/1: mm: only adjust sections of valid mm structures
  drm/virtio: use virtio_max_dma_size
  drm/omap: Fix port lookup for SDI output
  drm/qxl: get vga ioports
  net/ncsi: Fix the payload copying for the request coming from Netlink
  qed: Add cleanup in qed_slowpath_start()
  ocelot_ace: fix action of trap
  net/mlx5e: Remove ethernet segment from dump WQE
  net/mlx5e: Add num bytes metadata to WQE info
  net/mlx5: Fix delay in fw fatal report handling due to fw report
  net/mlx5: Fix crdump chunks print
  mmc: sdhci-of-at91: add quirk for broken HS200
  ALSA: usb-audio: Check mixer unit bitmap yet more strictly
  crypto: ccp - Ignore unconfigured CCP device on suspend/resume
  gve: Copy and paste bug in gve_get_stats()
  net: fix icmp_socket_deliver argument 2 input
  ipv6/addrconf: allow adding multicast addr if IFA_F_MCAUTOJOIN is set
  net: dsa: bcm_sf2: Do not configure PHYLINK on CPU port
  net: cpsw: fix NULL pointer exception in the probe error path
  trivial: netns: fix typo in 'struct net.passive' description
  ALSA: line6: Fix memory leak at line6_init_pcm() error path
  usb-storage: Add new JMS567 revision to unusual_devs
  usb: chipidea: udc: don't do hardware access if gadget has stopped
  usbtmc: more sanity checking for packet size
  usb: udc: lpc32xx: silence fall-through warning
  selftests/bpf: install files test_xdp_vlan.sh
  selftests/bpf: add config fragment BPF_JIT
  selftests/bpf: fix test_btf_dump with O=
  selftests/bpf: fix test_cgroup_storage on s390
  Revert "mmc: sdhci-tegra: drop ->get_ro() implementation"
  Revert "cfg80211: fix processing world regdomain when non modular"
  cfg80211: Fix Extended Key ID key install checks
  mac80211: fix possible sta leak
  ALSA: usb-audio: Fix invalid NULL check in snd_emuusb_set_samplerate()
  net: fix __ip_mc_inc_group usage
  net/ncsi: Ensure 32-bit boundary for data cksum
  net/smc: make sure EPOLLOUT is raised
  xdp: unpin xdp umem pages in error path
  iwlwifi: pcie: fix recognition of QuZ devices
  iwlwifi: pcie: don't switch FW to qnj when ax201 is detected
  iwlwifi: pcie: fix the byte count table format for 22560 devices
  iwlwifi: mvm: Allow multicast data frames only when associated
  rt2x00: clear IV's on start to fix AP mode regression
  mt76: mt76x0u: do not reset radio on resume
  dmaengine: ti: omap-dma: Add cleanup in omap_dma_probe()
  dmaengine: ti: dma-crossbar: Fix a memory leak bug
  ALSA: hda/ca0132 - Add new SBZ quirk
  ALSA: usb-audio: Add implicit fb quirk for Behringer UFX1604
  xfrm: policy: avoid warning splat when merging nodes
  nfp: flower: verify that block cb is not busy before binding
  Kconfig: Fix the reference to the IDT77105 Phy driver in the description of ATM_NICSTAR_USE_IDT77105
  MAINTAINERS: net_failover: Fix typo in a filepath
  ipv6: Fix return value of ipv6_mc_may_pull() for malformed packets
  tcp: make sure EPOLLOUT wont be missed
  ALSA: hda - Fixes inverted Conexant GPIO mic mute led
  NFS: On fatal writeback errors, we need to call nfs_inode_remove_request()
  NFS: Fix initialisation of I/O result struct in nfs_pgio_rpcsetup
  NFS: Ensure O_DIRECT reports an error if the bytes read/written is 0
  NFSv4/pnfs: Fix a page lock leak in nfs_pageio_resend()
  NFSv4: Fix return value in nfs_finish_open()
  NFSv4: Fix return values for nfs4_file_open()
  NFS: Don't refresh attributes with mounted-on-file information
  netfilter: add include guard to nf_conntrack_h323_types.h
  netfilter: xt_nfacct: Fix alignment mismatch in xt_nfacct_match_info
  netfilter: nft_flow_offload: missing netlink attribute policy
  netfilter: ebtables: Fix argument order to ADD_COUNTER
  MAINTAINERS: Remove IP MASQUERADING record
  fpga: altera-ps-spi: Fix getting of optional confd gpio
  tools: bpftool: close prog FD before exit on showing a single program
  regulator: twl: voltage lists for vdd1/2 on twl4030
  selftests/bpf: fix "bind{4, 6} deny specific IP & port" on s390
  batman-adv: fix uninit-value in batadv_netlink_get_ifindex()
  net: ieee802154: remove redundant assignment to rc
  s390/bpf: use 32-bit index for tail calls
  soc: ti: pm33xx: Make two symbols static
  soc: ti: pm33xx: Fix static checker warnings
  ARM: OMAP: dma: Mark expected switch fall-throughs
  regulator: act8945a-regulator: fix ldo register addresses in set_mode hook
  ARM: dts: Fix incomplete dts data for am3 and am4 mmc
  bus: ti-sysc: Simplify cleanup upon failures in sysc_probe()
  ARM: OMAP1: ams-delta-fiq: Fix missing irq_ack
  ARM: dts: dra74x: Fix iodelay configuration for mmc3
  ARM: dts: am335x: Fix UARTs length
  ARM: OMAP2+: Fix omap4 errata warning on other SoCs
  bus: hisi_lpc: Add .remove method to avoid driver unbind crash
  bus: hisi_lpc: Unregister logical PIO range to avoid potential use-after-free
  lib: logic_pio: Add logic_pio_unregister_range()
  lib: logic_pio: Avoid possible overlap for unregistering regions
  lib: logic_pio: Fix RCU usage
  s390/bpf: fix lcgr instruction encoding
  powerpc/64e: Drop stale call to smp_processor_id() which hangs SMP startup
  arm64: dts: renesas: r8a77995: draak: Fix backlight regulator name
  regulator: slg51000: Fix a couple NULL vs IS_ERR() checks
  ARC: unwind: Mark expected switch fall-throughs
  arm64: dts: amlogic: odroid-n2: keep SD card regulator always on
  arm64: dts: meson-g12a-sei510: enable IR controller
  arm64: dts: meson-g12a: add missing dwc2 phy-names
  ARC: [plat-hsdk]: allow to switch between AXI DMAC port configurations
  ARC: fix typo in setup_dma_ops log message
  ARCv2: entry: early return from exception need not clear U & DE bits
  ARM: dts: vf610-bk4: Fix qspi node description
  ARM: dts: Fix incorrect dcan register mapping for am3, am4 and dra7
  ARM: dts: Fix flags for gpio7
  bus: ti-sysc: Fix using configured sysc mask value
  bus: ti-sysc: Fix handling of forced idle
  ARM: OMAP2+: Fix missing SYSC_HAS_RESET_STATUS for dra7 epwmss
  MAINTAINERS: Update my email address
  xfrm interface: fix management of phydev
  xfrm interface: fix list corruption for x-netns
  xfrm interface: ifname may be wrong in logs
  xfrm interface: avoid corruption on changelink
  ARM: dts: am57xx: Disable voltage switching for SD card
  ieee802154: hwsim: unregister hw while hwsim_subscribe_all_others fails
  ieee802154: hwsim: Fix error handle path in hwsim_init_module

Change-Id: I39f7561ab093d7118b12fdb502efafeae0cb14b0
Signed-off-by: Raghavendra Rao Ananta <rananta@codeaurora.org>
2019-09-16 11:02:07 -07:00
Greg Kroah-Hartman
bc378eba65 Linux 5.3
-----BEGIN PGP SIGNATURE-----
 
 iQFSBAABCAA8FiEEq68RxlopcLEwq+PEeb4+QwBBGIYFAl1+quweHHRvcnZhbGRz
 QGxpbnV4LWZvdW5kYXRpb24ub3JnAAoJEHm+PkMAQRiGOOQH/Rg797V5t1rHK5VD
 iQMRner3IzGFroTBfFzlPSzjYFpBKJMAOjzaXqVDIsMOip9BuwEMHCapXMeJTYXN
 NrWv3m/J6DWDW9tTlHc9PErNcOkMaB8TZGjFfmQHwtyWgK5XghW3D1j8mzDvQi4N
 VIu4ZEWWgCW3hJ4pPUJ737UTbMMuCJlPNVg98DtKysJ8IOjniA8QICmKFlM6TrGg
 4SzxWYIN3zH4l1QA1nFOfKE1WsJdaOj0X4Xtv8qlMCtON1q5SGHJRnDdONeRmOQA
 2Ui/18Q5JJmogUyWitGcEgxB9gk/AG2XW5wvlEKeS8eZ0xpM0NsXu5gPLH0ROWON
 dnt75Lo=
 =imIe
 -----END PGP SIGNATURE-----

Merge 5.3 into android-mainline

Linux 5.3

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I2d3f5eea4589c23da4dec57af3f9e9d74b151eca
2019-09-16 08:26:05 +02:00
Linus Torvalds
36024fcf8d Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
Pull networking fixes from David Miller:

 1) Don't corrupt xfrm_interface parms before validation, from Nicolas
    Dichtel.

 2) Revert use of usb-wakeup in btusb, from Mario Limonciello.

 3) Block ipv6 packets in bridge netfilter if ipv6 is disabled, from
    Leonardo Bras.

 4) IPS_OFFLOAD not honored in ctnetlink, from Pablo Neira Ayuso.

 5) Missing ULP check in sock_map, from John Fastabend.

 6) Fix receive statistic handling in forcedeth, from Zhu Yanjun.

 7) Fix length of SKB allocated in 6pack driver, from Christophe
    JAILLET.

 8) ip6_route_info_create() returns an error pointer, not NULL. From
    Maciej Żenczykowski.

 9) Only add RDS sock to the hashes after rs_transport is set, from
    Ka-Cheong Poon.

10) Don't double clean TX descriptors in ixgbe, from Ilya Maximets.

11) Presence of transmit IPSEC offload in an SKB is not tested for
    correctly in ixgbe and ixgbevf. From Steffen Klassert and Jeff
    Kirsher.

12) Need rcu_barrier() when register_netdevice() takes one of the
    notifier based failure paths, from Subash Abhinov Kasiviswanathan.

13) Fix leak in sctp_do_bind(), from Mao Wenan.

* git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net: (72 commits)
  cdc_ether: fix rndis support for Mediatek based smartphones
  sctp: destroy bucket if failed to bind addr
  sctp: remove redundant assignment when call sctp_get_port_local
  sctp: change return type of sctp_get_port_local
  ixgbevf: Fix secpath usage for IPsec Tx offload
  sctp: Fix the link time qualifier of 'sctp_ctrlsock_exit()'
  ixgbe: Fix secpath usage for IPsec TX offload.
  net: qrtr: fix memort leak in qrtr_tun_write_iter
  net: Fix null de-reference of device refcount
  ipv6: Fix the link time qualifier of 'ping_v6_proc_exit_net()'
  tun: fix use-after-free when register netdev failed
  tcp: fix tcp_ecn_withdraw_cwr() to clear TCP_ECN_QUEUE_CWR
  ixgbe: fix double clean of Tx descriptors with xdp
  ixgbe: Prevent u8 wrapping of ITR value to something less than 10us
  mlx4: fix spelling mistake "veify" -> "verify"
  net: hns3: fix spelling mistake "undeflow" -> "underflow"
  net: lmc: fix spelling mistake "runnin" -> "running"
  NFC: st95hf: fix spelling mistake "receieve" -> "receive"
  net/rds: An rds_sock is added too early to the hash table
  mac80211: Do not send Layer 2 Update frame before authorization
  ...
2019-09-14 12:20:38 -07:00
Raghavendra Rao Ananta
cad384bd77 Merge remote-tracking branch 'remotes/origin/tmp-a63d3d432447' into msm-lahaina
* remotes/origin/tmp-a63d3d432447:
  ABI file updates for 5.3-rc5 and 5.3-rc6
  Linux 5.3-rc6
  mm/kasan: fix false positive invalid-free reports with CONFIG_KASAN_SW_TAGS=y
  mm/zsmalloc.c: fix race condition in zs_destroy_pool
  mm/zsmalloc.c: migration can leave pages in ZS_EMPTY indefinitely
  mm, page_owner: handle THP splits correctly
  userfaultfd_release: always remove uffd flags and clear vm_userfaultfd_ctx
  psi: get poll_work to run when calling poll syscall next time
  mm: memcontrol: flush percpu vmevents before releasing memcg
  mm: memcontrol: flush percpu vmstats before releasing memcg
  parisc: fix compilation errrors
  mm, page_alloc: move_freepages should not examine struct page of reserved memory
  mm/z3fold.c: fix race between migration and destruction
  drm/mediatek: include dma-mapping header
  ANDROID: update ABI for CONFIG_TIPC
  ANDROID: gki_defconfig: enable CONFIG_TIPC
  KVM: arm/arm64: VGIC: Properly initialise private IRQ affinity
  RDMA/siw: Fix 64/32bit pointer inconsistency
  x86/retpoline: Don't clobber RFLAGS during CALL_NOSPEC on i386
  dm table: fix invalid memory accesses with too high sector number
  gpio: Fix irqchip initialization order
  xfs: fix missing ILOCK unlock when xfs_setattr_nonsize fails due to EDQUOT
  drm/nouveau: Don't retry infinitely when receiving no data on i2c over AUX
  drm/amdgpu/powerplay: silence a warning in smu_v11_0_setup_pptable
  timekeeping/vsyscall: Prevent math overflow in BOOTTIME update
  um: fix time travel mode
  io_uring: add need_resched() check in inner poll loop
  dm space map metadata: fix missing store of apply_bops() return value
  dm btree: fix order of block initialization in btree_split_beneath
  ubifs: Limit the number of pages in shrink_liability
  ubifs: Correctly initialize c->min_log_bytes
  ubifs: Fix double unlock around orphan_delete()
  jffs2: Remove C++ style comments from uapi header
  RDMA/siw: Fix SGL mapping issues
  RDMA/bnxt_re: Fix stack-out-of-bounds in bnxt_qplib_rcfw_send_message
  afs: use correct afs_call_type in yfs_fs_store_opaque_acl2
  afs: Fix possible oops in afs_lookup trace event
  afs: Fix leak in afs_lookup_cell_rcu()
  KVM: arm/arm64: Only skip MMIO insn once
  libceph: fix PG split vs OSD (re)connect race
  ceph: don't try fill file_lock on unsuccessful GETFILELOCK reply
  ceph: clear page dirty before invalidate page
  ceph: fix buffer free while holding i_ceph_lock in fill_inode()
  ceph: fix buffer free while holding i_ceph_lock in __ceph_build_xattrs_blob()
  ceph: fix buffer free while holding i_ceph_lock in __ceph_setxattr()
  libceph: allow ceph_buffer_put() to receive a NULL ceph_buffer
  md: update MAINTAINERS info
  drm/amd/display: Calculate bpc based on max_requested_bpc
  drm/amdgpu: prevent memory leaks in AMDGPU_CS ioctl
  drm/amd/amdgpu: disable MMHUB PG for navi10
  drm/amd/powerplay: remove duplicate macro smu_get_uclk_dpm_states in amdgpu_smu.h
  drm/amd/powerplay: fix variable type errors in smu_v11_0_setup_pptable
  drm/amdgpu/gfx9: update pg_flags after determining if gfx off is possible
  x86/boot: Fix boot regression caused by bootparam sanitizing
  selftests/kvm: make platform_info_test pass on AMD
  dm raid: add missing cleanup in raid_ctr()
  dm zoned: fix potential NULL dereference in dmz_do_reclaim()
  dm dust: use dust block size for badblocklist index
  drm/i915: Fix HW readout for crtc_clock in HDMI mode
  modules: page-align module section allocations only for arches supporting strict module rwx
  Revert "KVM: x86/mmu: Zap only the relevant pages when removing a memslot"
  selftests: kvm: fix state save/load on processors without XSAVE
  video: fbdev: acornfb: Mark expected switch fall-through
  scsi: libsas: sas_discover: Mark expected switch fall-through
  MIPS: Octeon: Mark expected switch fall-through
  power: supply: ab8500_charger: Mark expected switch fall-through
  watchdog: wdt285: Mark expected switch fall-through
  mtd: sa1100: Mark expected switch fall-through
  drm/sun4i: tcon: Mark expected switch fall-through
  drm/sun4i: sun6i_mipi_dsi: Mark expected switch fall-through
  ARM: riscpc: Mark expected switch fall-through
  dmaengine: fsldma: Mark expected switch fall-through
  dma-direct: fix zone selection after an unaddressable CMA allocation
  infiniband: hfi1: fix memory leaks
  infiniband: hfi1: fix a memory leak bug
  IB/mlx4: Fix memory leaks
  RDMA/cma: fix null-ptr-deref Read in cma_cleanup
  IB/mlx5: Block MR WR if UMR is not possible
  IB/mlx5: Fix MR re-registration flow to use UMR properly
  IB/mlx5: Report and handle ODP support properly
  IB/mlx5: Consolidate use_umr checks into single function
  RDMA/restrack: Rewrite PID namespace check to be reliable
  RDMA/counters: Properly implement PID checks
  IB/core: Fix NULL pointer dereference when bind QP to counter
  IB/hfi1: Drop stale TID RDMA packets that cause TIDErr
  IB/hfi1: Add additional checks when handling TID RDMA WRITE DATA packet
  IB/hfi1: Add additional checks when handling TID RDMA READ RESP packet
  IB/hfi1: Unsafe PSN checking for TID RDMA READ Resp packet
  IB/hfi1: Drop stale TID RDMA packets
  RDMA/siw: Fix potential NULL de-ref
  RDMA/mlx5: Fix MR npages calculation for IB_ACCESS_HUGETLB
  io_uring: don't enter poll loop if we have CQEs pending
  nvme: Add quirk for LiteON CL1 devices running FW 22301111
  nvme: Fix cntlid validation when not using NVMEoF
  nvme-multipath: fix possible I/O hang when paths are updated
  io_uring: fix potential hang with polled IO
  Drivers: hv: vmbus: Fix virt_to_hvpfn() for X86_PAE
  ANDROID: fix kernelci build-break
  Tools: hv: kvp: eliminate 'may be used uninitialized' warning
  Input: hyperv-keyboard: Use in-place iterator API in the channel callback
  Drivers: hv: vmbus: Remove the unused "tsc_page" from struct hv_context
  auxdisplay: ht16k33: Make ht16k33_fb_fix and ht16k33_fb_var constant
  HID: wacom: correct misreported EKR ring values
  arm: select the dma-noncoherent symbols for all swiotlb builds
  scsi: lpfc: Mitigate high memory pre-allocation by SCSI-MQ
  ANDROID: staging: ion: Build fix for mips
  fs/xfs: Fix return code of xfs_break_leased_layouts()
  genirq: Properly pair kobject_del() with kobject_add()
  ABI: ion: Update ABI to match with ion core changes
  staging: ion: make system and contig heaps modular
  staging: ion: split system and system-contig heaps
  staging: ion: refactor ion's heap API into linux/ion.h
  staging: ion: Move ion heaps into their own directory
  staging: ion: refactor ion's heap manipulators into a separate file.
  staging: ion: refactor ion's dmabuf manipulators into a separate file.
  staging: ion: refactor ion's buffer manipulators into a separate file.
  x86/CPU/AMD: Clear RDRAND CPUID bit on AMD family 15h/16h
  keys: Fix description size
  ANDROID: Remove unused cuttlefish build infra
  x86/boot/compressed/64: Fix boot on machines with broken E820 table
  HID: cp2112: prevent sleeping function called from invalid context
  HID: intel-ish-hid: ipc: add EHL device id
  HID: wacom: Correct distance scale for 2nd-gen Intuos devices
  signal: Allow cifs and drbd to receive their terminating signals
  x86/apic: Handle missing global clockevent gracefully
  kprobes: Fix potential deadlock in kprobe_optimizer()
  perf/x86: Fix typo in comment
  sched/core: Schedule new worker even if PI-blocked
  xfs: fix reflink source file racing with directio writes
  drm/mediatek: mtk_drm_drv.c: Add of_node_put() before goto
  Linux 5.3-rc5
  ravb: Fix use-after-free ravb_tstamp_skb
  netfilter: nf_tables: map basechain priority to hardware priority
  net: sched: use major priority number as hardware priority
  wimax/i2400m: fix a memory leak bug
  net: cavium: fix driver name
  ibmvnic: Unmap DMA address of TX descriptor buffers after use
  bnxt_en: Fix to include flow direction in L2 key
  bnxt_en: Use correct src_fid to determine direction of the flow
  bnxt_en: Suppress HWRM errors for HWRM_NVM_GET_VARIABLE command
  bnxt_en: Fix handling FRAG_ERR when NVM_INSTALL_UPDATE cmd fails
  bnxt_en: Improve RX doorbell sequence.
  bnxt_en: Fix VNIC clearing logic for 57500 chips.
  net: kalmia: fix memory leaks
  cx82310_eth: fix a memory leak bug
  bnx2x: Fix VF's VLAN reconfiguration in reload.
  MAINTAINERS: Fix Hyperv vIOMMU driver file name
  tools: hv: Use the correct style for SPDX License Identifier
  tools: hv: fix typos in toolchain
  tools: hv: fix KVP and VSS daemons exit code
  tools: hv: fixed Python pep8/flake8 warnings for lsvmbus
  Bluetooth: Add debug setting for changing minimum encryption key size
  x86/cpu: Explain Intel model naming convention
  vfs: fix page locking deadlocks when deduping files
  xfs: compat_ioctl: use compat_ptr()
  xfs: fall back to native ioctls for unhandled compat ones
  tipc: fix false detection of retransmit failures
  gpio: of: fix Freescale SPI CS quirk handling
  lan78xx: Fix memory leaks
  MAINTAINERS: r8169: Update path to the driver
  MAINTAINERS: PHY LIBRARY: Update files in the record
  nfsd4: Fix kernel crash when reading proc file reply_cache_stats
  clk: Fix potential NULL dereference in clk_fetch_parent_index()
  clk: Fix falling back to legacy parent string matching
  arm64: ftrace: Ensure module ftrace trampoline is coherent with I-side
  drm: rcar_lvds: Fix dual link mode operations
  x86/boot: Save fields explicitly, zero out everything else
  net/packet: fix race in tpacket_snd()
  nfsd: initialize i_private before d_add
  dm integrity: fix a crash due to BUG_ON in __journal_read_write()
  dm zoned: fix a few typos
  dm zoned: add SPDX license identifiers
  dm zoned: properly handle backing device failure
  dm zoned: improve error handling in i/o map code
  dm zoned: improve error handling in reclaim
  dm kcopyd: always complete failed jobs
  Revert "dm bufio: fix deadlock with loop device"
  ALSA: usb-audio: Fix a stack buffer overflow bug in check_input_term
  net: myri10ge: fix memory leaks
  net: tls, fix sk_write_space NULL write when tx disabled
  liquidio: add cleanup in octeon_setup_iq()
  nfsd: use i_wrlock instead of rcu for nfsdfs i_private
  nfsd: fix dentry leak upon mkdir failure.
  net/mlx5e: Fix compatibility issue with ethtool flash device
  net/mlx5e: Fix a race with XSKICOSQ in XSK wakeup flow
  selftests: net: tcp_fastopen_backup_key.sh: fix shellcheck issue
  io_uring: fix an issue when IOSQE_IO_LINK is inserted into defer list
  Documentation PCI: Fix pciebus-howto.rst filename typo
  block: remove REQ_NOWAIT_INLINE
  io_uring: fix manual setup of iov_iter for fixed buffers
  PCI: Reset both NVIDIA GPU and HDA in ThinkPad P50 workaround
  misc: xilinx-sdfec: fix dependency and build error
  usb: add a hcd_uses_dma helper
  usb: don't create dma pools for HCDs with a localmem_pool
  usb: chipidea: imx: fix EPROBE_DEFER support during driver probe
  usb: host: fotg2: restart hcd after port reset
  USB: CDC: fix sanity checks in CDC union parser
  usb: cdc-acm: make sure a refcount is taken early enough
  USB: serial: option: add the BroadMobi BM818 card
  USB: serial: option: Add Motorola modem UARTs
  MAINTAINERS, x86/CPU: Tony Luck will maintain asm/intel-family.h
  selftests: kvm: fix vmx_set_nested_state_test
  selftests: kvm: provide common function to enable eVMCS
  selftests: kvm: do not try running the VM in vmx_set_nested_state_test
  drm/nouveau: Only recalculate PBN/VCPI on mode/connector changes
  drm/ast: Fixed reboot test may cause system hanged
  cxgb4: fix a memory leak bug
  of: irq: fix a trivial typo in a doc comment
  dt-bindings: pinctrl: stm32: Fix 'st,syscfg' schema
  scsi: ufs: Fix NULL pointer dereference in ufshcd_config_vreg_hpm()
  scsi: target: tcmu: avoid use-after-free after command timeout
  scsi: qla2xxx: Fix gnl.l memory leak on adapter init failure
  drm/mediatek: set DMA max segment size
  drm/mediatek: use correct device to import PRIME buffers
  drm/scheduler: use job count instead of peek
  riscv: Make __fstate_clean() work correctly.
  riscv: Correct the initialized flow of FP register
  Adding GKI Ramdisk to gki config
  ALSA: usb-audio: Fix an OOB bug in parse_audio_mixer_unit
  clk: socfpga: stratix10: fix rate caclulationg for cnt_clks
  KVM: x86: svm: remove redundant assignment of var new_entry
  MAINTAINERS: add KVM x86 reviewers
  MAINTAINERS: change list for KVM/s390
  kvm: x86: skip populating logical dest map if apic is not sw enabled
  Bluetooth: hci_qca: Skip 1 error print in device_want_to_sleep()
  i2c: stm32: Use the correct style for SPDX License Identifier
  i2c: emev2: avoid race when unregistering slave client
  i2c: rcar: avoid race when unregistering slave client
  rxrpc: Fix read-after-free in rxrpc_queue_local()
  rxrpc: Fix local endpoint replacement
  MAINTAINERS: i2c-imx: take over maintainership
  Revert "i2c: imx: improve the error handling in i2c_imx_dma_request()"
  netfilter: nft_flow_offload: skip tcp rst and fin packets
  gpio: Fix build error of function redefinition
  gpiolib: never report open-drain/source lines as 'input' to user-space
  ALSA: hda - Add a generic reboot_notify
  ALSA: hda - Let all conexant codec enter D3 when rebooting
  sctp: fix memleak in sctp_send_reset_streams
  netlink: Fix nlmsg_parse as a wrapper for strict message parsing
  net: phy: consider AN_RESTART status when reading link status
  net/mlx4_en: fix a memory leak bug
  ibmveth: Convert multicast list size for little-endian system
  s390/qeth: serialize cmd reply with concurrent timeout
  riscv: defconfig: Update the defconfig
  riscv: rv32_defconfig: Update the defconfig
  sctp: fix the transport error_count check
  ANDROID: Removed unnecessary modules from cuttlefish.
  hugetlbfs: fix hugetlb page migration/fault race causing SIGBUS
  mm, vmscan: do not special-case slab reclaim when watermarks are boosted
  Revert "mm, thp: restore node-local hugepage allocations"
  Revert "Revert "mm, thp: consolidate THP gfp handling into alloc_hugepage_direct_gfpmask""
  include/asm-generic/5level-fixup.h: fix variable 'p4d' set but not used
  seq_file: fix problem when seeking mid-record
  mm: workingset: fix vmstat counters for shadow nodes
  mm/usercopy: use memory range to be accessed for wraparound check
  mm: kmemleak: disable early logging in case of error
  mm/vmalloc.c: fix percpu free VM area search criteria
  mm/memcontrol.c: fix use after free in mem_cgroup_iter()
  mm/z3fold.c: fix z3fold_destroy_pool() race condition
  mm/z3fold.c: fix z3fold_destroy_pool() ordering
  mm: mempolicy: handle vma with unmovable pages mapped correctly in mbind
  mm: mempolicy: make the behavior consistent when MPOL_MF_MOVE* and MPOL_MF_STRICT were specified
  mm/hmm: fix bad subpage pointer in try_to_unmap_one
  mm/hmm: fix ZONE_DEVICE anon page mapping reuse
  mm: document zone device struct page field usage
  riscv: fix flush_tlb_range() end address for flush_tlb_page()
  KEYS: trusted: allow module init if TPM is inactive or deactivated
  RDMA/siw: Change CQ flags from 64->32 bits
  netfilter: conntrack: Use consistent ct id hash calculation
  ALSA: hda/realtek - Add quirk for HP Envy x360
  MAINTAINERS: iomap: Remove fs/iomap.c record
  HID: logitech-hidpp: remove support for the G700 over USB
  Revert "HID: logitech-hidpp: add USB PID for a few more supported mice"
  mtd: spi-nor: Fix the disabling of write protection at init
  arm64: cpufeature: Don't treat granule sizes as strict
  HID: wacom: add back changes dropped in merge commit
  drm/amd/display: use kvmalloc for dc_state (v2)
  drm/amdgpu: fix gfx9 soft recovery
  dt-bindings: fec: explicitly mark deprecated properties
  of: resolver: Add of_node_put() before return and break
  xtensa: add missing isync to the cpu_reset TLB code
  net: phy: at803x: stop switching phy delay config needlessly
  USB: core: Fix races in character device registration and deregistraion
  x86/fpu/math-emu: Address fallthrough warnings
  x86/apic/32: Fix yet another implicit fallthrough warning
  Bluetooth: btqca: Reset download type to default
  Bluetooth: btqca: release_firmware after qca_inject_cmd_complete_event
  xfs: don't crash on null attr fork xfs_bmapi_read
  xfs: remove more ondisk directory corruption asserts
  Bluetooth: hidp: Let hidp_send_message return number of queued bytes
  Bluetooth: hci_qca: Send VS pre shutdown command.
  Bluetooth: btqca: Use correct byte format for opcode of injected command
  Bluetooth: hci_qca: Use kfree_skb() instead of kfree()
  Bluetooth: btqca: Add a short delay before downloading the NVM
  Bluetooth: btusb: Fix error return code in btusb_mtk_setup_firmware()
  RDMA/core: Fix error code in stat_get_doit_qp()
  RDMA/siw: Fix a memory leak in siw_init_cpulist()
  IB/mlx5: Fix use-after-free error while accessing ev_file pointer
  staging: comedi: dt3000: Fix rounding up of timer divisor
  staging: comedi: dt3000: Fix signed integer overflow 'divider * base'
  xen/blkback: fix memory leaks
  blk-mq: move cancel of requeue_work to the front of blk_exit_queue
  drm/omap: ensure we have a valid dma_mask
  x86/umwait: Fix error handling in umwait_init()
  drm/komeda: Add support for 'memory-region' DT node property
  drm/komeda: Adds internal bpp computing for arm afbc only format YU08 YU10
  efi-stub: Fix get_efi_config_table on mixed-mode setups
  nvme-pci: Allow PCI bus-level PM to be used if ASPM is disabled
  PCI/ASPM: Add pcie_aspm_enabled()
  habanalabs: fix device IRQ unmasking for BE host
  habanalabs: fix endianness handling for internal QMAN submission
  habanalabs: fix completion queue handling when host is BE
  habanalabs: fix endianness handling for packets from user
  habanalabs: fix DRAM usage accounting on context tear down
  habanalabs: Avoid double free in error flow
  usb: gadget: mass_storage: Fix races between fsg_disable and fsg_set_alt
  usb: gadget: composite: Clear "suspended" on reset/disconnect
  usb: gadget: udc: renesas_usb3: Fix sysfs interface of "role"
  net: tc35815: Explicitly check NET_IP_ALIGN is not zero in tc35815_rx
  tipc: initialise addr_trail_end when setting node addresses
  net: dsa: Check existence of .port_mdb_add callback before calling it
  mlxsw: spectrum_ptp: Keep unmatched entries in a linked list
  net: nps_enet: Fix function names in doc comments
  rxrpc: Fix local refcounting
  netdevsim: Restore per-network namespace accounting for fib entries
  sh: kernel: hw_breakpoint: Fix missing break in switch statement
  sh: kernel: disassemble: Mark expected switch fall-throughs
  dma-mapping: fix page attributes for dma_mmap_*
  dma-direct: don't truncate dma_required_mask to bus addressing capabilities
  dma-direct: fix DMA_ATTR_NO_KERNEL_MAPPING
  cpufreq: schedutil: Don't skip freq update when limits change
  cpufreq: dev_pm_qos_update_request() can return 1 on success
  ALSA: hda - Fix a memory leak bug
  net/tls: swap sk_write_space on close
  hv_netvsc: Fix a warning of suspicious RCU usage
  ixgbe: fix possible deadlock in ixgbe_service_task()
  bpf: sync bpf.h to tools infrastructure
  sock: make cookie generation global instead of per netns
  tools: bpftool: add error message on pin failure
  tools: bpftool: fix error message (prog -> object)
  iommu/vt-d: Fix possible use-after-free of private domain
  iommu/vt-d: Detach domain before using a private one
  iommu/dma: Handle SG length overflow better
  iommu/vt-d: Correctly check format of page table in debugfs
  rxrpc: Don't bother generating maxSkew in the ACK packet
  rxrpc: Fix local endpoint refcounting
  netfilter: nf_flow_table: teardown flow timeout race
  netfilter: nf_flow_table: conntrack picks up expired flows
  netfilter: nf_tables: use-after-free in failing rule with bound set
  omap-dma/omap_vout_vrfb: fix off-by-one fi value
  ALSA: hda - Apply workaround for another AMD chip 1022:1487
  drm/i915: Use after free in error path in intel_vgpu_create_workload()
  drm/komeda: Initialize and enable output polling on Komeda
  net: tundra: tsi108: use spin_lock_irqsave instead of spin_lock_irq in IRQ context
  team: Add vlan tx offload to hw_enc_features
  net/tls: prevent skb_orphan() from leaking TLS plain text with offload
  tc-testing: updated skbedit action tests with batch create/delete
  net sched: update skbedit action for batched events operations
  net: dsa: sja1105: remove set but not used variables 'tx_vid' and 'rx_vid'
  bonding: Add vlan tx offload to hw_enc_features
  net: sched: sch_taprio: fix memleak in error path for sched list parse
  soundwire: fix regmap dependencies and align with other serial links
  net: docs: replace IPX in tuntap documentation
  docs: admin-guide: remove references to IPX and token-ring
  xen/netback: Reset nr_frags before freeing skb
  inet: frags: re-introduce skb coalescing for local delivery
  clk: samsung: exynos542x: Move MSCL subsystem clocks to its sub-CMU
  clk: samsung: exynos5800: Move MAU subsystem clocks to MAU sub-CMU
  clk: samsung: Change signature of exynos5_subcmus_init() function
  net/mlx5e: Remove redundant check in CQE recovery flow of tx reporter
  net/mlx5e: Fix error flow of CQE recovery on tx reporter
  net/mlx5e: Fix false negative indication on tx reporter CQE recovery
  net/mlx5e: kTLS, Fix tisn field placement
  net/mlx5e: kTLS, Fix tisn field name
  net/mlx5e: kTLS, Fix progress params context WQE layout
  net/mlx5: kTLS, Fix wrong TIS opmod constants
  net/mlx5: crypto, Fix wrong offset in encryption key command
  net/mlx5e: ethtool, Avoid setting speed to 56GBASE when autoneg off
  net/mlx5e: Only support tx/rx pause setting for port owner
  net/mlx5: Support inner header match criteria for non decap flow action
  net/mlx5e: Use flow keys dissector to parse packets for ARFS
  auxdisplay: Fix a typo in cfag12864b-example.c
  auxdisplay: charlcd: add include guard to charlcd.h
  auxdisplay: charlcd: move charlcd.h to drivers/auxdisplay
  dmaengine: stm32-mdma: Fix a possible null-pointer dereference in stm32_mdma_irq_handler()
  scsi: lpfc: Fix crash when cpu count is 1 and null irq affinity mask
  IB/mlx5: Check the correct variable in error handling code
  RDMA/counter: Prevent QP counter binding if counters unsupported
  IB/mlx5: Fix implicit MR release flow
  btrfs: trim: Check the range passed into to prevent overflow
  Btrfs: fix sysfs warning and missing raid sysfs directories
  iommu/vt-d: Detach domain when move device out of group
  iommu/arm-smmu: Mark expected switch fall-through
  iommu/dma: Handle MSI mappings separately
  auxdisplay: charlcd: add help text for backlight initial state
  auxdisplay: panel: need to delete scan_timer when misc_register fails in panel_attach
  iio: adc: max9611: Fix temperature reading in probe
  iio: frequency: adf4371: Fix output frequency setting
  i2c: stm32: Use the correct style for SPDX License Identifier
  USB: serial: option: add D-Link DWM-222 device ID
  USB: serial: option: Add support for ZTE MF871A
  netfilter: nf_flow_table: fix offload for flows that are subject to xfrm
  selftests: netfilter: extend flowtable test script for ipsec
  fs: xfs: xfs_log: Don't use KM_MAYFAIL at xfs_log_reserve().
  soundwire: cadence_master: fix definitions for INTSTAT0/1
  soundwire: cadence_master: fix register definition for SLAVE_STATE
  selftests/bpf: tests for jmp to 1st insn
  bpf: fix x64 JIT code generation for jmp to 1st insn
  libbpf: set BTF FD for prog only when there is supported .BTF.ext data
  libbpf : make libbpf_num_possible_cpus function thread safe
  nvme-pci: Fix async probe remove race
  nvme: fix controller removal race with scan work
  nvme-rdma: fix possible use-after-free in connect error flow
  nvme: fix a possible deadlock when passthru commands sent to a multipath device
  nvme-core: Fix extra device_put() call on error path
  nvmet-file: fix nvmet_file_flush() always returning an error
  nvmet-loop: Flush nvme_delete_wq when removing the port
  nvmet: Fix use-after-free bug when a port is removed
  dt-bindings: Fix generated example files getting added to schemas
  intel_th: Use the correct style for SPDX License Identifier
  coccinelle: api/atomic_as_refcounter: add SPDX License Identifier
  kernel/configs: Replace GPL boilerplate code with SPDX identifier
  afs: Fix missing dentry data version updating
  afs: Only update d_fsdata if different in afs_d_revalidate()
  afs: Fix off-by-one in afs_rename() expected data version calculation
  fs: afs: Fix a possible null-pointer dereference in afs_put_read()
  afs: Fix loop index mixup in afs_deliver_vl_get_entry_by_name_u()
  afs: Fix the CB.ProbeUuid service handler to reply correctly
  nvme-multipath: revalidate nvme_ns_head gendisk in nvme_validate_ns
  modules: always page-align module section allocations
  platform/chrome: cros_ec_ishtp: fix crash during suspend
  libbpf: fix erroneous multi-closing of BTF FD
  dmaengine: tegra210-adma: Fix unused function warnings
  batman-adv: Fix deletion of RTR(4|6) mcast list entries
  batman-adv: Fix netlink dumping of all mcast_flags buckets
  dmaengine: ste_dma40: fix unneeded variable warning
  dmaengine: dw-edma: fix endianess confusion
  dmaengine: dw-edma: fix __iomem type confusion
  dmaengine: dw-edma: fix unnecessary stack usage

Change-Id: I8326b536fd134e0684bd041e22e34409fe2f14c2
Signed-off-by: Raghavendra Rao Ananta <rananta@codeaurora.org>
2019-09-12 15:54:00 -07:00
Sandeep Patil
19a4939e67 staging: ion: uapi: match the existing heap type enums
Change the enup order for ion heap types to match how it was before so
as to not break any userspace code that depends on them.

Bug: 140507100
Test: ion-unit-tests

Change-Id: Id68c50a9bd3eda2ce46bc88a326a120c52d1110f
Signed-off-by: Sandeep Patil <sspatil@google.com>
2019-09-10 00:26:59 -07:00
Eric Biggers
fe163e534e isdn/capi: check message length in capi_write()
syzbot reported:

    BUG: KMSAN: uninit-value in capi_write+0x791/0xa90 drivers/isdn/capi/capi.c:700
    CPU: 0 PID: 10025 Comm: syz-executor379 Not tainted 4.20.0-rc7+ #2
    Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
    Call Trace:
      __dump_stack lib/dump_stack.c:77 [inline]
      dump_stack+0x173/0x1d0 lib/dump_stack.c:113
      kmsan_report+0x12e/0x2a0 mm/kmsan/kmsan.c:613
      __msan_warning+0x82/0xf0 mm/kmsan/kmsan_instr.c:313
      capi_write+0x791/0xa90 drivers/isdn/capi/capi.c:700
      do_loop_readv_writev fs/read_write.c:703 [inline]
      do_iter_write+0x83e/0xd80 fs/read_write.c:961
      vfs_writev fs/read_write.c:1004 [inline]
      do_writev+0x397/0x840 fs/read_write.c:1039
      __do_sys_writev fs/read_write.c:1112 [inline]
      __se_sys_writev+0x9b/0xb0 fs/read_write.c:1109
      __x64_sys_writev+0x4a/0x70 fs/read_write.c:1109
      do_syscall_64+0xbc/0xf0 arch/x86/entry/common.c:291
      entry_SYSCALL_64_after_hwframe+0x63/0xe7
    [...]

The problem is that capi_write() is reading past the end of the message.
Fix it by checking the message's length in the needed places.

Reported-and-tested-by: syzbot+0849c524d9c634f5ae66@syzkaller.appspotmail.com
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-09-07 17:44:25 +02:00
Arnd Bergmann
78e05972c5 ipc: fix semtimedop for generic 32-bit architectures
As Vincent noticed, the y2038 conversion of semtimedop in linux-5.1
broke when commit 00bf25d693 ("y2038: use time32 syscall names on
32-bit") changed all system calls on all architectures that take
a 32-bit time_t to point to the _time32 implementation, but left out
semtimedop in the asm-generic header.

This affects all 32-bit architectures using asm-generic/unistd.h:
h8300, unicore32, openrisc, nios2, hexagon, c6x, arc, nds32 and csky.

The notable exception is riscv32, which has dropped support for the
time32 system calls entirely.

Reported-by: Vincent Chen <deanbo422@gmail.com>
Cc: stable@vger.kernel.org
Cc: Vincent Chen <deanbo422@gmail.com>
Cc: Greentime Hu <green.hu@gmail.com>
Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
Cc: Guan Xuetao <gxt@pku.edu.cn>
Cc: Stafford Horne <shorne@gmail.com>
Cc: Jonas Bonn <jonas@southpole.se>
Cc: Stefan Kristiansson <stefan.kristiansson@saunalahti.fi>
Cc: Ley Foon Tan <lftan@altera.com>
Cc: Richard Kuo <rkuo@codeaurora.org>
Cc: Mark Salter <msalter@redhat.com>
Cc: Aurelien Jacquiot <jacquiot.aurelien@gmail.com>
Cc: Guo Ren <guoren@kernel.org>
Fixes: 00bf25d693 ("y2038: use time32 syscall names on 32-bit")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2019-09-06 21:49:24 +02:00
Bojun Pan
329744721f msm: ipa: Add snapshot of IPA driver
This is a snapshot of the IPA and GSI drivers
from msm-4.19 to msm-lahaina as of
'commit <2df7c68f038d13a4d278ecd858bc5ccebb3f569b>
(Merge "sched/core: fix possible out-of-bounds
access in updown_migrate_value)'.

Change-Id: Ie654ca46181248854ddc33c3033b5808aa32e628
Signed-off-by: Bojun Pan <bojunp@codeaurora.org>
2019-09-06 01:15:38 -07:00
qctecmdr
bf7822ca66 Merge "synx : Add snapshot for global synx driver support" 2019-09-05 21:28:54 -07:00
qctecmdr
c6522f46d9 Merge "qseecom: add uapi headfile for Lahaina bring up" 2019-09-04 20:31:44 -07:00
Sumukh Hallymysore Ravindra
670e24788a synx : Add snapshot for global synx driver support
Propagate uapi header file for synx driver

Change-Id: I278781b176deae433d13aaab78616ead82dcb529
Signed-off-by: Sumukh Hallymysore Ravindra <shallymy@codeaurora.org>
2019-09-04 10:18:41 -07:00
Greg Kroah-Hartman
94cc606e3e Linux 5.3-rc7
-----BEGIN PGP SIGNATURE-----
 
 iQFSBAABCAA8FiEEq68RxlopcLEwq+PEeb4+QwBBGIYFAl1tSg4eHHRvcnZhbGRz
 QGxpbnV4LWZvdW5kYXRpb24ub3JnAAoJEHm+PkMAQRiG018IAJGV7SbXggW/iC+e
 cSMlo8kPnuU7dKCUW+ngXnZY1xuDYWPhXMX9+yDYf2NfMYGdDGYZ+GRjSFim816w
 HsNsovnYiyxhkh+wA/DmZPWKdTgYrIxbPRO+MlO5ZfbxWNaLgSjqirz0iBITSv3S
 r2XLmFw8GVACv/GkNGrWBM53wpkJLHzvwaV9hg6dr8HFDipaEn7vEY9/LAN3S3fw
 reVwW6Q4N4+RSofM1eIGgAZsTYbYBDfri94mRQZ3y+Q8EkRGkJ270WKA0OAVFYS7
 KA6nrjvGSYVtmDK3HORjbINQn3bXwIKeMZHl15c+LGM9ePwoHbsN3+smBswRX+R3
 JDQjkhY=
 =DV37
 -----END PGP SIGNATURE-----

Merge 5.3-rc7' into android-mainline

Linux 5.3-rc7

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: Idb7a4bac47aad24a134ab4e98ea40e7bf201895b
2019-09-02 20:29:11 +02:00
Zhen Kong
c52c8f7af4 qseecom: add uapi headfile for Lahaina bring up
Add qseecom.h, qcedev.h, fips_status.h for Lahaina bring up

Change-Id: I21c1747e7ce9fab1d190b8ea54ac2d54c11bd44f
Signed-off-by: Zhen Kong <zkong@codeaurora.org>
2019-08-30 11:43:28 -07:00
Sandeep Patil
dc2b24630b ANDROID: staging: ion: reserve specific heap ids for known heap types.
Since its inception, ion used heap types and heap ids interchangeably.
The 'heap type' is not part of the UAPI but 'heap ids' are. The sad part
is that heap ids are dynamically generated and heap types aren't. This
causes all sorts of problems trying to support following things
	1. No UAPI breakage for ION in GKI
	2. Support multiple CMA heaps (i.e. heap with same type but
	different ids)
	3. Allow Android system code to reliably talk to any ION
	driver using the standard / reserved heap types. etc.
	4. Allow someone to override standard heap implementation.
	5. Allow for new heap types to register to ion core.

With this change, we start the process of reserving heap ids for
long known heap types like system, carveout etc. In order to not
break ABI and UAPI, we continue to use 32-bits with following caveats

	1. BIT(0)-BIT(15) are reserved for standard / GKI heap ids
	that Android platform can use from now on reliably.
	2. BIT(16)-BIT(31) are reserved for custom heap types that
	only vendor specific processes can rely upon.
	3. BIT(3)-BIT(7) are reserved for CARVEOUT heaps.
	4. BIT(8)-BIT(15) are reserved for CMA / DMA heaps that manage
	different CMA regions. The heap ids will be allocated in ascending
	order and are first come first served.

Bug: 133508579
Test:ion-unit-tests

Change-Id: I53af694113b62d29e0d2933fbcf7079d845099e9
Signed-off-by: Sandeep Patil <sspatil@google.com>
2019-08-30 10:14:22 -07:00
Sandeep Patil
89791c3f3b ANDROID: staging: ion: move uapi/ion.h to uapi/linux/ion.h
Bug: 133508579
Test: builds

Change-Id: I599a78e1acd2eed909f40e5a5b6a62813610990c
Signed-off-by: Sandeep Patil <sspatil@google.com>
2019-08-30 10:14:22 -07:00
qctecmdr
38a75fdb0b Merge "radio: Add snapshot for FM radio support" 2019-08-29 16:17:44 -07:00
qctecmdr
796fce633c Merge "include: rmnet_data: Add snapshot of headers" 2019-08-29 12:59:58 -07:00
Satish kumar sugasi
8bfe4fb64f radio: Add snapshot for FM radio support
Propagate uapi header files for iris FM radio.

Change-Id: I38071146664ba5f56aa61071a3a273c113da375b
Signed-off-by: Satish kumar sugasi <ssugas@codeaurora.org>
2019-08-29 16:04:58 +05:30
Subash Abhinov Kasiviswanathan
44002e1056 include: rmnet_data: Add snapshot of headers
While rmnet_data driver itself is not required, some of the
definitions are used by modules such as mhi and ipa.

Change-Id: I892c2ff51819262632769b3da32a1c2adf6b3543
Signed-off-by: Subash Abhinov Kasiviswanathan <subashab@codeaurora.org>
2019-08-28 11:48:03 -07:00
Jun-Hyung Kwon
78761020cf drivers: sensors: add sensors ssc driver
SLPI (sensor low power island) uses Qualcomm Technologies, Inc
Digital Signal Processor for all sensors connected via SPI/I2C.
Firmware is required to be loaded to enable these sensors and
algorithms to execute on DSP. This change adds driver to load
the firmware.

This snapshot is taken as of msm-4.19 'commit
<db92782eadcfd7e8186f6f7487194ebbf8c31c19> (Merge "icnss:
Reduce the shutdown timeout from 50sec to 15sec")'.
In addition change copyrights, type and description in KConfig
and directory change from sensors to soc/qcom.

Change-Id: I15350924e7febe287dc9d7e21885b2e11426a2cc
Signed-off-by: Jun-Hyung Kwon <junhyung@codeaurora.org>
2019-08-28 09:44:45 -07:00
Linus Torvalds
452a04441b Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
Pull networking fixes from David Miller:

 1) Use 32-bit index for tails calls in s390 bpf JIT, from Ilya
    Leoshkevich.

 2) Fix missed EPOLLOUT events in TCP, from Eric Dumazet. Same fix for
    SMC from Jason Baron.

 3) ipv6_mc_may_pull() should return 0 for malformed packets, not
    -EINVAL. From Stefano Brivio.

 4) Don't forget to unpin umem xdp pages in error path of
    xdp_umem_reg(). From Ivan Khoronzhuk.

 5) Fix sta object leak in mac80211, from Johannes Berg.

 6) Fix regression by not configuring PHYLINK on CPU port of bcm_sf2
    switches. From Florian Fainelli.

 7) Revert DMA sync removal from r8169 which was causing regressions on
    some MIPS Loongson platforms. From Heiner Kallweit.

 8) Use after free in flow dissector, from Jakub Sitnicki.

 9) Fix NULL derefs of net devices during ICMP processing across
    collect_md tunnels, from Hangbin Liu.

10) proto_register() memory leaks, from Zhang Lin.

11) Set NLM_F_MULTI flag in multipart netlink messages consistently,
    from John Fastabend.

* git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net: (66 commits)
  r8152: Set memory to all 0xFFs on failed reg reads
  openvswitch: Fix conntrack cache with timeout
  ipv4: mpls: fix mpls_xmit for iptunnel
  nexthop: Fix nexthop_num_path for blackhole nexthops
  net: rds: add service level support in rds-info
  net: route dump netlink NLM_F_MULTI flag missing
  s390/qeth: reject oversized SNMP requests
  sock: fix potential memory leak in proto_register()
  MAINTAINERS: Add phylink keyword to SFF/SFP/SFP+ MODULE SUPPORT
  xfrm/xfrm_policy: fix dst dev null pointer dereference in collect_md mode
  ipv4/icmp: fix rt dst dev null pointer dereference
  openvswitch: Fix log message in ovs conntrack
  bpf: allow narrow loads of some sk_reuseport_md fields with offset > 0
  bpf: fix use after free in prog symbol exposure
  bpf: fix precision tracking in presence of bpf2bpf calls
  flow_dissector: Fix potential use-after-free on BPF_PROG_DETACH
  Revert "r8169: remove not needed call to dma_sync_single_for_device"
  ipv6: propagate ipv6_add_dev's error returns out of ipv6_find_idev
  net/ncsi: Fix the payload copying for the request coming from Netlink
  qed: Add cleanup in qed_slowpath_start()
  ...
2019-08-27 10:12:48 -07:00
Greg Kroah-Hartman
ad455d87e5 Linux 5.3-rc6
-----BEGIN PGP SIGNATURE-----
 
 iQFSBAABCAA8FiEEq68RxlopcLEwq+PEeb4+QwBBGIYFAl1i2wkeHHRvcnZhbGRz
 QGxpbnV4LWZvdW5kYXRpb24ub3JnAAoJEHm+PkMAQRiGcDQIAJINYON5WdDSFDpp
 htva213hSIxYLix8Dc4cTMk8qT/P2MAj9pPYERuLwIxWZlfbduW6Fxy8bJANZ7k3
 4cJ/IbmA5M5ZIaOJTTL45w8H0CMR/4mdPl5rb5k/Wkh449Cj101gZLlh0FEtR5zG
 uDJecKSuHjH1ikySk6+zmRG5X+lq6wNY8NkuBtfwAwLffFc0ljQHwPUMJ8ojgqt/
 p3ChNgtb/I6U6ExITlyktKdP59bAoHAoBiKKFZWw5yJWgXE2q4Sv9nT4Btkr5KdJ
 9mnWnSaSLwptNCOtU4tKLwFIZP2WoVXGPNxxq4XLoTEuieXCqmikhc9tSSTwk+Tp
 CKHN6wU=
 =JkJ4
 -----END PGP SIGNATURE-----

Merge 5.3-rc6 into android-mainline

Linux 5.3-rc6

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: Id10580d48d56054408b3efe0bd1866d67aba2a3d
2019-08-26 16:45:30 +02:00
Greg Kroah-Hartman
a5bd47ef3f Linux 5.3-rc5
-----BEGIN PGP SIGNATURE-----
 
 iQFSBAABCAA8FiEEq68RxlopcLEwq+PEeb4+QwBBGIYFAl1Zw6ceHHRvcnZhbGRz
 QGxpbnV4LWZvdW5kYXRpb24ub3JnAAoJEHm+PkMAQRiGbiUH/0kqDBzkpne1odxW
 LeAPtTgmxDbcOE/bgIk374e95mn3EP3arna01BLc5ztwkQ521f4Iw5mKW5InZcyu
 3/IvpYeQUcdazphWSu72VnUZ8QfYNh4NJDjAx6iyliQ1NpJF9LLYLWWjlqwGbWHQ
 USbwp7A+56m1AWWmce2r50DK7jEZShKxRBQrXNXtvn8+YaVMvmdZpT6ejyG52J+4
 zr9yYrT9sa5jcPGPnWN/sx03/BPij+yOFKKe8L9vprb3uEmNKPvqtAbUpI0QYw6j
 T+eZELLxAOsUk84kxQyTLCU/GMesP6hIaE93HlpmgcQkBBzK7H5SBN37r8OJjOeS
 IXlJX4c=
 =9Iey
 -----END PGP SIGNATURE-----

Merge 5.3-rc5 into android-mainline

Linux 5.3-rc5

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: Ibfaea1b9aca9f04a59def096f327c2afbd0cb296
2019-08-26 16:43:17 +02:00
Linus Torvalds
94a76d9b52 This pull request contains the following fixes for UBIFS and JFFS2:
UBIFS:
 
 - Don't block too long in writeback_inodes_sb()
 - Fix for a possible overrun of the log head
 - Fix double unlock in orphan_delete()
 
 JFFS2:
 
 - Remove C++ style from UAPI header and unbreak picky toolchains
 -----BEGIN PGP SIGNATURE-----
 
 iQJKBAABCAA0FiEEdgfidid8lnn52cLTZvlZhesYu8EFAl1ik14WHHJpY2hhcmRA
 c2lnbWEtc3Rhci5hdAAKCRBm+VmF6xi7wbP2D/4xVW7YP5Yyt6YrABJuclfoib30
 2LI6eOz0+5OojQKUbOzXCN9N7Dv4TLJKrCjRc9qKYTIB1DiQXuBDqtYKg6CTBhHb
 MjiftEDiBQ6j3jVmRxkQRXZEB9I3Uu9CkA8s65+UmL8peJfgNElpH34omsU1fzup
 y0NhZhj77P5jsAG6r7yXvuaofCOTlZIZVPya9FX17J0Ra+3rMOCtVEqnaHk2E5RB
 EQPAEByqXUIx7+9mOi1Krw7B7fesB7oOVbCykE5knX1pZQCTURP64yNr35WxN+7Z
 crcpdEQtf54qWMCKf4ClIBHiPmmsDIHYJy3JXjgJKOwIYvrB3dZ5E170qPr3JixY
 nS+l8x69IYZhWUzHg8gxDizk92iFYKbO1h5vBwI7NUFHkHLzylsgonBK0KdaUnol
 OvI5oCO/rdJEMBPr5LEFpOjZJIEptPtXpDvQCpm5tWd5tuW+8edNpI38lDO9LThC
 O0diZZUQfsuzD1XrvKRORPU+4lskzGV5b1UA0DWXdGKALqM5VrQZo1XftvA74Zkv
 oZQcHNK5wdecQX81Oadfb/0a5SN7FGGtTUCKTpOyBIu0adarGIasC6TQr2aDiiNh
 7jLjBoV2XEGhXZQrK2lm8G+6rJ7Mp11B6aoTFgDELzt+SB7htp6dARR2+4aGWXh9
 iXgme0n9HXDDeuosag==
 =Bsgx
 -----END PGP SIGNATURE-----

Merge tag 'for-linus-5.3-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/rw/ubifs

Pull UBIFS and JFFS2 fixes from Richard Weinberger:
 "UBIFS:
   - Don't block too long in writeback_inodes_sb()
   - Fix for a possible overrun of the log head
   - Fix double unlock in orphan_delete()

  JFFS2:
   - Remove C++ style from UAPI header and unbreak picky toolchains"

* tag 'for-linus-5.3-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/rw/ubifs:
  ubifs: Limit the number of pages in shrink_liability
  ubifs: Correctly initialize c->min_log_bytes
  ubifs: Fix double unlock around orphan_delete()
  jffs2: Remove C++ style comments from uapi header
2019-08-25 11:29:27 -07:00
Zhu Yanjun
e0e6d06282 net: rds: add service level support in rds-info
>From IB specific 7.6.5 SERVICE LEVEL, Service Level (SL)
is used to identify different flows within an IBA subnet.
It is carried in the local route header of the packet.

Before this commit, run "rds-info -I". The outputs are as
below:
"
RDS IB Connections:
 LocalAddr  RemoteAddr Tos SL  LocalDev               RemoteDev
192.2.95.3  192.2.95.1  2   0  fe80::21:28:1a:39  fe80::21:28:10:b9
192.2.95.3  192.2.95.1  1   0  fe80::21:28:1a:39  fe80::21:28:10:b9
192.2.95.3  192.2.95.1  0   0  fe80::21:28:1a:39  fe80::21:28:10:b9
"
After this commit, the output is as below:
"
RDS IB Connections:
 LocalAddr  RemoteAddr Tos SL  LocalDev               RemoteDev
192.2.95.3  192.2.95.1  2   2  fe80::21:28:1a:39  fe80::21:28:10:b9
192.2.95.3  192.2.95.1  1   1  fe80::21:28:1a:39  fe80::21:28:10:b9
192.2.95.3  192.2.95.1  0   0  fe80::21:28:1a:39  fe80::21:28:10:b9
"

The commit fe3475af3b ("net: rds: add per rds connection cache
statistics") adds cache_allocs in struct rds_info_rdma_connection
as below:
struct rds_info_rdma_connection {
...
        __u32           rdma_mr_max;
        __u32           rdma_mr_size;
        __u8            tos;
        __u32           cache_allocs;
 };
The peer struct in rds-tools of struct rds_info_rdma_connection is as
below:
struct rds_info_rdma_connection {
...
        uint32_t        rdma_mr_max;
        uint32_t        rdma_mr_size;
        uint8_t         tos;
        uint8_t         sl;
        uint32_t        cache_allocs;
};
The difference between userspace and kernel is the member variable sl.
In the kernel struct, the member variable sl is missing. This will
introduce risks. So it is necessary to use this commit to avoid this risk.

Fixes: fe3475af3b ("net: rds: add per rds connection cache statistics")
CC: Joe Jin <joe.jin@oracle.com>
CC: JUNXIAO_BI <junxiao.bi@oracle.com>
Suggested-by: Gerd Rausch <gerd.rausch@oracle.com>
Signed-off-by: Zhu Yanjun <yanjun.zhu@oracle.com>
Acked-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-08-24 16:55:25 -07:00
Masahiro Yamada
7542c6dedb jffs2: Remove C++ style comments from uapi header
Linux kernel tolerates C++ style comments these days. Actually, the
SPDX License tags for .c files start with //.

On the other hand, uapi headers are written in more strict C, where
the C++ comment style is forbidden.

I simply dropped these lines instead of fixing the comment style.

This code has been always commented out since it was added around
Linux 2.4.9 (i.e. commented out for more than 17 years).

'Maybe later...' will never happen.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Richard Weinberger <richard@nod.at>
2019-08-22 17:24:51 +02:00
David S. Miller
e15dbcdeb9 Merge git://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf
Pablo Neira Ayuso says:

====================
Netfilter fixes for net

The following patchset contains Netfilter fixes for net:

1) Remove IP MASQUERADING record in MAINTAINERS file,
   from Denis Efremov.

2) Counter arguments are swapped in ebtables, from
   Todd Seidelmann.

3) Missing netlink attribute validation in flow_offload
   extension.

4) Incorrect alignment in xt_nfacct that breaks 32-bits
   userspace / 64-bits kernels, from Juliana Rodrigueiro.

5) Missing include guard in nf_conntrack_h323_types.h,
   from Masahiro Yamada.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>
2019-08-19 13:16:07 -07:00
Isaac J. Manjarres
fe5698e796 ion: Merge all ION related changes from msm-4.19 to msm-lahaina
Merge all changes that deal with the ION memory manager from
msm-4.19 to msm-lahaina as of commit:

9dd0018410fe: Merge "clk: qcom: npucc-kona: Enable safe config and
HW_CTL for all RCGs".

Change-Id: I0c362ff9e6938883535467f0809ee360a733638e
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
2019-08-19 11:25:09 -07:00
Sandeep Patil
91d0bbda91 staging: ion: refactor ion's heap API into linux/ion.h
Now that we know the APIs needed by system and cma heaps,
refactor and move all those into linux/ion.h.

Unfortunately, the UAPI of ion is now split into linux/ion.h
and drivers/staging/android/uapi/ion.h since some of the UAPI
leaks into heap implementation (ion flags). It can all be moved
into linux/ion.h eventually for all android kernels.

Bug: 133508579
Test: ion-unit-tests

Change-Id: I73ea59b410c46a02e23f2da5c6bdc15182a50b32
Co-developed-by: Isaac J. Manjarres <isaacm@codeaurora.org>
Signed-off-by: Sandeep Patil <sspatil@google.com>
2019-08-19 11:19:49 -07:00
Linus Torvalds
06821504fd Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
Pull networking fixes from David Miller:

  1) Fix jmp to 1st instruction in x64 JIT, from Alexei Starovoitov.

  2) Severl kTLS fixes in mlx5 driver, from Tariq Toukan.

  3) Fix severe performance regression due to lack of SKB coalescing of
     fragments during local delivery, from Guillaume Nault.

  4) Error path memory leak in sch_taprio, from Ivan Khoronzhuk.

  5) Fix batched events in skbedit packet action, from Roman Mashak.

  6) Propagate VLAN TX offload to hw_enc_features in bond and team
     drivers, from Yue Haibing.

  7) RXRPC local endpoint refcounting fix and read after free in
     rxrpc_queue_local(), from David Howells.

  8) Fix endian bug in ibmveth multicast list handling, from Thomas
     Falcon.

  9) Oops, make nlmsg_parse() wrap around the correct function,
     __nlmsg_parse not __nla_parse(). Fix from David Ahern.

 10) Memleak in sctp_scend_reset_streams(), fro Zheng Bin.

 11) Fix memory leak in cxgb4, from Wenwen Wang.

 12) Yet another race in AF_PACKET, from Eric Dumazet.

 13) Fix false detection of retransmit failures in tipc, from Tuong
     Lien.

 14) Use after free in ravb_tstamp_skb, from Tho Vu.

* git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net: (101 commits)
  ravb: Fix use-after-free ravb_tstamp_skb
  netfilter: nf_tables: map basechain priority to hardware priority
  net: sched: use major priority number as hardware priority
  wimax/i2400m: fix a memory leak bug
  net: cavium: fix driver name
  ibmvnic: Unmap DMA address of TX descriptor buffers after use
  bnxt_en: Fix to include flow direction in L2 key
  bnxt_en: Use correct src_fid to determine direction of the flow
  bnxt_en: Suppress HWRM errors for HWRM_NVM_GET_VARIABLE command
  bnxt_en: Fix handling FRAG_ERR when NVM_INSTALL_UPDATE cmd fails
  bnxt_en: Improve RX doorbell sequence.
  bnxt_en: Fix VNIC clearing logic for 57500 chips.
  net: kalmia: fix memory leaks
  cx82310_eth: fix a memory leak bug
  bnx2x: Fix VF's VLAN reconfiguration in reload.
  Bluetooth: Add debug setting for changing minimum encryption key size
  tipc: fix false detection of retransmit failures
  lan78xx: Fix memory leaks
  MAINTAINERS: r8169: Update path to the driver
  MAINTAINERS: PHY LIBRARY: Update files in the record
  ...
2019-08-19 10:00:01 -07:00
Juliana Rodrigueiro
89a26cd4b5 netfilter: xt_nfacct: Fix alignment mismatch in xt_nfacct_match_info
When running a 64-bit kernel with a 32-bit iptables binary, the size of
the xt_nfacct_match_info struct diverges.

    kernel: sizeof(struct xt_nfacct_match_info) : 40
    iptables: sizeof(struct xt_nfacct_match_info)) : 36

Trying to append nfacct related rules results in an unhelpful message.
Although it is suggested to look for more information in dmesg, nothing
can be found there.

    # iptables -A <chain> -m nfacct --nfacct-name <acct-object>
    iptables: Invalid argument. Run `dmesg' for more information.

This patch fixes the memory misalignment by enforcing 8-byte alignment
within the struct's first revision. This solution is often used in many
other uapi netfilter headers.

Signed-off-by: Juliana Rodrigueiro <juliana.rodrigueiro@intra2net.com>
Acked-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
2019-08-19 09:34:21 +02:00
Raghavendra Rao Ananta
404cb1ae08 Merge remote-tracking branch 'remotes/origin/tmp-9855ec2fd422' into msm-lahaina
* remotes/origin/tmp-9855ec2fd422:
  ABI file update for 5.3-rc4
  Linux 5.3-rc4
  Makefile: Convert -Wimplicit-fallthrough=3 to just -Wimplicit-fallthrough for clang
  ARM: ep93xx: Mark expected switch fall-through
  scsi: fas216: Mark expected switch fall-throughs
  pcmcia: db1xxx_ss: Mark expected switch fall-throughs
  video: fbdev: omapfb_main: Mark expected switch fall-throughs
  watchdog: riowd: Mark expected switch fall-through
  s390/net: Mark expected switch fall-throughs
  crypto: ux500/crypt: Mark expected switch fall-throughs
  watchdog: wdt977: Mark expected switch fall-through
  watchdog: scx200_wdt: Mark expected switch fall-through
  watchdog: Mark expected switch fall-throughs
  ARM: signal: Mark expected switch fall-through
  mfd: omap-usb-host: Mark expected switch fall-throughs
  mfd: db8500-prcmu: Mark expected switch fall-throughs
  ARM: OMAP: dma: Mark expected switch fall-throughs
  ARM: alignment: Mark expected switch fall-throughs
  ARM: tegra: Mark expected switch fall-through
  ARM/hw_breakpoint: Mark expected switch fall-throughs
  mm/memremap: Fix reuse of pgmap instances with internal references
  drm/i915: Remove redundant user_access_end() from __copy_from_user() error path
  kbuild: show hint if subdir-y/m is used to visit module Makefile
  kbuild: generate modules.order only in directories visited by obj-y/m
  kbuild: fix false-positive need-builtin calculation
  kbuild: revive single target %.ko
  gfs2: gfs2_walk_metadata fix
  selftests: kvm: Adding config fragments
  KVM: selftests: Update gitignore file for latest changes
  kvm: remove unnecessary PageReserved check
  MAINTAINERS: handle fbdev changes through drm-misc tree
  bcache: Revert "bcache: use sysfs_match_string() instead of __sysfs_match_string()"
  s390/vdso: map vdso also for statically linked binaries
  KVM: arm/arm64: vgic: Reevaluate level sensitive interrupts on enable
  KVM: arm: Don't write junk to CP15 registers on reset
  KVM: arm64: Don't write junk to sysregs on reset
  ANDROID: gki_defconfig: disable IP_PNP, ECRYPT_FS
  dt-bindings: riscv: fix the schema compatible string for the HiFive Unleashed board
  dt-bindings: riscv: remove obsolete cpus.txt
  RISC-V: Remove udivdi3
  riscv: delay: use do_div() instead of __udivdi3()
  dt-bindings: Update the riscv,isa string description
  perf pmu-events: Fix missing "cpu_clk_unhalted.core" event
  perf annotate: Fix s390 gap between kernel end and module start
  perf record: Fix module size on s390
  perf tools: Fix include paths in ui directory
  perf tools: Fix a typo in a variable name in the Documentation Makefile
  perf cpumap: Fix writing to illegal memory in handling cpumap mask
  perf ftrace: Fix failure to set cpumask when only one cpu is present
  perf db-export: Fix thread__exec_comm()
  perf annotate: Fix printing of unaugmented disassembled instructions from BPF
  arm64: mm: add missing PTE_SPECIAL in pte_mkdevmap on arm64
  loop: set PF_MEMALLOC_NOIO for the worker thread
  usb: setup authorized_default attributes using usb_bus_notify
  bdev: Fixup error handling in blkdev_get()
  block, bfq: handle NULL return value by bfq_init_rq()
  block, bfq: move update of waker and woken list to queue freeing
  block, bfq: reset last_completed_rq_bfqq if the pointed queue is freed
  block: aoe: Fix kernel crash due to atomic sleep when exiting
  s390/build: use size command to perform empty .bss check
  kbuild: add OBJSIZE variable for the size tool
  pwm: Fallback to the static lookup-list when acpi_pwm_get fails
  usb: iowarrior: fix deadlock on disconnect
  Revert "USB: rio500: simplify locking"
  drm/vmwgfx: fix memory leak when too many retries have occurred
  ALSA: firewire: fix a memory leak bug
  genirq/affinity: Create affinity mask for single vector
  Revert "kernfs: fix memleak in kernel_ops_readdir()"
  x86/lib/cpu: Address missing prototypes warning
  x86/purgatory: Use CFLAGS_REMOVE rather than reset KBUILD_CFLAGS
  x86/purgatory: Do not use __builtin_memcpy and __builtin_memset
  sound: fix a memory leak bug
  hwmon: (lm75) Fixup tmp75b clr_mask
  hwmon: (nct7802) Fix wrong detection of in4 presence
  libata: add SG safety checks in SFF pio transfers
  libata: have ata_scsi_rw_xlat() fail invalid passthrough requests
  block: fix O_DIRECT error handling for bio fragments
  NFSv4: Ensure state recovery handles ETIMEDOUT correctly
  Revert "drm/amdkfd: New IOCTL to allocate queue GWS"
  x86: mtrr: cyrix: Mark expected switch fall-through
  x86/ptrace: Mark expected switch fall-through
  ALSA: hda - Workaround for crackled sound on AMD controller (1022:1457)
  Revert "PCI: Add missing link delays required by the PCIe spec"
  ALSA: hiface: fix multiple memory leak bugs
  Revert "drm/amdgpu: fix transform feedback GDS hang on gfx10 (v2)"
  RISC-V: Remove per cpu clocksource
  net: dsa: sja1105: Fix memory leak on meta state machine error path
  net: dsa: sja1105: Fix memory leak on meta state machine normal path
  net: dsa: sja1105: Really fix panic on unregistering PTP clock
  net: dsa: sja1105: Use the LOCKEDS bit for SJA1105 E/T as well
  net: dsa: sja1105: Fix broken learning with vlan_filtering disabled
  net: dsa: qca8k: Add of_node_put() in qca8k_setup_mdio_bus()
  net: sched: sample: allow accessing psample_group with rtnl
  net: sched: police: allow accessing police->params with rtnl
  net: hisilicon: Fix dma_map_single failed on arm64
  net: hisilicon: fix hip04-xmit never return TX_BUSY
  net: hisilicon: make hip04_tx_reclaim non-reentrant
  tc-testing: updated vlan action tests with batch create/delete
  net sched: update vlan action for batched events operations
  drm/amdgpu: pin the csb buffer on hw init for gfx v8
  net: stmmac: tc: Do not return a fragment entry
  net: stmmac: Fix issues when number of Queues >= 4
  net: stmmac: xgmac: Fix XGMAC selftests
  be2net: disable bh with spin_lock in be_process_mcc
  net: cxgb3_main: Fix a resource leak in a error path in 'init_one()'
  net: ethernet: sun4i-emac: Support phy-handle property for finding PHYs
  mmc: cavium: Add the missing dma unmap when the dma has finished.
  mmc: cavium: Set the correct dma max segment size for mmc_host
  mmc: sdhci-sprd: Fix the incorrect soft reset operation when runtime resuming
  Input: iforce - add sanity checks
  Input: applespi - use struct_size() helper
  ata: rb532_cf: Fix unused variable warning in rb532_pata_driver_probe
  ALSA: hda - Don't override global PCM hw info flag
  s390: put _stext and _etext into .text section
  s390/head64: cleanup unused labels
  s390/unwind: remove stack recursion warning
  s390/setup: adjust start_code of init_mm to _text
  s390/mm: fix dump_pagetables top level page table walking
  s390/protvirt: avoid memory sharing for diag 308 set/store
  sched/psi: Do not require setsched permission from the trigger creator
  sched/psi: Reduce psimon FIFO priority
  sched/deadline: Fix double accounting of rq/running bw in push & pull
  HID: sony: Fix race condition between rumble and device remove.
  ALSA: usb-audio: fix a memory leak bug
  HID: hiddev: do cleanup in failure of opening a device
  HID: hiddev: avoid opening a disconnected device
  ASoC: max98373: Remove executable bits
  SMB3: Kernel oops mounting a encryptData share with CONFIG_DEBUG_VIRTUAL
  smb3: update TODO list of missing features
  smb3: send CAP_DFS capability during session setup
  SMB3: Fix potential memory leak when processing compound chain
  SMB3: Fix deadlock in validate negotiate hits reconnect
  MIPS: BCM63XX: Mark expected switch fall-through
  dax: dax_layout_busy_page() should not unmap cow pages
  net: bridge: move default pvid init/deinit to NETDEV_REGISTER/UNREGISTER
  drivers/net/ethernet/marvell/mvmdio.c: Fix non OF case
  net/smc: avoid fallback in case of non-blocking connect
  net/smc: do not schedule tx_work in SMC_CLOSED state
  gve: Fix case where desc_cnt and data_cnt can get out of sync
  ipv6: Fix unbalanced rcu locking in rt6_update_exception_stamp_rt
  selftests/tls: add a litmus test for the socket reuse through shutdown
  net/tls: partially revert fix transition through disconnect with close
  NTB/msi: remove incorrect MODULE defines
  UPSTREAM: net-ipv6-ndisc: add support for RFC7710 RA Captive Portal Identifier
  kernfs: fix memleak in kernel_ops_readdir()
  net: fix bpf_xdp_adjust_head regression for generic-XDP
  selftests/bpf: reduce time to execute test_xdp_vlan.sh
  selftests/bpf: add wrapper scripts for test_xdp_vlan.sh
  bpf: fix XDP vlan selftests test_xdp_vlan.sh
  net/mlx5e: always initialize frag->last_in_page
  net: sched: use temporary variable for actions indexes
  net: dsa: mv88e6xxx: drop adjust_link to enabled phylink
  NFC: nfcmrvl: fix gpio-handling regression
  ANDROID: Removed hardcoded kernel command line arguments
  usb: usbfs: fix double-free of usb memory upon submiturb error
  usb: yurex: Fix use-after-free in yurex_delete
  KVM: arm/arm64: Sync ICH_VMCR_EL2 back when about to block
  drm/rockchip: Suspend DP late
  HID: input: fix a4tech horizontal wheel custom usage
  HID: Add quirk for HP X1200 PIXART OEM mouse
  HID: holtek: test for sanity of intfdata
  HID: wacom: fix bit shift for Cintiq Companion 2
  HID: quirks: Set the INCREMENT_USAGE_ON_DUPLICATE quirk on Saitek X52
  x86: kvm: remove useless calls to kvm_para_available
  KVM: no need to check return value of debugfs_create functions
  KVM: remove kvm_arch_has_vcpu_debugfs()
  KVM: Fix leak vCPU's VMCS value into other pCPU
  KVM: Check preempted_in_kernel for involuntary preemption
  KVM: LAPIC: Don't need to wakeup vCPU twice afer timer fire
  HID: logitech-dj: Really fix return value of logi_dj_recv_query_hidpp_devices
  drm/i915: Fix wrong escape clock divisor init for GLK
  drm/i915: fix possible memory leak in intel_hdcp_auth_downstream()
  Update abi_gki_aarch64.xml for 5.3-rc3
  cifs: fix rmmod regression in cifs.ko caused by force_sig changes
  NFS: Fix regression whereby fscache errors are appearing on 'nofsc' mounts
  NFSv4: Fix an Oops in nfs4_do_setattr
  NFSv4: Fix a potential sleep while atomic in nfs4_do_reclaim()
  NFSv4: Check the return value of update_open_stateid()
  NFSv4.1: Only reap expired delegations
  NFSv4.1: Fix open stateid recovery
  NFSv4: Report the error from nfs4_select_rw_stateid()
  NFSv4: When recovering state fails with EAGAIN, retry the same recovery
  NFSv4: Print an error in the syslog when state is marked as irrecoverable
  NFSv4: Fix delegation state recovery
  NFSv4: Fix a credential refcount leak in nfs41_check_delegation_stateid
  Linux 5.3-rc3
  tpm: tpm_ibm_vtpm: Fix unallocated banks
  tpm: Fix null pointer dereference on chip register error path
  MAINTAINERS: Add Geert as Renesas SoC Co-Maintainer
  kconfig: Clear "written" flag to avoid data loss
  Documentation: Add swapgs description to the Spectre v1 documentation
  net/socket: fix GCC8+ Wpacked-not-aligned warnings
  drivers/acpi/scan.c: document why we don't need the device_hotplug_lock
  memremap: move from kernel/ to mm/
  lib/test_meminit.c: use GFP_ATOMIC in RCU critical section
  asm-generic: fix -Wtype-limits compiler warnings
  cgroup: kselftest: relax fs_spec checks
  mm/memory_hotplug.c: remove unneeded return for void function
  mm/migrate.c: initialize pud_entry in migrate_vma()
  coredump: split pipe command whitespace before expanding template
  page flags: prioritize kasan bits over last-cpuid
  ubsan: build ubsan.c more conservatively
  kasan: remove clang version check for KASAN_STACK
  mm: compaction: avoid 100% CPU usage during compaction when a task is killed
  mm: migrate: fix reference check race between __find_get_block() and migration
  mm: vmscan: check if mem cgroup is disabled or not before calling memcg slab shrinker
  ocfs2: remove set but not used variable 'last_hash'
  Revert "kmemleak: allow to coexist with fault injection"
  kernel/signal.c: fix a kernel-doc markup
  drm/modes: Fix unterminated strncpy
  drm/amd/powerplay: correct navi10 vcn powergate
  drm/amd/powerplay: honor hw limit on fetching metrics data for navi10
  drm/amd/powerplay: Allow changing of fan_control in smu_v11_0
  r8152: fix typo in register name
  net: phy: fix race in genphy_update_link
  enetc: Select PHYLIB while CONFIG_FSL_ENETC_VF is set
  net/ethernet/qlogic/qed: force the string buffer NULL-terminated
  atm: iphase: Fix Spectre v1 vulnerability
  hv_sock: Fix hang when a connection is closed
  mtd: hyperbus: Add hardware dependency to AM654 driver
  mtd: hyperbus: Kconfig: Fix HBMC_AM654 dependencies
  mtd: rawnand: micron: handle on-die "ECC-off" devices correctly
  ASoC: amd: acp3x: use dma address for acp3x dma driver
  ASoC: amd: acp3x: use dma_ops of parent device for acp3x dma driver
  usb: typec: tcpm: Ignore unsupported/unknown alternate mode requests
  xhci: Fix NULL pointer dereference at endpoint zero reset.
  usb: host: xhci-rcar: Fix timeout in xhci_suspend()
  drm/amd/amdgpu/vcn_v2_0: Move VCN 2.0 specific dec ring test to vcn_v2_0
  drm/amd/amdgpu/vcn_v2_0: Mark RB commands as KMD commands
  Revert "drm/vgem: fix cache synchronization on arm/arm64"
  s390/zcrypt: adjust switch fall through comments for -Wimplicit-fallthrough
  can: peak_usb: pcan_usb_pro: Fix info-leaks to USB devices
  can: peak_usb: pcan_usb_fd: Fix info-leaks to USB devices
  can: peak_usb: force the string buffer NULL-terminated
  can: sja1000: force the string buffer NULL-terminated
  spi: pxa2xx: Add support for Intel Tiger Lake
  arm64: Make debug exception handlers visible from RCU
  arm64: kprobes: Recover pstate.D in single-step exception handler
  drm/exynos: fix missing decrement of retry counter
  drm/exynos: add CONFIG_MMU dependency
  drm/exynos: remove redundant assignment to pointer 'node'
  drm/exynos: using dev_get_drvdata directly
  crypto: ccp - Ignore tag length when decrypting GCM ciphertext
  crypto: ccp - Add support for valid authsize values less than 16
  crypto: ccp - Fix oops by properly managing allocated structures
  s390/dasd: fix endless loop after read unit address configuration
  drm/nouveau: Only release VCPI slots on mode changes
  net: usb: pegasus: fix improper read if get_registers() fail
  tipc: compat: allow tipc commands without arguments
  ACPI: PM: Fix regression in acpi_device_set_power()
  i2c: s3c2410: Mark expected switch fall-through
  i2c: at91: fix clk_offset for sama5d2
  i2c: at91: disable TXRDY interrupt after sending data
  block: Fix __blkdev_direct_IO() for bio fragments
  coresight: Fix DEBUG_LOCKS_WARN_ON for uninitialized attribute
  Input: kbtab - sanity check for endpoint type
  Input: usbtouchscreen - initialize PM mutex before using it
  net: samsung: Spelling s/case/cause/
  net: packetengines: Fix manufacturer spelling and capitalization
  net: nixge: Spelling s/Instrument/Instruments/
  net: ixp4xx: Spelling s/XSacle/XScale/
  net: broadcom: Fix manufacturer name in Kconfig help text
  net: apple: Fix manufacturer name in Kconfig help text
  net: amd: Spelling s/case/cause/
  net: 8390: Fix manufacturer name in Kconfig help text
  Add entry in MAINTAINERS file for SafeSetID LSM
  mvpp2: fix panic on module removal
  RDMA/hns: Fix error return code in hns_roce_v1_rsv_lp_qp()
  drm: msm: Fix add_gpu_components
  iwlwifi: dbg_ini: fix compile time assert build errors
  RDMA/mlx5: Release locks during notifier unregister
  usb: typec: ucsi: ccg: Fix uninitilized symbol error
  IB/hfi1: Fix Spectre v1 vulnerability
  IB/mad: Fix use-after-free in ib mad completion handling
  RDMA/restrack: Track driver QP types in resource tracker
  IB/mlx5: Fix MR registration flow to use UMR properly
  RDMA/devices: Remove the lock around remove_client_context
  RDMA/devices: Do not deadlock during client removal
  IB/core: Add mitigation for Spectre V1
  arm64/mm: fix variable 'tag' set but not used
  perf bench numa: Fix cpu0 binding
  ABI: fix abi_gki_aarch64.xml due to 'ion' core changes merge.
  drm/msm: Annotate intentional switch statement fall throughs
  drm/msm: add support for per-CRTC max_vblank_count on mdp5
  ANDROID: dma-buf: Add support to get flags associated with a buffer
  ANDROID: dma-buf: Add support for mapping buffers with DMA attributes
  ANDROID: dma-buf: Add support for partial cache maintenance
  ANDROID: staging: android: ion: Expose ion_alloc() to kernel space
  ANDROID: staging: android: ion: Decouple ION page pooling from ION core
  arm64/mm: fix variable 'pud' set but not used
  arm64: Remove unneeded rcu_read_lock from debug handlers
  arm64: unwind: Prohibit probing on return_address()
  arm64: Lower priority mask for GIC_PRIO_IRQON
  regulator: of: Add of_node_put() before return in function
  drm/bochs: Use shadow buffer for bochs framebuffer console
  drm/fb-helper: Instanciate shadow FB if configured in device's mode_config
  drm/fb-helper: Map DRM client buffer only when required
  drm/client: Support unmapping of DRM client buffers
  i2c: iproc: Fix i2c master read more than 63 bytes
  parisc: Add archclean Makefile target
  parisc: Strip debug info from kernel before creating compressed vmlinuz
  parisc: Fix build of compressed kernel even with debug enabled
  drm/i915: Only recover active engines
  drm/i915: Add a wakeref getter for iff the wakeref is already active
  drm/i915: Lift intel_engines_resume() to callers
  xen/swiotlb: remember having called xen_create_contiguous_region()
  xen/swiotlb: simplify range_straddles_page_boundary()
  xen/swiotlb: fix condition for calling xen_destroy_contiguous_region()
  net: stmmac: Use netif_tx_napi_add() for TX polling function
  net: bridge: mcast: don't delete permanent entries when fast leave is enabled
  net: phy: phy_led_triggers: Fix a possible null-pointer dereference in phy_led_trigger_change_speed()
  selftests/tls: fix TLS tests with CONFIG_TLS=n
  selinux: fix memory leak in policydb_init()
  drm/msm: Use the correct dma_sync calls in msm_gem
  Bluetooth: hci_uart: check for missing tty operations
  mm: slub: Fix slab walking for init_on_free
  riscv: defconfig: align RV64 defconfig to the output of "make savedefconfig"
  riscv: dts: fu540-c000: drop "timebase-frequency"
  riscv: Fix perf record without libelf support
  drm/vgem: fix cache synchronization on arm/arm64
  arm64/efi: fix variable 'si' set but not used
  arm64: cpufeature: Fix feature comparison for CTR_EL0.{CWG,ERG}
  arm64: vdso: Fix Makefile regression
  gfs2: Inode dirtying fix
  Unbreak mount_capable()
  isdn: hfcsusb: Fix mISDN driver crash caused by transfer buffer on the stack
  net: mediatek: Drop unneeded dependency on NET_VENDOR_MEDIATEK
  net: ag71xx: Use GFP_KERNEL instead of GFP_ATOMIC in 'ag71xx_rings_init()'
  net: ethernet: et131x: Use GFP_KERNEL instead of GFP_ATOMIC when allocating tx_ring->tcb_ring
  MAINTAINERS: floppy: take over maintainership
  drop_monitor: Add missing uAPI file to MAINTAINERS file
  mlxsw: spectrum_buffers: Further reduce pool size on Spectrum-2
  mlxsw: spectrum: Fix error path in mlxsw_sp_module_init()
  kbuild: Check for unknown options with cc-option usage in Kconfig and clang
  lib/raid6: fix unnecessary rebuild of vpermxor*.c
  kbuild: modpost: do not parse unnecessary rules for vmlinux modpost
  kbuild: modpost: remove unnecessary dependency for __modpost
  kbuild: modpost: handle KBUILD_EXTRA_SYMBOLS only for external modules
  kbuild: modpost: include .*.cmd files only when targets exist
  drm/i810: Use CONFIG_PREEMPTION
  nbd: replace kill_bdev() with __invalidate_device() again
  ata: libahci: do not complain in case of deferred probe
  io_uring: fix KASAN use after free in io_sq_wq_submit_work
  parisc: fix race condition in patching code
  parisc: rename default_defconfig to defconfig
  parisc: Fix fall-through warnings in fpudispatch.c
  parisc: Mark expected switch fall-throughs in fault.c
  Input: applespi - add dependency on LEDS_CLASS
  Revert "powerpc: slightly improve cache helpers"
  powerpc/kasan: fix early boot failure on PPC32
  drivers/macintosh/smu.c: Mark expected switch fall-through
  ASoC: max98373: add 88200 and 96000 sampling rate support
  ASoC: sun4i-i2s: Incorrect SR and WSS computation
  MAINTAINERS: Update Intel ASoC drivers maintainers
  drm/amd/powerplay: correct UVD/VCE/VCN power status retrieval
  drm/amd/powerplay: correct Navi10 VCN powergate control (v2)
  drm/amd/powerplay: support VCN powergate status retrieval for SW SMU
  drm/amd/powerplay: support VCN powergate status retrieval on Raven
  drm/amd/powerplay: add new sensor type for VCN powergate status
  drm/amdgpu: fix a potential information leaking bug
  drm/amdgpu: fix error handling in amdgpu_cs_process_fence_dep
  xen: avoid link error on ARM
  xen/gntdev.c: Replace vm_map_pages() with vm_map_pages_zero()
  drm/amd/powerplay: enable SW SMU reset functionality
  drm/amd/powerplay: fix null pointer dereference around dpm state relates
  drm/amdgpu/powerplay: use proper revision id for navi
  drm/amd/powerplay: fix temperature granularity error in smu11
  drm/amd/powerplay: add callback function of get_thermal_temperature_range
  drm/amdkfd: Fix byte align on VegaM
  fgraph: Remove redundant ftrace_graph_notrace_addr() test
  tracing: Fix header include guards in trace event headers
  dm table: fix various whitespace issues with recent DAX code
  dm table: fix dax_dev NULL dereference in device_synchronous()
  arm64: compat: vdso: Use legacy syscalls as fallback
  x86/vdso/32: Use 32bit syscall fallback
  lib/vdso/32: Provide legacy syscall fallbacks
  lib/vdso: Move fallback invocation to the callers
  lib/vdso/32: Remove inconsistent NULL pointer checks
  net: dsa: qca8k: enable port flow control
  selftests/livepatch: push and pop dynamic debug config
  kselftest: save-and-restore errno to allow for %m formatting
  compat_ioctl: pppoe: fix PPPOEIOCSFWD handling
  tipc: fix unitilized skb list crash
  loop: Fix mount(2) failure due to race with LOOP_SET_FD
  xfs: Fix possible null-pointer dereferences in xchk_da_btree_block_check_sibling()
  exit: make setting exit_state consistent
  enetc: Fix build error without PHYLIB
  net: stmmac: Sync RX Buffer upon allocation
  mlxsw: spectrum_ptp: fix duplicated check on orig_egr_types
  net: dsa: mv88e6xxx: use link-down-define instead of plain value
  net: phy: fixed_phy: print gpio error only if gpio node is present
  scsi: qla2xxx: Fix possible fcport null-pointer dereferences
  scsi: mpt3sas: Use 63-bit DMA addressing on SAS35 HBA
  driver core: Fix use-after-free and double free on glue directory
  scsi: hpsa: remove printing internal cdb on tag collision
  MIPS: OProfile: Mark expected switch fall-throughs
  scsi: hpsa: correct scsi command status issue after reset
  iwlwifi: mvm: fix a use-after-free bug in iwl_mvm_tx_tso_segment
  iwlwifi: mvm: fix an out-of-bound access
  iwlwifi: don't unmap as page memory that was mapped as single
  iwlwifi: mvm: fix version check for GEO_TX_POWER_LIMIT support
  iwlwifi: add 3 new IDs for the 9000 series (iwl9260_2ac_160_cfg)
  iwlwifi: mvm: fix possible out-of-bounds read when accessing lq_info
  iwlwifi: mvm: fix frame drop from the reordering buffer
  iwlwifi: mvm: replace RS mutex with a spin_lock
  iwlwifi: mvm: send LQ command always ASYNC
  iwlwifi: mvm: fix comparison of u32 variable with less than zero
  iwlwifi: fix locking in delayed GTK setting
  iwlwifi: dbg_ini: move iwl_dbg_tlv_free outside of debugfs ifdef
  iwlwifi: dbg_ini: move iwl_dbg_tlv_load_bin out of debug override ifdef
  iwlwifi: mvm: add a wrapper around rs_tx_status to handle locks
  iwlwifi: mvm: add a loose synchronization of the NSSN across Rx queues
  iwlwiif: mvm: refactor iwl_mvm_notify_rx_queue
  iwlwifi: mvm: add a new RSS sync notification for NSSN sync
  iwlwifi: mvm: prepare the ground for more RSS notifications
  iwlwifi: mvm: don't send GEO_TX_POWER_LIMIT on version < 41
  iwlwifi: mvm: avoid races in rate init and rate perform
  iwlwifi: mvm: disable TX-AMSDU on older NICs
  MAINTAINERS: Move linux-fpga tree to new location
  Btrfs: fix deadlock between fiemap and transaction commits
  Btrfs: fix race leading to fs corruption after transaction abort
  Btrfs: fix incremental send failure after deduplication
  nvmem: Use the same permissions for eeprom as for nvmem
  kbuild: initialize CLANG_FLAGS correctly in the top Makefile
  media: vivid: fix missing cec adapter name
  kgdboc: disable the console lock when in kgdb
  mwifiex: fix 802.11n/WPA detection
  rxrpc: Fix the lack of notification when sendmsg() fails on a DATA packet
  powerpc/spe: Mark expected switch fall-throughs
  rxrpc: Fix potential deadlock
  drm/bridge: tc358764: Fix build error
  Revert "mac80211: set NETIF_F_LLTX when using intermediate tx queues"
  drm/bridge: lvds-encoder: Fix build error while CONFIG_DRM_KMS_HELPER=m
  driver core: platform: return -ENXIO for missing GpioInt
  netfilter: ebtables: also count base chain policies
  powerpc/nvdimm: Pick nearby online node if the device node is not online
  ALSA: usb-audio: Fix gpf in snd_usb_pipe_sanity_check
  usb: typec: tcpm: remove tcpm dir if no children
  usb: typec: tcpm: free log buf memory when remove debug file
  usb: typec: tcpm: Add NULL check before dereferencing config
  drm/i915/gvt: Adding ppgtt to GVT GEM context after shadow pdps settled.
  drm/i915/gvt: grab runtime pm first for forcewake use
  drm/i915/gvt: fix incorrect cache entry for guest page mapping
  drm/i915/gvt: Checking workload's gma earlier
  drm/i915/gvt: Don't use ggtt_validdate_range() with size=0
  drm/i915/gvt: Warning for invalid ggtt access
  ABI: fix up abi_gki_aarch64.xml due to 'eas-dev' merge
  drm/i915/gvt: remove duplicate include of trace.h
  ABI change due to fix for PREEMPT
  scsi: fcoe: pass in fcoe_rport structure instead of fc_rport_priv
  scsi: fcoe: Embed fc_rport_priv in fcoe_rport structure
  scsi: libfc: Whitespace cleanup in libfc.h
  net: smc911x: Mark expected switch fall-through
  libata: zpodd: Fix small read overflow in zpodd_get_mech_type()
  pinctrl: aspeed: Make aspeed_pinmux_ips static
  ataflop: Mark expected switch fall-through
  net: hamradio: baycom_epp: Mark expected switch fall-through
  net: wan: sdla: Mark expected switch fall-through
  net: sctp: drop unneeded likely() call around IS_ERR()
  mlxsw: spectrum_ptp: Increase parsing depth when PTP is enabled
  netfilter: ipset: Fix rename concurrency with listing
  netfilter: ipset: Copy the right MAC address in bitmap:ip,mac and hash:ip,mac sets
  netfilter: ipset: Actually allow destination MAC address for hash:ip,mac sets too
  net: spider_net: Mark expected switch fall-through
  net: ehea: Mark expected switch fall-through
  mvpp2: refactor the HW checksum setup
  net: fix ifindex collision during namespace removal
  mvpp2: refactor MTU change code
  rocker: fix memory leaks of fib_work on two error return paths
  net: stmmac: manage errors returned by of_get_mac_address()
  GKI: change config option back to PREEMPT
  Do not dereference 'siw_crypto_shash' before checking
  net/af_iucv: mark expected switch fall-throughs
  arcnet: com20020-isa: Mark expected switch fall-throughs
  ALSA: pcm: fix lost wakeup event scenarios in snd_pcm_drain
  RDMA/qedr: Fix the hca_type and hca_rev returned in device attributes
  net: bridge: delete local fdb on device init failure
  net: sched: Fix a possible null-pointer dereference in dequeue_func()
  MAINTAINERS: Remove mailing-list entry for XDP (eXpress Data Path)
  arcnet: arc-rimi: Mark expected switch fall-throughs
  arcnet: com90io: Mark expected switch fall-throughs
  arcnet: com90xx: Mark expected switch fall-throughs
  dax: Fix missed wakeup in put_unlocked_entry()
  RDMA/hns: Fix build error
  vfio-ccw: make vfio_ccw_async_region_ops static
  s390/3215: add switch fall through comment for -Wimplicit-fallthrough
  s390/tape: add fallthrough annotations
  s390/mm: add fallthrough annotations
  s390/mm: make gmap_test_and_clear_dirty_pmd static
  s390/kexec: add missing include to machine_kexec_reloc.c
  s390/perf: make cf_diag_csd static
  s390/lib: add missing include
  s390/boot: add missing declarations and includes
  s390: update configs
  s390: clean up qdio.h
  platform/x86: pcengines-apuv2: use KEY_RESTART for front button
  pidfd: Add warning if exit_state is 0 during notification
  pidfd: remove obsolete comments from test
  mac80211_hwsim: Fix possible null-pointer dereferences in hwsim_dump_radio_nl()
  mac80211: don't WARN on short WMM parameters from AP
  libbpf: fix missing __WORDSIZE definition
  netfilter: add include guard to xt_connlabel.h
  drm/i915: Fix the TBT AUX power well enabling
  drm/i915: Fix GEN8_MCR_SELECTOR programming
  drm/i915/vbt: Fix VBT parsing for the PSR section
  drm/i915: Make sure cdclk is high enough for DP audio on VLV/CHV
  drm/i915: Lock the engine while dumping the active request
  drm/i915/perf: add missing delay for OA muxes configuration
  drm/i915/perf: ensure we keep a reference on the driver
  drm/i915/userptr: Acquire the page lock around set_page_dirty()
  drm/i915/gtt: Mark the freed page table entries with scratch
  drm/i915/gtt: Defer the free for alloc error paths
  drm/i915: Deal with machines that expose less than three QGV points
  drm/i915: Fix memleak in runtime wakeref tracking
  drm/i915/icl: whitelist PS_(DEPTH|INVOCATION)_COUNT
  drm/i915: whitelist PS_(DEPTH|INVOCATION)_COUNT
  drm/i915: fix whitelist selftests with readonly registers
  powerpc/kvm: Fall through switch case explicitly
  perf tools: Fix perf.data documentation units for memory size
  perf header: Fix use of unitialized value warning
  perf header: Fix divide by zero error if f_header.attr_size==0
  tools headers UAPI: Sync if_link.h with the kernel
  tools headers UAPI: Sync sched.h with the kernel
  tools headers UAPI: Sync usbdevice_fs.h with the kernels to get new ioctl
  tools perf beauty: Fix usbdevfs_ioctl table generator to handle _IOC()
  tools headers UAPI: Update tools's copy of drm.h headers
  tools headers UAPI: Update tools's copy of mman.h headers
  drm/i915: Fix various tracepoints for gen2
  drm/i915/perf: fix ICL perf register offsets
  drm/i915: Disable SAMPLER_STATE prefetching on all Gen11 steppings.
  drm/i915: Keep rings pinned while the context is active
  arm64: module: Mark expected switch fall-through
  arm64: smp: Mark expected switch fall-through
  arm64: hw_breakpoint: Fix warnings about implicit fallthrough
  drivers/perf: arm_pmu: Fix failure path in PM notifier
  arm64: compat: Allow single-byte watchpoints on all addresses
  arm64: KVM: hyp: debug-sr: Mark expected switch fall-through
  habanalabs: fix host memory polling in BE architecture
  habanalabs: fix F/W download in BE architecture
  ABI file update for 5.3-rc2
  dma-contiguous: page-align the size in dma_free_contiguous()
  dma-contiguous: do not overwrite align in dma_alloc_contiguous()
  f2fs: use EINVAL for superblock with invalid magic
  xfs: fix stack contents leakage in the v1 inumber ioctls
  ANDROID: label cuttlefish modules for gki
  kbuild: detect missing "WITH Linux-syscall-note" for uapi headers
  powerpc: Wire up clone3 syscall
  gpiolib: Preserve desc->flags when setting state
  pinctrl: aspeed-g5: Delay acquisition of regmaps
  Linux 5.3-rc2
  x86/speculation/swapgs: Exclude ATOMs from speculation through SWAPGS
  eeprom: at24: make spd world-readable again
  gpio: don't WARN() on NULL descs if gpiolib is disabled
  r8169: don't use MSI before RTL8168d
  Revert ("r8169: remove 1000/Half from supported modes")
  net: phylink: Fix flow control for fixed-link
  gigaset: stop maintaining seperately
  net: rds: Fix possible null-pointer dereferences in rds_rdma_cm_event_handler_cmn()
  iio: adc: gyroadc: fix uninitialized return code
  isdn: mISDN: hfcsusb: Fix possible null-pointer dereferences in start_isoc_chain()
  docs: generic-counter.rst: fix broken references for ABI file
  ALSA: hda: Fix 1-minute detection delay when i915 module is not available
  kbuild: remove unused single-used-m
  gen_compile_commands: lower the entry count threshold
  .gitignore: Add compilation database file
  kbuild: remove unused objectify macro
  f2fs: fix to read source block before invalidating it
  dt-bindings: Fix more $id value mismatches filenames
  dt-bindings: nvmem: SID: Fix the examples node names
  dt-bindings: nvmem: Add YAML schemas for the generic NVMEM bindings
  of: Fix typo in kerneldoc
  ANDROID: Add initial rockpi4_defconfig
  net: qualcomm: rmnet: Fix incorrect UL checksum offload logic
  ip6_tunnel: fix possible use-after-free on xmit
  ocelot: Cancel delayed work before wq destruction
  qed: RDMA - Fix the hw_ver returned in device attributes
  net: usb: qmi_wwan: Add the BroadMobi BM818 card
  block: fix max segment size handling in blk_queue_virt_boundary
  tools headers UAPI: Update tools's copy of kvm.h headers
  tools include UAPI: Sync x86's syscalls_64.tbl and generic unistd.h to pick up clone3 and pidfd_open
  KVM: arm64: Update kvm_arm_exception_class and esr_class_str for new EC
  KVM: arm: vgic-v3: Mark expected switch fall-through
  arm64: KVM: regmap: Fix unexpected switch fall-through
  docs: phy: Drop duplicate 'be made'
  irqchip/renesas-rza1: Fix an use-after-free in rza1_irqc_probe()
  irqchip/irq-imx-gpcv2: Forward irq type to parent
  irqchip/irq-mbigen: Add of_node_put() before return
  irqchip/gic-v3-its: Free unused vpt_page when alloc vpe table fail
  irqchip/gic-v3: Mark expected switch fall-through
  ASoC: ti: davinci-mcasp: Correct slot_width posed constraint
  ASoC: rockchip: Fix mono capture
  ASoC: Intel: Fix some acpi vs apci typo in somme comments
  ASoC: ti: davinci-mcasp: Fix clk PDIR handling for i2s master mode
  fix the struct mount leak in umount_tree()
  {nl,mac}80211: fix interface combinations on crypto controlled devices
  vhost: disable metadata prefetch optimization
  MAINTAINERS: vfio-ccw: Remove myself as the maintainer
  s390/mm: use shared variables for sysctl range check
  virtio/s390: fix race on airq_areas[]
  s390/dma: provide proper ARCH_ZONE_DMA_BITS value
  btrfs: fix extent_state leak in btrfs_lock_and_flush_ordered_range
  xen/pciback: remove set but not used variable 'old_state'
  Makefile: Globally enable fall-through warning
  drm/i915: Mark expected switch fall-throughs
  drm/amd/display: Mark expected switch fall-throughs
  drm/amdkfd/kfd_mqd_manager_v10: Avoid fall-through warning
  drm/amdgpu/gfx10: Fix missing break in switch statement
  drm/amdkfd: Fix missing break in switch statement
  perf/x86/intel: Mark expected switch fall-throughs
  mtd: onenand_base: Mark expected switch fall-through
  afs: fsclient: Mark expected switch fall-throughs
  afs: yfsclient: Mark expected switch fall-throughs
  can: mark expected switch fall-throughs
  firewire: mark expected switch fall-throughs
  ipip: validate header length in ipip_tunnel_xmit
  selftests/net: add missing gitignores (ipv6_flowlabel)
  bnx2x: Disable multi-cos feature.
  structleak: disable STRUCTLEAK_BYREF in combination with KASAN_STACK
  Documentation: TLS: fix stat counters description
  nfp: tls: rename tls packet counters
  net/mlx5e: kTLS, Call WARN_ONCE on netdev mismatch
  net/mlx5e: Prevent encap flow counter update async to user query
  net/mlx5e: Fix matching of speed to PRM link modes
  net/mlx5e: Fix wrong max num channels indication
  net/mlx5: Fix modify_cq_in alignment
  net/mlx5: Add missing RDMA_RX capabilities
  net/mlx5: Use reversed order when unregister devices
  nouveau: unlock mmap_sem on all errors from nouveau_range_fault
  nouveau: remove the block parameter to nouveau_range_fault
  mm/hmm: move hmm_vma_range_done and hmm_vma_fault to nouveau
  mm/hmm: always return EBUSY for invalid ranges in hmm_range_{fault,snapshot}
  fsl/fman: Remove comment referring to non-existent function
  st_nci_hci_connectivity_event_received: null check the allocation
  st21nfca_connectivity_event_received: null check the allocation
  tun: mark small packets as owned by the tap sock
  lib/dim: Fix -Wunused-const-variable warnings
  linux/dim: Fix overflow in dim calculation
  ife: error out when nla attributes are empty
  platform/x86: intel_pmc_core: Add ICL-NNPI support to PMC Core
  Platform: OLPC: add SPI MODULE_DEVICE_TABLE
  libbpf: silence GCC8 warning about string truncation
  platform/x86: wmi: add missing struct parameter description
  platform/x86: pcengines-apuv2: Fix softdep statement
  io_uring: ensure ->list is initialized for poll commands
  btrfs: Fix deadlock caused by missing memory barrier
  IB/mlx5: Fix RSS Toeplitz setup to be aligned with the HW specification
  IB/counters: Always initialize the port counter object
  IB/core: Fix querying total rdma stats
  IB/mlx5: Prevent concurrent MR updates during invalidation
  perf/x86/intel: Mark expected switch fall-throughs
  perf/core: Fix creating kernel counters for PMUs that override event->cpu
  perf/x86: Apply more accurate check on hypervisor platform
  perf/x86/intel: Fix invalid Bit 13 for Icelake MSR_OFFCORE_RSP_x register
  perf/x86/intel: Fix SLOTS PEBS event constraint
  locking/mutex: Test for initialized mutex
  locking/lockdep: Clean up #ifdef checks
  locking/lockdep: Hide unused 'class' variable
  locking/rwsem: Add ACQUIRE comments
  tty/ldsem, locking/rwsem: Add missing ACQUIRE to read_failed sleep loop
  lcoking/rwsem: Add missing ACQUIRE to read_slowpath sleep loop
  locking/rwsem: Add missing ACQUIRE to read_slowpath exit when queue is empty
  locking/rwsem: Don't call owner_on_cpu() on read-owner
  sched/fair: Use RCU accessors consistently for ->numa_group
  sched/fair: Don't free p->numa_faults with concurrent readers
  drm/tegra: Fix gpiod_get_from_of_node() regression
  test_firmware: fix a memory leak bug
  hpet: Fix division by zero in hpet_time_div()
  eeprom: make older eeprom drivers select NVMEM_SYSFS
  vt: Grab console_lock around con_is_bound in show_bind
  vmw_balloon: Remove Julien from the maintainers list
  staging: android: ion: Bail out upon SIGKILL when allocating memory.
  x86/speculation/mds: Apply more accurate check on hypervisor platform
  x86/hpet: Undo the early counter is counting check
  tty: serial: netx: Delete driver
  xhci: Fix crash if scatter gather is used with Immediate Data Transfer (IDT).
  usb: usb251xb: Reallow swap-dx-lanes to apply to the upstream port
  Revert "usb: usb251xb: Add US port lanes inversion property"
  Revert "usb: usb251xb: Add US lanes inversion dts-bindings"
  iomap: fix Invalid License ID
  treewide: remove SPDX "WITH Linux-syscall-note" from kernel-space headers again
  treewide: add "WITH Linux-syscall-note" to SPDX tag of uapi headers
  usb: wusbcore: fix unbalanced get/put cluster_id
  usb/hcd: Fix a NULL vs IS_ERR() bug in usb_hcd_setup_local_mem()
  usb-storage: Add a limitation for blk_queue_max_hw_sectors()
  usb: pci-quirks: Minor cleanup for AMD PLL quirk
  usb: pci-quirks: Correct AMD PLL quirk detection
  Input: synaptics - enable RMI mode for HP Spectre X360
  Staging: fbtft: Fix GPIO handling
  staging: unisys: visornic: Update the description of 'poll_for_irq()'
  staging: wilc1000: flush the workqueue before deinit the host
  staging: gasket: apex: fix copy-paste typo
  Staging: fbtft: Fix reset assertion when using gpio descriptor
  Staging: fbtft: Fix probing of gpio descriptor
  ALSA: hda - Add a conexant codec entry to let mute led work
  netfilter: nft_meta_bridge: Eliminate 'out' label
  netfilter: nf_tables: Make nft_meta expression more robust
  objtool: Improve UACCESS coverage
  xtensa: fix build for cores with coprocessors
  netrom: hold sock when setting skb->destructor
  ovs: datapath: hide clang frame-overflow warnings
  net/tls: add myself as a co-maintainer
  net: phy: mscc: initialize stats array
  ALSA: hda - Fix intermittent CORB/RIRB stall on Intel chips
  net: phylink: don't start and stop SGMII PHYs in SFP modules twice
  ip6_gre: reload ipv6h in prepare_ip6gre_xmit_ipv6
  net/ipv4: cleanup error condition testing
  Fix uninitialized variable in ipmb_dev_int.c
  dt-bindings: interrupt-controller: al-fic: remove redundant binding
  selftests/livepatch: add test skip handling
  IB/mlx5: Fix clean_mr() to work in the expected order
  IB/mlx5: Move MRs to a kernel PD when freeing them to the MR cache
  IB/mlx5: Use direct mkey destroy command upon UMR unreg failure
  IB/mlx5: Fix unreg_umr to ignore the mkey state
  ktest: Fix some typos in config-bisect.pl
  spi: bcm2835: Fix 3-wire mode if DMA is enabled
  selftests: mlxsw: Fix typo in qos_mc_aware.sh
  access: avoid the RCU grace period for the temporary subjective credentials
  regulator: lp87565: Fix probe failure for "ti,lp87565"
  ASoC: Fail card instantiation if DAI format setup fails
  arm: use swiotlb for bounce buffering on LPAE configs
  dma-mapping: check pfn validity in dma_common_{mmap,get_sgtable}
  selinux: check sidtab limit before adding a new entry
  dt-bindings: clk: allwinner,sun4i-a10-ccu: Correct path in $id
  KVM: X86: Boost queue head vCPU to mitigate lock waiter preemption
  x86/entry/32: Pass cr2 to do_async_page_fault()
  Input: elantech - annotate fall-through case in elantech_use_host_notify()
  fpga-manager: altera-ps-spi: Fix build error
  mei: me: add mule creek canyon (EHL) device ids
  can: gw: Fix error path of cgw_module_init
  can: peak_usb: fix potential double kfree_skb()
  can: flexcan: fix stop mode acknowledgment
  can: flexcan: fix an use-after-free in flexcan_setup_stop_mode()
  can: mcp251x: add error check when wq alloc failed
  can: rcar_canfd: fix possible IRQ storm on high load
  can: dev: call netif_carrier_off() in register_candev()
  binder: prevent transactions to context manager from its own process.
  binder: Set end of SG buffer area properly.
  Documentation: move Documentation/virtual to Documentation/virt
  scsi: scsi_dh_alua: always use a 2 second delay before retrying RTPG
  scsi: ibmvfc: fix WARN_ON during event pool release
  scsi: fcoe: fix a typo
  scsi: megaraid_sas: Make some functions static
  scsi: megaraid_sas: fix panic on loading firmware crashdump
  scsi: megaraid_sas: fix spelling mistake "megarid_sas" -> "megaraid_sas"
  libbpf: fix using uninitialized ioctl results
  selftests/bpf: add another gso_segs access
  bpf: fix access to skb_shared_info->gso_segs
  net: thunderx: Use fwnode_get_mac_address()
  bpf: fix narrower loads on s390
  sky2: Disable MSI on ASUS P6T
  net: dsa: sja1105: sja1105_main: Add of_node_put()
  net: dsa: mv88e6xxx: chip: Add of_node_put() before return
  drm/amd/display: Set enabled to false at start of audio disable
  selftests: forwarding: gre_multipath: Fix flower filters
  selftests: forwarding: gre_multipath: Enable IPv4 forwarding
  ARM: defconfig: u8500: Add new drivers
  ARM: defconfig: u8500: Refresh defconfig
  ARM: dts: bcm: bcm47094: add missing #cells for mdio-bus-mux
  ARM: davinci: fix sleep.S build error on ARMv4
  selftests/x86: fix spelling mistake "FAILT" -> "FAIL"
  selftests: kmod: Fix typo in kmod.sh
  Revert "nvme-pci: don't create a read hctx mapping without read queues"
  nvme: fix multipath crash when ANA is deactivated
  nvme: fix memory leak caused by incorrect subsystem free
  nvme: ignore subnqn for ADATA SX6000LNP
  dma-mapping: use dma_get_mask in dma_addressing_limited
  iommu/amd: Add support for X2APIC IOMMU interrupts
  ACPI/IORT: Fix off-by-one check in iort_dev_find_its_id()
  Input: elantech - enable SMBus on new (2018+) systems
  Input: applespi - fix trivial typo in struct description
  Input: applespi - select CRC16 module
  drbd: dynamically allocate shash descriptor
  block: blk-mq: Remove blk_mq_sched_started_request and started_request
  ALSA: ac97: Fix double free of ac97_codec_device
  perf build: Do not use -Wshadow on gcc < 4.8
  perf probe: Avoid calling freeing routine multiple times for same pointer
  perf probe: Set pev->nargs to zero after freeing pev->args entries
  perf session: Fix loading of compressed data split across adjacent records
  perf stat: Always separate stalled cycles per insn
  perf stat: Fix segfault for event group in repeat mode
  perf tools: Fix proper buffer size for feature processing
  perf script: Fix off by one in brstackinsn IPC computation
  perf script: Improve man page description of metrics
  perf script: Fix --max-blocks man page description
  ASoC: SOF: Intel: hda: remove misleading error trace from IRQ thread
  ASoC: qcom: apq8016_sbc: Fix oops with multiple DAI links
  ALSA: compress: Be more restrictive about when a drain is allowed
  ALSA: compress: Don't allow paritial drain operations on capture streams
  ALSA: compress: Prevent bypasses of set_params
  ALSA: compress: Fix regression on compressed capture streams
  s390/kasan: add bitops instrumentation
  s390/bitops: make test functions return bool
  s390: wire up clone3 system call
  kbuild: enable arch/s390/include/uapi/asm/zcrypt.h for uapi header test
  s390: use __u{16,32,64} instead of uint{16,32,64}_t in uapi header
  s390/hypfs: fix a typo in the name of a function
  s390/qdio: restrict QAOB usage to IQD unicast queues
  s390/qdio: add sanity checks to the fast-requeue path
  s390: enable detection of kernel version from bzImage
  KVM: arm/arm64: Introduce kvm_pmu_vcpu_init() to setup PMU counter index
  firmware: Fix missing inline
  iommu/iova: Fix compilation error with !CONFIG_IOMMU_IOVA
  cpufreq/pasemi: fix use-after-free in pas_cpufreq_cpu_init()
  arm64: dts: imx8mq: fix SAI compatible
  int340X/processor_thermal_device: Fix proc_thermal_rapl_remove()
  arm64: dts: imx8mm: Correct SAI3 RXC/TXFS pin's mux option #1
  Revert "net: hns: fix LED configuration for marvell phy"
  scsi: core: fix the dma_max_mapping_size call
  scsi: fdomain: fix building pcmcia front-end
  net: stmmac: Do not cut down 1G modes
  net: stmmac: Use kcalloc() instead of kmalloc_array()
  net: stmmac: RX Descriptors need to be clean before setting buffers
  net: hns: fix LED configuration for marvell phy
  net: mvpp2: Don't check for 3 consecutive Idle frames for 10G links
  clk: renesas: cpg-mssr: Fix reset control race condition
  clk: sprd: Select REGMAP_MMIO to avoid compile errors
  riscv: dts: Add DT node for SiFive FU540 Ethernet controller driver
  clk: mediatek: mt8183: Register 13MHz clock earlier for clocksource
  clk: Add missing documentation of devm_clk_bulk_get_optional() argument
  clk: at91: generated: Truncate divisor to GENERATED_MAX_DIV + 1
  scsi: target: cxgbit: add support for IEEE_8021QAZ_APP_SEL_STREAM selector
  doc:it_IT: translations in process/
  docs/vm: transhuge: fix typo in madvise reference
  drm/amdgpu/smu: move fan rpm query into the asic specific code
  drm/amd/powerplay: custom peak clock freq for navi10
  riscv: include generic support for MSI irqdomains
  drm: silence variable 'conn' set but not used
  MAINTAINERS: Add Paul as a RISC-V maintainer
  doc:it_IT: rephrase statement
  doc:it_IT: align translation to mainline
  bonding: Force slave speed check after link state recovery for 802.3ad
  drm/msm: stop abusing dma_map/unmap for cache
  RDMA/siw: Remove set but not used variables 'rv'
  IB/mlx5: Replace kfree with kvfree
  RDMA/bnxt_re: Honor vlan_id in GID entry comparison
  IB/hfi1: Drop all TID RDMA READ RESP packets after r_next_psn
  IB/hfi1: Field not zero-ed when allocating TID flow memory
  IB/hfi1: Unreserve a flushed OPFN request
  IB/hfi1: Check for error on call to alloc_rsm_map_table
  drm/msm/dpu: Correct dpu encoder spinlock initialization
  RDMA/hns: Fix sg offset non-zero issue
  drm/msm: correct NULL pointer dereference in context_init
  RDMA/siw: Fix error return code in siw_init_module()
  ASoC: dapm: fix a memory leak bug
  sched/rt, Kconfig: Unbreak def/oldconfig with CONFIG_PREEMPT=y
  iommu/vt-d: Print pasid table entries MSB to LSB in debugfs
  iommu/virtio: Update to most recent specification
  iommu/iova: Remove stale cached32_node
  iommu/vt-d: Check if domain->pgd was allocated
  iommu/vt-d: Don't queue_iova() if there is no flush queue
  arm64: entry: SP Alignment Fault doesn't write to FAR_EL1
  balloon: fix up comments
  mm/balloon_compaction: avoid duplicate page removal
  iommu/vt-d: Avoid duplicated pci dma alias consideration
  arm64: Force SSBS on context switch
  Revert "iommu/vt-d: Consolidate domain_init() to avoid duplication"
  selftests/bpf: fix sendmsg6_prog on s390
  bcache: fix possible memory leak in bch_cached_dev_run()
  libbpf: Avoid designated initializers for unnamed union members
  libbpf: Fix endianness macro usage for some compilers
  selftests/tls: add shutdown tests
  selftests/tls: close the socket with open record
  selftests/tls: add a bidirectional test
  selftests/tls: test error codes around TLS ULP installation
  selftests/tls: add a test for ULP but no keys
  bpf: sockmap/tls, close can race with map free
  bpf: sockmap, only create entry if ulp is not already enabled
  bpf: sockmap, synchronize_rcu before free'ing map
  bpf: sockmap, sock_map_delete needs to use xchg
  net/tls: fix transition through disconnect with close
  net/tls: remove sock unlock/lock around strp_done()
  net/tls: remove close callback sock unlock/lock around TX work flush
  net/tls: don't call tls_sk_proto_close for hw record offload
  net/tls: don't arm strparser immediately in tls_set_sw_offload()
  pidfd: fix a poll race when setting exit_state
  MAINTAINERS: Update my email address
  gpiolib: fix incorrect IRQ requesting of an active-low lineevent
  mmc: mmc_spi: Enable stable writes
  powerpc/papr_scm: Force a scm-unbind if initial scm-bind fails
  powerpc/papr_scm: Update drc_pmem_unbind() to use H_SCM_UNBIND_ALL
  powerpc/pseries: Update SCM hcall op-codes in hvcall.h
  MAINTAINERS: Update my email address
  MAINTAINERS: Fix spelling mistake in my name
  MAINTAINERS: Update my email address to @kernel.org
  mmc: meson-mx-sdio: Fix misuse of GENMASK macro
  mmc: dw_mmc: Fix occasional hang after tuning on eMMC
  mmc: host: sdhci-sprd: Fix the missing pm_runtime_put_noidle()
  spi: pxa2xx: Balance runtime PM enable/disable on error
  ASoC: SOF: use __u32 instead of uint32_t in uapi headers
  SoC: rockchip: rockchip_max98090: Enable MICBIAS for headset keypress detection
  ASoC: cs42xx8: Fix MFREQ selection issue for async mode
  ASoC: dapm: Fix handling of custom_stop_condition on DAPM graph walks
  KVM: nVMX: Set cached_vmcs12 and cached_shadow_vmcs12 NULL after free
  KVM: X86: Dynamically allocate user_fpu
  KVM: X86: Fix fpu state crash in kvm guest
  Revert "kvm: x86: Use task structs fpu field for user"
  KVM: nVMX: Clear pending KVM_REQ_GET_VMCS12_PAGES when leaving nested
  arm64: mm: Drop pte_huge()
  arm64/sve: Fix a couple of magic numbers for the Z-reg count
  arm64/sve: Factor out FPSIMD to SVE state conversion
  arm64: stacktrace: Better handle corrupted stacks
  arm64: stacktrace: Factor out backtrace initialisation
  arm64: stacktrace: Constify stacktrace.h functions
  arm64: vdso: Cleanup Makefiles
  arm64: vdso: fix flip/flop vdso build bug
  arm64: vdso: Fix population of AT_SYSINFO_EHDR for compat vdso
  powercap: Invoke powercap_init() and rapl_init() earlier
  futex: Cleanup generic SMP variant of arch_futex_atomic_op_inuser()
  x86/irq/64: Update stale comment
  x86/sysfb_efi: Add quirks for some devices with swapped width and height
  x86/stacktrace: Prevent access_ok() warnings in arch_stack_walk_user()
  mm/vmalloc: Sync unmappings in __purge_vmap_area_lazy()
  x86/mm: Sync also unmappings in vmalloc_sync_all()
  x86/mm: Check for pfn instead of page in vmalloc_sync_one()
  FROMLIST: thermal: cpu_cooling: Migrate to using the EM framework
  FROMLIST: thermal: cpu_cooling: Make the power-related code depend on IPA
  FROMLIST: arm64: defconfig: Enable CONFIG_ENERGY_MODEL
  ANDROID: sched/fair: Also do misfit in overloaded groups
  ANDROID: sched/fair: Don't balance misfits if it would overload local group
  ANDROID: sched/fair: Attempt to improve throughput for asym cap systems
  ANDROID: sched: Enable idle balance to pull single task towards cpu with higher capacity
  ANDROID: sched: Prevent unnecessary active balance of single task in sched group
  ANDROID: sched: Update max cpu capacity in case of max frequency constraints
  ANDROID: arm: enable max frequency capping
  ANDROID: arm64: enable max frequency capping
  ANDROID: cpufreq: arch_topology: implement max frequency capping
  ANDROID: sched/fair: add arch scaling function for max frequency capping
  ARM: dts: imx6ul: fix clock frequency property name of I2C buses
  ALSA: line6: Fix a typo
  firmware: fix build errors in paged buffer handling code
  io_uring: track io length in async_list based on bytes
  io_uring: don't use iov_iter_advance() for fixed buffers
  block: properly handle IOCB_NOWAIT for async O_DIRECT IO
  blk-mq: allow REQ_NOWAIT to return an error inline
  tcp: be more careful in tcp_fragment()
  hv_netvsc: Fix extra rcu_read_unlock in netvsc_recv_callback()
  powerpc/tm: Fix oops on sigreturn on systems without TM
  ARM: Delete netx a second time
  hwmon: (k8temp) documentation: update URL of datasheet
  hwmon: (nct6775) Fix register address and added missed tolerance for nct6106
  hwmon: (occ) Fix division by zero issue
  ARM: dts: imx7ulp: Fix usb-phy unit address format
  vrf: make sure skb->data contains ip header to make routing
  connector: remove redundant input callback from cn_dev
  qed: Prefer pcie_capability_read_word()
  igc: Prefer pcie_capability_read_word()
  cxgb4: Prefer pcie_capability_read_word()
  be2net: Synchronize be_update_queues with dev_watchdog
  bnx2x: Prevent load reordering in tx completion processing
  netfilter: ebtables: fix a memory leak bug in compat
  net: phy: sfp: hwmon: Fix scaling of RX power
  net: sched: verify that q!=NULL before setting q->flags
  chelsio: Fix a typo in a function name
  allocate_flower_entry: should check for null deref
  net: hns3: typo in the name of a constant
  kbuild: add net/netfilter/nf_tables_offload.h to header-test blacklist.
  tipc: Fix a typo
  Input: applespi - fix warnings detected by sparse
  parisc: Flush ITLB in flush_tlb_all_local() only on split TLB machines
  parisc: add kprobe_fault_handler()
  mac80211: don't warn about CW params when not using them
  mac80211: fix possible memory leak in ieee80211_assign_beacon
  nl80211: fix NL80211_HE_MAX_CAPABILITY_LEN
  nl80211: fix VENDOR_CMD_RAW_DATA
  wireless: fix nl80211 vendor commands
  r8169: fix RTL8168g PHY init
  net: flow_offload: add flow_block structure and use it
  net: flow_offload: rename tc_setup_cb_t to flow_setup_cb_t
  net: flow_offload: remove netns parameter from flow_block_cb_alloc()
  net: openvswitch: rename flow_stats to sw_flow_stats
  iscsi_ibft: make ISCSI_IBFT dependson ACPI instead of ISCSI_IBFT_FIND
  libbpf: sanitize VAR to conservative 1-byte INT
  libbpf: fix SIGSEGV when BTF loading fails, but .BTF.ext exists
  netfilter: bridge: make NF_TABLES_BRIDGE tristate
  ALSA: pcm: Fix refcount_inc() on zero usage
  docs: load_config.py: ensure subdirs end with "/"
  powerpc/dma: Fix invalid DMA mmap behavior
  riscv: enable sys_clone3 syscall for rv64
  KVM: PPC: Book3S HV: XIVE: fix rollback when kvmppc_xive_create fails
  driver-core, libnvdimm: Let device subsystems add local lockdep coverage
  libnvdimm/bus: Fix wait_nvdimm_bus_probe_idle() ABBA deadlock
  libnvdimm/bus: Stop holding nvdimm_bus_list_mutex over __nd_ioctl()
  libnvdimm/bus: Prepare the nd_ioctl() path to be re-entrant
  libnvdimm/region: Register badblocks before namespaces
  libnvdimm/bus: Prevent duplicate device_unregister() calls
  drivers/base: Introduce kill_device()
  MIPS: Annotate fall-through in Cavium Octeon code
  MIPS: Annotate fall-through in kvm/emulate.c
  mips: fix cacheinfo
  MIPS: kernel: only use i8253 clocksource with periodic clockevent
  drm/amd/display: handle active dongle port type is DP++ or DP case
  drm/amd/display: do not read link setting if edp not connected
  drm/amd/display: Increase size of audios array
  drm/amd/display: drop ASSERT() if eDP panel is not connected
  drm/amd/display: Only enable audio if speaker allocation exists
  drm/amd/display: Fix dc_create failure handling and 666 color depths
  drm/amd/display: allocate 4 ddc engines for RV2
  drm/amd/display: put back front end initialization sequence
  drm/amd/display: Wait for flip to complete
  drm/amd/display: Change min_h_sync_width from 8 to 4
  drm/amd/display: use encoder's engine id to find matched free audio device
  drm/amd/display: fix DMCU hang when going into Modern Standby
  drm/amd/display: Disable Audio on reinitialize hardware
  drm/amd/display: Read max down spread
  drm/amd/display: Check for valid stream_encode
  drm/amd/display: Wait for backlight programming completion in set backlight level
  drm/amd/display: Poll for GPUVM context ready (v2)
  drm/amd/display: wait for the whole frame after global unlock
  drm/amd/display: Copy max_clks_by_state after dce_clk_mgr_construct
  drm/amd/display: Clock does not lower in Updateplanes
  drm/amd/display: skip retrain in dc_link_set_preferred_link_settings() if using passive dongle
  drm/amd/display: swap system aperture high/low
  drm/amd/display: Set one 4:2:0-related PPS field as recommended by DSC spec
  drm/amd/display: Set default block_size, even in unexpected cases
  drm/amd/display: No audio endpoint for Dell MST display
  drm/amd/display: cap DCFCLK hardmin to 507 for NV10
  drm/amd/display: fix dsc disable
  drm/amd/display: fix up HUBBUB hw programming for VM
  drm/amd/display: initialize p_state to proper value
  drm/amdgpu: use VCN firmware offset for cache window
  drm/ttm: use the same attributes when freeing d_page->vaddr
  drm/amd/powerplay: change sysfs pp_dpm_xxx format for navi10
  drm/amdgpu: drop ras self test
  drm/amdgpu: only allow error injection to UMC IP block
  drm/amdgpu: disable GFX RAS by default
  drm/amdgpu: do not create ras debugfs/sysfs node for ASICs that don't have ras ability
  drm/amd/powerplay: report bootup clock as max supported on dpm disabled
  drm/amdgpu: Default disable GDS for compute VMIDs
  netfilter: bridge: NF_CONNTRACK_BRIDGE does not depend on NF_TABLES_BRIDGE
  netfilter: nft_meta: skip EAGAIN if nft_meta_bridge is not a module
  netfilter: synproxy: fix rst sequence number mismatch
  netfilter: nf_tables: Support auto-loading for inet nat
  io_uring: add a memory barrier before atomic_read
  rq-qos: use a mb for got_token
  rq-qos: set ourself TASK_UNINTERRUPTIBLE after we schedule
  rq-qos: don't reset has_sleepers on spurious wakeups
  rq-qos: fix missed wake-ups in rq_qos_throttle
  wait: add wq_has_single_sleeper helper
  powerpc/xive: Fix loop exit-condition in xive_find_target_in_mask()
  block, bfq: check also in-flight I/O in dispatch plugging
  ALSA: line6: Fix wrong altsetting for LINE6_PODHD500_1
  ALSA: hda - Optimize resume for codecs without jack detection
  spi: gpio: Add SPI_MASTER_GPIO_SS flag
  btrfs: don't leak extent_map in btrfs_get_io_geometry()
  btrfs: free checksum hash on in close_ctree
  btrfs: Fix build error while LIBCRC32C is module
  btrfs: inode: Don't compress if NODATASUM or NODATACOW set
  x86/entry/64: Use JMP instead of JMPQ
  HID: Add 044f:b320 ThrustMaster, Inc. 2 in 1 DT
  HID: logitech-dj: add the Powerplay receiver
  HID: logitech-hidpp: add USB PID for a few more supported mice
  HID: logitech-dj: rename "gaming" receiver to "lightspeed"
  docs: virtual: add it to the documentation body
  docs: remove extra conf.py files
  docs: load_config.py: avoid needing a conf.py just due to LaTeX docs
  scripts/sphinx-pre-install: seek for Noto CJK fonts for pdf output
  scripts/sphinx-pre-install: cleanup Gentoo checks
  scripts/sphinx-pre-install: fix latexmk dependencies
  scripts/sphinx-pre-install: don't use LaTeX with CentOS 7
  scripts/sphinx-pre-install: fix script for RHEL/CentOS
  docs: conf.py: only use CJK if the font is available
  docs: conf.py: add CJK package needed by translations
  docs: pdf: add all Documentation/*/index.rst to PDF output
  docs: fix broken doc references due to renames
  docs: power: add it to to the main documentation index
  docs: powerpc: convert docs to ReST and rename to *.rst
  Documentation: fix vfio-ccw doc
  ASoC: Intel: bytcht_es8316: Add quirk for Irbis NB41 netbook
  ASoC: samsung: odroid: fix a double-free issue for cpu_dai
  ASoC: samsung: odroid: fix an use-after-free issue for codec
  regulator: axp20x: fix DCDC5 and DCDC6 for AXP803
  regulator: axp20x: fix DCDCA and DCDCD for AXP806
  block: fix sysfs module parameters directory path in comment
  blkcg: allow blkcg_policy->pd_stat() to print non-debug info too
  io_uring: fix counter inc/dec mismatch in async_list
  ata: libahci_platform: remove redundant dev_err message
  io_uring: fix the sequence comparison in io_sequence_defer
  netfilter: nft_hash: fix symhash with modulus one
  netfilter: nf_tables: don't fail when updating base chain policy
  netfilter: conntrack: always store window size un-scaled
  netfilter: synproxy: fix erroneous tcp mss option
  netfilter: nf_tables: fix module autoload for redir
  netfilter: Update obsolete comments referring to ip_conntrack
  netfilter: nf_conntrack_sip: fix expectation clash
  netfilter: Fix rpfilter dropping vrf packets by mistake
  drm/modes: Don't apply cmdline's rotation if it wasn't specified
  vfio-ccw: Update documentation for csch/hsch
  vfio-ccw: Don't call cp_free if we are processing a channel program
  vfio-ccw: Set pa_nr to 0 if memory allocation fails for pa_iova_pfn
  vfio-ccw: Fix memory leak and don't call cp_free in cp_init
  vfio-ccw: Fix misleading comment when setting orb.cmd.c64
  netfilter: nfnetlink: avoid deadlock due to synchronous request_module
  powerpc: fix off by one in max_zone_pfn initialization for ZONE_DMA
  KVM: PPC: Book3S HV: Save and restore guest visible PSSCR bits on pseries
  powerpc/pmu: Set pmcregs_in_use in paca when running as LPAR
  KVM: PPC: Book3S HV: Always save guest pmu for guest capable of nesting
  powerpc/mm: Limit rma_size to 1TB when running without HV mode
  iio: imu: mpu6050: add missing available scan masks
  iio: cros_ec_accel_legacy: Fix incorrect channel setting
  IIO: Ingenic JZ47xx: Set clock divider on probe
  iio: adc: max9611: Fix misuse of GENMASK macro
  f2fs: remove redundant check from f2fs_setflags_common()
  f2fs: use generic checking function for FS_IOC_FSSETXATTR
  f2fs: use generic checking and prep function for FS_IOC_SETFLAGS
  docs: driver-api: generic-counter: fix file path to ABI doc
  media: videodev2.h: change V4L2_PIX_FMT_BGRA444 define: fourcc was already in use
  media: v4l2-subdev: fix regression in check_pad()
  ASoC: audio-graph-card: add missing const at graph_get_dai_id()
  ASoC: rt1011: fix DC calibration offset not applying
  ASoC: audio-graph-card: fix an use-after-free in graph_get_dai_id()
  ASoC: audio-graph-card: fix use-after-free in graph_dai_link_of_dpcm()
  ASoC: simple-card: fix an use-after-free in simple_for_each_link()
  ASoC: simple-card: fix an use-after-free in simple_dai_link_of_dpcm()
  spi: spi-fsl-qspi: change i.MX7D RX FIFO size
  spi: dt-bindings: spi-controller: remove unnecessary 'maxItems: 1' from reg
  ASoC: simple-card-utils: care no Platform for DPCM
  ASoC: simple_card_utils.h: care NULL dai at asoc_simple_debug_dai()
  ASoC: Relocate my e-mail to .com domain zone
  ASoC: rt1308: Remove executable attribute from source files
  ASoC: max98357a: use mdelay for sdmode-delay
  x86/speculation: Enable Spectre v1 swapgs mitigations
  x86/speculation: Prepare entry code for Spectre v1 swapgs mitigations
  habanalabs: don't reset device when getting VRHOT
  habanalabs: use %pad for printing a dma_addr_t

Change-Id: If773a45ee040e67efacdfdd8bb7835e46fb93d69
Signed-off-by: Raghavendra Rao Ananta <rananta@codeaurora.org>
2019-08-15 09:23:09 -07:00
Linus Torvalds
a8dba0531b Pull request for 5.3-rc3
- Fix a memory registration release flow issue that was causing a
   WARN_ON (mlx5)
 - If the counters for a port aren't allocated, then we can't do
   operations on the non-existent counters (core)
 - Check the right variable for error code result (mlx5)
 - Fix a use after free issue (mlx5)
 - Fix an off by one memory leak (siw)
 - Actually return an error code on error (core)
 - Allow siw to be built on 32bit arches (siw, ABI change, but OK since
   siw was just merged this merge window and there is no prior released
   kernel to maintain compatibility with and we also updated the
   rdma-core user space package to match)
 
 Signed-off-by: Doug Ledford <dledford@redhat.com>
 -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEErmsb2hIrI7QmWxJ0uCajMw5XL90FAl1UH9kACgkQuCajMw5X
 L922QQ/+ON5Vhb3CZkv1K6mVk/+sXSBIkeceoBJCw46XjVkYQaiE46DyonLDOwco
 4z6caV5HmS0CDY7VuoCuA3OmvsYEYWpLi0ktyRJIaRJtWnJmYmVLju8ORrD6s709
 FBe7Ay9pE6VIXXbDz2np3aAZW1EL1dPr6fBccHZWvGjb6bwu+a2HbZlIdtKKBRgf
 r+bp9G3M5FKL0RTGSy+S+w/xO0Ntc0Nbo0RRj+/4sRdxjTdx+B1sLxPya5AgycF9
 kQ/a+/mppmfmXe0/PzL30rvbmf29ocodYHokb+OTc1Mwll6yc9Yo3BOlvZmK+EYG
 yyYXK23MkJDoJ7qaSI7cbiEd5pY2EgSABBKPv5b5wqt03AM0qdRpEUdPSbBZF0tv
 Lt/i2pke13R+TW3u2e8sY8iHWHC8+GDOyWFiVmrpEcoP80hfRKDkiULv5vrvFzVP
 3XOG1z5hHDmZ4jJtHCjCNJLi1+/AxhYIaPSRyJnL5R5cJGX/hXOSex+OsjbcAx7o
 djVTRbR1JOx603NX4sYgpLcn1TEPvaxKXcrqP8Nhj++xgZWNNfDw0RBk8jICYkOq
 k+tt70hq1ME0DvsJZiV2vyyVR/o5Amj7o7cdUtT3T2IDJAK1jbrNVD79VrXqJecq
 laOmge4M40pHPvFs/gtVuQsqsM7YHa1urX+vrFsG3i7QpMDekIo=
 =misR
 -----END PGP SIGNATURE-----

Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma

Pull rdma fixes from Doug Ledford:
 "Fairly small pull request for -rc3. I'm out of town the rest of this
  week, so I made sure to clean out as much as possible from patchworks
  in enough time for 0-day to chew through it (Yay! for 0-day being back
  online! :-)). Jason might send through any emergency stuff that could
  pop up, otherwise I'm back next week.

  The only real thing of note is the siw ABI change. Since we just
  merged siw *this* release, there are no prior kernel releases to
  maintain kernel ABI with. I told Bernard that if there is anything
  else about the siw ABI he thinks he might want to change before it
  goes set in stone, he should get it in ASAP. The siw module was around
  for several years outside the kernel tree, and it had to be revamped
  considerably for inclusion upstream, so we are making no attempts to
  be backward compatible with the out of tree version. Once 5.3 is
  actually released, we will have our baseline ABI to maintain.

  Summary:

   - Fix a memory registration release flow issue that was causing a
     WARN_ON (mlx5)

   - If the counters for a port aren't allocated, then we can't do
     operations on the non-existent counters (core)

   - Check the right variable for error code result (mlx5)

   - Fix a use after free issue (mlx5)

   - Fix an off by one memory leak (siw)

   - Actually return an error code on error (core)

   - Allow siw to be built on 32bit arches (siw, ABI change, but OK
     since siw was just merged this merge window and there is no prior
     released kernel to maintain compatibility with and we also updated
     the rdma-core user space package to match)"

* tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma:
  RDMA/siw: Change CQ flags from 64->32 bits
  RDMA/core: Fix error code in stat_get_doit_qp()
  RDMA/siw: Fix a memory leak in siw_init_cpulist()
  IB/mlx5: Fix use-after-free error while accessing ev_file pointer
  IB/mlx5: Check the correct variable in error handling code
  RDMA/counter: Prevent QP counter binding if counters unsupported
  IB/mlx5: Fix implicit MR release flow
2019-08-14 11:10:38 -07:00
Bernard Metzler
2c8ccb37b0 RDMA/siw: Change CQ flags from 64->32 bits
This patch changes the driver/user shared (mmapped) CQ notification
flags field from unsigned 64-bits size to unsigned 32-bits size. This
enables building siw on 32-bit architectures.

This patch changes the siw-abi, but as siw was only just merged in
this merge window cycle, there are no released kernels with the prior
abi.  We are making no attempt to be binary compatible with siw user
space libraries prior to the merge of siw into the upstream kernel,
only moving forward with upstream kernels and upstream rdma-core
provided siw libraries are we guaranteeing compatibility.

Signed-off-by: Bernard Metzler <bmt@zurich.ibm.com>
Link: https://lore.kernel.org/r/20190809151816.13018-1-bmt@zurich.ibm.com
Signed-off-by: Doug Ledford <dledford@redhat.com>
2019-08-13 12:22:06 -04:00
Greg Kroah-Hartman
41f0b8f4d3 Linux 5.3-rc4
-----BEGIN PGP SIGNATURE-----
 
 iQFSBAABCAA8FiEEq68RxlopcLEwq+PEeb4+QwBBGIYFAl1QegseHHRvcnZhbGRz
 QGxpbnV4LWZvdW5kYXRpb24ub3JnAAoJEHm+PkMAQRiGavMH/RBaR39ct3XXpPzC
 yxmKJn/n692NXFKusfsfasitGHMdFom6HaCcKx4PpzX1QHnR34LJtMd1QvwM8cHz
 FtbC68HyZBB91JOUzC38GbRufvVUsSeXg8YeBiF6BOoOP06OcOG+DKoPcKBOMXsR
 MtJmgxEyedLT7ozEPTpowVBWulELJxkbe1MCc93xDXdOqT+aMuxZBASMJIgrufS7
 uJTsJ/afHz6F29Mj6Q9lfIJJSHqSfMK/rPGP54xRdBgMWmAmNjA2aExyCK8PE/Yb
 TChsrDjDz38ePuVaWfjtwFNWlWcq0Do8vJdPuAxZDdfaJlQDXQHCWXsJjrWD6oNy
 ZhCq0zE=
 =HcEO
 -----END PGP SIGNATURE-----

Merge 5.3-rc4 into android-mainline.

Merge 5.3-rc4 into android-mainline.

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I09aa35f99fbc876687f3778458f833d2573a7f1a
2019-08-12 07:29:49 +02:00
Daniel Borkmann
cd48bdda4f sock: make cookie generation global instead of per netns
Generating and retrieving socket cookies are a useful feature that is
exposed to BPF for various program types through bpf_get_socket_cookie()
helper.

The fact that the cookie counter is per netns is quite a limitation
for BPF in practice in particular for programs in host namespace that
use socket cookies as part of a map lookup key since they will be
causing socket cookie collisions e.g. when attached to BPF cgroup hooks
or cls_bpf on tc egress in host namespace handling container traffic
from veth or ipvlan devices with peer in different netns. Change the
counter to be global instead.

Socket cookie consumers must assume the value as opqaue in any case.
Not every socket must have a cookie generated and knowledge of the
counter value itself does not provide much value either way hence
conversion to global is fine.

Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Cc: Eric Dumazet <edumazet@google.com>
Cc: Alexei Starovoitov <ast@kernel.org>
Cc: Willem de Bruijn <willemb@google.com>
Cc: Martynas Pumputis <m@lambda.lt>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-08-09 13:14:46 -07:00
Linus Torvalds
2226fb57a9 drm fixes for 5.3-rc4
core:
 - mode parser strncpy fix
 
 i915:
 - GLK DSI escape clock setting
 - HDCP memleak fix
 
 tegra:
 - one gpiod/of regression fix
 
 amdgpu:
 - Fixes VCN to handle the latest navi10 firmware
 - Fixes for fan control on navi10
 - Properly handle SMU metrics table on navi10
 - Fix a resume regression on Stoney
 - kfd revert a GWS ioctl
 
 vmwgfx:
 - memory leak fix
 
 rockchip:
 - suspend fix
 -----BEGIN PGP SIGNATURE-----
 
 iQIcBAABAgAGBQJdTQ/bAAoJEAx081l5xIa+YAUP/i0sQUbM41u/CijX14TRSEOt
 bdv6yIGsCQ4B5qu2LTm/53XzmQzh8ENsN9zDoQYbqerrdRjtcZ1h9Iux/e5a2mzo
 +apVXfBo4QFvn7IelTjg/7MAyK7PO9vZmSEC4/xUxetz/LxgTrED3JWUGLUK5SbR
 6zBupVPJmsizBWAOhwQFlwoBpDYbVfL5sJMq7NNBCjwrmgJEXsElZC4ZHFaIgXyh
 MtWfJtVHJ9211q8gSVoAbjlFyuinn5qejCbx0Bo83CrZN6LNWu6tCaajsWa7QGGo
 arxT1xlU2bMI5MpfNfb+jM3rDycR5vB3uO597S3M3gkVrN05ZiG2AhpX4r9ohMYB
 qxGR0rLcu7P7CE8V4fDQWjIeaK0fV24waEYNMa0cUA+iilpt43/0DEKBpIR5oL74
 nf445bmDSd4JazgxQXExUy+7szoWHJyqVhkpHnLKi1WdgOR2ZEZpQMnZGmg60RfE
 QbgpRlszl/i0tBolMvC4Dgha+fyXjdUMEDgXb8lM7BZZFJ+Ew4Oxxq1V7Zy2+sub
 XOrWp7oE6tucwd6XabGKDUakhDnxGp2taIXOMu+2K8b/H38sJdlirecrzAQdQfix
 YB5FQcu/VqmQ2IdHU2bmXUm0lbd6e4s23JC4uRcnQFelVcrOey9GooauDX7OBgaj
 EBMoR1qdJPjFHeQSuYda
 =LjgJ
 -----END PGP SIGNATURE-----

Merge tag 'drm-fixes-2019-08-09' of git://anongit.freedesktop.org/drm/drm

Pull drm fixes from Dave Airlie:
 "Usual fixes roundup. Nothing too crazy or serious, one non-released
  ioctl is removed in the amdkfd driver.

  core:
   - mode parser strncpy fix

  i915:
   - GLK DSI escape clock setting
   - HDCP memleak fix

  tegra:
   - one gpiod/of regression fix

  amdgpu:
   - fix VCN to handle the latest navi10 firmware
   - fix for fan control on navi10
   - properly handle SMU metrics table on navi10
   - fix a resume regression on Stoney
   - kfd revert a GWS ioctl

  vmwgfx:
   - memory leak fix

  rockchip:
   - suspend fix"

* tag 'drm-fixes-2019-08-09' of git://anongit.freedesktop.org/drm/drm:
  drm/vmwgfx: fix memory leak when too many retries have occurred
  Revert "drm/amdkfd: New IOCTL to allocate queue GWS"
  Revert "drm/amdgpu: fix transform feedback GDS hang on gfx10 (v2)"
  drm/amdgpu: pin the csb buffer on hw init for gfx v8
  drm/rockchip: Suspend DP late
  drm/i915: Fix wrong escape clock divisor init for GLK
  drm/i915: fix possible memory leak in intel_hdcp_auth_downstream()
  drm/modes: Fix unterminated strncpy
  drm/amd/powerplay: correct navi10 vcn powergate
  drm/amd/powerplay: honor hw limit on fetching metrics data for navi10
  drm/amd/powerplay: Allow changing of fan_control in smu_v11_0
  drm/amd/amdgpu/vcn_v2_0: Move VCN 2.0 specific dec ring test to vcn_v2_0
  drm/amd/amdgpu/vcn_v2_0: Mark RB commands as KMD commands
  drm/tegra: Fix gpiod_get_from_of_node() regression
2019-08-09 09:35:23 -07:00
Linus Torvalds
cb42f06c9f sound fixes for 5.3-rc4
Lots of small fixes at this time since we've received the ASoC
 fix batch now.
 
 - Some coverage in ASoC core mostly for minor issues like NULL
   checks for DPCM and proper error handling in DAI instantiation
 
 - A collection of small device-specific changes in various ASoC
   codec and platform drivers
 
 - OF-tree refcount fixes in a few ASoC drivers
 
 - Fixes of memory leaks in the error paths of various ASoC / ALSA
   drivers
 
 - A workaround for a long-standing issue on AMD HD-audio device
 
 - Updates of MAINTAINERS, mail addresses, file permission fixups
 -----BEGIN PGP SIGNATURE-----
 
 iQJCBAABCAAsFiEEIXTw5fNLNI7mMiVaLtJE4w1nLE8FAl1MPmoOHHRpd2FpQHN1
 c2UuZGUACgkQLtJE4w1nLE8CqA/+PsZznS0YdGz/87AiCfMWMWptOcu0spHkJoMP
 UZFCNEtVpNVOCYWIH/otTOpzkIxm7AHpyfFe/PJdCbH0qhVGAPyrUzx4Po4mnRD0
 vs5/DtT8NZuIR3Qp1y+7nxbG9ZeOJuckkSCCMoTJ7grKxBvYHiiZQYTsDG5wff7R
 WY7f1A710SltHEHXQYaD/ayrbP4BX0XmEsk6zpOAysas2AXkId6kaqReBgOf/qS4
 YjWtm3SXKjN6/OTCsoixyisG/kD8HFkLmbcbcab63aXbjD0/vVIaFtv/s0vzuXat
 llN97ZF0V7hH8QP3itTajaBGFsaAREKsBjKjrFnT0NKTcFbK5vpXEMjeX9AStpO3
 GgePXIyPsTQTFtZkP10ZzuOizktPvHJHu0R9sYFPUuAgbDgSRI/OZ0oCcWEvKUNM
 XUGisKXzKb4CpNfr1Y9uSY5ZYGntYiu88fy+sfbKvFh3xtQLSKQUQAdu5Z21KDDp
 1xT6AY8XHwCN+zaiTE5hd4VFksPBFq0+/w/7egipLj17cFn+bDJRVl4SPCusvPGU
 fK03CihaoTNhfTY+8FYPa21RWyWSAA5ONjyywRVF0jeCFIXjrN2PW0STB6WWxHVz
 igv7VCofWxhpOfHOcmYHfwu35GyhYX+WErCrAzLVWjir0GQfc6kPy6W6ej2teFcj
 QcuCz2A=
 =avrM
 -----END PGP SIGNATURE-----

Merge tag 'sound-5.3-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound

Pull sound fixes from Takashi Iwai:
 "Lots of small fixes at this time since we've received the ASoC fix
  batch now.

   - Some coverage in ASoC core mostly for minor issues like NULL checks
     for DPCM and proper error handling in DAI instantiation

   - A collection of small device-specific changes in various ASoC codec
     and platform drivers

   - OF-tree refcount fixes in a few ASoC drivers

   - Fixes of memory leaks in the error paths of various ASoC / ALSA
     drivers

   - A workaround for a long-standing issue on AMD HD-audio device

   - Updates of MAINTAINERS, mail addresses, file permission fixups"

* tag 'sound-5.3-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound: (38 commits)
  ALSA: firewire: fix a memory leak bug
  sound: fix a memory leak bug
  ALSA: hda - Workaround for crackled sound on AMD controller (1022:1457)
  ALSA: hiface: fix multiple memory leak bugs
  ALSA: hda - Don't override global PCM hw info flag
  ALSA: usb-audio: fix a memory leak bug
  ASoC: max98373: Remove executable bits
  ASoC: amd: acp3x: use dma address for acp3x dma driver
  ASoC: amd: acp3x: use dma_ops of parent device for acp3x dma driver
  ASoC: max98373: add 88200 and 96000 sampling rate support
  ASoC: sun4i-i2s: Incorrect SR and WSS computation
  MAINTAINERS: Update Intel ASoC drivers maintainers
  ASoC: ti: davinci-mcasp: Correct slot_width posed constraint
  ASoC: rockchip: Fix mono capture
  ASoC: Intel: Fix some acpi vs apci typo in somme comments
  ASoC: ti: davinci-mcasp: Fix clk PDIR handling for i2s master mode
  ASoC: Fail card instantiation if DAI format setup fails
  ASoC: SOF: Intel: hda: remove misleading error trace from IRQ thread
  ASoC: qcom: apq8016_sbc: Fix oops with multiple DAI links
  ASoC: dapm: fix a memory leak bug
  ...
2019-08-09 09:21:27 -07:00
Prasad Sodagudi
944694f6de epoll: drop struct epoll_event definition
Add kernel header sanitizer check to drop struct epoll_event.
This struct epoll_event is not following the POSIX standard
and defining element in opaque data type.

Change-Id: I1eecef1b64eb1fb8f0dd6999263093a453e7b9fb
Signed-off-by: Prasad Sodagudi <psodagud@codeaurora.org>
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
2019-08-08 10:55:35 -07:00
Dave Airlie
f536579c14 Merge tag 'drm-fixes-5.3-2019-08-07' of git://people.freedesktop.org/~agd5f/linux into drm-fixes
drm-fixes-5.3-2019-08-07:

amdgpu:
- Fixes VCN to handle the latest navi10 firmware
- Fixes for fan control on navi10
- Properly handle SMU metrics table on navi10
- Fix a resume regression on Stoney

amdkfd:
- Revert new GWS ioctl.  It's not ready.

Signed-off-by: Dave Airlie <airlied@redhat.com>
From: Alex Deucher <alexdeucher@gmail.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190807184221.3323-1-alexander.deucher@amd.com
2019-08-08 13:25:50 +10:00