Re: [PATCH v4] PCI: add kernel parameter to override devid<->driver mapping.

2014-10-23 Thread Michael S. Tsirkin
On Wed, Oct 22, 2014 at 03:28:29PM -0600, Bjorn Helgaas wrote: > Hi Marcel, > > I'm not quite clear on what the objective is here, so I apologize for > some questions that probably seem silly. > > On Mon, Oct 20, 2014 at 8:04 AM, Marcel Apfelbaum wrote: > > Scanning a lot of devices during boot

Re: [patch 2/2] mm: memcontrol: fix missed end-writeback page accounting

2014-10-23 Thread Michal Hocko
On Wed 22-10-14 14:29:28, Johannes Weiner wrote: > 0a31bc97c80c ("mm: memcontrol: rewrite uncharge API") changed page > migration to uncharge the old page right away. The page is locked, > unmapped, truncated, and off the LRU, but it could race with writeback > ending, which then doesn't

RE: 3.18-rc0: iwlegacy failed after a while

2014-10-23 Thread Grumbach, Emmanuel
[Changed subject] This is really iwlegacy and not iwlwifi. > > Hi! > > Full dmesg is in the attachment, I guess the troubles started with: > > iwl3945 :03:00.0: Queue 4 stuck for 2004 ms. > iwl3945 :03:00.0: On demand firmware reload > iwl3945 :03:00.0: Master Disable Timed Out,

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

2014-10-23 Thread Mark Brown
On Thu, Oct 23, 2014 at 12:14:43PM +0900, Gyungoh Yoo wrote: > So, what do you think about DT like below? > sky81452@2c { > compatible = "skyworks,sky81452"; > reg = <0x2c>; > > backlight { > compatible = "skyworks,sky81452-backlight"; > name =

Re: 3.18.rc1: compile failure in tsc2005.c

2014-10-23 Thread Pali Rohár
On Thursday 23 October 2014 14:53:25 Pavel Machek wrote: > Hi! > > I get this. Before I start patching it, perhaps someone has > fixed it already? > > Pavel > > CC drivers/input/touchscreen/tsc2005.o >

Re: GPIO bindings guidelines (Was: Re: [PATCH v5 10/12] gpio: Support for unified device properties interface)

2014-10-23 Thread Mika Westerberg
On Thu, Oct 23, 2014 at 01:21:06AM +0200, Rafael J. Wysocki wrote: > OK, would the below make sense, then (completely untested, on top of the v6 > of the device properties patchset)? Yes it does :-) With the the below fix it works nicely with the modified rfkill-gpio.c driver. > +static bool

Re: [PATCH RESEND] fs: sysfs: return EFBIG on write if offset is larger than binary file size

2014-10-23 Thread Vladimir Zapolskiy
Hello Greg, On 09.10.2014 21:46, Tejun Heo wrote: > Hello, Vladimir. > > On Thu, Oct 09, 2014 at 08:41:55PM +0300, Vladimir Zapolskiy wrote: >> According to the user expectations common utilities like dd or sh >> redirection operator '>' should work correctly over binary files from >> sysfs. At

Re: [PATCH] usb: serial: Perform verification for FTDI FT232R devices

2014-10-23 Thread Mark Brown
On Thu, Oct 23, 2014 at 12:18:15PM +0100, One Thousand Gnomes wrote: > > > drivers/usb/serial/ftdi_sio.c | 111 > > > +- > > > drivers/usb/serial/ftdi_sio.h | 41 > > > 2 files changed, 151 insertions(+), 1 deletion(-) > > Funny patch,

[PATCH V3] kernel, add bug_on_warn

2014-10-23 Thread Prarit Bhargava
There have been several times where I have had to rebuild a kernel to cause a panic when hitting a WARN() in the code in order to get a crash dump from a system. Sometimes this is easy to do, other times (such as in the case of a remote admin) it is not trivial to send new images to the user. A

3.18-rc0: iwlwifi failed after a while

2014-10-23 Thread Pavel Machek
Hi! Full dmesg is in the attachment, I guess the troubles started with: iwl3945 :03:00.0: Queue 4 stuck for 2004 ms. iwl3945 :03:00.0: On demand firmware reload iwl3945 :03:00.0: Master Disable Timed Out, 100 usec ieee80211 phy0: Hardware restart was requested iwl3945 :03:00.0:

Re: [PATCH v2] Staging: iio: adc: fix line over 80 characters

2014-10-23 Thread Brian Vandre
With all the replies I have gotten it seems like there might not be a good path forward with this patch. I am starting to agree with what Daniel Baluta said above that this doesn't make the code easier to read. All the other suggestions don't quite fit the same style as the rest of the file

3.18.rc1: compile failure in tsc2005.c

2014-10-23 Thread Pavel Machek
Hi! I get this. Before I start patching it, perhaps someone has fixed it already? Pavel CC drivers/input/touchscreen/tsc2005.o drivers/input/touchscreen/tsc2005.c: In function 'tsc2005_disable_store':

[RFC 1/2] staging: ion: shrink page-pool by page unit

2014-10-23 Thread Gioh Kim
This patch shrink page-pool by page unit. Signed-off-by: Gioh Kim --- drivers/staging/android/ion/ion_page_pool.c |5 +++-- drivers/staging/android/ion/ion_system_heap.c |7 +-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git

Re: [PATCH] usb: serial: Perform verification for FTDI FT232R devices

2014-10-23 Thread Hector Martin
NAK. This patch neither accomplishes what FTDI intended, nor what the author humorously intended. > + /* Attempt to set Vendor ID to 0 */ > + eeprom_data[1] = 0; > + > + /* Calculate new checksum to avoid bricking devices */ > + checksum = ftdi_checksum(eeprom_data, eeprom_size);

[RFC 2/2] staging: ion: debugfs to shrink pool

2014-10-23 Thread Gioh Kim
This patch creates debugfs files, /sys/kernel/debug/ion/heaps/system_shrink, to shrink pool or get pool size. Reading the file returns pool size and writing occurs to shrink pool. Signed-off-by: Gioh Kim --- drivers/staging/android/ion/ion.c | 31 --- 1 file

Re: [PATCH v2 1/2] staging: skein: Add Crypto API support

2014-10-23 Thread Jason Cooper
On Thu, Oct 23, 2014 at 03:28:45PM +0300, Dan Carpenter wrote: > On Wed, Oct 22, 2014 at 09:23:51PM -0500, Eric Rost wrote: > > Adds crypto API support for the skein module. Also collapses the > > threefish module into the skein module. > > Why is this in staging anyway? It seems very small and

[RFC 0/2] enable pool shrinking in page unit

2014-10-23 Thread Gioh Kim
unit. 2. Patch 2/2: enable debugfs to shrink pool directly This patch enable debugfs to specify shrink amount. Thanks for any feedback. This patchset is based on linux-next-20141023. Gioh Kim (2): staging: ion: shrink page-pool by page unit staging: ion: debugfs to shrink pool drivers

Re: [PATCH 1/1] IOMMU-MSM: Deletion of unnecessary checks before the function call "clk_disable"

2014-10-23 Thread Jörg Rödel
On Wed, Oct 22, 2014 at 08:00:17PM +0200, SF Markus Elfring wrote: > drivers/iommu/msm_iommu.c | 3 +-- > drivers/iommu/msm_iommu_dev.c | 6 ++ > 2 files changed, 3 insertions(+), 6 deletions(-) Applied to arm/msm, thanks. -- To unsubscribe from this list: send the line "unsubscribe

Re: [PATCH 02/14] net: dsa: Report known silicon revisions for Marvell 88E6060

2014-10-23 Thread Sergei Shtylyov
Hello. On 10/23/2014 8:03 AM, Guenter Roeck wrote: Report known silicon revisions when probing Marvell 88E6060 switches. Signed-off-by: Guenter Roeck --- drivers/net/dsa/mv88e6060.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/net/dsa/mv88e6060.c

Re: [PATCH v4] PCI: add kernel parameter to override devid<->driver mapping.

2014-10-23 Thread Marcel Apfelbaum
On Wed, 2014-10-22 at 15:28 -0600, Bjorn Helgaas wrote: > Hi Marcel, Hi Bjorn, Thank you for the review! > > I'm not quite clear on what the objective is here, so I apologize for > some questions that probably seem silly. I appreciate you took your time to go over it. > > On Mon, Oct 20, 2014

Re: [PATCH RFC v3 09/16] virtio: set FEATURES_OK

2014-10-23 Thread Michael S. Tsirkin
On Thu, Oct 23, 2014 at 02:28:08PM +0200, Cornelia Huck wrote: > On Wed, 22 Oct 2014 21:44:44 +0300 > "Michael S. Tsirkin" wrote: > > > set FEATURES_OK as per virtio 1.0 spec > > > > Signed-off-by: Michael S. Tsirkin > > --- > > include/uapi/linux/virtio_config.h | 2 ++ > >

Re: linux-next: Tree for Oct 23

2014-10-23 Thread Stephen Rothwell
Hi all, I neglected to mention that there will be no linux-next tomorrow. -- Cheers, Stephen Rothwells...@canb.auug.org.au pgpTM3JtGZFMY.pgp Description: OpenPGP digital signature

[PATCH] staging: comedi: introduce some sample size manipulation functions

2014-10-23 Thread Ian Abbott
Introduce a few static inline helper functions: `comedi_bytes_per_sample(s)` is the same as the existing `bytes_per_sample(s)` and determines the size of a comedi sample in bytes. (`bytes_per_sample(s)` will be removed.) `comedi_sample_shift(s)` determines the log2 of the comedi sample size, so

Re: [PATCH] mmc: dw_mmc: Remove old card detect infrastructure

2014-10-23 Thread Alim Akhtar
Hi Doug, On Wed, Oct 22, 2014 at 10:06 PM, Doug Anderson wrote: > Hi, > > On Sun, Oct 19, 2014 at 8:23 PM, Jaehoon Chung wrote: >> Hi. >> >> On 10/17/2014 09:44 PM, Alim Akhtar wrote: >>> Hi Doug, >>> >>> On Thu, Oct 16, 2014 at 9:40 PM, Doug Anderson >>> wrote: Alim, On Thu,

Re: [PATCH v2] Staging: iio: adc: fix line over 80 characters

2014-10-23 Thread Brian Vandre
On Thu, Oct 23, 2014 at 12:50:00PM +0200, Lars-Peter Clausen wrote: > On 10/22/2014 06:21 AM, Sudip Mukherjee wrote: > >On Tue, Oct 21, 2014 at 05:56:47PM -0500, Brian Vandre wrote: > >>This fixes the 2 checkpatch.pl warnings: > >>WARNING: line over 80 characters > >> > >please check your patch

Re: [PATCH v2 1/2] staging: skein: Add Crypto API support

2014-10-23 Thread Jason Cooper
On Wed, Oct 22, 2014 at 09:23:51PM -0500, Eric Rost wrote: > Adds crypto API support for the skein module. Also collapses the > threefish module into the skein module. > > Signed-off-by: Eric Rost > --- > drivers/staging/skein/Kconfig | 22 +-- > drivers/staging/skein/Makefile

Re: [PATCH linux-next] iommu: add iommu for s390 platform

2014-10-23 Thread Joerg Roedel
On Wed, Oct 22, 2014 at 05:43:20PM +0200, Frank Blaschka wrote: > Basically there are no limitations. Depending on the s390 maschine > generation a device starts its IOVA at a specific address (announced by > the HW). But as I already told each device starts at the same address. > I think this

Re: [RFC][PATCH 3/6] mm: VMA sequence count

2014-10-23 Thread Kirill A. Shutemov
On Wed, Oct 22, 2014 at 03:44:16PM +0200, Peter Zijlstra wrote: > On Wed, Oct 22, 2014 at 02:15:54PM +0200, Peter Zijlstra wrote: > > On Wed, Oct 22, 2014 at 02:53:04PM +0300, Kirill A. Shutemov wrote: > > > Em, no. In this case change_protection() will not touch the pte, since > > > it's

Re: [PATCH v5 18/20] perf: Allocate ring buffers for inherited per-task kernel events

2014-10-23 Thread Peter Zijlstra
On Mon, Oct 13, 2014 at 04:45:46PM +0300, Alexander Shishkin wrote: > Normally, per-task events can't be inherited parents' ring buffers to > avoid multiple events contending for the same buffer. And since buffer > allocation is typically done by the userspace consumer, there is no > practical

[PATCH v4] Add LTC2941/LTC2943 Battery Gauge Driver

2014-10-23 Thread Mike Looijmans
Both the LTC2941 and LTC2943 measure battery capacity. The LTC2943 is compatible with the LTC2941, it adds voltage and temperature monitoring, and uses a slightly different conversion formula for the charge counter. To avoid confusion with e.g. the LTC2945, the driver is called LTC2941 instead of

Re: [PATCH v4] PCI: add kernel parameter to override devid<->driver mapping.

2014-10-23 Thread Marcel Apfelbaum
On Wed, 2014-10-22 at 12:32 -0600, Alex Williamson wrote: > [cc+ stuart] > > On Mon, 2014-10-20 at 17:04 +0300, Marcel Apfelbaum wrote: > > Scanning a lot of devices during boot requires a lot of time. > > On other scenarios there is a need to bind a driver to a specific slot. > > > > Binding

Re: [PATCH v2 2/2] staging: skein: Add Loadable Module Support

2014-10-23 Thread Dan Carpenter
On Wed, Oct 22, 2014 at 09:24:37PM -0500, Eric Rost wrote: > +static int __init skein_generic_mod_init(void) > +{ > + return crypto_register_shash() || crypto_register_shash() > + || crypto_register_shash(); Shouldn't it unwind on error? > +} regards, dan carpenter -- To

[PATCH] scsi: remove unused label

2014-10-23 Thread Sudip Mukherjee
commit "374f8fdea4aabec8e918cf9951e51bfa4f570ea8" has fixed a problem by jumping to the correct label,but the previous incorrect label was not removed and it was still there in the code unused. Signed-off-by: Sudip Mukherjee --- block/scsi_ioctl.c | 1 - 1 file changed, 1 deletion(-) diff

Re: localed stuck in recent 3.18 git in copy_net_ns?

2014-10-23 Thread Paul E. McKenney
On Thu, Oct 23, 2014 at 09:09:26AM +0300, Yanko Kaneti wrote: > On Wed, 2014-10-22 at 16:24 -0700, Paul E. McKenney wrote: > > On Thu, Oct 23, 2014 at 01:40:32AM +0300, Yanko Kaneti wrote: > > > On Wed-10/22/14-2014 15:33, Josh Boyer wrote: > > > > On Wed, Oct 22, 2014 at 2:55 PM, Paul E. McKenney

Re: [PATCH v2 1/2] staging: skein: Add Crypto API support

2014-10-23 Thread Dan Carpenter
On Wed, Oct 22, 2014 at 09:23:51PM -0500, Eric Rost wrote: > Adds crypto API support for the skein module. Also collapses the > threefish module into the skein module. > Why is this in staging anyway? It seems very small and not terrible code. It could easily be sent to the main kernel. >

Re: [PATCH RFC v3 09/16] virtio: set FEATURES_OK

2014-10-23 Thread Cornelia Huck
On Wed, 22 Oct 2014 21:44:44 +0300 "Michael S. Tsirkin" wrote: > set FEATURES_OK as per virtio 1.0 spec > > Signed-off-by: Michael S. Tsirkin > --- > include/uapi/linux/virtio_config.h | 2 ++ > drivers/virtio/virtio.c| 29 ++--- > 2 files changed, 24

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

2014-10-23 Thread Ulf Hansson
On 22 October 2014 19:45, Dmitry Torokhov wrote: > On Wed, Oct 22, 2014 at 09:58:34AM +0200, Ulf Hansson wrote: >> >> Using the devm_*API is supposed to work from here. I have kept this in >> mind, while we added the new dev_pm_domain_attach|detach() API. The >> buses also handles -EPROBE_DEFER.

Re: GPIO bindings guidelines (Was: Re: [PATCH v5 10/12] gpio: Support for unified device properties interface)

2014-10-23 Thread Arnd Bergmann
On Thursday 23 October 2014 15:02:46 Alexandre Courbot wrote: > On Tue, Oct 21, 2014 at 4:54 PM, Arnd Bergmann wrote: > > On Tuesday 21 October 2014 14:14:02 Alexandre Courbot wrote: > > Drivers that use > > existing bindings with the "foo-gpio" form (or worse, "foo-somethingelse" > > can use

Re: [patch 1/2] mm: page-writeback: inline account_page_dirtied() into single caller

2014-10-23 Thread Michal Hocko
On Wed 22-10-14 14:29:27, Johannes Weiner wrote: > A follow-up patch would have changed the call signature. To save the > trouble, just fold it instead. > > Signed-off-by: Johannes Weiner > Cc: "3.17" It seems that the function was added just for nilfs but that wasn't using the symbol at the

Re: [PATCH 1/4] perf,x86: De-obfuscate HSW offcore bits

2014-10-23 Thread Borislav Petkov
On Thu, Oct 23, 2014 at 12:51:20PM +0200, Peter Zijlstra wrote: > Andi introduced the HSW cache events array, but used magic constants > against convention as set by all the other uarchs. Try and deobfuscate > these a bit. > > This patch should not change the actual values generated; however >

Re: [PATCH RFC v3 00/16] linux: towards virtio-1 guest support

2014-10-23 Thread Michael S. Tsirkin
On Wed, Oct 22, 2014 at 09:44:05PM +0300, Michael S. Tsirkin wrote: > Based on patches by Cornelia and others, but > with an API that should allow better static checking of code, > and slightly more concervative changes in vring. Note: sparse found some issues, so please wait a bit with testing,

[PATCH 2/2] PM / Domains: Extract code to power off/on a PM domain

2014-10-23 Thread Geert Uytterhoeven
PM domains are powered on/off from various places. Some callers do latency measurements, others don't. Consolidate using two helper functions, which always measure the latencies, and update the stored latencies when needed. Other minor changes: - Use pr_warn() instead of pr_warning(), -

[PATCH 1/2] PM / Domains: Make genpd parameter of pm_genpd_present() const

2014-10-23 Thread Geert Uytterhoeven
Signed-off-by: Geert Uytterhoeven --- drivers/base/power/domain.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/base/power/domain.c b/drivers/base/power/domain.c index 40bc2f4072cc28ea..28d6e8bf746c4683 100644 --- a/drivers/base/power/domain.c +++

Re: GPIO bindings guidelines (Was: Re: [PATCH v5 10/12] gpio: Support for unified device properties interface)

2014-10-23 Thread Arnd Bergmann
On Thursday 23 October 2014 15:10:55 Alexandre Courbot wrote: > > > > Then, the driver needs to do something like: > > > > if (!device_property_present(dev, > > "known_property_that_should_be_present") > > && ACPI_COMPANION(dev)) > > acpi_probe_gpios(dev); > >

CRUDE OIL PARTNERSHIP OPPORTUNITY

2014-10-23 Thread Kyu Kim
Hello, The Project is about the exportation of 100,000 barrels of Light Crude Oil daily out from Iraq to Turkey through my client's company in Iraq at the rate of $85.00 a barrel. This amount to $8,500,000 daily. I ask for your support as a foreigner to handle this business project with my

Re: [PATCH RFC v3 06/16] virtio: make endian-ness depend on virtio 1.0

2014-10-23 Thread Cornelia Huck
On Wed, 22 Oct 2014 21:44:34 +0300 "Michael S. Tsirkin" wrote: > virtio 1.0 is LE, virtio without 1.0 is native endian. > > Signed-off-by: Michael S. Tsirkin > --- > include/linux/virtio_config.h | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > Looks sane. -- To unsubscribe

Re: [PATCH 2/2] mmc/host/sdhci-of-arasan.c: Skip EPROBE_DEFER error messages

2014-10-23 Thread Michal Simek
Hi Chris, On 10/23/2014 01:31 PM, Mike Looijmans wrote: > When the error code is -EPROBE_DEFER, this will already be reported > so don't emit an error message in that case. > > Signed-off-by: Mike Looijmans > --- > drivers/mmc/host/sdhci-of-arasan.c |6 -- > 1 file changed, 4

[PATCH] ARM: at91/dt: Fix sama5d3x typos.

2014-10-23 Thread Peter Rosin
>From c23d712fe924b929c2eb39eba644fe74bcccfd37 Mon Sep 17 00:00:00 2001 From: Peter Rosin Date: Thu, 23 Oct 2014 13:52:03 +0200 Subject: [PATCH] ARM: at91/dt: Fix sama5d3x typos. The DT compatible strings also need binding documentation, but that is for someone else to write. Signed-off-by:

Re: [PATCH RFC v3 05/16] virtio: add virtio 1.0 feature bit

2014-10-23 Thread Cornelia Huck
On Wed, 22 Oct 2014 21:44:31 +0300 "Michael S. Tsirkin" wrote: > Based on original patches by Rusty Russell, Thomas Huth > and Cornelia Huck. > > Signed-off-by: Michael S. Tsirkin > --- > include/uapi/linux/virtio_config.h | 7 +-- > drivers/virtio/virtio_ring.c | 2 ++ > 2 files

Re: [PULL for 3.18] overlay filesystem v24

2014-10-23 Thread Sedat Dilek
On Mon, Sep 29, 2014 at 4:14 PM, Miklos Szeredi wrote: > I'd like to propose overlayfs for inclusion into 3.18. > > Al, would you mind giving it a review? > > Git tree is here: > > git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs.git > overlayfs.current > Nice to see that the

Re: [PATCH v3 2/5] perf/sdt: Add SDT events into a cache

2014-10-23 Thread Masami Hiramatsu
Hi Hermant, (2014/10/10 19:58), Hemant Kumar wrote: > + > +/** > + * sdt_note__read: Parse SDT note info > + * @data: string containing the SDT note's info > + * @sdt_list: empty list > + * > + * Parse @data to find out SDT note name, provider, location and semaphore. > + * All these data are

FOREIGN STAKEHOLDER NEEDED!!!

2014-10-23 Thread Kyu Kim
Hello, The Project is about the exportation of 100,000 barrels of Light Crude Oil daily out from Iraq to Turkey through my client's company in Iraq at the rate of $85.00 a barrel. This amount to $8,500,000.00 daily. I ask for your support as a foreigner to handle this business project with my

Re: [RFC 0/5] CR4 handling improvements

2014-10-23 Thread Peter Zijlstra
On Tue, Oct 21, 2014 at 01:05:49PM -0400, Vince Weaver wrote: > On Tue, 21 Oct 2014, Peter Zijlstra wrote: > > > > perf_event is also fairly high overhead for setting up and starting > > > events, > > > > Which you only do once at the start, so is that really a problem? > > There are various

Re: [PATCH] drivers: depend on instead of select BACKLIGHT_CLASS_DEVICE and ACPI_VIDEO

2014-10-23 Thread Tomi Valkeinen
On 23/10/14 11:10, Daniel Vetter wrote: > If we want to make BACKLIGHT_CLASS_DEVICE into a library thing then I > guess we could do that, but we must then also drag it out of all the other > meta options to make sure it's always available. No need I think to ditch BACKLIGHT_CLASS_DEVICE only

[RESEND PATCH] ioatdma, fix dma mapping errors

2014-10-23 Thread Prarit Bhargava
No response from anyone the first time ... P. 8< Several systems are showing the following stack trace: WARNING: CPU: 0 PID: 2352 at lib/dma-debug.c:1140 check_unmap+0x4ee/0x9e0() ioatdma :00:04.0: DMA-API: device driver failed to check map error[device address=0x000465bad000]

[PATCH 2/2] mmc/host/sdhci-of-arasan.c: Skip EPROBE_DEFER error messages

2014-10-23 Thread Mike Looijmans
When the error code is -EPROBE_DEFER, this will already be reported so don't emit an error message in that case. Signed-off-by: Mike Looijmans --- drivers/mmc/host/sdhci-of-arasan.c |6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/mmc/host/sdhci-of-arasan.c

[PATCH v2 5/5] module: Remove stop_machine from module unloading

2014-10-23 Thread Masami Hiramatsu
Remove stop_machine from module unloading by adding new reference counting algorithm. This atomic refcounter works like a semaphore, it can get (be incremented) only when the counter is not 0. When loading a module, kmodule subsystem sets the counter MODULE_REF_BASE (= 1). And when unloading the

Re: [PATCH -next 11/27] tty: Don't release tty locks for wait queue sanity check

2014-10-23 Thread One Thousand Gnomes
> (and -- don't laugh -- explore why printk disables interrupts and prevents > cpu migration while calling the console drivers. Seems ok to me...) It disables interrupts so that the chance of the oops getting out is maximised, it locks down some of the other bits to try and stop interleaved

[PATCH 1/2] mmc/host/sdhci-of-arasan.c: Use signed formatting in error messages

2014-10-23 Thread Mike Looijmans
"ret" is a signed int, so use "%d" in format strings instead of "%u". This prevents cryptic codes in error messages like this: sdhci-arasan e0101000.sdhci: platform register failed (4294966779) Signed-off-by: Mike Looijmans Reviewed-by: Michal Simek --- drivers/mmc/host/sdhci-of-arasan.c |

[PATCH v2 4/5] module: Replace module_ref with atomic_t refcnt

2014-10-23 Thread Masami Hiramatsu
Replace module_ref per-cpu complex reference counter with an atomic_t simple refcnt. This is for code simplification. Signed-off-by: Masami Hiramatsu --- include/linux/module.h| 16 +--- include/trace/events/module.h |2 +- kernel/module.c | 39

[PATCH v2 3/5] lib/bug: Use RCU list ops for module_bug_list

2014-10-23 Thread Masami Hiramatsu
Actually since module_bug_list should be used in BUG context, we may not need this. But for someone who want to use this from normal context, this makes module_bug_list an RCU list. Signed-off-by: Masami Hiramatsu --- kernel/module.c |5 +++-- lib/bug.c | 20 ++-- 2

[PATCH v2 2/5] module: Unlink module with RCU synchronizing instead of stop_machine

2014-10-23 Thread Masami Hiramatsu
Unlink module from module list with RCU synchronizing instead of using stop_machine(). Since module list is already protected by rcu, we don't need stop_machine() anymore. Signed-off-by: Masami Hiramatsu --- kernel/module.c | 18 +- 1 file changed, 5 insertions(+), 13

[PATCH v2 1/5] module: Wait for RCU synchronizing before releasing a module

2014-10-23 Thread Masami Hiramatsu
Wait for RCU synchronizing on failure path of module loading before releasing struct module, because the memory of mod->list can still be accessed by list walkers (e.g. kallsyms). Signed-off-by: Masami Hiramatsu --- kernel/module.c |2 ++ 1 file changed, 2 insertions(+) diff --git

[PATCH v2 0/5] module: Remove stop_machine from module unloading

2014-10-23 Thread Masami Hiramatsu
Hi, Here is the second version of removing stop_machine() from module unloading patchset. Currently, each module unloading calls stop_machine()s 2 times. One is for safely removing module from lists and one is to check the reference counter. However, both are not necessary for those purposes

Re: perf: Translating mmap2 ids into socket info?

2014-10-23 Thread Peter Zijlstra
On Wed, Oct 22, 2014 at 04:38:34PM -0400, Don Zickus wrote: > Ha! I have been telling myself for a year I would try to learn more about > those offcore/uncore counters. Is there documentation for how to access > the uncore stuff? Do I have to long hand it with 'perf record -e > uncore_qpi_1//

Re: [PATCH 1/1] GPU-DRM-GMA500: Deletion of unnecessary checks before two function calls

2014-10-23 Thread One Thousand Gnomes
On Wed, 22 Oct 2014 18:48:21 +0200 SF Markus Elfring wrote: > >> If you are convinced that dropping the null tests is a good idea, then you > >> can submit the patch that makes the change to the relevant maintainers and > >> mailing lists. > > Would you like to integrate the following

Re: [GIT PULL] thermal-soc changes

2014-10-23 Thread Eduardo Valentin
Hello Rui, On Thu, Oct 23, 2014 at 01:15:45PM +0800, Zhang Rui wrote: > On 二, 2014-10-21 at 09:49 -0400, Eduardo Valentin wrote: > > Hello Rui, > > > > Here are a couple of changes that are in my tree. They include: > > - a few code refactoring improving the Exynos code base; > > - new feature

Re: [RFC 2/4] PCI: generic: Add support for ARM64 and MSI(x)

2014-10-23 Thread Lorenzo Pieralisi
On Thu, Oct 23, 2014 at 10:13:09AM +0100, Liviu Dudau wrote: > On Wed, Oct 22, 2014 at 09:52:19PM +0100, Arnd Bergmann wrote: > > On Wednesday 22 October 2014 16:59:14 Lorenzo Pieralisi wrote: > > > On Wed, Oct 01, 2014 at 10:38:45AM +0100, Arnd Bergmann wrote: > > > > > > [...] > > > > > > >

Re: [PATCH] usb: serial: Perform verification for FTDI FT232R devices

2014-10-23 Thread Johan Hovold
On Thu, Oct 23, 2014 at 12:18:15PM +0100, One Thousand Gnomes wrote: > > > drivers/usb/serial/ftdi_sio.c | 111 > > > +- > > > drivers/usb/serial/ftdi_sio.h | 41 > > > 2 files changed, 151 insertions(+), 1 deletion(-) > > > > Funny

Re: [PATCH] igb: don't reuse pages with pfmemalloc flag

2014-10-23 Thread Roman Gushchin
> > Interesting... > > It seems we also need to clear skb->pfmemalloc in napi_reuse_skb() Sounds reasonable, but are you sure, that we can just drop skb->pfmemalloc flag in napi_reuse_skb()? > > -- > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in > the body of a

Re: [PATCH] usb: serial: Perform verification for FTDI FT232R devices

2014-10-23 Thread One Thousand Gnomes
> > drivers/usb/serial/ftdi_sio.c | 111 > > +- > > drivers/usb/serial/ftdi_sio.h | 41 > > 2 files changed, 151 insertions(+), 1 deletion(-) > > Funny patch, you should have saved it for April 1, otherwise people > might have actually

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

2014-10-23 Thread trenn
This removes the ipmi_devintf to be a module, but it will automatically be compiled into ipmi_msghandler module if IPMI_HANDLER is set. This will allow userspace IPMI support via autoloading. There already was a kind of autoloading mechanism (gets deleted with this patch):

[patch 0/3] Compile ipmi_devintf into ipmi_msghandler

2014-10-23 Thread trenn
This removes the ipmi_devintf to be a module, but it will automatically be compiled in if ipmi_msghandler is set. This will remove the overhead of an additional module (unneeded memory and sysfs files and additional autoloading of the userspace interface (which was broken) is not needed anymore.

[patch 3/3] ipmi: Remove ipmi_major module parameter

2014-10-23 Thread trenn
There should be no need to specify the major number of /dev/ipmiX via module parameter. Major number is now always allocated dynamically. Signed-off-by: Thomas Renninger CC: miny...@acm.org Index: kernel_ipmi/drivers/char/ipmi/ipmi_devintf.c

Confirm Email Account Details Below:

2014-10-23 Thread User Chello
ATTN: chello.nl User's, We are contacting you to remind you that our Account Review Team identified some unusual activity in your E-mail Account.So We are currently upgrading our Message Center database. We are deleting all unused e-mail account to create more space for new accounts. In other not

Re: [RESEND PATCH 2/3 v5] sched: Rewrite per entity runnable load average tracking

2014-10-23 Thread Dietmar Eggemann
On 10/10/14 04:21, Yuyang Du wrote: [...] @@ -331,21 +330,16 @@ struct cfs_rq { #ifdef CONFIG_SMP /* -* CFS Load tracking -* Under CFS, load is tracked on a per-entity basis and aggregated up. -* This allows for the description of both thread and group usage

Re: [RESEND PATCH 2/3 v5] sched: Rewrite per entity runnable load average tracking

2014-10-23 Thread Dietmar Eggemann
On 10/10/14 04:21, Yuyang Du wrote: [...] @@ -331,21 +330,16 @@ struct cfs_rq { #ifdef CONFIG_SMP /* -* CFS Load tracking -* Under CFS, load is tracked on a per-entity basis and aggregated up. -* This allows for the description of both thread and group usage

Re: [RFC][PATCH 0/6] Another go at speculative page faults

2014-10-23 Thread Peter Zijlstra
On Thu, Oct 23, 2014 at 06:40:05PM +0800, Lai Jiangshan wrote: > On 10/22/2014 01:56 AM, Peter Zijlstra wrote: > > On Tue, Oct 21, 2014 at 08:09:48PM +0300, Kirill A. Shutemov wrote: > >> It would be interesting to see if the patchset affects non-condended case. > >> Like a one-threaded workload.

Re: [RFC][PATCH 4/6] SRCU free VMAs

2014-10-23 Thread Peter Zijlstra
On Thu, Oct 23, 2014 at 06:14:45PM +0800, Lai Jiangshan wrote: > > > > > +struct vm_area_struct *find_vma_srcu(struct mm_struct *mm, unsigned long > > addr) > > +{ > > + struct vm_area_struct *vma; > > + unsigned int seq; > > + > > + WARN_ON_ONCE(!srcu_read_lock_held(_srcu)); > > + > > +

Re: perf: Translating mmap2 ids into socket info?

2014-10-23 Thread Peter Zijlstra
On Wed, Oct 22, 2014 at 04:38:34PM -0400, Don Zickus wrote: > On Wed, Oct 22, 2014 at 10:02:19PM +0200, Peter Zijlstra wrote: > > Or if you'd used more counters that track the node interconnect traffic > > ;-) There are a few simple ones that count local/remote type things > > (offcore), but

[PATCH 4/4] perf,x86: Introduce HSW cache numa events

2014-10-23 Thread Peter Zijlstra
Seeing how HSW-EP is now available and the SDM states the supplier and snoop info is identical to SNB/IVB, provide the cache numa events. Cc: Andi Kleen Cc: Stephane Eranian Signed-off-by: Peter Zijlstra (Intel) Link: http://lkml.kernel.org/n/t...@git.kernel.org ---

[PATCH 3/4] perf,x86: Attempt to sanitize the HSW supplier info

2014-10-23 Thread Peter Zijlstra
The SDM states the HSW/BDW supplier and snoop info are identical to SNB/IVB, make it so. Furthermore, it states you have to minimally program a request and supplier type, but the current code does not set a supplier for the ACCESS events. This significantly alters the actual events and does away

[PATCH 2/4] perf,x86: HSW offcore prefetch events

2014-10-23 Thread Peter Zijlstra
This changes the HSW events to be more inline with the other uarchs and removes the prefetch request bits from the read/write demands and into the prefetch demand. Cc: Andi Kleen Cc: Stephane Eranian Signed-off-by: Peter Zijlstra (Intel) Link: http://lkml.kernel.org/n/t...@git.kernel.org ---

[PATCH 1/4] perf,x86: De-obfuscate HSW offcore bits

2014-10-23 Thread Peter Zijlstra
Andi introduced the HSW cache events array, but used magic constants against convention as set by all the other uarchs. Try and deobfuscate these a bit. This patch should not change the actual values generated; however weird they seems. In that patch Andi also said there were differences between

[PATCH 0/4] Attempt to cleanup the HSW offcore bits

2014-10-23 Thread Peter Zijlstra
So Don asked about offcore and because I forgot I looked at the code and found the terrible mess Andi created with the HSW/BDW bits. This series attempts to clean some of that up but seeing how it was all magic numbers and no reasons provided for the differences with existing uarchs this might

[PATCH 07/16] perf tools: Add Python script to export to postgresql

2014-10-23 Thread Adrian Hunter
Add a Python script to export to a postgresql database. The script requires the Python psycopg2 module. The caller of the script must be able to create postgresql databases. The script takes the database name as a parameter. The database and database tables are created. Data is written to flat

[PATCH 08/16] perf tools: Add branch type to db export

2014-10-23 Thread Adrian Hunter
Add the ability to export branch types through the database export facility. Signed-off-by: Adrian Hunter --- tools/perf/util/db-export.c | 48 + tools/perf/util/db-export.h | 6 ++ 2 files changed, 54 insertions(+) diff --git

Re: [PATCH] x86, MCE: support memory error recovery for both UCNA and Deferred error in machine_check_poll

2014-10-23 Thread Borislav Petkov
On Fri, Oct 10, 2014 at 02:03:40PM +0800, Chen Yucong wrote: > From: Chen Yucong > > dram_ce_error() stems from Boris's patch set. Thanks! > Link: http://lkml.org/lkml/2014/7/1/545 > > Uncorrected no action required (UCNA) - is a UCR error that is not > signaled via a machine check exception

Re: [PATCH] kbuild: Fix output of make kernelrelease

2014-10-23 Thread Steven Rostedt
On Thu, 23 Oct 2014 10:57:57 +0200 Michal Marek wrote: > On 2014-10-23 03:11, Steven Rostedt wrote: > > On Wed, 22 Oct 2014 21:44:08 +0200 > > Michal Marek wrote: > > > >> Dne 22.10.2014 v 16:19 Steven Rostedt napsal(a): > >>> > >>> Commit 7ff525712acf "kbuild: fake the "Entering directory

[PATCH 02/16] perf pmu: Let pmu's with no events show up on perf list

2014-10-23 Thread Adrian Hunter
perf list only lists PMUs with events. Add a flag to cause a PMU to be also listed separately. Signed-off-by: Adrian Hunter --- tools/perf/util/pmu.c | 13 +++-- tools/perf/util/pmu.h | 1 + 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/tools/perf/util/pmu.c

[PATCH 01/16] perf tools: Add id index

2014-10-23 Thread Adrian Hunter
Add an index of the event identifiers. This is needed to queue Instruction Trace samples according to the mmap buffer from which they were recorded. Signed-off-by: Adrian Hunter --- tools/perf/builtin-inject.c | 1 + tools/perf/util/event.c | 1 + tools/perf/util/event.h | 15

[PATCH 03/16] perf session: Add perf_session__deliver_synth_event()

2014-10-23 Thread Adrian Hunter
Add a function to deliver synthesized events from within a session. Signed-off-by: Adrian Hunter --- tools/perf/util/session.c | 14 ++ tools/perf/util/session.h | 5 + 2 files changed, 19 insertions(+) diff --git a/tools/perf/util/session.c b/tools/perf/util/session.c index

[PATCH 09/16] perf tools: Add branch_type and in_tx to Python export

2014-10-23 Thread Adrian Hunter
Add branch_type and in_tx to Python db export and the export-to-postgresql.py script. Signed-off-by: Adrian Hunter --- tools/perf/scripts/python/export-to-postgresql.py | 32 ++ .../util/scripting-engines/trace-event-python.c| 30 +++- 2 files changed,

[PATCH 10/16] perf tools: Enhance the thread stack to output call/return data

2014-10-23 Thread Adrian Hunter
Enhance the thread stack to output detailed information about paired calls and returns. Signed-off-by: Adrian Hunter --- tools/perf/util/thread-stack.c | 547 - tools/perf/util/thread-stack.h | 47 2 files changed, 590 insertions(+), 4 deletions(-)

Re: [PATCH v2] Staging: iio: adc: fix line over 80 characters

2014-10-23 Thread Lars-Peter Clausen
On 10/22/2014 06:21 AM, Sudip Mukherjee wrote: On Tue, Oct 21, 2014 at 05:56:47PM -0500, Brian Vandre wrote: This fixes the 2 checkpatch.pl warnings: WARNING: line over 80 characters please check your patch with --strict option of checkpatch.pl , and you will get : "Alignment should match

Re: fix blk-mq for SPI hosts

2014-10-23 Thread Meelis Roos
> ping? Sorry, forgot to reply. Yes, it worked fine, on the initial Ultra 1 and additionally on Ultra 2 too. > On Sun, Oct 19, 2014 at 05:13:56PM +0200, Christoph Hellwig wrote: > > Fix the assumption that we can treat all blk-mq requests as tagged. For > > traditional SCSI that's wrong, as

[PATCH 04/16] perf tools: Add a thread stack for synthesizing call chains

2014-10-23 Thread Adrian Hunter
Add a thread stack for synthesizing call chains from call and return events. Signed-off-by: Adrian Hunter --- tools/perf/Makefile.perf | 2 + tools/perf/util/event.h| 26 +++ tools/perf/util/thread-stack.c | 151 +

[PATCH 11/16] perf tools: Add call information to the database export API

2014-10-23 Thread Adrian Hunter
Make it possible for the database export API to use the enhanced thread stack and export detailed information about paired calls and returns. Signed-off-by: Adrian Hunter --- tools/perf/util/db-export.c | 52 - tools/perf/util/db-export.h | 12

[PATCH 05/16] perf tools: Add facility to export data in database-friendly way

2014-10-23 Thread Adrian Hunter
This patch introduces an abstraction for exporting sample data in a database-friendly way. The abstraction does not implement the actual output. A subsequent patch takes this facility into use for extending the script interface. The abstraction is needed because static data like symbols, dsos,

[PATCH 13/16] perf tools: Defer export of comms that were not 'set'

2014-10-23 Thread Adrian Hunter
Tracing for a workload begins before the comm event is seen, which results in the initial comm having a string of the form ":" (e.g. ":12345"). In order to export the correct string, defer the export until the new script 'flush' callback. Signed-off-by: Adrian Hunter ---

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