[GIT PULL] hwmon fixes for 3.16-rc6

2014-07-18 Thread Guenter Roeck
Hi Linus, Please pull hwmon fixes for Linux 3.16-rc6 from signed tag: git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git hwmon-for-linus Thanks, Guenter -- The following changes since commit 1795cd9b3a91d4b5473c97f491d63892442212ab: Linux 3.16-rc5 (2014-07-13 14:

Re: [PATCH v2 5/6] printk: insert newline in devkmsg_read()

2014-07-18 Thread Alex Elder
On 07/18/2014 06:45 AM, Petr Mládek wrote: > On Thu 2014-07-17 09:09:10, Alex Elder wrote: >> If a log record has LOG_PREFIX set, its predecessor record should be >> terminated if it was marked LOG_CONT. In devkmsg_read(), this >> condition was being ignored, which would lead to such records >> sh

Re: perf: child events not killed on release paths, survive indefinitely

2014-07-18 Thread Peter Zijlstra
On Fri, Jul 18, 2014 at 01:32:39PM +0100, Mark Rutland wrote: > Hi all, > > Sheetal reported a weird issue on arm where events which have been > closed seem to stay around and compete for HW counters if an application > has forked between the events being opened and them being closed. > > I've re

Re: [PATCH v3 2/3] drivers/watchdog/menf21bmc_wdt: introduce MEN 14F021P00 BMC Watchdog driver

2014-07-18 Thread Guenter Roeck
On Thu, Jul 17, 2014 at 03:18:31PM +0200, Andreas Werner wrote: > Added driver to support the 14F021P00 BMC Watchdog. > The BMC is a Board Management Controller including watchdog functionality. > > This driver use the I2C interface to the BMC using the menf21bmc MFD Core > driver. > > Signed-of

Re: [PATCH 9/9] usb: musb: musb_am335x: reinstate module loading/unloading support

2014-07-18 Thread Felipe Balbi
On Fri, Jul 18, 2014 at 11:31:30AM +0200, Lothar Waßmann wrote: > There is no need to throw the baby out with the bath due to a bad > failure analysis. The commit: > 7adb5c876e9c usb: musb: Fix panic upon musb_am335x module removal > came to a wrong conclusion about the cause of the crash it was >

Re: Sparc: Fix Mes in highmem.c

2014-07-18 Thread Steven Rostedt
On Thu, Jul 17, 2014 at 11:05:12PM -0400, Nick Krause wrote: > On Thu, Jul 17, 2014 at 1:38 PM, Nick Krause wrote: > > On Thu, Jul 17, 2014 at 3:52 AM, Sam Ravnborg wrote: > >> On Wed, Jul 16, 2014 at 10:25:30PM -0400, Nick Krause wrote: > >>> I am hitting three Fix mes in this file and am wonder

Re: [PATCH RFC] sched/core: Make idle_cpu return 0 if doing softirq work

2014-07-18 Thread Peter Zijlstra
On Fri, Jul 18, 2014 at 01:59:06PM +0100, Jonathan Davies wrote: > The current implementation of idle_cpu only considers tasks that might be in > the > CPU's runqueue. If there's nothing in the specified CPU's runqueue, it will > return 1. But if the CPU is doing work in the softirq context, it is

[PATCH 0/2] Convert exynos PPMU driver to be built as module

2014-07-18 Thread Punit Agrawal
Hi, There's no reason why the exynos PPMU can't be built as a module except you need - - The first patch exports the functions that are needed to build devfreq drivers as modules. - The second patch then converts the exynos PPMU devfreq driver to be built as a module. Compile tested only. Th

[PATCH 1/2] PM / devfreq: Export helper functions for drivers

2014-07-18 Thread Punit Agrawal
From: Ørjan Eide These functions are indended for use by drivers and should be available also when the driver is built as a module. Cc: MyungJoo Ham Cc: Kyungmin Park Signed-off-by: Ørjan Eide --- drivers/devfreq/devfreq.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/dev

[PATCH 2/2] PM / devfreq: exynos: Enable building exynos PPMU as module

2014-07-18 Thread Punit Agrawal
Export symbols from the PPMU driver needed to build the exynos bus driver as a module. Cc: MyungJoo Ham Cc: Kyungmin Park Cc: Kukjin Kim Cc: Bartlomiej Zolnierkiewicz Signed-off-by: Punit Agrawal --- drivers/devfreq/Kconfig |2 +- drivers/devfreq/exynos/exynos_ppmu.c |3

[GIT PULL] at91: fixes for 3.16 #2

2014-07-18 Thread Nicolas Ferre
Arnd, Olof, Kevin, This is the latest regressions that we found while testing the at91sam9n12 and at91sam9x5 platforms following our move to CCF. I created a pull-request this time because I have 3 patches: there should be no conflict anyway. This tag does not contain the fix that Olof had taken d

Re: [PATCHv4 3/5] common: dma-mapping: Introduce common remapping functions

2014-07-18 Thread Catalin Marinas
On Wed, Jul 09, 2014 at 11:46:56PM +0100, Olof Johansson wrote: > On Wed, Jul 2, 2014 at 11:03 AM, Laura Abbott wrote: > > For architectures without coherent DMA, memory for DMA may > > need to be remapped with coherent attributes. Factor out > > the the remapping code from arm and put it in a > >

[PATCH v3 7/7] printk: correct some more typos

2014-07-18 Thread Alex Elder
This patch corrects a few more typographical errors in "printk.c". Signed-off-by: Alex Elder Reviewed-by: Petr Mládek --- kernel/printk/printk.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/kernel/printk/printk.c b/kernel/printk/printk.c index abb129c..71d82ef

[PATCH v3 6/7] printk: insert newline in devkmsg_read()

2014-07-18 Thread Alex Elder
If a log record has LOG_PREFIX set, its predecessor record should be terminated if it was marked LOG_CONT. In devkmsg_read(), this condition was being ignored, which would lead to such records showing up combined when reading /dev/kmsg. Fix this oversight. We should similarly insert a newline in

[PATCH v3 5/7] printk: honor LOG_PREFIX in msg_print_text()

2014-07-18 Thread Alex Elder
This patch fixes a problem similar to what was addressed in the previous patch. All paths that read and format log records (for consoles, and for reading via syslog and /dev/kmsg) go through msg_print_text(). That function starts with some logic to determine whether the given log record when form

[PATCH v3 1/7] printk: report dropped messages on separate line

2014-07-18 Thread Alex Elder
It is possible for the log to be filled too quickly for the consoles to be able to keep up. This is detected in console_unlock(), and when it occurs, a message is printed on the console. When reviewing some nearby code, Petr Mládek suggested it might be nicer if this message were placed on a sepa

[PATCH v3 4/7] printk: honor LOG_PREFIX in devkmsg_read()

2014-07-18 Thread Alex Elder
In devkmsg_read(), a variable "cont" holds a character that's used to indicate whether a given log line is a "continuation", that is, whether a log record should be merged with the one before or after it. If a record should be merged with its successor (but not its predecessor) that character is '

[PATCH v3 3/7] printk: LOG_CONT and LOG_NEWLINE are opposites

2014-07-18 Thread Alex Elder
Two log record flags--LOG_CONT and LOG_NEWLINE--are mutually exclusive. That is, one or the other is always set, but they are never both set at the same time in a log record flags field. What follows is a great deal of explanation that aims to prove this assertion. Having that knowledge allows u

[PATCH v3 0/7] printk: start simplifying some flags

2014-07-18 Thread Alex Elder
Each log record has a "flags" field. The flags keep track of, for instance, whether the record was saved in its entirety (as opposed to being one of multiple records that should be merged as a single unit). A log record's flags field alone is not currently sufficient to know how the record should

[PATCH v3 2/7] printk: initialize syslog_prev and console_prev

2014-07-18 Thread Alex Elder
Two global variables, "syslog_prev" and "console_prev", maintain a copy of the flags value used in the log record most recently formatted for syslog or the console, respectively. Initially there is no previous formatted log record, and these variables simply have an initial value 0. And occasiona

Re: Scheduler regression from caffcdd8d27ba78730d5540396ce72ad022aff2c

2014-07-18 Thread Peter Zijlstra
On Fri, Jul 18, 2014 at 08:01:26AM -0500, Bruno Wolff III wrote: > build_sched_domain: cpu: 0 level: SMT cpu_map: 0-3 tl->mask: 0,2 > [0.254433] build_sched_domain: cpu: 0 level: MC cpu_map: 0-3 tl->mask: 0 > [0.254516] build_sched_domain: cpu: 0 level: DIE cpu_map: 0-3 tl->mask: > 0-3 > [

Re: Scheduler regression from caffcdd8d27ba78730d5540396ce72ad022aff2c

2014-07-18 Thread Dietmar Eggemann
On 18/07/14 15:01, Bruno Wolff III wrote: On Fri, Jul 18, 2014 at 12:16:33 +0200, Peter Zijlstra wrote: So it looks like the actual domain tree is broken, and not what we assumed it was. Could I bother you to run with the below instead? It should also print out the sched domain masks so we

Re: WARNING: CPU: 1 PID: 495 at mm/slab_common.c:69 kmem_cache_create+0x1a9/0x330()

2014-07-18 Thread Christoph Hellwig
On Fri, Jul 18, 2014 at 05:21:04PM +0400, Vladimir Davydov wrote: > Slab warns, because the name of the cache being created contains spaces. > The "bad" cache is created by scsi_get_host_cmd_pool. Its name > (pool->cmd_name) is initialized by scsi_alloc_host_cmd_pool as follows: > > pool->cm

Re: [PATCH] checkpatch.pl: Remove --file option

2014-07-18 Thread Lars-Peter Clausen
On 07/17/2014 05:34 PM, Richard Weinberger wrote: [...] In order to deal with that bad habit let's remove the --file option and bring checkpatch.pl back to its original purpose. I don't think this is a good solution the problem and I'm not sure how successful it will actually be at fixing the

Re: MIPS seccomp and changing syscalls

2014-07-18 Thread Kees Cook
On Fri, Jul 18, 2014 at 3:22 AM, Markos Chandras wrote: > Hi Kees, > > On 07/17/2014 11:29 PM, Kees Cook wrote: >> Hi, >> >> I recently fixed a bug in seccomp on ARM that I think may be present >> in the MIPS implementation too. In arch/mips/kernel/ptrace.c >> syscall_trace_enter, the syscall vari

Re: WARNING: CPU: 1 PID: 495 at mm/slab_common.c:69 kmem_cache_create+0x1a9/0x330()

2014-07-18 Thread Christoph Lameter
On Fri, 18 Jul 2014, poma wrote: > I guess someone working over the summertime. :) Cache names should not contain blanks. I guess the WARN_ON(strchr(name, ' ')); /* It confuses parsers */ was triggered? -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the bod

[PATCH 4/6] net/macb: add RX checksum offload feature

2014-07-18 Thread Cyrille Pitchen
Signed-off-by: Cyrille Pitchen --- drivers/net/ethernet/cadence/macb.c | 29 - drivers/net/ethernet/cadence/macb.h | 2 ++ 2 files changed, 30 insertions(+), 1 deletion(-) diff --git a/drivers/net/ethernet/cadence/macb.c b/drivers/net/ethernet/cadence/macb.c index 9

Re: [PATCH v3 1/2] ARM: at91/dt: describe rgmii ethernet phy connected to sama5d3xek boards

2014-07-18 Thread Nicolas Ferre
On 10/07/2014 21:59, Boris BREZILLON : > Add ethernet-phy nodes and specify phy interrupt (connected to pin PB25) > and board specific timing configs. > > Atmel has two different HW designs for its CPU modules: the first one > (produced by Embest) is connecting PHYAD[0-2] pins to pull up resistors

[PATCH 1/6] net/macb: configure for FIFO mode and non-gigabit

2014-07-18 Thread Cyrille Pitchen
From: Nicolas Ferre This addition will also allow to configure DMA burst length. Signed-off-by: Nicolas Ferre Acked-by: Cyrille Pitchen --- drivers/net/ethernet/cadence/macb.c | 72 +++-- drivers/net/ethernet/cadence/macb.h | 19 -- 2 files changed, 71

Re: [PATCH] checkpatch.pl: Remove --file option

2014-07-18 Thread Christoph Hellwig
On Fri, Jul 18, 2014 at 03:46:29PM +0200, Richard Weinberger wrote: > As capable kernel hacker you can still use a command like: > diff -urN /dev/null $file | ./scripts/checkpatch.pl - Or he could just use the existing -f flag. I really don't understand why you're trying to educate people by taki

[PATCH 3/6] net/macb: add TX checksum offload feature

2014-07-18 Thread Cyrille Pitchen
Signed-off-by: Cyrille Pitchen --- drivers/net/ethernet/cadence/macb.c | 30 ++ 1 file changed, 30 insertions(+) diff --git a/drivers/net/ethernet/cadence/macb.c b/drivers/net/ethernet/cadence/macb.c index 06e9934..9bdcd1b 100644 --- a/drivers/net/ethernet/cadence/ma

Re: [PATCH] checkpatch.pl: Remove --file option

2014-07-18 Thread Borislav Petkov
On Fri, Jul 18, 2014 at 06:56:12AM -0700, Guenter Roeck wrote: > Yes, that came up before. Or I can revert the patch locally, or keep > an old version of checkpatch around. You make me suffer Come on, you suffer from a one-liner?! Script it or whatever. Puh-lease! The thing is inviting lazy wanke

Re: [PATCH v2 1/1] doc: Add remote CPU access details and others to this_cpu_ops.txt

2014-07-18 Thread Christoph Lameter
On Thu, 17 Jul 2014, Pranith Kumar wrote: > > then we have on x86 a increment operation with locked semantics racing > > with an unlocked one on the same cacheline. > OK, I will add this as a warning in the documentation. Thanks! Note that I have not been able to get beyond a bad feeling. Looked

[PATCH 2/6] net/macb: add scatter-gather hw feature

2014-07-18 Thread Cyrille Pitchen
The scatter-gather feature will allow to enable the Generic Segmentation Offload. Generic Segmentation Offload can be enabled/disabled using ethtool -K DEVNAME gso on|off. e.g: ethtool -K eth0 gso off When enabled, the driver may be provided with socket buffers splitted into many fragments. Th

Re: [PATCH v3 0/2] ARM: at91: remove phy fixup for sama5d3xek boards

2014-07-18 Thread Nicolas Ferre
On 10/07/2014 21:59, Boris BREZILLON : > Hello, > > This patch removes a board specific hook for sama5d3xek boards from the > sama5d3 generic DT board file. > > This hook (which register a phy fixup configuring board specific delays > in the ksz9021 ethernet phy) is now replaced by the appropriat

[PATCH 0/6] net/macb: add HW features to macb driver

2014-07-18 Thread Cyrille Pitchen
Hi, this series of patches adds new hardware features to macb driver. These features can be enabled/disabled at runtime using ethtool. Depending on hardware and design configuration, some are enabled by default whereas other are disabled. For instance, checksum offload features are enabled by def

Re: [PATCH] checkpatch.pl: Remove --file option

2014-07-18 Thread Borislav Petkov
On Fri, Jul 18, 2014 at 04:17:42PM +0200, Lars-Peter Clausen wrote: > --file is a in my opinion useful option and at least I use it on a > regular basis. Use diff -urN /dev/null $file | ./scripts/checkpatch.pl - -- Regards/Gruss, Boris. Sent from a fat crate under my desk. Formatting is fi

[PATCH] ARM: dts: vf610-colibri: split device tree for carrier boards

2014-07-18 Thread Stefan Agner
The Colibri VF61 is a module which needs a carrier board to actually run. Different carrier board have different hardware support, hence we should reflect this in the device tree files. This patch adds the Colibri Evaluation Board, which supports almost all peripherals defined in the Colibri standa

Re: [PATCH] checkpatch.pl: Remove --file option

2014-07-18 Thread Borislav Petkov
On Fri, Jul 18, 2014 at 07:21:14AM -0700, Christoph Hellwig wrote: > Or he could just use the existing -f flag. If you mean the -f flag to checkpatch, he's removing them both. > I really don't understand why you're trying to educate people by > taking their toy away. They'll find another one in n

Re: [PATCH v10 5/8] ata: ahci_platform: add a generic AHCI compatible

2014-07-18 Thread Hans de Goede
Hi, On 07/18/2014 02:30 PM, Antoine Ténart wrote: > The ahci_platform driver is a generic driver using the libahci_platform > functions. Add a generic compatible to avoid having an endless list of > compatibles with no differences for the same driver. > > Signed-off-by: Antoine Ténart > --- > d

Re: perf: child events not killed on release paths, survive indefinitely

2014-07-18 Thread Mark Rutland
On Fri, Jul 18, 2014 at 03:03:43PM +0100, Peter Zijlstra wrote: > On Fri, Jul 18, 2014 at 01:32:39PM +0100, Mark Rutland wrote: > > Hi all, > > > > Sheetal reported a weird issue on arm where events which have been > > closed seem to stay around and compete for HW counters if an application > > ha

[PATCH 5/6] ARM: at91: change compatibility string for sama5d3x gem

2014-07-18 Thread Cyrille Pitchen
this new compatibility string prevents macb/gem driver from using the scatter-gather and gso features on sama5d3x boards. Signed-off-by: Cyrille Pitchen --- arch/arm/boot/dts/sama5d3_gmac.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/sama5d3_gmac.dtsi

[PATCH 6/6] net/macb: enable scatter-gather feature and set DMA burst length for sama5d4 gem

2014-07-18 Thread Cyrille Pitchen
Signed-off-by: Cyrille Pitchen --- drivers/net/ethernet/cadence/macb.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/net/ethernet/cadence/macb.c b/drivers/net/ethernet/cadence/macb.c index 6acd6e2..08105dc 100644 --- a/drivers/net/ethernet/cadence/macb.c +++ b/drivers/net/eth

Re: [PATCH] usb: core: allow zero packet flag for interrupt urbs

2014-07-18 Thread Alan Stern
On Thu, 17 Jul 2014, Steve Calfee wrote: > Hi Alan, > > It has been a few years since I was doing this, but here is my > understanding. If a device descriptor says x bytes should be reserved > (1 to 3072), the host will allocate that much bandwidth. If the sender > sends some number of bytes betw

RE: [Question] Why should we check irq_fpu_usable before accessing using ASENI instructions.

2014-07-18 Thread justin mattock
> Date: Fri, 18 Jul 2014 13:57:15 +0530 > Subject: [Question] Why should we check irq_fpu_usable before accessing using > ASENI instructions. > From: guru2...@gmail.com > To: linux-x86...@vger.kernel.org > > Hello, > I am new to assembly language programming. > In Kernel we check irq_fpu_usabl

Re: [PATCH 1/15] block copy: initial XCOPY offload support

2014-07-18 Thread Mikulas Patocka
On Fri, 18 Jul 2014, Tomas Henzl wrote: > > + if (src_sector + nr_sects < src_sector || > > + dst_sector + nr_sects < dst_sector) > > + return -EINVAL; > > Hi Mikulas, > this^ is meant as an overflow test or what is the reason? > Thanks, Tomas Yes. It is a test for overflow.

Re: [PATCH] checkpatch.pl: Remove --file option

2014-07-18 Thread Joe Perches
On Fri, 2014-07-18 at 16:24 +0200, Borislav Petkov wrote: > On Fri, Jul 18, 2014 at 04:17:42PM +0200, Lars-Peter Clausen wrote: > > --file is a in my opinion useful option and at least I use it on a > > regular basis. [] > diff -urN /dev/null $file | ./scripts/checkpatch.pl - Using the one-liner a

[PATCH v2 1/2] clk: samsung: exynos4: Enable ARMCLK down feature

2014-07-18 Thread Krzysztof Kozlowski
Enable ARMCLK down feature on all Exynos4 SoCs. The frequency of ARMCLK will be reduced upon entering idle mode (WFI or WFE). The feature behaves like very fast cpufreq ondemand governor. In idle mode this reduces energy consumption on full frequency chosen by cpufreq governor by approximately: -

[PATCH v2 2/2] clk: samsung: exynos3250: Enable ARMCLK down feature

2014-07-18 Thread Krzysztof Kozlowski
Enable ARMCLK down feature on Exynos3250 SoC. The frequency of ARMCLK will be reduced upon entering idle mode (WFI or WFE). The feature behaves like very fast cpufreq ondemand governor. The patch uses simillar settings as Exynos5250 (clk-exynos5250.c), except it disables clock up feature. Signed

How to automate checkpatch && get_maintainers && git send-email of commits range?

2014-07-18 Thread Andrey Utkin
Is there script for automated checkpatch.pl && get_maintainers.pl && git send-email for range of commits? I see none. Would it be welcome to submit such one to kernel tree? -- Andrey Utkin -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to major

Re: [PATCH] usb: core: allow zero packet flag for interrupt urbs

2014-07-18 Thread Alan Stern
On Fri, 18 Jul 2014, Amit Virdi wrote: > On 7/17/2014 8:25 PM, Alan Stern wrote: > > I can't say this is actually wrong, but have you ever encountered a > > situation where this would be needed? How often does anyone need to do > > a multi-packet transfer over an interrupt endpoint? > > Honestly

Re: [RFC PATCH] usb: dwc3: core: allow vendor drivers to check probe status

2014-07-18 Thread Felipe Balbi
Hi, On Fri, Jul 18, 2014 at 08:11:15AM +0100, Lee Jones wrote: > > > diff --git a/drivers/usb/dwc3/core.c b/drivers/usb/dwc3/core.c > > > index eb69eb9..171ca52 100644 > > > --- a/drivers/usb/dwc3/core.c > > > +++ b/drivers/usb/dwc3/core.c > > > @@ -47,6 +47,14 @@ > > > > > > /* > > > -

Re: perf: child events not killed on release paths, survive indefinitely

2014-07-18 Thread Jiri Olsa
On Fri, Jul 18, 2014 at 03:31:57PM +0100, Mark Rutland wrote: SNIP > > > I'm not sure what the best way of handling this is. We need to clean up > > > the children when the last possible user of the event is gone, but it > > > looks to me like we'd need to have a separate child_refcount or > > >

Re: [PATCH] checkpatch.pl: Remove --file option

2014-07-18 Thread Guenter Roeck
On 07/18/2014 07:27 AM, Borislav Petkov wrote: On Fri, Jul 18, 2014 at 07:21:14AM -0700, Christoph Hellwig wrote: Or he could just use the existing -f flag. If you mean the -f flag to checkpatch, he's removing them both. Two different 'he'. I really don't understand why you're trying to ed

[PATCH CFT v2] arm: omap1: Migrate debug_ll macros to use 8250.S

2014-07-18 Thread Daniel Thompson
The omap1's debug-macro.S is similar to the generic 8250 code. Compared to the 8520 code the omap1 macro automatically determines what UART to use based on breadcrumbs left by the bootloader and automatically copes with the eccentric register layout on OMAP7XX. This patch drops both these features

Re: hcd.c Fix me statements

2014-07-18 Thread Alan Stern
On Fri, 18 Jul 2014, Nick Krause wrote: > I am assuming this is a stupid question but since I am new I will ask it > anyway. > Can the usb_bus structure be Null? If can I will send it a patch removing > the > fix mes on lines 854 and 878 of hcd.c . Line numbers in a source file usually aren'

Re: [patch 13/13] mm: memcontrol: rewrite uncharge API

2014-07-18 Thread Johannes Weiner
Hi Michal, [cc'ing Miklos for fuse's use of replace_page_cache()] On Fri, Jul 18, 2014 at 09:12:46AM +0200, Michal Hocko wrote: > On Tue 15-07-14 14:19:35, Michal Hocko wrote: > > [...] > > > +/** > > > + * mem_cgroup_migrate - migrate a charge to another page > > > + * @oldpage: currently charge

Re: [PATCH] checkpatch.pl: Remove --file option

2014-07-18 Thread Borislav Petkov
On Fri, Jul 18, 2014 at 07:35:26AM -0700, Joe Perches wrote: > Using the one-liner above also makes it harder to > automate checkpatch neatening and avoid using Lindent: automated checkpatch?? More idiocy... we want less, in case you've forgotten. Let me state it again: The thing is called che

Re: Scheduler regression from caffcdd8d27ba78730d5540396ce72ad022aff2c

2014-07-18 Thread Peter Zijlstra
On Fri, Jul 18, 2014 at 04:16:48PM +0200, Peter Zijlstra wrote: > On Fri, Jul 18, 2014 at 08:01:26AM -0500, Bruno Wolff III wrote: > > build_sched_domain: cpu: 0 level: SMT cpu_map: 0-3 tl->mask: 0,2 > > [0.254433] build_sched_domain: cpu: 0 level: MC cpu_map: 0-3 tl->mask: 0 > > [0.254516]

Re: [PATCH v13 6/8] arm: add pmd_[dirty|mkclean] for THP

2014-07-18 Thread Steve Capper
On Fri, Jul 18, 2014 at 03:53:04PM +0900, Minchan Kim wrote: > MADV_FREE needs pmd_dirty and pmd_mkclean for detecting recent > overwrite of the contents since MADV_FREE syscall is called for > THP page. > > This patch adds pmd_dirty and pmd_mkclean for THP page MADV_FREE > support. > > Cc: Catal

Re: How to automate checkpatch && get_maintainers && git send-email of commits range?

2014-07-18 Thread Benoit Taine
On 18/07/2014 17:38, Andrey Utkin wrote: > Is there script for automated checkpatch.pl && get_maintainers.pl && > git send-email for range of commits? I see none. Would it be welcome > to submit such one to kernel tree? You can use `splitpatch` to split a patch into multiple mails with the correct

Re: [PATCH v13 7/8] arm64: add pmd_[dirty|mkclean] for THP

2014-07-18 Thread Steve Capper
On Fri, Jul 18, 2014 at 03:53:05PM +0900, Minchan Kim wrote: > MADV_FREE needs pmd_dirty and pmd_mkclean for detecting recent > overwrite of the contents since MADV_FREE syscall is called for > THP page. > > This patch adds pmd_dirty and pmd_mkclean for THP page MADV_FREE > support. > > Cc: Catal

Re: How to automate checkpatch && get_maintainers && git send-email of commits range?

2014-07-18 Thread Alexey Dobriyan
> Is there script for automated checkpatch.pl && get_maintainers.pl && > git send-email for range of commits? I see none. Would it be welcome > to submit such one to kernel tree? Spurious checkpatch.pl changes increasing number of git-blame "false positives" are more than enough. Alexey -- To

Re: [PATCH] checkpatch.pl: Remove --file option

2014-07-18 Thread Borislav Petkov
On Fri, Jul 18, 2014 at 07:43:57AM -0700, Guenter Roeck wrote: > Thinking about it, Linux itself can be abused as well. We should > take it away to prevent that abuse from happening. Whatever floats your boat, dude. -- Regards/Gruss, Boris. Sent from a fat crate under my desk. Formatting is

Re: [PATCH] checkpatch.pl: Remove --file option

2014-07-18 Thread Joe Perches
On Fri, 2014-07-18 at 16:49 +0200, Borislav Petkov wrote: > On Fri, Jul 18, 2014 at 07:35:26AM -0700, Joe Perches wrote: > > Using the one-liner above also makes it harder to > > automate checkpatch neatening and avoid using Lindent: > > automated checkpatch?? More idiocy... we want less, in case

Re: [PATCH] arm64: make CONFIG_ZONE_DMA user settable

2014-07-18 Thread Catalin Marinas
On Fri, Jul 18, 2014 at 12:58:31PM +0100, Anup Patel wrote: > On 18 July 2014 16:37, Catalin Marinas wrote: > > From 133656f8378dbb838ad5f12ea29aa9303d7ca922 Mon Sep 17 00:00:00 2001 > > From: Catalin Marinas > > Date: Fri, 18 Jul 2014 11:54:37 +0100 > > Subject: [PATCH] arm64: Create non-empty Z

Re: [PATCH 1/5] memory-hotplug: x86_64: suitable memory should go to ZONE_MOVABLE

2014-07-18 Thread Dave Hansen
On 07/18/2014 12:55 AM, Wang Nan wrote: > + if (!zone_is_empty(movable_zone)) > + if (zone_spans_pfn(movable_zone, start_pfn) || > + (zone_end_pfn(movable_zone) <= start_pfn)) > + zone = movable_zone; > + It's nice that you hit so man

Re: ls -l /proc/1/exe -> Permission denied

2014-07-18 Thread Joakim Tjernlund
Joakim Tjernlund/Transmode wrote on 2014/07/18 15:49:17: > > Richard Weinberger wrote on 2014/07/18 14:58:30: > > > > On Thu, Jul 17, 2014 at 1:18 PM, Joakim Tjernlund > > wrote: > > > Trying to real /proc//exe I noticed I could not read links not > > > belonging to my user such as: > > > jock

Re: [PATCH] checkpatch.pl: Remove --file option

2014-07-18 Thread Borislav Petkov
On Fri, Jul 18, 2014 at 07:57:13AM -0700, Joe Perches wrote: > I think your viewpoint is a bit tainted as you're the > same guy that wrote "fuck readability". > > https://lkml.org/lkml/2013/11/19/116 It seems you still haven't understood what I actually meant. If you'd tried to understand what I

Re: [PATCH v5 1/8] of: Add NVIDIA Tegra SATA controller binding

2014-07-18 Thread Thierry Reding
On Fri, Jul 18, 2014 at 12:28:54PM +0200, Hans de Goede wrote: > Hi, > > On 07/18/2014 09:16 AM, Mikko Perttunen wrote: > > So here's v5: this time, as suggested, I handle the sata clock myself and > > let ahci_platform handle it too, leading it to be prepared+enabled twice. > > This works fine,

Re: [patch] mm: memcontrol: use page lists for uncharge batching

2014-07-18 Thread Johannes Weiner
On Thu, Jul 17, 2014 at 05:29:36PM +0200, Michal Hocko wrote: > On Mon 07-07-14 14:55:58, Johannes Weiner wrote: > > Pages are now uncharged at release time, and all sources of batched > > uncharges operate on lists of pages. Directly use those lists, and > > get rid of the per-task batching state

Re: [PATCH 1/1] [SCSI] Fix a bug in deriving the FLUSH_TIMEOUT from the basic I/O timeout

2014-07-18 Thread Christoph Hellwig (h...@infradead.org)
On Thu, Jul 17, 2014 at 11:53:33PM +, KY Srinivasan wrote: > I still see this problem. There was talk of fixing it elsewhere. Well, what we have right not is entirely broken, given that the block layer doesn't initialize ->timeout on TYPE_FS requeuests. We either need to revert that initial c

Re: [PATCH 1/1] [SCSI] Fix a bug in deriving the FLUSH_TIMEOUT from the basic I/O timeout

2014-07-18 Thread Christoph Hellwig (h...@infradead.org)
On Fri, Jul 18, 2014 at 12:51:06AM +, Elliott, Robert (Server Storage) wrote: > SYNCHRONIZE CACHE (16) should be favored over SYNCHRONIZE > CACHE (10) unless SYNCHRONIZE CACHE (10) is not supported. I gues you mean (16) for the last occurance? What's the benefit of using SYNCHRONIZE CACHE (

Re: [patch 13/13] mm: memcontrol: rewrite uncharge API

2014-07-18 Thread Miklos Szeredi
On Fri, Jul 18, 2014 at 4:45 PM, Johannes Weiner wrote: > I assumed the source page would always be new, according to this part > in fuse_try_move_page(): > > /* > * This is a new and locked page, it shouldn't be mapped or > * have any special flags on it > */ >

[GIT PULL] KVM changes for 3.16-rc6

2014-07-18 Thread Paolo Bonzini
Linus, The following changes since commit cd3de83f147601356395b57a8673e9c5ff1e59d1: Linux 3.16-rc4 (2014-07-06 12:37:51 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/virt/kvm/kvm.git tags/for-linus for you to fetch changes up to bb18b526a9d8d4a3fe56f234d5013b9

Re: [PATCHv6 2/4] iio: adc: exynos_adc: Control special clock of ADC to support Exynos3250 ADC

2014-07-18 Thread Chanwoo Choi
On Fri, Jul 18, 2014 at 8:14 PM, Arnd Bergmann wrote: > On Friday 18 July 2014 19:00:48 Chanwoo Choi wrote: >> On 07/18/2014 06:47 PM, Arnd Bergmann wrote: >> > >> > Further, why is it called "sclk_adc" rather than just "sclk"? >> >> The sclk means 'special clock' in Exynos TRM. Exynos SoC has var

[PATCH v6 2/5] PCI: designware: refactor MSI code to work with v3.65 dw hardware

2014-07-18 Thread Murali Karicheri
Keystone PCI controller is based on v3.65 version of the DW PCI h/w that implements MSI controller registers in application space compared to the newer version. This requires updates to the DW core API to support the PCI controller driver based on this old DW hardware. Add msi_irq_set()/clear() API

[PATCH v3] sparc: Add support for seek and shorter read to /dev/mdesc

2014-07-18 Thread Khalid Aziz
/dev/mdesc on Linux does not support reading arbitrary number of bytes and seeking while /dev/mdesc on Solaris does. This causes tools that work on Solaris to break on Linux. This patch adds these two capabilities to /dev/mdesc. Signed-off-by: Khalid Aziz --- v3: - Whitespace cleanup v2:

[PATCH v6 5/5] PCI: keystone: Update maintainer information

2014-07-18 Thread Murali Karicheri
Update the MAINTAINERS file for the keystone PCIe driver Signed-off-by: Murali Karicheri CC: Santosh Shilimkar CC: Russell King CC: Grant Likely CC: Rob Herring CC: Mohit Kumar CC: Jingoo Han CC: Bjorn Helgaas CC: Pratyush Anand CC: Richard Zhu CC: Kishon Vijay Abraham I CC: Marek Vasu

[PATCH v6 3/5] PCI: designware: enhance dw_pcie_host_init() to support v3.65 DW hardware

2014-07-18 Thread Murali Karicheri
keystone PCI controller is based on v3.65 designware hardware. This version differs from newer versions of the hardware in few functional areas discussed below that makes it necessary to change dw_pcie_host_init() to support v3.65 based PCI controller. 1. No support for ATU port. So any ATU speci

[PATCH v6 1/5] PCI: designware: add rd[wr]_other_conf API

2014-07-18 Thread Murali Karicheri
v3.65 version of the designware h/w, requires application space registers to be configured to access the remote EP config space. To support this, add rd[wr]_other_conf API in the pcie_host_opts Signed-off-by: Murali Karicheri Reviewed-by: Pratyush Anand Acked-by: Mohit Kumar Acked-by: Jingoo Ha

[PATCH v6 4/5] PCI: add PCI controller for keystone PCIe h/w

2014-07-18 Thread Murali Karicheri
keystone PCIe controller is based on v3.65 version of the designware h/w. Main differences are 1. No ATU support 2. Legacy and MSI irq functions are implemented in application register space 3. MSI interrupts are multiplexed over 8 IRQ lines to the Host

[PATCH v6 0/5] Add Keystone PCIe controller driver

2014-07-18 Thread Murali Karicheri
This patch series add PCIe controller driver for keystone SoCs. This is based on v4 of the series posted to the mailing list. Keystone PCI controller is based on version 3.65 of the DW hardware. This driver uses the DW core functions to implement the PCI controller driver for keystone. Testing: ==

Re: [PATCH 31/38] score: clean-up uapi Kbuild file

2014-07-18 Thread Lennox Wu
Acked-by: Lennox Wu 2014-07-14 23:08 GMT+08:00 Sam Ravnborg : > Remove redundant assignments. > > Signed-off-by: Sam Ravnborg > Cc: Chen Liqin > Cc: Lennox Wu > --- > arch/score/include/uapi/asm/Kbuild | 32 > 1 file changed, 32 deletions(-) > > diff --git a/

Re: [PATCH/linux-next] Documentation:Docbook: Fix file locations in gadget.tmpl

2014-07-18 Thread Randy Dunlap
On 07/17/2014 08:46 PM, Masanari Iida wrote: > Because of file location changes by commit 5ed4ac73e5975, > make xmldocs failed because of missing files. > Fix file paths in gadget.tmpl file. > > Signed-off-by: Masanari Iida Hi, There was a patch for this on the USB mailing list yesterday from A

Re: Power-managing devices that are not of interest at some point in time

2014-07-18 Thread Alan Stern
On Fri, 18 Jul 2014, Rafael J. Wysocki wrote: > > > the problem really seems to be that drivers are not > > > aggressive enough with starting PM transitions (using runtime PM) when > > > they > > > see no activity. Thus it seems that when the lid is closed, it'll be good > > > to switch the driv

Re: [PATCH 1/3] fuse/dev: Fix unbalanced calls to kunmap_atomic() during splice I/O

2014-07-18 Thread Miklos Szeredi
On Mon, Jul 14, 2014 at 9:18 PM, Seth Forshee wrote: > fuse_copy_finish() assumes that mapaddr in fuse_copy_state refers > to a valid mapping if currbuf is non-NULL, but this isn't always > true when moving pages for splice I/O. This results in an > unbalanced call to kunmap_atomic() and thus an u

Re: [PATCHv6 2/4] iio: adc: exynos_adc: Control special clock of ADC to support Exynos3250 ADC

2014-07-18 Thread Arnd Bergmann
On Saturday 19 July 2014 00:15:35 Chanwoo Choi wrote: > On Fri, Jul 18, 2014 at 8:14 PM, Arnd Bergmann wrote: > > On Friday 18 July 2014 19:00:48 Chanwoo Choi wrote: > >> On 07/18/2014 06:47 PM, Arnd Bergmann wrote: > >> > > >> > Further, why is it called "sclk_adc" rather than just "sclk"? > >> >

Re: How to automate checkpatch && get_maintainers && git send-email of commits range?

2014-07-18 Thread Andrey Utkin
2014-07-18 17:46 GMT+03:00 Benoit Taine : > On 18/07/2014 17:38, Andrey Utkin wrote: >> Is there script for automated checkpatch.pl && get_maintainers.pl && >> git send-email for range of commits? I see none. Would it be welcome >> to submit such one to kernel tree? > You can use `splitpatch` to s

Re: [PATCH net 4/4] xen-netback: Fix pointer incrementation to avoid incorrect logging

2014-07-18 Thread Wei Liu
On Thu, Jul 17, 2014 at 08:09:52PM +0100, Zoltan Kiss wrote: > Due to this pointer is increased prematurely, the error log contains rubbish. > > Signed-off-by: Zoltan Kiss > Reported-by: Armin Zentai > Cc: net...@vger.kernel.org > Cc: linux-kernel@vger.kernel.org > Cc: xen-de...@lists.xenproject

Re: [PATCH net 1/4] xen-netback: Fix handling frag_list on grant op error path

2014-07-18 Thread Wei Liu
On Thu, Jul 17, 2014 at 08:09:49PM +0100, Zoltan Kiss wrote: > The error handling for skb's with frag_list was completely wrong, it caused > double unmap attempts to happen if the error was on the first skb. Move it to > the right place in the loop. > > Signed-off-by: Zoltan Kiss > Reported-by: A

Re: [PATCH net 2/4] xen-netback: Fix releasing frag_list skbs in error path

2014-07-18 Thread Wei Liu
On Thu, Jul 17, 2014 at 08:09:50PM +0100, Zoltan Kiss wrote: > When the grant operations failed, the skb is freed up eventually, and it tries > to release the frags, if there is any. For the main skb nr_frags is set to 0 > to > avoid this, but on the frag_list it iterates through the frags array,

[PATCH 16/25] be2net: Replace DEFINE_PCI_DEVICE_TABLE macro use

2014-07-18 Thread Benoit Taine
We should prefer `struct pci_device_id` over `DEFINE_PCI_DEVICE_TABLE` to meet kernel coding style guidelines. This issue was reported by checkpatch. Signed-off-by: Benoit Taine --- Tested by compilation without errors. drivers/net/ethernet/emulex/benet/be_main.c |2 +- 1 file changed, 1 i

[PATCH 18/25] smsc9420: Replace DEFINE_PCI_DEVICE_TABLE macro use

2014-07-18 Thread Benoit Taine
We should prefer `struct pci_device_id` over `DEFINE_PCI_DEVICE_TABLE` to meet kernel coding style guidelines. This issue was reported by checkpatch. Signed-off-by: Benoit Taine --- Tested by compilation without errors. drivers/net/ethernet/smsc/smsc9420.c |2 +- 1 file changed, 1 insertio

Re: [PATCH net 3/4] xen-netback: Fix releasing header slot on error path

2014-07-18 Thread Wei Liu
On Thu, Jul 17, 2014 at 08:09:51PM +0100, Zoltan Kiss wrote: > This patch makes this function aware that the first frag and the header might > share the same ring slot. That could happen if the first slot is bigger than > MAX_SKB_LEN. Due to this the error path might release that slot twice or > n

[PATCH 23/25] virtio: Replace DEFINE_PCI_DEVICE_TABLE macro use

2014-07-18 Thread Benoit Taine
We should prefer `struct pci_device_id` over `DEFINE_PCI_DEVICE_TABLE` to meet kernel coding style guidelines. This issue was reported by checkpatch. Signed-off-by: Benoit Taine --- Tested by compilation without errors. drivers/virtio/virtio_pci.c |2 +- 1 file changed, 1 insertion(+), 1 d

Re: [PATCH 2/7] test: add firmware_class loader test

2014-07-18 Thread Kees Cook
On Thu, Jul 17, 2014 at 6:47 PM, Greg Kroah-Hartman wrote: > On Mon, Jul 14, 2014 at 02:38:12PM -0700, Kees Cook wrote: >> This provides a simple interface to trigger the firmware_class loader >> to test built-in, filesystem, and user helper modes. Additionally adds >> tests via the new interface

[PATCH 25/25] ipack: Replace DEFINE_PCI_DEVICE_TABLE macro use

2014-07-18 Thread Benoit Taine
We should prefer `struct pci_device_id` over `DEFINE_PCI_DEVICE_TABLE` to meet kernel coding style guidelines. This issue was reported by checkpatch. Signed-off-by: Benoit Taine --- Tested by compilation without errors. drivers/ipack/carriers/tpci200.c |2 +- 1 file changed, 1 insertion(+)

[PATCH 7/25] rt2x00: Replace DEFINE_PCI_DEVICE_TABLE macro use

2014-07-18 Thread Benoit Taine
We should prefer `struct pci_device_id` over `DEFINE_PCI_DEVICE_TABLE` to meet kernel coding style guidelines. This issue was reported by checkpatch. Signed-off-by: Benoit Taine --- Tested by compilation without errors. drivers/net/wireless/rt2x00/rt2400pci.c |2 +- drivers/net/wireless/rt

[PATCH 21/25] hostap: Replace DEFINE_PCI_DEVICE_TABLE macro use

2014-07-18 Thread Benoit Taine
We should prefer `struct pci_device_id` over `DEFINE_PCI_DEVICE_TABLE` to meet kernel coding style guidelines. This issue was reported by checkpatch. Signed-off-by: Benoit Taine --- Tested by compilation without errors. drivers/net/wireless/hostap/hostap_pci.c |2 +- drivers/net/wireless/h

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