Re: kmemleak splat on copy_process()

2017-02-17 Thread Andy Lutomirski
On Fri, Feb 17, 2017 at 9:23 AM, Luis R. Rodriguez wrote: > On Fri, Feb 17, 2017 at 9:07 AM, Andy Lutomirski wrote: >> But maybe >> there really is a race in which a kmemleak check right in the middle >> of duplicating the task struct really can't see the stack pointer. > > Funny, but it was actu

Re: [PATCH 0/2] Reduce the overprovision size a lot in f2fs

2017-02-17 Thread Jaegeuk Kim
Hi Yunlong, On 02/17, Yunlong Song wrote: > Rethink the meaning of reserved segments and overprovision segments in f2fs > > The key issue is that flash FTL has already made overprovision itself, e.g. > 7%, > according to the difference between gigabyte (GB) and gibibyte (GiB). And this > part ca

[PATCH 5/5] x86/intel_rdt: hotcpu updates for RDT

2017-02-17 Thread Vikas Shivappa
For closid and rmid, change both the per cpu cache and PQR_MSR to be cleared only when offlining cpu at the respective handlers. The other places to clear them may not be required and is removed. This can be done at offlining so that the cache occupancy is not counted soon after the cpu goes down

[PATCH 0/5] x86/intel_rdt: Improvements/Fixes to RDT framework

2017-02-17 Thread Vikas Shivappa
Add some improvements to the existing RDT(Resource director technology) framework and fix some hotcpu RDT code. Sending them as a seperate series as per Thomas suggestion during the V1 of MBA review (Memory bandwidth allocation) - https://marc.info/?l=linux-kernel&m=148407699309286 Patches are ba

[PATCH 4/5] x86/intel_rdt: Reset the cbm MSR during rmdir

2017-02-17 Thread Vikas Shivappa
During rmdir reset the ctrl values to all 1s in the QOS_MSR for the directory's closid. This is done so that that next time when the closid is reused they dont reflect old values. Signed-off-by: Vikas Shivappa --- arch/x86/kernel/cpu/intel_rdt_rdtgroup.c | 18 +- 1 file changed,

[PATCH 1/5] x86/intel_rdt: Update control registers only when user really modifies it

2017-02-17 Thread Vikas Shivappa
When a schemata is updated, the values for all the domains and all resources are entered. However, the values for each of them may not change in many use cases as the user is only updating values for a subset of resources and domains. The resource control values are updated via QOS_MSRs which are

Re: [PATCH] groups: don't return unmapped gids in getgroups(2)

2017-02-17 Thread Mike Frysinger
On Fri, Feb 17, 2017 at 12:53 PM, Aleksa Sarai wrote: > One thing overlooked by commit 9cc46516ddf4 ("userns: Add a knob to > disable setgroups on a per user namespace basis") is that because > setgroups(2) no longer works in user namespaces it doesn't make any > sense to be ret

[PATCH 2/5] x86/intel_rdt: Improvements to parsing schemata

2017-02-17 Thread Vikas Shivappa
The schemata file requires all RDT (Resource director technology) resources be entered in the same order they are shown in the root schemata file. Hence remove the looping through all resources while parsing each schemata and get the next enabled resource after processing a resource. Signed-off-by

[PATCH 3/5] x86/intel_rdt: Fail early on a resource with incorrect domains

2017-02-17 Thread Vikas Shivappa
When a schemata file is changed, user enters control values for all domains and all resources in the below format (Consider L3 and L2 resources): L3:=;=;... L2:=;=;... Return error as soon as we detect a resource not entering all domain values in schemata rather than waiting till we parse all res

Re: [PATCH 1/2] mmc: meson-gx: prevent cfg_div_clk from being disabled on init

2017-02-17 Thread Kevin Hilman
Michał Zegan writes: > At the end of function meson_mmc_clk_init, the cfg_div clock was > prepared, enabled and configured, but then immediately disabled due to bogus > if statements. > That made later calls to clk_disable_unprepare executed during module removal > to fail with a kernel warning

Re: [RFC 1/2] fs,eventpoll: Add ability to install target file by its number

2017-02-17 Thread Cyrill Gorcunov
On Fri, Feb 17, 2017 at 01:34:04PM -0500, Jason Baron wrote: > > > > kcmp over target set seems to be preferred since it gonna be a way > > faster. But I think about fd-ref idea too. Thanks a huge! > > > > I sort of like kcmp() for this as well maybe the epoll fd argument can be a > pointer to s

Re: [PATCH 2/2] mmc: meson-gx: remove mmc host on device removal

2017-02-17 Thread Kevin Hilman
Michał Zegan writes: > The mmc host was added in meson_mmc_probe, but never removed in > meson_mmc_remove. > Fix that by removing the host before deallocating other resources. > > Signed-off-by: Michał Zegan Reviewed-by: Kevin Hilman > --- > drivers/mmc/host/meson-gx-mmc.c | 2 ++ > 1 file

Re: [Xen-devel] [PATCH v2] xen, input: try to read screen resolution for xen-kbdfront

2017-02-17 Thread Dmitry Torokhov
On Mon, Jan 30, 2017 at 01:27:29PM +0200, Oleksandr Andrushchenko wrote: > On 01/30/2017 01:23 PM, Juergen Gross wrote: > >On 27/01/17 17:10, Dmitry Torokhov wrote: > >>On January 27, 2017 12:31:19 AM PST, Juergen Gross wrote: > >>>On 27/01/17 09:26, Oleksandr Andrushchenko wrote: > On 01/27/2

Re: [PATCH v3] xen,input: try to read screen resolution for xen-kbdfront

2017-02-17 Thread Dmitry Torokhov
On Fri, Feb 17, 2017 at 10:08:58AM +0100, Juergen Gross wrote: > On 30/01/17 16:10, Juergen Gross wrote: > > Instead of using the default resolution of 800*600 for the pointing > > device of xen-kbdfront try to read the resolution of the (virtual) > > framebuffer device. Use the default as fallback

Re: [PATCH 1/2] mmc: meson-gx: prevent cfg_div_clk from being disabled on init

2017-02-17 Thread Michał Zegan
W dniu 17.02.2017 o 20:44, Kevin Hilman pisze: > Michał Zegan writes: > >> At the end of function meson_mmc_clk_init, the cfg_div clock was >> prepared, enabled and configured, but then immediately disabled due to bogus >> if statements. >> That made later calls to clk_disable_unprepare execute

[GIT PULL] Single block fix for 4.10

2017-02-17 Thread Jens Axboe
Hi Linus, Single fix in this pull request, fixing a lockdep splat reported by Thomas and Gabriel. Please pull for 4.10 final! Thanks. git://git.kernel.dk/linux-block.git for-linus Jens Axboe (1): cfq-iosched: don't call w

Re: [PATCH 2/2] mmc: meson-gx: remove mmc host on device removal

2017-02-17 Thread Michał Zegan
W dniu 17.02.2017 o 20:47, Kevin Hilman pisze: > Michał Zegan writes: > >> The mmc host was added in meson_mmc_probe, but never removed in >> meson_mmc_remove. >> Fix that by removing the host before deallocating other resources. >> >> Signed-off-by: Michał Zegan > Reviewed-by: Kevin Hilman I

Re: [PATCH V3 0/4] PCI: exynos: use the PHY generic framework

2017-02-17 Thread Bjorn Helgaas
On Thu, Feb 16, 2017 at 07:33:15AM +0900, Jaehoon Chung wrote: > Dear Bjorn, > > On 02/16/2017 06:11 AM, Bjorn Helgaas wrote: > > On Mon, Feb 13, 2017 at 05:26:09PM +0900, Jaehoon Chung wrote: > >> This patcheset is for using PHY generic framework. > >> Current pci-exyns doesn't use the phy framew

Re: [PATCH] staging: bcm2835-audio: bcm2835.h: fix various coding style issues

2017-02-17 Thread Joe Perches
On Fri, 2017-02-17 at 13:39 -0500, Nathan Howard wrote: > The following coding style issues (as per checkpatch.pl) were resolved. What Greg said is true, and the volatile conversion especially needs to be verified. > diff --git a/drivers/staging/bcm2835-audio/bcm2835.h > b/drivers/staging/bcm283

Re: [PATCH] platform/x86: ideapad-laptop: Add sysfs interface for touchpad state

2017-02-17 Thread Dmitry Torokhov
On Fri, Feb 17, 2017 at 02:49:00PM +0530, Ritesh Raj Sarraf wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA512 > > Hello Dmitry, > > On Fri, 2017-02-17 at 00:48 -0800, Dmitry Torokhov wrote: > > It looks like the patch is trying to provide a way to disable the > > touchpad when transition

[PATCH] MIPS: cavium-octeon: Remove vestiges of CONFIG_CAVIUM_OCTEON_2ND_KERNEL

2017-02-17 Thread David Daney
This config option never really worked, and has bit-rotted to the point of being completely useless. Remove it completely. Signed-off-by: David Daney --- arch/mips/cavium-octeon/Kconfig | 9 - arch/mips/cavium-octeon/Platform | 4 arch/mips/cavium-octeon/setup.c | 12 +-

Re: [PATCH 1/4] zswap: Share zpool memory of duplicate pages

2017-02-17 Thread Dan Streetman
On Wed, Aug 17, 2016 at 6:07 AM, Srividya Desireddy wrote: > From: Srividya Desireddy > Date: Wed, 17 Aug 2016 14:31:01 +0530 > Subject: [PATCH 1/4] zswap: Share zpool memory of duplicate pages > > This patch shares the compressed pool memory of duplicate pages and reduces > compressed pool memor

[PATCH 7/8] x86/intel_rdt: schemata file support for MBA prepare

2017-02-17 Thread Vikas Shivappa
Add support to introduce generic APIs for control validation and writing QOS_MSRs for RDT resources. The control validation api is meant to validate the control values like cache bit mask for CAT and memory b/w percentage for MBA. A resource generic display format is also added and used for the res

[PATCH 8/8] x86/intel_rdt/mba: Add schemata file support for MBA

2017-02-17 Thread Vikas Shivappa
Add support to update the MBA bandwidth values for the domains. The MBA bandwidth values are specified for each domain by updating the schemata. The schemata string is parsed and validated for the correct bandwidth values for meeting the minimum b/w and b/w granularity requirements. OS updates the

[PATCH] Bluetooth: hci_qca: fix spelling mistake: "Spurrious" -> "Spurious"

2017-02-17 Thread Colin King
From: Colin Ian King trivial fix to spelling mistake in error message Signed-off-by: Colin Ian King --- drivers/bluetooth/hci_qca.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/bluetooth/hci_qca.c b/drivers/bluetooth/hci_qca.c index 05c2307..f242dfd 100644 --

[PATCH 0/8 V2] x86/intel_rdt: Intel Memory bandwidth allocation

2017-02-17 Thread Vikas Shivappa
Memory b/w allocation(MBA) is part of the Intel Resource Director Technology (RDT). RDT helps monitor and share processor shared resources. MBA helps enforce a limit on the memory bandwidth(b/w) threads can use when they are scheduled. OS does the enforcement using MSR(model specific register) inte

[PATCH 5/8] x86/intel_rdt: info file support for MBA prepare

2017-02-17 Thread Vikas Shivappa
As a preparatory patch to MBA info file setup, generalize the info file setup to have the option to choose between different set of files. Although multiple cache resources have same info files, Memory resources have different set of info files. That way we have the option to choose between memory

Re: [PATCH] pci-hyperv: Use device serial number as PCI domain

2017-02-17 Thread Bjorn Helgaas
On Mon, Feb 13, 2017 at 06:10:11PM +, Haiyang Zhang wrote: > > This allows PCI domain numbers starts with 1, and also unique > on the same VM. So names, such as VF NIC names, that include > domain number as part of the name, can be shorter than that > based on part of bus UUID previously. The

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

2017-02-17 Thread Vikas Shivappa
The MBA feature details like minimum bandwidth supported, b/w granularity etc are obtained via executing CPUID with EAX=10H ,ECX=3. Setup and initialize the MBA specific extensions to data structures like global list of RDT resources, RDT resource structure and RDT domain structure. Signed-off-by

[PATCH 6/8] x86/intel_rdt/mba: Add info directory files for MBA

2017-02-17 Thread Vikas Shivappa
Add files in info directory for MBA. The files in the info directory are as follows : - num_closids: max number of closids for MBA which represents the max class of service user can configure. - min_bw: the minimum memory bandwidth(b/w) values in percentage. OS maps the b/w percentage values to me

[PATCH 3/8] x86/intel_rdt/mba: Memory b/w allocation feature detect

2017-02-17 Thread Vikas Shivappa
Detect MBA feature if CPUID.(EAX=10H, ECX=0):EBX.L2[bit 3] = 1. Add supporting data structures to detect feature details which is done in later patch using CPUID with EAX=10H, ECX= 3. Signed-off-by: Vikas Shivappa --- arch/x86/include/asm/cpufeatures.h | 2 ++ arch/x86/include/asm/intel_rdt.h

[PATCH 1/8] Documentation, x86: Documentation for Intel Mem b/w allocation

2017-02-17 Thread Vikas Shivappa
Update the intel_rdt_ui documentation to have Memory bandwidth(b/w) allocation interface usage. Signed-off-by: Vikas Shivappa --- Documentation/x86/intel_rdt_ui.txt | 74 ++ 1 file changed, 67 insertions(+), 7 deletions(-) diff --git a/Documentation/x86/intel

[PATCH 2/8] x86/intel_rdt/mba: Generalize the naming to get ready for MBA

2017-02-17 Thread Vikas Shivappa
Preparatory patch to generalize the naming for RDT so that we can get ready to apply other resource controls like MBA. RDT resource cbm values are named to ctrl_val representing generic control values which will hold both cbm(cache bit mask) and memory b/w throttle values. max_cbm is updated to de

[RFT 0/4] mfd: regulator: max14577: Remove support for platform data

2017-02-17 Thread Krzysztof Kozlowski
Hi, Minor cleanup of max14577 family of drivers. The dependency inside: 1. Patch #3 and #4 depends for safeness on #1 so no one would try to run the driver on non-DT platform (such platform does not exist anyway...). 2. Patch #4 depends on patch #3 (compile time dependency). Unfortunately I do

[RFT 2/4] mfd: max14577: Export OF module alias information

2017-02-17 Thread Krzysztof Kozlowski
Driver can be built as module and in such case for DT-based platform the OF match table will be used for matching. Export the module alias information for this. This will also allow removal of I2C device id related code. Signed-off-by: Krzysztof Kozlowski --- drivers/mfd/max14577.c | 1 + 1 fi

Re: [PATCHv3 33/33] mm, x86: introduce PR_SET_MAX_VADDR and PR_GET_MAX_VADDR

2017-02-17 Thread Linus Torvalds
On Fri, Feb 17, 2017 at 6:13 AM, Kirill A. Shutemov wrote: > This patch introduces two new prctl(2) handles to manage maximum virtual > address available to userspace to map. So this is my least favorite patch of the whole series, for a couple of reasons: (a) adding new code, and mixing it with

[RFT 4/4] mfd: max14577: Remove platform data and instantiation from I2C

2017-02-17 Thread Krzysztof Kozlowski
max14577 family of drivers can be now instantiated only from DeviceTree thus we can remove any I2C device id code and platform data. This simplifies the driver a little bit. Signed-off-by: Krzysztof Kozlowski --- drivers/mfd/max14577.c | 22 -- include/linux/mfd/max145

[RFT 3/4] regulator: max14577: Remove support for platform data

2017-02-17 Thread Krzysztof Kozlowski
max14577 family of drivers are used only on Exynos-based ARMv7 boards which all were converted to DeviceTree long time ago. Remove the support for platform data to simplify the driver. Signed-off-by: Krzysztof Kozlowski --- drivers/regulator/max14577-regulator.c | 15 +++ 1 file cha

[RFT 1/4] mfd: max14577: Explicitly depend on OF

2017-02-17 Thread Krzysztof Kozlowski
max14577 family of drivers are used only on Exynos-based ARMv7 boards which all were converted to DeviceTree long time ago. Driver still supports board-file initialization but it is going to be removed thus dependency on OF has to be marked explicitly. Signed-off-by: Krzysztof Kozlowski --- dri

Re: [PATCH V3 3/7] mm: reclaim MADV_FREE pages

2017-02-17 Thread Johannes Weiner
On Fri, Feb 17, 2017 at 10:43:41AM -0800, Shaohua Li wrote: > On Fri, Feb 17, 2017 at 11:01:54AM -0500, Johannes Weiner wrote: > > On Thu, Feb 16, 2017 at 04:27:18PM -0800, Shaohua Li wrote: > > > On Thu, Feb 16, 2017 at 01:40:18PM -0500, Johannes Weiner wrote: > > > > On Tue, Feb 14, 2017 at 11:36

[PATCH] of_mdio: Add "broadcom,bcm5241" to the whitelist.

2017-02-17 Thread David Daney
Some Cavium dev boards have firmware which doesn't supply a proper ethernet-phy-ieee802.3-c22" compatible property. Restore these boards to working order by whitelisting this compatible value. Signed-off-by: David Daney --- drivers/of/of_mdio.c | 1 + 1 file changed, 1 insertion(+) diff --git

Re: [PATCH 3/4] zswap: Zero-filled pages handling

2017-02-17 Thread Dan Streetman
On Wed, Aug 17, 2016 at 6:18 AM, Srividya Desireddy wrote: > From: Srividya Desireddy > Date: Wed, 17 Aug 2016 14:34:14 +0530 > Subject: [PATCH 3/4] zswap: Zero-filled pages handling > > This patch adds a check in zswap_frontswap_store() to identify zero-filled > page before compression of the pa

Re: [PATCH net-next] rxrpc: Change module filename to rxrpc.ko

2017-02-17 Thread David Miller
From: David Howells Date: Fri, 17 Feb 2017 18:16:21 + > Change module filename from af-rxrpc.ko to rxrpc.ko so as to be consistent > with the other protocol drivers. > > Also adjust the documentation to reflect this. > > Further, there is no longer a standalone rxkad module, as it has been

Re: [PATCH] of_mdio: Add "broadcom,bcm5241" to the whitelist.

2017-02-17 Thread Florian Fainelli
On 02/17/2017 12:04 PM, David Daney wrote: > Some Cavium dev boards have firmware which doesn't supply a proper > ethernet-phy-ieee802.3-c22" compatible property. Restore these boards > to working order by whitelisting this compatible value. > > Signed-off-by: David Daney Acked-by: Florian Fain

Re: [PATCH V2] PCI: add QCOM root port quirks for ACS

2017-02-17 Thread Bjorn Helgaas
On Thu, Feb 16, 2017 at 05:01:45PM -0500, Sinan Kaya wrote: > PCI Express defines an optional featured called Access Control Services > described in 6.12. Access Control Services (ACS) section of the PCIe 3.1 > Specification. > > Linux kernel uses ACS to validate/prohibit data transfers among PCIe

[PATCH] scsi: fusion: fix spelling mistakes of "primitive"

2017-02-17 Thread Colin King
From: Colin Ian King trivial fix to spelling mistakes of "primitive" and also re-join a literal string that spans 2 lines to squelch a checkpatch warning. Signed-off-by: Colin Ian King --- drivers/message/fusion/lsi/mpi_cnfg.h | 2 +- drivers/message/fusion/mptbase.c | 7 +++ drivers/

[PATCH 3/5] staging: bcm2835-audio: bcm2835.h: fix macro coding style issue

2017-02-17 Thread Nathan Howard
Fix checkpatch.pl warning of the form "CHECK: Macro argument 'vol' may be better as '(vol)' to avoid precedence issues." Signed-off-by: Nathan Howard --- drivers/staging/bcm2835-audio/bcm2835.h | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/staging/bcm2835-aud

[PATCH 2/5] staging: bcm2835-audio: bcm2835.h: fix printk coding style issue

2017-02-17 Thread Nathan Howard
Fix checkpatch.pl warning of the form "WARNING: Prefer subsystem eg: netdev]_info([subsystem]dev, ... then dev_info(dev, ... then pr_info(... to printk(KERN_INFO ..." Signed-off-by: Nathan Howard --- drivers/staging/bcm2835-audio/bcm2835.h | 10 +- 1 file changed, 5 insertions(+), 5 del

[PATCH 1/5] staging: bcm2835-audio: bcm2835.h: fix block comment warning

2017-02-17 Thread Nathan Howard
Fix checkpatch.pl warning: "Block comments use * on subsequent lines." Signed-off-by: Nathan Howard --- drivers/staging/bcm2835-audio/bcm2835.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/bcm2835-audio/bcm2835.h b/drivers/staging/bcm2835-audio/bcm2835

[PATCH 5/5] staging: bcm2835-audio: bcm2835.h: fix line length coding style issue

2017-02-17 Thread Nathan Howard
Fix checkpatch.pl warning of the form "WARNING: line over 80 characters." Signed-off-by: Nathan Howard --- drivers/staging/bcm2835-audio/bcm2835.h | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/staging/bcm2835-audio/bcm2835.h b/drivers/staging/bcm2835-audio/bc

[PATCH 4/5] staging: bcm2835-audio: bcm2835.h: fix volatile coding style issue

2017-02-17 Thread Nathan Howard
Fix checkpatch.pl warning of the form "WARNING: Use of volatile is usually wrong: see Documentation/process/volatile-considered-harmful.rst." Signed-off-by: Nathan Howard --- drivers/staging/bcm2835-audio/bcm2835.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/s

Re: [PATCHv3 33/33] mm, x86: introduce PR_SET_MAX_VADDR and PR_GET_MAX_VADDR

2017-02-17 Thread Andy Lutomirski
On Fri, Feb 17, 2017 at 12:02 PM, Linus Torvalds wrote: > On Fri, Feb 17, 2017 at 6:13 AM, Kirill A. Shutemov > wrote: >> This patch introduces two new prctl(2) handles to manage maximum virtual >> address available to userspace to map. > > So this is my least favorite patch of the whole series,

[PATCH] video: fbdev: fsl-diu-fb: fix spelling mistake "palette"

2017-02-17 Thread Colin King
From: Colin Ian King trivial fix to spelling mistakes of "palette" Signed-off-by: Colin Ian King --- drivers/video/fbdev/fsl-diu-fb.c | 4 ++-- include/linux/fsl-diu-fb.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/video/fbdev/fsl-diu-fb.c b/drivers/v

Re: [PATCH] userfaultfd: hugetlbfs: add UFFDIO_COPY support for shared mappings

2017-02-17 Thread Andrew Morton
On Fri, 17 Feb 2017 16:52:41 +0100 Andrea Arcangeli wrote: > Everything else is identical which is great. Mike Rapoport could you > verify the below hunk is missing in mm? > > Once it'll all be merged upstream then there will be less merge crunch > as we've been working somewhat in parallel on t

[PATCH v2] MAINTAINERS: cpufreq: add bmips-cpufreq.c

2017-02-17 Thread Markus Mayer
From: Markus Mayer Add maintainer information for bmips-cpufreq.c. Signed-off-by: Markus Mayer Acked-by: Florian Fainelli --- This is based on PM's linux-next from today (February 17). This patch could be squashed into patch 3/4 of the original series if that is acceptable (see [1]) or it ca

Re: [PATCH] vmxnet3: prevent building with 64K pages

2017-02-17 Thread David Miller
From: Arnd Bergmann Date: Fri, 17 Feb 2017 16:08:30 +0100 > I got a warning about broken code on ARM64 with 64K pages: > > drivers/net/vmxnet3/vmxnet3_drv.c: In function 'vmxnet3_rq_init': > drivers/net/vmxnet3/vmxnet3_drv.c:1679:29: error: large integer implicitly > truncated to unsigned type

Re: [RFC 1/1] shiftfs: uid/gid shifting bind mount

2017-02-17 Thread Vivek Goyal
On Fri, Feb 17, 2017 at 05:51:18PM +, Al Viro wrote: > On Fri, Feb 17, 2017 at 09:24:40AM -0800, James Bottomley wrote: > > > > What happens when somebody comes along and creates the damn thing on > > > the underlying fs? _Not_ via your code, that is - using the > > > underlying fs mounted

Re: [PATCH 35/35] sound/soc: Convert remaining uses of pr_warning to pr_warn

2017-02-17 Thread Nicolin Chen
On Thu, Feb 16, 2017 at 11:11:48PM -0800, Joe Perches wrote: > To enable eventual removal of pr_warning > > This makes pr_warn use consistent for sound/soc > > Prior to this patch, there were 5 uses of pr_warning and > 10 uses of pr_warn in sound/soc > > Signed-off-by: Joe Perches For imx-audm

Re: [RFC 1/1] shiftfs: uid/gid shifting bind mount

2017-02-17 Thread Vivek Goyal
On Fri, Feb 17, 2017 at 09:34:07AM -0800, James Bottomley wrote: > On Fri, 2017-02-17 at 02:55 +, Al Viro wrote: > > On Thu, Feb 16, 2017 at 07:56:30AM -0800, James Bottomley wrote: > > > > > > Hi James, > > > > > > > > Should it be "return d_splice_alias()" so that if we find an > > > > ali

Re: [PATCH v2 0/4] New Microsemi PCI Switch Management Driver

2017-02-17 Thread Logan Gunthorpe
Hi Bjorn, Can you give us an idea of when you might be able to comment on our patchset? We've addressed all the outstanding issues and have a couple of reviewed and tested tags. So we'd like to see this move forward as soon as possible. I can do a respin with the tags collected or address any con

Re: net: use-after-free in tw_timer_handler

2017-02-17 Thread Dmitry Vyukov
On Fri, Feb 17, 2017 at 7:51 PM, Cong Wang wrote: > > This code was changed a long time ago : > > https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=ed2e923945892a8372ab70d2f61d364b0b6d9054 > > So I suspect a recent patch broke the logic. > >

Re: [PATCH 0/8] ARM: sun8i: a33: Mali improvements

2017-02-17 Thread Emil Velikov
Hi Maxime, As I feared things have taken a turn for the bitter end :-] It seems that this is a heated topic, so I'l kindly ask that we try the following: - For people such as myself/Tobias/others who feel that driver and DT bindings should go hand in hand, prove them wrong. But please, do so by

Re: [PATCH] video: fbdev: fsl-diu-fb: fix spelling mistake "palette"

2017-02-17 Thread Timur Tabi
On 02/17/2017 02:23 PM, Colin King wrote: From: Colin Ian King trivial fix to spelling mistakes of "palette" Signed-off-by: Colin Ian King Acked-by: Timur Tabi

Re: [PATCH v9 1/8] drivers:input:tsc2007: add new common binding names, pre-calibration, flipping and rotation

2017-02-17 Thread Dmitry Torokhov
Hi Nikolaus, On Sat, Jan 28, 2017 at 10:44:35PM +0100, H. Nikolaus Schaller wrote: > Hi Dmitry, > > > Am 28.01.2017 um 20:33 schrieb Dmitry Torokhov : > > > > Hi Nikolaus, > > > > On Wed, Dec 28, 2016 at 03:53:16PM +0100, H. Nikolaus Schaller wrote: > >> commit b98abe52fa8e ("Input: add common

Re: [RFC PATCH 09/33] irqchip/gic-v3-its: Split out property table allocation

2017-02-17 Thread Prakash B
Hi Marc Zyngier, Verifying this RFC series on Cavium ThunderX board to validate the GICV3 changes, noticed host crash as below. Host booted fine with this change "gic_flush_dcache_to_poc(page_address(prop_page), LPI_PROPBASE_SZ);" Loading Linux 4.10.0-rc3-mz-rfc1+ ... Loading initial ramdisk ..

[PATCH] DTS: Linksys Board: Add default trigger for sata led

2017-02-17 Thread Ansuel Smith
In others board we have the sata led set to funcion with the sata led trigger by default. This patch makes the same for these board that have sata led but disabled by not associating it to any trigger Signed-off-by: Ansuel Smith --- arch/arm/boot/dts/armada-385-linksys-caiman.dts | 1 + arch/a

Re: [PATCH 0/2] powerpc: kretprobe updates

2017-02-17 Thread Arnaldo Carvalho de Melo
Em Fri, Feb 17, 2017 at 07:44:33PM +0900, Masami Hiramatsu escreveu: > On Thu, 16 Feb 2017 13:47:37 +0530 > "Naveen N. Rao" wrote: > > > I am posting the powerpc bits in the same thread so as to keep these > > changes together. I am not sure how this should be taken upstream as > > there are atle

[PATCH v3] locking/pvqspinlock: Relax cmpxchg's to improve performance on some archs

2017-02-17 Thread Waiman Long
All the locking related cmpxchg's in the following functions are replaced with the _acquire variants: - pv_queued_spin_steal_lock() - trylock_clear_pending() This change should help performance on architectures that use LL/SC. On a 2-core 16-thread Power8 system with pvqspinlock explicitly enab

[PATCH] tty: hvc: don't allocate a buffer for console print on stack

2017-02-17 Thread Jan Dakinevich
The buffer is used by virtio console driver as DMA buffer. Since v4.9 (if VMAP_STACK is enabled) we shouldn't use the stack for DMA. Signed-off-by: Jan Dakinevich --- drivers/tty/hvc/hvc_console.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/drivers/tty/hvc/hvc_conso

Re: [PATCH v9 0/8] drivers: touchscreen: tsc2007 and ads7846/tsc2046 improvements (use common touchscreen bindings, pre-calibration, spi fix and provide iio raw values)

2017-02-17 Thread Dmitry Torokhov
On Wed, Feb 15, 2017 at 03:03:07PM +0100, H. Nikolaus Schaller wrote: > Hi Dmitry, > > > Am 12.02.2017 um 16:18 schrieb H. Nikolaus Schaller : > > > > Hi Dmitry, > > > >> Am 28.01.2017 um 19:16 schrieb H. Nikolaus Schaller : > >> > >> Hi Dmitry, > >> there have been no further comments/complain

[PATCH] ext4: fix spelling mistake: "alligned" -> "aligned"

2017-02-17 Thread Colin King
From: Colin Ian King trivial fix to spelling mistake in debhg message Signed-off-by: Colin Ian King --- fs/ext4/move_extent.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/ext4/move_extent.c b/fs/ext4/move_extent.c index 578f8c3..ae4d1b6 100644 --- a/fs/ext4/move_exten

Re: [RFC 1/1] shiftfs: uid/gid shifting bind mount

2017-02-17 Thread James Bottomley
On Fri, 2017-02-17 at 17:51 +, Al Viro wrote: > On Fri, Feb 17, 2017 at 09:24:40AM -0800, James Bottomley wrote: > > > > What happens when somebody comes along and creates the damn thing > > > on > > > the underlying fs? _Not_ via your code, that is - using the > > > underlying fs mounted e

Re: [PATCH] userfaultfd: hugetlbfs: add UFFDIO_COPY support for shared mappings

2017-02-17 Thread Andrea Arcangeli
On Fri, Feb 17, 2017 at 12:17:38PM -0800, Andrew Morton wrote: > I merged this up and a small issue remains: Great! > The value of `err' here is EINVAL. That sems appropriate, but it only > happens by sheer luck. It might have been programmer luck but just for completeness, at runtime no luck w

Re: [PATCH v9 2/8] drivers:input:tsc2007: check for presence and power down tsc2007 during probe

2017-02-17 Thread Dmitry Torokhov
On Wed, Dec 28, 2016 at 03:53:17PM +0100, H. Nikolaus Schaller wrote: > 1. check if chip is really present and don't succeed if it isn't. > 2. if it succeeds, power down the chip until accessed > > Signed-off-by: H. Nikolaus Schaller Applied, thank you. > --- > drivers/input/touchscreen/tsc200

Re: [PATCH v4 1/4] x86/mm: Adapt MODULES_END based on Fixmap section size

2017-02-17 Thread Thomas Garnier
rc6] >> [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/Thomas-Garnier/x86-mm-Adapt-MODULES_END-based-on-Fixmap-section-size/20170217-072759 >> config: x86_64

Re: [RT] lockdep munching nr_list_entries like popcorn

2017-02-17 Thread Mike Galbraith
On Thu, 2017-02-16 at 19:06 +0100, Mike Galbraith wrote: > On Thu, 2017-02-16 at 15:53 +0100, Sebastian Andrzej Siewior wrote: > > On 2017-02-16 15:42:59 [+0100], Mike Galbraith wrote: > > > > > > Weeell, I'm trying to cobble something kinda like that together using > > > __RT_SPIN_INITIALIZER() i

Re: [PATCHv3 33/33] mm, x86: introduce PR_SET_MAX_VADDR and PR_GET_MAX_VADDR

2017-02-17 Thread Linus Torvalds
On Fri, Feb 17, 2017 at 12:12 PM, Andy Lutomirski wrote: > > At the very least, I'd want to see > MAP_FIXED_BUT_DONT_BLOODY_UNMAP_ANYTHING. I *hate* the current > interface. That's unrelated, but I guess w could add a MAP_NOUNMAP flag, and then you can use MAP_FIXED | MAP_NOUNMAP or something.

Re: [PATCHv3 33/33] mm, x86: introduce PR_SET_MAX_VADDR and PR_GET_MAX_VADDR

2017-02-17 Thread Dave Hansen
On 02/17/2017 12:02 PM, Linus Torvalds wrote: > So if you use MAP_FIXED and give an address in the high range, it will > just always work, and the MM will always consider the task size to be > the full address space. > > But for the common case where a process does no use MAP_FIXED, the > kernel w

Re: [PATCH] userfaultfd: hugetlbfs: add UFFDIO_COPY support for shared mappings

2017-02-17 Thread Andrew Morton
On Fri, 17 Feb 2017 21:51:24 +0100 Andrea Arcangeli wrote: > On Fri, Feb 17, 2017 at 12:17:38PM -0800, Andrew Morton wrote: > > I merged this up and a small issue remains: > > Great! > > > The value of `err' here is EINVAL. That sems appropriate, but it only > > happens by sheer luck. > > It

Re: [PATCHv3 33/33] mm, x86: introduce PR_SET_MAX_VADDR and PR_GET_MAX_VADDR

2017-02-17 Thread Linus Torvalds
On Fri, Feb 17, 2017 at 1:04 PM, Dave Hansen wrote: > > Is this likely to break anything in practice? Nah. But it would nice > to avoid it. So I go the other way: what *I* would like to avoid is odd code that is hard to follow. I'd much rather make the code be simple and the rules be straightfo

[btrfs] lockdep splat

2017-02-17 Thread Mike Galbraith
Greetings, Running ltp on master.today, I received the splat (from hell) below. [ 5015.128458] = [ 5015.128458] [ INFO: possible irq lock inversion dependency detected ] [ 5015.128458] 4.10.0-default #119 Tainted: GE [ 5015.128

Re: [PREVIEW 10/10] linkage: add .cfi_{start/end}proc to ENTRY/ENDPROC

2017-02-17 Thread Josh Poimboeuf
On Fri, Feb 17, 2017 at 03:26:36PM +0100, Jiri Slaby wrote: > On 02/17/2017, 03:07 PM, Josh Poimboeuf wrote: > > On Fri, Feb 17, 2017 at 02:36:15PM +0100, Jiri Slaby wrote: > >> On 02/17/2017, 02:16 PM, Josh Poimboeuf wrote: > >>> On Fri, Feb 17, 2017 at 11:47:57AM +0100, Jiri Slaby wrote: > T

[PATCH] sched/rt: Add comments describing the RT IPI pull method

2017-02-17 Thread Steven Rostedt (VMware)
From: "Steven Rostedt (VMware)" While looking into optimizations for the RT scheduler IPI logic, I realized that the comments are lacking to describe it efficiently. It deserves a lengthy description describing its design. Signed-off-by: Steven Rostedt (VMware) --- kernel/sched/rt.c | 63

Re: [PATCH net-next v2 1/6] net: dsa: mv88e6xxx: add port mask helper

2017-02-17 Thread Andrew Lunn
On Fri, Feb 17, 2017 at 10:05:26AM -0500, Vivien Didelot wrote: > Add a mv88e6xxx_port_mask() helper to get the bitmask of ports in a > switch chip, that will be used in several features. > > Signed-off-by: Vivien Didelot Reviewed-by: Andrew Lunn Andrew

Re: [PATCH v9 8/8] drivers:input:tsc2007: add iio interface to read external ADC input and temperature

2017-02-17 Thread Dmitry Torokhov
On Fri, Dec 30, 2016 at 08:36:30PM +, Jonathan Cameron wrote: > On 28/12/16 14:53, H. Nikolaus Schaller wrote: > > The tsc2007 chip not only has a resistive touch screen controller but > > also an external AUX adc imput which can be used for an ambient > > light sensor, battery voltage monitori

Re: AXP808 vs. AXP806 debugged, no difference? (Was: [PATCH v6 5/5] ARM: dts: sun9i: Initial support for the Sunchip CX-A99 board)

2017-02-17 Thread Rask Ingemann Lambertsen
On Fri, Feb 17, 2017 at 11:08:59AM +0800, Chen-Yu Tsai wrote: > On Fri, Feb 17, 2017 at 5:16 AM, Rask Ingemann Lambertsen > wrote: > > In summary: I'll propose a new property "extended-address" or so to the > > existing "x-powers,axp806" compatible, because the axp808 does seem to have > > the reg

e1000_netpoll() , BUG: sleeping function called from invalid context

2017-02-17 Thread Gabriel C
Hi all, while poking at a different issue I found the following on my logs : [85362.132770] BUG: sleeping function called from invalid context at kernel/irq/manage.c:110 [85362.132771] in_atomic(): 1, irqs_disabled(): 1, pid: 1153, name: systemd-journal [85362.132772] no locks held by systemd-

Re: [PATCH] userfaultfd: hugetlbfs: add UFFDIO_COPY support for shared mappings

2017-02-17 Thread Andrea Arcangeli
On Fri, Feb 17, 2017 at 01:08:55PM -0800, Andrew Morton wrote: > I had a bunch more rejects to fix in that function. Below is the final > result - please check it carefully. Sure, reviewed and this is the diff that remains (vm_shared assignment location is irrelevant, I put it at the end as it's

Re: [PATCH net-next v2 2/6] net: dsa: mv88e6xxx: move ATU code in its own file

2017-02-17 Thread Andrew Lunn
On Fri, Feb 17, 2017 at 10:05:27AM -0500, Vivien Didelot wrote: > Move the Global (1) ATU related code in its own file, and export the > necessary primitives. > > Use that opportunity to provide a cleaner API for the ATU, by renaming a > few underscore prefixed functions, and members of the > mv88

Re: [PATCH net-next v2 3/6] net: dsa: mv88e6xxx: add support for 6390 ATU Move

2017-02-17 Thread Andrew Lunn
On Fri, Feb 17, 2017 at 10:05:28AM -0500, Vivien Didelot wrote: > The 6390 family of Marvell chips uses 5 bits to describe the ToPort and > FromPort values of PortVec in the ATU Move operation, while older > switches use 0xf. Hi Vivien Since you say 5 bits for 6390, it would be better to say 4 bi

Re: [PATCH] of_mdio: Add "broadcom,bcm5241" to the whitelist.

2017-02-17 Thread David Daney
On 02/17/2017 12:09 PM, Florian Fainelli wrote: On 02/17/2017 12:04 PM, David Daney wrote: Some Cavium dev boards have firmware which doesn't supply a proper ethernet-phy-ieee802.3-c22" compatible property. Restore these boards to working order by whitelisting this compatible value. Signed-off

[PATCH] Staging: ks7010: ks_*: Braces should be used on all arms of these statements

2017-02-17 Thread Shiva Kerdel
Braces should be used on all arms of these statements (CHECK).. Signed-off-by: Shiva Kerdel --- drivers/staging/ks7010/ks_hostif.c | 6 -- drivers/staging/ks7010/ks_wlan_net.c | 42 +++- 2 files changed, 31 insertions(+), 17 deletions(-) diff --git a/drive

Re: [BUGFIX PATCH V2 0/3] kprobes/arm: Improve kprobes implementation on arm

2017-02-17 Thread Masami Hiramatsu
On Fri, 17 Feb 2017 11:01:10 + "Jon Medhurst (Tixy)" wrote: > On Wed, 2017-02-15 at 09:27 +0900, Masami Hiramatsu wrote: > > Hi, > > > > Here is the 2nd version of the patches which improve kprobe > > on arm implementation (a kind of bugfix). Version 1 is here; > > > > https://lkml.org/lkml

Re: [PATCH net-next v2 4/6] net: dsa: mv88e6xxx: move VTU code to its own file

2017-02-17 Thread Andrew Lunn
On Fri, Feb 17, 2017 at 10:05:29AM -0500, Vivien Didelot wrote: > Move the Global (1) VTU related code to its own file. > > Use this opportunity to provide a cleaner API for the VTU, by renaming a > few underscore prefixed functions, split the data member of the > mv88e6xxx_vtu_entry structure int

Re: [PATCH net-next v2 5/6] net: dsa: mv88e6xxx: add VTU ops

2017-02-17 Thread Andrew Lunn
On Fri, Feb 17, 2017 at 10:05:30AM -0500, Vivien Didelot wrote: > Because there are several variant of the VTU operations and because > checking for the presence of an STU is not enough, add new ops to the > info structure to describe the VTU operations that a chip supports. > > Signed-off-by: Viv

Re: [PATCHv3 33/33] mm, x86: introduce PR_SET_MAX_VADDR and PR_GET_MAX_VADDR

2017-02-17 Thread hpa
On February 17, 2017 1:10:27 PM PST, Linus Torvalds wrote: >On Fri, Feb 17, 2017 at 1:04 PM, Dave Hansen >wrote: >> >> Is this likely to break anything in practice? Nah. But it would >nice >> to avoid it. > >So I go the other way: what *I* would like to avoid is odd code that >is hard to follo

Re: tty: panic in tty_ldisc_restore

2017-02-17 Thread Dmitry Vyukov
On Tue, Feb 7, 2017 at 11:51 AM, Dmitry Vyukov wrote: > On Tue, Feb 7, 2017 at 11:43 AM, Greg Kroah-Hartman > wrote: >> On Tue, Feb 07, 2017 at 11:24:13AM +0100, Dmitry Vyukov wrote: >>> On Thu, Feb 2, 2017 at 7:23 PM, Greg Kroah-Hartman >>> wrote: >>> > On Thu, Feb 02, 2017 at 07:03:41PM +0100,

Re: [RFC 4/8] doc: fpga-mgr: separate getting/locking FPGA manager

2017-02-17 Thread Alan Tull
On Fri, Feb 17, 2017 at 11:14 AM, Li, Yi wrote: > hi Alan > > > On 2/15/2017 10:14 AM, Alan Tull wrote: >> >> Document that getting a reference to a FPGA Manager has been >> separated from locking the FPGA Mangager for use. >> >> fpga_mgr_lock/unlock functions get/release mutex. >> >> of_fpga_mgr_

Re: [PATCH net-next v2 2/6] net: dsa: mv88e6xxx: move ATU code in its own file

2017-02-17 Thread Vivien Didelot
Hi Andrew, Andrew Lunn writes: > This seems to be more than renaming a few functions. There looks to be > real changes here. I think these changes should be split out into a > separate patch with an explanation what is being changed. Keep this > patch for plain renames. > > It would also be easi

Re: [PATCH 0/8] ARM: sun8i: a33: Mali improvements

2017-02-17 Thread Rask Ingemann Lambertsen
On Fri, Feb 17, 2017 at 04:44:19PM +0100, Maxime Ripard wrote: [...] > We already have DT bindings for out of tree drivers, there's really > nothing new here. We have DT bindings for *hardware*, not for drivers. As stated in Documentation/devicetree/usage-model.txt: "The "Open Firmware Device Tre

<    1   2   3   4   5   6   7   >