20 Mar, 2016

1 commit

  • Pull ARM updates from Russell King:
    "Another mixture of changes this time around:

    - Split XIP linker file from main linker file to make it more
    maintainable, and various XIP fixes, and clean up a resulting
    macro.

    - Decompressor cleanups from Masahiro Yamada

    - Avoid printing an error for a missing L2 cache

    - Remove some duplicated symbols in System.map, and move
    vectors/stubs back into kernel VMA

    - Various low priority fixes from Arnd

    - Updates to allow bus match functions to return negative errno
    values, touching some drivers and the driver core. Greg has acked
    these changes.

    - Virtualisation platform udpates form Jean-Philippe Brucker.

    - Security enhancements from Kees Cook

    - Rework some Kconfig dependencies and move PSCI idle management code
    out of arch/arm into drivers/firmware/psci.c

    - ARM DMA mapping updates, touching media, acked by Mauro.

    - Fix places in ARM code which should be using virt_to_idmap() so
    that Keystone2 can work.

    - Fix Marvell Tauros2 to work again with non-DT boots.

    - Provide a delay timer for ARM Orion platforms"

    * 'for-linus' of git://ftp.arm.linux.org.uk/~rmk/linux-arm: (45 commits)
    ARM: 8546/1: dma-mapping: refactor to fix coherent+cma+gfp=0
    ARM: 8547/1: dma-mapping: store buffer information
    ARM: 8543/1: decompressor: rename suffix_y to compress-y
    ARM: 8542/1: decompressor: merge piggy.*.S and simplify Makefile
    ARM: 8541/1: decompressor: drop redundant FORCE in Makefile
    ARM: 8540/1: decompressor: use clean-files instead of extra-y to clean files
    ARM: 8539/1: decompressor: drop more unneeded assignments to "targets"
    ARM: 8538/1: decompressor: drop unneeded assignments to "targets"
    ARM: 8532/1: uncompress: mark putc as inline
    ARM: 8531/1: turn init_new_context into an inline function
    ARM: 8530/1: remove VIRT_TO_BUS
    ARM: 8537/1: drop unused DEBUG_RODATA from XIP_KERNEL
    ARM: 8536/1: mm: hide __start_rodata_section_aligned for non-debug builds
    ARM: 8535/1: mm: DEBUG_RODATA makes no sense with XIP_KERNEL
    ARM: 8534/1: virt: fix hyp-stub build for pre-ARMv7 CPUs
    ARM: make the physical-relative calculation more obvious
    ARM: 8512/1: proc-v7.S: Adjust stack address when XIP_KERNEL
    ARM: 8411/1: Add default SPARSEMEM settings
    ARM: 8503/1: clk_register_clkdev: remove format string interface
    ARM: 8529/1: remove 'i' and 'zi' targets
    ...

    Linus Torvalds
     

18 Mar, 2016

1 commit

  • Pull GPIO updates from Linus Walleij:
    "This is the bulk of GPIO changes for kernel v4.6. There is quite a
    lot of interesting stuff going on.

    The patches to other subsystems and arch-wide are ACKed as far as
    possible, though I consider things like per-arch as
    essentially a part of the GPIO subsystem so it should not be needed.

    Core changes:

    - The gpio_chip is now a *real device*. Until now the gpio chips
    were just piggybacking the parent device or (gasp) floating in
    space outside of the device model.

    We now finally make GPIO chips devices. The gpio_chip will create
    a gpio_device which contains a struct device, and this gpio_device
    struct is kept private. Anything that needs to be kept private
    from the rest of the kernel will gradually be moved over to the
    gpio_device.

    - As a result of making the gpio_device a real device, we have added
    resource management, so devm_gpiochip_add_data() will cut down on
    overhead and reduce code lines. A huge slew of patches convert
    almost all drivers in the subsystem to use this.

    - Building on making the GPIO a real device, we add the first step of
    a new userspace ABI: the GPIO character device. We take small
    steps here, so we first add a pure *information* ABI and the tool
    "lsgpio" that will list all GPIO devices on the system and all
    lines on these devices.

    We can now discover GPIOs properly from userspace. We still have
    not come up with a way to actually *use* GPIOs from userspace.

    - To encourage people to use the character device for the future, we
    have it always-enabled when using GPIO. The old sysfs ABI is still
    opt-in (and can be used in parallel), but is marked as deprecated.

    We will keep it around for the foreseeable future, but it will not
    be extended to cover ever more use cases.

    Cleanup:

    - Bjorn Helgaas removed a whole slew of per-architecture
    includes.

    This dates back to when GPIO was an opt-in feature and no shared
    library even existed: just a header file with proper prototypes was
    provided and all semantics were up to the arch to implement. These
    patches make the GPIO chip even more a proper device and cleans out
    leftovers of the old in-kernel API here and there.

    Still some cruft is left but it's very little now.

    - There is still some clamping of return values for .get() going on,
    but we now return sane values in the vast majority of drivers and
    the errorpath is sanitized. Some patches for powerpc, blackfin and
    unicore still drop in.

    - We continue to switch the ARM, MIPS, blackfin, m68k local GPIO
    implementations to use gpiochip_add_data() and cut down on code
    lines.

    - MPC8xxx is converted to use the generic GPIO helpers.

    - ATH79 is converted to use the generic GPIO helpers.

    New drivers:

    - WinSystems WS16C48

    - Acces 104-DIO-48E

    - F81866 (a F7188x variant)

    - Qoric (a MPC8xxx variant)

    - TS-4800

    - SPI serializers (pisosr): simple 74xx shift registers connected to
    SPI to obtain a dirt-cheap output-only GPIO expander.

    - Texas Instruments TPIC2810

    - Texas Instruments TPS65218

    - Texas Instruments TPS65912

    - X-Gene (ARM64) standby GPIO controller"

    * tag 'gpio-v4.6-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio: (194 commits)
    Revert "Share upstreaming patches"
    gpio: mcp23s08: Fix clearing of interrupt.
    gpiolib: Fix comment referring to gpio_*() in gpiod_*()
    gpio: pca953x: Fix pca953x_gpio_set_multiple() on 64-bit
    gpio: xgene: Fix kconfig for standby GIPO contoller
    gpio: Add generic serializer DT binding
    gpio: uapi: use 0xB4 as ioctl() major
    gpio: tps65912: fix bad merge
    Revert "gpio: lp3943: Drop pin_used and lp3943_gpio_request/lp3943_gpio_free"
    gpio: omap: drop dev field from gpio_bank structure
    gpio: mpc8xxx: Slightly update the code for better readability
    gpio: mpc8xxx: Remove *read_reg and *write_reg from struct mpc8xxx_gpio_chip
    gpio: mpc8xxx: Fixup setting gpio direction output
    gpio: mcp23s08: Add support for mcp23s18
    dt-bindings: gpio: altera: Fix altr,interrupt-type property
    gpio: add driver for MEN 16Z127 GPIO controller
    gpio: lp3943: Drop pin_used and lp3943_gpio_request/lp3943_gpio_free
    gpio: timberdale: Switch to devm_ioremap_resource()
    gpio: ts4800: Add IMX51 dependency
    gpiolib: rewrite gpiodev_add_to_list
    ...

    Linus Torvalds
     

23 Feb, 2016

2 commits


17 Feb, 2016

1 commit

  • Allow implementations of the match() callback in struct bus_type to
    return errors and if it's -EPROBE_DEFER then queue the device for
    deferred probing.

    This is useful to buses such as AMBA in which devices are registered
    before their matching information can be retrieved from the HW
    (typically because a clock driver hasn't probed yet).

    [changed if-else code structure, adjusted documentation to match the code,
    extended comments]

    Signed-off-by: Tomeu Vizoso
    Signed-off-by: Marek Szyprowski
    Reviewed-by: Ulf Hansson
    Acked-by: Greg Kroah-Hartman
    Signed-off-by: Russell King

    Tomeu Vizoso
     

10 Feb, 2016

1 commit


05 Oct, 2015

1 commit


22 Apr, 2015

1 commit

  • Pull char/misc driver updates from Greg KH:
    "Here's the big char/misc driver patchset for 4.1-rc1.

    Lots of different driver subsystem updates here, nothing major, full
    details are in the shortlog.

    All of this has been in linux-next for a while"

    * tag 'char-misc-4.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc: (133 commits)
    mei: trace: remove unused TRACE_SYSTEM_STRING
    DTS: ARM: OMAP3-N900: Add lis3lv02d support
    Documentation: DT: lis302: update wakeup binding
    lis3lv02d: DT: add wakeup unit 2 and wakeup threshold
    lis3lv02d: DT: use s32 to support negative values
    Drivers: hv: hv_balloon: correctly handle num_pages>INT_MAX case
    Drivers: hv: hv_balloon: correctly handle val.freeram directory
    coresight-tmc: Adding a status interface to sysfs
    coresight: remove the unnecessary configuration coresight-default-sink
    ...

    Linus Torvalds
     

17 Mar, 2015

1 commit


10 Mar, 2015

1 commit


16 Feb, 2015

1 commit

  • Pull staging drivers patches from Greg KH:
    "Here's the big staging driver tree update for 3.20-rc1.

    Lots of little things in here, adding up to lots of overall cleanups.
    The IIO driver updates are also in here as they cross the staging tree
    boundry a lot. I2O has moved into staging as well, as a plan to drop
    it from the tree eventually as that's a dead subsystem.

    All of this has been in linux-next with no reported issues for a
    while"

    * tag 'staging-3.20-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging: (740 commits)
    staging: lustre: lustre: libcfs: define symbols as static
    staging: rtl8712: Do coding style cleanup
    staging: lustre: make obd_updatemax_lock static
    staging: rtl8188eu: core: switch with redundant cases
    staging: rtl8188eu: odm: conditional setting with no effect
    staging: rtl8188eu: odm: condition with no effect
    staging: ft1000: fix braces warning
    staging: sm7xxfb: fix remaining CamelCase
    staging: sm7xxfb: fix CamelCase
    staging: rtl8723au: multiple condition with no effect - if identical to else
    staging: sm7xxfb: make smtc_scr_info static
    staging/lustre/mdc: Initialize req in mdc_enqueue for !it case
    staging/lustre/clio: Do not allow group locks with gid 0
    staging/lustre/llite: don't add to page cache upon failure
    staging/lustre/llite: Add exception entry check after radix_tree
    staging/lustre/libcfs: protect kkuc_groups from write access
    staging/lustre/fld: refer to MDT0 for fld lookup in some cases
    staging/lustre/llite: Solve a race to access lli_has_smd in read case
    staging/lustre/ptlrpc: hold rq_lock when modify rq_flags
    staging/lustre/lnet: portal spreading rotor should be unsigned
    ...

    Linus Torvalds
     

30 Dec, 2014

1 commit


26 Dec, 2014

1 commit


10 Oct, 2014

1 commit

  • Pull PCI updates from Bjorn Helgaas:
    "The interesting things here are:

    - Turn on Config Request Retry Status Software Visibility. This
    caused hangs last time, but we included a fix this time.
    - Rework PCI device configuration to use _HPP/_HPX more aggressively
    - Allow PCI devices to be put into D3cold during system suspend
    - Add arm64 PCI support
    - Add APM X-Gene host bridge driver
    - Add TI Keystone host bridge driver
    - Add Xilinx AXI host bridge driver

    More detailed summary:

    Enumeration
    - Check Vendor ID only for Config Request Retry Status (Rajat Jain)
    - Enable Config Request Retry Status when supported (Rajat Jain)
    - Add generic domain handling (Catalin Marinas)
    - Generate uppercase hex for modalias interface class (Ricardo Ribalda Delgado)

    Resource management
    - Add missing MEM_64 mask in pci_assign_unassigned_bridge_resources() (Yinghai Lu)
    - Increase IBM ipr SAS Crocodile BARs to at least system page size (Douglas Lehr)

    PCI device hotplug
    - Prevent NULL dereference during pciehp probe (Andreas Noever)
    - Move _HPP & _HPX handling into core (Bjorn Helgaas)
    - Apply _HPP to PCIe devices as well as PCI (Bjorn Helgaas)
    - Apply _HPP/_HPX to display devices (Bjorn Helgaas)
    - Preserve SERR & PARITY settings when applying _HPP/_HPX (Bjorn Helgaas)
    - Preserve MPS and MRRS settings when applying _HPP/_HPX (Bjorn Helgaas)
    - Apply _HPP/_HPX to all devices, not just hot-added ones (Bjorn Helgaas)
    - Fix wait time in pciehp timeout message (Yinghai Lu)
    - Add more pciehp Slot Control debug output (Yinghai Lu)
    - Stop disabling pciehp notifications during init (Yinghai Lu)

    MSI
    - Remove arch_msi_check_device() (Alexander Gordeev)
    - Rename pci_msi_check_device() to pci_msi_supported() (Alexander Gordeev)
    - Move D0 check into pci_msi_check_device() (Alexander Gordeev)
    - Remove unused kobject from struct msi_desc (Yijing Wang)
    - Remove "pos" from the struct msi_desc msi_attrib (Yijing Wang)
    - Add "msi_bus" sysfs MSI/MSI-X control for endpoints (Yijing Wang)
    - Use __get_cached_msi_msg() instead of get_cached_msi_msg() (Yijing Wang)
    - Use __read_msi_msg() instead of read_msi_msg() (Yijing Wang)
    - Use __write_msi_msg() instead of write_msi_msg() (Yijing Wang)

    Power management
    - Drop unused runtime PM support code for PCIe ports (Rafael J. Wysocki)
    - Allow PCI devices to be put into D3cold during system suspend (Rafael J. Wysocki)

    AER
    - Add additional AER error strings (Gong Chen)
    - Make standalone includable (Thierry Reding)

    Virtualization
    - Add ACS quirk for Solarflare SFC9120 & SFC9140 (Alex Williamson)
    - Add ACS quirk for Intel 10G NICs (Alex Williamson)
    - Add ACS quirk for AMD A88X southbridge (Marti Raudsepp)
    - Remove unused pci_find_upstream_pcie_bridge(), pci_get_dma_source() (Alex Williamson)
    - Add device flag helpers (Ethan Zhao)
    - Assume all Mellanox devices have broken INTx masking (Gavin Shan)

    Generic host bridge driver
    - Fix ioport_map() for !CONFIG_GENERIC_IOMAP (Liviu Dudau)
    - Add pci_register_io_range() and pci_pio_to_address() (Liviu Dudau)
    - Define PCI_IOBASE as the base of virtual PCI IO space (Liviu Dudau)
    - Fix the conversion of IO ranges into IO resources (Liviu Dudau)
    - Add pci_get_new_domain_nr() and of_get_pci_domain_nr() (Liviu Dudau)
    - Add support for parsing PCI host bridge resources from DT (Liviu Dudau)
    - Add pci_remap_iospace() to map bus I/O resources (Liviu Dudau)
    - Add arm64 architectural support for PCI (Liviu Dudau)

    APM X-Gene
    - Add APM X-Gene PCIe driver (Tanmay Inamdar)
    - Add arm64 DT APM X-Gene PCIe device tree nodes (Tanmay Inamdar)

    Freescale i.MX6
    - Probe in module_init(), not fs_initcall() (Lucas Stach)
    - Delay enabling reference clock for SS until it stabilizes (Tim Harvey)

    Marvell MVEBU
    - Fix uninitialized variable in mvebu_get_tgt_attr() (Thomas Petazzoni)

    NVIDIA Tegra
    - Make sure the PCIe PLL is really reset (Eric Yuen)
    - Add error path tegra_msi_teardown_irq() cleanup (Jisheng Zhang)
    - Fix extended configuration space mapping (Peter Daifuku)
    - Implement resource hierarchy (Thierry Reding)
    - Clear CLKREQ# enable on port disable (Thierry Reding)
    - Add Tegra124 support (Thierry Reding)

    ST Microelectronics SPEAr13xx
    - Pass config resource through reg property (Pratyush Anand)

    Synopsys DesignWare
    - Use NULL instead of false (Fabio Estevam)
    - Parse bus-range property from devicetree (Lucas Stach)
    - Use pci_create_root_bus() instead of pci_scan_root_bus() (Lucas Stach)
    - Remove pci_assign_unassigned_resources() (Lucas Stach)
    - Check private_data validity in single place (Lucas Stach)
    - Setup and clear exactly one MSI at a time (Lucas Stach)
    - Remove open-coded bitmap operations (Lucas Stach)
    - Fix configuration base address when using 'reg' (Minghuan Lian)
    - Fix IO resource end address calculation (Minghuan Lian)
    - Rename get_msi_data() to get_msi_addr() (Minghuan Lian)
    - Add get_msi_data() to pcie_host_ops (Minghuan Lian)
    - Add support for v3.65 hardware (Murali Karicheri)
    - Fold struct pcie_port_info into struct pcie_port (Pratyush Anand)

    TI Keystone
    - Add TI Keystone PCIe driver (Murali Karicheri)
    - Limit MRSS for all downstream devices (Murali Karicheri)
    - Assume controller is already in RC mode (Murali Karicheri)
    - Set device ID based on SoC to support multiple ports (Murali Karicheri)

    Xilinx AXI
    - Add Xilinx AXI PCIe driver (Srikanth Thokala)
    - Fix xilinx_pcie_assign_msi() return value test (Dan Carpenter)

    Miscellaneous
    - Clean up whitespace (Quentin Lambert)
    - Remove assignments from "if" conditions (Quentin Lambert)
    - Move PCI_VENDOR_ID_VMWARE to pci_ids.h (Francesco Ruggeri)
    - x86: Mark DMI tables as initialization data (Mathias Krause)
    - x86: Move __init annotation to the correct place (Mathias Krause)
    - x86: Mark constants of pci_mmcfg_nvidia_mcp55() as __initconst (Mathias Krause)
    - x86: Constify pci_mmcfg_probes[] array (Mathias Krause)
    - x86: Mark PCI BIOS initialization code as such (Mathias Krause)
    - Parenthesize PCI_DEVID and PCI_VPD_LRDT_ID parameters (Megan Kamiya)
    - Remove unnecessary variable in pci_add_dynid() (Tobias Klauser)"

    * tag 'pci-v3.18-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci: (109 commits)
    arm64: dts: Add APM X-Gene PCIe device tree nodes
    PCI: Add ACS quirk for AMD A88X southbridge devices
    PCI: xgene: Add APM X-Gene PCIe driver
    PCI: designware: Remove open-coded bitmap operations
    PCI/MSI: Remove unnecessary temporary variable
    PCI/MSI: Use __write_msi_msg() instead of write_msi_msg()
    MSI/powerpc: Use __read_msi_msg() instead of read_msi_msg()
    PCI/MSI: Use __get_cached_msi_msg() instead of get_cached_msi_msg()
    PCI/MSI: Add "msi_bus" sysfs MSI/MSI-X control for endpoints
    PCI/MSI: Remove "pos" from the struct msi_desc msi_attrib
    PCI/MSI: Remove unused kobject from struct msi_desc
    PCI/MSI: Rename pci_msi_check_device() to pci_msi_supported()
    PCI/MSI: Move D0 check into pci_msi_check_device()
    PCI/MSI: Remove arch_msi_check_device()
    irqchip: armada-370-xp: Remove arch_msi_check_device()
    PCI/MSI/PPC: Remove arch_msi_check_device()
    arm64: Add architectural support for PCI
    PCI: Add pci_remap_iospace() to map bus I/O resources
    of/pci: Add support for parsing PCI host bridge resources from DT
    of/pci: Add pci_get_new_domain_nr() and of_get_pci_domain_nr()
    ...

    Conflicts:
    arch/arm64/boot/dts/apm-storm.dtsi

    Linus Torvalds
     

24 Sep, 2014

3 commits


05 Sep, 2014

1 commit

  • Provide device-managed implementations of the request_resource() and
    release_resource() functions. Upon failure to request a resource, the new
    devm_request_resource() function will output an error message for
    consistent error reporting.

    Signed-off-by: Thierry Reding
    Signed-off-by: Bjorn Helgaas
    Acked-by: Tejun Heo

    Thierry Reding
     

12 Jul, 2014

1 commit


10 Jul, 2014

1 commit

  • Commit 64c862a83... added new alloc variants to the devres managed
    API. These should be included in the list of managed API found in
    devres.txt.

    Signed-off-by: Daniel Thompson
    Cc: Randy Dunlap
    Cc: Grant Likely
    Cc: Rob Herring
    Cc: Joe Perches
    Acked-by: Tejun Heo
    Signed-off-by: Greg Kroah-Hartman

    Daniel Thompson
     

20 Jun, 2014

1 commit

  • devm_request_and_ioremap() was obsoleted by the commit 7509657
    ("lib: devres: Introduce devm_ioremap_resource()") and has been
    deprecated for a long time. So, let's remove this function.
    In addition, all usages of devm_request_and_ioremap() are also
    removed.

    Signed-off-by: Jingoo Han
    Signed-off-by: Greg Kroah-Hartman

    Jingoo Han
     

13 Jun, 2014

1 commit

  • Pull networking updates from David Miller:

    1) Seccomp BPF filters can now be JIT'd, from Alexei Starovoitov.

    2) Multiqueue support in xen-netback and xen-netfront, from Andrew J
    Benniston.

    3) Allow tweaking of aggregation settings in cdc_ncm driver, from Bjørn
    Mork.

    4) BPF now has a "random" opcode, from Chema Gonzalez.

    5) Add more BPF documentation and improve test framework, from Daniel
    Borkmann.

    6) Support TCP fastopen over ipv6, from Daniel Lee.

    7) Add software TSO helper functions and use them to support software
    TSO in mvneta and mv643xx_eth drivers. From Ezequiel Garcia.

    8) Support software TSO in fec driver too, from Nimrod Andy.

    9) Add Broadcom SYSTEMPORT driver, from Florian Fainelli.

    10) Handle broadcasts more gracefully over macvlan when there are large
    numbers of interfaces configured, from Herbert Xu.

    11) Allow more control over fwmark used for non-socket based responses,
    from Lorenzo Colitti.

    12) Do TCP congestion window limiting based upon measurements, from Neal
    Cardwell.

    13) Support busy polling in SCTP, from Neal Horman.

    14) Allow RSS key to be configured via ethtool, from Venkata Duvvuru.

    15) Bridge promisc mode handling improvements from Vlad Yasevich.

    16) Don't use inetpeer entries to implement ID generation any more, it
    performs poorly, from Eric Dumazet.

    * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next: (1522 commits)
    rtnetlink: fix userspace API breakage for iproute2 < v3.9.0
    tcp: fixing TLP's FIN recovery
    net: fec: Add software TSO support
    net: fec: Add Scatter/gather support
    net: fec: Increase buffer descriptor entry number
    net: fec: Factorize feature setting
    net: fec: Enable IP header hardware checksum
    net: fec: Factorize the .xmit transmit function
    bridge: fix compile error when compiling without IPv6 support
    bridge: fix smatch warning / potential null pointer dereference
    via-rhine: fix full-duplex with autoneg disable
    bnx2x: Enlarge the dorq threshold for VFs
    bnx2x: Check for UNDI in uncommon branch
    bnx2x: Fix 1G-baseT link
    bnx2x: Fix link for KR with swapped polarity lane
    sctp: Fix sk_ack_backlog wrap-around problem
    net/core: Add VF link state control policy
    net/fsl: xgmac_mdio is dependent on OF_MDIO
    net/fsl: Make xgmac_mdio read error message useful
    net_sched: drr: warn when qdisc is not work conserving
    ...

    Linus Torvalds
     

03 Jun, 2014

1 commit

  • …egkh/staging into next

    Pull staging driver updates from Greg KH:
    "Here is the big staging driver pull request for 3.16-rc1.

    Lots of stuff here, tons of cleanup patches, a few new drivers, and
    some removed as well, but I think we are still adding a few thousand
    more lines than we remove, due to the new drivers being bigger than
    the ones deleted.

    One notible bit of work did stand out, Jes Sorensen has gone on a
    tear, fixing up a wireless driver to be "more sane" than it originally
    was from the vendor, with over 500 patches merged here. Good stuff,
    and a number of users laptops are better off for it.

    All of this has been in linux-next for a while"

    * tag 'staging-3.16-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging: (1703 commits)
    staging: skein: fix sparse warning for static declarations
    staging/mt29f_spinand: coding style fixes
    staging: silicom: fix sparse warning for static variable
    staging: lustre: Fix coding style
    staging: android: binder.c: Use more appropriate functions for euid retrieval
    staging: lustre: fix integer as NULL pointer warnings
    Revert "staging: dgap: remove unneeded kfree() in dgap_tty_register_ports()"
    Staging: rtl8192u: r8192U_wx.c Fixed a misplaced brace
    staging: ion: shrink highmem pages on kswapd
    staging: ion: use compound pages on high order pages for system heap
    staging: ion: remove struct ion_page_pool_item
    staging: ion: simplify ion_page_pool_total()
    staging: ion: tidy up a bit
    staging: rtl8723au: Remove redundant casting in usb_ops_linux.c
    staging: rtl8723au: Remove redundant casting in rtl8723a_hal_init.c
    staging: rtl8723au: Remove redundant casting in rtw_xmit.c
    staging: rtl8723au: Remove redundant casting in rtw_wlan_util.c
    staging: rtl8723au: Remove redundant casting in rtw_sta_mgt.c
    staging: rtl8723au: Remove redundant casting in rtw_recv.c
    staging: rtl8723au: Remove redundant casting in rtw_mlme.c
    ...

    Linus Torvalds
     

24 May, 2014

1 commit


09 May, 2014

1 commit

  • Introduce gpiod_get_optional() and gpiod_get_index_optional() helpers
    that make it easier for drivers to handle optional GPIOs.

    Currently in order to handle optional GPIOs, a driver needs to special
    case error handling for -ENOENT, such as this:

    gpio = gpiod_get(dev, "foo");
    if (IS_ERR(gpio)) {
    if (PTR_ERR(gpio) != -ENOENT)
    return PTR_ERR(gpio);

    gpio = NULL;
    }

    if (gpio) {
    /* set up GPIO */
    }

    With these new helpers the above is reduced to:

    gpio = gpiod_get_optional(dev, "foo");
    if (IS_ERR(gpio))
    return PTR_ERR(gpio);

    if (gpio) {
    /* set up GPIO */
    }

    While at it, device-managed variants of these functions are also
    provided.

    Signed-off-by: Thierry Reding
    Reviewed-by: Alexandre Courbot
    Signed-off-by: Linus Walleij

    Thierry Reding
     

03 May, 2014

2 commits


30 Apr, 2014

1 commit


23 Jan, 2014

1 commit

  • Pull trivial tree updates from Jiri Kosina:
    "Usual rocket science stuff from trivial.git"

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (39 commits)
    neighbour.h: fix comment
    sched: Fix warning on make htmldocs caused by wait.h
    slab: struct kmem_cache is protected by slab_mutex
    doc: Fix typo in USB Gadget Documentation
    of/Kconfig: Spelling s/one/once/
    mkregtable: Fix sscanf handling
    lp5523, lp8501: comment improvements
    thermal: rcar: comment spelling
    treewide: fix comments and printk msgs
    IXP4xx: remove '1 &&' from a condition check in ixp4xx_restart()
    Documentation: update /proc/uptime field description
    Documentation: Fix size parameter for snprintf
    arm: fix comment header and macro name
    asm-generic: uaccess: Spelling s/a ny/any/
    mtd: onenand: fix comment header
    doc: driver-model/platform.txt: fix a typo
    drivers: fix typo in DEVTMPFS_MOUNT Kconfig help text
    doc: Fix typo (acces_process_vm -> access_process_vm)
    treewide: Fix typos in printk
    drivers/gpu/drm/qxl/Kconfig: reformat the help text
    ...

    Linus Torvalds
     

21 Jan, 2014

1 commit

  • Pull staging driver tree changes from Greg KH:
    "Here's the big drivers/staging/ update for 3.14-rc1

    Lots and lots of cleanups, IIO driver updates are also mixed in here
    due to the subsystem still crossing staging and drivers/iio/, and the
    dwc2 driver is moved out of staging. There's a new driver (rts5208),
    which ends up making us adding more lines than removing, but overall
    there was lots of work toward moving code out of here, which was good

    All of this has been in linux-next with no reported issues"

    * tag 'staging-3.14-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging: (1084 commits)
    lustre: delete linux/lustre_debug.h
    staging: lustre: remove some unused debug macros
    usb: dwc2: move device tree bindings doc to correct place
    staging: vt6656: sparse fixes: iwctl_giwgenie use memcpy.
    staging: vt6656: sparse fixes: iwctl_siwgenie use memcpy.
    staging: vt6656: sparse fixes ethtool_ioctl Use struct ifreq *
    staging: vt6656: sparse fixes: dpc.c missing dpc.h
    staging: lustre: libcfs_debug: small whitespace cleanups
    staging: lustre: libcfs_debug.h: remove extra blank lines
    staging: lustre: libcfs_debug.h: Align backslashes in macros
    staging: lustre: libcfs_debug.h: align define values
    staging: tidspbridge: adjust error return code (bugfix)
    Staging: rts5139: rts51x_card: fixed style issues
    staging: wlags49_h2: Fix "do not use C99 //" in wl_cs.h, wl_enc.h wl_main.h and wl_wext.h
    Staging: rtl8188eu: Fixed "foo * bar" related coding style issues
    Staging: rtl8188eu: Fixed required spaces after ',' and around '=' and '=='
    staging: vt6655: Fix memory leak in wpa_ioctl()
    imx-drm: parallel-display: honor 'native-mode' property when selecting video mode from DT
    staging: drm/imx: don't drop crtc offsets when doing pageflip
    staging: drm/imx: handle framebuffer offsets correctly
    ...

    Linus Torvalds
     

20 Dec, 2013

1 commit


19 Dec, 2013

1 commit


11 Dec, 2013

1 commit

  • After realizing that we tend to tell developers the same thing over
    and over, let's attempt to document some commin design patterns
    used in the device drivers. The idea is that this can be extended
    so I just start out with two well-known design patterns.

    Cc: Rob Landley
    Cc: Mark Brown
    Cc: Arnd Bergmann
    Cc: Grant Likely
    Signed-off-by: Linus Walleij
    Signed-off-by: Greg Kroah-Hartman

    Linus Walleij
     

26 Nov, 2013

1 commit

  • …/iio into staging-next

    Jonathan writes:

    First set of new features, drivers and cleanups for IIO in the 3.14 cycle.
    This mostly consists of patches that didn't quite make the last cycle. Lots
    of interesting things under review currently.

    Core:
    - Add devm_iio_device_register/unregister. I took some convincing on whether
    there would be many devices that really were simple enough to need no
    explicit actions on removal. Turns out there are some.
    - Move some stray docs to above the relevant implemenation.
    - Drop a redundant repeated check on the fact the trigger has actually changed
    when there is a userspace attempt change it.

    Drivers:
    New drivers
    - Freescale MPL3115A2 Pressure / temperature sensor

    New functionality
    - hid_sensors: add sensitivity support.

    DT bindings
    - tsl2563
    - hmc5843

    Cleanups
    - Drop unused scan_type from viperboard adc driver.
    - devm_iio_device_register used in viperboard, ad5421, ad5755, adis16130,
    adxrs450, vcnl4000, adis16220, ad7816, lpc32xx, adt7316, adis16060, isl29018
    and ad2s1200. Note that this was proposed in a number of other drivers
    and this revealed a number of missorderings in remove functions. Also for
    now I have blocked this on any device that any hardware suspend suport on
    the basis that we probably want to power down devices if they have no driver
    support loaded.

    Greg Kroah-Hartman
     

25 Nov, 2013

1 commit


12 Nov, 2013

1 commit

  • Pull spi updates from Mark Brown:
    "As well as the usual driver updates and cleanups there's a few
    improvements to the core here:

    - The start of some improvements to factor out more of the SPI
    message loop into the core. Right now this is just simplifying the
    code a bit but hopefully next time around we'll also have managed
    to roll out some noticable performance improvements which drivers
    can take advantage of.
    - Support for loading modules for ACPI enumerated SPI devices.
    - Managed registration for SPI controllers.
    - Helper for another common I/O pattern"

    * tag 'spi-v3.13' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi: (116 commits)
    spi/hspi: add device tree support
    spi: atmel: fix return value check in atmel_spi_probe()
    spi: spi-imx: only enable the clocks when we start to transfer a message
    spi/s3c64xx: Fix doubled clock disable on suspend
    spi/s3c64xx: Do not ignore return value of spi_master_resume/suspend
    spi: spi-mxs: Use u32 instead of uint32_t
    spi: spi-mxs: Don't set clock for each xfer
    spi: spi-mxs: Clean up setup_transfer function
    spi: spi-mxs: Remove check of spi mode bits
    spi: spi-mxs: Fix race in setup method
    spi: spi-mxs: Remove bogus setting of ssp clk rate field
    spi: spi-mxs: Remove full duplex check, spi core already does it
    spi: spi-mxs: Fix chip select control bits in DMA mode
    spi: spi-mxs: Fix extra CS pulses and read mode in multi-transfer messages
    spi: spi-mxs: Change flag arguments in txrx functions to bit flags
    spi: spi-mxs: Always clear INGORE_CRC, to keep CS asserted
    spi: spi-mxs: Remove mxs_spi_enable and mxs_spi_disable
    spi: spi-mxs: Always set LOCK_CS
    spi/s3c64xx: Add missing pm_runtime_put on setup fail
    spi/s3c64xx: Add missing pm_runtime_set_active() call in probe()
    ...

    Linus Torvalds
     

17 Sep, 2013

2 commits


11 Sep, 2013

1 commit

  • Pull slave-dmaengine updates from Vinod Koul:
    "This pull brings:
    - Andy's DW driver updates
    - Guennadi's sh driver updates
    - Pl08x driver fixes from Tomasz & Alban
    - Improvements to mmp_pdma by Daniel
    - TI EDMA fixes by Joel
    - New drivers:
    - Hisilicon k3dma driver
    - Renesas rcar dma driver
    - New API for publishing slave driver capablities
    - Various fixes across the subsystem by Andy, Jingoo, Sachin etc..."

    * 'for-linus' of git://git.infradead.org/users/vkoul/slave-dma: (94 commits)
    dma: edma: Remove limits on number of slots
    dma: edma: Leave linked to Null slot instead of DUMMY slot
    dma: edma: Find missed events and issue them
    ARM: edma: Add function to manually trigger an EDMA channel
    dma: edma: Write out and handle MAX_NR_SG at a given time
    dma: edma: Setup parameters to DMA MAX_NR_SG at a time
    dmaengine: pl330: use dma_set_max_seg_size to set the sg limit
    dmaengine: dma_slave_caps: remove sg entries
    dma: replace devm_request_and_ioremap by devm_ioremap_resource
    dma: ste_dma40: Fix potential null pointer dereference
    dma: ste_dma40: Remove duplicate const
    dma: imx-dma: Remove redundant NULL check
    dma: dmagengine: fix function names in comments
    dma: add driver for R-Car HPB-DMAC
    dma: k3dma: use devm_ioremap_resource() instead of devm_request_and_ioremap()
    dma: imx-sdma: Staticize sdma_driver_data structures
    pch_dma: Add MODULE_DEVICE_TABLE
    dmaengine: PL08x: Add cyclic transfer support
    dmaengine: PL08x: Fix reading the byte count in cctl
    dmaengine: PL08x: Add support for different maximum transfer size
    ...

    Linus Torvalds
     

25 Aug, 2013

1 commit