1. 02 Nov, 2002 6 commits
    • Russell King's avatar
      [SERIAL] Make ALPHA_KLUDGE_MCR more generic for bluetooth modems, etc · 4524aad2
      Russell King authored
      In addition to the Alpha OUT1/OUT2 kludge, devices like Bluetooth
      modems connected to serial ports make use of the modem control lines
      in non-standard ways.  Therefore, we implement a more flexible way to
      allow the modem control outputs to be forced to particular values
      irrespective of the normal usage of these signals.
      4524aad2
    • Russell King's avatar
      [SERIAL] Fix up formatting of serial names · b1a2c31d
      Russell King authored
      The tty layer's tty_name requires formatting codes in driver->name
      for the devfs and non-devfs cases.
      b1a2c31d
    • Russell King's avatar
      [SERIAL] Fix up 8250 IRQ chain handling · 31efb7f7
      Russell King authored
      - Unlink port from chain if request_irq fails
      - Allow port to define whether we use shared IRQs
        (this is required for PCMCIA serial cards where the serial
         card shares the same IRQ as the socket status IRQ.)
      - Convert remaining ASYNC_ flags to UPF_ flags
      31efb7f7
    • Russell King's avatar
      eeedeada
    • Russell King's avatar
      [SERIAL] Remove struct pci_board from init_fn · 4efafa32
      Russell King authored
      Traditionally, we allocated the private array of port parameters based on
      the detected board->num_ports, and then called the init_fn with the board
      pointer (which points into the global table.)  Some init_fn implementations
      modify num_ports, which therefore affects the global table.  Unfortunately,
      this means that if the init_fn increases num_ports (because we have two
      almost identical cards, the first with a smaller number of ports than the
      second), we will overwrite memory which hasn't been allocated to us.
      
      This cset no longer passes the board pointer into the init_fn, but instead
      allows the init_fn to return the number of ports found, or zero to use the
      default value in board->num_ports, or negative error number.
      4efafa32
    • Russell King's avatar
      [SERIAL] Rename uart_event() to uart_write_wakeup() · eef76d73
      Russell King authored
      uart_event() only has one purpose, which is to wake up any pending
      writers via the line discipline.  Rename it to reflect its real
      functionality, and drop EVT_WRITE_WAKEUP.
      eef76d73
  2. 01 Nov, 2002 34 commits
    • Linus Torvalds's avatar
      1c58248d
    • Linus Torvalds's avatar
      Merge bk://bk.arm.linux.org.uk · 3ec0428e
      Linus Torvalds authored
      into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
      3ec0428e
    • Russell King's avatar
      [ARM] 2.5.45 updates · be5a6d68
      Russell King authored
      - Convert to new configuration language and fix up HEX config symbols
      - Fix build errors for !CONFIG_KALLSYMS case
      - Add module list to oopsen.
      - Add POLLREMOVE
      be5a6d68
    • Dave Jones's avatar
      [PATCH] Double x86 initialise fix. · 2267966f
      Dave Jones authored
      For many moons, we've been executing identify_cpu()
      on the boot processor twice on SMP kernels.
      This is harmless, but has a few downsides..
      - Extra cruft in bootlog/dmesg
      - Spawns one too many timers for the mcheck handler
      - possibly other wasteful things..
      
      This seems to do the right thing here, and has been
      acked (after some minor squibbles) on l-k.
      2267966f
    • Dave Jones's avatar
      [PATCH] max_cpus overflow. · 758634f5
      Dave Jones authored
      Without the below patch, my HT 2-way prints out
      "CPUS Done 4294967295" on boot, which whilst amusing
      is somewhat exaggerated.
      758634f5
    • Dave Jones's avatar
      [PATCH] Clean up capabilities printing. · d1aefb8b
      Dave Jones authored
      The machine check initialisation prints some blurb
      which makes the capabilities dumping a little untidy.
      By initialising it slightly later, we get something that
      looks a lot better.
      d1aefb8b
    • Trond Myklebust's avatar
      [PATCH] another kmap imbalance in 2.4.x/2.5.x RPC · da8b40ad
      Trond Myklebust authored
        We've uncovered yet another kmap imbalance in the new RPC code.  This
      looks like it might be the last one (my debugging printks have been
      unable to unearth any more).  One line fix + 4 line comment appended.
      da8b40ad
    • Linus Torvalds's avatar
      Fix compile warning in slab.c · 3214cfb3
      Linus Torvalds authored
      3214cfb3
    • Linus Torvalds's avatar
      Merge http://linux-acpi.bkbits.net/linux-acpi · bdbd1323
      Linus Torvalds authored
      into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
      bdbd1323
    • Linus Torvalds's avatar
      Merge bk://nevyn.them.org:5000 · 32f06e37
      Linus Torvalds authored
      into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
      32f06e37
    • Linus Torvalds's avatar
      Make presense of old/style EH routines cause warnings, not · 63b367a4
      Linus Torvalds authored
      a compile failure.
      63b367a4
    • John Stultz's avatar
      [PATCH] linux-2.5.45_notsc-warning_A0 · e97ba483
      John Stultz authored
      This is a minor cleanup that removes two instances of CONFIG_X86_TSC
      (lets the compiler optimize it out), and adds a warning message should
      anyone pass "notsc" to a kernel compiled w/ CONFIG_X86_TSC (which
      ignores it).
      
      This is basically a forward port of a patch I got into 2.4 a while back.
      e97ba483
    • Jun Nakajima's avatar
      [PATCH] fixes for building kernel 2.5.45 using Intel compiler · b7c1dee7
      Jun Nakajima authored
      I like Alan's idea: IGNLABEL("HmacRxAccepted")
      b7c1dee7
    • Andrew Morton's avatar
      [PATCH] driverfs topology cleanup · 60cd84fd
      Andrew Morton authored
      From Matthew Dobson.
      
      This final patch from Matthew cleans up a few leftovers which were noted
      after the code had been reviewed and tested a bit in the -mm patchsets.
      
      1) Update register_XXX and arch_register_XXX functions to return int
         instead of void.  Functions calling these functions should know if
         they completed successfully to take appropriate further registration
         action, or not bother.
      
      2) Drop some pointless error checking in the arch_register_XXX
         functions.
      60cd84fd
    • Andrew Morton's avatar
      [PATCH] create node_online_map · 7c265fe6
      Andrew Morton authored
      From Matthew Dobson.
      
      Create and use node_online_map.
      
      This patch creates a node_online_map, much like cpu_online_map.  It
      also creates the standard helper functions, ie: node_online(),
      num_online_nodes(), node_set_online(), node_set_offline().
      
      This is used by driverFS topology to keep track of which Nodes
      are in the system and online.
      7c265fe6
    • Andrew Morton's avatar
      [PATCH] create memblk_online_map · 6e8b708e
      Andrew Morton authored
      From Matthew Dobson.
      
      Create and use memblk_online_map.
      
      This patch creates a memblk_online_map, much like cpu_online_map.  It
      also creates the standard helper functions, ie: memblk_online(),
      num_online_memblks(), memblk_set_online(), memblk_set_offline().
      
      This is used by driverFS topology to keep track of which memory blocks
      are in the system and online.
      6e8b708e
    • Andrew Morton's avatar
      [PATCH] NUMA meminfo for driverfs Topology · ef890de6
      Andrew Morton authored
      From Matthew Dobson.
      
      Create nodeX/meminfo files for DriverFS Topology.
      
      This patch adds code to DriverFS Topology to expose per-node memory
      statistics.  This information is exposed via: cat nodeX/meminfo
      
      The patch also adds 2 helper functions to gather per-node memory info.
      ef890de6
    • Andrew Morton's avatar
      [PATCH] i386 driverfs Topology · de642de7
      Andrew Morton authored
      From Matthew Dobson.
      
      Update/Create i386 specific files for DriverFS Topology.
      
      This patch creates the i386 specific files/functions/structures to
      implement driverfs Topology.  These structures have the generic
      CPU/MemBlk/Node structures embedded in them.
      
      This patch also creates the arch-specific initialization routine to
      instantiate the topology.
      de642de7
    • Andrew Morton's avatar
      [PATCH] Update/Create core files for DriverFS Topology. · dc909f53
      Andrew Morton authored
      From Matthew Dobson.
      
      Update/Create core files for DriverFS Topology.
      
      This patch creates the generic structures that are (will be) embedded in
      the per-arch structures.  Also creates calls to register these generic
      structures (CPUs, MemBlks, & Nodes).
      
      Note that without arch-specific structures in which to embed these
      structures, and an arch-specific initialization routine, these
      functions/structures remain unused.
      dc909f53
    • Andrew Morton's avatar
      [PATCH] page accounting atomicity fix · a3e77b89
      Andrew Morton authored
      The global page accounting functions are currently using "+=" against a
      ulong.  But this can happen at interrupt time as well, and "+=" is not
      atomic against interrupt-time modification of the same word.
      
      Change it to use local_irq_save()
      a3e77b89
    • Andrew Morton's avatar
      [PATCH] ext3 build fix · c85e5289
      Andrew Morton authored
      Patch from Andreas Dilger <adilger@clusterfs.com>
      
      If you have ext2_fs.h and ext3_fs.h included at the same time, we are
      missing one define used in ext3_should_journal_data() and
      ext3_should_order_data() as part of the test_opt() macro (which
      defaults to the ext2 definition if both are present).
      c85e5289
    • Andrew Morton's avatar
      [PATCH] disable PF_MEMALLOC for interrupt allocations · ba9897b1
      Andrew Morton authored
      If a task is running in state PF_MEMALLOC and is interrupted, the page
      allocator will treat allocations by the interrupt handler as
      PF_MEMALLOC as well.
      
      Detect that, and stop it.  Also tidies things up a little in there.
      ba9897b1
    • Andrew Morton's avatar
      [PATCH] improved space efficiency in dcache · 55ad55f1
      Andrew Morton authored
      Currently we are storing filenames which are 16-chars or less
      inside struct dentry itself and then separately allocating
      larger names.
      
      But this leaves spare space in the dentry - the dentry slab cache
      is using cacheline alignment.   In my build, struct dentry is 112
      bytes so there are at least an additional 16 bytes in there.
      
      And the number of files which have names in the 16-32 char range
      will be significant.
      
      So Manfred's patch changes the dcache code to utilise _all_ the space
      between the last member of the dentry and the start of the next cacheline.
      55ad55f1
    • Andrew Morton's avatar
      [PATCH] faster wakeups in the pipe code · 2ee50b65
      Andrew Morton authored
      Use prepare_to-wait/finish_wait to avoid bouncing the waitqueue
      spinlock between the waker and the wakee all the time.
      2ee50b65
    • Andrew Morton's avatar
      [PATCH] use bd_claim in the raw driver · 3480cbc1
      Andrew Morton authored
      Currently if you use the raw driver against /dev/hda1 while it has an
      fs mounted, everything gets confused and the kernel locks up or oopses.
      
      Al said to use bd_claim().  This prevents the raw driver from being
      able to open the device under these circumstances.
      
      There is value in being able to read the raw device while there's a
      filesystem mounted: to poke around at the disk without interacting with
      the kernel's caching.  You can still do that, with an O_DIRECT open of
      /dev/hda1.
      3480cbc1
    • Andrew Morton's avatar
      [PATCH] direct-io build fix · d97ec37c
      Andrew Morton authored
      The arg to ZERO_PAGE() doesn't get evaluated on ia32 :(
      d97ec37c
    • Andy Grover's avatar
      ACPI: Interpreter update to (20021101) · 28d35e95
      Andy Grover authored
      - Fix namespace ordering, which was causing breakage
      - Enhance some error messages
      28d35e95
    • Alan Cox's avatar
      [PATCH] 2.5.45 UCLinux merge M680x0 mmuless arch and include/asm · 4d8063b3
      Alan Cox authored
      This is the M68K mmuless port code maintained by Greg Ungerer and used
      by Snapgear for all sorts of bits of hardware. No shared files included
      in this chunk of patches. This matches 2.5.45-uc1 which is the stuff that
      has been in my tree for a bit combined with Kconfig changes
      4d8063b3
    • Alan Cox's avatar
      da11bc89
    • Alan Cox's avatar
      [PATCH] UCLINUX "flat" binary loader · be3e0ada
      Alan Cox authored
      This is much like the old m68k amiga/st loader world. Its a relocating
      loader with optional compression. Shared libraries and A5 sharing stuff
      is all handled by the userspace/libs
      be3e0ada
    • Alan Cox's avatar
      [PATCH] add machine ident for the V850 from NEC · 3d8629b4
      Alan Cox authored
      3d8629b4
    • Alan Cox's avatar
      [PATCH] arch specific files for MMUless NEC v850 port · 88af9fa8
      Alan Cox authored
      This is the V850 support maintained by Miles Bader at NEC
      
      Again this is just arch and include/asm- files. It matches 2.5.45-uc1 + v850
      fixes which is close to what was in my old tree (some clean up done since then)
      plus Kconfig
      88af9fa8
    • Alan Cox's avatar
    • Alan Cox's avatar
      33123c86