Fixes for rockchip EMAC

2016-02-09 Thread Alexander Kochetkov
Hello! Here is a set of 3 patches what fix koops, memory leak and rockchip EMAC hang. Tested on radxarock lite. [PATCH 1/3] net: arc_emac: fix koops caused by sk_buff free [PATCH 2/3] net: arc_emac: reset txbd_curr and txbd_dirty pointers [PATCH 3/3] net: arc_emac: fix sk_buff leak

Re: [PATCH 2/3] KVM: x86: consolidate "has lapic" checks into irq.c

2016-02-09 Thread Radim Krčmář
2016-02-09 16:07+0100, Paolo Bonzini: > On 09/02/2016 15:05, Radim Krčmář wrote: >> 2016-02-08 17:15+0100, Paolo Bonzini: >>> int kvm_cpu_has_pending_timer(struct kvm_vcpu *vcpu) >>> + return true; >> >> Apart from int/bool mismatch, it returned 0 before and that was correct. >> > > So that m

[PATCH 2/3] net: arc_emac: reset txbd_curr and txbd_dirty pointers to zero

2016-02-09 Thread Alexander Kochetkov
EMAC reset internal tx ring pointer to zero at statup. txbd_curr and txbd_dirty can be different from zero. That cause ethernet transfer hang (no packets transmitted). In order to reproduce, run on device: ifconfig eth0 down ifconfig eth0 up Signed-off-by: Alexander Kochetkov --- CC: st

Re: [PATCH 0/3] Add hardware dependency to TS-4800 board drivers

2016-02-09 Thread Jean Delvare
Hi Damien, Le Tuesday 09 February 2016 à 10:08 -0500, Damien Riegel a écrit : > On Tue, Feb 09, 2016 at 11:15:49AM +0100, Jean Delvare wrote: > > This adds hardware dependency to 3 drivers for the Technologic Systems > > TS-4800 board. Thanks to these dependencies, users of other systems > > will

Re: [PATCH v3 00/12] Add support for the Armada 3700 SoC an mvebu ARM64 based

2016-02-09 Thread Arnd Bergmann
On Monday 08 February 2016 18:14:08 Gregory CLEMENT wrote: > This series introduce the support of the Armada 3700 family: it is the > first ARM64 SoC of the mvebu family submitted to the mainline! > > Currently there are two members of the Armada 3700 family, the only > difference is the number of

[PATCH 2/2] irqchip/gic: Only set the EOImodeNS bit for the root controller

2016-02-09 Thread Jon Hunter
EOImode1 is only used for the root controller and hence only the root controller uses the eoimode1 functions for handling interrupts. However, if the root controller supports EOImode1, then the EOImodeNS bit will be set for all GICs, enabling EOImode1. This is not what we want and this causes inter

Re: [PATCH] printk: avoid livelock if another CPU printks continuously

2016-02-09 Thread Denys Vlasenko
On 02/09/2016 04:17 PM, Steven Rostedt wrote: > On Tue, 09 Feb 2016 15:59:48 +0100 > Denys Vlasenko wrote: > >>> First, console_seq needs logbuf_lock protection. On some archs, this may >>> hit every time as the console_seq is most likely in cache and isn't >>> updating. >> >> We end up he

Re: [PATCH] drm: Remove duplicate `const` qualifier

2016-02-09 Thread Ville Syrjälä
On Tue, Feb 09, 2016 at 03:18:05PM +, Eric Engestrom wrote: > Commit 1eb8345 added a bunch of legitimate `const`, but added two on that > line. Already fixed 70c0616d5a84 ("drm/fb_cma_helper: remove duplicate const from drm_fb_cma_alloc") > > Signed-off-by: Eric Engestrom > --- > drivers/

[PATCH 1/2] irqchip/gic: Only populate set_affinity for the root controller

2016-02-09 Thread Jon Hunter
Setting the affinity of an IRQ, it only applicable for the root interrupt controller and so only populate this operator for the root controller. Signed-off-by: Jon Hunter --- drivers/irqchip/irq-gic.c | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/drivers/irqchip

Re: [PATCH] tty/serial: digicolor: Fix bad usage of IS_ERR_VALUE

2016-02-09 Thread Arnd Bergmann
On Tuesday 09 February 2016 07:08:59 Guenter Roeck wrote: > IS_ERR_VALUE() assumes that its parameter is an unsigned long. > It can not be used to check if an unsigned int reflects an error. > Doing so can result in the following build warning. > > drivers/tty/serial/digicolor-usart.c: In function

Re: [PATCH] link up validation moved to pcie-designware

2016-02-09 Thread Arnd Bergmann
On Monday 08 February 2016 16:48:07 Joao Pinto wrote: > On 2/8/2016 4:46 PM, Arnd Bergmann wrote: > > On Monday 08 February 2016 16:43:33 Joao Pinto wrote: > >> Hi, > >> Ok, so what should be the retries and waiting time in your opinion? > >> The most typical is: > >> > >> retries: 10 > >> delay: 1

Re: [PATCH] drm: Remove duplicate `const` qualifier

2016-02-09 Thread Jani Nikula
On Tue, 09 Feb 2016, Eric Engestrom wrote: > Commit 1eb8345 added a bunch of legitimate `const`, but added two on > that line. Too late, fixed in commit 70c0616d5a8458ae9148d74309cede07ba2f5164 Author: Colin Ian King Date: Wed Jan 20 10:59:34 2016 + drm/fb_cma_helper: remove duplicat

Re: Crashes with 874bbfe600a6 in 3.18.25

2016-02-09 Thread Mike Galbraith
On Fri, 2016-02-05 at 16:06 -0500, Tejun Heo wrote: > On Fri, Feb 05, 2016 at 09:59:49PM +0100, Mike Galbraith wrote: > > On Fri, 2016-02-05 at 15:54 -0500, Tejun Heo wrote: > > > > > What are you suggesting? > > > > That 874bbfe6 should die. > > Yeah, it's gonna be killed. The commit is there

Re: [PATCH] mfd: Provide MACRO to declare commonly defined MFD cell attributes

2016-02-09 Thread Laxman Dewangan
On Tuesday 09 February 2016 07:57 PM, Lee Jones wrote: + +#define MFD_CELL_NAME(_name) \ + { \ + MFD_CELL_ALL(_name, NULL, NULL, 0, NULL, NULL) \ + } + str

Re: [RFC PATCH v2 2/3] PCI: hisi: Make the HiSilicon PCIe host controller ECAM compliant

2016-02-09 Thread Arnd Bergmann
On Monday 08 February 2016 17:21:27 Gabriele Paoloni wrote: > Hi Arnd > > > -Original Message- > > From: Arnd Bergmann [mailto:a...@arndb.de] > > Sent: 08 February 2016 16:30 > > To: Gabriele Paoloni > > Cc: linux-arm-ker...@lists.infradead.org; Guohanjun (Hanjun Guo); > > Wangzhou (B); li

Re: [PATCH 1/2] Documentation: dt: mailbox: Add TI Message Manager

2016-02-09 Thread Jassi Brar
On Tue, Feb 9, 2016 at 8:24 PM, Jassi Brar wrote: > On Tue, Feb 9, 2016 at 6:01 PM, Nishanth Menon wrote: >> On 02/08/2016 10:14 PM, Jassi Brar wrote: >> + >>> I think we should get rid of consumer specifics from the provider node... >> >> >> If I get rid of the consumer nodes, how do you p

Re: [PATCH V7 8/8] regulator: max77620: add regulator driver for max77620/max20024

2016-02-09 Thread Mark Brown
On Tue, Feb 09, 2016 at 08:32:24PM +0530, Laxman Dewangan wrote: > I have taken care of all your previous comment on this patch. > Can you please review? I don't have this patch. Possibly I deleted it since it was obvious that the series was going to get yet another resend anyway, I really don'

Re: complete boot failure in 4.5-rc1 caused by nvme: make SG_IO support optional

2016-02-09 Thread James Bottomley
On Tue, 2016-02-09 at 13:50 +0100, Christoph Hellwig wrote: > Jens, > > do you want a 'default y' patch or just a better description? I'd be > happy to send either one. Since it only appears to be SUSE and they've now been told, better description is fine. James

[PATCH v2] ARM: sunxi_defconfig: Enable MUSB HDRC driver with Allwinner glue

2016-02-09 Thread Chen-Yu Tsai
Allwinner SoCs typically have a Mentor Graphics Inventra MUSB dual role controller for USB OTG. Now that the issue with MUSB and USB gadget registration order has been resolved, we can enable this driver in dual role mode. This requires the NOP USB transceiver driver, which is also enabled. Signe

Re: [PATCH v4 1/4] modules: split part of complete_formation() into prepare_coming_module()

2016-02-09 Thread Josh Poimboeuf
On Mon, Feb 08, 2016 at 11:50:21PM -0500, Jessica Yu wrote: > Put all actions that are performed after module->state is set to > MODULE_STATE_COMING in complete_formation() into a separate function > prepare_coming_module(). This prepares for the removal of ftrace and > livepatch module coming noti

Re: Transferring applied X.509 patches from crypto/next to security/next

2016-02-09 Thread David Howells
Herbert Xu wrote: > > > If you can back them out, I'll apply them to my keys-next branch. Unless > > > James is willing to rebase security/next on top of your crypto branch? > > > > > > > I don't want to rebase my tree. > > OK, I've just reverted the patches and pushed it out. Thanks. Can I

Re: [PATCH V7 1/8] mfd: add device-tree binding doc for PMIC max77620/max20024

2016-02-09 Thread Lee Jones
On Sat, 30 Jan 2016, Laxman Dewangan wrote: > The MAXIM PMIC MAX77620 and MAX20024 are power management IC > which supports RTC, GPIO, DCDC/LDO regulators, interrupt, > watchdog etc. > > Add DT binding document for the different functionality of > this device. > > Signed-off-by: Laxman Dewangan

Re: [PATCH 1/2] Documentation: dt: mailbox: Add TI Message Manager

2016-02-09 Thread Nishanth Menon
On Tue, Feb 9, 2016 at 8:54 AM, Jassi Brar wrote: > On Tue, Feb 9, 2016 at 6:01 PM, Nishanth Menon wrote: >> On 02/08/2016 10:14 PM, Jassi Brar wrote: >> >> Thanks for the review. >> >>> On Fri, Feb 5, 2016 at 10:04 PM, Nishanth Menon wrote: + + msgmgr: msgmgr@02a0 { +

Re: [PATCH v2] x86/lib/copy_user_64.S: Handle 4-byte nocache copy

2016-02-09 Thread Toshi Kani
On Tue, 2016-02-09 at 13:08 +0100, Ingo Molnar wrote: > * Borislav Petkov wrote: > > > On Tue, Feb 09, 2016 at 12:27:32PM +0100, Ingo Molnar wrote: > > > Btw., IIRC GAS is being silly about .L, i.e. there's a difference > > > between these  > > > two variants: > > > > > >  .Lerror_entry_from_use

Re: [PATCH v4 2/4] modules: set mod->state to MODULE_STATE_GOING before going notifiers are called

2016-02-09 Thread Josh Poimboeuf
On Mon, Feb 08, 2016 at 11:50:22PM -0500, Jessica Yu wrote: > In load_module(), the going notifiers are called during error handling when > an error occurs after the coming notifiers have already been called. > However, a module's state is still MODULE_STATE_COMING when the going > notifiers are ca

Re: [PATCH v4 4/4] livepatch/module: remove livepatch module notifier

2016-02-09 Thread Josh Poimboeuf
On Mon, Feb 08, 2016 at 11:50:24PM -0500, Jessica Yu wrote: > Remove the livepatch module notifier in favor of directly enabling and > disabling patches to modules in the module loader. Hard-coding the > function calls ensures that ftrace_module_enable() is run before > klp_module_coming() during m

RE: [PATCH net-next] hv_netvsc: Increase delay for RNDIS_STATUS_NETWORK_CHANGE

2016-02-09 Thread Haiyang Zhang
> -Original Message- > From: David Miller [mailto:da...@davemloft.net] > Sent: Tuesday, February 9, 2016 5:05 AM > To: Haiyang Zhang > Cc: net...@vger.kernel.org; KY Srinivasan ; > o...@aepfle.de; vkuzn...@redhat.com; linux-kernel@vger.kernel.org; > driverdev-de...@linuxdriverproject.org

Re: [PATCH v4 3/4] ftrace/module: remove ftrace module notifier

2016-02-09 Thread Josh Poimboeuf
On Mon, Feb 08, 2016 at 11:50:23PM -0500, Jessica Yu wrote: > Remove the ftrace module notifier in favor of directly calling > ftrace_module_enable() and ftrace_release_mod() in the module loader. > Hard-coding the function calls directly in the module loader removes > dependence on the module noti

Re: [PATCH 0/2] Two phy-twl4030-usb fixes for unloading the module

2016-02-09 Thread Tony Lindgren
* Kishon Vijay Abraham I [160208 21:13]: > Hi Tony, > > On Tuesday 09 February 2016 01:21 AM, Tony Lindgren wrote: > > Hi Kishon, > > > > * Tony Lindgren [151130 21:40]: > >> Hi, > >> > >> Here are two fixes for rmmod and PM. These can be merged separately after > >> the review from the MUSB re

Re: [PATCH] MIPS: Fix early CM probing

2016-02-09 Thread Alexander Sverdlin
Hi! On 08.02.2016 18:46, EXT Paul Burton wrote: > Commit c014d164f21d ("MIPS: Add platform callback before initializing > the L2 cache") added a platform_early_l2_init function in order to allow > platforms to probe for the CM before L2 initialisation is performed, so > that CM GCRs are available

Re: [PATCH v7 00/23] powerpc/8xx: Use large pages for RAM and IMMR and other improvments

2016-02-09 Thread Christophe Leroy
Le 09/02/2016 11:23, Christophe Leroy a écrit : The main purpose of this patchset is to dramatically reduce the time spent in DTLB miss handler. This is achieved by: 1/ Mapping RAM with 8M pages 2/ Mapping IMMR with a fixed 512K page Change in v7: * Don't include x_block_mapped() from compila

Re: [PATCH] printk: avoid livelock if another CPU printks continuously

2016-02-09 Thread Steven Rostedt
On Tue, 09 Feb 2016 16:24:29 +0100 Denys Vlasenko wrote: > > We released all locks, why can't it be true? What prevents another task > > on another CPU from coming into this section and updating everything? > > If we see that happening, it means another CPU started serving printk > backlog. I

Re: [PATCH V2 09/12] dtb: amd: Add KCS device tree node

2016-02-09 Thread Brijesh Singh
Hi, On 02/09/2016 08:59 AM, Arnd Bergmann wrote: > On Monday 08 February 2016 11:59:14 Suravee Suthikulpanit wrote: >> + >> + ipmi_kcs: kcs@e001 { >> + status = "disabled"; >> + compatible = "ipmi-kcs"; >> + device

Re: [PATCH v3 2/6] drivers/cpufreq: implement init_cpu_capacity_default()

2016-02-09 Thread Dietmar Eggemann
On 05/02/16 09:30, Juri Lelli wrote: > On 04/02/16 16:46, Vincent Guittot wrote: >> On 4 February 2016 at 16:44, Vincent Guittot >> wrote: >>> On 4 February 2016 at 15:13, Juri Lelli wrote: On 04/02/16 13:35, Vincent Guittot wrote: > On 4 February 2016 at 13:16, Juri Lelli wrote: >

Re: [REGRESSION] i915: No HDMI output with 4.4

2016-02-09 Thread Oleksandr Natalenko
4.5-rc3 is affected as well: === kernel: [drm] Initialized drm 1.1.0 20060810 kernel: [drm] Memory usable by graphics device = 2048M kernel: [drm] Replacing VGA console driver kernel: [drm] Supports vblank timestamp caching Rev 2 (21.10.2013). kernel: [drm] Driver supports precise vblank timestam

Re: [RFC PATCH v4 0/6] (mostly) Arch-independent livepatch

2016-02-09 Thread Petr Mladek
On Wed 2016-02-03 20:11:05, Jessica Yu wrote: > This patchset removes livepatch's need for architecture-specific relocation > code by leveraging existing code in the module loader to perform > arch-dependent work. Specifically, instead of duplicating code and > re-implementing what the apply_reloca

Re: Nokia N900: Proper C-states

2016-02-09 Thread Tony Lindgren
* Daniel Lezcano [160102 14:01]: > On 01/02/2016 03:26 PM, Pali Rohár wrote: > >Hello, > > > >due to this Daniel Lezcano commit (ARM: OMAP3: cpuidle - remove rx51 > >cpuidle parameters table) > > > >https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=231900afba52d6faddfb480c

Re: [PATCH 0/3] arm: dts: DRA7: Add IVA and DSPEVE thermal domain data

2016-02-09 Thread Tony Lindgren
* Keerthy [160208 19:38]: > > > On Tuesday 09 February 2016 01:27 AM, Tony Lindgren wrote: > >* Keerthy [160208 01:19]: > >>OMAP5 has 3 thermal zones cpu, core and multimedia. > >>On the other hand DRA7 has 5 thermal zones cpu, gpu, core, dspeve > >>and iva. Currently cpu, core and multimedia a

Re: [RFC PATCH v4 4/6] livepatch: reuse module loader code to write relocations

2016-02-09 Thread Miroslav Benes
On Tue, 9 Feb 2016, Petr Mladek wrote: > On Wed 2016-02-03 20:11:09, Jessica Yu wrote: > > Reuse module loader code to write relocations, thereby eliminating the need > > for architecture specific relocation code in livepatch. Specifically, reuse > > the apply_relocate_add() function in the module

Re: [mpt3sas driver V1 6/10] mpt3sas: Added smp_affinity_enable module parameter.

2016-02-09 Thread Tomas Henzl
On 8.2.2016 17:43, Suganath prabu Subramani wrote: > Module parameter to enable/disable configuring > affinity hint for msix vector. > SMP affinity feature can be enabled/disabled by setting > module parameter "smp_affinity_enable" to 1/0. > By default this feature is enabled. (smp_affinity_enable

Re: [PATCH 0/3] omap: hwmod: add default reset handling support

2016-02-09 Thread Tony Lindgren
* Kishon Vijay Abraham I [160208 21:14]: > Hi Tony, > > On Tuesday 09 February 2016 02:14 AM, Tony Lindgren wrote: > > Hi Kishon, > > > > * Kishon Vijay Abraham I [160208 03:13]: > >> Add a new hwmod flag to indicate custom reset handling and use it > >> for devices that require custom reset ha

Re: [PATCH 2/2] dax: move writeback calls into the filesystems

2016-02-09 Thread Jan Kara
On Tue 09-02-16 10:43:53, Jan Kara wrote: > On Mon 08-02-16 12:55:24, Dan Williams wrote: > > On Mon, Feb 8, 2016 at 12:18 PM, Dave Chinner wrote: > > [..] > > >> Setting aside the current block zeroing problem you seem to assuming > > >> that DAX will always be faster and that may not be true at

Re: [PATCH V2 09/12] dtb: amd: Add KCS device tree node

2016-02-09 Thread Arnd Bergmann
On Tuesday 09 February 2016 09:47:55 Brijesh Singh wrote: > > > > I see we don't have a binding file for this, can you add one please? > > > There is binding file ipmi.txt [1]. Am I missing something ? > > [1] > http://lxr.free-electrons.com/source/Documentation/devicetree/bindings/ipmi.txt So

Re: linux-next: Tree for Feb 9

2016-02-09 Thread Mark Rutland
On Tue, Feb 09, 2016 at 04:08:03PM +0100, Arnd Bergmann wrote: > On Tuesday 09 February 2016 14:35:54 Mark Rutland wrote: > > diff --git a/include/asm-generic/fixmap.h b/include/asm-generic/fixmap.h > > index f9c27b6..e5255ff 100644 > > --- a/include/asm-generic/fixmap.h > > +++ b/include/asm-gener

RE: [RFC PATCH v2 2/3] PCI: hisi: Make the HiSilicon PCIe host controller ECAM compliant

2016-02-09 Thread Gabriele Paoloni
> -Original Message- > From: Arnd Bergmann [mailto:a...@arndb.de] > Sent: 09 February 2016 15:32 > To: linux-arm-ker...@lists.infradead.org > Cc: Gabriele Paoloni; lorenzo.pieral...@arm.com; j...@redhat.com; > t...@semihalf.com; linux-...@vger.kernel.org; Linuxarm; xuwei (O); linux- > ker..

Re: Freezing system after kernel 3.2

2016-02-09 Thread Karsten Malcher
I have to found out that freezing can occur under kernel 3.2 too, but far less common. So the interesting question is why in newer kernels this will occur very often? I could found a solution for the problem in the linked Blog. When you disable Cool' n' Quiet the system is running stable with new

Re: [PATCH] arm64: replace read_lock to rcu lock in call_step_hook

2016-02-09 Thread Will Deacon
On Tue, Feb 09, 2016 at 10:07:58AM -0500, Steven Rostedt wrote: > On Tue, 9 Feb 2016 14:54:26 + > Will Deacon wrote: > > > > Acked-by: Will Deacon > > Will, Hi Steve, > The patch looks good to me. Do you want to take it through your tree? > > It benefits mainline too as a rcu_read_lock(

[PATCH v8 03/23] powerpc: Update documentation for noltlbs kernel parameter

2016-02-09 Thread Christophe Leroy
Now the noltlbs kernel parameter is also applicable to PPC8xx Signed-off-by: Christophe Leroy --- v2: no change v3: no change v4: no change v5: no change v6: no change v8: no change Documentation/kernel-parameters.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documenta

[PATCH v8 05/23] powerpc32: Fix pte_offset_kernel() to return NULL for bad pages

2016-02-09 Thread Christophe Leroy
The fixmap related functions try to map kernel pages that are already mapped through Large TLBs. pte_offset_kernel() has to return NULL for LTLBs, otherwise the caller will try to access level 2 table which doesn't exist Signed-off-by: Christophe Leroy --- v3: new v4: no change v5: no change v6:

Re: [PATCH] printk: avoid livelock if another CPU printks continuously

2016-02-09 Thread Denys Vlasenko
On 02/09/2016 04:50 PM, Steven Rostedt wrote: > One thing is to find the spamming code and fix that. We can't rely that there won't be never-ending concurrent printks, right? For one, in many setups user can cause printk flood. I think we must ensure that printk does not livelock.

Re: [PATCH] of/irq: Fix msi-map calculation for nonzero rid-base

2016-02-09 Thread Mark Rutland
On Tue, Feb 09, 2016 at 03:56:55PM +, Stuart Yoder wrote: > > > -Original Message- > > From: Marc Zyngier [mailto:marc.zyng...@arm.com] > > Sent: Tuesday, February 09, 2016 6:06 AM > > To: Robin Murphy ; robh...@kernel.org; > > frowand.l...@gmail.com; > > grant.lik...@linaro.org; devi

[PATCH v8 13/23] powerpc/8xx: Add missing SPRN defines into reg_8xx.h

2016-02-09 Thread Christophe Leroy
Add missing SPRN defines into reg_8xx.h Some of them are defined in mmu-8xx.h, so we include mmu-8xx.h in reg_8xx.h, for that we remove references to PAGE_SHIFT in mmu-8xx.h to have it self sufficient, as includers of reg_8xx.h don't all include asm/page.h Signed-off-by: Christophe Leroy --- v2:

[PATCH v8 22/23] powerpc32: small optimisation in flush_icache_range()

2016-02-09 Thread Christophe Leroy
Inlining of _dcache_range() functions has shown that the compiler does the same thing a bit better with one insn less Signed-off-by: Christophe Leroy --- v2: new v3: no change v4: no change v5: no change v6: no change v8: no change arch/powerpc/kernel/misc_32.S | 5 ++--- 1 file changed, 2 inse

[tip:x86/mm] x86/mm: Add a 'noinvpcid' boot option to turn off INVPCID

2016-02-09 Thread tip-bot for Andy Lutomirski
Commit-ID: d12a72b844a49d4162f24cefdab30bed3f86730e Gitweb: http://git.kernel.org/tip/d12a72b844a49d4162f24cefdab30bed3f86730e Author: Andy Lutomirski AuthorDate: Fri, 29 Jan 2016 11:42:58 -0800 Committer: Ingo Molnar CommitDate: Tue, 9 Feb 2016 13:36:10 +0100 x86/mm: Add a 'noinvpcid'

Re: linux-next: Tree for Feb 9

2016-02-09 Thread Arnd Bergmann
On Tuesday 09 February 2016 16:01:18 Mark Rutland wrote: > That builds fine for me atop of for-next/pgtable, both 64-bit and > 32-bit. > > GCC seems to treat enum fixed_addresses the same as unsigned. Only if I > change the type of idx in fixmap.h (e.g. to char) do I get a conflict > against parav

[tip:x86/mm] x86/mm: Add INVPCID helpers

2016-02-09 Thread tip-bot for Andy Lutomirski
Commit-ID: 060a402a1ddb551455ee410de2eadd3349f2801b Gitweb: http://git.kernel.org/tip/060a402a1ddb551455ee410de2eadd3349f2801b Author: Andy Lutomirski AuthorDate: Fri, 29 Jan 2016 11:42:57 -0800 Committer: Ingo Molnar CommitDate: Tue, 9 Feb 2016 13:36:10 +0100 x86/mm: Add INVPCID helpe

RE: [PATCH] net: ti: netcp: restore get/set_pad_info() functionality

2016-02-09 Thread Karicheri, Muralidharan
>-Original Message- >From: David Laight [mailto:david.lai...@aculab.com] >Sent: Tuesday, February 09, 2016 9:13 AM >To: Strashko, Grygorii; net...@vger.kernel.org; David S . Miller; Arnd Bergmann >Cc: Cooper Jr., Franklin; Nori, Sekhar; linux-kernel@vger.kernel.org; Kwok, >WingMan; >Karich

[tip:sched/core] sched/numa: Spread memory according to CPU and memory use

2016-02-09 Thread tip-bot for Rik van Riel
Commit-ID: 4142c3ebb685bb338b7d96090d8f90ff49065ff6 Gitweb: http://git.kernel.org/tip/4142c3ebb685bb338b7d96090d8f90ff49065ff6 Author: Rik van Riel AuthorDate: Mon, 25 Jan 2016 17:07:39 -0500 Committer: Ingo Molnar CommitDate: Tue, 9 Feb 2016 14:47:18 +0100 sched/numa: Spread memory ac

[tip:x86/mm] x86/dmi: Switch dmi_remap() from ioremap() [uncached ] to ioremap_cache()

2016-02-09 Thread tip-bot for Andy Lutomirski
Commit-ID: ce1143aa60273220a9f89012f2aaaed04f97e9a2 Gitweb: http://git.kernel.org/tip/ce1143aa60273220a9f89012f2aaaed04f97e9a2 Author: Andy Lutomirski AuthorDate: Mon, 25 Jan 2016 23:06:49 -0800 Committer: Ingo Molnar CommitDate: Tue, 9 Feb 2016 14:36:43 +0100 x86/dmi: Switch dmi_remap

[tip:locking/core] locking/atomics: Update comment about READ_ONCE() and structures

2016-02-09 Thread tip-bot for Konrad Rzeszutek Wilk
Commit-ID: fed0764fafd8e2e629a033c0f7df4106b0dcb7f0 Gitweb: http://git.kernel.org/tip/fed0764fafd8e2e629a033c0f7df4106b0dcb7f0 Author: Konrad Rzeszutek Wilk AuthorDate: Mon, 25 Jan 2016 16:33:20 -0500 Committer: Ingo Molnar CommitDate: Tue, 9 Feb 2016 14:50:16 +0100 locking/atomics: Up

[tip:x86/boot] x86/boot: Use proper array element type in memset( ) size calculation

2016-02-09 Thread tip-bot for Alexander Kuleshov
Commit-ID: a91bbe017552b80e12d712c85549b933a62c6ed4 Gitweb: http://git.kernel.org/tip/a91bbe017552b80e12d712c85549b933a62c6ed4 Author: Alexander Kuleshov AuthorDate: Tue, 9 Feb 2016 19:44:54 +0600 Committer: Ingo Molnar CommitDate: Tue, 9 Feb 2016 14:55:48 +0100 x86/boot: Use proper ar

[tip:x86/asm] x86/mm: Honour passed pgprot in track_pfn_insert() and track_pfn_remap()

2016-02-09 Thread tip-bot for Matthew Wilcox
Commit-ID: dd7b6847670a84b7bb7c38f8e69b2f12059bca66 Gitweb: http://git.kernel.org/tip/dd7b6847670a84b7bb7c38f8e69b2f12059bca66 Author: Matthew Wilcox AuthorDate: Mon, 25 Jan 2016 12:25:15 -0500 Committer: Ingo Molnar CommitDate: Tue, 9 Feb 2016 15:25:36 +0100 x86/mm: Honour passed pgpr

Re: [PATCH V3 3/5] PCI: xilinx: Modifying AXI PCIe Host Bridge driver to work on both Zynq and Microblaze

2016-02-09 Thread Paul Burton
On Tue, Feb 09, 2016 at 04:11:56PM +0530, Bharat Kumar Gogada wrote: > Modifying Xilinx AXI PCIe Host Bridge Soft IP driver to work on both > Zynq and Microblaze Architectures. > With these modifications drivers/pci/host/pcie-xilinx.c, will > work on both Zynq and Microblaze Architectures. > > Sig

[PATCH V2] mm: Some arch may want to use HPAGE_PMD related values as variables

2016-02-09 Thread Aneesh Kumar K.V
With next generation power processor, we are having a new mmu model [1] that require us to maintain a different linux page table format. Inorder to support both current and future ppc64 systems with a single kernel we need to make sure kernel can select between different page table format at runti

[tip:x86/fpu] x86/fpu: Fix FNSAVE usage in eagerfpu mode

2016-02-09 Thread tip-bot for Andy Lutomirski
Commit-ID: 5ed73f40735c68d8a656b46d09b1885d3b8740ae Gitweb: http://git.kernel.org/tip/5ed73f40735c68d8a656b46d09b1885d3b8740ae Author: Andy Lutomirski AuthorDate: Sun, 24 Jan 2016 14:38:07 -0800 Committer: Ingo Molnar CommitDate: Tue, 9 Feb 2016 15:42:55 +0100 x86/fpu: Fix FNSAVE usage

[tip:x86/fpu] x86/fpu: Fix math emulation in eager fpu mode

2016-02-09 Thread tip-bot for Andy Lutomirski
Commit-ID: 4ecd16ec7059390b430af34bd8bc3ca2b5dcef9a Gitweb: http://git.kernel.org/tip/4ecd16ec7059390b430af34bd8bc3ca2b5dcef9a Author: Andy Lutomirski AuthorDate: Sun, 24 Jan 2016 14:38:06 -0800 Committer: Ingo Molnar CommitDate: Tue, 9 Feb 2016 15:42:55 +0100 x86/fpu: Fix math emulati

[tip:x86/fpu] x86/fpu: Fold fpu_copy() into fpu__copy()

2016-02-09 Thread tip-bot for Andy Lutomirski
Commit-ID: a20d7297045f7fdcd676c15243192eb0e95a4306 Gitweb: http://git.kernel.org/tip/a20d7297045f7fdcd676c15243192eb0e95a4306 Author: Andy Lutomirski AuthorDate: Sun, 24 Jan 2016 14:38:08 -0800 Committer: Ingo Molnar CommitDate: Tue, 9 Feb 2016 15:42:55 +0100 x86/fpu: Fold fpu_copy()

[tip:x86/fpu] x86/fpu: Default eagerfpu=on on all CPUs

2016-02-09 Thread tip-bot for Andy Lutomirski
Commit-ID: 58122bf1d856a4ea9581d62a07c557d997d46a19 Gitweb: http://git.kernel.org/tip/58122bf1d856a4ea9581d62a07c557d997d46a19 Author: Andy Lutomirski AuthorDate: Sun, 24 Jan 2016 14:38:10 -0800 Committer: Ingo Molnar CommitDate: Tue, 9 Feb 2016 15:42:56 +0100 x86/fpu: Default eagerfpu

[tip:x86/fpu] x86/fpu: Speed up lazy FPU restores slightly

2016-02-09 Thread tip-bot for Andy Lutomirski
Commit-ID: c6ab109f7e0eae3bae3bb10f8ddb0df67735c150 Gitweb: http://git.kernel.org/tip/c6ab109f7e0eae3bae3bb10f8ddb0df67735c150 Author: Andy Lutomirski AuthorDate: Sun, 24 Jan 2016 14:38:09 -0800 Committer: Ingo Molnar CommitDate: Tue, 9 Feb 2016 15:42:56 +0100 x86/fpu: Speed up lazy FP

RE: [PATCH] net: ti: netcp: restore get/set_pad_info() functionality

2016-02-09 Thread David Laight
From: Karicheri, Muralidharan > Sent: 09 February 2016 16:10 ... > >In reality the 'pad' fields ought to be renamed - since they aren't pads. > >Perhaps they should be a union? > No. At the end of the descriptor, host software can add scratchpad which is > not modified by the hardware, but is used

[tip:x86/mm] x86/mm: If INVPCID is available, use it to flush global mappings

2016-02-09 Thread tip-bot for Andy Lutomirski
Commit-ID: d8bced79af1db6734f66b42064cc773cada2ce99 Gitweb: http://git.kernel.org/tip/d8bced79af1db6734f66b42064cc773cada2ce99 Author: Andy Lutomirski AuthorDate: Fri, 29 Jan 2016 11:42:59 -0800 Committer: Ingo Molnar CommitDate: Tue, 9 Feb 2016 13:36:11 +0100 x86/mm: If INVPCID is ava

Re: [PATCH] asm-generic: Fix build when __set_fixmap is absent

2016-02-09 Thread kbuild test robot
Hi Mark, [auto build test ERROR on next-20160209] [also build test ERROR on v4.5-rc3] [cannot apply to v4.5-rc3 v4.5-rc2 v4.5-rc1] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url: https://github.com/0day-ci/linux/commits/Mark-Rutland

Re: [PATCH V2 09/12] dtb: amd: Add KCS device tree node

2016-02-09 Thread Brijesh Singh
Hi, On 02/09/2016 10:00 AM, Arnd Bergmann wrote: > > The important part for interrupt/reg/... names is that you must use exactly > the > names that are listed in the binding. If there is no name in there, it's > better > not to add the name property. > > The other point is that "ipmi_kcs" is a

[PATCH v8 23/23] powerpc32: Remove one insn in mulhdu

2016-02-09 Thread Christophe Leroy
Remove one instruction in mulhdu Signed-off-by: Christophe Leroy --- v2: new v3: no change v4: no change v5: no change v6: no change v8: no change arch/powerpc/kernel/misc_32.S | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/arch/powerpc/kernel/misc_32.S b/arch/p

[tip:x86/mm] x86/kasan: Write protect kasan zero shadow

2016-02-09 Thread tip-bot for Andrey Ryabinin
Commit-ID: 063fb3e56f6dd29b2633b678b837e1d904200e6f Gitweb: http://git.kernel.org/tip/063fb3e56f6dd29b2633b678b837e1d904200e6f Author: Andrey Ryabinin AuthorDate: Mon, 11 Jan 2016 15:51:19 +0300 Committer: Ingo Molnar CommitDate: Tue, 9 Feb 2016 13:33:14 +0100 x86/kasan: Write protect

Applied "regmap: irq: dispose all virtual irq before removing domain" to the regmap tree

2016-02-09 Thread Mark Brown
The patch regmap: irq: dispose all virtual irq before removing domain has been applied to the regmap tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hou

[PATCH v8 19/23] powerpc32: Remove clear_pages() and define clear_page() inline

2016-02-09 Thread Christophe Leroy
clear_pages() is never used expect by clear_page, and PPC32 is the only architecture (still) having this function. Neither PPC64 nor any other architecture has it. This patch removes clear_pages() and moves clear_page() function inline (same as PPC64) as it only is a few isns Signed-off-by: Chris

[PATCH v8 20/23] powerpc32: move xxxxx_dcache_range() functions inline

2016-02-09 Thread Christophe Leroy
flush/clean/invalidate _dcache_range() functions are all very similar and are quite short. They are mainly used in __dma_sync() perf_event locate them in the top 3 consumming functions during heavy ethernet activity They are good candidate for inlining, as __dma_sync() does almost nothing but call

[PATCH v8 21/23] powerpc: Simplify test in __dma_sync()

2016-02-09 Thread Christophe Leroy
This simplification helps the compiler. We now have only one test instead of two, so it reduces the number of branches. Signed-off-by: Christophe Leroy --- v2: new v3: no change v4: no change v5: no change v6: no change v8: no change arch/powerpc/mm/dma-noncoherent.c | 2 +- 1 file changed, 1 i

[PATCH v8 11/23] powerpc32: Remove useless/wrong MMU:setio progress message

2016-02-09 Thread Christophe Leroy
Commit 771168494719 ("[POWERPC] Remove unused machine call outs") removed the call to setup_io_mappings(), so remove the associated progress line message Signed-off-by: Christophe Leroy --- v2: no change v3: no change v4: no change v5: no change v6: no change v8: no change arch/powerpc/mm/init_

Re: [PATCH] of/irq: Fix msi-map calculation for nonzero rid-base

2016-02-09 Thread Robin Murphy
On 09/02/16 16:08, Mark Rutland wrote: [...] having msi-map-mask clash with a nonzero rid-base, as that's another thing one can easily get wrong. [...] + if (rid_base & ~map_mask) { + dev_err(parent_dev, + "Invalid msi-map tra

[PATCH v8 18/23] powerpc: add inline functions for cache related instructions

2016-02-09 Thread Christophe Leroy
This patch adds inline functions to use dcbz, dcbi, dcbf, dcbst from C functions Signed-off-by: Christophe Leroy --- v2: new v3: no change v4: no change v5: no change v6: no change v8: no change arch/powerpc/include/asm/cache.h | 19 +++ 1 file changed, 19 insertions(+) diff --

Re: [PATCH] ARM: RX51: Set system_rev from ATAGS

2016-02-09 Thread Tony Lindgren
* Pali Rohár [160208 13:11]: > > Tony, if you are going to take this patch, I would suggest to rename > function name rx51_system_rev to rx51_set_system_rev as it says what > function do (set system rev :-)). Ivaylo can change it when reposting as the patch description is missing. Regards, Tony

[PATCH v8 15/23] powerpc/8xx: remove special handling of CPU6 errata in set_dec()

2016-02-09 Thread Christophe Leroy
CPU6 ERRATA is now handled directly in mtspr(), so we can use the standard set_dec() fonction in all cases. Signed-off-by: Christophe Leroy --- v2: no change v3: no change v4: no change v5: no change v6: no change v8: no change arch/powerpc/include/asm/time.h | 6 +- arch/powerpc/kernel/he

Re: [PATCH] arm64: replace read_lock to rcu lock in call_step_hook

2016-02-09 Thread Steven Rostedt
On Tue, 9 Feb 2016 16:04:42 + Will Deacon wrote: > > The patch looks good to me. Do you want to take it through your tree? > > > > It benefits mainline too as a rcu_read_lock() is more efficient than > > rwlocks. Although I will say this is a slow path anyway. > > I was thinking that Cat

[PATCH v8 16/23] powerpc/8xx: rewrite set_context() in C

2016-02-09 Thread Christophe Leroy
There is no real need to have set_context() in assembly. Now that we have mtspr() handling CPU6 ERRATA directly, we can rewrite set_context() in C language for easier maintenance. Signed-off-by: Christophe Leroy --- v2: no change v3: no change v4: no change v5: no change v6: no change v8: no chan

[PATCH v8 17/23] powerpc/8xx: rewrite flush_instruction_cache() in C

2016-02-09 Thread Christophe Leroy
On PPC8xx, flushing instruction cache is performed by writing in register SPRN_IC_CST. This registers suffers CPU6 ERRATA. The patch rewrites the fonction in C so that CPU6 ERRATA will be handled transparently Signed-off-by: Christophe Leroy --- v2: no change v3: no change v4: no change v5: no ch

[PATCH v8 10/23] powerpc/8xx: map more RAM at startup when needed

2016-02-09 Thread Christophe Leroy
On recent kernels, with some debug options like for instance CONFIG_LOCKDEP, the BSS requires more than 8M memory, allthough the kernel code fits in the first 8M. Today, it is necessary to activate CONFIG_PIN_TLB to get more than 8M at startup, allthough pinning TLB is not necessary for that. This

RE: [PATCH] net: ti: netcp: restore get/set_pad_info() functionality

2016-02-09 Thread Karicheri, Muralidharan
Murali Karicheri Linux Kernel, Software Development >-Original Message- >From: David Laight [mailto:david.lai...@aculab.com] >Sent: Tuesday, February 09, 2016 11:10 AM >To: Karicheri, Muralidharan; Strashko, Grygorii; net...@vger.kernel.org; David >S . Miller; >Arnd Bergmann >Cc: Coope

[PATCH v8 12/23] powerpc32: remove ioremap_base

2016-02-09 Thread Christophe Leroy
ioremap_base is not initialised and is nowhere used so remove it Signed-off-by: Christophe Leroy --- v2: no change v3: fix comment as well v4: no change v5: no change v6: no change v8: no change arch/powerpc/include/asm/nohash/32/pgtable.h | 2 +- arch/powerpc/mm/mmu_decl.h |

[PATCH v8 14/23] powerpc/8xx: Handle CPU6 ERRATA directly in mtspr() macro

2016-02-09 Thread Christophe Leroy
MPC8xx has an ERRATA on the use of mtspr() for some registers This patch includes the ERRATA handling directly into mtspr() macro so that mtspr() users don't need to bother about that errata Signed-off-by: Christophe Leroy --- v2: no change v3: no change v4: no change v5: no change v6: no change

[tip:x86/mm] x86/kasan: Clear kasan_zero_page after TLB flush

2016-02-09 Thread tip-bot for Andrey Ryabinin
Commit-ID: 69e0210fd01ff157d332102219aaf5c26ca8069b Gitweb: http://git.kernel.org/tip/69e0210fd01ff157d332102219aaf5c26ca8069b Author: Andrey Ryabinin AuthorDate: Mon, 11 Jan 2016 15:51:18 +0300 Committer: Ingo Molnar CommitDate: Tue, 9 Feb 2016 13:33:14 +0100 x86/kasan: Clear kasan_ze

[PATCH v8 09/23] powerpc/8xx: CONFIG_PIN_TLB unneeded for CONFIG_PPC_EARLY_DEBUG_CPM

2016-02-09 Thread Christophe Leroy
IMMR is now mapped by page tables so it is not anymore necessary to PIN TLBs Signed-off-by: Christophe Leroy --- v2: no change v3: no change v4: no change v5: no change v6: no change v8: no change arch/powerpc/Kconfig.debug | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/powerpc/Kconfig

[PATCH v8 00/23] powerpc/8xx: Use large pages for RAM and IMMR and other improvments

2016-02-09 Thread Christophe Leroy
The main purpose of this patchset is to dramatically reduce the time spent in DTLB miss handler. This is achieved by: 1/ Mapping RAM with 8M pages 2/ Mapping IMMR with a fixed 512K page On a live running system (VoIP gateway for Air Trafic Control), over a 10 minutes period (with 277s idle), we ge

[PATCH v8 08/23] powerpc/8xx: Map IMMR area with 512k page at a fixed address

2016-02-09 Thread Christophe Leroy
Once the linear memory space has been mapped with 8Mb pages, as seen in the related commit, we get 11 millions DTLB missed during the reference 600s period. 77% of the misses are on user addresses and 23% are on kernel addresses (1 fourth for linear address space and 3 fourth for virtual address sp

[PATCH v8 06/23] powerpc32: refactor x_mapped_by_bats() and x_mapped_by_tlbcam() together

2016-02-09 Thread Christophe Leroy
x_mapped_by_bats() and x_mapped_by_tlbcam() serve the same kind of purpose, and are never defined at the same time. So rename them x_block_mapped() and define them in the relevant places Signed-off-by: Christophe Leroy --- v2: no change v3: Functions are mutually exclusive so renamed iaw Scott co

[PATCH v8 04/23] powerpc/8xx: move setup_initial_memory_limit() into 8xx_mmu.c

2016-02-09 Thread Christophe Leroy
Now we have a 8xx specific .c file for that so put it in there as other powerpc variants do Signed-off-by: Christophe Leroy --- v2: no change v3: no change v4: no change v5: no change v6: no change v8: no change arch/powerpc/mm/8xx_mmu.c | 17 + arch/powerpc/mm/init_32.c | 19 --

[PATCH v8 07/23] powerpc/8xx: Fix vaddr for IMMR early remap

2016-02-09 Thread Christophe Leroy
Memory: 124428K/131072K available (3748K kernel code, 188K rwdata, 648K rodata, 508K init, 290K bss, 6644K reserved) Kernel virtual memory layout: * 0xfffdf000..0xf000 : fixmap * 0xfde0..0xfe00 : consistent mem * 0xfddf6000..0xfde0 : early ioremap * 0xc900..0xfddf6000

Re: [PATCH] drm: fix missing reference counting decrease

2016-02-09 Thread Harry Wentland
This looks good but we should probably do the same for all return paths when reference for port has been acquired. Please see attached patch. Thanks, Harry On 2016-02-01 11:08 AM, Insu Yun wrote: In drm_dp_mst_allocate_vcpi, it returns true in two paths, but in one path, there is no reference

[PATCH v8 02/23] powerpc/8xx: Map linear kernel RAM with 8M pages

2016-02-09 Thread Christophe Leroy
On a live running system (VoIP gateway for Air Trafic Control), over a 10 minutes period (with 277s idle), we get 87 millions DTLB misses and approximatly 35 secondes are spent in DTLB handler. This represents 5.8% of the overall time and even 10.8% of the non-idle time. Among those 87 millions DTL

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