[PATCH 09/10] crytpo: CCP device driver build files

2013-11-12 Thread Tom Lendacky
These files provide the ability to configure and build the AMD CCP device driver and crypto API support. Signed-off-by: Tom Lendacky --- drivers/crypto/Kconfig | 12 drivers/crypto/Makefile |1 + drivers/crypto/ccp/Kconfig | 23 +++

[PATCH 00/10] AMD Cryptographic Coprocessor support

2013-11-12 Thread Tom Lendacky
Resending because of typo in mailing list address... The following series implements support for the AMD Cryptographic Coprocessor (CCP). The AMD CCP provides hardware encryption, hashing and other related operations. This patch series is based on the 3.12 kernel. --- Tom Lendacky (10):

[PATCH 10/10] crypto: CCP maintainer information

2013-11-12 Thread Tom Lendacky
Update the MAINTAINERS file for the AMD CCP device driver. Signed-off-by: Tom Lendacky --- MAINTAINERS |7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 051e4dc..de22604 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -525,6 +525,13 @@ F:

[PATCH 07/10] crypto: CCP XTS-AES crypto API support

2013-11-12 Thread Tom Lendacky
These routines provide crypto API support for the XTS-AES mode of AES on the AMD CCP. Signed-off-by: Tom Lendacky --- drivers/crypto/ccp/ccp-crypto-aes-xts.c | 285 +++ 1 file changed, 285 insertions(+) create mode 100644 drivers/crypto/ccp/ccp-crypto-aes-xts.c

[PATCH 01/10] crypto: authenc - Find proper IV address in ablkcipher callback

2013-11-12 Thread Tom Lendacky
When performing an asynchronous ablkcipher operation the authenc completion callback routine is invoked, but it does not locate and use the proper IV. The callback routine, crypto_authenc_encrypt_done, is updated to use the same method of calculating the address of the IV as is done in

[PATCH 02/10] crypto: scatterwalk - Set the chain pointer indication bit

2013-11-12 Thread Tom Lendacky
The scatterwalk_crypto_chain function invokes the scatterwalk_sg_chain function to chain two scatterlists, but the chain pointer indication bit is not set. When the resulting scatterlist is used, for example, by sg_nents to count the number of scatterlist entries, a segfault occurs because

[PATCH] I2C: busses: Do not print error message in syslog if no ACK received

2013-11-12 Thread Andreas Werner
Using the i2c-eg20t driver and call i2cdetect or probe on the bus, the driver will print a lot of error messages if there was no ACK received. i2cdetect normally print a table with all the available devices. If there is no device on the address, the table will be empty. Currently with the

[PATCH 04/10] crypto: crypto API interface to the CCP device driver

2013-11-12 Thread Tom Lendacky
These routines provide the support for the interface between the crypto API and the AMD CCP. This includes insuring that requests associated with a given tfm on the same cpu are processed in the order received. Signed-off-by: Tom Lendacky --- drivers/crypto/ccp/ccp-crypto-main.c | 432

Re: [PATCH net 2/2] macvtap: limit head length of skb allocated

2013-11-12 Thread Greg Rose
On Tue, 12 Nov 2013 18:02:57 +0800 Jason Wang wrote: > We currently use hdr_len as a hint of head length which is advertised > by guest. But when guest advertise a very big value, it can lead to > an 64K+ allocating of kmalloc() which has a very high possibility of > failure when host memory is

Re: [PATCH] uprobes: Add uprobe_task->dup_work/dup_addr

2013-11-12 Thread Srikar Dronamraju
> Yes, and it is always equal to regs->ip when pre_ssout() is called, > > > and do the necessary fixups after single stepping out of line. > > Exactly. So it is write-only (and meaningless) to the generic uprobe > code. We can (and perhaps should) move it into autask->saved_vaddr, >

Re: [RFC][PATCH v5 01/14] sched: add a new arch_sd_local_flags for sched_domain init

2013-11-12 Thread Dietmar Eggemann
On 06/11/13 14:08, Peter Zijlstra wrote: > On Wed, Nov 06, 2013 at 02:53:44PM +0100, Martin Schwidefsky wrote: >> On Tue, 5 Nov 2013 23:27:52 +0100 >> Peter Zijlstra wrote: >> >>> On Tue, Nov 05, 2013 at 03:57:23PM +0100, Vincent Guittot wrote: Your proposal looks fine for me. It's clearly

Re: [RFC][PATCH v5 00/14] sched: packing tasks

2013-11-12 Thread Catalin Marinas
On Mon, Nov 11, 2013 at 04:36:30PM +, Peter Zijlstra wrote: > On Mon, Nov 11, 2013 at 11:33:45AM +, Catalin Marinas wrote: > > tl;dr :-) Still trying to wrap my head around how to do that weird > topology Vincent raised.. Long email, I know, but topology discussion is a good start ;).

Re: kernel BUG at kernel/kallsyms.c:222!

2013-11-12 Thread Jonathan Austin
On 12/11/13 03:22, Ming Lei wrote: On Tue, Nov 12, 2013 at 3:32 AM, Russell King - ARM Linux wrote: On Mon, Nov 11, 2013 at 05:15:29PM +, Jonathan Austin wrote: I've tested the patch below and it solves the ARM side of things - so gives you an option other than a complete revert. Happy to

[PATCH 09/10] crytpo: CCP device driver build files

2013-11-12 Thread Tom Lendacky
These files provide the ability to configure and build the AMD CCP device driver and crypto API support. Signed-off-by: Tom Lendacky --- drivers/crypto/Kconfig | 12 drivers/crypto/Makefile |1 + drivers/crypto/ccp/Kconfig | 23 +++

[PATCH 05/10] crypto: CCP AES crypto API support

2013-11-12 Thread Tom Lendacky
These routines provide crypto API support for AES on the AMD CCP. Support for AES modes: ECB, CBC, OFB, CFB and CTR Signed-off-by: Tom Lendacky --- drivers/crypto/ccp/ccp-crypto-aes.c | 375 +++ 1 file changed, 375 insertions(+) create mode 100644

[PATCH 02/10] crypto: scatterwalk - Set the chain pointer indication bit

2013-11-12 Thread Tom Lendacky
The scatterwalk_crypto_chain function invokes the scatterwalk_sg_chain function to chain two scatterlists, but the chain pointer indication bit is not set. When the resulting scatterlist is used, for example, by sg_nents to count the number of scatterlist entries, a segfault occurs because

[PATCH 01/10] crypto: authenc - Find proper IV address in ablkcipher callback

2013-11-12 Thread Tom Lendacky
When performing an asynchronous ablkcipher operation the authenc completion callback routine is invoked, but it does not locate and use the proper IV. The callback routine, crypto_authenc_encrypt_done, is updated to use the same method of calculating the address of the IV as is done in

[PATCH 10/10] crypto: CCP maintainer information

2013-11-12 Thread Tom Lendacky
Update the MAINTAINERS file for the AMD CCP device driver. Signed-off-by: Tom Lendacky --- MAINTAINERS |7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 051e4dc..de22604 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -525,6 +525,13 @@ F:

[PATCH 06/10] crypto: CCP AES CMAC mode crypto API support

2013-11-12 Thread Tom Lendacky
These routines provide crypto API support for the CMAC mode of AES on the AMD CCP. Signed-off-by: Tom Lendacky --- drivers/crypto/ccp/ccp-crypto-aes-cmac.c | 355 ++ 1 file changed, 355 insertions(+) create mode 100644 drivers/crypto/ccp/ccp-crypto-aes-cmac.c diff

[PATCH 04/10] crypto: crypto API interface to the CCP device driver

2013-11-12 Thread Tom Lendacky
These routines provide the support for the interface between the crypto API and the AMD CCP. This includes insuring that requests associated with a given tfm on the same cpu are processed in the order received. Signed-off-by: Tom Lendacky --- drivers/crypto/ccp/ccp-crypto-main.c | 432

[PATCH 08/10] crypto: CCP SHA crypto API support

2013-11-12 Thread Tom Lendacky
These routines provide crypto API support for SHA1, SHA224 and SHA256 on the AMD CCP. HMAC support for these SHA modes is also provided. Signed-off-by: Tom Lendacky --- drivers/crypto/ccp/ccp-crypto-sha.c | 497 +++ 1 file changed, 497 insertions(+) create

[PATCH 07/10] crypto: CCP XTS-AES crypto API support

2013-11-12 Thread Tom Lendacky
These routines provide crypto API support for the XTS-AES mode of AES on the AMD CCP. Signed-off-by: Tom Lendacky --- drivers/crypto/ccp/ccp-crypto-aes-xts.c | 285 +++ 1 file changed, 285 insertions(+) create mode 100644 drivers/crypto/ccp/ccp-crypto-aes-xts.c

[PATCH 00/10] AMD Cryptographic Coprocessor support

2013-11-12 Thread Tom Lendacky
The following series implements support for the AMD Cryptographic Coprocessor (CCP). The AMD CCP provides hardware encryption, hashing and other related operations. This patch series is based on the 3.12 kernel. --- Tom Lendacky (10): crypto: authenc - Find proper IV address in

Re: [Results] [RFC PATCH v4 00/40] mm: Memory Power Management

2013-11-12 Thread Dave Hansen
On 11/12/2013 12:02 AM, Srivatsa S. Bhat wrote: > I performed experiments on an IBM POWER 7 machine and got actual power-savings > numbers (upto 2.6% of total system power) from this patchset. I presented them > at the Kernel Summit but forgot to post them on LKML. So here they are: "upto"? What

Re: [Fwd: Re: [PATCH v2 2/2] x86: add prefetching to do_csum]

2013-11-12 Thread Joe Perches
On Tue, 2013-11-12 at 12:12 -0500, Neil Horman wrote: > On Mon, Nov 11, 2013 at 05:42:22PM -0800, Joe Perches wrote: > > Hi again Neil. > > > > Forwarding on to netdev with a concern as to how often > > do_csum is used via csum_partial for very short headers > > and what impact any prefetch would

Re: XFS leadership and a new co-maintainer candidate

2013-11-12 Thread Christoph Hellwig
On Fri, Nov 08, 2013 at 02:46:06PM -0600, Ben Myers wrote: > That really didn't happen Christoph. It's not in my tree or in a pull > request. I'll take my back room complain back then, but I still think that this is not a useful way to discuss something like this. > Linus, let me know what you

Re: [PATCH 02/14] sched: add extended scheduling interface.

2013-11-12 Thread Steven Rostedt
On Thu, 7 Nov 2013 14:43:36 +0100 Juri Lelli wrote: > +static int > +do_sched_setscheduler2(pid_t pid, int policy, > + struct sched_param2 __user *param2) > +{ > + struct sched_param2 lparam2; > + struct task_struct *p; > + int retval; > + > + if (!param2

Re: [Xen-devel] [PATCH 2/2] swiotlb-xen: xen_swiotlb_map_page: do not error out if dma_capable fails

2013-11-12 Thread Stefano Stabellini
Russell gave a great explanation of the issue so I am just going to limit myself to answering to: On Tue, 12 Nov 2013, Konrad Rzeszutek Wilk wrote: > > Considering that we know that the swiotlb buffer has a low address, > > skip the check. > > I am not following that sentence. Could you please

[RELEASE] Userspace RCU 0.8.1

2013-11-12 Thread Mathieu Desnoyers
liburcu is a LGPLv2.1 userspace RCU (read-copy-update) library. This data synchronization library provides read-side access which scales linearly with the number of cores. It does so by allowing multiples copies of a given data structure to live at the same time, and by monitoring the data

[RELEASE] Userspace RCU 0.7.9

2013-11-12 Thread Mathieu Desnoyers
liburcu is a LGPLv2.1 userspace RCU (read-copy-update) library. This data synchronization library provides read-side access which scales linearly with the number of cores. It does so by allowing multiples copies of a given data structure to live at the same time, and by monitoring the data

Re: [PATCH 02/14] sched: add extended scheduling interface.

2013-11-12 Thread Steven Rostedt
On Thu, 7 Nov 2013 14:43:36 +0100 Juri Lelli wrote: > + * This is reflected by the actual fields of the sched_param2 structure: > + * > + * @sched_priority task's priority (might still be useful) > + * @sched_deadline representative of the task's deadline > + * @sched_runtime

[PATCH] staging: imx-drm: Fix modular build of DRM_IMX_IPUV3

2013-11-12 Thread Josh Boyer
commit b8d181e408af (staging: drm/imx: add drm plane support) added a file to the make target for DRM_IMX_IPUV3 but didn't adjust the objs required to actually build that as a module. Kbuild got confused and this lead to link errors like: ERROR: "ipu_plane_disable"

Re: [PATCH 01/14] sched: add sched_class->task_dead.

2013-11-12 Thread Steven Rostedt
On Thu, 7 Nov 2013 14:43:35 +0100 Juri Lelli wrote: > From: Dario Faggioli > > Add a new function to the scheduling class interface. It is called > at the end of a context switch, if the prev task is in TASK_DEAD state. > > It might be useful for the scheduling classes that want to be

Re: [PATCH 07/11] fuse: restructure fuse_readpage()

2013-11-12 Thread Miklos Szeredi
On Thu, Oct 10, 2013 at 05:11:25PM +0400, Maxim Patlasov wrote: > Move the code filling and sending read request to a separate function. Future > patches will use it for .write_begin -- partial modification of a page > requires reading the page from the storage very similarly to what >

Re: [PATCH v5 4/4] MCS Lock: Barrier corrections

2013-11-12 Thread George Spelvin
> On Mon, Nov 11, 2013 at 09:17:52PM +, Tim Chen wrote: >> An alternate implementation is >> while (!ACCESS_ONCE(node->locked)) >> arch_mutex_cpu_relax(); >> smp_load_acquire(>locked); >> >> Leaving the smp_load_acquire at the end to provide appropriate barrier. >> Will

Re: [PATCH v2] sched: Check sched_domain before computing group power.

2013-11-12 Thread Srikar Dronamraju
> > Hurm.. can you provide the actual topology of the machine that triggers > this? My brain hurts trying to thing through the weird cases of this > code. > Hope this helps. Please do let me know if you were looking for pdf output. Machine (251GB) NUMANode P#0 (63GB) Socket P#0

Re: [Fwd: Re: [PATCH v2 2/2] x86: add prefetching to do_csum]

2013-11-12 Thread Neil Horman
On Mon, Nov 11, 2013 at 05:42:22PM -0800, Joe Perches wrote: > Hi again Neil. > > Forwarding on to netdev with a concern as to how often > do_csum is used via csum_partial for very short headers > and what impact any prefetch would have there. > > Also, what changed in your test environment? >

Re: [PATCH v2] staging: zsmalloc: Ensure handle is never 0 on success

2013-11-12 Thread Olav Haugan
Hi Greg, On 11/11/2013 4:19 PM, Greg KH wrote: > On Thu, Nov 07, 2013 at 05:58:03PM -0800, Olav Haugan wrote: >> zsmalloc encodes a handle using the pfn and an object >> index. On hardware platforms with physical memory starting >> at 0x0 the pfn can be 0. This causes the encoded handle to be >>

Re: [PATCH 4/5 v2] input: tc3589x-keypad: support probing from device tree

2013-11-12 Thread Linus Walleij
On Tue, Nov 12, 2013 at 4:30 PM, Sebastian Reichel wrote: > On Tue, Nov 12, 2013 at 03:13:38PM +0100, Linus Walleij wrote: >> + plat->no_autorepeat = of_property_read_bool(np, "linux,no-autorepeat"); >> + plat->enable_wakeup = of_property_read_bool(np, "linux,wakeup"); > > There is

Re: [PATCH v6 07/11] VFS hot tracking: Add a /proc interface to control memory usage

2013-11-12 Thread Dave Hansen
On 11/11/2013 02:45 PM, Zhi Yong Wu wrote: > On Tue, Nov 12, 2013 at 6:15 AM, Dave Hansen wrote: >> In general, why do you have to control the number of these statically? > It gives the user or admin one optional chance to control the amount > of memory consumed by VFS hot tracking. And you can

Re: [Xen-devel] [PATCH 1/2] swiotlb-xen: add missing xen_dma_map_page call

2013-11-12 Thread Stefano Stabellini
On Tue, 12 Nov 2013, Konrad Rzeszutek Wilk wrote: > On Tue, Nov 12, 2013 at 02:11:59PM +, Stefano Stabellini wrote: > > swiotlb-xen is missing a xen_dma_map_page call in > > xen_swiotlb_map_sg_attrs, in the slow path. > > s/slow/bounce buffer/ I believe? right > > Signed-off-by: Stefano

Re: [PATCH v2] sched: Check sched_domain before computing group power.

2013-11-12 Thread Peter Zijlstra
On Tue, Nov 12, 2013 at 10:11:26PM +0530, Srikar Dronamraju wrote: > After Commit-id 863bffc80898 (sched/fair: Fix group power_orig > computation), we might end up computing group power before the > sched_domain for a cpu is updated. > > Update with cpu_power, if rq->sd is not yet updated. > >

[tip:x86/kaslr] x86, kaslr: Use char array to gain sizeof sanity

2013-11-12 Thread tip-bot for Kees Cook
Commit-ID: 327f7d72454aecdc7a4a1c847a291a3f224b730f Gitweb: http://git.kernel.org/tip/327f7d72454aecdc7a4a1c847a291a3f224b730f Author: Kees Cook AuthorDate: Tue, 12 Nov 2013 08:56:07 -0800 Committer: H. Peter Anvin CommitDate: Tue, 12 Nov 2013 08:58:35 -0800 x86, kaslr: Use char array

Re: [PATCH] ipvs: Remove unused variable ret from sync_thread_master()

2013-11-12 Thread Peter Zijlstra
On Tue, Nov 12, 2013 at 05:21:36PM +0100, Oleg Nesterov wrote: > On 11/12, Peter Zijlstra wrote: > > > > On Tue, Nov 12, 2013 at 02:21:39PM -, David Laight wrote: > > > Shame there isn't a process flag to indicate that the process > > > will sleep uninterruptibly and that it doesn't matter. >

Re: Crypto Update for 3.13

2013-11-12 Thread Borislav Petkov
On Wed, Nov 13, 2013 at 12:41:52AM +0800, Herbert Xu wrote: > Hi Linus: > > Here is the crypto update for 3.13: > > * Made x86 ablk_helper generic for ARM. > * Phase out chainiv in favour of eseqiv (affects IPsec). > * Fixed aes-cbc IV corruption on s390. > * Added constant-time crypto_memneq

[PATCH v7 2/4] perf stat: add event unit and scale support

2013-11-12 Thread Stephane Eranian
This patch adds perf stat support for handling event units and scales as exported by the kernel. The kernel can export PMU events actual unit and scaling factor via sysfs: $ ls -1 /sys/devices/power/events/energy-* /sys/devices/power/events/energy-cores

Re: [PATCH RFC 2/6] arm64: Kprobes with single stepping support

2013-11-12 Thread Steven Rostedt
On Tue, 12 Nov 2013 16:25:26 +0530 Sandeepa Prabhu wrote: > > > > BTW, I'm currently trying a general housecleaning of __kprobes > > annotations. It may also have impact on your patch. > > https://lkml.org/lkml/2013/11/8/187 > Hmm, we can help testing your patchset on arm64 platforms. Also have

[PATCH v7 0/4] perf/x86: add Intel RAPL PMU support

2013-11-12 Thread Stephane Eranian
This patch adds a new uncore PMU to expose the Intel RAPL (Running Average Power Limit) energy consumption counters. Up to 3 counters, each counting a single RAPL event are exposed. The RAPL counters are available on Intel SandyBridge, IvyBridge, Haswell. The server processors add a 3rd counter

[PATCH v7 3/4] perf,x86: add Intel RAPL PMU support

2013-11-12 Thread Stephane Eranian
This patch adds a new uncore PMU to expose the Intel RAPL energy consumption counters. Up to 3 counters, each counting a particular RAPL event are exposed. The RAPL counters are available on Intel SandyBridge, IvyBridge, Haswell. The server skus add a 3rd counter. The following events are

[PATCH v7 4/4] perf,x86: add RAPL hrtimer support

2013-11-12 Thread Stephane Eranian
The RAPL PMU counters do not interrupt on overflow. Therefore, the kernel needs to poll the counters to avoid missing an overflow. This patch adds the hrtimer code to do this. The timer interval is calculated at boot time based on the power unit used by the HW. There is one hrtimer per-cpu to

[PATCH v7 1/4] perf: add active_entry list head to struct perf_event

2013-11-12 Thread Stephane Eranian
This patch adds a new field to the struct perf_event. It is intended to be used to chain events which are active (enabled). It helps in the hardware layer for PMUs which do not have actual counter restrictions, i.e., free running read-only counters. Active events are chained as opposed to being

Re: [PATCH] FS: BTRFS: fixed coding style issues

2013-11-12 Thread Aldo Iljazi
David Sterba wrote: > On Mon, Nov 04, 2013 at 03:27:38PM +0200, Aldo Iljazi wrote: > > Fixed three coding style issues. Replaced spaces with tabs. > > > > Signed-off-by: Aldo Iljazi > > --- > > fs/btrfs/dev-replace.c | 6 +++--- > > 1 file changed, 3 insertions(+), 3 deletions(-) > > > >

Re: vmstat: On demand vmstat workers V3

2013-11-12 Thread Christoph Lameter
Hmmm... This has been sitting there for over a month. What I can I do to to make progress on merging this? -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: scripts: checkpatch.pl & Lindent (minor complaint)

2013-11-12 Thread Joe Perches
On Tue, 2013-11-12 at 11:51 -0500, Mimi Zohar wrote: > On Tue, 2013-11-12 at 08:30 -0800, Joe Perches wrote: [] > > My suggestion is not to use Lindent. > > > > If you want a semi-automated source-code reformatting tool, > > use scripts/checkpatch.pl --fix > > Thanks, perhaps this suggestion

[PATCH] x86, kaslr: use char array to gain sizeof sanity

2013-11-12 Thread Kees Cook
The build_str needs to be char [] not char * for the sizeof() to report the string length. Reported-by: Mathias Krause Signed-off-by: Kees Cook --- arch/x86/boot/compressed/aslr.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/boot/compressed/aslr.c

oom-kill && frozen()

2013-11-12 Thread Oleg Nesterov
On 11/12, Oleg Nesterov wrote: > > I am also wondering if it makes any sense to turn PF_FROZEN into > TASK_FROZEN, something like (incomplete, probably racy) patch below. > Note that it actually adds the new state, not the the qualifier. As for the current usage of PF_FROZEN... David, it seems

Re: 3.10.16 cgroup_mutex deadlock

2013-11-12 Thread Michal Hocko
On Tue 12-11-13 09:55:30, Shawn Bohrer wrote: > On Tue, Nov 12, 2013 at 03:31:47PM +0100, Michal Hocko wrote: > > On Tue 12-11-13 18:17:20, Li Zefan wrote: > > > Cc more people > > > > > > On 2013/11/12 6:06, Shawn Bohrer wrote: > > > > Hello, > > > > > > > > This morning I had a machine running

Re: [PATCH 05/11] fuse: Trust kernel i_mtime only -v2

2013-11-12 Thread Miklos Szeredi
On Thu, Oct 10, 2013 at 05:10:56PM +0400, Maxim Patlasov wrote: > Let the kernel maintain i_mtime locally: > - clear S_NOCMTIME > - implement i_op->update_time() > - flush mtime on fsync and last close > - update i_mtime explicitly on truncate and fallocate > > Fuse inode flag

Re: scripts: checkpatch.pl & Lindent (minor complaint)

2013-11-12 Thread Mimi Zohar
On Tue, 2013-11-12 at 08:30 -0800, Joe Perches wrote: > On Tue, 2013-11-12 at 11:09 -0500, Mimi Zohar wrote: > > On Tue, 2013-11-12 at 07:44 -0800, Joe Perches wrote: > > > On Tue, 2013-11-12 at 09:42 -0500, Mimi Zohar wrote: > > > > scripts/Lindent and scripts/checkpatch disagree whether the

Re: [RFC][PATCH v5 00/14] sched: packing tasks

2013-11-12 Thread Arjan van de Ven
On 11/11/2013 10:18 AM, Catalin Marinas wrote: The ordering is based on the actual C-state, so a simple way is to wake up the CPU in the shallowest C-state. With asymmetric configurations (big.LITTLE) we have different costs for the same C-state, so this would come in handy. btw I was

Crypto Update for 3.13

2013-11-12 Thread Herbert Xu
Hi Linus: Here is the crypto update for 3.13: * Made x86 ablk_helper generic for ARM. * Phase out chainiv in favour of eseqiv (affects IPsec). * Fixed aes-cbc IV corruption on s390. * Added constant-time crypto_memneq which replaces memcmp. * Fixed aes-ctr in omap-aes. * Added OMAP3 ROM RNG

Attention!

2013-11-12 Thread Web Security
Dear Email User, Your mailbox has exceeded the storage limit which is 20.00 GB as set by your administrator, you are currently running on 19.99 GB, you may not be able to send or receive new mail until you re-validate your email box. Kindly click the link below to re-validate your email

[PATCH v2] sched: Check sched_domain before computing group power.

2013-11-12 Thread Srikar Dronamraju
After Commit-id 863bffc80898 (sched/fair: Fix group power_orig computation), we might end up computing group power before the sched_domain for a cpu is updated. Update with cpu_power, if rq->sd is not yet updated. Signed-off-by: Srikar Dronamraju --- Changelog since v1: Fix divide by zero

Re: [PATCH] perf trace: Add summary only option

2013-11-12 Thread Pekka Enberg
On 11/12/2013 06:31 PM, David Ahern wrote: Per request from Pekka make --summary a summary only option meaning do not show the individual system calls. Add another option to see all syscalls along with the summary. In addition use 's' and 'S' as shortcuts for the options. Signed-off-by: David

[PATCH] perf trace: Add summary only option

2013-11-12 Thread David Ahern
Per request from Pekka make --summary a summary only option meaning do not show the individual system calls. Add another option to see all syscalls along with the summary. In addition use 's' and 'S' as shortcuts for the options. Signed-off-by: David Ahern Cc: Pekka Enberg Cc: Ingo Molnar Cc:

Re: [PATCH] ALSA: pcm: retrieve true appl_ptr where stream was unlocked

2013-11-12 Thread Takashi Iwai
At 12 Nov 2013 16:14:17 +, Oskar Schirmer wrote: > > Calculated for data transfer, the local variable appl_ptr is reused, > changed and written back later, though the lock was not held during > the transfer earlier. Admitted, destiny of the lock is not obvious > at all, but this looks much

Re: scripts: checkpatch.pl & Lindent (minor complaint)

2013-11-12 Thread Joe Perches
On Tue, 2013-11-12 at 11:09 -0500, Mimi Zohar wrote: > On Tue, 2013-11-12 at 07:44 -0800, Joe Perches wrote: > > On Tue, 2013-11-12 at 09:42 -0500, Mimi Zohar wrote: > > > scripts/Lindent and scripts/checkpatch disagree whether the fields in a > > > statically initialized array should be blank

Re: Fwd: [PATCH 2/8] watchdog: davinci: use davinci_wdt_device structure to hold device data

2013-11-12 Thread Santosh Shilimkar
On Tuesday 12 November 2013 11:27 AM, Guenter Roeck wrote: > On Tue, Nov 12, 2013 at 10:37:04AM -0500, Santosh Shilimkar wrote: >> On Wednesday 06 November 2013 06:31 AM, ivan.khoronzhuk wrote: >>> Some SoCs, like Keystone 2, can support more than one WDT and each >>> watchdog device has to use

Re: [PATCH 4/7] clocksource/cadence_ttc: Adjust interval in clock notifier

2013-11-12 Thread Daniel Lezcano
On 11/08/2013 10:21 PM, Soren Brinkmann wrote: The clockevent has to be reprogrammed if the timer's input clock frequency changes and the timer is in periodic mode, in order to maintain the correct timer interval. Signed-off-by: Soren Brinkmann --- drivers/clocksource/cadence_ttc_timer.c | 4

Re: Fwd: [PATCH 2/8] watchdog: davinci: use davinci_wdt_device structure to hold device data

2013-11-12 Thread Guenter Roeck
On Tue, Nov 12, 2013 at 10:37:04AM -0500, Santosh Shilimkar wrote: > On Wednesday 06 November 2013 06:31 AM, ivan.khoronzhuk wrote: > > Some SoCs, like Keystone 2, can support more than one WDT and each > > watchdog device has to use it's own base address, clock source, > > wdd device, so add new

Re: scripts: checkpatch.pl & Lindent (minor complaint)

2013-11-12 Thread Mimi Zohar
On Tue, 2013-11-12 at 07:44 -0800, Joe Perches wrote: > On Tue, 2013-11-12 at 09:42 -0500, Mimi Zohar wrote: > > scripts/Lindent and scripts/checkpatch disagree whether the fields in a > > statically initialized array should be blank separated. > > > > static struct ima_rule_entry

Re: [PATCH 3/7] clocksource/cadence_ttc: Store timer frequency in driver data

2013-11-12 Thread Daniel Lezcano
On 11/08/2013 10:21 PM, Soren Brinkmann wrote: It is not allowed to call clk_get_rate() from interrupt context. To avoid such calls the timer input frequency is stored in the driver's data struct which makes it accessible to the driver in any context. Signed-off-by: Soren Brinkmann ---

Re: [PATCH] ipvs: Remove unused variable ret from sync_thread_master()

2013-11-12 Thread Oleg Nesterov
On 11/12, Peter Zijlstra wrote: > > On Tue, Nov 12, 2013 at 02:21:39PM -, David Laight wrote: > > > > /* Tell scheduler we are going to sleep... */ > > if (signal_pending(current)) > > /* We don't want waking immediately (again) */ > > sleep_state =

Re: [PATCH 11/12] mtd: nand: davinci: don't request AEMIF address range

2013-11-12 Thread Santosh Shilimkar
On Monday 11 November 2013 12:12 PM, Khoronzhuk, Ivan wrote: > The AEMIF driver registers are used to setup timings for each chip > select. The same registers range is used to setup NAND settings. > The AEMIF and NAND drivers not use the same registers in this range. > > In case with AEMIF

Re: [RFC][PATCH 0/9] encrypted keys & key control op

2013-11-12 Thread David Howells
Mimi Zohar wrote: > > > I'm sure there is/was a good reason for add_key() to do both. > > > > Yes. No race. > > > > > > But you can't pre-search for the existence of a key and mould the > > > > payload accordingly because that means you can race against both > > > > add_key() and

Re: [PATCH] ipvs: Remove unused variable ret from sync_thread_master()

2013-11-12 Thread Oleg Nesterov
On 11/12, Peter Zijlstra wrote: > > On Tue, Nov 12, 2013 at 02:21:39PM -, David Laight wrote: > > Shame there isn't a process flag to indicate that the process > > will sleep uninterruptibly and that it doesn't matter. > > So don't count to the load average and don't emit a warning > > if it

Re: bcache: process get stucks when doing write IOs in writeback mode

2013-11-12 Thread Francis Moreau
Hello, It doesn't seem my initial post reached LKML, maybe that's due to the dmesg file I initially attached. So I'm replying to this hoping that this is going to be fixed (since the attached file is gone). On Mon, Nov 11, 2013 at 6:45 PM, Francis Moreau wrote: > Hello, > > [ Resending this

Re: [PATCH 12/12] arm: dts: keystone: add AEMIF/NAND device entry

2013-11-12 Thread Santosh Shilimkar
On Monday 11 November 2013 12:13 PM, Khoronzhuk, Ivan wrote: > Add AEMIF/NAND device entry. > > Signed-off-by: Ivan Khoronzhuk > --- > arch/arm/boot/dts/keystone.dts | 63 > > 1 file changed, 63 insertions(+) > > diff --git

[GIT PULL] mpc85xx_edac changes for 3.13

2013-11-12 Thread Johannes Thumshirn
Hi Linus, Please pull these changes for mpc85xx_edac. They have been around on linux-edac for a while. Thanks. -- The following changes since commit 10d0c9705e80bbd3d587c5fad24599aabaca6688: Merge tag 'devicetree-for-3.13' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux

Re: [PATCH 10/12] mtd: nand: davinci: don't set timings if AEMIF is used

2013-11-12 Thread Santosh Shilimkar
On Monday 11 November 2013 12:10 PM, Khoronzhuk, Ivan wrote: > If Davinci AEMIF is used we don't need to set timings and bus width. > It is done by AEMIF driver (drivers/memory/davinci-aemfi.c). > > Signed-off-by: Ivan Khoronzhuk > --- > drivers/mtd/nand/davinci_nand.c | 22

[PATCH] ALSA: pcm: retrieve true appl_ptr where stream was unlocked

2013-11-12 Thread Oskar Schirmer
Calculated for data transfer, the local variable appl_ptr is reused, changed and written back later, though the lock was not held during the transfer earlier. Admitted, destiny of the lock is not obvious at all, but this looks much like a race condition candidate, so make sure to have some

Re: [PATCH 09/12] mtd: nand: davinci: reuse driver for Keystone arch

2013-11-12 Thread Santosh Shilimkar
On Monday 11 November 2013 12:09 PM, Khoronzhuk, Ivan wrote: > The Keystone arch has compatible nand device, so reuse it. > In case with Keystone it depends on TI_DAVINCI_AEMIF because AEMIF > driver is responsible to set timings. > > See http://www.ti.com/lit/ug/sprugz3a/sprugz3a.pdf > >

Re: [PATCH 07/12] memory: davinci-aemif: introduce AEMIF driver

2013-11-12 Thread Santosh Shilimkar
+ Greg KH (drivers/memory/* patches goes through his queue) On Monday 11 November 2013 12:06 PM, Khoronzhuk, Ivan wrote: > Add new AEMIF driver for EMIF16 davinci controller. The EMIF16 module > is intended to provide a glue-less interface to a variety of > asynchronous memory devices like ASRA

Re: memcg creates an unkillable task in 3.11-rc2

2013-11-12 Thread Michal Hocko
On Thu 26-09-13 16:41:19, Fabio Kung wrote: > On Tue, Jul 30, 2013 at 9:28 AM, Eric W. Biederman > wrote: > > > > ebied...@xmission.com (Eric W. Biederman) writes: > > > > Ok. I have been trying for an hour and I have not been able to > > reproduce the weird hang with the memcg, and it used to

Re: [PATCH] usb: phy: remove dead code

2013-11-12 Thread Michal Nazarewicz
Commit [4d175f34: usb: phy: nop: Defer clock prepare until PHY init] removed a goto reaching behind a “return ret” at the end of the function thus removing the only possible way that statement could be reached, and so rendering it a dead code. This commit cleans it up by removing said dead code.

Re: [PATCH 05/12] mtd: nand: davinci: extend description of bindings

2013-11-12 Thread Santosh Shilimkar
On Monday 11 November 2013 11:58 AM, Khoronzhuk, Ivan wrote: > Extend bindings for davinci_nand driver to be more clear. > > Signed-off-by: Ivan Khoronzhuk > --- Looks fine to me but it needs blessing from DT guys. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

Re: [PATCH] regulator: s5m8767: Disable OVCB in probe

2013-11-12 Thread Lee Jones
On Tue, 12 Nov 2013, Krzysztof Kozlowski wrote: > According to SW Guide the Over-Voltage Clamp may malfunction at VBatt > 5.25V and 110'C temperature. This may result in overshooting or > undershooting LDO's voltage outputs. > Disable the Over-Voltage Clamp in probe by updating proper bit in all

Re: [PATCH 00/11] Consolidate asm/fixmap.h files

2013-11-12 Thread Mark Salter
On Tue, 2013-11-12 at 16:39 +0100, Michal Simek wrote: > On 11/12/2013 02:22 PM, Mark Salter wrote: > > > > arch/arm/include/asm/fixmap.h| 25 ++-- > > arch/hexagon/include/asm/fixmap.h| 40 + > > arch/metag/include/asm/fixmap.h | 32 +-- > >

Re: [PATCH 04/12] mtd: nand: davinci: move bindings under mtd

2013-11-12 Thread Santosh Shilimkar
On Monday 11 November 2013 11:55 AM, Khoronzhuk, Ivan wrote: > Move bindings under mtd. Do this in order to make davinci-nand > driver usable by keystone architecture. > > Signed-off-by: Ivan Khoronzhuk > --- Acked-by: Santosh Shilimkar -- To unsubscribe from this list: send the line

Re: [PATCH 03/12] mtd: nand: davinci: simplify error handling

2013-11-12 Thread Santosh Shilimkar
On Monday 11 November 2013 11:54 AM, Khoronzhuk, Ivan wrote: > There is not needed to use a lot of names for err handling. > It complicates code support and reading. > This is not always true but looking at the patch, the labels are just useless since no special handling per label. >

Re: [PATCHv2 2/2] check quirk to pad epout buf size when not aligned to maxpacketsize

2013-11-12 Thread Alan Stern
On Mon, 11 Nov 2013, David Cohen wrote: > Hi Alan, Michal, > > On 11/11/2013 01:09 PM, Michal Nazarewicz wrote: > > On Mon, Nov 11 2013, Alan Stern wrote: > >> On Mon, 11 Nov 2013, Michal Nazarewicz wrote: > >> > >>> Check gadget.quirk_ep_out_aligned_size to decide if buffer size requires > >>>

Re: [PATCH 02/12] mtd: nand: davinci: check required ti,davinci-chipselect property

2013-11-12 Thread Santosh Shilimkar
On Monday 11 November 2013 11:53 AM, Khoronzhuk, Ivan wrote: > The property "ti,davinci-chipselect" is required. So we have to check > if it is set. > > Signed-off-by: Ivan Khoronzhuk > --- > drivers/mtd/nand/davinci_nand.c | 10 +- > 1 file changed, 9 insertions(+), 1 deletion(-) >

Re: [PATCH 1/2] perf trace: Beautify fifth argument of mmap() as fd

2013-11-12 Thread David Ahern
On 11/11/13, 11:24 PM, Namhyung Kim wrote: From: Namhyung Kim The fifth argument of mmap syscall is fd and it often contains -1 as a value for anon mappings. Without this patch it doesn't show the file name as well as it shows -1 as 4294967295. Cc: David Ahern Signed-off-by: Namhyung Kim

Re: Fwd: [PATCH 7/8] watchdog: davinci: add "clocks" property

2013-11-12 Thread Santosh Shilimkar
On Wednesday 06 November 2013 06:32 AM, ivan.khoronzhuk wrote: > The Keystone arch is using clocks in DT and source clock for watchdog > has to be specified, so add this to binding. > > Signed-off-by: Ivan Khoronzhuk > --- Acked-by: Santosh Shilimkar -- To unsubscribe from this list: send the

[PATCH] ASoC: fsl: imx-pcm-fiq: omit fiq counter to avoid harm in unbalanced situations

2013-11-12 Thread Oskar Schirmer
Unbalanced calls to snd_imx_pcm_trigger() may result in endless FIQ activity and thus provoke eternal sound. While on the first glance, the switch statement looks pretty symmetric, the SUSPEND/RESUME pair is not: the suspend case comes along snd_pcm_suspend_all(), which for fsl/imx-pcm-fiq is

Re: [seqcount] INFO: trying to register non-static key.

2013-11-12 Thread Vivek Goyal
On Tue, Nov 12, 2013 at 04:29:56PM +0100, Peter Zijlstra wrote: > On Tue, Nov 12, 2013 at 10:15:41AM -0500, Vivek Goyal wrote: > > I see that we allocate per cpu stats but don't do any initializations. > > > > static void tg_stats_alloc_fn(struct work_struct *work) > > { > > static struct

Re: [PATCH 01/12] mtd: nand: davinci: fix driver registration

2013-11-12 Thread Santosh Shilimkar
On Monday 11 November 2013 11:52 AM, Khoronzhuk, Ivan wrote: > > When kernel is booted using DT, there is no guarantee that Davinci > NAND device has been created already at the time when driver init > function is executed. Therefore, platform_driver_probe() can't be used > because this may

Re: scripts: checkpatch.pl & Lindent (minor complaint)

2013-11-12 Thread Joe Perches
On Tue, 2013-11-12 at 09:42 -0500, Mimi Zohar wrote: > scripts/Lindent and scripts/checkpatch disagree whether the fields in a > statically initialized array should be blank separated. > > static struct ima_rule_entry default_rules[] = { > {.action = DONT_MEASURE,.fsmagic =

Re: Fwd: [PATCH 8/8] arm: dts: keystone: add watchdog entry

2013-11-12 Thread Santosh Shilimkar
On Wednesday 06 November 2013 06:33 AM, ivan.khoronzhuk wrote: > Add watchdog entry to keystone device tree. > > Signed-off-by: Ivan Khoronzhuk > --- This patch I can take via my tree once the watchdog guys are ok and queuing up rest of the series. Thanks Ivan for the clean-up and keystone

Re: [PATCH] staging: zsmalloc: Ensure handle is never 0 on success

2013-11-12 Thread Minchan Kim
On Thu, Nov 07, 2013 at 04:04:51PM +0900, Minchan Kim wrote: > On Wed, Nov 06, 2013 at 07:05:11PM -0800, Greg KH wrote: > > On Wed, Nov 06, 2013 at 03:46:19PM -0800, Nitin Gupta wrote: > > > I'm getting really tired of them hanging around in here for many years > > > > now... > > > > > > > > > >

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