Re: [PATCH 73/71] ncr5380: Use runtime register mapping

2015-12-06 Thread Geert Uytterhoeven
On Sun, Dec 6, 2015 at 4:39 AM, Finn Thain wrote: >> - while (NCR5380_read(C400_CONTROL_STATUS_REG) & >> CSR_HOST_BUF_NOT_RDY); >> + while (NCR5380_read(hostdata->c400_ctl_status) & >> CSR_HOST_BUF_NOT_RDY); > > The semicolon should appear on the next line where it is mor

[PATCH] clk: sunxi: Extend the simple gates and handle the Allwinner H3

2015-12-06 Thread Jean-Francois Moine
The H3 has a clock gate definition similar to the other Allwinner SoCs, but with a different parent clock for each single gate. Adding the names of the parent clocks in both the source and output clocks permits the use of the simple-gates driver to define the bus gates of all known Allwinner SoCs.

Re: deadlock during fuseblk shutdown

2015-12-06 Thread Dmitry Vyukov
On Fri, Nov 20, 2015 at 4:01 PM, Dmitry Vyukov wrote: > Hello, > > I've hit the following deadlock on > 8005c49d9aea74d382f474ce11afbbc7d7130bec (Nov 15). > I know that fuse docs warn about deadlocks and this can happen only > under root because of the mount call, but maybe there is still > someth

Re: [PATCH] time: verify time values in adjtimex ADJ_SETOFFSET to avoid overflow

2015-12-06 Thread Thomas Gleixner
On Sat, 5 Dec 2015, Sasha Levin wrote: > On 12/05/2015 12:10 PM, Thomas Gleixner wrote: > > On Thu, 3 Dec 2015, Sasha Levin wrote: > > > >> Make sure the tv_usec makes sense. We might multiply them later which can > >> cause an overflow and undefined behavior. > >> > >> Signed-off-by: Sasha Levin

Re: could you respin the "add blkdev name format specifier" series?

2015-12-06 Thread Dmitry Monakhov
Al Viro writes: > It had been posted back in April and got acked by Jan; I'm also > fine with it and I'd like to apply at least generic + fs/* parts. Could > you rebase it to the current mainline and post it? Ok, in progress. signature.asc Description: PGP signature

Re: [PATCH] arm: dts: berlin2q-marvell-dmp: add sdhci1 fully functionality

2015-12-06 Thread Sebastian Hesselbarth
On 30.11.2015 14:54, Jisheng Zhang wrote: > The sdhci1 on Marvell BG2Q DMP board is used as sdcard interface, we > have gpios for card detection, write-protect, vqmmc and vmmc. > > This patch adds pinmux for this sdcard interface, then adds regulators > for vmmc and vqmmc, lastly adds cd-gpios, wp

Re: [PATCH] arm64: dts: berlin4ct: support cpuidle-dt

2015-12-06 Thread Sebastian Hesselbarth
On 30.11.2015 14:41, Jisheng Zhang wrote: > This patch adds an idle-states node to describe the berlin4ct idle > states and also adds references to the idle-states node in all CPU > nodes. After this patch cpuidle is enabled. > > Signed-off-by: Jisheng Zhang Applied to berlin64/dt with Lorenzo's

Re: [PATCH 0/5] Fix regression introduced by set_irq_flags() removal

2015-12-06 Thread Thomas Gleixner
Thomas, On Sat, 5 Dec 2015, Thomas Gleixner wrote: > On Fri, 4 Dec 2015, Thomas Petazzoni wrote: > > Well, the problem is that IRQ_NOAUTOEN is a global flag, which is OK > > for global interrupts, but not good for per-CPU interrupts, since you > > don't have the information on a per-CPU basis of w

Re: [PATCH] drm: do not use device name as a format string

2015-12-06 Thread Daniel Vetter
On Sat, Dec 05, 2015 at 10:45:50AM +0100, Nicolas Iooss wrote: > Hello, > I sent the path below a few weeks ago and did not have any feedback. > Is there any issue in it that I need to fix before submitting it again? Sorry, must have missed this. > > Thanks, > Nicolas Iooss > > On 11/18/2015 06

Re: [PATCH 00/13] perf tools: Move perf subcommand framework into lib/tools

2015-12-06 Thread Ingo Molnar
* Josh Poimboeuf wrote: > Ingo suggested that I factor out the perf subcommand functionality > (originally copied from git) into tools/lib so that it can be used by > stacktool[*] and possibly others. > > All the subcommand option handling files have been moved into libapi, > including parse-op

[GIT pull] x86 fixes for 4.4

2015-12-06 Thread Thomas Gleixner
Linus, please pull the latest x86-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-urgent-for-linus Another round of fixes for x86: - Move the initialization of the microcode driver to late_initcall to make sure everything that init function

Re: Reorganize perf kernel side

2015-12-06 Thread Ingo Molnar
* Borislav Petkov wrote: > Hi guys, > > so I've had my eyes on this for a long time now and it has managed to > get on my nerves just enough to do something about it :-) > > So how about moving perf stuff to arch/x86/perf/ and get rid of the > prefixes in the filenames. This also flattens our

[GIT pull] scheduler fixes for 4.4

2015-12-06 Thread Thomas Gleixner
Linus, please pull the latest sched-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git sched-urgent-for-linus This updates contains the following changes: - Fix a signal handling regression in the bit wait functions. - Avoid false positive warnings

[PATCH 01/10] sh: Replace "hweight_long(flags) != 1" with "!is_power_of_2(flags)"

2015-12-06 Thread Zhaoxiu Zeng
From: Zeng Zhaoxiu Signed-off-by: Zeng Zhaoxiu --- arch/sh/kernel/io_trapped.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/sh/kernel/io_trapped.c b/arch/sh/kernel/io_trapped.c index f8ce362..d8f32bf 100644 --- a/arch/sh/kernel/io_trapped.c +++ b/arch/sh/kernel/io_

[GIT pull] perf fixes for 4.4

2015-12-06 Thread Thomas Gleixner
Linus, please pull the latest perf-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git perf-urgent-for-linus Some more perf fixes: - Properly read lock RCU in the cgroup perf context switch code. - Fix a LBR call stack regression. - Imp

Re: [PATCH v2 PART-RESEND 0/2] berlin sdhci clock clean up

2015-12-06 Thread Sebastian Hesselbarth
On 19.11.2015 21:31, Sebastian Hesselbarth wrote: > On 16.11.2015 11:56, Jisheng Zhang wrote: >> Add or fix the optional clock property, then remove the CLK_IGNORE_UNUSED >> flag for sdio clk(s). >> >> This is a partialy resend of >> http://lists.infradead.org/pipermail/linux-arm-kernel/2015-Octob

[PATCH] Documentation: email-clients.txt

2015-12-06 Thread Sanidhya Solanki
Patch included below. As an aside, thank you for the excellent work on the books and other documentation. Documentation: email-clients.txt The information for Claws Mail, Evolution and Thunderbird was out of date. It has bee

[PATCH 02/10] brcmstb_gisb: Replace "hweight_long(mask) != 1" with "!is_power_of_2(mask)"

2015-12-06 Thread Zhaoxiu Zeng
From: Zeng Zhaoxiu Signed-off-by: Zeng Zhaoxiu --- drivers/bus/brcmstb_gisb.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/bus/brcmstb_gisb.c b/drivers/bus/brcmstb_gisb.c index f364fa4..2816a04 100644 --- a/drivers/bus/brcmstb_gisb.c +++ b/drivers/bus/brcmstb_gi

Re: [PATCH] drm: do not use device name as a format string

2015-12-06 Thread Nicolas Iooss
On 12/06/2015 10:35 AM, Daniel Vetter wrote: >> On 11/18/2015 06:58 PM, Nicolas Iooss wrote: >>> drm_dev_set_unique() formats its parameter using kvasprintf() but many >>> of its callers directly pass dev_name(dev) as printf format string, >>> without any format parameter. This can cause some issu

Re: [PATCH v2 21/72] ncr5380: Sleep when polling, if possible

2015-12-06 Thread Geert Uytterhoeven
Hi Finn, On Sun, Dec 6, 2015 at 2:31 AM, Finn Thain wrote: > When in process context, sleep during polling if doing so won't add > significant latency. In interrupt context or if the lock is held, poll > briefly then give up. Keep both core drivers in sync. > > Calibrate busy-wait iterations to a

[PATCH 9/9] lightnvm: do not compile in debugging by default

2015-12-06 Thread Matias Bjørling
The LightNVM module exposes a debug interface when CONFIG_NVM_DEBUG is set. This interfaces takes a string to configure media managers and targets. Make sure this interface is only exposed when chosen deliberately. Signed-off-by: Matias Bjørling --- drivers/lightnvm/Kconfig | 1 + 1 file changed

[PATCH 5/9] lightnvm: comments on constants

2015-12-06 Thread Matias Bjørling
It is not obvious what NVM_IO_* and NVM_BLK_T_* are used for. Make sure to comment them appropriately as the other constants. Signed-off-by: Matias Bjørling --- include/linux/lightnvm.h | 7 +++ 1 file changed, 7 insertions(+) diff --git a/include/linux/lightnvm.h b/include/linux/lightnvm.h

[PATCH 4/9] lightnvm: check mm before use

2015-12-06 Thread Matias Bjørling
The core can may issue I/Os before a media manager is registered with the lightnvm subsystem. Make sure that we don't call the media manager ->end_io prematurely with a null pointer. Signed-off-by: Matias Bjørling --- drivers/nvme/host/lightnvm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletio

[PATCH 0/9] Fixes for LightNVM

2015-12-06 Thread Matias Bjørling
Hi Jens, A couple more fixes for LightNVM. The first three patches are fixed from Tao on rrpc and gennvm. The next five patches are small fixes and refactoring to prepare for system blocks. The last patch defaults debugging to not be compiled in and thereby not expose the parameter configuration

[PATCH 7/9] lightnvm: fix media mgr registration

2015-12-06 Thread Matias Bjørling
This patch fixes two issues during media manager registration. 1. The ppa pool can be used at media manager registration. Allocate the ppa pool before that. 2. If a media manager can't be found, this should not lead to the device being unallocated. A media manager can be registered later, that ca

[PATCH 3/9] lightnvm: refactor spin_unlock in gennvm_get_blk

2015-12-06 Thread Matias Bjørling
From: Wenwei Tao The spin_unlock is duplicated multiple times. Jump to a single unlock to improve the code flow. Signed-off-by: Wenwei Tao Signed-off-by: Matias Bjørling --- drivers/lightnvm/gennvm.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/lightnvm/g

[PATCH 8/9] lightnvm: prevent gennvm module unload on use

2015-12-06 Thread Matias Bjørling
After the gennvm module has been initialized. It might be attached to one or several devices. In that case, the module is in use. Make sure that it can not be unloaded. Signed-off-by: Matias Bjørling --- drivers/lightnvm/gennvm.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/l

[PATCH 6/9] lightnvm: replace req queue with nvmdev for lld

2015-12-06 Thread Matias Bjørling
In the case where a request queue is passed to the low lever lightnvm device drive integration, the device driver might pass its admin commands through another queue. Instead pass nvm_dev, and let the low level drive the appropriate queue. Reported-by: Christoph Hellwig Signed-off-by: Matias Bjør

[PATCH 2/9] lightnvm: put blks when luns configure failed

2015-12-06 Thread Matias Bjørling
From: Wenwei Tao Put the allocated blocks back to the free list when the luns configure failed, to make these blocks useable to others. Signed-off-by: Wenwei Tao Signed-off-by: Matias Bjørling --- drivers/lightnvm/rrpc.c | 21 +++-- 1 file changed, 19 insertions(+), 2 deletion

[PATCH 1/9] lightnvm: use flags in rrpc_get_blk

2015-12-06 Thread Matias Bjørling
From: Wenwei Tao rrpc_get_blk use constant 0 as the input parameter of nvm_get_blk, this may result in getting gc block failed unexpectedly. Signed-off-by: Wenwei Tao Signed-off-by: Matias Bjørling --- drivers/lightnvm/rrpc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a

[PATCH 03/10] i915: Replace "hweight8(dev_priv->info.subslice_7eu[i]) != 1" with "!is_power_of_2(dev_priv->info.subslice_7eu[i])"

2015-12-06 Thread Zhaoxiu Zeng
From: Zeng Zhaoxiu Signed-off-by: Zeng Zhaoxiu --- drivers/gpu/drm/i915/intel_ringbuffer.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/intel_ringbuffer.c b/drivers/gpu/drm/i915/intel_ringbuffer.c index 9461a23..16c8cf1 100644 --- a/drivers/gpu/drm

[PATCH 04/10] omap_hwspinlock: Replace "hweight_long(i & 0xf) != 1" with "!is_power_of_2(i & 0xf)"

2015-12-06 Thread Zhaoxiu Zeng
From: Zeng Zhaoxiu Signed-off-by: Zeng Zhaoxiu --- drivers/hwspinlock/omap_hwspinlock.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/hwspinlock/omap_hwspinlock.c b/drivers/hwspinlock/omap_hwspinlock.c index ad2f8ca..1848a4c 100644 --- a/drivers/hwspinlock/omap_

[PATCH 05/10] exynos4-is: Replace "hweight32(mask) == 1" with "is_power_of_2(mask)"

2015-12-06 Thread Zhaoxiu Zeng
From: Zeng Zhaoxiu Signed-off-by: Zeng Zhaoxiu --- drivers/media/platform/exynos4-is/fimc-is-regs.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/media/platform/exynos4-is/fimc-is-regs.c b/drivers/media/platform/exynos4-is/fimc-is-regs.c index cfe4406..ec75a24 1

[PATCH v5] USB: serial: add Moxa UPORT 11x0 driver

2015-12-06 Thread Mathieu OTHACEHE
Add a driver which supports : - UPort 1110 : 1 port RS-232 USB to Serial Hub. - UPort 1130 : 1 port RS-422/485 USB to Serial Hub. - UPort 1130I : 1 port RS-422/485 USB to Serial Hub with Isolation. - UPort 1150 : 1 port RS-232/422/485 USB to Serial Hub. - UPort 1150I : 1 port RS-232/422/485 USB

Re: [GIT pull] perf fixes for 4.4

2015-12-06 Thread Ingo Molnar
* Thomas Gleixner wrote: > Linus, > > please pull the latest perf-urgent-for-linus git tree from: > >git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git > perf-urgent-for-linus > > Some more perf fixes: > > - Properly read lock RCU in the cgroup perf context switch code. > >

Re: [PATCH v2 1/2] um: Set secure access mode for temporary file

2015-12-06 Thread Mickaël Salaün
On 06/12/2015 12:32, Mickaël Salaün wrote: > On 04/12/2015 18:13, Tristan Schmelcher wrote: >> File permissions are checked at time of open, so I think this fchmod >> call has never had any effect. > > Indeed, mmap doesn't require the file to be executable, only readable and > writable. The fchmo

Re: [PATCH v2 1/2] um: Set secure access mode for temporary file

2015-12-06 Thread Mickaël Salaün
On 04/12/2015 18:13, Tristan Schmelcher wrote: > File permissions are checked at time of open, so I think this fchmod > call has never had any effect. Indeed, mmap doesn't require the file to be executable, only readable and writable. The fchmod seems to be a guarantee for this permissions but I

Re: Improve spinlock performance by moving work to one core

2015-12-06 Thread Ling Ma
Longman, We further optimized the kernel spinlock in ali-spin-lock.patch as attachment based on kernel 4.3.0-rc4. Run thread.c in user space with kernel patch(ali-spin-lock.patch) on E5-2699v3, compare with original spinlock: The printed data indicates the performance in critical path is improve

[RFC BUG] coccinelle: use_after_iter parse error

2015-12-06 Thread Geyslan G. Bem
Hi maintainers, I'm having these error output using coccinelle. -- Regards, Geyslan G. Bem hackingbits.com -- 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-i

Re: [tip:perf/core] perf/x86: Use INST_RETIRED.PREC_DIST for cycles: ppp

2015-12-06 Thread Ingo Molnar
* tip-bot for Andi Kleen wrote: > Commit-ID: 4576ceaa56a86bd0c041c204d51c3f3ca582a49c > Gitweb: http://git.kernel.org/tip/4576ceaa56a86bd0c041c204d51c3f3ca582a49c > Author: Andi Kleen > AuthorDate: Mon, 30 Nov 2015 16:28:09 -0800 > Committer: Ingo Molnar > CommitDate: Fri, 4 Dec 2015

Re: [RFC BUG] coccinelle: use_after_iter parse error

2015-12-06 Thread Geyslan G. Bem
2015-12-06 10:09 GMT-03:00 Geyslan G. Bem : > Hi maintainers, > > I'm having these error output using coccinelle. Sorry, gmail and its ctrl+enter shortcut. :/ geyslan@hb ~/Projects/linux $ make coccicheck V=2 M=drivers/usb/host/ -j4 > cocciout Fatal error: exception Failure("minus: parse error: \

[tip:x86/mm] x86/mm/64: Enable SWIOTLB if system has SRAT memory regions above MAX_DMA32_PFN

2015-12-06 Thread tip-bot for Igor Mammedov
Commit-ID: ec941c5ffede4d788b9fc008f9eeca75b9e964f5 Gitweb: http://git.kernel.org/tip/ec941c5ffede4d788b9fc008f9eeca75b9e964f5 Author: Igor Mammedov AuthorDate: Fri, 4 Dec 2015 14:07:06 +0100 Committer: Ingo Molnar CommitDate: Sun, 6 Dec 2015 12:46:31 +0100 x86/mm/64: Enable SWIOTLB if

[tip:x86/mm] x86/mm: Introduce max_possible_pfn

2015-12-06 Thread tip-bot for Igor Mammedov
Commit-ID: 8dd3303001976aa8583bf20f6b93590c74114308 Gitweb: http://git.kernel.org/tip/8dd3303001976aa8583bf20f6b93590c74114308 Author: Igor Mammedov AuthorDate: Fri, 4 Dec 2015 14:07:05 +0100 Committer: Ingo Molnar CommitDate: Sun, 6 Dec 2015 12:46:31 +0100 x86/mm: Introduce max_possib

Re: [RFC BUG] coccinelle: use_after_iter parse error

2015-12-06 Thread Julia Lawall
On Sun, 6 Dec 2015, Geyslan G. Bem wrote: > 2015-12-06 10:09 GMT-03:00 Geyslan G. Bem : > > Hi maintainers, > > > > I'm having these error output using coccinelle. > > Sorry, gmail and its ctrl+enter shortcut. :/ > > geyslan@hb ~/Projects/linux $ make coccicheck V=2 M=drivers/usb/host/ > -j4 > c

[tip:perf/core] perf/x86/intel: Make L1D_PEND_MISS.FB_FULL not constrained on Haswell

2015-12-06 Thread tip-bot for Yuanfang Chen
Commit-ID: e0fbac1cd49c5ca6cb6a0aa918d0943ce95d906c Gitweb: http://git.kernel.org/tip/e0fbac1cd49c5ca6cb6a0aa918d0943ce95d906c Author: Yuanfang Chen AuthorDate: Tue, 24 Nov 2015 12:05:01 -0500 Committer: Ingo Molnar CommitDate: Sun, 6 Dec 2015 12:54:48 +0100 perf/x86/intel: Make L1D_PE

[tip:perf/core] perf/x86/intel: Fix INTEL_FLAGS_UEVENT_CONSTRAINT_DATALA_NA macro

2015-12-06 Thread tip-bot for Jiri Olsa
Commit-ID: 169b932a15318e8e9f2f0f12eeb55dda09c8737f Gitweb: http://git.kernel.org/tip/169b932a15318e8e9f2f0f12eeb55dda09c8737f Author: Jiri Olsa AuthorDate: Mon, 9 Nov 2015 10:24:31 +0100 Committer: Ingo Molnar CommitDate: Sun, 6 Dec 2015 12:54:48 +0100 perf/x86/intel: Fix INTEL_FLAGS_

[tip:perf/core] perf: Do not send exit event twice

2015-12-06 Thread tip-bot for Jiri Olsa
Commit-ID: 4e93ad601a4308d4a67673c81556580817d56940 Gitweb: http://git.kernel.org/tip/4e93ad601a4308d4a67673c81556580817d56940 Author: Jiri Olsa AuthorDate: Wed, 4 Nov 2015 16:00:05 +0100 Committer: Ingo Molnar CommitDate: Sun, 6 Dec 2015 12:54:49 +0100 perf: Do not send exit event twi

[tip:perf/core] perf/x86/intel: Fix __initconst declaration in the RAPL perf driver

2015-12-06 Thread tip-bot for Andi Kleen
Commit-ID: da008ee72cabdee0ee98d3a3580ca5cfb8d2d1f1 Gitweb: http://git.kernel.org/tip/da008ee72cabdee0ee98d3a3580ca5cfb8d2d1f1 Author: Andi Kleen AuthorDate: Mon, 30 Nov 2015 09:48:42 -0800 Committer: Ingo Molnar CommitDate: Sun, 6 Dec 2015 12:55:53 +0100 perf/x86/intel: Fix __initcons

[tip:perf/core] x86/headers: Don't include asm/processor.h in asm /atomic.h

2015-12-06 Thread tip-bot for Andi Kleen
Commit-ID: 153a4334c439cfb62e1d31cee0c790ba4157813d Gitweb: http://git.kernel.org/tip/153a4334c439cfb62e1d31cee0c790ba4157813d Author: Andi Kleen AuthorDate: Tue, 1 Dec 2015 17:00:57 -0800 Committer: Ingo Molnar CommitDate: Sun, 6 Dec 2015 12:56:03 +0100 x86/headers: Don't include asm/

[tip:perf/core] tracepoints: Move struct tracepoint to new tracepoint-defs.h header

2015-12-06 Thread tip-bot for Andi Kleen
Commit-ID: bd2a634d9e852b9b6100f9ae9c3c790b0ff91ce0 Gitweb: http://git.kernel.org/tip/bd2a634d9e852b9b6100f9ae9c3c790b0ff91ce0 Author: Andi Kleen AuthorDate: Tue, 1 Dec 2015 17:00:58 -0800 Committer: Ingo Molnar CommitDate: Sun, 6 Dec 2015 12:56:06 +0100 tracepoints: Move struct tracep

[tip:perf/core] perf/x86: Remove old MSR perf tracing code

2015-12-06 Thread tip-bot for Andi Kleen
Commit-ID: f1ad44884a4c421ceaa9a4a8242a6f686670 Gitweb: http://git.kernel.org/tip/f1ad44884a4c421ceaa9a4a8242a6f686670 Author: Andi Kleen AuthorDate: Tue, 1 Dec 2015 17:01:00 -0800 Committer: Ingo Molnar CommitDate: Sun, 6 Dec 2015 12:56:14 +0100 perf/x86: Remove old MSR perf t

[tip:perf/core] x86, tracing, perf: Add trace point for MSR accesses

2015-12-06 Thread tip-bot for Andi Kleen
Commit-ID: 7f47d8cc039f8746e0038fe05f1ddcb15a2e27f0 Gitweb: http://git.kernel.org/tip/7f47d8cc039f8746e0038fe05f1ddcb15a2e27f0 Author: Andi Kleen AuthorDate: Tue, 1 Dec 2015 17:00:59 -0800 Committer: Ingo Molnar CommitDate: Sun, 6 Dec 2015 12:56:10 +0100 x86, tracing, perf: Add trace p

linux-kernel@vger.kernel.org

2015-12-06 Thread Julia Lawall
Since Coccinelle 1.0.4, & cannot be in column 0. Reported-by: Geyslan G. Bem Signed-off-by: Julia Lawall --- scripts/coccinelle/iterators/use_after_iter.cocci |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/coccinelle/iterators/use_after_iter.cocci b/scripts/coc

Re: [RFC BUG] coccinelle: use_after_iter parse error

2015-12-06 Thread Geyslan G. Bem
2015-12-06 10:17 GMT-03:00 Julia Lawall : > > > On Sun, 6 Dec 2015, Geyslan G. Bem wrote: > >> 2015-12-06 10:09 GMT-03:00 Geyslan G. Bem : >> > Hi maintainers, >> > >> > I'm having these error output using coccinelle. >> >> Sorry, gmail and its ctrl+enter shortcut. :/ >> >> geyslan@hb ~/Projects/li

Re: gigaset: freeing an active object

2015-12-06 Thread Paul Bolle
On wo, 2015-12-02 at 18:48 -0500, Peter Hurley wrote: > On 11/30/2015 01:01 PM, Paul Bolle wrote: > > Should (something like) this go into stable too? > > Definitely for stable since it has a userspace triggerable component. Thanks, will do. > > --- a/drivers/isdn/gigaset/ser-gigaset.c > > +++ b

[PATCH] usb: host: iounmap before return

2015-12-06 Thread Geyslan G. Bem
This patch fixes a 'quirk_usb_handoff_xhci()' branch return that was not unmapping correctly. Coccinelle: scripts/coccinelle/free/iounmap.cocci Signed-off-by: Geyslan G. Bem --- drivers/usb/host/pci-quirks.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/usb/host

Re: [RFC] usb: coccinelle and checkpatch cleanup

2015-12-06 Thread Geyslan G. Bem
2015-12-04 18:55 GMT-03:00 Geyslan G. Bem : > While applying the "scripts/coccinelle/misc/compare_const_fl.cocci" in > usb/host/ tree I found files that deserve almost a full cleanup (very > wrong coding style). Eg. drivers/usb/host/ohci-dbg.c By wrong coding style I meant checkpatch warnings. I a

[PATCH -v1.1 3/4] x86/cpufeature: Remove unused and seldomly used cpu_has_xx macros

2015-12-06 Thread Borislav Petkov
On Sat, Dec 05, 2015 at 07:50:11PM +0100, Thomas Gleixner wrote: > On Tue, 1 Dec 2015, Borislav Petkov wrote: > > #if __GNUC__ >= 4 > > extern void warn_pre_alternatives(void); > > diff --git a/arch/x86/include/asm/xor_32.h b/arch/x86/include/asm/xor_32.h > > index 5a08bc8bff33..ccca77dad474 1006

Re: [PATCH v2 1/2] um: Set secure access mode for temporary file

2015-12-06 Thread Mickaël Salaün
On 06/12/2015 12:32, Mickaël Salaün wrote: > On 04/12/2015 18:13, Tristan Schmelcher wrote: >> If there is a concern that the mkstemp implementation may be insecure, >> why not set and restore the umask? >> > > I will add this safeguard. Well, I'm concerned to use umask because it is not thread-s

From Office Of Mr. James Dimon CEO

2015-12-06 Thread Mr
>From Office Of Mr. James Dimon CEO JP Morgan Chase Bank Wa1-2213 5508N Division St Spokane, WA 99208 Direct Tele: Number: (509) 592-9622 Fax 630-733-6138 My office e-mail: customerc...@jpchaseinfo.com chasebank43...@gmail.com DATE: 12 / 05 / 2015 Urgent Attention My Dear Friend, How are you t

Re: [PATCH] Documentation: email-clients.txt

2015-12-06 Thread Jonathan Corbet
On Sun, 6 Dec 2015 01:09:39 -0500 Sanidhya Solanki wrote: > Patch included below. As an aside, thank you for the excellent work on > the books and other documentation. Thanks for the nice comments. Future praise, however, should go below the "---" marker so I don't have to edit it out of the ch

Re: gigaset: freeing an active object

2015-12-06 Thread Tilman Schmidt
Am 06.12.2015 um 14:31 schrieb Paul Bolle: > On wo, 2015-12-02 at 18:48 -0500, Peter Hurley wrote: >> On 11/30/2015 01:01 PM, Paul Bolle wrote: >>> --- a/drivers/isdn/gigaset/ser-gigaset.c >>> +++ b/drivers/isdn/gigaset/ser-gigaset.c >>> @@ -42,8 +42,9 @@ MODULE_PARM_DESC(cidmode, "stay in CID mod

[PATCH] Gpu: drm: tilcdc: don't use devm_pinctrl_get_select_default() in probe

2015-12-06 Thread Nizam Haider
Since commit ab78029ecc34 (drivers/pinctrl: grab default handles from device core), we can rely on device core for setting the default pins. Signed-off-by: Nizam Haider --- drivers/gpu/drm/tilcdc/tilcdc_tfp410.c | 7 --- 1 file changed, 7 deletions(-) diff --git a/drivers/gpu/drm/tilcdc/til

[PATCH] [media] constify stv6110x_devctl structure

2015-12-06 Thread Julia Lawall
The stv6110x_devctl structure is never modified, so declare is as const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall --- drivers/media/dvb-frontends/stv6110x.c |4 ++-- drivers/media/dvb-frontends/stv6110x.h |4 ++-- drivers/media/dvb-front

Re: [PATCH 00/13] perf tools: Move perf subcommand framework into lib/tools

2015-12-06 Thread Jiri Olsa
On Sun, Dec 06, 2015 at 10:37:52AM +0100, Ingo Molnar wrote: > > * Josh Poimboeuf wrote: > > > Ingo suggested that I factor out the perf subcommand functionality > > (originally copied from git) into tools/lib so that it can be used by > > stacktool[*] and possibly others. > > > > All the subco

[PATCH] drivers/media/usb/as102: constify as102_priv_ops_t structure

2015-12-06 Thread Julia Lawall
The as102_priv_ops_t structure is never modified, so declare it as const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall --- drivers/media/usb/as102/as102_drv.h |2 +- drivers/media/usb/as102/as102_usb_drv.c |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) di

Re: [PATCH 2/7] perf test: Use machine__new_host in mma thread lookup test

2015-12-06 Thread Jiri Olsa
On Fri, Dec 04, 2015 at 10:22:15PM +0900, Namhyung Kim wrote: > Hi Jiri, > > In the subject, please do 's/mma/mmap/'. Ditto for 3/7. I updated that in the perf/fixes branch Arnaldo please let me know if you need me to resend those again thanks, jirka -- To unsubscribe from this list: send the

[PATCHv2 7/7] perf test: Create kernel maps properly for hist entries test

2015-12-06 Thread Jiri Olsa
On Fri, Dec 04, 2015 at 10:23:37PM +0900, Namhyung Kim wrote: > On Thu, Dec 03, 2015 at 09:34:18AM +0100, Jiri Olsa wrote: > > It fixes segfault within machine__exit, that's caused > > but not creating kernel maps for machine.. We're calling > > machine__destroy_kernel_maps in machine__exit since c

[PATCH v3 0/4] Add PWM clock support for bcm2835

2015-12-06 Thread Remi Pommarel
Hi, This patchset adds support for pwm clock. At boot, this clock does not have a default parent nor a default rate set. Thus we should be able to change its parent to get this clock working. The current clock implementation is using a mux to select the parent, but these clocks need to add a passw

[PATCH v3 3/4] clk: bcm2835: Add PWM clock support

2015-12-06 Thread Remi Pommarel
Register the pwm clock for bcm2835. Signed-off-by: Remi Pommarel --- drivers/clk/bcm/clk-bcm2835.c | 13 + include/dt-bindings/clock/bcm2835.h | 3 ++- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/drivers/clk/bcm/clk-bcm2835.c b/drivers/clk/bcm/clk-bcm2835.c

[PATCH v3 1/4] clk: bcm2835: add a round up ability to the clock divisor

2015-12-06 Thread Remi Pommarel
Make bcm2835_clock_choose_div to optionally round up the chosen MASH divisor so that the resulting average rate will not be higher than the requested one. Signed-off-by: Remi Pommarel --- drivers/clk/bcm/clk-bcm2835.c | 22 -- 1 file changed, 12 insertions(+), 10 deletions(-)

[PATCH v3 2/4] clk: bcm2835: Support for clock parent selection

2015-12-06 Thread Remi Pommarel
Some bcm2835 clocks used by hardware (like "PWM" or "H264") can have multiple parent clocks. These clocks divide the rate of a parent which can be selected by setting the proper bits in the clock control register. Previously all these parents where handled by a mux clock. But a mux clock cannot be

[PATCH v3 4/4] clk: bcm2835: Add PWM clock support to the device tree

2015-12-06 Thread Remi Pommarel
Signed-off-by: Remi Pommarel --- arch/arm/boot/dts/bcm2835-rpi.dtsi | 4 arch/arm/boot/dts/bcm2835.dtsi | 9 + 2 files changed, 13 insertions(+) diff --git a/arch/arm/boot/dts/bcm2835-rpi.dtsi b/arch/arm/boot/dts/bcm2835-rpi.dtsi index 3572f03..55801e0 100644 --- a/arch/arm/boo

Re: [PATCH] USB: serial: cp210x: Cleaned up USB access functions.

2015-12-06 Thread Johan Hovold
On Mon, Nov 30, 2015 at 04:50:38PM -0600, Konstantin Shkolnyy wrote: > cp210x_get_config and cp210x_set_config were hard to use. They required > the buffer as an array of 32-bit values even for smaller values, and did > endian conversions on per-32-bit value basis, which is wrong for some > cp210x

[PATCH] net: hisilicon: constify hnae_buf_ops and hnae_ae_ops structures

2015-12-06 Thread Julia Lawall
The hnae_buf_ops and hnae_ae_ops structures are never modified, so declare them as const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall --- I have the impression that this driver is not recorded properly in the MAINTAINERS file. drivers/net/ethernet/hisilicon/hns/hnae.c

[PATCH] PCI: constify pci_platform_pm_ops structure

2015-12-06 Thread Julia Lawall
The pci_platform_pm_ops structure is never modified, so declare it as const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall --- drivers/pci/pci-acpi.c |2 +- drivers/pci/pci.c |4 ++-- drivers/pci/pci.h |2 +- 3 files changed, 4 insertions(+), 4 deletions(-

Re: [PATCH] net: qca_spi: fix transmit queue timeout handling

2015-12-06 Thread David Miller
From: Stefan Wahren Date: Fri, 4 Dec 2015 16:29:10 +0100 > In case of a tx queue timeout every transmit is blocked until the > QCA7000 resets himself and triggers a sync which makes the driver > flushs the tx ring. So avoid this blocking situation by triggering > the sync immediately after the t

Re: [RFC][PATCH] Add __GFP_ZERO to alloc_cpumask_var_node() if ptr is zero

2015-12-06 Thread Ingo Molnar
* Rusty Russell wrote: > Ingo Molnar writes: > > * Steven Rostedt wrote: > > > >> On Fri, 04 Dec 2015 12:05:12 +1030 > >> Rusty Russell wrote: > >> > >> > This is clever, but I would advise against such subtle code. We will > >> > never be > >> > able to remove this code once it is in. >

[git pull] vfs.git fixes

2015-12-06 Thread Al Viro
A couple of fixes (-stable fodder) + dead code removal after the overlayfs fix; I agree that it's better to separate from the fix part to make backporting easier, but IMO it's not worth delaying said dead code removal until the next window. Please, pull from git://git.kernel.org/pub/scm/l

From Office Of Mr. James Dimon CEO

2015-12-06 Thread Mr
>From Office Of Mr. James Dimon CEO JP Morgan Chase Bank Wa1-2213 5508N Division St Spokane, WA 99208 Direct Tele: Number: (509) 592-9622 Fax 630-733-6138 My office e-mail: customerc...@jpchaseinfo.com chasebank43...@gmail.com DATE: 12 / 05 / 2015 Urgent Attention My Dear Friend, How are you t

[PATCH] rtlwifi: fix gigantic memleak in rtl_usb

2015-12-06 Thread Peter Wu
Free skb for received frames with a wrong checksum. While using the rtl8192cu driver in monitor mode, somehow 5G of memory was permanently lost (observable via the Available column in `free -m`). Test scenario: ip link set down wlan1 iw wlan1 set type monitor ip link set up wlan1

Re: [PATCH V3 2/6] acpi: pci: Setup MSI domain for ACPI based pci devices

2015-12-06 Thread Tomasz Nowicki
Hi Marc, On 11/22/2015 12:35 PM, Marc Zyngier wrote: On Sat, 21 Nov 2015 15:18:45 -0600 Suravee Suthikulpanit wrote: Hi Marc, On 11/19/15 06:08, Marc Zyngier wrote: On Wed, 21 Oct 2015 11:47:25 -0700 Suravee Suthikulpanit wrote: Hi Suravee, Sorry it took so long to get to this series. C

Re: [PATCH] Documentation: email-clients.txt

2015-12-06 Thread Joe Perches
On Sun, 2015-12-06 aASCIIt 08:30 -0700, Jonathan Corbet wrote: > On Sun, 6 Dec 2015 01:09:39 -0500 > Sanidhya Solanki wrote: [] > >  Evolution (GUI) > >   > > +As of December 2015, the composing & inserting  method described below > > +does not work. > > Could it really be that nobody is using ev

Re: [PATCH] Documentation: email-clients.txt

2015-12-06 Thread Jonathan Corbet
On Sun, 06 Dec 2015 10:11:04 -0800 Joe Perches wrote: > > Could it really be that nobody is using evolution?  Much nicer here would > > be to describe how it fails to work, and, ideally, come up with a fix. > > Evolution 3.12 works fine. > > The text editor for Evolution versions > 3.12 is br

tmpfs sizing broken in 4.4-rc*

2015-12-06 Thread Andi Kleen
Hi, It seems on 4.4-rc2 something is wrong how tmpfs is sized by default. On a 4GB system with /tmp as tmpfs I only have an 1MB sized /tmp now. Which breaks a lot of stuff, including the scripts to install new kernels. When I remount it manually with a larger size things works again. I haven't

Re: [PATCH] perf hists browser: Fix segfault if use symbol filter in cmdline

2015-12-06 Thread Arnaldo Carvalho de Melo
Em Thu, Dec 03, 2015 at 12:49:42AM +0900, Namhyung Kim escreveu: > Hi, > > On Wed, Dec 02, 2015 at 11:28:52AM +, Wang Nan wrote: > > If feed perf a symbol filter in cmdline and the result is empty, > > pressing 'Enter' in the hist browser causes crash: > > > > # ./perf report perf.data <--

Re: [PATCH 00/13] perf tools: Move perf subcommand framework into lib/tools

2015-12-06 Thread Arnaldo Carvalho de Melo
Em Sun, Dec 06, 2015 at 10:37:52AM +0100, Ingo Molnar escreveu: > > * Josh Poimboeuf wrote: > > > Ingo suggested that I factor out the perf subcommand functionality > > (originally copied from git) into tools/lib so that it can be used by > > stacktool[*] and possibly others. > > > > All the su

Re: [PATCH v4 1/5] dt-bindings: add SMP enable-method for Broadcom NSP

2015-12-06 Thread Kapil Hali
Hi Rob, On 12/6/2015 6:22 AM, Rob Herring wrote: > On Wed, Dec 2, 2015 at 10:06 AM, Kapil Hali wrote: >> Hi Rob, >> >> On 12/2/2015 8:56 PM, Rob Herring wrote: >>> On Tue, Dec 01, 2015 at 11:24:05AM -0500, Kapil Hali wrote: Add a compatible string "brcm,bcm-nsp-smp" for Broadcom's North

Re: tmpfs sizing broken in 4.4-rc*

2015-12-06 Thread Andi Kleen
On Sun, Dec 06, 2015 at 07:16:55PM +0100, Andi Kleen wrote: > > Hi, > > It seems on 4.4-rc2 something is wrong how tmpfs is sized by default. > > On a 4GB system with /tmp as tmpfs I only have an 1MB sized /tmp now. Which > breaks a lot of stuff, including the scripts to install new kernels. >

[PATCH] drm: msm: dsi: Added missing mutex_unlock

2015-12-06 Thread Saurabh Sengar
in case of failed to get iova, function was returning without releasing the mutex. Added it. Signed-off-by: Saurabh Sengar --- drivers/gpu/drm/msm/dsi/dsi_host.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/msm/dsi/dsi_host.c b/drivers/gpu/drm/msm/dsi/dsi_

[RFC/RFT PATCH] watchdog: Move watchdog device creation to watchdog_dev.c

2015-12-06 Thread Guenter Roeck
The watchdog character device s currently created in watchdog_dev.c, and the watchdog device in watchdog_core.c. This results in cross-dependencies, as the device creation needs to know the watchdog character device number. On top of that, the watchdog character device is created before the watchd

Re: [PATCH 00/13] perf tools: Move perf subcommand framework into lib/tools

2015-12-06 Thread Josh Poimboeuf
On Sun, Dec 06, 2015 at 04:50:06PM +0100, Jiri Olsa wrote: > On Sun, Dec 06, 2015 at 10:37:52AM +0100, Ingo Molnar wrote: > > > > * Josh Poimboeuf wrote: > > > > > Ingo suggested that I factor out the perf subcommand functionality > > > (originally copied from git) into tools/lib so that it can

[PATCH] gpu: host1x: mipi: Added missing mutex_unlock

2015-12-06 Thread Saurabh Sengar
In case of error too function should return after releasing the mutex Signed-off-by: Saurabh Sengar --- drivers/gpu/host1x/mipi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/host1x/mipi.c b/drivers/gpu/host1x/mipi.c index 52a6fd2..6e559a9 100644 --- a/drivers/gpu/host1x/mipi.

Re: gigaset: freeing an active object

2015-12-06 Thread Paul Bolle
On zo, 2015-12-06 at 16:29 +0100, Tilman Schmidt wrote: > So the solution might be as simple as moving the kfree() call from > gigaset_freecshw() to gigaset_device_release(). Something like this: > > --- a/drivers/isdn/gigaset/ser-gigaset.c > +++ b/drivers/isdn/gigaset/ser-gigaset.c > @@ -370,19 +

Re: [PATCH] rtlwifi: fix gigantic memleak in rtl_usb

2015-12-06 Thread Larry Finger
On 12/06/2015 11:57 AM, Peter Wu wrote: Free skb for received frames with a wrong checksum. While using the rtl8192cu driver in monitor mode, somehow 5G of memory was permanently lost (observable via the Available column in `free -m`). Test scenario: ip link set down wlan1 iw wlan1 s

Re: [PATCH] of: Fix comparison of reserved memory regions

2015-12-06 Thread Rob Herring
On Sat, Dec 5, 2015 at 5:43 AM, Michael Ellerman wrote: > > > On 5 December 2015 04:07:39 GMT+11:00, Mitchel Humpherys > wrote: >>On Wed, Nov 18 2015 at 09:46:38 PM, Michael Ellerman >> wrote: >>> In order to check for overlapping reserved memory regions, we first >>need >>> to sort the array of

Re: [PATCH] of/address: replace printk(KERN_ERR ...) with pr_err(...)

2015-12-06 Thread Rob Herring
On Mon, Nov 30, 2015 at 12:14 AM, Masahiro Yamada wrote: > A trivial change suggested by checkpatch.pl. You might as well all levels while you are at it. Looks like that is only one more: drivers/of/address.c: printk(KERN_DEBUG "%s", s); Rob > > Signed-off-by: Masahiro Yamada > --- > > dri

Re: [PATCH] of/address: fix typo in comment block of of_translate_one()

2015-12-06 Thread Rob Herring
On Mon, Nov 30, 2015 at 12:22 AM, Masahiro Yamada wrote: > Remove the "not" before "cannot". > > I am fixing the comment block style while I am here. > > Signed-off-by: Masahiro Yamada Applied for 4.4. Thanks. Rob > --- > > drivers/of/address.c | 5 +++-- > 1 file changed, 3 insertions(+), 2

Re: [PATCH] of/irq: optimize device node matching loop in of_irq_init()

2015-12-06 Thread Rob Herring
On Tue, Nov 24, 2015 at 7:10 AM, Masahiro Yamada wrote: > Currently, of_irq_init() iterates over interrupt controller nodes > with for_each_matching_node(), and then gets each init function with > of_match_node() later. > > This routine can be optimized with for_each_matching_node_and_match(). > I

Re: [PATCH] Documentation: email-clients.txt

2015-12-06 Thread Randy Dunlap
On 12/06/15 07:30, Jonathan Corbet wrote: > On Sun, 6 Dec 2015 01:09:39 -0500 > Sanidhya Solanki wrote: > >> Patch included below. As an aside, thank you for the excellent work on >> the books and other documentation. > > Thanks for the nice comments. Future praise, however, should go below the

  1   2   3   >