- 06 Feb, 2004 24 commits
-
-
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 16 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
-
Andrew Morton authored
From: Pat Gefre <pfg@sgi.com> arch/ia64/sn/io/machvec/pci_bus_cvlink.c Couple of checks for kmalloc <= 0 were fixed Some __init and static fixes
-
Andrew Morton authored
From: Pat Gefre <pfg@sgi.com> arch/ia64/sn/kernel/irq.c Need to get the cpu from the passed in pcibr struct Made the interrupt list static and gave it a better name - credit jes Some lindent'isms Took out some code that isn't used ..... yet
-
Andrew Morton authored
From: Pat Gefre <pfg@sgi.com> arch/ia64/sn/io/sn2/pcibr/pcibr_intr.c Kill pcibr_intr_func()
-
Andrew Morton authored
From: Pat Gefre <pfg@sgi.com> arch/ia64/sn/kernel/setup.c If generic enabled legacy VGA or kbd - disable them Slightly different check for work arounds and only do it once If there is no klconfig info and we are in the simulator - ignore it Update the pxm_to_nasid() routine. It failed for SP configurations and some SMP configurations where M-bricks used pxm numbers lower that the first c-brick. If we don't find the cpu for pxm, search the memblks for it.
-
Andrew Morton authored
From: Pat Gefre <pfg@sgi.com> arch/ia64/sn/io/sn2/ml_iograph.c Better code for early_probe_for_widget()
-