Re: [PATCH 2/5] Docs: Remove redundant geometry package inclusion

2017-06-19 Thread Mauro Carvalho Chehab
Em Sun, 18 Jun 2017 17:46:27 -0600 Jonathan Corbet escreveu: > Commit 85c21e5c3ee7 (docs-rst: better adjust margins and font size) added a > \usepackage{geometry} that conflicts with another inclusion deep within the > dependencies somewhere, causing the the PDF build to fail with a > "conflictin

Re: [RFC PATCH 1/2] crypto: caam - properly set IV after {en,de}crypt

2017-06-19 Thread Horia Geantă
On 6/2/2017 3:25 PM, David Gstir wrote: > Certain cipher modes like CTS expect the IV (req->info) of > ablkcipher_request (or equivalently req->iv of skcipher_request) to > contain the last ciphertext block when the {en,de}crypt operation is done. > This is currently not the case for the CAAM drive

Re: [PATCH 1/6] ARM: dts: rockchip: add basic dtsi file for RK3229 SoC

2017-06-19 Thread Frank Wang
Hi Heiko, On 2017/6/18 2:12, Heiko Stuebner wrote: Am Donnerstag, 15. Juni 2017, 15:16:15 CEST schrieb Frank Wang: Due to some tiny differences between RK3228 and RK3229, this patch adds a basic dtsi file which includes a new CPU opp table and PSCI brought up support for RK3229. Signed-off-by:

Re: [PATCH] drm: exynos: constify mixer_match_types and *_mxr_drv_data.

2017-06-19 Thread Andrzej Hajda
On 19.06.2017 12:12, Arvind Yadav wrote: > File size before: >text data bss dec hex filename >9983 1424 0 114072c8f > drivers/gpu/drm/exynos/exynos_mixer.o > > File size after constify: >text data bss dec hex filename > 1

Re: [PATCH v3] platform/x86: dell-laptop: Fix bogus keyboard backlight sysfs interface

2017-06-19 Thread Pali Rohár
On Monday 19 June 2017 18:27:39 Kai-Heng Feng wrote: > Dell Latitude 3160 does not have keyboard backlight, but there is a > sysfs interface for it, which does nothing at all. > > KBD_LED_ON_TOKEN is the only token can be found. Since it doesn't have > KBD_LED_OFF_TOKEN or KBD_LED_AUTO_*_TOKEN, it

Re: [ANNOUNCE] v4.11.5-rt1

2017-06-19 Thread Sebastian Andrzej Siewior
On 2017-06-19 12:14:51 [+0200], Mike Galbraith wrote: > Ok, doesn't matter for RT testing. What does matter, is that... > > diff --git a/kernel/sched/core.c b/kernel/sched/core.c > index 30b24f774198..10e832da70b6 100644 > --- a/kernel/sched/core.c > +++ b/kernel/sched/core.c > @@ -2284,7 +2284,7

Re: [PATCH v11 1/3] PCI: hisi: Add DT binding for PCIe of Kirin SoC series

2017-06-19 Thread Wei Xu
Hi Xiaowei, On 2017/6/19 11:23, Xiaowei Song wrote: Please add some commit message. > Cc: Guodong Xu > Signed-off-by: Xiaowei Song > Acked-by: Rob Herring > --- I have picked up the patch from [1] and the pull request has been merged into ARM SoC tree. Please do not resend the same patch. Th

Re: [PATCH 2/5] Docs: Remove redundant geometry package inclusion

2017-06-19 Thread Mauro Carvalho Chehab
Em Mon, 19 Jun 2017 07:30:38 -0300 Mauro Carvalho Chehab escreveu: > Em Sun, 18 Jun 2017 17:46:27 -0600 > Jonathan Corbet escreveu: > > > Commit 85c21e5c3ee7 (docs-rst: better adjust margins and font size) added a > > \usepackage{geometry} that conflicts with another inclusion deep within the >

Re: [PATCH v4 5/7] kasan: allow kasan_check_read/write() to accept pointers to volatiles

2017-06-19 Thread Mark Rutland
On Sat, Jun 17, 2017 at 11:15:31AM +0200, Dmitry Vyukov wrote: > Currently kasan_check_read/write() accept 'const void*', make them > accept 'const volatile void*'. This is required for instrumentation > of atomic operations and there is just no reason to not allow that. > > Signed-off-by: Dmitry

Re: [PATCH v4 3/7] asm-generic: add atomic-instrumented.h

2017-06-19 Thread Mark Rutland
On Sat, Jun 17, 2017 at 11:15:29AM +0200, Dmitry Vyukov wrote: > The new header allows to wrap per-arch atomic operations > and add common functionality to all of them. > > Signed-off-by: Dmitry Vyukov > Cc: Mark Rutland > Cc: Peter Zijlstra > Cc: Will Deacon > Cc: Andrew Morton > Cc: Andrey

Re: [PATCH v4 6/7] asm-generic: add KASAN instrumentation to atomic operations

2017-06-19 Thread Mark Rutland
On Sat, Jun 17, 2017 at 11:15:32AM +0200, Dmitry Vyukov wrote: > KASAN uses compiler instrumentation to intercept all memory accesses. > But it does not see memory accesses done in assembly code. > One notable user of assembly code is atomic operations. Frequently, > for example, an atomic referenc

Re: [PATCH v11 1/3] PCI: hisi: Add DT binding for PCIe of Kirin SoC series

2017-06-19 Thread Wei Xu
Hi Xiaowei, On 2017/6/19 11:44, Wei Xu wrote: > Hi Xiaowei, > > On 2017/6/19 11:23, Xiaowei Song wrote: > > Please add some commit message. > >> Cc: Guodong Xu >> Signed-off-by: Xiaowei Song >> Acked-by: Rob Herring >> --- > > I have picked up the patch from [1] and > the pull request has b

Re: [PATCH v4 7/7] asm-generic, x86: add comments for atomic instrumentation

2017-06-19 Thread Mark Rutland
On Sat, Jun 17, 2017 at 11:15:33AM +0200, Dmitry Vyukov wrote: > The comments are factored out from the code changes to make them > easier to read. Add them separately to explain some non-obvious > aspects. > > Signed-off-by: Dmitry Vyukov > Cc: Mark Rutland > Cc: Peter Zijlstra > Cc: Will Deac

[PATCH][mmc-next][RESEND] mmc: sdhci-pci: make guid intel_dsm_guid static

2017-06-19 Thread Colin King
From: Colin Ian King The guid intel_dsm_guid does not need to be in global scope, so make it static. Cleans up sparse warning: "symbol 'intel_dsm_guid' was not declared. Should it be static?" Signed-off-by: Colin Ian King --- drivers/mmc/host/sdhci-pci-core.c | 2 +- 1 file changed, 1 inserti

[PATCH] phy: brcm-sata: fix a timeout test in init

2017-06-19 Thread Dan Carpenter
We want to timeout with try set to zero so this should be a pre-op instead of post-op. Signed-off-by: Dan Carpenter diff --git a/drivers/phy/broadcom/phy-brcm-sata.c b/drivers/phy/broadcom/phy-brcm-sata.c index ccbc3d994998..48fb016ce689 100644 --- a/drivers/phy/broadcom/phy-brcm-sata.c +++ b/d

Re: [PATCH v5 1/3] nvmem: dt: document SNVS LPGPR binding

2017-06-19 Thread Stefan Wahren
Hi Fabio, Am 19.06.2017 um 08:06 schrieb Oleksij Rempel: > On Fri, Jun 09, 2017 at 04:59:00PM +0200, Stefan Wahren wrote: > Hi Stefan, > >> Hi Oleksij, >> >> Am 09.06.2017 um 14:57 schrieb Oleksij Rempel: >>> Documentation bindings for the Low Power General Purpose Register >>> available on i.MX6

Re: [PATCH][mmc-next][RESEND] mmc: sdhci-pci: make guid intel_dsm_guid static

2017-06-19 Thread Ulf Hansson
On 19 June 2017 at 12:55, Colin King wrote: > From: Colin Ian King Both me and Adrian have acked this, so it's fine to pick up by Christoph. Kind regards Uffe > > The guid intel_dsm_guid does not need to be in global scope, so make > it static. > > Cleans up sparse warning: > "symbol 'intel_ds

[PATCH net] net: account for current skb length when deciding about UFO

2017-06-19 Thread Michal Kubecek
Our customer encountered stuck NFS writes for blocks starting at specific offsets w.r.t. page boundary caused by networking stack sending packets via UFO enabled device with wrong checksum. The problem can be reproduced by composing a long UDP datagram from multiple parts using MSG_MORE flag: se

Re: [RFC v2 12/12]selftest: Updated protection key selftest

2017-06-19 Thread Michael Ellerman
Ram Pai writes: > Added test support for PowerPC implementation off protection keys. > > Signed-off-by: Ram Pai > --- > tools/testing/selftests/vm/Makefile |1 + > tools/testing/selftests/vm/pkey-helpers.h | 365 +++ > tools/testing/selftests/vm/protection_keys.c | 1451

Re: [RFC v2 10/12] powerpc: Read AMR only if pkey-violation caused the exception.

2017-06-19 Thread Michael Ellerman
Ram Pai writes: > Signed-off-by: Ram Pai > --- > arch/powerpc/kernel/exceptions-64s.S | 16 ++-- > 1 file changed, 10 insertions(+), 6 deletions(-) > > diff --git a/arch/powerpc/kernel/exceptions-64s.S > b/arch/powerpc/kernel/exceptions-64s.S > index 8db9ef8..a4de1b4 100644 > --- a

[PATCH v4 0/3] iommu/ipmmu-vmsa: r8a7796 support V4

2017-06-19 Thread Magnus Damm
iommu/ipmmu-vmsa: r8a7796 support V4 [PATCH v4 1/3] iommu/ipmmu-vmsa: Add r8a7796 DT binding [PATCH v4 2/3] iommu/ipmmu-vmsa: Increase maximum micro-TLBS to 48 [PATCH v4 3/3] iommu/ipmmu-vmsa: Hook up r8a7796 DT matching code This series adds r8a7796 support to the IPMMU driver. The DT binding ge

[PATCH v4 2/3] iommu/ipmmu-vmsa: Increase maximum micro-TLBS to 48

2017-06-19 Thread Magnus Damm
From: Magnus Damm Bump up the maximum numbers of micro-TLBS to 48. Each IPMMU device instance get micro-TLB assignment via the "iommus" property in DT. Older SoCs tend to use a maximum number of 32 micro-TLBs per IPMMU instance however newer SoCs such as r8a7796 make use of up to 48 micro-TLBs.

[PATCH v4 3/3] iommu/ipmmu-vmsa: Hook up r8a7796 DT matching code

2017-06-19 Thread Magnus Damm
From: Magnus Damm Support the r8a7796 IPMMU by sharing feature flags between r8a7795 and r8a7796. Also update IOMMU_OF_DECLARE to hook up the updated compat string. Signed-off-by: Magnus Damm Reviewed-by: Geert Uytterhoeven --- Changes since V3: - Added Reviewed-by from Geert - thanks! Ch

[PATCH v4 1/3] iommu/ipmmu-vmsa: Add r8a7796 DT binding

2017-06-19 Thread Magnus Damm
From: Magnus Damm Update the IPMMU DT binding documentation to include the r8a7796 compat string for R-Car M3-W. Signed-off-by: Magnus Damm Acked-by: Laurent Pinchart Acked-by: Rob Herring Acked-by: Simon Horman Acked-by: Geert Uytterhoeven --- Changes since V3: - None Changes since V2

Re: [PATCH 03/11] au1100fb: remove a bogus dma_free_nonconsistent call

2017-06-19 Thread Bartlomiej Zolnierkiewicz
On Friday, June 16, 2017 09:17:08 AM Christoph Hellwig wrote: > au1100fb is using managed dma allocations, so it doesn't need to > explicitly free the dma memory in the error path (and if it did > it would have to use the managed version). > > Signed-off-by: Christoph Hellwig Acked-by: Bartlomie

Re: [PATCH v2] [media] v4l2: add V4L2_CAP_IO_MC

2017-06-19 Thread Hans Verkuil
On 06/14/2017 06:50 AM, Helen Koike wrote: Add V4L2_CAP_IO_MC to be used in struct v4l2_capability to indicate that input and output are controlled by the Media Controller instead of V4L2 API. When this flag is set, ioctls for get, set and enum input and outputs are automatically enabled and prog

[PATCH] changes.rst: explain the usage of virtual environment

2017-06-19 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/process/changes.rst | 18 ++ 1 file changed, 18 insertions(+) diff --git a/Documentation/process/c

Re: [PATCH v2] firmware: qcom_scm: Fix to allow COMPILE_TEST-ing

2017-06-19 Thread Stanimir Varbanov
Hi Olof, On 06/19/2017 08:35 AM, Olof Johansson wrote: > Hi, > > On Thu, Jun 8, 2017 at 8:23 AM, Stanimir Varbanov > wrote: >> Unfortunatly previous attempt to allow consumer drivers to >> use COMPILE_TEST option in Kconfig is not enough, because in the >> past the consumer drivers used 'depends

Re: [ANNOUNCE] v4.11.5-rt1

2017-06-19 Thread Mike Galbraith
On Mon, 2017-06-19 at 12:44 +0200, Sebastian Andrzej Siewior wrote: > On 2017-06-19 12:14:51 [+0200], Mike Galbraith wrote: > > Ok, doesn't matter for RT testing. What does matter, is that... > > > > diff --git a/kernel/sched/core.c b/kernel/sched/core.c > > index 30b24f774198..10e832da70b6 10064

Re: [PATCH v5 3/6] kernel/reboot.c: export pm_power_off_prepare

2017-06-19 Thread Leonard Crestez
On Mon, 2017-06-19 at 07:02 +0200, Oleksij Rempel wrote: > Export pm_power_off_prepare. It is needed to implement power off on > Freescale/NXP iMX6 based boards with external power management > integrated circuit (PMIC). > > Signed-off-by: Oleksij Rempel > --- >  kernel/reboot.c | 1 + >  1 file c

Re: [PATCH v5 2/6] ARM: imx6: register pm_power_off handler if "fsl,pmic-stby-poweroff" is set

2017-06-19 Thread Leonard Crestez
On Mon, 2017-06-19 at 07:02 +0200, Oleksij Rempel wrote: > One of the Freescale recommended sequences for power off with > external > PMIC is the following: > ... > 3.  SoC is programming PMIC for power off when standby is asserted. > 4.  In CCM STOP mode, Standby is asserted, PMIC gates SoC suppli

Re: [RFC PATCH] drivers/char: kmem: disable read/write if VMALLOC_START < PAGE_OFFSET

2017-06-19 Thread Will Deacon
On Fri, Jun 09, 2017 at 04:32:28PM +, Ard Biesheuvel wrote: > As it turns out, arm64 deviates from other architectures in the way it > maps the VMALLOC region: on most (all?) other architectures, it resides > strictly above the kernel's direct mapping of DRAM, but on arm64, this > is the other

Greetings!

2017-06-19 Thread Dr. Paul Benk
Greetings! I have a proposal for you, this however is not mandatory nor will I in any manner compel you to honor against your will. I am Dr.Paul Benk a former executive director with Arab Tunisian Bank here in Tunis; I retired 1 year 7 months ago after putting in 28 years of meticulous service. Du

Re: [PATCH BUGFIX] block, bfq: update wr_busy_queues if needed on a queue split

2017-06-19 Thread Paolo Valente
e drop us a note to > help improve the system] > > url: > https://github.com/0day-ci/linux/commits/Paolo-Valente/block-bfq-update-wr_busy_queues-if-needed-on-a-queue-split/20170619-145003 > config: i386-randconfig-x000-201725 (attached as .config) > compiler: gcc-

[PATCH BUGFIX V2] block, bfq: update wr_busy_queues if needed on a queue split

2017-06-19 Thread Paolo Valente
This commit fixes a bug triggered by a non-trivial sequence of events. These events are briefly described in the next two paragraphs. The impatiens, or those who are familiar with queue merging and splitting, can jump directly to the last paragraph. On each I/O-request arrival for a shared bfq_que

Re: [PATCH 28/28] quota: add extra inode count to dquot transfer functions

2017-06-19 Thread Tahsin Erdogan
>> I tried that approach by adding a "int get_inode_usage(struct inode >> *inode, qsize_t *usage)" callback to dquot_operations. Unfortunately, >> ext4 code that calculates the number of internal inodes >> (ext4_xattr_inode_count()) is subject to failures so the callback has >> to be able to report

[PATCH V1] one wire ds1wm patch

2017-06-19 Thread Johannes Pöhlmann
To make the ds1wm driver work on a powerpc architecture (big endian, 32bit) with a register offset multiplier of 4 i had to make some changes to drivers/w1/masters/ds1wm.c andinclude/linux/mfd/ds1wm.h. I grouped theses into 4 patches of falling priority. [PATCH 1/4] fix and simplif

Re: [ANNOUNCE] v4.11.5-rt1

2017-06-19 Thread Sebastian Andrzej Siewior
On 2017-06-19 13:31:28 [+0200], Mike Galbraith wrote: > > > Scratch that "appears", changing it to TASK_NORMAL just fixed my DL980 > > > running otherwise absolutely pristine 4.9-rt21, after having double > > > verified that rt20 works fine.  Now to go back to 4.11/master/tip-rt, > > > make sure th

Re: [PATCH 01/10] doc: DT: camss: Binding document for Qualcomm Camera subsystem driver

2017-06-19 Thread Todor Tomov
Hi Rob, On 01/09/2017 04:33 PM, Todor Tomov wrote: > Hi Rob, > > Happy new year, > And thank you for the review. > > On 12/01/2016 12:03 AM, Rob Herring wrote: >> On Fri, Nov 25, 2016 at 04:56:53PM +0200, Todor Tomov wrote: >>> Add DT binding document for Qualcomm Camera subsystem driver. >>> >>

Re: [PATCH v2 12/12] ASoC: Fix use-after-free at card unregistration

2017-06-19 Thread Robert Jarzmik
Takashi Iwai writes: > On Mon, 19 Jun 2017 09:27:09 +0200, > Robert Jarzmik wrote: >> >> From: Takashi Iwai >> >> soc_cleanup_card_resources() call snd_card_free() at the last of its >> procedure. This turned out to lead to a use-after-free. >> PCM runtimes have been already removed via soc_r

Re: [PATCH] reset: zx2967: constify zx2967_reset_ops.

2017-06-19 Thread Philipp Zabel
On Tue, 2017-06-13 at 10:22 +0530, Arvind Yadav wrote: > File size before: >text data bss dec hex filename > 794 232 01026 402 drivers/reset/reset-zx2967.o > > File size After adding 'const': >text data bss dec hex filen

Re: [RFC v2 03/12] powerpc: Implement sys_pkey_alloc and sys_pkey_free system call.

2017-06-19 Thread Michael Ellerman
Hi Ram, Ram Pai writes: > Sys_pkey_alloc() allocates and returns available pkey > Sys_pkey_free() frees up the pkey. > > Total 32 keys are supported on powerpc. However pkey 0,1 and 31 > are reserved. So effectively we have 29 pkeys. > > Signed-off-by: Ram Pai > --- > include/linux/mm.h

Re: [PATCH v5 3/6] reset: hide reset control arrays behind struct reset_control

2017-06-19 Thread Philipp Zabel
Hi Vivek, On Tue, 2017-06-13 at 12:16 +0530, Vivek Gautam wrote: [...] > > @@ -102,18 +94,6 @@ static inline struct reset_control > > *__devm_reset_control_get( > > return optional ? NULL : ERR_PTR(-ENOTSUPP); > > } > > > > -static inline > > -int reset_control_array_assert(struct reset_

Re: [PATCH v2] firmware: qcom_scm: Fix to allow COMPILE_TEST-ing

2017-06-19 Thread Stanimir Varbanov
Hi Olof, On 06/19/2017 02:25 PM, Stanimir Varbanov wrote: > Hi Olof, > > On 06/19/2017 08:35 AM, Olof Johansson wrote: >> Hi, >> >> On Thu, Jun 8, 2017 at 8:23 AM, Stanimir Varbanov >> wrote: >>> Unfortunatly previous attempt to allow consumer drivers to >>> use COMPILE_TEST option in Kconfig is

Re: ppc64/perf: Fix oops when kthread execs user process

2017-06-19 Thread Michael Ellerman
On Thu, 2017-06-15 at 13:46:48 UTC, Ravi Bangoria wrote: > When a kthread makes a call_usermodehelper() call the steps are: > a. allocates current->mm > b. load_elf_binary() > c. populates current->thread.regs > > While doing this, interrupts are not disabled. If there is a perf > interrupt in

Re: [PATCH v3 0/4] Generalize fncpy availability

2017-06-19 Thread Mark Rutland
On Fri, Jun 16, 2017 at 05:07:40PM -0700, Florian Fainelli wrote: > Hi all, Hi Florian, > This patch series makes ARM's fncpy() implementation more generic (dropping > the > Thumb-specifics) and available in an asm-generic header file. > > Tested on a Broadcom ARM64 STB platform with code that

Re: [v2] drivers/watchdog/Kconfig: Update CONFIG_WATCHDOG_RTAS dependencies

2017-06-19 Thread Michael Ellerman
On Mon, 2017-05-29 at 13:26:28 UTC, Murilo Opsfelder Araujo wrote: > drivers/watchdog/wdrtas.c uses symbols defined in arch/powerpc/kernel/rtas.c, > which are exported iff CONFIG_PPC_RTAS is selected. Building wdrtas.c without > setting CONFIG_PPC_RTAS throws the following errors: > > ERROR: "

Re: [PATCH 1/6] ARM: dts: rockchip: add basic dtsi file for RK3229 SoC

2017-06-19 Thread Heiko Stübner
Hi Frank, Am Montag, 19. Juni 2017, 18:34:27 CEST schrieb Frank Wang: > On 2017/6/18 2:12, Heiko Stuebner wrote: > > Am Donnerstag, 15. Juni 2017, 15:16:15 CEST schrieb Frank Wang: > >> Due to some tiny differences between RK3228 and RK3229, this patch > >> adds a basic dtsi file which includes a

Re: [PATCH 2/5] x86: use common aperfmperf_khz_on_cpu() to calculate KHz using APERF/MPERF

2017-06-19 Thread Rafael J. Wysocki
On Friday, June 16, 2017 09:49:00 PM Len Brown wrote: > On Fri, Jun 16, 2017 at 8:30 PM, Rafael J. Wysocki wrote: > > On Wednesday, June 07, 2017 07:39:13 PM Len Brown wrote: > >> From: Len Brown [cut] > > > > I wonder if we could change intel_pstate_get() to simply return > > aperfmperf_khz_on

Re: [PATCH 28/28] quota: add extra inode count to dquot transfer functions

2017-06-19 Thread Jan Kara
On Mon 19-06-17 04:46:00, Tahsin Erdogan wrote: > >> I tried that approach by adding a "int get_inode_usage(struct inode > >> *inode, qsize_t *usage)" callback to dquot_operations. Unfortunately, > >> ext4 code that calculates the number of internal inodes > >> (ext4_xattr_inode_count()) is subject

Re: [PATCH v5 6/6] soc/tegra: pmc: Use the new reset APIs to manage reset controllers

2017-06-19 Thread Philipp Zabel
On Thu, 2017-06-01 at 18:52 +0200, Philipp Zabel wrote: > From: Vivek Gautam > > Make use of reset_control_array_*() set of APIs to manage > an array of reset controllers available with the device. > > Cc: Jon Hunter > Cc: Thierry Reding > Cc: Philipp Zabel > Signed-off-by: Vivek Gautam > --

Re: [PATCH 3/3] fs/locks: Use fs-specific l_pid for remote locks

2017-06-19 Thread Benjamin Coddington
Apologies for the delayed response.. On 7 Jun 2017, at 7:40, Jeff Layton wrote: > On Tue, 2017-06-06 at 16:45 -0400, Benjamin Coddington wrote: >> Now that we're translating fl_pid for F_GETLK and /proc/locks, we need to >> handle the case where a remote filesystem directly sets fl_pid. In that

Re: [PATCH v3 19/21] dt-bindings: mmc: dw_mmc-k3: add document of hi3660 mmc

2017-06-19 Thread Ulf Hansson
On 14 June 2017 at 10:23, Guodong Xu wrote: > Add bindings for hi3660 mmc support > > Signed-off-by: Li Wei > Signed-off-by: Guodong Xu > --- > Documentation/devicetree/bindings/mmc/k3-dw-mshc.txt | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/Documentation/devicetree/bindings/mmc/k3-

Re: [GIT PULL] x86,cpufreq: unify APERF/MPERF computation

2017-06-19 Thread Rafael J. Wysocki
On Sat, Jun 17, 2017 at 5:03 AM, Len Brown wrote: > > In-Reply-To: > > Hi Rafael, > > This patch series has 3 goals: > > 1. Make "cpu MHz" in /proc/cpuinfo supportable. > > 2. Make /sys/.../cpufreq/scaling_cur_freq meaningful >and consistent on modern x86 systems. > > 3. Use 1. and 2. to remov

Re: [PATCHv2 1/3] x86/mm: Provide pmdp_establish() helper

2017-06-19 Thread Kirill A. Shutemov
On Fri, Jun 16, 2017 at 03:36:00PM +0200, Andrea Arcangeli wrote: > Hello Krill, > > On Thu, Jun 15, 2017 at 05:52:22PM +0300, Kirill A. Shutemov wrote: > > +static inline pmd_t pmdp_establish(pmd_t *pmdp, pmd_t pmd) > > +{ > > + pmd_t old; > > + > > + /* > > +* We cannot assume what is va

Re: [PATCH v3 1/n] perf/core: addressing 4x slowdown during per-process profiling of STREAM benchmark on Intel Xeon Phi

2017-06-19 Thread Mark Rutland
On Fri, Jun 16, 2017 at 05:22:29PM +0300, Alexey Budankov wrote: > On 16.06.2017 17:08, Alexey Budankov wrote: > >On 16.06.2017 12:09, Mark Rutland wrote: > >>On Fri, Jun 16, 2017 at 01:10:10AM +0300, Alexey Budankov wrote: > >>>On 15.06.2017 22:56, Mark Rutland wrote: > On Thu, Jun 15, 2017 at

Re: [PATCHv2 1/3] x86/mm: Provide pmdp_establish() helper

2017-06-19 Thread Kirill A. Shutemov
On Mon, Jun 19, 2017 at 07:48:01AM +0200, Martin Schwidefsky wrote: > On Thu, 15 Jun 2017 17:52:22 +0300 > "Kirill A. Shutemov" wrote: > > > We need an atomic way to setup pmd page table entry, avoiding races with > > CPU setting dirty/accessed bits. This is required to implement > > pmdp_invalid

Re: [PATCH 3/3] fs/locks: Use fs-specific l_pid for remote locks

2017-06-19 Thread Benjamin Coddington
On 19 Jun 2017, at 8:37, Benjamin Coddington wrote: > Apologies for the delayed response.. > > On 7 Jun 2017, at 7:40, Jeff Layton wrote: > >> On Tue, 2017-06-06 at 16:45 -0400, Benjamin Coddington wrote: >>> Now that we're translating fl_pid for F_GETLK and /proc/locks, we need to >>> handle the

Re: [ANNOUNCE] v4.11.5-rt1

2017-06-19 Thread Mike Galbraith
On Mon, 2017-06-19 at 13:50 +0200, Sebastian Andrzej Siewior wrote: > > rt20…rt21 is just > > https://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-rt-devel.git/tree/patches/sched-Prevent-task-state-corruption-by-spurious-lock.patch?h=linux-4.9.y-rt-patches Yup.  I got there via git checkou

Re: [PATCH v5 1/3] nvmem: dt: document SNVS LPGPR binding

2017-06-19 Thread Fabio Estevam
Hi Stefan, On Mon, Jun 19, 2017 at 7:58 AM, Stefan Wahren wrote: > do you know how the clock "lp_ipg_clk_s" should be handled? As per the Reference Manual there is no CCM gating bits for this clock.

[PATCH] fs: buffer: Modify alloc_page_buffers.

2017-06-19 Thread Sean Fu
Make alloc_page_buffers support circular buffer list and initialise b_state field. Optimize the performance by removing the buffer list traversal to create circular buffer list. Signed-off-by: Sean Fu --- drivers/md/bitmap.c | 2 +- fs/buffer.c | 37 +++--

Re: [PATCHv2 1/3] x86/mm: Provide pmdp_establish() helper

2017-06-19 Thread Martin Schwidefsky
On Mon, 19 Jun 2017 15:48:19 +0300 "Kirill A. Shutemov" wrote: > On Mon, Jun 19, 2017 at 07:48:01AM +0200, Martin Schwidefsky wrote: > > On Thu, 15 Jun 2017 17:52:22 +0300 > > "Kirill A. Shutemov" wrote: > > > > > We need an atomic way to setup pmd page table entry, avoiding races with > > >

Re: [PATCH v4] Introduce v3 namespaced file capabilities

2017-06-19 Thread Stefan Berger
On 06/18/2017 09:13 PM, Stefan Berger wrote: On 06/18/2017 06:14 PM, Serge E. Hallyn wrote: Quoting Stefan Berger (stef...@linux.vnet.ibm.com): On 06/14/2017 11:05 PM, Serge E. Hallyn wrote: On Wed, Jun 14, 2017 at 08:27:40AM -0400, Stefan Berger wrote: On 06/13/2017 07:55 PM, Serge E. Hallyn

Re: [PATCH v5 3/6] reset: hide reset control arrays behind struct reset_control

2017-06-19 Thread Vivek Gautam
Hi Philipp, On 06/19/2017 05:48 PM, Philipp Zabel wrote: Hi Vivek, On Tue, 2017-06-13 at 12:16 +0530, Vivek Gautam wrote: [...] @@ -102,18 +94,6 @@ static inline struct reset_control *__devm_reset_control_get( return optional ? NULL : ERR_PTR(-ENOTSUPP); } -static inline -int

Re: [RFC PATCH 18/33] irqchip/gic-v3-its: Add VLPI map/unmap operations

2017-06-19 Thread Marc Zyngier
Hi Eric, On 16/03/17 08:59, Auger Eric wrote: > Hi, > > On 17/01/2017 11:20, Marc Zyngier wrote: >> In order to let a VLPI being injected into a guest, the VLPI must >> be mapped using the VMAPTI command. When moved to a different vcpu, >> it must be moved with the VMOVI command. >> >> These comm

Re: [PATCH] changes.rst: explain the usage of virtual environment

2017-06-19 Thread Christoph Hellwig
On Mon, Jun 19, 2017 at 08:24:10AM -0300, Mauro Carvalho Chehab wrote: > As the Sphinx build seems very fragile, specially for > PDF output, add a notice about how to use it on a virtual > environment. Please don't. python venv are good at one thing only, and that is making a mess of your python

Re: [PATCH v3 1/n] perf/core: addressing 4x slowdown during per-process profiling of STREAM benchmark on Intel Xeon Phi

2017-06-19 Thread Alexey Budankov
On 16.06.2017 1:10, Alexey Budankov wrote: Hi, On 15.06.2017 22:56, Mark Rutland wrote: Hi, On Thu, Jun 15, 2017 at 08:41:42PM +0300, Alexey Budankov wrote: This series of patches continues v2 and addresses captured comments. As a general note, please keep any change log stuff out of the co

Re: [PATCH v4 5/7] kasan: allow kasan_check_read/write() to accept pointers to volatiles

2017-06-19 Thread Dmitry Vyukov
On Mon, Jun 19, 2017 at 12:50 PM, Mark Rutland wrote: > On Sat, Jun 17, 2017 at 11:15:31AM +0200, Dmitry Vyukov wrote: >> Currently kasan_check_read/write() accept 'const void*', make them >> accept 'const volatile void*'. This is required for instrumentation >> of atomic operations and there is j

Re: [PATCH v3 19/21] dt-bindings: mmc: dw_mmc-k3: add document of hi3660 mmc

2017-06-19 Thread Wei Xu
Hi Ulf, On 2017/6/19 13:43, Ulf Hansson wrote: > On 14 June 2017 at 10:23, Guodong Xu wrote: >> Add bindings for hi3660 mmc support >> >> Signed-off-by: Li Wei >> Signed-off-by: Guodong Xu >> --- >> Documentation/devicetree/bindings/mmc/k3-dw-mshc.txt | 1 + >> 1 file changed, 1 insertion(+) >

Re: [PATCH v2 1/2] ip_tunnel: fix ip tunnel lookup in collect_md mode

2017-06-19 Thread 严海双
> On 19 Jun 2017, at 1:43 PM, Pravin Shelar wrote: > > On Fri, Jun 16, 2017 at 8:27 PM, Haishuang Yan > wrote: >> In collect_md mode, if the tun dev is down, it still can call >> ip_tunnel_rcv to receive on packets, and the rx statistics increase >> improperly. >> >> Fixes: 2e15ea390e6f ("ip_

Re: ~.Charitable Organization

2017-06-19 Thread Sarah Edward.
SETTING UP CHARITABLE FOUNDATION Peace be with you I wish to seek for your sincere help in setting up a charitable organization to help the less privileged, elderly and also the vulnerable people under your care, I want to use my late husband wealth of $3,000,000.00 to set

Re: [PATCH] drm: hdlcd: Update PM code to save/restore console.

2017-06-19 Thread Liviu Dudau
On Fri, Jun 16, 2017 at 06:58:36PM +0200, Noralf Trønnes wrote: > > Den 16.06.2017 15.53, skrev Liviu Dudau: > > Update the PM code to suspend/resume the fbdev_cma console. > > > > Signed-off-by: Liviu Dudau > > --- > > drivers/gpu/drm/arm/hdlcd_drv.c | 11 ++- > > 1 file changed, 10

RE: [PATCH v5 0/2] add MSI support for PCIe port services and DPC IRQ support

2017-06-19 Thread Gabriele Paoloni
Hi Bjorn [...] ++-- > -- > > 2 files changed, 50 insertions(+), 21 deletions(-) > > Applied to pci/portdrv for v4.13, thanks! > > I tweaked the PME/hotplug no-MSI logic in pcie_init_service_irqs() > because I thought it was getting hard to read with the negations and > conj

Re: [PATCH] fs: buffer: Modify alloc_page_buffers.

2017-06-19 Thread Jan Kara
On Mon 19-06-17 21:01:36, Sean Fu wrote: > Make alloc_page_buffers support circular buffer list and initialise > b_state field. > Optimize the performance by removing the buffer list traversal to create > circular buffer list. > > Signed-off-by: Sean Fu IMHO this has unmeasurable performance gai

[PATCH 0/2 v5] Fixups for l_pid

2017-06-19 Thread Benjamin Coddington
LTP fcntl tests (fcntl11 fcntl14 fcntl17 fcntl19 fcntl20 fcntl21) have been failing for NFSv4 mounts due to an unexpected l_pid. What follows are some fixups: v2: - Rebase onto linux-next - Revert back to using the stack in locks_mandatory_area(), and fixup patch description for 1/3

[PATCH 2/2] fs/locks: Remove fl_nspid and use fs-specific l_pid for remote locks

2017-06-19 Thread Benjamin Coddington
Since commit c69899a17ca4 "NFSv4: Update of VFS byte range lock must be atomic with the stateid update", NFSv4 has been inserting locks in rpciod worker context. The result is that the file_lock's fl_nspid is the kworker's pid instead of the original userspace pid. The fl_nspid is only used to re

[PATCH 1/2] fs/locks: Use allocation rather than the stack in fcntl_getlk()

2017-06-19 Thread Benjamin Coddington
Struct file_lock is fairly large, so let's save some space on the stack by using an allocation for struct file_lock in fcntl_getlk(), just as we do for fcntl_setlk(). Signed-off-by: Benjamin Coddington --- fs/locks.c | 46 ++ 1 file changed, 26 inserti

[PATCH] Input: fix platform_no_drv_owner.cocci warnings

2017-06-19 Thread kbuild test robot
drivers/input/touchscreen/goodix-ts-sunrise/goodix_ts_core.c:1335:3-8: No need to set .owner here. The core will do it. Remove .owner field if calls are used which set it automatically Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci CC: Wang Yafei Signed-off-by: Fengguang Wu

[PATCH] Input: fix platform_no_drv_owner.cocci warnings

2017-06-19 Thread kbuild test robot
drivers/input/touchscreen/goodix-ts-sunrise/goodix_gtx5_i2c.c:872:3-8: No need to set .owner here. The core will do it. Remove .owner field if calls are used which set it automatically Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci CC: Wang Yafei Signed-off-by: Fengguang Wu

[PATCH] Input: fix semicolon.cocci warnings

2017-06-19 Thread kbuild test robot
drivers/input/touchscreen/goodix-ts-sunrise/goodix_gtx5_update.c:752:2-3: Unneeded semicolon Remove unneeded semicolon. Generated by: scripts/coccinelle/misc/semicolon.cocci CC: Wang Yafei Signed-off-by: Fengguang Wu --- goodix_gtx5_update.c |2 +- 1 file changed, 1 insertion(+), 1 de

Re: [PATCH v2] Input: Add driver for GOODiX GTx5 series touchsereen

2017-06-19 Thread kbuild test robot
Hi Wang, [auto build test WARNING on input/next] [also build test WARNING on v4.12-rc5 next-20170619] [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/Wang-Yafei/Input-Add-driver-for-GOODiX-GTx5

Re: [RFC PATCH 2/2] mm, fs: daxfile, an interface for byte-addressable updates to pmem

2017-06-19 Thread Dave Chinner
On Sat, Jun 17, 2017 at 10:05:45PM -0700, Andy Lutomirski wrote: > On Sat, Jun 17, 2017 at 8:15 PM, Dan Williams > wrote: > > On Sat, Jun 17, 2017 at 4:50 PM, Andy Lutomirski wrote: > >> My other objection is that the syscall intentionally leaks a reference > >> to the file. This means it needs

Re: [PATCH v3 1/n] perf/core: addressing 4x slowdown during per-process profiling of STREAM benchmark on Intel Xeon Phi

2017-06-19 Thread Mark Rutland
On Mon, Jun 19, 2017 at 04:08:32PM +0300, Alexey Budankov wrote: > On 16.06.2017 1:10, Alexey Budankov wrote: > >On 15.06.2017 22:56, Mark Rutland wrote: > >>On Thu, Jun 15, 2017 at 08:41:42PM +0300, Alexey Budankov wrote: > >>>This series of patches continues v2 and addresses captured comments. >

Re: [PATCHv2 2/3] mm: Do not loose dirty and access bits in pmdp_invalidate()

2017-06-19 Thread Kirill A. Shutemov
On Fri, Jun 16, 2017 at 03:40:41PM +0200, Andrea Arcangeli wrote: > On Thu, Jun 15, 2017 at 05:52:23PM +0300, Kirill A. Shutemov wrote: > > -void pmdp_invalidate(struct vm_area_struct *vma, unsigned long address, > > +pmd_t pmdp_invalidate(struct vm_area_struct *vma, unsigned long address, > >

Re: [RFC PATCH 28/33] irqchip/gic-v3-its: Support VPE doorbell invalidation even when !DirectLPI

2017-06-19 Thread Marc Zyngier
On 14/02/17 00:44, Shanker Donthineni wrote: > Hi Marc, > > > On 01/17/2017 04:20 AM, Marc Zyngier wrote: >> When we don't have the DirectLPI feature, we must work around the >> architecture shortcomings to be able to perform the required >> invalidation. >> >> For this, we create a fake device w

Re: [PATCH] ipmi: use rcu lock around call to intf->handlers->sender()

2017-06-19 Thread Corey Minyard
On 06/16/2017 07:15 AM, Corey Minyard wrote: On 06/15/2017 10:54 AM, Corey Minyard wrote: On 06/13/2017 09:54 AM, Tony Camuso wrote: A vendor with a system having more than 128 CPUs occasionally encounters a crash during shutdown. This is not an easily reproduceable event, but the vendor was

Re: [PATCH v3 0/4] Generalize fncpy availability

2017-06-19 Thread David Howells
This should be have something put in the Documentation/ directory. David

iscsi deadlock while login and logout 2 iscsi nodes in tight loop at unstable network environment

2017-06-19 Thread wangqiang (AY)
Hi all, In the upstream 4.12.0-rc5 kernel, I encounter a deadlock problem while login and logout 2 iscsi nodes in tight loop at unstable network environment, the iscsid will be D state. SysRq-w reported the following call stacks: [10660.667133] sysrq: SysRq : Show Blocked State [10660.671536]  

Re: [PATCH v3 1/n] perf/core: addressing 4x slowdown during per-process profiling of STREAM benchmark on Intel Xeon Phi

2017-06-19 Thread Alexey Budankov
On 19.06.2017 16:26, Mark Rutland wrote: On Mon, Jun 19, 2017 at 04:08:32PM +0300, Alexey Budankov wrote: On 16.06.2017 1:10, Alexey Budankov wrote: On 15.06.2017 22:56, Mark Rutland wrote: On Thu, Jun 15, 2017 at 08:41:42PM +0300, Alexey Budankov wrote: This series of patches continues v2 an

Re: [PATCH v3 1/n] perf/core: addressing 4x slowdown during per-process profiling of STREAM benchmark on Intel Xeon Phi

2017-06-19 Thread Mark Rutland
On Mon, Jun 19, 2017 at 01:46:39PM +0100, Mark Rutland wrote: > On Fri, Jun 16, 2017 at 05:22:29PM +0300, Alexey Budankov wrote: > > On 16.06.2017 17:08, Alexey Budankov wrote: > > >On 16.06.2017 12:09, Mark Rutland wrote: > > >>There's a --per-thread option to ask perf record to not duplicate the

Re: [PATCH] x86/mm: Don't reenter flush_tlb_func_common()

2017-06-19 Thread zhong jiang
On 2017/6/19 12:48, Andy Lutomirski wrote: > It was historically possible to have two concurrent TLB flushes > targeting the same CPU: one initiated locally and one initiated > remotely. This can now cause an OOPS in leave_mm() at > arch/x86/mm/tlb.c:47: > > if (this_cpu_read(cpu_tlbstate.

[PATCH] thermal: imx: interpret fsl,tempmon-data through nvmem

2017-06-19 Thread Leonard Crestez
On imx6sx accessing the ocotp memory area directly is wrong because the ocotp clock needs to be enabled first. Fix this by reinterpreting the fsl,tempmon-data phandle as a reference to a nvmem_device and doing all the read through that. This clock requirement does not apply to older imx6qdl chips

[PATCH v2 1/2] selftests: lib: Skip tests on missing test modules

2017-06-19 Thread Sumit Semwal
With older kernels, printf.sh and bitmap.sh fail because they can't find the respective test modules they are looking for. Add the skip portion on missing the respective test_XXX module. Error out with the same error code as prime_numbers.sh. v2: Per Shuah's review, search for the module rather t

[PATCH 2/2] selftests: lib: prime_numbers: update presence check

2017-06-19 Thread Sumit Semwal
The test for prime numbers doesn't differentiate between missing prime_numbers.ko and failure in prime_numbers.ko. Update it to check for presence of the file itself to skip, therefore correctly exercising the test failure case. Signed-off-by: Sumit Semwal --- tools/testing/selftests/lib/prime_

[PATCH] eeprom: fix Kconfig typo (swtich)

2017-06-19 Thread Jan Luebbe
Signed-off-by: Jan Luebbe --- drivers/misc/eeprom/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/misc/eeprom/Kconfig b/drivers/misc/eeprom/Kconfig index de58762097c4..d1c8cd5b33e2 100644 --- a/drivers/misc/eeprom/Kconfig +++ b/drivers/misc/eeprom/Kconfig @

Re: [PATCH] changes.rst: explain the usage of virtual environment

2017-06-19 Thread Jonathan Corbet
On Mon, 19 Jun 2017 06:08:37 -0700 Christoph Hellwig wrote: > On Mon, Jun 19, 2017 at 08:24:10AM -0300, Mauro Carvalho Chehab wrote: > > As the Sphinx build seems very fragile, specially for > > PDF output, add a notice about how to use it on a virtual > > environment. > > Please don't. pytho

Re: [PATCH] scripts/mkcompile_h: Remove trailing spaces from compiler version

2017-06-19 Thread Masahiro Yamada
2017-06-12 17:23 GMT+09:00 Jonathan Liu : > Improves the output of "cat /proc/version" by getting rid of the > trailing space at the end of the compiler version when the kernel > is compiled using GCC. > > Signed-off-by: Jonathan Liu > --- Applied to linux-kbuild/misc. Thanks! -- Best Regards

Re: [PATCH v2 5/6] [media] s5p-jpeg: Add support for resolution change event

2017-06-19 Thread Thierry Escande
Hi Andrzej, On 16/06/2017 17:38, Andrzej Pietrasiewicz wrote: Hi Thierry, Thank you for the patch. Can you give a use case for resolution change event? Unfortunately, the original commit does not mention any clear use case. I've asked to the patch author for more information. Also plase se

Re: [PATCH 2/2] selftests: lib: prime_numbers: update presence check

2017-06-19 Thread Chris Wilson
Quoting Sumit Semwal (2017-06-19 14:44:32) > The test for prime numbers doesn't differentiate between missing > prime_numbers.ko and failure in prime_numbers.ko. > > Update it to check for presence of the file itself to skip, therefore > correctly exercising the test failure case. modprobe -r sho

Re: [PATCH v4 04/28] clocksource: Add Owl timer

2017-06-19 Thread Daniel Lezcano
On 18/06/2017 22:43, Andreas Färber wrote: > Am 06.06.2017 um 18:33 schrieb Daniel Lezcano: >> On Tue, Jun 06, 2017 at 02:54:02AM +0200, Andreas Färber wrote: >>> The Actions Semi S500 SoC provides four timers, 2Hz0/1 and 32-bit TIMER0/1. >>> >>> Use TIMER0 as clocksource and TIMER1 as clockevents.

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