06 Jan, 2019

1 commit

  • Pull PCI updates from Bjorn Helgaas:

    - Remove unused lists from ASPM pcie_link_state (Frederick Lawler)

    - Fix Broadcom CNB20LE host bridge unintended sign extension (Colin Ian
    King)

    - Expand Kconfig "PF" acronyms (Randy Dunlap)

    - Update MAINTAINERS for arch/x86/kernel/early-quirks.c (Bjorn Helgaas)

    - Add missing include to drivers/pci.h (Alexandru Gagniuc)

    - Override Synopsys USB 3.x HAPS device class so dwc3-haps can claim it
    instead of xhci (Thinh Nguyen)

    - Clean up P2PDMA documentation (Randy Dunlap)

    - Allow runtime PM even if driver doesn't supply callbacks (Jarkko
    Nikula)

    - Remove status check after submitting Switchtec MRPC Firmware Download
    commands to avoid Completion Timeouts (Kelvin Cao)

    - Set Switchtec coherent DMA mask to allow 64-bit DMA (Boris Glimcher)

    - Fix Switchtec SWITCHTEC_IOCTL_EVENT_IDX_ALL flag overwrite issue
    (Joey Zhang)

    - Enable write combining for Switchtec MRPC Input buffers (Kelvin Cao)

    - Add Switchtec MRPC DMA mode support (Wesley Sheng)

    - Skip VF scanning on powerpc, which does this in firmware (Sebastian
    Ott)

    - Add Amlogic Meson PCIe controller driver and DT bindings (Yue Wang)

    - Constify histb dw_pcie_host_ops structure (Julia Lawall)

    - Support multiple power domains for imx6 (Leonard Crestez)

    - Constify layerscape driver data (Stefan Agner)

    - Update imx6 Kconfig to allow imx6 PCIe in imx7 kernel (Trent Piepho)

    - Support armada8k GPIO reset (Baruch Siach)

    - Support suspend/resume support on imx6 (Leonard Crestez)

    - Don't hard-code DesignWare DBI/ATU offst (Stephen Warren)

    - Skip i.MX6 PHY setup on i.MX7D (Andrey Smirnov)

    - Remove Jianguo Sun from HiSilicon STB maintainers (Lorenzo Pieralisi)

    - Mask DesignWare interrupts instead of disabling them to avoid lost
    interrupts (Marc Zyngier)

    - Add locking when acking DesignWare interrupts (Marc Zyngier)

    - Ack DesignWare interrupts in the proper callbacks (Marc Zyngier)

    - Use devm resource parser in mediatek (Honghui Zhang)

    - Remove unused mediatek "num-lanes" DT property (Honghui Zhang)

    - Add UniPhier PCIe controller driver and DT bindings (Kunihiko
    Hayashi)

    - Enable MSI for imx6 downstream components (Richard Zhu)

    * tag 'pci-v4.21-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci: (40 commits)
    PCI: imx: Enable MSI from downstream components
    s390/pci: skip VF scanning
    PCI/IOV: Add flag so platforms can skip VF scanning
    PCI/IOV: Factor out sriov_add_vfs()
    PCI: uniphier: Add UniPhier PCIe host controller support
    dt-bindings: PCI: Add UniPhier PCIe host controller description
    PCI: amlogic: Add the Amlogic Meson PCIe controller driver
    dt-bindings: PCI: meson: add DT bindings for Amlogic Meson PCIe controller
    arm64: dts: mt7622: Remove un-used property for PCIe
    arm: dts: mt7623: Remove un-used property for PCIe
    dt-bindings: PCI: MediaTek: Remove un-used property
    PCI: mediatek: Remove un-used variant in struct mtk_pcie_port
    MAINTAINERS: Remove Jianguo Sun from HiSilicon STB DWC entry
    PCI: dwc: Don't hard-code DBI/ATU offset
    PCI: imx: Add imx6sx suspend/resume support
    PCI: armada8k: Add support for gpio controlled reset signal
    PCI: dwc: Adjust Kconfig to allow IMX6 PCIe host on IMX7
    PCI: dwc: layerscape: Constify driver data
    PCI: imx: Add multi-pd support
    PCI: Override Synopsys USB 3.x HAPS device class
    ...

    Linus Torvalds
     

02 Jan, 2019

1 commit

  • Pull dmaengine updates from Vinod Koul:
    "This includes a new driver, removes R-Mobile APE6 as it is no longer
    used, sprd cyclic dma support, last batch of dma_slave_config
    direction removal and random updates to bunch of drivers.

    Summary:
    - New driver for UniPhier MIO DMA controller
    - Remove R-Mobile APE6 support
    - Sprd driver updates and support for cyclic link-list
    - Remove dma_slave_config direction usage from rest of drivers
    - Minor updates to dmatest, dw-dmac, zynqmp and bcm dma drivers"

    * tag 'dmaengine-4.21-rc1' of git://git.infradead.org/users/vkoul/slave-dma: (48 commits)
    dmaengine: qcom_hidma: convert to DEFINE_SHOW_ATTRIBUTE
    dmaengine: pxa: remove DBGFS_FUNC_DECL()
    dmaengine: mic_x100_dma: convert to DEFINE_SHOW_ATTRIBUTE
    dmaengine: amba-pl08x: convert to DEFINE_SHOW_ATTRIBUTE
    dmaengine: Documentation: Add documentation for multi chan testing
    dmaengine: dmatest: Add transfer_size parameter
    dmaengine: dmatest: Add alignment parameter
    dmaengine: dmatest: Use fixed point div to calculate iops
    dmaengine: dmatest: Add support for multi channel testing
    dmaengine: rcar-dmac: Document R8A774C0 bindings
    dt-bindings: dmaengine: usb-dmac: Add binding for r8a774c0
    dmaengine: zynqmp_dma: replace spin_lock_bh with spin_lock_irqsave
    dmaengine: sprd: Add me as one of the module authors
    dmaengine: sprd: Support DMA 2-stage transfer mode
    dmaengine: sprd: Support DMA link-list cyclic callback
    dmaengine: sprd: Set cur_desc as NULL when free or terminate one dma channel
    dmaengine: sprd: Fix the last link-list configuration
    dmaengine: sprd: Get transfer residue depending on the transfer direction
    dmaengine: sprd: Remove direction usage from struct dma_slave_config
    dmaengine: dmatest: fix a small memory leak in dmatest_func()
    ...

    Linus Torvalds
     

30 Dec, 2018

1 commit

  • Pull documentation update from Jonathan Corbet:
    "A fairly normal cycle for documentation stuff. We have a new document
    on perf security, more Italian translations, more improvements to the
    memory-management docs, improvements to the pathname lookup
    documentation, and the usual array of smaller fixes.

    As is often the case, there are a few reaches outside of
    Documentation/ to adjust kerneldoc comments"

    * tag 'docs-5.0' of git://git.lwn.net/linux: (38 commits)
    docs: improve pathname-lookup document structure
    configfs: fix wrong name of struct in documentation
    docs/mm-api: link slab_common.c to "The Slab Cache" section
    slab: make kmem_cache_create{_usercopy} description proper kernel-doc
    doc:process: add links where missing
    docs/core-api: make mm-api.rst more structured
    x86, boot: documentation whitespace fixup
    Documentation: devres: note checking needs when converting
    doc:it: add some process/* translations
    doc:it: fixes in process/1.Intro
    Documentation: convert path-lookup from markdown to resturctured text
    Documentation/admin-guide: update admin-guide index.rst
    Documentation/admin-guide: introduce perf-security.rst file
    scripts/kernel-doc: Fix struct and struct field attribute processing
    Documentation: dev-tools: Fix typos in index.rst
    Correct gen_init_cpio tool's documentation
    Document /proc/pid PID reuse behavior
    Documentation: update path-lookup.md for parallel lookups
    Documentation: Use "while" instead of "whilst"
    dmaengine: Add mailing list address to the documentation
    ...

    Linus Torvalds
     

29 Dec, 2018

3 commits

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

    Lots of different types of driver things in here, as this tree seems
    to be the "collection of various driver subsystems not big enough to
    have their own git tree" lately.

    Anyway, some highlights of the changes in here:

    - binderfs: is it a rule that all driver subsystems will eventually
    grow to have their own filesystem? Binder now has one to handle the
    use of it in containerized systems.

    This was discussed at the Plumbers conference a few months ago and
    knocked into mergable shape very fast by Christian Brauner. Who
    also has signed up to be another binder maintainer, showing a
    distinct lack of good judgement :)

    - binder updates and fixes

    - mei driver updates

    - fpga driver updates and additions

    - thunderbolt driver updates

    - soundwire driver updates

    - extcon driver updates

    - nvmem driver updates

    - hyper-v driver updates

    - coresight driver updates

    - pvpanic driver additions and reworking for more device support

    - lp driver updates. Yes really, it's _finally_ moved to the proper
    parallal port driver model, something I never thought I would see
    happen. Good stuff.

    - other tiny driver updates and fixes.

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

    * tag 'char-misc-4.21-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc: (116 commits)
    MAINTAINERS: add another Android binder maintainer
    intel_th: msu: Fix an off-by-one in attribute store
    stm class: Add a reference to the SyS-T document
    stm class: Fix a module refcount leak in policy creation error path
    char: lp: use new parport device model
    char: lp: properly count the lp devices
    char: lp: use first unused lp number while registering
    char: lp: detach the device when parallel port is removed
    char: lp: introduce list to save port number
    bus: qcom: remove duplicated include from qcom-ebi2.c
    VMCI: Use memdup_user() rather than duplicating its implementation
    char/rtc: Use of_node_name_eq for node name comparisons
    misc: mic: fix a DMA pool free failure
    ptp: fix an IS_ERR() vs NULL check
    genwqe: Fix size check
    binder: implement binderfs
    binder: fix use-after-free due to ksys_close() during fdget()
    bus: fsl-mc: remove duplicated include files
    bus: fsl-mc: explicitly define the fsl_mc_command endianness
    misc: ti-st: make array read_ver_cmd static, shrinks object size
    ...

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

    All of the usual bits are in here:

    - loads of USB gadget driver updates and additions

    - new device ids

    - phy driver updates

    - xhci reworks and new features

    - typec updates

    Full details are in the shortlog.

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

    * tag 'usb-4.21-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb: (142 commits)
    USB: serial: option: add Fibocom NL678 series
    cdc-acm: fix abnormal DATA RX issue for Mediatek Preloader.
    usb: r8a66597: Fix a possible concurrency use-after-free bug in r8a66597_endpoint_disable()
    usb: typec: tcpm: Extend the matching rules on PPS APDO selection
    usb: typec: Improve Alt Mode documentation
    usb: musb: dsps: fix runtime pm for peripheral mode
    usb: musb: dsps: fix otg state machine
    USB: serial: pl2303: add ids for Hewlett-Packard HP POS pole displays
    usb: renesas_usbhs: add support for RZ/G2E
    usb: ehci-omap: Fix deferred probe for phy handling
    usb: roles: Add a description for the class to Kconfig
    usb: renesas_usbhs: mark PM functions as __maybe_unused
    usb: core: Remove unnecessary memset()
    usb: host: isp1362-hcd: convert to DEFINE_SHOW_ATTRIBUTE
    phy: qcom-qmp: Expose provided clocks to DT
    dt-bindings: phy-qcom-qmp: Move #clock-cells to child
    phy: qcom-qmp: Utilize fully-specified DT registers
    dt-bindings: phy-qcom-qmp: Fix register underspecification
    phy: ti: fix semicolon.cocci warnings
    phy: dphy: Add configuration helpers
    ...

    Linus Torvalds
     
  • Pull GPIO updates from Linus Walleij:
    "This is the bulk of GPIO changes for the v4.21 kernel series.

    Core changes:

    - Some core changes are already in outside of this pull request as
    they came through the regulator tree, most notably
    devm_gpiod_unhinge() that removes devres refcount management from a
    GPIO descriptor. This is needed in subsystems such as regulators
    where the regulator core need to take over the reference counting
    and lifecycle management for a GPIO descriptor.

    - We dropped devm_gpiochip_remove() and devm_gpio_chip_match() as
    nothing needs it. We can bring it back if need be.

    - Add a global TODO so people see where we are going. This helps
    setting the direction now that we are two GPIO maintainers.

    - Handle the MMC CD/WP properties in the device tree core. (The bulk
    of patches activating this code is already merged through the
    MMC/SD tree.)

    - Augment gpiochip_request_own_desc() to pass a flag so we as
    gpiochips can request lines as active low or open drain etc even
    from ourselves.

    New drivers:

    - New driver for Cadence GPIO blocks.

    - New driver for Atmel SAMA5D2 PIOBU GPIO lines.

    Driver improvements:

    - A major refactoring of the PCA953x driver - this driver has been
    around for ages, and is now modernized to reduce code duplication
    that has stacked up and is using regmap to read write and cache
    registers.

    - Intel drivers are now maintained in a separate tree and start with
    a round of cleanups and unifications"

    * tag 'gpio-v4.21-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio: (99 commits)
    gpio: sama5d2-piobu: Depend on OF_GPIO
    gpio: Add Cadence GPIO driver
    dt-bindings: gpio: Add bindings for Cadence GPIO
    gpiolib-acpi: remove unused variable 'err', cleans up build warning
    gpio: mxs: read pin level directly instead of using .get
    gpio: aspeed: remove duplicated statement
    gpio: add driver for SAMA5D2 PIOBU pins
    dt-bindings: arm: atmel: describe SECUMOD usage as a GPIO controller
    gpio/mmc/of: Respect polarity in the device tree
    dt-bindings: gpio: rcar: Add r8a774c0 (RZ/G2E) support
    memory: omap-gpmc: Get the header of the enum
    ARM: omap1: Fix new user of gpiochip_request_own_desc()
    gpio: pca953x: Add regmap dependency for PCA953x driver
    gpio: raspberrypi-exp: decrease refcount on firmware dt node
    gpiolib: Fix return value of gpio_to_desc() stub if !GPIOLIB
    gpio: pca953x: Restore registers after suspend/resume cycle
    gpio: pca953x: Zap single use of pca953x_read_single()
    gpio: pca953x: Zap ad-hoc reg_output cache
    gpio: pca953x: Zap ad-hoc reg_direction cache
    gpio: pca953x: Perform basic regmap conversion
    ...

    Linus Torvalds
     

19 Dec, 2018

1 commit


17 Dec, 2018

1 commit


14 Dec, 2018

1 commit

  • Before things go out of hand, make it possible to pass
    flags when requesting "own" descriptors from a gpio_chip.
    This is necessary if the chip wants to request a GPIO with
    active low semantics, for example.

    Cc: Janusz Krzysztofik
    Cc: Thomas Petazzoni
    Cc: Jason Cooper
    Cc: Jiri Kosina
    Cc: Roger Quadros
    Reviewed-by: Gregory CLEMENT
    Signed-off-by: Linus Walleij

    Linus Walleij
     

11 Dec, 2018

1 commit


07 Dec, 2018

1 commit

  • Some documents are refering to others without links. With this
    patch I add those missing links.

    This patch affects only documents under process/ and labels where
    necessary.

    Signed-off-by: Federico Vaga
    Signed-off-by: Jonathan Corbet

    Federico Vaga
     

27 Nov, 2018

1 commit


21 Nov, 2018

1 commit


12 Nov, 2018

1 commit


27 Oct, 2018

1 commit

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

    Loads of things here, we have new code in all of these driver
    subsystems:
    - fpga
    - stm
    - extcon
    - nvmem
    - eeprom
    - hyper-v
    - gsmi
    - coresight
    - thunderbolt
    - vmw_balloon
    - goldfish
    - soundwire
    along with lots of fixes and minor changes to other small drivers.

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

    * tag 'char-misc-4.20-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc: (245 commits)
    Documentation/security-bugs: Clarify treatment of embargoed information
    lib: Fix ia64 bootloader linkage
    MAINTAINERS: Clarify UIO vs UIOVEC maintainer
    docs/uio: fix a grammar nitpick
    docs: fpga: document programming fpgas using regions
    fpga: add devm_fpga_region_create
    fpga: bridge: add devm_fpga_bridge_create
    fpga: mgr: add devm_fpga_mgr_create
    hv_balloon: Replace spin_is_locked() with lockdep
    sgi-xp: Replace spin_is_locked() with lockdep
    eeprom: New ee1004 driver for DDR4 memory
    eeprom: at25: remove unneeded 'at25_remove'
    w1: IAD Register is yet readable trough iad sys file. Fix snprintf (%u for unsigned, count for max size).
    misc: mic: scif: remove set but not used variables 'src_dma_addr, dst_dma_addr'
    misc: mic: fix a DMA pool free failure
    platform: goldfish: pipe: Add a blank line to separate varibles and code
    platform: goldfish: pipe: Remove redundant casting
    platform: goldfish: pipe: Call misc_deregister if init fails
    platform: goldfish: pipe: Move the file-scope goldfish_pipe_dev variable into the driver state
    platform: goldfish: pipe: Move the file-scope goldfish_pipe_miscdev variable into the driver state
    ...

    Linus Torvalds
     

25 Oct, 2018

2 commits

  • Pull PCI updates from Bjorn Helgaas:

    - Fix ASPM link_state teardown on removal (Lukas Wunner)

    - Fix misleading _OSC ASPM message (Sinan Kaya)

    - Make _OSC optional for PCI (Sinan Kaya)

    - Don't initialize ASPM link state when ACPI_FADT_NO_ASPM is set
    (Patrick Talbert)

    - Remove x86 and arm64 node-local allocation for host bridge structures
    (Punit Agrawal)

    - Pay attention to device-specific _PXM node values (Jonathan Cameron)

    - Support new Immediate Readiness bit (Felipe Balbi)

    - Differentiate between pciehp surprise and safe removal (Lukas Wunner)

    - Remove unnecessary pciehp includes (Lukas Wunner)

    - Drop pciehp hotplug_slot_ops wrappers (Lukas Wunner)

    - Tolerate PCIe Slot Presence Detect being hardwired to zero to
    workaround broken hardware, e.g., the Wilocity switch/wireless device
    (Lukas Wunner)

    - Unify pciehp controller & slot structs (Lukas Wunner)

    - Constify hotplug_slot_ops (Lukas Wunner)

    - Drop hotplug_slot_info (Lukas Wunner)

    - Embed hotplug_slot struct into users instead of allocating it
    separately (Lukas Wunner)

    - Initialize PCIe port service drivers directly instead of relying on
    initcall ordering (Keith Busch)

    - Restore PCI config state after a slot reset (Keith Busch)

    - Save/restore DPC config state along with other PCI config state
    (Keith Busch)

    - Reference count devices during AER handling to avoid race issue with
    concurrent hot removal (Keith Busch)

    - If an Upstream Port reports ERR_FATAL, don't try to read the Port's
    config space because it is probably unreachable (Keith Busch)

    - During error handling, use slot-specific reset instead of secondary
    bus reset to avoid link up/down issues on hotplug ports (Keith Busch)

    - Restore previous AER/DPC handling that does not remove and
    re-enumerate devices on ERR_FATAL (Keith Busch)

    - Notify all drivers that may be affected by error recovery resets
    (Keith Busch)

    - Always generate error recovery uevents, even if a driver doesn't have
    error callbacks (Keith Busch)

    - Make PCIe link active reporting detection generic (Keith Busch)

    - Support D3cold in PCIe hierarchies during system sleep and runtime,
    including hotplug and Thunderbolt ports (Mika Westerberg)

    - Handle hpmemsize/hpiosize kernel parameters uniformly, whether slots
    are empty or occupied (Jon Derrick)

    - Remove duplicated include from pci/pcie/err.c and unused variable
    from cpqphp (YueHaibing)

    - Remove driver pci_cleanup_aer_uncorrect_error_status() calls (Oza
    Pawandeep)

    - Uninline PCI bus accessors for better ftracing (Keith Busch)

    - Remove unused AER Root Port .error_resume method (Keith Busch)

    - Use kfifo in AER instead of a local version (Keith Busch)

    - Use threaded IRQ in AER bottom half (Keith Busch)

    - Use managed resources in AER core (Keith Busch)

    - Reuse pcie_port_find_device() for AER injection (Keith Busch)

    - Abstract AER interrupt handling to disconnect error injection (Keith
    Busch)

    - Refactor AER injection callbacks to simplify future improvments
    (Keith Busch)

    - Remove unused Netronome NFP32xx Device IDs (Jakub Kicinski)

    - Use bitmap_zalloc() for dma_alias_mask (Andy Shevchenko)

    - Add switch fall-through annotations (Gustavo A. R. Silva)

    - Remove unused Switchtec quirk variable (Joshua Abraham)

    - Fix pci.c kernel-doc warning (Randy Dunlap)

    - Remove trivial PCI wrappers for DMA APIs (Christoph Hellwig)

    - Add Intel GPU device IDs to spurious interrupt quirk (Bin Meng)

    - Run Switchtec DMA aliasing quirk only on NTB endpoints to avoid
    useless dmesg errors (Logan Gunthorpe)

    - Update Switchtec NTB documentation (Wesley Yung)

    - Remove redundant "default n" from Kconfig (Bartlomiej Zolnierkiewicz)

    - Avoid panic when drivers enable MSI/MSI-X twice (Tonghao Zhang)

    - Add PCI support for peer-to-peer DMA (Logan Gunthorpe)

    - Add sysfs group for PCI peer-to-peer memory statistics (Logan
    Gunthorpe)

    - Add PCI peer-to-peer DMA scatterlist mapping interface (Logan
    Gunthorpe)

    - Add PCI configfs/sysfs helpers for use by peer-to-peer users (Logan
    Gunthorpe)

    - Add PCI peer-to-peer DMA driver writer's documentation (Logan
    Gunthorpe)

    - Add block layer flag to indicate driver support for PCI peer-to-peer
    DMA (Logan Gunthorpe)

    - Map Infiniband scatterlists for peer-to-peer DMA if they contain P2P
    memory (Logan Gunthorpe)

    - Register nvme-pci CMB buffer as PCI peer-to-peer memory (Logan
    Gunthorpe)

    - Add nvme-pci support for PCI peer-to-peer memory in requests (Logan
    Gunthorpe)

    - Use PCI peer-to-peer memory in nvme (Stephen Bates, Steve Wise,
    Christoph Hellwig, Logan Gunthorpe)

    - Cache VF config space size to optimize enumeration of many VFs
    (KarimAllah Ahmed)

    - Remove unnecessary include (Bjorn Helgaas)

    - Fix VMD AERSID quirk Device ID matching (Jon Derrick)

    - Fix Cadence PHY handling during probe (Alan Douglas)

    - Signal Cadence Endpoint interrupts via AXI region 0 instead of last
    region (Alan Douglas)

    - Write Cadence Endpoint MSI interrupts with 32 bits of data (Alan
    Douglas)

    - Remove redundant controller tests for "device_type == pci" (Rob
    Herring)

    - Document R-Car E3 (R8A77990) bindings (Tho Vu)

    - Add device tree support for R-Car r8a7744 (Biju Das)

    - Drop unused mvebu PCIe capability code (Thomas Petazzoni)

    - Add shared PCI bridge emulation code (Thomas Petazzoni)

    - Convert mvebu to use shared PCI bridge emulation (Thomas Petazzoni)

    - Add aardvark Root Port emulation (Thomas Petazzoni)

    - Support 100MHz/200MHz refclocks for i.MX6 (Lucas Stach)

    - Add initial power management for i.MX7 (Leonard Crestez)

    - Add PME_Turn_Off support for i.MX7 (Leonard Crestez)

    - Fix qcom runtime power management error handling (Bjorn Andersson)

    - Update TI dra7xx unaligned access errata workaround for host mode as
    well as endpoint mode (Vignesh R)

    - Fix kirin section mismatch warning (Nathan Chancellor)

    - Remove iproc PAXC slot check to allow VF support (Jitendra Bhivare)

    - Quirk Keystone K2G to limit MRRS to 256 (Kishon Vijay Abraham I)

    - Update Keystone to use MRRS quirk for host bridge instead of open
    coding (Kishon Vijay Abraham I)

    - Refactor Keystone link establishment (Kishon Vijay Abraham I)

    - Simplify and speed up Keystone link training (Kishon Vijay Abraham I)

    - Remove unused Keystone host_init argument (Kishon Vijay Abraham I)

    - Merge Keystone driver files into one (Kishon Vijay Abraham I)

    - Remove redundant Keystone platform_set_drvdata() (Kishon Vijay
    Abraham I)

    - Rename Keystone functions for uniformity (Kishon Vijay Abraham I)

    - Add Keystone device control module DT binding (Kishon Vijay Abraham
    I)

    - Use SYSCON API to get Keystone control module device IDs (Kishon
    Vijay Abraham I)

    - Clean up Keystone PHY handling (Kishon Vijay Abraham I)

    - Use runtime PM APIs to enable Keystone clock (Kishon Vijay Abraham I)

    - Clean up Keystone config space access checks (Kishon Vijay Abraham I)

    - Get Keystone outbound window count from DT (Kishon Vijay Abraham I)

    - Clean up Keystone outbound window configuration (Kishon Vijay Abraham
    I)

    - Clean up Keystone DBI setup (Kishon Vijay Abraham I)

    - Clean up Keystone ks_pcie_link_up() (Kishon Vijay Abraham I)

    - Fix Keystone IRQ status checking (Kishon Vijay Abraham I)

    - Add debug messages for all Keystone errors (Kishon Vijay Abraham I)

    - Clean up Keystone includes and macros (Kishon Vijay Abraham I)

    - Fix Mediatek unchecked return value from devm_pci_remap_iospace()
    (Gustavo A. R. Silva)

    - Fix Mediatek endpoint/port matching logic (Honghui Zhang)

    - Change Mediatek Root Port Class Code to PCI_CLASS_BRIDGE_PCI (Honghui
    Zhang)

    - Remove redundant Mediatek PM domain check (Honghui Zhang)

    - Convert Mediatek to pci_host_probe() (Honghui Zhang)

    - Fix Mediatek MSI enablement (Honghui Zhang)

    - Add Mediatek system PM support for MT2712 and MT7622 (Honghui Zhang)

    - Add Mediatek loadable module support (Honghui Zhang)

    - Detach VMD resources after stopping root bus to prevent orphan
    resources (Jon Derrick)

    - Convert pcitest build process to that used by other tools (iio, perf,
    etc) (Gustavo Pimentel)

    * tag 'pci-v4.20-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci: (140 commits)
    PCI/AER: Refactor error injection fallbacks
    PCI/AER: Abstract AER interrupt handling
    PCI/AER: Reuse existing pcie_port_find_device() interface
    PCI/AER: Use managed resource allocations
    PCI: pcie: Remove redundant 'default n' from Kconfig
    PCI: aardvark: Implement emulated root PCI bridge config space
    PCI: mvebu: Convert to PCI emulated bridge config space
    PCI: mvebu: Drop unused PCI express capability code
    PCI: Introduce PCI bridge emulated config space common logic
    PCI: vmd: Detach resources after stopping root bus
    nvmet: Optionally use PCI P2P memory
    nvmet: Introduce helper functions to allocate and free request SGLs
    nvme-pci: Add support for P2P memory in requests
    nvme-pci: Use PCI p2pmem subsystem to manage the CMB
    IB/core: Ensure we map P2P memory correctly in rdma_rw_ctx_[init|destroy]()
    block: Add PCI P2P flag for request queue
    PCI/P2PDMA: Add P2P DMA driver writer's documentation
    docs-rst: Add a new directory for PCI documentation
    PCI/P2PDMA: Introduce configfs/sysfs enable attribute helpers
    PCI/P2PDMA: Add PCI p2pmem DMA mappings to adjust the bus offset
    ...

    Linus Torvalds
     
  • Pull documentation updates from Jonathan Corbet:
    "This is a fairly typical cycle for documentation. There's some welcome
    readability improvements for the formatted output, some LICENSES
    updates including the addition of the ISC license, the removal of the
    unloved and unmaintained 00-INDEX files, the deprecated APIs document
    from Kees, more MM docs from Mike Rapoport, and the usual pile of typo
    fixes and corrections"

    * tag 'docs-4.20' of git://git.lwn.net/linux: (41 commits)
    docs: Fix typos in histogram.rst
    docs: Introduce deprecated APIs list
    kernel-doc: fix declaration type determination
    doc: fix a typo in adding-syscalls.rst
    docs/admin-guide: memory-hotplug: remove table of contents
    doc: printk-formats: Remove bogus kobject references for device nodes
    Documentation: preempt-locking: Use better example
    dm flakey: Document "error_writes" feature
    docs/completion.txt: Fix a couple of punctuation nits
    LICENSES: Add ISC license text
    LICENSES: Add note to CDDL-1.0 license that it should not be used
    docs/core-api: memory-hotplug: add some details about locking internals
    docs/core-api: rename memory-hotplug-notifier to memory-hotplug
    docs: improve readability for people with poorer eyesight
    yama: clarify ptrace_scope=2 in Yama documentation
    docs/vm: split memory hotplug notifier description to Documentation/core-api
    docs: move memory hotplug description into admin-guide/mm
    doc: Fix acronym "FEKEK" in ecryptfs
    docs: fix some broken documentation references
    iommu: Fix passthrough option documentation
    ...

    Linus Torvalds
     

23 Oct, 2018

2 commits

  • Pull GPIO updates from Linus Walleij:
    "This is the bulk of GPIO changes for the v4.20 series:

    Core changes:

    - A patch series from Hans Verkuil to make it possible to
    enable/disable IRQs on a GPIO line at runtime and drive GPIO lines
    as output without having to put/get them from scratch.

    The irqchip callbacks have been improved so that they can use only
    the fastpatch callbacks to enable/disable irqs like any normal
    irqchip, especially the gpiod_lock_as_irq() has been improved to be
    callable in fastpath context.

    A bunch of rework had to be done to achieve this but it is a big
    win since I never liked to restrict this to slowpath. The only call
    requireing slowpath was try_module_get() and this is kept at the
    .request_resources() slowpath callback. In the GPIO CEC driver this
    is a big win sine a single line is used for both outgoing and
    incoming traffic, and this needs to use IRQs for incoming traffic
    while actively driving the line for outgoing traffic.

    - Janusz Krzysztofik improved the GPIO array API to pass a "cookie"
    (struct gpio_array) and a bitmap for setting or getting multiple
    GPIO lines at once.

    This improvement orginated in a specific need to speed up an OMAP1
    driver and has led to a much better API and real performance gains
    when the state of the array can be used to bypass a lot of checks
    and code when we want things to go really fast.

    The previous code would minimize the number of calls down to the
    driver callbacks assuming the CPU speed was orders of magnitude
    faster than the I/O latency, but this assumption was wrong on
    several platforms: what we needed to do was to profile and improve
    the speed on the hot path of the array functions and this change is
    now completed.

    - Clean out the painful and hard to grasp BNF experiments from the
    device tree bindings. Future approaches are looking into using JSON
    schema for this purpose. (Rob Herring is floating a patch series.)

    New drivers:

    - The RCAR driver now supports r8a774a1 (RZ/G2M).

    - Synopsys GPIO via CREGs driver.

    Major improvements:

    - Modernization of the EP93xx driver to use irqdomain and other
    contemporary concepts.

    - The ingenic driver has been merged into the Ingenic pin control
    driver and removed from the GPIO subsystem.

    - Debounce support in the ftgpio010 driver"

    * tag 'gpio-v4.20-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio: (116 commits)
    gpio: Clarify kerneldoc on gpiochip_set_chained_irqchip()
    gpio: Remove unused 'irqchip' argument to gpiochip_set_cascaded_irqchip()
    gpio: Drop parent irq assignment during cascade setup
    mmc: pwrseq_simple: Fix incorrect handling of GPIO bitmap
    gpio: fix SNPS_CREG kconfig dependency warning
    gpiolib: Initialize gdev field before is used
    gpio: fix kernel-doc after devres.c file rename
    gpio: fix doc string for devm_gpiochip_add_data() to not talk about irq_chip
    gpio: syscon: Fix possible NULL ptr usage
    gpiolib: Show correct direction from the beginning
    pinctrl: msm: Use init_valid_mask exported function
    gpiolib: Add init_valid_mask exported function
    GPIO: add single-register GPIO via CREG driver
    dt-bindings: Document the Synopsys GPIO via CREG bindings
    gpio: mockup: use device properties instead of platform_data
    gpio: Slightly more helpful debugfs
    gpio: omap: Remove set but not used variable 'dev'
    gpio: omap: drop omap_gpio_list
    Accept partial 'gpio-line-names' property.
    gpio: omap: get rid of the conditional PM runtime calls
    ...

    Linus Torvalds
     
  • Pull mtd updates from Boris Brezillon:
    "SPI NOR core changes:
    - Support non-uniform erase size
    - Support controllers with limited TX fifo size

    Driver changes:
    - m25p80: Re-issue a WREN command after each write access
    - cadence: Pass a proper dir value to dma_[un]map_single()
    - fsl-qspi: Check fsl_qspi_get_seqid() return val make sure 4B
    addressing opcodes are properly handled
    - intel-spi: Add a new PCI entry for Ice Lake

    Raw NAND core changes:
    - Two batchs of cleanups of the NAND API, including:
    * Deprecating a lot of interfaces (now replaced by ->exec_op()).
    * Moving code in separate drivers (JEDEC, ONFI), in private files
    (internals), in platform drivers, etc.
    * Functions/structures reordering.
    * Exclusive use of the nand_chip structure instead of the MTD one
    all across the subsystem.
    - Addition of the nand_wait_readrdy/rdy_op() helpers.

    Raw NAND controllers drivers changes:
    - Various coccinelle patches.
    - Marvell:
    * Use regmap_update_bits() for syscon access.
    * More documentation.
    * BCH failure path rework.
    * More layouts to be supported.
    * IRQ handler complete() condition fixed.
    - Fsl_ifc:
    * SRAM initialization fixed for newer controller versions.
    - Denali:
    * Fix licenses mismatch and use a SPDX tag.
    * Set SPARE_AREA_SKIP_BYTES register to 8 if unset.
    - Qualcomm:
    * Do not include dma-direct.h.
    - Docg4:
    * Removed.
    - Ams-delta:
    * Use of a GPIO lookup table
    * Internal machinery changes.

    Raw NAND chip drivers changes:
    - Toshiba:
    * Add support for Toshiba memory BENAND
    * Pass a single nand_chip object to the status helper.
    - ESMT:
    * New driver to retrieve the ECC requirements from the 5th ID
    byte.

    MTD changes:
    - physmap cleanups/fixe
    - gpio-addr-flash cleanups/fixes"

    * tag 'mtd/for-4.20' of git://git.infradead.org/linux-mtd: (93 commits)
    jffs2: free jffs2_sb_info through jffs2_kill_sb()
    mtd: spi-nor: fsl-quadspi: fix read error for flash size larger than 16MB
    mtd: spi-nor: intel-spi: Add support for Intel Ice Lake SPI serial flash
    mtd: maps: gpio-addr-flash: Convert to gpiod
    mtd: maps: gpio-addr-flash: Replace array with an integer
    mtd: maps: gpio-addr-flash: Use order instead of size
    mtd: spi-nor: fsl-quadspi: Don't let -EINVAL on the bus
    mtd: devices: m25p80: Make sure WRITE_EN is issued before each write
    mtd: spi-nor: Support controllers with limited TX FIFO size
    mtd: spi-nor: cadence-quadspi: Use proper enum for dma_[un]map_single
    mtd: spi-nor: parse SFDP Sector Map Parameter Table
    mtd: spi-nor: add support to non-uniform SFDP SPI NOR flash memories
    mtd: rawnand: marvell: fix the IRQ handler complete() condition
    mtd: rawnand: denali: set SPARE_AREA_SKIP_BYTES register to 8 if unset
    mtd: rawnand: r852: fix spelling mistake "card_registred" -> "card_registered"
    mtd: rawnand: toshiba: Pass a single nand_chip object to the status helper
    mtd: maps: gpio-addr-flash: Use devm_* functions
    mtd: maps: gpio-addr-flash: Fix ioremapped size
    mtd: maps: gpio-addr-flash: Replace custom printk
    mtd: physmap_of: Release resources on error
    ...

    Linus Torvalds
     

19 Oct, 2018

1 commit

  • As discussed in the "API replacement/deprecation" thread[1], this makes
    an effort to document what things shouldn't get (re)added to the kernel,
    by introducing Documentation/process/deprecated.rst.

    [1] https://lists.linuxfoundation.org/pipermail/ksummit-discuss/2018-September/005282.html

    Signed-off-by: Kees Cook
    Signed-off-by: Jonathan Corbet

    Kees Cook
     

18 Oct, 2018

2 commits

  • Add a restructured text file describing how to write drivers with support
    for P2P DMA transactions. The document describes how to use the APIs that
    were added in the previous few commits.

    Also adds an index for the PCI documentation tree even though this is the
    only PCI document that has been converted to restructured text at this
    time.

    Signed-off-by: Logan Gunthorpe
    Signed-off-by: Bjorn Helgaas
    Cc: Jonathan Corbet

    Logan Gunthorpe
     
  • Add a new directory in the driver API guide for PCI-specific documentation.

    This is in preparation for adding a new PCI P2P DMA driver writers guide
    which will go in this directory.

    Signed-off-by: Logan Gunthorpe
    Signed-off-by: Bjorn Helgaas
    Cc: Jonathan Corbet
    Cc: Mauro Carvalho Chehab
    Cc: Greg Kroah-Hartman
    Cc: Vinod Koul
    Cc: Linus Walleij
    Cc: Logan Gunthorpe
    Cc: Thierry Reding
    Cc: Sanyog Kale
    Cc: Sagar Dharia

    Logan Gunthorpe
     

16 Oct, 2018

5 commits

  • This patch fixes a minor, incorrect piece of grammar in the UIO howto.

    Signed-off-by: Will Korteland
    Acked-by: Randy Dunlap
    Signed-off-by: Greg Kroah-Hartman

    Will Korteland
     
  • Clarify the intention that interfaces and upper layers use
    regions rather than managers directly.

    Rearrange API documentation to better group the API functions
    used to create FPGA mgr/bridge/regions and the API used for
    programming FPGAs.

    Signed-off-by: Alan Tull
    Suggested-by: Federico Vaga
    Acked-by: Moritz Fischer
    Signed-off-by: Greg Kroah-Hartman

    Alan Tull
     
  • Add devm_fpga_region_create() which is the
    managed version of fpga_region_create().

    Change current region drivers to use
    devm_fpga_region_create().

    Signed-off-by: Alan Tull
    Suggested-by: Federico Vaga
    Acked-by: Moritz Fischer
    Signed-off-by: Greg Kroah-Hartman

    Alan Tull
     
  • Add devm_fpga_bridge_create() which is the managed
    version of fpga_bridge_create().

    Change current bridge drivers to use
    devm_fpga_bridge_create().

    Signed-off-by: Alan Tull
    Suggested-by: Federico Vaga
    Acked-by: Moritz Fischer
    Signed-off-by: Greg Kroah-Hartman

    Alan Tull
     
  • Add devm_fpga_mgr_create() which is the managed
    version of fpga_mgr_create().

    Change current FPGA manager drivers to use
    devm_fpga_mgr_create()

    Signed-off-by: Alan Tull
    Suggested-by: Federico Vaga
    Acked-by: Moritz Fischer
    Signed-off-by: Greg Kroah-Hartman

    Alan Tull
     

10 Oct, 2018

1 commit

  • Fix gpio kernel-doc generation after rename of the devres.c file.
    Fixes these errors & warning:

    Error: Cannot open file ../drivers/gpio/devres.c
    Error: Cannot open file ../drivers/gpio/devres.c
    WARNING: kernel-doc '../scripts/kernel-doc -rst -enable-lineno -export ../drivers/gpio/devres.c' failed with return code 2

    Signed-off-by: Randy Dunlap
    Signed-off-by: Linus Walleij

    Randy Dunlap
     

08 Oct, 2018

1 commit


03 Oct, 2018

5 commits


01 Oct, 2018

2 commits


30 Sep, 2018

1 commit


24 Sep, 2018

1 commit

  • New code introduced by commit bf9346f5d47b ("gpiolib: Identify arrays
    matching GPIO hardware") forcibly tries to find an array member which
    has its array index number equal to its hardware pin number and set
    up an array info for possible fast bitmap processing of all arrray
    pins belonging to that chip which also satisfy that numbering rule.

    Depending on array content, it may happen that consecutive array
    members which belong to the same chip but don't have array indexes
    equal to their pin hardware numbers will be split into groups, some of
    them processed together via the fast bitmap path, and rest of them
    separetely. However, applications may expect all those pins being
    processed together with a single call to .set_multiple() chip callback,
    like that was done before the change.

    Limit applicability of fast bitmap processing path to cases where all
    pins of consecutive array members starting from 0 which belong to the
    same chip have their hardware numbers equal to their corresponding
    array indexes. That should still speed up processing of applications
    using whole GPIO banks as I/O ports, while not breaking simultaneous
    manipulation of consecutive pins of the same chip which don't follow
    the equal numbering rule.

    Cc: Jonathan Corbet
    Signed-off-by: Janusz Krzysztofik
    Tested-by: Marek Szyprowski
    Signed-off-by: Linus Walleij

    Janusz Krzysztofik
     

20 Sep, 2018

1 commit


18 Sep, 2018

1 commit

  • Fix kernel-doc markup warnings in soundwire/stream.rst:

    rc4/Documentation/driver-api/soundwire/stream.rst:177: WARNING: Explicit markup ends without a blank line; unexpected unindent.
    rc4/Documentation/driver-api/soundwire/stream.rst:203: WARNING: Explicit markup ends without a blank line; unexpected unindent.
    rc4/Documentation/driver-api/soundwire/stream.rst:248: WARNING: Explicit markup ends without a blank line; unexpected unindent.
    rc4/Documentation/driver-api/soundwire/stream.rst:277: WARNING: Explicit markup ends without a blank line; unexpected unindent.
    rc4/Documentation/driver-api/soundwire/stream.rst:304: WARNING: Explicit markup ends without a blank line; unexpected unindent.
    rc4/Documentation/driver-api/soundwire/stream.rst:328: WARNING: Explicit markup ends without a blank line; unexpected unindent.
    rc4/Documentation/driver-api/soundwire/stream.rst:352: WARNING: Explicit markup ends without a blank line; unexpected unindent.
    rc4/Documentation/driver-api/soundwire/stream.rst:364: WARNING: Explicit markup ends without a blank line; unexpected unindent.

    Fixes: 89634f99a83e ("Documentation: soundwire: Add more documentation")

    Signed-off-by: Randy Dunlap
    Reviewed-by: Takashi Sakamoto
    Tested-by: Takashi Sakamoto
    Signed-off-by: Vinod Koul

    Randy Dunlap