Re: [PATCH v1 12/12] scsi: ufs: Improve fatal error logs

2016-12-12 Thread Joe Perches
On Mon, 2016-12-12 at 16:56 -0800, Subhash Jadavani wrote: > Errors such as UIC error, illegal OCS values, and others may require > more information for debugging. Such information could be hibern8 events, > events sequences, recoverable errors, error history, and more. [] > diff --git a/drivers/sc

Re: [PATCH v2] mmc: core: Export device lifetime information through sysf

2016-12-12 Thread Shawn Lin
On 2016/12/9 13:53, Jungseung Lee wrote: In the eMMC 5.0 version of the spec, several EXT_CSD fields about device lifetime are added. - Two types of estimated indications reflected by averaged wear out of memory - An indication reflected by average reserved blocks Export the information throu

Re: [PATCH v3] sparc64: Multi-page size support

2016-12-12 Thread David Miller
From: Nitin Gupta Date: Mon, 12 Dec 2016 14:43:07 -0800 > I added this WARN_ON during debugging and can simply be removed. > Do you want to see a v4 with this warning removed or can you reapply > with just this change? You always must absolutely make a new submission.

Re: [PATCH v6 1/3] clk: x86: Add Atom PMC platform clocks

2016-12-12 Thread Andy Shevchenko
On Tue, Dec 13, 2016 at 2:15 AM, Pierre-Louis Bossart wrote: > >>> +#include > > > This was a suggestion of Darren Hart in agreement with Thomas Gleixner. > see > http://mailman.alsa-project.org/pipermail/alsa-devel/2016-October/113936.html > > Darren, did we get your proposal right? > >> Is it i

Re: [PATCH 4/5] 9p: introduce async read requests

2016-12-12 Thread Stefano Stabellini
Hi Al, thanks for looking at the patch. On Sat, 10 Dec 2016, Al Viro wrote: > On Thu, Dec 08, 2016 at 12:59:05PM -0800, Stefano Stabellini wrote: > > > > + } else { > > + req = p9_client_get_req(clnt, P9_TREAD, "dqd", > > fid->fid, offset, rsize); > > +

RE: [PATCH v6 2/2] crypto: add virtio-crypto driver

2016-12-12 Thread Gonglei (Arei)
> > Subject: Re: [PATCH v6 2/2] crypto: add virtio-crypto driver > > On Mon, Dec 12, 2016 at 06:54:07PM +0800, Herbert Xu wrote: > > On Mon, Dec 12, 2016 at 06:25:12AM +, Gonglei (Arei) wrote: > > > Hi, Michael & Herbert > > > > > > Because the virtio-crypto device emulation had been in QEMU 2

Re: [PATCH] x86/kbuild: enable modversions for symbols exported from asm

2016-12-12 Thread Stanislav Kozina
Hello, That said, a dwarf based checker tool should be able to do as good a job (maybe a bit better because report is very informative and it may pick up compiler alignments or padding options). So, Nicholas was kind enough to send me the two Linux Kernel binaries that he built with the tiny li

Re: [PATCH v2 5/5] staging: lustre: headers: use proper byteorder functions in lustre_idl.h

2016-12-12 Thread Greg Kroah-Hartman
On Tue, Dec 13, 2016 at 12:55:01AM +, Dilger, Andreas wrote: > On Dec 12, 2016, at 13:00, James Simmons wrote: > > > > > >> On Sat, Dec 10, 2016 at 01:06:01PM -0500, James Simmons wrote: > >>> In order for lustre_idl.h to be usable for both user > >>> land and kernel space it has to use the

mmotm 2016-12-12-17-02 uploaded

2016-12-12 Thread akpm
The mm-of-the-moment snapshot 2016-12-12-17-02 has been uploaded to http://www.ozlabs.org/~akpm/mmotm/ mmotm-readme.txt says README for mm-of-the-moment: http://www.ozlabs.org/~akpm/mmotm/ This is a snapshot of my -mm patch queue. Uploaded at random hopefully more than once a week. You wi

[PATCH v1 12/12] scsi: ufs: Improve fatal error logs

2016-12-12 Thread Subhash Jadavani
From: Dolev Raviv Errors such as UIC error, illegal OCS values, and others may require more information for debugging. Such information could be hibern8 events, events sequences, recoverable errors, error history, and more. This patch improves tracking of important errors and events in debug leve

[PATCH v1 11/12] scsi: ufs: add trace event for ufs commands

2016-12-12 Thread Subhash Jadavani
From: Lee Susman Use the ftrace infrastructure to conditionally trace ufs command events. New trace event is created, which samples the following ufs command data: - device name - optional identification string - task tag - doorbell register - number of transfer bytes - interrupt status register

[PATCH v1 10/12] scsi: ufs: add time profiling support

2016-12-12 Thread Subhash Jadavani
This patch adds the profiling support for some of the time critical operations like hibern8 enter/exit, clock gating & clock scaling. Reviewed-by: Venkat Gopalakrishnan Signed-off-by: Subhash Jadavani --- drivers/scsi/ufs/ufshcd.c | 24 include/trace/events/ufs.h | 40

[PATCH v1 09/12] scsi: ufs: fix setting init power mode

2016-12-12 Thread Subhash Jadavani
Immediately after successful UFS link startup, UFS link power mode would be in PWM-G1, 1-lane, SLOW-AUTO mode. But currently we are doing few of the DME local/peer attributes access before setting the "hba->pwr_info" to default power mode. If we are doing link startup as part of error recovery then

Re: [PATCH v2 5/5] staging: lustre: headers: use proper byteorder functions in lustre_idl.h

2016-12-12 Thread Dilger, Andreas
On Dec 12, 2016, at 13:00, James Simmons wrote: > > >> On Sat, Dec 10, 2016 at 01:06:01PM -0500, James Simmons wrote: >>> In order for lustre_idl.h to be usable for both user >>> land and kernel space it has to use the proper >>> byteorder functions. >> >> Why would userspace need/want all of t

[PATCH v1 07/12] scsi: ufs: add option to change default UFS power management level

2016-12-12 Thread Subhash Jadavani
UFS device and link can be put in multiple different low power modes hence UFS driver supports multiple different low power modes. By default UFS driver selects the default (optimal) low power mode (which gives moderate power savings and have relatively less enter and exit latencies) but we might h

[PATCH v1 08/12] scsi: ufs: add capability to keep auto bkops always enabled

2016-12-12 Thread Subhash Jadavani
UFS device requires to perform bkops (back ground operations) periodically but host can control (via auto-bkops parameter of device) when device can perform bkops based on its performance requirements. In general, host would like to enable the device's auto-bkops only when it's not doing any regula

[PATCH v1 06/12] scsi: ufs: provide sysfs attribute to select the PM level

2016-12-12 Thread Subhash Jadavani
This patch provides the sysfs attribute to choose the power management level for UFS runtime and system suspend. Reviewed-by: Sujit Reddy Thumma Signed-off-by: Subhash Jadavani --- drivers/scsi/ufs/ufshcd.c | 122 ++ drivers/scsi/ufs/ufshcd.h | 2 +

[PATCH v1 03/12] scsi: ufs: fix multiple ufs spec violation

2016-12-12 Thread Subhash Jadavani
From: Dolev Raviv When a command to a W-LU is timed out via scsi, error handling will treat it as any other LU and send commands such as START_STOP with wrong format or task abort. Those commands are illegal for W-LU according to the UFS spec. To solve it, when an error is recognized those steps

[PATCH v1 04/12] scsi: ufs: Add sysfs node to dynamically control clock gating

2016-12-12 Thread Subhash Jadavani
From: Sahitya Tummala Provide an option to enable/disable clock gating during runtime. Write 1 or 0 to "clkgate_enable" sysfs node to enable/disable clock gating. Signed-off-by: Sahitya Tummala Signed-off-by: Subhash Jadavani --- drivers/scsi/ufs/ufshcd.c | 48

[PATCH v1 05/12] scsi: ufs: Add sysfs node to dynamically control clock scaling

2016-12-12 Thread Subhash Jadavani
From: Sahitya Tummala Provide an option to enable/disable clock scaling during runtime. Write 1/0 to "clkscale_enable" sysfs node to enable/disable clock scaling. Signed-off-by: Sahitya Tummala Signed-off-by: Subhash Jadavani --- drivers/scsi/ufs/ufshcd.c | 95

[PATCH v1 02/12] scsi: ufs: add tracing support

2016-12-12 Thread Subhash Jadavani
This change adds the ftrace support for following: 1. UFS initialization time 2. Clock gating states 3. Clock scaling states 4. Power management APIs latency 5. BKOPs enable/disable Usage: echo 1 > /sys/kernel/debug/tracing/events/ufs/enable cat /sys/kernel/debug/tracing/trace_pipe

[PATCH v1 01/12] scsi: ufs: dump debug info during failures

2016-12-12 Thread Subhash Jadavani
From: Dolev Raviv Inserts driver dumps for UFS Host Controller registers, Transfer Requests and Task Management Requests. The dumps will occur on driver initialization failure, ufshcd_abort() and on error handling path. Signed-off-by: Dolev Raviv Signed-off-by: Subhash Jadavani --- drivers/sc

[PATCH v2] mpt3sas: Recognize and act on iopriority info

2016-12-12 Thread Adam Manzanares
From: Adam Manzanares This patch adds support for request iopriority handling in the mpt3sas layer. This works only when a ATA device is behind the SATL. The ATA device also has to indicate that it supports command priorities in the identify information that is pulled from the SATL. This patch d

Re: [PATCH v2 5/5] staging: lustre: headers: use proper byteorder functions in lustre_idl.h

2016-12-12 Thread Greg Kroah-Hartman
On Mon, Dec 12, 2016 at 08:00:02PM +, James Simmons wrote: > > > On Sat, Dec 10, 2016 at 01:06:01PM -0500, James Simmons wrote: > > > In order for lustre_idl.h to be usable for both user > > > land and kernel space it has to use the proper > > > byteorder functions. > > > > Why would userspac

[PATCH v2] PCI: pciehp: Optimize PCIe root resume time

2016-12-12 Thread Vaibhav Shankar
On Apollolake platforms, PCIe rootport takes a long time to resume from S3. With 100ms delay before read pci conf, rootport takes ~200ms during resume. commit 2f5d8e4ff947 ("PCI: pciehp: replace unconditional sleep with config space access check") is the one that added the 100ms delay before readi

Re: [PATCH] keys/encrypted: Fix two crypto-on-the-stack bugs

2016-12-12 Thread Andy Lutomirski
On Mon, Dec 12, 2016 at 2:28 PM, David Howells wrote: > Andy Lutomirski wrote: > >> +static const char zero_pad[16] = {0}; > > Isn't there a global page of zeros or something that we can share? Also, you > shouldn't explicitly initialise it so that it stays in .bss. This is a double-edged sword

Re: [PATCH v6 1/3] clk: x86: Add Atom PMC platform clocks

2016-12-12 Thread Andy Shevchenko
On Tue, Dec 13, 2016 at 2:15 AM, Pierre-Louis Bossart wrote: > >> Thanks for an update I will comment all the patches. >> Here we start. > > > Thanks Andy for the review. Two quick comments before going further in the > details later. > >> >>> The BayTrail and CherryTrail platforms provide platfor

Re: CVE-2016-7097 causes acl leak

2016-12-12 Thread Mark Salyzyn
On 12/11/2016 04:34 PM, Cong Wang wrote: On Mon, Dec 5, 2016 at 9:16 AM, Mark Salyzyn wrote: Commit 073931017b49d9458aa351605b43a7e34598caef has several occurrences of an acl leak. posix_acl_update_mode(inose, &mode, &acl); . . . posix_acl_release(acl); acl is NULLed in posix_acl_update_mo

Re: [PATCH v3] ACPI: small formatting fixes

2016-12-12 Thread Joe Perches
On Mon, 2016-12-12 at 16:01 -0800, Nick Desaulniers wrote: > From https://lkml.org/lkml/2016/12/12/610: > > > > Anyway with that fixed, > > > Acked-by: Pavel Machek > > That's not an ack. > > Oh, sorry, should I resubmit v4 with the Ack removed from the commit > message? No, that's an ack I did

[PATCH] HID: usbhid: fix more Mayflash adapters (HID_QUIRK_MULTI_INPUT)

2016-12-12 Thread Dmitry Torokhov
From: Andrew Rodland Add "Mayflash GameCube Controller Adapter for Wii U and PC USB" and "Mayflash PS3 Game Controller Adapter" to the list of devices needing HID_QUIRK_MULTI_INPUT. These devices have 4 controller ports, and without the quirk they all become one very large joystock device. With t

[PATCH net-next 24/27] bpf_test: prepare for VLAN_TAG_PRESENT removal

2016-12-12 Thread Michał Mirosław
Signed-off-by: Michał Mirosław --- lib/test_bpf.c | 15 +++ 1 file changed, 15 insertions(+) diff --git a/lib/test_bpf.c b/lib/test_bpf.c index 0362da0..00d3450 100644 --- a/lib/test_bpf.c +++ b/lib/test_bpf.c @@ -691,8 +691,13 @@ static struct bpf_test tests[] = { CL

[PATCH net-next 23/27] net/bpf: split VLAN_PRESENT bit handling from VLAN_TCI

2016-12-12 Thread Michał Mirosław
Signed-off-by: Michał Mirosław --- net/core/filter.c | 20 +--- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/net/core/filter.c b/net/core/filter.c index b146170..c3321f1 100644 --- a/net/core/filter.c +++ b/net/core/filter.c @@ -188,22 +188,20 @@ static u32 conve

[GIT PULL] rpmsg updates for v4.10

2016-12-12 Thread Bjorn Andersson
The following changes since commit 1001354ca34179f3db924eb66672442a173147dc: Linux 4.9-rc1 (2016-10-15 12:17:50 -0700) are available in the git repository at: git://github.com/andersson/remoteproc tags/rpmsg-v4.10 for you to fetch changes up to 5c8a934349ee61027a48e3e6c0bba2b7d3dd09d1: d

Re: [PATCH v6 1/3] clk: x86: Add Atom PMC platform clocks

2016-12-12 Thread Pierre-Louis Bossart
Thanks for an update I will comment all the patches. Here we start. Thanks Andy for the review. Two quick comments before going further in the details later. The BayTrail and CherryTrail platforms provide platform clocks through their Power Management Controller (PMC). The SoC supports

[GIT PULL] remoteproc updates for v4.10

2016-12-12 Thread Bjorn Andersson
Hi Linus, Here are the changes to remoteproc for v4.10. I had to pull an immutable branch from Vinod to include the ST FDMA dma driver in order to sort out the Kconfig dependencies between the two subsystems. Regards, Bjorn The following changes since commit 1001354ca34179f3db924eb66672442a17314

Re: [PATCH] ACPI/NUMA: Do not map pxm to node when NUMA is turned off

2016-12-12 Thread kbuild test robot
Hi Boris, [auto build test WARNING on pm/linux-next] [also build test WARNING on v4.9 next-20161212] [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/Boris-Ostrovsky/ACPI-NUMA-Do-not-map-pxm-to

Re: netlink: GPF in sock_sndtimeo

2016-12-12 Thread Cong Wang
On Mon, Dec 12, 2016 at 2:02 AM, Richard Guy Briggs wrote: > On 2016-12-09 20:13, Cong Wang wrote: >> Netlink notifier can safely be converted to blocking one, I will send >> a patch. > > I had a quick look at how that might happen. The netlink notifier chain > is atomic. Would the registered ca

Re: [PATCH v3] tools: usb: usbip: Add simple script to show how to setup vUDC

2016-12-12 Thread Shuah Khan
On 12/12/2016 11:55 AM, Krzysztof Opasiak wrote: > Add some simple script which creates a USB gadget using ConfigFS > and then exports it using vUDC. > > This may be useful for people who just started playing with > USB/IP and vUDC as it shows exact steps how to setup all stuff. > > Signed-off-by

Re: [PATCH] dm: Avoid sleeping while holding the dm_bufio lock

2016-12-12 Thread Doug Anderson
Hi, On Thu, Dec 8, 2016 at 3:20 PM, Mikulas Patocka wrote: > > > On Wed, 7 Dec 2016, Doug Anderson wrote: > >> Hi, >> >> On Wed, Nov 23, 2016 at 12:57 PM, Mikulas Patocka >> wrote: >> > Hi >> > >> > The GFP_NOIO allocation frees clean cached pages. The GFP_NOWAIT >> > allocation doesn't. Your p

Re: [PATCH v3] ACPI: small formatting fixes

2016-12-12 Thread Nick Desaulniers
>From https://lkml.org/lkml/2016/12/12/610: >> Anyway with that fixed, >> Acked-by: Pavel Machek > That's not an ack. Oh, sorry, should I resubmit v4 with the Ack removed from the commit message? ~Nick

Re: [PATCH v6 3/3] platform/x86: Enable Atom PMC platform clocks

2016-12-12 Thread Andy Shevchenko
On Fri, Dec 9, 2016 at 8:01 PM, Irina Tirdea wrote: > The BayTrail and CherryTrail platforms provide platform clocks > through their Power Management Controller (PMC). > > The SoC supports up to 6 clocks (PMC_PLT_CLK[5:0]) with a > frequency of either 19.2 MHz (PLL) or 25 MHz (XTAL) for BayTrail >

Re: [PATCH] wusbcore: Fix one more crypto-on-the-stack bug

2016-12-12 Thread Andy Lutomirski
On Mon, Dec 12, 2016 at 1:44 PM, Greg KH wrote: > On Mon, Dec 12, 2016 at 12:52:45PM -0800, Andy Lutomirski wrote: >> The driver put a constant buffer of all zeros on the stack and >> pointed a scatterlist entry at it. This doesn't work with virtual >> stacks. Make the buffer static to fix it. >

Re: [PATCH v2] audit: use proper refcount locking on audit_sock

2016-12-12 Thread Cong Wang
On Mon, Dec 12, 2016 at 2:03 AM, Richard Guy Briggs wrote: > Resetting audit_sock appears to be racy. > > audit_sock was being copied and dereferenced without using a refcount on > the source sock. > > Bump the refcount on the underlying sock when we store a refrence in > audit_sock and release it

[PATCH] Input: ar1021-i2c - fix too long name in driver's device table

2016-12-12 Thread Dmitry Torokhov
The name field in structure i2c_device_id is 20 characters, and we expect it to be NULL-terminated, however we are trying to stuff it with 21 bytes and thus NULL-terminator is lost. This causes issues when one creates device with name "MICROCHIP_AR1021_I2C" as i2c core cuts off the last "C", and au

Re: [PATCH] MAINTAINERS: Samsung: Update maintainer for PWM FAN and SAMSUNG THERMAL

2016-12-12 Thread Zhang Rui
On Mon, 2016-12-12 at 08:33 -0800, Guenter Roeck wrote: > On Mon, Dec 12, 2016 at 04:09:45PM +0100, Lukasz Majewski wrote: > > > > Since I leave Samsung, I would like to step down from maintenance > > duties. > > Bartek Zolnierkiewicz will replace. > > > > Signed-off-by: Lukasz Majewski > For hw

most 3.16.x incr patches missing?

2016-12-12 Thread Wakko Warner
I was looking at 3.16 and was going to patch upto the latest with the incremental patches and noticed there's many missing. Am I using the wrong ftp site? Here's an ls from lftp: lftp ftp.kernel.org:~> cd /pub/linux/kernel/v3.x cd ok, cwd=/pub/linux/kernel/v3.x lftp ftp.kernel.org

Re: [PATCH v3] ACPI: small formatting fixes

2016-12-12 Thread Joe Perches
On Mon, 2016-12-12 at 15:28 -0800, Nick Desaulniers wrote: > A quick cleanup with scripts/checkpatch.pl -f . > > Signed-off-by: Nick Desaulniers > Acked-by: Pavel Machek What Pavel wrote was "Rest is good".  That's not an ack. You don't get to add "Acked-by" or any signature without a specific

Re: [PATCH v6 2/3] arch/x86/platform/atom: Move pmc_atom to drivers/platform/x86

2016-12-12 Thread Andy Shevchenko
I have been told I have to send my comments here instead of our internal ML. I didn't fast enough to comment that during v5. So do it right now. On Fri, Dec 9, 2016 at 8:01 PM, Irina Tirdea wrote: > The pmc_atom driver does not contain any architecture specific > code. It only enables the SOC Pow

Re: [PATCH v6 1/3] clk: x86: Add Atom PMC platform clocks

2016-12-12 Thread Andy Shevchenko
On Fri, Dec 9, 2016 at 8:01 PM, Irina Tirdea wrote: Thanks for an update I will comment all the patches. Here we start. > The BayTrail and CherryTrail platforms provide platform clocks > through their Power Management Controller (PMC). > > The SoC supports up to 6 clocks (PMC_PLT_CLK[5:0]) with

[PATCH v3] ACPI: small formatting fixes

2016-12-12 Thread Nick Desaulniers
A quick cleanup with scripts/checkpatch.pl -f . Signed-off-by: Nick Desaulniers Acked-by: Pavel Machek --- arch/x86/kernel/acpi/cstate.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/arch/x86/kernel/acpi/cstate.c b/arch/x86/kernel/acpi/cstate.c index af15f44..8233

[PATCH 2/2] ubifs: Use fscrypt ioctl() helpers

2016-12-12 Thread Richard Weinberger
Commit db717d8e26c2 ("fscrypto: move ioctl processing more fully into common code") moved ioctl() related functions into fscrypt and offers us now a set of helper functions. Signed-off-by: Richard Weinberger --- fs/ubifs/ioctl.c | 24 ++-- fs/ubifs/ubifs.h | 4 ++-- 2 files

[PATCH 1/2] ubifs: Use FS_CFLG_OWN_PAGES

2016-12-12 Thread Richard Weinberger
Commit bd7b8290388d ("fscrypt: Cleanup page locking requirements for fscrypt_{decrypt,encrypt}_page()") renamed the flag. Signed-off-by: Richard Weinberger --- fs/ubifs/crypto.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/ubifs/crypto.c b/fs/ubifs/crypto.c index aefa3c

Re: [PATCH 2/4] dt-bindings: mfd: Remove TPS65217 interrupts

2016-12-12 Thread Milo Kim
On 12/13/2016 02:25 AM, Rob Herring wrote: On Fri, Dec 09, 2016 at 03:28:31PM +0900, Milo Kim wrote: Interrupt numbers are from the datasheet, so no need to keep them in the ABI. Use the number in the DT file. I don't see the purpose of ripping this out. The headers have always been for convien

[ANNOUNCE] iproute2 4.9

2016-12-12 Thread Stephen Hemminger
Release of iproute2 for Linux 4.9, just in time for your holiday giving. Update to iproute2 utility to support new features in Linux 4.9. Mostly this is refinements to add new flags to tipc, l2tp, ss and macsec support. There are also a couple of performance enhancments for handling lots of interf

Re: [PATCH] ACPI: small formatting fixes

2016-12-12 Thread Joe Perches
On Mon, 2016-12-12 at 15:20 -0800, Nick Desaulniers wrote: > > Please... don't encourage people more, we have enough cleanup patches > > as is. > > I recognize that this patch is relatively inconsequential, but it is my > first patch to the Linux kernel, and is teaching me how to wrangle my > emai

Re: [PATCH] ARM: dts: sun8i: Support DTB build for NanoPi M1

2016-12-12 Thread Milo Kim
On 12/13/2016 12:49 AM, Maxime Ripard wrote: Hi, On Fri, Dec 09, 2016 at 10:47:58AM +0900, Milo Kim wrote: The commit 10efbf5f1633 introduced NanoPi M1 board but it's missing in Allwinner H3 DTB build. Signed-off-by: Milo Kim checkpatch reports an error on this one (commit format), please f

Re: [PATCH] ACPI: small formatting fixes

2016-12-12 Thread Nick Desaulniers
> Please... don't encourage people more, we have enough cleanup patches > as is. I recognize that this patch is relatively inconsequential, but it is my first patch to the Linux kernel, and is teaching me how to wrangle my email client and about the development work flow. I plan to write a blog p

Re: Clarification for acceptance statistics?

2016-12-12 Thread Daniele Nicolodi
On 12/12/16 3:11 PM, SF Markus Elfring wrote: >>> It is really needed to clarify the corresponding software development >>> history any further? >> >> It is relevant because you are submitting a patch and your changelog >> implies that it makes the code follow some code structure rule that >> needs

[PATCH resend] ARM: dts: sun8i: Support DTB build for NanoPi M1

2016-12-12 Thread Milo Kim
The commit 10efbf5f1633 ("ARM: dts: sun8i: Add dts file for NanoPi M1 SBC") introduced NanoPi M1 board but it's missing in Allwinner H3 DTB build. Signed-off-by: Milo Kim --- arch/arm/boot/dts/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot

Re: [PATCH v4 3/5] i2c: designware: Add slave definitions

2016-12-12 Thread Rob Herring
On Mon, Dec 12, 2016 at 12:35 PM, Luis de Oliveira wrote: > Hi all, Please don't top post. > > The slave address could be set by the I2C slave backend so I can't use it to > setup the controller. > A boolean property was my initial approach then Andy and Wolfram Sang > suggested the use of com

Re: [ext4] e2ae766c1b: BUG:sleeping_function_called_from_invalid_context_at_kernel/locking/rwsem.c

2016-12-12 Thread Ross Zwisler
On Mon, Dec 12, 2016 at 06:00:20PM -0500, Theodore Ts'o wrote: > On Mon, Dec 12, 2016 at 03:48:51PM -0700, Ross Zwisler wrote: > > On Mon, Dec 12, 2016 at 05:37:36PM -0500, Theodore Ts'o wrote: > > > Is this problem likely to happen in other file systems? Should I take > > > this path through the

Re: [PATCH] ACPI: small formatting fixes

2016-12-12 Thread Joe Perches
On Tue, 2016-12-13 at 00:08 +0100, Pavel Machek wrote: > On Mon 2016-12-12 14:32:12, Joe Perches wrote: > > On Mon, 2016-12-12 at 23:22 +0100, Pavel Machek wrote: > > > On Mon 2016-12-12 10:39:15, Joe Perches wrote: > > > > On Mon, 2016-12-12 at 09:56 -0800, Nick Desaulniers wrote: > > > > > A quic

Re: [PATCH] ACPI: small formatting fixes

2016-12-12 Thread Pavel Machek
On Mon 2016-12-12 14:32:12, Joe Perches wrote: > On Mon, 2016-12-12 at 23:22 +0100, Pavel Machek wrote: > > On Mon 2016-12-12 10:39:15, Joe Perches wrote: > > > On Mon, 2016-12-12 at 09:56 -0800, Nick Desaulniers wrote: > > > > A quick cleanup that passes scripts/checkpatch.pl -f . > [] > > > > dif

Re: WARNING: kernel stack frame pointer at ffffffff82e03f40 in swapper:0 has bad value (null)

2016-12-12 Thread Josh Poimboeuf
On Mon, Dec 12, 2016 at 11:33:54PM +0100, Borislav Petkov wrote: > On Mon, Dec 12, 2016 at 04:11:47PM -0600, Josh Poimboeuf wrote: > > Yes, please. > > Attached. Thanks, I was able to recreate. Will take a look tomorrow. -- Josh

Re: [PATCH v2 2/2] eeprom: Add IDT 89HPESx driver bindings file

2016-12-12 Thread Rob Herring
On Mon, Dec 5, 2016 at 1:04 PM, Serge Semin wrote: > On Mon, Dec 05, 2016 at 11:27:07AM -0600, Rob Herring wrote: >> On Mon, Dec 5, 2016 at 9:25 AM, Serge Semin wrote: >> > On Mon, Dec 05, 2016 at 08:46:21AM -0600, Rob Herring >> > wrote: >> >> On Tue, Nov 29, 2016 at 01:38:21AM +0300, Serge S

Re: [PATCH v3] siphash: add cryptographically secure hashtable function

2016-12-12 Thread Jason A. Donenfeld
On Tue, Dec 13, 2016 at 12:01 AM, Andi Kleen wrote: > It would be nice if the network code could be converted to use siphash > for the secure sequence numbers. Right now it pulls in a lot of code > for bigger secure hashes just for that, which is a problem for tiny > kernels. Indeed this would be

Re: [PATCH v3] siphash: add cryptographically secure hashtable function

2016-12-12 Thread Andi Kleen
> Dozens of languages are already using this internally for their hash > tables. Some of the BSDs already use this in their kernels. SipHash is > a widely known high-speed solution to a widely known problem, and it's > time we catch-up. It would be nice if the network code could be converted to us

Re: [ext4] e2ae766c1b: BUG:sleeping_function_called_from_invalid_context_at_kernel/locking/rwsem.c

2016-12-12 Thread Theodore Ts'o
On Mon, Dec 12, 2016 at 03:48:51PM -0700, Ross Zwisler wrote: > On Mon, Dec 12, 2016 at 05:37:36PM -0500, Theodore Ts'o wrote: > > Is this problem likely to happen in other file systems? Should I take > > this path through the ext4 tree, or would it be better via some other > > git tree? > > > >

Re: [PATCH v2 1/2] tracing/kprobes: add a helper method to return number of probe hits

2016-12-12 Thread Steven Rostedt
Masami, I just noticed that you were not Cc'd. Can you give your ack on this and the other patch. I'll bounce both of them to you. Thanks! -- Steve On Fri, 9 Dec 2016 15:19:37 +0100 Marcin Nowakowski wrote: > The number of probe hits is stored in a percpu variable and therefore > can't be re

Re: [PATCH v6 1/5] mtd: introduce function max_bad_blocks

2016-12-12 Thread Brian Norris
Hi, On Wed, Nov 30, 2016 at 10:57:27AM -0600, Zach Brown wrote: > From: Jeff Westfahl > > If implemented, 'max_bad_blocks' returns the maximum number of bad > blocks to reserve for a MTD. An implementation for NAND is coming soon. > > Signed-off-by: Jeff Westfahl > Signed-off-by: Zach Brown >

Re: [ext4] e2ae766c1b: BUG:sleeping_function_called_from_invalid_context_at_kernel/locking/rwsem.c

2016-12-12 Thread Ross Zwisler
On Mon, Dec 12, 2016 at 05:37:36PM -0500, Theodore Ts'o wrote: > Is this problem likely to happen in other file systems? Should I take > this path through the ext4 tree, or would it be better via some other > git tree? > > - Ted The problem is in the generic

Re: WARNING: CPU: 3 PID: 1568 at kernel/sched/core.c:7738 __might_sleep+0x69/0x7e

2016-12-12 Thread Shaohua Li
On Mon, Dec 12, 2016 at 05:03:49PM -0500, Tejun Heo wrote: > Hello, Michal. > > On Fri, Dec 09, 2016 at 04:12:29PM +0100, Michal Hocko wrote: > > Hi Tejun, > > I am seeing the following warning during boot in my kvm testing > > environment: > > [3.549649] WARNING: CPU: 3 PID: 1568 at kernel/sc

Re: [PATCH v3] sparc64: Multi-page size support

2016-12-12 Thread Nitin Gupta
On 12/11/2016 06:14 PM, David Miller wrote: > From: David Miller > Date: Sun, 11 Dec 2016 21:06:30 -0500 (EST) > >> Applied. > > Actually, I'm reverting. > > Just doing a simply "make -s -j128" kernel build on a T4-2 I'm > getting kernel log warnings: > > [2024810.925975] IPv6: ADDRCONF(NETD

Re: [PATCH] vfio/pci: Support error recovery

2016-12-12 Thread Alex Williamson
On Tue, 13 Dec 2016 00:29:42 +0200 "Michael S. Tsirkin" wrote: > On Mon, Dec 12, 2016 at 12:12:16PM -0700, Alex Williamson wrote: > > On Mon, 12 Dec 2016 21:49:01 +0800 > > Cao jin wrote: > > > > > Hi, > > > I have 2 solutions(high level design) came to me, please see if they are > > > accept

Re: [ext4] e2ae766c1b: BUG:sleeping_function_called_from_invalid_context_at_kernel/locking/rwsem.c

2016-12-12 Thread Theodore Ts'o
Is this problem likely to happen in other file systems? Should I take this path through the ext4 tree, or would it be better via some other git tree? - Ted

Re: WARNING: kernel stack frame pointer at ffffffff82e03f40 in swapper:0 has bad value (null)

2016-12-12 Thread Borislav Petkov
On Mon, Dec 12, 2016 at 04:11:47PM -0600, Josh Poimboeuf wrote: > Yes, please. Attached. > That said, the code could probably be made a little clearer by changing > "call 1f" to "push $1f" and then move the '1' label to after the lretq > instruction, like: > > pushq $1f # put

[GIT PULL] ACPI updates for v4.10-rc1

2016-12-12 Thread Rafael J. Wysocki
Hi Linus, Please pull from the tag git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \ pm-4.10-rc1 with top-most commit 80f1b3dea9d4262817b5510547b1313681669f66 Merge branch 'device-properties' on top of commit 69973b830859bc6529a7a0468ba0d80ee5117826 Linux 4.9 to receive

Re: [PATCH] ACPI: small formatting fixes

2016-12-12 Thread Joe Perches
On Mon, 2016-12-12 at 23:22 +0100, Pavel Machek wrote: > On Mon 2016-12-12 10:39:15, Joe Perches wrote: > > On Mon, 2016-12-12 at 09:56 -0800, Nick Desaulniers wrote: > > > A quick cleanup that passes scripts/checkpatch.pl -f . [] > > > diff --git a/arch/x86/kernel/acpi/cstate.c b/arch/x86/kernel/a

[GIT PULL] Power management updates for v4.10-rc1

2016-12-12 Thread Rafael J. Wysocki
Hi Linus, Please pull from the tag git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \ pm-4.10-rc1 with top-most commit bbc17bb8a89b3eb31520abf3a9b362d5ee54f908 Merge branch 'pm-devfreq' on top of commit 69973b830859bc6529a7a0468ba0d80ee5117826 Linux 4.9 to receive power

Re: WARNING: CPU: 3 PID: 1568 at kernel/sched/core.c:7738 __might_sleep+0x69/0x7e

2016-12-12 Thread Cong Wang
On Mon, Dec 12, 2016 at 2:03 PM, Tejun Heo wrote: > Hello, Michal. > > On Fri, Dec 09, 2016 at 04:12:29PM +0100, Michal Hocko wrote: >> At first I thought this would be related to you recent work >> http://lkml.kernel.org/r/1477673892-28940-1-git-send-email...@kernel.org >> but that doesn't seem t

Re: [PATCH 1/6] ext4: Move is_32bit_api() to generic code

2016-12-12 Thread Andreas Dilger
On Dec 1, 2016, at 3:02 PM, Richard Weinberger wrote: > > Since UBIFS will also use this function, move it to compat.h. > > Signed-off-by: Richard Weinberger Looks fine, could have minor improvement as mentioned below. Reviewed-by: Andreas Dilger > --- > fs/ext4/dir.c | 9 -

Re: [PATCH] vfio/pci: Support error recovery

2016-12-12 Thread Michael S. Tsirkin
On Mon, Dec 12, 2016 at 12:12:16PM -0700, Alex Williamson wrote: > On Mon, 12 Dec 2016 21:49:01 +0800 > Cao jin wrote: > > > Hi, > > I have 2 solutions(high level design) came to me, please see if they are > > acceptable, or which one is acceptable. Also have some questions. > > > > 1. block gue

[PATCH] net: cirrus: ep93xx: use new api ethtool_{get|set}_link_ksettings

2016-12-12 Thread Philippe Reynes
The ethtool api {get|set}_settings is deprecated. We move this driver to new api {get|set}_link_ksettings. Signed-off-by: Philippe Reynes --- drivers/net/ethernet/cirrus/ep93xx_eth.c | 14 -- 1 files changed, 8 insertions(+), 6 deletions(-) diff --git a/drivers/net/ethernet/cirrus

Re: [PATCH] keys/encrypted: Fix two crypto-on-the-stack bugs

2016-12-12 Thread David Howells
Andy Lutomirski wrote: > +static const char zero_pad[16] = {0}; Isn't there a global page of zeros or something that we can share? Also, you shouldn't explicitly initialise it so that it stays in .bss. > - sg_set_buf(&sg_out[1], pad, sizeof pad); > + sg_set_buf(&sg_out[1], zero_pad, si

[PATCH] treewide: Make remaining source files non-executable

2016-12-12 Thread Joe Perches
.c and .h source files should not be executable, change the permissions to 0644. Signed-off-by: Joe Perches Acked-by: David Howells --- Linus, Andrew Morton suggested privately that you apply this directly as his toolchain doesn't support rename/permission only patches. Apparently, Andrew hasn

Re: [PATCH] ACPI: small formatting fixes

2016-12-12 Thread Pavel Machek
On Mon 2016-12-12 10:39:15, Joe Perches wrote: > On Mon, 2016-12-12 at 09:56 -0800, Nick Desaulniers wrote: > > A quick cleanup that passes scripts/checkpatch.pl -f . > > You might use the --strict option for acpi files. Please... don't encourage people more, we have enough cleanup patches as is.

[PATCH v3] siphash: add cryptographically secure hashtable function

2016-12-12 Thread Jason A. Donenfeld
SipHash is a 64-bit keyed hash function that is actually a cryptographically secure PRF, like HMAC. Except SipHash is super fast, and is meant to be used as a hashtable keyed lookup function. SipHash isn't just some new trendy hash function. It's been around for a while, and there really isn't any

Re: [patch] mm, compaction: add vmstats for kcompactd work

2016-12-12 Thread David Rientjes
On Thu, 8 Dec 2016, Vlastimil Babka wrote: > > A "compact_daemon_wake" vmstat exists that represents the number of times > > kcompactd has woken up. This doesn't represent how much work it actually > > did, though. > > > > It's useful to understand how much compaction work is being done by > > k

Re: Remaining crypto API regressions with CONFIG_VMAP_STACK

2016-12-12 Thread Gary R Hook
On 12/12/2016 12:34 PM, Andy Lutomirski wrote: <...snip...> I have a patch to make these depend on !VMAP_STACK. drivers/crypto/ccp/ccp-crypto-aes-cmac.c:105,119,142 drivers/crypto/ccp/ccp-crypto-sha.c:95,109,124 drivers/crypto/ccp/ccp-crypto-aes-xts.c:162 driv

Re: [PATCH 1/6] ext4: Move is_32bit_api() to generic code

2016-12-12 Thread Richard Weinberger
On Thu, Dec 1, 2016 at 11:02 PM, Richard Weinberger wrote: > Since UBIFS will also use this function, move it to compat.h. > > Signed-off-by: Richard Weinberger > --- > fs/ext4/dir.c | 9 - > include/linux/compat.h | 2 ++ > 2 files changed, 2 insertions(+), 9 deletions(-) > > d

[GIT PULL] f2fs update for 4.10

2016-12-12 Thread Jaegeuk Kim
Hi Linus, Could you please consider this pull request? Thanks, The following changes since commit ded9b5dd205ef04aa095c3b731c635b201191a59: Merge branch 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip (2016-11-23 08:09:21 -0800) are available in the git rep

Re: [ext4] e2ae766c1b: BUG:sleeping_function_called_from_invalid_context_at_kernel/locking/rwsem.c

2016-12-12 Thread Ross Zwisler
On Mon, Dec 12, 2016 at 05:35:18PM +0100, Jan Kara wrote: > On Mon 12-12-16 18:13:21, kernel test robot wrote: > > FYI, we noticed the following commit: > > > > commit: e2ae766c1b030271b5099b25674e2131d1d1e8c1 ("ext4: convert DAX faults > > to iomap infrastructure") > > https://git.kernel.org/pub

Re: Clarification for acceptance statistics?

2016-12-12 Thread SF Markus Elfring
> The question was: have you ever had a patch changing code in the form > > { > a = kmalloc(...); > b = kmalloc(...); > > if (!a || !b) > goto out; > > ... > > out: > kfree(a); > kfree(b); > } > > to something else, accepted? It seems that thi

Re: WARNING: kernel stack frame pointer at ffffffff82e03f40 in swapper:0 has bad value (null)

2016-12-12 Thread Josh Poimboeuf
On Mon, Dec 12, 2016 at 10:34:46PM +0100, Borislav Petkov wrote: > On Mon, Dec 12, 2016 at 03:16:27PM -0600, Josh Poimboeuf wrote: > > I still can't figure out what could cause this, nor can I recreate it. > > Want my .config? Yes, please. > > Andy, any idea? I'm trying to figure out why a stac

Re: [PATCH for-next 0/6] IB/hns: Bug Fixes for HNS RoCE Driver

2016-12-12 Thread Doug Ledford
On 11/29/2016 6:10 PM, Salil Mehta wrote: > This patch-set contains bug fixes for the HNS RoCE driver. > > Lijun Ou (1): > IB/hns: Fix the IB device name > > Shaobo Xu (2): > IB/hns: Fix the bug when free mr > IB/hns: Fix the bug when free cq > > Wei Hu (Xavier) (3): > IB/hns: Fix the bu

Re: [PATCH v3 3/3] perf tool: add cgroup identifier entry in perf report

2016-12-12 Thread Eric W. Biederman
Hari Bathini writes: > This patch introduces a cgroup identifier entry field in perf report to > identify or distinguish data of different cgroups. It uses the unique > inode number of cgroup namespace, included in perf data with the new > PERF_RECORD_NAMESPACES event, as cgroup identifier. With

Re: [PATCH V3 for-next 00/11] Code improvements & fixes for HNS RoCE driver

2016-12-12 Thread Doug Ledford
On 11/23/2016 2:40 PM, Salil Mehta wrote: > This patchset introduces some code improvements and fixes > for the identified problems in the HNS RoCE driver. > > Lijun Ou (4): > IB/hns: Add the interface for querying QP1 > IB/hns: add self loopback for CM > IB/hns: Modify the condition of noti

Re: [PATCH v6 2/2] crypto: add virtio-crypto driver

2016-12-12 Thread Michael S. Tsirkin
On Mon, Dec 12, 2016 at 06:54:07PM +0800, Herbert Xu wrote: > On Mon, Dec 12, 2016 at 06:25:12AM +, Gonglei (Arei) wrote: > > Hi, Michael & Herbert > > > > Because the virtio-crypto device emulation had been in QEMU 2.8, > > would you please merge the virtio-crypto driver for 4.10 if no other

Re: WARNING: CPU: 3 PID: 1568 at kernel/sched/core.c:7738 __might_sleep+0x69/0x7e

2016-12-12 Thread Tejun Heo
Hello, Michal. On Fri, Dec 09, 2016 at 04:12:29PM +0100, Michal Hocko wrote: > Hi Tejun, > I am seeing the following warning during boot in my kvm testing > environment: > [3.549649] WARNING: CPU: 3 PID: 1568 at kernel/sched/core.c:7738 > __might_sleep+0x69/0x7e > [3.551279] do not call b

Re: usb/core: warning in usb_create_ep_devs/sysfs_create_dir_ns

2016-12-12 Thread Alan Stern
On Mon, 12 Dec 2016, Alan Stern wrote: > On Mon, 12 Dec 2016, Dmitry Vyukov wrote: > > > On Mon, Dec 12, 2016 at 10:05 PM, Alan Stern > > wrote: > > > On Mon, 12 Dec 2016, Andrey Konovalov wrote: > > > > > >> Hi! > > >> > > >> While running the syzkaller fuzzer I've got the following error repo

<    1   2   3   4   5   6   7   8   >