- 06 Feb, 2004 29 commits
-
-
Benjamin Herrenschmidt authored
Adapt to "macio" driver infrastructure, cleanup power management, make some functions static, fix IO accessors, remove local list of commands/directions, etc... This driver could use more work & study of the interesting ASIC bugs documented in Apple source code... Note that I'm removing support for the CHRP machines using the MESH as part of the "Hydra" ASIC. Nobody sane really uses that, but if one of the 3 remaining Longtrail users want to fix that, then move Hydra to use the "macio" model...
-
Benjamin Herrenschmidt authored
Adapt to the "macio" driver infrastructure, cleanup IO accessors, remove local list of command/directions, uses infos provided by the SCSI layer. This driver certainly could use some more work.
-
Benjamin Herrenschmidt authored
-
Benjamin Herrenschmidt authored
-
Benjamin Herrenschmidt authored
-
Benjamin Herrenschmidt authored
-
Benjamin Herrenschmidt authored
The cascaded northbridge MPIC is currently dealt with a special modified version of open_pic.c (open_pic2.c). A better mecanism will have to be found for 2.7
-
Benjamin Herrenschmidt authored
-
Benjamin Herrenschmidt authored
-
Benjamin Herrenschmidt authored
-
Benjamin Herrenschmidt authored
Create a low-level synchronous implementation suitable for use by the early boot platform code or other places where the asynchronous driver isn't useable. This also exports the locks used by the real driver to avoid collisions. Use this new implementation to properly setup the clock chip at boot on Apple latest laptops
-
Benjamin Herrenschmidt authored
add support for newer laptops and G5 desktops
-
Benjamin Herrenschmidt authored
move drivers/macintosh/nvram.c to drivers/char/generic_nvram.c, update platform hooks, fix powermac nvram driver for newer machines
-
Benjamin Herrenschmidt authored
-
Benjamin Herrenschmidt authored
-
Benjamin Herrenschmidt authored
-
Benjamin Herrenschmidt authored
especially related to the use of the btext early debug text engine
-
Benjamin Herrenschmidt authored
It would fail to properly release the resource if taken over by the macio device resource hierarchy. This could still use some locking, but the io resource lock isn't exported
-
Benjamin Herrenschmidt authored
Without this, page aging is broken on ppc32
-
Benjamin Herrenschmidt authored
Another processor could be walking the page table in the middle of the PTE page to be freeded. Synchronize with hash_page using the lock.
-
Benjamin Herrenschmidt authored
-
Benjamin Herrenschmidt authored
Add a fix fox machines that don't have HW timebase sync facility
-
Benjamin Herrenschmidt authored
used on machines that don't have a HW facility (or we don't drive it yet like G5s)
-
Benjamin Herrenschmidt authored
-
Benjamin Herrenschmidt authored
contains a hack that is unfixable at the moment for getting the IO base which is hard coded to bus number 0 (AGP on earlier machines). We work around this by passing the IO base of bus 0xf0 when asked for bus 0 in pciconfig_iobase on those machines. Bus 0 is the HT root and has no IOs, so that is safe.
-
Benjamin Herrenschmidt authored
We no longer modify the device tree, we use an initdata static array instead.
-
Benjamin Herrenschmidt authored
TI controller, add some for fixing up ATA & SATA controllers (switch normal ATA to fully native mode and disable unused function on G5 K2 SATA)
-
Benjamin Herrenschmidt authored
-
Benjamin Herrenschmidt authored
-
- 04 Feb, 2004 11 commits
-
-
James Bottomley authored
Now that Al Viro fixed cramfs, it works beautifully as an initrd filesystem. So finally plumb it in.
-
David S. Miller authored
into kernel.bkbits.net:/home/davem/sparc-2.6
-
David S. Miller authored
-
Yoshinori Sato authored
o Cleanup reduced and faster code
-
Yoshinori Sato authored
o gcc-3.4 warning fix.
-
Yoshinori Sato authored
o Deleted obsolute header include
-
bk://linux-scsi.bkbits.net/scsi-for-linus-2.6Linus Torvalds authored
into home.osdl.org:/home/torvalds/v2.5/linux
-
bk://gkernel.bkbits.net/net-drivers-2.5Linus Torvalds authored
into home.osdl.org:/home/torvalds/v2.5/linux
-
Stephen C. Tweedie authored
I've been chasing a weird SELinux bug which shows up mostly when doing installs of a dev-* rpm (ie. creating and overwriting lots of block device inodes), but which I've also seen when doing mkinitrd. It turned out not to be an SELinux problem at all, but a core VFS S_ISBLK bug. It seems that SELinux simply widens the race window. The code at fault is fs/fs-writeback.c:__mark_inode_dirty(): /* * Only add valid (hashed) inodes to the superblock's * dirty list. Add blockdev inodes as well. */ if (!S_ISBLK(inode->i_mode)) { if (hlist_unhashed(&inode->i_hash)) goto out; if (inode->i_state & (I_FREEING|I_CLEAR)) goto out; } The "I_FREEING|I_CLEAR" condition was added after the ISBLK/unhashed tests were already in the source, but I can't see any reason why we'd want the I_FREEING test not to apply to block devices. And indeed, this results in all sorts of inode list corruptions. Simply moving the I_FREEING|I_CLEAR test out of the protection of the S_ISBLK() condition fixes things entirely. The existing 2.6 kernel will reliably fail on me in about 2 seconds once "rpm -Uvh --force dev*.rpm" starts its actual installation of the new inodes. With the patch below I can't reproduce it at all.
-
Andrew Morton authored
From: Roland McGrath <roland@redhat.com> The #include is the part of this patch that matters, so the #ifdef below works. The rest of the patch removes gratuitous duplication due to some strange aversion to concision in the presence of #ifdef, the kind that is all too common, utterly pointless, and error prone.
-
Andrew Morton authored
From: Pat Gefre <pfg@sgi.com> rch/ia64/sn/io/machvec/pci_bus_cvlink.c Some pretty-print mods Use pin instead of slot for dma_flush init
-