29 Jan, 2015

1 commit

  • NFC: 3.20 first pull request

    This is the first NFC pull request for 3.20.

    With this one we have:

    - Secure element support for the ST Micro st21nfca driver. This depends
    on a few HCI internal changes in order for example to support more
    than one secure element per controller.

    - ACPI support for NXP's pn544 HCI driver. This controller is found on
    many x86 SoCs and is typically enumerated on the ACPI bus there.

    - A few st21nfca and st21nfcb fixes.

    Signed-off-by: David S. Miller

    David S. Miller
     

28 Jan, 2015

2 commits


27 Jan, 2015

3 commits

  • Kalle Valo says:

    ====================
    pull-request: wireless-drivers-next 2015-01-22

    now a bigger pull request for net-next. Rafal found a UTF-8 bug in
    patchwork[1] and because of that two commits (d0c102f70aec and
    d0f66df5392a) have his name corrupted:

    Acked-by: Rafa? Mi?ecki

    Somehow I failed to spot that when I commited the patches. As rebasing
    public git trees is bad, I thought we can live with these and decided
    not to rebase. But I'll pay close attention to this in the future to
    make sure that it won't happen again. Also we requested an update to
    patchwork.kernel.org, the latest patchwork doesn't seem to have this
    bug.

    Also please note this pull request also adds one DT binding doc, but
    this was reviewed in the device tree list:

    .../bindings/net/wireless/qcom,ath10k.txt | 30 +

    Please let me know if you have any issues.

    [1] https://lists.ozlabs.org/pipermail/patchwork/2015-January/001261.html
    ====================

    Signed-off-by: David S. Miller

    David S. Miller
     
  • This property define the AXI bug lenth.

    Signed-off-by: Sonic Zhang
    Signed-off-by: David S. Miller

    Sonic Zhang
     
  • Previously, flows were manipulated by userspace specifying a full,
    unmasked flow key. This adds significant burden onto flow
    serialization/deserialization, particularly when dumping flows.

    This patch adds an alternative way to refer to flows using a
    variable-length "unique flow identifier" (UFID). At flow setup time,
    userspace may specify a UFID for a flow, which is stored with the flow
    and inserted into a separate table for lookup, in addition to the
    standard flow table. Flows created using a UFID must be fetched or
    deleted using the UFID.

    All flow dump operations may now be made more terse with OVS_UFID_F_*
    flags. For example, the OVS_UFID_F_OMIT_KEY flag allows responses to
    omit the flow key from a datapath operation if the flow has a
    corresponding UFID. This significantly reduces the time spent assembling
    and transacting netlink messages. With all OVS_UFID_F_OMIT_* flags
    enabled, the datapath only returns the UFID and statistics for each flow
    during flow dump, increasing ovs-vswitchd revalidator performance by 40%
    or more.

    Signed-off-by: Joe Stringer
    Acked-by: Pravin B Shelar
    Signed-off-by: David S. Miller

    Joe Stringer
     

26 Jan, 2015

3 commits


25 Jan, 2015

1 commit


24 Jan, 2015

3 commits

  • …/linux-platform-drivers-x86

    Pull platform driver fix from Darren Hart:
    "Revert keyboard backlight sysfs support and documentation.

    The support for the dell-laptop keyboard backlight was flawed and the
    fix:

    https://lkml.org/lkml/2015/1/14/539

    was more invasive that I felt comfortable sending at RC5.

    This series reverts the support for the dell-laptop keyboard backlight
    as well as the documentation for the newly created sysfs attributes.

    We'll get this implemented correctly for 3.20"

    * tag 'platform-drivers-x86-v3.19-2' of git://git.infradead.org/users/dvhart/linux-platform-drivers-x86:
    Revert "platform: x86: dell-laptop: Add support for keyboard backlight"
    Revert "Documentation: Add entry for dell-laptop sysfs interface"

    Linus Torvalds
     
  • Pull devicetree bug fixes and documentation updates from Grant Likely:
    "A few bugfixes for the new DT overlay feature, documentation updates,
    spelling corrections, and changes to MAINTAINERS. Nothing earth
    shattering here"

    * tag 'devicetree-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/glikely/linux:
    of/unittest: Overlays with sub-devices tests
    of/platform: Handle of_populate drivers in notifier
    of/overlay: Do not generate duplicate nodes
    devicetree: document the "qemu" and "virtio" vendor prefixes
    devicetree: document ARM bindings for QEMU's Firmware Config interface
    Documentation: of: fix typo in graph bindings
    dma-mapping: fix debug print to display correct dma_pfn_offset
    of: replace Asahi Kasei Corp vendor prefix
    ARM: dt: GIC: Spelling s/specific/specifier/, s/flaggs/flags/
    dt/bindings: arm-boards: Spelling s/pointong/pointing/
    MAINTAINERS: Update DT website and git repository
    MAINTAINERS: drop DT regex matching on of_get_property and of_match_table

    Linus Torvalds
     
  • This reverts commit 3161293ba6dfceee9c1efe75185677445def05d4.

    This interface was determined to be flawed and required too invasive a
    fix for the RC cycle. This will be revisited in 3.20.

    Signed-off-by: Darren Hart

    Darren Hart
     

22 Jan, 2015

1 commit

  • Patch "ath9k: Fix no-ack frame status" needs these mac80211 patches:

    commit 5cf16616e152dd5c274a65954c77f64892d025a8
    Author: Sujith Manoharan
    Date: Wed Dec 10 21:26:11 2014 +0530

    mac80211: Fix accounting of multicast frames

    commit 6b127c71fbdd3daacfd8b9f80b8e6ebfb70a889e
    Author: Sujith Manoharan
    Date: Wed Dec 10 21:26:10 2014 +0530

    mac80211: Move IEEE80211_TX_CTL_PS_RESPONSE

    Conflicts:
    drivers/net/wireless/ath/wil6210/cfg80211.c
    drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c

    Kalle Valo
     

20 Jan, 2015

2 commits

  • Pull networking fixes from David Miller:

    1) Socket addresses returned in the error queue need to be fully
    initialized before being passed on to userspace, fix from Willem de
    Bruijn.

    2) Interrupt handling fixes to davinci_emac driver from Tony Lindgren.

    3) Fix races between receive packet steering and cpu hotplug, from Eric
    Dumazet.

    4) Allowing netlink sockets to subscribe to unknown multicast groups
    leads to crashes, don't allow it. From Johannes Berg.

    5) One to many socket races in SCTP fixed by Daniel Borkmann.

    6) Put in a guard against the mis-use of ipv6 atomic fragments, from
    Hagen Paul Pfeifer.

    7) Fix promisc mode and ethtool crashes in sh_eth driver, from Ben
    Hutchings.

    8) NULL deref and double kfree fix in sxgbe driver from Girish K.S and
    Byungho An.

    9) cfg80211 deadlock fix from Arik Nemtsov.

    * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net: (36 commits)
    s2io: use snprintf() as a safety feature
    r8152: remove sram_read
    r8152: remove generic_ocp_read before writing
    bgmac: activate irqs only if there is nothing to poll
    bgmac: register napi before the device
    sh_eth: Fix ethtool operation crash when net device is down
    sh_eth: Fix promiscuous mode on chips without TSU
    ipv6: stop sending PTB packets for MTU < 1280
    net: sctp: fix race for one-to-many sockets in sendmsg's auto associate
    genetlink: synchronize socket closing and family removal
    genetlink: disallow subscribing to unknown mcast groups
    genetlink: document parallel_ops
    net: rps: fix cpu unplug
    net: davinci_emac: Add support for emac on dm816x
    net: davinci_emac: Fix ioremap for devices with MDIO within the EMAC address space
    net: davinci_emac: Fix incomplete code for getting the phy from device tree
    net: davinci_emac: Free clock after checking the frequency
    net: davinci_emac: Fix runtime pm calls for davinci_emac
    net: davinci_emac: Fix hangs with interrupts
    ip: zero sockaddr returned on error queue
    ...

    Linus Torvalds
     
  • The network coprocessor (NetCP) is a hardware accelerator that processes
    Ethernet packets. NetCP has a gigabit Ethernet (GbE) subsystem with a ethernet
    switch sub-module to send and receive packets. NetCP also includes a packet
    accelerator (PA) module to perform packet classification operations such as
    header matching, and packet modification operations such as checksum
    generation. NetCP can also optionally include a Security Accelerator(SA)
    capable of performing IPSec operations on ingress/egress packets.

    Keystone SoC's also have a 10 Gigabit Ethernet Subsystem (XGbE) which
    includes a 3-port Ethernet switch sub-module capable of 10Gb/s and
    1Gb/s rates per Ethernet port.

    NetCP Subsystem device tree layout looks something like below:

    -----------------------------
    NetCP subsystem(10G or 1G)
    -----------------------------
    |
    |-> NetCP Devices -> |
    | |-> GBE/XGBE Switch
    | |
    | |-> Packet Accelerator
    | |
    | |-> Security Accelerator
    |
    |
    |
    |-> NetCP Interfaces -> |
    |-> Ethernet Port 0
    |
    |-> Ethernet Port 1
    |
    |-> Ethernet Port 2
    |
    |-> Ethernet Port 3

    Common driver supports GBE as well XGBE network processors.

    Cc: Rob Herring
    Cc: Grant Likely
    Cc: Pawel Moll
    Cc: Mark Rutland
    Cc: Ian Campbell
    Cc: Kumar Gala
    Cc: David Miller
    Cc: Santosh Shilimkar

    Signed-off-by: Murali Karicheri
    Signed-off-by: David S. Miller

    Karicheri, Muralidharan
     

19 Jan, 2015

1 commit


17 Jan, 2015

3 commits

  • Certain PHY settings need to be configurable by UEFI depending on the
    platform being used. Add new device tree / ACPI properties that, if
    present, will override the pre-determined values currently used.

    Signed-off-by: Tom Lendacky
    Signed-off-by: David S. Miller

    Lendacky, Thomas
     
  • The auto negotiation logic was geared to being the initiator of the
    auto negotiation. This presented problems when auto negotiation was
    initiated by the remote end. Change the auto negotiation logic to
    make use of the auto negotiation event interrupt thus allowing the
    auto negotiation state machine to function properly in either scenario.
    This also removes the polling during auto-negotiation.

    Signed-off-by: Tom Lendacky
    Signed-off-by: David S. Miller

    Lendacky, Thomas
     
  • Pull char/misc driver fixes from Greg KH:
    "Here are three small driver fixes for reported issues for 3.19-rc5.

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

    * tag 'char-misc-3.19-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc:
    mcb: mcb-pci: Only remap the 1st 0x200 bytes of BAR 0
    mei: add ABI documentation for fw_status exported through sysfs
    mei: clean reset bit before reset

    Linus Torvalds
     

16 Jan, 2015

3 commits

  • On dm816x we have two emac controllers with separate memory
    areas.

    Cc: Brian Hutchinson
    Cc: Felipe Balbi
    Signed-off-by: Tony Lindgren
    Signed-off-by: David S. Miller

    Tony Lindgren
     
  • …inux/kernel/git/jberg/mac80211-next

    Here's a big pile of changes for this round.

    We have
    * a lot of regulatory code changes to deal with the
    way newer Intel devices handle this
    * a change to drop packets while disconnecting from
    an AP instead of trying to wait for them
    * a new attempt at improving the tailroom accounting
    to not kick in too much for performance reasons
    * improvements in wireless link statistics
    * many other small improvements and small fixes that
    didn't seem necessary for 3.19 (e.g. in hwsim which
    is testing only code)

    Conflicts:
    drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c

    Minor overlapping changes.

    Signed-off-by: David S. Miller <davem@davemloft.net>

    David S. Miller
     
  • In boards, the dm9000 chip's power and reset can be controlled by gpio.

    It makes sense to add them to the dm9000 driver and let dt be used to
    enable power and reset the phy.

    Signed-off-by: Zubair Lutfullah Kakakhel
    Signed-off-by: Paul Burton
    Signed-off-by: David S. Miller

    Zubair Lutfullah Kakakhel
     

15 Jan, 2015

4 commits

  • Pablo Neira Ayuso says:

    ====================
    netfilter updates for net-next

    The following patchset contains netfilter updates for net-next, just a
    bunch of cleanups and small enhancement to selectively flush conntracks
    in ctnetlink, more specifically the patches are:

    1) Rise default number of buckets in conntrack from 16384 to 65536 in
    systems with >= 4GBytes, patch from Marcelo Leitner.

    2) Small refactor to save one level on indentation in xt_osf, from
    Joe Perches.

    3) Remove unnecessary sizeof(char) in nf_log, from Fabian Frederick.

    4) Another small cleanup to remove redundant variable in nfnetlink,
    from Duan Jiong.

    5) Fix compilation warning in nfnetlink_cthelper on parisc, from
    Chen Gang.

    6) Fix wrong format in debugging for ctseqadj, from Gao feng.

    7) Selective conntrack flushing through the mark for ctnetlink, patch
    from Kristian Evensen.

    8) Remove nf_ct_conntrack_flush_report() exported symbol now that is
    not required anymore after the selective flushing patch, again from
    Kristian.
    ====================

    Signed-off-by: David S. Miller

    David S. Miller
     
  • Pull thermal fixes from Zhang Rui:
    "Specifics:

    - bogus type qualifier fix in OF thermal code.
    - Minor fixes on imx and rcar thermal drivers.
    - Update TI SoC thermal maintainer entry.
    - Updated documentation of OF cpufreq cooling register"

    * 'thermal-soc' of git://git.kernel.org/pub/scm/linux/kernel/git/rzhang/linux:
    thermal: rcar: Spelling/grammar: s/drier use .../driver uses ...s/
    thermal: rcar: change type of ctemp in rcar_thermal_update_temp()
    thermal: rcar: fix ENR register value
    Documentation: thermal: document of_cpufreq_cooling_register()
    Thermal: imx: add clk disable/enable for suspend/resume
    MAINTAINERS: update ti-soc-thermal status
    MAINTAINERS: Add linux-omap to list of reviewers for TI Thermal
    thermal: of: Remove bogus type qualifier for of_thermal_get_trip_points()

    Linus Torvalds
     
  • Conflicts:
    drivers/net/xen-netfront.c

    Minor overlapping changes in xen-netfront.c, mostly to do
    with some buffer management changes alongside the split
    of stats into TX and RX.

    Signed-off-by: David S. Miller

    David S. Miller
     
  • Pull networking fixes from David Miller:

    1) Don't use uninitialized data in IPVS, from Dan Carpenter.

    2) conntrack race fixes from Pablo Neira Ayuso.

    3) Fix TX hangs with i40e, from Jesse Brandeburg.

    4) Fix budget return from poll calls in dnet and alx, from Eric
    Dumazet.

    5) Fix bugus "if (unlikely(x) < 0)" test in AF_PACKET, from Christoph
    Jaeger.

    6) Fix bug introduced by conversion to list_head in TIPC retransmit
    code, from Jon Paul Maloy.

    7) Don't use GFP_NOIO under spinlock in USB kaweth driver, from Alexey
    Khoroshilov.

    8) Fix bridge build with INET disabled, from Arnd Bergmann.

    9) Fix netlink array overrun for PROBE attributes in openvswitch, from
    Thomas Graf.

    10) Don't hold spinlock across synchronize_irq() in tg3 driver, from
    Prashant Sreedharan.

    * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net: (44 commits)
    tg3: Release tp->lock before invoking synchronize_irq()
    tg3: tg3_reset_task() needs to use rtnl_lock to synchronize
    tg3: tg3_timer() should grab tp->lock before checking for tp->irq_sync
    team: avoid possible underflow of count_pending value for notify_peers and mcast_rejoin
    openvswitch: packet messages need their own probe attribtue
    i40e: adds FCoE configure option
    cxgb4vf: Fix queue allocation for 40G adapter
    netdevice: Add missing parentheses in macro
    bridge: only provide proxy ARP when CONFIG_INET is enabled
    neighbour: fix base_reachable_time(_ms) not effective immediatly when changed
    net: fec: fix MDIO bus assignement for dual fec SoC's
    xen-netfront: use different locks for Rx and Tx stats
    drivers: net: cpsw: fix multicast flush in dual emac mode
    cxgb4vf: Initialize mdio_addr before using it
    net: Corrected the comment describing the ndo operations to reflect the actual prototype for couple of operations
    usb/kaweth: use GFP_ATOMIC under spin_lock in usb_start_wait_urb()
    MAINTAINERS: add me as ibmveth maintainer
    tipc: fix bug in broadcast retransmit code
    update ip-sysctl.txt documentation (v2)
    net/at91_ether: prepare and unprepare clock
    ...

    Linus Torvalds
     

14 Jan, 2015

8 commits

  • I removed the enum earlier, but forgot to remove it from the
    documentation - do that now.

    Signed-off-by: Johannes Berg

    Johannes Berg
     
  • This patch adds the Device Tree bindings for the Hisilicon hip04
    Ethernet controller, including 100M / 1000M controller.

    Signed-off-by: Zhangfei Gao
    Signed-off-by: Ding Tianhong
    Signed-off-by: David S. Miller

    Zhangfei Gao
     
  • The same macros are used for rx as well. So rename it.

    Signed-off-by: Jiri Pirko
    Signed-off-by: David S. Miller

    Jiri Pirko
     
  • The QEMU open source machine emulator and virtualizer presents firmware
    and operating systems running in virtual machines ("guests") with purely
    virtual hardware (ie. hardware that has never existed in physical form).
    Since QEMU exposes some of these devices in a DTB, it makes sense to
    define "qemu" and "virtio" as vendor prefixes.

    The qemu definition is from [1], revision 4451 (22:24, 25 November 2014).

    The virtio definition is composed from [2] and [3].

    [1] http://wiki.qemu.org/Main_Page
    [2] http://docs.oasis-open.org/virtio/virtio/v1.0/csprd01/virtio-v1.0-csprd01.html
    [3] http://en.wikipedia.org/wiki/OASIS_%28organization%29

    Suggested-by: Mark Rutland
    Suggested-by: Arnd Bergmann
    Signed-off-by: Laszlo Ersek
    Acked-by: Arnd Bergmann
    Acked-by: Mark Rutland
    Signed-off-by: Rob Herring

    Laszlo Ersek
     
  • Peter Maydell suggested that we describe new devices / DTB nodes in the
    kernel Documentation tree that we expose to arm "virt" guests in QEMU.

    Although the kernel is not required to access the fw_cfg interface,
    "Documentation/devicetree/bindings/arm" is probably the best central spot
    to keep the fw_cfg description in.

    Suggested-by: Peter Maydell
    Signed-off-by: Laszlo Ersek
    Acked-by: Arnd Bergmann
    Acked-by: Mark Rutland
    Signed-off-by: Rob Herring

    Laszlo Ersek
     
  • Just fix a minor typo about the example path.

    Signed-off-by: Kaixu Xia
    Acked-by: Philipp Zabel
    Signed-off-by: Rob Herring

    Kaixu Xia
     
  • Current vendor-prefixes.txt already has "ak" prefix for Asahi Kasei Corp
    by ae8c4209af2c(of: Add vendor prefix for Asahi Kasei Corp.)

    It went through the appropriate review process. But, almost all
    Asahi Kasei chip drivers are using "asahi-kasei" prefix today.
    (arch/arm/boot/dts/tegra20-seaboard.dts only is using "ak,ak8975",
    but there are instances of "asahi-kasei,ak8975" in other dts files.
    And drivers/iio/magnetometer/ak8975.c doesn't support "ak,ak8975" prefix)
    So, we made a mistake there.

    In addition, checkpatch.pl reports WARNING if it is using "asahi-kasei"
    prerfix in DT file.
    (DT compatible string vendor "asahi-kasei" appears un-documented)

    Marking it deprecated and warning with checkpatch is certainly
    preferable. So, this patch replace "ak" to "asahi-kasei" in
    vendor-prefixes.txt. (and fixup tegra20-seaboard)

    OTOH, Asahi Kasei is usually referred to as "AKM", but this patch
    doesn't care about it. Because no DT is using that today.

    Signed-off-by: Kuninori Morimoto
    Acked-by: Thierry Reding
    Acked-by: Alexandre Courbot
    Signed-off-by: Rob Herring

    Kuninori Morimoto
     
  • Signed-off-by: Geert Uytterhoeven
    Cc: Russell King
    Cc: Rob Herring
    Signed-off-by: Rob Herring

    Geert Uytterhoeven
     

13 Jan, 2015

2 commits

  • Pull scsi target fixes from Nicholas Bellinger:
    "Mostly minor fixes this time, including:

    - Add missing virtio-scsi -> TCM attribute conversion in vhost-scsi.
    - Fix persistent reservations write exclusive handling to allow
    readers for all registered I_T nexuses.
    - Drop arbitrary maximum I/O size limit in order to process I/Os
    larger than 4 MB, required for initiators that don't honor block
    limits EVPD.
    - Drop the now left-over fabric_max_sectors attribute"

    * git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending:
    iscsi-target: Fix typos in enum cmd_flags_table
    MAINTAINERS: Add entry for iSER target driver
    target: Allow Write Exclusive non-reservation holders to READ
    target: Drop left-over fabric_max_sectors attribute
    target: Drop arbitrary maximum I/O size limit
    Documentation/target: Update fabric_ops to latest code
    vhost-scsi: Add missing virtio-scsi -> TCM attribute conversion

    Linus Torvalds
     
  • Update documentation to reflect the fact that
    /proc/sys/net/ipv4/route/max_size is no longer used for ipv4.

    Signed-off-by: Ani Sinha
    Signed-off-by: David S. Miller

    Ani Sinha
     

12 Jan, 2015

3 commits

  • A fix to ipv6 structure definitions removed the now superfluous
    definition of in6_pktinfo in this file.

    But, use of the glibc definition requires defining _GNU_SOURCE
    (see also https://sourceware.org/bugzilla/show_bug.cgi?id=6775).

    Before this change, the following would fail for me:

    make
    make headers_install
    make M=Documentation/networking/timestamping

    with

    Documentation/networking/timestamping/txtimestamp.c: In function '__recv_errmsg_cmsg':
    Documentation/networking/timestamping/txtimestamp.c:205:33: error: dereferencing pointer to incomplete type
    Documentation/networking/timestamping/txtimestamp.c:206:23: error: dereferencing pointer to incomplete type

    After this patch compilation succeeded.

    Fixes: cd91cc5bdddf ("doc: fix the compile error of txtimestamp.c")
    Signed-off-by: Willem de Bruijn
    Signed-off-by: David S. Miller

    Willem de Bruijn
     
  • Based on Arnds review comments here https://lkml.org/lkml/2014/11/13/161,
    we should not be mixing address spaces in the reg property like this driver
    currently does. This patch updates the driver, dt docs and also the existing
    dt nodes to pass the sysconfig offset in the syscon dt property.

    This patch breaks DT compatibility! But this platform is considered WIP,
    and is only used by a few developers who are upstreaming support for it.
    This change has been done as a single atomic commit to ensure it is
    bisectable.

    Signed-off-by: Peter Griffin
    Reviewed-by: Arnd Bergmann
    Signed-off-by: David S. Miller

    Peter Griffin
     
  • Based on Arnds review comments here https://lkml.org/lkml/2014/11/13/161,
    update the miphy365 phy driver to access sysconfig register offsets via
    syscfg dt property.

    This is because the reg property should not be mixing address spaces
    like it does currently for miphy365. This change then also aligns us
    to how other platforms such as keystone and bcm7445 pass there syscon
    offsets via DT.

    This patch breaks DT compatibility, but this platform is considered WIP,
    and is only used by a few developers who are upstreaming support for it.
    This change has been done as a single atomic commit to ensure it is
    bisectable.

    Signed-off-by: Peter Griffin
    Reviewed-by: Arnd Bergmann
    Signed-off-by: David S. Miller

    Peter Griffin