1. 03 Dec, 2014 6 commits
  2. 28 Nov, 2014 1 commit
  3. 27 Nov, 2014 5 commits
  4. 24 Nov, 2014 11 commits
    • Geert Uytterhoeven's avatar
      net/smsc911x: Add minimal runtime PM support · 3a611e26
      Geert Uytterhoeven authored
      Add minimal runtime PM support (enable on probe, disable on remove), to
      ensure proper operation with a parent device that uses runtime PM.
      
      This is needed on systems where the external bus controller module of
      the SoC is contained in a PM domain and/or has a gateable functional
      clock. In such cases, before accessing any device connected to the
      external bus, the PM domain must be powered up, and/or the functional
      clock must be enabled, which is typically handled through runtime PM by
      the bus controller driver.
      
      An example of this is the kzm9g development board, where an smsc9220
      Ethernet controller is connected to the Bus State Controller (BSC) of a
      Renesas sh73a0 SoC.
      Signed-off-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      3a611e26
    • Richard Alpe's avatar
      tipc: add tipc_netlink.h to uapi Kbuild · 4f037215
      Richard Alpe authored
      tipc_netlink.h is the user-space header for the new netlink api. It
      was accidentally left out of the uapi Kbuild list when the api was
      added.
      Signed-off-by: default avatarRichard Alpe <richard.alpe@ericsson.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      4f037215
    • Thomas Graf's avatar
      rhashtable: Check for count mismatch while iterating in selftest · 3e7b2ec4
      Thomas Graf authored
      Verify whether both the lock and RCU protected iterators see all
      test entries before and after expanding and shrinking has been
      performed. Also verify whether the number of entries in the hashtable
      remains stable during expansion and shrinking.
      Signed-off-by: default avatarThomas Graf <tgraf@suug.ch>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      3e7b2ec4
    • Jiri Pirko's avatar
      tc_vlan: fix type of tcfv_push_vid · 08dcf9fd
      Jiri Pirko authored
      Should be u16. So fix it to kill the sparse warning.
      
      Fixes: c7e2b968 "sched: introduce vlan action"
      Signed-off-by: default avatarJiri Pirko <jiri@resnulli.us>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      08dcf9fd
    • Richard Alpe's avatar
      tipc: fix sparse warnings in new nl api · d8182804
      Richard Alpe authored
      Fix sparse warnings about non-static declaration of static functions
      in the new tipc netlink API.
      Signed-off-by: default avatarRichard Alpe <richard.alpe@ericsson.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      d8182804
    • David S. Miller's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf-next · 958d03b0
      David S. Miller authored
      Pablo Neira Ayuso says:
      
      ====================
      netfilter/ipvs updates for net-next
      
      The following patchset contains Netfilter updates for your net-next
      tree, this includes the NAT redirection support for nf_tables, the
      cgroup support for nft meta and conntrack zone support for the connlimit
      match. Coming after those, a bunch of sparse warning fixes, missing
      netns bits and cleanups. More specifically, they are:
      
      1) Prepare IPv4 and IPv6 NAT redirect code to use it from nf_tables,
         patches from Arturo Borrero.
      
      2) Introduce the nf_tables redir expression, from Arturo Borrero.
      
      3) Remove an unnecessary assignment in ip_vs_xmit/__ip_vs_get_out_rt().
         Patch from Alex Gartrell.
      
      4) Add nft_log_dereference() macro to the nf_log infrastructure, patch
         from Marcelo Leitner.
      
      5) Add some extra validation when registering logger families, also
         from Marcelo.
      
      6) Some spelling cleanups from stephen hemminger.
      
      7) Fix sparse warning in nf_logger_find_get().
      
      8) Add cgroup support to nf_tables meta, patch from Ana Rey.
      
      9) A Kconfig fix for the new redir expression and fix sparse warnings in
         the new redir expression.
      
      10) Fix several sparse warnings in the netfilter tree, from
          Florian Westphal.
      
      11) Reduce verbosity when OOM in nfnetlink_log. User can basically do
          nothing when this situation occurs.
      
      12) Add conntrack zone support to xt_connlimit, again from Florian.
      
      13) Add netnamespace support to the h323 conntrack helper, contributed
          by Vasily Averin.
      
      14) Remove unnecessary nul-pointer checks before free_percpu() and
          module_put(), from Markus Elfring.
      
      15) Use pr_fmt in nfnetlink_log, again patch from Marcelo Leitner.
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      958d03b0
    • Mahesh Bandewar's avatar
      ipvlan: Initial check-in of the IPVLAN driver. · 2ad7bf36
      Mahesh Bandewar authored
      This driver is very similar to the macvlan driver except that it
      uses L3 on the frame to determine the logical interface while
      functioning as packet dispatcher. It inherits L2 of the master
      device hence the packets on wire will have the same L2 for all
      the packets originating from all virtual devices off of the same
      master device.
      
      This driver was developed keeping the namespace use-case in
      mind. Hence most of the examples given here take that as the
      base setup where main-device belongs to the default-ns and
      virtual devices are assigned to the additional namespaces.
      
      The device operates in two different modes and the difference
      in these two modes in primarily in the TX side.
      
      (a) L2 mode : In this mode, the device behaves as a L2 device.
      TX processing upto L2 happens on the stack of the virtual device
      associated with (namespace). Packets are switched after that
      into the main device (default-ns) and queued for xmit.
      
      RX processing is simple and all multicast, broadcast (if
      applicable), and unicast belonging to the address(es) are
      delivered to the virtual devices.
      
      (b) L3 mode : In this mode, the device behaves like a L3 device.
      TX processing upto L3 happens on the stack of the virtual device
      associated with (namespace). Packets are switched to the
      main-device (default-ns) for the L2 processing. Hence the routing
      table of the default-ns will be used in this mode.
      
      RX processins is somewhat similar to the L2 mode except that in
      this mode only Unicast packets are delivered to the virtual device
      while main-dev will handle all other packets.
      
      The devices can be added using the "ip" command from the iproute2
      package -
      
      	ip link add link <master> <virtual> type ipvlan mode [ l2 | l3 ]
      Signed-off-by: default avatarMahesh Bandewar <maheshb@google.com>
      Cc: Eric Dumazet <edumazet@google.com>
      Cc: Maciej Żenczykowski <maze@google.com>
      Cc: Laurent Chavey <chavey@google.com>
      Cc: Tim Hockin <thockin@google.com>
      Cc: Brandon Philips <brandon.philips@coreos.com>
      Cc: Pavel Emelianov <xemul@parallels.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      2ad7bf36
    • Alban Bedel's avatar
      8139too: The maximum MTU should allow for VLAN headers · 2bbea0a8
      Alban Bedel authored
      As pointed out by Ben Hutchings drivers that allow using VLAN have to
      provide enough headroom for the VLAN tags.
      Signed-off-by: default avatarAlban Bedel <albeu@free.fr>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      2bbea0a8
    • Nimrod Andy's avatar
      net: fec: init maximum receive buffer size for ring1 and ring2 · d543a762
      Nimrod Andy authored
      i.MX6SX fec support three rx ring1, the current driver lost to init
      ring1 and ring2 maximum receive buffer size, that cause receving
      frame date length error. The driver reports "rcv is not +last" error
      log in user case.
      Signed-off-by: default avatarFugang Duan <B38611@freescale.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      d543a762
    • Eric Dumazet's avatar
      enic: use netdev_rss_key_fill() helper · c33d23c2
      Eric Dumazet authored
      Use of well known RSS key might increase attack surface.
      
      Switch to a random one, using generic helper so that all
      ports share a common key.
      Signed-off-by: default avatarEric Dumazet <edumazet@google.com>
      Cc: Christian Benvenuti <benve@cisco.com>
      Cc: Govindarajulu Varadarajan <_govind@gmx.com>
      Cc: Sujith Sankar <ssujith@cisco.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      c33d23c2
    • Ian Morris's avatar
      ipv6: coding style improvements (remove assignment in if statements) · e5d08d71
      Ian Morris authored
      This change has no functional impact and simply addresses some coding
      style issues detected by checkpatch. Specifically this change
      adjusts "if" statements which also include the assignment of a
      variable.
      
      No changes to the resultant object files result as determined by objdiff.
      Signed-off-by: default avatarIan Morris <ipm@chirality.org.uk>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      e5d08d71
  5. 23 Nov, 2014 3 commits
  6. 22 Nov, 2014 14 commits
    • David S. Miller's avatar
      Merge branch 'cxgb4-next' · 10041413
      David S. Miller authored
      Hariprasad Shenai says:
      
      ====================
      RDMA/cxgb4,cxgb4vf,csiostor: Cleanup macros
      
      This series continues to cleanup all the macros/register defines related to
      filter, port, VI, queue, RSS, LDST, firmware, etc that are defined in t4fw_api.h
      and the affected files.
      
      Will post few more series so that we can cover all the macros so that they all
      follow the same style to be consistent.
      
      The patches series is created against 'net-next' tree.
      And includes patches on cxgb4, cxgb4vf, iw_cxgb4 and csiostor driver.
      
      We have included all the maintainers of respective drivers. Kindly review the
      change and let us know in case of any review comments.
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      10041413
    • Hariprasad Shenai's avatar
      RDMA/cxgb4/cxgb4vf/csiostor: Cleanup macros/register defines related to PCIE, RSS and FW · b2e1a3f0
      Hariprasad Shenai authored
      This patch cleanups all PCIE, RSS & FW related macros/register defines that are
      defined in t4fw_api.h and the affected files.
      Signed-off-by: default avatarHariprasad Shenai <hariprasad@chelsio.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      b2e1a3f0
    • Hariprasad Shenai's avatar
      cxgb4/cxgb4vf/csiostor: Cleanup macros/register defines related to port and VI · 2b5fb1f2
      Hariprasad Shenai authored
      This patch cleanups all port and VI related macros/register defines that are
      defined in t4fw_api.h and the affected files.
      Signed-off-by: default avatarHariprasad Shenai <hariprasad@chelsio.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      2b5fb1f2
    • Hariprasad Shenai's avatar
      cxgb4/cxgb4vf/csiostor: Cleanup macros/register defines related to queues · 6e4b51a6
      Hariprasad Shenai authored
      This patch cleanups all queue related macros/register defines that are defined
      in t4fw_api.h and the affected files.
      Signed-off-by: default avatarHariprasad Shenai <hariprasad@chelsio.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      6e4b51a6
    • Hariprasad Shenai's avatar
      RDMA/cxgb4/csiostor: Cleansup FW related macros/register defines for PF/VF and LDST · 5167865a
      Hariprasad Shenai authored
      This patch cleanups PF/VF and LDST related macros/register defines that are
      defined in t4fw_api.h and the affected files.
      Signed-off-by: default avatarHariprasad Shenai <hariprasad@chelsio.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      5167865a
    • Hariprasad Shenai's avatar
      RDMA/cxgb4: Cleanup Filter related macros/register defines · 77a80e23
      Hariprasad Shenai authored
      This patch cleanups all filter related macros/register defines that are defined
      in t4fw_api.h and the affected files.
      Signed-off-by: default avatarHariprasad Shenai <hariprasad@chelsio.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      77a80e23
    • Jesse Brandeburg's avatar
      i40e: enable fdb add code, remove unused code · 2f90ade6
      Jesse Brandeburg authored
      The original FDB code submission wasn't correct and the code
      wasn't enabled.  This removes some dead code (can use the common kernel
      code for fdb_del and fdb_dump) and correctly enables the fdb_add
      function pointer.
      
      The fdb_add functionality is important to i40e because it is needed
      for a workaround to allow bridges to work correctly on the i40e
      hardware.
      Reported-by: default avatarJiri Pirko <jiri@resnulli.us>
      Signed-off-by: default avatarJesse Brandeburg <jesse.brandeburg@intel.com>
      Acked-by: default avatarGreg Rose <gregory.v.rose@intel.com>
      Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
      Signed-off-by: default avatarJiri Pirko <jiri@resnulli.us>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      2f90ade6
    • David S. Miller's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net · 14591433
      David S. Miller authored
      Conflicts:
      	drivers/net/ieee802154/fakehard.c
      
      A bug fix went into 'net' for ieee802154/fakehard.c, which is removed
      in 'net-next'.
      
      Add build fix into the merge from Stephen Rothwell in openvswitch, the
      logging macros take a new initial 'log' argument, a new call was added
      in 'net' so when we merge that in here we have to explicitly add the
      new 'log' arg to it else the build fails.
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      14591433
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net · 8a84e01e
      Linus Torvalds authored
      Pull networking fixes from David Miller:
      
       1) Fix BUG when decrypting empty packets in mac80211, from Ronald Wahl.
      
       2) nf_nat_range is not fully initialized and this is copied back to
          userspace, from Daniel Borkmann.
      
       3) Fix read past end of b uffer in netfilter ipset, also from Dan
          Carpenter.
      
       4) Signed integer overflow in ipv4 address mask creation helper
          inet_make_mask(), from Vincent BENAYOUN.
      
       5) VXLAN, be2net, mlx4_en, and qlcnic need ->ndo_gso_check() methods to
          properly describe the device's capabilities, from Joe Stringer.
      
       6) Fix memory leaks and checksum miscalculations in openvswitch, from
          Pravin B SHelar and Jesse Gross.
      
       7) FIB rules passes back ambiguous error code for unreachable routes,
          making behavior confusing for userspace.  Fix from Panu Matilainen.
      
       8) ieee802154fake_probe() doesn't release resources properly on error,
          from Alexey Khoroshilov.
      
       9) Fix skb_over_panic in add_grhead(), from Daniel Borkmann.
      
      10) Fix access of stale slave pointers in bonding code, from Nikolay
          Aleksandrov.
      
      11) Fix stack info leak in PPP pptp code, from Mathias Krause.
      
      12) Cure locking bug in IPX stack, from Jiri Bohac.
      
      13) Revert SKB fclone memory freeing optimization that is racey and can
          allow accesses to freed up memory, from Eric Dumazet.
      
      * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net: (71 commits)
        tcp: Restore RFC5961-compliant behavior for SYN packets
        net: Revert "net: avoid one atomic operation in skb_clone()"
        virtio-net: validate features during probe
        cxgb4 : Fix DCB priority groups being returned in wrong order
        ipx: fix locking regression in ipx_sendmsg and ipx_recvmsg
        openvswitch: Don't validate IPv6 label masks.
        pptp: fix stack info leak in pptp_getname()
        brcmfmac: don't include linux/unaligned/access_ok.h
        cxgb4i : Don't block unload/cxgb4 unload when remote closes TCP connection
        ipv6: delete protocol and unregister rtnetlink when cleanup
        net/mlx4_en: Add VXLAN ndo calls to the PF net device ops too
        bonding: fix curr_active_slave/carrier with loadbalance arp monitoring
        mac80211: minstrel_ht: fix a crash in rate sorting
        vxlan: Inline vxlan_gso_check().
        can: m_can: update to support CAN FD features
        can: m_can: fix incorrect error messages
        can: m_can: add missing delay after setting CCCR_INIT bit
        can: m_can: fix not set can_dlc for remote frame
        can: m_can: fix possible sleep in napi poll
        can: m_can: add missing message RAM initialization
        ...
      8a84e01e
    • Linus Torvalds's avatar
      Merge branch 'drm-fixes' of git://people.freedesktop.org/~airlied/linux · 928352e9
      Linus Torvalds authored
      Pull drm fixes from Dave Airlie:
       "Just two radeon and two intel fixes: endian and regression fixes"
      
      * 'drm-fixes' of git://people.freedesktop.org/~airlied/linux:
        drm/radeon: fix endian swapping in vbios fetch for tdp table
        drm/radeon: disable native backlight control on pre-r6xx asics (v2)
        drm/i915: Kick fbdev before vgacon
        drm/i915: drop WaSetupGtModeTdRowDispatch:snb
      928352e9
    • Linus Torvalds's avatar
      Merge tag 'sound-3.18-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound · 9a7e4f56
      Linus Torvalds authored
      Pull sound fixes from Takashi Iwai:
       "This batch ended up as a relatively high volume due to pending ASoC
        fixes.  But most of fixes there are trivial and/or device- specific
        fixes and quirks, so safe to apply.  The only (ASoC) core fixes are
        the DPCM race fix and the machine-driver matching fix for
        componentization"
      
      * tag 'sound-3.18-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound:
        ALSA: hda - fix the mic mute led problem for Latitude E5550
        ALSA: hda - move DELL_WMI_MIC_MUTE_LED to the tail in the quirk chain
        ASoC: wm_adsp: Avoid attempt to free buffers that might still be in use
        ALSA: usb-audio: Set the Control Selector to SU_SELECTOR_CONTROL for UAC2
        ALSA: usb-audio: Add ctrl message delay quirk for Marantz/Denon devices
        ASoC: sgtl5000: Fix SMALL_POP bit definition
        ASoC: cs42l51: re-hook of_match_table pointer
        ASoC: rt5670: change dapm routes of PLL connection
        ASoC: rt5670: correct the incorrect default values
        ASoC: samsung: Add MODULE_DEVICE_TABLE for Snow
        ASoC: max98090: Correct pclk divisor settings
        ASoC: dpcm: Fix race between FE/BE updates and trigger
        ASoC: Fix snd_soc_find_dai() matching component by name
        ASoC: rsnd: remove unsupported PAUSE flag
        ASoC: fsi: remove unsupported PAUSE flag
        ASoC: rt5645: Mark RT5645_TDM_CTRL_3 as readable
        ASoC: rockchip-i2s: fix infinite loop in rockchip_snd_rxctrl
        ASoC: es8328-i2c: Fix i2c_device_id name field in es8328_id
        ASoC: fsl_asrc: Add reg_defaults for regmap to fix kernel dump
      9a7e4f56
    • Linus Torvalds's avatar
      Merge tag 'pm+acpi-3.18-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm · f100a746
      Linus Torvalds authored
      Pull ACPI power management fix from Rafael Wysocki:
       "This is just a one-liner fixing a regression introduced in 3.13 that
        broke system suspend on some Chromebooks.
      
        On those machines there are ACPI device objects for some I2C devices
        that can wake up the system from sleep states, but that is done via a
        platform-specific mechanism and the ACPI objects don't contain any
        wakeup-related information.  When we started to use ACPI power
        management with those devices (which happened during the 3.13 cycle),
        their configuration confused the ACPI PM layer that returned error
        codes from suspend callbacks for them causing system suspend to fail.
      
        However, the ACPI PM layer can safely ignore the wakeup setting from a
        device driver if the ACPI object corresponding to the device in
        question doesn't contain wakeup information in which case the driver
        itself is responsible for setting up the device for system wakeup"
      
      * tag 'pm+acpi-3.18-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
        ACPI / PM: Ignore wakeup setting if the ACPI companion can't wake up
      f100a746
    • Linus Torvalds's avatar
      Merge tag 'devicetree-fixes-for-3.18' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux · 2e29a6d0
      Linus Torvalds authored
      Pull devicetree fixes from Rob Herring:
       "DeviceTree fixes for 3.18:
      
         - two fixes for OF selftest code
         - fix for PowerPC address parsing to disable work-around except on
           old PowerMACs
         - fix a crash when earlycon is enabled, but no device is found
         - DT documentation fixes and missing vendor prefixes
      
        All but the doc updates are also for stable"
      
      * tag 'devicetree-fixes-for-3.18' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux:
        of/selftest: Fix testing when /aliases is missing
        of/selftest: Fix off-by-one error in removal path
        documentation: pinctrl bindings: Fix trivial typo 'abitrary'
        devicetree: bindings: Add vendor prefix for Micron Technology, Inc.
        of: Add vendor prefix for Chips&Media, Inc.
        of/base: Fix PowerPC address parsing hack
        devicetree: vendor-prefixes.txt: fix whitespace
        of: Fix crash if an earlycon driver is not found
        of/irq: Drop obsolete 'interrupts' vs 'interrupts-extended' text
        of: Spelling s/stucture/structure/
        devicetree: bindings: add sandisk to the vendor prefixes
      2e29a6d0
    • Linus Torvalds's avatar
      Merge tag 'pci-v3.18-fixes-3' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci · 08685897
      Linus Torvalds authored
      Pull PCI fixes from Bjorn Helgaas:
       "These are fixes for an issue with 64-bit PCI bus addresses on 32-bit
        PAE kernels, an APM X-Gene problem (it depended on a generic change we
        removed before merging), a fix for my hotplug device configuration
        changes, and a devicetree documentation update.
      
        Resource management:
          - Support 64-bit bridge windows if we have 64-bit dma_addr_t (Yinghai Lu)
      
        PCI device hotplug:
          - Apply _HPX Link Control settings to all devices with a link (Yinghai Lu)
      
        Generic host bridge driver:
          - Add DT binding for "linux,pci-domain" property (Lucas Stach)
      
        APM X-Gene:
          - Assign resources to bus before adding new devices (Duc Dang)"
      
      * tag 'pci-v3.18-fixes-3' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci:
        PCI: Support 64-bit bridge windows if we have 64-bit dma_addr_t
        PCI: Apply _HPX Link Control settings to all devices with a link
        PCI: Add missing DT binding for "linux,pci-domain" property
        PCI: xgene: Assign resources to bus before adding new devices
      08685897