17 May, 2005

9 commits

  • These days handles everything, no need for an asm
    header on just two architectures.

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

    Christoph Hellwig
     
  • Collected NMI watchdog fixes.

    - Fix call of check_nmi_watchdog

    - Remove earlier move of check_nmi_watchdog to later. It does not fix the
    race it was supposed to fix fully.

    - Remove unused P6 definitions

    - Add support for performance counter based watchdog on P4 systems.

    This allows to run it only once per second, which saves some CPU time.
    Previously it would run at 1000Hz, which was too much.

    Code ported from i386

    Make this the default on Intel systems.

    - Use check_nmi_watchdog with local APIC based nmi

    - Fix race in touch_nmi_watchdog

    - Fix bug that caused incorrect performance counters to be programmed in a
    few cases on K8.

    - Remove useless check for local APIC

    - Use local_t and per_cpu variables for per CPU data.

    - Keep other CPUs busy during check_nmi_watchdog to make sure they really
    tick when in lapic mode.

    - Only check CPUs that are actually online.

    - Various other fixes.

    - Fix fallback path when MSRs are unimplemented

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

    Andi Kleen
     
  • There are unfortunately more and more multi processor Opteron systems which
    don't have HPET timer support in the southbridge. This covers in particular
    Nvidia and VIA chipsets. They also don't guarantee that the TSCs are
    synchronized between CPUs; and especially with MP powernow the systems are
    nearly unusable because the time gets very inconsistent between CPUs.

    The timer code for x86-64 was originally written under the assumption that we
    could fall back to the HPET timer on such systems. But this doesn't work
    there.

    Another alternative is to use the ACPI PM timer as primary time source. This
    patch does that. The kernel only uses PM timer when there is no other choice
    because it has some disadvantages.

    Ported over from i386. It should be faster than the i386 version because I
    dropped the "read three times" workaround, but is still considerable slower
    than HPET and also does not work together with vsyscalls which have to be
    disabled.

    Cc:
    Signed-off-by: Andi Kleen
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Andi Kleen
     
  • It is unnecessary on modern Intel or AMD systems, and that is all we support
    on x86-64

    Also causes problems on various systems

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

    Andi Kleen
     
  • Remove x86_apicid field

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

    Andi Kleen
     
  • Needed by big systems and only costs a few K of memory.

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

    Andi Kleen
     
  • This works around a bug in the AMD K8 CPUs.

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

    Andi Kleen
     
  • Actually remove elf.h in the tree. The previous patch, due to a quilt
    bug/misuse, left it in the tree as a 0-length file, preventing the build to
    see it as missing and to generate a symlink in its place.

    Signed-off-by: Paolo 'Blaisorblade' Giarrusso
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Paolo 'Blaisorblade' Giarrusso
     
  • Linus Torvalds
     

13 May, 2005

1 commit


11 May, 2005

1 commit


10 May, 2005

3 commits


07 May, 2005

2 commits


06 May, 2005

24 commits

  • Move the code to set global interrupt queue membership to xics.c,
    and remove no longer needed extern declarations. Also call it on
    all cpus (even the boot cpu) to prepare for kexec.

    Signed-off-by: Milton Miller
    Signed-off-by: R Sharada
    Signed-off-by: Paul Mackerras
    Signed-off-by: Linus Torvalds

    Paul Mackerras
     
  • - Changed Name/defines from "Geode GX" to "Geode GX1" for clarification

    - Dropped "-march=i586" in favor of "-march=i486"

    - Dopped X86_OOSTORE support for Geode GX1

    Signed-off-by: Kianusch Sayah Karadji
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Kianusch Sayah Karadji
     
  • Ross moved. Remove the bad email address so people will find the correct
    one in ./CREDITS.

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

    Jesper Juhl
     
  • Just a few small cleanups to make this coherent english.

    Signed-Off-By: Martin Hicks
    Signed-off-by: Domen Puncer
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Domen Puncer
     
  • compile warning cleanup - suggested by Adrian Bunk; remove unmaintained rcs
    char strings from source and handle the occurrences of their use, make sure
    kernel-userspace issues taken care of; break out into separate patch

    Signed-off-by: Stephen Biggs
    Signed-off-by: Domen Puncer
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Domen Puncer
     
  • Signed-off-by: Jesper Juhl
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jesper Juhl
     
  • Add some comments about task->comm, to explain what it is near its definition
    and provide some important pointers to its uses.

    Signed-off-by: Paolo 'Blaisorblade' Giarrusso
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Paolo 'Blaisorblade' Giarrusso
     
  • This patch makes some needlessly global identifiers static.

    Signed-off-by: Adrian Bunk
    Acked-by: Arjan van de Ven
    Acked-by: Trond Myklebust
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Adrian Bunk
     
  • This had a fatal lock ranking bug: we do journal_start outside
    mpage_writepages()'s lock_page().

    Revert the whole thing, think again.

    Credit-to: Jan Kara

    For identifying the bug.

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

    Andrew Morton
     
  • The only caller that ever sets it can call fsync_bdev itself easily. Also
    update some comments.

    Signed-off-by: Christoph Hellwig
    Cc:
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Christoph Hellwig
     
  • This patch adds support for a new class of DAC960 controllers. It's based
    on the GPLed idac320 driver from IBM for Linux 2.4.18. That driver is a
    fork of the 2.4.18 version of DAC960 that adds support for this new type of
    controllers (internally called "GEM Series"), that differ from other DAC960
    V2 firmware controllers only in the register offsets and removes support
    for all others.

    This patch instead integrates support for these controllers into the DAC960
    driver.

    Thanks to Anders Norrbring for pointing me to the idac320 driver and
    testing this patch.

    No Signed-Off: line because all code is either copy & pasted from IBM's
    idac320 driver or support for other controllers in the 2.6 DAC960 driver.

    Note: the really odd formating matches the rest of the DAC960 driver.

    Cc: Dave Olien
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Christoph Hellwig
     
  • Allow registration of multiple kprobes at an address in an architecture
    agnostic way. Corresponding handlers will be invoked in a sequence. But,
    a kprobe and a jprobe can't (yet) co-exist at the same address.

    Signed-off-by: Ananth N Mavinakayanahalli
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Ananth N Mavinakayanahalli
     
  • UML: remove no longer needed arch-signal.h

    Signed-off-by: Bodo Stroesser
    Signed-off-by: Jeff Dike
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Bodo Stroesser
     
  • s390 has fast read access to realtime clock (nanosecond resolution). So it
    makes sense to have an arch-specific implementation not only of __delay, but
    __udelay also.

    Signed-off-by: Bodo Stroesser
    Signed-off-by: Jeff Dike
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Bodo Stroesser
     
  • This patch replaces the contents of include/asm-um/linkage.h
    by
    #include "asm/arch/linkage.h"

    Signed-off-by: Bodo Stroesser
    Signed-off-by: Jeff Dike
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Bodo Stroesser
     
  • This patch make elh.h a symlink to the new arch-specific include files of the
    form elf-.h, as in the same way already is done for some other
    includes. Also moves Elf-stuff from archparam-.h and elf.h to the
    new elf-.h files.

    Signed-off-by: Bodo Stroesser
    Signed-off-by: Jeff Dike
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Bodo Stroesser
     
  • This patch removes the arch-specific fault/trap-infos from thread and
    skas-regs.

    It adds a new struct faultinfo, that is arch-specific defined in
    sysdep/faultinfo.h.

    The structure is inserted in thread.arch and thread.regs.skas and
    thread.regs.tt

    Now, segv and other trap-handlers can copy the contents from regs.X.faultinfo
    to thread.arch.faultinfo with one simple assignment.

    Also, the number of macros necessary is reduced to

    FAULT_ADDRESS(struct faultinfo)
    extracts the faulting address from faultinfo

    FAULT_WRITE(struct faultinfo)
    extracts the "is_write" flag

    SEGV_IS_FIXABLE(struct faultinfo)
    is true for the fixable segvs, i.e. (TRAP == 14)
    on i386

    UPT_FAULTINFO(regs)
    result is (struct faultinfo *) to the faultinfo
    in regs->skas.faultinfo

    GET_FAULTINFO_FROM_SC(struct faultinfo, struct sigcontext *)
    copies the relevant parts of the sigcontext to
    struct faultinfo.

    On SIGSEGV, call user_signal() instead of handle_segv(), if the architecture
    provides the information needed in PTRACE_FAULTINFO, or if PTRACE_FAULTINFO is
    missing, because segv-stub will provide the info.

    The benefit of the change is, that in case of a non-fixable SIGSEGV, we can
    give user processes a SIGSEGV, instead of possibly looping on pagefault
    handling.

    Since handle_segv() sikked arch_fixup() implicitly by passing ip==0 to segv(),
    I changed segv() to call arch_fixup() only, if !is_user.

    Signed-off-by: Bodo Stroesser
    Signed-off-by: Jeff Dike
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Bodo Stroesser
     
  • These are some trivial fixes for the x86-64 subarch module support. The only
    potential problem is that I have to modify arch/x86_64/kernel/module.c, to
    avoid copying the whole of it.

    I can't use it verbatim because it depends on a special vmalloc-like area for
    modules, which for now (maybe that's to fix, I guess not) UML/x86-64 has not.
    I went the easy way and reused the i386 vmalloc()-based allocator.

    Signed-off-by: Paolo 'Blaisorblade' Giarrusso
    Acked-by: Andi Kleen
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Paolo 'Blaisorblade' Giarrusso
     
  • This patch does some totally trivial compilation fixes. It also restores the
    debugregs manipulation, which was commented out simply because it doesn't
    compile on x86_64 (we haven't yet implemented there debugregs handling).

    Signed-off-by: Paolo 'Blaisorblade' Giarrusso
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Paolo 'Blaisorblade' Giarrusso
     
  • This patch started as simply removing a few never-used macros from
    asm-ppc64/pgtable.h, then kind of grew. It now makes a bunch of
    cleanups to the ppc64 low-level header files (with corresponding
    changes to .c files where necessary) such as:
    - Abolishing never-used macros
    - Eliminating multiple #defines with the same purpose
    - Removing pointless macros (cases where just expanding the
    macro everywhere turns out clearer and more sensible)
    - Removing some cases where macros which could be defined in
    terms of each other weren't
    - Moving imalloc() related definitions from pgtable.h to their
    own header file (imalloc.h)
    - Re-arranging headers to group things more logically
    - Moving all VSID allocation related things to mmu.h, instead
    of being split between mmu.h and mmu_context.h
    - Removing some reserved space for flags from the PMD - we're
    not using it.
    - Fix some bugs which broke compile with STRICT_MM_TYPECHECKS.

    Signed-off-by: David Gibson
    Acked-by: Paul Mackerras
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    David Gibson
     
  • The PPC32 kernel puts platform-specific functions into separate sections so
    that unneeded parts of it can be freed when we've booted and actually
    worked out what we're running on today.

    This makes kallsyms ignore those functions, because they're not between
    _[se]text or _[se]inittext. Rather than teaching kallsyms about the
    various pmac/chrp/etc sections, this patch adds '_[se]extratext' markers
    for kallsyms.

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

    David Woodhouse
     
  • Fixes for big-endian systems in soundcard.h and awe_voice.h

    This patch fixes the AFMT_S16_NE (include/linux/soundcard.h) and AWE_PATCH
    (awe_voice.h) macros on big-endian systems.

    It also moves _PATCHKEY into a new file, patchkey.h, in order to remove a
    duplicate definition of it from awe_voice.h.

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

    Stuart Brady
     
  • Linus Torvalds
     
  • Linus Torvalds