24 Aug, 2018

1 commit

  • Pull ARM SoC driver updates from Olof Johansson:
    "Some of the larger changes this merge window:

    - Removal of drivers for Exynos5440, a Samsung SoC that never saw
    widespread use.

    - Uniphier support for USB3 and SPI reset handling

    - Syste control and SRAM drivers and bindings for Allwinner platforms

    - Qualcomm AOSS (Always-on subsystem) reset controller drivers

    - Raspberry Pi hwmon driver for voltage

    - Mediatek pwrap (pmic) support for MT6797 SoC"

    * tag 'armsoc-drivers' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (52 commits)
    drivers/firmware: psci_checker: stash and use topology_core_cpumask for hotplug tests
    soc: fsl: cleanup Kconfig menu
    soc: fsl: dpio: Convert DPIO documentation to .rst
    staging: fsl-mc: Remove remaining files
    staging: fsl-mc: Move DPIO from staging to drivers/soc/fsl
    staging: fsl-dpaa2: eth: move generic FD defines to DPIO
    soc: fsl: qe: gpio: Add qe_gpio_set_multiple
    usb: host: exynos: Remove support for Exynos5440
    clk: samsung: Remove support for Exynos5440
    soc: sunxi: Add the A13, A23 and H3 system control compatibles
    reset: uniphier: add reset control support for SPI
    cpufreq: exynos: Remove support for Exynos5440
    ata: ahci-platform: Remove support for Exynos5440
    soc: imx6qp: Use GENPD_FLAG_ALWAYS_ON for PU errata
    soc: mediatek: pwrap: add mt6351 driver for mt6797 SoCs
    soc: mediatek: pwrap: add pwrap driver for mt6797 SoCs
    soc: mediatek: pwrap: fix cipher init setting error
    dt-bindings: pwrap: mediatek: add pwrap support for MT6797
    reset: uniphier: add USB3 core reset control
    dt-bindings: reset: uniphier: add USB3 core reset support
    ...

    Linus Torvalds
     

19 Aug, 2018

1 commit

  • Pull staging and IIO updates from Greg KH:
    "Here are the big staging/iio patches for 4.19-rc1.

    Lots of churn here, with tons of cleanups happening in staging
    drivers, a removal of an old crypto driver that no one was using
    (skein), and the addition of some new IIO drivers. Also added was a
    "gasket" driver from Google that needs loads of work and the erofs
    filesystem.

    Even with adding all of the new drivers and a new filesystem, we are
    only adding about 1000 lines overall to the kernel linecount, which
    shows just how much cleanup happened, and how big the unused crypto
    driver was.

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

    * tag 'staging-4.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging: (903 commits)
    staging:rtl8192u: Remove unused macro definitions - Style
    staging:rtl8192u: Add spaces around '+' operator - Style
    staging:rtl8192u: Remove stale comment - Style
    staging: rtl8188eu: remove unused mp_custom_oid.h
    staging: fbtft: Add spaces around / - Style
    staging: fbtft: Erases some repetitive usage of function name - Style
    staging: fbtft: Adjust some empty-line problems - Style
    staging: fbtft: Removes one nesting level to help readability - Style
    staging: fbtft: Changes gamma table to define.
    staging: fbtft: A bit more information on dev_err.
    staging: fbtft: Fixes some alignment issues - Style
    staging: fbtft: Puts macro arguments in parenthesis to avoid precedence issues - Style
    staging: rtl8188eu: remove unused array dB_Invert_Table
    staging: rtl8188eu: remove whitespace, add missing blank line
    staging: rtl8188eu: use is_multicast_ether_addr in rtw_sta_mgt.c
    staging: rtl8188eu: remove whitespace - style
    staging: rtl8188eu: cleanup block comment - style
    staging: rtl8188eu: use is_multicast_ether_addr in rtl8188eu_xmit.c
    staging: rtl8188eu: use is_multicast_ether_addr in recv_linux.c
    staging: rtlwifi: refactor rtl_get_tcb_desc
    ...

    Linus Torvalds
     

27 Jul, 2018

1 commit


25 Jul, 2018

1 commit

  • Remove the staging/drivers/fsl-mc directory from the staging
    area now that all the components have been moved to the main
    kernel areas.

    Signed-off-by: Roy Pledge
    Reviewed-by: Horia Geantă
    Reviewed-by: Ioana Radulescu
    Signed-off-by: Li Yang

    Roy Pledge
     

24 Jul, 2018

1 commit

  • This IP core has read and write AXI-Stream FIFOs, the contents of which can
    be accessed from the AXI4 memory-mapped interface. This is useful for
    transferring data from a processor into the FPGA fabric. The driver creates
    a character device that can be read/written to with standard
    open/read/write/close.

    See Xilinx PG080 document for IP details.

    https://www.xilinx.com/support/documentation/ip_documentation/axi_fifo_mm_s/v4_1/pg080-axi-fifo-mm-s.pdf

    The driver currently supports only store-forward mode with a 32-bit
    AXI4 Lite interface. DOES NOT support:
    - cut-through mode
    - AXI4 (non-lite)

    Signed-off-by: Jacob Feder
    Signed-off-by: Greg Kroah-Hartman

    Jacob Feder
     

10 Jul, 2018

1 commit


02 Jul, 2018

2 commits

  • The Gasket (Google ASIC Software, Kernel Extensions, and Tools) kernel
    framework is a generic, flexible system that supports thin kernel
    drivers. Gasket kernel drivers are expected to handle opening and
    closing devices, mmap'ing BAR space as requested, a small selection of
    ioctls, and handling page table translation (covered below). Any other
    functions should be handled by userspace code.

    The Gasket common module is not enough to run a device. In order to
    customize the Gasket code for a given piece of hardware, a device
    specific module must be created. At a minimum, this module must define a
    struct gasket_driver_desc containing the device-specific data for use by
    the framework; in addition, the module must declare an __init function
    that calls gasket_register_device with the module's gasket_driver_desc
    struct. Finally, the driver must define an exit function that calls
    gasket_unregister_device with the module's gasket_driver_desc struct.

    One of the core assumptions of the Gasket framework is that precisely
    one process is allowed to have an open write handle to the device node
    at any given time. (That process may, once it has one write handle, open
    any number of additional write handles.) This is accomplished by
    tracking open and close data for each driver instance.

    Signed-off-by: Rob Springer
    Signed-off-by: John Joseph
    Signed-off-by: Simon Que
    Signed-off-by: Greg Kroah-Hartman

    Simon Que
     
  • It's been four years since this was added. In the interim, skein has
    not seen any mainstream adoption. Same with the threefish block cipher
    upon which it's based.

    In the discussion over which hash algorithm will replace SHA1 in git,
    it's not one of the contenders.

    There's absolutely no reason to think that there is anything wrong with
    Skein or Threefish. The only reason for this removal is a lack of
    adoption.

    If a real user comes forward, I'd be happy to assist with integrating
    this code into mainline.

    Signed-off-by: Jason Cooper
    Signed-off-by: Greg Kroah-Hartman

    Jason Cooper
     

28 Jun, 2018

1 commit


06 Jun, 2018

3 commits

  • The ipx code moved into the staging tree back in November 2017 and no
    one has complained or even noticed it was gone. Because of that, let's
    just delete it.

    Note, the ipx header files are not removed here, that will come later
    through the networking tree, as that takes a bit more work to unwind.

    Cc: Stephen Hemminger
    Cc: David S. Miller
    Signed-off-by: Greg Kroah-Hartman

    Greg Kroah-Hartman
     
  • The ncpfs code moved into the staging tree back in November 2017 and no
    one has complained or even noticed it was gone. Because of that, let's
    just delete it.

    Cc: Stephen Hemminger
    Cc: David S. Miller
    Signed-off-by: Greg Kroah-Hartman

    Greg Kroah-Hartman
     
  • The Lustre filesystem has been in the kernel tree for over 5 years now.
    While it has been an endless source of enjoyment for new kernel
    developers learning how to do basic codingstyle cleanups, as well as an
    semi-entertaining source of bewilderment from the vfs developers any
    time they have looked into the codebase to try to figure out how to port
    their latest api changes to this filesystem, it has not really moved
    forward into the "this is in shape to get out of staging" despite many
    half-completed attempts.

    And getting code out of staging is the main goal of that portion of the
    kernel tree. Code should not stagnate and it feels like having this
    code in staging is only causing the development cycle of the filesystem
    to take longer than it should. There is a whole separate out-of-tree
    copy of this codebase where the developers work on it, and then random
    changes are thrown over the wall at staging at some later point in time.
    This dual-tree development model has never worked, and the state of this
    codebase is proof of that.

    So, let's just delete the whole mess. Now the lustre developers can go
    off and work in their out-of-tree codebase and not have to worry about
    providing valid changelog entries and breaking their patches up into
    logical pieces. They can take the time they have spend doing those
    types of housekeeping chores and get the codebase into a much better
    shape, and it can be submitted for inclusion into the real part of the
    kernel tree when ready.

    Cc: Oleg Drokin
    Cc: Andreas Dilger
    Cc: James Simmons
    Signed-off-by: Greg Kroah-Hartman

    Greg Kroah-Hartman
     

20 Mar, 2018

8 commits


14 Mar, 2018

2 commits


28 Nov, 2017

2 commits


02 Nov, 2017

1 commit

  • Many source files in the tree are missing licensing information, which
    makes it harder for compliance tools to determine the correct license.

    By default all files without license information are under the default
    license of the kernel, which is GPL version 2.

    Update the files which contain no license information with the 'GPL-2.0'
    SPDX license identifier. The SPDX identifier is a legally binding
    shorthand, which can be used instead of the full boiler plate text.

    This patch is based on work done by Thomas Gleixner and Kate Stewart and
    Philippe Ombredanne.

    How this work was done:

    Patches were generated and checked against linux-4.14-rc6 for a subset of
    the use cases:
    - file had no licensing information it it.
    - file was a */uapi/* one with no licensing information in it,
    - file was a */uapi/* one with existing licensing information,

    Further patches will be generated in subsequent months to fix up cases
    where non-standard license headers were used, and references to license
    had to be inferred by heuristics based on keywords.

    The analysis to determine which SPDX License Identifier to be applied to
    a file was done in a spreadsheet of side by side results from of the
    output of two independent scanners (ScanCode & Windriver) producing SPDX
    tag:value files created by Philippe Ombredanne. Philippe prepared the
    base worksheet, and did an initial spot review of a few 1000 files.

    The 4.13 kernel was the starting point of the analysis with 60,537 files
    assessed. Kate Stewart did a file by file comparison of the scanner
    results in the spreadsheet to determine which SPDX license identifier(s)
    to be applied to the file. She confirmed any determination that was not
    immediately clear with lawyers working with the Linux Foundation.

    Criteria used to select files for SPDX license identifier tagging was:
    - Files considered eligible had to be source code files.
    - Make and config files were included as candidates if they contained >5
    lines of source
    - File already had some variant of a license header in it (even if
    Reviewed-by: Philippe Ombredanne
    Reviewed-by: Thomas Gleixner
    Signed-off-by: Greg Kroah-Hartman

    Greg Kroah-Hartman
     

07 Sep, 2017

1 commit

  • Pull networking updates from David Miller:

    1) Support ipv6 checksum offload in sunvnet driver, from Shannon
    Nelson.

    2) Move to RB-tree instead of custom AVL code in inetpeer, from Eric
    Dumazet.

    3) Allow generic XDP to work on virtual devices, from John Fastabend.

    4) Add bpf device maps and XDP_REDIRECT, which can be used to build
    arbitrary switching frameworks using XDP. From John Fastabend.

    5) Remove UFO offloads from the tree, gave us little other than bugs.

    6) Remove the IPSEC flow cache, from Florian Westphal.

    7) Support ipv6 route offload in mlxsw driver.

    8) Support VF representors in bnxt_en, from Sathya Perla.

    9) Add support for forward error correction modes to ethtool, from
    Vidya Sagar Ravipati.

    10) Add time filter for packet scheduler action dumping, from Jamal Hadi
    Salim.

    11) Extend the zerocopy sendmsg() used by virtio and tap to regular
    sockets via MSG_ZEROCOPY. From Willem de Bruijn.

    12) Significantly rework value tracking in the BPF verifier, from Edward
    Cree.

    13) Add new jump instructions to eBPF, from Daniel Borkmann.

    14) Rework rtnetlink plumbing so that operations can be run without
    taking the RTNL semaphore. From Florian Westphal.

    15) Support XDP in tap driver, from Jason Wang.

    16) Add 32-bit eBPF JIT for ARM, from Shubham Bansal.

    17) Add Huawei hinic ethernet driver.

    18) Allow to report MD5 keys in TCP inet_diag dumps, from Ivan
    Delalande.

    * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next: (1780 commits)
    i40e: point wb_desc at the nvm_wb_desc during i40e_read_nvm_aq
    i40e: avoid NVM acquire deadlock during NVM update
    drivers: net: xgene: Remove return statement from void function
    drivers: net: xgene: Configure tx/rx delay for ACPI
    drivers: net: xgene: Read tx/rx delay for ACPI
    rocker: fix kcalloc parameter order
    rds: Fix non-atomic operation on shared flag variable
    net: sched: don't use GFP_KERNEL under spin lock
    vhost_net: correctly check tx avail during rx busy polling
    net: mdio-mux: add mdio_mux parameter to mdio_mux_init()
    rxrpc: Make service connection lookup always check for retry
    net: stmmac: Delete dead code for MDIO registration
    gianfar: Fix Tx flow control deactivation
    cxgb4: Ignore MPS_TX_INT_CAUSE[Bubble] for T6
    cxgb4: Fix pause frame count in t4_get_port_stats
    cxgb4: fix memory leak
    tun: rename generic_xdp to skb_xdp
    tun: reserve extra headroom only when XDP is set
    net: dsa: bcm_sf2: Configure IMP port TC2QOS mapping
    net: dsa: bcm_sf2: Advertise number of egress queues
    ...

    Linus Torvalds
     

29 Aug, 2017

2 commits


21 Aug, 2017

1 commit

  • The RTL8822BE, an 802.11ac wireless network card, is now appearing in
    new computers. Its driver is being placed in staging to reduce the time
    that users of this new card will have access to in-kernel drivers.

    This commit enables building of the new driver. For this version, all
    routines are built into a single module r8822be. When this driver is
    moved to the wireless tree, halmac, phydm, and rtl8822be will become
    new modules.

    Signed-off-by: Larry Finger
    Cc: Ping-Ke Shih
    Cc: Yan-Hsuan Chuang
    Cc: Birming Chiu
    Cc: Shaofu
    Cc: Steven Ting
    Signed-off-by: Greg Kroah-Hartman

    Larry Finger
     

24 Jul, 2017

1 commit


17 Jul, 2017

1 commit

  • This commit adds the vboxvideo drm/kms driver for the virtual graphics
    card used in Virtual Box virtual machines to drivers/staging.

    Why drivers/staging? This driver is already being patched into the kernel
    by several distros, thus it is good to get this driver upstream soon, so
    that work on the driver can be easily shared.

    At the same time we want to take our time to get this driver properly
    cleaned up (mainly converted to the new atomic modesetting APIs) before
    submitting it as a normal driver under drivers/gpu/drm, putting this
    driver in staging for now allows both.

    Note this driver has already been significantly cleaned up, when I started
    working on this the files under /usr/src/vboxguest/vboxvideo as installed
    by Virtual Box 5.1.18 Guest Additions had a total linecount of 52681
    lines. The version in this commit has 4874 lines.

    Cc: vbox-dev@virtualbox.org
    Cc: Michael Thayer
    Signed-off-by: Hans de Goede
    Signed-off-by: Michael Thayer
    Acked-by: Daniel Vetter
    Signed-off-by: Greg Kroah-Hartman

    Hans de Goede
     

16 Jul, 2017

1 commit


06 May, 2017

1 commit

  • Pull staging/IIO updates from Greg KH:
    "Here is the big staging tree update for 4.12-rc1.

    It's a big one, adding about 350k new lines of crap^Wcode, mostly all
    in a big dump of media drivers from Intel. But there's other new
    drivers in here as well, yet-another-wifi driver, new IIO drivers, and
    a new crypto accelerator.

    We also deleted a bunch of stuff, mostly in patch cleanups, but also
    the Android ION code has shrunk a lot, and the Android low memory
    killer driver was finally deleted, much to the celebration of the -mm
    developers.

    All of these have been in linux-next with a few build issues that will
    show up when you merge to your tree"

    Merge conflicts in the new rtl8723bs driver (due to the wifi changes
    this merge window) handled as per linux-next, courtesy of Stephen
    Rothwell.

    * tag 'staging-4.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging: (1182 commits)
    staging: fsl-mc/dpio: add cpu LE conversion for dpaa2_fd
    staging: ks7010: remove line continuations in quoted strings
    staging: vt6656: use tabs instead of spaces
    staging: android: ion: Fix unnecessary initialization of static variable
    staging: media: atomisp: fix range checking on clk_num
    staging: media: atomisp: fix misspelled word in comment
    staging: media: atomisp: kmap() can't fail
    staging: atomisp: remove #ifdef for runtime PM functions
    staging: atomisp: satm include directory is gone
    atomisp: remove some more unused files
    atomisp: remove hmm_load/store/clear indirections
    atomisp: kill off mmgr_free
    atomisp: clean up the hmm init/cleanup indirections
    atomisp: handle allocation calls before init in the hmm layer
    staging: fsl-dpaa2/eth: Add maintainer for Ethernet driver
    staging: fsl-dpaa2/eth: Add TODO file
    staging: fsl-dpaa2/eth: Add trace points
    staging: fsl-dpaa2/eth: Add driver specific stats
    staging: fsl-dpaa2/eth: Add ethtool support
    staging: fsl-dpaa2/eth: Add Freescale DPAA2 Ethernet driver
    ...

    Linus Torvalds
     

28 Apr, 2017

3 commits

  • Add the command build/parse APIs for operating on DPNI objects through
    the DPAA2 Management Complex.

    Signed-off-by: Ioana Radulescu
    Signed-off-by: Greg Kroah-Hartman

    Ioana Radulescu
     
  • Introduce basic low level Arm TrustZone CryptoCell HW support.
    This first patch doesn't actually register any Crypto API
    transformations, these will follow up in the next patch.

    This first revision supports the CC 712 REE component.

    Signed-off-by: Gilad Ben-Yossef
    Signed-off-by: Greg Kroah-Hartman

    Gilad Ben-Yossef
     
  • This driver implements the USB Type-C Power Delivery state machine
    for both source and sink ports. Alternate mode support is not
    fully implemented.

    The driver attaches to the USB Type-C class code implemented in
    the following patches.

    usb: typec: add driver for Intel Whiskey Cove PMIC USB Type-C PHY
    usb: USB Type-C connector class

    This driver only implements the state machine. Lower level drivers are
    responsible for
    - Reporting VBUS status and activating VBUS
    - Setting CC lines and providing CC line status
    - Setting line polarity
    - Activating and deactivating VCONN
    - Setting the current limit
    - Activating and deactivating PD message transfers
    - Sending and receiving PD messages

    The driver provides both a functional API as well as callbacks for
    lower level drivers.

    Signed-off-by: Guenter Roeck
    Signed-off-by: Guenter Roeck
    Signed-off-by: Greg Kroah-Hartman

    Guenter Roeck
     

08 Apr, 2017

1 commit

  • The rtl8723bs is found on quite a few systems used by Linux users,
    such as on Atom systems (Intel Computestick and various other
    Atom based devices) and on many (budget) ARM boards such as
    the CHIP.

    The plan moving forward with this is for the new clean,
    written from scratch, rtl8xxxu driver to eventually gain
    support for sdio devices. But there is no clear timeline
    for that, so lets add this driver included in staging for now.

    Cc: Bastien Nocera
    Cc: Larry Finger
    Cc: Jes Sorensen
    Signed-off-by: Hans de Goede
    Signed-off-by: Greg Kroah-Hartman

    Hans de Goede
     

06 Mar, 2017

1 commit


27 Jan, 2017

1 commit

  • Initial cleanup of bcm2835-audio driver for the
    bcm2535(Raspberry PI)

    Driver provides HDMI audio through ALSA and is built
    on top of the vc04_services driver.

    Original version of the driver is available at:
    http://www.github.com/raspberry/linux

    Driver compiles without any build errors or warnings.

    Tested on a RPI 3 running in ARM64 mode with the
    vlc player and alsautils.

    Signed-off-by: Michael Zoran
    Signed-off-by: Greg Kroah-Hartman

    Michael Zoran
     

06 Jan, 2017

1 commit

  • It's now 2017, and a new LTS kernel has been chosen, so let's do what we
    said we would do in the TODO file and delete this code. If it's still
    needed, and a maintainer steps up to take it over, we will easily revert
    it.

    Cc: Arnd Bergmann
    Cc: Karsten Keil
    Signed-off-by: Greg Kroah-Hartman

    Greg Kroah-Hartman