1. 24 Apr, 2004 2 commits
    • Deepak Saxena's avatar
      [ARM PATCH] 1815/1: Generic DMA buffer bouncing support for ARM targets · c2e26dd2
      Deepak Saxena authored
      Patch from Deepak Saxena
      
      Latest (and hopefully last :) patch for generic DMA buffer bouncing.
      
      - Fixed SA1111 dma_needs_bounce
      - Added check for out of bounds buffers.
      - Made dmabounce.c directly implement dma_* API
      
      Note that I didn't do the following:
      
      #ifndef CONFIG_DMABOUNCE
      inline implementations of all functions
      #else
      extern declarations
      #endif
      
      Instead I wrapped it individual in #ifndef/#else blocks to keep the
      comments in the same area as function declarations.  IMHO this makes 
      it easier for someone to go look at the comments if they need to know 
      what a specific API does.
      c2e26dd2
    • Russell King's avatar
  2. 23 Apr, 2004 2 commits
    • Nicolas Pitre's avatar
      [ARM PATCH] 1825/1: abort on bad code generation with div64 in some cases · 3dae285a
      Nicolas Pitre authored
      Patch from Nicolas Pitre
      
      One case was found when the kernel is compiled with -O2 (instead of the 
      default -Os).  However, all gcc-3.* versions seem to have a problem with 
      this.  Instead of blacklisting them all unconditionally, better just abort
      when a bad case occurs especially since this bad case doesn't seem to
      appear with current default compiler flags.  Depends on patch #1824.
      3dae285a
    • Nicolas Pitre's avatar
      [ARM PATCH] 1824/1: guard against gcc not respecting local variable register assignment · 74708ced
      Nicolas Pitre authored
      Patch from Nicolas Pitre
      
      The recent discovery of a problem with gcc not always respecting register
      assignment for local variables to be used with inline assembly is worrisome.
      If unnoticed, such problems can cover bugs that might prove hard to find
      especially when the code is right but silently ignored.  This patch adds a
      test where needed to have the assembler confirm our register selection and
      fail the kernel build if the wrong registers are allocated.
      74708ced
  3. 22 Apr, 2004 36 commits
    • Linus Torvalds's avatar
      Merge bk://kernel.bkbits.net/davem/net-2.6 · 8a51beef
      Linus Torvalds authored
      into ppc970.osdl.org:/home/torvalds/v2.6/linux
      8a51beef
    • Linus Torvalds's avatar
      Merge bk://kernel.bkbits.net/gregkh/linux/driver-2.6 · c8682fb0
      Linus Torvalds authored
      into ppc970.osdl.org:/home/torvalds/v2.6/linux
      c8682fb0
    • David S. Miller's avatar
      Merge nuts.davemloft.net:/disk1/BK/network-2.6 · 88d0505c
      David S. Miller authored
      into nuts.davemloft.net:/disk1/BK/net-2.6
      88d0505c
    • Linda Xie's avatar
      [PATCH] symlink doesn't support kobj name > 20 charaters (KOBJ_NAME_LEN) · 1c710c64
      Linda Xie authored
      Since symlink.c uses "name" field of a kobj when it calculates the
      length,  it gets a wrong value if the kobj's name  has more than 20
      charathers.  A correct way to do that is to call kobject_name(kobj)
      instead of using kobj->name directly.
      1c710c64
    • Linus Torvalds's avatar
      Merge bk://kernel.bkbits.net/gregkh/linux/usb-2.6 · bad3b717
      Linus Torvalds authored
      into ppc970.osdl.org:/home/torvalds/v2.6/linux
      bad3b717
    • Romain Liévin's avatar
      [PATCH] tipar char driver: wrong timeout value · c0b3a38f
      Romain Liévin authored
      this patch (2.4 & 2.6) fixes a bug about the timeout value. The formula
      used to calculate jiffies from timeout is wrong.
      The new formula is ok and takes care of integer computation/rounding.
      There is the same bug in the tiglusb.c module which will be fixed by another
      patch.
      c0b3a38f
    • David Brownell's avatar
      [PATCH] USB: usbnet and pl2301/2302 reset · eb757e4f
      David Brownell authored
      Handle some PL-2301/2302 devices better.
      eb757e4f
    • Jan Capek's avatar
      [PATCH] USB: ftdi patch fixup · 78bf7a14
      Jan Capek authored
      I just checked out the latest 2.6.6-rc1-mm1 to see that the ID patch for
      ftdi has applied cleanly, but apparently someone was faster and in the
      combined ID table our ID's were missing.
      Most probably the patch program got confused and applied the hung at wrong
      spot..
      
      Attached is a patch that places that 2 lines in the correct spot.
      78bf7a14
    • Romain Liévin's avatar
      [PATCH] USB: tiglusb: wrong timeout value · 52f62ca4
      Romain Liévin authored
      Hi,
      
      this patch (cumulative; 2.4 & 2.6) fixes another bug in the tiglusb
      driver. The formula used to calculate jiffies from timeout is wrong.
      The new formula is ok and takes care of integer computation/rounding.
      This is the same kind of bug than in the tipar char driver.
      52f62ca4
    • William Lee Irwin III's avatar
      [PATCH] USB: silence dpcm warning · b157e37f
      William Lee Irwin III authored
      Warnings aren't terribly important in and of themselves, but there
      isn't really much the warning tells us to do here, so it would appear
      that caving in to the compiler is the thing to do for now.
      b157e37f
    • David Brownell's avatar
      [PATCH] USB: rndis gadget driver updates · 920f873a
      David Brownell authored
      Various build fixes:  64bit (Andrew Morton), static linking,
      broken on big-endian, etc.
      
      Tighten up the integration with the main "ether" driver, so
      state transitions and host ethernet addresses are shared too.
      Add missing spinlock calls around RNDIS command outcall,
      fix GET_INTERFACE issue, host mustn't clobber netdev flags.
      
      Minor code cleanups.
      920f873a
    • David Brownell's avatar
      [PATCH] USB: ehci handles pci misbehavior better · 836115bf
      David Brownell authored
      Cope better when PCI misbehaves badly and registers misbehave:
      
          - terminate some loops before they get to infinity
             * capability scan
             * port reset
          - after init failure, memory may already be cleaned up
      
      Some systems have been reporting such problems after ACPI resume.
      836115bf
    • Mikael Pettersson's avatar
      [PATCH] use smp_processor_id() in init_IRQ() · 98a5d354
      Mikael Pettersson authored
      This replaces current_thread_info()->cpu in i386' init_IRQ() by the
      equivalent smp_processor_id().
      
      Reduces overhead on UP, and makes the code cleaner.
      98a5d354
    • Mikael Pettersson's avatar
      [PATCH] clean up Pentium M quirk code in nmi.c · 7bc2551d
      Mikael Pettersson authored
      This simplifies the Pentium M quirk code in nmi.c, and eliminates an
      unnecessary apic_read().
      
      Local APIC accesses are not zero-cycle; let's not inflict more damage
      than we must.
      7bc2551d
    • Andrew Morton's avatar
      [PATCH] ppc64: Set ARCH_MIN_TASKALIGN · f377a822
      Andrew Morton authored
      From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      
      We need some alignement of those structs for proper operations especially
      with FP and Altivec, or SLAB_DEBUG can break us.
      f377a822
    • Andrew Morton's avatar
      [PATCH] ppc64: add some iSeries proc entries · cec75551
      Andrew Morton authored
      From: Stephen Rothwell <sfr@canb.auug.org.au>
      
      This patch just adds some proc entries for the virtual tape and cdrom
      drivers to allow mapping between linux devices and OS/400 ones.  This is
      expected by existing users and there is no other way to do this
      translation.
      cec75551
    • Andrew Morton's avatar
      [PATCH] sunrpc rmmod oops fix · 32419a40
      Andrew Morton authored
      From: "J. Bruce Fields" <bfields@fieldses.org>
      
      Unregister svcauth_gss caches on exit from gss module; fixes an oops on
      rmmod.
      32419a40
    • Andrew Morton's avatar
      [PATCH] Set ARCH_MIN_TASKALIGN on ppc32 · 39b000cf
      Andrew Morton authored
      From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      
      From: David Woodhouse <dwmw2@infradead.org>
      
      Without this the task struct gets unaligned when using SLAB_DEBUG, causing
      random problems with FP and Altivec.
      39b000cf
    • Andrew Morton's avatar
      [PATCH] Update comment in fs/compat.c · 366779f7
      Andrew Morton authored
      From: Ralf Baechle <ralf@linux-mips.org>
      
      MIPS now also uses the generic ioctl compat code.
      366779f7
    • Andrew Morton's avatar
      [PATCH] MIPS is an a.out free zone · 479308ad
      Andrew Morton authored
      From: Ralf Baechle <ralf@linux-mips.org>
      
      MIPS never uses a.out
      479308ad
    • Andrew Morton's avatar
      [PATCH] Merge missing MIPS i8042 bits · 2b7058b3
      Andrew Morton authored
      From: Ralf Baechle <ralf@linux-mips.org>
      
      - Add HPC3 PS/2 driver bits for SGI IP22 aka Indy
      - Add Mace PS/2 driver bits for SGI IP32 aka O2
      - Add R4030 PS/2 driver bits for Jazz family
      - Don't register I/O ports where we're using the I/O port memory window
         to access the i8042 registers
      2b7058b3
    • Andrew Morton's avatar
      [PATCH] Add Pete Popov to credits · 0ef7471d
      Andrew Morton authored
      From: Ralf Baechle <ralf@linux-mips.org>
      
      Add Pete to CREDITS for all the time he's invested into supporting the AMD
      Alchemy of SOCs and eval boards.
      0ef7471d
    • Andrew Morton's avatar
      [PATCH] MIPS: PCI code is now shared. · c833da0b
      Andrew Morton authored
      From: Ralf Baechle <ralf@linux-mips.org>
      
      All MIPS systems use the same PCI code now.
      c833da0b
    • Andrew Morton's avatar
      [PATCH] fbdev comment fix · 82e07b2c
      Andrew Morton authored
      Fix the incorrect comment which caused the fb_ioctl confusion.
      82e07b2c
    • Andrew Morton's avatar
      [PATCH] dynamic proc cleanups · e5c7f247
      Andrew Morton authored
      From: Matt Mackall <mpm@selenic.com>
      
      Delete obsolete comment and kill test of obsolete define.
      e5c7f247
    • Andrew Morton's avatar
      [PATCH] EDD: set sysfs attr owner field · 507662e1
      Andrew Morton authored
      From: Matt Domsch <Matt_Domsch@dell.com>
      
      The patch below from Michael E.  Brown properly sets the owner field of a
      sysfs attribute.  Without this patch, it is possible to crash the kernel with
      a simultaneous insmod/rmmod while reading files exported by the module.
      507662e1
    • Andrew Morton's avatar
      [PATCH] s390: crypto api. · fcde1407
      Andrew Morton authored
      From: Martin Schwidefsky <schwidefsky@de.ibm.com>
      
      Add support for z990 crypto instructions to in-kernel crypto api.
      fcde1407
    • Andrew Morton's avatar
      [PATCH] s390: zfcp adapter fixes. · 35a52a80
      Andrew Morton authored
      From: Martin Schwidefsky <schwidefsky@de.ibm.com>
      
      zfcp host adapter changes:
       - Fix error recovery stall in case of unavailable nameserver.
       - Reset host_scribble field to NULL in scsi_cmd.
       - Remove request debug code.
      35a52a80
    • Andrew Morton's avatar
      [PATCH] s390: dasd device driver. · 19edabfd
      Andrew Morton authored
      From: Martin Schwidefsky <schwidefsky@de.ibm.com>
      
      dasd device driver changes:
       - Initialize open_count with -1 to account for blkdev_open in
         dasd_scan_partitions.
       - Introduce USE_ERP request flag to selectivly switch off error
         recovery for reserve, release & unconditional reserve ioctls.
      19edabfd
    • Andrew Morton's avatar
      [PATCH] s390: network device drivers. · 8d21a7e3
      Andrew Morton authored
      From: Martin Schwidefsky <schwidefsky@de.ibm.com>
      
      Network driver changes:
       - qeth: Fix reference counting in regard to sysfs backing store patches.
       - qeth: Prefix kernel thread names with qeth_.
       - qeth: Remove inbound and outbound tasklets. Handle buffers directly
               in the interrupts handlers.
       - iucv: Add missing kfree in iucv_register_program.
       - iucv: Add missing return in netiucv_transmit_skb.
       - iucv: Check for NULL pointer in conn_action_txdone.
      8d21a7e3
    • Andrew Morton's avatar
      [PATCH] s390: 3270 device driver. · c6f7f898
      Andrew Morton authored
      From: Martin Schwidefsky <schwidefsky@de.ibm.com>
      
      3270 device driver changes:
       - Add NULL pointer checks.
      c6f7f898
    • Andrew Morton's avatar
      [PATCH] s390: common i/o layer. · 3b1e2468
      Andrew Morton authored
      From: Martin Schwidefsky <schwidefsky@de.ibm.com>
      
      Common i/o layer changes:
       - Quiesce active subchannels for lpar reipl.
       - Delete timer after reception of interrupt for kill on timeout.
       - Cleanup some comments in qdio.
      3b1e2468
    • Andrew Morton's avatar
      [PATCH] s390: core s390. · a23d3734
      Andrew Morton authored
      From: Martin Schwidefsky <schwidefsky@de.ibm.com>
      
      s390 core changes:
       - Fix race in do_call_softirq in regard to kernel preemption.
       - Fix typo in compat mq system call wrappers.
       - Add s390 to Kconfig for AUDITSYSCALL.
       - Redefine TASK_SIZE to TASK31_SIZE for compilation of binfmt_elf32.
       - Use correct error value for sys32_ipc when called with an invalid number.
       - New default configuration.
      a23d3734
    • Andrew Morton's avatar
      [PATCH] ppc64: iSeries virtual cdrom module fix · ff15d3ec
      Andrew Morton authored
      From: Stephen Rothwell <sfr@canb.auug.org.au>
      
      This patch fixes loading viocd as a module.  It would oops because I was
      passing the address of a static buffer to dma_map_single and when loaded as
      a module, this address is not valid for that purpose.
      
      There are a couple of simple cleanups here as well.
      ff15d3ec
    • Andrew Morton's avatar
      [PATCH] remove show_trace_task() · d8932719
      Andrew Morton authored
      It no longer has any callers.
      d8932719
    • Greg Kroah-Hartman's avatar