Re: [Nouveau] [regression drm/noveau] suspend to ram -> BOOM: exception RIP: drm_calc_vbltimestamp_from_scanoutpos+335

2017-07-14 Thread Karol Herbst
Yeah, we shouldn't let the machine die. Are there more WARN_ON_ONCE usage we could convert to WARN_ONCE? Reviewed-By: Karol Herbst On Fri, Jul 14, 2017 at 5:05 PM, Tobias Klausmann wrote: > On 7/14/17 3:41 PM, Mike Galbraith wrote: >> >> On Fri, 2017-07-14 at 15:36 +0200, Mike Galbraith wrote:

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

2017-07-14 Thread Leon Romanovsky
On Fri, Jul 14, 2017 at 10:33:54AM -0400, Doug Ledford wrote: > So, you need to take your pick. Do you want continuous development, or > do you want me bending over backwards to try and avoid your company's > endless stream of conflicts so Linus isn't yelling about that? Doug, You are mixing my

Re: [regression drm/noveau] suspend to ram -> BOOM: exception RIP: drm_calc_vbltimestamp_from_scanoutpos+335

2017-07-14 Thread Mike Galbraith
On Fri, 2017-07-14 at 17:05 +0200, Tobias Klausmann wrote: > On 7/14/17 3:41 PM, Mike Galbraith wrote: > > On Fri, 2017-07-14 at 15:36 +0200, Mike Galbraith wrote: > >>  All DRM did was to slip a > >> WARN_ON_ONCE() that nouveau triggers into a kernel module where such > >> things no longer warn,

Re: [PATCH 3/9] regulator: mt6380: Add support for MT6380

2017-07-14 Thread Mark Brown
On Fri, Jul 14, 2017 at 11:06:08PM +0800, Sean Wang wrote: > We usually want to use /sys/class/regulator/regulator.*/status to get > actual status from hardware, but if we remove the get_status(), the > status entry under sysfs would be gone. So could I keep the get_status > callback in this drive

Re: [kernel-hardening] Re: [RFC PATCH 6/6] arm64: add VMAP_STACK and detect out-of-bounds SP

2017-07-14 Thread Ard Biesheuvel
On 14 July 2017 at 16:03, Robin Murphy wrote: > On 14/07/17 15:39, Robin Murphy wrote: >> On 14/07/17 15:06, Mark Rutland wrote: >>> On Fri, Jul 14, 2017 at 01:27:14PM +0100, Ard Biesheuvel wrote: On 14 July 2017 at 11:48, Ard Biesheuvel wrote: > On 14 July 2017 at 11:32, Mark Rutland w

Re: [Nouveau] [regression drm/noveau] suspend to ram -> BOOM: exception RIP: drm_calc_vbltimestamp_from_scanoutpos+335

2017-07-14 Thread Mike Galbraith
On Fri, 2017-07-14 at 17:10 +0200, Karol Herbst wrote: > Yeah, we shouldn't let the machine die. Are there more WARN_ON_ONCE > usage we could convert to WARN_ONCE? Shooting the messenger is generally considered uncool :) -Mike

Re: [Nouveau] [regression drm/noveau] suspend to ram -> BOOM: exception RIP: drm_calc_vbltimestamp_from_scanoutpos+335

2017-07-14 Thread Ilia Mirkin
On Fri, Jul 14, 2017 at 11:15 AM, Mike Galbraith wrote: > On Fri, 2017-07-14 at 17:10 +0200, Karol Herbst wrote: >> Yeah, we shouldn't let the machine die. Are there more WARN_ON_ONCE >> usage we could convert to WARN_ONCE? > > Shooting the messenger is generally considered uncool :) That's never

Re: [PATCH] printk: Move printk_delay to separate file

2017-07-14 Thread Petr Mladek
On Fri 2017-07-07 22:44:19, Joe Perches wrote: > On Sat, 2017-07-08 at 14:24 +0900, Sergey Senozhatsky wrote: > > On (07/07/17 11:08), Joe Perches wrote: > > > printk.c is a huge file with too many local functions for a > > > human to read and easily parse. > > > > > > Start to separate out bits i

Re: [Nouveau] [regression drm/noveau] suspend to ram -> BOOM: exception RIP: drm_calc_vbltimestamp_from_scanoutpos+335

2017-07-14 Thread Tobias Klausmann
The conversion is a nice catch, but i'd like to have a bit more context, see below! With a better description: Tobias Klausmann On 7/14/17 5:10 PM, Karol Herbst wrote: Yeah, we shouldn't let the machine die. Are there more WARN_ON_ONCE usage we could convert to WARN_ONCE? Reviewed-By: Karo

Re: [Nouveau] [regression drm/noveau] suspend to ram -> BOOM: exception RIP: drm_calc_vbltimestamp_from_scanoutpos+335

2017-07-14 Thread Ilia Mirkin
On Fri, Jul 14, 2017 at 11:19 AM, Tobias Klausmann wrote: > The conversion is a nice catch, but i'd like to have a bit more context, see > below! > > With a better description: > > Tobias Klausmann I don't think it was meant as a serious patch. WARN_ON_ONCE should work. The fix isn't to remove a

Re: [PATCH v2] xattr: Enable security.capability in user namespaces

2017-07-14 Thread Stefan Berger
On 07/14/2017 09:34 AM, Serge E. Hallyn wrote: Quoting Stefan Berger (stef...@linux.vnet.ibm.com): On 07/13/2017 08:38 PM, Eric W. Biederman wrote: Stefan Berger writes: On 07/13/2017 01:49 PM, Eric W. Biederman wrote: My big question right now is can you implement Ted's suggested restrict

Re: [kernel-hardening] Re: [RFC PATCH 6/6] arm64: add VMAP_STACK and detect out-of-bounds SP

2017-07-14 Thread Mark Rutland
On Fri, Jul 14, 2017 at 04:03:51PM +0100, Robin Murphy wrote: > On 14/07/17 15:39, Robin Murphy wrote: > > On 14/07/17 15:06, Mark Rutland wrote: > >>add sp, sp, x0 // sp = orig_sp + orig_x0 > >>sub x0, sp, x0 // x0 = orig_sp > >>< check > > >>sub x0, sp, x0

Re: [PATCH 00/12] staging: ccree: coding style fixes

2017-07-14 Thread Gilad Ben-Yossef
On Fri, Jul 14, 2017 at 2:39 PM, Greg Kroah-Hartman wrote: > On Thu, Jul 13, 2017 at 11:19:50AM +0300, Gilad Ben-Yossef wrote: >> Another batch of ccree coding style fixes. >> >> These goes on top of commit a8c4ae12 ("staging: ccree: Fix alignment issues >> in ssi_sysfs.c") >> in staging-testing.

[PATCH] ARC: clk: introduce HSDKv1 pll driver

2017-07-14 Thread Eugeniy Paltsev
HSDKv1 boards manages it's clocks using various PLLs. These PLL has same dividers and corresponding control registers mapped to different addresses. So we add one common driver for such PLLs. Each PLL on HSDK board consist of three dividers: IDIV, FBDIV and ODIV. Output clock value is managed usin

Re: [RFC PATCH v1 00/11] Create fast idle path for short idle periods

2017-07-14 Thread Peter Zijlstra
On Fri, Jul 14, 2017 at 11:56:33AM +0800, Li, Aubrey wrote: > On 2017/7/14 2:28, Peter Zijlstra wrote: > > On Thu, Jul 13, 2017 at 11:13:28PM +0800, Li, Aubrey wrote: > >> On 2017/7/13 22:53, Peter Zijlstra wrote: > > > >>> Fixing C-state selection by creating an alternative idle path sounds so >

Re: [PATCH 2/6] docs-rst: update Sphinx install instructions

2017-07-14 Thread Jonathan Corbet
On Fri, 14 Jul 2017 08:08:19 -0300 Mauro Carvalho Chehab wrote: > +Please see :ref:`sphinx_install` at the doc-guide for details about > +Sphinx requirements. One small comment here: formatting things this way assumes that people are reading the documentation in a web browser. Can we replace "a

Re: [PATCH] printk: Move printk_delay to separate file

2017-07-14 Thread Joe Perches
On Fri, 2017-07-14 at 17:17 +0200, Petr Mladek wrote: > On Fri 2017-07-07 22:44:19, Joe Perches wrote: > > On Sat, 2017-07-08 at 14:24 +0900, Sergey Senozhatsky wrote: > > > On (07/07/17 11:08), Joe Perches wrote: > > > > printk.c is a huge file with too many local functions for a > > > > human to

Re: [PATCH v12 6/8] mm: support reporting free page blocks

2017-07-14 Thread Michael S. Tsirkin
On Fri, Jul 14, 2017 at 02:54:30PM +0200, Michal Hocko wrote: > On Fri 14-07-17 14:30:23, Michal Hocko wrote: > > On Wed 12-07-17 20:40:19, Wei Wang wrote: > > > This patch adds support for reporting blocks of pages on the free list > > > specified by the caller. > > > > > > As pages can leave the

[PATCH] drm: arcpgu: Fix mmap() callback

2017-07-14 Thread Jose Abreu
Now that ARC properly supports DMA mmapping we can use the standard CMA helper to map dumb buffers. This makes ARC PGU works with standard DRM consumer applications like, for example, mpv via DRM. This fixes the use of dumb buffers. Signed-off-by: Jose Abreu Fixes: 0c4250e7b15e ("drm: Add suppor

Re: [regression drm/noveau] suspend to ram -> BOOM: exception RIP: drm_calc_vbltimestamp_from_scanoutpos+335

2017-07-14 Thread Peter Zijlstra
On Fri, Jul 14, 2017 at 03:36:08PM +0200, Mike Galbraith wrote: > Ok, a network outage gave me time to go hunting.  Indeed it is a bad > interaction with the tree DRM merged into.  All DRM did was to slip a > WARN_ON_ONCE() that nouveau triggers into a kernel module where such > things no longer wa

Re: [PATCH 2/2] dt-bindings: mfd: Add bindings for ZII RAVE devices

2017-07-14 Thread Rob Herring
On Mon, Jul 10, 2017 at 10:04:49AM -0700, Andrey Smirnov wrote: > Cc: cphe...@gmail.com > Cc: Lucas Stach > Cc: Nikita Yushchenko > Cc: Rob Herring > Cc: Mark Rutland > Cc: devicet...@vger.kernel.org > Signed-off-by: Andrey Smirnov > --- > .../devicetree/bindings/mfd/zii,rave-sp.txt|

Re: [RFC PATCH v1 00/11] Create fast idle path for short idle periods

2017-07-14 Thread Arjan van de Ven
On 7/14/2017 8:38 AM, Peter Zijlstra wrote: No, that's wrong. We want to fix the normal C state selection process to pick the right C state. The fast-idle criteria could cut off a whole bunch of available C states. We need to understand why our current C state pick is wrong and amend the algorit

Re: [RFC PATCH v1 00/11] Create fast idle path for short idle periods

2017-07-14 Thread Andi Kleen
> > - if (cpuidle_not_available(drv, dev)) { > > + if (cpuidle_not_available(drv, dev) || this_is_a_fast_idle) { > > default_idle_call(); > > goto exit_idle; > > } > > No, that's wrong. We want to fix the normal C state selection process to > pick the right C state.

[GIT PULL] NTB bug fixes for v4.13

2017-07-14 Thread Jon Mason
Hello Linus, Here are a number of NTB changes for 4.13. The major change in the series is a rework of the NTB infrastructure to all for IDT hardware to be supported (and resulting fallout from that). There are also a few clean-ups, etc. This series has been tested very heavily on the previous ver

Re: [Nouveau] [regression drm/noveau] suspend to ram -> BOOM: exception RIP: drm_calc_vbltimestamp_from_scanoutpos+335

2017-07-14 Thread Peter Zijlstra
On Fri, Jul 14, 2017 at 11:20:01AM -0400, Ilia Mirkin wrote: > On Fri, Jul 14, 2017 at 11:19 AM, Tobias Klausmann > wrote: > > The conversion is a nice catch, but i'd like to have a bit more context, see > > below! > > > > With a better description: > > > > Tobias Klausmann > > I don't think it

Re: [PATCH] printk: Move printk_delay to separate file

2017-07-14 Thread Petr Mladek
On Fri 2017-07-07 11:08:59, Joe Perches wrote: > printk.c is a huge file with too many local functions for a > human to read and easily parse. > > Start to separate out bits into smaller files. > > Miscellanea: > > o Rename suppress_message_printing to printk_suppress_message Some renaming migh

Re: [PATCH v2] sctp: don't dereference ptr before leaving _sctp_walk_{params,errors}()

2017-07-14 Thread David Miller
From: Alexander Potapenko Date: Fri, 14 Jul 2017 12:03:29 +0200 > v2: per comment from David Miller, make sure the whole iterator->length > fits into the remaining buffer. Please compile and functionally test your changes: In file included from ./include/linux/compiler.h:58:0,

Re: [RFC PATCH v1 00/11] Create fast idle path for short idle periods

2017-07-14 Thread Peter Zijlstra
On Fri, Jul 14, 2017 at 08:52:28AM -0700, Arjan van de Ven wrote: > On 7/14/2017 8:38 AM, Peter Zijlstra wrote: > > No, that's wrong. We want to fix the normal C state selection process to > > pick the right C state. > > > > The fast-idle criteria could cut off a whole bunch of available C > > sta

Re: [regression drm/noveau] suspend to ram -> BOOM: exception RIP: drm_calc_vbltimestamp_from_scanoutpos+335

2017-07-14 Thread Mike Galbraith
On Fri, 2017-07-14 at 17:50 +0200, Peter Zijlstra wrote: > On Fri, Jul 14, 2017 at 03:36:08PM +0200, Mike Galbraith wrote: > > Ok, a network outage gave me time to go hunting.  Indeed it is a bad > > interaction with the tree DRM merged into.  All DRM did was to slip a > > WARN_ON_ONCE() that nouve

Re: [PATCH 10/22] bnx2x: fix format overflow warning

2017-07-14 Thread David Miller
From: Arnd Bergmann Date: Fri, 14 Jul 2017 14:07:02 +0200 > gcc notices that large queue numbers would overflow the queue name > string: > > drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c: In function > 'bnx2x_get_strings': > drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c:3165:25: err

Re: [PATCH 09/22] net: niu: fix format string overflow warning:

2017-07-14 Thread David Miller
From: Arnd Bergmann Date: Fri, 14 Jul 2017 14:07:01 +0200 > We get a warning for the port_name string that might be longer than > six characters if we had more than 10 ports: > > drivers/net/ethernet/sun/niu.c: In function 'niu_put_parent': > drivers/net/ethernet/sun/niu.c:9563:21: error: '%d' d

Re: [PATCH 08/22] isdn: divert: fix sprintf buffer overflow warning

2017-07-14 Thread David Miller
From: Arnd Bergmann Date: Fri, 14 Jul 2017 14:07:00 +0200 > One string we pass into the cs->info buffer might be too long, > as pointed out by gcc: > > drivers/isdn/divert/isdn_divert.c: In function 'll_callback': > drivers/isdn/divert/isdn_divert.c:488:22: error: '%d' directive writing > betwe

Re: [RFC PATCH v1 00/11] Create fast idle path for short idle periods

2017-07-14 Thread Andi Kleen
On Fri, Jul 14, 2017 at 05:58:53PM +0200, Peter Zijlstra wrote: > On Fri, Jul 14, 2017 at 08:52:28AM -0700, Arjan van de Ven wrote: > > On 7/14/2017 8:38 AM, Peter Zijlstra wrote: > > > No, that's wrong. We want to fix the normal C state selection process to > > > pick the right C state. > > > > >

Re: [PATCH 13/22] liquidio: fix possible eeprom format string overflow

2017-07-14 Thread David Miller
From: Arnd Bergmann Date: Fri, 14 Jul 2017 14:07:05 +0200 > gcc reports that the temporary buffer for computing the > string length may be too small here: > > drivers/net/ethernet/cavium/liquidio/lio_ethtool.c: In function > 'lio_get_eeprom_len': > /drivers/net/ethernet/cavium/liquidio/lio_etht

Re: [PATCH 11/22] net: thunder_bgx: avoid format string overflow warning

2017-07-14 Thread David Miller
From: Arnd Bergmann Date: Fri, 14 Jul 2017 14:07:03 +0200 > gcc warns that the temporary buffer might be too small here: > > drivers/net/ethernet/cavium/thunder/thunder_bgx.c: In function 'bgx_probe': > drivers/net/ethernet/cavium/thunder/thunder_bgx.c:1020:16: error: '%d' > directive writing b

Re: [PATCH 12/22] vmxnet3: avoid format strint overflow warning

2017-07-14 Thread David Miller
From: Arnd Bergmann Date: Fri, 14 Jul 2017 14:07:04 +0200 > gcc-7 notices that "-event-%d" could be more than 11 characters long > if we had larger 'vector' numbers: > > drivers/net/vmxnet3/vmxnet3_drv.c: In function 'vmxnet3_activate_dev': > drivers/net/vmxnet3/vmxnet3_drv.c:2095:40: error: 'sp

Re: [PATCH v3 7/9] vfio: Use driver_override to avert binding to compromising drivers

2017-07-14 Thread Alex Williamson
Hi Greg, On Thu, 13 Jul 2017 10:23:14 +0200 Greg KH wrote: > On Tue, Jul 11, 2017 at 10:41:16AM -0600, Alex Williamson wrote: > > Let me give a concrete scenario, I have a dual-port conventional PCI > > e1000 NIC. The IOMMU operates on PCIe requester IDs and therefore both > > NIC functions are

Re: [PATCH v2 6/6] dt-bindings: i2c: Add FSI-attached I2C master dt binding documentation

2017-07-14 Thread Rob Herring
On Mon, Jul 10, 2017 at 01:38:02PM -0500, Eddie James wrote: > From: "Edward A. James" > > Document the bindings. > > Signed-off-by: Edward A. James > --- > Documentation/devicetree/bindings/i2c/i2c-fsi.txt | 40 > +++ > 1 file changed, 40 insertions(+) > create mode 1006

Re: [PATCH 1/3] mfd: syscon: update Atmel SMC binding doc

2017-07-14 Thread Rob Herring
On Tue, Jul 11, 2017 at 09:40:13AM +0200, Ludovic Desroches wrote: > A new compatible string is introduced for SMC on sama5d2 to manage a > different layout of the registers. > > Signed-off-by: Ludovic Desroches > --- > Documentation/devicetree/bindings/mfd/atmel-smc.txt | 1 + > 1 file changed,

Re: [RFC PATCH v1 00/11] Create fast idle path for short idle periods

2017-07-14 Thread Peter Zijlstra
On Fri, Jul 14, 2017 at 08:53:56AM -0700, Andi Kleen wrote: > > > - if (cpuidle_not_available(drv, dev)) { > > > + if (cpuidle_not_available(drv, dev) || this_is_a_fast_idle) { > > > default_idle_call(); > > > goto exit_idle; > > > } > > > > No, that's wrong. We want to fix t

Re: [PATCH V2 02/10] dt-bindings: Add Spreadtrum clock binding documentation

2017-07-14 Thread Rob Herring
On Tue, Jul 11, 2017 at 06:56:19PM +0800, Chunyan Zhang wrote: > Introduce a new binding with its documentation for Spreadtrum clock > sub-framework. > > Signed-off-by: Chunyan Zhang > --- > Documentation/devicetree/bindings/clock/sprd.txt | 36 > > 1 file changed, 36 i

Re: [regression drm/noveau] suspend to ram -> BOOM: exception RIP: drm_calc_vbltimestamp_from_scanoutpos+335

2017-07-14 Thread Peter Zijlstra
On Fri, Jul 14, 2017 at 05:58:18PM +0200, Mike Galbraith wrote: > On Fri, 2017-07-14 at 17:50 +0200, Peter Zijlstra wrote: > > Urgh, is for some mysterious reason the __bug_table section of modules > > ending up in RO memory? > > > > I forever get lost in that link magic :/ > > +1 > > drm.ko >

Re: [PATCH 2/6] docs-rst: update Sphinx install instructions

2017-07-14 Thread Markus Heiser
> Am 14.07.2017 um 17:44 schrieb Jonathan Corbet : > > On Fri, 14 Jul 2017 08:08:19 -0300 > Mauro Carvalho Chehab wrote: > >> +Please see :ref:`sphinx_install` at the doc-guide for details about >> +Sphinx requirements. > > One small comment here: formatting things this way assumes that people

Re: [PATCH 02/32] tracing: Reimplement log2

2017-07-14 Thread Tom Zanussi
Hi Namhyung, On Fri, 2017-07-14 at 11:33 +0900, Namhyung Kim wrote: > On Mon, Jun 26, 2017 at 05:49:03PM -0500, Tom Zanussi wrote: > > log2 as currently implemented applies only to u64 trace_event_field > > derived fields, and assumes that anything it's applied to is a u64 > > field. > > > > To p

Re: [PATCH] printk: Move printk_delay to separate file

2017-07-14 Thread Joe Perches
On Fri, 2017-07-14 at 17:57 +0200, Petr Mladek wrote: > On Fri 2017-07-07 11:08:59, Joe Perches wrote: > > printk.c is a huge file with too many local functions for a > > human to read and easily parse. > > > > Start to separate out bits into smaller files. > > > > Miscellanea: > > > > o Rename

Re: [PATCH 03/32] ring-buffer: Add interface for setting absolute time stamps

2017-07-14 Thread Tom Zanussi
Hi Namhyung, On Fri, 2017-07-14 at 14:25 +0900, Namhyung Kim wrote: > On Mon, Jun 26, 2017 at 05:49:04PM -0500, Tom Zanussi wrote: > > Define a new function, tracing_set_time_stamp_abs(), which can be used > > to enable or disable the use of absolute timestamps rather than time > > deltas for a tr

Re: [RFC PATCH v1 00/11] Create fast idle path for short idle periods

2017-07-14 Thread Andi Kleen
> And as said; Daniel has been working on a better predictor -- now he's > probably not used it on the network workload you're looking at, so that > might be something to consider. Deriving a better idle predictor is a bit orthogonal to fast idle. It would be a good idea to set the fast idle thre

[PATCH v3] sctp: don't dereference ptr before leaving _sctp_walk_{params,errors}()

2017-07-14 Thread Alexander Potapenko
If the length field of the iterator (|pos.p| or |err|) is past the end of the chunk, we shouldn't access it. This bug has been detected by KMSAN. For the following pair of system calls: socket(PF_INET6, SOCK_STREAM, 0x84 /* IPPROTO_??? */) = 3 sendto(3, "A", 1, MSG_OOB, {sa_family=AF_INET6, s

Re: [PATCH v2] sctp: don't dereference ptr before leaving _sctp_walk_{params,errors}()

2017-07-14 Thread Alexander Potapenko
On Fri, Jul 14, 2017 at 5:58 PM, David Miller wrote: > From: Alexander Potapenko > Date: Fri, 14 Jul 2017 12:03:29 +0200 > >> v2: per comment from David Miller, make sure the whole iterator->length >> fits into the remaining buffer. > > Please compile and functionally test your changes: > >

Re: [regression drm/noveau] suspend to ram -> BOOM: exception RIP: drm_calc_vbltimestamp_from_scanoutpos+335

2017-07-14 Thread Mike Galbraith
On Fri, 2017-07-14 at 18:10 +0200, Peter Zijlstra wrote: > On Fri, Jul 14, 2017 at 05:58:18PM +0200, Mike Galbraith wrote: > > On Fri, 2017-07-14 at 17:50 +0200, Peter Zijlstra wrote: > > > > Urgh, is for some mysterious reason the __bug_table section of modules > > > ending up in RO memory? > > >

[PATCH] auxdisplay: constify charlcd_ops.

2017-07-14 Thread Arvind Yadav
charlcd_ops are not supposed to change at runtime. All functions working with charlcd_ops provided by work with const charlcd_ops. So mark the non-const structs as const. File size before: textdata bss dec hex filename 12750 560 362 136723568 drivers/auxdisplay/

[PATCH] perf/x86/intel: Fix debug_store reset field for freq events

2017-07-14 Thread Jiri Olsa
There's a bug in PEBs event enabling code, that prevents PEBS freq events to work properly after non freq PEBS event was run. freq events - perf_event_attr::freq set -F option of perf record PEBS events - perf_event_attr::precise_ip > 0 default for perf record Like i

Re: [GIT PULL] Please pull NFS client changes for Linux 4.13

2017-07-14 Thread J. Bruce Fields
On Fri, Jul 14, 2017 at 10:25:43AM -0400, Dave Jones wrote: > On Thu, Jul 13, 2017 at 05:16:24PM -0400, Anna Schumaker wrote: > > Hi Linus, > > > > The following changes since commit > 32c1431eea4881a6b17bd7c639315010aeefa452: > > > > Linux 4.12-rc5 (2017-06-11 16:48:20 -0700) > > > >

Re: [PATCH v2] KVM: arm/arm64: Handle hva aging while destroying the vm

2017-07-14 Thread Suzuki K Poulose
On 06/07/17 10:42, Christoffer Dall wrote: On Thu, Jul 06, 2017 at 10:34:58AM +0100, Suzuki K Poulose wrote: On 06/07/17 08:45, Christoffer Dall wrote: On Thu, Jul 06, 2017 at 09:07:49AM +0200, Alexander Graf wrote: On 05.07.17 10:57, Suzuki K Poulose wrote: Hi Alex, On Wed, Jul 05, 2017 a

[PATCH v2 4/6] sphinx.rst: fix unknown reference

2017-07-14 Thread Mauro Carvalho Chehab
There's no "Sphinx C Domain" reference at the Kernel documentation. So, don't use references for it. Signed-off-by: Mauro Carvalho Chehab --- Documentation/doc-guide/sphinx.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/doc-guide/sphinx.rst b/Documentation

[PATCH v2 2/6] docs-rst: move Sphinx install instructions to sphinx.rst

2017-07-14 Thread Mauro Carvalho Chehab
The toolchain used by Sphinx is somewhat complex, and installing it should be part of the doc-guide. Move it out of changes.rst. Signed-off-by: Mauro Carvalho Chehab --- Documentation/doc-guide/sphinx.rst | 17 + Documentation/process/changes.rst | 14 ++ 2 files ch

[PATCH v2 6/6] sphinx.rst: better organize the documentation about PDF build

2017-07-14 Thread Mauro Carvalho Chehab
Instead of having it on just one note, add a separate section. This way, we could later improve it, providing a better guide about the needed steps for PDF builds. Signed-off-by: Mauro Carvalho Chehab --- Documentation/doc-guide/sphinx.rst | 21 + 1 file changed, 13 insertio

[PATCH v2 5/6] sphinx.rst: describe the install requirements for kfigure

2017-07-14 Thread Mauro Carvalho Chehab
As we now have a document describing the install requirements for Sphinx, add there the need for GraphViz and ImageMagick. Signed-off-by: Mauro Carvalho Chehab --- Documentation/doc-guide/sphinx.rst | 13 + 1 file changed, 13 insertions(+) diff --git a/Documentation/doc-guide/sphinx

[PATCH v2 0/6] Better document Sphinx install instructions

2017-07-14 Thread Mauro Carvalho Chehab
The Sphinx build chain is fragile: any upgrades can cause it to break. That's what happened this week, when I upgraded my machines to Fedora 26. So, add a separate chapter at sphinx.rst with Sphinx install instructions, moving it out of changes.rst. and better name patch 2/6. v2: improved the te

Re: [PATCH] auxdisplay: constify charlcd_ops.

2017-07-14 Thread Andy Shevchenko
On Fri, 2017-07-14 at 22:04 +0530, Arvind Yadav wrote: > charlcd_ops are not supposed to change at runtime. All functions > working with charlcd_ops provided by work with > const charlcd_ops. So mark the non-const structs as const. > > File size before: >    text    data bss dec    

Re: [PATCH 3.18 36/68] Handle mismatched open calls

2017-07-14 Thread Ben Hutchings
On Fri, 2017-05-05 at 11:32 -0700, Greg Kroah-Hartman wrote: > 3.18-stable review patch.  If anyone has any objections, please let me know. > > -- > > From: Sachin Prabhu > > commit 38bd49064a1ecb67baad33598e3d824448ab11ec upstream. [...] > --- a/fs/cifs/smb2ops.c > +++ b/fs/cif

[PATCH v2 3/6] sphinx.rst: explain the usage of virtual environment

2017-07-14 Thread Mauro Carvalho Chehab
As the Sphinx build seems very fragile, specially for PDF output, add a notice about how to use it on a virtual environment. Signed-off-by: Mauro Carvalho Chehab --- Documentation/doc-guide/sphinx.rst | 32 1 file changed, 32 insertions(+) diff --git a/Documenta

[PATCH v2 1/6] changes.rst: Update Sphinx minimal requirements

2017-07-14 Thread Mauro Carvalho Chehab
The kfigure module doesn't work with Sphinx version 1.2. So, update the minimal requirements accordingly. Signed-off-by: Mauro Carvalho Chehab --- Documentation/process/changes.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Documentation/process/changes.rst b/Docu

Re: [PATCH v7 2/3] media: i2c: adv748x: add adv748x driver

2017-07-14 Thread Kieran Bingham
Hi Niklas On 13/07/17 07:28, Niklas Söderlund wrote: > > Hi Kieran, > > Thanks for your hard work. And thank you for your support! > On 2017-07-06 12:01:16 +0100, Kieran Bingham wrote: >> From: Kieran Bingham >> >> Provide support for the ADV7481 and ADV7482. >> >> The driver is modelled with

[PATCH RFC] scripts/sphinx-pre-install: add a script to check Sphinx install

2017-07-14 Thread Mauro Carvalho Chehab
Solving Sphinx dependencies can be painful. Add a script to check if everything is ok. Signed-off-by: Mauro Carvalho Chehab --- For now, this is just a RFC for a script that would detect (and eventually install) the dependencies for Sphinx builds. I tested it only with Ubuntu 17.04, as I create

Re: [PATCH 1/4] kasan: support alloca() poisoning

2017-07-14 Thread Andrey Ryabinin
On 07/14/2017 01:49 AM, Greg Hackmann wrote: > On 07/10/2017 03:30 AM, Andrey Ryabinin wrote: >> gcc now supports this too. So I think this patch should enable it. >> It's off by default so you'll have to add --param asan-instrument-allocas=1 >> into cflags >> to make it work > > Thanks, will fix

Re: [PATCH 2/2] mfd: ds1374: Add Dallas/Maxim DS1374 Multi Function Device

2017-07-14 Thread Moritz Fischer
Hi Guenter, On Thu, Jul 13, 2017 at 08:57:52PM -0700, Guenter Roeck wrote: > On 07/13/2017 12:54 PM, Moritz Fischer wrote: > > From: Moritz Fischer > > > > Add support for the Maxim/Dallas DS1374 RTC/WDT with trickle charger. > > The device can either be configured as simple RTC, as simple RTC w

Re: [PATCH] spmi: pmic-arb: Always allocate ppid_to_apid table

2017-07-14 Thread Andy Gross
On Mon, Jun 26, 2017 at 07:17:46PM -0700, Stephen Boyd wrote: > After commit 7f1d4e58dabb ("spmi: pmic-arb: optimize table > lookups") we always need the ppid_to_apid table regardless of the > version of pmic arbiter we have. Otherwise, we will try to deref > the array when we don't allocate it on

[PATCH] ipv6: initialize treq->txhash in cookie_v6_check()

2017-07-14 Thread Alexander Potapenko
KMSAN reported use of uninitialized memory in skb_set_hash_from_sk(), which originated from the TCP request socket created in cookie_v6_check(): == BUG: KMSAN: use of uninitialized memory in tcp_transmit_skb+0xf77/0x3ec0 CPU: 1 PID

Re: [PATCH] MAINTAINERS: Add entry for SPMI subsystem

2017-07-14 Thread Andy Gross
On Wed, Jun 21, 2017 at 11:47:50AM -0700, Stephen Boyd wrote: > I have the hardware and I've been reviewing SPMI patches when > they come on the list. Add myself as a reviewer in this area and > add the linux-arm-msm list because people subscribed there also > have the hardware. > > Cc: Kiran Gund

Re: [PATCH] ipv6: initialize treq->txhash in cookie_v6_check()

2017-07-14 Thread Neal Cardwell
On Fri, Jul 14, 2017 at 12:54 PM, Alexander Potapenko wrote: > KMSAN reported use of uninitialized memory in skb_set_hash_from_sk(), > which originated from the TCP request socket created in > cookie_v6_check(): ... > --- a/net/ipv6/syncookies.c > +++ b/net/ipv6/syncookies.c > @@ -216,6 +216,7 @@

Re: [PATCH V4 3/6] iommu/arm-smmu: Invoke pm_runtime during probe, add/remove device

2017-07-14 Thread Will Deacon
On Thu, Jul 13, 2017 at 10:55:10AM -0400, Rob Clark wrote: > On Thu, Jul 13, 2017 at 9:53 AM, Sricharan R wrote: > > Hi, > > > > On 7/13/2017 5:20 PM, Rob Clark wrote: > >> On Thu, Jul 13, 2017 at 1:35 AM, Sricharan R > >> wrote: > >>> Hi Vivek, > >>> > >>> On 7/13/2017 10:43 AM, Vivek Gautam wr

Re: [PATCH v3 00/10] x86: ORC unwinder (previously undwarf)

2017-07-14 Thread Josh Poimboeuf
On Wed, Jul 12, 2017 at 09:27:50PM +0200, Ingo Molnar wrote: > Maybe we could offer a menu of unwinders - i.e. make the whole Kconfig > interface a > bit nicer: > > CONFIG_UNWINDER_FRAME_POINTER > CONFIG_UNWINDER_ORC > CONFIG_UNWINDER_GUESS > > ... or so? So far I haven't been able to fi

RESEND PATCH v5

2017-07-14 Thread Nathan Sullivan
--- Changes from v4: - Address Rob Herring's device tree feedback

[PATCH] MIPS: NI 169445 board support

2017-07-14 Thread Nathan Sullivan
Support the National Instruments 169445 board. Signed-off-by: Nathan Sullivan --- Documentation/devicetree/bindings/mips/ni.txt | 7 ++ MAINTAINERS | 8 ++ arch/mips/boot/dts/Makefile | 1 + arch/mips/boot/dts/ni/169445.dts

[PATCH v3.1 09/10] x86/unwind: add ORC unwinder

2017-07-14 Thread Josh Poimboeuf
Add a new ORC unwinder which is enabled by CONFIG_ORC_UNWINDER. It plugs into the existing x86 unwinder framework. It relies on objtool to generate the needed .orc_unwind and .orc_unwind_ip sections. For more details on why ORC is used instead of DWARF, see Documentation/x86/orc-unwinder.txt. T

Re: [PATCH] perf/x86/intel: Fix debug_store reset field for freq events

2017-07-14 Thread Andi Kleen
Jiri Olsa writes: > > Setting the reset field to 0 for freq events. Looks good to me. Reviewed-by: Andi Kleen BTW I suspect there's a related bug that perf record -e '{cycles:pp,branches}:S' .. would enable multi record PEBS, even though it shouldn't because we need the PMI to read the other

Re: [PATCH v2] sctp: don't dereference ptr before leaving _sctp_walk_{params,errors}()

2017-07-14 Thread David Miller
From: Alexander Potapenko Date: Fri, 14 Jul 2017 18:33:01 +0200 > On Fri, Jul 14, 2017 at 5:58 PM, David Miller wrote: >> From: Alexander Potapenko >> Date: Fri, 14 Jul 2017 12:03:29 +0200 >> >>> v2: per comment from David Miller, make sure the whole iterator->length >>> fits into the rem

Re: Droid 4 boot failure due to 422580c3cea7 (mm/oom_kill.c: add tracepoints for oom reaper-related events)

2017-07-14 Thread Sebastian Reichel
Hi, On Fri, Jul 14, 2017 at 02:12:21PM +, Roman Gushchin wrote: > > On 14 Jul 2017, at 14:43, Sebastian Reichel > > wrote: > > I just bisected another issue breaking boot on Droid 4. My > > bisect points to 422580c3cea7 (mm/oom_kill.c: add tracepoints > > for oom reaper-related events). It d

Re: [PATCH] mm/mremap: Fail map duplication attempts for private mappings

2017-07-14 Thread Mike Kravetz
On 07/14/2017 01:26 AM, Michal Hocko wrote: > On Thu 13-07-17 15:33:47, Mike Kravetz wrote: >> On 07/13/2017 12:11 PM, Vlastimil Babka wrote: >>> [+CC linux-api] >>> >>> On 07/13/2017 05:58 PM, Mike Kravetz wrote: mremap will create a 'duplicate' mapping if old_size == 0 is specified. Su

Re: [PATCH V3 3/4] spmi: pmic-arb: add support for HW version 5

2017-07-14 Thread Stephen Boyd
On 07/11, Kiran Gunda wrote: > @@ -420,7 +440,8 @@ static int pmic_arb_write_cmd(struct spmi_controller > *ctrl, u8 opc, u8 sid, > Mostly style nitpicks! > /* Start the transaction */ > pmic_arb_base_write(pmic_arb, offset + PMIC_ARB_CMD, cmd); > - rc = pmic_arb_wait_for_done(c

Re: [Intel-gfx] [PATCH RESEND] drm/i915: Fix pipe/transcoder enum mismatches

2017-07-14 Thread Grant Grundler
On Fri, Jul 14, 2017 at 2:11 AM, Jani Nikula wrote: > On Thu, 13 Jul 2017, Stéphane Marchesin wrote: >> So, if you think this is wrong, can you fix this warning in a way that >> you'd like? > > As I replied previously [1], with more background, fixing the warnings > properly, in a way that actual

Re: [PATCH] mtd: gpmi-nand: do not fail setting ONFI timing mode if available

2017-07-14 Thread Boris Brezillon
Hi Han, Le Fri, 14 Jul 2017 14:53:39 +, Han Xu a écrit : > On 07/13/2017 03:15 PM, Boris Brezillon wrote: > > Hi Miquel, > > > > Le Thu, 13 Jul 2017 21:20:30 +0200, > > Miquel Raynal a écrit : > > > >> GPMI NFC driver fails to apply timing mode if the ->onfi_get_features() > >> does not r

[RESEND][PATCH v5] MIPS: NI 169445 board support

2017-07-14 Thread Nathan Sullivan
Support the National Instruments 169445 board. Signed-off-by: Nathan Sullivan --- Changes from v4: - Address Rob Herring's device tree feedback Documentation/devicetree/bindings/mips/ni.txt | 7 ++ MAINTAINERS | 8 ++ arch/mips/boot/dts/Makefile

Re: [PATCH v2] sctp: don't dereference ptr before leaving _sctp_walk_{params,errors}()

2017-07-14 Thread Alexander Potapenko
On Fri, Jul 14, 2017 at 7:23 PM, David Miller wrote: > From: Alexander Potapenko > Date: Fri, 14 Jul 2017 18:33:01 +0200 > >> On Fri, Jul 14, 2017 at 5:58 PM, David Miller wrote: >>> From: Alexander Potapenko >>> Date: Fri, 14 Jul 2017 12:03:29 +0200 >>> v2: per comment from David Miller,

Re: [PATCH] ipv6: initialize treq->txhash in cookie_v6_check()

2017-07-14 Thread Alexander Potapenko
On Fri, Jul 14, 2017 at 7:04 PM, Neal Cardwell wrote: > On Fri, Jul 14, 2017 at 12:54 PM, Alexander Potapenko > wrote: >> KMSAN reported use of uninitialized memory in skb_set_hash_from_sk(), >> which originated from the TCP request socket created in >> cookie_v6_check(): > ... >> --- a/net/ipv6

Re: [PATCH v2] xattr: Enable security.capability in user namespaces

2017-07-14 Thread Serge E. Hallyn
Quoting Stefan Berger (stef...@linux.vnet.ibm.com): > On 07/14/2017 09:34 AM, Serge E. Hallyn wrote: > >Quoting Stefan Berger (stef...@linux.vnet.ibm.com): > >>On 07/13/2017 08:38 PM, Eric W. Biederman wrote: > >>>Stefan Berger writes: > >>> > On 07/13/2017 01:49 PM, Eric W. Biederman wrote: >

Re: [PATCH RFC] scripts/sphinx-pre-install: add a script to check Sphinx install

2017-07-14 Thread Markus Heiser
> Am 14.07.2017 um 18:49 schrieb Mauro Carvalho Chehab > : > > Solving Sphinx dependencies can be painful. Add a script to > check if everything is ok. just my 5cent: What we need is a "requirements.txt" file to define a **reference environment**. E.g. to stick Sphinx 1.4.9 in such a reference

Re: [PATCH V4 3/6] iommu/arm-smmu: Invoke pm_runtime during probe, add/remove device

2017-07-14 Thread Rob Clark
On Fri, Jul 14, 2017 at 1:07 PM, Will Deacon wrote: > On Thu, Jul 13, 2017 at 10:55:10AM -0400, Rob Clark wrote: >> On Thu, Jul 13, 2017 at 9:53 AM, Sricharan R >> wrote: >> > Hi, >> > >> > On 7/13/2017 5:20 PM, Rob Clark wrote: >> >> On Thu, Jul 13, 2017 at 1:35 AM, Sricharan R >> >> wrote: >

Re: [PATCH v7 3/3] net/cxgb4: Use new PCI_DEV_FLAGS_NO_RELAXED_ORDERING flag

2017-07-14 Thread Casey Leedom
Reviewed-by: Casey Leedom

Re: [PATCH v2] sctp: don't dereference ptr before leaving _sctp_walk_{params,errors}()

2017-07-14 Thread David Miller
From: Alexander Potapenko Date: Fri, 14 Jul 2017 19:33:54 +0200 > On Fri, Jul 14, 2017 at 7:23 PM, David Miller wrote: >> From: Alexander Potapenko >> Date: Fri, 14 Jul 2017 18:33:01 +0200 >> >>> On Fri, Jul 14, 2017 at 5:58 PM, David Miller wrote: From: Alexander Potapenko Date: Fr

perf: bisected sampling bug in Linux 4.11-rc1

2017-07-14 Thread Vince Weaver
I was tracking down some regressions in my perf_event_test testsuite. Some of the tests broke in the 4.11-rc1 timeframe. I've bisected one of them, this report is about tests/overflow/simul_oneshot_group_overflow This test creates an event group containing two sampling events, set to over

Re: [PATCH V4 3/6] iommu/arm-smmu: Invoke pm_runtime during probe, add/remove device

2017-07-14 Thread Will Deacon
On Fri, Jul 14, 2017 at 01:42:13PM -0400, Rob Clark wrote: > On Fri, Jul 14, 2017 at 1:07 PM, Will Deacon wrote: > > On Thu, Jul 13, 2017 at 10:55:10AM -0400, Rob Clark wrote: > >> On Thu, Jul 13, 2017 at 9:53 AM, Sricharan R > >> wrote: > >> > Hi, > >> > > >> > On 7/13/2017 5:20 PM, Rob Clark w

[git pull] Input updates for v4.13-rc0 (round 2)

2017-07-14 Thread Dmitry Torokhov
Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git for-linus to receive the 2nd round of updates for the input subsystem. You will get: - multit-touch handling for Xen - fix for long-standing bug causing crashes in i8042 on boot - change to gpio_k

Re: [PATCH V1 2/3] pinctrl: qcom: spmi-gpio: Add dtest route for digital input

2017-07-14 Thread Bjorn Andersson
On Wed 12 Jul 22:27 PDT 2017, Fenglin Wu wrote: > On 7/13/2017 5:24 AM, Bjorn Andersson wrote: > > On Mon 12 Jun 23:16 PDT 2017, fengl...@codeaurora.org wrote: > > > > > From: Fenglin Wu > > > > > > Add property "qcom,dtest-buffer" to specify which dtest rail to feed > > > when the pin is confi

Re: [PATCH V2 2/5] spmi: pmic-arb: rename pa_xx to pmic_arb_xx and other code cleanup

2017-07-14 Thread Stephen Boyd
On 07/10, Kiran Gunda wrote: > > -static u16 pmic_arb_find_apid(struct spmi_pmic_arb *pa, u16 ppid) > +static u16 pmic_arb_find_apid(struct spmi_pmic_arb *pmic_arb, u16 ppid) > { > + struct apid_data *apid_info = &pmic_arb->apid_data[pmic_arb->last_apid]; > u32 regval, offset; > -

Re: [PATCH v2] xattr: Enable security.capability in user namespaces

2017-07-14 Thread Eric W. Biederman
"Serge E. Hallyn" writes: > Quoting Stefan Berger (stef...@linux.vnet.ibm.com): >> On 07/14/2017 09:34 AM, Serge E. Hallyn wrote: >> >Quoting Stefan Berger (stef...@linux.vnet.ibm.com): >> >>On 07/13/2017 08:38 PM, Eric W. Biederman wrote: >> >>>Stefan Berger writes: >> >>> >> On 07/13/2017

Re: [PATCH V4 3/6] iommu/arm-smmu: Invoke pm_runtime during probe, add/remove device

2017-07-14 Thread Rob Clark
On Fri, Jul 14, 2017 at 2:06 PM, Will Deacon wrote: > On Fri, Jul 14, 2017 at 01:42:13PM -0400, Rob Clark wrote: >> On Fri, Jul 14, 2017 at 1:07 PM, Will Deacon wrote: >> > On Thu, Jul 13, 2017 at 10:55:10AM -0400, Rob Clark wrote: >> >> On Thu, Jul 13, 2017 at 9:53 AM, Sricharan R >> >> wrote:

Re: perf: bisected sampling bug in Linux 4.11-rc1

2017-07-14 Thread Vince Weaver
On Fri, 14 Jul 2017, Vince Weaver wrote: > On a good kernel you get the following: > Event perf::instructions with period 100 > Event perf::instructions with period 200 > fd 3 overflows: 946 (perf::instructions/100) > fd 4 overflows: 473 (perf::i

Re: [PATCH 0/2] kprobe: Fix: add symbols to kprobe blacklist

2017-07-14 Thread Steven Rostedt
On Fri, 14 Jul 2017 10:58:33 -0400 Francis Deslauriers wrote: > Kretprobe on ftrace_ops_assist_func and another function: > Those crashes are triggered when hooking a kretprobe on the > ftrace_ops_assist_func symbol and some other functions to make the this first > function reacheable. From my u

<    1   2   3   4   5   6   7   8   >