Re: [PATCH v2] audio: sai: Add Power Management support

2015-09-16 Thread Nicolin Chen
On Mon, Sep 14, 2015 at 05:03:24PM +0800, Alison Wang wrote: > This patch adds Power Management support for SAI. > Activate regmap cache with REGCACHE_FLAT, and use > regmap cache code to save and restore registers in > suspend and resume. The Transmit Control Register > (TCSR) and Receive Control

Re: [PATCH v2 1/2] Staging: wilc1000: Use NULL instead of zero

2015-09-16 Thread Sudip Mukherjee
On Thu, Sep 17, 2015 at 09:09:35AM +0530, Ronit Halder wrote: > On Wed, 2015-09-16 at 20:15 -0700, Greg KH wrote: > > On Thu, Sep 17, 2015 at 08:28:52AM +0530, roni wrote: > > > > I don't remember, that was many hundreds of patches ago, sorry. Try it > > yourself to see if I messed up. Perhaps

Re: DEFINE_IDA causing memory leaks? (was Re: [PATCH 1/2] virtio: fix memory leak of virtio ida cache layers)

2015-09-16 Thread Hannes Reinecke
On 09/17/2015 07:33 AM, Michael S. Tsirkin wrote: > On Wed, Sep 16, 2015 at 07:29:17PM -0500, Suman Anna wrote: >> The virtio core uses a static ida named virtio_index_ida for >> assigning index numbers to virtio devices during registration. >> The ida core may allocate some internal idr cache laye

Re: [Bugfix 3/3] eata: Enhance eata driver to support PCI device hot-removal

2015-09-16 Thread Jiang Liu
On 2015/9/16 21:42, Christoph Hellwig wrote: > On Mon, Sep 14, 2015 at 10:21:14AM +0200, Hannes Reinecke wrote: >> Welll ... if you don't have hardware (and I strongly hope you refer to >> 'hardware able to do hotplugging', not 'hardware for the eata driver' >> ...) why add the code at all? >> Chan

Re: [PATCH 5/6] dmaengine: sun6i: Fix module autoload for OF platform driver

2015-09-16 Thread Maxime Ripard
On Wed, Sep 16, 2015 at 10:59:31PM +0200, Luis de Bethencourt wrote: > This platform driver has 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 Bethencourt Acked-by: Maxime Ripard Thanks! Maxime -- Maxime

[PATCH v2 3/5] net: add Hisilicon Network Subsystem hnae framework support

2015-09-16 Thread huangdaode
HNAE (Hisilicon Network Acceleration Engine) is a framework to provide a unified ring buffer interface for Hisilicon Network Acceleration Engines. With the interface, upper layer can work as ethernet driver, ODP driver or other service driver on purpose. Signed-off-by: huangdaode Signed-off-by:

[PATCH v2 2/5] net: add Hisilicon Network Subsystem MDIO support

2015-09-16 Thread huangdaode
The MDIO support for Hisilicon Network Subsystem. It is used in Hislicon hip04, hip05 and Hi1610 SoC to control the external PHY Signed-off-by: huangdaode Signed-off-by: Yisen Zhuang Signed-off-by: Kenneth Lee --- drivers/net/ethernet/hisilicon/Kconfig | 10 +- drivers/net/ethernet/hisil

[PATCH v2 5/5] net: add Hisilicon Network Subsystem basic ethernet support

2015-09-16 Thread huangdaode
This is to add basic ethernet support for HNS. It is one of the way to use the HNS acceleration engine. But most of the decoding/encoding capability of the AE cannot be used in this way. This submit contains the basic feature as a ethernet driver. More will be added later. Signed-off-by: huangdao

[PATCH v2 1/5] net: add Hisilicon Network Subsystem support (config and documents)

2015-09-16 Thread huangdaode
The Hisilicon Network Subsystem is a long term evolution IP which is supposed to be used in Hisilicon ICT SoC. The IP, which is called hns for short, is a TCP/IP acceleration engine, which can directly decode TCP/IP stream and distribute them to different ring buffers. HNS can be configured to wor

[PATCH v2 0/5] net: Hisilicon Network Subsystem support

2015-09-16 Thread huangdaode
This is V2 of Hisilicon Network Subsystem(HNS) patchesets taking care about LKML comments. Please find out the changes from the change logs. This patchset is rebased on mainline kernel Linux 4.3-rc1 branch. [PATCH v2 1/5] Device Tree Binding Documentation [PATCH v2 2/5] Merge MDIO Module [PATCH

Re: Linux 4.3-rc1 build error with older elfutils "util/symbol-elf.c:41:5: error: no previous prototype for ‘elf_getphdrnum’"

2015-09-16 Thread Adrian Hunter
On 17/09/15 01:10, Vinson Lee wrote: > With Linux 4.3-rc1 I get a perf build error using toolchains with > older elfutils. > > The following build error occurs on both CentOS 5.11 (elfutils 0.137) > and Ubuntu 10.04.4 (elfutils 0.143). > > CC util/symbol-elf.o > cc1: warnings being treate

Re: [PATCH] configfs: Implement binary attributes

2015-09-16 Thread Pantelis Antoniou
Hi Christoph, > On Sep 17, 2015, at 03:37 , Christoph Hellwig wrote: > > Hi Pantelis, > > can you check if your patches become simpler on top of the changes > in this tree: > > http://git.infradead.org/users/hch/block.git/shortlog/refs/heads/configfs.2 > > I recently started using configfs an

Re: [PATCH 0/3] allow zram to use zbud as underlying allocator

2015-09-16 Thread Vlastimil Babka
On 09/15/2015 06:22 AM, Sergey Senozhatsky wrote: On (09/15/15 00:08), Dan Streetman wrote: [..] correct. a bit of internals: we don't scan all the zspages every time. each class has stats for allocated used objects, allocated used objects, etc. so we 'compact' only classes that can be compacted

[PATCH] ARM: dts: imx6qdl: complement the missed clock of spdif

2015-09-16 Thread Shengjiu Wang
Complement the devicetree of spdif node Signed-off-by: Shengjiu Wang --- arch/arm/boot/dts/imx6qdl.dtsi | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/arch/arm/boot/dts/imx6qdl.dtsi b/arch/arm/boot/dts/imx6qdl.dtsi index 53044b0..2b6cc8b 100644 --- a/arch/arm/boot

Re: [PATCH 6/6] dmaengine: xilinx: Fix module autoload for OF platform driver

2015-09-16 Thread Laurent Pinchart
On Wednesday 16 September 2015 23:00:17 Luis de Bethencourt wrote: > This platform driver has 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 Bethencourt Acked-by: Laurent Pinchart > --- > drivers/dma/xilin

[RFC PATCH v4 0/4] arm/arm64: fix a migrating irq bug when hotplug cpu

2015-09-16 Thread Yang Yingliang
Changes in v4: - select GENERIC_IRQ_MIGRATION when config GENERIC_IRQ_MIGRATION is enabled - add move_irqs() into kerne/irq/migration.c for cpu hotplug - use move_irqs() to migrate interrupts on arm/arm64 when cpu is going to down - split bugfix patch into seperate patches for arm and arm6

Re: [PATCH] [media] omap3isp: Fix module autoloading

2015-09-16 Thread Laurent Pinchart
On Thursday 17 September 2015 01:31:38 Javier Martinez Canillas wrote: > Platform drivers needs to export the OF id table and this be built > into the module or udev will not have the necessary information to > autoload the driver module when the device is registered via OF. > > Signed-off-by: Jav

Re: [PATCH] [v4] PM / hibernate: Fix hibernation panic caused by inconsistent e820 map

2015-09-16 Thread Pavel Machek
> v3: > - Adjust the logic to exclude the end_pfn boundary in pfn_mapped >when invoking mark_valid_pages, because the end_pfn is not >a mapped page frame, we should not regard it as a valid page. > >Move the sanity check of valid pages to a early stage in resuming >process(moved t

[Bugfix 1/2] ACPI, PCI, irq: Do not share PCI IRQ with ISA IRQ

2015-09-16 Thread Jiang Liu
Avoid IRQs occupied by ISA IRQs when allocating IRQs for PCI link devices, otherwise it may cause interrupt storm due to incompatible pin attributes. This issue was triggered on a KVM virtual machine, which 1) uses IRQ9 for SCI in high level mode. 2) defines an PCI interrupt link device (LNKS) wit

[Bugfix 2/2] ACPI / PCI: Remove duplicated penalty on SCI IRQ

2015-09-16 Thread Jiang Liu
Now we have dedicated interface acpi_penalize_sci_irq() to penalize ISA IRQ used by ACPI SCI, so remove duplicated code to penalize ACPI SCI in acpi_irq_penalty_init(). Signed-off-by: Jiang Liu --- drivers/acpi/pci_link.c |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/d

Re: [PATCH 2/2] selftests/pstore: add pstore test scripts going with reboot

2015-09-16 Thread Hiraku Toyooka
Hello, >> +prlog "Causing kernel crash ..." >> + >> +# enable all functions triggered by sysrq >> +echo 1 > /proc/sys/kernel/sysrq >> +# setting to reboot in 3 seconds after panic >> +echo 3 > /proc/sys/kernel/panic >> +# setting to cause panic when oops occurs >> +echo 1 > /proc/sys/kernel/panic

Re: [PATCH 1/2] selftests/pstore: add pstore test script for pre-reboot

2015-09-16 Thread Hiraku Toyooka
Hello, > It may be good if you can log "/sys/module/pstore/parameters/backend/" > or /proc/cmdline in failure case. > > It makes debug easy. OK, I'll have the script log the information in v2. Best regards, Hiraku Toyooka 阿口誠司 / AGUCHI,SEIJI wrote: Hi, +prlog -n "Checking pstore backend is

turn panic into data corruption, dangerous patch was Re: [PATCH] [v3] PM / hibernate: Fix hibernation panic caused by inconsistent e820 map

2015-09-16 Thread Pavel Machek
On Wed 2015-09-02 20:06:28, Chen Yu wrote: > On some platforms, there is occasional panic triggered when trying to > resume from hibernation, a typical panic looks like: > > BUG: unable to handle kernel paging request at 880085894000 > IP: [] load_image_lzo+0x8c2/0xe70 > > This is because e82

Re: [PATCH 10/10] scsi: ufs-exynos: add UFS host support for Exynos SoCs

2015-09-16 Thread Alim Akhtar
HI Amit, On 08/26/2015 12:12 PM, amit daniel kachhap wrote: On Fri, Aug 21, 2015 at 2:58 PM, Alim Akhtar wrote: From: Seungwon Jeon This patch introduces Exynos UFS host controller driver, which mainly handles vendor-specific operations including link startup, power mode change and hibernati

[lkp] [Btrfs] b659ef0277: +159.7% fileio.requests_per_sec

2015-09-16 Thread kernel test robot
FYI, we noticed the below changes on https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master commit b659ef027792219b590d67a2baf1643a93727d29 ("Btrfs: avoid syncing log in the fast fsync path when not necessary") =

Re: [PATCH] [v2] PM / hibernate: Fix hibernation panic caused by inconsistent e820 map

2015-09-16 Thread Pavel Machek
Hi! > PM: Image mismatch: memory size > > This is also because BIOS provides different e820 memory map before/after > hibernation, and linux regards it as invalid process and refuses to > resume, in order to protect against data corruption. However, > this check might be too strict, consider the

Re: [PATCH] driver core: Ensure proper suspend/resume ordering

2015-09-16 Thread Tomeu Vizoso
On 17 September 2015 at 02:27, Rafael J. Wysocki wrote: > On Wednesday, September 16, 2015 03:22:37 PM Alan Stern wrote: >> >> It would also help if your patch checked to see if the device has any >> children, and avoided moving it to the end of the list if it does. In >> fact, that might be suff

Re: [linux41] regression with 'x86/cacheinfo: Move cacheinfo sysfs code to generic infrastructure' on AMD i686

2015-09-16 Thread Philip Müller
Am 17.09.2015 um 01:52 schrieb Josh Boyer: > > Did this actually happen? I don't see either fix in Linus' tree yet, > the merge window is closed, and the bug happens on 4.1 and 4.2 stable > kernels.. > > josh > Seems not yet. I don't see it neither in 4.3-rc1. Seems 4.3 will have the same issu

[RFC PATCH v4 4/4] arm: fix a migrating irq bug when hotplug cpu

2015-09-16 Thread Yang Yingliang
When cpu is disabled, all irqs will be migratged to another cpu. In some cases, a new affinity is different, it needed to be coppied to irq's affinity. But if the type of irq is LPI, it's affinity will not be coppied because of irq_set_affinity's return value. Fix it by using irq_do_set_affinity.

DEFINE_IDA causing memory leaks? (was Re: [PATCH 1/2] virtio: fix memory leak of virtio ida cache layers)

2015-09-16 Thread Michael S. Tsirkin
On Wed, Sep 16, 2015 at 07:29:17PM -0500, Suman Anna wrote: > The virtio core uses a static ida named virtio_index_ida for > assigning index numbers to virtio devices during registration. > The ida core may allocate some internal idr cache layers and > an ida bitmap upon any ida allocation, and all

Re: [PATCH] [v4] x86, suspend: Save/restore extra MSR registers for suspend

2015-09-16 Thread Pavel Machek
On Thu 2015-08-27 11:18:27, Chen Yu wrote: > A bug is reported(https://bugzilla.redhat.com/show_bug.cgi?id=1227208) > that, after resumed from S3, CPU is running at a low speed. > After investigation, it is found that, BIOS has modified the value > of THERM_CONTROL register during S3, and changes i

[RFC PATCH v4 2/4] genirq: add move_irqs() for cpu hotplug

2015-09-16 Thread Yang Yingliang
Add move_irqs() into kernel/irq/migration.c. So we can use it to migrate interrupts, when cpu is offline. Cc: Jiang Liu Cc: Thomas Gleixner Cc: Marc Zyngier Cc: Mark Rutland Cc: Will Deacon Cc: Russell King - ARM Linux Cc: Hanjun Guo Signed-off-by: Yang Yingliang --- include/linux/irq.h

Re: [PATCHv2 03/16] staging: rtl8192u: r8192U_core: add temporary variables to keep lines under 80 characters

2015-09-16 Thread Greg Kroah-Hartman
On Thu, Sep 17, 2015 at 01:06:33AM -0400, Raphaël Beamonte wrote: > 2015-09-17 0:57 GMT-04:00 Greg Kroah-Hartman : > > >> @@ -1748,8 +1755,9 @@ static short rtl8192_usb_initendpoints(struct > >> net_device *dev) > >> oldaddr = priv->oldaddr; > >> align = ((long)oldaddr

Re: omapdss: Division by zero in kernel

2015-09-16 Thread Pavel Machek
> > if (image->depth == 1) { > > if (p->fix.visual == FB_VISUAL_TRUECOLOR || > > p->fix.visual == FB_VISUAL_DIRECTCOLOR) { > > fgcolor = > > ((u32*)(p->pseudo_palette))[image->fg_color]; > > bgcolor = > >

[PATCH v2 1/3] regmap: irq: add support for chips who have separate unmask registers

2015-09-16 Thread Barry Song
From: Guo Zeng Some chips have separate unmask registers from mask registers for some consideration of concurrency SMP write performance. And this patch adds a flag for it. An user will be CSR SiRFSoC ARM chips. Signed-off-by: Guo Zeng Signed-off-by: Barry Song --- drivers/base/regmap/regmap

Re: Possible netlink autobind regression

2015-09-16 Thread Herbert Xu
On Wed, Sep 16, 2015 at 10:02:00PM -0700, Cong Wang wrote: > > This part doesn't look correct, seems it is checking if this is a kernel > netlink socket rather than if it is bound. But I am not sure... Good point. I've changed it so that bound is only set for non-kernel sockets. ---8<--- netlink

[PATCH v2 3/3] mfd: add CSR SiRFSoC on-chip power management module driver

2015-09-16 Thread Barry Song
From: Guo Zeng CSR SiRFSoC Power Control Module includes power on or power off for sysctl power and gnss, it also includes onkey, RTC domain clock controllers and interrupt controller for power events. Signed-off-by: Guo Zeng Signed-off-by: Barry Song --- .../devicetree/bindings/mfd/sirf-pwrc

[PATCH v2 2/3] regmap: irq: add ack_invert flag for chips using cleared bits as ack

2015-09-16 Thread Barry Song
From: Guo Zeng An user will be CSR SiRFSoC ARM chips. Signed-off-by: Guo Zeng Signed-off-by: Barry Song --- drivers/base/regmap/regmap-irq.c | 12 ++-- include/linux/regmap.h | 2 ++ 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/drivers/base/regmap/regmap-

Re: [v4,1/2] powerpc32: memcpy: only use dcbz once cache is enabled

2015-09-16 Thread Michael Ellerman
On Wed, 2015-16-09 at 10:04:51 UTC, LEROY Christophe wrote: > memcpy() uses instruction dcbz to speed up copy by not wasting time > loading cache line with data that will be overwritten. > Some platform like mpc52xx do no have cache active at startup and > can therefore not use memcpy(). Allthough

Re: [v4,2/2] powerpc32: memset: only use dcbz once cache is enabled

2015-09-16 Thread Michael Ellerman
On Wed, 2015-16-09 at 10:04:53 UTC, LEROY Christophe wrote: > memset() uses instruction dcbz to speed up clearing by not wasting time > loading cache line with data that will be overwritten. > Some platform like mpc52xx do no have cache active at startup and > can therefore not use memset(). Alltho

Re: [PATCHv2 03/16] staging: rtl8192u: r8192U_core: add temporary variables to keep lines under 80 characters

2015-09-16 Thread Raphaël Beamonte
2015-09-17 0:57 GMT-04:00 Greg Kroah-Hartman : >> @@ -1748,8 +1755,9 @@ static short rtl8192_usb_initendpoints(struct >> net_device *dev) >> oldaddr = priv->oldaddr; >> align = ((long)oldaddr) & 3; >> if (align) { >> - newaddr = oldadd

Darlehen Angebot 2%

2015-09-16 Thread Credit Acceptance Loans
-- Guten Tag, Sind Sie in der Notwendigkeit einer Kredit? Im Allgemeinen Credit Acceptance in Großbritannien. Wir sind zertifiziert Darlehen Kreditgeber bietet Darlehen an Menschen, die in Not von Darlehen bieten wir Wohnungsbaudarlehen, Investoren Darlehen, Schuldenkonsolidierung Darlehen,

Re: Possible netlink autobind regression

2015-09-16 Thread Cong Wang
On Wed, Sep 16, 2015 at 8:41 PM, Herbert Xu wrote: > On Thu, Sep 17, 2015 at 11:08:45AM +0800, Herbert Xu wrote: >> >> Good catch! I think your explanation makes perfect sense. Linus >> ran into this previously too after suspend-and-resume. > > Unfortunately you can't just postpone the setting of

Re: [PATCH 20/31] fs/cifs: use kmemdup rather than duplicating its implementation

2015-09-16 Thread Steve French
loooks reasonable to me - isn't this part of a larger patch series though? Did you want it merged distinctly into cifs-2.6.git? On Fri, Aug 7, 2015 at 2:59 AM, Andrzej Hajda wrote: > The patch was generated using fixed coccinelle semantic patch > scripts/coccinelle/api/memdup.cocci [1]. > > [1]:

Re: [PATCHv2 03/16] staging: rtl8192u: r8192U_core: add temporary variables to keep lines under 80 characters

2015-09-16 Thread Greg Kroah-Hartman
On Fri, Sep 11, 2015 at 03:29:11AM -0400, Raphaël Beamonte wrote: > Add some temporary variables to reduce line length under the maximum > of 80 characters, as per the kernel code style. > > Signed-off-by: Raphaël Beamonte > --- > drivers/staging/rtl8192u/r8192U_core.c | 139 > +

Re: [PATCHv2 02/16] staging: rtl8192u: r8192U_core: add line breaks to keep lines under 80 characters

2015-09-16 Thread Greg Kroah-Hartman
On Fri, Sep 11, 2015 at 03:29:10AM -0400, Raphaël Beamonte wrote: > Add line breaks in multiple lines to keep them under 80 characters, > as to follow the kernel code style. > > Signed-off-by: Raphaël Beamonte > --- > drivers/staging/rtl8192u/r8192U_core.c | 626 > ++

Re: [PATCH] staging: fsl-mc: up-rev version of MC interface code

2015-09-16 Thread Greg KH
On Tue, Sep 15, 2015 at 03:22:00PM -0500, J. German Rivera wrote: > The DPAA2 management complex has a versioned binary interface > that has to be kept in sync with the DPAA2 drivers. This patch > uprevs the APIs that build MC commands and parse results. > This uprev is needed to support object int

Re: [PATCH] staging: wilc1000: Added new lines

2015-09-16 Thread Greg KH
On Wed, Sep 16, 2015 at 05:42:42PM +0530, Aparna Karuthodi wrote: > Added new lines after declarations for removing coding style warnings > detected by checkpatch.The warnings are given below: > > 1561: WARNING: Missing a blank line after declarations > 1551: WARNING: Missing a blank line after de

Re: [PATCH] staging: wilc1000: Added spaces

2015-09-16 Thread Greg KH
On Thu, Sep 17, 2015 at 12:12:50AM +0530, Aparna Karuthodi wrote: > Added spaces around '=' to remove coding style errors detected by > checkpatch.The errors are given below: > drivers/staging/wilc1000/host_interface.c:7951: ERROR: spaces required > around that '=' (ctx:VxV) > drivers/staging/wilc1

Re: [GIT PULL] USB fixes for v4.3-rc2

2015-09-16 Thread Greg KH
On Wed, Sep 16, 2015 at 11:45:19AM -0500, Felipe Balbi wrote: > Hi Greg, > > Here's the first set of fixes for v4.3-rc cycle. Please consider > merging. Patches have been tested on platforms I have around > (AM437x, AM335x, DRA7x) and have been in next for a few days. > > Let me know if you want

Re: [PATCH] fs-writeback: drop wb->list_lock during blk_finish_plug()

2015-09-16 Thread Dave Chinner
On Wed, Sep 16, 2015 at 11:48:59PM -0400, Chris Mason wrote: > On Thu, Sep 17, 2015 at 10:37:38AM +1000, Dave Chinner wrote: > > [cc Tejun] > > > > On Thu, Sep 17, 2015 at 08:07:04AM +1000, Dave Chinner wrote: > > # ./fs_mark -D 1 -S0 -n 1 -s 4096 -L 120 -d > > /mnt/scratch/0

Re: [PATCH] Staging: lustre: lustre: mdc: lproc_mdc.c: declared file_operations struct as const

2015-09-16 Thread Greg KH
On Wed, Sep 16, 2015 at 06:01:01PM +0530, Sakshi Vaid wrote: > Declared the file_operations structure as const as done elsewhere in the > kernel, as there are no modifiactions to this field. > > Following warning found by checkpatch > WARNING: struct file_operations should normally be const > > S

Re: [PATCH] Staging: lustre: lustre: mgc: mgc_request.c: Removed unnecessary space

2015-09-16 Thread Greg KH
On Wed, Sep 16, 2015 at 06:27:12PM +0530, Sakshi Vaid wrote: > Removed the unnecessary space in the declaration of a pointer. > The following error was given. > ERROR: "foo * bar" should be "foo *bar" > > Signed-off-by: Sakshi Vaid > --- > drivers/staging/lustre/lustre/mgc/mgc_request.c

linux-next: build failure after merge of the libata tree

2015-09-16 Thread Stephen Rothwell
Hi Tejun, After merging the libata tree, today's linux-next build (powercp allmodconfig) failed like this: drivers/ata/pata_macio.c:1347:1: error: 'pata_macio_patch' undeclared here (not in a function) drivers/ata/pata_macio.c:1347:1: error: '__mod_of__pata_macio_patch_device_table' aliased to

Re: [PATCH 09/13] Move bp_type_idx to kernel/event/hw_breakpoint.c

2015-09-16 Thread Palmer Dabbelt
On Tue, 15 Sep 2015 12:39:10 PDT (-0700), pet...@infradead.org wrote: > On Tue, Sep 15, 2015 at 11:40:11AM -0700, Palmer Dabbelt wrote: >> On Tue, 15 Sep 2015 01:06:07 PDT (-0700), pet...@infradead.org wrote: >> > On Mon, Sep 14, 2015 at 03:50:43PM -0700, Palmer Dabbelt wrote: >> >> This has a "#if

Re: [PATCH] fs-writeback: drop wb->list_lock during blk_finish_plug()

2015-09-16 Thread Chris Mason
On Thu, Sep 17, 2015 at 10:37:38AM +1000, Dave Chinner wrote: > [cc Tejun] > > On Thu, Sep 17, 2015 at 08:07:04AM +1000, Dave Chinner wrote: > > On Wed, Sep 16, 2015 at 04:00:12PM -0400, Chris Mason wrote: > > > On Wed, Sep 16, 2015 at 09:58:06PM +0200, Jan Kara wrote: > > > > On Wed 16-09-15 11:1

Re: Possible netlink autobind regression

2015-09-16 Thread Herbert Xu
On Thu, Sep 17, 2015 at 11:08:45AM +0800, Herbert Xu wrote: > > Good catch! I think your explanation makes perfect sense. Linus > ran into this previously too after suspend-and-resume. Unfortunately you can't just postpone the setting of portid because once you pass it onto rhashtable the portid

Re: [PATCH v2 1/2] Staging: wilc1000: Use NULL instead of zero

2015-09-16 Thread Ronit Halder
On Wed, 2015-09-16 at 20:15 -0700, Greg KH wrote: > On Thu, Sep 17, 2015 at 08:28:52AM +0530, roni wrote: > > Sorry for the ambiguity. > > I am talking about my second patch in the series. > > https://lkml.org/lkml/2015/9/15/293 > > > > > > None of the line edited in first patch haven't changed af

RE: [PATCH v8 03/13] KVM: Define a new interface kvm_intr_is_single_vcpu()

2015-09-16 Thread Wu, Feng
> -Original Message- > From: Paolo Bonzini [mailto:pbonz...@redhat.com] > Sent: Wednesday, September 16, 2015 5:23 PM > To: Wu, Feng; alex.william...@redhat.com; j...@8bytes.org; > mtosa...@redhat.com > Cc: eric.au...@linaro.org; k...@vger.kernel.org; > io...@lists.linux-foundation.org; l

Re: [PATCH v2 1/2] Staging: wilc1000: Use NULL instead of zero

2015-09-16 Thread Greg KH
On Thu, Sep 17, 2015 at 08:28:52AM +0530, roni wrote: > Sorry for the ambiguity. > I am talking about my second patch in the series. > https://lkml.org/lkml/2015/9/15/293 > > > > None of the line edited in first patch haven't changed after that. > > You applied the version 1 of the first patch in

[lkp] [sched/numa] 2a595721a1: No primary change, -4.1% pigz.time.system_time, -35.6% pigz.time.involuntary_context_switches

2015-09-16 Thread kernel test robot
FYI, we noticed the below changes on https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master commit 2a595721a1fa6b684c1c818f379bef834ac3d65e ("sched/numa: Convert sched_numa_balancing to a static_branch") ===

Re: [PATCH V2] dummy_hcd: replace timeval with timespec64

2015-09-16 Thread Pingbo Wen
add Alan Stern On Thursday, September 17, 2015 11:09 AM, WEN Pingbo wrote: > The millisecond of the last second will be normal if tv_sec is > overflowed. But for y2038 consistency and demonstration purpose, > and avoiding further risks, we need to remove 'timeval' in this > driver, to avoid simila

[PATCH V2] dummy_hcd: replace timeval with timespec64

2015-09-16 Thread WEN Pingbo
The millisecond of the last second will be normal if tv_sec is overflowed. But for y2038 consistency and demonstration purpose, and avoiding further risks, we need to remove 'timeval' in this driver, to avoid similair problems. V2 Updates: - using monotonic time here by replacing getnstimeofday()

Re: Possible netlink autobind regression

2015-09-16 Thread Herbert Xu
On Wed, Sep 16, 2015 at 10:29:09PM -0400, Tejun Heo wrote: > > Anyways, after the patch, it seems something like the following could > happen. Good catch! I think your explanation makes perfect sense. Linus ran into this previously too after suspend-and-resume. I'll look into it. Thanks! -- Em

Re: [PATCH 11/13] Always define MAX_RAW_MINORS as 65535 in userspace

2015-09-16 Thread Palmer Dabbelt
On Tue, 15 Sep 2015 13:42:47 PDT (-0700), h...@zytor.com wrote: > On 09/14/2015 03:50 PM, Palmer Dabbelt wrote: >> While I don't think this was ever meant to be exposed to userspace, if >> anyone is using it then this will at least provide a correct (if >> unlikely) definition. >> >> MAX_RAW_MINORS

Re: [PATCH 2/2] ASoC: atmel-classd: DT binding for Class D audio amplifier driver

2015-09-16 Thread Wu, Songjun
On 9/17/2015 03:42, Mark Brown wrote: On Tue, Sep 15, 2015 at 11:11:53AM +0800, Wu, Songjun wrote: I try to use one entry, but there is a problem. It's about 'driver_data' in struct device. In function snd_soc_register_card, the parameter 'card' will be set to 'driver_data' by the code 'dev_s

linux-next: Tree for Sep 17

2015-09-16 Thread Stephen Rothwell
Hi all, Changes since 20150916: Unropped tree: akpm-current I used the h8300 tree from next-20150828 since the current tree has been rebased onto something very old :-( The drm-intel tree gained a conflict against Linus' tree. The net-next tree lost its build failure. The bluetooth

Re: [PATCH v2 1/2] Staging: wilc1000: Use NULL instead of zero

2015-09-16 Thread roni
Sorry for the ambiguity. I am talking about my second patch in the series. https://lkml.org/lkml/2015/9/15/293 > > None of the line edited in first patch haven't changed after that. You applied the version 1 of the first patch in the series https://git.kernel.org/cgit/linux/kernel/git/gregkh/stag

[lkp] [ACPI] 73a092e801: cannot_create/sys/devices/system/cpu/cpu*/cpufreq/scaling_governor:Directory_nonexistent

2015-09-16 Thread kernel test robot
FYI, we noticed the below changes on git://linux-arm.org/linux-skn acpi_lpi commit 73a092e801e9938496b71acc9434fb33a9d65d34 ("ACPI: tables: simplify acpi_parse_entries") = tbox_group/testcase/rootfs/kconfig/c

[PATCH] staging/lustre: use __noreturn for lbug_with_loc

2015-09-16 Thread Juston Li
fixes sparse error: drivers/staging/lustre/lustre/libcfs/linux/linux-debug.c:149:6: error: symbol 'lbug_with_loc'redeclared with different type (originally declared at drivers/staging/lustre/lustre/libcfs/linux/../../../include/linux/libcfs/libcfs_private.h:82) - different modifiers Use the __nore

Re: [PATCH] barriers: introduce smp_mb__release_acquire and update documentation

2015-09-16 Thread Boqun Feng
On Wed, Sep 16, 2015 at 12:07:06PM +0100, Will Deacon wrote: > On Wed, Sep 16, 2015 at 11:43:14AM +0100, Peter Zijlstra wrote: > > On Wed, Sep 16, 2015 at 11:29:08AM +0100, Will Deacon wrote: > > > > Indeed, that is a hole in the definition, that I think we should close. > > > > > I'm struggling t

[PATCH] workqueue: Free useless memory when disabling NUMA in wq_numa_init()

2015-09-16 Thread Xunlei Pang
From: Xunlei Pang wq_update_unbound_numa_attrs_buf and tbl will never be used in case of invalid NUMA node mapping, so just free them. Signed-off-by: Xunlei Pang --- kernel/workqueue.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/kernel/workqueue.c b/kernel/workqueue.c index ca71

Re: [PATCH v3 3/6] iommu: add ARM short descriptor page table allocator.

2015-09-16 Thread Yong Wu
On Wed, 2015-09-16 at 13:55 +0100, Will Deacon wrote: > Hello Yong, > > On Mon, Sep 14, 2015 at 01:25:00PM +0100, Yong Wu wrote: > > On Tue, 2015-07-21 at 18:11 +0100, Will Deacon wrote: > > > > + ret = _arm_short_map(data, iova, paddr, pgdprot, pteprot, > > > > large); > > > > + > > > > +

Possible netlink autobind regression

2015-09-16 Thread Tejun Heo
Hello, We're seeing processes piling up on audit_cmd_mutex and after some digging it turns out sometimes audit_receive() ends up recursing into itself causing an A-A deadlock on audit_cmd_mutex. Here's the backtrace. PID: 1939995 TASK: 88085bdde360 CPU: 27 COMMAND: "crond" #0 [8803

Re: [PATCH v2 1/2] Staging: wilc1000: Use NULL instead of zero

2015-09-16 Thread Greg KH
A: No. Q: Should I include quotations after my reply? http://daringfireball.net/2007/07/on_top On Thu, Sep 17, 2015 at 07:13:39AM +0530, Ronit Halder wrote: > Why not the second one? Second what? > None of the line edited in first patch haven't changed after that. I don't understand what you

linux-next: build failure after merge of the akpm-current tree

2015-09-16 Thread Stephen Rothwell
Hi Andrew, After merging the akpm-current tree, today's linux-next build (powerpc ppc64_defconfig) failed like this: mm/page_alloc.c:184:14: error: conflicting types for 'pageblock_order' unsigned int pageblock_order __read_mostly; ^ In file included from include/linux/mmzone.h:17:

Re: [PATCH] fs-writeback: drop wb->list_lock during blk_finish_plug()

2015-09-16 Thread Dave Chinner
On Wed, Sep 16, 2015 at 06:12:29PM -0700, Linus Torvalds wrote: > On Wed, Sep 16, 2015 at 5:37 PM, Dave Chinner wrote: > > > > TL;DR: Results look really bad - not only is the plugging > > problematic, baseline writeback performance has regressed > > significantly. > > Dave, if you're testing my

Re: [PATCH 05/27] perf record, bpf: Parse and create probe points for BPF programs

2015-09-16 Thread Wangnan (F)
On 2015/9/17 5:43, Arnaldo Carvalho de Melo wrote: Em Sun, Sep 06, 2015 at 07:13:21AM +, Wang Nan escreveu: This patch introduces bpf__{un,}probe() functions to enable callers to create kprobe points based on section names of BPF programs. It parses Ok, so now I see that when we do:

Re: [PATCH] mach-s3c64xx:Fix error handling for certain calls to s3c_gpio_cfgpin_range in the file dev-audio.c

2015-09-16 Thread Krzysztof Kozlowski
On 17.09.2015 10:51, Nicholas Krause wrote: > This fixes error handling for calls to the function > s3c_gpio_cfgpin_range in the file dev-audio.c that > assume calls to this particular function always run > successfully to properly check now if these calls > fail by returning a error code and if so

Re: First kernel patch (optimization)

2015-09-16 Thread Jaime Arrocha
On 09/16/2015 07:56 AM, David Laight wrote: From: Austin S Hemmelgarn Sent: 16 September 2015 12:46 On 2015-09-15 20:09, Steve Calfee wrote: On Tue, Sep 15, 2015 at 12:53 PM, Eric Curtin wrote: Signed-off-by: Eric Curtin diff --git a/tools/usb/usbip/src/usbip_detach.c b/tools/usb/usbip/sr

Re: [PATCH 6/8] mmc: dw_mmc: Generic MMC tuning with the clock phase framework

2015-09-16 Thread Jaehoon Chung
Hi, On 09/16/2015 11:52 PM, Heiko Stübner wrote: > Hi, > > Am Mittwoch, 16. September 2015, 11:30:26 schrieb Jaehoon Chung: >> On 09/16/2015 07:09 AM, Heiko Stübner wrote: >>> Am Dienstag, 15. September 2015, 17:25:38 schrieb Jaehoon Chung: On 09/01/2015 03:24 AM, Heiko Stuebner wrote: >

Re: [PATCH] driver core: Ensure proper suspend/resume ordering

2015-09-16 Thread Rafael J. Wysocki
On Thu, Sep 17, 2015 at 2:27 AM, Rafael J. Wysocki wrote: > On Wednesday, September 16, 2015 03:22:37 PM Alan Stern wrote: >> On Wed, 16 Sep 2015, Thierry Reding wrote: [cut] > > And I'm wondering if and how that is related to runtime PM? It only > covers the system sleep transitions case, but

Re: [PATCH] cpufreq: integrator: Fix module autoload for OF platform driver

2015-09-16 Thread Viresh Kumar
On 16-09-15, 22:24, Luis de Bethencourt wrote: > This platform driver has 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 Bethencourt > --- > > Hello, > > This patch adds the missing MODULE_DEVICE_TABLE() for

Re: [PATCH] barriers: introduce smp_mb__release_acquire and update documentation

2015-09-16 Thread Boqun Feng
On Wed, Sep 16, 2015 at 05:38:14PM +0100, Will Deacon wrote: > On Wed, Sep 16, 2015 at 12:49:18PM +0100, Boqun Feng wrote: > > Hi Will, > > Hello, > > > On Tue, Sep 15, 2015 at 05:13:30PM +0100, Will Deacon wrote: > > > +If necessary, ordering can be enforced by use of an > > > +smp_mb__release_a

RE: [PATCH v8 09/13] KVM: Add an arch specific hooks in 'struct kvm_kernel_irqfd'

2015-09-16 Thread Wu, Feng
> -Original Message- > From: Paolo Bonzini [mailto:pbonz...@redhat.com] > Sent: Wednesday, September 16, 2015 5:27 PM > To: Wu, Feng; alex.william...@redhat.com; j...@8bytes.org; > mtosa...@redhat.com > Cc: eric.au...@linaro.org; k...@vger.kernel.org; > io...@lists.linux-foundation.org; l

Re: how to check how much data left to sync to disk at umount?

2015-09-16 Thread Dave Chinner
On Mon, Sep 07, 2015 at 01:29:33PM +0800, Jeff Chua wrote: > When umount a slow device such as an SD card, the command will take a > while to run depending on how much data is left to write to the > device. Is there way to check how much data is remaining waiting to > write to the device? $ grep "

[PATCH] iommu-common: Do not try to deref a null iommu->lazy_flush() pointer when n < pool->hint

2015-09-16 Thread Sowmini Varadhan
The check for invoking iommu->lazy_flush() from iommu_tbl_range_alloc() has to be refactored so that we only call ->lazy_flush() if it is non-null. Signed-off-by: Sowmini Varadhan --- lib/iommu-common.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/iommu-commo

Re: [PATCH v2 1/2] Staging: wilc1000: Use NULL instead of zero

2015-09-16 Thread Ronit Halder
Why not the second one? None of the line edited in first patch haven't changed after that. On Tue, Sep 15, 2015 at 7:24 PM, Greg KH wrote: > On Tue, Sep 15, 2015 at 03:04:58PM +0530, Ronit Halder wrote: >> This patch fixes the warning generated by sparse >> "Using plain integer as NULL pointer" b

Re: [RFD] memory pressure and sizing problem

2015-09-16 Thread Dave Chinner
On Thu, Sep 03, 2015 at 11:44:45AM -0400, Tejun Heo wrote: > Hello, > > It's bothering that we don't have a good mechanism to detect and > expose memory pressure and it doesn't seem to be for want of trying. > I've been thinking about it for several days and would like to find > out whether it mak

[PATCH] gpio: mention in DT binding doc that -gpio is also supported

2015-09-16 Thread Javier Martinez Canillas
The GPIO DT binding doc mentions that GPIO are mapped by defining a -gpios property in the consumer device's node but a -gpio sufix is also supported after commit: dd34c37aa3e8 ("gpio: of: Allow -gpio suffix for property names") Update the DT binding documentation to match the implementation. Si

Re: [PATCH 0/2] prepare zbud to be used by zram as underlying allocator

2015-09-16 Thread Sergey Senozhatsky
On (09/16/15 13:48), Vitaly Wool wrote: > as a follow-up to my previous patchset, I decided to first prepare > zbud/zpool related patches and then have some testing rounds and > performance measurements for zram running over both, and come up > with improved/verified zram/zpool patches then. Hi,

Re: [RFC] Potential issue with GPIO/IRQ flags

2015-09-16 Thread Rob Herring
On Wed, Sep 16, 2015 at 4:07 PM, Andrew F. Davis wrote: > Hello all, > > I've noticed that in a few DT bindings GPIO_ACTIVE_* defines are > incorrectly used as interrupt flags. GPIO_ACTIVE_*'s are defined > in: > > include/dt-bindings/gpio/gpio.h > > and are used to describe GPIO pins. IRQ types a

Re: [PATCH 27/31] net/tipc: use kmemdup rather than duplicating its implementation

2015-09-16 Thread Ying Xue
On 08/07/2015 03:59 PM, Andrzej Hajda wrote: > The patch was generated using fixed coccinelle semantic patch > scripts/coccinelle/api/memdup.cocci [1]. > > [1]: http://permalink.gmane.org/gmane.linux.kernel/2014320 > > Signed-off-by: Andrzej Hajda Reviewed-by: Ying Xue > --- > net/tipc/serve

NBD: Disconnect connection/kill NBD server cause kernel bug even kernel hang

2015-09-16 Thread Sheng Yang
Hi, Markus, I've experienced kernel bug and system hang regarding using nbd-client/server on the same machine. Kernel verison is v4.2. I know http://nbd.sourceforge.net/ said: "Please note that read-write nbd with client and server on the same machine is a bad idea: expect deadlock within seconds

Re: [PATCH] clk: tegra: dfll: add missing rcu_read_unlock() for error path

2015-09-16 Thread Vince Hsu
On 09/17/2015 06:15 AM, Stephen Boyd wrote: On 09/16, Vince Hsu wrote: From: Vince Hsu The commit e770940218028c6a5927fda45f2ca9db5d9b35e0 ("clk: tegra: dfll: Properly protect OPP list") added the rcu_read_{lock,unlock} but missed one in the error path. So add the missing one. Signed-off-by

Re: [PATCH] fs-writeback: drop wb->list_lock during blk_finish_plug()

2015-09-16 Thread Linus Torvalds
On Wed, Sep 16, 2015 at 5:37 PM, Dave Chinner wrote: > > TL;DR: Results look really bad - not only is the plugging > problematic, baseline writeback performance has regressed > significantly. Dave, if you're testing my current -git, the other performance issue might still be the spinlock thing.

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

2015-09-16 Thread Shawn Guo
On Wed, Sep 16, 2015 at 08:22:56AM +, Huan Wang wrote: > Hi, Shawn, > > > On Fri, Aug 28, 2015 at 5:04 AM, Huan Wang > > wrote: > > > > > I need Fabio's confirmation about removing CONFIG_SOC_LS1021A from > > imx_v6_v7_config. > > > > > > Fabio, Do you agree it? > > > > Yes, if Shawn accept

Re: [PATCH] ARM: dts: vfxxx: Add iio_hwmon node for ADC temperature channel

2015-09-16 Thread Shawn Guo
On Mon, Sep 07, 2015 at 02:19:11PM +0530, maitysancha...@gmail.com wrote: > Hi Shawn, > > On 15-09-06 12:32:32, Shawn Guo wrote: > > On Thu, Aug 06, 2015 at 09:28:22PM +0530, Sanchayan Maity wrote: > > > Add iio_hwmon node to expose the temperature channel on Vybrid > > > as hardware monitor devic

Re: [PATCH] locking/static_keys: fix a silly typo

2015-09-16 Thread Chuck Ebbert
On Tue, 08 Sep 2015 12:05:04 -0400 Jason Baron wrote: > > > On 09/07/2015 03:18 PM, Jonathan Corbet wrote: > > 412758cb2670 (jump label, locking/static_keys: Update docs) introduced a > > typo that might as well get fixed. > > > > Signed-off-by: Jonathan Corbet > > --- > > Documentation/stat

Re: [PATCH v3 2/7] userns: Simpilify MNT_NODEV handling.

2015-09-16 Thread Eric W. Biederman
Andy Lutomirski writes: > On Wed, Sep 16, 2015 at 1:02 PM, Seth Forshee > wrote: >> From: "Eric W. Biederman" >> >> - Consolidate the testing if a device node may be opened in a new >> function may_open_dev. >> >> - Move the check for allowing access to device nodes on filesystems >> not mo

  1   2   3   4   5   6   7   8   9   10   >