1. 02 Nov, 2002 15 commits
    • Linus Torvalds's avatar
      Merge bk://bk.arm.linux.org.uk · 5c9cdbba
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      5c9cdbba
    • Russell King's avatar
      [SERIAL] [PARISC] add support for GSC serial · c68a47a0
      Russell King authored
      Add discovery for PA-RISC 16550 serial ports.
      
      Patch from Matthew Wilcox.
      c68a47a0
    • Russell King's avatar
    • Russell King's avatar
      [SERIAL] Fix build errors and warnings · 6c37a6ba
      Russell King authored
      - Remove last usage of EVT_WRITE_WAKEUP
      - Remove unused label + kfree()
      - scratch3 now known as id3
      6c37a6ba
    • Russell King's avatar
      [SERIAL] Tidy up 8250 port type detection · c7bb4498
      Russell King authored
      The original port detection code was one large function with many
      tests without any clear structure.
      
      This cset cleans this up, splitting out the tests for 8250/16450
      vs 16550 vs 16550A vs later ports, and adds comments about why
      we test what we're testing.
      c7bb4498
    • 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
    • Theodore Y. Ts'o's avatar
      [PATCH] Orlov block allocator for ext3 · 36615c12
      Theodore Y. Ts'o authored
      Here's the ext3 version.
      36615c12
    • Theodore Y. Ts'o's avatar
      [PATCH] Fixup Orlov block allocator for ext2 · 4be68d9c
      Theodore Y. Ts'o authored
      I finally had time to look at the Orlov patches, and found a memory
      leak; sbi->s_debts wasn't getting freed when the filesystem was
      getting unmounted, or in the error path.
      
      This patch also makes the following cleanups/changes:
      
      1) Use sbi->s_debts instead of sbi->debts --- all other fields in
      	struct ext2_sb_info are prefixed by "s_", so this makes things
      	consistent.
      
      2) Add support for a new inode flag, EXT2_TOPDIR_FL, which tells tells
      	the Orlov allocator to treat that directory as the top of
      	directory hierarchies, so that new subdirectories created in
      	that directory should be spread apart.  System administrators
      	should set this flag on directories like /usr/src, /usr/home, etc.
      
      3) Add a mount-time flag, -o oldalloc, which forces the use of the old
      	inode (pre-Orlov) allocator.  This makes it easier to do
      	comparison benchmarks, and in case people want to use the old
      	algorithm.
      4be68d9c
    • Linus Torvalds's avatar
      Remove last vestiges of ide-cd.c "struct packet_command". It's been · eb74a93e
      Linus Torvalds authored
      empty for a while now, and nothing uses it.
      eb74a93e
    • Linus Torvalds's avatar
      Add a "cmd_len" parameter to the request, so that device drivers · 6892c800
      Linus Torvalds authored
      don't have to try to figure it out for themselves.
      
      Make ide-cd.c use it. 
      6892c800
  2. 01 Nov, 2002 25 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