Re: [PATCH] ARM: dma-mapping: Just allocate one chunk at a time

2015-12-18 Thread Robin Murphy
On 18/12/15 18:55, Doug Anderson wrote: Robin, On Fri, Dec 18, 2015 at 4:41 AM, Robin Murphy wrote: Hi Doug, On 17/12/15 22:31, Doug Anderson wrote: Hi, On Thu, Dec 17, 2015 at 12:30 PM, Douglas Anderson wrote: The __iommu_alloc_buffer() is expected to be called to allocate pretty

[PATCH 1/2] can: sja1000: add documentation for Technologic Systems version

2015-12-18 Thread Damien Riegel
This commit adds documentation for the Technologic Systems version of SJA1000. The difference with the NXP version is in the way the registers are accessed. Signed-off-by: Damien Riegel --- Documentation/devicetree/bindings/net/can/sja1000.txt | 3 ++- 1 file changed, 2 insertions(+), 1

[PATCH 2/2] can: sja1000: of: add compatibility with Technologic Systems version

2015-12-18 Thread Damien Riegel
Technologic Systems provides an IP compatible with the SJA1000, instantiated in an FPGA. Because of some bus widths issue, access to registers is made through a "window" that works like this: base + 0x0: address to read/write base + 0x2: 8-bit register value This commit adds a new

[PATCH v3 REPOST] fs: __generic_file_splice_read retry lookup on AOP_TRUNCATED_PAGE

2015-12-18 Thread Abhi Das
During testing, I discovered that __generic_file_splice_read() returns 0 (EOF) when aops->readpage fails with AOP_TRUNCATED_PAGE on the first page of a single/multi-page splice read operation. This EOF return code causes the userspace test to (correctly) report a zero-length read error when it was

Re: [PATCH 7/9] usb: dwc2: host: use list_for_each_entry_safe

2015-12-18 Thread Julia Lawall
artman > > CC: Geliang Tang , linux-...@vger.kernel.org, > linux-kernel@vger.kernel.org > > Hi Geliang, > > [auto build test WARNING on usb/usb-testing] > [also build test WARNING on v4.4-rc5 next-20151218] > > url: > https://github.com/0day-ci

[PATCH] ALSA: oss: consolidate kmalloc/memset 0 call to kzalloc

2015-12-18 Thread Nicholas Mc Guire
This is an API consolidation only. The use of kmalloc + memset to 0 is equivalent to kzalloc. Signed-off-by: Nicholas Mc Guire --- Found by coccinelle script (relaxed version of scripts/coccinelle/api/alloc/kzalloc-simple.cocci) Patch was compile tested with: x86_64_defconfig

[PATCH] ALSA: consolidate allocation API

2015-12-18 Thread Nicholas Mc Guire
This is an API consolidation only. The use of kmalloc + memset to 0 is equivalent to kzalloc. Signed-off-by: Nicholas Mc Guire --- Found by coccinelle script (relaxed version of scripts/coccinelle/api/alloc/kzalloc-simple.cocci) Patch was compile tested with: x86_64_defconfig

Re: SDHCI long sleep with interrupts off

2015-12-18 Thread Russell King - ARM Linux
On Thu, Dec 17, 2015 at 04:09:03PM +0100, David Jander wrote: > > Dear Ulf, > > On Thu, 17 Dec 2015 15:54:54 +0100 > Ulf Hansson wrote: > > The code is in general fragile. We have have kind of reached the > > point, when I apply changes that fixes one issue it may cause another. > > Oh, that

[OOPS] BUG_ON in cgroups on 4.4.0-rc5-next

2015-12-18 Thread Alex Ng (LIS)
Hi, I was running a "git clone" of the linux-next source tree and hit the following BUG_ON condition. My box is running kernel 4.4.0-rc5-next-20151217-52.27. Any ideas on how to pin down the cause? The trace indicates that the following condition in compare_css_sets() triggered the oops:

[PATCH] usb: gadget: rndis: fix itnull.cocci warnings

2015-12-18 Thread Julia Lawall
The index variable of list_for_each_entry_safe is never NULL. Generated by: scripts/coccinelle/iterators/itnull.cocci CC: Geliang Tang Signed-off-by: Fengguang Wu Signed-off-by: Julia Lawall --- rndis.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---

Re: Rethinking sigcontext's xfeatures slightly for PKRU's benefit?

2015-12-18 Thread Dave Hansen
On 12/18/2015 11:21 AM, Andy Lutomirski wrote: > On Fri, Dec 18, 2015 at 10:42 AM, Dave Hansen > wrote: >> On 12/18/2015 08:04 AM, Andy Lutomirski wrote: >>> 1b. If the app malfunctions such that RSP points to pmem, the kernel >>> MUST NOT clobber the pmem space. I think that this basically

[GIT PULL] hwmon fixes for v4.4-rc6

2015-12-18 Thread Guenter Roeck
Hi Linus, Please pull hwmon fixes for Linux v4.4-rc6 from signed tag: git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git hwmon-for-linus-v4.4-rc6 Thanks, Guenter -- The following changes since commit 527e9316f8ec44bd53d90fb9f611fa752bb9: Linux 4.4-rc4

Re: Aw: Re: [RFC PATCH urcu on mips, parisc] Fix: compat_futex should work-around futex signal-restart kernel bug

2015-12-18 Thread Mathieu Desnoyers
- On Dec 17, 2015, at 11:22 AM, Helge Deller del...@gmx.de wrote: > Hello Mathieu, > >> > When testing liburcu on a 3.18 Linux kernel, 2-core MIPS (cpu model : >> > Ingenic JZRISC V4.15 FPU V0.0), we notice that a blocked sys_futex >> > FUTEX_WAIT returns -1, errno=ENOSYS when interrupted

Re: [PATCH] mtd: onenand: omap2: Simplify the DMA setup for various paths

2015-12-18 Thread Peter Ujfalusi
On 12/18/2015 08:11 PM, Brian Norris wrote: > On Mon, Dec 14, 2015 at 11:49:32AM +0200, Peter Ujfalusi wrote: >> We have 4 functions containing almost identical DMA setup code. Create one >> function which can set up the DMA for both read and write and use this in >> place for the setup code in

[PATCH 1/2] irqchip: add documentation for TS-4800 interrupt controller

2015-12-18 Thread Damien Riegel
This is an interrupt-controller implemented in an FPGA, to multiplex interrupts generated from other IPs. The FPGA usually uses a GPIO as a parent interrupt controller to notify that one of the multiplexed interrupts has triggered. Signed-off-by: Damien Riegel ---

[PATCH 2/2] irqchip: add TS-4800 interrupt controller

2015-12-18 Thread Damien Riegel
This commit adds support for the TS-4800 interrupt controller. This controller is instantiated in a companion FPGA, and multiplex interrupts for other FPGA IPs. As this component is external to the SoC, the SoC might need to reserve pins, so this controller is implemented as a platform driver and

Re: [PATCH] veth: don't modify ip-summed; doing so treats packets with bad checksums as good.

2015-12-18 Thread Vijay Pandurangan
Evan and I have demonstrated this bug on Kubernetes as well, so it's not just a problem in Mesos. (See https://github.com/kubernetes/kubernetes/issues/18898) Sorry about my email client, I've re-sent the patch in another thread from git-email as I should have initially. I'll read through the TX

[PATCH man-pages] membarrier.2: Fix typo in Read-Copy-Update

2015-12-18 Thread Mathieu Desnoyers
"Ready-Copy-Update" should read "Read-Copy-Update". Signed-off-by: Mathieu Desnoyers CC: Michael Kerrisk --- man2/membarrier.2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/man2/membarrier.2 b/man2/membarrier.2 index b5eaf34..ce8b77a 100644 --- a/man2/membarrier.2 +++

[PATCH] veth: don’t modify ip_summed; doing so treats packets with bad checksums as good.

2015-12-18 Thread Vijay Pandurangan
Packets that arrive from real hardware devices have ip_summed == CHECKSUM_UNNECESSARY if the hardware verified the checksums, or CHECKSUM_NONE if the packet is bad or it was unable to verify it. The current version of veth will replace CHECKSUM_NONE with CHECKSUM_UNNECESSARY, which causes corrupt

Re: [RFC PATCH man-pages] Add membarrier system call man page

2015-12-18 Thread Mathieu Desnoyers
- On Dec 18, 2015, at 1:40 PM, Davidlohr Bueso d...@stgolabs.net wrote: > On Sun, 13 Dec 2015, Mathieu Desnoyers wrote: >>+.SH RETURN VALUE >>+On success, this system call returns zero. On error, \-1 is returned, >>+and > > For the zero return, would it make sense to specify that it is also

[PATCH] ARC: fix building for MMU v2

2015-12-18 Thread Alexey Brodkin
ARC700 cores with MMU v2 don't have IC_PTAG AUX register and so we only define ARC_REG_IC_PTAG for MMU versions >= 3. But current implementation of cache_line_loop_vX() routines assumes availability of all of them (v2, v3 and v4) simultaneously. And given undefined ARC_REG_IC_PTAG if

Re: Rethinking sigcontext's xfeatures slightly for PKRU's benefit?

2015-12-18 Thread Andy Lutomirski
On Fri, Dec 18, 2015 at 10:42 AM, Dave Hansen wrote: > On 12/18/2015 08:04 AM, Andy Lutomirski wrote: >> 1b. If the app malfunctions such that RSP points to pmem, the kernel >> MUST NOT clobber the pmem space. I think that this basically mandates >> that PKRU needs to have some safe state (i.e.

[PATCH 1/1] staging: coding style cleanups for staging/panel driver

2015-12-18 Thread Bijosh Thykkoottathil
From: Bijosh Thykkoottathil This patch fixes coding style errors for staging/panel driver. Signed-off-by: Bijosh Thykkoottathil --- drivers/staging/panel/panel.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/staging/panel/panel.c

Re: [PATCH] ila: add NETFILTER dependency

2015-12-18 Thread David Miller
From: Arnd Bergmann Date: Fri, 18 Dec 2015 15:37:37 +0100 > The recently added generic ILA translation facility fails to > build when CONFIG_NETFILTER is disabled: > > net/ipv6/ila/ila_xlat.c:229:20: warning: 'struct nf_hook_state' declared > inside parameter list >

Re: [RFCv6 PATCH 03/10] sched: scheduler-driven cpu frequency selection

2015-12-18 Thread Steve Muckle
Hi Leo, On 12/16/2015 11:17 PM, Leo Yan wrote: > Could you check if below corner case will introduce logic error? > The task still will be removed from rq if timer tick is triggered > between two time's set_current_state(). > > set_current_state(TASK_INTERRUPTIBLE); >`--->

[PATCH] blackfin-cpufreq: Change return type of cpu_set_cclk() to that of clk_set_rate()

2015-12-18 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 18 Dec 2015 19:43:27 +0100 The return type "unsigned long" was used by the cpu_set_cclk() function while the type "int" is provided by the clk_set_rate() function. Let us make this usage consistent. This issue was detected by using the Coccinelle software.

Re: [PATCH] veth: don't modify ip-summed; doing so treats packets with bad checksums as good.

2015-12-18 Thread Cong Wang
(Cc'ing Eric B and Tom) On Fri, Dec 18, 2015 at 9:54 AM, Vijay Pandurangan wrote: > Packets that arrive from real hardware devices have ip_summed == > CHECKSUM_UNNECESSARY if the hardware verified the checksums, or > CHECKSUM_NONE if the packet is bad or it was unable to verify it. The > current

Re: [RFC v1 0/8] x86/init: Linux linker tables

2015-12-18 Thread H. Peter Anvin
On December 18, 2015 10:50:40 AM PST, "Luis R. Rodriguez" wrote: >On Thu, Dec 17, 2015 at 08:25:19PM -0800, H. Peter Anvin wrote: >> On 12/17/15 15:46, Luis R. Rodriguez wrote: >> > >> > I explain why I do that there but the gist of it is that on Linux >we may also >> > want stronger semantics

Re: [PATCH V2 00/23] MMCONFIG refactoring and support for ARM64 PCI hostbridge init based on ACPI

2015-12-18 Thread okaya
> On 17.12.2015 22:24, Sinan Kaya wrote: >> Hi Tomasz, >> >> On 12/16/2015 10:16 AM, Tomasz Nowicki wrote: >>> From the functionality point of view this series might be split into >>> the >>> following logic parts: >>> 1. Make MMCONFIG code arch-agnostic which allows all architectures to >>>

Re: [PATCH] ARM: dma-mapping: Just allocate one chunk at a time

2015-12-18 Thread Doug Anderson
Robin, On Fri, Dec 18, 2015 at 4:41 AM, Robin Murphy wrote: > Hi Doug, > > > On 17/12/15 22:31, Doug Anderson wrote: >> >> Hi, >> >> On Thu, Dec 17, 2015 at 12:30 PM, Douglas Anderson >> wrote: >>> >>> The __iommu_alloc_buffer() is expected to be called to allocate pretty >>> sizeable buffers.

[PATCH 1/2] io-64-nonatomic: Add relaxed accessor variants

2015-12-18 Thread Robin Murphy
Whilst commit 9439eb3ab9d1 ("asm-generic: io: implement relaxed accessor macros as conditional wrappers") makes the *_relaxed forms of I/O accessors universally available to drivers, in cases where writeq() is implemented via the io-64-nonatomic helpers, writeq_relaxed() will end up falling back

[PATCH 2/2] iommu/arm-smmu: Tidy up 64-bit/atomic I/O accesses

2015-12-18 Thread Robin Murphy
With {read,write}q_relaxed now able to fall back to the common nonatomic-hi-lo helper, make use of that so that we don't have to open-code our own. In the process, also convert the other remaining split accesses, and repurpose the custom accessor to smooth out the couple of troublesome instances

Re: [PATCH] BTT: Change nd_btt_arena_is_valid() to verify UUID

2015-12-18 Thread Toshi Kani
On Fri, 2015-12-18 at 09:54 -0800, Dan Williams wrote: > On Fri, Dec 18, 2015 at 7:15 AM, Toshi Kani wrote: > > On Fri, 2015-12-18 at 01:34 -0700, Vishal Verma wrote: > > > Also, I wonder if this problem is solved by using libndctl to manage > > > BTTs. > > > > I have not tested with libndctl

Re: [RFC v1 0/8] x86/init: Linux linker tables

2015-12-18 Thread Luis R. Rodriguez
On Thu, Dec 17, 2015 at 08:25:19PM -0800, H. Peter Anvin wrote: > On 12/17/15 15:46, Luis R. Rodriguez wrote: > > > > I explain why I do that there but the gist of it is that on Linux we may > > also > > want stronger semantics for specific linker table solutions, and solutions > > such > > as

Re: [PATCH 1/3] ata: sata_dwc_460ex: use "dmas" DT property to find dma channel

2015-12-18 Thread Andy Shevchenko
On Fri, 2015-12-18 at 17:18 +, Måns Rullgård wrote: > Julian Margetson writes: > > > On 12/18/2015 8:49 AM, Måns Rullgård wrote: > > > Andy Shevchenko writes: > > > > > > > > > [5.206125] Unable to handle kernel paging request for > > > > > > data at > > > > > > address 0x > >

Re: [PATCH v4 2/5] mtd: nand: Qualcomm NAND controller driver

2015-12-18 Thread Boris Brezillon
Hi Archit, On Thu, 17 Dec 2015 15:18:46 +0530 Archit Taneja wrote: > > > > > Note that you could put the oobfree area at the end of the OOB area, > > since this 10-10-10-16-10 representation is already a virtual > > representation of the OOB area (ECC bytes are actually interleaved with > >

Re: Rethinking sigcontext's xfeatures slightly for PKRU's benefit?

2015-12-18 Thread Dave Hansen
On 12/18/2015 08:04 AM, Andy Lutomirski wrote: > 1b. If the app malfunctions such that RSP points to pmem, the kernel > MUST NOT clobber the pmem space. I think that this basically mandates > that PKRU needs to have some safe state (i.e. definitely not the init > state) on signal delivery: the

Re: [RFC PATCH man-pages] Add membarrier system call man page

2015-12-18 Thread Davidlohr Bueso
On Sun, 13 Dec 2015, Mathieu Desnoyers wrote: +.SH RETURN VALUE +On success, this system call returns zero. On error, \-1 is returned, +and For the zero return, would it make sense to specify that it is also the case for MEMBARRIER_CMD_SHARED under UP? Its pretty obvious it should be a no-op,

Re: [PATCH] mtd: onenand: omap2: Simplify the DMA setup for various paths

2015-12-18 Thread Tony Lindgren
* Brian Norris [151218 10:11]: > On Mon, Dec 14, 2015 at 11:49:32AM +0200, Peter Ujfalusi wrote: > > We have 4 functions containing almost identical DMA setup code. Create one > > function which can set up the DMA for both read and write and use this in > > place for the setup code in the driver.

Re: SDHCI long sleep with interrupts off

2015-12-18 Thread Russell King - ARM Linux
On Thu, Dec 17, 2015 at 01:22:29PM +0100, David Jander wrote: > Ok, this sounds like a good way to go. Unfortunately it also sounds like a > major endeavor, for which good knowledge of the SDHCI standard is necessary. That's not entirely true. Anyone who is really good at programming can fix

Re: [PATCH 5/9] usb: xhci: use list_for_each_entry

2015-12-18 Thread Julia Lawall
d test WARNING on usb/usb-testing] > [also build test WARNING on v4.4-rc5 next-20151218] > > url: > https://github.com/0day-ci/linux/commits/Geliang-Tang/usb-host-fotg210-use-list_for_each_entry_safe/20151219-003955 > base: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh

Re: [PATCH v2] mtd: omap_elm: print interrupt resource using %pr

2015-12-18 Thread Brian Norris
On Fri, Dec 18, 2015 at 02:15:17PM +0100, Arnd Bergmann wrote: > When CONFIG_LPAE is set on ARM, resource_size_t is 64-bit wide > and we get a warning about an incorrect format string for printing > the interrupt number in elm_probe: > > drivers/mtd/nand/omap_elm.c: In function 'elm_probe': >

Re: [PATCH v2 0/4] Add Cygnus audio clock support

2015-12-18 Thread Ray Jui
Hi Stephen/Michael, If these clock changes look fine to you, can they be merged for v4.5? Thanks, Ray On 12/3/2015 9:37 AM, Ray Jui wrote: Hi Stephen/Mike, Do these clock changes look okay to you? Thanks, Ray On 11/24/2015 4:13 PM, Florian Fainelli wrote: On 23/11/15 09:50, Ray Jui

Re: [char-misc-next v2 7/7] watchdog: mei_wdt: re-register device on event

2015-12-18 Thread One Thousand Gnomes
> > That breaks the existing behaviour of hot pluggable watchdog interfaces > > and is different to just about any other device in the kernel. Today with > > any desktop or server distribution you can already trivially arrange for > > watchdog daemons to start at the point a watchdog is detected

Re: [PATCH] mtd: onenand: omap2: Simplify the DMA setup for various paths

2015-12-18 Thread Brian Norris
On Mon, Dec 14, 2015 at 11:49:32AM +0200, Peter Ujfalusi wrote: > We have 4 functions containing almost identical DMA setup code. Create one > function which can set up the DMA for both read and write and use this in > place for the setup code in the driver. > The new function will use

Re: [PATCH] ila: add NETFILTER dependency

2015-12-18 Thread Florian Westphal
Pablo Neira Ayuso wrote: > On Fri, Dec 18, 2015 at 03:37:37PM +0100, Arnd Bergmann wrote: > > The recently added generic ILA translation facility fails to > > build when CONFIG_NETFILTER is disabled: > > > > net/ipv6/ila/ila_xlat.c:229:20: warning: 'struct nf_hook_state' declared > > inside

Re: [PATCH] KVM: x86: MMU: Use clear_page() instead of init_shadow_page_table()

2015-12-18 Thread Paolo Bonzini
On 18/12/2015 10:54, Takuya Yoshikawa wrote: > Not just in order to clean up the code, but to make it faster by using > enhanced instructions: the initialization became 20-30% faster on our > testing machine. > > Signed-off-by: Takuya Yoshikawa Applied locally, but I'm not sure when it will

Re: [PATCH v2 0/5] mtd: nand: Fix support for NAND DMA prefetch

2015-12-18 Thread Brian Norris
On Thu, Oct 15, 2015 at 12:37:23PM -0500, Franklin S Cooper Jr wrote: > NAND DMA prefetch has been broken for awhile and seems to have only > worked for SDMA based devices > > This patchset fixes DMA prefetch to work on both EDMA and SDMA devices > > Test on: > am335x gp evm > am437x gp evm >

Re: [PATCH v3 5/5] hisilicon/dts: Add hi655x pmic dts node

2015-12-18 Thread Mark Brown
On Thu, Dec 17, 2015 at 11:27:27AM +0800, chenfeng wrote: > +- regulator-vset-regs: Voltage set register offset. > +- regulator-vset-mask: voltage set control mask. > +- regulator-n-vol: The num of support voltages. > +- regulator-vset-table: The table of support voltages. > > Why is this in

[PATCH] veth: don't modify ip-summed; doing so treats packets with bad checksums as good.

2015-12-18 Thread Vijay Pandurangan
Packets that arrive from real hardware devices have ip_summed == CHECKSUM_UNNECESSARY if the hardware verified the checksums, or CHECKSUM_NONE if the packet is bad or it was unable to verify it. The current version of veth will replace CHECKSUM_NONE with CHECKSUM_UNNECESSARY, which causes corrupt

Re: [PATCH] BTT: Change nd_btt_arena_is_valid() to verify UUID

2015-12-18 Thread Dan Williams
On Fri, Dec 18, 2015 at 7:15 AM, Toshi Kani wrote: > On Fri, 2015-12-18 at 01:34 -0700, Vishal Verma wrote: >> Also, I wonder if this problem is solved by using libndctl to manage >> BTTs. > > I have not tested with libndctl yet, but I think our bind/unbind scripts do > the same procedures. We

Re: [RESEND] Lenovo Yoga 900 touchpad issues

2015-12-18 Thread Nish Aravamudan
On Fri, Dec 18, 2015 at 7:38 AM, Mika Westerberg wrote: > On Fri, Dec 18, 2015 at 04:42:09PM +0200, Mika Westerberg wrote: >> On another occasion the faulty input report was received immediatelly >> after we call i2c_hid_set_power(). >> >> With below hack patch suspend/resume works fine but it is

Re: [PATCH 2/9] usb: host: max3421-hcd: use list_for_each_entry*

2015-12-18 Thread Julia Lawall
ING on usb/usb-testing] > [also build test WARNING on v4.4-rc5 next-20151218] > > url: > https://github.com/0day-ci/linux/commits/Geliang-Tang/usb-host-fotg210-use-list_for_each_entry_safe/20151219-003955 > base: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git > usb-

Re: [char-misc-next v2 7/7] watchdog: mei_wdt: re-register device on event

2015-12-18 Thread Guenter Roeck
On 12/18/2015 09:19 AM, One Thousand Gnomes wrote: I am not really happy about the watchdog device appearing and disappearing dynamically. This wreaks havoc with any standard watchdog application. Any software that doesn't handle this has been broken for over fifteen years. We have hotplug PCI

Re: [PATCH v4] arm64: run-time detection for aarch32 support

2015-12-18 Thread Mark Rutland
On Fri, Dec 18, 2015 at 05:03:11PM +, Suzuki K. Poulose wrote: > On 18/12/15 16:00, Yury Norov wrote: > >Kernel option COMPAT defines the ability of executing aarch32 binaries. > >Some platforms does not support aarch32 mode, and so cannot execute that > >binaries. But we cannot just disable

commit e34d65696d2e broke stmmac ethernet on socfpga

2015-12-18 Thread Dinh Nguyen
Hi, It appears that commit e34d65696d2e 'stmmac: create of compatible mdio bus for stmmac driver' is causing this error on the SoCFPGA platform: [1.767246] libphy: PHY stmmac-0: not found [1.772106] eth0: Could not attach to PHY [1.776129] stmmac_open: Cannot attach to PHY

Re: [PATCH V16 00/11] x86: Intel Cache Allocation Technology Support

2015-12-18 Thread Christoph Lameter
On Thu, 17 Dec 2015, Fenghua Yu wrote: > Intel Cache allocation support: > > Cache allocation patches adds a cgroup subsystem to support the new > Cache Allocation feature found in future Intel Xeon Intel processors. > Cache Allocation is a sub-feature with in Resource Director >

Re: [PATCH 2/2] cgroup: put controller Kconfig options in meaningful order

2015-12-18 Thread Tejun Heo
On Thu, Dec 17, 2015 at 05:19:57PM -0500, Johannes Weiner wrote: > To make it easier to quickly find what's needed list the basic > resource controllers of cgroup2 first - io, memory, cpu - while > pushing the more exotic and/or legacy controllers to the bottom. > > Signed-off-by: Johannes Weiner

Re: [PATCH v7 4/5] iommu/mediatek: Add mt8173 IOMMU driver

2015-12-18 Thread Robin Murphy
On 18/12/15 08:09, Yong Wu wrote: This patch adds support for mediatek m4u (MultiMedia Memory Management Unit). Signed-off-by: Yong Wu --- drivers/iommu/Kconfig | 14 + drivers/iommu/Makefile| 1 + drivers/iommu/mtk_iommu.c | 734 ++

Re: [PATCH v4] arm64: run-time detection for aarch32 support

2015-12-18 Thread Mark Rutland
> diff --git a/arch/arm64/include/asm/elf.h b/arch/arm64/include/asm/elf.h > index faad6df..1053cd7 100644 > --- a/arch/arm64/include/asm/elf.h > +++ b/arch/arm64/include/asm/elf.h > @@ -23,6 +23,7 @@ > */ > #include > #include > +#include Nit: please keep these ordered alphabetically.

Re: [PATCH 2/7] perf: Generalize task_function_call()ers

2015-12-18 Thread Alexander Shishkin
Peter Zijlstra writes: > On Fri, Dec 18, 2015 at 05:07:34PM +0200, Alexander Shishkin wrote: >> Peter Zijlstra writes: >> >> > @@ -2774,9 +2696,6 @@ static void perf_event_context_sched_in( >> > */ >> >cpu_ctx_sched_out(cpuctx, EVENT_FLEXIBLE); >> > >> > - if (ctx->nr_events) >> > -

Re: [PATCH 1/2] cgroup: clean up the kernel configuration menu nomenclature

2015-12-18 Thread Tejun Heo
On Fri, Dec 18, 2015 at 10:23:03AM +0800, Zefan Li wrote: > > config CGROUP_DEBUG > >-bool "Example debug cgroup subsystem" > >+bool "Example controller" > > But not all cgroup subsystems are controllers, which are debug, perf and > cpuacct. I'm fine the other changes. I think it's fine

[GIT PULL for v4.4-rc6] media fixes

2015-12-18 Thread Mauro Carvalho Chehab
The following changes since commit 8005c49d9aea74d382f474ce11afbbc7d7130bec: Linux 4.4-rc1 (2015-11-15 17:00:27 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media tags/media/v4.4-3 for you to fetch changes up to

[GIT PULL] Btrfs

2015-12-18 Thread Chris Mason
Hi Linus, A couple of small fixes in my for-linus-4.4 branch: git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs.git for-linus-4.4 Chris Mason (2) commits (+19/-7): Btrfs: check for empty bitmap list in setup_cluster_bitmaps (+5/-3) Btrfs: check prepare_uptodate_page()

Re: [RESEND GIT PULL 0/9] phy: for 4.4 -rc

2015-12-18 Thread Greg KH
On Tue, Dec 15, 2015 at 03:34:15PM +0530, Kishon Vijay Abraham I wrote: > Hi Greg, > > Looks like this have not been merged yet. Can you merge it in this > -rc cycle. Let me know if I have to change something. > > Bulk of the changes are with respect to adding of_node_put in > the PHY drivers, a

Re: [PATCH] ila: add NETFILTER dependency

2015-12-18 Thread Pablo Neira Ayuso
On Fri, Dec 18, 2015 at 03:37:37PM +0100, Arnd Bergmann wrote: > The recently added generic ILA translation facility fails to > build when CONFIG_NETFILTER is disabled: > > net/ipv6/ila/ila_xlat.c:229:20: warning: 'struct nf_hook_state' declared > inside parameter list >

Re: [PATCH] mm/readahead.c, mm/vmscan.c: use lru_to_page instead of list_to_page

2015-12-18 Thread Vlastimil Babka
On 12/08/2015 03:40 PM, Geliang Tang wrote: > list_to_page() in readahead.c is the same as lru_to_page() in vmscan.c. > So I move lru_to_page to internal.h and drop list_to_page(). Looks like this would topically fit better to include/linux/mm_inline.h Vlastimil -- To unsubscribe from this

Re: [PATCH] soc: qcom: Add support for SAW2 regulators

2015-12-18 Thread Lina Iyer
On Fri, Dec 18 2015 at 09:15 -0700, Georgi Djakov wrote: The SAW2 (Subsystem Power Manager and Adaptive Voltage Scaling Wrapper) is part of the SPM subsystem. It is a hardware block found on some of the Qualcomm chipsets, which regulates the power to the CPU cores. Add some basic support for it,

[PATCH v4 2/2] iio: ina2xx: add ABI documentation entry sysfs-bus-iio-ina2xx-adc

2015-12-18 Thread Marc Titinger
Documentation for attributes: * in_allow_async_readout * in_shunt_resistor Signed-off-by: Marc Titinger --- Documentation/ABI/testing/sysfs-bus-iio-ina2xx-adc | 24 ++ 1 file changed, 24 insertions(+) create mode 100644 Documentation/ABI/testing/sysfs-bus-iio-ina2xx-adc

[PATCH v4 1/2] iio: ina2xx: add support for TI INA2xx Power Monitors

2015-12-18 Thread Marc Titinger
in SOFTWARE buffer mode, a kthread will capture the active scan_elements into a kfifo, then compute the remaining time until the next capture tick and do an active wait (udelay). This will produce a stream of up to fours channels plus a 64bits timestamps (ns). Tested with ina226, on

Re: n_tty: Check the other end of pty pair before returning EAGAIN on a read()

2015-12-18 Thread Marc Aurele La France
On Fri, 18 Dec 2015, Peter Hurley wrote: On 12/18/2015 06:26 AM, Marc Aurele La France wrote: On Fri, 11 Dec 2015, Peter Hurley wrote: On 12/11/2015 05:37 AM, Marc Aurele La France wrote: I am not asking to read data before it has been produced. I am puzzled that despite knowing that the

[PATCH v4 0/2] IIO version of INA2xx

2015-12-18 Thread Marc Titinger
v4: * squash previous small fixes into one patch and catch up with fixes from linux-iio git, 'testing' branch. * fix endianness hint by the use of IIO_CPU, following Andrew's comment * fix spacing issue. * add separate ABI documentation entry v3 and earlier : see

Re: [PATCH] PCI: iproc: fix msi driver selection

2015-12-18 Thread Ray Jui
Hi Arnd, On 12/18/2015 6:57 AM, Arnd Bergmann wrote: The newly added MSI support for iproc causes a link error when its Kconfig option is disabled: ERROR: "iproc_msi_exit" [drivers/pci/host/pcie-iproc.ko] undefined! ERROR: "iproc_msi_init" [drivers/pci/host/pcie-iproc.ko] undefined! This

Re: [PATCH] soc: qcom: Add support for SAW2 regulators

2015-12-18 Thread Mark Brown
On Fri, Dec 18, 2015 at 06:14:58PM +0200, Georgi Djakov wrote: > The SAW2 (Subsystem Power Manager and Adaptive Voltage Scaling Wrapper) > is part of the SPM subsystem. It is a hardware block found on some of the > Qualcomm chipsets, which regulates the power to the CPU cores. Add some > basic

Re: [char-misc-next v2 7/7] watchdog: mei_wdt: re-register device on event

2015-12-18 Thread One Thousand Gnomes
> I am not really happy about the watchdog device appearing and disappearing > dynamically. This wreaks havoc with any standard watchdog application. Any software that doesn't handle this has been broken for over fifteen years. We have hotplug PCI and we have PCI watchdog card support. This isn't

Re: [PATCH 1/3] ata: sata_dwc_460ex: use "dmas" DT property to find dma channel

2015-12-18 Thread Måns Rullgård
Julian Margetson writes: > On 12/18/2015 8:49 AM, Måns Rullgård wrote: >> Andy Shevchenko writes: >> > [5.206125] Unable to handle kernel paging request for data at > address 0x > [5.228546] Faulting instruction address: 0xc043a2c8 > [5.248577] Vector: 300

Re: [PATCH powerpc/next v6 0/4] atomics: powerpc: Implement relaxed/acquire/release variants

2015-12-18 Thread Davidlohr Bueso
I've left this series testing overnight on a power7 box and so far so good, nothing has broken. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH V3 2/4] scsi: storvsc: Properly support Fibre Channel devices

2015-12-18 Thread James Bottomley
On Fri, 2015-12-18 at 09:49 +0100, Hannes Reinecke wrote: > What I would like to see is a clear separation here: > - Disable FC disk handling if FC attributes are not configured > - Add a module parameter allowing to disable FC attributes even if > they are compiled in. Remember: this is a

RE: [PATCH V3 2/4] scsi: storvsc: Properly support Fibre Channel devices

2015-12-18 Thread KY Srinivasan
> -Original Message- > From: Hannes Reinecke [mailto:h...@suse.de] > Sent: Friday, December 18, 2015 12:49 AM > To: KY Srinivasan ; gre...@linuxfoundation.org; linux- > ker...@vger.kernel.org; de...@linuxdriverproject.org; oher...@suse.com; > jbottom...@parallels.com; h...@infradead.org;

[PATCH] bio: Make the test correct for idx in __bio_clone_fast

2015-12-18 Thread Minfei Huang
It is more lucky that kernel crash does not happen, since we test the bi_pool in function __bio_clone_fast. The idx will be still equal to BIO_POOL_NONE, if there is no bvec to be allocated. Fix the bug_on condition to make the test correct. Signed-off-by: Minfei Huang --- block/bio.c | 3 +--

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

2015-12-18 Thread Ray Jui
Hi All, Yes I also checked the original patch that Pramod sent out: @@ -636,13 +638,13 @@ static int cygnus_gpio_register_pinconf(struct cygnus_gpio *chip) return 0; } -static void cygnus_gpio_unregister_pinconf(struct cygnus_gpio *chip) +static void

Re: [char-misc-next v2 7/7] watchdog: mei_wdt: re-register device on event

2015-12-18 Thread Guenter Roeck
On 12/17/2015 06:49 AM, Tomas Winkler wrote: From: Alexander Usyskin For Intel SKL platform the ME device can inform the host via asynchronous notification that the watchdog feature was activated on the device. The activation doesn't require reboot. In that case the driver registers the

Re: [PATCH v4] arm64: run-time detection for aarch32 support

2015-12-18 Thread Suzuki K. Poulose
On 18/12/15 16:00, Yury Norov wrote: Kernel option COMPAT defines the ability of executing aarch32 binaries. Some platforms does not support aarch32 mode, and so cannot execute that binaries. But we cannot just disable COMPAT for them because the same kernel binary may be used by multiple

[GIT PULL] xen: bug fixes for 4.4-rc5

2015-12-18 Thread David Vrabel
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Linus, Please git pull the following tag: git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip.git for-linus-4.4-rc5-tag xen: bug fixes for 4.4-rc5 - - XSA-155 security fixes to backend drivers. - - XSA-157 security fixes to pciback. Thanks.

[PATCH 2/2] ARM: dts: TS-4800: add touchscreen support

2015-12-18 Thread Damien Riegel
This commit enables the touchscreen on TS-4800, using the ts4800-ts driver. Signed-off-by: Damien Riegel --- arch/arm/boot/dts/imx51-ts4800.dts | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/imx51-ts4800.dts b/arch/arm/boot/dts/imx51-ts4800.dts index

Re: [PATCH v3 4/4] printk/nmi: Increase the size of NMI buffer and make it configurable

2015-12-18 Thread Daniel Thompson
On 18/12/15 14:52, Petr Mladek wrote: On Fri 2015-12-18 10:18:08, Daniel Thompson wrote: On 11/12/15 23:26, Jiri Kosina wrote: On Fri, 11 Dec 2015, Russell King - ARM Linux wrote: I'm personally happy with the existing code, and I've been wondering why there's this effort to apply further

[PATCH 1/2] ARM: dts: ts-4800: Add LCD support

2015-12-18 Thread Damien Riegel
This commit adds LCD support for the TS-4800. The panel is an Okaya RS800480T-7X0WQ and the timings have been extracted from Technologic Systems' tree. Signed-off-by: Damien Riegel --- arch/arm/boot/dts/imx51-ts4800.dts | 109 + 1 file changed, 109

Re: [PATCH 03/14] ipv4, ipv6: use list_for_each_entry*

2015-12-18 Thread Julia Lawall
; TO: Geliang Tang > CC: "David S. Miller" , Alexey Kuznetsov > , James Morris , Hideaki YOSHIFUJI > , Patrick McHardy > CC: Geliang Tang , net...@vger.kernel.org, > linux-kernel@vger.kernel.org > > Hi Geliang, > > [auto build test WARNING on net/maste

Re: [char-misc-next v2 6/7] watchdog: mei_wdt: register wd device only if required

2015-12-18 Thread Guenter Roeck
On 12/17/2015 06:49 AM, Tomas Winkler wrote: From: Alexander Usyskin For Intel Broadwell and newer platforms, the ME device can inform the host whether the watchdog functionality is activated or not. If the watchdog functionality is not activated then the watchdog interface can be not

Re: iio/hid-sensor-accel-3d: no output from /dev/iio:device*?

2015-12-18 Thread Pandruvada, Srinivas
On Thu, 2015-12-17 at 19:06 -0800, Nish Aravamudan wrote: > On Thu, Dec 17, 2015 at 6:50 PM, Pandruvada, Srinivas > wrote: > > On Thu, 2015-12-17 at 18:33 -0800, Nish Aravamudan wrote: > > > On Thu, Dec 17, 2015 at 5:11 PM, Pandruvada, Srinivas > > > wrote: > > > > On Thu, 2015-12-17 at 17:08

Re: [PATCH v2] serial: 8250: of: Fix the driver and actually compile the 8250_of

2015-12-18 Thread Jon Hunter
On 18/12/15 13:16, Arnd Bergmann wrote: > On Friday 18 December 2015 15:00:49 Peter Ujfalusi wrote: >> The 8250_of never compiled since in the Kconfig we have SERIAL_OF_PLATFORM >> but in the makefile we expect to have SERIAL_8250_OF... >> >> When the 8250_of.c is actually compiled we will have

Re: Rethinking sigcontext's xfeatures slightly for PKRU's benefit?

2015-12-18 Thread Dave Hansen
On 12/18/2015 08:04 AM, Andy Lutomirski wrote: > Which reminds me: __get_user, etc all respect PKRU because the SDM > says that PKRU affects all user *and* kernel accesses to user memory > (i.e. anything with _PAGE_USER). Should get_user_pages also respect > PKRU? It does. There are a couple of

Re: [PATCH] memory-hotplug: add automatic onlining policy for the newly added memory

2015-12-18 Thread David Vrabel
On 18/12/15 16:45, Vitaly Kuznetsov wrote: > Currently, all newly added memory blocks remain in 'offline' state unless > someone onlines them, some linux distributions carry special udev rules > like: > > SUBSYSTEM=="memory", ACTION=="add", ATTR{state}=="offline", > ATTR{state}="online" > > to

Re: [PATCH v3 3/7] tpm_tis: Do not fall back to a hardcoded address for TPM2

2015-12-18 Thread Jason Gunthorpe
On Fri, Dec 18, 2015 at 11:34:32AM +0200, Jarkko Sakkinen wrote: > > + st = acpi_get_table(ACPI_SIG_TPM2, 1, > > + (struct acpi_table_header **) ); > > + if (ACPI_FAILURE(st) || tbl->header.length < sizeof(*tbl)) { > > + dev_err(_dev->dev, > > +

Re: [PATCH] clk: tegra: Fix clock sources for tegra210 EMC

2015-12-18 Thread Rhyland Klein
On 12/18/2015 8:45 AM, Jon Hunter wrote: > The EMC clock sources for tegra210 currently incorrectly include pll_c2 > and pll_c3. However, both of these should have been pll_mb as shown in > the TRM. If tegra210 happens to be configured such that the pll_mb is the > default clock for the EMC, as

Re: [PATCH V3 4/4] scsi: storvsc: Tighten up the interrupt path

2015-12-18 Thread James Bottomley
On Fri, 2015-12-18 at 16:20 +, KY Srinivasan wrote: > > > -Original Message- > > From: Hannes Reinecke [mailto:h...@suse.de] > > Sent: Friday, December 18, 2015 12:52 AM > > To: KY Srinivasan ; gre...@linuxfoundation.org; > > linux- > > ker...@vger.kernel.org;

Re: [PATCH 2/7] perf: Generalize task_function_call()ers

2015-12-18 Thread Peter Zijlstra
On Fri, Dec 18, 2015 at 05:07:34PM +0200, Alexander Shishkin wrote: > Peter Zijlstra writes: > > > @@ -2774,9 +2696,6 @@ static void perf_event_context_sched_in( > > */ > > cpu_ctx_sched_out(cpuctx, EVENT_FLEXIBLE); > > > > - if (ctx->nr_events) > > - cpuctx->task_ctx =

[PATCH] memory-hotplug: add automatic onlining policy for the newly added memory

2015-12-18 Thread Vitaly Kuznetsov
Currently, all newly added memory blocks remain in 'offline' state unless someone onlines them, some linux distributions carry special udev rules like: SUBSYSTEM=="memory", ACTION=="add", ATTR{state}=="offline", ATTR{state}="online" to make this happen automatically. This is not a great solution

平时最多也就联系了三千家,全球还有十几万客户在哪里?

2015-12-18 Thread iSayor
您好: 您还在用ali平台开发外贸客户? 还在使用展会宣传企业和产品? 你out了!!! 当前外贸客户开发难,您是否也在寻找展会,B2B之外好的渠道? 行业全球十几万客户,平时最多也就联系了三千家,您是否想把剩下的也开发到? 加QQ1286754208给您演示下主动开发客户的方法,先用先受益,已经有近万家企业领先您使用!!。 广东省商业联合会推荐,主动开发客户第一品牌,近万家企业正在获益。您可以没有使用,但是不能没有了解。 -- To unsubscribe from this list: send the line

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

2015-12-18 Thread Alexandre Belloni
On 18/12/2015 at 10:30:22 -0500, Sasha Levin wrote : > On 12/17/2015 06:21 AM, Alexandre Belloni wrote: > > On 17/12/2015 at 16:03:44 +1100, Stephen Rothwell wrote : > >> > Hi Alexandre, > >> > > >> > After merging the rtc tree, today's linux-next build (arm > >> > multi_v7_defconfig) failed like

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