1. 16 Mar, 2004 40 commits
    • Andrew Morton's avatar
      [PATCH] SHMLBA compat task alignment fix · 9c6d7e92
      Andrew Morton authored
      From: Arun Sharma <arun.sharma@intel.com>
      
      The current Linux implementation of shmat() insists on SHMLBA alignment even
      when shmflg & SHM_RND == 0.  This is not consistent with the man pages and
      the single UNIX spec, which require only a page-aligned address.
      
      However, some architectures require a SHMLBA alignment for correctness in all
      cases.  Such architectures use __ARCH_FORCE_SHMLBA.
      9c6d7e92
    • Andrew Morton's avatar
      [PATCH] cpqarray: check pci_register_driver() return value · 289b0e41
      Andrew Morton authored
      From: <mikem@beardog.cca.cpqcorp.net>
      
      * Examines rc of pci_register_driver and returns
      289b0e41
    • Andrew Morton's avatar
      [PATCH] cpqarray: use PCI APIs · 13034f82
      Andrew Morton authored
      From: <mikem@beardog.cca.cpqcorp.net>
      
      - Change to use pci APIs (change from 2.4.18 to 2.4.19)
      
        This also includes eisa detection fix during initialization which was
        missing from 2.4.19 but fixed in 2.4.25
      13034f82
    • Andrew Morton's avatar
      [PATCH] cpqarray: I/O address fixes · 795c3847
      Andrew Morton authored
      From: <mikem@beardog.cca.cpqcorp.net>
      
      * cpqarray in kernel 2.6.1 seems to be based from 2.4.18 kernel with
        specific 2.6.x stuff added.
      
      * Defines io_mem_addr and io_mem_length to replace ioaddr (change from
        2.4.18 to 2.4.19)
      795c3847
    • Andrew Morton's avatar
      [PATCH] cpqarray: rmmod oops fix · a1587fde
      Andrew Morton authored
      From: <mikem@beardog.cca.cpqcorp.net>
      
      * Fix for segmentation fault when calling rmmod
      a1587fde
    • Andrew Morton's avatar
      [PATCH] cpqarray: increment version number · 96d169c2
      Andrew Morton authored
      From: <mikem@beardog.cca.cpqcorp.net>
      
      The following patch bumps the driver version to 2.6.0.  Please apply in
      order.
      96d169c2
    • Andrew Morton's avatar
      [PATCH] devices.txt: add more devices · f8dde445
      Andrew Morton authored
      From: "Cagle, John (ISS-Houston)" <john.cagle@hp.com>
      
      Patch 3 adds all the new official device registrations that weren't already
      there.  This brings devices.txt up-to-date with LANANA.
      f8dde445
    • Andrew Morton's avatar
      [PATCH] devices.txt: typos and removal of dead devices · a74e11ff
      Andrew Morton authored
      From: "Cagle, John (ISS-Houston)" <john.cagle@hp.com>
      
      Patch 2 fixes some typos in devices.txt and removes ancient devices never
      used.  Pretty obvious stuff.
      a74e11ff
    • Andrew Morton's avatar
      [PATCH] clean up devices.txt · 60d9125b
      Andrew Morton authored
      From: "Cagle, John (ISS-Houston)" <john.cagle@hp.com>
      
      Patch 1 cleans up the format by making devices.txt easily parsable.
      Mainly this involved adding the word "block" after all the block major
      numbers since the previous format didn't include it.
      60d9125b
    • Andrew Morton's avatar
      [PATCH] hugetlb_zero_setup() race fix · f8c6db82
      Andrew Morton authored
      Make the handling of the hugetlb-backed shm file's name counter SMP-safe.
      
      (What stops hugetlb_zero_setup() racing with umount?)
      f8c6db82
    • Andrew Morton's avatar
      [PATCH] make config_max_raw_devices work · 7bfcc033
      Andrew Morton authored
      From: "Kenneth Chen" <kenneth.w.chen@intel.com>
      
      Even though there is a CONFIG_MAX_RAW_DEVS option, it doesn't actually
      increase the number of raw devices beyond 256 because during the char
      registration, it uses the standard register_chrdev() interface which has
      hard coded 256 minor in it.  Here is a patch that fix this problem by using
      register_chrdev_region() and cdev_(init/add/del) functions.
      7bfcc033
    • Andrew Morton's avatar
      [PATCH] x86 vsyscall alignment fix · a50d447d
      Andrew Morton authored
      From: Andy Whitcroft <andyw@uk.ibm.com>
      
      The vsyscall implementation for ia32 provides two different vsyscall pages;
      one to use int80 and the other to use sysenter.  Each includes a common
      signal trailer.  The kernel requires the alignment of routines in this
      trailer be consistent in both copies.  However this is not enforced at
      compile time.  Failure to maintain this alignment typically leads to an
      obscure SIGSEGV in init during boot.  This critical alignment requirement
      is not well documented.
      
      Below is a patch to better document the alignment requirements and to
      enforce the requirement.
      a50d447d
    • Andrew Morton's avatar
      [PATCH] s390: tape driver fixes. · 9797ead5
      Andrew Morton authored
      From: Martin Schwidefsky <schwidefsky@de.ibm.com>
      
      tape driver fixes:
       - Link from ccw device to class device in sysfs.
       - Cosmetic changes.
       - Add copyright statements.
      9797ead5
    • Andrew Morton's avatar
      [PATCH] s390: z/VM monitor stream. · ed8e66ba
      Andrew Morton authored
      From: Martin Schwidefsky <schwidefsky@de.ibm.com>
      
      Fix for z/VM monitor stream:
       - Add try_module_get and module_put to the [un]register functions.
       - Some code beautification.
      ed8e66ba
    • Andrew Morton's avatar
      [PATCH] s390: dasd driver fixes. · 97de3ddf
      Andrew Morton authored
      From: Martin Schwidefsky <schwidefsky@de.ibm.com>
      
      dasd driver fixes:
       - Remove additional dasd attributes for a ccw-device if the discipline
         (=driver) gets unloaded.
       - Fix race of dasd_generic_offline against dasd_open.
       - Remove irq_exit calls from diag interrupt handler. The irq_enter/
         irq_exit is done in the external interrupt handler.
      97de3ddf
    • Andrew Morton's avatar
      [PATCH] s390: network driver fixes. · 86b75b47
      Andrew Morton authored
      From: Martin Schwidefsky <schwidefsky@de.ibm.com>
      
      network driver fixes:
       - Use SET_NETDEV_DEV to create the link from the network device to the
         physical device. Remove link from physical to network device.
       - Remove some unnecessary casts in netiucv.
       - Add missing strings to dev_stat_names & dev_event_names.
       - Add missing preempt_disable/preempt_enable pairs in iucv.
       - Allow to change the peer username in netiucv.
      86b75b47
    • Andrew Morton's avatar
      [PATCH] s390: sclp fix. · f0d23b91
      Andrew Morton authored
      From: Martin Schwidefsky <schwidefsky@de.ibm.com>
      
      sclp console fixes:
        - Replace irq_enter/irq_exit pair with Add local_bh_enable/local_bh_disable.
      f0d23b91
    • Andrew Morton's avatar
      [PATCH] s390: common i/o layer. · 5c1fa264
      Andrew Morton authored
      From: Martin Schwidefsky <schwidefsky@de.ibm.com>
      
      Common i/o layer fixes:
       - Improve blacklist argument parsing.
       - Fix device recognition for devices where SenseID fails.
       - Don't try to set a device online that has no driver.
       - Chain a release ccw to the unconditional reserve ccw for forced online.
       - Fix irb accumulation for pure status pending with eswf set.
       - Fix rc handling in qdio_shutdown.
       - Improve retry behavious for busy conditions on qdio.
       - Fix activity check in ccw_device_start/read_dev_chars and read_conf_data.
      5c1fa264
    • Andrew Morton's avatar
      [PATCH] s390: core · a1366931
      Andrew Morton authored
      From: Martin Schwidefsky <schwidefsky@de.ibm.com>
      
      s390 core changes:
       - Merge 31 and 64 bit NR_CPUS config option. Default to 32 cpus.
       - Remove unused system calls from compat_linux.c.
       - Add statfs64 and fstatfs64. Reserve system call number for
         remap_file_pages.
       - Merge do_signal32 into do_signal.
       - Don't remove the per bit and the program mask from the user psw
         due to a signal.
       - Fix a problem with gdb and interrupted system calls.
       - Fix single stepping of interrupted system calls.
       - Fix compiler warnings in bitops.h.
      a1366931
    • Andrew Morton's avatar
      [PATCH] ppc64: run bitops.c through Lindent · 8142773c
      Andrew Morton authored
      From: Anton Blanchard <anton@samba.org>
      
      bitops.c was a bit of a mess wrt formatting so run it through Lindent.  No
      code changes.
      8142773c
    • Andrew Morton's avatar
      [PATCH] ppc32: Fix thinko in PCI_DMA_FOO to DMA_FOO conversion · 2118a037
      Andrew Morton authored
      From: Tom Rini <trini@kernel.crashing.org>
      
      When I converted the use of PCI_DMA_foo constants to DMA_foo constants, I
      forgot that it's PCI_DMA_FROMDEVICE and DMA_FROM_DEVICE.  The following
      fixes that.
      2118a037
    • Andrew Morton's avatar
      [PATCH] ppc32: Update <asm-ppc/dma-mapping.h> · ee80ca7c
      Andrew Morton authored
      From: Tom Rini <trini@kernel.crashing.org>
      
      include/asm-ppc/dma-mapping.h was made to be a 'real' header recently and
      therefore missed out on the updates that davem did to all of the other
      versions.  This updates <asm-ppc/dma-mapping.h> to match what's expected
      now.
      ee80ca7c
    • Andrew Morton's avatar
      [PATCH] ppc32: Fix PCI DMA API changes · ddcc6311
      Andrew Morton authored
      From: Tom Rini <trini@kernel.crashing.org>
      
      When Dave Miller updated <asm-ppc/pci.h> for the _for_device and _for_cpu
      portions of the PCI DMA API, he assumed that on PPC32 consistent_sync*
      would also need to be changed for device or cpu.  This is not the case, so
      what this does is the pci_*_for_{cpu,device} calls call
      consistent_sync{,page} again.
      ddcc6311
    • Andrew Morton's avatar
      [PATCH] ppc32: Fix c&p error in arch/ppc/syslib/indirect_pci.c · 10e50a68
      Andrew Morton authored
      From: Tom Rini <trini@kernel.crashing.org>
      
      Fix a cut & paste error in forward porting from 2.4, we don't reference
      dev->bus or dev->devfn, both are passed as arguments.
      10e50a68
    • Linus Torvalds's avatar
      Merge bk://gkernel.bkbits.net/misc-2.6 · 08fec736
      Linus Torvalds authored
      into ppc970.osdl.org:/home/torvalds/v2.5/linux
      08fec736
    • Andi Kleen's avatar
      [PATCH] Fix memory corruption on hyperthreaded x86-64 machines · a44059c5
      Andi Kleen authored
      Fix memory corruption in the HT init on x86-64 recently introduced by me.
      
      Fix from from Suresh B. Siddha.
      a44059c5
    • Chen Yang's avatar
      [PATCH] Make intermezzo work again · 253112b4
      Chen Yang authored
       - Chen Yang's fix to work with NGROUPS
       - Chen Yang's fix to handle file deletion
       - Remove TCGETS handling and return  -ENOTTY for unknown ioctl code.
       - Removed InterMezzo from BROKEN state
      253112b4
    • Jeff Garzik's avatar
    • Anton Blanchard's avatar
      [PATCH] fix ppc rtas compile · 9cb5a22b
      Anton Blanchard authored
      The proc_rtas_init call in procfs was removed (replaced with an
      initcall) but the prototype was still hiding. Kill it.
      9cb5a22b
    • Bartlomiej Zolnierkiewicz's avatar
      [PATCH] hpt366.c: DMA timeout fix for HPT374 · fdd3e3e8
      Bartlomiej Zolnierkiewicz authored
      From: Andre Hedrick <andre@linux-ide.org>
      
      Tested on Epox 8K9A3+ and 4PCA3+ by Tomi Orava <Tomi.Orava@ncircle.nullnet.fi>.
      fdd3e3e8
    • Bartlomiej Zolnierkiewicz's avatar
      [PATCH] ATI IXP IDE support · 654664f0
      Bartlomiej Zolnierkiewicz authored
      It was tested by a few people and has been in -mm since 2.6.4-rc2-mm1.
      654664f0
    • Bartlomiej Zolnierkiewicz's avatar
    • Bartlomiej Zolnierkiewicz's avatar
      [PATCH] ide-scsi.c: fix ATAPI multi-lun support · 54cdbb65
      Bartlomiej Zolnierkiewicz authored
      ATAPI multi-lun support has been broken for a long time.
      
      It used to be that "(drive->id->last_id & 0x7) + 1" was used as
      shost->max_lun and the "hdXlun=" kernel parameter could be used to
      override this value.
      
      However it was far from optimal:
      - people played with "hdXlun=" and then complained about multiple instances
        of the same device (most ATAPI drives respond to each LUN)
      - probably some devices return 7 not 0 in id->last_id (=> 7 x same device)
      
      This patch from Willem Riede <wrlk@riede.org> fixes it w/o need
      for "hdXlun=" option.  It was tested by Willem on ATAPI PD/CD drive.
      54cdbb65
    • Rusty Russell's avatar
      [PATCH] wait_task_inactive should not return on preempt · 3da04c35
      Rusty Russell authored
      wait_task_inactive is now only used in two non-time-critical places: the
      ptrace code to guarantee a schedule and kthread_bind so we can change
      the thread CPU.  Unfortunately with preempt, the code as stands has a
      race: we might return because the thread is preempted, not because it
      actually reached schedule().  The ptrace code (probably) doesn't care,
      but the kthread code does.
      
      This patch simplifies the (now over-optimized) code, and does a yield()
      for the preemption case.
      3da04c35
    • Jeff Garzik's avatar
      84d2b9a7
    • Greg Kroah-Hartman's avatar
      Merge kroah.com:/home/greg/linux/BK/bleed-2.6 · a137983b
      Greg Kroah-Hartman authored
      into kroah.com:/home/greg/linux/BK/usb-2.6
      a137983b
    • Jeremy Katz's avatar
      [PATCH] Fix blkpg ioctl32 handling · 13264682
      Jeremy Katz authored
      Simple obvious patch so that all calls to blkpg from the non-native
      environment don't get -EINVAL
      13264682
    • Linus Torvalds's avatar
      Merge bk://gkernel.bkbits.net/net-drivers-2.6 · 6f3f31b3
      Linus Torvalds authored
      into ppc970.osdl.org:/home/torvalds/v2.5/linux
      6f3f31b3
    • Jeff Garzik's avatar
      Merge redhat.com:/spare/repo/linux-2.5 · e80d89c4
      Jeff Garzik authored
      into redhat.com:/spare/repo/net-drivers-2.6
      e80d89c4
    • Jeff Garzik's avatar
      [netdrvr natsemi] Fix RX DMA mapping · a77fc913
      Jeff Garzik authored
      RX skbs are always considered maximally sized, until actual reception
      of the RX frame occurs.  So, update this driver to always map and
      unmap a maximally sized skb.  This fixes this driver on several
      non-x86 platforms.
      a77fc913