[PATCH 3.11 93/93] [SCSI] megaraid: Use resource_size_t for PCI resources, not long

2014-06-23 Thread Luis Henriques
3.11.10.12 -stable review patch. If anyone has any objections, please let me know. -- From: Ben Collins commit 11f8a7b31f2140b0dc164bb484281235ffbe51d3 upstream. The assumption that sizeof(long) >= sizeof(resource_size_t) can lead to truncation of the PCI resource address,

[PATCH 3.11 85/93] mm: compaction: reset cached scanner pfn's before reading them

2014-06-23 Thread Luis Henriques
3.11.10.12 -stable review patch. If anyone has any objections, please let me know. -- From: Vlastimil Babka commit d3132e4b83e6bd383c74d716f7281d7c3136089c upstream. Compaction caches pfn's for its migrate and free scanners to avoid scanning the whole zone each time. In

[PATCH 3.11 91/93] fs,userns: Change inode_capable to capable_wrt_inode_uidgid

2014-06-23 Thread Luis Henriques
3.11.10.12 -stable review patch. If anyone has any objections, please let me know. -- From: Andy Lutomirski commit 23adbe12ef7d3d4195e80800ab36b37bee28cd03 upstream. The kernel has no concept of capabilities with respect to inodes; inodes exist independently of namespaces.

[PATCH 3.11 92/93] auditsc: audit_krule mask accesses need bounds checking

2014-06-23 Thread Luis Henriques
3.11.10.12 -stable review patch. If anyone has any objections, please let me know. -- From: Andy Lutomirski commit a3c54931199565930d6d84f4c3456f6440aefd41 upstream. Fixes an easy DoS and possible information disclosure. This does nothing about the broken state of x32

[PATCH 3.11 80/93] dma: mv_xor: Flush descriptors before activating a channel

2014-06-23 Thread Luis Henriques
3.11.10.12 -stable review patch. If anyone has any objections, please let me know. -- From: Ezequiel Garcia commit 5a9a55bf9157d3490b0c8c4c81d4708602c26e07 upstream. We need to use writel() instead of writel_relaxed() when starting a channel, to ensure all the descriptors

[PATCH 3.11 63/93] ALSA: hda/realtek - Correction of fixup codes for PB V7900 laptop

2014-06-23 Thread Luis Henriques
3.11.10.12 -stable review patch. If anyone has any objections, please let me know. -- From: Ronan Marquet commit e30cf2d2bed3aed74a651c64de323ba26e4ff7d0 upstream. Correcion of wrong fixup entries add in commit ca8f0424 to replace static model quirk for PB V7900 laptop (will

[PATCH 3.11 81/93] skbuff: skb_segment: orphan frags before copying

2014-06-23 Thread Luis Henriques
3.11.10.12 -stable review patch. If anyone has any objections, please let me know. -- From: "Michael S. Tsirkin" commit 1fd819ecb90cc9b822cd84d3056ddba315d3340f upstream. skb_segment copies frags around, so we need to copy them carefully to avoid accessing user memory after

[PATCH 3.11 56/93] USB: ftdi_sio: add NovaTech OrionLXm product ID

2014-06-23 Thread Luis Henriques
3.11.10.12 -stable review patch. If anyone has any objections, please let me know. -- From: George McCollister commit d0839d757e6294921c31b1c4ca4f1dcc5df63bcd upstream. The NovaTech OrionLXm uses an onboard FTDI serial converter for JTAG and console access. Here is the

[PATCH 3.11 17/93] nfsd4: remove lockowner when removing lock stateid

2014-06-23 Thread Luis Henriques
3.11.10.12 -stable review patch. If anyone has any objections, please let me know. -- From: "J. Bruce Fields" commit a1b8ff4c97b4375d21b6d6c45d75877303f61b3b upstream. The nfsv4 state code has always assumed a one-to-one correspondance between lock stateid's and lockowners

[PATCH 3.11 43/93] audit: restore order of tty and ses fields in log output

2014-06-23 Thread Luis Henriques
3.11.10.12 -stable review patch. If anyone has any objections, please let me know. -- From: Richard Guy Briggs commit 2f2ad1013322c8f6c40fc6dafdbd32442fa730ad upstream. When being refactored from audit_log_start() to audit_log_task_info(), in commit e23eb920 the tty and ses

[PATCH 3.11 29/93] ARM: OMAP4: Fix the boot regression with CPU_IDLE enabled

2014-06-23 Thread Luis Henriques
3.11.10.12 -stable review patch. If anyone has any objections, please let me know. -- From: Santosh Shilimkar commit 4b353a706a86598ba47307c47301c3c428b79e09 upstream. On OMAP4 panda board, there have been several bug reports about boot hang and lock-ups with CPU_IDLE

[PATCH 3.11 21/93] netfilter: ipv4: defrag: set local_df flag on defragmented skb

2014-06-23 Thread Luis Henriques
3.11.10.12 -stable review patch. If anyone has any objections, please let me know. -- From: Florian Westphal commit 895162b1101b3ea5db08ca6822ae9672717efec0 upstream. else we may fail to forward skb even if original fragments do fit outgoing link mtu: 1. remote sends 2k

[PATCH 3.11 12/93] drm/radeon: also try GART for CPU accessed buffers

2014-06-23 Thread Luis Henriques
3.11.10.12 -stable review patch. If anyone has any objections, please let me know. -- From: =?UTF-8?q?Christian=20K=C3=B6nig?= commit 544092596e8ac269f70e70961b5e9381909c9b1e upstream. Placing them exclusively into VRAM might not work all the time. Fixes:

[PATCH 3.11 19/93] hwpoison, hugetlb: lock_page/unlock_page does not match for handling a free hugepage

2014-06-23 Thread Luis Henriques
3.11.10.12 -stable review patch. If anyone has any objections, please let me know. -- From: Chen Yucong commit b985194c8c0a130ed155b71662e39f7eaea4876f upstream. For handling a free hugepage in memory failure, the race will happen if another thread hwpoisoned this hugepage

[PATCH 3.11 05/93] mac80211: fix suspend vs. association race

2014-06-23 Thread Luis Henriques
3.11.10.12 -stable review patch. If anyone has any objections, please let me know. -- From: Emmanuel Grumbach commit c52666aef9f2dff39276eb53f15d99e2e229870f upstream. If the association is in progress while we suspend, the stack will be in a messed up state. Clean it before

[3.11.y.z extended stable] Linux 3.11.10.12 stable review

2014-06-23 Thread Luis Henriques
This is the start of the review cycle for the Linux 3.11.10.12 stable kernel. This version contains 93 new patches, summarized below. The new patches are posted as replies to this message and also available in this git branch:

Re: unparseable, undocumented /sys/class/drm/.../pstate

2014-06-23 Thread Pavel Machek
On Sun 2014-06-22 22:12:14, Ilia Mirkin wrote: > On Sat, Jun 21, 2014 at 3:45 PM, Greg KH wrote: > > On Sat, Jun 21, 2014 at 02:22:59PM -0400, Ilia Mirkin wrote: > >> On Sat, Jun 21, 2014 at 2:02 PM, Pavel Machek wrote: > >> > Hi! > >> > > >> > AFAICT, pstate file will contain something like >

Re: [patch 1/4] mm: vmscan: remove remains of kswapd-managed zone->all_unreclaimable

2014-06-23 Thread Mel Gorman
On Fri, Jun 20, 2014 at 12:33:47PM -0400, Johannes Weiner wrote: > shrink_zones() has a special branch to skip the all_unreclaimable() > check during hibernation, because a frozen kswapd can't mark a zone > unreclaimable. > > But ever since 6e543d5780e3 ("mm: vmscan: fix do_try_to_free_pages() >

Re: [PATCH v7] iio: add support of the max1027

2014-06-23 Thread Jonathan Cameron
On June 23, 2014 10:08:15 AM GMT+01:00, Hartmut Knaack wrote: >Philippe Reynes schrieb: >> This driver add partial support of the >> maxim 1027/1029/1031. Differential mode is not >> supported. >> >> It was tested on armadeus apf27 board. >> >> Signed-off-by: Philippe Reynes >Reviewed-by:

Re: [GIT PULL] nohz: Move nohz kick out of scheduler IPI, v9

2014-06-23 Thread Peter Zijlstra
On Wed, Jun 18, 2014 at 06:48:41PM +0200, Ingo Molnar wrote: > > * Frederic Weisbecker wrote: > > Please pull the timers/nohz-irq-work-v7 branch that can be found at: > > > > Pulled, thanks a lot Frederic! Ingo, the previous version had one of your machines fall over, is that machine good

Re: [PATCH v2] sched: Fast idling of CPU when system is partially loaded

2014-06-23 Thread Peter Zijlstra
On Mon, Jun 16, 2014 at 12:48:47PM -0700, Tim Chen wrote: > +++ b/kernel/sched/fair.c > @@ -5863,7 +5863,8 @@ static inline int sg_capacity(struct lb_env *env, > struct sched_group *group) > */ > static inline void update_sg_lb_stats(struct lb_env *env, > struct

Humanitarian Project Offer

2014-06-23 Thread Georgina Hope Rinehart
Greetings in the Name of Our Lord, I have a charity proposal for you, reply back for more information. Thanks and God bless. Gina Rinehart -- 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: [PATCH net-next] hyperv: Add handler for RNDIS_STATUS_NETWORK_CHANGE event

2014-06-23 Thread Haiyang Zhang
> -Original Message- > From: Olaf Hering [mailto:o...@aepfle.de] > Sent: Monday, June 23, 2014 4:03 AM > To: Haiyang Zhang > Cc: Greg KH; net...@vger.kernel.org; jasow...@redhat.com; driverdev- > de...@linuxdriverproject.org; linux-kernel@vger.kernel.org; > da...@davemloft.net > Subject:

Re: [PATCH 2/2] serial: amba-pl010: Use devres APIs

2014-06-23 Thread Daniel Thompson
On 23/06/14 06:59, Tushar Behera wrote: > Migrating to use devres managed APIs devm_kzalloc, devm_ioremap and > devm_clk_get. > > Signed-off-by: Tushar Behera > --- > drivers/tty/serial/amba-pl010.c | 46 > ++- > 1 file changed, 16 insertions(+), 30

Re: [PATCH 0/2] Update wait_on_bit functions

2014-06-23 Thread Steven Whitehouse
Hi, On 23/06/14 01:52, NeilBrown wrote: These patches were in 'tip' for a while, but caused conflicts with other changes - both NFS and CIFS added new uses of wait_on_bit functions. So here they are again against 3.16-rc2. Hopefully no new users will be added before -rc3 or -rc4... (I hoped

[PATCH 1/1] staging: lustre: lustre: libcfs: fail.c - fix sparse warnings EXPORT_SYMBOL

2014-06-23 Thread Anil Belur
From: Anil Belur - this fixes "WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable" Signed-off-by: Anil Belur --- drivers/staging/lustre/lustre/libcfs/fail.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git

Re: [PATCH 1/2] serial: amba-pl011: Remove redundant label

2014-06-23 Thread Daniel Thompson
On 23/06/14 06:59, Tushar Behera wrote: > The label 'out' is only used to return the error code. We can return the > error code directly and remove 'out' label. > > Signed-off-by: Tushar Behera > --- > drivers/tty/serial/amba-pl011.c | 30 ++ > 1 file changed, 10

Re: [PATCH v2] selinux: no recursive read_lock of policy_rwlock in security_genfs_sid()

2014-06-23 Thread Stephen Smalley
On 06/20/2014 08:30 PM, Waiman Long wrote: > v1->v2: > - Add an internal helper to switch on/off lock acquisition instead >of modifying the external API. > > With introduction of fair queued rwlock, recursive read_lock() may hang > the offending process if there is a write_lock() somewhere

Re: linux-next: build failure after merge of the crypto tree

2014-06-23 Thread Herbert Xu
Hi Stephen: On Mon, Jun 23, 2014 at 11:49:42AM +1000, Stephen Rothwell wrote: > > After merging the crypto tree, today's linux-next build (x86_64 > allmodconfig) failed like this: > > > drivers/crypto/qat/qat_dh895xcc/adf_dh895xcc_hw_data.c:47:31: fatal error: > adf_accel_devices.h: No such

[PATCH] fs: Fix theoretical division by 0 in super_cache_scan().

2014-06-23 Thread Tetsuo Handa
>From 7a2ed4e9c91864736ce5ad89489fd5862d59542e Mon Sep 17 00:00:00 2001 From: Tetsuo Handa Date: Sat, 17 May 2014 20:56:38 +0900 Subject: [PATCH] fs: Fix theoretical division by 0 in super_cache_scan(). total_objects could be 0 and is used as a denom. While total_objects is a "long",

Re: [BUG] rc1 and rc2: Laptop unusable: on boot,screen black instead of native resolution

2014-06-23 Thread Martin Kepplinger
Am 2014-06-23 03:10, schrieb Zhang, Rui: > > >> -Original Message- >> From: Martin Kepplinger [mailto:mart...@posteo.de] >> Sent: Sunday, June 22, 2014 10:25 PM >> To: Zhang, Rui >> Cc: r...@rjwysocki.net; l...@kernel.org; linux-a...@vger.kernel.org; >> linux-kernel@vger.kernel.org >>

Re: linux-next: manual merge of the mvebu tree with Linus' tree

2014-06-23 Thread Jason Cooper
On Mon, Jun 23, 2014 at 10:57:41AM +1000, Stephen Rothwell wrote: > Hi all, > > Today's linux-next merge of the mvebu tree got a conflict in > arch/arm/mach-mvebu/Kconfig between commit 21278aeafbfa ("ARM: use > menuconfig for sub-arch menus") from Linus' tree and commit > 55fc83023212 ("ARM:

Re: [PATCH] cxgb4: use dev_port to identify ports

2014-06-23 Thread Thadeu Lima de Souza Cascardo
On Sun, Jun 22, 2014 at 05:23:07PM -0700, David Miller wrote: > From: Thadeu Lima de Souza Cascardo > Date: Sat, 21 Jun 2014 09:48:08 -0300 > > > Commit 3f85944fe207d0225ef21a2c0951d4946fc9a95d ("net: Add sysfs file > > for port number") introduce dev_port to network devices. cxgb4 adapters > >

[PATCH] scripts/kernel-doc: handle object-like macros

2014-06-23 Thread Horia Geanta
Object-like macros are different than function-like macros: https://gcc.gnu.org/onlinedocs/cpp/Object-like-Macros.html https://gcc.gnu.org/onlinedocs/cpp/Function-like-Macros.html They are not parsed correctly, generating invalid intermediate files (xmls) for cases like: #define BIT_MASK

[PATCH 1/2] zram: rename struct `table' to `zram_table_entry'

2014-06-23 Thread Sergey Senozhatsky
Andrew Morton has recently noted that `struct table' actually represents table entry and, thus, should be renamed. Rename to `zram_table_entry'. Signed-off-by: Sergey Senozhatsky --- drivers/block/zram/zram_drv.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH 2/2] zram: remove unused SECTOR_SIZE define

2014-06-23 Thread Sergey Senozhatsky
Drop SECTOR_SIZE define, because it's not used. Signed-off-by: Sergey Senozhatsky --- drivers/block/zram/zram_drv.h | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/block/zram/zram_drv.h b/drivers/block/zram/zram_drv.h index 75d604d..cf1bedb 100644 --- a/drivers/block/zram/zram_drv.h

[PATCH 0/2] zram: trivial cleanup and `struct table' rename

2014-06-23 Thread Sergey Senozhatsky
Hello, Two trivial patches. One kill off unused define in zram header, the other one rename `struct table'. P.S. These two patches are against ZRAM with Weijie Yang's "zram: remove global tb_lock with fine grain lock" being applied. If you decided to hold on with the patch in question I'll

[char-misc-next 0/3 V2] mei support more devices

2014-06-23 Thread Tomas Winkler
There is a new use case to support secondary head on mei devices hence we replace misc devices with char. V2: use dynamic minor number allocation Alexander Usyskin (2): mei: move from misc to char device mei: add WPT second mei interface Tomas Winkler (1): mei: sysfs: add Documentation

[char-misc-next 2/3 V2] mei: sysfs: add Documentation mei class attributes

2014-06-23 Thread Tomas Winkler
Add sysfs attributes Documentation entries for /sys/class/mei Signed-off-by: Tomas Winkler Signed-off-by: Alexander Usyskin --- V2: remove default device Documentation/ABI/testing/sysfs-class-mei | 16 1 file changed, 16 insertions(+) create mode 100644

[char-misc-next 3/3 V2] mei: add WPT second mei interface

2014-06-23 Thread Tomas Winkler
From: Alexander Usyskin Add WPT second mei interface. Signed-off-by: Alexander Usyskin Signed-off-by: Tomas Winkler --- V2: use default pch configuration drivers/misc/mei/hw-me-regs.h | 1 + drivers/misc/mei/pci-me.c | 1 + 2 files changed, 2 insertions(+) diff --git

[char-misc-next 1/3 V2] mei: move from misc to char device

2014-06-23 Thread Tomas Winkler
From: Alexander Usyskin We need to support more then one mei interface hence the simple misc devices is not longer an option In order not break the user space a device with pci function 0 need to be linked to /dev/mei Signed-off-by: Alexander Usyskin Signed-off-by: Tomas Winkler --- V2: use

[PATCH] Staging: slicoss: fixed frivolous else statement warnings in slicoss.c

2014-06-23 Thread Vincent Heuken
This is a patch for the slicoss.c file that fixes four instances of the following warning: WARNING: else is not generally useful after a break or return Signed-off-by: Vincent Heuken --- drivers/staging/slicoss/slicoss.c | 22 -- 1 file changed, 12 insertions(+), 10

Re: [PATCH] drivers/video/fbdev/sis: Add missing else

2014-06-23 Thread Tomi Valkeinen
On 20/06/14 22:59, Rasmus Villemoes wrote: > The surrounding code and the fact that the previous two if's are > rendered useless without this "else" (since SIS_340==55 and XGI_20==75 > are greater than SIS_661==15) suggests that the "else" is indeed > missing. > > Signed-off-by: Rasmus Villemoes

Re: [PATCH] video: OF display-timings support for ocfb

2014-06-23 Thread Tomi Valkeinen
On 11/06/14 23:17, Franck Jullien wrote: > Signed-off-by: Franck Jullien > --- > drivers/video/fbdev/Kconfig |2 ++ > drivers/video/fbdev/ocfb.c | 31 ++- > 2 files changed, 28 insertions(+), 5 deletions(-) You need to add binding documentation if you add new

Re: [PATCH -next 25/26] fbdev: Use dma_zalloc_coherent

2014-06-23 Thread Tomi Valkeinen
On 15/06/14 23:37, Joe Perches wrote: > Use the zeroing function instead of dma_alloc_coherent & memset(,0,) > > Signed-off-by: Joe Perches > --- > drivers/video/fbdev/da8xx-fb.c | 9 +++-- > 1 file changed, 3 insertions(+), 6 deletions(-) > > diff --git a/drivers/video/fbdev/da8xx-fb.c

Kundendienstes-Sicherheits-update ©

2014-06-23 Thread Sparkasse Online-Banking ©
Sehr geehrter Kunde, Bitte beachten Sie, dass Ihre E-Banking-Zugang abl?uft bald. dies Weiter zum Service k?nnen zu verwenden, auf den Button unten klicken Sie bitte Ihr Zugang manuell mit unseren Sicherheitsupdate auf Link- Update: Sparkasse Online-Banking Update: folgen Sie dem Link unten

Re: [PATCH 1/2] perf/x86: update Haswell PEBS event constraints

2014-06-23 Thread Stephane Eranian
On Mon, Jun 23, 2014 at 1:37 PM, Peter Zijlstra wrote: > On Mon, Jun 23, 2014 at 10:06:43AM +0200, Stephane Eranian wrote: >> > @@ -1736,8 +1742,17 @@ static int intel_pmu_hw_config(struct perf_event >> > *event) >> > if (ret) >> > return ret; >> > >> > - if

Re: [PATCH 3/10] video: use safer test on the result of find_first_zero_bit

2014-06-23 Thread Tomi Valkeinen
On 04/06/14 12:07, Julia Lawall wrote: > From: Julia Lawall > > Find_first_zero_bit considers BITS_PER_LONG bits at a time, and thus may > return a larger number than the maximum position argument if that position > is not a multiple of BITS_PER_LONG. Thanks, queued for 3.17. Tomi

Re: [PATCH] drivers:video:fbdev atmel_lcdfb.c power GPIO registration bug

2014-06-23 Thread Tomi Valkeinen
On 19/06/14 04:52, Michael Welling wrote: > A list that was intended for storing power control GPIOs was never > initialized correctly or filled. Without these lines of added code > the kernel hangs when trying to access an uninitialized list when a > power control GPIO is registered with the

Re: [PATCH v2] ARM: mvebu: Fix missing binding documentation for Armada 38x

2014-06-23 Thread Gregory CLEMENT
On 21/06/2014 01:57, Jason Cooper wrote: > On Fri, Jun 20, 2014 at 05:33:06PM -0500, Rob Herring wrote: >> On Fri, Jun 20, 2014 at 1:52 PM, Jason Cooper wrote: >>> On Thu, Jun 19, 2014 at 06:40:43PM +0200, Gregory CLEMENT wrote: For the Armada 380 and Armada 385 SoCs, the common bindings for

Re: [PATCH v2 0/7] perf trace pagefaults

2014-06-23 Thread Stanislav Fomichev
> > But we then need to predefine many probes for decoding to work in the form > > of > > func:offset, and then play catch-up with all the kernel changes. > > Or I miss something important here? > > No you don't. > > If we want to disturb the system in the least way possible, we need to > tag

[PATCH 1/1] pinctrl: bcm281xx: Staticize bcm281xx_pinctrl_probe

2014-06-23 Thread Sachin Kamat
bcm281xx_pinctrl_probe is local to this file. Make it static. Signed-off-by: Sachin Kamat --- drivers/pinctrl/pinctrl-bcm281xx.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pinctrl/pinctrl-bcm281xx.c b/drivers/pinctrl/pinctrl-bcm281xx.c index

Re: [PATCH 2/2] perf/x86: fix constraints for load latency and precise events

2014-06-23 Thread Peter Zijlstra
On Mon, Jun 23, 2014 at 11:00:18AM +0200, Stephane Eranian wrote: > You can say the same with PREC_DIST which up until HSW needs to be > taken alone, i.e., no other event active. We don't enforce that either, it > would > cause problems with the NMI watchdog. Yeah, the SDM states no other PEBS

Re: [PATCH 1/2] perf/x86: update Haswell PEBS event constraints

2014-06-23 Thread Peter Zijlstra
On Mon, Jun 23, 2014 at 10:06:43AM +0200, Stephane Eranian wrote: > > @@ -1736,8 +1742,17 @@ static int intel_pmu_hw_config(struct perf_event > > *event) > > if (ret) > > return ret; > > > > - if (event->attr.precise_ip && x86_pmu.pebs_aliases) > > -

Re: [PATCH 1/1] drivers/video/fbdev/sis/sis_main.c: remove unnecessary test on unsigned value

2014-06-23 Thread Tomi Valkeinen
On 11/06/14 22:54, Fabian Frederick wrote: > unsigned value is never < 0 > > Cc: Jean-Christophe Plagniol-Villard > Cc: Tomi Valkeinen > Signed-off-by: Fabian Frederick > --- > drivers/video/fbdev/sis/sis_main.c | 4 > 1 file changed, 4 deletions(-) > > diff --git

Re: [PATCH] arch,locking: Ciao arch_mutex_cpu_relax()

2014-06-23 Thread Peter Zijlstra
On Mon, Jun 23, 2014 at 12:43:46PM +0530, Vineet Gupta wrote: > Hi Peter, > > On Monday 23 June 2014 12:24 PM, Peter Zijlstra wrote: > > On Fri, Jun 20, 2014 at 11:21:13AM -0700, Davidlohr Bueso wrote: > >> diff --git a/arch/arc/include/asm/processor.h > >> b/arch/arc/include/asm/processor.h >

Re: [PATCH v2 0/9] mfd: tps65917: Add support for for TPS65917 PMIC

2014-06-23 Thread Mark Brown
On Wed, Jun 18, 2014 at 03:28:51PM +0530, Keerthy wrote: > The TPS65917 chip is a power management IC for Portable Navigation Systems > and Tablet Computing devices. It contains the following components: Applied all, thanks. signature.asc Description: Digital signature

Re: [PATCH v1 1/3] ima: use ahash API for file hash calculation

2014-06-23 Thread Mimi Zohar
On Thu, 2014-06-19 at 18:20 +0300, Dmitry Kasatkin wrote: > Async hash API allows to use HW acceleration for hash calculation. > It may give significant performance gain or/and reduce power consumption, > which might be very beneficial for battery powered devices. > > This patch introduces hash

Re: [PATCH] Add security.selinux XATTR support for the UBIFS. Also fix couple of bugs in UBIFS extended attribute length calculation.

2014-06-23 Thread Artem Bityutskiy
On Sun, 2012-04-08 at 06:47 -0700, Subodh Nijsure wrote: > TESTING: Tested on MX28 based platforms using Micron MT29F2G08ABAEAH4 NAND > With these change we are able to label UBIFS filesystem with > security.selinux > and run system with selinux enabled. > Also ran

Re: [PATCH] arm64: export __cpu_{clear,copy}_user_page functions

2014-06-23 Thread Catalin Marinas
On Wed, Jun 18, 2014 at 02:54:03PM +0100, Mark Salter wrote: > On Wed, 2014-06-18 at 11:39 +0100, Catalin Marinas wrote: > > On Tue, Jun 17, 2014 at 06:14:26PM +0100, Mark Salter wrote: > > > The __cpu_clear_user_page() and __cpu_copy_user_page() functions > > > are not currently exported. This

Re: [PATCH 0/8] mm: add page cache limit and reclaim feature

2014-06-23 Thread Michal Hocko
On Mon 23-06-14 10:05:48, Xishi Qiu wrote: > On 2014/6/20 23:32, Michal Hocko wrote: > > > On Fri 20-06-14 15:56:56, Xishi Qiu wrote: > >> On 2014/6/17 9:35, Xishi Qiu wrote: > >> > >>> On 2014/6/16 20:50, Rafael Aquini wrote: > >>> > On Mon, Jun 16, 2014 at 01:14:22PM +0200, Michal Hocko

[PATCH] Documentation: devres: Add devm_kmalloc() et al

2014-06-23 Thread Daniel Thompson
Commit 64c862a83... added new alloc variants to the devres managed API. These should be included in the list of managed API found in devres.txt. Signed-off-by: Daniel Thompson Cc: Randy Dunlap Cc: Grant Likely Cc: Rob Herring Cc: Joe Perches Cc: linux-...@vger.kernel.org ---

[PATCH 1/1] spmi: Remove duplicate inclusion of module.h

2014-06-23 Thread Sachin Kamat
module.h was included twice. Signed-off-by: Sachin Kamat --- drivers/spmi/spmi.c |1 - 1 file changed, 1 deletion(-) diff --git a/drivers/spmi/spmi.c b/drivers/spmi/spmi.c index 3b5780710d50..1d92f5103ebf 100644 --- a/drivers/spmi/spmi.c +++ b/drivers/spmi/spmi.c @@ -18,7 +18,6 @@

Re: [PATCH] mm:kswapd: clean up the kswapd

2014-06-23 Thread Mel Gorman
On Mon, Jun 23, 2014 at 01:14:54PM +0800, Chen Yucong wrote: > According to the commit 215ddd66 (mm: vmscan: only read new_classzone_idx from > pgdat when reclaiming successfully) and the commit d2ebd0f6b (kswapd: avoid > unnecessary rebalance after an unsuccessful balancing), we can use a boolean

Re: [PATCH 3.10 005/103] irqchip: Gic: Support forced affinity setting

2014-06-23 Thread Mark Brown
On Thu, Jun 05, 2014 at 11:05:24AM -0700, Greg Kroah-Hartman wrote: > On Thu, Jun 05, 2014 at 05:05:00PM +0100, Mark Rutland wrote: > > This patch alone has the possiblity of breaking CPU hotplug on arm and > > arm64 (specifically it breaks hot unplugging CPU0 where interrupts may > > be left

Re: [PATCH] mm:vmscan:replace zone_watermark_ok with zone_balanced for determining if kswapd will call compaction

2014-06-23 Thread Mel Gorman
On Sun, Jun 22, 2014 at 04:51:00PM +0800, Chen Yucong wrote: > According to the commit messages of "mm: vmscan: fix endless loop in kswapd > balancing" > and "mm: vmscan: decide whether to compact the pgdat based on reclaim > progress", minor > change is required to the following snippet. > >

Re: [PATCH] 68328fb: remove check for CONFIG_FB_68328_INVERT

2014-06-23 Thread Tomi Valkeinen
On 27/05/14 21:09, Paul Bolle wrote: > Since v2.6.7 the 68328 frame buffer driver contains a check for > CONFIG_FB_68328_INVERT. But the Kconfig symbol FB_68328_INVERT was never > added to the tree. Remove this check and do some related cleaning up. > > Signed-off-by: Paul Bolle That sounds

Re: [PATCH] ARM64: implement TASK_SIZE_OF

2014-06-23 Thread Catalin Marinas
On Wed, Jun 18, 2014 at 09:10:09PM +0100, Colin Cross wrote: > include/linux/sched.h implements TASK_SIZE_OF as TASK_SIZE if it > is not set by the architecture headers. TASK_SIZE uses the > current task to determine the size of the virtual address space. > On a 64-bit kernel this will cause

Re: [PATCH] video: Remove kfree call since devm_kzalloc() is used

2014-06-23 Thread Tomi Valkeinen
On 21/06/14 00:50, Emil Goode wrote: > We use devm_kzalloc() to allocate memory for the struct vt8500lcd_info > pointer fbi, so there is no need to free it in vt8500lcd_remove(). > > Signed-off-by: Emil Goode > --- > drivers/video/fbdev/vt8500lcdfb.c |2 -- > 1 file changed, 2 deletions(-)

Re: [PATCH] video: Introduce the use of the managed version of kzalloc

2014-06-23 Thread Tomi Valkeinen
On 25/05/14 13:40, Himangi Saraogi wrote: > This patch moves data allocated using kzalloc to managed data allocated > using devm_kzalloc and cleans now unnecessary kfrees in probe and remove > functions. Also, linux/device.h is added to make sure the devm_*() > routine declarations are

Re: [PATCH] arm64: make CONFIG_ZONE_DMA user settable

2014-06-23 Thread Catalin Marinas
On Mon, Jun 23, 2014 at 06:05:24AM +0100, Mark Salter wrote: > Commit 19e7640d1f (arm64: Replace ZONE_DMA32 with ZONE_DMA) > moves support for 32-bit DMA addressing into ZONE_DMA and renames > CONFIG_ZONE_DMA32 to CONFIG_ZONE_DMA. > > Commit 2d5a5612bc (arm64: Limit the CMA buffer to 32-bit if

Re: [PATCH v7 1/2] video: ARM CLCD: Add DT support

2014-06-23 Thread Tomi Valkeinen
Hi, On 17/06/14 18:21, Pawel Moll wrote: > This patch adds basic DT bindings for the PL11x CLCD cells > and make their fbdev driver use them. > > Signed-off-by: Pawel Moll > --- > Changes since v6: > - replaced in-node device-timing subnode with the standard > video interface bindings (as in:

Re: [PATCH v2] hrtimers: calculate expires_next after all timers are executed

2014-06-23 Thread Stanislav Fomichev
Hi Thomas, > > + * @next: time of the next event on this clock base > > What initializes that? It's 0 to begin with. I thought I can skip initialization because I update base->next in the interrupt or in __remove_hrtimer, like: - enqueue_timer, base->next is 0 - reprogram device -

Re: [PATCH] mm/vmscan.c: fix an implementation flaw in proportional scanning

2014-06-23 Thread Mel Gorman
On Tue, Jun 17, 2014 at 12:55:02PM +0800, Chen Yucong wrote: > Via https://lkml.org/lkml/2013/4/10/897, we can know that the relative design > idea is to keep > > scan_target[anon] : scan_target[file] > == really_scanned_num[anon] : really_scanned_num[file] > > But we can find the

Re: [PATCH v6 2/9] arch/x86: Do not access EFI memory map if it is not available

2014-06-23 Thread Jan Beulich
>>> On 23.06.14 at 11:53, wrote: > On 20/06/14 22:29, Daniel Kiper wrote: >> Do not access EFI memory map if it is not available. At least >> Xen dom0 EFI implementation does not have an access to it. > > Could it make one based on the XENMEM_memory_map or > XENMEM_machine_memory_map hypercall?

Re: [3.15-rc1 slab] Oops when reading /proc/slab_allocators

2014-06-23 Thread Tetsuo Handa
Joonsoo Kim wrote: > On Thu, Apr 10, 2014 at 08:54:37PM +0900, Tetsuo Handa wrote: > > Joonsoo Kim wrote: > > > There was another report about this problem and I have already fixed > > > it, although it wasn't reviewed and merged. See following link. > > > > > >

Re: [PATCH] staging: goldfish: fix direct copy_to_user() from __iomem

2014-06-23 Thread Alan Cox
On Sun, 2014-06-22 at 03:29 -0400, James A Shackleford wrote: > This patch allocates a few pages and performs an ioread8_rep() from the bus > address, which are then copied to userspace. This fixes the sparse warning: > > drivers/staging/goldfish/goldfish_audio.c:136:43: warning: incorrect type

Re: [PATCH 1/3] sched/fair: Disable runtime_enabled on dying rq

2014-06-23 Thread Kirill Tkhai
В Пн, 23/06/2014 в 12:07 +0200, Peter Zijlstra пишет: > On Tue, Jun 17, 2014 at 05:24:10PM +0400, Kirill Tkhai wrote: > > @@ -3790,6 +3803,12 @@ static void __maybe_unused > > unthrottle_offline_cfs_rqs(struct rq *rq) > > cfs_rq->runtime_remaining = 1; > > if

Re: [PATCH v3 09/10] ARM: update multi_v7_defconfig for STI

2014-06-23 Thread Maxime Coquelin
On 06/04/2014 06:30 PM, Peter Griffin wrote: > This patch enables SDHCI STI platform driver. > > Signed-off-by: Peter Griffin --- > arch/arm/configs/multi_v7_defconfig | 1 + 1 file changed, 1 > insertion(+) Acked-by: Maxime Coquelin > > diff --git a/arch/arm/configs/multi_v7_defconfig >

Re: [PATCH 2/2] clocksource: add rockchip-specific armv7-timer setup

2014-06-23 Thread Matthias Brugger
2014-06-20 12:51 GMT+02:00 Mark Rutland : > On Fri, Jun 20, 2014 at 11:44:49AM +0100, Heiko Stübner wrote: >> The armv7-timer on Rockchip RK3288 SoCs needs an underlying timer to run. >> Therefore the special rockchip,rk3288-armv7-timer does this setup and >> then initializes the architected timer

Re: [PATCH v3 10/10] MAINTAINERS: Add sdhci-st file to ARCH/STI architecture

2014-06-23 Thread Maxime Coquelin
On 06/04/2014 06:30 PM, Peter Griffin wrote: > Signed-off-by: Peter Griffin Acked-by: Maxime Coquelin > --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) > > diff --git a/MAINTAINERS b/MAINTAINERS index 6dc67b1..19dc265 > 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1306,6 +1306,7 @@

Re: [PATCH 3/3] sched: Rework check_for_tasks()

2014-06-23 Thread Kirill Tkhai
В Пн, 23/06/2014 в 12:24 +0200, Peter Zijlstra пишет: > On Tue, Jun 17, 2014 at 05:24:22PM +0400, Kirill Tkhai wrote: > > > > 1)Iterate throw all of threads in the system. > > thru Thanks :) > > > Check for all threads, not only for group leaders. > > > > 2)Check for p->on_rq instead

Re: [PATCH] MAINTAINERS: drop two usb-serial subdriver entries

2014-06-23 Thread Johan Hovold
On Tue, Jun 03, 2014 at 02:01:57PM +0200, Matthias Urlichs wrote: > Hi, > > Matthias Urlichs: > > Fine by me. > > or, in other words: > > Signed-Off-By: Matthias Urlichs I've now applied this to my usb-linus branch with yours and Oliver's signed-offs. Thanks, Johan -- To unsubscribe from

Re: [PATCH v3 01/13] mm, THP: don't hold mmap_sem in khugepaged when allocating THP

2014-06-23 Thread Zhang Yanfei
On 06/23/2014 05:52 PM, Vlastimil Babka wrote: > On 06/23/2014 07:39 AM, Zhang Yanfei wrote: >> Hello >> >> On 06/21/2014 01:45 AM, Kirill A. Shutemov wrote: >>> On Fri, Jun 20, 2014 at 05:49:31PM +0200, Vlastimil Babka wrote: When allocating huge page for collapsing, khugepaged currently

Re: [PATCH v2 1/6] wdt: sunxi: Move restart code to the watchdog driver

2014-06-23 Thread Maxime Ripard
On Thu, May 22, 2014 at 02:12:07PM -0700, Guenter Roeck wrote: > On Thu, May 22, 2014 at 10:34:44PM +0200, Maxime Ripard wrote: > > On Mon, May 19, 2014 at 05:04:22PM +0200, Maxime Ripard wrote: > > > On Thu, May 15, 2014 at 11:11:23AM +0200, Maxime Ripard wrote: > > > > On Wed, May 07, 2014 at

[PATCH] MAINTAINERS: update e-mail address

2014-06-23 Thread Johan Hovold
I'll be using my kernel.org address for upstream work from now on so update my MAINTAINERS entry. Signed-off-by: Johan Hovold --- Greg, I intend to include this one in my upcoming v3.16-rc pull request. Johan MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH] arch/score/include/uapi/asm/ptrace.h: Add prefix 'SCORE_' for related macros

2014-06-23 Thread Chen Gang
On 06/23/2014 05:38 PM, David Rientjes wrote: > On Sun, 22 Jun 2014, Chen Gang wrote: > >> diff --git a/arch/score/include/uapi/asm/ptrace.h >> b/arch/score/include/uapi/asm/ptrace.h >> index f59771a..7a0ead9 100644 >> --- a/arch/score/include/uapi/asm/ptrace.h >> +++

Re: [RFC PATCH 1/1] kernel/rcu/tree.c: simplify force_quiescent_state()

2014-06-23 Thread Peter Zijlstra
On Tue, Jun 17, 2014 at 10:37:17AM -0700, Paul E. McKenney wrote: > Oh, and to answer the implicit question... A properly configured 4096-CPU > system will have two funnel levels, with 64 nodes at the leaf level > and a single node at the root level. If the system is not properly > configured,

Re: [PATCH 3/3] sched: Rework check_for_tasks()

2014-06-23 Thread Peter Zijlstra
On Tue, Jun 17, 2014 at 05:24:22PM +0400, Kirill Tkhai wrote: > > 1)Iterate throw all of threads in the system. thru > Check for all threads, not only for group leaders. > > 2)Check for p->on_rq instead of p->state and cputime. > Preempted task in !TASK_RUNNING state OR just >

Re: [PATCH v3 0/5] staging: comedi: addi_apci_1564: fix Change-of-State interrupt functionality

2014-06-23 Thread Ian Abbott
On 2014-06-21 23:23, Chase Southwood wrote: This patchset introduces a new private data struct for this driver, adds all of the code required to support Change-of-State interrupts for the digital input subdevice, and finally fixes apci1564_interrupt() to service this type of interrupt correctly.

Re: [PATCH] ARM: dts: add support for Ka-Ro TX51

2014-06-23 Thread Lothar Waßmann
Hi, Shawn Guo wrote: > On Thu, Jun 12, 2014 at 03:09:44PM +0200, Lothar Waßmann wrote: > > Add support for Ka-Ro electronics i.MX51 based TX51 modules > > > > Signed-off-by: Lothar Waßmann > > --- > > arch/arm/boot/dts/Makefile |1 + > > arch/arm/boot/dts/imx51-tx51.dts | 620 > >

Re: [PATCH 08/24] net, diet: Make TCP metrics optional

2014-06-23 Thread zhuyj
On 05/07/2014 02:33 AM, Cong Wang wrote: On Tue, May 6, 2014 at 10:55 AM, wrote: On Tue, May 06, 2014 at 01:16:43PM -0400, David Miller wrote: From: j...@joshtriplett.org Date: Tue, 6 May 2014 09:41:08 -0700 Every KB of RAM costs real money and SoC die area (for eDRAM/eSRAM). Another

RE: [PATCH v2] ns: introduce getnspid syscall

2014-06-23 Thread chenhanx...@cn.fujitsu.com
Hi > -Original Message- > From: Richard Weinberger [mailto:rich...@nod.at] > Sent: Friday, June 20, 2014 7:02 PM > To: Chen, Hanxiao/陈 晗霄; contain...@lists.linux-foundation.org; > linux-kernel@vger.kernel.org > Cc: Eric W. Biederman; Serge Hallyn; Daniel P. Berrange; Oleg Nesterov; Al >

Re: [PATCH] Btrfs: Refactor btrfs_lock_cluster() to kill compiler warning

2014-06-23 Thread Miao Xie
On Sun, 22 Jun 2014 14:30:09 +0200, Geert Uytterhoeven wrote: > fs/btrfs/extent-tree.c: In function ‘btrfs_lock_cluster’: > fs/btrfs/extent-tree.c:6399: warning: ‘used_bg’ may be used uninitialized in > this function > > - Replace "again: ... goto again;" by standard C "while (1) { ... }", >

Re: [PATCH 6/9] ARM: tegra: Export tegra_powergate_power_on

2014-06-23 Thread Peter De Schrijver
On Thu, Jun 19, 2014 at 06:01:47PM +0200, Stephen Warren wrote: > On 06/19/2014 02:02 AM, Peter De Schrijver wrote: > > On Wed, Jun 18, 2014 at 05:37:54PM +0200, Stephen Warren wrote: > >> On 06/18/2014 06:18 AM, Peter De Schrijver wrote: > >>> On Tue, Jun 17, 2014 at 11:51:20PM +0200, Thierry

Re: [PATCH 2/3] sched/rt: __disable_runtime: Enqueue just unthrottled rt_rq back on the stack

2014-06-23 Thread Peter Zijlstra
On Tue, Jun 17, 2014 at 05:24:16PM +0400, Kirill Tkhai wrote: > > Make rt_rq available for pick_next_task(). Otherwise, their tasks > stay prisoned long time till dead cpu becomes alive again. > > Signed-off-by: Kirill Tkhai > CC: Srikar Dronamraju > CC: Mike Galbraith > CC: Peter Zijlstra >

Re: [PATCH 1/3] sched/fair: Disable runtime_enabled on dying rq

2014-06-23 Thread Peter Zijlstra
On Tue, Jun 17, 2014 at 05:24:10PM +0400, Kirill Tkhai wrote: > @@ -3790,6 +3803,12 @@ static void __maybe_unused > unthrottle_offline_cfs_rqs(struct rq *rq) > cfs_rq->runtime_remaining = 1; > if (cfs_rq_throttled(cfs_rq)) >

Re: [PATCH 2/2] cfg80211: Use 5MHz bandwidth by default when checking usable channels

2014-06-23 Thread Johannes Berg
On Mon, 2014-06-23 at 12:04 +0200, Felix Fietkau wrote: > On 2014-06-23 11:08, Johannes Berg wrote: > > On Sun, 2014-06-22 at 13:41 +0200, Felix Fietkau wrote: > >> On 2014-04-15 14:37, Rostislav Lisovy wrote: > >> > Current code checks if the 20MHz bandwidth is allowed for > >> > particular

Re: [PATCH 2/2] cfg80211: Use 5MHz bandwidth by default when checking usable channels

2014-06-23 Thread Felix Fietkau
On 2014-06-23 11:08, Johannes Berg wrote: > On Sun, 2014-06-22 at 13:41 +0200, Felix Fietkau wrote: >> On 2014-04-15 14:37, Rostislav Lisovy wrote: >> > Current code checks if the 20MHz bandwidth is allowed for >> > particular channel -- if it is not, the channel is disabled. >> > Since we need to

Re: [PATCH] mm/vmscan.c: fix an implementation flaw in proportional scanning

2014-06-23 Thread Mel Gorman
On Thu, Jun 19, 2014 at 01:13:22PM -0700, Andrew Morton wrote: > On Thu, 19 Jun 2014 10:02:39 +0900 Minchan Kim wrote: > > > > > @@ -2057,8 +2057,7 @@ out: > > > > static void shrink_lruvec(struct lruvec *lruvec, struct scan_control > > > > *sc) > > > > { > > > > unsigned long

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