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
     

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
     

27 Jan, 2020

3 commits

  • Fix up inconsistent usage of upper and lowercase letters in "Samsung"
    and "Exynos" names.

    "SAMSUNG" and "EXYNOS" are not abbreviations but regular trademarked
    names. Therefore they should be written with lowercase letters starting
    with capital letter.

    The lowercase "Exynos" name is promoted by its manufacturer Samsung
    Electronics Co., Ltd., in advertisement materials and on website.

    Although advertisement materials usually use uppercase "SAMSUNG", the
    lowercase version is used in all legal aspects (e.g. on Wikipedia and in
    privacy/legal statements on
    https://www.samsung.com/semiconductor/privacy-global/).

    Signed-off-by: Krzysztof Kozlowski
    Signed-off-by: Daniel Lezcano
    Link: https://lore.kernel.org/r/20200104152107.11407-7-krzk@kernel.org

    Krzysztof Kozlowski
     
  • As we introduced the idle injection cooling device called
    cpuidle_cooling, let's be consistent and rename the cpu_cooling to
    cpufreq_cooling as this one mitigates with OPPs changes.

    Signed-off-by: Daniel Lezcano
    Acked-by: Viresh Kumar
    Reviewed-by: Amit Kucheria
    Link: https://lore.kernel.org/r/20191219225317.17158-3-daniel.lezcano@linaro.org

    Daniel Lezcano
     
  • Provide some documentation for the idle injection cooling effect in
    order to let people to understand the rational of the approach for the
    idle injection CPU cooling device.

    Signed-off-by: Daniel Lezcano
    Acked-by: Viresh Kumar
    Link: https://lore.kernel.org/r/20191219225317.17158-1-daniel.lezcano@linaro.org

    Daniel Lezcano
     

23 Jan, 2020

1 commit

  • gpiochip_set_chained_irqchip() would assign a chained handler
    to a GPIO chip. We now populate struct gpio_irq_chip for all
    chained GPIO irqchips so drop this function.

    Cc: Andy Shevchenko
    Signed-off-by: Linus Walleij
    Link: https://lore.kernel.org/r/20200113220800.77817-1-linus.walleij@linaro.org
    Signed-off-by: Linus Walleij

    Linus Walleij
     

21 Jan, 2020

1 commit


15 Jan, 2020

1 commit

  • The text in this new document is a response to recurring questions
    about the GPIO in-kernel API vs the userspace ABI. When do you use
    one or the other? It can be a bit intuitive, but I tried to sum it
    all up.

    Reviewed-by: Bartosz Golaszewski
    Link: https://lore.kernel.org/r/20200108001712.47500-1-linus.walleij@linaro.org
    Signed-off-by: Linus Walleij

    Linus Walleij
     

06 Jan, 2020

1 commit


16 Dec, 2019

2 commits

  • devm_gpiod_get_array and devm_gpiod_get_array_optional were missing
    from the list. Add them.

    Signed-off-by: Matti Vaittinen
    Link: https://lore.kernel.org/r/f56dce4fcb71592cbcf0fc48a841f86f52770d4c.1576054779.git.matti.vaittinen@fi.rohmeurope.com
    Signed-off-by: Linus Walleij

    Matti Vaittinen
     
  • The interconnect graphs can be difficult to understand and the current
    "interconnect_summary" file doesn't even display links in any way.

    Add a new "interconnect_graph" file to debugfs in the graphviz "dot"
    format which describes interconnect providers, nodes and links.

    The file is human-readable and can be visualized by piping through
    graphviz. Example:

    ssh $TARGET cat /sys/kernel/debug/interconnect/interconnect_graph \
    | dot -Tsvg > interconnect_graph.svg

    Signed-off-by: Leonard Crestez
    Reviewed-by: Greg Kroah-Hartman
    Reviewed-by: Bjorn Andersson
    Signed-off-by: Georgi Djakov

    Leonard Crestez
     

12 Dec, 2019

1 commit

  • Many IPMB devices don't support smbus protocol and this driver
    only supports the smbus protocol at the moment.

    Added support for the i2c protocol as well. There will be a variable
    "i2c-protocol" passed by the device tree or ACPI table which determines
    whether the protocol is i2c or smbus.

    Signed-off-by: Vijay Khemka
    Reviewed-by: Asmaa Mnebhi
    Message-Id:
    [IPMB.txt had moved to driver-api/ipmb.rst, I adjusted]
    Signed-off-by: Corey Minyard

    Vijay Khemka
     

06 Dec, 2019

1 commit

  • Pull thermal management updates from Zhang Rui:

    - Fix a deadlock regression in thermal core framework, which was
    introduced in 5.3 (Wei Wang)

    - Initialize thermal control framework earlier to enable thermal
    mitigation during boot (Amit Kucheria)

    - Convert the Intelligent Power Allocator (IPA) thermal governor to
    follow the generic PM_EM instead of its own Energy Model (Quentin
    Perret)

    - Introduce a new Amlogic soc thermal driver (Guillaume La Roque)

    - Add interrupt support for tsens thermal driver (Amit Kucheria)

    - Add support for MSM8956/8976 in tsens thermal driver
    (AngeloGioacchino Del Regno)

    - Add support for r8a774b1 in rcar thermal driver (Biju Das)

    - Add support for Thermal Monitor Unit v2 in qoriq thermal driver
    (Yuantian Tang)

    - Some other fixes/cleanups on thermal core framework and soc thermal
    drivers (Colin Ian King, Daniel Lezcano, Hsin-Yi Wang, Tian Tao)

    * 'thermal/next' of git://git.kernel.org/pub/scm/linux/kernel/git/thermal/linux: (32 commits)
    thermal: Fix deadlock in thermal thermal_zone_device_check
    thermal: cpu_cooling: Migrate to using the EM framework
    thermal: cpu_cooling: Make the power-related code depend on IPA
    PM / EM: Declare EM data types unconditionally
    arm64: defconfig: Enable CONFIG_ENERGY_MODEL
    drivers: thermal: tsens: fix potential integer overflow on multiply
    thermal: cpu_cooling: Reorder the header file
    thermal: cpu_cooling: Remove pointless dependency on CONFIG_OF
    thermal: no need to set .owner when using module_platform_driver
    thermal: qcom: tsens-v1: Fix kfree of a non-pointer value
    cpufreq: qcom-hw: Move driver initialization earlier
    clk: qcom: Initialize clock drivers earlier
    cpufreq: Initialize cpufreq-dt driver earlier
    cpufreq: Initialize the governors in core_initcall
    thermal: Initialize thermal subsystem earlier
    thermal: Remove netlink support
    dt: thermal: tsens: Document compatible for MSM8976/56
    thermal: qcom: tsens-v1: Add support for MSM8956 and MSM8976
    MAINTAINERS: add entry for Amlogic Thermal driver
    thermal: amlogic: Add thermal driver to support G12 SoCs
    ...

    Linus Torvalds
     

03 Dec, 2019

1 commit

  • Pull Documentation updates from Jonathan Corbet:
    "Here are the main documentation changes for 5.5:

    - Various kerneldoc script enhancements.

    - More RST conversions; those are slowing down as we run out of
    things to convert, but we're a ways from done still.

    - Dan's "maintainer profile entry" work landed at last. Now we just
    need to get maintainers to fill in the profiles...

    - A reworking of the parallel build setup to work better with a
    variety of systems (and to not take over huge systems entirely in
    particular).

    - The MAINTAINERS file is now converted to RST during the build.
    Hopefully nobody ever tries to print this thing, or they will need
    to load a lot of paper.

    - A script and documentation making it easy for maintainers to add
    Link: tags at commit time.

    Also included is the removal of a bunch of spurious CR characters"

    * tag 'docs-5.5a' of git://git.lwn.net/linux: (91 commits)
    docs: remove a bunch of stray CRs
    docs: fix up the maintainer profile document
    libnvdimm, MAINTAINERS: Maintainer Entry Profile
    Maintainer Handbook: Maintainer Entry Profile
    MAINTAINERS: Reclaim the P: tag for Maintainer Entry Profile
    docs, parallelism: Rearrange how jobserver reservations are made
    docs, parallelism: Do not leak blocking mode to other readers
    docs, parallelism: Fix failure path and add comment
    Documentation: Remove bootmem_debug from kernel-parameters.txt
    Documentation: security: core.rst: fix warnings
    Documentation/process/howto/kokr: Update for 4.x -> 5.x versioning
    Documentation/translation: Use Korean for Korean translation title
    docs/memory-barriers.txt: Remove remaining references to mmiowb()
    docs/memory-barriers.txt/kokr: Update I/O section to be clearer about CPU vs thread
    docs/memory-barriers.txt/kokr: Fix style, spacing and grammar in I/O section
    Documentation/kokr: Kill all references to mmiowb()
    docs/memory-barriers.txt/kokr: Rewrite "KERNEL I/O BARRIER EFFECTS" section
    docs: Add initial documentation for devfreq
    Documentation: Document how to get links with git am
    docs: Add request_irq() documentation
    ...

    Linus Torvalds
     

02 Dec, 2019

2 commits

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

    Core changes:

    - Expose pull up/down flags for the GPIO character device to
    userspace.

    After clear input from the RaspberryPi and Beagle communities, it
    has been established that prototyping, industrial automation and
    make communities strongly need this feature, and as we want people
    to use the character device, we have implemented the simple pull
    up/down interface for GPIO lines.

    This means we can specify that a (chip-specific) pull up/down
    resistor can be enabled, but does not offer fine-grained control
    such as cases where the resistance of the same pull resistor can be
    controlled (yet).

    - Introduce devm_fwnode_gpiod_get_index() and start to phase out the
    old symbol devm_fwnode_get_index_gpiod_from_child().

    - A bit of documentation clean-up work.

    - Introduce a define for GPIO line directions and deploy it in all
    GPIO drivers in the drivers/gpio directory.

    - Add a special callback to populate pin ranges when cooperating with
    the pin control subsystem and registering ranges as part of adding
    a gpiolib driver and a gpio_irq_chip driver at the same time. This
    is also deployed in the Intel Merrifield driver.

    New drivers:

    - RDA Micro GPIO controller.

    - XGS-iproc GPIO driver.

    Driver improvements:

    - Wake event and debounce support on the Tegra 186 driver.

    - Finalize the Aspeed SGPIO driver.

    - MPC8xxx uses a normal IRQ handler rather than a chained handler"

    * tag 'gpio-v5.5-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio: (64 commits)
    gpio: Add TODO item for regmap helper
    Documentation: gpio: driver.rst: Fix warnings
    gpio: of: Fix bogus reference to gpiod_get_count()
    gpiolib: Grammar s/manager/managed/
    gpio: lynxpoint: Setup correct IRQ handlers
    MAINTAINERS: Replace my email by one @kernel.org
    gpiolib: acpi: Make acpi_gpiochip_alloc_event always return AE_OK
    gpio/mpc8xxx: fix qoriq GPIO reading
    gpio: mpc8xxx: Don't overwrite default irq_set_type callback
    gpiolib: acpi: Print pin number on acpi_gpiochip_alloc_event errors
    gpiolib: fix coding style in gpiod_hog()
    drm/bridge: ti-tfp410: switch to using fwnode_gpiod_get_index()
    gpio: merrifield: Pass irqchip when adding gpiochip
    gpio: merrifield: Add GPIO pin mapping ranges via callback
    gpiolib: Introduce ->add_pin_ranges() callback
    gpio: mmio: remove untrue leftover comment
    gpio: em: Use platform_get_irq() to obtain interrupts
    gpio: tegra186: Add debounce support
    gpio: tegra186: Program interrupt route mapping
    gpio: tegra186: Derive register offsets from bank/port
    ...

    Linus Torvalds
     
  • Pull MFD updates from Lee Jones:
    "Core Frameworks:
    - Add support for a "resource managed strongly uncachable ioremap"
    call
    - Provide a collection of MFD helper macros
    - Remove mfd_clone_cell() from MFD core
    - Add NULL de-reference protection in MFD core
    - Remove superfluous function fd_platform_add_cell() from MFD core
    - Honour Device Tree's request to disable a device

    New Drivers:
    - Add support for MediaTek MT6323 PMIC

    New Device Support:
    - Add support for Gemini Lake to Intel LPSS PCI
    - Add support for Cherry Trail Crystal Cover PMIC to Intel SoC PMIC
    CRC
    - Add support for PM{I}8950 to Qualcomm SPMI PMIC
    - Add support for U8420 to ST-Ericsson DB8500
    - Add support for Comet Lake PCH-H to Intel LPSS PCI

    New Functionality:
    - Add support for requested supply clocks; madera-core

    Fix-ups:
    - Lower interrupt priority; rk808
    - Use provided helpers (macros, group functions, defines); rk808,
    ipaq-micro, ab8500-core, db8500-prcmu, mt6397-core, cs5535-mfd
    - Only allocate IRQs on request; max77620
    - Use simplified API; arizona-core
    - Remove redundant and/or duplicated code; wm8998-tables, arizona,
    syscon
    - Device Tree binding fix-ups; madera, max77650, max77693
    - Remove mfd_cell->id abuse hack; cs5535-mfd
    - Remove only user of mfd_clone_cell(); cs5535-mfd
    - Make resources static; rohm-bd70528

    Bug Fixes:
    - Fix product ID for RK818; rk808
    - Fix Power Key; rk808
    - Fix booting on the BananaPi; mt6397-core
    - Endian fix-ups; twl.h
    - Fix static error checker warnings; ti_am335x_tscadc"

    * tag 'mfd-next-5.5' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd: (47 commits)
    Revert "mfd: syscon: Set name of regmap_config"
    mfd: ti_am335x_tscadc: Fix static checker warning
    mfd: bd70528: Staticize bit value definitions
    mfd: mfd-core: Honour Device Tree's request to disable a child-device
    dt-bindings: mfd: max77693: Fix missing curly brace
    mfd: intel-lpss: Add Intel Comet Lake PCH-H PCI IDs
    mfd: db8500-prcmu: Support U8420-sysclk firmware
    dt-bindings: mfd: max77650: Convert the binding document to yaml
    mfd: mfd-core: Move pdev->mfd_cell creation back into mfd_add_device()
    mfd: mfd-core: Remove usage counting for .{en,dis}able() call-backs
    x86: olpc-xo1-sci: Remove invocation of MFD's .enable()/.disable() call-backs
    x86: olpc-xo1-pm: Remove invocation of MFD's .enable()/.disable() call-backs
    mfd: mfd-core: Remove mfd_clone_cell()
    mfd: mfd-core: Protect against NULL call-back function pointer
    mfd: cs5535-mfd: Register clients using their own dedicated MFD cell entries
    mfd: cs5535-mfd: Request shared IO regions centrally
    mfd: cs5535-mfd: Remove mfd_cell->id hack
    mfd: cs5535-mfd: Use PLATFORM_DEVID_* defines and tidy error message
    mfd: intel_soc_pmic_crc: Add "cht_crystal_cove_pmic" cell to CHT cells
    mfd: madera: Add support for requesting the supply clocks
    ...

    Linus Torvalds
     

28 Nov, 2019

4 commits

  • Pull drm updates from Dave Airlie:
    "Lots of stuff in here, though it hasn't been too insane this merge
    apart from dealing with the security fun.

    uapi:
    - export different colorspace properties on DP vs HDMI
    - new fourcc for ARM 16x16 block format
    - syncobj: allow querying last submitted timeline value
    - DRM_FORMAT_BIG_ENDIAN defined as unsigned

    core:
    - allow using gem vma manager in ttm
    - connector/encoder/bridge doc fixes
    - allow more than 3 encoders for a connector
    - displayport mst suspend/resume reprobing support
    - vram lazy unmapping, uniform vram mm and gem vram
    - edid cleanups + AVI informframe bar info
    - displayport helpers - dpcd parser added

    dp_cec:
    - Allow a connector to be associated with a cec device

    ttm:
    - pipelining with no_gpu_wait fix
    - always keep BOs on the LRU

    sched:
    - allow free_job routine to sleep

    i915:
    - Block userptr from mappable GTT
    - i915 perf uapi versioning
    - OA stream dynamic reconfiguration
    - make context persistence optional
    - introduce DRM_I915_UNSTABLE Kconfig
    - add fake lmem testing under unstable
    - BT.2020 support for DP MSA
    - struct mutex elimination
    - Tigerlake display/PLL/power management improvements
    - Jasper Lake PCH support
    - refactor PMU for multiple GPUs
    - Icelake firmware update
    - Split out vga + switcheroo code

    amdgpu:
    - implement dma-buf import/export without helpers
    - vega20 RAS enablement
    - DC i2c over aux fixes
    - renoir GPU reset
    - DC HDCP support
    - BACO support for CI/VI asics
    - MSI-X support
    - Arcturus EEPROM support
    - Arcturus VCN encode support
    - VCN dynamic powergating on RV/RV2

    amdkfd:
    - add navi12/14/renoir support to kfd

    radeon:
    - SI dpm fix ported from amdgpu
    - fix bad DMA on ppc platforms

    gma500:
    - memory leak fixes

    qxl:
    - convert to new gem mmap

    exynos:
    - build warning fix

    komeda:
    - add aclk sysfs attribute

    v3d:
    - userspace cleanup uapi change

    i810:
    - fix for underflow in dispatch ioctls

    ast:
    - refactor show_cursor

    mgag200:
    - refactor show_cursor

    arcgpu:
    - encoder finding improvements

    mediatek:
    - mipi_tx, dsi and partial crtc support for MT8183 SoC
    - rotation support

    meson:
    - add suspend/resume support

    omap:
    - misc refactors

    tegra:
    - DisplayPort support for Tegra 210, 186 and 194.
    - IOMMU-backed DMA API fixes

    panfrost:
    - fix lockdep issue
    - simplify devfreq integration

    rcar-du:
    - R8A774B1 SoC support
    - fixes for H2 ES2.0

    sun4i:
    - vcc-dsi regulator support

    virtio-gpu:
    - vmexit vs spinlock fix
    - move to gem shmem helpers
    - handle large command buffers with cma"

    * tag 'drm-next-2019-11-27' of git://anongit.freedesktop.org/drm/drm: (1855 commits)
    drm/amdgpu: invalidate mmhub semaphore workaround in gmc9/gmc10
    drm/amdgpu: initialize vm_inv_eng0_sem for gfxhub and mmhub
    drm/amd/amdgpu/sriov skip RLCG s/r list for arcturus VF.
    drm/amd/amdgpu/sriov temporarily skip ras,dtm,hdcp for arcturus VF
    drm/amdgpu/gfx10: re-init clear state buffer after gpu reset
    merge fix for "ftrace: Rework event_create_dir()"
    drm/amdgpu: Update Arcturus golden registers
    drm/amdgpu/gfx10: fix out-of-bound mqd_backup array access
    drm/amdgpu/gfx10: explicitly wait for cp idle after halt/unhalt
    Revert "drm/amd/display: enable S/G for RAVEN chip"
    drm/amdgpu: disable gfxoff on original raven
    drm/amdgpu: remove experimental flag for Navi14
    drm/amdgpu: disable gfxoff when using register read interface
    drm/amdgpu/powerplay: properly set PP_GFXOFF_MASK (v2)
    drm/amdgpu: fix bad DMA from INTERRUPT_CNTL2
    drm/radeon: fix bad DMA from INTERRUPT_CNTL2
    drm/amd/display: Fix debugfs on MST connectors
    drm/amdgpu/nv: add asic func for fetching vbios from rom directly
    drm/amdgpu: put flush_delayed_work at first
    drm/amdgpu/vcn2.5: fix the enc loop with hw fini
    ...

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

    There's a few minor cleanups and fixes in here, but the majority of
    the patches in here fall into two buckets:

    - debugfs api cleanups and fixes

    - driver core device link support for boot dependancy issues

    The debugfs api cleanups are working to slowly refactor the debugfs
    apis so that it is even harder to use incorrectly. That work has been
    happening for the past few kernel releases and will continue over
    time, it's a long-term project/goal

    The driver core device link support missed 5.4 by just a bit, so it's
    been sitting and baking for many months now. It's from Saravana Kannan
    to help resolve the problems that DT-based systems have at boot time
    with dependancy graphs and kernel modules. Turns out that no one has
    actually tried to build a generic arm64 kernel with loads of modules
    and have it "just work" for a variety of platforms (like a distro
    kernel). The big problem turned out to be a lack of dependency
    information between different areas of DT entries, and the work here
    resolves that problem and now allows devices to boot properly, and
    quicker than a monolith kernel.

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

    * tag 'driver-core-5.5-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core: (68 commits)
    tracing: Remove unnecessary DEBUG_FS dependency
    of: property: Add device link support for interrupt-parent, dmas and -gpio(s)
    debugfs: Fix !DEBUG_FS debugfs_create_automount
    of: property: Add device link support for "iommu-map"
    of: property: Fix the semantics of of_is_ancestor_of()
    i2c: of: Populate fwnode in of_i2c_get_board_info()
    drivers: base: Fix Kconfig indentation
    firmware_loader: Fix labels with comma for builtin firmware
    driver core: Allow device link operations inside sync_state()
    driver core: platform: Declare ret variable only once
    cpu-topology: declare parse_acpi_topology in
    crypto: hisilicon: no need to check return value of debugfs_create functions
    driver core: platform: use the correct callback type for bus_find_device
    firmware_class: make firmware caching configurable
    driver core: Clarify documentation for fwnode_operations.add_links()
    mailbox: tegra: Fix superfluous IRQ error message
    net: caif: Fix debugfs on 64-bit platforms
    mac80211: Use debugfs_create_xul() helper
    media: c8sectpfe: no need to check return value of debugfs_create functions
    of: property: Add device link support for iommus, mboxes and io-channels
    ...

    Linus Torvalds
     
  • Pull staging / iio updates from Greg KH:
    "Here is the big staging and iio set of patches for the 5.5-rc1
    release.

    It's the usual huge collection of cleanup patches all over the
    drivers/staging/ area, along with a new staging driver, and a bunch of
    new IIO drivers as well.

    Full details are in the shortlog, but all of these have been in
    linux-next for a long time with no reported issues"

    * tag 'staging-5.5-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging: (548 commits)
    staging: vchiq: Have vchiq_dump_* functions return an error code
    staging: vchiq: Refactor indentation in vchiq_dump_* functions
    staging: fwserial: Fix Kconfig indentation (seven spaces)
    staging: vchiq_dump: Replace min with min_t
    staging: vchiq: Fix block comment format in vchiq_dump()
    staging: octeon: indent with tabs instead of spaces
    staging: comedi: usbduxfast: usbduxfast_ai_cmdtest rounding error
    staging: most: core: remove sysfs attr remove_link
    staging: vc04: Fix Kconfig indentation
    staging: pi433: Fix Kconfig indentation
    staging: nvec: Fix Kconfig indentation
    staging: most: Fix Kconfig indentation
    staging: fwserial: Fix Kconfig indentation
    staging: fbtft: Fix Kconfig indentation
    fbtft: Drop OF dependency
    fbtft: Make use of device property API
    fbtft: Drop useless #ifdef CONFIG_OF and dead code
    fbtft: Describe function parameters in kernel-doc
    fbtft: Make sure string is NULL terminated
    staging: rtl8723bs: remove set but not used variable 'change', 'pos'
    ...

    Linus Torvalds
     
  • Pull rdma updates from Jason Gunthorpe:
    "Again another fairly quiet cycle with few notable core code changes
    and the usual variety of driver bug fixes and small improvements.

    - Various driver updates and bug fixes for siw, bnxt_re, hns, qedr,
    iw_cxgb4, vmw_pvrdma, mlx5

    - Improvements in SRPT from working with iWarp

    - SRIOV VF support for bnxt_re

    - Skeleton kernel-doc files for drivers/infiniband

    - User visible counters for events related to ODP

    - Common code for tracking of mmap lifetimes so that drivers can link
    HW object liftime to a VMA

    - ODP bug fixes and rework

    - RDMA READ support for efa

    - Removal of the very old cxgb3 driver"

    * tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma: (168 commits)
    RDMA/hns: Delete unnecessary callback functions for cq
    RDMA/hns: Rename the functions used inside creating cq
    RDMA/hns: Redefine the member of hns_roce_cq struct
    RDMA/hns: Redefine interfaces used in creating cq
    RDMA/efa: Expose RDMA read related attributes
    RDMA/efa: Support remote read access in MR registration
    RDMA/efa: Store network attributes in device attributes
    IB/hfi1: remove redundant assignment to variable ret
    RDMA/bnxt_re: Fix missing le16_to_cpu
    RDMA/bnxt_re: Fix stat push into dma buffer on gen p5 devices
    RDMA/bnxt_re: Fix chip number validation Broadcom's Gen P5 series
    RDMA/bnxt_re: Fix Kconfig indentation
    IB/mlx5: Implement callbacks for getting VFs GUID attributes
    IB/ipoib: Add ndo operation for getting VFs GUID attributes
    IB/core: Add interfaces to get VF node and port GUIDs
    net/core: Add support for getting VF GUIDs
    RDMA/qedr: Fix null-pointer dereference when calling rdma_user_mmap_get_offset
    RDMA/cm: Use refcount_t type for refcount variable
    IB/mlx5: Support extended number of strides for Striding RQ
    IB/mlx4: Update HW GID table while adding vlan GID
    ...

    Linus Torvalds
     

26 Nov, 2019

1 commit

  • Pull MIPS updates from Paul Burton:
    "The main MIPS changes for 5.5:

    - Atomics-related code sees some rework & cleanup, most notably
    allowing Loongson LL/SC errata workarounds to be more bulletproof &
    their correctness to be checked at build time.

    - Command line setup code is simplified somewhat, resolving various
    corner cases.

    - MIPS kernels can now be built with kcov code coverage support.

    - We can now build with CONFIG_FORTIFY_SOURCE=y.

    - Miscellaneous cleanups.

    And some platform specific changes:

    - We now disable some broken TLB functionality on certain Ingenic
    systems, and JZ4780 systems gain some devicetree nodes to support
    more devices.

    - Loongson support sees a number of cleanups, and we gain initial
    support for Loongson 3A R4 systems.

    - We gain support for MediaTek MT7688-based GARDENA Smart Gateway
    systems.

    - SGI IP27 (Origin 2*) see a number of fixes, cleanups &
    simplifications.

    - SGI IP30 (Octane) systems are now supported"

    * tag 'mips_5.5' of git://git.kernel.org/pub/scm/linux/kernel/git/mips/linux: (107 commits)
    MIPS: SGI-IP27: Enable ethernet phy on second Origin 200 module
    MIPS: PCI: Fix fake subdevice ID for IOC3
    MIPS: Ingenic: Disable abandoned HPTLB function.
    MIPS: PCI: remember nasid changed by set interrupt affinity
    MIPS: SGI-IP27: Fix crash, when CPUs are disabled via nr_cpus parameter
    mips: add support for folded p4d page tables
    mips: drop __pXd_offset() macros that duplicate pXd_index() ones
    mips: fix build when "48 bits virtual memory" is enabled
    MIPS: math-emu: Reuse name array in debugfs_fpuemu()
    MIPS: allow building with kcov coverage
    MIPS: Loongson64: Drop setup_pcimap
    MIPS: Loongson2ef: Convert to early_printk_8250
    MIPS: Drop CPU_SUPPORTS_UNCACHED_ACCELERATED
    MIPS: Loongson{2ef, 32, 64} convert to generic fw cmdline
    MIPS: Drop pmon.h
    MIPS: Loongson: Unify LOONGSON3/LOONGSON64 Kconfig usage
    MIPS: Loongson: Rename LOONGSON1 to LOONGSON32
    MIPS: Loongson: Fix return value of loongson_hwmon_init
    MIPS: add support for SGI Octane (IP30)
    MIPS: PCI: make phys_to_dma/dma_to_phys for pci-xtalk-bridge common
    ...

    Linus Torvalds
     

22 Nov, 2019

1 commit


20 Nov, 2019

1 commit

  • The devfreq subsystem has plenty of kernel-doc comments but they're not
    currently included in sphinx documentation.

    Add a minimal devfreq.rst file which mostly just includes kernel-doc
    comments from devfreq source. This also exposes a number of kernel-doc
    warnings on `make htmldocs`

    Signed-off-by: Leonard Crestez
    Link: https://lore.kernel.org/r/e32fa9de8a60060a6ee5fc42f163111034f9a550.1574181341.git.leonard.crestez@nxp.com
    Signed-off-by: Jonathan Corbet

    Leonard Crestez
     

12 Nov, 2019

1 commit


11 Nov, 2019

1 commit


08 Nov, 2019

1 commit


07 Nov, 2019

1 commit

  • There are no users of netlink messages for thermal inside the kernel.
    Remove the code and adjust the documentation.

    Signed-off-by: Amit Kucheria
    Acked-by: Viresh Kumar
    Signed-off-by: Daniel Lezcano
    Link: https://lore.kernel.org/r/8ff02cf62186c7a54fff325fad40a2e9ca3affa6.1571656014.git.amit.kucheria@linaro.org

    Amit Kucheria
     

06 Nov, 2019

4 commits


01 Nov, 2019

1 commit

  • In case a driver wants to return an error from qc_prep, return enum
    ata_completion_errors. sata_mv is one of those drivers -- see the next
    patch. Other drivers return the newly defined AC_ERR_OK.

    [v2] use enum ata_completion_errors and AC_ERR_OK.

    Signed-off-by: Jiri Slaby
    Cc: Jens Axboe
    Cc: linux-ide@vger.kernel.org
    Signed-off-by: Jens Axboe

    Jiri Slaby