- 27 Feb, 2004 31 commits
-
-
Russell King authored
-
Russell King authored
-
bk://gkernel.bkbits.net/misc-2.5Linus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.5/linux
-
Jeff Garzik authored
of redundancy, and to help prevent future errors.
-
Hollis Blanchard authored
This makes GregKH happy by removing the device name from the device.bus_id field (and replacing it with a "name" sysfs attribute). It also renames the parent device from "vdevice" to "vio", making the /sys/bus and /sys/devices hierarchies consistent.
-
bk://bk.arm.linux.org.uk/linux-2.6-rmkLinus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.5/linux
-
Russell King authored
-
Russell King authored
Add documentation for the above two functions. Allow a NULL name to be passed to amba_request_regions. In this case, we use the driver's name associated with the device.
-
Russell King authored
-
Russell King authored
This allows the decompressor to automatically detect the geometry of the cache while booting to ensure correct behaviour over a wider number of ARM CPUs.
-
Russell King authored
This optimises the underlying string-long read function for little endian platforms.
-
Russell King authored
This gives greater information on the cause of the bad IRQ, allowing the cause to be more effectively traced.
-
Russell King authored
-
Russell King authored
The old sysctl PM interface has been replaced by the driver models interface. This has been gone for a while in the -rmk tree and no one complained, so there's no point keeping it around.
-
Russell King authored
-
Russell King authored
- use dev_dbg for device-centric debugging messages - use pr_debug for general debugging messages - use dmapools instead of pcipools - use NULL rather than 0 for NULL pointers - use enum dma_data_direction rather than int - use DMA_* direction definitions rather than PCI_DMA_* - only check for sane DMA direction on mapping functions, but check that DMA direction matches when unmapping/syncing.
-
Russell King authored
Thanks to Adrian Bunk. Remove kernel 2.0 #ifdef's from arm code, and move MODULE_* to the end of the file. Add an appropriate MODULE_LICENSE().
-
Linus Torvalds authored
-
Linus Torvalds authored
-
Anton Blanchard authored
Add an iseries defconfig and update the pseries one.
-
Anton Blanchard authored
CONFIG_VETH isnt used anymore so we lets get rid of it.
-
Anton Blanchard authored
Fix a compile error in the ppc64 pci hotplug code.
-
Anton Blanchard authored
ppc64 tlb flush rework from Paul Mackerras Instead of doing a double pass of the pagetables, we batch things up in the pte flush routines and then shoot the batch down in flush_tlb_pending. Our page aging was broken, we never flushed entries out of the ppc64 hashtable. We now flush in ptep_test_and_clear_young. A number of other things were fixed up in the process: - change ppc64_tlb_batch to per cpu data - remove some LPAR debug code - be more careful with ioremap_mm inits - clean up arch/ppc64/mm/init.c, create tlb.c
-
Anton Blanchard authored
Set the ks bit on userspace segments otherwise the kernel can read/write into userspace mprotected pages.
-
Benjamin Herrenschmidt authored
This allows us to use more than 2Gb of RAM on a PowerMac G5. You can also boot with iommu=off to disable it, but then you get back the 2Gb RAM limitation.
-
Benjamin Herrenschmidt authored
Make IDE advertise only 128 entries of SG table on archs with an IOMMU. The current IOMMU implementations of pci_map_sg() may produce segments that don't match the boundary requirements of IDE, thus causing the driver to break them up. The BIO is supposed to account for that, however, it cannot account for a pci_map_sg producing a segment of the requested size, but with incorrect alignement, thus we may still try to break up the list in more entries than is supported by the HW. A similar fix already went in libata. The "real" long term fix will be to move the boundary requirements to struct device so that pci_map_sg() can respect them when producing the sglist. In the meantime, this band-aid works around the problem.
-
Benjamin Herrenschmidt authored
Lots of things renamed, sillicaps killed, stuffs moved around and common code properly extracted from implementation specific code, new allocator, etc... The code is overall a lot simpler, faster, less prone to fail, and a lot more manageable. I didn't use "bk mv", there is no need to keep the old history attached to the new file.
-
Benjamin Herrenschmidt authored
This adds a hack to /dev/mem (along with the other ones already there) to prevent mapping cacheable of the IO hole. Without this, XFree blows up on machines with enough memory to go past the IO hole. It also tries to prevent memory from beeing mapped uncached. Cache paradoxes are evil and can kill the CPU. The necessary page_is_ram() call was added by the previous patch doing the proper IO hole accounting.
-
Benjamin Herrenschmidt authored
On machines with an IO hole (like Apple G5 with more than 2Gb of RAM, but also some pSeries) we failed to properly account for the real amount of physical RAM and inform the zone allocator of our hole size. During the process, I included Anton slaughtering of the guard page we had in the first 256Mb kernel segment, thus allowing this segment to be mapped with large pages as it should be.
-
Benjamin Herrenschmidt authored
This removes the unused common_regs_m6 and add one more register to be cleared, according to latest XFree code from ATI.
-
Benjamin Herrenschmidt authored
Fix a stupid warning in PowerMac SMP build on ppc64
-
- 26 Feb, 2004 9 commits
-
-
Jeff Garzik authored
Fix the build. Pass me a brown paper bag.
-
bk://kernel.bkbits.net/davem/sparc-2.6Linus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.5/linux
-
bk://gkernel.bkbits.net/libata-2.5Linus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.5/linux
-
Jeff Garzik authored
And also make a note in ata_piix.c so this is not forgotten in the future.
-
Jeff Garzik authored
-
Jeff Garzik authored
Agreeing with Ben H's recommendation, I reduce the max-hw-segments number to 128, to match max-phys-segments number. This shouldn't affect performance because 128*64K is far above the max transfer size for most current IDE devices. Even 128*4K is OK.
-
Andrew Morton authored
From: James Simmons <jsimmons@infradead.org> This patch creates a separate cursor image drawing region and regular drawing region.
-
Andrew Morton authored
Avoid cpp clash with the new MODULE_VERSION
-
Andrew Morton authored
From: Rusty Russell <rusty@au1.ibm.com> The way it works is that the .mod file contains the name of the module (as before), but succeeding lines are the constituent parts (assumed to be .c files, which usually works: if they use MODULE_VERSION in a file for which this isn't true we'll get a warning). As we postprocess modules, we look in the .modinfo section for a "version=", which is placed by the MODULE_VERSION() macro. This will be of form "version=<macroarg>" "\0" [24 chars] "\0". The 24 chars are replaced by the md4 sum of the .c files and any files they #include using '#include "file"' which are found in the current directory. Whitespace is collapsed outside strings, and comments are ignored for purposes of the sum. The result is a .modinfo entry such as version=1.16ac-rustytest B13E9451C4CA3B89577DEFF At the kernel summit, various people asked for a MODULE_VERSION macro to store module strings (for later access through sysfs). A simple md4 is needed to identify changes in modules which, inevitably, do not update the version. It skips whitespace and comments, and includes #includes which are in the same dir. The module versions should be set according to this definition, based on the RPM one, or CVS Revision tags. Violators will be shot. [<epoch>`:']<version>[`-'<extraversion>] <epoch>: A (small) unsigned integer which allows you to start versions anew. If not mentioned, it's zero. eg. "2:1.0" is after "1:2.0". <version>: The <version> may contain only alphanumerics. <extraversion>: Like <version>, but inserted for local customizations, eg "rh3" or "rusty1". Comparison of two versions (assuming same epoch): Split each into all-digit and all-alphabetical parts. Compare each one one at a time: digit parts numerically, alphabetical in ASCII order. So 0.10 comes after 0.9.
-