27 May, 2005

2 commits

  • Even after the previous fix you can still set CONFIG_ACPI_BOOT
    indirectly even without CONFIG_ACPI by choosing CONFIG_PCI and
    CONFIG_PCI_MMCONFIG.

    That doesn't build very well either.

    This makes PCI_MMCONFIG depend on ACPI, fixing that hole.

    [ I guess in theory Kconfig could follow the whole chain of dependencies
    for things that get selected, but that sounds insanely complicated, so
    we'll just fix up these things by hand. --Linus ]

    Signed-off-by: Alexander Nyberg
    Signed-off-by: Linus Torvalds

    Alexander Nyberg
     
  • Delete quirk_via_bridge(), restore quirk_via_irqpic() -- but now
    improved to be invoked upon device ENABLE, and now only for VIA devices
    -- not all devices behind VIA bridges.

    Signed-off-by: Bjorn Helgaas
    Signed-off-by: Len Brown
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Len Brown
     

26 May, 2005

5 commits


25 May, 2005

1 commit

  • This patch fixes a compile bug by moving a static inline function to the
    right place. The body of a static inline function has to be declared
    before the use of this function.

    Signed-off-by: Dominik Hackl
    Cc: James Bottomley
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Dominik Hackl
     

24 May, 2005

3 commits

  • Older UltraSPARC-III chips have a P-Cache bug that makes us disable it
    by default at boot time.

    However, this does hurt performance substantially, particularly with
    memcpy(), and the bug is _incredibly_ obscure. I have never seen it
    triggered in practice, ever.

    So provide a "-P" boot option that forces the P-Cache on. It taints
    the kernel, so if it does trigger and cause some data corruption or
    OOPS, we will find out in the logs that this option was on when it
    happened.

    Signed-off-by: David S. Miller

    David S. Miller
     
  • The hardware sync of the timebase on SMP G5s uses a black magic
    incantation to the i2c clock chip that was inspired from what Darwin
    does.

    However, this was an earlier version of Darwin that was ... buggy !
    heh. This causes the latest models to break though when starting SMP,
    so it's worth fixing.

    Here's a new version of the incantation based on careful transcription
    of the said incantations as found in the latest version of apple's
    temple.

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

    Benjamin Herrenschmidt
     
  • There is an off-by-one error in the IPIC code that configures the
    external interrupts (Edge or Level Sensitive).

    Signed-off-by: Randy Vinson
    Signed-off-by: Kumar Gala
    Signed-off-by: Linus Torvalds

    Kumar Gala
     

23 May, 2005

1 commit

  • The latest speedbumped Apple G5 models have a "bug" in the Open Firmware
    device tree that lacks the proper interrupt routing information for the
    northbridge i2c controller. Apple's driver silently falls back into a
    sub-optimal "polled" mode (heh, maybe they didn't even notice the bug
    because of that :), our driver didn't properly check and crashes :(

    This patch fixes our driver to not crash, and adds code to the
    prom_init() OF trampoline code that detects the "bug" and adds the
    missing information back for this chipset revision. This fixes booting
    and thermal control on these models.

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

    Benjamin Herrenschmidt
     

21 May, 2005

20 commits

  • Needed for the powernow k8 driver for dual core support.

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

    Andi Kleen
     
  • This works around the too fast timer seen on some ATI boards.

    I don't feel confident enough about it yet to enable it by default, but give
    users the option.

    Patch and debugging from Christopher Allen Wing , with
    minor tweaks (renamed the option and documented it)

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

    Andi Kleen
     
  • The test case at
    http://cvs.sourceforge.net/viewcvs.py/posixtest/posixtestsuite/conforman
    ce/interfaces/clock_nanosleep/1-5.c fails if it runs as a 32bit process on
    x86_86 machines.

    The root cause is the sub 32bit process fails to restart the syscall after it
    is interrupted by a signal.

    The syscall number of sys_restart_syscall in table sys_call_table is
    __NR_restart_syscall (219) while it's __NR_ia32_restart_syscall
    (0) in ia32_sys_call_table. When regs->rax==(unsigned
    long)-ERESTART_RESTARTBLOCK, function do_signal doesn't distinguish if
    the process is 64bit or 32bit, and always sets restart syscall number
    as __NR_restart_syscall (219).

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

    Andi Kleen
     
  • We need to hold the vmlist_lock while doing change_page_attr, otherwise we
    could reset someone else's mapping.

    Requires previous patch to add __remove_vm_area

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

    Andi Kleen
     
  • Caused oopses again. Also fix potential mismatch in checking if
    change_page_attr was needed.

    To do it without races I needed to change mm/vmalloc.c to export a
    __remove_vm_area that does not take vmlist lock.

    Noticed by Terence Ripperda and based on a patch of his.

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

    Andi Kleen
     
  • There was a "off by one quad word" error in there. I don't think it is
    exploitable because it will only store into a unused area, but better to plug
    it.

    Found and fixed by John Blackwood

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

    Andi Kleen
     
  • - Remove duplicated ifdef
    - Make core_id match what Intel uses
    - Initialize phys_proc_id correctly for non DC case
    - Handle non power of two core numbers.

    Fixes for both i386 and x86-64

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

    Andi Kleen
     
  • This patch fixed CONFIG_TASK_SIZE handling on 44x. Currently head_44x.S
    hardcodes 0x80000000, which breaks if user chooses to change TASK_SIZE
    (e.g. for 3G user-space). Tested on Ocotea in 3G/1G configuration.

    Signed-off-by: Eugene Surovegin
    Signed-off-by: Matt Porter
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Matt Porter
     
  • Initialization of 8250 serial ports that are platform devices require that
    at empty entry exists in the array of plat_serial8250_port. With out an
    empty entry we can get some pretty random behavior.

    Signed-off-by: Kumar Gala
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Kumar Gala
     
  • From: Al Viro - we have error messages with KERN_ERR in them, so they
    should be printk-ed rather than printf-ed.

    Signed-off-by: Jeff Dike
    Cc:
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jeff Dike
     
  • From: Al Viro - add three-level page table support to fixrange_init.

    Signed-off-by: Jeff Dike
    Cc:
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jeff Dike
     
  • Finally rip out the ubd-mmap code, which turned out to be broken by design.

    Signed-off-by: Jeff Dike
    Cc:
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jeff Dike
     
  • The serial UML OS-abstraction layer patch (um/kernel dir).

    This moves all systemcalls from initrd_user.c file under os-Linux dir and join
    initrd_user.c and initrd_kern.c files in new file initrd.c

    Signed-off-by: Gennady Sharapov
    Signed-off-by: Jeff Dike
    Cc:
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jeff Dike
     
  • From: Oleg Drokin: This patch is needed to support kernel modules that want to
    use clear_user() (that is exported symbol on all other architectures).

    Signed-off-by: Jeff Dike
    Cc:
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jeff Dike
     
  • Byte-swapping of the port and IP address passed in to the multicast driver by
    the user used to happen in different places, which was a bug in itself. The
    port also was swapped before being printk-ed, which led to a misleading
    message. This patch moves the port swapping to the same place as the IP
    address swapping. It also cleans up the error paths of mcast_open.

    Signed-off-by: Jeff Dike
    Cc:
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jeff Dike
     
  • This patch cleans up the delay implementations a bit, makes the loops
    unoptimizable, and exports __udelay and __const_udelay.

    Signed-off-by: Jeff Dike
    Cc:
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jeff Dike
     
  • Any access to a PROT_NONE page should segfault the process. A JVM seems to do
    this on purpose. Also, Al noticed some bogus code, which is now deleted.

    Signed-off-by: Jeff Dike
    Cc:
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jeff Dike
     
  • Some changes that I sent in didn't make 2.6.12-rc4 for some reason. This
    adds them back. We have
    an x86_64 definition of TOP_ADDR
    a reimplementation of the x86_64 csum_partial_copy_from_user
    some syntax fixes in arch/um/kernel/ptrace.c
    removal of a CFLAGS definition in the x86_64 Makefile
    some include changes in the x86_64 ptrace.c and user-offsets.h
    a syntax fix in elf-x86_64.h
    Also moved an include in the i386 and x86_64 Makefiles to make the symlinks
    work, and some small fixes from Al Viro.

    Signed-off-by: Jeff Dike
    Cc:
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jeff Dike
     
  • Hopefully the addition of -E to my applypatch script
    will mean that I won't have these kinds of leftovers
    in the future.

    Linus Torvalds
     
  • The recent change to add a timeout to strbuf flushing had
    a negative performance impact. The udelay()'s are too long,
    and they were done in the wrong order wrt. the register read
    checks. Fix both, and things are happy again.

    There are more possible improvements in this area. In fact,
    PCI streaming buffer flushing seems to be part of the bottleneck
    in network receive performance on my SunBlade1000 box.

    Signed-off-by: David S. Miller

    David S. Miller
     

20 May, 2005

5 commits


18 May, 2005

2 commits


17 May, 2005

1 commit