Re: [PATCH 0/2] ima: policy search speedup

2012-12-11 Thread Dave Chinner
On Tue, Dec 11, 2012 at 02:07:22PM -0500, Mimi Zohar wrote: > On Tue, 2012-12-11 at 13:09 -0500, Eric Paris wrote: > > On Tue, Dec 11, 2012 at 12:55 PM, Linus Torvalds > > wrote: > > > > > And your "pseudo-filesystems" argument is pretty stupid too, since WE > > > ALREADY HAVE A FLAG FOR THAT! >

Re: [PATCH, 3.7-rc7, RESEND] fs: revert commit bbdd6808 to fallocate UAPI

2012-12-11 Thread Dave Chinner
On Tue, Dec 11, 2012 at 12:16:03PM +, Steven Whitehouse wrote: > On Mon, 2012-12-10 at 13:20 -0500, Theodore Ts'o wrote: > > A sentence or two got chopped out during an editing pass. Let me try > > that again so it's a bit clearer what I was trying to say > > > > Sure, but if the block

Re: [PATCH RFC v2] media: v4l2-ctrl: Add gain controls

2012-12-11 Thread Sakari Ailus
Hi Hans, On Tue, Dec 11, 2012 at 09:56:42AM +0100, Hans Verkuil wrote: ... > > > > If I set both V4L2_CID_GAIN_RED and V4L2_CID_RED_OFFSET, how are they > > > > supposed > > > > to interact? Or are they mutually exclusive? > > > > > > > > And if I set both V4L2_CID_GAIN_OFFSET and

Re: [PATCH 0/8] zswap: compressed swap caching

2012-12-11 Thread Greg Kroah-Hartman
On Tue, Dec 11, 2012 at 03:55:58PM -0600, Seth Jennings wrote: > Zswap Overview: Why are you sending this right at the start of the merge window, when all of the people who need to review it are swamped with other work? {sigh} greg k-h -- To unsubscribe from this list: send the line

Re: linux-next: recent rebases

2012-12-11 Thread Eric Paris
On Wed, 2012-12-12 at 08:41 +1100, Stephen Rothwell wrote: > Hi Linus, > > I am not sure how much you care about this, but here is a list of the > trees in linux-next that have been rebased in the last day (i.e. since I > fetched the trees for next-20121211): > > fsno

[PATCH 4/8] staging: zsmalloc: make CLASS_DELTA relative to PAGE_SIZE

2012-12-11 Thread Seth Jennings
Right now ZS_SIZE_CLASS_DELTA is hardcoded to be 16. This creates 254 classes for systems with 4k pages. However, on PPC64 with 64k pages, it creates 4095 classes which is far too many. This patch makes ZS_SIZE_CLASS_DELTA relative to PAGE_SIZE so that regardless of the page size, there will be

[PATCH 5/8] debugfs: add get/set for atomic types

2012-12-11 Thread Seth Jennings
debugfs currently lack the ability to create attributes that set/get atomic_t values. This patch adds support for this through a new debugfs_create_atomic_t() function. Signed-off-by: Seth Jennings --- fs/debugfs/file.c | 42 ++

[PATCH 3/8] staging: zsmalloc: add page alloc/free callbacks

2012-12-11 Thread Seth Jennings
This patch allows users of zsmalloc to register the allocation and free routines used by zsmalloc to obtain more pages for the memory pool. This allows the user more control over zsmalloc pool policy and behavior. If the user does not wish to control this, alloc_page() and __free_page() are used

[PATCH 2/8] staging: zsmalloc: remove unsed pool name

2012-12-11 Thread Seth Jennings
zs_create_pool() currently takes a name argument which is never used in any useful way. This patch removes it. Signed-off-by: Seth Jennnings --- drivers/staging/zcache/zcache-main.c |2 +- drivers/staging/zram/zram_drv.c |2 +- drivers/staging/zsmalloc/zsmalloc-main.c |

Re: kswapd craziness in 3.7

2012-12-11 Thread Zlatko Calusic
On 11.12.2012 01:19, Zlatko Calusic wrote: I will now make one last attempt, I've just reverted 2 Johannes' commits that were also applied in attempt to fix breakage that removing gfp_no_kswapd introduced, namely ed23ec4 & c702418. For various reasons the results of this test will be available

[PATCH 7/8] zswap: add to mm/

2012-12-11 Thread Seth Jennings
zswap is a thin compression backend for frontswap. It receives pages from frontswap and attempts to store them in a compressed memory pool, resulting in an effective partial memory reclaim and dramatically reduced swap device I/O. Additional, in most cases, pages can be retrieved from this

[PATCH 8/8] zswap: add documentation

2012-12-11 Thread Seth Jennings
This patch adds the documentation file for the zswap functionality Signed-off-by: Seth Jennings --- Documentation/vm/zswap.txt | 74 1 file changed, 74 insertions(+) create mode 100644 Documentation/vm/zswap.txt diff --git

[PATCH 1/8] staging: zsmalloc: add gfp flags to zs_create_pool

2012-12-11 Thread Seth Jennings
zs_create_pool() currently takes a gfp flags argument that is used when growing the memory pool. However it is not used in allocating the metadata for the pool itself. That is currently hardcoded to GFP_KERNEL. zswap calls zs_create_pool() at swapon time which is done in atomic context,

[PATCH 0/8] zswap: compressed swap caching

2012-12-11 Thread Seth Jennings
Zswap Overview: Zswap is a lightweight compressed cache for swap pages. It takes pages that are in the process of being swapped out and attempts to compress them into a dynamically allocated RAM-based memory pool. If this process is successful, the writeback to the swap device is deferred and, in

[PATCH 06/19] MAINTAINERS: fix drivers/media/platform/atmel-isi.c

2012-12-11 Thread Cesar Eduardo Barros
This file was moved to drivers/media/platform/soc_camera/atmel-isi.c by commit b47ff4a ([media] move soc_camera to its own directory). Cc: Mauro Carvalho Chehab Cc: Josh Wu Cc: linux-me...@vger.kernel.org Signed-off-by: Cesar Eduardo Barros --- MAINTAINERS | 2 +- 1 file changed, 1

[PATCH 01/19] MAINTAINERS: remove drivers/platform/msm/

2012-12-11 Thread Cesar Eduardo Barros
Added by commit 8a5700c (add drivers/platform/msm to MSM subsystem) in 2011, but I could not find any trace of that directory being ever added to the repository. Acked-by: David Brown Acked-by: Bryan Huntsman Cc: Kenneth Heitke Cc: Daniel Walker Cc: linux-arm-...@vger.kernel.org

[PATCH 08/19] MAINTAINERS: fix drivers/media/usb/dvb-usb/cxusb*

2012-12-11 Thread Cesar Eduardo Barros
This driver was never at dvb-usb-v2, as far as I could see. Cc: Michael Krufky Cc: linux-me...@vger.kernel.org Signed-off-by: Cesar Eduardo Barros --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 8265764..b8dfc72 100644 ---

[PATCH 07/19] MAINTAINERS: adjust for UAPI

2012-12-11 Thread Cesar Eduardo Barros
Several headers were moved or split to uapi/. Acked-by: David Howells Signed-off-by: Cesar Eduardo Barros --- MAINTAINERS | 160 1 file changed, 118 insertions(+), 42 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index

[PATCH 11/19] MAINTAINERS: fix drivers/ieee802154/

2012-12-11 Thread Cesar Eduardo Barros
This directory was moved to drivers/net/ieee802154/ by commit 31d178b (drivers/ieee802154: move ieee802154 drivers to net folder). Cc: Alexander Smirnov Cc: Dmitry Eremin-Solenikov Cc: linux-zigbee-de...@lists.sourceforge.net Signed-off-by: Cesar Eduardo Barros --- MAINTAINERS | 2 +- 1 file

[PATCH 09/19] MAINTAINERS: remove drivers/video/epson1355fb.c

2012-12-11 Thread Cesar Eduardo Barros
This driver was removed by commit 1c3a918 (ARM: clps711x: Remove board support for CEIVA). Cc: Christopher Hoover Cc: Christopher Hoover Signed-off-by: Cesar Eduardo Barros --- MAINTAINERS | 6 -- 1 file changed, 6 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index

[PATCH 10/19] MAINTAINERS: fix .../plat-mxc/include/mach/imxfb.h

2012-12-11 Thread Cesar Eduardo Barros
This file was moved to include/linux/platform_data/video-imxfb.h by commit 82906b1 (ARM: imx: move platform_data definitions). Acked-by: Sascha Hauer Cc: linux-fb...@vger.kernel.org Cc: linux-arm-ker...@lists.infradead.org Signed-off-by: Cesar Eduardo Barros --- MAINTAINERS | 2 +- 1 file

[PATCH 12/19] MAINTAINERS: remove firmware/isci/

2012-12-11 Thread Cesar Eduardo Barros
This directory was removed by commit 7d99b3a (isci, firmware: Remove isci fallback parameter blob and generator). Cc: Ben Hutchings Cc: Dan Williams Cc: James Bottomley Cc: Intel SCU Linux support Cc: Lukasz Dorau Cc: Maciej Patelczyk Cc: Dave Jiang Cc: linux-s...@vger.kernel.org

[PATCH 13/19] MAINTAINERS: remove arch/x86/platform/mrst/pmu.*

2012-12-11 Thread Cesar Eduardo Barros
These files were removed by commit 1a8359e (x86/mid: Remove Intel Moorestown). Cc: Alan Cox Cc: Len Brown Cc: linux...@vger.kernel.org Signed-off-by: Cesar Eduardo Barros --- MAINTAINERS | 6 -- 1 file changed, 6 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 78d07f5..fbb9c06

[PATCH 03/19] MAINTAINERS: remove arch/arm/plat-s5p/

2012-12-11 Thread Cesar Eduardo Barros
These files were merged into plat-samsung. Acked-by: Kukjin Kim Cc: Ben Dooks Cc: linux-arm-ker...@lists.infradead.org Cc: linux-samsung-...@vger.kernel.org Signed-off-by: Cesar Eduardo Barros --- MAINTAINERS | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/MAINTAINERS

[PATCH 00/19] MAINTAINERS: fix file patterns

2012-12-11 Thread Cesar Eduardo Barros
I could not find the maintainer for the MAINTAINERS file, so sending directly to Linus. Sorry if I am mistaken. This patch series attempts to fix F: patterns on the MAINTAINERS file which point to non-existing files or directories. Patch 7 also attempts to add matching uapi/ patterns to all

[PATCH 15/19] MAINTAINERS: remove drivers/mmc/host/imxmmc.*

2012-12-11 Thread Cesar Eduardo Barros
This driver was removed by commit 6187fee (mmc: remove imxmmc driver). Acked-by: Pavel Pisa Cc: Sascha Hauer Cc: linux-arm-ker...@lists.infradead.org Signed-off-by: Cesar Eduardo Barros --- MAINTAINERS | 6 -- 1 file changed, 6 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index

[PATCH 14/19] MAINTAINERS: fix Documentation/mei/

2012-12-11 Thread Cesar Eduardo Barros
The documentation was moved to Documentation/misc-devices/mei/ instead. Acked-by: "Winkler, Tomas" Signed-off-by: Cesar Eduardo Barros --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index fbb9c06..6b9fc9e 100644 --- a/MAINTAINERS

[PATCH 04/19] MAINTAINERS: fix drivers/rtc/rtc-vt8500.c

2012-12-11 Thread Cesar Eduardo Barros
Cc: Tony Prisk Cc: linux-arm-ker...@lists.infradead.org Signed-off-by: Cesar Eduardo Barros --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index e013f00..f5df323 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1232,7 +1232,7 @@ F:

[PATCH 16/19] MAINTAINERS: remove arch/*/lib/perf_event*.c

2012-12-11 Thread Cesar Eduardo Barros
This pattern only matched arch/frv/lib/perf_event.c, which was removed by commit e360adb (irq_work: Add generic hardirq context callbacks). Cc: Peter Zijlstra Cc: Paul Mackerras Cc: Ingo Molnar Cc: Arnaldo Carvalho de Melo Signed-off-by: Cesar Eduardo Barros --- MAINTAINERS | 1 - 1 file

[PATCH 17/19] MAINTAINERS: remove include/linux/of_pwm.h

2012-12-11 Thread Cesar Eduardo Barros
Added by commit 200efed (pwm: Take over maintainership of the PWM subsystem), but I could not find any trace of that file being ever added to the repository. Acked-by: Thierry Reding Signed-off-by: Cesar Eduardo Barros --- MAINTAINERS | 1 - 1 file changed, 1 deletion(-) diff --git

[PATCH 18/19] MAINTAINERS: fix BAST

2012-12-11 Thread Cesar Eduardo Barros
These files were renamed by commit 85fd6d6 (ARM: S3C2410: move mach-s3c2410/* into mach-s3c24xx/). Cc: Ben Dooks Cc: Vincent Sanders Cc: Simtec Linux Team Signed-off-by: Cesar Eduardo Barros --- MAINTAINERS | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/MAINTAINERS

[PATCH 19/19] MAINTAINERS: fix drivers/staging/sm7xx/

2012-12-11 Thread Cesar Eduardo Barros
This directory was moved to drivers/staging/sm7xxfb/ by commit 925aa66 (staging: sm7xxfb: sm7xx becomes sm7xxfb). Acked-by: Javier Muñoz Cc: Teddy Wang Signed-off-by: Cesar Eduardo Barros --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS

[PATCH 02/19] MAINTAINERS: remove arch/arm/common/time-acorn.c

2012-12-11 Thread Cesar Eduardo Barros
This file was moved to arch/arm/mach-rpc/time.c by commit a1be5d6 (ARM: riscpc: move time-acorn.c to mach-rpc), and the pattern for arch/arm/mach-rpc/ already exists. Cc: Russell King Cc: linux-arm-ker...@lists.infradead.org Signed-off-by: Cesar Eduardo Barros --- MAINTAINERS | 1 - 1 file

[PATCH 05/19] MAINTAINERS: fix arch/arm/mach-at91/include/mach/at_hdmac.h

2012-12-11 Thread Cesar Eduardo Barros
This file was moved to include/linux/platform_data/dma-atmel.h by commit 7cdc39e (ARM: at91: move platform_data definitions). Cc: Nicolas Ferre Cc: linux-arm-ker...@lists.infradead.org Signed-off-by: Cesar Eduardo Barros --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [RFC PATCH 0/8] remove vm_struct list management

2012-12-11 Thread Vivek Goyal
On Mon, Dec 10, 2012 at 11:40:47PM +0900, JoonSoo Kim wrote: [..] > > So without knowing details of both the data structures, I think if vmlist > > is going away, then user space tools should be able to traverse > > vmap_area_root > > rb tree. I am assuming it is sorted using ->addr field and we

Re: Read starvation by sync writes

2012-12-11 Thread Jeff Moyer
Jan Kara writes: > Hi, > > I was looking into IO starvation problems where streaming sync writes (in > my case from kjournald but DIO would look the same) starve reads. This is > because reads happen in small chunks and until a request completes we don't > start reading further (reader reads

linux-next: recent rebases

2012-12-11 Thread Stephen Rothwell
Hi Linus, I am not sure how much you care about this, but here is a list of the trees in linux-next that have been rebased in the last day (i.e. since I fetched the trees for next-20121211): fsnotify: rebased to v3.6(!) to resolve a conflict. git://git.infradead.org/users/eparis

Re: [PATCH] remove unused code from do_wp_page

2012-12-11 Thread Andrew Morton
On Tue, 11 Dec 2012 15:44:50 +0100 din...@linux.vnet.ibm.com wrote: > From: Dominik Dingel > > page_mkwrite is initalized with zero and only set once, from that point > exists no way to get to the oom or oom_free_new labels. > > Signed-off-by: Dominik Dingel > --- > mm/memory.c | 4 >

Re: [PATCH 1/2] drivers/w1/masters/mxc_w1.c: use devm_ functions

2012-12-11 Thread Evgeniy Polyakov
Hi On Fri, Dec 07, 2012 at 12:15:24AM +0100, Julia Lawall (julia.law...@lip6.fr) wrote: > + mdev = devm_kzalloc(>dev, sizeof(struct mxc_w1_device), > + GFP_KERNEL); > if (!mdev) > return -ENOMEM; > > - mdev->clk = clk_get(>dev, NULL); > -

Re: [PATCH] Add VDSO time function support for x86 32-bit kernel

2012-12-11 Thread Stefani Seibold
Am Dienstag, den 11.12.2012, 13:18 -0800 schrieb Andy Lutomirski: > On Tue, Dec 11, 2012 at 12:54 PM, Stefani Seibold wrote: > > Am Dienstag, den 11.12.2012, 11:27 -0800 schrieb John Stultz: > >> On 12/11/2012 08:11 AM, stef...@seibold.net wrote: > >> > From: Stefani Seibold > >> > > >> > This

Re: [RFC][PATCH] fs: configfs: programmatically create config groups

2012-12-11 Thread Joel Becker
On Mon, Dec 10, 2012 at 12:57:02PM +0100, Andrzej Pietrasiewicz wrote: > Hello Joel, > > So you are alive, I'm glad to hear from you ;) Thank you for your response. Yeah, sorry for missing the thread for so long. > On Saturday, December 08, 2012 12:18 AM Joel Becker wrote: > > Subject:

[PATCH - v2] spi: davinci: add OF support for the spi controller

2012-12-11 Thread Murali Karicheri
This adds OF support to DaVinci SPI controller to configure platform data through device bindings. Also replaces clk_enable() with of clk_prepare_enable() as well as clk_disable() with clk_disable_unprepare(). Signed-off-by: Murali Karicheri Reviewed-by : Grant Likely --- - Change log - v2 -

Re: [PATCH] Add VDSO time function support for x86 32-bit kernel

2012-12-11 Thread Andy Lutomirski
On Tue, Dec 11, 2012 at 12:54 PM, Stefani Seibold wrote: > Am Dienstag, den 11.12.2012, 11:27 -0800 schrieb John Stultz: >> On 12/11/2012 08:11 AM, stef...@seibold.net wrote: >> > From: Stefani Seibold >> > >> > This small patch add the functions vdso_gettimeofday(), >> > vdso_clock_gettime()

[PATCH v4] 8042: Enable A20 using KBC to fix S3 resume on some MSI laptops

2012-12-11 Thread Ondrej Zary
Some MSI laptop BIOSes are broken - INT 15h code uses port 92h to enable A20 line but resume code assumes that KBC was used. The laptop will not resume from S3 otherwise but powers off after a while and then powers on again stuck with a blank screen. Fix it by enabling A20 using KBC in

[GIT PULL] user namespace and namespace infrastructure changes for 3.8

2012-12-11 Thread Eric W. Biederman
Linus, Please pull the for-linus git tree from: git://git.kernel.org:/pub/scm/linux/kernel/git/ebiederm/user-namespace.git for-linus HEAD: 98f842e675f96ffac96e6c50315790912b2812be proc: Usable inode numbers for the namespace file descriptors. This tree is against v3.7-rc3 While

Re: [PATCH 1/2] pinctrl: add sleep mode management for hogs

2012-12-11 Thread Stephen Warren
On 12/11/2012 06:59 AM, Linus Walleij wrote: > From: Julien Delacou > > This fix allows handling sleep mode for hogged > pins in pinctrl. It provides functions to set pins > to sleep/default configurations according to their > current state from the individual pinctrl drivers. > diff --git

Re: BUG: soft lockup with 3.7.0 but not 3.6.10

2012-12-11 Thread Frédéric L . W . Meunier
On Tue, Dec 11, 2012 at 20:16:47, Borislav Petkov wrote: > What family is that? Can you give /proc/cpuinfo? processor : 0 vendor_id : AuthenticAMD cpu family : 15 model : 107 model name : AMD Athlon(tm) 64 X2 Dual Core Processor 4000+ stepping: 1 cpu MHz

Re: [PATCH v3] Enable A20 using KBC for some MSI laptops to fix S3 resume

2012-12-11 Thread H. Peter Anvin
On 12/11/2012 12:50 PM, Ondrej Zary wrote: On Tuesday 11 December 2012 21:36:46 H. Peter Anvin wrote: On 12/11/2012 12:29 PM, Ondrej Zary wrote: Something like this? (It works.) Something like that. We need to make sure we send the proper sequence, though, or it might break some SMM

Re: [PATCH] Add VDSO time function support for x86 32-bit kernel

2012-12-11 Thread Stefani Seibold
Am Dienstag, den 11.12.2012, 11:27 -0800 schrieb John Stultz: > On 12/11/2012 08:11 AM, stef...@seibold.net wrote: > > From: Stefani Seibold > > > > This small patch add the functions vdso_gettimeofday(), vdso_clock_gettime() > > and vdso_time() support to the VDSO for x86 32-bit kernels. > > > >

Re: [PATCH v3] Enable A20 using KBC for some MSI laptops to fix S3 resume

2012-12-11 Thread Ondrej Zary
On Tuesday 11 December 2012 21:36:46 H. Peter Anvin wrote: > On 12/11/2012 12:29 PM, Ondrej Zary wrote: > > Something like this? (It works.) > > Something like that. We need to make sure we send the proper sequence, > though, or it might break some SMM firmware... Could you please create proper

[PATCH] xen/blkback: prevent repeated backend_changed invocations

2012-12-11 Thread Olaf Hering
backend_changed might be called multiple times, which will leak be->mode. Make sure it will be called only once. Remove some unneeded checks. Also the be->mode string was leaked, release the memory on device shutdown. Signed-off-by: Olaf Hering --- incorporate all comments from Jan. fold the

Re: [PATCH 2/2] pinctrl: skip deferral of hogs

2012-12-11 Thread Stephen Warren
On 12/11/2012 06:36 AM, Linus Walleij wrote: > From: Linus Walleij > > Up until now, as hogs were always taken at the end of the > pin control device registration, it didn't cause any problem. > But when starting to hog pins from the device core it will > cause deferral of the pin controller

Re: [PATCH] Add VDSO time function support for x86 32-bit kernel

2012-12-11 Thread Stefani Seibold
Am Dienstag, den 11.12.2012, 11:37 -0800 schrieb Andy Lutomirski: > On Tue, Dec 11, 2012 at 8:11 AM, wrote: > > From: Stefani Seibold > > > > This small patch add the functions vdso_gettimeofday(), vdso_clock_gettime() > > and vdso_time() support to the VDSO for x86 32-bit kernels. > > > > The

Re: Fwd: Safely remove option shows with Micro SD Card connected to Linux through an Android phone

2012-12-11 Thread Alan Stern
On Tue, 11 Dec 2012, prasannatsmkumar wrote: > Hi All, > > I connected an Android phone using USB cable to my machine running > Linux (Linux 3.0, 3.2, 3.5). Mounted the SD card in phone in system > (phone is just a pass through I guess). When I choose "Safely Remove" > option in nautilus file

Re: [PATCH v3] Enable A20 using KBC for some MSI laptops to fix S3 resume

2012-12-11 Thread H. Peter Anvin
On 12/11/2012 12:29 PM, Ondrej Zary wrote: > > Something like this? (It works.) > Something like that. We need to make sure we send the proper sequence, though, or it might break some SMM firmware... > diff --git a/drivers/input/serio/i8042-x86ia64io.h >

Re: [PATCH 0/2] ima: policy search speedup

2012-12-11 Thread Linus Torvalds
On Tue, Dec 11, 2012 at 12:15 PM, Eric Paris wrote: > > I know it isn't relevant to the final solution, but this is simply > wrong. IS_PRIVATE() means 'this inode is filesystem internal.' It is > not used by anything except rieser and the anon_inode. If it is used > by psuedo filesystems in

Re: [PATCH v3] Enable A20 using KBC for some MSI laptops to fix S3 resume

2012-12-11 Thread Ondrej Zary
On Tuesday 11 December 2012 20:07:50 H. Peter Anvin wrote: > On 12/11/2012 10:59 AM, Ondrej Zary wrote: > > As I said before, the BIOS probably breaks on resume before any Linux > > code is executed. So any fix must be done before suspending. > > Well, that code should be independent of A20, being

Re: [RFC] dynamic_debug: introduce debug_hex_dump()

2012-12-11 Thread Joe Perches
On Tue, 2012-12-11 at 12:12 -0800, Greg KH wrote: > On Tue, Dec 11, 2012 at 03:08:31PM -0500, Jason Baron wrote: > > On Tue, Dec 11, 2012 at 11:36:46AM -0800, Luis R. Rodriguez wrote: > > > On Tue, Dec 04, 2012 at 11:28:26AM +0200, Vladimir Kondratiev wrote: > > > > Hi Jason, > > > > > > > > Do

Re: BUG: soft lockup with 3.7.0 but not 3.6.10

2012-12-11 Thread Borislav Petkov
On Tue, Dec 11, 2012 at 07:36:36PM -0200, Frédéric L. W. Meunier wrote: > While compiling MPlayer git on 3.7.0, I noticed the attached messages. I > then compiled 3.6.10, without any message being printed by the kernel, > and thought it could be due to MPlayer being compiled on tmpfs, while >

Re: [PATCH 0/2] ima: policy search speedup

2012-12-11 Thread Eric Paris
On Tue, Dec 11, 2012 at 3:05 PM, Linus Torvalds wrote: > The "IS_PRIVATE()" thing is more a "if you know a-priori that you > aren't interested in pseudo-filesystems, you can already check that > bit, because it will be set for things like /proc and shmem mappings > and pipes etc". I know it

Re: [RFC] dynamic_debug: introduce debug_hex_dump()

2012-12-11 Thread Greg KH
On Tue, Dec 11, 2012 at 03:08:31PM -0500, Jason Baron wrote: > On Tue, Dec 11, 2012 at 11:36:46AM -0800, Luis R. Rodriguez wrote: > > On Tue, Dec 04, 2012 at 11:28:26AM +0200, Vladimir Kondratiev wrote: > > > Hi Jason, > > > > > > Do you have any update on the status for patches below? > > >

[GIT PATCH] USB patches for 3.8-rc1

2012-12-11 Thread Greg KH
The following changes since commit f4a75d2eb7b1e2206094b901be09adb31ba63681: Linux 3.7-rc6 (2012-11-16 17:42:40 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git/ tags/usb-3.8-rc1 for you to fetch changes up to

[GIT PATCH] TTY/Serial patches for 3.8-rc1

2012-12-11 Thread Greg KH
The following changes since commit f4a75d2eb7b1e2206094b901be09adb31ba63681: Linux 3.7-rc6 (2012-11-16 17:42:40 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git/ tags/tty-3.8-rc1 for you to fetch changes up to

[GIT PATCH] char/misc changes for 3.8-rc1

2012-12-11 Thread Greg KH
The following changes since commit f4a75d2eb7b1e2206094b901be09adb31ba63681: Linux 3.7-rc6 (2012-11-16 17:42:40 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git/ tags/char-misc-3.8-rc1 for you to fetch changes up to

[GIT PATCH] Driver core patches for 3.8-rc1

2012-12-11 Thread Greg KH
The following changes since commit 77b67063bb6bce6d475e910d3b886a606d0d91f7: Linux 3.7-rc5 (2012-11-11 13:44:33 +0100) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git/ tags/driver-core-3.8-rc1 for you to fetch changes up to

Re: [RFC] dynamic_debug: introduce debug_hex_dump()

2012-12-11 Thread Jason Baron
On Tue, Dec 11, 2012 at 11:36:46AM -0800, Luis R. Rodriguez wrote: > On Tue, Dec 04, 2012 at 11:28:26AM +0200, Vladimir Kondratiev wrote: > > Hi Jason, > > > > Do you have any update on the status for patches below? > > Where is it now? When do you expect it to merge? 3.8? > > I am waiting for

Re: [PATCH 0/2] ima: policy search speedup

2012-12-11 Thread Eric Paris
S_PRIVATE is totally unacceptable as it has a meaning across all LSMs, not just IMA. S_NOSEC means 'this is not setuid or setgid and we don't need to do those checks on modify' You are going to need to use a S_NOIMA. Of Dmitry's 90,000 fewer policy lookups using the per sb flag, how many of

Re: [PATCH 0/2] ima: policy search speedup

2012-12-11 Thread Linus Torvalds
On Tue, Dec 11, 2012 at 11:48 AM, Mimi Zohar wrote: > > Ok. To summarize, S_IMA indicates that there is a rule and that the iint > was allocated. To differentiate between 'haven't looked/don't know' and > 'definitely not', we need another bit. For this, you're suggesting > using IS_PRIVATE()?

[PATCH] core_pattern: set core helpers root and namespace to crashing process

2012-12-11 Thread Neil Horman
As its currently implemented, redirection of core dumps to a pipe reader should be executed such that the reader runs in the namespace of the crashing process, and it currently does not. This is the only sane way to deal with namespaces properly it seems to me, and this patch implements that

tty Linux 3.7: possible circular locking dependency detected

2012-12-11 Thread Oliver Hartkopp
Hello all, i've seen two possible circular locking dependencies with my bluetooth dialup setup. The dmesg outputs are attached. Any idea? I'll check, if i can reproduce this dmesg output. Please let me know, if you need additional infos. Best regards, Oliver [ 1003.760488] PPP generic driver

[PATCH 2/4] procfs: /proc/sched_debug fails on very very large machines.

2012-12-11 Thread Nathan Zimmer
On systems with 4096 cores attemping to read /proc/sched_debug fails. We are trying to push all the data into a single kmalloc buffer. The issue is on these very large machines all the data will not fit in 4mb. A better solution is to not us the single_open mechanism but to provide our own

[PATCH 4/4] Convert timer list to be a proper seq_file.

2012-12-11 Thread Nathan Zimmer
Convert /proc/timer_list to a proper seq_file with its own iterator. This is a little more complex given that we have to make two passes with two seperate headers. CC: John Stultz CC: Thomas Gleixner CC: linux-kernel@vger.kernel.org Reported-by: Dave Jones Signed-off-by: Nathan Zimmer ---

[PATCH 1/4] procfs: /proc/sched_stat fails on very very large machines.

2012-12-11 Thread Nathan Zimmer
On systems with 4096 cores doing a cat /proc/sched_stat fails. We are trying to push all the data into a single kmalloc buffer. The issue is on these very large machines all the data will not fit in 4mb. A better solution is to not us the single_open mechanism but to provide our own

[PATCH 0/4] /proc/schedstat and /proc/sched_debug fail at 4096

2012-12-11 Thread Nathan Zimmer
When running with 4096 cores attemping to read /proc/schedstat, /proc/sched_debug, /proc/timer_list will fail with an ENOMEM condition. On a sufficantly large systems the total amount of data is more then 4mb, so it won't fit into a single buffer. The failure can also occur on smaller systems

[PATCH 3/4] /proc/timer_list split timer_list_show_tickdevices

2012-12-11 Thread Nathan Zimmer
Split timer_list_show_tickdevices out the header and just pull the rest up to timer_list_show. Also tweak the location of the whitespace. This is all to prep for the fix. CC: John Stultz CC: Thomas Gleixner CC: linux-kernel@vger.kernel.org Reported-by: Dave Jones Signed-off-by: Nathan Zimmer

Re: [PATCH 0/2] ima: policy search speedup

2012-12-11 Thread Mimi Zohar
On Tue, 2012-12-11 at 11:10 -0800, Linus Torvalds wrote: > Anyway, the whole "you can do it at file granularity" isn't the bulk > of my argument (the "we already have the field that makes sense" is). > But my point is that per-inode is not only the logically more > straightforward place to do it,

Re: [PATCH] w1:masters/w1-gpio.c: fix error using "__devinit" and "__devexit"

2012-12-11 Thread Daniel Mack
On 11.12.2012 13:08, Cong Ding wrote: > w1:masters/w1-gpio.c: fix error using "__devinit" and "__devexit" > > we should use "__devinit" to mark the probe function, "__devexit" to > mark the remove function, and "__devexit_p" to mark the pointer to the > remove function. Nope. CONFIG_HOTPLUG is

Re: [PATCH] Add VDSO time function support for x86 32-bit kernel

2012-12-11 Thread Andy Lutomirski
On Tue, Dec 11, 2012 at 11:27 AM, John Stultz wrote: > On 12/11/2012 08:11 AM, stef...@seibold.net wrote: >> >> From: Stefani Seibold >> >> This small patch add the functions vdso_gettimeofday(), >> vdso_clock_gettime() >> and vdso_time() support to the VDSO for x86 32-bit kernels. >> >> The

Re: [PATCH] Add VDSO time function support for x86 32-bit kernel

2012-12-11 Thread Andy Lutomirski
On Tue, Dec 11, 2012 at 8:11 AM, wrote: > From: Stefani Seibold > > This small patch add the functions vdso_gettimeofday(), vdso_clock_gettime() > and vdso_time() support to the VDSO for x86 32-bit kernels. > > The reason to do this was to get a fast reliable time stamp. Many developers > uses

Re: [PATCH] Add VDSO time function support for x86 32-bit kernel

2012-12-11 Thread John Stultz
On 12/11/2012 08:11 AM, stef...@seibold.net wrote: From: Stefani Seibold This small patch add the functions vdso_gettimeofday(), vdso_clock_gettime() and vdso_time() support to the VDSO for x86 32-bit kernels. The reason to do this was to get a fast reliable time stamp. Many developers uses

Re: [RFC] dynamic_debug: introduce debug_hex_dump()

2012-12-11 Thread Luis R. Rodriguez
On Tue, Dec 04, 2012 at 11:28:26AM +0200, Vladimir Kondratiev wrote: > Hi Jason, > > Do you have any update on the status for patches below? > Where is it now? When do you expect it to merge? 3.8? > I am waiting for this to merge before I can go on > with my driver. *poke* Luis -- To

Re: [PATCH] Linux 3.8-merge version information

2012-12-11 Thread Oliver Hartkopp
Thanks for your explanation. Indeed i was not really aware of commit counter as the first number, even if i used CONFIG_LOCALVERSION_AUTO=y for a while now. The obviously outdated Kconfig help of CONFIG_LOCALVERSION_AUTO told me: A string of the format -g will be added to the

Re: [tip:x86/microcode] x86/microcode_intel_early.c: Early update ucode on Intel's CPU

2012-12-11 Thread H. Peter Anvin
On 12/11/2012 11:18 AM, Yinghai Lu wrote: > > that will be bunch of asm code again, and need to parse the setup_header in > that > asm to get range value for those regions... > It's an index into an array, it's not "parsing". >> >>> but if the user memmap to exclude some page, we will still

Re: 3.7 watchdog debugobjects warning

2012-12-11 Thread Don Zickus
On Tue, Dec 11, 2012 at 01:42:56PM -0500, Dave Jones wrote: > Looks like we're doing a double-init on a timer. > > I had been experimenting with powertop, so that may have triggered something > maybe suspend/resume related ? Is this coming out of a resume then? I am not familiar with ODEBUG, so

You have the wrong email !

2012-12-11 Thread Eilis O Connor
Sorry , I don't know u ! U must have wrong email! -- 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 read the FAQ at http://www.tux.org/lkml/

Re: [tip:x86/microcode] x86/microcode_intel_early.c: Early update ucode on Intel's CPU

2012-12-11 Thread Yinghai Lu
On Tue, Dec 11, 2012 at 10:46 AM, H. Peter Anvin wrote: > On 12/11/2012 10:42 AM, Yinghai Lu wrote: >> >> now in for-x86-boot: >> http://git.kernel.org/?p=linux/kernel/git/yinghai/linux-yinghai.git;a=commit;h=8e4e093e6d140f1316953437fdde4e826f5cfd98 >> >> it adds extra mapping from the whole

[GIT PULL] XFS update for 3.8-rc1

2012-12-11 Thread Ben Myers
Hi Linus, Please pull these XFS updates for 3.8-rc1. There is plenty going on, including the cleanup of xfssyncd, metadata verifiers, CRC infrastructure for the log, tracking of inodes with speculative allocation, a cleanup of xfs_fs_subr.c, fixes for XFS_IOC_ZERO_RANGE, and important fix

Re: [PATCH 0/2] ima: policy search speedup

2012-12-11 Thread Linus Torvalds
On Tue, Dec 11, 2012 at 10:59 AM, Mimi Zohar wrote: > > Bottom line, > we can't say definitively whether or not a file needs to be measured for > any caller. .. but is that actually *always* the case? Is there some fundamental reason why integrity rules can never have "this file just doesn't

Re: [PATCH] mm/bootmem.c: remove unused wrapper function reserve_bootmem_generic()

2012-12-11 Thread Yinghai Lu
On Tue, Dec 11, 2012 at 10:39 AM, Johannes Weiner wrote: > On Tue, Dec 11, 2012 at 04:12:03PM +0800, Lin Feng wrote: >> Wrapper fucntion reserve_bootmem_generic() currently have no caller, >> so clean it up. >> >> Signed-off-by: Lin Feng > > Acked-by: Johannes Weiner yes, this is leftover from

[GIT PULL] VFIO updates for v3.8

2012-12-11 Thread Alex Williamson
Hi Linus, The following changes since commit 29594404d7fe73cd80eaa4ee8c43dcc53970c60e: Linux 3.7 (2012-12-10 19:30:57 -0800) are available in the git repository at: git://github.com/awilliam/linux-vfio.git tags/vfio-for-v3.8 for you to fetch changes up to

Re: [PATCH v3] Enable A20 using KBC for some MSI laptops to fix S3 resume

2012-12-11 Thread H. Peter Anvin
On 12/11/2012 10:59 AM, Ondrej Zary wrote: As I said before, the BIOS probably breaks on resume before any Linux code is executed. So any fix must be done before suspending. Well, that code should be independent of A20, being in low memory, but if the BIOS itself crashes, then that's...

Re: [PATCH 0/2] ima: policy search speedup

2012-12-11 Thread Mimi Zohar
On Tue, 2012-12-11 at 13:09 -0500, Eric Paris wrote: > On Tue, Dec 11, 2012 at 12:55 PM, Linus Torvalds > wrote: > > > And your "pseudo-filesystems" argument is pretty stupid too, since WE > > ALREADY HAVE A FLAG FOR THAT! > > > > Guess where it is? Oh, it's in the place I already mentioned

Re: [PATCH 0/2] ima: policy search speedup

2012-12-11 Thread Mimi Zohar
On Tue, 2012-12-11 at 13:35 -0500, Eric Paris wrote: > On Tue, Dec 11, 2012 at 1:18 PM, Mimi Zohar wrote: > > > The appraisal policy is based on the object metadata, such as the uid, > > so the result is static and can be cached. The measurement policy, on > > the other hand, is normally based

[PATCH] Added NIST CMAC to the CryptoAPI library

2012-12-11 Thread Tom St Denis
This patch adds NIST CMAC cipher based MAC as described in FIPS 800-38B to the CryptoAPI stack. It also wires up the MAC to the IPsec stack as per RFC 4494. This patch was tested against 3.7 with third party hardware IPsec. Signed-off-by: Tom St Denis Acked-by: David S. Miller ---

Re: [PATCH v3] Enable A20 using KBC for some MSI laptops to fix S3 resume

2012-12-11 Thread Ondrej Zary
On Monday 10 December 2012 22:26:18 H. Peter Anvin wrote: > On 11/05/2012 12:35 PM, Ondrej Zary wrote: > > On Friday 26 October 2012 10:56:44 Ondrej Zary wrote: > >> Some MSI laptop BIOSes are broken - INT 15h code uses port 92h to enable > >> A20 line but resume code assumes that KBC was used. >

Re: [PATCH] Linux 3.8-merge version information

2012-12-11 Thread Linus Torvalds
On Tue, Dec 11, 2012 at 5:06 AM, Oliver Hartkopp wrote: > As the automatically generated git version information is misleading in the > merge window, name the kernel in the merge window as 3.8-merge . This really doesn't help. 90% of the commits during the merge window wouldn't be based on that

Re: [PATCH 0/2] ima: policy search speedup

2012-12-11 Thread Kasatkin, Dmitry
On Tue, Dec 11, 2012 at 8:35 PM, Linus Torvalds wrote: > On Tue, Dec 11, 2012 at 10:12 AM, Kasatkin, Dmitry > wrote: >> >> Actually S_PRIVATE does not work work for normal filesystems which IMA >> might want to ignore. > > The reading comprehension here is abysmal. > > First you claim that you

Re: [tip:x86/microcode] x86/microcode_intel_early.c: Early update ucode on Intel's CPU

2012-12-11 Thread H. Peter Anvin
On 12/11/2012 10:42 AM, Yinghai Lu wrote: > > now in for-x86-boot: > http://git.kernel.org/?p=linux/kernel/git/yinghai/linux-yinghai.git;a=commit;h=8e4e093e6d140f1316953437fdde4e826f5cfd98 > > it adds extra mapping from the whole kernel when kernel is loaded above 1G. > from round_down(_text,

Re: [RFC v3] Support volatile range for anon vma

2012-12-11 Thread John Stultz
On 12/10/2012 06:34 PM, Minchan Kim wrote: This still is [RFC v3] because just passed my simple test with TCMalloc tweaking. I hope more inputs from user-space allocator people and test patch with their allocator because it might need design change of arena management design for getting real

[PATCH 1/1] Drivers: hv: balloon: Fix a memory leak

2012-12-11 Thread K. Y. Srinivasan
The send buffer was being leaked; fix it. Signed-off-by: K. Y. Srinivasan Reviewed-by: Haiyang Zhang Reported-by: Jason Wang --- drivers/hv/hv_balloon.c | 23 +-- 1 files changed, 13 insertions(+), 10 deletions(-) diff --git a/drivers/hv/hv_balloon.c

<    1   2   3   4   5   6   7   8   9   10   >