[PATCH 3/12] ARM: shmobile: Drop r8a7779_add_device_to_domain()

2012-08-06 Thread Rafael J. Wysocki
If the r8a7779's PM domains are given names, this SoC and its boards will be able to use rmobile_add_device_to_domain() for adding devices to those domains and r8a7779_add_device_to_domain(), which is not used anywhere at the moment anyway, may be dopped. Accordingly, give names to the r8a7779's

[PATCH 4/12] PM / Domains: Make it possible to use names when adding subdomains

2012-08-06 Thread Rafael J. Wysocki
Add a new helper function, pm_genpd_add_subdomain_names(), allowing the caller to add a subdomain to a generic PM domain using names for domain identification (both domains have to be initialized before). This function is useful for adding subdomains to PM domains whose representations are stored

RE: [linux-pm] [PATCH] ACPI: replace strlen("string") with sizeof("string") -1

2012-08-06 Thread Daniel Taylor
Silly question: when did sizeof("string") get changed to be anything other than the size of the pointer ("string" is, after all, an array of characters)? > -Original Message- > From: linux-kernel-ow...@vger.kernel.org > [mailto:linux-kernel-ow...@vger.kernel.org] On Behalf Of Alan Stern

Re: [PATCH 00/13] SCTP: Enable netns

2012-08-06 Thread Eric W. Biederman
Vlad Yasevich writes: > On 08/06/2012 04:47 PM, David Miller wrote: >> From: ebied...@xmission.com (Eric W. Biederman) >> Date: Mon, 06 Aug 2012 12:50:46 -0700 >> >>> Vlad Yasevich writes: >>> >>> Hi Eric Associations are looked up by ports, but then verifyed by addresses. Al

Re: [ibm-acpi-devel] [PATCH] thinkpad-acpi: recognize latest V-Series using DMI_BIOS_VENDOR

2012-08-06 Thread Henrique de Moraes Holschuh
On Mon, 06 Aug 2012, manoj.i...@canonical.com wrote: > From: Manoj Iyer > > In the latest V-series bios DMI_PRODUCT_VERSION does not contain > the string Lenovo or Thinkpad, but is set to the model number, this > causes the thinkpad_acpi module to fail to load. Recognize laptop > as Lenovo using

Re: [PATCH V2 1/4] EFI: Stash ROMs if they're not in the PCI BAR

2012-08-06 Thread Francois Rigaut
On Mon 06 Aug 2012 23:49:33 EST, Seth Forshee wrote: On Sat, Aug 04, 2012 at 03:44:14PM +1000, Francois Rigaut wrote: Seth, [CC'd people, sorry we exchanged a few emails with Seth outside of the lists, I passed him the acpi tables and here are gmux dumps] Allright. thanks for gmux-dump. Ther

Re: PROBLEM: New Kernel Patch

2012-08-06 Thread Randy Dunlap
On 08/05/2012 05:27 PM, Christopher Sacchi wrote: > Here is a new patch that should be tested that fixes a function issue > in the description for the Mac80211 driver in tar.bz2 format. > Let me know if it works. No, it doesn't work. There is no patch there. Don't send patches in tar files. D

[PATCH] thinkpad-acpi: recognize latest V-Series using DMI_BIOS_VENDOR

2012-08-06 Thread manoj . iyer
From: Manoj Iyer In the latest V-series bios DMI_PRODUCT_VERSION does not contain the string Lenovo or Thinkpad, but is set to the model number, this causes the thinkpad_acpi module to fail to load. Recognize laptop as Lenovo using DMI_BIOS_VENDOR instead, which is set to Lenovo. Signed-off-by:

[PATCH v5 01/12] block: Generalized bio pool freeing

2012-08-06 Thread Kent Overstreet
With the old code, when you allocate a bio from a bio pool you have to implement your own destructor that knows how to find the bio pool the bio was originally allocated from. This adds a new field to struct bio (bi_pool) and changes bio_alloc_bioset() to use it. This makes various bio destructors

[PATCH v5 02/12] dm: Use bioset's front_pad for dm_rq_clone_bio_info

2012-08-06 Thread Kent Overstreet
Previously, dm_rq_clone_bio_info needed to be freed by the bio's destructor to avoid a memory leak in the blk_rq_prep_clone() error path. This gets rid of a memory allocation and means we can kill dm_rq_bio_destructor. Signed-off-by: Kent Overstreet --- drivers/md/dm.c | 31 +--

[PATCH v5 05/12] block: Kill bi_destructor

2012-08-06 Thread Kent Overstreet
Now that we've got generic code for freeing bios allocated from bio pools, this isn't needed anymore. This also changes the semantics of bio_free() a bit - it now also frees bios allocated by bio_kmalloc(). It's also no longer exported, as without bi_destructor there should be no need for it to be

[PATCH v5 06/12] block: Add an explicit bio flag for bios that own their bvec

2012-08-06 Thread Kent Overstreet
This is for the new bio splitting code. When we split a bio, if the split occured on a bvec boundry we reuse the bvec for the new bio. But that means bio_free() can't free it, hence the explicit flag. Signed-off-by: Kent Overstreet --- fs/bio.c |3 ++- include/linux/bio.h

[PATCH v5 07/12] block: Rename bio_split() -> bio_pair_split()

2012-08-06 Thread Kent Overstreet
This is prep work for introducing a more general bio_split() Signed-off-by: Kent Overstreet --- drivers/block/drbd/drbd_req.c |2 +- drivers/block/pktcdvd.c |2 +- drivers/block/rbd.c |3 ++- drivers/md/linear.c |2 +- drivers/md/raid0.c|

[PATCH v5 09/12] block: Rework bio_pair_split()

2012-08-06 Thread Kent Overstreet
This changes bio_pair_split() to use the new bio_split() underneath, which gets rid of the single page bio limitation. The various callers are fixed up for the slightly different struct bio_pair, and to remove the unnecessary checks. v5: Move extern declaration to proper patch, per Boaz Signed-of

[PATCH v5 03/12] block: Add bio_reset()

2012-08-06 Thread Kent Overstreet
Reusing bios is something that's been highly frowned upon in the past, but driver code keeps doing it anyways. If it's going to happen anyways, we should provide a generic method. This'll help with getting rid of bi_destructor - drivers/block/pktcdvd.c was open coding it, by doing a bio_init() and

Re: [RFC ebeam PATCH v3 0/2]

2012-08-06 Thread Dmitry Torokhov
On Monday, August 06, 2012 02:44:23 PM Greg KH wrote: > On Mon, Aug 06, 2012 at 11:21:42PM +0200, Yann Cantin wrote: > > Hi, > > > > New USB input driver for eBeam devices. > > > > Currently, only the Luidia eBeam classic projection model is supported. > > Edge model and a NEC interactive video-p

[PATCH v5 04/12] pktcdvd: Switch to bio_kmalloc()

2012-08-06 Thread Kent Overstreet
This is prep work for killing bi_destructor - previously, pktcdvd had its own pkt_bio_alloc which was basically duplication bio_kmalloc(), necessitating its own bi_destructor implementation. v5: Un-reorder some functions, to make the patch easier to review Signed-off-by: Kent Overstreet --- dri

[PATCH v5 10/12] block: Add bio_clone_kmalloc()

2012-08-06 Thread Kent Overstreet
Acked-by: Boaz Harrosh Signed-off-by: Kent Overstreet --- drivers/block/osdblk.c |3 +-- fs/bio.c | 13 + fs/exofs/ore.c |5 ++--- include/linux/bio.h|1 + 4 files changed, 17 insertions(+), 5 deletions(-) diff --git a/drivers/block/osdblk.c b

[PATCH v5 12/12] block: Only clone bio vecs that are in use

2012-08-06 Thread Kent Overstreet
bcache creates large bios internally, and then splits them according to the device requirements before it sends them down. If a lower level device tries to clone the bio, and the original bio had more than BIO_MAX_PAGES, the clone will fail unecessarily. We can fix this by only cloning the bio vec

[PATCH v5 11/12] block: Add bio_clone_bioset()

2012-08-06 Thread Kent Overstreet
This consolidates some code, and will help in a later patch changing how bio cloning works. Signed-off-by: Kent Overstreet --- block/blk-core.c|8 +--- drivers/md/dm.c |4 ++-- drivers/md/md.c | 20 +--- fs/bio.c| 16 inclu

[PATCH v5 08/12] block: Introduce new bio_split()

2012-08-06 Thread Kent Overstreet
The new bio_split() can split arbitrary bios - it's not restricted to single page bios, like the old bio_split() (previously renamed to bio_pair_split()). It also has different semantics - it doesn't allocate a struct bio_pair, leaving it up to the caller to handle completions. v5: Take out curren

[PATCH v5 00/12] Block cleanups

2012-08-06 Thread Kent Overstreet
Various cleanups for the generic block layer - the patches should be pretty self explanatory. CHANGES SINCE LAST VERSION: Review feedback - should all be noted in the patch descriptions. Fixed retarded rebase conflicts. Added some acked-bys. Kent Overstreet (12): block: Generalized bio pool fr

Re: [RFC ebeam PATCH v3 1/2] hid: Blacklist new eBeam classic device

2012-08-06 Thread Dmitry Torokhov
On Monday, August 06, 2012 02:43:40 PM Greg KH wrote: > On Mon, Aug 06, 2012 at 11:21:43PM +0200, Yann Cantin wrote: > > Signed-off-by: Yann Cantin > > --- > > > > drivers/hid/hid-core.c |3 +++ > > drivers/hid/hid-ids.h |3 +++ > > 2 files changed, 6 insertions(+) > > > > diff --git a

Re: [PATCH 0/5] mfd: replace IORESOURCE_IO by IORESOURCE_MEM

2012-08-06 Thread Mark Brown
On Mon, Aug 06, 2012 at 10:31:24PM +0100, Russell King wrote: > So, the fact that platform devices will get any resource marked > IORESOURCE_IO registered against ioport_resource isn't a problem > then... This is what providing a separate parent to ensure they're in a different tree is there to f

Re: [PATCH 2/3] perf: teach perf inject to merge sched_stat_* and sched_switch events

2012-08-06 Thread Arnaldo Carvalho de Melo
Em Mon, Aug 06, 2012 at 11:43:04PM +0400, Andrey Wagin escreveu: > 2012/8/6 Arnaldo Carvalho de Melo : > >> +struct perf_session *session; > > perf_event__sched_stat (perf_inject.sample) uses "session" for getting > an event name. I don't know how to get it by another way Can you try with the at

Re: [PATCH] x86: revert "x86: Fix S4 regression"

2012-08-06 Thread Yinghai Lu
On Mon, Aug 6, 2012 at 1:42 PM, Vivek Goyal wrote: > > Did something happen on this patch. We definitely want to gain back the > capability to be able to reserve 512MB of kdump memory. Maybe Ingo and peter could push that to Linus. Assume we have Acked-by from you, me and others. Thanks Yingh

Re: [PATCH v2 8/9] rbtree: faster augmented rbtree manipulation

2012-08-06 Thread Michel Lespinasse
no actual > patch) All right, here are instructions to get a tree this will apply to :) 1- fetch linux-next tree 2- check out next-20120806 3- revert e406c4110c968b7691c4ccfadcd866a74a72fa5b (was sent as previous RFC version of this series, didn't realize it had made it into -mm) 4- apply patc

Re: [PATCH] regulator: add MAX8907 driver

2012-08-06 Thread Mark Brown
On Mon, Aug 06, 2012 at 03:22:17PM -0600, Stephen Warren wrote: > On 08/04/2012 04:19 AM, Mark Brown wrote: > > I'm really not convinced it makes much sense to represent the backlight > > driver current regulators as regulators, they only get used as part of > > the backlight and are usually tight

Re: [RFC ebeam PATCH v3 0/2]

2012-08-06 Thread Greg KH
On Mon, Aug 06, 2012 at 11:21:42PM +0200, Yann Cantin wrote: > Hi, > > New USB input driver for eBeam devices. > > Currently, only the Luidia eBeam classic projection model is supported. > Edge model and a NEC interactive video-projector support planned for the > end of the mounth. > > Patch 1

Re: [RFC ebeam PATCH v3 2/2] input: misc: New USB eBeam input driver.

2012-08-06 Thread Greg KH
On Mon, Aug 06, 2012 at 11:21:44PM +0200, Yann Cantin wrote: > > Signed-off-by: Yann Cantin > --- > drivers/input/misc/ebeam.c | 764 > > 1 file changed, 764 insertions(+) > create mode 100644 drivers/input/misc/ebeam.c What adds this file to the

Re: [RFC ebeam PATCH v3 1/2] hid: Blacklist new eBeam classic device

2012-08-06 Thread Greg KH
On Mon, Aug 06, 2012 at 11:21:43PM +0200, Yann Cantin wrote: > > Signed-off-by: Yann Cantin > --- > drivers/hid/hid-core.c |3 +++ > drivers/hid/hid-ids.h |3 +++ > 2 files changed, 6 insertions(+) > > diff --git a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c > index 60ea284..b1ed8e

Re: [RESEND PATCH 0/5 V2] x86: mce: Bugfixes, cleanups and a new CMCI poll version

2012-08-06 Thread Chen Gong
On Fri, Aug 03, 2012 at 03:29:50PM -0700, Luck, Tony wrote: > Date: Fri, 03 Aug 2012 15:29:50 -0700 > From: "Luck, Tony" > To: Chen Gong > Cc: b...@amd64.org, x...@kernel.org, linux-kernel@vger.kernel.org > Subject: Re: [RESEND PATCH 0/5 V2] x86: mce: Bugfixes, cleanups and a new > CMCI poll ver

Re: [PATCH 4/9] ASoC: imx: Don't use {en,dis}able_fiq() calls

2012-08-06 Thread Mark Brown
On Mon, Aug 06, 2012 at 03:39:50PM -0500, Matt Sealey wrote: > On Mon, Aug 6, 2012 at 3:16 PM, Robert Schwebel > > That's not true; we still run MX25, MX27, MX35, MX28 on mainline in > > active projects. > I think Shawn Guo (FSL/Linaro) would also disagree, since he's just > posted a large amount

Re: [PATCH 00/13] SCTP: Enable netns

2012-08-06 Thread Vlad Yasevich
On 08/06/2012 04:47 PM, David Miller wrote: From: ebied...@xmission.com (Eric W. Biederman) Date: Mon, 06 Aug 2012 12:50:46 -0700 Vlad Yasevich writes: Hi Eric Associations are looked up by ports, but then verifyed by addresses. Also, associations belong to sockets and simply validating th

Re: [PATCH v2 8/9] rbtree: faster augmented rbtree manipulation

2012-08-06 Thread Michel Lespinasse
On Mon, Aug 6, 2012 at 7:29 AM, Peter Zijlstra wrote: > On Thu, 2012-08-02 at 15:34 -0700, Michel Lespinasse wrote: >> +void __rb_insert_augmented(struct rb_node *node, struct rb_root *root, >> + void (*augment_rotate)(struct rb_node *old, struct rb_node *new)) >> +{ >> + __rb_insert(n

Re: [PATCH v2 8/9] rbtree: faster augmented rbtree manipulation

2012-08-06 Thread Peter Zijlstra
On Mon, 2012-08-06 at 14:34 -0700, Michel Lespinasse wrote: > On Mon, Aug 6, 2012 at 7:25 AM, Peter Zijlstra wrote: > > On Thu, 2012-08-02 at 15:34 -0700, Michel Lespinasse wrote: > >> +struct rb_augment_callbacks { > >> + void (*propagate)(struct rb_node *node, struct rb_node *stop); > >> +

Re: [PATCH v2 8/9] rbtree: faster augmented rbtree manipulation

2012-08-06 Thread Michel Lespinasse
On Mon, Aug 6, 2012 at 7:25 AM, Peter Zijlstra wrote: > On Thu, 2012-08-02 at 15:34 -0700, Michel Lespinasse wrote: >> +struct rb_augment_callbacks { >> + void (*propagate)(struct rb_node *node, struct rb_node *stop); >> + void (*copy)(struct rb_node *old, struct rb_node *new); >> +

Re: [ibm-acpi-devel] [PATCH] thinkpad-acpi: recognize latest V-Series using DMI_BIOS_VENDOR

2012-08-06 Thread Henrique de Moraes Holschuh
On Mon, 06 Aug 2012, manoj.i...@canonical.com wrote: > In the latest V-series bios DMI_PRODUCT_VERSION does not contain > the string Lenovo or Thinkpad, but is set to the model number, this > causes the thinkpad_acpi module to fail to load. Recognize laptop > as Lenovo using DMI_BIOS_VENDOR instead

Re: [PATCH 0/5] mfd: replace IORESOURCE_IO by IORESOURCE_MEM

2012-08-06 Thread Russell King
On Mon, Aug 06, 2012 at 08:53:52PM +0100, Mark Brown wrote: > On Mon, Aug 06, 2012 at 08:22:09PM +0100, Russell King wrote: > > On Mon, Aug 06, 2012 at 04:58:06PM +0100, Mark Brown wrote: > > > > That's one reason why I've not attacked this problem myself, but frankly > > > I'm totally happy with

Re: Fix sel_netnode_insert suspicious rcu dereference.

2012-08-06 Thread Eric Paris
I thought I HAD committed it months ago! Man I suck at this On Mon, Aug 6, 2012 at 3:10 PM, Paul Moore wrote: > On Mon, Aug 6, 2012 at 12:49 PM, Dave Jones wrote: >> On Tue, Jun 05, 2012 at 01:12:39AM -0400, Dave Jones wrote: >> > I reported this a year ago (https://lkml.org/lkml/2011/4/20

[GIT] Networking

2012-08-06 Thread David Miller
1) Missed rcu_assign_pointer() in mac80211 scanning, from Johannes Berg. 2) Allow devices to limit the number of segments that an individual TCP TSO packet can use at a time, to deal with device and/or driver specific limitations. From Ben Hutchings. 3) Fix unexpected hard IPSEC expiratio

[PATCH] thinkpad-acpi: recognize latest V-Series using DMI_BIOS_VENDOR

2012-08-06 Thread manoj . iyer
From: Manoj Iyer In the latest V-series bios DMI_PRODUCT_VERSION does not contain the string Lenovo or Thinkpad, but is set to the model number, this causes the thinkpad_acpi module to fail to load. Recognize laptop as Lenovo using DMI_BIOS_VENDOR instead, which is set to Lenovo. Signed-off-by:

[PATCH] thinkpad-acpi: recognize latest V-Series using

2012-08-06 Thread manoj . iyer
From: Manoj Iyer Please consider this patch to thinkapd_acpi, it loads the module on V-series systems that do not report with "Lenovo" or "ThinkPad" prefix to DMI_PRODUCT_VERSION query, but only returns model name. = Test

Re: [PATCH] regulator: add MAX8907 driver

2012-08-06 Thread Stephen Warren
On 08/04/2012 04:19 AM, Mark Brown wrote: > On Thu, Aug 02, 2012 at 12:27:13PM -0600, Stephen Warren wrote: > >> The MAX8907 is an I2C-based power-management IC containing voltage >> regulators, a reset controller, a real-time clock, and a touch-screen >> controller. >> +static int max8907_regula

Re: [PATCH v2 6/9] rbtree: low level optimizations in rb_erase()

2012-08-06 Thread Michel Lespinasse
Various minor optimizations in rb_erase(): - Avoid multiple loading of node->__rb_parent_color when computing parent and color information (possibly not in close sequence, as there might be further branches in the algorithm) - In the 1-child subcase of case 1, copy the __rb_parent_color field f

[RFC ebeam PATCH v3 2/2] input: misc: New USB eBeam input driver.

2012-08-06 Thread Yann Cantin
Signed-off-by: Yann Cantin --- drivers/input/misc/ebeam.c | 764 1 file changed, 764 insertions(+) create mode 100644 drivers/input/misc/ebeam.c diff --git a/drivers/input/misc/ebeam.c b/drivers/input/misc/ebeam.c new file mode 100644 index 000

[RFC ebeam PATCH v3 0/2]

2012-08-06 Thread Yann Cantin
Hi, New USB input driver for eBeam devices. Currently, only the Luidia eBeam classic projection model is supported. Edge model and a NEC interactive video-projector support planned for the end of the mounth. Patch 1 to blacklist the device for hid generic-usb. Patch 2 is the actual driver. Ch

[RFC ebeam PATCH v3 1/2] hid: Blacklist new eBeam classic device

2012-08-06 Thread Yann Cantin
Signed-off-by: Yann Cantin --- drivers/hid/hid-core.c |3 +++ drivers/hid/hid-ids.h |3 +++ 2 files changed, 6 insertions(+) diff --git a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c index 60ea284..b1ed8ee 100644 --- a/drivers/hid/hid-core.c +++ b/drivers/hid/hid-core.c @@ -1908,6 +

Re: [PATCH v2 6/9] rbtree: low level optimizations in rb_erase()

2012-08-06 Thread Michel Lespinasse
On Mon, Aug 6, 2012 at 1:58 PM, Peter Zijlstra wrote: > On Mon, 2012-08-06 at 13:50 -0700, Michel Lespinasse wrote: >> On Mon, Aug 6, 2012 at 7:21 AM, Peter Zijlstra wrote: >> > On Thu, 2012-08-02 at 15:34 -0700, Michel Lespinasse wrote: >> >> + /* Case 3: node's successor i

[PATCH v2] mm: Restructure kmem_cache_create() to move debug cache integrity checks into a new function

2012-08-06 Thread Shuah Khan
kmem_cache_create() does cache integrity checks when CONFIG_DEBUG_VM is defined. These checks interspersed with the regular code path has lead to compile time warnings when compiled without CONFIG_DEBUG_VM defined. Restructuring the code to move the integrity checks in to a new function would elimi

[PATCH] staging:ccg: Fix missing brackets for sizeof (found by sparse).

2012-08-06 Thread Marek Belisko
Fix following: WARNING: sizeof fsg should be sizeof(fsg) + memset(&fsg, 0, sizeof fsg); Signed-off-by: Marek Belisko --- drivers/staging/ccg/ccg.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/ccg/ccg.c b/drivers/staging/ccg/ccg.c index 6a7aab8..81a

[PATCH] ALSA: hda - add dock support for Thinkpad X230

2012-08-06 Thread Felix Kaechele
As with the ThinkPad Models X230 Tablet and T530 the X230 needs a qurik to correctly set up the pins for the dock port. Signed-off-by: Felix Kaechele --- sound/pci/hda/patch_realtek.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.

[char-misc-next 3/3] mei: name space for mei device state

2012-08-06 Thread Tomas Winkler
1. add MEI_DEV_ prefix for mei device state enums 2. rename mei_state to dev_state 3. add constant to string translation for debug purposes Signed-off-by: Tomas Winkler --- drivers/misc/mei/init.c | 54 - drivers/misc/mei/interrupt.c | 22

[char-misc-next 2/3] mei: style : reformat PCI device IDs

2012-08-06 Thread Tomas Winkler
1. reformat PCI ids list in hw.h for better readability 2. update some code and brand names Signed-off-by: Tomas Winkler --- drivers/misc/mei/hw.h | 79 - 1 files changed, 39 insertions(+), 40 deletions(-) diff --git a/drivers/misc/mei/hw.h b/dr

[char-misc-next 1/3] mei: use KBUILD_MODNAME when allocating resources from the OS

2012-08-06 Thread Tomas Winkler
Signed-off-by: Tomas Winkler --- drivers/misc/mei/main.c | 14 ++ 1 files changed, 6 insertions(+), 8 deletions(-) diff --git a/drivers/misc/mei/main.c b/drivers/misc/mei/main.c index b0903bd..c7d19f8 100644 --- a/drivers/misc/mei/main.c +++ b/drivers/misc/mei/main.c @@ -41,8 +41,6

Re: [PATCH v2 6/9] rbtree: low level optimizations in rb_erase()

2012-08-06 Thread Peter Zijlstra
On Mon, 2012-08-06 at 13:50 -0700, Michel Lespinasse wrote: > On Mon, Aug 6, 2012 at 7:21 AM, Peter Zijlstra wrote: > > On Thu, 2012-08-02 at 15:34 -0700, Michel Lespinasse wrote: > >> + /* Case 3: node's successor is leftmost under its > >> +* right c

Re: [PATCH v2 6/9] rbtree: low level optimizations in rb_erase()

2012-08-06 Thread Michel Lespinasse
On Mon, Aug 6, 2012 at 7:21 AM, Peter Zijlstra wrote: > On Thu, 2012-08-02 at 15:34 -0700, Michel Lespinasse wrote: >> + /* Case 3: node's successor is leftmost under its >> +* right child subtree > > Hmm? Would 'leftmost under node's right child subt

Re: [PATCH] drivers: net: irda: bfin_sir: fix compile error

2012-08-06 Thread David Miller
Networking patches not sent to netdev will not be properly queued up and tracked, and therefore will not be 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 http://vger.kernel.org/major

Re: [PATCH 00/13] SCTP: Enable netns

2012-08-06 Thread David Miller
From: ebied...@xmission.com (Eric W. Biederman) Date: Mon, 06 Aug 2012 12:50:46 -0700 > Vlad Yasevich writes: > > >> Hi Eric >> >> Associations are looked up by ports, but then verifyed by addresses. >> Also, associations belong to sockets and simply validating the socket >> namespace should be

Re: [PATCH] pci: Account for virtual buses in pci_acs_path_enabled

2012-08-06 Thread Bjorn Helgaas
On Sun, Aug 5, 2012 at 11:55 PM, Alex Williamson wrote: > On Sun, 2012-08-05 at 23:30 -0600, Bjorn Helgaas wrote: >> On Sat, Aug 4, 2012 at 12:19 PM, Alex Williamson >> wrote: >> > It's possible to have buses without an associated bridge >> > (bus->self == NULL). SR-IOV can generate such buses.

Re: [PATCH v2 2/9] rbtree: optimize fetching of sibling node

2012-08-06 Thread Michel Lespinasse
On Mon, Aug 6, 2012 at 7:23 AM, Peter Zijlstra wrote: > On Thu, 2012-08-02 at 15:34 -0700, Michel Lespinasse wrote: > >> + tmp = gparent->rb_right; >> + if (parent != tmp) {/* parent == gparent->rb_left */ > >> + tmp = parent->rb_right; >> +

Re: [PATCH] x86: revert "x86: Fix S4 regression"

2012-08-06 Thread Vivek Goyal
On Wed, Jul 25, 2012 at 09:19:08AM +0900, Takao Indoh wrote: > (2012/07/25 0:55), Cong Wang wrote: > >On Mon, 2012-07-23 at 20:22 +0900, Takao Indoh wrote: > >>(2012/07/23 19:00), Dave Young wrote: > >>>On 07/17/2012 11:15 AM, Takao Indoh wrote: > >>> > Hi Cong, > > When I tested kdump

Re: [patch] sched,cgroup_sched: fix up task_groups list

2012-08-06 Thread Peter Zijlstra
On Mon, 2012-08-06 at 22:09 +0200, Mike Galbraith wrote: > On Mon, 2012-08-06 at 21:04 +0200, Peter Zijlstra wrote: > > On Mon, 2012-08-06 at 17:32 +0200, Mike Galbraith wrote: > > > Thinko happened during sched migration to kernel/sched, fix it up. > > > > what's the effect.. that is what broke

Re: [PATCH 4/9] ASoC: imx: Don't use {en,dis}able_fiq() calls

2012-08-06 Thread Matt Sealey
On Mon, Aug 6, 2012 at 3:16 PM, Robert Schwebel wrote: > On Mon, Aug 06, 2012 at 08:37:34PM +0100, Mark Brown wrote: >> As far as I can tell nobody's really running much up to date mainline >> on older i.MX processors, all the work is going on the new stuff and >> most of the board are on either v

Re: [RFC][PATCH] Reset PCIe devices to address DMA problem on kdump with iommu

2012-08-06 Thread Vivek Goyal
On Mon, Aug 06, 2012 at 01:30:47PM +0900, Takao Indoh wrote: > Hi Vivek, > > (2012/08/03 20:46), Vivek Goyal wrote: > > On Fri, Aug 03, 2012 at 08:24:31PM +0900, Takao Indoh wrote: > >> Hi all, > >> > >> This patch adds kernel parameter "reset_pcie_devices" which resets PCIe > >> devices at boot t

Re: [PATCH 4/5] [RFC][HACK] Add LRU_VOLATILE support to the VM

2012-08-06 Thread John Stultz
On 08/05/2012 08:04 PM, Minchan Kim wrote: Hi John, On Fri, Jul 27, 2012 at 11:57:11PM -0400, John Stultz wrote: In an attempt to push the volatile range managment even deeper into the VM code, this is my first attempt at implementing Minchan's idea of a LRU_VOLATILE list in the mm core. This

Re: [bisected] nouveau: "Failed to idle channel x" after resume

2012-08-06 Thread Maxim Levitsky
On Sat, 2012-08-04 at 17:41 +0300, Maxim Levitsky wrote: > On Mon, 2012-07-23 at 18:25 +0300, Aioanei Rares wrote: > > On Thu, Jul 5, 2012 at 11:24 PM, Martin Nyhus wrote: > > > > > > On Mon, 11 Jun 2012 23:18:42 +0200 Martin Nyhus wrote: > > > > after resuming from suspend nouveau starts writin

Re: rcu: INFO: rcu_preempt detected stalls on CPUs/tasks on v3.6

2012-08-06 Thread Sasha Levin
On 08/06/2012 10:31 PM, John Stultz wrote: > On 08/06/2012 11:28 AM, Sasha Levin wrote: >> On 08/06/2012 08:20 PM, John Stultz wrote: >>> On 08/06/2012 10:21 AM, John Stultz wrote: On 08/05/2012 09:55 AM, Sasha Levin wrote: > On 07/30/2012 03:17 PM, Avi Kivity wrote: >> Possible causes

Re: rcu: INFO: rcu_preempt detected stalls on CPUs/tasks on v3.6

2012-08-06 Thread John Stultz
On 08/06/2012 11:28 AM, Sasha Levin wrote: On 08/06/2012 08:20 PM, John Stultz wrote: On 08/06/2012 10:21 AM, John Stultz wrote: On 08/05/2012 09:55 AM, Sasha Levin wrote: On 07/30/2012 03:17 PM, Avi Kivity wrote: Possible causes: - the APIC calibration in the guest failed, so it is progra

Re: [PATCH] ip: fix error handling in ip_finish_output2()

2012-08-06 Thread David Miller
From: Vasily Kulikov Date: Mon, 6 Aug 2012 17:55:29 +0400 > __neigh_create() returns either a pointer to struct neighbour or PTR_ERR(). > But the caller expects it to return either a pointer or NULL. Replace > the NULL check with IS_ERR() check. > > The bug was introduced in a263b3093641fb1ec37

Re: Subject: [PATCH] sched: add missing group change to qfq_change_class

2012-08-06 Thread David Miller
From: Paolo Valente Date: Sun, 05 Aug 2012 21:45:37 +0200 > To speed up operations, QFQ internally divides classes into > groups. Which group a class belongs to depends on the ratio between > the maximum packet length and the weight of the class. Unfortunately > the function qfq_change_class lack

Re: [PATCH 6/6] drivers/atm/iphase.c: fix error return code

2012-08-06 Thread David Miller
From: Julia Lawall Date: Sun, 5 Aug 2012 11:52:36 +0200 > From: Julia Lawall > > Convert a 0 error return code to a negative one, as returned elsewhere in the > function. > > A simplified version of the semantic match that finds this problem is as > follows: (http://coccinelle.lip6.fr/) ...

Re: [PATCH] tcp_output: fix sparse warning for tcp_wfree

2012-08-06 Thread David Miller
From: Silviu-Mihai Popescu Date: Sat, 4 Aug 2012 22:31:29 +0300 > Fix sparse warning: > * symbol 'tcp_wfree' was not declared. Should it be static? > > Signed-off-by: Silviu-Mihai Popescu Applied. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of

Re: [PATCH 6/6] drivers/net/phy/mdio-mux-gpio.c: drop devm_kfree of devm_kzalloc'd data

2012-08-06 Thread David Miller
From: Julia Lawall Date: Sat, 4 Aug 2012 18:50:49 +0200 > From: Julia Lawall > > devm_kfree should not have to be explicitly used. > > The semantic patch that fixes this problem is as follows: > (http://coccinelle.lip6.fr/) > > // > @@ > expression x,d; > @@ > > x = devm_kzalloc(...) > ...

Re: [PATCH v4 0/6] Port Tegra to generic clk framework

2012-08-06 Thread Stephen Warren
On 08/06/2012 12:27 AM, Prashant Gaikwad wrote: > This patch set ports Tegra clock code to generic clock framework. Thanks. I've applied the series. -- 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

Re: [RFC PATCH 3/5] drm/i915: register LVDS connector even if we can't get a panel mode

2012-08-06 Thread Seth Forshee
On Mon, Aug 06, 2012 at 01:23:17PM +0100, Matthew Garrett wrote: > On Sun, Aug 05, 2012 at 11:40:16PM +0200, Daniel Vetter wrote: > > > As long as it's only apple shipping multi-gpu machines with > > broken/non-existing vbt, I'll happily stomach the quirk list entries. > > They're bad, but imo the

Re: [PATCH 4/9] ASoC: imx: Don't use {en,dis}able_fiq() calls

2012-08-06 Thread Robert Schwebel
On Mon, Aug 06, 2012 at 08:37:34PM +0100, Mark Brown wrote: > As far as I can tell nobody's really running much up to date mainline > on older i.MX processors, all the work is going on the new stuff and > most of the board are on either vendor BSPs or older kernels. That's not true; we still run M

Re: [patch] sched,cgroup_sched: fix up task_groups list

2012-08-06 Thread Mike Galbraith
On Mon, 2012-08-06 at 21:04 +0200, Peter Zijlstra wrote: > On Mon, 2012-08-06 at 17:32 +0200, Mike Galbraith wrote: > > Thinko happened during sched migration to kernel/sched, fix it up. > > what's the effect.. that is what broke and why are we backporting this > to -stable? The effect is that f

Re: [PATCH 00/13] SCTP: Enable netns

2012-08-06 Thread Vlad Yasevich
On 08/06/2012 03:50 PM, Eric W. Biederman wrote: Vlad Yasevich writes: Hi Eric Associations are looked up by ports, but then verifyed by addresses. Also, associations belong to sockets and simply validating the socket namespace should be sufficient. True. Your set of patches isn't quite a

Re: [PATCH] drivers/media/video/mx2_emmaprp.c: use devm_kzalloc and devm_clk_get

2012-08-06 Thread Julia . Lawall
Quoting Lars-Peter Clausen : On 08/06/2012 04:26 PM, Dan Carpenter wrote: On Mon, Aug 06, 2012 at 05:23:23PM +0300, Dan Carpenter wrote: On Sat, Aug 04, 2012 at 08:23:27PM +0200, Julia Lawall wrote: @@ -922,12 +920,7 @@ static int emmaprp_probe(struct platform_device *pdev) platfor

Re: [PATCH 2/6] drivers/mfd: drop frees of devm allocated data

2012-08-06 Thread Julia . Lawall
Quoting Dan Carpenter : On Sat, Aug 04, 2012 at 06:50:45PM +0200, Julia Lawall wrote: diff --git a/drivers/mfd/88pm80x.c b/drivers/mfd/88pm80x.c index cd0bf52..2bd090e 100644 --- a/drivers/mfd/88pm80x.c +++ b/drivers/mfd/88pm80x.c @@ -45,17 +45,14 @@ int __devinit pm80x_init(struct i2c_client *

[PATCH] extcon: fix typos in max77693 driver

2012-08-06 Thread Peter Meerwald
Signed-off-by: Peter Meerwald --- drivers/extcon/extcon-max77693.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/extcon/extcon-max77693.c b/drivers/extcon/extcon-max77693.c index 920a609..8bb438b 100644 --- a/drivers/extcon/extcon-max77693.c +++ b/drivers/ex

[PATCH] extcon: fixing typos

2012-08-06 Thread Peter Meerwald
Signed-off-by: Peter Meerwald --- drivers/extcon/extcon_class.c |8 include/linux/extcon.h| 18 +- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/drivers/extcon/extcon_class.c b/drivers/extcon/extcon_class.c index f6419f9..fa56339 100644 --

Re: [PATCH] drivers/media/video/mx2_emmaprp.c: use devm_kzalloc and devm_clk_get

2012-08-06 Thread Julia . Lawall
Quoting Lars-Peter Clausen : On 08/06/2012 04:26 PM, Dan Carpenter wrote: On Mon, Aug 06, 2012 at 05:23:23PM +0300, Dan Carpenter wrote: On Sat, Aug 04, 2012 at 08:23:27PM +0200, Julia Lawall wrote: @@ -922,12 +920,7 @@ static int emmaprp_probe(struct platform_device *pdev) platfor

Re: [linux-pm] [PATCH] ACPI: replace strlen("string") with sizeof("string") -1

2012-08-06 Thread Alan Stern
On Mon, 6 Aug 2012, Pavel Vasilyev wrote: > >> http://www.gossamer-threads.com/lists/engine?do=post_attachment;postatt_id=41157;list=linux > > > > Interestingly, many (all?) of the changes in that patch are wrong > > because they don't try to match the terminating '\0'. As a result, > > they will

pull request: bluetooth-next 2012-08-06

2012-08-06 Thread Gustavo Padovan
Hi John, These are the changes I queued for 3.7. There are a many small fixes/improvements by Andre Guedes. A l2cap channel refcounting refactor by Jaganath. Bluetooth sockets now appears in /proc/net, by Masatake Yamato and Sachin Kamat changes ours drivers to use devm_kzalloc(). Please pull, or

Re: [PATCH 0/5] mfd: replace IORESOURCE_IO by IORESOURCE_MEM

2012-08-06 Thread Mark Brown
On Mon, Aug 06, 2012 at 08:22:09PM +0100, Russell King wrote: > On Mon, Aug 06, 2012 at 04:58:06PM +0100, Mark Brown wrote: > > That's one reason why I've not attacked this problem myself, but frankly > > I'm totally happy with using _IO here so I've not looked particularly > > closely. > NO. Th

Re: [PATCH 00/13] SCTP: Enable netns

2012-08-06 Thread Eric W. Biederman
Vlad Yasevich writes: > Hi Eric > > Associations are looked up by ports, but then verifyed by addresses. > Also, associations belong to sockets and simply validating the socket > namespace should be sufficient. True. Your set of patches isn't quite as likely to malfunction as it looked at firs

Re: [PATCH 3/3] perf: mark a dso if it's used

2012-08-06 Thread Andrey Wagin
2012/8/6 Arnaldo Carvalho de Melo : > Em Mon, Aug 06, 2012 at 02:01:59PM +0400, Andrew Vagin escreveu: >> - if (inject_build_ids) { >> + if (inject_build_ids || inject_sched_stat) { >> perf_inject.sample = perf_event__inject_buildid; >> perf_inject.mmap

Re: [PATCH 2/3] perf: teach perf inject to merge sched_stat_* and sched_switch events

2012-08-06 Thread Andrey Wagin
Hello Arnaldo, Thanks for comments, I will correct them. I need a bit more details about two of them. 2012/8/6 Arnaldo Carvalho de Melo : >> @@ -21,6 +23,9 @@ static int output; >> static u64 bytes_written; >> >> static bool inject_build_ids; >> +static bool

Re: [PATCH]: Updated autosleep.patch

2012-08-06 Thread Rafael J. Wysocki
On Monday, August 06, 2012, Christopher Sacchi wrote: > This is the patch that fixes a function that could be changed. The > following (above the 2nd to last line, but uder the first line: > -- > Signed-off-by: Christopher P. Sacchi > --- linux-3.5/kernel/power/autosleep.c2012-07-21 20:58:

Re: [PATCH 4/9] ASoC: imx: Don't use {en,dis}able_fiq() calls

2012-08-06 Thread Mark Brown
On Mon, Aug 06, 2012 at 01:09:26PM -0500, Matt Sealey wrote: > So that needs to stay, the issue here is why did nobody catch > ssi-fiq.S breaking in testing MX51 > Babbage and building a Thumb2 kernel, for example? Why did nobody > notice it was building when > configuring for MX3/5/6 boards (whic

Re: [PATCH 1/1] remoteproc: extend customized fw loader to cover request and release

2012-08-06 Thread Ohad Ben-Cohen
Hi Roy, On Mon, Aug 6, 2012 at 7:43 PM, Tzu-Jung Lee wrote: > That's what I'm trying to do, and it has two things needs to be address. > > 1) Make the firmware loading step "optional" in the booting process. > > 2) Allow the remoteproc use an customized handler to get the resource > table.

Re: [PATCH 01/13] SCTP: Preparation for namespace enablement

2012-08-06 Thread Eric W. Biederman
Jan Ariyasu writes: > Introduce data structures and break up module initialization and > exit into subroutines with common functionality for namespace > registration. Jan there is an issue with the way your patch is orgainized. You create a structure holding all of the variables before making a

Re: [PATCH 0/6][resend] mempolicy memory corruption fixlet

2012-08-06 Thread KOSAKI Motohiro
On 7/31/2012 8:33 AM, Josh Boyer wrote: > On Mon, Jun 11, 2012 at 5:17 AM, wrote: >> From: KOSAKI Motohiro >> >> Hi >> >> This is trivial fixes of mempolicy meory corruption issues. There >> are independent patches each ather. and, they don't change userland >> ABIs. >> >> Thanks. >> >> changes

Re: Service not available!

2012-08-06 Thread Sedat Dilek
On Mon, Aug 6, 2012 at 6:57 PM, Konstantin Ryabitsev wrote: > On 06/08/12 01:16 AM, Sedat Dilek wrote: >> it would be wonderful to get a feedback when services are available again. >> >> I just saw today a reference on linux-next ML to [1] otherwise I would >> not have known. >> >> - Sedat - >> >>

Re: [PATCH] char/tpm: Use struct dev_pm_ops for power management.

2012-08-06 Thread Kent Yoder
On Mon, Aug 06, 2012 at 09:58:59AM +0200, Peter Huewe wrote: > Make the tpm_i2c_infineon driver define its PM callbacks trough a > struct dev_pm_ops by using SIMPLE_DEV_PM_OPS instead of coding it > explicitly. > > This simplifies the code and allows the driver to use tpm_pm_suspend() > and tpm_pm

Re: [PATCH v5 1/3] mm: introduce compaction and migration for virtio ballooned pages

2012-08-06 Thread Rafael Aquini
On Mon, Aug 06, 2012 at 03:06:49PM -0400, Rik van Riel wrote: > > Just a plain rename would work. > Ok, I will rename it. > >+static inline bool is_balloon_page(struct page *page) > >+{ > >+return (page->mapping && page->mapping == balloon_mapping); > >+} > > As an aside, since you are only

Re: rcu: INFO: rcu_preempt detected stalls on CPUs/tasks on v3.6

2012-08-06 Thread Sasha Levin
On 08/06/2012 07:21 PM, John Stultz wrote: > On 08/05/2012 09:55 AM, Sasha Levin wrote: >> On 07/30/2012 03:17 PM, Avi Kivity wrote: >>> Possible causes: >>> - the APIC calibration in the guest failed, so it is programming too >>> low values into the timer >>> - it actually needs 1 us wakeups a

Re: [PATCH] Forbid invocation of kexec_load() outside initial PID namespace

2012-08-06 Thread Serge E. Hallyn
Quoting Eric W. Biederman (ebied...@xmission.com): > "Serge E. Hallyn" writes: > > > Quoting Daniel P. Berrange (berra...@redhat.com): > >> From: "Daniel P. Berrange" > >> > >> The following commit > >> > >> commit cf3f89214ef6a33fad60856bc5ffd7bb2fc4709b > >> Author: Daniel Lezcano >

<    1   2   3   4   5   6   7   8   >