Re: [PATCH v5 1/2] arm64: kvm: allows kvm cpu hotplug

2015-10-15 Thread AKASHI Takahiro
James, I reproduced the problem on Hikey board, but On 10/13/2015 07:43 PM, James Morse wrote: Hi, On 13/10/15 06:38, AKASHI Takahiro wrote: On 10/12/2015 10:28 PM, James Morse wrote: On 29/05/15 06:38, AKASHI Takahiro wrote: The current kvm implementation on arm64 does cpu-specific

Re: [PATCH v3 09/24] arm64: Keep track of CPU feature registers

2015-10-15 Thread Catalin Marinas
Hi Suzuki, Some minor comments below. On Tue, Oct 13, 2015 at 06:22:17PM +0100, Suzuki K. Poulose wrote: > This patch adds an infrastructure to keep track of the CPU feature > registers on the system. For each register, the infrastructure keeps > track of the system wide safe value of the

Re: [PATCH tip/locking/core v4 1/6] powerpc: atomic: Make *xchg and *cmpxchg a full barrier

2015-10-15 Thread Will Deacon
Dammit guys, it's never simple is it? On Wed, Oct 14, 2015 at 02:44:53PM -0700, Paul E. McKenney wrote: > To that end, the herd tool can make a diagram of what it thought > happened, and I have attached it. I used this diagram to try and force > this scenario at

Re: [PATCHv3 08/11] arm64: Check for selected granule support

2015-10-15 Thread Mark Rutland
On Wed, Oct 14, 2015 at 04:13:47PM -0500, Jeremy Linton wrote: > On 10/14/2015 06:20 AM, Suzuki K. Poulose wrote: > > >+ * Checks if the selected granule size is supported by the CPU. > >+ * If it doesn't park the CPU > > The problem is when you park the boot CPU. > > I think for EFI there is a

futex timeout not working? (bisected)

2015-10-15 Thread Heiko Carstens
Hi Thomas, I received a bug report from Stefan Liebler that certain futex timeouts do not work anymore at least on s390 (see test case below). I did a quick bisect which ended at this commit: 868a3e915f7f5eba8f8cb4f7da2276760807c51c is the first bad commit commit

Re: [PATCH v3 09/24] arm64: Keep track of CPU feature registers

2015-10-15 Thread Suzuki K. Poulose
On 15/10/15 11:36, Catalin Marinas wrote: Hi Suzuki, Some minor comments below. The feature bits are classified as one of SCALAR_MIN, SCALAR_MAX and DISCRETE depending on the implication of the possible values. This information is used to decide the safe value for a feature. The

Loan Offer

2015-10-15 Thread Loan
Contact us as we offer our finance service at a low and affordable interest rate for long and short cash term. Interested applicant should contact us for further acquisition procedures. Thanks as we remain obliged to render service to you; worldtrading1...@gmail.com -- To unsubscribe from this

[PATCH 2/3] ARM: dts: Mark SDIO as non-removable in exynos5420-peach-pit

2015-10-15 Thread Javier Martinez Canillas
The Exynos5420 Peach Pit Chromebook has a Marvell WiFi SDIO chip which can't neither be removed nor be detected. But the node isn't marked as non-removable and instead has the broken-cd DT property. This causes the device to be removed when the system enters into a suspend state and the following

[RFT PATCH 3/3] ARM: dts: Mark SDIO as non-removable in exynos5250-snow-common

2015-10-15 Thread Javier Martinez Canillas
The Exynos5250 Snow Chromebooks have a Marvell WiFi SDIO chip which can't neither be removed nor be detected. But the node isn't marked as non-removable and instead has the broken-cd DT property. This causes the device to be removed when the system enters into a suspend state and the following

[PATCH 0/3] ARM: dts: Mark SDIO as non-removable for Exynos Chromebooks

2015-10-15 Thread Javier Martinez Canillas
Hello, The Exynos based Chromebooks have a Marvell WiFi SDIO chip which is always present and cannot be detected. The mmc device node is marked as broken-cd since that property is used in the vendor tree instead of non-removable. This causes the device to be removed when the system enteres into

[PATCH 1/3] ARM: dts: Mark SDIO as non-removable in exynos5800-peach-pi

2015-10-15 Thread Javier Martinez Canillas
The Exynos5800 Peach Pi Chromebook has a Marvell WiFi SDIO chip which can't neither be removed nor be detected. But the node isn't marked as non-removable and instead has the broken-cd DT property. This causes the device to be removed when the system enters into a suspend state and the following

Re: [PATCH 2/7] includes: dt-bindings: Add STM32F429 pinctrl DT bindings

2015-10-15 Thread Maxime Coquelin
2015-10-15 13:14 GMT+02:00 Daniel Thompson : > On 14/10/15 21:07, Maxime Coquelin wrote: >> >> Signed-off-by: Maxime Coquelin >> --- >> include/dt-bindings/pinctrl/pinctrl-stm32.h | 12 + >>

Re: [PATCHv3 03/11] arm64: Introduce helpers for page table levels

2015-10-15 Thread Christoffer Dall
On Thu, Oct 15, 2015 at 10:35:38AM +0100, Suzuki K. Poulose wrote: > On 14/10/15 18:07, Mark Rutland wrote: > >On Wed, Oct 14, 2015 at 12:20:26PM +0100, Suzuki K. Poulose wrote: > > >>+ * Number of page-table levels required to address 'va_bits' wide > >>+ * address, without section mapping. We

Re: [PATCH 3/4] mmc: mediatek: Add tune support

2015-10-15 Thread Chaotian Jing
On Thu, 2015-10-15 at 11:17 +0200, Ulf Hansson wrote: > [...] > > >> > > >> > struct clk *src_clk;/* msdc source clock */ > >> > + struct clk *src_clk_parent; /* src_clk's parent */ > >> > + struct clk *hs400_src; /* 400Mhz source clock */ > >> > >> Hmm, so you need to

Re: [PATCH v3] i2c: s3c2410: enable RuntimePM before registering to the core

2015-10-15 Thread Wolfram Sang
On Sat, Oct 10, 2015 at 08:24:23AM +0100, Wolfram Sang wrote: > From: Wolfram Sang > > The core may register clients attached to this master which may use > funtionality from the master. So, RuntimePM must be enabled before, otherwise > this will fail. While

Re: [PATCH v2 2/4] i2c: rcar: enable RuntimePM before registering to the core

2015-10-15 Thread Wolfram Sang
On Fri, Oct 09, 2015 at 10:39:25AM +0100, Wolfram Sang wrote: > From: Wolfram Sang > > The core may register clients attached to this master which may use > funtionality from the master. So, RuntimePM must be enabled before, otherwise > this will fail. While

[PATCH v3 1/4] dt-bindings: Document the STM32 DMA bindings

2015-10-15 Thread M'boumba Cedric Madianga
This patch adds documentation of device tree bindings for the STM32 dma controller. Signed-off-by: M'boumba Cedric Madianga --- .../devicetree/bindings/dma/stm32-dma.txt | 82 ++ 1 file changed, 82 insertions(+) create mode 100644

[PATCH v3 2/4] dmaengine: Add STM32 DMA driver

2015-10-15 Thread M'boumba Cedric Madianga
This patch adds support for the STM32 DMA controller. Signed-off-by: M'boumba Cedric Madianga --- drivers/dma/Kconfig | 12 + drivers/dma/Makefile|1 + drivers/dma/stm32-dma.c | 1148 +++ 3 files changed, 1161

[PATCH v3 0/4] Add support for STM32 DMA

2015-10-15 Thread M'boumba Cedric Madianga
This patchset adds support for the STM32 DMA controller. This controller provides 8 channels dedicated to managing memory access request from one or more peripherals. Each stream can have up to 8 requests in total. Changes since v2: - remove interrupt configuration management from DT - remove

Re: [PATCH] ASoC: bcm2835-i2s: Fix module autoload for OF platform drivers

2015-10-15 Thread Luis de Bethencourt
On Wed, Oct 14, 2015 at 05:44:46PM -0700, Eric Anholt wrote: > Luis de Bethencourt writes: > > > These platform drivers have a OF device ID table but the OF module > > alias information is not created so module autoloading won't work. > > > > Signed-off-by: Luis de

Re: [PATCH net-next] net: hisilicon: fixes a bug when using ethtool -S

2015-10-15 Thread David Miller
From: yankejian Date: Thu, 15 Oct 2015 12:40:34 +0800 > From: lipeng > > this patch fixes a bug in hns driver. when we want to get statistic info > by using ethtool -S, it shows us there are 3 wrong counters info. because > the strings related to the

Re: [PATCH] arm64: ftrace: function_graph: dump real return addr in call trace

2015-10-15 Thread Arnd Bergmann
On Thursday 15 October 2015 20:12:35 Li Bin wrote: > > +#ifdef CONFIG_FUNCTION_GRAPH_TRACER > +static void print_ftrace_graph_addr(unsigned long addr, > + struct task_struct *tsk, > + unsigned long sp, int *graph) > +{ >

[GIT PULL] ext4 Kconfig description fixup

2015-10-15 Thread Jan Kara
Hello Linus, could you please pull from git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs.git for_linus to get a small fixup in description of EXT4_USE_FOR_EXT2 config option. Top of the tree is d4eb6dee4712. The full shortlog is: Jean Delvare (1): ext4: Update

Re: [PATCH v3] iio: mma8452: support either of the available interrupt pins

2015-10-15 Thread Mark Rutland
On Thu, Oct 15, 2015 at 11:32:59AM +0200, Martin Kepplinger wrote: > Am 2015-10-14 um 17:12 schrieb Lars-Peter Clausen: > > On 10/14/2015 03:15 PM, Martin Kepplinger wrote: > > [...] > >> + if (irq1 > 0) > >> + client->irq = irq1; > > > > You must not

Re: [PATCH v3 13/24] arm64: Populate cpuinfo after notify_cpu_starting

2015-10-15 Thread Catalin Marinas
On Tue, Oct 13, 2015 at 06:22:21PM +0100, Suzuki K. Poulose wrote: > This patch delays populating the cpuinfo for a new (hotplugged) > CPU until the notifiers have executed. This will enable us to verify > if the new (hotplugged) CPU has all the capabilities which the system > already has. If it

Re: [Xen-devel] [PATCH v4 29/79] gntalloc.h: use __u16, __u32 and __u64 from linux/types.h

2015-10-15 Thread David Vrabel
On 15/10/15 06:56, Mikko Rapeli wrote: > Fixes userspace compilation errors like: > > xen/gntalloc.h:22:2: error: unknown type name ‘uint16_t’ Applied to for-linus-4.4, thanks. David -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: [PATCH v4 23/79] rds.h: use __u8, __u16, __s16, __u32 and __s64 from linux/types.h

2015-10-15 Thread Sowmini Varadhan
On (10/15/15 07:56), Mikko Rapeli wrote: > Date: Thu, 15 Oct 2015 07:56:01 +0200 > From: Mikko Rapeli > To: linux-kernel@vger.kernel.org > Cc: mikko.rap...@iki.fi, "David S. Miller" , Sowmini > Varadhan ,

Re: [PATCH] ARM: edma: special case slot limit workaround

2015-10-15 Thread Peter Ujfalusi
On 10/15/2015 01:48 PM, John Ogness wrote: > Currently drivers are limited to 19 slots for cyclic transfers. > However, if the DMA burst size is the same as the period size, > the period size can be changed to the full buffer size and > intermediate interrupts activated. Since intermediate

Re: [PATCHv3 03/11] arm64: Introduce helpers for page table levels

2015-10-15 Thread Christoffer Dall
On Wed, Oct 14, 2015 at 12:20:26PM +0100, Suzuki K. Poulose wrote: > Introduce helpers for finding the number of page table > levels required for a given VA width, shift for a particular > page table level. > > Convert the existing users to the new helpers. More users > to follow. > > Cc: Ard

Re: [PATCH v3] i2c: return probe deferred status on dev_pm_domain_attach

2015-10-15 Thread Wolfram Sang
On Mon, Oct 12, 2015 at 09:54:43PM +0100, Kieran Bingham wrote: > A change of return status was introduced in commit 3fffd1283927 > ("i2c: allow specifying separate wakeup interrupt in device tree") > > The commit prevents the defer status being passed up the call stack > appropriately when

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

2015-10-15 Thread Peter Zijlstra
On Tue, Oct 13, 2015 at 07:40:58PM -0300, Marcelo Tosatti wrote: > How can you fix the issue of sockets with different reserved cache > regions with hw in the cgroup interface? No idea what you're referring to. But IOCTLs blow. -- To unsubscribe from this list: send the line "unsubscribe

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

2015-10-15 Thread Christoph Hellwig
On Thu, Oct 15, 2015 at 10:59:32AM +0200, Arnd Bergmann wrote: > The patch looks good, should we do something to prevent that from > becoming a problem when Linus pulls our branches? > > This commit is at the bottom of my asm-generic git tree, so Lee could merge > that one commit into his tree

Re: [PATCH] VFIO: platform: AMD xgbe reset module

2015-10-15 Thread Christoffer Dall
On Thu, Oct 15, 2015 at 01:21:55PM +0200, Arnd Bergmann wrote: > On Thursday 15 October 2015 10:08:02 Eric Auger wrote: > > Hi Arnd, > > On 10/14/2015 05:38 PM, Arnd Bergmann wrote: > > > On Wednesday 14 October 2015 15:33:12 Eric Auger wrote: > > >> ---

Re: [PATCH] xen/arm: correct comment in enlighten.c

2015-10-15 Thread Juergen Gross
David or Stefano, On 09/14/2015 03:39 PM, Stefano Stabellini wrote: On Mon, 14 Sep 2015, Juergen Gross wrote: Correct a comment in arch/arm/xen/enlighten.c referencing a wrong source file. Signed-off-by: Juergen Gross Acked-by: Stefano Stabellini

[PATCH 1/6] block: cleanup blkdev_ioctl

2015-10-15 Thread Christoph Hellwig
Split out helpers for all non-trivial ioctls to make this function simpler, and also start passing around a pointer version of the argument, as that's what most ioctl handlers actually need. Signed-off-by: Christoph Hellwig --- block/ioctl.c | 227

Re: [PATCH] x86: setup: extend low identity map to cover whole kernel range

2015-10-15 Thread H. Peter Anvin
On October 14, 2015 2:39:58 PM PDT, Andy Lutomirski wrote: >On Wed, Oct 14, 2015 at 2:00 PM, Matt Fleming > wrote: >> On Wed, 14 Oct, at 09:22:03AM, Andy Lutomirski wrote: >>> On Wed, Oct 14, 2015 at 6:52 AM, Matt Fleming >

Re: [PATCH net-next 0/4] net: dsa: mv88e6xxx: fix hardware bridging

2015-10-15 Thread Vivien Didelot
On Oct. Wednesday 14 (42) 06:44 PM, Florian Fainelli wrote: > On 14/10/15 18:28, Vivien Didelot wrote: > > On Oct. Thursday 15 (42) 12:46 AM, Andrew Lunn wrote: > >> On Sun, Oct 11, 2015 at 06:08:34PM -0400, Vivien Didelot wrote: > >>> DSA and its drivers currently hook the NETDEV_CHANGEUPPER

Re: [PATCHv3] ARM64:Fix MINSIGSTKSZ and SIGSTKSZ

2015-10-15 Thread Will Deacon
On Thu, Oct 15, 2015 at 02:12:41PM +0200, Szabolcs Nagy wrote: > * Will Deacon [2015-10-09 11:33:52 +0100]: > > > On Fri, Oct 09, 2015 at 03:59:40PM +0530, Manjeet Pawar wrote: > > > MINSIGSTKSZ and SIGSTKSZ for ARM64 are not correctly set in latest kernel. > > > This patch

Re: [PATCH] staging: rtl8192u: simplify conditional statement

2015-10-15 Thread Dan Carpenter
On Thu, Oct 15, 2015 at 01:33:14PM +0100, Luis de Bethencourt wrote: > diff --git a/drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c > b/drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c > index c443e2e..1c2d1a4 100644 > --- a/drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c >

Re: Runtime PM causes oops on next-20151015

2015-10-15 Thread Michael Ellerman
Signed-off-by: Rafael J. Wysocki <rafael.j.wyso...@intel.com> > I'm seeing one too on powerpc: Unable to handle kernel paging request for data at address 0x0030 Faulting instruction address: 0xc02e4094 Oops: Kernel access of bad area, sig: 11 [#1] SMP NR_CPUS=2048

[PATCH] compiler, READ_ONCE: Fix build failure with some older GCC

2015-10-15 Thread Andrey Ryabinin
Some old versions of GCC doesn't handle __alias (or maybe a combination of 'static __always_inline __alias') right. GCC creates outline and unused copy of __read_once_size_check() function in the object file which references memcpy and causes the build failure:

Re: [PATCH v3] iio: mma8452: support either of the available interrupt pins

2015-10-15 Thread Mark Rutland
On Wed, Oct 14, 2015 at 05:12:32PM +0200, Lars-Peter Clausen wrote: > On 10/14/2015 03:15 PM, Martin Kepplinger wrote: > [...] > > + if (irq1 > 0) > > + client->irq = irq1; > > You must not overwrite client->irq, that field is manged by the I2C core and

Re: [PATCH v2 2/3] irqchip: irq-mips-gic: Provide function to map GIC user section

2015-10-15 Thread Thomas Gleixner
On Thu, 15 Oct 2015, Qais Yousef wrote: > It could be refactored but the DT binding already specifies the GIC timer as a > subnode of GIC. Exposing this usermode register is the only thing left in the > register set that GIC driver wasn't dealing with. > > Little gain in changing all of this now

[PATCH 5/5] KVM: x86: MMU: Eliminate an extra memory slot search in mapping_level()

2015-10-15 Thread Takuya Yoshikawa
Calling kvm_vcpu_gfn_to_memslot() twice in mapping_level() should be avoided since getting a slot by binary search may not be negligible, especially for virtual machines with many memory slots. Signed-off-by: Takuya Yoshikawa --- arch/x86/kvm/mmu.c | 17

Re: [PATCH] ARM: dts: uniphier: fix IRQ number for devices on PH1-LD6b ref board

2015-10-15 Thread Masahiro Yamada
2015-10-15 17:58 GMT+09:00 Masahiro Yamada : > The IRQ signal from external devices on this board is connected to > the XIRQ1 pin of the SoC. The IRQ number should be 51, not 50. > > Fixes: a5e921b4771f ("ARM: dts: uniphier: add ProXstream2 and PH1-LD6b > SoC/board

Re: [PATCH v3 1/3] sched: introduce a new migration flag to task_struct

2015-10-15 Thread Peter Zijlstra
On Thu, Oct 15, 2015 at 06:01:14PM +0900, byungchul.p...@lge.com wrote: > From: Byungchul Park > > This patch removes a weird coupling between se->avg.last_update_time and > the condition checking for migration, and introduce a new migration flag. > Now, scheduler can use

Re: [PATCHv3 08/11] arm64: Check for selected granule support

2015-10-15 Thread Suzuki K. Poulose
On Thu, Oct 15, 2015 at 11:45:15AM +0100, Mark Rutland wrote: > On Wed, Oct 14, 2015 at 04:13:47PM -0500, Jeremy Linton wrote: > > On 10/14/2015 06:20 AM, Suzuki K. Poulose wrote: > > > > >+ * Checks if the selected granule size is supported by the CPU. > > >+ * If it doesn't park the CPU > > >

Re: [PATCH v3 1/4] mtd: nand: allow compile test of MTD_NAND_PXA3xx

2015-10-15 Thread Antoine Tenart
Hi Arnd, On Thu, Oct 15, 2015 at 01:44:19PM +0200, Arnd Bergmann wrote: > On Thursday 15 October 2015 17:12:18 kbuild test robot wrote: > >drivers/mtd/nand/pxa3xx_nand.c: In function 'drain_fifo': > > >> drivers/mtd/nand/pxa3xx_nand.c:507:4: error: implicit declaration of > > >> function

Re: [RESEND PATCH v2] pwm-backlight: Avoid backlight flicker when probed from DT

2015-10-15 Thread Christian Gmeiner
2015-10-14 15:25 GMT+02:00 Philipp Zabel : > If the driver is probed from the device tree, and there is a phandle > property set on it, and the enable GPIO is already configured as output, > and the backlight is currently disabled, keep it disabled. > If all these

Re: [PATCH 0/4] Enable Ethernet on StiH407 family boards

2015-10-15 Thread Maxime Coquelin
On 10/01/2015 05:56 PM, Maxime Coquelin wrote: This series enables Ethernet support on STiH407 family reference design boards. These boards use the RTL8367 Switch as PHY. As it is previously configured by the bootloader, we declare it as a fixed link. Maxime Coquelin (4): ARM: dts: Fix

Re: [PATCH v2] ARM: DT: STi: STiH418: Fix mmc0 clock configuration

2015-10-15 Thread Maxime Coquelin
On 08/24/2015 04:23 PM, Gabriel Fernandez wrote: This patch configure correctly the MMC-0 clock for STiH418 platform. Signed-off-by: Gabriel Fernandez Acked-by: Maxime Coquelin --- arch/arm/boot/dts/stih418.dtsi | 6 ++ 1 file

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

2015-10-15 Thread Hannes Reinecke
On 10/15/2015 02:06 PM, Hannes Reinecke wrote: > On 10/12/2015 05:10 PM, Arnd Bergmann wrote: >> The advansys drvier uses the request_dma function that is used on ISA >> machines for the internal DMA controller, which causes build errors >> on platforms that have ISA slots but do not provide the

Re: [PATCH v3 1/3] sched: introduce a new migration flag to task_struct

2015-10-15 Thread Byungchul Park
On Thu, Oct 15, 2015 at 01:18:13PM +0200, Peter Zijlstra wrote: > On Thu, Oct 15, 2015 at 06:01:14PM +0900, byungchul.p...@lge.com wrote: > > From: Byungchul Park > > > > This patch removes a weird coupling between se->avg.last_update_time and > > the condition checking

Re: [PATCH v2 1/4] i2c: designware-platdrv: enable RuntimePM before registering to the core

2015-10-15 Thread Mika Westerberg
On Thu, Oct 15, 2015 at 01:49:25PM +0200, Wolfram Sang wrote: > On Fri, Oct 09, 2015 at 10:39:24AM +0100, Wolfram Sang wrote: > > From: Wolfram Sang > > > > The core may register clients attached to this master which may use > > funtionality from the master. So,

Re: [Xen-devel] [PATCH] xen/arm: correct comment in enlighten.c

2015-10-15 Thread David Vrabel
On 14/09/15 14:20, Juergen Gross wrote: > Correct a comment in arch/arm/xen/enlighten.c referencing a wrong > source file. Applied to for-linus-4.4, thanks. Sorry for the delay. David -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: [alsa-devel] [RFC PATCH] ASoC: Modify check condition of multiple bindings of components

2015-10-15 Thread Koro Chen
On Thu, 2015-10-15 at 13:10 +0100, Mark Brown wrote: > On Wed, Oct 14, 2015 at 11:00:01AM +0200, Lars-Peter Clausen wrote: > > > It was never intended that it is possible to bind a component to multiple > > cards. That it was possible was a bug that was overlooked and some people > > tried to do

[PATCH] bnx2fc: Modify supported product numbers in MODULE_DESCRIPTION

2015-10-15 Thread Masanari Iida
Currently bnx2fc driver support not only BMC57710, but also BCM57711, BCM57712, BCM57800, BCM57810 and BCM57840. It is better to modify from "BCM57710" to "BCM5771x/BCM578xx" Signed-off-by: Masanari Iida --- drivers/scsi/bnx2fc/bnx2fc_fcoe.c | 2 +- 1 file changed, 1

Re: linux-next: build problems (Was: [PATCH v3 1/2] Provide READ_ONCE_NOCHECK())

2015-10-15 Thread Andrey Ryabinin
On 10/15/2015 12:18 PM, Stephen Rothwell wrote: > Hi Andrey, > > On Tue, 13 Oct 2015 18:28:07 +0300 Andrey Ryabinin > wrote: >> >> Some code may perform racy by design memory reads. This could be harmless, >> yet such code may produce KASAN warnings. >> >> To hide such

Re: [PATCH 4/5] x86/setup/crash: Check memblock_reserve() retval

2015-10-15 Thread Borislav Petkov
On Thu, Oct 15, 2015 at 05:18:26PM +0800, Dave Young wrote: > Seems there's no checking for other callback to memblock_reserve in setup.c > Need another cleanup? True story. It sure does. > BTW, a further cleanup is reasonable to me, there's a lot of below patter: > memblock_find_in_range >

Re: [PATCH] staging: netlogic: xlr_net.h: fixedcoding stly warnings

2015-10-15 Thread Mike Rapoport
On Wed, Oct 14, 2015 at 07:29:30PM +0530, Sakshi Bansal wrote: > Fixed block comments usage of * on subsequent lines > > Signed-off-by: Sakshi Bansal > --- > drivers/staging/netlogic/xlr_net.h | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) Please fix the

[PATCH 1/5] KVM: x86: MMU: Make force_pt_level bool

2015-10-15 Thread Takuya Yoshikawa
This will be passed to a function later. Signed-off-by: Takuya Yoshikawa --- arch/x86/kvm/mmu.c |8 arch/x86/kvm/paging_tmpl.h |4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/arch/x86/kvm/mmu.c

[PATCH 2/5] KVM: x86: MMU: Simplify force_pt_level calculation code in FNAME(page_fault)()

2015-10-15 Thread Takuya Yoshikawa
As a bonus, an extra memory slot search can be eliminated when is_self_change_mapping is true. Signed-off-by: Takuya Yoshikawa --- arch/x86/kvm/paging_tmpl.h | 15 +++ 1 file changed, 7 insertions(+), 8 deletions(-) diff --git

[PATCH 3/5] KVM: x86: MMU: Merge mapping_level_dirty_bitmap() into mapping_level()

2015-10-15 Thread Takuya Yoshikawa
This is necessary to eliminate an extra memory slot search later. Signed-off-by: Takuya Yoshikawa --- arch/x86/kvm/mmu.c | 29 ++--- arch/x86/kvm/paging_tmpl.h |6 +++--- 2 files changed, 17 insertions(+), 18 deletions(-)

[PATCH 0/5] KVM: x86: MMU: Eliminate extra memory slot searches in page fault handlers

2015-10-15 Thread Takuya Yoshikawa
In page fault handlers, both mapping_level_dirty_bitmap() and mapping_level() do a memory slot search, binary search, through kvm_vcpu_gfn_to_memslot(), which may not be negligible especially for virtual machines with many memory slots. With a bit of cleanup effort, the patch set reduces this

[GIT PULL] pin control fixes for v4.3

2015-10-15 Thread Linus Walleij
Hi Linus, here are some overdue (what can I say, I was on a short vacation) driver fixes for the pin control subsystem. Details in the signed tag. Please pull them in! Yours, Linus Walleij The following changes since commit 1f93e4a96c9109378204c147b3eec0d0e8100fde: Linux 4.3-rc2 (2015-09-20

Re: [PATCH] ext4: use private version of page_zero_new_buffers() for data=journal mode

2015-10-15 Thread Jan Kara
On Fri 09-10-15 00:01:09, Ted Tso wrote: > If there is a error while copying data from userspace into the page > cache during a write(2) system call, in data=journal mode, in > ext4_journalled_write_end() were using page_zero_new_buffers() from > fs/buffer.c. Unfortunately, this sets the buffer

[PATCH 7/8] tools/vm/slabinfo: cosmetic globals cleanup

2015-10-15 Thread Sergey Senozhatsky
checkpatch.pl complains about globals being explicitly zeroed out: "ERROR: do not initialise globals to 0 or NULL". New globals, introduced in this patch set, have no explicit 0 initialization; clean up the old ones to make it less hairy. Signed-off-by: Sergey Senozhatsky

Re: [PATCH v4 75/79] include/uapi/xen/privcmd.h: fix compilation in userspace

2015-10-15 Thread Mikko Rapeli
On Thu, Oct 15, 2015 at 11:29:12AM +0100, David Vrabel wrote: > On 15/10/15 06:56, Mikko Rapeli wrote: > > xen/interface/xen.h is not exported from kernel headers so remove the > > dependency and provide needed defines for domid_t and xen_pfn_t if they > > are not already defined by some other

[PATCH 2/8] tools/vm/slabinfo: limit the number of reported slabs

2015-10-15 Thread Sergey Senozhatsky
Introduce opt "-N|--lines=K" to limit the number of slabs being reported in output_slabs(). Signed-off-by: Sergey Senozhatsky --- tools/vm/slabinfo.c | 18 +++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/tools/vm/slabinfo.c

[PATCH 4/8] tools/vm/slabinfo: fix alternate opts names

2015-10-15 Thread Sergey Senozhatsky
Fix mismatches between usage() output and real opts[] options. Add missing alternative opt names, e.g., '-S' had no '--Size' opts[] entry, etc. Signed-off-by: Sergey Senozhatsky --- tools/vm/slabinfo.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-)

[PATCH 5/8] tools/vm/slabinfo: introduce extended totals mode

2015-10-15 Thread Sergey Senozhatsky
Add "-X|--Xtotals" opt to output extended totals summary, which includes: -- totals summary -- slabs sorted by size -- slabs sorted by loss (waste) Example: === slabinfo --X -N 1 Slabcache Totals Slabcaches : 91 Aliases : 120->69 Active: 65 Memory used:

Re: [PATCH] compiler, READ_ONCE: Fix build failure with some older GCC

2015-10-15 Thread Ingo Molnar
* Andrey Ryabinin wrote: > Some old versions of GCC doesn't handle __alias (or maybe a combination > of 'static __always_inline __alias') right. > > GCC creates outline and unused copy of __read_once_size_check() > function in the object file which references memcpy

[PATCH] smpboot: Add smpboot state variables instead of reusing CPU hotplug states

2015-10-15 Thread Daniel Wagner
The cpu hotplug state machine in smpboot.c is reusing the states from cpu.h. That is confusing when it comes to the CPU_DEAD_FROZEN usage. Paul explained to me that he was in need of an additional state for destinguishing between a CPU error states. For this he just picked CPU_DEAD_FROZEN.

[PATCH v2] cpufreq, intel_pstate, Fix intel_pstate powersave min_perf_pct value

2015-10-15 Thread Prarit Bhargava
Rafael, as requested ... [v2]: rebased on git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git bleeding-edge ^^^ prolly doesn't need to be in the commit log P. ---8<--- On systems that initialize the intel_pstate driver with the performance governor, and then switch to the

Re: [PATCH] pci: restrict 64-bit pci device to assign resource from behind of max_pfn

2015-10-15 Thread kbuild test robot
Hi Wenlin, [auto build test ERROR on pci/next -- if it's inappropriate base, please suggest rules for selecting the more suitable base] url: https://github.com/0day-ci/linux/commits/Wenlin-Kang/pci-restrict-64-bit-pci-device-to-assign-resource-from-behind-of-max_pfn/20151015-184913 config

Re: [PATCH v2] sunrpc: fix waitqueue_active without memory barrier in sunrpc

2015-10-15 Thread Kosuke Tatsukawa
Tatsukawa Kosuke wrote: > J. Bruce Fields wrote: >> On Wed, Oct 14, 2015 at 03:57:13AM +, Kosuke Tatsukawa wrote: >>> J. Bruce Fields wrote: >>> > On Mon, Oct 12, 2015 at 10:41:06AM +, Kosuke Tatsukawa wrote: >>> >> J. Bruce Fields wrote: >>> >> > On Fri, Oct 09, 2015 at 06:29:44AM +,

Re: [PATCH v3 1/4] mtd: nand: allow compile test of MTD_NAND_PXA3xx

2015-10-15 Thread Arnd Bergmann
On Thursday 15 October 2015 17:12:18 kbuild test robot wrote: >drivers/mtd/nand/pxa3xx_nand.c: In function 'drain_fifo': > >> drivers/mtd/nand/pxa3xx_nand.c:507:4: error: implicit declaration of > >> function 'readsl' [-Werror=implicit-function-declaration] >readsl(info->mmio_base +

Re: [PATCH 10/31] perf test: Enforce LLVM test for BPF test

2015-10-15 Thread Wangnan (F)
On 2015/10/14 23:48, Namhyung Kim wrote: On Wed, Oct 14, 2015 at 12:41:21PM +, Wang Nan wrote: This patch replaces the original toy BPF program with previous introduced bpf-script-example.c. Dynamically embedded it into 'llvm-src.c'. The newly introduced BPF program attaches a BPF

Re: [PATCH v4] ARM: configs: Add Freescale LS1021A defconfig

2015-10-15 Thread Arnd Bergmann
On Thursday 15 October 2015 02:11:57 Huan Wang wrote: > > On Wednesday 14 October 2015 10:18:47 Huan Wang wrote: > > > > On Thursday 24 September 2015 07:27:10 Huan Wang wrote: > > > > > > On Fri, Sep 18, 2015 at 4:38 AM, Huan Wang > > > > > > wrote: > > > > > Any

[PATCH v3 3/4] ARM: dts: Add STM32 DMA support for STM32F429 MCU

2015-10-15 Thread M'boumba Cedric Madianga
This patch adds STM32 DMA bindings for STM32F429. Signed-off-by: M'boumba Cedric Madianga --- arch/arm/boot/dts/stm32f429.dtsi | 31 +++ 1 file changed, 31 insertions(+) diff --git a/arch/arm/boot/dts/stm32f429.dtsi

Re: [PATCHv3] ARM64:Fix MINSIGSTKSZ and SIGSTKSZ

2015-10-15 Thread Szabolcs Nagy
* Will Deacon [2015-10-09 11:33:52 +0100]: > On Fri, Oct 09, 2015 at 03:59:40PM +0530, Manjeet Pawar wrote: > > MINSIGSTKSZ and SIGSTKSZ for ARM64 are not correctly set in latest kernel. > > This patch fixes this issue. > > > > This issue is reported in LTP (testcase:

Re: [RFT PATCH 3/3] ARM: dts: Mark SDIO as non-removable in exynos5250-snow-common

2015-10-15 Thread Tomeu Vizoso
On 15 October 2015 at 12:55, Javier Martinez Canillas wrote: > The Exynos5250 Snow Chromebooks have a Marvell WiFi SDIO chip which > can't neither be removed nor be detected. But the node isn't marked > as non-removable and instead has the broken-cd DT property. > > This

[PATCH] staging: vt6655: Remove boolean comparisons

2015-10-15 Thread Luis de Bethencourt
Boolean tests do not need explicit comparison to true or false. Signed-off-by: Luis de Bethencourt --- drivers/staging/vt6655/card.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/vt6655/card.c b/drivers/staging/vt6655/card.c

Re: [PATCH v2 0/4] timer: Improve itimers scalability

2015-10-15 Thread Frederic Weisbecker
On Wed, Oct 14, 2015 at 05:18:27PM -0400, George Spelvin wrote: > I'm going to give 4/4 a closer look to see if the races with timer > expiration make more sense to me than last time around. > (E.g. do CPU time signals even work in CONFIG_NO_HZ_FULL?) Those enqueued with timer_settime() do work.

Re: [PATCHv3] ARM64:Fix MINSIGSTKSZ and SIGSTKSZ

2015-10-15 Thread Arnd Bergmann
On Thursday 15 October 2015 14:12:41 Szabolcs Nagy wrote: > * Will Deacon [2015-10-09 11:33:52 +0100]: > > > On Fri, Oct 09, 2015 at 03:59:40PM +0530, Manjeet Pawar wrote: > > > MINSIGSTKSZ and SIGSTKSZ for ARM64 are not correctly set in latest kernel. > > > This patch fixes

Re: [PATCHv3 03/11] arm64: Introduce helpers for page table levels

2015-10-15 Thread Mark Rutland
On Thu, Oct 15, 2015 at 01:37:35PM +0200, Christoffer Dall wrote: > On Wed, Oct 14, 2015 at 12:20:26PM +0100, Suzuki K. Poulose wrote: > > Introduce helpers for finding the number of page table > > levels required for a given VA width, shift for a particular > > page table level. > > > > Convert

Re: [PATCHv3 08/11] arm64: Check for selected granule support

2015-10-15 Thread Suzuki K. Poulose
On 15/10/15 13:37, Mark Rutland wrote: On Thu, Oct 15, 2015 at 12:25:33PM +0100, Suzuki K. Poulose wrote: On Thu, Oct 15, 2015 at 11:45:15AM +0100, Mark Rutland wrote: On Wed, Oct 14, 2015 at 04:13:47PM -0500, Jeremy Linton wrote: On 10/14/2015 06:20 AM, Suzuki K. Poulose wrote:

Re: [PATCH v4 75/79] include/uapi/xen/privcmd.h: fix compilation in userspace

2015-10-15 Thread David Vrabel
On 15/10/15 06:56, Mikko Rapeli wrote: > xen/interface/xen.h is not exported from kernel headers so remove the > dependency and provide needed defines for domid_t and xen_pfn_t if they > are not already defined by some other e.g. Xen specific headers. > > Suggested by Andrew Cooper

[PATCH 4/5] KVM: x86: MMU: Remove mapping_level_dirty_bitmap()

2015-10-15 Thread Takuya Yoshikawa
Now that it has only one caller, and its name is not so helpful for readers, just remove it. Signed-off-by: Takuya Yoshikawa --- arch/x86/kvm/mmu.c | 21 + 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/arch/x86/kvm/mmu.c

Re: [PATCHv3 08/11] arm64: Check for selected granule support

2015-10-15 Thread Mark Rutland
> >>+#define id_aa64mmfr0_tgran_shift ID_AA64MMFR0_TGRAN64_SHIFT > >>+#define id_aa64mmfr0_tgran_on ID_AA64MMFR0_TGRAN64_ON > >>+ > >>+#else > >>+ > >>+#define id_aa64mmfr0_tgran_shift ID_AA64MMFR0_TGRAN4_SHIFT > >>+#define id_aa64mmfr0_tgran_on ID_AA64MMFR0_TGRAN4_ON

[PATCH] ARM: edma: fix residue race for cyclic

2015-10-15 Thread John Ogness
When retrieving the residue value for cyclic transfers, the DST field of the active PaRAM is read. However, the AM335x Technical Reference Manual states: 11.3.3.6 Parameter Set Updates After the TR is read from the PaRAM (and is in the process of being submitted to the EDMA3TC), the

[PATCH] pci: restrict 64-bit pci device to assign resource from behind of max_pfn

2015-10-15 Thread Wenlin Kang
This patch restricts 64-bit pci device to assign resource from behind of max_pfn when kernel config enables CONFIG_64BIT. On some system that pci device requires assignment of large resource(eg, 1GB or larger), sometimes,the assignment of some devices may fail under the current way. e.g. the

Re: [Xen-devel] [PATCH v4 30/79] gntdev.h: use __u32 and __u64 from linux/types.h

2015-10-15 Thread David Vrabel
On 15/10/15 06:56, Mikko Rapeli wrote: > Fixes userspace compilation errors like: > > xen/gntdev.h:38:2: error: unknown type name ‘uint32_t’ Applied to for-linus-4.4, thanks. David -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: [PATCH] ARM: edma: fix residue race for cyclic

2015-10-15 Thread Peter Ujfalusi
On 10/15/2015 01:46 PM, John Ogness wrote: > When retrieving the residue value for cyclic transfers, the DST > field of the active PaRAM is read. However, the AM335x Technical > Reference Manual states: > > 11.3.3.6 Parameter Set Updates > > After the TR is read from the PaRAM (and is in the

[PATCH v2] ARM: dts: uniphier: fix IRQ number for devices on PH1-LD6b ref board

2015-10-15 Thread Masahiro Yamada
The IRQ signal from external devices on this board is connected to the XIRQ4 pin of the SoC. The IRQ number should be 52, not 50. Fixes: a5e921b4771f ("ARM: dts: uniphier: add ProXstream2 and PH1-LD6b SoC/board support") Signed-off-by: Masahiro Yamada ---

Re: [PATCH v2 1/2] thermal: mediatek: Add cpu power cooling model.

2015-10-15 Thread dawei chien
On Mon, 2015-10-12 at 18:26 +0100, Punit Agrawal wrote: > Mark Rutland writes: > > > On Wed, Oct 07, 2015 at 08:22:40PM +0800, Dawei Chien wrote: > >> From: "Dawei.Chien" > >> > >> This power model is base on Intelligent Power Allocation (IPA)

Re: sdhci-pci or sdhci_pci

2015-10-15 Thread Richard Weinberger
On Thu, Oct 15, 2015 at 1:00 PM, Muni Sekhar wrote: > [ Please keep me in CC as I'm not subscribed to the list] > > Hello, > > I loaded sdhci-pci.ko, but lsmod shows it as sdhci_pci. > Why is that lsmod shows wrong module name( '-' changed to '_')? > > > # lsmod > Module

Re: [PATCH] i2c: designware: Do not use parameters from ACPI on Dell Inspiron 7348

2015-10-15 Thread Wolfram Sang
On Thu, Sep 24, 2015 at 12:06:54PM +0300, Mika Westerberg wrote: > ACPI SSCN/FMCN methods were originally added because then the platform can > provide the most accurate HCNT/LCNT values to the driver. However, this > seems not to be true for Dell Inspiron 7348 where using these causes the >

Re: [PATCH v2 1/4] i2c: designware-platdrv: enable RuntimePM before registering to the core

2015-10-15 Thread Wolfram Sang
On Fri, Oct 09, 2015 at 10:39:24AM +0100, Wolfram Sang wrote: > From: Wolfram Sang > > The core may register clients attached to this master which may use > funtionality from the master. So, RuntimePM must be enabled before, otherwise > this will fail. > >

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

2015-10-15 Thread Hannes Reinecke
On 10/12/2015 05:10 PM, Arnd Bergmann wrote: > The advansys drvier uses the request_dma function that is used on ISA > machines for the internal DMA controller, which causes build errors > on platforms that have ISA slots but do not provide the ISA DMA API: > > drivers/scsi/advansys.c: In

  1   2   3   4   5   6   7   8   9   10   >