21 Dec, 2005

11 commits

  • When a spinlock debugging check hits, we print the CPU number as an
    informational thing - but there is no guarantee that preemption is off
    at that point - hence we should use raw_smp_processor_id(). Otherwise
    DEBUG_PREEMPT will print a warning.

    With this fix the warning goes away and only the spinlock-debugging info
    is printed.

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

    Ingo Molnar
     
  • Now needs to include the type 1 functions ("direct") too.

    Reported by Pavel Roskin

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

    Andi Kleen
     
  • We must check for MAY_SATTR before setting acls, which includes checking
    for read-only exports: the lower-level setxattr operation that
    eventually sets the acl cannot check export-level restrictions.

    Bug reported by Martin Walter .

    Signed-off-by: Andreas Gruenbacher
    Acked-by: Trond Myklebust
    Signed-off-by: Linus Torvalds

    Andreas Gruenbacher
     
  • All the work was done to setup the file and maintain the file handles but
    the access functions were zeroed out due to the #ifdef. Removing the
    #ifdef allows full access to all the parameters when CONFIG_MODULES=n.

    akpm: put it back again, but use CONFIG_SYSFS instead.

    Signed-off-by: Jason Wessel
    Signed-off-by: Andrew Morton
    Signed-off-by: Adrian Bunk
    Signed-off-by: Linus Torvalds

    Jason Wessel
     
  • The overflow checking condition in lib/swiotlb.c was wrong.
    It would first run a NULL pointer through virt_to_phys before
    testing it. Since pci_map_sg overflow is not that uncommon
    and causes data corruption (including broken file systems) when not
    properly detected I think it's better to fix it in 2.6.15.

    This affects x86-64 and IA64.

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

    Andi Kleen
     
  • Whenever ywrap scrolling is selected together with 180 degree screen
    rotation, 2.6.15-rc6 and earlier versions are broken. fb_pan_display()
    expects non-negative yoffsets, but ud_update_start() calls it with
    yoffsets down to -(yres - font height). This patch transforms yoffset
    to the correct range 0 ... vyres-1.

    Some obviously unneeded parentheses are removed, too.

    Verified with cyblafb, should be applied before 2.6.15-final because it
    does fix the framebuffer rotation code introduced early in the 2.6.15
    release cycle.

    Signed-off-by: Knut Petersen
    Acked-by: Antonino Daplas
    Signed-off-by: Linus Torvalds

    Knut Petersen
     
  • Linus Torvalds
     
  • Linus Torvalds
     
  • Reported by: janis huang (Bugzilla Bug 5747)

    Fix on oops in intelfb. Not sure what's happening, looks like
    dinfo->name pointer is invalidated after initialization. Remove
    intelfb_get_fix, it's not needed and move the majority of the code to
    the initialization routine.

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

    Antonino A. Daplas
     
  • Fix intelfb trying to free a non-existent resource in its error path.

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

    Antonino A. Daplas
     
  • The g5 thermal control for liquid cooled machines has a small bug, when
    the temperatures gets too high, it boosts all fans to the max, but
    incorrectly sets the liquids pump to the min instead of the max speed,
    thus causing the overtemp condition not to clear and the machine to shut
    down after a while. This fixes it to set the pumps to max speed instead.
    This problem might explain some of the reports of random shutdowns that
    some g5 users have been reporting in the past.

    Many thanks to Marcus Rothe for spending a lot of time trying various
    patches & sending log logs before I found out that typo. Note that
    overtemp handling is still not perfect and the machine might still
    shutdown, that patch should reduce if not eliminate such occcurences in
    "normal" conditions with high load. I'll implement a better handling
    with proper slowing down of the CPUs later.

    Signed-off-by: Benjamin Herrenschmidt
    Signed-off-by: Linus Torvalds

    Benjamin Herrenschmidt
     

20 Dec, 2005

28 commits


19 Dec, 2005

1 commit