[PATCH] xen: Use module_pci_driver() in platform pci driver.

2015-07-07 Thread Rajat Jain
Eliminate the module_init function by using module_pci_driver() Signed-off-by: Rajat Jain Signed-off-by: Rajat Jain --- drivers/xen/platform-pci.c | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/drivers/xen/platform-pci.c b/drivers/xen/platform-pci.c index

[PATCH] cpufreq: Initialize the governor again while restoring policy

2015-07-07 Thread Viresh Kumar
When all CPUs of a policy are hot-unplugged, we EXIT the governor but don't mark policy->governor as NULL. This was done in order to keep last used governor's information intact in sysfs, while the CPUs are offline. We also missed marking policy->governor as NULL while restoring the policy.

[PATCH] mtd: denali: Use module_pci_driver()

2015-07-07 Thread Rajat Jain
Use module_pci_driver, since init and exit functions only register and unregister the pci driver, respectively. Signed-off-by: Rajat Jain Signed-off-by: Rajat Jain --- drivers/mtd/nand/denali_pci.c | 12 +--- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git

[PATCH 4/4] ARM: dts: Extend exynos5420-pinctrl nodes using labels instead of paths

2015-07-07 Thread Javier Martinez Canillas
A previously defined Device Tree node, can be extended either by defining a node using the same full path or by creating a label for the node and referencing to it. Using full paths is more error prone since if there was a typo error, a new node will be created instead of extending the node as it

Re: [PATCH] [SCSI] FlashPoint: optimize string comparison

2015-07-07 Thread Christophe JAILLET
Le 07/07/2015 19:04, Khalid Aziz a écrit : On 07/07/2015 02:45 AM, Frans Klaver wrote: On Tue, Jul 7, 2015 at 7:39 AM, Christophe JAILLET wrote: Stop comparing the strings as soon as we know that they don't match. Signed-off-by: Christophe JAILLET --- drivers/scsi/FlashPoint.c | 4 +++-

[PATCH v2 6/6] ARM: PRM: AM437x: Enable IO wakeup feature

2015-07-07 Thread Keerthy
Enable IO wakeup feature. Signed-off-by: Keerthy --- arch/arm/mach-omap2/prm_common.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-omap2/prm_common.c b/arch/arm/mach-omap2/prm_common.c index 7add799..1730fc4 100644 --- a/arch/arm/mach-omap2/prm_common.c +++

Re: [PATCH] arm64: dts: mt8173: add clock_null

2015-07-07 Thread Sascha Hauer
On Wed, Jul 08, 2015 at 10:37:21AM +0800, Eddie Huang wrote: > On Tue, 2015-07-07 at 23:10 +0800, Daniel Kurtz wrote: > > On Tue, Jul 7, 2015 at 10:36 PM, Sascha Hauer > > wrote: > > > On Tue, Jul 07, 2015 at 10:15:29PM +0800, Daniel Kurtz wrote: > > >> On Tue, Jul 7, 2015 at 9:07 PM, Sascha

[PATCH v2 1/6] ARM: OMAP4: PRM: Remove hardcoding of PRM_IO_PMCTRL_OFFSET register

2015-07-07 Thread Keerthy
PRM_IO_PMCTRL_OFFSET need not be same for all SOCs hence remove hardcoding and use the value provided by the omap_prcm_irq_setup structure. Signed-off-by: Keerthy --- arch/arm/mach-omap2/prcm-common.h | 1 + arch/arm/mach-omap2/prm44xx.c | 11 ++- 2 files changed, 7 insertions(+),

Re: [PATCH 01/41] clocksource: asm9260: Migrate to new 'set-state' interface

2015-07-07 Thread Viresh Kumar
On 08-07-15, 11:07, Vineet Gupta wrote: > Is this series (and other one touching arch/arm/*) specific to ARM event > timers. > Are you planning to fixup the drivers in arch/* or the respective maintainers > need > to follow suit. Hi Vineet, I am fixing all clockevent drivers available in Linux

[PATCH v2 0/6] ARM: AM437x: Add IO wake up support

2015-07-07 Thread Keerthy
The patch series adds IO wake up support for AM437x series making use of the existing OMAP4 support. Adds the AM437x specifics. The series is boot tested on OMAP4 panda, DAR7 evm and AM437x evms. Changes in v2: Removed inefficient way of using arrays for irq ack and masks. Keerthy (6): ARM:

[PATCH v2 4/6] ARM: OMAP: PRM: Remove hardcoding of IRQENABLE_MPU_2 and IRQSTATUS_MPU_2 register offsets

2015-07-07 Thread Keerthy
The register offsets of IRQENABLE_MPU_2 and IRQSTATUS_MPU_2 are hardcoded. This makes it difficult to reuse the code for SoCs like AM437x that have a single instance of IRQENABLE_MPU and IRQSTATUS_MPU registers. Hence handling the case using offset of 4 to accommodate single set of IRQ* registers

[PATCH v2 2/6] ARM: AM43xx: Add the PRM IRQ register offsets

2015-07-07 Thread Keerthy
Add the PRM IRQ register offsets. Signed-off-by: Keerthy --- arch/arm/mach-omap2/prcm43xx.h | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/mach-omap2/prcm43xx.h b/arch/arm/mach-omap2/prcm43xx.h index 7eebc27..d716d2e 100644 --- a/arch/arm/mach-omap2/prcm43xx.h +++

[PATCH v2 5/6] ARM: OMAP4+: PRM: Add AM437x specific data

2015-07-07 Thread Keerthy
The register offsets for some of the PRM Registers are different hence populating the differing fields. Signed-off-by: Keerthy --- arch/arm/mach-omap2/prm44xx.c | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-omap2/prm44xx.c

[PATCH v2 3/6] ARM: dts: AM4372: Add PRCM IRQ entry

2015-07-07 Thread Keerthy
Add PRCM IRQ entry. Signed-off-by: Keerthy --- arch/arm/boot/dts/am4372.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/am4372.dtsi b/arch/arm/boot/dts/am4372.dtsi index c80a3e2..637133b 100644 --- a/arch/arm/boot/dts/am4372.dtsi +++ b/arch/arm/boot/dts/am4372.dtsi @@

Re: [RFC PATCH v6 3/3] drivers: nvmem: Add Vybrid OCOTP support

2015-07-07 Thread maitysanchayan
Hi Stefan, On 15-07-07 14:49:06, Stefan Wahren wrote: > Hi Sanchayan, > > > maitysancha...@gmail.com hat am 7. Juli 2015 um 07:19 geschrieben: > > > > > > [...] > > > > diff --git a/drivers/nvmem/Kconfig b/drivers/nvmem/Kconfig > > > > index 17f1a57..84c830d 100644 > > > > ---

[PATCH 3/4] ARM: dts: Include exynos5420-pinctrl after the nodes were defined

2015-07-07 Thread Javier Martinez Canillas
The dtc compiler combines all the defined nodes that have the same path so a device node definition can be in one file and later be extended in another one. That's the case of the Exynos5420 pinctrl device nodes that are defined in the exynos5420.dtsi file and extended in exynos5420-pinctrl.dtsi.

[PATCH 1/4] ARM: dts: Include exynos5250-pinctrl after the nodes were defined

2015-07-07 Thread Javier Martinez Canillas
The dtc compiler combines all the defined nodes that have the same path so a device node definition can be in one file and later be extended in another one. That's the case of the Exynos5250 pinctrl device nodes that are defined in the exynos5250.dtsi file and extended in exynos5250-pinctrl.dtsi.

[PATCH 0/4] ARM: dts: Use labels instead of full paths for Exynos5 pinctrl nodes

2015-07-07 Thread Javier Martinez Canillas
Hello Kukjin and Krzysztof, This is a trivial series that changes Exynos5 pinctrl dtsi files to extend the pinctrl nodes using labels instead of full paths. Using labels is less error prone since a misstyped label leads to a build error while full paths can lead to the creation of a new node

[PATCH 2/4] ARM: dts: Extend exynos5250-pinctrl nodes using labels instead of paths

2015-07-07 Thread Javier Martinez Canillas
A previously defined Device Tree node, can be extended either by defining a node using the same full path or by creating a label for the node and referencing to it. Using full paths is more error prone since if there was a typo error, a new node will be created instead of extending the node as it

Re: [PATCH 01/41] clocksource: asm9260: Migrate to new 'set-state' interface

2015-07-07 Thread Vineet Gupta
On Thursday 18 June 2015 04:24 PM, Viresh Kumar wrote: > Migrate asm9260 driver to the new 'set-state' interface provided by > clockevents core, the earlier 'set-mode' interface is marked obsolete > now. > > This also enables us to implement callbacks for new states of clockevent > devices, for

RE: [PATCH 6/7] hvsock: introduce Hyper-V VM Sockets feature

2015-07-07 Thread Dexuan Cui
> -Original Message- > From: Olaf Hering > Sent: Tuesday, July 7, 2015 18:59 > Subject: Re: [PATCH 6/7] hvsock: introduce Hyper-V VM Sockets feature > > On Tue, Jul 07, Dexuan Cui wrote: > > > OK, removing the line seems better than 'default n', though both reproduce > > the same "#

[PATCH] net: systemport: Use eth_hw_addr_random

2015-07-07 Thread Vaishali Thakkar
Use eth_hw_addr_random() instead of calling random_ether_addr(). Here, this change is setting addr_assign_type to NET_ADDR_RANDOM. The Coccinelle semantic patch that performs this transformation is as follows: @@ identifier a,b; @@ -random_ether_addr(a->b); +eth_hw_addr_random(a);

Re: [PATCH 1/7] pinctrl: UniPhier: add UniPhier pinctrl core support

2015-07-07 Thread Masahiro Yamada
Hi Paul, 2015-07-07 18:14 GMT+09:00 Paul Bolle : > (I only comment on 1/7, because it's not useful to repeat one remark > seven times.) > > On ma, 2015-07-06 at 21:29 +0900, Masahiro Yamada wrote: >> --- /dev/null >> +++ b/drivers/pinctrl/uniphier/Kconfig > >> +config PINCTRL_UNIPHIER_CORE >> +

[PATCH] uio: uio_fsl_elbc_gpcm: Use module_platform_driver

2015-07-07 Thread Vaishali Thakkar
Use module_platform_driver for drivers whose init and exit functions only register and unregister, respectively. A simplified version of the Coccinelle semantic patch that performs this transformation is as follows: @a@ identifier f, x; @@ -static f(...) { return platform_driver_register(); }

Re: [PATCH V2] acpi-cpufreq: replace per_cpu with driver_data of policy

2015-07-07 Thread Viresh Kumar
Hi Dmitry, On 07-07-15, 10:11, Dmitry Torokhov wrote: > > + data = policy->driver_data; > > + cpufreq_cpu_put(policy); > > If we put policy here can we guarantee that memory pointed to by data > stays valid? Shoudln't we issue cpufreq_cpu_put(policy) after we done > assessing the pointer?

Re: [PATCH 3/3] ARM: dts: UniPhier: add USB EHCI device nodes

2015-07-07 Thread Masahiro Yamada
Hi Rob, 2015-07-07 23:53 GMT+09:00 Rob Herring : > On Sun, Jul 5, 2015 at 10:47 PM, Masahiro Yamada > wrote: >> Get USB 2.0 host controllers available with generic-ehci bindings. >> >> Signed-off-by: Masahiro Yamada >> --- > >> diff --git a/arch/arm/boot/dts/uniphier-ph1-ld4.dtsi >>

[PATCH] scsi: Use module_platform_driver

2015-07-07 Thread Vaishali Thakkar
Use module_platform_driver for drivers whose init and exit functions only register and unregister, respectively. A simplified version of the Coccinelle semantic patch that performs this transformation is as follows: @a@ identifier f, x; @@ -static f(...) { return platform_driver_register(); }

Re: [PATCH RESEND] video: fbdev: s3c-fb: Constify platform_device_id

2015-07-07 Thread Jingoo Han
On 2015. 7. 7., at PM 10:00, Krzysztof Kozlowski wrote: > > The platform_device_id is not modified by the driver and core uses it as > const. > > Signed-off-by: Krzysztof Kozlowski Acked-by: Jingoo Han Best regards, Jingoo Han > --- > drivers/video/fbdev/s3c-fb.c | 2 +- > 1 file changed,

[PATCH] scsi: Use module_pci_driver

2015-07-07 Thread Vaishali Thakkar
Use module_pci_driver for drivers whose init and exit functions only register and unregister, respectively. A simplified version of the Coccinelle semantic patch that performs this transformation is as follows: @a@ identifier f, x; @@ -static f(...) { return pci_register_driver(); } @b depends

Re: [PATCH v3 1/3] IRQ/Gic-V3: Add mbigen driver to support mbigen interrupt controller

2015-07-07 Thread majun (F)
Hi Thomas: 在 2015/7/6 20:33, Thomas Gleixner 写道: > On Mon, 6 Jul 2015, Ma Jun wrote: > >> +/** >> + * get_mbigen_node_type: get the mbigen node type >> + * @nid: the mbigen node value >> + * return 0: evnent id of interrupt connected to this node can be changed. >> + * return 1: evnent id of

Re: [PATCH 1/1] infiniband: Remove redundant NULL check before kfree

2015-07-07 Thread Maninder Singh
Hello, >> +for (i = 0; i < dev->caps.num_ports; i++) >> +kfree(dm[i]); >> goto out; >> } >> } >> -- >> 1.7.9.5 >> > >If you are going to change this, you might as well make it 100% correct: > >i—-; >while (i

Re: [PATCH v2 6/7] crypto: omap-aes: Add support for GCM mode

2015-07-07 Thread Herbert Xu
On Tue, Jul 07, 2015 at 09:01:48PM +0530, Lokesh Vutla wrote: > > +static int omap_aes_gcm_copy_buffers(struct omap_aes_dev *dd, > + struct aead_request *req) > +{ > + void *buf_in; > + int pages, alen, clen, cryptlen, nsg; > + struct crypto_aead *aead

Re: [PATCH] mmc: dw_mmc: handle data blocks > than 4kB if IDMAC is used

2015-07-07 Thread Jaehoon Chung
Hi, Alexey. On 06/25/2015 05:25 PM, Alexey Brodkin wrote: > As per DW MobileStorage databook "each descriptor can transfer up to 4kB > of data in chained mode", moreover buffer size that is put in "des1" is > limited to 13 bits, i.e. for example on attempt to > IDMAC_SET_BUFFER1_SIZE(desc, 8192)

[PATCH v2] infiniband: free only allocated items

2015-07-07 Thread Maninder Singh
o If allocation of dm fails, no need to free it. o Free only allocated items. Signed-off-by: Maninder Singh --- drivers/infiniband/hw/mlx4/main.c |8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/drivers/infiniband/hw/mlx4/main.c

Re: [RFC,1/2] powerpc/numa: fix cpu_to_node() usage during boot

2015-07-07 Thread Michael Ellerman
On Thu, 2015-02-07 at 23:02:02 UTC, Nishanth Aravamudan wrote: > Much like on x86, now that powerpc is using USE_PERCPU_NUMA_NODE_ID, we > have an ordering issue during boot with early calls to cpu_to_node(). "now that .." implies we changed something and broke this. What commit was it that

Re: [trace] kernel BUG at kernel/sched/core.c:2881!

2015-07-07 Thread Fengguang Wu
On Tue, Jul 07, 2015 at 06:37:11PM -0400, Steven Rostedt wrote: > On Tue, 7 Jul 2015 15:03:31 -0400 > Steven Rostedt wrote: > > > On Tue, 7 Jul 2015 11:06:27 -0400 > > Steven Rostedt wrote: > > > > > On Tue, 30 Jun 2015 22:18:03 +0800 > > > Fengguang Wu wrote: > > > > > > > Hi Rostedt, > > >

Re: [PATCH v2 5/7] crypto: aead: Add aead_request_cast() api

2015-07-07 Thread Herbert Xu
On Tue, Jul 07, 2015 at 09:01:47PM +0530, Lokesh Vutla wrote: > Add aead_request_cast() api to get pointer to aead_request > from cryto_async_request. > > Signed-off-by: Lokesh Vutla > --- > include/crypto/internal/aead.h | 6 ++ > 1 file changed, 6 insertions(+) > > diff --git

RE: [PATCH 6/7] hvsock: introduce Hyper-V VM Sockets feature

2015-07-07 Thread Dexuan Cui
> -Original Message- > From: Stephen Hemminger > Sent: Wednesday, July 8, 2015 2:31 > Subject: Re: [PATCH 6/7] hvsock: introduce Hyper-V VM Sockets feature > > On Mon, 6 Jul 2015 07:47:29 -0700 > Dexuan Cui wrote: > > > Hyper-V VM sockets (hvsock) supplies a byte-stream based

Re: [PATCH v6 7/7] zsmalloc: use shrinker to trigger auto-compaction

2015-07-07 Thread Sergey Senozhatsky
On (07/08/15 12:04), Minchan Kim wrote: > Hi Sergey, > Hi Minchan, [..] > > (a) we need something to signify that zs_unregister_shrinker() was > > successful > > I think a) is simple way to handle it now. > I don't want to stuck with this issue. > > Please comment out why we need such

Darlehen anbieten 1.5%

2015-07-07 Thread Lloyds TSB Bank Plc
Guten Tag, Dies ist Lloyds TSB Bank plc Kredite anbieten. Lloyds TSB bietet flexible und erschwingliche Kredite für jeden Zweck zu helfen, Ihre Ziele zu erreichen. wir Darlehen zu niedrigen Zinssatz von 1,5%. Hier sind einige wichtige Merkmale der persönlichen Kredit von Lloyds TSB

Re: [PATCH v2 6/9] irqchip / gic: Add stacked irqdomain support for ACPI based GICv2 init

2015-07-07 Thread Hanjun Guo
Hi Marc, On 06/30/2015 08:17 PM, Marc Zyngier wrote: On 30/06/15 12:50, Hanjun Guo wrote: Hi Marc, On 06/29/2015 04:39 PM, Marc Zyngier wrote: On 27/06/15 04:52, Hanjun Guo wrote: On 06/24/2015 01:38 AM, Lorenzo Pieralisi wrote: On Tue, Jun 23, 2015 at 04:11:38PM +0100, Hanjun Guo wrote:

linux-next: Tree for Jul 8

2015-07-07 Thread Stephen Rothwell
Hi all, Changes since 20150707: Renamed trees: powerpc-merge to powerpc-merge-benh powerpc to powerpc-benh New trees: powerpc-fixes and powerpc The tip tree gained a build failure so I used the version from next-20150707. The vhost tree gaiend a conflict against Linus' tree. Non

[PATCH] dsa: mv88e6352/mv88e6xxx: Add support for Marvell 88E6320 and 88E6321

2015-07-07 Thread Guenter Roeck
From: "Aleksey S. Kazantsev" MV88E6320 and MV88E6321 are largely compatible to MV886352, but are members of a different chip family. Signed-off-by: Aleksey S. Kazantsev Signed-off-by: Guenter Roeck --- drivers/net/dsa/Kconfig | 6 +++--- drivers/net/dsa/mv88e6352.c | 31

Re: [PATCH] regmap: Use different lockdep class for each regmap init call

2015-07-07 Thread Nicolas Boichat
On Tue, Jul 7, 2015 at 8:13 PM, Mark Brown wrote: > On Wed, Jul 01, 2015 at 12:43:59PM +0800, Nicolas Boichat wrote: > >> (this also applies to all other regmap_init functions...). We do not want to >> document the lock_key/name parameters, so we could either leave it like that, >> or move all

Re: perf, kprobes: fuzzer generates huge number of WARNings

2015-07-07 Thread Masami Hiramatsu
Hi Vince, On 2015/07/08 3:06, Vince Weaver wrote: > On Tue, 7 Jul 2015, Steven Rostedt wrote: > >> On Tue, 7 Jul 2015 11:06:55 -0400 (EDT) >> Probably. If you recompiled the kernel, you need to find the new >> address points. > > should these messages really be spamming the syslog? > > I

Re: [PATCH v6 7/7] zsmalloc: use shrinker to trigger auto-compaction

2015-07-07 Thread Minchan Kim
Hi Sergey, On Wed, Jul 08, 2015 at 11:18:36AM +0900, Sergey Senozhatsky wrote: > On (07/08/15 00:12), Sergey Senozhatsky wrote: > > > I don't think it would fail in *real practice*. > > > Althout it might happen, what does zram could help in that cases? > > > > > > > This argument depends on

Re: [PATCH] Warnings : Fixed 80 character length warning in rtw_ap.c

2015-07-07 Thread Joe Perches
On Tue, 2015-07-07 at 22:08 -0400, valdis.kletni...@vt.edu wrote: > On Tue, 07 Jul 2015 13:38:47 -0700, Joe Perches said: > > > The longest line in this file is 158 chars, that's > > probably excessive, awk shows 35 lines > 80 chars. > > That doesn't count tabs. Checkpatch throws 98 warnings.

[Announce] sg3_utils-1.41 available

2015-07-07 Thread Douglas Gilbert
sg3_utils is a package of command line utilities for sending SCSI and some ATA commands to devices. This package targets the Linux 4, 3, 2.6 and 2.4 kernel series. It has ports to FreeBSD, Tru64, Solaris, and Windows (cygwin and MinGW). There is one new utility (sg_zone) and additions to many

Re: [RFC] freeing unliked file indefinitely delayed

2015-07-07 Thread J. Bruce Fields
On Wed, Jul 08, 2015 at 02:42:38AM +0100, Al Viro wrote: > Normally opening a file, unlinking it and then closing will have > the inode freed upon close() (provided that it's not otherwise busy and > has no remaining links, of course). However, there's one case where that > does *not*

Re: [PATCH] arm64: dts: mt8173: add clock_null

2015-07-07 Thread Eddie Huang
On Tue, 2015-07-07 at 23:10 +0800, Daniel Kurtz wrote: > On Tue, Jul 7, 2015 at 10:36 PM, Sascha Hauer wrote: > > On Tue, Jul 07, 2015 at 10:15:29PM +0800, Daniel Kurtz wrote: > >> On Tue, Jul 7, 2015 at 9:07 PM, Sascha Hauer > >> wrote: > >> > On Thu, Jun 18, 2015 at 01:29:11PM +0800, Eddie

Re: [PATCH] x86/kconfig/32: Mark CONFIG_VM86 as BROKEN

2015-07-07 Thread Arjan van de Ven
On 7/7/2015 6:25 PM, Andy Lutomirski wrote: VM86 is entirely broken if ptrace, syscall auditing, or NOHZ_FULL is in use. The code is a big undocumented mess, it's a real PITA to test, and it looks like a big chunk of vm86_32.c is dead code. It also plays awful games with the entry asm. No one

LOAN OFFER

2015-07-07 Thread Norton Finance Loan
We offer private, commercial and any type of loans with very minimal annual Interest Rate of 3%. If you are interested contact us -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: [PATCH v6 7/7] zsmalloc: use shrinker to trigger auto-compaction

2015-07-07 Thread Sergey Senozhatsky
On (07/08/15 00:12), Sergey Senozhatsky wrote: > > I don't think it would fail in *real practice*. > > Althout it might happen, what does zram could help in that cases? > > > > This argument depends on the current register_shrinker() implementation, > should some one add additional return branch

[lkp] [Btrfs] c9dc4c65785: +9.8% fsmark.files_per_sec

2015-07-07 Thread Huang Ying
FYI, we noticed the below changes on git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master commit c9dc4c6578502c2085705347375b82089aad18d0 ("Btrfs: two stage dirty block group writeout") testcase/path_params/tbox_group: fsmark/performance-1x-1t-1HDD-btrfs-4M-60G-NoSync/ivb44

Re: [PATCH] Warnings : Fixed 80 character length warning in rtw_ap.c

2015-07-07 Thread Valdis . Kletnieks
On Tue, 07 Jul 2015 13:38:47 -0700, Joe Perches said: > The longest line in this file is 158 chars, that's > probably excessive, awk shows 35 lines > 80 chars. That doesn't count tabs. Checkpatch throws 98 warnings. pgpRav2SIlbke.pgp Description: PGP signature

Re: [PATCH] Warnings : Fixed 80 character length warning in rtw_ap.c

2015-07-07 Thread Valdis . Kletnieks
On Tue, 07 Jul 2015 21:08:10 -0400, Sreenath Madasu said: > The kernelnewbies.org guide said "For your first patch, only pick one > warning". That is the reason why I fixed one warning. They mean "don't fix lines over 80 characters *and* missing-blank warnings in the same patch".

Re: [RFC PATCH v10 23/50] perf tools: Make perf depend on libbpf

2015-07-07 Thread Alexei Starovoitov
On 7/7/15 1:16 PM, Arnaldo Carvalho de Melo wrote: So, please move this to just before we can use it, wiring it up should mean, hey, try this "hello, world" eBPF program right now! btw, since bpf is now stable llvm backend, one can just get the latest clang/llvm 3.7 from pre-built llvm

Re: [PATCH 3/5] arc:irqchip: prepare for drivers/irqchip/irqchip.h removal

2015-07-07 Thread Vineet Gupta
On Wednesday 08 July 2015 02:45 AM, Joël Porquet wrote: The IRQCHIP_DECLARE macro migrated to 'include/linux/irqchip.h'. See commit 91e20b5040c67c51aad88cf87db4305c5bd7f79d ("irqchip: Move IRQCHIP_DECLARE macro to include/linux/irqchip.h"). This patch removes the inclusions of private header

[lkp] [thp] 79553da293d: +1.8% fileio.time.file_system_inputs

2015-07-07 Thread Huang Ying
FYI, we noticed the below changes on git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master commit 79553da293d38d63097278de13e28a3b371f43c1 ("thp: cleanup khugepaged startup") =

Re: [PATCH] thermal: cpu_cooling: Iterate over all CPUs in clip_cpu mask to get frequency table

2015-07-07 Thread Pi-Cheng Chen
Hi Viresh, On Tue, Jul 7, 2015 at 6:27 PM, Viresh Kumar wrote: > On 01-07-15, 12:13, Pi-Cheng Chen wrote: >> Sorry for the mistake I made when cherry-picking the patch. Fix and resend >> again. > > You really want above to show up in git logs ? > > Any comments like this should be present: > -

[PATCH] clk: st: Fix error paths and allocation style

2015-07-07 Thread Stephen Boyd
The error paths in this file leak memory and mappings and test for pointers being valid after dereferencing them. Fix these problems and properly free resources on errors. Fix some stylistic things too like using sizeof(*ptr) and fitting more code on a single line. Note that we don't unregister

Re: [PATCH v4 3/8] clk: add support for clocks provided by SCP(System Control Processor)

2015-07-07 Thread Stephen Boyd
On 07/07, Sudeep Holla wrote: > > > On 06/07/15 20:52, Stephen Boyd wrote: > >> > > > >If I have time I may try to start doing the clk_register() conversion, > >but it will take a while so I doubt it will be in v4.3. I'm asking if > >you can add a clk_hw based API that does something like >

Re: [RFC PATCH v3 2/2] bpf: Introduce function for outputing data to perf event

2015-07-07 Thread Alexei Starovoitov
On 7/7/15 4:43 AM, He Kuang wrote: --- a/include/uapi/linux/bpf.h +++ b/include/uapi/linux/bpf.h @@ -210,6 +210,9 @@ enum bpf_func_id { * Return: 0 on success */ BPF_FUNC_l4_csum_replace, + + /* int bpf_output_data(void *src, int size, void *regs) */

linux-next: manual merge of the vhost tree with Linus' tree

2015-07-07 Thread Stephen Rothwell
Hi Michael, Today's linux-next merge of the vhost tree got a conflict in: MAINTAINERS between commit: 4ad6ee91aa9f ("Add MAINTAINERS entry for virtio-gpu") from Linus' tree and commit: f2dbda3b4fc2 ("MAINTAINERS: separate section for s390 virtio drivers") from the vhost tree. I fixed

[RFC] freeing unliked file indefinitely delayed

2015-07-07 Thread Al Viro
Normally opening a file, unlinking it and then closing will have the inode freed upon close() (provided that it's not otherwise busy and has no remaining links, of course). However, there's one case where that does *not* happen. Namely, if you open it by fhandle with cold dcache, then

Re: [RFC PATCH v3 1/2] tracing: Add new trace type for bpf data output

2015-07-07 Thread Alexei Starovoitov
On 7/7/15 4:43 AM, He Kuang wrote: + F_STRUCT( + __field(long, size) as Peter said please use u32 to avoid 32 vs 64-bit issues. + __array(u64,raw_data, TRACE_BPF_MAX_ENTRY) + ), + + F_printk("%ld: (%016llx, ...)", __entry->size,

Re: [RFC PATCH v3 0/2] Make eBPF programs output data to perf event

2015-07-07 Thread Alexei Starovoitov
On 7/7/15 4:43 AM, He Kuang wrote: Hi, The two previous versions tried to combine bpf output data with the sample event of the attached kprobe point, which leads to problems about perf_trace_buf. After discussion we found it's not necessary to combine those two parts of information, even we do

[PATCH] STAGING SUBSYSTEM rtl8188eu driver : Fixed 80 character length warning in rtw_ap.c

2015-07-07 Thread Sreenath Madasu
When the checkpatch.pl script was run, it showed lines with length more than 80 characters in rtw_ap.c file. Fixed line number 382 by breaking it up into two lines within 80 characters. Signed-off-by: Sreenath Madasu --- drivers/staging/rtl8188eu/core/rtw_ap.c | 3 ++- 1 file changed, 2

[PATCH] x86/kconfig/32: Mark CONFIG_VM86 as BROKEN

2015-07-07 Thread Andy Lutomirski
VM86 is entirely broken if ptrace, syscall auditing, or NOHZ_FULL is in use. The code is a big undocumented mess, it's a real PITA to test, and it looks like a big chunk of vm86_32.c is dead code. It also plays awful games with the entry asm. No one should be using it anyway. Use DOSBOX or KVM

Re: [PATCH v2] power_supply: rt9455_charger: Properly notify userspace about charging events

2015-07-07 Thread Krzysztof Kozlowski
2015-07-07 21:25 GMT+09:00 Anda-Maria Nicolae : > Charging events this patch refers to are: > - charger is connected to/disconnected from the power source > - battery is reconnected to the charger, after it was absent. > > When the charger is connected to/disconnected from the power source, CHRVPI

[PATCH] hwmon: (f71882fg): Add support for f81768d

2015-07-07 Thread George Joseph
Add f81768d (id 0x1210) currently found on Jetway motherboards. It has 11 voltages but otherwise needed no special handling in this driver. Signed-off-by: George Joseph --- drivers/hwmon/f71882fg.c | 44 1 file changed, 28 insertions(+), 16

Re: [PATCH] Warnings : Fixed 80 character length warning in rtw_ap.c

2015-07-07 Thread Sreenath Madasu
The kernelnewbies.org guide said "For your first patch, only pick one warning". That is the reason why I fixed one warning. Thanks Sreenath On Tue, Jul 07, 2015 at 03:32:50PM -0400, valdis.kletni...@vt.edu wrote: > On Mon, 06 Jul 2015 21:53:26 -0400, Sreenath Madasu said: > > When the

Re: [PATCH 12/15] SH: kill off set_irq_flags usage

2015-07-07 Thread Simon Horman
On Tue, Jul 07, 2015 at 09:38:53AM -0500, Rob Herring wrote: > On Mon, Jul 6, 2015 at 8:55 PM, Simon Horman wrote: > > On Tue, Jul 07, 2015 at 09:53:39AM +0900, Simon Horman wrote: > >> On Tue, Jun 09, 2015 at 01:26:38PM -0500, Rob Herring wrote: > >> > set_irq_flags is ARM specific with custom

Re: [RESEND] mfd: rtsx: add support for rts522A

2015-07-07 Thread 敬锐
On 07/07/2015 07:46 PM, Lee Jones wrote: > On Mon, 29 Jun 2015, micky_ch...@realsil.com.cn wrote: > >> From: Micky Ching >> >> rts522a(rts5227s) is derived from rts5227, and mainly same with rts5227. >> Add it to file mfd/rts5227.c to support this chip. >> >> Signed-off-by: Micky Ching >> ---

RE: [RFC PATCH] irq: IRQ bypass manager

2015-07-07 Thread Wu, Feng
> -Original Message- > From: Alex Williamson [mailto:alex.william...@redhat.com] > Sent: Wednesday, July 08, 2015 5:40 AM > To: linux-kernel@vger.kernel.org; k...@vger.kernel.org > Cc: eric.au...@st.com; eric.au...@linaro.org; j...@8bytes.org; > avi.kiv...@gmail.com; pbonz...@redhat.com;

Re: [PATCH v5] clk: change clk_ops' ->determine_rate() prototype

2015-07-07 Thread Stephen Boyd
On 07/07, Boris Brezillon wrote: > Clock rates are stored in an unsigned long field, but ->determine_rate() > (which returns a rounded rate from a requested one) returns a long > value (errors are reported using negative error codes), which can lead > to long overflow if the clock rate exceed

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

2015-07-07 Thread Stephen Rothwell
have used the tip tree from next-20150707 for today. -- Cheers, Stephen Rothwells...@canb.auug.org.au pgpM29tfFp18n.pgp Description: OpenPGP digital signature

Re: lock-up with module: Optimize __module_address() using a latched RB-tree

2015-07-07 Thread Rusty Russell
Peter Zijlstra writes: > On Tue, Jul 07, 2015 at 11:56:20PM +0200, Peter Zijlstra wrote: >> On Wed, Jul 08, 2015 at 05:45:45AM +0930, Arthur Marsh wrote: >> > I'm not aware of any modules being loaded with --force . >> > >> > I've applied the patch, thanks! >> > >> > The resultant kernel locked

Re: [PATCH 0/4][RFC] regmap: add force write option

2015-07-07 Thread Kuninori Morimoto
Hi Mark > > Can I have some feedback about these patches ? > > Please do allow some time for review, especially during the merge > window. Thank you for your feedback, and sorry for my reminder. I will re-send these to ML after -rc1 or -rc2 -- To unsubscribe from this list: send the line

Re: [RFCv3 0/5] enable migration of driver pages

2015-07-07 Thread Minchan Kim
On Wed, Jul 08, 2015 at 09:19:50AM +0900, Gioh Kim wrote: > > > 2015-07-08 오전 9:07에 Andrew Morton 이(가) 쓴 글: > >On Wed, 08 Jul 2015 09:02:59 +0900 Gioh Kim wrote: > > > >> > >> > >>2015-07-08 __ 7:37___ Andrew Morton ___(___) ___ ___: > >>>On Tue, 7 Jul 2015 13:36:20 +0900 Gioh Kim wrote:

Re: [PATCH v5 1/3] video: fbdev: atyfb: clarify ioremap() base and length used

2015-07-07 Thread Luis R. Rodriguez
On Thu, Jul 2, 2015 at 4:23 PM, Luis R. Rodriguez wrote: > On Fri, Jun 26, 2015 at 12:30 AM, Borislav Petkov wrote: >> On Fri, Jun 26, 2015 at 03:09:27AM +0200, Luis R. Rodriguez wrote: >>> Sure, mind this as a follow up patch if its too late? >> >> No need, you can send me an updated one - I'll

Re: [PATCH] sched: make decaying sched_avg's variables happen on period boundary

2015-07-07 Thread Byungchul Park
On Wed, Jul 08, 2015 at 12:54:30AM +0200, Peter Zijlstra wrote: > On Tue, Jul 07, 2015 at 02:42:56PM +0900, byungchul.p...@lge.com wrote: > > From: Byungchul Park > > > > decaying time happens on every period boundary. if it does not reach > > the period boundary yet, the partial time needs to

Re: [PATCH] clk: at91: Silence warnings and cleanup __init usage

2015-07-07 Thread Stephen Boyd
On 07/07, Boris Brezillon wrote: > Hi Stephen, > > On Mon, 6 Jul 2015 14:37:59 -0700 > Stephen Boyd wrote: > > > On 07/06, Alexandre Belloni wrote: > > > Hi, > > > > > > On 06/07/2015 at 12:31:45 -0700, Stephen Boyd wrote : > > > > Remove useless ifdefs around function prototypes to silence

Re: [PATCH] sched: let __sched_period() use rq cfs's nr_running

2015-07-07 Thread Byungchul Park
On Tue, Jul 07, 2015 at 01:28:18PM -0700, Cong Wang wrote: > On Mon, Jul 6, 2015 at 9:40 PM, wrote: > > From: Byungchul Park > > > > __sched_period() returns a period which a rq can have. the period has to be > > stretched by the number of task *the rq has*, when nr_running > nr_latency. > >

Re: [RFCv3 0/5] enable migration of driver pages

2015-07-07 Thread Gioh Kim
2015-07-08 오전 9:07에 Andrew Morton 이(가) 쓴 글: On Wed, 08 Jul 2015 09:02:59 +0900 Gioh Kim wrote: 2015-07-08 __ 7:37___ Andrew Morton ___(___) ___ ___: On Tue, 7 Jul 2015 13:36:20 +0900 Gioh Kim wrote: From: Gioh Kim Hello, This series try to enable migration of non-LRU pages,

Re: [RFC PATCH] bio integrity: do not assume bio_integrity_pool exists if bioset exists

2015-07-07 Thread Martin K. Petersen
> "Mike" == Mike Snitzer writes: Sorry I'm a bit late to the game here. Just got back from vacation. But I agree with the patch. -- Martin K. Petersen Oracle Linux Engineering -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

[PATCH net-next] tcp: v1 always send a quick ack when quickacks are enabled

2015-07-07 Thread Jon Maxwell
V1 of this patch contains Eric Dumazet's suggestion to move the per dst RTAX_QUICKACK check into tcp_in_quickack_mode(). Thanks Eric. I ran some tests and after setting the "ip route change quickack 1" knob there were still many delayed ACKs sent. This occured because when icsk_ack.quick=0 the

Re: [RFCv3 0/5] enable migration of driver pages

2015-07-07 Thread Andrew Morton
On Wed, 08 Jul 2015 09:02:59 +0900 Gioh Kim wrote: > > > 2015-07-08 __ 7:37___ Andrew Morton ___(___) ___ ___: > > On Tue, 7 Jul 2015 13:36:20 +0900 Gioh Kim wrote: > > > >> From: Gioh Kim > >> > >> Hello, > >> > >> This series try to enable migration of non-LRU pages, such as driver's

Re: [REPOST PATCH 3/3] USB: dwc2: Don't turn off the usbphy in suspend if wakeup is enabled

2015-07-07 Thread Julius Werner
> Doug, how would you feel about reworking the patch that exports > usb_wakeup_enabled_descendants()? Instead of doing it that way, create > and export a new subroutine in hcd.c called > usb_hcd_wakeup_not_needed(), or something similar. We have a use case with another host controller (Tegra,

Re: [RFCv3 0/5] enable migration of driver pages

2015-07-07 Thread Gioh Kim
2015-07-08 오전 7:37에 Andrew Morton 이(가) 쓴 글: On Tue, 7 Jul 2015 13:36:20 +0900 Gioh Kim wrote: From: Gioh Kim Hello, This series try to enable migration of non-LRU pages, such as driver's page. My ARM-based platform occured severe fragmentation problem after long-term (several days)

Re: [PATCH v6 2/4] x86/stackvalidate: Compile-time stack validation

2015-07-07 Thread Josh Poimboeuf
On Tue, Jul 07, 2015 at 04:35:17PM -0700, Andy Lutomirski wrote: > On Tue, Jul 7, 2015 at 4:29 PM, Josh Poimboeuf wrote: > > On Tue, Jul 07, 2015 at 03:57:14PM -0700, Andy Lutomirski wrote: > >> On Tue, Jul 7, 2015 at 7:54 AM, Josh Poimboeuf wrote: > >> > > >> > It currently only supports

Re: [PATCH] arm:irqchip: IRQCHIP_DECLARE macro is now accessible

2015-07-07 Thread Krzysztof Kozlowski
On 08.07.2015 05:02, Joel Porquet wrote: > The IRQCHIP_DECLARE macro migrated to 'include/linux/irqchip.h', making it > globally accessible. > > See commit 91e20b5040c67c51aad88cf87db4305c5bd7f79d > ("irqchip: Move IRQCHIP_DECLARE macro to include/linux/irqchip.h"). > > This patch adds

Re: Clarification for the use of additional fields in the message body

2015-07-07 Thread Julian Calaby
Hi Markus, On Wed, Jul 8, 2015 at 2:15 AM, SF Markus Elfring wrote: >> I can't remember ever changing or explicitly preserving the commit date. >> I don't think I care enough. > > Would any more software developers and maintainers like to share > their experiences around such details? > > When

Re: [PATCH v6 4/4] stackvalidate: Add ignore macros

2015-07-07 Thread Josh Poimboeuf
On Tue, Jul 07, 2015 at 04:00:54PM -0700, Andy Lutomirski wrote: > On Tue, Jul 7, 2015 at 3:59 PM, Josh Poimboeuf wrote: > > On Tue, Jul 07, 2015 at 03:00:38PM -0700, Andy Lutomirski wrote: > >> On Tue, Jul 7, 2015 at 7:54 AM, Josh Poimboeuf wrote: > >> > Add new stackvalidate ignore macros:

Re: Possible memory allocation deadlock in kmem_alloc and hung task in xfs_log_commit_cil and xlog_cil_push

2015-07-07 Thread Dave Chinner
On Tue, Jul 07, 2015 at 05:29:43PM +0800, Gavin Guo wrote: > Hi all, > > Recently, we observed that there is the error message in > Ubuntu-3.13.0-48.80: > > "XFS: possible memory allocation deadlock in kmem_alloc (mode:0x8250)" > > repeatedly shows in the dmesg. Temporarily, our workaround is

Re: [PATCH v6 2/4] x86/stackvalidate: Compile-time stack validation

2015-07-07 Thread Andy Lutomirski
On Tue, Jul 7, 2015 at 4:29 PM, Josh Poimboeuf wrote: > On Tue, Jul 07, 2015 at 03:57:14PM -0700, Andy Lutomirski wrote: >> On Tue, Jul 7, 2015 at 7:54 AM, Josh Poimboeuf wrote: >> > >> > It currently only supports x86_64. I tried to make the code generic so >> > that support for other

Re: + kmod-remove-unecessary-explicit-wide-cpu-affinity-setting.patch added to -mm tree

2015-07-07 Thread Oleg Nesterov
Well, sorry for noise. Let me repeat that I agree with this change, but... On 07/07, Andrew Morton wrote: > > From: Frederic Weisbecker > Subject: kmod: remove unecessary explicit wide CPU affinity setting > > Not only useless it even breaks nohz full. The housekeeping work (general > kernel

Re: [PATCH v6 2/4] x86/stackvalidate: Compile-time stack validation

2015-07-07 Thread Josh Poimboeuf
On Tue, Jul 07, 2015 at 03:57:14PM -0700, Andy Lutomirski wrote: > On Tue, Jul 7, 2015 at 7:54 AM, Josh Poimboeuf wrote: > > 5. A callable function may not jump to a dynamically determined address. > >Such jumps can't be validated since the jump destination is unknown > >at compile time.

Re: [PATCH v3 1/7] clk: introduce clk_div_mask() helper

2015-07-07 Thread Stephen Boyd
On 07/07, Andy Shevchenko wrote: > On Thu, 2015-06-18 at 12:48 -0700, Stephen Boyd wrote: > > On 03/31, Andy Shevchenko wrote: > > > diff --git a/include/linux/clk-provider.h b/include/linux/clk > > > -provider.h > > > index 5591ea7..20b0b67 100644 > > > --- a/include/linux/clk-provider.h > > >

Re: [PATCH 4/4] mm: Increase SWAP_CLUSTER_MAX to batch TLB flushes

2015-07-07 Thread Andrew Morton
On Mon, 6 Jul 2015 14:39:56 +0100 Mel Gorman wrote: > Pages that are unmapped for reclaim must be flushed before being freed to > avoid corruption due to a page being freed and reallocated while a stale > TLB entry exists. When reclaiming mapped pages, the requires one IPI per >

  1   2   3   4   5   6   7   8   9   10   >