1. 13 10月, 2007 1 次提交
  2. 11 10月, 2007 17 次提交
    • T
      x86: Add feature-removal entry for bzImage symlinks · 914d97fd
      Thomas Gleixner 提交于
      The i386/x86_64 merge provides a symlink to the old bzImage
      location. This is just a transitional migration helper.
      Remove it after a 6 month grace period.
      Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      914d97fd
    • T
      i386/x86_64: move headers to include/asm-x86 · 96a388de
      Thomas Gleixner 提交于
      Move the headers to include/asm-x86 and fixup the
      header install make rules
      Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      96a388de
    • G
      [DCCP]: Correct documentation · 2bfd754d
      Gerrit Renker 提交于
      This corrects erroneous documentation of the socket API.
      Signed-off-by: NGerrit Renker <gerrit@erg.abdn.ac.uk>
      Signed-off-by: NIan McDonald <ian.mcdonald@jandi.co.nz>
      Signed-off-by: NArnaldo Carvalho de Melo <acme@redhat.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      2bfd754d
    • G
      [DCCP]: Update API documentation · 126acd5b
      Gerrit Renker 提交于
      This adds documentation on the use of service codes on client and
      server.
      Signed-off-by: NGerrit Renker <gerrit@erg.abdn.ac.uk>
      Signed-off-by: NIan McDonald <ian.mcdonald@jandi.co.nz>
      Signed-off-by: NArnaldo Carvalho de Melo <acme@redhat.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      126acd5b
    • G
      [DCCP]: Add socket option to query the current MPS · 7c559a9e
      Gerrit Renker 提交于
      This enables applications to query the current value of the Maximum
      Packet Size via a socket option, suggested as a SHOULD in (RFC 4340,
      p. 102).
      
      This socket option is useful to avoid the annoying bail-out via
      `-EMSGSIZE'.  In particular, as fragmentation is not currently
      supported (and its use is partly discouraged in RFC 4340).
      
      With this option, it is possible to size buffers accordingly, e.g.
      
      	int buflen = dccp_get_cur_mps(sockfd);
      
      	/* or */
      	if (msgsize > dccp_get_cur_mps(sockfd))
      		die("message is too large for this path");
      Signed-off-by: NGerrit Renker <gerrit@erg.abdn.ac.uk>
      Signed-off-by: NIan McDonald <ian.mcdonald@jandi.co.nz>
      Signed-off-by: NArnaldo Carvalho de Melo <acme@redhat.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      7c559a9e
    • J
      [MAC80211]: improve radiotap injection · 58d4185e
      Johannes Berg 提交于
      This improves radiotap injection by removing the shortcut over TX handlers
      that led to BUGS when injecting frames without setting a rate and also
      resulted in various other quirks. Now, TX handlers are run but some
      information that was present in the radiotap header is used instead of
      automatic settings.
      Signed-off-by: NJohannes Berg <johannes@sipsolutions.net>
      Cc: Andy Green <andy@warmcat.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      58d4185e
    • N
      dgrs: remove from build, config, and maintainer list · c7e86e34
      Nathanael Nerode 提交于
      Stop building and configuring driver for Digi RightSwitch, which was
      never actually sold to anyone, and remove it from MAINTAINERS.
      
      In response to an investigation into the firmware of the "Digi Rightswitch"
      driver, Andres Salomon discovered:
      >
      > Dear Andres:
      >
      > After further research, we found that this product was killed in place
      > and never reached the market.  We would like to request that this not be
      > included.
      
      Since the product never reached market, clearly nobody is using this orphaned
      driver.
      Signed-off-by: NNathanael Nerode <neroden@gcc.gnu.org>
      Cc: "David S. Miller" <davem@davemloft.net>
      Cc: Jeff Garzik <jeff@garzik.org>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NJeff Garzik <jeff@garzik.org>
      c7e86e34
    • G
      [DCCP]: Rate-limit DCCP-Syncs · a94f0f97
      Gerrit Renker 提交于
      This implements a SHOULD from RFC 4340, 7.5.4:
       "To protect against denial-of-service attacks, DCCP implementations SHOULD
        impose a rate limit on DCCP-Syncs sent in response to sequence-invalid packets,
        such as not more than eight DCCP-Syncs per second."
      
      The rate-limit is maintained on a per-socket basis. This is a more stringent
      policy than enforcing the rate-limit on a per-source-address basis and
      protects against attacks with forged source addresses.
      
      Moreover, the mechanism is deliberately kept simple. In contrast to
      xrlim_allow(), bursts of Sync packets in reply to sequence-invalid packets
      are not supported.  This foils such attacks where the receipt of a Sync
      triggers further sequence-invalid packets. (I have tested this mechanism against
      xrlim_allow algorithm for Syncs, permitting bursts just increases the problems.)
      
      In order to keep flexibility, the timeout parameter can be set via sysctl; and
      the whole mechanism can even be disabled (which is however not recommended).
      
      The algorithm in this patch has been improved with regard to wrapping issues
      thanks to a suggestion by Arnaldo.
      
      Commiter note: Rate limited the step 6 DCCP_WARN too, as it says we're
                     sending a sync.
      Signed-off-by: NGerrit Renker <gerrit@erg.abdn.ac.uk>
      Signed-off-by: NIan McDonald <ian.mcdonald@jandi.co.nz>
      Signed-off-by: NArnaldo Carvalho de Melo <acme@ghostprotocols.net>
      a94f0f97
    • C
      [NET]: note that NETIF_F_LLTX is deprecated · e24eb521
      Christian Borntraeger 提交于
      Am Freitag, 21. September 2007 schrieb Herbert Xu:
      > Please don't use LLTX in new drivers.  We're trying to get rid
      > of it since it's
      >
      > 1) unnecessary;
      > 2) causes problems with AF_PACKET seeing things twice.
      
      I suggest to document that LLTX is deprecated.
      Signed-off-by: NChristian Borntraeger <borntraeger@de.ibm.com>
      Acked-by: NHerbert Xu <herbert@gondor.apana.org.au>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      e24eb521
    • I
      [TCP] FRTO: Update sysctl documentation · cd99889c
      Ilpo Järvinen 提交于
      Since the SACK enhanced FRTO was added, the code has been
      under test numerous times so remove "experimental" claim
      from the documentation. Also be a bit more verbose about
      the usage.
      Signed-off-by: NIlpo Järvinen <ilpo.jarvinen@helsinki.fi>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      cd99889c
    • D
      Device tree aware EMAC driver · 1d3bb996
      David Gibson 提交于
      Based on BenH's earlier work, this is a new version of the EMAC driver
      for the built-in ethernet found on PowerPC 4xx embedded CPUs.  The
      same ASIC is also found in the Axon bridge chip.  This new version is
      designed to work in the arch/powerpc tree, using the device tree to
      probe the device, rather than the old and ugly arch/ppc OCP layer.
      
      This driver is designed to sit alongside the old driver (that lies in
      drivers/net/ibm_emac and this one in drivers/net/ibm_newemac).  The
      old driver is left in place to support arch/ppc until arch/ppc itself
      reaches its final demise (not too long now, with luck).
      
      This driver still has a number of things that could do with cleaning
      up, but I think they can be fixed up after merging.  Specifically:
      	- Should be adjusted to properly use the dma mapping API.
      Axon needs this.
      	- Probe logic needs reworking, in conjuction with the general
      probing code for of_platform devices.  The dependencies here between
      EMAC, MAL, ZMII etc. make this complicated.  At present, it usually
      works, because we initialize and register the sub-drivers before the
      EMAC driver itself, and (being in driver code) runs after the devices
      themselves have been instantiated from the device tree.
      Signed-off-by: NDavid Gibson <david@gibson.dropbear.id.au>
      Signed-off-by: NJeff Garzik <jeff@garzik.org>
      1d3bb996
    • I
      [RFKILL]: Add rfkill documentation · dac24ab3
      Ivo van Doorn 提交于
      Add a documentation file which contains
      a short description about rfkill with some
      notes about drivers and the userspace interface.
      
      Changes since v1 and v2:
       - Spellchecking
      Signed-off-by: NIvo van Doorn <IvDoorn@gmail.com>
      Acked-by: NDmitry Torokhov <dtor@mail.ru>
      Acked-by: NRandy Dunlap <randy.dunlap@oracle.com>
      dac24ab3
    • S
      [SHAPER]: Mark for removal. · 6f4fc423
      Stephen Hemminger 提交于
      This driver has been marked obsolete for a long time and
      is superseded by traffic schedulers.
      Signed-off-by: NStephen Hemminger <shemminger@linux-foundation.org>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      6f4fc423
    • S
      [NET] netconsole: Support dynamic reconfiguration using configfs · 0bcc1816
      Satyam Sharma 提交于
      Based upon initial work by Keiichi Kii <k-keiichi@bx.jp.nec.com>.
      
      This patch introduces support for dynamic reconfiguration (adding, removing
      and/or modifying parameters of netconsole targets at runtime) using a
      userspace interface exported via configfs.  Documentation is also updated
      accordingly.
      
      Issues and brief design overview:
      
      (1) Kernel-initiated creation / destruction of kernel objects is not
          possible with configfs -- the lifetimes of the "config items" is managed
          exclusively from userspace.  But netconsole must support boot/module
          params too, and these are parsed in kernel and hence netpolls must be
          setup from the kernel.  Joel Becker suggested to separately manage the
          lifetimes of the two kinds of netconsole_target objects -- those created
          via configfs mkdir(2) from userspace and those specified from the
          boot/module option string.  This adds complexity and some redundancy here
          and also means that boot/module param-created targets are not exposed
          through the configfs namespace (and hence cannot be updated / destroyed
          dynamically).  However, this saves us from locking / refcounting
          complexities that would need to be introduced in configfs to support
          kernel-initiated item creation / destroy there.
      
      (2) In configfs, item creation takes place in the call chain of the
          mkdir(2) syscall in the driver subsystem.  If we used an ioctl(2) to
          create / destroy objects from userspace, the special userspace program is
          able to fill out the structure to be passed into the ioctl and hence
          specify attributes such as local interface that are required at the time
          we set up the netpoll.  For configfs, this information is not available at
          the time of mkdir(2).  So, we keep all newly-created targets (via
          configfs) disabled by default.  The user is expected to set various
          attributes appropriately (including the local network interface if
          required) and then write(2) "1" to the "enabled" attribute.  Thus,
          netpoll_setup() is then called on the set parameters in the context of
          _this_ write(2) on the "enabled" attribute itself.  This design enables
          the user to reconfigure existing netconsole targets at runtime to be
          attached to newly-come-up interfaces that may not have existed when
          netconsole was loaded or when the targets were actually created.  All this
          effectively enables us to get rid of custom ioctls.
      
      (3) Ultra-paranoid configfs attribute show() and store() operations, with
          sanity and input range checking, using only safe string primitives, and
          compliant with the recommendations in Documentation/filesystems/sysfs.txt.
      
      (4) A new function netpoll_print_options() is created in the netpoll API,
          that just prints out the configured parameters for a netpoll structure.
          netpoll_parse_options() is modified to use that and it is also exported to
          be used from netconsole.
      Signed-off-by: NSatyam Sharma <satyam@infradead.org>
      Acked-by: NKeiichi Kii <k-keiichi@bx.jp.nec.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      0bcc1816
    • S
      [NET] netconsole: Support multiple logging targets · b5427c27
      Satyam Sharma 提交于
      Based upon initial work by Keiichi Kii <k-keiichi@bx.jp.nec.com>.
      
      This patch introduces support for multiple targets, independent of
      CONFIG_NETCONSOLE_DYNAMIC -- this is useful even in the default case and
      (including the infrastructure introduced in previous patches) doesn't really
      add too many bytes to module text.  All the complexity (and size) comes with
      the dynamic reconfigurability / userspace interface patch, and so it's
      plausible users may want to keep this enabled but that disabled (say to avoid
      a dependency on CONFIG_CONFIGFS_FS too).
      
      Also update documentation to mention the use of ";" separator to specify
      multiple logging targets in the boot/module option string.
      
      Brief overview:
      
      We maintain a target_list (and corresponding lock).  Get rid of the static
      "default_target" and introduce allocation and release functions for our
      netconsole_target objects (but keeping sure to preserve previous behaviour
      such as default values).  During init_netconsole(), ";" is used as the
      separator to identify multiple target specifications in the boot/module option
      string.  The target specifications are parsed and netpolls setup.  During
      exit, the target_list is torn down and all items released.
      Signed-off-by: NSatyam Sharma <satyam@infradead.org>
      Signed-off-by: NKeiichi Kii <k-keiichi@bx.jp.nec.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      b5427c27
    • S
      [NET] netconsole: Add some useful tips to documentation · 8d4ef88b
      Satyam Sharma 提交于
      Based upon initial work by Keiichi Kii <k-keiichi@bx.jp.nec.com>.
      
      Add some useful general-purpose tips.  Also suggest solution for the frequent
      problem of console loglevel set too low numerically (i.e.  for high priority
      messages only) on the sender.
      Signed-off-by: NSatyam Sharma <satyam@infradead.org>
      Acked-by: NKeiichi Kii <k-keiichi@bx.jp.nec.com>
      Acked-by: NMatt Mackall <mpm@selenic.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      8d4ef88b
    • S
      [NET]: Make NAPI polling independent of struct net_device objects. · bea3348e
      Stephen Hemminger 提交于
      Several devices have multiple independant RX queues per net
      device, and some have a single interrupt doorbell for several
      queues.
      
      In either case, it's easier to support layouts like that if the
      structure representing the poll is independant from the net
      device itself.
      
      The signature of the ->poll() call back goes from:
      
      	int foo_poll(struct net_device *dev, int *budget)
      
      to
      
      	int foo_poll(struct napi_struct *napi, int budget)
      
      The caller is returned the number of RX packets processed (or
      the number of "NAPI credits" consumed if you want to get
      abstract).  The callee no longer messes around bumping
      dev->quota, *budget, etc. because that is all handled in the
      caller upon return.
      
      The napi_struct is to be embedded in the device driver private data
      structures.
      
      Furthermore, it is the driver's responsibility to disable all NAPI
      instances in it's ->stop() device close handler.  Since the
      napi_struct is privatized into the driver's private data structures,
      only the driver knows how to get at all of the napi_struct instances
      it may have per-device.
      
      With lots of help and suggestions from Rusty Russell, Roland Dreier,
      Michael Chan, Jeff Garzik, and Jamal Hadi Salim.
      
      Bug fixes from Thomas Graf, Roland Dreier, Peter Zijlstra,
      Joseph Fannin, Scott Wood, Hans J. Koch, and Michael Chan.
      
      [ Ported to current tree and all drivers converted.  Integrated
        Stephen's follow-on kerneldoc additions, and restored poll_list
        handling to the old style to fix mutual exclusion issues.  -DaveM ]
      Signed-off-by: NStephen Hemminger <shemminger@linux-foundation.org>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      bea3348e
  3. 10 10月, 2007 9 次提交
  4. 08 10月, 2007 3 次提交
  5. 05 10月, 2007 2 次提交
    • S
      [POWERPC] cpm: Describe multi-user ram in its own device node. · 15f8c604
      Scott Wood 提交于
      The way the current CPM binding describes available multi-user (a.k.a.
      dual-ported) RAM doesn't work well when there are multiple free regions,
      and it doesn't work at all if the region doesn't begin at the start of
      the muram area (as the hardware needs to be programmed with offsets into
      this area).  The latter situation can happen with SMC UARTs on CPM2, as its
      parameter RAM is relocatable, u-boot puts it at zero, and the kernel doesn't
      support moving it.
      
      It is now described with a muram node, similar to QE.  The current CPM
      binding is sufficiently recent (i.e. never appeared in an official release)
      that compatibility with existing device trees is not an issue.
      
      The code supporting the new binding is shared between cpm1 and cpm2, rather
      than remain separated.  QE should be able to use this code as well, once
      minor fixes are made to its device trees.
      Signed-off-by: NScott Wood <scottwood@freescale.com>
      Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
      15f8c604
    • S
      [POWERPC] Document local bus nodes in the device tree, and update cuboot-pq2. · 96fca1de
      Scott Wood 提交于
      The localbus node is used to describe devices that are connected via a chip
      select or similar mechanism.  The advantages over placing the devices under
      the root node are that it can be probed without probing other random things
      under the root, and that the description of which chip select a given device
      uses can be used to set up mappings if the firmware failed to do so in a
      useful manner.
      
      cuboot-pq2 is updated to match the binding; previously, it called itself
      chipselect rather than localbus, and used phandle linkage between the
      actual bus node and the control node (the current agreement is to simply use
      the fully-qualified address of the control registers, and ignore the overlap
      with the IMMR node).
      Signed-off-by: NScott Wood <scottwood@freescale.com>
      Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
      96fca1de
  6. 04 10月, 2007 1 次提交
    • S
      [POWERPC] Introduce new CPM device bindings. · e631ae3b
      Scott Wood 提交于
      This introduces a new device binding for the CPM and other devices on
      these boards.  Some of the changes include:
      
      1. Proper namespace scoping for Freescale compatibles and properties.
      
      2. Use compatible rather than things like device_type and model
      to determine which particular variant of a device is present.
      
      3. Give the drivers the relevant CPM command word directly, rather than
      requiring it to have a lookup table based on device-id, SCC v. SMC, and
      CPM version.
      
      4. Specify the CPCR and the usable DPRAM region in the CPM's reg property.
      
      Boards that do not require the legacy bindings should select
      CONFIG_PPC_CPM_NEW_BINDING to enable the of_platform CPM devices. Once
      all existing boards are converted and tested, the config option can
      become default y to prevent new boards from using the old model.  Once
      arch/ppc is gone, the config option can be removed altogether.
      Signed-off-by: NScott Wood <scottwood@freescale.com>
      Acked-by: NDavid Gibson <david@gibson.dropbear.id.au>
      Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
      e631ae3b
  7. 01 10月, 2007 1 次提交
  8. 27 9月, 2007 1 次提交
  9. 25 9月, 2007 1 次提交
  10. 21 9月, 2007 1 次提交
    • L
      Fix CRLF line endings in Documentation/input/iforce-protocol.txt · 6d0b842d
      Linus Torvalds 提交于
      Emil Medve points out that this documentation file uses CRLF line
      endings, which means that if you use
      
      	[core]
      		autocrlf=input
      
      (which makes sense if you ever develop under Windows, for example, or if
      you use other broken tools) in your git config, git will always complain
      about the file being dirty.
      
      This removes the bogus DOS line endings, and removes whitespace at the
      end of line.
      
      Cc: Emil Medve <Emilian.Medve@Freescale.com>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      6d0b842d
  11. 18 9月, 2007 2 次提交
  12. 17 9月, 2007 1 次提交