commit 3eeab61aa3ddd3c0bedb7449ada1599de22fdb5a tree 0bb8477f775e48ab32900d254116288ee794441d parent 6585b572402e5ec7936422123b44b65fef7a5ea6 parent b8c06a2ab68661bf841e21003f4447f8d422aed3 author Linus Torvalds Fri, 22 Sep 2006 17:51:59 -0700 committer Linus Torvalds Fri, 22 Sep 2006 17:51:59 -0700 Merge git://git.kernel.org/pub/scm/linux/kernel/git/sfrench/cifs-2.6 * git://git.kernel.org/pub/scm/linux/kernel/git/sfrench/cifs-2.6: [CIFS] statfs for cifs unix extensions no longer experimental [CIFS] New POSIX locking code not setting rc properly to zero on successful [CIFS] Support deep tree mounts (e.g. mounts to //server/share/path) commit 6585b572402e5ec7936422123b44b65fef7a5ea6 tree 52eef1d14bcf6f6ad6226fca02e8198a30d7abe3 parent 2ee8099f2c2bc74a7c2fac7f83e12a5d651681d3 parent edf03fb0575cbee2595a63374b17dc0921f2094a author Linus Torvalds Fri, 22 Sep 2006 17:50:50 -0700 committer Linus Torvalds Fri, 22 Sep 2006 17:50:50 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/davej/agpgart * master.kernel.org:/pub/scm/linux/kernel/git/davej/agpgart: [AGPGART] Rework AGPv3 modesetting fallback. [AGPGART] Add suspend callback for i965 [AGPGART] Fix number of aperture sizes in 830 gart structs. [AGPGART] Intel 965 Express support. [AGPGART] agp.h: constify struct agp_bridge_data::version [AGPGART] const'ify VIA AGP PCI table. [AGPGART] CONFIG_PM=n slim: drivers/char/agp/intel-agp.c [AGPGART] CONFIG_PM=n slim: drivers/char/agp/efficeon-agp.c [AGPGART] Const'ify the agpgart driver version. [AGPGART] remove private page protection map commit 2ee8099f2c2bc74a7c2fac7f83e12a5d651681d3 tree 433ebb87a3d5d02e7df3700c846ac9af632c55f3 parent c03efdb202a4882f426ce49766859af4058c9b8a parent 24669f7d00d387799fc6a39452ab22d7f078f043 author Linus Torvalds Fri, 22 Sep 2006 17:50:22 -0700 committer Linus Torvalds Fri, 22 Sep 2006 17:50:22 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/davej/cpufreq * master.kernel.org:/pub/scm/linux/kernel/git/davej/cpufreq: [CPUFREQ] sw_any_bug_dmi_table can be used on resume, so it isn't initdata [CPUFREQ] Fix some more CPU hotplug locking. [CPUFREQ] Workaround for BIOS bug in software coordination of frequency [CPUFREQ] Longhaul - Add voltage scaling to driver [CPUFREQ] Fix sparse warning in ondemand [CPUFREQ] make drivers/cpufreq/cpufreq_ondemand.c:powersave_bias_target() static [CPUFREQ] Longhaul - Add ignore_latency option [CPUFREQ] Longhaul - Disable arbiter [CPUFREQ][2/2] ondemand: updated add powersave_bias tunable [CPUFREQ][1/2] ondemand: updated tune for hardware coordination [CPUFREQ] Fix typo. commit c03efdb202a4882f426ce49766859af4058c9b8a tree 9bdfd7ff7908d13193605b77faf4b0cc18ef484b parent 956295d50dc5462722f029de64d44a7ecba54e69 author Al Viro Sat, 23 Sep 2006 01:29:34 +0100 committer Linus Torvalds Fri, 22 Sep 2006 17:48:57 -0700 [PATCH] fallout from hcd-core patch missing le16_to_cpu() Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 956295d50dc5462722f029de64d44a7ecba54e69 tree 839ebe5631d59e702db05e37b506af446f4615e9 parent 5932ef077716e3e798eaba6738ef874849f62a17 author Al Viro Sat, 23 Sep 2006 01:27:30 +0100 committer Linus Torvalds Fri, 22 Sep 2006 17:48:57 -0700 [PATCH] fix the survivors of fbcon_vbl_handler() renaming In |Author: James Simmons |Date: Thu Mar 13 22:37:08 2003 -0800 | | [FBCON] Cursor handling clean up. I nuked several static variables. we have -static void fbcon_vbl_handler(int irq, void *dummy, struct pt_regs *fp) +static void fb_vbl_handler(int irq, void *dev_id, struct pt_regs *fp) and 3 years later a couple of instances missed back then still remains there. Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 5932ef077716e3e798eaba6738ef874849f62a17 tree aef525063c75811002dc97033cfa6a9933e026ff parent a07562e03a3f4a1276931e3fb3cb532622a6c616 author Al Viro Sat, 23 Sep 2006 01:26:02 +0100 committer Linus Torvalds Fri, 22 Sep 2006 17:48:57 -0700 [PATCH] sun4: fix sbus_setup_iommu() iommu_init() and iounit_init() are never called for sun4, but that's not enough - these calls should be ifdefed out since the functions in question simply do not exist for CONFIG_SUN4 kernel. Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit a07562e03a3f4a1276931e3fb3cb532622a6c616 tree 18853119251593544627d1b249b83d34b6064a51 parent 00ddaf20b0049c65ddd0c2b1cbed16c7a433e47c author Al Viro Sat, 23 Sep 2006 01:25:18 +0100 committer Linus Torvalds Fri, 22 Sep 2006 17:48:57 -0700 [PATCH] asm/backlight.h is ppc-only Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 00ddaf20b0049c65ddd0c2b1cbed16c7a433e47c tree 34b5fa03e9d81611dd1e746813a350a9961850c8 parent 55ae922323c90fdcb733c13ccf0da2ee72763913 author Al Viro Sat, 23 Sep 2006 01:22:46 +0100 committer Linus Torvalds Fri, 22 Sep 2006 17:48:56 -0700 [PATCH] sanitize frv archclean Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 55ae922323c90fdcb733c13ccf0da2ee72763913 tree 86fbf40a8bf2678f5cdd254b70021032b20e851c parent 634965f5cfda1763f51e7916cfa49265b70e2a8d author Al Viro Sat, 23 Sep 2006 01:24:25 +0100 committer Linus Torvalds Fri, 22 Sep 2006 17:48:56 -0700 [PATCH] aoa is pmac-only Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 634965f5cfda1763f51e7916cfa49265b70e2a8d tree d8b1dce2b96fb7e63e558085f2a80eb369f62268 parent cc9bd99e9adfa4f44ea050a63fb41a3f764acf84 author Al Viro Sat, 23 Sep 2006 01:20:31 +0100 committer Linus Torvalds Fri, 22 Sep 2006 17:48:56 -0700 [PATCH] memcpy_fromio() missing in istallion memcpy() from iomem is a bad thing... Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit cc9bd99e9adfa4f44ea050a63fb41a3f764acf84 tree d8f4512b107305f119d727e7fd3f523fd9125f4e parent a83fbf635992442edf6aa3252e4008d4a08edf12 author Al Viro Sat, 23 Sep 2006 01:18:41 +0100 committer Linus Torvalds Fri, 22 Sep 2006 17:48:56 -0700 [PATCH] fix ancient breakage in ebus_init() Back when pci_dev had base_address[], loop of form base = &...->base_address[0]; for (.....) { ... *base++ = addr; } was fine, but when that array got spread in ->resource[...].start replacing the initialization with base = &...->resource[0].start; was not a sufficient modification. IOW this code got broken for cases when there had been more than one resource to fill. All way back in 2.3.41-pre3... Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit a83fbf635992442edf6aa3252e4008d4a08edf12 tree dd31c01247cea278a77dcb88732d19c92b9bca77 parent db392219c5f572610645696e3672f6ea38783a65 author Al Viro Sat, 23 Sep 2006 00:10:18 +0100 committer Linus Torvalds Fri, 22 Sep 2006 17:48:56 -0700 [PATCH] fix missing ifdefs in syscall classes hookup for generic targets several targets have no ....at() family and m32r calls its only chown variant chown32(), with __NR_chown being undefined. creat(2) is also absent in some targets. Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 24669f7d00d387799fc6a39452ab22d7f078f043 tree 4ccea639fe4958e45586c7f19e6f77a39faaa9cc parent ddad65df0048e210c93640b59b3bad12701febb6 author Jeremy Fitzhardinge Tue, 12 Sep 2006 18:55:53 -0700 committer Dave Jones Fri, 22 Sep 2006 19:18:19 -0400 [CPUFREQ] sw_any_bug_dmi_table can be used on resume, so it isn't initdata sw_any_bug_dmi_table can be used on resume, so it isn't initdata. Signed-off-by: Jeremy Fitzhardinge Signed-off-by: Dave Jones commit ddad65df0048e210c93640b59b3bad12701febb6 tree 5530a3fbeef881c48ca02e491529d709dc812ea0 parent 8adcc0c674004c0f9467031a93dc639c2b01411f author Dave Jones Fri, 22 Sep 2006 19:15:23 -0400 committer Dave Jones Fri, 22 Sep 2006 19:15:23 -0400 [CPUFREQ] Fix some more CPU hotplug locking. Lukewarm IQ detected in hotplug locking BUG: warning at kernel/cpu.c:38/lock_cpu_hotplug() [] lock_cpu_hotplug+0x42/0x65 [] cpufreq_update_policy+0x25/0xad [] kprobe_flush_task+0x18/0x40 [] schedule+0x63f/0x68b [] __link_module+0x0/0x1f [] __cond_resched+0x16/0x34 [] cond_resched+0x26/0x31 [] wait_for_completion+0x17/0xb1 [] cpufreq_stat_cpu_callback+0x13/0x20 [cpufreq_stats] [] cpufreq_stats_init+0x74/0x8b [cpufreq_stats] [] sys_init_module+0x91/0x174 [] sysenter_past_esp+0x56/0x79 As there are other places that call cpufreq_update_policy without the hotplug lock, it seems better to keep the hotplug locking at the lower level for the time being until this is revamped. Signed-off-by: Dave Jones commit db392219c5f572610645696e3672f6ea38783a65 tree 240878f6367e528840cc4fe92f6b3a251651572f parent 3e2ab46df697048e222cdc046a2fa97149ca32ba parent 9cd330d36b32ed48d49561b165842db20bd153cc author Linus Torvalds Fri, 22 Sep 2006 15:47:06 -0700 committer Linus Torvalds Fri, 22 Sep 2006 15:47:06 -0700 Merge branch 'for-linus' of master.kernel.org:/pub/scm/linux/kernel/git/roland/infiniband * 'for-linus' of master.kernel.org:/pub/scm/linux/kernel/git/roland/infiniband: (65 commits) IB: Fix typo in kerneldoc for ib_set_client_data() IPoIB: Add some likely/unlikely annotations in hot path IPoIB: Remove unused include of vmalloc.h IPoIB: Rejoin all multicast groups after a port event IPoIB: Create MCGs with all attributes required by RFC IB/sa: fix ib_sa_selector names IB/iser: INFINIBAND_ISER depends on INET IB/mthca: Simplify calls to mthca_cq_clean() RDMA/cma: Document rdma_accept() error handling IB/mthca: Recover from catastrophic errors RDMA/cma: Document rdma_destroy_id() function IB/cm: Do not track remote QPN in timewait state IB/sa: Require SA registration IPoIB: Refactor completion handling IB/iser: Do not use FMR for a single dma entry sg IB/iser: fix some debug prints IB/iser: make FMR "page size" be 4K and not PAGE_SIZE IB/iser: Limit the max size of a scsi command IB/iser: fix a check of SG alignment for RDMA RDMA/cma: Protect against adding device during destruction ... commit 3e2ab46df697048e222cdc046a2fa97149ca32ba tree f0b53afc6054853f7281b833d2d6b9ed48ed2b19 parent e6e5fee1426bef07f4e6c3c76f48343c14207938 parent 54caf44da31995df1f51174468fd9e83ca5c67a2 author Linus Torvalds Fri, 22 Sep 2006 15:37:31 -0700 committer Linus Torvalds Fri, 22 Sep 2006 15:37:31 -0700 Merge branch 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6 * 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6: [netdrvr] mv643xx_eth: fix obvious typo, which caused build breakage [netdrvr] lp486e: fix typo commit 9cd330d36b32ed48d49561b165842db20bd153cc tree 029ddb8fa1fb820cfe61ec77f094ac72f2637f91 parent a8bfca024326560d86c6323b0504288ca55a75fc author Krishna Kumar Fri, 22 Sep 2006 15:22:58 -0700 committer Roland Dreier Fri, 22 Sep 2006 15:22:58 -0700 IB: Fix typo in kerneldoc for ib_set_client_data() Signed-off-by: Krishna Kumar Signed-off-by: Roland Dreier commit a8bfca024326560d86c6323b0504288ca55a75fc tree cc3bae75628c57b8f70a0ed66beee62201557bad parent 507c33504686e733a14ef0b2dc9db0c20fae4653 author Eli Cohen Fri, 22 Sep 2006 15:22:58 -0700 committer Roland Dreier Fri, 22 Sep 2006 15:22:58 -0700 IPoIB: Add some likely/unlikely annotations in hot path Signed-off-by: Eli Cohen Signed-off-by: Roland Dreier commit 507c33504686e733a14ef0b2dc9db0c20fae4653 tree eba9071f31789b23751b7bbf3686e7228997ff7e parent 5ccd025553d73e523212ee0860b7f4a75e886bfa author Dotan Barak Thu, 21 Sep 2006 18:26:43 +0300 committer Roland Dreier Fri, 22 Sep 2006 15:22:57 -0700 IPoIB: Remove unused include of vmalloc.h IPoIB doesn't use anything from , so don't include it. Signed-off-by: Dotan Barak Signed-off-by: Roland Dreier commit 5ccd025553d73e523212ee0860b7f4a75e886bfa tree 31a6fe6745b16b47cab4e34760e6c8a1ab70108b parent d0df6d6d4539241179a1ef5394787825bf05bbce author Eli Cohen Fri, 22 Sep 2006 15:22:56 -0700 committer Roland Dreier Fri, 22 Sep 2006 15:22:56 -0700 IPoIB: Rejoin all multicast groups after a port event When ipoib_ib_dev_flush() is called because of a port event, the driver needs to rejoin all multicast groups, since the flush will call ipoib_mcast_dev_flush() (via ipoib_ib_dev_down()). Otherwise no (non-broadcast) multicast groups will be rejoined until the networking core calls ->set_multicast_list again, and so multicast reception will be broken for potentially a long time. Signed-off-by: Eli Cohen Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit d0df6d6d4539241179a1ef5394787825bf05bbce tree 82e66fbc8b048e15132fe4eedacfc9187b77abf4 parent aec79fcc3ea3b536a2788b4e22b7ebabbb176485 author Roland Dreier Fri, 22 Sep 2006 15:22:56 -0700 committer Roland Dreier Fri, 22 Sep 2006 15:22:56 -0700 IPoIB: Create MCGs with all attributes required by RFC RFC 4391 ("Transmission of IP over InfiniBand (IPoIB)") says: If the IB multicast group does not already exist, one must be created first with the IPoIB link MTU. The MGID MUST use the same P_Key, Q_Key, SL, MTU, and HopLimit as those used in the broadcast-GID. The rest of attributes SHOULD follow the values used in the broadcast-GID as well. However, the current IPoIB driver is only setting the attributes required by the InfiniBand spec to create a multicast group, so in particular the MTU and HopLimit are not being set. Add these attributes when creating MCGs, and also set the Rate attribute, since IPoIB pays attention to that attribute as well. Signed-off-by: Roland Dreier commit aec79fcc3ea3b536a2788b4e22b7ebabbb176485 tree 3ae94bd1003362c52aa6118897fbeacfd0b4128a parent 5755d6dad95808a24a65dd9e61e23c305f9b077c author Michael S. Tsirkin Mon, 18 Sep 2006 22:17:08 +0300 committer Roland Dreier Fri, 22 Sep 2006 15:22:55 -0700 IB/sa: fix ib_sa_selector names Relevant SA queries are actually "greater than" / "less than", not "greater than or equal" / "less than or equal" as the names imply. (See IB spec 1.2 Vol 1, 15.2.5.16 PATHRECORD/Table 205 PathRecord) Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit 5755d6dad95808a24a65dd9e61e23c305f9b077c tree 22549b19cc0e4aeeaa8abaf72b34cf0a9c53856d parent d35cc330a2058a32410ef42784b8d3b942f37b8b author Roland Dreier Fri, 22 Sep 2006 15:22:55 -0700 committer Roland Dreier Fri, 22 Sep 2006 15:22:55 -0700 IB/iser: INFINIBAND_ISER depends on INET iSER won't build without CONFIG_INET enabled, so make Kconfig reflect that. Signed-off-by: Roland Dreier commit d35cc330a2058a32410ef42784b8d3b942f37b8b tree d01f8996ab79610edbf070c21b9200480c5b126f parent 951f7fc1372da3d826b1d975b3cc5e3db92af5d0 author Roland Dreier Fri, 22 Sep 2006 15:22:55 -0700 committer Roland Dreier Fri, 22 Sep 2006 15:22:55 -0700 IB/mthca: Simplify calls to mthca_cq_clean() If a QP has separate send and receive CQs, then the send CQ will never have receive completions from that QP in it. So when cleaning the send CQ, there's no need to pass in an SRQ pointer, even if the QP is attached to an SRQ. Signed-off-by: Roland Dreier commit 951f7fc1372da3d826b1d975b3cc5e3db92af5d0 tree 21129949b4ad6fd3ad9da5bbd427db090d2cb3da parent b3b30f5e8a0c50db3d76b6f7c7cc50245aeb57fd author Or Gerlitz Fri, 22 Sep 2006 15:22:54 -0700 committer Roland Dreier Fri, 22 Sep 2006 15:22:54 -0700 RDMA/cma: Document rdma_accept() error handling Document the reject sending and modifying QP to error done in rdma_accept(). Signed-off-by: Or Gerlitz Signed-off-by: Sean Hefty Signed-off-by: Roland Dreier commit b3b30f5e8a0c50db3d76b6f7c7cc50245aeb57fd tree 02e7b931be922a71e82da5c9baf273ac5d2312d9 parent 07eeec0627e93a1a753c4df004a97a4d0a7b9ceb author Jack Morgenstein Tue, 15 Aug 2006 21:11:18 +0300 committer Roland Dreier Fri, 22 Sep 2006 15:22:54 -0700 IB/mthca: Recover from catastrophic errors Trigger device remove and then add when a catastrophic error is detected in hardware. This, in turn, will cause a device reset, which we hope will recover from the catastrophic condition. Since this might interefere with debugging the root cause, add a module option to suppress this behaviour. Signed-off-by: Jack Morgenstein Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit 07eeec0627e93a1a753c4df004a97a4d0a7b9ceb tree a64ef6da30f93a2443c8a3131e1cfc0d04c721d0 parent a70d059009f4a207e2a9c794f40fc8c870096d54 author Or Gerlitz Tue, 12 Sep 2006 09:03:33 -0700 committer Roland Dreier Fri, 22 Sep 2006 15:22:54 -0700 RDMA/cma: Document rdma_destroy_id() function Clarify that rdma_destroy_id cancels outstanding asynchronous operations on the Associated id. Signed-off-by: Or Gerlitz Signed-off-by: Sean Hefty Signed-off-by: Roland Dreier commit a70d059009f4a207e2a9c794f40fc8c870096d54 tree 80c8e31f8db32d1eb1974218886baa2c196d6ab0 parent c1a0b23bf477c2e1068905f4e2b5c3cee139e853 author Michael S. Tsirkin Mon, 28 Aug 2006 16:32:50 +0300 committer Roland Dreier Fri, 22 Sep 2006 15:22:53 -0700 IB/cm: Do not track remote QPN in timewait state Do not track remote QPN in TimeWait state, since QP is not connected. Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit c1a0b23bf477c2e1068905f4e2b5c3cee139e853 tree 68357e32e8b6542647f639da8ca3859b4cb3b59b parent 2439a6e65ff09729c3b4215f134dc5cd4e8a30c0 author Michael S. Tsirkin Mon, 21 Aug 2006 16:40:12 -0700 committer Roland Dreier Fri, 22 Sep 2006 15:22:53 -0700 IB/sa: Require SA registration Require users to register with SA module, to prevent the sa_query module text from going away while an SA query callback is still running. Update all in-tree users for the new interface. Signed-off-by: Michael S. Tsirkin Signed-off-by: Sean Hefty Signed-off-by: Roland Dreier commit 2439a6e65ff09729c3b4215f134dc5cd4e8a30c0 tree a8c85db68ed2bc15be60e9a713ac7a73c5c40796 parent d81110285f7f6c07a0ce8f99a5ff158a647cd649 author Roland Dreier Fri, 22 Sep 2006 15:22:52 -0700 committer Roland Dreier Fri, 22 Sep 2006 15:22:52 -0700 IPoIB: Refactor completion handling Split up ipoib_ib_handle_wc() into ipoib_ib_handle_rx_wc() and ipoib_ib_handle_tx_wc() to make the code easier to read. This will also help implement NAPI in the future. Signed-off-by: Roland Dreier commit d81110285f7f6c07a0ce8f99a5ff158a647cd649 tree 7ecbae2d81a7464114a7d57e1a7d0230aaa21071 parent e981f1d4b8288072ba7cf6b7141cd4aefb404383 author Erez Zilber Mon, 11 Sep 2006 12:26:33 +0300 committer Roland Dreier Fri, 22 Sep 2006 15:22:52 -0700 IB/iser: Do not use FMR for a single dma entry sg Fast Memory Registration (fmr) is used to register for rdma an sg whose elements are not linearly sequential after dma mapping. The IB verbs layer provides an "all dma memory MR (memory region)" which can be used for RDMA-ing a dma linearly sequential buffer. Change the code to use the dma mr instead of doing fmr when dma mapping produces a single dma entry sg. Signed-off-by: Erez Zilber Signed-off-by: Roland Dreier commit e981f1d4b8288072ba7cf6b7141cd4aefb404383 tree b33851f7b985ea86c11a5e99c523fbcf97c12bd3 parent 8dfa0876d3dde5f9c1818a4c35caaabc3ddba78b author Erez Zilber Mon, 11 Sep 2006 12:24:00 +0300 committer Roland Dreier Fri, 22 Sep 2006 15:22:51 -0700 IB/iser: fix some debug prints fix and add some debug prints related to iser handling of memory for rdma. Signed-off-by: Erez Zilber Signed-off-by: Roland Dreier commit 8dfa0876d3dde5f9c1818a4c35caaabc3ddba78b tree ca68e1f128305185c8cb807e15ab67b36b2be2a5 parent 8072ec2f8f6790df91e85d833e672c9c30a7ab3c author Erez Zilber Mon, 11 Sep 2006 12:22:30 +0300 committer Roland Dreier Fri, 22 Sep 2006 15:22:51 -0700 IB/iser: make FMR "page size" be 4K and not PAGE_SIZE As iser is able to use at most one rdma operation for the execution of a scsi command, and registration of the sg associated with scsi command has its restrictions, the code checks if an sg is "aligned for rdma". Alignment for rdma is measured in "fmr page" units whose possible resolutions are different between HCAs and can be smaller, equal or bigger to the system page size. When the system page size is bigger than 4KB (eg the default with ia64 kernels) there a bigger chance that an sg would be aligned for rdma if the fmr page size is 4KB. Change the code to create FMR whose pages are of size 4KB and to take that into account when processing the sg. Signed-off-by: Erez Zilber Signed-off-by: Roland Dreier commit 8072ec2f8f6790df91e85d833e672c9c30a7ab3c tree 15866a5b44b5f199fea76f1b540c2a790203aad2 parent 777a71dd4d901f055967ddbd038d2a74ffce0eb8 author Erez Zilber Mon, 11 Sep 2006 12:20:54 +0300 committer Roland Dreier Fri, 22 Sep 2006 15:22:50 -0700 IB/iser: Limit the max size of a scsi command Currently, the data length of a command coming down from scsi-ml is limited only by the size of its sg list (sg_tablesize). The max data length may be different for different page size values. By setting max_sectors, we limit the data length to max_sectors*512 bytes. Signed-off-by: Erez Zilber Signed-off-by: Roland Dreier commit 777a71dd4d901f055967ddbd038d2a74ffce0eb8 tree 88c05b9d52619a4881c12c752b55ed124f782fc0 parent 61a73c708f37295892176bc911b178278df6a091 author Erez Zilber Mon, 11 Sep 2006 12:19:17 +0300 committer Roland Dreier Fri, 22 Sep 2006 15:22:49 -0700 IB/iser: fix a check of SG alignment for RDMA dma mapping may include a "compaction" of the sg associated with scsi command. Hence, the size of the maximal prefix of the SG which is aligned for rdma must be compared against the length of the dma mapped sg (mem->dma_nents) and not against the size of it before it was mapped (mem->size). Signed-off-by: Erez Zilber Signed-off-by: Roland Dreier commit 61a73c708f37295892176bc911b178278df6a091 tree caa11f34a88a687f6699373f24bd93733b048f10 parent f94b533d091a42da92d908eb7b3f9ade1923f90d author Sean Hefty Fri, 01 Sep 2006 15:33:55 -0700 committer Roland Dreier Fri, 22 Sep 2006 15:22:49 -0700 RDMA/cma: Protect against adding device during destruction Closes a window where address resolution can attach an rdma_cm_id to a device during destruction of the rdma_cm_id. This can result in the rdma_cm_id remaining in the device list after its memory has been freed. Signed-off-by: Sean Hefty Signed-off-by: Roland Dreier commit f94b533d091a42da92d908eb7b3f9ade1923f90d tree e8deed557c293bdb5eeaf8ca87ddda69e1cf3586 parent 07ebafbaaa72aa6a35472879008f5a1d1d469a0c author Tom Tucker Fri, 22 Sep 2006 15:22:48 -0700 committer Roland Dreier Fri, 22 Sep 2006 15:22:48 -0700 RDMA/amso1100: Add driver for Ammasso 1100 RNIC Add a driver for the Ammasso 1100 gigabit ethernet RNIC. Signed-off-by: Tom Tucker Signed-off-by: Steve Wise Signed-off-by: Roland Dreier commit 07ebafbaaa72aa6a35472879008f5a1d1d469a0c tree c42ed5c70e5bea1382f1cbde3f4a70d172e2f650 parent 922a8e9fb2e0711212badce47a41137e2ca04cb3 author Tom Tucker Thu, 03 Aug 2006 16:02:42 -0500 committer Roland Dreier Fri, 22 Sep 2006 15:22:47 -0700 RDMA: iWARP Core Changes. Modifications to the existing rdma header files, core files, drivers, and ulp files to support iWARP, including: - Hook iWARP CM into the build system and use it in rdma_cm. - Convert enum ib_node_type to enum rdma_node_type, which includes the possibility of RDMA_NODE_RNIC, and update everything for this. Signed-off-by: Tom Tucker Signed-off-by: Steve Wise Signed-off-by: Roland Dreier commit 922a8e9fb2e0711212badce47a41137e2ca04cb3 tree 54af57ac9f2ddcaf0e6fdead4d9175eecd9e06e2 parent 3cd965646b7cb75ae84dd0daf6258adf20e4f169 author Tom Tucker Thu, 03 Aug 2006 16:02:40 -0500 committer Roland Dreier Fri, 22 Sep 2006 15:22:46 -0700 RDMA: iWARP Connection Manager. Add an iWARP Connection Manager (CM), which abstracts connection management for iWARP devices (RNICs). It is a logical instance of the xx_cm where xx is the transport type (ib or iw). The symbols exported are used by the transport independent rdma_cm module, and are available also for transport dependent ULPs. Signed-off-by: Tom Tucker Signed-off-by: Steve Wise Signed-off-by: Roland Dreier commit 3cd965646b7cb75ae84dd0daf6258adf20e4f169 tree 85f078616af532d079fce34c8f307f9a4cb888af parent f06d26537559113207e4b73af6a22eaa5c5e9dc3 author Roland Dreier Fri, 22 Sep 2006 15:22:46 -0700 committer Roland Dreier Fri, 22 Sep 2006 15:22:46 -0700 IB: Whitespace fixes Remove some trailing whitespace that has snuck in despite the best efforts of whitespace=error-all. Also fix a few other whitespace bogosities. Signed-off-by: Roland Dreier commit f06d26537559113207e4b73af6a22eaa5c5e9dc3 tree d5d33db61adc4070a4b4b0d4f903d3223299db7b parent 2b3e258e5dd1938e2708eb5354ad8ba056fe8154 author Sean Hefty Mon, 28 Aug 2006 15:15:18 -0700 committer Roland Dreier Fri, 22 Sep 2006 15:22:45 -0700 IB/cm: Randomize starting comm ID Randomize the starting local comm ID to avoid getting a rejected connection due to a stale connection after a system reboot or reloading of the ib_cm. Signed-off-by: Sean Hefty Signed-off-by: Roland Dreier commit 2b3e258e5dd1938e2708eb5354ad8ba056fe8154 tree fde0892c0d1de71584c6350eca6cc13d0107d845 parent 75ab13443e4575c00788ba9861105745b9dda05c author James Lentini Mon, 28 Aug 2006 15:12:04 -0700 committer Roland Dreier Fri, 22 Sep 2006 15:22:44 -0700 IB/mad: Remove unused includes The ib_mad module does not use a kthread function, but mad_priv.h includes . mad_rmpp.c does not do any DMA-related stuff, but includes . Remove the unused includes. Signed-off-by: James Lentini Signed-off-by: Sean Hefty Signed-off-by: Roland Dreier commit 75ab13443e4575c00788ba9861105745b9dda05c tree f1244f0a1e819e2bf31ddef2e9cac5a349da2146 parent 76842405fca5f8b8e08d91558ecd3b922265034a author Sean Hefty Mon, 28 Aug 2006 15:10:32 -0700 committer Roland Dreier Fri, 22 Sep 2006 15:22:44 -0700 IB/mad: Add support for dual-sided RMPP transfers. The implementation assumes that any RMPP request that requires a response uses DS RMPP. Based on the RMPP start-up scenarios defined by the spec, this should be a valid assumption. That is, there is no start-up scenario defined where an RMPP request is followed by a non-RMPP response. By having this assumption we avoid any API changes. In order for a node that supports DS RMPP to communicate with one that does not, RMPP responses assume a new window size of 1 if a DS ACK has not been received. (By DS ACK, I'm referring to the turn-around ACK after the final ACK of the request.) This is a slight spec deviation, but is necessary to allow communication with nodes that do not generate the DS ACK. It also handles the case when a response is sent after the request state has been discarded. Signed-off-by: Sean Hefty Signed-off-by: Roland Dreier commit 76842405fca5f8b8e08d91558ecd3b922265034a tree a0a8940fd2306903251296eb4f1d37a16cacf234 parent c1f250c0b45cdfdd89b21f2b866f317439aa21de author Sean Hefty Mon, 28 Aug 2006 11:57:42 -0700 committer Roland Dreier Fri, 22 Sep 2006 15:22:43 -0700 IB/cm: Use correct reject code for invalid GID Set the reject code properly when rejecting a request that contains an invalid GID. A suitable GID is returned by the IB CM in the additional reject information (ARI). This is a spec compliancy issue. Signed-off-by: Sean Hefty Signed-off-by: Roland Dreier commit c1f250c0b45cdfdd89b21f2b866f317439aa21de tree 5cc5fab7be988579743d896fab5a01864a2c0df1 parent 9e583b85c2a0215dc7f4427361b4f75fcc0316af author Sean Hefty Mon, 28 Aug 2006 11:55:52 -0700 committer Roland Dreier Fri, 22 Sep 2006 15:22:42 -0700 IB/cm: Enable atomics along with RDMA reads Enable atomic operations along with RDMA reads if a local RDMA read/atomic depth is provided by the user. Signed-off-by: Sean Hefty Signed-off-by: Roland Dreier commit 9e583b85c2a0215dc7f4427361b4f75fcc0316af tree 2ad47c07a32da31189fc5d017e757adab34154fc parent f6f76725b5ed8085c602b16bfd309c9957fb84c8 author Jack Morgenstein Mon, 28 Aug 2006 19:12:39 +0300 committer Roland Dreier Fri, 22 Sep 2006 15:22:42 -0700 IB/mthca: Return correct number of bits for static rate in query_qp Incorrect number of bits was taken for static_rate field. Signed-off-by: Jack Morgenstein Signed-off-by: Roland Dreier commit f6f76725b5ed8085c602b16bfd309c9957fb84c8 tree d1784262a4239e7e17dc1262f2a4112561553639 parent b046a04e162dc7f468700a0817acda0321b2b3ae author Jack Morgenstein Mon, 28 Aug 2006 19:10:34 +0300 committer Roland Dreier Fri, 22 Sep 2006 15:22:41 -0700 IB/mthca: Return port number for unconnected QPs in query_qp port_num was not being returned for unconnected QPs. Signed-off-by: Jack Morgenstein Signed-off-by: Roland Dreier commit b046a04e162dc7f468700a0817acda0321b2b3ae tree 47d7d08b9a79827125ce11ae83ed4f4c02e982a7 parent 30fc5c3130bdbc7cc051a2d6054ad38360d408a8 author Jack Morgenstein Mon, 28 Aug 2006 19:08:53 +0300 committer Roland Dreier Fri, 22 Sep 2006 15:22:40 -0700 IB/mthca: Fix default static rate returned for Tavor in AV When default static rate is returned for Tavor, need to translate it to an ib rate value. Signed-off-by: Jack Morgenstein Signed-off-by: Roland Dreier commit 30fc5c3130bdbc7cc051a2d6054ad38360d408a8 tree 6928159aeed17f8a15ae705a0ce16551bef5811e parent e35d710d0c5b74bc9833d6a3791706bd577a3724 author Bryan O'Sullivan Fri, 25 Aug 2006 11:24:48 -0700 committer Roland Dreier Fri, 22 Sep 2006 15:22:40 -0700 IB/ipath: control receive polarity inversion Signed-off-by: Bryan O'Sullivan Signed-off-by: Roland Dreier commit e35d710d0c5b74bc9833d6a3791706bd577a3724 tree 3bb24378144082c7f521e83194d027914c65afbc parent d821f02a6ebed97e35e0bc7575452cfc6f9073cb author Bryan O'Sullivan Fri, 25 Aug 2006 11:24:46 -0700 committer Roland Dreier Fri, 22 Sep 2006 15:22:39 -0700 IB/ipath: fix return value from ipath_poll This stops the generic poll code from waiting for a timeout. Signed-off-by: Bryan O'Sullivan Signed-off-by: Roland Dreier commit d821f02a6ebed97e35e0bc7575452cfc6f9073cb tree a4457534d937843df8f15eb1a2f5c90ab3c46697 parent a78aa6fb156f9954562c9539aeb25dbec1ffca10 author Bryan O'Sullivan Fri, 25 Aug 2006 11:24:45 -0700 committer Roland Dreier Fri, 22 Sep 2006 15:22:39 -0700 IB/ipath: allow SMA to be disabled This is useful for testing purposes. Signed-off-by: Bryan O'Sullivan Signed-off-by: Roland Dreier commit a78aa6fb156f9954562c9539aeb25dbec1ffca10 tree 45ce52f85ad0453f39d6f2add8c92f665f3577a6 parent 0b81e4f79af8322c7142701982f40d1431dedf19 author Bryan O'Sullivan Fri, 25 Aug 2006 11:24:44 -0700 committer Roland Dreier Fri, 22 Sep 2006 15:22:38 -0700 IB/ipath: handle sq_sig_all field correctly Signed-off-by: Bryan O'Sullivan Signed-off-by: Roland Dreier commit 0b81e4f79af8322c7142701982f40d1431dedf19 tree 4d1161d8603471cbe8ece750980eb22767a91235 parent ca4ce383acfb05b8035453cdbbfd4f8ae36c7a69 author Bryan O'Sullivan Fri, 25 Aug 2006 11:24:43 -0700 committer Roland Dreier Fri, 22 Sep 2006 15:22:38 -0700 IB/ipath: put a limit on the number of QPs that can be created Signed-off-by: Bryan O'Sullivan Signed-off-by: Roland Dreier commit ca4ce383acfb05b8035453cdbbfd4f8ae36c7a69 tree c18fe8810822fe7a6cb01d66ce7ab05a7f29264e parent fc8cf8cdfc3ce328c577b18ebcd60a5595f2a283 author Bryan O'Sullivan Fri, 25 Aug 2006 11:24:42 -0700 committer Roland Dreier Fri, 22 Sep 2006 15:22:37 -0700 IB/ipath: validate path_mig_state properly Signed-off-by: Bryan O'Sullivan Signed-off-by: Roland Dreier commit fc8cf8cdfc3ce328c577b18ebcd60a5595f2a283 tree 55f4240fd9eca1b3d3545881e9cce9c575ddbb7c parent ff0b8597ec3e7db6b37130a195cb3d673dafea27 author Bryan O'Sullivan Fri, 25 Aug 2006 11:24:41 -0700 committer Roland Dreier Fri, 22 Sep 2006 15:22:36 -0700 IB/ipath: be more strict about testing the modify QP verb Signed-off-by: Bryan O'Sullivan Signed-off-by: Roland Dreier commit ff0b8597ec3e7db6b37130a195cb3d673dafea27 tree 84d54a7e32a01e8c2cd536a6f88e8f5e8bb30748 parent 525d0ca1d452ed336c1d907fb20c104467a8a47b author Bryan O'Sullivan Fri, 25 Aug 2006 11:24:40 -0700 committer Roland Dreier Fri, 22 Sep 2006 15:22:36 -0700 IB/ipath: add serial number to hardware freeze error message Also added the word "Hardware" after "Fatal" to make it more obvious that it's hardware, not software. Signed-off-by: Bryan O'Sullivan Signed-off-by: Roland Dreier commit 525d0ca1d452ed336c1d907fb20c104467a8a47b tree 8c6e6b649f7b7ce988ac697c58d60e36ab16dc8b parent 092260b8f966ebe0742045416082e9a81bd971d1 author Bryan O'Sullivan Fri, 25 Aug 2006 11:24:39 -0700 committer Roland Dreier Fri, 22 Sep 2006 15:22:35 -0700 IB/ipath: support new QLogic product naming scheme This patch only renames files, fixes product names, and updates comments. Signed-off-by: Bryan O'Sullivan Signed-off-by: Roland Dreier commit 092260b8f966ebe0742045416082e9a81bd971d1 tree bcd29243f82cfcd6d69d7ec761a7709ae859d509 parent eae33d47a797e159306567643284a98ae7428ec4 author Bryan O'Sullivan Fri, 25 Aug 2006 11:24:38 -0700 committer Roland Dreier Fri, 22 Sep 2006 15:22:35 -0700 IB/ipath: account for attached QPs correctly Signed-off-by: Bryan O'Sullivan Signed-off-by: Roland Dreier commit eae33d47a797e159306567643284a98ae7428ec4 tree 8a878a2e65f8a809d25c6c8ddd22c42073f7867c parent 98341f261893acd7bc5abee5ddc35337ef49e457 author Bryan O'Sullivan Fri, 25 Aug 2006 11:24:37 -0700 committer Roland Dreier Fri, 22 Sep 2006 15:22:34 -0700 IB/ipath: do not allow use of CQ entries with invalid counts Signed-off-by: Bryan O'Sullivan Signed-off-by: Roland Dreier commit 98341f261893acd7bc5abee5ddc35337ef49e457 tree 44393b654275fbb4324da3b6622808e36f6c3dbd parent 32c0a26c8f91dbc2797175c2bdff42b54f66c71d author Bryan O'Sullivan Fri, 25 Aug 2006 11:24:36 -0700 committer Roland Dreier Fri, 22 Sep 2006 15:22:34 -0700 IB/ipath: add new minor device to allow sending of diag packets Signed-off-by: Bryan O'Sullivan Signed-off-by: Roland Dreier commit 32c0a26c8f91dbc2797175c2bdff42b54f66c71d tree ba090ead26ea5738976fa533ab173a69e8711095 parent 0fd41363e0785247b7c19127318abc8b5eacc86b author Bryan O'Sullivan Fri, 25 Aug 2006 11:24:35 -0700 committer Roland Dreier Fri, 22 Sep 2006 15:22:33 -0700 IB/ipath: trivial cleanups Signed-off-by: Bryan O'Sullivan Signed-off-by: Roland Dreier commit 0fd41363e0785247b7c19127318abc8b5eacc86b tree bf71d78bd12008367e1c0293280a50a9628133f3 parent b55f4f06c834a67f949a5219c5f97ffafa240989 author Bryan O'Sullivan Fri, 25 Aug 2006 11:24:34 -0700 committer Roland Dreier Fri, 22 Sep 2006 15:22:32 -0700 IB/ipath: remove stale references to userspace SMA When we first submitted a userspace subnet management agent, it was rejected, so we left it out of the final driver submission. This patch removes a number of vestigial references to it. Signed-off-by: Bryan O'Sullivan Signed-off-by: Roland Dreier commit b55f4f06c834a67f949a5219c5f97ffafa240989 tree f7fb3095a8e7e09370036ad9d669925897d5f0c4 parent 34b2aafea38efdf02cd8107a6e1057e2a297c447 author Bryan O'Sullivan Fri, 25 Aug 2006 11:24:33 -0700 committer Roland Dreier Fri, 22 Sep 2006 15:22:31 -0700 IB/ipath: simplify debugging code after ipath_core and ib_ipath merger Signed-off-by: Bryan O'Sullivan Signed-off-by: Roland Dreier commit 34b2aafea38efdf02cd8107a6e1057e2a297c447 tree fc800510f947696156df70cf6608f8283bab868c parent b1c1b6a30eac88665a35a207cc5e6233090b9d65 author Bryan O'Sullivan Fri, 25 Aug 2006 11:24:32 -0700 committer Roland Dreier Fri, 22 Sep 2006 15:22:31 -0700 IB/ipath: simplify layering code A lot of ipath layer code was only called in one place. Now that the ipath_core and ib_ipath drivers are merged, it's more sensible to simply inline the simple stuff that the layer code was doing. Signed-off-by: Bryan O'Sullivan Signed-off-by: Roland Dreier commit b1c1b6a30eac88665a35a207cc5e6233090b9d65 tree 7f2351404d45a48688e3cc2be355d2fb016e4b18 parent 367fe711c5dc85dbc3265cf01e34d4d6fbd55f06 author Bryan O'Sullivan Fri, 25 Aug 2006 11:24:31 -0700 committer Roland Dreier Fri, 22 Sep 2006 15:22:30 -0700 IB/ipath: merge ipath_core and ib_ipath drivers There is little point in keeping the two drivers separate, so we are merging them. Signed-off-by: Bryan O'Sullivan Signed-off-by: Roland Dreier commit 367fe711c5dc85dbc3265cf01e34d4d6fbd55f06 tree ff3b35b84371afd5fbb2b13ea5657bbda71e73df parent ba11203a11835737df980ef3dd3bd8325b9cc94e author Bryan O'Sullivan Fri, 25 Aug 2006 11:24:30 -0700 committer Roland Dreier Fri, 22 Sep 2006 15:22:29 -0700 IB/ipath: drop requirement that PIO buffers be mmaped write-only Some userlands try to mmap these pages read-write, so accommodate them. Signed-off-by: Bryan O'Sullivan Signed-off-by: Roland Dreier commit ba11203a11835737df980ef3dd3bd8325b9cc94e tree 67c444e4989fcd7e883d0be2d495817b9767e5c6 parent 8e280d94e29af67035637fb957daba7ae0d23583 author Bryan O'Sullivan Fri, 25 Aug 2006 11:24:29 -0700 committer Roland Dreier Fri, 22 Sep 2006 15:22:28 -0700 IB/ipath: fix handling of kpiobufs Change comment: no longer imply that user can set ipath_kpiobufs to zero. Actually set ipath_kpiobufs from parameter. Previously only altered per-device ipath_lastport_piobuf, which was over-written in chip init. Signed-off-by: Bryan O'Sullivan Signed-off-by: Roland Dreier commit 8e280d94e29af67035637fb957daba7ae0d23583 tree eb95b5a5f8eecee6b8f0b0aacb5da14a05d514fa parent c27fef26271d352b5546c33239edeb0dcb4fc0cc author Bryan O'Sullivan Fri, 25 Aug 2006 11:24:28 -0700 committer Roland Dreier Fri, 22 Sep 2006 15:22:27 -0700 IB/ipath: fix for crash on module unload, if cfgports < portcnt Allocate enough pointers for all possible ports, to avoid problems in cleanup/unload. Signed-off-by: Bryan O'Sullivan Signed-off-by: Roland Dreier commit c27fef26271d352b5546c33239edeb0dcb4fc0cc tree 3dc284784c4218c80d7806c05324be1599d6c6c6 parent eb9dc6f48dc7537ce53163109625bd992150e0cf author Bryan O'Sullivan Fri, 25 Aug 2006 11:24:27 -0700 committer Roland Dreier Fri, 22 Sep 2006 15:22:27 -0700 IB/ipath: lock resource limit counters correctly Signed-off-by: Bryan O'Sullivan Signed-off-by: Roland Dreier commit eb9dc6f48dc7537ce53163109625bd992150e0cf tree c452c01196bc47b266faec728da87ac5539316e4 parent 373d9915803aebbbf7fd3841efd9dac31c32e148 author Bryan O'Sullivan Fri, 25 Aug 2006 11:24:26 -0700 committer Roland Dreier Fri, 22 Sep 2006 15:22:26 -0700 IB/ipath: More changes to support InfiniPath on PowerPC 970 systems Ordering of writethrough store buffers needs to be forced, and we need to use ifdef to get writethrough behavior to InfiniPath buffers, because there is no generic way to specify that at this time (similar to code in char/drm/drm_vm.c and block/z2ram.c). Signed-off-by: John Gregor Signed-off-by: Bryan O'Sullivan Signed-off-by: Roland Dreier commit 373d9915803aebbbf7fd3841efd9dac31c32e148 tree bd0b05d5e78eab4471bc4d623a880013693077ea parent 9bc57e2d19db4da81c1150120658cc3658a99ed4 author Ralph Campbell Fri, 22 Sep 2006 15:22:26 -0700 committer Roland Dreier Fri, 22 Sep 2006 15:22:26 -0700 IB/ipath: Performance improvements via mmap of queues Improve performance of userspace post receive, post SRQ receive, and poll CQ operations for ipath by allowing userspace to directly mmap() receive queues and completion queues. This eliminates the copying between userspace and the kernel in the data path. Signed-off-by: Ralph Campbell Signed-off-by: Roland Dreier commit 9bc57e2d19db4da81c1150120658cc3658a99ed4 tree 0047863da8629f79d59f50d243ad7d6c01a5ec5c parent 64f817ba98095156149ba5991592d5d039f6da74 author Ralph Campbell Fri, 11 Aug 2006 14:58:09 -0700 committer Roland Dreier Fri, 22 Sep 2006 15:22:25 -0700 IB/uverbs: Pass userspace data to modify_srq and modify_qp methods Pass a struct ib_udata to the low-level driver's ->modify_srq() and ->modify_qp() methods, so that it can get to the device-specific data passed in by the userspace driver. Signed-off-by: Ralph Campbell Signed-off-by: Roland Dreier commit 64f817ba98095156149ba5991592d5d039f6da74 tree 72aaa87275033036bbf0e886c1cb7cf1e9d38bb5 parent fab97220c9e409a98b1956ba677ddd2dd43b0b95 author Ralph Campbell Fri, 22 Sep 2006 15:22:24 -0700 committer Roland Dreier Fri, 22 Sep 2006 15:22:24 -0700 IB/uverbs: Allow resize CQ operation to return driver-specific data Add a ib_uverbs_resize_cq_resp.driver_data field so that low-level drivers can return data from a resize CQ operation to userspace. Have ib_uverbs_resize_cq() only copy the cqe field, to avoid having to bump the userspace ABI. Signed-off-by: Ralph Campbell Signed-off-by: Roland Dreier commit fab97220c9e409a98b1956ba677ddd2dd43b0b95 tree f4fd0456b758a651eb7e774c550641e177a9b333 parent ded7f1a16d50527359be02f8b04f9ba56bc923e6 author Heiko J Schick Fri, 22 Sep 2006 15:22:22 -0700 committer Roland Dreier Fri, 22 Sep 2006 15:22:22 -0700 IB/ehca: Add driver for IBM eHCA InfiniBand adapters Add a driver for IBM GX bus InfiniBand adapters, which are usable with some pSeries/System p systems. Signed-off-by: Heiko J Schick Signed-off-by: Roland Dreier commit ded7f1a16d50527359be02f8b04f9ba56bc923e6 tree 5ef2b43576bb1a07e34c902a52475868be4ba711 parent 2a214182d23594915d6ae517b6368ba2eae055d2 author Ishai Rabinovitz Tue, 15 Aug 2006 17:34:52 +0300 committer Roland Dreier Fri, 22 Sep 2006 15:17:21 -0700 IB/srp: Add port/device attributes Add local_ib_device and local_ib_port attributes to srp scsi_host. These are needed when we want to connect to the same target through multiple distinct ports. Signed-off-by: Ishai Rabinovitz Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit 2a214182d23594915d6ae517b6368ba2eae055d2 tree 8bb02515297e0726cfb9558c19ff6c1548ab2a4b parent 1ccf6aa19aabc11587d6d7818a5729adfed0e3de author James Lentini Fri, 22 Sep 2006 15:17:20 -0700 committer Roland Dreier Fri, 22 Sep 2006 15:17:20 -0700 IB/mthca: Include the header we really want Signed-off-by: James Lentini Signed-off-by: Roland Dreier commit 1ccf6aa19aabc11587d6d7818a5729adfed0e3de tree 754e213bc201cd338dd6bffa6877872b1e0dcc93 parent ab10867621a96230757eb4a2a19d560b85f62ce9 author Roland Dreier Fri, 22 Sep 2006 15:17:20 -0700 committer Roland Dreier Fri, 22 Sep 2006 15:17:20 -0700 IB/uverbs: Fix lockdep warning when QP is created with 2 CQs Lockdep warns when userspace creates a QP that uses different CQs for send completions and receive completions, because both CQs are locked and their mutexes belong to the same lock class. However, we know that the mutexes are distinct and the nesting is safe (there is no possibility of AB-BA deadlock because the mutexes are locked with down_read()), so annotate the situation with SINGLE_DEPTH_NESTING to get rid of the lockdep warning. Signed-off-by: Roland Dreier commit ab10867621a96230757eb4a2a19d560b85f62ce9 tree f8dc75cf9222948663ce01b819764cd8d332d6d9 parent 9217b27b12eb5ab910d14b3376c2b6cd13d87711 author Roland Dreier Fri, 22 Sep 2006 15:17:19 -0700 committer Roland Dreier Fri, 22 Sep 2006 15:17:19 -0700 IB/uverbs: Use idr_read_cq() where appropriate There were two functions that open-coded idr_read_cq() in terms of idr_read_uobj() rather than using the helper. Signed-off-by: Roland Dreier commit 9217b27b12eb5ab910d14b3376c2b6cd13d87711 tree 49d1f60e61013b7c60e13de0f60ec9ead81309b5 parent 9fd558f454b666aca218a990d44f9e1ffac6ed4d author Michael S. Tsirkin Thu, 03 Aug 2006 22:16:06 +0300 committer Roland Dreier Fri, 22 Sep 2006 15:17:18 -0700 IB/ipoib: Fix flush/start xmit race (from code review) Prevent flush task from freeing the ipoib_neigh pointer, while ipoib_start_xmit() is accessing the ipoib_neigh through the pointer it has loaded from the skb's hardware address. Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit 9fd558f454b666aca218a990d44f9e1ffac6ed4d tree 43ab69a01d0c9932b90aa930f21c3a6319b55baa parent b27075735e371f481940a4920b329202334d2259 author Michael S. Tsirkin Fri, 22 Sep 2006 15:17:18 -0700 committer Roland Dreier Fri, 22 Sep 2006 15:17:18 -0700 IB/mthca: Don't use privileged UAR for kernel access Make kernel use UAR2 instead of UAR1 for hardware access: this adds sanity checking from the hardware side, without any performance cost. Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit b27075735e371f481940a4920b329202334d2259 tree 3480b0a635a075539e1a1af58cf08b8b6ddcfd8c parent e6e5fee1426bef07f4e6c3c76f48343c14207938 author Jack Morgenstein Tue, 19 Sep 2006 11:13:24 +0300 committer Roland Dreier Fri, 22 Sep 2006 15:17:17 -0700 IB/mthca: Fix lid used for sending traps The SM LID used to send traps to is incorrectly set to port LID. This is a regression from 2.6.17 -- after a PortInfo MAD is received, no traps are sent to the SM LID. The traps go to the loopback interface instead, and are dropped there. The SM LID should be taken from the sm_lid of the PortInfo response. The bug was introduced by commit 12bbb2b7be7f5564952ebe0196623e97464b8ac5: IB/mthca: Add client reregister event generation Signed-off-by: Jack Morgenstein Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit e6e5fee1426bef07f4e6c3c76f48343c14207938 tree 28f4ca26cf85e0971e9bb4927c439b36c2b93f51 parent 3e59ddff2b8dfe42b15520c4f8f2486bd9f9708e parent fadcfa33b6319a5faf8af2287f08bf93a7f926b6 author Linus Torvalds Fri, 22 Sep 2006 12:56:22 -0700 committer Linus Torvalds Fri, 22 Sep 2006 12:56:22 -0700 Merge git://git.infradead.org/~dwmw2/hdroneline * git://git.infradead.org/~dwmw2/hdroneline: [HEADERS] One line per header in Kbuild files to reduce conflicts Manual (trivial) conflict resolution in include/asm-s390/Kbuild commit 3e59ddff2b8dfe42b15520c4f8f2486bd9f9708e tree 10587a53ab093fc498fa52651f8a7c1b2b99af60 parent 6bbd9b6d694ff7242d63cda2faac4bd59ee4328e parent eb35746ca5e2211569b91ebb44d55b88ec91f3b0 author Linus Torvalds Fri, 22 Sep 2006 12:52:16 -0700 committer Linus Torvalds Fri, 22 Sep 2006 12:52:16 -0700 Merge branch 'upstream-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mfasheh/ocfs2 * 'upstream-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mfasheh/ocfs2: ocfs2: Remove overzealous BUG_ON() ocfs2: Don't print on unknown remote blocking call ocfs2: Remove EXPERIMENTAL dependency ocfs2: implement directory read-ahead ocfs2: properly update i_mtime on buffered write ocfs2: Fix directory link count checks in ocfs2_link() ocfs2: move nlink check in ocfs2_mknod() ocfs2: Fix heartbeat sector calculation [PATCH] fs/ocfs2/ioctl.c should #include "ioctl.h" ocfs2: add ext2 attributes configfs: Prevent duplicate subsystem names. commit 6bbd9b6d694ff7242d63cda2faac4bd59ee4328e tree 0641aa896e2ea01f4692973e5fbea429408854f4 parent a489d159229fcc07bbb7566ac4fac745b79197ad parent 3c164bd8153c4644a22dc2101b003c67cd2a0d0a author Linus Torvalds Fri, 22 Sep 2006 12:51:33 -0700 committer Linus Torvalds Fri, 22 Sep 2006 12:51:33 -0700 Merge git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 * git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6: (64 commits) [BLOCK] dm-crypt: trivial comment improvements [CRYPTO] api: Deprecate crypto_digest_* and crypto_alg_available [CRYPTO] padlock: Convert padlock-sha to use crypto_hash [CRYPTO] users: Use crypto_comp and crypto_has_* [CRYPTO] api: Add crypto_comp and crypto_has_* [CRYPTO] users: Use crypto_hash interface instead of crypto_digest [SCSI] iscsi: Use crypto_hash interface instead of crypto_digest [CRYPTO] digest: Remove old HMAC implementation [CRYPTO] doc: Update documentation for hash and me [SCTP]: Use HMAC template and hash interface [IPSEC]: Use HMAC template and hash interface [CRYPTO] tcrypt: Use HMAC template and hash interface [CRYPTO] hmac: Add crypto template implementation [CRYPTO] digest: Added user API for new hash type [CRYPTO] api: Mark parts of cipher interface as deprecated [PATCH] scatterlist: Add const to sg_set_buf/sg_init_one pointer argument [CRYPTO] drivers: Remove obsolete block cipher operations [CRYPTO] users: Use block ciphers where applicable [SUNRPC] GSS: Use block ciphers where applicable [IPSEC] ESP: Use block ciphers where applicable ... commit a489d159229fcc07bbb7566ac4fac745b79197ad tree ea7bcf20e845de8a96ccc1549799ac073fb28a84 parent a48178a2fa17beee17d7e6aeaa6ed2db5813552d parent 388c571cffc4ae4e64f0786333e811308acbbc10 author Linus Torvalds Fri, 22 Sep 2006 12:50:35 -0700 committer Linus Torvalds Fri, 22 Sep 2006 12:50:35 -0700 Merge branch 'for-linus' of git://git390.osdl.marist.edu/pub/scm/linux-2.6 * 'for-linus' of git://git390.osdl.marist.edu/pub/scm/linux-2.6: (44 commits) [S390] hypfs crashes with invalid mount option. [S390] cio: subchannel evaluation function operates without lock [S390] cio: always query all paths on path verification. [S390] cio: update path groups on logical CHPID changes. [S390] cio: subchannels in no-path state. [S390] Replace nopav-message on VM. [S390] set modalias for ccw bus uevents. [S390] Get rid of DBG macro. [S390] Use alternative user-copy operations for new hardware. [S390] Make user-copy operations run-time configurable. [S390] Cleanup in signal handling code. [S390] Cleanup in page table related code. [S390] Linux API for writing z/VM APPLDATA Monitor records. [S390] xpram off by one error. [S390] Remove kexec experimental flag. [S390] cleanup appldata. [S390] fix typo in vmcp. [S390] Kernel stack overflow handling. [S390] qdio slsb processing state. [S390] Missing initialization in common i/o layer. ... commit a48178a2fa17beee17d7e6aeaa6ed2db5813552d tree 74579777d047478b3d62fcc3349a903b53515770 parent 14d1adfc59ba66932ef167fdff62983e7c2b0197 parent 734a56285dbeedc6cc10aef6f700eeab7c65ea9f author Linus Torvalds Fri, 22 Sep 2006 12:49:18 -0700 committer Linus Torvalds Fri, 22 Sep 2006 12:49:18 -0700 Merge git://git.infradead.org/mtd-2.6 * git://git.infradead.org/mtd-2.6: Remove accidentally-added include/linux/utsrelease.h Revert "[MTD] blkdev helper code: fix printk format warning" [MTD] Add SSFDC (SmartMedia) read-only translation layer [MTD] pmc551 pci cleanup [MTD] pmc551 use kzalloc [MTD] pmc551 whitespace cleanup [MTD] Remove iq80310 map driver [MTD NAND] Fix in typo ndfc.c causing wrong ECC layout [MTD] physmap: add power management support ioremap balanced with iounmap for drivers/mtd subsystem [MTD] Switch to pci_get_device and do ref counting [MTD] blkdev helper code: fix printk format warning [MTD] Fix ixp4xx partition parsing. [JFFS2] Remove unneeded ifdefs from jffs2_fs_i.h [MTD NAND] Remove old code in au1550nd.c [MTD] Unlock NOR flash automatically where necessary commit 14d1adfc59ba66932ef167fdff62983e7c2b0197 tree 34bad21bf4ec220be87fa5d79ff41dd98e7dad9f parent e478bec0ba0a83a48a0f6982934b6de079e7e6b3 parent 69917c26c840e7de94522bf90fb190de63bf92bd author Linus Torvalds Fri, 22 Sep 2006 12:48:03 -0700 committer Linus Torvalds Fri, 22 Sep 2006 12:48:03 -0700 Merge git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc * git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc: (114 commits) [POWERPC] Fix ohare IDE irq workaround on old powermacs [POWERPC] EEH: Power4 systems sometimes need multiple resets. [POWERPC] Include in arch/powerpc/sysdev/fsl_soc.h for phys_addr_t. [POWERPC] Demacrofy arch/powerpc/platforms/maple/pci.c [POWERPC] Maple U3 HT - reject inappropriate config space access [POWERPC] Fix IPIC pending register assignments [POWERPC] powerpc: fix building gdb against asm/ptrace.h [POWERPC] Remove DISCONTIGMEM cruft from page.h [POWERPC] Merge iSeries i/o operations with the rest [POWERPC] 40x: Fix debug status register defines [POWERPC] Fix compile error in sbc8560 [POWERPC] EEH: support MMIO enable recovery step [POWERPC] EEH: enable MMIO/DMA on frozen slot [POWERPC] EEH: code comment cleanup [POWERPC] EEH: balance pcidev_get/put calls [POWERPC] PPC: Fix xmon stack frame address in backtrace [POWERPC] Add AT_PLATFORM value for Xilinx Virtex-4 FX [POWERPC] Start arch/powerpc/boot code reorganization [POWERPC] Define of_read_ulong helper [POWERPC] iseries: eliminate a couple of warnings ... commit 734a56285dbeedc6cc10aef6f700eeab7c65ea9f tree c13d7334d94afad04e36f0b3ff296e6fcacdd9bb parent e4e3295f0c0e1a09a46522359e24c0569e2e7b47 author David Woodhouse Fri, 22 Sep 2006 18:41:20 +0100 committer David Woodhouse Fri, 22 Sep 2006 18:41:20 +0100 Remove accidentally-added include/linux/utsrelease.h Signed-off-by: David Woodhouse commit e4e3295f0c0e1a09a46522359e24c0569e2e7b47 tree 538e656d60b2872521fcf295f7250df90d21b07a parent 51197abf29657373bcf9803d87da3c3d8fc3a37e author David Woodhouse Fri, 22 Sep 2006 11:05:42 +0100 committer David Woodhouse Fri, 22 Sep 2006 11:05:42 +0100 Revert "[MTD] blkdev helper code: fix printk format warning" This reverts commit 668040fcd1e06fc3e68a92708cbdfa5a52c37d3c. The 'flags' field of the struct request is 'unsigned long'. Quite how Randy came to see 'long int format, different type arg' I don't know, but it doesn't seem to be the case any more. Signed-off-by: David Woodhouse commit 51197abf29657373bcf9803d87da3c3d8fc3a37e tree 9adde058fc9a6817fe0fe45fc2e4e13de36f358f parent 98aacdfde05ccf512d4395eed0d4894eea2d163c author Claudio Lanconelli Fri, 22 Sep 2006 11:01:37 +0100 committer David Woodhouse Fri, 22 Sep 2006 11:01:37 +0100 [MTD] Add SSFDC (SmartMedia) read-only translation layer Signed-off-by: Claudio Lanconelli Signed-off-by: David Woodhouse commit 98aacdfde05ccf512d4395eed0d4894eea2d163c tree 8704accf03834acb16a83cb38f844c1a5e4e4878 parent 7fefb924d7aed7116fe2a68cdbfc9e36318e7300 author Jiri Slaby Tue, 19 Sep 2006 21:55:28 +0200 committer David Woodhouse Fri, 22 Sep 2006 10:34:15 +0100 [MTD] pmc551 pci cleanup Use pci_resource_start for getting start of regions and pci_iomap to not doing this directly by using dev->resource... (Thanks to Rolf Eike Beer) Signed-off-by: Jiri Slaby Signed-off-by: David Woodhouse commit 7fefb924d7aed7116fe2a68cdbfc9e36318e7300 tree d8c5402b6bcf91131dbd7fd471f8c3c0591703da parent cdf0a7d16980858e72f5d26bfe48abf01112fab5 author Jiri Slaby Tue, 19 Sep 2006 21:55:18 +0200 committer David Woodhouse Fri, 22 Sep 2006 10:33:52 +0100 [MTD] pmc551 use kzalloc Use kzalloc instad of kmalloc+memset(0). Signed-off-by: Jiri Slaby Signed-off-by: David Woodhouse commit cdf0a7d16980858e72f5d26bfe48abf01112fab5 tree a46adb9d19fa945dc1ba6e6c62087074834d29a1 parent e417fcfb857b809e5dabc9b252ad70f090d553d1 author Jiri Slaby Tue, 19 Sep 2006 21:55:06 +0200 committer David Woodhouse Fri, 22 Sep 2006 10:33:31 +0100 [MTD] pmc551 whitespace cleanup Spaces were used for indent, there was more than 80 columns per line. Get rid of that stuff. Signed-off-by: Jiri Slaby Signed-off-by: David Woodhouse commit e417fcfb857b809e5dabc9b252ad70f090d553d1 tree 2eaf33a95ad3ee0864604c13423360f743a7225f parent 6a545a0d6021a4d759ba6d0c1082d1abf8d64c84 author Lennert Buytenhek Thu, 21 Sep 2006 03:47:48 +0200 committer David Woodhouse Fri, 22 Sep 2006 10:31:01 +0100 [MTD] Remove iq80310 map driver The iq80310 mtd map driver depends on ARCH_IQ80310, which isn't defined anywhere in the tree (as we don't have 80310 support), and furthermore, everything the driver does can be done with physmap instead. Signed-off-by: Lennert Buytenhek Signed-off-by: David Woodhouse commit 6a545a0d6021a4d759ba6d0c1082d1abf8d64c84 tree 1bd55b9ee6eec2378557bc43630fb163c83075cc parent 17c2dae3aaff9b1e5d83996a5f098ad693f3aeca author Frank Haverkamp Wed, 20 Sep 2006 17:24:52 +0200 committer David Woodhouse Fri, 22 Sep 2006 10:30:25 +0100 [MTD NAND] Fix in typo ndfc.c causing wrong ECC layout Due to this typo, a wrong ECC layout table is chosen. Signed-off-by: Frank Haverkamp Signed-off-by: David Woodhouse commit 17c2dae3aaff9b1e5d83996a5f098ad693f3aeca tree e2d35bb9f404a84761b2641309b22881a4672e7e parent 25f0c659fe64832d8ee06aa623fffaad708dcf8b author Lennert Buytenhek Thu, 21 Sep 2006 23:16:48 +0200 committer David Woodhouse Fri, 22 Sep 2006 10:26:56 +0100 [MTD] physmap: add power management support Implement PM handling for physmap. Idea from Steven Scholz, patch by David Anders. Signed-off-by: Lennert Buytenhek Signed-off-by: David Woodhouse commit 25f0c659fe64832d8ee06aa623fffaad708dcf8b tree b5740156ac2ce5e39aaaba32ddb21b03379abb48 parent dd8e9ed6ed544e2b924429d29cd2a6b55590109b author Amol Lad Thu, 21 Sep 2006 18:12:43 +0530 committer David Woodhouse Fri, 22 Sep 2006 10:24:31 +0100 ioremap balanced with iounmap for drivers/mtd subsystem ioremap must be balanced by an iounmap and failing to do so can result in a memory leak. Tested (compilation only) with: - allmodconfig - Modifying drivers/mtd/maps/Kconfig and drivers/mtd/nand/Kconfig to make sure that the changed file is compiling without warning Signed-off-by: Amol Lad Signed-off-by: David Woodhouse commit dd8e9ed6ed544e2b924429d29cd2a6b55590109b tree 0961c205e59591e7da65ce7504c919e7ee3e4351 parent 668040fcd1e06fc3e68a92708cbdfa5a52c37d3c author Alan Cox Fri, 22 Sep 2006 10:19:20 +0100 committer David Woodhouse Fri, 22 Sep 2006 10:19:20 +0100 [MTD] Switch to pci_get_device and do ref counting Signed-off-by: Alan Cox Cc: Greg KH Signed-off-by: Andrew Morton Signed-off-by: David Woodhouse commit 668040fcd1e06fc3e68a92708cbdfa5a52c37d3c tree 5caced088dbe000e938fc4848b632994c6563443 parent f40a6f1cc7fe522e51e1ac4c7ab3035a434f2cef author Randy Dunlap Fri, 22 Sep 2006 10:17:28 +0100 committer David Woodhouse Fri, 22 Sep 2006 10:17:28 +0100 [MTD] blkdev helper code: fix printk format warning Fix printk format warning(s): drivers/mtd/mtd_blkdevs.c:72: warning: long int format, different type arg (arg 2) Signed-off-by: Randy Dunlap Signed-off-by: Andrew Morton Signed-off-by: David Woodhouse commit f40a6f1cc7fe522e51e1ac4c7ab3035a434f2cef tree d1d449a85661db1241f739bb6f05bc4765aa84e6 parent f2dd117fa51dd8fc071b1352254c0d14d2399b0a author Brian Walsh Fri, 22 Sep 2006 10:16:16 +0100 committer David Woodhouse Fri, 22 Sep 2006 10:16:16 +0100 [MTD] Fix ixp4xx partition parsing. If the amount of flash is not divisible by 2 then the mask in parse_mtd_partitions would fail to work as designed. Passing in the base address corrects this problem. Signed-off-by: Brian Walsh Cc: Deepak Sanexa Cc: Thomas Gleixner Signed-off-by: Andrew Morton Signed-off-by: David Woodhouse commit f2dd117fa51dd8fc071b1352254c0d14d2399b0a tree b7c5e149cdf942723c409b85df8da01fb55324d0 parent cbc88ba83ff772d8c47d95ba0fef38ad888d6fcf author Michal Piotrowski Fri, 22 Sep 2006 10:13:46 +0100 committer David Woodhouse Fri, 22 Sep 2006 10:13:46 +0100 [JFFS2] Remove unneeded ifdefs from jffs2_fs_i.h We certainly don't need the check for Linux version > 2.5.2, and in fact we can also live without the __ECOS check, since we can just add it back in the eCos git tree which is automatically derived from the Linux fs/jffs2 subdirectory in the upstream git tree. Signed-off-by: Michal Piotrowski Signed-off-by: Andrew Morton Signed-off-by: David Woodhouse commit cbc88ba83ff772d8c47d95ba0fef38ad888d6fcf tree 140bf2cf428ef10db16b7eb3552ec57d1a51f3e8 parent 187ef15268e638603dea55a91fdfa29feaed6d13 author Michal Piotrowski Fri, 22 Sep 2006 10:09:44 +0100 committer David Woodhouse Fri, 22 Sep 2006 10:09:44 +0100 [MTD NAND] Remove old code in au1550nd.c Signed-off-by: Michal Piotrowski Signed-off-by: Andrew Morton Signed-off-by: David Woodhouse commit 187ef15268e638603dea55a91fdfa29feaed6d13 tree a3895b43f90ed87ae54e3b066468ac2c8fdf31ee parent e478bec0ba0a83a48a0f6982934b6de079e7e6b3 author HĂĄvard Skinnemoen Fri, 22 Sep 2006 10:07:08 +0100 committer David Woodhouse Fri, 22 Sep 2006 10:07:08 +0100 [MTD] Unlock NOR flash automatically where necessary Introduce the MTD_STUPID_LOCK flag which indicates that the flash chip is always locked after power-up, so all sectors need to be unlocked before it is usable. If this flag is set, and the chip provides an unlock() operation, mtd_add_device will unlock the whole MTD device if it's writeable. This means that non-writeable partitions will stay locked. Set MTD_STUPID_LOCK in fixup_use_atmel_lock() so that these chips will work as expected. Signed-off-by: HĂĄvard Skinnemoen Signed-off-by: Andrew Morton Signed-off-by: David Woodhouse commit 69917c26c840e7de94522bf90fb190de63bf92bd tree 8ffe260e70dc6bc5be0d010085bec0cebf1ffbd7 parent e102926385b56e593b995ecc433f041b498a49e1 author Benjamin Herrenschmidt Fri, 22 Sep 2006 12:56:30 +1000 committer Paul Mackerras Fri, 22 Sep 2006 15:19:58 +1000 [POWERPC] Fix ohare IDE irq workaround on old powermacs Looks like a workaround for old bogus OF bitrot... This fixes it and hence fixes boot on some performa machines. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Paul Mackerras commit e102926385b56e593b995ecc433f041b498a49e1 tree 28426cd50b4cd833a761242b8a7788596e1ddfe0 parent 3d574abd59d49173ac3096a19575a2f7430505be author Linas Vepstas Thu, 21 Sep 2006 18:25:56 -0500 committer Paul Mackerras Fri, 22 Sep 2006 15:19:58 +1000 [POWERPC] EEH: Power4 systems sometimes need multiple resets. On detection of an EEH error, some Power4 systems seem to occasionally want to be reset twice before they report themselves as fully recovered. This patch re-arranges the code to attempt additional resets if the first one doesn't take. Signed-off-by: Linas Vepstas Signed-off-by: Paul Mackerras commit 3d574abd59d49173ac3096a19575a2f7430505be tree 8657d051db10eb49e36d85b09269fc075cc53a8e parent cc9881ce371dc7ff3ef5404feda59566fabaf521 author Scott Wood Thu, 21 Sep 2006 13:11:52 -0500 committer Paul Mackerras Fri, 22 Sep 2006 15:19:58 +1000 [POWERPC] Include in arch/powerpc/sysdev/fsl_soc.h for phys_addr_t. This patch causes fsl_soc.h to import the definition of phys_addr_t itself, rather than relying on its includer to do so. Signed-off-by: Scott Wood Signed-off-by: Paul Mackerras commit cc9881ce371dc7ff3ef5404feda59566fabaf521 tree 3326f263f308f9c3c4bc6cb2737e3c1377fade2a parent d608df5c7da6ee968aa2ad43c596d5f8d4022299 author Nathan Lynch Thu, 21 Sep 2006 14:31:13 -0500 committer Paul Mackerras Fri, 22 Sep 2006 15:19:58 +1000 [POWERPC] Demacrofy arch/powerpc/platforms/maple/pci.c Noticed that the U3_*CFA macros have some typos: #define U3_HT_CFA0(devfn, off) \ ((((unsigned long)devfn) << 8) | offset) (refers to offset rather than off) #define U3_AGP_CFA0(devfn, off) \ ((1 << (unsigned long)PCI_SLOT(dev_fn)) \ | (((unsigned long)PCI_FUNC(dev_fn)) << 8) \ (refers to dev_fn rather than devfn) Things happen to work, but there doesn't seem to be any reason these shouldn't be functions. Overall behavior should be unchanged. Signed-off-by: Nathan Lynch Signed-off-by: Paul Mackerras commit d608df5c7da6ee968aa2ad43c596d5f8d4022299 tree 421df8cc60c8570e89b15a74cd67b177ca64778c parent ed709d134deeaea7925a3d748b33ca7e58cc683d author Nathan Lynch Thu, 21 Sep 2006 14:25:34 -0500 committer Paul Mackerras Fri, 22 Sep 2006 15:19:58 +1000 [POWERPC] Maple U3 HT - reject inappropriate config space access When there is a PCI-X mode 2 capable device behind the HT<->PCI-X bridge, the pci core decides that the device has the extended 4K config space, even though the bus is not operating in mode 2. This is because the u3_ht pci ops silently accept offsets greater than 255 but use only the 8 least significant bits, which means reading at offset 0x100 gets the data at offset 0x0, and causes confusion for lspci. Reject accesses to configuration space offsets greater than 255. Signed-off-by: Nathan Lynch Signed-off-by: Paul Mackerras commit ed709d134deeaea7925a3d748b33ca7e58cc683d tree 9d42ba6363e933273011e6c31d834b950ea8cad8 parent 7d452c326c2ac879aced884411a0fe3ba75d9c87 author Scott Wood Thu, 21 Sep 2006 13:10:51 -0500 committer Paul Mackerras Fri, 22 Sep 2006 15:19:58 +1000 [POWERPC] Fix IPIC pending register assignments This patch fixes the assignment of pending registers to IRQ numbers for the IPIC; the code previously assigned all IRQs to the high pending word regardless of which word the interrupt belonged to. Signed-off-by: Scott Wood Signed-off-by: Paul Mackerras commit 7d452c326c2ac879aced884411a0fe3ba75d9c87 tree fd1c533c0ecb8364a00cc28e8f7c8dbca5dc4840 parent 2954da897c40de0f3abdd6a100f2978f30d04068 author Arnd Bergmann Thu, 21 Sep 2006 12:29:51 +0200 committer Paul Mackerras Fri, 22 Sep 2006 15:19:58 +1000 [POWERPC] powerpc: fix building gdb against asm/ptrace.h Ulrich Weigand found a bug with the current version of the asm-powerpc/ptrace.h that prevents building at least the SPU target version of gdb, since some ptrace opcodes are not defined. The problem seems to have originated in the merging of 32 and 64 bit versions of that file, the problem is that some opcodes are only valid on 64 bit kernels, but are also used by 32 bit programs, so they can't depends on the __powerpc64__ symbol. Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit 2954da897c40de0f3abdd6a100f2978f30d04068 tree 2e695a29fea688539ef4b933918d5d252fa60760 parent caf81329c39b5c48f6cc0d78fa159b5a587e37f9 author Michael Ellerman Thu, 21 Sep 2006 18:21:35 +1000 committer Paul Mackerras Fri, 22 Sep 2006 15:19:58 +1000 [POWERPC] Remove DISCONTIGMEM cruft from page.h This looks like cruft to me, these functions don't exist AFAICT, and I can't see that it's possible to even enable DISCONTIGMEM on powerpc anymore. CC'ing some folks who might know better, based on the who-touched-it-last principle. Signed-off-by: Michael Ellerman Signed-off-by: Paul Mackerras commit caf81329c39b5c48f6cc0d78fa159b5a587e37f9 tree 7cf6afe7a14e2a9d1cc962895b61d8cb24e71793 parent 7da8a2e5c1fd2ee513fdeac8d13c4f3623838fd0 author Stephen Rothwell Thu, 21 Sep 2006 18:00:00 +1000 committer Paul Mackerras Fri, 22 Sep 2006 15:19:58 +1000 [POWERPC] Merge iSeries i/o operations with the rest This patch changes the io operations so that they are out of line if CONFIG_PPC_ISERIES is set and includes a firmware feature check in that case. Signed-off-by: Stephen Rothwell Signed-off-by: Paul Mackerras commit b8c06a2ab68661bf841e21003f4447f8d422aed3 tree c3fc32bb2d9a3d6ac35a4c296ba82053681ccc76 parent 6b70c9559bcf381a6521e38b0dd5d3d4d905868a author Steve French Fri, 22 Sep 2006 01:14:52 +0000 committer Steve French Fri, 22 Sep 2006 01:14:52 +0000 [CIFS] statfs for cifs unix extensions no longer experimental Signed-off-by: Steve French commit 7da8a2e5c1fd2ee513fdeac8d13c4f3623838fd0 tree 215564fe0ebd43b8ab659b2ccb01ec487c02d34f parent 8b9b5a77e3aeb9650b511a8be4c61632999537db author Josh Boyer Wed, 20 Sep 2006 09:11:59 -0500 committer Paul Mackerras Thu, 21 Sep 2006 22:59:39 +1000 [POWERPC] 40x: Fix debug status register defines This fixes some debug register defines on PPC 40x that were incorrect. Signed-off-by: Josh Boyer Signed-off-by: Paul Mackerras commit 8b9b5a77e3aeb9650b511a8be4c61632999537db tree 1e704132f4fd02db24cf0e73ab6e0c31d1d74e77 parent 6a1ca373a16b0e170164ab8a2d6d01eab2a22f6e author Amy Fong Mon, 18 Sep 2006 23:07:24 -0400 committer Paul Mackerras Thu, 21 Sep 2006 22:59:38 +1000 [POWERPC] Fix compile error in sbc8560 The following fixes compile errors in sbc8560. Signed-off-by: Amy Fong Signed-off-by: Paul Mackerras commit 6a1ca373a16b0e170164ab8a2d6d01eab2a22f6e tree 94408b9a75b9a031fb3dfaf18c4dd192de4fb448 parent 47b5c838af92d3504e99633bf568578203b7305f author Linas Vepstas Fri, 15 Sep 2006 18:58:59 -0500 committer Paul Mackerras Thu, 21 Sep 2006 22:59:20 +1000 [POWERPC] EEH: support MMIO enable recovery step Update to the PowerPC PCI error recovery code. Add code to enable MMIO if a device driver reports that it is capable of recovering on its own. One anticipated use of this having a device driver enable MMIO so that it can take a register dump, which might then be followed by the device driver requesting a full reset. Signed-off-by: Linas Vepstas Signed-off-by: Paul Mackerras commit 47b5c838af92d3504e99633bf568578203b7305f tree 0122e533f39c48572d74a592c61ac394466fff01 parent cb5b562444c27cf53f5d297bd7a89807ea614cf3 author Linas Vepstas Fri, 15 Sep 2006 18:57:42 -0500 committer Paul Mackerras Thu, 21 Sep 2006 22:59:14 +1000 [POWERPC] EEH: enable MMIO/DMA on frozen slot Add wrapper around the rtas call to enable MMIO or DMA on a frozen pci slot. Signed-off-by: Linas Vepstas Signed-off-by: Paul Mackerras commit cb5b562444c27cf53f5d297bd7a89807ea614cf3 tree 462b0ed5aad52c2595dc6f906eaf6e82919bd0da parent af525592187951a595c73de11b48969a13b5d5a3 author Linas Vepstas Fri, 15 Sep 2006 18:56:35 -0500 committer Paul Mackerras Thu, 21 Sep 2006 22:59:10 +1000 [POWERPC] EEH: code comment cleanup Clean up subroutine documentation; mostly formatting changes, with some new content. Signed-off-by: Linas Vepstas Signed-off-by: Paul Mackerras commit af525592187951a595c73de11b48969a13b5d5a3 tree 0c0c6876b5278b4390fddf1d49fd9d53dc4ff1b8 parent 4dbefe6459555d6fb9d08743615fbaa53894beb2 author Linas Vepstas Fri, 15 Sep 2006 18:55:34 -0500 committer Paul Mackerras Thu, 21 Sep 2006 22:59:08 +1000 [POWERPC] EEH: balance pcidev_get/put calls This corrects a pci_dev get/put imbalance that can occur only in highly unlikely situations (kmalloc failures, pci devices with overlapping resource addresses). No actual failures seen, this was spotted during code review. Signed-off-by: Linas Vepstas Signed-off-by: Paul Mackerras commit 4dbefe6459555d6fb9d08743615fbaa53894beb2 tree f185541b0b0224ffb2b26de85e8814115faa3ade parent 838fdb4d2d0e4730364220b51be28a42d04c665e author Josh Boyer Fri, 15 Sep 2006 14:53:10 -0500 committer Paul Mackerras Thu, 21 Sep 2006 22:55:06 +1000 [POWERPC] PPC: Fix xmon stack frame address in backtrace The stack frame address was being printed incorrectly in the backtrace option of XMON on PPC. This patch fixes it to print the actual stack address instead of the address of the local variable that contains it. Signed-off-by: Josh Boyer Signed-off-by: Paul Mackerras commit 838fdb4d2d0e4730364220b51be28a42d04c665e tree 6eaece1f5d1295b3d7f43d5362478cd1d71bf243 parent b2c5f61920eeee9c4e78698de4fde4586fe5ae79 author Peter Bergner Thu, 14 Sep 2006 14:18:38 -0500 committer Paul Mackerras Thu, 21 Sep 2006 22:54:54 +1000 [POWERPC] Add AT_PLATFORM value for Xilinx Virtex-4 FX Jakub noticed the cputable.c entry for Xilinx Virtex-4 FX was missing a .platform value, so the AT_PLATFORM value wouldn't be set correctly. This adds it. Signed-off-by: Peter Bergner Signed-off-by: Paul Mackerras commit 6b70c9559bcf381a6521e38b0dd5d3d4d905868a tree 2165ddc6fa0d7677b00fdee6265271ac29024df6 parent 2fe87f02a04ad6e7075023a87fe38eb458a4bb9d author Steve French Thu, 21 Sep 2006 07:35:29 +0000 committer Steve French Thu, 21 Sep 2006 07:35:29 +0000 [CIFS] New POSIX locking code not setting rc properly to zero on successful unlock in case where server does not support POSIX locks and nobrl is not specified. Signed-off-by: Steve French commit 2fe87f02a04ad6e7075023a87fe38eb458a4bb9d tree ec095fecdccad724faa6560cf7a81a9494a5a093 parent b835bebe95608c81270636a78b70333afb011925 author Steve French Thu, 21 Sep 2006 07:02:52 +0000 committer Steve French Thu, 21 Sep 2006 07:02:52 +0000 [CIFS] Support deep tree mounts (e.g. mounts to //server/share/path) Samba bugzilla #4040 Signed-off-by: Steve French commit 54caf44da31995df1f51174468fd9e83ca5c67a2 tree 306a78de16850b17c81d86492ed088171addbc03 parent 8ce90907ea534f10075a9eba5f83d6dd77b39cb6 author Jeff Garzik Thu, 21 Sep 2006 00:08:10 -0400 committer Jeff Garzik Thu, 21 Sep 2006 00:08:10 -0400 [netdrvr] mv643xx_eth: fix obvious typo, which caused build breakage The last minute fix submitted by the author fixed a bug, but broke the driver build. Noticed by Al Viro, since I can't build on said platform. Signed-off-by: Jeff Garzik commit 8ce90907ea534f10075a9eba5f83d6dd77b39cb6 tree f0afaf6ee678a2e6f3c9c1b2a76921e73257e0d9 parent e478bec0ba0a83a48a0f6982934b6de079e7e6b3 author Jeff Garzik Thu, 21 Sep 2006 00:06:21 -0400 committer Jeff Garzik Thu, 21 Sep 2006 00:06:21 -0400 [netdrvr] lp486e: fix typo inside #if 0'd code, but it bugged me. Really, we should probably just delete the driver. Signed-off-by: Jeff Garzik commit 3c164bd8153c4644a22dc2101b003c67cd2a0d0a tree c6b3f7a3d0f2d3850ce1c8c7e040053f548ebe9b parent 3ad819c61f5f8347f39cdcbe652b3c60ec615888 author Rik Snel Sat, 02 Sep 2006 18:17:33 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:46:27 +1000 [BLOCK] dm-crypt: trivial comment improvements Just some minor comment nits. - little-endian is better than low-endian - and since it is called essiv everywere it should also be essiv in the comments (and not ess_iv) Signed-off-by: Rik Snel Signed-off-by: Herbert Xu commit 3ad819c61f5f8347f39cdcbe652b3c60ec615888 tree a323dbf1afe0180ceb1d5d7d4caf785742585f1b parent 6010439f47e6b308c031dad7d99686030ef942dd author Herbert Xu Sat, 26 Aug 2006 18:44:31 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:46:23 +1000 [CRYPTO] api: Deprecate crypto_digest_* and crypto_alg_available This patch marks the crypto_digest_* functions and crypto_alg_available as deprecated. They've been replaced by crypto_hash_* and crypto_has_* respectively. Signed-off-by: Herbert Xu commit 6010439f47e6b308c031dad7d99686030ef942dd tree c59d65017014dec1f0c01e6372c7a92f3284a5e9 parent e4d5b79c661c7cfca9d8d5afd040a295f128d3cb author Herbert Xu Sat, 26 Aug 2006 18:34:10 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:46:22 +1000 [CRYPTO] padlock: Convert padlock-sha to use crypto_hash This patch converts padlock-sha to use crypto_hash for its fallback. It also changes the fallback selection to use selection by type instead of name. This is done through the new CRYPTO_ALG_NEED_FALLBACK bit, which is set if and only if an algorithm needs a fallback of the same type. Signed-off-by: Herbert Xu commit e4d5b79c661c7cfca9d8d5afd040a295f128d3cb tree 55a19ceca1b51b26d1934d388b26f0b1bed99a3e parent fce32d70ba834129b164c40c2d4260e5a7a7d850 author Herbert Xu Sat, 26 Aug 2006 18:12:40 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:46:22 +1000 [CRYPTO] users: Use crypto_comp and crypto_has_* This patch converts all users to use the new crypto_comp type and the crypto_has_* functions. Signed-off-by: Herbert Xu commit fce32d70ba834129b164c40c2d4260e5a7a7d850 tree 25076d25f1b95c93b276db253bc8cd301bae6289 parent 35058687912aa2f0b4554383cc10be4e0683b9a4 author Herbert Xu Sat, 26 Aug 2006 17:35:45 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:46:21 +1000 [CRYPTO] api: Add crypto_comp and crypto_has_* This patch adds the crypto_comp type to complete the compile-time checking conversion. The functions crypto_has_alg and crypto_has_cipher, etc. are also added to replace crypto_alg_available. Signed-off-by: Herbert Xu commit 35058687912aa2f0b4554383cc10be4e0683b9a4 tree 3e18d13aef6682553887076c1e9872e91e6fc5c4 parent dc64ddf4918f0da52df10d83c2a5941a547c2035 author Herbert Xu Thu, 24 Aug 2006 19:10:20 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:46:21 +1000 [CRYPTO] users: Use crypto_hash interface instead of crypto_digest This patch converts all remaining crypto_digest users to use the new crypto_hash interface. Signed-off-by: Herbert Xu commit dc64ddf4918f0da52df10d83c2a5941a547c2035 tree ed1c3dcd4b5b6d636d9960caeeb64aa01cf092f1 parent 8425165dfed27945e8509c141cea245d1739e372 author Herbert Xu Thu, 24 Aug 2006 18:45:50 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:46:20 +1000 [SCSI] iscsi: Use crypto_hash interface instead of crypto_digest This patch converts ISCSI to use the new crypto_hash interface instead of crypto_digest. It's a fairly straightforward substitution. Signed-off-by: Herbert Xu commit 8425165dfed27945e8509c141cea245d1739e372 tree c2a05344993a52bb317bb320a97d0566f3d277bf parent 878b9014666217555d16073764f30e825cf18d2f author Herbert Xu Sun, 20 Aug 2006 15:25:22 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:46:20 +1000 [CRYPTO] digest: Remove old HMAC implementation This patch removes the old HMAC implementation now that nobody uses it anymore. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit 878b9014666217555d16073764f30e825cf18d2f tree cd7ab9f6f49dc0eb3cbfacd0abfc1a1daa243aaf parent 1b489e11d4df82514792f9f981f31976f8a94ddf author Herbert Xu Sun, 20 Aug 2006 15:17:04 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:46:20 +1000 [CRYPTO] doc: Update documentation for hash and me This patch updates the documentation to reflect the switch from digest to hash. It also replaces notes about emailing James Morris to refer to me instead. Signed-off-by: Herbert Xu commit 1b489e11d4df82514792f9f981f31976f8a94ddf tree fe047012069eb528fc18518fc4340a02ab9b0adc parent 07d4ee583e21830ec5604d31f65cdc60a6eca19e author Herbert Xu Sun, 20 Aug 2006 15:07:14 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:46:19 +1000 [SCTP]: Use HMAC template and hash interface This patch converts SCTP to use the new HMAC template and hash interface. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit 07d4ee583e21830ec5604d31f65cdc60a6eca19e tree 32962ef0dd13d0d1f66b143ca5d03a88d8b9f772 parent e9d41164e2fdd897fe4520c2079ea0000f6e0ec3 author Herbert Xu Sun, 20 Aug 2006 14:24:50 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:46:18 +1000 [IPSEC]: Use HMAC template and hash interface This patch converts IPsec to use the new HMAC template. The names of existing simple digest algorithms may still be used to refer to their HMAC composites. The same structure can be used by other MACs such as AES-XCBC-MAC. This patch also switches from the digest interface to hash. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit e9d41164e2fdd897fe4520c2079ea0000f6e0ec3 tree da56da7216ac1cc7abc040b93ed6a358d374ef71 parent 0796ae061e6da5de7cfc1af57dfd42a73908b1bf author Herbert Xu Sat, 19 Aug 2006 21:38:49 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:46:18 +1000 [CRYPTO] tcrypt: Use HMAC template and hash interface This patch converts tcrypt to use the new HMAC template rather than the hard-coded version of HMAC. It also converts all digest users to use the new cipher interface. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit 0796ae061e6da5de7cfc1af57dfd42a73908b1bf tree 83832b65f93f2979483640d994d72f8b37860701 parent 055bcee3102dc35f019b69df9c2618e9d6dd1c09 author Herbert Xu Mon, 21 Aug 2006 20:50:52 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:46:17 +1000 [CRYPTO] hmac: Add crypto template implementation This patch rewrites HMAC as a crypto template. This means that HMAC is no longer a hard-coded part of the API. It's now a template that generates standard digest algorithms like any other. The old HMAC is preserved until all current users are converted. The same structure can be used by other MACs such as AES-XCBC-MAC. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit 055bcee3102dc35f019b69df9c2618e9d6dd1c09 tree 3f7c68abbbb5041d570e4cb8588f3943530bc0b7 parent 7226bc877a22244e8003924031435a4bffd52654 author Herbert Xu Sat, 19 Aug 2006 22:24:23 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:46:17 +1000 [CRYPTO] digest: Added user API for new hash type The existing digest user interface is inadequate for support asynchronous operations. For one it doesn't return a value to indicate success or failure, nor does it take a per-operation descriptor which is essential for the issuing of requests while other requests are still outstanding. This patch is the first in a series of steps to remodel the interface for asynchronous operations. For the ease of transition the new interface will be known as "hash" while the old one will remain as "digest". This patch also changes sg_next to allow chaining. Signed-off-by: Herbert Xu commit 7226bc877a22244e8003924031435a4bffd52654 tree b522aec40dcf6c9c3080d6c8d0fce77c432238af parent 03fd9cee7f46dddcd2562bc175d2c348502ce281 author Herbert Xu Mon, 21 Aug 2006 21:40:49 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:46:16 +1000 [CRYPTO] api: Mark parts of cipher interface as deprecated Mark the parts of the cipher interface that have been replaced by block ciphers as deprecated. Thanks to Andrew Morton for suggesting doing this before removing them completely. Signed-off-by: Herbert Xu commit 03fd9cee7f46dddcd2562bc175d2c348502ce281 tree d2248f83a1842fb0db44d8b0aa89e3605886d9e2 parent efcf8023e299be605f217dc2c1b2754b5534569c author Herbert Xu Mon, 14 Aug 2006 23:11:53 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:46:16 +1000 [PATCH] scatterlist: Add const to sg_set_buf/sg_init_one pointer argument This patch adds a const modifier to the buf argument of sg_set_buf and sg_init_one. This lets people call it with pointers that are const. Signed-off-by: Herbert Xu commit efcf8023e299be605f217dc2c1b2754b5534569c tree 36baba6406dd270f64c4e039811893877f9f0499 parent f12cc2090d721647c23dfce20834f4306db3b77d author Herbert Xu Sat, 05 Aug 2006 16:28:19 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:46:16 +1000 [CRYPTO] drivers: Remove obsolete block cipher operations This patch removes obsolete block operations of the simple cipher type from drivers. These were preserved so that existing users can make a smooth transition. Now that the transition is complete, they are no longer needed. Signed-off-by: Herbert Xu commit f12cc2090d721647c23dfce20834f4306db3b77d tree fba6861bdb58153acaab1ba1e51ec4e48fe0fd99 parent 378c6697a282c383d89428380a3405bf95189347 author Herbert Xu Tue, 22 Aug 2006 20:36:13 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:46:15 +1000 [CRYPTO] users: Use block ciphers where applicable This patch converts all remaining users to use the new block cipher type where applicable. It also changes all simple cipher operations to use the new encrypt_one/decrypt_one interface. Signed-off-by: Herbert Xu commit 378c6697a282c383d89428380a3405bf95189347 tree 3127c641dd07694199cd4e89c9cd5c155c4eb560 parent 6b7326c8497f954c2cfcb4c49fe42be5b80887bc author Herbert Xu Tue, 22 Aug 2006 20:33:54 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:46:15 +1000 [SUNRPC] GSS: Use block ciphers where applicable This patch converts SUNRPC/GSS to use the new block cipher type where applicable. Signed-off-by: Herbert Xu commit 6b7326c8497f954c2cfcb4c49fe42be5b80887bc tree 5739c37f7a72d1ef281fbbb5bbc1483226eec198 parent 04ff12609445c7b462d7fc7f2d30dad442c922f3 author Herbert Xu Sun, 30 Jul 2006 15:41:01 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:46:14 +1000 [IPSEC] ESP: Use block ciphers where applicable This patch converts IPSec/ESP to use the new block cipher type where applicable. Similar to the HMAC conversion, existing algorithm names have been kept for compatibility. Signed-off-by: Herbert Xu commit 04ff12609445c7b462d7fc7f2d30dad442c922f3 tree f19aff48d2e6a4c7e4bf25044c1b30ea428f4318 parent d1806f6a97a536b043fe50e6d8a25b061755cf50 author Herbert Xu Sun, 13 Aug 2006 08:50:00 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:46:14 +1000 [IPSEC]: Add compatibility algorithm name support This patch adds a compatibility name field for each IPsec algorithm. This is needed when parameterised algorithms are used. For example, "md5" will become "hmac(md5)", and "aes" will become "cbc(aes)". Signed-off-by: Herbert Xu commit d1806f6a97a536b043fe50e6d8a25b061755cf50 tree 0df6a3772783600f58fa0c5e709c650d1f832610 parent 69affe7fc52c14e4b81408a2076e9e58ba4af60a author Herbert Xu Tue, 22 Aug 2006 20:29:17 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:46:13 +1000 [BLOCK] dm-crypt: Use block ciphers where applicable This patch converts dm-crypt to use the new block cipher type where applicable. It also changes simple cipher operations to use the new encrypt_one/decrypt_one interface. Signed-off-by: Herbert Xu commit 69affe7fc52c14e4b81408a2076e9e58ba4af60a tree fd971855cfab1005fc954506014acb1bd96bb6bc parent cba83564d112e4aec52227f68670f8dbd4d4ac89 author Herbert Xu Thu, 21 Sep 2006 11:45:53 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:45:53 +1000 [BLOCK] cryptoloop: Use block ciphers where applicable This patch converts cryptoloop to use the new block cipher type where applicable. As a result the ECB-specific and CBC-specific transfer functions have been merged. Signed-off-by: Herbert Xu commit cba83564d112e4aec52227f68670f8dbd4d4ac89 tree 6fe5f3990e67598ae640580d4818f29183244418 parent a9e62fadf0b02ba4a1d945d1a75652507da94319 author Herbert Xu Sun, 13 Aug 2006 08:26:09 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:44:50 +1000 [CRYPTO] tcrypt: Use block ciphers where applicable This patch converts tcrypt to use the new block cipher type where applicable. Signed-off-by: Herbert Xu commit a9e62fadf0b02ba4a1d945d1a75652507da94319 tree 8e17290e66a3b0200d1a55b1798c81c9bb83e19d parent 28ce728a90cce3a0c6c0ed00354299de52db94b1 author Herbert Xu Mon, 21 Aug 2006 21:39:24 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:44:50 +1000 [CRYPTO] s390: Added block cipher versions of CBC/ECB This patch adds block cipher algorithms for S390. Once all users of the old cipher type have been converted the existing CBC/ECB non-block cipher operations will be removed. Signed-off-by: Herbert Xu commit 28ce728a90cce3a0c6c0ed00354299de52db94b1 tree d5f8c799cb949a5afdfb9db4fb9c4c749820c35e parent db131ef9084110d9e82549c0a627e157e8bb99d7 author Herbert Xu Mon, 21 Aug 2006 21:38:42 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:44:35 +1000 [CRYPTO] padlock: Added block cipher versions of CBC/ECB This patch adds block cipher algorithms for cbc(aes) and ecb(aes) for the PadLock device. Once all users to the old cipher type have been converted the old cbc/ecb PadLock operations will be removed. Signed-off-by: Herbert Xu commit db131ef9084110d9e82549c0a627e157e8bb99d7 tree 65330d3557a7dda47fa48876b7ea9cac1461301d parent 5cde0af2a9825dd1edaca233bd9590566579ef21 author Herbert Xu Thu, 21 Sep 2006 11:44:08 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:44:08 +1000 [CRYPTO] cipher: Added block ciphers for CBC/ECB This patch adds two block cipher algorithms, CBC and ECB. These are implemented as templates on top of existing single-block cipher algorithms. They invoke the single-block cipher through the new encrypt_one/decrypt_one interface. This also optimises the in-place encryption and decryption to remove the cost of an IV copy each round. Signed-off-by: Herbert Xu commit 5cde0af2a9825dd1edaca233bd9590566579ef21 tree e396297e3a2436d4a6ac77de63f95f2328c7a0fe parent 5c64097aa0f6dc4f27718ef47ca9a12538d62860 author Herbert Xu Tue, 22 Aug 2006 00:07:53 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:41:52 +1000 [CRYPTO] cipher: Added block cipher type This patch adds the new type of block ciphers. Unlike current cipher algorithms which operate on a single block at a time, block ciphers operate on an arbitrarily long linear area of data. As it is block-based, it will skip any data remaining at the end which cannot form a block. The block cipher has one major difference when compared to the existing block cipher implementation. The sg walking is now performed by the algorithm rather than the cipher mid-layer. This is needed for drivers that directly support sg lists. It also improves performance for all algorithms as it reduces the total number of indirect calls by one. In future the existing cipher algorithm will be converted to only have a single-block interface. This will be done after all existing users have switched over to the new block cipher type. Signed-off-by: Herbert Xu commit 5c64097aa0f6dc4f27718ef47ca9a12538d62860 tree d8c0cd3358464f589c9f2778b7be348f73db6950 parent f28776a369b12f9a03a822a8e1090ed670a41f4f author Herbert Xu Sat, 12 Aug 2006 21:56:17 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:41:52 +1000 [CRYPTO] scatterwalk: Prepare for block ciphers This patch prepares the scatterwalk code for use by the new block cipher type. Firstly it halves the size of scatter_walk on 32-bit platforms. This is important as we allocate at least two of these objects on the stack for each block cipher operation. It also exports the symbols since the block cipher code can be built as a module. Finally there is a hack in scatterwalk_unmap that relies on progress being made. Unfortunately, for hardware crypto we can't guarantee progress to be made since the hardware can fail. So this also gets rid of the hack by not advancing the address returned by scatterwalk_map. Signed-off-by: Herbert Xu commit f28776a369b12f9a03a822a8e1090ed670a41f4f tree b1eb08db2d7ad5c83a4b2784aea3af0502d127b3 parent e853c3cfa8cc24869ecd2526e589bcb176bc12e9 author Herbert Xu Sun, 13 Aug 2006 20:58:18 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:41:51 +1000 [CRYPTO] cipher: Added encrypt_one/decrypt_one This patch adds two new operations for the simple cipher that encrypts or decrypts a single block at a time. This will be the main interface after the existing block operations have moved over to the new block ciphers. It also adds the crypto_cipher type which is currently only used on the new operations but will be extended to setkey as well once existing users have been converted to use block ciphers where applicable. Signed-off-by: Herbert Xu commit e853c3cfa8cc24869ecd2526e589bcb176bc12e9 tree 24ad223420bdea868e891676ebb7285e3c477a05 parent 8f21cf0d2bae04ece761595036c9da8328b279aa author Herbert Xu Tue, 22 Aug 2006 00:06:54 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:41:51 +1000 [CRYPTO] api: Added crypto_type support This patch adds the crypto_type structure which will be used for all new crypto algorithm types, beginning with block ciphers. The primary purpose of this abstraction is to allow different crypto_type objects for crypto algorithms of the same type, in particular, there will be a different crypto_type objects for asynchronous algorithms. Signed-off-by: Herbert Xu commit 8f21cf0d2bae04ece761595036c9da8328b279aa tree 4025d020895dcbfc2aef330fed01860bbf0ba64d parent 6d7d684d635ac5a345f075015f2c84169c111c6a author Herbert Xu Sun, 30 Jul 2006 11:53:45 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:41:50 +1000 [CRYPTO] api: Feed flag directly to crypto_yield The sleeping flag used to determine whether crypto_yield can actually yield is really a per-operation flag rather than a per-tfm flag. This patch changes crypto_yield to take a flag directly so that we can start using a per-operation flag instead the tfm flag. Signed-off-by: Herbert Xu commit 6d7d684d635ac5a345f075015f2c84169c111c6a tree 9a1b397fe8db3c14cc69880aba747e50c1a1faa2 parent 65b75c36f4e8422602826c75c803136e0da94122 author Herbert Xu Sun, 30 Jul 2006 11:53:01 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:41:50 +1000 [CRYPTO] api: Added crypto_alloc_base Up until now all crypto transforms have been of the same type, struct crypto_tfm, regardless of whether they are ciphers, digests, or other types. As a result of that, we check the types at run-time before each crypto operation. This is rather cumbersome. We could instead use different C types for each crypto type to ensure that the correct types are used at compile time. That is, we would have crypto_cipher/crypto_digest instead of just crypto_tfm. The appropriate type would then be required for the actual operations such as crypto_digest_digest. Now that we have the type/mask fields when looking up algorithms, it is easy to request for an algorithm of the precise type that the user wants. However, crypto_alloc_tfm currently does not expose these new attributes. This patch introduces the function crypto_alloc_base which will carry these new parameters. It will be renamed to crypto_alloc_tfm once all existing users have been converted. Signed-off-by: Herbert Xu commit 65b75c36f4e8422602826c75c803136e0da94122 tree 4adf5b95aff10656469572425a0ae14196031370 parent f3f632d61ae9af85d436706ee8e33af1a7fb9c28 author Herbert Xu Mon, 21 Aug 2006 21:18:50 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:41:50 +1000 [CRYPTO] s390: Added missing driver name and priority Accelerated versions of crypto algorithms must carry a distinct driver name and priority in order to distinguish themselves from their generic counter- part. Signed-off-by: Herbert Xu commit f3f632d61ae9af85d436706ee8e33af1a7fb9c28 tree 38c9aa8a1210d88d60a7d961c47e15210d16ca78 parent 7fed0bf271b374be4c98a5880faed4b1128e78e9 author Herbert Xu Sun, 06 Aug 2006 23:12:59 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:41:49 +1000 [CRYPTO] api: Added asynchronous flag This patch adds the asynchronous flag and changes all existing users to only look up algorithms that are synchronous. Signed-off-by: Herbert Xu commit 7fed0bf271b374be4c98a5880faed4b1128e78e9 tree 29a1244ed286c500bf64afcef0c571e771ed0cd5 parent df89820ebd5bbf4f3c6b5f8ee7d9e983107f6a91 author Herbert Xu Sun, 06 Aug 2006 23:10:45 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:41:04 +1000 [CRYPTO] api: Add common instance initialisation code This patch adds the helpers crypto_get_attr_alg and crypto_alloc_instance which can be used by simple one-argument templates like hmac to process input parameters and allocate instances. Signed-off-by: Herbert Xu commit df89820ebd5bbf4f3c6b5f8ee7d9e983107f6a91 tree a782e2662cbdb6c7ad7591f2697d06008048f966 parent c907ee76d8456fe1d98f40b5febfc7802a73b784 author Herbert Xu Fri, 14 Jul 2006 10:42:27 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:41:03 +1000 [CRYPTO] cipher: Removed special IV checks for ECB This patch makes IV operations on ECB fail through nocrypt_iv rather than calling BUG(). This is needed to generalise CBC/ECB using the template mechanism. Signed-off-by: Herbert Xu commit c907ee76d8456fe1d98f40b5febfc7802a73b784 tree ba7abea258fd89c2873fbac40b1d5928b4a99f5b parent ee7564166da9e218c3f605ee78ff16599d4d5a05 author Herbert Xu Mon, 21 Aug 2006 22:04:03 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:41:03 +1000 [CRYPTO] tcrypt: Use test_hash for crc32c Now that crc32c has been fixed to conform with standard digest semantics, we can use test_hash for it. I've turned the last test into a chunky test. Signed-off-by: Herbert Xu commit ee7564166da9e218c3f605ee78ff16599d4d5a05 tree 430f72a4711bbfe88d0d04be0d241bc6558b4eef parent 560c06ae1ab7c677002ea3b6ac83521bf12ee07d author Herbert Xu Sun, 09 Jul 2006 14:49:42 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:41:02 +1000 [CRYPTO] digest: Store temporary digest in tfm When the final result location is unaligned, we store the digest in a temporary buffer before copying it to the final location. Currently that buffer sits on the stack. This patch moves it to an area in the tfm, just like the CBC IV buffer. Signed-off-by: Herbert Xu commit 560c06ae1ab7c677002ea3b6ac83521bf12ee07d tree 374ed69a7e23ba9d07458d20672aac6ae552ae51 parent 25cdbcd9e5d20e431f829cafce48a418830011f4 author Herbert Xu Sun, 13 Aug 2006 14:16:39 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:41:02 +1000 [CRYPTO] api: Get rid of flags argument to setkey Now that the tfm is passed directly to setkey instead of the ctx, we no longer need to pass the &tfm->crt_flags pointer. This patch also gets rid of a few unnecessary checks on the key length for ciphers as the cipher layer guarantees that the key length is within the bounds specified by the algorithm. Rather than testing dia_setkey every time, this patch does it only once during crypto_alloc_tfm. The redundant check from crypto_digest_setkey is also removed. Signed-off-by: Herbert Xu commit 25cdbcd9e5d20e431f829cafce48a418830011f4 tree 0dff8422d2b0b1da1d3505b0ad0e840f6f0fd66d parent 58ec4152895b96f047dcf5e490ee49b4c574dec3 author Herbert Xu Sun, 06 Aug 2006 23:03:08 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:41:01 +1000 [CRYPTO] crc32c: Fix unconventional setkey usage The convention for setkey is that once it is set it should not change, in particular, init must not wipe out the key set by it. In fact, init should always be used after setkey before any digestion is performed. The only user of crc32c that sets the key is tcrypt. This patch adds the necessary init calls there. Signed-off-by: Herbert Xu commit 58ec4152895b96f047dcf5e490ee49b4c574dec3 tree 2cc6316aaf70ffd7c43ae9677f0ba35903b9de9d parent 5644bda5d6aa17a70b8842eb56365d501a5da159 author Michal Ludvig Mon, 17 Jul 2006 08:14:58 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:41:00 +1000 [CRYPTO] padlock-sha: TFMs don't need to be static TFMs are local variables. No need to declare them static. After all one is enough. Signed-off-by: Michal Ludvig Signed-off-by: Herbert Xu commit 5644bda5d6aa17a70b8842eb56365d501a5da159 tree ac19f321bdc0dfa081e4ea7348584f516f6a7e7b parent cb17530b0a4e01bd595a7ac437467a1a9833a15c author Michal Ludvig Sun, 06 Aug 2006 22:50:30 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:41:00 +1000 [CRYPTO] padlock: Helper module padlock.ko Compile a helper module padlock.ko that will try to autoload all configured padlock algorithms. This also provides backward compatibility with the ancient times before padlock.ko was renamed to padlock-aes.ko Signed-off-by: Michal Ludvig Signed-off-by: Herbert Xu commit cb17530b0a4e01bd595a7ac437467a1a9833a15c tree 4d35d00a4827790e1aeca6ec4baeea299e45cc25 parent 6c833275152b454d311f0e70b5e6bf028b4a2aaf author Adrian Bunk Sat, 15 Jul 2006 11:31:25 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:41:00 +1000 [CRYPTO] padlock-sha: Make 2 functions static This patch makes two needlessly global functions static. Signed-off-by: Adrian Bunk Signed-off-by: Herbert Xu commit 6c833275152b454d311f0e70b5e6bf028b4a2aaf tree a08d9d1057730c1c5dde31de1db0bd81810ee8d2 parent ccc17c34d676f116bd09dd36a3b01627bc6a2f8a author Michal Ludvig Wed, 12 Jul 2006 12:29:38 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:40:59 +1000 [CRYPTO] padlock: Driver for SHA1 / SHA256 algorithms Support for SHA1 / SHA256 algorithms in VIA C7 processors. Signed-off-by: Michal Ludvig Signed-off-by: Herbert Xu commit ccc17c34d676f116bd09dd36a3b01627bc6a2f8a tree 458c6c6e7b187885c5fac80668c44583ce930ab1 parent db5e9a42373ae6d84c4b0179c2fe0aba866474e8 author Michal Ludvig Sat, 15 Jul 2006 10:23:49 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:40:22 +1000 [CRYPTO] padlock: Update private header file PADLOCK_CRA_PRIORITY is shared between padlock-aes and padlock-sha so it should be in the header. On the other hand "struct cword" is only used in padlock-aes.c so it's unnecessary to have it in padlock.h Signed-off-by: Michal Ludvig Signed-off-by: Herbert Xu commit db5e9a42373ae6d84c4b0179c2fe0aba866474e8 tree 7b8ba1a14ca02aeb0df119cf97fa0095f4e5f993 parent 1191f0a49390caf16f4a2831a4fc373757471ad6 author Herbert Xu Sun, 09 Jul 2006 10:35:49 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:40:22 +1000 [CRYPTO] padlock: Add compatibility alias after rename Whenever we rename modules we should add an alias to ensure that existing users can still locate the new module. This patch also gets rid of the now unused module function prototypes from padlock.h. Signed-off-by: Herbert Xu commit 1191f0a49390caf16f4a2831a4fc373757471ad6 tree 8b92255ab82b777feade49a68cc0dc9691f1c665 parent b14cdd6704c96474ba5c74b5959487beaa5ee1cd author Michal Ludvig Sun, 06 Aug 2006 22:46:20 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:40:21 +1000 [CRYPTO] padlock: Get rid of padlock-generic.c Merge padlock-generic.c into padlock-aes.c and compile AES as a standalone module. We won't make a monolithic padlock.ko with all supported algorithms, instead we'll compile each driver into its own module. Signed-off-by: Michal Ludvig Signed-off-by: Herbert Xu commit b14cdd6704c96474ba5c74b5959487beaa5ee1cd tree 9964ad4284280c8064ac8dc6b35d8ef8eaca65f3 parent b3be9a6d9a78bb820f5242f43b98f38b0ca610a6 author Michal Ludvig Sun, 09 Jul 2006 09:02:24 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:40:21 +1000 [CRYPTO] api: Add missing accessors for new crypto_alg fields Add missing accessors for cra_driver_name and cra_priority. Signed-off-by: Michal Ludvig Signed-off-by: Herbert Xu commit b3be9a6d9a78bb820f5242f43b98f38b0ca610a6 tree 138002fa4ad727f5520b7c36e4eb6ca3f2bc599c parent 6bfd48096ff8ecabf955958b51ddfa7988eb0a14 author Michal Ludvig Sun, 09 Jul 2006 08:59:38 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:40:20 +1000 [CRYPTO] sha: Add module aliases for sha1 / sha256 Crypto modules should be loadable by their .cra_driver_name, so we should make MODULE_ALIAS()es with these names. This patch adds aliases for SHA1 and SHA256 only as that's what we need for PadLock-SHA driver. Signed-off-by: Michal Ludvig Signed-off-by: Herbert Xu commit 6bfd48096ff8ecabf955958b51ddfa7988eb0a14 tree 813799f00d8402348ba6817953b1c631541be66c parent 492e2b63eb10c28f4f0b694264d74a8755cd1be0 author Herbert Xu Thu, 21 Sep 2006 11:39:29 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:39:29 +1000 [CRYPTO] api: Added spawns Spawns lock a specific crypto algorithm in place. They can then be used with crypto_spawn_tfm to allocate a tfm for that algorithm. When the base algorithm of a spawn is deregistered, all its spawns will be automatically removed. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit 492e2b63eb10c28f4f0b694264d74a8755cd1be0 tree d882a2df15d939b2edf9064963d73c71c5985b9b parent 2b8c19dbdc692e81243a328725a02efb77b144a5 author Herbert Xu Thu, 21 Sep 2006 11:35:17 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:35:17 +1000 [CRYPTO] api: Allow algorithm lookup by type This patch also adds the infrastructure to pick an algorithm based on their type. For example, this allows you to select the encryption algorithm "aes", instead of any algorithm registered under the name "aes". For now this is only accessible internally. Eventually it will be made available through crypto_alloc_tfm. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit 2b8c19dbdc692e81243a328725a02efb77b144a5 tree f9256d5515cc315d54971f62e0e9812d5db572ba parent 2825982d9d66ebba4b532a07391dfbb357f71c5f author Herbert Xu Thu, 21 Sep 2006 11:31:44 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:31:44 +1000 [CRYPTO] api: Add cryptomgr The cryptomgr module is a simple manager of crypto algorithm instances. It ensures that parameterised algorithms of the type tmpl(alg) (e.g., cbc(aes)) are always created. This is meant to satisfy the needs for most users. For more complex cases such as deeper combinations or multiple parameters, a netlink module will be created which allows arbitrary expressions to be parsed in user-space. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit 2825982d9d66ebba4b532a07391dfbb357f71c5f tree 3789b26b593d081ff8eedc7e528c2b9b49a94dc2 parent 4cc7720cd165273b08a72b4193146dffee58e34b author Herbert Xu Sun, 06 Aug 2006 21:23:26 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:17:13 +1000 [CRYPTO] api: Added event notification This patch adds a notifier chain for algorithm/template registration events. This will be used to register compound algorithms such as cbc(aes). In future this will also be passed onto user-space through netlink. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit 4cc7720cd165273b08a72b4193146dffee58e34b tree 19c49af8a8195624ae101f665a05efc086c7f53b parent cce9e06d100df19a327b19f23adad76e7bf63edd author Herbert Xu Sun, 06 Aug 2006 21:16:34 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:17:12 +1000 [CRYPTO] api: Add template registration A crypto_template generates a crypto_alg object when given a set of parameters. this patch adds the basic data structure fo templates and code to handle their registration/deregistration. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit cce9e06d100df19a327b19f23adad76e7bf63edd tree ce10f50679db9ed8db92912c104eef1f05efc3c5 parent 9409f38a0c8773c04bff8dda8c552d7ea013d956 author Herbert Xu Mon, 21 Aug 2006 21:08:13 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:16:30 +1000 [CRYPTO] api: Split out low-level API The crypto API is made up of the part facing users such as IPsec and the low-level part which is used by cryptographic entities such as algorithms. This patch splits out the latter so that the two APIs are more clearly delineated. As a bonus the low-level API can now be modularised if all algorithms are built as modules. Signed-off-by: Herbert Xu commit 9409f38a0c8773c04bff8dda8c552d7ea013d956 tree 694ad993535d6dcfd479f9b5cb4faab64c12fcd7 parent 6521f30273fbec65146a0f16de74b7b402b0f7b0 author Herbert Xu Sun, 06 Aug 2006 19:49:12 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:16:30 +1000 [IPSEC]: Move linux/crypto.h inclusion out of net/xfrm.h The header file linux/crypto.h is only needed by a few files so including it in net/xfrm.h (which is included by half of the networking stack) is a waste. This patch moves it out of net/xfrm.h and into the specific header files that actually need it. Signed-off-by: Herbert Xu commit 6521f30273fbec65146a0f16de74b7b402b0f7b0 tree 1e664f6c1a7c960c60c4cae01585933029f81a5f parent 72fa491912689ca69dd15f4266945d2c2f2819f8 author Herbert Xu Sun, 06 Aug 2006 20:28:44 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:16:29 +1000 [CRYPTO] api: Add crypto_alg reference counting Up until now we've relied on module reference counting to ensure that the crypto_alg structures don't disappear from under us. This was good enough as long as each crypto_alg came from exactly one module. However, with parameterised crypto algorithms a crypto_alg object may need two or more modules to operate. This means that we need to count the references to the crypto_alg object directly. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit 72fa491912689ca69dd15f4266945d2c2f2819f8 tree c117b6ccdd08c73694261aac0b7f43fdf27c861c parent eaf44088ff467410dd15a033fef118888002ffe6 author Herbert Xu Sun, 28 May 2006 09:05:24 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:16:29 +1000 [CRYPTO] api: Rename crypto_alg_get to crypto_mod_get The functions crypto_alg_get and crypto_alg_put operates on the crypto modules rather than the algorithms. Therefore it makes sense to call them crypto_mod_get and crypto_alg_put respectively. This is needed because we need to have real algorithm reference counters for parameterised algorithms as they can be unregistered from below by when their parameter algorithms are themselves unregistered. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit eaf44088ff467410dd15a033fef118888002ffe6 tree 72b225b910342ae74e1b0915ceff61b4ead97883 parent b9f535ffe38f7eb61ac2219d32d97c377b69f70d author Joachim Fritschi Tue, 20 Jun 2006 21:12:02 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:16:29 +1000 [CRYPTO] twofish: x86-64 assembly version The patch passed the trycpt tests and automated filesystem tests. This rewrite resulted in some nice perfomance increase over my last patch. Short summary of the tcrypt benchmarks: Twofish Assembler vs. Twofish C (256bit 8kb block CBC) encrypt: -27% Cycles decrypt: -23% Cycles Twofish Assembler vs. AES Assembler (128bit 8kb block CBC) encrypt: +18% Cycles decrypt: +15% Cycles Twofish Assembler vs. AES Assembler (256bit 8kb block CBC) encrypt: -9% Cycles decrypt: -8% Cycles Full Output: http://homepages.tu-darmstadt.de/~fritschi/twofish/tcrypt-speed-twofish-c-x86_64.txt http://homepages.tu-darmstadt.de/~fritschi/twofish/tcrypt-speed-twofish-asm-x86_64.txt http://homepages.tu-darmstadt.de/~fritschi/twofish/tcrypt-speed-aes-asm-x86_64.txt Here is another bonnie++ benchmark with encrypted filesystems. Most runs maxed out the hd. It should give some idea what the module can do for encrypted filesystem performance even though you can't see the full numbers. http://homepages.tu-darmstadt.de/~fritschi/twofish/output_20060610_130806_x86_64.html Signed-off-by: Joachim Fritschi Signed-off-by: Herbert Xu commit b9f535ffe38f7eb61ac2219d32d97c377b69f70d tree 57e09481226ab5a25f3938963f8299c9f0cd8439 parent 758f570ea785a5fbcdca026dfab2e9e1a3f89726 author Joachim Fritschi Tue, 20 Jun 2006 20:59:16 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:16:28 +1000 [CRYPTO] twofish: i586 assembly version The patch passed the trycpt tests and automated filesystem tests. This rewrite resulted in some nice perfomance increase over my last patch. Short summary of the tcrypt benchmarks: Twofish Assembler vs. Twofish C (256bit 8kb block CBC) encrypt: -33% Cycles decrypt: -45% Cycles Twofish Assembler vs. AES Assembler (128bit 8kb block CBC) encrypt: +3% Cycles decrypt: -22% Cycles Twofish Assembler vs. AES Assembler (256bit 8kb block CBC) encrypt: -20% Cycles decrypt: -36% Cycles Full Output: http://homepages.tu-darmstadt.de/~fritschi/twofish/tcrypt-speed-twofish-asm-i586.txt http://homepages.tu-darmstadt.de/~fritschi/twofish/tcrypt-speed-twofish-c-i586.txt http://homepages.tu-darmstadt.de/~fritschi/twofish/tcrypt-speed-aes-asm-i586.txt Here is another bonnie++ benchmark with encrypted filesystems. All runs with the twofish assembler modules max out the drivespeed. It should give some idea what the module can do for encrypted filesystem performance even though you can't see the full numbers. http://homepages.tu-darmstadt.de/~fritschi/twofish/output_20060611_205432_x86.html Signed-off-by: Joachim Fritschi Signed-off-by: Herbert Xu commit 758f570ea785a5fbcdca026dfab2e9e1a3f89726 tree b16a4acb4cb6244a79e6ca41120874aafb39c7e3 parent 2729bb427f686e47970406d6bde6b11892885f29 author Joachim Fritschi Tue, 20 Jun 2006 20:39:29 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:16:28 +1000 [CRYPTO] twofish: Fix the priority This patch adds a proper driver name and priority to the generic c implemtation to allow coexistance of c and assembler modules. Signed-off-by: Joachim Fritschi Signed-off-by: Herbert Xu commit 2729bb427f686e47970406d6bde6b11892885f29 tree 6c17bab6970fc4bcc92c0de76d174e35d8043844 parent 799111020c66c41aef621a3b53ad112543754124 author Joachim Fritschi Tue, 20 Jun 2006 20:37:23 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:16:27 +1000 [CRYPTO] twofish: Split out common c code This patch splits up the twofish crypto routine into a common part ( key setup ) which will be uses by all twofish crypto modules ( generic-c , i586 assembler and x86_64 assembler ) and generic-c part. It also creates a new header file which will be used by all 3 modules. This eliminates all code duplication. Correctness was verified with the tcrypt module and automated test scripts. Signed-off-by: Joachim Fritschi Signed-off-by: Herbert Xu commit 799111020c66c41aef621a3b53ad112543754124 tree da9fc944ada8607cf534a2d0b0774ba8e0549fcc parent e478bec0ba0a83a48a0f6982934b6de079e7e6b3 author Herbert Xu Mon, 21 Aug 2006 21:03:52 +1000 committer Herbert Xu Thu, 21 Sep 2006 11:16:27 +1000 [CRYPTO] api: Fixed crypto_tfm context alignment Previously the __aligned__ attribute was added to the crypto_tfm context member to ensure it is alinged correctly on architectures such as arm. Unfortunately kmalloc does not use the same minimum alignment rules as gcc so this is useless. This patch changes it to use kmalloc's minimum alignment. Signed-off-by: Herbert Xu commit eb35746ca5e2211569b91ebb44d55b88ec91f3b0 tree debd08f16bdb89c11b893a7e009892aaf9621411 parent f12033d206ea48928d8124cdd5d35d8008c18935 author Mark Fasheh Wed, 09 Aug 2006 13:23:08 -0700 committer Mark Fasheh Wed, 20 Sep 2006 16:00:54 -0700 ocfs2: Remove overzealous BUG_ON() The truncate code was never supposed to BUG() on an allocator it doesn't know about, but rather to ignore it. Right now, this does nothing, but when we change our allocation paths to use all suballocator files, this will allow current versions of the fs module to work fine. Signed-off-by: Mark Fasheh commit f12033d206ea48928d8124cdd5d35d8008c18935 tree 769c6e3c8c2fb6cef9736ce6557cfbfe29ad9875 parent 02ed8416fe5b7e33b5bbf2d73f9af1d316806822 author Mark Fasheh Wed, 13 Sep 2006 18:57:57 -0700 committer Mark Fasheh Wed, 20 Sep 2006 16:00:36 -0700 ocfs2: Don't print on unknown remote blocking call Signed-off-by: Mark Fasheh commit 02ed8416fe5b7e33b5bbf2d73f9af1d316806822 tree 5d13f6792c2ec5f593f7a89ca55bf8454e06c887 parent aa9588741db907785e4d92c8b768dd6c9077e6f0 author Mark Fasheh Thu, 14 Sep 2006 10:28:06 -0700 committer Mark Fasheh Wed, 20 Sep 2006 16:00:06 -0700 ocfs2: Remove EXPERIMENTAL dependency Things have been working pretty well for a while now. We should've probably done this at least one kernel revision ago, but it doesn't hurt to be paranoid. Signed-off-by: Mark Fasheh commit aa9588741db907785e4d92c8b768dd6c9077e6f0 tree d34da288a9d296a8a2ba19dfa0f1df8429bd3e33 parent e0b4096d34fbd6b30838c417100c9d0ef73c71f2 author Mark Fasheh Fri, 21 Apr 2006 13:49:02 -0700 committer Mark Fasheh Wed, 20 Sep 2006 15:53:40 -0700 ocfs2: implement directory read-ahead Uptodate.c now knows about read-ahead buffers. Use some more aggressive logic in ocfs2_readdir(). The two functions which currently use directory read-ahead are ocfs2_find_entry() and ocfs2_readdir(). Signed-off-by: Mark Fasheh commit e0b4096d34fbd6b30838c417100c9d0ef73c71f2 tree cabe34d3ae64b906f186ddea53bf3b4f84099ab7 parent 0f62de2c9ca60a35f63122e7ea992cee8aae4bef author Mark Fasheh Tue, 11 Jul 2006 14:38:54 -0700 committer Mark Fasheh Wed, 20 Sep 2006 15:53:05 -0700 ocfs2: properly update i_mtime on buffered write We weren't always updating i_mtime on writes, so fix ocfs2_commit_write() to handle this. Signed-off-by: Mark Fasheh Acked-by: Zach Brown commit 0f62de2c9ca60a35f63122e7ea992cee8aae4bef tree 31af0006aedea3a22e463198b5c4a00ca893bf1c parent a663e30513d7ecc77dd71d474e7646bf78c0ba62 author Tiger Yang Thu, 31 Aug 2006 20:39:47 -0700 committer Mark Fasheh Wed, 20 Sep 2006 15:52:27 -0700 ocfs2: Fix directory link count checks in ocfs2_link() Remove the redundant "i_nlink >= OCFS2_LINK_MAX" check and adds an unlinked directory check in ocfs2_link(). Signed-off-by: Tiger Yang Signed-off-by: Mark Fasheh commit a663e30513d7ecc77dd71d474e7646bf78c0ba62 tree ac37a5d33b62cce82df4e35a816f73f4631e339a parent 471e3f57286da7ce8820ad42c77d5f5f49d56a41 author Mark Fasheh Wed, 09 Aug 2006 11:45:07 -0700 committer Mark Fasheh Wed, 20 Sep 2006 15:52:08 -0700 ocfs2: move nlink check in ocfs2_mknod() The dir nlink check in ocfs2_mknod() was being done outside of the cluster lock, which means we could have been checking against a stale version of the inode. Fix this by doing the check after the cluster lock instead. Signed-off-by: Mark Fasheh commit 471e3f57286da7ce8820ad42c77d5f5f49d56a41 tree 763078566e354815f0c48684c48b618506be73d3 parent 2d5625181fac18f572cbbd18878d28f5eebf4733 author Mathieu Avila Wed, 13 Sep 2006 11:11:27 -0700 committer Mark Fasheh Wed, 20 Sep 2006 15:50:53 -0700 ocfs2: Fix heartbeat sector calculation This fixes things for devices which set max_sectors to 8. Signed-off-by: Mark Fasheh commit 2d5625181fac18f572cbbd18878d28f5eebf4733 tree 5125d63c551d6c7be1f9a5c99b16d05a85a3db7c parent ca4d147e62df370c334898464023aa7f9126abe1 author Adrian Bunk Mon, 10 Jul 2006 01:32:51 +0200 committer Mark Fasheh Wed, 20 Sep 2006 15:49:33 -0700 [PATCH] fs/ocfs2/ioctl.c should #include "ioctl.h" Every file should #include the headers containing the prototypes for its global functions. Signed-off-by: Adrian Bunk Signed-off-by: Mark Fasheh commit ca4d147e62df370c334898464023aa7f9126abe1 tree aff39cd19c5b0a95a1fd85caf439c4aa69c5830e parent b4c98f625fffee3a6f633082e9e4be3e952ca2ab author Herbert Poetzl Mon, 03 Jul 2006 17:27:12 -0700 committer Mark Fasheh Wed, 20 Sep 2006 15:48:39 -0700 ocfs2: add ext2 attributes Support immutable, and other attributes. Some renaming and other minor fixes done by myself. Signed-off-by: Herbert Poetzl Signed-off-by: Mark Fasheh commit b4c98f625fffee3a6f633082e9e4be3e952ca2ab tree ff7832706aeab7b16cbe18dd7976be7b56c49e55 parent e478bec0ba0a83a48a0f6982934b6de079e7e6b3 author Joel Becker Wed, 13 Sep 2006 11:01:19 -0700 committer Mark Fasheh Wed, 20 Sep 2006 15:46:14 -0700 configfs: Prevent duplicate subsystem names. For all child objects, creation comes through mkdir(2), so duplicate names are prevented. Subsystems, though, are registered by client drivers at init_module()/__init time. This patch prevents duplicate subsystem names. Signed-off-by: Joel Becker Signed-off-by: Mark Fasheh commit 388c571cffc4ae4e64f0786333e811308acbbc10 tree 98bfa69fe8fa4cae331ccfa46118e40d1e80d389 parent 564337f34cc10fd8f30329e4e5f14f8995db5711 author Michael Holzheu Wed, 20 Sep 2006 16:00:04 +0200 committer Martin Schwidefsky Wed, 20 Sep 2006 16:00:04 +0200 [S390] hypfs crashes with invalid mount option. When an invalid mount option is specified, no root inode is created for hypfs, hypfs_fill_super() returns with -EINVAL and then hypfs_kill_super() is called. hypfs_kill_super() does not check if the root inode has been initialized. This patch adds this check. Signed-off-by: Michael Holzheu Signed-off-by: Martin Schwidefsky commit 564337f34cc10fd8f30329e4e5f14f8995db5711 tree b2f4791c1b696d1ce4202b14c6dcae3b3211de01 parent 28bdc6f6233f380ddc0b430cabd88ffeafea34c7 author Peter Oberparleiter Wed, 20 Sep 2006 16:00:01 +0200 committer Martin Schwidefsky Wed, 20 Sep 2006 16:00:01 +0200 [S390] cio: subchannel evaluation function operates without lock css_evaluate_subchannel() operates subchannel without lock which can lead to erratic behavior caused by concurrent device access. Also split evaluation function to make it more readable. Signed-off-by: Peter Oberparleiter Signed-off-by: Martin Schwidefsky commit 28bdc6f6233f380ddc0b430cabd88ffeafea34c7 tree be2c8e7943dab4328fcbe18cd6e03c50a82e0f34 parent e0e32c8eba86fd5ea79eefad6f2c0b4988dfd02a author Peter Oberparleiter Wed, 20 Sep 2006 15:59:59 +0200 committer Martin Schwidefsky Wed, 20 Sep 2006 15:59:59 +0200 [S390] cio: always query all paths on path verification. Reappearing channel paths are sometimes not utilized by CCW devices because path verification incorrectly relies on path-operational-mask information which is not updated until a channel path has been used again. Modify path verification procedure to always query all available paths to a device. Signed-off-by: Peter Oberparleiter Signed-off-by: Martin Schwidefsky commit e0e32c8eba86fd5ea79eefad6f2c0b4988dfd02a tree 2337ed7ce0e1c392c31a67da6c534c6d681649aa parent dd9963f9dd0985e16e878fd3632ecadfc54d3fbb author Peter Oberparleiter Wed, 20 Sep 2006 15:59:57 +0200 committer Martin Schwidefsky Wed, 20 Sep 2006 15:59:57 +0200 [S390] cio: update path groups on logical CHPID changes. CHPIDs that are logically varied off will not be removed from a CCW device's path group because resign-from-pathgroup command is issued with invalid path mask of 0 because internal CCW operations are masked by the logical path mask after the relevant bits are cleared by the vary operation. Do not apply logical path mask to internal operations. Signed-off-by: Peter Oberparleiter Signed-off-by: Martin Schwidefsky commit dd9963f9dd0985e16e878fd3632ecadfc54d3fbb tree 323295ffcc116aceac4c0bcb20bb641d54253737 parent dcd707b4bdc10b4fa20efa116dbaeded21513115 author Peter Oberparleiter Wed, 20 Sep 2006 15:59:54 +0200 committer Martin Schwidefsky Wed, 20 Sep 2006 15:59:54 +0200 [S390] cio: subchannels in no-path state. Subchannel may incorrectly remain in state no-path after channel paths have reappeared. Currently the scan for subchannels which are using a channel path ends at the first occurrence if a full link address was provided by the channel subsystem. The scan needs to continue over all subchannels. Signed-off-by: Peter Oberparleiter Signed-off-by: Martin Schwidefsky commit dcd707b4bdc10b4fa20efa116dbaeded21513115 tree 2b6558ef933b746819a79ef0f03ba0e8e74bf3d9 parent db0c2d59087296b3567ec408abe17108db88b385 author Peter Oberparleiter Wed, 20 Sep 2006 15:59:52 +0200 committer Martin Schwidefsky Wed, 20 Sep 2006 15:59:52 +0200 [S390] Replace nopav-message on VM. Specifying kernel parameter "dasd=nopav" on systems running under VM has no function but results in message "disable PAV mode". Correct message is "'nopav' not supported on VM". Signed-off-by: Peter Oberparleiter Signed-off-by: Martin Schwidefsky commit db0c2d59087296b3567ec408abe17108db88b385 tree 303981d2ff2b5a10069fbee1692189f1b1739608 parent 250b2dc83347feb73eb6bdf7511685e72b587e68 author Peter Oberparleiter Wed, 20 Sep 2006 15:59:49 +0200 committer Martin Schwidefsky Wed, 20 Sep 2006 15:59:49 +0200 [S390] set modalias for ccw bus uevents. Add the MODALIAS environment variable for ccw bus uevents. Signed-off-by: Peter Oberparleiter Signed-off-by: Martin Schwidefsky commit 250b2dc83347feb73eb6bdf7511685e72b587e68 tree 7e6a1c0dd288d151f77103d921a7793515697cc5 parent 6c2a9e6df60478e712f3c3d98b5047778a82a3d7 author Cornelia Huck Wed, 20 Sep 2006 15:59:47 +0200 committer Martin Schwidefsky Wed, 20 Sep 2006 15:59:47 +0200 [S390] Get rid of DBG macro. Signed-off-by: Cornelia Huck Signed-off-by: Martin Schwidefsky commit 6c2a9e6df60478e712f3c3d98b5047778a82a3d7 tree 6768eb3991f4f1616b211a21ccf1b8e27820ae79 parent d02765d1af743567398eb6d523dea0ba5e5e7e8e author Gerald Schaefer Wed, 20 Sep 2006 15:59:44 +0200 committer Martin Schwidefsky Wed, 20 Sep 2006 15:59:44 +0200 [S390] Use alternative user-copy operations for new hardware. This introduces new user-copy operations which are optimized for copying more than 256 Bytes on new hardware. Signed-off-by: Gerald Schaefer Signed-off-by: Martin Schwidefsky commit d02765d1af743567398eb6d523dea0ba5e5e7e8e tree 9a39c21d9924a8d81ce85254cd3d013dbe50d23e parent 6837a8c352efcc5efc70424e9bfd94ff9bfa9a47 author Gerald Schaefer Wed, 20 Sep 2006 15:59:42 +0200 committer Martin Schwidefsky Wed, 20 Sep 2006 15:59:42 +0200 [S390] Make user-copy operations run-time configurable. Introduces a struct uaccess_ops which allows setting user-copy operations at run-time. Signed-off-by: Gerald Schaefer Signed-off-by: Martin Schwidefsky commit 6837a8c352efcc5efc70424e9bfd94ff9bfa9a47 tree a77dd0895fca642175d65db2cd23157be82ff7a5 parent 9282ed929758b82f448a40d3c17319d794970624 author Gerald Schaefer Wed, 20 Sep 2006 15:59:39 +0200 committer Martin Schwidefsky Wed, 20 Sep 2006 15:59:39 +0200 [S390] Cleanup in signal handling code. Signed-off-by: Gerald Schaefer Signed-off-by: Martin Schwidefsky commit 9282ed929758b82f448a40d3c17319d794970624 tree f3db7796f0ea7afddc853ab4294033b4fdd6d785 parent 31b58088292c7f00f0b81088bfb557285b0b6247 author Gerald Schaefer Wed, 20 Sep 2006 15:59:37 +0200 committer Martin Schwidefsky Wed, 20 Sep 2006 15:59:37 +0200 [S390] Cleanup in page table related code. Changed and simplified some page table related #defines and code. Signed-off-by: Gerald Schaefer Signed-off-by: Martin Schwidefsky commit 31b58088292c7f00f0b81088bfb557285b0b6247 tree 7ce82a49cbf3ad0c28feb63d15b35a6c97d668a0 parent e620c4940002348417e8d317d65bc7b152646493 author Melissa Howland Wed, 20 Sep 2006 15:59:34 +0200 committer Martin Schwidefsky Wed, 20 Sep 2006 15:59:34 +0200 [S390] Linux API for writing z/VM APPLDATA Monitor records. This patch delivers a new Linux API in the form of a misc char device that is useable from user space and allows write access to the z/VM APPLDATA Monitor Records collected by the *MONITOR System Service of z/VM. Signed-off-by: Melissa Howland Signed-off-by: Martin Schwidefsky commit e620c4940002348417e8d317d65bc7b152646493 tree 8885306f33abae831d831f1a2a02f7fb67589d3b parent 07d43ce6a2ba0bb914078c3b066a7a3bab57599d author Christian Borntraeger Wed, 20 Sep 2006 15:59:32 +0200 committer Martin Schwidefsky Wed, 20 Sep 2006 15:59:32 +0200 [S390] xpram off by one error. The xpram driver shows and uses 4096 bytes less than available. Signed-off-by: Christian Borntraeger Signed-off-by: Martin Schwidefsky commit 07d43ce6a2ba0bb914078c3b066a7a3bab57599d tree 084ab9c3f7e4a3fd531679ced250215ff9ae74ff parent 1f38d61347203055b55e34083cce7a9cd8c529a9 author Heiko Carstens Wed, 20 Sep 2006 15:59:29 +0200 committer Martin Schwidefsky Wed, 20 Sep 2006 15:59:29 +0200 [S390] Remove kexec experimental flag. Follow other architectures and remove kexec experimental flag. Signed-off-by: Heiko Carstens Signed-off-by: Martin Schwidefsky commit 1f38d61347203055b55e34083cce7a9cd8c529a9 tree f7793ce226cbef903e4e3400c588ca7fcdaa1a52 parent 45af3af8761a3f790fe414c017de039a08ccd780 author Gerald Schaefer Wed, 20 Sep 2006 15:59:26 +0200 committer Martin Schwidefsky Wed, 20 Sep 2006 15:59:26 +0200 [S390] cleanup appldata. Introduce asm header that contains the appldata data structures and the diag inline assembly. Signed-off-by: Gerald Schaefer Signed-off-by: Martin Schwidefsky commit 45af3af8761a3f790fe414c017de039a08ccd780 tree 5385f628eba9a54ea649e1159c87600eee1e9d20 parent 9514e2311be97a01e8669c4de78e9fea37489f09 author Christian Borntraeger Wed, 20 Sep 2006 15:59:24 +0200 committer Martin Schwidefsky Wed, 20 Sep 2006 15:59:24 +0200 [S390] fix typo in vmcp. Fix comment typo in vmcp, it is z/VM and not v/VM. Signed-off-by: Christian Borntraeger Signed-off-by: Martin Schwidefsky commit 9514e2311be97a01e8669c4de78e9fea37489f09 tree 74a256ce4ab6a94c904635f47862f8f3e3ec7974 parent 6981e936aa156c747bb3e6aea414bba673457115 author Heiko Carstens Wed, 20 Sep 2006 15:59:22 +0200 committer Martin Schwidefsky Wed, 20 Sep 2006 15:59:22 +0200 [S390] Kernel stack overflow handling. Substract the size of the initial stack frame from the correct register. Otherwise we will end up in a program check loop. Fix the offset into the save area as well. Signed-off-by: Heiko Carstens Signed-off-by: Martin Schwidefsky commit 6981e936aa156c747bb3e6aea414bba673457115 tree ac18a8ed8bb398480bba575e55411ddaeac6c879 parent 81388d2a45b89c890b981cfc83b01ec15ae3483b author Frank Pavlic Wed, 20 Sep 2006 15:59:19 +0200 committer Martin Schwidefsky Wed, 20 Sep 2006 15:59:19 +0200 [S390] qdio slsb processing state. The last SLSB has to be set to STATE_PROCESSING if we really want to use the PROCESSING feature. Signed-off-by: Frank Pavlic Signed-off-by: Martin Schwidefsky commit 81388d2a45b89c890b981cfc83b01ec15ae3483b tree 3fcb8f583e4bf12d891a016b25b58df304e8766c parent e87bfe51b5ca2db99dd680bbb1e8fe3c94b607df author Heiko Carstens Wed, 20 Sep 2006 15:59:17 +0200 committer Martin Schwidefsky Wed, 20 Sep 2006 15:59:17 +0200 [S390] Missing initialization in common i/o layer. Previous patch that was intended to reduce stack usage within common i/o layer didn't consider implicit memset(..., 0, ...) used with the initializations used before. Add these missing memsets wherever it's not obvious that the concerned memory region is zeroed. This should give the same semantics as before. Signed-off-by: Heiko Carstens Signed-off-by: Martin Schwidefsky commit e87bfe51b5ca2db99dd680bbb1e8fe3c94b607df tree abbffd8e3ca0edcbe5a0e36e1e94deb9a3b10adc parent 1375fc1fb0434a26f93c59b1b9f3fdb8bf90bba5 author Heiko Carstens Wed, 20 Sep 2006 15:59:15 +0200 committer Martin Schwidefsky Wed, 20 Sep 2006 15:59:15 +0200 [S390] convert some assembler to C. Convert GET_IPL_DEVICE assembler macro to C function. Signed-off-by: Heiko Carstens Signed-off-by: Martin Schwidefsky commit 1375fc1fb0434a26f93c59b1b9f3fdb8bf90bba5 tree ea38ce53e9cc74b73fc3171f55a67437e9b29eb2 parent 0fee644ada12c524abbf723132fbea6a082ecfc2 author Heiko Carstens Wed, 20 Sep 2006 15:59:12 +0200 committer Martin Schwidefsky Wed, 20 Sep 2006 15:59:12 +0200 [S390] __exit cleanup. Signed-off-by: Heiko Carstens Signed-off-by: Martin Schwidefsky commit 0fee644ada12c524abbf723132fbea6a082ecfc2 tree 3b2a06417a5883ad5226c79d44b222398a3f636a parent b0035f127e007ea0afc8baad740093eb124f7b0b author Martin Schwidefsky Wed, 20 Sep 2006 15:59:10 +0200 committer Martin Schwidefsky Wed, 20 Sep 2006 15:59:10 +0200 [S390] cleanup sysinfo and add system z9 specific extensions. With System z9 additional fields have been added to the output of the store system information instruction. This patch adds the new model information field and the alternate cpu capability fields to the output of /proc/sysinfo. While we at it clean up the code as well. Signed-off-by: Martin Schwidefsky commit b0035f127e007ea0afc8baad740093eb124f7b0b tree e981be8bbe1ee39431691866b526cb8e8d728276 parent a00bfd7147c0c5c04a59f7adcb0e6d8948b90a6e author Horst Hummel Wed, 20 Sep 2006 15:59:07 +0200 committer Martin Schwidefsky Wed, 20 Sep 2006 15:59:07 +0200 [S390] dasd default debug level. Enhanced default DBF level to get most important messages in debug feature files. Signed-off-by: Horst Hummel Signed-off-by: Martin Schwidefsky commit a00bfd7147c0c5c04a59f7adcb0e6d8948b90a6e tree ffe3eb5ede49bf5a14fe31f3270d917fc4bc9c7a parent 47addc84b450fd5e391ab118e178645cb0bbd89d author Martin Schwidefsky Wed, 20 Sep 2006 15:59:05 +0200 committer Martin Schwidefsky Wed, 20 Sep 2006 15:59:05 +0200 [S390] dasd deadlock after state change pending interrupt. The dasd_device_from_cdev function is called from interrupt context to get the struct dasd_device associated with a ccw device. The driver_data of the ccw device points to the dasd_devmap structure which contains the pointer to the dasd_device structure. The lock that protects the dasd_devmap structure is acquire with out irqsave. To prevent the deadlock in dasd_device_from_cdev if it is called from interrupt context the dependency to the dasd_devmap structure needs to be removed. Let the driver_data of the ccw device point to the dasd_device structure directly and use the ccw device lock to protect the access. Signed-off-by: Martin Schwidefsky commit 47addc84b450fd5e391ab118e178645cb0bbd89d tree 026dafc084523245a928675aafb74ff23e54a56b parent 7d5d688f724dd5a651d1ce7bc3ea7c03d28137a1 author Frank Pavlic Wed, 20 Sep 2006 15:59:03 +0200 committer Martin Schwidefsky Wed, 20 Sep 2006 15:59:03 +0200 [S390] qdio_get_micros return value. qdio_get_micros is supposed to return microseconds. The get_clock() return value needs to be shifted by 12 to get to microseconds. Signed-off-by: Frank Pavlic Signed-off-by: Martin Schwidefsky commit 7d5d688f724dd5a651d1ce7bc3ea7c03d28137a1 tree 8279b48cfd496490003710ef919327c9751e1023 parent 8301425534b87bae9990261f3008f39999be738c author Heiko Carstens Wed, 20 Sep 2006 15:59:00 +0200 committer Martin Schwidefsky Wed, 20 Sep 2006 15:59:00 +0200 [S390] Use simple_strtoul instead of own cmm_strtoul wrapper. Fix compile warning with some configurations: arch/s390/mm/cmm.c:58: warning: 'cmm_strtoul' defined but not used Originally cmm_strtoul was introduced because simple_strtoul couldn't handle strings with hexadecimal numbers that contained a capital 'X'. Since this is no longer true cmm_strtoul can be removed. Signed-off-by: Heiko Carstens Signed-off-by: Martin Schwidefsky commit 8301425534b87bae9990261f3008f39999be738c tree fc653ebb1945ef03ca7e35dbe908b566c60293f0 parent ba8ce5c6f0a15f08eae39880a0de296007f4a4e7 author Martin Schwidefsky Wed, 20 Sep 2006 15:58:58 +0200 committer Martin Schwidefsky Wed, 20 Sep 2006 15:58:58 +0200 [S390] architecture co-maintainer. Add Heiko Carstens as co-maintainer for the s390 architecture. Signed-off-by: Martin Schwidefsky commit ba8ce5c6f0a15f08eae39880a0de296007f4a4e7 tree f3f3cb5cfefe97028754ade1436ae8138c3daa6e parent 8427082a506f7ae0abf82ce0047a045ec4309e59 author Martin Schwidefsky Wed, 20 Sep 2006 15:58:56 +0200 committer Martin Schwidefsky Wed, 20 Sep 2006 15:58:56 +0200 [S390] #undef in unistd.h Avoid using #undef in unistd.h. Signed-off-by: Martin Schwidefsky commit 8427082a506f7ae0abf82ce0047a045ec4309e59 tree ddd756abcf3fe2241ce4a8d322a11e0404fb345f parent 39b083fe1c3c7b88939f6fa1b0b96e579f12e96f author Heiko Carstens Wed, 20 Sep 2006 15:58:54 +0200 committer Martin Schwidefsky Wed, 20 Sep 2006 15:58:54 +0200 [S390] fix syscall restart handling. If do_signal() gets called several times before returning to user space and no signal is pending (e.g. cancelled by a debugger) syscall restart handling could be done several times. This would change the user space PSW to an address prior to the syscall instruction. Fix this by making sure that syscall restart handling is only done once. Signed-off-by: Heiko Carstens Signed-off-by: Martin Schwidefsky commit 39b083fe1c3c7b88939f6fa1b0b96e579f12e96f tree b56864fed4a0aa286696cb4e63cbea6d8a962c8a parent ff6b8ea68f4b7353f88b97024f28127e2148aa00 author Heiko Carstens Wed, 20 Sep 2006 15:58:51 +0200 committer Martin Schwidefsky Wed, 20 Sep 2006 15:58:51 +0200 [S390] empty function defines. Use do { } while (0) constructs instead of empty defines to avoid subtle compile bugs. Signed-off-by: Heiko Carstens Signed-off-by: Martin Schwidefsky commit ff6b8ea68f4b7353f88b97024f28127e2148aa00 tree 67ebb74cbbc042d99325ff33c3f80e4b3e0a1c42 parent 331c982d4a6b43cdc0d056956a1cae8a7d6237bf author Michael Holzheu Wed, 20 Sep 2006 15:58:49 +0200 committer Martin Schwidefsky Wed, 20 Sep 2006 15:58:49 +0200 [S390] ipl/dump on panic. It is now possible to specify a ccw/fcp dump device which is used to automatically create a system dump in case of a kernel panic. The dump device can be configured under /sys/firmware/dump. In addition it is now possible to specify a ccw/fcp device which is used for the next reboot of Linux. The reipl device can be configured under /sys/firmware/reipl. Signed-off-by: Michael Holzheu Signed-off-by: Martin Schwidefsky commit 331c982d4a6b43cdc0d056956a1cae8a7d6237bf tree 45fd6612c461c278f53c09fe666a17a85d305d29 parent f19bfb2c9b8675590fbecb43e5ce3b34ee321185 author Michael Holzheu Wed, 20 Sep 2006 15:58:47 +0200 committer Martin Schwidefsky Wed, 20 Sep 2006 15:58:47 +0200 [S390] hypfs compiler warnings. Add casts to avoid compiler warnings. Signed-off-by: Michael Holzheu Signed-off-by: Martin Schwidefsky commit f19bfb2c9b8675590fbecb43e5ce3b34ee321185 tree efe625aaf90e61fedfe7d5af028d9b202a44c850 parent 65912a84c0f33304fa5ea004c7b6ee58d5f5572e author Michael Holzheu Wed, 20 Sep 2006 15:58:44 +0200 committer Martin Schwidefsky Wed, 20 Sep 2006 15:58:44 +0200 [S390] hypfs comment cleanup. Correct some comments in the hypervisor filesystem. Signed-off-by: Michael Holzheu Signed-off-by: Martin Schwidefsky commit 65912a84c0f33304fa5ea004c7b6ee58d5f5572e tree a9a684ed713f09cd47d6bd1cfe6872cf757feb58 parent 4ba069b802c29eee066385f9826e2d83716626b4 author Heiko Carstens Wed, 20 Sep 2006 15:58:41 +0200 committer Martin Schwidefsky Wed, 20 Sep 2006 15:58:41 +0200 [S390] initrd vs. bootmem bitmap. Move initrd if the bitmap of the bootmem allocator would overwrite it. In addition this patch sets the default size and address of the initrd to 0. Therefore all boot loaders must set the initrd size and address correctly. This is especially relevant for ftp boot via HMC/SE, where this change requires a special patch file entry in the .ins file which sets these two values contained at address 0x10408 and 0x10410. Signed-off-by: Heiko Carstens Signed-off-by: Martin Schwidefsky commit 4ba069b802c29eee066385f9826e2d83716626b4 tree 663159a4d05a49b4133bb9145fc41fb95a6d4132 parent 5432114baf0300286a6ca1b0aea549492a379432 author Michael Grundy Wed, 20 Sep 2006 15:58:39 +0200 committer Martin Schwidefsky Wed, 20 Sep 2006 15:58:39 +0200 [S390] add kprobes support. Signed-off-by: Michael Grundy Signed-off-by: David Wilder Signed-off-by: Martin Schwidefsky commit 5432114baf0300286a6ca1b0aea549492a379432 tree 6a9cf64c86e4ee4d439f91e9bd4485688d28ddd7 parent fe3a1be59c851aba2330387596c6134bc5ec8397 author Ralph Wuerthner Wed, 20 Sep 2006 15:58:36 +0200 committer Martin Schwidefsky Wed, 20 Sep 2006 15:58:36 +0200 [S390] zcrypt secure key cryptography extension. Allow the user space to send extended cprb messages directly to the PCIXCC / CEX2C cards. This allows the CCA library to construct special crypto requests that use "secure" keys that are stored on the card. Signed-off-by: Ralph Wuerthner Signed-off-by: Martin Schwidefsky commit fe3a1be59c851aba2330387596c6134bc5ec8397 tree 72f29650a763d127246181a49e92cf2b573212a7 parent 6684af1a07a1f88f3970bc90e5aed173d39168db author Martin Schwidefsky Wed, 20 Sep 2006 15:58:34 +0200 committer Martin Schwidefsky Wed, 20 Sep 2006 15:58:34 +0200 [S390] zcrypt driver Makefile, Kconfig and monolithic build. The Makefile and Kconfig changes should be obvious. The monolithic build option is there to create an old-style z90crypt module for backward compatability to older distributions. Signed-off-by: Ralph Wuerthner Signed-off-by: Martin Schwidefsky commit 6684af1a07a1f88f3970bc90e5aed173d39168db tree de3056173598cced75379f04427702497466b515 parent 963ed931c3fd18082bfde0e8704a28955663abf4 author Martin Schwidefsky Wed, 20 Sep 2006 15:58:32 +0200 committer Martin Schwidefsky Wed, 20 Sep 2006 15:58:32 +0200 [S390] zcrypt PCICC, PCIXCC coprocessor card ap bus drivers. Signed-off-by: Ralph Wuerthner Signed-off-by: Martin Schwidefsky commit 963ed931c3fd18082bfde0e8704a28955663abf4 tree 3d7fb72d8aca7b4020e8bfe0b055c71f3d7de5c7 parent 2dbc2418bac32a18a372ae9aec386f0fe9174389 author Martin Schwidefsky Wed, 20 Sep 2006 15:58:29 +0200 committer Martin Schwidefsky Wed, 20 Sep 2006 15:58:29 +0200 [S390] zcrypt CEX2A, CEX2C, PCICA accelerator card ap bus drivers. Signed-off-by: Ralph Wuerthner Signed-off-by: Martin Schwidefsky commit 2dbc2418bac32a18a372ae9aec386f0fe9174389 tree edfbdc374bc636021aa084c95bd77b49f3a1a1bb parent 1534c3820c26aca4e2567f97b8add8bea40e7e2b author Martin Schwidefsky Wed, 20 Sep 2006 15:58:27 +0200 committer Martin Schwidefsky Wed, 20 Sep 2006 15:58:27 +0200 [S390] zcrypt user space interface. The user space interface of the zcrypt device driver implements the old user space interface as defined by the old z90crypt driver. Everything is there, the /dev/z90crypt misc character device, all the lovely ioctls and the /proc file. Even writing to the z90crypt proc file to configure the crypto device still works. It stands to reason to remove the proc write function someday since a much cleaner configuration via the sysfs is now available. The ap bus device drivers register crypto cards to the zcrypt user space interface. The request router of the user space interface picks one of the registered cards based on the predicted latency for the request and calls the driver via a callback found in the zcrypt_ops of the device. The request router only knows which operations the card can do and the minimum / maximum number of bits a request can have. Signed-off-by: Cornelia Huck Signed-off-by: Ralph Wuerthner Signed-off-by: Martin Schwidefsky commit 1534c3820c26aca4e2567f97b8add8bea40e7e2b tree da76ec6d0c3abb099ffe7d542b3f0f6fe570957f parent 7561b974e0cbbdca1bb880b55200afd9a1a20737 author Martin Schwidefsky Wed, 20 Sep 2006 15:58:25 +0200 committer Martin Schwidefsky Wed, 20 Sep 2006 15:58:25 +0200 [S390] zcrypt adjunct processor bus. Add a bus for the adjunct processor interface. Up to 64 devices can be connect to the ap bus interface, each device with 16 domains. That makes 1024 message queues. The interface is asynchronous, the answer to a message sent to a queue needs to be received at some later point in time. Unfortunately the interface does not provide interrupts when a message reply is pending. So the ap bus needs to implement some fancy polling, each active queue is polled once per 1/HZ second or continuously if an idle cpus exsists and the poll thread is activ (see poll_thread parameter). The ap bus uses the sysfs path /sys/bus/ap and has two bus attributes, ap_domain and config_time. The ap_domain selects one of the 16 domains to be used for this system. This limits the maximum number of ap devices to 64. The config_time attribute contains the number of seconds between two ap bus scans to find new devices. The ap bus uses the modalias entries of the form "ap:tN" to autoload the ap driver for hardware type N. Currently known types are: 3 - PCICC, 4 - PCICA, 5 - PCIXCC, 6 - CEX2A and 7 - CEX2C. Signed-off-by: Cornelia Huck Signed-off-by: Ralph Wuerthner Signed-off-by: Martin Schwidefsky commit 7561b974e0cbbdca1bb880b55200afd9a1a20737 tree 88a6e31a827e79ac29c7bede802554ba40f20319 parent de1a3f1ce6c4c3b2b14cf9157a22d6b4c64f708e author Martin Schwidefsky Wed, 20 Sep 2006 15:58:22 +0200 committer Martin Schwidefsky Wed, 20 Sep 2006 15:58:22 +0200 [S390] remove old z90crypt driver. The z90crypt driver has served its term. It is replaced by the shiny new zcrypt device driver. Signed-off-by: Martin Schwidefsky commit de1a3f1ce6c4c3b2b14cf9157a22d6b4c64f708e tree dcda907cb6bb49ddbbaa1ac70108188da7f38a9d parent e478bec0ba0a83a48a0f6982934b6de079e7e6b3 author Martin Schwidefsky Wed, 20 Sep 2006 15:58:20 +0200 committer Martin Schwidefsky Wed, 20 Sep 2006 15:58:20 +0200 [S390] EX_TABLE macro. Add EX_TABLE helper macro to simplify creation of inline assembly exception table entries. Signed-off-by: Martin Schwidefsky commit b2c5f61920eeee9c4e78698de4fde4586fe5ae79 tree 53927c324413786b34db4f0e79cd0aa436d3f930 parent a4dc7ff08915a2035aa6d6decc53fa1deaa410bb author Mark A. Greer Tue, 19 Sep 2006 14:05:08 +1000 committer Paul Mackerras Wed, 20 Sep 2006 15:09:58 +1000 [POWERPC] Start arch/powerpc/boot code reorganization This abstracts the operations used in the bootwrapper, and defines the operations needed for the bootwrapper to run on an OF platform. The operations have been divided up into platform ops (platform_ops), firmware ops (fw_ops), device tree ops (dt_ops), and console ops (console_ops). The proper operations will be hooked up at runtime to provide the functionality that you need. Signed-off-by: Mark A. Greer Signed-off-by: Paul Mackerras commit a4dc7ff08915a2035aa6d6decc53fa1deaa410bb tree 9b28af3a21f915e3fe8ed7ee163be1b1d2bfe8b0 parent 19e59df4dc2e6f7b46190ee77ce7093769f597a7 author Paul Mackerras Tue, 19 Sep 2006 14:06:27 +1000 committer Paul Mackerras Wed, 20 Sep 2006 15:09:48 +1000 [POWERPC] Define of_read_ulong helper There are various places where we want to extract an unsigned long value from a device-tree property that can be 1 or 2 cells in length. This replaces some open-coded calculations, and one place where we assumed without checking that properties were the length we wanted, with a little of_read_ulong() helper. Signed-off-by: Paul Mackerras commit 19e59df4dc2e6f7b46190ee77ce7093769f597a7 tree 97860ac68308a91515fbdc1699d26a09aa9a0d10 parent 5adcaf50cf697aa4d0c731107003c1383b59b214 author Stephen Rothwell Thu, 14 Sep 2006 14:55:36 +1000 committer Stephen Rothwell Wed, 20 Sep 2006 14:12:22 +1000 [POWERPC] iseries: eliminate a couple of warnings Copy and paste bug in io.h Signed-off-by: Stephen Rothwell commit 5adcaf50cf697aa4d0c731107003c1383b59b214 tree c4f93c02f43c325066a46e9d9221cac9d51125d8 parent 73ea9e1bcb8eea4f3b2052fe7ccd7ee4b5a271a0 author Stephen Rothwell Tue, 19 Sep 2006 22:17:49 +1000 committer Stephen Rothwell Wed, 20 Sep 2006 14:06:18 +1000 [POWERPC] convert string i/o operations to C This produces essentially the same code and will make the iSeries i/o consolidation easier. The count parameter is changed to long since that will produce the same (better) code on 32 and 64 bit builds. Signed-off-by: Stephen Rothwell commit 73ea9e1bcb8eea4f3b2052fe7ccd7ee4b5a271a0 tree be96595750908640a29fb5ad2a4a8224af2bb65e parent 661f1cdb8b3e3c2c44e97df122c1d5643c054ce8 author Stephen Rothwell Tue, 19 Sep 2006 17:30:20 +1000 committer Stephen Rothwell Wed, 20 Sep 2006 14:06:18 +1000 [POWERPC] clean up ide io accessors Signed-off-by: Stephen Rothwell commit 661f1cdb8b3e3c2c44e97df122c1d5643c054ce8 tree 9f540dda2d57d2ec2fcec5aee3b7f0a4c7992d94 parent fa053d2f008cb73fa768b8e171486d8c0b33312b author Stephen Rothwell Tue, 19 Sep 2006 16:52:55 +1000 committer Stephen Rothwell Wed, 20 Sep 2006 14:06:18 +1000 [POWERPC] remove unused asm routines _insw, _outsw, _insl amd _outsl are all unused, so remove them. Signed-off-by: Stephen Rothwell commit fa053d2f008cb73fa768b8e171486d8c0b33312b tree 007b3e058e9b065f7a38bd26bc7498802bf68940 parent 9ca91e0fb5295e8317030feb889085e452cedab1 author Stephen Rothwell Tue, 19 Sep 2006 14:51:40 +1000 committer Stephen Rothwell Wed, 20 Sep 2006 14:06:17 +1000 [POWERPC] remove unused io accessors The io accessors insw_ns, outsw_ns, insl_ns and outsl_ns are unused (except for one unnecessary use in drivers/net/3c509.c that is addressed in a previous patch) and are only defined in powerpc/ppc, so remove them. Signed-off-by: Stephen Rothwell commit 9ca91e0fb5295e8317030feb889085e452cedab1 tree 54fffc6f581d4ae0b2491807f36998c067bdf76f parent 4f896e53eea70013fa48d0d8662680cf8aae8a43 author Stephen Rothwell Thu, 14 Sep 2006 16:59:31 +1000 committer Stephen Rothwell Wed, 20 Sep 2006 14:02:51 +1000 [POWERPC] silence a warning Left over from the constifying of get_property. Signed-off-by: Stephen Rothwell commit 4f896e53eea70013fa48d0d8662680cf8aae8a43 tree 4a22e8033ac46f4a801e79e8002b60d792efd6cf parent 7dcd86e14319f4ceab883787ab2e00a5f860d14d author Stephen Rothwell Thu, 24 Aug 2006 13:29:33 +1000 committer Stephen Rothwell Wed, 20 Sep 2006 14:01:16 +1000 [POWERPC] make spinlocks work in a combined kernel If we build a pSeries/iSeries combined kernel, we will need this. Signed-off-by: Stephen Rothwell commit fadcfa33b6319a5faf8af2287f08bf93a7f926b6 tree 367e931ec64a88c20a4d15c351d4c7dbb1b7adf1 parent 47a5c6fa0e204a2b63309c648bb2fde36836c826 author David Woodhouse Tue, 19 Sep 2006 12:43:58 +0100 committer David Woodhouse Tue, 19 Sep 2006 12:43:58 +0100 [HEADERS] One line per header in Kbuild files to reduce conflicts Signed-off-by: David Woodhouse commit 7dcd86e14319f4ceab883787ab2e00a5f860d14d tree c5fa0ea156e38e0aa5edde243c43b0dee1c7f097 parent f04da0bc36566ad17cf21e4ac8dbae377ca1dc75 author Kim Phillips Wed, 13 Sep 2006 17:41:55 -0500 committer Paul Mackerras Thu, 14 Sep 2006 10:36:11 +1000 [POWERPC] Fix MPC8349EMDS dts PCI interrupt-map values for IDSEL 0x18 Fix MPC8349EMDS dts PCI interrupt-map values for IDSEL 0x18 per Tanya's catch. Signed-off-by: Kim Phillips Signed-off-by: Tanya Jiang Signed-off-by: Paul Mackerras commit f04da0bc36566ad17cf21e4ac8dbae377ca1dc75 tree 7555ffd9de1938ed533aa94452a98805508cece3 parent c547fc28ab3e8716076fdaf4bd0260c5d63a18f7 author Olof Johansson Wed, 13 Sep 2006 13:32:39 -0500 committer Paul Mackerras Thu, 14 Sep 2006 10:36:11 +1000 [POWERPC] Fix non-smp build This fixes a compile error that only surfaces on CONFIG_SMP=n builds; seems to get pulled in through another header file for SMP builds. This problem was introduced by the hvcall stats patch. Signed-off-by: Olof Johansson Signed-off-by: Paul Mackerras commit c547fc28ab3e8716076fdaf4bd0260c5d63a18f7 tree 34af1fa64a63618660187ae58ad182665a1861ef parent 3dd836a56de0d4f049438412959b905e1db4666e parent 63b98080daa35f0d682db04f4fb7ada010888752 author Paul Mackerras Thu, 14 Sep 2006 07:07:18 +1000 committer Paul Mackerras Thu, 14 Sep 2006 07:07:18 +1000 Merge branch 'linux-2.6' commit 3dd836a56de0d4f049438412959b905e1db4666e tree d42c0afb2a438403683904c0af089c74167767d6 parent 26c8af5f01dfb91f709cc2ba07fb650949aae13e author David Howells Tue, 12 Sep 2006 16:04:25 +0100 committer Paul Mackerras Wed, 13 Sep 2006 18:39:53 +1000 [POWERPC] Export copy_4K_page() Export copy_4K_page() for use by modules via copy_page() (such as CacheFiles). Signed-Off-By: David Howells Signed-off-by: Paul Mackerras commit 26c8af5f01dfb91f709cc2ba07fb650949aae13e tree dbaa11641da7348bb2fbde3c75429449c7ca4104 parent 87fd7724d4022913ae8dbee3ed55cd04f2c316a6 author Olaf Hering Fri, 08 Sep 2006 16:29:21 +0200 committer Paul Mackerras Wed, 13 Sep 2006 18:39:53 +1000 [POWERPC] print backtrace when entering xmon xmon does not print a backtrace per default. This is bad on systems with USB keyboard, the most needed info about the crash is lost. print a backtrace during the very first xmon entry. Booting with xmon=nobt disables the autobacktrace functionality. Signed-off-by: Olaf Hering Signed-off-by: Paul Mackerras commit 87fd7724d4022913ae8dbee3ed55cd04f2c316a6 tree 9b27b41d106e25ed8185a32db37b63f89df0220f parent 06e6d290ac7a9fb6fcec3a2207988163709f06aa author Olof Johansson Thu, 07 Sep 2006 15:18:08 -0500 committer Paul Mackerras Wed, 13 Sep 2006 18:39:53 +1000 [POWERPC] Quiet hvc_console console output on failed opens No other tty driver will print on the console when the open of it fails. On systems that happen to be configured for both ttyS0 and hvc0 console, this will keep flooding the console output. This is most likely to happen with systems booted between with and without hypervisor from the same filesystem. Let's just remove it. When it's really needed (i.e. when the open fails and someone is trying to debug it), noone will see the output anyway. And init will report the opens failing in due time through the syslog. Signed-off-by: Olof Johansson Acked-by: Ryan S. Arnold Signed-off-by: Paul Mackerras commit 06e6d290ac7a9fb6fcec3a2207988163709f06aa tree b307d4cedab14f39b34d7eddbbeb6525dc7b2025 parent 57852a853b0d6761f270be0961d5d8387e98c8bb author Josh Boyer Thu, 07 Sep 2006 08:25:40 -0500 committer Paul Mackerras Wed, 13 Sep 2006 18:39:53 +1000 [POWERPC] PPC: Fix Kconfig whitespace warnings Fix the following whitespace warnings when compiling with ARCH=ppc arch/ppc/Kconfig:1207:warning: leading whitespace ignored arch/ppc/Kconfig:1226:warning: leading whitespace ignored arch/ppc/Kconfig:1231:warning: leading whitespace ignored Also fix a typo ("Supprt"). Signed-off-by: Josh Boyer Signed-off-by: Paul Mackerras commit 57852a853b0d6761f270be0961d5d8387e98c8bb tree f3c3ff7ec94014a9acba27761dd489fdce1c66db parent ab06ff3af34a6288b314862abfebd86ad918c5d9 author Mike Kravetz Wed, 06 Sep 2006 16:23:12 -0700 committer Paul Mackerras Wed, 13 Sep 2006 18:39:53 +1000 [POWERPC] powerpc: Instrument Hypervisor Calls Add instrumentation for hypervisor calls on pseries. Call statistics include number of calls, wall time and cpu cycles (if available) and are made available via debugfs. Instrumentation code is behind the HCALL_STATS config option and has no impact if not enabled. Signed-off-by: Mike Kravetz Signed-off-by: Paul Mackerras commit ab06ff3af34a6288b314862abfebd86ad918c5d9 tree 66c38b43bc2f39420c5c47ce50dcd59c2baec6d9 parent 1e76875e51266a5c43f601ecf08a92be5769228c author Olof Johansson Wed, 06 Sep 2006 14:44:54 -0500 committer Paul Mackerras Wed, 13 Sep 2006 18:39:53 +1000 [POWERPC] powerpc: PA Semi PWRficient MAINTAINER entry Maintainer entry for PWRficient Signed-off-by: Olof Johansson Signed-off-by: Paul Mackerras commit 1e76875e51266a5c43f601ecf08a92be5769228c tree 62867c80d57bd5fc335917dc0c2bcd26dfcc934b parent b3ebd1d862d6c23caa58e40d341eefc426f835e1 author Olof Johansson Wed, 06 Sep 2006 14:42:08 -0500 committer Paul Mackerras Wed, 13 Sep 2006 18:39:53 +1000 [POWERPC] powerpc: PA Semi PWRficient platform support Base patch for PA6T and PA6T-1682M. This introduces the arch/powerpc/platform/pasemi directory, together with basic implementations for various setup. Much of this was based on other platform code, i.e. Maple, etc. Signed-off-by: Olof Johansson Signed-off-by: Paul Mackerras commit b3ebd1d862d6c23caa58e40d341eefc426f835e1 tree c4db512b520833be44b72b97aab0c439138bfb5e parent 0024300000769eadcb4a4fcdff531d45ee7735d4 author Olof Johansson Wed, 06 Sep 2006 14:35:57 -0500 committer Paul Mackerras Wed, 13 Sep 2006 18:39:52 +1000 [POWERPC] powerpc: PA6T cputable entry, PVR value Introduce PWRficient PA6T cputable entries and feature bits. Signed-off-by: Olof Johansson Signed-off-by: Paul Mackerras commit 0024300000769eadcb4a4fcdff531d45ee7735d4 tree 18a94c4df1716a59a80b8b6934e55a75677f26c3 parent 5a2fe38d2844ba2f2dd8f4946d795e09d8f7e095 author Olof Johansson Wed, 06 Sep 2006 14:35:19 -0500 committer Paul Mackerras Wed, 13 Sep 2006 18:39:52 +1000 [POWERPC] powerpc: Divorce CPU_FTR_CTRL from CPU_FTR_PPCAS_ARCH_V2_BASE The performance monitor implementation (including CTRL register behaviour) is just included in PPC v2 as an example, it's not truly part of the base. It's actually a somewhat misleading feature, but I'll leave that be for now: The presence of the register is not what the feature bit is used for, but instead it's used to determine if it contains the runlatch bit for idle reporting of the performance monitor. For alternative implementations, the register might still exist but the bit might have different meaning (or no meaning at all). For now, split it off and don't include it in CPU_FTR_PPCAS_ARCH_V2_BASE. Signed-off-by: Olof Johansson Signed-off-by: Paul Mackerras commit 5a2fe38d2844ba2f2dd8f4946d795e09d8f7e095 tree 21a995bedd7c7fdca8b2fdb3b7f91f4bfc8228a3 parent b7e89214aadf82fa5eaff28f50f2078fa6ae773c author Olof Johansson Wed, 06 Sep 2006 14:34:41 -0500 committer Paul Mackerras Wed, 13 Sep 2006 18:39:52 +1000 [POWERPC] powerpc: Reduce default cacheline size to 64 bytes Reduce default cacheline size on 64-bit powerpc from 128 bytes to 64. This is the architected minimum. In most cases we'll still end up using cache line information from the device tree, but defaults are used during early boot and doing a few dcbst/icbi's too many there won't do any harm. Signed-off-by: Olof Johansson Signed-off-by: Paul Mackerras commit b7e89214aadf82fa5eaff28f50f2078fa6ae773c tree 877bfd9e81dcdb68a2a66080ee562fc4796b0975 parent 477bcae4c289a60f2303fbd4a3a875dcca647cf8 author Josh Boyer Thu, 07 Sep 2006 13:27:58 -0500 committer Paul Mackerras Wed, 13 Sep 2006 18:39:52 +1000 [POWERPC] PPC 4xx: Enable XMON on PPC 4xx boards The following patch allows XMON to run on the 4xx platform. Tested on Walnut, Ebony, and Nova (440GX based) eval boards. 440EP, 440SP, and 440SPE boards should work as well. Patch is against 2.6.18-rc6. Signed-off-by: Josh Boyer Signed-off-by: Paul Mackerras commit 477bcae4c289a60f2303fbd4a3a875dcca647cf8 tree c9c7136011ad809d433e94c9bc482f7526c53627 parent c3412dcb75ff4d64b44bedc72761d5707d19edf7 author Corey Minyard Wed, 06 Sep 2006 09:02:53 -0500 committer Paul Mackerras Wed, 13 Sep 2006 18:39:52 +1000 [POWERPC] Make function of pm_power_off consistent with x86 Allow the pm_power_off function variable in PPC to work as an override. This makes the function consistent with the other architectures and it allows generic poweroff operations (like those provided in IPMI systems) to work properly on PPC. Signed-off-by: Corey Minyard Cc: Joseph Barnett Signed-off-by: Paul Mackerras commit c3412dcb75ff4d64b44bedc72761d5707d19edf7 tree 3e893de720ce5aca6a3e6471cd6ef0fcbcb62281 parent f50d4cfc98d70f919afb2924b1b53c36b2f4e62f author Will Schmidt Wed, 30 Aug 2006 13:11:38 -0500 committer Paul Mackerras Wed, 13 Sep 2006 18:39:52 +1000 [POWERPC] Emulate power5 popcntb instruction In an attempt to make it easier for a power5 optimized app to run on a power4 or a 970 or random earlier machine, this provides emulation of the popcntb instruction. Signed-off-by: Will Schmidt Signed-off-by: Paul Mackerras commit f50d4cfc98d70f919afb2924b1b53c36b2f4e62f tree 352c8c20b13d6951de56c90895161c06e1bb0563 parent aa43f77939c97bf9d3580c6a5e71a5a40290e451 author Michael Ellerman Thu, 24 Aug 2006 16:54:08 +1000 committer Paul Mackerras Wed, 13 Sep 2006 18:39:52 +1000 [POWERPC] Split out vpa unregister logic from pseries_kexec_cpu_down_xics() As part of the new irq code pseries_kexec_cpu_down() was split into a xics and mpic version. The vpa unregister logic is now only done in the xics routine, and although that's ok in practice (we don't have SPLPAR machines with mpic), I'd rather have the two concepts stay separate. So move the vpa unregister into pseries_kexec_cpu_down(), which gets called by both the xics and mpic routines. This also gives us an obvious place to put any new kexec-down logic needed in future. Signed-off-by: Michael Ellerman Signed-off-by: Paul Mackerras commit edf03fb0575cbee2595a63374b17dc0921f2094a tree b9964afc71abc0a6a786a0641380440a5bc8fe34 parent 08da3f413f6aa3eb48cfc5331c68e57393167fe5 author Dave Jones Sun, 10 Sep 2006 21:12:20 -0400 committer Dave Jones Sun, 10 Sep 2006 21:12:20 -0400 [AGPGART] Rework AGPv3 modesetting fallback. Sometimes the logic to handle AGPx8->AGPx4 fallback failed, as can be seen in https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=197346 The failures occured if the bridge was in AGPx8 mode, but the user hadn't specified a mode in their X config. We weren't setting the mode to the highest mode capable by the video card+bridge (as we do in the AGPv2 case), which was leading to all kinds of mayhem including us believing that after falling back from AGPx8, that we couldn't do x4 mode (which is disastrous in AGPv3, as those are the only two modes possible). Signed-off-by: Dave Jones commit 08da3f413f6aa3eb48cfc5331c68e57393167fe5 tree 395758a4848487db6e5c570bc8991e86bfaa3610 parent c14635eb4e591c61e419c065df1fdacf9ff90c00 author Dave Jones Sun, 10 Sep 2006 21:09:26 -0400 committer Dave Jones Sun, 10 Sep 2006 21:09:26 -0400 [AGPGART] Add suspend callback for i965 Signed-off-by: Dave Jones commit c14635eb4e591c61e419c065df1fdacf9ff90c00 tree e05cd50d0d3e5e6fa3fdaf06d08a41f31700cfe7 parent 65c25aadfa4e917060e99fe459f33a6a07db53cc author Dave Jones Wed, 06 Sep 2006 11:59:35 -0400 committer Dave Jones Wed, 06 Sep 2006 11:59:35 -0400 [AGPGART] Fix number of aperture sizes in 830 gart structs. Spotted by Eric Anholt. Signed-off-by: Dave Jones commit 65c25aadfa4e917060e99fe459f33a6a07db53cc tree 510a3fd7bd869cb49d27f22e0f9191d4bca44138 parent 115b384cf87249d76adb0b21aca11ee22128927d author Eric Anholt Wed, 06 Sep 2006 11:57:18 -0400 committer Dave Jones Wed, 06 Sep 2006 11:57:18 -0400 [AGPGART] Intel 965 Express support. From: Alan Hourihane From: Eric Anholt Signed-off-by: Dave Jones commit 8adcc0c674004c0f9467031a93dc639c2b01411f tree c927083c7ad6be78749ad0ecc2fff1f018a7dd5f parent db44aaf3a2f599163c53ce96658aca688b3466f0 author Venkatesh Pallipadi Fri, 01 Sep 2006 14:02:24 -0700 committer Dave Jones Tue, 05 Sep 2006 17:28:42 -0400 [CPUFREQ] Workaround for BIOS bug in software coordination of frequency Some buggy BIOSes do a "software any" kind of coordination without telling about it to OS. So, when OS sets frequency on one CPU on these platforms, it will also impact all the other logical CPUs that are in the same power domain. Attached patch is a workaround for those buggy BIOSes. Patch should be a noop on the normal non-buggy platforms. Applies over previously sent acpi-cpufreq and software coordination bug fix patch Signed-off-by: Denis Sadykov Signed-off-by: Venkatesh Pallipadi Signed-off-by: Alexey Starikovskiy Signed-off-by: Dave Jones commit db44aaf3a2f599163c53ce96658aca688b3466f0 tree ad6bbd01851d911e0641256f5d10531504a85ee4 parent 23e735bc7b0e1d614656881794257b4224efda3a author Rafał Bilski Wed, 16 Aug 2006 01:07:33 +0200 committer Dave Jones Tue, 05 Sep 2006 17:28:42 -0400 [CPUFREQ] Longhaul - Add voltage scaling to driver Rename option "dont_scale_voltage" to "scale_voltage" because don't will be default. Use "pos" for calculating voltage. In this way driver don't need to know mV value or low level value. Simply min U is one pos and max U is second pos. All pos between these two are used. Assume that min U is for min f and max U for max f. For frequency between min and max calculate pos based on difference between current frequency and min f. Values in mobile VRM table changed to values from C3-M datasheet. Signed-off-by: Rafał Bilski Signed-off-by: Dave Jones commit 115b384cf87249d76adb0b21aca11ee22128927d tree f39a2a54863e9d82d1196906f92c82ab5991c6af parent 8eb7925f93af75e66a240d148efdec212f95bcb7 parent c336923b668fdcf0312efbec3b44895d713f4d81 author Dave Jones Tue, 05 Sep 2006 17:20:21 -0400 committer Dave Jones Tue, 05 Sep 2006 17:20:21 -0400 Merge ../linus commit 8eb7925f93af75e66a240d148efdec212f95bcb7 tree 228544ec353c1c3fe374eb9ffe13c4efe7fa9f29 parent b53e674a707cf77e76339852abdc063696679261 author Alexey Dobriyan Sun, 20 Aug 2006 18:48:13 +0400 committer Dave Jones Tue, 05 Sep 2006 17:19:51 -0400 [AGPGART] agp.h: constify struct agp_bridge_data::version drivers/char/agp/backend.c: In function `agp_backend_initialize': drivers/char/agp/backend.c:141: warning: assignment discards qualifiers from pointer target type Signed-off-by: Alexey Dobriyan Signed-off-by: Dave Jones commit 23e735bc7b0e1d614656881794257b4224efda3a tree d9523b531156fedb204e31b4612519b0a7a003e7 parent 3906f4edeef976c081c4e7bd92164d2f59c325ae parent c336923b668fdcf0312efbec3b44895d713f4d81 author Dave Jones Tue, 05 Sep 2006 17:16:33 -0400 committer Dave Jones Tue, 05 Sep 2006 17:16:33 -0400 Merge ../linus commit 3906f4edeef976c081c4e7bd92164d2f59c325ae tree 6ad1309a5e2eda9c2dde0e9bd0dca8d0a4060b9b parent b5ecf60fe6b18de0bc59d336d444835d4ef835ed author Dave Jones Tue, 05 Sep 2006 17:15:47 -0400 committer Dave Jones Tue, 05 Sep 2006 17:15:47 -0400 [CPUFREQ] Fix sparse warning in ondemand drivers/cpufreq/cpufreq_ondemand.c:323:2: warning: Using plain integer as NULL pointer Signed-off-by: Dave Jones commit aa43f77939c97bf9d3580c6a5e71a5a40290e451 tree 095c0b8b3da4b6554a3f8ef4b39240a5d9216d4d parent 2818c5dec5e28d65d52afbb7695bbbafe6377ee5 parent 4c15343167b5febe7bb0ba96aad5bef42ae94d3b author Paul Mackerras Thu, 31 Aug 2006 15:45:48 +1000 committer Paul Mackerras Thu, 31 Aug 2006 15:45:48 +1000 Merge branch 'merge' commit 2818c5dec5e28d65d52afbb7695bbbafe6377ee5 tree a061c7228e4716850620a06fde35fd76f7551df6 parent ea0763a7e62f60f3e166327268a80f16ad806718 author Paul Mackerras Fri, 25 Aug 2006 15:08:21 +1000 committer Paul Mackerras Fri, 25 Aug 2006 15:08:21 +1000 [POWERPC] Only offer CONFIG_BRIQ_PANEL if CONFIG_PPC_CHRP is enabled since only the briQ has a briQ front panel, and the briQ is a CHRP and is only supported if CONFIG_PPC_CHRP is set. Signed-off-by: Paul Mackerras commit ea0763a7e62f60f3e166327268a80f16ad806718 tree de54ec5e5d5a49b3cba81b096b7572852aa6f5a9 parent 271c511db9d37d6797745adb1f151a8bd2838c6f parent c85c41ad73c6db4cf4cc98c595cc5e2fdbdb53d5 author Paul Mackerras Fri, 25 Aug 2006 14:56:07 +1000 committer Paul Mackerras Fri, 25 Aug 2006 14:56:07 +1000 Merge branch 'merge' commit 271c511db9d37d6797745adb1f151a8bd2838c6f tree fe789181efeada6073cf3fb6d3d9b366e2f7a742 parent 39ed2fe62c39ac46cda00b1759806a297f38743b author Johannes Berg Tue, 22 Aug 2006 16:57:05 +0200 committer Paul Mackerras Fri, 25 Aug 2006 13:30:27 +1000 [POWERPC] make checkstack work with ARCH=powerpc This patch adds 'powerpc' architecture support to checkstack.pl. Signed-off-by: Johannes Berg Signed-off-by: Paul Mackerras commit 39ed2fe62c39ac46cda00b1759806a297f38743b tree 9afdbd66064c97a2a4951c93f3675a54146ac973 parent e2bf2e26c0915d54208315fc8c9864f1d987217a author Olaf Hering Mon, 21 Aug 2006 18:11:32 +0200 committer Paul Mackerras Fri, 25 Aug 2006 13:30:26 +1000 [POWERPC] reboot when panic_timout is set Only call into RTAS when booted with panic=0 because the RTAS call does not return. The system has to be rebooted via the HMC or via the management console right now. This is cumbersome and not what the default panic=180 is supposed to do. Signed-off-by: Olaf Hering Signed-off-by: Paul Mackerras commit e2bf2e26c0915d54208315fc8c9864f1d987217a tree 23946098081ac558faabaaadd0f1ea88416aeb72 parent 6f3d5d3cc4b1447578ae8484166bbc34a64150c5 author Stephen Rothwell Thu, 17 Aug 2006 16:28:28 +1000 committer Paul Mackerras Fri, 25 Aug 2006 13:27:35 +1000 [POWERPC] iseries: remove some gcc 4.1 warnings gcc 4.1 produces some warnings that say it is ignoring the packed attribute on some structure elements, so, since all the elements of these structs are packed, pack the structs instead. Signed-off-by: Stephen Rothwell Signed-off-by: Paul Mackerras commit 6f3d5d3cc4b1447578ae8484166bbc34a64150c5 tree 3641fb3b82081252fcb67cb8d2c66eb4d877e25c parent a0a428e30077fd64c39aadf5221cf2c7a14dc281 author Michael Ellerman Wed, 16 Aug 2006 22:04:14 +1000 committer Paul Mackerras Fri, 25 Aug 2006 13:27:35 +1000 [POWERPC] Add a helper for calculating RTAS "config_addr" parameters Several RTAS calls take a "config_addr" parameter, which is a particular way of specifying a PCI busno, devfn and register number into a 32-bit word. Currently these are open-coded, and I'll be adding another soon, replace them with a helper that encapsulates the logic. Be more strict about masking the busno too, just in case. Booted on P5 LPAR. Signed-off-by: Michael Ellerman Signed-off-by: Paul Mackerras commit a0a428e30077fd64c39aadf5221cf2c7a14dc281 tree dbdc1172b705b8f1576fb43bebd2fbc83ee83995 parent 9a2ded55c40ad17b8b12f87c592a40b2e8593c4d author Stephen Rothwell Wed, 16 Aug 2006 15:24:28 +1000 committer Paul Mackerras Fri, 25 Aug 2006 13:27:35 +1000 [POWERPC] iseries: remove const warning Just one bit of fallout from the constification of the get_property return value. Signed-off-by: Stephen Rothwell Signed-off-by: Paul Mackerras commit 9a2ded55c40ad17b8b12f87c592a40b2e8593c4d tree f1fd41f15356787e68915257be26dafb0d951932 parent 869d7f381e8c32de85ddfa9621125fb10a885f87 author Michael Neuling Wed, 16 Aug 2006 23:12:14 -0500 committer Paul Mackerras Fri, 25 Aug 2006 13:27:35 +1000 [POWERPC] powerpc: Make RTAS console init generic The rtas console doesn't have to be Cell specific. If we get both RTAS tokens, we should just enabled the console then and there. Signed-off-by: Michael Neuling Signed-off-by: Paul Mackerras commit 869d7f381e8c32de85ddfa9621125fb10a885f87 tree d6997f7113e20d4a15d9f79d22bcb2819e6564ab parent f39b7a55a84e34e3074b168e30dc73b66e85261d author Jon Loeliger Tue, 15 Aug 2006 16:19:02 -0500 committer Paul Mackerras Fri, 25 Aug 2006 13:27:35 +1000 [POWERPC] Allow MPC8641 HPCN to build with CONFIG_PCI disabled too. Signed-off-by: Jon Loeliger Signed-off-by: Paul Mackerras commit f39b7a55a84e34e3074b168e30dc73b66e85261d tree 9be321bfcd5d0404309b1514127987117c2541cc parent 2e97425197ecf85641a89e5a4868f8e147cc443f author Olof Johansson Fri, 11 Aug 2006 00:07:08 -0500 committer Paul Mackerras Fri, 25 Aug 2006 13:27:35 +1000 [POWERPC] Cleanup CPU inits Cleanup CPU inits a bit more, Geoff Levand already did some earlier. * Move CPU state save to cpu_setup, since cpu_setup is only ever done on cpu 0 on 64-bit and save is never done more than once. * Rename __restore_cpu_setup to __restore_cpu_ppc970 and add function pointers to the cputable to use instead. Powermac always has 970 so no need to check there. * Rename __970_cpu_preinit to __cpu_preinit_ppc970 and check PVR before calling it instead of in it, it's too early to use cputable. * Rename pSeries_secondary_smp_init to generic_secondary_smp_init since everyone but powermac and iSeries use it. Signed-off-by: Olof Johansson Signed-off-by: Paul Mackerras commit 2e97425197ecf85641a89e5a4868f8e147cc443f tree 491defe1ac72de19380dafe7053d3dac497ecf82 parent 9e6ee340194e8bd8f463b55c6d028272c0e64155 author Olof Johansson Fri, 11 Aug 2006 00:03:01 -0500 committer Paul Mackerras Fri, 25 Aug 2006 13:27:35 +1000 [POWERPC] Rename cpu_setup_power4.S to cpu_setup_ppc970.S Rename cpu_setup_power4.S to cpu_setup_ppc970.S, since that's really what it is. No functional or other changes. Signed-off-by: Olof Johansson Signed-off-by: Paul Mackerras commit 9e6ee340194e8bd8f463b55c6d028272c0e64155 tree 5e51b6d0b1cbe7076e4f36eeec0f10964eaa8dc9 parent 11a27ad782fc7ae4b7d6ac8fefad4ceb415300d6 author Geoff Levand Wed, 09 Aug 2006 15:28:13 -0700 committer Paul Mackerras Fri, 25 Aug 2006 13:27:35 +1000 [POWERPC] cell: interrupt.c whitespace clean up Whitespace clean up for cell/interrupt.c. Signed-off-by: Geoff Levand Signed-off-by: Paul Mackerras commit 11a27ad782fc7ae4b7d6ac8fefad4ceb415300d6 tree 10e3f8925e8b659a833017ceb674edbbe2fd3c82 parent 32bc6e095d75233e7c87cc6fa0e07942b124d194 author Michael Neuling Wed, 09 Aug 2006 17:00:30 +1000 committer Paul Mackerras Fri, 25 Aug 2006 13:17:08 +1000 [POWERPC] SLB shadow buffer cleanup Cleanup some of the #define magic as suggested by Milton. Signed-off-by: Michael Neuling Signed-off-by: Paul Mackerras commit b5ecf60fe6b18de0bc59d336d444835d4ef835ed tree fa8ccb8598d475a149ac6fb1ada068717bfa179b parent 6595413fc9453a211f4b5d5cc42f0bbf3daa615b author Adrian Bunk Sun, 13 Aug 2006 23:00:08 +0200 committer Dave Jones Mon, 14 Aug 2006 01:18:54 -0400 [CPUFREQ] make drivers/cpufreq/cpufreq_ondemand.c:powersave_bias_target() static This patch makes the needlessly global powersave_bias_target() static. Signed-off-by: Adrian Bunk Signed-off-by: Dave Jones commit 6595413fc9453a211f4b5d5cc42f0bbf3daa615b tree cb0b9b0b1dd91c073eca7e4b26de3a4439dff66d parent 179da8e6e8903a8cdb19bb12672d50dc33f0fde6 author Rafał Bilski Sun, 13 Aug 2006 09:16:20 +0200 committer Dave Jones Mon, 14 Aug 2006 01:18:53 -0400 [CPUFREQ] Longhaul - Add ignore_latency option Some laptops with VIA C3 processor, CLE266 chipset and AMI BIOS have incorrect latency values in FADT table. These laptops seems to be C3 capable, but latency values are to big: 101 for C2 and 1017 for C3. This option will allow user to skip C3 latency test but not C3 address test. AMI BIOS is setting C3 address to correct value in DSDT table. Signed-off-by: Rafał Bilski Signed-off-by: Dave Jones commit b53e674a707cf77e76339852abdc063696679261 tree b979d52f91dd6b438b7545234ccdec33c6ed4fbf parent 85be7d60595b4803731cec158b0023bc050fdd14 author Dave Jones Fri, 11 Aug 2006 18:13:41 -0400 committer Dave Jones Fri, 11 Aug 2006 18:13:41 -0400 [AGPGART] const'ify VIA AGP PCI table. Signed-off-by: Dave Jones commit 85be7d60595b4803731cec158b0023bc050fdd14 tree 2a3e144f0b5183e0c1e1f976f2ad9a1b7c8481bd parent 71565619af84a15d0abef6f0d6704e6472cd87c1 author Alexey Dobriyan Sat, 12 Aug 2006 02:02:02 +0400 committer Dave Jones Fri, 11 Aug 2006 18:10:27 -0400 [AGPGART] CONFIG_PM=n slim: drivers/char/agp/intel-agp.c Signed-off-by: Alexey Dobriyan Signed-off-by: Dave Jones commit 71565619af84a15d0abef6f0d6704e6472cd87c1 tree 07981be89b5ddbfecb3c8e8b77ea9614a5cb93dd parent e7745d4e0299a3460128917ceb6b6a807fa7f9e8 author Alexey Dobriyan Sat, 12 Aug 2006 01:59:50 +0400 committer Dave Jones Fri, 11 Aug 2006 18:10:27 -0400 [AGPGART] CONFIG_PM=n slim: drivers/char/agp/efficeon-agp.c Signed-off-by: Alexey Dobriyan Signed-off-by: Dave Jones commit e7745d4e0299a3460128917ceb6b6a807fa7f9e8 tree a2137ac22bfbe838faa00e49529f7cbfb9bf55dd parent 804af2cf6e7af31d2e664b54e657dddd9b531dbd author Dave Jones Fri, 11 Aug 2006 18:02:27 -0400 committer Dave Jones Fri, 11 Aug 2006 18:02:27 -0400 [AGPGART] Const'ify the agpgart driver version. Signed-off-by: Dave Jones commit 179da8e6e8903a8cdb19bb12672d50dc33f0fde6 tree 0e791d2d3890db822508f64d2bc1301ac307c982 parent 05ca0350e8caa91a5ec9961c585c98005b6934ea author Rafał Bilski Tue, 08 Aug 2006 19:12:20 +0200 committer Dave Jones Fri, 11 Aug 2006 17:59:57 -0400 [CPUFREQ] Longhaul - Disable arbiter ACPI C3 works for "Powersaver" processors, so use it only for them. Older CPU will change frequency on "halt" only. But we can protect transition in two ways: - by ACPI PM2 register, there is "bus master arbiter disable" bit. This isn't tested because VIA mainboards don't have PM2 register, - by PLE133 PCI/AGP arbiter disable register. There are two bits in this register. First is "PCI arbiter disable", second "AGP arbiter disable". This is working on VIA Epia 800 mainboards. Test on bm_control is more proper because this is true when PM2 register exist. Signed-off-by: Rafał Bilski Signed-off-by: Dave Jones commit 05ca0350e8caa91a5ec9961c585c98005b6934ea tree 16eb1080f5db361dcd18821f7204b8edf5ffb698 parent 1ce28d6b19112a7c76af8e971e2de3109d19a943 author Alexey Starikovskiy Mon, 31 Jul 2006 22:28:12 +0400 committer Dave Jones Fri, 11 Aug 2006 17:59:57 -0400 [CPUFREQ][2/2] ondemand: updated add powersave_bias tunable ondemand selects the minimum frequency that can retire a workload with negligible idle time -- ideally resulting in the highest performance/power efficiency with negligible performance impact. But on some systems and some workloads, this algorithm is more performance biased than necessary, and de-tuning it a bit to allow some performance impact can save measurable power. This patch adds a "powersave_bias" tunable to ondemand to allow it to reduce its target frequency by a specified percent. By default, the powersave_bias is 0 and has no effect. powersave_bias is in units of 0.1%, so it has an effective range of 1 through 1000, resulting in 0.1% to 100% impact. In practice, users will not be able to detect a difference between 0.1% increments, but 1.0% increments turned out to be too large. Also, the max value of 1000 (100%) would simply peg the system in its deepest power saving P-state, unless the processor really has a hardware P-state at 0Hz:-) For example, If ondemand requests 2.0GHz based on utilization, and powersave_bias=100, this code will knock 10% off the target and seek a target of 1.8GHz instead of 2.0GHz until the next sampling. If 1.8 is an exact match with an hardware frequency we use it, otherwise we average our time between the frequency next higher than 1.8 and next lower than 1.8. Note that a user or administrative program can change powersave_bias at run-time depending on how they expect the system to be used. Signed-off-by: Venkatesh Pallipadi Signed-off-by: Alexey Starikovskiy Signed-off-by: Dave Jones commit 1ce28d6b19112a7c76af8e971e2de3109d19a943 tree 5fe089fa4b9851ca4c975a5e13f636f95fa43078 parent cd878479792cc1e4bc9d62ed0ef2c4454743848c author Alexey Starikovskiy Mon, 31 Jul 2006 22:25:20 +0400 committer Dave Jones Fri, 11 Aug 2006 17:59:56 -0400 [CPUFREQ][1/2] ondemand: updated tune for hardware coordination Try to make dbs_check_cpu() call on all CPUs at the same jiffy. This will help when multiple cores share P-states via Hardware Coordination. Signed-off-by: Venkatesh Pallipadi Signed-off-by: Alexey Starikovskiy Signed-off-by: Dave Jones commit cd878479792cc1e4bc9d62ed0ef2c4454743848c tree 41abf6ff0cb2e4797fb14a31b1723371a5fda685 parent 9f737633e6ee54fc174282d49b2559bd2208391d author Dave Jones Fri, 11 Aug 2006 17:59:28 -0400 committer Dave Jones Fri, 11 Aug 2006 17:59:28 -0400 [CPUFREQ] Fix typo. Signed-off-by: Dave Jones commit 32bc6e095d75233e7c87cc6fa0e07942b124d194 tree 8f83ef9a23d52d1305878b65dd98fc22b09b7f3e parent 5cf13911b1e72707b6f0eb39b2d819ec6e343d76 parent 81b73dd92b97423b8f5324a59044da478c04f4c4 author Paul Mackerras Tue, 08 Aug 2006 17:09:11 +1000 committer Paul Mackerras Tue, 08 Aug 2006 17:09:11 +1000 Merge branch 'merge' commit 5cf13911b1e72707b6f0eb39b2d819ec6e343d76 tree cdbd2bc3d6f6e1b6fde2d6fcda43abe186db0313 parent 2f6093c84730b4bad65bcd0f2f904a5769b1dfc5 author Michael Neuling Mon, 07 Aug 2006 17:34:50 +1000 committer Paul Mackerras Tue, 08 Aug 2006 17:08:58 +1000 [POWERPC] Update lppaca offset comments Update offset comments. No functional change. Signed-off-by: Michael Neuling Signed-off-by: Paul Mackerras commit 2f6093c84730b4bad65bcd0f2f904a5769b1dfc5 tree ab4e64a0520e944062f418e91706ff968e23a6ea parent 452b5e21216011f2f068e80443568f5f3f3f4d63 author Michael Neuling Mon, 07 Aug 2006 16:19:19 +1000 committer Paul Mackerras Tue, 08 Aug 2006 17:08:56 +1000 [POWERPC] Implement SLB shadow buffer This adds a shadow buffer for the SLBs and regsiters it with PHYP. Only the bolted SLB entries (top 3) are shadowed. The SLB shadow buffer tells the hypervisor what the kernel needs to have in the SLB for the kernel to be able to function. The hypervisor can use this information to speed up partition context switches. Signed-off-by: Michael Neuling Signed-off-by: Paul Mackerras commit 452b5e21216011f2f068e80443568f5f3f3f4d63 tree 0421f30b448e8fa0788665002965e3d10f265745 parent f4dddce57c105c447c566be52c3d210dec570a27 author Matt Porter Fri, 04 Aug 2006 11:44:01 -0500 committer Paul Mackerras Tue, 08 Aug 2006 17:07:08 +1000 [POWERPC] Fix powerpc 44x_mmu build The PIN_SIZE definition name changed, update 44x_mmu.c accordingly. Signed-off-by: Matt Porter Signed-off-by: Paul Mackerras commit f4dddce57c105c447c566be52c3d210dec570a27 tree 3209afe64c48a40cfddd6e6646249bb948e8a763 parent 3d7714867a8d240fae3ab0bde656a369de2b08ab author Matt Porter Fri, 04 Aug 2006 11:41:51 -0500 committer Paul Mackerras Tue, 08 Aug 2006 17:07:07 +1000 [POWERPC] Remove flush_dcache_all export Removes the flush_dcache_all export for non coherent platforms. We removed the last in-kernel user of this years ago in arch/ppc so it no longer serves a purpose. Plus, it breaks the build at the moment. Signed-off-by: Matt Porter Signed-off-by: Paul Mackerras commit 3d7714867a8d240fae3ab0bde656a369de2b08ab tree 9651bca18081f490d7ecfc43f30a1c9d3ed9d5e5 parent 40681b95a4ef798bc38c92e0d9b8c06bbdd34409 author Jon Loeliger Thu, 03 Aug 2006 16:27:57 -0500 committer Paul Mackerras Tue, 08 Aug 2006 17:07:06 +1000 [POWERPC] Add MPC8641 HPCN Device Tree Source file. As per list discussion, let's add device tree source files under powerpc/boot/dts. If nothing else, it is a starting point. Signed-off-by: Jon Loeliger Signed-off-by: Paul Mackerras commit 40681b95a4ef798bc38c92e0d9b8c06bbdd34409 tree 8de6bebd3c876737a6c55263548ad1002fe5cbe2 parent 3ab2b385c8a5cdf060c6a41582118a0cb27d0910 author Michael Ellerman Wed, 02 Aug 2006 11:13:50 +1000 committer Paul Mackerras Tue, 08 Aug 2006 17:07:04 +1000 [POWERPC] Make doc comments extractable We don't have much in the way of doc comments, but some of those we do have don't work because they start with "/***" or "/*", not "/**" which is what kernel-doc requires. Signed-off-by: Michael Ellerman Signed-off-by: Paul Mackerras commit 3ab2b385c8a5cdf060c6a41582118a0cb27d0910 tree 82064e07b6f7ba408d0a3670edba3fafdfe746d7 parent 45934c47237108903ec019f08e124e592ba0b6c2 author Amos Waterland Tue, 01 Aug 2006 15:44:11 -0400 committer Paul Mackerras Tue, 08 Aug 2006 17:07:02 +1000 [POWERPC] Turn on tigon3 support in maple_defconfig I think that most people who use maple_defconfig are doing so for a JS21, so it might make sense to turn Tigon3 support on by default. Built and booted on a JS21. Signed-off-by: Amos Waterland Signed-off-by: Paul Mackerras commit 45934c47237108903ec019f08e124e592ba0b6c2 tree 355209f7393ae88fbcea191b3123e00b913aac08 parent 919fede6edab94cccb3ca8c1c0b32fa62c9369a5 author Jake Moilanen Thu, 27 Jul 2006 13:17:25 -0500 committer Paul Mackerras Tue, 08 Aug 2006 17:06:59 +1000 [POWERPC] Export msi symbols Forgot to export symbols for MSI. Signed-off-by: Jake Moilanen Acked-by: Segher Boessenkool Signed-off-by: Paul Mackerras commit 919fede6edab94cccb3ca8c1c0b32fa62c9369a5 tree 91820c190e4e8fbef6f2a57c0d1e6df014b1d50c parent afd05423e02bc7391a7489b686ba1e166b6e8349 author Jon Loeliger Mon, 31 Jul 2006 15:35:41 -0500 committer Paul Mackerras Tue, 08 Aug 2006 17:05:44 +1000 [POWERPC] Rewrite the PPC 86xx IRQ handling to use Flat Device Tree IRQ setup now comes from the Flat Device Tree and use the new generic IRQ code. Fixed the fsl_soc.c IRQ OF interrupt node parsing. Removed some unused MPC86xx macro definition. Signed-off-by: Zhang Wei Signed-off-by: Jon Loeliger Signed-off-by: Paul Mackerras commit afd05423e02bc7391a7489b686ba1e166b6e8349 tree 040a752095e88afbebda9eea7cbfa34dcfdf1de8 parent b9377ffc3a03cde558d76349a262a1adbb6d3112 author Michael Neuling Fri, 28 Jul 2006 13:58:37 +1000 committer Paul Mackerras Mon, 07 Aug 2006 12:03:49 +1000 [POWERPC] Enable PURR sysfs entry correctly We have CPU_FTR_PURR now, so let's use it. Signed-off-by: Michael Neuling Signed-off-by: Paul Mackerras commit b9377ffc3a03cde558d76349a262a1adbb6d3112 tree c61fcdb732d06c64b9c5634953e46cefdf6af846 parent 57cad8084e0837e0f2c97da789ec9b3f36809be9 author Anton Blanchard Wed, 19 Jul 2006 08:01:28 +1000 committer Paul Mackerras Tue, 01 Aug 2006 16:19:15 +1000 [POWERPC] clean up pseries hcall interfaces Our pseries hcall interfaces are out of control: plpar_hcall_norets plpar_hcall plpar_hcall_8arg_2ret plpar_hcall_4out plpar_hcall_7arg_7ret plpar_hcall_9arg_9ret Create 3 interfaces to cover all cases: plpar_hcall_norets: 7 arguments no returns plpar_hcall: 6 arguments 4 returns plpar_hcall9: 9 arguments 9 returns There are only 2 cases in the kernel that need plpar_hcall9, hopefully we can keep it that way. Pass in a buffer to stash return parameters so we avoid the &dummy1, &dummy2 madness. Signed-off-by: Anton Blanchard -- Signed-off-by: Paul Mackerras commit 57cad8084e0837e0f2c97da789ec9b3f36809be9 tree e9c790afb4286f78cb08d9664f58baa7e876fe55 parent cb18bd40030c879cd93fef02fd579f74dbab473d parent 49b1e3ea19b1c95c2f012b8331ffb3b169e4c042 author Paul Mackerras Tue, 01 Aug 2006 10:37:25 +1000 committer Paul Mackerras Tue, 01 Aug 2006 10:37:25 +1000 Merge branch 'merge' commit cb18bd40030c879cd93fef02fd579f74dbab473d tree fdc2d097988ab89fe69d28e36e83b0bad802ad9b parent 5d33eebee83784f5f03bc3861fa92ee5cd831922 author Mike Kravetz Thu, 20 Jul 2006 23:39:51 -0700 committer Paul Mackerras Mon, 31 Jul 2006 15:56:35 +1000 [POWERPC] Instrument Hypervisor Calls: merge headers Move all the Hypervisor call definitions to to a single header file. Signed-off-by: Mike Kravetz Signed-off-by: Paul Mackerras commit 5d33eebee83784f5f03bc3861fa92ee5cd831922 tree 3da9ff7109e0a1d3cd3c17f332dfb84a237852f3 parent 931b261f442e779b0656d9b04c7ffe4939ef8c0a author Jeremy Kerr Thu, 13 Jul 2006 16:32:52 +1000 committer Paul Mackerras Mon, 31 Jul 2006 15:55:06 +1000 [POWERPC] Simplify dma_ops bug conditions Use BUG_ON rather than BUG to simplify the dma_ops handing, and remove the now-unnecessary return cases. Booted on pseries. Signed-off-by: Jeremy Kerr Signed-off-by: Paul Mackerras commit 931b261f442e779b0656d9b04c7ffe4939ef8c0a tree 76d650707d78ed7c9e002481001ac175c8502d8e parent 88c805940bb9a1478f06ed6dd5d6f660bdc38eaa author Jeremy Kerr Wed, 12 Jul 2006 15:42:06 +1000 committer Paul Mackerras Mon, 31 Jul 2006 15:55:06 +1000 [POWERPC] Make get_property() return a const void * Previous changes have treated the return values of get_property as const, so now we can make the actual change to get_property(). There shouldn't be a need to cast the return values anymore. We will now get compiler warnings when property values are assigned to a non-const variable. If properties need to be updated, there's still the of_find_property function. Built for cell_defconfig, chrp32_defconfig, g5_defconfig, iseries_defconfig, maple_defconfig, pmac32_defconfig, ppc64_defconfig and pseries_defconfig. Signed-off-by: Jeremy Kerr Signed-off-by: Paul Mackerras commit 88c805940bb9a1478f06ed6dd5d6f660bdc38eaa tree 4eefeb6e7555e0eb226647f1fa17bc237aee8c7f parent af5f92d881d783b47d1f993ddffa2bce8b2993fe author Jeremy Kerr Wed, 12 Jul 2006 15:41:52 +1000 committer Paul Mackerras Mon, 31 Jul 2006 15:55:06 +1000 [POWERPC] tsi108: Constify & voidify get_property() Now that get_property() returns a void *, there's no need to cast its return value. Also, treat the return value as const, so we can constify get_property later. tsi108 driver changes. Signed-off-by: Jeremy Kerr Signed-off-by: Paul Mackerras commit af5f92d881d783b47d1f993ddffa2bce8b2993fe tree 4a566dbd4c559700b1d24250b88dbd0de886df80 parent 5c339e96a391476ebb7cc63d913445c8cee092ff author Jeremy Kerr Wed, 12 Jul 2006 15:41:41 +1000 committer Paul Mackerras Mon, 31 Jul 2006 15:55:06 +1000 [POWERPC] sata_svw: Constify & voidify get_property() Now that get_property() returns a void *, there's no need to cast its return value. Also, treat the return value as const, so we can constify get_property later. sata_svw changes Signed-off-by: Jeremy Kerr Signed-off-by: Paul Mackerras commit 5c339e96a391476ebb7cc63d913445c8cee092ff tree 2d531f40b6886e20ecde612616d8e89cb4b2656a parent abddd185a0195988b8a5e802d55aff91783489de author Jeremy Kerr Wed, 12 Jul 2006 15:41:30 +1000 committer Paul Mackerras Mon, 31 Jul 2006 15:55:06 +1000 [POWERPC] tmp_atmel: Constify & voidify get_property() Now that get_property() returns a void *, there's no need to cast its return value. Also, treat the return value as const, so we can constify get_property later. tpm_atmel changes Signed-off-by: Jeremy Kerr Signed-off-by: Paul Mackerras commit abddd185a0195988b8a5e802d55aff91783489de tree b155a1d9aef8c34fafbf54ab7ed829726522913e parent 1a2509c946bfd4d4a4c5a6e816082d3a7de45db8 author Jeremy Kerr Wed, 12 Jul 2006 15:41:18 +1000 committer Paul Mackerras Mon, 31 Jul 2006 15:55:06 +1000 [POWERPC] sound: Constify & voidify get_property() Now that get_property() returns a void *, there's no need to cast its return value. Also, treat the return value as const, so we can constify get_property later. powerpc-specific sound driver changes. Signed-off-by: Jeremy Kerr Signed-off-by: Paul Mackerras commit 1a2509c946bfd4d4a4c5a6e816082d3a7de45db8 tree 1a99101fe9be656b928272925102c602e6650562 parent 294ef16a2ee34d0d94aa63616f7552d3bc66c982 author Jeremy Kerr Wed, 12 Jul 2006 15:41:03 +1000 committer Paul Mackerras Mon, 31 Jul 2006 15:55:05 +1000 [POWERPC] netdevices: Constify & voidify get_property() Now that get_property() returns a void *, there's no need to cast its return value. Also, treat the return value as const, so we can constify get_property later. powerpc-specific network device driver changes. Signed-off-by: Jeremy Kerr Signed-off-by: Paul Mackerras commit 294ef16a2ee34d0d94aa63616f7552d3bc66c982 tree fd41d15117e97a756566a040ca9833e76ea8e525 parent b04e3dd4ab4c7763a4ca8f751caaf69ce8dabbba author Jeremy Kerr Wed, 12 Jul 2006 15:40:51 +1000 committer Paul Mackerras Mon, 31 Jul 2006 15:55:05 +1000 [POWERPC] scsi: Constify & voidify get_property() Now that get_property() returns a void *, there's no need to cast its return value. Also, treat the return value as const, so we can constify get_property later. powerpc-specific scsi driver changes. Signed-off-by: Jeremy Kerr Signed-off-by: Paul Mackerras commit b04e3dd4ab4c7763a4ca8f751caaf69ce8dabbba tree 0224891d9ea4bfa4b1b8245d498cf2fa81737884 parent 018a3d1db7cdb6127656c1622ee1d2302e16436d author Jeremy Kerr Wed, 12 Jul 2006 15:40:40 +1000 committer Paul Mackerras Mon, 31 Jul 2006 15:55:05 +1000 [POWERPC] video & agp: Constify & voidify get_property() Now that get_property() returns a void *, there's no need to cast its return value. Also, treat the return value as const, so we can constify get_property later. powerpc-specific video & agp driver changes. Signed-off-by: Jeremy Kerr Signed-off-by: Paul Mackerras commit 018a3d1db7cdb6127656c1622ee1d2302e16436d tree 5b6714fa9fcd1441f7c1b30e0391484c095925b6 parent eeb2b723ef5100fafa381d92eb70d83e98516a44 author Jeremy Kerr Wed, 12 Jul 2006 15:40:29 +1000 committer Paul Mackerras Mon, 31 Jul 2006 15:55:05 +1000 [POWERPC] powermac: Constify & voidify get_property() Now that get_property() returns a void *, there's no need to cast its return value. Also, treat the return value as const, so we can constify get_property later. powermac platform & macintosh driver changes. Built for pmac32_defconfig, g5_defconfig Signed-off-by: Jeremy Kerr Signed-off-by: Paul Mackerras commit eeb2b723ef5100fafa381d92eb70d83e98516a44 tree 782883072f3ec64cd795c3c2a69322647ce5f96c parent ae6b4101e53dcf8a41f3432dacca9d3eb34e9cc3 author Jeremy Kerr Wed, 12 Jul 2006 15:40:17 +1000 committer Paul Mackerras Mon, 31 Jul 2006 15:55:05 +1000 [POWERPC] maple: Constify & voidify get_property() Now that get_property() returns a void *, there's no need to cast its return value. Also, treat the return value as const, so we can constify get_property later. maple platform changes. Built for maple_defconfig Signed-off-by: Jeremy Kerr Signed-off-by: Paul Mackerras commit ae6b4101e53dcf8a41f3432dacca9d3eb34e9cc3 tree 9144d6ef4e0fcb30900eef1e2b67904fb7266039 parent c61c27d58af61e5b78257019b173732c29ce0c64 author Jeremy Kerr Wed, 12 Jul 2006 15:40:05 +1000 committer Paul Mackerras Mon, 31 Jul 2006 15:55:05 +1000 [POWERPC] chrp: Constify & voidify get_property() Now that get_property() returns a void *, there's no need to cast its return value. Also, treat the return value as const, so we can constify get_property later. chrp platform changes. Built for chrp32_defconfig Signed-off-by: Jeremy Kerr Signed-off-by: Paul Mackerras commit c61c27d58af61e5b78257019b173732c29ce0c64 tree 259c64446662670d36b40f26dd702b5006a97e1d parent 8efca49329a50710d656a8bb78d6f0f0e2f48a26 author Jeremy Kerr Wed, 12 Jul 2006 15:39:54 +1000 committer Paul Mackerras Mon, 31 Jul 2006 15:55:04 +1000 [POWERPC] cell: Constify & voidify get_property() Now that get_property() returns a void *, there's no need to cast its return value. Also, treat the return value as const, so we can constify get_property later. cell platform changes. Built for cell_defconfig Signed-off-by: Jeremy Kerr Signed-off-by: Paul Mackerras commit 8efca49329a50710d656a8bb78d6f0f0e2f48a26 tree 6843306ed52bb6f9b932633ddaf1df90431a2ab6 parent c4c7cba90cf9f180a2c45f7e54143f786360f3dd author Jeremy Kerr Wed, 12 Jul 2006 15:39:42 +1000 committer Paul Mackerras Mon, 31 Jul 2006 15:55:04 +1000 [POWERPC] mpc: Constify & voidify get_property() Now that get_property() returns a void *, there's no need to cast its return value. Also, treat the return value as const, so we can constify get_property later. mpc* platform changes. Signed-off-by: Jeremy Kerr Signed-off-by: Paul Mackerras commit c4c7cba90cf9f180a2c45f7e54143f786360f3dd tree 293afc1cc7ae9fa206ad85d2fc6d4eacd817a37c parent 954a46e2d5aec6f59976ddeb1d232b486e59b54a author Jeremy Kerr Wed, 12 Jul 2006 15:39:42 +1000 committer Paul Mackerras Mon, 31 Jul 2006 15:55:04 +1000 [POWERPC] iseries: Constify & voidify get_property() Now that get_property() returns a void *, there's no need to cast its return value. Also, treat the return value as const, so we can constify get_property later. iseries platform changes. Built for iseries_defconfig Signed-off-by: Jeremy Kerr Signed-off-by: Paul Mackerras commit 954a46e2d5aec6f59976ddeb1d232b486e59b54a tree 4e34abf431de3d6a31036c1fdf33fa4dadeb2951 parent a7f67bdf2c9f24509b8e81e0f35573b611987c80 author Jeremy Kerr Wed, 12 Jul 2006 15:39:43 +1000 committer Paul Mackerras Mon, 31 Jul 2006 15:55:04 +1000 [POWERPC] pseries: Constify & voidify get_property() Now that get_property() returns a void *, there's no need to cast its return value. Also, treat the return value as const, so we can constify get_property later. pseries platform changes. Built for pseries_defconfig Signed-off-by: Jeremy Kerr Signed-off-by: Paul Mackerras commit a7f67bdf2c9f24509b8e81e0f35573b611987c80 tree 201662dd6504418ef3c84cfe1f280153a4d8cb29 parent 4288b92b9644fdb4c6168273873fe08f32090d7a author Jeremy Kerr Wed, 12 Jul 2006 15:35:54 +1000 committer Paul Mackerras Mon, 31 Jul 2006 15:55:04 +1000 [POWERPC] Constify & voidify get_property() Now that get_property() returns a void *, there's no need to cast its return value. Also, treat the return value as const, so we can constify get_property later. powerpc core changes. Signed-off-by: Jeremy Kerr Signed-off-by: Paul Mackerras commit 4288b92b9644fdb4c6168273873fe08f32090d7a tree 9f62e8416d65281e3566ec0632b3955b6be16fe0 parent 790e05d8c2b9941218c7c9ffb5c318382fab0a8b author Andrew Morton Sat, 08 Jul 2006 22:38:56 -0700 committer Paul Mackerras Mon, 31 Jul 2006 15:55:04 +1000 [POWERPC] briq_panel Kconfig fix drivers/char/briq_panel.c:28:22: error: asm/prom.h: No such file or directory Cc: Jeremy Kerr Acked-by: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Paul Mackerras commit 804af2cf6e7af31d2e664b54e657dddd9b531dbd tree a9127236c76953ddc627b8133aae208651e206fd parent 64821324ca49f24be1a66f2f432108f96a24e596 author Hugh Dickins Wed, 26 Jul 2006 21:39:49 +0100 committer Dave Jones Wed, 26 Jul 2006 19:58:39 -0400 [AGPGART] remove private page protection map AGP keeps its own copy of the protection_map, upcoming DRM changes will also require access to this map from modules. Signed-off-by: Hugh Dickins Signed-off-by: Dave Airlie Signed-off-by: Dave Jones commit 790e05d8c2b9941218c7c9ffb5c318382fab0a8b tree efc88203419278fbe9aa6ebbf3b74738abf573f2 parent 20697cb775bdd0271f3c90fad2d15c065fd19488 parent ca652c9396fa052815518e2b2ce2ebee6d9fb861 author Stephen Rothwell Fri, 14 Jul 2006 17:27:26 +1000 committer Stephen Rothwell Fri, 14 Jul 2006 17:27:26 +1000 Merge branch 'mpe' commit ca652c9396fa052815518e2b2ce2ebee6d9fb861 tree 734a9f70c12a628fdd09d54ca7c1ced224b3964e parent 2d69ff32ebf3dff9e9b48bbbbafe2b9b6f188d48 author Michael Ellerman Fri, 14 Jul 2006 14:25:33 +1000 committer Stephen Rothwell Fri, 14 Jul 2006 17:26:59 +1000 [POWERPC] iseries: Move iommu_table_cb into platforms/iseries Although we pass the address of an iommu_table_cb to HvCallXm_getTceTableParms, we don't actually need the structure definition anywhere except in the iseries iommu code, so move the struct in there. Signed-off-by: Michael Ellerman Signed-off-by: Stephen Rothwell commit 20697cb775bdd0271f3c90fad2d15c065fd19488 tree 011ae1040fda8cf4a4bf660a523d7e9abf682597 parent 54f5cd8afa1c9c9f8b152a946b0a7e0ecdef1631 parent 4e9e95a3554e98e7383a3591283ffcd850c9ef48 author Stephen Rothwell Thu, 13 Jul 2006 19:05:50 +1000 committer Stephen Rothwell Thu, 13 Jul 2006 19:05:50 +1000 Merge branch 'hvc_iseries' commit 54f5cd8afa1c9c9f8b152a946b0a7e0ecdef1631 tree 6545b38374c9283ce00da3fe300247f3880de2da parent 380ed24b1b81a188c5b716286143157a27935aab author Stephen Rothwell Thu, 13 Jul 2006 18:56:56 +1000 committer Stephen Rothwell Thu, 13 Jul 2006 18:56:56 +1000 [POWERPC] iseries: Remove unnecessary include of iseries/hv_lp_event.h Also remove unnecessary reference to struct HvLpEvent. Signed-off-by: Stephen Rothwell commit 380ed24b1b81a188c5b716286143157a27935aab tree 42a5bd13caecc7afba4469aa658779d155f64e06 parent 3da27289a8ecc688fc62c0961dfe89d392370480 author Stephen Rothwell Thu, 13 Jul 2006 18:56:00 +1000 committer Stephen Rothwell Thu, 13 Jul 2006 18:56:00 +1000 [POWERPC] iseries: Small viotape cleanup allowed by devfs removal Signed-off-by: Stephen Rothwell commit 4e9e95a3554e98e7383a3591283ffcd850c9ef48 tree 245703cc917a274b84f02cf68c43ba5efe370f59 parent 8bff05b052db7a4cfaaf0eee7f8145600548e9c9 author Stephen Rothwell Thu, 13 Jul 2006 18:53:32 +1000 committer Stephen Rothwell Thu, 13 Jul 2006 18:53:32 +1000 [POWERPC] Make the hvc_console output buffer size settable So the iSeries console will be faster since it can send up to 200 bytes at a time to the Hypervisor. This only affects the tty part of the console, the console writes are still in 16 byte lots. Signed-off-by: Stephen Rothwell commit 8bff05b052db7a4cfaaf0eee7f8145600548e9c9 tree fe637e3ba17b1453d039b8fdd7d9339fad674f4a parent 3da27289a8ecc688fc62c0961dfe89d392370480 author Stephen Rothwell Thu, 13 Jul 2006 18:51:22 +1000 committer Stephen Rothwell Thu, 13 Jul 2006 18:51:22 +1000 [POWERPC] iseries: A new iSeries console This driver uses the hvc_console.c infrastructure that is used by the pSeries virtual and RTAS consoles. This will allow us to make viocons.c obsolete and is another step along the way to a combined kernel (as viocons could not coexist with CONFIG_VT). Signed-off-by: Stephen Rothwell commit 2d69ff32ebf3dff9e9b48bbbbafe2b9b6f188d48 tree 8c1a67ff3867c71427d10331d0e68f6517846477 parent 463c61928c453c2998d39b683c86385ee877c289 author Michael Ellerman Thu, 13 Jul 2006 17:54:44 +1000 committer Stephen Rothwell Thu, 13 Jul 2006 18:43:25 +1000 [POWERPC] Fix a compiler warning in mm/tlb_64.c The compiler doesn't understand that BUG() never returns, so complains that psize isn't set. Just set it to the normal value, which seems to produce nice code and keeps gcc happy. Signed-off-by: Michael Ellerman Signed-off-by: Stephen Rothwell commit 463c61928c453c2998d39b683c86385ee877c289 tree 86d2cb6885f8e7d2e0a1b20bfa972519f9c73cf8 parent f357b4cc5826ae55a5f3893424502cb15c6b6eba author Michael Ellerman Thu, 13 Jul 2006 17:54:44 +1000 committer Stephen Rothwell Thu, 13 Jul 2006 18:43:12 +1000 [POWERPC] iseries: Fix a compiler warning in platforms/iseries/vpdinfo.c PhbId might be used unitialised, so set it to 0xff (nothing) always. Signed-off-by: Michael Ellerman Signed-off-by: Stephen Rothwell commit f357b4cc5826ae55a5f3893424502cb15c6b6eba tree 39dcb3204ce8e5670863a180deda0c2a9efc9b5c parent 06a36db1d712242a00cb30aaebdd088b4be28082 author Michael Ellerman Thu, 13 Jul 2006 17:54:39 +1000 committer Stephen Rothwell Thu, 13 Jul 2006 18:43:01 +1000 [POWERPC] iseries: Fix a compiler warning in platforms/iseries/vpdinfo.c iSeries_Get_Location_Code() has error paths, but currently returns void, so give it a return code and only print the output if it returns successfully. Gcc isn't smart enough to be quiet though, so set frame to 0 to shut it up. Signed-off-by: Michael Ellerman Signed-off-by: Stephen Rothwell commit 06a36db1d712242a00cb30aaebdd088b4be28082 tree d768a710172634e939b4592f68a791e295800a26 parent a2ced11b6af59854cc2a2791dccd8b6c0da2f733 author Michael Ellerman Thu, 13 Jul 2006 17:52:17 +1000 committer Stephen Rothwell Thu, 13 Jul 2006 18:42:52 +1000 [POWERPC] iseries: Move ItLpNaca into platforms/iseries Move ItLpNaca into platforms/iseries now that it's not used elsewhere. Signed-off-by: Michael Ellerman Signed-off-by: Stephen Rothwell commit a2ced11b6af59854cc2a2791dccd8b6c0da2f733 tree 5f3d913c90c3836ce6b9e84a09d475de47de994a parent c59acae85409fdf5d7574e90009c8410daf38938 author Michael Ellerman Thu, 13 Jul 2006 17:52:12 +1000 committer Stephen Rothwell Thu, 13 Jul 2006 18:42:38 +1000 [POWERPC] iseries: Make HvLpConfig_get(Primary)LpIndex functions HvLpConfig_get(Primary)LpIndex are currently static inlines that return fields from the itLpNaca, if we make them real functions we can make the itLpNaca private to iSeries. Signed-off-by: Michael Ellerman Signed-off-by: Stephen Rothwell commit c59acae85409fdf5d7574e90009c8410daf38938 tree d61be73e9bff19478e5389b013de70fe0ea98465 parent a892e5d7fa7fb893b5873f7150a83f6f1ee141b5 author Michael Ellerman Thu, 13 Jul 2006 17:52:09 +1000 committer Stephen Rothwell Thu, 13 Jul 2006 18:42:29 +1000 [POWERPC] iseries: Make ItExtVpdPanel private to iSeries No one outside platforms/iseries needs ItExtVpdPanel anymore, so move it in there. It used to be needed by lparcfg, and so was exported, but isn't needed anymore, so unexport it. Signed-off-by: Michael Ellerman Signed-off-by: Stephen Rothwell commit a892e5d7fa7fb893b5873f7150a83f6f1ee141b5 tree 7bf5194235b14ffc837ed38db7110d01eb7a6089 parent dac411e7aa92d23dadbcb8721845ab88577294c7 author Michael Ellerman Thu, 13 Jul 2006 17:52:06 +1000 committer Stephen Rothwell Thu, 13 Jul 2006 18:42:20 +1000 [POWERPC] iseries: Cleanup e2a() and strne2a() e2a() was formally used by lparcfg, and so had to be exported, but isn't anymore, so don't. e2a() and strne2a() can both be static, and __init. And e2a can be made much more concise if we use x ... y case labels, while we're there add support for lower case letters. Signed-off-by: Michael Ellerman Signed-off-by: Stephen Rothwell commit dac411e7aa92d23dadbcb8721845ab88577294c7 tree 38cca1b9999c44db1ebf1aea53879a2130f85c7f parent a749690ecf7ab55aa46df1698bcee3ec110612df author Michael Ellerman Thu, 13 Jul 2006 17:52:04 +1000 committer Stephen Rothwell Thu, 13 Jul 2006 18:42:03 +1000 [POWERPC] iseries: Move e2a()/strne2a() into their only caller The ASCII -> EBCDIC functions, e2a() and strne2a() are now only used in dt.c, so move them in there. Signed-off-by: Michael Ellerman Signed-off-by: Stephen Rothwell commit a749690ecf7ab55aa46df1698bcee3ec110612df tree 2e86beded7bc9e6b2dc6c37a78a1a4c44e6687c1 parent 3da27289a8ecc688fc62c0961dfe89d392370480 author Michael Ellerman Thu, 13 Jul 2006 17:52:01 +1000 committer Stephen Rothwell Thu, 13 Jul 2006 18:41:43 +1000 [POWERPC] iseries: Use device tree /system-id in /proc/iSeries/config We export a bunch of info in /proc/iSeries/config. Currently we pull it directly out of some iSeries specific structs, but we could use the device tree instead, this saves decoding it twice and is a little neater. Signed-off-by: Michael Ellerman Signed-off-by: Stephen Rothwell commit 3da27289a8ecc688fc62c0961dfe89d392370480 tree cda59eaa2450fa1e98185f0c753210625570228e parent b5a1a9abe1a54ba40a9612001920f98bbdd0c56f author Jeremy Kerr Tue, 04 Jul 2006 16:47:18 +1000 committer Paul Mackerras Fri, 07 Jul 2006 20:19:16 +1000 [POWERPC] Remove linux,pci-domain properties The linux,pci-domain property is no longer used by DLPAR/PCI Hotplug utilites, or LSVPD. This change removes it. Built for ppc64_defconfig. Signed-off-by: Jeremy Kerr Signed-off-by: Paul Mackerras commit b5a1a9abe1a54ba40a9612001920f98bbdd0c56f tree e0ed5a874d08e753b9643120cc68900c31c95cbe parent 980ffd3258dbcdb011e929de5d658ec81febba8d author Jeremy Kerr Tue, 04 Jul 2006 16:46:44 +1000 committer Paul Mackerras Fri, 07 Jul 2006 20:19:16 +1000 [POWERPC] Use const qualifiers for prom parsing utilites The of_bus callbacks map and get_flags can be constified, as they don't alter the range or addr arguments. of_dump_addr and of_read_addr can also be constified. Built for 32- and 64-bit powerpc Signed-off-by: Jeremy Kerr Signed-off-by: Paul Mackerras commit 980ffd3258dbcdb011e929de5d658ec81febba8d tree 3cdf435f5aaf9fc40b6df43221f7d73576b80651 parent 7ed14c2177694ce086180eb9ca9ca4c6cd72c7ef author Jeremy Kerr Tue, 04 Jul 2006 16:44:46 +1000 committer Paul Mackerras Fri, 07 Jul 2006 20:19:16 +1000 [POWERPC] Remove linux,device properties The linux,device property isn't used anywhere within the kernel, and since it's a kernel pointer, it's a little useless for userspace. This change removes the code to create this property in of_device_register. Built for pmac32. Signed-off-by: Jeremy Kerr Signed-off-by: Paul Mackerras commit 7ed14c2177694ce086180eb9ca9ca4c6cd72c7ef tree 3ae86ab89905167c8fdc9f220524d4d693895108 parent 861fa7737db889ae1701ba58c083d4a7bd8705d3 author Benjamin Herrenschmidt Thu, 06 Jul 2006 15:09:19 +1000 committer Paul Mackerras Fri, 07 Jul 2006 20:19:16 +1000 [POWERPC] Add cpufreq support for Xserve G5 The Xserve G5 are capable of frequency switching like other desktop G5s. This enables it. It also fix a Kconfig issue which prevented from building the G5 cpufreq support if CONFIG_PMAC_SMU was not set (the first version of that driver only worked with SMU based macs, but this isn't the case anymore). Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Paul Mackerras commit 861fa7737db889ae1701ba58c083d4a7bd8705d3 tree f2398f760279de2169a2c61b0a4034d1a0c0c2c1 parent e7c1f69d4fa4da47dc995b5de64b6cb76ae32081 author Benjamin Herrenschmidt Thu, 06 Jul 2006 18:03:06 +1000 committer Paul Mackerras Fri, 07 Jul 2006 20:19:16 +1000 [POWERPC] Xserve G5 thermal control fixes The thermal control for the Xserve G5s had a few issues. For one, the way to program the RPM fans speeds into the FCU is different between it and the desktop models, which I didn't figure out until recently, and it was missing a control loop for the slots fan, running it too fast. Both of those problems were causing the machine to be much more noisy than necessary. This patch also changes the fixed value of the slots fan for desktop G5s to 40% instead of 50%. It seems to still have a pretty good airflow that way and is much less noisy. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Paul Mackerras commit e7c1f69d4fa4da47dc995b5de64b6cb76ae32081 tree f28032f439eb7a0a667eb6ac969b008e3e317f2e parent 73ea6959b11821ba5ade77fb1d3d4aed52be3b67 author Michael Ellerman Tue, 04 Jul 2006 17:13:23 +1000 committer Paul Mackerras Fri, 07 Jul 2006 20:19:16 +1000 [POWERPC] Fix mem= handling when the memory limit is > RMO size There's a bug in my cleaned up mem= handling, if the memory limit is larger than the RMO size we'll erroneously enlarge the RMO size. Fix is to only change the RMO size if the memory limit is less than the current RMO value. Signed-off-by: Michael Ellerman Signed-off-by: Paul Mackerras commit 73ea6959b11821ba5ade77fb1d3d4aed52be3b67 tree 0082aa5e030c4908a8d6f2ff2347a99a00c65bc5 parent a45b83957deabbdac9a3d908c6ca4c25f05ce1ad author Benjamin Herrenschmidt Tue, 04 Jul 2006 17:07:18 +1000 committer Paul Mackerras Fri, 07 Jul 2006 20:19:16 +1000 [POWERPC] More offb/bootx fixes There were still some issues with offb when BootX doesn't provide a proper display node, this fixes them. This also re-instates the palette hacks that were disabled a couple of kernel versions ago when I converted to the new OF parsing, and shuffles some functions around to avoid prototypes. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Paul Mackerras commit a45b83957deabbdac9a3d908c6ca4c25f05ce1ad tree 7f2115c9b732e0feae54d7e49134259076a9fc4f parent 26c5032eaa64090b2a01973b0c6ea9e7f6a80fa7 author Benjamin Herrenschmidt Tue, 04 Jul 2006 15:06:20 +1000 committer Paul Mackerras Fri, 07 Jul 2006 20:19:16 +1000 [POWERPC] Add support for briq front panel This adds the driver for the Briq front panel. This is a cleaned up version of a driver that has been floating around for some time now, initially written by Karsten Jeppesen and cleaned up by jk and myself. Signed-off-by: Jeremy Kerr Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Paul Mackerras commit 26c5032eaa64090b2a01973b0c6ea9e7f6a80fa7 tree 61cde3e5c0c5c7fe3e0cf89be2f2d5d1b9d35379 parent f704b8d1f080ee71b7a9a88bcf585e7dd4272f4b author Benjamin Herrenschmidt Tue, 04 Jul 2006 14:16:28 +1000 committer Paul Mackerras Fri, 07 Jul 2006 20:19:15 +1000 [POWERPC] Add briq support to CHRP The support for Briq machines has been floating around as patches for ages. This cleans it up and adds it once for all. Some of this is based on initial code provided by Karsten Jeppesen and mostly rewritten from scratch by me. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Paul Mackerras commit f704b8d1f080ee71b7a9a88bcf585e7dd4272f4b tree c3a1306ef6f17652ea8464bcde3479255251caf2 parent e70e943847bdae13175bf3a8bca6328e369de90a author Benjamin Herrenschmidt Tue, 04 Jul 2006 14:14:07 +1000 committer Paul Mackerras Fri, 07 Jul 2006 20:19:15 +1000 [POWERPC] Fix legacy_serial.c error handling on 32 bits The code in legacy_serial.c wouldn't properly compare OF translation results against OF_BAD_ADDR as it's using a phys_addr_t which is 32 bits on some 32-bit powerpc platforms. This fixes it by always using a u64 which is what is returned by the OF parsing routines. It also makes translation failure harmless for ISA serial ports. If they can't translate, we can't use the UART early, but we can still let the 8250 driver use it later on by using IO port accessors. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Paul Mackerras commit e70e943847bdae13175bf3a8bca6328e369de90a tree 98e5fdede7ccf87f70d557e148bb379d2a5bea56 parent 1e031d65b0cb5f882b20ebc356ea0345ff18dbf0 author Benjamin Herrenschmidt Tue, 04 Jul 2006 14:11:23 +1000 committer Paul Mackerras Fri, 07 Jul 2006 20:19:15 +1000 [POWERPC] Fix default clock for udbg_16550 This patch makes it possible to provide 0 as the clock value for udbg_16550, making it default to the standard 1.8432Mhz clock Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Paul Mackerras commit 1e031d65b0cb5f882b20ebc356ea0345ff18dbf0 tree 71e14bb61e74237ed1246e00994e1836787612fe parent 470407a88e549135dce5fba7d86fb9910f500e56 author Benjamin Herrenschmidt Tue, 04 Jul 2006 14:09:36 +1000 committer Paul Mackerras Fri, 07 Jul 2006 20:19:15 +1000 [POWERPC] Fix non-MPIC CHRPs with CONFIG_SMP set Pseudo-CHRP machines like Pegasos without an MPIC would crash at boot if CONFIG_SMP was set because the "smp_ops" pointer was set to MPIC related ops unconditionally. This patch makes it NULL on machines that don't support SMP and provides proper default behaviour in the callers when smp_ops is NULL. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Paul Mackerras commit 470407a88e549135dce5fba7d86fb9910f500e56 tree 5796327b363995e1b3833de5bf7253d53aec2986 parent e8c0acf9a4fe3b2b6847541bf5cc3c86c18272ec author Benjamin Herrenschmidt Tue, 04 Jul 2006 14:07:42 +1000 committer Paul Mackerras Fri, 07 Jul 2006 20:19:15 +1000 [POWERPC] Fix 32 bits warning in prom_init.c A warning is hurting my eyes when building 32 bits kernels Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Paul Mackerras commit e8c0acf9a4fe3b2b6847541bf5cc3c86c18272ec tree e3017dabe83ffb716bd91c33b50c61fa1ff1a75a parent 3a09aa4730f021ad917a66a0c6d2ff6d616a7e4f author Benjamin Herrenschmidt Tue, 04 Jul 2006 14:06:29 +1000 committer Paul Mackerras Fri, 07 Jul 2006 20:19:15 +1000 [POWERPC] Workaround Pegasos incorrect ISA "ranges" The Pegasos firmware doesn't create a valid "ranges" property for the ISA bridge, thus causing translation of ISA addresses and IO ports to fail. This fixes it, thus re-enabling proper early serial console to work on Pegasos. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Paul Mackerras commit 3a09aa4730f021ad917a66a0c6d2ff6d616a7e4f tree 8eae9bdc1cd249ba4455537df3fcdb502da0eee0 parent fda7ffd25fc5bbe1b4209dfafb854c7ad7308c93 author Johannes Berg Mon, 03 Jul 2006 14:28:14 +0200 committer Paul Mackerras Fri, 07 Jul 2006 20:19:15 +1000 [POWERPC] fix up front-LED Kconfig Rather long patch, apparently no one has updated the pmac32_defconfig in a while. Signed-off-by: Paul Mackerras commit fda7ffd25fc5bbe1b4209dfafb854c7ad7308c93 tree 1611f33a11f6ecb9beef7999b4a261f4af14e75a parent 120bda20c6f64b32e8bfbdd7b34feafaa5f5332e author Niels Kristian Bech Jensen Sun, 02 Jul 2006 13:02:27 +0200 committer Paul Mackerras Fri, 07 Jul 2006 20:19:15 +1000 [POWERPC] Add -fno-stack-protector to BOOTCFLAGS in arch/powerpc/boot/Makefile. I got some undefined references to __stack_chk_fail in arch/powerpc/boot/stdio.o and arch/powerpc/boot/prom.o when I was trying to build a kernel on Ubuntu Edgy Eft - which includes Stack Smashing Protection. This patch adds -fno-stack-protector to BOOTCFLAGS in arch/powerpc/boot/Makefile (why does BOOTCFLAGS depend on HOSTCFLAGS and not CFLAGS?). Regards, Niels Kristian Bech Jensen Signed-off-by: Paul Mackerras