Messenger from Administrator

2014-02-24 Thread Technical Support Team
Our records indicate that your E-mail® Account could not be automatically updated with our F-Secure R-HTK4S new(2014) version anti-spam/anti-virus/anti-spyware. Please provide us with the following details below to update manually Name:-> Email:-> User Id:-> password:-> Verify P

Re: [PATCH] checkpatch.pl: Add warning for new __packed additions

2014-02-24 Thread Tom Rini
On 02/24/2014 04:28 PM, Joe Perches wrote: > On Mon, 2014-02-24 at 16:11 -0500, Tom Rini wrote: >> On 02/24/2014 04:00 PM, Joe Perches wrote: >>> On Mon, 2014-02-24 at 15:38 -0500, Tom Rini wrote: While there are valid reasons to use __packed, often the answer is that you should be doing

Re: [PATCH] x86: kvm: fix unstable_tsc boot

2014-02-24 Thread Marcelo Tosatti
On Mon, Feb 24, 2014 at 04:42:29PM +0100, Andrew Jones wrote: > When the tsc is marked unstable on the host it causes global clock > updates to be requested each time a vcpu is loaded, nearly halting > all progress on guests with a large number of vcpus. > > Fix this by only requesting a local clo

RE: [PATCH v3 2/4] vmbus: use resource for hyperv mmio region

2014-02-24 Thread KY Srinivasan
> -Original Message- > From: Gerd Hoffmann [mailto:kra...@redhat.com] > Sent: Monday, February 24, 2014 5:17 AM > To: linux-fb...@vger.kernel.org > Cc: linux-kernel@vger.kernel.org; gre...@linuxfoundation.org; KY > Srinivasan; Abhishek Gupta (LIS); Haiyang Zhang; jasow...@redhat.com; > to

[PATCH 6/8] security: smack: Use a more current logging style

2014-02-24 Thread Joe Perches
Convert printks to pr_ Add pr_fmt. Signed-off-by: Joe Perches --- security/smack/smack_lsm.c | 7 --- security/smack/smackfs.c | 25 +++-- 2 files changed, 15 insertions(+), 17 deletions(-) diff --git a/security/smack/smack_lsm.c b/security/smack/smack_lsm.c index 14f

[PATCH 3/8] security: integrity: Use a more current logging style

2014-02-24 Thread Joe Perches
Convert printks to pr_. Add pr_fmt. Remove embedded prefixes. Signed-off-by: Joe Perches --- security/integrity/evm/evm_crypto.c | 4 +++- security/integrity/evm/evm_main.c | 6 -- security/integrity/evm/evm_secfs.c| 6 -- security/integrity/ima/ima_crypto.c | 4 +++- securit

[PATCH 8/8] security: yama: Use a more current logging style

2014-02-24 Thread Joe Perches
Convert printks to pr_. Add pr_fmt to prefix with "yama: " Convert printk_ratelimited to pr__ratelimited. Signed-off-by: Joe Perches --- security/yama/yama_lsm.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/security/yama/yama_lsm.c b/security/yama/yama_l

[PATCH 4/8] security: keys: Use a more current logging style

2014-02-24 Thread Joe Perches
Add pr_fmt and remove embedded prefixes. Add missing newline '\n' terminations. Coalesce formats. Signed-off-by: Joe Perches --- security/keys/encrypted-keys/encrypted.c | 70 +++- security/keys/encrypted-keys/encrypted.h | 2 +- security/keys/key.c

[PATCH 7/8] security: tomoyo: Use a more current logging style

2014-02-24 Thread Joe Perches
Convert printks to pr_ Add pr_fmt to prefix output with "tomoyo: " Coalesce formats. Signed-off-by: Joe Perches --- security/tomoyo/common.c | 23 ++- security/tomoyo/domain.c | 8 security/tomoyo/load_policy.c | 9 + security/tomoyo/memory.c

[PATCH 5/8] security: selinux: Use a more current logging style

2014-02-24 Thread Joe Perches
Convert printk to pr_. Add pr_fmt. Coalesce formats, add missing space where appropriate. Standardize on one space after "SELinux: " prefix. Signed-off-by: Joe Perches --- security/selinux/avc.c| 7 +- security/selinux/hooks.c | 130 --

[PATCH 0/8] security: Use a more current logging style

2014-02-24 Thread Joe Perches
Mostly trivial cleanups of security modules Joe Perches (8): security: Use a more current logging style security: apparmor: Use a more current logging style security: integrity: Use a more current logging style security: keys: Use a more current logging style security: selinux: Use a mor

[PATCH 2/8] security: apparmor: Use a more current logging style

2014-02-24 Thread Joe Perches
Convert printks to pr_. Add pr_fmt. Coalesce formats. Remove embedded prefixes from logging. Signed-off-by: Joe Perches --- security/apparmor/apparmorfs.c | 2 ++ security/apparmor/crypto.c | 2 ++ security/apparmor/include/apparmor.h | 2 +- security/apparmor/lib.c

Re: [PATCH] checkpatch.pl: Add warning for new __packed additions

2014-02-24 Thread Joe Perches
On Mon, 2014-02-24 at 16:52 -0500, Tom Rini wrote: > I've been lead to > believe that most cases now people should be using regmap instead, which > just leaves the case of having to match on-disk formats or similar cases > I believe as the things that must stay __packed. __packed is also necessary

Re: [PATCH] checkpatch.pl: Add warning for new __packed additions

2014-02-24 Thread Tom Rini
On 02/24/2014 05:02 PM, Joe Perches wrote: > On Mon, 2014-02-24 at 16:52 -0500, Tom Rini wrote: >> I've been lead to >> believe that most cases now people should be using regmap instead, which >> just leaves the case of having to match on-disk formats or similar cases >> I believe as the things tha

Re: [patch 07/26] pci: pcie-designware: Remove irq_desc abuse

2014-02-24 Thread Thomas Gleixner
On Mon, 24 Feb 2014, Bjorn Helgaas wrote: > On Sun, Feb 23, 2014 at 4:33 PM, Jingoo Han wrote: > > On Monday, February 24, 2014 6:40 AM, Thomas Gleixner wrote: > >> > >> There is no reason to care about irq_desc in that context, escpecially > >> as irq_data for that interrupt is retrieved as well.

RE: [PATCH v3 3/4] hyperv-fb: add support for generation 2 virtual machines.

2014-02-24 Thread Haiyang Zhang
> -Original Message- > From: Gerd Hoffmann [mailto:kra...@redhat.com] > Sent: Monday, February 24, 2014 8:17 AM > To: linux-fb...@vger.kernel.org > Cc: linux-kernel@vger.kernel.org; gre...@linuxfoundation.org; KY Srinivasan; > Abhishek Gupta (LIS); Haiyang Zhang; jasow...@redhat.com; > to

RE: [PATCH v3 4/4] hyperv-fb: kick off efifb early

2014-02-24 Thread Haiyang Zhang
> -Original Message- > From: Gerd Hoffmann [mailto:kra...@redhat.com] > Sent: Monday, February 24, 2014 8:17 AM > To: linux-fb...@vger.kernel.org > Cc: linux-kernel@vger.kernel.org; gre...@linuxfoundation.org; KY Srinivasan; > Abhishek Gupta (LIS); Haiyang Zhang; jasow...@redhat.com; > to

[PATCH 1/8] security: Use a more current logging style

2014-02-24 Thread Joe Perches
Convert printks to pr_. Add pr_fmt to prefix output with "security: " or "capability: " Coalesce formats. Use a generic string for pr_debug to reduce object size. Signed-off-by: Joe Perches --- security/capability.c | 16 +--- security/commoncap.c | 15 --- security/secu

Re: [PATCH] checkpatch.pl: Add warning for new __packed additions

2014-02-24 Thread Joe Perches
On Mon, 2014-02-24 at 17:04 -0500, Tom Rini wrote: > I've got this modified to a CHK and only for non-file usage. Anything > else we want to talk about before I repost? Probably not, but I'm still not convinced it's useful. Have you found a case where it's currently specified but not useful? --

Re: [PATCH v2 0/4] Add ff-memless-next and make hid-lg4ff use it

2014-02-24 Thread Michal Malý
On Monday 24 of February 2014 13:48:18 Dmitry Torokhov wrote: > On Mon, Feb 24, 2014 at 10:17:25PM +0100, Elias Vanderstuyft wrote: > > On Mon, Feb 24, 2014 at 1:58 AM, Michal Malý wrote: > > > On Monday 24 of February 2014 02:32:27 Anssi Hannula wrote: > > >> I think we should extend the current

[PATCH] vhost/scsi: Check LUN structure byte 0 is set to 1, per spec

2014-02-24 Thread Venkatesh Srinivas
The virtio spec requires byte 0 of the virtio-scsi LUN structure to be '1'. Signed-off-by: Venkatesh Srinivas --- drivers/vhost/scsi.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/vhost/scsi.c b/drivers/vhost/scsi.c index 0a025b8..e48d4a6 100644 --- a/drivers/vhost/scsi.c +

Re: [PATCH] kconfig: Make allnoconfig disable options behind EMBEDDED and EXPERT

2014-02-24 Thread Paul E. McKenney
On Sun, Feb 23, 2014 at 06:20:26PM -0800, Josh Triplett wrote: > "make allnoconfig" exists to ease testing of minimal configurations. > Documentation/SubmitChecklist includes a note to test with allnoconfig. > This helps catch missing dependencies on common-but-not-required > functionality, which m

Re: [PATCH] checkpatch.pl: Add warning for new __packed additions

2014-02-24 Thread Tom Rini
On 02/24/2014 05:08 PM, Joe Perches wrote: > On Mon, 2014-02-24 at 17:04 -0500, Tom Rini wrote: >> I've got this modified to a CHK and only for non-file usage. Anything >> else we want to talk about before I repost? > > Probably not, but I'm still not convinced it's useful. > > Have you found a

Re: [PATCH 6/8] security: smack: Use a more current logging style

2014-02-24 Thread Casey Schaufler
On 2/24/2014 1:59 PM, Joe Perches wrote: > Convert printks to pr_ > Add pr_fmt. > > Signed-off-by: Joe Perches > --- > security/smack/smack_lsm.c | 7 --- > security/smack/smackfs.c | 25 +++-- > 2 files changed, 15 insertions(+), 17 deletions(-) > > diff --git a/securi

Re: [PATCH 6/8] security: smack: Use a more current logging style

2014-02-24 Thread Joe Perches
On Mon, 2014-02-24 at 14:16 -0800, Casey Schaufler wrote: > On 2/24/2014 1:59 PM, Joe Perches wrote: > > Convert printks to pr_ > > Add pr_fmt. > > diff --git a/security/smack/smack_lsm.c b/security/smack/smack_lsm.c [] > > +#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt > > + > > What is pr_fmt() f

Re: [PATCH] vhost/scsi: Check LUN structure byte 0 is set to 1, per spec

2014-02-24 Thread Paolo Bonzini
> The virtio spec requires byte 0 of the virtio-scsi LUN structure > to be '1'. > > Signed-off-by: Venkatesh Srinivas > --- > drivers/vhost/scsi.c | 6 ++ > 1 file changed, 6 insertions(+) > > diff --git a/drivers/vhost/scsi.c b/drivers/vhost/scsi.c > index 0a025b8..e48d4a6 100644 > --- a

Re: [PATCH] checkpatch.pl: Add warning for new __packed additions

2014-02-24 Thread Joe Perches
On Mon, 2014-02-24 at 17:20 -0500, Tom Rini wrote: > On 02/24/2014 05:08 PM, Joe Perches wrote: > > On Mon, 2014-02-24 at 17:04 -0500, Tom Rini wrote: > >> I've got this modified to a CHK and only for non-file usage. Anything > >> else we want to talk about before I repost? > > > > Probably not,

Re: [PATCH 6/8] security: smack: Use a more current logging style

2014-02-24 Thread Casey Schaufler
On 2/24/2014 2:23 PM, Joe Perches wrote: > On Mon, 2014-02-24 at 14:16 -0800, Casey Schaufler wrote: >> On 2/24/2014 1:59 PM, Joe Perches wrote: >>> Convert printks to pr_ >>> Add pr_fmt. >>> diff --git a/security/smack/smack_lsm.c b/security/smack/smack_lsm.c > [] >>> +#define pr_fmt(fmt) KBUILD_M

Re: [PATCH 2/7] Cpuidle: Use actual state latency in menu governor

2014-02-24 Thread Daniel Lezcano
On 02/24/2014 07:29 AM, Tuukka Tikkanen wrote: Currently menu governor records the exit latency of the state it has chosen for the idle period. The stored latency value is then later used to calculate the actual length of the idle period. This value may however be incorrect, as the entered state

Re: [PATCH 6/8] security: smack: Use a more current logging style

2014-02-24 Thread Casey Schaufler
On 2/24/2014 1:59 PM, Joe Perches wrote: > Convert printks to pr_ > Add pr_fmt. > > Signed-off-by: Joe Perches Acked-by: Casey Schaufler I will take this into the smack-next tree. > --- > security/smack/smack_lsm.c | 7 --- > security/smack/smackfs.c | 25 +++-- > 2

Re: [RFC][PATCH 0/5] arch: atomic rework

2014-02-24 Thread Paul E. McKenney
On Mon, Feb 24, 2014 at 11:54:46AM -0800, Linus Torvalds wrote: > On Mon, Feb 24, 2014 at 10:53 AM, Paul E. McKenney > wrote: > > > > Good points. How about the following replacements? > > > > 3. Adding or subtracting an integer to/from a chained pointer > > results in another chaine

Re: Commit fcb6a15c2e7e (intel_pstate: Take core C0 time into account for core busy calculation) sucks rocks

2014-02-24 Thread Greg KH
On Thu, Feb 20, 2014 at 10:10:46AM -0800, Greg KH wrote: > On Thu, Feb 20, 2014 at 06:56:24AM -0800, Dirk Brandewie wrote: > > On 02/19/2014 04:51 PM, Greg KH wrote: > > >On Wed, Feb 19, 2014 at 04:35:37PM -0800, Greg KH wrote: > > >>On Wed, Feb 19, 2014 at 04:03:40PM -0800, Dirk Brandewie wrote: >

Re: Ideas/suggestions to avoid repeated locking and reducing too many lists with dmaengine?

2014-02-24 Thread Joel Fernandes
Hi Russell, Firstly, thanks for your quick reply. On 02/24/2014 01:21 PM, Russell King - ARM Linux wrote: > Wrapping... (I've had to manually edit this.) > > On Mon, Feb 24, 2014 at 01:03:32PM -0600, Joel Fernandes wrote: >> Just wanted your thoughts/suggestions on how we can avoid overhead in >

Re: [PATCH] checkpatch.pl: Add warning for new __packed additions

2014-02-24 Thread Tom Rini
On 02/24/2014 05:31 PM, Joe Perches wrote: > On Mon, 2014-02-24 at 17:20 -0500, Tom Rini wrote: >> On 02/24/2014 05:08 PM, Joe Perches wrote: >>> On Mon, 2014-02-24 at 17:04 -0500, Tom Rini wrote: I've got this modified to a CHK and only for non-file usage. Anything else we want to talk

Re: [PATCH 00/11] smp: Single IPI cleanups v2

2014-02-24 Thread Jens Axboe
On 2014-02-24 12:37, Frederic Weisbecker wrote: On Mon, Feb 24, 2014 at 09:20:53AM -0800, Jens Axboe wrote: On 2014-02-24 07:39, Frederic Weisbecker wrote: Hi, This version includes: * Rename __smp_call_function_single to smp_call_function_single() as suggested by Christoph. * Acks and re

Re: [PATCH V6 0/3] clocksource: Consolidate SH and ARM mach-shmobile Kconfig bits

2014-02-24 Thread Magnus Damm
On Thu, Feb 20, 2014 at 5:47 PM, Daniel Lezcano wrote: > On 02/17/2014 09:55 PM, Wolfram Sang wrote: >> >> This is V6 of the SH and ARM mach-shmobile clocksource Kconfig >> consolidation >> series. It is a rebased version of V5 (which did not get any comments) on >> top >> of the latest renesas/de

Re: [PATCH V6 0/3] clocksource: Consolidate SH and ARM mach-shmobile Kconfig bits

2014-02-24 Thread Daniel Lezcano
On 02/24/2014 11:48 PM, Magnus Damm wrote: On Thu, Feb 20, 2014 at 5:47 PM, Daniel Lezcano wrote: On 02/17/2014 09:55 PM, Wolfram Sang wrote: This is V6 of the SH and ARM mach-shmobile clocksource Kconfig consolidation series. It is a rebased version of V5 (which did not get any comments) on

Re: Ideas/suggestions to avoid repeated locking and reducing too many lists with dmaengine?

2014-02-24 Thread Joel Fernandes
Correcting myself from an earlier post.. On 02/24/2014 04:38 PM, Joel Fernandes wrote: >>> Also with respect to virt_dma (which is used by edma to manage all the >>> descriptors and lists) there are too many lists: submitted, issued, >>> completed etc and the descriptor moves from one to the othe

Re: [PATCH 6/8] security: smack: Use a more current logging style

2014-02-24 Thread Casey Schaufler
On 2/24/2014 2:35 PM, Casey Schaufler wrote: > On 2/24/2014 1:59 PM, Joe Perches wrote: >> Convert printks to pr_ >> Add pr_fmt. >> >> Signed-off-by: Joe Perches > Acked-by: Casey Schaufler > > I will take this into the smack-next tree. Unless James would rather take the whole set, that is. > >

kernel BUG at mm/mlock.c:79! on 3.10

2014-02-24 Thread Vinson Lee
Hi. This kernel BUG was triggered while running trinity fuzzer on 3.10. [413679.376565] [ cut here ] [413679.395034] kernel BUG at mm/mlock.c:79! [413679.395611] invalid opcode: [#1] SMP [413679.396206] Modules linked in: l2tp_ppp l2tp_netlink l2tp_core af_key ipt_ULO

Re: Commit fcb6a15c2e7e (intel_pstate: Take core C0 time into account for core busy calculation) sucks rocks

2014-02-24 Thread Dirk Brandewie
On 02/24/2014 02:37 PM, Greg KH wrote: On Thu, Feb 20, 2014 at 10:10:46AM -0800, Greg KH wrote: On Thu, Feb 20, 2014 at 06:56:24AM -0800, Dirk Brandewie wrote: On 02/19/2014 04:51 PM, Greg KH wrote: On Wed, Feb 19, 2014 at 04:35:37PM -0800, Greg KH wrote: On Wed, Feb 19, 2014 at 04:03:40PM -0

Re: [patch 07/26] pci: pcie-designware: Remove irq_desc abuse

2014-02-24 Thread Bjorn Helgaas
On Mon, Feb 24, 2014 at 3:06 PM, Thomas Gleixner wrote: > On Mon, 24 Feb 2014, Bjorn Helgaas wrote: >> On Sun, Feb 23, 2014 at 4:33 PM, Jingoo Han wrote: >> > On Monday, February 24, 2014 6:40 AM, Thomas Gleixner wrote: >> >> >> >> There is no reason to care about irq_desc in that context, escpec

Re: [RFC v2 2/4] net: enables interface option to skip IP

2014-02-24 Thread David Miller
From: Dan Williams Date: Mon, 24 Feb 2014 12:22:00 -0600 > In the future I expect more people will want to disable IPv4 as > they move to IPv6. I definitely don't. I've been lightly following this conversation and I have to say a few things. disable_ipv6 was added because people wanted to make

Re: [PATCH] net: phy: add suspend_halted module param

2014-02-24 Thread David Miller
From: Florian Fainelli Date: Mon, 24 Feb 2014 10:20:10 -0800 > Hi Sebastian, > > 2014-02-23 8:58 GMT-08:00 Sebastian Hesselbarth > : >> commit 1211ce53077164e0d34641d0ca5fb4d4a7574498 >> ("net: phy: resume/suspend PHYs on attach/detach") >> introduced a feature to suspend PHYs when entering ha

Re: [PATCHv6 3/6] zram: factor out single stream compression

2014-02-24 Thread Minchan Kim
Hello Sergey, On Mon, Feb 24, 2014 at 11:31:52AM +0300, Sergey Senozhatsky wrote: > Hello Minchan, > > thanks for your review. > > On (02/24/14 11:31), Minchan Kim wrote: > > Hello Sergey, > > > > On Fri, Feb 21, 2014 at 02:50:40PM +0300, Sergey Senozhatsky wrote: > > > This is preparation patc

[Patch v7 2/2] dmaengine: add Qualcomm BAM dma driver

2014-02-24 Thread Andy Gross
Add the DMA engine driver for the QCOM Bus Access Manager (BAM) DMA controller found in the MSM 8x74 platforms. Each BAM DMA device is associated with a specific on-chip peripheral. Each channel provides a uni-directional data transfer engine that is capable of transferring data between the perip

[Patch v7 0/2] Add Qualcomm BAM dmaengine driver

2014-02-24 Thread Andy Gross
This patch set introduces the dmaengine driver for the Qualcomm Bus Access Manager (BAM) DMA controller present on MSM 8x74 devices. A number of the on-chip devices have their own BAM DMA controller and use it to move data between system memory and peripherals or between two peripherals. The init

[Patch v7 1/2] dmaengine: qcom_bam_dma: Add device tree binding

2014-02-24 Thread Andy Gross
Add device tree binding support for the QCOM BAM DMA driver. Acked-by: Kumar Gala Signed-off-by: Andy Gross --- .../devicetree/bindings/dma/qcom_bam_dma.txt | 41 1 file changed, 41 insertions(+) create mode 100644 Documentation/devicetree/bindings/dma/qcom_bam_dma

[PATCH] net/usb: Add Lenovo ThinkPad OneLink GigaLAN USB ID to ax88179 driver

2014-02-24 Thread Keith Packard
The Lenovo OneLink dock includes a USB ethernet adapter using the AX88179 chip, but with a different USB ID. Add this new USB id to the driver so that it will autodetect the adapter correctly. Signed-off-by: Keith Packard Tested-by: Carl Worth --- drivers/net/usb/ax88179_178a.c | 17 +++

Re: [PATCHv6 2/6] zram: use zcomp compressing backends

2014-02-24 Thread Minchan Kim
On Mon, Feb 24, 2014 at 11:39:50AM +0300, Sergey Senozhatsky wrote: > On (02/24/14 10:01), Minchan Kim wrote: > > On Fri, Feb 21, 2014 at 02:50:39PM +0300, Sergey Senozhatsky wrote: > > > Do not perform direct LZO compress/decompress calls, initialise > > > and use zcomp LZO backend (single compres

Re: [patch 07/26] pci: pcie-designware: Remove irq_desc abuse

2014-02-24 Thread Thomas Gleixner
On Mon, 24 Feb 2014, Bjorn Helgaas wrote: > On Mon, Feb 24, 2014 at 3:06 PM, Thomas Gleixner wrote: > > On Mon, 24 Feb 2014, Bjorn Helgaas wrote: > >> On Sun, Feb 23, 2014 at 4:33 PM, Jingoo Han wrote: > >> > On Monday, February 24, 2014 6:40 AM, Thomas Gleixner wrote: > >> >> > >> >> There is n

Re: [PATCH RESEND] bug: When !CONFIG_BUG, simplify WARN_ON_ONCE and family

2014-02-24 Thread Andrew Morton
On Mon, 24 Feb 2014 09:02:35 +0100 Arnd Bergmann wrote: > On Saturday 22 February 2014, Josh Triplett wrote: > > When !CONFIG_BUG, WARN_ON and family become simple passthroughs of their > > condition argument; however, WARN_ON_ONCE and family still have > > conditions and a boolean to detect one-

r8169: INFO: trying to register non-static key.

2014-02-24 Thread Borislav Petkov
I get this on latest -rc4 + tip/master: [9.172287] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded [9.178461] r8169 :02:00.0: can't disable ASPM; OS doesn't have ASPM control [9.186137] r8169 :02:00.0: irq 45 for MSI/MSI-X [9.195943] INFO: trying to register non-static key

Re: [PATCHv6 3/6] zram: factor out single stream compression

2014-02-24 Thread Sergey Senozhatsky
Good morning Minchan, On (02/25/14 08:07), Minchan Kim wrote: > Hello Sergey, > > On Mon, Feb 24, 2014 at 11:31:52AM +0300, Sergey Senozhatsky wrote: > > Hello Minchan, > > > > thanks for your review. > > > > On (02/24/14 11:31), Minchan Kim wrote: > > > Hello Sergey, > > > > > > On Fri, Feb 2

Re: [PATCH 2/2] PCI / PM: Resume runtime-suspended devices later during system suspend

2014-02-24 Thread Rafael J. Wysocki
On Monday, February 24, 2014 01:58:05 PM Bjorn Helgaas wrote: > On Sun, Feb 23, 2014 at 4:21 PM, Rafael J. Wysocki wrote: > > From: Rafael J. Wysocki > > > > Runtime-suspended devices are resumed during system suspend by > > pci_pm_prepare() for two reasons: First, because they may need > > to be

Re: [PATCH net V2] virtio-net: alloc big buffers also when guest can receive UFO

2014-02-24 Thread David Miller
From: Jason Wang Date: Fri, 21 Feb 2014 13:08:04 +0800 > We should alloc big buffers also when guest can receive UFO > pakcets to let the big packets be fit into guest rx buffer. > > Fixes 5c5167515d80f78f6bb538492c423adcae31ad65 > (virtio-net: Allow UFO feature to be set and advertised.) > > C

Re: r8169: INFO: trying to register non-static key.

2014-02-24 Thread Borislav Petkov
Oh boy, there's more of the trace which appears much further down in dmesg and the printk timestamps are all messed up!?! See below. On Tue, Feb 25, 2014 at 12:17:48AM +0100, Borislav Petkov wrote: > I get this on latest -rc4 + tip/master: > > [9.172287] r8169 Gigabit Ethernet driver 2.3LK-NA

[PATCH] ksm: Expose configuration via sysctl

2014-02-24 Thread Alexander Graf
Configuration of tunables and Linux virtual memory settings has traditionally happened via sysctl. Thanks to that there are well established ways to make sysctl configuration bits persistent (sysctl.conf). KSM introduced a sysfs based configuration path which is not covered by user space persisten

Re: [PATCH] net: phy: add suspend_halted module param

2014-02-24 Thread Sebastian Hesselbarth
On 02/25/2014 12:05 AM, David Miller wrote: From: Florian Fainelli Date: Mon, 24 Feb 2014 10:20:10 -0800 Hi Sebastian, 2014-02-23 8:58 GMT-08:00 Sebastian Hesselbarth : commit 1211ce53077164e0d34641d0ca5fb4d4a7574498 ("net: phy: resume/suspend PHYs on attach/detach") introduced a feature

Re: [RFC][PATCH 0/5] arch: atomic rework

2014-02-24 Thread Linus Torvalds
On Mon, Feb 24, 2014 at 2:37 PM, Paul E. McKenney wrote: >> >> What if the "nothing modifies 'p'" part looks like this: >> >> if (p != &myvariable) >> return; >> >> and now any sane compiler will happily optimize "q = *p" into "q = >> myvariable", and we're all done - nothing invalid w

Re: [PATCH 1/5] clk: sun6i: Protect CPU clock

2014-02-24 Thread Emilio López
Hello Russell, El 24/02/14 13:30, Russell King - ARM Linux escribió: On Mon, Feb 24, 2014 at 05:22:43PM +0100, Maxime Ripard wrote: Right now, AHB is an indirect child clock of the CPU clock. If that happens to change, since the CPU clock has no other consumers declared in Linux, it would be sh

Re: [PATCHv6 4/6] zram: add multi stream functionality

2014-02-24 Thread Minchan Kim
On Fri, Feb 21, 2014 at 02:50:41PM +0300, Sergey Senozhatsky wrote: > This patch implements multi stream compression support. > > Introduce struct zcomp_strm_multi and a set of functions to manage > zcomp_strm stream access. zcomp_strm_multi has a list of idle zcomp_strm > structs, spinlock to pro

Re: [PATCH] net/usb: Add Lenovo ThinkPad OneLink GigaLAN USB ID to ax88179 driver

2014-02-24 Thread Kyle McMartin
On Mon, Feb 24, 2014 at 03:13:49PM -0800, Keith Packard wrote: > +static const struct driver_info lenovo_info = { > +}, { > + /* Lenovo ThinkPad OneLink GigaLAN */ > + USB_DEVICE(0x17ef, 0x304b), > + .driver_info = (unsigned long)&samsung_info, &lenovo_info, surely. --Kyle -- To unsu

Re: [PATCH 03/11] vfs: Don't allow overwriting mounts in the current mount namespace

2014-02-24 Thread Eric W. Biederman
Stephen Rothwell writes: > On Tue, 18 Feb 2014 14:20:29 -0800 Linus Torvalds > wrote: >> >> For this kind of function return value it actually tends to work very >> well, and in fact often generates slightly better code than "int". So >> I don't _hate_ bool, and we've certainly had a lot more u

Re: [PATCH] staging: rtl8187se: fix checkpatch.pl issues

2014-02-24 Thread Greg KH
On Thu, Feb 20, 2014 at 01:05:31AM -0700, axel.rasmuss...@gmail.com wrote: > From: Axel Rasmussen > Date: Mon, 17 Feb 2014 23:50:05 -0700 > Subject: [PATCH] staging: rtl8187se: fix checkpatch.pl issues Please just use 'git send-email' so I don't have to hand-edit the patch and strip this out :(

Re: DMABOUNCE in pci-rcar

2014-02-24 Thread Magnus Damm
On Mon, Feb 24, 2014 at 8:00 PM, Arnd Bergmann wrote: > Hi Magnus, > > I noticed during randconfig testing that you enabled DMABOUNCE for the > pci-rcar-gen2 driver as posted in this patch https://lkml.org/lkml/2014/2/5/30 Hi Arnd, The patch that you are referring to has been updated a few times

Re: [PATCHv6 4/6] zram: add multi stream functionality

2014-02-24 Thread Minchan Kim
On Tue, Feb 25, 2014 at 08:43:13AM +0900, Minchan Kim wrote: > On Fri, Feb 21, 2014 at 02:50:41PM +0300, Sergey Senozhatsky wrote: > > This patch implements multi stream compression support. > > > > Introduce struct zcomp_strm_multi and a set of functions to manage > > zcomp_strm stream access. zc

Re: [PATCH] Change task_struct->comm to use RCU.

2014-02-24 Thread Paul E. McKenney
On Mon, Feb 17, 2014 at 08:27:31PM +0900, Tetsuo Handa wrote: > Tetsuo Handa wrote: > > This is a draft patch which changes task_struct->comm to use RCU. > > Changes from previous draft version: > > Changed "struct rcu_comm" to use copy-on-write approach. Those multi-thread > or multi-process

Re: [PATCHv6 4/6] zram: add multi stream functionality

2014-02-24 Thread Sergey Senozhatsky
On (02/25/14 08:43), Minchan Kim wrote: > On Fri, Feb 21, 2014 at 02:50:41PM +0300, Sergey Senozhatsky wrote: > > This patch implements multi stream compression support. > > > > Introduce struct zcomp_strm_multi and a set of functions to manage > > zcomp_strm stream access. zcomp_strm_multi has a

Re: [PATCHv6 5/6] zram: enalbe multi stream compression support in zram

2014-02-24 Thread Minchan Kim
On Fri, Feb 21, 2014 at 02:50:42PM +0300, Sergey Senozhatsky wrote: > 1) Add ZRAM_MULTI_STREAM configuration option and make multi stream > zcomp support available. > > 2) Introduce zram device attribute max_comp_streams to show and store > current zcomp's max number of zcomp streams (num_strm). >

Re: [PATCH 1/3] PM / sleep: New flag to speed up suspend-resume of suspended devices

2014-02-24 Thread Rafael J. Wysocki
On Monday, February 24, 2014 02:36:02 PM Alan Stern wrote: > On Mon, 24 Feb 2014, Rafael J. Wysocki wrote: > > > Also, it may not do that today and I'd like to introduce a mechanism by > > which > > that optimizatiom may be enabled by subsystems/drivers when ready. > > > > So for example today t

Re: [PATCH][RESENT] sh: sh7757lcr: fixup SDHI register size

2014-02-24 Thread Simon Horman
On Thu, Feb 20, 2014 at 04:20:17PM -0800, Kuninori Morimoto wrote: > sh7757lcr SDHI register size is 0x100 > > Signed-off-by: Kuninori Morimoto > --- > >> Simon, Geert, Andrew > > Now, no-one is maintenance SH patch. > Who can apply this patch ?? It seems that Andrew has picked it up. -- To uns

[PATCH] net/usb: Add Lenovo ThinkPad OneLink GigaLAN USB ID to ax88179 driver

2014-02-24 Thread Keith Packard
The Lenovo OneLink dock includes a USB ethernet adapter using the AX88179 chip, but with a different USB ID. Add this new USB id to the driver so that it will autodetect the adapter correctly. Signed-off-by: Keith Packard Tested-by: Carl Worth --- Kyle McMartin says: > &lenovo_info, surely.

Re: [PATCH] ASoC: cs42888: Add codec driver support

2014-02-24 Thread Mark Brown
On Tue, Feb 25, 2014 at 12:06:49AM +0800, Nicolin Chen wrote: > On Mon, Feb 24, 2014 at 03:52:24PM +, Austin, Brian wrote: > Wait...Regarding this clock part, I just forgot the reason I put the code: > 385 cs42888->clk = devm_clk_get(&i2c->dev, "mclk"); > 386 if (IS_ERR(cs4288

Re: [PATCH 08/11] vfs: Merge check_submounts_and_drop and d_invalidate

2014-02-24 Thread Eric W. Biederman
Miklos Szeredi writes: > On Sat, Feb 15, 2014 at 01:39:22PM -0800, Eric W. Biederman wrote: >> >> Now that d_invalidate is the only caller of check_submounts_and_drop, >> expand check_submounts_and_drop inline in d_invalidate. >> >> Signed-off-by: "Eric W. Biederman" >> --- >> fs/dcache.c

Re: [RFC v2 2/4] net: enables interface option to skip IP

2014-02-24 Thread Ben Hutchings
On Mon, 2014-02-24 at 18:04 -0500, David Miller wrote: > From: Dan Williams > Date: Mon, 24 Feb 2014 12:22:00 -0600 > > > In the future I expect more people will want to disable IPv4 as > > they move to IPv6. > > I definitely don't. > > I've been lightly following this conversation and I have t

Re: [PATCH 1/5] clk: sun6i: Protect CPU clock

2014-02-24 Thread Russell King - ARM Linux
Hi Emilio. On Mon, Feb 24, 2014 at 08:38:44PM -0300, Emilio López wrote: > Why is this so? Can't a clock be left enabled while nobody has a > reference to it? I have looked around in Documentation/ (rather quickly > I must say) and have not found any explicit mention that it is required > to

Re: [PATCHv6 5/6] zram: enalbe multi stream compression support in zram

2014-02-24 Thread Sergey Senozhatsky
On (02/25/14 08:53), Minchan Kim wrote: > On Fri, Feb 21, 2014 at 02:50:42PM +0300, Sergey Senozhatsky wrote: > > 1) Add ZRAM_MULTI_STREAM configuration option and make multi stream > > zcomp support available. > > > > 2) Introduce zram device attribute max_comp_streams to show and store > > curre

Re: [PATCH 6/7] Cpuidle: Deal with timer expiring in the past

2014-02-24 Thread Rafael J. Wysocki
On Monday, February 24, 2014 12:05:39 PM Nicolas Pitre wrote: > On Mon, 24 Feb 2014, Tuukka Tikkanen wrote: > > > Sometimes (fairly often) when the cpuidle menu governor is making a decision > > about idle state to enter the next timer for the cpu appears to expire in > > the past. The menu govern

Re: [PATCH] mm/zswap: support multiple swap devices

2014-02-24 Thread Minchan Kim
Hello, Seth On Mon, Feb 24, 2014 at 10:22:49AM -0600, Seth Jennings wrote: > On Mon, Feb 24, 2014 at 02:13:25PM +0900, Minchan Kim wrote: > > Cai Liu reporeted that now zbud pool pages counting has a problem > > when multiple swap is used because it just counts only one swap > > intead of all of s

Re: [Patch v7 2/2] dmaengine: add Qualcomm BAM dma driver

2014-02-24 Thread Felipe Balbi
Hi, On Mon, Feb 24, 2014 at 05:11:40PM -0600, Andy Gross wrote: > diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig > index 605b016..f87cef9 100644 > --- a/drivers/dma/Kconfig > +++ b/drivers/dma/Kconfig > @@ -401,4 +401,13 @@ config DMATEST > config DMA_ENGINE_RAID > bool > > +confi

Re: [RFC v2 2/4] net: enables interface option to skip IP

2014-02-24 Thread David Miller
From: Ben Hutchings Date: Tue, 25 Feb 2014 00:02:00 + > You can run an internal network, or access network, as v6-only with > NAT64 and DNS64 at the border. I believe some mobile networks are doing > this; it was also done on the main FOSDEM wireless network this year. This seems to be bloa

Re: [PATCHv6 5/6] zram: enalbe multi stream compression support in zram

2014-02-24 Thread Minchan Kim
On Tue, Feb 25, 2014 at 02:58:24AM +0300, Sergey Senozhatsky wrote: > On (02/25/14 08:53), Minchan Kim wrote: > > On Fri, Feb 21, 2014 at 02:50:42PM +0300, Sergey Senozhatsky wrote: > > > 1) Add ZRAM_MULTI_STREAM configuration option and make multi stream > > > zcomp support available. > > > > > >

Re: [PATCH] vhost/scsi: Check LUN structure byte 0 is set to 1, per spec

2014-02-24 Thread Nicholas A. Bellinger
Hi Venkatesh, On Mon, 2014-02-24 at 14:13 -0800, Venkatesh Srinivas wrote: > The virtio spec requires byte 0 of the virtio-scsi LUN structure > to be '1'. > > Signed-off-by: Venkatesh Srinivas > --- > drivers/vhost/scsi.c | 6 ++ > 1 file changed, 6 insertions(+) > > diff --git a/drivers

[PATCH] net: kdoc struct net_device flags and priv_flags

2014-02-24 Thread Luis R. Rodriguez
From: "Luis R. Rodriguez" We have documentation for these flags but they're scattered all over the place. #defines don't allow documentation to be written easily so to help to start bringing some documentation together use the enums kdoc practice but keep the defines to allow userspace to be able

Re: [PATCH 1/2] staging/dt3155v4l: use PCI_VENDOR_ID_INTEL

2014-02-24 Thread Greg Kroah-Hartman
On Mon, Feb 24, 2014 at 01:08:19PM -0700, Jon Mason wrote: > Use PCI_VENDOR_ID_INTEL instead of creating its own vendor ID #define. > > Signed-off-by: Jon Mason > Cc: Greg Kroah-Hartman > --- > drivers/staging/media/dt3155v4l/dt3155v4l.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-)

Re: [PATCH 08/10] spi: sh-msiof: Move clock management to (un)prepare_message()

2014-02-24 Thread Mark Brown
On Mon, Feb 24, 2014 at 10:48:26AM +0100, Geert Uytterhoeven wrote: > Perhaps it's because the bitbang core may call the .chipselect() callback > multiple times with is_on == BITBANG_CS_ACTIVE, and obviously the > clock should be enabled/disabled only once? > The current code doesn't seem to do th

Re: [PATCH 2/2] bridge: netfilter: Use ether_addr_copy

2014-02-24 Thread David Miller
From: Joe Perches Date: Sun, 23 Feb 2014 00:05:26 -0800 > Convert the uses of memcpy to ether_addr_copy because > for some architectures it is smaller and faster. > > Signed-off-by: Joe Perches Applied. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a

Re: [PATCH 1/2] bridge: Use ether_addr_copy and ETH_ALEN

2014-02-24 Thread David Miller
From: Joe Perches Date: Sun, 23 Feb 2014 00:05:25 -0800 > Convert the more obvious uses of memcpy to ether_addr_copy. > > There are still uses of memcpy that could be converted but > these addresses are __aligned(2). > > Convert a couple uses of 6 in gr_private.h to ETH_ALEN. > > Signed-off-by

Re: DMABOUNCE in pci-rcar

2014-02-24 Thread Russell King - ARM Linux
On Tue, Feb 25, 2014 at 08:49:28AM +0900, Magnus Damm wrote: > On Mon, Feb 24, 2014 at 8:00 PM, Arnd Bergmann wrote: > >From my point of view we need some kind of bounce buffer unless we > have IOMMU support. I understand that an IOMMU would be much better > than a software-based implementation. I

[PATCH v2 0/3] hibernation support on ARM

2014-02-24 Thread Sebastian Capella
Patches adding support for hibernation on ARM - ARM hibernation / suspend-to-disk - Fix hang in freeze_processes during hibernation - add an irq disabled version of soft_restart Patches based on v3.13 tag, verified hibernation on beaglebone black on a branch based on 3.13 merged with initial

[PATCH v2 3/3] ARM hibernation / suspend-to-disk

2014-02-24 Thread Sebastian Capella
From: Russ Dill Enable hibernation for ARM architectures and provide ARM architecture specific calls used during hibernation. The swsusp hibernation framework depends on the platform first having functional suspend/resume. Then, in order to enable hibernation on a given platform, a platform_hib

[PATCH v2 2/3] Fix hibernation restore hang in freeze_processes

2014-02-24 Thread Sebastian Capella
During restore, pm_notifier chain are called with PM_RESTORE_PREPARE. The firmware_class driver handler fw_pm_notify does not have a handler for this. As a result, it keeps a reader on the kmod.c umhelper_sem. During freeze_processes, the call to __usermodehelper_disable tries to take a write lo

Re: [PATCHv6 5/6] zram: enalbe multi stream compression support in zram

2014-02-24 Thread Sergey Senozhatsky
On (02/25/14 09:12), Minchan Kim wrote: > On Tue, Feb 25, 2014 at 02:58:24AM +0300, Sergey Senozhatsky wrote: > > On (02/25/14 08:53), Minchan Kim wrote: > > > On Fri, Feb 21, 2014 at 02:50:42PM +0300, Sergey Senozhatsky wrote: > > > > 1) Add ZRAM_MULTI_STREAM configuration option and make multi st

[PATCH v2 1/3] ARM: Add irq disabled version of soft_restart.

2014-02-24 Thread Sebastian Capella
From: Russ Dill This adds the ability to run soft_restart with local_irq/fiq_disable already called. This is helpful for the hibernation code paths. Signed-off-by: Russ Dill Signed-off-by: Sebastian Capella Cc: Russell King Cc: Andrew Morton Cc: Thomas Gleixner Cc: Will Deacon Cc: Robin Ho

Re: [PATCH 1/5] clk: sun6i: Protect CPU clock

2014-02-24 Thread Emilio López
Hi Russell, El 24/02/14 21:01, Russell King - ARM Linux escribió: Hi Emilio. On Mon, Feb 24, 2014 at 08:38:44PM -0300, Emilio López wrote: Why is this so? Can't a clock be left enabled while nobody has a reference to it? I have looked around in Documentation/ (rather quickly I must say) and ha

Re: [BUG] sched: tip/master show panic while booting/rebooting

2014-02-24 Thread Paul E. McKenney
On Tue, Feb 18, 2014 at 01:12:03PM +0800, Michael wang wrote: > Hi, Folks > > Got below panic while testing tip/master on x86 box, it randomly > occur while booting or rebooting, any ideas? > > Regards, > Michael Wang > > > > systemd-readahead-collect[484]: Failed to create fanotify object: Fu

Re: [PATCHv6 5/6] zram: enalbe multi stream compression support in zram

2014-02-24 Thread Minchan Kim
On Tue, Feb 25, 2014 at 03:25:22AM +0300, Sergey Senozhatsky wrote: > On (02/25/14 09:12), Minchan Kim wrote: > > On Tue, Feb 25, 2014 at 02:58:24AM +0300, Sergey Senozhatsky wrote: > > > On (02/25/14 08:53), Minchan Kim wrote: > > > > On Fri, Feb 21, 2014 at 02:50:42PM +0300, Sergey Senozhatsky wr

Re: [PATCH v2] staging: ced401: fix double unlock bug

2014-02-24 Thread Greg KH
On Mon, Feb 24, 2014 at 07:23:15PM +0900, Daeseok Youn wrote: > > After spin_lock() is called, all of if-else conditions in this brace > should reach the end of else and spin_unlock() must be called. > So It doesn't need to call spin_unlock() without a return statement > for handling an error. >

Re: [PATCHv1 1/6] HSI: add Device Tree support for HSI clients

2014-02-24 Thread Rob Herring
On Sun, Feb 23, 2014 at 5:49 PM, Sebastian Reichel wrote: > Add new method hsi_add_clients_from_dt, which can be used > to initialize HSI clients from a device tree node. > > The patch also documents the DT binding for trivial HSI > clients. > > Signed-off-by: Sebastian Reichel > --- > .../devic

<    2   3   4   5   6   7   8   9   >