An error occurred fetching the project authors.
  1. 15 Oct, 2002 1 commit
    • John Levon's avatar
      [PATCH] oprofile - timer hook · 120790b8
      John Levon authored
      This implements a simple hook into the profiling timer for x86 so that
      non-perfctr machines can still use oprofile.  This has proven useful for
      laptops and the like.
      
      It also reduces header dependencies a bit by centralising readprofile
      code
      120790b8
  2. 10 Oct, 2002 1 commit
  3. 09 Oct, 2002 1 commit
    • Matt Domsch's avatar
      EDD: x86 BIOS Enhanced Disk Drive support · 7df2bda6
      Matt Domsch authored
      The major changes implemented in this patch:
      arch/i386/boot/setup.S - int13 real mode calls store results in empty_zero_page
      arch/i386/kernel/setup.c - copy results from empty_zero_page to local storage
      arch/i386/kernel/edd.c - module exports results via driverfs
      
      x86 systems suffer from a disconnect between what BIOS believes is the
      boot disk, and what Linux thinks BIOS thinks is the boot disk.  This
      manifests itself in multi-disk systems - it's quite possible to
      install a distribution, only to fail on reboot - the disk installed to
      is not the disk BIOS is booting from.  Dell restricts our possible
      standard factory installed Linux offerings to "disks on no more than
      one controller" to avoid this problem, but mechanisms now exist to
      solve it and allow such configurations.
      
      BIOS Enhanced Disk Device Services (EDD) 3.0 provides the ability for
      disk adapter BIOSs to tell the OS what it believes is the boot disk.
      While this isn't widely implemented in BIOSs yet, it's time that Linux
      received support to be ready as BIOSs with this feature do become
      available.  At a minimum, LSI MegaRAID cards support this today.
      
      EDD works by providing the bus (PCI, PCI-X, ISA, InfiniBand, PCI
      Express, or HyperTransport) location (e.g. PCI 02:01.0) and interface
      (ATAPI, ATA, SCSI, USB, 1394, FibreChannel, I2O, RAID, SATA) location
      (e.g. SCSI ID 5 LUN 0) information for each BIOS int13 device.
      
      The patch below creates CONFIG_EDD, that when defined, makes the
      BIOS int13 calls to retrieve and store this information.  The data is
      copied to a safe place in setup.c, and exported via driverfs.
      
      Here's a sample driverfs tree with two BIOS int13 devices - dev 80 has
      incorrect PCI bus information, thus no symlinks are made, but as much
      info as possible is presented.  Dev 81 has correct PCI and SCSI
      information, thus symlinks are made to the actual disc device.
      
      /driverfs
      |-- bios
      |   |-- int13_dev80
      |   |   |-- extensions
      |   |   |-- host_bus
      |   |   |-- info_flags
      |   |   |-- interface
      |   |   |-- raw_data
      |   |   |-- sectors
      |   |   `-- version
      |   `-- int13_dev81
      |       |-- extensions
      |       |-- host_bus
      |       |-- info_flags
      |       |-- interface
      |       |-- pci_dev -> ../../root/pci2/02:0c.0/03:00.0/04:00.0
      |       |-- raw_data
      |       |-- disc -> ../../root/pci2/02:0c.0/03:00.0/04:00.0/scsi4/4:0:0:0
      |       |-- sectors
      |       `-- version
      |-- bus
      |   |-- scsi
      |   |   |-- devices
      |   |   |   |-- 4:0:0:0 -> ../../../root/pci2/02:0c.0/03:00.0/04:00.0/scsi4/4:0:0:0
      |   |   `-- drivers
      |   |       `-- sd
      `-- root
          |-- pci2
          |   |-- 02:0c.0
          |   |   |-- 03:00.0
          |   |   |   |-- 04:00.0
          |   |   |   |   |-- irq
          |   |   |   |   |-- name
          |   |   |   |   |-- power
          |   |   |   |   |-- resource
          |   |   |   |   `-- scsi4
          |   |   |   |       |-- 4:0:0:0
          |   |   |   |       |   |-- 4:0:0:0::p1
          |   |   |   |       |   |   |-- kdev
          |   |   |   |       |   |   |-- name
          |   |   |   |       |   |   |-- power
          |   |   |   |       |   |   `-- type
          |   |   |   |       |   |-- 4:0:0:0:disc
          |   |   |   |       |   |   |-- kdev
          |   |   |   |       |   |   |-- name
          |   |   |   |       |   |   |-- power
          |   |   |   |       |   |   `-- type
          |   |   |   |       |   |-- name
          |   |   |   |       |   |-- power
          |   |   |   |       |   `-- type
      
      
      (Yes, the 'bios' top-level directory isn't the right place,
       and Patrick has promised to make something there in the future,
       at which point this can be moved.)
      
      The 'raw_data' file contains the full set of information returned by BIOS
      with extra error reporting.  This exists for vendor BIOS debugging purposes.
      
      The 'host-bus' file contains the PCI (or ISA, HyperTransport, ...)
      identifying information, as BIOS knows it.
      
      The 'interface' file contains the SCSI (or IDE, USB, ...) identifying
      information, as BIOS knows it.
      
      The 'extensions' file lists the BIOS EDD extensions per spec.
      The 'info_flags' file lists the BIOS EDD device information flags per spec.
      The 'sectors' file reports the number of sectors BIOS believes this
      device has.
      The 'version' file lists the EDD version.  To have device path
      information, this must be 0x30 or above.  Earlier EDD versions exist
      without the device path - as much information as is available is presented.
      
      At most 6 BIOS devices are reported, as that fills the space that's
      left in the empty_zero_page.  In general you only care about device
      80h, though for software RAID1 knowing what 81h is might be useful also.
      
      
      
      Known issues:
      - module unload leaves a directory around.  Seems related to
        creating symlinks in that directory.  Seen on kernel 2.5.41.
      - refcounting of struct device objects could be improved.
      
      TODO:
      - Add IDE and USB disk device support
      - when driverfs model of discs and partitions changes,
        update symlink accordingly.
      - Get symlink creator helper functions exported from
        drivers/base instead of duplicating them here.
      - move edd.[ch] to better locations if/when one is decided
      
      I'd also like to acknowledge the help and comments received from Greg
      KH and Patrick Mochel.  This isn't something driverfs was originally
      conceived to handle, their assistance has been invaluable.
      
      Please pull from:
      
      BK:
          http://mdomsch.bkbits.net/linux-2.5-edd-tolinus
      
      Patch (against 2.5.41+BK-current):
          http://domsch.com/linux/edd30/edd-driverfs-6.patch
          http://domsch.com/linux/edd30/edd-driverfs-6.patch.sign
      
      Thanks,
      Matt
      
      -- 
      Matt Domsch
      Sr. Software Engineer, Lead Engineer, Architect
      Dell Linux Solutions www.dell.com/linux
      Linux on Dell mailing lists @ http://lists.us.dell.com
      7df2bda6
  4. 05 Oct, 2002 1 commit
    • Christer Weinigel's avatar
      [PATCH] Updated NatSemi SCx200 patches for Linux-2.5 · 3900abd5
      Christer Weinigel authored
      This patch adds support for the National Semiconductor SCx200
      processor family to Linux 2.5.
      
      The patch consists of the following drivers:
      
        arch/i386/kernel/scx200.c -- give kernel access to the GPIO pins
      
        drivers/chars/scx200_gpio.c -- give userspace access to the GPIO pins
        drivers/chars/scx200_wdt.c -- watchdog timer driver
      
        drivers/i2c/scx200_i2c.c -- use any two GPIO pins as an I2C bus
        drivers/i2c/scx200_acb.c -- driver for the Access.BUS hardware
      
        drivers/mtd/maps/scx200_docflash.c -- driver for a CFI flash connected
                                            to the DOCCS pin
      3900abd5
  5. 18 Sep, 2002 2 commits
  6. 03 Sep, 2002 1 commit
    • Andrew Morton's avatar
      [PATCH] discontigmem support for ia32 NUMA · 0d0bdc8e
      Andrew Morton authored
       - All the support macros which assume a linear mem_map[] have been
         wrapped in !CONFIG_DISCONTIGMEM.  pfn_to_page, page_to_pfn,
         page_to_phys, pmd_page, kern_addr_valid.
      
       - Move some initialsation macros into setup.h so they can be used in
         the i386 discontig.c (INITRD_START, INITRD_SIZE).
      
       - Alternate version of the bootmem allocator
      
       - add i386 discontig support and numaq support.
      0d0bdc8e
  7. 02 Sep, 2002 1 commit
  8. 15 Aug, 2002 1 commit
    • Dave Jones's avatar
      [PATCH] Modular x86 MTRR driver. · 6a85ced0
      Dave Jones authored
      This patch from Pat Mochel cleans up the hell that was mtrr.c
      into something a lot more modular and easy to understand, by
      doing the implementation-per-file as has been done to various
      other things by Pat and myself over the last months.
      
      It's functionally identical from a kernel internal point of view,
      and a userspace point of view, and is basically just a very large
      code clean up.
      6a85ced0
  9. 27 Jul, 2002 1 commit
    • Kai Germaschewski's avatar
      kbuild: Fix "export-objs" · b9a898b8
      Kai Germaschewski authored
      This patch cleans up most of the Makefile's to list the correct files
      (i.e. the ones which do have "EXPORT_SYMBOL" in them) in $(export-objs)
      
      Contributed by "Lightweight patch manager"
      b9a898b8
  10. 18 Jun, 2002 1 commit
  11. 15 Jun, 2002 1 commit
  12. 08 Jun, 2002 1 commit
  13. 05 Jun, 2002 2 commits
    • Linus Torvalds's avatar
      658c7479
    • Dave Jones's avatar
      [PATCH] large x86 setup cleanup. · 9fc4eb64
      Dave Jones authored
      Patrick Mochel did a great job here at splitting up some of the larger
      messy parts of arch/i386/kernel/setup.c, and introduced a nice abstraction
      which gives us a much nicer way to ensure we can add workarounds for vendor
      specific bugs / features without polluting other vendor code paths.
      
      Mark Haverkamp also brought this up to date for merging in my tree circa
      2.5.14, and asides from 1-2 now fixed small thinkos, there haven't been
      any problems.
      
      This also features a workaround for an errata item on stepping C0 of
      the Intel Pentium 4 Xeon, which isn't in your tree yet, where we must
      disable the hardware prefetcher to ensure sane operation.
      9fc4eb64
  14. 03 Jun, 2002 1 commit
    • Pavel Machek's avatar
      [PATCH] Fix suspend-to-RAM in 2.5.20 · 14f54697
      Pavel Machek authored
      I created arch/i386/suspend.c not to clash with ACPI people so much in
      future. (More stuff is going to move into it in the future, to clean
      up functions that really do not belong to the headers.)
      14f54697
  15. 28 May, 2002 1 commit
    • Kai Germaschewski's avatar
      kbuild: Add EXTRA_TARGETS variable · 36a805ed
      Kai Germaschewski authored
      99% of the Makefiles are very simple target-wise:
      
      o build modules as listed in $(obj-m) and 
      o build $(L_TARGET)/$(O_TARGET) as a composite object containing $(obj-y)
      
      However, there is one exception: typically arch/$ARCH/kernel Makefile
      wants the same as above, plus
      o build init_task.o, head.o, using the standard rules for built-in
        targets - i.e. they are supposed to be built in the same way as all
        the other targets listed in $(obj-y), but they should not be linked
        into arch/$ARCH/kernel/$(O_TARGET). Instead they'll be linked in
        directly in the final vmlinux link.
      
      Currently this is achieved by overriding Rules.make's first_rule in 
      arch/$ARCH/kernel/Makefile. This rather ad-hoc way relies on the knowing
      how Rules.make works internally and at the same time does things behind
      Rules.make's back. 
      
      To clean this up, I'm introducing a new variable, supposed to be only
      used in arch/$ARCH/kernel/Makefile:
      
      $(EXTRA_TARGETS) can be used to declare additional objects which shall
      be built in the current directory (using the flags for built-in objects),
      but not linked into $(O_TARGET)/$(L_TARGET)
      
      This patch only converts arch/i386/kernel/Makefile at this time, other
      archs work the same way as before.
      
      Apart from this, this patch also removes some "unexport ..." statements,
      which are unnecessary since not exporting variables is the default and
      renames the internal "all_targets" to "vmlinux", since it's actually
      need for building vmlinux.
      36a805ed
  16. 20 May, 2002 1 commit
  17. 09 May, 2002 1 commit
  18. 07 May, 2002 3 commits
  19. 15 Apr, 2002 1 commit
  20. 03 Apr, 2002 1 commit
    • Dave Jones's avatar
      [PATCH] Simple boot flag specification support. · 94a0b03c
      Dave Jones authored
      Originally by Alan. It was in the 2.4-ac tree for ages, much tweaked
      by myself and Thomas Hood. Its main purpose is for skipping the full
      memory test and other time-wasting diagnostics on reboot.
      94a0b03c
  21. 15 Mar, 2002 1 commit
    • Andy Grover's avatar
      [PATCH] ACPI patch 4/9 · 3177bcb8
      Andy Grover authored
      This is the config.in and makefile changes for the latest code. The most
      (only) interesting thing probably is ACPI is no longer flagged experimental.
      3177bcb8
  22. 11 Mar, 2002 1 commit
    • James Bottomley's avatar
      More x86 arch splits · 3736e29e
      James Bottomley authored
      - Make hyperthreading a separate config parameter
      - split out the reboot through bios parameters
      3736e29e
  23. 10 Mar, 2002 1 commit
  24. 07 Mar, 2002 1 commit
  25. 05 Feb, 2002 4 commits
    • Linus Torvalds's avatar
      v2.5.1.4 -> v2.5.1.5 · ba6edf53
      Linus Torvalds authored
      - Dave Jones: more merging, fix up last merge..
      - release to sync with Dave
      ba6edf53
    • Linus Torvalds's avatar
      v2.4.14.1 -> v2.4.14.2 · a8a2069f
      Linus Torvalds authored
        - Ivan Kokshaysky: fix alpha dec_and_lock with modules, for alpha config entry
        - Kai Germaschewski: ISDN updates
        - Jeff Garzik: network driver updates, sysv fs update
        - Kai Mäkisara: SCSI tape update
        - Alan Cox: large drivers merge
        - Nikita Danilov: reiserfs procfs information
        - Andrew Morton: ext3 merge
        - Christoph Hellwig: vxfs livelock fix
        - Trond Myklebust: NFS updates
        - Jens Axboe: cpqarray + cciss dequeue fix
        - Tim Waugh: parport_serial base_baud setting
        - Matthew Dharm: usb-storage Freecom driver fixes
        - Dave McCracken: wait4() thread group race fix
      a8a2069f
    • Linus Torvalds's avatar
      v2.4.9.11 -> v2.4.9.12 · dfc52b82
      Linus Torvalds authored
        - Alan Cox: much more merging
        - Pete Zaitcev: ymfpci race fixes
        - Andrea Arkangeli: VM race fix and OOM tweak.
        - Arjan Van de Ven: merge RH kernel fixes
        - Andi Kleen: use more readable 'likely()/unlikely()' instead of __builtin_expect()
        - Keith Owens: fix 64-bit ELF types
        - Gerd Knorr: mark more broken PCI bridges, update btaudio driver
        - Paul Mackerras: powermac driver update
        - me: clean up PTRACE_DETACH to use common infrastructure
      dfc52b82
    • Linus Torvalds's avatar
      Import changeset · 7a2deb32
      Linus Torvalds authored
      7a2deb32