Re: [v3 3/5] coresight: add support for debug module

2017-03-09 Thread Suzuki K Poulose
On 03/03/17 06:00, Leo Yan wrote: Coresight includes debug module and usually the module connects with CPU debug logic. ARMv8 architecture reference manual (ARM DDI 0487A.k) has description for related info in "Part H: External Debug". Chapter H7 "The Sample-based Profiling Extension" introduces

[PATCH 02/19] gpio: altera: make use of raw_spinlock variants

2017-03-09 Thread Julia Cartwright
The altera gpio driver currently implements an irq_chip for handling interrupts; due to how irq_chip handling is done, it's necessary for the irq_chip methods to be invoked from hardirq context, even on a a real-time kernel. Because the spinlock_t type becomes a "sleeping" spinlock w/ RT kernels,

[PATCH 06/19] gpio: ath79: make use of raw_spinlock variants

2017-03-09 Thread Julia Cartwright
The ath79 gpio driver currently implements an irq_chip for handling interrupts; due to how irq_chip handling is done, it's necessary for the irq_chip methods to be invoked from hardirq context, even on a a real-time kernel. Because the spinlock_t type becomes a "sleeping" spinlock w/ RT kernels, i

[PATCH 12/19] i2c: mux: pca954x: make use of raw_spinlock variants

2017-03-09 Thread Julia Cartwright
The pca954x i2c mux driver currently implements an irq_chip for handling interrupts; due to how irq_chip handling is done, it's necessary for the irq_chip methods to be invoked from hardirq context, even on a a real-time kernel. Because the spinlock_t type becomes a "sleeping" spinlock w/ RT kerne

Re: Kernel panic on Lenovo X60 with tracing enabled

2017-03-09 Thread Steven Rostedt
On Thu, 9 Mar 2017 10:16:02 -0600 Josh Poimboeuf wrote: > On Thu, Mar 09, 2017 at 09:36:30AM -0500, Steven Rostedt wrote: > > On Thu, 9 Mar 2017 13:12:28 +0100 > > Paul Menzel wrote: > > > > > Dear Steven, dear Ingo, > > > > > > > > > Hopefully, I am contacting the right people for my issue.

[PATCH 19/19] pinctrl: sunxi: make use of raw_spinlock variants

2017-03-09 Thread Julia Cartwright
The sunxi pinctrl driver currently implement an irq_chip for handling interrupts; due to how irq_chip handling is done, it's necessary for the irq_chip methods to be invoked from hardirq context, even on a a real-time kernel. Because the spinlock_t type becomes a "sleeping" spinlock w/ RT kernels,

[PATCH 05/19] gpio: 104-dio-48e: make use of raw_spinlock variants

2017-03-09 Thread Julia Cartwright
The 104-dio-48e gpio driver currently implements an irq_chip for handling interrupts; due to how irq_chip handling is done, it's necessary for the irq_chip methods to be invoked from hardirq context, even on a a real-time kernel. Because the spinlock_t type becomes a "sleeping" spinlock w/ RT kern

[PATCH 18/19] pinctrl: sirf: atlas7: make use of raw_spinlock variants

2017-03-09 Thread Julia Cartwright
The sirf atlas7 pinctrl drivers currently implement an irq_chip for handling interrupts; due to how irq_chip handling is done, it's necessary for the irq_chip methods to be invoked from hardirq context, even on a a real-time kernel. Because the spinlock_t type becomes a "sleeping" spinlock w/ RT k

Re: [PATCH 1/3] ata: add Palmchip BK3710 PATA controller driver

2017-03-09 Thread Sergei Shtylyov
On 03/09/2017 04:01 PM, Bartlomiej Zolnierkiewicz wrote: Add Palmchip BK3710 PATA controller driver. Signed-off-by: Bartlomiej Zolnierkiewicz --- drivers/ata/Kconfig | 9 ++ drivers/ata/Makefile | 1 + drivers/ata/pata_bk3710.c | 395

Re: [RFC 2/2] hwmon: powernv: Hwmon driver for OCC inband power and temperature sensors

2017-03-09 Thread Shilpasri G Bhat
Hi Guenter, On 03/09/2017 05:40 PM, Guenter Roeck wrote: > On Thu, Mar 09, 2017 at 05:19:15PM +0530, Shilpasri G Bhat wrote: >> Add support to read power and temperature sensors from OCC inband >> sensors which are copied to main memory by OCC. >> > > Is this supposed to be an alternative to the

[PATCH 04/19] powerpc: mpc52xx_gpt: make use of raw_spinlock variants

2017-03-09 Thread Julia Cartwright
The mpc52xx_gpt code currently implements an irq_chip for handling interrupts; due to how irq_chip handling is done, it's necessary for the irq_chip methods to be invoked from hardirq context, even on a a real-time kernel. Because the spinlock_t type becomes a "sleeping" spinlock w/ RT kernels, it

Re: [PATCH] staging: media: Remove parentheses from return arguments

2017-03-09 Thread Greg KH
On Fri, Mar 03, 2017 at 10:31:39PM +0530, simran singhal wrote: > The sematic patch used for this is: > @@ > identifier i; > constant c; > @@ > return > - ( > \(i\|-i\|i(...)\|c\) > - ) > ; > > Signed-off-by: simran singhal > Acked-by: Julia Lawall > --- > .../media/atomisp/pci/atomisp2/c

Re: [PATCH 1/7] staging: media: Remove unnecessary typecast of c90 int constant

2017-03-09 Thread Greg KH
On Fri, Mar 03, 2017 at 01:21:56AM +0530, simran singhal wrote: > This patch removes unnecessary typecast of c90 int constant. > > WARNING: Unnecessary typecast of c90 int constant > > Signed-off-by: simran singhal > --- > drivers/staging/media/atomisp/i2c/gc2235.c | 6 +++--- > 1 file changed,

different xxx_bit() function prototypes in bitops for x86 vs generic

2017-03-09 Thread Joakim Tjernlund
Building virtualbox external kernel modules warns about different types, example: include/asm-generic/bitops/le.h; set_bit_le(int nr, const void *addr) vs arch/x86/include/asm/bitops.h: set_bit(long nr, volatile unsigned long *addr) This difference is causes complaints, changing set_bit_le

[PATCH 09/19] gpio: pl061: make use of raw_spinlock variants

2017-03-09 Thread Julia Cartwright
The pl061 gpio driver currently implements an irq_chip for handling interrupts; due to how irq_chip handling is done, it's necessary for the irq_chip methods to be invoked from hardirq context, even on a a real-time kernel. Because the spinlock_t type becomes a "sleeping" spinlock w/ RT kernels, i

Re: [PATCH 1/2] staging: media: Clean up tests if NULL returned on failure

2017-03-09 Thread Greg KH
On Sat, Mar 04, 2017 at 12:25:18AM +0530, simran singhal wrote: > Some functions like kmalloc/kzalloc return NULL on failure. > When NULL represents failure, !x is commonly used. > > This was done using Coccinelle: > @@ > expression *e; > identifier l1; > @@ > > e = \(kmalloc\|kzalloc\|kcalloc\|d

Re: Dell Inspiron 5558/0VNM2T hangs at resume from suspend when USB 3 is enabled

2017-03-09 Thread Diego Viola
On Thu, Mar 9, 2017 at 11:11 AM, Diego Viola wrote: > On Wed, Mar 8, 2017 at 5:40 PM, Diego Viola wrote: >> Hi Greg, >> >> On Wed, Mar 8, 2017 at 5:15 PM, Greg KH wrote: >>> On Wed, Mar 08, 2017 at 03:49:19PM -0300, Diego Viola wrote: It hangs on resume from suspend if I have USB 3.0 enable

Re: [intel-sgx-kernel-dev] SGX notes from KS/LPC

2017-03-09 Thread Andy Lutomirski
On Wed, Mar 8, 2017 at 10:03 PM, Kai Huang wrote: > === Virtualization considerations === At some point, someone will need to > decide what restrictions if any KVM should impose on its guests' use of SGX. > For example, should KVM limit the set of SGXLEPUBKEYHASH values that its > guests can use?

[PATCH 03/19] alpha: marvel: make use of raw_spinlock variants

2017-03-09 Thread Julia Cartwright
The alpha/marvel code currently implements an irq_chip for handling interrupts; due to how irq_chip handling is done, it's necessary for the irq_chip methods to be invoked from hardirq context, even on a a real-time kernel. Because the spinlock_t type becomes a "sleeping" spinlock w/ RT kernels, i

[PATCH 14/19] mfd: t7l66xb: make use of raw_spinlock variants

2017-03-09 Thread Julia Cartwright
The t7l66xb mfd driver currently implements an irq_chip for handling interrupts; due to how irq_chip handling is done, it's necessary for the irq_chip methods to be invoked from hardirq context, even on a a real-time kernel. Because the spinlock_t type becomes a "sleeping" spinlock w/ RT kernels,

Re: [PATCH] staging: rtl8192u: fix spacing around if statements

2017-03-09 Thread Greg Kroah-Hartman
On Thu, Mar 02, 2017 at 11:16:23PM +0100, Robin Krahl wrote: > Corrects the spacing around two if statements to fix these checkpatch.pl > errors: > > ERROR: space required before the open brace '{' > ERROR: space prohibited after that open parenthesis '(' > > Signed-off-by: Robin Krahl > --- >

[PATCH] security/Kconfig: further restrict HARDENED_USERCOPY

2017-03-09 Thread Tycho Andersen
It doesn't make sense to have HARDENED_USERCOPY when either /dev/kmem is enabled or /dev/mem can be used to read kernel memory. v2: add !MMU depend as well Signed-off-by: Tycho Andersen CC: Kees Cook CC: "Serge E. Hallyn" CC: James Morris --- security/Kconfig | 2 ++ 1 file changed, 2 insert

[PATCH 3/4] staging: speakup: Alignment match open parenthesis

2017-03-09 Thread Arushi Singhal
Fix checkpatch issues: "CHECK: Alignment should match open parenthesis". Signed-off-by: Arushi Singhal --- changes in v2 - Aligned the lines which are not aligned in previous patch. --- drivers/staging/speakup/i18n.c | 2 +- drivers/staging/speakup/kobjects.c | 40 +++-

Re: [Regression?] 1ea0ce4069 ("selinux: allow changing labels for cgroupfs") stops Android from booting

2017-03-09 Thread Greg KH
On Mon, Feb 27, 2017 at 04:23:28PM -0500, Stephen Smalley wrote: > On Mon, 2017-02-27 at 12:48 -0800, Nick Kralevich wrote: > > On Mon, Feb 27, 2017 at 11:53 AM, Stephen Smalley > > wrote: > > > > > > > > > > > I can reproduce it on angler (with a back-port of just that > > > > patch), > > > > a

Re: [PATCH] fs/9p: Compare qid.path in v9fs_test_inode

2017-03-09 Thread Latchesar Ionkov
Reviewed-by: Latchesar Ionkov On Tue, Feb 21, 2017 at 6:06 PM, Tuomas Tynkkynen wrote: > Commit fd2421f54423 ("fs/9p: When doing inode lookup compare qid details > and inode mode bits.") transformed v9fs_qid_iget() to use iget5_locked() > instead of iget_locked(). However, the test() callback i

[PATCH v1] usb: gadget: udc: atmel: Remove an unused local variable

2017-03-09 Thread Romain Izard
The local variable ept_cfg is not used anymore in usba_ep_enable. Use ep->ept_cfg in the debug function to remove a warning when building with dynamic debug enabled. Signed-off-by: Romain Izard Fixes: 741d2558bf0a ("usb: gadget: udc: atmel: Update endpoint allocation scheme") --- drivers/usb/ga

[PATCH v3 0/7] perf annotate: Fixes & Introduce --source-only and new source code view

2017-03-09 Thread Taeung Song
Hi, Currently perf-annotate have several problems, limitaions and needs regaring line numbers and source code view. - Wrong line numbers on perf-annotate (both stdio and TUI) - Wrong sum of overhead(percent) matching source lines - Limitaions because of a dependence of 'objdump -S' - A ne

Re: [PATCH v2 2/2] can: spi: hi311x: Add Holt HI-311x CAN driver

2017-03-09 Thread Wolfgang Grandegger
Hello, doing a quick review... I realized a few issues... Am 17.01.2017 um 20:22 schrieb Akshay Bhat: This patch adds support for the Holt HI-311x CAN controller. The HI311x CAN controller is capable of transmitting and receiving standard data frames, extended data frames and remote frames. The

[PATCH v3 1/7] perf annotate: Use build-id dir when reading link name

2017-03-09 Thread Taeung Song
In dso__disassemble_filename() when reading link name from a build-id file, it is failed each time because a build-id file gotten from dso__build_id_filename() is not symbolic link. So use build-id directory path instead of a build-id file name. For example, if build-id file name gotten from dso_

[PATCH v3 3/7] perf annotate: Fix missing setting nr samples on source_line

2017-03-09 Thread Taeung Song
If using --show-total-period with -l, disasm__calc_percent() use a 'samples' array of source_line. But samples[evidx].nr is always zero so print 0 values as below. Before: $ perf annotate --stdio -l --show-total-period ... 0 :400816: push %rbp 0 :400817:

Re: [PATCH 0/6] Enable parallel page migration

2017-03-09 Thread David Nellans
On 03/09/2017 09:09 AM, Mel Gorman wrote: > I didn't look into the patches in detail except to get a general feel > for how it works and I'm not convinced that it's a good idea at all. > > I accept that memory bandwidth utilisation may be higher as a result but > consider the impact. THP migrations

[PATCH v3 5/7] perf annotate: Get correct line numbers matched with addr

2017-03-09 Thread Taeung Song
Currently perf-annotate show wrong line numbers. For example, Actual source code is as below ... 21 }; 22 23 unsigned int limited_wgt; 24 25 unsigned int get_cond_maxprice(int wgt) 26 { ... However, the output of perf-annotate is as below. 4 Disassembly of section .text: 6

[PATCH v3 4/7] perf annotate: More exactly grep -v in symbol__disassemble()

2017-03-09 Thread Taeung Song
To remove the first line containing file name and file format as below, $ objdump -l -d -S -C /home/taeung/a.out | head -2 /home/taeung/a.out: file format elf64-x86-64 currently perf-annotate use objdump with grep -v "file name". But it cause a side effect eliminating filename:linenr

[PATCH v3 2/7] perf annotate: Avoid division by zero when calculating percent

2017-03-09 Thread Taeung Song
Currently perf-annotate with --print-line can print -nan(0x8) because of division by zero when calculating percent. So if a sum of samples is zero, skip calculating percent. Before: $ perf annotate --stdio -l Sorted summary for file /home/taeung/workspace/a.out -

Re: [PATCH 1/2] i2c: do not leave semaphore armed when copying properties fails

2017-03-09 Thread Dmitry Torokhov
Hi Wolfram, > On Wed, Mar 08, 2017 at 10:41:01AM -0800, Dmitry Torokhov wrote: > > We should not leave i2c_register_board_info() early, without unlocking the > > __i2c_board_lock. > > > > Fixes: b0c1e95ab44f ("i2c: copy device properties when using ...") > > Signed-off-by: Dmitry Torokhov > > S

Re: [GIT pull] CPU hotplug updates for 4.9

2017-03-09 Thread Bart Van Assche
On Thu, 2017-03-09 at 11:22 +0100, Thomas Gleixner wrote: > > In contrast with previous tests this morning I have been able to reproduce > > this hang with kernel v4.10. So it's not a kernel v4.10 regression. But the > > hang did not occur in a test with kernel v4.9.7. I assume this means that > >

Re: [RFC PATCH net] net: Work around lockdep limitation in sockets that use sockets

2017-03-09 Thread David Miller
From: David Howells Date: Thu, 09 Mar 2017 07:51:34 + > David Miller wrote: > >> I guess this is fine, but I think you can use one of the two "sk_padding" >> bits in struct sock instead of making the structure larger. > > It shouldn't make the structure larger since there's a hole in the s

[PATCH v3 1/3] usb: orion-echi: Add support for the Armada 3700

2017-03-09 Thread Gregory CLEMENT
From: Hua Jing - Add a new compatible string for the Armada 3700 SoCs - add sbuscfg support for orion usb controller driver. For the SoCs without hlock, need to program BAWR/BARD/AHBBRST fields in the sbuscfg register to guarantee the AHB master's burst would not overrun or underrun the FI

[PATCH v3 7/7] perf annotate: Support the new source code view for TUI

2017-03-09 Thread Taeung Song
To make source code view more readable, add the new source code view for TUI instead of confusing mixed source code & dissambly view. This view can show source code per symbol(function). and it can be toggled by a 's' key. And support 'k' and 't' key for line numbers and total period. For example

Re: [PATCH v3 0/3] Add EHCI support for Armada 37xx

2017-03-09 Thread Gregory CLEMENT
Hi, On jeu., mars 09 2017, Gregory CLEMENT wrote: > Hi, > > The EHCI controller in the Armada 37xx SoCs is the one used on many > other mvebu SoCs such as the orion5x, the kirkwood, or the > armada. However, for Armada 37xx an extra initialization step is > needed: this is the purpose of the

[PATCH v3 3/3] ARM64: dts: marvell: armada-37xx: Add USB2 node

2017-03-09 Thread Gregory CLEMENT
Armada 37xx SoC embedded an EHCI controller. This patch adds the device tree node enabling its support. Reviewed-by: Andrew Lunn Signed-off-by: Gregory CLEMENT --- arch/arm64/boot/dts/marvell/armada-3720-db.dts | 6 ++ arch/arm64/boot/dts/marvell/armada-37xx.dtsi | 7 +++ 2 files chan

[PATCH v3 2/3] usb: host: Allow to build ehci orion with mvebu SoCs

2017-03-09 Thread Gregory CLEMENT
The mvebu ARM64 SoCs no longer select PLAT_ORION. However Armada 37xx use the Orion EHCI controller. This patch allows the Orion EHCI driver to be built when ARCH_MVEBU is selected. Reviewed-by: Andrew Lunn Signed-off-by: Gregory CLEMENT --- drivers/usb/host/Kconfig | 2 +- 1 file changed, 1 in

[PATCH v3 0/3] Add EHCI support for Armada 37xx

2017-03-09 Thread Gregory CLEMENT
Hi, The EHCI controller in the Armada 37xx SoCs is the one used on many other mvebu SoCs such as the orion5x, the kirkwood, or the armada. However, for Armada 37xx an extra initialization step is needed: this is the purpose of the first patch. The second patch allows to build the driver for the A

[PATCH 13/19] mfd: asic3: make use of raw_spinlock variants

2017-03-09 Thread Julia Cartwright
The asic3 mfd driver currently implements an irq_chip for handling interrupts; due to how irq_chip handling is done, it's necessary for the irq_chip methods to be invoked from hardirq context, even on a a real-time kernel. Because the spinlock_t type becomes a "sleeping" spinlock w/ RT kernels, it

[PATCH 17/19] pinctrl: amd: make use of raw_spinlock variants

2017-03-09 Thread Julia Cartwright
The amd pinctrl drivers currently implement an irq_chip for handling interrupts; due to how irq_chip handling is done, it's necessary for the irq_chip methods to be invoked from hardirq context, even on a a real-time kernel. Because the spinlock_t type becomes a "sleeping" spinlock w/ RT kernels,

[PATCH v3 6/7] perf annotate: Introduce --source-only option

2017-03-09 Thread Taeung Song
Currently there is an asm view that can show parts of source code lines with --source option. But I think it is nice to add the new view with --source-only into perf-annotate. The option can show acutal source code per symbol(function) with overhead using new struct source_code. I think this view

[PATCH 00/19] fixup usage of non-raw spinlocks in irqchips

2017-03-09 Thread Julia Cartwright
The following patchset introduces a new coccinelle patch, irq_chip_raw_spinlock.cocci, which is used to identify irq_chip implementors which acquire/release non-raw spinlocks, and in addition, a set of generated patches for most cases identified. On mainline builds, there exists no functional diff

Re: [GIT pull] CPU hotplug updates for 4.9

2017-03-09 Thread Thomas Gleixner
On Thu, 9 Mar 2017, Bart Van Assche wrote: > On Thu, 2017-03-09 at 11:22 +0100, Thomas Gleixner wrote: > > > In contrast with previous tests this morning I have been able to reproduce > > > this hang with kernel v4.10. So it's not a kernel v4.10 regression. But > > > the > > > hang did not occur i

Re: [PATCH v2 0/2] Add AXI address filter support for MMDC profiling

2017-03-09 Thread Shawn Guo
On Wed, Feb 15, 2017 at 02:00:24PM +0200, andrei-tiberiu.bre...@nxp.com wrote: > Tiberiu Breana (2): > ARM: imx: Fix mmdc_pmu_write_accesses event definition > ARM: imx: Add AXI address filter support for MMDC profiling Applied both, thanks.

Re: [net/bpf] 3051bf36c2 BUG: unable to handle kernel paging request at 0000a7cf

2017-03-09 Thread Linus Torvalds
On Thu, Mar 9, 2017 at 6:53 AM, Daniel Borkmann wrote: > > Fwiw, I tried switching from using cr4 > (__native_flush_tlb_global_irq_disabled()) > to slower cr3 (__native_flush_tlb()) in "-cpu kvm64" mode, and it looks like > it also lets all test cases pass (rodata_test, test_setmem, test_bpf), no

[PATCH] staging: speakup: Simplify NULL comparisons

2017-03-09 Thread Arushi Singhal
Fixed coding style for null comparisons in speakup driver to be more consistant with the rest of the kernel coding style. Replaced 'x != NULL' with 'x' and 'x = NULL' with '!x'. Signed-off-by: Arushi Singhal --- drivers/staging/speakup/fakekey.c | 2 +- drivers/staging/speakup/kobjects.c | 2

Re: [regression] 72042a8c7b01 x86/purgatory: Make functions and variables static

2017-03-09 Thread Thomas Gleixner
On Thu, 9 Mar 2017, Mike Galbraith wrote: > Greetings, > > I bisected kdump breakage to $subject, and verified the identified > culprit via revert. Seems kexec needs those variables as they were. Yuck. That does not make any sense at all. I'll try to figure out why. Thanks, tglx

Re: [PATCH] x86/dmi: Switch dmi_remap to ioremap_cache

2017-03-09 Thread Arjan van de Ven
On 3/9/2017 9:48 AM, Julian Brost wrote: I'm note entirely sure whether it's actually the kernel or HP to blame, but for now, hp-health is completely broken on 4.9 (probably on everything starting from 4.6), so this patch should be reviewed again. it looks like another kernel driver is doing a

Re: [net/bpf] 3051bf36c2 BUG: unable to handle kernel paging request at 0000a7cf

2017-03-09 Thread Daniel Borkmann
On 03/09/2017 03:49 PM, Thomas Gleixner wrote: On Thu, 9 Mar 2017, Daniel Borkmann wrote: On 03/09/2017 02:10 PM, Thomas Gleixner wrote: On Thu, 9 Mar 2017, Daniel Borkmann wrote: With regard to CPA_FLUSHTLB that Linus mentioned, when I investigated code paths in change_page_attr_set_clr(), I

Re: [Regression?] 1ea0ce4069 ("selinux: allow changing labels for cgroupfs") stops Android from booting

2017-03-09 Thread Stephen Smalley
On Thu, 2017-03-09 at 18:28 +0100, Greg KH wrote: > On Mon, Feb 27, 2017 at 04:23:28PM -0500, Stephen Smalley wrote: > > > > On Mon, 2017-02-27 at 12:48 -0800, Nick Kralevich wrote: > > > > > > On Mon, Feb 27, 2017 at 11:53 AM, Stephen Smalley > > gov> > > > wrote: > > > > > > > > > > > > > >

[PATCH 07/19] gpio: bcm-kona: make use of raw_spinlock variants

2017-03-09 Thread Julia Cartwright
The bcm-kona gpio driver currently implements an irq_chip for handling interrupts; due to how irq_chip handling is done, it's necessary for the irq_chip methods to be invoked from hardirq context, even on a a real-time kernel. Because the spinlock_t type becomes a "sleeping" spinlock w/ RT kernels

[PATCH v4 3/3] ARM64: dts: marvell: armada-37xx: Add USB2 node

2017-03-09 Thread Gregory CLEMENT
Armada 37xx SoC embedded an EHCI controller. This patch adds the device tree node enabling its support. Reviewed-by: Andrew Lunn Signed-off-by: Gregory CLEMENT --- arch/arm64/boot/dts/marvell/armada-3720-db.dts | 6 ++ arch/arm64/boot/dts/marvell/armada-37xx.dtsi | 7 +++ 2 files chan

[PATCH v4 2/3] usb: host: Allow to build ehci orion with mvebu SoCs

2017-03-09 Thread Gregory CLEMENT
The mvebu ARM64 SoCs no longer select PLAT_ORION. However Armada 37xx use the Orion EHCI controller. This patch allows the Orion EHCI driver to be built when ARCH_MVEBU is selected. Reviewed-by: Andrew Lunn Signed-off-by: Gregory CLEMENT --- drivers/usb/host/Kconfig | 2 +- 1 file changed, 1 in

Re: [PATCH V2] arm64: hwpoison: add VM_FAULT_HWPOISON[_LARGE] handling

2017-03-09 Thread Punit Agrawal
[ +steve for arm64 mm and hugepages chops ] "Baicar, Tyler" writes: > On 3/7/2017 12:56 PM, Punit Agrawal wrote: >> Punit Agrawal writes: >> >> [...] >> >>> The code looks good but I ran into some failures while running the >>> hugepages hwpoison tests from mce-tests suite[0]. I get a bad pmd e

[PATCH v4 1/3] usb: orion-echi: Add support for the Armada 3700

2017-03-09 Thread Gregory CLEMENT
From: Hua Jing - Add a new compatible string for the Armada 3700 SoCs - add sbuscfg support for orion usb controller driver. For the SoCs without hlock, need to program BAWR/BARD/AHBBRST fields in the sbuscfg register to guarantee the AHB master's burst would not overrun or underrun the FI

Re: [PATCH] ARM64: dts: meson-gxbb-odroidc2: enable USB Host Nodes

2017-03-09 Thread Anand Moon
Hi Neil, On 9 March 2017 at 18:43, Neil Armstrong wrote: > On 03/08/2017 06:22 PM, Anand Moon wrote: >> Hi All, >> >> On 8 March 2017 at 02:06, Anand Moon wrote: >>> From: Anand Moon >>> >>> update the regulator supply nodes for usb host to >>> enable usb host on odroid-c2 >>> >>> Signed-off-by

Re: [v3 3/5] coresight: add support for debug module

2017-03-09 Thread Leo Yan
Hi Suziku, Thanks for reviewing, please see some replying. On Thu, Mar 09, 2017 at 04:53:05PM +, Suzuki K Poulose wrote: > On 03/03/17 06:00, Leo Yan wrote: > >Coresight includes debug module and usually the module connects with CPU > >debug logic. ARMv8 architecture reference manual (ARM DDI

[PATCH v4 0/3] Add EHCI support for Armada 37xx

2017-03-09 Thread Gregory CLEMENT
Hi, The EHCI controller in the Armada 37xx SoCs is the one used on many other mvebu SoCs such as the orion5x, the kirkwood, or the armada. However, for Armada 37xx an extra initialization step is needed: this is the purpose of the first patch. The second patch allows to build the driver for the A

Re: [PATCH] x86/dmi: Switch dmi_remap to ioremap_cache

2017-03-09 Thread Julian Brost
On 09.03.2017 18:51, Arjan van de Ven wrote: > On 3/9/2017 9:48 AM, Julian Brost wrote: > >> I'm note entirely sure whether it's actually the kernel or HP to blame, >> but for now, hp-health is completely broken on 4.9 (probably on >> everything starting from 4.6), so this patch should be reviewed

Re: Old compiler versions (was Re: v4.10: kernel stack frame pointer .. has bad value (null))

2017-03-09 Thread Linus Torvalds
On Thu, Mar 9, 2017 at 2:49 AM, Pavel Machek wrote: > > (On thinkpad X220, compiling bzip2) You really shouldn't assume that the zlib build tracks the kernel build. At least at some point, a noticeable part of the build cost for the kernel was just parsing the fairly big source code. We have hon

Re: [PATCH 1/1] x86/cqm: Cqm requirements

2017-03-09 Thread David Carrillo-Cisneros
On Thu, Mar 9, 2017 at 3:01 AM, Thomas Gleixner wrote: > On Wed, 8 Mar 2017, David Carrillo-Cisneros wrote: >> On Wed, Mar 8, 2017 at 12:30 AM, Thomas Gleixner wrote: >> > Same applies for per CPU measurements. >> >> For CPU measurements. We need perf-like CPU filtering to support tools >> that p

Re: [PATCH 1/2] Staging: wlan-ng: Fix sparse warnings by using appropriate endian types

2017-03-09 Thread Greg KH
On Fri, Mar 03, 2017 at 07:58:30PM +0100, Adrien Descamps wrote: > Fix some sparse warning by using correct endian types in structs and > local variables. > This patch only fix sparse warnings and do not change the logic. > > Signed-off-by: Adrien Descamps > --- > Compile tested only > drivers/s

Talent Scout

2017-03-09 Thread Jennifer Brentt
Dear Talented, I am Talent Scout For BLUE SKY FILM STUDIO, Present Blue sky Studio a Film Corporation Located in the United State, is Soliciting for the Right to use Your Photo/Face and Personality as One of the Semi -Major Role/ Character in our Upcoming ANIMATED Stereoscope 3D Movie-The Story o

[PATCH 08/19] gpio: etraxfs: make use of raw_spinlock variants

2017-03-09 Thread Julia Cartwright
The etraxfs gpio driver currently implements an irq_chip for handling interrupts; due to how irq_chip handling is done, it's necessary for the irq_chip methods to be invoked from hardirq context, even on a a real-time kernel. Because the spinlock_t type becomes a "sleeping" spinlock w/ RT kernels,

Re: [PATCH v3] Input: sparse-keymap - use a managed allocation for keymap copy

2017-03-09 Thread Dmitry Torokhov
On Thu, Mar 09, 2017 at 08:58:54AM +0100, Michał Kępień wrote: > > On Wed, Mar 8, 2017 at 11:05 PM, Dmitry Torokhov > > wrote: > > > On Wed, Mar 08, 2017 at 10:50:16PM +0200, Andy Shevchenko wrote: > > >> On Wed, Mar 8, 2017 at 8:12 PM, Dmitry Torokhov > > >> wrote: > > >> > On Wed, Mar 08, 2017

Re: [net/bpf] 3051bf36c2 BUG: unable to handle kernel paging request at 0000a7cf

2017-03-09 Thread David Miller
From: Daniel Borkmann Date: Thu, 09 Mar 2017 18:51:03 +0100 > I added some debugging around __native_flush_tlb_global_irq_disabled() > and if I understand it correctly, the idea of cr4 is that we need to > toggle X86_CR4_PGE in order to trigger a TLB flush. > > What I see is that original cr4 is

Re: [RFC PATCH 00/12] Ion cleanup in preparation for moving out of staging

2017-03-09 Thread Laura Abbott
On 03/09/2017 02:00 AM, Benjamin Gaignard wrote: > 2017-03-06 17:04 GMT+01:00 Daniel Vetter : >> On Mon, Mar 06, 2017 at 11:58:05AM +0100, Mark Brown wrote: >>> On Mon, Mar 06, 2017 at 11:40:41AM +0100, Daniel Vetter wrote: >>> No one gave a thing about android in upstream, so Greg KH just dum

Re: [PATCH 1/2] mm: add private lock to serialize memory hotplug operations

2017-03-09 Thread Dan Williams
On Thu, Mar 9, 2017 at 5:39 AM, Rafael J. Wysocki wrote: > On Thursday, March 09, 2017 02:06:15 PM Heiko Carstens wrote: >> Commit bfc8c90139eb ("mem-hotplug: implement get/put_online_mems") >> introduced new functions get/put_online_mems() and >> mem_hotplug_begin/end() in order to allow similar

Re: [net/bpf] 3051bf36c2 BUG: unable to handle kernel paging request at 0000a7cf

2017-03-09 Thread Linus Torvalds
On Thu, Mar 9, 2017 at 9:51 AM, Daniel Borkmann wrote: > > What I see is that original cr4 is 0x610. The cpu_tlbstate.cr4 is > consistent to native_read_cr4() and since cr4 is != 0, it tells me > based on the comment in native_read_cr4() that cr4 seems to be > supported. Thus, meaning we end up wi

Re: [PATCH] mm, vmscan: do not loop on too_many_isolated for ever

2017-03-09 Thread Johannes Weiner
On Tue, Mar 07, 2017 at 02:52:36PM -0500, Rik van Riel wrote: > It only does this to some extent.  If reclaim made > no progress, for example due to immediately bailing > out because the number of already isolated pages is > too high (due to many parallel reclaimers), the code > could hit the "no_p

Re: [PATCH] x86/dmi: Switch dmi_remap to ioremap_cache

2017-03-09 Thread Andy Lutomirski
On Thu, Mar 9, 2017 at 9:51 AM, Arjan van de Ven wrote: > On 3/9/2017 9:48 AM, Julian Brost wrote: > >> I'm note entirely sure whether it's actually the kernel or HP to blame, >> but for now, hp-health is completely broken on 4.9 (probably on >> everything starting from 4.6), so this patch should

Re: [net/bpf] 3051bf36c2 BUG: unable to handle kernel paging request at 0000a7cf

2017-03-09 Thread Linus Torvalds
On Thu, Mar 9, 2017 at 10:10 AM, Linus Torvalds wrote: > > Very odd. We should always have PGE (0x0080) set in cr4 (if the CPU > supports it). Daniel, do you see the code in probe_page_size_mask() triggering? /* Enable PGE if available */ if (boot_cpu_has(X86_FEATURE_PGE)) {

Re: [PATCH] crypto: brcm: fix spelling mistake: "genereate" -> "generate"

2017-03-09 Thread Herbert Xu
On Wed, Feb 22, 2017 at 11:51:38PM +, Colin King wrote: > From: Colin Ian King > > trivial fix to spelling mistake in pr_err message > > Signed-off-by: Colin Ian King Patch applied. Thanks. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana

Re: [PATCH] crypto: s5p-sss - Fix spinlock recursion on LRW(AES)

2017-03-09 Thread Herbert Xu
On Wed, Mar 08, 2017 at 11:14:20PM +0200, Krzysztof Kozlowski wrote: > Running TCRYPT with LRW compiled causes spinlock recursion: > > testing speed of async lrw(aes) (lrw(ecb-aes-s5p)) encryption > tcrypt: test 0 (256 bit key, 16 byte blocks): 19007 operations in 1 > seconds (304112 byte

[PATCH 2/2] [RFC] base: soc: Allow early registration of a single SoC device

2017-03-09 Thread Geert Uytterhoeven
commit 1da1b3628df34a2a ("base: soc: Early register bus when needed") added support for early registration of SoC devices from a core_initcall(). However, some drivers need to check the SoC revision from an early_initcall(), which is even earlier. While registering the SoC bus and device, and usi

Re: [PATCH v4 1/3] usb: orion-echi: Add support for the Armada 3700

2017-03-09 Thread Alan Stern
On Thu, 9 Mar 2017, Gregory CLEMENT wrote: > From: Hua Jing > > - Add a new compatible string for the Armada 3700 SoCs > > - add sbuscfg support for orion usb controller driver. For the SoCs > without hlock, need to program BAWR/BARD/AHBBRST fields in the sbuscfg > register to guarantee the

Re: [PATCH v2 0/2] Propagate fallback bit for cbc and ctr

2017-03-09 Thread Herbert Xu
On Mon, Feb 27, 2017 at 09:38:24AM -0300, Marcelo Henrique Cerri wrote: > Hi Hebert, > > For v2: > > - fixed the memory leakage in cbc. > - included crypto/algapi.h in crypto/cbc.c for crypto_requires_off(); > - ERR_CAST instead PTR_ERR in ctr. > - Also propagated the fallback bit for rfc3686. >

[PATCH 1/2] [RFC] base: soc: Let soc_device_match() return no match when called too early

2017-03-09 Thread Geert Uytterhoeven
If soc_device_match() is called before the SoC bus has been registered, bus_for_each_dev() returns -EINVAL, which is considered a match, as it is non-zero. While calling soc_device_match() can be considered an integration mistake, returning a match is counter-intuitive: soc_device_match() is typic

Re: [RFC PATCH v2 0/3] Cavium ThunderX ZIP driver

2017-03-09 Thread Herbert Xu
On Wed, Feb 15, 2017 at 10:45:07AM +0530, Mahipal Challa wrote: > Hi Herbert, > > This series adds support for hardware accelerated compression & decompression > as found on ThunderX (arm64) SOCs. > > As per your suggestion, we've switched to the new crypto acomp/scomp > interface. > > To test

[PATCH 0/2] [RFC] base: soc: soc_device_match() improvements

2017-03-09 Thread Geert Uytterhoeven
Hi Arnd, Greg, This patch series contains two RFC improvements for the SoC bus and soc_device_match(). Both are the result of investigations for handling different SoC revisions in the Renesas R-Car SYSC driver, which manages PM Domains and thus needs to be initialized from an early_initc

Re: [PATCH 0/2] crypto: constify test vectors

2017-03-09 Thread Herbert Xu
On Fri, Feb 24, 2017 at 03:46:57PM -0800, Eric Biggers wrote: > From: Eric Biggers > > These two patches mark all the cryptographic test vectors as 'const'. > This has several potential advantages and moves a large amount of data > from .data to .rodata when the tests are enabled. The second pat

Re: [regression] 72042a8c7b01 x86/purgatory: Make functions and variables static

2017-03-09 Thread Mike Galbraith
On Thu, 2017-03-09 at 18:50 +0100, Thomas Gleixner wrote: > On Thu, 9 Mar 2017, Mike Galbraith wrote: > > > Greetings, > > > > I bisected kdump breakage to $subject, and verified the identified > > culprit via revert. Seems kexec needs those variables as they were. > > Yuck. That does not make

Re: [PATCH] block, writeback: wait for writeback to finish before detaching wb

2017-03-09 Thread Tejun Heo
(cc'ing Jan and quoting the whole message) On Wed, Mar 08, 2017 at 06:19:37PM -0800, Tahsin Erdogan wrote: > __blkdev_put() could surprise writeback thread by detaching the > wb object from an inode that hasn't cleared the I_SYNC flag yet. > This causes a NULL pointer dereference as seen below: >

Re: [PATCH v5] blkcg: allocate struct blkcg_gq outside request queue spinlock

2017-03-09 Thread Tejun Heo
On Thu, Mar 09, 2017 at 12:05:31AM -0800, Tahsin Erdogan wrote: > blkg_conf_prep() currently calls blkg_lookup_create() while holding > request queue spinlock. This means allocating memory for struct > blkcg_gq has to be made non-blocking. This causes occasional -ENOMEM > failures in call paths lik

Re: Used void functions follows non void

2017-03-09 Thread Tejun Heo
On Thu, Mar 09, 2017 at 04:39:10PM +0200, Corcodel Marian wrote: > > Make compiler to print errors message ; > run make; > Bellow is errors message from compiler: > include/linux/cgroup.h:424:2: warning: ‘return’ with no value, in function > returning non-void [-Wreturn-type] > return task_css

Re: [net/bpf] 3051bf36c2 BUG: unable to handle kernel paging request at 0000a7cf

2017-03-09 Thread Daniel Borkmann
On 03/09/2017 07:15 PM, Linus Torvalds wrote: On Thu, Mar 9, 2017 at 10:10 AM, Linus Torvalds wrote: Very odd. We should always have PGE (0x0080) set in cr4 (if the CPU supports it). Daniel, do you see the code in probe_page_size_mask() triggering? /* Enable PGE if available */

Re: v4.10: kernel stack frame pointer .. has bad value (null)

2017-03-09 Thread Josh Poimboeuf
On Thu, Mar 09, 2017 at 09:14:47AM -0500, Steven Rostedt wrote: > On Wed, 8 Mar 2017 15:29:59 -0600 > Josh Poimboeuf wrote: > > > [adding Steven Rostedt to CC as an FYI] > > > > On Wed, Mar 08, 2017 at 10:25:01AM -0800, Linus Torvalds wrote: > > > On Wed, Mar 8, 2017 at 9:37 AM, Josh Poimboeuf

Re: [RFC PATCH v2 0/3] Cavium ThunderX ZIP driver

2017-03-09 Thread Mahipal Reddy
On Thu, Mar 9, 2017 at 4:16 PM, Herbert Xu wrote: > On Wed, Feb 15, 2017 at 10:45:07AM +0530, Mahipal Challa wrote: >> Hi Herbert, >> >> This series adds support for hardware accelerated compression & decompression >> as found on ThunderX (arm64) SOCs. >> >> As per your suggestion, we've switched

Re: [PATCH 05/19] gpio: 104-dio-48e: make use of raw_spinlock variants

2017-03-09 Thread William Breathitt Gray
On Thu, Mar 09, 2017 at 10:21:52AM -0600, Julia Cartwright wrote: >The 104-dio-48e gpio driver currently implements an irq_chip for >handling interrupts; due to how irq_chip handling is done, it's >necessary for the irq_chip methods to be invoked from hardirq context, >even on a a real-time kernel.

Re: [Regression?] 1ea0ce4069 ("selinux: allow changing labels for cgroupfs") stops Android from booting

2017-03-09 Thread Greg KH
On Thu, Mar 09, 2017 at 12:57:14PM -0500, Stephen Smalley wrote: > On Thu, 2017-03-09 at 18:28 +0100, Greg KH wrote: > > On Mon, Feb 27, 2017 at 04:23:28PM -0500, Stephen Smalley wrote: > > > > > > On Mon, 2017-02-27 at 12:48 -0800, Nick Kralevich wrote: > > > > > > > > On Mon, Feb 27, 2017 at 11

Re: [PATCH] clock: Fix smp_processor_id() in preemptible bug

2017-03-09 Thread Paul E. McKenney
On Thu, Mar 09, 2017 at 07:31:14AM -0800, Paul E. McKenney wrote: > On Thu, Mar 09, 2017 at 04:24:20PM +0100, Peter Zijlstra wrote: > > On Wed, Mar 08, 2017 at 01:53:06PM -0800, Paul E. McKenney wrote: > > > The v4.11-rc1 kernel emits the following splat in some configurations: > > > > > > [ 43.

Re: [PATCH] staging: speakup: fix "Alignment match open parenthesis"

2017-03-09 Thread Greg Kroah-Hartman
On Thu, Mar 09, 2017 at 10:23:30PM +0530, Arushi Singhal wrote: > Fix checkpatch issues: "CHECK: Alignment should match open parenthesis". > > Signed-off-by: Arushi Singhal > --- > drivers/staging/speakup/i18n.c | 2 +- > drivers/staging/speakup/kobjects.c | 40 > +++---

Re: [PATCH 0/4] staging: speakup: checkpatch guided cleanups

2017-03-09 Thread Greg KH
On Thu, Mar 09, 2017 at 10:04:29PM +0530, Arushi Singhal wrote: > Improve readability by fixing multiple checkpatch.pl > issues in speakup driver. This series does not apply to my staging-testing branch at all. Please rebase and resend. thanks, greg k-h

Re: [PATCH] staging: speakup: Simplify NULL comparisons

2017-03-09 Thread Greg Kroah-Hartman
On Thu, Mar 09, 2017 at 11:19:49PM +0530, Arushi Singhal wrote: > Fixed coding style for null comparisons in speakup driver to be more > consistant with the rest of the kernel coding style. > Replaced 'x != NULL' with 'x' and 'x = NULL' with '!x'. > > Signed-off-by: Arushi Singhal > --- > driver

Re: [PATCH 10/19] gpio: ws16c48: make use of raw_spinlock variants

2017-03-09 Thread William Breathitt Gray
On Thu, Mar 09, 2017 at 10:21:57AM -0600, Julia Cartwright wrote: >The ws16c48 gpio driver currently implements an irq_chip for handling >interrupts; due to how irq_chip handling is done, it's necessary for the >irq_chip methods to be invoked from hardirq context, even on a a >real-time kernel. Be

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