18 Oct, 2007

2 commits

  • Add missing IRQs and IRQ descriptions to /proc/interrupts.

    /proc/interrupts is most useful when it displays every IRQ vector in use by
    the system, not just those somebody thought would be interesting.

    This patch inserts the following vector displays to the i386 and x86_64
    platforms, as appropriate:

    rescheduling interrupts
    TLB flush interrupts
    function call interrupts
    thermal event interrupts
    threshold interrupts
    spurious interrupts

    A threshold interrupt occurs when ECC memory correction is occuring at too
    high a frequency. Thresholds are used by the ECC hardware as occasional
    ECC failures are part of normal operation, but long sequences of ECC
    failures usually indicate a memory chip that is about to fail.

    Thermal event interrupts occur when a temperature threshold has been
    exceeded for some CPU chip. IIRC, a thermal interrupt is also generated
    when the temperature drops back to a normal level.

    A spurious interrupt is an interrupt that was raised then lowered by the
    device before it could be fully processed by the APIC. Hence the apic sees
    the interrupt but does not know what device it came from. For this case
    the APIC hardware will assume a vector of 0xff.

    Rescheduling, call, and TLB flush interrupts are sent from one CPU to
    another per the needs of the OS. Typically, their statistics would be used
    to discover if an interrupt flood of the given type has been occuring.

    AK: merged v2 and v4 which had some more tweaks
    AK: replace Local interrupts with Local timer interrupts
    AK: Fixed description of interrupt types.

    [ tglx: arch/x86 adaptation ]
    [ mingo: small cleanup ]

    Signed-off-by: Joe Korty
    Signed-off-by: Andi Kleen
    Cc: Tim Hockin
    Cc: Andi Kleen
    Cc: Ingo Molnar
    Cc: "H. Peter Anvin"
    Signed-off-by: Andrew Morton
    Signed-off-by: Ingo Molnar
    Signed-off-by: Thomas Gleixner

    Joe Korty
     
  • Move the = into the __setup line.
    Document the option in kernel-parameters.txt by adding a pointer
    to the x86-64 specific documentation.

    [ tglx: arch/x86 adaptation ]

    Pointed out by Robert Day
    Signed-off-by: Andi Kleen
    Signed-off-by: Ingo Molnar
    Signed-off-by: Thomas Gleixner

    Andi Kleen
     

17 Oct, 2007

38 commits

  • Convert LSM into a static interface, as the ability to unload a security
    module is not required by in-tree users and potentially complicates the
    overall security architecture.

    Needlessly exported LSM symbols have been unexported, to help reduce API
    abuse.

    Parameters for the capability and root_plug modules are now specified
    at boot.

    The SECURITY_FRAMEWORK_VERSION macro has also been removed.

    In a nutshell, there is no safe way to unload an LSM. The modular interface
    is thus unecessary and broken infrastructure. It is used only by out-of-tree
    modules, which are often binary-only, illegal, abusive of the API and
    dangerous, e.g. silently re-vectoring SELinux.

    [akpm@linux-foundation.org: cleanups]
    [akpm@linux-foundation.org: USB Kconfig fix]
    [randy.dunlap@oracle.com: fix LSM kernel-doc]
    Signed-off-by: James Morris
    Acked-by: Chris Wright
    Cc: Stephen Smalley
    Cc: "Serge E. Hallyn"
    Acked-by: Arjan van de Ven
    Signed-off-by: Randy Dunlap
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    James Morris
     
  • Add recommended section IDs to Documentation/DocBook/filesystems.tmpl

    Signed-off-by: Rob Landley
    Cc: "Randy.Dunlap"
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Rob Landley
     
  • Fix two htmldocs build breaks, introduced by moving include/linux/usb_gadget.h to
    include/linux/usb/gadget.h and combining resume.c and suspend.c into main.c in
    drivers/base/power.

    Signed-off-by: Rob Landley
    Cc: "Randy.Dunlap"
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Rob Landley
     
  • Add Documentation/RCU/00-INDEX

    Signed-off-by: Rob Landley
    Acked-by: Paul E. McKenney
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Rob Landley
     
  • Add recommended section ID tags to deviceiobook.tmpl

    Because otherwise the link #anchors in the html vary from build to build.

    Signed-off-by: Rob Landley
    Cc: "Randy.Dunlap"
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Rob Landley
     
  • This patch does the following cleanups for Documentation/vm/slabinfo.c:

    - Fix two memory leaks;
    - Constify some char pointers;
    - Use snprintf instead of sprintf in case of buffer overflow;
    - Fix some indentations;
    - Other little improvements.

    Acked-by: Christoph Lameter
    Signed-off-by: WANG Cong
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    WANG Cong
     
  • min_free_pages is critical for correctness, document it as such.

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

    Pavel Machek
     
  • This cleans up kdump documentation a bit. Plus I do not think we want
    to mention Linux trademark in _every_ file in documentation....

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

    Pavel Machek
     
  • A couple of updates haven't considered whether the documentation makes
    sense as a whole any more. Three changes here:

    - Remove the reference to the "DAC Addressing for Address Space Hungry
    Devices" section which was deleted by Jan Beulich.
    - Remove the comment about DMA_24BIT_MASK which became obsolete when
    Tobias Klauser changed the code to actually use DMA_24BIT_MASK.
    - Remove the section "64-bit DMA and DAC cycle support" since it's
    fully covered above, and contains a reference to the section deleted
    by Jan.

    Signed-off-by: Matthew Wilcox
    Cc: "David S. Miller"
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Matthew Wilcox
     
  • Add Documentation/power/00-INDEX

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

    Rob Landley
     
  • Add two missing entries to Documentation/powerpc/00-INDEX

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

    Rob Landley
     
  • Two 00-INDEX files under Documentation/w1

    Signed-off-by: Rob Landley
    Acked-by: Evgeniy Polyakov
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Rob Landley
     
  • Add missing entries to Documentation/00-INDEX

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

    Rob Landley
     
  • The existing Documentation/SM501.txt gives no clue what the chip is or does,
    so copy the description from Kconfig help text.

    Acked-by: Ben Dooks
    Signed-off-by: Rob Landley
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Rob Landley
     
  • This patch adds the "reset_devices" option (that's used only by one device
    driver for now) to the recommended list of command line parameters for kdump.

    Meaning (Documentation/kernel-parameters.txt):
    reset_devices [KNL] Force drivers to reset the underlying device
    during initialization.

    Signed-off-by: Bernhard Walle
    Cc: "Randy.Dunlap"
    Cc: Vivek Goyal
    Cc: "Eric W. Biederman"
    Cc: Haren Myneni
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Bernhard Walle
     
  • This patch reflects the
    http://git.kernel.org/?p=linux/kernel/git/horms/kexec-tools-testing.git;a=commit;h=b9c3648e690ad0dad12389659673206213a09760
    change in kexec-tools-testing also now in the kernel documentation.

    Signed-off-by: Bernhard Walle
    Cc: "Randy.Dunlap"
    Cc: Vivek Goyal
    Cc: "Eric W. Biederman"
    Cc: Haren Myneni
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Bernhard Walle
     
  • This patch adapts the Documentation/kdump/kdump.txt file to express the fact
    that the x86_64 kernel is now also relocatable. This makes i386 and x86_64
    now behave the same, simplifying the documentation.

    Signed-off-by: Bernhard Walle
    Cc: "Randy.Dunlap"
    Cc: Vivek Goyal
    Cc: "Eric W. Biederman"
    Cc: Haren Myneni
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Bernhard Walle
     
  • Signed-off-by: Robert P. J. Day
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Robert P. J. Day
     
  • Add a 00-INDEX file to Documentation/telephony/

    Signed-off-by: Jesper Juhl
    Acked-by: Rob Landley
    Cc: Randy Dunlap
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jesper Juhl
     
  • Add a 00-INDEX file to Documentation/sysctl/

    Signed-off-by: Jesper Juhl
    Cc: Rob Landley
    Cc: Randy Dunlap
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jesper Juhl
     
  • Add a 00-INDEX file to Documentation/mips/

    Signed-off-by: Jesper Juhl
    Cc: Rob Landley
    Cc: Randy Dunlap
    Cc: Ralf Baechle
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jesper Juhl
     
  • Looks like the 00-INDEX file lost its parent directory in -rc6-mm1.

    Signed-off-by: David Rientjes
    Cc: Jesper Juhl
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    David Rientjes
     
  • Signed-off-by: Denis Cheng
    Cc: Rob Landley
    Cc: "Randy.Dunlap"
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Denis Cheng
     
  • Some documentation for "make headers_install".

    Signed-off-by: Rob Landley
    Cc: David Woodhouse
    Cc: Sam Ravnborg
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Rob Landley
     
  • This patch cleans up duplicate includes in
    Documentation/

    Signed-off-by: Jesper Juhl
    Acked-by: Balbir Singh
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jesper Juhl
     
  • The email address that I use for man-pages maintenance has changed as of
    now. This patch changes the address in Documentation/HOWTO and
    MAINTAINERS.

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

    Michael Kerrisk
     
  • Update dontdiff, based on .gitignore patches from Pete Zaitcev and Adrian
    Bunk.

    Signed-off-by: Randy Dunlap
    Cc: Pete Zaitcev
    Cc: Adrian Bunk
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Randy Dunlap
     
  • Stop using deprecated IRQ flags in ncr53c8xx documentaion. The new IRQF_*
    macros are used instead.

    Signed-off-by: Ahmed S. Darwish
    Cc: James Bottomley
    Cc: Matthew Wilcox
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Ahmed S. Darwish
     
  • Signed-off-by: Ralf Baechle
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Ralf Baechle
     
  • atomic_ops.txt has incorrect, misleading and insufficient information about
    semantics of initializer, atomic_set, atomic_read and atomic_xchg.

    It also incorrectly implies that operations mentioned above are not actual
    atomic operations.

    Included is most of the patch Document non-semantics of atomic_read() and
    atomic_set() by Chris Snook, except the word "assignment".

    Signed-off-by: Matti Linnanvuori
    Cc: Nick Piggin
    Cc: "Paul E. McKenney"
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Matti Linnanvuori
     
  • Remove the old-fashioned lk201 driver under drivers/tc/ that used to be
    used by the old dz.c and zs.c drivers, which is now orphan code referred to
    from nowhere and does not build anymore. A modern replacement is available
    as drivers/input/keyboard/lkkbd.c.

    There are no plans to do anything about this piece of code and it does not
    fit anywhere anymore, so it is not just a matter of maintenance or the lack
    of. There are still some bits that might be added to the new lkkbd.c
    driver based on the old code, and the embedded hardware documentation which
    is otherwise quite hard to get hold of might be useful to keep too. Both
    of these can be done separately though. RIP.

    Signed-off-by: Maciej W. Rozycki
    Acked-by: Ralf Baechle
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Maciej W. Rozycki
     
  • Requested by Jeff Garzik.
    v3, updated from lkml comments.

    Add info about various email clients and their applicability
    in being used to send Linux kernel patches.

    Some notes takes from http://mbligh.org/linuxdocs/Email/Clients
    Portions used with permission.

    Signed-off-by: Randy Dunlap
    Cc: Jeff Garzik
    Cc: Martin Bligh
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Randy Dunlap
     
  • Make request_key() and co fundamentally asynchronous to make it easier for
    NFS to make use of them. There are now accessor functions that do
    asynchronous constructions, a wait function to wait for construction to
    complete, and a completion function for the key type to indicate completion
    of construction.

    Note that the construction queue is now gone. Instead, keys under
    construction are linked in to the appropriate keyring in advance, and that
    anyone encountering one must wait for it to be complete before they can use
    it. This is done automatically for userspace.

    The following auxiliary changes are also made:

    (1) Key type implementation stuff is split from linux/key.h into
    linux/key-type.h.

    (2) AF_RXRPC provides a way to allocate null rxrpc-type keys so that AFS does
    not need to call key_instantiate_and_link() directly.

    (3) Adjust the debugging macros so that they're -Wformat checked even if
    they are disabled, and make it so they can be enabled simply by defining
    __KDEBUG to be consistent with other code of mine.

    (3) Documentation.

    [alan@lxorguk.ukuu.org.uk: keys: missing word in documentation]
    Signed-off-by: David Howells
    Signed-off-by: Alan Cox
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    David Howells
     
  • Acked-by: Arjan van de Ven
    Cc: Ingo Molnar
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Matti Linnanvuori
     
  • Signed-off-by: Ralf Baechle
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Ralf Baechle
     
  • Implement sending of quota messages via netlink interface. The advantage
    is that in userspace we can better decide what to do with the message - for
    example display a dialogue in your X session or just write the message to
    the console. As a bonus, we can get rid of problems with console locking
    deep inside filesystem code once we remove the old printing mechanism.

    Signed-off-by: Jan Kara
    Cc: Randy Dunlap
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jan Kara
     
  • Since the "ramdisk" kernel parameter has been officially deprecated
    since at least 2.6.18, might as well finally get rid of it.

    Signed-off-by: Robert P. J. Day
    Acked-by: Geert Uytterhoeven
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Robert P. J. Day
     
  • initrd/initramfs/ramdisk docs:
    - fix typos/spellos/grammar
    - clarify RAM disk config location
    - correct cpio option

    Acked-by: Bryan O'Sullivan
    Acked-by: Rob Landley
    Cc: Werner Almesberger
    Cc: H. Peter Anvin
    Signed-off-by: Randy Dunlap
    Acked-by: Jesper Juhl
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Randy Dunlap