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

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

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)_info, _info, surely. --Kyle -- To unsubscribe from

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

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

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 != ) >> return; >> >> and now any sane compiler will happily optimize "q = *p" into "q = >> myvariable", and we're all done - nothing invalid was ever >

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

[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

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

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

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

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

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

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

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

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

[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

[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

[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

[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

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

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

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

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,

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

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

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

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

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

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

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

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

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

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

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

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

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

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?

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

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

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

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

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

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

[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

[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

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

[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

[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

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

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

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

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

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

2014-02-24 Thread Dmitry Torokhov
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 ff-memless instead of duplicating > >> its functionality (even

Re: [PATCH 1/1] hfsplus: fix longname handling

2014-02-24 Thread Andrew Morton
On Mon, 24 Feb 2014 21:28:27 +0200 Sougata Santra wrote: > > -ENAMETOOLONG returned from hfsplus_asc2uni was not propaged to iops. This > allowed hfsplus to create files/directories with HFSPLUS_MAX_STRLEN and > incorrect keys, leaving the FS in an inconsistent state. This patch fixes > this

[PATCHv2] bq2415x_charger: Fix Atomic Sleep Bug

2014-02-24 Thread Sebastian Reichel
Move sysfs_notify and i2c_transfer calls from bq2415x_notifier_call to bq2415x_timer_work to avoid sleeping in atomic context. This fixes the following bug: [ 7.667449] Workqueue: events power_supply_changed_work [ 7.673034] [] (unwind_backtrace+0x0/0xe0) from [] (show_stack+0x10/0x14) [

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

2014-02-24 Thread Bjorn Helgaas
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. >> >> Use the proper accessor for the msi

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

2014-02-24 Thread josh
On Mon, Feb 24, 2014 at 03:38:16PM -0500, Tom Rini wrote: > While there are valid reasons to use __packed, often the answer is that > you should be doing something else here instead. > > Cc: Andrew Morton > Cc: Joe Perches > Cc: Josh Triplett > Signed-off-by: Tom Rini > --- >

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

2014-02-24 Thread Joe Perches
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 something else here instead. [] > > How often

Re: [PATCH 0/7] Cpuidle: Minor fixes

2014-02-24 Thread Daniel Lezcano
On 02/24/2014 07:29 AM, Tuukka Tikkanen wrote: This set of patches makes some minor changes to menu governor and the poll idle state. Patch 1 is simply a rename of a variable to make the name better represent the contained information. Patch 2 fixes calculating actual residency in cases where

[PATCH v5 2/3] fs: btrfs: Adds new par3456 modes to support up to six parities

2014-02-24 Thread Andrea Mazzoleni
Removes the RAID logic now handled in the new raid_gen() and raid_rec() calls that hide all the details. Replaces the faila/failb failure indexes with a fail[] vector that keeps track of up to six failures. Replaces the existing BLOCK_GROUP_RAID5/6 with new PAR1/2/3/4/5/6 ones that handle up to

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

2014-02-24 Thread Elias Vanderstuyft
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 ff-memless instead of duplicating >> its functionality (even on a "for now" basis). >> >> Having looked at ff-memless-next briefly, it seems

[PATCH v5 3/3] btrfs-progs: Adds new par3456 modes to support up to six parities

2014-02-24 Thread Andrea Mazzoleni
Extends mkfs.btrfs to support the new par1/2/3/4/5/6 modes to create filesystem with up to six parities. Replaces the raid6 code with a new references function able to compute up to six parities. Replaces the existing BLOCK_GROUP_RAID5/6 with new PAR1/2/3/4/5/6 ones that handle up to six parities,

[PATCH v5 0/3] New RAID library supporting up to six parities

2014-02-24 Thread Andrea Mazzoleni
Hi, A new version of the new RAID library. Finally with *working* btrfs support! It includes patches for both the kernel and btrfs-progs to add new parity modes "par3", "par4", "par5" and "par6" working similarly at the existing "raid5" and "raid6" ones. The patches apply cleanly to kernel

Re: [Xen-devel] [patch 18/26] xen: Use the proper irq functions

2014-02-24 Thread Thomas Gleixner
On Mon, 24 Feb 2014, David Vrabel wrote: > On 23/02/14 21:40, Thomas Gleixner wrote: > > I really can't understand why people keep adding irq_desc abuse. We > > have enough proper interfaces. Delete another 14 lines of hackery. > > generic_handler_irq() already tests for !desc so use this

Re: [Xen-devel] [patch 21/26] xen: Get rid of the last irq_desc abuse

2014-02-24 Thread Thomas Gleixner
On Mon, 24 Feb 2014, David Vrabel wrote: > On 23/02/14 21:40, Thomas Gleixner wrote: > > I'd prefer to drop that completely but there seems to be some mystic > > value to the error printout and the allocation check. > > Warn if any PIRQ cannot be bound to an event channel. Remove an >

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

2014-02-24 Thread Tom Rini
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 something else here instead. > [] >> diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl > [] >>

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

2014-02-24 Thread Joe Perches
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 something else here instead. [] > diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl [] > @@ -4010,6 +4010,11 @@ sub process { >

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

2014-02-24 Thread Bjorn Helgaas
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 reprogrammed in order to change their wakeup settings and, > second,

Re: [PATCH v3 0/2] regulator: core: Fix ops->enable/disable usage

2014-02-24 Thread Markus Pargmann
Hi Fabio, On Mon, Feb 24, 2014 at 02:23:50PM -0300, Fabio Estevam wrote: > On Sun, Feb 23, 2014 at 2:12 AM, Mark Brown wrote: > > On Thu, Feb 20, 2014 at 05:36:02PM +0100, Markus Pargmann wrote: > >> Hi, > >> > >> These two patches replace all ops->enable/disable by > >>

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

2014-02-24 Thread Andy Gross
On Mon, Feb 24, 2014 at 01:03:32PM -0600, Joel Fernandes wrote: > Hi folks, > > Just wanted your thoughts/suggestions on how we can avoid overhead in the EDMA > dmaengine driver. I am seeing a lots of performance drop specially for small > transfers with EDMA versus before raw EDMA was moved to

Re: [PATCH 2/2] arm/xen: Don't use xen DMA ops when the device is protected by an IOMMU

2014-02-24 Thread Stefano Stabellini
On Mon, 24 Feb 2014, gre...@linuxfoundation.org wrote: > On Mon, Feb 24, 2014 at 12:19:11PM +, Stefano Stabellini wrote: > > CC'ing Greg. > > > > On Thu, 20 Feb 2014, Ian Campbell wrote: > > > On Thu, 2014-02-20 at 16:21 +, Julien Grall wrote: > > > > Only Xen is able to know if a device

[PATCH] gadgetfs: Initialize CHIP to NULL before UDC probe

2014-02-24 Thread Lubomir Rintel
Otherwise the value from the last probe would be retained that possibly is freed since (the UDC is removed) and therefore no longer relevant. Reproducible with the dummy UDC: modprobe dummy_hcd mount -t gadgetfs gadgetfs /dev/gadget umount /dev/gadget rmmod dummy_hcd mount -t gadgetfs

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

2014-02-24 Thread Luis R. Rodriguez
On Mon, Feb 24, 2014 at 10:22 AM, Dan Williams wrote: > My use-case would simply be to have an analogue for the disable_ipv6 > case. In the future I expect more people will want to disable IPv4 as > they move to IPv6. If you don't have something like disable_ipv4, then > there's no way to

Re: 3.13 hangs when I tried to start a KVM at a 32 bit stable Gentoo

2014-02-24 Thread Toralf Förster
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 01/23/2014 07:55 PM, Dave Hansen wrote: > On 01/21/2014 08:38 AM, Toralf Förster wrote: >> Jan 21 17:18:57 n22 kernel: INFO: rcu_sched self-detected stall on CPU { 2} >> (t=60001 jiffies g=18494 c=18493 q=183951) >> Jan 21 17:18:57 n22 kernel:

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

2014-02-24 Thread Tom Rini
While there are valid reasons to use __packed, often the answer is that you should be doing something else here instead. Cc: Andrew Morton Cc: Joe Perches Cc: Josh Triplett Signed-off-by: Tom Rini --- scripts/checkpatch.pl |5 + 1 file changed, 5 insertions(+) diff --git

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

2014-02-24 Thread Frederic Weisbecker
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 reviewed-by added. > > > >*

Re: [PATCH] cpufreq: Set policy to non-NULL only after all hotplug online work is done

2014-02-24 Thread Saravana Kannan
On 02/24/2014 02:55 AM, Viresh Kumar wrote: On 24 February 2014 14:09, wrote: Srivatsa S. Bhat wrote: On 02/24/2014 12:27 PM, Saravana Kannan wrote: The existing code sets the per CPU policy to a non-NULL value before all the steps performed during the hotplug online path is done.

Re: Info: mapping multiple BARs. Your kernel is fine.

2014-02-24 Thread Borislav Petkov
Btw, I don't know whether the following observation is related or not, but it so happens that after resume from suspend-to-disk, I see the booting up of the resume kernel on the console but when it is time for the original kernel to take over and switch to graphics, the screen remains black but

Re: pull request: bluetooth-next 2014-02-21

2014-02-24 Thread John W. Linville
On Fri, Feb 21, 2014 at 11:47:45PM -0300, Gustavo Padovan wrote: > Hi John, > > This is our first pull request for 3.15, the main feature here is the > addition of > the privacy feature for low energy devices. Other than that we have a bunch > of small > improvements, fixes, and clean ups all

Re: [PATCH v2] ARM: dts: Leave sdio1 as disabled on bcm28155-ap

2014-02-24 Thread Matt Porter
On Tue, Feb 04, 2014 at 03:27:40PM -0800, Tim Kryger wrote: > The sdio1 interface pins are routed to an unpopulated daughter card > connector on the bcm28155-ap board. Thus there is no need to mark > this interface as enabled. > > Signed-off-by: Tim Kryger > Reviewed-by: Matt Porter Applied

[PATCH 2/2] staging/rtl8192e: Remove unused code

2014-02-24 Thread Jon Mason
Remove unused #defines, structure, and inlined functions for the rtl8192e driver. Compile tested only. Signed-off-by: Jon Mason Cc: Greg Kroah-Hartman --- drivers/staging/rtl8192e/rtl8192e/rtl_pci.h | 52 - 1 file changed, 52 deletions(-) diff --git

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

2014-02-24 Thread Jon Mason
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(-) diff --git a/drivers/staging/media/dt3155v4l/dt3155v4l.c

[PATCH] net/cxgb4: use remove handler as shutdown handler

2014-02-24 Thread Thadeu Lima de Souza Cascardo
Without a shutdown handler, T4 cards behave very badly after a kexec. Some firmware calls return errors indicating allocation failures, for example. This is probably because thouse resources were not released by a BYE message to the firmware, for example. Using the remove handler guarantees we

Re: [PATCH v3 0/11] Xilinx watchdog changes

2014-02-24 Thread Wim Van Sebroeck
Hi Michal, > Hi, > > This series contains changes for Xilinx watchdog. > The whole code series have been reviewed by Guenter > and device-tree binding was acked by Arnd. > > I have also pushed this v3 to git repo > for easier pulling here: > git://git.monstr.eu/linux-2.6-microblaze.git watchdog

[PATCH 09/12] perf tools: Setup default dwarf post unwinder

2014-02-24 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Factor NO_LIBDW_DWARF_UNWIND makefile variable and code that selects default DWARf post unwinder based on detected features (libdw and libunwind support) If both are detected the libunwind is selected as default. Simple 'make' will try to add: - libunwind unwinder if present

[PATCH 07/12] perf tools: Add feature check for libdw dwarf unwind

2014-02-24 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Adding feature check test code for libdw dwarf unwind. Signed-off-by: Jiri Olsa Cc: Corey Ashford Cc: David Ahern Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Jean Pihet Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter Zijlstra Link:

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