[PATCH v8 6/6] ARM: dts: add dts files for Hi3519

2016-01-29 Thread Jiancheng Xue
add dts files for Hi3519 Signed-off-by: Jiancheng Xue --- arch/arm/boot/dts/Makefile| 2 + arch/arm/boot/dts/hi3519-demb.dts | 42 + arch/arm/boot/dts/hi3519.dtsi | 187 ++ 3 files changed, 231 insertions(+) create mode 100644 arch/arm/

Re: [linux-review:James-Hogan/kbuild-Remove-stale-asm-generic-wrappers/20160119-183642] d979f99e9cc14e2667e9b6e268db695977e4197a BUILD DONE

2016-01-29 Thread Geert Uytterhoeven
Hi Arnd, On Fri, Jan 29, 2016 at 12:07 AM, Arnd Bergmann wrote: > The other related issue is the DEBUG_UART_{VIRT,PHYS} setting, > where there is no safe platform-specific default. I have two > ideas for working around that, maybe one of them sounds ok to > you: > > a) find a way to warn and/or d

Re: wireless-drivers: random cleanup patches piling up

2016-01-29 Thread Kalle Valo
Sudip Mukherjee writes: >> >> That's also my experience from maintaining wireless-drivers for a year, >> >> this seems to be a "hit and run" type of phenomenon. >> > >> > Should we be looking for someone to run a "wireless-driver-cleanups" >> > tree? They could handle the cleanups and trivial st

Re: [PATCH v4] lib/spinlock_debug.c: prevent a recursive cycle in the debug code

2016-01-29 Thread Byungchul Park
On Fri, Jan 29, 2016 at 04:13:30PM +0900, Sergey Senozhatsky wrote: > On (01/29/16 15:54), Byungchul Park wrote: > > On Fri, Jan 29, 2016 at 09:27:03AM +0900, Sergey Senozhatsky wrote: > > > > > > well, the stack is surely limited, but on every > > > spin_dump()->spin_lock() recursive call it does

Re: [PATCH] epoll: add exclusive wakeups flag

2016-01-29 Thread Michael Kerrisk (man-pages)
Hello Jason, On 01/28/2016 06:57 PM, Jason Baron wrote: > Hi, > > On 01/28/2016 02:16 AM, Michael Kerrisk (man-pages) wrote: >> Hi Jason, >> >> On 12/08/2015 04:23 AM, Jason Baron wrote: >>> Hi, >>> >>> Re-post of an old series addressing thundering herd issues when sharing >>> an event source fd

[PATCH v5] mtd: spi-nor: add hisilicon spi-nor flash controller driver

2016-01-29 Thread Jiancheng Xue
add hisilicon spi-nor flash controller driver Signed-off-by: Jiancheng Xue Acked-by: Rob Herring --- change log v5: Fixed a compile error. v4: Rebased to v4.5-rc1 v3: Added a compatible string "hisilicon,hi3519-sfc". v2: Fixed some compiling warings. .../devicetree/bindings/spi/spi-hisi-sfc.tx

Re: [PATCH V2 2/4] gpio: gpio-f81504: Add Fintek F81504/508/512 PCIE-to-UART/GPIO GPIOLIB support

2016-01-29 Thread Peter Hung
Hi Andy, Andy Shevchenko 於 2016/1/28 下午 08:03 寫道: On Thu, 2016-01-28 at 17:20 +0800, Peter Hung wrote: + /* set output data */ + tmp = inb(priv->gpio_ioaddr + gc->idx); ioread8 is a bit better since it automatically works with IO space and MMIO. But if you are certain you will alw

Re: [PATCH 01/31] Add hard/soft lockup debugger entry points

2016-01-29 Thread Ingo Molnar
* Jeffrey Merkey wrote: > On 1/28/16, Thomas Gleixner wrote: > > On Thu, 28 Jan 2016, Jeffrey Merkey wrote: > >> On 1/28/16, Thomas Gleixner wrote: > >> > I'm probably missing something obvious here. > >> > >> It's a pain in the butt to grep around through assembly language in a > >> function

Re: [PATCH v4 2/4] KVM: x86: Use vector-hashing to deliver lowest-priority interrupts

2016-01-29 Thread Paolo Bonzini
On 28/01/2016 02:51, Wu, Feng wrote: > > >> -Original Message- >> From: Radim Krčmář [mailto:rkrc...@redhat.com] >> Sent: Wednesday, January 27, 2016 2:59 AM >> To: Wu, Feng >> Cc: pbonz...@redhat.com; linux-kernel@vger.kernel.org; k...@vger.kernel.org >> Subject: Re: [PATCH v4 2/4] KV

Re: [PATCH v4] perf/x86/amd/power: Add AMD accumulated power reporting mechanism

2016-01-29 Thread Huang Rui
On Thu, Jan 28, 2016 at 04:28:48PM +0100, Peter Zijlstra wrote: > On Thu, Jan 28, 2016 at 10:03:15AM +0100, Borislav Petkov wrote: > > > + > > +struct power_pmu { > > + raw_spinlock_t lock; > > Now that the list is gone, what does this thing protect? > Protect the event count value b

Re: [PATCH v4] lib/spinlock_debug.c: prevent a recursive cycle in the debug code

2016-01-29 Thread Byungchul Park
On Thu, Jan 28, 2016 at 04:15:02PM +0900, Byungchul Park wrote: > On Wed, Jan 27, 2016 at 02:49:35PM -0800, Peter Hurley wrote: > > And we already have lockdep turned off to avoid triggering a recursive > > lockdep report (which I think is a mistake). > > Yes, we already have a way to turn off the

Re: [PATCH V2 4/4] serial: 8250_pci: Remove Fintek F81504/508/512 UART driver

2016-01-29 Thread Peter Hung
Hi Andy, Andy Shevchenko 於 2016/1/28 下午 08:04 寫道: On Thu, 2016-01-28 at 17:20 +0800, Peter Hung wrote: - /* Fintek PCI serial cards */ - { PCI_DEVICE(0x1c29, 0x1104), .driver_data = pbn_fintek_4 }, - { PCI_DEVICE(0x1c29, 0x1108), .driver_data = pbn_fintek_8 }, - { PCI_DE

Re: linux-next: build warning after merge of the mac80211 tree

2016-01-29 Thread Johannes Berg
On Fri, 2016-01-29 at 15:06 +1100, Stephen Rothwell wrote: > Hi Johannes, > > After merging the mac80211 tree, today's linux-next build (i386 > defconfig) > produced this warning: > > In file included from include/net/wext.h:4:0, >  from net/socket.c:97: > include/net/iw_handler.h

Re: [PATCH V2 1/4] mfd: f81504-core: Add Fintek F81504/508/512 PCIE-to-UART/GPIO core support

2016-01-29 Thread Lee Jones
On Fri, 29 Jan 2016, Peter Hung wrote: > >>+obj-$(CONFIG_MFD_FINTEK_F81504_CORE) += f81504-core.o > > > >I think '_' is better than '-'. What I saw and usually do is '_' for > >regular source modules and '-' for the resulting objects when they have > >more than one file. > > I used f81504_co

Re: Regression: 4.5-rc1 (bisect: hugetlb: make mm and fs code explicitly non-modular vs CONFIG_TIMER_STATS)

2016-01-29 Thread Christian Borntraeger
On 01/29/2016 01:27 AM, Mike Kravetz wrote: > On 01/28/2016 02:59 PM, Paul Gortmaker wrote: >> [Re: Regression: 4.5-rc1 (bisect: hugetlb: make mm and fs code explicitly >> non-modular vs CONFIG_TIMER_STATS)] On 28/01/2016 (Thu 14:18) Mike Kravetz >> wrote: >> >>> On 01/28/2016 07:05 AM, Mike Krav

RE: [PATCH v4 2/4] KVM: x86: Use vector-hashing to deliver lowest-priority interrupts

2016-01-29 Thread Wu, Feng
> -Original Message- > From: linux-kernel-ow...@vger.kernel.org [mailto:linux-kernel- > ow...@vger.kernel.org] On Behalf Of Paolo Bonzini > Sent: Friday, January 29, 2016 4:18 PM > To: Wu, Feng ; Radim Krcmár > Cc: linux-kernel@vger.kernel.org; k...@vger.kernel.org > Subject: Re: [PATCH

[GIT PULL] s390 patches for 4.5-rc2

2016-01-29 Thread Martin Schwidefsky
Hi Linus, please pull from the 'for-linus' branch of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git for-linus to receive the following updates: An optimization for irq-restore, the SSM instruction is quite a bit slower than an if-statement and a STOSM. The copy_file_ran

Re: [PATCH 1/2] x86/lib/copy_user_64.S: Handle 4-byte uncached copy

2016-01-29 Thread Ingo Molnar
* Toshi Kani wrote: > Data corruption issues were observed in tests which initiated > a system crash while accessing BTT devices. This problem is > reproducible. > > The BTT driver calls pmem_rw_bytes() to update data in pmem > devices. This interface calls __copy_user_nocache(), which > uses

[PATCH v2 5/5] arm64/perf: Extend event mask for ARMv8.1

2016-01-29 Thread Jan Glauber
ARMv8.1 increases the PMU event number space. Detect the presence of this PMUv3 type and extend the event mask. The event mask is moved to struct arm_pmu so different event masks can exist, depending on the PMU type. Signed-off-by: Jan Glauber --- arch/arm/kernel/perf_event_v6.c | 6 --

[PATCH] irqchip: mxs: add missing set_handle_irq()

2016-01-29 Thread Oleksij Rempel
this will fix IRQ related issues on Alphascale ASM9260 Signed-off-by: Oleksij Rempel --- drivers/irqchip/irq-mxs.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/irqchip/irq-mxs.c b/drivers/irqchip/irq-mxs.c index c22e2d4..efe5084 100644 --- a/drivers/irqchip/irq-mxs.c +++ b/drivers

[PATCH 0/2] perf/x86/msr: Add some new AMD performance event counters

2016-01-29 Thread Huang Rui
Hi all, This serials of patches add two event counters that are PTSC (performance time-stamp counter) and IRperf (instructions retired count) for AMD new processors. They are incicated by CPUID.8000_0001H:ECX[27] and CPUID.8000_0008H:EBX[1] separately. Thanks, Rui Huang Rui (2): perf/x86/msr:

[PATCH 1/2] perf/x86/msr: Add AMD performance time-stamp counter support

2016-01-29 Thread Huang Rui
AMD Carrizo (Family 15h, Model 60h) introduces a time-stamp counter which indicated by CPUID.8000_0001H:ECX[27]. It increments at a 100 MHz rate in all P-states, and C states, S0, or S1. The frequency is about 100MHz. This counter will be used for calculate processor power and other parts. So add a

[PATCH 2/2] perf/x86/msr: Add AMD instructions retired performance counter

2016-01-29 Thread Huang Rui
AMD Zeppelin (Family 17h, Model 00h) introduces an instructions retired performance counter which indicated by CPUID.8000_0008H:EBX[1]. And dedicated Instructions Retired register (MSR 0xC000_000E9) increments on once for every instruction retired. Signed-off-by: Huang Rui --- arch/x86/include/a

Re: [PATCH v2] irqchip: gicv3-its: Fix memory leak in its_free_tables()

2016-01-29 Thread Thomas Gleixner
On Thu, 28 Jan 2016, Shanker Donthineni wrote: > @@ -807,9 +810,10 @@ static void its_free_tables(struct its_node *its) > int i; > > for (i = 0; i < GITS_BASER_NR_REGS; i++) { > - if (its->tables[i]) { > - free_page((unsigned long)its->tables[i]); > -

Re: [PATCH] irqchip: mxs: add missing set_handle_irq()

2016-01-29 Thread Thomas Gleixner
On Fri, 29 Jan 2016, Oleksij Rempel wrote: > this will fix IRQ related issues on Alphascale ASM9260 This really does not qualify as a changelog. 1) What's the problem and what consequences does it have 2) What's the fix. Thanks, tglx

Re: [PATCH] vmpressure: Fix subtree pressure detection

2016-01-29 Thread Vladimir Davydov
On Thu, Jan 28, 2016 at 08:24:30PM +0100, Vlastimil Babka wrote: > On 28.1.2016 16:55, Michal Hocko wrote: > > On Wed 27-01-16 19:28:57, Vladimir Davydov wrote: > >> When vmpressure is called for the entire subtree under pressure we > >> mistakenly use vmpressure->scanned instead of vmpressure->tre

Purchase Inquiry!

2016-01-29 Thread Elders Limited
Hi there, How are you today? I would like to purchase items from your company.Do you ship to Australia and accept USA credit cards as a form of payment? Your prompt response is esteemed. Thanks Best Regards , Albert Fryra ELDERS LIMITED

Re: [RFC PATCH v3 1/5] getcpu_cache system call: cache CPU number of running thread

2016-01-29 Thread Thomas Gleixner
On Thu, 28 Jan 2016, Mathieu Desnoyers wrote: > - On Jan 28, 2016, at 4:52 PM, Thomas Gleixner t...@linutronix.de wrote: > >> + current->cpu_cache = cpu_cache; > >> + /* > >> + * Migration checks the getcpu cache to see whether the > >> + * notify_resume fl

[PATCH] mfd: syscon: return ENOTSUPP instead of ENOSYS when disabled

2016-01-29 Thread Philipp Zabel
When CONFIG_MFD_SYSCON is disabled, have the function stubs return ENOTSUPP to indicate the syscon functionality is not available. There are currently no callers that depend on the ENOSYS return value. This patchfixes a checkpatch warning: WARNING: ENOSYS means 'invalid syscall nr' and nothing

Re: [RFC 3/3] CMDQ: Mediatek CMDQ driver

2016-01-29 Thread Daniel Kurtz
On Fri, Jan 29, 2016 at 3:39 PM, Horng-Shyang Liao wrote: > Hi Dan, > > Many thanks for your comments and time. > I reply my plan inline. > > > On Thu, 2016-01-28 at 12:49 +0800, Daniel Kurtz wrote: >> Hi HS, >> >> Sorry for the delay. It is hard to find time to review a >3700 line >> driver :-o

[PATCH V5 00/11] Add T210 support in Tegra soctherm

2016-01-29 Thread Wei Ni
This patchset adds following functions for tegra_soctherm driver: 1. add T210 support. 2. export debugfs to show some registers. 3. add thermtrip funciton. 4. add suspend/resume function. The v4 serial is in: http://www.spinics.net/lists/linux-tegra/msg24972.html The V3 serial is in: http://www.sp

[PATCH] Staging:lustre:lclient:Remove unused function

2016-01-29 Thread Bhumika Goyal
Discard the function ccc_vmpage_page_transient as it is not used anywhere in the kernel. Used grep to find occurences. Problem found using sparse. Signed-off-by: Bhumika Goyal --- drivers/staging/lustre/lustre/lclient/lcommon_cl.c | 11 --- 1 file changed, 11 deletions(-) diff --git a/d

[PATCH V5 04/11] thermal: tegra: split tegra_soctherm driver

2016-01-29 Thread Wei Ni
Split most of the Tegra124 data and code into a Tegra124-specific file. Split most of the fuse-related code into a fuse-related source file. This is in preparation for adding a Tegra210-specific driver in a future patch. Beyond the maintainability improvements, this is intended to separate chip-sp

[PATCH V5 03/11] thermal: tegra: get rid of PDIV/HOTSPOT hack

2016-01-29 Thread Wei Ni
Get rid of T124-specific PDIV/HOTSPOT hack. tegra-soctherm.c contained a hack to set the SENSOR_PDIV and SENSOR_HOTSPOT_OFFSET registers - it just did two writes of T124-specific opaque values. Convert these into a form that can be substituted on a per-chip basis, and into structure fields that ha

[PATCH V5 01/11] thermal: tegra: move tegra thermal files into tegra directory

2016-01-29 Thread Wei Ni
Move Tegra soctherm driver to tegra directory, it's easy to maintain and add more new function support for Tegra platforms. This will also help to split soctherm driver into common parts and chip specific data related parts. Signed-off-by: Wei Ni --- drivers/thermal/Kconfig

[PATCH V5 02/11] thermal: tegra: combine sensor group-related data

2016-01-29 Thread Wei Ni
Combine sensor group-related data structures into struct tegra_tsensor_group. This provides a single location for sensor group data storage. More sensor group data will be added in subsequent patches. Signed-off-by: Wei Ni --- drivers/thermal/tegra/tegra-soctherm.c | 147 +++

[PATCH V5 06/11] thermal: tegra: add a debugfs to show registers

2016-01-29 Thread Wei Ni
Add a debugfs interface to show register contents for debug. Signed-off-by: Wei Ni --- drivers/thermal/tegra/soctherm.c | 143 ++- drivers/thermal/tegra/soctherm.h | 2 + 2 files changed, 142 insertions(+), 3 deletions(-) diff --git a/drivers/thermal/tegra/

[PATCH V5 05/11] thermal: tegra: add Tegra210 specific SOC_THERM driver

2016-01-29 Thread Wei Ni
Add Tegra210 specific SOC_THERM driver. Signed-off-by: Wei Ni --- drivers/thermal/tegra/Makefile| 1 + drivers/thermal/tegra/soctherm-fuse.c | 11 ++ drivers/thermal/tegra/soctherm.c | 6 ++ drivers/thermal/tegra/soctherm.h | 4 + drivers/thermal/tegra/te

Re: [PATCH] cputime: Fix timeval-->cputime conversion

2016-01-29 Thread Arnd Bergmann
On Friday 29 January 2016 03:12:37 Zengtao wrote: > > -Original Message- > > From: Arnd Bergmann [mailto:a...@arndb.de] > > Sent: Thursday, January 28, 2016 7:52 PM > > To: Thomas Gleixner > > Cc: Zengtao (B); LKML; Frederic Weisbecker > > Subject: Re: [PATCH] cputime: Fix timeval-->cputime

[PATCH V5 07/11] of: Add bindings of hw-trip-points for soctherm

2016-01-29 Thread Wei Ni
Add hw-trips sub-node for soctherm, which is used to describe the hardware trip points for each soctherm sensors. Signed-off-by: Wei Ni --- .../devicetree/bindings/thermal/tegra-soctherm.txt | 24 ++ 1 file changed, 24 insertions(+) diff --git a/Documentation/devicetree/bind

[PATCH V5 09/11] thermal: tegra: add PM support

2016-01-29 Thread Wei Ni
Add suspend/resume function in soctherm driver. And enable it for Tegra124 and Tegra210. Signed-off-by: Wei Ni --- drivers/thermal/tegra/soctherm.c | 172 +++ 1 file changed, 120 insertions(+), 52 deletions(-) diff --git a/drivers/thermal/tegra/soctherm.c b/d

[PATCH V5 11/11] ARM: tegra: set thermtrip for Tegra124

2016-01-29 Thread Wei Ni
Set cpu and gpu's thermtrip temperatures for Tegra124. Signed-off-by: Wei Ni --- arch/arm/boot/dts/tegra124.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/tegra124.dtsi b/arch/arm/boot/dts/tegra124.dtsi index 68669f791c8b..17aa73648a81 100644 --- a/arch/arm/b

[PATCH V5 08/11] thermal: tegra: add thermtrip function

2016-01-29 Thread Wei Ni
Add support for hardware critical thermal limits to the SOC_THERM driver. This is implemented outside the Linux thermal framework. If these limits are breached, the chip will reset, and if appropriately configured, will turn off the PMIC. This support is critical for safe usage of the chip. Sign

[PATCH V5 10/11] arm64: tegra: add soctherm node for Tegra210

2016-01-29 Thread Wei Ni
Adds soctherm node for Tegra210, and add cpu, gpu, mem, pllx as thermal-zones. Signed-off-by: Wei Ni --- arch/arm64/boot/dts/nvidia/tegra210.dtsi | 53 1 file changed, 53 insertions(+) diff --git a/arch/arm64/boot/dts/nvidia/tegra210.dtsi b/arch/arm64/boot/dts/

pull-request: wireless-drivers 2016-01-29

2016-01-29 Thread Kalle Valo
Hi Dave, few fixes for 4.5. Nothing really standing out, see the tag for more info. Please let me know if you have any problems. Kalle The following changes since commit a200dcb34693084e56496960d855afdeaaf9578f: Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost

Re: [PATCH] um: asm/page.h: zero out a pte's high value in set_pte_val()

2016-01-29 Thread Richard Weinberger
Am 29.01.2016 um 02:32 schrieb Nicolai Stange: > Richard Weinberger writes: > >> Am 29.01.2016 um 00:56 schrieb Nicolai Stange: >>> Commit 16da306849d0 ("um: kill pfn_t") >>> introduced a compile warning for defconfig: >>> >>> arch/um/kernel/skas/mmu.c:38:206: warning: right shift count >= widt

Re: [PATCH] PCI: QEMU top-level IDs for (sub)vendor & device

2016-01-29 Thread Gerd Hoffmann
On Mo, 2016-01-25 at 08:37 -0800, Robin H. Johnson wrote: > Introduce PCI_VENDOR/PCI_SUBVENDOR/PCI_SUBDEVICE defines to replace the > constants scattered in the kernel already used to detect QEMU. > > They are defined in the QEMU codebase per docs/specs/pci-ids.txt. Reviewed-by: Gerd Hoffmann t

[RFC PATCH] ARM: dts: rockchip: increase the mclk_fs to 512 for kylin board

2016-01-29 Thread Xing Zheng
If we playback the 8KHz FS audio with the 256 mclk_fs, we need the mclk = 256 * 8000 = 2.048MHz, the frac div is 594 / 2.048 = 290, the frac div value 0x00809015 set to the CRU_CLKSEL7_CON will cause to hang. We increase the mclk_fs to 512, will get the mclk = 512 * 8000 = 4.096MHz, use 0x01009015

bluetooth: use-after-free in vhci_send_frame

2016-01-29 Thread Dmitry Vyukov
Hello, I've got the following use-after-free reports while running syzkaller fuzzer. Unfortunately no reproducer. But this happened when system was busy reacting on sysrq t, so probably some unexpected delay happended. On commit 92e963f50fc74041b5e9e744c330dca48e04f08d. =

Re: [PATCH] irqchip: mxs: add missing set_handle_irq()

2016-01-29 Thread Oleksij Rempel
Am 29.01.2016 um 09:33 schrieb Thomas Gleixner: > On Fri, 29 Jan 2016, Oleksij Rempel wrote: > >> this will fix IRQ related issues on Alphascale ASM9260 > > This really does not qualify as a changelog. > > 1) What's the problem and what consequences does it have > > 2) What's the fix. > > Than

[PATCH 4/8] cgroup: cgroup namespace setns support

2016-01-29 Thread serge . hallyn
From: 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. No implicit cgroup changes happen with attaching to another cgroupns. It is expected that the somone moves the attachi

[PATCH 8/8] Add FS_USERNS_FLAG to cgroup fs

2016-01-29 Thread serge . hallyn
From: Serge Hallyn allowing root in a non-init user namespace to mount it. This should now be safe, because 1. non-init-root cannot mount a previously unbound subsystem 2. the task doing the mount must be privileged with respect to the user namespace owning the cgroup namespace 3. the mounte

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

2016-01-29 Thread serge . hallyn
From: Aditya Kali CLONE_NEWCGROUP will be used to create new cgroup namespace. Signed-off-by: Aditya Kali Signed-off-by: Serge Hallyn --- 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

[PATCH 5/8] kernfs: define kernfs_node_dentry

2016-01-29 Thread serge . hallyn
From: Aditya Kali Add a new kernfs api is added to lookup the dentry for a particular kernfs path. Signed-off-by: Aditya Kali Signed-off-by: Serge E. Hallyn Acked-by: Greg Kroah-Hartman --- Changelog: 20151116 - Don't allow user namespaces to bind new subsystems 20151118 - pos

Re: [PATCH] s390:ftrace: add save_stack_trace_regs()

2016-01-29 Thread Heiko Carstens
On Fri, Jan 29, 2016 at 10:50:28AM +0530, Pratyush Anand wrote: > Implement save_stack_trace_regs, so that stacktrace of a kprobe events can > be obtained. > > Without this we see following warning: > "save_stack_trace_regs() not implemented yet." > when we execute: > echo stacktrace > /sys/kernel

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

2016-01-29 Thread serge . hallyn
From: Serge Hallyn 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

Re: [PATCH] irqchip: mxs: add missing set_handle_irq()

2016-01-29 Thread Thomas Gleixner
On Fri, 29 Jan 2016, Oleksij Rempel wrote: > Am 29.01.2016 um 09:33 schrieb Thomas Gleixner: > > On Fri, 29 Jan 2016, Oleksij Rempel wrote: > > > >> this will fix IRQ related issues on Alphascale ASM9260 > > > > This really does not qualify as a changelog. > > > > 1) What's the problem and what

[PATCH 7/8] cgroup: Add documentation for cgroup namespaces

2016-01-29 Thread serge . hallyn
From: Serge Hallyn Signed-off-by: Aditya Kali Signed-off-by: Serge Hallyn Signed-off-by: Tejun Heo --- Changelog (2015-12-08): Merge into Documentation/cgroup.txt Changelog (2015-12-22): Reformat to try to follow the style of the rest of the cgroup.txt file. Changelog (2015-12-22): tj:

CGroup Namespaces (v10)

2016-01-29 Thread serge . hallyn
Hi, following is a revised set of the CGroup Namespace patchset which Aditya Kali has previously sent. The code can also be found in the cgroupns.v10 branch of https://git.kernel.org/cgit/linux/kernel/git/sergeh/linux-security.git/ To summarize the semantics: 1. CLONE_NEWCGROUP re-uses 0x02000

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

2016-01-29 Thread serge . hallyn
From: 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 Signed-off-by: Serge E. Hallyn Acked-by: Greg Kroah-Hartman --- Changelog 20151125: - Fully-wing multilineco

[PATCH 3/8] cgroup: introduce cgroup namespaces

2016-01-29 Thread serge . hallyn
From: Aditya Kali Introduce the ability to create new cgroup namespace. The newly created cgroup namespace remembers the cgroup of the process at the point of creation of the cgroup namespace (referred as cgroupns-root). The main purpose of cgroup namespace is to virtualize the contents of /proc/

Re: [PATCH] irqchip: mxs: add missing set_handle_irq()

2016-01-29 Thread Oleksij Rempel
Am 29.01.2016 um 09:54 schrieb Thomas Gleixner: > On Fri, 29 Jan 2016, Oleksij Rempel wrote: >> Am 29.01.2016 um 09:33 schrieb Thomas Gleixner: >>> On Fri, 29 Jan 2016, Oleksij Rempel wrote: >>> this will fix IRQ related issues on Alphascale ASM9260 >>> >>> This really does not qualify as a ch

Re: [PATCH v2 5/5] arm64/perf: Extend event mask for ARMv8.1

2016-01-29 Thread Jan Glauber
On Fri, Jan 29, 2016 at 01:33:35AM +0800, kbuild test robot wrote: > Hi Jan, > > [auto build test ERROR on robh/for-next] > [also build test ERROR on v4.5-rc1 next-20160128] > [cannot apply to tip/perf/core] > [if your patch is applied to the wrong git tree, please drop us a note to > help improv

Re: [PATCH] PCI: QEMU top-level IDs for (sub)vendor & device

2016-01-29 Thread Jani Nikula
This one's lacking some maintainers, adding for acks. There's already review from Gerd [1], and seems like a good idea anyway. Bjorn, I suppose it would make most sense to merge this via PCI tree, right? BR, Jani. [1] http://mid.gmane.org/1454057342.28516.45.ca...@redhat.com On Mon, 25 Jan

Re: [PATCH V6 2/8] mfd: max77620: add core driver for MAX77620/MAX20024

2016-01-29 Thread Lee Jones
On Thu, 28 Jan 2016, Laxman Dewangan wrote: > MAX77620/MAX20024 are Power Management IC from the MAXIM. > It supports RTC, multiple GPIOs, multiple DCDC and LDOs, > watchdog, clock etc. > > Add MFD drier to provides common support for accessing the > device; additional drivers is developed on res

Re: wlcore: fix error handling in wlcore_event_fw_logger

2016-01-29 Thread Kalle Valo
> wlcore_read/wlcore_write can return negative values so it should > be assigned to signed variable. > > The problem has been detected using proposed semantic patch > scripts/coccinelle/tests/unsigned_lesser_than_zero.cocci [1]. > > [1]: http://permalink.gmane.org/gmane.linux.kernel/2120705 > >

WARNING in set_restore_sigmask

2016-01-29 Thread Dmitry Vyukov
Hello, I've got the following WARNING while running syzkaller fuzzer: [ cut here ] WARNING: CPU: 2 PID: 10905 at ./arch/x86/include/asm/thread_info.h:236 sigsuspend+0x18e/0x1f0() Modules linked in: CPU: 2 PID: 10905 Comm: syz-executor Not tainted 4.5.0-rc1+ #300 Hardware n

[PATCH] arm64: add Kconfig entry for LG1K SoC family

2016-01-29 Thread Chanho Min
This patch introduces ARCH_LG1K to enable LG Electronics's LG1K SoC family in Kconfig. The dts and defconfig will be submitted soon in another series. Signed-off-by: Chanho Min --- arch/arm64/Kconfig.platforms |4 1 file changed, 4 insertions(+) diff --git a/arch/arm64/Kconfig.platfor

Re: [PATCH] irqchip: mxs: add missing set_handle_irq()

2016-01-29 Thread Thomas Gleixner
On Fri, 29 Jan 2016, Oleksij Rempel wrote: > Should i resend a patch with new comment? Yes, please.

Re: [PATCH v2] clk: rockchip: Allow sclk_i2s0 and i2s0_frac to change their parents rate on rk3188

2016-01-29 Thread Heiko Stuebner
Hi Alexander, Am Freitag, 29. Januar 2016, 10:58:02 schrieb Alexander Kochetkov: > Allow sclk_i2s0 and i2s0_frac to change their parents rate as > that the upstream dividers are purely there to feed sclk_i2s0 > > Tested on radxarock-lite. > > Signed-off-by: Alexander Kochetkov > > Changes in v

Re: [PATCH] arm64: add Kconfig entry for LG1K SoC family

2016-01-29 Thread Arnd Bergmann
On Friday 29 January 2016 18:14:55 Chanho Min wrote: > This patch introduces ARCH_LG1K to enable LG Electronics's LG1K SoC > family in Kconfig. > > The dts and defconfig will be submitted soon in another series. > > Signed-off-by: Chanho Min Please keep this together with the defconfig change f

Re: [PATCH] floppy: fix lock_fdc() signal handling

2016-01-29 Thread Dmitry Vyukov
On Thu, Jan 28, 2016 at 11:43 AM, Jiri Kosina wrote: > On Thu, 28 Jan 2016, Dmitry Vyukov wrote: > >> I have not seen any /dev/fd0 related crashes over night. Previously I >> seen tons of them, so I guess this bug is fixed. >> Please send this upstream. >> Thanks > > Thanks a lot for testing, Dmit

[PATCH] drm/i915: use #defines for qemu subsystem ids

2016-01-29 Thread Gerd Hoffmann
Signed-off-by: Gerd Hoffmann --- depends on http://mid.gmane.org/1453739846-3549-1-git-send-email-robb...@gentoo.org --- drivers/gpu/drm/i915/i915_drv.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/i915/i915_drv.c b/drivers/gpu/drm/i915/i915_drv.c ind

Re: WARNING in set_restore_sigmask

2016-01-29 Thread Dmitry Vyukov
On Fri, Jan 29, 2016 at 10:16 AM, Dmitry Vyukov wrote: > Hello, > > I've got the following WARNING while running syzkaller fuzzer: > > [ cut here ] > WARNING: CPU: 2 PID: 10905 at ./arch/x86/include/asm/thread_info.h:236 > sigsuspend+0x18e/0x1f0() > Modules linked in: > CPU

[PATCH] mfd: syscon: make syscon_regmap_config const

2016-01-29 Thread Philipp Zabel
syscon_regmap_config can be made const if syscon_probe() creates a local copy on the stack, just like syscon_register() does. Signed-off-by: Philipp Zabel --- drivers/mfd/syscon.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/mfd/syscon.c b/drivers/mfd/sy

[GIT PULL] Please pull powerpc/linux.git powerpc-4.5-2 tag

2016-01-29 Thread Michael Ellerman
Hi Linus, Please pull powerpc fixes for 4.5: The following changes since commit 9fa686068a32ddf256df03982b3e3967c18654a8: Merge tag 'dmaengine-fix-4.5-rc1' of git://git.infradead.org/users/vkoul/slave-dma (2016-01-20 10:15:21 -0800) are available in the git repository at: git://git.kernel

Re: [PATCH 1/7] usb: gadget: pxa25x_udc: move register definitions from arch

2016-01-29 Thread Robert Jarzmik
Arnd Bergmann writes: > ixp4xx and pxa25x both use this driver and provide a slightly > different set of register definitions for it. Aside from that, > the definition in the ixp4xx-regs.h header conflicts with the > on in the pxa27x device driver when compile-testing that: > > In file included f

Re: [RESEND PATCH 0/3] Add MEMREMAP_WC to fix dma_init_coherent_memory

2016-01-29 Thread Brian Starkey
Hi, Are there any comments on these? Without them dma-coherent can't be used on arm64 so it would be good to get them merged if there are no objections. I can resend with Michal's ack for patch 2 if needed. Thanks, Brian On Tue, Jan 05, 2016 at 04:41:25PM +, Brian Starkey wrote: Hi, This

[PATCH] mfd: syscon: set regmap max_register in of_syscon_register

2016-01-29 Thread Philipp Zabel
Determine the regmap max_register configuration from the io resource size and the reg-io-width device tree property. Signed-off-by: Philipp Zabel --- drivers/mfd/syscon.c | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/drivers/mfd/syscon.c b/drivers/mfd/syscon.c index

[PATCH v3] i2c: mt8173: add 4GB mode support in i2c driver.

2016-01-29 Thread Liguo Zhang
If 4GB mode is enable, we should add 4gb mode support in i2c driver. Set 4GB mode register to support 4GB mode. Signed-off-by: Liguo Zhang --- change in v3: Only inline the computation of reg_4g_mode in mtk_i2c_set_4g_mode(). change in v2: Define a static inline funtion mtk_i2c_set_4g_mode() for

[PATCH] drm/imx: Add missing DRM_FORMAT_RGB565 to ipu_plane_formats

2016-01-29 Thread Philipp Zabel
From: Enrico Jorns DRM_FORMAT_RGB565 is missing from ipu_plane_formats. The support is there, just need to make it available to userspace. Signed-off-by: Enrico Jorns Signed-off-by: Philipp Zabel --- drivers/gpu/drm/imx/ipuv3-plane.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers

Re: [PATCH] ASoC: fsl: select SND_SOC_FSL_SAI or SND_SOC_FSL_SSI depending on SoC type

2016-01-29 Thread Lothar Waßmann
Hi, On Thu, 28 Jan 2016 22:30:13 -0800 Nicolin Chen wrote: > On Fri, Jan 29, 2016 at 06:59:38AM +0100, Lothar Waßmann wrote: > > Hi, > > > > On Thu, 28 Jan 2016 23:33:52 +0100 Mark Brown wrote: > > > On Wed, Jan 20, 2016 at 01:30:38PM +0100, Lothar Waßmann wrote: > > > > > > > - select SND

[PATCH] drm/imx: notify DRM core about CRTC vblank state

2016-01-29 Thread Philipp Zabel
From: Lucas Stach Make sure the DRM core is aware that there will be no vblank interrupts incoming if the CRTC is disabled. That way the core will reject any attempts from userspace to wait on a vblank event on a disabled CRTC. Signed-off-by: Lucas Stach Signed-off-by: Philipp Zabel --- drive

Re: [PATCH] PCI: QEMU top-level IDs for (sub)vendor & device

2016-01-29 Thread Takashi Iwai
On Fri, 29 Jan 2016 10:02:54 +0100, Jani Nikula wrote: > > > This one's lacking some maintainers, adding for acks. There's already > review from Gerd [1], and seems like a good idea anyway. Feel free to take my ack, too Reviewed-by: Takashi Iwai thanks, Takashi

[PATCH] mac80211: fix memory leak

2016-01-29 Thread Sudip Mukherjee
On error we jumped to the error label and returned the error code but we missed releasing sinfo. Signed-off-by: Sudip Mukherjee --- net/mac80211/sta_info.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/mac80211/sta_info.c b/net/mac80211/sta_info.c index 6c198e6..36e75c4 100644 --- a/ne

Re: [PATCH v3] i2c: mt8173: add 4GB mode support in i2c driver.

2016-01-29 Thread Daniel Kurtz
On Fri, Jan 29, 2016 at 9:35 AM, Liguo Zhang wrote: > If 4GB mode is enable, we should add 4gb mode support in i2c driver. > Set 4GB mode register to support 4GB mode. > > Signed-off-by: Liguo Zhang Reviewed-by: Daniel Kurtz

Re: [PATCH 1/4] sched: Don't account tickless CPU load on tick

2016-01-29 Thread Peter Zijlstra
On Thu, Jan 28, 2016 at 05:01:26PM +0100, Frederic Weisbecker wrote: > So lets check all the things we call on scheduler_tick(): > > _ sched_clock_tick(): maybe it doesn't need to be called when idle. I'm not > sure. > Some code in idle (timers, irqs, ...) might need to call sched_clock(). Onl

Re: [PATCH v3] i2c: mt8173: add 4GB mode support in i2c driver.

2016-01-29 Thread Yingjoe Chen
On Fri, 2016-01-29 at 09:35 +0800, Liguo Zhang wrote: > If 4GB mode is enable, we should add 4gb mode support in i2c driver. nit: enabled However, after looking at it longer, the commit message doesn't make much sense to me. > Set 4GB mode register to support 4GB mode. > > Signed-off-by: Liguo Z

Re: [PATCH V4 2/2] regulator: mt6323: Add support for MT6323 regulator

2016-01-29 Thread menghui lin
On Fri, 2016-01-29 at 00:13 +0100, Mark Brown wrote: > On Thu, Jan 28, 2016 at 07:13:48PM +0100, John Crispin wrote: > > > would the following two bindings be ok ? I would create patches to add them. > > > * regulator-allow-mode; or regulator-allow-change-mode; > > This seems redundant, if we ha

Re: [PATCH RFC] locking/mutexes: don't spin on owner when wait list is not NULL.

2016-01-29 Thread Peter Zijlstra
On Sun, Jan 24, 2016 at 04:03:50PM +0800, Ding Tianhong wrote: > looks good to me, I will try this solution and report the result, thanks > everyone. Did you get a change to run with this?

[PATCH v2] irqchip: mxs: add missing set_handle_irq()

2016-01-29 Thread Oleksij Rempel
The rework of the driver missed to move the call to set_handle_irq() into asm9260_of_init(). As a consequence no interrupt entry point is installed and no interrupts are delivered Solution is: Install the interrupt entry handler. Fixes: 7e4ac676ee ("irqchip/mxs: Add Alphascale ASM9260 support")

Re: [PATCH v3] i2c: mt8173: add 4GB mode support in i2c driver.

2016-01-29 Thread kbuild test robot
Hi Liguo, [auto build test WARNING on wsa/i2c/for-next] [also build test WARNING on v4.5-rc1 next-20160129] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url: https://github.com/0day-ci/linux/commits/Liguo-Zhang/i2c-mt8173-add-4GB-mode

Re: [RFC5 PATCH v6 00/21] ILP32 for ARM64

2016-01-29 Thread Zhangjian (Bamvor)
Hi, On 1:22 2016/1/15, Yury Norov wrote: This is still RFC because we have no glibc yet, that correspnds new ABI introduced here. And so we cannot run tests. LP64 and AARCH32 tests show no regression though. Hi, Glad to see this version. I hope I could test it. Where could I find the correspon

Re: [RFC][PATCH] mips: Fix arch_spin_unlock()

2016-01-29 Thread Will Deacon
Hi Paul, On Thu, Jan 28, 2016 at 02:31:31PM -0800, Paul E. McKenney wrote: > On Thu, Jan 28, 2016 at 09:57:19AM +, Will Deacon wrote: > > On Wed, Jan 27, 2016 at 03:38:36PM -0800, Paul E. McKenney wrote: > > > On Wed, Jan 27, 2016 at 03:21:58PM +, Will Deacon wrote: > > Yes, sorry for the

Re: [PATCH 1/7] usb: gadget: pxa25x_udc: move register definitions from arch

2016-01-29 Thread Arnd Bergmann
On Friday 29 January 2016 10:32:07 Robert Jarzmik wrote: > > This addresses both issues by moving all the definitions into the > > pxa25x_udc driver itself. It turns out the only difference between > > them was 'UDCCS_IO_ROF', and that could well be a mistake when it > > was incorrectly copied from

Re: mm: another VM_BUG_ON_PAGE(PageTail(page))

2016-01-29 Thread Dmitry Vyukov
On Thu, Jan 28, 2016 at 12:40 PM, Kirill A. Shutemov wrote: > On Thu, Jan 28, 2016 at 11:55:14AM +0100, Dmitry Vyukov wrote: >> On Thu, Jan 28, 2016 at 11:51 AM, Kirill A. Shutemov >> wrote: >> > On Thu, Jan 28, 2016 at 11:27:11AM +0100, Dmitry Vyukov wrote: >> >> Hello, >> >> >> >> The following

Re: [PATCH] mfd: syscon: set regmap max_register in of_syscon_register

2016-01-29 Thread Arnd Bergmann
On Friday 29 January 2016 10:35:51 Philipp Zabel wrote: > Determine the regmap max_register configuration from the io resource size > and the reg-io-width device tree property. > > Signed-off-by: Philipp Zabel > Good catch! Acked-by: Arnd Bergmann

Re: [PATCH v2 04/10] crypto/compress: add asynchronous compression support

2016-01-29 Thread Herbert Xu
On Thu, Jan 28, 2016 at 12:19:42PM +0900, Joonsoo Kim wrote: > > I have tested asynchronous compression APIs in zram and I saw > regression. Atomic allocation and setting up SG lists are culprit > for this regression. Moreover, zram optimizes linearisation So which is it, atomic allocations or set

Re: [PATCH 2/7] usb: gadget: pxa25x_udc cleanup

2016-01-29 Thread Robert Jarzmik
Arnd Bergmann writes: > This removes the dependency on the mach/hardware.h header file > from the pxa25x_udc driver after the register definitions were > already unified in the previous patch. > > Following the model of pxa27x_udc (and basically all other drivers > in the kernel), we define the r

Re: [BUG] scheduler doesn't balance thread to idle cpu for 3 seconds

2016-01-29 Thread Peter Zijlstra
On Thu, Jan 28, 2016 at 01:43:13PM -0500, Jan Stancek wrote: > > How long should I have to wait for a fail? > > It's about 1000-2000 iterations for me, which I think you covered > by now in those 2 hours. So I've been running: while ! ./pthread_cond_wait_1 ; do sleep 1; done overnight on the

  1   2   3   4   5   6   7   8   >