1. 21 Apr, 2003 31 commits
    • Andi Kleen's avatar
      [PATCH] Runtime memory barrier patching · 8aba0a3d
      Andi Kleen authored
      This implements automatic code patching of memory barriers based
      on the CPU capabilities. Normally lock ; addl $0,(%esp) barriers
      are used, but these are a bit slow on the Pentium 4.
      
      Linus proposed this a few weeks ago after the support for SSE1/SSE2
      barriers was introduced. I now got around to implement it.
      
      The main advantage is that it allows distributors to ship less binary
      kernels but still get fast kernels. In particular it avoids the
      need of a special Pentium 4 kernel.
      
      The patching code is quite generic and could be used to patch
      other instructions (like prefetches or specific other critical
      instructions) too.
      Thanks to Rusty's in kernel loader it also works seamlessly for modules.
      
      The patching is done before other CPUs start to avoid potential
      erratas with self modifying code on SMP systems. It makes no
      attempt to automatically handle assymetric systems (an secondary
      CPU having less capabilities than the boot CPU). In this
      case just boot with "noreplacement"
      8aba0a3d
    • Andrew Morton's avatar
      [PATCH] More careful about VMA merging · 5a49258a
      Andrew Morton authored
      The VMA merging code can merge vmas which have a ->vm_ops->close() handler.
      But this means that per-VMA resources in one of the merged VMAs will not be
      freed.
      
      Fix that up by just refusing to merge any VMA's which look "complex": they
      have special flags set or they have a ->close handler.
      5a49258a
    • Linus Torvalds's avatar
      Merge home:v2.5/linux · 1bb563db
      Linus Torvalds authored
      into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
      1bb563db
    • Robert Love's avatar
      [PATCH] trivial task_prio() fix · 7957f703
      Robert Love authored
      Here is a trivial fix for task_prio() in the case MAX_RT_PRIO !=
      MAX_USER_RT_PRIO.  In this case, all priorities are skewed by
      (MAX_RT_PRIO - MAX_USER_RT_PRIO).
      
      The fix is to subtract the full MAX_RT_PRIO value from p->prio, not just
      MAX_USER_RT_PRIO.  This makes sense, as the full priority range is
      unrelated to the maximum user value.  Only the real maximum RT value
      matters.
      
      This has been in Andrew's tree for awhile, with no issue.  Also, Ingo
      acked it.
      7957f703
    • Linus Torvalds's avatar
      Allow gcc to generate better code for irq handling. · f6d9330e
      Linus Torvalds authored
      Ok, now that most drivers have been converted to the new
      irqreturn_t, we can remove the fascist type-checks and just
      use a regular integer type which has a simpler calling
      convention.
      f6d9330e
    • Paul Fulghum's avatar
      [PATCH] n_hdlc update · 778c87e7
      Paul Fulghum authored
      With suggestions from Chritoph Hellwig
      
      - Remove MODULE_USE_COUNT macros
      - Add owner member to struct tty_ldisc
      - Init tty_ldisc at compile time
      - make some functions static
      778c87e7
    • Paul Fulghum's avatar
      [PATCH] synclink_cs update · acad5f8f
      Paul Fulghum authored
      - Remove MODULE_USE_COUNT macros
      - Add owner member
      - Add tiocmget/tiocmset tty callbacks
      acad5f8f
    • Paul Fulghum's avatar
      [PATCH] synclinkmp update · 4e4ab5fe
      Paul Fulghum authored
      - Remove MODULE_USE_COUNT macros
      - Add owner member
      - Add tiocmget/tiocmset tty callbacks
      4e4ab5fe
    • Paul Fulghum's avatar
      [PATCH] synclink update · 5cd8de08
      Paul Fulghum authored
      - Remove MODULE_USE_COUNT macros
      - Add owner member
      - Add tiocmget/tiocmset tty callbacks
      5cd8de08
    • Ben Collins's avatar
      [PATCH] 1394 updates · 719b6399
      Ben Collins authored
      - New irq handler prototypes.
      - Lots of un-enumurated locking fixes/cleanups (thanks in large part to
        spinlock debug compile options in the kernel).
      - Other various trivial fixes.
      719b6399
    • Linus Torvalds's avatar
      Return IRQ_NONE for ieee1394 driver when the interrupt was for · 4f4b8e8c
      Linus Torvalds authored
      somebody else.
      4f4b8e8c
    • Marc Zyngier's avatar
      [PATCH] Convert Alpha to the new 2.5 IRQ API · bd133af1
      Marc Zyngier authored
      This converts the Alpha architecture to the new IRQ API.  Tested on
      Jensen.
      bd133af1
    • Jeff Garzik's avatar
      adafb8dc
    • Linus Torvalds's avatar
      Merge bk://kernel.bkbits.net/jgarzik/net-drivers-2.5 · f89168fe
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      f89168fe
    • Linus Torvalds's avatar
    • Andrew Morton's avatar
      [PATCH] irqs: hotplug drivers · c0177fe9
      Andrew Morton authored
      Update hotplug and pcmcia drivers to the new IRQ API.
      c0177fe9
    • Andrew Morton's avatar
      [PATCH] irqs: input drivers · 4d74063e
      Andrew Morton authored
      Update the input and joystick drivers to the new IRQ API.
      4d74063e
    • Andrew Morton's avatar
      [PATCH] irqs: ISDN · 2efd7260
      Andrew Morton authored
      Update ISDN for the new IRQ API.
      2efd7260
    • Andrew Morton's avatar
      [PATCH] irqs: IRDA · a37352e1
      Andrew Morton authored
      Update the IRDA drivers to the new IRQ API.
      a37352e1
    • Andrew Morton's avatar
      [PATCH] ax25 build fix · ad9745b4
      Andrew Morton authored
      spin_lock() does not take a spinlock_t**
      ad9745b4
    • Andrew Morton's avatar
      [PATCH] parport_serial fix · ae19bc78
      Andrew Morton authored
      parport_serial is calling a couple of 8250 driver functions with no prototypes
      in scope.
      
      Turns out it was calling them with too many args, too.
      ae19bc78
    • Andrew Morton's avatar
      [PATCH] irqs: 1394 · 8d509777
      Andrew Morton authored
      Update 1394 to the new IRQ API
      8d509777
    • Andrew Morton's avatar
      [PATCH] irqs: video drivers · 5396585d
      Andrew Morton authored
      Update video drivers to the new IRQ API.
      
      Almost none of them compile, so it was done on-spec.
      5396585d
    • Andrew Morton's avatar
      [PATCH] irqs: multimedia drivers · 390e4a17
      Andrew Morton authored
      Update a couple of media drivers to the new IRQ API.
      
      Some stuff in there doesn't link btw:
      
      drivers/built-in.o: In function `rds_waitread':
      drivers/built-in.o(.text+0x6c152): undefined reference to `aci_port'
      drivers/built-in.o: In function `rds_rawwrite':
      drivers/built-in.o(.text+0x6c1a3): undefined reference to `aci_port'
      390e4a17
    • Andrew Morton's avatar
      [PATCH] irqs: various char drivers · 421dfa0e
      Andrew Morton authored
      Fix up a bunch of char drivers for the new IRQ API.
      421dfa0e
    • Andrew Morton's avatar
      [PATCH] irqs: watchdog drivers · 43bb7692
      Andrew Morton authored
      Update the watchdog drivers to the new IRQ API.
      
      Also, give a couple of irq handlers static scope.
      43bb7692
    • Andrew Morton's avatar
      [PATCH] irqs: ipmi driver · c542ad7c
      Andrew Morton authored
      Update the ipmi driver to the new IRQ API
      c542ad7c
    • Andrew Morton's avatar
      [PATCH] irqs in sound/ · 0246417d
      Andrew Morton authored
      Updates all sound drivers to the new IRQ API.
      
      The patch also fixes
      
      - a return-with-lock-held
      
      - a bunch of warnings and 64-bit bugs (CPU flags must be held in an
        unsigned long)
      
      - jiffies must use unsigned longs
      
      - two functions returning uninitialised values
      0246417d
    • Andrew Morton's avatar
      [PATCH] irqs: rtc · e7298bfd
      Andrew Morton authored
      update rtc driver to new IRQ API
      e7298bfd
    • Andrew Morton's avatar
      [PATCH] irqs: sym2 · 99bc8497
      Andrew Morton authored
      update sym2 for new IRQ API
      99bc8497
    • Andrew Morton's avatar
      [PATCH] irqs: drivers/block · bd7e7469
      Andrew Morton authored
      update drivers/block for new IRQ API.
      bd7e7469
  2. 20 Apr, 2003 9 commits
    • Jeff Garzik's avatar
      net driver cleanup, volume 6 · b6b44ebf
      Jeff Garzik authored
      Affected drivers: atp, de600, de620, eepro, eexpress, lp486e, 
      3c589_cs, axnet_cs, fmvj18x_cs, nmclan_cs, pcnet_cs, smc91c92_cs,
      xirc2ps_cs, sk98lin, xircom_cb, xircom_tulip_cb, airo, arlan,
      netwave_cs, orinoco, ray_cs, wavelan, znet
      
      98% contributed by Andrew Morton
      b6b44ebf
    • Jeff Garzik's avatar
      net driver cleanup, volume 5 · 139d2ebb
      Jeff Garzik authored
      Affected drivers: 3c505 (notably), depca, ni5010, ni52, ni65,
      dmfe, winbond-840.
      
      3c505 included quite a few s/int timeout/unsigned long timeout/
      changes as well, for proper jiffies comparison typing.
      
      98% contributed by Andrew Morton.
      139d2ebb
    • Jeff Garzik's avatar
      net driver cleanup, volume 4 · d59a6c2f
      Jeff Garzik authored
      Affected drivers: 3c501, 3c507, 3c509, 3c5154, 3c59x, amd8111e,
      at1700, e1000, hp100, lance, smc9194, de2104x, de4x5, tulip,
      typhoon.
      
      98% contributed by Andrew Morton.
      d59a6c2f
    • Jeff Garzik's avatar
      net driver cleanup, volume 3 · 86ba4c15
      Jeff Garzik authored
      Affected drivers: 8139cp, 8139too, 82596, b44, cs89x0, dl2k, r8169
      
      Vast majority of changes contributed by Andrew Morton.
      86ba4c15
    • Jeff Garzik's avatar
      net driver cleanup, volume 2 · 112b6cf7
      Jeff Garzik authored
      morq irqreturn_t,
      some s/long flags/unsigned long flags/,
      more set_bit-on-something-other-than-long cleanups
      
      Affected drivers: epic100, fealnx, natsemi, ns83820, starfire,
      sundance, via-rhine, yellowfin.  (and also include/linux/eeprom.h)
      
      Several changes contributed by Andrew Morton.
      112b6cf7
    • Jeff Garzik's avatar
      net driver cleanup, volume 1: · ee1e4607
      Jeff Garzik authored
      Mostly updating to new irqreturn_t, but also includes some needed
      SET_MODULE_OWNER and set_bit cleanups as well.
      
      Affects: 8390, dgrs, eepro100, epic100, pcnet32, rcpci45,
      sis900, tlan
      ee1e4607
    • Jeff Garzik's avatar
      Merge redhat.com:/garz/repo/linus-2.5 · 2f4734ea
      Jeff Garzik authored
      into redhat.com:/garz/repo/net-drivers-2.5
      2f4734ea
    • David S. Miller's avatar
      [SOUND TRIDENT]: Update for irqreturn_t. · 607ace4b
      David S. Miller authored
      607ace4b
    • David S. Miller's avatar
      d466e157