01 Jun, 2006

16 commits


31 May, 2006

9 commits

  • We don't enable the BTB on the ixp2350 as that can cause weird
    crashes (erratum #42.) However, some bootloaders enable the BTB,
    which means that we have to disable the BTB explicitly.

    Found thanks to Tom Rini.

    Signed-off-by: Lennert Buytenhek
    Signed-off-by: Deepak Saxena
    Signed-off-by: Linus Torvalds

    Deepak Saxena
     
  • This reverts commit 5491d0f3e206beb95eeb506510d62a1dab462df1.

    As per Andi:

    "After some discussion with people who have the affected system it
    seems best to revert for 2.6.17. It broke a common BIOS workaround
    and PCI-X still doesn't work. Alternative is for people to change
    the BIOS which seems to be better right now."

    Signed-off-by: Linus Torvalds

    Linus Torvalds
     
  • int_ret_from_syscall already does syscall exit tracing, so
    no need to do it again in the caller.

    This caused problems for UML and some other special programs doing
    syscall interception.

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

    Andi Kleen
     
  • From: Robert Hentosh

    Actually, we just stumbled on a different bug found in find_e820_area() in
    e820.c. The following code does not handle the edge condition correctly:

    while (bad_addr(&addr, size) && addr+size < ei->addr + ei->size)
    ;
    last = addr + size;
    if ( last > ei->addr + ei->size )
    continue;

    The second statement in the while loop needs to be a b) outside it. It needs to read:

    while (bad_addr(&addr, size) && addr+size addr + ei->size)
    ;

    In the case that failed bad_addr was returning an address that is exactly size
    bellow the end of the e820 range.

    AK: Again together with the earlier avoid edma fix this fixes
    boot on a Dell PE6850/16GB

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

    Robert Hentosh
     
  • From: Daniel Yeisley

    It is possible to boot a Unisys ES7000 with CPUs from multiple cells, and not
    also include the memory from those cells. This can create a scenario where
    node 0 has cpus, but no associated memory. The system will boot fine in a
    configuration where node 0 has memory, but nodes 2 and 3 do not.

    [AK: I rechecked the code and generic code seems to indeed handle that already.
    Dan's original patch had a change for mm/slab.c that seems to be already in now.]

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

    Daniel Yeisley
     
  • From: "Jan Beulich"

    The PM timer code updates vxtime.last_tsc, but this update was done
    incorrectly in two ways:
    - offset_delay being in microseconds requires multiplying with cpu_mhz
    rather than cpu_khz
    - the multiplication of offset_delay and cpu_khz (both being 32-bit
    values) on most current CPUs would overflow (observed value of the
    delay was approximately 4000us, yielding an overflow for frequencies
    starting a little above 1GHz)

    Signed-off-by: Jan Beulich
    Signed-off-by: Andi Kleen
    Signed-off-by: Linus Torvalds

    Jan Beulich
     
  • From: "Jan Beulich"

    When using apic= on the kernel command line, this had no effect for machines
    matched by either the ACPI MADT or the MPS OEM table scan. However, when such
    option is specified, it should also take effect for this set of systems.

    Signed-off-by: Jan Beulich
    Signed-off-by: Andi Kleen
    Signed-off-by: Linus Torvalds

    Jan Beulich
     
  • Complaining about the IOMMU not compiled in doesn't make sense
    here because it is clearly compiled in.

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

    Andi Kleen
     
  • ia32_setup_arg_pages would ignore the passed in random stack top
    and use its own static value.

    Now it uses the 8bit of randomness native i386 would use too.

    This indirectly fixes mmap randomization for 32bit processes too,
    which depends on the stack randomization.

    Should also give slightly better virtual cache colouring and
    possibly better performance with HyperThreading.

    Signed-off-by: Andi Kleen
    Acked-by: Ingo Molnar
    Signed-off-by: Linus Torvalds

    Andi Kleen
     

29 May, 2006

1 commit

  • A typo crept in with commit ea1e847cc202e805769c3c46ba5e5c53714068a1
    which defined TI_LOCAL_FLAGS to be the offset of the `flags' field
    of struct thread_info, rather than the `local_flags' field. This
    fixes it. The typo was pointed out by Guennadi Liakhovetski.

    Signed-off-by: Paul Mackerras

    Paul Mackerras
     

28 May, 2006

1 commit


27 May, 2006

2 commits

  • For a very long time, echoing 'standby' or 'mem' into /sys/power/state has
    killed the machine on powerpc. This patch fixes that.

    This patch adds the .valid callback to pm_ops on PowerMac so that only the
    suspend to disk state can be entered. Note that just returning 0 would
    suffice since the upper layers don't pass PM_SUSPEND_DISK down, but we
    handle it there regardless just in case that changes.

    Acked-by: Benjamin Herrenschmidt
    Signed-off-by: Johannes Berg
    Cc:
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Johannes Berg
     
  • Signed-off-by: Jens Axboe
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jens Axboe
     

26 May, 2006

3 commits


24 May, 2006

5 commits


23 May, 2006

1 commit

  • Using asm-generic/dma-mapping.h does not work because pushing
    the call down to pci_alloc_coherent() causes the gfp_t argument
    of dma_alloc_coherent() to be ignored.

    Fix this by implementing things directly, and adding a gfp_t
    argument we can use in the internal call down to the PCI DMA
    implementation of pci_alloc_coherent().

    This fixes massive memory corruption when using the sound driver
    layer, which passes things like __GFP_COMP down into these
    routines and (correctly) expects that to work.

    Signed-off-by: David S. Miller

    David S. Miller
     

22 May, 2006

2 commits