{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

[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 ---

[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 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

[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

[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

[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 +++

[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 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

[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

[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

[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

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

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,

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

{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

[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 ---

[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:

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

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

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] 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,

[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

[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 [

[PATCH] Staging: rtl8187se: Fixed coding style issues.

2012-11-03 Thread Mladen Mijatov
Fixed coding style issues. --- drivers/staging/rtl8187se/r8185b_init.c | 57 --- 1 file changed, 30 insertions(+), 27 deletions(-) diff --git a/drivers/staging/rtl8187se/r8185b_init.c b/drivers/staging/rtl8187se/r8185b_init.c index bf34319..da4f592 100644 ---

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

2012-11-03 Thread Jiri Kosina
On Fri, 2 Nov 2012, Vivek Goyal wrote: > > With secure boot enabled, then the kernel should refuse to let an > > unsigned kexec load new images, and kexec itself should refuse to > > load unsigned images. > > Yep, good in theory. Now that basically means reimplementing kexec-tools > in kernel.

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

2012-11-03 Thread Sasha Levin
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/31/2012 04:59 PM, Sasha Levin wrote: >> So you

WARNING: at arch/x86/kernel/apic/ipi.c:109 default_send_IPI_mask_logical+0xaa/0xe0()

2012-11-03 Thread Justin P. Mattock
not sure what/where this is coming from.. seen this a few times already. [16870.135447] cfg80211: (525 KHz - 533 KHz @ 4 KHz), (300 mBi, 2000 mBm) [16870.135448] cfg80211: (549 KHz - 560 KHz @ 4 KHz), (300 mBi, 2000 mBm) [16870.135449] cfg80211: (565 KHz -

[PATCH] dma-debug: fix to not have dependency on get_dma_ops() interface

2012-11-03 Thread Shuah Khan
dma-debug depends on get_dma_ops() interface. Several architectures do not define dma_ops and get_dma_ops(). When dma debug interfaces are used on an architecture (e.g: c6x) that doesn't define get_dmap_ops(), compilation fails. Changing dma-debug to call dma_mapping_error() instead of defining

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

2012-11-03 Thread James Bottomley
On Sat, 2012-11-03 at 13:46 +, Matthew Garrett wrote: > On Sat, Nov 03, 2012 at 12:03:56PM +, James Bottomley wrote: > > On Sat, 2012-11-03 at 00:22 +, Matthew Garrett wrote: > > > Why would an attacker use one of those Linux systems? There's going to > > > be plenty available that

Re: [PATCH 8/9] isdn: Remove unused variable causing a compile build warning

2012-11-03 Thread Lee Jones
On Sat, 03 Nov 2012, Paul Bolle wrote: > On Sat, 2012-11-03 at 23:02 +0100, Lee Jones wrote: > > This patch fixes: > > drivers/isdn/i4l/isdn_common.c: In function ‘isdn_ioctl’: > > drivers/isdn/i4l/isdn_common.c:1278:8: warning: unused variable ‘s’ > > [-Wunused-variable] > > Did you have

Re: [PATCH 8/9] isdn: Remove unused variable causing a compile build warning

2012-11-03 Thread Paul Bolle
On Sat, 2012-11-03 at 23:02 +0100, Lee Jones wrote: > This patch fixes: > drivers/isdn/i4l/isdn_common.c: In function ‘isdn_ioctl’: > drivers/isdn/i4l/isdn_common.c:1278:8: warning: unused variable ‘s’ > [-Wunused-variable] Did you have CONFIG_NETDEVICES not set in this build? Paul Bolle --

Re: Re: [B.A.T.M.A.N.] [PATCH v2 9/9] net: batman-adv: use per_cpu_add helper

2012-11-03 Thread Sven Eckelmann
On Saturday 03 November 2012 12:58:45 Shan Wei wrote: > Sven Eckelmann said, at 2012/11/3 1:55: > > On Saturday 03 November 2012 00:02:06 Shan Wei wrote: > >> From: Shan Wei > >> > >> As Christoph Lameter said: > >>> In addition, following usage of per_cpu_ptr can be replaced by > >>>

[PATCH 3/9] x86: Suppress build warnings in quirks

2012-11-03 Thread Lee Jones
arch/x86/kernel/quirks.c: In function ‘ati_force_enable_hpet’: arch/x86/kernel/quirks.c:364:4: warning: ‘d’ may be used uninitialised in this function [-Wuninitialized] arch/x86/kernel/quirks.c:357:6: note: ‘d’ was declared here arch/x86/kernel/quirks.c:407:21: warning: ‘val’ may be used

[PATCH 5/9] ASoC: Only compile adav80x codec when a bus is defined

2012-11-03 Thread Lee Jones
If !CONFIG_SPI and !CONFIG_I2C* then there is no point adding support for the adav80x codec as it relies on a bus to operate. This patch fixes the build warnings below when SPI and I2C are not specified in the configuration. sound/soc/codecs/adav80x.c:842:22: warning: ‘adav80x_bus_probe’ defined

[PATCH 6/9] virtio_mmio: Cast [1].start to ‘unsigned int *’ to rid compiler warning

2012-11-03 Thread Lee Jones
drivers/virtio/virtio_mmio.c: In function ‘vm_cmdline_set’: drivers/virtio/virtio_mmio.c:535:4: warning: format ‘%u’ expects argument of type ‘unsigned int *’, but argument 4 has type ‘resource_size_t *’ [-Wformat] Cc: Rusty Russell Cc: virtualizat...@lists.linux-foundation.org Signed-off-by:

[PATCH 7/9] quota: Use the pre-processor to compile out quotactl_cmd_write when !CONFIG_BLOCK

2012-11-03 Thread Lee Jones
quotactl_cmd_write() is only ever invoked when BLOCK is configured. When !CONFIG_BLOCK, the build warning below is displayed. Let's fix that. fs/quota/quota.c:311:12: warning: ‘quotactl_cmd_write’ defined but not used [-Wunused-function] Cc: Jan Kara Signed-off-by: Lee Jones ---

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

2012-11-03 Thread Lee Jones
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...@lists.linux-foundation.org Cc: net...@vger.kernel.org

[PATCH 2/9] ARM: at91: Remove unused struct at91sam9g45_isi_device and its resources

2012-11-03 Thread Lee Jones
This the at91sam9g45_isi_device structure and its associated resources were added in 2008 and have been unused ever since. Let's remove them. Cc: Russell King Cc: linux-arm-ker...@lists.infradead.org Signed-off-by: Lee Jones --- arch/arm/mach-at91/at91sam9263_devices.c | 20

[PATCH 1/9] ARM: integrator: Remove unused icst_params lclk_params structure

2012-11-03 Thread Lee Jones
This was introduced way back before 2005 and has remained unused for over 7 years. Let's remove it. Cc: Russell King Cc: linux-arm-ker...@lists.infradead.org Signed-off-by: Lee Jones --- arch/arm/mach-integrator/cpu.c | 12 1 file changed, 12 deletions(-) diff --git

[PATCH 8/9] isdn: Remove unused variable causing a compile build warning

2012-11-03 Thread Lee Jones
This patch fixes: drivers/isdn/i4l/isdn_common.c: In function ‘isdn_ioctl’: drivers/isdn/i4l/isdn_common.c:1278:8: warning: unused variable ‘s’ [-Wunused-variable] Cc: Karsten Keil Cc: net...@vger.kernel.org Signed-off-by: Lee Jones --- drivers/isdn/i4l/isdn_common.c |1 - 1 file changed,

[PATCH 4/9] sched: Don't define unthrottle_offline_cfs_rqs when !CONFIG_SMP

2012-11-03 Thread Lee Jones
Since unthrottle_offline_cfs_rqs is only ever invoked when CONFIG_SMP let's pre-processor it out when SMP is not configured. This change suppresses the build error below when !CONFIG_SMP. kernel/sched/fair.c:2055:13: warning: ‘unthrottle_offline_cfs_rqs’ defined but not used [-Wunused-function]

[PATCH 0/9] Fixups for issues when running 'make randconfig'

2012-11-03 Thread Lee Jones
This patch-set is the result of fixing some problems encountered when building the kernel with randconfig and a when running a script I wrote to identify unused structures. arch/arm/mach-at91/at91sam9263_devices.c | 20 arch/arm/mach-integrator/cpu.c | 12

Re: [PATCH 3/3] i2c / ACPI: add ACPI enumeration support

2012-11-03 Thread Jean Delvare
On Sat, 3 Nov 2012 09:46:33 +0200, Mika Westerberg wrote: > ACPI 5 introduced I2cSerialBus resource that makes it possible to enumerate > and configure the I2C slave devices behind the I2C controller. This patch > adds helper functions to support I2C slave enumeration. > > An ACPI enabled I2C

Re: [PATCH -v3 0/7] x86: Use BRK to pre mapping page table to make xen happy

2012-11-03 Thread H. Peter Anvin
I am travelling at the moment... I hope to be able to look at it Sunday. Yinghai Lu wrote: >On Tue, Oct 30, 2012 at 7:47 AM, Yinghai Lu wrote: >> On Tue, Oct 30, 2012 at 6:44 AM, Konrad Rzeszutek Wilk >> wrote: >>> On Wed, Oct 10, 2012 at 11:13:45PM -0700, Yinghai Lu wrote: >>> So which

Re: [PATCH -v3 0/7] x86: Use BRK to pre mapping page table to make xen happy

2012-11-03 Thread Yinghai Lu
On Tue, Oct 30, 2012 at 7:47 AM, Yinghai Lu wrote: > On Tue, Oct 30, 2012 at 6:44 AM, Konrad Rzeszutek Wilk > wrote: >> On Wed, Oct 10, 2012 at 11:13:45PM -0700, Yinghai Lu wrote: >> So which branch should I try out? Do you have one with all of the >> required patches so I can just do a 3.7-rc3

[PATCH resend] printk: drop ambiguous LOG_CONT flag

2012-11-03 Thread Jan H . Schönherr
From: Jan H. Schönherr The meaning of LOG_CONT is unclear, i. e., whether a message is a starting, ending, or middle fragment. Unfortunately, this cannot be inferred from the LOG_PREFIX and LOG_NEWLINE flags, as they are not always kept. Furthermore, in some cases LOG_CONT is set, although it is

Re: [PATCH 2/3] spi / ACPI: add ACPI enumeration support

2012-11-03 Thread Rafael J. Wysocki
On Saturday, November 03, 2012 10:13:10 PM Mika Westerberg wrote: > On Sat, Nov 03, 2012 at 01:42:02PM -0600, Bjorn Helgaas wrote: > > On Sat, Nov 3, 2012 at 1:46 AM, Mika Westerberg > > wrote: > > > ACPI 5 introduced SPISerialBus resource that allows us to enumerate and > > > configure the SPI

Re: [PATCH 2/3] spi / ACPI: add ACPI enumeration support

2012-11-03 Thread Rafael J. Wysocki
On Saturday, November 03, 2012 01:42:02 PM Bjorn Helgaas wrote: > On Sat, Nov 3, 2012 at 1:46 AM, Mika Westerberg > wrote: > > ACPI 5 introduced SPISerialBus resource that allows us to enumerate and > > configure the SPI slave devices behind the SPI controller. This patch adds > > support for

[PATCH 4/8] fs/ext3/inode.c: drop if around WARN_ON

2012-11-03 Thread Julia Lawall
From: Julia Lawall Just use WARN_ON rather than an if containing only WARN_ON(1). A simplified version of the semantic patch that makes this transformation is as follows: (http://coccinelle.lip6.fr/) // @@ expression e; @@ - if (e) WARN_ON(1); + WARN_ON(e); // Signed-off-by: Julia Lawall

[PATCH 2/8] drivers/scsi/bfa/bfa_svc.c: drop if around WARN_ON

2012-11-03 Thread Julia Lawall
From: Julia Lawall Just use WARN_ON rather than an if containing only WARN_ON(1). A simplified version of the semantic patch that makes this transformation is as follows: (http://coccinelle.lip6.fr/) // @@ expression e; @@ - if (e) WARN_ON(1); + WARN_ON(e); // Signed-off-by: Julia Lawall

[PATCH 8/8] drivers/net/wireless/ath/ath6kl/hif.c: drop if around WARN_ON

2012-11-03 Thread Julia Lawall
From: Julia Lawall Just use WARN_ON rather than an if containing only WARN_ON(1). A simplified version of the semantic patch that makes this transformation is as follows: (http://coccinelle.lip6.fr/) // @@ expression e; @@ - if (e) WARN_ON(1); + WARN_ON(e); // Signed-off-by: Julia Lawall

[PATCH 7/8] drivers/scsi/scsi_transport_fc.c: drop if around WARN_ON

2012-11-03 Thread Julia Lawall
From: Julia Lawall Just use WARN_ON rather than an if containing only WARN_ON(1). A simplified version of the semantic patch that makes this transformation is as follows: (http://coccinelle.lip6.fr/) // @@ expression e; @@ - if (e) WARN_ON(1); + WARN_ON(e); // Signed-off-by: Julia Lawall

[PATCH 6/8] arch/arm/mach-omap2/dpll3xxx.c: drop if around WARN_ON

2012-11-03 Thread Julia Lawall
From: Julia Lawall Just use WARN_ON rather than an if containing only WARN_ON(1). A simplified version of the semantic patch that makes this transformation is as follows: (http://coccinelle.lip6.fr/) // @@ expression e; @@ - if (e) WARN_ON(1); + WARN_ON(e); // Signed-off-by: Julia Lawall

[PATCH 5/8] drivers/scsi/qla2xxx/qla_nx.c: drop if around WARN_ON

2012-11-03 Thread Julia Lawall
From: Julia Lawall Just use WARN_ON rather than an if containing only WARN_ON(1). A simplified version of the semantic patch that makes this transformation is as follows: (http://coccinelle.lip6.fr/) // @@ expression e; @@ - if (e) WARN_ON(1); + WARN_ON(e); // Signed-off-by: Julia Lawall

[PATCH 1/8] fs/btrfs: drop if around WARN_ON

2012-11-03 Thread Julia Lawall
From: Julia Lawall Just use WARN_ON rather than an if containing only WARN_ON(1). A simplified version of the semantic patch that makes this transformation is as follows: (http://coccinelle.lip6.fr/) // @@ expression e; @@ - if (e) WARN_ON(1); + WARN_ON(e); // Signed-off-by: Julia Lawall

[PATCH 0/8] drop if around WARN_ON

2012-11-03 Thread Julia Lawall
These patches convert a conditional with a simple test expression and a then branch that only calls WARN_ON(1) to just a call to WARN_ON, which will test the condition. // @@ expression e; @@ ( if(<+...e(...)...+>) WARN_ON(1); | - if (e) WARN_ON(1); + WARN_ON(e); )// -- To unsubscribe from

[PATCH 3/8] arch/x86/kernel/cpu/mtrr/cleanup.c: drop if around WARN_ON

2012-11-03 Thread Julia Lawall
From: Julia Lawall Just use WARN_ON rather than an if containing only WARN_ON(1). A simplified version of the semantic patch that makes this transformation is as follows: (http://coccinelle.lip6.fr/) // @@ expression e; @@ - if (e) WARN_ON(1); + WARN_ON(e); // Signed-off-by: Julia Lawall

Re: [ 243/262] NFS: Fix Oopses in nfs_lookup_revalidate and nfs4_lookup_revalidate

2012-11-03 Thread Myklebust, Trond
On Fri, 2012-09-28 at 11:52 -0700, Greg Kroah-Hartman wrote: > From: Greg KH > > 3.5-stable review patch. If anyone has any objections, please let me know. Hi Greg, Can we please apply this patch to the older stable kernels too? I see that Ben has already applied it to the 3.2 kernel, but it

Re: [PATCH 2/3] spi / ACPI: add ACPI enumeration support

2012-11-03 Thread Mika Westerberg
On Sat, Nov 03, 2012 at 01:42:02PM -0600, Bjorn Helgaas wrote: > On Sat, Nov 3, 2012 at 1:46 AM, Mika Westerberg > wrote: > > ACPI 5 introduced SPISerialBus resource that allows us to enumerate and > > configure the SPI slave devices behind the SPI controller. This patch adds > > support for this

Re: [tip:perf/core] perf tools: Remove the node from rblist in strlist__remove

2012-11-03 Thread Hannes Frederic Sowa
On Fri, Sep 7, 2012 at 8:04 AM, tip-bot for Suzuki K. Poulose wrote: > Reported-by: Ananth N. Mavinakayanahalli > Signed-off-by: Suzuki K. Poulose > Acked-by: David Ahern > Cc: Ananth N Mavinakayanahalli > Cc: David Ahern > Cc: Frederic Weisbecker > Cc: Ingo Molnar > Cc: Jiri Olsa > Cc:

Re: [ANNOUNCE] 3.6.5-rt14

2012-11-03 Thread Ove Karlsen
Den 01.11.2012 21:57, skrev Thomas Gleixner: Dear RT Folks, I'm pleased to announce the 3.6.5-rt14 release. 3.6.4-rt12 is an intermediate release with a few changes. 3.6.5-rt13 is an update to 3.6.5 and 3.6.5-rt14 has a fix for my stupidity to release from the wrong tree missing a fix for

[PATCH] scripts/coccinelle/misc/warn.cocci: use WARN

2012-11-03 Thread Julia Lawall
From: Julia Lawall Use WARN(1,...) rather than printk followed by WARN(1). Signed-off-by: Julia Lawall --- scripts/coccinelle/misc/warn.cocci | 109 + 1 file changed, 109 insertions(+) diff --git a/scripts/coccinelle/misc/warn.cocci

[GIT PULL] Please pull NFS client bugfixes

2012-11-03 Thread Myklebust, Trond
Hi Linus, The following changes since commit 08f05c49749ee655bef921d12160960a273aad47: Return the right error value when dup[23]() newfd argument is too large (2012-10-30 21:27:28 -0700) are available in the git repository at: git://git.linux-nfs.org/projects/trondmy/linux-nfs.git

Re: [PATCH] atp: remove set_rx_mode_8012()

2012-11-03 Thread David Miller
From: Paul Bolle Date: Sat, 03 Nov 2012 10:53:15 +0100 > Building atp.o triggers this GCC warning: > drivers/net/ethernet/realtek/atp.c: In function ‘set_rx_mode’: > drivers/net/ethernet/realtek/atp.c:871:26: warning: ‘mc_filter[0]’ may be > used uninitialized in this function

Re: [PATCH 10/16] drivers/net/ethernet/ibm/emac/mal.c: use WARN

2012-11-03 Thread David Miller
From: Julia Lawall Date: Sat, 3 Nov 2012 11:58:31 +0100 > From: Julia Lawall > > Use WARN rather than printk followed by WARN_ON(1), for conciseness. > > A simplified version of the semantic patch that makes this transformation > is as follows: (http://coccinelle.lip6.fr/) ... >

Re: [PATCH 2/3] spi / ACPI: add ACPI enumeration support

2012-11-03 Thread Bjorn Helgaas
On Sat, Nov 3, 2012 at 1:46 AM, Mika Westerberg wrote: > ACPI 5 introduced SPISerialBus resource that allows us to enumerate and > configure the SPI slave devices behind the SPI controller. This patch adds > support for this to the SPI core. > > In addition we bind ACPI nodes to SPI devices. This

Re: [PATCH] ARM: OMAP2+: AM33XX: clock data: fix mcasp entries

2012-11-03 Thread Joel A Fernandes
Hi Gururaja, On Wed, Oct 31, 2012 at 12:39 AM, Hebbar, Gururaja wrote: > On Wed, Oct 31, 2012 at 01:58:32, Joel A Fernandes wrote: >> Hi Gururaja, >> >> On Mon, Oct 29, 2012 at 10:45 AM, Hebbar, Gururaja >> wrote: >> > Matt, >> > >> > On Wed, Oct 10, 2012 at 20:00:49, Porter, Matt wrote: >> >>

Re: [PATCH] [trivial] net: bnx2x: Fix typo in bnx2x driver

2012-11-03 Thread David Miller
From: Masanari Iida Date: Fri, 2 Nov 2012 23:36:17 +0900 > Correct spelling typo in bnx2x driver > > Signed-off-by: Masanari Iida Applied. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: [PATCH v2] r8169: Fix WoL on RTL8168d/8111d.

2012-11-03 Thread David Miller
From: Francois Romieu Date: Thu, 1 Nov 2012 23:21:13 +0100 > Cyril Brulebois : >> This regression was spotted between Debian squeeze and Debian wheezy >> kernels (respectively based on 2.6.32 and 3.2). More info about >> Wake-on-LAN issues with Realtek's 816x chipsets can be found in the >>

Re: [PATCH] drivers/net: use tasklet_kill in device remove/close process

2012-11-03 Thread David Miller
From: Xiaotian Feng Date: Wed, 31 Oct 2012 18:29:57 +0800 > Some driver uses tasklet_disable in device remove/close process, > tasklet_disable will inc tasklet->count and return. If the tasklet > is not handled yet because some softirq pressure, the tasklet will > placed on the tasklet_vec,

Re: [PATCH 3/3] tipc: do not use tasklet_disable before tasklet_kill

2012-11-03 Thread David Miller
From: Xiaotian Feng Date: Wed, 31 Oct 2012 16:06:01 +0800 > If tasklet_disable() is called before related tasklet handled, > tasklet_kill will never be finished. tasklet_kill is enough. > > Signed-off-by: Xiaotian Feng Applied. -- To unsubscribe from this list: send the line "unsubscribe

Re: [PATCH] net/at91_ether: fix the use of macb structure

2012-11-03 Thread David Miller
From: Nicolas Ferre Date: Tue, 30 Oct 2012 12:30:28 +0100 > Due to the use of common structure in at91_ether and macb drivers, > change the name of DMA descriptor structures in at91_ether as well: > dma_desc => macb_dma_desc > > Signed-off-by: Nicolas Ferre This does not apply to net-next,

Re: [PATCH v4 6/9] compiler.h, bug.h: Prevent double error messages with BUILD_BUG{,_ON}

2012-11-03 Thread Daniel Santos
On 10/31/2012 06:06 AM, Borislav Petkov wrote: >> Realistically, a single macro could be defined in compiler*.h that >> encapsulates the entirety of this mechanism and only exposes a "black >> box" macro, that will simply expand to something that breaks the build >> in the most appropriate fashion

Re: [REGRESSION] i915: failure to interoperate with HP ZR30w using an X230

2012-11-03 Thread Theodore Ts'o
On Sat, Nov 03, 2012 at 11:21:58AM +0100, Daniel Vetter wrote: > > Well, we know for sure that fdi link training is broken - it doesn't match > at all what the spec says we should do. I've been working on this lately, > since in quite a few circumstances the link train fails without the >

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

2012-11-03 Thread Jiri Slaby
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/31/2012 04:59 PM, Sasha Levin wrote: > So you probably want a lot more than 100k syscalls, why

Re: [PATCH] Staging: Android: logger: module_exit implementationg

2012-11-03 Thread Luca Clementi
On Fri, Nov 2, 2012 at 11:29 AM, Greg Kroah-Hartman wrote: > On Thu, Nov 01, 2012 at 11:15:52PM -0700, Luca Clementi wrote: >> Created the module_exit for the android logger so that >> it can be loaded and unloaded as a module. Fixed >> module_init and some other minor issues. > > That's doing

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

2012-11-03 Thread Bjorn Helgaas
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 the >> > device will trigger deadlock as follow: >> > >> > -

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

2012-11-03 Thread Bjorn Helgaas
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 as >> > MSI shutdown etc, so resume device before shutdown. >>

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

2012-11-03 Thread Matthew Garrett
On Sat, Nov 03, 2012 at 12:37:44PM -0400, Eric Paris wrote: > On Sat, Nov 3, 2012 at 12:31 PM, Alan Cox wrote: > >> You're guaranteed to be able > >> to do this on any Windows 8 certified hardware. > > > > Thats not my understanding of the situation. > > Windows 8 certification has this as a

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

2012-11-03 Thread Matthew Garrett
On Sat, Nov 03, 2012 at 04:31:52PM +, Alan Cox wrote: > > You're guaranteed to be able > > to do this on any Windows 8 certified hardware. > > Thats not my understanding of the situation. "17. Mandatory. On non-ARM systems, the platform MUST implement the ability for a physically present

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

2012-11-03 Thread Eric Paris
On Sat, Nov 3, 2012 at 12:31 PM, Alan Cox wrote: >> You're guaranteed to be able >> to do this on any Windows 8 certified hardware. > > Thats not my understanding of the situation. Windows 8 certification has this as a requirement for x86 hardware. I belied the opposite is a requirement for arm

Re: [patch,v2 05/10] sd: use alloc_disk_node

2012-11-03 Thread Bart Van Assche
On 11/02/12 22:45, Jeff Moyer wrote: Signed-off-by: Jeff Moyer --- drivers/scsi/sd.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/scsi/sd.c b/drivers/scsi/sd.c index 12f6fdf..8deb915 100644 --- a/drivers/scsi/sd.c +++ b/drivers/scsi/sd.c @@ -2714,7

Re: [patch,v2 04/10] scsi: allocate scsi_cmnd-s from the device's local numa node

2012-11-03 Thread Bart Van Assche
On 11/02/12 22:45, Jeff Moyer wrote: diff --git a/drivers/scsi/scsi.c b/drivers/scsi/scsi.c index 2936b44..4db6973 100644 --- a/drivers/scsi/scsi.c +++ b/drivers/scsi/scsi.c @@ -173,16 +173,20 @@ static DEFINE_MUTEX(host_cmd_pool_mutex); * NULL on failure */ static struct scsi_cmnd *

Re: Linux 3.7-rc3

2012-11-03 Thread Alan Stern
On Fri, 2 Nov 2012, Linus Torvalds wrote: > On Fri, Nov 2, 2012 at 3:43 PM, Rafael J. Wysocki wrote: > > > > Well, not everything is rosy in the suspend land, though. This is a > > failure to freeze khubd during the second in a row attempt to suspend to > > RAM (your current tree): > > Ugh. So

Re: [patch,v2 01/10] scsi: add scsi_host_alloc_node

2012-11-03 Thread Bart Van Assche
On 11/02/12 22:45, Jeff Moyer wrote: diff --git a/drivers/scsi/hosts.c b/drivers/scsi/hosts.c index 593085a..7d7ad8b 100644 --- a/drivers/scsi/hosts.c +++ b/drivers/scsi/hosts.c @@ -336,16 +336,25 @@ static struct device_type scsi_host_type = { **/ struct Scsi_Host *scsi_host_alloc(struct

Re: [PATCH 10/16] drivers/net/ethernet/ibm/emac/mal.c: use WARN

2012-11-03 Thread Julia Lawall
While looking i have noticed that a lot of drivers define there private "assert" macro. It is very similar to warn. (e.g.) #define RTL819x_DEBUG #ifdef RTL819x_DEBUG #define assert(expr) \ if (!(expr)) { \ printk( "Assertion failed!

Re: [PATCH 6/9] uprobes: flush cache after xol write

2012-11-03 Thread Oleg Nesterov
On 10/29, Ananth N Mavinakayanahalli wrote: > > On Fri, Oct 26, 2012 at 06:39:51PM +0200, Oleg Nesterov wrote: > > > > > > > OTOH, I do not understand this stuff, everything is nop on x86. And > > > > when I look into Documentation/cachetlb.txt I am starting to think > > > > that may be this needs

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

2012-11-03 Thread Alan Cox
> You're guaranteed to be able > to do this on any Windows 8 certified hardware. Thats not my understanding of the situation. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: [PATCH 10/16] drivers/net/ethernet/ibm/emac/mal.c: use WARN

2012-11-03 Thread walter harms
Am 03.11.2012 15:14, schrieb Julia Lawall: > On Sat, 3 Nov 2012, walter harms wrote: > >> >> >> Am 03.11.2012 11:58, schrieb Julia Lawall: >>> From: Julia Lawall >>> >>> Use WARN rather than printk followed by WARN_ON(1), for conciseness. >>> >>> A simplified version of the semantic patch that

[PATCH 2/3] cputime: Allow dynamic switch between tick/virtual based cputime accounting

2012-11-03 Thread Frederic Weisbecker
Allow to dynamically switch between tick and virtual based cputime accounting. This way we can provide a kind of "on-demand" virtual based cputime accounting. In this mode, the kernel will rely on the user hooks subsystem to dynamically hook on kernel boundaries. This is in preparation for beeing

[PATCH 3/3] cputime: Generic on-demand virtual cputime accounting

2012-11-03 Thread Frederic Weisbecker
If we want to stop the tick further idle, we need to be able to account the cputime without using the tick. Virtual based cputime accounting solves that problem by hooking into kernel/user boundaries. However implementing CONFIG_VIRT_CPU_ACCOUNTING require to set low level hooks and involves

[PATCH 1/3] context_tracking: New context tracking susbsystem

2012-11-03 Thread Frederic Weisbecker
Create a new subsystem that probes on kernel boundaries to keep track of the transitions between level contexts with two basic initial contexts: user or kernel. This is an abstraction of some RCU code that use such tracking to implement its userspace extended quiescent state. We need to pull

[PATCH 0/3] cputime: Generic virtual based cputime accounting v4

2012-11-03 Thread Frederic Weisbecker
Hi, I'm back on this patchset now that the necessary cputime cleanups are merged, although more cputime consolidation as in the ctx switch and tick path should also be done in the future, when I'll get time to cleanup the s390 part. So this version of the generic vtime is essentially a rebase

[ACPIHP PATCH part1 4/4] ACPIHP: implement a fake ACPI system device hotplug slot enumerator

2012-11-03 Thread Jiang Liu
This patch implements a fake ACPI system device hotplug slot enumerator, which could be used to test and verify hotplug logic on platforms with hardware hotplug capabilities. The fake slot enumerator will be enabled by passing module parameter "fake_slot=value". The encoding of "value" is: 0x1:

[ACPIHP PATCH part1 3/4] ACPIHP: detect ACPI hotplug slots by checking ACPI _EJ0 method

2012-11-03 Thread Jiang Liu
This patch implements a default mechanism to detect and manage ACPI system device hotplug slots based on standard ACPI interfaces. 1) Detech hotplug slot by checking existence of _EJ0 and _STA methods. 2) Power off a slot by evaluating _EJ0 method. It's the default hotplug slot enumerating

[ACPIHP PATCH part1 2/4] ACPIHP: introduce acpihp_slot driver to enumerate hotplug slots

2012-11-03 Thread Jiang Liu
An ACPI hotplug slot is an abstraction of receptacles, where a group of system devices could be connected to. This patch implements the skeleton of the ACPI system device hotplug slot enumerator. On loading, it scans the whole ACPI namespace for hotplug slots and creates a device node for each

[ACPIHP PATCH part1 1/4] ACPIHP: introduce a framework for ACPI based system device hotplug

2012-11-03 Thread Jiang Liu
Modern high-end servers may support advanced RAS features, such as system device dynamic reconfiguration. On x86 and IA64 platforms, system device means processor(CPU), memory device, PCI host bridge and even computer node. The ACPI specifications have provided standard interfaces between

[ACPIHP PATCH part1 0/4] introduce a framework for ACPI based system device hotplug

2012-11-03 Thread Jiang Liu
Modern high-end servers may support advanced RAS features, such as system device dynamic reconfiguration. On x86 and IA64 platforms, system device means processor(CPU), memory device, PCI host bridge and even computer node. The ACPI specifications have provided standard interfaces between

Re: [PATCH v2] proc: add "Seccomp" to status

2012-11-03 Thread Kees Cook
On Sat, Nov 3, 2012 at 4:51 AM, Vasiliy Kulikov wrote: > On Thu, Nov 01, 2012 at 11:35 -0700, Kees Cook wrote: >> @@ -327,6 +327,13 @@ static inline void task_cap(struct seq_file *m, struct >> task_struct *p) >> render_cap_t(m, "CapBnd:\t", _bset); >> } >> >> +static inline void

  1   2   3   4   5   >