Re: [PATCH 8/9] target: Add support for COMPARE_AND_WRITE emulation

2013-08-21 Thread Christoph Hellwig
I don't like the layering here. The re-execution of the same command for both reading and writing the data from/to the backend device already looks sketchy here due to doubling work of task attribute handling, the various state bits, etc. And it will only get more complicated when the required lo

pull request: bluetooth-next 2013-08-21

2013-08-21 Thread Gustavo Padovan
Hi John, Patches to 3.12, here we have: * implementation of a proper tty_port for RFCOMM devices, this fixes some issues people were seeing lately in the kernel. * Add voice_setting option for SCO, it is used for SCO Codec selection * bugfixes, small improvements and clean ups Please pull, Thank

Re: [Device-tree] mailing list responsiveness and discoverability

2013-08-21 Thread Stephen Warren
On 08/20/2013 08:25 PM, Brian Norris wrote: > Hello device tree maintainers, > > I (sub)maintain the Linux MTD subsystem and hang out on the > linux-...@infradead.org mailing list. I have been seeing an increasing > number of submissions that involve device-tree changes. Many of these > changes ar

Re: [PATCH V2] drivers: regmap: regcache-rbtree.c: Fix overlapping rbnodes.

2013-08-21 Thread Mark Brown
On Wed, Aug 21, 2013 at 05:37:22PM +0200, David Jander wrote: > Avoid overlapping register regions by making the initial blklen of a new > node 1. If a register write occurs to a yet uncached register, that is > lower than but near an existing node's base_reg, a new node is created > and it's blkle

Re: ACPI vs Device Tree - moving forward

2013-08-21 Thread Matthew Garrett
On Wed, Aug 21, 2013 at 05:57:07PM +0200, Linus Walleij wrote: > - The I2C address is specified in "reg" - maybe ACPI have > some other way to assign I2C addresses to I2C devices? > In any case, it *must* reference the parent I2C controller, > here that is done implicitly by placing this DT

Re: [PATCH] mm, fs: avoid page allocation beyond i_size on read

2013-08-21 Thread Kirill A. Shutemov
Steven Whitehouse wrote: > Hi, > > On Wed, 2013-08-21 at 18:37 +0300, Kirill A. Shutemov wrote: > > I've noticed that we allocated unneeded page for cache on read beyond > > i_size. Simple test case (I checked it on ramfs): > > > > $ touch testfile > > $ cat testfile > > > > It triggers 'no_cach

[no subject]

2013-08-21 Thread gcb
My wife and I won the Euro Millions Lottery of 41 Million British Pounds and we have decided to donate 1.5 million British Pounds to 6 individuals worldwide as our own charity project. Your email address was among the emails which were submitted to us by the Google, Inc as a web user, which was

Re: [PATCH 9/9] tcm_qla2xxx: Add special case for COMPARE_AND_WRITE data_direction

2013-08-21 Thread Christoph Hellwig
On Wed, Aug 21, 2013 at 12:31:07AM -0700, Nicholas A. Bellinger wrote: > Is it really worth having two se_cmd_flags for COMPARE_AND_WRITE..? Not leaking the abstraction into the driver is always worth the effort. But looking at the other patches I haven't reviewed yet I think the issue is more se

Re: Regression: x86/mm: new _PTE_SWP_SOFT_DIRTY bit conflicts with existing use

2013-08-21 Thread Jan Beulich
>>> On 21.08.13 at 17:42, Cyrill Gorcunov wrote: > On Wed, Aug 21, 2013 at 03:53:36PM +0100, Jan Beulich wrote: >> >>> On 21.08.13 at 16:12, Cyrill Gorcunov wrote: >> > David, could you please explain, Xen keeps and analyze _PTE_PAT bit >> > for ptes which are not present? >> >> No, the problem

Re: [Ksummit-2013-discuss] [ARM ATTEND] catching up on exploit mitigations

2013-08-21 Thread Russell King - ARM Linux
On Wed, Aug 21, 2013 at 11:43:55AM -0400, Dave Jones wrote: > On Wed, Aug 21, 2013 at 04:26:14PM +0100, Russell King - ARM Linux wrote: > > I've been running several iterations of it for a while (== up to 10 minutes > > run time - which is normally about how long it takes to find the > rather-to

Re: [PATCH RT 0/3] hwlat-detector: Have it actually find hardware latency

2013-08-21 Thread Sebastian Andrzej Siewior
* Steven Rostedt | 2013-08-19 17:33:24 [-0400]: >Thi patch series fixes up hwlat-detector to check the entire path >of time for a latency being hit, instead of the quick check between >two time stamps. > >It also uses the trace_local_clock() if available, which is much lighter >weight than ktime_g

[PATCH] Adding proper request of GPIO used by cpm_uart driver

2013-08-21 Thread Christophe Leroy
cpm_uart serial driver uses GPIO for control signals. In order to be used properly, GPIOs have to be reserved. Comment in gpiolib.c considers illegal the use of GPIOs without requesting them. In addition, the direction of the GPIO has to be set properly. Signed-off-by: Christophe Leroy diff -ur

Re: [PATCH RFC v2 1/2] qspinlock: Introducing a 4-byte queue spinlock implementation

2013-08-21 Thread Alexander Fyodorov
21.08.2013, 07:01, "Waiman Long" : > On 08/20/2013 11:31 AM, Alexander Fyodorov wrote: >> Isn't a race possible if another thread acquires the spinlock in the window >> between setting lock->locked to 0 and issuing smp_wmb()? Writes from >> the critical section from our thread might be delayed beh

Re: [PATCH 2/4] pinmux: Add TB10x pinmux driver

2013-08-21 Thread Christian Ruppert
On Wed, Aug 14, 2013 at 06:53:56PM +0200, Linus Walleij wrote: > On Mon, Aug 5, 2013 at 1:51 PM, Christian Ruppert > wrote: > > [Me] > >> I don't see any of the port concept creeping into the device tree > >> in this version and that is how I think it should be kept: > >> the "port" particulars is

Re: ACPI vs Device Tree - moving forward

2013-08-21 Thread Linus Walleij
On Tue, Aug 20, 2013 at 11:11 PM, Rafael J. Wysocki wrote: > There's one more problematic case which is that some systems ship with ACPI > tables that don't contain all of the information necessary to enumerate > hardware appropriately and it's difficult, if not impossible, to convince > the vend

Re: linux-next: build failure after merge of the final tree

2013-08-21 Thread Ben Myers
Hey Dwight, On Wed, Aug 21, 2013 at 02:30:04PM +0800, Jeremy Kerr wrote: > > Yes, I agree. The other filesystems that take an Opt_uid as well do use > > current_user_ns() and not init_user_ns. They also do a uid_valid() > > check and fail the mount (or fallback to GLOBAL_ROOT_UID). So I think > >

Re: linux-next: build failure after merge of the final tree

2013-08-21 Thread Ben Myers
Hey Stephen, On Wed, Aug 21, 2013 at 10:22:46AM +1000, Stephen Rothwell wrote: > On Tue, 20 Aug 2013 14:28:44 -0500 Ben Myers wrote: > > I'd prefer not to break Stephen's tree two days in a row. We could just > > revert > > d6970d4b726c in the xfs tree for the time being as Stephen has done, bu

Re: [PATCH 9/9] tcm_qla2xxx: Add special case for COMPARE_AND_WRITE data_direction

2013-08-21 Thread Christoph Hellwig
On Wed, Aug 21, 2013 at 07:38:21AM -0700, Roland Dreier wrote: > I don't understand this. In fact the whole patch series looks quite > confused. COMPARE AND WRITE is a normal Data-Out command, with no > requirement for special bidirectional handling or anything like that. > The only slightly unus

Re: linux-next: build failure after merge of the aio tree

2013-08-21 Thread Dave Kleikamp
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Stephen, There's another problem after the merge. Now that buf is passed into aio_run_iocb(), ki_iter is no longer needed. It's not getting initialized and causes an oops. Signed-off-by: Dave Kleikamp - --- fs/aio.c| 4 ++-- include/lin

Re: [PATCH] mm, fs: avoid page allocation beyond i_size on read

2013-08-21 Thread Steven Whitehouse
Hi, On Wed, 2013-08-21 at 18:37 +0300, Kirill A. Shutemov wrote: > I've noticed that we allocated unneeded page for cache on read beyond > i_size. Simple test case (I checked it on ramfs): > > $ touch testfile > $ cat testfile > > It triggers 'no_cached_page' code path in do_generic_file_read().

Re: [Ksummit-2013-discuss] [ARM ATTEND] catching up on exploit mitigations

2013-08-21 Thread Dave Jones
On Wed, Aug 21, 2013 at 04:26:14PM +0100, Russell King - ARM Linux wrote: > On Wed, Jul 31, 2013 at 10:24:30AM -0400, Dave Jones wrote: > > On Wed, Jul 31, 2013 at 10:40:12AM +0100, Russell King - ARM Linux wrote: > > > On Tue, Jul 30, 2013 at 08:04:44PM -0400, Dave Jones wrote: > > > > To us

Re: Regression: x86/mm: new _PTE_SWP_SOFT_DIRTY bit conflicts with existing use

2013-08-21 Thread Cyrill Gorcunov
On Wed, Aug 21, 2013 at 03:53:36PM +0100, Jan Beulich wrote: > >>> On 21.08.13 at 16:12, Cyrill Gorcunov wrote: > > On Wed, Aug 21, 2013 at 02:48:20PM +0100, David Vrabel wrote: > >> All, > >> > >> 179ef71c (mm: save soft-dirty bits on swapped pages) introduces a new > >> PTE bit on x86 _PTE_SWP_

[PATCH v2 1/3] HID: Use hid_parser for pre-scanning the report descriptors

2013-08-21 Thread Benjamin Tissoires
hid_scan_report() implements its own HID report descriptor parsing. It is going to be really bad with the detection of Win 8 certified touchscreen, as this detection relies on a special feature and on the report_size and report_count fields. We can use the existing HID parser in hid-core for hid_s

[PATCH v2 0/3] HID: Win 8 multitouch panels detection in core

2013-08-21 Thread Benjamin Tissoires
Hi guys, this is the v2 of the rework of the pre-scanning of the hid report descriptors. This allows us to be able to detect Win 8 multitouch panels. I tried to take into account all of the previous reviews, and I think the patch series is in a better shape now. Alexander, Srinivas, could you ple

Re: [PATCH] iio: adc: Add bindigs documentation for twl6030 GPADC

2013-08-21 Thread Guenter Roeck
On Wed, Aug 21, 2013 at 10:14:51AM +0100, Mark Rutland wrote: > On Tue, Aug 20, 2013 at 04:34:56PM +0100, Guenter Roeck wrote: > > On Tue, Aug 20, 2013 at 10:12:28AM +0100, Mark Rutland wrote: > > > Hi Oleksandr, > > > > > > [Adding Jonathan Cameron and Guenter Roeck to Cc] > > > > > > Apologies

[PATCH v2 2/3] HID: detect Win 8 multitouch devices in core

2013-08-21 Thread Benjamin Tissoires
Detecting Win 8 multitouch devices in core allows us to set quirks before the device is parsed through hid_hw_start(). It also simplifies the detection of those devices in hid-multitouch and makes the handling of those devices cleaner. As Win 8 multitouch panels are in the group multitouch and rel

[PATCH v2 3/3] HID: do not init input reports for Win 8 multitouch devices

2013-08-21 Thread Benjamin Tissoires
Some multitouch screens do not like to be polled for input reports. However, the Win8 spec says that all touches should be sent during each report, making the initialization of reports unnecessary. The Win7 spec is less precise, so do not use this for those devices. Add the quirk HID_QUIRK_NO_INIT

Re: [sched next] overflowed cpu time for kernel threads in /proc/PID/stat

2013-08-21 Thread Sergey Senozhatsky
On (08/20/13 17:42), Frederic Weisbecker wrote: > On Tue, Aug 20, 2013 at 06:35:50PM +0300, Sergey Senozhatsky wrote: > > On (08/20/13 17:15), Frederic Weisbecker wrote: > > > On Tue, Aug 20, 2013 at 02:14:26PM +0300, Sergey Senozhatsky wrote: > > > Hello, > > > > > > Please upload your config. >

[PATCH] mm, fs: avoid page allocation beyond i_size on read

2013-08-21 Thread Kirill A. Shutemov
I've noticed that we allocated unneeded page for cache on read beyond i_size. Simple test case (I checked it on ramfs): $ touch testfile $ cat testfile It triggers 'no_cached_page' code path in do_generic_file_read(). Looks like it's regression since commit a32ea1e. Let's fix it. Signed-off-by:

[PATCH V2] drivers: regmap: regcache-rbtree.c: Fix overlapping rbnodes.

2013-08-21 Thread David Jander
Avoid overlapping register regions by making the initial blklen of a new node 1. If a register write occurs to a yet uncached register, that is lower than but near an existing node's base_reg, a new node is created and it's blklen is set to an arbitrary value (sizeof(*rbnode)). That may cause this

Re: [PATCH 0/8] x86, acpi: Move acpi_initrd_override() earlier.

2013-08-21 Thread Tejun Heo
Hello, On Wed, Aug 21, 2013 at 11:00:26PM +0800, Zhang Yanfei wrote: > In current boot order, before we get the SRAT, we have a big consumer of early > allocations: we are setting up the page table in top-down (The idea was > proposed by HPA, > Link: https://lkml.org/lkml/2012/10/4/701). That sai

Re: [Ksummit-2013-discuss] [ARM ATTEND] catching up on exploit mitigations

2013-08-21 Thread Russell King - ARM Linux
On Wed, Jul 31, 2013 at 10:24:30AM -0400, Dave Jones wrote: > On Wed, Jul 31, 2013 at 10:40:12AM +0100, Russell King - ARM Linux wrote: > > On Tue, Jul 30, 2013 at 08:04:44PM -0400, Dave Jones wrote: > > > To use ARM as an example, the bugs I've seen have mostly been in arch > specific > > > co

Re: [PATCH v2 2/5] devicetree: serial: Document msm_serial bindings

2013-08-21 Thread Kumar Gala
On Aug 21, 2013, at 1:48 AM, Stephen Boyd wrote: > The msm serial device bindings were added to the DTS files but > never documented. Let's document them now and also fix things up > so that it's clearer what hardware is supported. Instead of using > hsuart (for high speed uart), let's use uartdm

Re: [PATCH] drivers: regmap: bugfix in regcache-rbtree.c

2013-08-21 Thread Mark Brown
On Wed, Aug 21, 2013 at 05:08:46PM +0200, David Jander wrote: > This looks better. Not ideal still, but at least the codec works! > Should I re-send a patch with this fix? Yes, it's not the fix we actually want (we want to be merging blocks) isn't going to be suitable for a bug fix - ideally I'l

[PATCH 5/5] blk-mq: Lower minimum queue depth from 4 to 1

2013-08-21 Thread Alexander Gordeev
There is no reason to limit minimum queue depth. Indeed, some ATA devices ask for the depth of 1. Signed-off-by: Alexander Gordeev --- block/blk-mq-tag.c |2 +- block/blk-mq-tag.h |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/block/blk-mq-tag.c b/block/blk-mq-tag.

[PATCH 4/5] blk-mq: Do not fail blk_mq_reg::queue_depth value of zero

2013-08-21 Thread Alexander Gordeev
Zero value of blk_mq_reg::queue_depth defaults to BLK_MQ_MAX_DEPTH. Commit 1ffd49b ("blk-mq: Check queue depth is valid") broke this default. This fix restores the previous behaviour. Signed-off-by: Alexander Gordeev --- block/blk-mq.c |6 -- 1 files changed, 4 insertions(+), 2 deletions

Re: [PATCH] ftrace: add tgid information in task switch event.

2013-08-21 Thread Peter Zijlstra
On Wed, Aug 21, 2013 at 11:09:44AM -0400, Steven Rostedt wrote: > > From: Jiejing Zhang > > > > ftrace only report pid in task switch event, which is > > actually thread ID in user space view, the comm of > > the thread will be like "Thread-1", "Compiler", etc > > in android system, it's useful i

Charity Project

2013-08-21 Thread Gareth and Catherine Bull
My wife and I won the Euro Millions Lottery of 41 Million British Pounds and we have decided to donate 1.5 million British Pounds to 10 individuals worldwide as our own charity project. To verify,please see our interview by visiting the web page below: http://www.dailymail.co.uk/news/article-20911

Re: [PATCH 2/2] mm: add overcommit_kbytes sysctl variable

2013-08-21 Thread Jerome Marchand
On 08/19/2013 06:55 PM, Dave Hansen wrote: > On 08/19/2013 08:17 AM, Jerome Marchand wrote: >> Some applications that run on HPC clusters are designed around the >> availability of RAM and the overcommit ratio is fine tuned to get the >> maximum usage of memory without swapping. With growing memory

[PATCH] of: add vendor prefix for Microchip Technology Inc

2013-08-21 Thread Lars Poeschel
Trivial patch to add Microchip Technology Inc. to the list of devicetree vendor prefixes, as it is already used in Documentation/devicetree/bindings/gpio/gpio-mcp23s08.txt Signed-off-by: Lars Poeschel --- Documentation/devicetree/bindings/vendor-prefixes.txt |1 + 1 file changed, 1 insertion

[GIT PULL] (xen) stable/for-jens-3.12 for Linux 3.12 merge window.

2013-08-21 Thread Konrad Rzeszutek Wilk
Hey Jens, Please git pull the following branch for your 3.12 tree: git pull git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip.git stable/for-jens-3.12 It has two fixes to the xen-blkfront driver - both deal with the indirect requests and make better usage of the persistent grants. Pleas

Re: [PATCH v5 0/4] mmc: dw_mmc: fixes for suspend/resume on exynos

2013-08-21 Thread Doug Anderson
Seungwon, On Wed, Aug 21, 2013 at 4:48 AM, Seungwon Jeon wrote: > Hi Doug, > Do you have any update for this series? > Please let me know. Thank you for the ping. The changes requested looked big enough that I knew I was going to have to devote some time to looking this all over again, which I

Re: [PATCH] ftrace: add tgid information in task switch event.

2013-08-21 Thread Steven Rostedt
This patch needs to be decided by Peter. Also, the subject should not read "ftrace:" it should have "sched:" as tracepoints are the property of the subsystem they exist in, not the tracing facility itself, as it's not just ftrace that uses tracepoints. -- Steve On Wed, 21 Aug 2013 15:05:20 +000

[PATCH] math64: New separate div64_u64_rem helper

2013-08-21 Thread Mike Snitzer
Commit f792685006274a850e6cc0ea9ade275ccdfc90bc ("math64: New div64_u64_rem helper") implemented div64_u64 in terms of div64_u64_rem. But div64_u64_rem was removed because it slowed down div64_u64 (and there were no other users of div64_u64_rem). Device Mapper's I/O statistics support has a need f

Re: [PATCH] drivers: regmap: bugfix in regcache-rbtree.c

2013-08-21 Thread David Jander
On Wed, 21 Aug 2013 15:44:42 +0100 Mark Brown wrote: > On Wed, Aug 21, 2013 at 04:21:43PM +0200, David Jander wrote: > > > I hope you can explain to me how regcache_rbtree_node_alloc() is supposed > > to work, because I start to think that something in there is broken... > > Specially the code a

Re: [PATCH RFC net-next] net: epoll support for busy poll

2013-08-21 Thread Eliezer Tamir
On 21/08/2013 16:53, Eric Dumazet wrote: > On Wed, 2013-08-21 at 13:39 +0300, Eliezer Tamir wrote: > >> >> Instead of remembering the napi_id for all the sockets in an epoll, >> we only track the first socket we see with any unique napi_id. >> The rational for this is that while there may be many

Re: [PATCH 5/8] x86, brk: Make extend_brk() available with va/pa.

2013-08-21 Thread H. Peter Anvin
Konrad Rzeszutek Wilk wrote: >On Wed, Aug 21, 2013 at 02:35:36PM +0200, H. Peter Anvin wrote: >> Global symbols are inaccessible in physical mode. > >Even if they are embedded in the assembler code and use >GLOBAL(paging_enabled) ? Yes, because the address is different in physical mode. Think

Re: [PATCH v2] dm ioctl: allow change device target type to error

2013-08-21 Thread Mike Snitzer
On Wed, Aug 21 2013 at 10:48am -0400, Mikulas Patocka wrote: > > > On Wed, 21 Aug 2013, Joe Jin wrote: > > > commit a5664da "dm ioctl: make bio or request based device type immutable" > > prevented "dmsetup wape_table" change the target type to "error". > > That commit a5664da is there for a

[PATCH 4/8] zfcp: fix lock imbalance by reworking request queue locking

2013-08-21 Thread Steffen Maier
From: Martin Peschke This patch adds wait_event_interruptible_lock_irq_timeout(), which is a straight-forward descendant of wait_event_interruptible_timeout() and wait_event_interruptible_lock_irq(). The zfcp driver used to call wait_event_interruptible_timeout() in combination with some intrica

[GIT PULL] at91: device tree update for 3.12 #1

2013-08-21 Thread Nicolas Ferre
Arnd, Olof, Kevin, Here is the first pull request about DT on AT91 for 3.12. It is based on 3.11-rc5 as I saw that the branch is coming from this tag on your side. Thanks, best regards, The following changes since commit d4e4ab86bcba5a72779c43dc1459f71fea3d89c8: Linux 3.11-rc5 (2013-08-11 18:

[GIT PULL] (xen) stable/for-jens-3.12 for Linux 3.12 merge window.

2013-08-21 Thread Konrad Rzeszutek Wilk
Hey Jens, Please git pull the following branch for your 3.12 tree: git pull git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip.git stable/for-jens-3.12 It has two fixes to the xen-blkfront driver - both deal with the indirect requests and make better usage of the persistent grants. Pleas

Re: [PATCH 0/8] x86, acpi: Move acpi_initrd_override() earlier.

2013-08-21 Thread Zhang Yanfei
Hi tejun, On 08/21/2013 09:06 PM, Tejun Heo wrote: > Hello, > > On Wed, Aug 21, 2013 at 06:15:35PM +0800, Tang Chen wrote: >> [What are we doing] >> >> We are trying to initialize acip tables as early as possible. But Linux >> kernel >> allows users to override acpi tables by specifying their ow

Re: Regression: x86/mm: new _PTE_SWP_SOFT_DIRTY bit conflicts with existing use

2013-08-21 Thread H. Peter Anvin
Only WB pages should be swappable, but even so, the cacheability should be in the vma. Jan Beulich wrote: On 21.08.13 at 16:12, Cyrill Gorcunov wrote: >> On Wed, Aug 21, 2013 at 02:48:20PM +0100, David Vrabel wrote: >>> All, >>> >>> 179ef71c (mm: save soft-dirty bits on swapped pages) int

[GIT PULL] (xen) stable/for-linus-3.11-rc6-tag

2013-08-21 Thread Konrad Rzeszutek Wilk
Hey Linus, Please git pull the following tag: git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip.git stable/for-linus-3.11-rc6-tag which is full of bug-fixes that took a while to figure out right. The signed git tag says it all: - On ARM did not have balanced calls to get/put_cpu. - Fix t

[PATCH v2] vfio-pci: Use fdget() rather than eventfd_fget()

2013-08-21 Thread Alex Williamson
eventfd_fget() tests to see whether the file is an eventfd file, which we then immediately pass to eventfd_ctx_fileget(), which again tests whether the file is an eventfd file. Simplify slightly by using fdget() so that we only test that we're looking at an eventfd once. fget() could also be used,

[PATCH] ftrace: add tgid information in task switch event.

2013-08-21 Thread Jiejing Zhang
From: Jiejing Zhang ftrace only report pid in task switch event, which is actually thread ID in user space view, the comm of the thread will be like "Thread-1", "Compiler", etc in android system, it's useful if we can add tgid information in ftrace event to find out the process id, and the proces

Re: Proposed stable release changes

2013-08-21 Thread Steven Rostedt
On Wed, 21 Aug 2013 16:17:25 +0200 Willy Tarreau wrote: > This is also what I suspected though I have no data to confirm or deny that. > If this happens to be the case, maybe then there should be some barrier such > as : > - everything merged at -rc4 or before gets backported after the next -rc

Re: [PATCH v3 0/5] ARM: OMAP: DTS/HWMOD/defconfig changes for USB3

2013-08-21 Thread Benoit Cousson
Hi Kishon, On 21/08/2013 16:31, Kishon Vijay Abraham I wrote: From: Felipe Balbi With these patches (plus a few others on the driver side which will be going upstream soon) I could get functional USB3 with my omap5-uevm platform. Changes since v2: - added dt properties for enabling vb

Re: Regression: x86/mm: new _PTE_SWP_SOFT_DIRTY bit conflicts with existing use

2013-08-21 Thread Jan Beulich
>>> On 21.08.13 at 16:12, Cyrill Gorcunov wrote: > On Wed, Aug 21, 2013 at 02:48:20PM +0100, David Vrabel wrote: >> All, >> >> 179ef71c (mm: save soft-dirty bits on swapped pages) introduces a new >> PTE bit on x86 _PTE_SWP_SOFT_DIRTY which has the same value as _PTE_PSE >> and _PTE_PAT. >> >> W

Re: [PATCH 4/4] perf, tools: Add perf stat --transaction v3

2013-08-21 Thread Andi Kleen
On Wed, Aug 21, 2013 at 10:15:25AM -0300, Arnaldo Carvalho de Melo wrote: > Em Thu, Aug 15, 2013 at 06:42:03PM +0200, Andi Kleen escreveu: > > > > Here's an updated patch. > > > perf, tools: Add perf stat --transaction v4 > > @@ -1419,6 +1559,8 @@ int cmd_stat(int argc, const char **argv, const

Re: [dm-devel] [PATCH v2] dm ioctl: allow change device target type to error

2013-08-21 Thread Mikulas Patocka
On Wed, 21 Aug 2013, Joe Jin wrote: > commit a5664da "dm ioctl: make bio or request based device type immutable" > prevented "dmsetup wape_table" change the target type to "error". That commit a5664da is there for a reason (it is not possible to change bio-based device to request-based and vic

Re: [PATCH 1/2] i2c-designware: make *CNT values configurable

2013-08-21 Thread Christian Ruppert
On Fri, Aug 16, 2013 at 11:15:12AM +0900, Shinya Kuribayashi wrote: > Hi, > > On 8/5/13 6:31 PM, Christian Ruppert wrote:> On Wed, Jul 24, 2013 at > 11:31:44PM +0900, Shinya Kuribayashi wrote: > >>As said before, all t_SCL things should go away. Please forget > >>about 100kbps, 400kbps, and so o

Re: [PATCH V2] i2c: move of helpers into the core

2013-08-21 Thread Sylwester Nawrocki
On 08/21/2013 03:47 PM, Wolfram Sang wrote: > I2C of helpers used to live in of_i2c.c but experience (from SPI) shows > that it is much cleaner to have this in the core. This also removes a > circular dependency between the helpers and the core, and so we can > finally register child nodes in the c

Re: [PATCH] drivers: regmap: bugfix in regcache-rbtree.c

2013-08-21 Thread Mark Brown
On Wed, Aug 21, 2013 at 04:21:43PM +0200, David Jander wrote: > I hope you can explain to me how regcache_rbtree_node_alloc() is supposed to > work, because I start to think that something in there is broken... > Specially the code at line 323 strikes me: > if (!rbnode->blklen) { >

[PATCH 11/14] cpufreq: s5pv210: use cpufreq_generic_init() routine

2013-08-21 Thread Viresh Kumar
Use generic cpufreq_generic_init() routine instead of replicating the same code here. Cc: Kukjin Kim Signed-off-by: Viresh Kumar --- drivers/cpufreq/s5pv210-cpufreq.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/cpufreq/s5pv210-cpufreq.c b/drivers/cpufreq/s5pv

Re: [PATCH 5/8] x86, brk: Make extend_brk() available with va/pa.

2013-08-21 Thread Konrad Rzeszutek Wilk
On Wed, Aug 21, 2013 at 02:35:36PM +0200, H. Peter Anvin wrote: > Global symbols are inaccessible in physical mode. Even if they are embedded in the assembler code and use GLOBAL(paging_enabled) ? > > This is incidentally yet another example of "PV/weird platform violence", > since in their abs

[PATCH 09/14] cpufreq: pmac64: use cpufreq_generic_init() routine

2013-08-21 Thread Viresh Kumar
Use generic cpufreq_generic_init() routine instead of replicating the same code here. Signed-off-by: Viresh Kumar --- drivers/cpufreq/pmac64-cpufreq.c | 9 + 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/drivers/cpufreq/pmac64-cpufreq.c b/drivers/cpufreq/pmac64-cpufreq.c i

[PATCH 12/14] cpufreq: sa11x0: use cpufreq_generic_init() routine

2013-08-21 Thread Viresh Kumar
Use generic cpufreq_generic_init() routine instead of replicating the same code here. Cc: Russell King Signed-off-by: Viresh Kumar --- drivers/cpufreq/sa1100-cpufreq.c | 6 +- drivers/cpufreq/sa1110-cpufreq.c | 6 +- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/driver

[PATCH 03/14] cpufreq: dbx500: use cpufreq_generic_init() routine

2013-08-21 Thread Viresh Kumar
Use generic cpufreq_generic_init() routine instead of replicating the same code here. Cc: Linus Walleij Signed-off-by: Viresh Kumar --- drivers/cpufreq/dbx500-cpufreq.c | 21 + 1 file changed, 1 insertion(+), 20 deletions(-) diff --git a/drivers/cpufreq/dbx500-cpufreq.c b/d

[PATCH 14/14] cpufreq: tegra: use cpufreq_generic_init() routine

2013-08-21 Thread Viresh Kumar
Use generic cpufreq_generic_init() routine instead of replicating the same code here. Along with that we are disabling clks in error cases and ->exit() routine. Cc: Stephen Warren Signed-off-by: Viresh Kumar --- drivers/cpufreq/tegra-cpufreq.c | 14 +- 1 file changed, 9 insertions(

Re: [REGRESSION] 3.10.{6,7} crashes on network activity

2013-08-21 Thread Josh Boyer
On Wed, Aug 21, 2013 at 10:27 AM, Arend van Spriel wrote: > On 08/21/13 14:38, Josh Boyer wrote: >> >> On Wed, Aug 21, 2013 at 4:52 AM, Arend van Spriel >> wrote: > > Hi Felix, > > I have been diving into root causing why brcmsmac can not handle cck > fallback rates, because it

[PATCH 10/14] cpufreq: s3c: use cpufreq_generic_init() routine

2013-08-21 Thread Viresh Kumar
Use generic cpufreq_generic_init() routine instead of replicating the same code here. Cc: Kukjin Kim Signed-off-by: Viresh Kumar --- drivers/cpufreq/s3c2416-cpufreq.c | 6 ++ drivers/cpufreq/s3c24xx-cpufreq.c | 13 + drivers/cpufreq/s3c64xx-cpufreq.c | 5 ++--- 3 files changed

[PATCH 06/14] cpufreq: kirkwood: use cpufreq_generic_init() routine

2013-08-21 Thread Viresh Kumar
Use generic cpufreq_generic_init() routine instead of replicating the same code here. Cc: Andrew Lunn Signed-off-by: Viresh Kumar --- drivers/cpufreq/kirkwood-cpufreq.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/cpufreq/kirkwood-cpufreq.c b/drivers/cpufreq/

[PATCH 08/14] cpufreq: pasemi: use cpufreq_generic_init() routine

2013-08-21 Thread Viresh Kumar
Use generic cpufreq_generic_init() routine instead of replicating the same code here. Signed-off-by: Viresh Kumar --- drivers/cpufreq/pasemi-cpufreq.c | 9 + 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/drivers/cpufreq/pasemi-cpufreq.c b/drivers/cpufreq/pasemi-cpufreq.c i

[PATCH 04/14] cpufreq: exynos: use cpufreq_generic_init() routine

2013-08-21 Thread Viresh Kumar
Use generic cpufreq_generic_init() routine instead of replicating the same code here. Cc: Amit Daniel Kachhap Cc: Kukjin Kim Signed-off-by: Viresh Kumar --- drivers/cpufreq/exynos-cpufreq.c | 7 +-- drivers/cpufreq/exynos5440-cpufreq.c | 14 ++ 2 files changed, 3 insertion

[PATCH 07/14] cpufreq: maple: use cpufreq_generic_init() routine

2013-08-21 Thread Viresh Kumar
Use generic cpufreq_generic_init() routine instead of replicating the same code here. Cc: Dmitry Eremin-Solenikov Signed-off-by: Viresh Kumar --- drivers/cpufreq/maple-cpufreq.c | 9 + 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/drivers/cpufreq/maple-cpufreq.c b/drivers

[PATCH 05/14] cpufreq: imx6q: use cpufreq_generic_init() routine

2013-08-21 Thread Viresh Kumar
Use generic cpufreq_generic_init() routine instead of replicating the same code here. Cc: Shawn Guo Signed-off-by: Viresh Kumar --- drivers/cpufreq/imx6q-cpufreq.c | 13 + 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/drivers/cpufreq/imx6q-cpufreq.c b/drivers/cpufreq

[PATCH 13/14] cpufreq: spear: use cpufreq_generic_init() routine

2013-08-21 Thread Viresh Kumar
Use generic cpufreq_generic_init() routine instead of replicating the same code here. Cc: spear-de...@list.st.com Signed-off-by: Viresh Kumar --- drivers/cpufreq/spear-cpufreq.c | 14 ++ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/drivers/cpufreq/spear-cpufreq.c b/

[PATCH 02/14] cpufreq: cpu0: use cpufreq_generic_init() routine

2013-08-21 Thread Viresh Kumar
Use generic cpufreq_generic_init() routine instead of replicating the same code here. Cc: Shawn Guo Signed-off-by: Viresh Kumar --- drivers/cpufreq/cpufreq-cpu0.c | 19 +-- 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/drivers/cpufreq/cpufreq-cpu0.c b/drivers/cpu

[PATCH 01/14] cpufreq: create cpufreq_generic_init() routine

2013-08-21 Thread Viresh Kumar
Many CPUFreq drivers for SMP system (where all cores share same clock lines), do similar stuff in their ->init() part. This patch creates a generic routine in cpufreq core which can be used by these so that we can remove some redundant code. Signed-off-by: Viresh Kumar --- drivers/cpufreq/cpufr

[PATCH 00/14] cpufreq: create & use cpufreq_generic_init() routine

2013-08-21 Thread Viresh Kumar
Many CPUFreq drivers for SMP system (where all cores share same clock lines), do similar stuff in their ->init() part. This patch creates a generic routine in cpufreq core which can be used by these so that we can remove some redundant code. And later part of patchset makes other drivers use this

Re: [PATCH] drivers: regmap: bugfix in regcache-rbtree.c

2013-08-21 Thread David Jander
On Wed, 21 Aug 2013 15:08:16 +0100 Mark Brown wrote: > On Wed, Aug 21, 2013 at 03:14:23PM +0200, David Jander wrote: > > > Here's the explanation: > > > 1. If a driver initializes a regmap with a RB-tree cache, and starts > > writing to registers in some arbitrary order, you might get overlappi

Re: [PATCH 9/9] tcm_qla2xxx: Add special case for COMPARE_AND_WRITE data_direction

2013-08-21 Thread Roland Dreier
On Tue, Aug 20, 2013 at 1:08 PM, Nicholas A. Bellinger wrote: > Add a special case for COMPARE_AND_WRITE for the reverse data direction > mapping used for pci_map_sg() + friends. I don't understand this. In fact the whole patch series looks quite confused. COMPARE AND WRITE is a normal Data-Out

Re: [PATCH] idr: Use this_cpu_ptr() for percpu_ida

2013-08-21 Thread Christoph Lameter
On Tue, 20 Aug 2013, Nicholas A. Bellinger wrote: > On Thu, 2013-08-08 at 14:32 +, Christoph Lameter wrote: > > On Wed, 7 Aug 2013, Kent Overstreet wrote: > > > > > One thing that was bugging me - I was never able to figure out for sure > > > if smp_processor_id() returns a number in the range

Re: [PATCH 2/2] usb: fail on usb_hub_create_port_device() errors

2013-08-21 Thread Alan Stern
On Wed, 21 Aug 2013, Krzysztof Mazur wrote: > > We should never have maxchild < bNbrPorts (unless maxchild is 0). But > > just in case we do, changing the code is a good idea. > > > > Besides, "hub->maxchild" is shorter and easier to read than > > "hub->descriptor->bNbrPorts". :-) > > > > It

[PATCH v3 1/5] arm: omap5: dts: fix reg property size

2013-08-21 Thread Kishon Vijay Abraham I
From: Felipe Balbi USB3 block has a 64KiB space, another 64KiB is used for the wrapper. Without this change, resource_size() will get confused and driver won't probe because size will be negative. Signed-off-by: Felipe Balbi Signed-off-by: Kishon Vijay Abraham I --- arch/arm/boot/dts/omap5.d

[PATCH v3 4/5] arm: omap5: hwmod: add missing ocp2scp hwmod data

2013-08-21 Thread Kishon Vijay Abraham I
From: Benoit Cousson without that hwmod data, USB3 will not in OMAP5 boards. Signed-off-by: Benoit Cousson Signed-off-by: Felipe Balbi Signed-off-by: Kishon Vijay Abraham I --- arch/arm/mach-omap2/omap_hwmod_54xx_data.c | 45 1 file changed, 45 insertions(+) d

[PATCH v3 2/5] arm: omap5: dts: fix ocp2scp DTS data

2013-08-21 Thread Kishon Vijay Abraham I
From: Felipe Balbi this patch fixes the DTS data for ocp2scp node by adding the missing reg property. Signed-off-by: Felipe Balbi Signed-off-by: Kishon Vijay Abraham I --- arch/arm/boot/dts/omap5.dtsi |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/o

Re: [PATCH v2 0/3] workqueue: Comment/Doc correction with no functional change

2013-08-21 Thread Tejun Heo
On Wed, Aug 21, 2013 at 08:50:38AM +0800, Libin wrote: > This patch set doesn't make any functional differences. > > Libin (3): > workqueue: Comment correction in file header > workqueue: Fix manage_workers() RETURNS description > workqueue: Correct/Drop references to gcwq in Documentation

[PATCH v3 5/5] arm: omap2plus_defconfig: enable dwc3 and dependencies

2013-08-21 Thread Kishon Vijay Abraham I
From: Felipe Balbi DWC3 enables USB3 functionality for OMAP5 boards, it's safe to enable those drivers in omap2plus_defconfig. Signed-off-by: Felipe Balbi Acked-by: Tony Lindgren Signed-off-by: Kishon Vijay Abraham I --- arch/arm/configs/omap2plus_defconfig |9 + 1 file changed,

[PATCH v3 0/5] ARM: OMAP: DTS/HWMOD/defconfig changes for USB3

2013-08-21 Thread Kishon Vijay Abraham I
From: Felipe Balbi With these patches (plus a few others on the driver side which will be going upstream soon) I could get functional USB3 with my omap5-uevm platform. Changes since v2: - added dt properties for enabling vbus/id interrupts and fixed vbus-supply value after SMPS10 is mode

[PATCH v3 3/5] arm: omap5: dts: add palmas-usb node

2013-08-21 Thread Kishon Vijay Abraham I
From: Felipe Balbi Without this node, there will be no palmas driver to notify dwc3 that a cable has been connected and, without that, dwc3 will never initialize. [ kis...@ti.com: added dt properties for enabling vbus/id interrupts and fixed vbus-supply value after SMPS10 is modeled as 2 regulat

Re: Regression: x86/mm: new _PTE_SWP_SOFT_DIRTY bit conflicts with existing use

2013-08-21 Thread Cyrill Gorcunov
On Wed, Aug 21, 2013 at 04:22:21PM +0200, H. Peter Anvin wrote: > OK now I'm confused. I guess I shouldn't comment while on vacation > and cache cold on everything. I rather think I'm missing something, that's why I asked David how this featue affects non present pte. -- To unsubscribe from this

[PATCH v2] i2c: move ACPI helpers into the core

2013-08-21 Thread Mika Westerberg
This follows what has already been done for the DeviceTree helpers. Move the ACPI helpers from drivers/acpi/acpi_i2c.c to the I2C core and update documentation accordingly. This also solves a problem reported by Jerry Snitselaar that we can't build the ACPI I2C helpers as a module. Signed-off-by:

RE: [patch] mm, thp: count thp_fault_fallback anytime thp fault fails

2013-08-21 Thread Kirill A. Shutemov
David Rientjes wrote: > Currently, thp_fault_fallback in vmstat only gets incremented if a > hugepage allocation fails. If current's memcg hits its limit or the page > fault handler returns an error, it is incorrectly accounted as a > successful thp_fault_alloc. > > Count thp_fault_fallback anyti

Re: [REGRESSION] 3.10.{6,7} crashes on network activity

2013-08-21 Thread Arend van Spriel
On 08/21/13 14:38, Josh Boyer wrote: On Wed, Aug 21, 2013 at 4:52 AM, Arend van Spriel wrote: Hi Felix, I have been diving into root causing why brcmsmac can not handle cck fallback rates, because it should. Maybe it is better to flag no cck support and only change brcmsmac. We have a numbe

Re: [PATCH] drivers: regmap: bugfix in regcache-rbtree.c

2013-08-21 Thread David Jander
On Wed, 21 Aug 2013 15:08:16 +0100 Mark Brown wrote: > On Wed, Aug 21, 2013 at 03:14:23PM +0200, David Jander wrote: > > > Here's the explanation: > > > 1. If a driver initializes a regmap with a RB-tree cache, and starts > > writing to registers in some arbitrary order, you might get overlappi

Re: Regression: x86/mm: new _PTE_SWP_SOFT_DIRTY bit conflicts with existing use

2013-08-21 Thread H. Peter Anvin
Good question... Cyrill Gorcunov wrote: >On Wed, Aug 21, 2013 at 02:48:20PM +0100, David Vrabel wrote: >> All, >> >> 179ef71c (mm: save soft-dirty bits on swapped pages) introduces a new >> PTE bit on x86 _PTE_SWP_SOFT_DIRTY which has the same value as >_PTE_PSE >> and _PTE_PAT. >> >> With a Xe

Re: [PATCH 2/4] nohz: Synchronize sleep time stats with seqlock

2013-08-21 Thread Peter Zijlstra
On Wed, Aug 21, 2013 at 02:33:11PM +0200, Peter Zijlstra wrote: > On Wed, Aug 21, 2013 at 01:35:51PM +0200, Oleg Nesterov wrote: > > On 08/21, Peter Zijlstra wrote: > > > > Yes its the right rq, but the wrong time. > > > > Hmm. Just in case, it is not that I think this patch really makes sense, >

Re: [PATCH] kernel/rcutree.c: deem to be lazy if there are no callbacks.

2013-08-21 Thread Paul E. McKenney
On Wed, Aug 21, 2013 at 01:59:29PM +0800, Chen Gang wrote: > > If we still doubt about it, but can not find a suitable way to fix it > (neither of us are familiar with it). Well, you have that halfway correct, which some might well argue is an upward trend from your earlier postings. I do apprec

<    1   2   3   4   5   6   7   8   >