Skip to content
  1. Jan 05, 2009
    • Alain Knaff's avatar
      bzip2/lzma: library support for gzip, bzip2 and lzma decompression · bc22c17e
      Alain Knaff authored
      
      
      Impact: Replaces inflate.c with a wrapper around zlib_inflate; new library code
      
      This is the first part of the bzip2/lzma patch
      
      The bzip patch is based on an idea by Christian Ludwig, includes support for
      compressing the kernel with bzip2 or lzma rather than gzip. Both
      compressors give smaller sizes than gzip.  Lzma's decompresses faster
      than bzip2.
      
      It also supports ramdisks and initramfs' compressed using these two
      compressors.
      
      The functionality has been successfully used for a couple of years by
      the udpcast project
      
      This version applies to "tip" kernel 2.6.28
      
      This part contains:
      - changed inflate.c to accomodate rest of patch
      - implementation of bzip2 compression (not used at this stage yet)
      - implementation of lzma compression (not used at this stage yet)
      - Makefile routines to support bzip2 and lzma kernel compression
      
      Signed-off-by: default avatarAlain Knaff <alain@knaff.lu>
      Signed-off-by: default avatarH. Peter Anvin <hpa@zytor.com>
      bc22c17e
  2. Jan 04, 2009
    • Linus Torvalds's avatar
      Merge branch 'cpus4096-for-linus-3' of... · 7d3b56ba
      Linus Torvalds authored
      Merge branch 'cpus4096-for-linus-3' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
      
      * 'cpus4096-for-linus-3' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip: (77 commits)
        x86: setup_per_cpu_areas() cleanup
        cpumask: fix compile error when CONFIG_NR_CPUS is not defined
        cpumask: use alloc_cpumask_var_node where appropriate
        cpumask: convert shared_cpu_map in acpi_processor* structs to cpumask_var_t
        x86: use cpumask_var_t in acpi/boot.c
        x86: cleanup some remaining usages of NR_CPUS where s/b nr_cpu_ids
        sched: put back some stack hog changes that were undone in kernel/sched.c
        x86: enable cpus display of kernel_max and offlined cpus
        ia64: cpumask fix for is_affinity_mask_valid()
        cpumask: convert RCU implementations, fix
        xtensa: define __fls
        mn10300: define __fls
        m32r: define __fls
        h8300: define __fls
        frv: define __fls
        cris: define __fls
        cpumask: CONFIG_DISABLE_OBSOLETE_CPUMASK_FUNCTIONS
        cpumask: zero extra bits in alloc_cpumask_var_node
        cpumask: replace for_each_cpu_mask_nr with for_each_cpu in kernel/time/
        cpumask: convert mm/
        ...
      7d3b56ba
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/linux-2.6-iommu · 269b0123
      Linus Torvalds authored
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/linux-2.6-iommu: (89 commits)
        AMD IOMMU: remove now unnecessary #ifdefs
        AMD IOMMU: prealloc_protection_domains should be static
        kvm/iommu: fix compile warning
        AMD IOMMU: add statistics about total number of map requests
        AMD IOMMU: add statistics about allocated io memory
        AMD IOMMU: add stats counter for domain tlb flushes
        AMD IOMMU: add stats counter for single iommu domain tlb flushes
        AMD IOMMU: add stats counter for cross-page request
        AMD IOMMU: add stats counter for free_coherent requests
        AMD IOMMU: add stats counter for alloc_coherent requests
        AMD IOMMU: add stats counter for unmap_sg requests
        AMD IOMMU: add stats counter for map_sg requests
        AMD IOMMU: add stats counter for unmap_single requests
        AMD IOMMU: add stats counter for map_single requests
        AMD IOMMU: add stats counter for completion wait events
        AMD IOMMU: add init code for statistic collection
        AMD IOMMU: add necessary header defines for stats counting
        AMD IOMMU: add Kconfig entry for statistic collection code
        AMD IOMMU: use dev_name in iommu_enable function
        AMD IOMMU: use calc_devid in prealloc_protection_domains
        ...
      269b0123
    • Linus Torvalds's avatar
      Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-2.6 · f60a0a79
      Linus Torvalds authored
      * 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-2.6: (34 commits)
        V4L/DVB (10173): Missing v4l2_prio_close in radio_release
        V4L/DVB (10172): add DVB_DEVICE_TYPE= to uevent
        V4L/DVB (10171): Use usb_set_intfdata
        V4L/DVB (10170): tuner-simple: prevent possible OOPS caused by divide by zero error
        V4L/DVB (10168): sms1xxx: fix inverted gpio for lna control on tiger r2
        V4L/DVB (10167): sms1xxx: add support for inverted gpio
        V4L/DVB (10166): dvb frontend: stop using non-C99 compliant comments
        V4L/DVB (10165): Add FE_CAN_2G_MODULATION flag to frontends that support DVB-S2
        V4L/DVB (10164): Add missing S2 caps flag to S2API
        V4L/DVB (10163): em28xx: allocate adev together with struct em28xx dev
        V4L/DVB (10162): tuner-simple: Fix tuner type set message
        V4L/DVB (10161): saa7134: fix autodetection for AVer TV GO 007 FM Plus
        V4L/DVB (10160): em28xx: update chip id for em2710
        V4L/DVB (10157): Add USB ID for the Sil4701 radio from DealExtreme
        V4L/DVB (10156): saa7134: Add support for Avermedia AVer TV GO 007 FM Plus
        V4L/DVB (10155): Add TEA5764 radio driver
        V4L/DVB (10154): saa7134: fix a merge conflict on Behold H6 board
        V4L/DVB (10153): Add the Beholder H6 card to DVB-T part of sources.
        V4L/DVB (10152): Change configuration of the Beholder H6 card
        V4L/DVB (10151): Fix I2C bridge error in zl10353
        ...
      f60a0a79
    • Yinghai Lu's avatar
      sparseirq: move set/get_timer_rand_state back to .c · 2f983570
      Yinghai Lu authored
      
      
      those two functions only used in that C file
      
      Signed-off-by: default avatarYinghai Lu <yinghai@kernel.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      2f983570
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/drzeus/mmc · e9e67a8b
      Linus Torvalds authored
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/drzeus/mmc:
        mmc: warn about voltage mismatches
        mmc_spi: Add support for OpenFirmware bindings
        pxamci: fix dma_unmap_sg length
        mmc_block: ensure all sectors that do not have errors are read
        drivers/mmc: Move a dereference below a NULL test
        sdhci: handle built-in sdhci with modular leds class
        mmc: balanc pci_iomap with pci_iounmap
        mmc_block: print better error messages
        mmc: Add mmc_vddrange_to_ocrmask() helper function
        ricoh_mmc: Handle newer models of Ricoh controllers
        mmc: Add 8-bit bus width support
        sdhci: activate led support also when module
        mmc: trivial annotation of 'blocks'
        pci: use pci_ioremap_bar() in drivers/mmc
        sdricoh_cs: Add support for Bay Controller devices
        mmc: at91_mci: reorder timer setup and mmc_add_host() call
      e9e67a8b
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/wim/linux-2.6-watchdog · ad6b646f
      Linus Torvalds authored
      * git://git.kernel.org/pub/scm/linux/kernel/git/wim/linux-2.6-watchdog:
        [WATCHDOG] Add support for the WM8350 watchdog
        [WATCHDOG] Add SMSC SCH311x Watchdog Timer.
        [WATCHDOG] ib700wdt - add timeout parameter
      ad6b646f
    • Linus Torvalds's avatar
      Merge branch 'cputime' of git://git390.osdl.marist.edu/pub/scm/linux-2.6 · 61420f59
      Linus Torvalds authored
      * 'cputime' of git://git390.osdl.marist.edu/pub/scm/linux-2.6:
        [PATCH] fast vdso implementation for CLOCK_THREAD_CPUTIME_ID
        [PATCH] improve idle cputime accounting
        [PATCH] improve precision of idle time detection.
        [PATCH] improve precision of process accounting.
        [PATCH] idle cputime accounting
        [PATCH] fix scaled & unscaled cputime accounting
      61420f59
    • Linus Torvalds's avatar
      Make %p print '(null)' for NULL pointers · d97106ab
      Linus Torvalds authored
      
      
      Before, when we only ever printed out the pointer value itself, a NULL
      pointer would never cause issues and might as well be printed out as
      just its numeric value.
      
      However, with the extended %p formats, especially %pR, we might validly
      want to print out resources for debugging.  And sometimes they don't
      even exist, and the resource pointer is just NULL.  Print it out as
      such, rather than oopsing.
      
      This is a more generic version of a patch done by Trent Piepho (catching
      all %p cases rather than just %pR, and using "(null)" instead of
      "[NULL]" to match glibc).
      
      Requested-by: default avatarTrent Piepho <xyzzy@speakeasy.org>
      Acked-by: default avatarHarvey Harrison <harvey.harrison@gmail.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      d97106ab
    • Al Viro's avatar
      get rid of special-casing the /sbin/loader on alpha · 3bfacef4
      Al Viro authored
      
      
      ... just make it a binfmt handler like #! one.
      
      Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      3bfacef4
    • Al Viro's avatar
      sanitize ifdefs in binfmt_aout · 17580d7f
      Al Viro authored
      
      
      They are actually alpha vs.  i386/arm/m68k i.e. ecoff vs. aout.
      
      In the only place where we actually tried to handle arm and i386/m68k in
      different ways (START_DATA() in coredump handling), the arm variant
      works for all of them (i386 and m68k have u.start_code set to 0).
      
      Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      17580d7f
    • Al Viro's avatar
      remove the rudiment of a.out for sparc · fe30af97
      Al Viro authored
      
      
      it's been used only in sunos compat
      
      Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      fe30af97
    • Hugh Blemings's avatar
      Updated contact info for CREDITS file · e0b685d3
      Hugh Blemings authored
      
      
      This updates some personal info in the CREDITS file.
      
      I'm no longer actively involved in Keyspan driver work so shouldn't
      really be listed as a Maintainer here.
      
      I do however field the occasional question on them and as I'm dropping
      the misc.nu domain, want to ensure people can find me should they need
      to.
      
      Signed-off-by: default avatarHugh Blemings <hugh@blemings.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      e0b685d3
    • Cyrill Gorcunov's avatar
      x86: setup_per_cpu_areas() cleanup · ab14398a
      Cyrill Gorcunov authored
      
      
      Impact: cleanup
      
      __alloc_bootmem and __alloc_bootmem_node do panic
      for us in case of fail so no need for additional
      checks here.
      
      Also lets use pr_*() macros for printing.
      
      Signed-off-by: default avatarCyrill Gorcunov <gorcunov@openvz.org>
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      ab14398a
    • Mike Travis's avatar
      cpumask: fix compile error when CONFIG_NR_CPUS is not defined · 8fd2d2d5
      Mike Travis authored
      
      
      CONFIG_NR_CPUS will be defined for all arch's whether SMP or not, but
      it may not have made it into all arches yet.
      
      Signed-off-by: default avatarMike Travis <travis@sgi.com>
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      8fd2d2d5
    • Mike Travis's avatar
      cpumask: use alloc_cpumask_var_node where appropriate · 80855f73
      Mike Travis authored
      
      
      Impact: Reduce inter-node memory traffic.
      
      Reduces inter-node memory traffic (offloading the global system bus)
      by allocating referenced struct cpumasks on the same node as the
      referring struct.
      
      Signed-off-by: default avatarMike Travis <travis@sgi.com>
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      80855f73
    • Rusty Russell's avatar
      cpumask: convert shared_cpu_map in acpi_processor* structs to cpumask_var_t · 2fdf66b4
      Rusty Russell authored
      
      
      Impact: Reduce memory usage, use new API.
      
      This is part of an effort to reduce structure sizes for machines
      configured with large NR_CPUS.  cpumask_t gets replaced by
      cpumask_var_t, which is either struct cpumask[1] (small NR_CPUS) or
      struct cpumask * (large NR_CPUS).
      
      (Changes to powernow-k* by <travis>.)
      
      Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
      Signed-off-by: default avatarMike Travis <travis@sgi.com>
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      2fdf66b4
    • Rusty Russell's avatar
      x86: use cpumask_var_t in acpi/boot.c · ee943a82
      Rusty Russell authored
      
      
      Impact: reduce stack size, use new API.
      
      Replace cpumask_t with cpumask_var_t.
      
      Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
      Signed-off-by: default avatarMike Travis <travis@sgi.com>
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      ee943a82
    • Mike Travis's avatar
      x86: cleanup some remaining usages of NR_CPUS where s/b nr_cpu_ids · 9628937d
      Mike Travis authored
      
      
      Impact: Reduce future system panics due to cpumask operations using NR_CPUS
      
      Insure that code does not look at bits >= nr_cpu_ids as when cpumasks are
      allocated based on nr_cpu_ids, these extra bits will not be defined.
      
      Also some other minor updates:
      
         * change in to use cpu accessor function set_cpu_present() instead of
           directly accessing cpu_present_map w/cpu_clear() [arch/x86/kernel/reboot.c]
      
         * use cpumask_of() instead of &cpumask_of_cpu() [arch/x86/kernel/reboot.c]
      
         * optimize some cpu_mask_to_apicid_and functions.
      
      Signed-off-by: default avatarMike Travis <travis@sgi.com>
      Acked-by: default avatarRusty Russell <rusty@rustcorp.com.au>
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      9628937d
    • Mike Travis's avatar
      sched: put back some stack hog changes that were undone in kernel/sched.c · 6ca09dfc
      Mike Travis authored
      
      
      Impact: prevents panic from stack overflow on numa-capable machines.
      
      Some of the "removal of stack hogs" changes in kernel/sched.c by using
      node_to_cpumask_ptr were undone by the early cpumask API updates, and
      causes a panic due to stack overflow.  This patch undoes those changes
      by using cpumask_of_node() which returns a 'const struct cpumask *'.
      
      In addition, cpu_coregoup_map is replaced with cpu_coregroup_mask further
      reducing stack usage.  (Both of these updates removed 9 FIXME's!)
      
      Also:
         Pick up some remaining changes from the old 'cpumask_t' functions to
         the new 'struct cpumask *' functions.
      
         Optimize memory traffic by allocating each percpu local_cpu_mask on the
         same node as the referring cpu.
      
      Signed-off-by: default avatarMike Travis <travis@sgi.com>
      Acked-by: default avatarRusty Russell <rusty@rustcorp.com.au>
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      6ca09dfc
    • Mike Travis's avatar
      x86: enable cpus display of kernel_max and offlined cpus · 730cf272
      Mike Travis authored
      
      
      Impact: enables /sys/devices/system/cpu/{kernel_max,offline} user interface
      
      By setting total_cpus, the drivers/base/cpu.c will display the
      values of kernel_max (NR_CPUS-1) and the offlined cpu map.
      
      Signed-off-by: default avatarMike Travis <travis@sgi.com>
      Acked-by: default avatarRusty Russell <rusty@rustcorp.com.au>
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      730cf272
    • Ingo Molnar's avatar
      ia64: cpumask fix for is_affinity_mask_valid() · 6bdf197b
      Ingo Molnar authored
      
      
      Impact: build fix on ia64
      
      ia64's default_affinity_write() still had old cpumask_t usage:
      
       /home/mingo/tip/kernel/irq/proc.c: In function `default_affinity_write':
       /home/mingo/tip/kernel/irq/proc.c:114: error: incompatible type for argument 1 of `is_affinity_mask_valid'
       make[3]: *** [kernel/irq/proc.o] Error 1
       make[3]: *** Waiting for unfinished jobs....
      
      update it to cpumask_var_t.
      
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      6bdf197b
    • Ingo Molnar's avatar
      cpumask: convert RCU implementations, fix · 263ec645
      Ingo Molnar authored
      
      
      Impact: cleanup
      
      This warning:
      
       kernel/rcuclassic.c: In function ‘rcu_start_batch’:
       kernel/rcuclassic.c:397: warning: passing argument 1 of ‘cpumask_andnot’ from incompatible pointer type
      
      triggers because one usage site of rcp->cpumask was not converted
      to to_cpumask(rcp->cpumask). There's no ill effects of this bug.
      
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      263ec645
    • Ingo Molnar's avatar
      Merge branch 'master' of... · e465b535
      Ingo Molnar authored
      Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux-2.6-cpumask into cpus4096-v2
      e465b535
    • Mike Travis's avatar
      Merge branch 'master' of... · 7eb19553
      Mike Travis authored
      
      Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux-2.6-cpumask into merge-rr-cpumask
      
      Conflicts:
      	arch/x86/kernel/io_apic.c
      	kernel/rcuclassic.c
      	kernel/sched.c
      	kernel/time/tick-sched.c
      
      Signed-off-by: default avatarMike Travis <travis@sgi.com>
      [ mingo@elte.hu: backmerged typo fix for io_apic.c ]
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      7eb19553
  3. Jan 03, 2009