Re: [PATCH v4] of/pci: Fix memory leak in of_pci_get_host_bridge_resources

2017-04-05 Thread kbuild test robot
Hi Jeffy, [auto build test ERROR on pci/next] [also build test ERROR on v4.11-rc5 next-20170405] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Jeffy-Chen/of-pci-Fix-memory-leak

Re: [PATCH] crypto: arm64/sha: use %c constraint code in ASM_EXPORT

2017-04-05 Thread Matthias Kaehlcke
Hoi Ard! El Wed, Apr 05, 2017 at 06:08:37PM +0100 Ard Biesheuvel ha dit: > On 5 April 2017 at 17:56, Matthias Kaehlcke wrote: > > From: Greg Hackmann > > > > The current definition of ASM_EXPORT doesn't work properly with clang, > > according to

Re: [BUG] stack tracing causes: kernel/module.c:271 module_assert_mutex_or_preempt

2017-04-05 Thread Paul E. McKenney
On Wed, Apr 05, 2017 at 12:45:39PM -0400, Steven Rostedt wrote: > On Wed, 5 Apr 2017 09:25:15 -0700 > "Paul E. McKenney" wrote: > > > > Thoughts? > > > > Ouch!!! > > > > I really blew it telling you that you can use rcu_irq_enter()!!! > > > > RCU's eqs code

Re: [PATCH 1/3] x86/intel_rdt: Fix issue when mkdir uses a freed CLOSid

2017-04-05 Thread Shivappa Vikas
On Wed, 5 Apr 2017, Thomas Gleixner wrote: On Mon, 3 Apr 2017, Vikas Shivappa wrote: Subject: x86/intel_rdt: Fix issue when mkdir uses a freed CLOSid This subject line is useless again. It want's to be descriptive. "Fix issue" Which issue? Each resctrl directory has one CLOSid

[PATCH 1/2] f2fs: count writeback pages correctly

2017-04-05 Thread Jaegeuk Kim
This patch fixes # of outstanding writeback pages by checking its original page. Signed-off-by: Jaegeuk Kim --- fs/f2fs/data.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/fs/f2fs/data.c b/fs/f2fs/data.c index 3d74c0ffa4c7..af3e849e96d2 100644

Re: [PATCH 4/8] x86/intel_rct/mba: Add MBA structures and initialize MBA

2017-04-05 Thread Shivappa Vikas
On Wed, 5 Apr 2017, Thomas Gleixner wrote: On Mon, 3 Apr 2017, Vikas Shivappa wrote: /** + * struct rdt_domain - group of cpus sharing an RDT resource + * @list: all instances of this resource + * @id:unique id for this instance + * @cpu_mask: which cpus share this

Re: [PATCH 2/7] Makefile, x86, LLVM: disable unsupported optimization flags

2017-04-05 Thread Masahiro Yamada
Hi Michael, 2017-03-17 9:15 GMT+09:00 Michael Davidson : > Unfortunately, while clang generates a warning about these flags > being unsupported it still exits with a status of 0 so we have > to explicitly disable them instead of just using a cc-option check. > > Signed-off-by:

[PATCH] arm64: xen: Implement EFI reset_system callback

2017-04-05 Thread Julien Grall
When rebooting DOM0 with ACPI, the kernel is crashing with the stack trace [1]. This is happening because when EFI runtimes are enabled, the reset code (see machin_restart) will first try to use EFI restart method. However, the EFI restart code is expecting the reset_system callback to be always

Re: [PATCH v6 4/4] arm64/syscalls: Specific usage of verify_pre_usermode_state

2017-04-05 Thread Thomas Garnier
On Wed, Apr 5, 2017 at 10:49 AM, Catalin Marinas wrote: > On Wed, Apr 05, 2017 at 07:36:17AM -0700, Thomas Garnier wrote: >> On Wed, Apr 5, 2017 at 7:22 AM, Catalin Marinas >> wrote: >> > On Tue, Apr 04, 2017 at 10:47:27AM -0700, Thomas Garnier

Re: [PATCHv3 00/10] Nokia H4+ support

2017-04-05 Thread Rob Herring
On Fri, Mar 31, 2017 at 8:33 AM, Greg Kroah-Hartman wrote: > On Wed, Mar 29, 2017 at 11:33:26PM +0200, Marcel Holtmann wrote: >> Hi Rob, >> >> >> Here is PATCHv3 for the Nokia bluetooth patchset. I addressed all >> >> comments from >> >> Rob and Pavel regarding the

Re: [PATCH 3/4] net: dsa: LAN9303: add I2C managed mode support

2017-04-05 Thread Andrew Lunn
On Wed, Apr 05, 2017 at 11:20:23AM +0200, Juergen Borleis wrote: > In this mode the switch device and the internal phys will be managed via > I2C interface. The MDIO interface is still supported, but for the > (emulated) CPU port only. > > Signed-off-by: Juergen Borleis >

Re: [PATCH v23 09/11] acpi/arm64: Add memory-mapped timer support in GTDT driver

2017-04-05 Thread Mark Rutland
Hi, I tried to fix the issue that Lornzo raised, such that I could queue these patches. From looking at this patch in more detail however, I think there are further issues that need to be addressed. On Sat, Apr 01, 2017 at 01:51:03AM +0800, fu@linaro.org wrote: > + /* > + * Get the

Re: ia64 exceptions (Re: [RFC][CFT][PATCHSET v1] uaccess unification)

2017-04-05 Thread Tony Luck
On Wed, Apr 5, 2017 at 1:08 AM, Al Viro wrote: > ... and sure enough, on generic kernel (CONFIG_ITANIUM) that yields a nice > shiny oops at precisely that insn. The right fix here might be to delete all the CONFIG_ITANIUM paths. I doubt that anyone is still running

Re: [PATCH] cs-2000-cp: keep Reserved bit on each register

2017-04-05 Thread Stephen Boyd
On 04/05, Kuninori Morimoto wrote: > > From: Kuninori Morimoto > > Thus CS2000 datasheet is indicating below, this patch > follows it. > > WARNING: All "Reserved" registers must maintain their default > state to ensure proper functional operation. >

[PATCH v7 7/7] xen/9pfs: build 9pfs Xen transport driver

2017-04-05 Thread Stefano Stabellini
This patch adds a Kconfig option and Makefile support for building the 9pfs Xen driver. Signed-off-by: Stefano Stabellini Reviewed-by: Juergen Gross CC: gr...@kaod.org CC: boris.ostrov...@oracle.com CC: jgr...@suse.com CC: Eric Van Hensbergen

[PATCH v7 3/7] xen/9pfs: introduce Xen 9pfs transport driver

2017-04-05 Thread Stefano Stabellini
Introduce the Xen 9pfs transport driver: add struct xenbus_driver to register as a xenbus driver and add struct p9_trans_module to register as v9fs driver. All functions are empty stubs for now. Signed-off-by: Stefano Stabellini Reviewed-by: Boris Ostrovsky

[PATCH v7 2/7] xen: introduce the header file for the Xen 9pfs transport protocol

2017-04-05 Thread Stefano Stabellini
It uses the new ring.h macros to declare rings and interfaces. Signed-off-by: Stefano Stabellini CC: konrad.w...@oracle.com CC: boris.ostrov...@oracle.com CC: jgr...@suse.com CC: gr...@kaod.org --- include/xen/interface/io/9pfs.h | 36 1

Re: [PATCH 2/3] dt-bindings: arm: amlogic: Add SoC information bindings

2017-04-05 Thread Rob Herring
On Tue, Apr 4, 2017 at 7:49 AM, Neil Armstrong wrote: > On 04/04/2017 02:26 PM, Rob Herring wrote: >> On Tue, Apr 4, 2017 at 3:51 AM, Neil Armstrong >> wrote: >>> On 04/03/2017 06:34 PM, Rob Herring wrote: On Fri, Mar 31, 2017 at 04:10:30PM

Re: [PATCH] misc: sram-exec: Use aligned fncpy instead of memcpy

2017-04-05 Thread Dave Gerlach
Russell, On 04/05/2017 02:21 PM, Dave Gerlach wrote: Currently the sram-exec functionality, which allows allocation of executable memory and provides an API to move code to it, is only selected in configs for the ARM architecture. Based on commit 5756e9dd0de6 ("ARM: 6640/1: Thumb-2: Symbol

RE: [PATCH v2 1/2] x86/mce/AMD: Redo use of SMCA MCA_DE{STAT,ADDR} registers

2017-04-05 Thread Ghannam, Yazen
> -Original Message- > From: Borislav Petkov [mailto:b...@alien8.de] > Sent: Wednesday, April 05, 2017 2:22 PM > To: Ghannam, Yazen > Cc: linux-e...@vger.kernel.org; Tony Luck ; > x...@kernel.org; linux-kernel@vger.kernel.org > Subject: Re:

Re: [PATCH v4 2/3] clk: meson-gxbb: Add MALI clocks

2017-04-05 Thread Stephen Boyd
On 03/22, Neil Armstrong wrote: > +/* > + * The MALI IP is clocked by two identical clocks (mali_0 and mali_1) > + * muxed by a glitch-free switch. > + */ > + > +static u32 mux_table_mali_0_1[] = {0, 1, 2, 3, 4, 5, 6, 7}; > +static const char *gxbb_mali_0_1_parent_names[] = { const char * const?

Re: [PATCH] arm64: xen: Implement EFI reset_system callback

2017-04-05 Thread Boris Ostrovsky
On 04/05/2017 02:14 PM, Julien Grall wrote: > When rebooting DOM0 with ACPI, the kernel is crashing with the stack trace > [1]. > > This is happening because when EFI runtimes are enabled, the reset code > (see machin_restart) will first try to use EFI restart method. > > However, the EFI restart

Re: [RFC PATCH 0/4] fs: introduce new writeback error tracking infrastructure and convert ext4 to use it

2017-04-05 Thread Jeff Layton
On Tue, 2017-04-04 at 10:09 -0700, Matthew Wilcox wrote: > On Tue, Apr 04, 2017 at 12:25:46PM -0400, Jeff Layton wrote: > > That said, I think giving more specific errors where we can is useful. > > When your program is erroring out and writing 'I/O error' to the logs, > > then how much time will

[PATCH 00/24] Kernel lockdown

2017-04-05 Thread David Howells
These patches provide a facility by which a variety of avenues by which userspace can feasibly modify the running kernel image can be locked down. These include: (*) No unsigned modules and no modules for which can't validate the signature. (*) No use of ioperm(), iopl() and no writing

[PATCH 01/24] efi: Add EFI_SECURE_BOOT bit

2017-04-05 Thread David Howells
From: Josh Boyer UEFI machines can be booted in Secure Boot mode. Add a EFI_SECURE_BOOT bit that can be passed to efi_enabled() to find out whether secure boot is enabled. This will be used by the SysRq+x handler, registered by the x86 arch, to find out whether

[PATCH 23/24] Lock down TIOCSSERIAL

2017-04-05 Thread David Howells
Lock down TIOCSSERIAL as that can be used to change the ioport and irq settings on a serial port. This only appears to be an issue for the serial drivers that use the core serial code. All other drivers seem to either ignore attempts to change port/irq or give an error. Reported-by: Greg

[PATCH 24/24] Lock down module params that specify hardware parameters (eg. ioport)

2017-04-05 Thread David Howells
Provided an annotation for module parameters that specify hardware parameters (such as io ports, iomem addresses, irqs, dma channels, fixed dma buffers and other types). Suggested-by: Alan Cox Signed-off-by: David Howells --- kernel/params.c |

[PATCH 22/24] Prohibit PCMCIA CIS storage when the kernel is locked down

2017-04-05 Thread David Howells
Prohibit replacement of the PCMCIA Card Information Structure when the kernel is locked down. Suggested-by: Dominik Brodowski Signed-off-by: David Howells cc: linux-pcm...@lists.infradead.org --- drivers/pcmcia/cistpl.c |5 + 1 file

[PATCH 04/24] Enforce module signatures if the kernel is locked down

2017-04-05 Thread David Howells
If the kernel is locked down, require that all modules have valid signatures that we can verify. Signed-off-by: David Howells --- kernel/module.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/module.c b/kernel/module.c index

Re: [PATCHv3 00/10] Nokia H4+ support

2017-04-05 Thread Pavel Machek
On Wed 2017-04-05 13:16:58, Rob Herring wrote: > On Fri, Mar 31, 2017 at 8:33 AM, Greg Kroah-Hartman > wrote: > > On Wed, Mar 29, 2017 at 11:33:26PM +0200, Marcel Holtmann wrote: > >> Hi Rob, > >> > >> >> Here is PATCHv3 for the Nokia bluetooth patchset. I addressed

[PATCH] x86/vdso: ensure vdso32_enabled gets set to valid values only

2017-04-05 Thread Mathias Krause
If either via kernel command line 'vdso32=' or via 'sysctl abi.vsyscall32' vdso32_enabled gets set to a value below 0 or above 1, load_vdso32() won't map the vDSO but ARCH_DLINFO_IA32 would still pass an AT_SYSINFO_EHDR auxiliary vector, however with a NULL pointer. That'll make any program trying

[HMM 03/16] mm/unaddressable-memory: new type of ZONE_DEVICE for unaddressable memory

2017-04-05 Thread Jérôme Glisse
HMM (heterogeneous memory management) need struct page to support migration from system main memory to device memory. Reasons for HMM and migration to device memory is explained with HMM core patch. This patch deals with device memory that is un-addressable memory (ie CPU can not access it).

[HMM 02/16] mm/put_page: move ZONE_DEVICE page reference decrement v2

2017-04-05 Thread Jérôme Glisse
Move page reference decrement of ZONE_DEVICE from put_page() to put_zone_device_page() this does not affect non ZONE_DEVICE page. Doing this allow to catch when a ZONE_DEVICE page refcount reach 1 which means the device is no longer reference by any one (unlike page from other zone, ZONE_DEVICE

[HMM 00/16] HMM (Heterogeneous Memory Management) v19

2017-04-05 Thread Jérôme Glisse
Patchset is on top of mmotm mmotm-2017-04-04-15-00 it would conflict with Michal memory hotplug patchset (first patch in this serie would be the conflicting one). There is also build issue against 4.11-rc* where some definitions are now in include/linux/sched/mm.h to fix this patchset this new

[HMM 01/16] mm/memory/hotplug: add memory type parameter to arch_add/remove_memory

2017-04-05 Thread Jérôme Glisse
When hotpluging memory we want more information on the type of memory. This is to extend ZONE_DEVICE to support new type of memory other than the persistent memory. Existing user of ZONE_DEVICE (persistent memory) will be left un-modified. Signed-off-by: Jérôme Glisse Cc:

[HMM 04/16] mm/ZONE_DEVICE/x86: add support for un-addressable device memory

2017-04-05 Thread Jérôme Glisse
It does not need much, just skip populating kernel linear mapping for range of un-addressable device memory (it is pick so that there is no physical memory resource overlapping it). All the logic is in share mm code. Only support x86-64 as this feature doesn't make much sense with constrained

[PATCH v2 0/2] ASoC: codec: wm8960: Relax bit clock computation when using PLL

2017-04-05 Thread Daniel Baluta
This is a follow up of commit 3c01b9ee2ab ("ASoC: codec: wm8960: Relax bit clock computation") where we relaxed bitclk when sysclk was derived from MCLK. Now, we do the same thing for sysclk derived using PLL. Changes since v1: * fixed "may be used uninitialized" warnings [i strongly

Re: [PATCH v1] checkpatch: test missing initial blank line in block comment

2017-04-05 Thread Hugues FRUCHET
On 04/05/2017 11:55 AM, Joe Perches wrote: > On Wed, 2017-04-05 at 09:43 +, Hugues FRUCHET wrote: >> >> On 04/05/2017 10:35 AM, Joe Perches wrote: >>> On Wed, 2017-04-05 at 08:23 +, Hugues FRUCHET wrote: Hi Joe, thanks for reviewing, >>> >>> Hello Hugues >>> I have run the

[PATCH 3/3] arm64: allwinner: a64: enable EHCI0/OHCI0 controller for Pine64

2017-04-05 Thread Icenowy Zheng
The upper USB port of Pine64 board is connected to the SoC's USB0 port, which can now switch from the MUSB controller to the EHCI/OHCI pair. Enable the EHCI/OHCI pair in the Pine64 device tree. Signed-off-by: Icenowy Zheng ---

RE: [PATCH] drivers/staging/lustre: Coding-guideline: Missing a blank line after declarations

2017-04-05 Thread Hammond, John
> On Tue, Apr 04, 2017 at 02:45:26PM +0530, Pushkar Jambhlekar wrote: > > diff --git a/drivers/staging/lustre/lustre/obdclass/cl_page.c > > b/drivers/staging/lustre/lustre/obdclass/cl_page.c > > index cd9a40c..71fcc4c 100644 > > --- a/drivers/staging/lustre/lustre/obdclass/cl_page.c > > +++

Re: [PATCH v4 2/3] Broadcom USB DRD Phy driver for Northstar2

2017-04-05 Thread Kishon Vijay Abraham I
Hi Ravi, On Wednesday 05 April 2017 06:30 PM, Raviteja Garimella wrote: > Hi Kishon, > > On Wed, Apr 5, 2017 at 4:30 PM, Kishon Vijay Abraham I wrote: >> Hi, >> >> On Tuesday 28 March 2017 05:57 PM, Raviteja Garimella wrote: >>> This is driver for USB DRD Phy used in Broadcom's

[PATCH v4 3/9] dt-bindings: pinctrl: Add RZ/A1 bindings doc

2017-04-05 Thread Jacopo Mondi
Add device tree bindings documentation for Renesas RZ/A1 gpio and pin controller. Signed-off-by: Jacopo Mondi --- .../bindings/pinctrl/renesas,rza1-pinctrl.txt | 218 + 1 file changed, 218 insertions(+) create mode 100644

[PATCH v4 2/9] pinctrl: Renesas RZ/A1 pin and gpio controller

2017-04-05 Thread Jacopo Mondi
Add combined gpio and pin controller driver for Renesas RZ/A1 r7s72100 SoC. Signed-off-by: Jacopo Mondi --- drivers/pinctrl/Kconfig| 11 + drivers/pinctrl/Makefile | 1 + drivers/pinctrl/pinctrl-rza1.c | 995 +

[PATCH v4 1/9] pinctrl: generic: Add bi-directional and output-enable

2017-04-05 Thread Jacopo Mondi
Add bi-directional and output-enable pin configuration properties. bi-directional allows to specify when a pin shall operate in input and output mode at the same time. This is particularly useful in platforms where input and output buffers have to be manually enabled. output-enable is just

[PATCH v4 0/9] Renesas RZ/A1 pin and gpio controller

2017-04-05 Thread Jacopo Mondi
Hi Linus, this is 4th round of gpio/pincontroller for RZ/A1 devices. As you suggested in v3 review, I have now added what we called pinmux flags to the list of standard pinconf generic properties, and we're now using generic parsing routines to collect them and apply them when multiplexing

[PATCH v4 7/9] arm: dts: genmai: Add RIIC2 pin group

2017-04-05 Thread Jacopo Mondi
Add pin configuration subnode for RIIC2 interface. Signed-off-by: Jacopo Mondi Reviewed-by: Geert Uytterhoeven --- arch/arm/boot/dts/r7s72100-genmai.dts | 9 + 1 file changed, 9 insertions(+) diff --git

Re: [PATCH v4 4/9] arm: dts: dt-bindings: Add Renesas RZ/A1 pinctrl header

2017-04-05 Thread Geert Uytterhoeven
On Wed, Apr 5, 2017 at 4:07 PM, Jacopo Mondi wrote: > --- /dev/null > +++ b/include/dt-bindings/pinctrl/r7s72100-pinctrl.h > @@ -0,0 +1,16 @@ > +/* > + * Defines macros and constants for Renesas RZ/A1 pin controller pin > + * muxing functions. > + */ > +#ifndef

Re: [PATCH] net: ibm: emac: remove unused sysrq handler for 'c' key

2017-04-05 Thread David Miller
From: Eric Biggers Date: Mon, 3 Apr 2017 22:50:20 -0700 > From: Eric Biggers > > Since commit d6580a9f1523 ("kexec: sysrq: simplify sysrq-c handler"), > the sysrq handler for the 'c' key has been sysrq_crash_op. Debugging > code in the ibm_emac

Re: [BUG nohz]: wrong user and system time accounting

2017-04-05 Thread Rik van Riel
On Tue, 2017-04-04 at 13:36 -0400, Luiz Capitulino wrote: >  > On further debugging this, I realized that I had overlooked > something: > the timer interrupt in this trace is not the tick, but cyclictest's > timer > (remember that the test-case consists of pinning cyclictest and a > task > hogging

Re: [PATCH] MAINTAINERS: Add Laurent and Andrzej as maintainers for bridge drivers

2017-04-05 Thread Sean Paul
On Wed, Apr 05, 2017 at 04:53:50PM +0530, Archit Taneja wrote: > Add Laurent and Andrzej as maintainers for DRM bridge chip drivers. They > actively review and contribute to bridge drivers and the bridge API. > > Cc: Laurent Pinchart > Cc: Andrzej Hajda

Re: [PATCH v6 4/4] arm64/syscalls: Specific usage of verify_pre_usermode_state

2017-04-05 Thread Thomas Garnier
On Wed, Apr 5, 2017 at 7:22 AM, Catalin Marinas wrote: > On Tue, Apr 04, 2017 at 10:47:27AM -0700, Thomas Garnier wrote: >> diff --git a/arch/arm64/kernel/entry.S b/arch/arm64/kernel/entry.S >> index 43512d4d7df2..6d598e7051c3 100644 >> --- a/arch/arm64/kernel/entry.S >>

Re: [PATCH 0/6] mm: make movable onlining suck less

2017-04-05 Thread Reza Arbab
On Wed, Apr 05, 2017 at 11:24:27AM +0200, Michal Hocko wrote: On Wed 05-04-17 08:42:39, Michal Hocko wrote: On Tue 04-04-17 16:43:39, Reza Arbab wrote: > It's new. Without this patchset, I can repeatedly > add_memory()->online_movable->offline->remove_memory() all of a node's > memory. This is

RE: [PATCH v2 1/2] x86/mce/AMD: Redo use of SMCA MCA_DE{STAT,ADDR} registers

2017-04-05 Thread Ghannam, Yazen
> -Original Message- > From: Borislav Petkov [mailto:b...@alien8.de] > Sent: Wednesday, April 05, 2017 9:40 AM > To: Ghannam, Yazen > Cc: linux-e...@vger.kernel.org; Tony Luck ; > x...@kernel.org; linux-kernel@vger.kernel.org > Subject: Re:

Re: [PATCH net-next] net: stmmac: allow changing the MTU while the interface is running

2017-04-05 Thread David Miller
From: Niklas Cassel Date: Tue, 4 Apr 2017 14:18:54 +0200 > From: Niklas Cassel > > Setting ethtool ops for stmmac is only allowed when the interface is up. > Setting MTU (a netdev op) for stmmac is only allowed when the interface > is down. > >

Re: [PATCH v6] vfio error recovery: kernel support

2017-04-05 Thread Michael S. Tsirkin
On Wed, Apr 05, 2017 at 04:54:33PM +0800, Cao jin wrote: > Apparently, I don't have experience to induce non-fatal error, device > error is more of a chance related with the environment(temperature, > humidity, etc) as I understand. I'm not sure how to interpret this statement. I think what Alex

Re: [PATCH v9 3/3] printk: fix double printing with earlycon

2017-04-05 Thread Andy Shevchenko
On Wed, Apr 5, 2017 at 11:20 PM, Aleksey Makarov wrote: > If a console was specified by ACPI SPCR table _and_ command line > parameters like "console=ttyAMA0" _and_ "earlycon" were specified, > then log messages appear twice. > > The root cause is that the code

Re: [PATCH -v6 07/13] futex: Rework inconsistent rt_mutex/futex_q state

2017-04-05 Thread Darren Hart
On Wed, Mar 22, 2017 at 11:35:54AM +0100, Peter Zijlstra wrote: > There is a weird state in the futex_unlock_pi() path when it > interleaves with a concurrent futex_lock_pi() at the point where it > drops hb->lock. > > In this case, it can happen that the rt_mutex wait_list and the > futex_q

Re: iov_iter_pipe warning.

2017-04-05 Thread Dave Jones
On Tue, Mar 21, 2017 at 04:59:01PM -0400, Dave Jones wrote: > WARNING: CPU: 0 PID: 9290 at lib/iov_iter.c:836 iov_iter_pipe+0x71/0x80 > CPU: 0 PID: 9290 Comm: trinity-c7 Not tainted 4.11.0-rc3-think+ #3 > Call Trace: > dump_stack+0x68/0x93 > __warn+0xcb/0xf0 >

Re: [PATCH] mm: vmscan: fix IO/refault regression in cache workingset transition

2017-04-05 Thread Rik van Riel
On Tue, 2017-04-04 at 18:00 -0400, Johannes Weiner wrote: > + > + /* > +  * When refaults are being observed, it means a new > workingset > +  * is being established. Disable active list protection to > get > +  * rid of the stale workingset quickly. > +  */ This looks a

vvvvv VALERO

2017-04-05 Thread Martin Parrish
roii V producing energy corporation usa is looking for a mediator to be our coordinator in Europe and Asia, which you will act as an intermediary between our company and the final buyer of petroleum products in those regions,Inform us if you are interested Martin Parrish (Vice-President

Re: [PATCH v6] vfio error recovery: kernel support

2017-04-05 Thread Alex Williamson
On Thu, 6 Apr 2017 00:50:22 +0300 "Michael S. Tsirkin" wrote: > On Wed, Apr 05, 2017 at 01:38:22PM -0600, Alex Williamson wrote: > > The previous intention of trying to handle all sorts of AER faults > > clearly had more value, though even there the implementation and > >

Re: [PATCH] fpga fr br: fix warning for unexpected version number

2017-04-05 Thread matthew . gerlach
On Wed, 5 Apr 2017, Moritz Fischer wrote: Hi Matthew, Hi Moritz, On Wed, Apr 5, 2017 at 12:05 PM, wrote: From: Matthew Gerlach The value in the version register of the altera freeze bridge controller changed from the

[PATCH] mwifiex: MAC randomization should not be persistent

2017-04-05 Thread Brian Norris
nl80211 provides the NL80211_SCAN_FLAG_RANDOM_ADDR for every scan request that should be randomized; the absence of such a flag means we should not randomize. However, mwifiex was stashing the latest randomization request and *always* using it for future scans, even those that didn't set the flag.

4.11.0-rc5-00011-g08e4e0d oops in mpt3sas driver

2017-04-05 Thread Brad Campbell
G'day All, This is a vaguely current git head kernel compiled yesterday. Oopsed and rebooted itself, and then oopsed and rebooted again. There was no sign of a raid rebuild in the kernel logs, and it's a staging machine so there is nothing running after a reboot that goes near these disks.

Re: [PATCH v2 6/9] mm: rmap: Use correct helper when poisoning hugepages

2017-04-05 Thread kbuild test robot
Hi Punit, [auto build test ERROR on arm64/for-next/core] [also build test ERROR on v4.11-rc5 next-20170405] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Punit-Agrawal/Support-swap-entries

Re: 4.11.0-rc5-00011-g08e4e0d oops in mpt3sas driver

2017-04-05 Thread Brad Campbell
On 06/04/17 08:30, Brad Campbell wrote: G'day All, This is a vaguely current git head kernel compiled yesterday. Oopsed and rebooted itself, and then oopsed and rebooted again. There was no sign of a raid rebuild in the kernel logs, and it's a staging machine so there is nothing running after

Re: [PATCH] Revert "Input: bma150 - avoid binding to bma180 if IIO bma180 driver present" and "Input: bma150 - extend chip detection for bma180"

2017-04-05 Thread H. Nikolaus Schaller
> Am 01.04.2017 um 18:46 schrieb Dmitry Torokhov : > > On Sat, Apr 01, 2017 at 04:59:26PM +0200, Hans de Goede wrote: >> Hi, >> >> On 01-04-17 16:44, H. Nikolaus Schaller wrote: >>> This reverts commit baf28d91e7b1 ("Input: bma150 - avoid binding to bma180 >>> if IIO

[WARNING] kernel/workqueue.c:2041 process_one_work (when cpu goes offline)

2017-04-05 Thread Steven Rostedt
Hi Tejun, My tests have started to recently trigger this warning quite often, which causes my tests to fail. The test that triggers this is running the mmiotracer which forces all but one CPU offline. [ cut here ] WARNING: CPU: 0 PID: 6 at

[PATCH v4] arm64: print a fault message when attempting to write RO memory

2017-04-05 Thread Stephen Boyd
If a page is marked read only we should print out that fact, instead of printing out that there was a page fault. Right now we get a cryptic error message that something went wrong with an unhandled fault, but we don't evaluate the esr to figure out that it was a read/write permission fault.

[PATCH v2] cris: remove unused wp_works_ok macro

2017-04-05 Thread Mathias Krause
It had no use since it's introduction in v2.4.1.2. Get rid of it. Cc: Mikael Starvik Signed-off-by: Mathias Krause Acked-by: Jesper Nilsson --- Same patch as v1 but as the tip folks took only the x86 parts, I think, this one

Re: [PATCH 00/24] Kernel lockdown

2017-04-05 Thread David Howells
Let me try sending this again again. Lee, Chun-Yi as a name causes the mail dispatcher to break :-/ David

Re: [PATCH] fpga fr br: fix warning for unexpected version number

2017-04-05 Thread Moritz Fischer
Hi Matthew, On Wed, Apr 5, 2017 at 12:05 PM, wrote: > From: Matthew Gerlach > > The value in the version register of the altera freeze bridge > controller changed from the beta value of 2 to the > value of 0xad03 in the

[PATCH 11/24] uswsusp: Disable when the kernel is locked down

2017-04-05 Thread David Howells
From: Matthew Garrett uswsusp allows a user process to dump and then restore kernel state, which makes it possible to modify the running kernel. Disable this if the kernel is locked down. Signed-off-by: Matthew Garrett Signed-off-by: David Howells

[PATCH 13/24] x86: Lock down IO port access when the kernel is locked down

2017-04-05 Thread David Howells
From: Matthew Garrett IO port access would permit users to gain access to PCI configuration registers, which in turn (on a lot of hardware) give access to MMIO register space. This would potentially permit root to trigger arbitrary DMA, so lock it down by default.

[PATCH 10/24] hibernate: Disable when the kernel is locked down

2017-04-05 Thread David Howells
From: Josh Boyer There is currently no way to verify the resume image when returning from hibernate. This might compromise the signed modules trust model, so until we can work with signed hibernate images we disable it when the kernel is locked down. Signed-off-by:

[PATCH 07/24] kexec: Disable at runtime if the kernel is locked down

2017-04-05 Thread David Howells
From: Matthew Garrett kexec permits the loading and execution of arbitrary code in ring 0, which is something that lock-down is meant to prevent. It makes sense to disable kexec in this situation. This does not affect kexec_file_load() which can check for a signature

[PATCH 06/24] Add a sysrq option to exit secure boot mode

2017-04-05 Thread David Howells
From: Kyle McMartin Make sysrq+x exit secure boot mode on x86_64, thereby allowing the running kernel image to be modified. This lifts the lockdown. Signed-off-by: Kyle McMartin Signed-off-by: David Howells cc: x...@kernel.org ---

Re: [PATCH v4 2/2] iio: Aspeed ADC

2017-04-05 Thread Stephen Boyd
On 03/23, Rick Altherr wrote: > + > +static int aspeed_adc_probe(struct platform_device *pdev) > +{ > + struct iio_dev *indio_dev; > + struct aspeed_adc_data *data; > + const struct aspeed_adc_model_data *model_data; > + struct resource *res; > + const char *clk_parent_name; >

Re: ia64 exceptions (Re: [RFC][CFT][PATCHSET v1] uaccess unification)

2017-04-05 Thread Al Viro
On Wed, Apr 05, 2017 at 11:44:23AM -0700, Tony Luck wrote: > On Wed, Apr 5, 2017 at 1:08 AM, Al Viro wrote: > > ... and sure enough, on generic kernel (CONFIG_ITANIUM) that yields a nice > > shiny oops at precisely that insn. > > The right fix here might be to delete all

[HMM 12/16] mm/migrate: support un-addressable ZONE_DEVICE page in migration

2017-04-05 Thread Jérôme Glisse
Allow to unmap and restore special swap entry of un-addressable ZONE_DEVICE memory. Signed-off-by: Jérôme Glisse Cc: Kirill A. Shutemov --- include/linux/migrate.h | 10 +++- mm/migrate.c| 136

[HMM 10/16] mm/hmm/mirror: helper to snapshot CPU page table v2

2017-04-05 Thread Jérôme Glisse
This does not use existing page table walker because we want to share same code for our page fault handler. Changes since v1: - Use spinlock instead of rcu synchronized list traversal Signed-off-by: Jérôme Glisse Signed-off-by: Evgeny Baskakov

[HMM 09/16] mm/hmm/mirror: mirror process address space on device with HMM helpers

2017-04-05 Thread Jérôme Glisse
This is a heterogeneous memory management (HMM) process address space mirroring. In a nutshell this provide an API to mirror process address space on a device. This boils down to keeping CPU and device page table synchronize (we assume that both device and CPU are cache coherent like PCIe device

Re: [RFC 00/10] V4L2 explicit synchronization support

2017-04-05 Thread Sakari Ailus
Hi Gustavo, On Wed, Apr 05, 2017 at 05:24:57PM +0200, Gustavo Padovan wrote: > Hi Sakari, > > 2017-04-04 Sakari Ailus : > > > Hi Gustavo, > > > > Thank you for the patchset. Please see my comments below. > > > > On Mon, Mar 13, 2017 at 04:20:25PM -0300, Gustavo Padovan

[PATCH] staging: rtl8192u: ieee80211: Fix space required after }.

2017-04-05 Thread Valerio Genovese
This was reported by checkpatch.pl: ERROR: space required after that close brace '}' Signed-off-by: Valerio Genovese --- drivers/staging/rtl8192u/ieee80211/rtl819x_BA.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v2] sparc: remove unused wp_works_ok macro

2017-04-05 Thread Mathias Krause
It's unused for ages, used to be required for ksyms.c back in the v1.1 times. Signed-off-by: Mathias Krause Acked-by: David S. Miller --- Hi Dave, same patch as v1 but as the tip folks took only the x86 parts, I think, this one should go through the

Re: [PATCH 4/4] net: dsa: LAN9303: add MDIO managed mode support

2017-04-05 Thread Andrew Lunn
> +static const struct of_device_id lan9303_mdio_of_match[] = { > + { .compatible = "smsc,lan9303" }, > + { /* sentinel */ }, > +}; > +MODULE_DEVICE_TABLE(of, lan9303_mdio_of_match); If i'm reading this right, i think you have the same compatible string for both the i2c and the mdio

Re: [kernel-hardening] [PATCH v2 1/7] bug: Clarify help text for BUG_ON_DATA_CORRUPTION

2017-04-05 Thread Kees Cook
On Tue, Apr 4, 2017 at 10:47 PM, Ian Campbell wrote: >> diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug >> index 77fadface4f9..5ac4d1148385 100644 >> --- a/lib/Kconfig.debug >> +++ b/lib/Kconfig.debug >> @@ -1998,9 +1998,12 @@ config BUG_ON_DATA_CORRUPTION >> > bool

Re: [PATCH 0/6] mm: make movable onlining suck less

2017-04-05 Thread Michal Hocko
On Wed 05-04-17 20:15:02, Michal Hocko wrote: > On Wed 05-04-17 12:32:49, Reza Arbab wrote: > > On Wed, Apr 05, 2017 at 05:42:59PM +0200, Michal Hocko wrote: > > >But one thing that is really bugging me is how could you see low pfns in > > >the previous oops. Please drop the last patch and

Re: [PATCH v2 0/3] fujitsu-laptop: call_fext_func() cleanup

2017-04-05 Thread Michał Kępień
> On Wed, Apr 05, 2017 at 08:50:20AM +0200, Michał Kępień wrote: > > This series contains a few cleanups for the call_fext_func() function. > > Just as a reminder, please note that v1 of this series is currently > > applied in testing. > > > > Changes from v1: > > > > - Update debug message

Re: [BUG] stack tracing causes: kernel/module.c:271 module_assert_mutex_or_preempt

2017-04-05 Thread Steven Rostedt
On Wed, 5 Apr 2017 12:39:28 -0700 "Paul E. McKenney" wrote: > > Here's the crucial part of that stack dump again: > > > > save_stack_trace+0x1b/0x1d > > check_stack+0xec/0x24a > > stack_trace_call+0x40/0x53 > > 0xa0026077 > > ?

[PATCH] clk: iproc: Remove redundant check

2017-04-05 Thread Ray Jui
Remove the redundant check of 'rate' in the if statement of the 'pll_set_rate' function Reported-by: David Binderman Signed-off-by: Ray Jui Fixes: 5fe225c105fd ("clk: iproc: add initial common clock support") --- drivers/clk/bcm/clk-iproc-pll.c | 2 +-

[PATCH 08/24] Copy secure_boot flag in boot params across kexec reboot

2017-04-05 Thread David Howells
From: Dave Young Kexec reboot in case secure boot being enabled does not keep the secure boot mode in new kernel, so later one can load unsigned kernel via legacy kexec_load. In this state, the system is missing the protections provided by secure boot. Adding a patch to fix

[PATCH 02/24] Add the ability to lock down access to the running kernel image

2017-04-05 Thread David Howells
Provide a single call to allow kernel code to determine whether the system should be locked down, thereby disallowing various accesses that might allow the running kernel image to be changed including the loading of modules that aren't validly signed with a key we recognise, fiddling with MSR

[PATCH 03/24] efi: Lock down the kernel if booted in secure boot mode

2017-04-05 Thread David Howells
UEFI Secure Boot provides a mechanism for ensuring that the firmware will only load signed bootloaders and kernels. Certain use cases may also require that all kernel modules also be signed. Add a configuration option that to lock down the kernel - which includes requiring validly signed modules

[PATCH 05/24] Restrict /dev/mem and /dev/kmem when the kernel is locked down

2017-04-05 Thread David Howells
From: Matthew Garrett Allowing users to write to address space makes it possible for the kernel to be subverted, avoiding module loading restrictions. Prevent this when the kernel has been locked down. Signed-off-by: Matthew Garrett

Re: [PATCH 1/3] x86/intel_rdt: Fix issue when mkdir uses a freed CLOSid

2017-04-05 Thread Fenghua Yu
On Wed, Apr 05, 2017 at 11:07:37AM -0700, Luck, Tony wrote: > On Wed, Apr 05, 2017 at 05:20:24PM +0200, Thomas Gleixner wrote: > > That's just wrong. > > > > The proper behaviour for a new control group is, that at the time when it > > is created it copies the CBM values of the default group and

[HMM 16/16] hmm: heterogeneous memory management documentation

2017-04-05 Thread Jérôme Glisse
This add documentation for HMM (Heterogeneous Memory Management). It presents the motivation behind it, the features necessary for it to be useful and and gives an overview of how this is implemented. Signed-off-by: Jérôme Glisse --- Documentation/vm/hmm.txt | 362

[HMM 11/16] mm/hmm/mirror: device page fault handler

2017-04-05 Thread Jérôme Glisse
This handle page fault on behalf of device driver, unlike handle_mm_fault() it does not trigger migration back to system memory for device memory. Signed-off-by: Jérôme Glisse Signed-off-by: Evgeny Baskakov Signed-off-by: John Hubbard

[HMM 14/16] mm/hmm/devmem: device memory hotplug using ZONE_DEVICE

2017-04-05 Thread Jérôme Glisse
This introduce a simple struct and associated helpers for device driver to use when hotpluging un-addressable device memory as ZONE_DEVICE. It will find a unuse physical address range and trigger memory hotplug for it which allocates and initialize struct page for the device memory.

[HMM 15/16] mm/hmm/devmem: dummy HMM device for ZONE_DEVICE memory v2

2017-04-05 Thread Jérôme Glisse
This introduce a dummy HMM device class so device driver can use it to create hmm_device for the sole purpose of registering device memory. It is useful to device driver that want to manage multiple physical device memory under same struct device umbrella. Changed since v1: - Improve commit

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