Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Zero contents before freeing, do not leak keys #174

Open
wants to merge 312 commits into
base: 4.4
Choose a base branch
from
This pull request is big! We’re only showing the most recent 250 commits.

Commits on Apr 6, 2018

  1. Revert "pwms: pwm-ti*: Remove support for local clock gating"

    This reverts commit aa01567.
    
    Signed-off-by: Robert Nelson <[email protected]>
    RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    77c4c52 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4603016 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    05fbb76 View commit details
    Browse the repository at this point in the history
  4. Revert "drm/tilcdc: Remove unnecessary tilcdc_crtc_disable() from til…

    …cdc_unload()"
    
    This reverts commit 299676e.
    RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    c0da9d4 View commit details
    Browse the repository at this point in the history
  5. Revert "drm/tilcdc: Flush flip-work workqueue before drm_flip_work_cl…

    …eanup()"
    
    This reverts commit 7680684.
    RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    7537fb8 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    2bd2fff View commit details
    Browse the repository at this point in the history
  7. Revert "drm/tilcdc: Take crtc modeset lock while updating the crtc cl…

    …ock rate"
    
    This reverts commit 10ca4f3.
    RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    1ba8923 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    c0a56d3 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    9b03b92 View commit details
    Browse the repository at this point in the history
  10. Revert "drm/tilcdc: Write DMA base and ceiling address with single in…

    …struction"
    
    This reverts commit e34e57a.
    RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    f1d72e4 View commit details
    Browse the repository at this point in the history
  11. Revert "drm/tilcdc: Enable EOF interrupts for v1 LCDC"

    This reverts commit dccd567.
    RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    360f555 View commit details
    Browse the repository at this point in the history
  12. Revert "drm/tilcdc: Adjust the FB_CEILING address"

    This reverts commit d8ff0c6.
    RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    187557b View commit details
    Browse the repository at this point in the history
  13. Revert "drm/tilcdc: Fix check for remote port parent"

    This reverts commit e462acc.
    RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    b2d6e67 View commit details
    Browse the repository at this point in the history
  14. Revert "drm/tilcdc: Change tilcdc_crtc_page_flip() to tilcdc_crtc_upd…

    …ate_fb()"
    
    This reverts commit bcf7ab1.
    RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    63b8405 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    2481e16 View commit details
    Browse the repository at this point in the history
  16. Revert "drm/tilcdc: Get rid of legacy dpms mechanism"

    This reverts commit 6db644b.
    RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    ceb63ee View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    c33873e View commit details
    Browse the repository at this point in the history
  18. Revert "drm/tilcdc: Enable and disable interrupts in crtc start() and…

    … stop()"
    
    This reverts commit 6b49c65.
    RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    31944e9 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    5424910 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    3ea9a44 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    cbdf88f View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    0ecdbf4 View commit details
    Browse the repository at this point in the history
  23. Revert "drm/tilcdc: Remove tilcdc_verify_fb()"

    This reverts commit db464d1.
    RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    22bde1b View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    d737e8f View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    c336ee7 View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    20752ef View commit details
    Browse the repository at this point in the history
  27. Revert "drm/tilcdc: Add atomic mode config funcs"

    This reverts commit e8cb1f8.
    RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    8cd4b9b View commit details
    Browse the repository at this point in the history
  28. Revert "drm/tilcdc: Add tilcdc_crtc_atomic_check()"

    This reverts commit 65eab9a.
    RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    8b3dc2b View commit details
    Browse the repository at this point in the history
  29. Revert "drm/tilcdc: Add tilcdc_crtc_mode_set_nofb()"

    This reverts commit e6cbc04.
    RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    6d1b28b View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    13ad0dd View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    4bd013b View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    e939dfb View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    1f5b1fd View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    afe0ff8 View commit details
    Browse the repository at this point in the history
  35. Configuration menu
    Copy the full SHA
    e4edea9 View commit details
    Browse the repository at this point in the history
  36. Configuration menu
    Copy the full SHA
    507d808 View commit details
    Browse the repository at this point in the history
  37. Configuration menu
    Copy the full SHA
    a64b264 View commit details
    Browse the repository at this point in the history
  38. btrfs: raid6: pick either raid6_neonx2 or raid6_intx4, saves 1 second…

    … on bootup
    
    Signed-off-by: Robert Nelson <[email protected]>
    RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    e28f013 View commit details
    Browse the repository at this point in the history
  39. Configuration menu
    Copy the full SHA
    e8041eb View commit details
    Browse the repository at this point in the history
  40. Change USB class for RNDIS

    This is a hack to change the USB class/subclass/protocol for the RNDIS
    USB gadget function. According to [1], this is "RNDIS over Ethernet".
    This configuration is recognized by rndiscmp.inf in Windows so that the
    correct driver loads without the need for a custom signed .inf.
    Furthermore, it is ignored on macOS and Linux (so we can use CDC/ECM
    instead).
    
    [1]: http://www.usb.org/developers/defined_class/#BaseClassEFh
    dlech authored and RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    78e6d11 View commit details
    Browse the repository at this point in the history
  41. Configuration menu
    Copy the full SHA
    0173c5d View commit details
    Browse the repository at this point in the history
  42. tsl2550: fix lux1_input error in low light

    ADC channel 0 photodiode detects both infrared + visible light,
    but ADC channel 1 just detects infrared. However, the latter is a bit
    more sensitive in that range so complete darkness or low light causes
    a error condition in which the chan0 - chan1 is negative that
    results in a -EAGAIN.
    
    This patch changes the resulting lux1_input sysfs attribute message from
    "Resource temporarily unavailable" to a user-grokable lux value of 0.
    
    Signed-off-by: Matt Ranostay <[email protected]>
    mranostay authored and RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    b706ade View commit details
    Browse the repository at this point in the history
  43. iio: add support for pulse width capture devices

    Add a channel type to support pulse width capture devices.
    These devices capture the timing of a PWM signal based on a
    configurable trigger
    
    Signed-off-by: Matt Porter <[email protected]>
    Signed-off-by: Stephen Arnold <[email protected]>
    Matt Porter authored and RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    7a051ff View commit details
    Browse the repository at this point in the history
  44. iio: pulse: add TI ECAP driver

    Adds support for capturing PWM signals using the TI ECAP peripheral.
    This driver supports triggered buffer capture of pulses on multiple
    ECAP instances. In addition, the driver supports configurable polarity
    of the signal to be captured.
    
    Signed-off-by: Matt Porter <[email protected]>
    Tested-by: Matt Ranostay <[email protected]>
    Matt Porter authored and RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    e1744d0 View commit details
    Browse the repository at this point in the history
  45. iio: enable selection and build of pulse drivers

    Add the pulse driver subdirectory when configuring and building
    IIO.
    
    Signed-off-by: Matt Porter <[email protected]>
    Signed-off-by: Stephen Arnold <[email protected]>
    Matt Porter authored and RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    5ed479c View commit details
    Browse the repository at this point in the history
  46. iio: Add ABI docs for pulse capture devices

    Add standard ABI entries for pulse capture devices. Also add
    a separate ABI entry for the TI ECAP driver polarity option.
    
    Signed-off-by: Matt Porter <[email protected]>
    Signed-off-by: Stephen Arnold <[email protected]>
    Matt Porter authored and RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    dcfdec9 View commit details
    Browse the repository at this point in the history
  47. pwm: enable TI PWMSS if the IIO tiecap driver is selected

    The IIO TI ECAP driver depends on the TI PWMSS management
    driver in this subsystem. Enable PWMSS when the IIO TI ECAP
    driver is selected.
    
    (pulling in this driver for GSoC anemometer project,
     thanks matt!)
    
    Signed-off-by: Matt Porter <[email protected]>
    Signed-off-by: Stephen Arnold <[email protected]>
    Matt Porter authored and RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    a8b5708 View commit details
    Browse the repository at this point in the history
  48. pulse/tiecap.c: fixup stale iio_* function interfaces

    Signed-off-by: Stephen Arnold <[email protected]>
    sarnold authored and RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    40aa899 View commit details
    Browse the repository at this point in the history
  49. fix sleep33xx.S: for thumb2

    Signed-off-by: Robert Nelson <[email protected]>
    RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    c68b5eb View commit details
    Browse the repository at this point in the history
  50. fix sleep43xx.S: for thumb2

    Signed-off-by: Robert Nelson <[email protected]>
    RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    a5d1633 View commit details
    Browse the repository at this point in the history
  51. fix ti-emif-sram-pm.S: for thumb2

    Signed-off-by: Robert Nelson <[email protected]>
    RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    5166839 View commit details
    Browse the repository at this point in the history
  52. net/wireless: SanCloud wifi: issue when associating with an SSID when…

    … there is also a hidden SSID in the scan list
    
    Signed-off-by: Robert Nelson <[email protected]>
    RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    78735ed View commit details
    Browse the repository at this point in the history
  53. wiznet: w5100-spi: hack dt support for w5500

    Signed-off-by: Robert Nelson <[email protected]>
    RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    a8640b6 View commit details
    Browse the repository at this point in the history
  54. Configuration menu
    Copy the full SHA
    0770c4a View commit details
    Browse the repository at this point in the history
  55. Fix remoteproc to work with the PRU GNU Binutils port

    PRU IRAM addresses need to be masked before being handled to
    remoteproc. This is due to PRU Binutils' lack of separate address
    spaces for IRAM and DRAM.
    
    Signed-off-by: Dimitar Dimitrov <[email protected]>
    SebKuzminsky authored and RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    90df733 View commit details
    Browse the repository at this point in the history
  56. ARM: samples seccomp no -m32

    Signed-off-by: Robert Nelson <[email protected]>
    RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    e718413 View commit details
    Browse the repository at this point in the history
  57. scripts/dtc: Update to upstream version overlays

    Signed-off-by: Robert Nelson <[email protected]>
    RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    aa8bd22 View commit details
    Browse the repository at this point in the history
  58. misc: eeprom: use kobj_to_dev()

    Use kobj_to_dev() instead of open-coding it.
    
    Signed-off-by: Geliang Tang <[email protected]>
    Signed-off-by: Greg Kroah-Hartman <[email protected]>
    geliangtang authored and RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    ae81177 View commit details
    Browse the repository at this point in the history
  59. misc: eeprom_93xx46: Fix 16-bit read and write accesses.

    Compatible at93xx46 devices from both Microchip and Atmel expect a
    word-based address, regardless of whether the device is strapped for 8-
    or 16-bit operation.  However, the offset parameter passed in when
    reading or writing at a specific location is always specified in terms
    of bytes.
    
    This commit fixes 16-bit read and write accesses by shifting the offset
    parameter to account for this difference between a byte offset and a
    word-based address.
    
    Signed-off-by: Cory Tusar <[email protected]>
    Tested-by: Chris Healy <[email protected]>
    Signed-off-by: Greg Kroah-Hartman <[email protected]>
    ctusar authored and RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    e841822 View commit details
    Browse the repository at this point in the history
  60. misc: eeprom_93xx46: Implement eeprom_93xx46 DT bindings.

    This commit implements bindings in the eeprom_93xx46 driver allowing
    device word size and read-only attributes to be specified via
    devicetree.
    
    Signed-off-by: Cory Tusar <[email protected]>
    Tested-by: Chris Healy <[email protected]>
    Reviewed-by: Vladimir Zapolskiy <[email protected]>
    Signed-off-by: Greg Kroah-Hartman <[email protected]>
    ctusar authored and RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    430063f View commit details
    Browse the repository at this point in the history
  61. misc: eeprom_93xx46: Add quirks to support Atmel AT93C46D device.

    Atmel devices in this family have some quirks not found in other similar
    chips - they do not support a sequential read of the entire EEPROM
    contents, and the control word sent at the start of each operation
    varies in bit length.
    
    This commit adds quirk support to the driver and modifies the read
    implementation to support non-sequential reads for consistency with
    other misc/eeprom drivers.
    
    Tested on a custom Freescale VF610-based platform, with an AT93C46D
    device attached via dspi2.  The spi-gpio driver was used to allow the
    necessary non-byte-sized transfers.
    
    Signed-off-by: Cory Tusar <[email protected]>
    Tested-by: Chris Healy <[email protected]>
    Reviewed-by: Vladimir Zapolskiy <[email protected]>
    Signed-off-by: Greg Kroah-Hartman <[email protected]>
    ctusar authored and RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    f12f516 View commit details
    Browse the repository at this point in the history
  62. misc: eeprom_93xx46: Add support for a GPIO 'select' line.

    This commit adds support to the eeprom_93x46 driver allowing a GPIO line
    to function as a 'select' or 'enable' signal prior to accessing the
    EEPROM.
    
    Signed-off-by: Cory Tusar <[email protected]>
    Tested-by: Chris Healy <[email protected]>
    Reviewed-by: Vladimir Zapolskiy <[email protected]>
    Signed-off-by: Greg Kroah-Hartman <[email protected]>
    ctusar authored and RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    3433924 View commit details
    Browse the repository at this point in the history
  63. nvmem: Add flag to export NVMEM to root only

    Legacy AT24, AT25 EEPROMs are exported in sys so that only root can
    read the contents. The EEPROMs may contain sensitive information. Add
    a flag so the provide can indicate that NVMEM should also restrict
    access to root only.
    
    Signed-off-by: Andrew Lunn <[email protected]>
    Acked-by: Srinivas Kandagatla <[email protected]>
    Signed-off-by: Greg Kroah-Hartman <[email protected]>
    lunn authored and RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    555de88 View commit details
    Browse the repository at this point in the history
  64. nvmem: Add backwards compatibility support for older EEPROM drivers.

    Older drivers made an 'eeprom' file available in the /sys device
    directory. Have the NVMEM core provide this to retain backwards
    compatibility.
    
    Signed-off-by: Andrew Lunn <[email protected]>
    Acked-by: Srinivas Kandagatla <[email protected]>
    Signed-off-by: Greg Kroah-Hartman <[email protected]>
    lunn authored and RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    ca72078 View commit details
    Browse the repository at this point in the history
  65. eeprom: at24: extend driver to plug into the NVMEM framework

    Add a regmap for accessing the EEPROM, and then use that with the
    NVMEM framework. Set the NVMEM config structure to enable backward, so
    that the 'eeprom' file in sys is provided by the framework.
    
    Signed-off-by: Andrew Lunn <[email protected]>
    Acked-by: Srinivas Kandagatla <[email protected]>
    Tested-by: Bartosz Golaszewski <[email protected]>
    Signed-off-by: Greg Kroah-Hartman <[email protected]>
    lunn authored and RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    a0074e4 View commit details
    Browse the repository at this point in the history
  66. eeprom: at25: Remove in kernel API for accessing the EEPROM

    The setup() callback is not used by any in kernel code. Remove it.
    Any new code which requires access to the eeprom can use the NVMEM
    API.
    
    Signed-off-by: Andrew Lunn <[email protected]>
    Acked-by: Srinivas Kandagatla <[email protected]>
    Acked-by: Wolfram Sang <[email protected]>
    Signed-off-by: Greg Kroah-Hartman <[email protected]>
    lunn authored and RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    b736807 View commit details
    Browse the repository at this point in the history
  67. eeprom: at25: extend driver to plug into the NVMEM framework

    Add a regmap for accessing the EEPROM, and then use that with the
    NVMEM framework. Enable backwards compatibility in the NVMEM config,
    so that the 'eeprom' file in sys is provided by the framework.
    
    Signed-off-by: Andrew Lunn <[email protected]>
    Acked-by: Srinivas Kandagatla <[email protected]>
    Signed-off-by: Greg Kroah-Hartman <[email protected]>
    lunn authored and RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    395be27 View commit details
    Browse the repository at this point in the history
  68. eeprom: 93xx46: extend driver to plug into the NVMEM framework

    Add a regmap for accessing the EEPROM, and then use that with the
    NVMEM framework. Enable backward compatibility in the NVMEM config
    structure, so that the 'eeprom' file in sys is provided by the
    framework.
    
    Signed-off-by: Andrew Lunn <[email protected]>
    Acked-by: Srinivas Kandagatla <[email protected]>
    Signed-off-by: Greg Kroah-Hartman <[email protected]>
    lunn authored and RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    4003d76 View commit details
    Browse the repository at this point in the history
  69. misc: at24: replace memory_accessor with nvmem_device_read

    Now that the AT24 uses the NVMEM framework, replace the
    memory_accessor in the setup() callback with nvmem API calls.
    
    Signed-off-by: Andrew Lunn <[email protected]>
    Acked-by: Srinivas Kandagatla <[email protected]>
    Tested-by: Sekhar Nori <[email protected]>
    Acked-by: Wolfram Sang <[email protected]>
    Signed-off-by: Greg Kroah-Hartman <[email protected]>
    lunn authored and RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    a4d6995 View commit details
    Browse the repository at this point in the history
  70. configfs: implement binary attributes

    ConfigFS lacked binary attributes up until now. This patch
    introduces support for binary attributes in a somewhat similar
    manner of sysfs binary attributes albeit with changes that
    fit the configfs usage model.
    
    Problems that configfs binary attributes fix are everything that
    requires a binary blob as part of the configuration of a resource,
    such as bitstream loading for FPGAs, DTBs for dynamically created
    devices etc.
    
    Look at Documentation/filesystems/configfs/configfs.txt for internals
    and howto use them.
    
    This patch is against linux-next as of today that contains
    Christoph's configfs rework.
    
    Signed-off-by: Pantelis Antoniou <[email protected]>
    [hch: folded a fix from Geert Uytterhoeven <[email protected]>]
    [hch: a few tiny updates based on review feedback]
    Signed-off-by: Christoph Hellwig <[email protected]>
    pantoniou authored and RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    a909451 View commit details
    Browse the repository at this point in the history
  71. drivers/of: Export OF changeset functions

    The PowerNV PCI hotplug driver is going to use the OF changeset
    to manage the changed device sub-tree. This exports those OF
    changeset functions for that.
    
    Signed-off-by: Gavin Shan <[email protected]>
    Acked-by: Wolfram Sang <[email protected]>
    Tested-by: Wolfram Sang <[email protected]>
    Signed-off-by: Rob Herring <[email protected]>
    Gavin Shan authored and RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    d30ca0d View commit details
    Browse the repository at this point in the history
  72. Configuration menu
    Copy the full SHA
    8c359c7 View commit details
    Browse the repository at this point in the history
  73. ARM: OMAP2+: Fix omap_device for module reload on PM runtime forbid

    If a driver PM runtime is disabled via sysfs, and the module is
    unloaded, PM runtime can't do anything to disable the device. Let's
    let the interconnect disable the device on BUS_NOTIFY_UNBOUND_DRIVER.
    
    Otherwise omap_device will produce and error on the following module
    reload. This can be easily tested with something like:
    
    # modprobe omap_hsmmc
    # echo on > /sys/devices/platform/68000000.ocp/4809c000.mmc/power/control
    # rmmod omap_hsmmc
    # modprobe omap_hsmmc
    
    Cc: Alan Stern <[email protected]>
    Cc: Nishanth Menon <[email protected]>
    Cc: Rafael J. Wysocki <[email protected]>
    Cc: Tero Kristo <[email protected]>
    Reported-by: Ulf Hansson <[email protected]>
    Acked-by: Kevin Hilman <[email protected]>
    Acked-by: Ulf Hansson <[email protected]>
    Signed-off-by: Tony Lindgren <[email protected]>
    tmlind authored and RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    bb4dda6 View commit details
    Browse the repository at this point in the history
  74. OF: DT-Overlay configfs interface (v6)

    Add a runtime interface to using configfs for generic device tree overlay
    usage. With it its possible to use device tree overlays without having
    to use a per-platform overlay manager.
    
    Please see Documentation/devicetree/configfs-overlays.txt for more info.
    
    Changes since v5:
    - New style configfs.
    
    Changes since v4:
    - Loading fix for multiple overlays as found out by
      Geert Uytterhoeven <[email protected]>
    
    Changes since v3:
    - Fixed compilation on SPARC & Xtensa
    
    Changes since v2:
    - Removed ifdef CONFIG_OF_OVERLAY (since for now it's required)
    - Created a documentation entry
    - Slight rewording in Kconfig
    
    Changes since v1:
    - of_resolve() -> of_resolve_phandles().
    
    Signed-off-by: Pantelis Antoniou <[email protected]>
    
    cfs-of
    pantoniou authored and RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    65634cc View commit details
    Browse the repository at this point in the history
  75. gitignore: Ignore DTB files

    Signed-off-by: Pantelis Antoniou <[email protected]>
    pantoniou authored and RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    b2d6d6c View commit details
    Browse the repository at this point in the history
  76. omap: Fix crash when omap device is disabled

    When disabling an omap device (not when removing the driver), the
    device is removed but the hwmod's linger.
    
    Fix the resource leak and the crash when calling omap_device_idle()
    after the device's omap data have been removed.
    
    Signed-off-by: Pantelis Antoniou <[email protected]>
    pantoniou authored and RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    85bd54e View commit details
    Browse the repository at this point in the history
  77. serial: omap: Fix port line number without aliases

    Having an omap serial device without a serial aliases doesn't
    work. For now fallback to using the hwmod instance.
    
    Signed-off-by: Pantelis Antoniou <[email protected]>
    pantoniou authored and RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    01941b7 View commit details
    Browse the repository at this point in the history
  78. tty: omap-serial: Fix up platform data alloc

    When using DT the driver devm_kalloc's platform data and assigns them
    directly to the pdev->dev.platform variable.
    
    This is wrong since device de-registration expects the data to be
    kmalloc'ed instead, resulting in a crash.
    
    Fix by copying the platform data to a kmalloc buffer.
    
    Signed-off-by: Pantelis Antoniou <[email protected]>
    pantoniou authored and RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    a48390c View commit details
    Browse the repository at this point in the history
  79. Configuration menu
    Copy the full SHA
    2240529 View commit details
    Browse the repository at this point in the history
  80. of: Custom printk format specifier for device node

    90% of the usage of device node's full_name is printing it out
    in a kernel message. Preparing for the eventual delayed allocation
    introduce a custom printk format specifier that is both more
    compact and more pleasant to the eye.
    
    For instance typical use is:
    	pr_info("Frobbing node %s\n", node->full_name);
    
    Which can be written now as:
    	pr_info("Frobbing node %pO\n", node);
    
    More fine-grained control of formatting includes printing the name,
    flag, path-spec name, reference count and others, explained in the
    documentation entry.
    
    Signed-off-by: Pantelis Antoniou <[email protected]>
    pantoniou authored and RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    5c9ae6c View commit details
    Browse the repository at this point in the history
  81. of: overlay: kobjectify overlay objects

    We are going to need the overlays to appear on sysfs with runtime
    global properties (like master enable) so turn them into kobjects.
    
    They have to be in sysfs so that people can have information about the
    overlays applied in the system, i.e. where their targets are and whether
    removal is possible. In a future more attributes can be added
    in a backwards compatible manner.
    
    Signed-off-by: Pantelis Antoniou <[email protected]>
    pantoniou authored and RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    96bbc30 View commit details
    Browse the repository at this point in the history
  82. of: overlay: global sysfs enable attribute

    A throw once master enable switch to protect against any
    further overlay applications if the administrator desires so.
    
    A kernel command line option is provided as well.
    
    Signed-off-by: Pantelis Antoniou <[email protected]>
    pantoniou authored and RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    3af17df View commit details
    Browse the repository at this point in the history
  83. Documentation: ABI: overlays - global attributes

    Documentation ABI entry for overlays sysfs entries.
    
    Signed-off-by: Pantelis Antoniou <[email protected]>
    pantoniou authored and RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    da90acc View commit details
    Browse the repository at this point in the history
  84. Documentation: document of_overlay_disable parameter

    Document the of_overlay_disable parameter.
    
    Signed-off-by: Pantelis Antoniou <[email protected]>
    pantoniou authored and RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    01fdd64 View commit details
    Browse the repository at this point in the history
  85. of: overlay: add per overlay sysfs attributes

    * A per overlay can_remove sysfs attribute that reports whether
    the overlay can be removed or not due to another overlapping overlay.
    
    * A target sysfs attribute listing the target of each fragment,
    in a group named after the name of the fragment.
    
    Signed-off-by: Pantelis Antoniou <[email protected]>
    pantoniou authored and RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    0a82499 View commit details
    Browse the repository at this point in the history
  86. Documentation: ABI: overlays - per overlay docs

    Documentation for the per-overlay attributes.
    
    Signed-off-by: Pantelis Antoniou <[email protected]>
    pantoniou authored and RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    c0bbeef View commit details
    Browse the repository at this point in the history
  87. misc: Beaglebone capemanager

    A cape loader based on DT overlays and DT objects.
    
    This is the beaglebone cape manager which allows capes to be automatically
    probed and instantiated via means of a device tree overlay deduced from
    the part-number and version contained on the cape's EEPROM.
    
    The reference manual contains information about the specification
    and the contents of the EEPROM.
    
    http://beagleboard.org/static/beaglebone/latest/Docs/Hardware/BONE_SRM.pdf
    
    Documentation about the workings of the cape manager is located
    in Documentation/misc-devices/bone_capemgr.txt
    
    This driver is using the nvmem framework interface to retrieve
    the data stored on the baseboard and cape EEPROMs.
    
    Signed-off-by: Pantelis Antoniou <[email protected]>
    pantoniou authored and RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    a51712b View commit details
    Browse the repository at this point in the history
  88. doc: misc: Beaglebone capemanager documentation

    Add beaglebone capemanager documentation entry.
    
    Signed-off-by: Pantelis Antoniou <[email protected]>
    pantoniou authored and RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    318e77b View commit details
    Browse the repository at this point in the history
  89. doc: dt: beaglebone cape manager bindings.

    Bindings document for the beaglebone cape manager.
    
    Signed-off-by: Pantelis Antoniou <[email protected]>
    pantoniou authored and RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    ae0e529 View commit details
    Browse the repository at this point in the history
  90. doc: ABI: bone_capemgr sysfs API

    Document the beaglebone's capemgr sysfs API
    
    Signed-off-by: Pantelis Antoniou <[email protected]>
    pantoniou authored and RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    4aecd76 View commit details
    Browse the repository at this point in the history
  91. MAINTAINERS: Beaglebone capemanager maintainer

    Add me as the capemanager maintainer.
    
    Signed-off-by: Pantelis Antoniou <[email protected]>
    pantoniou authored and RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    e668c0e View commit details
    Browse the repository at this point in the history
  92. arm: dts: Enable beaglebone cape-manager

    Enable the cape manager on the beaglebone family of boards.
    
    Signed-off-by: Pantelis Antoniou <[email protected]>
    RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    7a46054 View commit details
    Browse the repository at this point in the history
  93. of: overlay: Implement indirect target support

    Some applications require applying the same overlay to a different
    target according to some external condition (for instance depending
    on the slot a card has been inserted, the overlay target is different).
    
    The indirect target use requires using the new
    of_overlay_create_indirect() API which uses a text selector.
    
    The format requires the use of a target-indirect node as follows:
    
    	fragment@0 {
    		target-indirect {
    			foo { target = <&foo_target>; };
    			bar { target = <&bar_target>; };
    		};
    	};
    
    Calling of_overlay_create_indirect() with a "foo" argument selects
    the foo_target and so on.
    
    Signed-off-by: Pantelis Antoniou <[email protected]>
    pantoniou authored and RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    1257643 View commit details
    Browse the repository at this point in the history
  94. of: unittest: Add indirect overlay target test

    Add a unittest for the indirect overlay target case.
    
    Signed-off-by: Pantelis Antoniou <[email protected]>
    pantoniou authored and RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    57a7236 View commit details
    Browse the repository at this point in the history
  95. doc: dt: Document the indirect overlay method.

    Add a description of the indirect overlay method to the overlay
    documention file.
    
    Signed-off-by: Pantelis Antoniou <[email protected]>
    pantoniou authored and RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    c7c1a8e View commit details
    Browse the repository at this point in the history
  96. of: overlay: Introduce target root capability.

    The target facility of an overlay allows the target to be any point
    in the live kernel tree, since it usually that's required when
    creating overlays for internal SoC devices. The target ends up
    to be a single node in the tree.
    
    However when we're dealing with probeable busses this is a problem
    since the target node differs according to the bus the plugged
    device lies.
    
    Using an overlay creating method using a target root node allows
    us to use a single overlay for those cases.
    
    Signed-off-by: Pantelis Antoniou <[email protected]>
    pantoniou authored and RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    9a7fd3a View commit details
    Browse the repository at this point in the history
  97. of: unittest: Unit-tests for target root overlays.

    Add unittests for target-root based overlays.
    
    Signed-off-by: Pantelis Antoniou <[email protected]>
    pantoniou authored and RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    70a7a58 View commit details
    Browse the repository at this point in the history
  98. doc: dt: Document the target root overlay method

    Add a description of the target root overlay method to the overlay
    documention file.
    
    Signed-off-by: Pantelis Antoniou <[email protected]>
    pantoniou authored and RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    04cfc85 View commit details
    Browse the repository at this point in the history
  99. of: dynamic: Add __of_node_dupv()

    Add an __of_node_dupv() private method and make __of_node_dup() use it.
    This is required for the subsequent changeset accessors which will
    make use of it.
    
    Signed-off-by: Pantelis Antoniou <[email protected]>
    pantoniou authored and RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    4630fb5 View commit details
    Browse the repository at this point in the history
  100. of: changesets: Introduce changeset helper methods

    Changesets are very powerful, but the lack of a helper API
    makes using them cumbersome. Introduce a simple copy based
    API that makes things considerably easier.
    
    To wit, adding a property using the raw API.
    
    	struct property *prop;
    	prop = kzalloc(sizeof(*prop)), GFP_KERNEL);
    	prop->name = kstrdup("compatible");
    	prop->value = kstrdup("foo,bar");
    	prop->length = strlen(prop->value) + 1;
    	of_changeset_add_property(ocs, np, prop);
    
    while using the helper API
    
    	of_changeset_add_property_string(ocs, np, "compatible",
    			"foo,bar");
    
    Signed-off-by: Pantelis Antoniou <[email protected]>
    pantoniou authored and RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    784adcf View commit details
    Browse the repository at this point in the history
  101. RFC: Device overlay manager (PCI/USB + DT)

    This probably misplaced (in drivers/misc) patch allows use
    of device tree overlays on the two kinds of probeable busses
    that count nowadays, PCI & USB.
    
    It does so by dynamically creating device nodes for the busses &
    devices that are probed and according to user-configuration applying
    an overlay when they appear.
    
    It is still a WIP but it's coming along nicely.
    
    Issues: Only PCI works for now, the generated bindings are not
    correct according to the openfirmware spec.
    
    Signed-off-by: Pantelis Antoniou <[email protected]>
    pantoniou authored and RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    dd287f4 View commit details
    Browse the repository at this point in the history
  102. of: remove bogus return in of_core_init

    Signed-off-by: Pantelis Antoniou <[email protected]>
    pantoniou authored and RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    1de4902 View commit details
    Browse the repository at this point in the history
  103. of: Maintainer fixes for dynamic

    Signed-off-by: Pantelis Antoniou <[email protected]>
    pantoniou authored and RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    f5a40b5 View commit details
    Browse the repository at this point in the history
  104. of: unittest: changeset helpers

    Signed-off-by: Pantelis Antoniou <[email protected]>
    pantoniou authored and RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    01ef388 View commit details
    Browse the repository at this point in the history
  105. of: rename *_node_sysfs to _node_post

    Signed-off-by: Pantelis Antoniou <[email protected]>
    pantoniou authored and RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    593be97 View commit details
    Browse the repository at this point in the history
  106. of: Support hashtable lookups for phandles

    Signed-off-by: Pantelis Antoniou <[email protected]>
    pantoniou authored and RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    736f643 View commit details
    Browse the repository at this point in the history
  107. bone_capemgr: uboot_capemgr_enabled flag

    Signed-off-by: Robert Nelson <[email protected]>
    RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    dd6ed74 View commit details
    Browse the repository at this point in the history
  108. bone_capemgr: kill with uboot flag

    Signed-off-by: Robert Nelson <[email protected]>
    RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    9e67f57 View commit details
    Browse the repository at this point in the history
  109. Configuration menu
    Copy the full SHA
    36b8212 View commit details
    Browse the repository at this point in the history
  110. arm: dts: am335x-bone-common: add collision and carrier sense pinmux

    Added pin mux definitions for collision and carrier sense errors coming
    from the ethernet phy. Without these two signals the MAC ends up ignoring
    the errors detected by the PHY which end up causing a lower throughput
    problem when the phy is in half duplex mode such as connected through a hub.
    
    Fixes: 2ba3549 (ARM: dts: am335x-bone*: add DT for BeagleBone Black)
    Cc: Koen Kooi <[email protected]>
    Cc: Tom Rini <[email protected]>
    Cc: Kevin Hilman <[email protected]>
    Cc: <[email protected]> # v3.13+
    Signed-off-by: Schuyler Patton <[email protected]>
    Signed-off-by: Felipe Balbi <[email protected]>
    spatton-ti authored and RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    560e27f View commit details
    Browse the repository at this point in the history
  111. tps65217: Enable KEY_POWER press on AC loss / PWR_BUT

    This is an adaption to v3.14.x of the original patch by Andrew Bradford <[email protected]>
    Some minor devm_* changes and DT support done by Pantelis Antoniou <[email protected]> for 3.8.x
    
    Signed-off-by: Robert Nelson <[email protected]>
    RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    3c8be12 View commit details
    Browse the repository at this point in the history
  112. am335x-bone-common: disable default clkout2_pin

    Signed-off-by: Robert Nelson <[email protected]>
    RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    f38484a View commit details
    Browse the repository at this point in the history
  113. spi-omap2-mcspi: ti,pio-mode

    Signed-off-by: Robert Nelson <[email protected]>
    RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    14d305e View commit details
    Browse the repository at this point in the history
  114. BeagleBone pinmux helper

    This patch was derived from 2 commits, but I removed the non-pinmux-helper portions
    and added the helper to the bb.org_defconfig:
    
    capemgr: Capemgr makefiles and Kconfig fragments.
    
    Introduce a cape loader using DT overlays and dynamic
    DT objects.
    
    Makefile and Kconfig fragments.
    
    Signed-off-by: Pantelis Antoniou <[email protected]>
    
    Conflicts:
    	arch/arm/mach-omap2/Kconfig
    	drivers/misc/Kconfig
    	drivers/misc/Makefile
    
    And:
    
    Pinmux helper driver.
    
        That's just a hack to get a pinmux helper driver working.
    
        Define in the DT
    
        	helper {
        		compatible = "bone-pinmux-helper";
        		pinctrl-names = "default";
        		pinctrl-0 = <&helper_pins>;
        		status = "okay";
        	};
    pantoniou authored and RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    8f74863 View commit details
    Browse the repository at this point in the history
  115. pinmux-helper: Add runtime configuration capability

    Pinctrl already supports multiple states. Just make them visible.
    pantoniou authored and RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    f07640f View commit details
    Browse the repository at this point in the history
  116. pinmux-helper: Switch to using kmalloc

    devm_kfree warned out... why? no idea.
    pantoniou authored and RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    888cbea View commit details
    Browse the repository at this point in the history
  117. gpio: Introduce GPIO OF helper

    A gpio OF helper driver that allows configuration to be done via
    DT.
    pantoniou authored and RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    e8b63c0 View commit details
    Browse the repository at this point in the history
  118. Add dir-changeable property to gpio-of-helper

    Signed-off-by: Charles Steinkuehler <[email protected]>
    cdsteinkuehler authored and RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    6f3eaa8 View commit details
    Browse the repository at this point in the history
  119. am33xx.dtsi: add ocp label

    Signed-off-by: Jason Kridner <[email protected]>
    Jason Kridner authored and RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    3f1dfa3 View commit details
    Browse the repository at this point in the history
  120. beaglebone: added expansion header to dtb

    This adds gpio and pinmux helpers to the majority of available expansion header pins
    based on the cape-universal work from Charles Steinkuehler making them userspace
    configurable. This is not a substitute for Capemgr as it doesn't perform the
    configuration based on cape detection, nor does it enable dynamic configuration of
    all types of peripherals that could be on a cape. It does, however, enable many
    developers to rapidly experiment with a lesser degree of complexity.
    
    Derived from:
    https://github.com/cdsteinkuehler/beaglebone-universal-io/blob/52461b52ef3203e648399c16c7e160c848a04b5c$
    
    Signed-off-by: Jason Kridner <[email protected]>
    Cc: Charles Steinkuehler <[email protected]>
    Signed-off-by: Robert Nelson <[email protected]>
    Jason Kridner authored and RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    08a33bb View commit details
    Browse the repository at this point in the history
  121. bone-pinmux-helper: Add support for "mode" device-tree parameter The …

    …new mode parameter is used to set the initial pinmux mode to something other than "default" or NULL, which is what happens currently. This allows enabling SoC hardware via device-tree which requires specific pinmux settings to function on boot, but still leaves the pinmux register under control of the bone-pinmux- helper driver meaning the pinmux setting can be changed at run time via user-mode access to sysfs.
    
    Signed-off-by: Charles Steinkuehler <[email protected]>
    cdsteinkuehler authored and RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    0262766 View commit details
    Browse the repository at this point in the history
  122. pinmux-helper: add P8_37_pinmux & P8_38_pinmux

    Signed-off-by: Robert Nelson <[email protected]>
    RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    b6afd08 View commit details
    Browse the repository at this point in the history
  123. pinmux-helper: hdmi

    BeagleBone DTS : Enable run-time pinmux for HDMI Add cape-universal-hdmi pin
    info to am335x-bone-common-universal.dtsi Edit hdmi dtsi include files to use
    new mode= setting to set HDMI mode at startup, leaving pinmux configurable at
    runtime.
    
    Signed-off-by: Charles Steinkuehler <[email protected]>
    Signed-off-by: Robert Nelson <[email protected]>
    cdsteinkuehler authored and RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    d315d8f View commit details
    Browse the repository at this point in the history
  124. pinmux-helper: can1

    Signed-off-by: Adrian Remonda <[email protected]>
    Signed-off-by: Robert Nelson <[email protected]>
    dasGringuen authored and RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    53d1658 View commit details
    Browse the repository at this point in the history
  125. Remove CONFIG_EXPERIMENTAL dependency on CONFIG_GPIO_OF_HELPER as CON…

    …FIG_EXPERIMENTAL has been removed with 3.9
    
    Signed-off-by: Tobias Müller <[email protected]>
    twam authored and RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    1425b2f View commit details
    Browse the repository at this point in the history
  126. pinmux-helper: add P9_19_pinmux & P9_20_pinmux

    Signed-off-by: Robert Nelson <[email protected]>
    RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    4a148f6 View commit details
    Browse the repository at this point in the history
  127. gpio-of-helper: idr_alloc

    Signed-off-by: Robert Nelson <[email protected]>
    RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    d5fef90 View commit details
    Browse the repository at this point in the history
  128. Provides a sysfs interface to the eQEP hardware on the AM33XX series …

    …SoCs
    
    Signed-off-by: Nathaniel Lewis <[email protected]>
    teknoman117 authored and RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    302eb93 View commit details
    Browse the repository at this point in the history
  129. tieqep.c: devres: remove devm_request_and_ioremap()

    Signed-off-by: Robert Nelson <[email protected]>
    RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    ec3cbb3 View commit details
    Browse the repository at this point in the history
  130. tieqep cleanup

    *) linux tree compatible formatting and commenting style.
    *) adds two additional count up/down modes.
    *) allows not hooking the interrupt handler, useful for frequency usage.
    
    Signed-off-by: Dick Hollenbeck <[email protected]>
    liftoff-sr authored and RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    b1f842e View commit details
    Browse the repository at this point in the history
  131. fix: tieqep.c

    Signed-off-by: Robert Nelson <[email protected]>
    RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    0b97253 View commit details
    Browse the repository at this point in the history
  132. am335x: overlays

    Signed-off-by: Robert Nelson <[email protected]>
    RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    69d43e2 View commit details
    Browse the repository at this point in the history
  133. gpu: drm: i2c: add alternative adv7511 driver with audio support

    Hacked driver that has audio support. Use this temporarily until
    audio support can be added to the upstream adv7511 driver.
    
    Signed-off-by: Jason Kridner <[email protected]>
    [Remove slave hacks and use adv75xx compatible strings]
    Signed-off-by: Matt Porter <[email protected]>
    Jason Kridner authored and RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    350d263 View commit details
    Browse the repository at this point in the history
  134. gpu: drm: i2c: adihdmi: componentize driver and huge reformat/cleanup

    Convert the driver over the the device model component framework, making
    use of the drm encoder/connector helpers. This allows adihdmi to be
    dynamically selected as an external encoder for drm drivers like tilcdc
    that support the DT graph binding which defines ports and remote-endpoints
    to attach external encoders.
    
    Also, this driver was modified by another developer to support audio and
    tweak some settings.  Along the way it seems to have been reformatted to
    4 space tabs which is hard to work with alongside the standard 8 space tabs
    in the kernel coding standard. As such, this is reformatted to standard 8
    space tabs so it's a bit more readable.
    
    The component and audio support should be merged into the upstream driver
    so this adihdmi driver can be removed.
    
    Signed-off-by: Matt Porter <[email protected]>
    ohporter authored and RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    1f9071f View commit details
    Browse the repository at this point in the history
  135. adihdmi_drv: reg_default -> reg_sequence

    Signed-off-by: Robert Nelson <[email protected]>
    RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    3578e0c View commit details
    Browse the repository at this point in the history
  136. ARM: dts: add Arrow BeagleBone Black Industrial dts

    Adds a dts file for the Arrow BeagleBone Black Industrial board.
    This BBB variant differs in that it uses an industrial temp rated
    ADV7511W HDMI encoder rather than the NXP HDMI encoder on the
    tradtional BBB.
    
    Signed-off-by: Matt Porter <[email protected]>
    ohporter authored and RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    2a74ea4 View commit details
    Browse the repository at this point in the history
  137. ARM: dts: Add support for Olimex AM3352-SOM

    Add a dts file for Olimex AM3352-SOM board. The board does not use the PMIC
    tps65217 and does not have many peripherals present in beaglebone. Thus, a
    specific dtsi file (am335x-som-common.dtsi) is needed.
    
    rcn-ee:
    drop ti,am335x-bone due to:
    davinci_mdio: dt: updated phy_id[0] from phy_mask[fffffffc]
    davinci_mdio: dt: updated phy_id[1] from phy_mask[fffffffc]
    beagleboard#4.5.0-rc0
    Use: olimex,am335x-olimex-som
    tps65217.dtsi gone
    
    Signed-off-by: Dimitar Gamishev <[email protected]>
    Signed-off-by: Vinicius Maciel <[email protected]>
    vinifr authored and RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    11a8d66 View commit details
    Browse the repository at this point in the history
  138. ARM: dts: add am335x-bonegreen-wireless.dtb

    Signed-off-by: Robert Nelson <[email protected]>
    RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    d50f90c View commit details
    Browse the repository at this point in the history
  139. add: am335x-sancloud-bbe

    Signed-off-by: Robert Nelson <[email protected]>
    RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    1b6392c View commit details
    Browse the repository at this point in the history
  140. ARM: dts: add am335x-boneblack-wireless.dtb

    Signed-off-by: Robert Nelson <[email protected]>
    RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    604e254 View commit details
    Browse the repository at this point in the history
  141. ARM: dts: add am335x-boneblue.dtb

    Signed-off-by: Robert Nelson <[email protected]>
    RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    a4a987d View commit details
    Browse the repository at this point in the history
  142. Configuration menu
    Copy the full SHA
    ddd3bb6 View commit details
    Browse the repository at this point in the history
  143. update boneblue and add bb-wireless

    StrawsonDesign authored and RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    f1de59c View commit details
    Browse the repository at this point in the history
  144. update model: am335x-boneblack-roboticscape.dtb/am335x-boneblack-wire…

    …less-roboticscape.dtb
    
    Signed-off-by: Robert Nelson <[email protected]>
    RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    37dd696 View commit details
    Browse the repository at this point in the history
  145. Blue A2 fixes

    Signed-off-by: Robert Nelson <[email protected]>
    RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    f68de69 View commit details
    Browse the repository at this point in the history
  146. Blue: enable dcan1

    Signed-off-by: Robert Nelson <[email protected]>
    RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    8ee8a0c View commit details
    Browse the repository at this point in the history
  147. blue: fix bt_en pinmux

    Signed-off-by: Jason Kridner <[email protected]>
    Jason Kridner authored and RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    35b5448 View commit details
    Browse the repository at this point in the history
  148. add: am335x-boneblue-ArduPilot.dts

    Signed-off-by: Robert Nelson <[email protected]>
    RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    db03a47 View commit details
    Browse the repository at this point in the history
  149. Make BeagleBone Blue battery LED labels match the circuit board

    Change the BeagleBone Blue battery indicator LED device nodes so that the label matches what is actually printed on the circuit board. This makes identification more obvious.
    dlech authored and RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    610d1c6 View commit details
    Browse the repository at this point in the history
  150. blue: fixes for ardupilot

    fixes: RobertCNelson/dtb-rebuilder#20
    Signed-off-by: Robert Nelson <[email protected]>
    RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    a036731 View commit details
    Browse the repository at this point in the history
  151. am335x-boneblue.dts: fix defaults, add adc

    Signed-off-by: Robert Nelson <[email protected]>
    RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    6155ace View commit details
    Browse the repository at this point in the history
  152. Configuration menu
    Copy the full SHA
    9640a8e View commit details
    Browse the repository at this point in the history
  153. add: am335x-boneblue-mmap.dts

    Signed-off-by: Robert Nelson <[email protected]>
    RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    251402e View commit details
    Browse the repository at this point in the history
  154. add: am335x-arduino-tre.dts

    Signed-off-by: Robert Nelson <[email protected]>
    RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    c0dc7af View commit details
    Browse the repository at this point in the history
  155. ARM: dts: am335x-siriusDEB.dtb

    Signed-off-by: Robert Nelson <[email protected]>
    RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    5b16258 View commit details
    Browse the repository at this point in the history
  156. Configuration menu
    Copy the full SHA
    4d98643 View commit details
    Browse the repository at this point in the history
  157. Configuration menu
    Copy the full SHA
    45a5625 View commit details
    Browse the repository at this point in the history
  158. Configuration menu
    Copy the full SHA
    5c11f1d View commit details
    Browse the repository at this point in the history
  159. cape: Argus UPS cape support

    Rewritten using includes, v3.16.1
    
    Signed-off-by: Dave Lambert <[email protected]>
    Signed-off-by: Robert Nelson <[email protected]>
    jdal authored and RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    e789f82 View commit details
    Browse the repository at this point in the history
  160. ARM: dts: am335x-boneblack: enable wl1835mod cape support

    Add support for the WL1835MOD cape.
    This cape conflicts with the eMMC and HDMI on board the BeagleBone Black.
    
    This change requires that the board be booted from the SD card slot by
    holding the user/boot button down at power on and reset.
    
    Signed-off-by: Eyal Reizer <[email protected]>
    eyalreizer authored and RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    2e7fdde View commit details
    Browse the repository at this point in the history
  161. am335x-boneblack-wl1835mod: fix bluetooth

    Signed-off-by: Robert Nelson <[email protected]>
    RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    28497b5 View commit details
    Browse the repository at this point in the history
  162. add: am335x-boneblack-bbbmini.dts

    Signed-off-by: Robert Nelson <[email protected]>
    RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    2900403 View commit details
    Browse the repository at this point in the history
  163. Configuration menu
    Copy the full SHA
    3c1ecfe View commit details
    Browse the repository at this point in the history
  164. bb: audio cape

    Signed-off-by: Robert Nelson <[email protected]>
    RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    d3a2c14 View commit details
    Browse the repository at this point in the history
  165. add: am335x-boneblack-lcd-ct43.dtb

    Signed-off-by: Robert Nelson <[email protected]>
    RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    330f4d3 View commit details
    Browse the repository at this point in the history
  166. tty/serial/8250: make UART_MCR register access consistent

    Introduce serial8250_out_MCR() and serial8250_in_MCR() routines, that
    replace following calls:
    
    serial_out(port, UART_MCR, val)
    serial_port_out(up, UART_MCR, val)
    serial_in(port, UART_MCR)
    
    This patch is needed in order to integrate reading/writing of MCR
    signals via SERIAL_MCTRL_GPIO infrastructure later.
    
    CC: Peter Hurley <[email protected]>
    Signed-off-by: Yegor Yefremov <[email protected]>
    yegorich authored and RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    34ec874 View commit details
    Browse the repository at this point in the history
  167. serial: mctrl_gpio: add modem control read routine

    mctrl_gpio_get_outputs() returns the state of following signals:
    
    RTS, DTR, OUT1, OUT2
    
    Signed-off-by: Yegor Yefremov <[email protected]>
    yegorich authored and RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    6d77af5 View commit details
    Browse the repository at this point in the history
  168. serial: mctrl_gpio: add IRQ locking

    uart_handle_cts_change() should be called in IRQ locked state, hence
    use port->lock to disable interrupts.
    
    CC: Uwe Kleine-König <[email protected]>
    Signed-off-by: Yegor Yefremov <[email protected]>
    yegorich authored and RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    3cb793b View commit details
    Browse the repository at this point in the history
  169. add: jtag clock pinmux

    Signed-off-by: Robert Nelson <[email protected]>
    RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    2b5ae6c View commit details
    Browse the repository at this point in the history
  170. add: wilink8-bt

    Pillar1989 authored and RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    cc9198b View commit details
    Browse the repository at this point in the history
  171. wl18xx: forward port from v4.1.x-ti

    Signed-off-by: Robert Nelson <[email protected]>
    RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    9b18b15 View commit details
    Browse the repository at this point in the history
  172. pruss: choose rproc or uio

    Signed-off-by: Robert Nelson <[email protected]>
    RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    c058a09 View commit details
    Browse the repository at this point in the history
  173. fix some uio_pruss braindamage

    mvduin authored and RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    758e1d2 View commit details
    Browse the repository at this point in the history
  174. add: am335x-pocketbone.dtb

    Signed-off-by: Robert Nelson <[email protected]>
    RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    fa4eb88 View commit details
    Browse the repository at this point in the history
  175. add: am335x-pocketbeagle.dtb

    Signed-off-by: Robert Nelson <[email protected]>
    RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    1d29e1f View commit details
    Browse the repository at this point in the history
  176. am335x-pocketbeagle.dtb: config-pin

    Signed-off-by: Robert Nelson <[email protected]>
    RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    3af2795 View commit details
    Browse the repository at this point in the history
  177. am335x-pocketbeagle: spi: use alias, and bring out spi0

    Signed-off-by: Robert Nelson <[email protected]>
    RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    57f5a54 View commit details
    Browse the repository at this point in the history
  178. am335x-pocketbeagle.dts: resync with pinmux generator

    Signed-off-by: Robert Nelson <[email protected]>
    RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    d6305da View commit details
    Browse the repository at this point in the history
  179. am335x-pocketbeagle: add pwm/dcan/usarts

    Signed-off-by: Robert Nelson <[email protected]>
    RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    2526cf7 View commit details
    Browse the repository at this point in the history
  180. am335x-pocketbeagle.dts: fix cpufreq

    Signed-off-by: Robert Nelson <[email protected]>
    RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    cd6ba52 View commit details
    Browse the repository at this point in the history
  181. am335x-pocketbeagle.dts: disable unrouted spi channels

    Signed-off-by: Robert Nelson <[email protected]>
    RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    45757b1 View commit details
    Browse the repository at this point in the history
  182. am335x-pocketbeagle.dts: fix spi add can0

    Signed-off-by: Robert Nelson <[email protected]>
    RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    de6457a View commit details
    Browse the repository at this point in the history
  183. pocketbeagle: fix P2_24

    Signed-off-by: Robert Nelson <[email protected]>
    RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    ea018da View commit details
    Browse the repository at this point in the history
  184. Configuration menu
    Copy the full SHA
    5039b2d View commit details
    Browse the repository at this point in the history
  185. add am335x-pocketbeagle-simplegaming.dtb

    Signed-off-by: Robert Nelson <[email protected]>
    RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    f08b33b View commit details
    Browse the repository at this point in the history
  186. am335x-pocketbeagle.dts: enable spidev1.1

    Signed-off-by: Robert Nelson <[email protected]>
    RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    ec9f8c4 View commit details
    Browse the repository at this point in the history
  187. am335x-pocketbeagle-simplegaming: add mikroBUS pinmuxes

    Signed-off-by: Robert Nelson <[email protected]>
    RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    9c53027 View commit details
    Browse the repository at this point in the history
  188. Configuration menu
    Copy the full SHA
    6aee78d View commit details
    Browse the repository at this point in the history
  189. am33xx: add gpio line names

    Jason Kridner authored and RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    4772c7a View commit details
    Browse the repository at this point in the history
  190. sctp: Rename NETIF_F_SCTP_CSUM to NETIF_F_SCTP_CRC

    The SCTP checksum is really a CRC and is very different from the
    standards 1's complement checksum that serves as the checksum
    for IP protocols. This offload interface is also very different.
    Rename NETIF_F_SCTP_CSUM to NETIF_F_SCTP_CRC to highlight these
    differences. The term CSUM should be reserved in the stack to refer
    to the standard 1's complement IP checksum.
    
    Signed-off-by: Tom Herbert <[email protected]>
    Signed-off-by: David S. Miller <[email protected]>
    tomratbert authored and RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    b483713 View commit details
    Browse the repository at this point in the history
  191. net: Rename NETIF_F_ALL_CSUM to NETIF_F_CSUM_MASK

    The name NETIF_F_ALL_CSUM is a misnomer. This does not correspond to the
    set of features for offloading all checksums. This is a mask of the
    checksum offload related features bits. It is incorrect to set both
    NETIF_F_HW_CSUM and NETIF_F_IP_CSUM or NETIF_F_IPV6 at the same time for
    features of a device.
    
    This patch:
      - Changes instances of NETIF_F_ALL_CSUM to NETIF_F_CSUM_MASK (where
        NETIF_F_ALL_CSUM is being used as a mask).
      - Changes bonding, sfc/efx, ipvlan, macvlan, vlan, and team drivers to
        use NEITF_F_HW_CSUM in features list instead of NETIF_F_ALL_CSUM.
    
    Signed-off-by: Tom Herbert <[email protected]>
    Signed-off-by: David S. Miller <[email protected]>
    tomratbert authored and RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    fd22a34 View commit details
    Browse the repository at this point in the history
  192. ethtool: Add phy statistics

    Ethernet PHYs can maintain statistics, for example errors while idle
    and receive errors. Add an ethtool mechanism to retrieve these
    statistics, using the same model as MAC statistics.
    
    Signed-off-by: Andrew Lunn <[email protected]>
    Reviewed-by: Florian Fainelli <[email protected]>
    Signed-off-by: David S. Miller <[email protected]>
    lunn authored and RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    dc3ccee View commit details
    Browse the repository at this point in the history
  193. ethtool: Declare netdev_rss_key as __read_mostly.

    netdev_rss_key is written to once and thereafter is read by
    drivers when they are initialising. The fact that it is mostly
    read and not written to makes it a candidate for a __read_mostly
    declaration.
    
    Signed-off-by: Kim Jones <[email protected]>
    Signed-off-by: Alan Carey <[email protected]>
    Acked-by: Rami Rosen <[email protected]>
    Signed-off-by: David S. Miller <[email protected]>
    kimmariejones authored and RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    3cc5b30 View commit details
    Browse the repository at this point in the history
  194. ethtool: correctly ensure {GS}CHANNELS doesn't conflict with GS{RXFH}

    Ethernet drivers implementing both {GS}RXFH and {GS}CHANNELS ethtool ops
    incorrectly allow SCHANNELS when it would conflict with the settings
    from SRXFH. This occurs because it is not possible for drivers to
    understand whether their Rx flow indirection table has been configured
    or is in the default state. In addition, drivers currently behave in
    various ways when increasing the number of Rx channels.
    
    Some drivers will always destroy the Rx flow indirection table when this
    occurs, whether it has been set by the user or not. Other drivers will
    attempt to preserve the table even if the user has never modified it
    from the default driver settings. Neither of these situation is
    desirable because it leads to unexpected behavior or loss of user
    configuration.
    
    The correct behavior is to simply return -EINVAL when SCHANNELS would
    conflict with the current Rx flow table settings. However, it should
    only do so if the current settings were modified by the user. If we
    required that the new settings never conflict with the current (default)
    Rx flow settings, we would force users to first reduce their Rx flow
    settings and then reduce the number of Rx channels.
    
    This patch proposes a solution implemented in net/core/ethtool.c which
    ensures that all drivers behave correctly. It checks whether the RXFH
    table has been configured to non-default settings, and stores this
    information in a private netdev flag. When the number of channels is
    requested to change, it first ensures that the current Rx flow table is
    not going to assign flows to now disabled channels.
    
    Signed-off-by: Jacob Keller <[email protected]>
    Signed-off-by: David S. Miller <[email protected]>
    jacob-keller authored and RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    a79f09c View commit details
    Browse the repository at this point in the history
  195. ethtool: ensure channel counts are within bounds during SCHANNELS

    Add a sanity check to ensure that all requested channel sizes are within
    bounds, which should reduce errors in driver implementation.
    
    Signed-off-by: Jacob Keller <[email protected]>
    Signed-off-by: David S. Miller <[email protected]>
    jacob-keller authored and RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    e122232 View commit details
    Browse the repository at this point in the history
  196. net: add tc offload feature flag

    Its useful to turn off the qdisc offload feature at a per device
    level. This gives us a big hammer to enable/disable offloading.
    More fine grained control (i.e. per rule) may be supported later.
    
    Signed-off-by: John Fastabend <[email protected]>
    Acked-by: Jiri Pirko <[email protected]>
    Acked-by: Jamal Hadi Salim <[email protected]>
    Signed-off-by: David S. Miller <[email protected]>
    jrfastab authored and RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    5e75d44 View commit details
    Browse the repository at this point in the history
  197. net/ethtool: introduce a new ioctl for per queue setting

    Introduce a new ioctl ETHTOOL_PERQUEUE for per queue parameters setting.
    The following patches will enable some SUB_COMMANDs for per queue
    setting.
    
    Signed-off-by: Kan Liang <[email protected]>
    Reviewed-by: Ben Hutchings <[email protected]>
    Signed-off-by: David S. Miller <[email protected]>
    kliang2 authored and RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    69692f7 View commit details
    Browse the repository at this point in the history
  198. net/ethtool: support get coalesce per queue

    This patch implements sub command ETHTOOL_GCOALESCE for ioctl
    ETHTOOL_PERQUEUE. It introduces an interface get_per_queue_coalesce to
    get coalesce of each masked queue from device driver. Then the interrupt
    coalescing parameters will be copied back to user space one by one.
    
    Signed-off-by: Kan Liang <[email protected]>
    Reviewed-by: Ben Hutchings <[email protected]>
    Signed-off-by: David S. Miller <[email protected]>
    kliang2 authored and RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    1e10826 View commit details
    Browse the repository at this point in the history
  199. net/ethtool: support set coalesce per queue

    This patch implements sub command ETHTOOL_SCOALESCE for ioctl
    ETHTOOL_PERQUEUE. It introduces an interface set_per_queue_coalesce to
    set coalesce of each masked queue to device driver. The wanted coalesce
    information are stored in "data" for each masked queue, which can copy
    from userspace.
    If it fails to set coalesce to device driver, the value which already
    set to specific queue will be tried to rollback.
    
    Signed-off-by: Kan Liang <[email protected]>
    Reviewed-by: Ben Hutchings <[email protected]>
    Signed-off-by: David S. Miller <[email protected]>
    kliang2 authored and RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    c1d7293 View commit details
    Browse the repository at this point in the history
  200. net: ethtool: add new ETHTOOL_xLINKSETTINGS API

    This patch defines a new ETHTOOL_GLINKSETTINGS/SLINKSETTINGS API,
    handled by the new get_link_ksettings/set_link_ksettings callbacks.
    This API provides support for most legacy ethtool_cmd fields, adds
    support for larger link mode masks (up to 4064 bits, variable length),
    and removes ethtool_cmd deprecated
    fields (transceiver/maxrxpkt/maxtxpkt).
    
    This API is deprecating the legacy ETHTOOL_GSET/SSET API and provides
    the following backward compatibility properties:
     - legacy ethtool with legacy drivers: no change, still using the
       get_settings/set_settings callbacks.
     - legacy ethtool with new get/set_link_ksettings drivers: the new
       driver callbacks are used, data internally converted to legacy
       ethtool_cmd. ETHTOOL_GSET will return only the 1st 32b of each link
       mode mask. ETHTOOL_SSET will fail if user tries to set the
       ethtool_cmd deprecated fields to
       non-0 (transceiver/maxrxpkt/maxtxpkt). A kernel warning is logged if
       driver sets higher bits.
     - future ethtool with legacy drivers: no change, still using the
       get_settings/set_settings callbacks, internally converted to new data
       structure. Deprecated fields (transceiver/maxrxpkt/maxtxpkt) will be
       ignored and seen as 0 from user space. Note that that "future"
       ethtool tool will not allow changes to these deprecated fields.
     - future ethtool with new drivers: direct call to the new callbacks.
    
    By "future" ethtool, what is meant is:
     - query: first try ETHTOOL_GLINKSETTINGS, and revert to ETHTOOL_GSET if
       fails
     - set: query first and remember which of ETHTOOL_GLINKSETTINGS or
       ETHTOOL_GSET was successful
       + if ETHTOOL_GLINKSETTINGS was successful, then change config with
         ETHTOOL_SLINKSETTINGS. A failure there is final (do not try
         ETHTOOL_SSET).
       + otherwise ETHTOOL_GSET was successful, change config with
         ETHTOOL_SSET. A failure there is final (do not try
         ETHTOOL_SLINKSETTINGS).
    
    The interaction user/kernel via the new API requires a small
    ETHTOOL_GLINKSETTINGS handshake first to agree on the length of the link
    mode bitmaps. If kernel doesn't agree with user, it returns the bitmap
    length it is expecting from user as a negative length (and cmd field is
    0). When kernel and user agree, kernel returns valid info in all
    fields (ie. link mode length > 0 and cmd is ETHTOOL_GLINKSETTINGS).
    
    Data structure crossing user/kernel boundary is 32/64-bit
    agnostic. Converted internally to a legal kernel bitmap.
    
    The internal __ethtool_get_settings kernel helper will gradually be
    replaced by __ethtool_get_link_ksettings by the time the first
    "link_settings" drivers start to appear. So this patch doesn't change
    it, it will be removed before it needs to be changed.
    
    Signed-off-by: David Decotigny <[email protected]>
    Signed-off-by: David S. Miller <[email protected]>
    David Decotigny authored and RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    1fbe434 View commit details
    Browse the repository at this point in the history
  201. ethtool: Set cmd field in ETHTOOL_GLINKSETTINGS response to wrong nwords

    When the ETHTOOL_GLINKSETTINGS implementation finds that userland is
    using the wrong number of words of link mode bitmaps (or is trying to
    find out the right numbers) it sets the cmd field to 0 in the response
    structure.
    
    This is inconsistent with the implementation of every other ethtool
    command, so let's remove that inconsistency before it gets into a
    stable release.
    
    Fixes: 3f1ac7a ("net: ethtool: add new ETHTOOL_xLINKSETTINGS API")
    Signed-off-by: Ben Hutchings <[email protected]>
    Signed-off-by: David S. Miller <[email protected]>
    bwhacks authored and RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    2195c43 View commit details
    Browse the repository at this point in the history
  202. add: am335x-vsc8531bbb

    Signed-off-by: Robert Nelson <[email protected]>
    RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    1da13c9 View commit details
    Browse the repository at this point in the history
  203. lib/bitmap.c: conversion routines to/from u32 array

    Aimed at transferring bitmaps to/from user-space in a 32/64-bit agnostic
    way.
    
    Tested:
      unit tests (next patch) on qemu i386, x86_64, ppc, ppc64 BE and LE,
      ARM.
    
    Signed-off-by: David Decotigny <[email protected]>
    Reviewed-by: Ben Hutchings <[email protected]>
    Signed-off-by: David S. Miller <[email protected]>
    David Decotigny authored and RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    f4b404e View commit details
    Browse the repository at this point in the history
  204. ti/cpsw: priv -> cpsw (slaves)

    Signed-off-by: Robert Nelson <[email protected]>
    RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    40be1d4 View commit details
    Browse the repository at this point in the history
  205. uapi: consolidate DIV_ROUND_UP definition

    The inital goal was to consolidate ethtool.h uapi header. But I took the
    opportunity to remove all duplicate definitions of DIV_ROUND_UP.
    
    v3: add patch beagleboard#2 and beagleboard#3
    
    v2: split the patch
        define DIV_ROUND_UP in uapi
    
     .../drm/vmwgfx/device_include/svga3d_surfacedefs.h   | 20 +++++++++++---------
     drivers/scsi/cxgbi/cxgb4i/cxgb4i.c                   |  2 +-
     include/linux/kernel.h                               |  2 +-
     include/uapi/linux/ethtool.h                         |  7 ++++++-
     include/uapi/linux/kernel.h                          |  1 +
     include/uapi/linux/mroute6.h                         |  9 ++-------
     6 files changed, 22 insertions(+), 19 deletions(-)
    
    Regards,
    Nicolas
    
    Date:	Fri,  4 Mar 2016 11:52:18 +0100
    From:	Nicolas Dichtel <[email protected]>
    To:	[email protected]
    Cc:	[email protected], [email protected],
    	Karen Xie <[email protected]>, [email protected],
    	[email protected], David Airlie <[email protected]>,
    	[email protected],
    	Nicolas Dichtel <[email protected]>
    Subject: [PATCH net-next v3 3/4] drm/vmwgfx: remove userland definition of DIV_ROUND_UP
    
    Let's use __KERNEL_DIV_ROUND_UP, which is defined in uapi/linux/kernel.h.
    
    Signed-off-by: Nicolas Dichtel <[email protected]>
    Nicolas Dichtel authored and RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    ba23589 View commit details
    Browse the repository at this point in the history
  206. Add device tree file for the Modio BB cape

    The Modio cape exposes 4 UARTs as 3xRS485 and 1xRS232 port on the
    BeagleBoneBlack.
    
    To function, it needs the cape manager to be disabled, since the capemanager
    shares pins with one of the UART devices.
    
    This device tree file is based on the minimal dts file. It currently sets up
    RTS pins as GPIO pins, which the OMAP_SERIAL driver can function with.
    
    So far, I have not managed to make the driver simply set the RTS flag in order
    to control the port.
    
    Signed-off-by: D.S. Ljungmark <[email protected]>
    Spindel authored and RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    021380b View commit details
    Browse the repository at this point in the history
  207. add: am335x-boneblack-modio.dtb

    Signed-off-by: Robert Nelson <[email protected]>
    RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    3b1c27e View commit details
    Browse the repository at this point in the history
  208. add: am335x-boneblack-uboot.dts

    Signed-off-by: Robert Nelson <[email protected]>
    RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    b51dc83 View commit details
    Browse the repository at this point in the history
  209. u-boot: am335x-sancloud-bbe-uboot.dtb

    Signed-off-by: Robert Nelson <[email protected]>
    RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    9dbf759 View commit details
    Browse the repository at this point in the history
  210. ti_am335x_tsc: correct formula code to calculate pressure; fix touchs…

    …creen jitter problem
    fagle authored and RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    6a6a9e4 View commit details
    Browse the repository at this point in the history
  211. bb-justboom

    Signed-off-by: Robert Nelson <[email protected]>
    RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    c1c6361 View commit details
    Browse the repository at this point in the history
  212. Configuration menu
    Copy the full SHA
    8ab44b0 View commit details
    Browse the repository at this point in the history
  213. justboom-digi: fix playback

    We have tested new image and it works for our DAC cape and Amp cape, but we
    discovered one bug we have in justboom-digi.c driver that makes it behaves badly
    at certain playback conditions for Digi Cape.
    
    Signed-off-by: Robert Nelson <[email protected]>
    RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    70f315d View commit details
    Browse the repository at this point in the history
  214. sync: am335x-peripheral/pinmux

    Signed-off-by: Robert Nelson <[email protected]>
    RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    d8e3a37 View commit details
    Browse the repository at this point in the history
  215. Configuration menu
    Copy the full SHA
    e93b539 View commit details
    Browse the repository at this point in the history
  216. auto generated: capes: add dtbs to makefile

    Signed-off-by: Robert Nelson <[email protected]>
    RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    186390b View commit details
    Browse the repository at this point in the history
  217. cpsw: search for phy

    I have encountered the same issue(s) on A6A boards.
    
    I couldn't find a patch,  so I wrote this patch to update the device tree
    in the davinci_mdio driver in the 3.15.1 tree, it seems to correct it. I
    would welcome any input on a different approach.
    
    https://groups.google.com/d/msg/beagleboard/9mctrG26Mc8/SRlnumt0LoMJ
    
    v4.1-rcX: added hack around CONFIG_OF_OVERLAY
    v4.2-rc3+: added if (of_machine_is_compatible("ti,am335x-bone")) so we do
    not break dual ethernet am335x devices
    
    Signed-off-by: Robert Nelson <[email protected]>
    Jay at Control Module Industries authored and RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    0ec9c15 View commit details
    Browse the repository at this point in the history
  218. add am33x firmware

    Signed-off-by: Robert Nelson <[email protected]>
    RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    e3428bc View commit details
    Browse the repository at this point in the history
  219. x15: mmc/cmem/debugss

    Signed-off-by: Robert Nelson <[email protected]>
    RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    27df2e1 View commit details
    Browse the repository at this point in the history
  220. x15: cmem: keep this formating...

    Signed-off-by: Robert Nelson <[email protected]>
    RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    0e8ca47 View commit details
    Browse the repository at this point in the history
  221. x15: add eeprom

    Signed-off-by: Robert Nelson <[email protected]>
    RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    917451e View commit details
    Browse the repository at this point in the history
  222. mmc: block: Use the mmc host device index as the mmcblk device index

    Commit 520bd7a ("mmc: core: Optimize boot time by detecting cards
    simultaneously") causes regressions for some platforms.
    
    These platforms relies on fixed mmcblk device indexes, instead of
    deploying the defacto standard with UUID/PARTUUID. In other words their
    rootfs needs to be available at hardcoded paths, like /dev/mmcblk0p2.
    
    Such guarantees have never been made by the kernel, but clearly the above
    commit changes the behaviour. More precisely, because of that the order
    changes of how cards becomes detected, so do their corresponding mmcblk
    device indexes.
    
    As the above commit significantly improves boot time for some platforms
    (magnitude of seconds), let's avoid reverting this change but instead
    restore the behaviour of how mmcblk device indexes becomes picked.
    
    By using the same index for the mmcblk device as for the corresponding mmc
    host device, the probe order of mmc host devices decides the index we get
    for the mmcblk device.
    
    For those platforms that suffers from a regression, one could expect that
    this updated behaviour should be sufficient to meet their expectations of
    "fixed" mmcblk device indexes.
    
    Another side effect from this change, is that the same index is used for
    the mmc host device, the mmcblk device and the mmc block queue. That
    should clarify their relationship.
    
    Reported-by: Peter Hurley <[email protected]>
    Reported-by: Laszlo Fiat <[email protected]>
    Cc: Linus Torvalds <[email protected]>
    Fixes: 520bd7a ("mmc: core: Optimize boot time by detecting cards
    simultaneously")
    Cc: <[email protected]>
    Signed-off-by: Ulf Hansson <[email protected]>
    storulf authored and RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    7514ed9 View commit details
    Browse the repository at this point in the history
  223. x15: gpu 2d: vivante,gc

    Signed-off-by: Robert Nelson <[email protected]>
    RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    fa8c920 View commit details
    Browse the repository at this point in the history
  224. brcmfmac43341

    Signed-off-by: Robert Nelson <[email protected]>
    RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    a19f9dd View commit details
    Browse the repository at this point in the history
  225. brcmfmac: SDIOD_DRVSTR_KEY: BRCM_CC_43340/1

    Signed-off-by: Robert Nelson <[email protected]>
    RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    627c109 View commit details
    Browse the repository at this point in the history
  226. brcmfmac: l77 works now...

    Signed-off-by: Robert Nelson <[email protected]>
    RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    9e6c9c6 View commit details
    Browse the repository at this point in the history
  227. brcmfmac: ism4343

    Signed-off-by: Robert Nelson <[email protected]>
    RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    ab30cf8 View commit details
    Browse the repository at this point in the history
  228. quiet: 8250_omap.c use pr_info over pr_err

    Signed-off-by: Robert Nelson <[email protected]>
    RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    a905475 View commit details
    Browse the repository at this point in the history
  229. quiet: wlcore

    Signed-off-by: Robert Nelson <[email protected]>
    RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    a2f7d76 View commit details
    Browse the repository at this point in the history
  230. enable: am33xx-pruss-rproc.dtsi by default

    Signed-off-by: Robert Nelson <[email protected]>
    RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    ddba9aa View commit details
    Browse the repository at this point in the history
  231. add: am571x-sndrBlock.dtb

    Signed-off-by: Robert Nelson <[email protected]>
    RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    abe7de0 View commit details
    Browse the repository at this point in the history
  232. Configuration menu
    Copy the full SHA
    7ffb76d View commit details
    Browse the repository at this point in the history
  233. add: am57xx-beagle-x15-revc.dtb

    Signed-off-by: Robert Nelson <[email protected]>
    RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    e68c517 View commit details
    Browse the repository at this point in the history
  234. omap_hsmmc: Reduce max_segs for reliability

    Reduce max_segs to 64, a value that allows allocation of an entire
    EDMA descriptor list within a single page - EDMA descriptors
    are 40 bytes and the header is much larger. This avoids doing a
    higher order GFP_ATOMIC allocation in edma_prep_slave_sg
    when setting up a transfer which can potentially fail due to
    fragmentation under heavy I/O load.
    
    The current value of 1024 is unusually high in comparison to
    other mmc host drivers which mostly use values of between 1
    and 256. The EDMA driver at present splits lists above 20
    segments in any case so reducing the size of lists we pass to
    it shouldn't add much overhead.
    
    rcn-ee: add use_adma option: https://www.spinics.net/lists/linux-omap/msg137942.html
    
    Signed-off-by: Will Newton <[email protected]>
    Signed-off-by: Robert Nelson <[email protected]>
    willnewton authored and RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    a1ad448 View commit details
    Browse the repository at this point in the history
  235. am335x-bone-common: config-pin: carve out P9.19/P9.20

    Signed-off-by: Robert Nelson <[email protected]>
    RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    6d64ee5 View commit details
    Browse the repository at this point in the history
  236. pwm: ehrpwm: Allow to call from interrupt context

    Signed-off-by: Ezequiel Garcia <[email protected]>
    ezequielgarcia authored and RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    933e7b3 View commit details
    Browse the repository at this point in the history
  237. Configuration menu
    Copy the full SHA
    f184048 View commit details
    Browse the repository at this point in the history
  238. pwmsp: hrtimer_get_res is gone in v4.2.x, use hrtimer_resolution valu…

    …e directly
    
    Signed-off-by: Robert Nelson <[email protected]>
    RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    0d7f6e9 View commit details
    Browse the repository at this point in the history
  239. blue: pinmux: dont grab these with pinmux-helper

    Signed-off-by: Robert Nelson <[email protected]>
    RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    11ef2b1 View commit details
    Browse the repository at this point in the history
  240. blue: fix pinmuxing so librobotics works

    Signed-off-by: Robert Nelson <[email protected]>
    RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    773a49b View commit details
    Browse the repository at this point in the history
  241. scripts/dtc: Update to upstream version overlays

    Signed-off-by: Robert Nelson <[email protected]>
    RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    b671f9a View commit details
    Browse the repository at this point in the history
  242. dtc: turn off dtc unit address warnings by default

    The newly added dtc warning to check DT unit-address without reg
    property and vice-versa generates lots of warnings. Turn off the check
    unless building with W=1 or W=2.
    
    Signed-off-by: Rob Herring <[email protected]>
    Cc: Michal Marek <[email protected]>
    Cc: [email protected]
    robherring authored and RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    8eb3b1e View commit details
    Browse the repository at this point in the history
  243. ARM: boot: Add an implementation of strnlen for libfdt

    Recent versions of libfdt add a dependency on strnlen. Copy the
    implementation in lib/string.c here, so we can update libfdt.
    
    Acked-by: Russell King <[email protected]>
    Signed-off-by: Rob Herring <[email protected]>
    robherring authored and RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    517a9ea View commit details
    Browse the repository at this point in the history
  244. packaging: sync builddeb changes

    Signed-off-by: Robert Nelson <[email protected]>
    RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    3ba19c9 View commit details
    Browse the repository at this point in the history
  245. enable: Jenkins: http://rcn-ee.online:8080

    Signed-off-by: Robert Nelson <[email protected]>
    RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    c5c3582 View commit details
    Browse the repository at this point in the history
  246. Configuration menu
    Copy the full SHA
    c14ebc1 View commit details
    Browse the repository at this point in the history
  247. 4.4.113-ti-r149 bb.org_defconfig

    4.4 TI Delta: RobertCNelson/ti-linux-kernel@f89a69b...4a9c4fe
    
    Signed-off-by: Robert Nelson <[email protected]>
    RobertCNelson committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    51dd091 View commit details
    Browse the repository at this point in the history

Commits on Jun 30, 2018

  1. [hackers.mu][zero contents - do not leak keys]

    Yasir Auleear committed Jun 30, 2018
    Configuration menu
    Copy the full SHA
    98fa5ff View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f4057ed View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    51d13ca View commit details
    Browse the repository at this point in the history