- 26 Dec, 2002 2 commits
-
-
Pavel Machek authored
-
Linus Torvalds authored
as "offsetof pp->entries". Which happens to be true on 32-bit platforms, but not on 64-bit ones. From Anton Blanchard.
-
- 24 Dec, 2002 3 commits
-
-
Ingo Molnar authored
In vm86 mode we did not save/restore %gs [and %fs] properly, which breaks new-style threading.
-
Linus Torvalds authored
on x86 - the kernel doesn't really care (as long as it's all flat 32-bit), and it means that the return path for sysenter/sysexit can avoid re-loading the segment registers. NOTE! This means that _all_ kernel code (not just the sysenter path) must be appropriately changed, since the kernel knows the conventions and doesn't save/restore DS/ES internally on context switches etc.
-
Linus Torvalds authored
-
- 23 Dec, 2002 21 commits
-
-
Linus Torvalds authored
-
Linus Torvalds authored
-
bk://linux-scsi.bkbits.net/scsi-for-linus-2.5Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
bk://kernel.bkbits.net/davem/net-2.5Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Linus Torvalds authored
and make the alignment of the return point be saner.
-
ssh://mulgrave-w/BK/scsi-misc-2.5James Bottomley authored
into raven.il.steeleye.com:/home/jejb/BK/scsi-for-linus-2.5
-
http://linux-scsi.bkbits.net/scsi-aic7xxx-2.5James Bottomley authored
into raven.il.steeleye.com:/home/jejb/BK/scsi-for-linus-2.5
-
Willem Riede authored
Here is my proposal for bringing ide-scsi in line with the current kernel. The attached patch does: 1. Change from old style initialization to the new hotplug initialization model. It involves declaring both a parent device and bus kernel object, which feels a bit awkward, but hey, it works. 2. Make ide-scsi request sense itself when CHECK_CONDITION is asserted. This change particularly makes ide-scsi run much smoother on my test box. 3. Implement eh_abort_handler and eh_device_reset_handler. I have no real way to thoroughly test these new routines, so for this part particularly I ask for peer review.
-
James Bottomley authored
-
Douglas Gilbert authored
This patch uses the module_param() facility introduced in lk 2.5.52 (see linux/moduleparam.h) to simplify boot time and module load time parameters for the scsi_debug driver. The intent of module_param() is to unify - boot time parameters - module load time parameters - sysfs driver parameters into a few simple calls (seen from the driver's point of view). The sysfs capability hasn't been implemented yet. Using module_param() removes over 100 lines of boilerplate code from the scsi_debug driver. Following the conventions suggested by Rusty, scsi_debug's kernel boot time options have been changed to this form: scsi_debug.num_devs=2 while the module load options are now like this: modprobe scsi_debug num_devs=2 This patch also updates the Kconfig entry for the scsi_debug driver.
-
James Bottomley authored
-
Christoph Hellwig authored
On Fri, Dec 20, 2002 at 08:29:23PM -0500, Doug Ledford wrote: > And I was right. One little q = NULL; is all that was missing. Anyway, > here's a printout of what startup looks like with this patch in place > under 2.5.52. This should make you happy Justin ;-) Okay, I looked at the patches that are in mainline and they look pretty cool to me. When looking over the code (in preparation of implementing Justin's suggestion to get rid of the highmem_io flag) I found quite a bit small stuff to make the code in that area a lot cleaner: - new helper scsi_calculate_bounce_limit to calculate the bounce limit for a scsi host, remove a copy of that code ni st.c - scsi_initialize_queue gets replace with scsi_alloc_queue, this one now takes only a struct Scsi_Host and returns the request queue, it's paired with a small scsi_free_queue helper. Diffstat: hosts.h | 3 - scsi.c | 43 ---------------------- scsi.h | 1 scsi_scan.c | 113 ++++++++++++++++++++++++++++++++++-------------------------- scsi_syms.c | 5 ++ st.c | 16 +------- 6 files changed, 73 insertions(+), 108 deletions(-)
-
James Bottomley authored
-
Martin J. Bligh authored
Code mostly originally by James Cleverdon. Abstracts out more clustered_apic_mode gunk into - ioapic_phys_id_map() - wakeup_secondary_cpu() - setup_portio_remap()
-
Martin J. Bligh authored
This one fixes up the IPI code to do something more sensible. Sorry, was just too ugly to leave it alone ... but I did keep it seperated out ;-) Though this is not an equivalent transform it will only affect NUMA-Q & summit - same op twice because some twit just split it out in the last patch for both NUMA-Q & Summit. Because clustered apic logical mode can't do arbitrary broadcasts of addressing (it's not just a bitmap), I have to do send IPI instructions as a sequence of unicasts. However, there's already a loop in the generic send_IPI_mask code to do that ... there's no need to call send_IPI_mask once for each CPU. The comment I wrote at the time even noted that this was silly.
-
Martin J. Bligh authored
Reformat the IPI stuff, specifically send_IPI_mask, send_IPI_allbutself, and send_IPI_all. Though the way they work is pretty silly for NUMA-Q, I do an equivalent transform here, and fix the code in a seperate patch (next one). Goes into mach_ipi.h
-
Martin J. Bligh authored
Most of code originally by James Cleverdon. More stuff reformed in the mpparse sections - this time not apic stuff, so we create mach_mpparse.h and stick it in there. Abstracts out: - mpc_oem_bus_info() - stores mappings between buses and nodes/quads. - mpc_oem_pci_bus() - stores mappings between global and local pci bus numbers Changes summit_check() into mps_oem_check() to generalise it.
-
Martin J. Bligh authored
Most of code originally by James Cleverdon. Abstracts out code from the mpparse stuff into: - mpc_apic_id() - apicid_to_cpu_present() instead of using clustered_apic_mode switching.
-
Martin J. Bligh authored
Code originally by James Cleverdon. This abstracts out some sections that were switched by clustered_apic_mode into the following functions: - apic_id_registered() - init_apic_ldr() - multi_timer_check() Changes the return check in balance_irq from testing clustered_apic_mode to testing "no_balance_irq" to be more general. The removal of: entry.dest.logical.logical_dest = TARGET_CPUS; is because it's a duplicate (we do it twice in the same function for no reason).
-
Martin J. Bligh authored
This adds a shell of a NUMA-Q subarch directory, and copies mach-default/mach_apic.h into it. I then edited the default version to remove the NUMA-Q stuff, and the NUMA-Q version to remove the default stuff.
-
Martin J. Bligh authored
Patch from John Stultz. This reorganises the subarch files to put all the headers under the include dir, instead of mixing them up with the C files. The only interesting part is the top section where he makes it fall back from the subarch dir to the default dir if there's no .h file under the subarch dir. This means we can create multiple subarches without copying every single file that any subarch wants into all the directories. And is much tidier, IMHO.
-
- 22 Dec, 2002 14 commits
-
-
ssh://nuts.ninka.net//home/davem/src/BK/net-2.5David S. Miller authored
into kernel.bkbits.net:/home/davem/net-2.5
-
Patrick McHardy authored
-
Dipankar Sarma authored
-
Michal Ostrowski authored
-
Anders Gustafsson authored
-
David S. Miller authored
into nuts.ninka.net:/home/davem/src/BK/net-2.5
-
David S. Miller authored
into nuts.ninka.net:/home/davem/src/BK/net-2.5
-
http://linux-lksctp.bkbits.net/lksctp-2.5David S. Miller authored
into nuts.ninka.net:/home/davem/src/BK/sctp-2.5
-
Linus Torvalds authored
the fast case with a pushf/popf, by having the kernel debug trap set the TIF_SINGLESTEP flag and causing the return path to dtrt.
-
Manfred Spraul authored
boot_cpu_data should contain the common capabilities of all cpus in the system. identify_cpu [arch/i386/kernel/cpu/common.c] tries to enforce that. But right now, the SMP trampoline code [arch/i386/kernel/head.S] overwrites boot_cpu_data when the secondary cpus are started, i.e. boot_cpu_data contains the capabilities from the last cpu that booted :-( The attached patch adds a new, __initdata variable for the asm code.
-
Rusty Russell authored
Restore the accidentally dropped code to handle "init=xxx"
-
Andi Kleen authored
This fixes a hang in change_page_attr() that occured with mem=nopentium. Make sure a non large page kernel mapping is handled correctly. Previously the page reference counter was handled incorrectly in this case. Also hardens change_page_attr against bogus addresses. You get an EINVAL now.
-
Andi Kleen authored
"mem=nopentium" would clear the PSE bit in boot_cpu_data, but the CPU detection later would overwrite it again from CPUID. The large pages would be correctly disabled, but cpu_has_pse was lying. This patch makes sure it stays clear when the option is given. I also took the liberty to remove these obnoxious cpu capability printks who give no use information (the data can be either gotten from CPUID in user space in raw form or from /proc/cpuinfo processed)
-
Manfred Spraul authored
According to Intel's recommendation, 'rep;nop; should be called before testing if the lock variable was modified (i.e. rep nop;cmp;jcc). The current implementation does it the wrong way around: first test, then wait, then branch. I've asked Asit Mallik from Intel, and he recommended to change it. It should be at least consistent: Right now, spinlock uses 'cmp;rep nop;jcc', rwlock uses 'rep nop;cmp;jcc'
-