Re: [PATCH v2 06/27] brcm80211: move under broadcom vendor directory

2015-11-18 Thread Kalle Valo
Florian Fainelli writes: > On 18/11/15 11:19, Hauke Mehrtens wrote: >> On 11/18/2015 03:45 PM, Kalle Valo wrote: >>> Part of reorganising wireless drivers directory and Kconfig. Note that I >>> had to >>> edit Makefiles from subdirectories to use the new location. >>> >>> Signed-off-by: Kalle

Re: [PATCH v3 0/7] User namespace mount updates

2015-11-18 Thread Richard Weinberger
Am 19.11.2015 um 08:47 schrieb James Morris: > On Wed, 18 Nov 2015, Richard Weinberger wrote: > >> On Wed, Nov 18, 2015 at 4:13 PM, Al Viro wrote: >>> On Wed, Nov 18, 2015 at 09:05:12AM -0600, Seth Forshee wrote: >>> Yes, the host admin. I'm not talking about trusting the admin inside the

[PATCH] HAVE_DMA_ATTRS: remove leftovers in Kconfig

2015-11-18 Thread Valentin Rothberg
The Kconfig option HAVE_DMA_ATTRS has been removed by commit f6f306eeb7ea ("dma-mapping: always provide the dma_map_ops based implementation"). Remove leftover references on this option. Signed-off-by: Valentin Rothberg --- arch/s390/Kconfig | 1 - drivers/gpu/drm/vc4/Kconfig | 2 +-

Re: [PATCH] comedi: dmm32at: Fix coding style - use BIT macro

2015-11-18 Thread Dan Carpenter
On Wed, Nov 18, 2015 at 04:26:52PM +, Ian Abbott wrote: > >+#define DMM32AT_AI_CFG_SCINT_10US (BIT(5) & ~BIT(4)) > >+#define DMM32AT_AI_CFG_SCINT_5US(BIT(5) | BIT(4)) > > The values of DMM32AT_AI_CFG_SCINT_20US etc. are numerically > correct, but look a bit strange. The `(BIT(5) &

Re: Hibernate resume bug around 3,18-rc2 - Full PAT support

2015-11-18 Thread vasvir
Hi, Thanks for the quick answer > > Could you please try the most recent 4.3 kernel? There has been some > work related to this topic after 4.2 (large page pat handling done by > Toshi Kani and mtrr/pat handling by Luis Rodriguez). That means I will reset the bisection. Right? Is there any

Re: [PATCH v2 06/27] brcm80211: move under broadcom vendor directory

2015-11-18 Thread Kalle Valo
Hauke Mehrtens writes: > On 11/18/2015 03:45 PM, Kalle Valo wrote: >> Part of reorganising wireless drivers directory and Kconfig. Note that I had >> to >> edit Makefiles from subdirectories to use the new location. >> >> Signed-off-by: Kalle Valo >> --- > > I would prefer to remove the

Re: [PATCH 00/71] More fixes, cleanup and modernization for NCR5380 drivers

2015-11-18 Thread Ondrej Zary
On Thursday 19 November 2015, Finn Thain wrote: > On Wed, 18 Nov 2015, Ondrej Zary wrote: > > On Wednesday 18 November 2015, Finn Thain wrote: > > > Like my previous work on the NCR5380 drivers, this patch series has > > > bug fixes, code cleanup and modernization. These drivers suffer from > > >

Re: [PATCH v3 0/7] User namespace mount updates

2015-11-18 Thread James Morris
On Wed, 18 Nov 2015, Richard Weinberger wrote: > On Wed, Nov 18, 2015 at 4:13 PM, Al Viro wrote: > > On Wed, Nov 18, 2015 at 09:05:12AM -0600, Seth Forshee wrote: > > > >> Yes, the host admin. I'm not talking about trusting the admin inside the > >> container at all. > > > > Then why not have

[PATCH] tools build: Clean CFLAGS and LDFLAGS for fixdep

2015-11-18 Thread Wang Nan
Sometimes variables passed to tools/build is dangerous. For example, on my platform there is a gcc problem (gcc 4.8.1): It passes stackprotector-all feature check: $ gcc -fstack-protector-all./test.c $ echo $? 0 But requires LDFLAGS support if separete compiling and linking: $ gcc

Re: [PATCH 06/71] ncr5380: Remove NCR5380_instance_name macro

2015-11-18 Thread Hannes Reinecke
On 11/18/2015 09:35 AM, Finn Thain wrote: This macro makes the code cryptic. Remove it. Signed-off-by: Finn Thain --- drivers/scsi/NCR5380.c |2 +- drivers/scsi/g_NCR5380.c |7 --- drivers/scsi/g_NCR5380.h |2 -- 3 files changed, 5 insertions(+), 6 deletions(-)

Re: [PATCH 05/71] ncr5380: Remove NCR5380_local_declare and NCR5380_setup macros

2015-11-18 Thread Hannes Reinecke
On 11/18/2015 09:35 AM, Finn Thain wrote: The NCR5380_local_declare and NCR5380_setup macros exist to define and initialize a particular local variable, to provide the address of the chip registers needed for the driver's implementation of its NCR5380_read/write register access macros. In

Re: [RESEND RFC/PATCH 0/8] Add MT8173 Video Encoder Driver and VPU Driver

2015-11-18 Thread Hans Verkuil
On 11/17/2015 01:54 PM, Tiffany Lin wrote: > == > Introduction > == > > The purpose of this RFC is to discuss the driver for a hw video codec > embedded in the Mediatek's MT8173 SoCs. Mediatek Video Codec is able to > handle video encoding of in a range of formats. > >

Re: [PATCH 03/71] ncr5380: Eliminate PDEBUG*, TDEBUG* and DTCDEBUG* macros

2015-11-18 Thread Hannes Reinecke
On 11/18/2015 09:34 AM, Finn Thain wrote: Replace {P,T,DTC}DEBUG_INIT with NDEBUG_INIT. Remove dead debugging code, including code that's conditional upon *DEBUG_TRANSFER. Signed-off-by: Finn Thain --- drivers/scsi/dtc.c | 18 ++ drivers/scsi/dtc.h | 27

Re: [PATCH 04/71] ncr5380: Remove more pointless macros

2015-11-18 Thread Hannes Reinecke
On 11/18/2015 09:34 AM, Finn Thain wrote: ASM macro is never defined. rtrc in pas16.c is not used. NCR5380_map_config, do_NCR5380_intr, do_t128_intr and do_pas16_intr are unused. NCR_NOT_SET harms readability. Remove them. Signed-off-by: Finn Thain --- drivers/scsi/NCR5380.h |3 ---

Re: [PATCH 02/71] ncr5380: Remove redundant static variable initializers

2015-11-18 Thread Hannes Reinecke
On 11/18/2015 09:34 AM, Finn Thain wrote: Signed-off-by: Finn Thain --- drivers/scsi/NCR5380.c |2 +- drivers/scsi/dtc.c |4 ++-- drivers/scsi/g_NCR5380.c |4 ++-- drivers/scsi/pas16.c | 10 +- drivers/scsi/sun3_scsi.c |8

Re: [PATCH 01/71] atari_scsi: Fix SCSI host ID setting

2015-11-18 Thread Hannes Reinecke
On 11/18/2015 09:34 AM, Finn Thain wrote: The NVRAM location of this byte is 16, as documented in http://toshyp.atari.org/en/004009.html This was confirmed by Michael Schmitz, by setting the SCSI host ID under EmuTOS and then checking the value in /proc/driver/nvram and /dev/nvram under Linux.

[PATCH v2] lpfc: replaced kmalloc + memset with kzalloc

2015-11-18 Thread Saurabh Sengar
replacing kmalloc and memset by a single call of kzalloc Signed-off-by: Saurabh Sengar --- v2 : I didn't got any response for my initial patch, I am sending it again on top of latest kernel(today's) drivers/scsi/lpfc/lpfc_els.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff

Re: dma-mappig: HAVE_DMA_ATTR leftovers

2015-11-18 Thread Christoph Hellwig
Thanks Valention, please send the fixup to Andrew. Looks like both instances were actually introduces after I prepared my patches. -- 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

dma-mappig: HAVE_DMA_ATTR leftovers

2015-11-18 Thread Valentin Rothberg
Hi Christoph, your commit f6f306eeb7ea ("dma-mapping: always provide the dma_map_ops based implementation") has shown up in today's linux-next tree (i.e., next-20151119). The commit removes the Kconfig option HAVE_DMA_ATTR and does some related clean-ups, but it leaves two references in Kconfig

Re: [PATCH 4/5] PCI: iproc: Add iProc PCIe MSI support

2015-11-18 Thread Ray Jui
Hi Marc, On 11/18/2015 5:37 PM, Ray Jui wrote: Hi Marc, On 11/18/2015 12:48 AM, Marc Zyngier wrote: On Tue, 17 Nov 2015 16:31:54 -0800 Ray Jui wrote: Hi Ray, A few comments below. This patch adds PCIe MSI support for both PAXB and PAXC interfaces on all iProc based platforms. The patch

Re: [Intel-gfx] [Announcement] 2015-Q3 release of XenGT - a Mediated Graphics Passthrough Solution from Intel

2015-11-18 Thread Jike Song
Hi Alex, On 11/19/2015 12:06 PM, Tian, Kevin wrote: From: Alex Williamson [mailto:alex.william...@redhat.com] Sent: Thursday, November 19, 2015 2:12 AM [cc +qemu-devel, +paolo, +gerd] On Tue, 2015-10-27 at 17:25 +0800, Jike Song wrote: {snip} Hi! At redhat we've been thinking about how to

Re: [PATCH] tty/vt/keyboard: use memdup_user to simplify code

2015-11-18 Thread Saurabh Sengar
On 28 October 2015 at 11:56, Saurabh Sengar wrote: > use memdup_user rather than duplicating implementation. > found by coccinelle > > Signed-off-by: Saurabh Sengar > --- > drivers/tty/vt/keyboard.c | 14 +- > 1 file changed, 5 insertions(+), 9 deletions(-) > > diff --git

[PATCH] drivers: power: set IRQF_ONESHOT if no primary handler is specified

2015-11-18 Thread Saurabh Sengar
If no primary handler is specified for threaded_irq then a default one is assigned which always returns IRQ_WAKE_THREAD. This handler requires the IRQF_ONESHOT, because the source of interrupt is not disabled. Signed-off-by: Saurabh Sengar --- drivers/power/max8903_charger.c | 24

Re: [PATCH v3 03/12] drm/rockchip: return a true clock rate to adjusted_mode

2015-11-18 Thread Mark yao
On 2015年11月19日 11:35, Chris Zhong wrote: + + /* +* Sometimes the clock driver can not set a accurate clock_rate for vop, +* get the true rate of vop_dclk and set it back to adjusted_mode. +*/ + adjusted_mode->clock = clk_get_rate(vop->dclk) / 1000; out:

Re: kernel oops on mmotm-2015-10-15-15-20

2015-11-18 Thread Kirill A. Shutemov
On Thu, Nov 19, 2015 at 11:12:21AM +0900, Minchan Kim wrote: > On Tue, Nov 17, 2015 at 11:32:13AM +0200, Kirill A. Shutemov wrote: > > On Tue, Nov 17, 2015 at 04:35:39PM +0900, Minchan Kim wrote: > > > On Mon, Nov 16, 2015 at 12:54:53PM +0200, Kirill A. Shutemov wrote: > > > > On Mon, Nov 16, 2015

Re: [RFD] Functional dependencies between devices

2015-11-18 Thread Andrzej Hajda
On 11/17/2015 02:55 PM, Mark Brown wrote: > On Tue, Nov 17, 2015 at 01:49:17PM +0100, Andrzej Hajda wrote: > > Please fix your mail client to word wrap within paragraphs at something > substantially less than 80 columns. Doing this makes your messages much > easier to read and reply to. > >> On

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

2015-11-18 Thread Minchan Kim
On Wed, Nov 18, 2015 at 04:34:30PM +0100, Vlastimil Babka wrote: > On 11/09/2015 08:23 AM, Joonsoo Kim wrote: > > CMA allocation should be guaranteed to succeed by definition, but, > > unfortunately, it would be failed sometimes. It is hard to track down > > the problem, because it is related to

[PATCH v2 2/3] lib: Introduce 2 bit ops api: all_is_bit_{one,zero}

2015-11-18 Thread Jia He
This patch introduces 2 lightweight bit api. all_bit_is_zero return 1 if the bit string is all zero. The addr is the start address, the size is the bit size of the bit string. all_bit_is_one is the opposite. Signed-off-by: Jia He --- lib/find_bit.c | 50

[PATCH v2 1/3] linux/bitmap: Move 2 mask macro from bitmap.h to bitops.h

2015-11-18 Thread Jia He
This patch moves the mask macro to bitops.h and then the new introduced api in find_bit.c can use it. Signed-off-by: Jia He --- include/linux/bitmap.h | 3 --- include/linux/bitops.h | 4 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/include/linux/bitmap.h

[PATCH v3 3/3] linux/bitmap: Replace find_fisrt_{zero_}bit with the new lightweight api

2015-11-18 Thread Jia He
This is to replace find_fisrt_{zero_}bit with the new lightweight api all_bit_is_{one,zero} in bitmap_{full,empty} Signed-off-by: Jia He --- include/linux/bitmap.h | 4 ++-- include/linux/bitops.h | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/include/linux/bitmap.h

[PATCH v2 0/3] Improve bitmap_empty and bitmap_full

2015-11-18 Thread Jia He
find_fisrt_{zero_}bit are too heavy for bitmap_{full,empty}. We don't need to calculate and compare the position of bitmap. This set of patch instroduces lightweight api and replaces the heavy one. v2: Move the declarations to linux/bitops.h for compilation Jia He (3): Move 2 mask macro from

Re: [PATCH] usb: gadget: Add the console support for usb-to-serial port

2015-11-18 Thread Baolin Wang
> >> +{ >> + struct gscons_info *info = gserial_cons.data; >> + int port_num = gserial_cons.index; >> + struct usb_request *req; >> + struct gs_port *port; >> + struct usb_ep *ep; >> + >> + if (port_num >= MAX_U_SERIAL_PORTS || port_num < 0) { >> + pr_err("%s:

Re: [PATCH] hid: usbhid: hid-core: fix recursive deadlock

2015-11-18 Thread Ioan-Adrian Ratiu
On Wed, 18 Nov 2015 17:58:56 -0600 Josh Cartwright wrote: > On Wed, Nov 18, 2015 at 11:05:44PM +0200, Ioan-Adrian Ratiu wrote: > > On Wed, 18 Nov 2015 21:37:42 +0100 (CET) > > Jiri Kosina wrote: > > > > > On Wed, 18 Nov 2015, Ioan-Adrian Ratiu wrote: > > > > > > > The critical section

Re: [BUG REPORT] perf tools: x86_64: Broken calllchain when sampling taken at 'callq' instruction

2015-11-18 Thread Wangnan (F)
On 2015/11/19 14:37, Ingo Molnar wrote: * Wangnan (F) wrote: perf cmdline is # ./pref record -g -F 9 --call-graph dwarf ./test_dwarf_unwind Use default events, precise_ip == 2 so uses PEBS. Testetd 'cycles', 'cycles:p' and 'cycles:pp'. Only 'cycles:pp' captures sample at callq. So

Re: [PATCH] ARM: dts: vfxxx: Include support for dspi[23] functionality.

2015-11-18 Thread Stefan Agner
Verified too, looks good to me. Acked-by: Stefan Agner -- Stefan On 2015-11-18 19:54, Cory Tusar wrote: > Extend the existing Vybrid DSPI devicetree implementation to also > describe the dspi2 and dspi3 functional blocks. > > Signed-off-by: Cory Tusar > --- > arch/arm/boot/dts/vfxxx.dtsi |

Re: [BUG REPORT] perf tools: x86_64: Broken calllchain when sampling taken at 'callq' instruction

2015-11-18 Thread Ingo Molnar
* Wangnan (F) wrote: > >perf cmdline is > > > ># ./pref record -g -F 9 --call-graph dwarf ./test_dwarf_unwind > > > >Use default events, precise_ip == 2 so uses PEBS. > > > > Testetd 'cycles', 'cycles:p' and 'cycles:pp'. Only 'cycles:pp' captures > sample at callq. So maybe a PEBS problem?

Re: [PATCH] ARM: dts: vfxxx: Fix dspi[01] spi-num-chipselects.

2015-11-18 Thread Stefan Agner
On 2015-11-18 19:54, Cory Tusar wrote: > Per the Vybrid Reference Manual (section 3.8.6.1), dspi0 has 6 chip > select signals associated with it, while dspi1 has only 4. That is right, verified by in my RM! Acked-by: Stefan Agner > > Signed-off-by: Cory Tusar > --- >

Re: [PATCH] include: asm-generic: page.h: Remove useless get_user_page and free_user_page

2015-11-18 Thread Vineet Gupta
On Thursday 19 November 2015 01:10 AM, Chen Gang wrote: > From ba7c00c4cb976109b6a35812ce9649aaeda81e2d Mon Sep 17 00:00:00 2001 > From: Chen Gang > Date: Thu, 19 Nov 2015 03:24:42 +0800 > Subject: [PATCH] include: asm-generic: page.h: Remove useless get_user_page > and free_user_page > > They

Re: [PATCH 1/4] mtd: brcmnand: improve memory management

2015-11-18 Thread Julia Lawall
On Wed, 18 Nov 2015, Brian Norris wrote: > On Wed, Nov 18, 2015 at 11:04:11PM +0100, Julia Lawall wrote: > > This patch addresses several related memory management issues in the probe > > function: > > > > 1. for_each_available_child_of_node performs an of_node_get on each > > iteration, so a

[PATCH perf/core v2] perf: Make perf_exec_path always returns malloc'd string

2015-11-18 Thread Masami Hiramatsu
Since system_path() returns malloc'd string if given path is not an absolute path, perf_exec_path sometimes returns static string and sometimes returns malloc'd string depends on the environment variables or command options. This causes a memory leak because caller can not free the returned

[PATCH v3] ACPI / x86: introduce acpi_os_readable() support

2015-11-18 Thread Lv Zheng
From: Chen Yu This patch implements acpi_os_readable(). The function is used by ACPICA AML debugger to validate user specified pointers for dumping the memory as ACPICA descriptor objects. Signed-off-by: Chen Yu Tested-by: Lv Zheng Signed-off-by: Lv Zheng --- arch/x86/Kconfig

[PATCH v3 5/6] tools/power/acpi: Add userspace AML interface support

2015-11-18 Thread Lv Zheng
This patch adds a userspace tool to access Linux kernel AML debugger interface. Tow modes are supported by this tool: 1. Interactive: Users are able to launch a debugging shell to talk with in-kernel AML debugger. Note that it's user duty to ensure kernel runtime integrity by using this

[PATCH v3 6/6] ACPI / debugger: Add module support for ACPI debugger

2015-11-18 Thread Lv Zheng
This patch converts AML debugger into a loadable module. Note that, it implements driver unloading at the level dependent on the module reference count. Which means if ACPI debugger is being used by a userspace program, "rmmod acpi_dbg" should result in failure. Signed-off-by: Lv Zheng ---

[PATCH v3 3/6] ACPICA: Debugger: Fix runtime stub issues of ACPI_DEBUGGER_EXEC using different stub mechanism

2015-11-18 Thread Lv Zheng
The ACPI_DEBUGGER_EXEC is a problem now when the debugger code is compiled but runtime disabled. They actually will get executed in this situation. Although such executions are harmless if we can correctly make acpi_db_single_step() a runtime stub, users may still do not want to see the debugger

[PATCH v3 2/6] ACPICA: Debugger: Convert some mechanisms to OSPM specific

2015-11-18 Thread Lv Zheng
The following mechanisms are OSPM specific: 1. Redirect output destination to console: no file redirection will be needed by an in-kernel debugger, there is even no file can be accessed when the debugger is running in the kernel mode. 2. Output command prompts: programs other than acpiexec

[PATCH v3 4/6] ACPI / debugger: Add IO interface to access debugger functionalities

2015-11-18 Thread Lv Zheng
This patch adds /sys/kernel/debug/acpi/acpidbg, which can be used by userspace programs to access ACPICA debugger functionalities. Known issue: 1. IO flush support acpi_os_notify_command_complete() and acpi_os_wait_command_ready() can be used by acpi_dbg module to implement .flush()

[PATCH v3 0/6] ACPICA / debugger: Add in-kernel AML debugger support

2015-11-18 Thread Lv Zheng
This patchset enables ACPICA debugger for Linux kernel and implements a userspace utility to access it. A. Build the AML debugger In order to build the kernel support of AML debugger, the following kconfig items should be enabled: CONFIG_ACPI_DEBUG=y CONFIG_ACPI_DEBUGGER=y CONFIG_DEBUG_FS=y

[PATCH v3 1/6] ACPICA: Debugger: Remove unnecessary status check

2015-11-18 Thread Lv Zheng
From: Colin Ian King ACPICA commit f9d5c6c9a25e9f5ac05458bfcd8b381e21bb2ba5 ACPICA BZ 1205. Colin Ian King. Link: https://bugs.acpica.org/show_bug.cgi?id=1205 Link: https://github.com/acpica/acpica/commit/f9d5c6c9 Signed-off-by: Colin Ian King Signed-off-by: Bob Moore Signed-off-by: Lv Zheng

Re: [PATCH v2 5/5] misc: eeprom_93xx46: Add support for a GPIO 'select' line.

2015-11-18 Thread Vladimir Zapolskiy
On 19.11.2015 05:29, Cory Tusar wrote: > This commit adds support to the eeprom_93x46 driver allowing a GPIO line > to function as a 'select' or 'enable' signal prior to accessing the > EEPROM. > > Signed-off-by: Cory Tusar > --- > drivers/misc/eeprom/eeprom_93xx46.c | 26

Re: [PATCH] pinctrl: qcom: pmic-gpio/mpp: of_irq_count() == npins

2015-11-18 Thread Andy Gross
On Wed, Nov 18, 2015 at 11:33:17AM -0800, Stephen Boyd wrote: > The number of interrupts is always equal to the number of pins > provided by the PMIC gpio and MPP hardware blocks. Count the > number of irqs to figure out the number of pins instead of adding > more compatible strings or doing math

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

2015-11-18 Thread Vladimir Zapolskiy
On 19.11.2015 05:29, Cory Tusar wrote: > 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

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

2015-11-18 Thread Vladimir Zapolskiy
Hi Cory, On 19.11.2015 05:29, Cory Tusar wrote: > 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 > --- > drivers/misc/eeprom/eeprom_93xx46.c | 62 >

Re: Linux 4.3 kallsyms_lookup_name not returning per_cpu symbol values

2015-11-18 Thread Jeffrey Merkey
Take that back, I just reproduced it again. Seems to affect random symbols not just per cpu. I'll research some more. On 11/18/15, Jeffrey Merkey wrote: > I tracked this down and it turns out to be a page mapping problem with > one of the sound drivers on the system trashing memory. It's a

Re: Hibernate resume bug around 3,18-rc2 - Full PAT support

2015-11-18 Thread Juergen Gross
On 18/11/15 22:43, Vassilis Virvilis wrote: > Hi, > > I have been hit by a hibernate/resume bug. Other people may have too: > The following links are consistent with my observations > > https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1490494 > https://bugs.archlinux.org/task/44807 > > Some

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

2015-11-18 Thread Bharat Kumar Gogada
Adding PCIe Root Port driver for Xilinx PCIe NWL bridge IP. Signed-off-by: Bharat Kumar Gogada Signed-off-by: Ravi Kiran Gummaluri Acked-by: Rob Herring --- Changes for v9: - Modified logic in nwl_irq_domain_alloc to check availabilty of contiguous hw irq for multi MSI. - Removed allocation of

Re: Linux 4.3 kallsyms_lookup_name not returning per_cpu symbol values

2015-11-18 Thread Jeffrey Merkey
I tracked this down and it turns out to be a page mapping problem with one of the sound drivers on the system trashing memory. It's a bug, but a bug in a vendor supplied driver. Jeff On 11/18/15, Jeffrey Merkey wrote: > kallsyms_lookup_name is not returning per_cpu symbols when called. > The

Re: [PATCH v3 06/12] drm/bridge: Add Synopsys DesignWare MIPI DSI host controller driver

2015-11-18 Thread kbuild test robot
Hi Chris, [auto build test WARNING on drm/drm-next] [also build test WARNING on v4.4-rc1 next-20151118] [cannot apply to rockchip/for-next] url: https://github.com/0day-ci/linux/commits/Chris-Zhong/Add-mipi-dsi-support-for-rk3288/20151119-114228 base: git://people.freedesktop.org/~airlied

Re: [PATCH 1/2] usb: doc: dwc3-xilinx: Add devicetree bindings

2015-11-18 Thread Felipe Balbi
Hi, Rob Herring writes: > On Wed, Nov 18, 2015 at 5:02 PM, Felipe Balbi wrote: >> >> Hi, >> >> Rob Herring writes: >>> On Wed, Nov 18, 2015 at 06:20:31PM +0530, Subbaraya Sundeep Bhatta wrote: This patch adds binding doc for Xilinx DWC3 glue driver. Signed-off-by: Subbaraya

Re: [PATCH 2/5] arm64: cpufeature: Track unsigned fields

2015-11-18 Thread AKASHI Takahiro
Hi From my curiosity, can you please clarify your criteria regarding which fields of a register should be signed or unsigned? I guessed that the fields marked with FTR_LOWER_SAFE or FTR_HIGHER_SAFE could be unsigned, but it seems to be not always true looking at your patch. Anyhow, for

Re: [PATCH v4 3/3] ARM: dts: rockchip: Add the OTP gpio pinctrl

2015-11-18 Thread Heiko Stuebner
Hi Caesar, Am Donnerstag, 19. November 2015, 10:44:02 schrieb Caesar Wang: > 在 2015年10月25日 15:55, Heiko Stübner 写道: > > Am Freitag, 23. Oktober 2015, 08:25:08 schrieb Doug Anderson: > >> On Fri, Oct 23, 2015 at 4:25 AM, Caesar Wang wrote: > >>> Add the "init" anf "sleep" pinctrl as the OTP gpio

Re: [PATCH] drm/tegra: fix locking of SET_TILING ioctl

2015-11-18 Thread Alexandre Courbot
On Tue, Nov 17, 2015 at 7:02 PM, Daniel Vetter wrote: > On Thu, Nov 12, 2015 at 04:09:56PM +0900, Alexandre Courbot wrote: >> drm_gem_object_unreference() now expects obj->dev->struct_mutex to be >> held. Use the newly-introduced drm_gem_object_unreference_unlocked() >> which handles locking for

Re: [PATCH 1/2] clk: samsung: Don't build ARMv8 clock drivers on ARMv7

2015-11-18 Thread Krzysztof Kozlowski
On 19.11.2015 13:18, Tomasz Figa wrote: > Hi Krzysztof, > > Good idea, just a couple of nits inline. Other than that: > > Acked-by: Tomasz Figa > > 2015-11-16 10:36 GMT+09:00 Krzysztof Kozlowski : >> Currently the Exynos5433 (ARMv8 SoC) clock driver depends on ARCH_EXYNOS >> so it is built

[PATCH v2] drm/tegra: fix locking of SET_TILING ioctl

2015-11-18 Thread Alexandre Courbot
Commit ef4c6270bf28 made the check of whether struct_mutex is held more verbose, and this triggers a warning when calling drm_gem_object_unreference() from tegra_gem_set_tiling() which does not acquire that lock. Use drm_gem_object_unreference_unlocked() instead to ensure locking is handled

Re: [PATCH v13 4/6] fpga: add fpga bridge framework

2015-11-18 Thread Moritz Fischer
Hi Alan, while trying to implement something that works for Zynq along these lines I stumbled upon some minor stuff. On Tue, Nov 3, 2015 at 9:11 AM, wrote: > + * Return: 0 on success, negative error code otherwise. > + */ > +int fpga_bridge_register(struct device *dev, const char *name, > +

Re: [PATCH] cpufreq, intel_pstate.c, Fix rounding errors

2015-11-18 Thread Viresh Kumar
On 18-11-15, 10:55, Prarit Bhargava wrote: > diff --git a/drivers/cpufreq/intel_pstate.c b/drivers/cpufreq/intel_pstate.c > index 2e31d09..686f024 100644 > --- a/drivers/cpufreq/intel_pstate.c > +++ b/drivers/cpufreq/intel_pstate.c > @@ -1233,6 +1233,8 @@ static int intel_pstate_set_policy(struct

linux-next: stats for v4.4-rc1

2015-11-18 Thread Stephen Rothwell
Hi all, As usual, the executive friendly graph is at http://neuling.org/linux-next-size.html :-) (No merge commits counted, next-20151103 was the first linux-next after the merge window opened.) Commits in v4.4-rc1 (relative to v4.3):11528 Commits in next-20151103:

Re: [PATCH 10/71] atari_NCR5380: Remove RESET_BOOT, CONFIG_ATARI_SCSI_TOSHIBA_DELAY and CONFIG_ATARI_SCSI_RESET_BOOT

2015-11-18 Thread Michael Schmitz
Hi Finn, Am 19.11.2015 um 17:05 schrieb Finn Thain: > w > On Thu, 19 Nov 2015, Michael Schmitz wrote: > >> Hi Finn, >> >> Am 18.11.2015 um 21:35 schrieb Finn Thain: >> >>> The bus reset may raise an interrupt. That would be new behaviour for >>> atari_scsi only when

Re: [PATCH 2/2] arm64: EXYNOS: Consolidate ARCH_EXYNOS7 symbol into ARCH_EXYNOS

2015-11-18 Thread Krzysztof Kozlowski
On 19.11.2015 13:23, Tomasz Figa wrote: > Hi Krzysztof, > > 2015-11-16 10:36 GMT+09:00 Krzysztof Kozlowski : >> The ARMv8 Exynos family SoCs in Linux kernel are currently: >> - Exynos5433 (controlled by ARCH_EXYNOS), >> - Exynos7 (controlled by ARCH_EXYNOS7). >> >> It duplicates Kconfig symbols

Re: [PATCH v3 2/5] dt-bindings: soc: add document for rockchip reboot notifier driver

2015-11-18 Thread Heiko Stuebner
Hi Andy, Am Donnerstag, 19. November 2015, 09:17:37 schrieb Andy Yan: > Hi Rob: > > On 2015年11月19日 06:59, Rob Herring wrote: > > On Wed, Nov 18, 2015 at 05:53:30PM +0800, Andy Yan wrote: > >> Add devicetree binding document for rockchip reboot nofifier driver > > Just reading the subject this is

Re: [PATCH v3 0/5] Make cpuid <-> nodeid mapping persistent.

2015-11-18 Thread Tang Chen
Hi, Sorry for the terrible delay for this patch-set. But unfortunately, they are still not fully tested for the memory-less node case. Please help to review first. Will soon do the tests. Thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a

Re: [PATCH v3 06/12] drm/bridge: Add Synopsys DesignWare MIPI DSI host controller driver

2015-11-18 Thread kbuild test robot
Hi Chris, [auto build test WARNING on: drm/drm-next] [also build test WARNING on: v4.4-rc1 next-20151118] [cannot apply to: rockchip/for-next] url: https://github.com/0day-ci/linux/commits/Chris-Zhong/Add-mipi-dsi-support-for-rk3288/20151119-114228 base: git://people.freedesktop.org

[PATCH v3 1/5] x86, memhp, numa: Online memory-less nodes at boot time.

2015-11-18 Thread Tang Chen
For now, x86 does not support memory-less node. A node without memory will not be onlined, and the cpus on it will be mapped to the other online nodes with memory in init_cpu_to_node(). The reason of doing this is to ensure each cpu has mapped to a node with memory, so that it will be able to

RE: [PATCH 2/2] can: m_can: Add CAN clock generated by UPLLCK support

2015-11-18 Thread Yang, Wenyou
Hi Marc, > -Original Message- > From: Marc Kleine-Budde [mailto:m...@pengutronix.de] > Sent: 2015年11月18日 18:23 > To: Yang, Wenyou; Wolfgang Grandegger > Cc: linux-...@vger.kernel.org; net...@vger.kernel.org; linux- > ker...@vger.kernel.org; Ferre, Nicolas > Subject: Re: [PATCH 2/2] can:

Re: [PATCH v3 06/12] drm/bridge: Add Synopsys DesignWare MIPI DSI host controller driver

2015-11-18 Thread kbuild test robot
Hi Chris, [auto build test WARNING on drm/drm-next] [also build test WARNING on v4.4-rc1 next-20151118] [cannot apply to rockchip/for-next] url: https://github.com/0day-ci/linux/commits/Chris-Zhong/Add-mipi-dsi-support-for-rk3288/20151119-114228 base: git://people.freedesktop.org/~airlied

[PATCH v3 3/5] x86, acpi, cpu-hotplug: Introduce cpuid_to_apicid[] array to store persistent cpuid <-> apicid mapping.

2015-11-18 Thread Tang Chen
From: Gu Zheng This patch finishes step 2. In this patch, we introduce a new static array named cpuid_to_apicid[], which is large enough to store info for all possible cpus. And then, we modify the cpuid calculation. In generic_processor_info(), it simply finds the next unused cpuid. And it is

[PATCH v3 5/5] x86, acpi, cpu-hotplug: Set persistent cpuid <-> nodeid mapping when booting.

2015-11-18 Thread Tang Chen
From: Gu Zheng This patch finishes step 4. This patch set the persistent cpuid <-> nodeid mapping for all enabled/disabled processors at boot time via an additional acpi namespace walk for processors. Signed-off-by: Gu Zheng Signed-off-by: Tang Chen --- arch/ia64/kernel/acpi.c | 2 +-

RE: [PATCH 1/2] can: m_can: Increase delay to ensure written INIT accepted

2015-11-18 Thread Yang, Wenyou
Hi Marc, Thank you for prompt feedback. > -Original Message- > From: Marc Kleine-Budde [mailto:m...@pengutronix.de] > Sent: 2015年11月18日 18:26 > To: Yang, Wenyou; Wolfgang Grandegger > Cc: linux-...@vger.kernel.org; net...@vger.kernel.org; linux- > ker...@vger.kernel.org; Ferre, Nicolas >

[PATCH v3 4/5] x86, acpi, cpu-hotplug: Enable MADT APIs to return disabled apicid.

2015-11-18 Thread Tang Chen
From: Gu Zheng This patch finishes step 3. There are four mappings in the kernel: 1. nodeid (logical node id) <-> pxm 2. apicid (physical cpu id) <-> nodeid 3. cpuid (logical cpu id) <-> apicid 4. cpuid (logical cpu id) <-> nodeid 1. pxm (proximity domain) is provided by

[PATCH v3 2/5] x86, acpi, cpu-hotplug: Enable acpi to register all possible cpus at boot time.

2015-11-18 Thread Tang Chen
From: Gu Zheng [Problem] cpuid <-> nodeid mapping is firstly established at boot time. And workqueue caches the mapping in wq_numa_possible_cpumask in wq_numa_init() at boot time. When doing node online/offline, cpuid <-> nodeid mapping is established/destroyed, which means, cpuid <-> nodeid

[PATCH v3 0/5] Make cpuid <-> nodeid mapping persistent.

2015-11-18 Thread Tang Chen
[Problem] cpuid <-> nodeid mapping is firstly established at boot time. And workqueue caches the mapping in wq_numa_possible_cpumask in wq_numa_init() at boot time. When doing node online/offline, cpuid <-> nodeid mapping is established/destroyed, which means, cpuid <-> nodeid mapping will

Re: [PATCH 2/2] arm64: EXYNOS: Consolidate ARCH_EXYNOS7 symbol into ARCH_EXYNOS

2015-11-18 Thread Tomasz Figa
Hi Krzysztof, 2015-11-16 10:36 GMT+09:00 Krzysztof Kozlowski : > The ARMv8 Exynos family SoCs in Linux kernel are currently: > - Exynos5433 (controlled by ARCH_EXYNOS), > - Exynos7 (controlled by ARCH_EXYNOS7). > > It duplicates Kconfig symbols unnecessarily, so consolidate them into > one

RE: enhance ONFI table reliability/stable

2015-11-18 Thread beanhuo
> > Hi Bean, > > I was sorting through old email and I found this. > > On Tue, Jul 21, 2015 at 02:42:34PM +, Bean Huo 霍斌斌 (beanhuo) > wrote: > > Hi, > > > > Recently, I faced some case about ONFI table reliability, now it used CRC. > > If there is bit flips in ONFI parameter pages,

[PATCH] lz4: fix wrong compress buffer size for 64-bits

2015-11-18 Thread Bongkyu Kim
The current lz4 compress buffer is 16kb on 32-bits, 32kb on 64-bits system. But, lz4 needs only 16kb on both. On 64-bits, this causes wasted cpu cycles for additional memset during every compression. In case of lz4hc, the current buffer size is (256kb + 8) on 32-bits, (512kb + 16) on 64-bits.

Re: [PATCH 1/2] clk: samsung: Don't build ARMv8 clock drivers on ARMv7

2015-11-18 Thread Tomasz Figa
Hi Krzysztof, Good idea, just a couple of nits inline. Other than that: Acked-by: Tomasz Figa 2015-11-16 10:36 GMT+09:00 Krzysztof Kozlowski : > Currently the Exynos5433 (ARMv8 SoC) clock driver depends on ARCH_EXYNOS > so it is built also on ARMv7. This does not bring any kind of benefit. >

Re: [1/2] clk: samsung: Don't build ARMv8 clock drivers on ARMv7

2015-11-18 Thread Alim Akhtar
Hi Krzysztof, On 11/16/2015 07:06 AM, Krzysztof Kozlowski wrote: Currently the Exynos5433 (ARMv8 SoC) clock driver depends on ARCH_EXYNOS so it is built also on ARMv7. This does not bring any kind of benefit. There won't be a single kernel image for ARMv7 and ARMv8 SoCs (like multi_v7 for

RE: [Intel-gfx] [Announcement] 2015-Q3 release of XenGT - a Mediated Graphics Passthrough Solution from Intel

2015-11-18 Thread Tian, Kevin
> From: Alex Williamson [mailto:alex.william...@redhat.com] > Sent: Thursday, November 19, 2015 2:12 AM > > [cc +qemu-devel, +paolo, +gerd] > > On Tue, 2015-10-27 at 17:25 +0800, Jike Song wrote: > > Hi all, > > > > We are pleased to announce another update of Intel GVT-g for Xen. > > > > Intel

Re: [PATCH 10/71] atari_NCR5380: Remove RESET_BOOT, CONFIG_ATARI_SCSI_TOSHIBA_DELAY and CONFIG_ATARI_SCSI_RESET_BOOT

2015-11-18 Thread Finn Thain
w On Thu, 19 Nov 2015, Michael Schmitz wrote: > Hi Finn, > > Am 18.11.2015 um 21:35 schrieb Finn Thain: > > > The bus reset may raise an interrupt. That would be new behaviour for > > atari_scsi only when CONFIG_ATARI_SCSI_RESET_BOOT=n. The ST DMA > > interrupt is not assigned to atari_scsi

Re: [2/2] arm64: EXYNOS: Consolidate ARCH_EXYNOS7 symbol into ARCH_EXYNOS

2015-11-18 Thread Alim Akhtar
Hi Krzysztof, On 11/16/2015 07:06 AM, Krzysztof Kozlowski wrote: The ARMv8 Exynos family SoCs in Linux kernel are currently: - Exynos5433 (controlled by ARCH_EXYNOS), - Exynos7 (controlled by ARCH_EXYNOS7). It duplicates Kconfig symbols unnecessarily, so consolidate them into one

Re: [PATCH 02/10] KVM: x86: MMU: Add helper function to clear a bit in unsync child bitmap

2015-11-18 Thread Takuya Yoshikawa
On 2015/11/19 11:46, Xiao Guangrong wrote: Actually, some people prefer to put braces when one of the if/else-if/else cases has multiple lines. You can see some examples in kernel/sched/core.c: see hrtick_start(), sched_fork(), free_sched_domain(). In our case, I thought putting braces would

Re: [PATCH v7] net: ethernet: add driver for Aurora VLSI NB8800 Ethernet controller

2015-11-18 Thread David Miller
From: Mans Rullgard Date: Wed, 18 Nov 2015 17:29:24 + > +static int nb8800_poll(struct napi_struct *napi, int budget) > +{ > + struct net_device *dev = napi->dev; > + struct nb8800_priv *priv = netdev_priv(dev); > + struct nb8800_rx_desc *rxd; > + int work = 0; > + int

[RESEND PATCH] powerpc/powernv: Drop owner assignment from platform_driver

2015-11-18 Thread Krzysztof Kozlowski
platform_driver does not need to set an owner because platform_driver_register() will set it. Signed-off-by: Krzysztof Kozlowski --- The coccinelle script which generated the patch was sent here: http://www.spinics.net/lists/kernel/msg2029903.html --- arch/powerpc/platforms/powernv/opal-prd.c

[RESEND PATCH] vfio: Drop owner assignment from platform_driver

2015-11-18 Thread Krzysztof Kozlowski
platform_driver does not need to set an owner because platform_driver_register() will set it. Signed-off-by: Krzysztof Kozlowski Acked-by: Baptiste Reynal --- The coccinelle script which generated the patch was sent here: http://www.spinics.net/lists/kernel/msg2029903.html ---

[RESEND PATCH] nfc: Drop owner assignment from i2c_driver

2015-11-18 Thread Krzysztof Kozlowski
i2c_driver does not need to set an owner because i2c_register_driver() will set it. Signed-off-by: Krzysztof Kozlowski --- The coccinelle script which generated the patch was sent here: http://www.spinics.net/lists/kernel/msg2029903.html --- drivers/nfc/nxp-nci/i2c.c | 1 -

[RESEND PATCH] hid: Drop owner assignment from i2c_driver

2015-11-18 Thread Krzysztof Kozlowski
i2c_driver does not need to set an owner because i2c_register_driver() will set it. Signed-off-by: Krzysztof Kozlowski Acked-by: Benjamin Tissoires --- The coccinelle script which generated the patch was sent here: http://www.spinics.net/lists/kernel/msg2029903.html ---

[RESEND PATCH] gpio: Drop owner assignment from i2c_driver

2015-11-18 Thread Krzysztof Kozlowski
i2c_driver does not need to set an owner because i2c_register_driver() will set it. Signed-off-by: Krzysztof Kozlowski --- The coccinelle script which generated the patch was sent here: http://www.spinics.net/lists/kernel/msg2029903.html --- drivers/gpio/gpio-adnp.c | 1 -

[RESEND PATCH] char: ipmi: Drop owner assignment from i2c_driver

2015-11-18 Thread Krzysztof Kozlowski
i2c_driver does not need to set an owner because i2c_register_driver() will set it. Signed-off-by: Krzysztof Kozlowski --- The coccinelle script which generated the patch was sent here: http://www.spinics.net/lists/kernel/msg2029903.html --- drivers/char/ipmi/ipmi_ssif.c | 1 - 1 file

[PATCH] ARM: dts: vfxxx: Include support for dspi[23] functionality.

2015-11-18 Thread Cory Tusar
Extend the existing Vybrid DSPI devicetree implementation to also describe the dspi2 and dspi3 functional blocks. Signed-off-by: Cory Tusar --- arch/arm/boot/dts/vfxxx.dtsi | 24 1 file changed, 24 insertions(+) diff --git a/arch/arm/boot/dts/vfxxx.dtsi

[PATCH] ARM: dts: vfxxx: Fix dspi[01] spi-num-chipselects.

2015-11-18 Thread Cory Tusar
Per the Vybrid Reference Manual (section 3.8.6.1), dspi0 has 6 chip select signals associated with it, while dspi1 has only 4. Signed-off-by: Cory Tusar --- arch/arm/boot/dts/vfxxx.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/vfxxx.dtsi

[PATCH v2 4/7] pinctrl: Add new compatible string to GPIO controller driver

2015-11-18 Thread Pramod Kumar
This compatible string should be used for all new iproc based future SoCs having the same GPIO controller hardware. Signed-off-by: Pramod Kumar Reviewed-by: Ray Jui Reviewed-by: Scott Branden --- drivers/pinctrl/bcm/pinctrl-cygnus-gpio.c | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH v2 2/7] dts: define ngpios property in gpio controller's node

2015-11-18 Thread Pramod Kumar
Add ngpios property in cygnus ASIU, CCM and CRMU gpio controller's node Signed-off-by: Pramod Kumar Reviewed-by: Ray Jui Reviewed-by: Scott Branden --- arch/arm/boot/dts/bcm-cygnus.dtsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/boot/dts/bcm-cygnus.dtsi

  1   2   3   4   5   6   7   8   9   10   >