Commit Graph

511 Commits

Author SHA1 Message Date
Matt Sealey
0be4e38074 Bump to .23 2011-06-08 09:14:47 -05:00
Steev Klimaszewski
ed1a354b57 Bump to 2.6.31.14.22 for release 2011-05-03 14:01:08 -05:00
Matt Sealey
4204c8ab35 bump version 2011-03-07 18:02:06 -06:00
Matt Sealey
09d86e1c1c bump to .20 - final release for 2.6.31 series 2011-02-21 20:18:30 -06:00
Matt Sealey
fc732f4f73 bump to .19 2011-02-19 19:35:09 -06:00
Matt Sealey
1e9be94b0d bump to .18 2011-02-18 01:33:24 -06:00
Matt Sealey
8fd5ccb572 bump to .17 for development 2011-01-21 23:42:22 -06:00
Matt Sealey
f0b2f8fad6 bump to .16 2011-01-21 23:40:52 -06:00
Matt Sealey
310992eb26 bump to .14 for PD release 2011-01-21 15:23:06 -06:00
Matt Sealey
3c9222317e bump to .13 finally 2010-12-07 06:34:09 -06:00
Matt Sealey
d3ff8eb59e bump to .12 2010-12-02 01:06:45 -06:00
Matt Sealey
45273d43cc bump to .11 for release 2010-11-24 16:04:20 -06:00
Matt Sealey
d1fae4ce82 config update: crypto/networking modules as per Ubuntu default configurations
* disable wireless powersave by default
* netfilter and iptables etc. enabled (firewalls will work now)
* advanced router, bridging, vlan tagging etc.
* modularized crypto

bump to .10
2010-11-21 15:42:25 -06:00
Saleem Abdulrasool
ab0933b5af bump to .9 2010-11-18 20:59:31 -08:00
Matt Sealey
0a2c454cd1 defconfig updates for Ubuntu Maverick (devtmpfs etc.). This means the default config will
absolutely positively REQUIRE an initramfs right now since MMC, PATA and other modules
have been made real modules instead of built-ins.

Changes made:
 * Enable ARM errata fixes. None of them apply but it is safe to compile them in as they are
   switched based on CPU version.
 * Re-enable PREEMPT (may get turned back off if wireless bitches too much for too many people)
 * Don't build in all kernel firmware binaries to save space in the kernel
 * MTD modularized
 * pata_fsl and libata modularized
 * MMC support modularized
 * V4L2 (i.e. support for YUV overlay) modularized (also pushes a bunch of tuners out)
 * Audio modularized. SGTL5000 might balk at this, but audio should be handled by udev now and
   permissions will be correct. Remains to be seen.
 * USB HID modularized since USB is modularized it makes no sense to keep them built-in
 * USB Announce New Devices for debugging purposes
 * Turned off panic on softlock (hrw's suggestion, LP bug #676707)

Bumped to .8 to recognize this change.
2010-11-18 14:44:52 -06:00
Matt Sealey
4eb37ed19c bump to .7 2010-11-18 14:24:02 -06:00
Matt Sealey
af202f1078 bump to .3 2010-10-28 04:19:52 -05:00
Matt Sealey
578dcac8a1 version bump to 14.2 encompassing stability fixes 2010-10-21 13:22:44 -05:00
Matt Sealey
2b5591d0f4 version bump (2.6.31.14.1) so that package conflicts don't happen 2010-10-19 19:48:30 -05:00
Greg Kroah-Hartman
a389e98d2c Linux 2.6.31.14 2010-07-05 10:11:43 -07:00
Greg Kroah-Hartman
a47d3602bf Linux 2.6.31.13 2010-04-01 15:56:18 -07:00
Greg Kroah-Hartman
5e20b95750 Linux 2.6.31.12 2010-01-18 10:30:45 -08:00
Greg Kroah-Hartman
eb95610631 Linux 2.6.31.11 2010-01-07 07:23:27 -08:00
Greg Kroah-Hartman
fe21db377c Linux 2.6.31.10 2010-01-06 14:27:24 -08:00
Greg Kroah-Hartman
000d36ae52 Linux 2.6.31.9 2009-12-18 13:47:01 -08:00
Greg Kroah-Hartman
047e5f3835 Linux 2.6.31.8 2009-12-14 08:14:26 -08:00
Greg Kroah-Hartman
f8ebcb2ebc Linux 2.6.31.7 2009-12-08 11:13:50 -08:00
Greg Kroah-Hartman
120f68c426 Linux 2.6.31.6 2009-11-09 16:32:31 -08:00
Greg Kroah-Hartman
e2984cbfdd Linux 2.6.31.5
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-10-22 15:57:56 -07:00
Sam Ravnborg
e0ab4ae09a arm, cris, mips, sparc, powerpc, um, xtensa: fix build with bash 4.0
commit 51b563fc93c8cb5bff1d67a0a71c374e4a4ea049 upstream.

Albin Tonnerre <albin.tonnerre@free-electrons.com> reported:

    Bash 4 filters out variables which contain a dot in them.
    This happends to be the case of CPPFLAGS_vmlinux.lds.
    This is rather unfortunate, as it now causes
    build failures when using SHELL=/bin/bash to compile,
    or when bash happens to be used by make (eg when it's /bin/sh)

Remove the common definition of CPPFLAGS_vmlinux.lds by
pushing relevant stuff to either Makefile.build or the
arch specific kernel/Makefile where we build the linker script.

This is also nice cleanup as we move the information out where
it is used.

Notes for the different architectures touched:

arm - we use an already exported symbol
cris - we use a config symbol aleady available
       [Not build tested]
mips - the jiffies complexity has moved to vmlinux.lds.S where we need it.
       Added a few variables to CPPFLAGS - they are only used by
       the linker script.
       [Not build tested]
powerpc - removed assignment that is not needed
          [not build tested]
sparc - simplified it using $(BITS)
um - introduced a few new exported variables to deal with this
xtensa - added options to CPP invocation
         [not build tested]

Cc: Albin Tonnerre <albin.tonnerre@free-electrons.com>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: Mikael Starvik <starvik@axis.com>
Cc: Jesper Nilsson <jesper.nilsson@axis.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Jeff Dike <jdike@addtoit.com>
Cc: Chris Zankel <chris@zankel.net>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-10-22 15:11:51 -07:00
Greg Kroah-Hartman
5eee394f24 Linux 2.6.31.4 2009-10-12 13:15:40 -07:00
Greg Kroah-Hartman
8adec3b28d Linux 2.6.31.3 2009-10-07 14:39:51 -07:00
Greg Kroah-Hartman
a2822cac80 Linux 2.6.31.2 2009-10-05 10:12:06 -07:00
Greg Kroah-Hartman
2147b20918 Linux 2.6.31.1 2009-09-24 08:45:25 -07:00
Linus Torvalds
74fca6a428 Linux 2.6.31 2009-09-09 15:13:59 -07:00
Linus Torvalds
e07cccf404 Linux 2.6.31-rc9 2009-09-05 16:38:12 -07:00
Linus Torvalds
326ba5010a Linux 2.6.31-rc8 2009-08-27 17:59:04 -07:00
Linus Torvalds
422bef879e Linux 2.6.31-rc7 2009-08-21 18:00:46 -07:00
Linus Torvalds
64f1607ffb Linux 2.6.31-rc6 2009-08-13 15:43:34 -07:00
Linus Torvalds
ed680c4ad4 Linux 2.6.31-rc5 2009-07-31 17:40:45 -07:00
Linus Torvalds
4be3bd7849 Linux 2.6.31-rc4 2009-07-22 19:32:59 -07:00
Eugene Teo
a3ca86aea5 Add '-fno-delete-null-pointer-checks' to gcc CFLAGS
Turning on this flag could prevent the compiler from optimising away
some "useless" checks for null pointers.  Such bugs can sometimes become
exploitable at compile time because of the -O2 optimisation.

See http://gcc.gnu.org/onlinedocs/gcc-4.1.2/gcc/Optimize-Options.html

An example that clearly shows this 'problem' is commit 6bf67672.

 static void __devexit agnx_pci_remove(struct pci_dev *pdev)
 {
     struct ieee80211_hw *dev = pci_get_drvdata(pdev);
-    struct agnx_priv *priv = dev->priv;
+    struct agnx_priv *priv;
     AGNX_TRACE;

     if (!dev)
         return;
+    priv = dev->priv;

By reverting this patch, and compile it with and without
-fno-delete-null-pointer-checks flag, we can see that the check for dev
is compiled away.

    call    printk  #
-   testq   %r12, %r12  # dev
-   je  .L94    #,
    movq    %r12, %rdi  # dev,

Clearly the 'fix' is to stop using dev before it is tested, but building
with -fno-delete-null-pointer-checks flag at least makes it harder to
abuse.

Signed-off-by: Eugene Teo <eugeneteo@kernel.sg>
Acked-by: Eric Paris <eparis@redhat.com>
Acked-by: Wang Cong <amwang@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-07-16 09:19:16 -07:00
Linus Torvalds
6847e154e3 Linux 2.6.31-rc3 2009-07-13 18:18:52 -07:00
Linus Torvalds
a137802ee8 Don't use '-fwrapv' compiler option: it's buggy in gcc-4.1.x
This causes kernel images that don't run init to completion with certain
broken gcc versions.

This fixes kernel bugzilla entry:
	http://bugzilla.kernel.org/show_bug.cgi?id=13012

I suspect the gcc problem is this:
	http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28230

Fix the problem by using the -fno-strict-overflow flag instead, which
not only does not exist in the known-to-be-broken versions of gcc (it
was introduced later than fwrapv), but seems to be much less disturbing
to gcc too: the difference in the generated code by -fno-strict-overflow
are smaller (compared to using neither flag) than when using -fwrapv.

Reported-by: Barry K. Nathan <barryn@pobox.com>
Pushed-by: Frans Pop <elendil@planet.nl>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: stable@kernel.org
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-07-12 11:25:04 -07:00
Linus Torvalds
8e4a718ff3 Linux 2.6.31-rc2 2009-07-04 10:58:48 -07:00
Amerigo Wang
1129423539 kbuild: finally remove the obsolete variable $TOPDIR
TOPDIR is obsolete, it can be finally removed now.

Signed-off-by: WANG Cong <amwang@redhat.com>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
2009-06-27 00:27:17 +02:00
Floris Kraak
a8735821d1 Kbuild: Disable the -Wformat-security gcc flag
Some distributions have enabled the gcc flag -Wformat-security by default.
This results in a number of warnings about format arguments to functions,
sometimes in cases where fixing the warning is not likely to actually fix a
bug.  Instead of hand patching a dozens of places (possibly more) that produce
warnings that get ignored anyway we just turn off the flag in the Makefile.

Signed-off-by: Floris Kraak <randakar@gmail.com>
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
2009-06-27 00:15:27 +02:00
Linus Torvalds
28d0325ce6 Linux 2.6.31-rc1 2009-06-24 16:25:37 -07:00
Peter Oberparleiter
2521f2c228 gcov: add gcov profiling infrastructure
Enable the use of GCC's coverage testing tool gcov [1] with the Linux
kernel.  gcov may be useful for:

 * debugging (has this code been reached at all?)
 * test improvement (how do I change my test to cover these lines?)
 * minimizing kernel configurations (do I need this option if the
   associated code is never run?)

The profiling patch incorporates the following changes:

 * change kbuild to include profiling flags
 * provide functions needed by profiling code
 * present profiling data as files in debugfs

Note that on some architectures, enabling gcc's profiling option
"-fprofile-arcs" for the entire kernel may trigger compile/link/
run-time problems, some of which are caused by toolchain bugs and
others which require adjustment of architecture code.

For this reason profiling the entire kernel is initially restricted
to those architectures for which it is known to work without changes.
This restriction can be lifted once an architecture has been tested
and found compatible with gcc's profiling. Profiling of single files
or directories is still available on all platforms (see config help
text).

[1] http://gcc.gnu.org/onlinedocs/gcc/Gcov.html

Signed-off-by: Peter Oberparleiter <oberpar@linux.vnet.ibm.com>
Cc: Andi Kleen <andi@firstfloor.org>
Cc: Huang Ying <ying.huang@intel.com>
Cc: Li Wei <W.Li@Sun.COM>
Cc: Michael Ellerman <michaele@au1.ibm.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Heiko Carstens <heicars2@linux.vnet.ibm.com>
Cc: Martin Schwidefsky <mschwid2@linux.vnet.ibm.com>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Cc: WANG Cong <xiyou.wangcong@gmail.com>
Cc: Sam Ravnborg <sam@ravnborg.org>
Cc: Jeff Dike <jdike@addtoit.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-06-18 13:03:57 -07:00
Linus Torvalds
45e3e1935e Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild-next
* 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild-next: (53 commits)
  .gitignore: ignore *.lzma files
  kbuild: add generic --set-str option to scripts/config
  kbuild: simplify argument loop in scripts/config
  kbuild: handle non-existing options in scripts/config
  kallsyms: generalize text region handling
  kallsyms: support kernel symbols in Blackfin on-chip memory
  documentation: make version fix
  kbuild: fix a compile warning
  gitignore: Add GNU GLOBAL files to top .gitignore
  kbuild: fix delay in setlocalversion on readonly source
  README: fix misleading pointer to the defconf directory
  vmlinux.lds.h update
  kernel-doc: cleanup perl script
  Improve vmlinux.lds.h support for arch specific linker scripts
  kbuild: fix headers_exports with boolean expression
  kbuild/headers_check: refine extern check
  kbuild: fix "Argument list too long" error for "make headers_check",
  ignore *.patch files
  Remove bashisms from scripts
  menu: fix embedded menu presentation
  ...
2009-06-14 14:12:18 -07:00