17 Feb, 2007

2 commits

  • Move the initial hrtimers.txt document to the new directory
    "Documentation/hrtimers"

    Add design notes for the high resolution timer and dynamic tick functionality.

    Signed-off-by: Thomas Gleixner
    Signed-off-by: Ingo Molnar
    Cc: Roman Zippel
    Cc: john stultz
    Cc: Andi Kleen
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Thomas Gleixner
     
  • Small updates to the GPIO documentation, addressing feedback and
    fixing a few spelling errors.

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

    David Brownell
     

15 Feb, 2007

1 commit

  • * 'for-linus' of git://one.firstfloor.org/home/andi/git/linux-2.6: (94 commits)
    [PATCH] x86-64: Remove mk_pte_phys()
    [PATCH] i386: Fix broken CONFIG_COMPAT_VDSO on i386
    [PATCH] i386: fix 32-bit ioctls on x64_32
    [PATCH] x86: Unify pcspeaker platform device code between i386/x86-64
    [PATCH] i386: Remove extern declaration from mm/discontig.c, put in header.
    [PATCH] i386: Rename cpu_gdt_descr and remove extern declaration from smpboot.c
    [PATCH] i386: Move mce_disabled to asm/mce.h
    [PATCH] i386: paravirt unhandled fallthrough
    [PATCH] x86_64: Wire up compat epoll_pwait
    [PATCH] x86: Don't require the vDSO for handling a.out signals
    [PATCH] i386: Fix Cyrix MediaGX detection
    [PATCH] i386: Fix warning in cpu initialization
    [PATCH] i386: Fix warning in microcode.c
    [PATCH] x86: Enable NMI watchdog for AMD Family 0x10 CPUs
    [PATCH] x86: Add new CPUID bits for AMD Family 10 CPUs in /proc/cpuinfo
    [PATCH] i386: Remove fastcall in paravirt.[ch]
    [PATCH] x86-64: Fix wrong gcc check in bitops.h
    [PATCH] x86-64: survive having no irq mapping for a vector
    [PATCH] i386: geode configuration fixes
    [PATCH] i386: add option to show more code in oops reports
    ...

    Linus Torvalds
     

14 Feb, 2007

7 commits

  • * master.kernel.org:/pub/scm/linux/kernel/git/paulus/powerpc: (61 commits)
    [POWERPC] Use udbg_early_init() on ppc32
    [POWERPC] Open Firmware serial port driver
    [POWERPC] Move MPIC smp routines into mpic.c
    [POWERPC] Cleanup pseries kexec code
    [POWERPC] Cleanup pseries smp initialisation code
    [POWERPC] Consolidate pseries platform header files into pseries.h
    [POWERPC] 85xx: Drop use of SYNC macro in head_fsl_booke.S
    [POWERPC] cell: pm_rtas_activat_signals routine cleanup
    [POWERPC] cell: PPU Oprofile cleanup patch
    [POWERPC] spufs: avoid accessing kernel memory through mmapped /mem node
    [POWERPC] spu sched: static timeslicing for SCHED_RR contexts
    [POWERPC] spu sched: use DECLARE_BITMAP
    [POWERPC] spu sched: forced preemption at execution
    [POWERPC] spu sched: update some comments
    [POWERPC] spu sched: simplity spu_remove_from_active_list
    [POWERPC] spufs: optimize spu_run
    [POWERPC] spufs: runqueue simplification
    [POWERPC] spufs: move prio to spu_context
    [POWERPC] spufs: state_mutex cleanup
    [POWERPC] spufs: simplify state_mutex
    ...

    Linus Torvalds
     
  • This simple patch adds support to i2c-parport for the One For All remote
    JP1 parallel port interfaces which can be found detailed at:

    http://www.hifi-remote.com/jp1/hardware.shtml

    These allow access to the internal configuration EEPROM on various
    remote controls and there are a variety of Windows tools that make use
    of this hardware. I have tested this patch with the "simple" parallel
    port device and a One For All URC-7562 and confirmed that the data read
    using the eeprom i2c driver matches that returned by the Windows "IR"
    JP1 tool.

    Signed-off-by: Jonathan McDowell
    Signed-off-by: Jean Delvare

    Jonathan McDowell
     
  • We do not have any documentation for the CX700, but it was reported
    to work fine. Thanks to Claas Langbehn for testing.

    Signed-off-by: Jean Delvare

    Jean Delvare
     
  • Driver model updates for the I2C core:

    - Add new suspend(), resume(), and shutdown() methods. Use them in the
    standard driver model style; document them.

    - Minor doc updates to highlight zero-initialized fields in drivers, and
    the driver model accessors for "clientdata".

    If any i2c drivers were previously using the old suspend/resume calls
    in "struct driver", they were getting warning messages ... and will
    now no longer work. Other than that, this patch changes no behaviors;
    and it lets I2C drivers use conventional PM and shutdown support.

    Signed-off-by: David Brownell
    Signed-off-by: Jean Delvare

    David Brownell
     
  • This is a frequently asked question so it deserves a paragraph in
    the driver documentation.

    Signed-off-by: Jean Delvare

    Jean Delvare
     
  • Write data, don't read it.

    Signed-off-by: Mike Frysinger
    Signed-off-by: Jean Delvare

    Mike Frysinger
     
  • Add support for the ATI SB600 SMBus controller.

    Signed-off-by: Jean Delvare

    Jean Delvare
     

13 Feb, 2007

15 commits

  • Sometimes developers need to see more object code in an oops report,
    e.g. when kernel may be corrupted at runtime.

    Add the "code_bytes" option for this.

    Signed-off-by: Chuck Ebbert
    Signed-off-by: Andi Kleen
    Cc: Andi Kleen
    Signed-off-by: Andrew Morton

    Chuck Ebbert
     
  • When a machine check event is detected (including a AMD RevF threshold
    overflow event) allow to run a "trigger" program. This allows user space
    to react to such events sooner.

    The trigger is configured using a new trigger entry in the
    machinecheck sysfs interface. It is currently shared between
    all CPUs.

    I also fixed the AMD threshold handler to run the machine
    check polling code immediately to actually log any events
    that might have caused the threshold interrupt.

    Also added some documentation for the mce sysfs interface.

    Signed-off-by: Andi Kleen

    Andi Kleen
     
  • Fix typos.
    Lots of whitespace changes for readability and consistency.

    Signed-off-by: Randy Dunlap
    Signed-off-by: Andi Kleen

    Randy Dunlap
     
  • - add SWIOTLB config help text
    - mention Documentation/x86_64/boot-options.txt in
    Documentation/kernel-parameters.txt
    - remove the duplication of the iommu kernel parameter documentation.
    - Better explanation of some of the iommu kernel parameter options.
    - "32MB<
    Signed-off-by: Andi Kleen
    Acked-by: Muli Ben-Yehuda
    Cc: Andi Kleen
    Signed-off-by: Andrew Morton

    Karsten Weiss
     
  • Much needed refinement of mpc5200 device tree binding specifications.

    Short list:
    - drop mpc52xx designator; only two supported chips exist, 5200 and 5200b.
    It's premature to refer to them as '52xx'.
    - Specify optional 'model' and 'revision' properties in the soc5200 node
    - Specify reqiured 'cell-index' property to identify between multiple SOC
    devices of the same type. (Useful for arbitrating shared register access)
    - Specify optional 'port-number' property for adjusting the logical serial
    port assignments.
    - Specify optional 'has-wdt' property for gpt0 node.
    - Add system-frequency property to soc5200 node

    Signed-off-by: Grant Likely
    Signed-off-by: Paul Mackerras

    Grant Likely
     
  • Paul Mackerras
     
  • Add a driver for S3 Trio / S3 Virge. Driver is tested with most versions
    of S3 Trio and with S3 Virge/DX, on i386.

    (akpm: We kind-of have support for this hardware already, but...

    virgefb.c
    - amiga/zorro specific,
    - broken (according to Kconfig),
    - uses obsolete/nonexistent interface (struct display_switch)
    - recent Adrian Bunk's patch removes this driver

    S3triofb.c
    - ppc/openfirmware specific
    - minimal functionality
    - broken (according to Kconfig),
    - uses obsolete/nonexistent interface (struct display_switch)
    )

    Signed-off-by: Ondrej Zajicek
    Cc: James Simmons
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Ondrej Zajicek
     
  • These series of patches add UFS2 write-support. UFS2 - is default file system
    for recent versions of FreeBSD.

    The main differences from UFS1 from write support point of view
    are:
    1)Not all inodes are allocated during formatation of disk.
    2)All meta-data(pointer to data blocks) are 64bit(in UFS1 they
    are 32bit).

    So patch series consist of
    1)make possible mount UFS2 in read-write mode
    2)code to write ufs2 inodes and code to initialize inodes chunks.
    3)work with 64bit meta-data

    I made simple testing like create/deleting/writing/reading/truncating, also I
    ran fsx-linux and untar and build kernel on UFS1 and UFS2, after that FreeBSD
    fsck do not find any errors in fs.

    This patch makes possible to mount ufs2 "rw", and updates UFS2 documentation:
    remove note about bug(it fixed by reallocate blocks on the fly patch) and add
    me in the list of people who want receive bug reports.

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

    Evgeniy Dushistov
     
  • This defines a simple and minimalist programming interface for GPIO APIs:

    - Documentation/gpio.txt ... describes things (read it)

    - include/asm-arm/gpio.h ... defines the ARM hook, which just punts
    to for any implementation

    - include/asm-generic/gpio.h ... implement "can sleep" variants as calling
    the normal ones, for systems that don't handle i2c expanders.

    The immediate need for such a cross-architecture API convention is to support
    drivers that work the same on AT91 ARM and AVR32 AP7000 chips, which embed many
    of the same controllers but have different CPUs. However, several other users
    have been reported, including a driver for a hardware watchdog chip and some
    handhelds.org multi-CPU button drivers.

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

    David Brownell
     
  • This is an attempt of providing an interface for memory scrubbing control in
    EDAC.

    This patch modifies the EDAC Core to provide the Interface for memory
    controller modules to implment.

    The following things are still outstanding:

    - K8 is the first implemenation,

    The patch provide a method of configuring the K8 hardware memory scrubber
    via the 'mcX' sysfs directory. There should be some fallback to a generic
    scrubber implemented in software if the hardware does not support
    scrubbing.

    Or .. the scrubbing sysfs entry should not be visible at all.

    - Only works with SDRAM, not cache,

    The K8 can scrub cache and l2cache also - but I think this is not so
    useful as the cache is busy all the time (one hopes).

    One would also expect that cache scrubbing requires hardware support.

    - Error Handling,

    I would like that errors are returned to the user in "terms of file
    system".

    - Presentation,

    I chose Bandwidth in Bytes/Second as a representation of the scrubbing
    rate for the following reasons:

    I like that the sysfs entries are sort-of textual, related to something
    that makes sense instead of magical values that must be looked up.

    "My People" wants "% main memory scrubbed per hour" others prefer "%
    memory bandwidth used" as representation, "bandwith used" makes it easy to
    calculate both versions in one-liner scripts.

    If one later wants to scrub cache, the scaling becomes wierd for K8
    changing from "blocks of 64 byte memory" to "blocks of 64 cache lines" to
    "blocks of 64 bit". Using "bandwidth used" makes sense in all three cases,
    (I.M.O. anyway ;-).

    - Discovery,

    There is no way to discover the possible settings and what they do
    without reading the code and the documentation.

    *I* do not know how to make that work in a practical way.

    - Bugs(??),

    other tools can set invalid values in the memory scrub control register,
    those will read back as '-1', requiring the user to reset the scrub rate.
    This is how *I* think it should be.

    - Afflicting other areas of code,

    I made changes to edac_mc.c and edac_mc.h which will show up globally -
    this is not nice, it would be better that the memory scrubbing fuctionality
    and interface could be entirely contained within the memory controller it
    applies to.

    Frithiof Jensen

    edac_mc.c and its .h file is a CORE helper module for EDAC
    driver modules. This provides the abstraction for device specific
    drivers. It is fine to modify this CORE to provide help for
    new features of the the drivers

    doug thompson

    Signed-off-by: Frithiof Jensen
    Signed-off-by: doug thompson
    Acked-by: Alan Cox
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Frithiof Jensen
     
  • The spi_register_driver() sets the bus_type field of the spi_driver being
    registered, so there is no need to have it set in the driver itself.

    Signed-off-by: Ben Dooks
    Signed-off-by: David Brownell
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Ben Dooks
     
  • Add wrappers for getting and setting the driver data using spi_device
    instead of using dev_{get|set}_drvdata with &spi->dev, to mirror the
    platform_{get|set}_drvdata.

    Signed-off-by: Ben Dooks
    Signed-off-by: David Brownell
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Ben Dooks
     
  • This patch adds the line discipline based driver for the Gigaset M101
    wireless RS232 adapter. It also improves the documentation a bit.

    Signed-off-by: Tilman Schmidt
    Signed-off-by: Hansjoerg Lipp
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Tilman Schmidt
     
  • I've noticed that the boot options are not correct for in the documentation
    for kdump. The "init" keyword is not necessary, and causes a kernel panic
    when booting with an initrd on Fedora 5.

    [horms@verge.net.au: put original comment with the latest version of the patch]
    Signed-off-by: Judith Lebzeelter
    Acked-by: Vivek Goyal
    Signed-off-by: Simon Horman
    Cc: "Eric W. Biederman"
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Horms
     
  • This patch fixes the documentation of nfsroot to match NFS_DEF_FILE_IO_SIZE.

    Or perhaps we need to change NFS_DEF_FILE_IO_SIZE to match the
    documentation?

    Signed-off-by: Dan Aloni
    Cc: "David S. Miller"
    Cc: Trond Myklebust
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Dan Aloni
     

12 Feb, 2007

15 commits

  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input:
    Input: remove scan_keyb driver
    Input: i8042 - fix AUX IRQ delivery check
    Input: wistron - add support for Fujitsu-Siemens Amilo D88x0
    Input: inport - use correct config option for ATIXL
    Input: HIL - handle erros from input_register_device()
    Input: tsdev - schedule removal
    Input: add Atlas button driver
    Input: ads7846 - be more compatible with the hwmon framework
    Input: ads7846 - detect pen up from GPIO state
    Input: ads7846 - select correct SPI mode
    Input: ads7846 - switch to using hrtimer
    Input: ads7846 - optionally leave Vref on during differential measurements
    Input: ads7846 - pluggable filtering logic
    Input: gpio-keys - keyboard driver for GPIO buttons
    Input: hid-ff - add support for Logitech Momo racing wheel
    Input: i8042 - really suppress ACK/NAK during panic blink
    Input: pc110pad - return proper error

    Linus Torvalds
     
  • * master.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6: (97 commits)
    [SCSI] zfcp: removed wrong comment
    [SCSI] zfcp: use of uninitialized variable
    [SCSI] zfcp: Invalid locking order
    [SCSI] aic79xx: use dma_get_required_mask()
    [SCSI] aic79xx: fix bracket mismatch in unused macro
    [SCSI] BusLogic: Replace 'boolean' by 'bool'
    [SCSI] advansys: clean up warnings
    [SCSI] 53c7xx: brackets fix in uncompiled code
    [SCSI] nsp_cs: remove old scsi code
    [SCSI] aic79xx: make ahd_match_scb() static
    [SCSI] DAC960: kmalloc->kzalloc/Casting cleanups
    [SCSI] scsi_kmap_atomic_sg(): check that local irqs are disabled
    [SCSI] Buslogic: local_irq_disable() is redundant after local_irq_save()
    [SCSI] aic94xx: update for v28 firmware
    [SCSI] scsi_error: Fix lost EH commands
    [SCSI] aic94xx: Add default bus reset handler
    [SCSI] aic94xx: Remove TMF result code munging
    [SCSI] libsas: Add an LU reset mechanism to the error handler
    [SCSI] libsas: Don't BUG when connecting two expanders via wide port
    [SCSI] st: fix Tape dies if wrong block size used, bug 7919
    ...

    Linus Torvalds
     
  • Fix DocBook build. Regression was introduced by
    gregkh-usb-usb-linux-usb_ch9h-becomes-linux-usb-ch9h.patch

    Tested by `make htmldocs`.

    Signed-off-by: Don Mullis
    Cc: Greg KH
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Don Mullis
     
  • Fix typo when describing RTC_WKALM. Add some helpful pointers to people
    developing their own RTC driver. Change a bunch of the error messages in the
    test program to be a bit more helpful.

    Signed-off-by: Mike Frysinger
    Cc: Alessandro Zummo
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Mike Frysinger
     
  • Documentation for lib/rbtree.c.

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

    Rob Landley
     
  • Cleanup kernel-doc notation in drivers/firmware/edd.c.

    Add edd.c to DocBook/kernel-api.tmpl.

    Signed-off-by: Randy Dunlap
    Acked-by: Matt Domsch
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Randy Dunlap
     
  • Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Mathieu Desnoyers
     
  • Explain a couple of the most common errors in kernel-doc usage.

    Signed-off-by: Robert P. J. Day
    Acked-by: Randy Dunlap
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Robert P. J. Day
     
  • Alphabetize the sysrq command keys list.

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

    Randy Dunlap
     
  • In kernel-doc syntax, be a little flexible: allow whitespace between
    a function parameter name and the colon that must follow it, such as:
    @pdev : PCI device to unplug

    (This allows lots of megaraid kernel-doc to work without tons of
    editing.)

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

    Randy Dunlap
     
  • Schedule obsolete OSS drivers (with ALSA drivers that support the same
    hardware) for removal.

    A rationale of the patch is in
    http://lkml.org/lkml/2006/12/18/305

    Signed-off-by: Adrian Bunk
    Acked-By: Thomas Sailer
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Adrian Bunk
     
  • Simple increase of section TOC level generation significantly enhances
    navigation experience through generated kernel API documentation.

    This change restores back state from SGML tools time.

    Signed-off-by: Pavel Pisa
    Acked-by: Randy Dunlap
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Pavel Pisa
     
  • Isicom driver no longer registers chardev with ioctl function. It used to
    use for firmware loading. Remove the reserved letter (M) from
    ioctl-number, so that the conflict get away.

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

    Jiri Slaby
     
  • - update documentation

    - use clear_bdi_congested/set_bdi_congested functions directly instead of
    old wrappers

    - removed DECLARE_BUF_AS_STRING macro

    Signed-off-by: Thomas Maier
    Cc: Peter Osterlund
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Thomas Maier
     
  • Mathieu originally needed to add this for tracing Xen, but it's something
    that's needed for any application that can be tracing while cpus are added.

    unplug isn't supported by this patch. The thought was that at minumum a new
    buffer needs to be added when a cpu comes up, but it wasn't worth the effort
    to remove buffers on cpu down since they'd be freed soon anyway when the
    channel was closed.

    [zanussi@us.ibm.com: avoid lock_cpu_hotplug deadlock]
    Signed-off-by: Mathieu Desnoyers
    Cc: Tom Zanussi
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Mathieu Desnoyers