1. 16 Jan, 2003 40 commits
    • Jeff Garzik's avatar
      [netdrvr tg3] Better interrupt masking · fd6905e5
      Jeff Garzik authored
      The bcm570x chips provide a register that disables (masks) or enables
      interrupts, and as a side effect, each write to this register regardless 
      of value clears various PCI and internal interrupt-pending flags.  This
      register, intr-mbox-0, provides a superset of the function provided
      by the mask-pci-int and clear-pci-int bits in the misc-host-ctrl register.
      
      Furthermore, the documentation clearly implies use of this register,
      as an indicator that the host [tg3 driver] is in its interrupt handler.
      
      The new tg3 logic, taking this knowledge into account, masks-and-clears
      irqs using intr-mbox-0 [only] when a hard irq is received, and
      unmasks-and-clears irqs at the end of tg3_poll after all NAPI events
      have been exhausted.
      
      The old logic twiddled the misc-host-ctrl irq masking bits separately
      from intr-mbox-0 bits, which was not only inconsistent but also
      a few additional I/Os that were not needed.
      fd6905e5
    • Jeff Garzik's avatar
      [netdrvr tg3] s/spin_lock/spin_lock_irqsave/ in tg3_poll and tg3_timer · f4c57464
      Jeff Garzik authored
      The tg3_timer one is very likely superfluous, and will hopefully be
      removed after extended testing.
      f4c57464
    • Scott Feldman's avatar
      [netdrvr e100] standardize nic-specific stats support · 791a0502
      Scott Feldman authored
      * Removed /proc/net/PRO_LAN_Adapters
      * Added ethtool GSTATS support
      791a0502
    • Scott Feldman's avatar
      201a2451
    • Scott Feldman's avatar
      [netdrvr e100] udelay a better way · 28382afc
      Scott Feldman authored
      * Bug Fix: TCO workaround after hard reset of controller to wait for TCO
        traffic to settle.  Workaround requires issuing a CU load base command
        after hard reset, followed by a wait for scb and finally a wait for
        TCO traffic bit to clear.  Affects 82559s and above wired to SMBus.
      28382afc
    • Linus Torvalds's avatar
      Linux v2.5.59 · 6a3354a9
      Linus Torvalds authored
      6a3354a9
    • Linus Torvalds's avatar
      Merge bk://bk.arm.linux.org.uk · 6a48e1ca
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      6a48e1ca
    • Russell King's avatar
      [ARM] Fix Integrator __virt_to_bus/__bus_to_virt · 5c157415
      Russell King authored
      __virt_to_bus/__bus_to_virt depended on INTEGRATOR_HDR0_SDRAM_BASE
      Unfortunately, this is defined in arch-integrator/platform.h, and
      we really don't want to include it in memory.h.
      
      We instead use BUS_OFFSET, which will eventually depend on the CPU
      number in the system.
      5c157415
    • Russell King's avatar
      [ARM/IDE] Fix BLK_DEV_IDEDMA setting on non-Acorn ARM systems · 4a78c70e
      Russell King authored
      Only default BLK_DEV_IDEDMA on BLK_DEV_IDEDMA_ICS if ARCH_ACORN is
      set, not if ARM is set.  There are PCI ARM systems out there!
      4a78c70e
    • Russell King's avatar
      [ARM] Fix failure paths in fd1772.c initialisation · 2b397cb5
      Russell King authored
      Ensure that we clean up properly after initialisation error,
      releasing all claimed resources in an orderly manner and
      returning the correct error code.
      2b397cb5
    • Russell King's avatar
    • Russell King's avatar
      321ea0c8
    • Russell King's avatar
      996e73ac
    • Russell King's avatar
      [ARM] Update acornfb for new fbcon layer. · e3608581
      Russell King authored
      e3608581
    • Russell King's avatar
      [ARM] Update sa1100fb · e1aada59
      Russell King authored
      Add cfbfillrect / cfbcopyarea / cfbimgblt objects for SA1100fb.
      Remove redundant "pm" member.
      e1aada59
    • Jeff Wiedemeier's avatar
      [PATCH] Fix marvel irq count computation. · 7f5ea7bc
      Jeff Wiedemeier authored
      Found a buglet in the marvel code -- doesn't change the number of IRQS
      just the logic to get there.. This applies on top of the other marvel
      code.
      
      /jeff
      7f5ea7bc
    • Richard Henderson's avatar
      Merge kanga.twiddle.net:/home/rth/linux/linus-2.5 · ca370702
      Richard Henderson authored
      into kanga.twiddle.net:/home/rth/linux/axp-2.5
      ca370702
    • Richard Henderson's avatar
    • Richard Henderson's avatar
      [ALPHA] Formatting cleanup, warning removal, move declarations · e62c31e2
      Richard Henderson authored
      to header files where they belong.
      e62c31e2
    • Richard Henderson's avatar
      [ALPHA] Fixups to Marvel and Titan for incomplete merging · 29a54be1
      Richard Henderson authored
      of AGP and SRMCONS patches.
      29a54be1
    • Richard Henderson's avatar
      [ALPHA] Marvel (AlphaServer ES47, ES80, GS1280) support. · f0bde625
      Richard Henderson authored
      From Jeff.Wiedemeier@hp.com.
      f0bde625
    • Richard Henderson's avatar
      [ALPHA] AGP infrastructure for AGP implemented in Alpha corelogic · c0b775bb
      Richard Henderson authored
      (Titan / Marvel), Kconfig and headers.
      
      From Jeff Wiedemeier.
      c0b775bb
    • Martin J. Bligh's avatar
      [PATCH] (3/3) NUMA rebalancer · 63ffe4d6
      Martin J. Bligh authored
      Patch from Erich Focht
      
      This adds a hook to rebalance globally across nodes every NODE_BALANCE_RATE
      iterations of the rebalancer. This allows us to easily tune on an architecture
      specific basis how often we wish to rebalance - machines with higher NUMA
      ratios (more expensive off-node access) will want to do this less often.
      It's currently set to 100 for NUMA-Q and 10 for other machines. If the
      imbalance between nodes is > 125%, we'll rebalance them. The hook for this
      is added to the NUMA definition of cpus_to_balance, so again, no impact
      on non-NUMA machines.
      63ffe4d6
    • Martin J. Bligh's avatar
      [PATCH] (2/3) Initial load balancing · f01419fd
      Martin J. Bligh authored
      Patch from Michael Hohnbaum
      
      This adds a hook, sched_balance_exec(), to the exec code, to make it
      place the exec'ed task on the least loaded queue. We have less state
      to move at exec time than fork time, so this is the cheapest point
      to cross-node migrate. Experience in Dynix/PTX and testing on Linux
      has confirmed that this is the cheapest time to move tasks between nodes.
      
      It also macro-wraps changes to nr_running, to allow us to keep track of
      per-node nr_running as well. Again, no impact on non-NUMA machines.
      f01419fd
    • Martin J. Bligh's avatar
      [PATCH] (1/3) Minimal NUMA scheduler · 5f24fe82
      Martin J. Bligh authored
      Patch from Martin J. Bligh
      
      This adds a small hook to the find_busiest_queue routine to allow us to
      specify a mask of which CPUs to search over. In the NUMA case, it will
      only balance inside the node (much cheaper to search, and stops tasks
      from bouncing across nodes, which is very costly). The cpus_to_balance
      routine is conditionally defined to ensure no impact to non-NUMA machines.
      
      This is a tiny NUMA scheduler, but it needs the assistance of the second
      and third patches in order to spread tasks across nodes.
      5f24fe82
    • Christoph Hellwig's avatar
      [PATCH] remove MOD_IN_USE · ca58c4b6
      Christoph Hellwig authored
      Another left-over from ancient module code, it was supposed to return
      non-zero if the module has a use count, but currently it always
      evaluates to 0.
      
      There are a few users of different types:
      (1)  ioctl that perform a while(MOD_IN_USE) MOD_DEC_USE_COUNT loop.
           Just rip them out, we now have forced module unloading.
      (2)  printk's that moan if the use-count in not zero in the exitfunc.
           Just rip them out, this can't happen.
      (3)  if(MOD_IN_USE) MOD_DEC_USE_COUNT constructs in ->close of a few
           serial drivers.  Just remove the conditional, we did a
           MOD_INC_USE_COUNT in ->open.
      (4)  This one is interesting:  drivers/sbus/char/display7seg.c uses
           the module use count to track openers.  Replace this with an
           atomic_t.
      
      In addition remove tons of stale comments in network driver that aren't
      understandable for anyone who doesn't know ancient Linux module semantics.
      ca58c4b6
    • Andi Kleen's avatar
      [PATCH] x86_64 update · cf34d923
      Andi Kleen authored
      x86-64 updates for 2.5.58. Changes only x86-64 specific files.
      
       - Rewrote module allocation. Lots of bugs fixed. Module loading
         should work now again.
       - Kconfig help fixes from Randy Dunlap
       - Makefile cleanups from Pavel Machek and Sam Ravnborg
       - Assembly cleanups from Pavel
       - defconfig update
       - Better strlen_user/strnlen_user
       - Merge with i386: new ptrace commands, 32bit vsyscall signal trampolines
      		new deactivate_mm, add asm/bug.h
       - Make sure initramfs is freed after booting (thanks to Kai for the hint)
       - User per cpu data for profile counters (Ravikiran Thirumalai)
       - 32bit compat_* updates from Stephen Rothwell
       - Fix race in context switch. The exception handler for bogus segment
         loads in __switch_to needs to keep interrupts disabled, otherwise an
         interrupt can deadlock on scheduler locks.  Also make sure they don't
         printk or set oops_in_progress during printk because printk does a
         wake_up too.
       - Disable 64bit GS base changes for processes.  I cannot get it to work
         reliably.
       - Clear IOPL on kernel entry
      cf34d923
    • Ivan Kokshaysky's avatar
      [PATCH] alpha smp callin · 1afaccae
      Ivan Kokshaysky authored
      From Jeff.Wiedemeier@hp.com:
      
      Add platform-specific callin for SMP.
      1afaccae
    • Ivan Kokshaysky's avatar
      [PATCH] alpha irq proc update · 7d0effa8
      Ivan Kokshaysky authored
      From Jeff.Wiedemeier@hp.com:
      
      - Only create smp_affinity /proc nodes if a set_affinity handler
        is provided.
      - Limit the number of irq nodes that will be created in /proc
        to avoid overfilling the /proc inode space.
      7d0effa8
    • Richard Henderson's avatar
      [ALPHA] Use direct calls to titan_ioremap/unmap when building · 7d3c579c
      Richard Henderson authored
      a titan specific kernel.
      7d3c579c
    • Linus Torvalds's avatar
      Merge http://linux-voyager.bkbits.net/eisa-sysfs-2.5 · 188db2b9
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      188db2b9
    • Marc Zyngier's avatar
      EISA sysfs AIP update · eb420b6f
      Marc Zyngier authored
      Without it, unloading a module
      leads to some unpleasant oops...
      eb420b6f
    • Marc Zyngier's avatar
      5417f5ea
    • Marc Zyngier's avatar
      EISA naming database · 1416b996
      Marc Zyngier authored
      Please note that the naming DB is now completely optional. If there is
      no eisa.ids in the drivers/eisa/ directory, build will behave as if
      CONFIG_EISA_NAMES is disabled. So this patch can be left out if there
      is any objection.
      1416b996
    • Marc Zyngier's avatar
      sysfs EISA support · fc9739df
      Marc Zyngier authored
      Base patch adding sysfs support for the EISA bus
      fc9739df
    • Ivan Kokshaysky's avatar
      [PATCH] alpha titan update · 0094874f
      Ivan Kokshaysky authored
      From Jeff.Wiedemeier@hp.com:
      
      Update titan system support include AlphaServer DS25, AGP,
      enhanced machine check handling.
      0094874f
    • Ivan Kokshaysky's avatar
      [PATCH] alpha_remap_area_pages · 44a2f54b
      Ivan Kokshaysky authored
      From Jeff.Wiedemeier@hp.com:
      
      Add arch/alpha/mm/remap.c (__alpha_remap_area_pages).
      44a2f54b
    • Ivan Kokshaysky's avatar
      [PATCH] alpha PCI setup update · 8a4b6958
      Ivan Kokshaysky authored
      Until now, we were configuring all PCI resources from scratch.
      This patch allows to use unchanged PCI setup on platforms
      where the firmware does it reasonably well (titan and marvel).
      
      [The patch to setup-bus.c that removes "FIXME" from here (ie makes
      pci_assign_unassigned_resources to match its name) exists at least
      for two months, but I've yet to convince Linus that it does the
      right thing...]
      
      Ivan.
      8a4b6958
    • Christoph Hellwig's avatar
      [PATCH] remove GET_USE_COUNT · 91f5fe70
      Christoph Hellwig authored
      This is a left-over from the old modules code, Rusty stubbed it out
      to always return 0.  Three scsi pcmcia driver check it for beeing non-NULL,
      trying to work around their unload races.  I've added #warnings there
      and stubbed out the GET_USE_COUNT so we can remove it from the core.
      91f5fe70
    • Christoph Hellwig's avatar
      [PATCH] fix signed/unsigned issue in SGI partitioning code · 76540ee0
      Christoph Hellwig authored
      The Linux code for SGI partitions uses an int instead of an unsigned int
      in the ondisk structure in two places, which breaks > TB partitions.
      
      While porting the code over from an internal 2.4-based tree I've also
      switched it to use the explicit uXX/sXX types everywhere and moved the
      struct defintions above sgi_partition().
      76540ee0