1. 29 Sep, 2002 40 commits
    • Hirofumi Ogawa's avatar
      [PATCH] use fff/ffff/fffffff instead of ff8/fff8/ffffff8 for EOF of FAT · a22b9070
      Hirofumi Ogawa authored
      On FAT12, the current FAT driver recognizes 0xff8-0xfff as EOF, and it
      writes in 0xff8 as EOF.  This is right behavior.  However, the firmware
      of some MP3-Players recognize only 0xfff (standard EOF which Micorsoft
      uses) as EOF.
      
      So, we write 0xfff instead of 0xff8 as EOF, until the reason we need
      values other than standard EOF is found.
      
      [Randy Dunlap, I appreciate your help.]
      a22b9070
    • Dominik Brodowski's avatar
      [PATCH] cpufreq bugfixes · 20ab1b04
      Dominik Brodowski authored
      - incorrect pointer calculation spotted by Gerald Britton
      - speedstep.c cleanup (Gerald Britton)
      20ab1b04
    • Linus Torvalds's avatar
      Fix broken whitespacing in PPC Makefile · 05178dd5
      Linus Torvalds authored
      05178dd5
    • Jaroslav Kysela's avatar
      [PATCH] ALSA update [10/10] - 2002/08/05 · 80bf8e05
      Jaroslav Kysela authored
        - CS46xx
          - fixed capture with new DSP firmware
          - multiple pcm playback streams
          - pcm playback instance is allocated dynamically
          - fixed detection of secondary codec
        - changed ctl/rawmidi/timer read() code to follow POSIX standard - when some data are ready, return immediately
        - RME96 - added 32 bit sample formats for ADAT
      80bf8e05
    • Jaroslav Kysela's avatar
      [PATCH] ALSA update [9/10] - 2002/08/01 · 7ba59717
      Jaroslav Kysela authored
        - CS46xx - added support for the new DSP image
          - S/PDIF and dual-codec support
        - sequencer
          - fixed deadlock at snd_seq_timer_start/stop
      7ba59717
    • Jaroslav Kysela's avatar
      [PATCH] ALSA update [8/10] - 2002/07/31 · e2fa3083
      Jaroslav Kysela authored
        - AC'97 codec
          - added reset callback to do reset and skip the standard procedure
          - added limited_regs flag to avoid to touch unexpected registers
          - Fixes for AD1981A and added a special patch for an intel motherboard
        - sequencer
          - check the possible infinite loop in priority queues
          - reset the timer at continue if not initialized yet
        - changed synchronize_irq() for new api with an argument
        - NM256 driver - fixes the lock up on NM256 ZX
        - VIA8233 - implementation of SG buffer
      e2fa3083
    • Jaroslav Kysela's avatar
      [PATCH] ALSA update [7/10] - 2002/07/24 · b21fd933
      Jaroslav Kysela authored
        - renamed snd-dt0197h to snd-dt019x
        - added support for DT0196, DT0197h and ALS007 to snd-dt019x
        - searial-u16550 - added support for generic adapter type
        - pcm.c
          - fixed the initialization of runtime->status
          - removed unnecessary check of n_register callback
        - timer.c
          - fixed kmod behaviour
        - Opti92x/93x fixes by Michael Corlett
        - fixed compilation of YMFPCI driver (PPC)
      b21fd933
    • Jaroslav Kysela's avatar
      [PATCH] ALSA update [6/10] - 2002/07/20 · eb7e7cd8
      Jaroslav Kysela authored
        - added vfree_nocheck()
        - PCM midlevel & EMU10K1 - added support for SG buffer
        - CS4236 - added new ISA PnP ID
        - HDSP - fixed rate rules (OSS emulation works)
      eb7e7cd8
    • Jaroslav Kysela's avatar
      [PATCH] ALSA update [5/10] - 2002/07/17 · 81ff6ee4
      Jaroslav Kysela authored
        - AD1816A - fixed MIC playback volume
        - OPL3SA2 - fixed non-ISA PnP build
        - AC'97 code - 1st version of separated codec specific code
      81ff6ee4
    • Jaroslav Kysela's avatar
      [PATCH] ALSA update [4/10] - 2002/07/14 · 40290333
      Jaroslav Kysela authored
        - seq_virmidi - exported snd_virmidi_receive() for processing the incoming events from the event handler of a remote virmidi port.
        - pcm_lib.c - fixed wrong spinlock
        - AC'97 code
          - added VIA codecs, fixed order
          - added S/PDIF support for Conexant CX20468
        - ALI5451 - fixed wrong spinlock
        - ES1968 - fixed wrong mutex
        - ICE1712 - fixed SMP dead-lock
        - HDSP driver update
        - RME9652 - fixed wrong spinlock
      40290333
    • Jaroslav Kysela's avatar
      [PATCH] ALSA update [3/10] - 2002/07/03 · f7fb77bf
      Jaroslav Kysela authored
        - added support for spdif on coexant cx20468 chip
        - fixed compilation without CONFIG_PROC_FS
        - YMFPCI driver
          - fixed GPIO read/write
          - a new module option snd_rear_switch
        - ioctl32 - added support for old hw_params ioctl
        - ES1968 driver
          - enabled hw control IRQ
          - calling es1968_reset() in free()
        - VIA8233 driver - fixes for mono playback
      f7fb77bf
    • Jaroslav Kysela's avatar
      [PATCH] ALSA update [2/10] - 2002/06/26 · 113ba560
      Jaroslav Kysela authored
        - Enhanced bitmasks in PCM - added support for more formats by Takashi and me
        - RME32 driver - added support for ADAT (Digi 32/8)
      113ba560
    • Jaroslav Kysela's avatar
      [PATCH] ALSA update [1/10] - 2002/06/24 · e41ecb2c
      Jaroslav Kysela authored
        - ioctl32 emulation update
        - intel8x0 driver
          - fixed PCI ID of AMD8111
        - compilation fixes for HDSP
        - fixes for PCI memory allocation
      e41ecb2c
    • Andrew Morton's avatar
      [PATCH] topology API updates · 233da397
      Andrew Morton authored
      From Matthew Dobson.
      
      Leaves any functions which architectures haven't defined as undefined,
      rather than using non-NUMA functions where users would expect
      NUMA-functions.
      
      This will cause compilation errors if someone tries to use an undefined
      function, hopefully causing them to actually define those functions.
      
      Also removes lingering topology-like macros that aren't being used, and
      a couple typo fixes.
      233da397
    • Andrew Morton's avatar
      [PATCH] in-kernel topology API · a1c9db9f
      Andrew Morton authored
      From Matthew Dobson <colpatch@us.ibm.com>
      
      "This patch adds a 'simple' in-kernel topology API.  This API allows
       for three primary topology elements: CPUs, memory blocks, and nodes.
       The API allows for the discovery of which CPUs/Memory Blocks reside on
       which nodes, and vice versa.  Also implemented is a macro to get a
       bitmask of CPUs on a particular node.  This API is platform neutral."
      
      We need this API for per-node-kswapd - without it there is no means by
      which each kswapd can be bound to its node's CPUs.  And we rather need
      per-node-kswapd...
      
      The patch also uses the new API to bind each kswapd instance to its
      node's CPUs
      a1c9db9f
    • Andrew Morton's avatar
      [PATCH] per-node kswapd instances · db7b0c9f
      Andrew Morton authored
      Patch from David Hansen.
      
      Start one kswapd instance for each NUMA node.  That kswapd instance
      only works against the pages which are local to that node.
      
      We need to bind that kswapd to that node's CPU set, but the
      infrastructure for this is not yet in place.
      db7b0c9f
    • Andrew Morton's avatar
      [PATCH] remove free_area_t typedef · 1f769291
      Andrew Morton authored
      typedef eradication.
      1f769291
    • Andrew Morton's avatar
      [PATCH] add /proc/buddyinfo · 7c5bd68c
      Andrew Morton authored
      From David Hansen, Bill Irwin, Martin Bligh.
      
      "It's easier to cat /proc/buddyinfo than to beg users to press
       shift-scrolllock on a machine millions of miles away.  Order 1 and 2
       memory allocations are common.  Memory fragmentation is a problem
       under some workloads, and this is a useful tool for helping diagnose
       these problems."
      
      The following patch exports some information about the buddy allocator.
      
      Each column of numbers represents the number of pages of that order
      which are available.  In this case, there are 5 chunks of
      2^2*PAGE_SIZE available in ZONE_DMA, and 101 chunks of 2^4*PAGE_SIZE
      availble in ZONE_NORMAL, etc...  This information can give you a good
      idea about how fragmented memory is and give you a clue as to how big
      an area you can safely allocate.
      
      Node 0, zone      DMA      0      4      5      4      4      3 ...
      Node 0, zone   Normal      1      0      0      1    101      8 ...
      Node 0, zone  HighMem      2      0      0      1      1      0 ...
      7c5bd68c
    • Matthew Wilcox's avatar
      [PATCH] remove GFP_NFS · 7030eb35
      Matthew Wilcox authored
      GFP_NFS has been obsolete for a while now.  Kill its only remaining
      user, its definition and the SLAB_NFS define too.
      7030eb35
    • Andrew Morton's avatar
      [PATCH] fix uninitialised vma list_head · 11c3d16e
      Andrew Morton authored
      From Zach Brown.  Lots of places forget to initialise list_heads in
      vm_area_structs, and other places then go and test the state of those
      list_heads.
      
      Plug the gaps for now, Zach is working on a broader cleanup.
      11c3d16e
    • Andrew Morton's avatar
      [PATCH] move_one_page kmap atomicity fix · bce7c55d
      Andrew Morton authored
      move_one_page() is calling alloc_one_pte_map() while holding an atomic
      kmap for the source pte's page.  But alloc_one_pte_map() can sleep in
      the page allocator.
      
      So change move_one_page() to take a peek at the destination pagetables
      to work out whether the alloc_one_pte_map() will need to perform page
      allocation.  If so, drop the atomic kmap and retake it after allocating
      the pte.
      bce7c55d
    • Andrew Morton's avatar
      [PATCH] get_user_pages PageReserved fix · 55ee0843
      Andrew Morton authored
      From David Miler.
      
      get_user_pages() needs to avoid running page_cache_get() against
      PageReserved pages.  Things like video driver and audio driver
      remap_page_range() mappings.
      55ee0843
    • Andrew Morton's avatar
      [PATCH] Documentation/vm/hugetlbpage.txt · bedb8da7
      Andrew Morton authored
      From Rohit
      
      Creates Documentation/vm/hugetlbpage.txt
      bedb8da7
    • Andrew Morton's avatar
      [PATCH] kmem_cache_destroy fix · 3b5c86dd
      Andrew Morton authored
      Slab currently has a policy of buffering a single spare page per slab.
      We're putting that on the partially-full list, which confuses
      kmem_cache_destroy().
      
      So put it on cachep->slabs_free, which is where empty pages go.
      3b5c86dd
    • Andrew Morton's avatar
      [PATCH] additional might_sleep checks · ca61a009
      Andrew Morton authored
      - Dave says that lock_sock() inside locks is a popular bug.  Put a
        check there.
      
      - Also in wait_for_completion().
      
      - Add the text "Debug" to the warning message so people are less
        likely to think that they've oopsed.
      ca61a009
    • Kai Mäkisara's avatar
      [PATCH] SCSI tape driver locking fixes · e4c0058e
      Kai Mäkisara authored
      This contains the following changes for the SCSI tape driver in 2.5.39:
      - move driverfs file creation and removal outside the st_dev_arr_lock
        spinlock
      - change page pointer array allocation from GFP_ATOMIC to GFP_KERNEL
      e4c0058e
    • Urban Widmark's avatar
      [PATCH] might_sleep fixes · c17acb1f
      Urban Widmark authored
      + Fixes 2 cases caught by might_sleep testing.
      + Replace sleep_on with wait_event.
      + MOD_INC_USE_COUNT to prevent module unload vs smbiod thread exit race.
      c17acb1f
    • Linus Torvalds's avatar
      Merge bk://bk.arm.linux.org.uk · 77728a1c
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      77728a1c
    • Russell King's avatar
      Merge http://linus.bkbits.net/linux-2.5 · c5ac1f1c
      Russell King authored
      into flint.arm.linux.org.uk:/usr/src/linux-bk-2.5/linux-2.5-rmk
      c5ac1f1c
    • Russell King's avatar
      c71c14e5
    • Russell King's avatar
      28a065f2
    • Russell King's avatar
      [ARM] Add kmap_types.h and percpu.h · 53252275
      Russell King authored
      53252275
    • Russell King's avatar
      [ARM] Cleanup Ceiva merge. · 2d678419
      Russell King authored
      2d678419
    • Rob Scott's avatar
      [ARM PATCH] 1243/1: Add support for Ceiva Photoframe, part2: machine specifics (fixed) · d5096010
      Rob Scott authored
      Adds machine specific support for Ceiva Photoframe. Affects:
      arch/arm/mach-clps711x/Makefile 
      arch/arm/mach-clps711x/ceiva.c (new)
      include/asm-arm/arch-clps711x/hardware.h
      include/asm-arm/arch-clps711x/memory.h
      
      Differences from 1st patch:
      Removed redundant static I/O mapping for flash from hardware.h
      Reverted to original CONFIG_DISCONTIGMEM enabling in memory.h
      Added PHYS_TO_NID definition, when DISCONTIG undefined in memory.h
      d5096010
    • Russell King's avatar
      [ARM] Fix up export-objs for clps711x, integrator and sa1100 · e9c540cb
      Russell King authored
      (From Thunder)
      e9c540cb
    • Nicolas Pitre's avatar
      [ARM PATCH] 1293/1: fix to the ARM optimized strchr() · 5d9d305b
      Nicolas Pitre authored
      Two bugs here:
      
      1) The return value of strchr("foo",0) should be the start address of
         "foo" + 3, not NULL.
      
      2) Since the second argument for strchr() is defined as an int, some
         characters such as 'é' might validly end up to be the value -23 due to
         signedness issues.  Corectly handle those.
      5d9d305b
    • Russell King's avatar
      [ARM] Don't return a value from ptrace_set_bpt() · 4c286c37
      Russell King authored
      The return value from ptrace_set_bit() is never used.  This cset
      makes it a void function.
      4c286c37
    • Russell King's avatar
    • Russell King's avatar
    • Russell King's avatar
      [ARM] Bring asm/setup.h and asm/unistd.h into line with main ARM tree · 2e203506
      Russell King authored
      This removes some minor differences between Linus' tree and the main
      ARM tree; comment clarification and some weird formatting.
      2e203506