commit f179bc77d09b9087bfc559d0368bba350342ac76 tree 2b7ba36cb139c33d15b736d95533bd59ac81b500 parent 0109fd37046de64e8459f8c4f4706df9ac7cc82c author Dave Airlie Sun, 10 Jul 2005 12:46:19 +1000 committer Dave Airlie Sun, 10 Jul 2005 12:46:19 +1000 drm: fix stupid missing semicolon. I fixed this in one git tree but that wasn't the one I pushed... Signed-off-by: Dave Airlie commit 0109fd37046de64e8459f8c4f4706df9ac7cc82c tree 18dcdb43cc8c6cd494375f8af919024889d24d87 parent cc14cf46da215a9df1c0a4388763a68769ef9e53 parent 850eb83a6a21b086624b227653ce90ad927ba423 author Linus Torvalds Sat, 09 Jul 2005 09:59:23 -0700 committer Linus Torvalds Sat, 09 Jul 2005 09:59:23 -0700 Merge head 'drm-fixes' of master.kernel.org:/pub/scm/linux/kernel/git/airlied/drm-2.6 commit cc14cf46da215a9df1c0a4388763a68769ef9e53 tree f9add6f7ae53b4155a22fd8afc20c847fda021fb parent 4cda1fd78781c31e2a3d9dd87ee05d39cb76b3f9 parent 8ca7c1df08210fd35fccf1559837c92baaa4da8f author Linus Torvalds Sat, 09 Jul 2005 09:58:47 -0700 committer Linus Torvalds Sat, 09 Jul 2005 09:58:47 -0700 Merge head 'drm-3264' of master.kernel.org:/pub/scm/linux/kernel/git/airlied/drm-2.6 commit 4cda1fd78781c31e2a3d9dd87ee05d39cb76b3f9 tree 25224dcd78101f069244e0b8b2164747678562f2 parent bb6b82381063f54613842decdf948cbfa631842e parent 717cb906bd43a9ac00631d600adda5c6546843a6 author Linus Torvalds Sat, 09 Jul 2005 09:58:01 -0700 committer Linus Torvalds Sat, 09 Jul 2005 09:58:01 -0700 Merge head 'drm-via' of master.kernel.org:/pub/scm/linux/kernel/git/airlied/drm-2.6 commit bb6b82381063f54613842decdf948cbfa631842e tree f2d7c9fd51d838006c49b0a0f36ed5f87d91536e parent 79af02c2538d54ff0dcd3f43646f506207f2ee62 parent a6524813e032fb33bd1de807a98f8453414335e4 author Linus Torvalds Sat, 09 Jul 2005 09:29:09 -0700 committer Linus Torvalds Sat, 09 Jul 2005 09:29:09 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6 commit 79af02c2538d54ff0dcd3f43646f506207f2ee62 tree 0e77872e7ac3da31dd5d77f260a9ae391896869d parent 9c05989bb2264f0fa4fc95f81d2c4e6aa2eaa24d author David S. Miller Fri, 08 Jul 2005 21:47:49 -0700 committer David S. Miller Fri, 08 Jul 2005 21:47:49 -0700 [SCTP]: Use struct list_head for chunk lists, not sk_buff_head. Signed-off-by: David S. Miller commit 9c05989bb2264f0fa4fc95f81d2c4e6aa2eaa24d tree d0da2c6e210b47727097a77eefddfc7c3e2ea13e parent 84b42baef775b0e3415ccece17cf694f50326d01 author David S. Miller Fri, 08 Jul 2005 21:44:39 -0700 committer David S. Miller Fri, 08 Jul 2005 21:44:39 -0700 [IPV6]: Fix warning in ip6_mc_msfilter. Signed-off-by: David S. Miller commit 84b42baef775b0e3415ccece17cf694f50326d01 tree 6a810c38fcd8f02db57482019264089e99db2d31 parent 9951f036fe8a4e6b21962559c64ff13b290ff01a author David L Stevens Fri, 08 Jul 2005 17:48:38 -0700 committer David S. Miller Fri, 08 Jul 2005 17:48:38 -0700 [IPV4]: fix IPv4 leave-group group matching This patch fixes the multicast group matching for IP_DROP_MEMBERSHIP, similar to the IP_ADD_MEMBERSHIP fix in a prior patch. Groups are identifiedby and including the interface address in the match will fail if a leave-group is done by address when the join was done by index, or if different addresses on the same interface are used in the join and leave. Signed-off-by: David L Stevens Signed-off-by: David S. Miller commit 9951f036fe8a4e6b21962559c64ff13b290ff01a tree 3d4d557102bf8d8a96d5276de7183b57c9808711 parent 917f2f105ea4bbba8604e3ed55233eebda7afe6a author David L Stevens Fri, 08 Jul 2005 17:47:28 -0700 committer David S. Miller Fri, 08 Jul 2005 17:47:28 -0700 [IPV4]: (INCLUDE,empty)/leave-group equivalence for full-state MSF APIs & errno fix 1) Adds (INCLUDE, empty)/leave-group equivalence to the full-state multicast source filter APIs (IPv4 and IPv6) 2) Fixes an incorrect errno in the IPv6 leave-group (ENOENT should be EADDRNOTAVAIL) Signed-off-by: David L Stevens Signed-off-by: David S. Miller commit 917f2f105ea4bbba8604e3ed55233eebda7afe6a tree bbab5de7093cec897f617649dd123946b579c4b7 parent 8cdaaa15da58806ac3c75d96c40aef9e31445a25 author David L Stevens Fri, 08 Jul 2005 17:45:16 -0700 committer David S. Miller Fri, 08 Jul 2005 17:45:16 -0700 [IPV4]: multicast API "join" issues 1) In the full-state API when imsf_numsrc == 0 errno should be "0", but returns EADDRNOTAVAIL 2) An illegal filter mode change errno should be EINVAL, but returns EADDRNOTAVAIL 3) Trying to do an any-source option without IP_ADD_MEMBERSHIP errno should be EINVAL, but returns EADDRNOTAVAIL 4) Adds comments for the less obvious error return values Signed-off-by: David L Stevens Signed-off-by: David S. Miller commit 8cdaaa15da58806ac3c75d96c40aef9e31445a25 tree bdeee63b026525963143d3ffe07d93110c25297c parent ca9b907d140a5f249250d19f956129dbbbf84f73 author David L Stevens Fri, 08 Jul 2005 17:39:23 -0700 committer David S. Miller Fri, 08 Jul 2005 17:39:23 -0700 [IPV4]: multicast API "join" issues 1) Changes IP_ADD_SOURCE_MEMBERSHIP and MCAST_JOIN_SOURCE_GROUP to ignore EADDRINUSE errors on a "courtesy join" -- prior membership or not is ok for these. 2) Adds "leave group" equivalence of (INCLUDE, empty) filters in the delta-based API. Without this, mixing delta-based API calls that end in an (INCLUDE, empty) filter would not allow a subsequent regular IP_ADD_MEMBERSHIP. It also frees socket buffer memory that isn't needed for both the multicast group record and source filter. Signed-off-by: David L Stevens Signed-off-by: David S. Miller commit ca9b907d140a5f249250d19f956129dbbbf84f73 tree 48f26110e23634f17d9c73e7a5a7b4239ffcd589 parent 4c866aa798bc6de0a1d45495229e9f13c35b55c2 author David L Stevens Fri, 08 Jul 2005 17:38:07 -0700 committer David S. Miller Fri, 08 Jul 2005 17:38:07 -0700 [IPV4]: multicast API "join" issues This patch corrects a few problems with the IP_ADD_MEMBERSHIP socket option: 1) The existing code makes an attempt at reference counting joins when using the ip_mreqn/imr_ifindex interface. Joining the same group on the same socket is an error, whatever the API. This leads to unexpected results when mixing ip_mreqn by index with ip_mreqn by address, ip_mreq, or other API's. For example, ip_mreq followed by ip_mreqn of the same group will "work" while the same two reversed will not. Fixed to always return EADDRINUSE on a duplicate join and removed the (now unused) reference count in ip_mc_socklist. 2) The group-search list in ip_mc_join_group() is comparing a full ip_mreqn structure and all of it must match for it to find the group. This doesn't correctly match a group that was joined with ip_mreq or ip_mreqn with an address (with or without an index). It also doesn't match groups that are joined by different addresses on the same interface. All of these are the same multicast group, which is identified by group address and interface index. Fixed the check to correctly match groups so we don't get duplicate group entries on the ip_mc_socklist. 3) The old code allocates a multicast address before searching for duplicates requiring it to free in various error cases. This patch moves the allocate until after the search and igmp_max_memberships check, so never a need to allocate, then free an entry. Signed-off-by: David L Stevens Signed-off-by: David S. Miller commit 4c866aa798bc6de0a1d45495229e9f13c35b55c2 tree d648ccbe485a71d37a80b08b4bf09d911d9ec2d3 parent 86a76caf8705e3524e15f343f3c4806939a06dc8 author Alexey Kuznetsov Fri, 08 Jul 2005 17:34:46 -0700 committer David S. Miller Fri, 08 Jul 2005 17:34:46 -0700 [IPV4]: Apply sysctl_icmp_echo_ignore_broadcasts to ICMP_TIMESTAMP as well. This was the full intention of the original code. Signed-off-by: David S. Miller commit a6524813e032fb33bd1de807a98f8453414335e4 tree 4af95ee9310bb7f13de0272b21fec593f9da3b9b parent dcc83a028552ac34538db52d82446d1da6ea8c22 author David S. Miller Fri, 08 Jul 2005 15:21:51 -0700 committer David S. Miller Fri, 08 Jul 2005 15:21:51 -0700 [SPARC64]: Support CONFIG_HZ Signed-off-by: David S. Miller commit 86a76caf8705e3524e15f343f3c4806939a06dc8 tree ac2022a6073b5af228e009178048bdab070d2230 parent b03efcfb2180289718991bb984044ce6c5b7d1b0 author Victor Fusco Fri, 08 Jul 2005 14:57:47 -0700 committer David S. Miller Fri, 08 Jul 2005 14:57:47 -0700 [NET]: Fix sparse warnings From: Victor Fusco Fix the sparse warning "implicit cast to nocast type" Signed-off-by: Victor Fusco Signed-off-by: Domen Puncer Signed-off-by: David S. Miller commit b03efcfb2180289718991bb984044ce6c5b7d1b0 tree f3b0c6c4eaf0991c28b7116a20994b48398eea57 parent a92b7b80579fe68fe229892815c750f6652eb6a9 author David S. Miller Fri, 08 Jul 2005 14:57:23 -0700 committer David S. Miller Fri, 08 Jul 2005 14:57:23 -0700 [NET]: Transform skb_queue_len() binary tests into skb_queue_empty() This is part of the grand scheme to eliminate the qlen member of skb_queue_head, and subsequently remove the 'list' member of sk_buff. Most users of skb_queue_len() want to know if the queue is empty or not, and that's trivially done with skb_queue_empty() which doesn't use the skb_queue_head->qlen member and instead uses the queue list emptyness as the test. Signed-off-by: David S. Miller commit dcc83a028552ac34538db52d82446d1da6ea8c22 tree 155865020de7fe2d5181622b1a5939d5cca97c56 parent a92b7b80579fe68fe229892815c750f6652eb6a9 author David S. Miller Fri, 08 Jul 2005 13:33:10 -0700 committer David S. Miller Fri, 08 Jul 2005 13:33:10 -0700 [SPARC64]: Typo in dtlb_backend.S, _PAGE_SZ4M --> _PAGE_SZ4MB Noticed by Eddie C. Dost Signed-off-by: David S. Miller commit a92b7b80579fe68fe229892815c750f6652eb6a9 tree 7fd73e9f39bf6003cc3188a10426b62d8c47ab40 parent d88854f08961d26f3a63cfae7972188d26a128e4 author Chris Wright Thu, 07 Jul 2005 18:12:23 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:26:37 -0700 [PATCH] Add MAINTAINERS entry for audit subsystem I've been asked about this a couple times, and there's no info in MAINTAINERS file. Add MAINTAINERS entry for audit subsystem. Signed-off-by: Chris Wright Signed-off-by: Linus Torvalds commit d88854f08961d26f3a63cfae7972188d26a128e4 tree 60a7319d8c79898325baaab17b655acaf2ec8040 parent 374a6cf281771b23e263efd31fdc896924394dba author Alasdair G Kergon Thu, 07 Jul 2005 17:59:34 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:24:11 -0700 [PATCH] device-mapper: dm-raid1: Limit bios to size of mirror region Set the target's split_io field when building a dm-mirror device so incoming bios won't span the mirror's internal regions. Without this, regions can be accessed while not holding correct locks and data corruption is possible. Reported-By: "Zhao Qian" From: Kevin Corry Signed-Off-By: Alasdair G Kergon Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 374a6cf281771b23e263efd31fdc896924394dba tree 4532dbb059c538481b87a643eefd440eb3241525 parent 316240f66a64c95e373d52dc401d882d77a594ee author Pavel Machek Thu, 07 Jul 2005 17:59:33 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:24:11 -0700 [PATCH] video doc: one more system where video works with S3 One more system where video works with S3. Signed-off-by: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 316240f66a64c95e373d52dc401d882d77a594ee tree 1d04cba74cd2455bb6b886ed4b85b7bbb73b8544 parent e34ac862ee6644378bfe6ea65c2e0dda4545513d author Hirokazu Takata Thu, 07 Jul 2005 17:59:32 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:24:11 -0700 [PATCH] m32r: framebuffer device support This patch is for supporting Epson s1d13xxx framebuffer device for m32r. # Sorry, a little bigger. The Epson s1d13806 is already supported by 2.6.12 kernel, and its driver is placed as drivers/video/s1d13xxxfb.c. For the m32r, a header file include/asm-m32r/s1d13806.h was prepared for several m32r target platforms. It was originally generated by an Epson tool S1D13806CFG.EXE, and modified manually for the m32r platforms. Signed-off-by: Hayato Fujiwara Signed-off-by: Hirokazu Takata Cc: "Antonino A. Daplas" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e34ac862ee6644378bfe6ea65c2e0dda4545513d tree a538b6b872e3f814c1bc6df461cb64d3b4794fc8 parent 4c4cd222ee329025840bc2f8cebf71d36c62440c author NeilBrown Thu, 07 Jul 2005 17:59:30 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:24:11 -0700 [PATCH] nfsd4: fix fh_expire_type After discussion at the recent NFSv4 bake-a-thon, I realized that my assumption that NFS4_FH_PERSISTENT required filehandles to persist was a misreading of the spec. This also fixes an interoperability problem with the Solaris client. Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4c4cd222ee329025840bc2f8cebf71d36c62440c tree 70d1d8e754e7ab7226a6eee6afeab8b892072600 parent 3a4f98bbf481cb9f755005ac569ceb5303e1b69f author NeilBrown Thu, 07 Jul 2005 17:59:27 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:24:11 -0700 [PATCH] nfsd4: check lock type against openmode. We shouldn't be allowing, e.g., write locks on files not open for read. To enforce this, we add a pointer from the lock stateid back to the open stateid it came from, so that the check will continue to be correct even after the open is upgraded or downgraded. Signed-off-by: Andy Adamson Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3a4f98bbf481cb9f755005ac569ceb5303e1b69f tree a3dfac239801fd5d96222f48a1f2caf59a650826 parent f8816512fcfde986326a2eb0f5a58e463d9904d8 author NeilBrown Thu, 07 Jul 2005 17:59:26 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:24:10 -0700 [PATCH] nfsd4: clean up nfs4_preprocess_seqid_op As long as we're here, do some miscellaneous cleanup. Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f8816512fcfde986326a2eb0f5a58e463d9904d8 tree 3f79b8c23a393c119e0de31294c2843d7bd3b01e parent 52fd004e296ac07cde820af9e3139d47dda03cf8 author NeilBrown Thu, 07 Jul 2005 17:59:25 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:24:10 -0700 [PATCH] nfsd4: clarify close_lru handling The handling of close_lru in preprocess_stateid_op was a source of some confusion here recently. Try to make the logic a little clearer, by renaming find_openstateowner_id to make its purpose clearer and untangling some unnecessarily complicated goto's. Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 52fd004e296ac07cde820af9e3139d47dda03cf8 tree 1ded0ee9f0f3df0a268a09ef6873c8ae2a75cbff parent b700949b781480819e53bdc38a53f053226dd75e author NeilBrown Thu, 07 Jul 2005 17:59:24 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:24:09 -0700 [PATCH] nfsd4: renew lease on seqid modifying operations nfs4_preprocess_seqid_op is called by NFSv4 operations that imply an implicit renewal of the client lease. Signed-off-by: Andy Adamson Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b700949b781480819e53bdc38a53f053226dd75e tree 1e09ac2b3e4c39e7167d4780f21ebaa416a1092a parent 444c2c07c2d7a6936d1381d381ab80e3f5541427 author NeilBrown Thu, 07 Jul 2005 17:59:23 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:24:09 -0700 [PATCH] nfsd4: return better error on io incompatible with open mode from RFC 3530: "Share reservations are established by OPEN operations and by their nature are mandatory in that when the OPEN denies READ or WRITE operations, that denial results in such operations being rejected with error NFS4ERR_LOCKED." (Note that share_denied is really only a legal error for OPEN.) Signed-off-by: Andy Adamson Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 444c2c07c2d7a6936d1381d381ab80e3f5541427 tree b4dc8b6ccc33208b39d01b8505c4a759b6ebdf7b parent e66770cd7b0c36f28a2f6eb0957c0575ac8b3787 author NeilBrown Thu, 07 Jul 2005 17:59:22 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:24:09 -0700 [PATCH] nfsd4: always update stateid on open An OPEN from the same client/open stateowner requires a stateid update because of the share/deny access update. Signed-off-by: Andy Adamson Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e66770cd7b0c36f28a2f6eb0957c0575ac8b3787 tree ee5bcf1ac04eac19c72fad96863bc7b0327a3f47 parent 7fb64cee34f5dc743f697041717cafda8a94b5ac author NeilBrown Thu, 07 Jul 2005 17:59:21 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:24:09 -0700 [PATCH] nfsd4: relax new lock seqid check We're insisting that the lock sequence id field passed in the open_to_lockowner struct always be zero. This is probably thanks to the sentence in rfc3530: "The first request issued for any given lock_owner is issued with a sequence number of zero." But there doesn't seem to be any problem with allowing initial sequence numbers other than zero. And currently this is causing lock reclaims from the Linux client to fail. In the spirit of "be liberal in what you accept, conservative in what you send", we'll relax the check (and patch the Linux client as well). Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7fb64cee34f5dc743f697041717cafda8a94b5ac tree 5b4e7b67cff7d64a46024036d0033f0d3e05b857 parent bd9aac523b812d58e644fde5e59f5697fb9e3822 author NeilBrown Thu, 07 Jul 2005 17:59:20 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:24:09 -0700 [PATCH] nfsd4: seqid comments Add some comments on the use of so_seqid, in an attempt to avoid some of the confusion outlined in the previous patch.... Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bd9aac523b812d58e644fde5e59f5697fb9e3822 tree a3adb8ac833a8e776cca8df91e96f85aa28e81c6 parent 893f87701c9e5bd5610dfbb3f8bf1135f86d85cb author NeilBrown Thu, 07 Jul 2005 17:59:19 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:24:09 -0700 [PATCH] nfsd4: fix open_reclaim seqid The sequence number we store in the sequence id is the last one we received from the client. So on the next operation we'll check that the client gives us the next higher number. We increment sequence id's at the last moment, in encode, so that we're sure of knowing the right error return. (The decision to increment the sequence id depends on the exact error returned.) However on the *first* use of a sequence number, if we set the sequence number to the one received from the client and then let the increment happen on encode, we'll be left with a sequence number one to high. For that reason, ENCODE_SEQID_OP_TAIL only increments the sequence id on *confirmed* stateowners. This creates a problem for open reclaims, which are confirmed on first use. Therefore the open reclaim code, as a special exception, *decrements* the sequence id, cancelling out the undesired increment on encode. But this prevents the sequence id from ever being incremented in the case where multiple reclaims are sent with the same openowner. Yuch! We could add another exception to the open reclaim code, decrementing the sequence id only if this is the first use of the open owner. But it's simpler by far to modify the meaning of the op_seqid field: instead of representing the previous value sent by the client, we take op_seqid, after encoding, to represent the *next* sequence id that we expect from the client. This eliminates the need for special-case handling of the first use of a stateowner. Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 893f87701c9e5bd5610dfbb3f8bf1135f86d85cb tree ee2de8fd627624cedc0c0e7067dd4892e160db67 parent 375151773125f56b7f6d798d914ea469256b330b author NeilBrown Thu, 07 Jul 2005 17:59:17 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:24:08 -0700 [PATCH] nfsd4: comment indentation Yeah, it's trivial, but this drives me up the wall.... Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 375151773125f56b7f6d798d914ea469256b330b tree 2bc6c0d8d2a075b9daa2aa7dca440f572c566629 parent 0dd395dc76071a06eea39839cc946c1241af3650 author NeilBrown Thu, 07 Jul 2005 17:59:16 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:24:08 -0700 [PATCH] nfsd4: stop overusing RECLAIM_BAD A misreading of the spec lead us to convert all errors on open and lock reclaims to RECLAIM_BAD. This causes problems--for example, a reboot within the grace period could lead to reclaims with stale stateid's, and we'd like to return STALE errors in those cases. What rfc3530 actually says about RECLAIM_BAD: "The reclaim provided by the client does not match any of the server's state consistency checks and is bad." I'm assuming that "state consistency checks" refers to checks for consistency with the state recorded to stable storage, and that the error should be reserved for that case. Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0dd395dc76071a06eea39839cc946c1241af3650 tree f4b9b8b013dfebcba296f1f8145f8535521db3ae parent b648330a1d741d5df8a5076b2a0a2519c69c8f41 author NeilBrown Thu, 07 Jul 2005 17:59:15 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:24:08 -0700 [PATCH] nfsd4: ERR_GRACE should bump seqid on lock A GRACE or NOGRACE response to a lock request should also bump the sequence id. So we delay the handling of grace period errors till after we've found the relevant owner. Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b648330a1d741d5df8a5076b2a0a2519c69c8f41 tree aa53fc54675d3c7b51aa8f86f5f8929acd0f85a3 parent 0fa822e452084032b8495ca0d8e0199329847815 author NeilBrown Thu, 07 Jul 2005 17:59:15 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:24:08 -0700 [PATCH] nfsd4: ERR_GRACE should bump seqid on open The GRACE and NOGRACE errors should bump the sequence id on open. So we delay the handling of these errors until nfsd4_process_open2, at which point we've set the open owner, so the encode routine will be able to bump the sequence id. Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0fa822e452084032b8495ca0d8e0199329847815 tree 5be25dc1f1222d2998a9754e5b5e26d516601b9d parent 67be431350941765e211eeed237c12def3aaba70 author NeilBrown Thu, 07 Jul 2005 17:59:14 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:24:08 -0700 [PATCH] nfsd4: fix release_lockowner We oops in list_for_each_entry(), because release_stateowner frees something on the list we're traversing. Signed-off-by: Andy Adamson Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 67be431350941765e211eeed237c12def3aaba70 tree 58683397c9ab328f721d55b0d95f25e57dbcbda8 parent cdc5524e8a257b1c91dd8e4cdfbab979f4e17a60 author NeilBrown Thu, 07 Jul 2005 17:59:13 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:24:08 -0700 [PATCH] nfsd4: prevent multiple unlinks of recovery directories Make sure we don't try to delete client recovery directories multiple times; fixes some spurious error messages. Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cdc5524e8a257b1c91dd8e4cdfbab979f4e17a60 tree 8db1b2c1ac28d1525f7e953e1ac5de8616da4663 parent a6ccbbb8865101d83c2e716f08feae1da1c48584 author NeilBrown Thu, 07 Jul 2005 17:59:12 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:24:07 -0700 [PATCH] nfsd4: lookup_one_len takes i_sem Oops, this lookup_one_len needs the i_sem. Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a6ccbbb8865101d83c2e716f08feae1da1c48584 tree 0b55b0673704dcae39d614cb1495cf47590628fb parent 463090294e1e460cf97f5ade376d4b1e62bc5263 author NeilBrown Thu, 07 Jul 2005 17:59:11 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:24:07 -0700 [PATCH] nfsd4: fix sync'ing of recovery directory We need to fsync the recovery directory after writing to it, but we weren't doing this correctly. (For example, we weren't taking the i_sem when calling ->fsync().) Just reuse the existing nfsd fsync code instead. Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 463090294e1e460cf97f5ade376d4b1e62bc5263 tree eaf3f7b7c0bbc7c16aa39c77252da436bf62df06 parent 89b39f5d8d701ddd93546b3d8edbefa5d568529d author NeilBrown Thu, 07 Jul 2005 17:59:10 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:24:07 -0700 [PATCH] nfsd4: reboot recovery fix We need to remove the recovery directory here too. (This chunk just got lost somehow in the process of commuting the reboot recovery patches past the other patches.) Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 89b39f5d8d701ddd93546b3d8edbefa5d568529d tree bdb87ecd1d0b659f8e6c54486f2ec9c71ba0cf31 parent 5bc6b68a103a6f4055890b5127ddca3a322751b0 author Dominik Brodowski Thu, 07 Jul 2005 17:59:09 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:24:07 -0700 [PATCH] yenta: don't depend on CardBus As a follow-up, we can allow the yenta-driver to be limited to PCMCIA operation. Signed-off-by: Dominik Brodowski Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5bc6b68a103a6f4055890b5127ddca3a322751b0 tree 57195b4d7c6f0f97b111605f8eef6dccda83e0b8 parent 4230dfc9c3f708f4765736b862aa313aa97e3c2e author Russell King Thu, 07 Jul 2005 17:59:07 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:24:07 -0700 [PATCH] yenta: no CardBus if IRQ fails If probing for the correct interrupt fails on yenta bridges, the driver falls back to polling for interrupt actions. However, CardBus cards cannot be used then. Signed-off-by: Russell King Signed-off-by: Dominik Brodowski Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4230dfc9c3f708f4765736b862aa313aa97e3c2e tree 254595f9aec72225496a29b5e37870eb439d6b37 parent 44670d2b50efd2443c3810239d6ea3fd02f8ef64 author Dominik Brodowski Thu, 07 Jul 2005 17:59:06 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:24:07 -0700 [PATCH] pcmcia: update MAINTAINERS entry PCMCIA/CardBus is handled by a team of developers at the specified mailing list. Additional developers wanting to help are most welcome. Signed-off-by: Dominik Brodowski Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 44670d2b50efd2443c3810239d6ea3fd02f8ef64 tree a32aa41a9dd5eb33e657f94f823d44948f5be9c2 parent 2ffe6e280f792790c39f241e7e3c5d2ef8da1b94 author Dominik Brodowski Thu, 07 Jul 2005 17:59:05 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:24:07 -0700 [PATCH] pcmcia: remove references to pcmcia/version.h As a follow-up, remove the inclusion of pcmcia/version.h in many files. Signed-off-by: Dominik Brodowski Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2ffe6e280f792790c39f241e7e3c5d2ef8da1b94 tree 5dc7ebece2a4742399717b6745e575852dc5243c parent a00db1ba7c33619cbd7c3153e4746d15881c0383 author Pavel Roskin Thu, 07 Jul 2005 17:59:04 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:24:06 -0700 [PATCH] pcmcia: remove client services version (fix) One correction is needed. Changes are not needed for drivers/scsi/pcmcia/nsp_cs.c because it uses versioning in the compatibility part, which is never used in 2.6 kernels. The only right thing we could to that compatibility code would be to remove it throughout the file, but that would be a separate patch. Cc: Dominik Brodowski Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a00db1ba7c33619cbd7c3153e4746d15881c0383 tree 5cb3bbbd8b9fd03947c75b7bdfede1db27c9d6b6 parent 2bc5a9bdc56fac6f7cbf95b89443e3809141c247 author Pavel Roskin Thu, 07 Jul 2005 17:59:03 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:24:06 -0700 [PATCH] pcmcia: remove client services version The Linux PCMCIA code has some data that was apparently used (or meant to be used) to ensure that only proper client drivers are loaded. This is now ensured (to a certain degree) by the fact that the most client drivers are part of the kernel. Also, the version information has not been updated despite major changes in PCMCIA API. This has made it meaningless. This patch removes servinfo_t and pcmcia_get_card_services_info. They are not used in any userspace utilities such as pcmcia-cs and pcmciautils. drivers/pcmcia/pcmcia_ioctl.c is adjusted accordingly. CS_RELEASE and CS_RELEASE_CODE are removed. include/pcmcia/version.h is empty now. It will be removed later, but for now it's left in the tree to avoid touching all PCMCIA clients. The only driver that needs to be changed is drivers/scsi/pcmcia/nsp_cs.c, which uses CS_RELEASE_CODE. Signed-off-by: Pavel Roskin Signed-off-by: Dominik Brodowski Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2bc5a9bdc56fac6f7cbf95b89443e3809141c247 tree b9cc15e994df40ca5f1e9748f2bb32e9e292c5d7 parent e12a9a93a8417c4f2aa46ce8346c2d27e656b9a2 author Dominik Brodowski Thu, 07 Jul 2005 17:59:02 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:24:06 -0700 [PATCH] pcmcia: reduce client_handle_t usage Reduce the occurences of "client_handle_t" which is nothing else than a pointer to struct pcmcia_device by now. Signed-off-by: Dominik Brodowski Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e12a9a93a8417c4f2aa46ce8346c2d27e656b9a2 tree ca4295237f29c54901c199b322e504f89a45c902 parent 1e212f3645a6b355de8c43a23376bc0e2ac49a63 author Dominik Brodowski Thu, 07 Jul 2005 17:59:01 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:24:06 -0700 [PATCH] pcmcia: remove client_t usage Reduce the occurences of "client_handle_t" which is nothing else than a pointer to struct pcmcia_device by now. Signed-off-by: Dominik Brodowski Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1e212f3645a6b355de8c43a23376bc0e2ac49a63 tree 89324df417c19a1a63efb2ec6630e7d4b47181a0 parent bf45d9b0ac108b11245203ebb082d30f5059846b author Dominik Brodowski Thu, 07 Jul 2005 17:59:00 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:24:05 -0700 [PATCH] pcmcia: move event handler Move the "event handler" to struct pcmcia_driver -- the unified event handler will disappear really soon, but switching it to struct pcmcia_driver in the meantime allows for better "step-by-step" patches. Signed-off-by: Dominik Brodowski Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bf45d9b0ac108b11245203ebb082d30f5059846b tree 786c8812418142f6f05f42045bb0ebbe95d0bc52 parent 69a4d56bae492b1a5e74459d9d771d9bc7f9320f author Dominik Brodowski Thu, 07 Jul 2005 17:58:58 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:24:04 -0700 [PATCH] pcmcia: deprecate ioctl Schedule removal of the PCMCIA ioctl (and thus kernel support for the pcmcia-cs userspace package) for November 2005. A big "thank you" to Dave Hinds for his great work on supporting PCMCIA in Linux. Things are just done differently by now, so the ongoing work to make PCMCIA behave like any other hotpluggable bus should continue. Signed-off-by: Dominik Brodowski Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 69a4d56bae492b1a5e74459d9d771d9bc7f9320f tree 62a8531c160d56b3761034cb9803bf2fbd1c1392 parent 08d805258f69bff5ba8268a969f140ef1f105c71 author Ian Campbell Thu, 07 Jul 2005 17:58:52 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:24:04 -0700 [PATCH] pcmcia: fix i82365 request_region double usage http://www.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=f354942cb301fed273f423fb5c4f57bde3efc5b2 converted the check_region() calls in drivers/pcmcia/i82365.c into request_regions. Unfortunately this seems to have broken things. isa_probe() used to call check_region() and then call add_pcic() which would request_region(). Now isa_probe() calls request_region() and then calls add_pcic() which calls request_region() again, this fails and add_pcic() returns immediately without doing all the setup etc. On the face of it the patch below fixes the problem, by not doing the second request region in add_pcic(). I think this is preferable to remove the call in isa_probe() since identify() touches the I/O regions and is called before add_pcic(). However I haven't fully grokked the meaning of the code which follows the request_region() in isa_probe(), so I'm not sure that the handling WRT multiple sockets and multiple bridge chips is correct. In particular I'm not convinced that the regions for subsequent sockets and/or bridges will be requested at all. I suspect a more thorough reworking by someone who understands what is going on there might be in order. I should mention that I'm actually messing about with this on an ARM platform with wacky memory and i/o mapping offsets etc, it doesn't quite work yet for other reasons which preclude full testing etc, but I think the problem above is still present for more normal x86 stuff. Signed-off-by: Ian Campbell Signed-off-by: Dominik Brodowski Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 08d805258f69bff5ba8268a969f140ef1f105c71 tree 489c26e578ad005f0c3f3842f9e9dc3dd117b0b5 parent 0d723c09f03e0b2cb4405c361c927efac373fe0c author Michael Krufky Thu, 07 Jul 2005 17:58:43 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:24:04 -0700 [PATCH] v4l: LGDT3302 read status fix - Fix bug in lgdt3302_read_status to return correct FE_HAS_SIGNAL and FS_HAS_CARRIER status. - Removed #if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,10). Signed-off-by: Mac Michaels Signed-off-by: Michael Krufky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0d723c09f03e0b2cb4405c361c927efac373fe0c tree dd20f1a03ed24cca02de553137cc3a4ca69f194f parent e057ee11efb84e559c55e98d33acb341fe68fda1 author Michael Krufky Thu, 07 Jul 2005 17:58:42 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:24:04 -0700 [PATCH] v4l: add DVB support for DViCO FusionHDTV3 Gold-T - Correct sync byte for MPEG-2 transport stream packets. - Add lgdt3302 as dependency of cx88-dvb in Kconfig. - Add dvb support in v4l for DViCO FusionHDTV3 Gold-T using lgdt3302 frontend. This adds support for a different board from the previous (Gold-Q) patch. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e057ee11efb84e559c55e98d33acb341fe68fda1 tree 0ddcaf6adebc6082acd2cdde4e672741a1a60617 parent f1798495592c1bcd7871abdc1ef2985d65c34224 author Michael Krufky Thu, 07 Jul 2005 17:58:40 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:24:04 -0700 [PATCH] v4l: add TerraTec Cinergy 1400 DVB-T Add support for TerraTec Cinergy 1400 DVB-T. Signed-off-by: Uli Luckas Signed-off-by: Michael Krufky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f1798495592c1bcd7871abdc1ef2985d65c34224 tree 3496ce6e2c6318fbd09b5d9cbfcb51e2ebd87cfa parent 9ac4c158b0090462bc356b934024cf0c5d7c8526 author Michael Krufky Thu, 07 Jul 2005 17:58:39 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:24:04 -0700 [PATCH] v4l: add DVB support for DViCO FusionHDTV3 Gold-Q Add dvb support in v4l for DViCO FusionHDTV3 Gold-Q using lgdt3302 frontend. Signed-off-by: Mac Michaels Signed-off-by: Michael Krufky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9ac4c158b0090462bc356b934024cf0c5d7c8526 tree 2a398384b922a0c4c60ff76e3cbe066e4b5f576f parent a82decf64d34e79a0cc622997866c754350f18f8 author Michael Krufky Thu, 07 Jul 2005 17:58:38 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:24:03 -0700 [PATCH] v4l: cx88 hue offset fix Changed hue offset to 128 to correct behavior in cx88 cards. Previously, setting 0% or 100% hue was required to avoid blue/green people on screen. Now, 50% Hue means no offset, just like bt878 stuff. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a82decf64d34e79a0cc622997866c754350f18f8 tree 7841c828bdd03cc476067bf1f9b192613f111ae0 parent a2f552f5edc13e18b75f11fb1b08bbcad67fd362 author Mauro Carvalho Chehab Thu, 07 Jul 2005 17:58:36 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:24:03 -0700 [PATCH] v4l: cx88 update - Add support for ADS Tech Instant TV DVB-T PCI. - Remove obsoleted config options. - Fix DViCO Board names - Remove CABLE type setting from DViCO FusionHDTV3 Gold-T. - Fix compilation with gcc4.0. - V4L2_TUNER_CAP_LOW implemented according with V4L2 API for Radio. - radio range is now defined on tuner-core.c. Cleaning up. - Fix a bug on frequency report for cx88 based cards. - Added support for changing radio mode stereo/mono. - Add remove for MSI TV@nywhere. Signed-off-by: Jorik Jonker . Signed-off-by: Didier Caillaud Signed-off-by: Benoit Laniel . Signed-off-by: Nickolay V Shmyrev Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a2f552f5edc13e18b75f11fb1b08bbcad67fd362 tree 8f1c960eebd5e99e745de2cc929cce4de111a660 parent 3352e432d5705aaa9b58d8d97b1ccc81eb4bc0fd author Uwe Bugla Thu, 07 Jul 2005 17:58:35 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:24:03 -0700 [PATCH] fix for Documentation/dvb/bt8xx.txt?= * /usr/src/linux-2.6.12/Documentation/dvb/bt8xx.txt almost completely remade the text file with the following focuses: useful infos for beginners: how to load modules manually and automatically developers infos are reduced to a minimum as module loading works automatic in kernel >= 2.6.12 by loading modules bttv and dvb-bt8xx I completely erased the out of date TwinHan part dealing with additional parameters, debug parameters, and overriding autodetection Further up to date information about TwinHan + clones can be found in /Documentation/dvb/ci.txt Signed-off-by: Uwe Bugla Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3352e432d5705aaa9b58d8d97b1ccc81eb4bc0fd tree 37d15be1740b7b0585c676dd18f16469f6dc0f41 parent d590f9c20e15620ba708e5bd71d345bf1b7b0d73 author Patrick Boettcher Thu, 07 Jul 2005 17:58:34 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:24:03 -0700 [PATCH] dvb: usb: README update Updated the readme file to point to the DVB USB wikipage to find out which firmware necessary, + minor updates. Signed-off-by: Patrick Boettcher Signed-off-by: Johannes Stezenbach Cc: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d590f9c20e15620ba708e5bd71d345bf1b7b0d73 tree 938e37de3c945d3fb035f487a802ae574aa599a8 parent 4b2bd30eb79c292a83b1dfd3cca6d435c02fd5c0 author Patrick Boettcher Thu, 07 Jul 2005 17:58:33 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:24:03 -0700 [PATCH] dvb: usb: add supprt for WideView WT-220U Add support and rewrote some parts with the help of vendor information (Thanks to Steve Chang from WideView, Inc.): o added support for the WT-220U (Pensize DVB-T receiver) o corrected byte order for unc,ber and the pid filter o corrected number of pids that can be fetched at the same time. o added some comments in Kconfig-file o added USB IDs for the WT-220U Signed-off-by: Patrick Boettcher Signed-off-by: Johannes Stezenbach Cc: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4b2bd30eb79c292a83b1dfd3cca6d435c02fd5c0 tree abe95ba46576055c913eac5da10109a159454656 parent 63b5c1c47fd6c5ae26d279756e8a050c721ea379 author Steffen Motzer Thu, 07 Jul 2005 17:58:31 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:24:03 -0700 [PATCH] dvb: dst: fix tuning problem Fix tuning failure for 200103A, 200103A failed to tune to low band due to wrong tone setting on the 200103A. Signed-off-by: Steffen Motzer Signed-off-by: Manu Abraham Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 63b5c1c47fd6c5ae26d279756e8a050c721ea379 tree 47dca835f850785ac9d2a2caef9fe7d1eea990c3 parent d8667cbbe440aacb246832afc217a6a44664115c author Patrick Boettcher Thu, 07 Jul 2005 17:58:30 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:24:02 -0700 [PATCH] dvb: usb/pci: correct syntax of driver name fields Change the name-field of the pci_driver and usb_driver structs to the name of the module after compilation. It seems that this field is used in some places where special characters are not allowed. Thanks to Alan Halverson for finding this problem. Signed-off-by: Patrick Boettcher Signed-off-by: Johannes Stezenbach Cc: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d8667cbbe440aacb246832afc217a6a44664115c tree 29c68e5317355c398c0de99d5d665fa653384cef parent 25de192660627e1e8dc8ee6a120ff8b54d108593 author Mac Michaels Thu, 07 Jul 2005 17:58:29 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:24:02 -0700 [PATCH] dvb: frontend: add driver for LGDT3302 Add support for LGDT3302 (ATSC VSB/QAM) used in DViCO FusionHDTV3 Gold. Signed-off-by: Mac Michaels Signed-off-by: Michael Krufky Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 25de192660627e1e8dc8ee6a120ff8b54d108593 tree 45e15b799e09f6b5fe478082303a8c276529edc1 parent e161f817bebecc1c1cc461dc83cce2eafbed9ee9 author Oliver Endriss Thu, 07 Jul 2005 17:58:28 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:24:02 -0700 [PATCH] dvb: ttpci: fix timeout handling to be save with PREEMPT Timeout handling fixed, especially for preemtible kernels and/or high system load. Signed-off-by: Oliver Endriss Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e161f817bebecc1c1cc461dc83cce2eafbed9ee9 tree 315d52418f129836bb655aa8c8cf9955c536dfd8 parent 58769a5486bec8ed44b3b51029f8df8f13cddd5a author Patrick Boettcher Thu, 07 Jul 2005 17:58:27 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:24:02 -0700 [PATCH] dvb: usb: dont use HZ for timeouts Don't use HZ for usb-transfer-timeouts. Signed-off-by: Patrick Boettcher Signed-off-by: Johannes Stezenbach Cc: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 58769a5486bec8ed44b3b51029f8df8f13cddd5a tree 442ef9e0e2249612cae437a11833adf51157b120 parent 1df896aa239caf72483655290c40b21da536d85e author Andrew Hodgson Thu, 07 Jul 2005 17:58:26 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:24:02 -0700 [PATCH] dvb: usb: A800 rc and timeout fixes o add some remote control codes o not using HZ for control_msg-timeout Signed-off-by: Andrew Hodgson Signed-off-by: Patrick Boettcher Signed-off-by: Johannes Stezenbach Cc: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1df896aa239caf72483655290c40b21da536d85e tree 70c79db97537149646538339c442a913f41fd14f parent 04f3e5ea51248ff974a13ef2dd0145125c76204c author Patrick Boettcher Thu, 07 Jul 2005 17:58:24 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:24:02 -0700 [PATCH] dvb: usb: IR input fixes o fixed usage of the correct number of events in keymapping-array o better place for return Signed-off-by: Patrick Boettcher Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 04f3e5ea51248ff974a13ef2dd0145125c76204c tree 91f5201d700b3fc8fb0e248b5aec67f0544d5453 parent fb41f5a725d052d7542e0e966e5799b95c2648c8 author Michael Paxton Thu, 07 Jul 2005 17:58:24 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:24:01 -0700 [PATCH] dvb: usb: vp7045 IR map fix Correct two keys of the vp7045 remote control key mapping. Signed-off-by: Michael Paxton Signed-off-by: Patrick Boettcher Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fb41f5a725d052d7542e0e966e5799b95c2648c8 tree 3ef60bdd6bf25aa61535460a54699d136c71a468 parent 2d188c68a04d89d9351c3130226d0e8af9439dda author Patrick Boettcher Thu, 07 Jul 2005 17:58:23 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:24:01 -0700 [PATCH] dvb: usb: fix WideView USB ids o Steve Chang reported the real name behind 0x14aa: WideView, changed USB IDs accordingly. o fixed an assignment Signed-off-by: Patrick Boettcher Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2d188c68a04d89d9351c3130226d0e8af9439dda tree 82b5eb6d3a34e16a5e73826219042c61f7b8a02e parent d72fa1c91d721bf4c68a18f2d8fed820a8f1611e author Patrick Boettcher Thu, 07 Jul 2005 17:58:21 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:24:01 -0700 [PATCH] dvb: usb: add vp7045 IR keymap Add keymap for Twinhan vp7045 remote control. Signed-off-by: Michael Paxton Signed-off-by: Patrick Boettcher Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d72fa1c91d721bf4c68a18f2d8fed820a8f1611e tree 92e2648efabcfe488e25bd54e2ea8aa3bf130ca5 parent 82ff896c969a099888e4a131b829f1c8d6aecbba author Patrick Boettcher Thu, 07 Jul 2005 17:58:20 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:24:01 -0700 [PATCH] dvb: usb Kconfig help text update o corrected some typos o added the Wikilink pointing to the USB device list Signed-off-by: Patrick Boettcher Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 82ff896c969a099888e4a131b829f1c8d6aecbba tree c7b34c63e1dc017749e527eb0f49d5b972c6ba76 parent 97432808ee367e15485e55c734ba04ca290a306d author Patrick Boettcher Thu, 07 Jul 2005 17:58:17 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:24:01 -0700 [PATCH] dvb: usb doc update o removed device listing (they are all in the linuxtv wiki now) o misc updates Signed-off-by: Patrick Boettcher Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 97432808ee367e15485e55c734ba04ca290a306d tree 037dd3445d14e344e2f8c5f6b9ba2cacb151b911 parent 2f7f96b95991bcbe52dee5aa50a19130873738bf author Patrick Boettcher Thu, 07 Jul 2005 17:58:17 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:24:01 -0700 [PATCH] dvb: usb: digitv memcpy fix Fix memcpy copying into the wrong destination. Thanks to Allan Third for reporting. Signed-off-by: Patrick Boettcher Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2f7f96b95991bcbe52dee5aa50a19130873738bf tree 749bfd2cf42d867cfe35eab94de6e5848c71e851 parent 8257e8a444a2b81952de9f8bfeb3a4726c0f7d5b author Patrick Boettcher Thu, 07 Jul 2005 17:58:16 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:24:00 -0700 [PATCH] dvb: usb: add VideoWalker DVB-T USB ids Add another USB ID pair for the VideoWalker USB DVB-T. Signed-off-by: Patrick Boettcher Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8257e8a444a2b81952de9f8bfeb3a4726c0f7d5b tree 797b8b1937cd417043a88f77fb701a7c83516468 parent c251ef6167c46152e247fc41628a4ac2d0aca33e author Patrick Boettcher Thu, 07 Jul 2005 17:58:15 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:24:00 -0700 [PATCH] dvb: usb: cxusb DVB-T fixes cxusb DVB-T fixes. Signed-off-by: Patrick Boettcher Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c251ef6167c46152e247fc41628a4ac2d0aca33e tree de5dd85294ded63b3718b9eafc21758e2e7d2642 parent 78c6e73f5a27f01e45e86a4e3d13863c9cce6374 author Patrick Boettcher Thu, 07 Jul 2005 17:58:14 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:24:00 -0700 [PATCH] dvb: usb: dvb_usb_properties init fix There was no pid-filter-count set for some devices - led to an error. Thanks to Gerolf Wendland. Signed-off-by: Patrick Boettcher Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 78c6e73f5a27f01e45e86a4e3d13863c9cce6374 tree b9e5cfdffe2ecb7762bf7b8275c267a323b27b49 parent 0589b8e4fd24885a00d8954aef57c3319d161fee author Patrick Boettcher Thu, 07 Jul 2005 17:58:13 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:24:00 -0700 [PATCH] dvb: usb: digitv-usb fixes Some more work on the digitv-usb driver: o MT352 initialization and PLL-programming o I2c-transfer fixed. Signed-off-by: Patrick Boettcher Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0589b8e4fd24885a00d8954aef57c3319d161fee tree 1952e609d342fb41bec57684b1683f6853ce41ef parent c9b06fa47e1c1ff8704461c7fd6a99e3621ba0e6 author Patrick Boettcher Thu, 07 Jul 2005 17:58:12 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:59 -0700 [PATCH] dvb: frontend: add ALPS TDED4 PLL Add dvb_pll_desc for ALPS TDED4 used in Nebula USB boxes. Changed the name-field of the FMD1216. Signed-off-by: Patrick Boettcher Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c9b06fa47e1c1ff8704461c7fd6a99e3621ba0e6 tree b452edcee12a9435464b42688de2fc5ac2003a17 parent 22c6d93a73105fddd58796d7cb10f5f90ee2a338 author Patrick Boettcher Thu, 07 Jul 2005 17:58:11 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:59 -0700 [PATCH] dvb: usb: add module parm to disable remote control polling Add module parameter to deactive remote control polling. Signed-off-by: Patrick Boettcher Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 22c6d93a73105fddd58796d7cb10f5f90ee2a338 tree c5d49186c531e768fd5b137e3a573bcee0011600 parent 49dc82fdac3866e6ce9c978df80cedfb735d740c author Patrick Boettcher Thu, 07 Jul 2005 17:58:10 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:59 -0700 [PATCH] dvb: usb: support Medion hybrid USB2.0 DVB-T/analogue box Add preliminary support for the Medion Hybrid USB2.0 DVB-T/Analogue box. Analogue part is not working yet (cx25842 --> ivtv?). Signed-off-by: Patrick Boettcher Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 49dc82fdac3866e6ce9c978df80cedfb735d740c tree 9dd4c78e9b616577ff99a475a2f50af392f8b923 parent 7f5fee57812c99c95edf6794a50413c75e99fd4d author Patrick Boettcher Thu, 07 Jul 2005 17:58:09 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:59 -0700 [PATCH] dvb: frontend: add FMD1216ME PLL o change dvb-pll desc to take the frequency as parameter for setbw-callback into consideration o added dvb-pll desc for Philips FMD1216ME (needed for cxusb) Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7f5fee57812c99c95edf6794a50413c75e99fd4d tree 141bb51ec2f1bcffa3775b01a0f128d52aa759fc parent 8945c8c3d207c7a69024c02d164f5ae790c5b7ba author Patrick Boettcher Thu, 07 Jul 2005 17:58:08 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:59 -0700 [PATCH] dvb: usb: add isochronous streaming method Added isochronous-streaming method. Changed memory (de)allocation behaviour accordingly. Signed-off-by: Patrick Boettcher Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8945c8c3d207c7a69024c02d164f5ae790c5b7ba tree bde659c1e944fbb27e9d156265331d6396d26fc6 parent 68293ddbabb26a58ddb0a84aa5058a7acd7127e7 author Patrick Boettcher Thu, 07 Jul 2005 17:58:07 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:59 -0700 [PATCH] dvb: usb: fix ADSTech Instant TV DVB-T USB2.0 support Fixed support for the ADSTech Instant TV DVB-T USB (2.0 version). Thanks to Gerolf Wendland for his support. Signed-off-by: Patrick Boettcher Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 68293ddbabb26a58ddb0a84aa5058a7acd7127e7 tree 7cf1f8862b5df9fcb16585858e6226e5ab00b02d parent 53936391741dee735304e997e2289500adf970c7 author Johannes Stezenbach Thu, 07 Jul 2005 17:58:06 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:59 -0700 [PATCH] dvb: dvb-usb: support Artect T1 with broken USB ids Add #define for device with broken USB ids. Signed-off-by: Patrick Boettcher Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 53936391741dee735304e997e2289500adf970c7 tree e9778f3326759d1e632d3ebad3ce83e450df4ff0 parent 80887a59c255f4a6c348dfc679501b3679d1070f author Gavin Hamill Thu, 07 Jul 2005 17:58:04 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:58 -0700 [PATCH] dvb: ttpci: add support for Hauppauge/TT DVB-C budget Add support for Hauppauge/TT DVB-C budget. Signed-off-by: Gavin Hamill Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 80887a59c255f4a6c348dfc679501b3679d1070f tree 8be85d55e711b974c1f29ff627957b861f569083 parent 34612157b48d38e85ff72d65291b9eecb44dd0a6 author Christophe Lucas Thu, 07 Jul 2005 17:58:03 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:58 -0700 [PATCH] dvb: ttpci: kj printk fix printk() calls should include appropriate KERN_* constant. Signed-off-by: Christophe Lucas Signed-off-by: Domen Puncer Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 34612157b48d38e85ff72d65291b9eecb44dd0a6 tree 22b58e6ed2067a717ff17eb34cc6249f3387b60f parent 7a2fa90fa8084846937aa194f8a40abfa99c692f author Oliver Endriss Thu, 07 Jul 2005 17:58:02 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:58 -0700 [PATCH] dvb: ttpci: make av7110_fe_lock_fix() retryable av7110_fe_lock_fix() modified in a way that it can be retried after -ERESTARTSYS Signed-off-by: Oliver Endriss Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7a2fa90fa8084846937aa194f8a40abfa99c692f tree 0ef157154967ce4f2e1e538f14d63754afa1c7b3 parent 12ba05049f9060e21ed1f95e876d8d063d2575b2 author Johannes Stezenbach Thu, 07 Jul 2005 17:58:01 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:58 -0700 [PATCH] dvb: ttpci: cleanup indentation + whitespace Fix indentation and add some whitepsace between operators. Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 12ba05049f9060e21ed1f95e876d8d063d2575b2 tree 9dbcdb1c0b535eb4d0bcbc4448dfd7a5e3b88f08 parent ce18a223607b0e8cc9a8375abc64281a13ac423c author Johannes Stezenbach Thu, 07 Jul 2005 17:58:00 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:58 -0700 [PATCH] dvb: ttpci: error handling fix Change error handling in av7110_stop_feed() to stop as many filters as possible in case of errors. Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ce18a223607b0e8cc9a8375abc64281a13ac423c tree 0c24eea6aae67bb7de1c4b2c2533437f09cc4fd1 parent eef5764d6806e29a768a632abce113c15264c5d6 author Wolfgang Rohdewald Thu, 07 Jul 2005 17:57:59 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:58 -0700 [PATCH] dvb: ttpci: more error handling for firmware communication o propagate more errors back to caller or log them, mainly in av7110.c and av7110_av.c o fix error message in StartHWFilter o do not StopHWFilter for handle 0xffff Signed-off-by: Wolfgang Rohdewald Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit eef5764d6806e29a768a632abce113c15264c5d6 tree f385a1b2ce3e9ad81a800dfd56bc9e2d2b0b57a9 parent c3d7b5aeb32668732ffc1968d12b804a98ef4fdd author Johannes Stezenbach Thu, 07 Jul 2005 17:57:58 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:57 -0700 [PATCH] dvb: ttpci: budget-av / tu1216 fix for QAM128 Fix for QAM128 in VHF band suggested by Timo Helkiö. Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c3d7b5aeb32668732ffc1968d12b804a98ef4fdd tree 5e6044aee5eb6fc58404dfb2cfa6db16fcac2721 parent 7d87bc39b98e0bf927acd14611976f710bd9a783 author Dr. Werner Fink Thu, 07 Jul 2005 17:57:57 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:57 -0700 [PATCH] dvb: ttpci: fix AUDUIO_CONTINUE ioctl Fixed typo in AUDUIO_CONTINUE ioctl: AUDIO_CMD_MUTE -> AUDIO_CMD_UNMUTE Signed-off-by: "Dr. Werner Fink" Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7d87bc39b98e0bf927acd14611976f710bd9a783 tree b4a2a12140474d1ed59f4265d6e3e9e4ad8cfbae parent c9090ebb247999354f80d45d45b3d5a804a94f7f author Johannes Stezenbach Thu, 07 Jul 2005 17:57:56 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:57 -0700 [PATCH] dvb: ttpci: fix bug in timeout handling Fix bug in timeout handling. Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c9090ebb247999354f80d45d45b3d5a804a94f7f tree b87cccfa2a0f037d1b59a5aa5986d449965819c2 parent dd2bbb179326d23577ff8201c4f20e0db3e87f7b author Wolfgang Rohdewald Thu, 07 Jul 2005 17:57:55 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:57 -0700 [PATCH] dvb: ttpci: fix error handling for firmware communication o make sure ERESTARTSYS will be propagated o ReleaseBitmap: starting with Firmware 261e, also release when BMP_LOADING o removes unused #define BMP_LOADINGS o in many cases changed the return value from -1 to something more meaningful like ETIMEDOUT, EINVAL o changed syslog message timeout waiting for COMMAND such that it indicates what command did not complete o reduce # of arguments for LoadBitmap and BlitBitmap o av7110_osd_cmd: remove the out: label Signed-off-by: Wolfgang Rohdewald Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit dd2bbb179326d23577ff8201c4f20e0db3e87f7b tree 71a987846fdd0370fc3f037c4f4c56e839c1c308 parent 96bf2f2b549aab918f4225841df54c3d58896822 author Andrew de Quincey Thu, 07 Jul 2005 17:57:54 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:57 -0700 [PATCH] dvb: ttpci: support for new TT DVB-T-CI Support for new TT DVB-T-CI, thanks to Andre Weidemann Signed-off-by: Andrew de Quincey Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 96bf2f2b549aab918f4225841df54c3d58896822 tree 4dc2e28fb2b346ef7d4892c7a3c54d28a8d0fa5c parent 771e71570ce4da549fe89978de0a29e3299d7fb7 author Andrew de Quincey Thu, 07 Jul 2005 17:57:53 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:57 -0700 [PATCH] dvb: ttpci: add support for Technotrend/Hauppauge DVB-S SE Add support for s5h1420 frontend (new Technotrend/Hauppauge DVB-S SE). Signed-off-by: Andrew de Quincey Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 771e71570ce4da549fe89978de0a29e3299d7fb7 tree 2003fa14c8073a30d70ef28c4da40c4fcb1c961f parent 3dff919425dd79954447e6ab39807b4c27ba3089 author Adrian Bunk Thu, 07 Jul 2005 17:57:52 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:56 -0700 [PATCH] dvb: ttusb-dec: kfree cleanup The Coverity checker discovered that these two kfree's can never be executed. Signed-off-by: Adrian Bunk Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3dff919425dd79954447e6ab39807b4c27ba3089 tree 8b69b5f99c7d5e5d06a04b9b8eb8e221b27f20fb parent 7d53421c6adce47d067b834c605daeafe1ff9356 author Allan Stirling Thu, 07 Jul 2005 17:57:51 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:56 -0700 [PATCH] dvb: Twinhan DST: frontend polarization fix Fix a bug that caused the polarization (V/H) to be interchanged. Signed-off-by: Allan Stirling Signed-off-by: Manu Abraham Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7d53421c6adce47d067b834c605daeafe1ff9356 tree 1eb9e34d36f79bb9cd41676b8636445c56a0e2e8 parent 64221be7b9006338e4a45228f013e467ee4bf045 author Manu Abraham Thu, 07 Jul 2005 17:57:50 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:56 -0700 [PATCH] dvb: Twinhan DST: frontend fixes o Make the inversion setting specific, ie, only for the 200103A DVB-S This should not be flagged on other cards. o Make the frequency setting card specific o Make the bandwidth setting generic such that it supports more DVB-T cards o Set QAM size for DVB-C cards that do not autodetect QAM size o Fix a bug that caused the polarization not to be set. Set polarization for cards that do not autodetect polarization o Fix a bogus frontend signal lock, that caused a tuning delay as well. o Make the Symbolrate setting card specific Signed-off-by: Manu Abraham Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 64221be7b9006338e4a45228f013e467ee4bf045 tree acf137799c31c966f6d8083aee39c27f331905ab parent 2819639b5630cd26d399ee0481be9a752280cf4d author Patrick Boettcher Thu, 07 Jul 2005 17:57:49 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:56 -0700 [PATCH] dvb: flexcop: woraround irq stop problem The flexcop chip often stops generating interrupts after some hours of operation. Apparently this can be fixed by resetting register block 0x300 at each channel change (this is not detailed in the flexcop data books). This patch also restructures DMA handling and adds a bit of debug code for the irq problem in case it still happens for someone. Signed-off-by: Patrick Boettcher Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2819639b5630cd26d399ee0481be9a752280cf4d tree e742b0c098755591ae1cf864dbe71c0e7fd9110f parent 178c6efcd8435644028bf3f079c1e82107e72dfd author Patrick Boettcher Thu, 07 Jul 2005 17:57:48 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:56 -0700 [PATCH] dvb: flexcop: add big endian register definitions Add big-endian register definitions for running on a PowerPC. (Thanks to Paavo Hartikainen for testing.) Signed-off-by: Patrick Boettcher Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 178c6efcd8435644028bf3f079c1e82107e72dfd tree f30ac325655b56225c800d1da38c9ef9c7a779f8 parent c7cadb3a02b5803c2f251b5cd84fbdc8fbec05e9 author Christophe Lucas Thu, 07 Jul 2005 17:57:47 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:56 -0700 [PATCH] dvb: saa7146: kj pci_module_init cleanup http://kerneljanitors.org/TODO - convert from pci_module_init to pci_register_driver Signed-off-by: Christophe Lucas Signed-off-by: Domen Puncer Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c7cadb3a02b5803c2f251b5cd84fbdc8fbec05e9 tree 92b557ca6ec2890ac34f7e2595025e2b8f6a11e3 parent 48e4cc2d210e817e808ac9db598ce3fb5d09c205 author Andreas Oberritter Thu, 07 Jul 2005 17:57:46 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:55 -0700 [PATCH] dvb: add Pluto2 driver Add driver for the Satelco Easywatch Mobile DVB-T card (based on Pluto2 chip). Signed-off-by: Andreas Oberritter Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 48e4cc2d210e817e808ac9db598ce3fb5d09c205 tree 6f52c066a25e50b20b403cf5816556822eb967b8 parent 80064b803de140a65ca82bba5f0c40309b5a9f5e author Johannes Stezenbach Thu, 07 Jul 2005 17:57:45 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:55 -0700 [PATCH] dvb: DVB update Increase some timeouts by a factor of 10 as suggested by Mikko Hamalainen and Timo Ketolainen, to improve tuning for QAM128 / weak signal. Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 80064b803de140a65ca82bba5f0c40309b5a9f5e tree 5534bdf9b8f87e4046f55a70ed1e0889c6458437 parent f46dbb050b5c7585c34b9ef717d81d6fee883f9b author Johannes Stezenbach Thu, 07 Jul 2005 17:57:45 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:55 -0700 [PATCH] dvb: frontend: l64781: improve tuning Disable zig-zag and set min_delay_ms = 4000 as suggested by Allan Guild to improve tuning with weak signal. Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f46dbb050b5c7585c34b9ef717d81d6fee883f9b tree 8b399f437f36b36bfbd79b5369b14a38b2eed7eb parent f03cbea36ab9412dcea58e953be4933b36c9b7be author Patrick Boettcher Thu, 07 Jul 2005 17:57:44 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:55 -0700 [PATCH] dvb: frontend: cx22702: support for cxusb Add .get_tune_settings callback (min_delay_ms = 1sec) and output_mode-field (parallel/serial) to support cxusb; minor cleanups. Signed-off-by: Patrick Boettcher Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f03cbea36ab9412dcea58e953be4933b36c9b7be tree 3ecffeccbd499ee2e3d7cd6bdc4094d989004968 parent 0c744b010078bd65724477e75261e51712d290a0 author Hartmut Hackmann Thu, 07 Jul 2005 17:57:43 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:54 -0700 [PATCH] dvb: frontend: tda1004x: support tda827x tuners o added preliminary support for tda827x tuners o set parameters for drift compensation to 0 makes no sense for DVB-T but can prevent lock Signed-off-by: Hartmut Hackmann Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0c744b010078bd65724477e75261e51712d290a0 tree 7d504d2e4d3d9a832a8df55eef3b4edc07acee18 parent 3faadbb0fde3c53e1c4f13eabb478c0c7cb1e4dd author Anssi Hannula Thu, 07 Jul 2005 17:57:42 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:54 -0700 [PATCH] dvb: add missing release_firmware() calls Add missing release_firmware() calls to fix memory leaks. Signed-off-by: Anssi Hannula Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3faadbb0fde3c53e1c4f13eabb478c0c7cb1e4dd tree 1d342c327fb76ea12d2a84119876e9cc275482f6 parent ecb60deb9d5bbcbab6c87ee5fde6f8368197fcac author Hartmut Hackmann Thu, 07 Jul 2005 17:57:42 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:54 -0700 [PATCH] dvb: frontend: bcm3510: fix firmware version check Fix limit for firmware version check was too low for tda10045. Signed-off-by: Hartmut Hackmann Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ecb60deb9d5bbcbab6c87ee5fde6f8368197fcac tree e8de9fd8fefbcc89e56821d58e39fe64729f43ee parent bbf24cec93b5966bdbd4f25be7a8a2d8716570db author Hartmut Hackmann Thu, 07 Jul 2005 17:57:40 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:54 -0700 [PATCH] dvb: frontend: tda1004x update o added config options for IF frequency and AGC o support DSP boot from on board eeprom o added pll sleep call Signed-off-by: Hartmut Hackmann Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bbf24cec93b5966bdbd4f25be7a8a2d8716570db tree f9b1d7e3e9a8577d1919723a365e24bdb1b9a38d parent 3ec4a30771ed9a0ce6f05e637ea83b3781cc61d7 author Andrew de Quincey Thu, 07 Jul 2005 17:57:40 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:54 -0700 [PATCH] dvb: frontend: remove unused I2C ids Remove I2C_DRIVERID_DVBFE_ cruft. Signed-off-by: Andrew de Quincey Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3ec4a30771ed9a0ce6f05e637ea83b3781cc61d7 tree d883cc6e133d447eace15f64d4e187492d5f674e parent 761979248adf83f5bece22e058ec445511984012 author Peter Beutner Thu, 07 Jul 2005 17:57:39 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:54 -0700 [PATCH] dvb: core: dmxdev cleanups - remove void casts - not necessary to set filter state twice to STATE_FREE during dvb_dmxdev_init() Signed-off-by: Peter Beutner Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 761979248adf83f5bece22e058ec445511984012 tree 4afc251120216f74e17272e67263f8b0e5969229 parent 4992775c8287145e86b94fe8d19bbb5f20148cc0 author Peter Beutner Thu, 07 Jul 2005 17:57:38 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:53 -0700 [PATCH] dvb: core: demux error handling fix In dvb_dmxdev_filter_start if we go out because of an error, release previously allocated demux_feed. Signed-off-by: Peter Beutner Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4992775c8287145e86b94fe8d19bbb5f20148cc0 tree 6e2c39415532fe7c7c31f1b936130cd66d4ad036 parent 6757ccc57d2cc4ab4e63d8aee97f2e6b9f998990 author Andrew de Quincey Thu, 07 Jul 2005 17:57:37 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:53 -0700 [PATCH] dvb: core: add workaround for tuning problem Add workaround for signal lock loss issue, where the frontend loses the signal after some hours without any visible reason. Signed-off-by: Andrew de Quincey Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6757ccc57d2cc4ab4e63d8aee97f2e6b9f998990 tree 472bad3348464fa74910d6ac8978b6a63cb01a35 parent 25a26ec3b60b29300a652d7d81a69b6bc08b35b5 author Peter Beutner Thu, 07 Jul 2005 17:57:36 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:53 -0700 [PATCH] dvb: core: fix race condition in FE_READ_STATUS ioctl Fix a race condition where an application which issued a FE_READ_STATUS ioctl directly after FE_SET_FRONTEND would see an old status, i.e. FE_READ_STATUS would be executed before the frontend thread has even seen the tungin request from FE_SET_FRONTEND. Signed-off-by: Peter Beutner Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 25a26ec3b60b29300a652d7d81a69b6bc08b35b5 tree edd38022b631c5301341d1d5c10ff431246503c9 parent 38b32d6237588e6dca9b9a84256b507a29207f68 author Johannes Stezenbach Thu, 07 Jul 2005 17:57:35 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:52 -0700 [PATCH] dvb: remove obsolete skystar2 driver Remove the skystar2 driver which has been obsoleted by the generalized flexcop-pci driver. Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 38b32d6237588e6dca9b9a84256b507a29207f68 tree 440eb4f2f6e9cbfa00c9ef660a65713b61da2506 parent 751c404b8f63e8199d5f2f8f2bcfd69b41d11caa author Martin Loschwitz Thu, 07 Jul 2005 17:57:31 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:52 -0700 [PATCH] dvb: cinergyT2: endianness fix for raw remote-control keys Fixed litte/big-endian conversion for raw remote-control keys. Signed-off-by: Martin Loschwitz Signed-off-by: Patrick Boettcher Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 751c404b8f63e8199d5f2f8f2bcfd69b41d11caa tree d69c76ceadbaa6f5ca3fd7be881201e87ef93377 parent 55e700b924f9e0ba24e3a071d1097d050b05abe6 author Miklos Szeredi Thu, 07 Jul 2005 17:57:30 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:52 -0700 [PATCH] namespace: rename _mntput to mntput_no_expire This patch renames _mntput() to something a little more descriptive: mntput_no_expire(). Signed-off-by: Miklos Szeredi Acked-by: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 55e700b924f9e0ba24e3a071d1097d050b05abe6 tree 36a5d2401211c8fe27f6210c6fddb6db699b8015 parent 732dbef606f22a23cb3e1029d613977ec645e8ae author Miklos Szeredi Thu, 07 Jul 2005 17:57:30 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:52 -0700 [PATCH] namespace: rename mnt_fslink to mnt_expire This patch renames vfsmount->mnt_fslink to something a little more descriptive: vfsmount->mnt_expire. Signed-off-by: Mike Waychison Signed-off-by: Miklos Szeredi Acked-by: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 732dbef606f22a23cb3e1029d613977ec645e8ae tree 513e7230a59a526a09b387b5a2628a2eed3a80bb parent 484e389c63472a7f8cfb491cf11b047364e59365 author Miklos Szeredi Thu, 07 Jul 2005 17:57:29 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:52 -0700 [PATCH] dcookies.c: use proper refcounting functions Dcookies shouldn't play with the internals of dentry and vfsmnt refcounting. It defeats grepping, and is prone to break if implementation details change. In addition the function doesn't even seem to be performance critical: it calls kmem_cache_alloc(). Signed-off-by: Miklos Szeredi Acked-by: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 484e389c63472a7f8cfb491cf11b047364e59365 tree 764b4430991d19f409e304cf2b96b4346e0af3bb parent ac0811538b40bb92d339d22364026ed91dfdd147 author Miklos Szeredi Thu, 07 Jul 2005 17:57:28 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:52 -0700 [PATCH] set mnt_namespace in the correct place This patch sets ->mnt_namespace where it's actually added to the namespace. Previously mnt_namespace was set in do_kern_mount() even if the filesystem was never added to any process's namespace (most kernel-internal filesystems). This discrepancy doesn't actually cause any problems, but it's cleaner if mnt_namespace is NULL for these non exported filesystems. Signed-off-by: Miklos Szeredi Acked-by: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ac0811538b40bb92d339d22364026ed91dfdd147 tree 6129b15ee8219343244c3dc8efa1a9ea7b51531d parent ed42c879b7b1463aa7a15fdbbeb2b1914d60be8a author Miklos Szeredi Thu, 07 Jul 2005 17:57:27 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:51 -0700 [PATCH] namespace.c: fix mnt_namespace zeroing for expired mounts This patch clears mnt_namespace in an expired mount. If mnt_namespace is not cleared, it's possible to attach a new mount to the already detached mount, because check_mnt() can return true. The effect is a resource leak, since the resulting tree will never be freed. Signed-off-by: Miklos Szeredi Acked-by: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ed42c879b7b1463aa7a15fdbbeb2b1914d60be8a tree 191f9386a8288e06d7d0e914434aea2f9a56e1ca parent 24ca2af1e7cff55e71e9f86c61ddc56e894b8b40 author Miklos Szeredi Thu, 07 Jul 2005 17:57:26 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:51 -0700 [PATCH] namespace.c: fix expiring of detached mount This patch fixes a bug noticed by Al Viro: However, we still have a problem here - just what would happen if vfsmount is detached while we were grabbing namespace semaphore? Refcount alone is not useful here - we might be held by whoever had detached the vfsmount. IOW, we should check that it's still attached (i.e. that mnt->mnt_parent != mnt). If it's not - just leave it alone, do mntput() and let whoever holds it deal with the sucker. No need to put it back on lists. Signed-off-by: Miklos Szeredi Cc: Acked-by: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 24ca2af1e7cff55e71e9f86c61ddc56e894b8b40 tree 48728d0fbc849567a814ceb562476d132ba5068d parent a4d70278610e6bebe44a7b59a469fe7391387da6 author Miklos Szeredi Thu, 07 Jul 2005 17:57:25 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:51 -0700 [PATCH] namespace.c: split mark_mounts_for_expiry() This patch splits the mark_mounts_for_expiry() function. It's too complex and too deeply nested, even without the bugfix in the following patch. Otherwise code is completely the same. Signed-off-by: Miklos Szeredi Cc: Acked-by: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a4d70278610e6bebe44a7b59a469fe7391387da6 tree 936ff611c40a3e1e3027f548e31ef312ca104fab parent 1ce88cf466f7b6078b14d67d186a3d7c19dd5609 author Miklos Szeredi Thu, 07 Jul 2005 17:57:24 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:51 -0700 [PATCH] namespace.c: cleanup in mark_mounts_for_expiry() This patch simplifies mark_mounts_for_expiry() by using detach_mnt() instead of duplicating everything it does. It should be an equivalent transformation except for righting the dput/mntput order. Al Viro said: "Looks sane". Signed-off-by: Miklos Szeredi Cc: Acked-by: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1ce88cf466f7b6078b14d67d186a3d7c19dd5609 tree b9716f3a71e3285a998da9614cfbc132ca605542 parent 202322e6f7cd12e82b5ff0fa92bbdf517fcf0947 author Miklos Szeredi Thu, 07 Jul 2005 17:57:24 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:51 -0700 [PATCH] namespace.c: fix race in mark_mounts_for_expiry() This patch fixes a race found by Ram in mark_mounts_for_expiry() in fs/namespace.c. The bug can only be triggered with simultaneous exiting of a process having a private namespace, and expiry of a mount from within that namespace. It's practically impossible to trigger, and I haven't even tried. But still, a bug is a bug. The race happens when put_namespace() is called by another task, while mark_mounts_for_expiry() is between atomic_read() and get_namespace(). In that case get_namespace() will be called on an already dead namespace with unforeseeable results. The solution was suggested by Al Viro, with his own words: Instead of screwing with atomic_read() in there, why don't we simply do the following: a) atomic_dec_and_lock() in put_namespace() b) __put_namespace() called without dropping lock c) the first thing done by __put_namespace would be struct vfsmount *root = namespace->root; namespace->root = NULL; spin_unlock(...); .... umount_tree(root); ... d) check in mark_... would be simply namespace && namespace->root. And we are all set; no screwing around with atomic_read(), no magic at all. Dying namespace gets NULL ->root. All changes of ->root happen under spinlock. If under a spinlock we see non-NULL ->mnt_namespace, it won't be freed until we drop the lock (we will set ->mnt_namespace to NULL under that lock before we get to freeing namespace). If under a spinlock we see non-NULL ->mnt_namespace and ->mnt_namespace->root, we can grab a reference to namespace and be sure that it won't go away. Signed-off-by: Miklos Szeredi Acked-by: Al Viro Acked-by: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 202322e6f7cd12e82b5ff0fa92bbdf517fcf0947 tree 82c1f7b4b97d5b31654157a8f427a5c8d546504f parent 6f50142e4b092a469920a0008fc23121c3d99f2f author Miklos Szeredi Thu, 07 Jul 2005 17:57:22 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:51 -0700 [PATCH] namespace.c: fix mnt_namespace clearing This patch clears mnt_namespace on unmount. Not clearing mnt_namespace has two effects: 1) It is possible to attach a new mount to a detached mount, because check_mnt() returns true. This means, that when no other references to the detached mount remain, it still can't be freed. This causes a resource leak, and possibly un-removable modules. 2) If mnt_namespace is dereferenced (only in mark_mounts_for_expiry()) after the namspace has been freed, it can cause an Oops, memory corruption, etc. 1) has been tested before and after the patch, 2) is only speculation. Signed-off-by: Miklos Szeredi Acked-by: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6f50142e4b092a469920a0008fc23121c3d99f2f tree e63c94bbcca7eef0745372c98812691cf97829ab parent 80c8ec2c04e539aac4e9810a46bc04c1b424b4dd author Roland Dreier Thu, 07 Jul 2005 17:57:21 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:50 -0700 [PATCH] IB uverbs: add documentation file Add documentation for InfiniBand userspace verbs. Signed-off-by: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 80c8ec2c04e539aac4e9810a46bc04c1b424b4dd tree 2f6b7a3e455f93435797c85a36ea3d07e74fb0cc parent 74c2174e7be52f9d2d210511bf3b490f4b41574c author Roland Dreier Thu, 07 Jul 2005 17:57:20 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:50 -0700 [PATCH] IB uverbs: add mthca user QP support Add support for userspace queue pairs (QPs) to mthca. Signed-off-by: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 74c2174e7be52f9d2d210511bf3b490f4b41574c tree aa7288790ba6329871c82904d46afe26bca24313 parent 24d4281be0598d2d4ab9a2ffb1b78f5af0ffaddf author Roland Dreier Thu, 07 Jul 2005 17:57:19 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:50 -0700 [PATCH] IB uverbs: add mthca user CQ support Add support for userspace completion queues (CQs) to mthca. Signed-off-by: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 24d4281be0598d2d4ab9a2ffb1b78f5af0ffaddf tree cc7810ff27bc207e264ea183a150600cd8db7bd8 parent 99264c1ee2ce908f95c075cce97698758a793b58 author Roland Dreier Thu, 07 Jul 2005 17:57:19 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:49 -0700 [PATCH] IB uverbs: add mthca user MR support Add support for userspace memory regions (MRs) to mthca. Signed-off-by: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 99264c1ee2ce908f95c075cce97698758a793b58 tree d6ce99ee31aa1da65531f67268695f89d9e876d2 parent 53b8b3ffd5e0b10f3c683096a663d0cc22179c43 author Roland Dreier Thu, 07 Jul 2005 17:57:18 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:49 -0700 [PATCH] IB uverbs: add mthca user PD support Add support for userspace protection domains (PDs) to mthca. Signed-off-by: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 53b8b3ffd5e0b10f3c683096a663d0cc22179c43 tree 9cc09804e388e8febba6fd8d565dfdd633efe04b parent 5e0b537c7d94efe3fea0fee8e2533c3231a8af75 author Roland Dreier Thu, 07 Jul 2005 17:57:17 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:49 -0700 [PATCH] IB uverbs: add mthca mmap support Add support for mmap() method to mthca, so that userspace can get access to doorbell registers. This allows userspace to get direct access to the HCA for data path operations. Each userspace context gets its own copy of the doorbell registers and is only allowed to use resources that the kernel has given it access to. In other words, this is safe. Signed-off-by: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5e0b537c7d94efe3fea0fee8e2533c3231a8af75 tree 108ecc2bd5c9fabc86f1c51b2e77421cf78ce433 parent 56483ec1b70221f8c9838ccc9a89b43d9de66993 author Roland Dreier Thu, 07 Jul 2005 17:57:16 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:49 -0700 [PATCH] IB uverbs: add mthca user context support Add support for managing userspace contexts to mthca. Signed-off-by: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 56483ec1b70221f8c9838ccc9a89b43d9de66993 tree fa91d177d6d7b34e08ee6f16a859db4c7e65bef1 parent e95975e8b87de47c08e032e7762fc7df7dfc2060 author Roland Dreier Thu, 07 Jul 2005 17:57:16 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:49 -0700 [PATCH] IB uverbs: add mthca user doorbell record support Add support for userspace doorbell records to mthca. Signed-off-by: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e95975e8b87de47c08e032e7762fc7df7dfc2060 tree a8b20a456f9a274a05aead4a70e6fc6b5b14cd5f parent 2d927d696c088ceb22c776e1e89937dc289d4078 author Roland Dreier Thu, 07 Jul 2005 17:57:15 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:49 -0700 [PATCH] IB uverbs: add mthca ABI header Add the mthca_user.h header file, which defines the device-specific ABI used by the mthca low-level driver for kernel/user communication. Signed-off-by: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2d927d696c088ceb22c776e1e89937dc289d4078 tree e2b0d444aa785ebc1ee43bc13b9ae93e12a9bec6 parent eb8ffbfed50e7945c024a80e3688d5beffa3b641 author Roland Dreier Thu, 07 Jul 2005 17:57:14 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:48 -0700 [PATCH] IB uverbs: hook up Kconfig/Makefile Hook up InfiniBand userspace verbs to Kconfig and the make system. Signed-off-by: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit eb8ffbfed50e7945c024a80e3688d5beffa3b641 tree 6b32628db0560e2f093efc50e7a0630b9bb678d0 parent bc38a6abdd5a50e007d0fcd9b9b6280132b79e62 author Roland Dreier Thu, 07 Jul 2005 17:57:14 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:48 -0700 [PATCH] IB uverbs: memory pinning implementation Add support for pinning userspace memory regions and returning a list of pages in the region. This includes tracking pinned memory against vm_locked and preventing unprivileged users from exceeding RLIMIT_MEMLOCK. Signed-off-by: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bc38a6abdd5a50e007d0fcd9b9b6280132b79e62 tree d811577e4bb3c63847967dfe151c5d07ec7b68c8 parent 8a96b3f9af2d0351285665b532f9359d6cd73f42 author Roland Dreier Thu, 07 Jul 2005 17:57:13 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:48 -0700 [PATCH] IB uverbs: core implementation Add the core of the InfiniBand userspace verbs implementation, including creating character device nodes, dispatching requests from userspace, and passing event notifications back up to userspace. Signed-off-by: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8a96b3f9af2d0351285665b532f9359d6cd73f42 tree d6b9bb7c6088711cb57881226aeb2c6e60866665 parent 1cf296b66afeec2edc39cc7bbedbf3d0afd2a373 author Roland Dreier Thu, 07 Jul 2005 17:57:12 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:48 -0700 [PATCH] IB uverbs: add user verbs ABI header Add the ib_user_verbs.h header file, which defines the ABI used by InfiniBand userspace verbs for kernel/user communication. Signed-off-by: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1cf296b66afeec2edc39cc7bbedbf3d0afd2a373 tree 37a47be9e6056ca8c71eecf4eba2211a05039980 parent b5e81bf5e7084796d93167f438ec073e59aca9ed author Roland Dreier Thu, 07 Jul 2005 17:57:11 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:48 -0700 [PATCH] IB uverbs: update mthca for new API Update mthca to compile against the updated API for low-level drivers. Signed-off-by: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b5e81bf5e7084796d93167f438ec073e59aca9ed tree 573883691b631eb5df77411a442bf82b279833a7 parent e2773c062e41f710d8ef1e8a790c7e558aff663d author Roland Dreier Thu, 07 Jul 2005 17:57:11 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:48 -0700 [PATCH] IB uverbs: update kernel midlayer for new API Update kernel InfiniBand midlayer to compile against the updated API for low-level drivers. This just amounts to passing NULL for all userspace-related parameters, and setting userspace-related structure members to NULL. Signed-off-by: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e2773c062e41f710d8ef1e8a790c7e558aff663d tree 1e0c19d85c429fbd19f2996d3f2a88652e8820c3 parent 404865516ce6b6d7ee37c4eb4ee77d78b38e669a author Roland Dreier Thu, 07 Jul 2005 17:57:10 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:47 -0700 [PATCH] IB uverbs: core API extensions First of a series of patches which add support for direct userspace access to InfiniBand hardware -- so-called "userspace verbs." I believe these patches are ready to merge, but a final review would be useful. These patches should incorporate all of the feedback from the discussion when I posted an earlier version back in April (see http://lkml.org/lkml/2005/4/4/267 for the start of the thread). In particular, memory pinned for use by userspace is accounted for in current->mm->vm_locked and requests to pin memory are checked against RLIMIT_MEMLOCK. This patch: Modify the ib_verbs.h header file with changes required for InfiniBand userspace verbs support. We add a few structures to keep track of userspace context, and extend the driver API so that low-level drivers know when they're creating resources that will be used from userspace. Signed-off-by: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 404865516ce6b6d7ee37c4eb4ee77d78b38e669a tree a5cb58f6f92b512af80f0f8972d3908d8662966f parent 7e8d7e3c9e38dab8d28a8667faa4941842f64213 author Andrew Morton Thu, 07 Jul 2005 17:57:09 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:47 -0700 [PATCH] alpha(): pgprot_noncached The infiniband code expects that the arch implements pgprot_noncached(). We're mapping PCI areas anyway, so this probabyl wasn't needed and we should make infiniband stop doing that.. Cc: Roland Dreier Cc: Richard Henderson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7e8d7e3c9e38dab8d28a8667faa4941842f64213 tree f2584d8f7ebd4afd8c40f14dbb1558762bade2a5 parent 7eaae2828dadae3abde7f77734c874d4b74b313a author KAMBAROV, ZAUR Thu, 07 Jul 2005 17:57:07 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:47 -0700 [PATCH] coverity: sunrpc/xprt task null check In __xprt_lock_write() we check to see if `task' is NULL, but in other places we just go and dereference it. `task' shouldn't be NULL anyway, so remove this test. This defect was found automatically by Coverity Prevent, a static analysis tool. Signed-off-by: Zaur Kambarov Acked-by: Trond Myklebust Cc: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7eaae2828dadae3abde7f77734c874d4b74b313a tree 7cee35b529ebb2e88c808b52909821a05d324035 parent 8f96c95680bfe66ff00c91859d4c73edf539b854 author KAMBAROV, ZAUR Thu, 07 Jul 2005 17:57:06 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:47 -0700 [PATCH] coverity: fs/locks.c flp null check We're dereferencing `flp' and then we're testing it for NULLness. Either the compiler accidentally saved us or the existing null-pointer checdk is redundant. This defect was found automatically by Coverity Prevent, a static analysis tool. Signed-off-by: Zaur Kambarov Cc: Matthew Wilcox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8f96c95680bfe66ff00c91859d4c73edf539b854 tree 306857acc1009e7d354aea71aa02a0ea5d40fefd parent 5bbcfd9000887c0da7d57cc7b3ac869fc0dd5aa9 author KAMBAROV, ZAUR Thu, 07 Jul 2005 17:57:05 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:47 -0700 [PATCH] coverity: fix fbsysfs null pointer check Correctly test for a null pointer before going and dereferencing it. This defect was found automatically by Coverity Prevent, a static analysis tool. Signed-off-by: Zaur Kambarov Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5bbcfd9000887c0da7d57cc7b3ac869fc0dd5aa9 tree 7047a60dc99e5484560b40027c81f92a4e291b29 parent a4014d8f61a6a136d22422cf8aa978e6495dbad9 author Ingo Molnar Thu, 07 Jul 2005 17:57:04 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:47 -0700 [PATCH] cond_resched(): fix bogus might_sleep() warning The BKS might be reacquired before we have dropped PREEMPT_ACTIVE, which could trigger a second could trigger a second cond_resched() call. Bug found by Hirofumi Ogawa. Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a4014d8f61a6a136d22422cf8aa978e6495dbad9 tree bb5d995c2511b99e131ca92020ffc10cafee4447 parent 682d4fc93105ebf0bdfbb04a4b85047999b17844 author David Howells Thu, 07 Jul 2005 17:57:03 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:46 -0700 [PATCH] Keys: Base keyring size on key pointer not key struct The attached patch makes the keyring functions calculate the new size of a keyring's payload based on the size of pointer to the key struct, not the size of the key struct itself. Signed-Off-By: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 682d4fc93105ebf0bdfbb04a4b85047999b17844 tree 15e87e1a8ed2bc706db243a1d1edd4acf4a18cf6 parent 214a627cb401284f87cca7e1510a0f4284f1a17c author Ian Kent Thu, 07 Jul 2005 17:57:02 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:46 -0700 [PATCH] autofs4: mistake in debug print Fix debugging printk. Signed-off-by: Ian Kent Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 214a627cb401284f87cca7e1510a0f4284f1a17c tree 5b6724028b520fa4002a5a9e752a90cd3d179522 parent ff87b37da912d6aeab6c20c58f51b34d3e37f111 author Jesse Millan Thu, 07 Jul 2005 17:57:01 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:46 -0700 [PATCH] put_compat_shminfo() warning fix GCC 4 complains because the function put_compat_shminfo() can't get to its return statement if there is no error... If the function does not return -EFAULT, it doesn't return anything at all. Looks like a typo. Signed-off-by: Jesse Millan Signed-off-by: Domen Puncer Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ff87b37da912d6aeab6c20c58f51b34d3e37f111 tree 22c2e6467bbd70ea12c9bdbc8180711791cde02f parent 6c036527a630720063b67d9a65455e8caca2c8fa author Andreas Gruenbacher Thu, 07 Jul 2005 17:57:00 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:46 -0700 [PATCH] ext3 xattr: Don't write to the in-inode xattr space of reserved inodes We are not using the in-inode space for xattrs in reserved inodes because mkfs.ext3 doesn't initialize it properly. For those inodes, we set i_extra_isize to 0. Make sure that we also don't overwrite the i_extra_isize field when writing out the inode in that case. This is for cleanliness only, and doesn't fix an actual bug. Signed-off-by: Andreas Gruenbacher Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6c036527a630720063b67d9a65455e8caca2c8fa tree 316e947f5f4efcda0205e48044ed1d12665eaed1 parent 0db925af1db5f3dfe1691c35b39496e2baaff9c9 author Christoph Lameter Thu, 07 Jul 2005 17:56:59 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:46 -0700 [PATCH] mostly_read data section Add a new section called ".data.read_mostly" for data items that are read frequently and rarely written to like cpumaps etc. If these maps are placed in the .data section then these frequenly read items may end up in cachelines with data is is frequently updated. In that case all processors in an SMP system must needlessly reload the cachelines again and again containing elements of those frequently used variables. The ability to share these cachelines will allow each cpu in an SMP system to keep local copies of those shared cachelines thereby optimizing performance. Signed-off-by: Alok N Kataria Signed-off-by: Shobhit Dayal Signed-off-by: Christoph Lameter Signed-off-by: Shai Fultheim Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0db925af1db5f3dfe1691c35b39496e2baaff9c9 tree bb9f827fa001b27f7a902abf174e8f0057c9df81 parent b84c21572de8a732062eff5592e3c4b3b1793bb8 author Alexey Dobriyan Thu, 07 Jul 2005 17:56:58 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:46 -0700 [PATCH] propagate __nocast annotations Signed-off-by: Alexey Dobriyan Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b84c21572de8a732062eff5592e3c4b3b1793bb8 tree 7dd856a718127f6c525b0e1e86a5965497cccccb parent a39722034ae37f80a1803bf781fe3fe1b03e20bc author Andreas Gruenbacher Thu, 07 Jul 2005 17:56:57 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:45 -0700 [PATCH] acl kconfig cleanup Original patch from Matt Mackall Signed-off-by: Andreas Gruenbacher Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a39722034ae37f80a1803bf781fe3fe1b03e20bc tree fb7ef719d745e28678d73f884108f4cb2ef79171 parent d6afe27bfff30fbec2cca6ad5626c22f4094d770 author Nick Piggin Thu, 07 Jul 2005 17:56:56 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:45 -0700 [PATCH] page_uptodate locking scalability Use a bit spin lock in the first buffer of the page to synchronise asynch IO buffer completions, instead of the global page_uptodate_lock, which is showing some scalabilty problems. Signed-off-by: Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d6afe27bfff30fbec2cca6ad5626c22f4094d770 tree 83c28d2c90fe720b5a315b89301cf3a519ffed88 parent 8759145114f72857bcaeed338db21620a6619b26 author Roman Zippel Thu, 07 Jul 2005 17:56:55 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:45 -0700 [PATCH] tty output lossage fix The patch fixes a few corner cases around tty line editing with very long input lines: - n_tty_receive_char(): don't simply drop eol characters, otherwise canon_data isn't increased and the reader isn't woken up. - n_tty_receive_room(): If there is no newline pending and the edit buffer is full, allow only a single character to be written (until eol is found and the line is flushed), so characters from the next line aren't dropped. - write_chan(): if an incomplete line was written, continue writing until write() returns 0, otherwise it might not write the eol character to flush the line and the writer goes to sleep without ever being woken up. BTW the core problem is that part of this should be handled in the receive_buf path, but for this it has to return the number of written characters, as the amount of written characters may not be the same as the amount of characters going into the write buffer, so the receive_room() usage in pty_write() is not really reliable. Alan said: The problem looks valid. The behaviour of 'traditional unix' appears to be the following If you exceed the line limit then beep and drop the character Always allow EOL to complete a canonical line input Always do signal/control processing if enabled Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8759145114f72857bcaeed338db21620a6619b26 tree a7a1ddd9c16f4d4669497db0f9f6e77e6d163f72 parent 605a69ac81249cca531cdc6b3e695f15dda63102 author Arnd Bergmann Thu, 07 Jul 2005 17:56:53 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:44 -0700 [PATCH] xtensa: remove old syscalls xtensa is now in -rc1, with the obsolete syscalls still in there, so I guess this about the last chance to correct the ABI. Applying the patch obviously breaks all sorts of user space binaries and probably also requires the appropriate changes to be made to libc. On the other hand, if a decision is made to keep the broken interface, it should at least be a conscious one instead of an oversight. Signed-off-by: Arnd Bergmann Cc: Chris Zankel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 605a69ac81249cca531cdc6b3e695f15dda63102 tree f42d781478ddf14288d3952263363efde1bc45a2 parent 3f580470baa3afc423e38fdc6e19667446b5aac0 author Paolo 'Blaisorblade' Giarrusso Thu, 07 Jul 2005 17:56:52 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:44 -0700 [PATCH] uml: remove winch sem Replace a semaphore (winch_handler_sem) used in atomic code with a spinlock, and reduces as needed the amount of protected code to the bare minimum (for instance no kmalloc calls are needed). This fixes the last problems with spinlocking (in UP mode with DEBUG options); the semaphore, taken inside spinlocks, caused a "spin_lock was already locked" warning, without this patch. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Cc: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3f580470baa3afc423e38fdc6e19667446b5aac0 tree d6c8b52b9c7bbe63fbeec22e7f6788c136511bf9 parent 9786a8f3cbc61f990266e23ffdb338ee3118b03d author Paolo 'Blaisorblade' Giarrusso Thu, 07 Jul 2005 17:56:51 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:44 -0700 [PATCH] uml: restore hppfs support Some time ago a trivial patch broke HPPFS (one var became a pointer, not all uses were updated). It wasn't fixed at that time because not very used, now it's been requested so I've fixed this, and it has been tested positively (at least partially). Signed-off-by: Paolo 'Blaisorblade' Giarrusso Cc: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9786a8f3cbc61f990266e23ffdb338ee3118b03d tree c987811d30508728f954cc8aaa14de1f7fa5b44a parent d67b569f5f620c0fb95d5212642746b7ba9d29e4 author Bodo Stroesser Thu, 07 Jul 2005 17:56:50 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:44 -0700 [PATCH] uml: Proper clone support for skas0 This patch implements the clone-stub mechanism, which allows skas0 to run with proc_mm==0, even if the clib in UML uses modify_ldt. Note: There is a bug in skas3.v7 host patch, that avoids UML-skas from running properly on a SMP-box. In full skas3, I never really saw problems, but in skas0 they showed up. More commentary by jdike - What this patch does is makes sure that the host parent of each new host process matches the UML parent of the corresponding UML process. This ensures that any changed LDTs are inherited. This is done by having clone actually called by the UML process from its stub, rather than by the kernel. We have special syscall stubs that are loaded onto the stub code page because that code must be completely self-contained. These stubs are given C interfaces, and used like normal C functions, but there are subtleties. Principally, we have to be careful about stack variables in stub_clone_handler after the clone. The code is written so that there aren't any - everything boils down to a fixed address. If there were any locals, references to them after the clone would be wrong because the stack just changed. Signed-off-by: Bodo Stroesser Signed-off-by: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d67b569f5f620c0fb95d5212642746b7ba9d29e4 tree c7ef10c906dd83911e10988c6cea6d7d5644e072 parent 1322ad41513f8f9196801f53cc0851df056f3478 author Jeff Dike Thu, 07 Jul 2005 17:56:49 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:44 -0700 [PATCH] uml: skas0 - separate kernel address space on stock hosts UML has had two modes of operation - an insecure, slow mode (tt mode) in which the kernel is mapped into every process address space which requires no host kernel modifications, and a secure, faster mode (skas mode) in which the UML kernel is in a separate host address space, which requires a patch to the host kernel. This patch implements something very close to skas mode for hosts which don't support skas - I'm calling this skas0. It provides the security of the skas host patch, and some of the performance gains. The two main things that are provided by the skas patch, /proc/mm and PTRACE_FAULTINFO, are implemented in a way that require no host patch. For the remote address space changing stuff (mmap, munmap, and mprotect), we set aside two pages in the process above its stack, one of which contains a little bit of code which can call mmap et al. To update the address space, the system call information (system call number and arguments) are written to the stub page above the code. The %esp is set to the beginning of the data, the %eip is set the the start of the stub, and it repeatedly pops the information into its registers and makes the system call until it sees a system call number of zero. This is to amortize the cost of the context switch across multiple address space updates. When the updates are done, it SIGSTOPs itself, and the kernel process continues what it was doing. For a PTRACE_FAULTINFO replacement, we set up a SIGSEGV handler in the child, and let it handle segfaults rather than nullifying them. The handler is in the same page as the mmap stub. The second page is used as the stack. The handler reads cr2 and err from the sigcontext, sticks them at the base of the stack in a faultinfo struct, and SIGSTOPs itself. The kernel then reads the faultinfo and handles the fault. A complication on x86_64 is that this involves resetting the registers to the segfault values when the process is inside the kill system call. This breaks on x86_64 because %rcx will contain %rip because you tell SYSRET where to return to by putting the value in %rcx. So, this corrupts $rcx on return from the segfault. To work around this, I added an arch_finish_segv, which on x86 does nothing, but which on x86_64 ptraces the child back through the sigreturn. This causes %rcx to be restored by sigreturn and avoids the corruption. Ultimately, I think I will replace this with the trick of having it send itself a blocked signal which will be unblocked by the sigreturn. This will allow it to be stopped just after the sigreturn, and PTRACE_SYSCALLed without all the back-and-forth of PTRACE_SYSCALLing it through sigreturn. This runs on a stock host, so theoretically (and hopefully), tt mode isn't needed any more. We need to make sure that this is better in every way than tt mode, though. I'm concerned about the speed of address space updates and page fault handling, since they involve extra round-trips to the child. We can amortize the round-trip cost for large address space updates by writing all of the operations to the data page and having the child execute them all at the same time. This will help fork and exec, but not page faults, since they involve only one page. I can't think of any way to help page faults, except to add something like PTRACE_FAULTINFO to the host. There is PTRACE_SIGINFO, but UML doesn't use siginfo for SIGSEGV (or anything else) because there isn't enough information in the siginfo struct to handle page faults (the faulting operation type is missing). Adding that would make PTRACE_SIGINFO a usable equivalent to PTRACE_FAULTINFO. As for the code itself: - The system call stub is in arch/um/kernel/sys-$(SUBARCH)/stub.S. It is put in its own section of the binary along with stub_segv_handler in arch/um/kernel/skas/process.c. This is manipulated with run_syscall_stub in arch/um/kernel/skas/mem_user.c. syscall_stub will execute any system call at all, but it's only used for mmap, munmap, and mprotect. - The x86_64 stub calls sigreturn by hand rather than allowing the normal sigreturn to happen, because the normal sigreturn is a SA_RESTORER in UML's address space provided by libc. Needless to say, this is not available in the child's address space. Also, it does a couple of odd pops before that which restore the stack to the state it was in at the time the signal handler was called. - There is a new field in the arch mmu_context, which is now a union. This is the pid to be manipulated rather than the /proc/mm file descriptor. Code which deals with this now checks proc_mm to see whether it should use the usual skas code or the new code. - userspace_tramp is now used to create a new host process for every UML process, rather than one per UML processor. It checks proc_mm and ptrace_faultinfo to decide whether to map in the pages above its stack. - start_userspace now makes CLONE_VM conditional on proc_mm since we need separate address spaces now. - switch_mm_skas now just sets userspace_pid[0] to the new pid rather than PTRACE_SWITCH_MM. There is an addition to userspace which updates its idea of the pid being manipulated each time around the loop. This is important on exec, when the pid will change underneath userspace(). - The stub page has a pte, but it can't be mapped in using tlb_flush because it is part of tlb_flush. This is why it's required for it to be mapped in by userspace_tramp. Other random things: - The stub section in uml.lds.S is page aligned. This page is written out to the backing vm file in setup_physmem because it is mapped from there into user processes. - There's some confusion with TASK_SIZE now that there are a couple of extra pages that the process can't use. TASK_SIZE is considered by the elf code to be the usable process memory, which is reasonable, so it is decreased by two pages. This confuses the definition of USER_PGDS_IN_LAST_PML4, making it too small because of the rounding down of the uneven division. So we round it to the nearest PGDIR_SIZE rather than the lower one. - I added a missing PT_SYSCALL_ARG6_OFFSET macro. - um_mmu.h was made into a userspace-usable file. - proc_mm and ptrace_faultinfo are globals which say whether the host supports these features. - There is a bad interaction between the mm.nr_ptes check at the end of exit_mmap, stack randomization, and skas0. exit_mmap will stop freeing pages at the PGDIR_SIZE boundary after the last vma. If the stack isn't on the last page table page, the last pte page won't be freed, as it should be since the stub ptes are there, and exit_mmap will BUG because there is an unfreed page. To get around this, TASK_SIZE is set to the next lowest PGDIR_SIZE boundary and mm->nr_ptes is decremented after the calls to init_stub_pte. This ensures that we know the process stack (and all other process mappings) will be below the top page table page, and thus we know that mm->nr_ptes will be one too many, and can be decremented. Things that need fixing: - We may need better assurrences that the stub code is PIC. - The stub pte is set up in init_new_context_skas. - alloc_pgdir is probably the right place. Signed-off-by: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1322ad41513f8f9196801f53cc0851df056f3478 tree c7494232c8d2bb840368c664be256b93bf6696fa parent 47b724f3fe372a3d9acf0bb560fb5c93c9867880 author Pavel Machek Thu, 07 Jul 2005 17:56:45 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:43 -0700 [PATCH] pm: clean up process.c freezeable() already tests for TRACED/STOPPED processes, no need to do it twice. Signed-off-by: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 47b724f3fe372a3d9acf0bb560fb5c93c9867880 tree bbb6cf40166e0be65cf5589a6b1d46e732df1f47 parent 3efa147ad7608196639882ba4075b376f306fe16 author Pavel Machek Thu, 07 Jul 2005 17:56:44 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:43 -0700 [PATCH] swsusp: fix error handling Fix error handling and whitespace in swsusp.c. swsusp_free() was called when there was nothing allocating, leading to oops. Signed-off-by: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3efa147ad7608196639882ba4075b376f306fe16 tree edc1176c8af4ce97c3586382ebb7de68936f1bec parent e00d9967e3addea86dded46deefc5daec5d52e5a author Pavel Machek Thu, 07 Jul 2005 17:56:43 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:43 -0700 [PATCH] pm: Fix resume from initrd Move device name resolution code around so that it is not called from resume-from-initrd. name_to_dev_t may be unavailable at that point. Signed-off-by: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e00d9967e3addea86dded46deefc5daec5d52e5a tree bd6f4fba60ac6173f6e8e4a61461c74c06e3fc9a parent 2a569579be87b5ba61f9b6c54fd5f9f307c53962 author Bernard Blackham Thu, 07 Jul 2005 17:56:42 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:43 -0700 [PATCH] pm: fix u32 vs. pm_message_t confusion in cpufreq Fix u32 vs pm_message_t confusion in cpufreq. Signed-off-by: Bernard Blackham Signed-off-by: Pavel Machek Cc: Dave Jones Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2a569579be87b5ba61f9b6c54fd5f9f307c53962 tree 6cc12f2384d235e87941a85a925618c10b419c7f parent e8af300c3bd87b2310f1e7a642f37e0fe49a754b author Pavel Machek Thu, 07 Jul 2005 17:56:40 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:43 -0700 [PATCH] pm: more u32 vs. pm_message_t fixes Few more u32 vs. pm_message_t fixes. Signed-off-by: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e8af300c3bd87b2310f1e7a642f37e0fe49a754b tree 3a4d7be252aef85fb93cd6ac65dcd9a983f5bdd8 parent 8ff8b27bb8ebfd863b49653da1b7bbd8609fcd7e author Dave Jones Thu, 07 Jul 2005 17:56:39 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:42 -0700 [PATCH] Fix up non-NUMA breakage in mmzone.h If CONFIG_NUMA isn't set, we use the define in for early_pfn_to_nid (which defines it to 0). Because of this, the prototype needs to move inside the CONFIG_NUMA too, or anal gcc's get really confused. Signed-off-by: Dave Jones Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8ff8b27bb8ebfd863b49653da1b7bbd8609fcd7e tree 16577a65b896e0e123701791a62ac056250f6d99 parent 3b520b238e018ef0e9d11c9115d5e7d9419c4ef9 author Dave Jones Thu, 07 Jul 2005 17:56:39 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:42 -0700 [PATCH] Clean up numa defines in mmzone.h The recent cleanups to asm-i386/mmzone.h were suboptimal nesting an ifdef of the same symbol. This patch removes some of the ifdef'ery to make things more readable again. Signed-off-by: Dave Jones Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3b520b238e018ef0e9d11c9115d5e7d9419c4ef9 tree 8b9bf3ccf2dd13dbbbcb4a3ff5028a351817b657 parent 01d299367fe868851a632cfbdb606845f57682aa author Shaohua Li Thu, 07 Jul 2005 17:56:38 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:42 -0700 [PATCH] MTRR suspend/resume cleanup There has been some discuss about solving the SMP MTRR suspend/resume breakage, but I didn't find a patch for it. This is an intent for it. The basic idea is moving mtrr initializing into cpu_identify for all APs (so it works for cpu hotplug). For BP, restore_processor_state is responsible for restoring MTRR. Signed-off-by: Shaohua Li Acked-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 01d299367fe868851a632cfbdb606845f57682aa tree a9d68f7a6d8638b14272ce12db1a8f602e024eea parent 059e277e5ba6486b5ef66deb336d4ef887f163ac author Adrian Bunk Thu, 07 Jul 2005 17:56:36 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:42 -0700 [PATCH] FRV: Add defconfig This patch by Yoshihiro MATSUYAMA (already ACK'ed by David Howells) adds a defconfig for the frv arch. Signed-Off-By: Yoshihiro MATSUYAMA Signed-off-by: Adrian Bunk Cc: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 059e277e5ba6486b5ef66deb336d4ef887f163ac tree 4d264678851822636a9299cab0b9bc8d3893927d parent b6bff397ea9c36d410212f785ee644103146102a author Anton Blanchard Thu, 07 Jul 2005 17:56:36 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:42 -0700 [PATCH] ppc64: silence perfmon exception warnings We dont need to use the PERFMON exception on POWER5, in fact the firmware returns an error. Due to this just remove the warning. Also now that we have proper runlatch support we can remove the bootup hack. Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b6bff397ea9c36d410212f785ee644103146102a tree ff1be4fa98c580cc3d3246d866b76102efa703cb parent 10ca1e1ed58d6428924b5a44539334c341a6f485 author Michael Ellerman Thu, 07 Jul 2005 17:56:35 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:42 -0700 [PATCH] ppc64: Be consistent about printing which idle loop we're using Not sure if we really need this, but it was handy to know which iSeries loop I was testing. Be consistent about printing which idle loop we're using, with this patch we cover all cases. Signed-off-by: Michael Ellerman Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 10ca1e1ed58d6428924b5a44539334c341a6f485 tree e3248ca2b069da7a3f5e477dad41944abd417325 parent 45e75dfb609df4391636c2218bec5ea04536601d author Anton Blanchard Thu, 07 Jul 2005 17:56:34 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:41 -0700 [PATCH] ppc64: fix compile warning Fix a compile warning introduced by the previous patches. Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 45e75dfb609df4391636c2218bec5ea04536601d tree 7b6bebf52bd2b27bc02d19f790482e9033d15ffb parent 050a09389e045f37e5bf08718cf36909766e20d1 author Anton Blanchard Thu, 07 Jul 2005 17:56:33 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:41 -0700 [PATCH] ppc64: idle fixups - remove some unnecessary includes - add runlatch support - no need to use raw_smp_processor_id any more, current preempt debug logic checks for processes that are bound to one cpu. Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 050a09389e045f37e5bf08718cf36909766e20d1 tree 55911d552e81729ddf825b44463805ade84eb1f0 parent 3c57bb9f454e8fc7b3d815b991b0dec43c766641 author Anton Blanchard Thu, 07 Jul 2005 17:56:33 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:41 -0700 [PATCH] ppc64: pSeries idle fixups - separate out sleep logic in dedicated_idle, it was so far indented that it got squashed against the right side of the screen. - add runlatch support, looping on runlatch disable. Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3c57bb9f454e8fc7b3d815b991b0dec43c766641 tree f9bfb5f481a3967eee66603107065fa728602448 parent 08d5e3eb4b2141e1031835c89a62ee3ddf896641 author Anton Blanchard Thu, 07 Jul 2005 17:56:32 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:41 -0700 [PATCH] ppc64: iSeries idle fixups - remove min/max yield time, we dont use the values anywhere - separate shared and dedicated idle loops - check need_resched again with irqs off to avoid sleeping with pending work - continually set runlatch off in idle loop, this means we dont need to turn the runlatch off on exception exit and suffer that associated cost for all exceptions. (A future patch will turn the runlatch on at exception entry) Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 08d5e3eb4b2141e1031835c89a62ee3ddf896641 tree f94edd066fc7e2b554a93812bb1938f6374178e0 parent 62d60e9f0f890c31e5a83a7d8ecdfd1c7975fdb9 author Michael Ellerman Thu, 07 Jul 2005 17:56:31 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:41 -0700 [PATCH] ppc64: Remove obsolete idle_setup() Now that the idle loop is configured by each platform we don't need idle_setup() anymore. Signed-off-by: Michael Ellerman Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 62d60e9f0f890c31e5a83a7d8ecdfd1c7975fdb9 tree 840653ffa74b54ec277630116355d161ab076679 parent c66d5dd6b5b62e1435b95c0fb42f6bcddeb395ea author Michael Ellerman Thu, 07 Jul 2005 17:56:30 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:41 -0700 [PATCH] ppc64: Fixup platforms for new ppc_md.idle This patch fixes up iSeries, pSeries, pmac and maple to set the correct idle function for each platform. Signed-off-by: Michael Ellerman Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c66d5dd6b5b62e1435b95c0fb42f6bcddeb395ea tree bb7a7241f07b1f7c75101469f87e2485f486e592 parent d200903e11f6867b91dffa81b2038e55be599f49 author Michael Ellerman Thu, 07 Jul 2005 17:56:29 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:41 -0700 [PATCH] ppc64: Move pSeries idle functions into pSeries_setup.c dedicated_idle() and shared_idle() are only used by pSeries, so move them into pSeries_setup.c Signed-off-by: Michael Ellerman Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d200903e11f6867b91dffa81b2038e55be599f49 tree e741dfb082e94685c6cb0d1ccc3616c216af7c7a parent fd899c0cc725387992ccfc83fb6f70505c36cbeb author Michael Ellerman Thu, 07 Jul 2005 17:56:29 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:40 -0700 [PATCH] ppc64: Move iSeries_idle() into iSeries_setup.c Move iSeries_idle() into iSeries_setup.c, no one else needs to know about it. Signed-off-by: Michael Ellerman Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fd899c0cc725387992ccfc83fb6f70505c36cbeb tree 0de5d3960c7e7247638c962d7913acec1ce2e9fe parent 88de0be0c7335650326a1236bf6ca1ed265c0a1c author Michael Ellerman Thu, 07 Jul 2005 17:56:28 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:40 -0700 [PATCH] ppc64: Make idle_loop a ppc_md function This patch adds an idle member to the ppc_md structure and calls it from cpu_idle(). If a platform leaves ppc_md.idle as null it will get the default idle loop default_idle(). Signed-off-by: Michael Ellerman Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 88de0be0c7335650326a1236bf6ca1ed265c0a1c tree 8883c2bae00d6adde360ff12fa934961e681d9a8 parent 70b234a40107596a713e9981c643f2717e31463f author Milton Miller Thu, 07 Jul 2005 17:56:27 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:40 -0700 [PATCH] hvc_console: Use hvc_get_chars in hvsi code Now that hvc_get_chars doesn't strip NULs, hvsi doesn't have to duplicate it. Signed-off-by: Milton Miller Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 70b234a40107596a713e9981c643f2717e31463f tree e7f0d4382c32b61efd671c051095535767288a30 parent 030ffad23fb28fc29608a3bc21f0c3b88bf28592 author Milton Miller Thu, 07 Jul 2005 17:56:26 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:40 -0700 [PATCH] hvc_console: Separate the NUL character filtering from get_hvc_chars Separate the NUL character filtering from get_hvc_chars. Signed-off-by: Milton Miller Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 030ffad23fb28fc29608a3bc21f0c3b88bf28592 tree 8fe8a2e8615e25e985c5658687d38c5c0ce7a971 parent acad9559f1054487292eb10d7bb81f256e9d8f2d author Milton Miller Thu, 07 Jul 2005 17:56:25 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:39 -0700 [PATCH] hvc_console: Register ops when setting up hvc_console When registering the hvc console port, register a list of ops (read and write) to go with it, instead of calling fixed function names. This allows different ports to encode the data differently. Signed-off-by: Milton Miller Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit acad9559f1054487292eb10d7bb81f256e9d8f2d tree 9496b1c81c776ab5c8af37246697052226a345a6 parent d5ee257c3342185ba8ab642d125d192eb99ea8f2 author Milton Miller Thu, 07 Jul 2005 17:56:24 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:39 -0700 [PATCH] hvc_console: Separate hvc_console and vio code 2 Remove all the vio device driver code from hvc_console.c This will allow us to separate hvsi, hvc, and allow hvc_console to be used without the ppc64 vio layer. Signed-off-by: Milton Miller Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d5ee257c3342185ba8ab642d125d192eb99ea8f2 tree da6d95fc65a48c36032cdfbb768385f50f7fb5ba parent 7805b1b29ffdd252dfef36aa28d7bda70cd586d3 author Milton Miller Thu, 07 Jul 2005 17:56:24 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:39 -0700 [PATCH] hvc_console: Separate hvc_console and vio code Separate the console setup routines of the hvc_console and the vio layer. Remove the call to find_init_vty from hvc_console.c. Fail the setup routine if the console doesn't exist, but register the console again when the specified channel is instantiated. This scheme maintains the print buffer semantics while eliminating callout and call back for the console code. Signed-off-by: Milton Miller Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7805b1b29ffdd252dfef36aa28d7bda70cd586d3 tree 675b2300649b389eb4fb02ec298309e40d235d2c parent 64e4da57964c03da9a03087a398cade81b7bb496 author Milton Miller Thu, 07 Jul 2005 17:56:23 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:39 -0700 [PATCH] hvc_console: Add some sanity checks Check if a vterm was registered before accepting it as a console. Check that a slot hasn't been probed with a tty in hvc_instantiate(). Check that a slot hasn't been free'ed when handing out console device. Signed-off-by: Milton Miller Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 64e4da57964c03da9a03087a398cade81b7bb496 tree 60c86746fa0a489431c2f2b390e050390da1952c parent 5f6d9c072df162a8601a09e6c63fd0e4f5aecd06 author Milton Miller Thu, 07 Jul 2005 17:56:22 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:39 -0700 [PATCH] hvc_console: Statically initialize the vtermnos array Statically initialize the vtermnos array. Signed-off-by: Milton Miller Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5f6d9c072df162a8601a09e6c63fd0e4f5aecd06 tree 6b8684f1449bc36f02397b4ca24b1b4a17cf2382 parent e51d8c90a5ead16810302b2dc5127724c9045e77 author Milton Miller Thu, 07 Jul 2005 17:56:21 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:39 -0700 [PATCH] hvc_console: remove num_vterms and some dead code num_vterms hasn't been used since the hotplug support went in. Also, remove a dead code line from a list_for_each_entry conversion. Signed-off-by: Milton Miller Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e51d8c90a5ead16810302b2dc5127724c9045e77 tree c229ac9b8b4702f897421e63f554f241739939cb parent 320da0d23ed1f82a896e0cfc1549a896d267777a author Milton Miller Thu, 07 Jul 2005 17:56:21 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:38 -0700 [PATCH] hvc_console: Add missing include hvc_console checks MAGIC_SYSRQ and XMON config vars. Signed-off-by: Milton Miller Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 320da0d23ed1f82a896e0cfc1549a896d267777a tree ea61c002d0d1e0448fa47e006b0e6700bfb1af97 parent 2b9e0bac9419404a2d210ccaffaec442fe63338e author Milton Miller Thu, 07 Jul 2005 17:56:20 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:38 -0700 [PATCH] hvc_console: Unregister the console in the exit routine. Be thorough in our exit routine, since it says it is there to be so. Unregistering without registering is safe (checked in 2.6.10). Signed-off-by: Milton Miller Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2b9e0bac9419404a2d210ccaffaec442fe63338e tree 30e434f301c38c66cc0ee4ebe9e7e0a594ce629e parent 8b67f8c177a642b35b7a05f530c12ef2834ef182 author Milton Miller Thu, 07 Jul 2005 17:56:19 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:38 -0700 [PATCH] hvc_console: MAGIC_SYSRQ should only be on console channel Guard the MAGIC_SYSRQ ^O to be just on the console channel. Make the other channels more transparent. Signed-off-by: Milton Miller Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8b67f8c177a642b35b7a05f530c12ef2834ef182 tree f1e0b3fc48737ccb8f88dd50f16721dec9ff97d8 parent 6f24808eeb54eed5994128a863cd25c40f36cfac author Milton Miller Thu, 07 Jul 2005 17:56:18 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:38 -0700 [PATCH] hvc_console: Dont always kick the poll thread in interrupt Have the hvc console code try to pull characters immediately when receiving an interrupt, and kick the poll thread only if the immediate poll indicates it needed a call back to do more work. Signed-off-by: Milton Miller Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6f24808eeb54eed5994128a863cd25c40f36cfac tree 19a4567d9e9d6b2b7f8d7be84068d6e734495b59 parent 837dcfaf46d147f1d2c64cbbecb832dd9075c39d author Milton Miller Thu, 07 Jul 2005 17:56:17 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:38 -0700 [PATCH] hvc_console: Match vio and console devices using vterm numbers Use the vterm numbers to match the vio devices being probed with the indices already allocated via the console initcall function hvc_find_vtys. The old code required hvc_find_vtys to "guess" the matching devices the vio subsystem would find and its probe order. Signed-off-by: Milton Miller Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 837dcfaf46d147f1d2c64cbbecb832dd9075c39d tree 4b8199609f63ee07126c6940c71d9a6f14bca4ec parent 5cee73fa04758f52b7404b93a02edf74649370ab author Milton Miller Thu, 07 Jul 2005 17:56:16 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:38 -0700 [PATCH] hvc_console: Rearrange code Milton Miller has done a lot of work to clean up our hvc_console code. One of the important things the following patch series does is separate the VIO layer from the hvc_console code. With the VIO specific code removed any ppc64 platform, or even any architecture, can use hvc_console as a generic polling console. You simply have to supply a get_chars and put_chars method and hvc_console does the rest of the work. You can even use it for an interrupt driven console. This patch: Rearrange the code in drivers/char/hvc_console.c to make future patches smaller. No actual code changes, just ordering of the functions in the file. Signed-off-by: Milton Miller Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5cee73fa04758f52b7404b93a02edf74649370ab tree 979efdef0776584a43fbd2e3043b7e5163a91aaf parent 79c2cc7b6d2cc31cff6a3d8e966a890f0a0d5f7a author Anton Blanchard Thu, 07 Jul 2005 17:56:15 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:37 -0700 [PATCH] ppc64: remove duplicate syscall reservation We already have a prototype for sys_remap_file_pages (239) so there is no need to reserve it twice. Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 79c2cc7b6d2cc31cff6a3d8e966a890f0a0d5f7a tree 8fba99fc6e39e35fd0416d0ce5d5593944241153 parent 4416f3968a23e25a257d679227a89710447760ab author Anton Blanchard Thu, 07 Jul 2005 17:56:15 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:37 -0700 [PATCH] ppc64: add ioprio syscalls - Clean up sys32_getpriority comment. - Add ioprio syscalls, and sign extend 32bit versions. Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4416f3968a23e25a257d679227a89710447760ab tree f66556c0553da43ee762f4b8ec100b687c9f1cdc parent cf36680887d6d942d2119c1ff1dfb2428b0f21f4 author Anton Blanchard Thu, 07 Jul 2005 17:56:14 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:37 -0700 [PATCH] ppc64: sys_ppc32.c cleanups Remove some unnecessary includes, an out of date comment and a prototype for sys_timer_create (which is now in syscalls.h) Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cf36680887d6d942d2119c1ff1dfb2428b0f21f4 tree 1290244377993179daabe5f2e0f3f636fbafbc47 parent 8dc4fd87f229414fc38648508aad7def2275fe81 author Anton Blanchard Thu, 07 Jul 2005 17:56:13 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:37 -0700 [PATCH] move ioprio syscalls into syscalls.h - Make ioprio syscalls return long, like set/getpriority syscalls. - Move function prototypes into syscalls.h so we can pick them up in the 32/64bit compat code. Signed-off-by: Anton Blanchard Acked-by: Jens Axboe Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8dc4fd87f229414fc38648508aad7def2275fe81 tree 4b9d330f855627807b4d7eab0b888bcb30403b32 parent a2f7a9ce2a5c3d21cc0eb37a03da603b44ba4b09 author Anton Blanchard Thu, 07 Jul 2005 17:56:12 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:37 -0700 [PATCH] ppc64: Turn runlatch on in exception entry Enable the runlatch at the start of each exception. Unfortunately we are out of space in the 0x300 handler, so I added it a bit later. The SPR write is fairly expensive, perhaps we should cache the runlatch state in the paca and avoid the write when possible. We don't need to turn the runlatch off, we do that in the idle loop. Better to take the hit in the idle loop than for each exception exit. Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a2f7a9ce2a5c3d21cc0eb37a03da603b44ba4b09 tree 20d782192f849d9f8f1eabd465246e8fd292324a parent 315a699851722a6bc31e35f91562f31f55d4c4a2 author Anton Blanchard Thu, 07 Jul 2005 17:56:11 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:37 -0700 [PATCH] ppc64: Fix runlatch code to work on pseries machines Not all ppc64 CPUs have the CTRL SPR, so we need a cputable feature for it. Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 315a699851722a6bc31e35f91562f31f55d4c4a2 tree 546c54bed0e5c46a63cd0ad89ddea43841409e9a parent 2098eec22882e8a50a21eb214df4742b34927dae author Anton Blanchard Thu, 07 Jul 2005 17:56:11 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:36 -0700 [PATCH] ppc64: use c99 initialisers in cputable code Use c99 initialisers in the cputable code. Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2098eec22882e8a50a21eb214df4742b34927dae tree 56486cc756b0177c31d007b798af53e727df1a94 parent 3c326fe9cb7ae022f7589a6f5781e49ceab82e64 author Olaf Hering Thu, 07 Jul 2005 17:56:09 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:36 -0700 [PATCH] ppc64: vdso32: fix link errors after recent toolchain changes Patch from , http://sources.redhat.com/bugzilla/show_bug.cgi?id=1042 /usr/bin/ld: arch/ppc64/kernel/vdso32/vdso32.so: The first section in the PT_DYNAMIC segment is not the .dynamic section Signed-off-by: Olaf Hering Acked-by: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3c326fe9cb7ae022f7589a6f5781e49ceab82e64 tree 98419a66ee601d790029b9cc670f49ad2c3dab35 parent 155ad605b3c9c5874ff068f23c6ea8537190e0a8 author Benjamin Herrenschmidt Thu, 07 Jul 2005 17:56:09 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:36 -0700 [PATCH] ppc64: Add new PHY to sungem This patch adds support for some new PHY models to sungem as used on some recent Apple iMac G5 models. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 155ad605b3c9c5874ff068f23c6ea8537190e0a8 tree 29de329925f9d7238f7d38c699a794ee39d672dc parent f182ae626189d8a346aae142e7b8b182663dac44 author Sam Ravnborg Thu, 07 Jul 2005 17:56:08 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:36 -0700 [PATCH] kbuild: build a single module using 'make dir/module.ko' Using the syntax: make dir/module.ko kbuild now allows one to build a module including the final link stage. This is usefull when one only wants to compile a single module and thus do not have to wait until a full kernel has finished compiling. Tested by: randy_dunlap Signed-off-by: Sam Ravnborg Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f182ae626189d8a346aae142e7b8b182663dac44 tree afe79051af04ce93062f49d2966fd150b60f2a3f parent 42639269f9ce4aac2e6c20bcbca30b5da8b9a899 author George Anzinger Thu, 07 Jul 2005 17:56:06 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:36 -0700 [PATCH] kbuild: build TAGS problem with O= make O=/dir TAGS fails with: MAKE TAGS find: security/selinux/include: No such file or directory find: include: No such file or directory find: include/asm-i386: No such file or directory find: include/asm-generic: No such file or directory The problem is in this line: ifeq ($(KBUILD_OUTPUT),) KBUILD_OUTPUT is not defined (ever) after make reruns itself. This line is used in the TAGS, tags, and cscope makes. Signed-off-by: George Anzinger Cc: Sam Ravnborg Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 42639269f9ce4aac2e6c20bcbca30b5da8b9a899 tree 1583ac4da9d2e40669d4579e338d8e506dedba5a parent 37b173a4d03d1681e6c9529bc43d7a3308132db6 author Anton Blanchard Thu, 07 Jul 2005 17:56:06 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:36 -0700 [PATCH] mm: quieten OOM killer noise We now print statistics when invoking the OOM killer, however this information is not rate limited and you can get into situations where the console is continually spammed. For example, when a task is exiting the OOM killer will simply return (waiting for that task to exit and clear up memory). If the VM continually calls back into the OOM killer we get thousands of copies of show_mem() on the console. Use printk_ratelimit() to quieten it. Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 37b173a4d03d1681e6c9529bc43d7a3308132db6 tree 478802dfe5afee12589d4d5533f8312a923c4ec2 parent 79b9ce311e192e9a31fd9f3cf1ee4a4edf9e2650 author Marcelo Tosatti Thu, 07 Jul 2005 17:56:05 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:35 -0700 [PATCH] remove completly bogus comment inside __alloc_pages() try_to_free_pages handling Remove completly bogus comment from did_some_progress != 0 handling (that same comment is a few lines below on did_some_progress = 0 case, where it belongs). Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 79b9ce311e192e9a31fd9f3cf1ee4a4edf9e2650 tree 210896405b2b70aded7582750e20967df8c8e7bf parent cb2c0233755429037462e16ea0d5497a0092738c author Marcelo Tosatti Thu, 07 Jul 2005 17:56:04 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:35 -0700 [PATCH] print order information when OOM killing Dump the current allocation order when OOM killing. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cb2c0233755429037462e16ea0d5497a0092738c tree 49c5d19090986c71b59dd2fb4c57b1e1ae33062d parent ca3f5a95b7d04eef0f88464f8d3299c1c01e8e13 author Mark Fasheh Thu, 07 Jul 2005 17:56:03 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:35 -0700 [PATCH] export generic_drop_inode() to modules OCFS2 wants to mark an inode which has been orphaned by another node so that during final iput it takes the correct path through the VFS and can pass through the OCFS2 delete_inode callback. Since i_nlink can get out of date with other nodes, the best way I see to accomplish this is by clearing i_nlink on those inodes at drop_inode time. Other than this small amount of work, nothing different needs to happen, so I think it would be cleanest to be able to just call generic_drop_inode at the end of the OCFS2 drop_inode callback. Signed-off-by: Mark Fasheh Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ca3f5a95b7d04eef0f88464f8d3299c1c01e8e13 tree dfc8c5124b3fa18b436b3958ec8946c091a13262 parent c23a4e9649f80a9379d7df4a33bc63b365d5e7fc author Andrew Morton Thu, 07 Jul 2005 17:56:02 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:35 -0700 [PATCH] i2o: config-osm build fix Various stuff missing on alpha: drivers/message/i2o/config-osm.c:35: error: field `fops' has incomplete type drivers/message/i2o/config-osm.c: In function `sysfs_create_fops_file': drivers/message/i2o/config-osm.c:71: error: storage size of `tmp' isn't known drivers/message/i2o/config-osm.c:78: error: dereferencing pointer to incomplete type drivers/message/i2o/config-osm.c:81: error: dereferencing pointer to incomplete type Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c23a4e9649f80a9379d7df4a33bc63b365d5e7fc tree 89fb4aae49a2fc7181aade9e1dae34b1cc145a54 parent eda80228860641b7b0e963e6bd219b960c500af9 author Andrew Morton Thu, 07 Jul 2005 17:56:02 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:35 -0700 [PATCH] iounmap debugging We get sporadic reports of `__iounmap: bad address' coming out. Add a dump_stack() to find the culprit. Try to identify which subsystem is having iounmap() problems. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit eda80228860641b7b0e963e6bd219b960c500af9 tree a6071d17769cd102034dc0555e2368a76b4227f8 parent 043d051615aa5da09a7e44f1edbb69798458e067 author Jeff Dike Thu, 07 Jul 2005 17:56:00 -0700 committer Linus Torvalds Thu, 07 Jul 2005 18:23:35 -0700 [PATCH] uml: kill some useless vmalloc tlb flushing There is absolutely no reason to flush the kernel's VM area during a tlb_flush_mm. This results in a noticable performance increase in the kernel build benchmark. Signed-off-by: Jeff Dike Cc: Paolo Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 043d051615aa5da09a7e44f1edbb69798458e067 tree a0bfe7f6ed6efa4e0eb7f6b9891a0dc3f2fafe57 parent c101f3136cc98a003d0d16be6fab7d0d950581a6 parent 21517a57e838a1fbb7a54a8a77501024e77f83e0 author Linus Torvalds Thu, 07 Jul 2005 10:24:51 -0700 committer Linus Torvalds Thu, 07 Jul 2005 10:24:51 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/aegl/linux-2.6 commit 21517a57e838a1fbb7a54a8a77501024e77f83e0 tree 85d934404c56c251ade30b8e2d617ea2c1ec1efa parent 8d7e35174d02ce76e910365acaaefc281a0b72a0 author Jack Steiner Thu, 07 Jul 2005 09:14:00 -0700 committer Tony Luck Thu, 07 Jul 2005 09:52:59 -0700 [IA64] - Disable tiocx driver on non-SN systems Disable the tiocx driver on non-SN systems. Signed-off-by: Jack Steiner Signed-off-by: Tony Luck commit 8ca7c1df08210fd35fccf1559837c92baaa4da8f tree 06d09b81f0718bd12b7a0fe8985f4aa13d7d2bc7 parent c101f3136cc98a003d0d16be6fab7d0d950581a6 author Dave Airlie Thu, 07 Jul 2005 21:51:26 +1000 committer Dave Airlie Thu, 07 Jul 2005 21:51:26 +1000 drm: add 32/64 support for MGA/R128/i915 This adds compatiblity ioctls for mga/r128 and i915 DRM drivers. From: Paul Mackerras, David Airlie, Alan Hourihane, Egbert Eich. Signed-off-by: David Airlie commit 850eb83a6a21b086624b227653ce90ad927ba423 tree 2720dbfd9989d3b002c98e84f3f6b4f480506dad parent c94f70298529d99ac6e1ee7709f61eab00adeb39 author Dave Airlie Thu, 07 Jul 2005 21:09:14 +1000 committer Dave Airlie Thu, 07 Jul 2005 21:09:14 +1000 drm: wrap config.h include in a ifdef KERNEL This file can be included from userspace so wrap the config.h include. Signed-off-by: David Airlie commit c94f70298529d99ac6e1ee7709f61eab00adeb39 tree 8e61aadcec3bd299a838cd640bf104eedee61ec3 parent b9523249de59c49e7c2cc83dfa73fb011a489a45 author Dave Airlie Thu, 07 Jul 2005 21:03:38 +1000 committer Dave Airlie Thu, 07 Jul 2005 21:03:38 +1000 drm: misc cleanup This patch contains the following cleanups: - make needlessly global functions static - remove the following unused global functions: - drm_fops.c: drm_read - i915_dma.c: i915_do_cleanup_pageflip Signed-off-by: Adrian Bunk Signed-off-by: Dave Airlie commit b9523249de59c49e7c2cc83dfa73fb011a489a45 tree 0cebe6a2eeec658f6beb588fb7c9b6e5a5af4033 parent f650130803c4c0b5e5d76eff24faae722e3a69e2 author Dave Airlie Thu, 07 Jul 2005 20:33:26 +1000 committer Dave Airlie Thu, 07 Jul 2005 20:33:26 +1000 drm: use kcalloc now that it is available.. Make the DRM drm_calloc call kcalloc now. Signed-off-by: Dave Airlie commit f650130803c4c0b5e5d76eff24faae722e3a69e2 tree f31074082bcdda3188917706fb040b67cce8a40e parent 0c7b525c344bc29a760c37053f8d5c80292ee1be author Dave Airlie Thu, 07 Jul 2005 20:17:42 +1000 committer Dave Airlie Thu, 07 Jul 2005 20:17:42 +1000 drm: ctx release can happen before dev->ctxlist is allocated From: Jon Smirl Signed-off-by: Dave Airlie commit 0c7b525c344bc29a760c37053f8d5c80292ee1be tree 9003290ac74732297b0866f89d691f732430c107 parent c101f3136cc98a003d0d16be6fab7d0d950581a6 author Dave Airlie Thu, 07 Jul 2005 20:16:08 +1000 committer Dave Airlie Thu, 07 Jul 2005 20:16:08 +1000 drm: fix minor issues caused by core conversion The conversion to core/driver got this check in-correct. Signed-off-by: Dave Airlie commit 717cb906bd43a9ac00631d600adda5c6546843a6 tree f41b250e9e0fa1e664f002fa9c4608d94527f2f2 parent 22f579c621e2f264e6d093b07d75f99bc97d5df2 parent c101f3136cc98a003d0d16be6fab7d0d950581a6 author Dave Airlie Thu, 07 Jul 2005 20:08:27 +1000 committer Dave Airlie Thu, 07 Jul 2005 20:08:27 +1000 Merge ../linux-2.6/ commit c101f3136cc98a003d0d16be6fab7d0d950581a6 tree 738f3ea3ff68245fb0900aeeeb73f1accb2bf956 parent 359ea2f1352a77177540a213283bc7489f546ced parent e3e01d6005ab4b0877f1fb3efef7f5b745e743be author Linus Torvalds Wed, 06 Jul 2005 22:15:13 -0700 committer Linus Torvalds Wed, 06 Jul 2005 22:15:13 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6 commit 8d7e35174d02ce76e910365acaaefc281a0b72a0 tree 4445375bbf8c08f8032c5a013374777931949285 parent 564601a5d12f93fdde04c6bc5b097b95e7752a46 author Tony Luck Wed, 06 Jul 2005 18:18:10 -0700 committer Tony Luck Wed, 06 Jul 2005 18:18:10 -0700 [IA64] fix generic/up builds Jesse Barnes provided the original version of this patch months ago, but other changes kept conflicting with it, so it got deferred. Greg Edwards dug it out of obscurity just over a week ago, and almost immediately another conflicting patch appeared (Bob Picco's memory-less nodes). I've resolved the conflicts and got it running again. CONFIG_SGI_TIOCX is set to "y" in defconfig, which causes a Tiger to not boot (oops in tiocx_init). But that can be resolved later ... get this in now before it gets stale again. Signed-off-by: Tony Luck commit 359ea2f1352a77177540a213283bc7489f546ced tree 95a313a9d920e432bafcdf68a9c7fb0812aa389b parent 960b8466548c9bc6f718b5f470c1a58000fab09d parent e1d5dea1dfbfe484358c40db7f233ed6b5605646 author Linus Torvalds Wed, 06 Jul 2005 17:04:06 -0700 committer Linus Torvalds Wed, 06 Jul 2005 17:04:06 -0700 Merge rsync://rsync.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6 commit 960b8466548c9bc6f718b5f470c1a58000fab09d tree 9dfe507f4b1d5dcde83249754a66d76a9851294f parent 107177410b754b597028e430725bc3b316936b6b author Ivan Kokshaysky Thu, 07 Jul 2005 03:07:56 +0400 committer Linus Torvalds Wed, 06 Jul 2005 16:12:58 -0700 [PATCH] yet another fix for setup-bus.c/x86 merge There is a slight disagreement between setup-bus.c code and traditional x86 PCI setup wrt which recourses are invalid vs resources that are free for further allocations. In particular, in the setup-bus.c, if we failed to allocate some resource, we nullify "start" and "flags" fields, but *not* the "end" one. But x86 pcibios_enable_resources() does the following check: if (!r->start && r->end) { printk(KERN_ERR "PCI: Device %s not available because of resource collisionsn", pci_name(dev)); return -EINVAL; which means that the device owning the offending resource cannot be enabled. In particular, this breaks cardbus behind the normal decode p2p bridge - the cardbus code from setup-bus.c requests rather large IO and MEM windows, and if it fails, the socket is completely unavailable. Which is wrong, as the yenta code is capable to allocate smaller windows. Signed-off-by: Ivan Kokshaysky Signed-off-by: Linus Torvalds commit 564601a5d12f93fdde04c6bc5b097b95e7752a46 tree 7ecd89b4eea6c626eb0726a5f7cf16e6e0f93b6e parent af25e94d4dcfb9608846242fabdd4e6014e5c9f0 author bob.picco Thu, 30 Jun 2005 09:52:00 -0700 committer Tony Luck Wed, 06 Jul 2005 15:45:30 -0700 [IA64] memory-less-nodes repost I reworked how nodes with only CPUs are treated. The patch below seems simpler to me and has eliminated the complicated routine reassign_cpu_only_nodes. There isn't any longer the requirement to modify ACPI NUMA information which was in large part the complexity introduced in reassign_cpu_only_nodes. This patch will produce a different number of nodes. For example, reassign_cpu_only_nodes would reduce two CPUonly nodes and one memory node configuration to one memory+CPUs node configuration. This patch doesn't change the number of nodes which means the user will see three. Two nodes without memory and one node with all the memory. While doing this patch, I noticed that early_nr_phys_cpus_node isn't serving any useful purpose. It is called once in find_pernode_space but the value isn't used to computer pernode space. Signed-off-by: bob.picco Signed-off-by: Tony Luck commit af25e94d4dcfb9608846242fabdd4e6014e5c9f0 tree f311db4563cb7f101520c737965e3d2180fcda67 parent 67d340f440f389e9d56201fb7c7aaa92f262feb1 author <> Fri, 01 Jul 2005 23:27:00 -0700 committer Tony Luck Wed, 06 Jul 2005 15:44:55 -0700 [IA64] Make ia64 die() preempt safe Signed-off-by: Keith Owens Signed-off-by: Tony Luck commit e3e01d6005ab4b0877f1fb3efef7f5b745e743be tree 0cb9fc0f68159edf52c08ee63b7891e0efba8942 parent 9d7495330be2fd88ab939fa5080d3ca9f64368c2 author Eddie C. Dost Wed, 06 Jul 2005 15:41:54 -0700 committer David S. Miller Wed, 06 Jul 2005 15:41:54 -0700 [SPARC64]: Fix enable_dma() in asm-sparc64/parport.h Call ebus_dma_enable() before calling ebus_dma_request(), otherwise ebus_dma_request() returns -EINVAL and enable_dma() calls BUG()... Signed-off-by: David S. Miller commit 9d7495330be2fd88ab939fa5080d3ca9f64368c2 tree f846a17f35704bfeb75a84aa4081c446406c5e32 parent 12cf649f417c68b6bdd2a3b4ed97113159c6029e author Eddie C. Dost Wed, 06 Jul 2005 15:41:17 -0700 committer David S. Miller Wed, 06 Jul 2005 15:41:17 -0700 [DVB]: Do not include from drivers. Signed-off-by: David S. Miller commit 12cf649f417c68b6bdd2a3b4ed97113159c6029e tree d04afa3cd1947245780376bb21be15fda5b1237a parent 90cdba648c5edf0ccabdadfc6e61f40c04e8bb00 author Eddie C. Dost Wed, 06 Jul 2005 15:40:21 -0700 committer David S. Miller Wed, 06 Jul 2005 15:40:21 -0700 [SPARC64]: Fix set_intr_affinity() Do not cat bucket->irq_info to struct irqaction * directly, but go through struct irq_desc *. Signed-off-by: David S. Miller commit 107177410b754b597028e430725bc3b316936b6b tree 146b9f2c0b032408d2e78ac69074e5d9bab2ffbd parent 07bbeaf12310263d808b1958f8413b95f98786ea parent 450008b5a62bb09445ae05c4d01d510386c9435d author Linus Torvalds Wed, 06 Jul 2005 15:39:15 -0700 committer Linus Torvalds Wed, 06 Jul 2005 15:39:15 -0700 Merge master.kernel.org:/home/rmk/linux-2.6-arm commit 90cdba648c5edf0ccabdadfc6e61f40c04e8bb00 tree 660824fb5f05a520b618078d1b8171120d08f4b9 parent 159f597a8bd0f1d7650d5e580c93a2666c9c26d1 author Eddie C. Dost Wed, 06 Jul 2005 15:37:58 -0700 committer David S. Miller Wed, 06 Jul 2005 15:37:58 -0700 [SPARC]: Fix "Eddie C. Dost" e-mail address Signed-off-by: David S. Miller commit 67d340f440f389e9d56201fb7c7aaa92f262feb1 tree a96c26a370beb23282a561ddd936e5d0aa93adde parent 2ba3e3e65cf182436757ba13ea8d564e2950fb56 parent 159f597a8bd0f1d7650d5e580c93a2666c9c26d1 author Tony Luck Wed, 06 Jul 2005 15:35:18 -0700 committer Tony Luck Wed, 06 Jul 2005 15:35:18 -0700 Auto merge with /home/aegl/GIT/linus commit 2ba3e3e65cf182436757ba13ea8d564e2950fb56 tree 7546a5141398e8ecaa493a58a4ca8af11deaf04d parent 7fe4c1b16854f0440939c62b8102cbf5c75e7cdc author Keith Owens Thu, 30 Jun 2005 22:53:00 -0700 committer Tony Luck Wed, 06 Jul 2005 15:31:15 -0700 [IA64] restore_sigcontext is not preempt safe restore_sigcontext calls ia64_set_local_fpu_owner() which requires that preempt be disabled. Signed-off-by: Keith Owens Signed-off-by: Tony Luck commit 7fe4c1b16854f0440939c62b8102cbf5c75e7cdc tree 4ec5ef085c011a582454f4a6df2705f4ce339ca3 parent 6f354b014b51716166f13f68b29212d3c44ed2c4 author Prarit Bhargava Wed, 06 Jul 2005 15:30:25 -0700 committer Tony Luck Wed, 06 Jul 2005 15:30:25 -0700 [IA64] hotplug/ia64: SN Hotplug Driver - PREEMPT/pcibus_info fix This patch fixes an issue with the PROM and a kernel running with CONFIG_PREEMPT enabled. When CONFIG_PREEMPT is enabled, the size of a spinlock_t changes -- resulting in the PROM writing to an incorrect location. Signed-off-by: Prarit Bhargava Signed-off-by: Tony Luck commit 6f354b014b51716166f13f68b29212d3c44ed2c4 tree 396c09a5d519630a53652a1187bb85fceba82cee parent 283c7f6ac6adb57e7dd13cdbc8d60b6ea4de6faf author Prarit Bhargava Wed, 06 Jul 2005 15:29:53 -0700 committer Tony Luck Wed, 06 Jul 2005 15:29:53 -0700 [IA64] hotplug/ia64: SN Hotplug Driver - SN Hotplug Driver code This patch is the SGI hotplug driver and additional changes required for the driver. These modifications include changes to the SN io_init.c code for memory management, the inclusion of new SAL calls to enable and disable PCI slots, and a hotplug-style driver. Signed-off-by: Prarit Bhargava Signed-off-by: Tony Luck commit 283c7f6ac6adb57e7dd13cdbc8d60b6ea4de6faf tree 53ce99a2373134c174f8df4f3729fcb4f11fb44e parent e07d01e0aeba905aeca6e0ae612943417d396a0f author Prarit Bhargava Wed, 06 Jul 2005 15:29:13 -0700 committer Tony Luck Wed, 06 Jul 2005 15:29:13 -0700 [IA64] hotplug/ia64: SN Hotplug Driver - new SN PROM version code This patch is a rewrite of the code to check the PROM version. The current code has some deficiences in the way PROM comparisons were made. The minimum value of PROM that will boot has also been changed to 4.04. Signed-off-by: Prarit Bhargava Signed-off-by: Tony Luck commit e07d01e0aeba905aeca6e0ae612943417d396a0f tree 5d445ad1803389844ccf9a4fcb9ec160ae554fd7 parent c13cf3714fc84ad2fd65771aa08e47c95a9f26ef author Prarit Bhargava Wed, 06 Jul 2005 15:28:40 -0700 committer Tony Luck Wed, 06 Jul 2005 15:28:40 -0700 [IA64] hotplug/ia64: SN Hotplug Driver - pci_find_next_bus export The pci_find_next_bus function is listed as being exported to drivers. It is not EXPORT_SYMBOL'd. Signed-off-by: Prarit Bhargava Signed-off-by: Tony Luck commit c13cf3714fc84ad2fd65771aa08e47c95a9f26ef tree f3fdd5f81fc0e39029f7cc6c8e4f41d6a736a4de parent cb4cb2cb9b0b14bdf2fc7125e099ed7e818cea42 author Prarit Bhargava Wed, 06 Jul 2005 15:26:51 -0700 committer Tony Luck Wed, 06 Jul 2005 15:26:51 -0700 [IA64] hotplug/ia64: SN Hotplug Driver: moving of header files This patch moves header files out of the arch/ia64/sn directories and into include/asm-ia64/sn. These files were being included by other subsystems and should be under include/asm-ia64/sn. Signed-off-by: Prarit Bhargava Signed-off-by: Tony Luck commit 450008b5a62bb09445ae05c4d01d510386c9435d tree 894096c083c3b8fa1e8ae93e49aad72ca879cccc parent 7bc7fc50ce272d9a68f8e11707cfc2cc94f4e8f5 author Deepak Saxena Wed, 06 Jul 2005 23:06:05 +0100 committer Russell King Wed, 06 Jul 2005 23:06:05 +0100 [PATCH] ARM: 2792/1: IXP4xx iomap API implementation Patch from Deepak Saxena This patch implements the iomap API for Intel IXP4xx NPU systems. We need to implement our own version of the API functions b/c of the PCI hostbridge does not provide the capability to map PCI I/O space into the CPU's physical memory space. In addition, if a system has more than 64M of PCI memory mapped BARs, PCI memory must also be accessed indirectly. This patch changes the assignment of PCI I/O resources to fall into to 0x0000:0xffff range so that we can trap I/O areas in our ioread/iowrite macros. Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit 7bc7fc50ce272d9a68f8e11707cfc2cc94f4e8f5 tree 891265ca82decd715c32c7029671502d0aa79d6f parent bcaafbe4a14e3c9b5275b3986c7599f7c6c278e4 author Todd Poynor Wed, 06 Jul 2005 23:06:05 +0100 committer Russell King Wed, 06 Jul 2005 23:06:05 +0100 [PATCH] ARM: 2791/1: Add CRCs for aliased ARM symbols Patch from Todd Poynor Fix module versioning for 3 ARM symbols that do not have CRCs added, avoid "disagrees about version of symbol struct_module" errors at module load time. From David Singleton. Signed-off-by: Todd Poynor Signed-off-by: Russell King commit bcaafbe4a14e3c9b5275b3986c7599f7c6c278e4 tree 6aee01eb8a7f0a52c1dbd5f852b278d4596b457a parent d1d890edace65721e9a7582545c943f67f500709 author Stefan Sorensen Wed, 06 Jul 2005 23:06:04 +0100 committer Russell King Wed, 06 Jul 2005 23:06:04 +0100 [PATCH] ARM: 2790/1: Properly terminate plat_serial8250_port arrays on ixdp425 and coyote Patch from Stefan Sorensen On the ixdp425 and coyote platforms, the plat_serial8250_port arrays are missing the terminating entry required by serial8250_probe. Signed-off-by: Stefan Sorensen Signed-off-by: Russell King commit d1d890edace65721e9a7582545c943f67f500709 tree 0c0170ed290533e2d1cf3576090afd5277fed579 parent a18bcb7450840f07a772a45229de4811d930f461 author Catalin Marinas Wed, 06 Jul 2005 23:06:03 +0100 committer Russell King Wed, 06 Jul 2005 23:06:03 +0100 [PATCH] ARM: 2789/1: Enable access to both CP10 and CP11 on ARMv6 Patch from Catalin Marinas The VFP instructions trigger undefined exceptions because the access to CP11 is disabled (only CP10 is currently enabled by the kernel). The patch fixes this problem. Signed-off-by: Catalin Marinas Signed-off-by: Russell King commit cb4cb2cb9b0b14bdf2fc7125e099ed7e818cea42 tree 11e110ce3201e0cbd3e30f1d4a1b0dc6ebe19bfa parent bd53d1270f51c6cfb53b06c8f93fd42327871d6b author Prarit Bhargava Wed, 06 Jul 2005 14:59:44 -0700 committer Tony Luck Wed, 06 Jul 2005 14:59:44 -0700 [IA64] hotplug/ia64: SN Hotplug Driver: SN IRQ Fixes This patch fixes the SN IRQ code such that cpu affinity and Hotplug can modify IRQ values. The sn_irq_info structures are now locked using a RCU lock mechanism to avoid lock contention in the lost interrupt WAR code. Signed-off-by: Prarit Bhargava Signed-off-by: Tony Luck commit e1d5dea1dfbfe484358c40db7f233ed6b5605646 tree 0bcea9bf2d5d12f1a400e01cffd001d2d22e4026 parent a9df3597fec5472d0840fbfdc2a3fac5268f7d08 author Dag Arne Osvik Wed, 06 Jul 2005 13:55:44 -0700 committer David S. Miller Wed, 06 Jul 2005 13:55:44 -0700 [CRYPTO] Add faster DES code from Dag Arne Osvik I've made a new implementation of DES to replace the old one in the kernel. It provides faster encryption on all tested processors apart from the original Pentium, and key setup is many times faster. Speed relative to old kernel implementation Processor des_setkey des_encrypt des3_ede_setkey des3_ede_encrypt Pentium 120Mhz 6.8 0.82 7.2 0.86 Pentium III 1.266Ghz 5.6 1.19 5.8 1.34 Pentium M 1.3Ghz 5.7 1.15 6.0 1.31 Pentium 4 2.266Ghz 5.8 1.24 6.0 1.40 Pentium 4E 3Ghz 5.4 1.27 5.5 1.48 StrongARM 1110 206Mhz 4.3 1.03 4.4 1.14 Athlon XP 2Ghz 7.8 1.44 8.1 1.61 Athlon 64 2Ghz 7.8 1.34 8.3 1.49 Signed-off-by: Dag Arne Osvik Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit a9df3597fec5472d0840fbfdc2a3fac5268f7d08 tree 965197414a7a5670bedfe6ea4c914af62a5f8229 parent a2a892a236d03a6e985471a7e57d1c863de144c8 author Herbert Xu Wed, 06 Jul 2005 13:55:21 -0700 committer David S. Miller Wed, 06 Jul 2005 13:55:21 -0700 [CRYPTO] Remove unused iv field from context structure The iv field in des_ctx/des3_ede_ctx/serpent_ctx has never been used. This was noticed by Dag Arne Osvik. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit a2a892a236d03a6e985471a7e57d1c863de144c8 tree 33b52c87bdecf0f24936b952a565a445ce03c616 parent a61cc44812ff94793987bf43b70a3d9bc64a6820 author Andreas Steinmetz Wed, 06 Jul 2005 13:55:00 -0700 committer David S. Miller Wed, 06 Jul 2005 13:55:00 -0700 [CRYPTO] Add x86_64 asm AES Implementation: =============== The encrypt/decrypt code is based on an x86 implementation I did a while ago which I never published. This unpublished implementation does include an assembler based key schedule and precomputed tables. For simplicity and best acceptance, however, I took Gladman's in-kernel code for table generation and key schedule for the kernel port of my assembler code and modified this code to produce the key schedule as required by my assembler implementation. File locations and Kconfig are kept similar to the i586 AES assembler implementation. It may seem a little bit strange to use 32 bit I/O and registers in the assembler implementation but this gives the best code size. My implementation takes one instruction more per round compared to Gladman's x86 assembler but it doesn't require any stack for local variables or saved registers and it is less serialized than Gladman's code. Note that all comparisons to Gladman's code were done after my code was implemented. I did only use FIPS PUB 197 for the implementation so my implementation is independent work. If anybody has a better assembler solution for x86_64 I'll be pleased to have my code replaced with the better solution. Testing: ======== The implementation passes the in-kernel crypto testing module and I'm running it without any problems on my laptop where it is mainly used for dm-crypt. Microbenchmark: =============== The microbenchmark was done in userspace with similar compile flags as used during kernel compile. Encrypt/decrypt is about 35% faster than the generic C implementation. As the generic C as well as my assembler implementation are both table I don't really expect that there is much room for further improvements though I'll be glad to be corrected here. The key schedule is about 5% slower than the generic C implementation. This is due to the fact that some more work has to be done in the key schedule routine to fit the schedule to the assembler implementation. Code Size: ========== Encrypt and decrypt are together about 2.1 Kbytes smaller than the generic C implementation which is important with regard to L1 cache usage. The key schedule routine is about 100 bytes larger than the generic C implementation. Data Size: ========== There's no difference in data size requirements between the assembler implementation and the generic C implementation. License: ======== Gladmans's code is dual BSD/GPL whereas my assembler code is GPLv2 only (I'm not going to change the license for my code). So I had to change the module license for the x86_64 aes module from 'Dual BSD/GPL' to 'GPL' to reflect the most restrictive license within the module. Signed-off-by: Andreas Steinmetz Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit a61cc44812ff94793987bf43b70a3d9bc64a6820 tree 65cf93c2a89fb0072a69c2904202713a2e895098 parent 476df259cd577e20379b02a7f7ffd086ea925a83 author Jesper Juhl Wed, 06 Jul 2005 13:54:31 -0700 committer David S. Miller Wed, 06 Jul 2005 13:54:31 -0700 [CRYPTO] Add null short circuit to crypto_free_tfm As far as I'm aware there's a general concensus that functions that are responsible for freeing resources should be able to cope with being passed a NULL pointer. This makes sense as it removes the need for all callers to check for NULL, thus elliminating the bugs that happen when some forget (safer to just check centrally in the freeing function) and it also makes for smaller code all over due to the lack of all those NULL checks. This patch makes it safe to pass the crypto_free_tfm() function a NULL pointer. Once this patch is applied we can start removing the NULL checks from the callers. Signed-off-by: Jesper Juhl Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit 476df259cd577e20379b02a7f7ffd086ea925a83 tree 85697704c53e0905d1b83a4ec3525cf20ca53455 parent 915e8561d559abba1b81934e31e54a3f850fa7bf author Herbert Xu Wed, 06 Jul 2005 13:54:09 -0700 committer David S. Miller Wed, 06 Jul 2005 13:54:09 -0700 [CRYPTO] Update IV correctly for Padlock CBC encryption When the Padlock does CBC encryption, the memory pointed to by EAX is not updated at all. Instead, it updates the value of EAX by pointing it to the last block in the output. Therefore to maintain the correct semantics we need to copy the IV. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit 915e8561d559abba1b81934e31e54a3f850fa7bf tree 12c08e7ec182ca11125097e2f485eab7a48b03df parent fbdae9f3e7fb57c07cb0d973f113eb25da2e8ff2 author Herbert Xu Wed, 06 Jul 2005 13:53:47 -0700 committer David S. Miller Wed, 06 Jul 2005 13:53:47 -0700 [CRYPTO] Handle unaligned iv from encrypt_iv/decrypt_iv Even though cit_iv is now always aligned, the user can still supply an unaligned iv through crypto_cipher_encrypt_iv/crypto_cipher_decrypt_iv. This patch will check the alignment of the user-supplied iv and copy it if necessary. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit fbdae9f3e7fb57c07cb0d973f113eb25da2e8ff2 tree b20909c92c2d48ab449343967b1c365732d7e4ff parent 176c3652c544b6f8d4bb1984c58c10080f45dbf0 author Herbert Xu Wed, 06 Jul 2005 13:53:29 -0700 committer David S. Miller Wed, 06 Jul 2005 13:53:29 -0700 [CRYPTO] Ensure cit_iv is aligned correctly This patch ensures that cit_iv is aligned according to cra_alignmask by allocating it as part of the tfm structure. As a side effect the crypto layer will also guarantee that the tfm ctx area has enough space to be aligned by cra_alignmask. This allows us to remove the extra space reservation from the Padlock driver. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit 176c3652c544b6f8d4bb1984c58c10080f45dbf0 tree a9b29e6e341484df8a0040de7506807f82be3e66 parent 28e8c3ad9464de54a632f00ab3df88fa5f4652d1 author Adrian Bunk Wed, 06 Jul 2005 13:53:09 -0700 committer David S. Miller Wed, 06 Jul 2005 13:53:09 -0700 [CRYPTO] Make crypto_alg_lookup static This patch makes a needlessly global function static. Signed-off-by: Adrian Bunk Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit 28e8c3ad9464de54a632f00ab3df88fa5f4652d1 tree ba62694afc67bcd6dc817d137e8259cb526a51c6 parent 6789b2dc455b90efc9c88886c9366adc9abb7347 author Herbert Xu Wed, 06 Jul 2005 13:52:43 -0700 committer David S. Miller Wed, 06 Jul 2005 13:52:43 -0700 [PADLOCK] Implement multi-block operations By operating on multiple blocks at once, we expect to extract more performance out of the VIA Padlock. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit 6789b2dc455b90efc9c88886c9366adc9abb7347 tree a962565f31b2c8c0cb112b2ce482cceb3d16caef parent 95477377995aefa2ec1654a9a3777bd57ea99146 author Herbert Xu Wed, 06 Jul 2005 13:52:27 -0700 committer David S. Miller Wed, 06 Jul 2005 13:52:27 -0700 [PADLOCK] Move fast path work into aes_set_key and upper layer Most of the work done aes_padlock can be done in aes_set_key. This means that we only have to do it once when the key changes rather than every time we perform an encryption or decryption. This patch also sets cra_alignmask to let the upper layer ensure that the buffers fed to us are aligned correctly. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit 95477377995aefa2ec1654a9a3777bd57ea99146 tree 7aa4d6173de13c81c2fa0e4d2f9e0de22e141b6a parent 40725181b74be6b0e3bdc8c05bd1e0b9873ec5cc author Herbert Xu Wed, 06 Jul 2005 13:52:09 -0700 committer David S. Miller Wed, 06 Jul 2005 13:52:09 -0700 [CRYPTO] Add alignmask for low-level cipher implementations The VIA Padlock device requires the input and output buffers to be aligned on 16-byte boundaries. This patch adds the alignmask attribute for low-level cipher implementations to indicate their alignment requirements. The mid-level crypt() function will copy the input/output buffers if they are not aligned correctly before they are passed to the low-level implementation. Strictly speaking, some of the software implementations require the buffers to be aligned on 4-byte boundaries as they do 32-bit loads. However, it is not clear whether it is better to copy the buffers or pay the penalty for unaligned loads/stores. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit 40725181b74be6b0e3bdc8c05bd1e0b9873ec5cc tree abbc1057a5e0bd77385d17cfc6146617151e93bc parent c774e93e2152d0be2612739418689e6e6400f4eb author Herbert Xu Wed, 06 Jul 2005 13:51:52 -0700 committer David S. Miller Wed, 06 Jul 2005 13:51:52 -0700 [CRYPTO] Add support for low-level multi-block operations This patch adds hooks for cipher algorithms to implement multi-block ECB/CBC operations directly. This is expected to provide significant performance boots to the VIA Padlock. It could also be used for improving software implementations such as AES where operating on multiple blocks at a time may enable certain optimisations. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit c774e93e2152d0be2612739418689e6e6400f4eb tree abe25ec0577bd95128adb3f38609a09f0a3e2469 parent 8279dd748f9704b811e528b31304e2fab026abc5 author Herbert Xu Wed, 06 Jul 2005 13:51:31 -0700 committer David S. Miller Wed, 06 Jul 2005 13:51:31 -0700 [CRYPTO] Add plumbing for multi-block operations The VIA Padlock device is able to perform much better when multiple blocks are fed to it at once. As this device offers an exceptional throughput rate it is worthwhile to optimise the infrastructure specifically for it. We shift the existing page-sized fast path down to the CBC/ECB functions. We can then replace the CBC/ECB functions with functions provided by the underlying algorithm that performs the multi-block operations. As a side-effect this improves the performance of large cipher operations for all existing algorithm implementations. I've measured the gain to be around 5% for 3DES and 15% for AES. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit 8279dd748f9704b811e528b31304e2fab026abc5 tree d824994f48492dc3910ec3bf82d147cd8f796f20 parent b4634484815e1879512a23e4f59eef648135c30a author Jesper Juhl Wed, 06 Jul 2005 13:51:00 -0700 committer David S. Miller Wed, 06 Jul 2005 13:51:00 -0700 [CRYPTO] Don't check for NULL before kfree() Checking a pointer for NULL before calling kfree() on it is redundant. This patch removes such checks from crypto/ Signed-off-by: Jesper Juhl Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit 07bbeaf12310263d808b1958f8413b95f98786ea tree 5a739fb75f8e14b8c5f2274d8f1efa6fed145b34 parent 184f6eb8c46afc2a4aa6cb7c51ebc423c36d9c9d author Linus Torvalds Wed, 06 Jul 2005 13:05:50 -0700 committer Linus Torvalds Wed, 06 Jul 2005 13:05:50 -0700 ieee1394: fix broken signed char assumption. "ack_code" is assigned (and tested against) negative numbers, but was declared as "char". Which only works if "char" is signed - which it necessarily isn't. So make that signedness assumption specific. commit 184f6eb8c46afc2a4aa6cb7c51ebc423c36d9c9d tree e32c7dac4947a252f6e17e62db37ca0e4d5fdf9c parent b5bf5b6786ccfc9e0c8801291f463d92c8e0b423 author Jeff Mahoney Wed, 06 Jul 2005 15:45:09 -0400 committer Linus Torvalds Wed, 06 Jul 2005 12:55:20 -0700 [PATCH] openfirmware: implement hotplug for macio devices This adds the hotplug routine for generating hotplug events when devices are seen on the macio bus. It uses the attributed created by the sysfs nodes to generate the hotplug environment vars for userspace. Since the characters allowed inside the 'compatible' field are NUL terminated, they are exported as individual OF_COMPATIBLE_# variables, with OF_COMPATIBLE_N maintaining a count of how many there are. In order for hotplug to work with macio devices, patches to module-init-tools and hotplug must be applied. Those patches are available at: ftp://ftp.suse.com/pub/people/jeffm/linux/macio-hotplug/ Signed-off-by: Jeff Mahoney Signed-off-by: Linus Torvalds commit b5bf5b6786ccfc9e0c8801291f463d92c8e0b423 tree 2b398307b9d647f8f8902093f66ec20348727567 parent 5e6557722e69840506eb8bc5a1edcdb4e447a917 author Jeff Mahoney Wed, 06 Jul 2005 15:26:27 -0400 committer Linus Torvalds Wed, 06 Jul 2005 12:55:20 -0700 [PATCH] openfirmware: add sysfs nodes for open firmware devices This adds sysfs nodes that the hotplug userspace can use to load the appropriate modules. In order for hotplug to work with macio devices, patches to module-init-tools and hotplug must be applied. Those patches are available at: ftp://ftp.suse.com/pub/people/jeffm/linux/macio-hotplug/ Changes: The previous versions were built on 2.6.12. 2.6.13-rcX introduced a device_attribute parameter to the show functions. Since that parameter was treated as the output buffer, memory corruption would result, causing Oopsen very quickly. Signed-off-by: Jeff Mahoney Signed-off-by: Linus Torvalds commit 5e6557722e69840506eb8bc5a1edcdb4e447a917 tree 965d19e55a56d2daaed47711c01a8c27e29e592c parent 159f597a8bd0f1d7650d5e580c93a2666c9c26d1 author Jeff Mahoney Wed, 06 Jul 2005 15:44:41 -0400 committer Linus Torvalds Wed, 06 Jul 2005 12:55:20 -0700 [PATCH] openfirmware: generate device table for userspace This converts the usage of struct of_match to struct of_device_id, similar to pci_device_id. This allows a device table to be generated, which can be parsed by depmod(8) to generate a map file for module loading. In order for hotplug to work with macio devices, patches to module-init-tools and hotplug must be applied. Those patches are available at: ftp://ftp.suse.com/pub/people/jeffm/linux/macio-hotplug/ Signed-off-by: Jeff Mahoney Signed-off-by: Linus Torvalds commit 159f597a8bd0f1d7650d5e580c93a2666c9c26d1 tree 70eef6f2d06a6f3ac36ef8ac8ea24445880986a0 parent 83b78bd2d31f12d7d9317d9802a1996a7bd8a6f2 author Dave Jones Wed, 06 Jul 2005 15:29:09 -0400 committer Linus Torvalds Wed, 06 Jul 2005 12:40:35 -0700 [PATCH] Fix bt87x.c build problem for real Just the declaration fix wasn't enough to fix things in bt78x.c Signed-off-by: Dave Jones Signed-off-by: Linus Torvalds commit 83b78bd2d31f12d7d9317d9802a1996a7bd8a6f2 tree 79468471ee42a327cad337d065a9498833d5bd24 parent b4634484815e1879512a23e4f59eef648135c30a author Christoph Lameter Wed, 06 Jul 2005 10:47:07 -0700 committer Linus Torvalds Wed, 06 Jul 2005 10:52:45 -0700 [PATCH] Fix broken kmalloc_node in rc1/rc2 This patch used to be in Andrew's tree before the NUMA slab allocator went in. Either this patch or the NUMA slab allocator is needed in order for kmalloc_node to work correctly. pcibus_to_node may be used to generate the node information passed to kmalloc_node. pcibus_to_node returns -1 if it was not able to determine on which node a pcibus is located. For that case kmalloc_node must work like kmalloc. Signed-off-by: Christoph Lameter Signed-off-by: Linus Torvalds commit b4634484815e1879512a23e4f59eef648135c30a tree 2fe5cb66de97b707e23d531578dc2a656855415e parent 3d3c2ae1101c1f2dff7e2f9d514769779dbd2737 author Greg KH Wed, 06 Jul 2005 08:51:03 -0700 committer Linus Torvalds Wed, 06 Jul 2005 09:34:23 -0700 [PATCH] Fix bt87x.c build problem Missing forward declaration Signed-off-by: Greg Kroah-Hartman Signed-off-by: Linus Torvalds commit 3d3c2ae1101c1f2dff7e2f9d514769779dbd2737 tree 366f36bab03ca4471430021b5f2283993c19f4de parent a18bcb7450840f07a772a45229de4811d930f461 author Greg KH Wed, 06 Jul 2005 09:09:38 -0700 committer Linus Torvalds Wed, 06 Jul 2005 09:22:45 -0700 [PATCH] PCI: fix !CONFIG_HOTPLUG pci build problem Here's a patch to fix the build issue when CONFIG_HOTPLUG is not enabled in 2.6.13-rc2. Signed-off-by: Greg Kroah-Hartman Signed-off-by: Linus Torvalds commit 22f579c621e2f264e6d093b07d75f99bc97d5df2 tree 6af70ad6c3a7bc7e1983281c2674d7880ca41559 parent 99f95e5286df2f69edab8a04c7080d986ee4233b author Dave Airlie Tue, 28 Jun 2005 22:48:56 +1000 committer Dave Airlie Tue, 28 Jun 2005 22:48:56 +1000 drm: Add via unichrome support Add DRM device driver for VIA Unichrome chipsets From: Unichrome Project http://unichrome.sf.net, Erdi Chen, Thomas Hellstrom Signed-off-by: Dave Airlie