Re: [PATCH RFC tip/core/rcu] Eliminate deadlock between CPU hotplug and expedited grace periods

2014-08-28 Thread Lan Tianyu
On 2014年08月29日 03:47, Paul E. McKenney wrote: > Currently, the expedited grace-period primitives do get_online_cpus(). > This greatly simplifies their implementation, but means that calls to > them holding locks that are acquired by CPU-hotplug notifiers (to say > nothing of calls to these primitiv

Re: [PATCH v2 1/2] gpio: acpi: normalize use of gpiochip_get_desc()

2014-08-28 Thread Linus Walleij
On Tue, Aug 19, 2014 at 7:06 PM, Alexandre Courbot wrote: > GPIO descriptors are changing from unique and permanent tokens to > allocated resources. Therefore gpiochip_get_desc() cannot be used as a > way to obtain a global GPIO descriptor anymore. > > This patch updates the gpiolib ACPI support

Re: [PATCH v2 2/2] gpio: change gpiochip_request_own_desc() prototype

2014-08-28 Thread Linus Walleij
On Tue, Aug 19, 2014 at 7:06 PM, Alexandre Courbot wrote: > The current prototype of gpiochip_request_own_desc() requires to obtain > a pointer to a descriptor. This is in contradiction to all other GPIO > request schemes, and imposes an extra step of obtaining a descriptor to > drivers. Most dri

Re: [PATCH] Documentation: gpio: documentation for optional getters functions

2014-08-28 Thread Linus Walleij
On Mon, Aug 18, 2014 at 6:39 PM, Alexandre Courbot wrote: > Add a mention about the _optional variants of (devm_)gpiod_get*(). > > Signed-off-by: Alexandre Courbot Patch applied for fixes. Yours, LInus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the bo

[RFC][PATCH] ASoC: simple-card: Merge single and muti DAI link code.

2014-08-28 Thread Xiubo Li
This patch merge single DAI link and muti-DAI links code together, and simply the simple-card driver code. And also do some other improvement: Since from the DAI format micro SND_SOC_DAIFMT_CBx_CFx, the 'CBx' mean Codec's bit clock is as master/slave and the 'CFx' mean Codec's frame clock is as m

[PATCH] davinci-mmc: Use IRQ to detect "card not busy" status change

2014-08-28 Thread Mike Looijmans
The davinci-mmc driver uses a busy wait loop to wait for the card to become ready (BUSY signal). The MMC card uses this to signal the controller that it's busy writing and cannot handle new requests yet. This loop often takes 100k cycles and 10ms to complete. The controller can raise an interrupt

Re: [PATCH] davinci-mmc: Use IRQ to detect "card not busy" status change

2014-08-28 Thread Mike Looijmans
Note: I have not been able to test or even compile this on recent kernels. Can somebody verify that this does not kill the SD driver? Mike. On 08/29/2014 08:41 AM, Mike Looijmans wrote: The davinci-mmc driver uses a busy wait loop to wait for the card to become ready (BUSY signal). The MMC car

Re: [PATCH] rtc: ds1307: add trickle charger device tree binding

2014-08-28 Thread Matti Vaittinen
On Thu, Aug 28, 2014 at 10:40:34AM -0700, ext Guenter Roeck wrote: > On Thu, Aug 28, 2014 at 01:28:42PM -0400, Jason Cooper wrote: > > On Thu, Aug 28, 2014 at 09:48:25AM -0700, Guenter Roeck wrote: > > > On Thu, Aug 28, 2014 at 05:10:25PM +0100, Mark Rutland wrote: > > > > On Thu, Aug 28, 2014 at 0

Re: GET_RNG_SEED hypercall ABI? (Re: [PATCH v5 0/5] random,x86,kvm: Rework arch RNG seeds and get some from kvm)

2014-08-28 Thread Paolo Bonzini
Il 29/08/2014 02:13, Andy Lutomirski ha scritto: > Hmm. Then, assuming that someone manages to allocate a > cross-hypervisor MSR number for this, what am I supposed to do in the > KVM code? Just make it available unconditionally? I don't see why > that wouldn't work reliably, but it seems like a

Re: [PATCH] rtc: ds1307: add trickle charger device tree binding

2014-08-28 Thread Matti Vaittinen
On Thu, Aug 28, 2014 at 01:59:15PM +0100, ext Mark Rutland wrote: > On Thu, Aug 28, 2014 at 01:42:44PM +0100, Matti Vaittinen wrote: > > Patch adding support for specifying trickle charger setup from device > > tree. Patch is based on linux-next tree. > > > > > > Some DS13XX devices have "trickle

Re: [RFC PATCH 7/9] gpio: sch: Consolidate core and resume banks

2014-08-28 Thread Linus Walleij
On Sat, Aug 16, 2014 at 8:53 AM, Mika Westerberg wrote: > This is actually a single device with two sets of identical registers, > which just happen to start from a different offset. Instead of having > separate GPIO chips created we consolidate them to be single GPIO chip. > > In addition having

Dear Webmail User,

2014-08-28 Thread Taiwan Webmail Help Desk
Dear Webmail User, This is to inform you that you have exceeded your quota limit of 325MB in our database e-mail and you need to increase your quota limit of email because in less than 48hours your e-mail will be disabled. Increase the share of e-mail limit and continue to use your webmail acc

Re: [PATCH 2/2] Drivers: scsi: storvsc: Force discovery of LUNs that may have been removed.

2014-08-28 Thread Hannes Reinecke
On 08/29/2014 04:42 AM, Mike Christie wrote: On 08/27/2014 09:31 AM, Hannes Reinecke wrote: On 08/19/2014 07:54 PM, Christoph Hellwig wrote: On Sat, Aug 16, 2014 at 08:09:48PM -0700, K. Y. Srinivasan wrote: The host asks the guest to scan when a LUN is removed or added. The only way a guest ca

Re: [PATCH v2 2/3] dt: Document Qualcomm APQ8084 pinctrl binding

2014-08-28 Thread Bjorn Andersson
On Tue 26 Aug 05:45 PDT 2014, Georgi Djakov wrote: > Define a new binding for the Qualcomm TLMM (Top-Level Mode Mux) based pin > controller inside the APQ8084. > > Signed-off-by: Georgi Djakov [...] > +Valid values for function are: > +adsp_ext, audio_ref, blsp_i2c1, blsp_i2c2, blsp_i2c3, blsp_i

Re: [PATCH v2 1/3] pinctrl: qcom: Add APQ8084 pinctrl support

2014-08-28 Thread Bjorn Andersson
On Tue 26 Aug 05:45 PDT 2014, Georgi Djakov wrote: Hi Georgi, Sorry for missing this before, but I did a quick walkthrough and unfortunately the gpio configuration needs a few updates. > diff --git a/drivers/pinctrl/qcom/pinctrl-apq8084.c > b/drivers/pinctrl/qcom/pinctrl-apq8084.c [...] > + > +

Re: [RFC PATCH] gpiolib: Provide and export gpiod_export_name

2014-08-28 Thread Guenter Roeck
On 08/28/2014 10:44 PM, Linus Walleij wrote: On Mon, Aug 11, 2014 at 5:20 PM, Alexandre Courbot wrote: On Tue, Aug 12, 2014 at 12:15 AM, Guenter Roeck wrote: This is just one of many patches which would make it possible to submit the rest, which would make use of it. What you are saying is

Re: [PATCH] pinctrl: baytrail: resolve unbalanced IRQ wake disable warning

2014-08-28 Thread Linus Walleij
On Mon, Aug 11, 2014 at 3:51 PM, Mathias Nyman wrote: > Add the IRQCHIP_SKIP_SET_WAKE flag to baytrail gpio irq_chip > to resolve unbalaced IRQ wake disable warnings. > > Suggested-by: Borun Fu > Signed-off-by: Mathias Nyman Patch applied for fixes with Mika's ACK. Had to rebase it a bit, You

Re: [PATCH] gpio: zynq: Remove .owner field for driver

2014-08-28 Thread Linus Walleij
On Wed, Aug 13, 2014 at 2:01 PM, Michal Simek wrote: > There is no need to init .owner field. > > Based on the patch from Peter Griffin > "mmc: remove .owner field for drivers using module_platform_driver" > > This patch removes the superflous .owner field for drivers which > use the module_plat

[PATCH v2 7/7] MIPS: ralink: Move device-trees to arch/mips/boot/dts/ralink/

2014-08-28 Thread Andrew Bresticker
Move the Ralink device-trees to arch/mips/boot/dts/ralink/ and update the Makefiles accordingly. A built-in device-tree is optional, so select BUILTIN_DTB when it is requested. Signed-off-by: Andrew Bresticker --- Looks like this one didn't make it through the first time. --- arch/mips/boot/dts

Re: [RFC PATCH] gpiolib: Provide and export gpiod_export_name

2014-08-28 Thread Linus Walleij
On Mon, Aug 11, 2014 at 5:20 PM, Alexandre Courbot wrote: > On Tue, Aug 12, 2014 at 12:15 AM, Guenter Roeck wrote: >> This is just one of many patches which would make it possible to submit >> the rest, which would make use of it. What you are saying is that it won't >> make sense to submit that

Re: [PATCH v2 1/3] pinctrl: qcom: Add APQ8084 pinctrl support

2014-08-28 Thread Linus Walleij
On Tue, Aug 26, 2014 at 2:45 PM, Georgi Djakov wrote: > This patchset adds pinctrl support for the Qualcomm APQ8084 platform. > > Signed-off-by: Georgi Djakov Looks good to me, but waiting for Björn's review before merging. Yours, Linus Walleij -- To unsubscribe from this list: send the line "

Re: [PATCH] earlyprintk: re-enable earlyprintk calling early_param

2014-08-28 Thread Sahara
On Wed, 27 Aug 2014, Thierry Reding wrote: On Thu, Aug 14, 2014 at 07:13:36PM +0900, kpark3...@gmail.com wrote: From: Sahara Although there are many obs_kernel_param and its names are earlyprintk and also EARLY_PRINTK is also enabled, we could not see the early_printk output properly until

Re: [PATCH 2/2] pinctrl: imx6sl: introduce MODULE_DEVICE_TABLE for module autoloading

2014-08-28 Thread Linus Walleij
On Mon, Aug 11, 2014 at 4:54 PM, Kiran Padwal wrote: > Enable autoloading of pinctrl-imx6sl module when a corresponing DT entry is > present. > > Signed-off-by: Kiran Padwal This patch applied separately. Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-

Re: [PATCH 1/3] pinctrl: tegra124: Make of_device_id array const

2014-08-28 Thread Linus Walleij
On Mon, Aug 11, 2014 at 4:02 PM, Kiran Padwal wrote: > Make of_device_id array const, because all OF functions handle it as const. > > Signed-off-by: Kiran Padwal Applied and squashed. Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body o

Re: [PATCH 11/11] pinctrl: imx6sx: Make of_device_id array const

2014-08-28 Thread Linus Walleij
On Mon, Aug 11, 2014 at 5:42 PM, Kiran Padwal wrote: > Make of_device_id array const, because all OF functions handle it as const. > --- > drivers/pinctrl/pinctrl-imx6sx.c |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Applied and squashed. Yours, Linus Walleij -- To unsubscribe fr

Re: [PATCH] mm, slub: do not add duplicate sysfs

2014-08-28 Thread WANG Chao
On 08/28/14 at 09:47am, Christoph Lameter wrote: > On Thu, 28 Aug 2014, WANG Chao wrote: > > > What about failslab_store()? SLAB_FAILSLAB is also a nomerge flag. > > > Subject: slub: Disable tracing and failslab for merged slabs > > Tracing of mergeable slabs as well as uses of failslab are > c

Re: [PATCH 10/11] pinctrl: imx6q: Make of_device_id array const

2014-08-28 Thread Linus Walleij
On Mon, Aug 11, 2014 at 5:42 PM, Kiran Padwal wrote: > Make of_device_id array const, because all OF functions handle it as const. > --- > drivers/pinctrl/pinctrl-imx6q.c |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Applied and squashed. Yours, Linus Walleij -- To unsubscribe fro

linux-next: Tree for Aug 29

2014-08-28 Thread Stephen Rothwell
Hi all, I will be on vacation for the next week, so the next linux-next that I will release will be next-20140908. Sorry for the inconvenience. Changes since 20140828: The staging tree still had its build failure for which I applied a fix patch. Non-merge commits (relative to Linus'

Re: [PATCH 09/11] pinctrl: imx6dl: Make of_device_id array const

2014-08-28 Thread Linus Walleij
On Mon, Aug 11, 2014 at 5:42 PM, Kiran Padwal wrote: > Make of_device_id array const, because all OF functions handle it as const. > --- > drivers/pinctrl/pinctrl-imx6dl.c |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Yours, Linus Walleij -- To unsubscribe from this list: send the

Re: [PATCH 08/11] pinctrl: imx53: Make of_device_id array const

2014-08-28 Thread Linus Walleij
On Mon, Aug 11, 2014 at 5:41 PM, Kiran Padwal wrote: > Make of_device_id array const, because all OF functions handle it as const. > --- > drivers/pinctrl/pinctrl-imx53.c |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Applied and squashed. Yours, Linus Walleij -- To unsubscribe fro

Re: [PATCH 07/11] pinctrl: imx51: Make of_device_id array const

2014-08-28 Thread Linus Walleij
On Mon, Aug 11, 2014 at 5:41 PM, Kiran Padwal wrote: > Make of_device_id array const, because all OF functions handle it as const. > --- > drivers/pinctrl/pinctrl-imx51.c |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Applied and squashed. Yours, Linus Walleij -- To unsubscribe fro

Re: [PATCH 06/11] pinctrl: imx50: Make of_device_id array const

2014-08-28 Thread Linus Walleij
On Mon, Aug 11, 2014 at 5:39 PM, Kiran Padwal wrote: > Make of_device_id array const, because all OF functions handle it as const. > --- > drivers/pinctrl/pinctrl-imx50.c |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) APplied and squashed. Yours, Linus Walleij -- To unsubscribe fro

Re: [PATCH 05/11] pinctrl: imx35: Make of_device_id array const

2014-08-28 Thread Linus Walleij
On Mon, Aug 11, 2014 at 5:38 PM, Kiran Padwal wrote: > Make of_device_id array const, because all OF functions handle it as const. > --- > drivers/pinctrl/pinctrl-imx35.c |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Applied and squashed. Yours, Linus Walleij -- To unsubscribe fro

Re: [PATCH 04/11] pinctrl: imx28: Make of_device_id array const

2014-08-28 Thread Linus Walleij
On Mon, Aug 11, 2014 at 5:38 PM, Kiran Padwal wrote: > Make of_device_id array const, because all OF functions handle it as const. > --- > drivers/pinctrl/pinctrl-imx28.c |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Yours, Linus Walleij -- To unsubscribe from this list: send the l

Re: [PATCH 03/11] pinctrl: imx27: Make of_device_id array const

2014-08-28 Thread Linus Walleij
On Mon, Aug 11, 2014 at 5:37 PM, Kiran Padwal wrote: > Make of_device_id array const, because all OF functions handle it as const. > --- > drivers/pinctrl/pinctrl-imx27.c |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Applied and squashed. Yours, Linus Walleij -- To unsubscribe fro

BUG: drivers/char/random.c:986

2014-08-28 Thread Calvin Owens
Hello all, I hit this BUG_ON() on my laptop a few days ago: http://i.imgur.com/N1GQeJW.jpg In the current upstream, this corresponds to line 1022: BUG_ON(r->entropy_count > r->poolinfo->poolfracbits); It triggered when I executed `dd if=/dev/urandom of=file bs=N count=1` while watching

Re: [PATCH 02/11] pinctrl: imx25: Make of_device_id array const

2014-08-28 Thread Linus Walleij
On Mon, Aug 11, 2014 at 5:34 PM, Kiran Padwal wrote: > Make of_device_id array const, because all OF functions handle it as const. > --- > drivers/pinctrl/pinctrl-imx25.c |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Applied and squashed. Yours, Linus Walleij -- To unsubscribe fro

Re: [PATCH 01/11] pinctrl: imx23: Make of_device_id array const

2014-08-28 Thread Linus Walleij
On Mon, Aug 11, 2014 at 5:34 PM, Kiran Padwal wrote: > Make of_device_id array const, because all OF functions handle it as const. > --- > drivers/pinctrl/pinctrl-imx23.c |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Applied and squashed. Yours, Linus Walleij -- To unsubscribe fro

Re: [PATCH 2/3] pinctrl: tegra20: Make of_device_id array const

2014-08-28 Thread Linus Walleij
On Mon, Aug 11, 2014 at 4:03 PM, Kiran Padwal wrote: > Make of_device_id array const, because all OF functions handle it as const. > > Signed-off-by: Kiran Padwal Applied and squashed. Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body o

Re: [PATCH] ARM: zynq: DT: Add LEDs to zc702 DT

2014-08-28 Thread Michal Simek
On 08/28/2014 07:15 PM, Sören Brinkmann wrote: > On Thu, 2014-08-28 at 09:22AM -0700, Soren Brinkmann wrote: >> From: Ezra Savard >> >> Adds LEDs to the zc702 devicetree for use with the leds-gpio driver. >> >> Signed-off-by: Ezra Savard >> Reviewed-by: Soren Brinkmann >> --- >> arch/arm/boot/d

Re: [PATCHv3 1/3] fs/buffer.c: allocate buffer cache with user specific flag

2014-08-28 Thread Gioh Kim
2014-08-28 오후 7:59, Jan Kara 쓴 글: On Thu 28-08-14 11:31:46, Gioh Kim wrote: A buffer cache is allocated from movable area because it is referred for a while and released soon. But some filesystems are taking buffer cache for a long time and it can disturb page migration. New APIs are introdu

[PATCH 1/1] USB: Add device quirk for ASUS T100 Base Station keyboard

2014-08-28 Thread Lu Baolu
This full-speed USB device generates spurious remote wakeup event as soon as USB_DEVICE_REMOTE_WAKEUP feature is set. As the result, Linux can't enter system suspend and S0ix power saving modes once this keyboard is used. This patch tries to introduce USB_QUIRK_IGNOR_REMOTE_WAKEUP quirk. With this

Re: use IORESOURCE_REG resource type for non-translatable addresses in DT

2014-08-28 Thread Bjorn Andersson
On Wed, Aug 27, 2014 at 2:55 PM, Stephen Boyd wrote: > What's Josh's original proposal? We've already punted on this for SSBI > PMICs and just required them to put registers in DT for use some day and > I don't see anyone blocking individual SPMI pmic drivers from merging > over this. So I guess I

Re: [PATCH 2/3] x86: Enable PAT to use cache mode translation tables

2014-08-28 Thread Juergen Gross
On 08/29/2014 01:21 AM, Toshi Kani wrote: On Tue, 2014-08-26 at 08:16 +0200, Juergen Gross wrote: Update the translation tables from cache mode to pgprot values according to the PAT settings. This enables changing the cache attributes of a PAT index in just one place without having to change at

Re: [PATCH] pci/probe: Enable CRS for Intel Haswell root ports

2014-08-28 Thread Wei Yang
On Thu, Aug 28, 2014 at 02:55:25PM -0700, Rajat Jain wrote: >The PCIe root port of the Intel Haswell CPU, has a behavior to endlessly >retry the configuration cycles, if an endpoint responds with a CRS >(Configuration Request Retry Status), and the "CRS Software Visibility" >flag is not set at the

Re: [PATCH] vexpress/spc: fix a build warning on array bounds

2014-08-28 Thread Pawel Moll
On pią, 2014-08-29 at 02:45 +0100, Alex Shi wrote: > On 07/16/2014 07:28 PM, Sudeep Holla wrote: > > > > > > On 16/07/14 12:21, Alex Shi wrote: > >> With ARCH_VEXPRESS_SPC option, kernel build has the following > >> warning: > >> > >> arch/arm/mach-vexpress/spc.c: In function ‘ve_spc_clk_init’: >

Re: net_ns cleanup / RCU overhead

2014-08-28 Thread Julian Anastasov
Hello, On Thu, 28 Aug 2014, Simon Kirby wrote: > I noticed that [kworker/u16:0]'s stack is often: > > [] wait_rcu_gp+0x46/0x50 > [] synchronize_sched+0x2e/0x50 > [] nf_nat_net_exit+0x2c/0x50 [nf_nat] I guess the problem is in nf_nat_net_exit, may be other nf exit handlers too.

Re: [PATCH] pinctrl: qcom: Release pin ranges when gpiochip_irqchip_add fails

2014-08-28 Thread Bjorn Andersson
On Thu 28 Aug 00:13 PDT 2014, Pramod Gurav wrote: > On Thursday 28 August 2014 02:54 AM, Bjorn Andersson wrote: > > On Wed, Aug 27, 2014 at 3:57 AM, Pramod Gurav > > wrote: > >> This patches adds a call to gpiochip_remove_pin_ranges when > >> gpiochip_irqchip_add fails to release memory allocated

Re: [RFC PATCH V2] PM/CPU: Parallel enalbing nonboot cpus with resume devices

2014-08-28 Thread Lan Tianyu
On 2014年08月22日 16:33, Lan Tianyu wrote: > In the current world, all nonboot cpus are enabled serially during system > resume. System resume sequence is that boot cpu enables nonboot cpu one by > one and then resume devices. Before resuming devices, there are few tasks > assigned to nonboot cpus aft

RE: [PANIC, hyperv] BUG: unable to handle kernel paging request at ffff880077800004 (hv_ringbuffer_write)

2014-08-28 Thread Dexuan Cui
> -Original Message- > From: Sitsofe Wheeler > Sent: Thursday, August 28, 2014 20:49 PM > > > > The only issue seen on boot now is similar to > > > > https://lkml.org/lkml/2014/8/19/227 ... > > > I don't see this issue. Do you still see the issue for EVERY boot > > after you applied KY's

Re: [PATCH net v4 4/4] tg3: Fix tx_pending checks for tg3_tso_bug

2014-08-28 Thread Prashant Sreedharan
> > - for (i = 0; i < tp->irq_max; i++) > - tp->napi[i].tx_pending = ering->tx_pending; > + dev->gso_max_segs = TG3_TX_SEG_PER_DESC(ering->tx_pending - 1); > + for (i = 0; i < tp->irq_max; i++) { > + struct tg3_napi *tnapi = &tp->napi[i]; > + > + tn

Re: [PATCH net-next 2/2] net: exit busy loop when another process is runnable

2014-08-28 Thread Jason Wang
On 08/22/2014 03:42 PM, Ingo Molnar wrote: > * Jason Wang wrote: > >> Polling could be done by either rx busy loop in process >> context or NAPI in softirq. [...] > Note that this shows another reason why it's a bad idea to > query nr_running directly: depending on the softirq processing > meth

[PATCH] try to use automatic variable in kexec purgatory makefile

2014-08-28 Thread Baoquan He
This change makes the Makefile of kexec purgatory be consistent with others in linux src tree, and makes it look generic and simple. Signed-off-by: Baoquan He --- arch/x86/purgatory/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/x86/purgatory/Makefile b/arch/

Re: [RESEND PATCH] ARM: dts: make arch-timer always on in rk3288 soc

2014-08-28 Thread Huang Tao
Hi, Mark: 在 2014年08月28日 23:11, Mark Rutland 写道: > To clarify: if there are low power states that the CPU can enter where > we lose state, then this patch isn't correct. Right now, the software of RK3288 SoC only support CPU hotplug (cpu_on/off) and power off all CPUs on suspend. We do not implemen

Re: [PATCH v3 3/4] thermal: add more description for thermal-zones

2014-08-28 Thread Wei Ni
On 08/28/2014 09:21 PM, Eduardo Valentin wrote: > Hello Wei, > > On Thu, Aug 28, 2014 at 09:50:01AM +0800, Wei Ni wrote: >> On 08/27/2014 09:32 PM, Eduardo Valentin wrote: >>> Hello Wei, >>> >>> On Wed, Aug 27, 2014 at 10:54:07AM +0800, Wei Ni wrote: On 08/26/2014 08:12 PM, Eduardo Valentin w

Re: [PATCH net v4 4/4] tg3: Fix tx_pending checks for tg3_tso_bug

2014-08-28 Thread Prashant Sreedharan
> if (netif_running(dev)) { > @@ -12346,8 +12380,15 @@ static int tg3_set_ringparam(struct net_device *dev, > struct ethtool_ringparam *e > if (tg3_flag(tp, JUMBO_RING_ENABLE)) > tp->rx_jumbo_pending = ering->rx_jumbo_pending; > > - for (i = 0; i < tp->irq_max; i++

[PATCH] ACPI/EC: Add msi quirk for Clevo W350etq

2014-08-28 Thread Lan Tianyu
Clevo W350etq's EC will not produce GPE interrupt some time after booting. The ACPI notify event won't trigger when the issue takes place. After debugging, adding msi quirk for the machine can fix the issue. This patch is to add msi quirk for the machine. Reference: https://bugzilla.kernel.org/sho

[GIT PULL] ext4 bug fixes for 3.17

2014-08-28 Thread Theodore Ts'o
The following changes since commit 7d1311b93e58ed55f3a31cc8f94c4b8fe988a2b9: Linux 3.17-rc1 (2014-08-16 10:40:26 -0600) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4.git tags/ext4_for_linus_stable for you to fetch changes up to d80d448c6c5

Re: [PATCH 2/2] Drivers: scsi: storvsc: Force discovery of LUNs that may have been removed.

2014-08-28 Thread Mike Christie
On 08/27/2014 09:31 AM, Hannes Reinecke wrote: > On 08/19/2014 07:54 PM, Christoph Hellwig wrote: >> On Sat, Aug 16, 2014 at 08:09:48PM -0700, K. Y. Srinivasan wrote: >>> The host asks the guest to scan when a LUN is removed or added. >>> The only way a guest can identify the removed LUN is when an

[PATCH V2] debugfs: keep the old mode value at remount when no explicit change

2014-08-28 Thread Chen LinX
From: "Chen, LinX" Android framework has a good method to detect userspace hang and reports UIWDT issues. It uses client/server model. Clients communicate with servers by binder. binder has debugfs interfaces. Some files show what threads are communicating with what other threads. If one thread i

[PATCH] ARM: dts: vf610-twr: remove useless property for sound card.

2014-08-28 Thread Xiubo Li
This was added by: Commit 8128c4f36 ("ARM: dts: vf610-twr: Add simple-card support.") This useless property may cause some confusions for users. Signed-off-by: Xiubo Li --- arch/arm/boot/dts/vf610-twr.dts | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/boot/dts/vf610-twr.dts b/arch/

Re: [PATCH v2 2/7] Adding Skyworks SKY81452 regulator driver

2014-08-28 Thread Gyungoh Yoo
On Thu, Aug 28, 2014 at 12:02:54PM +0100, Mark Brown wrote: > On Thu, Aug 28, 2014 at 07:46:37PM +0900, Gyungoh Yoo wrote: > > v2: > > Added 'compatible' attribute in the driver > > Added message for exception or errors. > > This driver has already been applied, please send any changes as > increm

RE: Kernel bug 60770

2014-08-28 Thread Brown, Len
ISTR that I got interrupted when working on that one and never got back to it. Also, I think I had a puzzling power measurement result -- like I had measured a power benefit, and then i couldn't find a benefit. (No matter, should be a perf benefit even if ISO power) Next week I should have acces

[PATCH v2.1 1/7] Adding Skyworks SKY81452 MFD driver

2014-08-28 Thread Gyungoh Yoo
v2.1: Clear mfd_cells to zero before setting. Added of_compatible into mfd_cells --- drivers/mfd/Kconfig | 12 + drivers/mfd/Makefile | 1 + drivers/mfd/sky81452.c | 111 +++ include/linux/mfd/sky81452.h | 32 + 4

Re: [PATCH] vexpress/spc: fix a build warning on array bounds

2014-08-28 Thread Alex Shi
On 07/16/2014 07:28 PM, Sudeep Holla wrote: > > > On 16/07/14 12:21, Alex Shi wrote: >> With ARCH_VEXPRESS_SPC option, kernel build has the following >> warning: >> >> arch/arm/mach-vexpress/spc.c: In function ‘ve_spc_clk_init’: >> arch/arm/mach-vexpress/spc.c:431:38: warning: array subscript is

Re: [RFC PATCH 0/9] dt: dependencies (for deterministic driver initialization order based on the DT)

2014-08-28 Thread Alexander Holler
Am 28.08.2014 11:23, schrieb Catalin Marinas: On Thu, Aug 28, 2014 at 07:50:36AM +0100, Alexander Holler wrote: And I wonder how the ACPI world solves that problem. My guess would be hardcoded stuff in the firmware-blob (BIOS), just like it happened with board files, but I've never seen BIOS c

[PATCH v3 1/6] mm/hugetlb: reduce arch dependent code around follow_huge_*

2014-08-28 Thread Naoya Horiguchi
Currently we have many duplicates in definitions around follow_huge_addr(), follow_huge_pmd(), and follow_huge_pud(), so this patch tries to remove them. The basic idea is to put the default implementation for these functions in mm/hugetlb.c as weak symbols (regardless of CONFIG_ARCH_WANT_GENERAL_H

[PATCH v3 4/6] mm/hugetlb: add migration entry check in hugetlb_change_protection

2014-08-28 Thread Naoya Horiguchi
There is a race condition between hugepage migration and change_protection(), where hugetlb_change_protection() doesn't care about migration entries and wrongly overwrites them. That causes unexpected results like kernel crash. This patch adds is_hugetlb_entry_(migration|hwpoisoned) check in this

[PATCH v3 3/6] mm/hugetlb: fix getting refcount 0 page in hugetlb_fault()

2014-08-28 Thread Naoya Horiguchi
When running the test which causes the race as shown in the previous patch, we can hit the BUG "get_page() on refcount 0 page" in hugetlb_fault(). This race happens when pte turns into migration entry just after the first check of is_hugetlb_entry_migration() in hugetlb_fault() passed with false.

[PATCH v3 6/6] mm/hugetlb: remove unused argument of follow_huge_addr()

2014-08-28 Thread Naoya Horiguchi
follow_huge_addr()'s parameter write is not used, so let's remove it. Signed-off-by: Naoya Horiguchi --- arch/ia64/mm/hugetlbpage.c| 2 +- arch/powerpc/mm/hugetlbpage.c | 2 +- arch/x86/mm/hugetlbpage.c | 2 +- include/linux/hugetlb.h | 5 ++--- mm/gup.c | 2 +-

[PATCH v3 2/6] mm/hugetlb: take page table lock in follow_huge_(addr|pmd|pud)()

2014-08-28 Thread Naoya Horiguchi
We have a race condition between move_pages() and freeing hugepages, where move_pages() calls follow_page(FOLL_GET) for hugepages internally and tries to get its refcount without preventing concurrent freeing. This race crashes the kernel, so this patch fixes it by moving FOLL_GET code for hugepage

[PATCH v3 5/6] mm/hugetlb: add migration entry check in __unmap_hugepage_range

2014-08-28 Thread Naoya Horiguchi
If __unmap_hugepage_range() tries to unmap the address range over which hugepage migration is on the way, we get the wrong page because pte_page() doesn't work for migration entries. This patch calls pte_to_swp_entry() and migration_entry_to_page() to get the right page for migration entries. Sign

[PATCH 0/6] hugepage migration fixes (v3)

2014-08-28 Thread Naoya Horiguchi
This is the ver.3 of hugepage migration fix patchset. The original problem discussed with Hugh was that follow_huge_pmd(FOLL_GET) looks to do get_page() without any locking (fixed in patch 2/6). However, thorough testing showed that we have more fundamental issue on hugetlb_fault(), where it suffe

[PATCH] ACPICA: ACPI 5.1: Add support for runtime validation of _DSD package.

2014-08-28 Thread Lv Zheng
From: Mika Westerberg Adds ACPICA kernel runtime support to validate contents/format of the _DSD package, similar to the iASL support. Ported by Mika Westerberg. Signed-off-by: Mika Westerberg Signed-off-by: Bob Moore Signed-off-by: Lv Zheng --- drivers/acpi/acpica/nsprepkg.c | 39

Re: [PATCH 2/5 v3] irq / PM: Make wakeup interrupts work with suspend-to-idle

2014-08-28 Thread Rafael J. Wysocki
On Thursday, August 28, 2014 11:23:11 AM Thomas Gleixner wrote: > On Thu, 28 Aug 2014, Rafael J. Wysocki wrote: > > On Wednesday, August 27, 2014 10:32:23 PM Thomas Gleixner wrote: > > > void suspend_device_irqs(void) > > > { > > > for_each_irq_desc(irq, desc) { > > > /* Disable the int

Re: [PATCH] debugfs: keep the old valid mode value when no explicity specify it

2014-08-28 Thread Zhang, Yanmin
On 2014/8/28 23:10, Greg KH wrote: On Thu, Aug 28, 2014 at 06:09:09PM +0800, Chen LinX wrote: From: "Chen, LinX" When mount debugfs with no mode specifed after it's mounted, the mount point mode will change to default mode(0700) even the mount operation was fail, this will cause some issues l

Re: [PATCH 4/4] pinctrl: qcom: Add support for reset for apq8064

2014-08-28 Thread Bjorn Andersson
On Thu 28 Aug 20:22 PDT 2014, Pramod Gurav wrote: > This patch adds support for reset functions to reboot the boards > with soc apq8064. > > CC: Linus Walleij > CC: Bjorn Andersson > CC: "Ivan T. Ivanov" > CC: Stephen Boyd > CC: Andy Gross > Signed-off-by: Pramod Gurav > --- > drivers/pinc

RE: [PATCH 0/4] net: stmmac: Enable Intel Quark SoC X1000 Ethernet support

2014-08-28 Thread Kweh, Hock Leong
> -Original Message- > From: Giuseppe CAVALLARO [mailto:peppe.cavall...@st.com] > Sent: Wednesday, August 27, 2014 8:53 PM > To: Kweh, Hock Leong; David S. Miller > Cc: net...@vger.kernel.org; LKML; Ong, Boon Leong; Rayagond K > Subject: Re: [PATCH 0/4] net: stmmac: Enable Intel Quark SoC X

Re: [PATCH] softlockup: Make detector be aware of task switch of processes hogging cpu

2014-08-28 Thread Don Zickus
On Thu, Aug 28, 2014 at 04:07:23PM -0700, Andrew Morton wrote: > On Thu, 28 Aug 2014 00:52:24 -0400 Don Zickus wrote: > > > From: chai wen > > > > For now, soft lockup detector warns once for each case of process > > softlockup. > > But the thread 'watchdog/n' may not always get the cpu at the

Re: [PATCH 2/2] Drivers: scsi: storvsc: Force discovery of LUNs that may have been removed.

2014-08-28 Thread Christoph Hellwig
On Tue, Aug 26, 2014 at 10:54:51PM +, KY Srinivasan wrote: > > This looks pretty reasonable to me, but I wonder if we should move this up > > to common code so that it happens for any host rescan triggered by sysfs or > > other drivers as well. > Ping. Any decision on if/when this patch may be

Re: [PATCH 0/5 v3] irq / PM: Suspend-to-idle wakeup interrupts

2014-08-28 Thread Thomas Gleixner
On Fri, 29 Aug 2014, Rafael J. Wysocki wrote: > On Friday, August 29, 2014 12:44:11 AM Thomas Gleixner wrote: > > So really, I'm too lazy to walk through that mess further. I bet NONE > > of the usage sites except those for which this has been introduced in > > the first place has a real good reaso

Re: [RFC PATCH v2 4/4] ftracetest: Add XFAIL/XPASS/UNSUPPORTED as result code

2014-08-28 Thread Shuah Khan
On 08/26/2014 05:15 AM, Masami Hiramatsu wrote: > Add XFAIL, XPASS and UNSUPPORTED as a result code. These are > used for the results that test case is expected to fail or > unsupported feature (by config). > This also introduces PASS/FAIL/XFAIL/XPASS/UNSUP result codes > for each testcase. Since t

Re: [RFC PATCH 07/10] scsi/trace: Use scsi_show_result trace point instead of printk

2014-08-28 Thread Christoph Hellwig
> I'm not sure this is the correct way. > Currently we have quite some code duplication in scsi_trace.c and > constants.c, correct. > So I definitely would like to see them both merged. > > But constants.c is influenced by CONFIG_SCSI_CONSTANTS, whereas > scsi_trace isn't, and the functions in con

Re: net_ns cleanup / RCU overhead

2014-08-28 Thread Simon Kirby
On Thu, Aug 28, 2014 at 01:46:58PM -0700, Paul E. McKenney wrote: > On Thu, Aug 28, 2014 at 03:33:42PM -0500, Eric W. Biederman wrote: > > > I just want to add a little bit more analysis to this. > > > > What we desire to be fast is the copy_net_ns, cleanup_net is batched and > > asynchronous wh

Re: [PATCH 0/5 v3] irq / PM: Suspend-to-idle wakeup interrupts

2014-08-28 Thread Rafael J. Wysocki
On Friday, August 29, 2014 12:44:11 AM Thomas Gleixner wrote: > On Wed, 27 Aug 2014, Rafael J. Wysocki wrote: > > To me, all of this is relatively straightforward and the handling of > > IRQF_NO_SUSPEND for shared interrupts, which is a separate problem, can be > > addressed on top of it later (mak

Re: [RESEND PATCH] ARM: dts: make arch-timer always on in rk3288 soc

2014-08-28 Thread Kever Yang
Mark, Thanks for your reply and advice. On 08/28/2014 11:11 PM, Mark Rutland wrote: On Thu, Aug 28, 2014 at 10:17:58AM +0100, Mark Rutland wrote: Hi Kever, On Thu, Aug 28, 2014 at 02:40:17AM +0100, Kever Yang wrote: We need use the hrtimer, which need the arch-timer to be 'always-on' I

Re: [PATCH v2] ARM: dts: Add shmobile platform device tree bindings documentation

2014-08-28 Thread Simon Horman
On Thu, Aug 28, 2014 at 10:05:20AM +0200, Geert Uytterhoeven wrote: > Add Renesas SH-Mobile, R-Mobile, and R-Car Platform Device Tree Bindings > Documentation, listing supported SoCs and boards. > > This allows to use checkpatch to validate DTSes referring to Renesas > shmobile SoCs, and boards co

Re: [PATCH 3/4] pinctrl: msm: Add ps_hold function in pinctrl-apq8064 binding documentation

2014-08-28 Thread Bjorn Andersson
On Thu 28 Aug 20:22 PDT 2014, Pramod Gurav wrote: > This adds a function ps_hold (Power Suppy Hold Signal) in pinctrl-ap8064 > documentation which was missing. This function is used to reset the targets > with apq8064 soc. > > CC: Linus Walleij > CC: Bjorn Andersson Acked-by: Bjorn Andersson

[PATCH 2/2] Drivers: hv: vmbus: Properly protect calls to smp_processor_id()

2014-08-28 Thread K. Y. Srinivasan
Disable preemption when sampling current processor ID when preemption is otherwise possible. Signed-off-by: K. Y. Srinivasan --- drivers/hv/channel.c |7 +-- drivers/hv/channel_mgmt.c | 21 +++-- 2 files changed, 20 insertions(+), 8 deletions(-) diff --git a/drive

2% Loan Offer

2014-08-28 Thread Ocean Finance Limited
-- Our Company gives out Personal and Business Loans,interested persons should contact us now. Harry Roberts -- 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/majordom

[PATCH 1/2] Drivers: hv: vmbus: Cleanup hv_post_message()

2014-08-28 Thread K. Y. Srinivasan
Minimize failures in this function by pre-allocating the buffer for posting messages. The hypercall for posting the message can fail for a number of reasons: 1. Transient resource related issues 2. Buffer alignment 3. Buffer cannot span a page boundry We address issues 2 a

[PATCH 0/2] Drivers: hv: vmbus: Miscellaneous cleanup

2014-08-28 Thread K. Y. Srinivasan
Cleanup hv_post_message() to minimize failures. Also disable preemption when sampling CPU ID when preemption is otherwise possible. K. Y. Srinivasan (2): Drivers: hv: vmbus: Cleanup hv_post_message() Drivers: hv: vmbus: Properly protect calls to smp_processor_id() drivers/hv/channel.c |

Re: [PATCHv3 0/3] new APIs to allocate buffer-cache with user specific flag

2014-08-28 Thread Gioh Kim
2014-08-28 오후 10:48, Theodore Ts'o 쓴 글: On Thu, Aug 28, 2014 at 11:26:31AM +0900, Gioh Kim wrote: I have 3 patchs: 1. Patch 1/3: introduce a new API that create page cache with allocation flag 2. Patch 2/3: have ext4 use the new API to read superblock 3. Patch 3/3: have jbd/jbd2 use the new

Re: GET_RNG_SEED hypercall ABI? (Re: [PATCH v5 0/5] random,x86,kvm: Rework arch RNG seeds and get some from kvm)

2014-08-28 Thread Andy Lutomirski
On Thu, Aug 28, 2014 at 12:46 PM, Paolo Bonzini wrote: > Il 28/08/2014 18:22, Andy Lutomirski ha scritto: >> Is there a non-cpuid interface between QEMU and KVM for this? > > No. Hmm. Then, assuming that someone manages to allocate a cross-hypervisor MSR number for this, what am I supposed to do

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

2014-08-28 Thread Sonny Rao
On Thu, Aug 28, 2014 at 2:35 AM, Mark Rutland wrote: > On Thu, Aug 28, 2014 at 04:33:31AM +0100, Doug Anderson wrote: >> Hi, >> >> On Wed, Aug 27, 2014 at 7:58 PM, Olof Johansson wrote: >> > On Wed, Aug 27, 2014 at 5:56 PM, Stephen Boyd wrote: >> >> On 08/27/14 15:33, Olof Johansson wrote: >> >>

Re: [PATCH v2] cpufreq: powernv: Set the cpus to nominal frequency during reboot/kexec

2014-08-28 Thread Viresh Kumar
On 28 August 2014 19:36, Shilpasri G Bhat wrote: > This patch ensures the cpus to kexec/reboot at nominal frequency. > Nominal frequency is the highest cpu frequency on PowerPC at > which the cores can run without getting throttled. > > If the host kernel had set the cpus to a low pstate and then

Re: [Xen-devel] [V1 PATCH 1/2] PVH: set EFER.NX and EFER.SCE for boot vcpu

2014-08-28 Thread Mukesh Rathor
On Thu, 28 Aug 2014 15:18:26 +0100 David Vrabel wrote: > On 27/08/14 23:33, Mukesh Rathor wrote: > > This patch addresses three things for a pvh boot vcpu: > > > > - NX bug on intel: It was recenlty discovered that NX is not being > > honored in PVH on intel since EFER.NX is not being set.

Re: [PATCHv5 4/4] thermal: exynos: Remove duplicate code when reading triminfo register of Exynos5440

2014-08-28 Thread Chanwoo Choi
Dear Eduardo, On 08/28/2014 11:53 PM, Eduardo Valentin wrote: > On Thu, Aug 28, 2014 at 01:25:14PM +0900, Chanwoo Choi wrote: >> Dear Eduardo, >> >> This patch is wrong. It is my mistake. >> >> Please ignore only this patch because >> the offset calculation of 'case 0' is different from 'case 2'.

[PATCH] spi/rockchip: Avoid accidentally turning off the clock

2014-08-28 Thread Doug Anderson
If our client is requesting a clock that is above the maximum clock then the following division will result in 0: rs->max_freq / rs->speed We'll then program 0 into the SPI_BAUDR register. The Rockchip TRM says: "If the value is 0, the serial output clock (sclk_out) is disabled." It's much bet

[PATCH 01/11] staging/lustre: remove linux/lprocfs_status.h

2014-08-28 Thread John L. Hammond
From: "John L. Hammond" Remove lustre/include/linux/lprocfs_status.h. Include linux/statfs.h where needed. Signed-off-by: John L. Hammond --- .../lustre/lustre/include/linux/lprocfs_status.h | 57 .../staging/lustre/lustre/include/lprocfs_status.h |6 ++- drivers/s

  1   2   3   4   5   6   7   8   >