1. 14 Apr, 2004 5 commits
    • Dave Jones's avatar
      [CPUFREQ] Drop unneeded part of last patch. · 77d4fd78
      Dave Jones authored
      acpi fallback is handled already in the init function.
      77d4fd78
    • Dave Jones's avatar
      [CPUFREQ] powernow-k7 ACPI integration. · 18b6dc79
      Dave Jones authored
      More from Bruno Ducrot.
      
      Warning: it will only half work on the ACER Aspire, though: there is
      no pstate in the DSDT corresponding to the max frequency...
      I'm looking how to handle that correctly, probably at the init stage,
      if the max frequency is not given, then add it to powernow_table.
      
      * Integrate acpi perflib from Dominik.
      * Use acpi if the PST tables are known to be broken (ASUS Aspire match one PST,
        but give brain damaged values), or use ACPI if no PST found.
      18b6dc79
    • Dave Jones's avatar
      [CPUFREQ] don't use speedstep-centrino on unsupported CPUs · 1bc0ea3b
      Dave Jones authored
      From: Dominik Brodowski <linux@dominikbrodowski.de>
      
      Don't use the ACPI data on CPUs we don't know nothing about.
      1bc0ea3b
    • Dave Jones's avatar
      Merge delerium.codemonkey.org.uk:/mnt/nfs/sepia/bar/src/kernel/2.6/trees/bk-linus · 92b51eda
      Dave Jones authored
      into delerium.codemonkey.org.uk:/mnt/nfs/sepia/bar/src/kernel/2.6/trees/cpufreq
      92b51eda
    • Dave Jones's avatar
      [CPUFREQ] Correcting SGTC. Timer is based upon FSB · 7b349554
      Dave Jones authored
      From: Bruno Ducrot <ducrot@poupinou.org>
      
      I think this patch is needed especially if the FSB is around 166MHz or
      200MHz, or else I believe we get instabilities on some K7's motherboard
      powernow capable (it's called Cool'n Quiet IIRC).
                                                                                               
                                                                                               
      * Deduce fsb from cpu_khz and the max multiplier.  It will be given as kHz now,
        so that frequency associated to a multiplier will be computate more
        accurately.  Also, we need it for SGTC (see below).
      * Fix how cpuid is computed in powernow_decode_bios().
      * Be more restrictive for PST.  It may be possible (on desktop shipped with
        low power Athlon models) that FSB can be changed by dip switchs on
        motherboard for example.
      * Fix computation for SGTC.  It use the bus timer (and then the bus
        frequency given by fsb).
      7b349554
  2. 13 Apr, 2004 35 commits
    • Andrew Morton's avatar
      [PATCH] ppc64: restore r13 in an unrecoverable exception · 4d72de23
      Andrew Morton authored
      From: Anton Blanchard <anton@samba.org>
      
      We have to restore r13 when entering unrecoverable_exception.
      4d72de23
    • Andrew Morton's avatar
      [PATCH] ppc64: Fix ibmveth.c compilation · 6e9d79e2
      Andrew Morton authored
      From: Paul Mackerras <paulus@samba.org>
      
      This patch changes PCI_DMA_TODEVICE to DMA_TO_DEVICE in a couple of
      places in drivers/net/ibmveth.c, since it doesn't compile without this
      change and it does compile with it.  It also reformats a couple of
      over-long lines in the vicinity of the other changes.
      6e9d79e2
    • Andrew Morton's avatar
      [PATCH] ufs2_frag_map_fix : fixes wrong content reading in ufs2 code · 99ac3092
      Andrew Morton authored
      From: Niraj Kumar <niraj17@iitbombay.org>
      
      This is in continuation of the ufs2 read-only code that went into 2.6.5.
      
      This patch fixes a bug where wrong content was being read off the disk
      after around 4 MB mark.
      99ac3092
    • Andrew Morton's avatar
      [PATCH] binfmt_misc: remove attribute(unused) · 957ce1ab
      Andrew Morton authored
      From: Anton Blanchard <anton@samba.org>
      
      It's been there since the kernel was first imported into bk.  We see no
      reason for this.
      957ce1ab
    • Andrew Morton's avatar
      [PATCH] stack reductions: nfs root · 4543d758
      Andrew Morton authored
      From: Arjan van de Ven <arjanv@redhat.com>
      
      root_nfs_name is called one in single threaded environment; can use static.
      4543d758
    • Andrew Morton's avatar
      [PATCH] Compile fix for macserial · 3de1b14f
      Andrew Morton authored
      From: Jeff Mahoney <jeffm@suse.com>
      
      This patch fixes a problem with the serial conversion to tiocm[sg]et.
      
      The paste from rs_ioctl included the command sanity checking, but there's no
      command for tiocm[sg]et.  The compile ends up failing.
      3de1b14f
    • Andrew Morton's avatar
      [PATCH] pcmcia/rsrc_mgr.c warning fix. · 8d5f7e27
      Andrew Morton authored
      From: "Luiz Fernando N. Capitulino" <lcapitulino@prefeitura.sp.gov.br>,
            me
      
      drivers/pcmcia/rsrc_mgr.c: In function `find_io_region':
      drivers/pcmcia/rsrc_mgr.c:604: warning: large integer implicitly truncated to unsigned type
      
      We don't really know what underlying type an ioaddr_t has, so just use an
      integer here and let the compiler promote it appropriately.
      8d5f7e27
    • Andrew Morton's avatar
      [PATCH] another mips build fix · 7b78461e
      Andrew Morton authored
      From: Samium Gromoff <deepfire@sic-elvis.zel.ru>
      
      Without this one it fails to build, too.
      7b78461e
    • Andrew Morton's avatar
      [PATCH] mips build fix · bc30464f
      Andrew Morton authored
      From: Samium Gromoff <deepfire@sic-elvis.zel.ru>
      
      Without this one it fails to build.
      bc30464f
    • Andrew Morton's avatar
      [PATCH] Wrong return value in hfs_fill_super · c241a7a9
      Andrew Morton authored
      From: Nick Wellnhofer <wellnhofer@aevum.de>
      
      hfs_fill_super in 2.6.5 returns -EIO instead of -EINVAL if a valid supe=
      block isn't found.  So mount_block_root in init/do_mounts.c bails out before
      trying to mount the root device as XFS.
      c241a7a9
    • Andrew Morton's avatar
      [PATCH] m68knommu: fixes to the 68328 DragonBall serial driver · 53fc8f8c
      Andrew Morton authored
      From: <gerg@snapgear.com>
      
      A few fixes for the 68328 "DragonBall" serial driver:
      
      . use irqreturn_t for interrupt handlers
      . correct a few variable types (stop compiler warnings)
      . correctly use return values from put_user(), get_user() and copy_to_user()
      
      Many of these originaly from kernel janitors.
      53fc8f8c
    • Andrew Morton's avatar
      [PATCH] m68knommu: fixes to the ColdFire serial driver · 137fd8d5
      Andrew Morton authored
      From: <gerg@snapgear.com>
      
      A whole bunch of fixes for the ColdFire serial driver:
      
      . remove unused CONFIG_LEDMAN code
      . reformat port definitions to new style structure init
      . change "addr" field type to reduce casting in ColdFire serial driver
      . cleanup locking problems in mcfrs_write().
      . implement fraction baud rate clock support for hardware that
        supports it (namely the ColdFire 5272)
      . implement wait_until_sent, some ColdFire parts of hardware support
        for this (again the 5272).
      . correctly use return values from put_user(), get_user() and copy_to_user()
      
      Many of these originaly from kernel janitors.
      137fd8d5
    • Andrew Morton's avatar
      [PATCH] m68knommu: change addr type to reduce casting in ColdFire serial driver · 2ab37538
      Andrew Morton authored
      From: <gerg@snapgear.com>
      
      Change "addr" field type to reduce casting in ColdFire serial driver.
      2ab37538
    • Andrew Morton's avatar
      [PATCH] Fix tmscsim on amd64 · f0db3afb
      Andrew Morton authored
      From: Jeff Garzik <jgarzik@pobox.com>
      
      DC390_init() takes a long, not an int.
      f0db3afb
    • Andrew Morton's avatar
      [PATCH] uninline copy_to_user() and copy_from_user() · cefd356a
      Andrew Morton authored
      40k reduction in my vmlinux.
      
      Thanks to Denis Vlasenko <vda@port.imtp.ilyichevsk.odessa.ua> for performing
      the analysis.
      cefd356a
    • Andrew Morton's avatar
      [PATCH] uninline seq_puts() and seq_putc() · af86cdc6
      Andrew Morton authored
      Saves 3.4k from my vmlinux.
      
      Thanks to Denis Vlasenko <vda@port.imtp.ilyichevsk.odessa.ua> for performing
      the analysis.
      af86cdc6
    • Andrew Morton's avatar
      [PATCH] uninline put_page() · 467769ab
      Andrew Morton authored
      Shrinks my vmlinux by an astonishing 28k.
      
         text    data     bss     dec     hex filename
      3038796  589890  150612 3779298b  39aae2 vmlinux.before
      3009761  590107  150612 3750480  393a50 vmlinux.after
      
      Thanks to Denis Vlasenko <vda@port.imtp.ilyichevsk.odessa.ua> for performing
      the analysis.
      467769ab
    • Andrew Morton's avatar
      [PATCH] fix vga16fb.c frame buffer bad memory mapping · 03e95caf
      Andrew Morton authored
      From: Vincent Sanders <vince@kyllikki.org>
      
      The vga16fb driver uses a direct ioremap on 0xa00000 to gain access to the
      vga card.  This is wrong on architectures other than x86, every other driver
      uses VGA_MAP_MEM macro from vga.h to ensure the correct memory mapping.
      03e95caf
    • Andrew Morton's avatar
      [PATCH] shrink VFS hash sizes on small machines · b52b3a2b
      Andrew Morton authored
      From: Matt Mackall <mpm@selenic.com>
      
      Base hash sizes on available memory rather than total memory.  An
      additional 50% above current used memory is considered reserved for the
      purposes of hash sizing to compensate for the hashes themselves and the
      remainder of kernel and userspace initialization.
      b52b3a2b
    • Andrew Morton's avatar
      [PATCH] get_files_struct cleanup · a16129b8
      Andrew Morton authored
      From: Russell King <rmk@arm.linux.org.uk>
      
      Cleanup the 4 duplicate "get_files_struct" implementations into one
      get_files_struct() function to compliment put_files_struct().
      a16129b8
    • Andrew Morton's avatar
      [PATCH] put ia32 pgds and pmds back into slab · c2bd1247
      Andrew Morton authored
      From: William Lee Irwin III <wli@holomorphy.com>
      
      This optimisation was reverted when I was removing all users of page->list.
      Bill fixed it up, so unrevert it again.
      c2bd1247
    • Andrew Morton's avatar
      [PATCH] kbuild: Create .tmp_versions when building external modules · 24b5a6a3
      Andrew Morton authored
      From: Sam Ravnborg <sam@ravnborg.org>
      
      When building external modules the $PWD/.tmp_versions directory is used.
      The .tmp_versions directory in the kernel tree cannot be used because this
      would clutter up the kernel tree especially when more than one external
      module is being build for the same kernel tree.
      
      This patch make sure to create $PWD/.tmp_versions, and to delete it during
      make clean.  It also removes warning about 'messed with SUBDIRS', this is
      no longer relevant when .tmp_versions is made outside the kernel tree.
      24b5a6a3
    • Andrew Morton's avatar
      [PATCH] hugetlbpage highmem fix · 8a358cff
      Andrew Morton authored
      From: Andy Whitcroft <apw@shadowen.org>
      
      When clearing a large page allocation ensure we use a page clear function
      which will correctly clear a ZONE_HIGHMEM page.
      8a358cff
    • Linus Torvalds's avatar
      Merge bk://linux-dj.bkbits.net/cpufreq · 9515fdf1
      Linus Torvalds authored
      into ppc970.osdl.org:/home/torvalds/v2.6/linux
      9515fdf1
    • Linus Torvalds's avatar
      Merge bk://linux-dj.bkbits.net/agpgart · f48c54a3
      Linus Torvalds authored
      into ppc970.osdl.org:/home/torvalds/v2.6/linux
      f48c54a3
    • Geert Uytterhoeven's avatar
      [PATCH] m68k show_interrupts bug · 5b1d3f39
      Geert Uytterhoeven authored
      M68k: Make sure machine-specific interrupts are always printed (bug introduced
      by show_interrupts() conversion)
      5b1d3f39
    • Geert Uytterhoeven's avatar
      [PATCH] Amiga eth%d · 69449862
      Geert Uytterhoeven authored
      Amiga Ethernet drivers: Print card info after calling register_netdev(), to
      avoid dev->name still being 'eth%d'.
      69449862
    • Geert Uytterhoeven's avatar
      [PATCH] M68k time update · a25d25dd
      Geert Uytterhoeven authored
      M68k: Update time adjustment code cfr. other architectures.
      (perhaps do_gettimeofday() is a good candidate for consolidation across archs?)
      a25d25dd
    • Geert Uytterhoeven's avatar
      [PATCH] M68k TLB fixes · 5e23698f
      Geert Uytterhoeven authored
      M68k TLB fixes from Roman Zippel:
        - Check current->active_mm for currently active mm
        - Set correct context to flush the right ATC entry
      This is especially important for kswapd to correctly flush unmapped entries (it
      caused random segfaults during large compiles)
      5e23698f
    • Geert Uytterhoeven's avatar
      [PATCH] m68k I/O · 782cf01e
      Geert Uytterhoeven authored
      m68k: Use explicit-sized types for I/O accesses
      782cf01e
    • Geert Uytterhoeven's avatar
      [PATCH] Amikbd C99 cleanup · a6f199d3
      Geert Uytterhoeven authored
      Amikbd: Use C99 array initializers and standard key defines
      a6f199d3
    • Geert Uytterhoeven's avatar
      [PATCH] M68k initializers cleanup · 4b07ff6f
      Geert Uytterhoeven authored
      M68k: Clean up initializers:
        - Convert struct/array initializers to C99 style
        - Do not initialize data to 0 or NULL explicitly so it can move to bss
      4b07ff6f
    • Geert Uytterhoeven's avatar
      [PATCH] M68k vector definitions · 2564f5f5
      Geert Uytterhoeven authored
      M68k: Add remaining CPU vector definitions
      2564f5f5
    • Geert Uytterhoeven's avatar
      [PATCH] Sun-3 duplicates · 89a8bf17
      Geert Uytterhoeven authored
      Sun-3: Kill duplicate definitions:
        - FC_CONTROL is defined in <asm/sun3-head.h>
        - vectors[] is declared in <asm/traps.h>
      89a8bf17
    • Geert Uytterhoeven's avatar
      [PATCH] MVME16x RTC const · f21618ed
      Geert Uytterhoeven authored
      MVME16x RTC: Make days_in_mo[] const
      f21618ed