Re: [PATCH 3/5] usb: phy: twl4030-usb: Move code from twl4030_phy_power to the runtime PM calls

2014-09-04 Thread Tony Lindgren
* Kishon Vijay Abraham I [140904 06:51]: > Hi Tony, > > On Thursday 28 August 2014 04:58 AM, Tony Lindgren wrote: > > We don't need twl4030_phy_power() any longer now that we have > > the runtime PM calls. Let's get rid of it as it's confusing. > > No functional changes, just move the code and us

Re: [PATCH 1/2] x86: reimplement ___preempt_schedule*() using THUNK helpers

2014-09-04 Thread Oleg Nesterov
On 09/04, Denys Vlasenko wrote: > > or thunk_ra should be renamed to THUNK (like it is in thunk_64.S) Of course! Thanks a lot Denys. Oleg. -- 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

Re: [PATCH] hugetlbfs: document that sticky mounts are allowed

2014-09-04 Thread Ken Chen
On Thu, Sep 4, 2014 at 6:20 AM, Kirill Smelkov wrote: > Commit 75897d60 (hugetlb: allow sticky directory mount option) added > support for mounting hugetlbfs with sticky option set, like /tmp is > usually mounted, but forgot to document that. > > Cc: Ken Chen > Signed-off-by: Kirill Smelkov > --

Re: [RFC] smt-aware rt load balancer

2014-09-04 Thread Roman Gushchin
I'm not pretending to merge it now (and that why I sent a link to repository instead of patches), but, probably, there are guys here, who can try it and save a bit of hardware. Regards, Roman 04.09.2014, 20:49, "Peter Zijlstra" : > No, we're not going to merge a second rt balancer. If you want

[PATCH v2 1/2] x86: reimplement ___preempt_schedule*() using THUNK helpers

2014-09-04 Thread Oleg Nesterov
___preempt_schedule() does SAVE_ALL/RESTORE_ALL but this is suboptimal, we do not need to save/restore the callee-saved register. And we already have arch/x86/lib/thunk_*.S which implements the similar asm wrappers, so it makes sense to redefine ___preempt_schedule() as "THUNK ..." and remove preem

Re: [PATCH] regulator: core: GPIO #0 is a valid GPIO

2014-09-04 Thread Linus Walleij
On Mon, Sep 1, 2014 at 1:59 PM, Dmitry Eremin-Solenikov wrote: > Back in the time before DTS conversion started, the 0 was a correct GPIO > number. If somebody wanted to specify that no gpio is provided, he provided > -1 as an invalid number. I have the feeling that allowing users to use 0 as > '

Re: [PATCH] KVM: x86: fix kvmclock breakage from timers branch merge

2014-09-04 Thread Paolo Bonzini
Il 04/09/2014 18:00, Chris J Arges ha scritto: > Uptime: > 15:58:02 up 1:00, 1 user, load average: 0.59, 0.60, 0.31 > > Here is the output: > > ./x86-run x86/kvmclock_test.flat -smp 2 --append "1000 `date +%s`" > qemu-system-x86_64 -enable-kvm -device pc-testdev -device > isa-debug-exit,i

[PATCH] rtl8188eu: rtw_xmit: Replace rcu_dereference() with rcu_access_pointer()

2014-09-04 Thread Andreea-Cristina Bernat
The "br_port" local variables obtained through the rcu_dereference() calls are not dereferenced in the rest of their function. Therefore, it is recommended to use rcu_access_pointer() instead of rcu_dereference(). This patch makes the replacements. The first step to detect this was made with the f

Re: linux-next: Tree for Sep 1

2014-09-04 Thread Tejun Heo
On Tue, Sep 02, 2014 at 10:00:07AM -0500, Christoph Lameter wrote: > Subject: irqchip: Properly fetch the per cpu offset > > The raw_cpu_read() conversion dropped the fetch of the offset > from base->percpu_base in gic_get_percpu_base. > > Signed-off-by: Christoph Lameter > > Index: linux/drive

Re: [PATCH 3/4] KVM: x86: inject nested page faults on emulated instructions

2014-09-04 Thread Paolo Bonzini
Il 04/09/2014 17:05, Gleb Natapov ha scritto: >> > if (ctxt->have_exception) { >> > inject_emulated_exception(vcpu); >> > - r = EMULATE_DONE; >> > + return EMULATE_DONE; > If there was no vmexit we still want to writeback. Perhaps: > writeback

Re: [PATCH] regulator: core: GPIO #0 is a valid GPIO

2014-09-04 Thread Linus Walleij
On Mon, Sep 1, 2014 at 9:46 AM, Dirk Behme wrote: > On 29.08.2014 21:01, Mark Brown wrote: >> Any current boards should be using DT and so shouldn't be using fixed >> GPIO numbers in the first place which will mean they'll not end up >> getting zero as a valid GPIO. > > Hmm? What's wrong with a D

Re: [PATCH 07/11 v5] coresight-etm: add CoreSight ETM/PTM driver

2014-09-04 Thread Mathieu Poirier
Thanks for the review - pls see comments below. Mathieu On 3 September 2014 02:37, Linus Walleij wrote: > On Wed, Aug 27, 2014 at 7:17 PM, wrote: > >> From: Pratik Patel >> >> This driver manages CoreSight ETM (Embedded Trace Macrocell) that >> supports processor tracing. Currently supported

Re: [PATCH] pinctrl: generic: Fix PIN_CONFIG_DRIVE_OPEN_SOURCE source/drain doc mismatch

2014-09-04 Thread Linus Walleij
On Wed, Sep 3, 2014 at 8:01 PM, Geert Uytterhoeven wrote: > PIN_CONFIG_DRIVE_OPEN_SOURCE enables open source, not open drain. > > Signed-off-by: Geert Uytterhoeven > --- > Yes, we need more open source ;-) Yeah, patch applied! Yours, Linus Walleij -- To unsubscribe from this list: send the lin

Re: [PATCH v5 3/8] arm: fixmap: implement __set_fixmap()

2014-09-04 Thread Kees Cook
On Thu, Sep 4, 2014 at 10:03 AM, Will Deacon wrote: > Hi Kees, > > On Wed, Sep 03, 2014 at 10:57:04PM +0100, Kees Cook wrote: >> This is used from set_fixmap() and clear_fixmap() via asm-generic/fixmap.h. >> Also makes sure that the fixmap allocation fits into the expected range. >> >> Based on pa

Re: [PATCH 3/4] watchdog: add driver for Ricoh RN5T618 watchdog

2014-09-04 Thread Guenter Roeck
On Thu, Sep 04, 2014 at 10:19:17AM +0100, Lee Jones wrote: > Wim, > > Still waiting on a Watchdog Ack, so I can take this set in. > Wasn't there a more recent version of this patch ? Thanks, Guenter > > This adds a driver for the watchdog timer available in Ricoh RN5T618 > > PMIC. The device su

[PATCH] Support PCU power metrics in turbostat

2014-09-04 Thread Andi Kleen
From: Andi Kleen Add support for reading PCU power metrics on Sandy Bridge / Ivy Bridge EP and Haswell Server in turbostat. This is done using the perf ABI, using the perf uncore driver. This requires the kernel to have uncore perf driver support. The PCU has a large number of events, but only a

Re: [PATCH v5 3/8] arm: fixmap: implement __set_fixmap()

2014-09-04 Thread Will Deacon
On Thu, Sep 04, 2014 at 06:23:42PM +0100, Kees Cook wrote: > On Thu, Sep 4, 2014 at 10:03 AM, Will Deacon wrote: > > Hi Kees, > > > > On Wed, Sep 03, 2014 at 10:57:04PM +0100, Kees Cook wrote: > >> This is used from set_fixmap() and clear_fixmap() via asm-generic/fixmap.h. > >> Also makes sure tha

Re: OT: Open letter to the Linux World

2014-09-04 Thread Alexander Holler
Am 04.09.2014 16:36, schrieb Austin S Hemmelgarn: On 2014-09-04 06:16, Alexander Holler wrote: It's a myth that C++ ends up in bigger code than C. At least in my experience. Especially when the latest additions to C++ are in effect (like the move-semantics in C++11 I like quiet a lot and which

Re: [PATCH 07/11 v5] coresight-etm: add CoreSight ETM/PTM driver

2014-09-04 Thread Linus Walleij
On Thu, Sep 4, 2014 at 7:19 PM, Mathieu Poirier wrote: > [Me]: >> I would rewrite the last function like this: >> >> static inline unsigned int etm_readl(struct etm_drvdata *drvdata, u32 off) >> { >>u32 val; >> >>if (drvdata->use_cp14) >>asm_volatile()... >>

Re: [PATCH 1/2] gpio: Add driver for AXM55xx SSP chip selects

2014-09-04 Thread Linus Walleij
On Thu, Sep 4, 2014 at 7:06 PM, Mark Brown wrote: > On Thu, Sep 04, 2014 at 07:04:44PM +0200, Linus Walleij wrote: >> I need an ACK from Mark Brown on this before I apply. >> The driver seems to do what it should, but I need Mark to >> be OK with exporting the CS signals from an SSP/SPI block >> t

Re: [PATCH v9 1/3] RTC: RK808: add RTC driver for RK808

2014-09-04 Thread Dmitry Torokhov
On Wed, Sep 03, 2014 at 09:18:42PM -0700, Doug Anderson wrote: > Chris, > > On Wed, Sep 3, 2014 at 6:12 PM, Chris Zhong wrote: > > Adding RTC driver for supporting RTC device present inside RK808 PMIC. > > > > Signed-off-by: Chris Zhong > > Signed-off-by: Zhang Qing > > > > Tested-by: Heiko Stu

Re: [PATCH 3/4] watchdog: add driver for Ricoh RN5T618 watchdog

2014-09-04 Thread Beniamino Galvani
On Thu, Sep 04, 2014 at 10:25:03AM -0700, Guenter Roeck wrote: > On Thu, Sep 04, 2014 at 10:19:17AM +0100, Lee Jones wrote: > > Wim, > > > > Still waiting on a Watchdog Ack, so I can take this set in. > > > Wasn't there a more recent version of this patch ? Yes, this is superseded by v2. Beniam

Re: [PATCH v8] usb:serial:pl2303: add GPIOs interface on PL2303

2014-09-04 Thread Wang YanQing
On Sun, Aug 31, 2014 at 11:24:56PM +0800, Wang YanQing wrote: > PL2303 USB Serial devices may has GPIOs, this patch add > basic PL2303 gpio support. > > Known issue: > If gpios are in use(export to userspace through sysfs interface, etc), > then call pl2303_release(unplug usb-serial convertor, mod

Re: [PATCH v9 2/3] clk: RK808: Add clkout driver for RK808

2014-09-04 Thread Dmitry Torokhov
Hi Chris, On Thu, Sep 04, 2014 at 09:12:38AM +0800, Chris Zhong wrote: > + rk808_clkout->clk_data.clks = clk_table; > + rk808_clkout->clk_data.clk_num = RK808_NR_OUTPUT; > + > + return of_clk_add_provider(node, of_clk_src_onecell_get, > +&rk808_clkout->c

Re: [PATCH 3/4] KVM: x86: inject nested page faults on emulated instructions

2014-09-04 Thread Paolo Bonzini
Il 04/09/2014 17:05, Gleb Natapov ha scritto: >> > >> > If you do that, KVM gets down to the "if (writeback)" and writes the >> > ctxt->eip from L2 into the L1 EIP. > Heh, that's a bummer. We should not write back if an instruction caused a > vmexit. > You're right, that works. Paolo ---

Re: [PATCH v2 02/17] security: make security_file_set_fowner, f_setown and __f_setown void return

2014-09-04 Thread Christoph Hellwig
On Thu, Sep 04, 2014 at 08:38:28AM -0400, Jeff Layton wrote: > security_file_set_fowner always returns 0, so make it f_setown and > __f_setown void return functions and fix up the error handling in the > callers. All the LSMs seems to use this purely for setting up pointers, and not having to hand

Re: [PATCH v1 for-next 00/16] On demand paging

2014-09-04 Thread Jerome Glisse
On Wed, Sep 03, 2014 at 02:15:51PM -0700, Roland Dreier wrote: > > I would like to note that we at Los Alamos National Laboratory are very > > interested in this functionality and it would be great if it gets accepted. > > Have you done any review or testing of these changes? If so can you > shar

Re: [PATCH v2 01/17] locks: consolidate "nolease" routines

2014-09-04 Thread Christoph Hellwig
On Thu, Sep 04, 2014 at 08:38:27AM -0400, Jeff Layton wrote: > GFS2 and NFS have setlease routines that always just return -EINVAL. > Turn that into a generic routine that can live in fs/libfs.c. Looks good, Reviewed-by: Christoph Hellwig -- To unsubscribe from this list: send the line "unsubscr

Re: early microcode: how to disable at runtime?

2014-09-04 Thread Henrique de Moraes Holschuh
On Thu, 04 Sep 2014, Borislav Petkov wrote: > > Yes. It is a stop gap solution, I never claimed it to be anything > > else. > > > > What I did claim is that it is going to be a far more user-friendly > > stop gap than the "boot from rescue media" option. > > Ok, we have it now and we can use it if

Re: [PATCH] clocksource: arch_timer: Fix code to use physical timers when requested

2014-09-04 Thread Lorenzo Pieralisi
On Thu, Sep 04, 2014 at 06:01:27PM +0100, Sonny Rao wrote: [...] > > If an OS is booted at PL2 it can access the physical counters, and > > should do so in case something like KVM will be used later. The OS can > > write to CNTVOFF at PL2, and if it sets CNTVOFF to zero the physical and > > virtu

Re: [PATCH v2 08/17] locks: plumb a "priv" pointer into the setlease routines

2014-09-04 Thread Christoph Hellwig
On Thu, Sep 04, 2014 at 08:38:34AM -0400, Jeff Layton wrote: > In later patches, we're going to add a new lock_manager_operation to > finish setting up the lease while still holding the i_lock. To do > this, we'll need to pass a little bit of info in the fcntl setlease > case (primarily an fasync

Re: [PATCH v2 09/17] locks: define a lm_setup handler for leases

2014-09-04 Thread Christoph Hellwig
On Thu, Sep 04, 2014 at 08:38:35AM -0400, Jeff Layton wrote: > ...and move the fasync setup into it for fcntl lease calls. At the same > time, change the semantics of how the file_lock double-pointer is > handled. Up until now, on a successful lease return you got a pointer to > the lock on the lis

Re: [PATCH] clocksource: arch_timer: Fix code to use physical timers when requested

2014-09-04 Thread Mark Rutland
On Thu, Sep 04, 2014 at 06:01:27PM +0100, Sonny Rao wrote: > On Fri, Aug 29, 2014 at 3:04 AM, Mark Rutland wrote: > > On Fri, Aug 29, 2014 at 01:10:49AM +0100, Sonny Rao wrote: > >> On Thu, Aug 28, 2014 at 2:35 AM, Mark Rutland wrote: > >> > On Thu, Aug 28, 2014 at 04:33:31AM +0100, Doug Anderson

Re: [PATCH v2 12/17] locks: update Documentation/filesystems with new setlease semantics

2014-09-04 Thread Christoph Hellwig
Looks good, but I'd rather merge it into the patch that changes the semantics. Reviewed-by: Christoph Hellwig -- 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-i

Re: [PATCH v2 13/17] locks: remove i_have_this_lease check from __break_lease

2014-09-04 Thread Christoph Hellwig
On Thu, Sep 04, 2014 at 08:38:39AM -0400, Jeff Layton wrote: > I think that the intent of this code was to ensure that a process won't > deadlock if it has one fd open with a lease on it and then breaks that > lease by opening another fd. In that case it'll treat the __break_lease > call as if it w

Re: [PATCH v2 11/17] locks: move freeing of leases outside of i_lock

2014-09-04 Thread Christoph Hellwig
On Thu, Sep 04, 2014 at 08:38:37AM -0400, Jeff Layton wrote: > There was only one place where we still could free a file_lock while > holding the i_lock -- lease_modify. Add a new list_head argument to the > lm_change operation, pass in a private list when calling it, and fix > those callers to dis

Re: [PATCH v2 17/17] locks: clean up comments over fl_owner_t definition

2014-09-04 Thread Christoph Hellwig
On Thu, Sep 04, 2014 at 08:38:43AM -0400, Jeff Layton wrote: > The contents of an fl_owner_t have morphed a bit over the years, fix up > the comments to account for the changes. Instead of listing all the owners I'd just put something in like: /* legacy typedef, will go away soon */ -- To unsubsc

Re: [PATCH] PM / sleep: add configurable delay for pm_test

2014-09-04 Thread Brian Norris
On Thu, Sep 04, 2014 at 09:14:12AM +0200, Pavel Machek wrote: > > When CONFIG_PM_DEBUG=y, we provide a sysfs file (/sys/power/pm_test) for > > selecting one of a few suspend test modes, where rather than entering a > > full suspend state, the kernel will perform some subset of suspend > > steps, wa

Re: [PATCH] KVM: x86: fix kvmclock breakage from timers branch merge

2014-09-04 Thread Paolo Bonzini
Il 04/09/2014 14:58, Paolo Bonzini ha scritto: > Commit cbcf2dd3b3d4 (x86: kvm: Make kvm_get_time_and_clockread() nanoseconds > based, 2014-07-16) forgot to add tk->xtime_sec, thus breaking kvmclock on > hosts that have a reliable TSC. Add it back; and since the field boot_ns > is not anymore rela

Re: OT: Open letter to the Linux World

2014-09-04 Thread Austin S Hemmelgarn
On 2014-09-04 13:29, Alexander Holler wrote: > Am 04.09.2014 16:36, schrieb Austin S Hemmelgarn: >> On 2014-09-04 06:16, Alexander Holler wrote: >>> >>> It's a myth that C++ ends up in bigger code than C. At least in my >>> experience. Especially when the latest additions to C++ are in effect >>> (

[PATCH RESEND] gpio: lib-sysfs: Add 'wakeup' attribute

2014-09-04 Thread Soren Brinkmann
Add an attribute 'wakeup' to the GPIO sysfs interface which allows marking/unmarking a GPIO as wake IRQ. The file 'wakeup' is created in each exported GPIOs directory, if an IRQ is associated with that GPIO and the irqchip implements set_wake(). Writing 'enabled' to that file will enable wake for t

Re: [PATCH v9 2/3] clk: RK808: Add clkout driver for RK808

2014-09-04 Thread Heiko Stübner
Am Donnerstag, 4. September 2014, 10:40:24 schrieb Dmitry Torokhov: > Hi Chris, > > On Thu, Sep 04, 2014 at 09:12:38AM +0800, Chris Zhong wrote: > > + rk808_clkout->clk_data.clks = clk_table; > > + rk808_clkout->clk_data.clk_num = RK808_NR_OUTPUT; > > + > > + return of_clk_add_provider(node,

Re: [PATCH v2 13/17] locks: remove i_have_this_lease check from __break_lease

2014-09-04 Thread Jeff Layton
On Thu, 4 Sep 2014 10:51:32 -0700 Christoph Hellwig wrote: > On Thu, Sep 04, 2014 at 08:38:39AM -0400, Jeff Layton wrote: > > I think that the intent of this code was to ensure that a process won't > > deadlock if it has one fd open with a lease on it and then breaks that > > lease by opening ano

Re: [PATCH v2 14/17] locks: __break_lease cleanup in preparation of allowing direct removal of leases

2014-09-04 Thread Christoph Hellwig
On Thu, Sep 04, 2014 at 08:38:40AM -0400, Jeff Layton wrote: > Eliminate an unneeded "flock" variable. We can use "fl" as a loop cursor > everywhere. Add a any_leases_conflict helper function as well to > consolidate a bit of code. Looks good, Reviewed-by: Christoph Hellwig One thing that came

Re: [PATCH] locks: flock_make_lock should return a struct file_lock (or PTR_ERR)

2014-09-04 Thread Christoph Hellwig
On Thu, Sep 04, 2014 at 10:27:35AM -0400, Jeff Layton wrote: > Eliminate the need for a return pointer. > > Signed-off-by: Jeff Layton Looks good, Reviewed-by: Christoph Hellwig -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vge

Re: [PATCH v2 15/17] locks: give lm_break a return value

2014-09-04 Thread Christoph Hellwig
On Thu, Sep 04, 2014 at 08:38:41AM -0400, Jeff Layton wrote: > Christoph suggests: > >"Add a return value to lm_break so that the lock manager can tell the > core code "you can delete this lease right now". That gets rid of > the games with the timeout which require all kinds of race

Re: [PATCH] pinctrl: st: Add remove function and remove gpio_chip on failure

2014-09-04 Thread Srinivas Kandagatla
Pramod, sorry for delay in reply as I was travelling, still in Jet lag. Signed-off-by: Pramod Gurav --- drivers/pinctrl/pinctrl-st.c | 25 + 1 files changed, 25 insertions(+), 0 deletions(-) diff --git a/drivers/pinctrl/pinctrl-st.c b/drivers/pinctrl/pinctrl-st.c in

Re: [PATCH 2/2] x86, lib/Makefile: remove the unnecessary "+= thunk_64.o"

2014-09-04 Thread Andy Lutomirski
On Thu, Sep 4, 2014 at 6:42 AM, Oleg Nesterov wrote: > Trivial. We have "lib-y += thunk_$(BITS).o" at the start, no need > to add thunk_64.o if !CONFIG_X86_32. > Acked-by: Andy Lutomirski > Signed-off-by: Oleg Nesterov > --- > arch/x86/lib/Makefile |2 +- > 1 files changed, 1 insertions(+

Re: OT: Open letter to the Linux World

2014-09-04 Thread Alexander Holler
Am 04.09.2014 19:58, schrieb Austin S Hemmelgarn: On 2014-09-04 13:29, Alexander Holler wrote: Am 04.09.2014 16:36, schrieb Austin S Hemmelgarn: On 2014-09-04 06:16, Alexander Holler wrote: It's a myth that C++ ends up in bigger code than C. At least in my experience. Especially when the late

Re: [PATCH] KVM: x86: fix kvmclock breakage from timers branch merge

2014-09-04 Thread Chris J Arges
On 09/04/2014 12:14 PM, Paolo Bonzini wrote: > Il 04/09/2014 18:00, Chris J Arges ha scritto: >> Uptime: >> 15:58:02 up 1:00, 1 user, load average: 0.59, 0.60, 0.31 >> >> Here is the output: >> >> ./x86-run x86/kvmclock_test.flat -smp 2 --append "1000 `date +%s`" >> qemu-system-x86_64 -en

[PATCH v2] checkpatch: allow optional shorter config descriptions

2014-09-04 Thread Vadim Bendebury
This script is used by many other projects, and in some of them the requirement of at least 4 line long description for all Kconfig items is excessive. This patch adds a command line option to control the required minimum length. Tested running this script over a patch including a two line config

Re: [PATCH v2 01/17] locks: consolidate "nolease" routines

2014-09-04 Thread Trond Myklebust
On Thu, Sep 4, 2014 at 8:49 AM, Jeff Layton wrote: > On Thu, 4 Sep 2014 08:41:51 -0400 > Trond Myklebust wrote: > >> On Thu, Sep 4, 2014 at 8:38 AM, Jeff Layton wrote: >> > GFS2 and NFS have setlease routines that always just return -EINVAL. >> > Turn that into a generic routine that can live in

Re: OT: Open letter to the Linux World

2014-09-04 Thread Rogelio Serrano
On Mon, Aug 18, 2014 at 7:15 PM, Alexander Holler wrote: > Am 13.08.2014 11:00, schrieb Borislav Petkov: > >> On Wed, Aug 13, 2014 at 10:27:56AM +0200, Peter Zijlstra wrote: >>> >>> And the thing is; we're all very busy so we tend to take the 'easy' >>> way out for things like this; but wholesale

[PATCH v2] staging/lustre: Different prototypes between the declaration and the definition

2014-09-04 Thread Loïc Pellegrino
Align the prototype of lprocfs_wr_uint() in the declaration with the one used in the definition. The prototype is: int lprocfs_wr_uint(struct file *file, const char __user *buffer, unsigned long count, void *data) In obdclass/lprocfs_status.c But in lustre/include/lprocfs_sta

Re: [PATCH Resend] memfd_test: Add missing argument to printf()

2014-09-04 Thread Shuah Khan
On 09/04/2014 09:58 AM, Pranith Kumar wrote: > Add a missing path argument buf to printf() > > Signed-off-by: Pranith Kumar > Reviewed-by: David Herrmann > --- > tools/testing/selftests/memfd/memfd_test.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/tools/testing/s

Re: OT: Open letter to the Linux World

2014-09-04 Thread Alexander Holler
Am 04.09.2014 20:27, schrieb Rogelio Serrano: On Mon, Aug 18, 2014 at 7:15 PM, Alexander Holler wrote: Am 13.08.2014 11:00, schrieb Borislav Petkov: On Wed, Aug 13, 2014 at 10:27:56AM +0200, Peter Zijlstra wrote: And the thing is; we're all very busy so we tend to take the 'easy' way out fo

Re: [PATCH v9 2/3] clk: RK808: Add clkout driver for RK808

2014-09-04 Thread Dmitry Torokhov
On Thu, Sep 04, 2014 at 08:02:56PM +0200, Heiko Stübner wrote: > Am Donnerstag, 4. September 2014, 10:40:24 schrieb Dmitry Torokhov: > > Hi Chris, > > > > On Thu, Sep 04, 2014 at 09:12:38AM +0800, Chris Zhong wrote: > > > + rk808_clkout->clk_data.clks = clk_table; > > > + rk808_clkout->clk_data.cl

[PATCH] mm: mmap: use pr_emerg when printing BUG related information

2014-09-04 Thread Sasha Levin
Make sure we actually see the output of validate_mm() and browse_rb() before triggering a BUG(). pr_info isn't shown by default so the reason for the BUG() isn't obvious. Signed-off-by: Sasha Levin --- mm/mmap.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git

RE: early microcode: how to disable at runtime?

2014-09-04 Thread Yu, Fenghua
> From: Borislav Petkov [mailto:b...@alien8.de] > > What I did claim is that it is going to be a far more user-friendly > > stop gap than the "boot from rescue media" option. > > Ok, we have it now and we can use it if needed. All is good. Quoted comment from commit 65cef1311d5d212fd3d48a43678536

Re: [kernel.org PATCH] Li Zefan is now the 3.4 stable maintainer

2014-09-04 Thread Guenter Roeck
On Thu, Sep 04, 2014 at 03:24:21PM +0800, Li Zefan wrote: > Hi Guenter, > > Sorry for my late reply. > > On 2014/8/27 12:59, Guenter Roeck wrote: > > On Tue, Aug 26, 2014 at 04:08:58PM -0700, Greg KH wrote: > >> Li has agreed to continue to support the 3.4 stable kernel tree until > >> September

RCU bug with v3.17-rc3 ?

2014-09-04 Thread Felipe Balbi
Hi, I keep triggering the following Oops with -rc3 when writing to the mass storage gadget driver: | # modprobe g_mass_storage stall=0 removable=1 file=/dev/sda | [ 44.883554] Number of LUNs=8 | [ 44.886709] Mass Storage Function, version: 2009/09/11 | [ 44.892303] LUN: removable file: (no

[PATCH 0/5] Support Write-Through mapping on x86

2014-09-04 Thread Toshi Kani
This patchset adds support of Write-Through (WT) mapping on x86. The study below shows that using WT mapping may be useful for non-volatile memory. http://www.hpl.hp.com/techreports/2012/HPL-2012-236.pdf This patchset applies on top of the Juergen's patchset below, which provides the basis of t

[PATCH 1/5] x86, mm, pat: Set WT to PA4 slot of PAT MSR

2014-09-04 Thread Toshi Kani
This patch sets WT to the PA4 slot in the PAT MSR when the processor is not affected by the PAT errata. The upper 4 slots of the PAT MSR are continued to be unused on the following Intel processors. errata cpuid -- Pentium 2, A52 family 0x6, m

[PATCH] kern/sys: Compat sysinfo syscall fix undefined behavior

2014-09-04 Thread Scotty Bauer
Fix undefined behavior and compiler warning by replacing right shift 32 with upper_32_bits macro Signed-off-by: Scotty Bauer --- kernel/sys.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/sys.c b/kernel/sys.c index ce81291..c78530b 100644 --- a/kernel/sys.c +++ b/ke

[PATCH 3/5] x86, mm, asm-gen: Add ioremap_wt() for WT

2014-09-04 Thread Toshi Kani
This patch adds ioremap_wt() for creating WT mapping on x86. It follows the same model as ioremap_wc() for multi-architecture support. ARCH_HAS_IOREMAP_WT is defined in the x86 version of io.h to indicate that ioremap_wt() is implemented on x86. Signed-off-by: Toshi Kani --- arch/x86/include/as

[PATCH 2/5] x86, mm, pat: Change reserve_memtype() to handle WT

2014-09-04 Thread Toshi Kani
This patch changes reserve_memtype() to handle the WT cache mode. When PAT is not enabled, it continues to set UC- to *new_type for any non-WB request. When a target range is RAM, reserve_ram_pages_type() fails for WT for now. This function may not reserve a RAM range for WT since reserve_ram_pag

[PATCH 5/5] x86, mm, pat: Add pgprot_writethrough() for WT

2014-09-04 Thread Toshi Kani
This patch adds pgprot_writethrough() for setting WT to a given pgprot_t. Signed-off-by: Toshi Kani --- arch/x86/include/asm/pgtable_types.h |3 +++ arch/x86/mm/pat.c| 10 ++ include/asm-generic/pgtable.h|4 3 files changed, 17 insertions(+) di

[PATCH 4/5] x86, mm: Add set_memory_wt() for WT

2014-09-04 Thread Toshi Kani
This patch adds set_memory_wt(), set_memory_array_wt(), and set_pages_array_wt() for setting range(s) of memory to WT. Note that reserve_memtype() only supports WT for non-RAM ranges at this point. Signed-off-by: Toshi Kani --- arch/x86/include/asm/cacheflush.h |6 +++ arch/x86/mm/pageattr.

Re: [PATCH] drivers: pci: convert generic host controller to DT host bridge creation API

2014-09-04 Thread Arnd Bergmann
On Thursday 04 September 2014 17:02:17 Lorenzo Pieralisi wrote: > On Thu, Sep 04, 2014 at 03:05:53PM +0100, Arnd Bergmann wrote: > > Interesting point: the generic implementation should probably not default > > to reassigning all buses at all. We could have a (host controller specific, > > but wit

Re: PROBLEM: 3.17-rc3 module dependency loops

2014-09-04 Thread RICARD Christophe
Hi Michel, Thank you for your feedback. I actually appology for the mistake. However, the issue got already reported and a fix proposal was done at the following location: https://lists.01.org/pipermail/linux-nfc/2014-September/002918.html Best Regards Christophe Le 04/09/2014 18:55, Michael

Re: [PATCH 4/5] x86, mm: Add set_memory_wt() for WT

2014-09-04 Thread Andy Lutomirski
On Thu, Sep 4, 2014 at 11:35 AM, Toshi Kani wrote: > This patch adds set_memory_wt(), set_memory_array_wt(), and > set_pages_array_wt() for setting range(s) of memory to WT. > Possibly dumb question: I thought that set_memory_xyz was only for RAM. Is that incorrect? --Andy -- To unsubscribe fro

Re: [PATCH v1 1/6] arm: fiq: Replace default FIQ handler

2014-09-04 Thread Nicolas Pitre
On Thu, 4 Sep 2014, Daniel Thompson wrote: > This patch introduces a new default FIQ handler that is structured in a > similar way to the existing ARM exception handler and result in the FIQ > being handled by C code running on the SVC stack (despite this code run > in the FIQ handler is subject t

Re: [PATCH] KVM: x86: fix kvmclock breakage from timers branch merge

2014-09-04 Thread John Stultz
On Thu, Sep 4, 2014 at 9:00 AM, Chris J Arges wrote: > > > On 09/04/2014 07:58 AM, Paolo Bonzini wrote: >> Commit cbcf2dd3b3d4 (x86: kvm: Make kvm_get_time_and_clockread() nanoseconds >> based, 2014-07-16) forgot to add tk->xtime_sec, thus breaking kvmclock on >> hosts that have a reliable TSC. A

Re: [PATCH v9 1/3] RTC: RK808: add RTC driver for RK808

2014-09-04 Thread Doug Anderson
Dmitry, On Thu, Sep 4, 2014 at 10:33 AM, Dmitry Torokhov wrote: > On Wed, Sep 03, 2014 at 09:18:42PM -0700, Doug Anderson wrote: >> Chris, >> >> On Wed, Sep 3, 2014 at 6:12 PM, Chris Zhong wrote: >> > Adding RTC driver for supporting RTC device present inside RK808 PMIC. >> > >> > Signed-off-by:

[PATCH] x86/microcode: add parameter dis_ucode_ldr in kernel-paramenters.txt

2014-09-04 Thread Fenghua Yu
From: Fenghua Yu The kernel parameter dis_ucode_ldr disables early loading microcode from initrd. The parameter was introduced earlier by Borislave Petkov. This patch adds the explanation for this parameter in Documentation/kernel-parameters.txt for user convenience. Signed-off-by: Fenghua Yu

Re: [PATCH v9 3/3] regulator: RK808: Remove pdata from the regulator

2014-09-04 Thread Doug Anderson
Hi, On Wed, Sep 3, 2014 at 6:12 PM, Chris Zhong wrote: > - * Author: Chris Zhong > - * Author: Zhang Qing > + * Author: Chris Zhong > + * Author: Zhang Qing As Dmitry pointed out, you probably shouldn't have changed these lines--they were good like they were. -Doug -- To unsubscribe from thi

Re: [PATCH 4/5] x86, mm: Add set_memory_wt() for WT

2014-09-04 Thread Toshi Kani
On Thu, 2014-09-04 at 11:57 -0700, Andy Lutomirski wrote: > On Thu, Sep 4, 2014 at 11:35 AM, Toshi Kani wrote: > > This patch adds set_memory_wt(), set_memory_array_wt(), and > > set_pages_array_wt() for setting range(s) of memory to WT. > > > > Possibly dumb question: I thought that set_memory_x

Re: [REGRESSION] "efi: efistub: Convert into static library" and preparation patches

2014-09-04 Thread Ard Biesheuvel
On 4 September 2014 14:54, Michael Brown wrote: > On 04/09/14 11:48, Maarten Lankhorst wrote: If not, Ard please go ahead with option #2 above. Overkill yes, but I've done the single __attribute__() hacks in other projects and someone (usually me) always eventually forgets to t

Re: [PATCH] KVM: x86: fix kvmclock breakage from timers branch merge

2014-09-04 Thread Paolo Bonzini
Il 04/09/2014 21:00, John Stultz ha scritto: > > Hey, thanks for reporting the issue and sending an initial patch (even > if its not quite all sorted yet). > > Is the test you're using here available somewhere? Are there any > special requirements to run it? You need KVM on a machine with clocks

Re: [PATCHv10 1/2] edac: altera: Add Altera SDRAM EDAC support.

2014-09-04 Thread Dinh Nguyen
On 08/29/2014 11:02 AM, Borislav Petkov wrote: > On Mon, Aug 11, 2014 at 10:18:12AM -0500, ttha...@opensource.altera.com wrote: >> From: Thor Thayer >> >> This patch adds support for the CycloneV and ArriaV SDRAM controllers. >> Correction and reporting of SBEs, Panic on DBEs. >> >> Signed-off-by:

Re: [PATCH 4/5] x86, mm: Add set_memory_wt() for WT

2014-09-04 Thread Andy Lutomirski
On Thu, Sep 4, 2014 at 11:57 AM, Toshi Kani wrote: > On Thu, 2014-09-04 at 11:57 -0700, Andy Lutomirski wrote: >> On Thu, Sep 4, 2014 at 11:35 AM, Toshi Kani wrote: >> > This patch adds set_memory_wt(), set_memory_array_wt(), and >> > set_pages_array_wt() for setting range(s) of memory to WT. >>

Re: [PATCH] KVM: x86: fix kvmclock breakage from timers branch merge

2014-09-04 Thread Paolo Bonzini
Il 04/09/2014 20:16, Chris J Arges ha scritto: >> +boot_ns = timespec_to_ns(&tk->total_sleep_time) >> ++ tk->wall_to_monotonic.tv_sec * (u64)NSEC_PER_SEC >> ++ tk->wall_to_monotonic.tv_nsec >> ++ tk->xtime_sec * (u64)NSEC_PER_SEC; So this means that the abov

Re: RCU bug with v3.17-rc3 ?

2014-09-04 Thread Paul E. McKenney
On Thu, Sep 04, 2014 at 01:40:21PM -0500, Felipe Balbi wrote: > Hi, > > I keep triggering the following Oops with -rc3 when writing to the mass > storage gadget driver: v3.17-rc3, correct? I take it that the test passes on some earlier version?

Re: task_numa_fault() && TASK_DEAD

2014-09-04 Thread Hugh Dickins
On Thu, 4 Sep 2014, Oleg Nesterov wrote: > On 09/04, Peter Zijlstra wrote: > > On Wed, Sep 03, 2014 at 06:08:19PM +0200, Oleg Nesterov wrote: > > > > > And a stupid (really, I don't understand this code) question: > > > > > > /* for example, ksmd faulting in a user's mm */ > > > if (!p->mm) > >

Re: OT: Open letter to the Linux World

2014-09-04 Thread Rob Landley
On Thu, Sep 4, 2014 at 1:33 PM, Alexander Holler wrote: >>> Hmm, a sane and maintainable solution would use C++ with which people >>> don't >>> have to manually build lists or hashes for every structure like in the >>> kernel (generic programming done right). So you won't find much kernel >>> deve

Re: PROBLEM: 3.17-rc3 module dependency loops

2014-09-04 Thread Michael Shigorin
On Thu, Sep 04, 2014 at 08:56:11PM +0200, RICARD Christophe wrote: > However, the issue got already reported and a fix proposal was > done at the following location: Ah, sorry for list mismatch and thank you for the fix :-) --   WBR, Michael Shigorin / http://altlinux.org   -- http://ope

Re: [PATCH] mmc: dw_mmc: Don't enable interrupts until we're ready

2014-09-04 Thread Doug Anderson
Jaehoon, On Wed, Sep 3, 2014 at 10:21 PM, Jaehoon Chung wrote: > Hi Doug > > On 09/03/2014 08:37 AM, Doug Anderson wrote: >> On dw_mmc there's a small race if you happen to get a card detect >> interrupt at just the wrong time during probe. You may have enabled >> the interrupt but host->slot[0]

Re: [stable -3.14] PM backports for pm_test / CONFIG_PM_DEBUG

2014-09-04 Thread Rafael J. Wysocki
On Wednesday, September 03, 2014 06:02:19 PM Brian Norris wrote: > Hi, > > If I enable CONFIG_PM_DEBUG on a 3.14.y kernel, I can see the following > results: > > # cat /sys/power/state > freeze standby mem > # cat /sys/power/pm_test > [none] core processors platform devices freeze

Re: RCU bug with v3.17-rc3 ?

2014-09-04 Thread Felipe Balbi
On Thu, Sep 04, 2014 at 12:16:42PM -0700, Paul E. McKenney wrote: > On Thu, Sep 04, 2014 at 01:40:21PM -0500, Felipe Balbi wrote: > > Hi, > > > > I keep triggering the following Oops with -rc3 when writing to the mass > > storage gadget driver: > > v3.17-rc3, correct? yup, as in subject ;-) > I

Re: [PATCH v2] checkpatch: allow optional shorter config descriptions

2014-09-04 Thread Joe Perches
On Thu, 2014-09-04 at 11:23 -0700, Vadim Bendebury wrote: > This script is used by many other projects, and in some of them the > requirement of at least 4 line long description for all Kconfig items > is excessive. This patch adds a command line option to control the > required minimum length. >

Re: [RFC] dynticks: dynticks_idle is only modified locally use this_cpu ops

2014-09-04 Thread Paul E. McKenney
On Thu, Sep 04, 2014 at 01:19:29PM -0500, Christoph Lameter wrote: > On Thu, 4 Sep 2014, Paul E. McKenney wrote: > > > So in short, you don't see the potential for this use case actually > > breaking anything, correct? > > In general its a performance impact but depending on how this_cpu_ops may

Re: [PATCH 0/2] Add exit_prepare callback to the cpufreq_driver interface.

2014-09-04 Thread Rafael J. Wysocki
On Thursday, September 04, 2014 04:07:28 PM Viresh Kumar wrote: > On 4 September 2014 15:33, Preeti U Murthy wrote: > > I think Rafael's point was that since no driver that had implemented the > > target_index callback was using it at the time that this patch was > > proposed, it was be best to co

Re: [PATCH] ARM: tegra: Move AHB Kconfig to drivers/amba

2014-09-04 Thread Stephen Warren
On 08/25/2014 11:29 AM, Stephen Warren wrote: On 07/29/2014 10:21 AM, Stephen Warren wrote: On 07/29/2014 08:25 AM, Thierry Reding wrote: From: Thierry Reding This will allow the Kconfig option to be shared among 32-bit and 64-bit ARM. This seems fine to me. I'd expect to apply it for 3.18,

Re: [PATCH] eeepc-laptop: remove possible use of uninitialized value

2014-09-04 Thread Paul Bolle
On Thu, 2014-09-04 at 16:40 +0200, Frans Klaver wrote: > I'll I fire up my eeepc and see what I can figure out. Should I take > Pauls patch and see how it fits into this? I haven't followed the conversation you're having with Greg, but I would be grateful if you'd test _just_ my patch. Unless some

Re: [PATCH 4/5] x86, mm: Add set_memory_wt() for WT

2014-09-04 Thread Toshi Kani
On Thu, 2014-09-04 at 12:14 -0700, Andy Lutomirski wrote: > On Thu, Sep 4, 2014 at 11:57 AM, Toshi Kani wrote: > > On Thu, 2014-09-04 at 11:57 -0700, Andy Lutomirski wrote: > >> On Thu, Sep 4, 2014 at 11:35 AM, Toshi Kani wrote: > >> > This patch adds set_memory_wt(), set_memory_array_wt(), and >

Re: bit fields && data tearing

2014-09-04 Thread Peter Hurley
On 09/04/2014 12:50 PM, One Thousand Gnomes wrote: >> Besides updating the documentation, it may make sense to do something >> arch-specific. Just bumping out storage on arches that don't need it >> seems wasteful, as does generating bus locks on arches that don't need it. >> Unfortunately, the cod

Re: [PATCH] KVM: x86: fix kvmclock breakage from timers branch merge

2014-09-04 Thread Paolo Bonzini
Il 04/09/2014 21:15, Paolo Bonzini ha scritto: > Il 04/09/2014 20:16, Chris J Arges ha scritto: >>> + boot_ns = timespec_to_ns(&tk->total_sleep_time) >>> + + tk->wall_to_monotonic.tv_sec * (u64)NSEC_PER_SEC >>> + + tk->wall_to_monotonic.tv_nsec >>> + + tk->xtime_sec

Re: [PATCH 0/2] ARM: dts: dra7-evm: fixes for mux and VTT control

2014-09-04 Thread Tony Lindgren
* Nishanth Menon [140904 06:24]: > Hi, > > The following series was inspired in part by > http://marc.info/?l=linux-omap&m=140974309205295&w=2 > causing me to try and do an audit of pinctrl configurations on the platform. > > Further, failures on latest board updates in the automated farm also

Re: [PATCH] [media] dib0090: remove manual configuration system

2014-09-04 Thread Paul Bolle
Hi Mauro, On Thu, 2014-09-04 at 12:36 -0300, Mauro Carvalho Chehab wrote: > Em Thu, 22 May 2014 14:48:07 +0200 > Paul Bolle escreveu: > > > dib0900.c has always shipped with its own, manual, configuration > > system. There a three problems with it. > > > > 1) macros that are defined, but not us

[PATCH v2] drbd: fix throttling on newly created DM backing devices

2014-09-04 Thread Imre Palik
From: "Palik, Imre" If the drbd backing device is a new device mapper device (e.g., a dm-linear mapping of an existing block device that contains data), the counters are initially 0 even though the device contains useful data. This causes throttling until something accesses the drbd device or the

<    1   2   3   4   5   6   7   8   >