1. 29 Dec, 2002 1 commit
  2. 28 Dec, 2002 6 commits
    • Russell King's avatar
      [ARM] Fix up {__,}put_user macros · 235944be
      Russell King authored
      - Make them work on 64-bit quantities
      - clean up use of local pointers to prevent multiple references
        to the pointer (which may have side effects.)
      
      Note that this causes __put_user to produce a warning each time
      a pointer is passed as the first argument, since the 64-bit
      implementation tries to cast a 32-bit pointer to a 64-bit long.
      
      The fix for this warning waiting for comments from the GCC
      community.
      235944be
    • Russell King's avatar
      3e393f8f
    • Russell King's avatar
      [ARM] Add restart block infrastructure · a19b3e7a
      Russell King authored
      Add the necessary infrastructure to handle restartable syscalls via
      the restart_block method.  This isn't perfect, since we are unable
      to modify the syscall number with ARM executables (it's typically
      encoded into the instruction in the text segment) so instead we
      build some code on the user space stack.
      
      There is a potential problem - what happens if we are sleeping,
      someone suspends us, resume (we continue to sleep via the restart
      block method) suspend and then resume again?  We will build two
      sets of restart code on the user stack.  This is probably a little
      inefficient, but it should be harmless.
      a19b3e7a
    • Russell King's avatar
      8284034a
    • Russell King's avatar
      [ARM] Fix child-structure named initialisers. · 8ef88d84
      Russell King authored
      Tricks like struct foo foo = { .bar.baz = 5, }; don't work.  We must
      initialise child-structure members within their own block - ie,
      struct foo foo = { .bar = { .baz = 5, }, };
      8ef88d84
    • Russell King's avatar
      [ARM] Fix up location of Acorn font file · ef591ba4
      Russell King authored
      The Acorn font file is used by the decompressor on some machines.
      It moved location recently - so this cset fixes up the reference
      to it.
      ef591ba4
  3. 26 Dec, 2002 2 commits
  4. 24 Dec, 2002 3 commits
  5. 23 Dec, 2002 21 commits
    • Linus Torvalds's avatar
      Linux v2.5.53 · 5e32ae7e
      Linus Torvalds authored
      5e32ae7e
    • Linus Torvalds's avatar
    • Linus Torvalds's avatar
      Merge bk://linux-scsi.bkbits.net/scsi-for-linus-2.5 · c4e3c771
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      c4e3c771
    • Linus Torvalds's avatar
      Merge bk://kernel.bkbits.net/davem/net-2.5 · a27aaaf7
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      a27aaaf7
    • Linus Torvalds's avatar
      Fix sysenter restart backwards jump, add offset comments, · 33615dd1
      Linus Torvalds authored
      and make the alignment of the return point 
      be saner.
      33615dd1
    • James Bottomley's avatar
      Merge ssh://mulgrave-w/BK/scsi-misc-2.5 · 91076e50
      James Bottomley authored
      into raven.il.steeleye.com:/home/jejb/BK/scsi-for-linus-2.5
      91076e50
    • James Bottomley's avatar
      Merge http://linux-scsi.bkbits.net/scsi-aic7xxx-2.5 · 9273e16f
      James Bottomley authored
      into raven.il.steeleye.com:/home/jejb/BK/scsi-for-linus-2.5
      9273e16f
    • Willem Riede's avatar
      ide-scsi changes for new mid level api and error handling in 2.5.52 · d55b3076
      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.
      d55b3076
    • James Bottomley's avatar
      7ee75762
    • Douglas Gilbert's avatar
      [PATCH] scsi_debug version 1.67 for lk 2.5.52 · 81513c82
      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.
      81513c82
    • James Bottomley's avatar
      be388a51
    • Christoph Hellwig's avatar
      [PATCH] Re: scsi_scan.c complaints... · b7ccbd3e
      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(-)
      b7ccbd3e
    • James Bottomley's avatar
      77ea1aeb
    • Martin J. Bligh's avatar
      [PATCH] more clustered-apic-mode work · 6c39ac1f
      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()
      6c39ac1f
    • Martin J. Bligh's avatar
      [PATCH] clustered IPI cleanups · 67382f14
      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.
      67382f14
    • Martin J. Bligh's avatar
      [PATCH] cleanup IPI code · 00047bcc
      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
      00047bcc
    • Martin J. Bligh's avatar
      [PATCH] mpparse cleanups · 37d1206a
      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.
      37d1206a
    • Martin J. Bligh's avatar
      [PATCH] abstract out mpparse code · 43f1c206
      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.
      43f1c206
    • Martin J. Bligh's avatar
      [PATCH] abstract out clustered APIC code · df0e5a8f
      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).
      df0e5a8f
    • Martin J. Bligh's avatar
      [PATCH] NUMA-Q subarch directory · 172a3ef7
      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.
      172a3ef7
    • Martin J. Bligh's avatar
      [PATCH] x86 subarch header files · 47a62db5
      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.
      47a62db5
  6. 22 Dec, 2002 7 commits