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

2015-10-08 Thread Neil Brown
Kosuke Tatsukawa writes: > There are several places in net/sunrpc/svcsock.c which calls > waitqueue_active() without calling a memory barrier. Add a memory > barrier just as in wq_has_sleeper(). > > I found this issue when I was looking through the linux source code > for places calling

[PATCH][RFC] mm: Introduce kernelcore=reliable option

2015-10-08 Thread Taku Izumi
Xeon E7 v3 based systems supports Address Range Mirroring and UEFI BIOS complied with UEFI spec 2.5 can notify which ranges are reliable (mirrored) via EFI memory map. Now Linux kernel utilize its information and allocates boot time memory from reliable region. My requirement is: - allocate

Re: [Intel-wired-lan] [Patch V3 5/9] i40e: Use numa_mem_id() to better support memoryless node

2015-10-08 Thread Jiang Liu
On 2015/10/9 4:20, Andrew Morton wrote: > On Wed, 19 Aug 2015 17:18:15 -0700 (PDT) David Rientjes > wrote: > >> On Wed, 19 Aug 2015, Patil, Kiran wrote: >> >>> Acked-by: Kiran Patil >> >> Where's the call to preempt_disable() to prevent kernels with preemption >> from making numa_node_id()

Re: [PATCH] UBI: rename free variable

2015-10-08 Thread Al Viro
On Fri, Oct 09, 2015 at 06:39:52AM +0200, Heiko Schocher wrote: > Hello Al, > Sorry, I should have added this info immediately into the patch ... > > We have in U-Boot a compat.h file, in which we collect all things > we need to make linux code running under U-Boot, and there we map > kfree() to

Re: linux-next: build warning after merge of the driver-core tree

2015-10-08 Thread Stephen Rothwell
Hi Rafael, On Thu, 08 Oct 2015 22:30:45 +0200 "Rafael J. Wysocki" wrote: > > On Thursday, October 08, 2015 12:39:54 PM Viresh Kumar wrote: > > 1840995c52d4 PM / OPP: reuse of_parse_phandle() > > f0489a5ef4d0 PM / OPP: Rename opp init/free table routines > > 8f8d37b2537a PM / OPP: Prefix

Re: [BUG] RCU stall in cursor_timer_handler

2015-10-08 Thread Alistair Popple
Hi Scot, On Sat, 3 Oct 2015 05:12:15 Scot Doyle wrote: > On Sat, 3 Oct 2015, Alistair Popple wrote: > > Hi, > > > > We have been intermittently seeing the below RCU stall at boot on a > > PPC64LE 4.2.1 kernel which has been preventing the system from booting. > > Further investigation indicates

RE: [PATCH v3] PCI: Xilinx-NWL-PCIe: Added support for Xilinx NWL PCIe Host Controller

2015-10-08 Thread Bharat Kumar Gogada
> >> +struct nwl_msi { /* struct nwl_msi - MSI information > */ > >> + struct msi_controller chip; /* chip: MSI controller */ > > > >> We're moving away from msi_controller altogether, as the kernel now > >> has all the necessary infrastructure to do this properly. > > > >

[PATCH] IB/ipath: use TASK_COMM_LEN in ipath_portdata

2015-10-08 Thread Geliang Tang
Use comm[TASK_COMM_LEN] instead of comm[16]. Add linux/sched.h header in ipath_kernel.h, and remove linux/sched.h header from ipath_*.c which have included ipath_kernel.h. Signed-off-by: Geliang Tang --- drivers/staging/rdma/ipath/ipath_driver.c | 1 -

[PATCH] IB/hfi1: use TASK_COMM_LEN in hfi1_ctxtdata

2015-10-08 Thread Geliang Tang
Use comm[TASK_COMM_LEN] instead of comm[16]. Signed-off-by: Geliang Tang --- drivers/staging/rdma/hfi1/hfi.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rdma/hfi1/hfi.h b/drivers/staging/rdma/hfi1/hfi.h index 8ca171b..a35213e 100644 ---

Re: [Patch V3 3/9] sgi-xp: Replace cpu_to_node() with cpu_to_mem() to support memoryless node

2015-10-08 Thread Jiang Liu
On 2015/8/20 14:36, Jiang Liu wrote: > On 2015/8/20 8:02, David Rientjes wrote: >> On Wed, 19 Aug 2015, Jiang Liu wrote: >> Why not simply fix build_zonelists_node() so that the __GFP_THISNODE zonelists are set up to reference the zones of cpu_to_mem() for memoryless nodes?

Re: [PATCH] btrfs: fix waitqueue_active without memory barrier in btrfs

2015-10-08 Thread Kosuke Tatsukawa
Josef Bacik wrote: > On 10/08/2015 05:35 PM, Kosuke Tatsukawa wrote: >> btrfs_bio_counter_sub() seems to be missing a memory barrier which might >> cause the waker to not notice the waiter and miss sending a wake_up as >> in the following figure. >> >> btrfs_bio_counter_sub

[PATCH 4/4] arm64: dts: enable idle states for Hi6220

2015-10-08 Thread Leo Yan
Add cpu and cluster level's low power state for Hi6220. Signed-off-by: Leo Yan --- arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 31 +++ 1 file changed, 31 insertions(+) diff --git a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi

Re: [PATCH] UBI: rename free variable

2015-10-08 Thread Heiko Schocher
Hello Al, Am 09.10.2015 um 06:13 schrieb Al Viro: On Fri, Oct 09, 2015 at 05:29:21AM +0200, Heiko Schocher wrote: rename free variable into not "free", as "free" prevents ubi sources compiling under U-Boot. So rename "free" into "pfree" where it is a pointer, and into "freel", where it is a

[PATCH 1/4] arm64: dts: Reserve memory regions for hi6220

2015-10-08 Thread Leo Yan
On Hi6220, below memory regions in DDR have specific purpose: 0x05e0, - 0x05ef,: For MCU firmware using at runtime; 0x06df,f000 - 0x06df,: For mailbox message data; 0x0740,f000 - 0x0740,: For MCU firmware's section; 0x3e00, - 0x3fff,: For OP-TEE. This patch

[PATCH 3/4] arm64: dts: add sp804 timer node for Hi6220

2015-10-08 Thread Leo Yan
Add sp804 timer for hi6220, so it can be used as broadcast timer. Signed-off-by: Leo Yan --- arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi index

[PATCH 2/4] arm64: Kconfig: select sp804 timer for ARCH_HISI

2015-10-08 Thread Leo Yan
Select sp804 timer for ARCH_HISI, which is used as broadcast timer. Signed-off-by: Leo Yan --- arch/arm64/Kconfig.platforms | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms index 23800a1..6d730fb 100644 ---

[PATCH 0/4] arm64: Hi6220: enable CPU idle states

2015-10-08 Thread Leo Yan
This patch series is to enable CPU idle states for Hi6220. Hi6220 uses PSCIv0.2 compliance interface, so directly use ARM's generic CPUIdle driver. Patch 1 is to reserve memory regions so make sure MCU can work well to handle power controlling; Patch 2/3 enable sp804 timer as broadcast timer

Re: [PATCH] btrfs: fix waitqueue_active without memory barrier in btrfs

2015-10-08 Thread Josef Bacik
On 10/08/2015 05:35 PM, Kosuke Tatsukawa wrote: > btrfs_bio_counter_sub() seems to be missing a memory barrier which might > cause the waker to not notice the waiter and miss sending a wake_up as > in the following figure. > > btrfs_bio_counter_sub

Re: [PATCH v4 3/3] net: unix: optimize wakeups in unix_dgram_recvmsg()

2015-10-08 Thread kbuild test robot
Hi Jason, [auto build test ERROR on v4.3-rc3 -- if it's inappropriate base, please ignore] config: x86_64-randconfig-i0-201540 (attached as .config) reproduce: # save the attached .config to linux build tree make ARCH=x86_64 All errors (new ones prefixed by >>):

[PATCH v4 3/3] net: unix: optimize wakeups in unix_dgram_recvmsg()

2015-10-08 Thread Jason Baron
Now that connect() permanently registers a callback routine, we can induce extra overhead in unix_dgram_recvmsg(), which unconditionally wakes up its peer_wait queue on every receive. This patch makes the wakeup there conditional on there being waiters. Tested using:

[PATCH v4 2/3] net: unix: Convert gc_flags to flags

2015-10-08 Thread Jason Baron
Convert gc_flags to flags in perparation for the subsequent patch, which will make use of a flag bit for a non-gc purpose. Signed-off-by: Jason Baron --- include/net/af_unix.h | 2 +- net/unix/garbage.c| 12 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git

[PATCH v4 0/3] net: unix: fix use-after-free

2015-10-08 Thread Jason Baron
Hi, These patches are against mainline, I can re-base to net-next, please let me know. They have been tested against: https://lkml.org/lkml/2015/9/13/195, which causes the use-after-free quite quickly and here: https://lkml.org/lkml/2015/10/2/693. Thanks, -Jason v4: -set UNIX_NOSPACE only if

[PATCH v4 1/3] net: unix: fix use-after-free in unix_dgram_poll()

2015-10-08 Thread Jason Baron
The unix_dgram_poll() routine calls sock_poll_wait() not only for the wait queue associated with the socket s that we are poll'ing against, but also calls sock_poll_wait() for a remote peer socket p, if it is connected. Thus, if we call poll()/select()/epoll() for the socket s, there are then a

Re: [PATCH] UBI: rename free variable

2015-10-08 Thread Al Viro
On Fri, Oct 09, 2015 at 05:29:21AM +0200, Heiko Schocher wrote: > rename free variable into not "free", as "free" prevents > ubi sources compiling under U-Boot. So rename "free" > into "pfree" where it is a pointer, and into "freel", > where it is a free list. Huh? If U-Boot has free defined as

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

2015-10-08 Thread Theodore Ts'o
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 dirty flag, which is no good if journalling is

Re: [PATCH 10/44] kdbus: Use conditional operator

2015-10-08 Thread Hillf Danton
> > Signed-off-by: Sergei Zviagintsev > --- > ipc/kdbus/names.c | 5 + > 1 file changed, 1 insertion(+), 4 deletions(-) > > diff --git a/ipc/kdbus/names.c b/ipc/kdbus/names.c > index bf44ca3f12b6..6b31b38ac2ad 100644 > --- a/ipc/kdbus/names.c > +++ b/ipc/kdbus/names.c > @@ -438,10 +438,7

[PATCH v2] UBIFS: rename free variable

2015-10-08 Thread Heiko Schocher
rename free variable into not "free", as "free" prevents ubifs sources compiling under U-Boot. So rename "free" into "ifree", where it is an int. Signed-off-by: Heiko Schocher --- Changes in v2: - fix compiler error: fs/ubifs/lprops.c:546:23: error: 'free' undeclared (first use in this

Re: [PATCH tip/core/rcu 18/18] rcu: Better hotplug handling for synchronize_sched_expedited()

2015-10-08 Thread Paul E. McKenney
On Thu, Oct 08, 2015 at 05:48:13PM -0700, Josh Triplett wrote: > On Thu, Oct 08, 2015 at 05:11:11PM -0700, Paul E. McKenney wrote: > > On Thu, Oct 08, 2015 at 11:01:14AM -0700, Josh Triplett wrote: > > > On Thu, Oct 08, 2015 at 08:19:03AM -0700, Paul E. McKenney wrote: > > > > On Thu, Oct 08, 2015

[PATCH] workqueue: Allocate the unbound pool using local node memory

2015-10-08 Thread Xunlei Pang
From: Xunlei Pang Currently, get_unbound_pool() uses kzalloc() to allocate the worker pool. Actually, we can use the right node to do the allocation, achieving local memory access. This patch selects target node first, and uses kzalloc_node() instead. Signed-off-by: Xunlei Pang ---

Re: [PATCHv3 1/2] ARM: exynos_defconfig: Enable rtl8152 ethernet driver for Odroid-XU4

2015-10-08 Thread Anand Moon
Hi Arnd, On 8 October 2015 at 20:11, Arnd Bergmann wrote: > On Thursday 08 October 2015 11:27:13 Sjoerd Simons wrote: >> On Thu, 2015-10-08 at 10:37 +0200, Arnd Bergmann wrote: >> > On Thursday 08 October 2015 16:46:27 Krzysztof Kozlowski wrote: >> > > On 08.10.2015 16:41, Arnd Bergmann wrote:

Re: [PATCH 07/44] kdbus: Fix comment on translation of caps between namespaces

2015-10-08 Thread Hillf Danton
> @@ -730,15 +730,21 @@ static void kdbus_meta_export_caps(struct > kdbus_meta_caps *out, > > /* >* This translates the effective capabilities of 'cred' into the given > - * user-namespace. If the given user-namespace is a child-namespace of > - * the user-namespace of

Re: [PATCH] UBIFS: rename free variable

2015-10-08 Thread kbuild test robot
Hi Heiko, [auto build test ERROR on v4.3-rc4 -- if it's inappropriate base, please ignore] config: x86_64-randconfig-x002-201540 (attached as .config) reproduce: # save the attached .config to linux build tree make ARCH=x86_64 All error/warnings (new ones prefixed by >>):

[PATCH] UBIFS: rename free variable

2015-10-08 Thread Heiko Schocher
rename free variable into not "free", as "free" prevents ubifs sources compiling under U-Boot. So rename "free" into "ifree", where it is an int. Signed-off-by: Heiko Schocher --- fs/ubifs/lprops.c | 54 +++--- 1 file changed, 27 insertions(+),

[PATCH] UBI: rename free variable

2015-10-08 Thread Heiko Schocher
rename free variable into not "free", as "free" prevents ubi sources compiling under U-Boot. So rename "free" into "pfree" where it is a pointer, and into "freel", where it is a free list. Signed-off-by: Heiko Schocher --- drivers/mtd/ubi/fastmap.c | 21 +++-- 1 file changed,

[PATCH] md: workqueue: Remove WQ_CPU_INTENSIVE from unbound workqueue allocations

2015-10-08 Thread Xunlei Pang
From: Xunlei Pang WQ_CPU_INTENSIVE is meaningless for the unbound workqueue, so remove it. Signed-off-by: Xunlei Pang --- drivers/md/dm-crypt.c | 4 ++-- drivers/md/dm-verity.c | 3 ++- drivers/md/raid5.c | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git

Re: [PATCH v4 00/26] ARM: pxa: magician: Rework HTC Magician support

2015-10-08 Thread Petr Cvek
Dne 6.10.2015 v 17:25 Pavel Machek napsal(a): > Hi! Ahoj :-), > >> This patchset will clean, fix, optimize and add multiple devices, >> which can be found on the HTC Magician machine. >> >> Platform data for the pasic3-leds driver has been removed, as this >> driver do not exist in the vanilla.

Re: [PATCH 3/5] clk: imx7d: add ADC root clock

2015-10-08 Thread Shawn Guo
On Thu, Oct 08, 2015 at 11:35:56AM -0700, Stephen Boyd wrote: > On 10/08, Haibo Chen wrote: > > Add ADC root clock support in imx7d clock tree. > > > > Signed-off-by: Haibo Chen > > --- > > I see no cover letter indicating how you want this merged, so: > > Acked-by: Stephen Boyd To clarify,

Re: [PATCH 3/5] clk: imx7d: add ADC root clock

2015-10-08 Thread Shawn Guo
On Thu, Oct 08, 2015 at 11:35:56AM -0700, Stephen Boyd wrote: > On 10/08, Haibo Chen wrote: > > Add ADC root clock support in imx7d clock tree. > > > > Signed-off-by: Haibo Chen > > --- > > I see no cover letter indicating how you want this merged, so: > > Acked-by: Stephen Boyd Applied on

[PATCH] powerpc: Quick fix upstream main line build error on PowerPC

2015-10-08 Thread Dongsheng Wang
From: Wang Dongsheng This issue caused on 'commit 990486c8af04 ("strscpy: zero any trailing garbage bytes in the destination")'. zero_bytemask is not implemented on PowerPC. So copy the zero_bytemask of BIG_ENDIAN implementation from include/asm-generic/word-at-a-time.h to

RE: [PATCH v3] PCI: Xilinx-NWL-PCIe: Added support for Xilinx NWL PCIe Host Controller

2015-10-08 Thread Bharat Kumar Gogada
On 06/10/15 17:27, Bharat Kumar Gogada wrote: > Subject: Re: [PATCH v3] PCI: Xilinx-NWL-PCIe: Added support for Xilinx > NWL PCIe Host Controller [...] >> +struct nwl_msi {/* struct nwl_msi - MSI information */ >> +struct msi_controller chip; /* chip: MSI controller

Re: Re: Re: Re: Re: Re: [PATCH v3] arm: Adding support for atomic half word exchange

2015-10-08 Thread Sarbojit Ganguly
Thank you Will, I will make the required corrections and mail it to patchesAtarm.linux.co.uk and mark [1] as "superseded". Sarbojit [1] http://www.arm.linux.org.uk/developer/patches/viewpatch.php?id=8442/1 --- Original Message --- Sender : Will Deacon Date : Oct 08, 2015 22:26

Re: CFS scheduler unfairly prefers pinned tasks

2015-10-08 Thread Mike Galbraith
On Fri, 2015-10-09 at 08:55 +1100, paul.sz...@sydney.edu.au wrote: > >> Good to see that you agree ... > > Weeell, we've disagreed on pretty much everything ... > > Sorry I disagree: we do agree on the essence. :-) P.S. To some extent. If the essence is $subject, nope, we definitely disagree.

Re: [PATCH 1/1] x86/io_apic: suppress compiler warning

2015-10-08 Thread Jiang Liu
On 2015/10/8 23:55, Andy Shevchenko wrote: > We have to define internally used function as static, otherwise the following > warning will be generated: > > arch/x86/kernel/apic/io_apic.c:532:6: warning: no previous prototype for > ‘eoi_ioapic_pin’ [-Wmissing-prototypes] Hi Andy, Thanks

Re: [Patch V3 2/9] kernel/profile.c: Replace cpu_to_mem() with cpu_to_node()

2015-10-08 Thread Jiang Liu
On 2015/8/20 8:00, David Rientjes wrote: > On Wed, 19 Aug 2015, Jiang Liu wrote: > >> On 2015/8/18 8:31, David Rientjes wrote: >>> On Mon, 17 Aug 2015, Jiang Liu wrote: >>> Function profile_cpu_callback() allocates memory without specifying __GFP_THISNODE flag, so replace cpu_to_mem()

systemtap 2.9 release

2015-10-08 Thread Frank Ch. Eigler
The SystemTap team announces release 2.9! More compiler optimizations, prologue-searching option, backtracing with kernel symbols without debuginfo, callee probe extensions, STAP_PRINTF embedded-C macro, improved debuginfo-related diagnostics, and more tapset functions, reduced translator

Re: [PATCH v4 12/26] ARM: pxa: magician: Rename charger cable detection EGPIOs

2015-10-08 Thread Petr Cvek
Dne 3.10.2015 v 14:38 Philipp Zabel napsal(a): > Am Montag, den 28.09.2015, 23:32 +0200 schrieb Petr Cvek: >> This patch renames EGPIOs, which are used for the charging cable >> presence >> and type detection. Old names did not correspond with an observed >> functionality (on board_id 0x3a). The

[PATCH v5 6/6] dts: mt8173: Add iommu/smi nodes for mt8173

2015-10-08 Thread Yong Wu
This patch add the iommu/larbs nodes for mt8173 Signed-off-by: Yong Wu --- arch/arm64/boot/dts/mediatek/mt8173.dtsi | 81 1 file changed, 81 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi b/arch/arm64/boot/dts/mediatek/mt8173.dtsi index

[PATCH v5 3/6] iommu: add ARM short descriptor page table allocator

2015-10-08 Thread Yong Wu
This patch is for ARM Short Descriptor Format. Signed-off-by: Yong Wu --- drivers/iommu/Kconfig| 18 + drivers/iommu/Makefile | 1 + drivers/iommu/io-pgtable-arm-short.c | 827 +++ drivers/iommu/io-pgtable-arm.c | 3 -

[PATCH v5 5/6] iommu/mediatek: Add mt8173 IOMMU driver

2015-10-08 Thread Yong Wu
This patch adds support for mediatek m4u (MultiMedia Memory Management Unit). Signed-off-by: Yong Wu --- drivers/iommu/Kconfig | 15 + drivers/iommu/Makefile| 1 + drivers/iommu/mtk_iommu.c | 767 ++ 3 files changed, 783 insertions(+)

[PATCH v5 4/6] memory: mediatek: Add SMI driver

2015-10-08 Thread Yong Wu
This patch add SMI(Smart Multimedia Interface) driver. This driver is responsible to enable/disable iommu and control the clocks of each local arbiter Signed-off-by: Yong Wu --- drivers/memory/Kconfig | 8 ++ drivers/memory/Makefile| 1 + drivers/memory/mtk-smi.c | 274

[PATCH v5 1/6] dt-bindings: iommu: Add binding for mediatek IOMMU

2015-10-08 Thread Yong Wu
This patch add mediatek iommu dts binding document. Signed-off-by: Yong Wu --- .../devicetree/bindings/iommu/mediatek,iommu.txt | 61 include/dt-bindings/memory/mt8173-larb-port.h | 105 + 2 files changed, 166 insertions(+) create mode 100644

[PATCH v5 2/6] dt-bindings: mediatek: Add smi dts binding

2015-10-08 Thread Yong Wu
This patch add smi binding document. Signed-off-by: Yong Wu --- .../memory-controllers/mediatek,smi-larb.txt | 25 ++ .../bindings/memory-controllers/mediatek,smi.txt | 24 + 2 files changed, 49 insertions(+) create mode 100644

Re: [PATCH] ethtool: add new emac_regs struct from driver, add new chip types.

2015-10-08 Thread Ben Hutchings
On Fri, 2015-09-25 at 08:15 +0400, Ivan Mikhaylov wrote: > * add new version of emac_regs struct from driver structure perspective > and passing size from actual struct size, not from memory area variable > which set in dts file. > * add three types of network chips for new struct : emac,

[PATCH v5 0/6] MT8173 IOMMU SUPPORT

2015-10-08 Thread Yong Wu
This patch set adds support for m4u(Multimedia Memory Management Unit), Currently it only support the m4u with 2 levels of pagetable on mt8173. It's based on Robin Murphy's latest ARM64 DMA-v6[1]. The dsti is based on MTK clock patch[2]. Please check the hardware block diagram of Mediatek

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

2015-10-08 Thread Stephen Rothwell
Hi Olof, On Thu, 8 Oct 2015 16:43:55 -0700 Olof Johansson wrote: > > Yeah, sorry about that. I got notified by the 0-day builder but by the > time I had sorted it out you must already have pulled the tree. > > Should be fine today. Yeah, I saw that, thanks. -- Cheers, Stephen Rothwell

Re: linux-next: manual merge of the tip tree with the crypto-current tree

2015-10-08 Thread Stephen Rothwell
Hi all, On Fri, 9 Oct 2015 12:47:00 +1100 Stephen Rothwell wrote: > > diff --cc arch/x86/crypto/camellia_aesni_avx_glue.c > index bacaa13acac5,12e729bfe71b.. > --- a/arch/x86/crypto/camellia_aesni_avx_glue.c > +++ b/arch/x86/crypto/camellia_aesni_avx_glue.c > @@@ -554,12 -554,8

Re: [PATCH v7] clk: bcm2835: Add support for programming the audio domain clocks

2015-10-08 Thread Stephen Warren
On 10/08/2015 07:37 PM, Eric Anholt wrote: > This adds support for enabling, disabling, and setting the rate of the > audio domain clocks. It will be necessary for setting the pixel clock > for HDMI in the VC4 driver and let us write a cpufreq driver. It will > also improve compatibility with

Re: CFS scheduler unfairly prefers pinned tasks

2015-10-08 Thread Mike Galbraith
On Fri, 2015-10-09 at 08:55 +1100, paul.sz...@sydney.edu.au wrote: > Dear Mike, > > >>> I see a fairness issue ... but one opposite to your complaint. > >> Why is that opposite? ... > > > > Well, not exactly opposite, only opposite in that the one pert task also > > receives MORE than it's fair

[RFD] pstore: pmsg: ramoops: add multiple pmsg instances

2015-10-08 Thread Hiraku Toyooka
Hello, I'm trying to make the feature of multiple pmsg instances for ramoops. I would like to discuss a possible way of getting the feature added to mainline. The reason to add the multiple pmsg is to preserve particular messages over a long time, which are useful for failure analysis.

Re: linux-next: manual merge of the tip tree with the crypto-current tree

2015-10-08 Thread Ben Hutchings
On Fri, 2015-10-09 at 12:47 +1100, Stephen Rothwell wrote: > Hi all, > > Today's linux-next merge of the tip tree got a conflict in: > > arch/x86/crypto/camellia_aesni_avx_glue.c > > between commit: > > 92b279070dd6 ("crypto: camellia_aesni_avx - Fix CPU feature checks") > > from the

linux-next: manual merge of the tip tree with the crypto-current tree

2015-10-08 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the tip tree got a conflict in: arch/x86/crypto/camellia_aesni_avx_glue.c between commit: 92b279070dd6 ("crypto: camellia_aesni_avx - Fix CPU feature checks") from the crypto-current tree and commit: d91cab78133d ("x86/fpu: Rename XSAVE macros")

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

2015-10-08 Thread Kosuke Tatsukawa
There are several places in net/sunrpc/svcsock.c which calls waitqueue_active() without calling a memory barrier. Add a memory barrier just as in wq_has_sleeper(). I found this issue when I was looking through the linux source code for places calling waitqueue_active() before wake_up*(), but

slab.h debugging tags....

2015-10-08 Thread Valdis Kletnieks
Author: Rasmus Villemoes Date: Wed Oct 7 15:09:20 2015 +1100 slab.h: sprinkle __assume_aligned attributes causes *tons* of whinges if you do 'make C=2' with sparse 0.5.0: CHECK drivers/media/usb/pwc/pwc-if.c include/linux/slab.h:307:43: error: attribute '__assume_aligned__': unknown

[PATCH v7] clk: bcm2835: Add support for programming the audio domain clocks

2015-10-08 Thread Eric Anholt
This adds support for enabling, disabling, and setting the rate of the audio domain clocks. It will be necessary for setting the pixel clock for HDMI in the VC4 driver and let us write a cpufreq driver. It will also improve compatibility with user changes to the firmware's config.txt, since our

Re: [PATCH v6] clk: bcm2835: Add support for programming the audio domain clocks.

2015-10-08 Thread Eric Anholt
Stephen Boyd writes: > Please drop the full-stop from your subject lines. > > On 10/08, Eric Anholt wrote: >> This adds support for enabling, disabling, and setting the rate of the >> audio domain clocks. It will be necessary for setting the pixel clock >> for HDMI in the VC4 driver and let us

Re: [PATCH 3.2 035/107] PCI: Add dev_flags bit to access VPD through function 0

2015-10-08 Thread Ben Hutchings
On Fri, 2015-10-09 at 00:26 +, Rustad, Mark D wrote: > Ben Hutchings wrote: > > > --- a/include/linux/pci.h > > +++ b/include/linux/pci.h > > @@ -176,6 +176,8 @@ enum pci_dev_flags { > > > > PCI_DEV_FLAGS_NO_D3 = (__force pci_dev_flags_t) 2, > > > > /* Provide indication device is

Re: [PATCH 3.2 000/107] 3.2.72-rc1 review

2015-10-08 Thread Ben Hutchings
On Thu, 2015-10-08 at 17:56 -0700, Guenter Roeck wrote: > On 10/08/2015 05:12 PM, Ben Hutchings wrote: > > This is the start of the stable review cycle for the 3.2.72 release. > > There are 107 patches in this series, which will be posted as responses > > to this one. If anyone has any issues

Re: [PATCH 4/8] mmc: sdhci-pxav3: enable proper resuming on Armada 38x SoC

2015-10-08 Thread Jisheng Zhang
Hi Marcin, On Tue, 6 Oct 2015 03:22:38 +0200 Marcin Wojtas wrote: > When resuming from suspend on Armada 38x SoC MBus windows have to be > re-configured and for that purpose mv_conf_mbus_windows function needed > rework. MBus windows register base address obtaining was moved to >

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

2015-10-08 Thread kbuild test robot
Hi Kosuke, [auto build test WARNING on v4.3-rc4 -- if it's inappropriate base, please ignore] reproduce: # apt-get install sparse make ARCH=x86_64 allmodconfig make C=1 CF=-D__CHECK_ENDIAN__ sparse warnings: (new ones prefixed by >>) >> net/sunrpc/svcsock.c:417:28:

Re: [PATCH v2] HID: multitouch: Fetch feature reports on demand for Win8 devices

2015-10-08 Thread Andrew Duggan
On 10/08/2015 02:40 AM, Mika Westerberg wrote: On Wed, Oct 07, 2015 at 06:12:42PM -0700, Andrew Duggan wrote: I can confirm that it is working on the Dell XPS 13 and the buttonpad property is set correctly. However, I also tried it on an older non production precision touchpad and it didn't

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

2015-10-08 Thread kbuild test robot
Hi Kosuke, [auto build test WARNING on v4.3-rc4 -- if it's inappropriate base, please ignore] config: x86_64-randconfig-x002-201540 (attached as .config) reproduce: # save the attached .config to linux build tree make ARCH=x86_64 All warnings (new ones prefixed by >>): In

[PATCH v2 1/5] mmc: sdhci-pxav3: enable proper resuming on Armada 38x SoC

2015-10-08 Thread Marcin Wojtas
When resuming from suspend on Armada 38x SoC MBus windows have to be re-configured and for that purpose mv_conf_mbus_windows function needed rework. MBus windows register base address obtaining was moved to armada_38x_quirks function in order to be kept in pxa global structure, because it is used

Re: [PATCH 3.2 000/107] 3.2.72-rc1 review

2015-10-08 Thread Guenter Roeck
On 10/08/2015 05:12 PM, Ben Hutchings wrote: This is the start of the stable review cycle for the 3.2.72 release. There are 107 patches in this series, which will be posted as responses to this one. If anyone has any issues with these being applied, please let me know. Responses should be made

[PATCH v2 5/5] mmc: sdhci-pxav3: enable modifying MMC_CARD bit during card initialization

2015-10-08 Thread Marcin Wojtas
On Marvell Armada 38x SoC's the MMC_CARD bit in SD_CE_ATA_1 register must be set to 0x1 when a MMC card is supposed to work in DDR mode, or when commands CMD11, CMD14 and CMD20 are used. This commit enables the above for all MMC cards by modifying the host registers during card initialization. It

[PATCH v2 2/5] mmc: sdhci-pxav3: enable usage of DAT3 pin as HW card detect

2015-10-08 Thread Marcin Wojtas
Marvell Armada 38x SDHCI controller enable using DAT3 pin as a hardware card detection. According to the SD sdandard this signal can be used for this purpose combined with a pull-up resistor, implying inverted (active low) polarization of a card detect. MMC standard does not support this feature

[PATCH v2 4/5] mmc: sdhci: add init_card callback to sdhci

2015-10-08 Thread Marcin Wojtas
Some sdhci hosts may require handling quirks during card initialization at the time when its type is already known. Hence a new callback (init_card) is added in sdhci_ops. Signed-off-by: Marcin Wojtas --- drivers/mmc/host/sdhci.c | 9 + drivers/mmc/host/sdhci.h | 1 + 2 files changed,

[PATCH v2 3/5] ARM: mvebu: set SW polling as SDHCI card detection on A388-GP

2015-10-08 Thread Marcin Wojtas
The newest revisions of A388-GP (v1.5 and higher) support only DAT3-based card detection. Revisions < v1.5 based on GPIO detection via I2C expander, but this solution is supposed to be deprecated on new boards. In order to satisfy all type of hardware this commit changes card detection to use

[PATCH v2 0/5] Armada 38x SDHCI driver improvements

2015-10-08 Thread Marcin Wojtas
Hi, I send a second round of remaining A38x SDHCI patches. After lots of discussions I changed card detection mechanism to SW polling in order to satisfy all A388-GP revisions. Any remarks will be welcome. Best regards, Marcin Changes: v1 -> v2 * enable SW polling as card detection * in resume

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

2015-10-08 Thread kbuild test robot
Hi Kosuke, [auto build test WARNING on v4.3-rc4 -- if it's inappropriate base, please ignore] config: xtensa-allyesconfig (attached as .config) reproduce: wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross chmod +x

[PATCH 3.2 104/107] ipv6: update ip6_rt_last_gc every time GC is run

2015-10-08 Thread Ben Hutchings
3.2.72-rc1 review patch. If anyone has any objections, please let me know. -- From: Michal Kubeček commit 49a18d86f66d33a20144ecb5a34bba0d1856b260 upstream. As pointed out by Eric Dumazet, net->ipv6.ip6_rt_last_gc should hold the last time garbage collector was run so that we

[PATCH 3.2 082/107] xhci: give command abortion one more chance before killing xhci

2015-10-08 Thread Ben Hutchings
3.2.72-rc1 review patch. If anyone has any objections, please let me know. -- From: Mathias Nyman commit a6809ffd1687b3a8c192960e69add559b9d32649 upstream. We want to give the command abortion an additional try to stop the command ring before we completely hose xhci.

[PATCH 3.2 078/107] ASoC: fix broken pxa SoC support

2015-10-08 Thread Ben Hutchings
3.2.72-rc1 review patch. If anyone has any objections, please let me know. -- From: Robert Jarzmik commit 3c8f7710c1c44fb650bc29b6ef78ed8b60cfaa28 upstream. The previous fix of pxa library support, which was introduced to fix the library dependency, broke the previous SoC

[PATCH 3.2 087/107] ocfs2/dlm: fix deadlock when dispatch assert master

2015-10-08 Thread Ben Hutchings
3.2.72-rc1 review patch. If anyone has any objections, please let me know. -- From: Joseph Qi commit 012572d4fc2e4ddd5c8ec8614d51414ec6cae02a upstream. The order of the following three spinlocks should be: dlm_domain_lock < dlm_ctxt->spinlock < dlm_lock_resource->spinlock

[PATCH 3.2 077/107] x86/platform: Fix Geode LX timekeeping in the generic x86 build

2015-10-08 Thread Ben Hutchings
3.2.72-rc1 review patch. If anyone has any objections, please let me know. -- From: David Woodhouse commit 03da3ff1cfcd7774c8780d2547ba0d995f7dc03d upstream. In 2007, commit 07190a08eef36 ("Mark TSC on GeodeLX reliable") bypassed verification of the TSC on Geode LX. However,

[PATCH 3.2 071/107] perf header: Fixup reading of HEADER_NRCPUS feature

2015-10-08 Thread Ben Hutchings
3.2.72-rc1 review patch. If anyone has any objections, please let me know. -- From: Arnaldo Carvalho de Melo commit caa470475d9b59eeff093ae650800d34612c4379 upstream. The original patch introducing this header wrote the number of CPUs available and online in one order and

[PATCH 3.2 084/107] xhci: change xhci 1.0 only restrictions to support xhci 1.1

2015-10-08 Thread Ben Hutchings
3.2.72-rc1 review patch. If anyone has any objections, please let me know. -- From: Mathias Nyman commit dca7794539eff04b786fb6907186989e5eaaa9c2 upstream. Some changes between xhci 0.96 and xhci 1.0 specifications forced us to check the hci version in code, some of these

[PATCH 3.2 063/107] Input: evdev - do not report errors form flush()

2015-10-08 Thread Ben Hutchings
3.2.72-rc1 review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit eb38f3a4f6e86f8bb10a3217ebd85ecc5d763aae upstream. We've got bug reports showing the old systemd-logind (at least system-210) aborting unexpectedly, and this turned out to

[PATCH 3.2 064/107] crypto: ghash-clmulni: specify context size for ghash async algorithm

2015-10-08 Thread Ben Hutchings
3.2.72-rc1 review patch. If anyone has any objections, please let me know. -- From: Andrey Ryabinin commit 71c6da846be478a61556717ef1ee1cea91f5d6a8 upstream. Currently context size (cra_ctxsize) doesn't specified for ghash_async_alg. Which means it's zero. Thus

[PATCH 3.2 055/107] IB/qib: Change lkey table allocation to support more MRs

2015-10-08 Thread Ben Hutchings
3.2.72-rc1 review patch. If anyone has any objections, please let me know. -- From: Mike Marciniszyn commit d6f1c17e162b2a11e708f28fa93f2f79c164b442 upstream. The lkey table is allocated with with a get_user_pages() with an order based on a number of index bits from a module

[PATCH 3.2 073/107] Btrfs: fix read corruption of compressed and shared extents

2015-10-08 Thread Ben Hutchings
3.2.72-rc1 review patch. If anyone has any objections, please let me know. -- From: Filipe Manana commit 005efedf2c7d0a270ffbe28d8997b03844f3e3e7 upstream. If a file has a range pointing to a compressed extent, followed by another range that points to the same compressed

[PATCH 3.2 056/107] SUNRPC: xs_reset_transport must mark the connection as disconnected

2015-10-08 Thread Ben Hutchings
3.2.72-rc1 review patch. If anyone has any objections, please let me know. -- From: Trond Myklebust commit 0c78789e3a030615c6650fde89546cadf40ec2cc upstream. In case the reconnection attempt fails. Signed-off-by: Trond Myklebust [bwh: Backported to 3.2: add local variable

[PATCH 3.2 065/107] fs: create and use seq_show_option for escaping

2015-10-08 Thread Ben Hutchings
3.2.72-rc1 review patch. If anyone has any objections, please let me know. -- From: Kees Cook commit a068acf2ee77693e0bf39d6e07139ba704f461c3 upstream. Many file systems that implement the show_options hook fail to correctly escape their output which could lead to unescaped

Re: [PATCH v3 2/2] drm: panel: simple: add QiaoDian qd43003c0-40

2015-10-08 Thread Rob Herring
On Thu, Oct 8, 2015 at 10:42 AM, Alexandre Belloni wrote: > From: Josh Wu > > The QiaoDian Xianshi QD43003C0-40 is a 4"3 TFT LCD panel. > > Timings from the OTA5180A document, ver 0.9, section > 10.1.1: > http://www.orientdisplay.com/pdf/OTA5180A.pdf > > Signed-off-by: Josh Wu >

Re: [PATCH 3/8] mmc: sdhci-pxav3: fix error handling of armada_38x_quirks

2015-10-08 Thread Marcin Wojtas
Thanks for grabbing the three patches! Best regards, Marcin 2015-10-08 19:35 GMT+02:00 Ulf Hansson : > On 6 October 2015 at 03:22, Marcin Wojtas wrote: >> In case of armada_38x_quirks error, all clocks should be cleaned-up, same >> as after mv_conf_mbus_windows failure. >> >> Signed-off-by:

[PATCH 3.2 066/107] ARM: 8429/1: disable GCC SRA optimization

2015-10-08 Thread Ben Hutchings
3.2.72-rc1 review patch. If anyone has any objections, please let me know. -- From: Ard Biesheuvel commit a077224fd35b2f7fbc93f14cf67074fc792fbac2 upstream. While working on the 32-bit ARM port of UEFI, I noticed a strange corruption in the kernel log. The following

[PATCH 3.2 061/107] Add radeon suspend/resume quirk for HP Compaq dc5750.

2015-10-08 Thread Ben Hutchings
3.2.72-rc1 review patch. If anyone has any objections, please let me know. -- From: Jeffery Miller commit 09bfda10e6efd7b65bcc29237bee1765ed779657 upstream. With the radeon driver loaded the HP Compaq dc5750 Small Form Factor machine fails to resume from suspend. Adding a

[PATCH 3.2 076/107] ARM: fix Thumb2 signal handling when ARMv6 is enabled

2015-10-08 Thread Ben Hutchings
3.2.72-rc1 review patch. If anyone has any objections, please let me know. -- From: Russell King commit 9b55613f42e8d40d5c9ccb8970bde6af4764b2ab upstream. When a kernel is built covering ARMv6 to ARMv7, we omit to clear the IT state when entering a signal handler. This can

Re: [PATCH tip/core/rcu 18/18] rcu: Better hotplug handling for synchronize_sched_expedited()

2015-10-08 Thread Josh Triplett
On Thu, Oct 08, 2015 at 05:11:11PM -0700, Paul E. McKenney wrote: > On Thu, Oct 08, 2015 at 11:01:14AM -0700, Josh Triplett wrote: > > On Thu, Oct 08, 2015 at 08:19:03AM -0700, Paul E. McKenney wrote: > > > On Thu, Oct 08, 2015 at 05:12:42PM +0200, Peter Zijlstra wrote: > > > > On Thu, Oct 08,

[PATCH 3.2 057/107] IB/mlx4: Use correct SL on AH query under RoCE

2015-10-08 Thread Ben Hutchings
3.2.72-rc1 review patch. If anyone has any objections, please let me know. -- From: Noa Osherovich commit 5e99b139f1b68acd65e36515ca347b03856dfb5a upstream. The mlx4 IB driver implementation for ib_query_ah used a wrong offset (28 instead of 29) when link type is Ethernet.

[PATCH 3.2 052/107] of/address: Don't loop forever in of_find_matching_node_by_address().

2015-10-08 Thread Ben Hutchings
3.2.72-rc1 review patch. If anyone has any objections, please let me know. -- From: David Daney commit 3a496b00b6f90c41bd21a410871dfc97d4f3c7ab upstream. If the internal call to of_address_to_resource() fails, we end up looping forever in of_find_matching_node_by_address().

  1   2   3   4   5   6   7   8   9   10   >