- 09 Mar, 2004 30 commits
-
-
Jens Axboe authored
From Mike Christie <michaelc@cs.wisc.edu> The first three bio and request flags are no longer identical. The bio barrier and rw flags are getting set in __make_request and get_request respectively, and failfast is getting left out. This sets the request's failfast flag in __make_request when the bio's flag is set.
-
Anton Blanchard authored
The ppc64 fix last week (enforcing permissions on the kernel when accessing userspace pages) uncovered a bug on POWER3/RS64. We werent zeroing the segment table entry before overwriting it and it was possible for the ks bit to be set on a kernel segment. The VSID mask was also changed to match reality (we only use 13 bits).
-
-
Richard Henderson authored
-
Benjamin Herrenschmidt authored
This patch reworks the early boot calls to OF to initialize displays. All present displays are now initialized in reverse order so the OF console stays on the first one. Initializing them all is necessary for dual head configurations as we need OF driver to properly setup the secondary TMDS of the video card, XFree isn't able to do that currently
-
Benjamin Herrenschmidt authored
The assembly code used to callback into Open Firmware client interface in 32 bits mode used to backup the stack pointer in the SPRG2 register. That upsets Apple's implementation of Open Firmware significantly and maybe others, causing them to crash in _some_ operations, apparently the trigger is to cause a segment or hash table fault, typically happens when letting that code initialize the second display. This patch fixes it, along with other cleanups of that asm code, it did unnecessary register restores and backing up the stack pointer is actually useless anyway.
-
Benjamin Herrenschmidt authored
Strangely, I though I fixed that a long time ago, but it was still broken in the current tree... Drivers like radeonfb fail to find the OF device matching a given PCI device on the G5 AGP bus because of some bus renumbering tricks. This patch fixes the problem by fixing the bus numbers in the OF node. This corrects radeonfb and other drivers looking for EDID / PLL datas in the OF node.
-
bk://kernel.bkbits.net/davem/net-2.6Linus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.5/linux
-
Linus Torvalds authored
Especially with REGPARM these things actually matter.
-
Linus Torvalds authored
-
Benjamin Herrenschmidt authored
This fixes possible lockups in pmac_zilog when beeing flooded with incoming data (not that other serial drivers share the same race, I told Russel about it already). It also fixes some SCC initialization problems, add some PM callback, and fix the irda setup code.
-
Benjamin Herrenschmidt authored
This does cosmetic changes the pmac_zilog, changing the use of "up" as an identifier in favor "uap" to avoid collision with semaphores, use proper debug macros, and a few other cosmetic bits.
-
Andrew Morton authored
From Jan-Benedict Glaw <jbglaw@lug-owl.de>
-
Olaf Kirch authored
-
Krishna Kumar authored
-
Jean Tourrilhes authored
Original patch from Stephen Hemminger Move last bits of code out of irsyms and onto irmod.c where initialization happens. Move irda_debug parameter out of irsyms.c into irmod.c and make it a new style module parameter.
-
Stephen Hemminger authored
-
Stephen Hemminger authored
-
Stephen Hemminger authored
irda_device_setup can now be static, only called from alloc_irdadev.
-
Stephen Hemminger authored
-
Stephen Hemminger authored
-
Stephen Hemminger authored
Also, make type __u16 rather than unsigned short to match input parameter.
-
Stephen Hemminger authored
-
Stephen Hemminger authored
Also, make get_{saddr,daddr} inline and rename lmp_reasons to irlmp_reasons.
-
Stephen Hemminger authored
-
Stephen Hemminger authored
-
Stephen Hemminger authored
-
Jean Tourrilhes authored
-
Stephen Hemminger authored
-
Dave Jones authored
This got fixed in 2.4, but somehow got missed in 2.6.
-
- 08 Mar, 2004 10 commits
-
-
Richard Henderson authored
-
Rusty Russell authored
This is a cleaner fix for the previous bogon fix.
-
Linus Torvalds authored
-
Rusty Russell authored
- Move free_block prototype, and ac_entry and ac_data functions up in file. - Use list_for_each_entry in cpuup_callback. - Remove unneccessary g_cpucache_up in cpuup_callback. - Make reap_timer_func take CPU number as data, and check if that is offline before rescheduing (noop without CONFIG_HOTPLUG_CPU).
-
Rusty Russell authored
Levent Serinol <levent.serinol@mynet.com> found that the hotplug cpu patch broke Sparc64. I introduced a num_possible_cpus(), which Sparc64 already has. Remove the Sparc64 one. I also removed Sparc64's cpu_online() macro: it's in linux/cpumask.h already.
-
Rusty Russell authored
Note that without CONFIG_HOTPLUG_CPU, online cpus == possible cpus, so substitutions are a noop. - Changes show_stat to print out stats for every possible cpu, not just online CPUs. - Allocate mem in stat_open on possible, not online_cpus. - Add conventient macros to cpu.h: especially cpu_is_offline() for testing if a cpu is still online. - Add a num_possible_cpus() similar to num_online_cpus(), and define cpu_possible_mask for UP. - Allow printk on down cpus once system is running. - Mask cpumask with possible, not online cpus, for sys_getaffinity().
-
Rusty Russell authored
Extracts core of drain_pages() for hotcpu use. Trivial. Hotplug CPU needs to drain pages on a downed CPU (usually it's the current cpu). Introduce "__drain_pages", make the CPU an argument, and expose it if CONFIG_HOTPLUG_CPU as well as CONFIG_PM.
-
bk://kernel.bkbits.net/jgarzik/via-crypto-2.5Linus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.5/linux
-
Jeff Garzik authored
into redhat.com:/spare/repo/via-crypto-2.5
-
bk://gkernel.bkbits.net/libata-2.5Linus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.5/linux
-