09 Sep, 2005

5 commits


08 Sep, 2005

8 commits

  • Rather than hard-coding the platform device IDs, enumerate them.
    We don't particularly care about the actual ID we get, just as
    long as they're unique.

    Signed-off-by: Russell King

    Russell King
     
  • Now that asm-powerpc/* is using ifdefs on __powerpc64__ we need to add it
    to CHECKFLAGS on ppc64.

    Signed-off-by: Al Viro
    Signed-off-by: Linus Torvalds

    viro@ZenIV.linux.org.uk
     
  • Sanitized and fixed floppy dependencies: split the messy dependencies for
    BLK_DEV_FD by introducing a new symbol (ARCH_MAY_HAVE_PC_FDC), making
    BLK_DEV_FD depend on that one and taking declarations of ARCH_MAY_HAVE_PC_FDC
    to arch/*/Kconfig. While we are at it, fixed several obvious cases when
    BLK_DEV_FD should have been excluded (architectures lacking asm/floppy.h
    are *not* going to have floppy.c compile, let alone work).

    If you can come up with better name for that ("this architecture might
    have working PC-compatible floppy disk controller"), you are more than
    welcome - just s/ARCH_MAY_HAVE_PC_FDC/your_prefered_name/g in the patch
    below...

    Signed-off-by: Al Viro
    Signed-off-by: Linus Torvalds

    viro@ZenIV.linux.org.uk
     
  • This patch fixes a race condition where in system used to hang or sometime
    crash within minutes when kprobes are inserted on ISR routine and a task
    routine.

    The fix has been stress tested on i386, ia64, pp64 and on x86_64. To
    reproduce the problem insert kprobes on schedule() and do_IRQ() functions
    and you should see hang or system crash.

    Signed-off-by: Anil S Keshavamurthy
    Signed-off-by: Ananth N Mavinakayanahalli
    Acked-by: Prasanna S Panchamukhi
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Keshavamurthy Anil S
     
  • This patch contains the ppc64 architecture specific changes to prevent the
    possible race conditions.

    Signed-off-by: Prasanna S Panchamukhi
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Prasanna S Panchamukhi
     
  • This patch converts kcalloc(1, ...) calls to use the new kzalloc() function.

    Signed-off-by: Pekka Enberg
    Cc: Paul Mackerras
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Pekka Enberg
     
  • 64 bit architectures all implement their own compatibility sys_open(),
    when in fact the difference is simply not forcing the O_LARGEFILE
    flag. So use the a common function instead.

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

    Miklos Szeredi
     
  • This patch cleans up a commonly repeated set of changes to the NTP state
    variables by adding two helper inline functions:

    ntp_clear(): Clears the ntp state variables

    ntp_synced(): Returns 1 if the system is synced with a time server.

    This was compile tested for alpha, arm, i386, x86-64, ppc64, s390, sparc,
    sparc64.

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

    john stultz
     

06 Sep, 2005

21 commits


05 Sep, 2005

4 commits

  • Use msleep_interruptible() instead of schedule_timeout() in ppc64-specific
    code to cleanup/simplify the sleeping logic. Change the units of the
    parameter of do_event_scan_all_cpus() to milliseconds from jiffies. The
    return value of rtas_extended_busy_delay_time() was incorrectly being used
    as a jiffies value (it is actually milliseconds), which is fixed by using
    the value as a parameter to msleep_interruptible(). Also, use
    rtas_extended_busy_delay_time() in another case where similar logic is
    duplicated.

    Signed-off-by: Nishanth Aravamudan
    Cc: Paul Mackerras
    Cc: Benjamin Herrenschmidt
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Nishanth Aravamudan
     
  • We need to indicate to the hypervisor that it needs to save our VMX
    registers when switching partitions on a shared-processor system, just as
    it needs to for FP and PMC registers.

    This could be made to be on-demand when VMX is used, but we don't do that
    for FP nor PMC right now either so let's not overcomplicate things.

    Signed-off-by: Olof Johansson
    Acked-by: Paul Mackerras
    Cc: Anton Blanchard
    Cc:
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Olof Johansson
     
  • xmon will do nothing but noise on a G5 if BOOTX_TEXT is not enabled.
    mention the recognized kernel cmdline options for xmon.

    Signed-off-by: Olaf Hering
    Cc: Paul Mackeras
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Olaf Hering
     
  • A new option for SPARSEMEM is ARCH_SPARSEMEM_EXTREME. Architecture
    platforms with a very sparse physical address space would likely want to
    select this option. For those architecture platforms that don't select the
    option, the code generated is equivalent to SPARSEMEM currently in -mm.
    I'll be posting a patch on ia64 ml which uses this new SPARSEMEM feature.

    ARCH_SPARSEMEM_EXTREME makes mem_section a one dimensional array of
    pointers to mem_sections. This two level layout scheme is able to achieve
    smaller memory requirements for SPARSEMEM with the tradeoff of an
    additional shift and load when fetching the memory section. The current
    SPARSEMEM -mm implementation is a one dimensional array of mem_sections
    which is the default SPARSEMEM configuration. The patch attempts isolates
    the implementation details of the physical layout of the sparsemem section
    array.

    ARCH_SPARSEMEM_EXTREME depends on 64BIT and is by default boolean false.

    I've boot tested under aim load ia64 configured for ARCH_SPARSEMEM_EXTREME.
    I've also boot tested a 4 way Opteron machine with !ARCH_SPARSEMEM_EXTREME
    and tested with aim.

    Signed-off-by: Andy Whitcroft
    Signed-off-by: Bob Picco
    Signed-off-by: Dave Hansen
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Bob Picco
     

02 Sep, 2005

1 commit

  • In adjusting the logic for SLB miss for the dynamic hugepage stuff, I
    messed up the !CONFIG_HUGETLB_PAGE case, failing to set the SLB flags
    properly.

    This fixes it. It also streamlines the logic for the HUGETLB_PAGE case
    (removing a couple of branches) while we're at it.

    Booted, and roughly tested on POWER5 (with and without HUGETLB_PAGE),
    iSeries/RS64 (no hugepage available), and G5 (with and without
    HUGETLB_PAGE).

    Signed-off-by: David Gibson
    Signed-off-by: Linus Torvalds

    David Gibson
     

30 Aug, 2005

1 commit

  • The {BEGIN,END}_FTR_SECTION asm macros used in ppc64 to nop out
    sections of code at runtime cannot be nested. However, we do nest
    them in hash_low.S. We get away with it there, because there is
    nothing between the BEGIN markers for each section. However, that's
    confusing to someone reading the code.

    This patch removes the nested ifset and ifclr feature sections,
    replacing them with a single feature section in the full mask/value
    form.

    Signed-off-by: David Gibson
    Signed-off-by: Paul Mackerras

    David Gibson