30 Jun, 2006

3 commits


29 Jun, 2006

3 commits

  • * master.kernel.org:/pub/scm/linux/kernel/git/wim/linux-2.6-watchdog:
    [WATCHDOG] Documentation/watchdog update
    [WATCHDOG] convert AT91RM9200 watchdog to platform driver
    [WATCHDOG] add WDIOC_GETTIMELEFT ioctl
    [WATCHDOG] Pre-Timeout flags

    Linus Torvalds
     
  • Temporarily add EXPORT_UNUSED_SYMBOL and EXPORT_UNUSED_SYMBOL_GPL. These
    will be used as a transition measure for symbols that aren't used in the
    kernel and are on the way out. When a module uses such a symbol, a warning
    is printk'd at modprobe time.

    The main reason for removing unused exports is size: eacho export takes
    roughly between 100 and 150 bytes of kernel space in the binary. This
    patch gives users the option to immediately get this size gain via a config
    option.

    Signed-off-by: Arjan van de Ven
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Arjan van de Ven
     
  • Documentation/watchdog/:
    Expose example and tool source files in the Documentation/ directory in
    their own files instead of being buried (almost hidden) in readme/txt files.

    This will make them more visible/usable to users who may need
    to use them, to developers who may need to test with them, and
    to janitors who would update them if they were more visible.

    Also, if any of these possibly should not be in the kernel tree at
    all, it will be clearer that they are here and we can discuss if
    they should be removed.

    Signed-off-by: Randy Dunlap
    Signed-off-by: Wim Van Sebroeck
    Signed-off-by: Andrew Morton

    Randy Dunlap
     

28 Jun, 2006

6 commits

  • * master.kernel.org:/pub/scm/linux/kernel/git/mchehab/v4l-dvb: (26 commits)
    V4L/DVB (4263): Fix warning when compiling on 64 bit machines
    V4L/DVB (4261): Included required header for in-kernel compilation
    V4L/DVB (4260): Stradis.c: make 2 functions static
    V4L/DVB (4259): Pass an explicit log prefix to cx2341x_log_status
    V4L/DVB (4257): Fix 64-bit compile warnings.
    V4L/DVB (4255): Tda9887 default TOP value is 0x10
    V4L/DVB (4254): Remove obsoleted tuner_debug option.
    V4L/DVB (4253): IVTV VBI format description too long.
    V4L/DVB (4252): Remove duplicate 'tda9887' in info messages.
    V4L/DVB (4245): Reduce the amount of pvrusb2-sourced noise going into the system log
    V4L/DVB (4244): Implement use of cx2341x module in pvrusb2 driver
    V4L/DVB (4243): Exploit new V4L control features in pvrusb2
    V4L/DVB (4242): Don't suspend encoder when changing its attributes (in pvrusb2)
    V4L/DVB (4241): Fix faulty encoder error recovery in pvrusb2
    V4L/DVB (4240): Various V4L control enhancements in pvrusb2
    V4L/DVB (4239): Handle boolean controls in pvrusb2
    V4L/DVB (4238): Make sure flags field is initialized when quering a control in pvrusb2
    V4L/DVB (4237): Move LOG_STATUS bracketing to a different part of the pvrusb2 driver
    V4L/DVB (4236): Rearrange things in pvrusb2 driver in preparation for using cx2341x module
    V4L/DVB (4235): Increase the maximum number of controls that pvrusb2-sysfs.c can handle.
    ...

    Linus Torvalds
     
  • Add rt-mutex documentation.

    [rostedt@goodmis.org: Update rt-mutex-design.txt as per Randy Dunlap suggestions]
    Signed-off-by: Ingo Molnar
    Signed-off-by: Thomas Gleixner
    Signed-off-by: Arjan van de Ven
    Signed-off-by: Steven Rostedt
    Signed-off-by: Steven Rostedt
    Cc: "Randy.Dunlap"
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Steven Rostedt
     
  • Fix typo in Documentation/robust-futexes.txt.

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

    Ingo Molnar
     
  • Add an ops vector to rcutorture, and add the ops for Classic RCU. Update
    the rcutorture documentation to reflect slight change to the dmesg formats.

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

    Paul E. McKenney
     
  • This just catches the RCU torture documentation up with the recent fixes
    that test RCU for architectures that turn of the scheduling-clock interrupt
    for idle CPUs and the addition of a SUCCESS/FAILURE indication, fixing up
    an obsolete comment as well.

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

    Paul E. McKenney
     
  • Move the i386 VDSO down into a vma and thus randomize it.

    Besides the security implications, this feature also helps debuggers, which
    can COW a vma-backed VDSO just like a normal DSO and can thus do
    single-stepping and other debugging features.

    It's good for hypervisors (Xen, VMWare) too, which typically live in the same
    high-mapped address space as the VDSO, hence whenever the VDSO is used, they
    get lots of guest pagefaults and have to fix such guest accesses up - which
    slows things down instead of speeding things up (the primary purpose of the
    VDSO).

    There's a new CONFIG_COMPAT_VDSO (default=y) option, which provides support
    for older glibcs that still rely on a prelinked high-mapped VDSO. Newer
    distributions (using glibc 2.3.3 or later) can turn this option off. Turning
    it off is also recommended for security reasons: attackers cannot use the
    predictable high-mapped VDSO page as syscall trampoline anymore.

    There is a new vdso=[0|1] boot option as well, and a runtime
    /proc/sys/vm/vdso_enabled sysctl switch, that allows the VDSO to be turned
    on/off.

    (This version of the VDSO-randomization patch also has working ELF
    coredumping, the previous patch crashed in the coredumping code.)

    This code is a combined work of the exec-shield VDSO randomization
    code and Gerd Hoffmann's hypervisor-centric VDSO patch. Rusty Russell
    started this patch and i completed it.

    [akpm@osdl.org: cleanups]
    [akpm@osdl.org: compile fix]
    [akpm@osdl.org: compile fix 2]
    [akpm@osdl.org: compile fix 3]
    [akpm@osdl.org: revernt MAXMEM change]
    Signed-off-by: Ingo Molnar
    Signed-off-by: Arjan van de Ven
    Cc: Gerd Hoffmann
    Cc: Rusty Russell
    Cc: Zachary Amsden
    Cc: Andi Kleen
    Cc: Jan Beulich
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Ingo Molnar
     

27 Jun, 2006

28 commits

  • Implement V4L2 driver for the Hauppauge PVR USB2 TV tuner.

    The Hauppauge PVR USB2 is a USB connected TV tuner with an embedded
    cx23416 hardware MPEG2 encoder. There are two major variants of this
    device; this driver handles both. Any V4L2 application which
    understands MPEG2 video stream data should be able to work with this
    device.

    Signed-off-by: Mike Isely
    Signed-off-by: Mauro Carvalho Chehab

    Mike Isely
     
  • * master.kernel.org:/home/rmk/linux-2.6-arm:
    [ARM] 3657/1: S3C24XX: Documentation update of Overview.txt
    [ARM] Update mach-types
    [ARM] 3656/1: S3C2412: Add S3C2412 and S3C2413 documenation
    [ARM] 3654/1: add ajeco 1arm sbc support
    [ARM] fix drivers/mfd/ucb1x00-core.c IRQ probing bug
    [ARM] 3651/1: S3C24XX: Make arch list more detailed
    [ARM] 3650/1: S3C2412: Update s3c2410_defconfig
    [ARM] 3649/1: S3C24XX: Fix capitalisation of CPU on SMDK2440
    [ARM] 3612/1: make pci bus optional for ixp4xx platform
    [ARM] Remove MODE_(SVC|IRQ|FIQ|USR) and DEFAULT_FIQ
    [ARM] Remove save_lr/restore_pc macros
    [ARM] Remove partial non-v6 binutils compatibility
    [ARM] Remove LOADREGS macro
    [ARM] Remove RETINSTR macro

    Linus Torvalds
     
  • Patch from Ben Dooks

    Update the list of supported devices, and remove the
    changelog. Add SMDK2413 information.--

    Signed-off-by: Ben Dooks Signed-off-by: Russell King

    Ben Dooks
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/bunk/trivial:
    typo fixes
    Clean up 'inline is not at beginning' warnings for usb storage
    Storage class should be first
    i386: Trivial typo fixes
    ixj: make ixj_set_tone_off() static
    spelling fixes
    fix paniced->panicked typos
    Spelling fixes for Documentation/atomic_ops.txt
    move acknowledgment for Mark Adler to CREDITS
    remove the bouncing email address of David Campbell

    Linus Torvalds
     
  • Patch from Ben Dooks

    Add some basic documentation about the support for
    the S3C2412 and S3C2413 CPUs--

    Signed-off-by: Ben Dooks Signed-off-by: Russell King

    Ben Dooks
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild: (40 commits)
    kbuild: trivial fixes in Makefile
    kbuild: adding symbols in Kconfig and defconfig to TAGS
    kbuild: replace abort() with exit(1)
    kbuild: support for %.symtypes files
    kbuild: fix silentoldconfig recursion
    kbuild: add option for stripping modules while installing them
    kbuild: kill some false positives from modpost
    kbuild: export-symbol usage report generator
    kbuild: fix make -rR breakage
    kbuild: append -dirty for updated but uncommited changes
    kbuild: append git revision for all untagged commits
    kbuild: fix module.symvers parsing in modpost
    kbuild: ignore make's built-in rules & variables
    kbuild: bugfix with initramfs
    kbuild: modpost build fix
    kbuild: check license compatibility when building modules
    kbuild: export-type enhancement to modpost.c
    kbuild: add dependency on kernel.release to the package targets
    kbuild: `make kernelrelease' speedup
    kconfig: KCONFIG_OVERWRITECONFIG
    ...

    Linus Torvalds
     
  • * x86-64: (83 commits)
    [PATCH] x86_64: x86_64 stack usage debugging
    [PATCH] x86_64: (resend) x86_64 stack overflow debugging
    [PATCH] x86_64: msi_apic.c build fix
    [PATCH] x86_64: i386/x86-64 Add nmi watchdog support for new Intel CPUs
    [PATCH] x86_64: Avoid broadcasting NMI IPIs
    [PATCH] x86_64: fix apic error on bootup
    [PATCH] x86_64: enlarge window for stack growth
    [PATCH] x86_64: Minor string functions optimizations
    [PATCH] x86_64: Move export symbols to their C functions
    [PATCH] x86_64: Standardize i386/x86_64 handling of NMI_VECTOR
    [PATCH] x86_64: Fix modular pc speaker
    [PATCH] x86_64: remove sys32_ni_syscall()
    [PATCH] x86_64: Do not use -ffunction-sections for modules
    [PATCH] x86_64: Add cpu_relax to apic_wait_icr_idle
    [PATCH] x86_64: adjust kstack_depth_to_print default
    [PATCH] i386/x86-64: adjust /proc/interrupts column headings
    [PATCH] x86_64: Fix race in cpu_local_* on preemptible kernels
    [PATCH] x86_64: Fix fast check in safe_smp_processor_id
    [PATCH] x86_64: x86_64 setup.c - printing cmp related boottime information
    [PATCH] i386/x86-64/ia64: Move polling flag into thread_info_status
    ...

    Manual resolve of trivial conflict in arch/i386/kernel/Makefile

    Linus Torvalds
     
  • This patch hooks Calgary into the build, the x86-64 IOMMU
    initialization paths, and introduces the Calgary specific bits. The
    implementation draws inspiration from both PPC (which has support for
    the same chip but requires firmware support which we don't have on
    x86-64) and gart. Calgary is different from gart in that it support a
    translation table per PHB, as opposed to the single gart aperture.

    Changes from previous version:
    * Addition of boot-time disablement for bus-level translation/isolation
    (e.g, enable userspace DMA for things like X)
    * Usage of newer IOMMU abstraction functions

    Signed-off-by: Muli Ben-Yehuda
    Signed-off-by: Jon Mason
    Signed-off-by: Andi Kleen
    Signed-off-by: Linus Torvalds

    Jon Mason
     
  • Signed-off-by: Adrian Bunk

    olecom@mail.ru
     
  • It appears in /sys/mdX/md/dev-YYY/state
    and can be set or cleared by writing 'writemostly' or '-writemostly'
    respectively.

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

    NeilBrown
     
  • Signed-off-by: Neil Brown
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    NeilBrown
     
  • Signed-off-by: Neil Brown
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    NeilBrown
     
  • The md/dev-XXX/state file can now be written:

    "faulty" simulates an error on the device
    "remove" removes the device from the array (if it is not busy)

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

    NeilBrown
     
  • This allows the state of an md/array to be directly controlled via sysfs and
    adds the ability to stop and array without tearing it down.

    Array states/settings:

    clear
    No devices, no size, no level
    Equivalent to STOP_ARRAY ioctl
    inactive
    May have some settings, but array is not active
    all IO results in error
    When written, doesn't tear down array, but just stops it
    suspended (not supported yet)
    All IO requests will block. The array can be reconfigured.
    Writing this, if accepted, will block until array is quiescent
    readonly
    no resync can happen. no superblocks get written.
    write requests fail
    read-auto
    like readonly, but behaves like 'clean' on a write request.

    clean - no pending writes, but otherwise active.
    When written to inactive array, starts without resync
    If a write request arrives then
    if metadata is known, mark 'dirty' and switch to 'active'.
    if not known, block and switch to write-pending
    If written to an active array that has pending writes, then fails.
    active
    fully active: IO and resync can be happening.
    When written to inactive array, starts with resync

    write-pending (not supported yet)
    clean, but writes are blocked waiting for 'active' to be written.

    active-idle
    like active, but no writes have been seen for a while (100msec).

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

    NeilBrown
     
  • When a md array has been idle (no writes) for 20msecs it is marked as 'clean'.
    This delay turns out to be too short for some real workloads. So increase it
    to 200msec (the time to update the metadata should be a tiny fraction of that)
    and make it sysfs-configurable.

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

    NeilBrown
     
  • Update Documentation/fb/fbcon.txt and Documentatin/console/console.txt to
    reflect the following changes:

    1. sysfs attributes are relocated to /sys/class/vtconsole

    2. feature is selectable in Kconfig

    3. add sample scripts to fbcon.txt

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

    Antonino A. Daplas
     
  • This newly added file will:

    - Describe the characteristics of 2 general types of console drivers
    - How to use the sysfs to unbind and bind console drivers
    - Uses for this feature

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

    Antonino A. Daplas
     
  • Update Documentation/fb/fbcon.txt to reflect the following changes:

    1. Simple illustration of the binding of the console down to individual
    framebuffer drivers

    2. Usage of userspace tools to help with recovery of text console

    3. How to use the attributes in /sys/class/tty/console to unload fbcon and
    the framebuffer drivers

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

    Antonino A. Daplas
     
  • Update Documentation/fb/fbcon.txt on the following:

    1. sysfs attributes are now located in class/graphics/fbcon
    2. instructions on how to attach, detach and/or unload fbcon

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

    Antonino A. Daplas
     
  • Implement the time sources for i386 (acpi_pm, cyclone, hpet, pit, and tsc).
    With this patch, the conversion of the i386 arch to the generic timekeeping
    code should be complete.

    The patch should be fairly straight forward, only adding the new clocksources.

    [hirofumi@mail.parknet.co.jp: acpi_pm cleanup]
    Signed-off-by: John Stultz
    Signed-off-by: Adrian Bunk
    Signed-off-by: Paul Mundt
    Signed-off-by: John Stultz
    Signed-off-by: OGAWA Hirofumi
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    john stultz
     
  • This introduces the clocksource management infrastructure. A clocksource is a
    driver-like architecture generic abstraction of a free-running counter. This
    code defines the clocksource structure, and provides management code for
    registering, selecting, accessing and scaling clocksources.

    Additionally, this includes the trivial jiffies clocksource, a lowest common
    denominator clocksource, provided mainly for use as an example.

    [hirofumi@mail.parknet.co.jp: Don't enable IRQ too early]
    Signed-off-by: John Stultz
    Signed-off-by: Ingo Molnar
    Signed-off-by: Paul Mundt
    Signed-off-by: John Stultz
    Signed-off-by: OGAWA Hirofumi
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    john stultz
     
  • This patch adds "-o bh" option to force use of buffer_heads. This option
    is needed when we make "nobh" as default - and if we run into problems.

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

    Badari Pulavarty
     
  • Add a /proc//attr/keycreate entry that stores the appropriate context for
    newly-created keys. Modify the selinux_key_alloc hook to make use of the new
    entry. Update the flask headers to include a new "setkeycreate" permission
    for processes. Update the flask headers to include a new "create" permission
    for keys. Use the create permission to restrict which SIDs each task can
    assign to newly-created keys. Add a new parameter to the security hook
    "security_key_alloc" to indicate whether it is being invoked by the kernel, or
    from userspace. If it is being invoked by the kernel, the security hook
    should never fail. Update the documentation to reflect these changes.

    Signed-off-by: Michael LeMay
    Signed-off-by: James Morris
    Signed-off-by: David Howells
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Michael LeMay
     
  • Restrict /proc/keys such that only those keys to which the current task is
    granted View permission are presented.

    The documentation is also updated to reflect these changes.

    Signed-off-by: Michael LeMay
    Signed-off-by: James Morris
    Signed-off-by: David Howells
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Michael LeMay
     
  • This method died some time ago, so kill the doc for it.

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

    Alan Cox
     
  • In a testament to the utter simplicity and logic of the English
    language ;-), I found a single correct use - in kernel/panic.c - and
    10-15 incorrect ones.

    Signed-Off-By: Lee Revell
    Signed-off-by: Adrian Bunk

    Lee Revell
     
  • Spelling and typo fixes for Documentation/atomic_ops.txt

    Signed-off-by: Adrian Bunk

    Michael Hayes
     
  • This patch removes a bouncing email address from the kernel sources.

    Signed-off-by: Adrian Bunk

    Adrian Bunk