android_kernel_motorola_sm6375/Documentation/admin-guide
Repository files (latest commit first)
Filename Latest commit message Latest commit date
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 <[email protected]>
2019-09-12 15:54:00 -07:00
..
acpi Documentation: ACPI: move ssdt-overlays.txt to admin-guide/acpi and convert to reST 2019-04-25 23:07:20 +02:00
aoe docs: aoe: add it to the driver-api book 2019-07-15 11:03:02 -03:00
blockdev docs: add SPDX tags to new index files 2019-07-15 11:03:03 -03:00
cgroup-v1 docs: cgroup-v1: add it to the admin-guide book 2019-07-15 11:03:02 -03:00
device-mapper docs: admin-guide: add a series of orphaned documents 2019-07-15 11:03:02 -03:00
gpio docs: gpio: add sysfs interface to the admin-guide 2019-07-15 11:03:03 -03:00
hw-vuln Documentation: Add swapgs description to the Spectre v1 documentation 2019-08-03 21:21:54 +02:00
kdump docs: admin-guide: add kdump documentation into it 2019-07-15 11:03:01 -03:00
laptops docs: don't use nested tables 2019-07-15 11:03:04 -03:00
LSM security/loadpin: Allow to exclude specific file types 2019-05-31 13:57:40 -07:00
mm docs/vm: transhuge: fix typo in madvise reference 2019-07-22 14:45:12 -06:00
namespaces docs: add SPDX tags to new index files 2019-07-15 11:03:03 -03:00
perf docs: add SPDX tags to new index files 2019-07-15 11:03:03 -03:00
pm Merge branches 'pm-docs' and 'pm-misc' 2019-05-06 10:55:19 +02:00
sysctl Linux 5.3-rc6 2019-08-26 16:45:30 +02:00
bcache.rst
binderfs.rst docs: Move binderfs to admin-guide 2019-07-08 14:15:36 -06:00
binfmt-misc.rst
braille-console.rst
btmrvl.rst docs: admin-guide: add a series of orphaned documents 2019-07-15 11:03:02 -03:00
bug-bisect.rst
bug-hunting.rst docs: admin-guide: add kdump documentation into it 2019-07-15 11:03:01 -03:00
cgroup-v2.rst docs conversion for v5.3-rc1 2019-07-16 12:21:41 -07:00
clearing-warn-once.rst docs: admin-guide: add a series of orphaned documents 2019-07-15 11:03:02 -03:00
cpu-load.rst docs: admin-guide: add a series of orphaned documents 2019-07-15 11:03:02 -03:00
cputopology.rst docs: admin-guide: add a series of orphaned documents 2019-07-15 11:03:02 -03:00
devices.rst doc:process: add links where missing 2018-12-06 10:21:19 -07:00
devices.txt serial: mpsc: Remove obsolete MPSC driver 2019-07-03 19:28:40 +02:00
dynamic-debug-howto.rst Documentation: dynamic-debug: fix wildcard description 2018-11-07 15:25:59 -07:00
efi-stub.rst docs: admin-guide: add a series of orphaned documents 2019-07-15 11:03:02 -03:00
ext4.rst docs: ext4.rst: document case-insensitive directories 2019-04-25 14:13:27 -04:00
highuid.rst docs: admin-guide: add a series of orphaned documents 2019-07-15 11:03:02 -03:00
hw_random.rst docs: admin-guide: add a series of orphaned documents 2019-07-15 11:03:02 -03:00
index.rst Also new for 5.3: 2019-07-18 11:18:00 -07:00
init.rst
initrd.rst
iostats.rst docs: admin-guide: add a series of orphaned documents 2019-07-15 11:03:02 -03:00
java.rst
kernel-parameters.rst docs: m68k: convert docs to ReST and rename to *.rst 2019-07-15 09:20:23 -03:00
kernel-parameters.txt Merge remote-tracking branch 'remotes/origin/tmp-a63d3d432447' into msm-lahaina 2019-09-12 15:54:00 -07:00
kernel-per-CPU-kthreads.rst docs: admin-guide: add a series of orphaned documents 2019-07-15 11:03:02 -03:00
lcd-panel-cgram.rst docs: admin-guide: add a series of orphaned documents 2019-07-15 11:03:02 -03:00
ldm.rst docs: admin-guide: add a series of orphaned documents 2019-07-15 11:03:02 -03:00
lockup-watchdogs.rst docs: admin-guide: add a series of orphaned documents 2019-07-15 11:03:02 -03:00
md.rst raid5: set write hint for PPL 2019-03-12 10:15:18 -07:00
module-signing.rst
mono.rst
numastat.rst docs: admin-guide: add a series of orphaned documents 2019-07-15 11:03:02 -03:00
parport.rst
perf-security.rst perf-security: wrap paragraphs on 72 columns 2019-02-17 16:05:00 -07:00
pnp.rst docs: admin-guide: add a series of orphaned documents 2019-07-15 11:03:02 -03:00
ramoops.rst
rapidio.rst docs: rapidio: add it to the driver API 2019-07-15 09:20:27 -03:00
ras.rst docs: fix broken documentation links 2019-06-08 13:42:13 -06:00
README.rst docs: kbuild: convert docs to ReST and rename to *.rst 2019-06-14 14:21:21 -06:00
reporting-bugs.rst Documentation/admin-guide: update URL of LKML information link 2019-01-03 09:23:59 -07:00
rtc.rst docs: admin-guide: add a series of orphaned documents 2019-07-15 11:03:02 -03:00
security-bugs.rst A fairly normal cycle for documentation stuff. We have a new 2018-12-29 11:21:49 -08:00
serial-console.rst
svga.rst docs: admin-guide: add a series of orphaned documents 2019-07-15 11:03:02 -03:00
sysfs-rules.rst
sysrq.rst
tainted-kernels.rst docs: Revamp tainted-kernels.rst to make it more comprehensible 2019-01-08 16:33:47 -07:00
thunderbolt.rst thunderbolt: Export IOMMU based DMA protection support to userspace 2018-12-05 12:01:56 +03:00
unicode.rst
vga-softcursor.rst
video-output.rst docs: admin-guide: add a series of orphaned documents 2019-07-15 11:03:02 -03:00
xfs.rst Documentation: filesystem: Convert xfs.txt to ReST 2019-07-15 09:15:09 -07:00

.. _readme:

Linux kernel release 5.x <http://kernel.org/>
=============================================

These are the release notes for Linux version 5.  Read them carefully,
as they tell you what this is all about, explain how to install the
kernel, and what to do if something goes wrong.

What is Linux?
--------------

  Linux is a clone of the operating system Unix, written from scratch by
  Linus Torvalds with assistance from a loosely-knit team of hackers across
  the Net. It aims towards POSIX and Single UNIX Specification compliance.

  It has all the features you would expect in a modern fully-fledged Unix,
  including true multitasking, virtual memory, shared libraries, demand
  loading, shared copy-on-write executables, proper memory management,
  and multistack networking including IPv4 and IPv6.

  It is distributed under the GNU General Public License v2 - see the
  accompanying COPYING file for more details.

On what hardware does it run?
-----------------------------

  Although originally developed first for 32-bit x86-based PCs (386 or higher),
  today Linux also runs on (at least) the Compaq Alpha AXP, Sun SPARC and
  UltraSPARC, Motorola 68000, PowerPC, PowerPC64, ARM, Hitachi SuperH, Cell,
  IBM S/390, MIPS, HP PA-RISC, Intel IA-64, DEC VAX, AMD x86-64 Xtensa, and
  ARC architectures.

  Linux is easily portable to most general-purpose 32- or 64-bit architectures
  as long as they have a paged memory management unit (PMMU) and a port of the
  GNU C compiler (gcc) (part of The GNU Compiler Collection, GCC). Linux has
  also been ported to a number of architectures without a PMMU, although
  functionality is then obviously somewhat limited.
  Linux has also been ported to itself. You can now run the kernel as a
  userspace application - this is called UserMode Linux (UML).

Documentation
-------------

 - There is a lot of documentation available both in electronic form on
   the Internet and in books, both Linux-specific and pertaining to
   general UNIX questions.  I'd recommend looking into the documentation
   subdirectories on any Linux FTP site for the LDP (Linux Documentation
   Project) books.  This README is not meant to be documentation on the
   system: there are much better sources available.

 - There are various README files in the Documentation/ subdirectory:
   these typically contain kernel-specific installation notes for some
   drivers for example. Please read the
   :ref:`Documentation/process/changes.rst <changes>` file, as it
   contains information about the problems, which may result by upgrading
   your kernel.

Installing the kernel source
----------------------------

 - If you install the full sources, put the kernel tarball in a
   directory where you have permissions (e.g. your home directory) and
   unpack it::

     xz -cd linux-5.x.tar.xz | tar xvf -

   Replace "X" with the version number of the latest kernel.

   Do NOT use the /usr/src/linux area! This area has a (usually
   incomplete) set of kernel headers that are used by the library header
   files.  They should match the library, and not get messed up by
   whatever the kernel-du-jour happens to be.

 - You can also upgrade between 5.x releases by patching.  Patches are
   distributed in the xz format.  To install by patching, get all the
   newer patch files, enter the top level directory of the kernel source
   (linux-5.x) and execute::

     xz -cd ../patch-5.x.xz | patch -p1

   Replace "x" for all versions bigger than the version "x" of your current
   source tree, **in_order**, and you should be ok.  You may want to remove
   the backup files (some-file-name~ or some-file-name.orig), and make sure
   that there are no failed patches (some-file-name# or some-file-name.rej).
   If there are, either you or I have made a mistake.

   Unlike patches for the 5.x kernels, patches for the 5.x.y kernels
   (also known as the -stable kernels) are not incremental but instead apply
   directly to the base 5.x kernel.  For example, if your base kernel is 5.0
   and you want to apply the 5.0.3 patch, you must not first apply the 5.0.1
   and 5.0.2 patches. Similarly, if you are running kernel version 5.0.2 and
   want to jump to 5.0.3, you must first reverse the 5.0.2 patch (that is,
   patch -R) **before** applying the 5.0.3 patch. You can read more on this in
   :ref:`Documentation/process/applying-patches.rst <applying_patches>`.

   Alternatively, the script patch-kernel can be used to automate this
   process.  It determines the current kernel version and applies any
   patches found::

     linux/scripts/patch-kernel linux

   The first argument in the command above is the location of the
   kernel source.  Patches are applied from the current directory, but
   an alternative directory can be specified as the second argument.

 - Make sure you have no stale .o files and dependencies lying around::

     cd linux
     make mrproper

   You should now have the sources correctly installed.

Software requirements
---------------------

   Compiling and running the 5.x kernels requires up-to-date
   versions of various software packages.  Consult
   :ref:`Documentation/process/changes.rst <changes>` for the minimum version numbers
   required and how to get updates for these packages.  Beware that using
   excessively old versions of these packages can cause indirect
   errors that are very difficult to track down, so don't assume that
   you can just update packages when obvious problems arise during
   build or operation.

Build directory for the kernel
------------------------------

   When compiling the kernel, all output files will per default be
   stored together with the kernel source code.
   Using the option ``make O=output/dir`` allows you to specify an alternate
   place for the output files (including .config).
   Example::

     kernel source code: /usr/src/linux-5.x
     build directory:    /home/name/build/kernel

   To configure and build the kernel, use::

     cd /usr/src/linux-5.x
     make O=/home/name/build/kernel menuconfig
     make O=/home/name/build/kernel
     sudo make O=/home/name/build/kernel modules_install install

   Please note: If the ``O=output/dir`` option is used, then it must be
   used for all invocations of make.

Configuring the kernel
----------------------

   Do not skip this step even if you are only upgrading one minor
   version.  New configuration options are added in each release, and
   odd problems will turn up if the configuration files are not set up
   as expected.  If you want to carry your existing configuration to a
   new version with minimal work, use ``make oldconfig``, which will
   only ask you for the answers to new questions.

 - Alternative configuration commands are::

     "make config"      Plain text interface.

     "make menuconfig"  Text based color menus, radiolists & dialogs.

     "make nconfig"     Enhanced text based color menus.

     "make xconfig"     Qt based configuration tool.

     "make gconfig"     GTK+ based configuration tool.

     "make oldconfig"   Default all questions based on the contents of
                        your existing ./.config file and asking about
                        new config symbols.

     "make olddefconfig"
                        Like above, but sets new symbols to their default
                        values without prompting.

     "make defconfig"   Create a ./.config file by using the default
                        symbol values from either arch/$ARCH/defconfig
                        or arch/$ARCH/configs/${PLATFORM}_defconfig,
                        depending on the architecture.

     "make ${PLATFORM}_defconfig"
                        Create a ./.config file by using the default
                        symbol values from
                        arch/$ARCH/configs/${PLATFORM}_defconfig.
                        Use "make help" to get a list of all available
                        platforms of your architecture.

     "make allyesconfig"
                        Create a ./.config file by setting symbol
                        values to 'y' as much as possible.

     "make allmodconfig"
                        Create a ./.config file by setting symbol
                        values to 'm' as much as possible.

     "make allnoconfig" Create a ./.config file by setting symbol
                        values to 'n' as much as possible.

     "make randconfig"  Create a ./.config file by setting symbol
                        values to random values.

     "make localmodconfig" Create a config based on current config and
                           loaded modules (lsmod). Disables any module
                           option that is not needed for the loaded modules.

                           To create a localmodconfig for another machine,
                           store the lsmod of that machine into a file
                           and pass it in as a LSMOD parameter.

                   target$ lsmod > /tmp/mylsmod
                   target$ scp /tmp/mylsmod host:/tmp

                   host$ make LSMOD=/tmp/mylsmod localmodconfig

                           The above also works when cross compiling.

     "make localyesconfig" Similar to localmodconfig, except it will convert
                           all module options to built in (=y) options.

     "make kvmconfig"   Enable additional options for kvm guest kernel support.

     "make xenconfig"   Enable additional options for xen dom0 guest kernel
                        support.

     "make tinyconfig"  Configure the tiniest possible kernel.

   You can find more information on using the Linux kernel config tools
   in Documentation/kbuild/kconfig.rst.

 - NOTES on ``make config``:

    - Having unnecessary drivers will make the kernel bigger, and can
      under some circumstances lead to problems: probing for a
      nonexistent controller card may confuse your other controllers.

    - A kernel with math-emulation compiled in will still use the
      coprocessor if one is present: the math emulation will just
      never get used in that case.  The kernel will be slightly larger,
      but will work on different machines regardless of whether they
      have a math coprocessor or not.

    - The "kernel hacking" configuration details usually result in a
      bigger or slower kernel (or both), and can even make the kernel
      less stable by configuring some routines to actively try to
      break bad code to find kernel problems (kmalloc()).  Thus you
      should probably answer 'n' to the questions for "development",
      "experimental", or "debugging" features.

Compiling the kernel
--------------------

 - Make sure you have at least gcc 4.6 available.
   For more information, refer to :ref:`Documentation/process/changes.rst <changes>`.

   Please note that you can still run a.out user programs with this kernel.

 - Do a ``make`` to create a compressed kernel image. It is also
   possible to do ``make install`` if you have lilo installed to suit the
   kernel makefiles, but you may want to check your particular lilo setup first.

   To do the actual install, you have to be root, but none of the normal
   build should require that. Don't take the name of root in vain.

 - If you configured any of the parts of the kernel as ``modules``, you
   will also have to do ``make modules_install``.

 - Verbose kernel compile/build output:

   Normally, the kernel build system runs in a fairly quiet mode (but not
   totally silent).  However, sometimes you or other kernel developers need
   to see compile, link, or other commands exactly as they are executed.
   For this, use "verbose" build mode.  This is done by passing
   ``V=1`` to the ``make`` command, e.g.::

     make V=1 all

   To have the build system also tell the reason for the rebuild of each
   target, use ``V=2``.  The default is ``V=0``.

 - Keep a backup kernel handy in case something goes wrong.  This is
   especially true for the development releases, since each new release
   contains new code which has not been debugged.  Make sure you keep a
   backup of the modules corresponding to that kernel, as well.  If you
   are installing a new kernel with the same version number as your
   working kernel, make a backup of your modules directory before you
   do a ``make modules_install``.

   Alternatively, before compiling, use the kernel config option
   "LOCALVERSION" to append a unique suffix to the regular kernel version.
   LOCALVERSION can be set in the "General Setup" menu.

 - In order to boot your new kernel, you'll need to copy the kernel
   image (e.g. .../linux/arch/x86/boot/bzImage after compilation)
   to the place where your regular bootable kernel is found.

 - Booting a kernel directly from a floppy without the assistance of a
   bootloader such as LILO, is no longer supported.

   If you boot Linux from the hard drive, chances are you use LILO, which
   uses the kernel image as specified in the file /etc/lilo.conf.  The
   kernel image file is usually /vmlinuz, /boot/vmlinuz, /bzImage or
   /boot/bzImage.  To use the new kernel, save a copy of the old image
   and copy the new image over the old one.  Then, you MUST RERUN LILO
   to update the loading map! If you don't, you won't be able to boot
   the new kernel image.

   Reinstalling LILO is usually a matter of running /sbin/lilo.
   You may wish to edit /etc/lilo.conf to specify an entry for your
   old kernel image (say, /vmlinux.old) in case the new one does not
   work.  See the LILO docs for more information.

   After reinstalling LILO, you should be all set.  Shutdown the system,
   reboot, and enjoy!

   If you ever need to change the default root device, video mode,
   ramdisk size, etc.  in the kernel image, use the ``rdev`` program (or
   alternatively the LILO boot options when appropriate).  No need to
   recompile the kernel to change these parameters.

 - Reboot with the new kernel and enjoy.

If something goes wrong
-----------------------

 - If you have problems that seem to be due to kernel bugs, please check
   the file MAINTAINERS to see if there is a particular person associated
   with the part of the kernel that you are having trouble with. If there
   isn't anyone listed there, then the second best thing is to mail
   them to me ([email protected]), and possibly to any other
   relevant mailing-list or to the newsgroup.

 - In all bug-reports, *please* tell what kernel you are talking about,
   how to duplicate the problem, and what your setup is (use your common
   sense).  If the problem is new, tell me so, and if the problem is
   old, please try to tell me when you first noticed it.

 - If the bug results in a message like::

     unable to handle kernel paging request at address C0000010
     Oops: 0002
     EIP:   0010:XXXXXXXX
     eax: xxxxxxxx   ebx: xxxxxxxx   ecx: xxxxxxxx   edx: xxxxxxxx
     esi: xxxxxxxx   edi: xxxxxxxx   ebp: xxxxxxxx
     ds: xxxx  es: xxxx  fs: xxxx  gs: xxxx
     Pid: xx, process nr: xx
     xx xx xx xx xx xx xx xx xx xx

   or similar kernel debugging information on your screen or in your
   system log, please duplicate it *exactly*.  The dump may look
   incomprehensible to you, but it does contain information that may
   help debugging the problem.  The text above the dump is also
   important: it tells something about why the kernel dumped code (in
   the above example, it's due to a bad kernel pointer). More information
   on making sense of the dump is in Documentation/admin-guide/bug-hunting.rst

 - If you compiled the kernel with CONFIG_KALLSYMS you can send the dump
   as is, otherwise you will have to use the ``ksymoops`` program to make
   sense of the dump (but compiling with CONFIG_KALLSYMS is usually preferred).
   This utility can be downloaded from
   https://www.kernel.org/pub/linux/utils/kernel/ksymoops/ .
   Alternatively, you can do the dump lookup by hand:

 - In debugging dumps like the above, it helps enormously if you can
   look up what the EIP value means.  The hex value as such doesn't help
   me or anybody else very much: it will depend on your particular
   kernel setup.  What you should do is take the hex value from the EIP
   line (ignore the ``0010:``), and look it up in the kernel namelist to
   see which kernel function contains the offending address.

   To find out the kernel function name, you'll need to find the system
   binary associated with the kernel that exhibited the symptom.  This is
   the file 'linux/vmlinux'.  To extract the namelist and match it against
   the EIP from the kernel crash, do::

     nm vmlinux | sort | less

   This will give you a list of kernel addresses sorted in ascending
   order, from which it is simple to find the function that contains the
   offending address.  Note that the address given by the kernel
   debugging messages will not necessarily match exactly with the
   function addresses (in fact, that is very unlikely), so you can't
   just 'grep' the list: the list will, however, give you the starting
   point of each kernel function, so by looking for the function that
   has a starting address lower than the one you are searching for but
   is followed by a function with a higher address you will find the one
   you want.  In fact, it may be a good idea to include a bit of
   "context" in your problem report, giving a few lines around the
   interesting one.

   If you for some reason cannot do the above (you have a pre-compiled
   kernel image or similar), telling me as much about your setup as
   possible will help.  Please read the :ref:`admin-guide/reporting-bugs.rst <reportingbugs>`
   document for details.

 - Alternatively, you can use gdb on a running kernel. (read-only; i.e. you
   cannot change values or set break points.) To do this, first compile the
   kernel with -g; edit arch/x86/Makefile appropriately, then do a ``make
   clean``. You'll also need to enable CONFIG_PROC_FS (via ``make config``).

   After you've rebooted with the new kernel, do ``gdb vmlinux /proc/kcore``.
   You can now use all the usual gdb commands. The command to look up the
   point where your system crashed is ``l *0xXXXXXXXX``. (Replace the XXXes
   with the EIP value.)

   gdb'ing a non-running kernel currently fails because ``gdb`` (wrongly)
   disregards the starting offset for which the kernel is compiled.