[PATCH] Call perf_event_comm under task_lock

2012-11-03 Thread Hannes Frederic Sowa
Following RCU warning showed up while executing a script under perf-record (could even be an empty script) on a 3.6.5 stable kernel: [ 735.600772] [ 735.600866] === [ 735.600939] [ INFO: suspicious RCU usage. ] [ 735.601004] 3.6.5+ #1 Not tainted [ 735.60

[PATCH] [RFC] regmap: Add no-"bus" configuration possibility

2012-11-03 Thread Andrey Smirnov
This patch proposes extension to the API that was suggested by Mark in the following thread: http://article.gmane.org/gmane.linux.kernel/1383734 The idea behind extensions is to allow the devices that expose some register-like interface but whose protocol for reading or writing those registers cou

Re: [PATCH] hid-apple.c: Set APPLE_ISO_KEYBOARD at USB_DEVICE_ID_APPLE_GEYSER4_HF_ISO

2012-11-03 Thread Jiri Kosina
On Sat, 3 Nov 2012, Johannes Thumshirn wrote: > Set APPLE_ISO_KEYBOARD flag on USB_DEVICE_ID_APPLE_GEYSER4_HF_ISO so we get > the ISO translation on German keyboards for the MacBook4,1 as well. > > Signed-off-by: Johannes Thumshirn > --- > drivers/hid/hid-apple.c |3 ++- > 1 file changed, 2

Re: drm i915 hangs on heavy io load

2012-11-03 Thread Norbert Preining
Hi all, On Di, 30 Okt 2012, Dave Airlie wrote: > I would suggest starting a bisect on drivers/gpu/drm/i915 from 3.6 > final to 3.7-rc1 or maybe -rc2. Sorry for my ignorance ... I did on master branch $ git checkout v3.7-rc1 ... $ git bisect start drivers/gpu/drm/i915

Re: [PATCH 21/21] TTY: move tty buffers to tty_port

2012-11-03 Thread Sasha Levin
On 11/03/2012 07:06 PM, Sasha Levin wrote: > On 11/03/2012 11:55 AM, Jiri Slaby wrote: >> On 11/03/2012 03:03 AM, Sasha Levin wrote: >>> On 11/02/2012 12:18 PM, Jiri Slaby wrote: On 11/02/2012 05:07 PM, Sasha Levin wrote: > On Fri, Nov 2, 2012 at 11:51 AM, Jiri Slaby wrote: >> On 10/3

Fwd: Re: Scheduler queues for less os-jitter?

2012-11-03 Thread Uwaysi Bin Kareem
--- Forwarded message --- From: "Uwaysi Bin Kareem" To: "Mike Galbraith" Cc: Subject: Re: Scheduler queues for less os-jitter? Date: Sun, 04 Nov 2012 02:19:39 +0100 On Thu, 11 Oct 2012 04:46:34 +0200, Mike Galbraith wrote: On Wed, 2012-10-10 at 20:13 +0200, Uwaysi Bin Kareem wrote:

[PATCH] wireless: iwlwifi - add dma_mapping_error() checks to avoid warnings

2012-11-03 Thread Shuah Khan
Add missing dma_mapping_error() checks to validate dma addresses returned by dma_map_page() calls to avoid the following warning: [ 28.475686] WARNING: at lib/dma-debug.c:933 check_unmap+0x459/0x8a0() [ 28.475688] Hardware name: HP EliteBook 6930p [ 28.475690] iwlwifi :03:00.0: DMA-API:

[PATCH] h8300: add missing L1_CACHE_SHIFT

2012-11-03 Thread Fengguang Wu
To fix build error lib/atomic64.c: In function 'lock_addr': lib/atomic64.c:40:11: error: 'L1_CACHE_SHIFT' undeclared (first use in this function) lib/atomic64.c:40:11: note: each undeclared identifier is reported only once for each function it appears in Signed-off-by: Fengguang Wu --- arch/h

{Spam?} web mail active account problem service upgrade against spam and virus

2012-11-03 Thread Webmail System Administrator
Help protect unwanted spam and delete virus from your webmail account by clicking the link below to upgrade and protect your account from unwanted spam and spy, virus from your account You have exceeded your email limit quota of 2GB. You need to upgrade your email limit quota to 10GB within the

Re: [BUGFIX 1/2] PCI/PM: Fix deadlock when unbind device if its parent in D3cold

2012-11-03 Thread Huang Ying
On Sat, 2012-11-03 at 11:22 -0600, Bjorn Helgaas wrote: > On Fri, Nov 2, 2012 at 11:06 PM, Huang Ying wrote: > > On Fri, 2012-11-02 at 10:50 -0600, Bjorn Helgaas wrote: > >> On Wed, Oct 24, 2012 at 12:54 AM, Huang Ying wrote: > >> > If a PCI device and its parents are put into D3cold, unbinding t

Re: [BUGFIX 2/2] PCI/PM: Resume device before shutdown

2012-11-03 Thread Huang Ying
On Sat, 2012-11-03 at 11:21 -0600, Bjorn Helgaas wrote: > On Fri, Nov 2, 2012 at 11:05 PM, Huang Ying wrote: > > On Fri, 2012-11-02 at 10:52 -0600, Bjorn Helgaas wrote: > >> On Wed, Oct 24, 2012 at 12:54 AM, Huang Ying wrote: > >> > Some actions during shutdown need device to be in D0 state, such

Re: [RFC] Second attempt at kernel secure boot support

2012-11-03 Thread Matthew Garrett
On Sat, Nov 03, 2012 at 10:56:40PM +, James Bottomley wrote: > On Sat, 2012-11-03 at 13:46 +, Matthew Garrett wrote: > > I... what? Our signed bootloader will boot our signed kernel without any > > physically present end-user involvement. We therefore need to make it > > as difficult as p

[PATCH 8/8] PCI, ACPI: reserve fw allocated resource for hot added root bus

2012-11-03 Thread Yinghai Lu
FW could already allocate resource in pci bar registers, and we need to reserve it before try to allocate another one. Signed-off-by: Yinghai Lu --- drivers/acpi/pci_root.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/drivers/acpi/pci_root.c b/drivers/acpi/pci_root

[PATCH 1/8] PCI, x86: Separate out pcibios_allocate_bridge_resources()

2012-11-03 Thread Yinghai Lu
Thus pcibios_allocate_bus_resources() could more simple and clean. Signed-off-by: Yinghai Lu Cc: x...@kernel.org --- arch/x86/pci/i386.c | 46 -- 1 files changed, 24 insertions(+), 22 deletions(-) diff --git a/arch/x86/pci/i386.c b/arch/x86/pci/i386

[PATCH 2/8] PCI, x86: Separate out pcibios_allocate_dev_resources()

2012-11-03 Thread Yinghai Lu
Thus pcibios_allocate_resources() could more simple and clean. Signed-off-by: Yinghai Lu Cc: x...@kernel.org --- arch/x86/pci/i386.c | 42 +++--- 1 files changed, 23 insertions(+), 19 deletions(-) diff --git a/arch/x86/pci/i386.c b/arch/x86/pci/i386.c index

[PATCH 4/8] PCI, x86: Separate out rom resource claim

2012-11-03 Thread Yinghai Lu
So could use it with hot-added root bus later. -v2: remove extra functions. Signed-off-by: Yinghai Lu Cc: x...@kernel.org --- arch/x86/pci/i386.c | 52 ++ 1 files changed, 35 insertions(+), 17 deletions(-) diff --git a/arch/x86/pci/i386.c b/arc

[PATCH 5/8] PCI, x86: Add pcibios_fw_addr_done

2012-11-03 Thread Yinghai Lu
Use it to skip not needed function after pcibios_fw_addr_list_del is called. for pci root bus hot add, we will need to use pcibios_allocate_dev_resources(), and don't want to mess up with fw_addr, for hot-add removing path. Signed-off-by: Yinghai Lu Cc: x...@kernel.org --- arch/x86/pci/i386.c |

[PATCH 6/8] PCI, x86: Remove __init for hw/fw allocated functions

2012-11-03 Thread Yinghai Lu
will need it for hot add path. Signed-off-by: Yinghai Lu Cc: x...@kernel.org --- arch/x86/pci/i386.c | 12 ++-- 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/arch/x86/pci/i386.c b/arch/x86/pci/i386.c index edfc376..1806e91 100644 --- a/arch/x86/pci/i386.c +++ b/arch/x8

[PATCH 7/8] PCI, x86: Claim FW allocated resources in hot add path.

2012-11-03 Thread Yinghai Lu
During testing remove/rescan root bus 00, found [ 338.142574] bus: 'pci': really_probe: probing driver ata_piix with device :00:01.1 [ 338.146788] ata_piix :00:01.1: device not available (can't reserve [io 0x01f0-0x01f7]) [ 338.150565] ata_piix: probe of :00:01.1 failed with error

[PATCH 0/8] PCI, ACPI, x86: Reserve fw allocated resource for hot-add root bus

2012-11-03 Thread Yinghai Lu
For root bus hot add, fw could assign some resource for the devices for that root bus before notifying os via acpi, we should check and use those resources at first just like we do for booting path. At first, we need to refactor x86 pci pcibios_allocate related functions for booting path to take b

[PATCH 3/8] PCI, x86: Let pcibios_allocate_bus_resources() take bus instead

2012-11-03 Thread Yinghai Lu
Will need call the same code for one single root bus during hot add. So make it take bus instead of bus list. Signed-off-by: Yinghai Lu Cc: x...@kernel.org --- arch/x86/pci/i386.c | 38 +- 1 files changed, 25 insertions(+), 13 deletions(-) diff --git a/arch

[PATCH 1/2] HDA: Fix digital microphone on CS420x

2012-11-03 Thread Daniel J Blueman
Correctly enable the digital microphones with the right bits in the right coeffecient registers on Cirrus CS4206/7 codecs. It also prevents misconfiguring ADC1/2. This fixes the digital mic on the Macbook Pro 10,1/Retina. Based-on-patch-by: Alexander Stein Signed-off-by: Daniel J Blueman ---

[PATCH 2/2] HDA: Mark CS260x immutable structures const

2012-11-03 Thread Daniel J Blueman
Mark structures that won't change const. Signed-off-by: Daniel J Blueman --- sound/pci/hda/patch_cirrus.c |5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/sound/pci/hda/patch_cirrus.c b/sound/pci/hda/patch_cirrus.c index 859a119..d5f3a26 100644 --- a/sound/pci/hda/patc

{Spam?} web mail active account problem service upgrade against spam and virus

2012-11-03 Thread Webmail System Administrator
Help protect unwanted spam and delete virus from your webmail account by clicking the link below to upgrade and protect your account from unwanted spam and spy, virus from your account You have exceeded your email limit quota of 2GB. You need to upgrade your email limit quota to 10GB within the

Re: [PATCH 9/9] Avoid 'statement with no effect' compiler warnings

2012-11-03 Thread David Miller
From: Lee Jones Date: Sat, 3 Nov 2012 23:02:30 +0100 > Instead of issuing (0) statements when !CONFIG_SYSFS which will cause > 'warning: ', we'll use inline statements instead. This will effectively > do the same thing, but suppress any unnecessary warnings. > > Cc: Stephen Hemminger > Cc: bri

Re: [PATCH v2 net-next] r8169: enable internal ASPM and clock request settings

2012-11-03 Thread David Miller
From: Hayes Wang Date: Fri, 2 Nov 2012 10:46:28 +0800 > The following chips need to enable internal settings to let ASPM > and clock request work. > > RTL8111E-VL, RTL8111F, RTL8411, RTL8111G > RTL8105, RTL8402, RTL8106 > > Signed-off-by: Hayes Wang Francois? -- To unsubscribe from this list:

Re: drm i915 hangs on heavy io load

2012-11-03 Thread Dave Airlie
On Sun, Nov 4, 2012 at 10:44 AM, Norbert Preining wrote: > Hi all, > > On Di, 30 Okt 2012, Dave Airlie wrote: >> I would suggest starting a bisect on drivers/gpu/drm/i915 from 3.6 >> final to 3.7-rc1 or maybe -rc2. > > Sorry for my ignorance ... I did on master branch > $ git checkout v3.7

Re: [ 35/54] ARM: SAMSUNG: Add naming of s3c64xx-spi devices

2012-11-03 Thread Colin Cross
On Mon, Oct 29, 2012 at 2:40 PM, Greg Kroah-Hartman wrote: > 3.4-stable review patch. If anyone has any objections, please let me know. > > -- > > From: Heiko Stuebner > > commit 308b3afb97dc342e9c4f958d8b4c459ae0e22bd7 upstream. > > Commit a5238e360b71 (spi: s3c64xx: move contro

<    1   2   3