An error occurred fetching the project authors.
- 08 Nov, 2002 1 commit
-
-
Richard Henderson authored
From Thorsten Kranzkowski <dl8bcu@dl8bcu.de>.
-
- 02 Nov, 2002 1 commit
-
-
Scott Murray authored
This is a patch 1 of 4 of my CompactPCI hotplug core and drivers, consisting of the required core PCI changes. The various arch file changes are to change pcibios_fixup_pbus_ranges to from __init to __devinit, so that pci_setup_bridge can be safely exported from drivers/pci/setup-bus.c.
-
- 14 Oct, 2002 1 commit
-
-
Ivan Kokshaysky authored
Thanks David Miller, Jay Estabrook and Richard Henderson for reviewing the patch and for corrections. Description: The ISA dma falls into 2 classes. 1. True busmastering (aka DMA_MODE_CASCADE) when the ISA device generate bus addresses by itself. Obviously, such devices are limited to lower 16 Mb as there are only 24 address lines on the ISA bus. Drivers for these devices pass NULL pdev argument to pci mapping functions, and we must always use dma_mask = 0x00ffffff in this case. 2. ISA devices using i8237 DMA controller functionality: floppy, all soundcards (AFAIK) and a lot of other cheap ISA cards. In this case actual device doing DMA is a PCI-to-ISA bridge. Quite a few of ISA bridges can do 32-bit DMA (using "high page" extensions), and alpha traditionally uses this. I propose the following: introduce 'struct pci_dev *isa_bridge' global variable; this will be pointer to either real bridge device found by pci probing code, or a fake device in special cases (like jensen running generic kernel). isa_bridge->dma_mask will be set depending on DMA capabilities of particular bridge (either using generic quirk list or in an arch specific manner). This would allow devices like floppy and audio utilize 32-bit DMA just by replacing 'NULL' with 'isa_bridge' in the pci mapping calls. Also, this helps to resolve ISA dma vs. MAX_DMA_ADDRESS mess on alpha. Setting MAX_DMA_ADDRESS depending on the number of address lines on the ISA bridge became bogus since early 2.4 when we started to use the SG windows. Basically, if we have a working iommu, we don't have any dma limitations. All we need is a correct dma_mask to choose proper dma window. OTOH, there are 'iommuless' alphas (rx164, nautilus, possibly early miata) which need to have 16 Mb GFP_DMA zone (just like i386) even if their ISA bridge is 32-bit. Proposed changes: - rename all XXX_MAX_DMA_ADDRESS to XXX_MAX_ISA_DMA_ADDRESS; alpha_mv.max_dma_address - ditto (it's about 90% of the patch); - ISA bridge on nautilus does support 32-bit dma; - MAX_DMA_ADDRESS is 16 Mb if there is no iommu, ~0UL (unlimited) otherwise; - if needed, fall back to GFP_DMA allocations in pci_alloc_consistent(); - pci_dma_supported() also returns success if GFP_DMA is helpful; - isa_bridge stuff. Used only by floppy as yet. Ivan.
-
- 12 Oct, 2002 1 commit
-
-
Richard Henderson authored
-
- 11 Sep, 2002 1 commit
-
-
Ivan Kokshaysky authored
- signal update; make do_signal use generic get_signal_to_deliver() - irqs_disabled macro - remove vmlinux.lds.s target from arch/alpha/Makefile since it works correctly in the top level Makefile - extra argument for pcibios_enable_device (most likely we'll never use it though...)
-
- 07 Sep, 2002 1 commit
-
-
Ivan Kokshaysky authored
Patch set from Jay Estabrook: - include/asm-alpha/dma.h: Add MAX_DMA_ADDR for SABLE and ALCOR - include/asm-alpha/floppy.h: enable the full CROSS_64KB macro for all platforms - include/asm-alpha/core_t2.h: fix HAE usage - arch/alpha/kernel/pci.c: fiddle with quirk_cypress - arch/alpha/kernel/traps.c: prevent opDEC_check() from multiple calls (EV4 SMP SABLEs) - arch/alpha/kernel/proto.h: make t2_pci_tbi() real - arch/alpha/kernel/time.c: shorten timeout delay - arch/alpha/kernel/sys_alcor.c: use ALCOR_MAX_DMA_ADDR because of the 1GB limit on ISA devices - arch/alpha/kernel/core_t2.c: add S/G support and allow direct-map to handle 2GB of memory - arch/alpha/kernel/core_tsunami.c: rework alignment requirements for ISA DMA, esp. for ACER platforms - arch/alpha/kernel/sys_sable.c: fix MAX_DMA_ADDR for the 1GB limitation - arch/alpha/kernel/pci_impl.h: add T2_DEFAULT_MEM_BASE to help avoid HAE use - arch/alpha/kernel/pci_iommu.c: fix ISA_DMA_MASK calculation, and force ISA alignment to 64KB
-
- 10 Aug, 2002 1 commit
-
-
Ivan Kokshaysky authored
Set of small fixes: - pcibios_init() must be int; - fls() - ctlz on ev67, generic on others. This was required for something several kernel releases back, now it seems to be unused. Anyway, it shouldn't hurt, so included here. - missing #includes, missing #if RTC_IRQ in drivers/char/rtc.c; - define USER_HZ; From Jeff Wiedemeier: - rename alpha-specific config section 'General setup' to 'System setup' to avoid confusion with generic 'General setup'; - fix the 'bootpfile' build.
-
- 27 May, 2002 1 commit
-
-
Rusty Russell authored
Rusty Russell <rusty@rustcorp.com.au>: Trivial ALPHA patch to remove minmax macros: Change over to standard max and ALIGN macros.
-
- 07 May, 2002 4 commits
-
-
Ivan Kokshaysky authored
There are missing #includes which will break compilation on some non-x86 platforms. With following patch this compiles and works on alpha.
-
Ivan Kokshaysky authored
Summary of changes: - alpha, arm: code related to PCI-PCI bridges from pcibios_fixup_bus() removed - now it's generic; - pdev_sort_resource: sort resources all together, no matter IO or memory; - pbus_assign_resources_sorted: ditto; - pci_bridge_check_ranges, pci_setup_bridge: changed for prefetch support; - pbus_size_io, pbus_size_mem: core stuff; tested with randomly generated sets of resources; - pbus_size_bridges: pass #2 (pass #1 is PCI probing, common for all archs); - pbus_assign_resources: pass #3. Ivan.
-
Ivan Kokshaysky authored
This changes PCI resource allocation algorithm to 3 passes vs. current 2 passes. Extra pass is used for calculation of required size and alignment of PCI buses behind PCI-PCI bridges. After that, in the pass #3, these buses get allocated like regular PCI devices. This gives tighter PCI IO and memory packing - for instance, this fixes allocation problems on certain alphas with very small (112Mb) PCI memory range. Also, the new code - will allow mixed approach to resource allocation: architecture can keep BIOS settings for some devices, and re-allocate resources for others, including improperly initialized bridges; - makes prefetchable ranges support much simpler; - allows sizing of IO and memory ranges for the host bridges, which might be very useful in some situations. It was tested on various alphas; I haven't heard any complaints from rmk and rth, so probably all of this is ok. :-) Part 1: - for all archs, 4th argument (align) added to pcibios_align_resource (and its callers). It's necessary because this function will be called for bus resources as well, and in this case size != alignment. - for several archs, dead/bogus code removed from pcibios_fixup_pbus_ranges().
-
Ivan Kokshaysky authored
There are missing #includes which will break compilation on some non-x86 platforms. With following patch this compiles and works on alpha. Ivan.
-
- 05 Feb, 2002 7 commits
-
-
Linus Torvalds authored
- Andrea: fix races in do_wp_page, free_swap_and_cache - me: clena up page dirty handling - Tim Waugh: parport IRQ probing and documentation fixes - Greg KH: USB updates - Michael Warfield: computone driver update - Randy Dunlap: add knowledge about some new io-apics - Richard Henderson: alpha updates - Trond Myklebust: make readdir xdr verify the reply packet - Paul Mackerras: PPC update - Jens Axboe: make cpqarray and cciss play nice with the request layer - Massimo Dal Zotto: SMM driver for Dell Inspiron 8000 - Richard Gooch: devfs symlink deadlock fix - Anton Altaparmakov: make NTFS compile on sparc
-
Linus Torvalds authored
- Stephen Rothwell: APM idle time handling fixes, docbook update, cleanup - Jeff Garzik: network driver updates - Greg KH: USB updates - Al Viro: UFS update, binfmt_misc rewrite. - Andreas Dilger: /dev/random fixes - David Miller: network/sparc updates
-
Linus Torvalds authored
- Greg KH: start migration to new "min()/max()" - Roman Zippel: move affs over to "min()/max()". - Vojtech Pavlik: VIA update (make sure not to IRQ-unmask a vt82c576) - Jan Kara: quota bug-fix (don't decrement quota for non-counted inode) - Anton Altaparmakov: more NTFS updates - Al Viro: make nosuid/noexec/nodev be per-mount flags, not per-filesystem - Alan Cox: merge input/joystick layer differences, driver and alpha merge - Keith Owens: scsi Makefile cleanup - Trond Myklebust: fix oopsable race in locking code - Jean Tourrilhes: IrDA update
-
Linus Torvalds authored
- Al Viro: fs cleanups - David Miller: sparc semaphores - Christoph Hellwig: VxFS update - Asit Mallick: set machine check bit with set_in_cr4 - Richard Henderson: fix alpha pci_controller_num(), sg_fill, SRM poweroff. - Johannes Erdfelt: USB updates - Cort Dougan: bitkeeper Id's on the ppc side - Matt Chapman: NFS file locking SMP lock fix - Alan Cox: further merging
-
Linus Torvalds authored
- Russell King: ARM updates - Al Viro: more init cleanups - Cort Dougan: more PPC updates - David Miller: cleanups, pci mmap updates - Neil Brown: raid resync by sector - Alan Cox: more merging with -ac - Johannes Erdfelt: USB updates - Kai Germaschewski: ISDN updates - Tobias Ringstrom: dmfe.c network driver update - Trond Myklebust: NFS client updates and cleanups
-
Linus Torvalds authored
- Chris Mason: reiserfs, another null bytes bug - Andrea Arkangeli: make SMP Athlon build - Alexander Zarochentcev: reiserfs directory fsync SMP locking fix - Jeff Garzik: PCI network driver updates - Alan Cox: continue merging - Ingo Molnar: fix RAID AUTORUN ioctl, scheduling improvements
-
Linus Torvalds authored
-