[tip:x86/urgent] x86/platform/UV: Fix critical UV MMR address error

2018-03-28 Thread tip-bot for mike.tra...@hpe.com
Commit-ID: bd47a85acd727e27b7283daff557865ad04c59f6 Gitweb: https://git.kernel.org/tip/bd47a85acd727e27b7283daff557865ad04c59f6 Author: mike.tra...@hpe.com AuthorDate: Wed, 28 Mar 2018 12:40:11 -0500 Committer: Thomas Gleixner CommitDate: Wed, 28 Mar 2018 20:19:45 +0200 x86/platform/UV

Re: [PATCH 4.9 00/67] 4.9.91-stable review

2018-03-28 Thread Dan Rue
On Wed, Mar 28, 2018 at 06:21:04PM +0200, Greg Kroah-Hartman wrote: > On Wed, Mar 28, 2018 at 10:50:35AM -0500, Dan Rue wrote: > > On Wed, Mar 28, 2018 at 10:21:45AM +0200, Greg Kroah-Hartman wrote: > > > On Tue, Mar 27, 2018 at 08:35:01PM -0500, Dan Rue wrote: > > > > qemu_x86_64 > > > > * boot -

Re: [PATCH 2/8] PCI: Add pci_find_common_upstream_dev()

2018-03-28 Thread Christian König
Am 28.03.2018 um 18:25 schrieb Logan Gunthorpe: On 28/03/18 10:02 AM, Christian König wrote: Yeah, that looks very similar to what I picked up from the older patches, going to read up on that after my vacation. Yeah, I was just reading through your patchset and there are a lot of similarities.

Re: [PATCH 1/1] x86/platform/UV: Fix critical UV MMR address error

2018-03-28 Thread Mike Travis
On 3/28/2018 11:17 AM, Thomas Gleixner wrote: On Wed, 28 Mar 2018, mike.tra...@hpe.com wrote: A critical error was found testing the fixed UV4 HUB in that an MMR address was found to be incorrect. This causes the virtual address space for accessing the MMIOH1 region to be allocated with the

Re: linux-next: build failure after merge of the userns tree

2018-03-28 Thread Eric W. Biederman
Stephen Rothwell writes: > Hi Eric, > > After merging the userns tree, today's linux-next build (powerpc > ppc64_defconfig) produced this warning: > > In file included from include/linux/sched.h:16:0, > from arch/powerpc/lib/xor_vmx_glue.c:14: > include/linux/shm.h:17:35: error:

Re: [PATCH v4 2/8] dt-bindings: ingenic: Add DT bindings for TCU clocks

2018-03-28 Thread Mathieu Malaterre
On Wed, Mar 28, 2018 at 5:04 PM, Paul Cercueil wrote: > Le 2018-03-20 08:15, Mathieu Malaterre a écrit : >> >> Hi Paul, >> >> Two things: >> >> On Sun, Mar 18, 2018 at 12:28 AM, Paul Cercueil >> wrote: >>> >>> This header provides clock numbers for the ingenic,tcu >>> DT binding. >> >> >> I have

Re: [RFC PATCH ghak32 V2 01/13] audit: add container id

2018-03-28 Thread Jonathan Corbet
On Fri, 16 Mar 2018 05:00:28 -0400 Richard Guy Briggs wrote: > Implement the proc fs write to set the audit container ID of a process, > emitting an AUDIT_CONTAINER record to document the event. A little detail, but still... > +static int audit_set_containerid_perm(struct task_struct *task, u64

[tip:ras/core] Revert "x86/mce/AMD: Collect error info even if valid bits are not set"

2018-03-28 Thread tip-bot for Yazen Ghannam
Commit-ID: e2efacb6a54ab54626da3507be1008d0040492cc Gitweb: https://git.kernel.org/tip/e2efacb6a54ab54626da3507be1008d0040492cc Author: Yazen Ghannam AuthorDate: Mon, 26 Mar 2018 14:15:25 -0500 Committer: Thomas Gleixner CommitDate: Wed, 28 Mar 2018 20:34:59 +0200 Revert "x86/mce/AMD:

Re: [PATCH 4.14 000/101] 4.14.31-stable review

2018-03-28 Thread Dan Rue
On Tue, Mar 27, 2018 at 06:26:32PM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.14.31 release. > There are 101 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me kno

[PATCH] drm/nouveau/bios/init: fix spelling mistake: "CONDITON" -> "CONDITION"

2018-03-28 Thread Colin King
From: Colin Ian King Trivial fix to spelling mistake in warning message text Signed-off-by: Colin Ian King --- drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c b/drivers/gpu/drm/

Re: [PATCH 4.15 000/105] 4.15.14-stable review

2018-03-28 Thread Dan Rue
On Tue, Mar 27, 2018 at 06:26:40PM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.15.14 release. > There are 105 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me kno

Re: [RFC PATCH v2 0/2] Randomization of address chosen by mmap.

2018-03-28 Thread Ilya Smith
> On 27 Mar 2018, at 17:38, Michal Hocko wrote: > > On Tue 27-03-18 16:51:08, Ilya Smith wrote: >> >>> On 27 Mar 2018, at 10:24, Michal Hocko wrote: >>> >>> On Mon 26-03-18 22:45:31, Ilya Smith wrote: > On 26 Mar 2018, at 11:46, Michal Hocko wrote: > > On Fri 23-03-18 20:5

[PATCH v2] powerpc/altivec: Add missing prototypes for altivec

2018-03-28 Thread Mathieu Malaterre
Some functions prototypes were missing for the non-altivec code. Add the missing prototypes in a new header file, fix warnings treated as errors with W=1: arch/powerpc/lib/xor_vmx_glue.c:18:6: error: no previous prototype for ‘xor_altivec_2’ [-Werror=missing-prototypes] arch/powerpc/lib/xor_v

Re: [RFC PATCH v2 0/2] Randomization of address chosen by mmap.

2018-03-28 Thread Ilya Smith
> On 28 Mar 2018, at 01:16, Theodore Y. Ts'o wrote: > > On Tue, Mar 27, 2018 at 04:51:08PM +0300, Ilya Smith wrote: >>> /dev/[u]random is not sufficient? >> >> Using /dev/[u]random makes 3 syscalls - open, read, close. This is a >> performance >> issue. > > You may want to take a look at the g

Re: [PATCH] memory: brcmstb: dpfe: Remove need for dpfe_dev

2018-03-28 Thread Florian Fainelli
On Tue, 27 Mar 2018 16:40:38 -0700, Florian Fainelli wrote: > We can hook sysfs objects to the parent platform device that we are > created from, no need to have a synthetic dpfe_dev just for that. This > incidentally removes the need for having an index, since we are > guaranteed to have an uniq

[PATCH] ipc/shm: Fix pid freeing.

2018-03-28 Thread Eric W. Biederman
The 0day kernel test build report reported an oops: > > IP: put_pid+0x22/0x5c > PGD 19efa067 P4D 19efa067 PUD 0 > Oops: [#1] > CPU: 0 PID: 727 Comm: trinity Not tainted 4.16.0-rc2-00010-g98f929b #1 > RIP: 0010:put_pid+0x22/0x5c > RSP: 0018:986719f73e48 EFLAGS: 00010202 > RAX: 0

[PATCH 7/8] perf vendor events s390: Add JSON files for IBM z13

2018-03-28 Thread Arnaldo Carvalho de Melo
From: Thomas Richter Add CPU measurement counter facility event description files (json files) for IBM z13. Signed-off-by: Thomas Richter Reviewed-by: Hendrik Brueckner Cc: Heiko Carstens Cc: Martin Schwidefsky Link: http://lkml.kernel.org/r/20180326082538.2258-4-tmri...@linux.vnet.ibm.com S

[PATCH 8/8] perf vendor events s390: Add JSON files for IBM z14

2018-03-28 Thread Arnaldo Carvalho de Melo
From: Thomas Richter Add CPU measurement counter facility event description files (json files) for IBM z14. Signed-off-by: Thomas Richter Reviewed-by: Hendrik Brueckner Cc: Heiko Carstens Cc: Martin Schwidefsky Link: http://lkml.kernel.org/r/20180326082538.2258-5-tmri...@linux.vnet.ibm.com S

[GIT PULL 0/8] perf/core improvements and fixes

2018-03-28 Thread Arnaldo Carvalho de Melo
available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git tags/perf-core-for-mingo-4.17-20180328 for you to fetch changes up to 109d59b900e78834c66657dd4748fcedb9a1fe8d: perf vendor events s390: Add JSON files for IBM z14 (2018-03-27 13:13:39 -0300

[PATCH 5/8] perf vendor events s390: Add JSON files for IBM z196

2018-03-28 Thread Arnaldo Carvalho de Melo
From: Thomas Richter Add CPU measurement counter facility event description files (json files) for IBM z196. Signed-off-by: Thomas Richter Reviewed-by: Hendrik Brueckner Cc: Heiko Carstens Cc: Martin Schwidefsky Link: http://lkml.kernel.org/r/20180326082538.2258-2-tmri...@linux.vnet.ibm.com

Re: [PATCH] debugfs: Check return value of debugfs_real_fops() for NULL

2018-03-28 Thread Matthias Kaehlcke
El Wed, Mar 28, 2018 at 08:19:36PM +0200 Greg Kroah-Hartman ha dit: > On Wed, Mar 28, 2018 at 11:14:56AM -0700, Matthias Kaehlcke wrote: > > El Wed, Mar 28, 2018 at 08:05:56PM +0200 Greg Kroah-Hartman ha dit: > > > > > > > > A: Because it messes up the order in which people normally read text. >

[PATCH 3/8] perf mmap: Be consistent when checking for an unmaped ring buffer

2018-03-28 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo The previous patch is insufficient to cure the reported 'perf trace' segfault, as it only cures the perf_mmap__read_done() case, moving the segfault to perf_mmap__read_init() functio, fix it by doing the same refcount check. Cc: Adrian Hunter Cc: Arnaldo Carvalho

[PATCH 6/8] perf vendor events s390: Add JSON files for IBM zEC12 zBC12

2018-03-28 Thread Arnaldo Carvalho de Melo
From: Thomas Richter Add CPU measurement counter facility event description files (json files) for IBM zEC12 and zBC12. Signed-off-by: Thomas Richter Reviewed-by: Hendrik Brueckner Cc: Heiko Carstens Cc: Martin Schwidefsky Link: http://lkml.kernel.org/r/20180326082538.2258-3-tmri...@linux.vn

[PATCH 1/8] perf build: Fix check-headers.sh opts assignment

2018-03-28 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Currently the "opts" variable is not zero-ed and we keep on adding to it, ending up with: $ check-headers.sh 2>&1 + opts=' "-B"' + opts=' "-B" "-B"' + opts=' "-B" "-B" "-B"' + opts=' "-B" "-B" "-B" "-B"' + opts=' "-B" "-B" "-B" "-B" "-B"' + opts=' "-B" "-B" "-B" "-B

[PATCH 4/8] perf vendor events s390: Add JSON files for IBM z10EC z10BC

2018-03-28 Thread Arnaldo Carvalho de Melo
From: Thomas Richter Add CPU measurement counter facility event description files (JSON files) for IBM z10EC and z10BC. Signed-off-by: Thomas Richter Reviewed-by: Hendrik Brueckner Cc: Heiko Carstens Cc: Martin Schwidefsky Link: http://lkml.kernel.org/r/20180326082538.2258-1-tmri...@linux.vn

[PATCH 2/8] perf mmap: Fix accessing unmapped mmap in perf_mmap__read_done()

2018-03-28 Thread Arnaldo Carvalho de Melo
From: Kan Liang There is a segmentation fault when running 'perf trace'. For example: [root@jouet e]# perf trace -e *chdir -o /tmp/bla perf report --ignore-vmlinux -i ../perf.data The perf_mmap__consume() could unmap the mmap. It needs to check the refcnt in perf_mmap__read_done(). Reported

Re: [RFC v2 11/12] KVM: arm/arm64: Implement KVM_VGIC_V3_ADDR_TYPE_REDIST_REGION

2018-03-28 Thread Peter Maydell
On 27 March 2018 at 15:04, Eric Auger wrote: > Now all the internals are ready to handle multiple redistributor > regions, let's allow the userspace to register them. > > Signed-off-by: Eric Auger > --- > virt/kvm/arm/vgic/vgic-kvm-device.c | 40 > +++-- > virt/k

[PATCH v3] powerpc/altivec: Add missing prototypes for altivec

2018-03-28 Thread Mathieu Malaterre
Some functions prototypes were missing for the non-altivec code. Add the missing prototypes in a new header file, fix warnings treated as errors with W=1: arch/powerpc/lib/xor_vmx_glue.c:18:6: error: no previous prototype for ‘xor_altivec_2’ [-Werror=missing-prototypes] arch/powerpc/lib/xor_v

Re: [PATCH 2/8] PCI: Add pci_find_common_upstream_dev()

2018-03-28 Thread Logan Gunthorpe
On 28/03/18 12:28 PM, Christian König wrote: > I'm just using amdgpu as blueprint because I'm the co-maintainer of it > and know it mostly inside out. Ah, I see. > The resource addresses are translated using dma_map_resource(). As far > as I know that should be sufficient to offload all the a

Re: [PATCH 1/1] Drivers: hv: vmbus: Fix ring buffer signaling

2018-03-28 Thread Stephen Hemminger
On Sun, 4 Mar 2018 22:24:08 -0700 k...@exchange.microsoft.com wrote: > From: Michael Kelley > > Fix bugs in signaling the Hyper-V host when freeing space in the > host->guest ring buffer: > > 1. The interrupt_mask must not be used to determine whether to signal >on the host->guest ring buf

Re: [net-next,v2,01/10] soc: ti: K2G: enhancement to support QMSS in NSS

2018-03-28 Thread Grygorii Strashko
Hi Murali, On 03/27/2018 11:31 AM, Murali Karicheri wrote: > Navigator Subsystem (NSS) available on K2G SoC has a cut down > version of QMSS with less number of queues, internal linking ram > with lesser number of buffers etc. It doesn't have status and > explicit push register space as in QMSS a

Re: WARNING in refcount_dec

2018-03-28 Thread Byoungyoung Lee
Another crash patterns observed: race between (setsockopt$packet_int) and (bind$packet). -- [ 357.731597] kernel BUG at /home/blee/project/race-fuzzer/kernels/kernel_v4.16-rc3/net/packet/af_packet.c:3107! [ 357.733382] invalid opcode: [#1] SMP KASAN [ 357.734017

[PATCH net-next 0/2] phylink: API changes

2018-03-28 Thread Florian Fainelli
Hi all, This patch series contains two API changes to PHYLINK which will later be used by DSA to migrate to PHYLINK. Because these are API changes that impact other outstanding work (e.g: MVPP2) I would rather get them included sooner to minimize conflicts. Thank you! Florian Fainelli (1): ne

[PATCH net-next 2/2] sfp/phylink: move module EEPROM ethtool access into netdev core ethtool

2018-03-28 Thread Florian Fainelli
From: Russell King Provide a pointer to the SFP bus in struct net_device, so that the ethtool module EEPROM methods can access the SFP directly, rather than needing every user to provide a hook for it. Signed-off-by: Russell King --- drivers/net/ethernet/marvell/mvneta.c | 18 -

[PATCH net-next 1/2] net: phy: phylink: Provide PHY interface to mac_link_{up,down}

2018-03-28 Thread Florian Fainelli
In preparation for having DSA transition entirely to PHYLINK, we need to pass a PHY interface type to the mac_link_{up,down} callbacks because we may have to make decisions on that (e.g: turn on/off RGMII interfaces etc.). We do not pass an entire phylink_link_state because not all parameters (paus

Re: [PATCH 4.15 000/105] 4.15.14-stable review

2018-03-28 Thread Mike Kravetz
On 03/28/2018 11:44 AM, Dan Rue wrote: > On Tue, Mar 27, 2018 at 06:26:40PM +0200, Greg Kroah-Hartman wrote: >> This is the start of the stable review cycle for the 4.15.14 release. >> There are 105 patches in this series, all will be posted as a response >> to this one. If anyone has any issues w

Re: [PATCH] mm: Use octal not symbolic permissions

2018-03-28 Thread Michal Hocko
On Wed 28-03-18 08:44:51, Joe Perches wrote: > On Wed, 2018-03-28 at 15:06 +0200, Michal Hocko wrote: > > On Mon 26-03-18 15:22:32, Joe Perches wrote: > > > mm/*.c files use symbolic and octal styles for permissions. > > > > > > Using octal and not symbolic permissions is preferred by many as more

[PATCH v2 1/6] drm/msm: Use drm_private_obj/state instead of subclassing

2018-03-28 Thread Sean Paul
Now that we have private state handled by the core, we can use those instead of rolling our own swap_state for private data. Originally posted here: https://patchwork.freedesktop.org/patch/211361/ Changes in v2: - Use state->state in disp duplicate_state callback (Jeykumar) Changes in v3: - Upd

[PATCH v2 3/6] drm/msm: Mark the crtc->state->event consumed

2018-03-28 Thread Sean Paul
Don't leave the event != NULL once it's consumed, this is used a signal to the atomic helpers that the event will be handled by the driver. Changes in v2: - None Cc: Jeykumar Sankaran Signed-off-by: Sean Paul --- drivers/gpu/drm/msm/disp/mdp4/mdp4_crtc.c | 1 + drivers/gpu/drm/msm/disp/mdp5/md

[PATCH v2 4/6] drm/msm: Issue queued events when disabling crtc

2018-03-28 Thread Sean Paul
Ensure that any queued events are issued when disabling the crtc. This avoids timeouts when we come back and wait for dependencies (like the previous frame's flip_done). Changes in v2: - None Signed-off-by: Sean Paul --- drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c | 9 + 1 file changed, 9

[PATCH v2 6/6] drm/msm: Switch to atomic_helper_commit()

2018-03-28 Thread Sean Paul
Now that all of the msm-specific goo is tucked safely away we can switch over to using the atomic helper commit directly. \o/ Changes in v2: - None Cc: Abhinav Kumar Signed-off-by: Sean Paul --- drivers/gpu/drm/msm/msm_atomic.c | 120 +-- drivers/gpu/drm/msm/msm_drv

[PATCH v2 5/6] drm/msm: Remove msm_commit/worker, use atomic helper commit

2018-03-28 Thread Sean Paul
Moving further towards switching fully to the the atomic helpers, this patch removes the hand-rolled worker nonblock commit code and uses the atomic helpers commit_work model. Changes in v2: - Remove commit_destroy() - Shuffle order of commit_tail calls to further serialize commits - Use stall in

[PATCH v2 2/6] drm/msm: Refactor complete_commit() to look more the helpers

2018-03-28 Thread Sean Paul
Factor out the commit_tail() portions of complete_commit() into a separate function to facilitate moving to the atomic helpers in future patches. Changes in v2: - None Cc: Jeykumar Sankaran Signed-off-by: Sean Paul --- drivers/gpu/drm/msm/msm_atomic.c | 25 - 1 file cha

[PATCH] net: netfilter: Merge assignment with return

2018-03-28 Thread Arushi Singhal
Merge assignment with return statement to directly return the value. Signed-off-by: Arushi Singhal --- net/netfilter/nf_conntrack_netlink.c | 5 ++--- net/netfilter/xt_hashlimit.c | 3 +-- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/net/netfilter/nf_conntrack_netlink.c

Re: [PATCH net-next 1/2] net: phy: phylink: Provide PHY interface to mac_link_{up,down}

2018-03-28 Thread Russell King - ARM Linux
On Wed, Mar 28, 2018 at 12:03:38PM -0700, Florian Fainelli wrote: > In preparation for having DSA transition entirely to PHYLINK, we need to pass > a > PHY interface type to the mac_link_{up,down} callbacks because we may have to > make decisions on that (e.g: turn on/off RGMII interfaces etc.). W

Re: [PATCH net-next 2/2] sfp/phylink: move module EEPROM ethtool access into netdev core ethtool

2018-03-28 Thread Russell King - ARM Linux
On Wed, Mar 28, 2018 at 12:03:39PM -0700, Florian Fainelli wrote: > From: Russell King > > Provide a pointer to the SFP bus in struct net_device, so that the > ethtool module EEPROM methods can access the SFP directly, rather > than needing every user to provide a hook for it. > > Signed-off-by:

Re: [PATCH 11/19] powerpc/powermac: Move pmac_pfunc_base_install prototype to header file

2018-03-28 Thread Mathieu Malaterre
On Fri, Mar 23, 2018 at 1:13 PM, christophe leroy wrote: > > > Le 22/03/2018 à 21:19, Mathieu Malaterre a écrit : >> >> The pmac_pfunc_base_install prototype was declared in powermac/smp.c since >> function was used there, move it to pmac_pfunc.h header to be visible in >> pfunc_base.c. Fix a warn

Re: [PATCH net-next 2/2] sfp/phylink: move module EEPROM ethtool access into netdev core ethtool

2018-03-28 Thread Florian Fainelli
On 03/28/2018 12:11 PM, Russell King - ARM Linux wrote: > On Wed, Mar 28, 2018 at 12:03:39PM -0700, Florian Fainelli wrote: >> From: Russell King >> >> Provide a pointer to the SFP bus in struct net_device, so that the >> ethtool module EEPROM methods can access the SFP directly, rather >> than ne

Re: [PATCH 15/19] powerpc: Add missing prototype

2018-03-28 Thread Mathieu Malaterre
On Fri, Mar 23, 2018 at 1:20 PM, christophe leroy wrote: > > > Le 22/03/2018 à 21:20, Mathieu Malaterre a écrit : >> >> Add one missing prototype for function rh_dump_blk. Fix warning treated as >> error in W=1: >> >>arch/powerpc/lib/rheap.c:740:6: error: no previous prototype for >> ‘rh_dump_

[RESEND] [PATCH] rtc: snvs: Fix usage of snvs_rtc_enable

2018-03-28 Thread Bryan O'Donoghue
commit 179a502f8c46 ("rtc: snvs: add Freescale rtc-snvs driver") introduces the SNVS RTC driver with a function snvs_rtc_enable(). snvs_rtc_enable() can return an error on the enable path however this driver does not currently trap that failure on the probe() path and consequently if enabling the

Re: [PATCH v3 1/4] dt-bindings: mfd: Add Gateworks System Controller bindings

2018-03-28 Thread Tim Harvey
On Wed, Mar 28, 2018 at 9:24 AM, Guenter Roeck wrote: > On Wed, Mar 28, 2018 at 08:14:00AM -0700, Tim Harvey wrote: >> This patch adds documentation of device-tree bindings for the >> Gateworks System Controller (GSC). >> >> Signed-off-by: Tim Harvey >> --- >> v3: >> - replaced _ with - >> - re

Re: [PATCH 1/1] Drivers: hv: vmbus: Fix ring buffer signaling

2018-03-28 Thread Joshua R. Poulson
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?h=v4.16-rc7&id=655296c8bbeffcf020558c4455305d597a73bde1 On Wed, Mar 28, 2018 at 12:01 PM, Stephen Hemminger wrote: > On Sun, 4 Mar 2018 22:24:08 -0700 > k...@exchange.microsoft.com wrote: > >> From: Michael Kelley >> >>

Re: [PATCH] debugfs: Check return value of debugfs_real_fops() for NULL

2018-03-28 Thread Greg Kroah-Hartman
On Wed, Mar 28, 2018 at 11:50:09AM -0700, Matthias Kaehlcke wrote: > El Wed, Mar 28, 2018 at 08:19:36PM +0200 Greg Kroah-Hartman ha dit: > > > On Wed, Mar 28, 2018 at 11:14:56AM -0700, Matthias Kaehlcke wrote: > > > El Wed, Mar 28, 2018 at 08:05:56PM +0200 Greg Kroah-Hartman ha dit: > > > > > > >

Re: [PATCH 4.9 00/67] 4.9.91-stable review

2018-03-28 Thread Greg Kroah-Hartman
On Wed, Mar 28, 2018 at 01:28:28PM -0500, Dan Rue wrote: > On Wed, Mar 28, 2018 at 06:21:04PM +0200, Greg Kroah-Hartman wrote: > > On Wed, Mar 28, 2018 at 10:50:35AM -0500, Dan Rue wrote: > > > On Wed, Mar 28, 2018 at 10:21:45AM +0200, Greg Kroah-Hartman wrote: > > > > On Tue, Mar 27, 2018 at 08:35

Re: [PATCH] mm: Use octal not symbolic permissions

2018-03-28 Thread Joe Perches
On Wed, 2018-03-28 at 21:07 +0200, Michal Hocko wrote: > I wasn't aware that checkpatch can perform changes as well. Someone (probably me) should write some better documentation for checkpatch one day. The command-line --help output isn't obvious.

[PATCH v2 01/19] powerpc/powermac: Mark variable x as unused

2018-03-28 Thread Mathieu Malaterre
Since the value of x is never intended to be read, declare it with gcc attribute as unused. Fix warning treated as error with W=1: arch/powerpc/platforms/powermac/bootx_init.c:471:21: error: variable ‘x’ set but not used [-Werror=unused-but-set-variable] Signed-off-by: Mathieu Malaterre --- v

Re: [PATCH] xfs: always free inline data before resetting inode fork during ifree

2018-03-28 Thread Sasha Levin
On Wed, Mar 28, 2018 at 02:32:28PM +1100, Dave Chinner wrote: >How much time are your test rigs going to be able to spend running >xfstests? A single pass on a single filesysetm config on spinning >disks will take 3-4 hours of run time. And we have at least 4 common >configs that need validation (v

[PATCH v2 02/19] powerpc/powermac: Mark variable x as unused

2018-03-28 Thread Mathieu Malaterre
Since the value of x is never intended to be read, remove it. Fix warning treated as error with W=1: arch/powerpc/platforms/powermac/udbg_scc.c:76:9: error: variable ‘x’ set but not used [-Werror=unused-but-set-variable] Suggested-by: Christophe Leroy Signed-off-by: Mathieu Malaterre --- v2:

[PATCH v2 03/19] powerpc: Mark variables as unused

2018-03-28 Thread Mathieu Malaterre
Add gcc attribute unused for two variables. Fix warnings treated as errors with W=1: arch/powerpc/kernel/prom_init.c:1388:8: error: variable ‘path’ set but not used [-Werror=unused-but-set-variable] Suggested-by: Christophe Leroy Signed-off-by: Mathieu Malaterre --- v2: move path within ifde

Re: [PATCH] xfs: always free inline data before resetting inode fork during ifree

2018-03-28 Thread Sasha Levin
On Wed, Mar 28, 2018 at 03:21:48PM +0200, Michal Hocko wrote: >On Tue 27-03-18 19:54:35, Luis R. Rodriguez wrote: >> On Tue, Mar 27, 2018 at 09:06:37AM +0200, Michal Hocko wrote: >> > So by no means the MM backports were reviewed by me. And considering how >> > hard >> > it is to get any review fo

[GIT PULL] ARM: SoC fixes for 4.16

2018-03-28 Thread Arnd Bergmann
The following changes since commit 661e50bc853209e41a5c14a290ca4decc43cbfd1: Linux 4.16-rc4 (2018-03-04 14:54:11 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc.git tags/armsoc-fixes for you to fetch changes up to bbad2093dfa76f4c3dcc

[PATCH v2 05/19] powerpc/chrp/setup: Add attribute unused and make some functions static

2018-03-28 Thread Mathieu Malaterre
Remove variable declaration idu_size and associated code since not used. These functions can all be static, make it so. Fix warnings treated as errors with W=1: arch/powerpc/platforms/chrp/setup.c:97:6: error: no previous prototype for ‘chrp_show_cpuinfo’ [-Werror=missing-prototypes] arch/po

Re: [PATCH v5 07/12] PCI: cadence: Set PCI_BASE_ADDRESS_MEM_TYPE_64 if a 64-bit BAR was set-up

2018-03-28 Thread Bjorn Helgaas
[+cc Lorenzo] On Wed, Mar 28, 2018 at 01:24:10PM +, Alan Douglas wrote: > > On 28/03/2018 12:51, Niklas Cassel wrote: > > cdns_pcie_ep_set_bar() does some round-up of the BAR size, which means that > > a 64-bit BAR can be set-up, even when the flag > > PCI_BASE_ADDRESS_MEM_TYPE_64 isn't set.

[PATCH v2 07/19] powerpc/powermac: Make some functions static

2018-03-28 Thread Mathieu Malaterre
These functions can all be static, make it so. Fix warnings treated as errors with W=1: arch/powerpc/platforms/powermac/pci.c:1022:6: error: no previous prototype for ‘pmac_pci_fixup_ohci’ [-Werror=missing-prototypes] arch/powerpc/platforms/powermac/pci.c:1057:6: error: no previous prototype

Re: [PATCH] xfs: always free inline data before resetting inode fork during ifree

2018-03-28 Thread Darrick J. Wong
On Wed, Mar 28, 2018 at 07:30:06PM +, Sasha Levin wrote: > On Wed, Mar 28, 2018 at 02:32:28PM +1100, Dave Chinner wrote: > >How much time are your test rigs going to be able to spend running > >xfstests? A single pass on a single filesysetm config on spinning > >disks will take 3-4 hours of run

Re: [PATCH 2/8] PCI: Add pci_find_common_upstream_dev()

2018-03-28 Thread Christian König
Am 28.03.2018 um 20:57 schrieb Logan Gunthorpe: On 28/03/18 12:28 PM, Christian König wrote: I'm just using amdgpu as blueprint because I'm the co-maintainer of it and know it mostly inside out. Ah, I see. The resource addresses are translated using dma_map_resource(). As far as I know that

Re: [PATCH] nvme-multipath: implement active-active round-robin path selector

2018-03-28 Thread Keith Busch
On Wed, Mar 28, 2018 at 10:06:46AM +0200, Christoph Hellwig wrote: > For PCIe devices the right policy is not a round robin but to use > the pcie device closer to the node. I did a prototype for that > long ago and the concept can work. Can you look into that and > also make that policy used auto

[PATCH] Add livepatch kselftests

2018-03-28 Thread Joe Lawrence
Hi all, This patch was motivated by the increasing corner cases in the livepatch code. These tests don't cover anywhere near all of them, but were mostly already written up as demonstrations / documentation of the livepatch callback functionality. Converting them into a test rig didn't take long

[PATCH] selftests/livepatch: introduce tests

2018-03-28 Thread Joe Lawrence
Add a few livepatch modules and simple target modules that the included regression suite can run tests against. Signed-off-by: Joe Lawrence --- lib/Kconfig.debug | 12 + lib/Makefile | 2 + lib/livepatch/Makefile

Re: [PATCH 2/8] PCI: Add pci_find_common_upstream_dev()

2018-03-28 Thread Logan Gunthorpe
On 28/03/18 01:44 PM, Christian König wrote: > Well, isn't that exactly what dma_map_resource() is good for? As far as > I can see it makes sure IOMMU is aware of the access route and > translates a CPU address into a PCI Bus address. > I'm using that with the AMD IOMMU driver and at least the

RE: [PATCH AUTOSEL for 4.4 093/167] ACPICA: Recognize the Windows 10 version 1607 and 1703 OSI strings

2018-03-28 Thread Moore, Robert
> -Original Message- > From: mario.limoncie...@dell.com [mailto:mario.limoncie...@dell.com] > Sent: Wednesday, March 28, 2018 10:18 AM > To: Moore, Robert ; > alexander.le...@microsoft.com; linux-kernel@vger.kernel.org; > sta...@vger.kernel.org > Cc: Schmauss, Erik ; Wysocki, Rafael J >

[ANNOUNCE] Git v2.17.0-rc2

2018-03-28 Thread Junio C Hamano
A release candidate Git v2.17.0-rc2 is now available for testing at the usual places. It is comprised of 499 non-merge commits since v2.16.0, contributed by 62 people, 19 of which are new faces. I am hoping that we can have the final version tagged at the end of coming weekend, before I fly out t

[PATCH v2 04/19] powerpc/kvm: Prefer fault_in_pages_readable function

2018-03-28 Thread Mathieu Malaterre
Directly use fault_in_pages_readable instead of manual __get_user code. Fix warning treated as error with W=1: arch/powerpc/kernel/kvm.c:675:6: error: variable ‘tmp’ set but not used [-Werror=unused-but-set-variable] Suggested-by: Christophe Leroy Signed-off-by: Mathieu Malaterre --- v2: use

[PATCH] readv.2, io_submit.2: Document RWF_APPEND added in Linux 4.16

2018-03-28 Thread Jürg Billeter
Signed-off-by: Jürg Billeter --- man2/io_submit.2 | 10 ++ man2/readv.2 | 10 ++ 2 files changed, 20 insertions(+) diff --git a/man2/io_submit.2 b/man2/io_submit.2 index 397fd0b75..79fcdfee4 100644 --- a/man2/io_submit.2 +++ b/man2/io_submit.2 @@ -111,6 +111,16 @@ field of th

Re: [PATCH] ipc/shm: Fix pid freeing.

2018-03-28 Thread Nagarathnam Muthusamy
On 03/28/2018 11:47 AM, ebied...@xmission.com wrote: The 0day kernel test build report reported an oops: IP: put_pid+0x22/0x5c PGD 19efa067 P4D 19efa067 PUD 0 Oops: [#1] CPU: 0 PID: 727 Comm: trinity Not tainted 4.16.0-rc2-00010-g98f929b #1 RIP: 0010:put_pid+0x22/0x5c RSP: 001

RE: [PATCH AUTOSEL for 4.4 093/167] ACPICA: Recognize the Windows 10 version 1607 and 1703 OSI strings

2018-03-28 Thread Mario.Limonciello
> -Original Message- > From: Moore, Robert [mailto:robert.mo...@intel.com] > Sent: Wednesday, March 28, 2018 2:53 PM > To: Limonciello, Mario ; > alexander.le...@microsoft.com; linux-kernel@vger.kernel.org; > sta...@vger.kernel.org > Cc: Schmauss, Erik ; Wysocki, Rafael J > > Subject: RE:

Re: [PATCH 2/2] fpga: lattice machxo2: Add Lattice MachXO2 support

2018-03-28 Thread Alan Tull
On Wed, Mar 28, 2018 at 11:26 AM, Alan Tull wrote: > On Fri, Mar 23, 2018 at 7:27 AM, Paolo Pisati wrote: > > Hi Paolo, One more thing. The api for registering a FPGA manager is changing. It won't be hard to adapt. I've pushed a branch that includes the patches that add this change. Please re

I am waiting to hear from you

2018-03-28 Thread Mr.Yuehan Pan
Good day, I am Mr. Yuehan Pan, Director of the Bank of China I am looking for a manager / investment partner who will work with me for a joint venture. Contact me in my private email for more details. email (yuehanpa...@gmail.com) Waiting to hear from you. Thank you, Mr.Yuehan Pan`

[PATCH 1/4] tracing: Fix display of hist trigger expressions containing timestamps

2018-03-28 Thread Tom Zanussi
When displaying hist triggers, variable references that have the timestamp field flag set are erroneously displayed as common_timestamp rather than the variable reference. Additionally, timestamp expressions are displayed in the same way. Fix this by forcing the timestamp flag handling to follow

[PATCH 0/4] tracing: A few inter-event bugfixes

2018-03-28 Thread Tom Zanussi
Hi Steven, Here are a few bugfixes that should be applied on top of the 'Inter-event (e.g. latency) support v9' patchset. The first two are things introduced by the refactoring of the last version, the third I noticed when adding further actions for a future add-on, and the last was prompted by a

[PATCH 4/4] tracing: Make sure variable string fields are NULL-terminated

2018-03-28 Thread Tom Zanussi
The strncpy() currently being used for variable string fields can result in a lack of termination if the string length is equal to the field size. Use the safer strscpy() instead, which will guarantee termination. Signed-off-by: Tom Zanussi --- kernel/trace/trace_events_hist.c | 4 ++-- 1 file

[PATCH 3/4] tracing: Add action comparisons when testing matching hist triggers

2018-03-28 Thread Tom Zanussi
Actions also need to be considered when checking for matching triggers - triggers differing only by action should be allowed, but currently aren't because the matching check ignores the action and erroneously returns -EEXIST. Add and call an actions_match() function to address that. Signed-off-by

[PATCH 2/4] tracing: Don't add flag strings when displaying variable references

2018-03-28 Thread Tom Zanussi
Variable references should never have flags appended when displayed - prevent that from happening. Before: # cat /sys/kernel/debug/tracing/events/sched/sched_switch/trigger hist:keys=next_pid:vals=hitcount:wakeup_lat=common_timestamp.usecs-$ts0.usecs:... After: hist:keys=next_pid:vals=hi

Re: [PATCH 2/2] KVM: X86: Fix disable pv tlb flush when steal time is enabled

2018-03-28 Thread Radim Krčmář
2018-03-24 21:18-0700, Wanpeng Li: > From: Wanpeng Li > > PV TLB FLUSH can be turned on when steal time is enabled. The condition > reverse when the patch is sent out for several rounds review by mistake. It was just one round and the m/l patch actually looks correct, > This patch fixes it. >

Re: [PATCH 1/2] KVM: X86: Fix setup the virt_spin_lock_key before static key get initialized

2018-03-28 Thread Radim Krčmář
2018-03-24 21:17-0700, Wanpeng Li: > From: Wanpeng Li > > static_key_disable_cpuslocked(): static key 'virt_spin_lock_key+0x0/0x20' > used before call to jump_label_init() > WARNING: CPU: 0 PID: 0 at kernel/jump_label.c:161 > static_key_disable_cpuslocked+0x61/0x80 > RIP: 0010:static_key_dis

Re: [RFC PATCH for 4.17 02/21] rseq: Introduce restartable sequences system call (v12)

2018-03-28 Thread Mathieu Desnoyers
- On Mar 28, 2018, at 1:49 PM, Peter Zijlstra pet...@infradead.org wrote: > On Wed, Mar 28, 2018 at 11:37:06AM -0400, Mathieu Desnoyers wrote: >> - On Mar 28, 2018, at 11:28 AM, Peter Zijlstra pet...@infradead.org >> wrote: >> >> > On Wed, Mar 28, 2018 at 11:14:05AM -0400, Mathieu Desnoy

Re: [RFC v2 11/12] KVM: arm/arm64: Implement KVM_VGIC_V3_ADDR_TYPE_REDIST_REGION

2018-03-28 Thread Auger Eric
Hi Peter, On 28/03/18 20:55, Peter Maydell wrote: > On 27 March 2018 at 15:04, Eric Auger wrote: >> Now all the internals are ready to handle multiple redistributor >> regions, let's allow the userspace to register them. >> >> Signed-off-by: Eric Auger >> --- >> virt/kvm/arm/vgic/vgic-kvm-devic

Re: [PATCH v6 0/7] Enlightened VMCS support for KVM on Hyper-V

2018-03-28 Thread Radim Krčmář
2018-03-26 14:42+0200, Vitaly Kuznetsov: > Vitaly Kuznetsov writes: > > > Changes since v5: > > - Fix a couple of issues reported by kbuild test robot, both in > > PATCH7 (hope Radim's Reviewed-by: stands). > > > > When running nested KVM on Hyper-V it's possible to use so called > > 'Enlighten

Re: [PATCH v3 1/4] dt-bindings: mfd: Add Gateworks System Controller bindings

2018-03-28 Thread Guenter Roeck
On Wed, Mar 28, 2018 at 12:17:34PM -0700, Tim Harvey wrote: > On Wed, Mar 28, 2018 at 9:24 AM, Guenter Roeck wrote: > > On Wed, Mar 28, 2018 at 08:14:00AM -0700, Tim Harvey wrote: > >> This patch adds documentation of device-tree bindings for the > >> Gateworks System Controller (GSC). > >> > >> S

Re: [PATCH v3 3/4] hwmon: add Gateworks System Controller support

2018-03-28 Thread Tim Harvey
On Wed, Mar 28, 2018 at 10:00 AM, Guenter Roeck wrote: > On Wed, Mar 28, 2018 at 08:14:02AM -0700, Tim Harvey wrote: >> The Gateworks System Controller has a hwmon sub-component that exposes >> up to 16 ADC's, some of which are temperature sensors, others which are >> voltage inputs. The ADC confi

Re: [PATCH v2 2/5] KVM: VMX: Remove ple_window_actual_max

2018-03-28 Thread Radim Krčmář
2018-03-16 16:37-0400, Babu Moger: > Get rid of ple_window_actual_max, because its benefits are really > minuscule and the logic is complicated. > > The overflows(and underflow) are controlled in __ple_window_grow > and _ple_window_shrink respectively. > > Suggested-by: Radim Krčmář > Signed-off

Re: [PATCH v2 3/5] KVM: VMX: Bring the common code to header file

2018-03-28 Thread Radim Krčmář
2018-03-16 16:37-0400, Babu Moger: > This patch brings some of the code from vmx to x86.h header file. Now, we > can share this code between vmx and svm. Modified couple functions to make > it common. > > Signed-off-by: Babu Moger > --- > diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c > @@

Re: [PATCH v2 5/5] KVM: SVM: Implement pause loop exit logic in SVM

2018-03-28 Thread Radim Krčmář
2018-03-16 16:37-0400, Babu Moger: > Bring the PLE(pause loop exit) logic to AMD svm driver. > > While testing, we found this helping in situations where numerous > pauses are generated. Without these patches we could see continuos > VMEXITS due to pause interceptions. Tested it on AMD EPYC server

Re: [PATCH v3 3/4] hwmon: add Gateworks System Controller support

2018-03-28 Thread Guenter Roeck
On Wed, Mar 28, 2018 at 01:23:59PM -0700, Tim Harvey wrote: > On Wed, Mar 28, 2018 at 10:00 AM, Guenter Roeck wrote: > > On Wed, Mar 28, 2018 at 08:14:02AM -0700, Tim Harvey wrote: > >> The Gateworks System Controller has a hwmon sub-component that exposes > >> up to 16 ADC's, some of which are te

[PATCH v4 0/16] Generic initrd_free_mem

2018-03-28 Thread Shea Levy
This patch series extracts out code for unloading the initramfs that was identical across 14 architectures, and moves those architectures to the common code path. Additionally, RISC-V is newly moved to the common code path. In addition to reducing duplication, this allows us to bring future improv

[PATCH v4 01/16] initrd: Add weakly-linked generic free_initrd_mem.

2018-03-28 Thread Shea Levy
Signed-off-by: Shea Levy --- init/initramfs.c | 5 + 1 file changed, 5 insertions(+) diff --git a/init/initramfs.c b/init/initramfs.c index 7e99a0038942..c8fe150f958a 100644 --- a/init/initramfs.c +++ b/init/initramfs.c @@ -526,6 +526,11 @@ extern unsigned long __initramfs_size; #include

[PATCH v4 05/16] c6x: Use generic free_initrd_mem.

2018-03-28 Thread Shea Levy
Signed-off-by: Shea Levy --- arch/c6x/mm/init.c | 7 --- 1 file changed, 7 deletions(-) diff --git a/arch/c6x/mm/init.c b/arch/c6x/mm/init.c index 4cc72b0d1c1d..a11cb657182a 100644 --- a/arch/c6x/mm/init.c +++ b/arch/c6x/mm/init.c @@ -66,13 +66,6 @@ void __init mem_init(void) mem_ini

[PATCH v4 09/16] m68k: Use generic free_initrd_mem.

2018-03-28 Thread Shea Levy
Signed-off-by: Shea Levy --- arch/m68k/mm/init.c | 7 --- 1 file changed, 7 deletions(-) diff --git a/arch/m68k/mm/init.c b/arch/m68k/mm/init.c index e85acd131fa8..e20bef09258c 100644 --- a/arch/m68k/mm/init.c +++ b/arch/m68k/mm/init.c @@ -172,10 +172,3 @@ void __init mem_init(void)

[PATCH v4 07/16] h8300: Use generic free_initrd_mem.

2018-03-28 Thread Shea Levy
Signed-off-by: Shea Levy --- arch/h8300/mm/init.c | 7 --- 1 file changed, 7 deletions(-) diff --git a/arch/h8300/mm/init.c b/arch/h8300/mm/init.c index 015287ac8ce8..37574332b202 100644 --- a/arch/h8300/mm/init.c +++ b/arch/h8300/mm/init.c @@ -102,13 +102,6 @@ void __init mem_init(void) }

[PATCH v4 03/16] alpha: Use generic free_initrd_mem.

2018-03-28 Thread Shea Levy
Signed-off-by: Shea Levy --- arch/alpha/mm/init.c | 8 1 file changed, 8 deletions(-) diff --git a/arch/alpha/mm/init.c b/arch/alpha/mm/init.c index 9d74520298ab..55f7c8efa962 100644 --- a/arch/alpha/mm/init.c +++ b/arch/alpha/mm/init.c @@ -291,11 +291,3 @@ free_initmem(void) {

<    2   3   4   5   6   7   8   9   10   >