Re: [PATCH 1/2] i2c: ibm_iic: don't check number of messages in the driver

2018-05-24 Thread Peter Rosin
On 2018-05-20 08:50, Wolfram Sang wrote: > Since commit 1eace8344c02 ("i2c: add param sanity check to > i2c_transfer()"), the I2C core does this check now. We can remove it > from drivers. Reviewed-by: Peter Rosin > > Signed-off-by: Wolfram Sang > --- > > Only build tested. > > drivers/i2c/

Re: [PATCH 2/2] i2c: opal: don't check number of messages in the driver

2018-05-24 Thread Peter Rosin
On 2018-05-20 08:50, Wolfram Sang wrote: > Since commit 1eace8344c02 ("i2c: add param sanity check to > i2c_transfer()") and b7f625840267 ("i2c: add quirk checks to core"), the > I2C core does this check now. We can remove it here. > > Signed-off-by: Wolfram Sang Reviewed-by: Peter Rosin > ---

Re: [PATCH 8/9] regulator: bd71837: BD71837 PMIC regulator driver

2018-05-24 Thread Mark Brown
On Thu, May 24, 2018 at 09:00:36AM +0300, Matti Vaittinen wrote: > @@ -0,0 +1,683 @@ > +// SPDX-License-Identifier: GPL-2.0 > +/* Copyright (C) 2018 ROHM Semiconductors */ > +/* > + * bd71837-regulator.c ROHM BD71837MWV regulator driver > + */ > +#include Make the entire comment block a C++ comm

linux-next: build failure after merge of the pm tree

2018-05-24 Thread Mark Brown
Hi Rafael, After merging the pm tree, today's linux-next build (arm64 defconfig) failed like this: drivers/acpi/ec.o: In function `acpi_ec_dispatch_gpe': /home/broonie/next/next/drivers/acpi/ec.c:1040: undefined reference to `acpi_dispatch_gpe' /home/broonie/next/next/drivers/acpi/ec.c:1040:(.te

Re: [PATCH v2 12/29] venus: add common capability parser

2018-05-24 Thread Tomasz Figa
Hi Stanimir, On Tue, May 15, 2018 at 5:08 PM Stanimir Varbanov < stanimir.varba...@linaro.org> wrote: [snip] > diff --git a/drivers/media/platform/qcom/venus/core.c b/drivers/media/platform/qcom/venus/core.c > index 41eef376eb2d..381bfdd688db 100644 > --- a/drivers/media/platform/qcom/venus/core.c

Re: [PATCH] livepatch: Remove not longer valid limitations from the documentation

2018-05-24 Thread Jiri Kosina
On Wed, 23 May 2018, Petr Mladek wrote: > Semantic changes are possible since the commit d83a7cb375eec21f04 > ("livepatch: change to a per-task consistency model"). > > Also data structures can be patched since the commit 439e7271dc2b63de37 > ("livepatch: introduce shadow variable API"). > > It

Re: [RFC/RFT PATCH] ASoC: topology: Improve backwards compatibility with v4 topology files

2018-05-24 Thread Mark Brown
On Wed, May 23, 2018 at 09:17:23AM -0700, Guenter Roeck wrote: > On Wed, May 23, 2018 at 8:58 AM Mark Brown wrote: > > I'm saying we should move them there. They're clearly part of the > > userspace ABI and therefore belong in uapi, it was a mistake to let them > > be elsewhere. > They define a

[PATCH v2 0/5] crypto: ccree: cleanup, fixes and R-Car enabling

2018-05-24 Thread Gilad Ben-Yossef
The patch set enables the use of CryptoCell found in some Renesas R-Car Salvator-X boards and fixes some driver issues uncovered that prevented to work properly. Changes from v1: - Properly fix the bug that caused us to read a bad signature register rather than dropping the check - Proper DT fie

[PATCH v2 3/5] crypto: ccree: silence debug prints

2018-05-24 Thread Gilad Ben-Yossef
The cache parameter register configuration was being too verbose. Use dev_dbg() to only provide the information if needed. Signed-off-by: Gilad Ben-Yossef --- drivers/crypto/ccree/cc_driver.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/crypto/ccree/cc_driver

[PATCH v2 2/5] crypto: ccree: better clock handling

2018-05-24 Thread Gilad Ben-Yossef
Use managed clock handling, differentiate between no clock (possibly OK) and clock init failure (never OK) and correctly handle clock detection being deferred. Suggested-by: Geert Uytterhoeven Signed-off-by: Gilad Ben-Yossef --- drivers/crypto/ccree/cc_driver.c | 20 +++- 1 file

[PATCH v2 4/5] clk: renesas: r8a7795: add ccree clock bindings

2018-05-24 Thread Gilad Ben-Yossef
This patch adds the clock used by the CryptoCell 630p instance in the SoC. Signed-off-by: Gilad Ben-Yossef --- This patch depends upon the "clk: renesas: r8a7795: Add CR clock" patch from Geert Uytterhoeven. drivers/clk/renesas/r8a7795-cpg-mssr.c | 1 + 1 file changed, 1 insertion(+) diff --g

[PATCH v2 1/5] crypto: ccree: correct host regs offset

2018-05-24 Thread Gilad Ben-Yossef
The product signature and HW revision register have different offset on the older HW revisions. This fixes the problem of the driver failing sanity check on silicon despite working on the FPGA emulation systems. Fixes: 27b3b22dd98c ("crypto: ccree - add support for older HW revs") Cc: sta...@vger.

Applied "regulator: mc13892: Switch to SPDX identifier" to the regulator tree

2018-05-24 Thread Mark Brown
The patch regulator: mc13892: Switch to SPDX identifier has been applied to the regulator tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) an

Applied "regulator: mc13783: Switch to SPDX identifier" to the regulator tree

2018-05-24 Thread Mark Brown
The patch regulator: mc13783: Switch to SPDX identifier has been applied to the regulator tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) an

Applied "regulator: pfuze100: Switch to SPDX identifier" to the regulator tree

2018-05-24 Thread Mark Brown
The patch regulator: pfuze100: Switch to SPDX identifier has been applied to the regulator tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) a

Applied "regulator: anatop: Switch to SPDX identifier" to the regulator tree

2018-05-24 Thread Mark Brown
The patch regulator: anatop: Switch to SPDX identifier has been applied to the regulator tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and

[PATCH v2 5/5] arm64: dts: renesas: r8a7795: add ccree binding

2018-05-24 Thread Gilad Ben-Yossef
Add bindings for CryptoCell instance in the SoC. Signed-off-by: Gilad Ben-Yossef --- arch/arm64/boot/dts/renesas/r8a7795.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8a7795.dtsi b/arch/arm64/boot/dts/renesas/r8a7795.dtsi index d842940..3ac75db 1

Applied "regulator: mc13xxx-core: Switch to SPDX identifier" to the regulator tree

2018-05-24 Thread Mark Brown
The patch regulator: mc13xxx-core: Switch to SPDX identifier has been applied to the regulator tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hour

Re: [PATCH] gpu: drm: vgem: Change return type to vm_fault_t

2018-05-24 Thread Souptick Joarder
On Thu, May 24, 2018 at 6:27 PM, Daniel Vetter wrote: > On Wed, May 23, 2018 at 03:05:35PM +0530, Souptick Joarder wrote: >> On Mon, May 14, 2018 at 9:56 PM, Daniel Vetter wrote: >> > On Thu, May 10, 2018 at 02:51:38PM -0400, Sean Paul wrote: >> >> On Thu, May 10, 2018 at 07:58:11PM +0530, Soupti

Re: [RFC PATCH 1/1] kconfig: drop localization support

2018-05-24 Thread Masahiro Yamada
Hi Sam, 2018-05-23 13:46 GMT+09:00 Sam Ravnborg : > Hi Masahiro. > >> > Ulf Magnusson originally mentioned this removal some time ago. >> > >> > So, here is his tag. >> > Suggested-by: Ulf Magnusson > Added. > >> PHONY += xconfig gconfig menuconfig config syncconfig update-po-config \ >> l

Re: [PATCH v1 00/10] mm: online/offline 4MB chunks controlled by device driver

2018-05-24 Thread Michal Hocko
I will go over the rest of the email later I just wanted to make this point clear because I suspect we are talking past each other. On Thu 24-05-18 16:04:38, David Hildenbrand wrote: [...] > The point I was making is: I cannot allocate 8MB/128MB using the buddy > allocator. All I want to do is man

[PATCH RFC] suspend: Prevent might sleep splats

2018-05-24 Thread Sebastian Andrzej Siewior
From: Thomas Gleixner timekeeping suspend/resume calls read_persistent_clock() which takes rtc_lock. That results in might sleep warnings because at that point we run with interrupts disabled. We cannot convert rtc_lock to a raw spinlock as that would trigger other might sleep warnings. As a wo

Re: [PATCH v9 07/11] arm64: kexec_file: add crash dump support

2018-05-24 Thread Rob Herring
On Mon, May 21, 2018 at 5:14 AM, AKASHI Takahiro wrote: > Hi Rob, > > On Fri, May 18, 2018 at 10:35:52AM -0500, Rob Herring wrote: >> On Tue, May 15, 2018 at 06:12:59PM +0100, James Morse wrote: >> > Hi guys, >> > >> > (CC: +RobH, devicetree list) >> >> Thanks. >> >> > On 25/04/18 07:26, AKASHI Ta

Re: [PATCH v2 0/7] mm: pages for hugetlb's overcommit may be able to charge to memcg

2018-05-24 Thread Michal Hocko
On Thu 24-05-18 21:58:49, TSUKADA Koutaro wrote: > On 2018/05/24 17:20, Michal Hocko wrote: > > On Thu 24-05-18 13:39:59, TSUKADA Koutaro wrote: > >> On 2018/05/23 3:54, Michal Hocko wrote: > > [...] > >>> I am also quite confused why you keep distinguishing surplus hugetlb > >>> pages from regular

Re: [PATCH] usb: hub: Per-port setting to use old enumeration scheme

2018-05-24 Thread Alan Stern
On Thu, 24 May 2018, Nicolas Boichat wrote: > On Thu, May 24, 2018 at 12:39 AM, Greg Kroah-Hartman > wrote: > > On Wed, May 23, 2018 at 10:03:55AM -0400, Alan Stern wrote: > >> On Wed, 23 May 2018, Nicolas Boichat wrote: > >> > >> > The "old" enumeration scheme is considerably faster (it takes >

Re: [PATCH v4 0/4] vfio: ccw: error handling fixes and improvements

2018-05-24 Thread Cornelia Huck
On Wed, 23 May 2018 12:21:29 +0200 Cornelia Huck wrote: > On Wed, 23 May 2018 04:56:41 +0200 > Dong Jia Shi wrote: > > > Dear Reviewers, > > > > Here is a new version for this patch series. > > > > We didn't get agreement on patch #4 (#5 in v2) in the former cycle though, > > I made it based

Re: [PATCH] doc: document scope NOFS, NOIO APIs

2018-05-24 Thread Shakeel Butt
On Thu, May 24, 2018 at 4:43 AM, Michal Hocko wrote: > From: Michal Hocko > > Although the api is documented in the source code Ted has pointed out > that there is no mention in the core-api Documentation and there are > people looking there to find answers how to use a specific API. > > Cc: "Dar

Re: [PATCH 8/9] PM / Domains: Add support for multi PM domains per device to genpd

2018-05-24 Thread Jon Hunter
On 24/05/18 13:17, Ulf Hansson wrote: On 24 May 2018 at 11:36, Jon Hunter wrote: On 24/05/18 08:04, Ulf Hansson wrote: ... Any reason why we could not add a 'boolean' argument to the API to indicate whether the new device should be linked? I think that I prefer the API handles it, but I ca

include/linux/syscalls.h:211:18: error: 'sys_mmap2' alias between functions of incompatible types 'long int(long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigne

2018-05-24 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: bee797529d7c1ea4e2803fda067d20edbc00bc3d commit: ee076e81fc14ca79334d02970cea66604f183a14 sparc: trivial conversions to {COMPAT_,}SYSCALL_DEFINE() date: 9 weeks ago config: sparc-defconfig (attached as .co

linux-next: manual merge of the net-next tree with the net tree

2018-05-24 Thread Mark Brown
Hi all, Today's linux-next merge of the net-next tree got a conflict in: net/ipv4/fib_frontend.c between commit: 2eabd764cb5512f1338 ("net: ipv4: add missing RTA_TABLE to rtm_ipv4_policy") from the net tree and commit: 404eb77ea766260c45c ("ipv4: support sport, dport and ip_proto in RT

Re: [PATCH v8 3/6] cpuset: Add cpuset.sched.load_balance flag to v2

2018-05-24 Thread Juri Lelli
On 17/05/18 16:55, Waiman Long wrote: [...] > + A parent cgroup cannot distribute all its CPUs to child > + scheduling domain cgroups unless its load balancing flag is > + turned off. > + > + cpuset.sched.load_balance > + A read-write single value file which exists on non-root >

[PATCH] signal: Revert ptrace preempt magic

2018-05-24 Thread Sebastian Andrzej Siewior
From: Thomas Gleixner Upstream commit '53da1d9456fe7f8 fix ptrace slowness' is nothing more than a bandaid around the ptrace design trainwreck. It's not a correctness issue, it's merily a cosmetic bandaid. Signed-off-by: Thomas Gleixner Signed-off-by: Sebastian Andrzej Siewior --- kernel/sign

Re: [PATCH 2/4] arcnet: com20020: bindings for smsc com20020

2018-05-24 Thread Rob Herring
On Wed, May 23, 2018 at 5:17 PM, Andrea Greco wrote: > On 05/23/2018 06:49 PM, Rob Herring wrote: >> One typo, otherwise: >> >> Reviewed-by: Rob Herring > > Yes typo, Fixed over my branch, sorry for that... > I expect a comment about bps, Bit per Second, used in `bus-speed-bps` > You will add it

Re: [PATCH v2]: perf/x86: store user space frame-pointer value on a sample

2018-05-24 Thread Alexey Budankov
Hi, On 23.05.2018 16:09, Peter Zijlstra wrote: > On Wed, May 23, 2018 at 01:06:58PM +0300, Alexey Budankov wrote: > >> Is the patch ready to be up streamed now? > > Please post a new one where you modify the comment about the syscalls > not saving registers and ideally find the commit that made

Re: [PATCH 4.4 50/92] mm: filemap: avoid unnecessary calls to lock_page when waiting for IO to complete during a read

2018-05-24 Thread Mel Gorman
On Thu, May 24, 2018 at 02:02:37PM +0200, Jan Kara wrote: > > This is in the SLES kernel for a reason, and again, it's in the section > > that says "this should be pushed to stable". So if it's good enough for > > the SLES kernel, why isn't it good enough for all users of this kernel > > tree? >

Re: [PATCH v1 09/10] mm/memory_hotplug: teach offline_pages() to not try forever

2018-05-24 Thread Michal Hocko
[I didn't really go through other patch but this one caught my eyes just because of the similar request proposed yesterday] On Wed 23-05-18 17:11:50, David Hildenbrand wrote: [...] > @@ -1686,6 +1686,10 @@ static int __ref __offline_pages(unsigned long > start_pfn, > pfn = scan_movable_pag

Re: [PATCH 3.18 00/45] 3.18.110-stable review

2018-05-24 Thread Nathan Chancellor
On Thu, May 24, 2018 at 11:38:08AM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 3.18.110 release. > There are 45 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: [PATCH 3.18 00/45] 3.18.110-stable review

2018-05-24 Thread Harsh Shandilya
On 24 May 2018 3:08:08 PM IST, Greg Kroah-Hartman wrote: >This is the start of the stable review cycle for the 3.18.110 release. >There are 45 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 know. > >Respons

Re: [PATCH 4.4 00/92] 4.4.133-stable review

2018-05-24 Thread Nathan Chancellor
On Thu, May 24, 2018 at 11:37:37AM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.4.133 release. > There are 92 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 know

Re: [PATCH] doc: document scope NOFS, NOIO APIs

2018-05-24 Thread Michal Hocko
On Thu 24-05-18 07:33:39, Shakeel Butt wrote: > On Thu, May 24, 2018 at 4:43 AM, Michal Hocko wrote: [...] > > +The traditional way to avoid this deadlock problem is to clear __GFP_FS > > +resp. __GFP_IO (note the later implies clearing the first as well) in > > Is resp. == respectively? Why not

Re: [PATCH v12 1/2] cpufreq: Add Kryo CPU scaling driver

2018-05-24 Thread Sudeep Holla
On 24/05/18 15:10, ilia...@codeaurora.org wrote: > Thank you for the explanation. However, could you suggest, which > condition should I check then? Device tree? > Yes some compatible which is applicable for all the SoCs or platforms on which this driver can work ? -- Regards, Sudeep

Re: [PATCH 4.14 000/165] 4.14.44-stable review

2018-05-24 Thread Nathan Chancellor
On Thu, May 24, 2018 at 11:36:46AM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.14.44 release. > There are 165 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: [PATCH v2] kbuild: check for pkg-config on make {menu,n,g,x}config

2018-05-24 Thread Masahiro Yamada
Randy, 2018-05-20 7:42 GMT+09:00 Randy Dunlap : > On 05/17/18 22:10, Masahiro Yamada wrote: >> Hi Randy, >> >> 2018-04-07 6:37 GMT+09:00 Randy Dunlap : >>> On 03/14/2018 10:50 PM, Masahiro Yamada wrote: 2018-03-13 11:30 GMT+09:00 Randy Dunlap : > From: Randy Dunlap > > Each of 'm

RE: [PATCH v12 1/2] cpufreq: Add Kryo CPU scaling driver

2018-05-24 Thread ilialin
OK, got you. Is "operating-points-v2-kryo-cpu" good enough? > -Original Message- > From: Sudeep Holla > Sent: Thursday, May 24, 2018 17:48 > To: ilia...@codeaurora.org > Cc: Sudeep Holla ; linux...@vger.kernel.org; > devicet...@vger.kernel.org; linux-kernel@vger.kernel.org; > vire...@kern

include/linux/syscalls.h:211:18: error: 'sys_sparc_remap_file_pages' alias between functions of incompatible types 'long int(long unsigned int, long unsigned int, long unsigned int, long unsigned i

2018-05-24 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: bee797529d7c1ea4e2803fda067d20edbc00bc3d commit: a0d32ad366bb4235267380b341fcae8307f51044 switch sparc_remap_file_pages() to SYSCALL_DEFINE date: 9 weeks ago config: sparc-defconfig (attached as .config) c

Re: [PATCH v2]: perf/x86: store user space frame-pointer value on a sample

2018-05-24 Thread Andy Lutomirski
On Thu, May 24, 2018 at 7:37 AM Alexey Budankov < alexey.budan...@linux.intel.com> wrote: > Hi, > On 23.05.2018 16:09, Peter Zijlstra wrote: > > On Wed, May 23, 2018 at 01:06:58PM +0300, Alexey Budankov wrote: > > > >> Is the patch ready to be up streamed now? > > > > Please post a new one where

Re: [PATCH 4.16 008/161] packet: in packet_snd start writing at link layer allocation

2018-05-24 Thread Tariq Toukan
On 24/05/2018 12:37 PM, Greg Kroah-Hartman wrote: 4.16-stable review patch. If anyone has any objections, please let me know. Please hold on with this. I think it causes some degradation. I'll report the issue on the original patch. Thanks, Tariq -- From: Willem de Brui

Re: [PATCH v5 00/10] clk: implement clock rate protection mechanism

2018-05-24 Thread Jerome Brunet
On Mon, 2018-04-23 at 11:21 -0700, Michael Turquette wrote: > Quoting Jerome Brunet (2018-02-02 04:50:28) > > On Thu, 2018-02-01 at 09:43 -0800, Stephen Boyd wrote: > > > > > > Applied to clk-protect-rate, with the exception that I did not apply > > > > > > "clk: fix CLK_SET_RATE_GATE with clock ra

Re: [RFC/RFT PATCH] ASoC: topology: Improve backwards compatibility with v4 topology files

2018-05-24 Thread Guenter Roeck
On Thu, May 24, 2018 at 7:18 AM Mark Brown wrote: > On Wed, May 23, 2018 at 09:17:23AM -0700, Guenter Roeck wrote: > > On Wed, May 23, 2018 at 8:58 AM Mark Brown wrote: > > > I'm saying we should move them there. They're clearly part of the > > > userspace ABI and therefore belong in uapi, it

Re: [PATCH v10 3/4] arm64: Implement page table free interfaces

2018-05-24 Thread Chintan Pandya
On 5/24/2018 7:27 PM, Chintan Pandya wrote: Implement pud_free_pmd_page() and pmd_free_pte_page(). Implementation requires, 1) Clearing off the current pud/pmd entry 2) Invalidate TLB which could have previously valid but not stale entry 3) Freeing of the un-used next level page tab

Re: [PATCH 4.16 008/161] packet: in packet_snd start writing at link layer allocation

2018-05-24 Thread Greg Kroah-Hartman
On Thu, May 24, 2018 at 05:53:15PM +0300, Tariq Toukan wrote: > > > On 24/05/2018 12:37 PM, Greg Kroah-Hartman wrote: > > 4.16-stable review patch. If anyone has any objections, please let me know. > > > > Please hold on with this. > I think it causes some degradation. > > I'll report the iss

Re: [PATCH v12 1/2] cpufreq: Add Kryo CPU scaling driver

2018-05-24 Thread Sudeep Holla
On 24/05/18 15:52, ilia...@codeaurora.org wrote: > OK, got you. > Is "operating-points-v2-kryo-cpu" good enough? > Not sure if I can answer that as I don't have full knowledge on PM on all Kryo CPUs. Will this driver work on all those platforms which will have "operating-points-v2-kryo-cpu" ? I

Re: [RFC] driver core: don't hold dev's parent lock when using async probe

2018-05-24 Thread Alan Stern
On Thu, 24 May 2018, Martin Liu wrote: > On Tue, May 22, 2018 at 01:09:44PM -0400, Alan Stern wrote: > > On Tue, 22 May 2018, martin_liu wrote: > > > > > not sure if we still need 'bf74ad5bc417 ("[PATCH] Hold the > > > device's parent's lock during probe and remove")' since it has > > > been ther

[PATCH v13 1/2] cpufreq: Add Kryo CPU scaling driver

2018-05-24 Thread Ilia Lin
In Certain QCOM SoCs like apq8096 and msm8996 that have KRYO processors, the CPU frequency subset and voltage value of each OPP varies based on the silicon variant in use. Qualcomm Process Voltage Scaling Tables defines the voltage and frequency value based on the msm-id in SMEM and speedbin blown

[PATCH v13 0/2] Kryo CPU scaling driver

2018-05-24 Thread Ilia Lin
[v13] * Addressed comment from Sudeep about DT compatible check on init [v12] * Addressed comments from Sudeep and Viresh about the single init [v11] * Addressed comment from Russel about device_node reference * Addressed comment from Sudeep about the late_initcall * Transformed init into pr

[PATCH v13 2/2] dt-bindings: cpufreq: Document operating-points-v2-kryo-cpu

2018-05-24 Thread Ilia Lin
The qcom-cpufreq-kryo driver reads the msm-id and efuse value from the SoC to provide the OPP framework with required information. This is used to determine the voltage and frequency value for each OPP of operating-points-v2 table when it is parsed by the OPP framework. This change adds documentat

Re: [PATCH RFC] suspend: Prevent might sleep splats

2018-05-24 Thread Rafael J. Wysocki
On Thu, May 24, 2018 at 4:24 PM, Sebastian Andrzej Siewior wrote: > From: Thomas Gleixner > > timekeeping suspend/resume calls read_persistent_clock() which takes > rtc_lock. That results in might sleep warnings because at that point > we run with interrupts disabled. > > We cannot convert rtc_lo

Re: [PATCH net-next] cxgb4: Check for kvzalloc allocation failure

2018-05-24 Thread David Miller
From: YueHaibing Date: Tue, 22 May 2018 15:07:18 +0800 > diff --git a/drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c > b/drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c > index 130d1ee..019cffe 100644 > --- a/drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c > +++ b/drivers/net/ethernet/chelsio/c

Re: [PATCH 6/6] mfd: da9063: Add DA9063L support

2018-05-24 Thread Marek Vasut
On 05/24/2018 02:32 PM, Steve Twiss wrote: > Hi Marek, > > On 24 May 2018 @ 12:49 Steve Twiss wrote: > >> To: Marek Vasut ; linux-kernel@vger.kernel.org >> Cc: Marek Vasut ; Geert Uytterhoeven >> ; Lee Jones ; Mark Brown >> ; Steve Twiss ; Wolfram >> Sang ; linux-renesas-...@vger.kernel.org >>

[PATCH 2/3] gspca_zc3xx: Fix power line frequency settings for OV7648

2018-05-24 Thread Ondrej Zary
Power line frequency settings for OV7648 sensor contain autogain and exposure commands, affecting unrelated controls. Remove them. Signed-off-by: Ondrej Zary --- drivers/media/usb/gspca/zc3xx.c | 17 ++--- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/drivers/media/u

[PATCH 3/3] gspca_zc3xx: Fix exposure with power line frequency for OV7648

2018-05-24 Thread Ondrej Zary
The 50Hz and 60Hz power line frequency settings disable short (1/120s and 1/100s) exposure times for banding filter, causing overexposed image near lamps. No flicker setting enables them (when banding filter is disabled and they're not used). Seems that the logic is just the wrong way around. Fix

Re: [PATCH v8 3/6] cpuset: Add cpuset.sched.load_balance flag to v2

2018-05-24 Thread Waiman Long
On 05/24/2018 10:36 AM, Juri Lelli wrote: > On 17/05/18 16:55, Waiman Long wrote: > > [...] > >> +A parent cgroup cannot distribute all its CPUs to child >> +scheduling domain cgroups unless its load balancing flag is >> +turned off. >> + >> + cpuset.sched.load_balance >> +A read-w

[PATCH 1/3] gspca_zc3xx: Implement proper autogain and exposure control for OV7648

2018-05-24 Thread Ondrej Zary
The ZS0211 internal autogain causes pumping and flickering with OV7648 sensor on 0ac8:307b webcam. Implement OV7648 autogain and exposure control and use that instead. Signed-off-by: Ondrej Zary --- drivers/media/usb/gspca/zc3xx.c | 42 + 1 file changed, 3

define struct workqueue_struct in C file

2018-05-24 Thread Liu, Changcheng
Hi all, I have one confusion about workqueue_struct: 1) Why struct workqueue_struct is defined in C file instead of header file? I'm trying to print "workqueue_struct:name" field in one external build module. "workqueue_struct:name" can't be accessed di

Re: [RFC/RFT PATCH] ASoC: topology: Improve backwards compatibility with v4 topology files

2018-05-24 Thread Mark Brown
On Thu, May 24, 2018 at 07:55:06AM -0700, Guenter Roeck wrote: > On Thu, May 24, 2018 at 7:18 AM Mark Brown wrote: Your mail client formatting seems to be broken, the word wrapping is really funky (it looks like it's breaking longer than 80 column lines in the middle of paragraphs rather than flo

Re: [PATCH v8 3/6] cpuset: Add cpuset.sched.load_balance flag to v2

2018-05-24 Thread Juri Lelli
On 24/05/18 11:09, Waiman Long wrote: > On 05/24/2018 10:36 AM, Juri Lelli wrote: > > On 17/05/18 16:55, Waiman Long wrote: > > > > [...] > > > >> + A parent cgroup cannot distribute all its CPUs to child > >> + scheduling domain cgroups unless its load balancing flag is > >> + turned off. > >>

Re: [RFC PATCH v2 00/12] get rid of GFP_ZONE_TABLE/BAD

2018-05-24 Thread Matthew Wilcox
On Thu, May 24, 2018 at 02:23:23PM +0200, Michal Hocko wrote: > > If we had eight ZONEs, we could offer: > > No, please no more zones. What we have is quite a maint. burden on its > own. Ideally we should only have lowmem, highmem and special/device > zones for directly kernel accessible memory, t

Re: [PATCH v8 3/6] cpuset: Add cpuset.sched.load_balance flag to v2

2018-05-24 Thread Waiman Long
On 05/24/2018 11:16 AM, Juri Lelli wrote: > On 24/05/18 11:09, Waiman Long wrote: >> On 05/24/2018 10:36 AM, Juri Lelli wrote: >>> On 17/05/18 16:55, Waiman Long wrote: >>> >>> [...] >>> + A parent cgroup cannot distribute all its CPUs to child + scheduling domain cgroups unless its loa

Re: [PATCH] vfs: remove iterate_supers_type

2018-05-24 Thread Carlos Maiolino
On Thu, May 17, 2018 at 11:47:37AM -0400, Jeff Layton wrote: > From: Jeff Layton > > Nothing calls this. > > Signed-off-by: Jeff Layton looks like there are no reviews here yet, and it looks good to me, so, feel free to add. Reviewed-by: Carlos Maiolino > --- > fs/super.c | 36

Re: [PATCH v2 1/4] seccomp: add a return code to trap to userspace

2018-05-24 Thread Tycho Andersen
Hi Oleg, On Thu, May 17, 2018 at 05:46:37PM +0200, Oleg Nesterov wrote: > On 05/17, Tycho Andersen wrote: > > > > > From lockdep pov this loop tries to take the same lock twice or more, it > > > shoul > > > complain. > > > > I didn't, but I guess that's because it's not trying to take the same lo

Re: [RFC PATCH v2 00/12] get rid of GFP_ZONE_TABLE/BAD

2018-05-24 Thread Michal Hocko
On Thu 24-05-18 08:18:18, Matthew Wilcox wrote: > On Thu, May 24, 2018 at 02:23:23PM +0200, Michal Hocko wrote: > > > If we had eight ZONEs, we could offer: > > > > No, please no more zones. What we have is quite a maint. burden on its > > own. Ideally we should only have lowmem, highmem and speci

[PATCH] kernel/sched/topology: Clarify root domain(s) debug string

2018-05-24 Thread Juri Lelli
When scheduler debug is enabled, building scheduling domains outputs information about how the domains are laid out and to which root domain each CPU (or sets of CPUs) belongs, e.g.: CPU0 attaching sched-domain(s): domain-0: span=0-5 level=MC groups: 0:{ span=0 }, 1:{ span=1 }, 2:{ span=2 },

Re: [PATCH v2 4/7] Bluetooth: Add new quirk for non-persistent setup settings

2018-05-24 Thread Sean Wang
On Thu, 2018-05-24 at 09:47 +0200, Marcel Holtmann wrote: > Hi Sean, > > > [ ... ] [ ... ] > > I post it as plain text as below > > > > > > Bluetooth monitor ver 5.37 > > = Note: Linux version 4.16.0-rc1+ (aarch64) > > 0.641494 > > = Note: Bluetooth subs

Re: [RFC PATCH 0/5] kmalloc-reclaimable caches

2018-05-24 Thread Johannes Weiner
On Thu, May 24, 2018 at 01:00:06PM +0200, Vlastimil Babka wrote: > - the vmstat/meminfo counter name is rather general and might suggest it also > includes reclaimable page caches, which it doesn't > > Suggestions welcome for all three points. For the last one, we might also keep > the counter se

Re: [PATCH 1/6] coresight: remove CORESIGHT_LINKS_AND_SINKS dependencies and selections

2018-05-24 Thread Mathieu Poirier
On 23 May 2018 at 13:51, Kim Phillips wrote: > On Tue, 22 May 2018 11:31:40 -0600 > Mathieu Poirier wrote: > >> On Thu, May 17, 2018 at 08:20:19PM -0500, Kim Phillips wrote: >> > A coresight topology doesn't need to include links, i.e., a source can >> > be directly connected to a sink. As such,

[RFC PATCH v3 6/9] mm/vmpressure: update usage of zone modifiers

2018-05-24 Thread Huaisheng Ye
From: Huaisheng Ye Use __GFP_ZONE_MOVABLE to replace (__GFP_HIGHMEM | __GFP_MOVABLE). ___GFP_DMA, ___GFP_HIGHMEM and ___GFP_DMA32 have been deleted from GFP bitmasks, the bottom three bits of GFP mask is reserved for storing encoded zone number. __GFP_ZONE_MOVABLE contains encoded ZONE_MOVABLE

Re: [RFC PATCH 1/1] kconfig: drop localization support

2018-05-24 Thread Sam Ravnborg
Hi Masahiro > > When I applied this, I added the following fix-up. > > > > diff --git a/scripts/kconfig/.gitignore b/scripts/kconfig/.gitignore > index 54266f3..0aabc1d 100644 > --- a/scripts/kconfig/.gitignore > +++ b/scripts/kconfig/.gitignore > @@ -2,7 +2,6 @@ > # Generated files > # > *

Payment Receipt 0033212

2018-05-24 Thread Kevin Anderson
Good Morning, My understanding is that the payment will cover orders. Please proceed with the process to do that link. My assumption is that this will also allow customers to purchase on our site. (See attached file: 163627.doc) Respectifully, Kevin Anderson <>

Re: [PATCH v8 2/6] cpuset: Add new v2 cpuset.sched.domain flag

2018-05-24 Thread Peter Zijlstra
On Thu, May 17, 2018 at 04:55:41PM -0400, Waiman Long wrote: > A new cpuset.sched.domain boolean flag is added to cpuset v2. This new > flag indicates that the CPUs in the current cpuset should be treated > as a separate scheduling domain. The traditional name for this is a partition. >

Re: [PATCH v8 3/6] cpuset: Add cpuset.sched.load_balance flag to v2

2018-05-24 Thread Peter Zijlstra
On Thu, May 17, 2018 at 04:55:42PM -0400, Waiman Long wrote: > The sched.load_balance flag is needed to enable CPU isolation similar to > what can be done with the "isolcpus" kernel boot parameter. Its value > can only be changed in a scheduling domain with no child cpusets. On > a non-scheduling d

[PATCH] x86/microcode: Make update_lock raw

2018-05-24 Thread Scott Wood
__reload_late() is called from stop_machine context and thus cannot acquire a non-raw spinlock on PREEMPT_RT. Signed-off-by: Scott Wood --- arch/x86/kernel/cpu/microcode/core.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/x86/kernel/cpu/microcode/core.c b/arch/

Re: [PATCH RFC] suspend: Prevent might sleep splats

2018-05-24 Thread Sebastian Andrzej Siewior
On 2018-05-24 17:07:16 [+0200], Rafael J. Wysocki wrote: > On Thu, May 24, 2018 at 4:24 PM, Sebastian Andrzej Siewior > wrote: > > From: Thomas Gleixner > > > > timekeeping suspend/resume calls read_persistent_clock() which takes > > rtc_lock. That results in might sleep warnings because at that

Re: [PATCH 9/9] PM / Domains: Add dev_pm_domain_attach_by_id() to manage multi PM domains

2018-05-24 Thread Jon Hunter
On 18/05/18 11:31, Ulf Hansson wrote: The existing dev_pm_domain_attach() function, allows a single PM domain to be attached per device. To be able to support devices that are partitioned across multiple PM domains, let's introduce a new interface, dev_pm_domain_attach_by_id(). The dev_pm_domai

Re: [PATCH] ath10k: transmit queued frames after waking queues

2018-05-24 Thread Bob Copeland
On Mon, May 21, 2018 at 10:37:01PM +0200, Niklas Cassel wrote: > On Thu, May 17, 2018 at 03:26:25PM -0700, Adrian Chadd wrote: > > On Thu, 17 May 2018 at 16:16, Niklas Cassel > > wrote: > > > > > diff --git a/drivers/net/wireless/ath/ath10k/txrx.c > > b/drivers/net/wireless/ath/ath10k/txrx.c > >

Re: [RFC PATCH 0/5] kmalloc-reclaimable caches

2018-05-24 Thread Vlastimil Babka
On 05/24/2018 02:13 PM, Roman Gushchin wrote: > On Thu, May 24, 2018 at 01:00:06PM +0200, Vlastimil Babka wrote: >> Hi, >> >> - I haven't find any other obvious users for reclaimable kmalloc (yet) > > As I remember, ION memory allocator was discussed related to this theme: > https://lkml.org/lkml/

Re: [PATCH RFC] suspend: Prevent might sleep splats

2018-05-24 Thread Rafael J. Wysocki
On Thu, May 24, 2018 at 5:45 PM, Sebastian Andrzej Siewior wrote: > On 2018-05-24 17:07:16 [+0200], Rafael J. Wysocki wrote: >> On Thu, May 24, 2018 at 4:24 PM, Sebastian Andrzej Siewior >> wrote: >> > From: Thomas Gleixner >> > >> > timekeeping suspend/resume calls read_persistent_clock() which

Re: [REVIEW][PATCH 5/6] capabilities: Allow privileged user in s_user_ns to set security.* xattrs

2018-05-24 Thread Christian Brauner
On Wed, May 23, 2018 at 06:25:37PM -0500, Eric W. Biederman wrote: > A privileged user in s_user_ns will generally have the ability to > manipulate the backing store and insert security.* xattrs into > the filesystem directly. Therefore the kernel must be prepared to > handle these xattrs from unpr

Re: [REVIEW][PATCH 4/6] fs: Allow superblock owner to access do_remount_sb()

2018-05-24 Thread Christian Brauner
On Wed, May 23, 2018 at 06:25:36PM -0500, Eric W. Biederman wrote: > Superblock level remounts are currently restricted to global > CAP_SYS_ADMIN, as is the path for changing the root mount to > read only on umount. Loosen both of these permission checks to > also allow CAP_SYS_ADMIN in any namespa

Re: [REVIEW][PATCH 6/6] fs: Allow CAP_SYS_ADMIN in s_user_ns to freeze and thaw filesystems

2018-05-24 Thread Christian Brauner
On Wed, May 23, 2018 at 06:25:38PM -0500, Eric W. Biederman wrote: > From: Seth Forshee > > The user in control of a super block should be allowed to freeze > and thaw it. Relax the restrictions on the FIFREEZE and FITHAW > ioctls to require CAP_SYS_ADMIN in s_user_ns. Acked-by: Christian Braune

Re: [PATCH v2] pinctrl: cherryview: limit Strago DMI workarounds to version 1.0

2018-05-24 Thread Dmitry Torokhov
Hi Linus, On Thu, May 24, 2018 at 10:19:55AM +0200, Linus Walleij wrote: > On Tue, May 22, 2018 at 10:47 PM, Dmitry Torokhov > wrote: > > > As Google/Intel will fix the BIOS/Coreboot issues with hardcoding > > virtual interrupt numbers for keyboard/touchpad/touchscreen controllers > > in ACPI ta

Re: [PATCH v3 5/6] spi: at91-usart: add driver for at91-usart as spi

2018-05-24 Thread Radu Pirea
On 05/17/2018 07:54 AM, Mark Brown wrote: On Tue, May 15, 2018 at 12:22:24PM +0300, Radu Pirea wrote: On Mon, 2018-05-14 at 20:38 +0300, Andy Shevchenko wrote: So, what is not going as expected in "SPI core takes care of CSs" case? Did you use oscilloscope for that? Yes, I used and CSs w

Re: [RFC] driver core: don't hold dev's parent lock when using async probe

2018-05-24 Thread Martin Liu
On Thu, May 24, 2018 at 11:02:57AM -0400, Alan Stern wrote: > On Thu, 24 May 2018, Martin Liu wrote: > > > On Tue, May 22, 2018 at 01:09:44PM -0400, Alan Stern wrote: > > > On Tue, 22 May 2018, martin_liu wrote: > > > > > > > not sure if we still need 'bf74ad5bc417 ("[PATCH] Hold the > > > > devi

Re: [PATCH 1/5] Documentation: DT: Add optional 'timeout-sec' property for sp805

2018-05-24 Thread Guenter Roeck
On Thu, May 24, 2018 at 02:25:34PM +0100, Robin Murphy wrote: > On 23/05/18 19:10, Guenter Roeck wrote: > >On Wed, May 23, 2018 at 11:57:25AM +0100, Robin Murphy wrote: > >>On 22/05/18 19:47, Ray Jui wrote: > >>>Update the SP805 binding document to add optional 'timeout-sec' > >>>devicetree propert

Re: omapdrm regression in v4.17-rc series

2018-05-24 Thread Benoit Parrot
Reviewed-by: Benoit Parrot Tomi Valkeinen wrote on Thu [2018-May-24 10:58:25 +0300]: > > On 24/05/18 01:03, Tony Lindgren wrote: > > Hi all, > > > > I bisected the n900 LCD issue to commit 24aac6011f70 ("drm: omapdrm: > > sdi: Allocate the sdi private data structure dynamically"). Reverting >

Re: [PATCH] scripts/dtc: Fixed format mismatch in fprintf

2018-05-24 Thread Frank Rowand
On 05/23/18 19:50, nixiaoming wrote: > format specifier "d" need arg type "int" , but the according arg > "fdt32_to_cpu(xxx)" has type "unsigned int" > > Signed-off-by: nixiaoming > --- > scripts/dtc/fdtdump.c | 6 +++--- > scripts/dtc/flattree.c | 2 +- > 2 files changed, 4 insertions(+), 4 de

Re: [PATCH v3 2/6] Documentation: DT: Add optional 'timeout-sec' property for sp805

2018-05-24 Thread Guenter Roeck
On Wed, May 23, 2018 at 05:15:20PM -0700, Ray Jui wrote: > Update the SP805 binding document to add optional 'timeout-sec' > devicetree property > > Signed-off-by: Ray Jui > --- > Documentation/devicetree/bindings/watchdog/arm,sp805.txt | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a

[PATCH] powerpc/32: implement strlen() in assembly

2018-05-24 Thread Christophe Leroy
The generic implementation of strlen() reads strings byte per byte. This patch implements strlen() in assembly for PPC32 based on a read of entire words, in the same spirit as what some other arches and glibc do. For long strings, the time spent in strlen is reduced by 50-60% Signed-off-by: Chri

Re: [PATCH v3 4/6] watchdog: sp805: set WDOG_HW_RUNNING when appropriate

2018-05-24 Thread Guenter Roeck
On Wed, May 23, 2018 at 05:15:22PM -0700, Ray Jui wrote: > If the watchdog hardware is already enabled during the boot process, > when the Linux watchdog driver loads, it should reset the watchdog and > tell the watchdog framework. As a result, ping can be generated from > the watchdog framework, u

linux-next: manual merge of the netfilter-next tree with the netfilter tree

2018-05-24 Thread Mark Brown
Hi all, Today's linux-next merge of the netfilter-next tree got a conflict in: net/netfilter/core.c between commit: 25fd386e0bc065849 ("netfilter: core: add missing __rcu annotation") from the netfilter tree and commit: 2c205dd3981f79cef ("netfilter: add struct nf_nat_hook and use it")

Re: [RFC PATCH 0/5] kmalloc-reclaimable caches

2018-05-24 Thread Randy Dunlap
On 05/24/2018 04:43 AM, Matthew Wilcox wrote: > On Thu, May 24, 2018 at 01:00:06PM +0200, Vlastimil Babka wrote: >> Now for the issues a.k.a. why RFC: >> >> - I haven't find any other obvious users for reclaimable kmalloc (yet) > > Is that a problem? This sounds like it's enough to solve Facebook

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