1. 05 Sep, 2013 9 commits
  2. 03 Sep, 2013 8 commits
    • Jon Mason's avatar
      NTB: Enable 32bit Support · ac477afb
      Jon Mason authored
      Correct the issues on NTB that prevented it from working on x86_32 and
      modify the Kconfig to allow it to be permitted to be used in that
      environment as well.
      Signed-off-by: default avatarJon Mason <jon.mason@intel.com>
      ac477afb
    • Jon Mason's avatar
      NTB: Update Device IDs · be4dac0f
      Jon Mason authored
      Add support for new Intel NTB devices on upcoming Xeon hardware.  Since
      the Xeon hardware design is already in place in the driver, all that is
      needed are the new device ids.
      
      Remove the device IDs for NTB devs running in Transparent Bridge mode,
      as this driver is not being used for those devices.
      
      Rename the device IDs for NTB devs running in NTB-RP mode to better
      identify their usage model.  "PS" to denote the Primary Side of NTB, and
      "SS" to denote the secondary side.  The primary side is the interface
      exposed to the local system, and the secondary side is the interface
      exposed to the remote system.
      Signed-off-by: default avatarJon Mason <jon.mason@intel.com>
      be4dac0f
    • Jon Mason's avatar
      NTB: BWD Link Recovery · 113bf1c9
      Jon Mason authored
      The BWD NTB device will drop the link if an error is encountered on the
      point-to-point PCI bridge.  The link will stay down until all errors are
      cleared and the link is re-established.  On link down, check to see if
      the error is detected, if so do the necessary housekeeping to try and
      recover from the error and reestablish the link.
      
      There is a potential race between the 2 NTB devices recovering at the
      same time.  If the times are synchronized, the link will not recover and the
      driver will be stuck in this loop forever.  Add a random interval to the
      recovery time to prevent this race.
      Signed-off-by: default avatarJon Mason <jon.mason@intel.com>
      113bf1c9
    • Jon Mason's avatar
      NTB: Xeon Errata Workaround · 948d3a65
      Jon Mason authored
      There is a Xeon hardware errata related to writes to SDOORBELL or
      B2BDOORBELL in conjunction with inbound access to NTB MMIO Space, which
      may hang the system.  To workaround this issue, use one of the memory
      windows to access the interrupt and scratch pad registers on the remote
      system.  This bypasses the issue, but removes one of the memory windows
      from use by the transport.  This reduction of MWs necessitates adding
      some logic to determine the number of available MWs.
      
      Since some NTB usage methodologies may have unidirectional traffic, the
      ability to disable the workaround via modparm has been added.
      
      See BF113 in
      http://www.intel.com/content/dam/www/public/us/en/documents/specification-updates/xeon-c5500-c3500-spec-update.pdf
      See BT119 in
      http://www.intel.com/content/dam/www/public/us/en/documents/specification-updates/xeon-e5-family-spec-update.pdfSigned-off-by: default avatarJon Mason <jon.mason@intel.com>
      948d3a65
    • Jon Mason's avatar
      NTB: Correct debugfs to work with more than 1 NTB Device · 1517a3f2
      Jon Mason authored
      Debugfs was setup in NTB to only have a single debugfs directory.  This
      resulted in the leaking of debugfs directories and files when multiple
      NTB devices were present, due to each device stomping on the variables
      containing the previous device's values (thus preventing them from being
      freed on cleanup).  Correct this by creating a secondary directory of
      the PCI BDF for each device present, and nesting the previously existing
      information in those directories.
      Signed-off-by: default avatarJon Mason <jon.mason@intel.com>
      1517a3f2
    • Jon Mason's avatar
      NTB: Correct USD/DSD Identification · b6750cfe
      Jon Mason authored
      Due to ambiguous documentation, the USD/DSD identification is backward
      when compared to the setting in BIOS.  Correct the bits to match the
      BIOS setting.
      Signed-off-by: default avatarJon Mason <jon.mason@intel.com>
      b6750cfe
    • Jon Mason's avatar
      NTB: Correct Number of Scratch Pad Registers · 87034511
      Jon Mason authored
      The NTB Xeon hardware has 16 scratch pad registers and 16 back-to-back
      scratch pad registers.  Correct the #define to represent this and update
      the variable names to reflect their usage.
      Signed-off-by: default avatarJon Mason <jon.mason@intel.com>
      87034511
    • Jon Mason's avatar
      NTB: Add Error Handling in ntb_device_setup · 3b12a0d1
      Jon Mason authored
      If an error is encountered in ntb_device_setup, it is possible that the
      spci_cmd isn't populated.  Writes to the offset can result in a NULL
      pointer dereference.  This issue is easily encountered by running in
      NTB-RP mode, as it currently is not supported and will generate an
      error.  To get around this issue, return if an error is encountered
      prior to attempting to write to the spci_cmd offset.
      Signed-off-by: default avatarJon Mason <jon.mason@intel.com>
      3b12a0d1
  3. 02 Sep, 2013 4 commits
  4. 31 Aug, 2013 3 commits
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net · a8787645
      Linus Torvalds authored
      Pull networking fixes from David Miller:
      
       1) There was a simplification in the ipv6 ndisc packet sending
          attempted here, which avoided using memory accounting on the
          per-netns ndisc socket for sending NDISC packets.  It did fix some
          important issues, but it causes regressions so it gets reverted here
          too.  Specifically, the problem with this change is that the IPV6
          output path really depends upon there being a valid skb->sk
          attached.
      
          The reason we want to do this change in some form when we figure out
          how to do it right, is that if a device goes down the ndisc_sk
          socket send queue will fill up and block NDISC packets that we want
          to send to other devices too.  That's really bad behavior.
      
          Hopefully Thomas can come up with a better version of this change.
      
       2) Fix a severe TCP performance regression by reverting a change made
          to dev_pick_tx() quite some time ago.  From Eric Dumazet.
      
       3) TIPC returns wrongly signed error codes, fix from Erik Hugne.
      
       4) Fix OOPS when doing IPSEC over ipv4 tunnels due to orphaning the
          skb->sk too early.  Fix from Li Hongjun.
      
       5) RAW ipv4 sockets can use the wrong routing key during lookup, from
          Chris Clark.
      
       6) Similar to #1 revert an older change that tried to use plain
          alloc_skb() for SYN/ACK TCP packets, this broke the netfilter owner
          mark which needs to see the skb->sk for such frames.  From Phil
          Oester.
      
       7) BNX2x driver bug fixes from Ariel Elior and Yuval Mintz,
          specifically in the handling of virtual functions.
      
       8) IPSEC path error propagations to sockets is not done properly when
          we have v4 in v6, and v6 in v4 type rules.  Fix from Hannes Frederic
          Sowa.
      
       9) Fix missing channel context release in mac80211, from Johannes Berg.
      
      10) Fix network namespace handing wrt.  SCM_RIGHTS, from Andy
          Lutomirski.
      
      11) Fix usage of bogus NAPI weight in jme, netxen, and ps3_gelic
          drivers.  From Michal Schmidt.
      
      12) Hopefully a complete and correct fix for the genetlink dump locking
          and module reference counting.  From Pravin B Shelar.
      
      13) sk_busy_loop() must do a cpu_relax(), from Eliezer Tamir.
      
      14) Fix handling of timestamp offset when restoring a snapshotted TCP
          socket.  From Andrew Vagin.
      
      * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net: (44 commits)
        net: fec: fix time stamping logic after napi conversion
        net: bridge: convert MLDv2 Query MRC into msecs_to_jiffies for max_delay
        mISDN: return -EINVAL on error in dsp_control_req()
        net: revert 8728c544 ("net: dev_pick_tx() fix")
        Revert "ipv6: Don't depend on per socket memory for neighbour discovery messages"
        ipv4 tunnels: fix an oops when using ipip/sit with IPsec
        tipc: set sk_err correctly when connection fails
        tcp: tcp_make_synack() should use sock_wmalloc
        bridge: separate querier and query timer into IGMP/IPv4 and MLD/IPv6 ones
        ipv6: Don't depend on per socket memory for neighbour discovery messages
        ipv4: sendto/hdrincl: don't use destination address found in header
        tcp: don't apply tsoffset if rcv_tsecr is zero
        tcp: initialize rcv_tstamp for restored sockets
        net: xilinx: fix memleak
        net: usb: Add HP hs2434 device to ZLP exception table
        net: add cpu_relax to busy poll loop
        net: stmmac: fixed the pbl setting with DT
        genl: Hold reference on correct module while netlink-dump.
        genl: Fix genl dumpit() locking.
        xfrm: Fix potential null pointer dereference in xdst_queue_output
        ...
      a8787645
    • Ian Campbell's avatar
      MAINTAINERS: change my DT related maintainer address · de80963e
      Ian Campbell authored
      Filtering capabilities on my work email are pretty much non-existent and this
      has turned out to be something of a firehose...
      
      Cc: Stephen Warren <swarren@wwwdotorg.org>
      Cc: Rob Herring <rob.herring@calxeda.com>
      Cc: Olof Johansson <olof@lixom.net>
      Cc: Linus Walleij <linus.walleij@linaro.org>
      Signed-off-by: default avatarIan Campbell <ian.campbell@citrix.com>
      Acked-by: default avatarPawel Moll <pawel.moll@arm.com>
      Acked-by: default avatarMark Rutland <mark.rutland@arm.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      de80963e
    • Linus Torvalds's avatar
      Merge tag 'sound-3.11' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound · 936dbcc3
      Linus Torvalds authored
      Pull sound fixes from Takashi Iwai:
       "This contains two Oops fixes (opti9xx and HD-audio) and a simple fixup
        for an Acer laptop.  All marked as stable patches"
      
      * tag 'sound-3.11' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound:
        ALSA: opti9xx: Fix conflicting driver object name
        ALSA: hda - Fix NULL dereference with CONFIG_SND_DYNAMIC_MINORS=n
        ALSA: hda - Add inverted digital mic fixup for Acer Aspire One
      936dbcc3
  5. 30 Aug, 2013 15 commits
  6. 29 Aug, 2013 1 commit