RE: [f2fs-dev] [PATCH 12/12] f2fs: use extent_cache by default

2015-07-03 Thread Chao Yu
Hi Jaegeuk, > -Original Message- > From: Jaegeuk Kim [mailto:jaeg...@kernel.org] > Sent: Saturday, July 04, 2015 1:16 PM > To: Chao Yu > Cc: linux-fsde...@vger.kernel.org; linux-kernel@vger.kernel.org; > linux-f2fs-de...@lists.sourceforge.net > Subject: Re: [f2fs-dev] [PATCH 12/12] f2fs: u

Re: [f2fs-dev] [PATCH 2/2] f2fs: shrink unreferenced extent_caches first

2015-07-03 Thread Jaegeuk Kim
On Thu, Jul 02, 2015 at 08:39:43PM +0800, Chao Yu wrote: > > -Original Message- > > From: Jaegeuk Kim [mailto:jaeg...@kernel.org] > > Sent: Wednesday, July 01, 2015 9:26 AM > > To: linux-kernel@vger.kernel.org; linux-fsde...@vger.kernel.org; > > linux-f2fs-de...@lists.sourceforge.net; linux

[PATCH] Add xtal load setting device tree parameter

2015-07-03 Thread Gordon Hollingworth
Add device tree parameter to enable the setting of the capacitor load parameter, defaults to 12 pF this parameter allows the setting of 7pF Signed-off-by Gordon Hollingworth --- drivers/rtc/rtc-pcf8523.c| 8 +++- 1 files changed, 7 insertions(+), 1 deletion(-) diff --

[PATCH] perf probe: Delete an unnecessary check before the function call "strfilter__delete"

2015-07-03 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 4 Jul 2015 07:44:22 +0200 The strfilter__delete() function tests whether its argument is NULL and then returns immediately. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring ---

Kernel Summit 2015: Call for Proposals

2015-07-03 Thread Theodore Ts'o
The annual Kernel Summit for 2015 will be held October 26th through the 28th in Seoul, South Korea, overlapping with the Korea Linux Forum, which will be on October 26th. The format of the Kernel Summit will be: * Monday: Workshops and break out sessions (overlap with Korea Linux Forum) * Tues

[PATCH v2 1/2] irqchip: dw-apb-ictl: add private data structure

2015-07-03 Thread Jisheng Zhang
This patch adds struct dw_apb_ictl_priv definition, now it only has one member: the irq domain. Then make the generic irq chip gc->private to point to the struct. This is to prepare for the next patch which will implement irq_set_affinity. Signed-off-by: Jisheng Zhang --- drivers/irqchip/irq-dw-

[PATCH v2 2/2] irqchip: dw-apb-ictl: add irq_set_affinity support

2015-07-03 Thread Jisheng Zhang
On Marvell Berlin SoCs, the cpu's local timer is shutdown when the cpu goes to a deep idle state, then the timer framework will be notified to use a broadcast timer instead. The broadcast timer uses dw-apb-ictl as interrupt chip, this patch adds irq_set_affinity support so that the going to deep id

[PATCH v2 0/2] irqchip: dw-apb-ictl: add irq_set_affinity support

2015-07-03 Thread Jisheng Zhang
On Marvell Berlin SoCs, the cpu's local timer is shutdown when the cpu goes to a deep idle state, then the timer framework will be notified to use a broadcast timer instead. The broadcast timer uses dw-apb-ictl as interrupt chip, these patches try to add irq_set_affinity support so that the going t

Re: [f2fs-dev] [PATCH 12/12] f2fs: use extent_cache by default

2015-07-03 Thread Jaegeuk Kim
Hi Chao, On Thu, Jul 02, 2015 at 08:36:16PM +0800, Chao Yu wrote: > Hi Jaegeuk, > > > -Original Message- > > From: Jaegeuk Kim [mailto:jaeg...@kernel.org] > > Sent: Tuesday, June 30, 2015 2:40 AM > > To: linux-kernel@vger.kernel.org; linux-fsde...@vger.kernel.org; > > linux-f2fs-de...@lis

[PATCH v2] clocksource: dw_apb_timer: add dynamic irq flag to the timer

2015-07-03 Thread Jisheng Zhang
Commit d2348fb6fdc6 ("tick: Dynamically set broadcast irq affinity") adds one execllent feature CLOCK_EVT_FEAT_DYNIRQ to let the core set the interrupt affinity of the broadcast interrupt to the cpu which has the earliest expiry time. This patch adds CLOCK_EVT_FEAT_DYNIRQ flag to avoid unnecessary

Re: [PATCH v2 1/6] dax: Add block size note to documentation

2015-07-03 Thread Christoph Hellwig
On Fri, Jul 03, 2015 at 10:40:38AM -0400, Matthew Wilcox wrote: > From: Matthew Wilcox > > For block devices which are small enough, mkfs will default to creating > a filesystem with block sizes smaller than page size. This seems like an odd note. At least for XFS and btrfs filesystem size don'

Re: [f2fs-dev] [PATCH 11/12] f2fs: add noextent_cache mount option

2015-07-03 Thread Jaegeuk Kim
On Thu, Jul 02, 2015 at 08:35:34PM +0800, Chao Yu wrote: > > -Original Message- > > From: Jaegeuk Kim [mailto:jaeg...@kernel.org] > > Sent: Tuesday, June 30, 2015 2:40 AM > > To: linux-kernel@vger.kernel.org; linux-fsde...@vger.kernel.org; > > linux-f2fs-de...@lists.sourceforge.net > > Cc:

Re: [f2fs-dev] [PATCH 08/12] f2fs: introduce a shrinker for mounted fs

2015-07-03 Thread Jaegeuk Kim
On Thu, Jul 02, 2015 at 08:32:39PM +0800, Chao Yu wrote: > > -Original Message- > > From: Jaegeuk Kim [mailto:jaeg...@kernel.org] > > Sent: Tuesday, June 30, 2015 2:40 AM > > To: linux-kernel@vger.kernel.org; linux-fsde...@vger.kernel.org; > > linux-f2fs-de...@lists.sourceforge.net > > Cc:

Re: [RFC PATCH] mmc: sprd: add MMC host driver for Spreadtrum SoC

2015-07-03 Thread Orson Zhai
On 2015年07月03日 13:44, Billows Wu (武洪涛) wrote: Hi Rob, Thanks for your reply. The MMC subsys core can figure out the type of the device attached. But it happaped after MMC probe function run over. If we want to distinguish MMC,SD or Wi-Fi in controller's probe function, we may by controller's

[PATCH] scsi: Use module_pcmcia_driver

2015-07-03 Thread Vaishali Thakkar
Use module_pcmcia_driver for drivers whose init and exit functions only register and unregister, respectively. A simplified version of the Coccinelle semantic patch that performs this transformation is as follows: @a@ identifier f, x; @@ -static f(...) { return pcmcia_register_driver(&x); } @b d

Re: [PATCH] clocksource: dw_apb_timer: add dynamic irq flag to the timer

2015-07-03 Thread Jisheng Zhang
Dear Daniel, On Fri, 3 Jul 2015 16:58:44 +0200 Daniel Lezcano wrote: > On 07/03/2015 04:30 PM, Jisheng Zhang wrote: > > Commit d2348fb6fdc6 ("tick: Dynamically set broadcast irq affinity") > > adds one excelent feature CLOCK_EVT_FEAT_DYNIRQ to let the core set the > > interrupt affinity of the b

[added to the 3.18 stable tree] stmmac: troubleshoot unexpected bits in des0 & des1

2015-07-03 Thread Sasha Levin
From: Alexey Brodkin This patch has been added to the 3.18 stable tree. If you have any objections, please let us know. === [ Upstream commit f1590670ce069eefeb93916391a67643e6ad1630 ] Current implementation of descriptor init procedure only takes care about setting/clearing owners

CLAIM!!!...

2015-07-03 Thread Bingo
Dear Winner, Your email address attached to ticket number 7-27-31-37-43 WON One Million British Pound in the BINGO LOTTO INTERNATIONAL. Email to (bingo...@aim.com) for claim. Congratulations once again. Yours Faithfully, Mr. David -- To unsubscribe from this list: send the line "unsubscribe

Urgent Proposal of $17.3Million Dollars

2015-07-03 Thread PETER CHOW
Dear Friend, My name is Mr. Peter Chow, I am a staff of Bank of China, Our late client made a fixed deposit amount of $17.3M, he did not declare any next of kin in any of his paper work, I want you as a foreigner to stand as the beneficiary to transfer this funds out of my bank into your accoun

[PATCH] ACPI / PNP: Reserve ACPI resources at the fs_initcall_sync stage

2015-07-03 Thread Rafael J. Wysocki
From: Rafael J. Wysocki This effectively reverts the following three commits: 7bc10388ccdd ACPI / resources: free memory on error in add_region_before() 0f1b414d1907 ACPI / PNP: Avoid conflicting resource reservations b9a5e5e18fbf ACPI / init: Fix the ordering of acpi_reserve_resources() (co

Re: [PATCH 1/1] suspend: delete sys_sync()

2015-07-03 Thread Rafael J. Wysocki
On Friday, July 03, 2015 11:42:50 AM Dave Chinner wrote: > On Wed, Jul 01, 2015 at 11:07:29PM -0400, Len Brown wrote: > > >> The _vast_ majority of systems using Linux suspend today are under > > >> an Android user-space. Android has no assumption that that suspend to > > >> mem will necessarily s

AVERTISSEMENT

2015-07-03 Thread ADMIN Team
Votre quota de webmail a dépassé le quota, ce qui est de 2 Go. ils s'élèvent actuellement à 2,3 Go. Pour faire revivre et augmenter sa part de messagerie web, cliquez sur le lien suivant ou copiez le lien pour mettre à jour votre compte de messagerie web Pour l'activer. 375189.livecity.me Sino

Re: [PATCH v3 2/2] PM / Runtime: Add pm_runtime_enable_recursive

2015-07-03 Thread Rafael J. Wysocki
On Friday, July 03, 2015 11:11:19 AM Alan Stern wrote: > On Fri, 3 Jul 2015, Tomeu Vizoso wrote: > > > >> Yeah, that would remove the need for messing with the runtime PM > > >> enable status of descendant devices, but I wonder why Rafael went that > > >> way initially. > > > > > > I forget the de

Re: [PATCH v3 2/2] PM / Runtime: Add pm_runtime_enable_recursive

2015-07-03 Thread Rafael J. Wysocki
On Friday, July 03, 2015 04:22:02 PM Tomeu Vizoso wrote: > On 3 July 2015 at 16:16, Alan Stern wrote: > > On Fri, 3 Jul 2015, Tomeu Vizoso wrote: > > > >> On 2 July 2015 at 17:21, Alan Stern wrote: > >> > On Thu, 2 Jul 2015, Tomeu Vizoso wrote: > >> > > >> >> > Just because these sub-devices are

Re: [PATCH] idle: move latency tracing stop/start calls deeper inside the idle loop

2015-07-03 Thread Rafael J. Wysocki
On Friday, July 03, 2015 04:19:40 PM Lucas Stach wrote: > Make sure to stop tracing only once we are past a point where all > latency tracing events have been processed (irqs are not enabled > again). This has the slight advantage of capturing more latency > related events in the idle path, but mos

Re: [PATCH v3 2/3] ACPI / ARM64: add BAD_MADT_GICC_ENTRY() macro

2015-07-03 Thread Rafael J. Wysocki
On Friday, July 03, 2015 01:51:36 PM Al Stone wrote: > On 07/03/2015 08:06 AM, Catalin Marinas wrote: > > On Thu, Jul 02, 2015 at 05:48:35PM -0600, Al Stone wrote: > >> diff --git a/arch/arm64/include/asm/acpi.h b/arch/arm64/include/asm/acpi.h > >> index 39248d3..a3c26a4 100644 > >> --- a/arch/arm6

Re: [PATCH v3 1/3] ACPI : introduce macros for using the ACPI specification version

2015-07-03 Thread Rafael J. Wysocki
On Friday, July 03, 2015 01:22:13 PM Al Stone wrote: > On 07/02/2015 11:23 PM, Hanjun Guo wrote: > > Hi Rafael, > > > > On 2015/7/3 8:21, Rafael J. Wysocki wrote: > >> On Thursday, July 02, 2015 05:48:34 PM Al Stone wrote: > >>> Add the __ACPI_FADT_SPEC_VERSION() helper macro to build a proper ver

[PATCH v4 7/7] apf27: dt: enable support of internal rtc

2015-07-03 Thread Philippe Reynes
Enable support of internal rtc on armadeus apf27. Signed-off-by: Philippe Reynes --- arch/arm/boot/dts/imx27-apf27.dts |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/imx27-apf27.dts b/arch/arm/boot/dts/imx27-apf27.dts index 73aae4f..590d37a 100644

[PATCH v4 1/7] imx31: add a second rtc clock

2015-07-03 Thread Philippe Reynes
The mxc rtc driver needs two clock. It was defined only one clock, so we define the second clock. Signed-off-by: Philippe Reynes --- drivers/clk/imx/clk-imx31.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/drivers/clk/imx/clk-imx31.c b/drivers/clk/imx/clk-imx31.c in

[PATCH v4 6/7] imx27: dt: add support of internal rtc

2015-07-03 Thread Philippe Reynes
Add support of internal rtc on imx27. Signed-off-by: Philippe Reynes --- arch/arm/boot/dts/imx27.dtsi | 10 ++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/imx27.dtsi b/arch/arm/boot/dts/imx27.dtsi index b69be5c..38e6e84 100644 --- a/arch/arm/boot/d

[PATCH v4 0/7] add device tree support for mxc rtc

2015-07-03 Thread Philippe Reynes
This serie add the device tree support for the mxc rtc driver. To do this, three steps are required : - define two rtc clocks for imx31 and imx35 - enhance mxc rtc driver to use two clocks (rtc and ipg) - add device tree support to mxc rtc driver Changelog: v4: (thanks Alexandre Belloni) - add pre

[PATCH v4 4/7] rtc: mxc: add support of device tree

2015-07-03 Thread Philippe Reynes
Add device tree support for the mxc rtc driver. Acked-by: Alexandre Belloni Signed-off-by: Philippe Reynes --- drivers/rtc/rtc-mxc.c | 19 ++- 1 files changed, 18 insertions(+), 1 deletions(-) diff --git a/drivers/rtc/rtc-mxc.c b/drivers/rtc/rtc-mxc.c index 4ce7e21..4191a87 1

[PATCH v4 2/7] imx35: define two clocks for rtc

2015-07-03 Thread Philippe Reynes
The imx35 don't define clocks for rtc. This patch add two clocks, as needed by the mxc rtc driver. Signed-off-by: Philippe Reynes --- drivers/clk/imx/clk-imx35.c |6 +- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/drivers/clk/imx/clk-imx35.c b/drivers/clk/imx/clk-imx35.

[PATCH v4 3/7] rtc: mxc: use a second rtc clock

2015-07-03 Thread Philippe Reynes
The mxc RTC needs two clocks, one for the input reference, and one for the IP. But this driver was only using one clock (for the reference). This patch add the second clock (for the IP). Signed-off-by: Philippe Reynes --- drivers/rtc/rtc-mxc.c | 41 - 1

[PATCH v4 5/7] dt-binding: document the binding for mxc rtc

2015-07-03 Thread Philippe Reynes
This adds documentation of device tree bindings for the mxc rtc. Cc: Rob Herring Cc: Pawel Moll Cc: Mark Rutland Cc: Ian Campbell Cc: Kumar Gala Cc: devicet...@vger.kernel.org Signed-off-by: Philippe Reynes --- Documentation/devicetree/bindings/rtc/rtc-mxc.txt | 27 +

[PULL] topic/drm-fixes

2015-07-03 Thread Daniel Vetter
Hi Linus, Since Dave is enjoying vacation I figured I'll send you this drm core fix directly. Cheers, Daniel The following changes since commit 8b72ce158cf0dba443e36fc66e0bb29c2580e0b6: drm: Always enable atomic API (2015-06-24 11:21:35 +1000) are available in the git repository at: git:

Email me on normanchan...@gmail.com

2015-07-03 Thread Lamirande, Linda
Hello Friend, I am specifically contacting you in respect of a business proposal that I have for you as you appear very relevant in the proposal.Please kindly reply back to me for further details. Email: normanchan...@gmail.com Waiting to hear from you. Regards, Norman Chan Linda Lamirande

Re: [PULL] virtio/vhost: cross endian support

2015-07-03 Thread Linus Torvalds
On Fri, Jul 3, 2015 at 12:59 AM, Michael S. Tsirkin wrote: > > Linus, could you please clarify whether making the > feature depend on the cross-endian guest support > would address your comment, and whether you think > this can be merged as is, and the dependency added > after -rc1? I'll take it.

Re: [PATCH v2 2/4] dt-bindings: ARM: Mediatek: Document devicetree bindings for spi bus

2015-07-03 Thread Matthias Brugger
On Monday, June 29, 2015 09:04:28 PM Leilk Liu wrote: > Signed-off-by: Leilk Liu > --- Please add a proper patch description. Cheers, Matthias -- 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

[RFC][PATCH] x86: Allow early_printk to use console style param like 115200n8

2015-07-03 Thread Steven Rostedt
When I enable early_printk on a kernel, I cut and paste the console= input and add to earlyprintk parameter. But I notice recently that ktest has not been detecting triple faults. The way it detects it, is by seeing the kernel banner "Linux version .." with a different kernel version pop up. Then I

Re: [PATCH] USB: ftdi_sio: add GPIO support

2015-07-03 Thread Grant Likely
On Tue, Jun 2, 2015 at 2:18 PM, Linus Walleij wrote: > On Sat, May 30, 2015 at 10:29 PM, Grant Likely > wrote: >> On Mon, Jul 7, 2014 at 6:31 PM, Greg Kroah-Hartman >> wrote: > However is the MFD cell approach acceptable? >>> >>> Yes it is. >> >> Going back to this old conversation... Actua

[PATCH 1/1] x86: Hyper-V: Mark the Hyper-V clocksource as being high resolution

2015-07-03 Thread K. Y. Srinivasan
From: Vivek yadav By design, alternative clock sources listed are based on the resolution of current clock source. Once you set a high resolution clock, only high resolution sources are returned. Mark Hyper-V clock source as a high resolution clock source. Signed-off-by: Vivek yadav Signed-off

[PATCH block/for-4.3] writeback: remove wb_writeback_work->single_wait/done

2015-07-03 Thread Tejun Heo
Hello, Jan. So, something like the following. It depends on other changes so won't apply as-is. I'll repost it as part of a patchset once -rc1 drops. Thanks! -- 8< -- wb_writeback_work->single_wait/done are used for the wait mechanism for synchronous wb_work (wb_writeback_work) items w

[PATCH 4/5] mshyperv: fix recognition of Hyper-V guest crash MSR's

2015-07-03 Thread K. Y. Srinivasan
From: Denis V. Lunev Hypervisor Top Level Functional Specification v3.1/4.0 notes that cpuid (0x4003) EDX's 10th bit should be used to check that Hyper-V guest crash MSR's functionality available. This patch should fix this recognition. Currently the code checks EAX register instead of EDX.

[PATCH 5/5] Drivers: hv: vmbus: Consider ND NIC in binding channels to CPUs

2015-07-03 Thread K. Y. Srinivasan
We cycle through all the "high performance" channels to distribute load across the available CPUs. Process the NetworkDirect as a high performance device. Signed-off-by: K. Y. Srinivasan --- drivers/hv/channel_mgmt.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/driver

[PATCH 2/5] Drivers: hv: vmbus: fix typo in hv_port_info struct

2015-07-03 Thread K. Y. Srinivasan
From: Nik Nyby This fixes a typo: base_flag_bumber to base_flag_number Signed-off-by: Nik Nyby Signed-off-by: K. Y. Srinivasan --- drivers/hv/hyperv_vmbus.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/hv/hyperv_vmbus.h b/drivers/hv/hyperv_vmbus.h index cd

[PATCH 3/5] Drivers: hv: vmbus: don't send CHANNELMSG_UNLOAD on pre-Win2012R2 hosts

2015-07-03 Thread K. Y. Srinivasan
From: Vitaly Kuznetsov Pre-Win2012R2 hosts don't properly handle CHANNELMSG_UNLOAD and wait_for_completion() hangs. Avoid sending such request on old hosts. Signed-off-by: Vitaly Kuznetsov Signed-off-by: K. Y. Srinivasan --- drivers/hv/channel_mgmt.c |4 1 files changed, 4 insertions

[PATCH 1/5] hv: util: checking the wrong variable

2015-07-03 Thread K. Y. Srinivasan
From: Dan Carpenter We don't catch this allocation failure because there is a typo and we check the wrong variable. Fixes: 14b50f80c32d ('Drivers: hv: util: introduce hv_utils_transport abstraction') Signed-off-by: Dan Carpenter Reviewed-by: Vitaly Kuznetsov Signed-off-by: K. Y. Srinivasan

[PATCH 0/5] Drivers: hv: Some miscellaneous fixes

2015-07-03 Thread K. Y. Srinivasan
Some miscellaneous fixes. Dan Carpenter (1): hv: util: checking the wrong variable Denis V. Lunev (1): mshyperv: fix recognition of Hyper-V guest crash MSR's K. Y. Srinivasan (1): Drivers: hv: vmbus: Consider ND NIC in binding channels to CPUs Nik Nyby (1): Drivers: hv: vmbus: fix typo

Re: [PATCH v2 2/2] ARM: dts: mediatek: add 6580 support

2015-07-03 Thread Matthias Brugger
On Tuesday, June 30, 2015 03:02:31 PM Mars Cheng wrote: > This adds basic chip support for Mediatek 6580. > > Change-Id: Ic5c93eb5d1e6e23503dabd28d41c30a7f02e9c18 Please delete the change-id. > Signed-off-by: Mars Cheng > --- > arch/arm/boot/dts/Makefile | 1 + > arch/arm/boot/dts/mt

Re: [PATCH] dts: mt8173-evb: Add da9211 to i2c1

2015-07-03 Thread Matthias Brugger
On Friday, July 03, 2015 10:28:26 AM Henry Chen wrote: > Add a DA9211 dual-channel BUCK regulator to i2c1. > This regulator supplies GPU and DVFS1 voltages. > > Signed-off-by: Henry Chen > --- > This patch based on https://github.com/mbgg/linux-mediatek.git > branch/v4.2-next/arm64 --- > arch/ar

Re: [PATCH v7 08/11] KVM: arm64: introduce vcpu->arch.debug_ptr

2015-07-03 Thread Christoffer Dall
On Fri, Jul 03, 2015 at 08:14:52AM +0100, Alex Bennée wrote: > > Christoffer Dall writes: > > > On Wed, Jul 01, 2015 at 07:29:00PM +0100, Alex Bennée wrote: > >> This introduces a level of indirection for the debug registers. Instead > >> of using the sys_regs[] directly we store registers in a

Re: [PATCH 5/6] kdbus: pin namespaces on HELLO

2015-07-03 Thread Sergei Zviagintsev
Hi, On Thu, Jul 02, 2015 at 10:28:33AM +0200, David Herrmann wrote: > Whenever we send messages to a target connection, all we know about the > target is the 'struct file' associated with the kdbus connection. Hence, > we cannot know which namespaces a receiving process will be in when it > calls

Re: [PATCH v7 08/11] KVM: arm64: introduce vcpu->arch.debug_ptr

2015-07-03 Thread Christoffer Dall
On Wed, Jul 01, 2015 at 07:29:00PM +0100, Alex Bennée wrote: > This introduces a level of indirection for the debug registers. Instead > of using the sys_regs[] directly we store registers in a structure in > the vcpu. The new kvm_arm_reset_debug_ptr() sets the debug ptr to the > guest context. >

Re: Non-booting current Linus' tree

2015-07-03 Thread Linus Torvalds
On Fri, Jul 3, 2015 at 8:23 AM, Jan Kara wrote: > > Because the address isn't 32-byte aligned (which I assume is the > requirement from looking into the code). So clearly my gcc messed up and > miscompiled the thing by ignoring the alignment attribute. Well, it's probably a mistake to begin with

[PATCH v2] hwmon: (nct7802) Add pwm control

2015-07-03 Thread Constantine Shulyupin
Notes: Some lines intentionally more than 80 characters because wrapping this lines decreases readability. The patch was checked with scripts/checkpatch.pl --max-line-length=88 Signed-off-by: Constantine Shulyupin --- drivers/hwmon/nct7802.c | 47 +++

Re: [PATCH 2/6] kdbus: drop redundant KDBUS_MSG_MAX_ITEMS

2015-07-03 Thread Sergei Zviagintsev
Hi, On Thu, Jul 02, 2015 at 10:28:30AM +0200, David Herrmann wrote: > We already limit the size of the message object, there's no reason to add > an arbitrary additional limit on the number of items. We don't do this for > other item-arrays, so lets stop restricting the messages in this way. > >

[PATCH v2] hwmon: (nct7802) Add pwm control

2015-07-03 Thread Constantine Shulyupin
Notes: Some lines intentionally more than 80 characters because wrapping this lines decreases readability. The patch was checked with scripts/checkpatch.pl --max-line-length=88 Signed-off-by: Constantine Shulyupin --- drivers/hwmon/nct7802.c | 47 +++

[PATCH] hwmon: (nct7802) Add pwm control

2015-07-03 Thread Constantine Shulyupin
Notes: Some lines intentionally more than 80 characters because wrapping this lines decreases readability. The patch was checked with scripts/checkpatch.pl --max-line-length=88 Signed-off-by: Constantine Shulyupin --- drivers/hwmon/nct7802.c | 47 +++

Re: [PATCH] ARM: mact-pxa: Use module_platform_driver

2015-07-03 Thread Robert Jarzmik
Vaishali Thakkar writes: > Use module_platform_driver for drivers whose init and exit functions > only register and unregister, respectively. > > A simplified version of the Coccinelle semantic patch that performs > this transformation is as follows: Applied to pxa/for-next, thanks. For next tim

Re: [PATCH] net/bridge: Add missing in6_dev_put in br_validate_ipv6

2015-07-03 Thread Florian Westphal
Julien Grall wrote: > The commit efb6de9b4ba0092b2c55f6a52d16294a8a698edd "netfilter: bridge: > forward IPv6 fragmented packets" introduced a new function > br_validate_ipv6 which take a reference on the inet6 device. Although, > the reference is not released at the end. > > This will result to t

[PATCH RESEND] x86/asm/entry/32: Replace RESTORE_RSI_RDI[_RDX] with open-coded 32-bit reads

2015-07-03 Thread Denys Vlasenko
This doesn't change much, but uses shorter 32-bit insns: -48 8b 74 24 68 mov0x68(%rsp),%rsi -48 8b 7c 24 70 mov0x70(%rsp),%rdi -48 8b 54 24 60 mov0x60(%rsp),%rdx +8b 54 24 60mov0x60(%rsp),%edx +8b 74 24 68

Re: [PATCH] mm:Make the function zap_huge_pmd bool

2015-07-03 Thread Mel Gorman
On Fri, Jul 03, 2015 at 02:45:02PM -0400, Theodore Ts'o wrote: > On Fri, Jul 03, 2015 at 12:52:06PM -0400, nick wrote: > > I agree with you 100 percent. The reason I can't test this is I don't have > > the > > hardware otherwise I would have tested it by now. > > Then don't send the patch out. W

[PATCH 3/3 RESEND] x86, acpi: Fold {save,restore}_registers into their single callers

2015-07-03 Thread Denys Vlasenko
This change simply block-moves bodies of "save_registers" and "restore_registers" routines into their callers. Well, almost. In save_registers, we were saving %esp+4 to saved_context_esp, because we were in a subroutine, there was one additional word (return address) on stack. Now it is gone, and

[PATCH 2/3 RESEND] x86, acpi: On S3 failure, just fall through

2015-07-03 Thread Denys Vlasenko
Th "jmp" deleted by this patch in fact compiles to "jmp to next insn", since ".p2align 4,,7" happens to not do any alignment - aligning to 2^4 would require more than 7 bytes of padding: 00b0 : b0: e8 fc ff ff ff call b5: e8 8d ff ff ff call 47 ba: 6a 03

[PATCH 1/3 RESEND] x86, acpi: Eliminate saved_eip global variable

2015-07-03 Thread Denys Vlasenko
Get rid of the global variable saved_eip as it is only written to. Jump directly to ret_point instead. No functionality change. Run-tested. Signed-off-by: Denys Vlasenko CC: Pavel Machek CC: Linus Torvalds CC: Steven Rostedt CC: Ingo Molnar CC: Borislav Petkov CC: "H. Peter Anvin" CC: Andy

RE: perf: fuzzer triggered warning in intel_pmu_drain_pebs_nhm()

2015-07-03 Thread Liang, Kan
> > I've not yet tried to reproduce, but the below could explain things. > > On disabling an event we first clear our cpuc->pebs_enabled bits, only to > then check them to see if there are any set, and if so, drain the buffer. > > If we just cleared the last bit, we'll fail to drain the buffer.

[PATCH v3 RESEND] x86/asm/entry/32, selftests: Add test_syscall_vdso test

2015-07-03 Thread Denys Vlasenko
The test checks that all registers are preserved across 32-bit syscalls. It tests syscalls through VDSO (if available) and through INT 0x80, normally and under ptrace. If kernel is a 64-bit one, high registers (r8..r15) are poisoned before call and checked afterwards. They must be either preserved

RE: [PATCH] scsi: storvsc: use shost_for_each_device() instead of open coding

2015-07-03 Thread Long Li
> -Original Message- > From: KY Srinivasan > Sent: Friday, July 03, 2015 11:35 AM > To: Vitaly Kuznetsov; linux-s...@vger.kernel.org > Cc: Long Li; Haiyang Zhang; James E.J. Bottomley; > de...@linuxdriverproject.org; > linux-kernel@vger.kernel.org > Subject: RE: [PATCH] scsi: storvsc: us

Re: [PATCH] forgetting to cancel request in interrupted zero-copy 9P RPC (was Re: [git pull] vfs part 2)

2015-07-03 Thread Andrey Ryabinin
2015-07-03 18:00 GMT+03:00 Al Viro : > Could you verify that the patch below deals with your setup as well? > If it does, I'm going to put it into tonight's pull request, after I get > some sleep... Right now I'm about to crawl in direction of bed - 25 hours > of uptime is a bit too much... ;-/ >

Re: [PATCH v3 2/3] ACPI / ARM64: add BAD_MADT_GICC_ENTRY() macro

2015-07-03 Thread Al Stone
On 07/03/2015 08:06 AM, Catalin Marinas wrote: > On Thu, Jul 02, 2015 at 05:48:35PM -0600, Al Stone wrote: >> diff --git a/arch/arm64/include/asm/acpi.h b/arch/arm64/include/asm/acpi.h >> index 39248d3..a3c26a4 100644 >> --- a/arch/arm64/include/asm/acpi.h >> +++ b/arch/arm64/include/asm/acpi.h >>

[PATCH v5 06/17] x86: Move C entry and exit code to arch/x86/entry/common.c

2015-07-03 Thread Andy Lutomirski
The entry and exit C helpers were confusingly scattered between ptrace.c and signal.c, even though they aren't specific to ptrace or signal handling. Move them together in a new file. This change just moves code around. It doesn't change anything. Signed-off-by: Andy Lutomirski --- arch/x86/e

[PATCH v5 05/17] notifiers: Assert that RCU is watching in notify_die

2015-07-03 Thread Andy Lutomirski
Low-level arch entries often call notify_die, and it's easy for arch code to fail to exit an RCU quiescent state first. Assert that we're not quiescent in notify_die. Signed-off-by: Andy Lutomirski --- kernel/notifier.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kernel/notifier.c b/k

[PATCH v5 08/17] x86/entry: Add enter_from_user_mode and use it in syscalls

2015-07-03 Thread Andy Lutomirski
Changing the x86 context tracking hooks is dangerous because there are no good checks that we track our context correctly. Add a helper to check that we're actually in CONTEXT_USER when we enter from user mode and wire it up for syscall entries. Subsequent patches will wire this up for all non-NM

[PATCH v5 10/17] x86/entry/64: Really create an error-entry-from-usermode code path

2015-07-03 Thread Andy Lutomirski
In 539f51136500 ("x86/asm/entry/64: Disentangle error_entry/exit gsbase/ebx/usermode code"), I arranged the code slightly wrong -- IRET faults would skip the code path that was intended to execute on all error entries from user mode. Fix it up. While we're at it, make all the labels in error_entr

[PATCH v5 09/17] x86/entry: Add new, comprehensible entry and exit hooks

2015-07-03 Thread Andy Lutomirski
The current entry and exit code is incomprehensible, appears to work primary by luck, and is very difficult to incrementally improve. Add new code in preparation for simply deleting the old code. prepare_exit_to_usermode is a new function that will handle all slow path exits to user mode. It is

[PATCH v5 07/17] x86/traps: Assert that we're in CONTEXT_KERNEL in exception entries

2015-07-03 Thread Andy Lutomirski
Other than the super-atomic exception entries, all exception entries are supposed to switch our context tracking state to CONTEXT_KERNEL. Assert that they do. These assertions appear trivial at this point, as exception_enter is the function responsible for switching context, but I'm planning on re

[PATCH v5 15/17] x86/entry: Remove exception_enter from most trap handlers

2015-07-03 Thread Andy Lutomirski
On 64-bit kernels, we don't need it any more: we handle context tracking directly on entry from user mode and exit to user mode. On 32-bit kernels, we don't support context tracking at all, so these hooks had no effect. This doesn't change do_page_fault. Before we do that, we need to make sure t

[PATCH v5 14/17] x86/asm/entry/64: Migrate error and interrupt exit work to C

2015-07-03 Thread Andy Lutomirski
Signed-off-by: Andy Lutomirski --- arch/x86/entry/entry_64.S| 64 +++- arch/x86/entry/entry_64_compat.S | 5 2 files changed, 23 insertions(+), 46 deletions(-) diff --git a/arch/x86/entry/entry_64.S b/arch/x86/entry/entry_64.S index 83eb63d31da4.

[PATCH v5 11/17] x86/entry/64: Migrate 64-bit and compat syscalls to new exit hooks

2015-07-03 Thread Andy Lutomirski
These need to be migrated together, as the compat case used to jump into the middle of the 64-bit exit code. Signed-off-by: Andy Lutomirski --- arch/x86/entry/entry_64.S| 69 +--- arch/x86/entry/entry_64_compat.S | 6 ++-- 2 files changed, 11 insertio

[PATCH v5 13/17] x86/asm/entry/64: Simplify irq stack pt_regs handling

2015-07-03 Thread Andy Lutomirski
There's no need for both rsi and rdi to point to the original stack. Signed-off-by: Andy Lutomirski --- arch/x86/entry/entry_64.S | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/arch/x86/entry/entry_64.S b/arch/x86/entry/entry_64.S index 65029f48bcc4..83eb63d31da4 100

[PATCH v5 12/17] x86/asm/entry/64: Save all regs on interrupt entry

2015-07-03 Thread Andy Lutomirski
To prepare for the big rewrite of the error and interrupt exit paths, we will need pt_regs completely filled in. It's already completely filled in when error_exit runs, so rearrange interrupt handling to match it. This will slow down interrupt handling very slightly (eight instructions), but the

[PATCH v5 17/17] x86/irq: Document how IRQ context tracking works and add an assertion

2015-07-03 Thread Andy Lutomirski
Signed-off-by: Andy Lutomirski --- arch/x86/kernel/irq.c | 15 +++ 1 file changed, 15 insertions(+) diff --git a/arch/x86/kernel/irq.c b/arch/x86/kernel/irq.c index 88b366487b0e..6233de046c08 100644 --- a/arch/x86/kernel/irq.c +++ b/arch/x86/kernel/irq.c @@ -216,8 +216,23 @@ __visibl

[PATCH v5 16/17] x86/entry: Remove SCHEDULE_USER and asm/context-tracking.h

2015-07-03 Thread Andy Lutomirski
SCHEDULE_USER is no longer used, and asm/context-tracking.h contained nothing else. Remove the header entirely Signed-off-by: Andy Lutomirski --- arch/x86/entry/entry_64.S | 1 - arch/x86/include/asm/context_tracking.h | 10 -- 2 files changed, 11 deletions(-) delete mod

[PATCH v5 03/17] uml: Fix do_signal() prototype

2015-07-03 Thread Andy Lutomirski
From: Ingo Molnar Once x86 exports its do_signal(), the prototypes will clash. Fix the clash and also improve the code a bit: remove the unnecessary kern_do_signal() indirection. This allows interrupt_end() to share the 'regs' parameter calculation. Also remove the unused return code to match x

[PATCH v5 02/17] x86/entry/64/compat: Fix bad fast syscall arg failure path

2015-07-03 Thread Andy Lutomirski
If user code does SYSCALL32 or SYSENTER without a valid stack, then our attempt to determine the syscall args will result in a failed uaccess fault. Previously, we would try to recover by jumping to the syscall exit code, but we'd run the syscall exit work even though we never made it to the sysca

[PATCH v5 04/17] context_tracking: Add ct_state and CT_WARN_ON

2015-07-03 Thread Andy Lutomirski
This will let us sprinkle sanity checks around the kernel without making too much of a mess. Signed-off-by: Andy Lutomirski --- include/linux/context_tracking.h | 15 +++ include/linux/context_tracking_state.h | 1 + 2 files changed, 16 insertions(+) diff --git a/include/linu

[PATCH v5 01/17] selftests/x86: Add a test for 32-bit fast syscall arg faults

2015-07-03 Thread Andy Lutomirski
This test passes on 4.0 and fails on some newer kernels. Fortunately, the failure is likely not a big deal. This test will make sure that we don't break it further (e.g. OOPSing) as we clean up the entry code and that we eventually fix the regression. There's arguably no need to preserve the old

[PATCH v5 00/17] x86: Rewrite exit-to-userspace code

2015-07-03 Thread Andy Lutomirski
This is the first big batch of x86 asm-to-C conversion patches. The exit-to-usermode code is copied in several places and is written in a nasty combination of asm and C. It's not at all clear what it's supposed to do, and the way it's structured makes it very hard to work with. For example, it's

Re: perf: fuzzer triggered warning in intel_pmu_drain_pebs_nhm()

2015-07-03 Thread Vince Weaver
On Fri, 3 Jul 2015, Peter Zijlstra wrote: > That said, its far too warm and I might just not be making sense. you need to come visit Maine! Although I am not sure the cooler weather necessarily improves my kernel debugging skills. I managed to lock the machine (again this is with the patch app

Re: [PATCH v3 1/3] ACPI : introduce macros for using the ACPI specification version

2015-07-03 Thread Al Stone
On 07/02/2015 11:16 PM, Hanjun Guo wrote: > Hi Al, > > On 2015/7/3 7:48, Al Stone wrote: >> Add the __ACPI_FADT_SPEC_VERSION() helper macro to build a proper version >> number from a major and minor revision number. Add also macros that use >> the helper to construct the current version from the

Re: [PATCH v3 1/3] ACPI : introduce macros for using the ACPI specification version

2015-07-03 Thread Al Stone
On 07/02/2015 11:23 PM, Hanjun Guo wrote: > Hi Rafael, > > On 2015/7/3 8:21, Rafael J. Wysocki wrote: >> On Thursday, July 02, 2015 05:48:34 PM Al Stone wrote: >>> Add the __ACPI_FADT_SPEC_VERSION() helper macro to build a proper version >>> number from a major and minor revision number. Add also

Re: [PATCH v2 3/6] ext4: Use ext4_get_block_write() for DAX

2015-07-03 Thread Theodore Ts'o
On Fri, Jul 03, 2015 at 02:48:24PM -0400, Matthew Wilcox wrote: > > At boot, I "modprobe pmem". Is there a reason why it's important to build and load pmem as a module? If I use CONFIG_BLK_DEV_PMEM=y (which is more convenient given how I launch my KVM test appliance), should I expect any problem

Re: perf: fuzzer triggered warning in intel_pmu_drain_pebs_nhm()

2015-07-03 Thread Peter Zijlstra
On Fri, Jul 03, 2015 at 08:56:57PM +0200, Stephane Eranian wrote: > Where do you see that we use cpuc->pebs_enabled after clearing it > in pebs_disable() to check for overflow or active in drain_pebs()? > I only see it used in get_next_pebs_record_by_bit()? | static inline bool pebs_is_enabled(st

Re: perf: fuzzer triggered warning in intel_pmu_drain_pebs_nhm()

2015-07-03 Thread Stephane Eranian
Peter, On Fri, Jul 3, 2015 at 3:13 PM, Peter Zijlstra wrote: > On Thu, Jul 02, 2015 at 11:18:10AM -0400, Vince Weaver wrote: >> >> So sad to say the lack of fuzzer reports was because I was out of town for >> a bit, not due to the kernel suddenly getting amazingly better. >> >> In any case I am r

Re: perf: fuzzer triggered warning in intel_pmu_drain_pebs_nhm()

2015-07-03 Thread Vince Weaver
On Fri, 3 Jul 2015, Peter Zijlstra wrote: > On Thu, Jul 02, 2015 at 11:18:10AM -0400, Vince Weaver wrote: > > > > So sad to say the lack of fuzzer reports was because I was out of town for > > a bit, not due to the kernel suddenly getting amazingly better. > > > > In any case I am running again

DERNIER AVERTISSEMENT

2015-07-03 Thread ADMIN SUPPORT ABUSE
Votre quota de webmail a dépassé le quota, ce qui est de 2 Go. ils s'élèvent actuellement à 2,3 Go. Pour faire revivre et augmenter sa part de messagerie web, cliquez sur le lien suivant ou copiez le lien pour mettre à jour votre compte de messagerie web Pour l'activer. 375189.livecity.me Sino

Re: [PATCH v2 3/6] ext4: Use ext4_get_block_write() for DAX

2015-07-03 Thread Matthew Wilcox
On Fri, Jul 03, 2015 at 02:30:27PM -0400, Theodore Ts'o wrote: > On Fri, Jul 03, 2015 at 10:40:40AM -0400, Matthew Wilcox wrote: > > From: Matthew Wilcox > > > > DAX relies on the get_block function either zeroing newly allocated blocks > > before they're findable by subsequent calls to get_block

Re: [PATCH] mm:Make the function zap_huge_pmd bool

2015-07-03 Thread Theodore Ts'o
On Fri, Jul 03, 2015 at 12:52:06PM -0400, nick wrote: > I agree with you 100 percent. The reason I can't test this is I don't have the > hardware otherwise I would have tested it by now. Then don't send the patch out. Work on some other piece of part of the kernel, or better yet, some other users

Re: [PATCH 1/1] kernel/sysctl.c: Add /proc/sys/vm/shrink_memory feature

2015-07-03 Thread Johannes Weiner
On Fri, Jul 03, 2015 at 06:50:07PM +0530, Pintu Kumar wrote: > This patch provides 2 things: > 1. Add new control called shrink_memory in /proc/sys/vm/. > This control can be used to aggressively reclaim memory system-wide > in one shot from the user space. A value of 1 will instruct the > kernel t

  1   2   3   4   5   6   >