Re: [PATCH v4 04/25] virtio: defer config changed notifications

2014-10-13 Thread Rusty Russell
"Michael S. Tsirkin" writes: > Defer config changed notifications that arrive during > probe/scan/freeze/restore. > > This will allow drivers to set DRIVER_OK earlier, without worrying about > racing with config change interrupts. > > This change will also benefit old hypervisors (before 2009) > t

Re: [PATCH] blk-merge: fix blk_recount_segments

2014-10-13 Thread Rusty Russell
Ming Lei writes: > Hi Rusty, Hi Ming! Sorry, I was on vacation. I'm back and slowly working through all my mail... > 1, FIO script > [global] > direct=1 > size=128G > bsrange=${BS}-${BS} > timeout=60 > numjobs=4 > ioengine=libaio > iodepth=64 > filename=/dev/vdb #backed by /dev/nu

Re: [PATCH v5] init: Disable defaults if init= fails

2014-10-13 Thread Rusty Russell
Andy Lutomirski writes: > If a user puts init=/whatever on the command line and /whatever > can't be run, then the kernel will try a few default options before > giving up. If init=/whatever came from a bootloader prompt, then > this is unexpected but probably harmless. On the other hand, if it

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

2014-10-13 Thread Linus Torvalds
On Tue, Oct 14, 2014 at 7:33 AM, Andy Lutomirski wrote: > > Linus, can you pull this? Pulled. You didn't mark the commit for stable. Oversight? Linus -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More major

Re: [PATCH RFC 1/5] sched,numa: build table of node hop distance

2014-10-13 Thread Peter Zijlstra
On Sun, Oct 12, 2014 at 09:28:04AM -0400, Rik van Riel wrote: > On 10/12/2014 09:17 AM, Peter Zijlstra wrote: > >On Wed, Oct 08, 2014 at 03:37:26PM -0400, r...@redhat.com wrote: > >>+ sched_domains_numa_hops = kzalloc(sizeof(int) * nr_node_ids * > >>nr_node_ids, GFP_KERNEL); > >>+ if (!sched_d

Re: btrfs: kernel BUG at fs/btrfs/extent_io.c:676!

2014-10-13 Thread Chris Mason
On Sun, Oct 12, 2014 at 10:15 PM, Sasha Levin wrote: Ping? This BUG_ON()ing due to GFP_ATOMIC allocation failure is really silly :( Agreed, I have a patch for this in testing. It didn't make my first pull but I'll get it fixed up. -chris -- To unsubscribe from this list: send the line

[RFC PATCH v3 4/5] dt-bindings: Document the standard property "poweroff-source"

2014-10-13 Thread Romain Perier
Signed-off-by: Romain Perier --- Documentation/devicetree/bindings/power/poweroff.txt | 18 ++ 1 file changed, 18 insertions(+) create mode 100644 Documentation/devicetree/bindings/power/poweroff.txt diff --git a/Documentation/devicetree/bindings/power/poweroff.txt b/Documentat

[RFC PATCH v3 3/5] ARM: dts: rockchip: Enable power off in pmic for Radxa Rock

2014-10-13 Thread Romain Perier
Add "poweroff-source" property to act8846 node. shutdown/poweroff commands are now handled for this board. Signed-off-by: Romain Perier --- arch/arm/boot/dts/rk3188-radxarock.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/rk3188-radxarock.dts b/arch/arm/boot/dts/rk3

[RFC v3 PATCH 1/5] of: Add standard property for poweroff capability

2014-10-13 Thread Romain Perier
Several drivers create their own devicetree property when they register poweroff capabilities. This is for example the case for mfd, regulator or power drivers which define "vendor,system-power-controller" property. This patch adds support for a standard property "poweroff-source" which marks the d

[RFC PATCH v3 2/5] regulator: act8865: Add support to turn off all outputs

2014-10-13 Thread Romain Perier
When the property "poweroff-source" is found in the devicetree, the function pm_power_off is defined. This function sends the rights bit fields to the global off control register. shutdown/poweroff commands are now supported for hardware components which use these PMU. Signed-off-by: Romain Perier

[RFC PATCH v3 5/5] dt-bindings: Document the property poweroff-source for act8865 regulator

2014-10-13 Thread Romain Perier
Signed-off-by: Romain Perier --- Documentation/devicetree/bindings/regulator/act8865-regulator.txt | 4 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/regulator/act8865-regulator.txt b/Documentation/devicetree/bindings/regulator/act8865-regulator.txt index 8

Re: [PATCH 3/3] spi: qup: Remove .owner field for driver

2014-10-13 Thread Kiran Padwal
On Monday 13 October 2014 06:39 PM, Mark Brown wrote: > On Thu, Oct 09, 2014 at 01:12:08PM +0530, Kiran Padwal wrote: >> There is no need to init .owner field. >> >> Based on the patch from Peter Griffin >> "mmc: remove .owner field for drivers using module_platform_driver" >> >> This patch remove

[PATCH v6] i2c: rk3x: adjust the LOW divison based on characteristics of SCL

2014-10-13 Thread Addy Ke
As show in I2C specification: - Standard-mode: the minimum HIGH period of the scl clock is 4.0us the minimum LOW period of the scl clock is 4.7us - Fast-mode: the minimum HIGH period of the scl clock is 0.6us the minimum LOW period of the scl clock is 1.3us I have mea

Re: [PATCH 1/3] input: alps: Reset mouse before identifying it

2014-10-13 Thread Dmitry Torokhov
On Fri, Oct 03, 2014 at 11:47:59AM +0200, Hans de Goede wrote: > Hi, > > Thanks for working on this! > > On 10/03/2014 11:43 AM, Pali Rohár wrote: > > On some systems after starting computer function alps_identify() does not > > detect > > dual ALPS touchpad+trackstick device correctly and detec

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

2014-10-13 Thread Alexandre Courbot
On Tue, Oct 14, 2014 at 8:47 AM, Sören Brinkmann wrote: > 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 G

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

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 sam

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 b/arch/x86/purga

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 inser

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

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

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 issu

[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. Signed-off-b

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

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; > pawel.m

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

[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 b/kernel/sched/deadline

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: > > > >> Re-ar

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. http://zimbra1.my3gb.c

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 di

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 bu

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 declar

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

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 b

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

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

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 inter

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

[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 - include/linux/res_counter

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

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

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

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 qu

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 found"

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

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, you

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 p

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

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 exported

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

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 > ++ arch/arm/boot/dts/rk31

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 o

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 the

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) || !check_mnt(old))

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 --- a/sound/pci/hda/hda_

[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 a/Documentation/i2c

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 n

[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 +++ b/drivers

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(&atmel_uart, &port->uart); >>> if (ret) >>> goto err_add_port; >>> @

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 what

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

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

[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 a/i

[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 --- a/include/uapi/li

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

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

[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 b/inclu

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

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 mis-understandin

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 list

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

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 t

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 n

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 insertion

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 majord...@vger.ke

  1   2   3   4   5   >