1. 13 Oct, 2002 18 commits
    • Russell King's avatar
      [ARM] Acorn serial port driver update · 5425c22f
      Russell King authored
      This cset combines the Atomwide and The Serial Port 16550 driver
      modules into one "8250_acorn.c" driver.  This new module takes full
      advantage of the LDM-based expansion card facilities.
      5425c22f
    • Russell King's avatar
      [ARM] Update Acorn ethernet expansion cards · 3ecf65ae
      Russell King authored
      This cset implements validity checks on the ethernet MAC address when
      the device is opened, and refuses to open the device if this check
      fails.  We also provide the set_mac_address method to allow ifconfig
      to change the mac address to something valid.
      
      In addition, the driver is converted from the old expansion card
      discovery methods to the new device model driver framework.
      3ecf65ae
    • Russell King's avatar
      Convert acorn expansion card probing code to the Linux device model. · 8025567f
      Russell King authored
      Provide LDM-based driver registration/removal interface for drivers
      to use.  We make the old device discovery code ignore devices
      claimed via the LDM framework.  However, the LDM framework ignores
      devices that may be in use by the old device discovery code.  This
      is fine since the only devices that will still use the old discovery
      code will be SCSI drivers.
      
      Currently, we don't provide a useful dev.name entry.
      8025567f
    • Russell King's avatar
      [ARM] cpufreq updates for ARM · 767b74a3
      Russell King authored
      This updates the Integrator cpufreq code to use the new interfaces,
      and makes the sa1100 cpufreq round up the requested frequency.
      767b74a3
    • Russell King's avatar
      [ARM] Remove second serial port address. · 074a2e78
      Russell King authored
      The second serial port is never present in these machines, so its
      pointless listing it in the first place.
      074a2e78
    • Russell King's avatar
      [ARM] Fix iop310-pci compilation errors. · 00325ac8
      Russell King authored
      00325ac8
    • Russell King's avatar
      [ARM] IDE updates · 51e9ac4b
      Russell King authored
      - ide_register_hw takes two arguments, not one.
      - ide_fix_driveid is no longer used.
      51e9ac4b
    • Russell King's avatar
      [ARM] Other updates for changes in 2.5.42 · 17b77695
      Russell King authored
      This adds ARM support for in_atomic() and asm/numnodes.h
      17b77695
    • Russell King's avatar
      [ARM] Update neponset/sa1111 for Linux device model updates. · 69bc3279
      Russell King authored
      This updates these neponset and sa1111 support to use the new system
      device infrastructure in the Linux device model.
      69bc3279
    • Russell King's avatar
      [ARM] Optimise ARM TLB handling · 9c7fd8c7
      Russell King authored
      Sanitise includes of asm/tlbflush.h, asm/cacheflush.h, asm/proc-fns.h
      Implement ARM-specific TLB "shootdown" code.  It turns out that it
      is overall more efficient to unconditionally invalidate the whole
      TLB rather than entry by entry when removing areas.
      9c7fd8c7
    • Russell King's avatar
      [ARM] Update RiscPC decompressor for PIC changes · d6494ca3
      Russell King authored
      This cset fixes the RiscPC decompressor code for the PIC changes.
      
      We use a pointer to a structure rather than a structure to access
      params.  With a PIC decompressor, the address of the structure gets
      PIC-ified which is not what we want.
      d6494ca3
    • Russell King's avatar
      [ARM] Update for signal handling changes. · b8f8251c
      Russell King authored
      b8f8251c
    • Russell King's avatar
      [ARM] Update pcibios_enable_device, supply pci_mmap_page_range() · d301001e
      Russell King authored
      Update pcibios_enable_device to only enable requested resources,
      mainly for IDE.  Supply a pci_mmap_page_range() function to allow
      user space to mmap PCI regions.
      d301001e
    • Russell King's avatar
      [ARM] Update timekeeping functions to use tick_nsec/1000 · 31d49a63
      Russell King authored
      This updates the ARM time keeping functions to use tick_nsec/1000
      instead of tick.
      31d49a63
    • Russell King's avatar
      [ARM] Ensure deselected config variables are defined to 'n' · eac00de1
      Russell King authored
      To keep the Config.in files relatively clean, we use the
      following construct:
      
       if [ "$CONFIG_ARM" = "y" ]; then
          dep_tristate 'Foo' CONFIG_FOO $CONFIG_BAR
       fi
      
      where CONFIG_BAR is some machine implementation or high-level
      chip support configuration option.  If CONFIG_BAR is left
      empty, then the tristate is offered to the user, which isn't
      what we want.  Defining CONFIG_BAR to 'n' prevents the option
      being offered.
      
      This is a rule I generally try to implement within
      arch/arm/config.in.
      
      This cset makes CONFIG_SA1111 and CONFIG_ARM_THUMB behave that
      way.
      eac00de1
    • Russell King's avatar
      [ARM] Allow CONFIG_ZBOOT_ROM=y image to be relocated to RAM · e34b499b
      Russell King authored
      Since the decompressor supports PIC, even for CONFIG_ZBOOT_ROM,
      we can easily allow an image which has been linked to run at
      a particular address in ROM to be moved to RAM.  We just need
      to make sure that we don't relocate the GOT entries for the
      BSS segment.
      
      This cset also implements sa1100-based debugging for the
      decompressor.
      e34b499b
    • Russell King's avatar
      [ARM] Move TEXTADDR and DATAADDR out of vmlinux.lds.S · af4f9374
      Russell King authored
      These two variables are used by more than just the linker;
      they're also used by head.S to know where it can safely
      place the page tables.  We therefore need to export it
      from the Makefile.
      
      These are also highly machine dependent; we don't want
      to duplicate the same set of conditionals for cpp and
      for the makefiles.
      
      arch/arm/Makefile also contained a stray close-paren.  I'm
      submitting this one to the lost property office.
      
      We also always pass -mno-fpu to the assember; this
      guarantees that any floating point will be caught.
      af4f9374
    • Russell King's avatar
      [SERIAL] Fix Sparc32/64 handling of CONFIG_SERIAL_CORE{,_CONSOLE} · 708a3b4a
      Russell King authored
      SPARC was unconditionally setting CONFIG_SERIAL_CORE_CONSOLE to y
      and conditionally setting CONFIG_SERIAL_CORE depending on the Sparc
      sub-drivers.  In addition, the core serial driver for SPARC is
      always built, so we end up with link errors.
      
      We instead make CONFIG_SERIAL_CORE{,_CONSOLE} dependent on building
      the SPARC core driver (CONFIG_SERIAL_SUNCORE).
      708a3b4a
  2. 11 Oct, 2002 22 commits
    • Linus Torvalds's avatar
      Linux v2.5.42 · e856ba4a
      Linus Torvalds authored
      e856ba4a
    • Linus Torvalds's avatar
      Declare set_change_info() only if CONFIG_NFSD_V3 is enabled. It · 50a2b7dd
      Linus Torvalds authored
      uses fields that do not exist otherwise.
      50a2b7dd
    • Andi Kleen's avatar
      [PATCH] Efficient bswab64 for i386 · 08f895c3
      Andi Kleen authored
      Due to some bugs in byteorder/generic.h linux would always use C handcoded
      swab64 for 64bit ntohq or cpu_to_be64.  The C version is very inefficient
      and expands to 30+ instructions of horrible code.
      
      This hurts on filesystems that use on disk big endian data structures
      with 64bit data types.
      
      This patch adds an assembly optimized swab64 to fix it. Now bswab64 is
      4 instructions when your CPU supports bswap and 9 when it doesn't.
      Tests were done with gcc 3.2, may be different on older gcc.
      
      This is good for ~600 bytes code size reduction in XFS (gcc 3.2):
      Before:
       503199    3296    1682  508177   7c111 fs/xfs/xfs.o
      After:
       502543    3296    1682  507521   7be81 fs/xfs/xfs.o
      
      Also should be faster.
      
      Also some minor cleanups in the file.
      08f895c3
    • Linus Torvalds's avatar
      Merge home.transmeta.com:/home/torvalds/v2.5/coda · b4655acd
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      b4655acd
    • Jan Harkes's avatar
      [PATCH] Coda FS update · dbd82204
      Jan Harkes authored
      Most of these changes have been tested and used in the 2.4 tree, so this
      is mostly a forward port of 2.4 bugfixes.
      
      * C99 initializers
      * Added specific initializations instead of assuming that the private
        part of the inode is already initialized.
      * Remove unused code.
      * Moved container file to the struct file private data, this is to
      * correct the session semantics model when file updates are fetched from
      * the server (old 'sessions' shouldn't see the new container yet).
      * Fixed consistency (and occasional oopes) when mmap-ing Coda files.
      * Fixing up inode numbers in readdir, old libc5 getcwd was broken.
      * Nuked upcall_stats, all of this can easily be maintained in userspace,
        and the existing code suffers from overflows in the fixed point
        calculations.
      dbd82204
    • Andrew Morton's avatar
      [PATCH] various fixes · 77a32d76
      Andrew Morton authored
      - Fix some printk warnings in 3c59x.c (inl() now returns a long).
      
      - ext3 warning fix from Stephen Hemminger: "__FUNCTION__ is a
        constant and gcc warns about passing it as a mutuable string."
      
      - Fix a return-with-BKL-held in isofs_readdir()
      
      - paride 64-bit sector_t fix (Bill Irwin)
      77a32d76
    • Linus Torvalds's avatar
      Merge http://linux-ntfs.bkbits.net/linux-2.5-ilookup · eef57ec4
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      eef57ec4
    • John Stultz's avatar
      [PATCH] linux-2.5.41_cyclone-fixes_A1 · 589409a9
      John Stultz authored
      This syncs up the cyclone-timer code w/ Greg's changes from this
      morning.
      589409a9
    • Peter Chubb's avatar
      [PATCH] fix crash in yenta_bh() on card insertion/removal · 196c87ec
      Peter Chubb authored
      In the current kernels, when a PCMCIA card is inserted into or
      removed from a socket, the kernel oopses because yenta_bh() tries to
      dereference a NULL pointer.
      
      The attached patch initialises the argument to yenta_bh() so that this
      doesn't happen.
      196c87ec
    • Linus Torvalds's avatar
      Merge http://linux-isdn.bkbits.net/linux-2.5.eicon · 57e06b22
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      57e06b22
    • Linus Torvalds's avatar
      Merge http://linux-isdn.bkbits.net/linux-2.5.isdn · 3b1022c5
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      3b1022c5
    • Rolf Eike Beer's avatar
      [PATCH] improve NCR53c710 SCSI driver · 798c67c3
      Rolf Eike Beer authored
      798c67c3
    • Neil Brown's avatar
      [PATCH] kNFSd: upcall/update for export tables · 5f8c40c2
      Neil Brown authored
      Add _request and _parse methods for nfsd.fh and
      nfsd.exports tables.
      
      nfsd.fh maps a filehandle-fragment to a path for a client,
      and nfsd.exports maps a path to export options for a client.
      5f8c40c2
    • Neil Brown's avatar
      [PATCH] kNFSd: Impletement ip_map_parse to allow filling auth.unix.ip cache · b07ac7f0
      Neil Brown authored
      a message should be:
         nfsd 10.0.1.1 {Expirydate}  domainname
      
      if domainname is empty, then this is a NEGATIVE entry: that
      IP address will be deined access.
      
      {Expirydate} is seconds since unix epoch.
      e.g.  1036105199 for midnight, halloween.
      b07ac7f0
    • Neil Brown's avatar
      60b00ad8
    • Neil Brown's avatar
      [PATCH] kNFSd: Implement get_word to help in parsing cache updates · 5ce8b167
      Neil Brown authored
      get_word understands both \x and \012 quoting styles.
      5ce8b167
    • Neil Brown's avatar
      [PATCH] kNFSd: Implement ip_map_request for upcalls · 11644e2e
      Neil Brown authored
      This is the first upcall to actually be coded.
      A request will look like:
         nfsd 127.0.0.1
      11644e2e
    • Neil Brown's avatar
      [PATCH] kNFSd: Provide generic code for making an upcall. · a9f2e47f
      Neil Brown authored
      This code enhances 'cache_check' to try to initiate
      an up-call if the cache entry is not up-to-date, and also
      defines add_word and add_hex for formating up-call
      requests.  See rpc-cache.txt for more detail.
      a9f2e47f
    • Neil Brown's avatar
      [PATCH] kNFSd: Create files: /proc/net/rpc/$CACHENAME/channel for... · 04ffa550
      Neil Brown authored
      [PATCH] kNFSd: Create files: /proc/net/rpc/$CACHENAME/channel for communicating cache updates with kernel
      
      Each cache gets it's own 'channel' at
        /proc/net/rpc/$CACHENAME/channel
      
      Reads from the file will return all pending requests, one at a time.
      select will block when at end of file.
      writes will pass full lines in to be processed.
      04ffa550
    • Neil Brown's avatar
      [PATCH] kNFSd: Provide support for request deferral and revisit. · ea221223
      Neil Brown authored
      cache.c gets code to allow a 'request' to be referred pending
      an update of a cache item, and revisited when the item is
      updates.
      
      svcsock.c gets code to store the relevant part of a request on deferral, and
      to re-queue it when the cache item that caused the deferral is
      filled in.
      ea221223
    • Neil Brown's avatar
      [PATCH] kNFSd: decode symlink inplace to avoid modifying request · ac26cbd7
      Neil Brown authored
      Rather than possibly modifying a request (as
      xdr_decode_string can) we use xdr_decode_string_inplace
      to symlink contents.  This string may not be nul terminated
      (though it often is) so in the 'unlikely' event that is isn't
      nul terminated, we copy it into a kmalloced space first.
      
      It might be nice if vfs_symlink took a length, but then every
      filesystem would have to as well....
      ac26cbd7
    • Neil Brown's avatar
      [PATCH] kNFSd: Don't over-write rpc request with response. · 4ed45520
      Neil Brown authored
      We are going to want rpc request to be immutable so that
      we can take a copy and put it aside to be processed later.
      Currently the tcp code writes the response into the same
      buffer as the request, thus corrupting the request.
      With this patch, the response goes after the request.  There should
      always be enough room as large reqeusts (Write) has small
      responses, and large responses (read) are for small requests.
      
      buflen is changed for requests to record the length of the
      request.  It already gets reset for each new request.
      4ed45520