linux-flexiantxendom0-natty.git
13 years agoKVM: SVM: Load %gs earlier if CONFIG_X86_32_LAZY_GS=n
Avi Kivity [Tue, 8 Mar 2011 14:09:51 +0000 (16:09 +0200)]
KVM: SVM: Load %gs earlier if CONFIG_X86_32_LAZY_GS=n

With CONFIG_CC_STACKPROTECTOR, we need a valid %gs at all times, so disable
lazy reload and do an eager reload immediately after the vmexit.

Reported-by: IVAN ANGELOV <ivangotoy@gmail.com>
Acked-By: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
(cherry picked from commit 831ca6093ca486060721f5c3c74f97b10f3172b9)
BugLink: http://bugs.launchpad.net/bugs/729085
Signed-off-by: Herton Ronaldo Krzesinski <herton.krzesinski@canonical.com>

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>

13 years agoInput: sparse-keymap - report KEY_UNKNOWN for unknown scan codes
Seth Forshee [Sun, 27 Mar 2011 05:53:34 +0000 (22:53 -0700)]
Input: sparse-keymap - report KEY_UNKNOWN for unknown scan codes

This allows for debugging non-functional keys easily from
userspace.

Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
(cherry picked from commit 170531bae648c0ef8d56b44dc5bd8d67717b0db9)

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>

13 years agoInput: sparse-keymap - report scancodes with key events
Seth Forshee [Sun, 27 Mar 2011 05:53:34 +0000 (22:53 -0700)]
Input: sparse-keymap - report scancodes with key events

Scancodes are useful debugging aids when incorrect keycodes
are being sent, as is common with laptop hotkeys.

Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
(cherry picked from commit f3cf5c4fedbe13880cd80a9fa1aebae79ebef20e)

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>

13 years agoUBUNTU: SAUCE: (drop after 2.6.38) ALSA: HDA: Fix dock mic for Lenovo X220-tablet
David Henningsson [Tue, 5 Apr 2011 05:55:24 +0000 (07:55 +0200)]
UBUNTU: SAUCE: (drop after 2.6.38) ALSA: HDA: Fix dock mic for Lenovo X220-tablet

Without the "thinkpad" quirk, the dock mic in
Lenovo X220 tablet edition won't work.

BugLink: http://bugs.launchpad.net/bugs/751033
Cc: stable@kernel.org
Tested-by: James Ferguson <james.ferguson@canonical.com>
Signed-off-by: David Henningsson <david.henningsson@canonical.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>

13 years agoALSA: HDA: New AD1984A model for Dell Precision R5500
David Henningsson [Mon, 7 Feb 2011 14:19:34 +0000 (15:19 +0100)]
ALSA: HDA: New AD1984A model for Dell Precision R5500

For codec AD1984A, add a new model to support Dell Precision R5500
or the microphone jack won't work correctly.

BugLink: http://bugs.launchpad.net/bugs/741516
Tested-by: Kent Baxley <kent.baxley@canonical.com>
Cc: stable@kernel.org
Signed-off-by: David Henningsson <david.henningsson@canonical.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
(cherry picked from commit 677cd904aba939bc4cfdc3c1eada8ec46582127e)

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>

13 years agoALSA: HDA: Add dock mic quirk for Lenovo Thinkpad X220
David Henningsson [Thu, 31 Mar 2011 07:36:19 +0000 (09:36 +0200)]
ALSA: HDA: Add dock mic quirk for Lenovo Thinkpad X220

This quirk is needed for the docking station mic of
Lenovo Thinkpad X220 to function correctly.

BugLink: http://bugs.launchpad.net/bugs/746259
Cc: stable@kernel.org
Tested-by: James Ferguson <james.ferguson@canonical.com>
Signed-off-by: David Henningsson <david.henningsson@canonical.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
(cherry picked from commit 840126579da56edae8ecc4a0d85198f742982f10)

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>

13 years agoUBUNTU: SAUCE: (drop after 2.6.38) add support for Lenovo tablet ID (0xE6)
Manoj Iyer [Thu, 31 Mar 2011 19:31:13 +0000 (14:31 -0500)]
UBUNTU: SAUCE: (drop after 2.6.38) add support for Lenovo tablet ID (0xE6)

Patch was submitted upstream, upstream has changed the way
resolutions are reported, so I need to rework the upstream
patch based on for-linus tree. Not sure when the upstream
patches will get merged to linus tree. More information here:
https://lkml.org/lkml/2011/3/31/403

BugLink: http://bugs.launchpad.net/bugs/746652

Signed-off-by: Manoj Iyer <manoj.iyer@canonical.com>
Acked-by: Brad Figg <brad.figg@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>

13 years agoUBUNTU: Start new release
Leann Ogasawara [Fri, 8 Apr 2011 16:26:30 +0000 (09:26 -0700)]
UBUNTU: Start new release

Ignore: yes
Signed-off-by: Leann Ogasawara <leann.ogasawara@canonical.com>

13 years agoUBUNTU: Ubuntu-2.6.38-8.41
Leann Ogasawara [Tue, 5 Apr 2011 16:39:06 +0000 (09:39 -0700)]
UBUNTU: Ubuntu-2.6.38-8.41

Signed-off-by: Leann Ogasawara <leann.ogasawara@canonical.com>

13 years agoRelax si_code check in rt_sigqueueinfo and rt_tgsigqueueinfo
Roland Dreier [Mon, 28 Mar 2011 21:13:35 +0000 (14:13 -0700)]
Relax si_code check in rt_sigqueueinfo and rt_tgsigqueueinfo

Commit da48524eb206 ("Prevent rt_sigqueueinfo and rt_tgsigqueueinfo
from spoofing the signal code") made the check on si_code too strict.
There are several legitimate places where glibc wants to queue a
negative si_code different from SI_QUEUE:

 - This was first noticed with glibc's aio implementation, which wants
   to queue a signal with si_code SI_ASYNCIO; the current kernel
   causes glibc's tst-aio4 test to fail because rt_sigqueueinfo()
   fails with EPERM.

 - Further examination of the glibc source shows that getaddrinfo_a()
   wants to use SI_ASYNCNL (which the kernel does not even define).
   The timer_create() fallback code wants to queue signals with SI_TIMER.

As suggested by Oleg Nesterov <oleg@redhat.com>, loosen the check to
forbid only the problematic SI_TKILL case.

Reported-by: Klaus Dittrich <kladit@arcor.de>
Acked-by: Julien Tinnes <jln@google.com>
Cc: <stable@kernel.org>
Signed-off-by: Roland Dreier <roland@purestorage.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
(cherry picked from commit 243b422af9ea9af4ead07a8ad54c90d4f9b6081a)

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>

13 years agoALSA: pcm: fix infinite loop in snd_pcm_update_hw_ptr0()
Kelly Anderson [Fri, 1 Apr 2011 09:58:25 +0000 (11:58 +0200)]
ALSA: pcm: fix infinite loop in snd_pcm_update_hw_ptr0()

When period interrupts are disabled, snd_pcm_update_hw_ptr0() compares
the current time against the time estimated for the current hardware
pointer to detect xruns.  The somewhat fuzzy threshold in the while loop
makes it possible that hdelta becomes negative; the comparison being
done with unsigned types then makes the loop go through the entire 263
negative range, and, depending on the value, never reach an unsigned
value that is small enough to stop the loop.  Doing this with interrupts
disabled results in the machine locking up.

To prevent this, ensure that the loop condition uses signed types for
both operands so that the comparison is correctly done.

Many thanks to Kelly Anderson for debugging this.

Reported-by: Nix <nix@esperi.org.uk>
Reported-by: "Christopher K." <c.krooss@googlemail.com>
Reported-and-tested-by: Kelly Anderson <kelly@silka.with-linux.com>
Signed-off-by: Kelly Anderson <kelly@silka.with-linux.com>
[cl: remove unneeded casts; use a temp variable]
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Cc: 2.6.38 <stable@kernel.org>

Signed-off-by: Takashi Iwai <tiwai@suse.de>
(cherry picked from commit 12ff414e2e4512f59fe191dc18e856e2939a1c79)

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>

13 years agoUBUNTU: [Config] Build some framebuffer drivers as modules for powerpc kernels.
Luke Yelavich [Fri, 1 Apr 2011 12:09:38 +0000 (23:09 +1100)]
UBUNTU: [Config] Build some framebuffer drivers as modules for powerpc kernels.

At some point in the past with config update/consolidation, some framebuffer
drivers got built into the powerpc kernels. This config change builds these
drivers as modules, as the OpenFirmware framebuffer driver is already in the
kernel. This also allows DRM modules to take priority in the case of radeon
cards.

Signed-off-by: Luke Yelavich <themuso@ubuntu.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>

13 years agoUBUNTU: [Config] Disable CONFIG_DRM_RADEON_KMS on powerpc kernels
Luke Yelavich [Fri, 1 Apr 2011 12:09:37 +0000 (23:09 +1100)]
UBUNTU: [Config] Disable CONFIG_DRM_RADEON_KMS on powerpc kernels

Radeon KMS on powerpc gives an oops on startup, leaving the user with a blank
screen. Disable KMS for now so that machines with radeon hardware will at
least work in the console/X.

Signed-off-by: Luke Yelavich <themuso@ubuntu.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>

13 years agoUBUNTU: [Config] Disable CONFIG_CRASH_DUMP on 32-bit powerpc kernels
Luke Yelavich [Fri, 1 Apr 2011 12:09:35 +0000 (23:09 +1100)]
UBUNTU: [Config] Disable CONFIG_CRASH_DUMP on 32-bit powerpc kernels

BugLink: https://launchpad.net/bugs/745358

With CONFIG_CRASH_DUMP enabled, the 32-bit powerpc kernels are unbootable,
even with the latest yaboot in natty. Disable it for now so we can have
bootable kernels and disk images again.

Signed-off-by: Luke Yelavich <themuso@ubuntu.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>

13 years agoUBUNTU: SAUCE: Increase the default hard limit for open FDs to 4096
Tim Gardner [Tue, 29 Mar 2011 23:24:40 +0000 (17:24 -0600)]
UBUNTU: SAUCE: Increase the default hard limit for open FDs to 4096

BugLink: http://bugs.launchpad.net/bugs/663090

This presumes that INR_OPEN is 1024.

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>

13 years agoUBUNTU: SAUCE: (drop after 2.6.38) eeepc-wmi: Add support for T101MT Home/Express...
Seth Forshee [Thu, 31 Mar 2011 15:00:46 +0000 (10:00 -0500)]
UBUNTU: SAUCE: (drop after 2.6.38) eeepc-wmi: Add support for T101MT Home/Express Gate key

This key is different than other hotkeys, having seperate scan
codes for press, release, and hold, so it requires some special
filtering. Press and release events are passed on, and hold events
are ignored since sparse-keymap does not support hardware
autorepeat. Instead, the input core's software autorepeat is
enabled for the input device.

Note that "Home" in the context of this button doesn't mean the
same thing as the usual Home key, and it really isn't clear at
all what is meant by "Home". The manufacurer's description of the
button indicates that it should launch some sort of touch screen
settings interface on short press and apply a desktop rotation on
long press.

Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>

13 years agoUBUNTU: Start new release
Leann Ogasawara [Tue, 5 Apr 2011 16:27:04 +0000 (09:27 -0700)]
UBUNTU: Start new release

Ignore: yes
Signed-off-by: Leann Ogasawara <leann.ogasawara@canonical.com>

13 years agoUBUNTU: Ubuntu-2.6.38-8.40
Leann Ogasawara [Thu, 31 Mar 2011 15:59:02 +0000 (08:59 -0700)]
UBUNTU: Ubuntu-2.6.38-8.40

Signed-off-by: Leann Ogasawara <leann.ogasawara@canonical.com>

13 years agoUBUNTU: SAUCE: nx-emu: further clarify dmesg reporting
Kees Cook [Wed, 30 Mar 2011 22:06:32 +0000 (15:06 -0700)]
UBUNTU: SAUCE: nx-emu: further clarify dmesg reporting

When booting a 32bit non-PAE kernel on a CPU that supports hardware NX,
dmesg did not indicate that NX emulation was being used. This changes
the dmesg reporting to be more clear. Warnings about lacking hardware
NX remain, and the state of NX-emulation is reported when enabled.

BugLink: https://launchpad.net/bugs/745181

Signed-off-by: Kees Cook <kees.cook@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>

13 years agoUBUNTU: SAUCE: thinkpad-acpi: module autoloading for newer Lenovo ThinkPads.
Manoj Iyer [Tue, 29 Mar 2011 20:21:26 +0000 (15:21 -0500)]
UBUNTU: SAUCE: thinkpad-acpi: module autoloading for newer Lenovo ThinkPads.

This patch was submitted upstream and acked by maintainer but not yet in
linus tree.

Signed-off-by: Manoj Iyer <manoj.iyer@canonical.com>

BugLink: http://launchpad.net/bugs/745217
Acked-by: Brad Figg <brad.figg@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>

13 years agoeeepc-wmi: reorder device ids
Corentin Chary [Sun, 6 Feb 2011 12:28:43 +0000 (13:28 +0100)]
eeepc-wmi: reorder device ids

Each device seems to be in a "group" (devid >> 16 & 0xFF).

Signed-off-by: Corentin Chary <corentincj@iksaif.net>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
(cherry picked from commit 43815941efb1374c2f71eb1fb0a2814b049030eb)

Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>

13 years agoeeepc-wmi: add touchpad sysfs file
Corentin Chary [Sun, 6 Feb 2011 12:28:42 +0000 (13:28 +0100)]
eeepc-wmi: add touchpad sysfs file

Signed-off-by: Corentin Chary <corentincj@iksaif.net>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
(cherry picked from commit 4615bb661352acb7032796185c8c5573e47dfa1d)

Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>

13 years agoeeepc-wmi: comments keymap to clarify the meaning of some keys
Corentin Chary [Sun, 6 Feb 2011 12:30:48 +0000 (13:30 +0100)]
eeepc-wmi: comments keymap to clarify the meaning of some keys

Found while checking PDF manuals...

Signed-off-by: Corentin Chary <corentincj@iksaif.net>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
(cherry picked from commit 77ca5b0197138db1260bbbb95ce3fd015dd10437)

Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>

13 years agoeeepc-wmi: real touchpad led device id is 0x001000012
Corentin Chary [Sun, 6 Feb 2011 12:28:41 +0000 (13:28 +0100)]
eeepc-wmi: real touchpad led device id is 0x001000012

Signed-off-by: Corentin Chary <corentincj@iksaif.net>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
(cherry picked from commit 8571d75d614702e3e0278c92892012dbf7c2e65b)

Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>

13 years agoeeepc-wmi: respect wireless_hotplug setting
Corentin Chary [Sun, 6 Feb 2011 12:28:40 +0000 (13:28 +0100)]
eeepc-wmi: respect wireless_hotplug setting

Signed-off-by: Corentin Chary <corentincj@iksaif.net>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
(cherry picked from commit c14d4b8ea799515cd44134b8eddd8f789f0b6286)

Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>

13 years agoeeepc-wmi: support backlight power (bl_power) attribute
Corentin Chary [Sun, 6 Feb 2011 12:28:39 +0000 (13:28 +0100)]
eeepc-wmi: support backlight power (bl_power) attribute

Signed-off-by: Corentin Chary <corentincj@iksaif.net>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
(cherry picked from commit b71872650fe967eb0a38aa0d7dcbe9c60d160032)

Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>

13 years agoeeepc-wmi: set the right key code for 0xe9
Corentin Chary [Sun, 6 Feb 2011 12:28:38 +0000 (13:28 +0100)]
eeepc-wmi: set the right key code for 0xe9

This key should power off the backlight, not the display,
it is also used in acpi/video.c to do the same thing.

Signed-off-by: Corentin Chary <corentincj@iksaif.net>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
(cherry picked from commit 54c799a50f58285f5f6a93d87470cba1847943a3)

Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>

13 years agoeeepc-wmi: add wimax support
Corentin Chary [Sun, 6 Feb 2011 12:28:37 +0000 (13:28 +0100)]
eeepc-wmi: add wimax support

Signed-off-by: Corentin Chary <corentincj@iksaif.net>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
(cherry picked from commit 2e9e159d8e18c37d60a7d5040314f579a40f4c63)

Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>

13 years agoeeepc-wmi: add camera and card reader support
Corentin Chary [Sun, 6 Feb 2011 12:28:36 +0000 (13:28 +0100)]
eeepc-wmi: add camera and card reader support

Signed-off-by: Corentin Chary <corentincj@iksaif.net>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
(cherry picked from commit 9e1565bc390123d3c74b940ba3466faf196970ec)

Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>

13 years agoeeepc-wmi: use the presence bit correctly
Corentin Chary [Sun, 6 Feb 2011 12:28:35 +0000 (13:28 +0100)]
eeepc-wmi: use the presence bit correctly

I checked some more DSDT, and it seems that I wasn't
totally right about the meaning of DSTS return value.
Bit 0 is clearly the status of the device, and I discovered
that bit 16 is set when the device is present.

Signed-off-by: Corentin Chary <corentincj@iksaif.net>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
(cherry picked from commit aafa719dcd0cb0c05bb0690c816b13263c8b36e6)

Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>

13 years agoeeepc-wmi: reorder defines
Corentin Chary [Sun, 6 Feb 2011 12:28:34 +0000 (13:28 +0100)]
eeepc-wmi: reorder defines

Signed-off-by: Corentin Chary <corentincj@iksaif.net>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
(cherry picked from commit 33e0e6fed04dc6067562c65e3e6d551dc0eb11fc)

Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>

13 years agoeeepc-wmi: switch to platform_create_bundle()
Corentin Chary [Sun, 6 Feb 2011 12:28:33 +0000 (13:28 +0100)]
eeepc-wmi: switch to platform_create_bundle()

This allow to remove ~30 lines of code.

Signed-off-by: Corentin Chary <corentincj@iksaif.net>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
(cherry picked from commit a04ce290bffe6b39edf18bac0fdb302503a53a4e)

Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>

13 years agoeeepc-wmi: add hibernate/resume callbacks
Corentin Chary [Sun, 6 Feb 2011 12:28:32 +0000 (13:28 +0100)]
eeepc-wmi: add hibernate/resume callbacks

Signed-off-by: Corentin Chary <corentincj@iksaif.net>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
(cherry picked from commit 0773d7f9f1c0ad5fb86d23ad7e4ef5bfd2f48b5e)

Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>

13 years agoeeepc-wmi: add an helper using simple return codes
Corentin Chary [Sun, 6 Feb 2011 12:28:31 +0000 (13:28 +0100)]
eeepc-wmi: add an helper using simple return codes

eeepc_wmi_get_devstate returns an acpi_status, so each
call need extra logic to handle the return code. This
patch add a simple getter, returning a boolean (or a
negative error code).

Signed-off-by: Corentin Chary <corentincj@iksaif.net>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
(cherry picked from commit 5c95638d115f9c6661fff254b3beb14b19f88e41)

Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>

13 years agoeeepc-wmi: return proper error code in eeepc_rfkill_set()
Corentin Chary [Sun, 6 Feb 2011 12:28:30 +0000 (13:28 +0100)]
eeepc-wmi: return proper error code in eeepc_rfkill_set()

Signed-off-by: Corentin Chary <corentincj@iksaif.net>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
(cherry picked from commit 7898cf1a3665d22c4d16308f73e981c6464be81b)

Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>

13 years agoeeepc-wmi: serialize access to wmi method
Corentin Chary [Sun, 6 Feb 2011 12:28:29 +0000 (13:28 +0100)]
eeepc-wmi: serialize access to wmi method

\AMW0.WMBC, which is the main method that we use,
is not reentrant. When wireless hotpluging is enabled,
toggling the status of the wireless device using WMBC will
trigger a notification and the notification handler need to
call WMBC again to get the new status of the device, this
will trigger the following error:

ACPI Error (dswload-0802): [_T_0] Namespace lookup failure, AE_ALREADY_EXISTS
ACPI Exception: AE_ALREADY_EXISTS, During name lookup/catalog (20100428/psloop-231)
ACPI Error (psparse-0537): Method parse/execution failed [\AMW0.WMBC] (Node f7023b88), AE_ALREADY_EXISTS
ACPI: Marking method WMBC as Serialized because of AE_ALREADY_EXISTS error

Since there is currently no way to tell the acpi subsystem to mark
a method as serialized, we do it in eeepc-wmi.

Of course, we could let the first call fail, and then it would work,
but it doesn't seems really clean, and it will make the first
WMBC call return a random value.

This patch was tested on EeePc 1000H with a RaLink RT2860
wireless card using the rt2800pci driver. rt2860sta driver
seems to deadlock when we remove the pci device...

Signed-off-by: Corentin Chary <corentincj@iksaif.net>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
(cherry picked from commit 279f8f95493c9aaa0a85520c863ccba87c4bf930)

Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>

13 years agoeeepc-wmi: add hotplug code for Eeepc 1000H
Corentin Chary [Sun, 6 Feb 2011 12:28:28 +0000 (13:28 +0100)]
eeepc-wmi: add hotplug code for Eeepc 1000H

Implement wireless like hotplug handling (code stolen from eeepc-laptop).

Reminder: on some models rfkill is implemented by logically unplugging the
wireless card from the PCI bus. Despite sending ACPI notifications, this does
not appear to be implemented using standard ACPI hotplug - nor does the
firmware provide the _OSC method required to support native PCIe hotplug.
The only sensible choice appears to be to handle the hotplugging directly in
the platform driver.

Signed-off-by: Corentin Chary <corentincj@iksaif.net>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
(cherry picked from commit afa7c886578ce264d9b66d4bcb1fea51fac47925)

Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>

13 years agoUBUNTU: rebase to v2.6.38.2
Leann Ogasawara [Mon, 28 Mar 2011 13:56:15 +0000 (06:56 -0700)]
UBUNTU: rebase to v2.6.38.2

Signed-off-by: Leann Ogasawara <leann.ogasawara@canonical.com>

13 years agoUBUNTU: [Config] update configs after v2.6.38.1 rebase
Leann Ogasawara [Thu, 24 Mar 2011 15:33:05 +0000 (08:33 -0700)]
UBUNTU: [Config] update configs after v2.6.38.1 rebase

Basically, enable HID_ACRUX=m

Signed-off-by: Leann Ogasawara <leann.ogasawara@canonical.com>

13 years agoUBUNTU: rebase to v2.6.38.1
Leann Ogasawara [Thu, 24 Mar 2011 15:29:21 +0000 (08:29 -0700)]
UBUNTU: rebase to v2.6.38.1

Signed-off-by: Leann Ogasawara <leann.ogasawara@canonical.com>

13 years agoUBUNTU: [Config] packaging: adjust perms on vmlinuz as well
Kees Cook [Wed, 23 Mar 2011 20:17:13 +0000 (13:17 -0700)]
UBUNTU: [Config] packaging: adjust perms on vmlinuz as well

Since kernel symbols are resolvable internally to the kernel, the kernel
itself has a map of the symbols. Continuing the tradition of frustrating
off-the-shelf kernel exploits, make vmlinuz unreadable for non-root, just
like has been done for System.map, etc.

Signed-off-by: Kees Cook <kees.cook@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>

13 years agoUBUNTU: SAUCE: HID: ntrig: fix suspend/resume on recent models
Henrik Rydberg [Wed, 23 Mar 2011 14:08:14 +0000 (15:08 +0100)]
UBUNTU: SAUCE: HID: ntrig: fix suspend/resume on recent models

The recent 1b96:0006 model does not come up after suspend, which
seems to be related to the initialization problems reported
upstream. This patch adds a wakeup call via the reset-resume hook,
which fixes the problem.

Tested on older hardware without sign of regressions.

Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Signed-off-by: Leann Ogasawara <leann.ogasawara@canonical.com>

13 years agoUBUNTU: SAUCE: HID: hid-ntrig: add support for 1b96:0006 model
Henrik Rydberg [Tue, 22 Mar 2011 13:14:00 +0000 (14:14 +0100)]
UBUNTU: SAUCE: HID: hid-ntrig: add support for 1b96:0006 model

This patch adds support for 1b96:0006 with firmware version
1.12.1.41.0.

Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Signed-off-by: Leann Ogasawara <leann.ogasawara@canonical.com>

13 years ago(drop after v2.6.38) HID: hid-ntrig: init settle and mode check
Rafi Rubin [Tue, 22 Mar 2011 13:13:59 +0000 (14:13 +0100)]
(drop after v2.6.38) HID: hid-ntrig: init settle and mode check

Adding a wait before the wakeup signal.

As a precautionary measure sanity check the current sensor mode.  If
needed reset it to "dual".

When the device is responding poorly and needs the wakeup call, it was
missing it.  Giving it a chance to settle first improves the chances
that signal gets through.

Upstream commit 7b2a64c96ad53c4299f7e6ddf8c2f99cb48940a9

Signed-off-by: Rafi Rubin <rafi@seas.upenn.edu>
Tested-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Signed-off-by: Leann Ogasawara <leann.ogasawara@canonical.com>

13 years ago(drop after v2.6.38) HID: ntrig: apply NO_INIT_REPORTS quirk
Rafi Rubin [Tue, 22 Mar 2011 13:13:58 +0000 (14:13 +0100)]
(drop after v2.6.38) HID: ntrig: apply NO_INIT_REPORTS quirk

Probing reports does bad things with some ntrig firmwares, better to
just leave them alone.

Upstream commit 6638dedaec6e3d32654f0ac5786f5d32963e208b

[rydberg@euromail.se: wiggled for natty]
Signed-off-by: Rafi Rubin <rafi@seas.upenn.edu>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Signed-off-by: Leann Ogasawara <leann.ogasawara@canonical.com>

13 years ago(drop after v2.6.38) HID: ntrig don't dereference unclaimed hidinput
Rafi Rubin [Tue, 22 Mar 2011 13:13:57 +0000 (14:13 +0100)]
(drop after v2.6.38) HID: ntrig don't dereference unclaimed hidinput

Check before dereferencing field->hidinput to fix a reported invalid
deference bug.

Upstream commit f41a52d3010579949a3b9fd76783120d9643b60b

Signed-off-by: Rafi Rubin <rafi@seas.upenn.edu>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Signed-off-by: Leann Ogasawara <leann.ogasawara@canonical.com>

13 years agoUBUNTU: [Config] Set CONFIG_NR_CPUS=256 for amd64 generic
Brad Figg [Thu, 17 Mar 2011 21:17:18 +0000 (14:17 -0700)]
UBUNTU: [Config] Set CONFIG_NR_CPUS=256 for amd64 generic

BugLink: http://bugs.launchpad.net/bugs/737124

SRU Justification

Impact: Workstations with greater than 64 cores cannot boot.

        See: http://bugs.launchpad.net/bugs/706058 for information
about memory impact.

Signed-off-by: Brad Figg <brad.figg@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>

13 years agoUBUNTU: Bump ABI
Tim Gardner [Mon, 21 Mar 2011 15:05:07 +0000 (09:05 -0600)]
UBUNTU: Bump ABI

Ignore: yes
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>

13 years agoUBUNTU: Start new release
Leann Ogasawara [Mon, 28 Mar 2011 13:25:33 +0000 (06:25 -0700)]
UBUNTU: Start new release

Ignore: yes
Signed-off-by: Leann Ogasawara <leann.ogasawara@canonical.com>

13 years agoUBUNTU: Ubuntu-2.6.38-7.39
Leann Ogasawara [Thu, 24 Mar 2011 17:00:13 +0000 (10:00 -0700)]
UBUNTU: Ubuntu-2.6.38-7.39

Signed-off-by: Leann Ogasawara <leann.ogasawara@canonical.com>

13 years agoUBUNTU: Start new release
Leann Ogasawara [Thu, 24 Mar 2011 16:57:33 +0000 (09:57 -0700)]
UBUNTU: Start new release

Ignore: yes
Signed-off-by: Leann Ogasawara <leann.ogasawara@canonical.com>

13 years agoUBUNTU: Ubuntu-2.6.38-7.38
Leann Ogasawara [Tue, 22 Mar 2011 13:17:29 +0000 (06:17 -0700)]
UBUNTU: Ubuntu-2.6.38-7.38

Signed-off-by: Leann Ogasawara <leann.ogasawara@canonical.com>

13 years agoUBUNTU: Start new release
Leann Ogasawara [Tue, 22 Mar 2011 13:14:50 +0000 (06:14 -0700)]
UBUNTU: Start new release

Ignore: yes
Signed-off-by: Leann Ogasawara <leann.ogasawara@canonical.com>

13 years agoUBUNTU: Ubuntu-2.6.38-7.37
Leann Ogasawara [Mon, 21 Mar 2011 13:51:45 +0000 (06:51 -0700)]
UBUNTU: Ubuntu-2.6.38-7.37

Signed-off-by: Leann Ogasawara <leann.ogasawara@canonical.com>

13 years agoUBUNTU: Start new release
Leann Ogasawara [Sun, 20 Mar 2011 23:06:54 +0000 (16:06 -0700)]
UBUNTU: Start new release

Ignore: yes
Signed-off-by: Leann Ogasawara <leann.ogasawara@canonical.com>

13 years agoUBUNTU: Ubuntu-2.6.38-7.36
Andy Whitcroft [Fri, 18 Mar 2011 18:18:30 +0000 (18:18 +0000)]
UBUNTU: Ubuntu-2.6.38-7.36

Signed-off-by: Andy Whitcroft <apw@canonical.com>

13 years agoUBUNTU: [Config] switch CONFIG_FB_VESA back to module
Andy Whitcroft [Tue, 8 Mar 2011 22:40:32 +0000 (22:40 +0000)]
UBUNTU: [Config] switch CONFIG_FB_VESA back to module

Signed-off-by: Andy Whitcroft <apw@canonical.com>

13 years agoYama: fix default relationship to check thread group
Kees Cook [Fri, 18 Mar 2011 16:51:16 +0000 (09:51 -0700)]
Yama: fix default relationship to check thread group

Yet another case of a thread needing to match against the group leader.

BugLink: http://bugs.launchpad.net/bugs/737676
Signed-off-by: Kees Cook <kees.cook@canonical.com>
Signed-off-by: Andy Whitcroft <apw@canonical.com>

13 years agoUBUNTU: SAUCE: drm/i915: Fix pipelined fencing
Chris Wilson [Thu, 17 Mar 2011 22:12:05 +0000 (22:12 +0000)]
UBUNTU: SAUCE: drm/i915: Fix pipelined fencing

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=34584
Cc: Andy Whitcroft <apw@canonical.com>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>

[We are expecting this to appear in upstream shortly, but the symptoms
are pretty serious corruption in gnome-terminal and other scrollable
text, and this is well understood and tested.]

BugLink: http://bugs.launchpad.net/bugs/717114
Signed-off-by: Andy Whitcroft <apw@canonical.com>

13 years agoRevert "UBUNTU: SAUCE: KLUDGE: work around failed 'shrink-wrap' compiler optimisation"
Andy Whitcroft [Wed, 16 Mar 2011 17:45:19 +0000 (17:45 +0000)]
Revert "UBUNTU: SAUCE: KLUDGE: work around failed 'shrink-wrap' compiler optimisation"

This reverts commit a717f5c8013cb097975295592353c5adcb5253fd.

Signed-off-by: Andy Whitcroft <apw@canonical.com>

13 years agoUBUNTU: Enable common packages for armhf
Loïc Minier [Wed, 16 Mar 2011 00:30:18 +0000 (01:30 +0100)]
UBUNTU: Enable common packages for armhf

Add armhf to Architecture: list of common packages where armel was
already listed, like linux-libc-dev or linux-tools.

Signed-off-by: Loïc Minier <loic.minier@linaro.org>
Signed-off-by: Andy Whitcroft <apw@canonical.com>

13 years agoUBUNTU: Add initial armhf.mk
Loïc Minier [Wed, 16 Mar 2011 00:30:17 +0000 (01:30 +0100)]
UBUNTU: Add initial armhf.mk

Copy armel.mk for armhf, but disable all flavours for now.

Signed-off-by: Loïc Minier <loic.minier@linaro.org>
Signed-off-by: Andy Whitcroft <apw@canonical.com>

13 years agoUBUNTU: Add armhf to Debian -> Linux arch map
Loïc Minier [Wed, 16 Mar 2011 00:30:16 +0000 (01:30 +0100)]
UBUNTU: Add armhf to Debian -> Linux arch map

debian/scripts/misc/kernelconfig: add support for armhf to Debian ->
Linux arch map.

Signed-off-by: Loïc Minier <loic.minier@linaro.org>
Signed-off-by: Andy Whitcroft <apw@canonical.com>

13 years agoUBUNTU: Enforce DEFAULT_MMAP_MIN_ADDR on armhf
Loïc Minier [Wed, 16 Mar 2011 00:30:15 +0000 (01:30 +0100)]
UBUNTU: Enforce DEFAULT_MMAP_MIN_ADDR on armhf

Also enforce CONFIG_DEFAULT_MMAP_MIN_ADDR=32768 on armhf.

Signed-off-by: Loïc Minier <loic.minier@linaro.org>
Signed-off-by: Andy Whitcroft <apw@canonical.com>

13 years agoUBUNTU: Fix couple of typos in 0-common-vars.mk
Loïc Minier [Wed, 16 Mar 2011 00:30:14 +0000 (01:30 +0100)]
UBUNTU: Fix couple of typos in 0-common-vars.mk

Signed-off-by: Loïc Minier <loic.minier@linaro.org>
Signed-off-by: Andy Whitcroft <apw@canonical.com>

13 years agoUBUNTU: Support arch= cross-compilation for any arch
Loïc Minier [Wed, 16 Mar 2011 00:30:13 +0000 (01:30 +0100)]
UBUNTU: Support arch= cross-compilation for any arch

Use "dpkg-architecture -a$(arch) -qDEB_HOST_GNU_TYPE" to compute
CROSS_COMPILE when calling debian/rules arch=foo instead of harcoding
support for only armel / arm-linux-gnueabi.

Signed-off-by: Loïc Minier <loic.minier@linaro.org>
Signed-off-by: Andy Whitcroft <apw@canonical.com>

13 years agoUBUNTU: purge last vestiges of maverick
Andy Whitcroft [Wed, 16 Mar 2011 14:54:43 +0000 (14:54 +0000)]
UBUNTU: purge last vestiges of maverick

Signed-off-by: Andy Whitcroft <apw@canonical.com>

13 years agoUBUNTU: Include nls_cp437 module in virtual for fat
Loïc Minier [Wed, 16 Mar 2011 00:49:37 +0000 (01:49 +0100)]
UBUNTU: Include nls_cp437 module in virtual for fat

The virtual flavor only ships whitelisted modules including the fat and
vfat modules, but because it doesn't include any codepage modules
(nls_cp*) FAT support is useless.  Include the default codepage
(nls_cp437) in virtual to allow mounting FAT filesystems.

BugLink: http://bugs.launchpad.net/bugs/732046

Signed-off-by: Loïc Minier <loic.minier@linaro.org>
Acked-by: Andy Whitcroft <andy.whitcroft@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>

13 years agoUBUNTU: Start new release
Andy Whitcroft [Fri, 18 Mar 2011 16:52:41 +0000 (16:52 +0000)]
UBUNTU: Start new release

Ignore: yes
Signed-off-by: Andy Whitcroft <apw@canonical.com>

13 years agoUBUNTU: Ubuntu-2.6.38-7.35
Andy Whitcroft [Tue, 15 Mar 2011 19:04:24 +0000 (19:04 +0000)]
UBUNTU: Ubuntu-2.6.38-7.35

Signed-off-by: Andy Whitcroft <apw@canonical.com>

13 years agoUBUNTU: rebase to v2.6.38 final
Andy Whitcroft [Tue, 15 Mar 2011 09:03:06 +0000 (09:03 +0000)]
UBUNTU: rebase to v2.6.38 final

Signed-off-by: Andy Whitcroft <apw@canonical.com>

13 years agoUBUNTU: Bump ABI
Andy Whitcroft [Mon, 14 Mar 2011 21:11:15 +0000 (21:11 +0000)]
UBUNTU: Bump ABI

Ignore: yes
Signed-off-by: Andy Whitcroft <apw@canonical.com>

13 years agoUBUNTU: [Config] disable CONFIG_SCSI_QLA_ISCSI for powerpc 32bit to fix FTBS
Andy Whitcroft [Mon, 14 Mar 2011 18:10:06 +0000 (18:10 +0000)]
UBUNTU: [Config] disable CONFIG_SCSI_QLA_ISCSI for powerpc 32bit to fix FTBS

Signed-off-by: Andy Whitcroft <apw@canonical.com>

13 years agoUBUNTU: rebase fixes bug #715330
Andy Whitcroft [Mon, 14 Mar 2011 15:09:15 +0000 (15:09 +0000)]
UBUNTU: rebase fixes bug #715330

Signed-off-by: Andy Whitcroft <apw@canonical.com>

13 years agoUBUNTU: rebase to 2fbfac4e053861925fa3fffcdc327649b09af54c
Andy Whitcroft [Mon, 14 Mar 2011 14:40:55 +0000 (14:40 +0000)]
UBUNTU: rebase to 2fbfac4e053861925fa3fffcdc327649b09af54c

Signed-off-by: Andy Whitcroft <apw@canonical.com>

13 years agoUBUNTU: [Confg] CONFIG_BOOT_PRINTK_DELAY=y
Tim Gardner [Fri, 11 Mar 2011 11:24:32 +0000 (04:24 -0700)]
UBUNTU: [Confg] CONFIG_BOOT_PRINTK_DELAY=y

Allows the boot parameter boot_delay=X

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>

13 years agoYama: use thread group leader when creating match
Kees Cook [Tue, 8 Mar 2011 02:36:03 +0000 (18:36 -0800)]
Yama: use thread group leader when creating match

Like the earlier bug-fix for thread group leader when matching,
we also need to find the thread group leader for "current" when
creating the match.

BugLink: http://bugs.launchpad.net/bugs/729839

Signed-off-by: Kees Cook <kees.cook@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>

13 years agoUBUNTU: Start new release
Andy Whitcroft [Mon, 14 Mar 2011 14:38:12 +0000 (14:38 +0000)]
UBUNTU: Start new release

Ignore: yes
Signed-off-by: Andy Whitcroft <apw@canonical.com>

13 years agoUBUNTU: Ubuntu-2.6.38-6.34
Andy Whitcroft [Tue, 8 Mar 2011 11:56:07 +0000 (11:56 +0000)]
UBUNTU: Ubuntu-2.6.38-6.34

Signed-off-by: Andy Whitcroft <apw@canonical.com>

13 years agoUBUNTU: rebase to mainline v2.6.38-rc8
Andy Whitcroft [Tue, 8 Mar 2011 11:51:58 +0000 (11:51 +0000)]
UBUNTU: rebase to mainline v2.6.38-rc8

Signed-off-by: Andy Whitcroft <apw@canonical.com>

13 years agoUBUNTU: Start new release
Andy Whitcroft [Tue, 8 Mar 2011 11:50:42 +0000 (11:50 +0000)]
UBUNTU: Start new release

Ignore: yes
Signed-off-by: Andy Whitcroft <apw@canonical.com>

13 years agoUBUNTU: SAUCE: KLUDGE: work around failed 'shrink-wrap' compiler optimisation
Andy Whitcroft [Tue, 8 Mar 2011 10:41:04 +0000 (10:41 +0000)]
UBUNTU: SAUCE: KLUDGE: work around failed 'shrink-wrap' compiler optimisation

We are getting internal GCC failures compiling on non-i386
architectures:

    .../drivers/isdn/gigaset/isocdata.c: In function 'gigaset_isoc_buildframe':
    .../drivers/isdn/gigaset/isocdata.c:496:1:
    internal compiler error: in dwarf2out_frame_debug_adjust_cfa, at dwarf2out.c:1861
    Please submit a full bug report,
    with preprocessed source if appropriate.
    See <file:///usr/share/doc/gcc-4.5/README.Bugs> for instructions.
    {standard input}: Assembler messages:
    {standard input}:1376: Error: open CFI at the end of file; missing
    .cfi_endproc directive
    make[5]: *** [drivers/isdn/gigaset/isocdata.o] Error 1

BugLink: http://bugs.launchpad.net/bugs/730860
Signed-off-by: Andy Whitcroft <apw@canonical.com>

13 years agoUBUNTU: [Config] normalise CONFIG_INTEL_TXT
Andy Whitcroft [Tue, 8 Mar 2011 09:23:09 +0000 (09:23 +0000)]
UBUNTU: [Config] normalise CONFIG_INTEL_TXT

Signed-off-by: Andy Whitcroft <apw@canonical.com>

13 years agoUBUNTU: Ubuntu-2.6.38-6.33
Andy Whitcroft [Mon, 7 Mar 2011 15:33:35 +0000 (15:33 +0000)]
UBUNTU: Ubuntu-2.6.38-6.33

Signed-off-by: Andy Whitcroft <apw@canonical.com>

13 years agoUBUNTU: [Config] pps_gen_parport no longer built
Andy Whitcroft [Mon, 7 Mar 2011 15:32:43 +0000 (15:32 +0000)]
UBUNTU: [Config] pps_gen_parport no longer built

Signed-off-by: Andy Whitcroft <apw@canonical.com>

13 years agoUBUNTU: [Config] update configs after rebase to fb62c00a6d8942775abc23d1621db1252e2d93d1
Andy Whitcroft [Mon, 7 Mar 2011 15:24:31 +0000 (15:24 +0000)]
UBUNTU: [Config] update configs after rebase to fb62c00a6d8942775abc23d1621db1252e2d93d1

Signed-off-by: Andy Whitcroft <apw@canonical.com>

13 years agoUBUNTU: SAUCE: (drop after 2.6.38) eeepc-wmi: add wlan key found on 1015P
Corentin Chary [Wed, 2 Mar 2011 16:57:57 +0000 (00:57 +0800)]
UBUNTU: SAUCE: (drop after 2.6.38) eeepc-wmi: add wlan key found on 1015P

BugLink: http://bugs.launchpad.net/bugs/689393
(cherry picked from commit 3e9153bad40cb40c8f91d9d2915ee28240c9200e linux-next)

Signed-off-by: Corentin Chary <corentincj@iksaif.net>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
Signed-off-by: Keng-Yu Lin <keng-yu.lin@canonical.com>
Acked-by: Brad Figg <brad.figg@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>

13 years agoUBUNTU: SAUCE: (drop after 2.6.38) eeepc-wmi: reorder keymap
Corentin Chary [Wed, 2 Mar 2011 16:57:56 +0000 (00:57 +0800)]
UBUNTU: SAUCE: (drop after 2.6.38) eeepc-wmi: reorder keymap

BugLink: http://bugs.launchpad.net/bugs/689393
(cherry picked from commit 0f8d4d6c6cc709d3f5328d9184898f0a46f94c7d linux-next)

Signed-off-by: Corentin Chary <corentincj@iksaif.net>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
Signed-off-by: Keng-Yu Lin <keng-yu.lin@canonical.com>
Acked-by: Brad Figg <brad.figg@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>

13 years agoUBUNTU: rebase to fb62c00a6d8942775abc23d1621db1252e2d93d1
Andy Whitcroft [Mon, 7 Mar 2011 11:42:24 +0000 (11:42 +0000)]
UBUNTU: rebase to fb62c00a6d8942775abc23d1621db1252e2d93d1

Signed-off-by: Andy Whitcroft <apw@canonical.com>

13 years agoUBUNTU: rebase fixes LP#715318
Andy Whitcroft [Wed, 2 Mar 2011 09:23:36 +0000 (09:23 +0000)]
UBUNTU: rebase fixes LP#715318

Ignore: yes
Signed-off-by: Andy Whitcroft <apw@canonical.com>

13 years agoUBUNTU: rebase to 2.6.38-rc7
Tim Gardner [Wed, 2 Mar 2011 03:13:21 +0000 (20:13 -0700)]
UBUNTU: rebase to 2.6.38-rc7

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>

13 years agoUBUNTU: rebase fixes LP#722925
Andy Whitcroft [Mon, 28 Feb 2011 17:26:51 +0000 (17:26 +0000)]
UBUNTU: rebase fixes LP#722925

Ignore: yes
Signed-off-by: Andy Whitcroft <apw@canonical.com>

13 years agoUBUNTU: SAUCE: Fix aufs calling of security_path_mknod
John Johansen [Thu, 24 Feb 2011 17:40:31 +0000 (09:40 -0800)]
UBUNTU: SAUCE: Fix aufs calling of security_path_mknod

BugLink: http://launchpad.net/bugs/724456

The security_path_mknod hook requires an encoded 'dev' for its 'dev' paramet
but aufs is calling security_path_mknod with a 'dev' that was already
converted by 'new_decode_dev(dev)'.  However security_path_mknod and its
consumer TOMOYO is expecting 'dev' rather than 'new_decode_dev(dev)'.

This will result in TOMOYO doing new_decode_dev(new_decode_dev(dev))
(which is wrong) when security_path_mknod() is called from aufs' vfsub_mknod

Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Signed-off-by: John Johansen <john.johansen@canonical.com>
Signed-off-by: Andy Whitcroft <apw@canonical.com>

13 years agoUBUNTU: SAUCE: proc: hide kernel addresses via %pK in /proc/<pid>/stack
Kees Cook [Thu, 24 Feb 2011 00:42:27 +0000 (16:42 -0800)]
UBUNTU: SAUCE: proc: hide kernel addresses via %pK in /proc/<pid>/stack

[in -mm as proc-hide-kernel-addresses-via-%pk-in-proc-pid-stack.patch]

OriginalAuthor: Konstantin Khlebnikov <khlebnikov@openvz.org>

This file is readable for the task owner.  Hide kernel addresses from
unprivileged users, leave them function names and offsets.

Signed-off-by: Konstantin Khlebnikov <khlebnikov@openvz.org>
Acked-by: Kees Cook <kees.cook@canonical.com>
Cc: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Andy Whitcroft <apw@canonical.com>

13 years agoUBUNTU: [Config] resync ppc64 configuration
Andy Whitcroft [Wed, 23 Feb 2011 19:33:38 +0000 (19:33 +0000)]
UBUNTU: [Config] resync ppc64 configuration

Reset us to the Ubuntu ppc64 configuration as cleaned up in the previous
commit.  Plus the following configuration tweaks:

    CONFIG_LOG_BUF_SHIFT=19
    CONFIG_PPC_SPLPAR=y
    CONFIG_EEH=y
    CONFIG_PSERIES_MSI=y
    CONFIG_PSERIES_ENERGY=y
    CONFIG_SCANLOG=y
    CONFIG_LPARCFG=y
    CONFIG_PPC_SMLPAR=y
    CONFIG_CMM=y
    CONFIG_DTL=y
    CONFIG_RTAS_FLASH=y
    CONFIG_IBMEBUS=y
    CONFIG_IRQ_ALL_CPUS=y
    CONFIG_MEMORY_HOTREMOVE=y
    CONFIG_COMPACTION=y
    # CONFIG_PPC_4K_PAGES is not set
    CONFIG_PPC_64K_PAGES=y
    CONFIG_FORCE_MAX_ZONEORDER=9
    CONFIG_PPC_SUBPAGE_PROT=y
    CONFIG_HOTPLUG_PCI_PCIE=y
    CONFIG_PCI_STUB=y
    CONFIG_PCI_IOV=y
    CONFIG_HOTPLUG_PCI=y
    # CONFIG_HOTPLUG_PCI_FAKE is not set
    # CONFIG_HOTPLUG_PCI_CPCI is not set
    CONFIG_HOTPLUG_PCI_SHPC=m
    CONFIG_HOTPLUG_PCI_RPA=y
    CONFIG_HOTPLUG_PCI_RPA_DLPAR=y
    CONFIG_BLK_DEV_SR_VENDOR=y
    CONFIG_SCSI_ENCLOSURE=m
    CONFIG_SCSI_IBMVSCSI=m
    CONFIG_SCSI_IBMVSCSIS=m
    CONFIG_SCSI_IBMVFC=m
    CONFIG_SCSI_IBMVFC_TRACE=y
    CONFIG_SCSI_IPR=m
    CONFIG_SCSI_IPR_TRACE=y
    CONFIG_SCSI_IPR_DUMP=y
    CONFIG_IBMVETH=m
    CONFIG_HVC_CONSOLE=y
    CONFIG_IBM_BSR=y
    CONFIG_HVCS=m
    CONFIG_MAX_RAW_DEVS=8192
    CONFIG_I2C_PASEMI=m
    CONFIG_POWER_SUPPLY=m
    CONFIG_SSB_PCMCIAHOST=y
    CONFIG_VGA_ARB_MAX_GPUS=64
    CONFIG_FB_VIRTUAL=m
    CONFIG_USB_OHCI_HCD_PPC_OF_LE=y
    CONFIG_EDAC_PASEMI=m
    CONFIG_EDAC_CPC925=m
    CONFIG_KVM_MMIO=y
    CONFIG_VIRTUALIZATION=y
    CONFIG_KVM=y
    CONFIG_KVM_BOOK3S_HANDLER=y
    CONFIG_KVM_BOOK3S_64_HANDLER=y
    CONFIG_KVM_BOOK3S_64=y

Signed-off-by: Andy Whitcroft <apw@canonical.com>

13 years agoUBUNTU: [Config] cleanup powerpc config fixing unexpected inconsistancies
Andy Whitcroft [Wed, 23 Feb 2011 19:30:24 +0000 (19:30 +0000)]
UBUNTU: [Config] cleanup powerpc config fixing unexpected inconsistancies

    CONFIG_CGROUP_CPUACCT=y
    CONFIG_RESOURCE_COUNTERS=y
    CONFIG_UTS_NS=y
    CONFIG_IPC_NS=y
    CONFIG_USER_NS=y
    CONFIG_PID_NS=y
    CONFIG_ELECTRA_CF=m
    CONFIG_IPV6_MULTIPLE_TABLES=y
    CONFIG_NETFILTER_XT_TARGET_RATEEST=m
    CONFIG_NETFILTER_XT_MATCH_IPRANGE=m
    CONFIG_NETFILTER_XT_MATCH_OWNER=m
    CONFIG_NETFILTER_XT_MATCH_RATEEST=m
    CONFIG_CONNECTOR=y
    CONFIG_PROC_EVENTS=y
    CONFIG_BLK_DEV_LOOP=y
    CONFIG_ENCLOSURE_SERVICES=m
    CONFIG_SCSI_MVSAS=m
    CONFIG_SCSI_QLA_ISCSI=m
    CONFIG_PATA_ALI=m
    CONFIG_PATA_ARTOP=m
    CONFIG_PATA_ATIIXP=m
    CONFIG_PATA_CMD64X=m
    CONFIG_PATA_CS5530=m
    CONFIG_PATA_CYPRESS=m
    CONFIG_PATA_HPT366=m
    CONFIG_PATA_HPT37X=m
    CONFIG_PATA_HPT3X2N=m
    CONFIG_PATA_HPT3X3=m
    CONFIG_PATA_NS87415=m
    CONFIG_PATA_OPTIDMA=m
    CONFIG_PATA_PDC_OLD=m
    CONFIG_PATA_RADISYS=m
    CONFIG_PATA_SC1200=m
    CONFIG_REALTEK_PHY=y
    CONFIG_NIU=m
    CONFIG_USB_NET_RNDIS_WLAN=m
    CONFIG_RTL8180=m
    CONFIG_ATH5K=m
    CONFIG_IWL4965=y
    CONFIG_PLX_HERMES=m
    CONFIG_TMD_HERMES=m
    CONFIG_NORTEL_HERMES=m
    CONFIG_USB_NET_ZAURUS=m
    CONFIG_ISDN=y
    CONFIG_ISDN_AUDIO=y
    CONFIG_ISDN_CAPI=m
    CONFIG_ISDN_CAPI_CAPI20=m
    CONFIG_ISDN_CAPI_CAPIDRV=m
    CONFIG_ISDN_CAPI_CAPIFS=m
    CONFIG_ISDN_CAPI_CAPIFS_BOOL=y
    CONFIG_ISDN_CAPI_MIDDLEWARE=y
    CONFIG_ISDN_DIVAS=m
    CONFIG_ISDN_DIVAS_BRIPCI=y
    CONFIG_ISDN_DIVAS_DIVACAPI=m
    CONFIG_ISDN_DIVAS_MAINT=m
    CONFIG_ISDN_DIVAS_PRIPCI=y
    CONFIG_ISDN_DIVAS_USERIDI=m
    CONFIG_ISDN_DIVERSION=m
    CONFIG_ISDN_DRV_ACT2000=m
    CONFIG_ISDN_DRV_AVMB1_AVM_CS=m
    CONFIG_ISDN_DRV_AVMB1_B1ISA=m
    CONFIG_ISDN_DRV_AVMB1_B1PCI=m
    CONFIG_ISDN_DRV_AVMB1_B1PCIV4=y
    CONFIG_ISDN_DRV_AVMB1_B1PCMCIA=m
    CONFIG_ISDN_DRV_AVMB1_C4=m
    CONFIG_ISDN_DRV_AVMB1_T1ISA=m
    CONFIG_ISDN_DRV_AVMB1_T1PCI=m
    CONFIG_ISDN_DRV_AVMB1_VERBOSE_REASON=y
    CONFIG_ISDN_DRV_GIGASET=m
    CONFIG_ISDN_DRV_HISAX=m
    CONFIG_ISDN_DRV_ICN=m
    CONFIG_ISDN_DRV_LOOP=m
    CONFIG_ISDN_DRV_PCBIT=m
    CONFIG_ISDN_DRV_SC=m
    CONFIG_ISDN_HDLC=m
    CONFIG_ISDN_I4L=m
    CONFIG_ISDN_MPP=y
    CONFIG_ISDN_PPP=y
    CONFIG_ISDN_PPP_VJ=y
    CONFIG_ISDN_TTY_FAX=y
    CONFIG_ISDN_X25=y
    CONFIG_NOZOMI=m
    CONFIG_CARDMAN_4000=m
    CONFIG_CARDMAN_4040=m
    CONFIG_IPWIRELESS=m
    CONFIG_SENSORS_ADS7828=m
    CONFIG_SENSORS_W83L786NG=m
    CONFIG_THERMAL=y
    CONFIG_VIDEO_EM28XX_ALSA=m
    CONFIG_USB_STKWEBCAM=m
    CONFIG_DVB_BUDGET_CORE=m
    CONFIG_DVB_BUDGET=m
    CONFIG_DVB_BUDGET_CI=m
    CONFIG_DVB_BUDGET_AV=m
    CONFIG_DVB_BUDGET_PATCH=m
    CONFIG_VGA_CONSOLE=y
    CONFIG_SND_OXYGEN=m
    CONFIG_SND_VIRTUOSO=m
    CONFIG_MEMSTICK=m
    # CONFIG_MEMSTICK_DEBUG is not set
    # CONFIG_MEMSTICK_UNSAFE_RESUME is not set
    CONFIG_MSPRO_BLOCK=m
    CONFIG_MEMSTICK_TIFM_MS=m
    CONFIG_MEMSTICK_JMICRON_38X=m
    CONFIG_DMADEVICES=y
    CONFIG_SCHED_TRACER=y
    CGROUP_MEM_RES_CTLR_SWAP=y
    CONFIG_CGROUP_MEM_RES_CTLR_SWAP=y
    CONFIG_SCSI_MVSAS_DEBUG=y
    CONFIG_ISDN_PPP_BSDCOMP=m
    # CONFIG_HISAX_NO_SENDCOMPLETE is not set
    # CONFIG_HISAX_NO_LLC is not set
    # CONFIG_HISAX_NO_KEYPAD is not set
    CONFIG_HISAX_HFCUSB=m
    CONFIG_CAPI_TRACE=y
    CONFIG_CAPI_EICON=y
    CONFIG_SERIAL_PCH_UART=m
    # CONFIG_VGACON_SOFT_SCROLLBACK is not set
    # CONFIG_ASYNC_TX_DMA is not set

Signed-off-by: Andy Whitcroft <apw@canonical.com>

13 years agoUBUNTU: [Config] debian PPC64 configuration
Andy Whitcroft [Tue, 15 Feb 2011 21:21:21 +0000 (21:21 +0000)]
UBUNTU: [Config] debian PPC64 configuration

Pull in very close to an 'preferred' configuration.

Signed-off-by: Andy Whitcroft <apw@canonical.com>

13 years agoUBUNTU: rebase fixes LP#721389
Andy Whitcroft [Mon, 28 Feb 2011 09:56:51 +0000 (09:56 +0000)]
UBUNTU: rebase fixes LP#721389

Ignore: yes

Signed-off-by: Andy Whitcroft <apw@canonical.com>

13 years agoUBUNTU: rebase to 493f3358cb289ccf716c5a14fa5bb52ab75943e5
Andy Whitcroft [Mon, 28 Feb 2011 09:41:17 +0000 (09:41 +0000)]
UBUNTU: rebase to 493f3358cb289ccf716c5a14fa5bb52ab75943e5

Signed-off-by: Andy Whitcroft <apw@canonical.com>

13 years agoUBUNTU: d-i -- enable speakup-modules udeb
Andy Whitcroft [Wed, 23 Feb 2011 11:40:38 +0000 (11:40 +0000)]
UBUNTU: d-i -- enable speakup-modules udeb

Add the speakup-modules udeb for the installer CDs

BugLink: http://bugs.launchpad.net/bugs/672699
Signed-off-by: Andy Whitcroft <apw@canonical.com>