1. 01 Mar, 2004 40 commits
    • Andrew Morton's avatar
      [PATCH] Fix VT mode change vs. fbcon · c0ce26a8
      Andrew Morton authored
      From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      
      This patch implements what we discussed earlier to fix the switch bewteen
      KD_GRAPHICS and KD_TEXT.
      
      It has been tested for a few days now and appear to resolve the problem for
      affected users.
      
      James: I know you have some objections, I don't fully agree with them, and
      I want that in asap now, that bug has been plaguing fbdev since the very
      beginning and it's time to get rid of that and my corresponding todolist
      entry.  You are welcome to propose a patch on top of this one if you feel
      you can make things cleaner.  The approach of adding a parameter to
      con_blank() is Linus idea btw :)
      
      I didn't add a separate function as that would have made the butchering of
      drivers/char/vt beyond what I want to deal with in 2.6.
      c0ce26a8
    • Andrew Morton's avatar
      [PATCH] Fix tty drivers which dont set tty_driver->devfs_name · 3d5daf73
      Andrew Morton authored
      From: Marcelo Tosatti <marcelo.tosatti@cyclades.com>
      
      The following patches fixes tty drivers which dont set devfs_name. Not
      doing so will cause the tty layer to create "/dev/<NULL>x" entries when
      devfs is being used.
      
      I used "drivername/" in isicom and pcxe because the letter used to
      identify them are already used by other drivers.
      3d5daf73
    • Andrew Morton's avatar
      [PATCH] NFS SUNRPC fix · 57c08314
      Andrew Morton authored
      From: James Morris <jmorris@redhat.com>
      
      The patch below fixes a bug in the error handling code of
      xprt_create_socket().  If sock_create() fails, we should not try and
      release the non existent socket.
      
      This fix is by James Carter <jwcart2@epoch.ncsc.mil>.
      57c08314
    • Andrew Morton's avatar
      [PATCH] DCSSBLK depends on CONFIG_S390 · 348a16e2
      Andrew Morton authored
      From: Dave Jones <davej@redhat.com>
      
      This is probably useless on x86 for eg..  (Everything else in this file is
      dependant on some other s390 feature, so only this one shows up).  Too bad
      the drivers/s390/block stuff gets source'd at all on !s390.
      348a16e2
    • Andrew Morton's avatar
      [PATCH] linux/README update · 18f94561
      Andrew Morton authored
      From: Zwane Mwaikambo <zwane@linuxpower.ca>
      
      Patch to resolve http://bugzilla.kernel.org/show_bug.cgi?id=1644
      
      The bug reporter pointed out a bit of outdated information in the README
      file.
      
      Test booted on a 32x NUMAQ with 10,000 disks
      18f94561
    • Andrew Morton's avatar
      [PATCH] raid1: fix oops in bio_put() · c681eba4
      Andrew Morton authored
      From: Neil Brown <neilb@cse.unsw.edu.au>
      
      Fix an off-by-one in the r1buf_pool_alloc() ENOMEM error recovery path.
      c681eba4
    • Andrew Morton's avatar
      [PATCH] C99 initiailzers for drivers/isdn/hisax/hisax_fcpcipnp.c · 4fc40b02
      Andrew Morton authored
      From: "Art Haas" <ahaas@airmail.net>
      
      Here is a small patch changing the GNU-style initializers to C99
      initializers.
      4fc40b02
    • Andrew Morton's avatar
      [PATCH] C99 initializers for drivers/usb/serial/keyspan.h · e1c578b5
      Andrew Morton authored
      From: "Art Haas" <ahaas@airmail.net>
      
      Here's a small patch changing the GNU-style initializers to C99
      initializers.
      e1c578b5
    • Andrew Morton's avatar
      [PATCH] zr36067 driver update · 2a089a96
      Andrew Morton authored
      From: "Ronald S. Bultje" <rbultje@ronald.bitfreak.net>
      
      Fix the zoran driver (zr36067) for the fact that we did not handle
      bitrate-conversion at all in the zr36050 MJPEG codec (on DC30 cards), with
      the result being that at high-resolution, we'd overload the PCI bus and
      drop half of our video capture data into /dev/null'ishness.
      
      Also update Ronald's email address in MAINTAINERS.
      2a089a96
    • Andrew Morton's avatar
      [PATCH] revert the /proc thread visibility fix · 5d8087c3
      Andrew Morton authored
      It appears that gdb, perfmon and perhaps other applications are already
      opening /proc/<tid> even though it does not appear in /proc readdir output
      and is available under its group leader's directory anyway.
      
      Apparently ascertaining the group leader is hard for gdb and thsi trick
      always worked for LinuxThreads apps.
      
      So revert this change.
      5d8087c3
    • Andrew Morton's avatar
      [PATCH] dm-crypt end_io bv_offset fix · 12f6f861
      Andrew Morton authored
      From: Christophe Saout <christophe@saout.de>
      
      We should copy the bvec array for read requests so that we still
      have the unmodified bvec array to decrypt the data afterwards.
      
      (as discussed earlier this day for highmem bounces)
      12f6f861
    • Andrew Morton's avatar
      [PATCH] dm-crypt cleanups · 08e03016
      Andrew Morton authored
      From: Christophe Saout <christophe@saout.de>
      
      These are some dm-crypt cleanups.  Use a #define PFX "crypt: " for all the
      places where something gets logged as suggested by Jeff Garzik.  It also
      adds a small additional security check and fixed header includes.
      08e03016
    • Andrew Morton's avatar
      [PATCH] fix in-place de/encryption bug with highmem · 2a0d3e3a
      Andrew Morton authored
      From: Christophe Saout <christophe@saout.de>
      
      This patch fixes the bug where in-place encryption was not detected when
      the same highmem pages is mapped twice to different virtual addresses.
      
      This adds a parameter to xxx_process to indicate whether this is an
      in-place encryption and moves the responsability to the caller using a
      helper function scatterwalk.h.
      2a0d3e3a
    • Andrew Morton's avatar
      [PATCH] move scatterwalk functions to own file · 5f9e594b
      Andrew Morton authored
      From: Christophe Saout <christophe@saout.de>
      
      I've cleaned up the latest patches and adjusted the header files.
      
      This patch moves the scatterwalk functions from cipher.c to
      scatterwalk.c and adds a header file.
      5f9e594b
    • Andrew Morton's avatar
      [PATCH] fix small highmem bio bounce bvec handling glitch · 802c64c9
      Andrew Morton authored
      From: Christophe Saout <christophe@saout.de>
      
      __end_that_request_first might modify the bv_offset and bv_len if the
      segment was partially completed.  The bio-read-bounce-back code should use
      the unmodified bv_offset when copying the segment data:
      802c64c9
    • Andrew Morton's avatar
      [PATCH] sysrq-o atomicity fix · 2a82ff98
      Andrew Morton authored
      sysrq-o is supposed to power off the machine.  But if it calls into ACPI (at
      least) it does lots of sleepy things, so we best not do this from interrupt
      context.
      2a82ff98
    • Andrew Morton's avatar
      [PATCH] Doc/00-index additions · 8edad723
      Andrew Morton authored
      From: "Randy.Dunlap" <rddunlap@osdl.org>
      
      From: Alexey Dobriyan <adobriyan@mail.ru>
      
      Mostly added descriptions of files in Documentation/ that were not listed
      in Documentation/00-INDEX.
      8edad723
    • Andrew Morton's avatar
      [PATCH] s390: xpram driver · 3ed75bc3
      Andrew Morton authored
      From: Martin Schwidefsky <schwidefsky@de.ibm.com>
      
      xpram fix: Replace old style module parameter definition with new style.
      3ed75bc3
    • Andrew Morton's avatar
      [PATCH] s390: tape class for s390 tapes · a8e788da
      Andrew Morton authored
      From: Martin Schwidefsky <schwidefsky@de.ibm.com>
      
      s390 tape device driver changes:
      
      - Add private tape class to support udev configuration.
      a8e788da
    • Andrew Morton's avatar
      [PATCH] s390: sclp console · 60da26d9
      Andrew Morton authored
      From: Martin Schwidefsky <schwidefsky@de.ibm.com>
      
      sclp console fixes:
      
      - Add signal-quiesce bug-fix from 2.4.
      
      - Add irq_enter/irq_exit to sclp_sync_wait to prevent the softirqs from
        processing after the external interrupt.
      60da26d9
    • Andrew Morton's avatar
      [PATCH] s390: common i/o layer. · 35181f43
      Andrew Morton authored
      From: Martin Schwidefsky <schwidefsky@de.ibm.com>
      
      Common i/o layer fixes:
      
      - Remove documentation entry for non-existent cio_notoper_msg parameter.
      
      - Add documentation for availability attritube.
      
      - Replace function of the steal_lock attribute by "echo force" to the
        online attribute.
      
      - Trigger device sensing in the online function for unknown devices.
      
      - Always try to get devices online even if they are marked reserved.
        Someone could have released the device while it was offline.
      
      - Add try_module_get/module_put pairs to the online function of ccw devices
        and ccwgroup devices.
      
      - Add owner field to ccwgroup driver structure.  Set owner field in ctc,
        lcs and qeth.
      
      - Fix alignment problems in channel measurement block interface.
      35181f43
    • Andrew Morton's avatar
      [PATCH] s390: core s390 update · df6560ba
      Andrew Morton authored
      From: Martin Schwidefsky <schwidefsky@de.ibm.com>
      
      s390 bug fixes:
      
      - Add missing i/o controls to compat ioctl translation table.
      
      - Fix some gcc 3.4 warnings.
      
      - Export _sb_findmap.
      
      - Export smp_call_function_on only if CONFIG_SMP=y.
      
      - Add safe-guard to diag10.
      
      - Add type definition for compat_timer_t.
      
      - Fix first argument of signal_processor_ps.
      df6560ba
    • Andrew Morton's avatar
      [PATCH] ppc64: Update G5 defconfig, remove DISCONTIGMEM · 5ba43334
      Andrew Morton authored
      From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      
      This patch updates the g5_defconfig on ppc64, running it through oldconfig
      and removing CONFIG_DISTCONTIGMEM.  I don't use the discontigmem stuff at
      all, even on machines with +2Gb of RAM, so it's just bloat.
      5ba43334
    • Andrew Morton's avatar
      [PATCH] Add missing numa EXPORT_SYMBOLs · bddf7e5d
      Andrew Morton authored
      From: Anton Blanchard <anton@samba.org>
      
      Add some missing EXPORT_SYMBOLs.
      bddf7e5d
    • Andrew Morton's avatar
      [PATCH] ppc64: iSeries virtual disk update · 6431870d
      Andrew Morton authored
      From: Stephen Rothwell <sfr@canb.auug.org.au>
      
      This patch (hopefully) addresses concerns Christoph Hellwig had with the
      virtual disk probing code.
      6431870d
    • Andrew Morton's avatar
      [PATCH] ppc64: fix a bug in iSeries MMU hash management · 783c8cbd
      Andrew Morton authored
      From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      
      iSeries HyperVisor is doing some evilery when inserting PTEs that I didn't
      properly account for when rewriting that code, causing iSeries box to blow
      up regulary.
      783c8cbd
    • Andrew Morton's avatar
      [PATCH] fix umount dataloss problem · eb657e38
      Andrew Morton authored
      address_spaces have a `dirtied_when' jiffies field which records the time at
      which the mapping was first dirtied.  This is used for the periodic writeback
      (kupdate) function.  It is also used to prevent livelocks in the writeback
      code: don't try to write back objects which were dirtied after
      sync_sb_inodes() was called.
      
      It used to be the case that dirtied_when == 0 had magical properties, so
      there is code in there which avoids accidentally setting dirtied_when to zero
      at jiffy wrap time.  We just set it to jiffies|1.
      
      Unfortunately, jiffies|1 is in the future.  So under some rare timing
      circumstances (inode dirtied within one jiffy of umount) the livelock
      avoidance code in sync_sb_inodes() can accidentally trigger and we fail to
      write an inode out, resulting in filesytem corruption on ext2-style
      filesystems.  Normally, nobody dirties a file within a millisecond of umount,
      so it was not noticed.
      
      It is no longer the case that (address_space.dirtied_when == 0) has special
      meaning, so we can just remove all that code and fix the bug.
      eb657e38
    • Santiago Leon's avatar
      [PATCH] broken PowerPC Virtual Ethernet · e3602cb0
      Santiago Leon authored
      This fixes the PowerPC Virtual Ethernet driver that got broken by the
      recent ppc64 iommu patch...
      e3602cb0
    • Linus Torvalds's avatar
      Merge bk://gkernel.bkbits.net/libata-2.5 · 521d85de
      Linus Torvalds authored
      into ppc970.osdl.org:/home/torvalds/v2.5/linux
      521d85de
    • Linus Torvalds's avatar
      Merge bk://gkernel.bkbits.net/net-drivers-2.5 · 5f7e3b2f
      Linus Torvalds authored
      into ppc970.osdl.org:/home/torvalds/v2.5/linux
      5f7e3b2f
    • Russell King's avatar
      [PATCH] Wireless pcmcia netdev patches · dc36ad08
      Russell King authored
      On Mon, Nov 17, 2003 at 02:57:44PM -0800, Jean Tourrilhes wrote:
      > On Sun, Nov 16, 2003 at 11:33:01PM +0000, Russell King wrote:
      > > Jean,
      > >
      > > Could you please arrange for this patch to be tested?  It covers all
      > > the PCMCIA wireless drivers in 2.6.0-test9; I haven't been able to
      > > test.
      >
      > 	Dual P500, kernel 2.6.0-test9 + your patch.
      > -------------------------------------------------
      >...
      > 	Few comments :
      > 	o Yanked the cards out of the socket, cardmgr did ifconfig
      > down and removal of module automatically.
      > 	o I did not see any patch for the Orinoco driver, but I did
      > not check if it needs one. Did not look at HostAP either...
      > 	o wl3501_cs : ask Arnaldo.
      > 	o With 2.6.0-test9, I had instances of "can't read CIS". I
      > actually had to reboot to perform the test.
      > 	o The kobject Oops is something I think I saw before. I never
      > remove my Aironet card because I don't want to reboot :-( This time,
      > it seems to have survived better, so I see that as progress ;-)
      
      This patch seems to have been forgotten about, so here it is again,
      this time against 2.6.4-rc1.  This really needs to be send upstream,
      though I don't know where we got to with this one.  Maybe we should
      put it in akpm's tree for a while?
      
      It's essentially more of the "don't deadlock if you pull out a
      PCMCIA network card and it's currently configured up" patch which
      went in recently for PCMCIA NIC cards.
      dc36ad08
    • Marc Zyngier's avatar
      [PATCH] Re: 2.6.4-rc1 + hp100 EISA, not working · 980a33b0
      Marc Zyngier authored
      >>>>> "Pawel" == Pawe  <Pawe> writes:
      
      Pawel> On 2.6.3 it just Oopsed and didn't work. On 2.6.4-rc1 it does
      Pawel> not oops but it doesn't work (neither as module nor as build in kernel).
      
      Note that hp100 in 2.6.4-rc1 is still broken wrt EISA probing, since
      it lacks the terminating entry in the EISA ID list. This one-liner
      should take care of random crashes that are often reported to LKML :
      
      ===== drivers/net/hp100.c 1.24 vs edited =====
      980a33b0
    • Linus Torvalds's avatar
      Merge bk://kernel.bkbits.net/davem/sparc-2.6 · 77dd8f26
      Linus Torvalds authored
      into ppc970.osdl.org:/home/torvalds/v2.5/linux
      77dd8f26
    • Linus Torvalds's avatar
      Merge bk://bk.arm.linux.org.uk/linux-2.6-rmk · 52c785da
      Linus Torvalds authored
      into ppc970.osdl.org:/home/torvalds/v2.5/linux
      52c785da
    • Hollis Blanchard's avatar
      [PATCH] ppc64: export vio_find_node() · e3439af1
      Hollis Blanchard authored
      To hotplug-remove virtual devices, we need vio_find_node() so we have a
      pointer to pass to vio_unregister_device().
      e3439af1
    • Hollis Blanchard's avatar
      [PATCH] ppc64: make "viodev->unit_address" 32-bit · 84c6b89a
      Hollis Blanchard authored
      vio_dev->unit_address only holds 32 bits of information anyways, so no
      need for 64-bit field.
      84c6b89a
    • Greg Kroah-Hartman's avatar
      [PATCH] Fix USB printer transfers · 53e66bd3
      Greg Kroah-Hartman authored
      From Barry K. Nathan
      
      This fixes the ulblp transfer length code, which would otherwise skip
      the final iteration and lead to incomplete printer output (and us
      waiting forever for the transfer to complete)
      53e66bd3
    • David S. Miller's avatar
      Merge davem@nuts.davemloft.net:/disk1/BK/sparc-2.6 · d16bb53b
      David S. Miller authored
      into kernel.bkbits.net:/home/davem/sparc-2.6
      d16bb53b
    • David S. Miller's avatar
      Merge bk://bk.phunnypharm.org/sparc-2.6 · 7121bf30
      David S. Miller authored
      into nuts.davemloft.net:/disk1/BK/sparc-2.6
      7121bf30
    • Ben Collins's avatar
      Merge http://linux.bkbits.net/linux-2.5 · b090abd1
      Ben Collins authored
      into debian.org:/usr/src/kernel/sparc-2.6
      b090abd1