Re: [PATCH 0/4] use up highorder free pages before OOM

2016-10-10 Thread Michal Hocko
On Tue 11-10-16 14:06:43, Minchan Kim wrote: > On Mon, Oct 10, 2016 at 09:47:31AM +0200, Michal Hocko wrote: [...] > > that close to OOM usually blows up later or starts trashing very soon. > > It is true that a particular workload might benefit from ever last > > allocatable page in the system but

Re: [PATCH 3/4] mm: unreserve highatomic free pages fully before OOM

2016-10-10 Thread Michal Hocko
On Tue 11-10-16 14:01:41, Minchan Kim wrote: > Hi Michal, > > On Mon, Oct 10, 2016 at 09:41:40AM +0200, Michal Hocko wrote: > > On Fri 07-10-16 23:43:45, Minchan Kim wrote: > > > On Fri, Oct 07, 2016 at 11:09:17AM +0200, Michal Hocko wrote: [...] > > > > @@ -2102,10 +2109,12 @@ static void > > >

[GIT PULL] libnvdimm for 4.9

2016-10-10 Thread Williams, Dan J
- division support was included in next-20161010 with no reported issues.  It passes all unit tests including new tests for all the new functionality below. The following changes since commit 595c73071e6641e59b83911fbb4026e767471000: libnvdimm, region: fix flush hint table thinko (2016-09-24 11:45

Re: [PATCH v2 1/2] cpufreq/ondemand: Introduce op to customize mapping of load to frequency

2016-10-10 Thread Andreas Herrmann
On Wed, Oct 05, 2016 at 09:31:18AM +0530, Viresh Kumar wrote: > On 23-09-16, 19:02, Andreas Herrmann wrote: > > Introduce op for ondemand governor that is used to map load to > > frequency. It allows a cpufreq driver to provide a specific mapping > > function if the generic function is not optimal

Re: [PATCH 1/1] cpufreq: pcc-cpufreq: Re-introduce deadband effect to reduce number of frequency changes

2016-10-10 Thread Andreas Herrmann
On Wed, Oct 05, 2016 at 10:47:53AM +0530, Viresh Kumar wrote: > Sorry for being late Andreas :( > > On 14-09-16, 16:56, Andreas Herrmann wrote: > > First of all, thanks for your hardwork in getting these numbers out. > Really appreciate it. > > > Below is some trace data. I hope it is of some he

Re: [PATCH v3 0/3] gpio / pinctrl: cherryview: Fix missing events from EC

2016-10-10 Thread Phidias Chiang
Sorry for late response, the fix works like a charm :), thank you very much!

Re: [PATCH 24/54] md/raid1: Improve another size determination in setup_conf()

2016-10-10 Thread Dan Carpenter
Oops. I sent this email twice. Sorry, about that. regards, dan carpenter

Darlehen Angebot von 3%

2016-10-10 Thread Lloyds TSB Bank PLC
Schönen Tag, Dies ist Lloyds TSB Bank plc Kredite anbieten. Lloyds TSB bietet flexible und günstige Kredite für jeden Zweck Sie Ihre Ziele erreichen zu helfen. wir bei niedrigen Zinssatz von 3% Darlehen. Hier sind einige wichtige Merkmale der persönlichen Kredit angeboten durch Lloyds T

Re: [Xen-devel] [RFC KERNEL PATCH 0/2] Add Dom0 NVDIMM support for Xen

2016-10-10 Thread Haozhong Zhang
On 10/10/16 17:43, Andrew Cooper wrote: > On 10/10/16 01:35, Haozhong Zhang wrote: > > Overview > > > > This RFC kernel patch series along with corresponding patch series of > > Xen, QEMU and ndctl implements Xen vNVDIMM, which can map the host > > NVDIMM devices to Xen HVM domU as vNVDIMM

[PATCH] um: remove hppfs MAINTAINERS entry

2016-10-10 Thread Dan Carpenter
We removed hppfs in commit f74a14e870c8 ('um: Remove hppfs') so we can remove the MAINTAINERS entry as well. Signed-off-by: Dan Carpenter diff --git a/MAINTAINERS b/MAINTAINERS index 63f15c9..116729a 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -12671,7 +12671,6 @@ F: Documentation/virtual

Re: slab corruption with current -git (was Re: [git pull] vfs pile 1 (splice))

2016-10-10 Thread Linus Torvalds
On Mon, Oct 10, 2016 at 10:39 PM, Linus Torvalds wrote: > > I guess I will have to double-check that the slub corruption is gone > still with that fixed. So I'm not getting any warnings now from SLUB debugging. So the original bug seems to not have re-surfaced, and the registration bug is gone, s

Re: slab corruption with current -git (was Re: [git pull] vfs pile 1 (splice))

2016-10-10 Thread Linus Torvalds
On Sun, Oct 9, 2016 at 8:41 PM, Linus Torvalds wrote: > This COMPLETELY UNTESTED patch tries to fix the nf_hook_entry code to do this. > > I repeat: it's ENTIRELY UNTESTED. Gaah. That patch was subtle garbage. The "add to list" thing did this: rcu_assign_pointer(entry->next, p);

[PATCH 5/8] autofs - change autofs4_wait() to take struct path

2016-10-10 Thread Ian Kent
From: Ian Kent In order to use the functions path_is_mountpoint() (or its rcu-walk variant) and path_has_submounts() autofs needs to pass a struct path in several places. Now change autofs4_wait() to take a struct path instead of a struct dentry. Signed-off-by: Ian Kent Cc: Al Viro Cc: Eric W

[PATCH 2/8] vfs - add path_is_mountpoint() helper

2016-10-10 Thread Ian Kent
From: Ian Kent d_mountpoint() can only be used reliably to establish if a dentry is not mounted in any namespace. It isn't aware of the possibility there may be multiple mounts using a given dentry that may be in a different namespace. Add helper functions, path_is_mountpoint() and an rcu versio

[PATCH 8/8] vfs - remove unused have_submounts() function

2016-10-10 Thread Ian Kent
Now that path_has_submounts() has been added have_submounts() is no longer used so remove it. Signed-off-by: Ian Kent Cc: Al Viro Cc: Eric W. Biederman Cc: Omar Sandoval --- fs/dcache.c| 33 - include/linux/dcache.h |1 - 2 files changed, 34 d

[PATCH 3/8] vfs - add path_has_submounts()

2016-10-10 Thread Ian Kent
From: Ian Kent d_mountpoint() can only be used reliably to establish if a dentry is not mounted in any namespace. It isn't aware of the possibility there may be multiple mounts using the given dentry, possibly in a different namespace. Add function, path_has_submounts(), that checks is a struct

[PATCH 4/8] autofs - change autofs4_expire_wait() to take struct path

2016-10-10 Thread Ian Kent
From: Ian Kent In order to use the functions path_is_mountpoint() (or it's rcu-walk variant) and path_has_submounts() autofs needs to pass a struct path in several places. Start by changing autofs4_expire_wait() to take a struct path instead of a struct dentry. Signed-off-by: Ian Kent Cc: Al V

[PATCH 6/8] autofs - use path_is_mountpoint() to fix unreliable d_mountpoint() checks

2016-10-10 Thread Ian Kent
From: Ian Kent If an automount mount is clone(2)ed into a file system that is propagation private, when it later expires in the originating namespace, subsequent calls to autofs ->d_automount() for that dentry in the original namespace will return ELOOP until the mount is umounted in the cloned n

Re: [PATCH] mm/vmalloc: reduce the number of lazy_max_pages to reduce latency

2016-10-10 Thread Joel Fernandes
On Mon, Oct 10, 2016 at 10:06 PM, Joel Fernandes wrote: > On Sun, Oct 9, 2016 at 12:26 PM, Chris Wilson > wrote: >> On Sun, Oct 09, 2016 at 12:00:31PM -0700, Joel Fernandes wrote: >>> Ok. So I'll submit a patch with mutex for purge_lock and use >>> cond_resched_lock for the vmap_area_lock as you

[PATCH 7/8] autofs - use path_has_submounts() to fix unreliable have_submount() checks

2016-10-10 Thread Ian Kent
From: Ian Kent If an automount mount is clone(2)ed into a file system that is propagation private, when it later expires in the originating namespace, subsequent calls to autofs ->d_automount() for that dentry in the original namespace will return ELOOP until the mount is umounted in the cloned n

[PATCH 1/8] vfs - change d_manage() to take a struct path

2016-10-10 Thread Ian Kent
For the autofs module to be able to reliably check if a dentry is a mountpoint in a multiple namespace environment the ->d_manage() dentry operation will need to take a path argument instead of a dentry. Signed-off-by: Ian Kent Cc: Al Viro Cc: Eric W. Biederman Cc: Omar Sandoval --- Documenta

Re: [PATCH v17 3/4] usb: gadget: Integrate with the usb gadget supporting for usb charger

2016-10-10 Thread Baolin Wang
Hi Baolu, On 11 October 2016 at 12:32, Lu Baolu wrote: > Hi, > > On 10/11/2016 12:07 PM, Baolin Wang wrote: /* >> + * usb_charger_unregister() - Unregister a usb charger. >> + * @uchger - the usb charger to be unregistered. >> + */ >> +static int usb_charger_unregister(s

Re: [PATCH 0/4] use up highorder free pages before OOM

2016-10-10 Thread Minchan Kim
On Mon, Oct 10, 2016 at 09:47:31AM +0200, Michal Hocko wrote: > On Sat 08-10-16 00:04:25, Minchan Kim wrote: > [...] > > I can show other log which reserve greater than 1%. See the DMA32 zone > > free pages. It was GFP_ATOMIC allocation so it's different with I posted > > but important thing is VM

Re: [PATCH] mm/vmalloc: reduce the number of lazy_max_pages to reduce latency

2016-10-10 Thread Joel Fernandes
On Sun, Oct 9, 2016 at 12:26 PM, Chris Wilson wrote: > On Sun, Oct 09, 2016 at 12:00:31PM -0700, Joel Fernandes wrote: >> Ok. So I'll submit a patch with mutex for purge_lock and use >> cond_resched_lock for the vmap_area_lock as you suggested. I'll also >> drop the lazy_max_pages to 8MB as Andi s

Re: kernel v4.8: iptables logs are truncated with the 4.8 kernel?

2016-10-10 Thread Liping Zhang
2016-10-11 11:57 GMT+08:00 Chris Caputo : > I have tested the above patch with 4.8.1, with and without nflog-size > defined in an iptables configuration, and it works well. > > The ulogd-2.0.5 segfaults no longer happen when nflog-size is not present > in a target. > > I recommend this fix. Thanks

Re: [PATCH 3/4] mm: unreserve highatomic free pages fully before OOM

2016-10-10 Thread Minchan Kim
Hi Michal, On Mon, Oct 10, 2016 at 09:41:40AM +0200, Michal Hocko wrote: > On Fri 07-10-16 23:43:45, Minchan Kim wrote: > > On Fri, Oct 07, 2016 at 11:09:17AM +0200, Michal Hocko wrote: > > > On Fri 07-10-16 14:45:35, Minchan Kim wrote: > > > > After fixing the race of highatomic page count, I sti

Re: [PATCH 1/4] mm: adjust reserved highatomic count

2016-10-10 Thread Minchan Kim
Hi Vlasimil, On Mon, Oct 10, 2016 at 08:57:40AM +0200, Vlastimil Babka wrote: > On 10/07/2016 04:29 PM, Minchan Kim wrote: > >>>In that case, we should adjust nr_reserved_highatomic. > >>>Otherwise, VM cannot reserve highorderatomic pageblocks any more > >>>although it doesn't reach 1% limit. It m

Re: [PATCH v17 3/4] usb: gadget: Integrate with the usb gadget supporting for usb charger

2016-10-10 Thread Lu Baolu
Hi, On 10/11/2016 12:07 PM, Baolin Wang wrote: >>> /* >>> >> + * usb_charger_unregister() - Unregister a usb charger. >>> >> + * @uchger - the usb charger to be unregistered. >>> >> + */ >>> >> +static int usb_charger_unregister(struct usb_charger *uchger) >>> >> +{ >>> >> + ida_simple_remove

Re: [PATCH v14 2/4] CMDQ: Mediatek CMDQ driver

2016-10-10 Thread Jassi Brar
On 11 October 2016 at 08:10, Horng-Shyang Liao wrote: > On Thu, 2016-10-06 at 18:40 +0530, Jassi Brar wrote: >> On 6 October 2016 at 18:31, Horng-Shyang Liao wrote: >> >> > Back to our original statement, we need to flush all tasks to queue >> > in GCE HW; i.e. we need to use mbox_client_txdone a

Re: [PATCH kernel v2] PCI: Enable access to custom VPD for Chelsio devices (cxgb3)

2016-10-10 Thread Alexey Kardashevskiy
On 11/10/16 02:23, Alexander Duyck wrote: > On Wed, Sep 28, 2016 at 10:21 PM, Alexey Kardashevskiy wrote: >> There is at least one Chelsio 10Gb card which uses VPD area to store >> some custom blocks (example below). However pci_vpd_size() returns >> the length of the first block only assuming tha

Re: [PATCH v17 3/4] usb: gadget: Integrate with the usb gadget supporting for usb charger

2016-10-10 Thread Baolin Wang
Hi Baolu, On 11 October 2016 at 11:06, Lu Baolu wrote: > Hi, > > On 10/10/2016 02:22 PM, Baolin Wang wrote: >> When the usb gadget supporting for usb charger is ready, the usb charger >> can implement the usb_charger_plug_by_gadget() function, usb_charger_exit() >> function and dev_to_uchger() fu

Re: [PATCH 2/2] x86, kvm: use kvmclock to compute TSC deadline value

2016-10-10 Thread Wanpeng Li
2016-09-10 0:38 GMT+08:00 Paolo Bonzini : > > > On 09/09/2016 00:13, David Matlack wrote: >> Hi Paolo, >> >> On Tue, Sep 6, 2016 at 3:29 PM, Paolo Bonzini wrote: >>> Bad things happen if a guest using the TSC deadline timer is migrated. >>> The guest doesn't re-calibrate the TSC after migration, a

Re: [PATCH v17 1/4] usb: gadget: Introduce the usb charger framework

2016-10-10 Thread Baolin Wang
Hi Baolu, On 11 October 2016 at 10:59, Lu Baolu wrote: > Hi Baolin, > > Some review comments below. > > On 10/10/2016 02:22 PM, Baolin Wang wrote: >> This patch introduces the usb charger driver based on usb gadget that >> makes an enhancement to a power driver. It works well in practice but >> t

Re: kernel v4.8: iptables logs are truncated with the 4.8 kernel?

2016-10-10 Thread Chris Caputo
On Tue, 11 Oct 2016, Liping Zhang wrote: > Yes, thanks for clarifying this. There's a bug in kernel, can you try > this patch: > > diff --git a/net/netfilter/xt_NFLOG.c b/net/netfilter/xt_NFLOG.c > index 018eed7..8c069b4 100644 > --- a/net/netfilter/xt_NFLOG.c > +++ b/net/netfilter/xt_NFLOG.c > @@

Good News

2016-10-10 Thread Friedrich Mayrhofer..
-- This is the second time i am sending you this mail. I, Friedrich Mayrhofer Donate $ 1,000,000.00 to You, Email Me personally for more details. Regards. Friedrich Mayrhofer

Re: [PATCH 04/10] i2c: i2c-mux-i2cs: Add device tree bindings

2016-10-10 Thread Peter Rosin
On 2016-10-07 17:21, Pantelis Antoniou wrote: > From: Georgi Vlaev > > Add binding document for the i2c mux driver of Juniper's I2CS FPGA. > > Signed-off-by: Georgi Vlaev > [Ported from Juniper kernel] > Signed-off-by: Pantelis Antoniou > --- > .../devicetree/bindings/i2c/jnx,i2c-mux-i2cs.txt

Re: [PATCH 1/5] dt-bindings: add vendor prefix for ILI Technology Corp

2016-10-10 Thread Dmitry Torokhov
On Mon, Oct 10, 2016 at 5:33 PM, Icenowy Zheng wrote: > ILI Technology Corp (a.k.a Ilitek, http://www.ilitek.com/index-e.asp ) is a > company that produces LCD driver ICs and touch screen controller ICs. Was there patch 3/5? I do not see it in my mailbox. > > Signed-off-by: Icenowy Zheng > ---

Re: [RESEND PATCH v6, 4/5] usb: Add MediaTek USB3 DRD Driver

2016-10-10 Thread Chunfeng Yun
On Mon, 2016-10-10 at 13:00 +0200, Matthias Brugger wrote: > > On 09/21/2016 07:54 AM, Chunfeng Yun wrote: > > This patch adds support for the MediaTek USB3 controller > > integrated into MT8173. It can be configured as Dual-Role > > Device (DRD), Peripheral Only and Host Only (xHCI) modes. > > >

Re: [PATCH v17 3/4] usb: gadget: Integrate with the usb gadget supporting for usb charger

2016-10-10 Thread Lu Baolu
Hi, On 10/10/2016 02:22 PM, Baolin Wang wrote: > When the usb gadget supporting for usb charger is ready, the usb charger > can implement the usb_charger_plug_by_gadget() function, usb_charger_exit() > function and dev_to_uchger() function by getting 'struct usb_charger' from > 'struct gadget'. >

linux-next: Tree for Oct 11

2016-10-10 Thread Stephen Rothwell
Hi all, Please do *not* add any v4.10 material to your linux-next included trees until v4.9-rc1 has been released i.e. the merge window closes. Changes since 20161010: Non-merge commits (relative to Linus' tree): 3095 3410 files changed, 169222 insertions(+), 98883 dele

[git pull] vfs.git

2016-10-10 Thread Al Viro
->rename2() work from Miklos + current_time() from Deepa. The following changes since commit 08895a8b6b06ed2323cd97a36ee40a116b3db8ed: Linux 4.8-rc8 (2016-09-25 18:47:13 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git for-lin

RE: [PATCH 4/5] rpmsg: Driver for user space endpoint interface

2016-10-10 Thread Marek Novak
-Original Message- From: Bjorn Andersson [mailto:bjorn.anders...@linaro.org] Sent: Saturday, October 08, 2016 6:23 AM To: Ohad Ben-Cohen ; Bjorn Andersson Cc: Jonathan Corbet ; Linus Walleij ; Marek Novak ; Matteo Sartori ; Michal Simek ; linux-...@vger.kernel.org; linux-kernel@vger.k

[PATCH v1 2/2] MIPS: loongson1: Add watchdog support for Loongson1C board

2016-10-10 Thread Yang Ling
The patch adds watchdog support for Loongson1C board. Signed-off-by: Yang Ling --- arch/mips/configs/loongson1c_defconfig | 4 arch/mips/include/asm/mach-loongson32/platform.h | 1 + arch/mips/loongson32/common/platform.c | 16 arch/mips/loongson32/ls1

Re: [PATCH v17 1/4] usb: gadget: Introduce the usb charger framework

2016-10-10 Thread Lu Baolu
Hi Baolin, Some review comments below. On 10/10/2016 02:22 PM, Baolin Wang wrote: > This patch introduces the usb charger driver based on usb gadget that > makes an enhancement to a power driver. It works well in practice but > that requires a system with suitable hardware. > > The basic concepti

[PATCH v1 1/2] watchdog: loongson1: Add Loongson1 SoC watchdog driver

2016-10-10 Thread Yang Ling
Add watchdog timer specific driver for Loongson1 SoC. Signed-off-by: Yang Ling --- drivers/watchdog/Kconfig | 7 ++ drivers/watchdog/Makefile| 1 + drivers/watchdog/loongson1_wdt.c | 158 +++ 3 files changed, 166 insertions(+) create mode

Re: [RESEND PATCH v6, 3/5] usb: xhci-mtk: make IPPC register optional

2016-10-10 Thread Chunfeng Yun
On Mon, 2016-10-10 at 12:55 +0200, Matthias Brugger wrote: > > On 09/21/2016 07:54 AM, Chunfeng Yun wrote: > > Make IPPC register optional to support host side of dual-role mode, > > due to it is moved into common glue layer for simplification. > > > > Signed-off-by: Chunfeng Yun > > --- > > dri

Re: [PATCH v14 2/4] CMDQ: Mediatek CMDQ driver

2016-10-10 Thread Horng-Shyang Liao
On Thu, 2016-10-06 at 18:40 +0530, Jassi Brar wrote: > On 6 October 2016 at 18:31, Horng-Shyang Liao wrote: > > > Back to our original statement, we need to flush all tasks to queue > > in GCE HW; i.e. we need to use mbox_client_txdone after > > mbox_send_message, or send tx_done once mailbox con

[PATCH] staging: android: ion: Make ion_free asynchronous more actively.

2016-10-10 Thread ming.ling
From: Ming Ling So far some ion heaps such as carveout_heap, chunk_heap, system_heap have freed buffers asynchrounously. Freed buffers are placed on a free list and freed from a low priority background thread. If allocations from a particular heap fail, the free list is drained. But that mechani

I Hope You Get My Message This Time

2016-10-10 Thread Friedrich Mayrhofer
This is the second time i am sending you this mail. I, Friedrich Mayrhofer Donate $ 1,000,000.00 to You, Email Me personally for more details. Regards. Friedrich Mayrhofer

[lkp] [driver core] bea5b158ff: kobject (922508b4): tried to init an initialized object

2016-10-10 Thread kernel test robot
FYI, we noticed the following commit: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master commit bea5b158ff0da9c7246ff391f754f5f38e34577a ("driver core: add test of driver remove calls during probe") in testcase: trinity with following parameters: runtime: 300s

[PATCH] objtool: support '-mtune=atom' stack frame setup instruction

2016-10-10 Thread Josh Poimboeuf
>From 60c982d4d04014adb3bde1ebee6ca95320ffb213 Mon Sep 17 00:00:00 2001 Message-Id: <60c982d4d04014adb3bde1ebee6ca95320ffb213.1476150736.git.jpoim...@redhat.com> From: Josh Poimboeuf Date: Mon, 10 Oct 2016 15:24:01 -0500 Subject: [PATCH] objtool: support '-mtune=atom' stack frame setup instructi

Re: tty, fbcon: use-after-free in fbcon_invert_region

2016-10-10 Thread Scot Doyle
On Fri, 7 Oct 2016, Dmitry Vyukov wrote: > On Sat, Sep 3, 2016 at 9:20 PM, Dmitry Vyukov wrote: > > Hello, > > > > The following program causes use-after-free in fbcon_invert_region: > > > > https://gist.githubusercontent.com/dvyukov/d657f9a9ca39f34c430dcf63ec1153ac/raw/04e1b94aef0fc9eb770d11373b5

Re: [PATCH v8 10/16] mm/memblock: add a new function memblock_alloc_near_nid

2016-10-10 Thread Leizhen (ThunderTown)
On 2016/9/1 14:55, Zhen Lei wrote: > If HAVE_MEMORYLESS_NODES is selected, and some memoryless numa nodes are > actually exist. The percpu variable areas and numa control blocks of that > memoryless numa nodes must be allocated from the nearest available node > to improve performance. > > Signed

Re: [PATCH 3/3] mtd: s3c2410: parse the device configuration from OF node

2016-10-10 Thread Sergio Prado
On Fri, Oct 07, 2016 at 07:28:10PM +0300, Krzysztof Kozlowski wrote: > > +struct s3c24XX_nand_devtype_data { > > + enum s3c_cpu_type type; > > +}; > > + > > +struct s3c24XX_nand_devtype_data s3c2410_nand_devtype_data = { > > + .type = TYPE_S3C2410, > > +}; > > + > > +struct s3c24XX_nand_devtyp

Re: [PATCH v2] clk: hisilicon: add CRG driver for Hi3798CV200 SoC

2016-10-10 Thread Jiancheng Xue
在 2016/9/24 9:45, Jiancheng Xue 写道: > 在 2016/9/24 1:47, Rob Herring 写道: >> On Sun, Sep 18, 2016 at 03:30:21PM +0800, Jiancheng Xue wrote: >>> Add CRG driver for Hi3798CV200 SoC. CRG(Clock and Reset >>> Generator) module generates clock and reset signals used >>> by other module blocks on SoC. >>>

Re: kernel v4.8: iptables logs are truncated with the 4.8 kernel?

2016-10-10 Thread Liping Zhang
2016-10-11 2:33 GMT+08:00 Chris Caputo : >> >> What numbers did you specify after --nflog-size option? >> --nflog-size 0 or ...? If you want log the whole packet to >> the ulogd, please do not specify this nflog-size option. > > Not specifying nflog-size does not appear to log the whole packet... >

RE: [GIT PULL 1/3] ARM: soc: exynos: Drivers for v4.9

2016-10-10 Thread Kukjin Kim
Kukjin Kim wrote: - Krzysztof's samsung email because he is not using now > > 2016. 10. 3. 21:19 Kukjin Kim wrote: > > + my samsung email > > > 2016. 10. 3. 15:48 Krzysztof Kozlowski wrote: > > > On Sun, Oct 02, 2016 at 05:25:07PM -0700, Olof Johansson wrote: > > On Mon, Sep 19, 201

Re: slab corruption with current -git

2016-10-10 Thread Linus Torvalds
On Mon, Oct 10, 2016 at 5:30 PM, David Miller wrote: > > Linus can you add some extra info to that: Sure. I made it a WARN_ON_ONCE(), but then always just printed the pf/hooknum. It's all over the map: reg->pf=2 and reg->hooknum=4 reg->pf=2 and reg->hooknum=2 reg->pf=2 and reg->hooknum=3 reg

Re: [GIT PULL 1/3] ARM: soc: exynos: Drivers for v4.9

2016-10-10 Thread Kukjin Kim
2016. 10. 3. 21:19 Kukjin Kim wrote: + my samsung email > 2016. 10. 3. 15:48 Krzysztof Kozlowski wrote: > On Sun, Oct 02, 2016 at 05:25:07PM -0700, Olof Johansson wrote: > On Mon, Sep 19, 2016 at 8:53 AM, Krzysztof Kozlowski > wrote: >> On Mon, Sep 19, 2016 at 05:02:40PM +02

[PATCH RESEND] elevator: remove second argument in elevator_init()

2016-10-10 Thread Alexey Klimov
Last user of elevator_init() with non-NULL name as second argument that supposed to be s390 dasd driver has gone few releases ago. Drivers rely on elevator_change(), elevator_switch() and friends for example. Right now elevator_init() is always called as elevator_init(q, NULL). Patch removes passi

Re: slab corruption with current -git

2016-10-10 Thread David Miller
From: Linus Torvalds Date: Mon, 10 Oct 2016 12:05:17 -0700 > David - I think that also explains what was wrong with the old code. > In the old code, this loop: > > while (hooks_entry && nf_entry_dereference(hooks_entry->next)) { > > would exit with "hooks_entry" pointing to the last lis

Re: [RFC] [PATCH] arch: x86: change GCC optimisation target from atom to bonnell

2016-10-10 Thread hpa
On October 10, 2016 2:45:38 PM PDT, Rui Salvaterra wrote: >Hi, Thomas, Ingo, Peter, > >(Sending as RFC, since I don't know if this patch is acceptable.) > >The GCC team has deprecated atom as a march/mtune target since almost >three >years ago, according to this mailing list thread [1], in favour

Re: [PATCH 5/7] ramoops: Split ftrace buffer space into per-CPU zones

2016-10-10 Thread Kees Cook
On Mon, Oct 10, 2016 at 4:59 PM, Kees Cook wrote: > On Sun, Oct 9, 2016 at 10:15 AM, Joel Fernandes wrote: >> On Fri, Oct 7, 2016 at 10:28 PM, Joel Fernandes wrote: >>> If FTRACE_PER_CPU flag is passed to ramoops pdata, split the space into >>> multiple zones depending on the number of CPUs. >>>

Re: [PATCH 5/7] ramoops: Split ftrace buffer space into per-CPU zones

2016-10-10 Thread Kees Cook
On Sun, Oct 9, 2016 at 10:15 AM, Joel Fernandes wrote: > On Fri, Oct 7, 2016 at 10:28 PM, Joel Fernandes wrote: >> If FTRACE_PER_CPU flag is passed to ramoops pdata, split the space into >> multiple zones depending on the number of CPUs. >> >> This speeds up the performance of function tracing by

Re: [PATCH 4/7] pstore: Make ramoops_init_przs generic for other prz arrays

2016-10-10 Thread Kees Cook
On Fri, Oct 7, 2016 at 10:28 PM, Joel Fernandes wrote: > Currently ramoops_init_przs is hard wired only for panic dump zone array. In > preparation for the ftrace zone array (one zone per-cpu), make the function > more generic to be able to handle this case. > > Add a new ramoops_init_dump_przs fu

Re: [PATCH 3/7] pstore: Remove case of PSTORE_TYPE_PMSG write using deprecated function

2016-10-10 Thread Kees Cook
On Fri, Oct 7, 2016 at 10:28 PM, Joel Fernandes wrote: > PMSG now uses ramoops_pstore_write_buf_user instead of > ramoops_pstore_write_buf > Remove the case where we check PSTORE_TYPE_PMSG case. Ah yeah, good point. Can you actually improve this to add a ratelimited WARN() to both _write_buf and

Re: [PATCH 1/7] pstore: Make spinlock per zone instead of global

2016-10-10 Thread Kees Cook
On Fri, Oct 7, 2016 at 10:28 PM, Joel Fernandes wrote: > Currently pstore has a global spinlock for all zones. Since the zones are > independent and modify different areas of memory, there's no need to have > a global lock, make the lock per-zone to protect the respective zone. This seems fine to

Re: [PATCH 2/7] pstore: locking: dont lock unless caller asks to

2016-10-10 Thread Kees Cook
On Fri, Oct 7, 2016 at 10:28 PM, Joel Fernandes wrote: > In preparation of not locking at all for certain buffers depending on if > there's contention, make locking optional depending if caller requested it. This should be a bool argument (or enum), with named values so it's more readable. For ex

Re: [PATCH v3 2/9] hwmon: (core) New hwmon registration API

2016-10-10 Thread Guenter Roeck
On Fri, Oct 07, 2016 at 02:32:13PM +0200, Jean Delvare wrote: > Hi Guenter, > > On Tue, 4 Oct 2016 12:37:13 -0700, Guenter Roeck wrote: > > On Tue, Oct 04, 2016 at 10:45:59AM +0200, Jean Delvare wrote: > > > I see this patch is upstream now, but I had started reviewing it and > > > maybe some of m

Re: [PATCH v3 11/18] x86/intel_rdt: Add basic resctrl filesystem support

2016-10-10 Thread Luck, Tony
On Sun, Oct 09, 2016 at 05:31:25PM -0500, Nilay Vaish wrote: > > +static struct dentry *rdt_mount(struct file_system_type *fs_type, > > + int flags, const char *unused_dev_name, > > + void *data) > > +{ > > + struct dentry *dentry; >

Re: [PATCH 0/8] pinctrl: aspeed: Fixes for core and g5, implement remaining pins

2016-10-10 Thread Andrew Jeffery
On Mon, 2016-10-10 at 09:59 +0200, Linus Walleij wrote: > On Tue, Sep 27, 2016 at 4:50 PM, Andrew Jeffery wrote: > > > > > The initial Aspeed pinctrl patches implemented a subset of pins for each of > > the > > g4 and g5 SoCs. This series provides a number of fixes to the initial > > patches,

Re: [PATCH/RFT 09/12] usb: host: ohci-da8xx: Add devicetree bindings documentation

2016-10-10 Thread David Lechner
On 10/07/2016 11:42 AM, ahas...@baylibre.com wrote: From: Axel Haslam This patch documents the device tree bindings required for the ohci controller found in TI da8xx family of SoC's Signed-off-by: Axel Haslam --- .../devicetree/bindings/usb/ohci-da8xx.txt | 32 ++

Re: [PATCH v2] kcov: properly check if we are in an interrupt

2016-10-10 Thread Andrew Morton
On Mon, 10 Oct 2016 19:19:11 +0200 Dmitry Vyukov wrote: > On Mon, Oct 10, 2016 at 6:10 PM, Andrey Konovalov > wrote: > > in_interrupt() returns a nonzero value when we are either in an > > interrupt or have bh disabled via local_bh_disable(). Since we are > > interested in only ignoring coverag

Re: [PATCH 10/10] net: mdio-sam: Add device tree documentation for SAM MDIO

2016-10-10 Thread Peter Rosin
On 2016-10-07 17:18, Pantelis Antoniou wrote: > From: Georgi Vlaev > > Add device tree bindings document for the SAM MDIO block > present in Juniper's SAM FPGA. > > Signed-off-by: Georgi Vlaev > [Ported from Juniper kernel] > Signed-off-by: Pantelis Antoniou > --- > Documentation/devicetree/b

[PATCH] soc: rockchip: avoid infinite loop for power domain

2016-10-10 Thread Caesar Wang
In some cases, we have met the infinite loop in rockchip_pmu_set_idle_request. This patch adds the error message and avoid infinite loop if it fails to get the ack. Signed-off-by: Caesar Wang --- drivers/soc/rockchip/pm_domains.c | 37 - 1 file changed, 32 i

Re: [PATCH/RFT 08/12] ARM: davinci: register the usb20_phy clock on the SoC file

2016-10-10 Thread David Lechner
On 10/07/2016 11:42 AM, ahas...@baylibre.com wrote: From: Axel Haslam The usb20_phy clock needs to be registered for the driver to be able to get and enable a clock. Currently the usb phy clocks are registered form board files, which will not be called during a device tree based boot. To be ab

[PATCH] [v3] mount: dont execute propagate_umount() many times for same mounts

2016-10-10 Thread Andrei Vagin
The reason of this optimization is that umount() can hold namespace_sem for a long time, this semaphore is global, so it affects all users. Recently Eric W. Biederman added a per mount namespace limit on the number of mounts. The default number of mounts allowed per mount namespace at 100,000. Curr

Re: [PATCH/RFT 07/12] USB: ohci-da8xx: Request gpios and handle interrupt in the driver

2016-10-10 Thread David Lechner
On 10/07/2016 11:42 AM, ahas...@baylibre.com wrote: From: Axel Haslam Currently requesting the vbus and overcurrent gpio is handled on the board specific file. But this does not play well moving to device tree. In preparation to migrate to a device tree boot, handle requesting gpios and overcu

Re: [PATCH] selftests/futex: Check ANSI terminal color support

2016-10-10 Thread SeongJae Park
Hi, Shuah, may I ask your comment about this patch? Thanks, SeongJae Park On Sun, Oct 2, 2016 at 11:02 AM, SeongJae Park wrote: > Because test for color support of the running shell does not aware ANSI > type terminals, it does not print colorful messages on some environemnt. > This commit mo

Re: [PATCH] inotify: Convert to using per-namespace limits

2016-10-10 Thread Eric W. Biederman
Nikolay Borisov writes: > On Mon, Oct 10, 2016 at 11:49 PM, Eric W. Biederman > wrote: >> Jan Kara writes: >> >>> On Mon 10-10-16 09:44:19, Nikolay Borisov wrote: On 10/07/2016 09:14 PM, Eric W. Biederman wrote: > Nikolay Borisov writes: > >> This patchset converts inotify

Re: [PATCH v3 10/12] scsi/ncr5380: Expedite register polling

2016-10-10 Thread Finn Thain
On Mon, 10 Oct 2016, Russell King - ARM Linux wrote: > On Mon, Oct 10, 2016 at 12:46:53AM -0400, Finn Thain wrote: > > Avoid the call to NCR5380_poll_politely2() when possible. The call is > > easily short-circuited on the PIO fast path, using the inline wrapper. > > This requires that the NCR5

Re: [PATCH v2] timers: Fix usleep_range() in the context of wake_up_process()

2016-10-10 Thread Doug Anderson
Hi, On Mon, Oct 10, 2016 at 2:04 PM, Douglas Anderson wrote: > Users of usleep_range() expect that it will _never_ return in less time > than the minimum passed parameter. However, nothing in any of the code > ensures this. Specifically: > > usleep_range() => do_usleep_range() => schedule_hrtim

Re: [PATCH v2] mount: dont execute propagate_umount() many times for same mounts

2016-10-10 Thread Andrei Vagin
On Thu, Oct 06, 2016 at 11:45:48PM -0500, Eric W. Biederman wrote: > Andrei Vagin writes: > > > On Thu, Oct 06, 2016 at 02:46:30PM -0500, Eric W. Biederman wrote: > >> Andrei Vagin writes: > >> > >> > The reason of this optimization is that umount() can hold namespace_sem > >> > for a long time

Re: [PATCH v5 15/17] dax: add struct iomap based DAX PMD support

2016-10-10 Thread Ross Zwisler
On Mon, Oct 10, 2016 at 05:59:17PM +0200, Christoph Hellwig wrote: > On Fri, Oct 07, 2016 at 03:09:02PM -0600, Ross Zwisler wrote: > > - if (RADIX_DAX_TYPE(entry) == RADIX_DAX_PMD) > > + if ((unsigned long)entry & RADIX_DAX_PMD) > > Please introduce a proper inline helper that mask all the pos

Re: [PATCH v5 13/17] dax: dax_iomap_fault() needs to call iomap_end()

2016-10-10 Thread Ross Zwisler
On Mon, Oct 10, 2016 at 05:50:04PM +0200, Christoph Hellwig wrote: > On Fri, Oct 07, 2016 at 03:09:00PM -0600, Ross Zwisler wrote: > > Currently iomap_end() doesn't do anything for DAX page faults for both ext2 > > and XFS. ext2_iomap_end() just checks for a write underrun, and > > xfs_file_iomap_

[GIT PULL] gcc-plugins updates for v4.9-rc1

2016-10-10 Thread Kees Cook
Hi, Please pull these gcc-plugins changes for v4.9-rc1. Thanks! -Kees The following changes since commit c8d2bc9bc39ebea8437fd974fdbc21847bb897a3: Linux 4.8 (2016-10-02 16:24:33 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git t

[git pull] vfs.git, xattr stuff

2016-10-10 Thread Al Viro
xattr stuff from Andreas; aka. completing the switch to xattr_handler ->get()/->set() from ->getxattr/->setxattr/->removexattr The following changes since commit 703c73629f93464ce210f5ad92d0c1fb95bfbadf: fuse: Use generic xattr ops (2016-10-01 07:32:32 +0200) are available in the git r

Re: Observed a ecryptFS crash

2016-10-10 Thread Tyler Hicks
On 09/29/2016 07:29 AM, liushuoran wrote: > Hi Tyhicks, > > We observed a ecryptFS crash occasionally in Linux kernel 4.1.18. The call > trace is attached below. Is it a known issue? Look forward to hearing from > you. Thanks in advance! It isn't known to me but I'm rarely testing eCryptfs with

[RFC] [PATCH] arch: x86: change GCC optimisation target from atom to bonnell

2016-10-10 Thread Rui Salvaterra
Hi, Thomas, Ingo, Peter, (Sending as RFC, since I don't know if this patch is acceptable.) The GCC team has deprecated atom as a march/mtune target since almost three years ago, according to this mailing list thread [1], in favour of specific microarchitecture names (bonnell, silvermont). This pa

Re: [PATCHv4] hwmon: Add tc654 driver

2016-10-10 Thread Rob Herring
On Tue, Oct 11, 2016 at 10:26:31AM +1300, Chris Packham wrote: > Add support for the tc654 and tc655 fan controllers from Microchip. > > http://ww1.microchip.com/downloads/en/DeviceDoc/20001734C.pdf > > Signed-off-by: Chris Packham > --- > Changes in v4: > - tab-align values in #defines > - ensu

Re: [PATCH] inotify: Convert to using per-namespace limits

2016-10-10 Thread Nikolay Borisov
On Mon, Oct 10, 2016 at 11:49 PM, Eric W. Biederman wrote: > Jan Kara writes: > >> On Mon 10-10-16 09:44:19, Nikolay Borisov wrote: >>> On 10/07/2016 09:14 PM, Eric W. Biederman wrote: >>> > Nikolay Borisov writes: >>> > >>> >> This patchset converts inotify to using the newly introduced >>> >>

Re: [PATCH v4] pwm: add pwm driver for HiSilicon BVT SOCs

2016-10-10 Thread Rob Herring
On Mon, Oct 10, 2016 at 07:05:16PM +0800, Jian Yuan wrote: > From: yuanjian > > Add PWM driver for the PWM controller found on HiSilicon BVT SOCs, like > Hi3519V100, Hi3516CV300, etc. > The PWM controller is primarily in charge of controlling P-Iris lens. > > Reviewed-by: Jiancheng Xue > Signe

entering a namespace

2016-10-10 Thread Xen
Could someone tell me real quick whether it could ever be possible to "peek" into a 'clients' mount namespace? You couldn't access it by path alone (supposing each 'client' had mounted something different on the same path) and would need process ID or process subtree ID. Can you enter the name

[Resend][PATCH v3] cpufreq: intel_pstate: Proportional algorithm for Atom

2016-10-10 Thread Rafael J. Wysocki
From: Rafael J. Wysocki The PID algorithm used by the intel_pstate driver tends to drive performance to the minimum for workloads with utilization below the setpoint, which is undesirable, so replace it with a modified "proportional" algorithm on Atom. The new algorithm will set the new P-state

Re: [PATCH v4 8/8] Input: elan_i2c - add Host Notify support

2016-10-10 Thread Dmitry Torokhov
Hi Benjamin, On Mon, Oct 10, 2016 at 9:42 AM, Benjamin Tissoires wrote: > The Thinkpad series 13 uses Host Notify to report the interrupt. > Add elan_smb_alert() to handle those interrupts and disable the irq > handling on this case. > > Signed-off-by: Benjamin Tissoires > Why do we have to do

[PATCH] cpufreq: skip invalid entries when searching the frequency

2016-10-10 Thread Aaro Koskinen
Skip invalid entries when searching the frequency. This fixes cpufreq at least on loongson2 MIPS board. Fixes: da0c6dc00c69 ("cpufreq: Handle sorted frequency tables more efficiently") Signed-off-by: Aaro Koskinen --- include/linux/cpufreq.h | 18 ++ 1 file changed, 18 insertions

Re: [PATCH/RFT 09/12] usb: host: ohci-da8xx: Add devicetree bindings documentation

2016-10-10 Thread Rob Herring
On Fri, Oct 07, 2016 at 06:42:54PM +0200, ahas...@baylibre.com wrote: > From: Axel Haslam > > This patch documents the device tree bindings required for > the ohci controller found in TI da8xx family of SoC's > > Signed-off-by: Axel Haslam > --- > .../devicetree/bindings/usb/ohci-da8xx.txt

Re: [PATCH 5/10] dt: bindings: Add bindings for Marvell Xenon SD Host Controller

2016-10-10 Thread Rob Herring
On Fri, Oct 07, 2016 at 05:22:51PM +0200, Gregory CLEMENT wrote: > From: Ziji Hu > > Marvell Xenon SDHC can support eMMC/SD/SDIO. > Add Xenon-specific properties. > Also add properties for Xenon PHY setting. > > Signed-off-by: Hu Ziji > Reviewed-by: Gregory CLEMENT > Signed-off-by: Gregory CLE

[PATCHv4] hwmon: Add tc654 driver

2016-10-10 Thread Chris Packham
Add support for the tc654 and tc655 fan controllers from Microchip. http://ww1.microchip.com/downloads/en/DeviceDoc/20001734C.pdf Signed-off-by: Chris Packham --- Changes in v4: - tab-align values in #defines - ensure locking in set_pwm covers updating cached values - populate the cached value f

Re: [PATCH] timers: Fix usleep_range() in the context of wake_up_process()

2016-10-10 Thread Doug Anderson
Hi, On Mon, Oct 10, 2016 at 12:53 PM, Andreas Mohr wrote: > Some thoughts: > - max >= min pre-condition is validated somewhere, I'd hope? > (somewhere in outer API frame?) I don't think this is validated, but it's not a new problem. My patch doesn't attempt to solve this. A future patch coul

  1   2   3   4   5   6   >