Re: [PATCH 1/6] scsi_dh: get module reference outside of device handler

2014-10-20 Thread Hannes Reinecke
On 10/19/2014 05:59 PM, Christoph Hellwig wrote: We need to grab a reference to the module before calling the attach routines to avoid a small race vs module removal. It also cleans up the code significantly as a side effect. Signed-off-by: Christoph Hellwig h...@lst.de ---

Re: [PATCH v2 05/16] usb: dwc3: add quirks support to be compatible for kinds of SoCs

2014-10-20 Thread Huang Rui
On Fri, Oct 17, 2014 at 09:41:44AM -0500, Felipe Balbi wrote: HI, On Fri, Oct 17, 2014 at 04:53:30PM +0800, Huang Rui wrote: This patch adds a quirks flag at dwc3 structure, and SoCs platform vendor is able to define this flag in platform data at bus glue layer. Then do some independent

Re: [PATCH 2/6] scsi: use container_of to get at device handler private data

2014-10-20 Thread Hannes Reinecke
On 10/19/2014 06:00 PM, Christoph Hellwig wrote: Signed-off-by: Christoph Hellwig h...@lst.de Reviewed-by: Hannes Reinecke h...@suse.de Cheers, Hannes -- Dr. Hannes Reinecke zSeries Storage h...@suse.de +49 911 74053 688 SUSE LINUX Products GmbH,

Re: [PATCH 3/6] scsi: remove struct scsi_dh_devlist

2014-10-20 Thread Hannes Reinecke
On 10/19/2014 06:00 PM, Christoph Hellwig wrote: All drivers now do their own matching, so there is no more need to expose a device list as part of the interface. Signed-off-by: Christoph Hellwig h...@lst.de --- drivers/scsi/device_handler/scsi_dh_emc.c | 6 --

Re: [PATCH 4/6] scsi: device handlers must have attach and detach methods

2014-10-20 Thread Hannes Reinecke
On 10/19/2014 06:00 PM, Christoph Hellwig wrote: Signed-off-by: Christoph Hellwig h...@lst.de --- drivers/scsi/device_handler/scsi_dh.c | 25 + 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/drivers/scsi/device_handler/scsi_dh.c

Re: [PATCH 5/6] scsi_dh_hp_sw: fix return value on failed allocation

2014-10-20 Thread Hannes Reinecke
On 10/19/2014 06:00 PM, Christoph Hellwig wrote: Signed-off-by: Christoph Hellwig h...@lst.de --- drivers/scsi/device_handler/scsi_dh_hp_sw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/device_handler/scsi_dh_hp_sw.c

Re: [PATCH 6/6] scsi: handle more device handler setup/teardown in common code

2014-10-20 Thread Hannes Reinecke
On 10/19/2014 06:00 PM, Christoph Hellwig wrote: Move all code to set up and tear down sdev-scsi_dh_data to common code. Signed-off-by: Christoph Hellwig h...@lst.de Reviewed-by: Hannes Reinecke h...@suse.de Cheers, Hannes -- Dr. Hannes Reinecke zSeries Storage

Re: [RESUBMIT PATCH v4 7/8] regulator: sky81452: Add compatible string for device binding

2014-10-20 Thread Gyungoh Yoo
On Fri, Oct 17, 2014 at 04:26:05PM +0200, Mark Brown wrote: On Fri, Oct 17, 2014 at 07:43:09PM +0900, Gyungoh Yoo wrote: Are you talking about simplification using of_regulator_match()? This driver has only one regulator. Is the API also useful for this driver? The thing I'm seeing is

RE: [PATCH] cpufreq: qoriq: Make the driver usable on all QorIQ platforms

2014-10-20 Thread Yuantian Tang
Thanks for your comments. Your comments will be addressed in next version. Some explanations inline. Thanks, Yuantian -Original Message- From: Viresh Kumar [mailto:viresh.ku...@linaro.org] Sent: Friday, October 17, 2014 4:09 PM To: Tang Yuantian-B29983 Cc: Rafael J. Wysocki; Linux

To Erich Schubert of Debian: What have you done? Male-Fminist fggt.

2014-10-20 Thread Tom Collins
A few thousands of downloads of packages larger than some linux distros say otherwise. Testimony of those who have enjoyed my work aswell. But you don't know the half of it. You've created a few scripts, small programs. Atleast it's more than your female co-patriots. How many terabytes have you

Re: [PATCH v5 10/12] gpio: Support for unified device properties interface

2014-10-20 Thread Alexandre Courbot
On Sat, Oct 18, 2014 at 6:47 PM, Arnd Bergmann a...@arndb.de wrote: On Friday 17 October 2014 20:09:51 Arnd Bergmann wrote: On October 17, 2014 2:16:00 PM CEST, Rafael J. Wysocki r...@rjwysocki.net wrote: From: Mika Westerberg mika.westerb...@linux.intel.com Some drivers need to deal with

[PATCH 1/1][v2] IFC: Change IO accessor based on endianness

2014-10-20 Thread Jaiprakash Singh
From: Jaiprakash Singh b44...@freescale.com IFC registers can be of type Little Endian or big Endian depending upon Freescale SoC. Here SoC defines the register type of IFC IP.So update accessors functions with common IFC accessors functions to take care both type of endianness. IFC IO accressor

INFO: task echo:622 blocked for more than 120 seconds. - 3.18.0-0.rc0.git

2014-10-20 Thread poma
02:00.0 VGA compatible controller: NVIDIA Corporation G98 [GeForce 8400 GS Rev. 2] (rev a1) Chipset: G98 (NV98) Family : NV50 The same for all four kernel: - 3.18.0-0.rc0.git8.1.fc22.x86_64 - 3.18.0-0.rc0.git9.1.fc22.x86_64 - 3.18.0-0.rc0.git9.3.fc22.x86_64 - 3.18.0-0.rc0.git9.4.fc22.x86_64

A sng Lennart Poettering et al should consider (I am the highway - Audioslave)

2014-10-20 Thread Tom Collins
A song Lennart Poettering et al should consider (I am the highway - Audioslave)   I am not your rolling wheels - I am the highway I am not your carpet ride - I am the sky   as it pertains to he and his vis a vis the free software community, which was here.   youtu.be/hWlkmkZW2hk   -- To

Re: [PATCH v2 06/16] usb: dwc3: add disscramble quirk

2014-10-20 Thread Huang Rui
On Fri, Oct 17, 2014 at 09:45:32AM -0500, Felipe Balbi wrote: Hi, On Fri, Oct 17, 2014 at 04:53:31PM +0800, Huang Rui wrote: AMD NL fpga needs to enable disscramble quirk. And this quirk doesn't need on the true soc. Signed-off-by: Huang Rui ray.hu...@amd.com ---

RE: [PATCH] drivers: base: update cpu offline info when do hotplug

2014-10-20 Thread Neil Zhang
Greg, -Original Message- From: Greg KH [mailto:gre...@linuxfoundation.org] Sent: 2014年10月20日 12:44 To: Neil Zhang Cc: linux-kernel@vger.kernel.org Subject: Re: [PATCH] drivers: base: update cpu offline info when do hotplug On Mon, Oct 20, 2014 at 11:29:08AM +0800, Neil Zhang wrote: The

Re: [PATCH 0/2] s390 vs. kprobes on ftrace

2014-10-20 Thread Heiko Carstens
Hi Masami, On Mon, Oct 20, 2014 at 11:02:49AM +0900, Masami Hiramatsu wrote: (2014/10/17 17:19), Heiko Carstens wrote: On Thu, Oct 16, 2014 at 02:49:56PM +0900, Masami Hiramatsu wrote: Hi Heiko, (2014/10/16 0:46), Heiko Carstens wrote: Hi all, we would like to implement an

Re: [PATCH v2 08/16] usb: dwc3: add u2exit lfps quirk

2014-10-20 Thread Huang Rui
On Fri, Oct 17, 2014 at 09:50:00AM -0500, Felipe Balbi wrote: Hi, On Fri, Oct 17, 2014 at 04:53:33PM +0800, Huang Rui wrote: AMD NL needs to enable u2exit lfps quirk. Signed-off-by: Huang Rui ray.hu...@amd.com --- drivers/usb/dwc3/core.c | 4 drivers/usb/dwc3/core.h

Re: [PATCH 2/3] input: stmpe: enforce device tree only mode

2014-10-20 Thread Lee Jones
On Sat, 18 Oct 2014, Linus Walleij wrote: The STMPE keypad controller is only used with device tree configured systems, so force the configuration to come from device tree only, and now actually get the rows and cols from the device tree too. Signed-off-by: Linus Walleij

Re: [PATCH 1/3] mfd: stmpe: add pull up/down register offsets for STMPE

2014-10-20 Thread Lee Jones
On Sat, 18 Oct 2014, Linus Walleij wrote: This adds the register offsets for pull up/down for the STMPE 1601, 1801 and 24xx expanders. This is used to bias GPIO lines and keypad lines. Signed-off-by: Linus Walleij linus.wall...@linaro.org --- Hi Sam, Lee: I think you should just ACK this

[PATCH RFC v3 0/3] virtio_net: enabling tx interrupts

2014-10-20 Thread Michael S. Tsirkin
RFC patches to enable tx interrupts. This is to demonstrate how this can be done without core virtio changes, and to make sure I understand the new APIs correctly. Testing TBD, I was asked for a version for early testing. Applies on top of patch: virtio_net: fix use after free that I recently

[PATCH RFC v3 2/3] virtio_net: bql

2014-10-20 Thread Michael S. Tsirkin
Improve tx batching using byte queue limits. Should be especially effective for MQ. Signed-off-by: Michael S. Tsirkin m...@redhat.com --- drivers/net/virtio_net.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/net/virtio_net.c b/drivers/net/virtio_net.c index 14f4cda..b83d39d

Re: [PATCH] drivers: base: update cpu offline info when do hotplug

2014-10-20 Thread Greg KH
On Sun, Oct 19, 2014 at 11:39:23PM -0700, Neil Zhang wrote: How much noise is this going to cause on a big/little system that constantly hot unplug/plugs processors all of the time? Can you explain more what kind of noise will be introduced on a big/little system? Have you tested this on

[PATCH RFC v3 3/3] virtio-net: optimize free_old_xmit_skbs stats

2014-10-20 Thread Michael S. Tsirkin
From: Jason Wang jasow...@redhat.com We already have counters for sent packets and sent bytes. Use them to reduce the number of u64_stats_update_begin/end(). Take care not to bother with stats update when called speculatively. Based on a patch by Jason Wang. Cc: Rusty Russell

[PATCH RFC v3 1/3] virtio_net: enable tx interrupt

2014-10-20 Thread Michael S. Tsirkin
On newer hosts that support delayed tx interrupts, we probably don't have much to gain from orphaning packets early. Based on patch by Jason Wang. Note: this might degrade performance for hosts without event idx support. Should be addressed by the next patch. Signed-off-by: Michael S. Tsirkin

Re: [PATCH v3 0/2] shrink virtio baloon on OOM in guest

2014-10-20 Thread Michael S. Tsirkin
On Wed, Oct 15, 2014 at 07:47:42PM +0400, Denis V. Lunev wrote: Excessive virtio_balloon inflation can cause invocation of OOM-killer, when Linux is under severe memory pressure. Various mechanisms are responsible for correct virtio_balloon memory management. Nevertheless it is often the case

Re: [PATCH 1/6] scsi_dh: get module reference outside of device handler

2014-10-20 Thread Christoph Hellwig
On Mon, Oct 20, 2014 at 08:01:20AM +0200, Hannes Reinecke wrote: Is it guaranteed that you cannot call -attach() for devices which already have a device_handler attached? You've skipped the case scsi_dh != sdev-scsi_dh_data-scsi_dh No. Just instead of an if / else it's an if with an early

Re: [PATCH v2 5/5] Numachip: use 2GB memory block size

2014-10-20 Thread Daniel J Blueman
On 19/10/2014 17:23, Ingo Molnar wrote: * Daniel J Blueman dan...@numascale.com wrote: Use appropriate memory block size to reduce sysfs entry creation time by 16x. Boot-tested with the four permutations of X86_UV and X86_NUMACHIP. Signed-off-by: Daniel J Blueman dan...@numascale.com ---

Re: [PATCH 3/5] video: fbdev: uvesafb.c: Cleaning up missing null-terminate by switching from strncpy to strzcpy

2014-10-20 Thread Geert Uytterhoeven
On Sun, Oct 19, 2014 at 12:14 AM, Rickard Strandqvist rickard_strandqv...@spectrumdigital.se wrote: Ensures that the string is null-terminate in connection with the use of strncpy, by switching from strncpy to strzcpy. Signed-off-by: Rickard Strandqvist rickard_strandqv...@spectrumdigital.se

[PATCH V7] mmc: dw_mmc: Add IDMAC 64-bit address mode support

2014-10-20 Thread Prabu Thangamuthu
Synopsys DW_MMC IP core supports Internal DMA Controller with 64-bit address mode from IP version 2.70a onwards. Updated the driver to support IDMAC 64-bit addressing mode. Signed-off-by: Prabu Thangamuthu prab...@synopsys.com --- Change log v7: - Initialized reserved fileds and buffer

Re: [PATCH] MIPS: ath79: fix compilation error when CONFIG_PCI is disabled

2014-10-20 Thread Geert Uytterhoeven
On Sun, Oct 19, 2014 at 7:43 PM, Stefan Hengelein stefan.hengel...@fau.de wrote: When CONFIG_PCI is disabled, 'db120_pci_init()' had a different signature than when was enabled. Therefore, compilation failed when CONFIG_PCI was not present. arch/mips/ath79/mach-db120.c:132: error: too many

Re: [PATCH] MIPS: MSP71xx: remove compilation error

2014-10-20 Thread Geert Uytterhoeven
On Sun, Oct 19, 2014 at 8:04 PM, Stefan Hengelein stefan.hengel...@fau.de wrote: When CONFIG_MIPS_MT_SMP is enabled, the following compilation error occurs: arch/mips/pmcs-msp71xx/msp_irq_cic.c:134: error: ‘irq’ undeclared This code clearly never saw a compiler. The surrounding code

Re: [RFC 6/7] mfd: qcom-smd-rpm: Driver for the Qualcomm RPM over SMD

2014-10-20 Thread Lee Jones
On Fri, 17 Oct 2014, Bjorn Andersson wrote: On Wed 08 Oct 01:40 PDT 2014, Lee Jones wrote: [...] +static struct qcom_smd_driver qcom_smd_rpm_driver = { + .probe = qcom_smd_rpm_probe, + .remove = qcom_smd_rpm_remove, + .callback = qcom_smd_rpm_callback, + .driver = { +

Re: [PATCH v2 5/5] tty/serial: Add earlycon support for Spreadtrum serial driver

2014-10-20 Thread Lyra Zhang
2014-10-17 21:03 GMT+08:00 Mark Rutland mark.rutl...@arm.com: On Fri, Oct 17, 2014 at 10:54:25AM +0100, Chunyan Zhang wrote: Add serial driver for spreadtrum sharkl platform with earlycon support at first. Signed-off-by: Chunyan Zhang chunyan.zh...@spreadtrum.com ---

[PATCH] mm: cma: split cma-reserved in dmesg log

2014-10-20 Thread Pintu Kumar
When the system boots up, in the dmesg logs we can see the memory statistics along with total reserved as below. Memory: 458840k/458840k available, 65448k reserved, 0K highmem When CMA is enabled, still the total reserved memory remains the same. However, the CMA memory is not considered as

RE: [PATCH] drivers: base: update cpu offline info when do hotplug

2014-10-20 Thread Neil Zhang
Greg, -Original Message- From: Greg KH [mailto:gre...@linuxfoundation.org] Sent: 2014年10月20日 14:48 To: Neil Zhang Cc: linux-kernel@vger.kernel.org Subject: Re: [PATCH] drivers: base: update cpu offline info when do hotplug On Sun, Oct 19, 2014 at 11:39:23PM -0700, Neil Zhang wrote:

Re: [PATCH 1/2] drivers/misc/eeprom/men_eeprod: Introduce MEN Board Information EEPROM driver

2014-10-20 Thread Andreas Werner
On Thu, Oct 16, 2014 at 01:44:02PM +0200, Andreas Werner wrote: On Thu, Oct 16, 2014 at 11:59:10AM +0200, Wolfram Sang wrote: * PGP Signed by an unknown key I do not want to parse the things in userspace because this EEPROM data are related to the hardware and i want to give our

Re: [PATCH] arm: dma-mapping: fix compilation error when CONFIG_MMU is not present

2014-10-20 Thread Marek Szyprowski
Hello, On 2014-10-19 17:59, Stefan Hengelein wrote: When CONFIG_MMU is not present, the variable 'atomic_pool' and the function '__in_atomic_pool' are undeclared but used in part of the code. Therefore, the compilation breaks. Now, they are defined to dummy values when CONFIG_MMU is undefined.

[GIT PULL] s390 patches for 3.18-rc2

2014-10-20 Thread Martin Schwidefsky
Hi Linus, please pull from the 'for-linus' branch of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git for-linus to receive the following updates: One patch to enable the BPF system call and three more bug fixes. Dominik Dingel (1): s390/mm: fixing calls of

Re: [PATCH v2] sched/fair: Care divide error in update_task_scan_period()

2014-10-20 Thread Yasuaki Ishimatsu
Could you review this patch? (2014/10/16 18:48), Yasuaki Ishimatsu wrote: While offling node by hot removing memory, the following divide error occurs: divide error: [#1] SMP [...] Call Trace: [...] handle_mm_fault [...] ? try_to_wake_up [...] ? wake_up_state

Re: [GIT] Networking

2014-10-20 Thread Pablo Neira Ayuso
On Sun, Oct 19, 2014 at 09:03:14PM -0400, David Miller wrote: From: Linus Torvalds torva...@linux-foundation.org Date: Sun, 19 Oct 2014 17:32:15 -0700 Looks like the module license issue was just overlooked when moving the code out in commit c8d7b98bec43 (netfilter: move nf_send_resetX()

[GIT PULL] pwm: Changes for v3.18-rc1

2014-10-20 Thread Thierry Reding
Hi Linus, I was one of the people taking your statements at face value, so here's my belated pull request for the PWM tree which I had planned to send in today anyway. There isn't anything major in this, mostly bug fixes and cleanup. The following changes since commit

Re: [PATCH 1/8] perf, tools: Support handling complete branch stacks as histograms

2014-10-20 Thread Jiri Olsa
On Fri, Sep 26, 2014 at 04:37:09PM -0700, Andi Kleen wrote: SNIP OPT_BOOLEAN('x', exclude-other, symbol_conf.exclude_other, Only display entries with parent-match), - OPT_CALLBACK_DEFAULT('g', call-graph, report, output_type,min_percent[,print_limit],call_order,

Re: [PATCH 2/8] perf, tools: Add --branch-history option to report

2014-10-20 Thread Jiri Olsa
On Fri, Sep 26, 2014 at 04:37:10PM -0700, Andi Kleen wrote: SNIP + const char *str __maybe_unused, int unset) +{ + int *branch_mode = opt-value; + + *branch_mode = !unset; + return 0; +} + +static int parse_percent_limit(const struct option *opt, const char

Re: [PATCH 1/6] scsi_dh: get module reference outside of device handler

2014-10-20 Thread Hannes Reinecke
On 10/20/2014 08:53 AM, Christoph Hellwig wrote: On Mon, Oct 20, 2014 at 08:01:20AM +0200, Hannes Reinecke wrote: Is it guaranteed that you cannot call -attach() for devices which already have a device_handler attached? You've skipped the case scsi_dh != sdev-scsi_dh_data-scsi_dh No.

[PATCH 4/4] pinctrl: berlin: use the generic node to map function

2014-10-20 Thread Antoine Tenart
A generic node to map function has been added into the pinctrl framework. It is provieded by GENERIC_PINCONF. Use it in the Berlin pinctrl driver as it fits the needs. Signed-off-by: Antoine Tenart antoine.ten...@free-electrons.com --- drivers/pinctrl/berlin/Kconfig | 1 +

[PATCH 3/4] pinctrl: add a generic way to map node to map for group based drivers

2014-10-20 Thread Antoine Tenart
This patch add a generic function to use a standard callback to .dt_node_to_map for group based pinctrl drivers. It parses nodes of the form: foo_pmux: foo-pmux { function = foo; groups = g0, g1, g2; } Signed-off-by: Antoine Tenart

[PATCH 1/4] Documentation: bindings: pinctrl: document the generic groups property

2014-10-20 Thread Antoine Tenart
Group-based drivers use a groups property to define on which groups a mux function is applied to. Document it. Signed-off-by: Antoine Tenart antoine.ten...@free-electrons.com --- Documentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH 2/4] pinctrl: add helpers for group based drivers

2014-10-20 Thread Antoine Tenart
Since the group based drivers have their dt properties documented in the generic pinctrl documentation, add generic helpers to avoid duplicating code and to be sure new drivers won't use specific bindings for a known purpose. This patch add two functions to help group based drivers map their

[PATCH 0/4] pinctrl: add helpers for group based drivers

2014-10-20 Thread Antoine Tenart
Linus, Sebastian, As discussed earlier this year[1], this series introduce helpers for group based pinctrl drivers: - of_pinctrl_utils_read_function(): reads the function name of a specified node, and gets the number of groups it should be applied to. - of_pinctrl_for_each_function_group():

Re: [PATCH 1/2] drivers/misc/eeprom/men_eeprod: Introduce MEN Board Information EEPROM driver

2014-10-20 Thread Wolfram Sang
Most customers wants just to have a running system without installing anything. And for me an EEPROM is so simple and should not need a complicated way to access it. As I pointed out, there are ways to do it other than a seperate driver. Yes of course there are a lot of possibilities.

[PATCH] drivers: net: xgene: Add missing initialization in xgene_enet_ecc_init()

2014-10-20 Thread Geert Uytterhoeven
drivers/net/ethernet/apm/xgene/xgene_enet_sgmac.c: In function ‘xgene_enet_ecc_init’: drivers/net/ethernet/apm/xgene/xgene_enet_sgmac.c:126: warning: ‘data’ may be used uninitialized in this function Depending on the arbitrary value on the stack, the loop may terminate too early, and cause a

Re: [bisected] e341694e3eb5 netlink_lookup() rcu conversion causes latencies

2014-10-20 Thread Heiko Carstens
On Sat, Oct 11, 2014 at 11:25:14PM +0100, Thomas Graf wrote: On 10/11/14 at 12:32pm, Eric Dumazet wrote: On Sat, 2014-10-11 at 10:36 +0200, Heiko Carstens wrote: Hi all, it just came to my attention that commit e341694e3eb5 netlink: Convert netlink_lookup() to use RCU protected

Re: [PATCH 1/2] drivers/misc/eeprom/men_eeprod: Introduce MEN Board Information EEPROM driver

2014-10-20 Thread Wolfram Sang
Here it gets frustrating. It seems you have no idea what an OS is for, not even after I tried to describe it :( Sorry, that might have been too strong. Still, we can't map any hardware which is out there 1:1 into userspace, we need abstraction. If you want to help with this abstraction, this

[PATCH 1/2] Thermal:Fix memory leak if occur goto unregister

2014-10-20 Thread Yao Dongdong
Signed-off-by:yaodongd...@huawei.com --- drivers/thermal/thermal_core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/thermal/thermal_core.c b/drivers/thermal/thermal_core.c index 71b0ec0..5b7d466 100644 --- a/drivers/thermal/thermal_core.c +++ b/drivers/thermal/thermal_core.c @@

[PATCH 2/2] Thermal:Remove usless if(!result) before return tz

2014-10-20 Thread Yao Dongdong
result is always zero when comes here. Signed-off-by:yaodongd...@huawei.com --- drivers/thermal/thermal_core.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/thermal/thermal_core.c b/drivers/thermal/thermal_core.c index 5b7d466..19cac8e 100644 ---

Re: [uml-devel] [UM] Long loop in __getnsdayoftime() after resume from ram

2014-10-20 Thread Richard Weinberger
On Sun, Oct 19, 2014 at 2:39 PM, Thomas Meyer tho...@m3y3r.de wrote: Hello, in UML kernel I get a long cpu using loop in __getnstimeofday() (kernel/time/timekeeping.c:315) in the call of timespec_add_ns(), when I left the host kernel suspended to ram for a few hours and resume again. this

Re: [GIT PULL for v3.18-rc1] media updates

2014-10-20 Thread Paul Bolle
Mauro, On Thu, 2014-10-09 at 14:18 -0300, Mauro Carvalho Chehab wrote: Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media tags/media/v3.18-rc1 [...] Mauro Carvalho Chehab (180): [...] [media] omap: be sure that MMU is there for COMPILE_TEST

Re: [RFC 5/5] x86,perf: Only allow rdpmc if a perf_event is mapped

2014-10-20 Thread Peter Zijlstra
On Sun, Oct 19, 2014 at 03:57:54PM -0700, Andy Lutomirski wrote: Maybe, but at that point we commit to yet another ABI... I'd rather just put a 'sane' implementation in a library or so. This cuts both ways, though. For vdso timekeeping, the underlying data structure has changed

v3.18-rc1 bloat-o-meter

2014-10-20 Thread Geert Uytterhoeven
Hi all, Below is the bloat-o-meter output when comparing an m68k/atari_defconfig kernel for v3.17 and v3.18-rc1. Major culprit seems to be bpf. Can this become modular or optional? Currently it's always included if CONFIG_NET=y. Thanks! add/remove: 374/146 grow/shrink: 392/323 up/down:

Re: [patch 1/3] ipmi: Setup ipmi_devintf automatically if ipmi_msghandler gets loaded

2014-10-20 Thread Wilck, Martin
On Fri, 2014-10-17 at 18:14 +0200, Corey Minyard wrote: How about this. I did a little research, and there's something called soft module dependencies. Apparently you can add: MODULE_SOFTDEP(post: ipmi_devintf) to ipmi_msghandler.c and modprobe would load ipmi_devintf after loading

Re: [PATCH v2 16/16] usb: dwc3: enable usb suspend phy

2014-10-20 Thread Huang Rui
On Fri, Oct 17, 2014 at 01:48:19PM -0500, Felipe Balbi wrote: Hi, On Fri, Oct 17, 2014 at 06:41:04PM +, Paul Zimmerman wrote: From: Felipe Balbi [mailto:ba...@ti.com] Sent: Friday, October 17, 2014 8:00 AM On Fri, Oct 17, 2014 at 04:53:41PM +0800, Huang Rui wrote: AMD NL

[PATCH] Documentation: ptp: Fix build failure on MIPS cross builds

2014-10-20 Thread Markos Chandras
The MIPS system calls are defined based on the -mabi gcc option. However, the testptp is built on the host using the unistd header from the kernel sources which were built for the MIPS architecture thus guarded with the __MIPS_SIM_{ABI64, ABI32, NABI32} definitions leading to the following build

RE: [PATCH v4] ARM: perf: save/restore pmu registers in pm notifier

2014-10-20 Thread Neil Zhang
-Original Message- From: Will Deacon [mailto:will.dea...@arm.com] Sent: 2014年7月4日 1:57 To: Neil Zhang Cc: Sudeep Holla; 'li...@arm.linux.org.uk'; 'linux-arm- ker...@lists.infradead.org'; 'linux-kernel@vger.kernel.org'; 'devicet...@vger.kernel.org' Subject: Re: [PATCH v4] ARM:

Re: [RFC 5/5] x86,perf: Only allow rdpmc if a perf_event is mapped

2014-10-20 Thread Peter Zijlstra
On Sun, Oct 19, 2014 at 05:08:08PM -0700, Andy Lutomirski wrote: Before I totally screw this up: is .event_idx used for anything except userspace rdpmc? It should only be used for that. There are a whole bunch of implementations of that callback: - perf_event_idx_default seems fishy I

[PATCH v4 4/4] mtd: nand: gpmi: add raw oob access functions

2014-10-20 Thread Boris Brezillon
Implement raw OOB access functions to retrieve OOB bytes when accessing the NAND in raw mode. Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com --- drivers/mtd/nand/gpmi-nand/gpmi-nand.c | 18 ++ 1 file changed, 18 insertions(+) diff --git

[PATCH v2] sched/numa: fix unsafe get_task_struct() in task_numa_assign()

2014-10-20 Thread Kirill Tkhai
Unlocked access to dst_rq-curr in task_numa_compare() is racy. If curr task is exiting this may be a reason of use-after-free: task_numa_compare()do_exit() rcu_read_lock()schedule() cur = ACCESS_ONCE(dst_rq-curr)... ...

[PATCH v4 0/4] mtd: nand: gpmi: add proper raw access support

2014-10-20 Thread Boris Brezillon
Hello, This series provides an implementation for raw accesses taking care of hidding the specific layout used by the GPMI controller. I also updated the nand_ecc_ctrl struct documentation to clearly state that specific layouts should be hidden when accessing the NAND chip in raw mode. Best

[PATCH v4 1/4] mtd: nand: provide detailed description for raw read/write page methods

2014-10-20 Thread Boris Brezillon
read_page_raw and write_page_raw method description is not clear enough. It clearly specifies that ECC correction should not be involved but does not talk about specific layout (by layout I mean where in-band and out-of-band data are stored on the NAND media) used by NAND/ECC controllers. Those

Re: linux-next: contact change for the osd tree

2014-10-20 Thread Boaz Harrosh
On 10/20/2014 01:56 AM, Stephen Rothwell wrote: Hi Boaz, I noticed your commits changing your email address, so I have updated the contact address for the osd tree. Thanks Stephen Sorry I forgot to CC You, thank you for picking this up Boaz -- To unsubscribe from this list: send the

[PATCH v4 2/4] mtd: nand: gpmi: add gpmi_move_bits function

2014-10-20 Thread Boris Brezillon
Add a new function to move bits (not bytes) from a memory region to another one. This function is similar to memmove except it acts at bit level. This function is needed to implement GPMI raw access functions, given the fact that ECC engine does not pad ECC bits to the next byte boundary.

[PATCH v4 3/4] mtd: nand: gpmi: add proper raw access support

2014-10-20 Thread Boris Brezillon
Several MTD users (either in user or kernel space) expect a valid raw access support to NAND chip devices. This is particularly true for testing tools which are often touching the data stored in a NAND chip in raw mode to artificially generate errors. The GPMI drivers do not implemenent raw

Re: [PATCH] sched/numa: fix unsafe get_task_struct() in task_numa_assign()

2014-10-20 Thread Kirill Tkhai
В Вс, 19/10/2014 в 23:38 +0200, Peter Zijlstra пишет: On Sun, Oct 19, 2014 at 03:13:31AM +0400, Kirill Tkhai wrote: I'm too tired for all this, but: + smp_rmb(); /* Pairs with dst_rq-lock unlocking which implies smp_wmb */ RELEASE does not imply a WMB. Thanks, please see, I've sent

Re: [PATCH] sched/numa: fix unsafe get_task_struct() in task_numa_assign()

2014-10-20 Thread Kirill Tkhai
В Вс, 19/10/2014 в 21:24 +0200, Oleg Nesterov пишет: On 10/19, Kirill Tkhai wrote: 19.10.2014, 00:59, Oleg Nesterov o...@redhat.com: No, I don't think this can work. Let's look at the current code: rcu_read_lock(); cur = ACCESS_ONCE(dst_rq-curr);

Re: [PATCH v2 16/16] usb: dwc3: enable usb suspend phy

2014-10-20 Thread Huang Rui
On Mon, Oct 20, 2014 at 04:41:54PM +0800, Huang Rui wrote: On Fri, Oct 17, 2014 at 01:48:19PM -0500, Felipe Balbi wrote: Hi, On Fri, Oct 17, 2014 at 06:41:04PM +, Paul Zimmerman wrote: From: Felipe Balbi [mailto:ba...@ti.com] Sent: Friday, October 17, 2014 8:00 AM On

Re: [PATCH] sched/numa: fix unsafe get_task_struct() in task_numa_assign()

2014-10-20 Thread Kirill Tkhai
В Вс, 19/10/2014 в 21:43 +0200, Oleg Nesterov пишет: On 10/19, Oleg Nesterov wrote: Forgot to mention... Or we can make task_struct_cachep SLAB_DESTROY_BY_RCU, in this case -curr (or any other task_struct * ponter) can not go away under rcu_read_lock(). task_numa_compare() still needs the

[PATCH v4 0/3] ARM: rk3288 : Add PM Domain support

2014-10-20 Thread jinkun.hong
From: jinkun.hong jinkun.h...@rock-chips.com Add power domain drivers based on generic power domain for Rockchip platform, and support RK3288. Based on: - [PATCH v1 1/4] PM / clock_ops: Add pm_clk_add_clk() http://www.mail-archive.com/linux-kernel@vger.kernel.org/msg735599.html Changes in v4:

[PATCH v4 2/3] dt-bindings: add document of Rockchip power domain

2014-10-20 Thread jinkun.hong
From: jinkun.hong jinkun.h...@rock-chips.com Signed-off-by: Jack Dai jack@rock-chips.com Signed-off-by: jinkun.hong jinkun.h...@rock-chips.com --- Changes in v4: None Changes in v3: - DT structure has changed Changes in v2: - move clocks to optional

[PATCH v4 1/3] power-domain: add power domain drivers for Rockchip platform

2014-10-20 Thread jinkun.hong
From: jinkun.hong jinkun.h...@rock-chips.com Add power domain drivers based on generic power domain for Rockchip platform, and support RK3288. Signed-off-by: Jack Dai jack@rock-chips.com Signed-off-by: jinkun.hong jinkun.h...@rock-chips.com --- Changes in v4: - use list storage dev

[PATCH v4 3/3] ARM: dts: add rk3288 power-domain node

2014-10-20 Thread jinkun.hong
From: jinkun.hong jinkun.h...@rock-chips.com Signed-off-by: Jack Dai jack@rock-chips.com Signed-off-by: jinkun.hong jinkun.h...@rock-chips.com --- Changes in v4: None Changes in v3: - Decomposition power-controller, changed to multiple controller (gpu-power-controller,

[PATCH v8 1/5] PM / Runtime: Add getter for querying the IRQ safe option

2014-10-20 Thread Krzysztof Kozlowski
Add a simple getter pm_runtime_is_irq_safe() for querying whether runtime PM IRQ safe was set or not. Various bus drivers implementing runtime PM may use choose to suspend differently based on IRQ safeness status of child driver (e.g. do not unprepare the clock if IRQ safe is not set).

[PATCH v8 4/5] dma: pl330: add Power Management support

2014-10-20 Thread Krzysztof Kozlowski
This patch adds both normal PM suspend/resume support and runtime PM support to pl330 DMA engine driver. The runtime power management for pl330 DMA driver allows gating of AMBA clock (PDMA) in FSYS clock domain, when the device is not processing any requests. This is necessary to enter low power

[PATCH v8 2/5] amba: Add helpers for (un)preparing AMBA clock

2014-10-20 Thread Krzysztof Kozlowski
Add amba_pclk_prepare() and amba_pclk_unprepare() inline functions for handling the AMBA bus clock by device drivers. Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com --- include/linux/amba/bus.h | 10 ++ 1 file changed, 10 insertions(+) diff --git a/include/linux/amba/bus.h

[PATCH v8 3/5] amba: Don't unprepare the clocks if device driver wants IRQ safe runtime PM

2014-10-20 Thread Krzysztof Kozlowski
The AMBA bus driver defines runtime Power Management functions which disable and unprepare AMBA bus clock. This is problematic for runtime PM because unpreparing a clock might sleep so it is not interrupt safe. However some drivers may want to implement runtime PM functions in interrupt-safe way

[PATCH v8 5/5] amba: Remove unused amba_pclk_enable/disable macros

2014-10-20 Thread Krzysztof Kozlowski
Remove the amba_pclk_enable and amba_pclk_disable macros because they are not used by the drivers. Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com Reviewed-by: Ulf Hansson ulf.hans...@linaro.org --- include/linux/amba/bus.h | 6 -- 1 file changed, 6 deletions(-) diff --git

[PATCH v8 0/5] amba/dma: pl330: add Power Management support

2014-10-20 Thread Krzysztof Kozlowski
Hi, Changes since v7: = 1. Add reviewed-by Ulf Hansson (patches 3, 4 and 5). 2. Patch 2/5: Fix missing return in amba_pclk_prepare() (suggested by Ulf Hansson). 3. Rebased on next-20141020. Changes since v6: = 1. Add patch 5 removing the amba_pclk_*able macros

Re: v3.18-rc1 bloat-o-meter

2014-10-20 Thread Borislav Petkov
On Mon, Oct 20, 2014 at 10:37:19AM +0200, Geert Uytterhoeven wrote: Hi all, Below is the bloat-o-meter output when comparing an m68k/atari_defconfig kernel for v3.17 and v3.18-rc1. That looks cool, can I run this for other arches too? -- Regards/Gruss, Boris. Sent from a fat

Re: v3.18-rc1 bloat-o-meter

2014-10-20 Thread Geert Uytterhoeven
Hi Boris, On Mon, Oct 20, 2014 at 11:06 AM, Borislav Petkov b...@alien8.de wrote: On Mon, Oct 20, 2014 at 10:37:19AM +0200, Geert Uytterhoeven wrote: Hi all, Below is the bloat-o-meter output when comparing an m68k/atari_defconfig kernel for v3.17 and v3.18-rc1. That looks cool, can

Re: [PATCH] futex: Ensure get_futex_key_refs() always implies a barrier

2014-10-20 Thread Thomas Gleixner
On Sat, 18 Oct 2014, Davidlohr Bueso wrote: On Sat, 2014-10-18 at 13:50 -0700, Linus Torvalds wrote: On Sat, Oct 18, 2014 at 12:58 PM, Davidlohr Bueso d...@stgolabs.net wrote: And [get/put]_futex_keys() shouldn't even be called for private futexes. The following patch had some very

Re: [PATCH 1/2] drivers/misc/eeprom/men_eeprod: Introduce MEN Board Information EEPROM driver

2014-10-20 Thread Greg KH
On Mon, Oct 20, 2014 at 10:33:45AM +0200, Andreas Werner wrote: On Thu, Oct 16, 2014 at 01:44:02PM +0200, Andreas Werner wrote: On Thu, Oct 16, 2014 at 11:59:10AM +0200, Wolfram Sang wrote: * PGP Signed by an unknown key I do not want to parse the things in userspace because this

Re: [PATCH v4 1/3] power-domain: add power domain drivers for Rockchip platform

2014-10-20 Thread Varka Bhadram
On 10/20/2014 02:33 PM, jinkun.hong wrote: From: jinkun.hong jinkun.h...@rock-chips.com Add power domain drivers based on generic power domain for Rockchip platform, and support RK3288. Signed-off-by: Jack Dai jack@rock-chips.com Signed-off-by: jinkun.hong jinkun.h...@rock-chips.com ---

Re: [PATCH] sched/numa: fix unsafe get_task_struct() in task_numa_assign()

2014-10-20 Thread Peter Zijlstra
OK, I think I'm finally awake enough to see what you're all talking about :-) On Sun, Oct 19, 2014 at 09:37:44PM +0200, Oleg Nesterov wrote: RT tree has: https://git.kernel.org/cgit/linux/kernel/git/paulg/3.10-rt-patches.git/ tree/patches/sched-delay-put-task.patch (answering the

Re: [PATCH 1/2] drivers/misc/eeprom/men_eeprod: Introduce MEN Board Information EEPROM driver

2014-10-20 Thread Andreas Werner
On Mon, Oct 20, 2014 at 10:24:22AM +0200, Wolfram Sang wrote: * PGP Signed by an unknown key Here it gets frustrating. It seems you have no idea what an OS is for, not even after I tried to describe it :( I am pretty sure that i know what an OS is for. Sorry, that might have been too

Re: [PATCH v4] ARM: perf: save/restore pmu registers in pm notifier

2014-10-20 Thread Sudeep Holla
Hi Neil, On 20/10/14 09:46, Neil Zhang wrote: -Original Message- From: Will Deacon [mailto:will.dea...@arm.com] Sent: 2014年7月4日 1:57 To: Neil Zhang Cc: Sudeep Holla; 'li...@arm.linux.org.uk'; 'linux-arm- ker...@lists.infradead.org'; 'linux-kernel@vger.kernel.org';

[git pull] Please pull mpe.git for-linus branch (for powerpc)

2014-10-20 Thread Michael Ellerman
Hi Linus, Here's some more updates for powerpc for 3.18. They are a bit late I know, though must are actually bug fixes. In my defence I nearly cut the top of my finger off last weekend in a gruesome bike maintenance accident, so I spent a good part of the week waiting around for doctors. True

[PATCH] net: Remove trailing whitespace in tcp.h icmp.c syncookies.c

2014-10-20 Thread Kenjiro Nakayama
Remove trailing whitespace in tcp.h icmp.c syncookies.c Signed-off-by: Kenjiro Nakayama nakayamakenj...@gmail.com --- include/net/tcp.h | 12 ++-- net/ipv6/icmp.c | 1 - net/ipv6/syncookies.c | 1 - 3 files changed, 6 insertions(+), 8 deletions(-) diff --git

Re: v3.18-rc1 bloat-o-meter

2014-10-20 Thread Borislav Petkov
On Mon, Oct 20, 2014 at 11:09:28AM +0200, Geert Uytterhoeven wrote: Sure. Compile two kernel images, and run scripts/bloat-o-meter image1 image2 Ha, that's even upstream :-) Thanks Geert! -- Regards/Gruss, Boris. Sent from a fat crate under my desk. Formatting is fine. -- -- To

[PATCH] virtio: Fix comment typo 'CONFIG_S_FAILED'

2014-10-20 Thread Paul Bolle
Without the VIRTIO_ prefix CONFIG_S_FAILED looks like a Kconfig macro. So use that prefix here too. Signed-off-by: Paul Bolle pebo...@tiscali.nl --- Introduced in commit c6716bae52f9 (virtio-pci: move freeze/restore to virtio core). Tested with git grep only. include/linux/virtio.h | 2 +- 1

Re: [PATCH 1/2] drivers/misc/eeprom/men_eeprod: Introduce MEN Board Information EEPROM driver

2014-10-20 Thread Andreas Werner
On Mon, Oct 20, 2014 at 05:11:41PM +0800, Greg KH wrote: On Mon, Oct 20, 2014 at 10:33:45AM +0200, Andreas Werner wrote: On Thu, Oct 16, 2014 at 01:44:02PM +0200, Andreas Werner wrote: On Thu, Oct 16, 2014 at 11:59:10AM +0200, Wolfram Sang wrote: * PGP Signed by an unknown key

Re: [PATCH v4] ARM: perf: save/restore pmu registers in pm notifier

2014-10-20 Thread Will Deacon
On Mon, Oct 20, 2014 at 10:16:16AM +0100, Sudeep Holla wrote: On 20/10/14 09:46, Neil Zhang wrote: Will, I prefer to check always-on field under PMU node to check whether we need Save/restore them. But how do you handle it for different idle states. e.g. if CPU is in retention, PMU's

  1   2   3   4   5   6   7   8   9   10   >