08 Apr, 2020

1 commit

  • Pull thermal updates from Daniel Lezcano:

    - Convert tsens configuration DT binding to yaml (Rajeshwari)

    - Add interrupt support on the rcar sensor (Niklas Söderlund)

    - Add a new Spreadtrum thermal driver (Baolin Wang)

    - Add thermal binding for the fsl scu board, a new API to retrieve the
    sensor id bound to the thermal zone and i.MX system controller sensor
    (Anson Huang))

    - Remove warning log when a deferred probe is requested on Exynos
    (Marek Szyprowski)

    - Add the thermal monitoring unit support for imx8mm with its DT
    bindings (Anson Huang)

    - Rephrase the Kconfig text for clarity (Linus Walleij)

    - Use the gpio descriptor for the ti-soc-thermal (Linus Walleij)

    - Align msg structure to 4 bytes for i.MX SC, fix the Kconfig
    dependency, add the __may_be unused annotation for PM functions and
    the COMPILE_TEST option for imx8mm (Anson Huang)

    - Fix a dependency on regmap in Kconfig for qoriq (Yuantian Tang)

    - Add DT binding and support for the rcar gen3 r8a77961 and improve the
    error path on the rcar init function (Niklas Söderlund)

    - Cleanup and improvements for the tsens Qcom sensor (Amit Kucheria)

    - Improve code by removing lock and caching values in the rcar thermal
    sensor (Niklas Söderlund)

    - Cleanup in the qoriq drivers and add a call to
    imx_thermal_unregister_legacy_cooling in the removal function (Anson
    Huang)

    - Remove redundant 'maxItems' in tsens and sprd DT bindings (Rob
    Herring)

    - Change the thermal DT bindings by making the cooling-maps optional
    (Yuantian Tang)

    - Add Tiger Lake support (Sumeet Pawnikar)

    - Use scnprintf() for avoiding potential buffer overflow (Takashi Iwai)

    - Make pkg_temp_lock a raw_spinlock_t(Clark Williams)

    - Fix incorrect data types by changing them to signed on i.MX SC (Anson
    Huang)

    - Replace zero-length array with flexible-array member (Gustavo A. R.
    Silva)

    - Add support for i.MX8MP in the driver and in the DT bindings (Anson
    Huang)

    - Fix return value of the cpufreq_set_cur_state() function (Willy
    Wolff)

    - Remove abusing and scary WARN_ON in the cpufreq cooling device
    (Daniel Lezcano)

    - Fix build warning of incorrect argument type reported by sparse on
    imx8mm (Anson Huang)

    - Fix stub for the devfreq cooling device (Martin Blumenstingl)

    - Fix cpu idle cooling documentation (Sergey Vidishev)

    * tag 'thermal-v5.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/thermal/linux: (52 commits)
    Documentation: cpu-idle-cooling: Fix diagram for 33% duty cycle
    thermal: devfreq_cooling: inline all stubs for CONFIG_DEVFREQ_THERMAL=n
    thermal: imx8mm: Fix build warning of incorrect argument type
    thermal/drivers/cpufreq_cooling: Remove abusing WARN_ON
    thermal/drivers/cpufreq_cooling: Fix return of cpufreq_set_cur_state
    thermal: imx8mm: Add i.MX8MP support
    dt-bindings: thermal: imx8mm-thermal: Add support for i.MX8MP
    thermal: qcom: tsens.h: Replace zero-length array with flexible-array member
    thermal: imx_sc_thermal: Fix incorrect data type
    thermal: int340x_thermal: Use scnprintf() for avoiding potential buffer overflow
    thermal: int340x: processor_thermal: Add Tiger Lake support
    thermal/x86_pkg_temp: Make pkg_temp_lock a raw_spinlock_t
    dt-bindings: thermal: make cooling-maps property optional
    dt-bindings: thermal: qcom-tsens: Remove redundant 'maxItems'
    dt-bindings: thermal: sprd: Remove redundant 'maxItems'
    thermal: imx: Calling imx_thermal_unregister_legacy_cooling() in .remove
    thermal: qoriq: Sort includes alphabetically
    thermal: qoriq: Use devm_add_action_or_reset() to handle all cleanups
    thermal: rcar_thermal: Remove lock in rcar_thermal_get_current_temp()
    thermal: rcar_thermal: Do not store ctemp in rcar_thermal_priv
    ...

    Linus Torvalds
     

07 Apr, 2020

1 commit


05 Apr, 2020

1 commit

  • Pull GPIO updates from Linus Walleij:
    "This is the bulk of GPIO development for the v5.7 kernel cycle.

    Core and userspace API:

    - The userspace API KFIFOs have been imoproved with locks that do not
    block interrupts. This makes us better at getting events to
    userspace without blocking or disturbing new events arriving in the
    same time. This was reviewed by the KFIFO maintainer Stefani. This
    is a generic improvement which paves the road for similar
    improvements in other subsystems.

    - We provide a new ioctl() for monitoring changes in the line
    information, such as when multiple clients are taking lines and
    giving them back, possibly reconfiguring them in the process: we
    can now monitor that and not get stuck with stale static
    information.

    - An example tool 'gpio-watch' is provided to showcase this
    functionality.

    - Timestamps for events are switched to ktime_get_ns() which is
    monotonic. We previously had a 'realtime' stamp which could move
    forward and *backward* in time, which probably would just cause
    silent bugs and weird behaviour. In the long run we see two
    relevant timestamps: ktime_get_ns() or the timestamp sometimes
    provided by the GPIO hardware itself, if that exists.

    - Device Tree overlay support for GPIO hogs. On systems that load
    overlays, these overlays can now contain hogs, and will then be
    respected.

    - Handle pin control interaction with nonexisting pin ranges in the
    GPIO library core instead of in the individual drivers.

    New drivers:

    - New driver for the Mellanox BlueField 2 GPIO controller.

    Driver improvements:

    - Introduce the BGPIOF_NO_SET_ON_INPUT flag to the generic MMIO GPIO
    library and use this flag in the MT7621 driver.

    - Texas Instruments OMAP CPU power management improvements, such as
    blocking of idle on pending GPIO interrupts"

    * tag 'gpio-v5.7-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio: (59 commits)
    Revert "gpio: eic-sprd: Use devm_platform_ioremap_resource()"
    pinctrl: Unconditionally assign .request()/.free()
    gpio: Unconditionally assign .request()/.free()
    gpio: export of_pinctrl_get to modules
    pinctrl: Define of_pinctrl_get() dummy for !PINCTRL
    gpio: Rename variable in core APIs
    gpio: Avoid using pin ranges with !PINCTRL
    gpiolib: Remove unused gpio_chip parameter from gpio_set_bias()
    gpiolib: Pass gpio_desc to gpio_set_config()
    gpiolib: Introduce gpiod_set_config()
    tools: gpio: Fix out-of-tree build regression
    gpio: gpiolib: fix a doc warning
    gpio: tegra186: Add Tegra194 pin ranges for GG.0 and GG.1
    gpio: tegra186: Add support for pin ranges
    gpio: Support GPIO controllers without pin-ranges
    ARM: integrator: impd1: Use GPIO_LOOKUP() helper macro
    gpio: brcmstb: support gpio-line-names property
    tools: gpio: Fix typo in gpio-utils
    tools: gpio-hammer: Apply scripts/Lindent and retain good changes
    gpiolib: gpio_name_to_desc: factor out !name check
    ...

    Linus Torvalds
     

04 Apr, 2020

1 commit

  • Pull char/misc driver updates from Greg KH:
    "Here is the big set of char/misc/other driver patches for 5.7-rc1.

    Lots of things in here, and it's later than expected due to some
    reverts to resolve some reported issues. All is now clean with no
    reported problems in linux-next.

    Included in here is:
    - interconnect updates
    - mei driver updates
    - uio updates
    - nvmem driver updates
    - soundwire updates
    - binderfs updates
    - coresight updates
    - habanalabs updates
    - mhi new bus type and core
    - extcon driver updates
    - some Kconfig cleanups
    - other small misc driver cleanups and updates

    As mentioned, all have been in linux-next for a while, and with the
    last two reverts, all is calm and good"

    * tag 'char-misc-5.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc: (174 commits)
    Revert "driver core: platform: Initialize dma_parms for platform devices"
    Revert "amba: Initialize dma_parms for amba devices"
    amba: Initialize dma_parms for amba devices
    driver core: platform: Initialize dma_parms for platform devices
    bus: mhi: core: Drop the references to mhi_dev in mhi_destroy_device()
    bus: mhi: core: Initialize bhie field in mhi_cntrl for RDDM capture
    bus: mhi: core: Add support for reading MHI info from device
    misc: rtsx: set correct pcr_ops for rts522A
    speakup: misc: Use dynamic minor numbers for speakup devices
    mei: me: add cedar fork device ids
    coresight: do not use the BIT() macro in the UAPI header
    Documentation: provide IBM contacts for embargoed hardware
    nvmem: core: remove nvmem_sysfs_get_groups()
    nvmem: core: use is_bin_visible for permissions
    nvmem: core: use device_register and device_unregister
    nvmem: core: add root_only member to nvmem device struct
    extcon: axp288: Add wakeup support
    extcon: Mark extcon_get_edev_name() function as exported symbol
    extcon: palmas: Hide error messages if gpio returns -EPROBE_DEFER
    dt-bindings: extcon: usbc-cros-ec: convert extcon-usbc-cros-ec.txt to yaml format
    ...

    Linus Torvalds
     

03 Apr, 2020

1 commit

  • Pull SCSI updates from James Bottomley:
    "This series has a huge amount of churn because it pulls in Mauro's doc
    update changing all our txt files to rst ones.

    Excluding that, we have the usual driver updates (qla2xxx, ufs, lpfc,
    zfcp, ibmvfc, pm80xx, aacraid), a treewide update for scnprintf and
    some other minor updates.

    The major core change is Hannes moving functions out of the aacraid
    driver and into the core"

    * tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi: (223 commits)
    scsi: aic7xxx: aic97xx: Remove FreeBSD-specific code
    scsi: ufs: Do not rely on prefetched data
    scsi: dc395x: remove dc395x_bios_param
    scsi: libiscsi: Fix error count for active session
    scsi: hpsa: correct race condition in offload enabled
    scsi: message: fusion: Replace zero-length array with flexible-array member
    scsi: qedi: Add PCI shutdown handler support
    scsi: qedi: Add MFW error recovery process
    scsi: ufs: Enable block layer runtime PM for well-known logical units
    scsi: ufs-qcom: Override devfreq parameters
    scsi: ufshcd: Let vendor override devfreq parameters
    scsi: ufshcd: Update the set frequency to devfreq
    scsi: ufs: Resume ufs host before accessing ufs device
    scsi: ufs-mediatek: customize the delay for enabling host
    scsi: ufs: make HCE polling more compact to improve initialization latency
    scsi: ufs: allow custom delay prior to host enabling
    scsi: ufs-mediatek: use common delay function
    scsi: ufs: introduce common and flexible delay function
    scsi: ufs: use an enum for host capabilities
    scsi: ufs: fix uninitialized tx_lanes in ufshcd_disable_tx_lcc()
    ...

    Linus Torvalds
     

31 Mar, 2020

4 commits

  • Pull EFI updates from Ingo Molnar:
    "The EFI changes in this cycle are much larger than usual, for two
    (positive) reasons:

    - The GRUB project is showing signs of life again, resulting in the
    introduction of the generic Linux/UEFI boot protocol, instead of
    x86 specific hacks which are increasingly difficult to maintain.
    There's hope that all future extensions will now go through that
    boot protocol.

    - Preparatory work for RISC-V EFI support.

    The main changes are:

    - Boot time GDT handling changes

    - Simplify handling of EFI properties table on arm64

    - Generic EFI stub cleanups, to improve command line handling, file
    I/O, memory allocation, etc.

    - Introduce a generic initrd loading method based on calling back
    into the firmware, instead of relying on the x86 EFI handover
    protocol or device tree.

    - Introduce a mixed mode boot method that does not rely on the x86
    EFI handover protocol either, and could potentially be adopted by
    other architectures (if another one ever surfaces where one
    execution mode is a superset of another)

    - Clean up the contents of 'struct efi', and move out everything that
    doesn't need to be stored there.

    - Incorporate support for UEFI spec v2.8A changes that permit
    firmware implementations to return EFI_UNSUPPORTED from UEFI
    runtime services at OS runtime, and expose a mask of which ones are
    supported or unsupported via a configuration table.

    - Partial fix for the lack of by-VA cache maintenance in the
    decompressor on 32-bit ARM.

    - Changes to load device firmware from EFI boot service memory
    regions

    - Various documentation updates and minor code cleanups and fixes"

    * 'efi-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (114 commits)
    efi/libstub/arm: Fix spurious message that an initrd was loaded
    efi/libstub/arm64: Avoid image_base value from efi_loaded_image
    partitions/efi: Fix partition name parsing in GUID partition entry
    efi/x86: Fix cast of image argument
    efi/libstub/x86: Use ULONG_MAX as upper bound for all allocations
    efi: Fix a mistype in comments mentioning efivar_entry_iter_begin()
    efi/libstub: Avoid linking libstub/lib-ksyms.o into vmlinux
    efi/x86: Preserve %ebx correctly in efi_set_virtual_address_map()
    efi/x86: Ignore the memory attributes table on i386
    efi/x86: Don't relocate the kernel unless necessary
    efi/x86: Remove extra headroom for setup block
    efi/x86: Add kernel preferred address to PE header
    efi/x86: Decompress at start of PE image load address
    x86/boot/compressed/32: Save the output address instead of recalculating it
    efi/libstub/x86: Deal with exit() boot service returning
    x86/boot: Use unsigned comparison for addresses
    efi/x86: Avoid using code32_start
    efi/x86: Make efi32_pe_entry() more readable
    efi/x86: Respect 32-bit ABI in efi32_pe_entry()
    efi/x86: Annotate the LOADED_IMAGE_PROTOCOL_GUID with SYM_DATA
    ...

    Linus Torvalds
     
  • Pull driver core updates from Greg KH:
    "Here is the "big" set of driver core changes for 5.7-rc1.

    Nothing huge in here, just lots of little firmware core changes and
    use of new apis, a libfs fix, a debugfs api change, and some driver
    core deferred probe rework.

    All of these have been in linux-next for a while with no reported
    issues"

    * tag 'driver-core-5.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core: (44 commits)
    Revert "driver core: Set fw_devlink to "permissive" behavior by default"
    driver core: Set fw_devlink to "permissive" behavior by default
    driver core: Replace open-coded list_last_entry()
    driver core: Read atomic counter once in driver_probe_done()
    libfs: fix infoleak in simple_attr_read()
    driver core: Add device links from fwnode only for the primary device
    platform/x86: touchscreen_dmi: Add info for the Chuwi Vi8 Plus tablet
    platform/x86: touchscreen_dmi: Add EFI embedded firmware info support
    Input: icn8505 - Switch to firmware_request_platform for retreiving the fw
    Input: silead - Switch to firmware_request_platform for retreiving the fw
    selftests: firmware: Add firmware_request_platform tests
    test_firmware: add support for firmware_request_platform
    firmware: Add new platform fallback mechanism and firmware_request_platform()
    Revert "drivers: base: power: wakeup.c: Use built-in RCU list checking"
    drivers: base: power: wakeup.c: Use built-in RCU list checking
    component: allow missing unbind callback
    debugfs: remove return value of debugfs_create_file_size()
    debugfs: Check module state before warning in {full/open}_proxy_open()
    firmware: fix a double abort case with fw_load_sysfs_fallback
    arch_topology: Fix putting invalid cpu clk
    ...

    Linus Torvalds
     
  • Pull USB / PHY updates from Greg KH:
    "Here are the big set of USB and PHY driver patches for 5.7-rc1.

    Nothing huge here, some new PHY drivers, loads of USB gadget fixes and
    updates, xhci updates, usb-serial driver updates and new device ids,
    and other minor things. Full details in the shortlog.

    All have been in linux-next for a while with no reported issues"

    * tag 'usb-5.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb: (239 commits)
    USB: cdc-acm: restore capability check order
    usb: cdns3: make signed 1 bit bitfields unsigned
    usb: gadget: fsl: remove unused variable 'driver_desc'
    usb: gadget: f_fs: Fix use after free issue as part of queue failure
    usb: typec: Correct the documentation for typec_cable_put()
    USB: serial: io_edgeport: fix slab-out-of-bounds read in edge_interrupt_callback
    USB: serial: option: add Wistron Neweb D19Q1
    USB: serial: option: add BroadMobi BM806U
    USB: serial: option: add support for ASKEY WWHC050
    usb: core: Add ACPI support for USB interface devices
    driver core: platform: Reimplement devm_platform_ioremap_resource
    usb: dwc2: convert to devm_platform_get_and_ioremap_resource
    usb: host: hisilicon: convert to devm_platform_get_and_ioremap_resource
    usb: host: xhci-plat: convert to devm_platform_get_and_ioremap_resource
    drivers: provide devm_platform_get_and_ioremap_resource()
    phy: qcom-qusb2: Add new overriding tuning parameters in QUSB2 V2 PHY
    phy: qcom-qusb2: Add support for overriding tuning parameters in QUSB2 V2 PHY
    dt-bindings: phy: qcom-qusb2: Add support for overriding Phy tuning parameters
    phy: qcom-qusb2: Add generic QUSB2 V2 PHY support
    dt-bindings: phy: qcom,qusb2: Add compatibles for QUSB2 V2 phy and SC7180
    ...

    Linus Torvalds
     
  • Pull documentation updates from Jonathan Corbet:
    "This has been a busy cycle for documentation work.

    Highlights include:

    - Lots of RST conversion work by Mauro, Daniel ALmeida, and others.
    Maybe someday we'll get to the end of this stuff...maybe...

    - Some organizational work to bring some order to the core-api
    manual.

    - Various new docs and additions to the existing documentation.

    - Typo fixes, warning fixes, ..."

    * tag 'docs-5.7' of git://git.lwn.net/linux: (123 commits)
    Documentation: x86: exception-tables: document CONFIG_BUILDTIME_TABLE_SORT
    MAINTAINERS: adjust to filesystem doc ReST conversion
    docs: deprecated.rst: Add BUG()-family
    doc: zh_CN: add translation for virtiofs
    doc: zh_CN: index files in filesystems subdirectory
    docs: locking: Drop :c:func: throughout
    docs: locking: Add 'need' to hardirq section
    docs: conf.py: avoid thousands of duplicate label warning on Sphinx
    docs: prevent warnings due to autosectionlabel
    docs: fix reference to core-api/namespaces.rst
    docs: fix pointers to io-mapping.rst and io_ordering.rst files
    Documentation: Better document the softlockup_panic sysctl
    docs: hw-vuln: tsx_async_abort.rst: get rid of an unused ref
    docs: perf: imx-ddr.rst: get rid of a warning
    docs: filesystems: fuse.rst: supress a Sphinx warning
    docs: translations: it: avoid duplicate refs at programming-language.rst
    docs: driver.rst: supress two ReSt warnings
    docs: trace: events.rst: convert some new stuff to ReST format
    Documentation: Add io_ordering.rst to driver-api manual
    Documentation: Add io-mapping.rst to driver-api manual
    ...

    Linus Torvalds
     

28 Mar, 2020

1 commit


25 Mar, 2020

2 commits

  • Two literal blocks there are marked with both "::" and

    .. code-block:: c

    This causes Sphinx (2.4.1) to do the wrong thing, causing
    lots of warnings:

    Documentation/driver-api/gpio/driver.rst:425: WARNING: Unexpected indentation.
    Documentation/driver-api/gpio/driver.rst:423: WARNING: Inline emphasis start-string without end-string.
    Documentation/driver-api/gpio/driver.rst:427: WARNING: Block quote ends without a blank line; unexpected unindent.
    Documentation/driver-api/gpio/driver.rst:429: WARNING: Inline emphasis start-string without end-string.
    Documentation/driver-api/gpio/driver.rst:429: WARNING: Inline emphasis start-string without end-string.
    Documentation/driver-api/gpio/driver.rst:429: WARNING: Inline emphasis start-string without end-string.
    Documentation/driver-api/gpio/driver.rst:433: WARNING: Inline emphasis start-string without end-string.
    Documentation/driver-api/gpio/driver.rst:446: WARNING: Unexpected indentation.
    Documentation/driver-api/gpio/driver.rst:440: WARNING: Inline emphasis start-string without end-string.
    Documentation/driver-api/gpio/driver.rst:440: WARNING: Inline emphasis start-string without end-string.
    Documentation/driver-api/gpio/driver.rst:447: WARNING: Block quote ends without a blank line; unexpected unindent.
    Documentation/driver-api/gpio/driver.rst:449: WARNING: Definition list ends without a blank line; unexpected unindent.
    Documentation/driver-api/gpio/driver.rst:462: WARNING: Unexpected indentation.
    Documentation/driver-api/gpio/driver.rst:460: WARNING: Inline emphasis start-string without end-string.
    Documentation/driver-api/gpio/driver.rst:462: WARNING: Inline emphasis start-string without end-string.
    Documentation/driver-api/gpio/driver.rst:465: WARNING: Block quote ends without a blank line; unexpected unindent.
    Documentation/driver-api/gpio/driver.rst:467: WARNING: Inline emphasis start-string without end-string.
    Documentation/driver-api/gpio/driver.rst:467: WARNING: Inline emphasis start-string without end-string.
    Documentation/driver-api/gpio/driver.rst:467: WARNING: Inline emphasis start-string without end-string.
    Documentation/driver-api/gpio/driver.rst:471: WARNING: Inline emphasis start-string without end-string.
    Documentation/driver-api/gpio/driver.rst:478: WARNING: Inline emphasis start-string without end-string.

    Signed-off-by: Mauro Carvalho Chehab
    Signed-off-by: Bartosz Golaszewski

    Mauro Carvalho Chehab
     
  • Pull dmaengine fixes from Vinod Koul:
    "Late fixes in dmaengine for v5.6:

    - move .device_release missing log warning to debug

    - couple of maintainer entries for HiSilicon and IADX drivers

    - off-by-one fix for idxd driver

    - documentation warning fixes

    - TI k3 dma error handling fix"

    * tag 'dmaengine-fix-5.6' of git://git.infradead.org/users/vkoul/slave-dma:
    dmaengine: ti: k3-udma-glue: Fix an error handling path in 'k3_udma_glue_cfg_rx_flow()'
    MAINTAINERS: Add maintainer for HiSilicon DMA engine driver
    dmaengine: idxd: fix off by one on cdev dwq refcount
    MAINTAINERS: rectify the INTEL IADX DRIVER entry
    dmaengine: move .device_release missing log warning to debug level
    docs: dmaengine: provider.rst: get rid of some warnings

    Linus Torvalds
     

23 Mar, 2020

1 commit

  • …koul/soundwire into char-misc-next

    Vinod writes:

    soundwire updates for v5.7-rc1

    This contains updates to stream and pm handling in the core as well as
    updates to Intel drivers for hw sequencing and multi-link.

    Details:
    Core:
    - Updates to stream handling for state machine checks
    - Changes to handle potential races for probe/enumeration and init of the bus
    - Add no pm version of read and writes
    - Support for multiple Slave on same link
    - Add read_only_wordlength for simple/reduced ports

    Intel:
    - Updates to cadence lib to handle hw sequencing
    - Support for audio dai calls in intel driver
    - Multi link support for cadence lib

    Qualcomm:
    - Support for get_sdw_stream()

    * tag 'soundwire-5.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/vkoul/soundwire: (43 commits)
    soundwire: qcom: add support for get_sdw_stream()
    soundwire: stream: Add read_only_wordlength flag to port properties
    soundwire: cadence: clear FIFO to avoid pop noise issue on playback start
    soundwire: cadence: multi-link support
    soundwire: cadence: commit changes in the exit_reset() sequence
    soundwire: cadence: remove automatic command retries
    soundwire: cadence: remove PREQ_DELAY assignment
    soundwire: cadence: enable NORMAL operation in cdns_init()
    soundwire: cadence: reorder MCP_CONFIG settings
    soundwire: cadence: make SSP interval programmable
    soundwire: cadence: move clock/SSP related inits to dedicated function
    soundwire: cadence: merge routines to clear/set bits
    soundwire: cadence: mask Slave interrupt before stopping clock
    soundwire: cadence: fix a io timeout issue in S3 test
    soundwire: cadence: add clock_stop/restart routines
    soundwire: cadence: handle error cases with CONFIG_UPDATE
    soundwire: cadence: add interface to check clock status
    soundwire: cadence: simplifiy cdns_init()
    soundwire: cadence: s/update_config/config_update
    soundwire: stream: use sdw_write instead of update
    ...

    Greg Kroah-Hartman
     

21 Mar, 2020

1 commit

  • Changeset 58ad30cf91f0 ("docs: fix reference to core-api/namespaces.rst")
    enabled a new feature at Sphinx: it will now generate index for each
    document title, plus to each chapter inside it.

    There's a drawback, though: one document cannot have two sections
    with the same name anymore.

    A followup patch will change the logic of autosectionlabel to
    avoid most creating references for every single section title,
    but still we need to be able to reference the chapters inside
    a document.

    There are a few places where there are two chapters with the
    same name. This patch renames one of the chapters, in order to
    avoid symbol conflict within the same document.

    PS.: as I don't speach Chinese, I had some help from a friend
    (Wen Liu) at the Chinese translation for "publishing patches"
    for this document:

    Documentation/translations/zh_CN/process/5.Posting.rst

    Fixes: 58ad30cf91f0 ("docs: fix reference to core-api/namespaces.rst")
    Signed-off-by: Mauro Carvalho Chehab
    Link: https://lore.kernel.org/r/2bffb91e4a63d41bf5fae1c23e1e8b3bba0b8806.1584716446.git.mchehab+huawei@kernel.org
    Signed-off-by: Jonathan Corbet

    Mauro Carvalho Chehab
     

20 Mar, 2020

1 commit

  • In some cases the platform's main firmware (e.g. the UEFI fw) may contain
    an embedded copy of device firmware which needs to be (re)loaded into the
    peripheral. Normally such firmware would be part of linux-firmware, but in
    some cases this is not feasible, for 2 reasons:

    1) The firmware is customized for a specific use-case of the chipset / use
    with a specific hardware model, so we cannot have a single firmware file
    for the chipset. E.g. touchscreen controller firmwares are compiled
    specifically for the hardware model they are used with, as they are
    calibrated for a specific model digitizer.

    2) Despite repeated attempts we have failed to get permission to
    redistribute the firmware. This is especially a problem with customized
    firmwares, these get created by the chip vendor for a specific ODM and the
    copyright may partially belong with the ODM, so the chip vendor cannot
    give a blanket permission to distribute these.

    This commit adds a new platform fallback mechanism to the firmware loader
    which will try to lookup a device fw copy embedded in the platform's main
    firmware if direct filesystem lookup fails.

    Drivers which need such embedded fw copies can enable this fallback
    mechanism by using the new firmware_request_platform() function.

    Note that for now this is only supported on EFI platforms and even on
    these platforms firmware_fallback_platform() only works if
    CONFIG_EFI_EMBEDDED_FIRMWARE is enabled (this gets selected by drivers
    which need this), in all other cases firmware_fallback_platform() simply
    always returns -ENOENT.

    Reported-by: Dave Olsthoorn
    Suggested-by: Peter Jones
    Acked-by: Luis Chamberlain
    Signed-off-by: Hans de Goede
    Link: https://lore.kernel.org/r/20200115163554.101315-5-hdegoede@redhat.com
    Signed-off-by: Greg Kroah-Hartman

    Hans de Goede
     

12 Mar, 2020

1 commit


11 Mar, 2020

4 commits


10 Mar, 2020

1 commit


08 Mar, 2020

1 commit

  • Let the description of the efi/libstub/mem.c functions appear in the kernel
    API documentation in the following chapters:

    The Linux driver implementer’s API guide
    Linux Firmware API
    UEFI Support
    UEFI stub library functions

    Acked-by: Jonathan Corbet
    Signed-off-by: Heinrich Schuchardt
    Signed-off-by: Ard Biesheuvel
    Signed-off-by: Ingo Molnar
    Link: https://lore.kernel.org/r/20200221035832.144960-1-xypron.glpk@gmx.de
    Link: https://lore.kernel.org/r/20200308080859.21568-9-ardb@kernel.org

    Heinrich Schuchardt
     

06 Mar, 2020

2 commits

  • Get rid of those warnings by adding extra blank lines:

    Documentation/driver-api/dmaengine/provider.rst:270: WARNING: Unexpected indentation.
    Documentation/driver-api/dmaengine/provider.rst:273: WARNING: Block quote ends without a blank line; unexpected unindent.
    Documentation/driver-api/dmaengine/provider.rst:288: WARNING: Unexpected indentation.
    Documentation/driver-api/dmaengine/provider.rst:290: WARNING: Block quote ends without a blank line; unexpected unindent.

    While here, use parenthesis after get_metadata_ptr/set_metadata_len,
    as, if some day someone adds a kerneldoc markup for those, it
    should automatically generate a cross-reference to them.

    Signed-off-by: Mauro Carvalho Chehab
    Link: https://lore.kernel.org/r/62cf2a87b379a92c9c0e5a40c2ae8a138b01fe0a.1583250595.git.mchehab+huawei@kernel.org
    Signed-off-by: Vinod Koul

    Mauro Carvalho Chehab
     
  • Pull dmaengine fixes from Vinod Koul:
    "A bunch of driver fixes:

    - Doc updates to clean warnings for dmaengine

    - Fixes for newly added Intel idxd driver

    - More fixes for newly added TI k3-udma driver

    - Fixes for IMX and Tegra drivers"

    * tag 'dmaengine-fix-5.6-rc5' of git://git.infradead.org/users/vkoul/slave-dma:
    dmaengine: imx-sdma: Fix the event id check to include RX event for UART6
    dmaengine: tegra-apb: Prevent race conditions of tasklet vs free list
    dmaengine: tegra-apb: Fix use-after-free
    dmaengine: imx-sdma: fix context cache
    dmaengine: idxd: wq size configuration needs to check global max size
    dmaengine: idxd: sysfs input of wq incorrect wq type should return error
    dmaengine: coh901318: Fix a double lock bug in dma_tc_handle()
    dmaengine: idxd: correct reserved token calculation
    dmaengine: ti: k3-udma: Fix terminated transfer handling
    dmaengine: ti: k3-udma: Use the channel direction in pause/resume functions
    dmaengine: ti: k3-udma: Use the TR counter helper for slave_sg and cyclic
    dmaengine: ti: k3-udma: Move the TR counter calculation to helper function
    dmaengine: ti: k3-udma: Workaround for RX teardown with stale data in peer
    dmaengine: ti: k3-udma: Use ktime/usleep_range based TX completion check
    dmaengine: idxd: Fix error handling in idxd_wq_cdev_dev_setup()
    dmaengine: doc: fix warnings/issues of client.rst
    dmaengine: idxd: fix runaway module ref count on device driver bind

    Linus Torvalds
     

24 Feb, 2020

1 commit


19 Feb, 2020

2 commits


17 Feb, 2020

1 commit

  • Pull IPMI update from Corey Minyard:
    "Minor bug fixes for IPMI

    I know this is late; I've been travelling and, well, I've been
    distracted.

    This is just a few bug fixes and adding i2c support to the IPMB
    driver, which is something I wanted from the beginning for it"

    * tag 'for-linus-5.6-1' of https://github.com/cminyard/linux-ipmi:
    drivers: ipmi: fix off-by-one bounds check that leads to a out-of-bounds write
    ipmi:ssif: Handle a possible NULL pointer reference
    drivers: ipmi: Modify max length of IPMB packet
    drivers: ipmi: Support raw i2c packet in IPMB

    Linus Torvalds
     

13 Feb, 2020

3 commits

  • This fixed some warnings/issues of client.rst.
    o Need a blank line for enumerated lists.
    o Do not create section in enumerated list.
    o Remove suffix ':' from section title.

    Signed-off-by: Changbin Du
    Link: https://lore.kernel.org/r/20200204125115.12128-1-changbin.du@gmail.com
    Signed-off-by: Vinod Koul

    Changbin Du
     
  • The state machine and notes don't accurately explain or allow
    transitions from STREAM_DEPREPARED and STREAM_DISABLED.

    Add more explanations and allow for more transitions as a result of a
    trigger_stop(), trigger_suspend() and prepare(), depending on the
    ALSA/ASoC layer behavior defined by the INFO_RESUME and INFO_PAUSE
    flags.

    Also add basic checks to help debug inconsistent states and illegal
    state machine transitions.

    Signed-off-by: Pierre-Louis Bossart
    Link: https://lore.kernel.org/r/20200114235227.14502-2-pierre-louis.bossart@linux.intel.com
    Signed-off-by: Vinod Koul

    Pierre-Louis Bossart
     
  • Using the generic notification chain is not reasonable with
    the alternate modes because it would require dependencies
    between the drivers of the components that need the
    notifications, and the typec drivers.

    There are no users for the alternate mode notifications, so
    removing the chain and the API for it completely.

    Signed-off-by: Heikki Krogerus
    Link: https://lore.kernel.org/r/20200211112531.86510-6-heikki.krogerus@linux.intel.com
    Signed-off-by: Greg Kroah-Hartman

    Heikki Krogerus
     

06 Feb, 2020

1 commit

  • Pull dmaengine fixes from Vinod Koul:
    "Fixes for:

    - Documentation build error fix

    - Fix dma_request_chan() error return

    - Remove unneeded conversion in idxd driver

    - Fix pointer check for dma_async_device_channel_register()

    - Fix slave-channel symlink cleanup"

    * tag 'dmaengine-fix-5.6-rc1' of git://git.infradead.org/users/vkoul/slave-dma:
    dmaengine: Cleanups for the slave channel symlink support
    dmaengine: fix null ptr check for __dma_async_device_channel_register()
    dmaengine: idxd: fix boolconv.cocci warnings
    dmaengine: Fix return value for dma_request_chan() in case of failure
    dmaengine: doc: Properly indent metadata title

    Linus Torvalds
     

01 Feb, 2020

1 commit


31 Jan, 2020

1 commit

  • Sphinx ('make htmldocs') stops with a SEVERE error:

    Sphinx parallel build error:
    SystemMessage: /home/rdunlap/lnx/next/linux-next-20200120/Documentation/driver-api/thermal/cpu-idle-cooling.rst:69: (SEVERE/4) Unexpected section title.

    ^
    |

    so fix the .rst file so that the SEVERE build error does not happen.
    Also fix another minor formatting warning (unexpected unindent).

    Signed-off-by: Randy Dunlap
    Cc: Zhang Rui
    Cc: Daniel Lezcano
    Cc: Amit Kucheria
    Cc: linux-pm@vger.kernel.org
    Signed-off-by: Daniel Lezcano
    Link: https://lore.kernel.org/r/712c1152-56b5-307f-b3f3-ed03a30b804a@infradead.org

    Randy Dunlap
     

30 Jan, 2020

3 commits

  • Pull char/misc driver updates from Greg KH:
    "Here is the big char/misc/whatever driver changes for 5.6-rc1

    Included in here are loads of things from a variety of different
    driver subsystems:
    - soundwire updates
    - binder updates
    - nvmem updates
    - firmware drivers updates
    - extcon driver updates
    - various misc driver updates
    - fpga driver updates
    - interconnect subsystem and driver updates
    - bus driver updates
    - uio driver updates
    - mei driver updates
    - w1 driver cleanups
    - various other small driver updates

    All of these have been in linux-next for a while with no reported
    issues"

    * tag 'char-misc-5.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc: (86 commits)
    mei: me: add jasper point DID
    char: hpet: Use flexible-array member
    binder: fix log spam for existing debugfs file creation.
    mei: me: add comet point (lake) H device ids
    nvmem: add QTI SDAM driver
    dt-bindings: nvmem: add binding for QTI SPMI SDAM
    dt-bindings: imx-ocotp: Add i.MX8MP compatible
    dt-bindings: soundwire: fix example
    soundwire: cadence: fix kernel-doc parameter descriptions
    soundwire: intel: report slave_ids for each link to SOF driver
    siox: Use the correct style for SPDX License Identifier
    w1: omap-hdq: Simplify driver with PM runtime autosuspend
    firmware: stratix10-svc: Remove unneeded semicolon
    firmware: google: Probe for a GSMI handler in firmware
    firmware: google: Unregister driver_info on failure and exit in gsmi
    firmware: google: Release devices before unregistering the bus
    slimbus: qcom: add missed clk_disable_unprepare in remove
    slimbus: Use the correct style for SPDX License Identifier
    slimbus: qcom-ngd-ctrl: Use dma_request_chan() instead dma_request_slave_channel()
    dt-bindings: SLIMBus: add slim devices optional properties
    ...

    Linus Torvalds
     
  • Pull pin control updates from Linus Walleij:
    "This is the bulk of pin control changes, nothing too exciting about
    this.

    Some changes hit arch/sh and arch/arm but are well isolated and
    acknowledged by the respective arch maintainers.

    Core changes:

    - Dropped the chained IRQ setup callback into GPIOLIB as we got rid
    of the last users of that in this changeset.

    New drivers:

    - New driver for Ingenic X1830.

    - New driver for Freescale i.MX8MP.

    Driver enhancements:

    - Fix all remaining Intel drivers to pass their IRQ chips along with
    the GPIO chips.

    - Intel Baytrail allocates its irqchip dynamically.

    - Intel Lynxpoint is thoroughly rewritten and modernized.

    - Aspeed AST2600 pin muxing and configuration is much improved.

    - Qualcomm SC7180 functions are updated and wakeup interrupt map is
    provided.

    - A whole slew of Renesas SH-PFC cleanups and improvements.

    - Fix up the Intel DT bindings to use the generic YAML DT bindings
    schema (a first user of this)"

    * tag 'pinctrl-v5.6-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl: (99 commits)
    pinctrl: madera: Remove extra blank line
    pinctrl: qcom: Don't lock around irq_set_irq_wake()
    pinctrl: mvebu: armada-37xx: use use platform api
    gpio: Drop the chained IRQ handler assign function
    pinctrl: freescale: Add i.MX8MP pinctrl driver support
    dt-bindings: imx: Add pinctrl binding doc for i.MX8MP
    pinctrl: tigerlake: Tiger Lake uses _HID enumeration
    pinctrl: sunrisepoint: Add Coffee Lake-S ACPI ID
    pinctrl: iproc: Use platform_get_irq_optional() to avoid error message
    pinctrl: dt-bindings: Fix some errors in the lgm and pinmux schema
    pinctrl: intel: Pass irqchip when adding gpiochip
    pinctrl: intel: Add GPIO pin mapping ranges via callback
    pinctrl: baytrail: Replace WARN with dev_info_once when setting direct-irq pin to output
    pinctrl: baytrail: Do not clear IRQ flags on direct-irq enabled pins
    pinctrl: sunrisepoint: Add missing Interrupt Status register offset
    pinctrl: sh-pfc: Split R-Car H3 support in two independent drivers
    pinctrl: artpec6: fix __iomem on reg in set
    pinctrl: ingenic: Use devm_platform_ioremap_resource()
    pinctrl: ingenic: Factorize irq_set_type function
    pinctrl: ingenic: Remove duplicated ingenic_chip_info structures
    ...

    Linus Torvalds
     
  • Pull GPIO updates from Linus Walleij:
    "This is the bulk of GPIO changes for the v5.6 kernel cycle.

    This is a pretty calm cycle so far, nothing special going on really.
    Some more changes will come in from the irqchip and pin control trees.

    I also deleted an orphan include file for FMC that was dangling since
    subsystem was removed.

    Core changes:

    - Document the usecases for the kernelspace vs userspace handling of
    GPIOs.

    - Handle MSI (message signalled interrupts) properly in the core
    hierarchical irqdomain code.

    - Fix a rare race condition while initializing the descriptor array.

    New drivers:

    - Xylon LogiCVC GPIO driver.

    - WDC934x GPIO controller driver.

    Driver improvements:

    - Implemented suspend/resume in the Tegra driver.

    - MPC8xx edge detection fixup.

    - Properly convert ThunderX to use hierarchical irqdomain with
    GPIOLIB_IRQCHIP on top of the revert of the previous buggy
    switchover. This time it works (hopefully).

    Misc:

    - Drop a FMC remnant file

    - A slew of fixes"

    * tag 'gpio-v5.6-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio: (48 commits)
    MAINTAINERS: Replace Tien Hock Loh as Altera PIO maintainer
    gpiolib: hold gpio devices lock until ->descs array is initialised
    gpio: aspeed-sgpio: fixed typos
    gpio: mvebu: clear irq in edge cause register before unmask edge irq
    gpiolib: Lower verbosity when allocating hierarchy irq
    gpiolib: Remove duplicated function gpio_do_set_config()
    gpio: Fix the no return statement warning
    gpio: wcd934x: Add support to wcd934x gpio controller
    gpiolib: remove set but not used variable 'config'
    gpio: vx855: fixed a typo
    gpio: mockup: sort headers alphabetically
    gpio: mockup: update the license tag
    gpio: Remove the unused flags
    gpiolib: Set lockdep class for hierarchical irq domains
    gpio: thunderx: Switch to GPIOLIB_IRQCHIP
    gpiolib: Add the support for the msi parent domain
    gpiolib: Add support for the irqdomain which doesn't use irq_fwspec as arg
    gpio: Add use guidance documentation
    dt-bindings: gpio: wcd934x: Add bindings for gpio
    gpio: altera: change to platform_get_irq_optional to avoid false-positive error
    ...

    Linus Torvalds
     

29 Jan, 2020

1 commit

  • Pull thermal updates from Daniel Lezcano:

    - Depromote debug print on the db8500 platform (Linus Walleij)

    - Fix compilation warning when compiling with make W=1 (Amit Kucheria)

    - Code cleanup and refactoring, regmap conversion and add hwmon support
    on Qoriq (Andrey Smirnov)

    - Add an idle injection cpu cooling device and its documentation,
    rename the cpu_cooling device to cpufreq_cooling device (Daniel
    Lezcano)

    - Convert unexported functions to static, add the __init annotation in
    the thermal-of code and remove the pointless wrapper functions
    (Daniel Lezcano)

    - Fix register offset for Armada XP and register reset bit
    initialization (Zak Hays)

    - Enable hwmon on the rockchip (Stefan Schaeckeler)

    - Add the thermal sensor for the H6/H5/H3/A64/A83T/R40 sun8i platform
    and their device tree bindings, followed by a fix for the ths number
    and the sparse warnings (Yangtao Li)

    - Code cleansup for the sun8i and hwmon support (Yangtao Li)

    - Silent some messages which are misleading given the changes made in
    the previous version on generic-adc (Martin Blumenstingl)

    - Rename exynos to Exynos (Krzysztof Kozlowski)

    - Add the bcm2711 thermal driver with the device tree bindings (Stefan
    Wahren)

    - Use usleep_range() instead of udelay() as the call is always done in
    a sleep-able context (Geert Uytterhoeven)

    - Do code cleanup and re-organization to set the scene for a new
    process for the brcmstb (Florian Fainelli)

    - Fix bindings check issues on brcm (Stefan Wahren)

    - Add Jasper Lake support on int340x (Nivedita Swaminathan)

    - Add Comet Lake support on intel pch (Gayatri Kammela)

    - Fix unmatched pci_release_region() on x86 (Chuhong Yuan)

    - Remove temperature boundaries for rcar and rcar3 (Niklas Söderlund)

    - Fix return value to -ENODEV when thermal_zone_of_sensor_register() is
    called with the of-node is missing (Peter Mamonov)

    - Code cleanup, interrupt bouncing, and better support on stm32 (Pascal
    Paillet)

    * tag 'thermal-v5.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/thermal/linux: (66 commits)
    thermal: stm32: Fix low threshold interrupt flood
    thermal: stm32: Improve temperature computing
    thermal: stm32: Handle multiple trip points
    thermal: stm32: Disable interrupts at probe
    thermal: stm32: Rework sensor mode management
    thermal: stm32: Fix icifr register name
    thermal: of: Make thermal_zone_of_sensor_register return -ENODEV if a sensor OF node is missing
    thermal: rcar_gen3_thermal: Remove temperature bound
    thermal: rcar_thermal: Remove temperature bound
    thermal: intel: intel_pch_thermal: Add Comet Lake (CML) platform support
    thermal: intel: Fix unmatched pci_release_region
    thermal: int340x: processor_thermal: Add Jasper Lake support
    dt-bindings: brcm,avs-ro-thermal: Fix binding check issues
    thermal: brcmstb_thermal: Register different ops per process
    thermal: brcmstb_thermal: Restructure interrupt registration
    thermal: brcmstb_thermal: Add 16nm process thermal parameters
    dt-bindings: thermal: Define BCM7216 thermal sensor compatible
    thermal: brcmstb_thermal: Prepare to support a different process
    thermal: brcmstb_thermal: Do not use DT coefficients
    thermal: rcar_thermal: Use usleep_range() instead of udelay()
    ...

    Linus Torvalds
     

28 Jan, 2020

2 commits

  • The newly added metadata documentation title was not properly indented
    resulting in doc build break:

    Sphinx parallel build error:
    docutils.utils.SystemMessage: /linux/Documentation/driver-api/dmaengine/client.rst:155: (SEVERE/4) Unexpected section title.

    Optional: per descriptor metadata
    ---------------------------------

    Fix this by doing the right indent

    Reported-by: Michael Ellerman
    Fixes: 7d083ae98357 ("dmaengine: doc: Add sections for per descriptor metadata support")
    Link: https://lore.kernel.org/r/20200128125032.1650816-1-vkoul@kernel.org
    Signed-off-by: Vinod Koul

    Vinod Koul
     
  • Pull ioremap updates from Christoph Hellwig:
    "Remove the ioremap_nocache API (plus wrappers) that are always
    identical to ioremap"

    * tag 'ioremap-5.6' of git://git.infradead.org/users/hch/ioremap:
    remove ioremap_nocache and devm_ioremap_nocache
    MIPS: define ioremap_nocache to ioremap

    Linus Torvalds