[PATCH 2/2 - revised] sysfs/kernfs: make read requests on pre-alloc files use the buffer.

2014-10-13 Thread NeilBrown
To match the previous patch which used the pre-alloc buffer for writes, this patch causes reads to use the same buffer. This is not strictly necessary as the current seq_read() will allocate on first read, so user-space can trigger the required pre-alloc. But consistency is valuable. The read

RE: [PATCH v3 0/3] mtd: nand: gpmi: add proper raw access support

2014-10-13 Thread Iwo Mergler
> > No, it doesn't seem to be correct. > But it's an MLC flash, so you'll most probably need to apply this patch > to nandbiterrs testsuite: > > http://code.bulix.org/f69wuu-87021 > > This patch is flashing the block between each bitflip insertion to > avoid multiple write without erasure (which,

Re: [PATCH] fs: Add a missing permission check to do_umount

2014-10-13 Thread Andy Lutomirski
On Thu, Oct 9, 2014 at 3:36 PM, Andy Lutomirski wrote: > On Wed, Oct 8, 2014 at 12:37 PM, Andy Lutomirski wrote: >> Accessing do_remount_sb should require global CAP_SYS_ADMIN, but >> only one of the two call sites was appropriately protected. >> >> Fixes CVE-2014-7975. > > Due to my ineptitude,

Re: [PATCH v3 2/2] DT: iio: vadc: document dt binding

2014-10-13 Thread Stanimir Varbanov
Thanks for the comments! On 10/12/2014 02:05 AM, Hartmut Knaack wrote: > Hi, > two small issues inline. > Stanimir Varbanov schrieb am 24.09.2014 14:56: >> Document DT binding for Qualcomm SPMI PMIC voltage ADC >> driver. >> >> Signed-off-by: Stanimir Varbanov >> Signed-off-by: Ivan T. Ivanov

[PATCH v5] zsmalloc: merge size_class to reduce fragmentation

2014-10-13 Thread Joonsoo Kim
zsmalloc has many size_classes to reduce fragmentation and they are in 16 bytes unit, for example, 16, 32, 48, etc., if PAGE_SIZE is 4096. And, zsmalloc has constraint that each zspage has 4 pages at maximum. In this situation, we can see interesting aspect. Let's think about size_class for 1488,

Re: [PATCH v4] zsmalloc: merge size_class to reduce fragmentation

2014-10-13 Thread Joonsoo Kim
On Thu, Oct 02, 2014 at 10:47:51AM -0400, Dan Streetman wrote: > >> I think that using ref would makes intuitive code. Although there is > >> some memory overhead, it is really small. So I prefer to this way. > >> > >> But, if you think that removing ref is better, I will do it. > >> Please let me

Re: [PATCH v2 1/4] dwc3: exynos: Add support for SCLK present on Exynos7

2014-10-13 Thread Vivek Gautam
Hi Felipe, On Tue, Oct 14, 2014 at 4:14 AM, Felipe Balbi wrote: > Hi, > > On Mon, Oct 13, 2014 at 01:54:59PM +0900, Anton Tikhomirov wrote: >> Hi Vivek, >> >> > Exynos7 also has a separate special gate clock going to the IP >> > apart from the usual AHB clock. So add support for the same. >> >>

Re: [PATCH v2 1/4] dwc3: exynos: Add support for SCLK present on Exynos7

2014-10-13 Thread Vivek Gautam
Hi Tomasz, On Tue, Oct 14, 2014 at 6:56 AM, Anton Tikhomirov wrote: > Hello, > >> Hi Anton, >> >> On 13.10.2014 06:54, Anton Tikhomirov wrote: >> > Hi Vivek, >> > >> >> Exynos7 also has a separate special gate clock going to the IP >> >> apart from the usual AHB clock. So add support for the

Re: [PATCHv2] staging: rtl8188eu: Fix coding style space related ERROR problems

2014-10-13 Thread Jia He
Sorry,seems git ate my one line words after mail subject: >From v1: suggested by j...@perches.com, fixed some points not checked or not correctly checked by checkpatch.pl On Tue, 14 Oct 2014 11:28:32 +0800 from hejia...@gmail.com wrote: > This fixes space related ERROR reports by checkpatch.pl >

[PATCH] arch/x86/purgatory/Makefile: supress kexec-purgatory.c is up to date message

2014-10-13 Thread WANG Chao
Supress this unnecessary message during kernel re-build (CONFIG_KEXEC_FILE=y): make[1]: `arch/x86/purgatory/kexec-purgatory.c' is up to date. Signed-off-by: WANG Chao --- arch/x86/purgatory/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/purgatory/Makefile

linux-next: Tree for Oct 14

2014-10-13 Thread Stephen Rothwell
Hi all, Please do not add any material intended for v3.19 to your linux-next included trees until after v3.18-rc1 has been released. Changes since 20141013: Removed trees: powernv-cpuidle, signal-cleanup Non-merge commits (relative to Linus' tree): 2254 2093 files changed, 71407 insertions

[PATCHv2] staging: rtl8188eu: Fix coding style space related ERROR problems

2014-10-13 Thread Jia He
This fixes space related ERROR reports by checkpatch.pl Generated by $ git ls-files "drivers/staging/rtl8188eu/*.[ch]" | \ xargs ./scripts/checkpatch.pl -f --fix-inplace --strict --types=SPACING Already checked by text comparasion $git diff -w and binary comparasion of r8188eu.ko $objdiff diff

Re: [PATCH 3.17 00/25] 3.17.1-stable review

2014-10-13 Thread Greg Kroah-Hartman
On Tue, Oct 14, 2014 at 04:39:11AM +0200, Greg Kroah-Hartman wrote: > On Mon, Oct 13, 2014 at 08:19:56AM -0700, Guenter Roeck wrote: > > On 10/12/2014 07:24 PM, Greg Kroah-Hartman wrote: > > >This is the start of the stable review cycle for the 3.17.1 release. > > >There are 25 patches in this

Re: [PATCH] spi: pl022: Fix incorrect dma_unmap_sg

2014-10-13 Thread Ray Jui
On 10/13/2014 4:08 AM, Mark Brown wrote: On Thu, Oct 09, 2014 at 11:44:54AM -0700, Ray Jui wrote: When mapped RX DMA entries are unmapped in an error condition when DMA is firstly configured in the driver, the number of TX DMA entries was passed in, which is incorrect Applied, thanks.

Re: [PATCH] spi: spidev: Use separate TX and RX bounce buffers

2014-10-13 Thread Ray Jui
On 10/13/2014 4:07 AM, Mark Brown wrote: On Thu, Oct 09, 2014 at 11:19:25AM -0700, Ray Jui wrote: By using separate TX and RX bounce buffers, we avoid potential cache flush and invalidation sequence issue that may be encountered when a single bounce buffer is shared between TX and RX Applied,

Re: [PATCH 3.17 00/25] 3.17.1-stable review

2014-10-13 Thread Greg Kroah-Hartman
On Mon, Oct 13, 2014 at 02:35:41PM -0600, Shuah Khan wrote: > On 10/12/2014 08:24 PM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 3.17.1 release. > > There are 25 patches in this series, all will be posted as a response > > to this one. If anyone has any

Re: [PATCH 3.17 00/25] 3.17.1-stable review

2014-10-13 Thread Greg Kroah-Hartman
On Mon, Oct 13, 2014 at 08:19:56AM -0700, Guenter Roeck wrote: > On 10/12/2014 07:24 PM, Greg Kroah-Hartman wrote: > >This is the start of the stable review cycle for the 3.17.1 release. > >There are 25 patches in this series, all will be posted as a response > >to this one. If anyone has any

[PATCH 2/2] xen/setup: warn on bad Xen-supplied memory map

2014-10-13 Thread Martin Kelly
Currently, we don't check the return code of sanitize_e820_map. However, if the Xen-supplied memory map is invalid, then sanitize_e820_map will return without doing anything, potentially leading to errors later on. Add a WARN_ON in case sanitize_e820_map detects an invalid memory map.

[PATCH 1/2] x86: separate out sanitize_e820_map return codes

2014-10-13 Thread Martin Kelly
Previously, sanitize_e820_map returned -1 in all cases in which it did nothing. However, sanitize_e820_map can do nothing either because the input map has size 1 (this is ok) or because the input map passed in is invalid (likely an issue). It is nice for the caller to be able to distinguish the

RE: [PATCH] mfd: syscon: binding: Add syscon endianness support.

2014-10-13 Thread li.xi...@freescale.com
Hi DT guys, Could someone help me review or ack this patch? Thanks very much. BRs Xiubo > -Original Message- > From: Xiubo Li [mailto:li.xi...@freescale.com] > Sent: Thursday, September 18, 2014 3:27 PM > To: Dong Aisheng-B29396; pankaj.du...@samsung.com; robh...@kernel.org; >

[PATCH] mm/compaction: avoid premature range skip in isolate_migratepages_range

2014-10-13 Thread Joonsoo Kim
commit edc2ca612496 ("mm, compaction: move pageblock checks up from isolate_migratepages_range()") commonizes isolate_migratepages variants and make them use isolate_migratepages_block(). isolate_migratepages_block() could stop the execution when enough pages are isolated, but, there is no code in

[PATCH 2/2] sched/deadline: don't need to balance during wakeup if wakee is pinned

2014-10-13 Thread Wanpeng Li
Use nr_cpus_allowed to bail from select_task_rq() when only one cpu can be used, and saves some cycles for pinned tasks. Signed-off-by: Wanpeng Li --- kernel/sched/deadline.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/kernel/sched/deadline.c b/kernel/sched/deadline.c index

[PATCH 1/2] sched/deadline: don't need to check SD_BALANCE_FORK

2014-10-13 Thread Wanpeng Li
There is no need to do balance during fork since SCHED_DEADLINE tasks can't fork. This patch avoid the SD_BALANCE_FORK check. Signed-off-by: Wanpeng Li --- kernel/sched/deadline.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/sched/deadline.c

Re: [PATCH] staging: dgap: re-arrange functions for removing forward declarations.

2014-10-13 Thread Joe Perches
On Tue, 2014-10-14 at 04:04 +0200, Greg KH wrote: > On Mon, Oct 13, 2014 at 07:56:38AM -0700, Joe Perches wrote: > > On Mon, 2014-10-13 at 17:01 +0900, DaeSeok Youn wrote: > > > 2014-10-13 12:25 GMT+09:00 Greg KH : > > > > On Mon, Oct 13, 2014 at 11:34:25AM +0900, Daeseok Youn wrote: > > > >>

Verify Your Account Else It Will Be Blocked

2014-10-13 Thread Webmaster
-- Dear user, We are undergoing maintenance therefore all accounts must be updated, this is to reduce the number of dormant accounts. Accounts not updated in 48 hours will be suspended. Please follow the hyper link below to update your account Click Here To Update Account.

How can I check creator of probe point?

2014-10-13 Thread Gioh Kim
Hi, I am trying to find a way to make statistics for memory allocation of my device driver. I want to know how much memory it allocates and how many times it calls kmalloc(). So I am considering to use kprobe but I think it doesn't provide a way to identify who makes the probe point. Can I

Re: RCU bug with v3.17-rc3 ?

2014-10-13 Thread Greg KH
On Mon, Oct 13, 2014 at 12:43:07PM +0100, Russell King - ARM Linux wrote: > On Mon, Oct 13, 2014 at 09:11:34AM +, David Laight wrote: > > From: Nathan Lynch > > > On 10/10/2014 11:25 AM, Russell King - ARM Linux wrote: > > > > > > > > Right, so GCC 4.8.{1,2} are totally unsuitable for kernel

Re: [PATCH] staging: dgap: re-arrange functions for removing forward declarations.

2014-10-13 Thread Greg KH
On Mon, Oct 13, 2014 at 07:56:38AM -0700, Joe Perches wrote: > On Mon, 2014-10-13 at 17:01 +0900, DaeSeok Youn wrote: > > Hi, > > > > 2014-10-13 12:25 GMT+09:00 Greg KH : > > > On Mon, Oct 13, 2014 at 11:34:25AM +0900, Daeseok Youn wrote: > > >> Re-arrange the functions for removing forward

RE: [PATCH 6/6] regmap: cache: Fix possible ZERO_SIZE_PTR pointer dereferencing error.

2014-10-13 Thread li.xi...@freescale.com
> Subject: Re: [PATCH 6/6] regmap: cache: Fix possible ZERO_SIZE_PTR pointer > dereferencing error. > > On Thu, Oct 09, 2014 at 05:02:57PM +0800, Xiubo Li wrote: > > When all the registers are volatile(unlikely, but logically and mostly > > will happen for some 'device' who has very few

Re: [RFC PATCH 3/3] i2c: show and change bus frequency via sysfs

2014-10-13 Thread Mark Roszko
> If this limitations exists >they are not introduced by this patch. This patch just exposes the >frequency so that it can be read or changed in userspace. Ah, well right now you can have an i2c bus with driver 1 and 2. Say the i2c bus is configured for 60khz in kernel space which normally can't

[git pull] drm tree for 3.18-rc1

2014-10-13 Thread Dave Airlie
Hi Linus, This is the main git pull for the drm, I pretty much froze major pulls at -rc5/6 time, and haven't had much fallout, so will probably continue doing that. Lots of changes all over, big internal header cleanup to make it clear drm features are legacy things and what are things that

RE: [PATCH 2/6] regmap: cache: cleanup regcache_hw_init().

2014-10-13 Thread li.xi...@freescale.com
Hi Mark, > Subject: Re: [PATCH 2/6] regmap: cache: cleanup regcache_hw_init(). > > On Thu, Oct 09, 2014 at 05:02:53PM +0800, Xiubo Li wrote: > > Remove the redundant code for regmap cache. > > Applied, thanks. With changes like this it is much better if the > changelog explains why the code is

Re: [PATCH 3.13 163/163] lzo: check for length overrun in variable length encoding.

2014-10-13 Thread Greg Kroah-Hartman
On Mon, Oct 13, 2014 at 10:31:03AM -0700, Kamal Mostafa wrote: > On Fri, 2014-10-10 at 07:30 +0200, Willy Tarreau wrote: > > Hi Kamal, > > > > [ removed Don Bailey from the CC who's certainly not interested in this ] > > > > On Thu, Oct 09, 2014 at 02:03:08PM -0700, Kamal Mostafa wrote: > > >

Re: [PATCH] lib/raid6: Add log level to printks

2014-10-13 Thread NeilBrown
On Mon, 13 Oct 2014 23:03:16 +1100 Anton Blanchard wrote: > > Signed-off-by: Anton Blanchard > --- > > Index: b/lib/raid6/algos.c > === > --- a/lib/raid6/algos.c > +++ b/lib/raid6/algos.c > @@ -121,9 +121,9 @@ static inline const

[patch 0/3] mm: memcontrol: lockless page counters v3

2014-10-13 Thread Johannes Weiner
Hi, this series replaces the spinlock_irq-protected 64-bit res_counters with lockless word-sized page counters. This improves memory cgroup scalability on the higher end and gets rid of 64-bit math on 32-bit machines in the core accounting, but also generally simplifies the counter code and

[patch 2/3] mm: hugetlb_cgroup: convert to lockless page counters

2014-10-13 Thread Johannes Weiner
Abandon the spinlock-protected byte counters in favor of the unlocked page counters in the hugetlb controller as well. Signed-off-by: Johannes Weiner Reviewed-by: Vladimir Davydov Acked-by: Michal Hocko --- Documentation/cgroups/hugetlb.txt | 2 +- include/linux/hugetlb_cgroup.h| 1 -

[patch 1/3] mm: memcontrol: lockless page counters

2014-10-13 Thread Johannes Weiner
Memory is internally accounted in bytes, using spinlock-protected 64-bit counters, even though the smallest accounting delta is a page. The counter interface is also convoluted and does too many things. Introduce a new lockless word-sized page counter API, then change all memory accounting over

[patch 3/3] kernel: res_counter: remove the unused API

2014-10-13 Thread Johannes Weiner
All memory accounting and limiting has been switched over to the lockless page counters. Bye, res_counter! Signed-off-by: Johannes Weiner Acked-by: Vladimir Davydov Acked-by: Michal Hocko --- Documentation/cgroups/resource_counter.txt | 197 -

RE: [PATCH v7 08/10] x86, mpx: add prctl commands PR_MPX_REGISTER, PR_MPX_UNREGISTER

2014-10-13 Thread Ren, Qiaowei
On 2014-10-14, Hansen, Dave wrote: > On 07/20/2014 11:09 PM, Andi Kleen wrote: >> Qiaowei Ren writes: >>> This patch adds the PR_MPX_REGISTER and PR_MPX_UNREGISTER prctl() >>> commands. These commands can be used to register and unregister MPX >>> related resource on the x86 platform. >> >>

Re: [PATCH 3.17 00/25] 3.17.1-stable review

2014-10-13 Thread Greg Kroah-Hartman
On Mon, Oct 13, 2014 at 08:23:19AM -0500, Chuck Ebbert wrote: > Stalls when using nohz, requires series of six patches to fix that > didn't make 3.17 and weren't marked for -stable: > > From a80e49e2cc3145af014a8ae44f575829cc236192 Mon Sep 17 00:00:00 2001 > From: Frederic Weisbecker > Subject:

Re: [PATCH 3.17 00/25] 3.17.1-stable review

2014-10-13 Thread Greg KH
On Mon, Oct 13, 2014 at 05:03:46PM -0400, George Spelvin wrote: > Romain Francoise wrote: > > Commit 1c40279960 ("libata: Un-break ATA blacklist") is apparently not > > included, is in Linus' tree since Friday, and is rather urgent. > > As the patch author, I agree. If nothing else, I'd like to

[PATCH 1/1 v2] driver:mtd:spi-nor:fix spi_nor_scan overwrite platform ID point

2014-10-13 Thread beanhuo
This patch used to modify the method of spi_nor_scan overwrite platform ID point. If type of platform data match with the name of spi_nor_ids set, and JEDEC ID also match with INFO ID of spi_nor_ids set,spi device ID point(this is before probed according to device name) shouldn't be

Re: [PATCH 3.17 00/25] 3.17.1-stable review

2014-10-13 Thread Greg Kroah-Hartman
On Mon, Oct 13, 2014 at 05:25:14PM +0200, Linus Torvalds wrote: > On Mon, Oct 13, 2014 at 1:28 PM, Henrique de Moraes Holschuh > wrote: > > > > I am not complaining that the patch hasn't made it to 3.17.1 (or even > > mainline) yet. > > Hmm. It's been in mainline.since last Friday, afaik. Now

RE: [PATCH v2 1/4] dwc3: exynos: Add support for SCLK present on Exynos7

2014-10-13 Thread Anton Tikhomirov
Hello, > Hi Anton, > > On 13.10.2014 06:54, Anton Tikhomirov wrote: > > Hi Vivek, > > > >> Exynos7 also has a separate special gate clock going to the IP > >> apart from the usual AHB clock. So add support for the same. > > > > As we discussed before, Exynos7 SoCs have 7 clocks to be controlled

[PATCH] xen/setup: add paranoid index check and warning

2014-10-13 Thread Martin Kelly
In a call to set_phys_range_identity, i-1 is used without checking that i is non-zero. Although unlikely, a bug in the code before it could cause the value to be 0, leading to erroneous behavior. This patch adds a check against 0 value and a corresponding warning. Signed-off-by: Martin Kelly ---

Re: [RESUBMIT PATCH v4 7/8] regulator: sky81452: Add compatible string for device binding

2014-10-13 Thread Gyungoh Yoo
On Mon, Oct 13, 2014 at 12:35:12PM +0200, Mark Brown wrote: > On Mon, Oct 13, 2014 at 02:47:41PM +0900, Gyungoh Yoo wrote: > > > - np = of_get_child_by_name(dev->parent->of_node, "regulator"); > > - if (unlikely(!np)) { > > + if (!np) { > > dev_err(dev, "regulator node not

[git pull] m68knommu arch fixes for 3.18

2014-10-13 Thread Greg Ungerer
Hi Linus, Can you please pull the m68knommu git tree, for-next branch. The major change is to remove the arch/m68k/platform directory. The coldfire (and other non-mmu m68k platform) code is moved to the arch/m68k level, making them consistent with the traditional m68k platforms. A couple of

Re: [RFC] dealing with proc_ns_follow_link() and "namespace" dentries

2014-10-13 Thread Al Viro
On Mon, Oct 13, 2014 at 07:29:45AM +0100, Al Viro wrote: > there and get rid of pointless aliases. Oh, and we get a decent chance to > kill d_instantiate_unique(), which is also nice. Or at least fold it into > d_add_unique(), if we can't kill that sucker as well. And if we manage to > kill it

Re: unaligned accesses in SLAB etc.

2014-10-13 Thread Joonsoo Kim
On Mon, Oct 13, 2014 at 08:04:16PM -0400, David Miller wrote: > From: Joonsoo Kim > Date: Tue, 14 Oct 2014 08:52:19 +0900 > > > I'd like to know that your another problem is related to commit > > bf0dea23a9c0 ("mm/slab: use percpu allocator for cpu cache"). So, > > if the commit is reverted,

Re: unaligned accesses in SLAB etc.

2014-10-13 Thread David Miller
From: Joonsoo Kim Date: Tue, 14 Oct 2014 08:52:19 +0900 > I'd like to know that your another problem is related to commit > bf0dea23a9c0 ("mm/slab: use percpu allocator for cpu cache"). So, > if the commit is reverted, your another problem is also gone > completely? The other problem has been

[PATCH v2] gpio: lib-sysfs: Add 'wakeup' attribute

2014-10-13 Thread Soren Brinkmann
Add an attribute 'wakeup' to the GPIO sysfs interface which allows marking/unmarking a GPIO as wake IRQ. The file 'wakeup' is created in each exported GPIOs directory, if an IRQ is associated with that GPIO and the irqchip implements set_wake(). Writing 'enabled' to that file will enable wake for

Re: unaligned accesses in SLAB etc.

2014-10-13 Thread Joonsoo Kim
On Mon, Oct 13, 2014 at 11:22:37PM +0300, mr...@linux.ee wrote: > > From: David Miller > > Date: Sat, 11 Oct 2014 22:15:10 -0400 (EDT) > > > > > > > > I'm getting tons of the following on sparc64: > > > > > > [603965.383447] Kernel unaligned access at TPC[546b58] > > > free_block+0x98/0x1a0 >

Re: [PATCH RESEND] gpio: lib-sysfs: Add 'wakeup' attribute

2014-10-13 Thread Sören Brinkmann
Hi Alexandre, On Sat, 2014-10-11 at 01:54PM +0900, Alexandre Courbot wrote: > On Fri, Sep 5, 2014 at 2:58 AM, Soren Brinkmann > wrote: > > Add an attribute 'wakeup' to the GPIO sysfs interface which allows > > marking/unmarking a GPIO as wake IRQ. > > The file 'wakeup' is created in each

Re: [PATCH] staging: dgap: re-arrange functions for removing forward declarations.

2014-10-13 Thread DaeSeok Youn
Hi, 2014-10-13 23:56 GMT+09:00 Joe Perches : > On Mon, 2014-10-13 at 17:01 +0900, DaeSeok Youn wrote: >> Hi, >> >> 2014-10-13 12:25 GMT+09:00 Greg KH : >> > On Mon, Oct 13, 2014 at 11:34:25AM +0900, Daeseok Youn wrote: >> >> Re-arrange the functions for removing forward declarations. >> >> >> >>

Re: [PATCH] ARM: dts: rockchip: add I2S controllers for rk3066 and rk3188

2014-10-13 Thread Heiko Stübner
Hi Julien, Am Montag, 13. Oktober 2014, 15:51:04 schrieb Julien CHAUVEAU: > Add the I2S/PCM controller nodes and pin controls for rk3066 and rk3188. > > Signed-off-by: Julien CHAUVEAU > --- > arch/arm/boot/dts/rk3066a.dtsi | 51 > ++

Re: [PATCH v2 1/4] dwc3: exynos: Add support for SCLK present on Exynos7

2014-10-13 Thread Tomasz Figa
Hi Anton, On 13.10.2014 06:54, Anton Tikhomirov wrote: > Hi Vivek, > >> Exynos7 also has a separate special gate clock going to the IP >> apart from the usual AHB clock. So add support for the same. > > As we discussed before, Exynos7 SoCs have 7 clocks to be controlled > by the driver. Adding

Re: [PATCH v2 1/4] dwc3: exynos: Add support for SCLK present on Exynos7

2014-10-13 Thread Felipe Balbi
Hi, On Mon, Oct 13, 2014 at 01:54:59PM +0900, Anton Tikhomirov wrote: > Hi Vivek, > > > Exynos7 also has a separate special gate clock going to the IP > > apart from the usual AHB clock. So add support for the same. > > As we discussed before, Exynos7 SoCs have 7 clocks to be controlled > by

Re: [RFC] dealing with proc_ns_follow_link() and "namespace" dentries

2014-10-13 Thread Eric W. Biederman
Al Viro writes: > But more fundamentally, this stuff has no business being in procfs. The > *only* reason why we are putting them there (and get those inodes and > dentries duplicated for different procfs instances) is this in > do_loopback(): > if (!check_mnt(parent) ||

Re: [PATCH v3 3/3] ARM: dts: rk3288: add VOP iommu nodes

2014-10-13 Thread Heiko Stübner
Hi Daniel, Am Samstag, 11. Oktober 2014, 02:30:48 schrieb Daniel Kurtz: > Add device nodes for the VOP iommus. > Device nodes for other iommus will be added in later patches. > > The iommu nodes use the #iommu-cells property as described in: > Documentation/devicetree/bindings/iommu/iommu.txt

[PATCH 3/4] hda_intel: Add Device IDs for Intel Sunrise Point PCH

2014-10-13 Thread James Ralston
This patch adds the HD Audio Device IDs for the Intel Sunrise Point PCH. Signed-off-by: James Ralston --- sound/pci/hda/hda_intel.c | 4 1 file changed, 4 insertions(+) diff --git a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c index aa302fb..8856604 100644 ---

[PATCH 2/4] i2c-i801: Add Device IDs for Intel Sunrise Point PCH

2014-10-13 Thread James Ralston
This patch adds the I2C/SMBus Device IDs for the Intel Sunrise Point PCH. Signed-off-by: James Ralston --- Documentation/i2c/busses/i2c-i801 | 1 + drivers/i2c/busses/Kconfig| 1 + drivers/i2c/busses/i2c-i801.c | 3 +++ 3 files changed, 5 insertions(+) diff --git

NON-CONTACT INFRARED THERMOMETER ANTI EBOLA VIRUS USD 16 PER ONE

2014-10-13 Thread Nick
Dear All NON-CONTACT INFRARED THERMOMETER ANTI EBOLA VIRUS Pls find attached the Products catalogue. 8806 model: 0-500 pcs USD 16 per one. 501-1000 pcs USD 15 per one. 8808 model: 0-500 pcs USD 17 per one, 501-1000 pcs USD 16 per one. Now this product is very hot, Any question please do

[PATCH 1/4] ahci: Add Device IDs for Intel Sunrise Point PCH

2014-10-13 Thread James Ralston
This patch adds the AHCI-mode SATA Device IDs for the Intel Sunrise Point PCH. Signed-off-by: James Ralston --- drivers/ata/ahci.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/ata/ahci.c b/drivers/ata/ahci.c index a0cc0ed..efa08f4 100644 --- a/drivers/ata/ahci.c +++

Re: [GIT PULL] xfs: updates for 3.18-rc1

2014-10-13 Thread Dave Chinner
On Mon, Oct 13, 2014 at 05:48:18AM -0400, Linus Torvalds wrote: > On Sun, Oct 12, 2014 at 9:37 PM, Dave Chinner wrote: > > > > i.e. I have generated this pull-req from the base tree I've been working > > on (3.17-rc2) but there have already been commits merged into a more > > recent upstream tree

Re: linux-next: status of the signal-cleanup tree

2014-10-13 Thread Stephen Rothwell
Hi Richard, On Mon, 13 Oct 2014 16:38:36 +0200 Richard Weinberger wrote: > > Just remove it. The "feature" was merged. OK, thanks. Gone now. -- Cheers, Stephen Rothwells...@canb.auug.org.au signature.asc Description: PGP signature

Re: [PATCH v9 net-next 2/4] net: filter: split filter.h and expose eBPF to user space

2014-10-13 Thread Alexei Starovoitov
On Mon, Oct 13, 2014 at 10:21 AM, Daniel Borkmann wrote: > On 09/03/2014 05:46 PM, Daniel Borkmann wrote: > ... >> >> Ok, given you post the remaining two RFCs later on this window as >> you indicate, I have no objections: >> >> Acked-by: Daniel Borkmann > > > Ping, Alexei, are you still sending

Re: [PATCH] tty/serial_core: Introduce lock mechanism for RS485

2014-10-13 Thread Nicolas Ferre
On 13/10/2014 21:03, Ricardo Ribalda Delgado : > Hello Nicolas > >> >> I have the feeling that moving the code chunk that uses this new >> variable (rs485_enabled) here ... >> >>> ret = uart_add_one_port(_uart, >uart); >>> if (ret) >>> goto err_add_port; >>> @@ -2574,7

Re: [GIT PULL] parisc architecture patch for v3.18

2014-10-13 Thread Aaro Koskinen
Hi, On Mon, Oct 13, 2014 at 10:24:53PM +0200, Helge Deller wrote: > On 10/13/2014 03:41 PM, One Thousand Gnomes wrote: > >I somehow doubt your kill command magically corrects its signal numbering > >table. Likewise what does gdb do given a core dump that died from one of > >those signals, and

[PATCHv1 0/8] CGroup Namespaces

2014-10-13 Thread Aditya Kali
Second take at the Cgroup Namespace patch-set. Major changes form RFC (V0): 1. setns support for cgroupns 2. 'mount -t cgroup cgroup ' from inside a cgroupns now mounts the cgroup hierarcy with cgroupns-root as the filesystem root. 3. writes to cgroup files outside of cgroupns-root are not

[PATCHv1 6/8] cgroup: restrict cgroup operations within task's cgroupns

2014-10-13 Thread Aditya Kali
Restrict following operations within the calling tasks: * cgroup_mkdir & cgroup_rmdir * cgroup_attach_task * writes to cgroup files outside of task's cgroupns-root Also, read of /proc//cgroup file is now restricted only to tasks under same cgroupns-root. If a task tries to look at cgroup of

[PATCHv1 4/8] cgroup: export cgroup_get() and cgroup_put()

2014-10-13 Thread Aditya Kali
move cgroup_get() and cgroup_put() into cgroup.h so that they can be called from other places. Signed-off-by: Aditya Kali --- include/linux/cgroup.h | 22 ++ kernel/cgroup.c| 22 -- 2 files changed, 22 insertions(+), 22 deletions(-) diff --git

[PATCHv1 2/8] sched: new clone flag CLONE_NEWCGROUP for cgroup namespace

2014-10-13 Thread Aditya Kali
CLONE_NEWCGROUP will be used to create new cgroup namespace. Signed-off-by: Aditya Kali --- include/uapi/linux/sched.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/uapi/linux/sched.h b/include/uapi/linux/sched.h index 34f9d73..2f90d00 100644 ---

[PATCHv1 5/8] cgroup: introduce cgroup namespaces

2014-10-13 Thread Aditya Kali
Introduce the ability to create new cgroup namespace. The newly created cgroup namespace remembers the 'struct cgroup *root_cgrp' at the point of creation of the cgroup namespace. The task that creates the new cgroup namespace and all its future children will now be restricted only to the cgroup

[PATCHv1 8/8] cgroup: mount cgroupns-root when inside non-init cgroupns

2014-10-13 Thread Aditya Kali
This patch enables cgroup mounting inside userns when a process as appropriate privileges. The cgroup filesystem mounted is rooted at the cgroupns-root. Thus, in a container-setup, only the hierarchy under the cgroupns-root is exposed inside the container. This allows container management tools to

[PATCHv1 7/8] cgroup: cgroup namespace setns support

2014-10-13 Thread Aditya Kali
setns on a cgroup namespace is allowed only if * task has CAP_SYS_ADMIN in its current user-namespace and over the user-namespace associated with target cgroupns. * task's current cgroup is descendent of the target cgroupns-root cgroup. * target cgroupns-root is same as or deeper than task's

[PATCHv1 3/8] cgroup: add function to get task's cgroup on default hierarchy

2014-10-13 Thread Aditya Kali
get_task_cgroup() returns the (reference counted) cgroup of the given task on the default hierarchy. Signed-off-by: Aditya Kali --- include/linux/cgroup.h | 1 + kernel/cgroup.c| 25 + 2 files changed, 26 insertions(+) diff --git a/include/linux/cgroup.h

[PATCHv1 1/8] kernfs: Add API to generate relative kernfs path

2014-10-13 Thread Aditya Kali
The new function kernfs_path_from_node() generates and returns kernfs path of a given kernfs_node relative to a given parent kernfs_node. Signed-off-by: Aditya Kali --- fs/kernfs/dir.c| 53 -- include/linux/kernfs.h | 3 +++ 2 files

Re: [PATCH v2] char: hw_random: core.c: Changed from using strncat to strlcat

2014-10-13 Thread Rickard Strandqvist
2014-10-12 21:22 GMT+02:00 Jason Cooper : > Rickard, > > On Sun, Oct 12, 2014 at 12:49:31PM +0200, Rickard Strandqvist wrote: >> Changed from using strncat to strlcat to simplify the code > > I'd like to see a little more explicit discussion here. As Guenter got > caught up in the

Re: [PATCH 3/4] UBI: Fastmap: Care about the protection queue

2014-10-13 Thread Richard Weinberger
Am 13.10.2014 um 17:23 schrieb Artem Bityutskiy: > Well, used and free are RB-trees, looking them up is slow. This is true but we'd have to look it up in multiple trees and the protection queue... > If what you need is to go through all used and free PEBs, then you can > introduce some kind of

Re: [PATCH 3.17 00/25] 3.17.1-stable review

2014-10-13 Thread George Spelvin
Romain Francoise wrote: > Commit 1c40279960 ("libata: Un-break ATA blacklist") is apparently not > included, is in Linus' tree since Friday, and is rather urgent. As the patch author, I agree. If nothing else, I'd like to be able to take off this brown paper bag. -- To unsubscribe from this

Re: [PATCH] pinctrl: baytrail: add missing module removal support

2014-10-13 Thread David Cohen
Hi Linus, On Mon, Oct 13, 2014 at 03:50:08PM -0500, Felipe Balbi wrote: > pinctrl-baytrail driver provides a proper ->remove() > method on its platform_driver definition, however there's > no way, currently, to unload the driver due to missing > module_exit(). This patch adds module_exit(). > >

Re: [PATCH] Crypto: gf128mul : fixed a parentheses coding style issue

2014-10-13 Thread Joe Perches
On Mon, 2014-10-13 at 21:52 +0100, Michael Roocroft wrote: > I fully intend to making more meaningful contributions > when my confidence in writing C is better than it is at the moment. I'll > concentrate > on making any changes to staging whilst I learn and get to grips with git, and > continue

Re: vxlan gro problem ?

2014-10-13 Thread Or Gerlitz
On Mon, Oct 13, 2014 at 11:14 AM, yinpeijun wrote: > On 2014/10/13 3:50, Or Gerlitz wrote: > my test environment use mellanox ConnectX-3 Pro nic , as I know the nic > support Rx checksum offload. but I am not confirm if should I do some > special configure? > or the nic driver or firmware

Re: [PATCH] tools: perf: util: sort.c: Changed from using strncat to strlcat

2014-10-13 Thread Rickard Strandqvist
2014-10-13 14:44 GMT+02:00 Jiri Olsa : > On Sun, Oct 12, 2014 at 10:40:35PM +0200, Rickard Strandqvist wrote: >> Changed from using strncat to strlcat to simplify the code >> >> Signed-off-by: Rickard Strandqvist >> --- >> tools/perf/util/sort.c | 12 >> 1 file changed, 4

Re: [PATCH 1/1 linux-next] fs/affs/amigaffs.c: use va_format instead of buffer/vnsprintf

2014-10-13 Thread Joe Perches
On Mon, 2014-10-13 at 22:39 +0200, Fabian Frederick wrote: > Remove ErrorBuffer and use %pV Maybe fix the format/argument mismatches too. https://lkml.org/lkml/2010/11/10/544 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

[PATCH] pinctrl: baytrail: add missing module removal support

2014-10-13 Thread Felipe Balbi
pinctrl-baytrail driver provides a proper ->remove() method on its platform_driver definition, however there's no way, currently, to unload the driver due to missing module_exit(). This patch adds module_exit(). Signed-off-by: Felipe Balbi --- drivers/pinctrl/pinctrl-baytrail.c | 7 ++- 1

Re: [PATCH] Crypto: gf128mul : fixed a parentheses coding style issue

2014-10-13 Thread Michael Roocroft
On 10/13/14 21:15, Joe Perches wrote: On Mon, 2014-10-13 at 21:12 +0100, Michael Roocroft wrote: On 10/13/14 00:01, Joe Perches wrote: On Sun, 2014-10-12 at 21:49 +0100, Mike Roocroft wrote: Fixed a coding style issue. [] diff --git a/crypto/gf128mul.c b/crypto/gf128mul.c [] @@ -97,7

[PATCH 1/1 linux-next] fs/affs/amigaffs.c: use va_format instead of buffer/vnsprintf

2014-10-13 Thread Fabian Frederick
Remove ErrorBuffer and use %pV Cc: Joe Perches Cc: Andrew Morton Signed-off-by: Fabian Frederick --- fs/affs/amigaffs.c | 28 +--- 1 file changed, 13 insertions(+), 15 deletions(-) diff --git a/fs/affs/amigaffs.c b/fs/affs/amigaffs.c index abc8539..9643bdd 100644 ---

Re: [PATCH] staging: comedi: drivers: comedi_bond.c: Changed from using strncat to strlcat

2014-10-13 Thread Rickard Strandqvist
2014-10-13 11:14 GMT+02:00 Ian Abbott : > On 12/10/14 13:23, Rickard Strandqvist wrote: >> >> Changed from using strncat to strlcat to simplify the code >> >> Signed-off-by: Rickard Strandqvist >> >> --- >> drivers/staging/comedi/drivers/comedi_bond.c |6 ++ >> 1 file changed, 2

Re: [PATCH v1 2/7] mm: Prepare for DAX huge pages

2014-10-13 Thread Kirill A. Shutemov
On Thu, Oct 09, 2014 at 04:40:26PM -0400, Matthew Wilcox wrote: > On Wed, Oct 08, 2014 at 10:43:35PM +0300, Kirill A. Shutemov wrote: > > On Wed, Oct 08, 2014 at 11:57:58AM -0400, Matthew Wilcox wrote: > > > On Wed, Oct 08, 2014 at 06:21:24PM +0300, Kirill A. Shutemov wrote: > > > > On Wed, Oct

NON-CONTACT INFRARED THERMOMETER ANTI EBOLA VIRUS USD 16 PER ONE

2014-10-13 Thread Nick
Dear All NON-CONTACT INFRARED THERMOMETER ANTI EBOLA VIRUS Pls find attached the Products catalogue. 8806 model: 0-500 pcs USD 16 per one. 501-1000 pcs USD 15 per one. 8808 model: 0-500 pcs USD 17 per one, 501-1000 pcs USD 16 per one. Now this product is very hot, Any question please do

Re: [PATCH 3.17 00/25] 3.17.1-stable review

2014-10-13 Thread Shuah Khan
On 10/12/2014 08:24 PM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 3.17.1 release. > There are 25 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses

Re: [PATCH 1/1 net-next] caif_usb: remove redundant memory message

2014-10-13 Thread Joe Perches
On Mon, 2014-10-13 at 22:25 +0200, Fabian Frederick wrote: > Let MM subsystem display out of memory messages. [] > diff --git a/net/caif/caif_usb.c b/net/caif/caif_usb.c [] > @@ -87,10 +87,9 @@ static struct cflayer *cfusbl_create(int phyid, u8 > ethaddr[ETH_ALEN], > { > struct cfusbl

Re: [PATCH] block: update locking context for blk_free_devt

2014-10-13 Thread Jens Axboe
On 2014-10-13 14:26, Dmitry Monakhov wrote: Jens Axboe writes: On 2014-10-13 12:35, Dmitry Monakhov wrote: After 2da78092 this function will not longer sleepy Signed-off-by: Dmitry Monakhov --- block/genhd.c |4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git

Re: [PATCH 3.14 00/37] 3.14.22-stable review

2014-10-13 Thread Shuah Khan
On 10/12/2014 08:23 PM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 3.14.22 release. > There are 37 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses

Re: [PATCH 3.16 00/55] 3.16.6-stable review

2014-10-13 Thread Shuah Khan
On 10/12/2014 08:24 PM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 3.16.6 release. > There are 55 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses

Re: [PATCH 3.10 00/16] 3.10.58-stable review

2014-10-13 Thread Shuah Khan
On 10/12/2014 08:23 PM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 3.10.58 release. > There are 16 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses

Re: [PATCH 1/3] ARM: zynq: Move common.h to generic location

2014-10-13 Thread Sören Brinkmann
On Mon, 2014-10-06 at 01:44PM +0200, Michal Simek wrote: > include/soc/zynq/ is the right location for this header > to be able to share information from this header with other > drivers which require it. > > Signed-off-by: Michal Simek > --- > > arch/arm/mach-zynq/common.c

Re: [PATCH] block: update locking context for blk_free_devt

2014-10-13 Thread Dmitry Monakhov
Jens Axboe writes: > On 2014-10-13 12:35, Dmitry Monakhov wrote: >> After 2da78092 this function will not longer sleepy >> >> Signed-off-by: Dmitry Monakhov >> --- >> block/genhd.c |4 +--- >> 1 files changed, 1 insertions(+), 3 deletions(-) >> >> diff --git a/block/genhd.c

Re: [PATCH 1/1 linux-next] scripts/checkpatch.pl: fix k[mz]alloc with multiplies check

2014-10-13 Thread Joe Perches
On Mon, 2014-10-13 at 22:06 +0200, Fabian Frederick wrote: > checkpatch doesn't seem to detect any case since > Commit e367455a9f25 > ("checkpatch: emit fewer kmalloc_array/kcalloc conversion warnings") It seems that worked too well. Thanks, I'll look at it. -- To unsubscribe from this list:

  1   2   3   4   5   6   7   8   9   10   >