Re: [PATCH v5 net-next 3/3] dt-bindings: net: macb: Add NP4 macb variant

2016-01-06 Thread Rob Herring
On Tue, Jan 05, 2016 at 02:39:18PM +0100, Neil Armstrong wrote: > Add NP4 macb SoC variant. > > Signed-off-by: Neil Armstrong > --- > Documentation/devicetree/bindings/net/macb.txt | 1 + > 1 file changed, 1 insertion(+) Acked-by: Rob Herring -- To

[PATCH] clk: move the common clock's to_clk_*(_hw) macros to clk-provider.h

2016-01-06 Thread Geliang Tang
to_clk_*(_hw) macros have been repeatedly defined in many places. This patch moves all the to_clk_*(_hw) definations in the common clock framework to public header clk-provider.h, and drop the local definations. Signed-off-by: Geliang Tang --- drivers/clk/clk-composite.c

[PATCH] zorro: use kobj_to_dev()

2016-01-06 Thread Geliang Tang
Use kobj_to_dev() instead of open-coding it. Signed-off-by: Geliang Tang --- drivers/zorro/zorro-sysfs.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/zorro/zorro-sysfs.c b/drivers/zorro/zorro-sysfs.c index 36b210f..9282dbf 100644 ---

Re: [PATCH] Add support for usbfs zerocopy.

2016-01-06 Thread Alan Stern
On Wed, 6 Jan 2016, Steinar H. Gunderson wrote: > On Tue, Jan 05, 2016 at 10:49:49PM -0800, Christoph Hellwig wrote: > > This is a completely broken usage of the mmap interface. if you use > > mmap on a device file you must use the actual mmap for the data > > transfer. > > Really? V4L does

Re: [PATCH 1/2] drm: bridge: sil902x

2016-01-06 Thread Ilia Mirkin
On Wed, Jan 6, 2016 at 10:26 AM, Sascha Hauer wrote: > On Wed, Jan 06, 2016 at 02:53:30PM +0100, Boris Brezillon wrote: >> Hi Sascha, >> >> On Wed, 6 Jan 2016 14:47:36 +0100 >> Sascha Hauer wrote: >> >> > Hi Boris, >> > >> > On Wed, Jan 06, 2016 at

Re: [PATCH v2 31/32] sh: support a 2-byte smp_store_mb

2016-01-06 Thread Rob Landley
On 01/06/2016 08:32 AM, Peter Zijlstra wrote: > On Wed, Jan 06, 2016 at 01:52:17PM +0200, Michael S. Tsirkin wrote: > SH's cmpxchg() is equally incomplete and does not provide 1 and 2 byte > versions. We added a new cmpxchg() in j-core (smp on sh2 was not previously a thing), but still need to

[PATCH 0/2 -mm] oom reaper v4

2016-01-06 Thread Michal Hocko
Hi Andrew, the number of -fix patches for the the v3 of the patch [1] has grown quite a bit... so this is a drop in replacement for mm-oom-introduce-oom-reaper.patch mm-oom-introduce-oom-reaper-fix.patch mm-oom-introduce-oom-reaper-fix-fix.patch mm-oom-introduce-oom-reaper-fix-fix-2.patch

[PATCH v2 5/5] ARM: at91/defconfig: add sama5d2 adc support in sama5_defconfig

2016-01-06 Thread Ludovic Desroches
Signed-off-by: Ludovic Desroches --- arch/arm/configs/sama5_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/sama5_defconfig b/arch/arm/configs/sama5_defconfig index c11bab7..37aa085 100644 --- a/arch/arm/configs/sama5_defconfig +++

Re: [PATCH v2 05/12] mtd: nand: use new BBT API instead of old ones

2016-01-06 Thread Boris Brezillon
On Tue, 15 Dec 2015 05:59:31 + Peter Pan wrote: > From: Brian Norris > > Use new BBT APIs (nand_bbt_*()) in NAND. Keep old APIs (nand_*_bbt()) > exist temporarily. > > Signed-off-by: Brian Norris > [Peter:

Re: [PATCH 00/19] irqchip: atmel-aic: make unified AIC driver

2016-01-06 Thread Jason Cooper
Hey Milo, On Wed, Jan 06, 2016 at 10:07:55AM +0100, Boris Brezillon wrote: > On Wed, 6 Jan 2016 16:48:23 +0900 Milo Kim wrote: > > On 01/04/2016 06:02 PM, Boris Brezillon wrote: > > > On Mon, 4 Jan 2016 13:28:24 +0900 Milo Kim wrote: > > > > > >> This patch-set

Re: [PATCH v2 8/8] i2c-mux: relax locking of the top i2c adapter during i2c controlled muxing

2016-01-06 Thread Rob Herring
On Tue, Jan 05, 2016 at 04:57:18PM +0100, Peter Rosin wrote: > From: Peter Rosin > > With a i2c topology like the following > >GPIO ---| -- BAT1 > | v / >I2C -+--+ MUX > |

Re: [PATCH] Add support for usbfs zerocopy.

2016-01-06 Thread Steinar H. Gunderson
On Tue, Jan 05, 2016 at 10:49:49PM -0800, Christoph Hellwig wrote: > This is a completely broken usage of the mmap interface. if you use > mmap on a device file you must use the actual mmap for the data > transfer. Really? V4L does exactly the same thing, from what I can see. It's just a way of

Re: [PATCH v3 0/4] thermal: re-calculate k_po/k_pu when update sustainable power

2016-01-06 Thread Javi Merino
On Wed, Jan 06, 2016 at 11:21:54AM +, Daniel Thompson wrote: > On 06/01/16 10:07, Javi Merino wrote: > >On Wed, Jan 06, 2016 at 04:53:44PM +0800, Leo Yan wrote: > >>k_po/k_pu are two proportional term constants and essentially they have > >>fixed ratio compared with sustainable power. In

Re: [PATCH v2 2/6] dt-bindings: ARM: Mediatek: Document bindings for MT2701

2016-01-06 Thread Rob Herring
On Tue, Jan 05, 2016 at 02:30:18PM +0800, James Liao wrote: > This patch adds the binding documentation for apmixedsys, bdpsys, > ethsys, hifsys, imgsys, infracfg, mmsys, pericfg, topckgen and > vdecsys for Mediatek MT2701. > > Signed-off-by: James Liao [...] > diff

[RFC PATCH 0/2] IRQ based next prediction

2016-01-06 Thread Daniel Lezcano
The current approach to select an idle state is based on the idle period statistics computation. Useless to say this approach satisfied everyone as a solution to find the best trade-off between the performances and the energy saving via the menu governor. However, the kernel is evolving to act

Re: [PATCH] hwmon: Add LTC2990 sensor driver

2016-01-06 Thread Guenter Roeck
Hello Mike, On 01/06/2016 12:07 AM, Mike Looijmans wrote: This adds support for the Linear Technology LTC2990 I2C System Monitor. s/ / / The LTC2990 supports a combination of voltage, current and temperature monitoring, but this driver currently only supports reading two currents by

Re: [PATCHv9 0/3] perf stat: Add scripting support

2016-01-06 Thread Jiri Olsa
On Wed, Jan 06, 2016 at 12:05:41PM -0300, Arnaldo Carvalho de Melo wrote: > Em Wed, Jan 06, 2016 at 03:38:53PM +0100, Jiri Olsa escreveu: > > On Wed, Jan 06, 2016 at 11:18:02AM -0300, Arnaldo Carvalho de Melo wrote: > > > Em Wed, Jan 06, 2016 at 11:49:54AM +0100, Jiri Olsa escreveu: > > > > hi, >

Re: [PATCH 1/2] kernel, timekeeping, add trylock option to ktime_get_with_offset()

2016-01-06 Thread Jiri Bohac
On Wed, Jan 06, 2016 at 08:00:33AM -0500, Prarit Bhargava wrote: > -ktime_t ktime_get_with_offset(enum tk_offsets offs) > +ktime_t ktime_get_with_offset(enum tk_offsets offs, int trylock) > { > struct timekeeper *tk = _core.timekeeper; > unsigned int seq; > ktime_t base, *offset

[PATCH v2 0/5] Introduce at91_adc8xx driver

2016-01-06 Thread Ludovic Desroches
Hi, This is the very basic support for the adc introduced with the SAMA5D2 SoC family. The goal is to provide something to the user as soon as possible instead of waiting for a full featured driver. Only unsigned conversions on a software tigger are supported. Next steps are signed

Re: [PATCH 1/2] mm, oom: introduce oom reaper

2016-01-06 Thread Michal Hocko
On Wed 06-01-16 09:26:12, Paul Gortmaker wrote: > [Re: [PATCH 1/2] mm, oom: introduce oom reaper] On 06/01/2016 (Wed 10:10) > Michal Hocko wrote: > > > On Mon 21-12-15 15:38:21, Paul Gortmaker wrote: > > [...] > > > ...use one of the non-modular initcalls here? I'm trying to clean up > > >

Re: [PATCHv9 0/3] perf stat: Add scripting support

2016-01-06 Thread Arnaldo Carvalho de Melo
Em Wed, Jan 06, 2016 at 03:38:53PM +0100, Jiri Olsa escreveu: > On Wed, Jan 06, 2016 at 11:18:02AM -0300, Arnaldo Carvalho de Melo wrote: > > Em Wed, Jan 06, 2016 at 11:49:54AM +0100, Jiri Olsa escreveu: > > > hi, > > > sending another version of stat scripting. > > > > > v9 changes: > > > -

Re: linux-next: manual merge of the rdma tree with the nfsd tree

2016-01-06 Thread Chuck Lever
> On Jan 6, 2016, at 9:46 AM, Or Gerlitz wrote: > > On 1/6/2016 4:24 PM, Chuck Lever wrote: >> Actually, one of Or's for-4.5 devattr patches doesn't appear to have the >> proper Ack's for the changes under net/sunrpc/xprtrdma either. > > Chuck, > > Lets be concrete...

[PATCH] PCI/alpha: use kobj_to_dev()

2016-01-06 Thread Geliang Tang
Use kobj_to_dev() instead of open-coding it. Signed-off-by: Geliang Tang --- arch/alpha/kernel/pci-sysfs.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/alpha/kernel/pci-sysfs.c b/arch/alpha/kernel/pci-sysfs.c index 99e8d47..bba09eb 100644 ---

[PATCH 2/2] oom reaper: handle anonymous mlocked pages

2016-01-06 Thread Michal Hocko
From: Michal Hocko __oom_reap_vmas current skips over all mlocked vmas because they need a special treatment before they are unmapped. This is primarily done for simplicity. There is no reason to skip over them for all mappings though and reduce the amount of reclaimed memory.

Re: linux-next: manual merge of the rdma tree with the nfsd tree

2016-01-06 Thread Or Gerlitz
On 1/6/2016 5:20 PM, Chuck Lever wrote: Chuck, > >Lets be concrete... anything wrong with patch [1]? Yes. It is missing Acked-by: lines from the maintainers of those files. All changes to files under net/sunrpc need an Ack from one of the maintainers listed in MAINTAINERS for that directory,

Re: [dm-devel] [PATCH 01/35] block/fs/drivers: remove rw argument from submit_bio

2016-01-06 Thread Bart Van Assche
On 01/05/2016 09:53 PM, mchri...@redhat.com wrote: From: Mike Christie This has callers of submit_bio/submit_bio_wait set the bio->bi_rw instead of passing it in. This makes that use the same as generic_make_request and how we set the other bio fields. Reviewed-by: Bart

Re: [PATCH 0/5] usb-misc: cleanup sisusbvga

2016-01-06 Thread Joe Perches
On Wed, 2016-01-06 at 16:30 +0100, Peter Senna Tschudin wrote: > is it ok to fix horizontal issues caused by vertical changes in the > vertical changes patch? Yes. > Is it reasonable to respin if other issues are > reported for this series? Your choice. I think it'd be better to respin in any

Re: [RFC PATCH 2/2] sched: idle: IRQ based next prediction for idle period

2016-01-06 Thread Nicolas Pitre
On Wed, 6 Jan 2016, Daniel Lezcano wrote: > Many IRQs are quiet most of the time, or they tend to come in bursts of > fairly equal time intervals within each burst. It is therefore possible > to detect those IRQs with stable intervals and guestimate when the next > IRQ event is most likely to

Re: [PATCH 01/32] mm, gup: introduce concept of "foreign" get_user_pages()

2016-01-06 Thread Dave Hansen
On 01/05/2016 02:51 AM, Vlastimil Babka wrote: > > Changelog doesn't mention that get_user_pages_unlocked() is also changed > to be effectively get_current_user_pages_unlocked(). It's a bit > non-obvious and the inconsistent naming is unfortunate, but I can see > how

Re: [PATCH V7 3/4] tools/perf: Map the ID values with register names

2016-01-06 Thread Jiri Olsa
On Wed, Jan 06, 2016 at 03:15:50PM +0530, Anju T wrote: SNIP > + [PERF_REG_POWERPC_GPR28] = "gpr28", > + [PERF_REG_POWERPC_GPR29] = "gpr29", > + [PERF_REG_POWERPC_GPR30] = "gpr30", > + [PERF_REG_POWERPC_GPR31] = "gpr31", > + [PERF_REG_POWERPC_NIP] = "nip", > +

Re: [PATCH v7 1/3] x86: Add classes to exception tables

2016-01-06 Thread Linus Torvalds
On Wed, Jan 6, 2016 at 9:35 AM, Luck, Tony wrote: > > Linus, Peter, Ingo, Thomas: Can we head this direction? The code is cleaner > and more flexible. Or should we stick with Andy's clever way to squeeze a > couple of "class" bits into the fixup field of the exception table?

Re: [PATCH] staging: wilc1000: Removed unnecessary braces

2016-01-06 Thread Joe Perches
On Wed, 2016-01-06 at 18:59 +0530, Anjali Menon wrote: > Removed unnecessary braces for single statement blocks to > fix the warning detected by checkpatch.pl > > WARNING: braces {} are not necessary for single statement blocks > > Signed-off-by: Anjali Menon > --- >  

Re: [PATCH 1/5] x86: fix early command-line parsing when matching at end

2016-01-06 Thread Dave Hansen
Moving over to the actual patch we're talking about... On 12/22/2015 02:52 PM, Dave Hansen wrote: > @@ -37,11 +39,14 @@ int cmdline_find_option_bool(const char > if (!cmdline) > return -1; /* No command line */ > > - len = min_t(int, strlen(cmdline),

[PATCH v7 5/9] mm: add find_get_entries_tag()

2016-01-06 Thread Ross Zwisler
Add find_get_entries_tag() to the family of functions that include find_get_entries(), find_get_pages() and find_get_pages_tag(). This is needed for DAX dirty page handling because we need a list of both page offsets and radix tree entries ('indices' and 'entries' in this function) that are

[PATCH v7 1/9] dax: fix NULL pointer dereference in __dax_dbg()

2016-01-06 Thread Ross Zwisler
__dax_dbg() currently assumes that bh->b_bdev is non-NULL, passing it into bdevname() where is is dereferenced. This assumption isn't always true - when called for reads of holes, ext4_dax_mmap_get_block() returns a buffer head where bh->b_bdev is never set. I hit this BUG while testing the DAX

[PATCH v7 9/9] xfs: call dax_pfn_mkwrite() for DAX fsync/msync

2016-01-06 Thread Ross Zwisler
To properly support the new DAX fsync/msync infrastructure filesystems need to call dax_pfn_mkwrite() so that DAX can track when user pages are dirtied. Signed-off-by: Ross Zwisler --- fs/xfs/xfs_file.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-)

[PATCH v7 3/9] pmem: add wb_cache_pmem() to the PMEM API

2016-01-06 Thread Ross Zwisler
The function __arch_wb_cache_pmem() was already an internal implementation detail of the x86 PMEM API, but this functionality needs to be exported as part of the general PMEM API to handle the fsync/msync case for DAX mmaps. One thing worth noting is that we really do want this to be part of the

[PATCH v7 7/9] ext2: call dax_pfn_mkwrite() for DAX fsync/msync

2016-01-06 Thread Ross Zwisler
To properly support the new DAX fsync/msync infrastructure filesystems need to call dax_pfn_mkwrite() so that DAX can track when user pages are dirtied. Signed-off-by: Ross Zwisler Reviewed-by: Jan Kara --- fs/ext2/file.c | 4 +++- 1 file changed, 3

Re: [PATCH 1/2] kernel, timekeeping, add trylock option to ktime_get_with_offset()

2016-01-06 Thread Prarit Bhargava
On 01/06/2016 12:33 PM, John Stultz wrote: > On Wed, Jan 6, 2016 at 9:28 AM, John Stultz wrote: >> On Wed, Jan 6, 2016 at 5:00 AM, Prarit Bhargava wrote: >>> -ktime_t ktime_get_with_offset(enum tk_offsets offs) >>> +ktime_t ktime_get_with_offset(enum

Re: [PATCH v6 4/7] dax: add support for fsync/msync

2016-01-06 Thread Ross Zwisler
On Sun, Jan 03, 2016 at 10:13:06AM -0800, Dan Williams wrote: > On Wed, Dec 23, 2015 at 11:39 AM, Ross Zwisler > wrote: > > To properly handle fsync/msync in an efficient way DAX needs to track dirty > > pages so it is able to flush them durably to media on demand. >

Re: [PATCH 3/5] x86: simplify early command line parsing

2016-01-06 Thread Dave Hansen
On 01/06/2016 09:10 AM, Borislav Petkov wrote: >> > - if (!strlen(cmdline)) >> > - return 0; >> > - > Patch 1 adds the strlen(), this patch removes it. Please merge both patches. As I mentioned, it doesn't strictly add it. Plus, if I go add this back to that patch, I'll end up having

[PATCH v3] ipr: fix out-of-bounds null overwrite

2016-01-06 Thread Insu Yun
Return value of snprintf is not bound by size value, 2nd argument. (https://www.kernel.org/doc/htmldocs/kernel-api/API-snprintf.html). Return value is number of printed chars, can be larger than 2nd argument. Therefore, it can write null byte out of bounds ofbuffer. Since snprintf puts null, it

Re: [PATCH 22/32] x86, pkeys: dump PTE pkey in /proc/pid/smaps

2016-01-06 Thread Dave Hansen
On 01/05/2016 05:32 AM, Vlastimil Babka wrote: > On 12/14/2015 08:06 PM, Dave Hansen wrote: >> From: Dave Hansen > > $SUBJ is a bit confusing in that it's dumping stuff from VMA, not PTE's? Yeah, absolutely. That's a relic from when I thought I'd need to be walking

Re: sigaltstack breaks swapcontext()

2016-01-06 Thread Andy Lutomirski
On Wed, Jan 6, 2016 at 7:45 AM, Stas Sergeev wrote: > Hello. > > swapcontext() can be used with signal handlers, > it swaps the signal masks together with the other > parts of the context. > Unfortunately, linux implements the sigaltstack() > in a way that makes it impossible to use

[PATCH v7 2/9] dax: fix conversion of holes to PMDs

2016-01-06 Thread Ross Zwisler
When we get a DAX PMD fault for a write it is possible that there could be some number of 4k zero pages already present for the same range that were inserted to service reads from a hole. These 4k zero pages need to be unmapped from the VMAs and removed from the struct address_space radix tree

Applied "regulator: max8973: add support for junction thermal warning" to the regulator tree

2016-01-06 Thread Mark Brown
The patch regulator: max8973: add support for junction thermal warning has been applied to the regulator tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the

Re: int overflow in io_getevents

2016-01-06 Thread Benjamin LaHaise
On Wed, Dec 16, 2015 at 07:38:33PM +0100, Dmitry Vyukov wrote: > > Yup, looks correct. Will you send a patch? > > I've drafted the verification: > > @@ -1269,6 +1269,8 @@ static long read_events(struct kioctx *ctx, long > min_nr, long nr, > > if (unlikely(copy_from_user(,

Re: [REGRESSION] tcp/ipv4: kernel panic because of (possible) division by zero

2016-01-06 Thread Yuchung Cheng
On Wed, Jan 6, 2016 at 8:50 AM, Oleksandr Natalenko wrote: > > Unfortunately, the patch didn't help -- I've got the same stacktrace with > slightly different offset (+3) within the function. > > Now trying to get full stacktrace via netconsole. Need more time. > >

RE: [PATCH V2 0/3] Change notes of V2

2016-01-06 Thread Allen Hubbe
From: Xiangliang Yu : > Main changes in V2: > 1. Fixed compiler warning; > 2. Add marcro argument of ndev in NTB_READ_REG/NTB_WRITE_REG; > 3. Add notes for flush and wakeup interfaces; > > Xiangliang Yu (3): > NTB: Add AMD PCI-Express NTB driver > NTB: Add AMD NTB

Re: [PATCH v5 1/5] PCI: designware: ensure ATU is enabled before IO/conf space accesses

2016-01-06 Thread Bjorn Helgaas
[+cc Jisheng] On Fri, Dec 18, 2015 at 02:38:55PM +0200, Stanimir Varbanov wrote: > There is no guarantees that enabling ATU will hit the hardware > immediately, and subsequent accesses to configuration / IO spaces > are reliable. So fixing this by read back PCIE_ATU_CR2 register > just after

Re: [PATCH] staging/ion: Add support to get ion handle from dma buf

2016-01-06 Thread Linus Torvalds
On Wed, Jan 6, 2016 at 1:06 AM, Dan Carpenter wrote: > It's not really necessary to CC linux-kernel. No one reads it. > I only send patches there when there isn't another public mailing > list available. Actually, cc'ing lkml is still often a good idea, because it's a

Re: [PATCH v2 1/2] acpi, apei: add Boot Error Record Table (BERT) support

2016-01-06 Thread Fu Wei
Hi Borislav, Thanks for your review. I totally agree all your comment I have made a new patch, and that is in testing, I will post it ASAP On 16 December 2015 at 18:29, Borislav Petkov wrote: > On Wed, Aug 19, 2015 at 12:44:16AM +0800, fu@linaro.org wrote: >> From: Huang

[PATCH 1/8] perf: Add PERF_SAMPLE_PHYS_ADDR

2016-01-06 Thread kan . liang
From: Kan Liang For understanding how the workload maps to memory channels and hardware behavior, it's useful to collect address maps with physical addresses. This is not intended for detecting page sharing (which can be already done using the mmap inode), but for lower

[PATCH 7/8] perf script: support physical addresses in script

2016-01-06 Thread kan . liang
From: Kan Liang perf script print out physical addresses by applying phys_addr. Only display physical address when virtual address is selected. The physical address will be printed out right after virtual address. Signed-off-by: Kan Liang ---

[PATCH 4/8] perf mem: add option phys-data to record physical address

2016-01-06 Thread kan . liang
From: Kan Liang Add option phys-data in perf mem to record physical address Signed-off-by: Kan Liang --- tools/perf/builtin-mem.c | 5 + 1 file changed, 5 insertions(+) diff --git a/tools/perf/builtin-mem.c b/tools/perf/builtin-mem.c index

[PATCH 2/8] perf tools: add option to record sample physical address

2016-01-06 Thread kan . liang
From: Kan Liang Add new option --phys-data for perf record to record sample physical address. Once the option is applied, it implies that --data option is also applied to record sample virtual address. Signed-off-by: Kan Liang ---

Re: [PATCH v2 31/32] sh: support a 2-byte smp_store_mb

2016-01-06 Thread Rich Felker
On Wed, Jan 06, 2016 at 03:32:18PM +0100, Peter Zijlstra wrote: > On Wed, Jan 06, 2016 at 01:52:17PM +0200, Michael S. Tsirkin wrote: > > > > Peter, what do you think? How about I leave this patch as is for now? > > > > > > No, and I object to removing the single byte implementation too. Either >

Re: [Linaro-acpi] [PATCH v2 0/2] acpi, apei: add BERT support

2016-01-06 Thread Fu Wei
Hi Tyler, Great thanks for your testing, But I just made a new one according to Borislav's suggestion. Please help us again, if you get some time. :-) Thanks On 16 December 2015 at 00:39, Timur Tabi wrote: > On Tue, Aug 18, 2015 at 11:44 AM, wrote:

[PATCH 5/8] perf mem: report physical addresses

2016-01-06 Thread kan . liang
From: Kan Liang perf mem report should support physical addresses by applying -p or --phys-data. The default mem sort order for physical addresses is added accordingly. Signed-off-by: Kan Liang --- tools/perf/builtin-mem.c | 15 +++

[PATCH 6/8] perf mem: dump physical addresses

2016-01-06 Thread kan . liang
From: Kan Liang perf mem report should support dumping physical addresses by applying -p or --phys-data. Signed-off-by: Kan Liang --- tools/perf/Documentation/perf-mem.txt | 4 ++ tools/perf/builtin-mem.c | 81

[PATCH 8/8] perf test: add test case for PERF_SAMPLE_PHYS_ADDR

2016-01-06 Thread kan . liang
From: Kan Liang Extend sample-parsing test cases to support new sample type PERF_SAMPLE_PHYS_ADDR. Signed-off-by: Kan Liang --- tools/perf/tests/sample-parsing.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git

Re: [PATCH] staging/ion: Add support to get ion handle from dma buf

2016-01-06 Thread Al Viro
On Wed, Jan 06, 2016 at 10:21:33AM -0800, Linus Torvalds wrote: > On Wed, Jan 6, 2016 at 1:06 AM, Dan Carpenter > wrote: > > It's not really necessary to CC linux-kernel. No one reads it. Some of us still do. > > I only send patches there when there isn't another

[PATCH 3/8] perf tools: add sort option phys_daddr

2016-01-06 Thread kan . liang
From: Kan Liang Add a new sort option phys_daddr for --mem-mode sort. With this option applied, perf can sort and report by sample's physical address. Signed-off-by: Kan Liang --- tools/perf/Documentation/perf-report.txt | 1 + tools/perf/util/hist.c

Re: [PATCHv2 1/1] staging/ion: Add support to get ion handle from dma buf

2016-01-06 Thread Laura Abbott
On 01/05/2016 11:11 PM, Rohit kumar wrote: Currently we can only import dma buf fd's to get ion_handle. Adding support to import dma buf handles to support kernel specific use cases. An example use case is in linux platforms such as Tizen, in which DRM-GEM is used for buffer management for

Re: [PATCH 4/5] usb-misc: sisusbvga: Remove kmalloc logs and fix error path

2016-01-06 Thread Sergei Shtylyov
Hello. On 1/5/2016 7:54 PM, Peter Senna Tschudin wrote: From: Peter Senna Tschudin This patch remove four calls to dev_err() from sisusb_probe() as reporting memory allocation failures is redundant: - Remove a call to dev_err() that was reporting unsuccesful call to

Re: [PATCH v2 1/2] acpi, apei: add Boot Error Record Table (BERT) support

2016-01-06 Thread Borislav Petkov
On Thu, Jan 07, 2016 at 02:21:31AM +0800, Fu Wei wrote: > Hi Borislav, > > Thanks for your review. > I totally agree all your comment > I have made a new patch, and that is in testing, I will post it ASAP Ok, but please do not top-post. A: Because it messes up the order in which people normally

Re: sigaltstack breaks swapcontext()

2016-01-06 Thread Stas Sergeev
06.01.2016 21:05, Andy Lutomirski пишет: On Wed, Jan 6, 2016 at 7:45 AM, Stas Sergeev wrote: Hello. swapcontext() can be used with signal handlers, it swaps the signal masks together with the other parts of the context. Unfortunately, linux implements the sigaltstack() in a way

Re: [REGRESSION] tcp/ipv4: kernel panic because of (possible) division by zero

2016-01-06 Thread Yuchung Cheng
On Wed, Jan 6, 2016 at 10:19 AM, Yuchung Cheng wrote: > On Wed, Jan 6, 2016 at 8:50 AM, Oleksandr Natalenko > wrote: >> >> Unfortunately, the patch didn't help -- I've got the same stacktrace with >> slightly different offset (+3) within the

[PATCH net] Driver: Vmxnet3: Fix regression caused by 5738a09

2016-01-06 Thread Shrikrishna Khare
Reported-by: Bingkuo Liu Signed-off-by: Shrikrishna Khare --- drivers/net/vmxnet3/vmxnet3_drv.c | 8 drivers/net/vmxnet3/vmxnet3_int.h | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/net/vmxnet3/vmxnet3_drv.c

Re: [PATCH 0/2] InfiniBand-iSER: Refactoring for two function implementations

2016-01-06 Thread Nicholas A. Bellinger
On Sun, 2015-12-27 at 13:36 +0100, SF Markus Elfring wrote: > From: Markus Elfring > Date: Sun, 27 Dec 2015 13:12:10 +0100 > Subject: [PATCH 0/2] InfiniBand-iSER: Refactoring for two function > implementations > > I suggest to return directly instead of using the

[tip:sched/core] sched/fair: Fix multiplication overflow on 32-bit systems

2016-01-06 Thread tip-bot for Andrey Ryabinin
Commit-ID: 9e0e83a1eca66f8369e5a02973f85aad65c32416 Gitweb: http://git.kernel.org/tip/9e0e83a1eca66f8369e5a02973f85aad65c32416 Author: Andrey Ryabinin AuthorDate: Mon, 14 Dec 2015 15:47:23 +0300 Committer: Ingo Molnar CommitDate: Wed, 6 Jan

[tip:perf/core] perf: Fix race in perf_event_exec()

2016-01-06 Thread tip-bot for Peter Zijlstra
Commit-ID: c127449944659543e5e2423002f08f0af98dba5c Gitweb: http://git.kernel.org/tip/c127449944659543e5e2423002f08f0af98dba5c Author: Peter Zijlstra AuthorDate: Thu, 10 Dec 2015 20:57:40 +0100 Committer: Ingo Molnar CommitDate: Wed, 6 Jan 2016

[tip:sched/core] sched/core: Fix unserialized r-m-w scribbling stuff

2016-01-06 Thread tip-bot for Peter Zijlstra
Commit-ID: be958bdc96f18bc1356177bbb79d46ea0c037b96 Gitweb: http://git.kernel.org/tip/be958bdc96f18bc1356177bbb79d46ea0c037b96 Author: Peter Zijlstra AuthorDate: Wed, 25 Nov 2015 16:02:07 +0100 Committer: Ingo Molnar CommitDate: Wed, 6 Jan 2016

[tip:sched/core] sched/core: Reset task' s lockless wake-queues on fork()

2016-01-06 Thread tip-bot for Sebastian Andrzej Siewior
Commit-ID: 093e5840ae76f1082633503964d035f40ed0216d Gitweb: http://git.kernel.org/tip/093e5840ae76f1082633503964d035f40ed0216d Author: Sebastian Andrzej Siewior AuthorDate: Mon, 21 Dec 2015 18:17:10 +0100 Committer: Ingo Molnar CommitDate: Wed,

[PATCH] perf pmu: fix alias->snapshot missing initialization bug

2016-01-06 Thread Stephane Eranian
This patch fixes a bug in __perf_pmu__new_alias() whereby the alias->snapshot field was not initialized to false. This led to random alias->snapshot value for an alias and was breaking some measurements such as: $ perf stat -a -e uncore_imc/data_reads/ -I 1000 sleep 100 Because the event ended

[tip:sched/core] x86/fpu: Properly align size in CHECK_MEMBER_AT_END_OF() macro

2016-01-06 Thread tip-bot for Jiri Olsa
Commit-ID: 25ec02f2c14466a4549c5dcc044b628c2cc46fde Gitweb: http://git.kernel.org/tip/25ec02f2c14466a4549c5dcc044b628c2cc46fde Author: Jiri Olsa AuthorDate: Mon, 21 Dec 2015 15:25:30 +0100 Committer: Ingo Molnar CommitDate: Wed, 6 Jan 2016 11:06:06

[tip:sched/core] sched/core: Move sched_entity:: avg into separate cache line

2016-01-06 Thread tip-bot for Jiri Olsa
Commit-ID: 5a1078043f844074cbd53981432778a8d5dd56e9 Gitweb: http://git.kernel.org/tip/5a1078043f844074cbd53981432778a8d5dd56e9 Author: Jiri Olsa AuthorDate: Tue, 8 Dec 2015 21:23:59 +0100 Committer: Ingo Molnar CommitDate: Wed, 6 Jan 2016 11:06:14

Re: [REGRESSION] tcp/ipv4: kernel panic because of (possible) division by zero

2016-01-06 Thread Oleksandr Natalenko
Sure, but after catching the stacktrace. On середа, 6 січня 2016 р. 10:43:45 EET Yuchung Cheng wrote: > Could you turn off ecn (sysctl net.ipv4.tcp_ecn=0) to see if this still > happen? > >> On December 22, 2015 4:10:32 AM EET, Yuchung Cheng wrote: > >> >On Mon, Dec 21,

[tip:sched/core] sched/deadline: Fix the earliest_dl.next logic

2016-01-06 Thread tip-bot for Wanpeng Li
Commit-ID: 7d92de3a8285ab3dfd68aa3a99823acd5b190444 Gitweb: http://git.kernel.org/tip/7d92de3a8285ab3dfd68aa3a99823acd5b190444 Author: Wanpeng Li AuthorDate: Thu, 3 Dec 2015 17:42:10 +0800 Committer: Ingo Molnar CommitDate: Wed, 6 Jan 2016

[tip:sched/core] sched/fair: Fix new task' s load avg removed from source CPU in wake_up_new_task()

2016-01-06 Thread tip-bot for Yuyang Du
Commit-ID: 0905f04eb21fc1c2e690bed5d0418a061d56c225 Gitweb: http://git.kernel.org/tip/0905f04eb21fc1c2e690bed5d0418a061d56c225 Author: Yuyang Du AuthorDate: Thu, 17 Dec 2015 07:34:27 +0800 Committer: Ingo Molnar CommitDate: Wed, 6 Jan 2016

[tip:perf/core] perf/x86: Remove warning for zero PEBS status

2016-01-06 Thread tip-bot for Andi Kleen
Commit-ID: 957ea1fdbcdb909e1540f06f06f1a9ce6e696efa Gitweb: http://git.kernel.org/tip/957ea1fdbcdb909e1540f06f06f1a9ce6e696efa Author: Andi Kleen AuthorDate: Thu, 3 Dec 2015 13:22:19 -0800 Committer: Ingo Molnar CommitDate: Wed, 6 Jan 2016

[tip:perf/core] perf/x86: Allow zero PEBS status with only single active event

2016-01-06 Thread tip-bot for Andi Kleen
Commit-ID: 01330d7288e0050c5aaabc558059ff91589e67cd Gitweb: http://git.kernel.org/tip/01330d7288e0050c5aaabc558059ff91589e67cd Author: Andi Kleen AuthorDate: Thu, 3 Dec 2015 13:22:20 -0800 Committer: Ingo Molnar CommitDate: Wed, 6 Jan 2016

[tip:perf/core] perf/x86: Use INST_RETIRED.PREC_DIST for cycles: ppp

2016-01-06 Thread tip-bot for Andi Kleen
Commit-ID: 724697648eec540b2a7561089b1c87cb33e6a0eb Gitweb: http://git.kernel.org/tip/724697648eec540b2a7561089b1c87cb33e6a0eb Author: Andi Kleen AuthorDate: Fri, 4 Dec 2015 03:50:52 -0800 Committer: Ingo Molnar CommitDate: Wed, 6 Jan 2016

[tip:perf/core] perf/x86: Fix filter_events() bug with event mappings

2016-01-06 Thread tip-bot for Stephane Eranian
Commit-ID: 61b87cae6361ea6af161c1ffa549898892707b19 Gitweb: http://git.kernel.org/tip/61b87cae6361ea6af161c1ffa549898892707b19 Author: Stephane Eranian AuthorDate: Mon, 7 Dec 2015 20:33:25 +0100 Committer: Ingo Molnar CommitDate: Wed, 6 Jan 2016

[tip:perf/core] perf/x86: Use INST_RETIRED.TOTAL_CYCLES_PS for cycles:pp for Skylake

2016-01-06 Thread tip-bot for Andi Kleen
Commit-ID: 442f5c74cbeaf54939980397ece59360c0a824e9 Gitweb: http://git.kernel.org/tip/442f5c74cbeaf54939980397ece59360c0a824e9 Author: Andi Kleen AuthorDate: Fri, 4 Dec 2015 03:50:32 -0800 Committer: Ingo Molnar CommitDate: Wed, 6 Jan 2016

[tip:perf/core] perf/x86: Fix LBR related crashes on Intel Atom

2016-01-06 Thread tip-bot for Stephane Eranian
Commit-ID: 6fc2e83077b05a061afe9b24f2fdff7a0434eb67 Gitweb: http://git.kernel.org/tip/6fc2e83077b05a061afe9b24f2fdff7a0434eb67 Author: Stephane Eranian AuthorDate: Thu, 3 Dec 2015 23:33:17 +0100 Committer: Ingo Molnar CommitDate: Wed, 6 Jan 2016

[tip:perf/core] perf/x86: Enable cycles:pp for Intel Atom

2016-01-06 Thread tip-bot for Stephane Eranian
Commit-ID: 673d188ba5b1cef6f9a41a5a18b490b2831c3ea5 Gitweb: http://git.kernel.org/tip/673d188ba5b1cef6f9a41a5a18b490b2831c3ea5 Author: Stephane Eranian AuthorDate: Thu, 3 Dec 2015 21:03:10 +0100 Committer: Ingo Molnar CommitDate: Wed, 6 Jan 2016

[tip:perf/core] perf/x86: fix PEBS issues on Intel Atom/Core2

2016-01-06 Thread tip-bot for Stephane Eranian
Commit-ID: 1424a09a9e1839285e948d4ea9fdfca26c9a2086 Gitweb: http://git.kernel.org/tip/1424a09a9e1839285e948d4ea9fdfca26c9a2086 Author: Stephane Eranian AuthorDate: Thu, 3 Dec 2015 23:33:18 +0100 Committer: Ingo Molnar CommitDate: Wed, 6 Jan 2016

[tip:perf/core] perf/x86/rapl: Use unified perf_event_sysfs_show instead of special interface

2016-01-06 Thread tip-bot for Huang Rui
Commit-ID: d3bcd64bbc35076a80c56918c905ddb167d097d8 Gitweb: http://git.kernel.org/tip/d3bcd64bbc35076a80c56918c905ddb167d097d8 Author: Huang Rui AuthorDate: Fri, 4 Dec 2015 18:07:41 +0800 Committer: Ingo Molnar CommitDate: Wed, 6 Jan 2016 11:15:35

[tip:perf/core] perf/x86/intel/uncore: Add Broadwell-EP uncore support

2016-01-06 Thread tip-bot for Kan Liang
Commit-ID: d6980ef32570e2a26e05b1183788f4b70f1f27d0 Gitweb: http://git.kernel.org/tip/d6980ef32570e2a26e05b1183788f4b70f1f27d0 Author: Kan Liang AuthorDate: Thu, 3 Dec 2015 16:00:11 -0500 Committer: Ingo Molnar CommitDate: Wed, 6 Jan 2016 11:15:36

[tip:perf/core] perf/x86/intel/uncore: Remove hard coding of PMON box control MSR offset

2016-01-06 Thread tip-bot for Harish Chegondi
Commit-ID: dae25530a44ad9e6523495ebc8b37bb0a1640490 Gitweb: http://git.kernel.org/tip/dae25530a44ad9e6523495ebc8b37bb0a1640490 Author: Harish Chegondi AuthorDate: Mon, 7 Dec 2015 14:32:31 -0800 Committer: Ingo Molnar CommitDate: Wed, 6 Jan

[tip:perf/core] perf/x86/intel: Add perf core PMU support for Intel Knights Landing

2016-01-06 Thread tip-bot for Harish Chegondi
Commit-ID: 1e7b93906249a7ccca730be03168ace15f95709e Gitweb: http://git.kernel.org/tip/1e7b93906249a7ccca730be03168ace15f95709e Author: Harish Chegondi AuthorDate: Mon, 7 Dec 2015 14:28:18 -0800 Committer: Ingo Molnar CommitDate: Wed, 6 Jan

[tip:perf/core] perf/x86/amd: Remove l1-dcache-stores event for AMD

2016-01-06 Thread tip-bot for Vince Weaver
Commit-ID: 9cc2617de5b9222abb39cd02e90d57dfea99c6d7 Gitweb: http://git.kernel.org/tip/9cc2617de5b9222abb39cd02e90d57dfea99c6d7 Author: Vince Weaver AuthorDate: Wed, 9 Dec 2015 11:34:45 -0500 Committer: Ingo Molnar CommitDate: Wed, 6 Jan 2016

Re: [RFC v5 1/6] Timekeeping cross timestamp interface for device drivers

2016-01-06 Thread John Stultz
On Mon, Jan 4, 2016 at 4:45 AM, Christopher S. Hall wrote: > ACKNOWLEDGMENT: The original correlated clock source and cross > timestamp code was developed by Thomas Gleixner > . It has changed considerably and any mistakes are > mine. > > The

[tip:perf/core] perf/x86/intel/uncore: Add Knights Landing uncore PMU support

2016-01-06 Thread tip-bot for Harish Chegondi
Commit-ID: 77af0037de0a280eeabc632890de871f062ea7be Gitweb: http://git.kernel.org/tip/77af0037de0a280eeabc632890de871f062ea7be Author: Harish Chegondi AuthorDate: Mon, 7 Dec 2015 14:32:32 -0800 Committer: Ingo Molnar CommitDate: Wed, 6 Jan

Re: [tip:perf/core] perf: Fix race in perf_event_exec()

2016-01-06 Thread Eric Dumazet
On Wed, Jan 6, 2016 at 1:46 PM, tip-bot for Peter Zijlstra wrote: > > This is because context switches can swap the task_struct::perf_event_ctxp[] > pointer around. Therefore you have to either disable preemption when looking > at current, or hold ctx->lock. > > > void

Re: [PATCH v2 31/32] sh: support a 2-byte smp_store_mb

2016-01-06 Thread Geert Uytterhoeven
On Wed, Jan 6, 2016 at 4:42 PM, Rob Landley wrote: > That said, if you'd ack a submission, Rich already has my Acked-by line > on a maintainers patch (AND one to remove the extra cc's from the sh > kernel list, and I acked Chen Gang's syscall addition patch back in >

Re: [PATCH 1/2] kernel, timekeeping, add trylock option to ktime_get_with_offset()

2016-01-06 Thread John Stultz
On Wed, Jan 6, 2016 at 9:34 AM, Thomas Gleixner wrote: > On Wed, 6 Jan 2016, John Stultz wrote: >> On Wed, Jan 6, 2016 at 5:00 AM, Prarit Bhargava wrote: >> > -ktime_t ktime_get_with_offset(enum tk_offsets offs) >> > +ktime_t ktime_get_with_offset(enum

Re: [PATCH v7 2/9] dax: fix conversion of holes to PMDs

2016-01-06 Thread Dan Williams
r_new() check and adding a call to > truncate_inode_pages_range() to clear out the radix tree entries before we > insert the DAX PMD. > > Signed-off-by: Ross Zwisler <ross.zwis...@linux.intel.com> Replaced the current contents of v6 in -mm from next-20160106 with this v7 set and it

Re: [PATCH 25/35] target: set bi_op to REQ_OP

2016-01-06 Thread Nicholas A. Bellinger
Hi Mike, On Tue, 2016-01-05 at 14:53 -0600, mchri...@redhat.com wrote: > From: Mike Christie > > This patch has the target modules set the bio bi_op to a REQ_OP, and > rq_flag_bits to bi_rw. > > This patch is compile tested only. > > Signed-off-by: Mike Christie

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