Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0727443a authored by Bruce Levy's avatar Bruce Levy
Browse files

Merge remote-tracking branch 'remotes/origin/tmp-fa8410b3'



* remotes/origin/tmp-fa8410b3:
  Linux 4.8-rc3
  EDAC, skx_edac: Add EDAC driver for Skylake
  parisc: Fix order of EREFUSED define in errno.h
  parisc: Fix automatic selection of cr16 clocksource
  Make the hardened user-copy code depend on having a hardened allocator
  locking/barriers: Suppress sparse warnings in lockless_dereference()
  Revert "drm/fb-helper: Reduce READ_ONCE(master) to lockless_dereference"
  arm64: Fix shift warning in arch/arm64/mm/dump.c
  sched/cputime: Resync steal time when guest & host lose sync
  sched/cputime: Fix NO_HZ_FULL getrusage() monotonicity regression
  perf/core: Check return value of the perf_event_read() IPI
  perf/core: Enable mapping of the stop filters
  perf/core: Update filters only on executable mmap
  perf/core: Fix file name handling for start/stop filters
  perf/core: Fix event_function_local()
  x86/smp: Fix __max_logical_packages value setup
  x86/microcode/AMD: Fix initrd loading with CONFIG_RANDOMIZE_MEMORY=y
  uprobes: Fix the memcg accounting
  net_sched: allow flushing tc police actions
  net_sched: unify the init logic for act_police
  net_sched: convert tcf_exts from list to pointer array
  net_sched: move tc offload macros to pkt_cls.h
  net_sched: fix a typo in tc_for_each_action()
  net_sched: remove an unnecessary list_del()
  net_sched: remove the leftover cleanup_a()
  mlxsw: spectrum: Allow packets to be trapped from any PG
  mlxsw: spectrum: Unmap 802.1Q FID before destroying it
  mlxsw: spectrum: Add missing rollbacks in error path
  mlxsw: reg: Fix missing op field fill-up
  mlxsw: spectrum: Trap loop-backed packets
  mlxsw: spectrum: Add missing packet traps
  mlxsw: spectrum: Mark port as active before registering it
  mlxsw: spectrum: Create PVID vPort before registering netdevice
  mlxsw: spectrum: Remove redundant errors from the code
  mlxsw: spectrum: Don't return upon error in removal path
  arm64: kernel: avoid literal load of virtual address with MMU off
  arm64: Fix NUMA build error when !CONFIG_ACPI
  dm raid: support raid0 with missing metadata devices
  clocksource/drivers/mips-gic-timer: Make gic_clocksource_of_init() return int
  clocksource/drivers/kona: Fix get_counter() error handling
  clocksource/drivers/time-armada-370-xp: Fix the clock reference
  xfs: remove OWN_AG rmap when allocating a block from the AGFL
  xfs: (re-)implement FIEMAP_FLAG_XATTR
  xfs: simplify xfs_file_iomap_begin
  iomap: mark ->iomap_end as optional
  iomap: prepare iomap_fiemap for attribute mappings
  iomap: fiemap should honor the FIEMAP_FLAG_SYNC flag
  iomap: remove superflous pagefault_disable from iomap_write_actor
  iomap: remove superflous mark_page_accessed from iomap_write_actor
  xfs: store rmapbt block count in the AGF
  xfs: don't invalidate whole file on DAX read/write
  xfs: fix bogus space reservation in xfs_iomap_write_allocate
  xfs: don't assert fail on non-async buffers on ioacct decrement
  i40e: check for and deal with non-contiguous TCs
  dm raid: enhance attempt_restore_of_faulty_devices() to support more devices
  ixgbe: Re-enable ability to toggle VLAN filtering
  dm raid: fix restoring of failed devices regression
  ixgbe: Force VLNCTRL.VFE to be set in all VMDq paths
  dm raid: fix frozen recovery regression
  e1000e: fix PTP on e1000_pch_lpt variants
  e1000e: factor out systim sanitization
  igb: fix adjusting PTP timestamps for Tx/Rx latency
  drm/amdgpu: Change GART offset to 64-bit
  PM / hibernate: Fix rtree_next_node() to avoid walking off list ends
  xhci: don't dereference a xhci member after removing xhci
  usb: xhci: Fix panic if disconnect
  xhci: really enqueue zero length TRBs.
  xhci: always handle "Command Ring Stopped" events
  net: ethernet: mediatek: fix runtime warning raised by inconsistent struct device pointers passed to DMA API
  net: ethernet: mediatek: fix flow control settings on GMAC0 is not being enabled properly
  net: ethernet: mediatek: fix RMII mode and add REVMII supported by GMAC
  x86/power/64: Use __pa() for physical address computation
  perf intel-pt: Fix occasional decoding errors when tracing system-wide
  tools: Sync kvm related header files for arm64 and s390
  perf probe: Release resources on error when handling exit paths
  power_supply: tps65217-charger: fix missing platform_set_drvdata()
  tipc: fix NULL pointer dereference in shutdown()
  hv_netvsc: fix bonding devices check in netvsc_netdev_event()
  hv_netvsc: protect module refcount by checking net_device_ctx->vf_netdev
  hv_netvsc: reset vf_inject on VF removal
  hv_netvsc: avoid deadlocks between rtnl lock and vf_use_cnt wait
  hv_netvsc: don't lose VF information
  gre: set inner_protocol on xmit
  perf probe: Check for dup and fdopen failures
  perf symbols: Fix annotation of objects with debuginfo files
  net: ipv6: Fix ping to link-local addresses.
  rhashtable: fix shift by 64 when shrinking
  perf script: Don't disable use_callchain if input is pipe
  perf script: Show proper message when failed list scripts
  of: fix reference counting in of_graph_get_endpoint_by_regs
  perf jitdump: Add the right header to get the major()/minor() definitions
  cdc-acm: fix wrong pipe type on rx interrupt xfers
  dm crypt: increase mempool reserve to better support swapping
  dm round robin: do not use this_cpu_ptr() without having preemption disabled
  drm/etnaviv: take GPU lock later in the submit process
  mlxsw: spectrum_router: Fix use after free
  rhashtable: avoid large lock-array allocations
  tools/virtio: add dma stubs
  vhost/test: fix after swiotlb changes
  vhost/vsock: drop space available check for TX vq
  ringtest: test build fix
  i2c: meson: Use complete() instead of complete_all()
  i2c: brcmstb: Use complete() instead of complete_all()
  i2c: bcm-kona: Use complete() instead of complete_all()
  i2c: bcm-iproc: Use complete() instead of complete_all()
  i2c: at91: fix support of the "alternative command" feature
  i2c: ocores: add missed clk_disable_unprepare() on failure paths
  i2c: cros-ec-tunnel: Fix usage of cros_ec_cmd_xfer()
  i2c: mux: demux-pinctrl: properly roll back when adding adapter fails
  doc-rst: customize RTD theme, drop padding of inline literal
  net: remove type_check from dev_get_nest_level()
  macsec: fix lockdep splats when nesting devices
  net: ipv6: Do not keep IPv6 addresses when IPv6 is disabled
  net/sctp: always initialise sctp_ht_iter::start_fail
  net/irda: handle iriap_register_lsap() allocation failure
  ipv6: suppress sparse warnings in IP6_ECN_set_ce()
  bpf: fix write helpers with regards to non-linear parts
  net: ethernet: mediatek: add the missing of_node_put() after node is used done
  net: ethernet: mediatek: fixed that initializing u64_stats_sync is missing
  calipso: fix resource leak on calipso_genopt failure
  bpf: fix bpf_skb_in_cgroup helper naming
  PM / sleep: Update some system sleep documentation
  dsa: mv88e6xxx: hide unused functions
  ses: Fix racy cleanup of /sys in remove_dev()
  docs: kernel-documentation: remove some highlight directives
  power: reset: hisi-reboot: Unmap region obtained by of_iomap
  power: reset: reboot-mode: fix build error of missing ioremap/iounmap on UM
  power: supply: max17042_battery: fix model download bug.
  mpt3sas: Fix resume on WarpDrive flash cards
  docs: Set the Sphinx default highlight language to "guess"
  of/platform: disable the of_platform_default_populate_init() for all the ppc boards
  perf ppc64le: Fix build failure when libelf is not present
  perf tools mem: Fix -t store option for record command
  perf intel-pt: Fix ip compression
  hwmon: (ftsteutates) Correct ftp urls in driver documentation
  hwmon: (it87) Features mask must be 32 bit wide
  macsec: use after free when deleting the underlying device
  macvtap: fix use after free for skb_array during release
  usb: misc: usbtest: add fix for driver hang
  usb: dwc3: gadget: stop processing on HWO set
  usb: dwc3: don't set last bit for ISOC endpoints
  usb: gadget: rndis: free response queue during REMOTE_NDIS_RESET_MSG
  usb: udc: core: fix error handling
  usb: gadget: fsl_qe_udc: off by one in setup_received_handle()
  usb/gadget: fix gadgetfs aio support.
  usb: gadget: composite: Fix return value in case of error
  usb: gadget: uvc: Fix return value in case of error
  usb: gadget: fix check in sync read from ep in gadgetfs
  usb: misc: usbtest: usbtest_do_ioctl may return positive integer
  usb: dwc3: fix missing platform_set_drvdata() in dwc3_of_simple_probe()
  usb: phy: omap-otg: Fix missing platform_set_drvdata() in omap_otg_probe()
  usb: gadget: configfs: add mutex lock before unregister gadget
  usb: gadget: u_ether: fix dereference after null check coverify warning
  usb: gadget: composite: fix dereference after null check coverify warning
  usb: renesas_usbhs: Use dmac only if the pipe type is bulk
  usb: renesas_usbhs: clear the BRDYSTS in usbhsg_ep_enable()
  usb: renesas_usbhs: Fix receiving data corrupt on R-Car Gen3 with dmac
  s390/dasd: fix failing CUIR assignment under LPAR
  drm/mediatek: add ARM_SMCCC dependency
  drm/mediatek: add CONFIG_OF dependency
  drm/mediatek: add COMMON_CLK dependency
  openvswitch: do not ignore netdev errors when creating tunnel vports
  ipr: Fix sync scsi scan
  megaraid_sas: Fix probing cards without io port
  net: hns: fix typo in g_gmac_stats_string[]
  tipc: fix variable dereference before NULL check
  drm/i915: Fix modeset handling during gpu reset, v5.
  drm/i915: fix aliasing_ppgtt leak
  drm/i915: fix WaInsertDummyPushConstPs
  drm/i915: Fix iboost setting for SKL Y/U DP DDI buffer translation entry 2
  drm/i915/gen9: Give one extra block per line for SKL plane WM calculations
  drm/i915: Acquire audio powerwell for HD-Audio registers
  drm/i915: Add missing rpm wakelock to GGTT pread
  drm/i915/fbc: FBC causes display flicker when VT-d is enabled on Skylake
  drm/i915: Clean up the extra RPM ref on CHV with i915.enable_rc6=0
  drm/i915: Program iboost settings for HDMI/DVI on SKL
  drm/i915: Fix iboost setting for DDI with 4 lanes on SKL
  drm/i915: Handle ENOSPC after failing to insert a mappable node
  drm/amdgpu: Fix memory trashing if UVD ring test fails
  drm/i915: Flush GT idle status upon reset
  pinctrl: intel: merrifield: Add missed header
  pinctrl/amd: Remove the default de-bounce time
  pinctrl: pistachio: Drop pinctrl_unregister for devm_ registered device
  pinctrl: meson: Drop pinctrl_unregister for devm_ registered device
  usb: dwc3: pci: add Intel Kabylake PCI ID
  usb: dwc3: gadget: always cleanup all TRBs
  usb: dwc3: gadget: fix for short pkts during chained xfers
  usb: dwc3: gadget: increment request->actual once
  netfilter: nft_exthdr: Add size check on u8 nft_exthdr attributes
  iommu/dma: Respect IOMMU aperture when allocating
  s390/pageattr: handle numpages parameter correctly
  s390/dasd: fix hanging device after clear subchannel
  bridge: Fix problems around fdb entries pointing to the bridge device
  net: phy: micrel: Add specific suspend
  dm9000: Fix irq trigger type setup on non-dt platforms
  ARM: fix address limit restoration for undefined instructions
  ARM: 8591/1: mm: use fully constructed struct pages for EFI pgd allocations
  ARM: 8590/1: sanity_check_meminfo(): avoid overflow on vmalloc_limit
  bonding: fix the typo
  drivers: net: cpsw: fix kmemleak false-positive reports for sk buffers
  drm/amdgpu: fix vm init error path
  vti: flush x-netns xfrm cache when vti interface is removed
  ARM: imx6: mark GPC node as not populated after irq init to probe pm domain driver
  of/irq: Mark interrupt controllers as populated before initialisation
  drivers/of: Validate device node in __unflatten_device_tree()
  of: Delete an unnecessary check before the function call "of_node_put"
  rxrpc: Free packets discarded in data_ready
  rxrpc: Fix a use-after-push in data_ready handler
  rxrpc: Once packet posted in data_ready, don't retry posting
  rxrpc: Don't access connection from call if pointer is NULL
  rxrpc: Need to flag call as being released on connect failure
  iommu/dma: Don't put uninitialised IOVA domains
  usb: host: max3421-hcd: fix mask of IO control register
  USB: remove race condition in usbfs/libusb when using reap-after-disconnect
  usb: devio, do not warn when allocation fails
  usb: ehci: change order of register cleanup during shutdown
  USB: validate wMaxPacketValue entries in endpoint descriptors
  iommu/mediatek: Mark static functions in headers inline
  usb: misc: ftdi-elan: Fix off-by-one memory corruptions
  usb: misc: usbtest: usbtest_do_ioctl may return positive integer
  USB: hub: change the locking in hub_activate
  USB: hub: fix up early-exit pathway in hub_activate
  usb: hub: Fix unbalanced reference count/memory leak/deadlocks
  crypto: caam - fix non-hmac hashes
  crypto: powerpc - CRYPT_CRC32C_VPMSUM should depend on ALTIVEC
  rxrpc: fix uninitialized pointer dereference in debug code
  netfilter: ctnetlink: reject new conntrack request with different l4proto
  netfilter: nfnetlink_queue: reject verdict request from different portid
  netfilter: nfnetlink_queue: fix memory leak when attach expectation successfully
  netfilter: nf_ct_expect: remove the redundant slash when policy name is empty
  drm/amdkfd: print doorbell offset as a hex value
  qed: Update app count when adding a new dcbx app entry to the table.
  qed: Add dcbx app support for IEEE Selection Field.
  qed: Use ieee mfw-mask to get ethtype in ieee-dcbx mode.
  qed: Remove the endian-ness conversion for pri_to_tc value.
  Revert "drm/radeon: work around lack of upstream ACPI support for D3cold"
  Revert "drm/amdgpu: work around lack of upstream ACPI support for D3cold"
  aacraid: Check size values after double-fetch from user
  sctp: use event->chunk when it's valid
  net: vxlan: lwt: Fix vxlan local traffic.
  net: vxlan: lwt: Use source ip address during route lookup.
  bpf: fix checksum for vlan push/pop helper
  bpf: fix checksum fixups on bpf_skb_store_bytes
  bpf: also call skb_postpush_rcsum on xmit occasions
  net/ethernet: tundra: fix dump_eth_one warning in tsi108_eth
  mlxsw: spectrum: Add missing DCB rollback in error path
  mlxsw: spectrum: Do not override PAUSE settings
  mlxsw: spectrum: Do not assume PAUSE frames are disabled
  rhashtable-test: Fix max_size parameter description
  sctp_diag: Respect ss adding TCPF_CLOSE to idiag_states
  sctp_diag: Fix T3_rtx timer export
  sctp: Export struct sctp_info to userspace
  crypto: caam - defer aead_set_sh_desc in case of zero authsize
  crypto: caam - fix echainiv(authenc) encrypt shared descriptor
  crypto: sha3 - Add missing ULL suffixes for 64-bit constants
  s390/qdio: avoid reschedule of outbound tasklet once killed
  s390/qdio: remove checks for ccw device internal state
  s390/qdio: fix double return code evaluation
  s390/qdio: get rid of spin_lock_irqsave usage
  s390/cio: remove subchannel_id from ccw_device_private
  s390/qdio: obtain subchannel_id via ccw_device_get_schid()
  s390/cio: stop using subchannel_id from ccw_device_private
  s390/config: make the vector optimized crc function builtin
  s390/lib: fix memcmp and strstr
  s390/crc32-vx: Fix checksum calculation for small sizes
  s390: clarify compressed image code path
  USB: serial: fix memleak in driver-registration error path
  USB: serial: option: add support for Telit LE920A4
  USB: serial: ftdi_sio: add device ID for WICED USB UART dev board
  USB: serial: ftdi_sio: add PIDs for Ivium Technologies devices
  netfilter: nf_conntrack_sip: CSeq 0 is a valid CSeq
  USB: serial: option: add D-Link DWM-156/A3
  netfilter: nft_rbtree: ignore inactive matching element with no descendants
  netfilter: nf_tables: s/MFT_REG32_01/NFT_REG32_01
  netfilter: nf_ct_h323: do not re-activate already expired timer
  EDAC, sb_edac: Fix channel reporting on Knights Landing
  net: macb: Correct CAPS mask
  samples/bpf: add bpf_map_update_elem() tests
  bpf: restore behavior of bpf_map_update_elem
  net: dsa: b53: Add missing ULL suffix for 64-bit constant
  ipv4: panic in leaf_walk_rcu due to stale node pointer
  rxrpc: Fix races between skb free, ACK generation and replying
  net: arc_emac: add missing of_node_put() in arc_emac_probe()
  OVS: Ignore negative headroom value
  mac80211: Add ieee80211_hw pointer to get_expected_throughput
  nl80211: correct checks for NL80211_MESHCONF_HT_OPMODE value
  mac80211: End the MPSP even if EOSP frame was not acked
  mac80211: fix purging multicast PS buffer queue
  fcoe: Use kfree_skb() instead of kfree()
  qlcnic: Update version to 5.3.65
  qlcnic: fix napi budget alteration
  qlcnic: fix data structure corruption in async mbx command handling
  tg3: Report the correct number of RSS queues through tg3_get_rxnfc
  tg3: Fix for diasllow rx coalescing time to be 0
  bpf: fix method of PTR_TO_PACKET reg id generation
  net: xgene: fix maybe-uninitialized variable
  openvswitch: Remove incorrect WARN_ONCE().
  mac80211: mesh: flush stations before beacons are stopped
  mac80211: fix check for buffered powersave frames with txq
  cfg80211: fix missing break in NL8211_CHAN_WIDTH_80P80 case

CRs-Fixed: 1046658
Change-Id: Ibb9523dccb2ca7541b27e0563f451fe5b239003a
Signed-off-by: default avatarBruce Levy <blevy@codeaurora.org>
parents 14f8e032 fa8410b3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -131,7 +131,7 @@ pygments_style = 'sphinx'
todo_include_todos = False

primary_domain = 'C'
highlight_language = 'C'
highlight_language = 'guess'

# -- Options for HTML output ----------------------------------------------

+2 −2
Original line number Diff line number Diff line
@@ -19,5 +19,5 @@ enhancements. It can monitor up to 4 voltages, 16 temperatures and
implemented in this driver.

Specification of the chip can be found here:
ftp:///pub/Mainboard-OEM-Sales/Services/Software&Tools/Linux_SystemMonitoring&Watchdog&GPIO/BMC-Teutates_Specification_V1.21.pdf
ftp:///pub/Mainboard-OEM-Sales/Services/Software&Tools/Linux_SystemMonitoring&Watchdog&GPIO/Fujitsu_mainboards-1-Sensors_HowTo-en-US.pdf
ftp://ftp.ts.fujitsu.com/pub/Mainboard-OEM-Sales/Services/Software&Tools/Linux_SystemMonitoring&Watchdog&GPIO/BMC-Teutates_Specification_V1.21.pdf
ftp://ftp.ts.fujitsu.com/pub/Mainboard-OEM-Sales/Services/Software&Tools/Linux_SystemMonitoring&Watchdog&GPIO/Fujitsu_mainboards-1-Sensors_HowTo-en-US.pdf
+0 −6
Original line number Diff line number Diff line
@@ -366,8 +366,6 @@ Domain`_ references.
Cross-referencing from reStructuredText
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. highlight:: none

To cross-reference the functions and types defined in the kernel-doc comments
from reStructuredText documents, please use the `Sphinx C Domain`_
references. For example::
@@ -390,8 +388,6 @@ For further details, please refer to the `Sphinx C Domain`_ documentation.
Function documentation
----------------------

.. highlight:: c

The general format of a function and function-like macro kernel-doc comment is::

  /**
@@ -572,8 +568,6 @@ DocBook XML [DEPRECATED]
Converting DocBook to Sphinx
----------------------------

.. highlight:: none

Over time, we expect all of the documents under ``Documentation/DocBook`` to be
converted to Sphinx and reStructuredText. For most DocBook XML documents, a good
enough solution is to use the simple ``Documentation/sphinx/tmplcvt`` script,
+11 −10
Original line number Diff line number Diff line
@@ -790,13 +790,12 @@ The kernel interface functions are as follows:
     Data messages can have their contents extracted with the usual bunch of
     socket buffer manipulation functions.  A data message can be determined to
     be the last one in a sequence with rxrpc_kernel_is_data_last().  When a
     data message has been used up, rxrpc_kernel_data_delivered() should be
     called on it..
     data message has been used up, rxrpc_kernel_data_consumed() should be
     called on it.

     Non-data messages should be handled to rxrpc_kernel_free_skb() to dispose
     of.  It is possible to get extra refs on all types of message for later
     freeing, but this may pin the state of a call until the message is finally
     freed.
     Messages should be handled to rxrpc_kernel_free_skb() to dispose of.  It
     is possible to get extra refs on all types of message for later freeing,
     but this may pin the state of a call until the message is finally freed.

 (*) Accept an incoming call.

@@ -821,12 +820,14 @@ The kernel interface functions are as follows:
     Other errors may be returned if the call had been aborted (-ECONNABORTED)
     or had timed out (-ETIME).

 (*) Record the delivery of a data message and free it.
 (*) Record the delivery of a data message.

	void rxrpc_kernel_data_delivered(struct sk_buff *skb);
	void rxrpc_kernel_data_consumed(struct rxrpc_call *call,
					struct sk_buff *skb);

     This is used to record a data message as having been delivered and to
     update the ACK state for the call.  The socket buffer will be freed.
     This is used to record a data message as having been consumed and to
     update the ACK state for the call.  The message must still be passed to
     rxrpc_kernel_free_skb() for disposal by the caller.

 (*) Free a message.

+26 −1
Original line number Diff line number Diff line
@@ -164,7 +164,32 @@ load n/2 modules more and try again.
Again, if you find the offending module(s), it(they) must be unloaded every time
before hibernation, and please report the problem with it(them).

c) Advanced debugging
c) Using the "test_resume" hibernation option

/sys/power/disk generally tells the kernel what to do after creating a
hibernation image.  One of the available options is "test_resume" which
causes the just created image to be used for immediate restoration.  Namely,
after doing:

# echo test_resume > /sys/power/disk
# echo disk > /sys/power/state

a hibernation image will be created and a resume from it will be triggered
immediately without involving the platform firmware in any way.

That test can be used to check if failures to resume from hibernation are
related to bad interactions with the platform firmware.  That is, if the above
works every time, but resume from actual hibernation does not work or is
unreliable, the platform firmware may be responsible for the failures.

On architectures and platforms that support using different kernels to restore
hibernation images (that is, the kernel used to read the image from storage and
load it into memory is different from the one included in the image) or support
kernel address space randomization, it also can be used to check if failures
to resume may be related to the differences between the restore and image
kernels.

d) Advanced debugging

In case that hibernation does not work on your system even in the minimal
configuration and compiling more drivers as modules is not practical or some
Loading