04 Nov, 2005

9 commits


03 Nov, 2005

1 commit


02 Nov, 2005

3 commits


31 Oct, 2005

8 commits

  • Signed-off-by: Russell King

    Russell King
     
  • Anton Altaparmakov
     
  • I recently picked up my older work to remove unnecessary #includes of
    sched.h, starting from a patch by Dave Jones to not include sched.h
    from module.h. This reduces the number of indirect includes of sched.h
    by ~300. Another ~400 pointless direct includes can be removed after
    this disentangling (patch to follow later).
    However, quite a few indirect includes need to be fixed up for this.

    In order to feed the patches through -mm with as little disturbance as
    possible, I've split out the fixes I accumulated up to now (complete for
    i386 and x86_64, more archs to follow later) and post them before the real
    patch. This way this large part of the patch is kept simple with only
    adding #includes, and all hunks are independent of each other. So if any
    hunk rejects or gets in the way of other patches, just drop it. My scripts
    will pick it up again in the next round.

    Signed-off-by: Tim Schmielau
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Tim Schmielau
     
  • This patch is a rewrite of the one submitted on October 1st, using modules
    (http://marc.theaimsgroup.com/?l=linux-kernel&m=112819093522998&w=2).

    This rewrite adds a tristate CONFIG_RCU_TORTURE_TEST, which enables an
    intense torture test of the RCU infratructure. This is needed due to the
    continued changes to the RCU infrastructure to accommodate dynamic ticks,
    CPU hotplug, realtime, and so on. Most of the code is in a separate file
    that is compiled only if the CONFIG variable is set. Documentation on how
    to run the test and interpret the output is also included.

    This code has been tested on i386 and ppc64, and an earlier version of the
    code has received extensive testing on a number of architectures as part of
    the PREEMPT_RT patchset.

    Signed-off-by: "Paul E. McKenney"
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Paul E. McKenney
     
  • The attached patch adds LSM hooks for key management facilities. The notable
    changes are:

    (1) The key struct now supports a security pointer for the use of security
    modules. This will permit key labelling and restrictions on which
    programs may access a key.

    (2) Security modules get a chance to note (or abort) the allocation of a key.

    (3) The key permission checking can now be enhanced by the security modules;
    the permissions check consults LSM if all other checks bear out.

    (4) The key permissions checking functions now return an error code rather
    than a boolean value.

    (5) An extra permission has been added to govern the modification of
    attributes (UID, GID, permissions).

    Note that there isn't an LSM hook specifically for each keyctl() operation,
    but rather the permissions hook allows control of individual operations based
    on the permission request bits.

    Key management access control through LSM is enabled by automatically if both
    CONFIG_KEYS and CONFIG_SECURITY are enabled.

    This should be applied on top of the patch ensubjected:

    [PATCH] Keys: Possessor permissions should be additive

    Signed-Off-By: David Howells
    Signed-off-by: Chris Wright
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    David Howells
     
  • (akpm: I don't do typo patches, but one of these is in a printk string)

    Signed-off-by: Jean Delvare
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jean Delvare
     
  • Removed some more references to check_region().

    I checked these changes into the 'checkreg' branch of
    rsync://rsync.kernel.org/pub/scm/linux/kernel/git/jgarzik/misc-2.6.git

    The only valid references remaining are in:
    drivers/scsi/advansys.c
    drivers/scsi/BusLogic.c
    drivers/cdrom/sbpcd.c
    sound/oss/pss.c

    Remove last vestiges of ide_check_region()
    drivers/char/specialix: trim trailing whitespace
    drivers/char/specialix: eliminate use of check_region()
    Remove outdated and unused references to check_region()
    [sound oss] remove check_region() usage from cs4232, wavfront
    [netdrvr eepro] trim trailing whitespace
    [netdrvr eepro] remove check_region() usage

    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jeff Garzik
     
  • Anton Altaparmakov
     

30 Oct, 2005

3 commits

  • There was one small but very significant change in the previous patch:
    mprotect's flush_tlb_range fell outside the page_table_lock: as it is in 2.4,
    but that doesn't prove it safe in 2.6.

    On some architectures flush_tlb_range comes to the same as flush_tlb_mm, which
    has always been called from outside page_table_lock in dup_mmap, and is so
    proved safe. Others required a deeper audit: I could find no reliance on
    page_table_lock in any; but in ia64 and parisc found some code which looks a
    bit as if it might want preemption disabled. That won't do any actual harm,
    so pending a decision from the maintainers, disable preemption there.

    Remove comments on page_table_lock from flush_tlb_mm, flush_tlb_range and
    flush_tlb_page entries in cachetlb.txt: they were rather misleading (what
    generic code does is different from what usually happens), the rules are now
    changing, and it's not yet clear where we'll end up (will the generic
    tlb_flush_mmu happen always under lock? never under lock? or sometimes under
    and sometimes not?).

    Signed-off-by: Hugh Dickins
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Hugh Dickins
     
  • Please, please now delete the Atari CONFIG_STRAM_SWAP code. It may be
    excellent and ingenious code, but its reference to swap_vfsmnt betrays that it
    hasn't been built since 2.5.1 (four years old come December), it's delving
    deep into matters which are the preserve of core mm code, its only purpose is
    to give the more conscientious mm guys an anxiety attack from time to time;
    yet we keep on breaking it more and more.

    If you want to use RAM for swap, then if the MTD driver does not already
    provide just what you need, I'm sure David could be persuaded to add the
    extra. But you'd also like to be able to allocate extents of that swap for
    other use: we can give you a core interface for that if you need. But unbuilt
    for four years suggests to me that there's no need at all.

    I cannot swear the patch below won't break your build, but believe so.

    Signed-off-by: Hugh Dickins
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Hugh Dickins
     
  • - converted to platform bus
    - removed pci dependencies
    - removed virt_to_phys/phys_to_virt calls

    System now can root off of a disk.

    Signed-off-by: Ralf Baechle

    diff --git a/Documentation/mips/AU1xxx_IDE.README b/Documentation/mips/AU1xxx_IDE.README
    new file mode 100644

    Pete Popov
     

29 Oct, 2005

16 commits

  • Arnaldo Carvalho de Melo
     
  • The default value for tcp_tso_win_divisor is 3.

    Signed-off-by: Akinobu Mita
    Signed-off-by: Arnaldo Carvalho de Melo

    Akinobu Mita
     
  • This revised patch (as586b) makes usb-handoff permanently true and no
    longer a kernel boot parameter. It also removes the piix3_usb quirk code;
    that was nothing more than an early version of the USB handoff code
    (written at a time when Intel's PIIX3 was about the only motherboard with
    USB support). And it adds identifiers for the three PCI USB controller
    classes to pci_ids.h.

    Signed-off-by: Alan Stern
    Signed-off-by: Greg Kroah-Hartman

    Alan Stern
     
  • usb/core/buffer.c doesn't export any symbols, so it should use
    !I instead of !E to eliminate this warning message:

    Warning(/var/linsrc/linux-2614-rc4//drivers/usb/core/buffer.c): no structured comments found

    Signed-off-by: Randy Dunlap
    Signed-off-by: Greg Kroah-Hartman

    Randy Dunlap
     
  • Just a small patch that fixes a small parameter validation bug.

    drivers/usb/input/map_to_7segment.h:
    This patch fixes the broken parameter validation in the char to seg7
    conversion. This could cause out-of-bounds memory references.

    MAINTAINERS:
    Yealink maintainer info now in sorted order.

    Documentation/input/yealink.txt:
    Added a Q&A section that answers some common questions.

    Signed-off-by: Henk
    Signed-off-by: Greg Kroah-Hartman

    006491df1a13f85ad245d1039dfdf20e49c394fd

    Henk
     
  • PCI hotplug.c: does not contain kernel-doc, so don't process it for now.

    Signed-off-by: Randy Dunlap
    Signed-off-by: Greg Kroah-Hartman

    Randy Dunlap
     
  • The SMSC LPC47M997 Super-I/O chip seems to be compatible with the
    LPC47M192, so it is supported by the smsc47m1 driver.

    Signed-off-by: Jean Delvare
    Signed-off-by: Greg Kroah-Hartman

    Jean Delvare
     
  • Update the I2C addresses for the ADM1032 and ADT7461 chips.
    Also update the links to the Analog Devices web site.

    Signed-off-by: Jean Delvare
    Signed-off-by: Greg Kroah-Hartman

    Jean Delvare
     
  • Add PEC support to the lm90 driver. Only the ADM1032 chip supports it,
    and in a rather tricky way, which is why this patch comes with
    documentation reinforcements. At least, this demonstrates that the new
    PEC support logic in i2c-core can properly deal with chips with partial
    PEC support.

    As enabling PEC causes a significant performance drop, it can be
    disabled through a sysfs file (unsurprisingly named "pec").

    Signed-off-by: Jean Delvare
    Signed-off-by: Greg Kroah-Hartman

    Jean Delvare
     
  • Update the documented list of devices supported by the i2c-i810
    driver.

    Signed-off-by: Jean Delvare
    Signed-off-by: Greg Kroah-Hartman

    Jean Delvare
     
  • Update the i2c documentation: kzalloc should be used instead of
    kmalloc.

    I also fixed a couple other things nearby in writing-clients, as several
    past changes had never been reported there.

    Signed-off-by: Jean Delvare
    Signed-off-by: Greg Kroah-Hartman

    Jean Delvare
     
  • New driver for the Xicor X1205 RTC chip.

    Signed-off-by: Alessandro Zummo
    Signed-off-by: Jean Delvare
    Signed-off-by: Greg Kroah-Hartman

    Alessandro Zummo
     
  • This patch adds a new ID to the SMSC LPC47B397-NC hardware
    monitoring driver - for a chip that is claimed to be 100%
    compatible otherwise.

    Signed-off-by: Bryan Young (Utilitek Systems, Inc.)
    Signed-off-by: Mark M. Hoffman
    Signed-off-by: Jean Delvare
    Signed-off-by: Greg Kroah-Hartman

    Mark M. Hoffman
     
  • Drop legacy ISA address support from the it87 driver. All supported
    chips are Super-I/O chips, so the device ISA address can be safely read
    from Super-I/O space rather than blindly assumed.

    Two nearby inaccurate documentation statements have been fixed as well:
    * The IT8705F doesn't have an SMBus interface.
    * The SiS950 doesn't have a distinct prefix.

    Signed-off-by: Jean Delvare
    Signed-off-by: Greg Kroah-Hartman

    Jean Delvare
     
  • i2c documentation fixes.

    >From Hideki Iwamoto:
    * i2c_smbus_read_i2c_block_data is not deleted in 2.6.10. It still
    exists.
    * The name which can be set to i2c_driver is up to 31 characters.

    >From Jean Delvare:
    * Reword the paragraph about i2c_driver.name, to reflect the "new"
    naming policy.
    * Delete the out-of-date note about now gone inc_use and dec_use
    fields.

    Signed-off-by: Jean Delvare
    Signed-off-by: Greg Kroah-Hartman

    Jean Delvare
     
  • Make it clearer which chips are supported by the i2c-viapro driver,
    and which support I2C block transactions.

    Signed-off-by: Jean Delvare
    Signed-off-by: Greg Kroah-Hartman

    Documentation/i2c/busses/i2c-viapro | 12 ++++++------
    drivers/i2c/busses/i2c-viapro.c | 22 +++++++++++++---------
    2 files changed, 19 insertions(+), 15 deletions(-)

    Jean Delvare