[PATCH 9/9] usb: musb: musb_am335x: reinstate module loading/unloading support

2014-07-18 Thread Lothar Waßmann
There is no need to throw the baby out with the bath due to a bad failure analysis. The commit: 7adb5c876e9c usb: musb: Fix panic upon musb_am335x module removal came to a wrong conclusion about the cause of the crash it was "fixing". The real culprit was the phy-am335x module that was removed from

[PATCH 2/9] usb: phy: am335x: group the #includes by subdirs

2014-07-18 Thread Lothar Waßmann
Signed-off-by: Lothar Waßmann --- drivers/usb/phy/phy-am335x.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/usb/phy/phy-am335x.c b/drivers/usb/phy/phy-am335x.c index b70e055..91c71ab 100644 --- a/drivers/usb/phy/phy-am335x.c +++ b/drivers/usb/phy/phy-am335

[PATCH 8/9] usb: phy: am335x: call usb_gen_phy_init()/usb_gen_phy_shutdown() in am335x_init()/am335x_shutdown()

2014-07-18 Thread Lothar Waßmann
This patch makes it possible to use the musb driver with HW that requires external regulators or clocks. Signed-off-by: Lothar Waßmann --- drivers/usb/phy/phy-am335x.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/usb/phy/phy-am335x.c b/drivers/usb/phy/phy-am335x.c index 6522f

[PATCH 7/9] usb: phy: am335x: setup the gen_phy function pointers _before_ adding the phy

2014-07-18 Thread Lothar Waßmann
Make sure all parameters are correctly set up before registering the PHY with the USB framework. Signed-off-by: Lothar Waßmann --- drivers/usb/phy/phy-am335x.c |5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/usb/phy/phy-am335x.c b/drivers/usb/phy/phy-am335x.c

[PATCH 6/9] usb: musb: core: properly setup the HW before registering it to the USB core

2014-07-18 Thread Lothar Waßmann
Without this patch overriding the USBOTG_ID pin by setting the iddig bit in the USB_MODE register doesn't work because it happens too late to be recognized correctly. Signed-off-by: Lothar Waßmann --- drivers/usb/musb/musb_core.c | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(

[PATCH 1/9] usb: musb: core: cleanup - remove some useless 'break's from switch statements

2014-07-18 Thread Lothar Waßmann
Signed-off-by: Lothar Waßmann --- drivers/usb/musb/musb_core.c |4 1 file changed, 4 deletions(-) diff --git a/drivers/usb/musb/musb_core.c b/drivers/usb/musb/musb_core.c index b841ee0..8623112 100644 --- a/drivers/usb/musb/musb_core.c +++ b/drivers/usb/musb/musb_core.c @@ -680,7 +680,

[PATCH 5/9] usb: musb: print error message with dev_err() instead of dev_dbg()

2014-07-18 Thread Lothar Waßmann
Signed-off-by: Lothar Waßmann --- drivers/usb/musb/musb_core.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/musb/musb_core.c b/drivers/usb/musb/musb_core.c index 8623112..f867b44 100644 --- a/drivers/usb/musb/musb_core.c +++ b/drivers/usb/musb/musb_core.c @@

[PATCH 0/9] usb: musb: several bugfixes for the musb driver

2014-07-18 Thread Lothar Waßmann
The first three patches do some source code cleanup in the files that are modified in the subsequent patches. Patch 4 carries the proper fix reported in commit: 7adb5c876e9c ("usb: musb: Fix panic upon musb_am335x module removal") Patch 6 makes the USBOTG_ID pin override via the USB_MODE

[PATCH 4/9] usb: phy: am335x-control: prevent module from being unloaded when in use

2014-07-18 Thread Lothar Waßmann
This patch fixes the real cause of the crash that was "fixed" by commit 7adb5c876e9c usb: musb: Fix panic upon musb_am335x module removal Signed-off-by: Lothar Waßmann --- drivers/usb/phy/phy-am335x-control.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/usb/phy/phy-a

Re: [PATCH v4 1/4] Rename hid-lenovo-tpkbd to hid-lenovo

2014-07-18 Thread Jamie Lentin
On Mon, 14 Jul 2014, Antonio Ospite wrote: On Sun, 13 Jul 2014 08:24:19 +0100 Jamie Lentin wrote: Rename module and all functions within so we can add support for other keyboards in the same file. Rename the _tp postfix to _tpkbd, to signify functions relevant to the TP USB keyboard. Signed-

Re: [PATCH] Staging: panel: fixed frivilous else statement warning

2014-07-18 Thread Willy Tarreau
On Thu, Jul 10, 2014 at 03:34:28AM -0700, Vincent Heuken wrote: > Fixed one instance of the following checkpatch.pl warning in > panel.c: > WARNING: else is not generally useful after a break or return > > Signed-off-by: Vincent Heuken Acked-By: Willy Tarreau Vincent, are you currently reviewi

Re: [PATCH, RFC -v2] random: introduce getrandom(2) system call

2014-07-18 Thread Florian Weimer
On 07/17/2014 11:38 PM, Theodore Ts'o wrote: If the GRND_RANDOM flags bit is set, then draw from the /dev/random pool instead of the /dev/urandom pool. The /dev/random pool is limited based on the entropy that can be obtained from environmental noise, so if there

Re: [PATCHv6 0/4] iio: adc: exynos_adc: Support Exynos3250 ADC and code clean

2014-07-18 Thread Arnd Bergmann
On Friday 18 July 2014 14:59:42 Chanwoo Choi wrote: > This patchset support Exynos3250 ADC (Analog Digital Converter) because > Exynos3250 has additional special clock for ADC IP. > by coincidence, I have just looked at the same driver in order to add support for s3c24xx and s3c64xx, so we can re

[RFC] usb: gadget: serial: remove PREFIX macro

2014-07-18 Thread Richard Leitner
Remove the ttyGS PREFIX macro from u_serial.c and replace all occurences with the hardcoded ttyGS string. This macro was mostly used in a few debug/warning messages and a lot of hardcoded ttyGS existed beneath. It may have been used for renaming the tty, but if done so most debug messages would ha

Re: [PATCH v2 21/29] nios2: Futex operations

2014-07-18 Thread Thomas Gleixner
On Fri, 18 Jul 2014, Arnd Bergmann wrote: > On Friday 18 July 2014 14:07:42 Ley Foon Tan wrote: > > On Thu, Jul 17, 2014 at 7:07 PM, Arnd Bergmann wrote: > > > The get_user/put_user functions really need to be annotated might_fault(), > > > because that's what they do. > > > > > > The whole point

Re: [PATCHv6 1/4] iio: adc: exynos_adc: Add exynos_adc_data structure to improve readability

2014-07-18 Thread Arnd Bergmann
On Friday 18 July 2014 14:59:43 Chanwoo Choi wrote: > This patchset add 'exynos_adc_data' structure which includes some functions > to control ADC operation and specific data according to ADC version (v1 or > v2). > This new structure makes a lot of sense for covering the exynos specific version

Re: [PATCH 1/3] blk-mq: cleanup after blk_mq_init_rq_map failures

2014-07-18 Thread Christoph Hellwig
On Thu, Jul 17, 2014 at 02:39:09PM -0500, Robert Elliott wrote: > In blk-mq.c blk_mq_alloc_tag_set, if: > set->tags = kmalloc_node() > succeeds, but one of the blk_mq_init_rq_map() calls fails, > goto out_unwind; > needs to free set->tags so the caller is not obligated > to do so. None

Re: [PATCH] arch/metag/kernel/cachepart.c: fix failure check

2014-07-18 Thread James Hogan
On 17/07/14 16:58, Andrey Utkin wrote: > [linux-3.16-rc5/arch/metag/kernel/cachepart.c:102]: (style) Checking if > unsigned variable 'thread_cache_size' is less than zero. > > Source code is > > if (thread_cache_size < 0) > pr_emerg("Can't read %s cache size\n", >

Re: [PATCH 2/3] blk-mq: pass along blk_mq_alloc_tag_set return values

2014-07-18 Thread Christoph Hellwig
On Thu, Jul 17, 2014 at 02:39:21PM -0500, Robert Elliott wrote: > Two of the blk-mq based drivers do not pass back the return value > from blk_mq_alloc_tag_set, instead just returning -ENOMEM. > > blk_mq_alloc_tag_set returns -EINVAL if the number of queues or > queue depth is bad. -ENOMEM implie

Re: [PATCH 3/3] mpt3sas, mpt2sas: fix scsi_add_host error handling problems in _scsih_probe

2014-07-18 Thread Christoph Hellwig
On Thu, Jul 17, 2014 at 02:39:30PM -0500, Robert Elliott wrote: > In _scsih_probe, propagate the return value from scsi_add_host. > In mpt3sas, avoid calling list_del twice if that returns an > error, which causes list_del corruption warnings if an error > is returned. > > Tested with blk-mq and s

Contact Me Urgently.

2014-07-18 Thread Tracking Limited
I work with One Tracking limited affiliated to a prestigious bank, we are conducting a standard investigation involving a customer who shares the same name with you. Kindly confirm if this email is valid for you so I can brief further.My email: hu_huimin...@yahoo.com.hk Huimin Hu -- To unsubs

Re: [PATCH v10 5/7] arm: add basic support for Mediatek MT6589 boards

2014-07-18 Thread Daniel Lezcano
On 07/07/2014 05:13 PM, Matthias Brugger wrote: This adds a generic devicetree board file and a dtsi for boards based on MT6589 SoCs from Mediatek. Apart from the generic parts (gic, clocks) the only component currently supported are the timers. Signed-off-by: Matthias Brugger -- I will take

Re: [PATCHv6 2/4] iio: adc: exynos_adc: Control special clock of ADC to support Exynos3250 ADC

2014-07-18 Thread Arnd Bergmann
On Friday 18 July 2014 14:59:44 Chanwoo Choi wrote: > This patch control special clock for ADC in Exynos series's FSYS block. > If special clock of ADC is registerd on clock list of common clk framework, > Exynos ADC drvier have to control this clock. > > Exynos3250/Exynos4/Exynos5 has 'adc' clock

Re: [PATCHv6 3/4] iio: devicetree: Add DT binding documentation for Exynos3250 ADC

2014-07-18 Thread Arnd Bergmann
On Friday 18 July 2014 14:59:45 Chanwoo Choi wrote: > Must be "samsung,exynos-adc-v2" for > future controllers. It would be good to change 'future controllers' to something else now. Presumably that word was used before the actual products we

[PATCH 0/2] net: macb: Handle RX errors

2014-07-18 Thread Neil Armstrong
On our hardware, the MACB connected to a heavilly used AXI bus, fails to correctly write RX descriptors. This leds to RX ring errors that can be managed. These patchs add RX error management according to the Cadence MACB User Guide. The first patch separates the RX and TX rings init in order to

[PATCH] kernel: signal : fix coding style errors and reduce warnings.

2014-07-18 Thread Ionut Alexa
Fix coding style errors and reduced codign style warnings. Signed-off-by: Ionut Alexa --- kernel/signal.c | 150 --- 1 file changed, 88 insertions(+), 62 deletions(-) diff --git a/kernel/signal.c b/kernel/signal.c index a4077e9..e69daec 10064

Re: [PATCH] ARM: zynq: dt: Add GPIO node

2014-07-18 Thread Michal Simek
On 07/10/2014 08:53 PM, Soren Brinkmann wrote: > Add node describing Zynq's GPIO controller. > > Signed-off-by: Soren Brinkmann > --- > The GPIO driver and binding documentation is staged in Linus' GPIO tree. > > Sören > > arch/arm/boot/dts/zynq-7000.dtsi | 10 ++ > 1 file change

Re: [PATCH 2/2 v4] sched: Rewrite per entity runnable load average tracking

2014-07-18 Thread Vincent Guittot
On 18 July 2014 01:26, Yuyang Du wrote: > The idea of per entity runnable load average (let runnable time contribute to > load > weight) was proposed by Paul Turner, and it is still followed by this > rewrite. This > rewrite is done due to the following ends: > > 1. cfs_rq's load average (namely

[PATCH 2/2] net: macb: Handle errors in RX path

2014-07-18 Thread Neil Armstrong
In certain circumstances, the MACB fails to write correct RX ring descriptor, and lead to actually managed by BUG_ON() error cases. Handle these two cases by returning error values, while resetting the RX ring and RX HW path in the poll methos. In the same time, check and handle BNA and OVR into

Re: [PATCH 2/5] memory-hotplug: x86_32: suitable memory should go to ZONE_MOVABLE

2014-07-18 Thread Wang Nan
On 2014/7/18 15:56, Wang Nan wrote: > This patch add new memory to ZONE_MOVABLE if movable zone is setup > and lower than newly added memory for x86_32. > > Signed-off-by: Wang Nan > --- > arch/x86/mm/init_32.c | 6 ++ > 1 file changed, 6 insertions(+) > > diff --git a/arch/x86/mm/init_32.c

[tip:timers/core] timerfd: Implement show_fdinfo method

2014-07-18 Thread tip-bot for Cyrill Gorcunov
Commit-ID: af9c4957cf212ad9cf0bee34c95cb11de5426e85 Gitweb: http://git.kernel.org/tip/af9c4957cf212ad9cf0bee34c95cb11de5426e85 Author: Cyrill Gorcunov AuthorDate: Wed, 16 Jul 2014 01:54:52 +0400 Committer: Thomas Gleixner CommitDate: Fri, 18 Jul 2014 11:49:57 +0200 timerfd: Implement s

[tip:timers/core] docs: Procfs -- Document timerfd output

2014-07-18 Thread tip-bot for Cyrill Gorcunov
Commit-ID: 854d06d9fc350130617debdd9e9f49d1c4ba5206 Gitweb: http://git.kernel.org/tip/854d06d9fc350130617debdd9e9f49d1c4ba5206 Author: Cyrill Gorcunov AuthorDate: Wed, 16 Jul 2014 01:54:53 +0400 Committer: Thomas Gleixner CommitDate: Fri, 18 Jul 2014 11:49:57 +0200 docs: Procfs -- Docu

[PATCH 1/2] clk: samsung: exynos4x12: Enable ARMCLK down feature

2014-07-18 Thread Krzysztof Kozlowski
Enable ARMCLK down and up features on Exynos4212 and 4412 SoCs. The frequency of ARMCLK will be reduced upon entering idle mode (WFI or WFE). Additionally upon exiting from idle mode the divider for ARMCLK will be brought back to 1. These are exactly the same settings as for Exynos5250 (clk-exyno

[tip:timers/core] timerfd: Implement timerfd_ioctl method to restore timerfd_ctx::ticks, v3

2014-07-18 Thread tip-bot for Cyrill Gorcunov
Commit-ID: 5442e9fbd7c23172a1c9bc736629cd123a9923f0 Gitweb: http://git.kernel.org/tip/5442e9fbd7c23172a1c9bc736629cd123a9923f0 Author: Cyrill Gorcunov AuthorDate: Wed, 16 Jul 2014 01:54:54 +0400 Committer: Thomas Gleixner CommitDate: Fri, 18 Jul 2014 11:49:57 +0200 timerfd: Implement t

Re: [PATCH v2 3/3] drivers/leds/leds-menf21bmc: introduce MEN 14F021P00 BMC LED driver

2014-07-18 Thread Andreas Werner
On Wed, Jun 25, 2014 at 04:10:55PM -0700, Bryan Wu wrote: > On Tue, May 27, 2014 at 2:08 AM, Andreas Werner wrote: > > Added driver to support the 14F021P00 BMC LEDs. > > The BMC is a Board Management Controll include four LEDs which > > can be switched on and off. > > > > This driver use the I2C

[PATCH] Hyperv: Trigger DHCP renew after host hibernation

2014-07-18 Thread Yue Zhang
From: Yue Zhang This patch addresses the comment from Olaf Hering and Greg KH for a previous commit 3a494e710367 ("hyperv: Add handler for RNDIS_STATUS_NETWORK_CHANGE event") In previous solution, the driver calls "network restart" to force a DHCP renew when the host is back from hibernation. I

[PATCH 1/2] net: macb: Separate rx and tx ring init function

2014-07-18 Thread Neil Armstrong
A single method is called to initialize the TX and RX rings. Separate the methods into distinct ones for MACB and GEM context. Signed-off-by: Neil Armstrong --- drivers/net/ethernet/cadence/macb.c | 33 - drivers/net/ethernet/cadence/macb.h |3 ++- 2 files c

[PATCH 2/2] clk: samsung: exynos3250: Enable ARMCLK down feature

2014-07-18 Thread Krzysztof Kozlowski
Enable ARMCLK down and up features on Exynos3250 SoC. The frequency of ARMCLK will be reduced upon entering idle mode (WFI or WFE). Additionally upon exiting from idle mode the divider for ARMCLK will be brought back to 1. These are exactly the same settings as for Exynos5250 (clk-exynos5250.c).

Re: [PATCH v2 21/29] nios2: Futex operations

2014-07-18 Thread Arnd Bergmann
On Friday 18 July 2014 11:42:34 Thomas Gleixner wrote: > On Fri, 18 Jul 2014, Arnd Bergmann wrote: > > On Friday 18 July 2014 14:07:42 Ley Foon Tan wrote: > > > On Thu, Jul 17, 2014 at 7:07 PM, Arnd Bergmann wrote: > > If this understanding is right, we can probably just merge the > > m68k impleme

Re: [PATCH 0/5] memory-hotplug: suitable memory should go to ZONE_MOVABLE

2014-07-18 Thread Wang Nan
On 2014/7/18 17:16, Zhang Yanfei wrote: > Hello, > > On 07/18/2014 03:55 PM, Wang Nan wrote: >> This series of patches fix a problem when adding memory in bad manner. >> For example: for a x86_64 machine booted with "mem=400M" and with 2GiB >> memory installed, following commands cause problem: >>

[PATCH, RFC -v3] random: introduce getrandom(2) system call

2014-07-18 Thread Theodore Ts'o
The getrandom(2) system call was requested by the LibreSSL Portable developers. It is analoguous to the getentropy(2) system call in OpenBSD. The rationale of this system call is to provide resiliance against file descriptor exhaustion attacks, where the attacker consumes all available file descr

Re: [PATCHv6 2/4] iio: adc: exynos_adc: Control special clock of ADC to support Exynos3250 ADC

2014-07-18 Thread Chanwoo Choi
Hi Arnd, On 07/18/2014 06:47 PM, Arnd Bergmann wrote: > On Friday 18 July 2014 14:59:44 Chanwoo Choi wrote: >> This patch control special clock for ADC in Exynos series's FSYS block. >> If special clock of ADC is registerd on clock list of common clk framework, >> Exynos ADC drvier have to control

Re: [RFC V1] mfd: da9063: Add support for AD silicon variant

2014-07-18 Thread Philipp Zabel
Am Mittwoch, den 16.07.2014, 17:39 +0100 schrieb Opensource [Steve Twiss]: > From: Opensource [Steve Twiss] > > Add register definitions for DA9063 AD (0x3) silicon variant ID > and Kconfig support to choose the silicon variant at compile time. > This patch also adds RTC support for the AD silico

Re: [ANNOUNCE] scsi patch queue tree updated

2014-07-18 Thread Christoph Hellwig
I've pushed out new version of the for-3.17 core and drivers trees: git://git.infradead.org/users/hch/scsi-queue.git core-for-3.17 git://git.infradead.org/users/hch/scsi-queue.git drivers-for-3.17 In the core tree the biggest update is the merge of the I/O path cleanups, in addition various i

Re: [PATCH 2/2] pwm: add this series patch to support for rk-pwm and vop-pwm.

2014-07-18 Thread Thierry Reding
On Fri, Jul 18, 2014 at 01:05:56PM +0800, caesar wrote: > 于 2014年07月18日 03:24, Beniamino Galvani 写道: > >On Thu, Jul 17, 2014 at 02:08:14PM +0800, caesar wrote: [...] > >>@@ -119,9 +185,12 @@ static int rockchip_pwm_probe(struct platform_device > >>*pdev) > >>return -ENOMEM; > >>r =

[PATCH v3 2/3] ACPI: Don't use acpi_lapic in ACPI core code

2014-07-18 Thread Hanjun Guo
From: Graeme Gregory Now ARM64 support is being added to ACPI so architecture specific values can not be used in core ACPI code. Following on the patch "ACPI / processor: Check if LAPIC is present during initialization" which uses acpi_lapic in acpi_processor.c, on ARM64 platform, GIC is used in

[PATCH v3 1/3] ACPI: ARM64 does not have a BIOS add config for BIOS table scan.

2014-07-18 Thread Hanjun Guo
From: Graeme Gregory With the addition of ARM64 that does not have a traditional BIOS to scan, add a config option which is selected on x86 (ia64 doesn't need it either, it is EFI/UEFI based system) to do the traditional BIOS scanning for tables. Signed-off-by: Graeme Gregory Signed-off-by: Han

[PATCH v3 0/3] Clean up ACPI core to prepare for running ACPI on ARM64

2014-07-18 Thread Hanjun Guo
This patch set have no function change for x86 and ia64 and just do some clean up to prepare for running ACPI on ARM64. This patch set is splited out from the patch set [1] "[PATCH v4 00/13] Enable ACPI on ARM64 in Kconfig" and hope it can be merged first before ARM64 ACPI core patches. [1]: http

[PATCH v3 3/3] ACPI / processor: Introduce ARCH_HAS_ACPI_PDC

2014-07-18 Thread Hanjun Guo
The use of _PDC is deprecated in ACPI 3.0 in favor of _OSC, as ARM platform is supported only in ACPI 5.0 or higher version, _PDC will not be used in ARM platform, so make Make _PDC only for platforms with Intel CPUs. Introduce ARCH_MIGHT_HAVE_ACPI_PDC and move _PDC related code in ACPI processor

Re: [PATCH 2/2] net: macb: Handle errors in RX path

2014-07-18 Thread Varka Bhadram
On 07/18/2014 03:23 PM, Neil Armstrong wrote: In certain circumstances, the MACB fails to write correct RX ring descriptor, and lead to actually managed by BUG_ON() error cases. Handle these two cases by returning error values, while resetting the RX ring and RX HW path in the poll methos. In t

[PATCH 11/14] scsi: unwind blk_end_request_all and blk_end_request_err calls

2014-07-18 Thread Christoph Hellwig
Replace the calls to the various blk_end_request variants with opencode equivalents. Blk-mq is using a model that gives the driver control between the bio updates and the actual completion, and making the old code follow that same model allows us to keep the code more similar for both paths. Sign

[PATCH 14/14] fnic: reject device resets without assigned tags for the blk-mq case

2014-07-18 Thread Christoph Hellwig
Current the midlayer fakes up a struct request for the explicit reset ioctls, and those don't have a tag allocated to them. The fnic driver pokes into midlayer structures to paper over this design issue, but that won't work for the blk-mq case. Either someone who can actually test the hardware wi

Re: [PATCHv6 1/4] iio: adc: exynos_adc: Add exynos_adc_data structure to improve readability

2014-07-18 Thread Naveen Krishna Ch
Hello Arnd, On 18 July 2014 15:12, Arnd Bergmann wrote: > On Friday 18 July 2014 14:59:43 Chanwoo Choi wrote: >> This patchset add 'exynos_adc_data' structure which includes some functions >> to control ADC operation and specific data according to ADC version (v1 or >> v2). >> > > This new struc

Re: [PATCH 1/2] net: macb: Separate rx and tx ring init function

2014-07-18 Thread Varka Bhadram
On 07/18/2014 03:22 PM, Neil Armstrong wrote: A single method is called to initialize the TX and RX rings. Separate the methods into distinct ones for MACB and GEM context. Signed-off-by: Neil Armstrong --- drivers/net/ethernet/cadence/macb.c | 33 - drivers

[PATCH 12/14] scatterlist: allow chaining to preallocated chunks

2014-07-18 Thread Christoph Hellwig
Blk-mq drivers usually preallocate their S/G list as part of the request, but if we want to support the very large S/G lists currently supported by the SCSI code that would tie up a lot of memory in the preallocated request pool. Add support to the scatterlist code so that it can initialize a S/G

Re: [PATCH 1/2] net: macb: Separate rx and tx ring init function

2014-07-18 Thread Neil Armstrong
Le 18/07/2014 12:10, Varka Bhadram a écrit : > On 07/18/2014 03:22 PM, Neil Armstrong wrote: >> A single method is called to initialize the TX and RX >> rings. Separate the methods into distinct ones for >> MACB and GEM context. >> >> Signed-off-by: Neil Armstrong >> --- >> drivers/net/ethernet/

scsi-mq V4

2014-07-18 Thread Christoph Hellwig
At this point the code is ready for merging and use by developers and early adopters. Except for the newly added first patch all have been thru multiple review cycles and I would like to merge the series early next week assuming I can get reviews for this. Please scream loud if you see any reason

Re: [PATCH] Hyperv: Trigger DHCP renew after host hibernation

2014-07-18 Thread Varka Bhadram
On 07/18/2014 04:25 PM, Yue Zhang wrote: @@ -816,8 +816,21 @@ static void netvsc_link_change(struct work_struct *w) rtnl_unlock(); - if (refresh) - call_usermodehelper(argv[0], argv, envp, UMH_WAIT_EXEC); + if (refresh) { + /* +* Keep th

[PATCH 09/14] scsi: fix the {host,target,device}_blocked counter mess

2014-07-18 Thread Christoph Hellwig
Seems like these counters are missing any sort of synchronization for updates, as a over 10 year old comment from me noted. Fix this by using atomic counters, and while we're at it also make sure they are in the same cacheline as the _busy counters and not needlessly stored to in every I/O complet

[PATCH 13/14] scsi: add support for a blk-mq based I/O path.

2014-07-18 Thread Christoph Hellwig
This patch adds support for an alternate I/O path in the scsi midlayer which uses the blk-mq infrastructure instead of the legacy request code. Use of blk-mq is fully transparent to drivers, although for now a host template field is provided to opt out of blk-mq usage in case any unforseen incompa

[PATCH 10/14] scsi: only maintain target_blocked if the driver has a target queue limit

2014-07-18 Thread Christoph Hellwig
This saves us an atomic operation for each I/O submission and completion for the usual case where the driver doesn't set a per-target can_queue value. Only a few iscsi hardware offload drivers set the per-target can_queue value at the moment. Signed-off-by: Christoph Hellwig Reviewed-by: Webb Sc

Re: [PATCHv6 0/4] iio: adc: exynos_adc: Support Exynos3250 ADC and code clean

2014-07-18 Thread Naveen Krishna Ch
Hello Arnd, On 18 July 2014 15:08, Arnd Bergmann wrote: > On Friday 18 July 2014 14:59:42 Chanwoo Choi wrote: >> This patchset support Exynos3250 ADC (Analog Digital Converter) because >> Exynos3250 has additional special clock for ADC IP. >> > > by coincidence, I have just looked at the same dri

[PATCH 02/14] scsi: split __scsi_queue_insert

2014-07-18 Thread Christoph Hellwig
Factor out a helper to set the _blocked values, which we'll reuse for the blk-mq code path. Signed-off-by: Christoph Hellwig Reviewed-by: Hannes Reinecke Reviewed-by: Webb Scales Acked-by: Jens Axboe Tested-by: Bart Van Assche Tested-by: Robert Elliott --- drivers/scsi/scsi_lib.c | 44 +

[PATCH 2/2 v2] net: macb: Handle errors in RX path

2014-07-18 Thread Neil Armstrong
In certain circumstances, the MACB fails to write correct RX ring descriptor, and lead to actually managed by BUG_ON() error cases. Handle these two cases by returning error values, while resetting the RX ring and RX HW path in the poll methos. In the same time, check and handle BNA and OVR into

[PATCH 06/14] scsi: convert target_busy to an atomic_t

2014-07-18 Thread Christoph Hellwig
Avoid taking the host-wide host_lock to check the per-target queue limit. Instead we do an atomic_inc_return early on to grab our slot in the queue, and if nessecary decrement it after finishing all checks. Signed-off-by: Christoph Hellwig Reviewed-by: Hannes Reinecke Reviewed-by: Webb Scales A

Re: [PATCH 1/2] net: macb: Separate rx and tx ring init function

2014-07-18 Thread Varka Bhadram
On 07/18/2014 03:43 PM, Neil Armstrong wrote: Le 18/07/2014 12:10, Varka Bhadram a écrit : On 07/18/2014 03:22 PM, Neil Armstrong wrote: A single method is called to initialize the TX and RX rings. Separate the methods into distinct ones for MACB and GEM context. Signed-off-by: Neil Armstrong

[PATCH 03/14] scsi: centralize command re-queueing in scsi_dispatch_fn

2014-07-18 Thread Christoph Hellwig
Make sure we only have the logic for requeing commands in one place. Signed-off-by: Christoph Hellwig Reviewed-by: Hannes Reinecke Reviewed-by: Webb Scales Acked-by: Jens Axboe Tested-by: Bart Van Assche Tested-by: Robert Elliott --- drivers/scsi/scsi.c | 35

Re: [PATCHv6 0/4] iio: adc: exynos_adc: Support Exynos3250 ADC and code clean

2014-07-18 Thread Naveen Krishna Ch
Hello All, On 18 July 2014 15:43, Naveen Krishna Ch wrote: > Hello Arnd, > > On 18 July 2014 15:08, Arnd Bergmann wrote: >> On Friday 18 July 2014 14:59:42 Chanwoo Choi wrote: >>> This patchset support Exynos3250 ADC (Analog Digital Converter) because >>> Exynos3250 has additional special clock

[PATCH 08/14] scsi: convert device_busy to atomic_t

2014-07-18 Thread Christoph Hellwig
Avoid taking the queue_lock to check the per-device queue limit. Instead we do an atomic_inc_return early on to grab our slot in the queue, and if necessary decrement it after finishing all checks. Unlike the host and target busy counters this doesn't allow us to avoid the queue_lock in the reque

[PATCH 05/14] scsi: push host_lock down into scsi_{host,target}_queue_ready

2014-07-18 Thread Christoph Hellwig
Prepare for not taking a host-wide lock in the dispatch path by pushing the lock down into the places that actually need it. Note that this patch is just a preparation step, as it will actually increase lock roundtrips and thus decrease performance on its own. Signed-off-by: Christoph Hellwig Re

[PATCH 07/14] scsi: convert host_busy to atomic_t

2014-07-18 Thread Christoph Hellwig
Avoid taking the host-wide host_lock to check the per-host queue limit. Instead we do an atomic_inc_return early on to grab our slot in the queue, and if nessecary decrement it after finishing all checks. Signed-off-by: Christoph Hellwig Reviewed-by: Hannes Reinecke Reviewed-by: Webb Scales Ack

[PATCH 01/14] scsi: add scsi_setup_cmnd helper

2014-07-18 Thread Christoph Hellwig
Factor out command setup code that will be shared with the blk-mq code path. Signed-off-by: Christoph Hellwig --- drivers/scsi/scsi_lib.c | 40 ++-- 1 file changed, 22 insertions(+), 18 deletions(-) diff --git a/drivers/scsi/scsi_lib.c b/drivers/scsi/scsi_lib

Re: Scheduler regression from caffcdd8d27ba78730d5540396ce72ad022aff2c

2014-07-18 Thread Peter Zijlstra
On Fri, Jul 18, 2014 at 12:34:49AM -0500, Bruno Wolff III wrote: > On Thu, Jul 17, 2014 at 14:35:02 +0200, > Peter Zijlstra wrote: > > > >In any case, can someone who can trigger this run with the below; its > >'clean' for me, but supposedly you'll trigger a FAIL somewhere. > > I got a couple of

[PATCH v2 0/3] perf/sdt : Support for SDT markers

2014-07-18 Thread Hemant Kumar
This patchset helps in listing dtrace style markers(SDT) present in user space applications through perf. Notes/markers are placed at important places by the developers. They have a negligible overhead when not enabled. We can enable them and probe at these places and find some important informatio

[PATCH 04/14] scsi: set ->scsi_done before calling scsi_dispatch_cmd

2014-07-18 Thread Christoph Hellwig
The blk-mq code path will set this to a different function, so make the code simpler by setting it up in a legacy-request specific place. Signed-off-by: Christoph Hellwig Reviewed-by: Hannes Reinecke Reviewed-by: Webb Scales Acked-by: Jens Axboe Tested-by: Bart Van Assche Tested-by: Robert El

[PATCH v2 2/3] perf/sdt: Listing SDT markers for a single file

2014-07-18 Thread Hemant Kumar
This patch enables perf to look for SDT markers in a single file. The previous patch looks for SDT markers in a set of default paths and records them in a SDT cache. However, not all the SDT markers are present in the SDT cache file. An individual file argument can be given to "perf list" to find o

[PATCH v2 1/3] perf/sdt : Listing of SDT markers by perf

2014-07-18 Thread Hemant Kumar
This patch enables perf to list the SDT markers present in a system. It looks in dsos given by ldconfig --print-cache and for other binaries, it looks into the PATH environment variable. After preparing a list of the binaries, then it starts searching for SDT markers in them. To find the SDT marker

[PATCH RFC 0/2] percpu_tags: Prototype implementation

2014-07-18 Thread Alexander Gordeev
Hello Gentleman, This is a development of "percpu_ida" library. I named it "percpu_tags" to simplify review, since most of "percpu_ida" code has gone and a diff would not be informative. While the concept of per-cpu arrays is is preserved, the implementation is heavily reworked. The main objectiv

Re: Alpha Checkpatch Errors

2014-07-18 Thread Peter Zijlstra
On Thu, Jul 17, 2014 at 11:24:45PM -0400, Nick Krause wrote: > Yes I am human. Could you then perhaps try harder at being one, the way it looks now is you're failing even the 'simple' Turing test. pgprVdtdiu7WI.pgp Description: PGP signature

[PATCH v2 3/3] perf/sdt: Documentation

2014-07-18 Thread Hemant Kumar
This patch adds the required documentation for perf support to SDT markers. --- tools/perf/Documentation/SDT-markers.txt | 123 ++ tools/perf/Documentation/perf-list.txt |7 +- 2 files changed, 129 insertions(+), 1 deletion(-) create mode 100644 tools/perf/Docu

[PATCH RFC 2/2] percpu_tags: Use percpu_tags instead of percpu_ida

2014-07-18 Thread Alexander Gordeev
All users of "percpu_ida" are blindly converted to "percpu_tags" users. No testing has been conducted. Signed-off-by: Alexander Gordeev Cc: linux-s...@vger.kernel.org Cc: qla2xxx-upstr...@qlogic.com Cc: Nicholas Bellinger Cc: Kent Overstreet Cc: "Michael S. Tsirkin" --- drivers/scsi/qla2xxx/q

[tip:perf/urgent] kprobes: Fix "Failed to find blacklist" probing errors on ia64 and ppc64

2014-07-18 Thread tip-bot for Masami Hiramatsu
Commit-ID: d81b4253b0f0f1e7b7e03b0cd0f80cab18bc4d7b Gitweb: http://git.kernel.org/tip/d81b4253b0f0f1e7b7e03b0cd0f80cab18bc4d7b Author: Masami Hiramatsu AuthorDate: Thu, 17 Jul 2014 11:44:11 + Committer: Ingo Molnar CommitDate: Fri, 18 Jul 2014 06:23:40 +0200 kprobes: Fix "Failed to

[tip:perf/core] perf tests: Update attr test with PERF_FLAG_FD_CLOEXEC flag

2014-07-18 Thread tip-bot for Jiri Olsa
Commit-ID: fb578179a54553716afb0666a4d8c194acd313ba Gitweb: http://git.kernel.org/tip/fb578179a54553716afb0666a4d8c194acd313ba Author: Jiri Olsa AuthorDate: Mon, 14 Jul 2014 08:50:03 +0200 Committer: Jiri Olsa CommitDate: Fri, 18 Jul 2014 09:09:53 +0200 perf tests: Update attr test wit

Re: MIPS seccomp and changing syscalls

2014-07-18 Thread Markos Chandras
Hi Kees, On 07/17/2014 11:29 PM, Kees Cook wrote: > Hi, > > I recently fixed a bug in seccomp on ARM that I think may be present > in the MIPS implementation too. In arch/mips/kernel/ptrace.c > syscall_trace_enter, the syscall variable is used (and returned), but > the syscall may be changed by e

[PATCH RFC 1/2] percpu_tags: Prototype implementation

2014-07-18 Thread Alexander Gordeev
This is a development of "percpu_ida" library. The major differrences between "percpu_ida" and "percpu_tags" are: * The global freelist has gone. As result, CPUs do not compete for the global lock. * Long-running operatons (scanning thru a cpumask) are executed with local interrupts enabled;

Re: [PATCH, RFC -v2] random: introduce getrandom(2) system call

2014-07-18 Thread Theodore Ts'o
On Fri, Jul 18, 2014 at 11:39:17AM +0200, Florian Weimer wrote: > On 07/17/2014 11:38 PM, Theodore Ts'o wrote: > > If the GRND_RANDOM flags bit is set, then draw from the > > /dev/random pool instead of the /dev/urandom pool. The > > /dev/random pool is limited based on the entropy tha

[tip:perf/core] perf tools: Enable close-on-exec flag on perf file descriptor

2014-07-18 Thread tip-bot for Yann Droneaud
Commit-ID: 57480d2cd93579d665e57e144e1e63f7f02ef058 Gitweb: http://git.kernel.org/tip/57480d2cd93579d665e57e144e1e63f7f02ef058 Author: Yann Droneaud AuthorDate: Mon, 30 Jun 2014 22:28:47 +0200 Committer: Jiri Olsa CommitDate: Fri, 18 Jul 2014 09:09:34 +0200 perf tools: Enable close-on-

Re: [PATCH, RFC -v3] random: introduce getrandom(2) system call

2014-07-18 Thread Richard Weinberger
On Fri, Jul 18, 2014 at 11:59 AM, Theodore Ts'o wrote: > The getrandom(2) system call was requested by the LibreSSL Portable > developers. It is analoguous to the getentropy(2) system call in > OpenBSD. > > The rationale of this system call is to provide resiliance against > file descriptor exhau

Re: [PATCH v5 1/8] of: Add NVIDIA Tegra SATA controller binding

2014-07-18 Thread Hans de Goede
Hi, On 07/18/2014 09:11 AM, Mikko Perttunen wrote: > This patch adds device tree binding documentation for the SATA > controller found on NVIDIA Tegra SoCs. > > Signed-off-by: Mikko Perttunen > --- > v5: remove ordering requirement again Acked-by: Hans de Goede Regards, Hans > > .../dev

Re: [PATCH v5 7/8] ata: Add support for the Tegra124 SATA controller

2014-07-18 Thread Hans de Goede
Hi, On 07/18/2014 09:12 AM, Mikko Perttunen wrote: > This adds support for the integrated AHCI-compliant Serial ATA > controller present on the NVIDIA Tegra124 system-on-chip. > > Signed-off-by: Mikko Perttunen > --- > v5: let ahci_platform handle sata clock and also handle it ourselves. > thi

Re: [PATCH v5 1/8] of: Add NVIDIA Tegra SATA controller binding

2014-07-18 Thread Hans de Goede
Hi, On 07/18/2014 09:16 AM, Mikko Perttunen wrote: > So here's v5: this time, as suggested, I handle the sata clock myself and let > ahci_platform handle it too, leading it to be prepared+enabled twice. This > works fine, and allows us to remove the DT ordering requirement. > > I also have in t

Re: [PATCH v2] usb: phy: msm: Make phy_reset clk and reset line optional.

2014-07-18 Thread Prakash Burla
tested-by: Prakash Burla This driver tested on IFC6410 with USB Driver. On Fri, Jul 18, 2014 at 1:46 AM, Srinivas Kandagatla wrote: > This patch makes the phy reset clk and reset line optional as this clk > is not available on boards like IFC6410 with APQ8064. > > phy-reset clk is only used as a

Re: [PATCH 1/2] ASoC: fsl_sai: Reset FIFOs after disabling TE/RE

2014-07-18 Thread Nicolin Chen
Mark, Please disregard this single patch. On Thu, Jul 17, 2014 at 09:21:37PM +0800, Nicolin Chen wrote: > SAI will not clear their FIFOs after disabling TE/RE. Therfore, the driver > should take care the task so as not to let useless data remain in the FIFO. > > Signed-off-by: Nicolin C

[PATCH 2/8] GFS2: Fix race in glock lru glock disposal

2014-07-18 Thread Steven Whitehouse
We must not leave items on the LRU list with GLF_LOCK set, since they can be removed if the glock is brought back into use, which may then potentially result in a hang, waiting for GLF_LOCK to clear. It doesn't happen very often, since it requires a glock that has not been used for a long time to

[PATCH 8/8] GFS2: fs/gfs2/rgrp.c: kernel-doc warning fixes

2014-07-18 Thread Steven Whitehouse
From: Fabian Frederick Cc: cluster-de...@redhat.com Signed-off-by: Fabian Frederick Signed-off-by: Steven Whitehouse diff --git a/fs/gfs2/rgrp.c b/fs/gfs2/rgrp.c index db629d1..f4cb9c0 100644 --- a/fs/gfs2/rgrp.c +++ b/fs/gfs2/rgrp.c @@ -337,7 +337,7 @@ static bool gfs2_unaligned_extlen(struct

RE: [PATCH 3/3] ext4: Add support IOC_MOV_DATA ioctl

2014-07-18 Thread Dmitry Monakhov
On Fri, 18 Jul 2014 17:50:55 +0900, Namjae Jeon wrote: > > On Tue, 8 Jul 2014 16:02:28 +0200 (CEST), Lukáš Czerner > > wrote: > > Non-text part: MULTIPART/MIXED > > > On Tue, 8 Jul 2014, Namjae Jeon wrote: > > > > > > > Date: Tue, 08 Jul 2014 21:00:02 +0900 > > > > From: Namjae Jeon > > > > To:

[PATCH 5/8] GFS2: Allow flocks to use normal glock dq rather than dq_wait

2014-07-18 Thread Steven Whitehouse
From: Bob Peterson This patch allows flock glocks to use a non-blocking dequeue rather than dq_wait. It also reverts the previous patch I had posted regarding dq_wait. The reverted patch isn't necessarily a bad idea, but I decided this might avoid unforeseen side effects, and was therefore safer.

[PATCH 7/8] GFS2: memcontrol: Spelling s/invlidate/invalidate/

2014-07-18 Thread Steven Whitehouse
From: Geert Uytterhoeven Signed-off-by: Geert Uytterhoeven Cc: cluster-de...@redhat.com Signed-off-by: Steven Whitehouse diff --git a/fs/gfs2/glops.c b/fs/gfs2/glops.c index fc11007..2ffc67d 100644 --- a/fs/gfs2/glops.c +++ b/fs/gfs2/glops.c @@ -234,8 +234,8 @@ static void inode_go_sync(struct

[PATCH 6/8] GFS2: Allow caching of glocks for flock

2014-07-18 Thread Steven Whitehouse
From: Bob Peterson This patch removes the GLF_NOCACHE flag from the glocks associated with flocks. There should be no good reason not to cache glocks for flocks: they only force the glock to be demoted before they can be reacquired, which can slow down performance and even cause glock hangs, espe

[PATCH 3/8] GFS2: Use GFP_NOFS when allocating glocks

2014-07-18 Thread Steven Whitehouse
Normally GFP_KERNEL is ok here, but there is now a rarely used code path relating to deallocation of unlinked inodes (in certain corner cases) which if hit at times of memory shortage can cause recursion while trying to free memory. One solution would be to try and move the gfs2_glock_get() call s

<    1   2   3   4   5   6   7   8   9   10   >