[PATCH 2/2] Input: fix use-after-free introduced with dynamic minor changes

2012-10-21 Thread Dmitry Torokhov
Commit 7f8d4cad1e4e11a45d02bd6e024cc2812963c38a made evdev, joydev and mousedev to embed struct cdev into their respective structures representing input devices. Unfortunately character device structure may outlive the parent structure unless we do not set it up as parent of character device so tha

[PATCH 1/2] char_dev: allow setting up and pinning parent devices

2012-10-21 Thread Dmitry Torokhov
In certain cases (for example when a cdev structure is embedded into another object whose lifetime is controlled by a separate device object) it is beneficial to tie lifetime of another struct device to the lifetime of character device so that related object is not freed until after char_dev object

Re: [REGRESSION] nouveau: Severe screen corruption on (0xaf, nv50)

2012-10-21 Thread Henrik Rydberg
On Thu, Oct 18, 2012 at 11:58:09AM +0200, Henrik Rydberg wrote: > Hi Ben, > > 3.7-rc1 messed up the screen on my MacBookAir3,1 (nv50, 0xaf) pretty > badly. Not surprisingly, > > commit 3863c9bc887e9638a9d905d55f6038641ece78d6 > Author: Ben Skeggs > Date: Sat Jul 14 19:09:17 2012 +1000 > >

Re: [Request for review] Revised delete_module(2) manual page

2012-10-21 Thread Michael Kerrisk (man-pages)
Ping! Rusty (et al.) I'm pretty sure the new page text is okay, but I would like someone knowledgeable to confirm. Thanks, Michael -- Forwarded message -- From: Michael Kerrisk (man-pages) Date: Fri, Oct 12, 2012 at 10:47 AM Subject: Re: [Request for review] Revised delete_modu

Re: [PATCH 1/2] char_dev: allow setting up and pinning parent devices

2012-10-21 Thread Al Viro
On Sun, Oct 21, 2012 at 12:24:30AM -0700, Dmitry Torokhov wrote: > In certain cases (for example when a cdev structure is embedded into > another object whose lifetime is controlled by a separate device object) > it is beneficial to tie lifetime of another struct device to the lifetime > of charact

Re: question about context switch on arm Linux

2012-10-21 Thread Richard Cochran
On Sun, Oct 21, 2012 at 02:02:42PM +0800, caiyuqing wrote: > hi, all. > I have some questions about context switch on arm Linux (my target is > ARMv7-a). > 1. Does arm linux support FCSE to handle the context switch? No, mainline Linux does not support FCSE. However, you can use Gilles' unoffical

Re: [PATCH 0/4] firmware loader: misc changes

2012-10-21 Thread Ming Lei
On Tue, Oct 9, 2012 at 12:01 PM, Ming Lei wrote: > Hi, > > The first two are fixes' patch, the 3rd one is to enable > caching firmware for direct loading, and the last one is > a cleanup patch. > > drivers/base/firmware_class.c | 266 > +++-- > 1 file changed

Re: [PATCH 1/2] char_dev: allow setting up and pinning parent devices

2012-10-21 Thread Dmitry Torokhov
On Sun, Oct 21, 2012 at 08:39:28AM +0100, Al Viro wrote: > On Sun, Oct 21, 2012 at 12:24:30AM -0700, Dmitry Torokhov wrote: > > In certain cases (for example when a cdev structure is embedded into > > another object whose lifetime is controlled by a separate device object) > > it is beneficial to t

Re: question about context switch on arm Linux

2012-10-21 Thread caiyuqing
于 2012年10月21日 15:44, Richard Cochran 写道: On Sun, Oct 21, 2012 at 02:02:42PM +0800, caiyuqing wrote: hi, all. I have some questions about context switch on arm Linux (my target is ARMv7-a). 1. Does arm linux support FCSE to handle the context switch? No, mainline Linux does not support FCSE. How

Re: [alsa-devel] [PATCH] ALSA: snd-usb: remove unused variable in init_pitch_v2()

2012-10-21 Thread Takashi Iwai
At Thu, 18 Oct 2012 22:46:23 +0800, Wei Yongjun wrote: > > From: Wei Yongjun > > The variable ep is initialized but never used > otherwise, so remove the unused variable. > > dpatch engine is used to auto generate this patch. > (https://github.com/weiyj/dpatch) > > Signed-off-by: Wei Yongjun

Re: Linux 3.7-rc1 (nouveau_bios_score oops).

2012-10-21 Thread Heinz Diehl
On 21.10.2012, Marcin Slusarz wrote: > On 3.6 kernel? (It doesn't exist on 3.7) > Note that it may be in other directory than "0". [root@wildsau linux-3.6.2]# cat .config | grep -i "nouveau" CONFIG_DRM_NOUVEAU=m CONFIG_DRM_NOUVEAU_BACKLIGHT=y CONFIG_DRM_NOUVEAU_DEBUG=y I grepped the whole disk,

Re: [PATCH 2/2] drm: fb: cma: Fail gracefully on allocation failure

2012-10-21 Thread Sascha Hauer
On Sat, Oct 20, 2012 at 12:32:47PM +0200, Thierry Reding wrote: > The drm_gem_cma_create() function never returns NULL but rather an error > encoded in the return value using the ERR_PTR() macro. Callers therefore > need to check for errors using the IS_ERR() macro. This change allows > drivers to

Re: Initial report on F2FS filesystem performance

2012-10-21 Thread Vyacheslav Dubeyko
On Oct 20, 2012, at 11:22 PM, Pavel Machek wrote: > On Tue 2012-10-16 13:07:03, Sooman Jeong wrote: >> >> This is a brief summary of our initial filesystem performance study of f2fs >> against existing two filesystems in linux: EXT4, NILFS2, and f2fs. >> > > Hmm, flashes are actually optimize

Re: Linux 3.7-rc1 (nouveau_bios_score oops).

2012-10-21 Thread Heinz Diehl
On 21.10.2012, Paweł Sikora wrote: > with these both patches applied my laptop boots and gui works fine. The same here. The two patches together, applied to 3.7-rc1 let my machine boot again. Here's the relevant dmesg cut: [3.702671] nouveau [ DEVICE][:01:00.0] BOOT0 : 0x0a8800b1 [

Re: [PATCH] kvm, async_pf: exit idleness when handling KVM_PV_REASON_PAGE_NOT_PRESENT

2012-10-21 Thread Gleb Natapov
On Fri, Oct 19, 2012 at 12:11:55PM -0400, Sasha Levin wrote: > KVM_PV_REASON_PAGE_NOT_PRESENT kicks cpu out of idleness, but we haven't > marked that spot as an exit from idleness. > > Not doing so can cause RCU warnings such as: > > [ 732.788386] === > [ 732.789803]

[PATCH v2] menuconfig: Replace CIRCLEQ by list_head-style lists.

2012-10-21 Thread Benjamin Poirier
From: Benjamin Poirier sys/queue.h and CIRCLEQ in particular have proven to cause portability problems (reported on Debian Sarge, Cygwin and FreeBSD) Reported-by: Tetsuo Handa Tested-by: Tetsuo Handa Tested-by: Yaakov Selkowitz Signed-off-by: Benjamin Poirier Signed-off-by: "Yann E. MORIN"

Re: [dm-crypt] cryptsetup not working under 3.6 - regression from 3.4?

2012-10-21 Thread Milan Broz
On 10/20/2012 10:44 PM, Tvrtko Ursulin wrote: > But I repeat, even if I load the required modules before hand things do > not work. I would say you are still missing some modules. > Kernel says this: > device-mapper: table: 252:1: crypt: Error allocating crypto tfm > device-mapper: ioctl: er

Re: [PATCH 1/5] Thermal: do bind operation after thermal zone or cooling device register returns.

2012-10-21 Thread Francesco Lavra
Hi, On 10/16/2012 01:44 PM, hongbo.zhang wrote: > From: "hongbo.zhang" > > In the previous bind function, cdev->get_max_state(cdev, &max_state) is called > before the registration function finishes, but at this moment, the parameter > cdev at thermal driver layer isn't ready--it will get ready o

Re: Initial report on F2FS filesystem performance

2012-10-21 Thread Pavel Machek
Hi! > >> This is a brief summary of our initial filesystem performance study of > >> f2fs against existing two filesystems in linux: EXT4, NILFS2, and f2fs. > >> > > > > Hmm, flashes are actually optimized for VFAT, right? Can you compare > > against that? > > > > Do you mean SD-cards? Becaus

Re: A reliable kernel panic (3.6.2) and system crash when visiting a particular website

2012-10-21 Thread Daniel Mack
On 21.10.2012 01:15, Artem S. Tashkinov wrote: > You don't get me - I have *no* VirtualBox (or any proprietary) modules running > - but I can reproduce this problem using *the same system running under* > VirtualBox > in Windows 7 64. > > It's almost definitely either a USB driver bug or video4li

Re: [PATCH 2/9] Staging: winbond: phy_calibration: Fixed coding style issue

2012-10-21 Thread Pavel Machek
On Fri 2012-10-12 09:53:19, Joe Perches wrote: > On Fri, 2012-10-12 at 22:07 +0530, Adil Mujeeb wrote: > > Removed checkpatch.pl script reported ERRORs > [] > > diff --git a/linux-3.6-rc7/drivers/staging/winbond/phy_calibration.c > > b/linux-3.6-rc7/drivers/staging/winbond/phy_calibration.c > [] >

Re: [PATCH 5/9] Staging: winbond: wb35reg: Fixed coding style issues

2012-10-21 Thread Pavel Machek
On Fri 2012-10-12 22:07:11, Adil Mujeeb wrote: > Fixed some of checkpatch.pl reported ERRORs and WARNING of similar types: > 1. trailing statements should be on next line > 2. no spaces at the start of a line > > Signed-off-by: Adil Mujeeb NAK. This makes it worse, not better. The code is simple

Re: [PATCH 0/9] Staging: winbond: Fixed coding style issues

2012-10-21 Thread Pavel Machek
On Fri 2012-10-12 22:07:06, Adil Mujeeb wrote: > > winbond directory files have lots of coding style issues. The patch set tries to remove *most* (if not all) of the coding style issues. checkpatch.pl script is still complaining (like 80 characters limit) but major part of the serious coding style

[PATCH 0/5] eliminate possible double free

2012-10-21 Thread Julia Lawall
These patches fix cases where a called function frees some data and the calling context frees the same data. The complete semantic match is as follows: (http://coccinelle.lip6.fr/) // @r exists@ parameter list[n] ps; type T; identifier a; expression e; expression ret != 0; identifier f,free; pos

[PATCH 5/5] drivers/iio/industrialio-event.c: eliminate possible double free

2012-10-21 Thread Julia Lawall
From: Julia Lawall The function __iio_add_event_config_attrs is only called once, by the function iio_device_register_eventset. If the call fails, iio_device_register_eventset calls __iio_remove_event_config_attrs. There is thus no need for __iio_add_event_config_attrs to also call __iio_remove

[PATCH 1/5] sound/isa/opti9xx/miro.c: eliminate possible double free

2012-10-21 Thread Julia Lawall
From: Julia Lawall snd_miro_probe is a static function that is only called twice in the file that defines it. At each call site, its argument is freed using snd_card_free. Thus, there is no need for snd_miro_probe to call snd_card_free on its argument on any of its error exit paths. Because sn

[PATCH 2/5] drivers/net/wireless/ti/wlcore/main.c: eliminate possible double power off

2012-10-21 Thread Julia Lawall
From: Julia Lawall The function wl12xx_set_power_on is only called twice, once in wl12xx_chip_wakeup and once in wl12xx_get_hw_info. On the failure of the call in wl12xx_chip_wakeup, the containing function just returns, but on the failure of the call in wl12xx_get_hw_info, the containing functi

[PATCH 3/5] arch/powerpc/kernel/rtas_flash.c: eliminate possible double free

2012-10-21 Thread Julia Lawall
From: Julia Lawall The function initialize_flash_pde_data is only called four times. All four calls are in the function rtas_flash_init, and on the failure of any of the calls, remove_flash_pde is called on the third argument of each of the calls. There is thus no need for initialize_flash_pde_

[PATCH 4/5] ath6kl/wmi.c: eliminate possible double free

2012-10-21 Thread Julia Lawall
From: Julia Lawall This makes two changes. In ath6kl_wmi_cmd_send, a call to dev_kfree_skb on the skb argument is added to the initial sanity check to more completely establish the invariant that ath6kl_wmi_cmd_send owns its skb argument. Then, in ath6kl_wmi_sync_point, on failure of the call to

Re: [GIT PULL] Linux KVM tool for v3.7-rc0

2012-10-21 Thread Christoph Hellwig
On Sun, Oct 21, 2012 at 01:07:31PM +1000, Dave Airlie wrote: > Why couldn't this script just be a wrapper around qemu It can be. Here is my ususual one: #!/bin/sh /opt/qemu/bin/qemu-system-x86_64 \ -m 1500 \ -enable-kvm \ -drive if=none,file=/home/hch/qemu-root.img,cache

Re: Re: Re: Re: A reliable kernel panic (3.6.2) and system crash when visiting a particular website

2012-10-21 Thread Borislav Petkov
On Sun, Oct 21, 2012 at 01:57:21AM +, Artem S. Tashkinov wrote: > The freeze happens on my *host* Linux PC. For an experiment I decided > to check if I could reproduce the freeze under a virtual machine - it > turns out the Linux kernel running under it also freezes. I know that - but a freeze

Re: [GIT PULL] Linux KVM tool for v3.7-rc0

2012-10-21 Thread Borislav Petkov
On Sun, Oct 21, 2012 at 01:07:31PM +1000, Dave Airlie wrote: > Why couldn't this script just be a wrapper around qemu? > > I get the kvm developers developing features that isn't ideal, but for > the quick boot a kernel tests, I don't see why a well maintained qemu > wrapper isn't superior. I hate

Re: [PATCH 0/9] Staging: winbond: Fixed coding style issues

2012-10-21 Thread Adil Mujeeb
Hi Pavel, On Sun, Oct 21, 2012 at 4:12 PM, Pavel Machek wrote: > On Fri 2012-10-12 22:07:06, Adil Mujeeb wrote: >> >> winbond directory files have lots of coding style issues. The patch > set tries to remove *most* (if not all) of the coding style > issues. checkpatch.pl script is still complaini

Re: [GIT PULL] Linux KVM tool for v3.7-rc0

2012-10-21 Thread richard -rw- weinberger
On Sun, Oct 21, 2012 at 1:18 PM, Borislav Petkov wrote: > On Sun, Oct 21, 2012 at 01:07:31PM +1000, Dave Airlie wrote: >> Why couldn't this script just be a wrapper around qemu? >> >> I get the kvm developers developing features that isn't ideal, but for >> the quick boot a kernel tests, I don't s

[PATCH resend] genalloc: stop crashing the system when destroying a pool

2012-10-21 Thread Thadeu Lima de Souza Cascardo
A gen_pool_chunk uses a bitmap to find what addresses ranges it has allocated and bugs when we destroy the pool and a chunk has some bits set. There is a problem when it allocates the bitmap. It allocates only the number of bytes needed for the bits that represent the size it's allocating. That is

[PATCH] dmaengine: imx-dma: fix missing unlock on error in imxdma_xfer_desc()

2012-10-21 Thread Wei Yongjun
From: Wei Yongjun Add the missing unlock on the error handling path in function imxdma_xfer_desc(). Signed-off-by: Wei Yongjun --- drivers/dma/imx-dma.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/dma/imx-dma.c b/drivers/dma/imx-dma.c index f11b5b2..7d9554c 1

Re: A reliable kernel panic (3.6.2) and system crash when visiting a particular website

2012-10-21 Thread Daniel Mack
On 21.10.2012 12:34, Daniel Mack wrote: > On 21.10.2012 01:15, Artem S. Tashkinov wrote: >> You don't get me - I have *no* VirtualBox (or any proprietary) modules >> running >> - but I can reproduce this problem using *the same system running under* >> VirtualBox >> in Windows 7 64. >> >> It's al

Re: Re: Re: Re: Re: A reliable kernel panic (3.6.2) and system crash when visiting a particular website

2012-10-21 Thread Artem S. Tashkinov
On Oct 21, 2012, Borislav Petkov wrote: > > On Sun, Oct 21, 2012 at 01:57:21AM +, Artem S. Tashkinov wrote: > > The freeze happens on my *host* Linux PC. For an experiment I decided > > to check if I could reproduce the freeze under a virtual machine - it > > turns out the Linux kernel running

Re: question about context switch on arm Linux

2012-10-21 Thread Richard Cochran
On Sun, Oct 21, 2012 at 04:19:50PM +0800, caiyuqing wrote: > Richard, thanks for your reply. > mainline Linux doesn't support FCSE, if so, when kernel switch a > process to another(these two process share the same virtual memory > space), that means the vitrual-to-physical address should be > remap

Re: [dm-crypt] cryptsetup not working under 3.6 - regression from 3.4?

2012-10-21 Thread Tvrtko Ursulin
Hi, On 21/10/12 10:53, Milan Broz wrote: On 10/20/2012 10:44 PM, Tvrtko Ursulin wrote: But I repeat, even if I load the required modules before hand things do not work. I would say you are still missing some modules. Kernel says this: device-mapper: table: 252:1: crypt: Error allocating

Re: A reliable kernel panic (3.6.2) and system crash when visiting a particular website

2012-10-21 Thread Daniel Mack
On 21.10.2012 13:59, Artem S. Tashkinov wrote: > On Oct 21, 2012, Borislav Petkov wrote: >> >> On Sun, Oct 21, 2012 at 01:57:21AM +, Artem S. Tashkinov wrote: >>> The freeze happens on my *host* Linux PC. For an experiment I decided >>> to check if I could reproduce the freeze under a virtual m

Black screen with gma500_gfx on 3.6.2

2012-10-21 Thread Guido Günther
Hi, when switching from psb_gfx (3.2) to 3.6.2 (or 3.7 as of 2474542f64432398f503373f53bdf620491bcfa8) I'm getting a black screen on a Axiomtek SBC84826 board with a HP 2310ti attached via VGA. When using CONFIG_STUB_POULSBO=y I do get a console but when I unbind the driver and attach gma500_gfx l

Re: Linux 3.7-rc1 (nouveau_bios_score oops).

2012-10-21 Thread Marcin Slusarz
On Sun, Oct 21, 2012 at 08:58:07AM +0200, Paweł Sikora wrote: > On Sunday 21 of October 2012 00:19:48 Marcin Slusarz wrote: > > On Sat, Oct 20, 2012 at 11:20:36PM +0200, Heinz Diehl wrote: > > > On 20.10.2012, Marcin Slusarz wrote: > > > > > > > Try this one. > > > > > > It works, now I can boot

Re: A reliable kernel panic (3.6.2) and system crash when visiting a particular website

2012-10-21 Thread Daniel Mack
On 21.10.2012 13:59, Artem S. Tashkinov wrote: > On Oct 21, 2012, Borislav Petkov wrote: >> >> On Sun, Oct 21, 2012 at 01:57:21AM +, Artem S. Tashkinov wrote: >>> The freeze happens on my *host* Linux PC. For an experiment I decided >>> to check if I could reproduce the freeze under a virtual m

Re: [PATCH 1/5] sound/isa/opti9xx/miro.c: eliminate possible double free

2012-10-21 Thread Takashi Iwai
At Sun, 21 Oct 2012 12:52:03 +0200, Julia Lawall wrote: > > From: Julia Lawall > > snd_miro_probe is a static function that is only called twice in the file > that defines it. At each call site, its argument is freed using > snd_card_free. Thus, there is no need for snd_miro_probe to call > sn

Re: [PATCH V3 0/3] Add clock framework for armada 370/XP

2012-10-21 Thread Gregory CLEMENT
On 10/17/2012 05:39 PM, Jason Cooper wrote: > Mike, > > On Mon, Oct 15, 2012 at 02:18:16PM +0200, Gregory CLEMENT wrote: >> Hello Mike, >> >> The v3.7-rc1 was released yesterday. So here it is the updated version >> of my patch set. The rebase was flawless. An I have just fixed a typo >> in the de

Re: question on NUMA page migration

2012-10-21 Thread Ingo Molnar
* Rik van Riel wrote: > On 10/19/2012 09:23 PM, Ingo Molnar wrote: > > > >* Rik van Riel wrote: > > > >>On 10/19/2012 01:53 PM, Peter Zijlstra wrote: > >>>On Fri, 2012-10-19 at 13:13 -0400, Rik van Riel wrote: > >> > Another alternative might be to do the put_page inside > do_prot_none_

Re: Re: A reliable kernel panic (3.6.2) and system crash when visiting a particular website

2012-10-21 Thread Artem S. Tashkinov
On Oct 21, 2012, Daniel Mack wrote: > A hint at least. How did you enable the audio record exactly? Can you > reproduce this with arecord? > > What chipset are you on? Please provide both "lspci -v" and "lsusb -v" > dumps. As I said, I fail to reproduce that issue on any of my machines. All oth

Re: question on NUMA page migration

2012-10-21 Thread Ingo Molnar
* Rik van Riel wrote: > On 10/20/2012 10:39 PM, Ni zhan Chen wrote: > >On 10/19/2012 11:53 PM, Rik van Riel wrote: > >>Hi Andrea, Peter, > >> > >>I have a question on page refcounting in your NUMA > >>page migration code. > >> > >>In Peter's case, I wonder why you introduce a new > >>MIGRATE_FAU

Re: cryptsetup not working under 3.6 - regression from 3.4?

2012-10-21 Thread Tvrtko Ursulin
On 21/10/12 13:20, Zdenek Kaspar wrote: I would say you are still missing some modules. Kernel says this: device-mapper: table: 252:1: crypt: Error allocating crypto tfm device-mapper: ioctl: error adding target to table It complains about aes-cbc-essiv:sha256. It can be missing CBC

[PATCH 3/2] sched, numa, mm: Implement constant rate working set sampling

2012-10-21 Thread Ingo Molnar
* Rik van Riel wrote: > Hi Ingo, > > Here are some minor NUMA cleanups to start with. > > I have some ideas for larger improvements and ideas to port > over from autonuma, but I got caught up in some of the code > and am not sure about those changes yet. To help out I picked up a couple of

[PATCH 4/2] numa, mm: Rename the PROT_NONE fault handling functions

2012-10-21 Thread Ingo Molnar
* Ingo Molnar wrote: > > > I don't much care either way, but I was thinking walken > > > might want to use something similar to do WSS estimation, > > > in which case the NUMA name is just as wrong. > > > > That's a good point. I had not considered other uses of the > > same code. > > Renam

[tip:numa/core] sched, numa, mm: Implement constant, per task Working Set Sampling (WSS) rate

2012-10-21 Thread tip-bot for Peter Zijlstra
Commit-ID: 3d049f8a5398d0050ab9978b3ac67402f337390f Gitweb: http://git.kernel.org/tip/3d049f8a5398d0050ab9978b3ac67402f337390f Author: Peter Zijlstra AuthorDate: Sun, 14 Oct 2012 16:59:13 +0200 Committer: Ingo Molnar CommitDate: Sun, 21 Oct 2012 14:40:27 +0200 sched, numa, mm: Implemen

[tip:numa/core] sched, numa: Add NUMA_MIGRATION feature flag

2012-10-21 Thread tip-bot for Ingo Molnar
Commit-ID: aef6f4048d7467d2d805c6c9edc6dab37597becb Gitweb: http://git.kernel.org/tip/aef6f4048d7467d2d805c6c9edc6dab37597becb Author: Ingo Molnar AuthorDate: Sat, 20 Oct 2012 22:20:19 +0200 Committer: Ingo Molnar CommitDate: Sun, 21 Oct 2012 14:40:41 +0200 sched, numa: Add NUMA_MIGRAT

[tip:numa/core] numa, mm: Fix 4K migration races

2012-10-21 Thread tip-bot for Ingo Molnar
Commit-ID: eb4f84b1aaad78ca07e274b81410ec9d60abe434 Gitweb: http://git.kernel.org/tip/eb4f84b1aaad78ca07e274b81410ec9d60abe434 Author: Ingo Molnar AuthorDate: Sat, 20 Oct 2012 23:06:00 +0200 Committer: Ingo Molnar CommitDate: Sun, 21 Oct 2012 14:40:42 +0200 numa, mm: Fix 4K migration r

Re: [GIT PULL] Linux KVM tool for v3.7-rc0

2012-10-21 Thread Ingo Molnar
* Christoph Hellwig wrote: > On Sun, Oct 21, 2012 at 01:07:31PM +1000, Dave Airlie wrote: > > Why couldn't this script just be a wrapper around qemu > > It can be. Here is my ususual one: > > #!/bin/sh > > /opt/qemu/bin/qemu-system-x86_64 \ > -m 1500 \ > -enable-kvm \ > -dr

Re: [PATCH 4/2] numa, mm: Rename the PROT_NONE fault handling functions

2012-10-21 Thread Rik van Riel
On 10/21/2012 08:50 AM, Ingo Molnar wrote: * Ingo Molnar wrote: I don't much care either way, but I was thinking walken might want to use something similar to do WSS estimation, in which case the NUMA name is just as wrong. That's a good point. I had not considered other uses of the same co

Re: [PATCH 4/2] numa, mm: Rename the PROT_NONE fault handling functions

2012-10-21 Thread Ingo Molnar
* Rik van Riel wrote: > On 10/21/2012 08:50 AM, Ingo Molnar wrote: > > > >* Ingo Molnar wrote: > > > I don't much care either way, but I was thinking walken > might want to use something similar to do WSS estimation, > in which case the NUMA name is just as wrong. > >>> > >>>That's

Re: Linux 3.7-rc1 (nouveau_bios_score oops).

2012-10-21 Thread Heinz Diehl
On 21.10.2012, Marcin Slusarz wrote: > > > Please attach acpidump output. > > > > http://pluto.agmk.net/nv/acpidump.txt > > > > This looks like ACPI bug... I guess my acpidump didn't make it to the list. Anyway, here it is: http://www.fritha.org/acpidump.gz -- To unsubscribe from this list:

Re: [PATCH 09/11] perf python: Link with libtraceevent

2012-10-21 Thread Ingo Molnar
* Arnaldo Carvalho de Melo wrote: > Em Sat, Oct 20, 2012 at 02:35:57AM +0200, Ingo Molnar escreveu: > > Even with that I'm getting: > > > > util/python.c: In function ???initperf???: > > util/python.c:1018:2: error: ???page_size??? undeclared > > (first use in this function) > > util/python.c:

Re: [PATCH 4/2] numa, mm: Rename the PROT_NONE fault handling functions

2012-10-21 Thread Ingo Molnar
* Ingo Molnar wrote: > > Michel indicated that he does not use PROT_NONE for his > > working set estimation code, but instead checks the accessed > > bits in the page tables. > > The pte_young() WSS method has a couple of fundamental > limitations: > > - it doesn't work with shared memory

Re: [GIT PULL] Linux KVM tool for v3.7-rc0

2012-10-21 Thread richard -rw- weinberger
On Sun, Oct 21, 2012 at 2:59 PM, Ingo Molnar wrote: > You are wrong on three counts: > > - As I mentioned it in my first mail to you this is not the >same as 'vm run': you still have a qemu-root.img while >tools/kvm does not ... > >'vm run' works without having any disk image around,

Re: was: Re: A reliable kernel panic (3.6.2) and system crash when visiting a particular website

2012-10-21 Thread Daniel Mack
[Cc: alsa-devel] On 21.10.2012 14:30, Artem S. Tashkinov wrote: > On Oct 21, 2012, Daniel Mack wrote: > >> A hint at least. How did you enable the audio record exactly? Can you >> reproduce this with arecord? >> >> What chipset are you on? Please provide both "lspci -v" and "lsusb -v" >> dumps.

Re: Linux 3.7-rc1 (nouveau_bios_score oops).

2012-10-21 Thread Linus Torvalds
On Sun, Oct 21, 2012 at 5:09 AM, Marcin Slusarz wrote: > > This looks like ACPI bug... I'm _shocked_ to hear that firmware would be fragile. Anyway, here's the #1 thing to keep in mind about firmware: - firmware is *always* buggy. It's that simple. Don't expect anything else. Firmware is writ

drm_kms_helper problems

2012-10-21 Thread Mark Hounschell
I have a TV that appears to not provide proper EDID info to the HDMI or DVI ports of my Intel DH77DF motherboard. I received some pointers from this list that pointed me in the direction of creating my own EDID file and I now have a binary blob that matches what the service manual says is the p

RE: [PATCH] genirq: for edge interrupt IRQS_ONESHOT support with irq thread

2012-10-21 Thread anish kumar
On Sat, 2012-10-13 at 14:21 +0900, anish kumar wrote: > On Fri, 2012-10-12 at 22:52 +0200, Thomas Gleixner wrote: > > On Fri, 12 Oct 2012, Liu, Chuansheng wrote: > > > > -Original Message- > > > > From: anish kumar [mailto:anish198519851...@gmail.com] > > > > Sent: Friday, October 12, 2012

Re: irq/manage.c wrong comment( ? )

2012-10-21 Thread anish kumar
ping... On Sat, 2012-10-13 at 00:32 +0900, anish kumar wrote:? > Hello tglx, > > I just found the below inconsistency while going through the code. > > > kernel/irq/manage.c > > if (new->flags & IRQF_ONESHOT) { > /* > * The thread_mask for the action is or'ed to >

Re: Linux 3.7-rc1 (nouveau_bios_score oops).

2012-10-21 Thread Marcin Slusarz
On Sun, Oct 21, 2012 at 07:38:58AM -0700, Linus Torvalds wrote: > On Sun, Oct 21, 2012 at 5:09 AM, Marcin Slusarz > wrote: > > > > This looks like ACPI bug... > > I'm _shocked_ to hear that firmware would be fragile. > > Anyway, here's the #1 thing to keep in mind about firmware: > > - firmwar

Re: Re: was: Re: A reliable kernel panic (3.6.2) and system crash when visiting a particular website

2012-10-21 Thread Artem S. Tashkinov
> On Oct 21, 2012, Daniel Mack wrote: > > [Cc: alsa-devel] > > On 21.10.2012 14:30, Artem S. Tashkinov wrote: > > On Oct 21, 2012, Daniel Mack wrote: > > > >> A hint at least. How did you enable the audio record exactly? Can you > >> reproduce this with arecord? > >> > >> What chipset are you

Re: [Intel-gfx] drm_kms_helper problems

2012-10-21 Thread Bruno Prémont
Hi mark, On Sun, 21 October 2012 Mark Hounschell wrote: > I have a TV that appears to not provide proper EDID info to the HDMI or DVI > ports of my Intel DH77DF motherboard. I received some pointers from this > list that pointed me in the direction of creating my own EDID file and I > now have

Re: [PATCH 5/5] Thermal: Add ST-Ericsson db8500 thermal dirver.

2012-10-21 Thread Francesco Lavra
Hi Hongbo, On 10/16/2012 01:44 PM, hongbo.zhang wrote: > From: "hongbo.zhang" > > This diver is based on the thermal management framework in thermal_sys.c. > A thermal zone device is created with the trip points to which cooling > devices can be bound, the current cooling device is cpufreq, e.g.

Re: [GIT PULL] Linux KVM tool for v3.7-rc0

2012-10-21 Thread Ingo Molnar
* richard -rw- weinberger wrote: > qemu supports all these features. > E.g. to access the host fs use: > qemu ... \ > -fsdev > local,security_model=passthrough,id=fsdev-root,path=/your/root/,readonly > \ > -device virtio-9p-pci,id=fs-root,fsdev=fsdev-root,mount_tag=rootshare The best way t

[NetRom] possible circular locking dependency detected

2012-10-21 Thread Bernard f6bvp
Hi, When shutting down my dual core system, there was a possible circular locking dependency detected that is related to NetRom. Here is the syslog report. Regards, Bernard, f6bvp Oct 21 12:10:35 f6bvp-8 aprslist[1773]: terminating on SIGTERM Oct 21 12:10:35 f6bvp-8 fpacstat: terminat

Re: [PATCH] tools/kvm: Add a .s file rule

2012-10-21 Thread Pekka Enberg
On Sat, 20 Oct 2012, Borislav Petkov wrote: > Add a rule to the kvm tool Makefile to build .asm versions of the files. > This is good for debugging purposes. > > Cc: Pekka Enberg > Cc: Sasha Levin > Cc: Asias He > Signed-off-by: Borislav Petkov Applied, thanks Borislav! > --- > tools/kvm/Ma

[tip:numa/core] numa, mm: Rename the PROT_NONE fault handling functions to *_numa()

2012-10-21 Thread tip-bot for Rik van Riel
Commit-ID: 2458840fddea542391d343dac734d149607db709 Gitweb: http://git.kernel.org/tip/2458840fddea542391d343dac734d149607db709 Author: Rik van Riel AuthorDate: Thu, 18 Oct 2012 17:20:21 -0400 Committer: Ingo Molnar CommitDate: Sun, 21 Oct 2012 15:41:26 +0200 numa, mm: Rename the PROT_N

[tip:numa/core] numa, mm: Remove paranoia checks from do_huge_pmd_numa_page()

2012-10-21 Thread tip-bot for Ingo Molnar
Commit-ID: 9e1696b792d97b7fea2d650d4d7a42a92e85c4b0 Gitweb: http://git.kernel.org/tip/9e1696b792d97b7fea2d650d4d7a42a92e85c4b0 Author: Ingo Molnar AuthorDate: Sun, 21 Oct 2012 16:32:33 +0200 Committer: Ingo Molnar CommitDate: Sun, 21 Oct 2012 16:32:33 +0200 numa, mm: Remove paranoia ch

Re: was: Re: A reliable kernel panic (3.6.2) and system crash when visiting a particular website

2012-10-21 Thread Daniel Mack
On 21.10.2012 16:57, Artem S. Tashkinov wrote: >> On Oct 21, 2012, Daniel Mack wrote: >> >> [Cc: alsa-devel] >> >> On 21.10.2012 14:30, Artem S. Tashkinov wrote: >>> On Oct 21, 2012, Daniel Mack wrote: >>> A hint at least. How did you enable the audio record exactly? Can you reproduce

Re: Re: Re: Re: Re: A reliable kernel panic (3.6.2) and system crash when visiting a particular website

2012-10-21 Thread Alan Stern
On Sun, 21 Oct 2012, Artem S. Tashkinov wrote: > What I've found out is that my system crashes *only* when I try to enable > usb-audio (from the same webcam) - I still have no idea how to capture a > panic message, but I ran > > "while :; do dmesg -c; done" in xterm, then I got like thousands of

Re: was: Re: A reliable kernel panic (3.6.2) and system crash when visiting a particular website

2012-10-21 Thread Alan Stern
On Sun, 21 Oct 2012, Daniel Mack wrote: > As the usb list is still in Cc: - Artem's lcpci dump shows that his > machine features XHCI controllers. Can anyone think of a relation to > this problem? > > And Artem, is there any way you boot your system on an older machine > that only has EHCI ports?

Re: [GIT PULL] Linux KVM tool for v3.7-rc0

2012-10-21 Thread Pekka Enberg
On Sun, Oct 21, 2012 at 2:59 PM, Ingo Molnar wrote: >> You are wrong on three counts: >> >> - As I mentioned it in my first mail to you this is not the >>same as 'vm run': you still have a qemu-root.img while >>tools/kvm does not ... >> >>'vm run' works without having any disk image a

Re: [GIT PULL] oprofile fixes

2012-10-21 Thread Ingo Molnar
* Robert Richter wrote: > Ingo, > > On 15.10.12 16:39:12, Robert Richter wrote: > > On 10.10.12 10:18:35, Dan Carpenter wrote: > > > The "event" variable is a u16 so the shift will always wrap to zero > > > making the line a no-op. > > > > > > Signed-off-by: Dan Carpenter > > > > Patch appli

Re: [PATCH 0/4] firmware loader: misc changes

2012-10-21 Thread Greg Kroah-Hartman
On Sun, Oct 21, 2012 at 03:55:45PM +0800, Ming Lei wrote: > On Tue, Oct 9, 2012 at 12:01 PM, Ming Lei wrote: > > Hi, > > > > The first two are fixes' patch, the 3rd one is to enable > > caching firmware for direct loading, and the last one is > > a cleanup patch. > > > > drivers/base/firmware_cla

Re: [GIT PULL] tick: Some consolidation cleanups

2012-10-21 Thread Ingo Molnar
* Frederic Weisbecker wrote: > Ingo, Thomas, > > I guess those patches are not controversial so I'm joining a > pull request on the first take, just in case. > > This can be pulled from: > > git://github.com/fweisbec/linux-dynticks.git > nohz/core > > Thanks. > > Frederic Weisbecker (

Re: [PATCH v4 1/6] perf tools: configure tmp path at build time

2012-10-21 Thread Ingo Molnar
* Christoph Hellwig wrote: > A system that doesn't have /bin/sh is fundamentally broken. No, such a system is simply different. > How about just creating it as a symlink in a simple unix > compatibility layer for Android. That'd help with /tmp as > well. That might make sense to pursue, ar

Re: [ 12/37] block: fix request_queue->flags initialization

2012-10-21 Thread Greg Kroah-Hartman
On Sat, Oct 20, 2012 at 12:16:04AM +0100, Ben Hutchings wrote: > On Thu, Oct 18, 2012 at 08:16:35PM -0700, Greg Kroah-Hartman wrote: > > 3.0-stable review patch. If anyone has any objections, please let me know. > > > > -- > > > > From: Tejun Heo > > > > commit 60ea8226cbd5c830

Re: [ 02/37] lockd: use rpc clients cl_nodename for id encoding

2012-10-21 Thread Greg Kroah-Hartman
On Sat, Oct 20, 2012 at 12:15:18AM +0100, Ben Hutchings wrote: > On Thu, Oct 18, 2012 at 08:16:25PM -0700, Greg Kroah-Hartman wrote: > > 3.0-stable review patch. If anyone has any objections, please let me know. > > > > -- > > > > From: Stanislav Kinsbursky > > > > commit 303a7

Re: [PATCH v4 6/6] perf stat: implement --big-num grouping

2012-10-21 Thread Ingo Molnar
* Christoph Hellwig wrote: > On Tue, Oct 16, 2012 at 02:33:40AM +0300, Irina Tirdea wrote: > > From: Irina Tirdea > > > > In glibc, printf supports ' to group numbers with thousands' > > grouping characters. Bionic does not support ' for printf. > > > > Implement thousands's grouping for num

Re: linux-next: manual merge of the tip tree with Linus' tree

2012-10-21 Thread Ingo Molnar
* Stephen Rothwell wrote: > Hi all, > > Today's linux-next merge of the tip tree got a conflict in > mm/huge_memory.c between commit 325adeb55e32 ("mm: huge_memory: Fix build > error") from Linus' tree and commit 39d6cb39a817 ("mm/mpol: Use special > PROT_NONE to migrate pages") from the tip tr

Re: [ 60/76] drm/nouveau/bios: fix shadowing of ACPI ROMs larger than 64KiB

2012-10-21 Thread Greg Kroah-Hartman
On Fri, Oct 19, 2012 at 09:11:15PM +0200, Heinz Diehl wrote: > On 19.10.2012, Greg Kroah-Hartman wrote: > > > Does Linus's 3.7 git tree also crash for you this way? > > Yes, it crashes in the same way with latest linus git 3.7. > Here's the screenshot: > > http://www.fritha.org/crash-linus-git.

Re: [PATCH 00/11] perf tool: Add PERF_SAMPLE_READ sample read support

2012-10-21 Thread Ingo Molnar
* Jiri Olsa wrote: > hi, > adding support to read sample values through the PERF_SAMPLE_READ > sample type. It's now possible to specify 'S' modifier for an event > and get its sample value by PERF_SAMPLE_READ. > > For group the 'S' modifier will enable sampling only for the leader > and read a

Re: [PATCH 2/2] perf: SNB exclusive PMU access for INST_RETIRED:PREC_DIST

2012-10-21 Thread Ingo Molnar
* Andi Kleen wrote: > > > > This isn't limited to admin, right? So the above turns into a DoS on the > > > > console. > > > > > > > Ok, so how about a WARN_ON_ONCE() instead? > > > > That should be fine I guess ;-) > > imho there is need for a generic mechanism to return an error > string to

Re: Re: Re: Re: Re: A reliable kernel panic (3.6.2) and system crash when visiting a particular website

2012-10-21 Thread Borislav Petkov
On Sun, Oct 21, 2012 at 11:59:36AM +, Artem S. Tashkinov wrote: > http://imageshack.us/a/img685/9452/panicz.jpg > > list_del corruption. prev->next should be ... but was ... Btw, this is one of the debug options I told you to enable. > I cannot show you more as I have no serial console to us

Re: Linux 3.7-rc1 (nouveau_bios_score oops).

2012-10-21 Thread Linus Torvalds
On Sun, Oct 21, 2012 at 5:49 PM, Marcin Slusarz wrote: > > I know. But this bug is not about broken firmware. It's about Linux kernel > ACPI implementation, which (I think) wrongly interprets ACPI script. Hmm. Len, care to comment? Marcin quoted the AML and our arguments in an earlier thing. I do

Re: [GIT PULL] Linux KVM tool for v3.7-rc0

2012-10-21 Thread Borislav Petkov
On Sun, Oct 21, 2012 at 05:03:05PM +0200, Ingo Molnar wrote: > The best way to compare them would be a script that gives exactly the > same test environment that 'vm run' / 'vm sandbox' does out of box, > but using qemu. > > If such a script is available then that would certainly be a useful > test

Linux 3.6.3

2012-10-21 Thread Greg KH
I'm announcing the release of the 3.6.3 kernel. All users of the 3.6 kernel series must upgrade. The updated 3.6.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.6.y and can be browsed at the normal kernel.org git web browser:

Linux 3.0.47

2012-10-21 Thread Greg KH
I'm announcing the release of the 3.0.47 kernel. All users of the 3.0 kernel series must upgrade. The updated 3.0.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.0.y and can be browsed at the normal kernel.org git web browser:

Re: Linux 3.0.47

2012-10-21 Thread Greg KH
diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt index aa47be7..397ee05 100644 --- a/Documentation/kernel-parameters.txt +++ b/Documentation/kernel-parameters.txt @@ -1764,6 +1764,11 @@ bytes respectively. Such letter suffixes can also be entirely omitted.

Linux 3.4.15

2012-10-21 Thread Greg KH
I'm announcing the release of the 3.4.15 kernel. All users of the 3.4 kernel series must upgrade. The updated 3.4.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.4.y and can be browsed at the normal kernel.org git web browser:

Re: [GIT PULL] Linux KVM tool for v3.7-rc0

2012-10-21 Thread Markus Trippelsdorf
On 2012.10.21 at 19:15 +0200, Borislav Petkov wrote: > On Sun, Oct 21, 2012 at 05:03:05PM +0200, Ingo Molnar wrote: > > The best way to compare them would be a script that gives exactly the > > same test environment that 'vm run' / 'vm sandbox' does out of box, > > but using qemu. > > > > If such a

Re: [GIT PULL] Linux KVM tool for v3.7-rc0

2012-10-21 Thread Ingo Molnar
* Markus Trippelsdorf wrote: > On 2012.10.21 at 19:15 +0200, Borislav Petkov wrote: > > On Sun, Oct 21, 2012 at 05:03:05PM +0200, Ingo Molnar wrote: > > > The best way to compare them would be a script that gives exactly the > > > same test environment that 'vm run' / 'vm sandbox' does out of bo

  1   2   3   >