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
     

17 Sep, 2017

1 commit

  • Commit 5620a0d1aac ("firmware: delete in-kernel firmware") removed the
    entire firmware directory. Unfortunately it thereby also removed the
    support for built-in firmware.

    This restores the ability to build firmware directly into the kernel by
    pruning the original Makefile to the necessary minimum. The default for
    EXTRA_FIRMWARE_DIR is now the standard directory /lib/firmware/.

    Fixes: 5620a0d1aac ("firmware: delete in-kernel firmware")
    Signed-off-by: Markus Trippelsdorf
    Acked-by: Greg K-H
    Signed-off-by: Linus Torvalds

    Markus Trippelsdorf
     

15 Sep, 2017

1 commit

  • The last firmware change for the in-kernel firmware source code was back
    in 2013. Everyone has been relying on the out-of-tree linux-firmware
    package for a long long time.

    So let's drop it, it's baggage we don't need to keep dragging around
    (and having to fix random kbuild issues over time...)

    Cc: Kyle McMartin
    Cc: Andrew Morton
    Cc: Michal Marek
    Cc: Masahiro Yamada
    Acked-by: David Woodhouse
    Signed-off-by: Greg Kroah-Hartman

    Greg Kroah-Hartman
     

09 May, 2017

1 commit

  • If you modify the target asm we currently do not force the recompilation
    of the firmware files. The target asm is in the firmware/Makefile, peg
    this file as a dependency to require re-compilation of firmware targets
    when the asm changes.

    Link: http://lkml.kernel.org/r/20170123150727.4883-1-mcgrof@kernel.org
    Signed-off-by: Luis R. Rodriguez
    Cc: Masahiro Yamada
    Cc: Michal Marek
    Cc: Ming Lei
    Cc: Greg Kroah-Hartman
    Cc: Tom Gundersen
    Cc: David Woodhouse
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Luis R. Rodriguez
     

04 Dec, 2015

1 commit

  • While https was always supported on linuxtv.org, only in
    Dec 3 2015 the website is using valid certificates.

    As we're planning to drop pure http support on some
    future, change the http://linuxtv.org references at firmware/WHENCE
    file to point to https://linuxtv.org instead.

    Signed-off-by: Mauro Carvalho Chehab

    Mauro Carvalho Chehab
     

07 May, 2015

1 commit


17 Apr, 2015

1 commit

  • Commit 2473238eac95 ("ihex: add support for CS:IP/EIP records") removes
    the "default:" statement in the switch block, making the "return
    usage();" line dead code and ihex2fw silently ignoring unknown options.
    Restore this statement.

    This bug was found by building with HOSTCC=clang and adding
    -Wunreachable-code-return to HOSTCFLAGS.

    Fixes: 2473238eac95 ("ihex: add support for CS:IP/EIP records")
    Signed-off-by: Nicolas Iooss
    Cc: Mark Brown
    Cc: David Woodhouse
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Nicolas Iooss
     

02 Oct, 2014

1 commit

  • Kconfig never defines CONFIG_* as 'n'.
    Now obj-n is only used in firmware/Makefile and it can be
    replaced with obj-. No makefile uses lib-n.

    Let's rip off obj-n and lib-n.

    Signed-off-by: Masahiro Yamada
    Acked-by: Peter Foley
    Signed-off-by: Michal Marek

    Masahiro Yamada
     

09 Jul, 2014

1 commit

  • Commit 5180d5f4 ("firmware: Simplify directory creation") broke
    including firmware specified in CONFIG_EXTRA_FIRMWARE:

    MK_FW firmware/amd-ucode/microcode_amd.bin.gen.S
    /bin/sh: firmware/amd-ucode/microcode_amd.bin.gen.S: No such file or directory
    ...
    firmware/Makefile:185: recipe for target
    'firmware/amd-ucode/microcode_amd.bin.gen.S' failed

    It works with O= builds, because the directory is created by
    Makefile.build. Create the directory in firmware/Makefile in non-O
    builds.

    Reported-and-tested-by: Ronald Uitermark
    Reported-and-tested-by: Torsten Kaiser
    Signed-off-by: Michal Marek

    Michal Marek
     

13 Jun, 2014

1 commit

  • Pull kbuild updates from Michal Marek:
    "Kbuild changes for v3.16-rc1:

    - cross-compilation fix so that cc-option is testing the right
    compiler
    - Fix for make defconfig all
    - Using relative paths to the object and source directory where
    possible, plus fixes for the fallout of the change
    - several cleanups in the Makefiles and scripts

    The powerpc fix is from today, because it was only discovered
    recently. The rest has been in linux-next for some time"

    * 'kbuild' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild:
    powerpc: Avoid circular dependency with zImage.%
    kbuild: create include/config directory in scripts/kconfig/Makefile
    kbuild: do not create include/linux directory
    Makefile: Fix unrecognized cross-compiler command line options
    kbuild: do not add "selinux" to subdir- twice
    um: Fix for relative objtree when generating x86 headers
    kbuild: Use relative path when building in a subdir of the source tree
    kbuild: Use relative path when building in the source tree
    kbuild: Use relative path for $(objtree)
    firmware: Use $(quote) in the Makefile
    firmware: Simplify directory creation
    kbuild: trivial - fix comment block indent
    kbuild: trivial - remove trailing spaces
    kbuild: support simultaneous "make %config" and "make all"
    kbuild: move extra gcc checks to scripts/Makefile.extrawarn

    Linus Torvalds
     

15 May, 2014

2 commits

  • The literal " confuses syntax highlighting in vim.

    Cc: David Woodhouse
    Acked-by: Sam Ravnborg
    Signed-off-by: Michal Marek

    Michal Marek
     
  • When building the firmware blobs, use a simple loop to create
    directories in $(objtree), like in Makefile.build. This simplifies the
    rules and also makes it possible to set $(objtree) to '.' later. Before
    this change, a dependency on $(objtree)/ would be satisfied by
    in $(srctree).

    When installing the firmware blobs, call mkdir like in Makefile.modinst.

    Cc: David Woodhouse
    Acked-by: Sam Ravnborg
    Signed-off-by: Michal Marek

    Michal Marek
     

17 Apr, 2014

1 commit

  • These serial drivers were removed in kernel v3.1, so we can drop their
    documentation files and references to their magic numbers and
    parameters.

    There are still references to these old drivers in
    Documentation/devices.txt but I'm afraid they can't be removed.

    Signed-off-by: Jean Delvare
    Cc: Greg Kroah-Hartman
    Cc: Jiri Slaby
    Cc: Rob Landley
    Signed-off-by: Greg Kroah-Hartman

    Jean Delvare
     

11 Dec, 2013

1 commit

  • Commit b8e24bfabb03 ('emi62: use request_firmware()') made
    emi62/bitstream.HEX a copy of emi26/bitstream.HEX. Re-do the
    conversion from drivers/usb/misc/emi62_fw_{m,s}.h (these headers
    contained the same bitstream but different firmware).

    This produces an identical blob to the known working version in
    http://people.xiph.org/~xiphmont/emagic/emi-20131209.tgz

    Reported-by: Monty
    Cc: David Woodhouse
    Signed-off-by: Ben Hutchings
    Signed-off-by: Greg Kroah-Hartman

    Ben Hutchings
     

06 Apr, 2013

1 commit

  • Commit e2eed58b4fbf ("IB/qib: change QLogic to Intel") moved a firmware
    file potentially breaking the ABI.

    This patch reverts that aspect of the fix as well as reverting the
    firmware name as used in qib.

    Reported-by: David Woodhouse
    Signed-off-by: Mike Marciniszyn
    Signed-off-by: Linus Torvalds

    Mike Marciniszyn
     

23 Mar, 2013

1 commit


22 Nov, 2012

1 commit

  • dabusb was removed with commit dae86ccbc3 ("[media] dabusb: remove
    obsolete driver"), so remove the last vestiges of firmware and
    documentation.

    Signed-off-by: Tim Gardner
    Cc: Rob Landley
    Cc: Paul Gortmaker
    Cc: Ben Hutchings
    Signed-off-by: Andrew Morton
    Signed-off-by: Greg Kroah-Hartman

    Tim Gardner
     

03 Oct, 2012

1 commit

  • Pull networking changes from David Miller:

    1) GRE now works over ipv6, from Dmitry Kozlov.

    2) Make SCTP more network namespace aware, from Eric Biederman.

    3) TEAM driver now works with non-ethernet devices, from Jiri Pirko.

    4) Make openvswitch network namespace aware, from Pravin B Shelar.

    5) IPV6 NAT implementation, from Patrick McHardy.

    6) Server side support for TCP Fast Open, from Jerry Chu and others.

    7) Packet BPF filter supports MOD and XOR, from Eric Dumazet and Daniel
    Borkmann.

    8) Increate the loopback default MTU to 64K, from Eric Dumazet.

    9) Use a per-task rather than per-socket page fragment allocator for
    outgoing networking traffic. This benefits processes that have very
    many mostly idle sockets, which is quite common.

    From Eric Dumazet.

    10) Use up to 32K for page fragment allocations, with fallbacks to
    smaller sizes when higher order page allocations fail. Benefits are
    a) less segments for driver to process b) less calls to page
    allocator c) less waste of space.

    From Eric Dumazet.

    11) Allow GRO to be used on GRE tunnels, from Eric Dumazet.

    12) VXLAN device driver, one way to handle VLAN issues such as the
    limitation of 4096 VLAN IDs yet still have some level of isolation.
    From Stephen Hemminger.

    13) As usual there is a large boatload of driver changes, with the scale
    perhaps tilted towards the wireless side this time around.

    Fix up various fairly trivial conflicts, mostly caused by the user
    namespace changes.

    * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next: (1012 commits)
    hyperv: Add buffer for extended info after the RNDIS response message.
    hyperv: Report actual status in receive completion packet
    hyperv: Remove extra allocated space for recv_pkt_list elements
    hyperv: Fix page buffer handling in rndis_filter_send_request()
    hyperv: Fix the missing return value in rndis_filter_set_packet_filter()
    hyperv: Fix the max_xfer_size in RNDIS initialization
    vxlan: put UDP socket in correct namespace
    vxlan: Depend on CONFIG_INET
    sfc: Fix the reported priorities of different filter types
    sfc: Remove EFX_FILTER_FLAG_RX_OVERRIDE_IP
    sfc: Fix loopback self-test with separate_tx_channels=1
    sfc: Fix MCDI structure field lookup
    sfc: Add parentheses around use of bitfield macro arguments
    sfc: Fix null function pointer in efx_sriov_channel_type
    vxlan: virtual extensible lan
    igmp: export symbol ip_mc_leave_group
    netlink: add attributes to fdb interface
    tg3: unconditionally select HWMON support when tg3 is enabled.
    Revert "net: ti cpsw ethernet: allow reading phy interface mode from DT"
    gre: fix sparse warning
    ...

    Linus Torvalds
     

17 Aug, 2012

1 commit

  • The only Computone support left in the kernel is in
    drivers/tty/serial/8250/8250_pci.c. CONFIG_COMPUTONE is no longer a valid
    option. Therefore, remove firmware, documentation, and the last vestiges
    of this driver.

    Cc: Rob Landley
    Cc: Paul Gortmaker
    Cc: Ben Hutchings
    Cc: James Bottomley
    Cc: Dan Williams
    Signed-off-by: Tim Gardner
    Signed-off-by: Andrew Morton
    Signed-off-by: Greg Kroah-Hartman

    Tim Gardner
     

02 Aug, 2012

1 commit


16 May, 2012

1 commit

  • This represents the mass deletion of the of the tokenring support.

    It gets rid of:
    - the net/tr.c which the drivers depended on
    - the drivers/net component
    - the Kbuild infrastructure around it
    - any tokenring related CONFIG_ settings in any defconfigs
    - the tokenring headers in the include/linux dir
    - the firmware associated with the tokenring drivers.
    - any associated token ring documentation.

    Signed-off-by: Paul Gortmaker

    Paul Gortmaker
     

16 Jan, 2012

1 commit


21 Dec, 2011

1 commit


03 Jul, 2011

7 commits

  • C0 silicon updates the pci revision id and requires new AFE parameters
    for phy signal integrity. Support for previous silicon revisions is
    deprecated (it's also broken for the theoretical case of multiple
    controllers at different silicon revisions, all the more reason to get
    it removed as soon as possible)

    Signed-off-by: Adam Gruchala
    [fixed up deprecated silicon support]
    Signed-off-by: Dan Williams

    Adam Gruchala
     
  • The element_length is 2 bytes.

    Reported-by: Yinghai Lu
    Acked-by: Dave Jiang
    Signed-off-by: Dan Williams

    Dan Williams
     
  • The original apc mode definition is the correct one, the fix from commit
    4711ba10 "isci: fix oem parameter initialization and mode detection" was based
    on a typo from a specification update.

    Signed-off-by: Dan Williams

    Dan Williams
     
  • 1/ Since commit 858d4aa7 "isci: Move firmware loading to per PCI device" we have
    been silently falling back to built-in defaults for the parameter settings by
    skipping the call to scic_oem_parameters_set().

    2/ The afe parameters from the firmware were not being honored

    3/ The latest oem parameter definition flips the mode_type values which are
    now 0: for APC 1: for MPC. For APC we need to make sure all the phys
    default to the same address otherwise strict_wide_ports will cause duplicate
    domains.

    4/ Fix up the driver announcement to indicate the source of the
    parameters.

    5/ Fix up the sas addresses to be unique per controller (in the fallback case)

    Signed-off-by: Dave Jiang
    Signed-off-by: Dan Williams

    Dan Williams
     
  • 1/ add OEM paramater support for mode_type (MPC vs APC)
    2/ add OEM parameter support for max_number_concurrent_device_spin_up
    3/ cleanup scic_sds_controller_start_next_phy

    todo: hook up the amp control afe parameters into the afe init code

    Signed-off-by: Henryk Dembkowski
    Signed-off-by: Jacek Danecki
    [cleaned up scic_sds_controller_start_next_phy]
    Signed-off-by: Dan Williams

    Henryk Dembkowski
     
  • We need to scan the OROM for signature and grab the OEM parameters. We
    also need to do the same for EFI. If all fails then we resort to user
    binary blob, and if that fails then we go to the defaults.

    Share the format with the create_fw utility so that all possible sources
    of the parameters are in-sync.

    Signed-off-by: Dave Jiang
    Signed-off-by: Dan Williams

    Dan Williams
     
  • Support for the up to 2x4-port 6Gb/s SAS controllers embedded in the
    chipset.

    This is a snapshot of the first publicly available version of the driver,
    commit 4c1db2d0 in the 'historical' branch.

    git://git.kernel.org/pub/scm/linux/kernel/git/djbw/isci.git historical

    Signed-off-by: Maciej Trela
    Signed-off-by: Dave Jiang
    Signed-off-by: Edmund Nadolski
    Signed-off-by: Dan Williams

    Dan Williams
     

01 Apr, 2011

1 commit

  • To fix bugs when running offloaded FCoE/iSCSI traffic in multiple
    Class of Service environments. In some scenarios, traffic could stop
    on certain rings and eventually all traffic would stop.

    Signed-off-by: Dmitry Kravkov
    Signed-off-by: Michael Chan
    Signed-off-by: David S. Miller

    Dmitry Kravkov
     

15 Mar, 2011

1 commit

  • Update 5709 mips firmware to 6.2.1a to fix iSCSI performance
    regression. There was an unnecessary context read in the fast path
    affecting performance.

    Update bnx2 to 2.1.6.

    Signed-off-by: Michael Chan
    Signed-off-by: David S. Miller

    Michael Chan
     

14 Jan, 2011

1 commit


01 Jan, 2011

1 commit

  • Update MIPS firmware to 6.2.1, with improved small packet performance
    in RSS mode, and iSCSI CID allocation bug fix on 5708.

    Update driver version to 2.0.21.

    Signed-off-by: Michael Chan
    Signed-off-by: David S. Miller

    Michael Chan
     

17 Dec, 2010

3 commits


27 Oct, 2010

1 commit

  • ihex firmwares can include a jump address for starting execution. Add a
    -j option which will cause this to be written into the generated file as a
    record with address zero and data consisting of the address to jump to,
    allowing drivers to make use of this information.

    This format is chosen because it most closely follows the original ihex
    format, though it may make more sense to write a record with length zero
    and the address stored as the address. The records are not omitted by
    default since our ihex format does not include record type information and
    so including additional records may lead to confusion.

    Signed-off-by: Mark Brown
    Cc: David Woodhouse
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Mark Brown
     

25 Oct, 2010

1 commit

  • * 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (39 commits)
    Update broken web addresses in arch directory.
    Update broken web addresses in the kernel.
    Revert "drivers/usb: Remove unnecessary return's from void functions" for musb gadget
    Revert "Fix typo: configuation => configuration" partially
    ida: document IDA_BITMAP_LONGS calculation
    ext2: fix a typo on comment in ext2/inode.c
    drivers/scsi: Remove unnecessary casts of private_data
    drivers/s390: Remove unnecessary casts of private_data
    net/sunrpc/rpc_pipe.c: Remove unnecessary casts of private_data
    drivers/infiniband: Remove unnecessary casts of private_data
    drivers/gpu/drm: Remove unnecessary casts of private_data
    kernel/pm_qos_params.c: Remove unnecessary casts of private_data
    fs/ecryptfs: Remove unnecessary casts of private_data
    fs/seq_file.c: Remove unnecessary casts of private_data
    arm: uengine.c: remove C99 comments
    arm: scoop.c: remove C99 comments
    Fix typo configue => configure in comments
    Fix typo: configuation => configuration
    Fix typo interrest[ing|ed] => interest[ing|ed]
    Fix various typos of valid in comments
    ...

    Fix up trivial conflicts in:
    drivers/char/ipmi/ipmi_si_intf.c
    drivers/usb/gadget/rndis.c
    net/irda/irnet/irnet_ppp.c

    Linus Torvalds
     

18 Oct, 2010

1 commit

  • The patch below updates broken web addresses in the kernel

    Signed-off-by: Justin P. Mattock
    Cc: Maciej W. Rozycki
    Cc: Geert Uytterhoeven
    Cc: Finn Thain
    Cc: Randy Dunlap
    Cc: Matt Turner
    Cc: Dimitry Torokhov
    Cc: Mike Frysinger
    Acked-by: Ben Pfaff
    Acked-by: Hans J. Koch
    Reviewed-by: Finn Thain
    Signed-off-by: Jiri Kosina

    Justin P. Mattock