ChangeSet@1.1663, 2004-02-27 02:42:06-08:00, jgarzik@pobox.com [PATCH] Fix broken PIIX build Fix the build. Pass me a brown paper bag. ChangeSet@1.1653.1.62, 2004-02-26 22:52:21-08:00, akpm@osdl.org [PATCH] fbdev cursor fix From: James Simmons This patch creates a separate cursor image drawing region and regular drawing region. ChangeSet@1.1653.1.61, 2004-02-26 22:52:09-08:00, akpm@osdl.org [PATCH] rename other MODULE_VERSION users Avoid cpp clash with the new MODULE_VERSION ChangeSet@1.1653.1.60, 2004-02-26 22:51:58-08:00, akpm@osdl.org [PATCH] Add a MODULE_VERSION macro From: Rusty Russell The way it works is that the .mod file contains the name of the module (as before), but succeeding lines are the constituent parts (assumed to be .c files, which usually works: if they use MODULE_VERSION in a file for which this isn't true we'll get a warning). As we postprocess modules, we look in the .modinfo section for a "version=", which is placed by the MODULE_VERSION() macro. This will be of form "version=" "\0" [24 chars] "\0". The 24 chars are replaced by the md4 sum of the .c files and any files they #include using '#include "file"' which are found in the current directory. Whitespace is collapsed outside strings, and comments are ignored for purposes of the sum. The result is a .modinfo entry such as version=1.16ac-rustytest B13E9451C4CA3B89577DEFF At the kernel summit, various people asked for a MODULE_VERSION macro to store module strings (for later access through sysfs). A simple md4 is needed to identify changes in modules which, inevitably, do not update the version. It skips whitespace and comments, and includes #includes which are in the same dir. The module versions should be set according to this definition, based on the RPM one, or CVS Revision tags. Violators will be shot. [`:'][`-'] : A (small) unsigned integer which allows you to start versions anew. If not mentioned, it's zero. eg. "2:1.0" is after "1:2.0". : The may contain only alphanumerics. : Like , but inserted for local customizations, eg "rh3" or "rusty1". Comparison of two versions (assuming same epoch): Split each into all-digit and all-alphabetical parts. Compare each one one at a time: digit parts numerically, alphabetical in ASCII order. So 0.10 comes after 0.9. ChangeSet@1.1653.1.59, 2004-02-26 22:51:46-08:00, akpm@osdl.org [PATCH] kNFSd: return more than one page of directory entries. From: NeilBrown From: Bruce Allan This requires checking if the entry will fit in the current page and, if it doesn't, encoding it into the next page, and then copying it back to lie across the boundary between two pages. ChangeSet@1.1653.1.58, 2004-02-26 22:51:34-08:00, akpm@osdl.org [PATCH] kNFSd: make sure sunrpc init routines called before gss init routines. From: NeilBrown make sure sunrpc init routines called before gss init routines. ChangeSet@1.1653.1.57, 2004-02-26 22:51:23-08:00, akpm@osdl.org [PATCH] kNFSd: Make the calculation in the first READ_BUF easier to understand. From: NeilBrown Don't rely on the assumption that sizeof(stateid_t) == sizeof(stateid_opaque_t) + 4. ChangeSet@1.1653.1.56, 2004-02-26 22:51:12-08:00, akpm@osdl.org [PATCH] kNFSd: Fix out-of-spec error return in attribute decoding. From: NeilBrown Fix out-of-spec error return in attribute decoding. ChangeSet@1.1653.1.55, 2004-02-26 22:51:01-08:00, akpm@osdl.org [PATCH] kNFSd: Miscellaneous fixes to stateid-based replay From: NeilBrown Save replays for LOCK operations, make sure errors are replayed correctly. ChangeSet@1.1653.1.54, 2004-02-26 22:50:50-08:00, akpm@osdl.org [PATCH] kNFSd: Fix an out-of-spec error in nfsd4_remove. From: NeilBrown Fix an out-of-spec error in nfsd4_remove. ChangeSet@1.1653.1.53, 2004-02-26 22:50:39-08:00, akpm@osdl.org [PATCH] kNFSd: Fix an out-of-spec readlink error return. From: NeilBrown Fix an out-of-spec readlink error return. ChangeSet@1.1653.1.52, 2004-02-26 22:50:27-08:00, akpm@osdl.org [PATCH] kNFSd: Enforce open_downgrade requirement From: NeilBrown The spec requires that the access and deny bits requested in open_downgrade represent the union of the bits for some subset of the OPENS for the given open_owner and file. Enforce that requirement. ChangeSet@1.1653.1.51, 2004-02-26 22:50:16-08:00, akpm@osdl.org [PATCH] kNFSd: Corrects an error return for OP_OPEN_CONFIRM. From: NeilBrown Corrects an error return for OP_OPEN_CONFIRM. ChangeSet@1.1653.1.50, 2004-02-26 22:50:05-08:00, akpm@osdl.org [PATCH] kNFSd: Add a check in OP_LOCK for new lockowners to ensure that the open stateid is From: NeilBrown owned by the lockowner clientid. ChangeSet@1.1653.1.49, 2004-02-26 22:49:54-08:00, akpm@osdl.org [PATCH] kNFSd: fix an error return for OP_CREATE From: NeilBrown fix an error return for OP_CREATE ChangeSet@1.1653.1.48, 2004-02-26 22:49:43-08:00, akpm@osdl.org [PATCH] kNFSd: add OP_ILLEGAL, and fix processing of compounds with out of bounds op numbers. From: NeilBrown add OP_ILLEGAL, and fix processing of compounds with out of bounds op numbers. ChangeSet@1.1653.1.47, 2004-02-26 22:49:31-08:00, akpm@osdl.org [PATCH] kNFSd: Implement the nfsv4 RELEASE_LOCKOWNER operation. From: NeilBrown Implement the nfsv4 RELEASE_LOCKOWNER operation. ChangeSet@1.1653.1.46, 2004-02-26 22:49:20-08:00, akpm@osdl.org [PATCH] kNFSd: move fh_dup2 and fix it From: NeilBrown fh_dup2 duplicates an entire svc_fh structure, so in addition to dget()'ing the dentry, it also needs to bump the reference count on fh_export. Moved it out of the header file into nfsfh.c for the simple reason that I couldn't figure out how to reorganize the headers files right so that the fh_dup2 could use the definition of svc_fh. Since fh_dup2 is never actually used outside of nfs4proc.c, it could just as well be moved there.... ChangeSet@1.1653.1.45, 2004-02-26 22:49:09-08:00, akpm@osdl.org [PATCH] kNFSd: Remove a comment that is no longer accurate From: NeilBrown Remove a comment that is no longer accurate ChangeSet@1.1653.1.44, 2004-02-26 22:48:58-08:00, akpm@osdl.org [PATCH] kNFSd: unlock-on-close fix From: NeilBrown add the bookeeping necessary to remove all locks held by an nfsv4 lockowner upon CLOSE, or upon state expiration. calls locks_remove_posix(). replace list_del_init() with list_del on nfsv4 state structures that are being reaped. ChangeSet@1.1653.1.43, 2004-02-26 22:48:48-08:00, akpm@osdl.org [PATCH] kNFSd: correct rename error returns. From: NeilBrown unlike v2/v3, nfsv4 returns nfserr_exist in some situations where the underlying filesystem returns nfserr_isdir, nfserr_notdir. on rename, nfsv4 returns nfserr_notdir instead of nfserr_symlink. ChangeSet@1.1653.1.42, 2004-02-26 22:48:37-08:00, akpm@osdl.org [PATCH] kNFSd: check lock length, return appropriate error From: NeilBrown check lock length, return appropriate error ChangeSet@1.1653.1.41, 2004-02-26 22:48:26-08:00, akpm@osdl.org [PATCH] kNFSd: correct symlink related error returns. From: NeilBrown unlike v2/v3, nfsv4 returns nfserr_inval when attempting to read, write, commit or test lock a symlink. nfsv4 does return nfserr_symlink on lookup and open, so a simple fix in fh_verify() will not work. ChangeSet@1.1653.1.40, 2004-02-26 22:48:15-08:00, akpm@osdl.org [PATCH] kNFSd: fixes an xdr error by removing the verifier from error return. From: NeilBrown ChangeSet@1.1653.1.39, 2004-02-26 22:48:04-08:00, akpm@osdl.org [PATCH] kNFSd: Correct error returns. From: NeilBrown Call decode_fattr on writable attributes to check for xdr errors, incorrect utf8, etc. ChangeSet@1.1653.1.38, 2004-02-26 22:47:53-08:00, akpm@osdl.org [PATCH] kNFSd: Fix for lookup-parent at pseudo root From: NeilBrown tests if current_fh is the pseudo root for the client and returns nfserr_noent if so. need to call exp_pseudoroot because different clients can have ChangeSet@1.1653.1.37, 2004-02-26 22:47:42-08:00, akpm@osdl.org [PATCH] kNFSd: correctly tests and sets nfserr_nofilehandle for current and save fh. From: NeilBrown nfsd4_restore_fh() returns nfserr_restorefh instead of nfserr_nofilehandle ChangeSet@1.1653.1.36, 2004-02-26 22:47:30-08:00, akpm@osdl.org [PATCH] kNFSd: readdir error code fix From: NeilBrown changes nfserr_readdir_nospc to nfserr_toosmall, following rfc3530 which has no nfserr_readdir_nospc. error 10030 which was nfserr_readdir_nospc is actually nfserr_restorefh. ChangeSet@1.1653.1.35, 2004-02-26 22:47:19-08:00, akpm@osdl.org [PATCH] kNFSd: When looking for a shareowner in the nfsd open, make sure we don't get a lockowner instead. From: NeilBrown When looking for a shareowner in the nfsd open, make sure we don't get a lockowner instead. ChangeSet@1.1653.1.34, 2004-02-26 22:47:08-08:00, akpm@osdl.org [PATCH] kNFSd: Use only the uid when deciding whether a setclientid is being done with the "same principal". From: NeilBrown I would have assumed that we should also check for the same security (pseudo)flavor, but that doesn't seem to be how Solaris does it, and since the spec doesn't suggest including such information in the clientid, that would make it impossible to switch pseudoflavors. ChangeSet@1.1653.1.33, 2004-02-26 22:46:54-08:00, akpm@osdl.org [PATCH] kNFSd: NFSdV4 fixes for replaying open requests. From: NeilBrown Since the open op changes the current filehandle, we can't correctly replay compounds containing opens unless we save the filehandle resulting from the open as well as the encoded reply. ChangeSet@1.1653.1.32, 2004-02-26 22:46:43-08:00, akpm@osdl.org [PATCH] kNFSd: When looking for a shareowner in the nfsd open, make sure we don't get a lockowner instead. From: NeilBrown When looking for a shareowner in the nfsd open, make sure we don't get a lockowner instead. ChangeSet@1.1653.1.31, 2004-02-26 22:46:32-08:00, akpm@osdl.org [PATCH] kNFSd: Use higher-resolution time for the changeinfo, instead of using time and filesize. From: NeilBrown Use higher-resolution time for the changeinfo, instead of using time and filesize. ChangeSet@1.1653.1.30, 2004-02-26 22:46:20-08:00, akpm@osdl.org [PATCH] kNFSd: v4 exclusive open fix. From: NeilBrown Exclusive creates were failing with permission errors, because they don't set the mode on the newly created file, and the permission check in fh_verify (called at the end of do_open_lookup) was failing. So pass in the MAY_OWNER_OVERRIDE flag to allow the owner of the file to override the permission check. ChangeSet@1.1653.1.29, 2004-02-26 22:46:09-08:00, akpm@osdl.org [PATCH] kNFSd: NFSv4 locking state fix From: NeilBrown It's OK for the find_lockstateowner_str to fail; that just means we haven't seen the lockowner, and will compare the request range to all locks on the file. ChangeSet@1.1653.1.28, 2004-02-26 22:45:58-08:00, akpm@osdl.org [PATCH] kNFSd: Nfsdv4 pointer cleanup From: NeilBrown From: "William A.(Andy) Adamson" Compare inode pointers instead of dentry pointers when checking an inode refered to by a stateid against an inode refered to by a file handle. Set st_vfs_set to 0 if the stateid/file handle check fails to avoid referencing bad state when reaping stateid's. ChangeSet@1.1653.1.27, 2004-02-26 22:45:47-08:00, akpm@osdl.org [PATCH] kNFSd: IDmap support for the NFSv4 server. From: NeilBrown Updated version which uses ascii-encoding of messages, from http://www.citi.umich.edu/u/marius/linux-2.5.70-idmap-server-new.diff as of October 14, 2003. ChangeSet@1.1653.1.26, 2004-02-26 22:45:35-08:00, akpm@osdl.org [PATCH] kNFSd: gss api changes for integrity checking. From: NeilBrown Doesn't actually add integrity support on the server yet; just adapts server-side code to the gss api changes necessary to get integrity working on the client. ChangeSet@1.1653.1.25, 2004-02-26 22:45:25-08:00, akpm@osdl.org [PATCH] kNFSd: Add minimal server-side support for rpcsec_gss. From: NeilBrown From: "J. Bruce Fields" Note that the user (or exportfs, on the user's behalf) allows a gss pseudoflavor to be used to access an export by exporting to a special client named "gss/pseudoflavor-name", e.g., "gss/krb5" or "gss/lipkey-i". ChangeSet@1.1653.1.24, 2004-02-26 22:45:16-08:00, akpm@osdl.org [PATCH] nfsd: don't modify group_info structures From: Neil Brown Make sure nfsd doesn't modify group_info structures as they might be shared. ChangeSet@1.1653.1.23, 2004-02-26 22:45:06-08:00, akpm@osdl.org [PATCH] knfsd: NGROUPS fixes From: Neil Brown Tidy up new groups handling in nfsd. Set up the group_info structure when decoding the RPC packet instead of in nfsd. ChangeSet@1.1653.1.22, 2004-02-26 22:44:54-08:00, akpm@osdl.org [PATCH] ppc64: Fix a sleeping with spinlock bug in ioremap From: Benjamin Herrenschmidt ppc64 uses its own range allocator for ioremap (in order to allocate things in a different space than normal vmalloc). This is historic stuff, we may get rid of it, but in the meantime, here's a patch turning the spinlock in there into a semaphore so it doesn't blow up when doing kmallocs. ChangeSet@1.1653.1.21, 2004-02-26 22:44:43-08:00, akpm@osdl.org [PATCH] ppc64: move sg_dma_{len,address} macros From: Anton Blanchard From: Stephen Rothwell This moves the sg_dma_* macros to asm/scatterlist.h where they belong (and where almost every other architecture has them). ChangeSet@1.1653.1.20, 2004-02-26 22:44:29-08:00, akpm@osdl.org [PATCH] ppc64: use kallsyms_lookup_name() in xmon From: olof@austin.ibm.com Use the new kallsyms_lookup_name() in xmon on ppc64. Ben said he might backport these changes to ppc32 as well. ChangeSet@1.1653.1.19, 2004-02-26 22:44:18-08:00, akpm@osdl.org [PATCH] Add kallsyms_lookupname() From: Rusty Russell Attached patch adds a kallsyms_lookupname() function for lookups of a symbol name to an address. Debuggers such as ppc[64] xmon can use this. It's intentionally not exported as a symbol for module use, since it can be used to circumvent other symbol export restrictions. ChangeSet@1.1653.1.18, 2004-02-26 22:44:07-08:00, akpm@osdl.org [PATCH] PPC64 iSeries virtual disk driver From: Stephen Rothwell Add the PPC64 iSeries virtual disk driver ChangeSet@1.1660, 2004-02-26 22:28:02-08:00, davem@nuts.davemloft.net [SPARC]: Move ptrace_signal_deliver() implementation out of header file. ChangeSet@1.1653.7.4, 2004-02-27 01:01:52-05:00, jgarzik@redhat.com Add Intel PCI ids to IDE (PATA) driver. ChangeSet@1.1653.7.3, 2004-02-27 00:54:44-05:00, jgarzik@redhat.com Add Intel PCI ids to old-OSS driver i810_audio ChangeSet@1.1653.7.2, 2004-02-27 00:48:18-05:00, jgarzik@redhat.com Add Intel ICH6 irq router. ChangeSet@1.1653.7.1, 2004-02-27 00:43:17-05:00, jgarzik@redhat.com Add Intel ICH6 PCI ids to pci_ids.h. ChangeSet@1.1653.6.3, 2004-02-26 22:36:03-05:00, jgarzik@redhat.com [libata ata_piix] Update PCI quirk with new Intel SATA devices And also make a note in ata_piix.c so this is not forgotten in the future. ChangeSet@1.1653.6.2, 2004-02-26 21:45:39-05:00, jgarzik@redhat.com [libata ata_piix] add support for ICH6 ChangeSet@1.1653.6.1, 2004-02-26 21:26:13-05:00, jgarzik@redhat.com [libata] limit S/G table size to 128 entries Agreeing with Ben H's recommendation, I reduce the max-hw-segments number to 128, to match max-phys-segments number. This shouldn't affect performance because 128*64K is far above the max transfer size for most current IDE devices. Even 128*4K is OK. ChangeSet@1.1653.1.16, 2004-02-26 16:10:25-08:00, aoliva@redhat.com [PATCH] Improve code generation for x86 raid XOR functions This helps avoid doing push/pop pairs on register contents that we just don't care about. After we've done the xor, the pointers are dead anyway. ChangeSet@1.1659, 2004-02-26 14:44:55-08:00, davem@nuts.davemloft.net [SPARC64]: Update defconfig. ChangeSet@1.1653.1.14, 2004-02-26 14:06:55-08:00, torvalds@ppc970.osdl.org Don't allow memory "lines" argument in "xor_p5_mmx_5()". Since we do push/pops, a stack-based memory argument would do the wrong thing by using the wrong offsets. ChangeSet@1.1653.1.13, 2004-02-26 13:26:23-08:00, brian@rentec.com [PATCH] multicast broken on x86_64 The x86-64 implementation of csum-partial.c causes it to compute the checksum incorrectly. As a result, multicast doesn't work. It looks as though iptables is also affected. Here's a simple patch. ChangeSet@1.1653.1.12, 2004-02-26 12:57:26-08:00, marcelo.tosatti@cyclades.com [PATCH] cyclades async driver update This patch is the first of several planned fixes for the cyclades multiserial cards driver. Its mostly a sync with in-house driver: - Prevent users from opening non-existing Z ports - Implement special XON/XOFF character handling in Z cards - Prevent data-loss on Z cards - Throttling fix for Z card - Only throttle if CTS/RTS are set - Fix accounting of received data Kudos to Cyclades R&D ChangeSet@1.1653.1.11, 2004-02-26 12:50:18-08:00, B.Zolnierkiewicz@elka.pw.edu.pl [PATCH] ide-taskfile.c: remove debugging placeholders ChangeSet@1.1653.1.10, 2004-02-26 12:50:08-08:00, B.Zolnierkiewicz@elka.pw.edu.pl [PATCH] ide-proc.c: remove unused MIN() macro ChangeSet@1.1653.1.9, 2004-02-26 12:49:56-08:00, B.Zolnierkiewicz@elka.pw.edu.pl [PATCH] remove redundant ide_setup_pci_device{s}() declarations ChangeSet@1.1653.1.8, 2004-02-26 12:49:45-08:00, B.Zolnierkiewicz@elka.pw.edu.pl [PATCH] explicitly define PRD_ENTRIES to 256 From: William Lee Irwin III PRD_ENTRIES is specified to be precisely 256; on platforms where PAGE_SIZE varies from 4KB the calculation in the current expression defining it is inaccurate, which may cause crashes. This patch changes it to the constant literal 256. ChangeSet@1.1653.1.7, 2004-02-26 12:49:33-08:00, B.Zolnierkiewicz@elka.pw.edu.pl [PATCH] ide-io.c: CONFIG_LBD fix From: Andrew Morton Use sector_t for the block number. ChangeSet@1.1653.1.6, 2004-02-26 12:49:23-08:00, B.Zolnierkiewicz@elka.pw.edu.pl [PATCH] fix ide_system_bus_speed() causing "Badness in pci_find_subsys..." Noticed by Marcel Cotta . ide_init() always initializes system_bus_speed variable so system_bus_clock() should never call ide_system_bus_speed() and no driver is calling ide_system_bus_speed() directly. Bug was that if no IDE kernel parameter was given during boot system_bus_speed will be zeroed in init_ide_data(). This patch should fix the problem (as a bonus -> no need to zero these variables they are static). ChangeSet@1.1653.1.5, 2004-02-26 12:49:11-08:00, B.Zolnierkiewicz@elka.pw.edu.pl [PATCH] add UDMA6 support to ALi PCI IDE driver From: Vojtech Pavlik Add UDMA6 support to ALi PCI IDE driver. Forward port from 2.4 and a patch from ALi. Was in -mm for a long time... ChangeSet@1.1653.1.4, 2004-02-26 12:49:00-08:00, B.Zolnierkiewicz@elka.pw.edu.pl [PATCH] siimage.c: limit requests to 15kB only for Seagate SATA drives Fix from jgarzik's sata_sil.c libata driver. This was in -mm for a long time... ChangeSet@1.1657, 2004-02-26 15:39:56-05:00, bcollins@debian.org [SPARC64]: Fix compile warning from RW_LOCK_UNLOCKED with spinlock debug enabled. ChangeSet@1.1653.4.21, 2004-02-26 12:36:58-08:00, ahaas@airmail.net [RXRPC]: C99 initialiers for net/rxrpc/connection.c ChangeSet@1.1653.4.20, 2004-02-26 12:32:16-08:00, jt@bougret.hpl.hp.com [IRDA]: Rename dongle entry points for consistency. ChangeSet@1.1653.4.19, 2004-02-26 12:31:45-08:00, shemminger@osdl.org [IRDA]: Mark irport driver as having locking issues. ChangeSet@1.1653.4.18, 2004-02-26 12:31:20-08:00, shemminger@osdl.org [IRDA]: Make irda_device_txqueue_empty inline. ChangeSet@1.1653.4.17, 2004-02-26 12:30:52-08:00, shemminger@osdl.org [IRDA]: Zap bogus wireless.h include. ChangeSet@1.1653.4.16, 2004-02-26 12:30:26-08:00, shemminger@osdl.org [IRDA]: Hashbin cleanups, remove unused code and add const where needed. ChangeSet@1.1653.4.15, 2004-02-26 12:29:55-08:00, shemminger@osdl.org [IRDA]: Kill dev_flags, unused. ChangeSet@1.1653.4.14, 2004-02-26 12:29:21-08:00, shemminger@osdl.org [IRDA]: Kill infrared_mode, unused. ChangeSet@1.1653.4.13, 2004-02-26 12:26:01-08:00, shemminger@osdl.org [IRDA]: No need for volatile type when using set/test_bit. ChangeSet@1.1653.4.12, 2004-02-26 12:23:07-08:00, shemminger@osdl.org [IRDA]: Make more symbols static, to avoid namespace pollution. ChangeSet@1.1653.4.11, 2004-02-26 12:22:46-08:00, shemminger@osdl.org [IRDA]: Make more symbols static, to avoid namespace pollution. ChangeSet@1.1653.4.10, 2004-02-26 12:21:55-08:00, shemminger@osdl.org [IRDA]: Make more symbols static, to avoid namespace pollution. ChangeSet@1.1653.4.9, 2004-02-26 12:21:31-08:00, shemminger@osdl.org [IRDA]: Make more symbols static, to avoid namespace pollution. ChangeSet@1.1653.4.8, 2004-02-26 12:20:40-08:00, shemminger@osdl.org [IRDA]: Rename setup_dma to irda_setup_dma. ChangeSet@1.1653.4.7, 2004-02-26 12:16:32-08:00, shemminger@osdl.org [IRDA]: COnver irda-usb to dynamic device allocation. ChangeSet@1.1653.4.6, 2004-02-26 12:16:00-08:00, shemminger@osdl.org [IRDA]: Fix handling of shared IRQs in smsc-ircc2 driver.: ChangeSet@1.1653.1.3, 2004-02-26 12:11:08-08:00, qboosh@pld-linux.org [PATCH] switch alpha to use drivers/Kconfig This switches alpha to use drivers/Kconfig instead of including most of files included by drivers/Kconfig, thus enabling previously omitted i2c (already used in some drivers available on alpha) and telephony drivers. Because drivers/message/fusion/Kconfig was included only conditionally ("if PCI"), this patch also changes CONFIG_FUSION to depend on PCI. (these changes were consulted with Christoph Hellwig in "i2c on alpha - used but not available in 2.6.3" thread on LKML) ChangeSet@1.1653.4.5, 2004-02-26 12:11:07-08:00, matthias.andree@gmx.de [NET]: Export sysctl_optmem_max to modules. ChangeSet@1.1653.4.3, 2004-02-26 11:59:53-08:00, chas@cmf.nrl.navy.mil [ATM]: [lec] put back pressure on network stack ChangeSet@1.1653.4.2, 2004-02-26 11:58:45-08:00, simon@instant802.com [NET]: Capture skb->protocol after invoking bridge. ChangeSet@1.1653.4.1, 2004-02-26 11:50:43-08:00, horms@verge.net.au [JHASH]: Make key arg const in jhash(). ChangeSet@1.1557.76.6, 2004-02-26 20:26:16+01:00, marcel@holtmann.org [Bluetooth] Initialize interval of ISOC URB's The urb->interval value must be set when submitting an ISOC URB. If this is not done, the usb_submit_urb() call fails. Patch from Andreas Kemnade ChangeSet@1.1653.2.16, 2004-02-26 10:07:47-08:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] Clean up __cacheline_aligned arm-26, ppc, sparc, sparc64 and sh have per-arch definitions of __cacheline_aligned that are identical to default. And yes, removal is safe - all users of __cacheline_aligned actually pull linux/cache.h in. ChangeSet@1.1653.2.15, 2004-02-26 10:07:36-08:00, rusty@rustcorp.com.au [PATCH] Always put cache aligned code in own section, even for modules We put ____cacheline_aligned things in their own section, simply because we waste less space that way. Otherwise we end up padding innocent variables to the next cacheline to get the required alignment. There's no reason not to do this in modules, too. ChangeSet@1.1653.2.14, 2004-02-26 09:59:24-08:00, torvalds@ppc970.osdl.org Merge ChangeSet@1.1653.2.13, 2004-02-26 09:38:31-08:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] removal of ifdef MODULE from fs/openpromfs Removes gratitious ifdefs - get_nodes() is only called from __init and by itself, check_space() is only called by get_nodes(), so they can be made unconditionally __init. ChangeSet@1.1653.3.64, 2004-02-26 09:02:51-08:00, gerg@snapgear.com [PATCH] m68knommu: use KERN_DEBUG in debug printk()'s Use KERN_DEBUG in all debugging printk() output. This patch originally from the kernel janitors. ChangeSet@1.1653.3.63, 2004-02-26 09:02:38-08:00, gerg@snapgear.com [PATCH] m68knommu: fix interrupt handler return types to be irqretur_t Fix interrupt handler return types to be irqreturn_t. ChangeSet@1.1653.3.62, 2004-02-26 09:02:27-08:00, gerg@snapgear.com [PATCH] m68knommu: remove non-existant option from defconfig Remove non-existent config option from defconfig. ChangeSet@1.1653.3.61, 2004-02-26 08:52:00-08:00, davej@redhat.com [PATCH] Fix for a really stupid off by 1 bug. I goofed in my last patch to this code.. It reported 1 less CPU than it should have. Doh. ChangeSet@1.1653.3.59, 2004-02-26 08:28:55-08:00, akpm@osdl.org [PATCH] swsusp locking fix From: Herbert Xu update_screen() requires the console semaphore. ChangeSet@1.1653.3.58, 2004-02-26 08:28:43-08:00, akpm@osdl.org [PATCH] wanmain.c build fix net/wanrouter/wanmain.c:195: error: parse error before "static" ChangeSet@1.1653.3.57, 2004-02-26 08:28:32-08:00, akpm@osdl.org [PATCH] kbuild: add defconfig targets to make help From: Sam Ravnborg List all entries in arch/$(ARCH)/configs/*_defconfig when doing 'make help'. Results in output like this (ppc64 as example): g5_defconfig - Build for g5 pSeries_defconfig - Build for pSeries The implementation is generic and enables this for all users of _defconfig. ChangeSet@1.1653.3.56, 2004-02-26 08:28:19-08:00, akpm@osdl.org [PATCH] V4L: Add new driver for Teletext decoder SAA5246A from Philips From: linux@MichaelGeng.de (Michael Geng) Add new driver for Teletext decoder SAA5246A from Philips. ChangeSet@1.1653.3.55, 2004-02-26 08:28:08-08:00, akpm@osdl.org [PATCH] C99 initializer for driver/media/dvb/ttpci/budget-av.c From: "Art Haas" Here's a small patch changing the GNU-style initializers to C99 initializers. ChangeSet@1.1653.3.54, 2004-02-26 08:27:56-08:00, akpm@osdl.org [PATCH] C99 initializers for drivers/media/dvb/frontends/sp887x.c From: "Art Haas" Here's a small patch changing the GNU-style initializers to C99 initializers. ChangeSet@1.1653.3.53, 2004-02-26 08:27:44-08:00, akpm@osdl.org [PATCH] C99 initializers for drivers/media/dvb/frontends/alps_tdlb7.c From: "Art Haas" Here's a small patch changing the GNU-style initializers to C99 initializers. ChangeSet@1.1653.3.52, 2004-02-26 08:27:33-08:00, akpm@osdl.org [PATCH] C99 initializer for drivers/media/dv/frontend/stv0229.c From: "Art Haas" Here's a small patch changing GNU-style initializers to C99 initializers. ChangeSet@1.1653.3.51, 2004-02-26 08:27:24-08:00, akpm@osdl.org [PATCH] C99 initializers for drivers/media/common/saa7146_video.c From: "Art Haas" Here's a small patch changing the GNU-style initializers to C99 initializers. ChangeSet@1.1653.3.50, 2004-02-26 08:27:11-08:00, akpm@osdl.org [PATCH] C99 initializers for drivers/net/irda/irda-usb.c From: "Art Haas" Here's a small patch changing the GNU-style initializers to C99 initializers. ChangeSet@1.1653.3.49, 2004-02-26 08:27:00-08:00, akpm@osdl.org [PATCH] C99 initializers for drivers/net/wan/pci200syn.c From: "Art Haas" Here's a small patch changing the GNU-style initializers to C99 initializers. ChangeSet@1.1653.3.48, 2004-02-26 08:26:48-08:00, akpm@osdl.org [PATCH] C99 initializers for drivers/net/wan/wanxl.c From: "Art Haas" Here's a small patch changing the GNU-style initializers to C99 initializers. ChangeSet@1.1653.3.47, 2004-02-26 08:26:36-08:00, akpm@osdl.org [PATCH] C99 initializers for drivers/net/wireless/airo.c From: "Art Haas" Here's a small patch changing the GNU-style initializers to C99 initializers. ChangeSet@1.1653.3.46, 2004-02-26 08:26:23-08:00, akpm@osdl.org [PATCH] C99 initiailzers for drivers/isdn/i4l/isdn_common.c From: "Art Haas" Here's a small patch changing a few GNU-style initializers to C99 initiailzers. ChangeSet@1.1653.3.45, 2004-02-26 08:26:12-08:00, akpm@osdl.org [PATCH] Kill bogus __KERNEL_SYSCALLS usage From: Dave Jones Now that the syscalls.h stuff is in mainline, that clears the way for this I guess? ChangeSet@1.1653.3.44, 2004-02-26 08:25:59-08:00, akpm@osdl.org [PATCH] C99 patch for fs/afs/inode.c From: "Art Haas" This patch converts the file to use C99 initializers. The file had this patch applied before, but a subsequent patch reversed the change and readded the GNU-style initializer. This patch brings back the C99 one. ChangeSet@1.1653.3.43, 2004-02-26 08:25:48-08:00, akpm@osdl.org [PATCH] mtd locking fix From: David Woodhouse , Dave Jones Add a missing unlock. ChangeSet@1.1653.3.42, 2004-02-26 08:25:35-08:00, akpm@osdl.org [PATCH] don't use floating point in tdfxfb From: Jakub Bogusz This patch removes using of floating point operations in tdfxfb - they are really not needed here (these consts are used only in substitutions and comparisons with integers) are cause unresolved symbols on some archs - e.g. on alpha: *** Warning: "__ltdf2" [drivers/video/tdfxfb.ko] undefined! *** Warning: "__adddf3" [drivers/video/tdfxfb.ko] undefined! *** Warning: "__floatsidf" [drivers/video/tdfxfb.ko] undefined! ChangeSet@1.1653.3.41, 2004-02-26 08:25:24-08:00, akpm@osdl.org [PATCH] Remove unused tty CALLOUT defines From: Marcelo Tosatti The callout code has been removed long ago from 2.6. I believe it is safe to remove some of its unused defines. ChangeSet@1.1653.3.40, 2004-02-26 08:25:10-08:00, akpm@osdl.org [PATCH] radeon config fix From: Herbert Xu RADEON is selecting I2C_ALGOBIT but as kconfig currently does not propagate selects up the dependency chain (that is according to Roman), this can leave I2C as m while I2C_ALGOBIT is y. ChangeSet@1.1653.3.39, 2004-02-26 08:24:59-08:00, akpm@osdl.org [PATCH] early printk documentation fix early printk documentation fix ChangeSet@1.1653.3.38, 2004-02-26 08:24:46-08:00, akpm@osdl.org [PATCH] request_firmware(): fix attribute removal From: Manuel Estrada Sainz Based on patch and suggestions from Dmitry Torokhov - Don't remove attributes, they should be gone automatically. ChangeSet@1.1653.3.37, 2004-02-26 08:24:38-08:00, akpm@osdl.org [PATCH] request_firmware(): refactor fw_setup_class_device() From: Manuel Estrada Sainz Based on patch and suggestions from Dmitry Torokhov - Refactor fw_setup_class_device for readability and maintainability. ChangeSet@1.1653.3.36, 2004-02-26 08:24:25-08:00, akpm@osdl.org [PATCH] request_firmware(): race fixes From: Manuel Estrada Sainz - Remove races related to the handling and release of 'struct firmware' ChangeSet@1.1653.3.35, 2004-02-26 08:24:14-08:00, akpm@osdl.org [PATCH] request_firmware(): fix firmware_priv leak From: Manuel Estrada Sainz Based on patch and suggestions from Dmitry Torokhov - release 'struct firmware_priv' from class_dev->release. ChangeSet@1.1653.3.34, 2004-02-26 08:24:02-08:00, akpm@osdl.org [PATCH] request_firmware(): add status bitmap From: Manuel Estrada Sainz Based on patch and suggestions from Dmitry Torokhov - Make an status bitmap instead of using independent boolean variables. It will make things nicer later when new issues need to be tracked. ChangeSet@1.1653.3.33, 2004-02-26 08:23:51-08:00, akpm@osdl.org [PATCH] request_firmware(): more misc fixes From: Manuel Estrada Sainz Based on patch and suggestions from Dmitry Torokhov - Take advantage of strlcpy. - Extra error logging. - Use struct coping instead of memcpy. - Put all aborting code in a single place, and fully abort if fw_realloc_buffer fails. - Abort on unexpected 'loading' values. ChangeSet@1.1653.3.32, 2004-02-26 08:23:39-08:00, akpm@osdl.org [PATCH] request_firmware(): misc fixes From: Manuel Estrada Sainz Based on patch and suggestions from Dmitry Torokhov - use vfree to free vmalloc memory. - Make sure fw_setup_class_device sets *class_dev_p to NULL in all case of error. - Fix error handling in firmware_class_init. ChangeSet@1.1653.3.31, 2004-02-26 08:23:28-08:00, akpm@osdl.org [PATCH] M68k Macintosh driver config From: Geert Uytterhoeven Update Macintosh driver config logic: - Move remaining Mac/m68k-specific logic from arch/m68k/Kconfig to drivers/macintosh/Kconfig - Fixup Mac/m68k conflicts ChangeSet@1.1653.3.30, 2004-02-26 08:23:15-08:00, akpm@osdl.org [PATCH] n_tty.c cleanup From: James Simmons Remove kd.h. We don't need this header. Use the inline functions to set the current process state. ChangeSet@1.1653.3.29, 2004-02-26 08:23:01-08:00, akpm@osdl.org [PATCH] dvb: TTUSB-Budget DVB driver update From: Michael Hunold - dvb-ttusb-budget: Fixed i2c code to detect nearly all errors - dvb-ttusb-budget: Added "V 2.1" to prevent warning message on driver load - dvb-ttusb-budget: Some printks turned into dprintks - dvb-ttusb-budget: Removed __initdata. It is now possible in kernel 2.6 to compile the DVB drivers into a monolithic kernel. - dvb-ttusb-budget: Fix for failing urb submission under 2.6 kernels ChangeSet@1.1653.3.28, 2004-02-26 08:22:49-08:00, akpm@osdl.org [PATCH] dvb: av7110 DVB driver update From: Michael Hunold - av7110: check result of saa7146_wait_for_debi_done() in av7110_bootarm() and bail out early if booting the ARM failed - av7110: correct voffset for analog standard - av7110: replace usage of sleep_on_interruptible_timeout() with wait_event_interruptible_timeout() ChangeSet@1.1653.3.27, 2004-02-26 08:22:38-08:00, akpm@osdl.org [PATCH] dvb: tda1004x DVB frontend update From: Michael Hunold - tda1004x: standardised where the firmware should be. - tda1004x: need to re-invert inversion for tda10046 in get_fe() - tda1004x: reset chip before uploading firmware - tda1004x: split firmware upload off from frontend init. the initial tune attempt was taking too long. provide explanation of tuner frequency calculations - tda1004x: Fixed signal strength reading for tda10046h ChangeSet@1.1653.3.26, 2004-02-26 08:22:25-08:00, akpm@osdl.org [PATCH] dvb: stv0299 DVB frontend update From: Michael Hunold stv0299: Added seperate settings for SU1278 on Technotrend hardware ChangeSet@1.1653.3.25, 2004-02-26 08:22:14-08:00, akpm@osdl.org [PATCH] dvb: Misc frontend updates From: Michael Hunold - alps_tdlb7 + alps_tdmb7: Changed to use full i2c reads in probing instead of i2c pings to be compatable with ttusb - nxt6000: bugfix by Robert Cook: FE_RESET did the same as FE_INIT, thus invalidating current channel settings on FE_RESET - sp887x: fixed typo - Makefile: add nxt6000 frontend driver to Makefiles - Kconfig: DVB_TDA1004X and DVB_NXT6000 do not depend on !STANDALONE (i.e. no compile-time firmware image necessary) - ves1820: turn off ves1820 test output pins - ves1820: verbose-print AFC only if carrier has been recovered - ves1820: change AFC handling as suggested by Robert Schlabbach, use bit 1 of the SYNC register for FE_HAS_SIGNAL ChangeSet@1.1653.3.24, 2004-02-26 08:22:01-08:00, akpm@osdl.org [PATCH] dvb: core update From: Michael Hunold - dvb-core: replace usage of sleep_on_...() with wait_event_interruptible_timeout() - dvb-core: fix dvb_ringbuffer_read/write() buffer pointer bug - video: added VIDEO_EVENT_FRAME_RATE_CHANGED and VIDEO_GET_FRAME_RATE ioctl ChangeSet@1.1653.3.23, 2004-02-26 08:21:50-08:00, akpm@osdl.org [PATCH] dvb: Minor Skystar2 updates From: Michael Hunold skystar2: renamed two functions, deleted spurious spaces. ChangeSet@1.1653.3.22, 2004-02-26 08:21:38-08:00, akpm@osdl.org [PATCH] dvb: Update saa7146 driver core From: Michael Hunold - saa7146: fix timeout bug on AMD64 in saa7146_wait_for_debi_done() - saa7146: release resources for video overlay properly, don't (incorrectly) rely on VIDIOC_OVERLAY(0) ChangeSet@1.1653.3.21, 2004-02-26 08:21:27-08:00, akpm@osdl.org [PATCH] dvb: Update subsystem docs From: Michael Hunold - dvb docs: added a nice howto on how to get Avermedia DVB-T running - nice tutorial for DVB newbie, too - dvb docs: fix various incorrect informations in cards.txt, faq.txt, firmware.txt ChangeSet@1.1653.3.20, 2004-02-26 08:21:14-08:00, akpm@osdl.org [PATCH] s390: DCSS block device driver. From: Martin Schwidefsky Add z/VM discontiguos saved segments (DCSS) block device driver. ChangeSet@1.1653.3.19, 2004-02-26 08:21:02-08:00, akpm@osdl.org [PATCH] s390 syscalls.h update From: Arnd Bergmann With the s390 updates in -mm3, you also need this patchlet. ChangeSet@1.1653.3.18, 2004-02-26 08:20:50-08:00, akpm@osdl.org [PATCH] s390: zfcp host adapter From: Martin Schwidefsky Add new features to the zfcp host adapater driver: - Add support for FCP access control. - Error recovery enhancements. ChangeSet@1.1653.3.17, 2004-02-26 08:20:38-08:00, akpm@osdl.org [PATCH] s390: channel measurement block interface. From: Martin Schwidefsky Add channel measurement block interface. ChangeSet@1.1653.3.16, 2004-02-26 08:20:25-08:00, akpm@osdl.org [PATCH] s390: collaborative memory management. From: Martin Schwidefsky Add collaborative memory management interface. ChangeSet@1.1653.3.15, 2004-02-26 08:20:13-08:00, akpm@osdl.org [PATCH] s390: z/VM monitor stream. From: Martin Schwidefsky Add Linux - z/VM monitor stream. ChangeSet@1.1653.3.14, 2004-02-26 08:20:01-08:00, akpm@osdl.org [PATCH] s390: virtual timer interface. From: Martin Schwidefsky Add virtual timer interface. ChangeSet@1.1653.3.13, 2004-02-26 08:19:49-08:00, akpm@osdl.org [PATCH] s390: DASD device driver. From: Martin Schwidefsky DASD driver fixes: - Fix generic_set_online if diag discipline is not availab.e - Fix reserve on already reserved device. - Use default-erp for unit check without sence information. - Revert dasd naming scheme change from dasd to dasd__. This breaks too many user space packages. - Extend dasd naming scheme to four letters dasd-dasd. - Fix formatting of dasds. ChangeSet@1.1653.3.12, 2004-02-26 08:19:37-08:00, akpm@osdl.org [PATCH] s390: IUCV network driver. From: Martin Schwidefsky IUCV interface fixes: - VM workaround: redirect setmask call to cpu 0. - Disable message interrupts during connection setup. - Honor incoming connection severed during connection setup. - Add connect retry when remote severed connection. - Add symlinks between net device and iucv device. - More fixes for proper net device allocation/deallocation. ChangeSet@1.1653.3.11, 2004-02-26 08:19:23-08:00, akpm@osdl.org [PATCH] s390: LCS network driver. From: Martin Schwidefsky LCS network driver fixes: - Fix ccwgroup behaviour, remove should offline cards still online. - Better not write to the debug feature before it is registers. - Don't free card structure on offline but on remove. - Check for deferred condition code 1 in lcs_irq for halt requests. - Call free_netdev only if there is a net device. ChangeSet@1.1653.3.10, 2004-02-26 08:19:10-08:00, akpm@osdl.org [PATCH] s390: CTC network driver. From: Martin Schwidefsky CTC network driver fixes: - Fixed some debug messages (did not compile with DEBUG defined). - Added sanity checks in ctc_proto_store() & ctc_shutdown_device(). - Added some bugfixes from 2.4. - Tweaked logging. - Removed syntax error in pr_debug call. - Changed do_IO (not existing any more) to ccw_device in messages. - Corrected format failure in pr_debug of channel_get. - Add symlinks between net device and ctc device. - Add tiocmset/tiocmget API change patch from Russell King - Fix locking problem in ctc_tty_cleanup. ChangeSet@1.1653.3.9, 2004-02-26 08:18:59-08:00, akpm@osdl.org [PATCH] s390: compat_timer_settime. From: Martin Schwidefsky sys_timer_settime returns EINVAL if *new is NULL, compat_timer_settime returns EFAULT. Add a check to compat_timer_settime to return EINVAL if *new is NULL. ChangeSet@1.1653.3.8, 2004-02-26 08:18:46-08:00, akpm@osdl.org [PATCH] s390: console driver. From: Martin Schwidefsky Console driver fixes: - Fix ^n at end-of-line check in 3215 and sclp driver. - Fix copy_from_user/might_sleep/spinlock problem in sclp. ChangeSet@1.1653.3.7, 2004-02-26 08:18:34-08:00, akpm@osdl.org [PATCH] s390: common i/o layer. From: Martin Schwidefsky Common i/o layer fixes: - Add atomic onoff variable to ccw devices and ccw-group devices to avoid races during online/offline. - Fix pr_debug calls. - A lot of path fixes: + Set device to disconnected state after no path event. + Fix chpid vary on/off for single path devices. + Make logical vary on/off consistent with physical vary on/off. + Don't update subchannel schib if the device is gone (dnv not set). + Add code to recover lost chpids after machine checks. + Avoid processing link incidents, resource accessability events and chpid machine checks for logically offline chpids. + Recover disconnected devices after chsc machine checks. + Delay de-registering of no path devices to avoid deadlocks. + Don't redo ssd for known subchannels - the info is static. + Introduce a second, "slow" machine check handler thread for new devices. The "fast" machine check handler only recovers disconnected devices. - Deregister subchannel rather than ccw device on not oper events. - Fix calling sequence of notify function vs. path verification. - Reset timeout for disconnected devices. - Fix problem with debug feature and %s arguments. - Fix __get_subchannel_by_stsch to deal with "zombie" subchannels. - Avoid "zombie" subchannels if device is not operational during sense id. - Handle call to the io_subchannel remove function if the ccw device is not registered yet. - Add availability attribute for ccw devices: "good", "no device", "no path", "boxed". - Export ccw_device_work for qdio as module. - Retry sense id for tape devices which present intervention required. - Don't check the activity control to decide if the device driver interrupt handler needs to be called but use the bits in status control. - Fix race in ccw_device_stlck. - Accumulate deferred condition code. - Fix setting_up_sema locking. - Call qdio_shutdown instead of qdio_cleanup on failed establish. - Fix problem when 64 FCP adapters are initialized simultaneously. - Fix problem with >64 adapter interrupt capable devices. - Reduce stack usage in qdio. ChangeSet@1.1653.3.6, 2004-02-26 08:18:22-08:00, akpm@osdl.org [PATCH] s390: general update. From: Martin Schwidefsky Core s/390 changes: - Add -mbackchain to CFLAGS to prepare for gcc 3.4 with comes with a default setting of -mno-backchain - Add implementation of strcpy. - Pad bytes after string end in strncpy. - Fix __sem_update_count inline assembly for gcc 3.4. - Export smp_ptlb_all for tlb flushing in module code. - Fix sched_clock. - Remove the last KERNEL_VERSION #if in s390 code. - Add dummy implementation for missing dma_{alloc,free}_coherent. - Avoid cast of lvalue in idal_buffer_{from,to}_user. - Remove _exit definition from unistd.h. ChangeSet@1.1653.3.5, 2004-02-26 08:18:11-08:00, akpm@osdl.org [PATCH] fix module reference counting in zoran driver From: Christoph Hellwig Take a reference before calling into the module and release it after we're done. Also remove the useless (and wrong) refcounting in videocodec - symbols from this module are used by other modules if we call into those functions so it can't be unloaded anyway. We really need to add a debug check to tip all those try_module_get(THIS_MODULE) callers.. ChangeSet@1.1653.3.4, 2004-02-26 08:18:01-08:00, akpm@osdl.org [PATCH] superblock fixes From: - Avoid sync_fs with clean fs & wait mode = 0 - mark_files_ro overrides pending deletes (doc) - some trivial doc fixes ChangeSet@1.1653.3.3, 2004-02-26 08:17:48-08:00, akpm@osdl.org [PATCH] HFS+ support From: Roman Zippel This driver adds full read/write support for HFS+ and is based on the readonly driver by Brad Broyer. Thanks to Ethan Benson for a number of patches to make the driver more compliant with the spec. ChangeSet@1.1653.3.2, 2004-02-26 08:17:36-08:00, akpm@osdl.org [PATCH] HFS rewrite From: Roman Zippel This is a complete rewrite of the HFS driver, it gets rid of a all the special conversion options, which belong in user space. The driver uses now a btree support very similiar to HFS+, so that both could be merged at some point. Thanks to Ethan Benson for a number of patches to make the driver more compliant with the spec and Christoph Hellwig for fixing up the documentation. ChangeSet@1.1653.3.1, 2004-02-26 08:16:57-08:00, akpm@osdl.org [PATCH] m68k: Amiga Zorro8390 Ethernet new driver model From: Geert Uytterhoeven Zorro8390 Ethernet: Convert to the new driver model ChangeSet@1.1597.5.6, 2004-02-26 15:39:52+00:00, davej@redhat.com [CPUFREQ] Fix ARM cpufreq governor selection From: Russell King ChangeSet@1.1597.5.5, 2004-02-26 15:38:33+00:00, davej@redhat.com [CPUFREQ] scaling_available_frequencies work for remaining x86 drivers. Export scaling_available_frequencies on the remaining x86 freq_table-based cpufreq drivers. powernow-k7, acpi and speedstep-centrino are already queued. Please note that this cannot be done in the cpufreq core as the cpufreq core tries very hard to be independent of the freq_table helpers. ChangeSet@1.1597.5.4, 2004-02-26 15:37:04+00:00, davej@redhat.com [CPUFREQ] Export powernow-k7 scaling frequencies From: Kronos The following patch make powernow-k7.c export supported frequencies via sysfs. I'm trying to write a scaling deamon and I need to know them. ChangeSet@1.1653.2.11, 2004-02-26 00:52:14-05:00, santil@us.ibm.com [PATCH] Add IBM PowerPC Virtual Ethernet Driver ChangeSet@1.1653.2.10, 2004-02-26 00:37:49-05:00, hch@lst.de [PATCH] remove useless MOD_{INC,DEC}_USE_COUNT in wanpipe wanpipe_open/close are used by sub-modules in their open/close handlers, thus locking sdlamain into memory by using the exports ChangeSet@1.1653.2.9, 2004-02-26 00:37:42-05:00, hch@lst.de [PATCH] remove useless MOD_{INC,DEC}_USE_COUNT in meth ChangeSet@1.1653.2.8, 2004-02-26 00:37:34-05:00, hch@lst.de [PATCH] remove useless MOD_{INC,DEC}_USE_COUNT in sb1250-mac ChangeSet@1.1653.2.7, 2004-02-26 00:37:27-05:00, hch@lst.de [PATCH] remove useless MOD_{INC,DEC}_USE_COUNT in sun3lance ChangeSet@1.1653.2.6, 2004-02-26 00:37:20-05:00, hch@lst.de [PATCH] remove useless MOD_{INC,DEC}_USE_COUNT in lasi_82596.c ChangeSet@1.1653.2.5, 2004-02-26 00:37:13-05:00, zdzichu@irc.pl [PATCH] Update via-rhine Kconfig entry I've noticed that via-rhine supports my VIA Rhine-III. Kconfig mentions only rhine-1 and rhine-2. Here update. ChangeSet@1.1653.2.4, 2004-02-26 00:37:05-05:00, brazilnut@us.ibm.com [PATCH] pcnet32 non-mii link state fix s patch correctly returns the link state of an adapter which does not have an MII. Tested by myself and the patch author Thomas Munck Steenholdt . (This version has the correct file name) ChangeSet@1.1653.2.3, 2004-02-26 00:36:58-05:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] remove init_{etherdev,netdev} and dev_alloc These are racy by "design", and all users have been eliminated. ChangeSet@1.1653.2.2, 2004-02-26 00:36:50-05:00, akpm@osdl.org [PATCH] ppc64: fix de4x5 build From: Benjamin Herrenschmidt It should be _machine, not ppc_machine. ChangeSet@1.1653.2.1, 2004-02-26 00:36:42-05:00, qboosh@pld-linux.org [PATCH] 2.6.3 - fix for undefined mdelay in 3c505 This patch fixes undefined mdelay() in 3c505 driver - at least on alpha (maybe on other archs is included by some other headers, but on alpha it isn't) there was warning: *** Warning: "mdelay" [drivers/net/3c505.ko] undefined! ChangeSet@1.1557.64.19, 2004-02-25 21:25:17-08:00, davidm@tiger.hpl.hp.com ia64: Update defconfig ChangeSet@1.1643.4.6, 2004-02-25 22:41:18-05:00, jgarzik@redhat.com [libata] Much better s/g table fill routine My version wouldn't work for really large iommu merges. Contributed by Benjamin Herrenschmidt, with a tiny optimization from me. ChangeSet@1.1653.1.1, 2004-02-25 20:26:39-05:00, jgarzik@redhat.com Fix PCI MSI build when kirqd is disabled. ChangeSet@1.1557.76.5, 2004-02-26 02:10:05+01:00, marcel@holtmann.org [Bluetooth] Use C99 initializer for HCI USB driver This patch changes the GNU-style initializers to C99 style initializers in the HCI USB driver. Patch from Art Haas ChangeSet@1.1557.76.4, 2004-02-26 02:07:39+01:00, marcel@holtmann.org [Bluetooth] Dynamic allocation of HCI device For correct integration into the driver model the allocation of the HCI device must be dynamic. ChangeSet@1.1643.4.5, 2004-02-25 18:29:15-05:00, jgarzik@redhat.com [libata] bump versions ChangeSet@1.1643.4.4, 2004-02-25 18:26:11-05:00, dmilburn@redhat.com [libata sata_promise] Fix DIMM initialization on PCI-X bus ChangeSet@1.1643.4.3, 2004-02-25 18:22:42-05:00, jgarzik@redhat.com [libata] Explicitly set max_phys_segments to 128 (current blk default), in case MAX_PHYS_SEGMENTS ever changes. ChangeSet@1.1557.64.18, 2004-02-25 14:48:53-08:00, davidm@tiger.hpl.hp.com ia64: Update defconfig ChangeSet@1.1557.64.17, 2004-02-25 14:46:47-08:00, davidm@tiger.hpl.hp.com ia64: Fix bug in ia64_get_scratch_nat_bits()/ia64_put_scratch_nat_bits(). ChangeSet@1.1643.4.2, 2004-02-25 16:54:35-05:00, jgarzik@redhat.com [libata sata_sil] fix 4-port support on SII 3114 ChangeSet@1.1643.4.1, 2004-02-25 16:51:35-05:00, jgarzik@redhat.com [libata] Guarantee that S/G entries do not straddle IDE DMA 64k boundary ChangeSet@1.1654, 2004-02-25 14:13:56-05:00, bcollins@debian.org Merge http://linux.bkbits.net/linux-2.5 into debian.org:/usr/src/kernel/sparc-2.6 ChangeSet@1.1643.3.2, 2004-02-25 13:51:47-05:00, bcollins@debian.org [SPARC64]: Use prom_printf in sun_do_break() instead of printk. Avoids lockup. ChangeSet@1.1653, 2004-02-25 10:01:35-08:00, ak@suse.de [PATCH] Support AGP bridge on Nvidia Nforce3 + cleanup For some unknown reasons Nvidia NForce3 doesn't use the standard Hammer AGP architecture, but requires set up of some shadow registers. This patch adds that to the K8 AGP driver. Based on an old 2.4 patch from someone at Nvidia. Also includes another bug fix for the K8 AGP handler, from Brad House. We should not assume that there is only one northbridge in a Uniprocessor system. Always flush all. Also some minor cleanup. ChangeSet@1.1652, 2004-02-25 10:01:26-08:00, ak@suse.de [PATCH] Run 32bit compat ioctl handlers in BKL Give 32bit emulation ioctl handlers the same locking rules as normal ioctl handlers. This will avoid surprises in driver code. Most call sys_ioctl who would take it anyways. ChangeSet@1.1651, 2004-02-25 09:58:41-08:00, ak@suse.de [PATCH] New machine check handler for x86-64 This adds a new completely rewritten machine check handler for x86-64. The old one never worked on 2.6. The new handler has many improvements. It closely follows the Intel and AMD recommendations on MCE handlers now (the old one had many violations). It handles unrecoverable errors in user space better now - it will only kill the process now if possible instead of panicing. This one is CPU independent now - it should work on any CPU that supports the standard x86 MCA architecture. This new handler only logs fatal errors that lead to kernel panic to the console. Non fatal errors are logged race free into a new (non ring) buffer now and supplied to the user using a new character device. The old one could deadlock on console and printk locks. This also separates machine check errors from real kernel errors better. The new buffer has been also designed to be easily accessible from external debugging tools: it has a signature and could be even recovered after reboot. It is not organized as a ring buffer - this means the first errors are kept unless explicitely cleared. The new error formats can be parsed using ftp://ftp.suse.com/pub/people/ak/x86-64/mcelog.c The new character device for it can be created with mknod /dev/mcelog c 10 227 There is a new sysfs interface to configure the machine check handler. It has a "tolerant" parameter that defines the aggressiveness of the machine check: 0: always panic 1: panic if deadlock possible (e.g. MCE happened in the kernel) 2: try to avoid panic Default is 2 Despite of having more features the new handler is shorter. ChangeSet@1.1650, 2004-02-25 09:56:12-08:00, ak@suse.de [PATCH] x86-64 merge for 2.6.3 Bring the x86-64 port up to date. Lots of smaller bug fixes that have accumulated. Also fixes another nasty bug introduced by the IA32e changes that causes BUGs at boot for some people. Only changes x86-64 specific files. There are some other changes that I'm sending separately. - Some cleanup in NMI watchdog code - Fix HyperThreading CPU setup race (Suresh B. Siddha) - Update defconfig - Add a comment on why iommu_fullflush is disabled. - Export sys_ioctl again - Fix build with IA32_EMULATION=y and SYSVIPC=n - Remove noisy boot printks in the mptable scan. - Implement automatic NMI watchdog switching for real now - Remove redundant 32bit ioctl handlers for autofs - Remove CONFIG ifdefs around rtc 32bit ioctl handlers - Remove useless nfsctl ifdef in syscall.c (Al Viro) - Increase padding for prefetchw alternative - Check for NX bit early before setting up memory maps (Suresh B. Siddha) - Change Intel IA32e config description and fix help texts (Jun Nakajima) - Fix microcode driver build really now (Dave Jones) - Add nohpet option to disable HPET timer - Fix double semicolon in aperture.c - Add cmpxchg16b cpuid entry - Fix return value of read_pci_config_16 (Paul Menage) - Fix __KERNEL_COMPAT32_CS (Zachary Amsden) - Disable the infamous 30 minutes check in CMOS time setting - Update URLs in Kconfig (Petri T. Koistinen) - Fix ACPI interrupt source parsing for Nforce3 (Maciej W. Rozycki) - Fix 32bit ipc version parsing. - Run local APIC NMI watchdog only once a second (or less often on idle boxes) - Merge ACPI APIC SCI functions from i386 - Add i8254 timer suspend code from i386 - Merge with 2.6.2-rc3 + minor changes from i386 - Fix empty_zero_page declaration (Greg Johnson) - Readd sysctls for exception/page fault trace and vsyscall32 - Fix WCHAN - Fix STACK_TOP usage. Stack for 64bit processes should be at the top of memory now again. Also set it correctly for LINUX32_3GB. - Add warning fixes for gcc 3.4 and -Wdeclaration-after-statement ChangeSet@1.1648, 2004-02-25 08:12:37-08:00, akpm@osdl.org [PATCH] asmlinkage fixes From: Andreas Gruenbacher , and me. Latest gcc cvs is able to detect mismatches between functions which are tagged asmlinkage and declarations which are missing asmlinkage. Or vice versa. Fix up the fallout from an x86 allyesconfig build. ChangeSet@1.1647, 2004-02-25 08:12:24-08:00, akpm@osdl.org [PATCH] add syscalls.h From: "Randy.Dunlap" Add syscalls.h, which contains prototypes for the kernel's system calls. Replace open-coded declarations all over the place. This patch found a couple of prior bugs. It appears to be more important with -mregparm=3 as we discover more asmlinkage mismatches. Some syscalls have arch-dependent arguments, so their prototypes are in the arch-specific unistd.h. Maybe it should have been asm/syscalls.h, but there were already arch-specific syscall prototypes in asm/unistd.h... Tested on x86, ia64, x86_64, ppc64, s390 and sparc64. May cause trivial-to-fix build breakage on other architectures. ChangeSet@1.1608.4.2, 2004-02-25 09:43:38-05:00, bcollins@debian.org IEEE1394(r1163): Fixup nodemgr_{suspend,resume}_ne to use the ud class list. ChangeSet@1.1608.4.1, 2004-02-25 09:38:03-05:00, bcollins@debian.org IEEE1394(r1162): Check return value for errors from hpsb_register_protocol. ChangeSet@1.1643.1.8, 2004-02-25 00:24:37-08:00, dlstevens@us.ibm.com [IGMP/MLD]: Check for numsrc overflow, plus temp buffer tweaks. ChangeSet@1.1643.1.7, 2004-02-25 00:21:07-08:00, chas@cmf.nrl.navy.mil [ATM]: use clip_tbl instead of clp_tbl_hook (from Francois Romieu ) ChangeSet@1.1643.1.6, 2004-02-25 00:20:28-08:00, chas@cmf.nrl.navy.mil [ATM]: horizon: make reset function not __init (from Randy Dunlap ) ChangeSet@1.1643.1.5, 2004-02-25 00:17:59-08:00, davem@nuts.davemloft.net [IPV6]: UDPv6 needs recvmsg csum error path fix too, thanks Olaf. ChangeSet@1.1643.1.4, 2004-02-25 00:15:18-08:00, mludvig@suse.cz [XFRM_USER]: In xfrm_send_{acquire,policy_notify}(), use {RTA,NLMSG}_SPACE(). ChangeSet@1.1643.1.3, 2004-02-25 00:13:51-08:00, mludvig@suse.cz [XFRM_USER]: Fix SKB sizing in xfrm_send_policy_notify(). ChangeSet@1.1643.1.2, 2004-02-25 00:12:28-08:00, viro@parcelfarce.linux.theplanet.co.uk [WANROUTER]: Kill MODULE ifdefs. ChangeSet@1.1643.1.1, 2004-02-25 00:11:46-08:00, kaber@trash.net [NETFILTER]: Fix amanda helpers, forward port from 2.4.x version. ChangeSet@1.1617.1.3, 2004-02-25 02:13:08-05:00, akpm@osdl.org [PATCH] drivers/acpi/sleep/proc.c warnings drivers/acpi/sleep/proc.c:359: warning: initialization from incompatible pointer type drivers/acpi/sleep/proc.c:367: warning: initialization from incompatible pointer type ChangeSet@1.1617.1.2, 2004-02-25 02:12:53-05:00, akpm@osdl.org [PATCH] acpi/utils.c warning fix drivers/acpi/utils.c: In function `acpi_evaluate_reference': drivers/acpi/utils.c:353: warning: unsigned int format, different type arg (arg 5) ChangeSet@1.1643, 2004-02-24 20:05:09-08:00, akpm@osdl.org [PATCH] swsusp/s3: Assembly interactions need asmlinkage From: Pavel Machek swsusp/s3 assembly parts, and parts called from assembly are not properly marked asmlinkage; that leads to double fault on resume when someone compiles kernel with regparm. Thanks go to Stefan Seyfried for discovering this. ChangeSet@1.1642, 2004-02-24 20:04:58-08:00, akpm@osdl.org [PATCH] Change ENOTSUPP to EOPNOTSUPP From: James Morris ENOTSUPP is the wrong value, and should not be returned to userspace. ChangeSet@1.1641, 2004-02-24 20:04:47-08:00, akpm@osdl.org [PATCH] Eicon isdn driver compile __devexit compile fix From: Armin Pointers to __devexit functions must be wrapped with the __devexit_p() macro. ChangeSet@1.1640, 2004-02-24 20:04:36-08:00, akpm@osdl.org [PATCH] fix the build with CONFIG_UNIX98_PTYS=n From: Ian Wienand - Fix inline function declarations - Use #ifdef for CONFIG_*, not #if ChangeSet@1.1639, 2004-02-24 20:04:26-08:00, akpm@osdl.org [PATCH] jffs2: Don't jump between contexts From: David Woodhouse Don't jump between contexts. (don't write comprehensible changelogs, either). ChangeSet@1.1638, 2004-02-24 20:04:15-08:00, akpm@osdl.org [PATCH] pty changes require procps 3.2 From: Albert Cahalan Now that /dev/pts is using the 12:20 dev_t, a new procps is required. ChangeSet@1.1637, 2004-02-24 20:04:05-08:00, akpm@osdl.org [PATCH] clarify MSI requirements in Kconfig From: Martine Silbermann Having spent a non trivial amount of time trying to pull in the code to enable MSI, I would suggest that a clear indication in Kconfig that MSI requires CONFIG_PCI_USE_VECTOR would be very helpful. Also since the MSI code was integrated into 2.6.1 I've updated the comment that called for installing the MSI patch. ChangeSet@1.1636, 2004-02-24 20:03:54-08:00, akpm@osdl.org [PATCH] remove unneeded check from sys_sysctl() That check I just added to sys_sysctl() is not needed: do_sysctl() checks as well. ChangeSet@1.1635, 2004-02-24 20:03:44-08:00, akpm@osdl.org [PATCH] cosmetic printk fix From: Arjan van de Ven One of my machines prints the following in dmesg during boot; CPU: Trace cache: 4K uops<6>CPU: L2 cache: 256K cause is a missing \n being printed; fix below. ChangeSet@1.1634, 2004-02-24 20:03:32-08:00, akpm@osdl.org [PATCH] x86: remove THREAD_SIZE assumption cleanups From: Arjan van de Ven some more hardcoded THREAD_SIZE cleanups. ChangeSet@1.1633, 2004-02-24 20:03:21-08:00, akpm@osdl.org [PATCH] add the Intel Alder IO-APIC PCI device to quirks From: James Bottomley The alder has an intel Extended Express System Support Controller which presents apparently spurious BARs. When the pci resource code tries to reassign these BARs, the second IO-APIC gets disabled (with disastrous consequences). The first BAR is the actual IO-APIC, the remaining five bars seem to be spurious resources, so we forcibly insert the first one into the resource tree and clear all the others. ChangeSet@1.1632, 2004-02-24 20:03:10-08:00, akpm@osdl.org [PATCH] Make insert_resource work for alder IOAPIC resources From: James Bottomley This is a necessary precursor patch for getting the Intel Alder motherboard working (it has a PCI device corresponding to the IO-APIC which has to be forcibly inserted into the machine's reserved memory region). Eric Biederman was going to come up with a more comprehensive fix, but in the meantime, this is the minimum necessary to get insert_resource to work when the covering region is larger than the resource being inserted. ChangeSet@1.1631, 2004-02-24 20:03:00-08:00, akpm@osdl.org [PATCH] Report NGROUPS_MAX via a sysctl (read-only) From: Tim Hockin Attached is a simple patch to expose NGROUPS_MAX via sysctl. Nothing fancy, just a read-only variable. glibc can use this to sysconf() the value properly, so apps will stop relying on NGROUPS_MAX as a real constant. ChangeSet@1.1630, 2004-02-24 20:02:48-08:00, akpm@osdl.org [PATCH] Fix make xconfig on /lib64 systems From: Andi Kleen , R. J. Wysocki Without this make xconfig doesn't find the Qt library on systems using /lib64 (like x86-64) ChangeSet@1.1629, 2004-02-24 20:02:38-08:00, akpm@osdl.org [PATCH] ppc64: archhelp fix From: Jeremy Kerr This patch is missing a single quote; here's a fix. ChangeSet@1.1628, 2004-02-24 19:58:56-08:00, paulus@samba.org [PATCH] Clean up IRQ mapping code On the larger ppc64 machines we remap the interrupt numbers used by the hardware/firmware to virtual IRQ numbers < NR_IRQS. Up until now we have used an array for the "real" (hardware) -> virtual IRQ number mapping, but with new machines coming out that will have 24-bit hardware IRQ numbers, this will break. However, in fact it is only the XICS interrupt controller which cares about this mapping. This patch moves that side of the mapping (real -> virtual) into the XICS code and makes it use a radix tree. On iSeries we have a similar issue, where the "real" IRQ numbers that we need are in fact an encoding of the bus/device/function address of the device. This patch fixes iSeries to use the virt->real IRQ mapping, allowing us to support larger iSeries machines. This patch also gets rid of the temporary hack that Stephen Rothwell submitted. On machines with OpenPIC (including the G5) the mapping is explicitly 1-1, and that hasn't changed. For other machines this patch cleans up and simplifies the code that sets up the virtual->real mapping. I have tested this code and verified that G5, pSeries and iSeries boot and run correctly with this patch. ChangeSet@1.1626, 2004-02-24 19:56:41-08:00, jgarzik@pobox.com [PATCH] default 8139too to PIO Some machines still appear to lock up under MMIO mode, so default to PIO. ChangeSet@1.1588.4.2, 2004-02-24 22:05:20-05:00, bcollins@debian.org SPARC64: Use hard_smp_processor_id() for init_irqwork_curcpu() ChangeSet@1.1617.2.1, 2004-02-24 21:18:44-05:00, jgarzik@redhat.com Improvements to the bk-make-sum BitKeeper summary/submission script: * use bk:// url to reduce confusion * remove "Linus, " from introductory output text * don't diffstat each individual cset; do the entire patch all in one go. Makes the script a -lot- faster when summarizing a large number of changesets. ChangeSet@1.1625, 2004-02-24 20:31:01-05:00, jgarzik@redhat.com Delete tms380tr firmware, no longer needed now that driver uses request_firmware() ChangeSet@1.1624, 2004-02-24 20:29:54-05:00, jochen@scram.de [PATCH] tms380tr patch 3/3 (get firmware out of kernel) Hi Jeff, the last one makes tms380tr use the kernel firmware loader instead of linking some propriatary code into the kernel, probably violating the GPL. drivers/net/tokenring/tms380tr_microcode.h can go after this patch has been applied. --jochen tms380tr.c | 34 ++++++++++++++++++++++++++++++---- 1 files changed, 30 insertions(+), 4 deletions(-) ChangeSet@1.1623, 2004-02-24 20:29:47-05:00, jochen@scram.de [PATCH] tms380tr patch 2/3 (queue fix) Hi Jeff, this one removes the internal queue of tms380tr. It was racy, anyways. --jochen tms380tr.c | 178 +++++++++++++++++++++++-------------------------------------- tms380tr.h | 4 - 2 files changed, 70 insertions(+), 112 deletions(-) ChangeSet@1.1622, 2004-02-24 20:29:39-05:00, jochen@scram.de [PATCH] tms380tr patch 1/3 (bug fix) Hi Jeff, this fixes some problems partly introduced in the latest token ring update: - mix of alloc_trdev(0) and alloc_trdev(sizeof(struct net_local)) confused memory management. - initialization of proteon and sknet cards was broken. - proteon_close() and skisa_close() deleted. --jochen abyss.c | 2 - madgemc.c | 2 - proteon.c | 91 ++++++++++++++++++++++++------------------------------- skisa.c | 100 +++++++++++++++++++++++++------------------------------------ tms380tr.c | 41 +++++++++---------------- tmspci.c | 2 - 6 files changed, 100 insertions(+), 138 deletions(-) ChangeSet@1.1621, 2004-02-24 20:17:51-05:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] vlsi_ir leak, allocation and freeing fixes * switched to sane allocation * fixes race on removal - we unregistered too late * contrary to the comment, device had no destructor, so removal had leaked - unregister_netdev() doesn't trigger freeing in that driver. * fixes freeing (kfree -> free_netdev) Otherwise the same story as with previous patch - irda-related part of NE* that got lost. ChangeSet@1.1608.2.19, 2004-02-24 20:01:14-05:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] au1k leaks, allocation and free_netdev() fixes * fixes leaks on failed init * switches to sane allocation * fixes netdev freeing (kfree -> free_netdev) * fixes the idiocy with ->init() (from registger_netdev()) calling unregister_netdevice() in case of failure - before we got anywhere past the very beginning of register_netdev(). That's a part of NE* series that failed through the cracks (there were pending irda patches, so that had been postponed, irda patches either hadn't materialized in two months or hadn't touched that driver at all, the latter being more likely). Please, apply. ChangeSet@1.1608.2.18, 2004-02-24 20:01:07-05:00, srompf@isg.de [PATCH] netif_carrier_on()/off() for xircom_tulip_cb ChangeSet@1.1608.2.17, 2004-02-24 20:00:59-05:00, srompf@isg.de [PATCH] Re: Patch: netif_carrier_on()/off() for xircom_tulip_cb --Boundary-00=_EQjNA7alc3Y2zQJ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, > Please resend patches that may be applied with "patch -p1", > not "patch -p0". ok., here's the first, suspend/resume --Boundary-00=_EQjNA7alc3Y2zQJ Content-Type: text/x-diff; charset="iso-8859-1"; name="xircom_tulip_cb_pm.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="xircom_tulip_cb_pm.diff" ChangeSet@1.1608.2.16, 2004-02-24 20:00:52-05:00, akpm@osdl.org [PATCH] m68k: Amiga Hydra Ethernet new driver model From: Geert Uytterhoeven Hydra Ethernet: Convert to the new driver model ChangeSet@1.1608.2.15, 2004-02-24 20:00:44-05:00, akpm@osdl.org [PATCH] m68k: Amiga Ariadne Ethernet new driver model From: Geert Uytterhoeven Ariadne Ethernet: Convert to the new driver model ChangeSet@1.1608.2.14, 2004-02-24 20:00:37-05:00, akpm@osdl.org [PATCH] m68k: Amiga A2065 Ethernet new driver model From: Geert Uytterhoeven A2065 Ethernet: Convert to the new driver model ChangeSet@1.1608.2.13, 2004-02-24 20:00:30-05:00, akpm@osdl.org [PATCH] m68k: Atari Pamsnet warning From: Geert Uytterhoeven Atari Pamsnet Ethernet: Kill warning ChangeSet@1.1608.2.12, 2004-02-24 20:00:23-05:00, akpm@osdl.org [PATCH] m68k: Sun-3 LANCE Ethernet From: Geert Uytterhoeven sun3lance updates from Sam Creasey: - Pass the correct flags to request_irq() - Add debug code for transmitting packets ChangeSet@1.1608.2.11, 2004-02-24 20:00:15-05:00, shemminger@osdl.org [PATCH] Allow pcnet_cs to work with shared irq Here is a rediff'd version of the patch to fix shared irq handling in pcnet_cs and generic 8390 drivers. ChangeSet@1.1608.2.10, 2004-02-24 20:00:08-05:00, shemminger@osdl.org [PATCH] Re: IA32 (2.6.3 - 2004-02-18.22.30) - 4 New warnings (gcc 3.2.2) Error path (EISA) probe was using device before set. # This is a BitKeeper generated patch for the following project: # Project Name: Linux kernel tree # This patch format is intended for GNU patch command version 2.5 or higher. # This patch includes the following deltas: # ChangeSet 1.1567 -> 1.1568 # drivers/net/dgrs.c 1.23 -> 1.24 # # The following is the BitKeeper ChangeSet Log # -------------------------------------------- # 04/02/19 shemminger@osdl.org 1.1568 # fix bug in eisa error path. # -------------------------------------------- # ChangeSet@1.1608.2.9, 2004-02-24 19:50:10-05:00, scott.feldman@intel.com [netdrvr e100] Response to Jeff's review plus some minor fixes. * define dump stats complete constant * add mwb() to keep order straight with HW when appending new resources to Rx and Tx queues * increment stats for rx_dropped and rx_over_errors ChangeSet@1.1608.2.8, 2004-02-24 19:44:36-05:00, scott.feldman@intel.com [PATCH] e1000: handle register_netdev failure * driver not handling failures of register_netdev [Stephen Hemminger (shemminger@osdl.org)] ChangeSet@1.1608.2.7, 2004-02-24 19:44:00-05:00, scott.feldman@intel.com [PATCH] e1000: collision retry count too high * For half duplex, the IEEE says collision retry count should be 15 not 16. Would cause really slow transfers on some hubs (i.e NetGear DS108). ChangeSet@1.1608.2.6, 2004-02-24 19:43:32-05:00, scott.feldman@intel.com [PATCH] e1000: delay may be too small * msec_delay macro wouldn't delay at all if x < 10, and wouldn't delay enough for x = 10. Not a concern for 2.6 (HZ=1000) but is for 2.4 (HZ=100). ChangeSet@1.1608.2.5, 2004-02-24 19:43:09-05:00, scott.feldman@intel.com [PATCH] e1000: disable CSA fix for 82547 * Multiple reports of system lock-ups with the CSA patch, so let's disable fix for now until we can understand why this is causing the hangs. It was first thought that only pre- productions systems would hang, but that's not true. ChangeSet@1.1608.2.4, 2004-02-24 19:42:49-05:00, scott.feldman@intel.com [PATCH] e1000: disable TSO for now * Disable TSO as default setting until some hangs/resets caused with TSO enabled are root-caused. TSO can still be manually enabled using ethtool -K. ChangeSet@1.1608.2.3, 2004-02-24 19:42:35-05:00, scott.feldman@intel.com [PATCH] e1000: flow control * Bug fix: flow control high/low watermark settings not within Rx FIFO range: math error. ChangeSet@1.1608.2.2, 2004-02-24 19:42:27-05:00, phillim2@comcast.net [PATCH] 3c359_microcode.h clean up - 2.6.3 Small patch to clean up 3c359_micrcode.h, no other drivers in the kernel come anywhere near the file and the #if is superflous. Mike Phillips ChangeSet@1.1608.3.9, 2004-02-24 19:29:26-05:00, brazilnut@us.ibm.com [PATCH] pcnet32.c fix compile error Arrgh. I sent the wrong diff file. This one fixes the compile error I introduced ;-( ChangeSet@1.1608.3.8, 2004-02-24 19:29:19-05:00, brazilnut@us.ibm.com [PATCH] whitespace only change to pcnet32.c Last change for a while. This modifies the whitespace only. consistent indentation, deletes trailing tabs, trailing spaces, etc. ChangeSet@1.1608.3.7, 2004-02-24 19:29:12-05:00, brazilnut@us.ibm.com [PATCH] pcnet32.c adds loopback test This adds the ability to do a local loopback test for the adapter. This source was submitted by James Lewis . Tested on PPC and IA32 systems. ChangeSet@1.1608.3.6, 2004-02-24 19:29:04-05:00, brazilnut@us.ibm.com [PATCH] pcnet32.c add PCI hot remove support This patch adds support for PCI hot remove. Tested on PPC64 boxes. The driver has also been checked to comply with PCMCIA/cardbus remove requirements, but as I don't have a PCMCIA card, it is untested. If a PCMCIA card is removed, reads will return FFFF. The FFFF will cause all while loops to exit. ChangeSet@1.1608.3.5, 2004-02-24 19:28:57-05:00, brazilnut@us.ibm.com [PATCH] pcnet32.c non-mii errors with ethtool pcnet32 devices which do not contain an mii respond incorrectly to ethtool commands. Reported by VANDROVE@vc.cvut.cz and Thomas Munck Steenholdt. ChangeSet@1.1608.3.4, 2004-02-24 19:28:50-05:00, brazilnut@us.ibm.com [PATCH] pcnet32.c handle failures in open If there are errors in the open routine, the driver does not correctly clean up and free resources. This also removes an unnecessary netif_wake_queue, correctly supports the debug parameter, and updates the version and date. ChangeSet@1.1608.3.3, 2004-02-24 19:28:42-05:00, brazilnut@us.ibm.com [PATCH] 2.6.3 pcnet32.c change to use ethtool_ops This changes the driver to use ethtool_ops to be more modular. There is a net delta of just a one line between the two implementations, but permission checking and copying to/from user space, etc. is all done in a consistent manner by ethtool.c ChangeSet@1.1608.3.2, 2004-02-24 19:28:35-05:00, brazilnut@us.ibm.com [PATCH] 2.6.3 pcnet32.c convert to use netif_msg_* This patch converts the driver to use netif_msg_* for printing messages. Tested IA32. ChangeSet@1.1608.3.1, 2004-02-24 19:28:26-05:00, brazilnut@us.ibm.com [PATCH] 2.6.3 pcnet32.c wrong vendor ID fix This patch was originally sent by Jon Mason on Sat Jan 31. "I created a patch that allows pcnet32 adapters sold in IBM RS/6000 systems to be recognized in non-ppc computers. The problem is that the Vendor ID of this adapter is incorrect. There is a ppc specific workaround to get it working on that architecture (checkout http://lxr.linux.no/source/arch/ppc/kernel/pci.c?a=ppc#L87 for the workaround), but it obviously won't fix the problem in non-ppc architectures." ChangeSet@1.1588.4.1, 2004-02-24 19:28:21-05:00, bcollins@debian.org SPARC64: Fix debug spinlocks to not trash random memory with > 4 cpus's (or sparse cpu's). ChangeSet@1.1557.64.16, 2004-02-24 13:48:30-08:00, Robert.Picco@hp.com [PATCH] ia64: add support for NUMA machines with CPU-only (memory-less) nodes This patch works around a limitation in the current NUMA code, which doesn't support CPU-only (memory-less) nodes. With this patch CPU-only nodes are moved to a node with memory which is at the closest relative distance per the SLIT information. Any node reassignments will result in the compression of the nodes and renumbering the nid values where appropriate. ChangeSet@1.1616, 2004-02-24 13:30:10-08:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] typo fix in intermezzo patch Sigh... Build/fix bugs/rediff/send the old diff story... Sorry - just have noticed that ;-/ ChangeSet@1.1557.64.15, 2004-02-24 13:27:23-08:00, willy@debian.org [PATCH] ia64: Add "install" make target i386 has a 'make install' target that I find rather useful. This patch introduces it to ia64 too. Once http://bugs.debian.org/234557 is accepted, it'll work in Debian. Until then, you may wish to add your own ~/bin/installkernel or chmod a-x /sbin/installkernel. ChangeSet@1.1615, 2004-02-24 12:29:27-08:00, agruen@suse.de [PATCH] CONFIG_REGPARM breaks non-asmlinkage syscalls With CONFIG_REGPARM=y, syscalls must be declared asmlinkage or else calling them will fail. This fix adds a few missing declarations for sys_fadvise64_64() and sys_remap_file_pages(). ChangeSet@1.1614, 2004-02-24 12:26:03-08:00, axboe@suse.de [PATCH] fix SCSI non-sector bio backed IO This fixes the SCSI layer to handle non-sector-aligned requests from SG_IO (and potentially anything else producing these requests) that could stall the machine and cause all sorts of funnies depending on the low level driver used. ChangeSet@1.1613, 2004-02-24 12:25:53-08:00, James.Bottomley@SteelEye.com [PATCH] Undo SCSI 8-byte alignment relaxation This makes the default alignment requirements be 512 bytes for SCSI, the way it used to be. Jens will fix the SCSI layer problems, but low-level drivers might have other restrictions on alignment. ChangeSet@1.1597.5.3, 2004-02-24 19:59:00+00:00, davej@redhat.com [CPUFREQ] Don't guess FSB on Nehemiah. Instead we can get it from the maximum capable fsb bits (given thats what we boot at). ChangeSet@1.1597.5.2, 2004-02-24 19:10:44+00:00, davej@redhat.com [CPUFREQ] Extra sanity checks in longhaul. ChangeSet@1.1597.5.1, 2004-02-24 19:08:55+00:00, davej@redhat.com [CPUFREQ] Don't set up longhaul voltage scaling too early. We can bomb out early, so don't poke any registers just in case. ChangeSet@1.1608.2.1, 2004-02-24 13:38:03-05:00, jgarzik@redhat.com Add Documentation/networking/netif-msg.txt, describing the per-network-interface message logging standards for net drivers. Written by Donald Becker. ChangeSet@1.1608.1.4, 2004-02-24 13:27:37-05:00, rddunlap@osdl.org [PATCH] strip: use kernel min/max Domen Puncer schrieb: > > Just some suggestions... > >> #define ELEMENTS_OF(X) (sizeof(X) / sizeof((X)[0])) > > Remove this define and s/ELEMENTS_OF/ARRAY_SIZE/g > There are more occurances of redundant ARRAY_SIZEs in the kernel. I will keep that in mind! > > >>@@ -847,7 +845,7 @@ >> static int allocate_buffers(struct strip *strip_info, int mtu) >> { >> struct net_device *dev = strip_info->dev; >>- int sx_size = MAX(STRIP_ENCAP_SIZE(MAX_RECV_MTU), 4096); >>+ int sx_size = max((int)STRIP_ENCAP_SIZE(MAX_RECV_MTU), 4096); > > > max_t? Changed that to max_t and min_t. A newbie queston: What should when be preferred and why? ChangeSet@1.1608.1.3, 2004-02-24 13:27:30-05:00, rddunlap@osdl.org [PATCH] strip: remove warnings when !PROC_FS When !CONFIG_PROC_FS, I'm getting this warning: drivers/net/wireless/strip.c:1169: warning: `strip_seq_fops' defined but not used ChangeSet@1.1608.1.2, 2004-02-24 13:27:22-05:00, rddunlap@osdl.org [PATCH] ibmtr: use kernel min/max ChangeSet@1.1608.1.1, 2004-02-24 13:27:15-05:00, rddunlap@osdl.org [PATCH] ne: eliminate unused var. warning ChangeSet@1.1612, 2004-02-24 09:53:03-08:00, James.Bottomley@SteelEye.com [PATCH] fix IRQBALANCE Kconfig dependencies CONFIG_IRQBALANCE only affects arch/i386/kernel/io_apic.c, so you should only see it as an option if you actually have one of those. This patch makes IRQBALANCE depend on X86_IO_APIC. ChangeSet@1.1611, 2004-02-24 09:35:01-08:00, torvalds@ppc970.osdl.org Merge bk://linux-scsi.bkbits.net/scsi-for-linus-2.6 into ppc970.osdl.org:/home/torvalds/v2.5/linux ChangeSet@1.1610, 2004-02-24 08:09:51-08:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] intermezzo ->permission() idiocy ... yes, Virginia, some perverts *do* tweak widely shared method tables and do that in very sensitive spots, at that... ChangeSet@1.1609, 2004-02-24 08:03:49-08:00, benh@kernel.crashing.org [PATCH] ppc64 oops on /proc/cpuinfo This fixes the ppc64 /proc/cpuinfo oops introduced with the lmb cleanups. We are trying to slowly phase out the LMB stuff (it mostly duplicates functionality of bootmem...), this part got overlooked. ChangeSet@1.1607, 2004-02-23 23:54:17-05:00, bcollins@debian.org IEEE1394(r1161): Major cleanup and addition of a ud-class, to make things even cleaner. ChangeSet@1.1597.4.33, 2004-02-23 20:50:28-08:00, akpm@osdl.org [PATCH] ppc64: fix cmd_line bugs From: Anton Blanchard There were a number of bugs in our cmd_line handling: - We were looking at cmd_line after it had been tokenised. Use saved_command line instead - Use strlcpy instead of memcpy/explicit NULL set. - Remove magic numbers in iseries cmd_line parsing ChangeSet@1.1597.4.32, 2004-02-23 20:46:17-08:00, akpm@osdl.org [PATCH] ppc64: uniprocessor compile fixes From: Anton Blanchard UP compile fixes. ChangeSet@1.1597.4.31, 2004-02-23 20:46:07-08:00, akpm@osdl.org [PATCH] ppc64: restore cpu names From: Anton Blanchard Restore the old cpu names in /proc/cpuinfo, some applications parse this field. ChangeSet@1.1597.4.30, 2004-02-23 20:45:56-08:00, akpm@osdl.org [PATCH] trivial oops formatting cleanups From: Anton Blanchard Some trivial oops cleanups. ChangeSet@1.1597.4.29, 2004-02-23 20:45:46-08:00, akpm@osdl.org [PATCH] fix for NUMA kernel on non NUMA machine From: Anton Blanchard Set node 0 online, otherwise the recent cpu/memory topology stuff will oops on a non NUMA machine. ChangeSet@1.1597.4.28, 2004-02-23 20:45:35-08:00, akpm@osdl.org [PATCH] ppc64: set err to -ENODEV when a new node doesn't have "interrupt" property. From: Linda Xie set err to -ENODEV when a new node doesn't have "interrupt" property. ChangeSet@1.1597.4.27, 2004-02-23 20:45:25-08:00, akpm@osdl.org [PATCH] ppc64: Fix __get_SP() From: Anton Blanchard __get_SP used to be a function call which meant we allocated a stack frame before calling it. This meant the SP it returned was one frame below the current function. Lets call that bogusSP (and the real one SP). The new dump_stack was being tail call optimised so it remained one frame above bogusSP. dump_stack would then store below SP (as the ABI allows us to) and would stomp over the back link that bogusSP pointed to (__get_SP had set the back link up so it worked sometimes, just not all the time). Fix this by just making __get_SP an inline that returns the current SP. ChangeSet@1.1597.4.26, 2004-02-23 20:45:14-08:00, akpm@osdl.org [PATCH] ppc64: don't link some non iSeries stuff From: Stephen Rothwell I think Ben introduced this new file and iSeries doesn't need it. ChangeSet@1.1597.4.25, 2004-02-23 20:45:03-08:00, akpm@osdl.org [PATCH] ppc64: PER_CPU irq optimisations From: Anton Blanchard Another decent optimisation found in the ia64 port, dont take the irq descriptor lock or do the note_interrupt stuff on PER_CPU irqs (ie IPIs). ChangeSet@1.1597.4.24, 2004-02-23 20:44:53-08:00, akpm@osdl.org [PATCH] ppc64: Clean up per cpu usage in segment table code. From: Anton Blanchard Clean up per cpu usage in segment table code. ChangeSet@1.1597.4.23, 2004-02-23 20:44:42-08:00, akpm@osdl.org [PATCH] ppc64: Make a number of segment table functions static. From: Anton Blanchard Make a number of segment table functions static. Clean up one duplicated slbia. ChangeSet@1.1597.4.22, 2004-02-23 20:44:31-08:00, akpm@osdl.org [PATCH] Add cpus and NUMA memory nodes to sysfs. Also add cpu physical id. From: Anton Blanchard Add cpus and NUMA memory nodes to sysfs. Also add cpu physical id. ChangeSet@1.1597.4.21, 2004-02-23 20:44:21-08:00, akpm@osdl.org [PATCH] ppc64: remove get_users in backtrace code From: Anton Blanchard The might_sleep infrastructure doesnt like our get_users in the backtrace code, we often end up with might_sleep warnings inside might_sleep warnings. Instead just be careful about pointers before dereferencing them. Also remove the hack where we only printed the bottom 32bits of the WCHAN value. ChangeSet@1.1597.4.20, 2004-02-23 20:44:10-08:00, akpm@osdl.org [PATCH] ppc64: Add stack overflow debugging From: Anton Blanchard This adds stack overflow debugging much like x86. Its pretty agressive and checks if > 8kB out of 16kB of stack is used. ChangeSet@1.1597.4.19, 2004-02-23 20:44:00-08:00, akpm@osdl.org [PATCH] ppc64: This cleans up the rtasd logic, and also makes it hotplug CPU safe. From: Rusty Russell This cleans up the rtasd logic, and also makes it hotplug CPU safe. ChangeSet@1.1597.4.18, 2004-02-23 20:43:49-08:00, akpm@osdl.org [PATCH] ppc64: remove useless smp_message_pass args From: Anton Blanchard smp_message_pass has a few args that are never used. Remove em. Also add memory missing memory barrier in smp_call_function_interrupt. ChangeSet@1.1597.4.17, 2004-02-23 20:43:38-08:00, akpm@osdl.org [PATCH] ppc64 cpu spinup fixes From: Rusty Russell 1) Check for cpuids >= NR_CPUS in prom_hold_cpus: we previously overflowed arrays when this happened, and checking it here ensures that it doesn't happen elsewhere. Still move processors to secondary_hold (out of OF), but we won't release them. 2) smp_iSeries_message_pass and smp_xics_message_pass don't need to iterate if given a specific CPU: cleanup and fix. 3) kick_cpu variants don't need to check cpu range (caller is screwed anyway if this happened): replaced with BUG_ON for now. 4) smp_openpic_probe and smp_xics_probe can use cpus_weight(): it's faster and simpler. 5) User for_each_cpu/for_each_online_cpu as appropriate. ChangeSet@1.1597.4.16, 2004-02-23 20:43:29-08:00, akpm@osdl.org [PATCH] ppc64: fix warning and compile error without CONFIG_SMP From: Hollis Blanchard fix warning and compile error without CONFIG_SMP ChangeSet@1.1597.4.15, 2004-02-23 20:43:19-08:00, akpm@osdl.org [PATCH] fix naming collision with asm-ppc64/vio.h From: Dave Boutcher fix naming collision with asm-ppc64/vio.h. The define would be set there and this file would not get pulled in. ChangeSet@1.1597.4.14, 2004-02-23 20:43:07-08:00, akpm@osdl.org [PATCH] ppc64: Fix for valid nvram rtas tokens. From: Olaf Hering Fix for valid nvram rtas tokens. ChangeSet@1.1597.4.13, 2004-02-23 20:42:57-08:00, akpm@osdl.org [PATCH] Add 970FX entry into the cputable. From: Jake Moilanen Add 970FX entry into the cputable. ChangeSet@1.1597.4.12, 2004-02-23 20:42:46-08:00, akpm@osdl.org [PATCH] ppc64: Add -funit-at-a-time From: Anton Blanchard Be like x86 and enable -funit-at-a-time. Use the check_gcc hook when enabling -mcpu=power4/-mtune=power4. ChangeSet@1.1597.4.11, 2004-02-23 20:42:36-08:00, akpm@osdl.org [PATCH] ppc64: Add DEBUG_STACK_USAGE From: Anton Blanchard Add DEBUG_STACK_USAGE to ppc64 ChangeSet@1.1597.4.10, 2004-02-23 20:42:24-08:00, akpm@osdl.org [PATCH] ppc64: print useful flags in oops, like x86 From: Anton Blanchard Add a ppc64 archhelp. ChangeSet@1.1597.4.8, 2004-02-23 20:42:01-08:00, akpm@osdl.org [PATCH] Allow CROSS32_COMPILE to be set via environment variable From: Dave Hansen Allow CROSS32_COMPILE to be set via environment variable ChangeSet@1.1597.4.7, 2004-02-23 20:41:50-08:00, akpm@osdl.org [PATCH] ppc64: add log_rtas_error() From: Nathan Fontenot Add log_rtas_error(), to be called in the event that a rtas call returns a hardware error (-1) so we can log additional information about the hardware error. ChangeSet@1.1597.4.6, 2004-02-23 20:41:41-08:00, akpm@osdl.org [PATCH] ppc64: add rtas slot-error-detail information From: Nathan Fontenot Add call to rtas to retrieve slot-error-detail information and log this data to nvram in an EEH event. ChangeSet@1.1597.4.5, 2004-02-23 20:41:30-08:00, akpm@osdl.org [PATCH] ppc64: Fix for ppc64 SMT enablement bug provided by Jimi Xenidis and Michael Day From: Anton Blanchard Fix for ppc64 SMT enablement bug provided by Jimi Xenidis and Michael Day ChangeSet@1.1597.4.4, 2004-02-23 20:41:21-08:00, akpm@osdl.org [PATCH] ppc64: Remove duplicate pcibios_scan_all_fns definition From: Anton Blanchard Remove duplicate pcibios_scan_all_fns definition ChangeSet@1.1597.4.3, 2004-02-23 20:41:10-08:00, akpm@osdl.org [PATCH] ppc64: Potentially avoid an atomic operation in switch_mm. From: Anton Blanchard This appeared in the ia64 port and sounds like a good idea. Potentially avoid an atomic operation in switch_mm. ChangeSet@1.1597.4.2, 2004-02-23 20:40:59-08:00, akpm@osdl.org [PATCH] ppc64: cleanup lmb code From: Anton Blanchard - remove LMB_MEMORY_AREA, LMB_IO_AREA, we only allocate/reserve memory areas now - remove lmb_property->type, lmb_region->iosize, lmb_region->lcd_size, no longer used - bump number of regions to 128, we'll hit this limit sooner or later with our big boxes (if we have more than 64 PCI host bridges the reserved array will fill up for example) - make all the lmb stuff __init - no need to explicitly zero struct lmb lmb now we zero the BSS early - we had two functions to dump the lmb array, kill one of them - move the inline functions into lmb.c, they are only ever called from there ChangeSet@1.1597.4.1, 2004-02-23 20:40:48-08:00, akpm@osdl.org [PATCH] ppc64: remove dump_regs From: Anton Blanchard There is a prototype for dump_regs on ppc32 and ppc64 but its never defined. Remove it since it conflicts with something in drivers/atm/horizon.c. Also clean up ppc64 system.h a bit to match the ppc32 version. ChangeSet@1.1557.64.14, 2004-02-23 18:06:24-08:00, willy@debian.org [PATCH] ia64: improve gate generation This patch fixes a couple of things. - gate.lds.s is generated in the obj tree, not the src tree. - It can be generated by the normal .s.S rule. - Adding the extra-y list prevents it from being rebuilt unnecessarily. ChangeSet@1.1606, 2004-02-23 19:41:21-05:00, bcollins@debian.org ohci1394(r1160): Disable cross_bound() check, and add code to try to enable connected ports. ChangeSet@1.1597.1.6, 2004-02-23 16:34:15-08:00, Andries.Brouwer@cwi.nl [PATCH] tty utf8 mode This sounds like a good moment to come with this patch. This is essentially a five-year-old patch by Bruno Haible. It introduces utf8 mode, and the effect it has on erasing input characters. (Side note - without stty support, this is not very useful, but now the infrastructure is in place) ChangeSet@1.1605, 2004-02-23 19:30:53-05:00, bcollins@debian.org IEEE1394(r1159): Merge run_packet_complete into kernel thread. ChangeSet@1.1597.1.5, 2004-02-23 16:16:36-08:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] removal of bogus CONFIG_BINFMT_ELF uses We never use CONFIG_BINFTM_ELF and CONFIG_BINFMT_ELF_MODULE anywhere in the source (they are used in makefiles, obviously). 32bit-emulation binfmt_elf_... in arch/* still define those guys even though it hadn't been needed for years. Junk removed. PS: BTW, CONFIG_BINFMT_ELF32 _is_ used in several places in arch/mips and it looks like they really want #if defined(CONFIG_BINFMT_ELF32) || defined(CONFIG_BINFMT_ELF32_MODULE) in these ifdefs, but that's a separate story... ChangeSet@1.1597.1.4, 2004-02-23 16:16:26-08:00, nathans@sgi.com [PATCH] blkdev_open/bd_claim vs BLKBSZSET I was modifying mkfs.xfs to use O_EXCL for 2.6, and hit a snag. It seems that once I've opened a block dev with O_EXCL I can no longer issue the BLKBSZSET ioctl to it. Making this change, the ioctl succeeds cos the original filp bdev owner from open now matches with the owner in the ioctl call. ChangeSet@1.1604, 2004-02-23 19:10:20-05:00, bcollins@debian.org SBP2(r1158): We don't need a remove_host callback in sbp2. ChangeSet@1.1603, 2004-02-23 18:34:39-05:00, bcollins@debian.org IEEE1394(r1157): Create a kernel thread to handle all run_packet_complete() calls. ChangeSet@1.1595.2.12, 2004-02-23 15:13:37-08:00, lcapitulino@prefeitura.sp.gov.br [PPPOE]: Kill unneeded ifdef/endif. ChangeSet@1.1595.2.11, 2004-02-23 15:12:40-08:00, lcapitulino@prefeitura.sp.gov.br [PPPOE]: Handle disabled PROC_FS properly. ChangeSet@1.1595.2.10, 2004-02-23 15:11:34-08:00, wharms@bfs.de [IPV6]: Handle kmem_cache_create() failure in route.c ChangeSet@1.1595.2.9, 2004-02-23 15:10:59-08:00, wharms@bfs.de [IPV6]: Handle kmem_cache_create() failure in ip6_fib.c ChangeSet@1.1595.2.8, 2004-02-23 15:10:06-08:00, wharms@bfs.de [IPV4]: Handle kmem_cache_create() failure in ipmr.c ChangeSet@1.1595.2.7, 2004-02-23 15:09:27-08:00, wharms@bfs.de [IPV4]: Handle kmem_cache_create() failure in inetpeer.c ChangeSet@1.1595.2.6, 2004-02-23 15:08:34-08:00, wharms@bfs.de [NET]: Handle kmem_cache_create() failure in neighbour.c ChangeSet@1.1595.2.5, 2004-02-23 14:54:03-08:00, viro@parcelfarce.linux.theplanet.co.uk [DECNET]: Zap MODULE ifdefs. ChangeSet@1.1602, 2004-02-23 17:49:16-05:00, bcollins@debian.org eth1394(r1156): Fix oddities when MacOSX is IRM. Also MacOSX sets an invalid sspd in the ARP reply. ChangeSet@1.1597.3.3, 2004-02-23 14:16:13-08:00, akpm@osdl.org [PATCH] Fix do_shmat() for CONFIG_SYSVIPC=n - The do_shmat() stub needs `static inline', not `inline' - We need errno.h for ENOSYS. ChangeSet@1.1595.2.4, 2004-02-23 14:09:29-08:00, davem@nuts.davemloft.net [NET]: Set default socket rmem/wmem values more sanely and consistently. 1) Take into account the fact that struct sk_buff, which counts towards socket buffer limits, changes across different platforms. 2) Give ipv4/ipv6 ICMP sockets more accurately the wmem limits they want. ChangeSet@1.1597.3.2, 2004-02-23 13:28:40-08:00, manfred@colorfullife.com [PATCH] rename shmat to make it clear it isn't a system call entrypoint This renames sys_shmat to do_shmat. Additionally, I've replaced the cond_syscall with a conditional inline function. It touches all archs - only i386 is tested. ChangeSet@1.1557.67.17, 2004-02-23 15:07:54-06:00, jejb@mulgrave.(none) SCSI: 53c700: reduce default tag depth to 4 This is a nice safe depth for older devices (which we've been having trouble with at larger depths). It is still adjustable upwards using sysfs if anyone really needs a larger queue. ChangeSet@1.1597.3.1, 2004-02-23 12:02:46-08:00, torvalds@ppc970.osdl.org Merge http://lia64.bkbits.net/to-linus-2.5 into ppc970.osdl.org:/home/torvalds/v2.5/linux ChangeSet@1.1557.64.13, 2004-02-23 11:58:08-08:00, willy@debian.org [PATCH] ia64: SAL version is not zero-padded The SAL version is encoded as a BCD number, but shouldn't be zero-padded. ChangeSet@1.1557.64.12, 2004-02-23 11:47:16-08:00, pfg@sgi.com [PATCH] ia64: add Altix hotplug support ChangeSet@1.1597.2.3, 2004-02-23 11:35:32-08:00, davem@nuts.davemloft.net [TIGON3]: Bump version and reldate. ChangeSet@1.1597.2.2, 2004-02-23 11:33:18-08:00, davem@nuts.davemloft.net [TIGON3]: Comment out card RAM validation in tg3_test_dma() for now. ChangeSet@1.1597.2.1, 2004-02-23 11:25:38-08:00, ken@miriam.com [TIGON3]: Add Apple tigon3 PCI device id. ChangeSet@1.1601, 2004-02-23 11:46:44-05:00, bcollins@debian.org IEEE1394(r1155): Get rid of another user of round_up_to_page(). ChangeSet@1.1600, 2004-02-23 11:32:41-05:00, bcollins@debian.org IEEE1394(r1154): Cleanup dma routines, and use vmalloc for sglist allocation. ChangeSet@1.1599, 2004-02-23 09:49:42-05:00, bcollins@debian.org IEEE1394/Video1394(r1151): Fix typo in last commit ChangeSet@1.1598, 2004-02-23 08:48:09-05:00, bcollins@debian.org IEEE1394/Video1394(r1150): Initialize d->link list so that failures cleanup properly. ChangeSet@1.1595.1.44, 2004-02-22 23:14:46-08:00, benh@kernel.crashing.org [PATCH] Disable debugging verbosity in macio_asic.c This undef's DEBUG by default in macio_asic, this is now working fairly well, and the actual output isn't really useful anyway. ChangeSet@1.1595.1.43, 2004-02-22 23:08:06-08:00, akpm@osdl.org [PATCH] runtime PM deadlock fix From: Alexander Atanasov dpm_runtime_suspend holds dpm_sem and calls dpm_runtime_resume which deadlocks. Directly call runtime_resume instead. ChangeSet@1.1595.1.42, 2004-02-22 23:07:55-08:00, akpm@osdl.org [PATCH] Require GNU Make version 3.79.1 or later From: Adrian Bunk GNU make 3.78 reproducible segfaults when building kernel 2.6. See http://marc.theaimsgroup.com/?l=linux-kernel&m=107333742902438&w=2 Therefore, the minimum requirement for GNU make has to be raised in Documentation/Changes. GNU make 3.79.1 works. ChangeSet@1.1595.1.41, 2004-02-22 23:07:45-08:00, akpm@osdl.org [PATCH] powernow-k8 frequency handling fix From: Pavel Machek In 2.6.3, cleanups arrived, and they got test for invalid frequencies wrong. Only first frequency is allowed to be < FID_TABLE_BOTTOM, but due to bug it cleanups it allowed no frequencies < FID_TABLE_BOTTOM. This fixes it. ChangeSet@1.1595.1.40, 2004-02-22 23:07:34-08:00, akpm@osdl.org [PATCH] Fix fs/partitions/efi.c printk warnings Lots of these: fs/partitions/efi.c:387: warning: long unsigned int format, u64 arg (arg 2) fs/partitions/efi.c:387: warning: long unsigned int format, u64 arg (arg 3) fs/partitions/efi.c:387: warning: long unsigned int format, u64 arg (arg 2) fs/partitions/efi.c:387: warning: long unsigned int format, u64 arg (arg 3) fs/partitions/efi.c:395: warning: long unsigned int format, u64 arg (arg 2) fs/partitions/efi.c:395: warning: long unsigned int format, u64 arg (arg 3) because it is assuming that you can print a u64 with %ld on 64-bit machines. ChangeSet@1.1595.1.39, 2004-02-22 23:07:24-08:00, akpm@osdl.org [PATCH] Fix ISDN v.110. From: David Woodhouse Now that we coalesce ACKs for outgoing packets, the v.110 code needs to look at the size it's given rather than assuming it'll get precisely one callback for each packet sent... ChangeSet@1.1595.1.38, 2004-02-22 23:07:14-08:00, akpm@osdl.org [PATCH] telephony: use kernel min/max From: "Randy.Dunlap" From: Michael Veeck Removes unnecessary min/max macros and use kernel.h macros instead. ChangeSet@1.1595.1.37, 2004-02-22 23:07:04-08:00, akpm@osdl.org [PATCH] janitor: media: use kernel min/max From: "Randy.Dunlap" From: Michael Veeck Remove unnecessary min/max macros and changes calls to use kernel.h macros instead. ChangeSet@1.1595.1.36, 2004-02-22 23:06:52-08:00, akpm@osdl.org [PATCH] From: "Randy.Dunlap" From: (Walter Harms) Hi list, while checking 2.6.1 for missing checks(). fs/jffs/inode-v23.c got overlooked somehow. This patch fixes: 2 unguarded kmem_cache_create 1 unguarded proc_mkdir ChangeSet@1.1595.1.35, 2004-02-22 23:06:42-08:00, akpm@osdl.org [PATCH] security oops fix From: Stephen Smalley Looking at d_splice_alias, it appears that the security_d_instantiate call in the first case (where it ends up moving an entry in place of the given dentry) should be passing 'new' rather than 'dentry' to ensure that the passed dentry is associated with the inode. This patch should fix the problem. (Addresses bugzilla #2153) ChangeSet@1.1595.1.34, 2004-02-22 23:06:31-08:00, akpm@osdl.org [PATCH] ext3: fix scheduling-in-spinlock bug ext3_error() sleeps, so don't call it with the lock held. ChangeSet@1.1595.1.33, 2004-02-22 23:06:20-08:00, akpm@osdl.org [PATCH] Another x86-64 fix for problems from the recent merge From: Andi Kleen , From Suresh.B.Siddha Fix another bug caused by the recent IA32e merge. The full L1 cache size padding of the GDT didn't work with smaller cache line sizes. Just revert that. I must admit I still don't understand why it didn't work, but it's better to have a working system for now. ChangeSet@1.1595.1.32, 2004-02-22 23:06:10-08:00, akpm@osdl.org [PATCH] Fixes to CodingStyle From: Xose Vazquez Perez Even master's books bring errors :-). URL has the errata and more information about the books ChangeSet@1.1595.1.31, 2004-02-22 23:06:00-08:00, akpm@osdl.org [PATCH] mtrr: init section usage From: "Randy.Dunlap" This patch tries to clean up init section usage in arch/i386/kernel/cpu/mtrr/*.c. ChangeSet@1.1595.1.30, 2004-02-22 23:05:49-08:00, akpm@osdl.org [PATCH] IPMI warning fixes From: Geert Uytterhoeven When compiling the IPMI drivers on m68k, I needed a few more includes: - (for disable_irq_nosync() and enable_irq()) - (for size_t) - (for printk()) ChangeSet@1.1595.1.29, 2004-02-22 23:05:38-08:00, akpm@osdl.org [PATCH] cleanup condsyscall for sysv ipc From: Manfred Spraul Attached is a patch that replaces the #ifndef CONFIG_SYSV syscall stubs with cond_syscall stubs. ChangeSet@1.1595.1.28, 2004-02-22 23:05:27-08:00, akpm@osdl.org [PATCH] nbd: remove PARANOIA and other cleanups From: Paul Clements This patch removes the PARANOIA define (it was always defined anyway). It also removes the requests_in/out counters (which weren't always accurate, and are superfluous anyway, since the block layer keeps its own in_flight counter). Also some minor cleanup of comments. ChangeSet@1.1595.1.27, 2004-02-22 23:05:17-08:00, akpm@osdl.org [PATCH] nbd: fix set_capacity call From: Paul Clements This patch fixes the initial set_capacity call so that it matches nbd's internal device size (nbd_device->bytesize). ChangeSet@1.1595.1.26, 2004-02-22 23:05:05-08:00, akpm@osdl.org [PATCH] Kconfig help: dm-crypto && cryptoloop From: bert hubert Current bitkeeper features a cryptoloop which is not safe for journaled file systems and also a Device Mapper target which is. The patch below updates Kconfig to that effect. ChangeSet@1.1595.1.25, 2004-02-22 23:04:55-08:00, akpm@osdl.org [PATCH] add range checking to sys_sysctl() If you pass a huge nlen value into sys_sysctl() it will loop for hours printing billions of question marks, so range-check the arguments. Also, remove the code which informs the user that the sysctl is obsolete: it allows unprivileged users to spam the logs. ChangeSet@1.1595.1.24, 2004-02-22 23:04:44-08:00, akpm@osdl.org [PATCH] m68k: M68k core spelling From: Geert Uytterhoeven M68k core spelling fix (from Michael Hayes) ChangeSet@1.1595.1.23, 2004-02-22 23:04:34-08:00, akpm@osdl.org [PATCH] m68k: Dummy dma mapping From: Geert Uytterhoeven Add a dummy for systems that don't support the new DMA API, and make m68k use it if !CONFIG_PCI ChangeSet@1.1595.1.22, 2004-02-22 23:04:22-08:00, akpm@osdl.org [PATCH] m68k: Mac IOP spelling From: Geert Uytterhoeven Mac IOP spelling fix (from Matthias Urlichs) ChangeSet@1.1595.1.21, 2004-02-22 23:04:12-08:00, akpm@osdl.org [PATCH] m68k: M68k FPU emu broken link From: Geert Uytterhoeven M68k FPU emu: Remove reference to non-existing website ChangeSet@1.1595.1.20, 2004-02-22 23:04:01-08:00, akpm@osdl.org [PATCH] m68k: M68k cmpxchg From: Geert Uytterhoeven M68k: Add missing implementation of cmpxchg() (from Andreas Schwab, Roman Zippel and me) ChangeSet@1.1595.1.19, 2004-02-22 23:03:51-08:00, akpm@osdl.org [PATCH] m68k: M68k call trace output From: Geert Uytterhoeven M68k: Improve formatting of call trace output (from Matthias Urlichs) ChangeSet@1.1595.1.18, 2004-02-22 23:03:40-08:00, akpm@osdl.org [PATCH] m68k: M68k module loader From: Geert Uytterhoeven M68k: Add missing relocation support to module loader (from Matthias Urlichs) ChangeSet@1.1595.1.17, 2004-02-22 23:03:30-08:00, akpm@osdl.org [PATCH] m68k: arch/m68k/mm/Makefile cleanup From: Geert Uytterhoeven Clean up arch/m68k/mm/Makefile logic ChangeSet@1.1595.1.16, 2004-02-22 23:03:18-08:00, akpm@osdl.org [PATCH] m68k: M68k configuration From: Geert Uytterhoeven Update M68k configuration logic: - Introduce CONFIG_MMU_MOTOROLA and CONFIG_MMU_SUN3 - Move Sun-3 config selection to the top since all other platforms conflict with it - Sun-3 implies MMU_SUN3 - All other platforms imply MMU_MOTOROLA - Sun-3 implies M68020 - Sun-3x implies M68030 - Sun-3 kernels cannot support 68030, 68040, or 68060 ChangeSet@1.1595.1.15, 2004-02-22 23:03:09-08:00, akpm@osdl.org [PATCH] m68k: Amifb modedb bug From: Geert Uytterhoeven Amifb: Fix bugs in the video mode database: - ntsc-lace lacks the yres value - a2024-15 is 15 Hz, not 10 ChangeSet@1.1595.1.14, 2004-02-22 23:02:58-08:00, akpm@osdl.org [PATCH] m68k: M68k uses drivers/Kconfig From: Geert Uytterhoeven M68k: Use drivers/Kconfig and fix up some remaining dependencies: - M68k no longer uses rtc.c - M68k never has AGP - CONFIG_ZORRO depends on CONFIG_AMIGS ChangeSet@1.1595.1.13, 2004-02-22 23:02:47-08:00, akpm@osdl.org [PATCH] m68k: M68k MCA cleanup From: Geert Uytterhoeven M68k: Remove obsolete MCA definition ChangeSet@1.1595.1.12, 2004-02-22 23:02:36-08:00, akpm@osdl.org [PATCH] m68k: Atari name clashes From: Geert Uytterhoeven Atari Falcon: Prepend falcon_ to some Atari Falcon definitions to solve name clashes in some drivers. ChangeSet@1.1595.1.11, 2004-02-22 23:02:26-08:00, akpm@osdl.org [PATCH] m68k: Sun-3 missing sbus_readl() From: Geert Uytterhoeven Sun-3 sbus: Add missing definition of sbus_readl() (from Sam Creasey) ChangeSet@1.1595.1.10, 2004-02-22 23:02:15-08:00, akpm@osdl.org [PATCH] m68k: Sun-3 console fix From: Geert Uytterhoeven Sun-3: Use dummycon if CONFIG_DUMMY_CONSOLE is defined only (from Sam Creasey) ChangeSet@1.1595.1.9, 2004-02-22 23:02:04-08:00, akpm@osdl.org [PATCH] m68k: mm init warning From: Geert Uytterhoeven M68k mm: Kill warning (from Sam Creasey) ChangeSet@1.1595.1.8, 2004-02-22 23:01:54-08:00, akpm@osdl.org [PATCH] m68k: offsets.h generation From: Geert Uytterhoeven M68k offsets.h: Move arch/m68k/kernel/m68k_defs.h to include/asm/offsets.h and use gen-asm-offsets framework (from Andreas Schwab and Ray Knight) ChangeSet@1.1595.1.7, 2004-02-22 23:01:23-08:00, akpm@osdl.org [PATCH] NBD rmmod oops fix From: Paul Clements Fix a module unload oops, as well as fix some return codes (so nbd-client can exit with the proper error code, rather than 0, when an error occurs). ChangeSet@1.1595.1.6, 2004-02-22 23:01:12-08:00, akpm@osdl.org [PATCH] dynamic pty allocation From: "H. Peter Anvin" Remove the limit of 2048 pty's - allocate them on demand up to the 12:20 dev_t limit: a million. ChangeSet@1.1595.1.5, 2004-02-22 23:01:00-08:00, akpm@osdl.org [PATCH] fix shmat From: Nick Piggin sys_shmat() need to be declared asmlinkage. This causes breakage when we actually get the proper prototypes into caller's scope. ChangeSet@1.1595.1.4, 2004-02-22 23:00:49-08:00, akpm@osdl.org [PATCH] Intel i830 AGP fix From: Terence Ripperda When coming out of standby, some chipsets lose their configuration in pci config space. this includes not just the agp master register being lost, but chipset-specific information, such as the physical address of the gatt table and other settings. Calling this configure routine again restores those settings. Dave said he was adding chipsets to this list on an "as needed and tested" basis. I ran across this problem I believe on a Dell Inspiron 4100 with nv11. (there had been some similar problems with specific nv11 systems when doing apm with the 2.4 kernel, I suspect, but haven't been able to verify, it's the same problem). ChangeSet@1.1595.1.3, 2004-02-22 23:00:39-08:00, akpm@osdl.org [PATCH] more serial driver fixups From: Russell King Here is a patch which updates various serial drivers in the kernel to make them less broken than they were before. Nevertheless, they are still broken. The improvement is to make these drivers use the tiocmget/tiocmset methods, which are present in the 2.6 kernel. Many of these have been incorrectly converted from the old global IRQ locking without regard for SMP issues, or still use the old global IRQ locking methods which are no longer present in 2.6 kernels. The full message thread can be found at: http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&threadm=1dvnl-5Pr-1%40gated-at.bofh.it&rnum=1&prev=/groups%3Fhl%3Den%26lr%3D%26ie%3DISO-8859-1%26q%3DOutstanding%2Bfixups%26btnG%3DGoogle%2BSearch%26meta%3Dgroup%253Dlinux.kernel ChangeSet@1.1595.1.2, 2004-02-22 23:00:27-08:00, akpm@osdl.org [PATCH] serial fixups From: Russell King Convert a bunch of serial drivers to new-style ioctl handling. ChangeSet@1.1595.2.3, 2004-02-22 22:29:23-08:00, davem@nuts.davemloft.net [IPV6]: Fix typo in Al's module_init changes. ChangeSet@1.1595.2.2, 2004-02-22 21:49:36-08:00, davem@nuts.davemloft.net [IPV6]: Kill unloadable noise in af_inet6.c ChangeSet@1.1595.2.1, 2004-02-22 21:48:17-08:00, viro@parcelfarce.linux.theplanet.co.uk [IPV4/IPV6]: Convert tunnel drivers to unconditional module_init. ChangeSet@1.1588.3.6, 2004-02-22 23:47:06+00:00, rmk@flint.arm.linux.org.uk [ARM] Remove non-existent Kconfig source statement. A bit too over-eager to minimise the delta resulted in this Kconfig file trying to source a currently non-existent Kconfig file. ChangeSet@1.1588.3.5, 2004-02-22 23:40:31+00:00, rmk@flint.arm.linux.org.uk [ARM] Fix late abort handler for Thumb code. ARM720T processors use the "late" abort option, which means we have to correct the base address of any page fault ourselves. However, we were mis-correcting the thumb "push" instruction, causing the retried instruction to fail in a spectacular way. ChangeSet@1.1588.1.8, 2004-02-22 14:34:59-08:00, wesolows@foobazco.org [SPARC32]: Remove cli/sti from all arch code. ChangeSet@1.1588.1.7, 2004-02-22 11:16:00-08:00, wesolows@foobazco.org [SPARC32]: Remove use of PF_USEDFPU ChangeSet@1.1595, 2004-02-22 09:56:53-08:00, B.Zolnierkiewicz@elka.pw.edu.pl [PATCH] fix /proc/ide/ for IDE PCI modules From: Andrey Borzenkov Also add dummy create_proc_ide_interfaces() for CONFIG_PROC_FS=n (per Linus' suggestion). ChangeSet@1.1588.3.4, 2004-02-22 17:16:19+00:00, mail@de.rmk.(none) [ARM PATCH 1719/1] Acornfb update Patch from: Peter Teichmann, edited by Russell King. * a bugfix to the pseudo palette handling in 16/32 bit modes: the pseudo palette is always kept in 32 bit integers * a bugfix to setcolreg() in 16 bit modes: there have to be 32 colour registers (this has nothing to do with the 16 pseudo palette colours, it is a bit misleading that setcolreg() is used both for pseudo palette setup and DIRECTCOLOR colour translation) (The behaviour should be selected using the visual and the rgb representation rather than the current BPP setting. --rmk) * change 16 bit visual from TRUECOLOR to DIRECTCOLOR * take the limited bandwidth of the RiscPC video memory into account for acornfb_valid_pixrate() * acornfb_vidc20_find_rates() now takes into account the differences between VRAM and DRAM when setting the FIFO preload value. With VRAM, the FIFO can be set to the highest possible setting because there are no latency considerations for other memory accesses. However, in 64 bit bus mode the FIFO preload value must not be set to VIDC20_CTRL_FIFO_28 because this will let the FIFO overflow. See VIDC20 manual page 33 (6.0 Setting the FIFO preload value). * select Multifreq monitor as default, increase frequency range for Multifreq monitor (this is of course a philosophical question, but I believe a sensible default setting should not impose too much limits to the user) (I dropped this change because it is known that some monitor hardware shipped with Acorn machines does not take kindly to wrong timing signals. If people really care, they should use the kernel command line to select the correct monitor type. --rmk) ChangeSet@1.1588.3.3, 2004-02-22 17:00:26+00:00, rmk@flint.arm.linux.org.uk [ARM] Dynamically allocate SA1100 PCMCIA sockets. ChangeSet@1.1557.76.3, 2004-02-22 17:51:34+01:00, marcel@holtmann.org [Bluetooth] Initial sysfs and device class support This patch adds the initial Bluetooth device class and sysfs support. This new code replaces the hotplug and HCI proc interface. ChangeSet@1.1588.3.2, 2004-02-22 16:36:28+00:00, rmk@flint.arm.linux.org.uk [ARM] Update SA1111 Neponset code to use safe GPIO functionality. Use the SA1111 GPIO functionality added by the previous cset to ensure that GPIOs are modified atomically. ChangeSet@1.1594, 2004-02-22 11:09:09-05:00, bcollins@debian.org IEEE1394(r1149): Convert some hardcoded values to constants. Add pbook suspend/resume handlers. ChangeSet@1.1588.3.1, 2004-02-22 15:53:40+00:00, rmk@flint.arm.linux.org.uk [ARM] Add safe sa1111 IO handling. This introduces a set of functions which allow the SA1111 IO pins to be safely modified with no fear of other kernel threads interfering. ChangeSet@1.1557.67.16, 2004-02-22 09:51:29-06:00, Kai.Makisara@kolumbus.fi [PATCH] Sysfs class support for SCSI tapes This is a new version of the patch I sent two weeks ago. The code is the same but now diffed against 2.6.3. Some documentation has been added. Creation and removal of the st device files has been tested with udev-018. The patch adds support for /sys/class/scsi_tape. It also removes the links to/from the st files in /sys/cdev/major. A file is created for each mode and rewind/non-rewind device for each tape drive. Here is an example for one drive: > ls /sys/class/scsi_tape/ st0m0 st0m0n st0m1 st0m1n st0m2 st0m2n st0m3 st0m3n In addition to the automatic links (dev, driver), each directory contains files that export some of the mode parameters: > ls /sys/class/scsi_tape/st0m0 default_blksize default_density dev driver default_compression defined device A link is made from the SCSI device directory back to the mode 0 auto-rewind class file: > ls -l /sys/devices/pci0000:00/0000:00:1e.0/0000:02:01.1/host1/1:0:5:0/tape lrwxrwxrwx 1 root root 39 2004-02-05 23:14 /sys/devices/pci0000:00/0000:00:1e.0/0000:02:01.1/host1/1:0:5:0/tape -> ../../../../../../class/scsi_tape/st0m0 ChangeSet@1.1557.76.2, 2004-02-22 16:37:36+01:00, marcel@holtmann.org [Bluetooth] Copy all L2CAP signal frames to the raw sockets Currently only very few responses travel back to a L2CAP RAW socket, which is very bad if you need to see command responses. This patch copies every signal frame to all attached raw sockets. Patch from Collin R. Mulliner ChangeSet@1.1557.76.1, 2004-02-22 13:03:38+01:00, marcel@holtmann.org [Bluetooth] Cleanup drivers Kconfig file This patch makes some cosmetic cleanups to the Kconfig file for the Bluetooth drivers. ChangeSet@1.1588.1.6, 2004-02-21 17:29:01-08:00, wesolows@foobazco.org [SPARC32]: Remove stale SMP irq implementation. ChangeSet@1.1592, 2004-02-21 19:26:37-05:00, bcollins@debian.org IEEE1394/SBP2(r1148): Fix a few bugs, and add set blk_queue_dma_alignment to 512. ChangeSet@1.1588.1.3, 2004-02-21 22:44:43+00:00, bjorn.helgaas@com.rmk.(none) [SERIAL] Fix /proc serial info for MMIO ports Patch from: Bjorn Helgaas This patch against 2.6.2 fixes a minor issue with /proc/tty/drivers/*, which currently doesn't show MMIO address information. Current sample output: # cat /proc/tty/driver/serial serinfo:1.0 driver revision: 0: uart:16450 port:00000000 irq:65 tx:72 rx:0 RTS|DTR 1: uart:16550A port:00000000 irq:65 tx:2950 rx:0 RTS|DTR ... Output with the attached patch: # cat /proc/tty/driver/serial serinfo:1.0 driver revision: 0: uart:16450 mmio:0xF8031000 irq:65 tx:72 rx:0 RTS|DTR 1: uart:16550A mmio:0xFF5E0000 irq:65 tx:2403 rx:74 RTS|DTR ... ChangeSet@1.1588.1.2, 2004-02-21 22:39:59+00:00, bjorn.helgaas@com.rmk.(none) [SERIAL] Discover ACPI serial ports before plug-in ports Patch from: Bjorn Helgaas This makes us discover ACPI serial ports before PCI ones. The ACPI ports tend to be built-in, and discovering them late means their ttyS names move around if PCI serial ports are added or removed. I think it makes more sense to have relatively predictable and consistent names for the built-in hardware. ChangeSet@1.1588.2.12, 2004-02-21 13:16:43-08:00, viro@parcelfarce.linux.theplanet.co.uk [IPV6]: Kill MODULE ifdeffing, common init for sysctls. ChangeSet@1.1588.2.11, 2004-02-21 13:10:51-08:00, davem@nuts.davemloft.net [IPV4]: Do not return -EAGAIN on blocking UDP socket, noticed by Olaf Kirch. ChangeSet@1.1588.2.10, 2004-02-21 09:11:23-08:00, benh@kernel.crashing.org [PATCH] Remove use of "current" identifier in via-pmu Andrew spotted this one, here's the fix: Remove usage of "current" as a variable name and structure member in the battery management code of PowerMac via-pmu and apm-emu drivers ChangeSet@1.1588.2.9, 2004-02-21 09:10:47-08:00, ysato@users.sourceforge.jp [PATCH] H8/300 Kconfig / defconfig update delete obsolute CONFIG ChangeSet@1.1588.2.8, 2004-02-21 09:10:37-08:00, ysato@users.sourceforge.jp [PATCH] H8/300 io.h bussizing problem fix - fix warning - byte swap miss fix - 16bit bus access problem fix ChangeSet@1.1588.2.7, 2004-02-21 09:10:25-08:00, ysato@users.sourceforge.jp [PATCH] H8/300 warning fix Fix any warnings ChangeSet@1.1588.2.6, 2004-02-21 09:10:15-08:00, ysato@users.sourceforge.jp [PATCH] H8/300 include cleanup - duplicate define marge. - unused define delete. - reduced code size. ChangeSet@1.1588.2.5, 2004-02-21 09:10:04-08:00, ysato@users.sourceforge.jp [PATCH] H8/300 start_thread problem fix Illegal usp corrected a set problem in starting of thread. ChangeSet@1.1588.2.4, 2004-02-21 09:07:36-08:00, benh@kernel.crashing.org [PATCH] Fix use of sector_t in swim3 driver This driver won't build with CONFIG_LBD due to a 64 bits division. Use the "simple" fix of a cast down to 32 bits, this is only a floppy driver, no need to do sector_div. ChangeSet@1.1588.2.3, 2004-02-21 08:53:01-08:00, benh@kernel.crashing.org [PATCH] ppc32: Export cpu_possible_map cpu_possible_map is needed by some modules, export it. ChangeSet@1.1588.2.2, 2004-02-21 08:52:51-08:00, davem@redhat.com [PATCH] Synchronize sungem RX complation path While perusing the driver I noticed a workaround we don't have in the Linux driver. The comment I added explains the issue. ChangeSet@1.1588.2.1, 2004-02-21 08:52:40-08:00, benh@kernel.crashing.org [PATCH] ppc32: rework l2 cache code This patch removes the code that tweaked the L1 cache when setting up the L2 one. That was added a while ago in the intend of making things more robust but ended up breaking earlier 750 CPU setup. Also fix some crap in the L1 cache code that is only used for the powermac sleep at this point. ChangeSet@1.1591, 2004-02-21 11:46:17-05:00, bcollins@debian.org IEEE1394/ETH1394(r1147): Make sure to set update_config_rom on add host. ChangeSet@1.1590, 2004-02-21 10:47:03-05:00, bcollins@debian.org IEEE1394(r1146): Make the probe callback return an error if problems, and unbind drivers on failure. ChangeSet@1.1588.1.1, 2004-02-21 14:54:36+00:00, mark@net.rmk.(none) [SERIAL] fix 8250_pnp resource allocation Patch from: Mark Hindley Patch below to ensure that 8250_pnp sets necessary flags so that 8250 driver will reserve ioports. Before, I was logging errors like Feb 20 08:42:37 titan kernel: Trying to free nonexistent resource <000003e8-000003ef> on module unload. ChangeSet@1.1589, 2004-02-21 00:10:49-05:00, bcollins@debian.org IEEE1394 is no longer experimental, but eth1394 is. ChangeSet@1.1587, 2004-02-20 18:49:14-08:00, davem@nuts.davemloft.net [PKT_SCHED]: Missing linux/init.h includes in sch_{arm,dsmark}.c ChangeSet@1.1586, 2004-02-20 18:41:57-08:00, viro@parcelfarce.linux.theplanet.co.uk [PKT_SCHED]: Convert to {subsys,module}_initcall(), fix init failure bugs in sch_teql.c pktsched_init() and tc_filter_init() converted to subsys_initcall(). initialization of individual qdisc and tcf_proto switched to module_init(). Some of them used to be registered twice if built-in, BTW. init failure handling in sch_teql.c fixed - it used to leave objects (both qdisc and netdev) registered if insmod failed. ChangeSet@1.1557.64.11, 2004-02-20 17:47:40-08:00, jeremy@sgi.com [PATCH] ia64: Fix 64 bit DMA mapping problem with PCI cards on SN2 PCI cards were forced to 32 bit addresses. There is significant extra overhead to DMA setup with 32 bit, and it is fairly easy to run out of mapping resources. This patch reenables 64 bit DMA mapping for PCI cards. ChangeSet@1.1584.1.3, 2004-02-20 17:33:47-08:00, torvalds@ppc970.osdl.org Merge ppc970.osdl.org:/home/torvalds/v2.5/mips into ppc970.osdl.org:/home/torvalds/v2.5/linux ChangeSet@1.1566.1.1, 2004-02-20 17:33:18-08:00, akpm@osdl.org [PATCH] MIPS mega-patch From: Ralf Baechle Below following 125547 lines of patches, all to arch/mips and include/asm-mips. I'm going to send the remaining stuff of which the one or other bit may need to be discussed in smaller bits. ChangeSet@1.1584.2.1, 2004-02-20 17:06:58-08:00, torvalds@ppc970.osdl.org Merge bk://bk.arm.linux.org.uk/linux-2.6-rmk into ppc970.osdl.org:/home/torvalds/v2.5/linux ChangeSet@1.1557.67.15, 2004-02-20 16:15:08-08:00, jejb@mulgrave.(none) MPT Fusion driver 3.00.03 update From: "Moore, Eric Dean" Here's a new patch for MPT Fusion driver version 3.00.03 It address issues with proper hot plug implementation. ChangeSet@1.1557.64.10, 2004-02-20 15:55:31-08:00, akpm@osdl.org [PATCH] ia64: fix sched.c compile warning ChangeSet@1.1557.70.4, 2004-02-20 18:44:21-05:00, bcollins@debian.org IEEE1394: Revision sync ChangeSet@1.1557.67.14, 2004-02-20 15:38:25-08:00, markh@osdl.org [PATCH] aacraid reset handler Adds a reset handler to the aacraid template ChangeSet@1.1557.70.3, 2004-02-20 18:37:15-05:00, bcollins@debian.org IEEE1394/SBP2(r1144): Convert sbp2 to do one scsi_host per unit-directory. ChangeSet@1.1557.67.13, 2004-02-20 15:35:13-08:00, geert@linux-m68k.org [PATCH] Sun-3x ESP SCSI clean up Sun-3x ESP SCSI: Remove obsolete cruft ChangeSet@1.1557.67.12, 2004-02-20 15:33:52-08:00, geert@linux-m68k.org [PATCH] NCR53C9x slave_{alloc,destroy}() NCR53C9x: Add missing slave_{alloc,destroy}() (from Kars de Jong and Matthias Urlichs). This affects the following drivers: - Amiga Blizzard 1230, Blizzard 2060, CyberStorm, CyberStorm Mk II, Fastlane, and Oktagon SCSI - DECstation NCR53C94 SCSI - Jazz ESP 100/100a/200 SCSI - Mac 53C9x SCSI - MCA NCR 53c9x SCSI - Sun-3x SCSI (was already fixed on its own) ChangeSet@1.1578.2.11, 2004-02-20 15:09:03-08:00, laforge@gnumonks.org [NETFILTER]: Remove unused structure member in NAT, from Patrick McHardy. ChangeSet@1.1557.1.124, 2004-02-20 22:58:35+00:00, rmk@flint.arm.linux.org.uk [ARM] Fix Acorn VIDC sound driver. Update the Acorn VIDC sound interrupt handler to return IRQ_HANDLED. ChangeSet@1.1578.2.10, 2004-02-20 14:52:20-08:00, laforge@gnumonks.org [NETFILTER]: Resync with 2.4.x - Update listhelp.h to benefit from prefetching - More efficient selective_cleanup() impl. in conntrack - Export number of conntrack buckets via r/o sysctl. ChangeSet@1.1584, 2004-02-20 14:29:11-08:00, torvalds@ppc970.osdl.org Fix silly thinko in sungem network driver. From David Miller. ChangeSet@1.1583, 2004-02-20 11:57:08-08:00, rmk@arm.linux.org.uk [PATCH] ICS IDE is not a PCI IDE interface Don't list icside.o in drivers/ide/pci/Makefile - it's in drivers/ide/arm. ChangeSet@1.1557.1.123, 2004-02-20 19:53:49+00:00, rmk@flint.arm.linux.org.uk [ARM] Fix ambakmi to use amba_request_regions() and the correct IRQ. ChangeSet@1.1557.1.122, 2004-02-20 19:42:14+00:00, rmk@flint.arm.linux.org.uk [ARM] Make Acorn I2C build again. Unfortunately some i2c drivers were missed when the "name" element of struct device was removed. This cset fixes these drivers. ChangeSet@1.1557.1.121, 2004-02-20 19:24:06+00:00, dsaxena@net.rmk.(none) [ARM PATCH] 1761/1: Remove SA1111_PCI_FAKEDEV (take 2) Patch from Deepak Saxena Follows your suggestion and also removes the #ifdef around pci_unmap_addr and friends. Since pci.h should only be getting included if PCI is enabled by PCI drivers and core, we shouldn't need the NOP version. ChangeSet@1.1578.2.9, 2004-02-20 11:04:10-08:00, dwmw2@infradead.org [IPV4]: Make ip_auto_config a late initcall. ChangeSet@1.1578.2.8, 2004-02-20 11:03:02-08:00, ahaas@airmail.net [NETFILTER]: C99 initializers in ip_conntrack_standalone.c ChangeSet@1.1581, 2004-02-20 10:25:25-08:00, greg@kroah.com [PATCH] PCI Hotplug: fix build warnings on 64 bit processors ChangeSet@1.1578.2.7, 2004-02-20 10:10:16-08:00, davem@nuts.davemloft.net [IPV6]: Make ipv6_skip_exthdrs take const skb arg. ChangeSet@1.1578.2.6, 2004-02-20 10:06:54-08:00, davem@nuts.davemloft.net [NETFILTER]: Include net/ipv6.h in ip6_tables.c ChangeSet@1.1578.2.5, 2004-02-20 09:42:55-08:00, yoshfuji@linux-ipv6.org [IPV6]: Use udpv6_queue_rcv_skb for multicast delivery. Noticed by Takashi Hibi. ChangeSet@1.1578.2.4, 2004-02-20 09:40:25-08:00, dlstevens@us.ibm.com [IGMP/MLD]: Validate filter size against optlen. ChangeSet@1.1578.2.3, 2004-02-20 09:38:16-08:00, shemminger@osdl.org [WAN]: Fix single_open confusion in wandev_show. ChangeSet@1.1578.2.2, 2004-02-20 09:30:07-08:00, yasuyuki.kozakai@toshiba.co.jp [NETFILTER]: Fix ipv6 TCP/UDP matching wrt. extension headers ChangeSet@1.1578.2.1, 2004-02-20 09:29:47-08:00, yasuyuki.kozakai@toshiba.co.jp [IPV6]: In ipv6_skip_exthdr(), access frag header correctly. ChangeSet@1.1580, 2004-02-20 09:20:38-08:00, Martine.Silbermann@hp.com [PATCH] PCI: update MSI Documentation After getting feedback from Tom,I made some changes to the patch Attached is a revised version. ChangeSet@1.1579, 2004-02-20 08:57:34-08:00, greg@kroah.com Merge kroah.com:/home/linux/BK/bleed-2.6 into kroah.com:/home/linux/BK/pci-2.6 ChangeSet@1.1557.75.1, 2004-02-20 16:52:31+00:00, h.schurig@de.rmk.(none) [ARM PATCH] 1670/1: PXA serial driver Patch from Holger Schurig PXA Serial port (FFUART, BTUART, STUART) and console support This patch works perfectly here with "console=ttyS0,115200" in the kernel command line. It contains Jean-frederic Clere fix to detect STUART and BTUART. Nico said that I should post it to your patch tracker. It replaces patch 1662/1 ChangeSet@1.1557.1.120, 2004-02-20 10:09:26+00:00, tony@com.rmk.(none) [ARM PATCH] 1759/1: Add ARM925 support, updated Patch from Tony Lindgren The following patch adds the ARM925 processor support. This patch is based on the proc-arm925.S in 2.4 kernel, and it has been modified to be more like the ARM926 support in the 2.6 kernel, except for the cache flushing and initialization. Also, this patch fixes the writeback cache flushing for most part. There are still some issues with writeback cache flushing with devices using direct memory access, such as USB OHCI. It is recommended to use the writethrough instead if using USB. This is the default for OMAP-1510. OMAP-1610 does not have these issues, as it uses ARM926 core. This patch includes the update for the processor functions to be armv4t instead armv5t as suggested here: http://www.arm.linux.org.uk/developer/patches/viewpatch.php?id=1740/1 ChangeSet@1.1557.74.1, 2004-02-19 23:58:02-08:00, wesolows@foobazco.org [SPARC32]: Nuke a.out build cruft This removes C_LABEL and asm/cprefix.h as well as NEW_GAS. These were used to support building on SunOS and with ancient binutils. ChangeSet@1.1576.1.2, 2004-02-19 23:15:37-08:00, davem@nuts.davemloft.net [SPARC64]: Update defconfig. ChangeSet@1.1557.61.2, 2004-02-19 23:15:19-08:00, wesolows@foobazco.org [SPARC32]: Do similar macro casting for {in,out}{b,w,l}() as we do for {read ,write}{b,w,l,q}(). ChangeSet@1.1577, 2004-02-19 22:48:46-08:00, torvalds@ppc970.osdl.org Include the header file for DMA mapping. You know you want it. Give it to me. ChangeSet@1.1557.69.34, 2004-02-19 22:26:24-08:00, davem@nuts.davemloft.net [SPARC64]: Do similar macro casting for {in,out}{b,w,l}() as we do for {read,write}{b,w,l,q}(). ChangeSet@1.1557.69.33, 2004-02-19 22:21:35-08:00, davem@nuts.davemloft.net [I2C]: Use correct port address typing in i2c-elv.c ChangeSet@1.1576, 2004-02-19 22:14:58-08:00, cpg@puchol.com [PATCH] initial support for transmeta's efficeon processors This implements the initial support for the AGP gart in Transmeta's Efficeon processors. This code is based on linus' code from a while ago. Peter and I adapted it for the current kernel. The note at the top indicates how it was tested, known issues, and so forth. It is working quite well, and we'll work to fix the minor issues and test it some more with s3, more cards, other southbridges, etc., next. ChangeSet@1.1557.69.32, 2004-02-19 22:04:44-08:00, davem@nuts.davemloft.net [MEDIA]: Use '%z' printf format for size_t/ptrdiff_t types in w9968cf.c. ChangeSet@1.1557.69.31, 2004-02-19 22:00:29-08:00, davem@nuts.davemloft.net [SUNDANCE]: Fix casting so u64 printk does not warn on some 64-bit platforms. ChangeSet@1.1557.69.30, 2004-02-19 21:54:31-08:00, davem@nuts.davemloft.net [SKFDDI]: Use unsigned long for resource base/size. ChangeSet@1.1557.69.29, 2004-02-19 21:52:24-08:00, davem@nuts.davemloft.net [MEDIA]: Use '%z' printf format for size_t. ChangeSet@1.1557.69.28, 2004-02-19 21:47:33-08:00, davem@nuts.davemloft.net [MEDIA]: Print out pointers correctly in dst.c ChangeSet@1.1557.69.27, 2004-02-19 21:45:04-08:00, davem@nuts.davemloft.net [SMBFS]: Use '%z' printf format for size_t types. ChangeSet@1.1575, 2004-02-19 21:43:37-08:00, B.Zolnierkiewicz@elka.pw.edu.pl [PATCH] fix /proc/ide/ for IDE PCI modules Make IDE PCI drivers register /proc/ide/ entries themselves. ChangeSet@1.1557.69.26, 2004-02-19 21:43:30-08:00, davem@nuts.davemloft.net [NFSD]: Fix u64 printk warnings on some 64-bit platforms. ChangeSet@1.1574, 2004-02-19 21:43:26-08:00, B.Zolnierkiewicz@elka.pw.edu.pl [PATCH] remove unused ide_end_taskfile() Additionally ide_end_drive_cmd() contains all functionality of this function. ChangeSet@1.1573, 2004-02-19 21:43:17-08:00, B.Zolnierkiewicz@elka.pw.edu.pl [PATCH] remove dead/unfinished taskfile version of ide_cmd_ioctl() ChangeSet@1.1572, 2004-02-19 21:43:08-08:00, B.Zolnierkiewicz@elka.pw.edu.pl [PATCH] remove bogus comment and code from ide_unregister_driver() When ide_remove_proc_entries() is called, driver specific /proc/ide/hdx/ entries have been already removed by ->cleanup()->ide_unregister_subdriver(). ChangeSet@1.1571, 2004-02-19 21:42:59-08:00, B.Zolnierkiewicz@elka.pw.edu.pl [PATCH] kill default_flushcache() and ide_drive_t->flushcache ChangeSet@1.1570, 2004-02-19 21:42:50-08:00, B.Zolnierkiewicz@elka.pw.edu.pl [PATCH] kill default_shutdown() and ide_drive_t->shutdown ChangeSet@1.1569, 2004-02-19 21:42:40-08:00, B.Zolnierkiewicz@elka.pw.edu.pl [PATCH] kill useless IDE_SUBDRIVER_VERSION ChangeSet@1.1568, 2004-02-19 21:42:31-08:00, B.Zolnierkiewicz@elka.pw.edu.pl [PATCH] keep documentation of kernel parameters in one place only ChangeSet@1.1567, 2004-02-19 21:42:22-08:00, B.Zolnierkiewicz@elka.pw.edu.pl [PATCH] remove dead kernel parameters Remove "hdx=flash" (ignored since 2.5.63) and "hdx=slow" (ignored since 2.5.41) kernel parameters. Also remove "slow" entry from /proc/ide/hdx/settings and "ata_flash", "nobios" and "slow" fields from ide_drive_t. ChangeSet@1.1566, 2004-02-19 21:42:12-08:00, akpm@osdl.org [PATCH] x86_64 uniproc build fix From: Andi Kleen This fixes some more problems introduced by the IA32e merge on x86-64 - Make it compile on UP again. - Let the microcode driver build as a module ChangeSet@1.1565, 2004-02-19 21:42:02-08:00, akpm@osdl.org [PATCH] smbfs: remove debug code Remove an unneeded WSET() which snuck in there. ChangeSet@1.1564, 2004-02-19 21:41:53-08:00, akpm@osdl.org [PATCH] Fix the display of max-ever-used-stack in sysrq-T output The sysrq-T output currently tries to display the mimimum amount of free stack which each task has ever had available. It has been busted for years, because we forgot to zero out the stack when it is first created. Fix that up, adding a conig option for it. If the option is disabled, or the arch is not x86 then the free stack usage will display as zero. ChangeSet@1.1563, 2004-02-19 21:41:44-08:00, akpm@osdl.org [PATCH] v850 ptrace.c task_struct leak From: Herbert Poetzl sys_ptrace() for v850, if pid == 1, doesn't put the struct task_struct (child), the following patch should fix that ... ChangeSet@1.1562, 2004-02-19 21:41:35-08:00, akpm@osdl.org [PATCH] ppc64 compile fix From: Arjan van de Ven fix obvious non-C-standard stubs on ppc64 ChangeSet@1.1557.69.25, 2004-02-19 21:39:24-08:00, davem@nuts.davemloft.net [I2C]: If comparing against ULONG_MAX, use ulong type, in lm85.c ChangeSet@1.1557.69.24, 2004-02-19 21:38:03-08:00, davem@nuts.davemloft.net [FREEVXFS]: Fix u64 printk warnings on some 64-bit platforms. ChangeSet@1.1557.71.3, 2004-02-19 21:36:48-08:00, benh@kernel.crashing.org [PATCH] Fix a DMA underrun problem with pmac IDE This fixes the behaviour of the pmac "macio" IDE driver when a DMA transfer happen to get less data out of the device than expected when setting up the DMA commands (the device underruns). This is very common with recent ATAPI stuffs and used to cause problem & disable DMA. This patch fixes the way we handle that condition, thus also fixing DVD burning on a bunch of recent pmacs. ChangeSet@1.1557.71.2, 2004-02-19 21:36:39-08:00, benh@kernel.crashing.org [PATCH] Be careful about memory ordering in sungem driver Some barriers between setting up the DMA regions and writing the descriptor addresses would be most useful. I had some in my 2.4 version but they got lost someway, probably me not properly merging with davem at this point. The 970 is definitely more agressive at re-ordering stores than previous CPUs... Here is a patch adding some (probably too much, but better safe than sorry). ChangeSet@1.1557.69.23, 2004-02-19 21:30:34-08:00, davem@nuts.davemloft.net [I2C]: Fix resource address typing in i2c-voodoo3.c ChangeSet@1.1557.69.22, 2004-02-19 21:29:27-08:00, davem@nuts.davemloft.net [I2C]: Use correct port address types in i2c-velleman.c ChangeSet@1.1557.69.21, 2004-02-19 21:27:16-08:00, davem@nuts.davemloft.net [I2C]: Fix resource address typing. ChangeSet@1.1557.69.20, 2004-02-19 21:19:03-08:00, davem@nuts.davemloft.net [SPARC64]: Update defconfig. ChangeSet@1.1559, 2004-02-19 22:56:14-05:00, jgarzik@redhat.com Merge redhat.com:/spare/repo/netdev-2.6/e100-2 into redhat.com:/spare/repo/net-drivers-2.5 ChangeSet@1.1557.72.1, 2004-02-19 17:12:16-08:00, greg@kroah.com Merge kroah.com:/home/greg/linux/BK/bleed-2.6 into kroah.com:/home/greg/linux/BK/usb-2.6 ChangeSet@1.1557.71.1, 2004-02-19 16:25:15-08:00, torvalds@ppc970.osdl.org Merge http://lia64.bkbits.net/to-linus-2.5 into ppc970.osdl.org:/home/torvalds/v2.5/linux ChangeSet@1.1557.54.32, 2004-02-19 16:19:27-08:00, greg@kroah.com USB storage: sync up with some missing unusual_devs entries that were in my tree. ChangeSet@1.1557.70.2, 2004-02-19 19:06:00-05:00, bcollins@debian.org IEEE1394(r1143): Fix FCP requests, broken by my change for list_for_each_entry(). ChangeSet@1.1557.54.31, 2004-02-19 15:42:36-08:00, Andries.Brouwer@cwi.nl [PATCH] USB: add comments to sddr09.c People ask how to write the CIS on a SmartMedia card using an sddr09 reader/writer. The patch below documents the required command (but does not add the code). Two years ago or so I used this to fix the CIS on a card that my camera no longer wanted to accept. A Linux utility to do this might be useful, but the problem always is that we do not really have a good mechanism. How does one tell a driver that it has to do something special? Add yet another ioctl? ChangeSet@1.1557.54.30, 2004-02-19 15:35:35-08:00, greg@kroah.com [PATCH] USB: fix up compile errors in uhci driver. ChangeSet@1.1557.54.29, 2004-02-19 15:34:39-08:00, stern@rowland.harvard.edu [PATCH] USB: Use driver-model logging in the UHCI driver The main item in this patch is the conversion of the UHCI driver from using the old usb.h logging macros to the new driver-model dev_xxx macros. There are a few other minor changes too: updated version number, author, copyright, and maintainer information, removed some unneeded error messages, added some line breaks, added a convenience macro for the device pointer. ChangeSet@1.1557.54.28, 2004-02-19 15:34:09-08:00, stern@rowland.harvard.edu [PATCH] USB: Repair unusual_devs.h entry On Fri, 20 Feb 2004, Gustavo Guillermo wrote: > Ok, I tested the patch, The camera works, just as in the old Kernel, > Thanks, I'm including as an atachment the /proc/bus/usb/devices from > kernel 2.4.x and 2.6.x, and the kernel log for 2.4.x, but ooops, I forgot > to biold 2.4.x with full debug, if someone need it I will do. > > Please include this FIX in the Next Release. Greg, I now feel confident that this patch should be applied. ChangeSet@1.1557.54.27, 2004-02-19 15:32:56-08:00, stern@rowland.harvard.edu [PATCH] USB: Another unusual_devs.h update On Thu, 19 Feb 2004, Agustin De Igartua wrote: > Initializing USB Mass Storage driver... > usb-storage: This device (04e6,0002,0100 S 06 P 50) has unneeded SubClass and Protocol entries in unusual_devs.h > Please send a copy of this message to scsi0 : SCSI emulation for USB Mass Storage devices Thank you for sending this in. Greg, here's the patch. ChangeSet@1.1557.64.9, 2004-02-19 11:28:05-08:00, davidm@tiger.hpl.hp.com ia64: Back-port from libunwind: fix off-by-one error in kernel-unwinder. There are no known failures due to this bug, but it's clearly a bug and given the right compiler, it could trigger and lead to bad stack traces etc. ChangeSet@1.1557.39.19, 2004-02-19 14:08:49-05:00, bcollins@debian.org IEEE1394(r1142): Use a kernel thread to rescan devices so we don't block the writer. ChangeSet@1.1557.64.8, 2004-02-19 11:06:58-08:00, pfg@sgi.com [PATCH] ia64: cleanup SN2 pci_bus_cvlink.c I incorporated (at least in spirit I hope) hch's suggestions on the fixup code put in some kfrees that I was missing and static for sn_alloc_pci_sysdata (thanks Bartlomiej Zolnierkiewicz). White space clean up. ChangeSet@1.1557.64.7, 2004-02-19 10:50:29-08:00, mort@sgi.com [PATCH] ia64: clean up SN2 setup.c Cleanup the SN setup.c file. Add __init and static to functions where required. ChangeSet@1.1557.64.6, 2004-02-19 10:49:01-08:00, mort@sgi.com [PATCH] ia64: SN2 header file cleanups Here is a patch to clean up some of the Altix header files and includes. I've run the patch past the appropriate people at SGI and they seem happy with the changes. ChangeSet@1.1557.64.5, 2004-02-19 10:47:27-08:00, pfg@sgi.com [PATCH] ia64: on SN2, skip init_platform_hubinfo() if on the simulator ChangeSet@1.1557.64.4, 2004-02-19 10:46:32-08:00, pfg@sgi.com [PATCH] ia64: on SN2, use the pda to count interrupts ChangeSet@1.1557.39.18, 2004-02-19 13:33:50-05:00, bcollins@debian.org IEEE1394(r1141): Add an "ignore_drivers" global default. ChangeSet@1.1557.69.18, 2004-02-19 08:40:04-08:00, akpm@osdl.org [PATCH] show_task() is not SMP safe From: Arnd Bergmann Christian Bornträger noticed that the kernel can crash after -T. It appears that the show_task function gets called for all tasks, which does not work if one of the tasks is running in a system call on another CPU. In that case the result of thread_saved_pc and show_stack is undefined and likely to cause a crash. For tasks running in user space on other CPUs, show_task() is probably harmless, but I'm not sure if that's true on all architectures. The patch below is still racy for tasks that are about to sleep, but it demonstrates the problem. ChangeSet@1.1557.69.17, 2004-02-19 08:39:53-08:00, akpm@osdl.org [PATCH] show_task() fix and cleanup show_task() is preinting negative numbers for free stack due to arithmetic against the wrong pointer. Fix that up, and clean up a few related things. show_task still has bogus code which atempts to work out how much stack the task has ever used - it cannot work because we don't actually zero out the stack pages when allocating them. We should fix that, or take it out. ChangeSet@1.1557.69.16, 2004-02-19 08:39:43-08:00, akpm@osdl.org [PATCH] print some x86 build options during oopses I find this handy sometimes: it makes the oops output include info as to whether the user has selected CONFIG_PREEMPT, CONFIG_SMP or, particularly, CONFIG_DEBUG_PAGEALLOC. It can save one email round-trip. ChangeSet@1.1557.69.15, 2004-02-19 08:39:33-08:00, akpm@osdl.org [PATCH] config option for irqbalance From: "Martin J. Bligh" Make irqbalance into a config option - some people (jgarzik, arjan, etc) wanted to be able to disable it and do things from userspace instead. This patch allows each camp to do their own thing, which seems fair ;-) ChangeSet@1.1557.69.14, 2004-02-19 08:39:22-08:00, akpm@osdl.org [PATCH] ia32: disallow NUMA on PC subarch From: "Martin J. Bligh" Disallow NUMA on the i386 PC subarch (it doesn't work, nor was it intended to). ChangeSet@1.1557.69.13, 2004-02-19 08:39:12-08:00, akpm@osdl.org [PATCH] ia32: pfn_to_nid fix From: "Martin J. Bligh" Makes sure pfn_to_nid is defined for all combinations of subarches, and that it's defined before it's used so we don't run into implicit declaration problems. ChangeSet@1.1557.69.12, 2004-02-19 08:39:02-08:00, akpm@osdl.org [PATCH] fix pfn_valid on ia32 discontigmem From: "Martin J. Bligh" Fix pfn_valid for architctures with discontiguous memory. This only changes the NUMA definition, and it leaves the NUMA-Q definition as was, because it's faster that way, it's in hotpaths, and our memory is always contiguous. ChangeSet@1.1557.69.11, 2004-02-19 08:38:51-08:00, akpm@osdl.org [PATCH] fix access() POSIX compliance From: Andreas Gruenbacher The fix for permission() that makes it compliant with POSIX.1-2001 apparently was lost. Here is the patch I sent before. (The relevant lines from the standard text are cited in http://www.ussg.iu.edu/hypermail/linux/kernel/0310.2/0286.html. The fix proposed in that posting did not handle directories without execute permissions correctly.) Make permission check conform to POSIX.1-2001 The access(2) function does not conform to POSIX.1-2001: For root and a file with no permissions, access(file, MAY_READ|MAY_EXEC) returns 0 (it should return -1). ChangeSet@1.1557.69.10, 2004-02-19 08:38:40-08:00, akpm@osdl.org [PATCH] gcc-3.5: bonding drivers/net/bonding/bond_alb.c: In function `bond_alb_xmit': drivers/net/bonding/bond_alb.c:1188: error: invalid lvalue in assignment ChangeSet@1.1557.69.9, 2004-02-19 08:38:29-08:00, akpm@osdl.org [PATCH] use noinline for rest_init() gcc-3.4 incorretly inlines rest_init() into start_kernel(), causing things to crash when the .text.init section gets unloaded. Use noinline to prevent that. ChangeSet@1.1557.69.8, 2004-02-19 08:38:18-08:00, akpm@osdl.org [PATCH] Add noinline attribute From: Andi Kleen This patch adds the `noinline' function attribute. It can be used to explicitly tell the compiler to not inline functions. We need this due to what is, IMO, a bug present in gcc-3.4 and current gcc-3.5 CVS: the compiler is inlining init/main.c:rest_init() inside init/main.c:start_kernel(), despite the fact that thay are declared to be placed in different text sections. ChangeSet@1.1557.69.7, 2004-02-19 08:38:07-08:00, akpm@osdl.org [PATCH] Use -funit-at-a-time on ia32 From: Andi Kleen The upcomming gcc 3.4 has a new compilation mode called unit-at-a-time. What it does is to first load the whole file into memory and then generate the output. This allows it to use a better inlining strategy, drop unused static functions and use -mregparm automatically for static functions. It does not seem to compile significantly slower. This is also available in some of the 3.3 based "hammer branch" compilers used in distributions (at least in SuSE and Mandrake) Some tests show impressive .text shrinkage from unit-at-a-time. e.g. here is the same kernel compiled with -fno-unit-at-a-time and -funit-at-a-time with a gcc 3.4 snapshot. The gains are really impressive: text data bss dec hex filename 4129346 708629 207240 5045215 4cfbdf vmlinux-nounitatatime 3999250 674853 207208 4881311 4a7b9f vmlinux-unitatatime .text shrinks by over 130KB!. And .data shrinks too. At first look the numbers look nearly too good to be true, but they have been verified with several configurations and seem to be real. It looks like we have a lot of stupid inlines or dead functions. I'm really not sure why it is that much better. But it's hard to argue with hard numbers. [A bloat-o-meter comparision between the two vmlinuxes can be found in http://www.firstfloor.org/~andi/unit-vs-no-unit.gz . It doesn't show any obvious candidates unfortunately, just lots of small changes] With the gcc 3.3-hammer from SuSE 9.0 the gains are a bit smaller, but still noticeable (>100KB on .text) This patch enables -funit-at-a-time on ia32 if the compiler is gcc-3.4 or later. We had several reports of gcc-3.3 producing very early lockups. ChangeSet@1.1557.69.6, 2004-02-19 08:37:55-08:00, akpm@osdl.org [PATCH] Add CONFIG for -mregparm=3 From: Andi Kleen , me. Using -mregparm=3 shrinks the kernel further: (compiled with gcc 3.4, without -funit-at-a-time, using the later and together with -Os shrinks .text even more, making over 700KB difference) 4129346 708629 207240 5045215 4cfbdf vmlinux 3892905 708629 207240 4808774 496046 vmlinux-regparm This one helps even more, >236KB .text difference. Clearly worth the effort. This patch adds an option to use -mregparm=3 while compiling the kernel. I did an LTP run and it showed no additional failures over an non regparm kernel. According to some gcc developers it should be safe to use in all gccs that are still supports (2.95 and up) I didn't make it the default because it will break all binary only modules (although they can be fixed by adding a wrapper that calls them with "asmlinkage"). Actually it may be a good idea to make this default with 2.7.1 or somesuch. We add new kbuild infrastructure: the command scripts/gcc-version.sh $(CC) will print out the version of gcc in a canonical 4-digit form suitable for performing numerical tests against. DESC arch/i386/Makefile,scripts/gcc-version.sh,Makefile small fixes EDESC From: Serge Belyshev <33554432@mtu-net.ru> arch/i386/Makefile: * omitted $(KBUILD_SRC)/ in script call. scripts/gcc-version.sh: * GNU tail no longer supports 'tail -1' syntax. We should consider adding -fweb option: vanilla: $ size vmlinux text data bss dec hex filename 3056270 526780 386056 3969106 3c9052 vmlinux with -fweb: $ size vmlinux text data bss dec hex filename 3049523 526780 386056 3962359 3c75f7 vmlinux Also note 0.1 ... 1.0% speedup in various benchmarks. This option is not enabled by default at -O2 because it (like -fomit-frame-pointer) makes debugging impossible. ChangeSet@1.1557.69.5, 2004-02-19 08:37:44-08:00, akpm@osdl.org [PATCH] page_add_rmap(): remove meaningless test Remove page validity test. I had a warning in there for a few weeks, no reports of it happening. ChangeSet@1.1557.69.4, 2004-02-19 08:37:32-08:00, akpm@osdl.org [PATCH] slab: hexdump for check_poison From: Manfred Spraul The patch is designed improve the diagnostics which are presented when the slab memory poison detector triggers. check_poison_obj checks for write accesses after kfree by comparing the object contents with the poison value. The current implementation contains several flaws: - it accepts both POISON_BEFORE and POISON_AFTER. check_poison_obj is only called with POISON_AFTER poison bytes. Fix: only accept POISON_AFTER. - the output is unreadable. Fix: use hexdump. - if a large objects is corrupted, then the relevant lines can scroll of the screen/dmesg buffer. Fix: line limit. - it can access addresses behind the end of the object, which can oops with CONFIG_DEBUG_PAGEALLOC. Fix: bounds checks. Additionally, the patch contains the following changes: - rename POISON_BEFORE and POISON_AFTER to POISON_FREE and POISON_INUSE. The old names are ambiguous. - use the new hexdump object function in ptrinfo. - store_stackinfo was called with wrong parameters: it should store caller, i.e. __builtin_return_address(0), not POISON_AFTER in the object. - dump both the object before and after the corrupted one, not just the one after. Example output: <<< Slab corruption: start=194e708c, len=2048 Redzone: 0x5a2cf071/0x5a2cf071. Last user: [<02399d7c>](dummy_init_module+0x1c/0xb0) 010: 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 7b 030: 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 63 Prev obj: start=194e6880, len=2048 Redzone: 0x5a2cf071/0x5a2cf071. Last user: [<00000000>](0x0) 000: 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 010: 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b <<< ChangeSet@1.1557.69.3, 2004-02-19 08:37:22-08:00, akpm@osdl.org [PATCH] prevent ptrace from altering page permissions From: Roland McGrath Under some circumstances, ptrace PEEK/POKE_TEXT can cause page permissions to be permanently changed. Thsi causes changes in application behaviour when run under gdb. Fix that by only marking the pte as writeable if the vma is marked for writing. A write fault thus unshares the page but doesn't necessarily make it writeable. ChangeSet@1.1557.69.2, 2004-02-19 08:37:12-08:00, akpm@osdl.org [PATCH] slab: print slab name in kmem_cache_init() Print the name of the offending slab if we're going to go BUG in kmem_cache_init(). ChangeSet@1.1557.69.1, 2004-02-19 08:37:00-08:00, akpm@osdl.org [PATCH] ramdisk cleanup Fairly pointless coding-style cleanups which I've been sitting on for ages. The ramdisk driver is still buggy: it drops pagecache when unmounted. I still need to fix this. Apparently it also displays data corruption under load even when not unmounted. ChangeSet@1.1557.39.17, 2004-02-19 10:48:54-05:00, bcollins@debian.org IEEE1394(r1140): Add a bus rescan bus_attr file, and an ignore_driver attr for ud's ChangeSet@1.1557.39.16, 2004-02-19 10:45:39-05:00, bcollins@debian.org IEEE1394/SBP2(r1139): Some cleanups, and a better, more unique id for ieee1394_id attribute. ChangeSet@1.1557.1.119, 2004-02-19 12:47:07+00:00, linux@de.rmk.(none2) [ARM] URL change for linux-on-laptops Patch from: Sebastian Henschel Attached is a cosmetic patch for arch/arm/Kconfig which updates the URL for Kenneth's page and introduces the URL of tuxmobil.org. ChangeSet@1.1557.1.118, 2004-02-18 22:15:10-08:00, gerg@snapgear.com [PATCH] fixes to ColdFire/5407 startup code Correct the cache setup bits for the 5407. This enables the write buffers properly (despite what the previous comment said). This combined with fixed cache flushing code provides a nice performance boost on the 5407. Also fix the ROMfs setup to only move the ROMfs region if it is actually configured. ChangeSet@1.1557.1.117, 2004-02-18 21:45:08-08:00, gerg@snapgear.com [PATCH] add m68k elf relocation types to elf.h Added ELF relocation type defines. These are needed by the module loading code for m68knommu. ChangeSet@1.1557.1.116, 2004-02-18 21:41:28-08:00, gerg@snapgear.com [PATCH] allow configuration for shared flat binary support This adds the configuration option to enable the uClinux shared flat binary support. The code support is already in the binfmt_load code, just the config option is missing. ChangeSet@1.1557.1.115, 2004-02-18 21:41:19-08:00, gerg@snapgear.com [PATCH] fix memory leaks in binfmt_flat loader Fix a number of memory leaks in the uClinux binfmt_flat loader. All are related to not cleaning up properly on failure conditions. ChangeSet@1.1557.67.11, 2004-02-19 00:21:05-05:00, patmans@us.ibm.com [PATCH] have CONFIG_SCSI_PROC_FS depend on CONFIG_PROC_FS Patch against recent 2.6: have CONFIG_SCSI_PROC_FS depend on CONFIG_PROC_FS, as configuring CONFIG_SCSI_PROC_FS without CONFIG_PROC_FS prevents scsi core from initializing. ChangeSet@1.1557.67.10, 2004-02-19 00:17:25-05:00, hch@lst.de [PATCH] move remaining definitions from drivers/scsi/scsi.h to include/scsi Simple move for a bunch of definitions so driver can finally stop doing the -Idriver/scsi mess. I'd like to get it out ASAP because the distros are going to branch their first 2.6 releases soon and the vendors will want to support those basically forever. ChangeSet@1.1557.67.9, 2004-02-19 00:15:06-05:00, andrew.vasquez@qlogic.com [PATCH] qla2xxx -- FCP_RSP IU check during command completion. While processing command completions in qla2x00_status_entry() interrogate the FCP_RSP IU in case of any FCP protocol errors (FCP-3, 9.4.11) during command execution. If there were any failures, schedule a retry of the command via DID_BUS_BUSY. [Corrected patch attached. Thanks to RA for pointing this out.] ChangeSet@1.1557.67.8, 2004-02-19 00:08:19-05:00, andrew.vasquez@qlogic.com [PATCH] qla2xxx -- Properly schedule mailbox command timeouts. For mailbox commands which the firmware internally times-out in 2 * R_A_TOV, the driver should timeout no sooner than 2.5 * R_A_TOV so we do not inappropriately schedule an ISP abort. ChangeSet@1.1557.67.7, 2004-02-19 00:06:25-05:00, hch@lst.de [PATCH] fix up NCR5380 private data Use the private data passed to request_irq instead of looping over all controllers. The patch was ACKed by Alan a while ago. Note that the patch only looks so huge because of the two leves of indentation removed by the tiny chage. ChangeSet@1.1557.67.6, 2004-02-19 00:05:30-05:00, hch@lst.de [PATCH] fix up ini9100 interrupt handling Currently is has a different irq handler for every "supported" chip. Make use of the private data passed to request_irq instead. ChangeSet@1.1557.67.5, 2004-02-19 00:03:08-05:00, hch@lst.de [PATCH] Remove CONFIG_SCSI_DC390T_NOGENSUPP Now that the Am53C974 driver is gone it doesn't make sense to not support all Am53C974-based cards, and the amount of code under the ifdef is tiny anyways. ChangeSet@1.1557.67.4, 2004-02-19 00:01:01-05:00, brking@us.ibm.com [PATCH] SCSI: Make retries obey host_self_blocked flag The following patch against 2.6.2 will prevent the midlayer from issuing retries if host_self_blocked is set. This was raised as an issue here: http://marc.theaimsgroup.com/?l=linux-scsi&m=107357742430401&w=2 ChangeSet@1.1557.1.114, 2004-02-18 21:00:18-08:00, akpm@osdl.org [PATCH] aio sysctl parms From: Janet Morgan It looks like aio_nr and aio_max_nr were intended to be sysctl parameters. ChangeSet@1.1557.1.113, 2004-02-18 21:00:09-08:00, akpm@osdl.org [PATCH] mark ftape un-removable From: Christoph Hellwig I've just grepped over the tree for reamining MOD_INC_USE_COUNT users, and ftape is a really horrible one, it relies on MOD_{INC,DEV}_USE_COUNT in the most horrible places + it's own bookkepping and the <= 2.4 may unload hooks. And although I don't have the hardware I can guarantee it doesn't work as expected. So let's just remove the module_exit handler and mark it unremovable, if someone wants to fix up ftape later it's fine with me, but it's a really scary driver.. ChangeSet@1.1557.1.112, 2004-02-18 21:00:00-08:00, akpm@osdl.org [PATCH] Add C99 initializers to arch/i386/pci/fixup.c From: "Art Haas" Here's a small patch that adds C99 initializers to the file. ChangeSet@1.1557.1.111, 2004-02-18 20:59:51-08:00, akpm@osdl.org [PATCH] crc32.c copyright fix From: Matt Domsch Patch below applies to both 2.4.25 and 2.6.3, and replaces the public domain statement and non-warranty with the GPL, as is permitted by the code being in the public domain, and is done with legal advice. ChangeSet@1.1557.1.110, 2004-02-18 20:59:42-08:00, akpm@osdl.org [PATCH] tuner driver fixes From: Gerd Knorr "options tuner type=2" is just there for historical reasons and should only be used/needed if the main driver doesn't allow to configure the tuner type. I'm not sure whenever I can remove that altogether without breaking anything. There are several users of the tuner module, some outside the standard kernel tree ... > > if (type < TUNERS) { > > + t->type = type; > > printk("tuner: type forced to %d (%s) [insmod]\n", > > t->type,tuners[t->type].name); > > set_type(client,type); That is wrong, it will break in other corner cases, it may cause the set_type() function not doing the initializations. The prink can also be dropped because set_type does that too. The patch below removes that. It also makes the kernel messages a bit more verbose and adds support for two new tuners. ChangeSet@1.1557.1.109, 2004-02-18 20:59:33-08:00, akpm@osdl.org [PATCH] wireless/Kconfig enable/select complete replacement From: mcgrof@studorgs.rutgers.edu (Luis R. Rodriguez) Complete the migration from Kconfig's undocumented "enable" to "select". ChangeSet@1.1557.1.108, 2004-02-18 20:59:24-08:00, akpm@osdl.org [PATCH] Fix sprintf modifiers in usr/gen_init_cpio.c for cygwin From: Pragnesh Sampat The file initramfs_data.cpio is slightly different when generated on cygwin, compared to linux, which causes the kernel to panic with the message "no cpio magic" (See Documentation/early-userspace/README). The problem in cpio generation is due to the difference in sprintf modifiers on cygwin. The code uses "%08ZX" for strlen of a device node. printf man pages discourages "Z" and has 'z' instead. Both of these are not available on cygwin sprintf (at least some versions of cygwin). The net result of all of this is that the generated file literally contains "ZX" and then the strlen after that and messes up that 110 offset etc. The file is 516 bytes long on the system that I tested and on linux it is 512 bytes. The fix below just uses "%08X" for that field. ChangeSet@1.1557.1.107, 2004-02-18 20:59:15-08:00, akpm@osdl.org [PATCH] smbfs: support the loop driver From: Urban Widmark Add the necessary bits for loop-over-smbfs. ChangeSet@1.1557.1.106, 2004-02-18 20:59:06-08:00, akpm@osdl.org [PATCH] Codingstyle update From: Michael Frank ChangeSet@1.1557.1.105, 2004-02-18 20:58:57-08:00, akpm@osdl.org [PATCH] Remove overenthusiastic BUG in smp_boot_cpus From: "Martin J. Bligh" There's no real need to BUG and stop the system from booting if the BIOS spec'ed apicid for the boot CPU isn't correct - we can continue perfectly well with the real one. ChangeSet@1.1557.1.104, 2004-02-18 20:58:48-08:00, akpm@osdl.org [PATCH] sf16fmr2 radio card driver From: "ZIGLIO, Frediano, VF-IT" Add a new driver for the SF16FMR2 Radio card. ChangeSet@1.1557.1.103, 2004-02-18 20:58:38-08:00, akpm@osdl.org [PATCH] Inefficient TLB flush fix From: Martin Hicks This is a patch based on one that Jack Steiner sent to the ia64 list in November. The original thread can be found at: http://marc.theaimsgroup.com/?l=linux-ia64&m=106869606922555&w=2 I created the little wrapper function that was requested. I think the only other arch, other than ia64, that doesn't at least include asm-generic/tlb.h is arm. Something appears broken in TLB flushing on IA64 (& possibly other architectures). Functionally, it works but performance is bad on systems with large cpu counts. The result is that TLB flushing in exit_mmap() is frequently being done via IPIs to all cpus rather than with a "ptc" instruction or with a new context.. ChangeSet@1.1557.1.102, 2004-02-18 20:58:29-08:00, akpm@osdl.org [PATCH] menuconfig: fix the check for ncurses-devel From: Sam Ravnborg Corrected check for missing ncurses-devel when executing "make menuconfig". Now tell user to install 'ncurses-devel' if check fails. ChangeSet@1.1557.1.101, 2004-02-18 20:58:20-08:00, akpm@osdl.org [PATCH] Fix make rpm when using RH9 or Fedora.. From: Thomas Davis Doing a 'make rpm' will fail with the current RH9/Fedora RPM macros. The failure message is this: Processing files: kernel-debuginfo-2.6.3rc1mm1-12 error: Could not open %files file /usr/src/redhat/BUILD/kernel-2.6.3rc1mm1/debugfiles.list: No such file or directory The fix is this patch: ChangeSet@1.1557.1.100, 2004-02-18 20:58:11-08:00, akpm@osdl.org [PATCH] dm-crypt From: Christophe Saout Adds a crypto module for device-mapper. The intent here is to remove cryptoloop ASAP, to pull the remapping gunk out of the loops driver and to migrate people onto dm-crypt. It is on-disk compatible with existing cryptolop installations. See http://www.saout.de/misc/dm-crypt/ for usage details. ChangeSet@1.1557.1.99, 2004-02-18 20:58:01-08:00, akpm@osdl.org [PATCH] Disable bootmem warning From: Andi Kleen Make the "hm, page reserved twice" message dependent on CONFIG_DEBUG_BOOTMEM. ChangeSet@1.1557.1.98, 2004-02-18 20:57:52-08:00, akpm@osdl.org [PATCH] ide-tape: remove obsolete onstream support From: Willem Riede The onstream drives, be they scsi, atapi, ieee1394 or usb, are supported by the osst driver. When the drives were new, code was introduced in ide-tape independently, but never really maintained since. There are issues with the drives I found and dealt with in osst, that ide-tape doesn't address. So this code in ide-tape is both redundant and imperfect. I assumed from http://marc.theaimsgroup.com/?l=linux-kernel&m=107550547613846&w=2 that there was buy in for removing it. When this patch is applied, ide-tape will refuse to attach to an onstream DI drive, and will write to syslog to use ide-scsi + osst instead. ChangeSet@1.1557.1.97, 2004-02-18 20:57:43-08:00, akpm@osdl.org [PATCH] do_swap_page() return value fix From: BlaisorBlade An exhausted do_swap_page() should return VM_FAULT_OOM rather than -ENOMEM. ChangeSet@1.1557.1.96, 2004-02-18 20:57:34-08:00, akpm@osdl.org [PATCH] slab: remove extraneous printk From: "David S. Miller" From: YOSHIFUJI Hideaki If I create some kmem cache on 64-bit with like 3 u32's in it, it should silently just work and not warn. ChangeSet@1.1557.1.95, 2004-02-18 20:57:25-08:00, akpm@osdl.org [PATCH] Fix race in epoll_ctl(EPOLL_CTL_MOD) From: Davide Libenzi A potential race can happen in epoll_ctl(EPOLL_CTL_MOD) where an event can happen in between f_op->poll() and the lock on ep->lock (we cannot call f_op->poll() inside a lock, and the f_op->poll() callback does not carry any info at the current time - missing wake_up_info() already ;). In that case the event would be removed. We can easily leave the event inside the ready list and have the ep_send_events() logic do the job for us at later time. (Thanks to david.lee@teracruz.com for reporting the thing, since it shouldn't have been a nice one ;) ChangeSet@1.1557.1.94, 2004-02-18 20:57:16-08:00, akpm@osdl.org [PATCH] add clock_was_set() to all architectures From: Anton Blanchard Add clock_was_set to all architectures. I'm disappointed this wasnt done by whoever wrote the code. (It is a callback which the arch-specific RTC-updating code must make when someone sets the time). ChangeSet@1.1557.1.93, 2004-02-18 20:57:07-08:00, akpm@osdl.org [PATCH] Module headers cleanup From: Brian Gerst Cleans up some leftovers from the old module loader: - Remove unused defines from modules.h - Remove unused file modsetver.h ChangeSet@1.1557.1.92, 2004-02-18 20:56:58-08:00, akpm@osdl.org [PATCH] Documentation on how to debug modules From: Alex Goddard How to debug module loading problems. The wording is a slightly changed version of what Rusty said. ChangeSet@1.1557.1.91, 2004-02-18 20:56:48-08:00, akpm@osdl.org [PATCH] Fix __release_region() race From: MAEDA Naoaki I am testing PCI hot-plug in 2.6.2 kernel, but sometimes a struct resource tree in kernel/resource.c was broken if multiple hot-plug requests are issued at the same time. The reason is lots of drivers call release_region() on hot removal, and __release_region(), which is invoked by release_region() macro, changes the tree without holding a writer lock for resource_lock. I think __release_region() must hold a writer lock as well as __request_region() does. A following patch fixes the issue in my environment. ChangeSet@1.1557.1.90, 2004-02-18 20:56:39-08:00, akpm@osdl.org [PATCH] remove max_anon limit From: Tim Hockin Remove the max_anon via dynamically allocation. We also change the idr_pre_get() interface to take a gfp mask, which should have always been there. ChangeSet@1.1557.1.89, 2004-02-18 20:56:30-08:00, akpm@osdl.org [PATCH] oprofile: add Pentium Mobile support From: Philippe Elie From: Will Cohen Add oprofile support for Pentium Mobile (P6 core). Pentium Mobile needs to unmask LVPTC vector, since it doesn't hurt other P6 core based cpus we do it unconditionally for all these. This patch require userspace tools >= 0.8 (only in sourceforge cvs currently) ChangeSet@1.1557.1.88, 2004-02-18 20:56:21-08:00, akpm@osdl.org [PATCH] oprofile: ARM infrastructure From: Philippe Elie From: Zwane Mwaikambo This patch adds infrastructure code and enables ARM to utilise the timer int oprofile driver. There is PMU code under development for the XScale but that is still forthcoming. In the meantime you can use the timer int driver with an updated Oprofile-CVS userspace (SF is a bit slow, please allow 24hrs). ChangeSet@1.1557.1.87, 2004-02-18 20:56:11-08:00, akpm@osdl.org [PATCH] Oprofile: fix nmi_timer_int detection From: Philippe Elie From: Zwane Mwaikambo The nmi_timer_int oprofile driver was enabling itself unconditionally if an SMP kernel was being used on a UP system without an IOAPIC. Tested on a P5 using NMI timer int driver and UP system using timer int driver both running an SMP kernel. 2004-02-11 Zwane Mwaikambo * arch/i386/kernel/nmi.c: export nmi_active * arch/i386/oprofile/nmi_timer_int.c: use it to check if owe can use an nmi interrupt ChangeSet@1.1557.1.86, 2004-02-18 20:56:02-08:00, akpm@osdl.org [PATCH] 3c59x: bring back the `enable_wol' option Some machines appear to have BIOS problems which are causing 3c59x adapters to come up in a powered-off state when WOL and PM are enabled. So bring back the 2.4 `enable_wol' module option which disables wake-on-lan unless the user specifically asked for it. ChangeSet@1.1557.1.85, 2004-02-18 20:55:53-08:00, akpm@osdl.org [PATCH] cleanup patch that prepares for 4Kb stacks From: Arjan van de Ven I have 4Kb stacks + IRQ stacks working in my tree. The biggest part of the 4K-stacks work is changing hardcoded 8Kb assumptions to the proper, pre-existing define for this. That part of the patch is appropriate in general, even when 4Kb stacks might not be. ChangeSet@1.1557.1.84, 2004-02-18 20:55:44-08:00, akpm@osdl.org [PATCH] fix display of NBD in /proc/partitions The recent change to /proc/partitions which prevents it from displaying removeable media accidentally caused 128 NBD and 16 ramdisk partitions to appear in /proc/partitions instead. So add a specific gendisk flag which says "don't show me in /proc/partitions" and use that. ChangeSet@1.1557.1.83, 2004-02-18 20:55:35-08:00, akpm@osdl.org [PATCH] skip offline CPUs in show_free_areas From: Christoph Hellwig Don't try to display the per-cpu information for CPUs which aren't there. ChangeSet@1.1557.1.82, 2004-02-18 20:55:26-08:00, akpm@osdl.org [PATCH] off_t in nfsd_commit needs to be loff_t From: Neil Brown , From: Miquel van Smoorenburg While I was stress-testing NFS/XFS on 2.6.1/2.6.2-rc, I found that sometimes my "dd" would exit with: # dd if=/dev/zero bs=4096 > /mnt/file dd: writing `standard output': Invalid argument 1100753+0 records in 1100752+0 records out After adding some debug printk's to the server and client code and some tcpdump-ing, I found that the NFSERR_INVAL was returned by nfsd_commit on the server. Turns out that the "offset" argument is off_t instead of loff_t. It isn't used at all (unfortunately), but it _is_ checked for sanity, so that's where the error came from. ChangeSet@1.1557.1.81, 2004-02-18 20:55:17-08:00, akpm@osdl.org [PATCH] drivers/char/vt possible race From: Benjamin Herrenschmidt I falled again on the crash in con_do_write() with driver->data beeing NULL. It happens during boot, when userland is playing open/close games with tty's, I was intentionally typing keys like mad during boot trying to trigger another problem when this one poped up. Looking at the code, I'm not sure how protected we are by the above (tty) layer, paulus told me to not rely on anything like locking coming from there, so I decided to extend the scope of the console semaphore one more bit to cover races between calls to con_open, con_close and con_write. Note that in con_do_write, I intentionally drop the semaphore to avoid keeping it held when waiting on the local buffer, and I added some sanity checks on tty->driver_data with some printk's in case we still have an open race by the tty layer. At least, now, the couple vc_allocated & tty->driver_data should be protected though. ChangeSet@1.1557.1.80, 2004-02-18 20:55:08-08:00, akpm@osdl.org [PATCH] /proc thread visibility fixes From: Kingsley Cheung Is is possible to examine the data of tasks currently existing in the system which are not threads of the same thread group. For example, the only task in the group where init is group leader is itself: gen2 02:50:44 ~: ls /proc/1/task 1 However, I can then read the contents of 'stat' for any other task in the system: gen2 02:49:45 ~: cat /proc/1/task/$$/stat 1669 (bash) S 1668 1669 1669 34816 1730 256 1480 6479 12 4 8 5 5 17 15 0 1 0 +8065 3252224 451 4294967295 134512640 134955932 3221225104 3221222840 +4294960144 0 65536 3686404 1266761467 3222442959 0 0 17 0 0 0 I had a look at fs/proc/base.c and found that the 'lookup' functions for these directories were checking that the task in question existed, but overlooked the following: 1. In the function proc_pid_lookup, a check is required to ensure that the task in question is a thread group leader. Without the check, any task can have its data retrieved accordingly. Consider the following. There is a multithreaded process 1777. gen2 23:22:47 /proc/1777: ls task 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 However, I can read the stat file for its thread 1778 as follows: gen2 23:22:50 /proc/1777: cat /proc/1778/stat 1778 (multithreadtest) T 1777 1777 1672 34816 1672 64 0 0 0 0 14 17 0 0 15 0 12 0 8871 24727552 104 4294967295 134512640 134515104 3221222496 1077365276 4294960144 0 0 0 0 3222479248 0 0 -1 1 0 0 But 1778 is not meant to show up in /proc/, as intended right?: gen2 23:22:56 /proc/1777: ls /proc/ 1 1365 1661 1793 881 dma kcore scsi 10 1371 1662 18 9 driver kmsg self 1014 1372 1663 2 909 execdomains loadavg slabinfo 1032 14 1664 3 963 fb locks stat 1062 15 1665 4 966 filesystems mdstat swaps 1066 16 1666 5 buddyinfo fs meminfo sys 1067 1605 1669 6 bus ide misc sysrq-trigger 1087 1610 1670 7 cmdline interrupts modules sysvipc 1095 1611 1671 736 cpuinfo iomem mounts tty 11 1641 1672 8 crypto ioports mtrr uptime 12 1658 17 807 devices irq net version 13 1660 1777 810 diskstats kallsyms partitions vmstat 2. The other part of the bug is in the function proc_task_lookup. Here there needs to be a check that the task X is indeed a thread of the thread group Y when we read /proc//task/. Right now, this check does not exist, which allows for any existing task to have its data read from another thread group directory. The following reads the stat directory of my bash shell from the thread group 1. gen2 23:28:07 ~: cd /proc/1 gen2 23:28:10 /proc/1: ls auxv cwd exe maps mounts stat status wchan cmdline environ fd mem root statm task gen2 23:28:11 /proc/1: ls task 1 gen2 23:28:27 /proc/1: cat task/$$/stat 1671 (bash) S 1670 1671 1671 34817 1802 256 1953 8101 12 4 10 6 9 26 15 0 1 0 5789 3252224 454 4294967295 134512640 134955932 3221225104 3221222840 4294960144 0 65536 3686404 1266761467 3222442959 0 0 17 0 0 0 ChangeSet@1.1557.1.79, 2004-02-18 20:54:59-08:00, akpm@osdl.org [PATCH] Minor cross-compile issues From: Pratik Solanki - Fix include path for build.c so that it finds asm/boot.h. /usr/include/asm/boot.h may not be present when cross-compiling on a non-Linux machine. - $(CONFIG_SHELL) instead of sh. ChangeSet@1.1557.1.78, 2004-02-18 20:54:50-08:00, akpm@osdl.org [PATCH] cpufreq_scale() fixes From: Dominik Brodowski Use do_div on 32-bit archs in cpufreq_scale, and native "/" on 64-bit archs. ChangeSet@1.1557.1.77, 2004-02-18 20:54:41-08:00, akpm@osdl.org [PATCH] defer panic for too many items in boot parameter line From: Werner Almesberger When passing too many unrecognized boot command line options (which become arguments or environment variables), the 2.6 kernel panics (unlike 2.4, which just ignores the extra items). Unfortunately, this happens before the console is initialized, so all you get is a kernel that dies quickly, for no apparent reason. This is particularly irritating if using UML with init=something wi th a lot of ar gu men t s The patch below delays the panic until after console_init. (akpm: I mainly added this in because we have other places where the panic-later-on machinery is needed). ChangeSet@1.1557.1.76, 2004-02-18 20:54:32-08:00, akpm@osdl.org [PATCH] adfs: remove a kernel 2.2 #ifdef From: Adrian Bunk The patch below removes a kernel 2.2 #ifdef from fs/adfs/adfs.h . Note that this #ifdef was only present in the header, the implementation of adfs_bmap was already removed. ChangeSet@1.1557.1.75, 2004-02-18 20:54:23-08:00, akpm@osdl.org [PATCH] kbuild documentation fix From: Ryan Boder Explains how to compile external modules in Documentation/kbuild/modules.txt. ChangeSet@1.1557.1.74, 2004-02-18 20:54:14-08:00, akpm@osdl.org [PATCH] remove kernel 2.2 #ifdef's from {i,}stallion.h From: Adrian Bunk The patch below removeskernel 2.2 #ifdef's from {i,}stallion.h . ChangeSet@1.1557.1.73, 2004-02-18 20:54:05-08:00, akpm@osdl.org [PATCH] OSS: remove #ifdef's for kernel 2.0 From: Adrian Bunk The patch below removes two #ifdef's for kernel 2.0 from OSS. ChangeSet@1.1557.1.72, 2004-02-18 20:53:55-08:00, akpm@osdl.org [PATCH] Rename bitmap_snprintf() and cpumask_snprintf() to *_scnprintf() From: Joe Korty Rename bitmap_snprintf() to bitmap_scnprintf() and cpumask_snprintf() to cpumask_scnprintf(), as these functions now belong to the scnprintf family of functions. ChangeSet@1.1557.1.71, 2004-02-18 20:53:46-08:00, akpm@osdl.org [PATCH] MCE fixes and cleanups Andi notes that the smp_call_function(foo); foo(); in there is incorrect on preemptible kernels. Fix that by using on_each_cpu(), which takes care of such things. Also, remove the open-coded timer from here. We have schedule_delayed_work(). And remove the `timerset' variable, which doesn't do anything. ChangeSet@1.1557.1.70, 2004-02-18 20:53:37-08:00, akpm@osdl.org [PATCH] Fix printk level on non fatal MCEs From: Andi Kleen For various reasons non fatal Machine Checks can happen on Athlons (e.g. we have reports that laptops like to trigger them on suspend/resume) They are not necessarily fatal and often only minor hardware glitches. But what's annoying is that they're KERN_EMERG and pollute your console and scare the user into writing confused kernel bug reports. This patch just replaces the KERN_EMERGs with KERN_INFO for now. Longer term I think it would be better to log this stuff into a separate log. ChangeSet@1.1557.1.69, 2004-02-18 20:53:28-08:00, akpm@osdl.org [PATCH] 8259 timer ack fix From: "Maciej W. Rozycki" Fix up the 8259 ack handling for buggy SMM firmware. See http://www.ussg.iu.edu/hypermail/linux/kernel/0203.2/0956.html Apparently the embedded 8259A-compatible core is not fully functional. This patch lets the I/O APIC-driven NMI watchdog to function correctly. Credit to Ross Dickson for discovering this. ChangeSet@1.1557.1.68, 2004-02-18 20:53:19-08:00, akpm@osdl.org [PATCH] dm: drop BIO_SEG_VALID bit From: Joe Thornber I just noticed that bio_clone copies the BIO_SEG_VALID bit from the original bio when it was set. When we modify bi_idx or bi_vcnt afterwards the segment counts are invalid and the bit must be dropped (though it is fairly unlikely that it has already been set). [Christophe Saout] ChangeSet@1.1557.1.67, 2004-02-18 20:53:10-08:00, akpm@osdl.org [PATCH] dm: Remove redundant spin lock in dec_pending() From: Joe Thornber Remove redundant spin lock in dec_pending() ChangeSet@1.1557.1.66, 2004-02-18 20:53:01-08:00, akpm@osdl.org [PATCH] dm: Zero size target sanity check From: Joe Thornber Add sanity check to dm_table_add_target() against zero length targets. [Christophe Saout] ChangeSet@1.1557.1.65, 2004-02-18 20:52:52-08:00, akpm@osdl.org [PATCH] dm: Correct GFP flag in dm_table_create() From: Joe Thornber For some reason dm_table_create() was allocating GFP_NOIO rather than GFP_KERNEL. ChangeSet@1.1557.1.64, 2004-02-18 20:52:43-08:00, akpm@osdl.org [PATCH] dm: Tidy up the error path for alloc_dev() From: Joe Thornber Tidy up the error path for alloc_dev() ChangeSet@1.1557.1.63, 2004-02-18 20:52:34-08:00, akpm@osdl.org [PATCH] dm: Maintain ordering when deferring bios From: Joe Thornber Make sure that we maintain ordering when deferring bios. ChangeSet@1.1557.1.62, 2004-02-18 20:52:25-08:00, akpm@osdl.org [PATCH] dm: Get rid of struct dm_deferred_io in dm.c From: Joe Thornber Remove struct dm_deferred_io from dm.c. [Christophe Saout] ChangeSet@1.1557.1.61, 2004-02-18 20:52:16-08:00, akpm@osdl.org [PATCH] dm: Move to_bytes() and to_sectors() into dm.h From: Joe Thornber Move to_bytes() and to_sectors() into dm.h ChangeSet@1.1557.1.60, 2004-02-18 20:52:07-08:00, akpm@osdl.org [PATCH] dm: Export dm_vcalloc() From: Joe Thornber Export dm_vcalloc() ChangeSet@1.1557.1.59, 2004-02-18 20:51:58-08:00, akpm@osdl.org [PATCH] md: Allow partitioning of MD devices. From: NeilBrown With this patch, md used two major numbers for arrays. One Major is number 9 with name 'md' have unpartitioned md arrays, one per minor number. The other Major is allocated dynamically with name 'mdp' and had on array for every 64 minors, allowing for upto 63 partitions. The arrays under one major are completely separate from the arrays under the other. The preferred name for devices with the new major are of the form: /dev/md/d1p3 # partion 3 of device 1 - minor 67 When a paritioned md device is assembled, the partitions are not recognised until after the whole-array device is opened again. A future version of mdadm will perform this open so that the need will be transparent. ChangeSet@1.1557.1.58, 2004-02-18 20:51:49-08:00, akpm@osdl.org [PATCH] md: Dynamically limit size of bio requests used for raid1 resync From: NeilBrown Currently raid1 uses PAGE_SIZE read/write requests for resync, as it doesn't know how to honour per-device restrictions. This patch uses to bio_add_page to honour those restrictions and ups the limit on request size to 64K. This has a measurable impact on rebuild speed (25M/s -> 60M/s) ChangeSet@1.1557.1.57, 2004-02-18 20:51:40-08:00, akpm@osdl.org [PATCH] md: Avoid unnecessary bio allocation during raid1 resync From: NeilBrown For each resync request, we allocate a "r1_bio" which has a bio "master_bio" attached that goes largely unused. We also allocate a read_bio which is used. This patch removes the read_bio and just uses the master_bio instead. This fixes a bug wherein bi_bdev of the master_bio wasn't being set, but was being used. We also introduce a new "sectors" field into the r1_bio as we can no-longer rely in master_bio->bi_sectors. ChangeSet@1.1557.1.56, 2004-02-18 20:51:31-08:00, akpm@osdl.org [PATCH] md: Remove some un-needed fields from r1bio_s From: NeilBrown next_r1 is never used, so it can just go. read_bio isn't needed as we can easily use one of the pointers in the write_bios array - write_bios[->read_disk]. So rename "write_bios" to "bios" and store the pointer to the read bio in there. ChangeSet@1.1557.1.55, 2004-02-18 20:51:22-08:00, akpm@osdl.org [PATCH] md: Discard the cmd field from r1_bio structure From: NeilBrown The only time it is really needed is to differentiate a retry-on-fail from a write-after-read-for-resync request to raid1d. So we use a bit in 'state' for that. ChangeSet@1.1557.1.54, 2004-02-18 20:51:13-08:00, akpm@osdl.org [PATCH] md: Split read and write end_request handlers From: NeilBrown Instead of having a single end_request handler that must determine whether it was a read or a write request, we have two separate handlers, which makes each of them easier to follow. ChangeSet@1.1557.1.53, 2004-02-18 20:51:04-08:00, akpm@osdl.org [PATCH] md: Print "deprecated" warning when START_ARRAY is used. From: NeilBrown The "START_ARRAY" ioctl depends on major/minor numbers (as stored in the raid superblock) are stable over reboots, which is increasingly untrue. There are better ways to start an array (e.g. with mdadm) so we mark the ioctl as deprecated for 2.6, and will remove it in 2.7. ChangeSet@1.1557.1.52, 2004-02-18 20:50:55-08:00, akpm@osdl.org [PATCH] kNFSd:fix build problems in nfs w/o proc_fs on 2.6.0-test5 From: NeilBrown From: Stephen Hemminger Date: Fri, 12 Sep 2003 11:31:06 -0700 NFS won't build w/o CONFIG_PROC_FS. Looks like typo's (or a C++ programmer) in stats.h ChangeSet@1.1557.1.51, 2004-02-18 20:50:46-08:00, akpm@osdl.org [PATCH] kNFSd: convert NFS /proc interfaces to seq_file From: NeilBrown From: shemminger@osdl.org Sat Sep 6 09:19:50 2003 Date: Fri, 5 Sep 2003 16:19:30 -0700 Converts /proc/net/rpc/nfs and /proc/net/rpc/nfsd to use the simpler seq_file interface. ChangeSet@1.1557.1.50, 2004-02-18 20:50:37-08:00, akpm@osdl.org [PATCH] kNFSd: ip_map_init does a kmalloc which isn't checked... From: NeilBrown There is no way to return an error from a cache init routine, so instead we make sure to pre-allocate the memory needed, and free it after the lookup if the lookup failed. ChangeSet@1.1557.1.49, 2004-02-18 20:50:28-08:00, akpm@osdl.org [PATCH] kNFSd: Allow sunrpc/svc cache init function to modify the "key" From: NeilBrown When adding a item to a sunrpc/svc cache that contains kmalloced data it is usefully to move the malloced data out of the key object into the new cache object rather than copying (as then we would need to cope with kmalloc failure and such). This means modifying the original. If the kmalloced data forms part of the key, then we must not move the data out until after the key isn't needed any more. So this patch moves the call to "INIT" on a new item (which fills in the key) to *after* the item has been found (or not), and also makes sure we only call the HASH function once. Thanks to "J. Bruce Fields" also 1/ remove unnecessary assignment 2/ fix comments that lag behind implementation. ChangeSet@1.1557.1.48, 2004-02-18 20:50:19-08:00, akpm@osdl.org [PATCH] kNFSd: Fix possible scheduling_while_atomic in cache.c From: NeilBrown We currently call cache_put, which can schedule(), under a spin_lock. This patch moves that call outside the spinlock. ChangeSet@1.1557.1.47, 2004-02-18 20:50:10-08:00, akpm@osdl.org [PATCH] #if versus #ifdef cleanup From: Valdis.Kletnieks@vt.edu 15 changes of #if to #ifdef and 2 places CONFIG_FOO should be defined(CONFIG_FOO). This gets rid of spurious warnings if you build with "-Wundef" so you get a warning if you have a preprocessor command like: #if CONFIG_ETRAX_DS1302_RSTBIT == 27 and you'll be told if it's substituting a zero rather than silent weirdness and unexpected code generation. ChangeSet@1.1557.1.46, 2004-02-18 20:50:01-08:00, akpm@osdl.org [PATCH] MIPS: New 2.6 serial drivers From: Ralf Baechle Three new MIPS-specific serial drivers. ip22.c is derived from the sparc zilog driver; guess we should write a generic Zilog driver somewhen ... ChangeSet@1.1557.1.45, 2004-02-18 20:49:52-08:00, akpm@osdl.org [PATCH] Enable coredumps > 2GB From: Andi Kleen Some x86-64 users were complaining that coredumps >2GB don't work. This will enable large coredump for everybody. Apparently the 32bit gdb/binutils cannot handle them, but I hear the binutils people are working on fixing that. I doubt it will harm people - unreadable coredumps are not worse than no coredump and it won't make any difference in space usage if you get a 1.99GB or a 2.5GB coredump. So just enable it unconditionally. If it should be really a problem for 32bit the rlimit defaults in resource.h could be changed. For file systems that don't support O_LARGEFILE you should just get an truncated coredumps for big address spaces. ChangeSet@1.1557.1.44, 2004-02-18 20:49:43-08:00, akpm@osdl.org [PATCH] devfs: race fixes and cleanup From: Andrey Borzenkov - use struct nameidata in devfs_d_revalidate_wait to detect when it is called without i_sem hold; take i_sem on parent in this case. This prevents both deadlock with devfs_lookup by allowing it to drop i_sem consistently and oops in d_instantiate by ensuring that it always runs protected - remove dead code that deals with major number allocation. The only remaining user was devfs itself and patch changes it to - use register_chardev to get device number for internal /dev/.devfsd and /dev/.statd. - remove dead auto allocation flag as well - remove code that does module get on dev open - it is handled by fops_get. Use init_special_inode consistently - get rid of struct cdev_type and bdev_type - both have just single dev_t now ChangeSet@1.1557.1.43, 2004-02-18 20:49:34-08:00, akpm@osdl.org [PATCH] snprintf fixes From: Juergen Quade Lots of places in the kernel are using [v]snprintf wrongly: they assume it returns the number of characters copied. It doesn't. It returns the number of characters which _would_ have been copied had the buffer not been filled up. So create new functions vscnprintf() and scnprintf() which have the expected (sane) semaptics, and migrate callers over to using them. ChangeSet@1.1557.1.42, 2004-02-18 20:49:23-08:00, akpm@osdl.org [PATCH] bd_set_size i_size handling We need to hold i_sem while running i_size_write(). But that seems like a lot of fuss and deadlock potential. So just write the dang thing. ChangeSet@1.1557.1.41, 2004-02-18 20:49:14-08:00, akpm@osdl.org [PATCH] Mark intermezzo as broken The NGROUPS changes broke it, and we're not sure how to fixit, and nobody appears to be working on or testing intermezzo. ChangeSet@1.1557.1.40, 2004-02-18 20:49:05-08:00, akpm@osdl.org [PATCH] NGROUPS 2.6.2rc2 + fixups From: Tim Hockin , Neil Brown , me New groups infrastructure. task->groups and task->ngroups are replaced by task->group_info. Group)info is a refcounted, dynamic struct with an array of pages. This allows for large numbers of groups. The current limit of 32 groups has been raised to 64k groups. It can be raised more by changing the NGROUPS_MAX constant in limits.h ChangeSet@1.1557.1.39, 2004-02-18 20:48:54-08:00, akpm@osdl.org [PATCH] bonding alias revert and documentation fix From: Rusty Russell Jeff Garzik disliked the bonding driver knowing it was called "bond0". Remove that alias, and revert documentation. ChangeSet@1.1557.1.38, 2004-02-18 20:48:45-08:00, akpm@osdl.org [PATCH] add some more MODULE_ALIASes From: Rusty Russell New MODULE_ALIASes in: 1) arch/i386/kernel/microcode.c 2) drivers/char/genrtc.c 3) drivers/ide/ide-tape.c 4) drivers/net/bonding/bond_main.c 5) drivers/net/bsd_comp.c 6) drivers/net/ppp_deflate.c 7) drivers/net/ppp_generic.c ChangeSet@1.1557.1.37, 2004-02-18 20:48:35-08:00, akpm@osdl.org [PATCH] Documentation: remove /etc/modules.conf refs From: Rusty Russell Someone complained about the number of references to /etc/modules.conf in the documentation. While fixing them up (and examples where changed), removed those which are redundant due to MODULE_ALIAS. ChangeSet@1.1557.1.36, 2004-02-18 20:48:24-08:00, akpm@osdl.org [PATCH] AMD Elan is a different subarch From: Adrian Bunk - AMD Elan is a different subarch, you can't configure a kernel that runs on both the AMD Elan and other i386 CPUs - added optimizing CFLAGS for the AMD Elan ChangeSet@1.1557.1.35, 2004-02-18 20:48:15-08:00, akpm@osdl.org [PATCH] gcc 2.95 supports -march=k6 (no need for check_gcc) From: Adrian Bunk gcc 2.95 supports -march=k6 (no need for check_gcc) ChangeSet@1.1557.1.34, 2004-02-18 20:48:05-08:00, akpm@osdl.org [PATCH] add Pentium M and Pentium-4 M options From: Adrian Bunk add Pentium M and Pentium-4 M options: - add MPENTIUMM (equivalent to PENTIUMIII except for a bigger X86_L1_CACHE_SHIFT) - document that MPENTIUM4 is the right choice for a Pentium-4 M ChangeSet@1.1557.1.33, 2004-02-18 20:47:56-08:00, akpm@osdl.org [PATCH] Limit hashtable sizes From: "Chen, Kenneth W" The issue of exceedingly large hash tables has been discussed on the mailing list a while back, but seems to slip through the cracks. What we found is it's not a problem for x86 (and most other architectures) because __get_free_pages won't be able to get anything beyond order MAX_ORDER-1 (10) which means at most those hash tables are 4MB each (assume 4K page size). However, on ia64, in order to support larger hugeTLB page size, the MAX_ORDER is bumped up to 18, which now means a 2GB upper limits enforced by the page allocator (assume 16K page size). PPC64 is another example that bumps up MAX_ORDER. Last time I checked, the tcp ehash table is taking a whooping (insane!) 2GB on one of our large machine. dentry and inode hash tables also take considerable amount of memory. Setting the size of these tables is difficult: they need to be constrained on many-zone ia64 machines, but this could cause significant performance problems when there are (for example) 100 million dentries in cache. Large-memory machines which do not slice that memory up into huge numbers of zones do not need to run the risk of this slowdown. So the sizing algorithms remain essentially unchanged, and boot-time options are provided which permit the tables to be scaled down. ChangeSet@1.1557.1.32, 2004-02-18 20:47:47-08:00, akpm@osdl.org [PATCH] Use CPU_UP_PREPARE properly From: Rusty Russell The cpu hotplug code actually provides two notifiers: CPU_UP_PREPARE which preceeds the online and can fail, and CPU_ONLINE which can't. Current usage is only done at boot, so this distinction doesn't matter, but it's a bad example to set. This also means that the migration threads do not have to be higher priority than the others, since they are ready to go before any CPU_ONLINE callbacks are done. This patch is experimental but fairly straight foward: I haven't been able to test it since extracting it from the hotplug cpu code, so it's possible I screwed something up. ChangeSet@1.1557.1.31, 2004-02-18 20:47:38-08:00, akpm@osdl.org [PATCH] Remove More Unneccessary CPU Notifiers From: Rusty Russell Three more removed CPU notifiers extracted from the hotplug CPU patch. kernel/softirq.c: the tasklet cpu prepration callback is useless: the vectors are already initialized to NULL. Even with the hotplug CPU patches, they're of little or no use. fs/buffer.c: once again, they are already initialized to zero. mm/page_alloc.c: once again, already initialized to zero. ChangeSet@1.1557.1.30, 2004-02-18 20:47:29-08:00, akpm@osdl.org [PATCH] Minor workqueue.c cleanup From: Rusty Russell Move duplicated code to __queue_work(), and don't set the CPU for queue_delayed_work() until the timer goes off. The second one only has an effect on CONFIG_HOTPLUG_CPU where the CPU goes down and the timer goes off on a different CPU than it was scheduled on. ChangeSet@1.1557.1.29, 2004-02-18 20:47:20-08:00, akpm@osdl.org [PATCH] Remove kstat cpu notifiers From: Rusty Russell Some well-meaning person put a notifier in for CPUs to update the kstat structures in sched.c. However, it does nothing, and even with the full hotplug CPU patch, it still does nothing. Simple counters very rarely need anything done when CPUs come up or go down. If you have per-cpu caches, or per-cpu threads, you need to do something. But very rarely for stats. ChangeSet@1.1557.1.28, 2004-02-18 20:47:11-08:00, akpm@osdl.org [PATCH] kthread primitive From: Rusty Russell These two patches provide the framework for stopping kernel threads to allow hotplug CPU. This one just adds kthread.c and kthread.h, next one uses it. Most importantly, adds a Monty Python quote to the kernel. Details: The hotplug CPU code introduces two major problems: 1) Threads which previously never stopped (migration thread, ksoftirqd, keventd) have to be stopped cleanly as CPUs go offline. 2) Threads which previously never had to be created now have to be created when a CPU goes online. Unfortunately, stopping a thread is fairly baroque, involving memory barriers, a completion and spinning until the task is actually dead (for example, complete_and_exit() must be used if inside a module). There are also three problems in starting a thread: 1) Doing it from a random process context risks environment contamination: better to do it from keventd to guarantee a clean environment, a-la call_usermodehelper. 2) Getting the task struct without races is a hard: see kernel/sched.c migration_call(), kernel/workqueue.c create_workqueue_thread(). 3) There are races in starting a thread for a CPU which is not yet online: migration thread does a complex dance at the moment for a similar reason (there may be no migration thread to migrate us). Place all this logic in some primitives to make life easier: kthread_create() and kthread_stop(). These primitives require no extra data-structures in the caller: they operate on normal "struct task_struct"s. Other changes: - Expose keventd_up(), as keventd and migration threads will use kthread to launch, and kthread normally uses workqueues and must recognize this case. - Kthreads created at boot before "keventd" are spawned directly. However, this means that they don't have all signals blocked, and hence can be killed. The simplest solution is to always explicitly block all signals in the kthread. - Change over the migration threads, the workqueue threads and the ksoftirqd threads to use kthread. - module.c currently spawns threads directly to stop the machine, so a module can be atomically tested for removal. - Unfortunately, this means that the current task is manipulated (which races with set_cpus_allowed, for example), and it can't set its priority artificially high. Using a kernel thread can solve this cleanly, and with kthread_run, it's simple. - kthreads use keventd, so they inherit its cpus_allowed mask. Unset it. All current users set it explicity anyway, but it's nice to fix. - call_usermode_helper uses keventd, so the process created inherits its cpus_allowed mask. Unset it. - Prevent errors in boot when cpus_possible() contains a cpu which is not online (ie. a cpu didn't come up). This doesn't happen on x86, since a boot failure makes that CPU no longer possible (hacky, but it works). - When the cpu fails to come up, some callbacks do kthread_stop(), which doesn't work without keventd (which hasn't started yet). Call it directly, and take care that it restores signal state (note: do_sigaction does a flush on blocked signals, so we don't need to repeat it). ChangeSet@1.1557.1.27, 2004-02-18 20:47:01-08:00, akpm@osdl.org [PATCH] ACPI PM timer From: Dominik Brodowski , John Stultz , Dmitry Torokhov Add the ACPI Powermanagement Timer as x86 kernel timing source. Unlike the Time Stamp Counter, it is a reliable timing source which does not get affected by aggressive powermanagement features like CPU frequency scaling. Some ideas and some code are based on Arjan van de Ven's implementation for 2.4, and on R. Byron Moore's drivers/acpi/hardware/hwtimer.c. We also replace the loop based delay_pmtmr with a TSC based delay_pmtmr, which resolves a number of issues caused by the loop based delay. Unsynced TSCs as well frequency changing TSCs will effect the length of __delay(), but it seems this method works best. ChangeSet@1.1557.1.26, 2004-02-18 20:46:52-08:00, akpm@osdl.org [PATCH] loop: remove redundant initialisation From: "Yury V. Umanets" This removes a redundant assignment in loop. ChangeSet@1.1557.1.25, 2004-02-18 20:46:43-08:00, akpm@osdl.org [PATCH] loop.c doesn't fail init gracefully From: BlaisorBlade loop_init doesn't fail gracefully for two reasons: 1) If initialization of loop driver fails, we have an call to devfs_add("loop") without any devfs_remove; I add that. 2) On lwn.net 2.6 kernel docs, Jonathan Corbet says: "If you are calling add_disk() in your driver initialization routine, you should not fail the initialization process after the first call." So I make loop.c conform to this request by moving add_disk after all memory allocations. ChangeSet@1.1557.1.24, 2004-02-18 20:46:34-08:00, akpm@osdl.org [PATCH] loop: BIO handling fix From: Ben Slusky One more patch --- this fixes a minor bio handling bug in the filebacked code path. I'd fixed it incidentally in the loop-recycle patch. I don't think you could actually see damage from this bug unless you run device mapper on top of loop devices, but still this is the correct behavior. ChangeSet@1.1557.1.23, 2004-02-18 20:46:25-08:00, akpm@osdl.org [PATCH] remove useless highmem bounce from loop/cryptoloop From: Ben Slusky The attached patch changes the loop device transfer functions (including cryptoloop transfers) to accept page/offset pairs instead of virtual addresses, and removes the redundant kmaps in do_lo_send, do_lo_receive, and loop_transfer_bio. Per Andrew Morton's request a while back. ChangeSet@1.1557.1.22, 2004-02-18 20:46:16-08:00, akpm@osdl.org [PATCH] loop: remove the bio remapping capability This patch removes the loop feature wherein we remap BIOs for block-backed loop. So file-backed and block-backed loop are handled identically. It cleans up the code a lot and fixes the low-on-memory lockups which block-backed loop currently suffers. What we lose is the journalling ordering guarantees which exts-on-loop-on-blockdev had. But dm-crypt provides that. ChangeSet@1.1557.1.21, 2004-02-18 20:46:08-08:00, akpm@osdl.org [PATCH] ppc64: iseries IRQ fix From: Stephen Rothwell This patch lets 2.6.3-rc4 build and boot on an PPC64 iSeries box (at least for my configuration). The veth.o bit in the networking Makefile got there by accident and should be removed anyway ... There is more to make it work properly (note the "Temporary hack"), but this gets us closer. ChangeSet@1.1557.1.20, 2004-02-18 20:45:59-08:00, akpm@osdl.org [PATCH] ppc64: fix debugger() warnings From: Anton Blanchard Fix compile warnings and add some type safety to debugger macros. ChangeSet@1.1557.1.19, 2004-02-18 20:45:50-08:00, akpm@osdl.org [PATCH] ppc64: fix saved_command_line/cmd_line lengths From: Anton Blanchard cmd_line was twice the size of saved_command_line but we did a strcpy from the larger into the smaller. Create COMMAND_LINE_SIZE and use it. ChangeSet@1.1557.1.18, 2004-02-18 20:45:41-08:00, akpm@osdl.org [PATCH] ppc64: Fix prom.c warnings arch/ppc64/kernel/prom.c:200: warning: missing braces around initializer arch/ppc64/kernel/prom.c:200: warning: (near initialization for `hmt_thread_data[0]') arch/ppc64/kernel/prom.c: In function `prom_hold_cpus': arch/ppc64/kernel/prom.c:1090: warning: implicit declaration of function `_get_PIR' ChangeSet@1.1557.1.17, 2004-02-18 20:45:32-08:00, akpm@osdl.org [PATCH] msg.h needs list.h msg.h uses list_head. (I'm not sure what config actually required this, but it is legit). ChangeSet@1.1557.1.16, 2004-02-18 20:45:23-08:00, akpm@osdl.org [PATCH] Remove BDEV_RAW and friends These no longer do anything. This patch changes modules API. It was acked by Arjan@RH and Hubert@Suse. ChangeSet@1.1557.1.15, 2004-02-18 20:45:13-08:00, akpm@osdl.org [PATCH] early printk tweaks - Use __pa() around the VGA base address: more friendly for the 4g/4g split. - Use cpu_relax() rather than open-coding rep_nop(). - Default to 9600 baud - Move documentation to Documentation/kernel-parameters.txt - Make CONFIG_EARLY_PRINTK disableable if CONFIG_EMBEDDED ChangeSet@1.1557.1.14, 2004-02-18 20:45:04-08:00, akpm@osdl.org [PATCH] ia32 early printk From: Andi Kleen Implement VGA and serial early printk on x86. We just include the x86_64 version. ChangeSet@1.1557.1.13, 2004-02-18 20:44:55-08:00, akpm@osdl.org [PATCH] Fix for PPP activ/passiv filter From: Karsten Keil I found a bug in the PPPIOCSPASS PPPIOCSACTIVE IOCTL implementation in kernel 2.5/2.6. The current pppd code use a empty filter (uprog.len=0) to detach the filter in the kernel, but this code was removed in 2.5.71 while fixing a compiler warning. Here the new patch, also with better limit checking. The second patch check for flen == 0 in the filter check too, since later in this code a filter[flen - 1] access is done, which is not so funny with flen 0. Maybe it's not really needed anymore, since with the first patch it would not longer called with flen=0. paulus says: It looks correct. Previously we had (and in 2.4 we still have) if (uprog.len > 0 && uprog.len < 65536) { ... which gave warnings since uprog.len is unsigned short. So someone decided that both parts of the condition were redundant. ChangeSet@1.1557.1.12, 2004-02-18 20:44:45-08:00, akpm@osdl.org [PATCH] i4l: hisax deadlock fix From: Karsten Keil This patch fix a deadlock in HiSax (reported from David Woodhouse ). upper layer was called back while holding the card lock fix is to move the wakeup call into BH handler to avoid direct callbacks. ChangeSet@1.1557.1.11, 2004-02-18 20:44:35-08:00, akpm@osdl.org [PATCH] ISDN udpate From: Karsten Keil - new port of 2.4 I4L core to 2.6 - new port of 2.4 I4L HiSax to 2.6 - fixes for I4L CAPI subsystem to make it stable in 2.6 - fix parameter handling of AVM ISA cards (calle) - cleanup ISDN config variables - SMP in act2000 and pcbit driver - remove check_region in act2000 - mark hysdn, isdnloop and divert as BROKEN_ON_SMP ChangeSet@1.1557.67.3, 2004-02-18 23:40:49-05:00, davem@redhat.com [PATCH] qla2xxx: remove flush_cache_all ChangeSet@1.1557.67.2, 2004-02-18 23:37:30-05:00, hch@lst.de [PATCH] remove flush_cache_all() from qla1280 It's not needed with the new DMA API and isn't exported to modules on some architectures. (See davem's qla2xxx patch for reference) ChangeSet@1.1557.40.4, 2004-02-19 02:48:43+00:00, davej@redhat.com [CPUFREQ] Add extra __init markers to longrun driver. Caught by Randy Dunlap. longrun_cpu_init() only gets called during startup, and calls other __init routines. ChangeSet@1.1557.40.3, 2004-02-19 02:46:52+00:00, davej@redhat.com [CPUFREQ] Add extra __init markers to longhaul driver. Caught by Randy Dunlap. longhaul_cpu_init only gets called during startup, and calls other __init routines. ChangeSet@1.1557.67.1, 2004-02-18 20:35:51-05:00, markh@osdl.org [PATCH] add card types to aacraid driver This patch adds support for new RAID cards. Also removes two cards from the list that were never products. Makefile | 2 aacraid.h | 21 +++ linit.c | 32 +++- rkt.c | 416 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ rx.c | 10 - 5 files changed, 465 insertions(+), 16 deletions(-) ChangeSet@1.1557.63.19, 2004-02-18 19:52:03-05:00, akpm@osdl.org [PATCH] tulip printk warning fix Don't assume the size of a dma_addr_t ChangeSet@1.1557.39.15, 2004-02-18 19:38:06-05:00, bcollins@debian.org IEEE1394(r1138): Cleanup nodemgr probe, and fix a bug with the driver update. ChangeSet@1.1557.63.18, 2004-02-18 19:34:42-05:00, romieu@fr.zoreil.com [PATCH] 2.6.3 - drivers/net/sis190.c - Tx desc overflow Tx descriptor overflow - take II. Assume tp->dirty_tx = NUM_TX_DESC/2, tp->cur_tx = NUM_TX_DESC - 1, watch "entry" go beyond NUM_TX_DESC. Actually this is where the same bug in r8169 driver comes from. ChangeSet@1.1557.63.17, 2004-02-18 19:29:38-05:00, rddunlap@osdl.org [PATCH] tr/3c359: handle kmalloc failures during init From: Pablo Menichini and maximilian attems while looking at kj mails from 200212 and 200301 this patch slept through originally from: Pablo Menichini rediffed and compile tested patch applies on plain 2.6.0 maximilian attems handle kmalloc failures during init diff -puN drivers/net/tokenring/3c359.c~tr3c_kmalloc drivers/net/tokenring/3c359.c linux-261-bk4-kj1-rddunlap/drivers/net/tokenring/3c359.c | 13 +++++++++++++ 1 files changed, 13 insertions(+) ChangeSet@1.1557.63.16, 2004-02-18 19:29:31-05:00, brazilnut@us.ibm.com [PATCH] 2.6.3 pcnet32.c transmit hang fix The transmit routine will stop interrupting and hang, causing the tx_timeout routine to attempt to restart the device when the 32-bit cur_tx counter wraps below dirty_tx. If the device had called netif_stop_queue it will never call netif_wake_queue in the interrupt routine (at least on an IA32 system) due to 32-bit wrap around arithmetic. On my IA32 system 'dirty_tx > lp->cur_tx - TX_RING_SIZE + 2' would always evaluate to false when dirty and cur_tx were less than 15, preventing netif_wake_queue to be called. By starting dirty_tx and cur_tx at 0xfffffff0 (to reduce test time) I found that once cur_tx wrapped to zero, that transmitted buffers would never be unmapped or freed because 'while (dirty_tx < lp->cur_tx) {' was not true. cur_tx would keep incrementing (in start_xmit) but dirty_tx would not (in pcnet32_interrupt), thus leaking skb's and pci map entries. On PPC machines, the system would quickly run out of pci maps. Fix tested on PPC and IA32. ChangeSet@1.1557.63.15, 2004-02-18 19:29:24-05:00, rddunlap@osdl.org [PATCH] depca: remove double semi-colon description: remove double semi-colon typo; ChangeSet@1.1557.66.7, 2004-02-18 16:27:29-08:00, davem@nuts.davemloft.net [SELINUX]: Forgot to add these in previous commit. ChangeSet@1.1557.66.6, 2004-02-18 16:23:41-08:00, jmorris@redhat.com [SELINUX]: Event notifications via netlink. ChangeSet@1.1557.63.14, 2004-02-18 19:12:30-05:00, jhf@rivenstone.net [netdrvr sis900] fix multicast bug ChangeSet@1.1557.63.13, 2004-02-18 18:59:35-05:00, shmulik.hen@intel.com [PATCH] Add VLAN support in ALB mode Add capability to tag self generated ARP packets that are required for receive load balancing in bonding. VLAN Id's are saved and used each time a new IP connection is established since 8021q currently supports IP binding. Update module version and comment blocks. ChangeSet@1.1557.63.12, 2004-02-18 18:59:27-05:00, shmulik.hen@intel.com [PATCH] Add VLAN support in TLB mode Add capability to tag self generated learning packets that are required to speed up port selection in the switch after a fail over in bonding since some switches will only update their MAC tables from tagged packets when VLAN support is turned on. All VLAN Id's that have been configured on top of the bond interface will be used in cyclic order. ChangeSet@1.1557.63.11, 2004-02-18 18:59:20-05:00, shmulik.hen@intel.com [PATCH] Add support for HW accel. slaves Now that David Miller accepted the first half of this set into 2.6, I'm resending the last half to you for inclusion in netdev-2.6. Tested against latest netdev-2.6. Summary: Change the bond interface to publish full VLAN hardware acceleration offloading capabilities, and add capability in all xmit functions to take special care for VLAN HW accel. tagged skb's that are going out through a slave that is not offloading capable. Add a mechanism to collect and save the VLAN Id's that have been added on top of a bond interface, and propagate the register/add/kill operations to the slaves. Add blocking mechanism to prevent adding VLAN interfaces on top of a bond that contains VLAN challenged slaves and to prevent adding VLAN challenged slaves to a bond that already has VLAN interfaces on top of it. Add a section about VLAN to Documentation/networking/bonding.txt and also correct some minor spelling/grammer errors. ChangeSet@1.1557.63.10, 2004-02-18 18:49:32-05:00, pe1rxq@amsat.org [PATCH] 6pack reinit bug This patch is the same as to mkiss a while ago, the current code triggers a bug when reattaching a network device. ChangeSet@1.1557.63.9, 2004-02-18 18:49:25-05:00, mlindner@syskonnect.de [PATCH] [kernel 2.6] sk98lin: Insert revision version and date to uniquely identify the files, it's necessary to add the version of each file. Please, don't remove the revision infos. It's really important for us. Patch 2/2 [SK98LIN]: Insert revision version and date [back] into the files ChangeSet@1.1557.63.8, 2004-02-18 18:49:16-05:00, mlindner@syskonnect.de [PATCH] sk98lin: Added Support for Belkin adapter Patch 1/2 [SK98LIN]: Added Support for Belkin adapter [SK98LIN]: Don't handle Yukon2 cards at the moment ChangeSet@1.1557.63.7, 2004-02-18 18:49:09-05:00, brazilnut@us.ibm.com [PATCH] 2.6.3 pcnet32.c SLAB_DEBUG length error fix The pcnet32 driver uses the incorrect length (of zero) in pci_[un]map_single for receive buffers. This is seen with SLAB_DEBUG enabled. Tested in IA32 system. If this patch is not applied after my previous one hunks #1, #3, and #5 will have an offset of -2 lines. ChangeSet@1.1557.63.6, 2004-02-18 18:49:02-05:00, shemminger@osdl.org [PATCH] hp100 pci probe problem Jean discovered problem with my hp100 PCI changes. This should fix the problem... The multi-bus probe logic error handling was botched. He validated it; so please apply ChangeSet@1.1557.63.5, 2004-02-18 18:48:55-05:00, brazilnut@us.ibm.com [PATCH] 2.6.3 pcnet32.c bus master arbitration failure fix Here is the first of several individual patches to 2.6.3 for the pcnet32 driver. The driver did not properly serialize accesses to chip registers, resulting in reading/writing the wrong register. This patch eliminates this problem and gets rid of the cause of the symptom of 'bus master arbitration failure'. It was easier to use generic_mii_ioctl than modify the current pcnet32_ioctl routine with the necessary locks. This has been re-tested on an IA32 system. ChangeSet@1.1557.64.3, 2004-02-18 15:26:52-08:00, johnstul@us.ibm.com [PATCH] ia64: add support for time-interpolation via IBM EXA Cyclone timer This patch provides access to the cyclone time source found on IBM EXA based systems (x450 and x455). This is needed on multi-node systems where the CPU ITCs are not synchronized, causing possible time inconsistencies. This release fixes one last minor think-o and ran overnight without any time inconsistencies (when used in conjunction w/ the time-interpolator-fix_A0 patch). ChangeSet@1.1557.62.9, 2004-02-18 15:25:48-08:00, B.Zolnierkiewicz@elka.pw.edu.pl [PATCH] move CONFIG_HOTPLUG to init/Kconfig As a bonus: cris, h8300, m68k and sparc can use CONFIG_HOTPLUG now. ChangeSet@1.1557.39.14, 2004-02-18 18:24:55-05:00, bcollins@debian.org IEEE1394(r1137): Check to make sure we have a hostinfo in sbp2_host_reset. ChangeSet@1.1557.1.7, 2004-02-18 15:23:41-08:00, torvalds@home.osdl.org Fix up the microcode update on regular 32-bit x86. Our wrmsr() is a bit unforgiving and really doesn't like 64-bit values. We should possibly make wrmsr() automatically truncate the arguments, but regardless we should just fix microcode.c. ChangeSet@1.1557.54.26, 2004-02-18 15:05:21-08:00, stern@rowland.harvard.edu [PATCH] USB: More UHCI root hub code improvements This adds some minor improvements to the UHCI root hub code. The only important change is that it handles the overcurrent indicator bits on VIA controllers properly; they are reported using the opposite sense from Intel controllers. Report the OverCurrent status bits in the /proc debugging file and spontaneously change the use of whitespace. Remove unused variable in uhci_hub_status_data(). Report OverCurrent status for VIA controllers properly (the meaning of the status bit is inverted with respect to Intel controllers). Save the port status I/O address in a variable rather than recalculating it many times. Merge code for handling SetHubFeature and ClearHubFeature since we don't implement either one. Remove some unnecessary comments. Remove redundant min_t calculation. ChangeSet@1.1557.54.25, 2004-02-18 15:05:01-08:00, stern@rowland.harvard.edu [PATCH] USB: Improve UHCI root hub code: descriptor, OC bits, etc. This patch is from David Brownell. UHCI root hub updates ... minor bugfixes and cleanups, improving conformance with the USB hub specification. - UHCI doesn't support any kind of power switching; so modify the hub descriptor to stop claiming it does! Likewise fail attempts to disable power on any port. - Intel defined both overcurrent status overcurrent-change bits, but the current code only knows about one. Modify hub descriptor to report per-port overcurrent protection; and use both bits. - Modify the port status set/clear macros to know about the bits that must always be written as zero, and the write-to-clear bits. Update callers which wrote "set" instead of "clear". - Rewrote code returning port status; magic numbers are gone. - Driver can't really support 8 root hub ports; don't try. Also moves the #define DEBUG earlier so that it can kick in any of the various debug macros ... like pr_debug() and dev_dbg(). ChangeSet@1.1557.62.8, 2004-02-18 13:33:13-08:00, greg@kroah.com PCI: fix pci quirk for P4B533-V, fixes bug 1720 Thanks to stephanrave@gmx.de (Stephan Rave) for the patch. ChangeSet@1.1557.66.5, 2004-02-18 13:18:53-08:00, kaber@trash.net [PKTSCHED]: Use queue limit of 1 when tx_queue_len is zero. ChangeSet@1.1557.54.24, 2004-02-18 13:17:51-08:00, david-b@pacbell.net [PATCH] USB: ehci-hcd, scheduler handles TT collisions (3/3) [USB] ehci-hcd detects microframe transaction scheduling collisions This detects TT schedule collisions for split periodic transactions on USB 2.0 hubs, handling both isochronous and interrupt transfers but not supporting the "wrap around to the next frame" modes for either transfer type. The ISO scheduler is modified to use that support for full speed transfers ... though nothing will yet ask it to do that. It also tracks schedule depth, to help avoid accepting ISO URBs which need more time than currently remains unscheduled. ChangeSet@1.1557.54.23, 2004-02-18 13:17:29-08:00, david-b@pacbell.net [PATCH] USB: ehci-hcd, fullspeed iso data structures (2/3) [USB] ehci, rename some iso data structures Rename some data and functions used by EHCI to manage ISO transactions, since they currently assume only high speed transfers. Much of the same infrastructure will be used for full speed ISO, with split transactions. ChangeSet@1.1557.54.22, 2004-02-18 13:17:05-08:00, david-b@pacbell.net [PATCH] USB: ehci-hcd, fullspeed iso data structures (1/3) [USB] start ehci split transaction support Updates split ISO transaction descriptor structure, add bitmask #defines; it's groundwork for full speed ISO support in EHCI. Updates periodic schedule scanning, and bandwidth calculations accordingly. Fixes bandwidth calculation to behave when the periodic schedule has entries of multiple types ... as will be more common as ISO support starts to be used here. ChangeSet@1.1557.66.4, 2004-02-18 13:16:10-08:00, davem@nuts.davemloft.net [DECNET]: Make second arg to dn_alloc_send_skb a size_t pointer. ChangeSet@1.1557.66.3, 2004-02-18 13:13:22-08:00, davem@nuts.davemloft.net [BLUETOOTH]: Use min_t to avoid warning in rfcomm sock.c ChangeSet@1.1557.54.21, 2004-02-18 13:13:04-08:00, david-b@pacbell.net [PATCH] USB: usbtest, two more protocol cases [USB] usbtest, two more control queueing subtests From Alan Stern. This adds two more "short control read" test cases, both padding the "expected" transfer to end-of-packet. We need both hosts and devices/gadgets to behave correctly here. ChangeSet@1.1557.54.20, 2004-02-18 13:12:46-08:00, david-b@pacbell.net [PATCH] USB: usbcore, avoid RNDIS configs [USB] usbcore avoids RNDIS configuration. Modifies the "choose a configuration" heuristic to recognize the other case that 2.4 handled: RNDIS, a MSFT protocol that's sometimes used as the first/default configuration (as specified by MSFT) on cable modems. CDC Ethernet is vendor-neutral, and preferred (except by MSFT). The initial version didn't catch RNDIS because it cloaks its ethernet links as a kind of CDC ACM (modem) device. ChangeSet@1.1557.54.19, 2004-02-18 13:12:22-08:00, david-b@pacbell.net [PATCH] USB: usbcore, hub driver enables TT-per-port mode [USB] hub driver turns on multi-TT mode This turns on the multi-tt mode in hubs that support it; the Cypress "TetraHub" products are appearing at retail now, complete with some of the first Mini-B connectors I've seen shipping. This will be important for hooking up lots of full speed isochronous devices (audio, video, etc). ChangeSet@1.1557.54.18, 2004-02-18 13:11:47-08:00, david-b@pacbell.net [PATCH] USB: usbcore, scatterlist cleanups [USB] minor usb_sg_wait() cleanups - count urb completions correctly when there's a non-recoverable fault during scatterlist submission ... prevents a hang (seen only with already-faulty usb-storage devices). - don't local_irq_{save,restore}() when not needed ChangeSet@1.1557.66.2, 2004-02-18 13:11:42-08:00, davem@nuts.davemloft.net [APPLETALK]: Use '%Z' for size_t. ChangeSet@1.1557.66.1, 2004-02-18 13:06:55-08:00, wensong@linux-vs.org [IPVS] tidy up the header files to include ChangeSet@1.1557.62.7, 2004-02-18 12:57:30-08:00, johnrose@austin.ibm.com [PATCH] PCI Hotplug : add DLPAR driver for PPC64 PCI Hotplug slots Please consider the following patch for submission. This patch contains the implementation of the I/O Slot DLPAR Drivers for PPC64 RISC Platform Architecture. This module depends on the RPA PCI Hotplug Module in the previous post. The patch is made against kernel version 2.6.3-rc2. The Dynamic Logical Partitioning Module allows the runtime movement of I/O Slots between logical partitions. An administrator can logically add/remove PCI Buses to/from a PPC64 partition at runtime. These operations are initiated using interface files located at: /sys/bus/pci/pci_hotplug_slots/control/ Development contact for this module is John Rose (johnrose@austin.ibm.com). ChangeSet@1.1557.62.6, 2004-02-18 12:53:42-08:00, lxiep@linux.ibm.com [PATCH] PCI Hotplug: Add PPC64 PCI Hotplug Driver for RPA ChangeSet@1.1557.62.5, 2004-02-18 12:02:52-08:00, dlsy@snoqualmie.dp.intel.com [PATCH] PCI Hotplug: Add SHPC and PCI Express hot-plug drivers ChangeSet@1.1557.64.2, 2004-02-18 11:54:48-08:00, pfg@sgi.com [PATCH] ia64: add "platform_data" to struct pci_controller, update SN2 accordingly Here's a small mod for Altix. It breaks up our 'pci fixup' function and has some other smallish clean ups. For the ia64 crowd I've added 'platform_data' to struct pci_controller. ChangeSet@1.1557.64.1, 2004-02-18 11:47:46-08:00, maeda.naoaki@jp.fujitsu.com [PATCH] ia64: fix possible memory leak in PCI alloc_resource() ChangeSet@1.1557.63.4, 2004-02-18 11:44:46-08:00, ak@suse.de [PATCH] Allow P4 oprofile code for x86-64 P4 support was previously ifdefed out for x86-64, remove that. ChangeSet@1.1557.63.3, 2004-02-18 11:44:38-08:00, ak@suse.de [PATCH] Enable Intel AGP on x86-64 Enable the Intel AGP driver for x86-64 too. ChangeSet@1.1557.63.2, 2004-02-18 11:44:30-08:00, ak@suse.de [PATCH] Update i386 microcode driver for x86-64 The microcode driver needs to support 64bit physical addresses too. ChangeSet@1.1557.63.1, 2004-02-18 11:44:21-08:00, ak@suse.de [PATCH] Intel x86-64 support merge This has all the x86-64 specific changes for Intel Prescott/Nocona support. It requires a few minor changes outside arch/x86_64, which I am sending separately. This patch is needed to boot an 64bit kernel on a 64-bit capable Prescott machine. The ugliest part is probably the swiotlb code. In fact the code for that is not even included, but just reused from IA64. swiotlb implements the PCI DMA API using bounce buffering. I don't like this at all, but there was no other way to support non DAC capable hardware (like IDE or USB) on machines with >3GB. Please redirect all flames for that to the Intel chipset designers. ChangeLog: - Add Kconfig options for PSC - Add support to reuse microcode driver from i386 (Suresh B Siddha) - Try to optimize for the selected CPU - Fix early CPUID check for Intel CPUs (Suresh B Siddha) - Fix GDT to use the configured cache line size for padding - Support monitor/mwait idle loop - Support HyperThreading - Support Intel CPUID flags - Remove all 3dnow prefetches - Add alternative() for the prefetchw prefetch inline. - Include P4 driver in oprofile - Support Intel NOPs in alternative ChangeSet@1.1557.62.4, 2004-02-18 11:40:45-08:00, ambx1@neo.rr.com [PATCH] PCI: remove unused defines in pci.h It occured to me that we also have the following related code in pci.h: Perhaps this should be removed as well? ChangeSet@1.1557.62.3, 2004-02-18 11:16:24-08:00, willy@debian.org [PATCH] PCI: Fix pci_bus_find_capability() pci_bus_find_capability() is currently broken. It checks the wrong device's hdr_type for being a cardbus bridge or not. This patch pulls the guts of pci_bus_find_capability() and pci_find_capability() into a new function __pci_bus_find_cap() and changes these two functions to call it. ChangeSet@1.1557.62.2, 2004-02-18 11:16:10-08:00, tlnguyen@snoqualmie.dp.intel.com [PATCH] PCI: add copyright for files msi.c and msi.h First I would like to say sorry for not responding immediately after receiving your email mentioning Copyright. I have contacted Intel Legal for proper text upon receiving this email; but have not received any response. As a result of team discussion, the attached patch, based on Linux kernel 2.6.3-rc2, includes the Intel Copyright for files: msi.h and msi.c. ChangeSet@1.1557.62.1, 2004-02-18 11:15:56-08:00, mgreer@mvista.com [PATCH] PCI: Changing 'GALILEO' to 'MARVELL' I'm working with some Marvell components (formerly Galileo Technologies) and noticed that the entries in include/linux/pci_ids.h have become dated. I have attached a patch that changes 'GALILEO' to 'MARVELL', adds some more devices, and updates the uses of the macros in the code. Please note that the newer marvell parts start with 'MV' instead of 'GT' to represent the new name. Also, I didn't change all uses of galileo to marvell, only the macro in pci_ids.h. ChangeSet@1.1557.1.3, 2004-02-18 08:56:10-08:00, torvalds@home.osdl.org Merge bk://kernel.bkbits.net/davem/net-2.6 into home.osdl.org:/home/torvalds/v2.5/linux ChangeSet@1.1557.61.1, 2004-02-18 00:27:32-08:00, wesolows@foobazco.org [SPARC32] Uninline atomic_t functions to save space. ChangeSet@1.1557.3.94, 2004-02-17 23:01:27-08:00, mbligh@aracnet.com [NET]: Ditch TSO in loopback driver, it's had enough testing. ChangeSet@1.1557.60.2, 2004-02-17 19:52:37-08:00, torvalds@home.osdl.org Linux 2.6.3 TAG: v2.6.3