Re: [PATCH v1 1/2] soc: ti: display firmware file name as part of boot log

2015-09-09 Thread santosh.shilim...@oracle.com
On 9/9/15 9:38 AM, Murali Karicheri wrote: On 09/04/2015 11:53 PM, santosh.shilim...@oracle.com wrote: On 9/4/15 5:46 PM, Murali Karicheri wrote: To help the user, print the PDSP file name as part of knav_queue_load_pdsp(). This will be useful for users to know what version of the firmware is l

Re: [PATCH 2/2][RFC] kselftest: timers: Add adjtick test to validate adjtimex() tick adjustments

2015-09-09 Thread John Stultz
On Wed, Sep 9, 2015 at 1:32 AM, Miroslav Lichvar wrote: > On Tue, Sep 08, 2015 at 10:57:06PM -0700, John Stultz wrote: >> Recently an issue was reported that was difficult to detect except >> by tweaking the adjtimex tick value, and noticing how quickly the >> adjustment took to be made: >>

Re: [PATCH v3 1/5] Input: goodix - reset device at init

2015-09-09 Thread Bastien Nocera
On Thu, 2015-07-30 at 11:27 +, Tirdea, Irina wrote: > I can send some additional patches that will simplify testing the > configuration update to the Goodix device. I think this feature is > the easiest > to test so we can determine if writing to the interrupt pin actually > works. > However, e

Re: [PATCH v5 2/9] Input: goodix - use actual config length for each device type

2015-09-09 Thread Bastien Nocera
On Mon, 2015-09-07 at 17:36 +0300, Irina Tirdea wrote: > Each of the Goodix devices supported by this driver has a fixed size > for > the configuration information registers. The size varies depending on > the > device and is specified in the datasheet. > > Use the proper configuration length as s

Re: [PATCH v5 1/9] Input: goodix - sort includes alphabetically

2015-09-09 Thread Bastien Nocera
On Mon, 2015-09-07 at 17:36 +0300, Irina Tirdea wrote: > Signed-off-by: Irina Tirdea Acked-by: Bastien Nocera > --- > drivers/input/touchscreen/goodix.c | 12 ++-- > 1 file changed, 6 insertions(+), 6 deletions(-) > > diff --git a/drivers/input/touchscreen/goodix.c > b/drivers/input/t

Re: [PATCH v5 3/9] Input: goodix - reset device at init

2015-09-09 Thread Bastien Nocera
On Mon, 2015-09-07 at 17:36 +0300, Irina Tirdea wrote: > After power on, it is recommended that the driver resets the device. > The reset procedure timing is described in the datasheet and is used > at device init (before writing device configuration) and > for power management. It is a sequence of

Re: [PATCH] selftests/seccomp: add support for s390

2015-09-09 Thread Shuah Khan
On 09/09/2015 10:45 AM, Shuah Khan wrote: > On 09/09/2015 10:40 AM, Kees Cook wrote: >> Re-ping. Can someone pull this into their tree? >> >> -Kees >> >> On Fri, Aug 21, 2015 at 11:22 AM, Kees Cook wrote: >>> This adds support for s390 to the seccomp selftests. Some improvements >>> were made to e

Re: [PATCH] lib/vsprintf.c: increase the size of the field_width variable

2015-09-09 Thread Joe Perches
On Wed, 2015-09-09 at 12:36 -0400, Tejun Heo wrote: > On Wed, Sep 09, 2015 at 09:33:52AM -0700, Joe Perches wrote: > > On Wed, 2015-09-09 at 12:13 +0200, Maurizio Lombardi wrote: > > > When printing a bitmap using the "%*pb[l]" printk format > > > a 16 bit variable (field_width) is used to store th

Re: [PATCH 1/6] ebpf: add a seccomp program type

2015-09-09 Thread Alexei Starovoitov
On Wed, Sep 09, 2015 at 09:37:51AM -0700, Kees Cook wrote: > On Wed, Sep 9, 2015 at 9:09 AM, Daniel Borkmann wrote: > > On 09/09/2015 06:07 PM, Alexei Starovoitov wrote: > >> > >> On Wed, Sep 09, 2015 at 09:50:35AM -0600, Tycho Andersen wrote: > > > > [...] > >>> > >>> Thoughts? > >> > >> > >> Ple

Re: [PATCH] dax: update PMD fault handler with PMEM API

2015-09-09 Thread Linus Torvalds
On Wed, Sep 9, 2015 at 9:29 AM, Ross Zwisler wrote: > Linus, would you consider applying this to the v4.3 merge tree? Done. Linus -- 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 3/3] Revert "task_work: remove fifo ordering guarantee"

2015-09-09 Thread Oleg Nesterov
On 09/09, Linus Torvalds wrote: > > On Wed, Sep 9, 2015 at 6:16 AM, Oleg Nesterov wrote: > > > > Again, rightly or not I believe that FIFO makes task_work_add() more useful. > > Perhaps I am wrong, so far I can only provide the artificial examples... > > I'd rather wait until somebody has a real u

Re: [PATCH] perf report: Fix invalid memory accessing

2015-09-09 Thread Arnaldo Carvalho de Melo
Em Wed, Sep 09, 2015 at 01:06:40PM -0300, Arnaldo Carvalho de Melo escreveu: > Em Tue, Sep 08, 2015 at 01:35:10PM -0300, Arnaldo Carvalho de Melo escreveu: > > Em Tue, Sep 08, 2015 at 01:13:59PM -0300, Arnaldo Carvalho de Melo escreveu: > > > Em Tue, Sep 08, 2015 at 12:58:31PM -0300, Arnaldo Carval

Re: [PATCH] selftests/seccomp: add support for s390

2015-09-09 Thread Shuah Khan
On 09/09/2015 10:40 AM, Kees Cook wrote: > Re-ping. Can someone pull this into their tree? > > -Kees > > On Fri, Aug 21, 2015 at 11:22 AM, Kees Cook wrote: >> This adds support for s390 to the seccomp selftests. Some improvements >> were made to enhance the accuracy of failure reporting, and add

Re: [PATCH] mmc: block: Add new ioctl to send multi commands

2015-09-09 Thread Jon Hunter
On 09/09/15 16:56, Arnd Bergmann wrote: > On Wednesday 09 September 2015 16:06:01 Jon Hunter wrote: >> + >> + idata = kcalloc(mcci.num_of_cmds, sizeof(*idata), GFP_KERNEL); >> + if (!idata) { >> + err = -ENOMEM; >> + goto cmd_err; >> + } >> + >> +

Re: [PATCH] selftests/seccomp: add support for s390

2015-09-09 Thread Kees Cook
Re-ping. Can someone pull this into their tree? -Kees On Fri, Aug 21, 2015 at 11:22 AM, Kees Cook wrote: > This adds support for s390 to the seccomp selftests. Some improvements > were made to enhance the accuracy of failure reporting, and additional > tests were added to validate assumptions ab

Re: [PATCH v1 1/2] soc: ti: display firmware file name as part of boot log

2015-09-09 Thread Murali Karicheri
On 09/04/2015 11:53 PM, santosh.shilim...@oracle.com wrote: On 9/4/15 5:46 PM, Murali Karicheri wrote: To help the user, print the PDSP file name as part of knav_queue_load_pdsp(). This will be useful for users to know what version of the firmware is loaded to PDSP. Also update the document for

Re: [PATCH 1/6] ebpf: add a seccomp program type

2015-09-09 Thread Kees Cook
On Wed, Sep 9, 2015 at 9:09 AM, Daniel Borkmann wrote: > On 09/09/2015 06:07 PM, Alexei Starovoitov wrote: >> >> On Wed, Sep 09, 2015 at 09:50:35AM -0600, Tycho Andersen wrote: > > [...] >>> >>> Thoughts? >> >> >> Please do not add any per-instruction hacks. None of them are >> necessary. Classic

Re: [PATCH V7 2/3] qe_common: add qe_muram_ functions to manage muram

2015-09-09 Thread Scott Wood
On Sun, 2015-09-06 at 01:37 -0500, Zhao Qiang-B45475 wrote: > On Mon, 2015-09-2 at 8:34 +0800, Wood Scott-B07421 wrote: > > -Original Message- > > From: Wood Scott-B07421 > > Sent: Wednesday, September 02, 2015 8:34 AM > > To: Zhao Qiang-B45475 > > Cc: linux-kernel@vger.kernel.org; linuxppc

Re: [PATCH V7 1/3] genalloc:support memory-allocation with bytes-alignment to genalloc

2015-09-09 Thread Scott Wood
On Sat, 2015-09-05 at 22:13 -0500, Zhao Qiang-B45475 wrote: > On Wed, 2015-09-02 at 10:18AM +0800, Wood Scott-B07421 wrote: > > -Original Message- > > From: Wood Scott-B07421 > > Sent: Wednesday, September 02, 2015 10:18 AM > > To: Zhao Qiang-B45475 > > Cc: linux-kernel@vger.kernel.org; lin

Re: [PATCH] lib/vsprintf.c: increase the size of the field_width variable

2015-09-09 Thread Tejun Heo
Hello, On Wed, Sep 09, 2015 at 09:33:52AM -0700, Joe Perches wrote: > On Wed, 2015-09-09 at 12:13 +0200, Maurizio Lombardi wrote: > > When printing a bitmap using the "%*pb[l]" printk format > > a 16 bit variable (field_width) is used to store the size of the bitmap. > > In some cases 16 bits are

Re: [PATCH v4 2/2] dt: power: st: Provide bindings for ST's OPPs

2015-09-09 Thread Lee Jones
> > Or have I got the wrong end of the stick? > > > > NB: Note the suggested new property names. > > Yeah, all looks fine to me. I think these names are better: opp-supply-range-name => opp-microvolt-names opp-cuts => opp-supported-hw Apart from that, the binding is starting t

Re: [PATCH] lib/vsprintf.c: increase the size of the field_width variable

2015-09-09 Thread Joe Perches
On Wed, 2015-09-09 at 12:13 +0200, Maurizio Lombardi wrote: > When printing a bitmap using the "%*pb[l]" printk format > a 16 bit variable (field_width) is used to store the size of the bitmap. > In some cases 16 bits are not sufficient, the variable overflows and > printk does not work as expected

[PATCH] dax: update PMD fault handler with PMEM API

2015-09-09 Thread Ross Zwisler
As part of the v4.3 merge window the DAX code was updated by Matthew and Kirill to handle PMD pages. Also as part of the v4.3 merge window we updated the DAX code to do proper PMEM flushing: 2765cfbb342c ("dax: update I/O path to do proper PMEM flushing") The additional code added by the DAX PMD

Re: [PATCH] mm/mmap.c: Remove useless statement "vma = NULL" in find_vma()

2015-09-09 Thread Oleg Nesterov
On 09/08, Chen Gang wrote: > > I also want to consult: the comments of find_vma() says: Sorry, I don't understand the question ;) > "Look up the first VMA which satisfies addr < vm_end, ..." > > Is it OK? Why not? > (why not "vm_start <= addr < vm_end"), Because this some callers actually want

Re: Kernel 4.1.6 Panic due to slab corruption

2015-09-09 Thread Vlastimil Babka
On 09/09/2015 04:01 PM, Christoph Lameter wrote: On Wed, 9 Sep 2015, Nikolay Borisov wrote: What does: echo 1 >trace do? Could crash the sysem due to overload of messages. Yes I've seen that happen. Did you consider hooking it to trace_printk() instead of printk()? -- To unsubscrib

Re: [PATCH 3/3] Revert "task_work: remove fifo ordering guarantee"

2015-09-09 Thread Linus Torvalds
On Wed, Sep 9, 2015 at 6:16 AM, Oleg Nesterov wrote: > > Again, rightly or not I believe that FIFO makes task_work_add() more useful. > Perhaps I am wrong, so far I can only provide the artificial examples... I'd rather wait until somebody has a real use case. I hate adding infrastructure for "wh

Re: [PATCH 1/4] stmmac: replace all pr_xxx by their dev_xxx counterpart

2015-09-09 Thread Joe Perches
On Wed, 2015-09-09 at 15:14 +0200, LABBE Corentin wrote: > The stmmac driver use lots of pr_xxx functions to print information. > This is bad since we cannot know which device logs the information. > (moreover if two stmmac device are present) [] > So this patch replace all pr_xxx by their dev_xxx

Re: [PATCH 1/6] ebpf: add a seccomp program type

2015-09-09 Thread Daniel Borkmann
On 09/04/2015 11:50 PM, Andy Lutomirski wrote: On Fri, Sep 4, 2015 at 9:04 AM, Tycho Andersen [...] +static const struct bpf_func_proto * +seccomp_func_proto(enum bpf_func_id func_id) +{ + /* Right now seccomp eBPF loading doesn't support maps; seccomp filters +* are considered to

Re: [PATCH 0/2] btrfs: fortification for GFP_NOFS allocations

2015-09-09 Thread Vlastimil Babka
On 08/19/2015 08:17 PM, Chris Mason wrote: On Wed, Aug 19, 2015 at 02:17:39PM +0200, mho...@kernel.org wrote: Hi, these two patches were sent as a part of a larger RFC which aims at allowing GFP_NOFS allocations to fail to help sort out memory reclaim issues bound to the current behavior (http:/

Re: [PATCH 1/6] ebpf: add a seccomp program type

2015-09-09 Thread Daniel Borkmann
On 09/09/2015 06:07 PM, Alexei Starovoitov wrote: On Wed, Sep 09, 2015 at 09:50:35AM -0600, Tycho Andersen wrote: [...] Thoughts? Please do not add any per-instruction hacks. None of them are necessary. Classic had to do extra ugly checks in seccomp only because verifier wasn't flexible enoug

Re: [PATCH 1/6] ebpf: add a seccomp program type

2015-09-09 Thread Daniel Borkmann
On 09/09/2015 05:50 PM, Tycho Andersen wrote: On Fri, Sep 04, 2015 at 02:08:37PM -0700, Kees Cook wrote: On Fri, Sep 4, 2015 at 2:06 PM, Tycho Andersen [...] I was expecting to see a validator, similar to the existing BPF validator that is called when creating seccomp filters currently. Can we

Re: [PATCH 1/6] ebpf: add a seccomp program type

2015-09-09 Thread Alexei Starovoitov
On Wed, Sep 09, 2015 at 09:50:35AM -0600, Tycho Andersen wrote: > > > > > > That's effectively what this patch does; when the eBPF is loaded via > > > bpf(), you tell bpf() you want a BPF_PROG_TYPE_SECCOMP, and it invokes > > > this validation/translation code, i.e. it uses > > > seccomp_is_valid_a

Re: [PATCH] perf report: Fix invalid memory accessing

2015-09-09 Thread Arnaldo Carvalho de Melo
Em Tue, Sep 08, 2015 at 01:35:10PM -0300, Arnaldo Carvalho de Melo escreveu: > Em Tue, Sep 08, 2015 at 01:13:59PM -0300, Arnaldo Carvalho de Melo escreveu: > > Em Tue, Sep 08, 2015 at 12:58:31PM -0300, Arnaldo Carvalho de Melo escreveu: > > > Right now we don't have that much use for the other fiel

Re: randconfig build error with next-20150908, in drivers/md/dm-mpath.c

2015-09-09 Thread Christoph Hellwig
Does this fix the issue for you? My Kconfig-fu isn't the best, but the idea behind this is that dm-mpath will depend on SCSI if SCSI_DH is set. If SCSI_DH is not set it will use the stubs and not care about SCSI. diff --git a/drivers/md/Kconfig b/drivers/md/Kconfig index b597273..e9ea681 100644

Re: Multiple potential races on vma->vm_flags

2015-09-09 Thread Kirill A. Shutemov
On Wed, Sep 09, 2015 at 05:27:16PM +0200, Vlastimil Babka wrote: > On 09/07/2015 01:40 PM, Kirill A. Shutemov wrote: > >On Sun, Sep 06, 2015 at 03:21:05PM -0400, Sasha Levin wrote: > >>== > >>ThreadSanitizer: data-race in munlock_vma_p

Re: [PATCH v4 2/2] dt: power: st: Provide bindings for ST's OPPs

2015-09-09 Thread Viresh Kumar
On 09-09-15, 14:39, Lee Jones wrote: > Okay, I see what you mean. Sound fine, although only allows up to 31 > versions. Not an issue for us I don't think, but could be for other > vendors. Taking a recent example, the kernel recently went up to > v2.6.39 and some of the stable releases have gone

Re: [PATCH 3/4] net: mv643xx_eth: use kzalloc

2015-09-09 Thread Joe Perches
On Wed, 2015-09-09 at 10:38 +0200, Rasmus Villemoes wrote: > The double memset is a little ugly; using kzalloc avoids it altogether. [] > diff --git a/drivers/net/ethernet/marvell/mv643xx_eth.c > b/drivers/net/ethernet/marvell/mv643xx_eth.c [] > @@ -1859,14 +1859,11 @@ oom: > return;

Re: [linux-sunxi] Re: Almost certainly confirmed, sun7i-a20 does not support 8 bit mmc.

2015-09-09 Thread Olliver Schinagl
Hey, On 09-09-15 17:32, Hans de Goede wrote: Hi, On 09-09-15 16:30, Maxime Ripard wrote: On Wed, Sep 09, 2015 at 03:04:11PM +0200, Olliver Schinagl wrote: Hey all, After experimenting with a Micron eMMC chip, I made some interesting finds I wanted to share with you all. For a while now, s

Re: [PATCH] mmc: block: Add new ioctl to send multi commands

2015-09-09 Thread Arnd Bergmann
On Wednesday 09 September 2015 16:06:01 Jon Hunter wrote: > + > + idata = kcalloc(mcci.num_of_cmds, sizeof(*idata), GFP_KERNEL); > + if (!idata) { > + err = -ENOMEM; > + goto cmd_err; > + } > + > + cmds = (struct mmc_ioc_cmd __user *)(unsigned lon

Re: [PATCH 5/6] seccomp: add a way to attach a filter via eBPF fd

2015-09-09 Thread Tycho Andersen
On Wed, Sep 09, 2015 at 08:14:04AM -0700, Alexei Starovoitov wrote: > On Wed, Sep 09, 2015 at 08:47:24AM -0600, Tycho Andersen wrote: > > On Tue, Sep 08, 2015 at 05:07:03PM -0700, Kees Cook wrote: > > > > > > Yeah, bpf's union looks good. Let's add a "command" flag, though: > > > > > > seccomp(SEC

Re: [PATCH linux-next v6 1/8] mtd: spi-nor: read JEDEC ID with multiple I/O protocols

2015-09-09 Thread Cyrille Pitchen
Hi Marek, Le 09/09/2015 15:59, Marek Vasut a écrit : > On Wednesday, September 09, 2015 at 03:24:11 PM, Cyrille Pitchen wrote: >> When their quad or dual I/O mode is enabled, Micron and Macronix spi-nor >> memories don't reply to the regular Read ID (0x9f) command. Instead they >> reply to a new d

Re: [PATCH 1/6] ebpf: add a seccomp program type

2015-09-09 Thread Tycho Andersen
On Fri, Sep 04, 2015 at 02:08:37PM -0700, Kees Cook wrote: > On Fri, Sep 4, 2015 at 2:06 PM, Tycho Andersen > wrote: > > On Fri, Sep 04, 2015 at 01:34:12PM -0700, Kees Cook wrote: > >> On Fri, Sep 4, 2015 at 9:04 AM, Tycho Andersen > >> wrote: > >> > +static const struct bpf_func_proto * > >> > +

Re: [PATCH linux-next v9 2/3] mfd: devicetree: add bindings for Atmel Flexcom

2015-09-09 Thread Cyrille Pitchen
Hi Rob, Le 09/09/2015 01:40, Rob Herring a écrit : > On 09/01/2015 09:46 AM, Cyrille Pitchen wrote: >> This patch documents the DT bindings for the Atmel Flexcom which will be >> introduced by sama5d2x SoCs. These bindings will be used by the actual >> Flexcom driver to be sent in another patch. >

Re: [RFC PATCH v3] Fix: clocksource watchdog marks TSC unstable on guest VM

2015-09-09 Thread Shaohua Li
On Wed, Sep 09, 2015 at 11:51:43AM +0200, Thomas Gleixner wrote: > On Tue, 8 Sep 2015, Shaohua Li wrote: > > On Tue, Sep 08, 2015 at 05:08:03PM +0200, Thomas Gleixner wrote: > > > For non paravirt kernels which can read the TSC directly, we'd need a > > > way to transport that information. A simple

Re: [PATCH 2/2] x86, acpi: Handle apic/x2apic entries in MADT in correct order

2015-09-09 Thread Lorenzo Pieralisi
On Wed, Sep 09, 2015 at 03:27:47PM +0100, Anaczkowski, Lukasz wrote: > -Original Message- > From: Lorenzo Pieralisi [mailto:lorenzo.pieral...@arm.com] > Sent: Wednesday, September 9, 2015 3:56 PM > > > On Wed, Sep 09, 2015 at 10:30:18AM +0100, Lukasz Anaczkowski wrote: > > > () it's hard

Re: [PATCH] ibmvsci: make parameters max_id and max_channel read-only

2015-09-09 Thread Brian King
On 09/09/2015 10:21 AM, Laurent Vivier wrote: > The value of the parameter is never re-read by the driver, > so a new value is ignored. Let know the user he > can't modify it by removing writable attribute. Reviewed-by: Brian King -- Brian King Power Linux I/O IBM Linux Technology Center -- To

Re: Almost certainly confirmed, sun7i-a20 does not support 8 bit mmc.

2015-09-09 Thread Hans de Goede
Hi, On 09-09-15 16:30, Maxime Ripard wrote: On Wed, Sep 09, 2015 at 03:04:11PM +0200, Olliver Schinagl wrote: Hey all, After experimenting with a Micron eMMC chip, I made some interesting finds I wanted to share with you all. For a while now, some had hopes or guessed that the A20 could have

Re: [PATCH v4 07/13] usb: otg: add OTG core

2015-09-09 Thread Alan Stern
On Wed, 9 Sep 2015, Roger Quadros wrote: > (adding back folks in cc) > > On 08/09/15 20:35, Alan Stern wrote: > > On Tue, 8 Sep 2015, Roger Quadros wrote: > > > What if there is another architecture like so? > > C: > [Parent] > | > >>

Re: Multiple potential races on vma->vm_flags

2015-09-09 Thread Vlastimil Babka
On 09/07/2015 01:40 PM, Kirill A. Shutemov wrote: On Sun, Sep 06, 2015 at 03:21:05PM -0400, Sasha Levin wrote: == ThreadSanitizer: data-race in munlock_vma_pages_range Write of size 8 by thread T378 (K2633, CPU3): [] munlock_vma_

[PATCH] gpio/pca953x: Add TI TCA9539 support

2015-09-09 Thread Thierry Reding
From: Thierry Reding The TCA9539 is almost identical to the PCA9555 and software-compatible with this driver. It exposes 16 general purpose I/O pins in two 8-bit configurations. Signed-off-by: Thierry Reding --- drivers/gpio/gpio-pca953x.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/

Re: [RFC PATCH] PM / Runtime: runtime: Add sysfs option for forcing runtime suspend

2015-09-09 Thread Alan Stern
On Tue, 8 Sep 2015, Rafael J. Wysocki wrote: > Hi, > > On Tue, Sep 8, 2015 at 5:00 PM, Alan Stern wrote: > > On Tue, 8 Sep 2015, Rafael J. Wysocki wrote: > > > >> > > [1] http://marc.info/?l=linux-input&m=140564626306396&w=2 > >> > > >> > Purely as a matter of interest, in that email Rafael also

[PATCH] ibmvsci: make parameters max_id and max_channel read-only

2015-09-09 Thread Laurent Vivier
The value of the parameter is never re-read by the driver, so a new value is ignored. Let know the user he can't modify it by removing writable attribute. Signed-off-by: Laurent Vivier --- drivers/scsi/ibmvscsi/ibmvscsi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dr

Re: [RFC PATCH] PM / Runtime: runtime: Add sysfs option for forcing runtime suspend

2015-09-09 Thread Alan Stern
On Wed, 9 Sep 2015, Rafael J. Wysocki wrote: > > The best example and actually the very specific problem we want to > > solve is handling touchscreens on a phone / tablet. When the screen is > > turned off, it is ideal to suspend the touchscreen for two reasons: to > > lower the power consumption

Re: [PATCH v5 1/2] mm: hugetlb: proc: add HugetlbPages field to /proc/PID/smaps

2015-09-09 Thread Vlastimil Babka
On 08/20/2015 10:26 AM, Naoya Horiguchi wrote: Currently /proc/PID/smaps provides no usage info for vma(VM_HUGETLB), which is inconvenient when we want to know per-task or per-vma base hugetlb usage. To solve this, this patch adds a new line for hugetlb usage like below: Size: 20

Re: [PATCH 5/6] seccomp: add a way to attach a filter via eBPF fd

2015-09-09 Thread Alexei Starovoitov
On Wed, Sep 09, 2015 at 08:47:24AM -0600, Tycho Andersen wrote: > On Tue, Sep 08, 2015 at 05:07:03PM -0700, Kees Cook wrote: > > > > Yeah, bpf's union looks good. Let's add a "command" flag, though: > > > > seccomp(SECCOMP_MODE_FILTER_EBPF, int cmd, union, size); > > > > And this cmd could be ADD

Re: [PATCH 1/4] sched/{cpuset,core}: restore complete root_domain status across hotplug

2015-09-09 Thread Peter Zijlstra
On Wed, Sep 02, 2015 at 11:01:33AM +0100, Juri Lelli wrote: > Hotplug operations are destructive w.r.t data associated with cpuset; > in this case we care about root_domains. SCHED_DEADLINE puts bandwidth > information regarding admitted tasks on root_domains, information that > is gone when an hot

Global lock for PCI configuration accesses

2015-09-09 Thread Thierry Reding
Hi, There's currently an issue with PCI configuration space accesses on Tegra. The PCI host controller driver's ->map_bus() implementation remaps I/O memory on-demand to avoid potentially wasting 256 MiB of virtual address space. The reason why this is done is because the mapping isn't compatible

[PATCH v4] stmmac: fix check for phydev being open

2015-09-09 Thread Alexey Brodkin
Current check of phydev with IS_ERR(phydev) may make not much sense because of_phy_connect() returns NULL on failure instead of error value. Still for checking result of phy_connect() IS_ERR() makes perfect sense. So let's use combined check IS_ERR_OR_NULL() that covers both cases. Cc: Sergei Sh

[PATCH] mmc: block: Add new ioctl to send multi commands

2015-09-09 Thread Jon Hunter
From: Seshagiri Holi Certain eMMC devices allow vendor specific device information to be read via a sequence of vendor commands. These vendor commands must be issued in sequence and an atomic fashion. One way to support this would be to add an ioctl function for sending a sequence of commands to

Re: [PATCH v2 0/1] Corsair Vengeance K90 driver

2015-09-09 Thread Clément Vuchener
On Mon, Sep 07, 2015 at 05:58:36PM +0200, Clément Vuchener wrote: > I removed the k90_profile class completely. I cannot write a good enough ABI > with what I know of the keyboard so I am leaving that part out of the kernel. > If I change my mind in the future, it will be done in another patch. >

Re: [RFC PATCH] PM / Runtime: runtime: Add sysfs option for forcing runtime suspend

2015-09-09 Thread Octavian Purdila
On Wed, Sep 9, 2015 at 4:55 PM, Oliver Neukum wrote: > On Wed, 2015-09-09 at 14:22 +0200, Rafael J. Wysocki wrote: >> > Note that when the screen is turned-on again, we want to resume the >> > touchscreen so that it can send events again. > > Why is it impractical to close the fd for the touchscre

Re: [Xen-devel] [PATCH] xen-blkback: free requests on disconnection

2015-09-09 Thread Konrad Rzeszutek Wilk
On Tue, Sep 08, 2015 at 12:43:41PM +0200, Roger Pau Monné wrote: > El 07/09/15 a les 13.35, Bob Liu ha escrit: > > > > On 09/07/2015 07:10 PM, Julien Grall wrote: > >> On 07/09/15 07:07, Bob Liu wrote: > >>> Hi Julien, > >> > >> Hi Bob, > >> > >>> On 09/04/2015 09:51 PM, Julien Grall wrote: >

[PATCH] sched: make policy-testing consistent in core

2015-09-09 Thread Henrik Austad
Most of the policy-tests are done via the _policy() helpers with the notable exception of idle. A new wrapper for valid_policy() has also been added to improve readability in set_load_weight(). This commit does not change the logical behavior of the scheduler core. Signed-off-by: Henrik Austad

Re: [Patch v5 1/6] ACPI/PCI: Enhance ACPI core to support sparse IO space

2015-09-09 Thread Bjorn Helgaas
On Wed, Sep 9, 2015 at 1:38 AM, Jiang Liu wrote: > On 2015/7/30 4:37, Bjorn Helgaas wrote: >> On Tue, Jun 09, 2015 at 12:20:43AM +0800, Jiang Liu wrote: >>> Enhance ACPI resource parsing interfaces to support sparse IO space, >>> which will be used to share common code between x86 and IA64 later.

[PATCH/RFC] mm: do not regard CMA pages as free on watermark check

2015-09-09 Thread Vitaly Wool
__zone_watermark_ok() does not corrrectly take high-order CMA pageblocks into account: high-order CMA blocks are not removed from the watermark check. Moreover, CMA pageblocks may suddenly vanish through CMA allocation, so let's not regard these pages as free in __zone_watermark_ok(). This patch a

Re: [PATCH 5/6] seccomp: add a way to attach a filter via eBPF fd

2015-09-09 Thread Tycho Andersen
On Tue, Sep 08, 2015 at 05:07:03PM -0700, Kees Cook wrote: > > Yeah, bpf's union looks good. Let's add a "command" flag, though: > > seccomp(SECCOMP_MODE_FILTER_EBPF, int cmd, union, size); > > And this cmd could be ADD_FD or something? > > How's that look? I think we can drop the size (using t

RE: [PATCH v2 3/4] iio: bmc150: Split the driver into core and i2c

2015-09-09 Thread Tirdea, Irina
> -Original Message- > From: Markus Pargmann [mailto:m...@pengutronix.de] > Sent: 20 August, 2015 15:50 > To: Jonathan Cameron > Cc: Srinivas Pandruvada; Tirdea, Irina; Lars-Peter Clausen; > linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; > ker...@pengutronix.de; Markus Pargmann

Re: [PATCH v3] mm/page_alloc: add a helper function to check page before alloc/free

2015-09-09 Thread Yaowei Bai
On Wed, Sep 09, 2015 at 03:39:54PM +0200, Vlastimil Babka wrote: > On 09/08/2015 09:19 PM, Vlastimil Babka wrote: > >bloat-o-meter looks favorably with my gcc, although there shouldn't be a real > >reason for it, as the inlining didn't change: > > > >add/remove: 1/1 grow/shrink: 1/1 up/down: 285/-3

Re: [PATCH v3] stmmac: fix check for phydev being open

2015-09-09 Thread Alexey Brodkin
Hi Sergei, On Tue, 2015-09-08 at 22:53 +0300, Sergei Shtylyov wrote: > Hello. > > On 09/08/2015 03:46 PM, Alexey Brodkin wrote: > > > > > Current check of phydev with IS_ERR(phydev) may make not much sense > > > > because of_phy_connect() returns NULL on failure instead of error value. > > > >

RE: [PATCH v2 2/4] iio: bcm150: Remove i2c_client from private data

2015-09-09 Thread Tirdea, Irina
> -Original Message- > From: Markus Pargmann [mailto:m...@pengutronix.de] > Sent: 20 August, 2015 15:50 > To: Jonathan Cameron > Cc: Srinivas Pandruvada; Tirdea, Irina; Lars-Peter Clausen; > linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; > ker...@pengutronix.de; Markus Pargmann

Re: [PATCH V9 0/6] Freq/CPU%/CORE_BUSY% support

2015-09-09 Thread Jiri Olsa
On Tue, Sep 08, 2015 at 03:32:43PM -0400, kan.li...@intel.com wrote: > From: Kan Liang > > This patch set supports per-sample freq/CPU%/CORE_BUSY% print in perf > report. > For printing these information, the perf.data file must have been obtained > by group read and using special events cycles,

Re: [PATCH V9 6/6] perf,tools: Show freq/CPU%/CORE_BUSY% in perf report by --freq-perf

2015-09-09 Thread Jiri Olsa
On Tue, Sep 08, 2015 at 03:32:49PM -0400, kan.li...@intel.com wrote: > From: Kan Liang > > Show frequency, CPU Utilization and percent performance for each symbol > in perf report by --freq-perf > > In sampling group, only group leader do sampling. So only need to print > group leader's freq in

Re: When would be preempt_rt patchet available for 4.2 kernel

2015-09-09 Thread Thomas Gleixner
B1;2802;0cOn Wed, 9 Sep 2015, Manish Jaggi wrote: > I am working on linux 4.2 kernel for our ARM64 platform. That's lame. I'm working on linux 5.0 kernel for my new arch/zilchcore platform. > Can someone please tell when would be the preempt_rt patchset be > available for 4.2 Once the 5.0 RT sup

Re: [PATCH linux-next v6 1/8] mtd: spi-nor: read JEDEC ID with multiple I/O protocols

2015-09-09 Thread Marek Vasut
On Wednesday, September 09, 2015 at 03:24:11 PM, Cyrille Pitchen wrote: > When their quad or dual I/O mode is enabled, Micron and Macronix spi-nor > memories don't reply to the regular Read ID (0x9f) command. Instead they > reply to a new dedicated command Read ID Multiple I/O (0xaf). > > If the R

RE: [PATCH v2 1/4] iio: bmc150: Use i2c regmap

2015-09-09 Thread Tirdea, Irina
> -Original Message- > From: Markus Pargmann [mailto:m...@pengutronix.de] > Sent: 20 August, 2015 15:50 > To: Jonathan Cameron > Cc: Srinivas Pandruvada; Tirdea, Irina; Lars-Peter Clausen; > linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; > ker...@pengutronix.de; Markus Pargmann

Re: [PATCH v5 3/4] mtd: nand: jz4780: driver for NAND devices on JZ4780 SoCs

2015-09-09 Thread Ezequiel Garcia
On 08 Sep 10:10 AM, Alex Smith wrote: > Add a driver for NAND devices connected to the NEMC on JZ4780 SoCs, as > well as the hardware BCH controller. DMA is not currently implemented. > > While older 47xx SoCs also have a BCH controller, they are incompatible > with the one in the 4780 due to diff

Re: [PATCH V9 3/6] perf, record: introduce --freq-perf option

2015-09-09 Thread Jiri Olsa
On Tue, Sep 08, 2015 at 03:32:46PM -0400, kan.li...@intel.com wrote: > From: Kan Liang > > To generate the frequency and performance output, perf must sample read > special events like cycles, ref-cycles, msr/tsc/, msr/aperf/ or > msr/mperf/. > With the --freq-perf option, perf record can automat

Re: [RFC PATCH] PM / Runtime: runtime: Add sysfs option for forcing runtime suspend

2015-09-09 Thread Alan Stern
On Wed, 9 Sep 2015, Oliver Neukum wrote: > On Tue, 2015-09-08 at 10:44 -0400, Alan Stern wrote: > > It would not put the device into runtime suspend immediately, like you > > are proposing. Instead it would mean the same as the "auto" mode, > > except that remote wakeup should be disabled during

Re: Almost certainly confirmed, sun7i-a20 does not support 8 bit mmc.

2015-09-09 Thread Maxime Ripard
On Wed, Sep 09, 2015 at 03:04:11PM +0200, Olliver Schinagl wrote: > Hey all, > > After experimenting with a Micron eMMC chip, I made some interesting finds I > wanted to share with you all. > > For a while now, some had hopes or guessed that the A20 could have support > for 8 bit wide bused on th

RE: [PATCH v2 0/4] iio: bmc150 regmap and SPI

2015-09-09 Thread Tirdea, Irina
> -Original Message- > From: Markus Pargmann [mailto:m...@pengutronix.de] > Sent: 20 August, 2015 15:50 > To: Jonathan Cameron > Cc: Srinivas Pandruvada; Tirdea, Irina; Lars-Peter Clausen; > linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; > ker...@pengutronix.de; Markus Pargmann

RE: [PATCH-v2 1/2] mpt3sas: Refcount sas_device objects and fix unsafe list usage

2015-09-09 Thread Chaitra Basappa
From: Sreekanth Reddy [mailto:sreekanth.re...@avagotech.com] Sent: Tuesday, September 08, 2015 5:26 PM To: Nicholas A. Bellinger Cc: linux-scsi; linux-kernel; James Bottomley; Calvin Owens; Christoph Hellwig; MPT-FusionLinux.pdl; kernel-team; Nicholas Bellinger; Chaitra Basappa Subject: Re: [PATCH-

RE: [PATCH 2/2] x86, acpi: Handle apic/x2apic entries in MADT in correct order

2015-09-09 Thread Anaczkowski, Lukasz
-Original Message- From: Lorenzo Pieralisi [mailto:lorenzo.pieral...@arm.com] Sent: Wednesday, September 9, 2015 3:56 PM > On Wed, Sep 09, 2015 at 10:30:18AM +0100, Lukasz Anaczkowski wrote: > > () it's hard to predict how cores and threads are enumerated > So ? Why would the logical cpu

Re: [PATCH v1 3/8] sched/completion: convert completions to use simple wait queues

2015-09-09 Thread Peter Zijlstra
On Wed, Sep 09, 2015 at 02:05:29PM +0200, Daniel Wagner wrote: > @@ -50,10 +50,10 @@ void complete_all(struct completion *x) > { > unsigned long flags; > > - spin_lock_irqsave(&x->wait.lock, flags); > + raw_spin_lock_irqsave(&x->wait.lock, flags); > x->done += UINT_MAX/2; > -

Re: [PATCH 0/5] Add eeprom to the Olimex series of boards

2015-09-09 Thread Olliver Schinagl
On 09-09-15 16:05, Maxime Ripard wrote: On Wed, Sep 09, 2015 at 11:25:10AM +0200, Olliver Schinagl wrote: Some of the olimex series of boards feature a permanently connected eeprom on i2c-1. This patch series adds them on all the boards that have them according to the spec-sheets. I explicitl

Re: [PATCH 0/4] MIPS: ath79: Add USB support on the TL-WR1043ND

2015-09-09 Thread Arnd Bergmann
On Wednesday 09 September 2015 16:14:59 Alban wrote: > On Mon, 07 Sep 2015 15:20:42 +0200 > Arnd Bergmann wrote: > > > On Tuesday 01 September 2015 17:23:10 Alban Bedel wrote: > > > > > > this serie add a driver for the USB phy on the ATH79 SoCs and enable the > > > USB port on the TL-WR1043ND.

Re: [PATCH v2 3/3] x86, efi: Add "efi_fake_mem_mirror" boot option

2015-09-09 Thread Ard Biesheuvel
On 26 August 2015 at 19:11, Taku Izumi wrote: > This patch introduces new boot option named "efi_fake_mem_mirror". > By specifying this parameter, you can mark specific memory as > mirrored memory. This is useful for debugging of Address Range > Mirroring feature. > > For example, if you specify "

Re: [PATCH 0/4] MIPS: ath79: Add USB support on the TL-WR1043ND

2015-09-09 Thread Alban
On Mon, 07 Sep 2015 15:20:42 +0200 Arnd Bergmann wrote: > On Tuesday 01 September 2015 17:23:10 Alban Bedel wrote: > > > > this serie add a driver for the USB phy on the ATH79 SoCs and enable the > > USB port on the TL-WR1043ND. The phy controller is really trivial as it > > only use reset lines

Linux-next: very slow disk write speed: WARNING: CPU: 4 PID: 12891 at fs/inode.c:390 ihold+0x30/0x40()

2015-09-09 Thread Dexuan Cui
With the recent linux-next tree (e.g., next-20150909), I can easily get the below callstack (see the end of the mail) when I run some heavy I/O workloads, like building a kernel with "make -j16". After the callstack happens, "dd if=/dev/zero of=zero.bin bs=1M" shows the d

Re: [PATCH v2 1/2] ethtool: changes of emac_regs structure accordingly within driver emac_regs structure.

2015-09-09 Thread Ivan Mikhaylov
On Wed, 9 Aug 2015 15:10:00 +0400 Ivan Mikhaylov wrote: >On Wed, 2015-08-05 at 15:01 +0400, Ivan Mikhaylov wrote: >> * do the redefinition of emac_regs struct from driver structure >> perspective and passing size from actual struct size, not from memory >> area variable which set in dts file. >>

Bitte mein guter Freund

2015-09-09 Thread chinsang845
Bitte mein guter Freund Ich bin mit diesem Medium, um Sie über die Transaktion zur Abgabe von $ 2150 (einundzwanzig Millionen fünfhunderttausend US-Dollar) auf meinem Bank in China, Sie als Empfänger zu informieren. Es ist 100% sicher, wobei der Finanzvorstand des verstorbenen Ku

Re: [PATCH 0/5] Add eeprom to the Olimex series of boards

2015-09-09 Thread Maxime Ripard
On Wed, Sep 09, 2015 at 11:25:10AM +0200, Olliver Schinagl wrote: > Some of the olimex series of boards feature a permanently connected eeprom on > i2c-1. This patch series adds them on all the boards that have them according > to the spec-sheets. > > I explicitly added my personal --Tested-by to

Re: [PATCH] soc: mediatek: Move the initial setting of pmic wrap interrupt before requesting irq.

2015-09-09 Thread Henry Chen
Hi Sascha, On Mon, 2015-09-07 at 07:39 +0200, Sascha Hauer wrote: > On Fri, Sep 04, 2015 at 12:05:12PM +0800, Henry Chen wrote: > > Seperate the initialization of pmic wrap interrupt from pmic wrap init to > > make sure setting is correct before requesting irq. > > It seems the problem this patc

Re: [PATCH v7 1/5] dt-bindings: Add usb3.0 phy binding for MT65xx SoCs

2015-09-09 Thread Rob Herring
On 09/08/2015 01:17 AM, Chunfeng Yun wrote: > add a DT binding documentation of usb3.0 phy for MT65xx > SoCs from Mediatek. > > Signed-off-by: Chunfeng Yun Acked-by: Rob Herring > --- > .../devicetree/bindings/phy/phy-mt65xx-usb.txt | 69 > ++ > 1 file changed, 69 ins

Re: [PATCH v5 2/2] efi: a misc char interface for user to update efi firmware

2015-09-09 Thread 'Matt Fleming'
On Wed, 02 Sep, at 06:31:36AM, Kweh Hock Leong wrote: > > I have done an experiment on that by using the misc char device file note. > I included the flush() callback function to the fops. In flush(), I put a > printk() > and return -EINVAL. When I perform "cat XXX > /dev/XXX" on Intel Quark > Ga

Re: [PATCH] ahci: qoriq: fixed using uninitialized variable warnings

2015-09-09 Thread Tejun Heo
On Wed, Sep 09, 2015 at 05:16:22PM +0800, yuantian.t...@freescale.com wrote: > From: Tang Yuantian > > kbuild test robot reports the warnings: > drivers/ata/ahci_qoriq.c: In function 'ahci_qoriq_hardreset': > >> include/asm-generic/io.h:163:2: warning: 'px_is' may be used > >> uninitialized in th

Re: Kernel 4.1.6 Panic due to slab corruption

2015-09-09 Thread Christoph Lameter
On Wed, 9 Sep 2015, Nikolay Borisov wrote: > [root@kernighan vm]# ./slabinfo -da kmalloc-32 > Cannot write to dma-kmalloc-32/sanity > [root@kernighan vm]# ./slabinfo -dF kmalloc-32 > Cannot write to dma-kmalloc-32/sanity > [root@kernighan vm]# ./slabinfo -dz kmalloc-32 > kmalloc-32 not empty canno

Re: [RFC PATCH] mmc: block: Add new ioctl to send combo commands

2015-09-09 Thread Jon Hunter
Hi Ulf, On 09/09/15 13:42, Ulf Hansson wrote: > On 3 September 2015 at 17:08, Jon Hunter wrote: >> Hi Olof, >> >> On 02/09/15 19:28, Olof Johansson wrote: >>> Hi, >>> >>> On Wed, Sep 2, 2015 at 7:21 AM, Jon Hunter wrote: From: Seshagiri Holi Certain eMMC devices allow vendor spec

Re: [RFC PATCH] PM / Runtime: runtime: Add sysfs option for forcing runtime suspend

2015-09-09 Thread Oliver Neukum
On Wed, 2015-09-09 at 14:22 +0200, Rafael J. Wysocki wrote: > > Note that when the screen is turned-on again, we want to resume the > > touchscreen so that it can send events again. Why is it impractical to close the fd for the touchscreen? > > In fact, then, what you need seems to be the feature

Re: [PATCH 2/2] x86, acpi: Handle apic/x2apic entries in MADT in correct order

2015-09-09 Thread Lorenzo Pieralisi
On Wed, Sep 09, 2015 at 10:30:18AM +0100, Lukasz Anaczkowski wrote: > ACPI specifies the following rules when listing APIC IDs: > (1) Boot processor is listed first > (2) For multi-threaded processors, BIOS should list the first logical > processor of each of the individual multi-threaded proce

Re: [PATCH v2 3/3] x86, efi: Add "efi_fake_mem_mirror" boot option

2015-09-09 Thread Matt Fleming
On Thu, 27 Aug, at 02:11:37AM, Taku Izumi wrote: > This patch introduces new boot option named "efi_fake_mem_mirror". > By specifying this parameter, you can mark specific memory as > mirrored memory. This is useful for debugging of Address Range > Mirroring feature. > > For example, if you specif

<    1   2   3   4   5   6   7   8   >