[liblockdep] Re: [PATCH v2 01/11] liblockdep: remove the need for liblockdep_init

2013-02-18 Thread Ingo Molnar
* Sasha Levin wrote: > Use a constructor in the library instead of making the user manually > call liblockdep_init(). > > Signed-off-by: Sasha Levin > --- > tools/lib/lockdep/common.c| 2 +- > tools/lib/lockdep/include/liblockdep/common.h | 1 - >

Re: [ANNOUNCE] Git v1.8.2-rc0

2013-02-18 Thread Matthieu Moy
Junio C Hamano writes: > +At Git 2.0 (not *this* one), we > +plan to change these commands without pathspec to operate on the > +entire tree, and training your fingers to type "." will protect you > +against the future change. My understanding of the plan was more to forbid argumentless git

Re: SYSFS "errors"

2013-02-18 Thread Alexander Stein
On Monday 18 February 2013 09:49:16, Greg KH wrote: > > Invalid argument - /sys/devices/virtual/net/lo/speed > > Invalid argument - /sys/devices/virtual/net/lo/duplex This is even true for ethernet devices which do not have a link currently or non-ethernet devices (e.g. CAN). > LANG=C cat

Re: [PATCH] iommu: making IOMMU sysfs nodes API public

2013-02-18 Thread David Gibson
On Mon, Feb 18, 2013 at 10:24:00PM -0700, Alex Williamson wrote: > On Mon, 2013-02-18 at 17:15 +1100, Alexey Kardashevskiy wrote: > > On 13/02/13 04:15, Alex Williamson wrote: > > > On Wed, 2013-02-13 at 01:42 +1100, Alexey Kardashevskiy wrote: > > >> On 12/02/13 16:07, Alex Williamson wrote: > >

Re: [RFC] sched: The removal of idle_balance()

2013-02-18 Thread Michael Wang
On 02/19/2013 12:13 PM, Rakib Mullick wrote: > On Mon, Feb 18, 2013 at 9:25 PM, Steven Rostedt wrote: >> On Mon, 2013-02-18 at 13:43 +0530, Srikar Dronamraju wrote: The cache misses dropped by ~23% and migrations dropped by ~28%. I really believe that the idle_balance() hurts

Re: [PATCH v4 6/6] Input: Add ChromeOS EC keyboard driver

2013-02-18 Thread Joe Perches
On Mon, 2013-02-18 at 20:13 -0800, Simon Glass wrote: > On Sat, Feb 16, 2013 at 12:49 PM, Dmitry Torokhov > > On Fri, Feb 15, 2013 at 08:16:12PM -0800, Simon Glass wrote: > >> + for (row = 0; row < ckdev->rows; row++) { > >> + if (cros_ec_keyb_row_has_ghosting(ckdev, buf, row)) >

[tip:sched/core] sched/rt: Add header to < linux/init_task.h>

2013-02-18 Thread tip-bot for Ingo Molnar
Commit-ID: 77852fea6e2442a0e654a9292060489895de18c7 Gitweb: http://git.kernel.org/tip/77852fea6e2442a0e654a9292060489895de18c7 Author: Ingo Molnar AuthorDate: Sat, 16 Feb 2013 09:46:48 +0100 Committer: Ingo Molnar CommitDate: Tue, 19 Feb 2013 08:06:01 +0100 sched/rt: Add header to

[GIT PULL] battery-2.6.git

2013-02-18 Thread Anton Vorontsov
Hello Linus, Here is a battery/power_supply queue for v3.9. There are two tags: for-v3.9 and for-v3.9-merged. The second one is exactly the same as the first one, except that in the -merged tag I merged v3.8 back into battery tree to fix some conflicts so that you wouldn't need to do it.

Re: [PATCH 2/7] ACPI / scan: Introduce common code for ACPI-based device hotplug

2013-02-18 Thread Yasuaki Ishimatsu
2013/02/19 15:43, Yasuaki Ishimatsu wrote: Hi Rafael, I have comments. Please see below. 2013/02/18 0:21, Rafael J. Wysocki wrote: From: Rafael J. Wysocki Multiple drivers handling hotplug-capable ACPI device nodes install notify handlers covering the same types of events in a very similar

Re: WARNING: at drivers/gpu/drm/nouveau/core/core/mm.c:242

2013-02-18 Thread Marcin Slusarz
On Tue, Feb 19, 2013 at 12:43:06AM +0100, Jiri Slaby wrote: > On 02/19/2013 12:23 AM, Marcin Slusarz wrote: > > On Mon, Feb 18, 2013 at 11:27:43AM +0100, Jiri Slaby wrote: > >> Hi, > >> > >> we have a report of WARNING from 3.7.6 in nouveau at > >> drivers/gpu/drm/nouveau/core/core/mm.c:242 here:

Re: [patch 2/2] arm: Wire up kcmp syscall

2013-02-18 Thread Cyrill Gorcunov
quilt eat original header, here is the former, sorry for incovenience. --- From: Alexander Kartashov Subject: arm: Wire up kcmp syscall Signed-off-by: Alexander Kartashov Cc: Russell King --- arch/arm/include/uapi/asm/unistd.h |2 +- arch/arm/kernel/calls.S|2 +- 2 files

Re[2]: [PATCH v3] mfd: syscon: Add non-DT support

2013-02-18 Thread Alexander Shiyan
Hello. Strange, but I not received an original answer from Arnd, have only this mail. ... > >> diff --git a/drivers/mfd/syscon.c b/drivers/mfd/syscon.c > >> index 4a7ed5a..3c0abcb 100644 > >> --- a/drivers/mfd/syscon.c > >> +++ b/drivers/mfd/syscon.c > > > > Hi Alexander, > > > >> struct regmap

Re: Should a swapped out page be deleted from swap cache?

2013-02-18 Thread Li Haifeng
2013/2/19 Will Huck : > On 02/19/2013 10:04 AM, Li Haifeng wrote: >> >> 2013/2/19 Hugh Dickins >>> >>> On Mon, 18 Feb 2013, Li Haifeng wrote: >>> For explain my question, the two points should be displayed as below. 1. If an anonymous page is swapped out, this page will be deleted

[patch 1/2] kcmp: Make it to depend on CONFIG_KCMP

2013-02-18 Thread Cyrill Gorcunov
Since kcmp syscall has been implemented (initially on x86 architecture) a number of other archs wire it up as well: xtensa, sparc, sh, s390, mips, microblaze, m68k (not taking into account those who uses for syscall numbers definitions). But the Makefile, which turns kcmp.o generation on still

[patch 2/2] arm: Wire up kcmp syscall

2013-02-18 Thread Cyrill Gorcunov
Signed-off-by: Alexander Kartashov Cc: Russell King --- arch/arm/include/uapi/asm/unistd.h |2 +- arch/arm/kernel/calls.S|2 +- 2 files changed, 2 insertions(+), 2 deletions(-) Index: linux-2.6.git/arch/arm/include/uapi/asm/unistd.h

[patch 0/2] make kcmp own config entry

2013-02-18 Thread Cyrill Gorcunov
Hi guys, kcmp syscall (according to git log) is being wired up for a number of architectures other than x86 (where it was developed initially). But the main Makefile which controling its compilation is still x86 dependant. Thus I think kcmp may deserve own config entry unrelated to arch type it

Re: [PATCH 1/7] ACPI / scan: Introduce acpi_scan_match_handler()

2013-02-18 Thread Yasuaki Ishimatsu
2013/02/18 0:20, Rafael J. Wysocki wrote: From: Rafael J. Wysocki Introduce helper routine acpi_scan_match_handler() that will find the ACPI scan handler matching a given device ID, if there is one, and rework acpi_scan_attach_handler() to use the new routine (that routine will also be useful

Fwd: mmc card probe not getting called

2013-02-18 Thread chetan cr123
HI All, I am working on Sd Card/Block driver I am registering it as both 1. register_blkdev()- BLOCK Regsiter 2. mmc_register_driver -- MMC regsiter and filling the mmc_driver structure. I am not able to see the probe of MMC, But i see the return value of mmc_register

Re: [PATCH 2/7] ACPI / scan: Introduce common code for ACPI-based device hotplug

2013-02-18 Thread Yasuaki Ishimatsu
Hi Rafael, I have comments. Please see below. 2013/02/18 0:21, Rafael J. Wysocki wrote: From: Rafael J. Wysocki Multiple drivers handling hotplug-capable ACPI device nodes install notify handlers covering the same types of events in a very similar way. Moreover, those handlers are installed

Re: A noobish question on mm

2013-02-18 Thread Li Haifeng
2013/2/19 Soham Chakraborty : > Hey dude, > > Apologies for this kind of approach but I was not sure whether I can > directly mail the list with such a noobish question. I have been poking > around in mm subsystem for around 2 years now and I have never got a fine, > bullet proof answer to this

Re: prctl(PR_SET_MM)

2013-02-18 Thread Amnon Shiloh
Steven Rostedt wrote: > If only you, or a few people are using it (ie. distros don't see a > need), then it will be up to you to make the changes. I believe that this functionality is of a general nature and is needed by many, not only by myself and by the CRIU group, but by all user-level

Re: [PREEMPT RT] SLUB and split softirq lock for v3.2-rt

2013-02-18 Thread Mike Galbraith
On Mon, 2013-02-18 at 23:06 -0500, Steven Rostedt wrote: > On Tue, 2013-02-19 at 09:56 +0800, Li Zefan wrote: > > > Oh ignore me. Just saw the patchset for 3.4-rt. > > Note, I already have part of the 3.4-feature (softirq backport) tested > and ready. What I'm waiting on is trying to figure out

[PATCH v2] tty: mxser: improve error handling in mxser_probe() and mxser_module_init()

2013-02-18 Thread Alexey Khoroshilov
1. Currently mxser_probe() and mxser_module_init() ignore errors that can happen in tty_port_register_device(). 2. mxser_module_init() does not deallocate resources allocated in mxser_get_ISA_conf() if mxser_initbrd() failed. The patch adds proper error handling in all the cases. Also it moves

[PATCH v2 5/5] usb: musb: omap2430: use the new generic PHY framework

2013-02-18 Thread Kishon Vijay Abraham I
Use the generic PHY framework API to get the PHY. The usb_phy_set_suspend and usb_phy_set_resume is replaced with phy_suspend and phy_resume to align with the new PHY framework. musb->xceiv can't be removed as of now because musb core uses xceiv.state and xceiv.otg. Once there is a separate state

[PATCH v2 0/5] Generic PHY Framework

2013-02-18 Thread Kishon Vijay Abraham I
Added a generic PHY framework that provides a set of APIs for the PHY drivers to create/destroy a PHY and APIs for the PHY users to obtain a reference to the PHY with or without using phandle. To obtain a reference to the PHY without using phandle, the platform specfic intialization code (say from

[PATCH v2 2/5] usb: phy: omap-usb2: use the new generic PHY framework

2013-02-18 Thread Kishon Vijay Abraham I
Used the generic PHY framework API to create the PHY. omap_usb2_suspend is split into omap_usb_suspend and omap_usb_resume in order to align with the new framework. However using the old USB PHY library cannot be completely removed because OTG is intertwined with PHY and moving to the new

[PATCH v2 1/5] drivers: phy: add generic PHY framework

2013-02-18 Thread Kishon Vijay Abraham I
The PHY framework provides a set of APIs for the PHY drivers to create/destroy a PHY and APIs for the PHY users to obtain a reference to the PHY with or without using phandle. To obtain a reference to the PHY without using phandle, the platform specfic intialization code (say from board file)

[PATCH v2 4/5] ARM: OMAP: USB: Add phy binding information

2013-02-18 Thread Kishon Vijay Abraham I
In order for controllers to get PHY in case of non dt boot, the phy binding information should be added in the platform specific initialization code using phy_bind. The previously added usb_bind_phy can't be removed yet because the musb controller continues to use the old PHY library which has OTG

[PATCH v2 3/5] usb: otg: twl4030: use the new generic PHY framework

2013-02-18 Thread Kishon Vijay Abraham I
Used the generic PHY framework API to create the PHY. twl4030_usb_suspend and twl4030_usb_resume is added to phy_ops in order to align with the new framework. However using the old USB PHY library cannot be completely removed because OTG is intertwined with PHY and moving to the new framework

Re: [PATCH] xen: netback: remove redundant xenvif_put

2013-02-18 Thread David Miller
From: Andrew Jones Date: Mon, 18 Feb 2013 21:29:20 +0100 > netbk_fatal_tx_err() calls xenvif_carrier_off(), which does > a xenvif_put(). As callers of netbk_fatal_tx_err should only > have one reference to the vif at this time, then the xenvif_put > in netbk_fatal_tx_err is one too many. > >

[PATCH RT 0/4] [ANNOUNCE] 3.0.65-rt92-rc1

2013-02-18 Thread Steven Rostedt
Dear RT Folks, This is the RT stable review cycle of patch 3.0.65-rt92-rc1. Please scream at me if I messed something up. Please test the patches too. The -rc release will be uploaded to kernel.org and will be deleted when the final release is out. This is just a review release (or release

Re: [PATCH v3] mfd: syscon: Add non-DT support

2013-02-18 Thread Dong Aisheng
On 19 February 2013 00:02, Arnd Bergmann wrote: > On Monday 18 February 2013, Alexander Shiyan wrote: >> diff --git a/drivers/mfd/syscon.c b/drivers/mfd/syscon.c >> index 4a7ed5a..3c0abcb 100644 >> --- a/drivers/mfd/syscon.c >> +++ b/drivers/mfd/syscon.c > > Hi Alexander, > >> struct regmap

Re: [PATCH] iommu: making IOMMU sysfs nodes API public

2013-02-18 Thread Alexey Kardashevskiy
On 19/02/13 16:24, Alex Williamson wrote: On Mon, 2013-02-18 at 17:15 +1100, Alexey Kardashevskiy wrote: On 13/02/13 04:15, Alex Williamson wrote: On Wed, 2013-02-13 at 01:42 +1100, Alexey Kardashevskiy wrote: On 12/02/13 16:07, Alex Williamson wrote: On Tue, 2013-02-12 at 15:06 +1100,

Re: [PATCH 0/4] [ANNOUNCE] 3.0.65-rt92-rc1 stable review

2013-02-18 Thread Steven Rostedt
Oops! I used the wrong script to send. It used my "Ingo Pull" script instead of my "stable RT review". Subject is missing "[PATCH RT]" and it went to the wrong people. Sorry for the noise, I'm in a hurry to get finished packing for ELC. -- Steve On Tue, 2013-02-19 at 00:30 -0500, Steven

[PATCH RT 1/4] x86/32: Use kmap switch for non highmem as well

2013-02-18 Thread Steven Rostedt
From: Thomas Gleixner Even with CONFIG_HIGHMEM=n we need to take care of the "atomic" mappings which are installed via iomap_atomic. Signed-off-by: Thomas Gleixner Cc: stable...@vger.kernel.org Signed-off-by: Steven Rostedt --- arch/x86/kernel/process_32.c |2 +- include/linux/sched.h

[PATCH RT 2/4] acpi/rt: Convert acpi_gbl_hardware lock back to a raw_spinlock_t

2013-02-18 Thread Steven Rostedt
From: Steven Rostedt We hit the following bug with 3.6-rt: [5.898990] BUG: scheduling while atomic: swapper/3/0/0x0002 [5.898991] no locks held by swapper/3/0. [5.898993] Modules linked in: [5.898996] Pid: 0, comm: swapper/3 Not tainted 3.6.11-rt28.19.el6rt.x86_64.debug #1

[PATCH RT 3/4] rcutiny: Use simple waitqueue

2013-02-18 Thread Steven Rostedt
From: Thomas Gleixner Simple waitqueues can be handled from interrupt disabled contexts. Signed-off-by: Thomas Gleixner Signed-off-by: Steven Rostedt --- kernel/rcutiny_plugin.h |9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/kernel/rcutiny_plugin.h

[PATCH RT 4/4] Linux 3.0.65-rt92-rc1

2013-02-18 Thread Steven Rostedt
From: Steven Rostedt --- localversion-rt |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/localversion-rt b/localversion-rt index e95e338..dc0be96 100644 --- a/localversion-rt +++ b/localversion-rt @@ -1 +1 @@ --rt91 +-rt92-rc1 -- 1.7.10.4 -- To unsubscribe from this

[PATCH 1/4] x86/32: Use kmap switch for non highmem as well

2013-02-18 Thread Steven Rostedt
From: Thomas Gleixner Even with CONFIG_HIGHMEM=n we need to take care of the "atomic" mappings which are installed via iomap_atomic. Signed-off-by: Thomas Gleixner Cc: stable...@vger.kernel.org Signed-off-by: Steven Rostedt --- arch/x86/kernel/process_32.c |2 +- include/linux/sched.h

[PATCH 3/4] rcutiny: Use simple waitqueue

2013-02-18 Thread Steven Rostedt
From: Thomas Gleixner Simple waitqueues can be handled from interrupt disabled contexts. Signed-off-by: Thomas Gleixner Signed-off-by: Steven Rostedt --- kernel/rcutiny_plugin.h |9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/kernel/rcutiny_plugin.h

Re: [PATCH 1/1] ARM: dt: add header to define tegra20 clocks

2013-02-18 Thread Shawn Guo
On Thu, Feb 14, 2013 at 10:54:28AM -0700, Stephen Warren wrote: > On 02/13/2013 11:38 PM, Hiroshi Doyu wrote: > > To replace magic number in "clocks = <_car 28>;" > > I like the concept here; I was thinking about doing this today, but you > beat me to it:-) Feel free to create the Tegra30 header

[PATCH 0/4] [ANNOUNCE] 3.0.65-rt92-rc1 stable review

2013-02-18 Thread Steven Rostedt
Dear RT Folks, This is the RT stable review cycle of patch 3.0.65-rt92-rc1. Please scream at me if I messed something up. Please test the patches too. The -rc release will be uploaded to kernel.org and will be deleted when the final release is out. This is just a review release (or release

[PATCH 4/4] Linux 3.0.65-rt92-rc1

2013-02-18 Thread Steven Rostedt
From: Steven Rostedt --- localversion-rt |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/localversion-rt b/localversion-rt index e95e338..dc0be96 100644 --- a/localversion-rt +++ b/localversion-rt @@ -1 +1 @@ --rt91 +-rt92-rc1 -- 1.7.10.4 signature.asc Description:

[PATCH 2/4] acpi/rt: Convert acpi_gbl_hardware lock back to a raw_spinlock_t

2013-02-18 Thread Steven Rostedt
From: Steven Rostedt We hit the following bug with 3.6-rt: [5.898990] BUG: scheduling while atomic: swapper/3/0/0x0002 [5.898991] no locks held by swapper/3/0. [5.898993] Modules linked in: [5.898996] Pid: 0, comm: swapper/3 Not tainted 3.6.11-rt28.19.el6rt.x86_64.debug #1

linux-next: manual merge of the akpm tree with the wireless-next tree

2013-02-18 Thread Stephen Rothwell
Hi Andrew, Today's linux-next merge of the akpm tree got a conflict in net/mac80211/mesh_pathtbl.c between commit bf7cd94dcc71 ("mac80211: clean up mesh code") from the wireless-next tree and commit "hlist: drop the node parameter from iterators" from the akpm tree. I fixed it up (see below) and

Re: [PATCH] iommu: making IOMMU sysfs nodes API public

2013-02-18 Thread Alex Williamson
On Mon, 2013-02-18 at 17:15 +1100, Alexey Kardashevskiy wrote: > On 13/02/13 04:15, Alex Williamson wrote: > > On Wed, 2013-02-13 at 01:42 +1100, Alexey Kardashevskiy wrote: > >> On 12/02/13 16:07, Alex Williamson wrote: > >>> On Tue, 2013-02-12 at 15:06 +1100, Alexey Kardashevskiy wrote: >

Re: [PATCH 5/5] coredump: ignore non-fatal signals when core dumping to a pipe

2013-02-18 Thread Mandeep Singh Baines
On Sat, Feb 16, 2013 at 11:46 AM, Oleg Nesterov wrote: > On 02/16, Oleg Nesterov wrote: >> >> On 02/16, Mandeep Singh Baines wrote: >> > >> > +static int sigkill_pending(struct task_struct *tsk) >> > +{ >> > + return signal_pending(tsk) && >> > + (sigismember(>pending.signal,

[PATCH 1/2] leds: add new LP5562 LED driver

2013-02-18 Thread Kim, Milo
LP5562 can drive up to 4 channels, RGB and White. LEDs can be controlled directly via the led class control interface. LP55xx common driver LP5562 is one of LP55xx family device, so LP55xx common code are used. On the other hand, chip specific configuration is defined in the structure

Re: [PATCH 8/9] [HACK] ARM: imx: work around v7_cpu_resume link error

2013-02-18 Thread Shawn Guo
On Mon, Feb 18, 2013 at 11:11:30PM -0500, Nicolas Pitre wrote: > On Tue, 19 Feb 2013, Shawn Guo wrote: > > > On Mon, Feb 18, 2013 at 12:06:32PM -0500, Nicolas Pitre wrote: > > > Try the following instead. It makes the code simpler and easier to > > > debug. > > > > > It works now. Thanks,

[PATCH 2/2] leds: lp55xx-common: add LP5562 description

2013-02-18 Thread Kim, Milo
Signed-off-by: Milo(Woogyom) Kim --- drivers/leds/leds-lp55xx-common.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/leds/leds-lp55xx-common.c b/drivers/leds/leds-lp55xx-common.c index d9eb841..8a388a4 100644 --- a/drivers/leds/leds-lp55xx-common.c +++

Re: [PATCH v4 0/7] Driver for Si476x series of chips

2013-02-18 Thread Hans Verkuil
On Monday, February 18, 2013 19:59:28 Andrey Smirnov wrote: > This is a fourth version of the patchset originaly posted here: > https://lkml.org/lkml/2012/9/13/590 > > Second version of the patch was posted here: > https://lkml.org/lkml/2012/10/5/598 > > Third version of the patch was posted

Re: sched: circular dependency between sched_domains_mutex and oom_notify_list

2013-02-18 Thread Michael Wang
On 02/17/2013 01:42 PM, Sasha Levin wrote: > Hi all, > > I was fuzzing with trinity inside a KVM tools guest, with today's -next kernel > when I've hit the following spew. > > I suspect it's the result of adding the new rcu_oom_notify, but that happened > about half a year ago so I'm not sure

RE: [PATCH] libertas sdio: remove CMD_FUNC_INIT call

2013-02-18 Thread Lubomir Rintel
On Fri, 2013-01-18 at 12:28 -0800, Bing Zhao wrote: > Hi Lubomir, > > > It actually times out on a 8688 present in GuruPlug with sd8688.bin > > (md5=7233401e9687f8c880da547beed4324e) firmware (that's present in > > linux-firmware tree), but the adapter works fine. > > > > For that firmware times

[PATCH v2] memcg: Add memory.pressure_level events

2013-02-18 Thread Anton Vorontsov
With this patch userland applications that want to maintain the interactivity/memory allocation cost can use the pressure level notifications. The levels are defined like this: The "low" level means that the system is reclaiming memory for new allocations. Monitoring this reclaiming activity

Re: [PATCH v9 2/3] trace,x86: add x86 irq vector tracepoints

2013-02-18 Thread Steven Rostedt
On Mon, 2013-02-18 at 20:39 -0800, H. Peter Anvin wrote: > > static void switch_to_trace_idt(void *arg) > > { > > load_idt(_idt_descr); > > } > > > > static void restore_original_idt(void *arg) > > { > > load_idt(this_cpu_ptr(_descr)); > > } > > > > Yes. If there needs to be

Re: [PATCH v9 2/3] trace,x86: add x86 irq vector tracepoints

2013-02-18 Thread H. Peter Anvin
On 02/18/2013 08:24 PM, Steven Rostedt wrote: > On Mon, 2013-02-18 at 15:49 -0800, H. Peter Anvin wrote: > >> What about the following: >> >>> The base address of the IDT doesn't generally change... the one >>> exception is when we do the funny NMI workaround. >>> >>> For that reason, I would be

Re: BUG in find_pid_ns

2013-02-18 Thread Eric W. Biederman
Sasha Levin writes: > On 02/17/2013 07:17 PM, ebied...@xmission.com wrote: >> The bad pointer value is 0xfff0. Hmm. >> >> If you have the failure location correct it looks like a corrupted hash >> entry was found while following the hash chain. >> >> It looks like the memory has

Re: [PATCH v9 2/3] trace,x86: add x86 irq vector tracepoints

2013-02-18 Thread Steven Rostedt
On Mon, 2013-02-18 at 15:49 -0800, H. Peter Anvin wrote: > What about the following: > > > The base address of the IDT doesn't generally change... the one > > exception is when we do the funny NMI workaround. > > > > For that reason, I would be happier if we just restored the standard > > value

[PATCH 1/2] tracing/syscalls: Allow archs to ignore tracing compat syscalls

2013-02-18 Thread Steven Rostedt
From: Steven Rostedt The tracing of ia32 compat system calls has been a bit of a pain as they use different system call numbers than the 64bit equivalents. I wrote a simple 'lls' program that lists files. I compiled it as a i686 ELF binary and ran it under a x86_64 box. This is the result:

[PATCH 2/2] ftrace: Call ftrace cleanup module notifier after all other notifiers

2013-02-18 Thread Steven Rostedt
From: "Steven Rostedt (Red Hat)" Commit: c1bf08ac "ftrace: Be first to run code modification on modules" changed ftrace module notifier's priority to INT_MAX in order to process the ftrace nops before anything else could touch them (namely kprobes). This was the correct thing to do.

[PATCH 0/2] [GIT PULL] tracing: minor fixes

2013-02-18 Thread Steven Rostedt
Ingo, Please pull the latest tip/perf/core tree, which can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git tip/perf/core Head SHA1: 8c189ea64eea01ca20d102ddb74d6936dd16c579 Steven Rostedt (1): tracing/syscalls: Allow archs to ignore tracing compat

[PATCH 4/5] staging/slicoss: Fix buffer possible overflow in slic_card_locate

2013-02-18 Thread Peter Huewe
smatch complains about a possible buffer overflow slicoss.c:3651 slic_card_locate() error: buffer overflow 'physcard->adapter' 4 <= 4 If the for loop is not exited prematurely i++ is executed after the last iteration and thus i can be 4, which is out of bounds for physcard->adapter. -> Add check

[PATCH 3/5] staging/slicoss: Fix operation may be undefined warning

2013-02-18 Thread Peter Huewe
gcc complains about an undefined operation: slicoss.c:1417:19: warning: operation on 'rspq->pageindex' may be undefined [-Wsequence-point] The intended operation was (probably) to retrieve the pageindex + 1 and let it wrap around if it reaches the num_pages. Signed-off-by: Peter Huewe ---

[PATCH 5/5] staging/slicoss: Use ether_crc for mac hash calculation

2013-02-18 Thread Peter Huewe
Instead of performing the hash calculation for the mac address by ourself, we can simply reuse ether_crc and shift only the result according to our needs. The code was tested against the previous implementation by verifying both implementations against each other in userspace for 162

[PATCH 2/5] staging/slicoss: Remove always true if statement

2013-02-18 Thread Peter Huewe
skbtype is assigned once to NORMAL_ETHFRAME and then checked if it is NORMAL_ETHFRAME -> remove the checks. This also gets rid of the (false positive) smatch warning: slicoss.c:2829 slic_xmit_start() error: potential NULL dereference 'hcmd'. Signed-off-by: Peter Huewe ---

Re: [PATCH v4 6/6] Input: Add ChromeOS EC keyboard driver

2013-02-18 Thread Simon Glass
Hi Dmitry, On Sat, Feb 16, 2013 at 12:49 PM, Dmitry Torokhov wrote: > Hi Simon, > > On Fri, Feb 15, 2013 at 08:16:12PM -0800, Simon Glass wrote: >> + for (row = 0; row < ckdev->rows; row++) { >> + if (cros_ec_keyb_row_has_ghosting(ckdev, buf, row)) >> + return

Re: [RFC] sched: The removal of idle_balance()

2013-02-18 Thread Rakib Mullick
On Mon, Feb 18, 2013 at 9:25 PM, Steven Rostedt wrote: > On Mon, 2013-02-18 at 13:43 +0530, Srikar Dronamraju wrote: >> > The cache misses dropped by ~23% and migrations dropped by ~28%. I >> > really believe that the idle_balance() hurts performance, and not just >> > for something like

Re: [PATCH 8/9] [HACK] ARM: imx: work around v7_cpu_resume link error

2013-02-18 Thread Nicolas Pitre
On Tue, 19 Feb 2013, Shawn Guo wrote: > On Mon, Feb 18, 2013 at 12:06:32PM -0500, Nicolas Pitre wrote: > > Try the following instead. It makes the code simpler and easier to > > debug. > > > It works now. Thanks, Nico. Care to send a patch for it? I'd like > to apply it. - >8 FRom:

[PATCH 1/5] staging/slicoss: Check pointer before dereferencing

2013-02-18 Thread Peter Huewe
Smatch complains that the variable adapter is dereferenced before it is checked: slicoss.c:906 slic_timer_load_check() warn: variable dereferenced before check 'adapter' (see line 904) -> move the assignment after the check. Signed-off-by: Peter Huewe --- drivers/staging/slicoss/slicoss.c |

Re: [RFC][PATCH] vfs: always protect diretory file->fpos with inode mutex

2013-02-18 Thread Miao Xie
On tue, 19 Feb 2013 09:22:40 +0800, Li Zefan wrote: > There's a long long-standing bug...As long as I don't know when it dates > from. > > I've written and attached a simple program to reproduce this bug, and it can > immediately trigger the bug in my box. It uses two threads, one keeps calling >

Re: [PREEMPT RT] SLUB and split softirq lock for v3.2-rt

2013-02-18 Thread Steven Rostedt
On Tue, 2013-02-19 at 09:56 +0800, Li Zefan wrote: > Oh ignore me. Just saw the patchset for 3.4-rt. Note, I already have part of the 3.4-feature (softirq backport) tested and ready. What I'm waiting on is trying to figure out the best way to process it. I already know I'll have a v3.4-features

[PATCH v4 4/7] mfd: Add chip properties handling code for SI476X MFD

2013-02-18 Thread Andrey Smirnov
From: Andrey Smirnov This patch adds code related to manipulation of the properties of SI476X chips. Signed-off-by: Andrey Smirnov --- drivers/mfd/si476x-prop.c | 234 + 1 file changed, 234 insertions(+) create mode 100644

[PATCH v4 2/7] mfd: Add commands abstraction layer for SI476X MFD

2013-02-18 Thread Andrey Smirnov
From: Andrey Smirnov This patch adds all the functions used for exchanging commands with the chip. Signed-off-by: Andrey Smirnov --- drivers/mfd/si476x-cmd.c | 1553 ++ 1 file changed, 1553 insertions(+) create mode 100644 drivers/mfd/si476x-cmd.c

[PATCH v4 3/7] mfd: Add the main bulk of core driver for SI476x code

2013-02-18 Thread Andrey Smirnov
From: Andrey Smirnov This patch adds main part(out of three) of the I2C driver for the "core" of MFD device. Signed-off-by: Andrey Smirnov --- drivers/mfd/si476x-i2c.c | 878 ++ 1 file changed, 878 insertions(+) create mode 100644

[PATCH v4 7/7] sound/soc/codecs: Cosmetic changes to SI476X codec driver

2013-02-18 Thread Andrey Smirnov
- Add appropriate license header - Change email address in MODULE_AUTHOR - Remove trailing whitespaces Signed-off-by: Andrey Smirnov --- sound/soc/codecs/si476x.c | 25 ++--- 1 file changed, 22 insertions(+), 3 deletions(-) diff --git a/sound/soc/codecs/si476x.c

[PATCH v4 6/7] sound/soc/codecs: Convert SI476X codec to use regmap

2013-02-18 Thread Andrey Smirnov
From: Andrey Smirnov The latest radio and MFD drivers for SI476X radio chips use regmap API to provide access to the registers and allow for caching of their values when the actual chip is powered off. Convert the codec driver to do the same, so it would not loose the settings when the radio

[PATCH v4 1/7] mfd: Add header files and Kbuild plumbing for SI476x MFD core

2013-02-18 Thread Andrey Smirnov
From: Andrey Smirnov This patch adds all necessary header files and Kbuild plumbing for the core driver for Silicon Laboratories Si476x series of AM/FM tuner chips. The driver as a whole is implemented as an MFD device and this patch adds a core portion of it that provides all the necessary

[PATCH v4 0/7] Driver for Si476x series of chips

2013-02-18 Thread Andrey Smirnov
This is a fourth version of the patchset originaly posted here: https://lkml.org/lkml/2012/9/13/590 Second version of the patch was posted here: https://lkml.org/lkml/2012/10/5/598 Third version of the patch was posted here: https://lkml.org/lkml/2012/10/23/510 To save everyone's time I'll

[PATCH RT 4/7] serial: Imx: Fix recursive locking bug

2013-02-18 Thread Steven Rostedt
From: Thomas Gleixner commit 9ec1882df2 (tty: serial: imx: console write routing is unsafe on SMP) introduced a recursive locking bug in imx_console_write(). The callchain is: imx_rxint() spin_lock_irqsave(>port.lock,flags); ... uart_handle_sysrq_char(); sysrq_function();

[PATCH RT 3/7] printk: Fix rq->lock vs logbuf_lock unlock lock inversion

2013-02-18 Thread Steven Rostedt
From: "Bu, Yitian" commit 07354eb1a74d1 ("locking printk: Annotate logbuf_lock as raw") reintroduced a lock inversion problem which was fixed in commit 0b5e1c5255 ("printk: Release console_sem after logbuf_lock"). This happened probably when fixing up patch rejects. Restore the ordering and

[PATCH RT 6/7] rcutiny: Use simple waitqueue

2013-02-18 Thread Steven Rostedt
From: Thomas Gleixner Simple waitqueues can be handled from interrupt disabled contexts. Signed-off-by: Thomas Gleixner Signed-off-by: Steven Rostedt --- kernel/rcutiny_plugin.h | 17 + 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/kernel/rcutiny_plugin.h

[PATCH RT 1/7] x86/32: Use kmap switch for non highmem as well

2013-02-18 Thread Steven Rostedt
From: Thomas Gleixner Even with CONFIG_HIGHMEM=n we need to take care of the "atomic" mappings which are installed via iomap_atomic. Signed-off-by: Thomas Gleixner Cc: stable...@vger.kernel.org Signed-off-by: Steven Rostedt --- arch/x86/kernel/process_32.c |2 +- include/linux/sched.h

[PATCH RT 2/7] acpi/rt: Convert acpi_gbl_hardware lock back to a raw_spinlock_t

2013-02-18 Thread Steven Rostedt
From: Steven Rostedt We hit the following bug with 3.6-rt: [5.898990] BUG: scheduling while atomic: swapper/3/0/0x0002 [5.898991] no locks held by swapper/3/0. [5.898993] Modules linked in: [5.898996] Pid: 0, comm: swapper/3 Not tainted 3.6.11-rt28.19.el6rt.x86_64.debug #1

[PATCH RT 0/7] [ANNOUNCE] 3.2.38-rt58-rc1 stable review

2013-02-18 Thread Steven Rostedt
Dear RT Folks, This is the RT stable review cycle of patch 3.2.38-rt58-rc1. Please scream at me if I messed something up. Please test the patches too. The -rc release will be uploaded to kernel.org and will be deleted when the final release is out. This is just a review release (or release

[PATCH RT 7/7] Linux 3.2.38-rt58-rc1

2013-02-18 Thread Steven Rostedt
From: Steven Rostedt --- localversion-rt |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/localversion-rt b/localversion-rt index c06cc435..1fdcd49 100644 --- a/localversion-rt +++ b/localversion-rt @@ -1 +1 @@ --rt57 +-rt58-rc1 -- 1.7.10.4 -- To unsubscribe from this

[PATCH RT 0/7] [ANNOUNCE] 3.4.32-rt46-rc1 stable review

2013-02-18 Thread Steven Rostedt
Dear RT Folks, This is the RT stable review cycle of patch 3.4.32-rt46-rc1. Please scream at me if I messed something up. Please test the patches too. The -rc release will be uploaded to kernel.org and will be deleted when the final release is out. This is just a review release (or release

[PATCH RT 5/7] wait-simple: Simple waitqueue implementation

2013-02-18 Thread Steven Rostedt
From: Thomas Gleixner wait_queue is a swiss army knife and in most of the cases the complexity is not needed. For RT waitqueues are a constant source of trouble as we can't convert the head lock to a raw spinlock due to fancy and long lasting callbacks. Provide a slim version, which allows RT

[PATCH RT 4/7] serial: Imx: Fix recursive locking bug

2013-02-18 Thread Steven Rostedt
From: Thomas Gleixner commit 9ec1882df2 (tty: serial: imx: console write routing is unsafe on SMP) introduced a recursive locking bug in imx_console_write(). The callchain is: imx_rxint() spin_lock_irqsave(>port.lock,flags); ... uart_handle_sysrq_char(); sysrq_function();

[PATCH RT 3/7] printk: Fix rq->lock vs logbuf_lock unlock lock inversion

2013-02-18 Thread Steven Rostedt
From: "Bu, Yitian" commit 07354eb1a74d1 ("locking printk: Annotate logbuf_lock as raw") reintroduced a lock inversion problem which was fixed in commit 0b5e1c5255 ("printk: Release console_sem after logbuf_lock"). This happened probably when fixing up patch rejects. Restore the ordering and

[PATCH RT 5/7] wait-simple: Simple waitqueue implementation

2013-02-18 Thread Steven Rostedt
From: Thomas Gleixner wait_queue is a swiss army knife and in most of the cases the complexity is not needed. For RT waitqueues are a constant source of trouble as we can't convert the head lock to a raw spinlock due to fancy and long lasting callbacks. Provide a slim version, which allows RT

[PATCH RT 7/7] Linux 3.4.32-rt46-rc1

2013-02-18 Thread Steven Rostedt
From: Steven Rostedt --- localversion-rt |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/localversion-rt b/localversion-rt index 38c40b2..2a08cf6 100644 --- a/localversion-rt +++ b/localversion-rt @@ -1 +1 @@ --rt45 +-rt46-rc1 -- 1.7.10.4 -- To unsubscribe from this

[PATCH RT 6/7] rcutiny: Use simple waitqueue

2013-02-18 Thread Steven Rostedt
From: Thomas Gleixner Simple waitqueues can be handled from interrupt disabled contexts. Signed-off-by: Thomas Gleixner Signed-off-by: Steven Rostedt --- kernel/rcutiny_plugin.h | 17 + 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/kernel/rcutiny_plugin.h

[PATCH RT 1/7] x86/32: Use kmap switch for non highmem as well

2013-02-18 Thread Steven Rostedt
From: Thomas Gleixner Even with CONFIG_HIGHMEM=n we need to take care of the "atomic" mappings which are installed via iomap_atomic. Signed-off-by: Thomas Gleixner Cc: stable...@vger.kernel.org Signed-off-by: Steven Rostedt --- arch/x86/kernel/process_32.c |2 +- include/linux/sched.h

[PATCH RT 2/7] acpi/rt: Convert acpi_gbl_hardware lock back to a raw_spinlock_t

2013-02-18 Thread Steven Rostedt
From: Steven Rostedt We hit the following bug with 3.6-rt: [5.898990] BUG: scheduling while atomic: swapper/3/0/0x0002 [5.898991] no locks held by swapper/3/0. [5.898993] Modules linked in: [5.898996] Pid: 0, comm: swapper/3 Not tainted 3.6.11-rt28.19.el6rt.x86_64.debug #1

[ANNOUNCE] 3.0.65-rt91

2013-02-18 Thread Steven Rostedt
Dear RT Folks, I'm pleased to announce the 3.0.65-rt91 stable release. This release is just an update to the new stable 3.0.65 version and no RT specific changes have been made. You can get this release via the git tree at:

[ANNOUNCE] 3.4.32-rt45

2013-02-18 Thread Steven Rostedt
Dear RT Folks, I'm pleased to announce the 3.4.32-rt45 stable release. This release is just an update to the new stable 3.4.32 version and no RT specific changes have been made. You can get this release via the git tree at:

Re: Question about fixed-clock

2013-02-18 Thread Afzal Mohammed
Hi Daniel, On Tue, Feb 19, 2013 at 12:55:52AM +0100, Daniel Mack wrote: > ref25: ref25M { > compatible = "fixed-clock"; > #clock-cells = <0>; > clock-frequency = <2500>; > }; > > clock-generator@0 { >

Re: [PATCH RFC 10/12] userns: Convert xfs to use kuid/kgid/kprojid where appropriate

2013-02-18 Thread Dave Chinner
On Sun, Feb 17, 2013 at 05:25:43PM -0800, Eric W. Biederman wrote: > Dave Chinner writes: > > > On Wed, Feb 13, 2013 at 10:13:16AM -0800, Eric W. Biederman wrote: > > > >> The crazy thing is that is that xfs appears to > >> directly write their incore inode structure into their journal. > > > >

Re: [bug]patch "acpi, memory-hotplug: parse SRAT before memblock is ready" breaks numa detection

2013-02-18 Thread Tang Chen
On 02/19/2013 11:07 AM, Shaohua Li wrote: This patch in linux-next breaks numa detection. numa_init() will zero numa_meminfo. If acpi_numa_init() does not call early_parse_srat(), we will have no memory numa info. Hum, yes, I missed this one. :) Briefly seeing the code, I think moving the

Re: [PATCH] staging/sm7xxfb: Convert to SIMPLE_DEV_PM_OPS

2013-02-18 Thread Javier Muñoz
Thanks! Acked-by: Javier Muñoz On 02/19/2013 12:12 AM, Peter Huewe wrote: > Instead of assigning the pm_ops fields individually we can simply use > SIMPLE_DEV_PM_OPS. > > Signed-off-by: Peter Huewe > --- > drivers/staging/sm7xxfb/sm7xxfb.c | 10 +- > 1 files changed, 1

  1   2   3   4   5   6   7   8   9   10   >