Re: [PATCH v4 5/7] powerpc/powernv: add event attribute and group to nest pmu

2015-07-08 Thread Sukadev Bhattiprolu
Madhavan Srinivasan [ma...@linux.vnet.ibm.com] wrote: | Add code to create event/format attributes and attribute groups for | each nest pmu. | | Cc: Michael Ellerman | Cc: Benjamin Herrenschmidt | Cc: Paul Mackerras | Cc: Anton Blanchard | Cc: Sukadev Bhattiprolu | Cc: Anshuman Khandual | Cc

[PATCH v3] staging: rtl8188eu: core: Fixed 80 character length warning

2015-07-08 Thread Sreenath Madasu
When the checkpatch.pl script was run, it showed lines with length more than 80 characters in rtw_ap.c file. Fixed line number 382 by breaking it up into two lines within 80 characters. Signed-off-by: Sreenath Madasu --- drivers/staging/rtl8188eu/core/rtw_ap.c | 3 ++- 1 file changed, 2 insertio

[PATCH] ARM: multi_v7_defconfig: Remove old Samsung USB PHY configs

2015-07-08 Thread Javier Martinez Canillas
The old drivers/usb/phy/phy-samsung-usb{2,3} are now deleted since were replaced by newers drivers that use the Generic PHY framework but their Kconfig options were left over in multi_v7_defconfig. Signed-off-by: Javier Martinez Canillas --- arch/arm/configs/multi_v7_defconfig | 2 -- 1 file c

Re: [1/2] RTC: Add core rtc support for Gemini Soc devices

2015-07-08 Thread Roman Yeryomin
On 2015-05-08 19:08, Arnd Bergmann wrote: On Thursday 07 May 2015 12:03:25 Roman Yeryomin wrote: On 2015-05-06 22:22, Arnd Bergmann wrote: > On Wednesday 06 May 2015 19:21:21 Roman Yeryomin wrote: >> >> > Thanks to point that, I'll merge that one which seems clean enough: >> > http://git.openwr

[PATCH v3 0/7] kallsyms header cleanup

2015-07-08 Thread Tom Zanussi
During review of an unrelated patchset, the question was asked why module.h was included in code that wouldn't be a module and didn't do anything with modules [1]. The reason is that it uses kallsyms defines, but kallsyms.h doesn't include module.h, though it should because it uses MODULE_NAME_LEN

[PATCH v3 6/7] slub: Remove redundant module.h includes

2015-07-08 Thread Tom Zanussi
kallsyms.h now includes module.h, so remove module.h includes that were apparently there only to satisfy kallsyms use of MODULE_NAME_LEN (via KSYM_SYMBOL_LEN). Signed-off-by: Tom Zanussi Acked-by: David Rientjes --- mm/slub.c | 1 - 1 file changed, 1 deletion(-) diff --git a/mm/slub.c b/mm/slu

[PATCH] KVM: x86: Add host physical address width capability

2015-07-08 Thread Bandan Das
Let userspace inquire the maximum physical address width of the host processors; this can be used to identify maximum memory that can be assigned to the guest. Reported-by: Laszlo Ersek Signed-off-by: Bandan Das --- arch/x86/kvm/x86.c | 3 +++ include/uapi/linux/kvm.h | 1 + 2 files chan

[PATCH v3 4/7] lib: Remove redundant module.h includes

2015-07-08 Thread Tom Zanussi
kallsyms.h now includes module.h, so remove module.h includes that were apparently there only to satisfy kallsyms use of MODULE_NAME_LEN (via KSYM_SYMBOL_LEN). Signed-off-by: Tom Zanussi --- lib/vsprintf.c | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/vsprintf.c b/lib/vsprintf.c index 8

[PATCH v3 1/7] tracing: Remove kallsyms.h include from linux/ftrace.h

2015-07-08 Thread Tom Zanussi
kallsyms.h was included by ftrace.h for KSYM_NAME_LEN, but that usage was removed by commit 3f5ec13696f [tracing/fastboot: move boot tracer structs and funcs into their own header]. Remove kallsyms.h and have users relying on ftrace.h to include it for them include it explicitly. Signed-off-by: T

[PATCH v3 5/7] fnic: Remove redundant module.h includes

2015-07-08 Thread Tom Zanussi
kallsyms.h now includes module.h, so remove module.h includes that were apparently there only to satisfy kallsyms use of MODULE_NAME_LEN (via KSYM_SYMBOL_LEN). Signed-off-by: Tom Zanussi --- drivers/scsi/fnic/fnic_trace.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/scsi/fnic/fnic_

[PATCH v3 2/7] kallsyms: Add module.h include

2015-07-08 Thread Tom Zanussi
KSYM_SYMBOL_LEN uses MODULE_NAME_LEN defined in module.h, so include module.h so users don't have to. Signed-off-by: Tom Zanussi --- include/linux/kallsyms.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/kallsyms.h b/include/linux/kallsyms.h index 6883e19..e1550a4 100644 ---

[PATCH v3 7/7] tracing: Remove unnecessary kallsyms.h and module.h includes

2015-07-08 Thread Tom Zanussi
At some point, these files made use of something from kallsyms.h and/or module.h, but they now use nothing from either and can be removed. Signed-off-by: Tom Zanussi --- kernel/trace/trace.c | 1 - kernel/trace/trace_branch.c | 2 -- kernel/trace/trace_export.c | 2 -- k

[PATCH v3 3/7] tracing: Remove redundant module.h includes

2015-07-08 Thread Tom Zanussi
kallsyms.h now includes module.h, so remove module.h includes that were apparently there only to satisfy kallsyms use of MODULE_NAME_LEN (via KSYM_SYMBOL_LEN). Signed-off-by: Tom Zanussi --- kernel/trace/trace_output.c | 1 - kernel/trace/trace_syscalls.c | 1 - 2 files changed, 2 deletions(-)

Re: [PATCH v4 3/5] tee: generic TEE subsystem

2015-07-08 Thread Greg Kroah-Hartman
On Wed, Jul 08, 2015 at 04:26:49PM -0600, Jason Gunthorpe wrote: > On Wed, Jul 08, 2015 at 02:11:29PM -0700, Greg Kroah-Hartman wrote: > > > > + cdev_init(&teedev->cdev, &tee_fops); > > > > + teedev->cdev.owner = teedesc->owner; > > > > > > This also needs to set teedev->cdev.kobj.pare

Re: [PATCH v6 4/6] ARM: vf610: enable NAND Flash Controller

2015-07-08 Thread Sebastian Andrzej Siewior
On Wed, Jul 08, 2015 at 10:32:54AM -0400, Bill Pringlemeir wrote: > >> diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig > >> index 3a3d3e9..9358135 100644 > >> --- a/arch/arm/mach-imx/Kconfig > >> +++ b/arch/arm/mach-imx/Kconfig > -589,6 +589,7 @@ config SOC_VF610 > >>sel

Re: [PATCH v4 3/5] tee: generic TEE subsystem

2015-07-08 Thread Jason Gunthorpe
On Wed, Jul 08, 2015 at 02:11:29PM -0700, Greg Kroah-Hartman wrote: > > > + cdev_init(&teedev->cdev, &tee_fops); > > > + teedev->cdev.owner = teedesc->owner; > > > > This also needs to set teedev->cdev.kobj.parent. > > I'm guessing: > > > > teedev->cdev.kobj.parent = &teedev->dev.kob

[PATCH] drm/msm/mdp5: Add support for msm8x74v1

2015-07-08 Thread Jilai Wang
msm8x74v1 has different MDP5 version (v1.0) from msm8x74v2 (v1.2). Add a separate config data to support msm8x74v1. Signed-off-by: Jilai Wang --- drivers/gpu/drm/msm/mdp/mdp5/mdp5_cfg.c | 77 +++-- 1 file changed, 73 insertions(+), 4 deletions(-) diff --git a/drivers

[PATCH V4] trace/events: add chip name and hwirq to irq entry tracepoint

2015-07-08 Thread Ankit Gupta
Add chip name and hw-irq number to the trace_irq_handler_entry() tracepoint. When tracing interrupt events the chip-name and hw-irq numbers are stable and known in advance. This makes them a better choice as a filtering criteria for the trace buffer dump. On the flipside, the os-irq numbers are dyn

Re: [PATCH 1/1] infiniband: Remove redundant NULL check before kfree

2015-07-08 Thread Doug Ledford
On 07/08/2015 12:23 AM, Maninder Singh wrote: > Hello, > >>> + for (i = 0; i < dev->caps.num_ports; i++) >>> + kfree(dm[i]); >>> goto out; >>> } >>> } >>> -- >>> 1.7.9.5 >>> >> >> If you are going to change this, you m

[PATCH] drm/msm/mdp: Add capabilities to MDP planes(V2)

2015-07-08 Thread Jilai Wang
MDP planes can be implemented using different type of HW pipes, RGB/VIG/DMA pipes for MDP5 and RGB/VG/DMA pipes for MDP4. Each type of pipe has different HW capabilities such as scaling, color space conversion, decimation... Add a variable in plane data structure to specify the difference of each p

Re: [PATCH v4 4/7] powerpc/powernv: detect supported nest pmus and its events

2015-07-08 Thread Sukadev Bhattiprolu
Madhavan Srinivasan [ma...@linux.vnet.ibm.com] wrote: | Parse device tree to detect supported nest pmu units. Traverse | through each nest pmu unit folder to find supported events and | corresponding unit/scale files (if any). | | The nest unit event file from DT, will contain the offset in the |

Re: [PATCH 0/3] Correctness fixes for NFIT BLK I/O path

2015-07-08 Thread Rafael J. Wysocki
On Wednesday, July 08, 2015 10:00:18 AM Ross Zwisler wrote: > Patch 1 is just a quick update to MAINTAINERS for include/linux/pmem.h. > > Patches 2 and 3 in this series contain correctness fixes for the NFIT BLK I/O > path, which in my opinion need to be pulled in for v4.2. These fixes include >

Re: [PATCH v2] rhashtable: fix for resize events during table walk

2015-07-08 Thread David Miller
From: Phil Sutter Date: Mon, 6 Jul 2015 15:51:20 +0200 > If rhashtable_walk_next detects a resize operation in progress, it jumps > to the new table and continues walking that one. But it misses to drop > the reference to it's current item, leading it to continue traversing > the new table's buc

Re: [PATCH v2] infiniband: free only allocated items

2015-07-08 Thread Doug Ledford
On 07/08/2015 12:13 AM, Maninder Singh wrote: > o If allocation of dm fails, no need to free it. > o Free only allocated items. I've taken the patch, but I reworked your commit message. The v1 version of the patch had a more correct commit message, but it could have used a little rework as well

Re: [PATCH v3] ipc: Modify message queue accounting to not take kernel data structures into account

2015-07-08 Thread Davidlohr Bueso
On Wed, 2015-07-08 at 15:17 -0400, Doug Ledford wrote: > I responded yesterday in the v2 patch thread I believe. In any case, I > think this patch is fine, and can go to stable. This patch doesn't > actually change the math related to the rlimit checks (which is the main > thing I wanted to corre

Re: [PATCH] module: Fix load_module() error path

2015-07-08 Thread Rusty Russell
Peter Zijlstra writes: > On Wed, Jul 08, 2015 at 02:32:44PM +0200, Peter Zijlstra wrote: > >> Awesome, lemme go write up a proper patch to make Rusty happy too ;-) Thanks, Rusty is happy :) Applied, and pushed to Linus. Cheers, Rusty. > --- > Subject: module: Fix load_module() error path > Fro

Re: [PATCH] modpost: work correctly with tile coldtext sections

2015-07-08 Thread Rusty Russell
Chris Metcalf writes: > The tilegx and tilepro compilers use .coldtext for their unlikely > executed text section name, so an __attribute__((cold)) function > will (when compiled with higher optimization levels) land in the > the .coldtext section. > > Modify modpost to add .coldtext to the set of

Re: [PATCH] net: macb: Add SG support for Zynq SOC family

2015-07-08 Thread David Miller
From: Punnaiah Choudary Kalluri Date: Mon, 6 Jul 2015 10:02:53 +0530 > Enable SG support for Zynq SOC family devices. > > Signed-off-by: Punnaiah Choudary Kalluri Applied to net-next, thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message t

Re: [PATCH] IB/core: Destroy multcast_idr on moudle exit

2015-07-08 Thread Doug Ledford
On 07/08/2015 11:21 AM, Johannes Thumshirn wrote: > Destroy multcast_idr on moudle exit, reclaiming the allocated memory. Thanks, applied. -- Doug Ledford GPG KeyID: 0E572FDD signature.asc Description: OpenPGP digital signature

Re: [PATCH] IB/core: Destroy ocrdma_dev_id IDR on module exit

2015-07-08 Thread Doug Ledford
On 07/08/2015 11:23 AM, Johannes Thumshirn wrote: > Destroy ocrdma_dev_id IDR on module exit, reclaiming the allocated memory. > Thanks, applied. -- Doug Ledford GPG KeyID: 0E572FDD signature.asc Description: OpenPGP digital signature

[PATCH v2] iio: adc: xilinx-xadc: Push interrupts into threaded context

2015-07-08 Thread Xander Huff
The driver currently registers a pair of irq handlers using request_threaded_irq(), however the synchronization mechanism between the hardirq and the threadedirq handler is a regular spinlock. Unfortunately, this breaks PREEMPT_RT builds, where a spinlock can sleep, and is thus not able to be acqu

Re: [PATCH 1/1] suspend: delete sys_sync()

2015-07-08 Thread Rafael J. Wysocki
On Wednesday, July 08, 2015 10:40:00 AM Alan Stern wrote: > On Wed, 8 Jul 2015, Pavel Machek wrote: > > > > well, that depends on what the purpose of the sync is supposed to be. > > > > > > If it is there to prevent users from corrupting their filesystems as a > > > result > > > of a mistake, it

checkpatch.pl - more Perl 5.22 deprecation fixes

2015-07-08 Thread Valdis Kletnieks
Perl 5.22 has deprecated unescaped { inside a regexp, resulting in warnings: Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\#\s*define.*do\s{ <-- HERE / at scripts/checkpatch.pl line 3523. Unescaped left brace in regex is deprecated, passed through

Re: [RFC PATCH v2 4/4] y2038: convert ppdev to 2038 safe

2015-07-08 Thread Arnd Bergmann
On Monday 29 June 2015 22:23:27 Bamvor Zhang Jian wrote: > diff --git a/include/uapi/linux/ppdev.h b/include/uapi/linux/ppdev.h > index dc18c5d..d62a47d 100644 > --- a/include/uapi/linux/ppdev.h > +++ b/include/uapi/linux/ppdev.h > @@ -74,8 +74,18 @@ struct ppdev_frob_struct { > #define PPSETPHASE

Re: [PATCH 1/1] suspend: delete sys_sync()

2015-07-08 Thread Rafael J. Wysocki
On Wednesday, July 08, 2015 09:51:13 AM Oliver Neukum wrote: > On Wed, 2015-07-08 at 00:11 +0200, Rafael J. Wysocki wrote: > > On Tuesday, July 07, 2015 04:38:26 PM Oliver Neukum wrote: > > > > > That is a tough nut. But that's not a reason to make it worse. > > > I'd say there's no reason not to

Re: [RFC PATCH v2 4/4] y2038: convert ppdev to 2038 safe

2015-07-08 Thread Arnd Bergmann
On Monday 29 June 2015 22:23:27 Bamvor Zhang Jian wrote: > diff --git a/include/uapi/linux/ppdev.h b/include/uapi/linux/ppdev.h > index dc18c5d..d62a47d 100644 > --- a/include/uapi/linux/ppdev.h > +++ b/include/uapi/linux/ppdev.h > @@ -74,8 +74,18 @@ struct ppdev_frob_struct { > #define PPSETPHASE

[PULL] module fix

2015-07-08 Thread Rusty Russell
The following changes since commit 45820c294fe1b1a9df495d57f40585ef2d069a39: Fix broken audit tests for exec arg len (2015-07-08 09:33:38 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux.git tags/fixes-for-linus for you to fetch chang

Re: [PATCH 4.1 54/56] fs/ufs: restore s_lock mutex

2015-07-08 Thread Greg Kroah-Hartman
On Wed, Jul 08, 2015 at 10:32:08AM -0700, Greg Kroah-Hartman wrote: > On Wed, Jul 08, 2015 at 06:28:23PM +0200, Fabian Frederick wrote: > > > > Hello Greg, > > > >                 Here's the complete list of linux-next/UFS patches needed > > to stop regressions in write mode: > > > > 13b987ea275

Re: [PATCH 4.1 11/56] mvneta: add forgotten initialization of autonegotiation bits

2015-07-08 Thread Greg Kroah-Hartman
On Wed, Jul 08, 2015 at 09:36:46PM +0300, Stas Sergeev wrote: > 08.07.2015 20:36, Greg Kroah-Hartman пишет: > >On Wed, Jul 08, 2015 at 08:10:46PM +0300, Stas Sergeev wrote: > >>08.07.2015 10:35, Greg Kroah-Hartman пишет: > >>>4.1-stable review patch. If anyone has any objections, please let me kno

Re: [PATCH] jffs2:Fix error paths return value for the function read_unknown

2015-07-08 Thread Richard Weinberger
>> On Wed, Jul 8, 2015 at 10:59 PM, Nicholas Krause wrote: Oh, damn. I should have stopped reading here. /ignore. Thanks, //richard -- 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

[PATCH] mcb: Fix error handling in mcb_pci_probe()

2015-07-08 Thread Alexey Khoroshilov
If a MCB PCI Carrier device is IO mapped insted of memory-mapped, the memory of the PCI device is still not unmapped. Also the patch adds deallocation of the bus if chameleon_parse_cells() fails. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov --

Re: [Y2038] [RFC PATCH v2 3/4] ppdev: add compat ioctl

2015-07-08 Thread Arnd Bergmann
On Wednesday 08 July 2015 13:17:18 John Stultz wrote: > On Mon, Jun 29, 2015 at 7:23 AM, Bamvor Zhang Jian > wrote: > > Add compat ioctl in ppdev in order to solve the y2038 issue in > > later patch. > > This patch simply add pp_do_ioctl to compat_ioctl, because I found > > that all the ioctl acce

Re: [PATCH] jffs2:Fix error paths return value for the function read_unknown

2015-07-08 Thread Richard Weinberger
Am 08.07.2015 um 23:20 schrieb nick: > > > On 2015-07-08 05:20 PM, Richard Weinberger wrote: >> On Wed, Jul 8, 2015 at 10:59 PM, Nicholas Krause wrote: >>> This fixes the error paths in the function read_unknown that return >>> a value to correctly return -EIO rather then the kernel value for >>

Re: [PATCH] GICv3: Add ITS entry to THUNDER dts

2015-07-08 Thread Kevin Hilman
Catalin Marinas writes: > On Thu, Jul 02, 2015 at 08:26:02PM +, Chalamarla, Tirumalesh wrote: >> > On Jun 26, 2015, at 12:12 PM, Tirumalesh Chalamarla >> > wrote: >> > >> > From: Tirumalesh Chalamarla >> > >> > The PCIe host controller uses MSIs provided by GICv3 ITS. Enable it on >> > T

[PATCH] modpost: work correctly with tile coldtext sections

2015-07-08 Thread Chris Metcalf
The tilegx and tilepro compilers use .coldtext for their unlikely executed text section name, so an __attribute__((cold)) function will (when compiled with higher optimization levels) land in the the .coldtext section. Modify modpost to add .coldtext to the set of OTHER_TEXT_SECTIONS so we don't g

Re: [PATCH] jffs2:Fix error paths return value for the function read_unknown

2015-07-08 Thread Richard Weinberger
On Wed, Jul 8, 2015 at 10:59 PM, Nicholas Krause wrote: > This fixes the error paths in the function read_unknown that return > a value to correctly return -EIO rather then the kernel value for > successful function execution of zero to indicate to this function's > callers that a failure has occu

Re: [PATCH V3 3/5] mm: mlock: Introduce VM_LOCKONFAULT and add mlock flags to enable it

2015-07-08 Thread Jonathan Corbet
On Wed, 8 Jul 2015 16:34:56 -0400 Eric B Munson wrote: > > Quick, possibly dumb question: I've been beating my head against these for > > a little bit, and I can't figure out what's supposed to happen in this > > case: > > > > mlock2(addr, len, MLOCK_ONFAULT); > > munlock2(addr, len, MLO

Re: [PATCH 2/2] net: dsa: mv88e6xxx: add SERDES registers to debugfs

2015-07-08 Thread Andrew Lunn
On Wed, Jul 08, 2015 at 04:36:19PM -0400, Vivien Didelot wrote: > Add read and write access to a SERDES column in the regs debugfs file > for the Fiber/SERDES registers. Humm. I don't really like this. These SERDES registers are in a complete different address space to the port, globalX registers

Re: [RESEND] xen-netback: remove duplicated function definition

2015-07-08 Thread David Miller
From: Liang Li Date: Mon, 6 Jul 2015 08:42:56 +0800 > There are two duplicated xenvif_zerocopy_callback() definitions. > Remove one of them. > > Signed-off-by: Liang Li Applied, thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majo

Re: [PATCH 1/2] net: dsa: mv88e6xxx: add write access to debugfs regs file

2015-07-08 Thread Vivien Didelot
Hi Andrew, - On Jul 8, 2015, at 4:53 PM, Andrew Lunn and...@lunn.ch wrote: > On Wed, Jul 08, 2015 at 04:36:18PM -0400, Vivien Didelot wrote: >> Allow write access to the regs file in the debugfs interface, with the >> following parameters: >> >> echo> regs >> >> Where "name" is the

Re: [PATCH v4 3/5] tee: generic TEE subsystem

2015-07-08 Thread Greg Kroah-Hartman
On Wed, Jul 08, 2015 at 11:10:26AM -0600, Jason Gunthorpe wrote: > On Wed, Jul 08, 2015 at 12:16:30PM +0200, Jens Wiklander wrote: > > > +static void tee_device_complete_unused(struct kref *kref) > > +{ > > + struct tee_device *teedev; > > + > > + teedev = container_of(kref, struct tee_device,

Re: [PATCH v1] arm64: dts: Add poweroff button device node for APM X-Gene platform

2015-07-08 Thread Kevin Hilman
Y Vo writes: > This patch adds poweroff button device node to support poweroff feature > on APM X-Gene Mustang platform. > > Signed-off-by: Y Vo Picking this up for v4.2-rc. Applied to fixes branch, Kevin -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body o

Re: [PATCH 2/6] genirq: Fix the documentation of request_percpu_irq

2015-07-08 Thread David Miller
From: Maxime Ripard Date: Fri, 3 Jul 2015 16:25:47 +0200 > The documentation of request_percpu_irq is confusing and suggest that the > interrupt is not enabled at all, while it is actually enabled on the local > CPU. > > Clarify that. > > Signed-off-by: Maxime Ripard You should submit this s

Re: [PATCH 1/2] net: dsa: mv88e6xxx: add write access to debugfs regs file

2015-07-08 Thread Andrew Lunn
On Wed, Jul 08, 2015 at 04:36:18PM -0400, Vivien Didelot wrote: > Allow write access to the regs file in the debugfs interface, with the > following parameters: > > echo> regs > > Where "name" is the register name (as shown in the header row), "reg" is > the register address (as shown in

Re: [PATCH] tools/lib: improve clean target

2015-07-08 Thread Arnaldo Carvalho de Melo
Em Wed, Jul 08, 2015 at 09:22:23PM +0300, Riku Voipio escreveu: > On 18 June 2015 at 15:52, wrote: > > From: Riku Voipio > > > > The clean targets miss some .cmd and .d files. > > Is this patch slipping through cracks? Not anymore, applied to my perf/urgent branch, will go soon to Ingo, piggyb

Re: [RFC PATCH v6 3/3] drivers: nvmem: Add Vybrid OCOTP support

2015-07-08 Thread Stefan Wahren
Hi Sanchayan, > maitysancha...@gmail.com hat am 8. Juli 2015 um 07:39 geschrieben: > > > [...] > > > > > > > > Looking at valid_fuse_addr shows me 0x3F as last valid register. So the > > > > rest > > > > of the buffer ( 0xD00 - sizeof(valid_fuse_addr) ) in case of raw access > > > > could be > > >

Re: [PATCH v1 3/3] ARM: tegra: Add gpio-ranges property

2015-07-08 Thread Stephen Warren
On 07/01/2015 06:45 AM, Tomeu Vizoso wrote: Specify how the GPIOs map to the pins in Tegra SoCs, so the dependency is explicit. This currently will add a duplicated entry in the map from pins to gpios in the pinmux controller but it should be harmless and will be fixed in a later commit. Isn't

Re: [PATCH v2 2/3] string: provide strscpy()

2015-07-08 Thread Geert Uytterhoeven
Hi Chris, On Wed, Jul 8, 2015 at 10:20 PM, Chris Metcalf wrote: > + * strscpy - Copy a C-string into a sized buffer > + * @dest: Where to copy the string to > + * @src: Where to copy the string from > + * @count: Size of destination buffer > + * > + * Copy the string, or as much of it as fits, in

Re: [PATCH v11 00/39] perf tools: filtering events using eBPF programs - part1

2015-07-08 Thread Arnaldo Carvalho de Melo
Em Wed, Jul 08, 2015 at 11:57:13PM +0800, pi3orama escreveu: > 发自我的 iPhone > > 在 2015年7月8日,下午10:03,Arnaldo Carvalho de Melo 写道: > > Em Wed, Jul 08, 2015 at 01:13:49PM +, Wang Nan escreveu: > >> I rearranged the first 39 patches of this patchset according to > >> your comments. After applying

[PATCH 1/1] ARM: dts: vfxxx: Include support for esdhc0 functionality.

2015-07-08 Thread Cory Tusar
Extend the existing Vybrid eSDHC devicetree implementation to also describe the esdhc0 functional block. Tested on a custom VF610-based board with a Toshiba THGBM1G5D2EBAI7 eMMC module attached to esdhc0. Signed-off-by: Cory Tusar --- arch/arm/boot/dts/vfxxx.dtsi | 11 +++ 1 file change

[PATCH 0/1] Add support for esdhc0 on Vybrid.

2015-07-08 Thread Cory Tusar
Currently, only esdhc1 is described in vfxxx.dtsi. This quick patch adds support for esdhc0 also. Regards, -Cory Cory Tusar (1): ARM: dts: vfxxx: Include support for esdhc0 functionality. arch/arm/boot/dts/vfxxx.dtsi | 11 +++ 1 file changed, 11 insertions(+) -- 2.3.6 -- To unsub

Re: [PATCH v2] sched: introduce sched_switch_post trace event

2015-07-08 Thread Cong Wang
On Mon, Jul 6, 2015 at 11:45 PM, Peter Zijlstra wrote: > On Mon, Jul 06, 2015 at 12:15:45PM -0700, Cong Wang wrote: >> Currently we only have one sched_switch trace event >> for task switching, which is generated very early during >> task switch. When we try to monitor per-container perf >> events

[PATCH v3] Add support for driver cross-timestamp to PTP_SYS_OFFSET ioctl

2015-07-08 Thread Christopher Hall
This patch allows system and device time ("cross-timestamp") to be performed by the driver. Currently, the cross-timestamping is performed in the PTP_SYS_OFFSET ioctl. The PTP clock driver reads gettimeofday() and the gettime64() callback provided by the driver. The cross-timestamp is best effort

Re: [PATCH v2] sched: introduce sched_switch_post trace event

2015-07-08 Thread Cong Wang
On Mon, Jul 6, 2015 at 5:15 PM, Steven Rostedt wrote: > On Mon, 6 Jul 2015 12:15:45 -0700 > Cong Wang wrote: > >> Currently we only have one sched_switch trace event >> for task switching, which is generated very early during >> task switch. When we try to monitor per-container perf >> events, t

Re: Documentation: rpcrdma: Merge svcrdma and xprtrdma modules into one

2015-07-08 Thread J. Bruce Fields
On Mon, Jul 06, 2015 at 11:30:26AM -0400, Chuck Lever wrote: > Hi Valentin- > > > On Jul 6, 2015, at 3:36 AM, Valentin Rothberg > wrote: > > > On Mon, Jun 22, 2015 at 9:08 AM, Valentin Rothberg > > wrote: > >> Hi Chuck, > >> > >> your commit ffe1f0df5862 ("rpcrdma: Merge svcrdma and xprtrdma

Re: [PATCH 1/7] pinctrl: UniPhier: add UniPhier pinctrl core support

2015-07-08 Thread Paul Bolle
Hi Masahiro, On wo, 2015-07-08 at 14:01 +0900, Masahiro Yamada wrote: > Actually, most of pinctrl drivers are boolean, but most of them > conventionally have MODULE_AUTHOR, THIS_MODULE, etc. > > I do not think it looks so weird. Thought? It's a rather common pattern, but I think it's an anti-pa

Re: mm: shmem_zero_setup skip security check and lockdep conflict with XFS

2015-07-08 Thread Morten Stevens
2015-07-08 18:37 GMT+02:00 Stephen Smalley : > On 07/08/2015 09:13 AM, Stephen Smalley wrote: >> On Sun, Jun 14, 2015 at 12:48 PM, Hugh Dickins wrote: >>> It appears that, at some point last year, XFS made directory handling >>> changes which bring it into lockdep conflict with shmem_zero_setup():

[PATCH 1/2] net: dsa: mv88e6xxx: add write access to debugfs regs file

2015-07-08 Thread Vivien Didelot
Allow write access to the regs file in the debugfs interface, with the following parameters: echo> regs Where "name" is the register name (as shown in the header row), "reg" is the register address (as shown in the first column) and "value" is the 16-bit value. e.g.: echo GLOBAL 1a 5

Re: [RFT PATCH 1/2] i2c: tegra: update CONFIG_LOAD for new conifiguration

2015-07-08 Thread Stephen Warren
On 06/30/2015 04:54 AM, Laxman Dewangan wrote: Once the new configuration is set on the conifg register of I2C controller, it is require to update the CONFIG_LOAD register to transfer the new SW configuration to actual HW internal registers that would be used in the actual logic. It is like, SW

[PATCH 2/2] net: dsa: mv88e6xxx: add SERDES registers to debugfs

2015-07-08 Thread Vivien Didelot
Add read and write access to a SERDES column in the regs debugfs file for the Fiber/SERDES registers. For instance, imagining that the Fiber Control register value is 0x1940, you can clear the POWER_DOWN bit (11) with: echo SERDES 0 1140 > /sys/kernel/debug/dsa0/regs Signed-off-by: Vivien Di

Re: [PATCH V3 3/5] mm: mlock: Introduce VM_LOCKONFAULT and add mlock flags to enable it

2015-07-08 Thread Eric B Munson
On Wed, 08 Jul 2015, Jonathan Corbet wrote: > On Tue, 7 Jul 2015 13:03:41 -0400 > Eric B Munson wrote: > > > This patch introduces the ability to request that pages are not > > pre-faulted, but are placed on the unevictable LRU when they are finally > > faulted in. This can be done area at a t

Re: [PATCH v4 0/3] net: dsa: mv88e6xxx: add support for VLAN Table Unit

2015-07-08 Thread Vivien Didelot
Hi Andrew, - On Jul 8, 2015, at 4:12 PM, Andrew Lunn and...@lunn.ch wrote: >> I understand. However this whole VLAN thing represents a lot of code. >> Some other work depends on portions of it. Do you think it'd be OK if I >> resend the patch 1/3 alone? Having only the VTU operations and "vtu

Re: [PATCH v3 2/2] PM / Runtime: Add pm_runtime_enable_recursive

2015-07-08 Thread Alan Stern
On Wed, 8 Jul 2015, Rafael J. Wysocki wrote: > I seem to have lost the context here, sorry about that. > > The idea seems to be to rely on the fact that the RPM status for all devices > is initially RPM_SUSPENDED and that never changes if runtime PM is never > enabled for the device, so in that p

[PATCH] i2c-HID: Delete unnecessary checks before the function call "gpiod_put"

2015-07-08 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 8 Jul 2015 22:12:25 +0200 The gpiod_put() function performs also input parameter validation by forwarding its single input pointer to the gpiod_free() function. Thus the test around the calls is not needed. This issue was detected by using the Coccinelle software.

[PATCH v2 3/3] tile: use global strscpy() rather than private copy

2015-07-08 Thread Chris Metcalf
Now that strscpy() is a standard API, remove the local copy. Signed-off-by: Chris Metcalf --- arch/tile/gxio/mpipe.c | 33 - 1 file changed, 4 insertions(+), 29 deletions(-) diff --git a/arch/tile/gxio/mpipe.c b/arch/tile/gxio/mpipe.c index ee186e13dfe6..f102048d

[PATCH v1 1/7] ARM: dts: vf610: Add missing QuadSPI register mapping and names.

2015-07-08 Thread Cory Tusar
Both 'reg' and 'reg-names' are required properties according to binding documentation, and both should contain two items. Signed-off-by: Cory Tusar Acked-by: Stefan Agner --- arch/arm/boot/dts/vfxxx.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/vfx

[PATCH v2] brcmsmac: Use kstrdup to simplify code

2015-07-08 Thread Christophe JAILLET
Replace a kmalloc+strcpy by an equivalent kstrdup in order to improve readability. Signed-off-by: Christophe JAILLET --- v2: fix the subject drivers/net/wireless/brcm80211/brcmsmac/mac80211_if.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/net/wireless/brcm8021

[PATCH v1 7/7] ARM: dts: vf610-twr: Enable QSPI and map flash devices.

2015-07-08 Thread Cory Tusar
This commit enables the qspi0 functional block, and maps the two flash devices connected to QSPI0_A_CS0 and QSPI0_B_CS0 to individual MTD devices. Tested using mtd_readtest, mtd_speedtest, and mtd_stresstest on a Rev. H TWR board. Signed-off-by: Cory Tusar --- arch/arm/boot/dts/vf610-twr.dts |

[PATCH v1 6/7] mtd: spi-nor: Add support for Micron MT25QL02GC serial flash.

2015-07-08 Thread Cory Tusar
Add Micron (mt25ql02gc) 256 MiB flash to the list of supported devices. Signed-off-by: Cory Tusar --- drivers/mtd/spi-nor/spi-nor.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mtd/spi-nor/spi-nor.c b/drivers/mtd/spi-nor/spi-nor.c index d78831b..7a8896d 100644 --- a/drivers/mtd/sp

[PATCH v1 2/7] ARM: dts: vfxxx: Include support for qspi1 functionality.

2015-07-08 Thread Cory Tusar
This commit extends the existing Vybrid QSPI devicetree implementation to also describe the qspi1 functional block. Signed-off-by: Cory Tusar Reviewed-by: Stefan Agner --- arch/arm/boot/dts/vfxxx.dtsi | 13 + 1 file changed, 13 insertions(+) diff --git a/arch/arm/boot/dts/vfxxx.dts

[PATCH v1 5/7] mtd: fsl-quadspi: Allow non-contiguous flash layouts.

2015-07-08 Thread Cory Tusar
The current fsl-quadspi implementation assumes that the first NOR device is always physically connected to QSPIn_A_CS0, and that all connected devices are of the same type. This commit separates the DT parsing and flash probe logic into two passes, allowing devices of different sizes and types to

[PATCH v1 4/7] mtd: fsl-quadspi: Use per-device clk_rate.

2015-07-08 Thread Cory Tusar
The current fsl-quadspi implementation re-parses the 'spi-max-frequency' property for each device, potentially allowing for an earlier, lower frequency to be overwritten with a greater value. This commit modifies the parsing logic to extract the clock frequency for each flash device and then confi

[PATCH v1 3/7] mtd: fsl-quadspi: Support both 24- and 32-bit addressed commands.

2015-07-08 Thread Cory Tusar
The current fsl-quadspi implementation assumes that all connected devices are of the same size and type. This commit adds lookup table entries for both 24- and 32-bit addressed variants of the read, sector erase, and page program operations as a precursor to later changes which generalize the flas

[PATCH v1 0/7] fsl-quadspi: Allow additional device combinations.

2015-07-08 Thread Cory Tusar
This patch series fixes and extends the fsl-quadspi driver to allow for non-contiguous and non-homogeneous SPI NOR device layouts. The current driver assumes that attached devices are all of the same type, and are populated "in order" beginning with QSPIn_A_CS0. The updated driver and DT changes

[PATCH v2 2/3] string: provide strscpy()

2015-07-08 Thread Chris Metcalf
The strscpy() API is intended to be used instead of strlcpy(), and instead of most uses of strncpy(). - Unlike strlcpy(), it doesn't read from memory beyond (src + size). - Unlike strlcpy() or strncpy(), the API provides an easy way to check for destination buffer overflow: an -E2BIG error retu

[PATCH v2 1/3] Make asm/word-at-a-time.h available on all architectures

2015-07-08 Thread Chris Metcalf
Added the x86 implementation of word-at-a-time to the generic version, which previously only supported big-endian. Omitted the x86-specific load_unaligned_zeropad(), which in any case is also not present for the existing BE-only implementation of a word-at-a-time, and is only used under CONFIG_DCA

[PATCH v2 0/3] add new strscpy() API for string copy

2015-07-08 Thread Chris Metcalf
v2: eliminate strscpy_truncate(); the single strscpy() API in v2 just tolerates a truncated string (while returning an error value) Also, improve some of the comparison language with strlcpy/strncpy. This patch series addresses limitations in strncpy() and strlcpy(); both the old APIs are unpl

RE: [PATCH] mei: Destroy mei_idr on module exit.

2015-07-08 Thread Winkler, Tomas
> > Destroy mei_idr on module exit, reclaiming the allocated memory. > > This was detected by the following semantic patch (written by Luis Rodriguez > ) > > @ defines_module_init @ > declarer name module_init, module_exit; > declarer name DEFINE_IDR; > identifier init; > @@ > > module_init(ini

Re: [PATCH v4 0/3] net: dsa: mv88e6xxx: add support for VLAN Table Unit

2015-07-08 Thread Andrew Lunn
> I understand. However this whole VLAN thing represents a lot of code. > Some other work depends on portions of it. Do you think it'd be OK if I > resend the patch 1/3 alone? Having only the VTU operations and "vtu" > debugfs file does not break the actual behavior, and will lighten up the > follo

Re: [PATCH 1/2] kconfig: also warn of unhandled characters in statements

2015-07-08 Thread Ulf Magnusson
On Wed, Jul 8, 2015 at 12:17 PM, Andreas Ruprecht wrote: > Hi, > > On 07/07/2015 16:45, Ulf Magnusson wrote: >> >> Did you use the (undocumented, obviously :) REGENERATE_PARSERS option, >> like 'make menuconfig REGENERATE_PARSERS=1'? It's from >> scripts/Makefile.lib. >> >> The following patch wor

Re: [RFC PATCH v2 3/4] ppdev: add compat ioctl

2015-07-08 Thread John Stultz
On Mon, Jun 29, 2015 at 7:23 AM, Bamvor Zhang Jian wrote: > Add compat ioctl in ppdev in order to solve the y2038 issue in > later patch. > This patch simply add pp_do_ioctl to compat_ioctl, because I found > that all the ioctl access the arg as a pointer. > > Signed-off-by: Bamvor Zhang Jian > -

Re: [PATCH v4 0/3] net: dsa: mv88e6xxx: add support for VLAN Table Unit

2015-07-08 Thread Andrew Lunn
> > This is a limitation of the switch. So the driver needs to keep track > > of which bridge a VLAN belongs to, if it is asked to accelerate the > > same VLAN for a different bridge, it needs to say to the kernel, > > sorry, cannot do that, and leave the kernel to do it in software. > > Scott, ho

Re: [PATCH 4.1 11/56] mvneta: add forgotten initialization of autonegotiation bits

2015-07-08 Thread Stas Sergeev
08.07.2015 22:36, Arnaud Ebalard пишет: Hi, Stas Sergeev writes: Another problem was reported: https://lkml.org/lkml/2015/7/8/865 So, while the above patch is correct and fixes what it should, the original patch has more problems to deal with. Maybe for stable it would be better to just reve

Re: [PATCH v2 1/2] kconfig: warn of unhandled characters in Kconfig commands

2015-07-08 Thread Ulf Magnusson
On Tue, Jul 7, 2015 at 12:31 PM, Andreas Ruprecht wrote: > In Kconfig, definitions of options take the following form: > " ...". COMMANDs and PARAMs are treated > slightly different by the underlying parser. > > While commit 2e0d737fc76f ("kconfig: don't silently ignore unhandled > characters")

Re: [RFC PATCH v2 1/4] y2038: add 64bit time_t support in timeval for 32bit architecture

2015-07-08 Thread John Stultz
On Mon, Jun 29, 2015 at 7:23 AM, Bamvor Zhang Jian wrote: > +int get_timeval64(struct timeval64 *tv, > + const struct __kernel_timeval __user *utv) > +{ > + struct __kernel_timeval ktv; > + int ret; > + > + ret = copy_from_user(&ktv, utv, sizeof(ktv)); > +

Re: [RFC 4/8] lsm: smack: smack callbacks for kdbus security hooks

2015-07-08 Thread Paul Moore
On Wednesday, July 08, 2015 09:38:25 AM Casey Schaufler wrote: > On 7/8/2015 6:42 AM, Stephen Smalley wrote: > > On 07/08/2015 06:25 AM, Paul Osmialowski wrote: ... > > If Smack only truly needs 3 hooks, then it begs the question of why > > there are so many other hooks defined. Are the other ho

Re: [PATCH] x86/kconfig/32: Mark CONFIG_VM86 as BROKEN

2015-07-08 Thread Andy Lutomirski
On Wed, Jul 8, 2015 at 12:39 PM, Brian Gerst wrote: > On Wed, Jul 8, 2015 at 3:14 PM, Andy Lutomirski wrote: >> On Wed, Jul 8, 2015 at 12:05 PM, Brian Gerst wrote: >>> On Wed, Jul 8, 2015 at 1:30 PM, Andy Lutomirski wrote: On Wed, Jul 8, 2015 at 9:59 AM, Linus Torvalds wrote: > O

Re: Kernel broken on processors without performance counters

2015-07-08 Thread Jason Baron
On 07/08/2015 01:37 PM, Andy Lutomirski wrote: > On Wed, Jul 8, 2015 at 9:07 AM, Peter Zijlstra wrote: >> On Wed, Jul 08, 2015 at 11:17:38AM -0400, Mikulas Patocka wrote: >>> Hi >>> >>> I found out that the patch a66734297f78707ce39d756b656bfae861d53f62 breaks >>> the kernel on processors without

Re: [PATCH] ext4 crypto: remove unneeded assignation

2015-07-08 Thread Darrick J. Wong
On Wed, Jul 08, 2015 at 09:51:15PM +0200, Laurent Navet wrote: > Return value of ext4_derive_key_aes() is stored but never used before > being overwritten. > Also fix coverity CID 1309760. > > Signed-off-by: Laurent Navet > --- > fs/ext4/crypto_key.c | 2 +- > 1 file changed, 1 insertion(+), 1 d

Re: [REPOST PATCH 3/3] USB: dwc2: Don't turn off the usbphy in suspend if wakeup is enabled

2015-07-08 Thread Alan Stern
On Wed, 8 Jul 2015, Julius Werner wrote: > > But I don't see how you will make it work when the root hub itself is > > not enabled for wakeup and a non-hub device plugged into one of the > > root hub's ports is enabled. > > > > It seems like you would need a usb_hcd_wakeup_not_needed(hcd, port) >

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