Re: [RFC PATCH v6 3/3] arm: fix a migrating irq bug when hotplug cpu

2015-10-13 Thread Russell King - ARM Linux
On Thu, Sep 24, 2015 at 05:32:15PM +0800, Yang Yingliang wrote: > When cpu is disabled, all irqs will be migratged to another cpu. > In some cases, a new affinity is different, the old affinity need > to be updated and if irq_set_affinity's return value is IRQ_SET_MASK_OK_DONE, > the old affinity

Re: [PATCH v7 4/5] locking/pvqspinlock: Allow 1 lock stealing attempt

2015-10-13 Thread Peter Zijlstra
On Tue, Sep 22, 2015 at 04:50:43PM -0400, Waiman Long wrote: > This patch allows one attempt for the lock waiter to steal the lock > when entering the PV slowpath. This helps to reduce the performance > penalty caused by lock waiter preemption while not having much of > the downsides of a real

[PATCH 6/8] perf hists browser: Add 'm' key for context menu display

2015-10-13 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim With horizontal scrolling, the left/right arrow keys are used to scroll columns and ENTER/ESC keys are used to enter/exit menu. However if callchain is recorded, the ENTER key is used to toggle callchain expansion so there's no way to display menu. Use

Re: [RFCv5 PATCH 40/46] sched/cpufreq_sched: compute freq_new based on capacity_orig_of()

2015-10-13 Thread Steve Muckle
On 08/17/2015 05:19 AM, Juri Lelli wrote: >> Nah, just maybe: (capacity << SCHED_CAPACITY_SHIFT) / capacity_orig_of() >> > such that you don't have to export that knowledge to this thing. >> > > Oh, right. I guess we can just go with something like: > > req_cap = get_cpu_usage(cpu) *

Re: [PATCH v3 1/3] Documentation: dt: soc: Add description for knav qmss driver

2015-10-13 Thread Arnd Bergmann
On Tuesday 13 October 2015 14:45:41 Murali Karicheri wrote: > Add documentation for knav qmss driver. > > Signed-off-by: Murali Karicheri > Acked-by: Arnd Bergmann -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a

[PATCH] PCI: iproc: fix 32-bit build error

2015-10-13 Thread Arnd Bergmann
The iproc PCI driver tries to figure out whether the MMIO window has a valid size, but does this using a 64-bit modulo operation, which is not allowed on 32-bit kernels and leads to a link error: drivers/built-in.o: In function `iproc_pcie_setup': :(.text+0x4b798): undefined reference to

[PATCH] ARM: dts: twl4030: Add iio properties for bci subnode

2015-10-13 Thread Marek Belisko
Added new iio properties which are required for twl4030-charger driver and allow to use twl4030-madc indirectly. Signed-off-by: Marek Belisko --- arch/arm/boot/dts/twl4030.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/twl4030.dtsi

Re: [PATCH] pstore: add vmalloc error check

2015-10-13 Thread Kees Cook
On Tue, Oct 13, 2015 at 2:27 AM, Geliang Tang wrote: > If vmalloc is failed, return -ENOMEM. > > Signed-off-by: Geliang Tang > --- > fs/pstore/pmsg.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/fs/pstore/pmsg.c b/fs/pstore/pmsg.c > index

Re: [PATCH v4 07/26] ARM: pxa: magician: Fix HTC Magician pin mux definitions

2015-10-13 Thread Robert Jarzmik
Petr Cvek writes: > Dne 3.10.2015 v 14:30 Philipp Zabel napsal(a): >> Am Montag, den 28.09.2015, 23:15 +0200 schrieb Petr Cvek: >>> This patch fixes a pin mux for the HTC Magician machine. Wrong and >>> missing >>> definitions caused a bad LCD operation and an unavailability of

Re: [PATCH] ARM: socfpga: dts: add fpga manager

2015-10-13 Thread Steffen Trumtrar
On Tue, Oct 13, 2015 at 02:18:22PM -0500, Dinh Nguyen wrote: > On Tue, 13 Oct 2015, Steffen Trumtrar wrote: > > > Hi Alan! > > > > On Tue, Oct 13, 2015 at 01:28:20PM -0500, at...@opensource.altera.com wrote: > > > From: Alan Tull > > > > > > Add FPGA manager to

Re: [V4 PATCH 4/4] x86/apic: Introduce noextnmi boot option

2015-10-13 Thread Thomas Gleixner
On Fri, 25 Sep 2015, Hidehiro Kawai wrote: > This patch introduces new boot option "noextnmi" which disables > external NMI. This option is useful for the dump capture kernel > so that an HA application or administrator wouldn't mistakenly > shoot down the kernel by NMI. > > Currently, only x86

[PATCH] mutex: make mutex_lock_nested an inline function

2015-10-13 Thread Arnd Bergmann
The second argument of the mutex_lock_nested() helper is only evaluated if CONFIG_DEBUG_LOCK_ALLOC is set. Otherwise we get this build warning for the new regulator_lock_supply function: drivers/regulator/core.c: In function 'regulator_lock_supply': drivers/regulator/core.c:142:6: warning: unused

Re: [PATCH v2] ARM: socfpga: dts: add fpga manager

2015-10-13 Thread Dinh Nguyen
On Tue, 13 Oct 2015, at...@opensource.altera.com wrote: > From: Alan Tull > > Add FPGA manager to device tree for SoCFPGA. > > Signed-off-by: Alan Tull > --- > v2: Remove 0x after @ > No caps in hex numbers > renamed

Re: 4.3-rc3 BAR allocation problems on multiple machines

2015-10-13 Thread Meelis Roos
> >> Can you send boot log after booting with "debug ignore_loglevel > >> ofpci_debug=1" ? > > > > http://kodu.ut.ee/~mroos/dm/dm.v210+patch+debug > > Firmware does reported overlapped resources. [...] > can you send out output for > lspci -vvxxx > lspci -tv Here you are. :00:02.0

Re: [PATCH v4 22/26] ARM: pxa: magician: Remove pdata for pasic3-leds

2015-10-13 Thread Robert Jarzmik
Philipp Zabel writes: > Am Montag, den 28.09.2015, 23:39 +0200 schrieb Petr Cvek: >> The pasic3-leds driver was never in vanilla kernel. Actual >> configuration >> data for a hypothetical driver does not describe hardware completely, >> so >> remove them. >> >> This

Re: [PATCH] mutex: make mutex_lock_nested an inline function

2015-10-13 Thread Peter Zijlstra
On Tue, Oct 13, 2015 at 10:30:08PM +0200, Arnd Bergmann wrote: > The second argument of the mutex_lock_nested() helper is only > evaluated if CONFIG_DEBUG_LOCK_ALLOC is set. Otherwise we > get this build warning for the new regulator_lock_supply > function: > > drivers/regulator/core.c: In

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

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

Re: [PATCH] ata: Allow drivers to build if COMPILE_TEST is enabled

2015-10-13 Thread kbuild test robot
Hi Javier, [auto build test WARNING on tj-libata/for-next -- if it's inappropriate base, please suggest rules for selecting the more suitable base] url: https://github.com/0day-ci/linux/commits/Javier-Martinez-Canillas/ata-Allow-drivers-to-build-if-COMPILE_TEST-is-enabled/20151013-214138

Re: [PATCH v4 1/4] Produce system time from correlated clocksource

2015-10-13 Thread Thomas Gleixner
On Tue, 13 Oct 2015, Richard Cochran wrote: > On Tue, Oct 13, 2015 at 09:51:02AM +0200, Thomas Gleixner wrote: > > > > You are restricting the problem space to this particular use > > case. There are other use cases where PTP is not available or not the > > relevant reference, but you still want

Re: [PATCH] ARM: socfpga: dts: add fpga manager

2015-10-13 Thread Dinh Nguyen
On Tue, 13 Oct 2015, Steffen Trumtrar wrote: > Hi Alan! > > On Tue, Oct 13, 2015 at 01:28:20PM -0500, at...@opensource.altera.com wrote: > > From: Alan Tull > > > > Add FPGA manager to device tree for SoCFPGA. > > > > Signed-off-by: Alan Tull

Re: [PATCH] net: phy: smsc: disable energy detect mode

2015-10-13 Thread Florian Fainelli
On 12/10/15 22:13, Heiko Schocher wrote: > On some boards the energy enable detect mode leads in > trouble with some switches, so make the enabling of > this mode configurable through DT. > > Signed-off-by: Heiko Schocher > --- > > .../devicetree/bindings/net/smsc-lan87xx.txt

Re: spi/bcm63xx: fix standard accessors and compile guard

2015-10-13 Thread Andreas Ziegler
Hi Jonas, your patch "spi/bcm63xx: fix standard accessors and compile guard" showed up as commit 682b5280bf00 in linux-next today (that is, next-20151013). I noticed it because we (a research group from Erlangen[0]) are running daily checks on linux-next. Your commit fixes two #ifdef

[PATCH v2 2/2] video: fbdev: pxafb: initial devicetree conversion

2015-10-13 Thread Robert Jarzmik
This patch brings a first support of pxa framebuffer devices to a devicetree pxa platform, as was before platform data. There are restrictions with this port, the biggest one being the lack of support of smart panels. Moreover the conversion doesn't provide a way to declare multiple framebuffer

[PATCH v2 1/2] video: fbdev: pxafb: loosen the platform data bond

2015-10-13 Thread Robert Jarzmik
In order to prepare the transition to a mixed platform data and device-tree initialization, remove all the platform data references all over the driver. Copy the platform data into the internal structure of the pxafb, and only use this afterward. Signed-off-by: Robert Jarzmik

[PATCH 1/8] perf symbols: Try the .debug/ DSO cache as a last resort

2015-10-13 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo Not as the first attempt at finding a vmlinux for the running kernel, this way we get a more informative filename to present in tools, it will check that the build-id is the same as the one previously loaded in the DSO in dso->build_id, reading

Re: [PATCH v4 1/4] Produce system time from correlated clocksource

2015-10-13 Thread Thomas Gleixner
On Mon, 12 Oct 2015, Christopher S. Hall wrote: > Another representative use case of time sync and the correlated > clocksource (in addition to PTP noted above) is PTP synchronized > audio. This wants to be a seperate patch, really. > +/* This needs to be 3 or greater for backtracking to be

Re: 4.3-rc3 BAR allocation problems on multiple machines

2015-10-13 Thread Yinghai Lu
On Tue, Oct 13, 2015 at 12:32 AM, Meelis Roos wrote: >> >> Can you send boot log after booting with "debug ignore_loglevel >> ofpci_debug=1" ? > > http://kodu.ut.ee/~mroos/dm/dm.v210+patch+debug Firmware does reported overlapped resources. [ 34.150035] PCI:

[PATCH 5/8] perf callchains: Fix unw_word_t pointer casts

2015-10-13 Thread Arnaldo Carvalho de Melo
From: Rabin Vincent unw_word_t is uint64_t even on 32-bit MIPS. Cast it to uintptr_t before the cast to void *p to get rid of the following errors: util/unwind-libunwind.c: In function 'access_mem': util/unwind-libunwind.c:464:4: error: cast to pointer from integer

[tip:x86/cleanups] x86/early_printk: Set __iomem address space for IO

2015-10-13 Thread tip-bot for Andy Shevchenko
Commit-ID: 3435dd08092934ee9672fc28a3ee4c2017741bd6 Gitweb: http://git.kernel.org/tip/3435dd08092934ee9672fc28a3ee4c2017741bd6 Author: Andy Shevchenko AuthorDate: Mon, 12 Oct 2015 13:47:17 +0300 Committer: Thomas Gleixner

RE: [PATCH 1/3] phy: keystone: serdes driver for gbe 10gbe and pcie

2015-10-13 Thread Kwok, WingMan
> -Original Message- > From: Mark Rutland [mailto:mark.rutl...@arm.com] > Sent: Tuesday, October 13, 2015 2:33 PM > To: Kwok, WingMan > Cc: robh...@kernel.org; pawel.m...@arm.com; > ijc+devicet...@hellion.org.uk; ga...@codeaurora.org; KISHON VIJAY > ABRAHAM; Quadros, Roger; Karicheri,

Re: [PATCH v6 0/22] On-demand device probing

2015-10-13 Thread Tomeu Vizoso
On 26 September 2015 at 20:17, Rob Herring wrote: > On 09/21/2015 09:02 AM, Tomeu Vizoso wrote: >> Hello, >> >> I have a problem with the panel on my Tegra Chromebook taking longer >> than expected to be ready during boot (Stéphane Marchesin reported what >> is basically the same

Re: [PATCH] regmap: Add a config option for making regmap debugfs writable

2015-10-13 Thread kbuild test robot
Hi Anatol, [auto build test WARNING on regmap/for-next -- if it's inappropriate base, please suggest rules for selecting the more suitable base] url: https://github.com/0day-ci/linux/commits/Anatol-Pomozov/regmap-Add-a-config-option-for-making-regmap-debugfs-writable/20151014-014929 config:

[PATCH v2 2/3] dmaengine: enable DMA_CTRL_REUSE

2015-10-13 Thread Robert Jarzmik
In the current state, the capability of transfer reuse can neither be set by a slave dmaengine driver, nor used by a client driver, because the capability is not available to dma_get_slave_caps(). Fix this by adding a way to declare the capability. Fixes: 272420214d26 ("dmaengine: Add

[PATCH v2 1/3] dmaengine: virt-dma: don't always free descriptor upon completion

2015-10-13 Thread Robert Jarzmik
This patch attempts to enhance the case of a transfer submitted multiple times, and where the cost of creating the descriptors chain is not negligible. This happens with big video buffers (several megabytes, ie. several thousands of linked descriptors in one scatter-gather list). In these cases,

[PATCH v2 3/3] dmaengine: pxa_dma: declare transfer are reusable

2015-10-13 Thread Robert Jarzmik
As this driver provides a mechanism to reuse transfers, declare it in its probe function. Signed-off-by: Robert Jarzmik --- drivers/dma/pxa_dma.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/dma/pxa_dma.c b/drivers/dma/pxa_dma.c index

Re: [PATCH v4 02/26] ARM: pxa: magician: Change comments to be more informative

2015-10-13 Thread Robert Jarzmik
Philipp Zabel writes: > Am Montag, den 28.09.2015, 23:10 +0200 schrieb Petr Cvek: >> This patch changes the comments in the HTC Magician machine source >> code >> to better describe used devices and interfaces. >> >> Signed-off-by: Petr Cvek Queued to

Re: [PATCH v4 21/26] ARM: pxa: magician: Add support for PXA27x UDC

2015-10-13 Thread Robert Jarzmik
Philipp Zabel writes: > Acked-by: Philipp Zabel Comments used and pushed into pxa/for-next, thanks. Cheers. -- Robert -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: [PATCH] RAS: Show Kconfig menu only on supported architectures

2015-10-13 Thread kbuild test robot
Hi Borislav, [auto build test WARNING on linus/master -- if it's inappropriate base, please suggest rules for selecting the more suitable base] url: https://github.com/0day-ci/linux/commits/Borislav-Petkov/RAS-Show-Kconfig-menu-only-on-supported-architectures/20151014-022534 config:

Re: [PATCH v2 0/4] Basic trusted keys support for TPM 2.0

2015-10-13 Thread Jarkko Sakkinen
On Tue, Oct 13, 2015 at 11:41:20AM -0600, Jason Gunthorpe wrote: > On Tue, Oct 13, 2015 at 11:11:21AM +0300, Jarkko Sakkinen wrote: > > > * I updated tpm_buf to a be heap based structure. Now there's one full > > page of memory for variable sized messages. Also the stack is greatly > >

Re: [PATCH 4/5] cpufreq: create cpu/cpufreq/policyX directories

2015-10-13 Thread Saravana Kannan
On 10/12/2015 11:15 PM, Viresh Kumar wrote: On 12-10-15, 12:31, Saravana Kannan wrote: Can we use the first CPU in the related CPUs mask? Instead of the first CPU that the policy got created on? The policyX numbering would be a bit more consistent that way. Okay, checked this again. The

[PATCH 2/8] perf ui browsers: Remove help messages about use of right and arrow keys

2015-10-13 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo They were repurposed for horizontal scrolling, so use just ENTER/ESC in the help messages. Cc: Adrian Hunter Cc: Borislav Petkov Cc: David Ahern Cc: Frederic Weisbecker

[PATCH 8/8] tools build: Fix cross compile build

2015-10-13 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa He Kuang the new fixdep tool breaks cross compiling. The reason is it wouldn't get compiled under host arch, but under cross arch and failed to run. We need to add support for host side tools build, meanwhile disabling fixdep usage for cross arch builds.

[PATCH 3/8] perf hists browser: Inform how to reset the symbol filter

2015-10-13 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo When in the hists browser, i.e. in 'perf report' or in 'perf top', it is possible to press '/' and specify a substring to filter by symbol name. Clarify how to remove a filter by making the prompt be: Please enter the name of symbol you want

[GIT PULL 0/8] perf/core improvements and fixes

2015-10-13 Thread Arnaldo Carvalho de Melo
Hi Ingo, Please consider pulling. - Arnaldo BTW.: There are several outstanding patchkits needing review and processing, I'll be out this week for a conference, will try and speed up processing next week. The following changes since commit 0e537fef24d64f7bf3ef61a27edf64a8d9a5424c:

[PATCH v2] ARM: socfpga: dts: add fpga manager

2015-10-13 Thread atull
From: Alan Tull Add FPGA manager to device tree for SoCFPGA. Signed-off-by: Alan Tull --- v2: Remove 0x after @ No caps in hex numbers renamed hps_0_fpgamgr to fpgamgr0 move node to be in alpha order by node name ---

Re: [PATCH v7 4/5] locking/pvqspinlock: Allow 1 lock stealing attempt

2015-10-13 Thread Peter Zijlstra
On Tue, Sep 22, 2015 at 04:50:43PM -0400, Waiman Long wrote: > +gotlock: > /* > + * We now have the lock. We need to either clear the tail code or > + * notify the next one in queue as the new queue head. >*/ > + old = atomic_read(>val); > + while ((old &

Re: [PATCH v7 3/5] locking/pvqspinlock: Collect slowpath lock statistics

2015-10-13 Thread Peter Zijlstra
On Tue, Sep 22, 2015 at 04:50:42PM -0400, Waiman Long wrote: > @@ -100,10 +242,13 @@ static struct qspinlock **pv_hash(struct qspinlock > *lock, struct pv_node *node) > { > unsigned long offset, hash = hash_ptr(lock, pv_lock_hash_bits); > struct pv_hash_entry *he; > + int hopcnt

RE: [PATCH 3/3] ARM: keystone: dts: add PCI serdes driver bindings

2015-10-13 Thread Kwok, WingMan
> -Original Message- > From: Karicheri, Muralidharan > Sent: Tuesday, October 13, 2015 2:24 PM > To: Kwok, WingMan; robh...@kernel.org; pawel.m...@arm.com; > mark.rutl...@arm.com; ijc+devicet...@hellion.org.uk; ga...@codeaurora.org; > KISHON VIJAY ABRAHAM; Quadros, Roger;

Re: [PATCH v2] of: Check for overlap in reserved memory regions

2015-10-13 Thread Rob Herring
On Tue, Sep 15, 2015 at 8:30 PM, Mitchel Humpherys wrote: > Any overlap in the reserved memory regions (those specified in the > reserved-memory DT node) is a bug. These bugs might go undetected as > long as the contested region isn't used simultaneously by multiple >

Re: [PATCH] of/fdt: fix aliases with baudrate in earlycon

2015-10-13 Thread Rob Herring
On Sat, Oct 10, 2015 at 7:48 AM, Peter Hurley wrote: > On 10/10/2015 04:29 AM, Stefan Agner wrote: >> Many boards use an alias in the stdout-path specification along >> with console options after a colon (e.g. serial0:115200n8). When >> using earlycon, this specification

Re: [PATCH v4 20/26] ARM: pxa: magician: Add support for MAX1587A Vcore regulator

2015-10-13 Thread Robert Jarzmik
Philipp Zabel writes: >> +static struct regulator_init_data magician_max1587a_v3_info = { >> +.constraints = { >> +.name = "vcc_core range", >> +.min_uV = 70, >> +.max_uV = 150, > > Wouldn't that

Re: [PATCH v2 5/7] selinux: Add support for unprivileged mounts from user namespaces

2015-10-13 Thread Stephen Smalley
On 10/13/2015 01:04 PM, Seth Forshee wrote: Security labels from unprivileged mounts in user namespaces must be ignored. Force superblocks from user namespaces whose labeling behavior is to use xattrs to use mountpoint labeling instead. For the mountpoint label, default to converting the current

Re: [tip:perf/core] tools lib api fs: Remove debugfs, tracefs and findfs objects

2015-10-13 Thread Arnaldo Carvalho de Melo
Em Wed, Oct 07, 2015 at 09:10:30PM +0100, Matt Fleming escreveu: > On Thu, 24 Sep, at 05:05:57PM, Michael Petlan wrote: > > > > Hi! > > > > Yes, we have some tests, but they really need some refactoring and then > > extending. > > > > There are many "regression" tests that cover some extreme

Re: [PATCH 1/5] cpufreq: Use cpumask_copy instead of cpumask_or to copy a mask

2015-10-13 Thread Saravana Kannan
On 10/12/2015 08:23 PM, Viresh Kumar wrote: On 12-10-15, 12:12, Saravana Kannan wrote: if (new_policy) { /* related_cpus should at least include policy->cpus. */ - cpumask_or(policy->related_cpus, policy->related_cpus, policy->cpus); +

Re: [PATCH v10 24/46] xfs: Add richacl support

2015-10-13 Thread Austin S Hemmelgarn
On 2015-10-12 01:57, Andreas Gruenbacher wrote: On Mon, Oct 12, 2015 at 6:05 AM, Dave Chinner wrote: On Mon, Oct 12, 2015 at 03:51:15AM +0200, Andreas Grünbacher wrote: 2015-10-12 2:10 GMT+02:00 Dave Chinner : On Mon, Oct 12, 2015 at 12:58:35AM

Re: [PATCH] ata: Allow drivers to build if COMPILE_TEST is enabled

2015-10-13 Thread kbuild test robot
Hi Javier, [auto build test WARNING on tj-libata/for-next -- if it's inappropriate base, please suggest rules for selecting the more suitable base] url: https://github.com/0day-ci/linux/commits/Javier-Martinez-Canillas/ata-Allow-drivers-to-build-if-COMPILE_TEST-is-enabled/20151013-214138

Re: [PATCH] regulator: core: avoid unused variable warning

2015-10-13 Thread Arnd Bergmann
On Monday 12 October 2015 16:42:31 Mark Brown wrote: > On Fri, Oct 09, 2015 at 02:36:47PM +0200, Arnd Bergmann wrote: > > > The second argument of the mutex_lock_nested() helper is only > > evaluated if CONFIG_DEBUG_LOCK_ALLOC is set. Otherwise we > > get this build warning for the new

Re: 4.3-rc3 BAR allocation problems on multiple machines

2015-10-13 Thread Yinghai Lu
On Tue, Oct 13, 2015 at 12:32 AM, Meelis Roos wrote: > Applied the fix_mem_mem64_overlapping.patch and retested. The BAR > allocation problems are still there: > > http://kodu.ut.ee/~mroos/dm/dm.v210+patch+mem64patch+debug Good, now MEM64 is gone. [ 34.145275] /pci@1f,70:

[PATCH 4/8] perf callchain: Use debug_frame if eh_frame is unusable

2015-10-13 Thread Arnaldo Carvalho de Melo
From: Rabin Vincent When NO_LIBUNWIND_DEBUG_FRAME=0, use the .debug_frame if the .eh_frame doesn't contain the approprate unwind tables. Signed-off-by: Rabin Vincent Acked-by: Jiri Olsa Cc: Peter Zijlstra

[PATCH] x86/efi: Fix kernel panic when CONFIG_DEBUG_VIRTUAL is enabled

2015-10-13 Thread Sai Praneeth Prakhya
From: Sai Praneeth When CONFIG_DEBUG_VIRTUAL is turned on, all accesses to __pa(address) are monitored to see whether address falls in direct mapping or kernel mapping, if it does not kernel panics. During 1:1 mapping of EFI runtime services we access addresses

[PATCH 7/8] tools include: Fix strict-aliasing rules breakage

2015-10-13 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Vinson reported build breakage with gcc 4.4 due to strict-aliasing. CC util/annotate.o cc1: warnings being treated as errors util/annotate.c: In function ‘disasm__purge’: linux-next/tools/include/linux/compiler.h:66: error: dereferencing pointer

Re: [PATCH] ARM: socfpga: dts: add fpga manager

2015-10-13 Thread atull
On Tue, 13 Oct 2015, Dinh Nguyen wrote: > On Tue, 13 Oct 2015, Steffen Trumtrar wrote: > > > Hi Alan! > > > > On Tue, Oct 13, 2015 at 01:28:20PM -0500, at...@opensource.altera.com wrote: > > > From: Alan Tull > > > > > > Add FPGA manager to device tree for

Re: [PATCH] ARM: socfpga_defconfig: enable fpga manager

2015-10-13 Thread Dinh Nguyen
On Tue, 13 Oct 2015, at...@opensource.altera.com wrote: > From: Alan Tull > > Enable fpga manager framework and low level driver for > socfpga in socfpga_defconfig > > Signed-off-by: Alan Tull > --- >

Re: [PATCH 3/4] tpm: seal/unseal for TPM 2.0

2015-10-13 Thread Jarkko Sakkinen
On Tue, Oct 13, 2015 at 11:34:42AM -0600, Jason Gunthorpe wrote: > On Fri, Oct 02, 2015 at 11:38:17AM +0300, Jarkko Sakkinen wrote: > > Added tpm_trusted_seal() and tpm_trusted_unseal() API for sealing > > trusted keys. > > > > This patch implements basic sealing and unsealing functionality for >

Re: [PATCH] scsi: advansys needs ISA dma api for ISA support

2015-10-13 Thread James Bottomley
On Mon, 2015-10-12 at 17:44 +0200, Arnd Bergmann wrote: > On Monday 12 October 2015 08:28:01 James Bottomley wrote: > > > > > > diff --git a/drivers/scsi/Kconfig b/drivers/scsi/Kconfig > > > index d2f480b04a52..d4aa6a1a806c 100644 > > > --- a/drivers/scsi/Kconfig > > > +++ b/drivers/scsi/Kconfig

Re: [PATCH] PCI: iproc: fix 32-bit build error

2015-10-13 Thread Hauke Mehrtens
On 10/13/2015 10:02 PM, Arnd Bergmann wrote: > The iproc PCI driver tries to figure out whether the MMIO window has > a valid size, but does this using a 64-bit modulo operation, which > is not allowed on 32-bit kernels and leads to a link error: > > drivers/built-in.o: In function

Re: [PATCH] regmap: Add a config option for making regmap debugfs writable

2015-10-13 Thread Mark Brown
On Tue, Oct 13, 2015 at 11:33:13AM -0700, Anatol Pomozov wrote: > On Tue, Oct 13, 2015 at 10:55 AM, Mark Brown wrote: > > This is deliberately not a Kconfig option because it is a terrible idea > > to do this in production and making it either selectable or the default > > is

Re: [PATCH] PCI: iproc: fix 32-bit build error

2015-10-13 Thread Ray Jui
On 10/13/2015 1:06 PM, Hauke Mehrtens wrote: > On 10/13/2015 10:02 PM, Arnd Bergmann wrote: >> The iproc PCI driver tries to figure out whether the MMIO window has >> a valid size, but does this using a 64-bit modulo operation, which >> is not allowed on 32-bit kernels and leads to a link error:

Re: [PATCH] rtc: pcf8563: disable CLKOUT

2015-10-13 Thread Alexandre Belloni
Hi, On 13/10/2015 at 07:08:58 +0200, Heiko Schocher wrote : > Disable the CLKOUT of the RTC after power-up. > After power-up/reset of the RTC, CLKOUT is enabled by default, > with CLKOUT enabled the RTC chip has 2-3 times higher power > consumption. If you do not need CLKOUT, you can disable the

Re: Fwd: Memory leakage when using read_swap_cache_async() ?

2015-10-13 Thread Viacheslav Fedorov
Wow! Thank you so much! I literally spent a week trying to figure out the reason for the behavior. This solves the issue I was having at this point. Thanks again! Slava On Mon, Oct 12, 2015 at 7:40 PM, Hugh Dickins wrote: > On Mon, 12 Oct 2015, Viacheslav Fedorov wrote: > >>

Re: [PATCH-RFC 6/7] drivers: of: ifdef out cmdline section

2015-10-13 Thread Daniel Walker
On 10/07/2015 02:48 PM, Rob Herring wrote: On Wed, Oct 7, 2015 at 11:27 AM, wrote: On Tue, Oct 06, 2015 at 12:14:43PM -0500, Rob Herring wrote: On Tue, Oct 6, 2015 at 10:47 AM, Daniel Walker wrote: It looks like there's some seepage of cmdline stuff

Re: [PATCH 1/1] Bumps limit of maximum core ID from 32 to 128.

2015-10-13 Thread Guenter Roeck
On Mon, Oct 12, 2015 at 01:53:32PM +0200, Lukasz Odzioba wrote: > A new limit selected arbitrarily as power of two greater than > required minimum for Xeon Phi processor. > > Currently driver is not able to handle cores with core ID greater than 32. > Such attempt ends up with the following error

Re: [PATCH v7 1/5] locking/qspinlock: relaxes cmpxchg & xchg ops in native code

2015-10-13 Thread Waiman Long
On 10/13/2015 02:02 PM, Peter Zijlstra wrote: On Tue, Sep 22, 2015 at 04:50:40PM -0400, Waiman Long wrote: This patch replaces the cmpxchg() and xchg() calls in the native qspinlock code with more relaxed versions of those calls to enable other architectures to adopt queued spinlocks with less

Re: [PATCH] i2c: at91: fix write transfers by clearing pending interrupt first

2015-10-13 Thread Peter Rosin
On 2015-10-13 18:47, Cyrille Pitchen wrote: > Le 13/10/2015 17:19, Peter Rosin a écrit : >> On 2015-10-13 16:21, Ludovic Desroches wrote: >>> From: Cyrille Pitchen >>> >>> In some cases a NACK interrupt may be pending in the Status Register (SR) >>> as a result of a

Re: [PATCH 1/4] Documentation: dt: soc: move driver description to a separate document

2015-10-13 Thread Rob Herring
On Tue, Oct 13, 2015 at 12:28 PM, Murali Karicheri wrote: > On 10/13/2015 10:42 AM, Rob Herring wrote: >> >> On Mon, Oct 12, 2015 at 2:46 PM, Murali Karicheri >> wrote: >>> >>> Currently the DT bindings have details about the driver as well. This >>>

[PATCH 3/3] ARM: keystone: dts: add PCI serdes driver bindings

2015-10-13 Thread WingMan Kwok
Signed-off-by: WingMan Kwok --- arch/arm/boot/dts/k2e.dtsi | 24 arch/arm/boot/dts/keystone.dtsi | 25 + 2 files changed, 49 insertions(+) diff --git a/arch/arm/boot/dts/k2e.dtsi b/arch/arm/boot/dts/k2e.dtsi index

Re: [PATCH v4] mtd: nand: pass page number to ecc->write_xxx() methods

2015-10-13 Thread Brian Norris
On Tue, Oct 13, 2015 at 11:22:18AM +0200, Boris Brezillon wrote: > The ->read_xxx() methods are all passed the page number the NAND controller > is supposed to read, but ->write_xxx() do not have such a parameter. > > This is a problem if we want to properly implement data >

Re: [PATCH char-misc-next 1/1] MAINTAINERS: Add maintainership for MIC drivers

2015-10-13 Thread Joe Perches
On Tue, 2015-10-13 at 10:58 -0700, Sudeep Dutt wrote: > Add entry for MIC drivers to the MAINTAINERS file [] > diff --git a/MAINTAINERS b/MAINTAINERS [] > +INTEL MIC DRIVERS (mic) [] > +F: drivers/misc/mic/* This covers only 2 files: drivers/misc/mic/Kconfig drivers/misc/mic/Makefile

Re: [PATCH v3 1/7] drm/vc4: Add devicetree bindings for VC4.

2015-10-13 Thread Eric Anholt
Sebastian Reichel writes: > Hi, > > On Fri, Oct 09, 2015 at 02:27:42PM -0700, Eric Anholt wrote: >> VC4 is the GPU (display and 3D) subsystem present on the 2835 and some >> other Broadcom SoCs. >> >> This binding follows the model of msm, imx, sti, and others, where >> there

Re: [PATCH 1/2] PM / sleep: ensure deferred probe workqueue is finished in wait_for_device_probe

2015-10-13 Thread Grygorii Strashko
On 10/10/2015 12:16 AM, Rafael J. Wysocki wrote: On Friday, October 09, 2015 09:38:13 AM Grygorii Strashko wrote: On 10/08/2015 03:53 PM, Alan Stern wrote: On Thu, 8 Oct 2015, Rafael J. Wysocki wrote: @@ -391,6 +391,10 @@ int driver_probe_done(void) */ void wait_for_device_probe(void)

Re: [PATCH 2/2] gpio: omap: convert to use generic irq handler

2015-10-13 Thread Grygorii Strashko
Hi Thomas, On 10/12/2015 10:52 AM, Thomas Gleixner wrote: > Grygorii, > > can you please provide a patch set against 4.1-RT? That stuff rejects > left and right. > This is really not easy thing to do :( and I don't know how to do it the best way. This patches are based on top of big set of

Re: [PATCH 1/3] phy: keystone: serdes driver for gbe 10gbe and pcie

2015-10-13 Thread Mark Rutland
On Tue, Oct 13, 2015 at 02:04:22PM -0400, WingMan Kwok wrote: > On TI's Keystone platforms, several peripherals such as the > gbe ethernet switch, 10gbe ethernet switch and PCIe controller > require the use of a SerDes for converting SoC parallel data into > serialized data that can be output over

Re: [PATCH 2/2] gpio: omap: convert to use generic irq handler

2015-10-13 Thread Thomas Gleixner
Grygorii, On Tue, 13 Oct 2015, Grygorii Strashko wrote: > I'd very appreciate for any advice of how to better proceed with your request. > - I can try to apply and re-send only patches marked by '*' > - I can prepare branch with all above patches Please provide a branch on top of 4.1.10 which

Re: [PATCH] drm/vmwgfx: switch from ioremap_cache to memremap

2015-10-13 Thread Thomas Hellstrom
On 10/13/2015 06:35 PM, Dan Williams wrote: > On Mon, Oct 12, 2015 at 10:18 PM, Thomas Hellstrom > wrote: >> Hi! >> >> On 10/13/2015 12:35 AM, Dan Williams wrote: >>> Per commit 2e586a7e017a "drm/vmwgfx: Map the fifo as cached" the driver >>> expects the fifo registers to

Re: [PATCH v2 2/3] vTPM: reformat event log to be byte-aligned

2015-10-13 Thread Ashley Lai
On 10/07/2015 07:11 PM, Hon Ching(Vicky) Lo wrote: The event log generated by OpenFirmware in PowerPC is 4-byte aligned. This patch reformats the log to be byte-aligned for the Linux client. Signed-off-by: Hon Ching(Vicky) Lo --- arch/powerpc/kernel/prom_init.c |

Re: [PATCH net-next v2 3/6] net: dsa: mv88e6xxx: write MAC outside of ATU Get Next code

2015-10-13 Thread Vivien Didelot
On Oct. Tuesday 13 (42) 12:46 PM, Vivien Didelot wrote: > There is no need to write the MAC address before every Get Next > operation, since ATU MAC registers are not cleared between calls. > > Move the _mv88e6xxx_atu_mac_write call outside of _mv88e6xxx_atu_getnext > so future code could call

Re: [PATCH] drm/vmwgfx: switch from ioremap_cache to memremap

2015-10-13 Thread Thomas Hellstrom
On 10/13/2015 08:48 PM, Dan Williams wrote: > On Tue, Oct 13, 2015 at 11:37 AM, Thomas Hellstrom > wrote: >> On 10/13/2015 06:35 PM, Dan Williams wrote: >>> On Mon, Oct 12, 2015 at 10:18 PM, Thomas Hellstrom >>> wrote: Hi! On

[PATCH] ARM: socfpga_defconfig: enable fpga manager

2015-10-13 Thread atull
From: Alan Tull Enable fpga manager framework and low level driver for socfpga in socfpga_defconfig Signed-off-by: Alan Tull --- arch/arm/configs/socfpga_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git

[Regression full nohz] [PATCH] x86: Don't call context tracking APIs on IRQs

2015-10-13 Thread Frederic Weisbecker
I did rant about this before the merge window but this got basically ignored, as all my concerns about x86 context tracking calls that are now based on regs and not context tracking internal states, making it more fragile. Don't get me wrong, I love this x86 entry code rework but please don't

Re: [Regression full nohz] [PATCH] x86: Don't call context tracking APIs on IRQs

2015-10-13 Thread Andy Lutomirski
On Tue, Oct 13, 2015 at 9:01 AM, Frederic Weisbecker wrote: > I did rant about this before the merge window but this got basically ignored, > as all my concerns about x86 context tracking calls that are now based on > regs and not context tracking internal states, making it

Re: [PATCH v2 00/17] Divorcing irqdomain and device_node

2015-10-13 Thread Lorenzo Pieralisi
On Tue, Oct 13, 2015 at 12:51:28PM +0100, Marc Zyngier wrote: > [This patch series used to be called "Making the generic ACPI GSI > layer irqdomain aware", but as I've radically changed my approach to > this problem, I've decided to reset the counters...] > > The irqdomain code is not entierely

[PATCH 0/3] xen/xenbus: Support multiple grants ring with 64KB page

2015-10-13 Thread Julien Grall
Hi all, The support of multiple grants ring was left aside for 64KB page. This series aims to fix it. It's based on xentip/for-linus-4.4. Sincelerely yours, Cc: Boris Ostrovsky Cc: David Vrabel Cc: Konrad Rzeszutek Wilk

[PATCH 3/3] xenbus: Support multiple grants ring with 64KB

2015-10-13 Thread Julien Grall
The PV ring may use multiple grants and expect them to be mapped contiguously in the virtual memory. Although, the current code is relying on a Linux page will be mapped to a single grant. On build where Linux is using a different page size than the grant (i.e other than 4KB), the grant will

Re: [PATCH] f2fs crypto: fix racing of accessing encrypted page among different competitors

2015-10-13 Thread Jaegeuk Kim
On Tue, Oct 13, 2015 at 02:01:10PM +0800, Chao Yu wrote: > > -Original Message- > > From: Jaegeuk Kim [mailto:jaeg...@kernel.org] > > Sent: Tuesday, October 13, 2015 5:00 AM > > To: Chao Yu > > Cc: linux-f2fs-de...@lists.sourceforge.net; linux-kernel@vger.kernel.org > > Subject: Re:

[PATCH v2 7/7] Smack: Handle labels consistently in untrusted mounts

2015-10-13 Thread Seth Forshee
The SMACK64, SMACK64EXEC, and SMACK64MMAP labels are all handled differently in untrusted mounts. This is confusing and potentically problematic. Change this to handle them all the same way that SMACK64 is currently handled; that is, read the label from disk and check it at use time. For SMACK64

Re: [PATCH] MAINTAINERS: fix entry of char/misc

2015-10-13 Thread Sudip Mukherjee
On Tue, Oct 13, 2015 at 07:48:05AM -0700, Joe Perches wrote: > On Tue, 2015-10-13 at 15:34 +0530, Sudip Mukherjee wrote: > > Greg and Arnd are supporter of char and misc drivers. While using > > getmaintainer.pl on any patch or any file in these directories their > > names were never displayed. >

[PATCH v3 15/24] arm64: Make use of system wide capability checks

2015-10-13 Thread Suzuki K. Poulose
Now that we can reliably read the system wide safe value for a feature register, use that to compute the system capability. This patch also replaces the 'feature-register-specific' methods with a generic routine to check the capability. Signed-off-by: Suzuki K. Poulose

[PATCH v3 16/24] arm64: Cleanup HWCAP handling

2015-10-13 Thread Suzuki K. Poulose
Extend struct arm64_cpu_capabilities to handle the HWCAP detection and make use of the system wide value for the feature register. Signed-off-by: Suzuki K. Poulose --- arch/arm64/include/asm/cpufeature.h |2 + arch/arm64/include/asm/hwcap.h |8 ++

Re: [PATCH] misc: mic: fix memory leak

2015-10-13 Thread Sudeep Dutt
On Tue, 2015-10-13 at 22:46 +0530, Sudip Mukherjee wrote: > On Tue, Oct 13, 2015 at 09:34:21AM -0700, Sudeep Dutt wrote: > > On Tue, 2015-10-13 at 14:38 +0530, Sudip Mukherjee wrote: > > > > + struct scif_hw_dev *sdev = scifdev->sdev; > > > + > > > + dma_unmap_sg(>dev, p2p->ppi_sg[SCIF_PPI_MMIO],

randconfig build error with next-20151013, in drivers/staging/unisys/visorinput

2015-10-13 Thread Jim Davis
Building with the attached random configuration file, ERROR: "input_free_device" [drivers/staging/unisys/visorinput/visorinput.ko] undefined! ERROR: "input_set_capability" [drivers/staging/unisys/visorinput/visorinput.ko] undefined! ERROR: "input_set_abs_params"

<    3   4   5   6   7   8   9   10   11   12   >