[PATCH 2/3] perf tools: Add procfs support into fs object

2013-11-04 Thread Jiri Olsa
Adding procfs support into fs object. The interface function: const char *procfs_find_mountpoint(void); provides valid mountpoint path for procfs. Signed-off-by: Jiri Olsa jo...@redhat.com Cc: Adrian Hunter adrian.hun...@intel.com Cc: Corey Ashford cjash...@linux.vnet.ibm.com Cc: David Ahern

Re: [RFC] arch: Introduce new TSO memory barrier smp_tmb()

2013-11-04 Thread Will Deacon
On Sun, Nov 03, 2013 at 11:34:00PM +, Linus Torvalds wrote: So it would *kind* of act like a smp_wmb() + smp_rmb(), but the problem is that a smp_rmb() doesn't really attach to the preceding write. Agreed. This is analogous to a acquire operation: you cannot make an acquire barrier,

[PATCH 0/3] perf tools: Add perf_event_max_sample_rate freq check

2013-11-04 Thread Jiri Olsa
hi, adding the check for maximum allowed frequency rate defined in perf_event_max_sample_rate. Plus procfs mountpoint reading code. Reachable here: git://git.kernel.org/pub/scm/linux/kernel/git/jolsa/perf.git perf/cc jirka Cc: Adrian Hunter adrian.hun...@intel.com Cc: Corey Ashford

[PATCH 1/3] perf tools: Factor sysfs code into generic fs object

2013-11-04 Thread Jiri Olsa
Moving sysfs code into generic fs object and preparing it to carry procfs support. This should be merged with tools/lib/lk/debugfs.c at some point in the future. Signed-off-by: Jiri Olsa jo...@redhat.com Cc: Adrian Hunter adrian.hun...@intel.com Cc: Corey Ashford cjash...@linux.vnet.ibm.com Cc:

[PATCH 3/3] perf tools: Check maximum frequency rate for record/top

2013-11-04 Thread Jiri Olsa
Adding the check for maximum allowed frequency rate defined in following file: /proc/sys/kernel/perf_event_max_sample_rate When we cross the maximum value we fail and display detailed error message with advise. Signed-off-by: Jiri Olsa jo...@redhat.com Cc: Adrian Hunter adrian.hun...@intel.com

Re: [PATCH] s390: remove unused Kconfig parameters

2013-11-04 Thread Heiko Carstens
On Mon, Nov 04, 2013 at 10:43:39AM +0100, Michael Opdenacker wrote: This removes the HAVE_MARCH_Z900_FEATURES and HAVE_MARCH_Z990_FEATURES Kconfig parameters, which were no longer used anywhere in the source code and Makefiles. Actually, HAVE_MARCH_Z990_FEATURES is no longer used after

Re: [PATCH 00/14] skd: various fixes/cleanups

2013-11-04 Thread Bartlomiej Zolnierkiewicz
Hi Jens, Could you please take a look at this patchset? It has been posted a month ago and there has been no feedback from you. Today I've noticed that you've recently done some changes in your for-3.13/drivers branch which seem to duplicate some of my work (especially commit skd: rip out bio

Assalamalaykum

2013-11-04 Thread YUSUF ABDULRAZAQ
Hello, My name is Yusuf Abdulrazaq an Indonesian. I send this email with the purpose of looking for partners for cooperation in my plans for development in Indonesia and around the world with the aim of helping the less privileged and other muslim people who do not have a chance to earn a

Re: [RFC] arch: Introduce new TSO memory barrier smp_tmb()

2013-11-04 Thread Peter Zijlstra
On Mon, Nov 04, 2013 at 02:51:00AM -0800, Paul E. McKenney wrote: OK, something like this for the definitions (though PowerPC might want to locally abstract the lwsync expansion): #define smp_store_with_release_semantics(p, v) /* x86, s390, etc. */ \ do { \

Re: stec skd block driver needs updating for immutable biovec

2013-11-04 Thread Bartlomiej Zolnierkiewicz
Hi, On Friday, November 01, 2013 10:34:23 AM Jens Axboe wrote: On 11/01/2013 10:28 AM, Mike Snitzer wrote: On Fri, Nov 01 2013 at 12:02pm -0400, Jens Axboe ax...@kernel.dk wrote: On 11/01/2013 09:50 AM, Christoph Hellwig wrote: On Fri, Nov 01, 2013 at 11:43:39AM -0400, Mike Snitzer

GFS2: Pre-pull patch posting (merge window)

2013-11-04 Thread Steven Whitehouse
Hi, I'm just back from firstly Edinburgh, and secondly holiday, and the merge window is again upon us. I've added in the three pending patches which were under test while I was away and then that should be it for this time. The main feature of interest this time is quota updates. There are some

[PATCH 02/19] GFS2: optimize rbm_from_block wrt bi_start

2013-11-04 Thread Steven Whitehouse
From: Bob Peterson rpete...@redhat.com In function gfs2_rbm_from_block, it starts by checking if the block falls within the first bitmap. It does so by checking if the rbm's offset is less than (rbm-bi-bi_start + rbm-bi-bi_len) * GFS2_NBBY. However, the first bitmap will always have bi_start==0.

[PATCH 09/19] GFS2: Add allocation parameters structure

2013-11-04 Thread Steven Whitehouse
This patch adds a structure to contain allocation parameters with the intention of future expansion of this structure. The idea is that we should be able to add more information about the allocation in the future in order to allow the allocator to make a better job of placing the requests on-disk.

[PATCH 12/19] GFS2: Remove obsolete quota tunable

2013-11-04 Thread Steven Whitehouse
There is no need for a paramater which relates to the internals of quota to be exposed to users. The only possible use would be to turn it up so large that the memory allocation fails. So lets remove it and set it to a sensible value which ensures that we don't ask for multipage allocations.

[PATCH 08/19] GFS2: Clean up reservation removal

2013-11-04 Thread Steven Whitehouse
The reservation for an inode should be cleared when it is truncated so that we can start again at a different offset for future allocations. We could try and do better than that, by resetting the search based on where the truncation started from, but this is only a first step. In addition, there

[PATCH 16/19] GFS2: Use lockref for glocks

2013-11-04 Thread Steven Whitehouse
Currently glocks have an atomic reference count and also a spinlock which covers various internal fields, such as the state. This intent of this patch is to replace the spinlock and the atomic reference count with a lockref structure. This contains a spinlock which we can continue to use as

[PATCH 05/19] GFS2: Introduce rbm field bii

2013-11-04 Thread Steven Whitehouse
From: Bob Peterson rpete...@redhat.com This is a respin of the original patch. As Steve pointed out, the introduction of field bii makes it easy to eliminate bi itself. This revised patch does just that, replacing bi with bii. This patch adds a new field to the rbm structure, called bii, which

[PATCH 13/19] GFS2: Make two similar quota code fragments into a function

2013-11-04 Thread Steven Whitehouse
There should be no functional change bar the removal of a test of the MS_READONLY flag which would never be reachable. This merges the common code from qd_fish and qd_trylock into a single function and calls it from both those places. Signed-off-by: Steven Whitehouse swhit...@redhat.com Cc:

[PATCH 15/19] GFS2: Protect quota sync generation

2013-11-04 Thread Steven Whitehouse
Now that gfs2_quota_sync can be potentially called from multiple threads, we should protect this bit of code, and the sync generation number in particular in order to ensure that there are no races when syncing quotas. Signed-off-by: Steven Whitehouse swhit...@redhat.com Cc: Abhijith Das

[PATCH 14/19] GFS2: Inline qd_trylock into gfs2_quota_unlock

2013-11-04 Thread Steven Whitehouse
The function qd_trylock was not a trylock despite its name and can be inlined into gfs2_quota_unlock in order to make the code a bit clearer. There should be no functional change as a result of this patch. Signed-off-by: Steven Whitehouse swhit...@redhat.com Cc: Abhijith Das a...@redhat.com diff

[PATCH 07/19] GFS2: fix dentry leaks

2013-11-04 Thread Steven Whitehouse
From: Miklos Szeredi mik...@szeredi.hu We need to dput() the result of d_splice_alias(), unless it is passed to finish_no_open(). Edited by Steven Whitehouse in order to make it apply to the current GFS2 git tree, and taking account of a prerequisite patch which hasn't been applied.

[PATCH 06/19] GFS2: new function gfs2_rbm_incr

2013-11-04 Thread Steven Whitehouse
From: Bob Peterson rpete...@redhat.com Since the previous patch eliminated bi in favor of bii, this follow-on patch needed to be adjusted accordingly. Here is the revised version. This patch adds a new function, gfs2_rbm_incr, which increments an rbm structure. This is more efficient than

[PATCH 04/19] GFS2: Do not reset flags on active reservations

2013-11-04 Thread Steven Whitehouse
From: Bob Peterson rpete...@redhat.com When we used try locks for rgrps on block allocations, it was important to clear the flags field so that we used a blocking hold on the glock. Now that we're not doing try locks, clearing flags is unnecessary, and a waste of time. In fact, it's probably

[PATCH 11/19] GFS2: Move gfs2_icbit_munge into quota.c

2013-11-04 Thread Steven Whitehouse
This function is only called twice, and both callers are quota related, so lets move this function into quota.c and make it static. Signed-off-by: Steven Whitehouse swhit...@redhat.com diff --git a/fs/gfs2/quota.c b/fs/gfs2/quota.c index 8fe7a0a..fd1ec52 100644 --- a/fs/gfs2/quota.c +++

Re: [PATCH] media: Add BCM2048 radio driver

2013-11-04 Thread Hans Verkuil
Hi Pali, On 10/26/2013 10:45 PM, Pali Rohár wrote: On Saturday 26 October 2013 22:22:09 Hans Verkuil wrote: Hans, so can it be added to drivers/staging/media tree? Yes, that is an option. It's up to you to decide what you want. Note that if no cleanup work is done on the staging driver for

[PATCH 03/19] GFS2: introduce bi_blocks for optimization

2013-11-04 Thread Steven Whitehouse
From: Bob Peterson rpete...@redhat.com This patch introduces a new field in the bitmap structure called bi_blocks. Its purpose is to save us from constantly multiplying bi_len by the constant GFS2_NBBY. It also paves the way for more optimization in a future patch. Signed-off-by: Bob Peterson

[PATCH 01/19] GFS2: d_splice_alias() can't return error

2013-11-04 Thread Steven Whitehouse
From: Miklos Szeredi mszer...@suse.cz unless it was given an IS_ERR(inode), which isn't the case here. So clean up the unnecessary error handling in gfs2_create_inode(). This paves the way for real fixes (hence the stable Cc). Signed-off-by: Miklos Szeredi mszer...@suse.cz Signed-off-by:

[PATCH 10/19] GFS2: Speed up starting point selection for block allocation

2013-11-04 Thread Steven Whitehouse
When setting the starting point for block allocation, there were calls to both gfs2_rbm_to_block() and gfs2_rbm_from_block() in the common case of there being an active reservation. The gfs2_rbm_from_block() function can be quite slow, and since the two conversions were effectively a no-op, it

[PATCH 17/19] GFS2: Use reflink for quota data cache

2013-11-04 Thread Steven Whitehouse
This patch adds reflink support to the quota data cache. It looks a bit strange because we still don't have a sensible split in the lookup by id and the lru list. That is coming in later patches though. The intent here is just to swap the current ref count for reflinks in all cases with as little

[PATCH 18/19] GFS2: Rename quota qd_lru_lock qd_lock

2013-11-04 Thread Steven Whitehouse
This is a straight forward rename which is in preparation for introducing the generic list_lru infrastructure in the following patch. Signed-off-by: Steven Whitehouse swhit...@redhat.com Signed-off-by: Abhijith Das a...@redhat.com Tested-by: Abhijith Das a...@redhat.com diff --git

Re: [PATCH] arm64: add PAGE_ALIGNED_DATA to linker script

2013-11-04 Thread Catalin Marinas
On Fri, Oct 11, 2013 at 01:18:41PM +0100, Mark Salter wrote: On Wed, 2013-10-09 at 11:14 +0100, Will Deacon wrote: @@ -110,6 +110,7 @@ SECTIONS */ INIT_TASK_DATA(THREAD_SIZE) NOSAVE_DATA + PAGE_ALIGNED_DATA(PAGE_SIZE)

[PATCH 19/19] GFS2: Use generic list_lru for quota

2013-11-04 Thread Steven Whitehouse
By using the generic list_lru code, we can now separate the per sb quota list locking from the lru locking. The lru lock is made into the inner-most lock. As a result of this new lock order, we may occasionally see items on the per-sb quota list which are dead so that the two places where we

Re: [PATCH -next] pinctrl: imx1: fix return value check in imx1_pinctrl_core_probe()

2013-11-04 Thread Linus Walleij
On Thu, Oct 31, 2013 at 8:51 AM, Wei Yongjun weiyj...@gmail.com wrote: From: Wei Yongjun yongjun_...@trendmicro.com.cn In case of error, the function devm_ioremap_nocache() returns NULL pointer not ERR_PTR(). The IS_ERR() test in the return value check should be replaced with NULL test.

Re: [PATCH 1/1] pinctrl: imx: fix using pin-input_val wrongly

2013-11-04 Thread Linus Walleij
On Mon, Oct 28, 2013 at 7:01 AM, Peter Chen peter.c...@freescale.com wrote: The commit: pinctrl: imx: Use struct type for pins relaced pin-input_reg by pin-input_val wrongly, fix it at this commit. Signed-off-by: Peter Chen peter.c...@freescale.com Patch applied with Sascha's ACK. Yours.

Re: [patch 1/6] hardirq: Make hardirq bits generic

2013-11-04 Thread Thomas Gleixner
On Thu, 19 Sep 2013, Geert Uytterhoeven wrote: However, the resulting kernel hangs (on ARAnyM) after starting userspace: | INIT: version 2.86 booting I'll have a deeper look when I have some more time... Any chance that you find some more time? :) Thanks, tglx -- To unsubscribe

Re: [PATCH] pinctrl: remove minor dead code

2013-11-04 Thread Linus Walleij
On Tue, Oct 29, 2013 at 4:50 AM, Michael Opdenacker michael.opdenac...@free-electrons.com wrote: This removes a test whether the 'desc' variable is NULL. This possibility has already been eliminated by the below test earlier in the loop: if (desc == NULL) {

Re: [Patch] arm/arm64: Thumb=ARM signal handling setup skips the a few instructions on Snapdragon S4/Krait

2013-11-04 Thread Catalin Marinas
(cc'ing the Linux ARM kernel list) On 25 October 2013 05:54, T.J. Purtell t...@mobisocial.us wrote: The ARM architecture reference specifies that the IT state bits in the PSR must be all zeros in ARM mode or behavior is unspecified. On the Qualcomm Snapdragon S4/Krait architecture CPUs the

Re: Random I/O lags on Lenovo T520: exception Emask 0x10 SAct 0x0 SErr 0x4040000 action 0xe frozen

2013-11-04 Thread Andreas
Same problem here with same hardware and KDE. I opened a bug report here https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1247806. Any news about it -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo

[PATCH] Staging: ft1000: fixed a few styling issues

2013-11-04 Thread Aldo Iljazi
Fixed the following styling issues: Line 30: Removed space before open square bracket '[' Lines 31 to 155: Moved the commas that were in the start of the lines, to the end of the lines. Inserted spaces after the commas. Inserted a one tab indentation to each line. Signed-off-by: Aldo Iljazi

Re: Disabling in-memory write cache for x86-64 in Linux II

2013-11-04 Thread Pavel Machek
Hi! Yes, but then the temp-file is long-lived enough that it *will* hit the disk anyway. So it's only the create temporary file and pretty much immediately delete it case that changes behavior (ie compiler assembly files etc). If the temp-file is for something like burning an ISO

Re: [PATCH 3/4] ARM: pinctrl: Add Broadcom Capri pinctrl driver

2013-11-04 Thread Linus Walleij
On Sat, Oct 26, 2013 at 12:48 AM, Sherman Yin s...@broadcom.com wrote: So I will go ahead and make the change in pinconf-generic.c and pinctrl-bindings.txt to include parsing of the slew-rate property and submit it as part of my pinctrl changes. OK, good. Question regarding

Re: Disabling in-memory write cache for x86-64 in Linux II

2013-11-04 Thread Pavel Machek
Hi! - temp-files may not be written out at all. Quite frankly, if you have multi-hundred-megabyte temptiles, you've got issues Actually people do stuff like this e.g. when generating ISO images before burning them. Yes, but then the temp-file is long-lived enough that it

Re: [PATCH RFC 1/4] phy: Add new Exynos5 USB 3.0 PHY driver

2013-11-04 Thread Tomasz Figa
Hi Kishon, On Monday 04 of November 2013 12:24:42 Kishon Vijay Abraham I wrote: Hi Vivek, On Thursday 31 October 2013 01:15 PM, Vivek Gautam wrote: Add a new driver for the USB 3.0 PHY on Exynos5 series of SoCs. The new driver uses the generic PHY framework and will interact with DWC3

Re: [PATCH] Staging: ft1000: fixed a few styling issues

2013-11-04 Thread Dan Carpenter
On Mon, Nov 04, 2013 at 02:15:22PM +0200, Aldo Iljazi wrote: Fixed the following styling issues: Line 30: Removed space before open square bracket '[' Lines 31 to 155: Moved the commas that were in the start of the lines, to the end of the lines. Inserted spaces after the commas.

Re: [PATCH] Staging: ft1000: fixed a few styling issues

2013-11-04 Thread Aldo Iljazi
Dan Carpenter wrote: On Mon, Nov 04, 2013 at 02:15:22PM +0200, Aldo Iljazi wrote: Fixed the following styling issues: Line 30: Removed space before open square bracket '[' Lines 31 to 155: Moved the commas that were in the start of the lines, to the end of the lines.

Re: [PATCH] Staging: ft1000: fixed a few styling issues

2013-11-04 Thread Ondrej Zary
On Monday 04 November 2013, Aldo Iljazi wrote: Fixed the following styling issues: Line 30: Removed space before open square bracket '[' Lines 31 to 155: Moved the commas that were in the start of the lines, to the end of the lines. Inserted spaces after the commas. Inserted a one tab

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

2013-11-04 Thread Greg Kroah-Hartman
On Mon, Nov 04, 2013 at 05:04:11PM +1100, Stephen Rothwell wrote: Hi Ted, Today's linux-next merge of the random tree got a conflict in drivers/base/core.c between commit 63967685605b (driver core: add #include linux/sysfs.h to core files) from Linus' tree and commit f0ed2b943a53 (random:

[PATCH] drivers: xen-selfballoon: consider slab pages

2013-11-04 Thread Bob Liu
Currently the goal_page in xen-selfballon doesn't consider much about pages used in kernel space. A typical usage is slab pages, without consider slab pages the goal_page result may be too rough and lead extra memory pressure to guest os. Signed-off-by: Bob Liu bob@oracle.com ---

Re: [PATCH] PCI: Workaround missing pci_set_master in pci drivers

2013-11-04 Thread Paul Bolle
On Fri, 2013-10-04 at 09:55 -0600, Bjorn Helgaas wrote: On Thu, Oct 3, 2013 at 5:35 PM, Yinghai Lu ying...@kernel.org wrote: On Thu, Oct 3, 2013 at 3:06 PM, Bjorn Helgaas bhelg...@google.com wrote: On Sat, Sep 28, 2013 at 01:13:07PM -0700, Yinghai Lu wrote: @@ -1156,8 +1156,14 @@ static

Re: [PATCH 01/28] dmaengine: use DMA_COMPLETE for dma completion status

2013-11-04 Thread Sebastian Andrzej Siewior
On 30.10.13, Vinod Koul wrote: I fixed up the error with below, can you pls verify. Pls note this is compile tested only! I tested this and my mmc driver using edma via drivers/dma seems to work. Tested-by: Sebastian Andrzej Siewior bige...@linutronix.de However you missed one piece: CC [M]

[PATCH] Staging: dgnc: dgnc_cls.c: fixed a brace coding style issue

2013-11-04 Thread Simon Crequer
Fixed a coding style issue. Signed-off-by: Simon Crequer simoncreq...@gmail.com --- drivers/staging/dgnc/dgnc_cls.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/dgnc/dgnc_cls.c b/drivers/staging/dgnc/dgnc_cls.c index 117e158..357d000 100644 ---

Re: [PATCH] Staging: ft1000: fixed a few styling issues

2013-11-04 Thread Dan Carpenter
On Mon, Nov 04, 2013 at 01:32:20PM +0100, Ondrej Zary wrote: Shouldn't this be removed from the code, converted to a binary file and loaded by the kernel firmware loader instead? I have no idea. We may as well apply this and do that later unless someone wants to jump on it before 3.13-rc1

Re: [PATCH] efi earlyprintk fix

2013-11-04 Thread Dave Young
On 11/04/13 at 10:37am, Matt Fleming wrote: On Sun, 03 Nov, at 08:16:47PM, Dave Young wrote: there's below one line shift problem: ACPI=0xdabfe000 ACPI 2.0=0xdabfe014 SMBIOS=0xdaa9e000 [0.00] efi: In fact check efi_y and the lfb_height should be

[PATCH] block: Do not call sector_div() with a 64-bit divisor

2013-11-04 Thread Geert Uytterhoeven
do_div() (called by sector_div() if CONFIG_LBDAF=y) is meant for divisions of 64-bit number by 32-bit numbers. Passing 64-bit divisor types caused issues in the past on 32-bit platforms, cfr. commit ea077b1b96e073eac5c3c5590529e964767fc5f7 (m68k: Truncate base in do_div()). As

Re: [PATCH RFC 1/4] phy: Add new Exynos5 USB 3.0 PHY driver

2013-11-04 Thread Kishon Vijay Abraham I
On Monday 04 November 2013 05:56 PM, Tomasz Figa wrote: Hi Kishon, On Monday 04 of November 2013 12:24:42 Kishon Vijay Abraham I wrote: Hi Vivek, On Thursday 31 October 2013 01:15 PM, Vivek Gautam wrote: Add a new driver for the USB 3.0 PHY on Exynos5 series of SoCs. The new driver uses the

Re: [PATCH RFC 1/4] phy: Add new Exynos5 USB 3.0 PHY driver

2013-11-04 Thread Kishon Vijay Abraham I
Hi, On Monday 04 November 2013 03:45 PM, Kamil Debski wrote: Hi Kishon, From: Kishon Vijay Abraham I [mailto:kis...@ti.com] Sent: Monday, November 04, 2013 7:55 AM Hi Vivek, On Thursday 31 October 2013 01:15 PM, Vivek Gautam wrote: Add a new driver for the USB 3.0 PHY on Exynos5 series of

Re: [PATCH 3/3] ACPI / hotplug: Merge device hot-removal routines

2013-11-04 Thread Rafael J. Wysocki
On Monday, November 04, 2013 01:21:46 AM Rafael J. Wysocki wrote: From: Rafael J. Wysocki rafael.j.wyso...@intel.com The only substantial difference between acpi_bus_device_eject() and acpi_bus_hot_remove_device() is the get_device() done by the former which is supposed to be done by callers

Re: linux-next: manual merge of the dt-rh tree with the imx-mxs tree

2013-11-04 Thread Shawn Guo
On Mon, Nov 04, 2013 at 03:27:39PM +1100, Stephen Rothwell wrote: Hi Rob, Today's linux-next merge of the dt-rh tree got a conflict in Documentation/devicetree/bindings/vendor-prefixes.txt between commit 064d7f6c985a (ARM: dts: Add vendor prefix for Voipac Technologies s.r.o) from the

Re: [patch] quota: info leak in quota_getquota()

2013-11-04 Thread Jan Kara
On Fri 01-11-13 13:21:54, Dan Carpenter wrote: The if_dqblk struct has a 4 byte hole at the end of the struct so uninitialized stack information is leaked to user space. Signed-off-by: Dan Carpenter dan.carpen...@oracle.com Thanks. I've merged the patch into my tree.

Re: [RFC/PATCHSET 00/14] perf report: Add support to accumulate hist periods (v2)

2013-11-04 Thread Frederic Weisbecker
On Thu, Oct 31, 2013 at 09:09:32AM +0100, Ingo Molnar wrote: * Namhyung Kim namhy...@kernel.org wrote: When the -g cumulative option is given, it'll be shown like this: $ perf report -g cumulative --stdio # Overhead Overhead (Acc) Command Shared Object

[Update][PATCH 5/6] ACPI / hotplug: Make acpi_bus_hot_remove_device() internal

2013-11-04 Thread Rafael J. Wysocki
From: Rafael J. Wysocki rafael.j.wyso...@intel.com Notice that handle_root_bridge_removal() is the only user of acpi_bus_hot_remove_device(), so it doesn't have to be exported any more and can be made internal to the ACPI core. Signed-off-by: Rafael J. Wysocki rafael.j.wyso...@intel.com ---

[Update][PATCH 6/6] ACPI / hotplug: Merge device hot-removal routines

2013-11-04 Thread Rafael J. Wysocki
From: Rafael J. Wysocki rafael.j.wyso...@intel.com There is no real reasn why acpi_bus_device_eject() and acpi_bus_hot_remove_device() should work differently, so rework acpi_bus_device_eject() so that it can be called internally by both acpi_bus_hot_remove_device() and acpi_eject_store_work().

[Update][PATCH 0/6] ACPI scan and hotplug fixes

2013-11-04 Thread Rafael J. Wysocki
On Monday, November 04, 2013 01:17:12 AM Rafael J. Wysocki wrote: Hi, The following three patches fix some issues that we have in the common ACPI hotplug infrastructure. If anyone sees any problems with them, please let me know. Well, the last patch from the last version didn't really do

[Update][PATCH 3/6] ACPI / hotplug: Fix handle_root_bridge_removal()

2013-11-04 Thread Rafael J. Wysocki
From: Rafael J. Wysocki rafael.j.wyso...@intel.com It is required to do get_device() on the struct acpi_device in question before passing it to acpi_bus_hot_remove_device() through acpi_os_hotplug_execute(), because acpi_bus_hot_remove_device() calls acpi_scan_hot_remove() that does put_device()

[Update][PATCH 4/6] ACPI / hotplug: Simplify device ejection routines

2013-11-04 Thread Rafael J. Wysocki
From: Rafael J. Wysocki rafael.j.wyso...@intel.com Simplify handle_root_bridge_removal() and acpi_eject_store() by getting rid of struct acpi_eject_event and passing device objects directly to async routines executed via acpi_os_hotplug_execute(). Signed-off-by: Rafael J. Wysocki

[Update][PATCH 2/6] ACPI / hotplug: Refuse to hot-remove all objects with disabled hotplug

2013-11-04 Thread Rafael J. Wysocki
From: Rafael J. Wysocki rafael.j.wyso...@intel.com In theory, an ACPI device object may be the parent of another device object whose hotplug is disabled by user space thorugh its scan handler. In that case, the eject operation targeting the parent should fail as though the parent's own hotplug

[Update][PATCH 1/6] ACPI / scan: Start matching drivers after trying scan handlers

2013-11-04 Thread Rafael J. Wysocki
From: Rafael J. Wysocki rafael.j.wyso...@intel.com ACPI scan handlers should always be attached to struct acpi_device objects before any ACPI drivers, but there is a window during which a driver may be attached to a struct acpi_device before checking if there is a matching scan handler. Namely,

Re: [RFC/PATCHSET 00/14] perf report: Add support to accumulate hist periods (v2)

2013-11-04 Thread Frederic Weisbecker
On Fri, Nov 01, 2013 at 03:48:37PM +0900, Namhyung Kim wrote: Hi Ingo, On Thu, 31 Oct 2013 09:09:32 +0100, Ingo Molnar wrote: * Namhyung Kim namhy...@kernel.org wrote: When the -g cumulative option is given, it'll be shown like this: $ perf report -g cumulative --stdio #

[PATCH] FS: BTRFS: fixed coding style issues

2013-11-04 Thread Aldo Iljazi
Fixed three coding style issues. Replaced spaces with tabs. Signed-off-by: Aldo Iljazi m...@aldo.io --- fs/btrfs/dev-replace.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fs/btrfs/dev-replace.c b/fs/btrfs/dev-replace.c index 9efb94e..b2fe609 100644 ---

Re: [RFC/PATCHSET 00/14] perf report: Add support to accumulate hist periods (v2)

2013-11-04 Thread Frederic Weisbecker
On Thu, Oct 31, 2013 at 09:09:32AM +0100, Ingo Molnar wrote: * Namhyung Kim namhy...@kernel.org wrote: When the -g cumulative option is given, it'll be shown like this: $ perf report -g cumulative --stdio # Overhead Overhead (Acc) Command Shared Object

[PATCH] FS: BTRFS: fixed a styling issue

2013-11-04 Thread Aldo Iljazi
Line 363: Added a space before the open parenthesis. Signed-off-by: Aldo Iljazi m...@aldo.io --- fs/btrfs/compression.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/btrfs/compression.c b/fs/btrfs/compression.c index 6aad98c..91338d2 100644 --- a/fs/btrfs/compression.c

RE: linux-next: build warning after merge of the infiniband tree

2013-11-04 Thread Marciniszyn, Mike
This issue was caught by Tetsuo Handa and Acked on 10/30: http://marc.info/?t=13831336458r=1w=2. Roland, I noticed that the Tetsuo's original message didn't cc the linux-rdma list? Mike -Original Message- From: Stephen Rothwell [mailto:s...@canb.auug.org.au] Sent: Sunday,

Re: [PATCH] phy: Add MOXA RTL8201CP PHY support

2013-11-04 Thread Jonas Jensen
some difficulties (I'll explain below). It seemed to be what I want and is wrapped with EXPORT_SYMBOL(). However, as of next-20131104 I don't see how this works for DT probed devices (those that set PHY_IGNORE_INTERRUPT). As I tried to explain in my comment, of_mdiobus_register() assigns PHY_POLL

Re: [PATCH] USB: ehci-atmel: add usb_clk for transition to CCF

2013-11-04 Thread Nicolas Ferre
On 18/10/2013 21:26, Boris BREZILLON : The AT91 PMC (Power Management Controller) provides a USB clock used by the different USB controllers (ehci, ohci and udc). The atmel-ehci driver must configure the usb clock rate to 48Mhz in order to get a fully functionnal USB host controller. This

Re: [PATCH v3 4/7] ARM: at91/dt: define sama5d3 clocks

2013-11-04 Thread Nicolas Ferre
On 18/10/2013 23:48, Boris BREZILLON : Define sama5d3 clocks in sama5d3 device tree. Add references to the appropriate clocks in each peripheral. Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com --- Changes since v2: - add usb_clk to usb ehci controller node Yes. Tested and it works

Re: [PATCH] x86: Allow NR_CPUS=1024

2013-11-04 Thread Josh Boyer
On Mon, Nov 04, 2013 at 07:53:43AM +0100, Ingo Molnar wrote: * Josh Boyer jwbo...@redhat.com wrote: On Sun, Nov 03, 2013 at 11:21:32AM +0100, Ingo Molnar wrote: * Ingo Molnar mi...@kernel.org wrote: * Josh Boyer jwbo...@redhat.com wrote: The current range for

Re: [PATCH] x86: Allow NR_CPUS=1024

2013-11-04 Thread Ingo Molnar
* Josh Boyer jwbo...@redhat.com wrote: Why touch MAXSMP at all? It's really just a shortcut for 'configure the kernel silly large', via a single option, nothing else. You are not forced to use it and it should not affect configurability of NR_CPUS. What we _really_ want here is to

Re: linux-next: manual merge of the dt-rh tree with the imx-mxs tree

2013-11-04 Thread Rob Herring
On 11/04/2013 07:17 AM, Shawn Guo wrote: On Mon, Nov 04, 2013 at 03:27:39PM +1100, Stephen Rothwell wrote: Hi Rob, Today's linux-next merge of the dt-rh tree got a conflict in Documentation/devicetree/bindings/vendor-prefixes.txt between commit 064d7f6c985a (ARM: dts: Add vendor prefix for

Re: [PATCH] x86: Allow NR_CPUS=1024

2013-11-04 Thread Josh Boyer
On Mon, Nov 04, 2013 at 03:10:51PM +0100, Ingo Molnar wrote: * Josh Boyer jwbo...@redhat.com wrote: Why touch MAXSMP at all? It's really just a shortcut for 'configure the kernel silly large', via a single option, nothing else. You are not forced to use it and it should not affect

Re: [PATCH] mm: cache largest vma

2013-11-04 Thread Frederic Weisbecker
On Mon, Nov 04, 2013 at 08:05:00AM +0100, Ingo Molnar wrote: * Davidlohr Bueso davidl...@hp.com wrote: Btw, do you suggest using a high level tool such as perf for getting this data or sprinkling get_cycles() in find_vma() -- I'd think that the first isn't fine grained enough, while

Greetings from Kabul

2013-11-04 Thread james
Hello, I am Cpt. James Hans an officer of the U.S Army, serving with the 82nd Airborne Division Peace keeping force in Kabul, Afghanistan. We are currently in Afghanistan and I have some important items that i need to ship to you. I need you to reply only if you are interested. I will

Re: [PATCH 2/8] trace/trace_stat: use rbtree postorder iteration helper instead of opencoding

2013-11-04 Thread Steven Rostedt
On Mon, 04 Nov 2013 00:49:21 -0800 Cody P Schafer c...@linux.vnet.ibm.com wrote: On 11/01/2013 07:45 PM, Steven Rostedt wrote: On Fri, 1 Nov 2013 15:38:46 -0700 Cody P Schafer c...@linux.vnet.ibm.com wrote: Use rbtree_postorder_for_each_entry_safe() to destroy the rbtree instead of

Re: [PATCH net-next 13/13] scripts/checkpatch.pl: Add dev_kfree_skb*(NULL) check to checkpatch

2013-11-04 Thread Joe Perches
On Sat, 2013-11-02 at 19:17 +0530, Govindarajulu Varadarajan wrote: Signed-off-by: Govindarajulu Varadarajan govindarajul...@gmail.com [] diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl [] @@ -3719,7 +3719,7 @@ sub process { # check for needless if (foo) fn(foo) uses

Re: [crc32] INFO: rcu_sched self-detected stall on CPU { 0} (t=2101 jiffies g=4294967081 c=4294967080 q=41)

2013-11-04 Thread Daniel Borkmann
5e01dc7b26d9f24f39abace5da98ccbd6a5ceb52 # 21:30 69+ 0 Linux 3.12 git bisect good e3ad71f5e8b6e700a38d5a0da12b29d53600e65e # 21:34 60+ 0 Add linux-next specific files for 20131104 Thanks, Fengguang ___ LKP mailing list l

Re: [PATCH 6/8] fs/ext3: use rbtree postorder iteration helper instead of opencoding

2013-11-04 Thread Jan Kara
On Fri 01-11-13 15:38:50, Cody P Schafer wrote: Use rbtree_postorder_for_each_entry_safe() to destroy the rbtree instead of opencoding an alternate postorder iteration that modifies the tree Thanks. I've merged the patch into my tree.

Re: [PATCH 10/13] tracing/uprobes: Fetch args before reserving a ring buffer

2013-11-04 Thread Oleg Nesterov
Hi Namhyung, On 11/04, Namhyung Kim wrote: + if (atomic_dec_and_test(uprobe_buffer_ref)) { + free_percpu(uprobe_cpu_buffer); + uprobe_cpu_buffer = NULL; + } + WARN_ON(!uprobe_filter_is_empty(tu-filter)); Do we really need atomic_t?

Re: linux-next: manual merge of the dt-rh tree with the imx-mxs tree

2013-11-04 Thread Shawn Guo
On Mon, Nov 04, 2013 at 08:15:50AM -0600, Rob Herring wrote: On 11/04/2013 07:17 AM, Shawn Guo wrote: On Mon, Nov 04, 2013 at 03:27:39PM +1100, Stephen Rothwell wrote: Hi Rob, Today's linux-next merge of the dt-rh tree got a conflict in

Re: [PATCH 10/13] tracing/uprobes: Fetch args before reserving a ring buffer

2013-11-04 Thread Oleg Nesterov
On 11/04, Namhyung Kim wrote: On Sun, 3 Nov 2013 21:20:37 +0100, Oleg Nesterov wrote: But. Perhaps it makes sense to at least add a couple of trivial helpers in 10/13? Something like arg_buf_get/put/init, just to simplify the potential changes. Good idea. How about something like

Western Union Agent: Mr.Larry John

2013-11-04 Thread Mr. terry hank
This is very urgent from Western Union, our Operation manager has sent your 1st payment of $5000.00 out of your total amount of $1.5million dollar and we needed this from you to complete the ransfer, You’ re Name,Address, ID CARD and Telephone No: Noted That Only Fee Request from You Is

Re: [PATCH v5 1/4] i2c: busses: i2c-st: Add ST I2C controller

2013-11-04 Thread Maxime Coquelin
Hi Wolfram, On 11/01/2013 12:16 PM, Wolfram Sang wrote: Hi, ... diff --git a/Documentation/devicetree/bindings/i2c/i2c-st.txt b/Documentation/devicetree/bindings/i2c/i2c-st.txt new file mode 100644 index 000..8b2fd0b --- /dev/null +++ b/Documentation/devicetree/bindings/i2c/i2c-st.txt

Re: [PATCH] x86, kdump: crashkernel=X try to reserve below 896M first, then try below 4G, then MAXMEM

2013-11-04 Thread WANG Chao
On 10/28/13 at 11:12am, Vivek Goyal wrote: On Thu, Oct 24, 2013 at 10:48:29PM -0700, Yinghai Lu wrote: On Thu, Oct 24, 2013 at 12:27 PM, Vivek Goyal vgo...@redhat.com wrote: On Thu, Oct 24, 2013 at 12:24:57PM -0700, Yinghai Lu wrote: On Thu, Oct 24, 2013 at 12:18 PM, Vivek Goyal

Re: linux-next: manual merge of the dt-rh tree with the imx-mxs tree

2013-11-04 Thread Rob Herring
On 11/04/2013 08:36 AM, Shawn Guo wrote: On Mon, Nov 04, 2013 at 08:15:50AM -0600, Rob Herring wrote: On 11/04/2013 07:17 AM, Shawn Guo wrote: On Mon, Nov 04, 2013 at 03:27:39PM +1100, Stephen Rothwell wrote: Hi Rob, Today's linux-next merge of the dt-rh tree got a conflict in

Re: [PATCH v4 2/4] perf stat: add event unit and scale support

2013-11-04 Thread Jiri Olsa
On Mon, Nov 04, 2013 at 03:47:53PM +0100, Stephane Eranian wrote: Jiri, Thanks for the patch. I tested it and it works fine. I will merge it with my unit and scale and add your Signed-off-by. Is that okay with you? sure, np jirka -- To unsubscribe from this list: send the line

Re: [PATCH] score: remove unused CPU_SCORE7 Kconfig parameter

2013-11-04 Thread Lennox Wu
Hi Michael, We have another processor, the parameter will be used to differentiate the different processors. Anyway, thank you. :) Best, Lennox 2013/11/4 Michael Opdenacker michael.opdenac...@free-electrons.com: This removes the CPU_SCORE7 Kconfig parameter, which was no longer used anywhere

Re: [PATCH] x86: Allow NR_CPUS=1024

2013-11-04 Thread Prarit Bhargava
On 11/04/2013 09:16 AM, Josh Boyer wrote: On Mon, Nov 04, 2013 at 03:10:51PM +0100, Ingo Molnar wrote: * Josh Boyer jwbo...@redhat.com wrote: Why touch MAXSMP at all? It's really just a shortcut for 'configure the kernel silly large', via a single option, nothing else. You are not

Re: [PATCH] mm: cache largest vma

2013-11-04 Thread Michel Lespinasse
On Sun, Nov 3, 2013 at 11:36 PM, Ingo Molnar mi...@kernel.org wrote: So I think it all really depends on the hit/miss cost difference. It makes little sense to add a more complex scheme if it washes out most of the benefits! Also note the historic context: the _original_ mmap_cache, that I

Re: [GIT PULL] Remove h8300 platform support

2013-11-04 Thread Guenter Roeck
On Mon, Nov 04, 2013 at 09:27:27AM +0100, Geert Uytterhoeven wrote: Hi Günther, On Sun, 3 Nov 2013, Guenter Roeck wrote: Drop MAINTAINERS entry for H8/300 Can you please add the following patch, or fold it into the above one? I added it. I did not move the label yet, though;

Re: [PATCH v4 2/4] perf stat: add event unit and scale support

2013-11-04 Thread Stephane Eranian
Jiri, Thanks for the patch. I tested it and it works fine. I will merge it with my unit and scale and add your Signed-off-by. Is that okay with you? On Fri, Nov 1, 2013 at 11:57 AM, Jiri Olsa jo...@redhat.com wrote: On Thu, Oct 31, 2013 at 03:59:40PM +0100, Stephane Eranian wrote: This

Re: [PATCH] s390: remove unused Kconfig parameters

2013-11-04 Thread Michael Opdenacker
Hi Heiko, Thank you for reviewing my patch! On 11/04/2013 12:08 PM, Heiko Carstens wrote: On Mon, Nov 04, 2013 at 10:43:39AM +0100, Michael Opdenacker wrote: This removes the HAVE_MARCH_Z900_FEATURES and HAVE_MARCH_Z990_FEATURES Kconfig parameters, which were no longer used anywhere in the

Re: BUG: mm, numa: test segfaults, only when NUMA balancing is on

2013-11-04 Thread Mel Gorman
On Wed, Oct 16, 2013 at 10:54:29AM -0500, Alex Thorlton wrote: Hi guys, I ran into a bug a week or so ago, that I believe has something to do with NUMA balancing, but I'm having a tough time tracking down exactly what is causing it. When running with the following configuration options

<    6   7   8   9   10   11   12   >