[PATCH/RFC 01/16] perf top: Delete half-processed hist entries when exit

2015-12-09 Thread Namhyung Kim
After sample processing is done, hist entries are in both of hists->entries and hists->entries_in (or hists->entries_collapsed). So I guess perf report does not have leaks on hists. But for perf top, it's possible to have half-processed entries which are only in hists->entries_in. Eventually

[PATCH/RFC 10/16] perf hist: Add events_stats__add() and hists__add_stats()

2015-12-09 Thread Namhyung Kim
These two functions are to update event and hists stats. They'll be used by multi threads to update local stats in the later patch. Signed-off-by: Namhyung Kim --- tools/perf/util/hist.c | 23 +++ tools/perf/util/hist.h | 6 ++ 2 files changed, 29 insertions(+) diff

[PATCH/RFC 05/16] perf top: Show warning messages in the display thread

2015-12-09 Thread Namhyung Kim
Currently perf top shows warning dialog during processing samples which means it interrupts the processing. So it'd be better if reader threads just save the warning information and display thread show the message. Now warning is managed to have their priority so that higher priority messages

[PATCH/RFC 08/16] perf tools: Export a couple of hist functions

2015-12-09 Thread Namhyung Kim
These are necessary for multi threaded sample processing: - hists__get__get_rotate_entries_in() - hists__collapse_insert_entry() - __hists__init() Signed-off-by: Namhyung Kim --- tools/perf/util/hist.c | 19 --- tools/perf/util/hist.h | 5 + 2 files changed, 17

[PATCH/RFC 06/16] perf top: Get rid of access to hists->lock in perf_top__record_precise_ip()

2015-12-09 Thread Namhyung Kim
It was accessed to release the lock before going to sleep, but now it doesn't go to sleep anymore since warnings will be shown in the display thread. Signed-off-by: Namhyung Kim --- tools/perf/builtin-top.c | 18 -- 1 file changed, 4 insertions(+), 14 deletions(-) diff --git

[PATCH/RFC 02/16] perf top: Fix and cleanup perf_top__record_precise_ip()

2015-12-09 Thread Namhyung Kim
At first, it has duplicate ui__has_annotation() and 'sort__has_sym' and 'use_browser' check. In fact, the ui__has_annotation() should be removed as it needs to annotate on --stdio as well. And the top->sym_filter_entry is used only for stdio mode, so make it clear on the condition too. Also the

[PATCH/RFC 09/16] perf tools: Update hist entry's hists pointer

2015-12-09 Thread Namhyung Kim
When sample is processed using multi-thread, each sample is gathered on each thread's hist tree and then merged into the real hist tree. But hist_entry->hists pointer was not updated so it could refer wrong hists resulted in missing outputs. Signed-off-by: Namhyung Kim ---

[PATCH/RFC 13/16] perf top: Protect the seen list using mutex

2015-12-09 Thread Namhyung Kim
When perf didn't find a machine, it records its pid in the seen list. With multi-thread enabled, it shoud be protected using a mutex. Signed-off-by: Namhyung Kim --- tools/perf/builtin-top.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/perf/builtin-top.c

[PATCH] NFC: fdp: fix handling return value of fdp_nci_create_conn

2015-12-09 Thread Andrzej Hajda
The function can return negative values, so its result should be assigned to signed variable. The problem has been detected using proposed semantic patch scripts/coccinelle/tests/assign_signed_to_unsigned.cocci [1]. [1]: http://permalink.gmane.org/gmane.linux.kernel/2046107 Signed-off-by:

[PATCH] rtc: rv8803: fix handling return value of i2c_smbus_read_byte_data

2015-12-09 Thread Andrzej Hajda
The function can return negative values, so its result should be assigned to signed variable. The problem has been detected using proposed semantic patch scripts/coccinelle/tests/assign_signed_to_unsigned.cocci [1]. [1]: http://permalink.gmane.org/gmane.linux.kernel/2046107 Signed-off-by:

[PATCH/RFC 11/16] perf top: Implement basic parallel processing

2015-12-09 Thread Namhyung Kim
This patch changes perf top to process event samples with multiple threads. For now, each mmap is read and processed with its own hists by dedicated reader threads in parallel. And then a single collector thread gathers the hist entries and move it to the evsel's hists tree. As usual, a single

[PATCH/RFC 15/16] perf top: Add --num-thread option

2015-12-09 Thread Namhyung Kim
The --num-thread option is to set number of reader thread. Default value is 0 which will be converted to 1/4 of number of mmaps. Signed-off-by: Namhyung Kim --- tools/perf/builtin-top.c | 49 +++- tools/perf/util/top.h| 1 + 2 files changed, 37

[PATCH] NFC: fdp: fix handling return value of nci_conn_max_data_pkt_payload_size

2015-12-09 Thread Andrzej Hajda
The function can return negative values, so its result should be assigned to signed variable. The problem has been detected using proposed semantic patch scripts/coccinelle/tests/assign_signed_to_unsigned.cocci [1]. [1]: http://permalink.gmane.org/gmane.linux.kernel/2046107 Signed-off-by:

[PATCH/RFC 14/16] perf top: Separate struct perf_top_stats

2015-12-09 Thread Namhyung Kim
The perf top maintains various stats regarding samples. Separate out those stats so that it can be updated concurrently. Signed-off-by: Namhyung Kim --- tools/perf/builtin-top.c | 36 tools/perf/util/top.c| 18 -- tools/perf/util/top.h

[PATCH/RFC 07/16] perf hists: Pass hists struct to hist_entry_iter struct

2015-12-09 Thread Namhyung Kim
This is a preparation for multi-thread support in perf tools. When multi-thread is enable, each thread will have its own hists during the sample processing. Signed-off-by: Namhyung Kim --- tools/perf/builtin-report.c | 1 + tools/perf/builtin-top.c | 1 +

[PATCH/RFC 12/16] perf tools: Reduce lock contention when processing events

2015-12-09 Thread Namhyung Kim
When multi-thread is enabled, the machine->threads_lock is contented as all worker threads try to grab the writer lock using the machine__findnew_thread(). Usually, the thread they're looking for is in the tree so they only need the reader lock though. Thus try machine__find_thread() first, and

[PATCH/RFC 16/16] perf tools: Skip dso front cache for multi-threaded lookup

2015-12-09 Thread Namhyung Kim
Currently the dso maintains a front cache for faster symbol lookup, but access to it should be synchronized when multi thread is used. Also it doesn't help much if data file has callchains since it should walk through the callchains for each sample so single cache is almost meaningless. So skip

[PATCH/RFC 03/16] perf top: Factor out warnings about kernel addresses and symbols

2015-12-09 Thread Namhyung Kim
Factor out warning messages into separate functions. These will be called in the display thread later. Signed-off-by: Namhyung Kim --- tools/perf/builtin-top.c | 95 ++-- 1 file changed, 51 insertions(+), 44 deletions(-) diff --git

[PATCH v2 1/2] net: thunderx: HW TSO support for pass-2 hardware

2015-12-09 Thread Sunil Goutham
From: Sunil Goutham This adds support for offloading TCP segmentation to HW in pass-2 revision of hardware. Both driver level SW TSO for pass1.x chips and HW TSO for pass-2 chip will co-exist. Modified SQ descriptor structures to reflect pass-2 hw implementation. Signed-off-by: Sunil Goutham

[PATCH v2 0/2] net: thunderx: Support for pass-2 hw features

2015-12-09 Thread Sunil Goutham
From: Sunil Goutham This patch set adds support for new features added in pass-2 revision of hardware like TSO and count based interrupt coalescing. Changes from v1: - Addressed comments received regarding boolean bit field changes by excluding them from this patch. Will submit a seperate

RE: [v7] serial: 8250_dw: Add support for big-endian MMIO accesses

2015-12-09 Thread Noam Camus
From: Andy Shevchenko [mailto:andy.shevche...@gmail.com] Sent: Wednesday, December 09, 2015 4:19 PM >Can you send v9 with Cc to me and Heikki? No problem >My concerns here are a) to split refactor part (check LCR), and b) do the >actual feature enhancement. I will split this into couple of

Re: [PATCH] net/macb: add support for resetting PHY using GPIO

2015-12-09 Thread Sascha Hauer
Hi Gregory, On Wed, Dec 09, 2015 at 06:49:43PM +0100, Gregory CLEMENT wrote: > With device tree it is no more possible to reset the PHY at board > level. Furthermore, doing in the driver allow to power down the PHY when > the network interface is no more used. > > The patch introduces a new

[PATCH] powerpc/nvram: Fix an incorrect partition merge

2015-12-09 Thread xinhui
From: Pan Xinhui When we merge two contiguous partitions whose signatures are marked NVRAM_SIG_FREE, We need update prev's length and checksum, then write it to nvram, not cur's. So lets fix this mistake now. Also use memset instead of strncpy to set the partition's name. It's more readable if

Re: [PATCH 2/2] MAINTAINERS: change the maintainer of fam15h_power driver

2015-12-09 Thread Huang Rui
On Wed, Dec 09, 2015 at 10:33:04PM -0800, Joe Perches wrote: > On Thu, 2015-12-10 at 11:56 +0800, Huang Rui wrote: > > Andreas Herrmann won't take the maintainer of fam15h_power driver. I > > will take it and appreciate him for the great contributions on this > > driver. > [] > > diff --git

Re: [PATCH 0/4] gpio: pxa: integrate with pincontrol

2015-12-09 Thread Robert Jarzmik
Linus Walleij writes: > On Sat, Nov 28, 2015 at 10:37 PM, Robert Jarzmik > wrote: > >> Hi Linus, Alexandre and Haojian, >> >> This serie aims at several cleanups and improvements in the pxa gpio driver, >> to > > I have concerns about this series. > > I am worried that joining the banks into

[PATCH] tools: hv: vss: fix the write()'s argument: error -> vss_msg

2015-12-09 Thread Dexuan Cui
I found this by chance. I don't have a specific bug caused by this. Cc: Vitaly Kuznetsov Cc: "K. Y. Srinivasan" Signed-off-by: Dexuan Cui Cc: sta...@vger.kernel.org --- tools/hv/hv_vss_daemon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/hv/hv_vss_daemon.c

RE: [PATCH-v8] serial: 8250_dw: Add support for big-endian MMIO accesses

2015-12-09 Thread Noam Camus
>From: Heikki Krogerus [mailto:heikki.kroge...@linux.intel.com] >Sent: Wednesday, December 09, 2015 3:20 PM >> @@ -171,7 +174,8 @@ static void dw8250_serial_out32(struct uart_port *p, int >> offset, int value) >> if ((value & ~UART_LCR_SPAR) == (lcr & ~UART_LCR_SPAR)) >>

Re: [PATCH v9 7/7] PCI: hv: New paravirtual PCI front-end for Hyper-V VMs

2015-12-09 Thread kbuild test robot
Hi Jake, [auto build test ERROR on pci/next] [also build test ERROR on v4.4-rc4 next-20151209] url: https://github.com/0day-ci/linux/commits/jakeo-microsoft-com/PCI-hv-New-paravirtual-PCI-front-end-for-Hyper-V-VMs/20151210-070027 base: https://git.kernel.org/pub/scm/linux/kernel/git

Re: [PATCH v2 17/19] ARM: dts: Add support of bus frequency using VDD_INT for exynos3250-rinato

2015-12-09 Thread Chanwoo Choi
On 2015년 12월 10일 15:58, Krzysztof Kozlowski wrote: > On 09.12.2015 13:08, Chanwoo Choi wrote: >> This patch adds the bus device-tree node of INT (internal) block >> to enable the bus frequency. The following sub-blocks share > > "to enable the bus frequency scaling" > >> the VDD_INT power

Re: [PATCH v2 19/19] ARM: dts: Add support of bus frequency for exynos4412-trats/odroidu3

2015-12-09 Thread Chanwoo Choi
On 2015년 12월 10일 16:08, Krzysztof Kozlowski wrote: > On 09.12.2015 13:08, Chanwoo Choi wrote: >> THis patch adds the bus device tree nodes for both MIF (Memory) and INT >> (Internal) block to enable the bus frequency. >> >> The DMC bus is parent device in MIF block using VDD_MIF and the LEFTBUS >>

Re: [PATCH v2 18/19] ARM: dts: Expand the voltage range of buck1/3 regulator for exynos4412-odroidu3

2015-12-09 Thread Chanwoo Choi
On 2015년 12월 10일 16:02, Krzysztof Kozlowski wrote: > On 09.12.2015 13:08, Chanwoo Choi wrote: >> This patch expands the voltage range of buck1/3 regulator due to as >> following: >> - MIF (Memory Interface) bus frequency needs the 9uV ~ 105uV V. >> - INT (Internal) bus frequency needs

Re: [PATCH v2 14/19] ARM: dts: Add bus nodes using VDD_INT for Exynos4x12

2015-12-09 Thread Chanwoo Choi
On 2015년 12월 10일 16:12, Krzysztof Kozlowski wrote: > On 10.12.2015 16:07, Chanwoo Choi wrote: >> On 2015년 12월 10일 15:53, Krzysztof Kozlowski wrote: >>> On 10.12.2015 15:43, Chanwoo Choi wrote: On 2015년 12월 10일 15:32, Krzysztof Kozlowski wrote: > On 10.12.2015 15:08, Chanwoo Choi wrote:

Re: [PATCH v2] spi-fsl-dspi: Fix CTAR Register access

2015-12-09 Thread Alexander Stein
On Thursday 10 December 2015 11:25:30, Bhuvanchandra DV wrote: > DSPI instances in Vybrid have a different amount of chip selects > and CTARs (Clock and transfer Attributes Register). In case of > DSPI1 we only have 2 CTAR registers and 4 CS. In present driver > implementation CTAR offset is

Re: mtd, nand, omap2: parse cmdline partition fail

2015-12-09 Thread Frans Klaver
On Thu, Dec 10, 2015 at 12:19 AM, Brian Norris wrote: > On Fri, Dec 04, 2015 at 09:42:06AM +0100, Heiko Schocher wrote: >> It seems to me add_mtd_device() gets only called for the mtd partitions >> parsed from the cmdline ... > > That's true, when CONFIG_MTD_PARTITIONED_MASTER=n. (I'm really

Re: [PATCH] Fixed coding style problems based on checkpatch.pl for goldfish_audio.c

2015-12-09 Thread Sudip Mukherjee
On Wed, Dec 09, 2015 at 03:46:02PM -0800, Benjamin Young wrote: > From f18a3e5f155f5258d2d19ac6b56bfaafa2ad470b Mon Sep 17 00:00:00 2001 > From: Benjamin Young > Date: Wed, 9 Dec 2015 13:45:00 -0800 > Subject: [PATCH] Fixed coding style problems based on checkpatch.pl for > goldfish_audio.c

Re: [PATCH v2 14/19] ARM: dts: Add bus nodes using VDD_INT for Exynos4x12

2015-12-09 Thread Krzysztof Kozlowski
On 10.12.2015 16:07, Chanwoo Choi wrote: > On 2015년 12월 10일 15:53, Krzysztof Kozlowski wrote: >> On 10.12.2015 15:43, Chanwoo Choi wrote: >>> On 2015년 12월 10일 15:32, Krzysztof Kozlowski wrote: On 10.12.2015 15:08, Chanwoo Choi wrote: > On 2015년 12월 10일 14:57, Krzysztof Kozlowski wrote:

[PATCH 1/1] Fix int1 recursion when no perf_bp_event is registered

2015-12-09 Thread Jeff Merkey
If an int1 hardware breakpoint exception is triggered, but no perf bp pevent block was registered from arch_install_hw_breakpoint, the system will hard hang with the CPU stuck constantly re-interrupting at the same execution address because the resume flag never gets set, and the NOTIFY_DONE state

Re: [PATCH v5] fs: clear file privilege bits when mmap writing

2015-12-09 Thread Willy Tarreau
On Thu, Dec 10, 2015 at 08:06:35AM +0100, Willy Tarreau wrote: > Hi Kees, > > Why not add a new file flag instead ? > > Something like this (editing your patch by hand to illustrate) : (...) > diff --git a/include/linux/fs.h b/include/linux/fs.h > index 3aa514254161..409bd7047e7e 100644 > ---

Re: [PATCH v2 19/19] ARM: dts: Add support of bus frequency for exynos4412-trats/odroidu3

2015-12-09 Thread Krzysztof Kozlowski
On 09.12.2015 13:08, Chanwoo Choi wrote: > THis patch adds the bus device tree nodes for both MIF (Memory) and INT > (Internal) block to enable the bus frequency. > > The DMC bus is parent device in MIF block using VDD_MIF and the LEFTBUS > bus is parent device in INT block using VDD_INT. > >

Re: [PATCH v2 14/19] ARM: dts: Add bus nodes using VDD_INT for Exynos4x12

2015-12-09 Thread Chanwoo Choi
On 2015년 12월 10일 15:53, Krzysztof Kozlowski wrote: > On 10.12.2015 15:43, Chanwoo Choi wrote: >> On 2015년 12월 10일 15:32, Krzysztof Kozlowski wrote: >>> On 10.12.2015 15:08, Chanwoo Choi wrote: On 2015년 12월 10일 14:57, Krzysztof Kozlowski wrote: > On 09.12.2015 13:08, Chanwoo Choi wrote:

Re: [PATCH v5] fs: clear file privilege bits when mmap writing

2015-12-09 Thread Willy Tarreau
Hi Kees, Why not add a new file flag instead ? Something like this (editing your patch by hand to illustrate) : diff --git a/fs/file_table.c b/fs/file_table.c index ad17e05ebf95..3a7eee76ea90 100644 --- a/fs/file_table.c +++ b/fs/file_table.c @@ -191,6 +191,17 @@ static void __fput(struct file

[V6.1 PATCH 5/6] x86/nmi: Fix to save registers for crash dump on external NMI broadcast

2015-12-09 Thread Hidehiro Kawai
Now, multiple CPUs can receive external NMI simultaneously by specifying "apic_extnmi=all" as an boot option. When we take a crash dump by using external NMI with this option, we fail to save register values into the crash dump. This happens as follows: CPU 0 CPU

Re: [PATCH v2 18/19] ARM: dts: Expand the voltage range of buck1/3 regulator for exynos4412-odroidu3

2015-12-09 Thread Krzysztof Kozlowski
On 09.12.2015 13:08, Chanwoo Choi wrote: > This patch expands the voltage range of buck1/3 regulator due to as following: > - MIF (Memory Interface) bus frequency needs the 9uV ~ 105uV V. > - INT (Internal) bus frequency needs 9uV ~ 100uV. 9->90 and duplicated "uV V".

Re: [PATCH v11] PCI: Xilinx-NWL-PCIe: Added support for Xilinx NWL PCIe Host Controller

2015-12-09 Thread Michal Simek
Hi Bjorn, On 10.12.2015 00:19, Bjorn Helgaas wrote: > [+cc Michal, Paul, Thierry, Stephen, Alexandre (see irq_dispose_mapping > questions below)] > > On Sun, Nov 29, 2015 at 05:33:53PM +0530, Bharat Kumar Gogada wrote: >> Adding PCIe Root Port driver for Xilinx PCIe NWL bridge IP. >> >>

Re: [PATCH v2 17/19] ARM: dts: Add support of bus frequency using VDD_INT for exynos3250-rinato

2015-12-09 Thread Krzysztof Kozlowski
On 09.12.2015 13:08, Chanwoo Choi wrote: > This patch adds the bus device-tree node of INT (internal) block > to enable the bus frequency. The following sub-blocks share "to enable the bus frequency scaling" > the VDD_INT power source: > - LEFTBUS (parent device) > - RIGHTBUS > - PERIL > - LCD0

Re: [PATCH v2 14/19] ARM: dts: Add bus nodes using VDD_INT for Exynos4x12

2015-12-09 Thread Krzysztof Kozlowski
On 10.12.2015 15:43, Chanwoo Choi wrote: > On 2015년 12월 10일 15:32, Krzysztof Kozlowski wrote: >> On 10.12.2015 15:08, Chanwoo Choi wrote: >>> On 2015년 12월 10일 14:57, Krzysztof Kozlowski wrote: On 09.12.2015 13:08, Chanwoo Choi wrote: > This patch adds the bus noes using VDD_INT for

Re: [BISECTED] WARNING: CPU: 2 PID: 142 at block/genhd.c:626 add_disk+0x480/0x4e0()

2015-12-09 Thread Hannes Reinecke
ockd grace sunrpc binfmt_misc dm_crypt hid_microsoft rtsx_pci_sdmmc mmc_core crct10dif_pclmul crc32_pclmul crc32c_intel serio_raw drm e1000e ptp rtsx_pci pps_core fjes video [ 125.109197] CPU: 2 PID: 142 Comm: kworker/u16:6 Tainted: G W 4.4.0-rc4-usbbadness-next-20151209+ #3 [ 125.109198] Hardware na

Re: [PATCH v2 16/19] ARM: dts: Add PPMU node for exynos4412-odroidu3

2015-12-09 Thread Krzysztof Kozlowski
On 09.12.2015 13:08, Chanwoo Choi wrote: > This patch add dt node for PPMU_{DMC0|DMC1|LEFTBUS|RIGHTBUS} for > exynos4412-odroidu3 board. Each PPMU dt node includes one event of > 'PPMU Count3'. > > Signed-off-by: Chanwoo Choi > --- > arch/arm/boot/dts/exynos4412-odroid-common.dtsi | 40 >

Re: [PATCHv3] Input: xpad - Fix double URB submission races

2015-12-09 Thread Dmitry Torokhov
Hi Laura, On Mon, Nov 16, 2015 at 02:47:13PM -0800, Laura Abbott wrote: > +static int __xpad_submit_urb(struct usb_xpad *xpad, > + unsigned char odata[XPAD_PKT_LEN], int transfer_length, > + int type, bool safe_submit) > +{ > + int ret; > + > + if

Re: [PATCH v2 14/19] ARM: dts: Add bus nodes using VDD_INT for Exynos4x12

2015-12-09 Thread Chanwoo Choi
On 2015년 12월 10일 15:32, Krzysztof Kozlowski wrote: > On 10.12.2015 15:08, Chanwoo Choi wrote: >> On 2015년 12월 10일 14:57, Krzysztof Kozlowski wrote: >>> On 09.12.2015 13:08, Chanwoo Choi wrote: This patch adds the bus noes using VDD_INT for Exynos4x12 SoC. Exynos4x12 has the following AXI

RE: [PATCH 4/9] dmaengine: pl330: add new items for pl330 private data

2015-12-09 Thread Wang, Annie
>-Original Message- >From: Vinod Koul [mailto:vinod.k...@intel.com] >Sent: Thursday, December 10, 2015 12:09 PM >To: Wang, Annie >Cc: Mika Westerberg; Joerg Roedel; Greg Kroah-Hartman; Rafael J. Wysocki; >linux-a...@vger.kernel.org; linux-kernel@vger.kernel.org; linux-

RE: Re: [V6 PATCH 5/6] x86/nmi: Fix to save registers for crash dump on external NMI broadcast

2015-12-09 Thread 河合英宏 / KAWAI,HIDEHIRO
iro, > > [auto build test ERROR on v4.4-rc4] > [also build test ERROR on next-20151209] > [cannot apply to tip/x86/core] > > url: > https://github.com/0day-ci/linux/commits/Hidehiro-Kawai/Fix-race-issues-among-panic-NMI-and-crash_kexec/20151210-095 > 254 > config: x86_64-randc

Re: [PATCH v2 4/9] ARM: dts: add dts files for hi3519-demb board

2015-12-09 Thread xuejiancheng
On 2015/12/9 23:31, Arnd Bergmann wrote: > On Tuesday 08 December 2015 11:54:51 xuejiancheng wrote: >> On 2015/12/7 14:37, xuejiancheng wrote: >>> >>> On 2015/12/4 18:49, Arnd Bergmann wrote: On Friday 04 December 2015 10:27:58 xuejiancheng wrote: >> Maybe split out the sysctrl

Re: [PATCH 2/2] MAINTAINERS: change the maintainer of fam15h_power driver

2015-12-09 Thread Joe Perches
On Thu, 2015-12-10 at 11:56 +0800, Huang Rui wrote: > Andreas Herrmann won't take the maintainer of fam15h_power driver. I > will take it and appreciate him for the great contributions on this > driver. [] > diff --git a/CREDITS b/CREDITS [] > @@ -1507,6 +1507,14 @@ S: 312/107 Canberra Avenue >  

Re: [PATCH v2 14/19] ARM: dts: Add bus nodes using VDD_INT for Exynos4x12

2015-12-09 Thread Krzysztof Kozlowski
On 10.12.2015 15:08, Chanwoo Choi wrote: > On 2015년 12월 10일 14:57, Krzysztof Kozlowski wrote: >> On 09.12.2015 13:08, Chanwoo Choi wrote: >>> This patch adds the bus noes using VDD_INT for Exynos4x12 SoC. >>> Exynos4x12 has the following AXI buses to translate data between >>> DRAM and sub-blocks.

Re: [PATCH] hexdump: Add ability to do endian conversions in print_hex_dump functions

2015-12-09 Thread Joe Perches
On Thu, 2015-12-10 at 13:55 +0800, kbuild test robot wrote: > Hi Joe, Hello Fengguang. Thanks for the report.  I'll fix and resubmit. > > > include/linux/printk.h:430:24: sparse: undefined identifier 'BIT' > > > include/linux/printk.h:430:27: sparse: bad constant expression type -- To

Re: [PATCH v3 2/2] mm: Introduce kernelcore=mirror option

2015-12-09 Thread Xishi Qiu
On 2015/12/10 13:37, Izumi, Taku wrote: > Dear Tony, Xishi, > How about add some comment, if mirrored memroy is too small, then the normal zone is small, so it may be oom. The mirrored memory is at least 1/64 of whole memory, because struct pages usually take 64 bytes per

Re: [RFC 0/3] reduce latency of direct async compaction

2015-12-09 Thread Aaron Lu
On 12/10/2015 12:35 PM, Joonsoo Kim wrote: > On Wed, Dec 09, 2015 at 01:40:06PM +0800, Aaron Lu wrote: >> On Wed, Dec 09, 2015 at 09:33:53AM +0900, Joonsoo Kim wrote: >>> On Tue, Dec 08, 2015 at 04:52:42PM +0800, Aaron Lu wrote: On Tue, Dec 08, 2015 at 03:51:16PM +0900, Joonsoo Kim wrote:

Re: [PATCH v2 3/9] ARM: hisi: enable Hi3519 soc

2015-12-09 Thread xuejiancheng
On 2015/12/9 23:32, Arnd Bergmann wrote: > On Tuesday 08 December 2015 11:03:20 xuejiancheng wrote: I think we should come up with a way to handle this in general for ARCH_HISI. It's not problem to have a couple of sub-options, but I'd rather not have one for each SoC because

Re: [PATCH v2 14/19] ARM: dts: Add bus nodes using VDD_INT for Exynos4x12

2015-12-09 Thread Chanwoo Choi
On 2015년 12월 10일 14:57, Krzysztof Kozlowski wrote: > On 09.12.2015 13:08, Chanwoo Choi wrote: >> This patch adds the bus noes using VDD_INT for Exynos4x12 SoC. >> Exynos4x12 has the following AXI buses to translate data between >> DRAM and sub-blocks. >> >> Following list specifies the detailed

Re: [PATCH v9 7/7] PCI: hv: New paravirtual PCI front-end for Hyper-V VMs

2015-12-09 Thread kbuild test robot
Hi Jake, [auto build test WARNING on pci/next] [also build test WARNING on v4.4-rc4 next-20151209] url: https://github.com/0day-ci/linux/commits/jakeo-microsoft-com/PCI-hv-New-paravirtual-PCI-front-end-for-Hyper-V-VMs/20151210-070027 base: https://git.kernel.org/pub/scm/linux/kernel/git

Re: [PATCH v2 14/19] ARM: dts: Add bus nodes using VDD_INT for Exynos4x12

2015-12-09 Thread Krzysztof Kozlowski
On 09.12.2015 13:08, Chanwoo Choi wrote: > This patch adds the bus noes using VDD_INT for Exynos4x12 SoC. > Exynos4x12 has the following AXI buses to translate data between > DRAM and sub-blocks. > > Following list specifies the detailed relation between DRAM and sub-blocks: > - ACLK100 clock for

[PATCH 1/2] perf tests: Fix incorrect free and false TEST_OK result

2015-12-09 Thread Wang Nan
Commit cc1121ab9687d660cc02f50b1a4974112f87a8e6 ('perf machine: Fix machine.vmlinux_maps to make sure to clear the old one') reveals a bug in 'perf test' that in all test cases which use setup_fake_machine() incorrectly call free() when failure, because all users of setup_fake_machine() use static

Re: [PATCH] hexdump: Add ability to do endian conversions in print_hex_dump functions

2015-12-09 Thread kbuild test robot
Hi Joe, [auto build test WARNING on v4.4-rc4] [also build test WARNING on next-20151209] url: https://github.com/0day-ci/linux/commits/Joe-Perches/hexdump-Add-ability-to-do-endian-conversions-in-print_hex_dump-functions/20151210-060244 reproduce: # apt-get install sparse make

[PATCH 2/2] perf tools: Prevent calling machine__delete() on non-allocated machine

2015-12-09 Thread Wang Nan
To prevent futher commits calling machine__delete() on non-allocated 'struct machine' (which would cause memory corruption), this patch enforces machine__init(), record whether a machine structure is dynamically allocated or not, and warn if machine__delete() is called on incorrect object.

[PATCH v2] spi-fsl-dspi: Fix CTAR Register access

2015-12-09 Thread Bhuvanchandra DV
DSPI instances in Vybrid have a different amount of chip selects and CTARs (Clock and transfer Attributes Register). In case of DSPI1 we only have 2 CTAR registers and 4 CS. In present driver implementation CTAR offset is derived from CS instance which will lead to out of bound access if chip

[PATCH 3/3] arm: dts: rockchip: move the public part to rk3288-evb common

2015-12-09 Thread Chris Zhong
Rk3288-evb-act8846 and rk3288-evb-rk808 are the power boards of rk3288-evb, they provide the same power supply interface to the motherboard. Sort out them, put the public part to rk3288-evb.dtsi, such as gmac and cpu-supply, leaving only the power section. Signed-off-by: Chris Zhong ---

Re: [PATCH] x86/entry/64: Remove duplicate syscall table for fast path

2015-12-09 Thread Andy Lutomirski
On Wed, Dec 9, 2015 at 9:42 PM, Brian Gerst wrote: > On Wed, Dec 9, 2015 at 6:50 PM, Andy Lutomirski wrote: >> On Wed, Dec 9, 2015 at 1:15 PM, Andy Lutomirski wrote: >>> On Wed, Dec 9, 2015 at 1:08 PM, Brian Gerst wrote: Simplified version: ENTRY(stub_ptregs_64) cmpl

linux-next: Tree for Dec 10

2015-12-09 Thread Stephen Rothwell
Hi all, Changes since 20151209: I applied a fix patch to the orangefs tree for a build failure exposed by the vfs tree. The vfs tree gained a build failure for which I applied a merge fix patch. The pm tree lost its build failure. The akpm-current tree gained a conflict against the net-next

[PATCH 1/3] ARM: dts: rockchip: correct the name of REG8 for rk3288-evb-act8846

2015-12-09 Thread Chris Zhong
According to the schematic, the name of REG8 should be vcc_tp, rather than vcca_tp. Signed-off-by: Chris Zhong --- arch/arm/boot/dts/rk3288-evb-act8846.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/rk3288-evb-act8846.dts

[PATCH 2/3] ARM: dts: rockchip: add 2 regulators for rk3288-evb-act8846

2015-12-09 Thread Chris Zhong
vcc_wl and vcc_lcd are 2 gpio switches for rk3288-evb-act8846 board. Signed-off-by: Chris Zhong --- arch/arm/boot/dts/rk3288-evb-act8846.dts | 34 1 file changed, 34 insertions(+) diff --git a/arch/arm/boot/dts/rk3288-evb-act8846.dts

Re: [PATCH] x86/entry/64: Remove duplicate syscall table for fast path

2015-12-09 Thread Brian Gerst
On Wed, Dec 9, 2015 at 6:50 PM, Andy Lutomirski wrote: > On Wed, Dec 9, 2015 at 1:15 PM, Andy Lutomirski wrote: >> On Wed, Dec 9, 2015 at 1:08 PM, Brian Gerst wrote: >>> Simplified version: >>> ENTRY(stub_ptregs_64) >>> cmpl $fast_path_return, (%rsp) >> >> Does that instruction actually

RE: [PATCH v3 2/2] mm: Introduce kernelcore=mirror option

2015-12-09 Thread Izumi, Taku
Dear Tony, Xishi, > >> How about add some comment, if mirrored memroy is too small, then the > >> normal zone is small, so it may be oom. > >> The mirrored memory is at least 1/64 of whole memory, because struct > >> pages usually take 64 bytes per page. > > > > 1/64th is the absolute lower bound

[PATCHv2] ARM: dts: kirkwood: Add DTS for Zyxel NSA325

2015-12-09 Thread Hans Ulli Kroll
Add a new DTS file to support the Zyxel NSA325(v2) dual bay NAS device, based on the NSA320 DTS files. The only difference to the NSA320 device is GPIO47. This en/disables the power for the hdd in slot2, currently fixed to on. Signed-off-by: Hans Ulli Kroll --- v2 - using kirkwood-nsa325.dts

Re: [PATCH v4 4/5] ARM: dts: DRA7: add entry for qspi mmap region

2015-12-09 Thread Vignesh R
On 12/03/2015 03:51 PM, Vignesh R wrote: > > > On 12/01/2015 10:09 PM, Tony Lindgren wrote: >> * Vignesh R [151130 20:46]: >>> On 12/01/2015 04:04 AM, Tony Lindgren wrote: ... >> >> OK. They are both on L3 main so that won't cause any issues for separate >> interconnect driver instances.

Re: [PATCH 0/8 v4] enable to use thermal-zone on r8a7790/1

2015-12-09 Thread Simon Horman
On Tue, Dec 08, 2015 at 05:26:20AM +, Kuninori Morimoto wrote: > > Hi > > These are v4 of thermal-zone support for r8a7790/r8a7791. > Mainly, it cares return value of get_temp() > > I think 8) is needed on of-thermal (?) > > Kuninori Morimoto (8): > 1) thermal: rcar: move

Re: [PATCH] module: check vermagic match exactly when load modules

2015-12-09 Thread Rusty Russell
Xie XiuQi writes: > Usually, checking kernel version will be ignore when loading > modules if CONFIG_MODVERSIONS option is enable. This could > potentially lead to a mismatch with the running kernel. > > With this option, we prevent to load the modules which vermagic > is not match exactly with

linux-next: manual merge of the akpm-current tree with the net-next tree

2015-12-09 Thread Stephen Rothwell
Hi Andrew, Today's linux-next merge of the akpm-current tree got a conflict in: include/net/sock.h between commits: 297dbde19cf6 ("netprio_cgroup: limit the maximum css->id to USHRT_MAX") 2a56a1fec290 ("net: wrap sock->sk_cgrp_prioidx and ->sk_classid inside a struct") from the

Re: [PATCH perf/core 00/22] perf refcnt debugger API and fixes

2015-12-09 Thread Namhyung Kim
Hi Arnaldo and Masami, On Wed, Dec 09, 2015 at 10:41:38AM -0300, Arnaldo Carvalho de Melo wrote: > Em Wed, Dec 09, 2015 at 11:10:48AM +0900, Masami Hiramatsu escreveu: > > In this series I've also tried to fix some object leaks in perf top > > and perf stat. > > After applying this series, this

Re: [RFC 0/3] reduce latency of direct async compaction

2015-12-09 Thread Joonsoo Kim
On Wed, Dec 09, 2015 at 01:40:06PM +0800, Aaron Lu wrote: > On Wed, Dec 09, 2015 at 09:33:53AM +0900, Joonsoo Kim wrote: > > On Tue, Dec 08, 2015 at 04:52:42PM +0800, Aaron Lu wrote: > > > On Tue, Dec 08, 2015 at 03:51:16PM +0900, Joonsoo Kim wrote: > > > > I add work-around for this problem at

Re: [PATCH v2 1/3] mm, printk: introduce new format string for flags

2015-12-09 Thread Joonsoo Kim
On Wed, Dec 09, 2015 at 11:04:56PM -0500, Steven Rostedt wrote: > On Thu, Dec 10, 2015 at 11:59:44AM +0900, Joonsoo Kim wrote: > > Ccing, Steven to ask trace-cmd problem. > > Thanks, I should have been Cc'd for the rest as well. > > > > > On Fri, Dec 04, 2015 at 04:16:33PM +0100, Vlastimil

Re: [PATCH] spi-fsl-dspi: Fix CTAR Register access

2015-12-09 Thread Bhuvanchandra DV
On 12/10/2015 02:11 AM, Mark Brown wrote: On Wed, Dec 09, 2015 at 11:51:39AM +0530, Bhuvanchandra DV wrote: DSPI instances in Vybrid have a different amount of chip selects and CTARs (Clock and transfer Attributes Register). In case of DSPI1 we only have 2 CTAR registers and 4 CS. In present

Re: [Resend: PATCH v2 0/3] Fix rcar-pcie for arm64

2015-12-09 Thread Simon Horman
On Wed, Dec 09, 2015 at 10:59:54AM -0600, Bjorn Helgaas wrote: > On Thu, Nov 26, 2015 at 08:32:43AM +, Phil Edworthy wrote: > > HI Bjorn, > > > > On 25 November 2015 16:41, Bjorn Helgaas wrote: > > > Hi Phil, > > > > > > On Wed, Nov 25, 2015 at 03:30:36PM +, Phil Edworthy wrote: > > > >

Re: [PATCH v2 13/19] ARM: dts: Add bus nodes using VDD_MIF for Exynos4x12

2015-12-09 Thread Chanwoo Choi
On 2015년 12월 10일 12:17, Krzysztof Kozlowski wrote: > On 09.12.2015 13:08, Chanwoo Choi wrote: >> This patch adds the bus noes using VDD_MIF for Exynos4x12 SoC. > > s/noes/nodes/ OK. > >> Exynos4x12 has the following AXI buses to translate data >> between DRAM and DMC/ACP/C2C. >> >>

Re: [PATCH v2 00/19] PM / devferq: Add generic exynos bus frequency driver and new passive governor

2015-12-09 Thread Chanwoo Choi
Hi Anand, On 2015년 12월 10일 13:14, Anand Moon wrote: > Hi Chanwoo Choi, > > On 10 December 2015 at 05:42, Chanwoo Choi wrote: >> Hi Anand, >> >> First of all, thanks for trying to test this series. >> >> On 2015년 12월 10일 04:05, Anand Moon wrote: >>> Hi Chanwoo Choi, >>> >>> On 9 December 2015 at

Re: [PATCH 2/2] mm/page_ref: add tracepoint to track down page reference manipulation

2015-12-09 Thread Joonsoo Kim
On Wed, Dec 09, 2015 at 10:36:48PM -0500, Steven Rostedt wrote: > On Thu, 10 Dec 2015 11:50:15 +0900 > Joonsoo Kim wrote: > > > Output of cpu 3, 7 are mixed and it's not easy to analyze it. > > > > I think that it'd be better not to sort stack trace. How do > > you think about it? Could you fix

Re: [PATCH] dma: mdc: Correct terminate_all handling

2015-12-09 Thread Vinod Koul
On Mon, Dec 07, 2015 at 04:59:41PM +, Damien Horsley wrote: > On 05/12/15 08:43, Vinod Koul wrote: > > On Mon, Nov 23, 2015 at 02:22:04PM +, Damien Horsley wrote: > >> From: "Damien.Horsley" > >> > >> Use of the CANCEL bit in mdc_terminate_all creates an > >> additional 'command done' to

Re: [PATCH 1/1] dmaengine: at_xdmac: fix at_xdmac_prep_dma_memcpy()

2015-12-09 Thread Vinod Koul
On Mon, Dec 07, 2015 at 03:58:56PM +0100, Cyrille Pitchen wrote: > This patch fixes at_xdmac_prep_dma_memcpy(). Indeed the data width field > of the Channel Configuration register was not updated properly in the > loop: the bits of the dwidth field were not cleared before adding their > new value.

Re: [PATCH v5] fs: clear file privilege bits when mmap writing

2015-12-09 Thread Al Viro
On Wed, Dec 09, 2015 at 02:51:48PM -0800, Kees Cook wrote: > diff --git a/include/linux/fs.h b/include/linux/fs.h > index 3aa514254161..409bd7047e7e 100644 > --- a/include/linux/fs.h > +++ b/include/linux/fs.h > @@ -872,6 +872,7 @@ struct file { > struct list_headf_tfile_llink; >

Re: [PATCH v2 00/19] PM / devferq: Add generic exynos bus frequency driver and new passive governor

2015-12-09 Thread Anand Moon
Hi Chanwoo Choi, On 10 December 2015 at 05:42, Chanwoo Choi wrote: > Hi Anand, > > First of all, thanks for trying to test this series. > > On 2015년 12월 10일 04:05, Anand Moon wrote: >> Hi Chanwoo Choi, >> >> On 9 December 2015 at 09:37, Chanwoo Choi wrote: >>> This patch-set includes the two

Re: [PATCH v2] dmaengine: stm32-dma: Fix unchecked deference of chan->desc

2015-12-09 Thread Vinod Koul
On Mon, Dec 07, 2015 at 12:00:28PM +0100, M'boumba Cedric Madianga wrote: > 'commit d8b468394fb7 ("dmaengine: Add STM32 DMA driver")' leads to the > following Smatch complaint: > > drivers/dma/stm32-dma.c:562 stm32_dma_issue_pending() > error: we previously assumed 'chan->desc' could be null

Re: [PATCH v2 00/14] perf tools: Move perf subcommand framework into lib/tools

2015-12-09 Thread Namhyung Kim
On Mon, Dec 07, 2015 at 10:21:38PM -0600, Josh Poimboeuf wrote: > Ingo suggested that I factor out the perf subcommand functionality > (originally copied from git) into tools/lib so that it can be used by > stacktool[*] and possibly others. > > All the subcommand option handling files have been

Re: [PATCH 4/9] dmaengine: pl330: add new items for pl330 private data

2015-12-09 Thread Vinod Koul
On Fri, Dec 04, 2015 at 11:24:21AM +0800, Wang Hongcheng wrote: > has_no_cap_mask means this device has no preset cap mask. > mcbuf_sz means bytes to allocate for MC buffer. MC ? > flags is for irq sharing, default is non-shared, in AMD > Carrizo, pl330 shares IRQ with its corresponding UART

Re: [PATCH v2 1/3] mm, printk: introduce new format string for flags

2015-12-09 Thread Steven Rostedt
On Thu, Dec 10, 2015 at 11:59:44AM +0900, Joonsoo Kim wrote: > Ccing, Steven to ask trace-cmd problem. Thanks, I should have been Cc'd for the rest as well. > > On Fri, Dec 04, 2015 at 04:16:33PM +0100, Vlastimil Babka wrote: > > In mm we use several kinds of flags bitfields that are sometimes

Re: [PATCH] net: emac: emac gigabit ethernet controller driver

2015-12-09 Thread Timur Tabi
Gilad Avidov wrote: pointer math on void* ? what is the size of void ? I'm talking about adding and subtracting pointer values, so u32 pkt_len =((void *)ip_hdr(skb) - skb->data) -- Sent by an employee of the Qualcomm Innovation Center, Inc. The Qualcomm Innovation Center, Inc. is a member of

Re: [PATCH 1/2] mm, printk: introduce new format string for flags

2015-12-09 Thread Steven Rostedt
On Fri, Dec 04, 2015 at 03:15:45PM +0100, Vlastimil Babka wrote: > On 12/03/2015 07:38 PM, yalin wang wrote: > >that’s all, see cpumask_pr_args(masks) macro, > >it also use macro and %*pb to print cpu mask . > >i think this method is not very complex to use . > > Well, one also has to write the

[PATCH v4 3/5] misc: eeprom_93xx46: Implement eeprom_93xx46 DT bindings.

2015-12-09 Thread Cory Tusar
This commit implements bindings in the eeprom_93xx46 driver allowing device word size and read-only attributes to be specified via devicetree. Signed-off-by: Cory Tusar Tested-by: Chris Healy --- drivers/misc/eeprom/eeprom_93xx46.c | 49 + 1 file changed, 49

[PATCH v4 2/5] Documentation: devicetree: Add DT bindings to eeprom_93xx46 driver.

2015-12-09 Thread Cory Tusar
This commit documents bindings to be added to the eeprom_93xx46 driver which will allow: - Device word size and read-only attributes to be specified. - A device-specific compatible string for use with Atmel AT93C46D EEPROMs. - Specifying a GPIO line to function as a 'select' or 'enable'

[PATCH v4 4/5] misc: eeprom_93xx46: Add quirks to support Atmel AT93C46D device.

2015-12-09 Thread Cory Tusar
Atmel devices in this family have some quirks not found in other similar chips - they do not support a sequential read of the entire EEPROM contents, and the control word sent at the start of each operation varies in bit length. This commit adds quirk support to the driver and modifies the read

Re: [PATCH net-next v4 12/19] net: fcoe: use __ethtool_get_ksettings

2015-12-09 Thread David Decotigny
apologies, forgot to make allyesconfig/allmodconfig this time. Fixed in my local copy. Will be part of v5 after other feedback on this v4. On Wed, Dec 9, 2015 at 11:18 AM, kbuild test robot wrote: > Hi David, > > [auto build test ERROR on net-next/master] > > url: >

  1   2   3   4   5   6   7   8   9   10   >