Re: [PATCH 14/23] usb-acpi: Comply with the ACPI API change

2012-09-22 Thread Greg Kroah-Hartman
On Sun, Sep 23, 2012 at 12:34:02AM -0400, Len Brown wrote: > From: Feng Tang > > acpi_get_physical_device_location()'s 2nd argument has been changed > in ACPI implementaion, so need a follow-on change in > usb_acpi_check_pld(). > > Signed-off-by: Feng Tang > Signed-off-by: Bob Moore > Cc:

Re: [PATCH v2] Fix kernel stack data disclosure in binfmt_script during execve

2012-09-22 Thread halfdog
Randy Dunlap wrote: > On 09/20/2012 09:05 AM, halfdog wrote: > >> halfdog wrote: >> >> Now this is the updated and also tested patch (vs. linux-3.5.4 kernel) to fix >> https://bugzilla.kernel.org/show_bug.cgi?id=46841 . See also >>

Re: RCU idle CPU detection is broken in linux-next

2012-09-22 Thread Sasha Levin
On 09/23/2012 02:21 AM, Paul E. McKenney wrote: > On Sat, Sep 22, 2012 at 02:27:35PM -0700, Paul E. McKenney wrote: >> On Sat, Sep 22, 2012 at 07:50:29PM +0200, Sasha Levin wrote: >>> On 09/22/2012 05:56 PM, Paul E. McKenney wrote: And now the prime suspect is the new CONFIG_RCU_USER_QS=y.

Re: [PATCH 3/4] devpts: Make the newinstance option historical

2012-09-22 Thread Al Viro
On Sun, Sep 23, 2012 at 05:19:06AM +0100, Al Viro wrote: > On Sat, Sep 22, 2012 at 08:50:44PM -0700, Eric W. Biederman wrote: > > > +struct inode *devpts_redirect(struct file *filp) > > +{ > > + struct inode *inode; > > + struct file *filp2; > > + > > + /* Is the inode already a devpts

[PATCH 18/23] tools/power/acpi/acpidump: version 20051111

2012-09-22 Thread Len Brown
From: Len Brown This is unchanged version 2005, plus a small bit in DEFINE_ALTERNATE_TYPES to enable building with latest kernel headers. Signed-off-by: Len Brown --- tools/power/acpi/Makefile | 15 ++ tools/power/acpi/acpidump.c | 472 2

[PATCH 19/23] tools/power/acpi/acpidump: version 20060606

2012-09-22 Thread Len Brown
From: Len Brown This is unchanged version 20060606, plus a small bit in DEFINE_ALTERNATE_TYPES to enable building with latest kernel headers. Signed-off-by: Len Brown --- tools/power/acpi/acpidump.c | 97 +++-- 1 file changed, 59 insertions(+), 38

[PATCH 03/23] ACPICA: Split ACPICA initialization functions to new file, utxfinit.c

2012-09-22 Thread Len Brown
From: Bob Moore Split utxface.c to improve modularity and reduce file size. Signed-off-by: Bob Moore Signed-off-by: Feng Tang Signed-off-by: Len Brown --- drivers/acpi/acpica/Makefile | 1 + drivers/acpi/acpica/utxface.c | 267 +-

[PATCH 02/23] ACPICA: Enable Scope change to root during module-level code execution.

2012-09-22 Thread Len Brown
From: Bob Moore Allows constructs like this: If () Scope (\) ... Signed-off-by: Bob Moore Signed-off-by: Feng Tang Signed-off-by: Len Brown --- drivers/acpi/acpica/dswload.c | 14 ++ drivers/acpi/acpica/dswload2.c | 14 ++ 2 files changed, 28

[PATCH 01/23] ACPI: delelte more BFS/GTS related definition and code

2012-09-22 Thread Len Brown
From: Feng Tang This is a follow on for commmit 3f6f49c7 "ACPI: delete _GTS/_BFS support" to do more cleanup. Signed-off-by: Feng Tang Signed-off-by: Bob Moore Signed-off-by: Len Brown --- drivers/acpi/acpica/hwxfsleep.c | 1 - include/acpi/acnames.h | 2 -- include/acpi/actypes.h

[PATCH 21/23] tools/power/acpi/acpidump: version 20071116

2012-09-22 Thread Len Brown
From: Len Brown This is unchanged version 20071116, plus a small bit in DEFINE_ALTERNATE_TYPES to enable building with latest kernel headers. Signed-off-by: Len Brown --- tools/power/acpi/acpidump.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git

[PATCH 22/23] tools/power/acpi/acpidump: version 20101221 - find dynamic tables in sysfs

2012-09-22 Thread Len Brown
From: Len Brown This is unchanged version 20101221, plus a small bit in DEFINE_ALTERNATE_TYPES to enable building with latest kernel headers. This version finds dynamic tables exported by Linux in /sys/firmware/acpi/tables/dynamic Signed-off-by: Len Brown --- tools/power/acpi/acpidump.c |

[PATCH 23/23] tools/power/acpi/acpidump: create acpidump(8), local make install targets

2012-09-22 Thread Len Brown
From: Len Brown Signed-off-by: Len Brown --- tools/power/acpi/Makefile | 4 +++ tools/power/acpi/acpidump.8 | 59 + 2 files changed, 63 insertions(+) create mode 100644 tools/power/acpi/acpidump.8 diff --git a/tools/power/acpi/Makefile

[PATCH 07/23] ACPICA: Debug output: Update output for Processor object.

2012-09-22 Thread Len Brown
From: Bob Moore Cleanup output for Processor(). Length is a byte, not a word. Signed-off-by: Bob Moore Signed-off-by: Feng Tang Signed-off-by: Len Brown --- drivers/acpi/acpica/nsdump.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/acpi/acpica/nsdump.c

[PATCH 06/23] ACPICA: GPE Support: Update debug info for GPE tracing.

2012-09-22 Thread Len Brown
From: Bob Moore Add additional debug info to assist with GPE debugging. Signed-off-by: Bob Moore Signed-off-by: Feng Tang Signed-off-by: Len Brown --- drivers/acpi/acpica/evgpe.c | 21 +++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git

[PATCH 05/23] ACPICA: Add Windows8/Server2012 string for _OSI method.

2012-09-22 Thread Len Brown
From: Bob Moore This change adds a new _OSI string, "Windows 2012" for both Windows 8 and Windows Server 2012. >From Microsoft document "How to Identify the Windows Version in ACPI by Using _OSI", July 13, 2012. Signed-off-by: Bob Moore Signed-off-by: Feng Tang Signed-off-by: Len Brown ---

[PATCH 04/23] ACPICA: Comment update: Fix some typos in actble.h

2012-09-22 Thread Len Brown
From: Bob Moore No functional change. Signed-off-by: Bob Moore Signed-off-by: Feng Tang Signed-off-by: Len Brown --- include/acpi/actbl.h | 48 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/include/acpi/actbl.h

[PATCH 08/23] ACPICA: GPE support: Remove extraneous parameter from low-level function.

2012-09-22 Thread Len Brown
From: Feng Tang The gpe_register_info argument is no longer needed, reduce it to make code simpler. Signed-off-by: Feng Tang Signed-off-by: Bob Moore Signed-off-by: Len Brown --- drivers/acpi/acpica/achware.h | 3 +-- drivers/acpi/acpica/evgpe.c | 3 +-- drivers/acpi/acpica/evxfgpe.c |

[PATCH 13/23] ACPI: Use ACPICA native way to decode the PLD buffer

2012-09-22 Thread Len Brown
From: Feng Tang This patch is on top of the ACPICA 20120816 release, which implemented a native way to decode PLD buffer, so use it instead of leting upper level users do the decoding. v2: Modify the check for PLD buffer length to reject buffers whose length < 16 Signed-off-by: Feng Tang

[PATCH 12/23] ACPICA: Update version to 20120816.

2012-09-22 Thread Len Brown
From: Bob Moore Version 20120816. Signed-off-by: Bob Moore Signed-off-by: Feng Tang Signed-off-by: Len Brown --- include/acpi/acpixf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/acpi/acpixf.h b/include/acpi/acpixf.h index 270517d..03457a9 100644 ---

[PATCH 11/23] ACPICA: Add struct header support for _FDE, _GRT, _GTM, and _SRT names.

2012-09-22 Thread Len Brown
From: Bob Moore Added structs for the buffers related to these predefined names, in acbuffer.h Signed-off-by: Bob Moore Signed-off-by: Feng Tang Signed-off-by: Len Brown --- include/acpi/acbuffer.h | 43 +++ 1 file changed, 43 insertions(+) diff

[PATCH 10/23] ACPICA: Add support for complex _PLD buffers.

2012-09-22 Thread Len Brown
From: Bob Moore _PLD (Physical Location of Device) returns a bit-packed buffer that is difficult to parse. This change adds a new interface, AcpiDecodePldBuffer that parses the buffer into a more usable local struct. Also adds macros to both get and set individual fields within the packed _PLD

[PATCH 09/23] ACPICA: Headers: Add support for CSRT and DBG2 ACPI tables.

2012-09-22 Thread Len Brown
From: Bob Moore These tables are defined outside of the ACPI specification. Signed-off-by: Bob Moore Signed-off-by: Feng Tang Signed-off-by: Len Brown --- include/acpi/actbl2.h | 111 ++ include/acpi/actbl3.h | 1 - 2 files changed, 111

[PATCH 16/23] ACPICA: Table Manager: Merge duplicate code (root table)

2012-09-22 Thread Len Brown
From: Lv Zheng Merge/remove duplicate code in the root table resize functions One function is external, the other is internal. Lv Zheng, ACPICA BZ 846: https://acpica.org/bugzilla/show_bug.cgi?id=846 Signed-off-by: Bob Moore Signed-off-by: Lv Zheng Signed-off-by: Len Brown ---

[PATCH 15/23] ACPICA: Headers: Add new ACPI 5 HEST notify type values.

2012-09-22 Thread Len Brown
From: Bob Moore Add values 5 (CMCI) and 6 (MCE). Signed-off-by: Bob Moore Signed-off-by: Lv Zheng Signed-off-by: Len Brown --- include/acpi/actbl1.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/acpi/actbl1.h b/include/acpi/actbl1.h index c41d6f9..280fc45

[PATCH 14/23] usb-acpi: Comply with the ACPI API change

2012-09-22 Thread Len Brown
From: Feng Tang acpi_get_physical_device_location()'s 2nd argument has been changed in ACPI implementaion, so need a follow-on change in usb_acpi_check_pld(). Signed-off-by: Feng Tang Signed-off-by: Bob Moore Cc: Matthew Garrett Cc: Greg Kroah-Hartman Cc: Lan Tianyu Signed-off-by: Len

[PATCH 17/23] ACPICA: Update version to 20120913

2012-09-22 Thread Len Brown
From: Bob Moore Version 20120913. Signed-off-by: Bob Moore Signed-off-by: Lv Zheng Signed-off-by: Len Brown --- include/acpi/acpixf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/acpi/acpixf.h b/include/acpi/acpixf.h index 03457a9..267bfc4 100644 ---

[PATCH 20/23] tools/power/acpi/acpidump: version 20070714

2012-09-22 Thread Len Brown
From: Len Brown This is unchanged version 20070714, plus a small bit in DEFINE_ALTERNATE_TYPES to enable building with latest kernel headers. Signed-off-by: Len Brown --- tools/power/acpi/Makefile | 7 ++- tools/power/acpi/acpidump.c | 127 ++-- 2

ACPICA related patch queue for Linux-3.7

2012-09-22 Thread Len Brown
Here is my ACPICA branch queued for Linux-3.7 Please let me know if you see troubles with any of them. Note that the acpidump utility is also in here. Since it lost its home on kernel.org in pmtools, and it depends on kernel headers, it seemed to make sense to put it here. Yes, it is a bit

Re: [PATCH 2/2] ACPI: Override arbitrary ACPI tables via initrd for debugging

2012-09-22 Thread Len Brown
> +config ACPI_INITRD_TABLE_OVERRIDE > + bool > + default y Do distros in addition to SuSE concur they want to ship this way? The last time we tried to make debugging easier we added ACPI_CUSTOM_METHOD, which allowed root to over-ride an AML method on a running system. Distro

Re: [PATCH 3/4] devpts: Make the newinstance option historical

2012-09-22 Thread Al Viro
On Sat, Sep 22, 2012 at 08:50:44PM -0700, Eric W. Biederman wrote: > +struct inode *devpts_redirect(struct file *filp) > +{ > + struct inode *inode; > + struct file *filp2; > + > + /* Is the inode already a devpts inode? */ > + inode = filp->f_dentry->d_inode; > + if

[PATCH 4/4] devpts: Update the documentation

2012-09-22 Thread Eric W. Biederman
Document the updated state of devpts. Signed-off-by: "Eric W. Biederman" --- Documentation/filesystems/devpts.txt | 88 - 1 files changed, 22 insertions(+), 66 deletions(-) diff --git a/Documentation/filesystems/devpts.txt

[PATCH 3/4] devpts: Make the newinstance option historical

2012-09-22 Thread Eric W. Biederman
- Modify opening /dev/ptmx so that it opens /dev/pts/ptmx As it appares nearly impossible to get udev to create a symlink do this with a little sprinkle of in kernel magic. - Cleanup the devpts mount code and only leave the code for new instance. Tested on debian and ubuntu without any

[PATCH 2/4] devpts: Set the default permissions of /dev/pts/ptmx and /dev/ptmx to 0666

2012-09-22 Thread Eric W. Biederman
These are difference instances of the same device not so it only makes sense that they would have the same default permissions. Move the definitions of DEVPTS_DEEFAULT_PTMX_MODE and PTM_MINOR into devpts_fs.h so we can use the same definitions throughout. Acked-by: "Serge E. Hallyn"

[PATCH 1/4] devpts: Remove CONFIG_DEVPTS_MULTIPLE_INSTANCES

2012-09-22 Thread Eric W. Biederman
This compile option just makes the code more complicated and makes it more difficult to transition to a time when we take advantage of the new features that DEVPTS_MULTIPLE_INSTANCES allows. Acked-by: "Serge E. Hallyn" Signed-off-by: "Eric W. Biederman" ---

[PATCH 0/4] devpts: fix devpts mount behavior

2012-09-22 Thread Eric W. Biederman
This is the restart of an old conversation that started out with Serge noting that there are problems taking advantage of the devpts newinstance mount option. As the conversation progressed it was suggested that the devpts newinstance mount option should just be removed if possible. Then the

Re: rcu self-detected stall messages on OMAP3, 4 boards

2012-09-22 Thread Paul Walmsley
On Sat, 22 Sep 2012, Paul E. McKenney wrote: > Very cool, thank you for your testing efforts!!! You're welcome. > May I apply your Tested-by to this patch? Please do: Tested-by: Paul Walmsley # OMAP4430 Am testing on OMAP3730 (single-core) now. - Paul -- To unsubscribe from this list:

Re: rcu self-detected stall messages on OMAP3, 4 boards

2012-09-22 Thread Paul E. McKenney
ing that the idle loop was entered with tick_nohz_enabled=1 > during a grace period with no callbacks present: > > http://www.pwsan.com/omap/transcripts/20120922-rcu-stall-debug-pre-fix.txt > > The debugging events started to appear at 1.867370 seconds into the > boot. ENTER wa

Re: [PATCH 3.6-rc6] cpufreq/powernow-k8: workqueue user shouldn't migrate the kworker to another CPU

2012-09-22 Thread Thomas Renninger
Hi, better late than never.. On Monday 17 September 2012 22:38:20 Rafael J. Wysocki wrote: > On Monday, September 17, 2012, Tejun Heo wrote: > > powernowk8_target() runs off a per-cpu work item and if the > > cpufreq_policy->cpu is different from the current one, it migrates the > > kworker to

Re: [RFC] tty: Add get- ioctls to fetch tty status

2012-09-22 Thread Eric W. Biederman
I don't know where this conversation comes from but putting ptys in sysfs in combination with the newinstance mount option is completely broken unless the device name and device number duplication is handled, which I don't see here. Cyrill Gorcunov writes: > > Guys, you mean something like

Re: rcu self-detected stall messages on OMAP3, 4 boards

2012-09-22 Thread Paul Walmsley
Without the bugfix patch, a boot log transcript was obtained indicating that the idle loop was entered with tick_nohz_enabled=1 during a grace period with no callbacks present: http://www.pwsan.com/omap/transcripts/20120922-rcu-stall-debug-pre-fix.txt The debugging events started to appear

Re: [PATCH] regulator: deprecate regulator-compatible DT property

2012-09-22 Thread Stephen Warren
On 09/22/2012 09:56 AM, Mark Brown wrote: > On Thu, Sep 20, 2012 at 04:04:57PM -0600, Stephen Warren wrote: > >> Mark, if this gets into 3.7, I can fix up all the Tegra .dts files during >> 3.8. > > I don't know which branch you generated this against but it doesn't > apply to any of the

[PATCH] edac_mc: edac_mc_free() cannot assume mem_ctl_info is registered in sysfs.

2012-09-22 Thread Shaun Ruffell
Fix potential NULL pointer dereference in edac_unregister_sysfs() on system boot introduced in 3.6-rc1. This patch is dependent on Fengguang's "edac_mc: fix messy kfree calls in the error path". Since commit 7a623c039 ("edac: rewrite the sysfs code to use struct device") edac_mc_alloc() no longer

Re: [PATCH 2/2] ACPI: Override arbitrary ACPI tables via initrd for debugging

2012-09-22 Thread Thomas Renninger
Hi Len, On Saturday 22 September 2012 17:16:47 Len Brown wrote: > This isn't a NAK, but I'm at best, "like warm" on this. We had this discussion already... And you already had similar patches Signed-off and put in your queue for Linus in 2008:

Re: [RFC] tty: Add get- ioctls to fetch tty status

2012-09-22 Thread Greg Kroah-Hartman
On Sun, Sep 23, 2012 at 01:52:32AM +0400, Cyrill Gorcunov wrote: > On Sun, Sep 23, 2012 at 12:11:44AM +0400, Cyrill Gorcunov wrote: > > > > > Sysfs is one value per file, you have three values here, please make 3 > > > files. > > > > > > And document them in Documentation/ABI/. > > > > Hmm, sure

Re: [RFC] status of execve() work - per-architecture patches solicited

2012-09-22 Thread Al Viro
On Sat, Sep 22, 2012 at 09:16:11PM +1000, Greg Ungerer wrote: > I sent the patch to the m68k-linux list. Its been acked by Geert. > > http://marc.info/?l=linux-m68k=134742688015639=2 > > I was going to push it through the m68knommu git tree, but I don't mind > if you would rather take it with

Re: RCU idle CPU detection is broken in linux-next

2012-09-22 Thread Paul E. McKenney
On Sat, Sep 22, 2012 at 02:27:35PM -0700, Paul E. McKenney wrote: > On Sat, Sep 22, 2012 at 07:50:29PM +0200, Sasha Levin wrote: > > On 09/22/2012 05:56 PM, Paul E. McKenney wrote: > > > And now the prime suspect is the new CONFIG_RCU_USER_QS=y. Do these > > > warnings ever show up with

[PATCH] edac_mc: fix messy kfree calls in the error path

2012-09-22 Thread Fengguang Wu
coccinelle warns about: + drivers/edac/edac_mc.c:429:9-23: ERROR: reference preceded by free on line 429 421 if (mci->csrows) { > 422 for (chn = 0; chn < tot_channels; chn++) { 423 csr = mci->csrows[chn]; 424 if

Re: Linux 3.6-rc6

2012-09-22 Thread Fengguang Wu
On Sat, Sep 22, 2012 at 11:57:23AM -0700, Linus Torvalds wrote: > On Fri, Sep 21, 2012 at 5:59 PM, Shaun Ruffell wrote: > > > > I posted patches [1,2,3] that resolve the issue for me. Shaohui Xie > > also hit the issue and posted a slightly different patch [4]. The > > patches are currently

Re: rcu self-detected stall messages on OMAP3, 4 boards

2012-09-22 Thread Paul E. McKenney
On Sat, Sep 22, 2012 at 10:20:19PM +, Paul Walmsley wrote: > Hi Paul > > On Sat, 22 Sep 2012, Paul E. McKenney wrote: > > > Strangely enough, I believe that I have inadvertently fixed this in > > my -rcu tree: > > > > git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git

Re: [RFC] tty: Add get- ioctls to fetch tty status

2012-09-22 Thread Alan Cox
> > Guys, you mean something like below? Look, I must admit I'm not really > > sure if I've done all locking right, and there is no need for additional > > kref counting on tty_struct. Could you please check if it looks more-less > > sane (I've tested it but still...) This still doesn't answer

Re: rcu self-detected stall messages on OMAP3, 4 boards

2012-09-22 Thread Paul E. McKenney
On Sat, Sep 22, 2012 at 10:25:59PM +, Paul Walmsley wrote: > On Sat, 22 Sep 2012, Paul E. McKenney wrote: > > > And here is a patch. I am still having trouble reproducing the problem, > > but figured that I should avoid serializing things. > > Thanks, testing this now on v3.6-rc6. Very

Re: rcu self-detected stall messages on OMAP3, 4 boards

2012-09-22 Thread Paul Walmsley
On Sat, 22 Sep 2012, Paul E. McKenney wrote: > And here is a patch. I am still having trouble reproducing the problem, > but figured that I should avoid serializing things. Thanks, testing this now on v3.6-rc6. One question though about the patch description: > All this begs the question of

Re: rcu self-detected stall messages on OMAP3, 4 boards

2012-09-22 Thread Paul Walmsley
Hi Paul On Sat, 22 Sep 2012, Paul E. McKenney wrote: > Strangely enough, I believe that I have inadvertently fixed this in > my -rcu tree: > > git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git rcu/next > > Nevertheless, if you get a chance to try it, I would be interested to

Re: rcu self-detected stall messages on OMAP3, 4 boards

2012-09-22 Thread Paul E. McKenney
On Sat, Sep 22, 2012 at 01:10:43PM -0700, Paul E. McKenney wrote: > On Sat, Sep 22, 2012 at 06:42:08PM +, Paul Walmsley wrote: > > On Fri, 21 Sep 2012, Paul E. McKenney wrote: > > > > > Could you please point me to a recipe for creating a minimal userspace? > > > Just in case it is the

Re: [RFC] tty: Add get- ioctls to fetch tty status

2012-09-22 Thread Cyrill Gorcunov
On Sun, Sep 23, 2012 at 12:11:44AM +0400, Cyrill Gorcunov wrote: > > > Sysfs is one value per file, you have three values here, please make 3 > > files. > > > > And document them in Documentation/ABI/. > > Hmm, sure Greg, I'll update. Thanks! Something like below I suppose? Look, if there will

Re: [PATCH v3 RESEND 01/17] ARM: add mechanism for late code patching

2012-09-22 Thread Cyril Chemparathy
On 09/22/12 11:10, Nicolas Pitre wrote: On Fri, 21 Sep 2012, Cyril Chemparathy wrote: The original phys_to_virt/virt_to_phys patching implementation relied on early patching prior to MMU initialization. On PAE systems running out of >4G address space, this would have entailed an additional

Re: RCU idle CPU detection is broken in linux-next

2012-09-22 Thread Paul E. McKenney
On Sat, Sep 22, 2012 at 07:50:29PM +0200, Sasha Levin wrote: > On 09/22/2012 05:56 PM, Paul E. McKenney wrote: > > And now the prime suspect is the new CONFIG_RCU_USER_QS=y. Do these > > warnings ever show up with CONFIG_RCU_USER_QS=n? > > It seems that disabling that does make the warnings go

Re: linux-next: build failure after merge of the final tree (net-next tree related)

2012-09-22 Thread Benjamin Herrenschmidt
On Sat, 2012-09-22 at 16:00 -0400, David Miller wrote: > > I think I'm going to just end up restricting this driver to X86 > as was originally suggested. Probably the easiest fix indeed. > There seems to be no real consistent Kconfig protection for users > of isa_virt_to_bus() and friends. > >

RE: [RFC] mm: add support for zsmalloc and zcache

2012-09-22 Thread Dan Magenheimer
> From: Mel Gorman [mailto:mgor...@suse.de] > Subject: Re: [RFC] mm: add support for zsmalloc and zcache > > On Fri, Sep 21, 2012 at 01:35:15PM -0700, Dan Magenheimer wrote: > > > From: Seth Jennings [mailto:sjenn...@linux.vnet.ibm.com] > > > Subject: Re: [RFC] mm: add support for zsmalloc and

Re: [PATCH 1/1] HID: Fix missing Unifying device issue

2012-09-22 Thread Jiri Kosina
On Sat, 22 Sep 2012, Jiri Kosina wrote: > > This patch fixes an issue introduced after commit 4ea5454203d991ec > > > > After that commit, hid-core silently discards any incoming packet > > that arrives while any hid driver's probe function is being executed. > > > > This broke the enumeration

Re: rcu self-detected stall messages on OMAP3, 4 boards

2012-09-22 Thread Paul E. McKenney
On Sat, Sep 22, 2012 at 06:16:15PM +, Paul Walmsley wrote: > Hi Paul > > On Fri, 21 Sep 2012, Paul E. McKenney wrote: > > > I am wondering if your system somehow figured out how to start a grace > > period that had no RCU callbacks waiting for it. If that happened, > > then a CONFIG_NO_HZ=y

blk: NULL ptr deref in blk_dequeue_request()

2012-09-22 Thread Sasha Levin
Hi all, While fuzzing with trinity inside a KVM tools guest running the latest linux-next kernel, I've stumbled on the following BUG. I've also hit a similar trace where the 'BUG_ON(ELV_ON_HASH(rq));' above that list_del_init() gets hit, so I guess it's a race condition of some sorts. [

Re: [patch net] sky2: fix rx filter setup on link up

2012-09-22 Thread Stephen Hemminger
On Mon, 17 Sep 2012 17:10:17 +0200 Jiri Pirko wrote: > + sky2_write_rx_filter(sky2, filter); > + memcpy(sky2->rx_filter, filter, sizeof(sky2->rx_filter)); This isn't safe since rx_filter might be referred to from interrupt context (ie link up PHY interrupt). Maybe using atomic64 would

Re: [RFC] tty: Add get- ioctls to fetch tty status

2012-09-22 Thread Cyrill Gorcunov
On Sat, Sep 22, 2012 at 01:07:31PM -0700, Greg Kroah-Hartman wrote: > > drivers/tty/pty.c | 45 - > > 1 file changed, 44 insertions(+), 1 deletion(-) > > > > Index: tty.git/drivers/tty/pty.c > >

Re: rcu self-detected stall messages on OMAP3, 4 boards

2012-09-22 Thread Paul E. McKenney
On Sat, Sep 22, 2012 at 06:42:08PM +, Paul Walmsley wrote: > On Fri, 21 Sep 2012, Paul E. McKenney wrote: > > > Could you please point me to a recipe for creating a minimal userspace? > > Just in case it is the userspac erather than the architecture/hardware > > that makes the difference. >

Re: [RFC] tty: Add get- ioctls to fetch tty status

2012-09-22 Thread Greg Kroah-Hartman
On Sat, Sep 22, 2012 at 10:06:39PM +0400, Cyrill Gorcunov wrote: > On Thu, Sep 13, 2012 at 05:25:07PM +0100, Alan Cox wrote: > > On Thu, 13 Sep 2012 16:54:01 +0400 > > Cyrill Gorcunov wrote: > > > > > On Thu, Sep 13, 2012 at 01:51:31PM +0100, Alan Cox wrote: > > > > > +static int

Re: [Intel-gfx] [PATCH] console: implement lockdep support for console_lock

2012-09-22 Thread Greg KH
On Sat, Sep 22, 2012 at 07:52:11PM +0200, Daniel Vetter wrote: > Dave Airlie recently discovered a locking bug in the fbcon layer, > where a timer_del_sync (for the blinking cursor) deadlocks with the > timer itself, since both (want to) hold the console_lock: > >

Re: linux-next: build failure after merge of the final tree (net-next tree related)

2012-09-22 Thread David Miller
From: Benjamin Herrenschmidt Date: Sat, 22 Sep 2012 07:46:40 +1000 > Right, but on ppc, GFP_DMA is a nop (no separate ZONE_DMA, or rather all > of memory is ZONE_DMA). It's always been like that afaik. > > We could support ISA device limited addressability using the iommu but > that would

Re: Tracking down suspend/resume ext3/mmc issues on imx233

2012-09-22 Thread Pavel Machek
Hi! On Wed 2012-09-19 20:01:10, Theodore Ts'o wrote: > On Thu, Sep 20, 2012 at 01:23:49AM +0200, Pavel Machek wrote: > > > > I'm not sure I agree. > > > > If you treat root fs as removable, you'll get "crash". You'll need to > > replay the journal, but data is safe. > > > > If you treat it as

Re: [PATCH net-next v1] net: use a per task frag allocator

2012-09-22 Thread David Miller
From: Eric Dumazet Date: Fri, 21 Sep 2012 23:11:11 +0200 > On Fri, 2012-09-21 at 13:27 -0700, Vijay Subramanian wrote: >> I get the following compile error with the newer version of the patch >> >> net/sched/em_meta.c: In function ‘meta_int_sk_sendmsg_off’: >> net/sched/em_meta.c:464: error:

Re: [PATCH] pppoe: drop PPPOX_ZOMBIEs in pppoe_release

2012-09-22 Thread David Miller
From: Xiaodong Xu Date: Sat, 22 Sep 2012 18:09:32 +0800 > From: Xiaodong Xu > > When PPPOE is running over a virtual ethernet interface (e.g., a > bonding interface) and the user tries to delete the interface in case > the PPPOE state is ZOMBIE, the kernel will loop forever while >

Re: pull request: wireless 2012-09-22

2012-09-22 Thread David Miller
From: "John W. Linville" Date: Sat, 22 Sep 2012 13:13:42 -0400 > Please pull this last(?) batch of fixes intended for 3.6... > > For the Bluetooth bits, Gustavo says this: > > "Here goes probably my last update to 3.6. It includes the two patches > you were ok last week(from Andrzej

Re: [PATCH] net/phy/bcm87xx: Add MODULE_LICENSE("GPL") to GPL driver

2012-09-22 Thread David Miller
From: Peter Huewe Date: Sat, 22 Sep 2012 04:44:18 +0200 > Currently the driver has no MODULE_LICENSE attribute in its source which > results in a kernel taint if I load this: > > root@(none):~# modprobe bcm87xx > bcm87xx: module license 'unspecified' taints kernel. > > Since the first lines of

Re: [PATCH] rds: Error on offset mismatch if not loopback

2012-09-22 Thread David Miller
From: John Jolly Date: Fri, 21 Sep 2012 15:32:40 -0600 > Attempting an rds connection from the IP address of an IPoIB interface > to itself causes a kernel panic due to a BUG_ON() being triggered. > Making the test less strict allows rds-ping to work without crashing > the machine. > > A local

Re: Linux 3.6-rc6

2012-09-22 Thread Linus Torvalds
On Fri, Sep 21, 2012 at 5:59 PM, Shaun Ruffell wrote: > > I posted patches [1,2,3] that resolve the issue for me. Shaohui Xie > also hit the issue and posted a slightly different patch [4]. The > patches are currently waiting for Mauro, who I understand is > catching up since returning from San

Re: [PATCH resend] spi core: Provide means to instantiate devices through sysfs

2012-09-22 Thread Guenter Roeck
On Sat, Sep 22, 2012 at 12:11:33PM -0400, Mark Brown wrote: > On Mon, Sep 17, 2012 at 04:51:20PM -0700, Guenter Roeck wrote: > > The I2C core provides a means to instantiate devices from userspace > > using sysfs attributes. Provide the same mechanism for SPI devices. > > So, unlike I2C this is

Re: rcu self-detected stall messages on OMAP3, 4 boards

2012-09-22 Thread Paul Walmsley
On Fri, 21 Sep 2012, Paul E. McKenney wrote: > Could you please point me to a recipe for creating a minimal userspace? > Just in case it is the userspac erather than the architecture/hardware > that makes the difference. Tony's suggestion is pretty good. Note that there may also be differences

Re: sys_kcmp (was: Re: [PATCH 1/2] ARM: add finit_module syscall to ARM)

2012-09-22 Thread Andrew Morton
On Sat, 22 Sep 2012 14:20:46 +0100 Russell King wrote: > On Sat, Sep 22, 2012 at 03:45:49PM +0400, Cyrill Gorcunov wrote: > > On Sat, Sep 22, 2012 at 12:56:42PM +0200, Geert Uytterhoeven wrote: > > > On Fri, Sep 21, 2012 at 6:51 PM, Russell King > > > wrote: > > > > That brings up another

Re: [PATCH] USB: ohci-at91: fix PIO handling in relation with number of ports

2012-09-22 Thread Joachim Eastwood
On Wed, Aug 29, 2012 at 11:49 AM, Nicolas Ferre wrote: > If the number of ports present on the SoC/board is not the maximum > and that the platform data is not filled with all data, there is > an easy way to mess the PIO setup for this interface. > This quick fix addresses mis-configuration in

Re: rcu self-detected stall messages on OMAP3, 4 boards

2012-09-22 Thread Paul Walmsley
Hi Paul On Fri, 21 Sep 2012, Paul E. McKenney wrote: > I am wondering if your system somehow figured out how to start a grace > period that had no RCU callbacks waiting for it. If that happened, > then a CONFIG_NO_HZ=y system could in theory get into a state where all > CPUs are in dyntick-idle

Re: Drop support to compressed modules?

2012-09-22 Thread Mike Frysinger
On Friday 21 September 2012 17:41:44 Lucas De Marchi wrote: > I'd like to ask people the following question: why are you using > compressed modules? Is it only for the disk space or is there any > performance related reason? i've only seen it to save on disk space -mike signature.asc

Re: [RFC] tty: Add get- ioctls to fetch tty status

2012-09-22 Thread Cyrill Gorcunov
On Thu, Sep 13, 2012 at 05:25:07PM +0100, Alan Cox wrote: > On Thu, 13 Sep 2012 16:54:01 +0400 > Cyrill Gorcunov wrote: > > > On Thu, Sep 13, 2012 at 01:51:31PM +0100, Alan Cox wrote: > > > > +static int pty_get_lock(struct tty_struct *tty, int __user *arg) > > > > +{ > > > > + int locked

[PATCH] console: implement lockdep support for console_lock

2012-09-22 Thread Daniel Vetter
Dave Airlie recently discovered a locking bug in the fbcon layer, where a timer_del_sync (for the blinking cursor) deadlocks with the timer itself, since both (want to) hold the console_lock: https://lkml.org/lkml/2012/8/21/36 Unfortunately the console_lock isn't a plain mutex and hence has no

Re: RCU idle CPU detection is broken in linux-next

2012-09-22 Thread Sasha Levin
On 09/22/2012 05:56 PM, Paul E. McKenney wrote: > And now the prime suspect is the new CONFIG_RCU_USER_QS=y. Do these > warnings ever show up with CONFIG_RCU_USER_QS=n? It seems that disabling that does make the warnings go away. I'll keep the tests running in case it just reduces the chances

Re: [PATCH v3] lxt PHY: Support for the buggy LXT973 rev A2

2012-09-22 Thread Richard Cochran
On Sat, Sep 22, 2012 at 06:16:49PM +0200, Christophe Leroy wrote: > This patch adds proper handling of the buggy revision A2 of LXT973 phy, adding > precautions linked to ERRATA Item 4: > > Revision A2 of LXT973 chip randomly returns the contents of the previous even > register when you read a

pull request: wireless 2012-09-22

2012-09-22 Thread John W. Linville
commit 112df2417dc9a1db1b19930ea4d0a697a61e Dave, Please pull this last(?) batch of fixes intended for 3.6... For the Bluetooth bits, Gustavo says this: "Here goes probably my last update to 3.6. It includes the two patches you were ok last week(from Andrzej Kaczmarek), those are critical

[PATCH] clk: mxs: Use a better name for the USB PHY clock

2012-09-22 Thread Fabio Estevam
From: Fabio Estevam Use a better name for the USB PHY clock. Signed-off-by: Fabio Estevam --- .../devicetree/bindings/clock/imx23-clock.txt |2 +- .../devicetree/bindings/clock/imx28-clock.txt |4 ++-- drivers/clk/mxs/clk-imx23.c|6 +++---

Re: [PATCH v2] lxt PHY: Support for the buggy LXT973 rev A2

2012-09-22 Thread leroy christophe
Le 10/09/2012 20:17, Lutz Jaenicke a écrit : On Mon, Sep 10, 2012 at 05:45:49PM +0200, Christophe Leroy wrote: This patch adds proper handling of the buggy revision A2 of LXT973 phy, adding precautions linked to ERRATA Item 4: Item 4: MDIO Interface and Repeated Polling Problem: Repeated

[PATCH v3] lxt PHY: Support for the buggy LXT973 rev A2

2012-09-22 Thread Christophe Leroy
This patch adds proper handling of the buggy revision A2 of LXT973 phy, adding precautions linked to ERRATA Item 4: Revision A2 of LXT973 chip randomly returns the contents of the previous even register when you read a odd register regularly Signed-off-by: Christophe Leroy diff -u

Re: [PATCH v2] spi/pl022: Devicetree support w/o platform data

2012-09-22 Thread Mark Brown
On Tue, Sep 18, 2012 at 03:53:53PM +0200, Roland Stigge wrote: > Even with devicetree support, we needed platform data to provide some data, > leading to mixed device tree and platform data. This patch makes it possible > to > provide all that information via device tree. Now, the data must be

Re: [PATCH resend] spi core: Provide means to instantiate devices through sysfs

2012-09-22 Thread Mark Brown
On Mon, Sep 17, 2012 at 04:51:20PM -0700, Guenter Roeck wrote: > The I2C core provides a means to instantiate devices from userspace > using sysfs attributes. Provide the same mechanism for SPI devices. So, unlike I2C this is only going to work for a subset of controllers - anything that relies

Re: [REPOST PATCH v2 1/2] spi: omap2-mcspi: add pinctrl support

2012-09-22 Thread Mark Brown
On Tue, Sep 18, 2012 at 08:01:25AM -0400, Matt Porter wrote: > Adds pinctrl support to support OMAP platforms that boot from DT > and rely on pinctrl support to set pinmuxes. Applied, thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: rcu self-detected stall messages on OMAP3, 4 boards

2012-09-22 Thread Paul E. McKenney
On Sat, Sep 22, 2012 at 05:45:12PM +0200, Frederic Weisbecker wrote: > 2012/9/22 Paul E. McKenney : > > On Fri, Sep 21, 2012 at 01:31:49PM -0700, Tony Lindgren wrote: > >> * Paul E. McKenney [120921 12:58]: > >> > > >> > Just to make sure I understand the combinations: > >> > > >> > o All

Re: [PATCH] regulator: deprecate regulator-compatible DT property

2012-09-22 Thread Mark Brown
On Thu, Sep 20, 2012 at 04:04:57PM -0600, Stephen Warren wrote: > Mark, if this gets into 3.7, I can fix up all the Tegra .dts files during 3.8. I don't know which branch you generated this against but it doesn't apply to any of the obvious branches in my regulator tree. There's a modify/delete

Re: rcu self-detected stall messages on OMAP3, 4 boards

2012-09-22 Thread Frederic Weisbecker
2012/9/22 Paul E. McKenney : > On Fri, Sep 21, 2012 at 01:31:49PM -0700, Tony Lindgren wrote: >> * Paul E. McKenney [120921 12:58]: >> > >> > Just to make sure I understand the combinations: >> > >> > o All stalls have happened when running a minimal userspace. >> > o CONFIG_NO_HZ=n

Re: sys_kcmp (was: Re: [PATCH 1/2] ARM: add finit_module syscall to ARM)

2012-09-22 Thread Cyrill Gorcunov
On Sat, Sep 22, 2012 at 03:38:47PM +0200, Ralf Baechle wrote: > On Sat, Sep 22, 2012 at 02:20:46PM +0100, Russell King wrote: > > > 2. There allegedly exists a patch to remove x86isms from sys_kcmp - > >allegedly also in akpm's tree. However, I've looked through the code in > >mainline,

Re: [PATCH v3 RESEND 05/17] ARM: LPAE: support 64-bit virt_to_phys patching

2012-09-22 Thread Nicolas Pitre
On Fri, 21 Sep 2012, Cyril Chemparathy wrote: > This patch adds support for 64-bit physical addresses in virt_to_phys() > patching. This does not do real 64-bit add/sub, but instead patches in the > upper 32-bits of the phys_offset directly into the output of virt_to_phys. > > There is no

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

2012-09-22 Thread Matthew Garrett
On Fri, Sep 21, 2012 at 03:55:28PM -0700, Eric W. Biederman wrote: > 1) I don't see anything disabling kdb or kgdb. If ever there >was a way to poke into the kernel and change things... Is there any way to access them without having physical console access (either the system console or a

Re: RCU idle CPU detection is broken in linux-next

2012-09-22 Thread Paul E. McKenney
On Sat, Sep 22, 2012 at 08:09:13AM -0700, Paul E. McKenney wrote: > On Sat, Sep 22, 2012 at 10:26:09AM +0200, Sasha Levin wrote: > > On 09/21/2012 05:18 PM, Sasha Levin wrote: > > > On 09/21/2012 05:12 PM, Paul E. McKenney wrote: > > >> On Fri, Sep 21, 2012 at 03:26:27PM +0200, Sasha Levin wrote:

Re: [PATCH v4 00/14] MFD/ASoC/Input: twl4030-audio submodule DT support

2012-09-22 Thread Mark Brown
On Mon, Sep 10, 2012 at 01:46:18PM +0300, Peter Ujfalusi wrote: > Hello, Applied all, thanks. -- 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/majordomo-info.html Please

  1   2   3   4   >