Skip to content
Permalink
Quan-Nguyen/Ad…
Switch branches/tags

Commits on Jul 13, 2021

  1. i2c: aspeed: Add slave_enable() to toggle slave mode

    Slave needs time to prepare the response data before Master could
    enquiry via read transaction. However, there is no mechanism for
    i2c-aspeed Slave to notify Master that it needs more time to process
    and this make Master side to time out when trying to get the response.
    
    This commit introduces the slave_enable() callback in struct
    i2c_algorithm for Slave to temporary stop the Slave mode while working
    on the response and re-enable the Slave when response data ready.
    
    Signed-off-by: Quan Nguyen <quan@os.amperecomputing.com>
    Quan Nguyen authored and intel-lab-lkp committed Jul 13, 2021
  2. bindings: ipmi: Add binding for SSIF BMC driver

    Add device tree binding document for the SSIF BMC driver.
    
    Signed-off-by: Quan Nguyen <quan@os.amperecomputing.com>
    Quan Nguyen authored and intel-lab-lkp committed Jul 13, 2021
  3. ipmi: ssif_bmc: Add SSIF BMC driver

    The SMBus system interface (SSIF) IPMI BMC driver can be used to perform
    in-band IPMI communication with their host in management (BMC) side.
    
    Signed-off-by: Quan Nguyen <quan@os.amperecomputing.com>
    Quan Nguyen authored and intel-lab-lkp committed Jul 13, 2021

Commits on Jul 6, 2021

  1. Merge tag 'for-linus' of git://git.armlinux.org.uk/~rmk/linux-arm

    Pull ARM development updates from Russell King:
    
     - Make it clear __swp_entry_to_pte() uses PTE_TYPE_FAULT
    
     - Updates for setting vmalloc size via command line to resolve an issue
       with the 8MiB hole not properly being accounted for, and clean up the
       code.
    
     - ftrace support for module PLTs
    
     - Spelling fixes
    
     - kbuild updates for removing generated files and pattern rules for
       generating files
    
     - Clang/llvm updates
    
     - Change the way the kernel is mapped, placing it in vmalloc space
       instead.
    
     - Remove arm_pm_restart from arm and aarch64.
    
    * tag 'for-linus' of git://git.armlinux.org.uk/~rmk/linux-arm: (29 commits)
      ARM: 9098/1: ftrace: MODULE_PLT: Fix build problem without DYNAMIC_FTRACE
      ARM: 9097/1: mmu: Declare section start/end correctly
      ARM: 9096/1: Remove arm_pm_restart()
      ARM: 9095/1: ARM64: Remove arm_pm_restart()
      ARM: 9094/1: Register with kernel restart handler
      ARM: 9093/1: drivers: firmwapsci: Register with kernel restart handler
      ARM: 9092/1: xen: Register with kernel restart handler
      ARM: 9091/1: Revert "mm: qsd8x50: Fix incorrect permission faults"
      ARM: 9090/1: Map the lowmem and kernel separately
      ARM: 9089/1: Define kernel physical section start and end
      ARM: 9088/1: Split KERNEL_OFFSET from PAGE_OFFSET
      ARM: 9087/1: kprobes: test-thumb: fix for LLVM_IAS=1
      ARM: 9086/1: syscalls: use pattern rules to generate syscall headers
      ARM: 9085/1: remove unneeded abi parameter to syscallnr.sh
      ARM: 9084/1: simplify the build rule of mach-types.h
      ARM: 9083/1: uncompress: atags_to_fdt: Spelling s/REturn/Return/
      ARM: 9082/1: [v2] mark prepare_page_table as __init
      ARM: 9079/1: ftrace: Add MODULE_PLTS support
      ARM: 9078/1: Add warn suppress parameter to arm_gen_branch_link()
      ARM: 9077/1: PLT: Move struct plt_entries definition to header
      ...
    torvalds committed Jul 6, 2021
  2. Merge tag 'for-linus' of git://github.com/openrisc/linux

    Pull OpenRISC updates from Stafford Horne:
     "One change to simplify Litex CSR (MMIO register) access by limiting
      them to 32-bit offsets.
    
      Now that this is agreed on among Litex hardware and kernel developers
      it will allow us to start upstreaming other Litex peripheral drivers"
    
    * tag 'for-linus' of git://github.com/openrisc/linux:
      drivers/soc/litex: remove 8-bit subregister option
    torvalds committed Jul 6, 2021
  3. Merge tag 'kgdb-5.14-rc1' of git://git.kernel.org/pub/scm/linux/kerne…

    …l/git/danielt/linux
    
    Pull kgdb updates from Daniel Thompson:
     "This was a extremely quiet cycle for kgdb. This consists of two
      patches that between them address spelling errors and a switch
      fallthrough warning"
    
    * tag 'kgdb-5.14-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/danielt/linux:
      kgdb: Fix fall-through warning for Clang
      kgdb: Fix spelling mistakes
    torvalds committed Jul 6, 2021
  4. Merge branch 'for-5.14' of git://git.kernel.org/pub/scm/linux/kernel/…

    …git/jlawall/linux
    
    Pull coccinelle updates from Julia Lawall:
     "There are two new semantic patches:
    
       - minmax: To use min and max instead of ? :
    
       - swap: To use swap when possible
    
      Some other semantic patches have been updated to better conform to
      Linux kernel developer expectations or to make the explanation message
      more clear.
    
      Finally, there is a fix for the coccicheck script"
    
    * 'for-5.14' of git://git.kernel.org/pub/scm/linux/kernel/git/jlawall/linux:
      coccinelle: api: remove kobj_to_dev.cocci script
      scripts: coccicheck: fix troubles on non-English builds
      coccinelle: misc: minmax: suppress patch generation for err returns
      drop unneeded *s
      coccinelle: irqf_oneshot: reduce the severity due to false positives
      coccinelle: misc: add swap script
      coccinelle: misc: update uninitialized_var.cocci documentation
      coccinelle: misc: restrict patch mode in flexible_array.cocci
      coccinelle: misc: add minmax script
    torvalds committed Jul 6, 2021
  5. Merge tag 'fuse-update-5.14' of git://git.kernel.org/pub/scm/linux/ke…

    …rnel/git/mszeredi/fuse
    
    Pull fuse updates from Miklos Szeredi:
    
     - Fixes for virtiofs submounts
    
     - Misc fixes and cleanups
    
    * tag 'fuse-update-5.14' of git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/fuse:
      virtiofs: Fix spelling mistakes
      fuse: use DIV_ROUND_UP helper macro for calculations
      fuse: fix illegal access to inode with reused nodeid
      fuse: allow fallocate(FALLOC_FL_ZERO_RANGE)
      fuse: Make fuse_fill_super_submount() static
      fuse: Switch to fc_mount() for submounts
      fuse: Call vfs_get_tree() for submounts
      fuse: add dedicated filesystem context ops for submounts
      virtiofs: propagate sync() to file server
      fuse: reject internal errno
      fuse: check connected before queueing on fpq->io
      fuse: ignore PG_workingset after stealing
      fuse: Fix infinite loop in sget_fc()
      fuse: Fix crash if superblock of submount gets killed early
      fuse: Fix crash in fuse_dentry_automount() error path
    torvalds committed Jul 6, 2021
  6. Merge tag 'for-linus-5.14-ofs1' of git://git.kernel.org/pub/scm/linux…

    …/kernel/git/hubcap/linux
    
    Pull orangefs updates from Mike Marshall:
     "A read-ahead adjustment and a fix.
    
      The readahead adjustment was suggested by Matthew Wilcox and looks
      like how I should have written it in the first place... the "df fix"
      was suggested by Walt Ligon, some Orangefs users have been complaining
      about whacky df output..."
    
    * tag 'for-linus-5.14-ofs1' of git://git.kernel.org/pub/scm/linux/kernel/git/hubcap/linux:
      orangefs: fix orangefs df output.
      orangefs: readahead adjustment
    torvalds committed Jul 6, 2021
  7. Merge tag 'exfat-for-5.14-rc1' of git://git.kernel.org/pub/scm/linux/…

    …kernel/git/linkinjeon/exfat
    
    Pull exfat updates from Namjae Jeon:
    
     - Improved compatibility issue with exfat from some camera vendors.
    
     - Do not need to release root inode on error path.
    
    * tag 'exfat-for-5.14-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/linkinjeon/exfat:
      exfat: handle wrong stream entry size in exfat_readdir()
      exfat: avoid incorrectly releasing for root inode
    torvalds committed Jul 6, 2021

Commits on Jul 5, 2021

  1. Merge tag 'usb-5.14-rc1' of git://git.kernel.org/pub/scm/linux/kernel…

    …/git/gregkh/usb
    
    Pull USB / Thunderbolt updates from Greg KH:
     "Here is the big set of USB and Thunderbolt patches for 5.14-rc1.
    
      Nothing major here just lots of little changes for new hardware and
      features. Highlights are:
    
       - more USB 4 support added to the thunderbolt core
    
       - build warning fixes all over the place
    
       - usb-serial driver updates and new device support
    
       - mtu3 driver updates
    
       - gadget driver updates
    
       - dwc3 driver updates
    
       - dwc2 driver updates
    
       - isp1760 host driver updates
    
       - musb driver updates
    
       - lots of other tiny things.
    
      Full details are in the shortlog.
    
      All of these have been in linux-next for a while now with no reported
      issues"
    
    * tag 'usb-5.14-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb: (223 commits)
      phy: qcom-qusb2: Add configuration for SM4250 and SM6115
      dt-bindings: phy: qcom,qusb2: document sm4250/6115 compatible
      dt-bindings: usb: qcom,dwc3: Add bindings for sm6115/4250
      USB: cdc-acm: blacklist Heimann USB Appset device
      usb: xhci-mtk: allow multiple Start-Split in a microframe
      usb: ftdi-elan: remove redundant continue statement in a while-loop
      usb: class: cdc-wdm: return the correct errno code
      xhci: remove redundant continue statement
      usb: dwc3: Fix debugfs creation flow
      usb: gadget: hid: fix error return code in hid_bind()
      usb: gadget: eem: fix echo command packet response issue
      usb: gadget: f_hid: fix endianness issue with descriptors
      Revert "USB: misc: Add onboard_usb_hub driver"
      Revert "of/platform: Add stubs for of_platform_device_create/destroy()"
      Revert "usb: host: xhci-plat: Create platform device for onboard hubs in probe()"
      Revert "arm64: dts: qcom: sc7180-trogdor: Add nodes for onboard USB hub"
      xhci: solve a double free problem while doing s4
      xhci: handle failed buffer copy to URB sg list and fix a W=1 copiler warning
      xhci: Add adaptive interrupt rate for isoch TRBs with XHCI_AVOID_BEI quirk
      xhci: Remove unused defines for ERST_SIZE and ERST_ENTRIES
      ...
    torvalds committed Jul 5, 2021
  2. Merge tag 'tty-5.14-rc1' of git://git.kernel.org/pub/scm/linux/kernel…

    …/git/gregkh/tty
    
    Pull tty / serial updates from Greg KH:
     "Here is the big set of tty and serial driver patches for 5.14-rc1.
    
      A bit more than normal, but nothing major, lots of cleanups.
      Highlights are:
    
       - lots of tty api cleanups and mxser driver cleanups from Jiri
    
       - build warning fixes
    
       - various serial driver updates
    
       - coding style cleanups
    
       - various tty driver minor fixes and updates
    
       - removal of broken and disable r3964 line discipline (finally!)
    
      All of these have been in linux-next for a while with no reported
      issues"
    
    * tag 'tty-5.14-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty: (227 commits)
      serial: mvebu-uart: remove unused member nb from struct mvebu_uart
      arm64: dts: marvell: armada-37xx: Fix reg for standard variant of UART
      dt-bindings: mvebu-uart: fix documentation
      serial: mvebu-uart: correctly calculate minimal possible baudrate
      serial: mvebu-uart: do not allow changing baudrate when uartclk is not available
      serial: mvebu-uart: fix calculation of clock divisor
      tty: make linux/tty_flip.h self-contained
      serial: Prefer unsigned int to bare use of unsigned
      serial: 8250: 8250_omap: Fix possible interrupt storm on K3 SoCs
      serial: qcom_geni_serial: use DT aliases according to DT bindings
      Revert "tty: serial: Add UART driver for Cortina-Access platform"
      tty: serial: Add UART driver for Cortina-Access platform
      MAINTAINERS: add me back as mxser maintainer
      mxser: Documentation, fix typos
      mxser: Documentation, make the docs up-to-date
      mxser: Documentation, remove traces of callout device
      mxser: introduce mxser_16550A_or_MUST helper
      mxser: rename flags to old_speed in mxser_set_serial_info
      mxser: use port variable in mxser_set_serial_info
      mxser: access info->MCR under info->slock
      ...
    torvalds committed Jul 5, 2021
  3. Merge tag 'staging-5.14-rc1' of git://git.kernel.org/pub/scm/linux/ke…

    …rnel/git/gregkh/staging
    
    Pull staging / IIO driver updates from Greg KH:
     "Here is the big set of IIO and staging driver patches for 5.14-rc1.
    
      Loads of IIO driver updates and additions in here, the shortlog has
      the full details.
    
      For the staging side, we moved a few drivers out of staging, and
      deleted the kpc2000 drivers as the original developer asked us to
      because no one was working on them anymore.
    
      Also in here are loads of coding style cleanups due to different
      intern projects focusing on the staging tree to try to get experience
      doing kernel development.
    
      All of these have been in the linux-next tree for a while with no
      reported problems"
    
    * tag 'staging-5.14-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging: (744 commits)
      staging: hi6421-spmi-pmic: cleanup some macros
      staging: hi6421-spmi-pmic: change identation of a table
      staging: hi6421-spmi-pmic: change a return code
      staging: hi6421-spmi-pmic: better name IRQs
      staging: hi6421-spmi-pmic: use devm_request_threaded_irq()
      staging: hisilicon,hi6421-spmi-pmic.yaml: cleanup descriptions
      spmi: hisi-spmi-controller: move driver from staging
      phy: phy-hi3670-usb3: move driver from staging into phy
      staging: rtl8188eu: remove include/rtw_debug.h header
      staging: rtl8188eu: remove GlobalDebugLevel variable
      staging: rtl8188eu: remove DRIVER_PREFIX preprocessor definition
      staging: rtl8188eu: remove RT_TRACE macro
      staging: rtl8188eu: remove all RT_TRACE calls from hal/rtl8188eu_recv.c
      staging: rtl8188eu: remove all RT_TRACE calls from hal/hal_intf.c
      staging: rtl8188eu: remove all RT_TRACE calls from hal/rtl8188eu_xmit.c
      staging: rtl8188eu: remove all RT_TRACE calls from core/rtw_xmit.c
      staging: rtl8188eu: remove all RT_TRACE calls from core/rtw_pwrctrl.c
      staging: rtl8188eu: remove all RT_TRACE calls from core/rtw_recv.c
      staging: rtl8188eu: remove all RT_TRACE calls from core/rtw_ioctl_set.c
      staging: rtl8188eu: remove all RT_TRACE calls from core/rtw_ieee80211.c
      ...
    torvalds committed Jul 5, 2021
  4. Merge tag 'driver-core-5.14-rc1' of git://git.kernel.org/pub/scm/linu…

    …x/kernel/git/gregkh/driver-core
    
    Pull driver core changes from Greg KH:
     "Here is the small set of driver core and debugfs updates for 5.14-rc1.
    
      Included in here are:
    
       - debugfs api cleanups (touched some drivers)
    
       - devres updates
    
       - tiny driver core updates and tweaks
    
      Nothing major in here at all, and all have been in linux-next for a
      while with no reported issues"
    
    * tag 'driver-core-5.14-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core: (27 commits)
      docs: ABI: testing: sysfs-firmware-memmap: add some memmap types.
      devres: Enable trace events
      devres: No need to call remove_nodes() when there none present
      devres: Use list_for_each_safe_from() in remove_nodes()
      devres: Make locking straight forward in release_nodes()
      kernfs: move revalidate to be near lookup
      drivers/base: Constify static attribute_group structs
      firmware_loader: remove unneeded 'comma' macro
      devcoredump: remove contact information
      driver core: Drop helper devm_platform_ioremap_resource_wc()
      component: Rename 'dev' to 'parent'
      component: Drop 'dev' argument to component_match_realloc()
      device property: Don't check for NULL twice in the loops
      driver core: auxiliary bus: Fix typo in the docs
      drivers/base/node.c: make CACHE_ATTR define static DEVICE_ATTR_RO
      debugfs: remove return value of debugfs_create_ulong()
      debugfs: remove return value of debugfs_create_bool()
      scsi: snic: debugfs: remove local storage of debugfs files
      b43: don't save dentries for debugfs
      b43legacy: don't save dentries for debugfs
      ...
    torvalds committed Jul 5, 2021
  5. Merge tag 'char-misc-5.14-rc1' of git://git.kernel.org/pub/scm/linux/…

    …kernel/git/gregkh/char-misc
    
    Pull char / misc driver updates from Greg KH:
     "Here is the big set of char / misc and other driver subsystem updates
      for 5.14-rc1. Included in here are:
    
       - habanalabs driver updates
    
       - fsl-mc driver updates
    
       - comedi driver updates
    
       - fpga driver updates
    
       - extcon driver updates
    
       - interconnect driver updates
    
       - mei driver updates
    
       - nvmem driver updates
    
       - phy driver updates
    
       - pnp driver updates
    
       - soundwire driver updates
    
       - lots of other tiny driver updates for char and misc drivers
    
      This is looking more and more like the "various driver subsystems
      mushed together" tree...
    
      All of these have been in linux-next for a while with no reported
      issues"
    
    * tag 'char-misc-5.14-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc: (292 commits)
      mcb: Use DEFINE_RES_MEM() helper macro and fix the end address
      PNP: moved EXPORT_SYMBOL so that it immediately followed its function/variable
      bus: mhi: pci-generic: Add missing 'pci_disable_pcie_error_reporting()' calls
      bus: mhi: Wait for M2 state during system resume
      bus: mhi: core: Fix power down latency
      intel_th: Wait until port is in reset before programming it
      intel_th: msu: Make contiguous buffers uncached
      intel_th: Remove an unused exit point from intel_th_remove()
      stm class: Spelling fix
      nitro_enclaves: Set Bus Master for the NE PCI device
      misc: ibmasm: Modify matricies to matrices
      misc: vmw_vmci: return the correct errno code
      siox: Simplify error handling via dev_err_probe()
      fpga: machxo2-spi: Address warning about unused variable
      lkdtm/heap: Add init_on_alloc tests
      selftests/lkdtm: Enable various testable CONFIGs
      lkdtm: Add CONFIG hints in errors where possible
      lkdtm: Enable DOUBLE_FAULT on all architectures
      lkdtm/heap: Add vmalloc linear overflow test
      lkdtm/bugs: XFAIL UNALIGNED_LOAD_STORE_WRITE
      ...
    torvalds committed Jul 5, 2021
  6. Merge tag 'backlight-next-5.14' of git://git.kernel.org/pub/scm/linux…

    …/kernel/git/lee/backlight
    
    Pull backlight updates from Lee Jones:
     "New Drivers:
       - Add support for Richtek RT4831 Backlight
    
      New Device Support:
       - Add support for Qualcomm PMI8994 WLED Backlight
    
      Fix-ups:
       - Device Tree adaptions to richtek,rt4831-backlight
       - Trivial spelling, whitespace, etc in Kconfig
       - Use Atomic PWM API in lm3630a_bl
    
      Bug Fixes:
       - Fix Firmware Node Leak in error path in lm3630a_bl
       - Fix erroneous return codes in lm3630a_bl"
    
    * tag 'backlight-next-5.14' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/backlight:
      backlight: lm3630a: Convert to atomic PWM API and check for errors
      backlight: lm3630a: Fix return code of .update_status() callback
      backlight: Kconfig whitespace and indentation cleanups
      video: backlight: qcom-wled: Add PMI8994 compatible
      backlight: rt4831: Adds support for Richtek RT4831 backlight
      backlight: rt4831: Adds DT binding document for Richtek RT4831 backlight
      backlight: lm3630a_bl: Put fwnode in error case during ->probe()
    torvalds committed Jul 5, 2021
  7. Merge tag 'mfd-next-5.14' of git://git.kernel.org/pub/scm/linux/kerne…

    …l/git/lee/mfd
    
    Pull mfd updates from Lee Jones:
     "Core Frameworks:
       - Fix Software Node clean-up code
    
      New Drivers:
       - Add support for MediaTek MT6359 PMIC
       - Add support for Qualcomm PM8008 PMIC
       - Add support for Richtek RT4831
    
      New Device Support:
       - Add support for Audio CODECs to Rockchip RK817
       - Add support for Alder Lake-M to Intel LPSS PCI
       - Add support for Periph Device Charge to ChromeOS EC
    
      New Functionality:
       - Provide additional IRQs for wcd934x
       - Add optional Reset functionality to lp87565
    
      Fix-ups:
       - Namespacing & visibility fixes to lp87565
       - Differentiate between Power and Home key IRQs in mt6358
       - Export I2C device tables in da9052-i2c, stmpe-i2c
       - Adapt IRQ flags in max8907, rn5t61, max8907
       - Make some functions/devices optional in axp20x, cros_ec_dev
       - Explicitly include used header files in ioc3
       - Remove superfluous lines in MAINTAINERS, sec-core, st,stm32-timers
       - Resolve Kerneldoc issues in omap-usb-host, omap-usb-tll, si476x-cmd, si476x-i2c
       - Convert arizona-core to a module
       - Copyright changes in hi655x-pmic
       - Drop support for board file initialisation in sec-core
       - Trivial spelling, whitespace etc updates in lp87565, si476x-cmd,
         mt6360-core, wm831x-core, twl-core, db8500-prcmu
       - Simplify various implementations of wcd934x, mt6360-core, max8997,
         max8998, da9052-i2c, da9062-core, sec-core,
       - Device Tree binding changes in google,cros-ec,
         richtek,rt4831-backlight, db8500-prcmu, qcom,pm8008, qcom,spmi-pmic
       - Use provided APIs to simplify t7l66xb, as3722, da9055-core,
         tps80031, 88pm800, 88pm805, asic3, sun6i-prcm, wm831x-core,
         wm831x-otp, ucb1x00-assabet, timberdale, sm501, pcf50633-core,
         kempld-core, janz-cmodio, intel_soc_pmic_bxtwc, ab8500-core
    
      Bug Fixes:
       - Fix unused variable warning in rk817_codec
       - Fix regulator voltage configuration in rohm-bd71828
       - Fix ongoing freeing of regmap_config 'name' issue in syscon
       - Fix error handling path in da9063-i2c
       - Fix Kconfig issues in MFD_MP2629
       - Fix DMA mask warnings in motorola-cpcap"
    
    * tag 'mfd-next-5.14' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd: (83 commits)
      mfd: cros_ec: Add peripheral device charger
      mfd: max8907: Remove IRQF_NO_AUTOEN flag
      mfd: ab8500-core: Use DEVICE_ATTR_RO/RW macro
      mfd: intel_soc_pmic_bxtwc: Use DEVICE_ATTR_ADMIN_RW macro
      mfd: janz-cmodio: Use DEVICE_ATTR_RO macro
      mfd: kempld-core: Use DEVICE_ATTR_RO macro
      mfd: pcf50633: Use DEVICE_ATTR_ADMIN_RO macro
      mfd: sm501: Use DEVICE_ATTR_RO macro
      mfd: timberdale: Use DEVICE_ATTR_RO macro
      mfd: ucb1x00-assabet: Use DEVICE_ATTR_RO macro
      mfd: wm831x: Use DEVICE_ATTR_RO macro
      mfd: wm831x: Use DEFINE_RES_IRQ_NAMED() and DEFINE_RES_IRQ() to simplify code
      dt-bindings: mfd: stm32-timers: Remove #address/size cells from required properties
      mfd: sun6i-prcm: Use DEFINE_RES_MEM() to simplify code
      mfd: asic3: Use DEFINE_RES_MEM() and DEFINE_RES_IRQ() to simplify code
      mfd: 88pm805: Use DEFINE_RES_IRQ_NAMED() to simplify code
      mfd: 88pm800: Use DEFINE_RES_IRQ_NAMED() to simplify code
      mfd: tps80031: Use DEFINE_RES_IRQ() to simplify code
      mfd: da9055: Use DEFINE_RES_IRQ_NAMED() to simplify code
      mfd: as3722: Use DEFINE_RES_IRQ_NAMED() to simplify code
      ...
    torvalds committed Jul 5, 2021
  8. Merge tag 'dmaengine-5.14-rc1' of git://git.kernel.org/pub/scm/linux/…

    …kernel/git/vkoul/dmaengine
    
    Pull dmaengine updates from Vinod Koul:
     "This time around we have a smaller pull request than usual and this
      includes code removal, so should be good!
    
      New drivers/devices
       - Support for QCOM SM8250 GPI DMA
       - removal of shdma-of driver and binding
    
      Updates:
       - arm-pl08x yaml binding move
       - altera-msgdma gained DT support
       - removal of imx-sdma platform data support
       - idxd and xilinx driver updates"
    
    * tag 'dmaengine-5.14-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/vkoul/dmaengine: (22 commits)
      dmaengine: imx-sdma: Remove platform data header
      dmaengine: xilinx: dpdma: Fix spacing around addr[i-1]
      dmaengine: xilinx: dpdma: Use kernel type u32 over uint32_t
      dmaengine: altera-msgdma: add OF support
      MAINTAINERS: add entry for Altera mSGDMA
      dt-bindings: dma: add schema for altera-msgdma
      dmaengine: xilinx: dpdma: fix kernel-doc
      dmaengine: sf-pdma: apply proper spinlock flags in sf_pdma_prep_dma_memcpy()
      dmaengine: sh: Remove unused shdma-of driver
      dt-bindings: dmaengine: Remove SHDMA Device Tree bindings
      dmaengine: qcom: gpi: Add SM8250 compatible
      dt-bindings: dmaengine: qcom: gpi: add compatible for sm8250
      dmaengine: sun4i: Use list_move_tail instead of list_del/list_add_tail
      dmaengine: ti: omap-dma: Skip pointless cpu_pm context restore on errors
      dmaengine: hsu: Account transferred bytes
      dmaengine: Move kdoc description of struct dma_chan_percpu closer to it
      dmaengine: xilinx: dpdma: Print debug message when losing vsync race
      dmaengine: xilinx: dpdma: Print channel number in kernel log messages
      dt-bindings: dma: convert arm-pl08x to yaml
      dmaengine: idxd: remove devm allocation for idxd->int_handles
      ...
    torvalds committed Jul 5, 2021
  9. Merge tag 'mmc-v5.14-2' of git://git.kernel.org/pub/scm/linux/kernel/…

    …git/ulfh/mmc
    
    Pull MMC fixes from Ulf Hansson
     "MMC core:
       - Clear flags before allowing to retune
    
      MMC host:
       - sdhci: Clear unused bounce buffer at DMA mmap error path
       - sdhci: Fix warning message when accessing RPMB in HS400 mode
       - sdhci-of-arasan: Use clock-frequency property to update clk_xin
       - mtk-sd: Fixup compatible string for MT8195"
    
    * tag 'mmc-v5.14-2' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc:
      mmc: sdhci: Fix warning message when accessing RPMB in HS400 mode
      dt-bindings: mmc: change compatiable string for MT8195 mmc host IP
      mmc: sdhci: Clear unused bounce buffer at DMA mmap error path
      phy: intel: Fix for warnings due to EMMC clock 175Mhz change in FIP
      mmc: sdhci-of-arasan: Use clock-frequency property to update clk_xin
      mmc: core: clear flags before allowing to retune
    torvalds committed Jul 5, 2021
  10. Merge tag 'gpio-updates-for-v5.14' of git://git.kernel.org/pub/scm/li…

    …nux/kernel/git/brgl/linux
    
    Pull gpio updates from Bartosz Golaszewski:
     "One new driver, support for new models in existing ones, dt-bindings
      conversions for several modules and improvements all over the place.
    
      Summary:
    
       - new driver for the IDT 79RC3243x GPIO controller
    
       - device tree bindings coversion to YAML for the following drivers:
         gpio-rk3328-grf, gpio-omap, gpio-davinci, gpio-zynq, gpio-stp,
         gpio-pcf857x
    
       - cleanup of probe functions in many drivers from Alexandru Ardelean,
         mostly dropping unnecessary calls to platform_set_drvdata() and
         removing error messages where none are needed (handled by the
         subsystem already)
    
       - several improvements to the core gpiolib and the sysfs interface
         code from Andy Shevchenko
    
       - conversion of the gpio-xilinx driver to using the bitmap API +
         improvements of suspend/resume handling + minor tweaks
    
       - convert the gpio-stmpe to using devres helpers exclusively in probe
         for improved robustness
    
       - updates for the generic gpio-regmap driver
    
       - updates for the gpio-dwapb driver
    
       - support for a new model in gpio-pca953x
    
       - cleanups in gpio-tegra186, gpio-104-idio-16, gpio-mxs & gpio-xgene
    
       - slight code refactoring of the gpio-zynq driver
    
       - documentation fixes from Mauro Carvalho Chehab
    
       - a bunch of minor tweaks and improvements all over the place"
    
    * tag 'gpio-updates-for-v5.14' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux: (57 commits)
      docs: driver-api: gpio: using-gpio.rst: avoid using ReST :doc:`foo` markup
      dt-bindings: gpio: pcf857x: Convert to json-schema
      gpio: mxs: Prefer unsigned int to bare use of unsigned
      dt-bindings: gpio: stp: convert to json-schema
      dt-bindings: gpio: zynq: convert bindings to YAML
      dt-bindings: gpio: gpio-davinci: Convert to json-schema
      gpio: pca953x: Add support for the On Semi pca9655
      gpio: gpio-xilinx: update on suspend and resume calls
      gpio: zynq: Check return value of irq_get_irq_data
      gpio: zynq: Check return value of pm_runtime_get_sync
      gpio: zynq: use module_platform_driver to simplify the code
      gpio: idt3243x: Fix return value check in idt_gpio_probe()
      MAINTAINERS: update ti,omap-gpio.yaml reference
      dt-bindings: gpio: Add devicetree binding for IDT 79RC32434 GPIO controller
      gpio: Add support for IDT 79RC3243x GPIO controller
      gpio: regmap: move drvdata to config data
      gpio-dwapb: Drop unused headers and sort the rest
      gpio: gpio-regmap: Use devm_add_action_or_reset()
      gpio: dwapb: Switch to use fwnode_irq_get()
      gpio: dwapb: Drop redundant check in dwapb_irq_set_type()
      ...
    torvalds committed Jul 5, 2021
  11. Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel…

    …/git/dtor/input
    
    Pull input updates from Dmitry Torokhov:
    
     - a new driver for SparkFun Qwiic Joystick
    
     - pm8941-pwrkey driver now supports PMK8350
    
     - a bunch of assorted driver fixes
    
    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input: (44 commits)
      Input: joydev - prevent use of not validated data in JSIOCSBTNMAP ioctl
      Input: hideep - fix the uninitialized use in hideep_nvm_unlock()
      Input: trackpoint - use kobj_to_dev()
      Input: atkbd - use kobj_to_dev()
      Input: tsc200x-core - use kobj_to_dev()
      Input: ims-pcu - use kobj_to_dev()
      Input: cros_ec_keyb - use kobj_to_dev() API
      dt-bindings: input: touchscreen: st1232: Convert to json-schema
      Input: i8042 - fix typos in comments
      Input: add SparkFun Qwiic Joystick driver
      dt-bindings: Add vendor prefix and bindings for Qwiic Joystick
      Input: cy8ctmg110_ts - switch to using gpiod API
      Input: cy8ctmg110_ts - switch to using managed resources
      Input: cy8ctmg110_ts - use endian helpers when converting data on wire
      Input: cy8ctmg110_ts - let I2C core configure wake interrupt
      Input: cy8ctmg110_ts - do not hardcode as wakeup source
      Input: cy8ctmg110_ts - do not hard code interrupt trigger
      Input: cy8ctmg110_ts - rely on platform code to supply interrupt
      Input: resistive-adc-touch - fix uninitialized variable 'press'
      Input: pm8941-pwrkey - add support for PMK8350 PON_HLOS PMIC peripheral
      ...
    torvalds committed Jul 5, 2021
  12. Merge tag 'mtd/for-5.14' of git://git.kernel.org/pub/scm/linux/kernel…

    …/git/mtd/linux
    
    Pull MTD updates from Richard Weinberger:
     "MTD core changes:
       - Convert list_for_each to entry variant
       - Use MTD_DEVICE_ATTR_RO/RW() helper macros
       - Remove unnecessary OOM messages
       - Potential NULL dereference in mtd_otp_size()
       - Fix freeing of otp_info buffer
       - Create partname and partid debug files for child MTDs
       - tests:
          - Remove redundant assignment to err
          - Fix error return code in mtd_oobtest_init()
       - Add OTP NVMEM provider support
       - Allow specifying of_node
       - Convert sysfs sprintf/snprintf family to sysfs_emit
    
      Bindings changes:
       - Convert ti,am654-hbmc.txt to YAML schema
       - spi-nor: add otp property
       - Add OTP bindings
       - add YAML schema for the generic MTD bindings
       - Add brcm,trx-magic
    
      MTD device drivers changes:
       - Add support for microchip 48l640 EERAM
       - Remove superfluous "break"
       - sm_ftl:
          - Fix alignment of block comment
       - nftl:
          - Return -ENOMEM when kmalloc failed
       - nftlcore:
          - Remove set but rewrite variables
       - phram:
          - Fix error return code in phram_setup()
       - plat-ram:
          - Remove redundant dev_err call in platram_probe()
    
      MTD parsers changes:
       - Qcom:
          - Fix leaking of partition name
       - Redboot:
          - Fix style issues
          - Seek fis-index-block in the right node
       - trx:
          - Allow to use TRX parser on Mediatek SoCs
          - Allow to specify brcm, trx-magic in DT
    
      Raw NAND core:
       - Allow SDR timings to be nacked
       - Bring support for NV-DDR timings which involved a number of small
         preparation changes to bring new helpers, properly introduce NV-DDR
         structures, fill them, differenciate them and pick the best timing
         set.
       - Add the necessary infrastructure to parse the new gpio-cs property
         which aims at enlarging the number of available CS when a hardware
         controller is too constrained.
       - Update dead URL
       - Silence static checker warning in nand_setup_interface()
       - BBT:
          - Fix corner case in bad block table handling
       - onfi:
          - Use more recent ONFI specification wording
          - Use the BIT() macro when possible
    
      Raw NAND controller drivers:
       - Atmel:
          - Ensure the data interface is supported.
       - Arasan:
          - Finer grain NV-DDR configuration
          - Rename the data interface register
          - Use the right DMA mask
          - Leverage additional GPIO CS
          - Ensure proper configuration for the asserted target
          - Add support for the NV-DDR interface
          - Fix a macro parameter
       - brcmnand:
          - Convert bindings to json-schema
       - OMAP:
          - Various fixes and style improvements
          - Add larger page NAND chips support
       - PL35X:
          - New driver
       - QCOM:
          - Avoid writing to obsolete register
          - Delete an unneeded bool conversion
          - Allow override of partition parser
       - Marvell:
          - Minor documentation correction
          - Add missing clk_disable_unprepare() on error in
            marvell_nfc_resume()
       - R852:
          - Use DEVICE_ATTR_RO() helper macro
       - MTK:
          - Remove redundant dev_err call in mtk_ecc_probe()
       - HISI504:
          - Remove redundant dev_err call in probe
    
      SPI-NAND core:
       - Light reorganisation for the introduction of a core resume handler
       - Fix double counting of ECC stats
    
      SPI-NAND manufacturer drivers:
       - Macronix:
          - Add support for serial NAND flash
    
      SPI NOR core changes:
       - Ability to dump SFDP tables via sysfs
       - Support for erasing OTP regions on Winbond and similar flashes
       - Few API doc updates and fixes
       - Locking support for MX25L12805D
    
      SPI NOR controller drivers changes:
       - Use SPI_MODE_X_MASK in nxp-spifi
       - Intel Alder Lake-M SPI serial flash support"
    
    * tag 'mtd/for-5.14' of git://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux: (125 commits)
      mtd: spi-nor: remove redundant continue statement
      mtd: rawnand: omap: Add larger page NAND chips support
      mtd: rawnand: omap: Various style fixes
      mtd: rawnand: omap: Check return values
      mtd: rawnand: omap: Rename a macro
      mtd: rawnand: omap: Aggregate the HW configuration of the ELM
      mtd: rawnand: pl353: Add support for the ARM PL353 SMC NAND controller
      dt-bindings: mtd: pl353-nand: Describe this hardware controller
      MAINTAINERS: Add PL353 NAND controller entry
      mtd: rawnand: qcom: avoid writing to obsolete register
      mtd: rawnand: marvell: Minor documentation correction
      mtd: rawnand: r852: use DEVICE_ATTR_RO() helper macro
      mtd: spinand: add SPI-NAND MTD resume handler
      mtd: spinand: Add spinand_init_flash() helper
      mtd: spinand: add spinand_read_cfg() helper
      mtd: rawnand: marvell: add missing clk_disable_unprepare() on error in marvell_nfc_resume()
      mtd: rawnand: arasan: Finer grain NV-DDR configuration
      mtd: rawnand: arasan: Rename the data interface register
      mtd: rawnand: onfi: Fix endianness when reading NV-DDR values
      mtd: rawnand: arasan: Use the right DMA mask
      ...
    torvalds committed Jul 5, 2021
  13. Merge tag 'm68knommu-for-v5.14' of git://git.kernel.org/pub/scm/linux…

    …/kernel/git/gerg/m68knommu
    
    Pull m68knommu update from Greg Ungerer:
     "Fix fix missing LCD splash screen data initializer"
    
    * tag 'm68knommu-for-v5.14' of git://git.kernel.org/pub/scm/linux/kernel/git/gerg/m68knommu:
      m68knommu: fix missing LCD splash screen data initializer
    torvalds committed Jul 5, 2021
  14. ARM: 9098/1: ftrace: MODULE_PLT: Fix build problem without DYNAMIC_FT…

    …RACE
    
    FTRACE_ADDR is only defined when CONFIG_DYNAMIC_FTRACE is defined, the
    latter is even stronger requirement than CONFIG_FUNCTION_TRACER (which is
    enough for MCOUNT_ADDR).
    
    Link: https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org/thread/ZUVCQBHDMFVR7CCB7JPESLJEWERZDJ3T/
    
    Fixes: 1f12fb2 ("ARM: 9079/1: ftrace: Add MODULE_PLTS support")
    Reported-by: kernel test robot <lkp@intel.com>
    Signed-off-by: Alexander Sverdlin <alexander.sverdlin@nokia.com>
    Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
    asverdlin authored and Russell King (Oracle) committed Jul 5, 2021
  15. Merge branch 'next' into for-linus

    Prepare input updates for 5.14 merge window.
    dtor committed Jul 5, 2021
  16. Input: joydev - prevent use of not validated data in JSIOCSBTNMAP ioctl

    Even though we validate user-provided inputs we then traverse past
    validated data when applying the new map. The issue was originally
    discovered by Murray McAllister with this simple POC (if the following
    is executed by an unprivileged user it will instantly panic the system):
    
    int main(void) {
    	int fd, ret;
    	unsigned int buffer[10000];
    
    	fd = open("/dev/input/js0", O_RDONLY);
    	if (fd == -1)
    		printf("Error opening file\n");
    
    	ret = ioctl(fd, JSIOCSBTNMAP & ~IOCSIZE_MASK, &buffer);
    	printf("%d\n", ret);
    }
    
    The solution is to traverse internal buffer which is guaranteed to only
    contain valid date when constructing the map.
    
    Fixes: 182d679 ("Input: joydev - prevent potential read overflow in ioctl")
    Fixes: 999b874 ("Input: joydev - validate axis/button maps before clobbering current ones")
    Reported-by: Murray McAllister <murray.mcallister@gmail.com>
    Suggested-by: Linus Torvalds <torvalds@linux-foundation.org>
    Signed-off-by: Alexander Larkin <avlarkin82@gmail.com>
    Link: https://lore.kernel.org/r/20210620120030.1513655-1-avlarkin82@gmail.com
    Cc: stable@vger.kernel.org
    Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
    avlarkin authored and dtor committed Jul 5, 2021

Commits on Jul 4, 2021

  1. iov_iter: remove uaccess_kernel() warning from iov_iter_init()

    This warning was there to catch any architectures that still use
    CONFIG_SET_FS, and that would mis-use iov_iter_init() for anything that
    wasn't a proper user space pointer.  So that
    
            WARN_ON_ONCE(uaccess_kernel());
    
    makes perfect conceptual sense: you really shouldn't use a kernel
    pointer with set_fs(KERNEL_DS) and then pass it to iov_iter_init().
    
    HOWEVER.
    
    Guenter Roeck reports that this warning actually triggers in no-mmu
    configurations of both ARM and m68k.  And the reason isn't that they
    pass in a kernel pointer under set_fs(KERNEL_DS) at all: the reason is
    that in those configurations, "uaccess_kernel()" is simply not reliable.
    
    Those no-mmu setups set USER_DS and KERNEL_DS to the same values, so you
    can't test for the difference.
    
    In particular, the no-mmu case for ARM does
    
       #define USER_DS                 KERNEL_DS
       #define uaccess_kernel()        (true)
    
    so USER_DS and KERNEL_DS have the same value, and uaccess_kernel() is
    always trivially true.
    
    The m68k case is slightly different and not quite as obvious.  It does
    (spread out over multiple header files just to be extra exciting:
    asm/processor.h, asm/segment.h and asm-generic/uaccess.h):
    
       #define TASK_SIZE       (0xFFFFFFFFUL)
       #define USER_DS         MAKE_MM_SEG(TASK_SIZE)
       #define KERNEL_DS       MAKE_MM_SEG(~0UL)
       #define get_fs()        (current_thread_info()->addr_limit)
       #define uaccess_kernel() (get_fs().seg == KERNEL_DS.seg)
    
    but the end result is the same: uaccess_kernel() will always be true,
    because USER_DS and KERNEL_DS end up having the same value, even if that
    value is defined differently.
    
    This is very arguably a misfeature in those implementations, but in the
    end we don't really care.  All modern architectures have gotten rid of
    set_fs() already, and generic kernel code never uses it.  And while the
    sanity check was a nice idea, an architecture would have to go the extra
    mile to actually break this.
    
    So this well-intentioned warning isn't really all that likely to find
    anything but these known false positives, and as such just isn't worth
    maintaining.
    
    Reported-by: Guenter Roeck <linux@roeck-us.net>
    Fixes: 8cd54c1 ("iov_iter: separate direction from flavour")
    Cc: Matthew Wilcox <willy@infradead.org>
    Cc: Al Viro <viro@zeniv.linux.org.uk>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    torvalds committed Jul 4, 2021
  2. Merge branch 'core-rcu-2021.07.04' of git://git.kernel.org/pub/scm/li…

    …nux/kernel/git/paulmck/linux-rcu
    
    Pull RCU updates from Paul McKenney:
    
     - Bitmap parsing support for "all" as an alias for all bits
    
     - Documentation updates
    
     - Miscellaneous fixes, including some that overlap into mm and lockdep
    
     - kvfree_rcu() updates
    
     - mem_dump_obj() updates, with acks from one of the slab-allocator
       maintainers
    
     - RCU NOCB CPU updates, including limited deoffloading
    
     - SRCU updates
    
     - Tasks-RCU updates
    
     - Torture-test updates
    
    * 'core-rcu-2021.07.04' of git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu: (78 commits)
      tasks-rcu: Make show_rcu_tasks_gp_kthreads() be static inline
      rcu-tasks: Make ksoftirqd provide RCU Tasks quiescent states
      rcu: Add missing __releases() annotation
      rcu: Remove obsolete rcu_read_unlock() deadlock commentary
      rcu: Improve comments describing RCU read-side critical sections
      rcu: Create an unrcu_pointer() to remove __rcu from a pointer
      srcu: Early test SRCU polling start
      rcu: Fix various typos in comments
      rcu/nocb: Unify timers
      rcu/nocb: Prepare for fine-grained deferred wakeup
      rcu/nocb: Only cancel nocb timer if not polling
      rcu/nocb: Delete bypass_timer upon nocb_gp wakeup
      rcu/nocb: Cancel nocb_timer upon nocb_gp wakeup
      rcu/nocb: Allow de-offloading rdp leader
      rcu/nocb: Directly call __wake_nocb_gp() from bypass timer
      rcu: Don't penalize priority boosting when there is nothing to boost
      rcu: Point to documentation of ordering guarantees
      rcu: Make rcu_gp_cleanup() be noinline for tracing
      rcu: Restrict RCU_STRICT_GRACE_PERIOD to at most four CPUs
      rcu: Make show_rcu_gp_kthreads() dump rcu_node structures blocking GP
      ...
    torvalds committed Jul 4, 2021
  3. Merge branch 'lkmm.2021.05.10c' of git://git.kernel.org/pub/scm/linux…

    …/kernel/git/paulmck/linux-rcu
    
    Pull lkmm fixlet from Paul E McKenney.
    
    Fix missing underscore in Linux-kernel memory model docs.
    
    * 'lkmm.2021.05.10c' of git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu:
      tools/memory-model: Fix smp_mb__after_spinlock() spelling
    torvalds committed Jul 4, 2021
  4. Merge branch 'kcsan.2021.05.18a' of git://git.kernel.org/pub/scm/linu…

    …x/kernel/git/paulmck/linux-rcu
    
    Pull KCSAN updates from Paul McKenney.
    
    * 'kcsan.2021.05.18a' of git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu:
      kcsan: Use URL link for pointing access-marking.txt
      kcsan: Document "value changed" line
      kcsan: Report observed value changes
      kcsan: Remove kcsan_report_type
      kcsan: Remove reporting indirection
      kcsan: Refactor access_info initialization
      kcsan: Fold panic() call into print_report()
      kcsan: Refactor passing watchpoint/other_info
      kcsan: Distinguish kcsan_report() calls
      kcsan: Simplify value change detection
      kcsan: Add pointer to access-marking.txt to data_race() bullet
    torvalds committed Jul 4, 2021
  5. Merge tag 'memblock-v5.14-rc1' of git://git.kernel.org/pub/scm/linux/…

    …kernel/git/rppt/memblock
    
    Pull memblock updates from Mike Rapoport:
     "Fix arm crashes caused by holes in the memory map.
    
      The coordination between freeing of unused memory map, pfn_valid() and
      core mm assumptions about validity of the memory map in various ranges
      was not designed for complex layouts of the physical memory with a lot
      of holes all over the place.
    
      Kefen Wang reported crashes in move_freepages() on a system with the
      following memory layout [1]:
    
    	node 0: [mem 0x0000000080a00000-0x00000000855fffff]
    	node 0: [mem 0x0000000086a00000-0x0000000087dfffff]
    	node 0: [mem 0x000000008bd00000-0x000000008c4fffff]
    	node 0: [mem 0x000000008e300000-0x000000008ecfffff]
    	node 0: [mem 0x0000000090d00000-0x00000000bfffffff]
    	node 0: [mem 0x00000000cc000000-0x00000000dc9fffff]
    	node 0: [mem 0x00000000de700000-0x00000000de9fffff]
    	node 0: [mem 0x00000000e0800000-0x00000000e0bfffff]
    	node 0: [mem 0x00000000f4b00000-0x00000000f6ffffff]
    	node 0: [mem 0x00000000fda00000-0x00000000ffffefff]
    
      These crashes can be mitigated by enabling CONFIG_HOLES_IN_ZONE on ARM
      and essentially turning pfn_valid_within() to pfn_valid() instead of
      having it hardwired to 1 on that architecture, but this would require
      to keep CONFIG_HOLES_IN_ZONE solely for this purpose.
    
      A cleaner approach is to update ARM's implementation of pfn_valid() to
      take into accounting rounding of the freed memory map to pageblock
      boundaries and make sure it returns true for PFNs that have memory map
      entries even if there is no physical memory backing those PFNs"
    
    Link: https://lore.kernel.org/lkml/2a1592ad-bc9d-4664-fd19-f7448a37edc0@huawei.com [1]
    
    * tag 'memblock-v5.14-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rppt/memblock:
      arm: extend pfn_valid to take into account freed memory map alignment
      memblock: ensure there is no overflow in memblock_overlaps_region()
      memblock: align freed memory map on pageblock boundaries with SPARSEMEM
      memblock: free_unused_memmap: use pageblock units instead of MAX_ORDER
    torvalds committed Jul 4, 2021
  6. Merge tag 's390-5.14-1' of git://git.kernel.org/pub/scm/linux/kernel/…

    …git/s390/linux
    
    Pull s390 updates from Vasily Gorbik:
    
     - Rework inline asm to get rid of error prone "register asm"
       constructs, which are problematic especially when code
       instrumentation is enabled.
    
       In particular introduce and use register pair union to allocate
       even/odd register pairs. Unfortunately this breaks compatibility with
       older clang compilers and minimum clang version for s390 has been
       raised to 13.
    
         https://lore.kernel.org/linux-next/CAK7LNARuSmPCEy-ak0erPrPTgZdGVypBROFhtw+=3spoGoYsyw@mail.gmail.com/
    
     - Fix gcc 11 warnings, which triggered various minor reworks all over
       the code.
    
     - Add zstd kernel image compression support.
    
     - Rework boot CPU lowcore handling.
    
     - De-duplicate and move kernel memory layout setup logic earlier.
    
     - Few fixes in preparation for FORTIFY_SOURCE performing compile-time
       and run-time field bounds checking for mem functions.
    
     - Remove broken and unused power management support leftovers in s390
       drivers.
    
     - Disable stack-protector for decompressor and purgatory to fix
       buildroot build.
    
     - Fix vt220 sclp console name to match the char device name.
    
     - Enable HAVE_IOREMAP_PROT and add zpci_set_irq()/zpci_clear_irq() in
       zPCI code.
    
     - Remove some implausible WARN_ON_ONCEs and remove arch specific
       counter transaction call backs in favour of default transaction
       handling in perf code.
    
     - Extend/add new uevents for online/config/mode state changes of AP
       card / queue device in zcrypt.
    
     - Minor entry and ccwgroup code improvements.
    
     - Other small various fixes and improvements all over the code.
    
    * tag 's390-5.14-1' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux: (91 commits)
      s390/dasd: use register pair instead of register asm
      s390/qdio: get rid of register asm
      s390/ioasm: use symbolic names for asm operands
      s390/ioasm: get rid of register asm
      s390/cmf: get rid of register asm
      s390/lib,string: get rid of register asm
      s390/lib,uaccess: get rid of register asm
      s390/string: get rid of register asm
      s390/cmpxchg: use register pair instead of register asm
      s390/mm,pages-states: get rid of register asm
      s390/lib,xor: get rid of register asm
      s390/timex: get rid of register asm
      s390/hypfs: use register pair instead of register asm
      s390/zcrypt: Switch to flexible array member
      s390/speculation: Use statically initialized const for instructions
      virtio/s390: get rid of open-coded kvm hypercall
      s390/pci: add zpci_set_irq()/zpci_clear_irq()
      scripts/min-tool-version.sh: Raise minimum clang version to 13.0.0 for s390
      s390/ipl: use register pair instead of register asm
      s390/mem_detect: fix tprot() program check new psw handling
      ...
    torvalds committed Jul 4, 2021
  7. Merge tag 'csky-for-linus-5.14-rc1' of git://github.com/c-sky/csky-linux

    Pull arch/csky updates from Guo Ren:
     "A small cleanup and a fixup"
    
    * tag 'csky-for-linus-5.14-rc1' of git://github.com/c-sky/csky-linux:
      csky: Kconfig: Remove unused selects
      csky: syscache: Fixup duplicate cache flush
    torvalds committed Jul 4, 2021
  8. Merge tag 'cxl-for-5.14' of git://git.kernel.org/pub/scm/linux/kernel…

    …/git/cxl/cxl
    
    Pull CXL (Compute Express Link) updates from Dan Williams:
     "This subsystem is still in the build-out phase as the bulk of the
      update is improvements to enumeration and fleshing out the device
      model. In terms of new features, more mailbox commands have been added
      to the allowed-list in support of persistent memory provisioning
      support targeting v5.15.
    
      The critical update from an enumeration perspective is support for the
      CXL Fixed Memory Window Structure that indicates to Linux which system
      physical address ranges decode to the CXL Host Bridges in the system.
      This allows the driver to detect which address ranges have been mapped
      by firmware and what address ranges are available for future hotplug.
    
      So, again, mostly skeleton this round, with more meat targeting v5.15.
    
      Summary:
    
       - Add support for the CXL Fixed Memory Window Structure, a recent
         extension of the ACPI CEDT (CXL Early Discovery Table)
    
       - Add infrastructure for component registers
    
       - Add HDM (Host-managed device memory) decoder definitions
    
       - Define a device model for an HDM decoder tree
    
       - Bridge CXL persistent memory capabilities to an NVDIMM bus /
         device-model
    
       - Switch to fine grained mapping of CXL MMIO registers to allow
         different drivers / system software to own individual register
         blocks
    
       - Enable media provisioning commands, and publish the label storage
         area size in sysfs
    
       - Miscellaneous cleanups and fixes"
    
    * tag 'cxl-for-5.14' of git://git.kernel.org/pub/scm/linux/kernel/git/cxl/cxl: (34 commits)
      cxl/pci: Rename CXL REGLOC ID
      cxl/acpi: Use the ACPI CFMWS to create static decoder objects
      cxl/acpi: Add the Host Bridge base address to CXL port objects
      cxl/pmem: Register 'pmem' / cxl_nvdimm devices
      libnvdimm: Drop unused device power management support
      libnvdimm: Export nvdimm shutdown helper, nvdimm_delete()
      cxl/pmem: Add initial infrastructure for pmem support
      cxl/core: Add cxl-bus driver infrastructure
      cxl/pci: Add media provisioning required commands
      cxl/component_regs: Fix offset
      cxl/hdm: Fix decoder count calculation
      cxl/acpi: Introduce cxl_decoder objects
      cxl/acpi: Enumerate host bridge root ports
      cxl/acpi: Add downstream port data to cxl_port instances
      cxl/Kconfig: Default drivers to CONFIG_CXL_BUS
      cxl/acpi: Introduce the root of a cxl_port topology
      cxl/pci: Fixup devm_cxl_iomap_block() to take a 'struct device *'
      cxl/pci: Add HDM decoder capabilities
      cxl/pci: Reserve individual register block regions
      cxl/pci: Map registers based on capabilities
      ...
    torvalds committed Jul 4, 2021
  9. Merge branch 'i2c/for-mergewindow' of git://git.kernel.org/pub/scm/li…

    …nux/kernel/git/wsa/linux
    
    Pull i2c updates from Wolfram Sang:
    
     - core supports now bus regulators controlling power for SCL/SDA
    
     - quite some DT binding conversions to YAML
    
     - added a seperate DT binding for the optional SMBus Alert feature
    
     - documentation with examples how to deal with I2C sysfs files
    
     - some bigger rework for the i801 driver
    
     - and a few usual driver updates
    
    * 'i2c/for-mergewindow' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux: (42 commits)
      i2c: ali1535: mention that the device should not be disabled
      i2c: mpc: Restore reread of I2C status register
      i2c: core-smbus: Expose PEC calculate function for generic use
      Documentation: i2c: Add doc for I2C sysfs
      i2c: core: Disable client irq on reboot/shutdown
      dt-bindings: i2c: update bindings for MT8195 SoC
      i2c: imx: Fix some checkpatch warnings
      i2c: davinci: Simplify with dev_err_probe()
      i2c: cadence: Simplify with dev_err_probe()
      i2c: xiic: Simplify with dev_err_probe()
      i2c: cadence: Clear HOLD bit before xfer_size register rolls over
      dt-bindings: i2c: ce4100: Replace "ti,pcf8575" by "nxp,pcf8575"
      i2c: i801: Improve i801_setup_hstcfg
      i2c: i801: Use driver name constant instead of function dev_driver_string
      i2c: i801: Simplify initialization of i2c_board_info in i801_probe_optional_slaves
      i2c: i801: Improve status polling
      i2c: cht-wc: Replace of_node by NULL
      i2c: riic: Add RZ/G2L support
      dt-bindings: i2c: renesas,riic: Document RZ/G2L I2C controller
      dt-bindings: i2c: renesas,iic: Convert to json-schema
      ...
    torvalds committed Jul 4, 2021
Older