[PATCH v2 3/3] tpm: fix multiple race conditions in tpm_ppi.c

2014-10-23 Thread Jarkko Sakkinen
Traversal of the ACPI device tree was not done right. It should lookup PPI only under the ACPI device that it is associated. Otherwise, it could match to a wrong PPI interface if there are two TPM devices in the device tree. Removed global ACPI handle and version string from tpm_ppi.c as this is r

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

2014-10-23 Thread Arnd Bergmann
On Thursday 23 October 2014 10:13:09 Liviu Dudau wrote: > > @@ -335,7 +329,9 @@ void __init cns3xxx_pcie_init_late(void) > > cns3xxx_pwr_soft_rst(0x1 << PM_SOFT_RST_REG_OFFST_PCIE(i)); > > cns3xxx_pcie_check_link(&cns3xxx_pcie[i]); > > cns3xxx_pcie_hw_init(

[PATCH v2 0/3] prepare for TPM 2.0

2014-10-23 Thread Jarkko Sakkinen
This patch set fixes two race conditions in the TPM subsystem: * Two-phase initialization for struct tpm_chip so that device can initialize fully initialize before exposing itself to the user space. Also, in future TPM2 devices must be flagged before they can be registered. * Machines where

[PATCH v2 1/3] tpm: merge duplicate transmit_cmd() functions

2014-10-23 Thread Jarkko Sakkinen
Merged transmit_cmd() functions in tpm-interface.c and tpm-sysfs.c. Added "tpm_" prefix for consistency sake. Changed cmd parameter as opaque. This enables to use separate command structures for TPM1 and TPM2 commands in future. Loose coupling works fine here. Signed-off-by: Jarkko Sakkinen ---

[PATHC] net: napi_reuse_skb() should check pfmemalloc

2014-10-23 Thread Eric Dumazet
From: Eric Dumazet Do not reuse skb if it was pfmemalloc tainted, otherwise future frame might be dropped anyway. Signed-off-by: Eric Dumazet --- net/core/dev.c |4 1 file changed, 4 insertions(+) diff --git a/net/core/dev.c b/net/core/dev.c index b793e3521a36..945bbd001359 100644 --

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

2014-10-23 Thread Cornelia Huck
On Thu, 23 Oct 2014 15:51:39 +0300 "Michael S. Tsirkin" wrote: > 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

Re: [PATCH 06/14] net: dsa: Add support for hardware monitoring

2014-10-23 Thread Guenter Roeck
On 10/23/2014 01:24 AM, Richard Cochran wrote: On Wed, Oct 22, 2014 at 10:06:41PM -0700, Guenter Roeck wrote: On 10/22/2014 09:37 PM, Florian Fainelli wrote: You probably want the number of temperature sensors to come from the switch driver, and support arbitrary number of temperature sensors?

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

2014-10-23 Thread Alexandre Belloni
Hi, On 23/10/2014 at 07:53:36 -0500, Brian Vandre wrote : > 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 s

[RFC] pinctrl: Provide a generic device tree binding for per-pin pin controllers

2014-10-23 Thread Sascha Hauer
Most iomux controllers allow a configuration per pin. These currently have no common device tree binding. There are many different SoC specific bindings for this class of iomux controllers. Some controllers artificially group pins together where in hardware no groups exist (for example lantiq). Oth

hung tasks in 3.18.0-rc1-00221-gc3351df

2014-10-23 Thread Meelis Roos
This is first real test on a computer where 3.17 did hang. Fist the hung task info, then full dmesg. [ 960.346611] INFO: task kworker/u16:0:6 blocked for more than 120 seconds. [ 960.346616] Tainted: GW 3.18.0-rc1-00221-gc3351df #150 [ 960.346618] "echo 0 > /proc/sys/kernel/

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

2014-10-23 Thread Guenter Roeck
On 10/23/2014 05:51 AM, Sergei Shtylyov wrote: 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(-)

[PATCH] block: wrong return value

2014-10-23 Thread Sudip Mukherjee
while compiling integer err was showing as a set but unused variable. elevator_init_fn can be either cfq_init_queue or deadline_init_queue or noop_init_queue. all three of these functions are returning -ENOMEM if they fail to allocate the queue. so we should actually be returning the error code ra

Re: [PATCH v3 58/59] dmaengine: Add a warning for drivers not using the generic slave caps retrieval

2014-10-23 Thread Maxime Ripard
Hi, On Thu, Oct 23, 2014 at 12:21:31AM +0300, Laurent Pinchart wrote: > Hi Maxime, > > Thank you for the patch. > > On Wednesday 22 October 2014 17:44:12 Maxime Ripard wrote: > > For the slave caps retrieval to be really useful, most drivers need to > > implement it. > > > > Hence, we need to b

Re: [PATCH 1/2] clocksource: enable pxa_timer for SA-1100 platform

2014-10-23 Thread Dmitry Eremin-Solenikov
2014-10-20 23:07 GMT+04:00 Arnd Bergmann : > On Wednesday 15 October 2014 16:50:04 Dmitry Eremin-Solenikov wrote: >> SA-11x0 platform used the same IP block as was used on PXA. Consequently >> it makes sense to have only one driver. Enable pxa_timer clocksource for >> StrongARM platform. >> >> Sign

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

2014-10-23 Thread Peter Zijlstra
On Thu, Oct 23, 2014 at 02:16:19PM +0200, Borislav Petkov wrote: > 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. > >

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

2014-10-23 Thread Alex Williamson
On Thu, 2014-10-23 at 15:32 +0300, Marcel Apfelbaum wrote: > 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 t

Re: perf: Translating mmap2 ids into socket info?

2014-10-23 Thread Don Zickus
On Thu, Oct 23, 2014 at 01:30:01PM +0200, Peter Zijlstra wrote: > 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 st

Re: [PATCH] [media] gspca_touptek: Add support for ToupTek UCMOS series USB cameras

2014-10-23 Thread Hans de Goede
Hi, On 10/05/2014 08:43 AM, John McMaster wrote: > Adds support for AmScope MU800 / ToupTek UCMOS08000KPB USB microscope camera. First of all many thanks for writing this driver, and also for submitting it upstream. We always appreciate it a lot when people put in the effort to write a driver to

Re: [PATCH 3/3] selftests/kcmp: Always try to build the test

2014-10-23 Thread Christopher Covington
Hi Michael, On 10/23/2014 01:07 AM, Michael Ellerman wrote: > Don't prevent the test building on non-x86. Just try and build it and > let the chips fall where they may. As a user of kcmp via CRIU on arm and arm64, thanks! > diff --git a/tools/testing/selftests/kcmp/Makefile > b/tools/testing/se

Re: linux-next: manual merge of the akpm-current tree with the pm tree

2014-10-23 Thread Michal Hocko
On Thu 23-10-14 14:09:05, Stephen Rothwell wrote: > Hi Andrew, > > Today's linux-next merge of the akpm-current tree got a conflict in > include/linux/oom.h, kernel/power/process.c and mm/oom_kill.c between > commit 5695be142e20 ("OOM, PM: OOM killed task shouldn't escape PM > suspend") from the p

[PATCH] virtio_blk: make serial attribute static

2014-10-23 Thread Michael S. Tsirkin
It's never declared so no need to make it extern. Signed-off-by: Michael S. Tsirkin --- drivers/block/virtio_blk.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/block/virtio_blk.c b/drivers/block/virtio_blk.c index 93e23a7..a68f4c6 100644 --- a/drivers/block/virti

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 unaccount

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, 10

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 = "pwm-

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 > drivers/input/touchscreen

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 acp

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 t

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, yo

[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 m

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: BS

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 so

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': drivers/input/touchscree

[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 a/drivers/staging/android/ion/ion_page_pool

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 changed

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 n

[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 linu

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 b/dr

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 a

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 ++ > > drivers/virtio/vi

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, Oc

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 wit

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 prev

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 pte_none(

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 inte

[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 dev

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(&alg256) || crypto_register_shash(&alg512) > + || crypto_register_shash(&alg1024); Shouldn't it unwind on error? > +} regards, dan ca

[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 --git

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. > diff

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 inser

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 the

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 t

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 > wei

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, I

[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(), - There'

[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 +++ b/drivers/base/

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 cli

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 fro

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 insertions

[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: Pete

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 cha

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 overlay

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 sepa

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

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 depe

[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 b

[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 m

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 oopses

[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 |4

[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 f

[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 deletions

[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 a/kernel/

[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 (req

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// fo

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 proposal

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 on

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: > > > > > > [...] > > > > > > > The

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 patch

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 messa

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 ta

[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): -MODULE_ALIAS("platform:

[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(&vma_srcu)); > > + >

<    1   2   3   4   5   6   7   8   >