[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: 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

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: [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: [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: 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: [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: [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: [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: [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 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: [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 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: 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] 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: [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: [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 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

[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: 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

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: [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 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

[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 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

[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

[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

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

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 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

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] 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

[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 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

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 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 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] 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: 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] 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

[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 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] 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

[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

[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

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

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 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: [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

[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 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] 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

[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 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 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 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 +

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 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

[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 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 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

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

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

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 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 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 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 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 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: [RFC][PATCHv5 7/7] printk: remove zap_locks() function

2016-12-12 Thread Sergey Senozhatsky
On (12/12/16 17:37), Petr Mladek wrote: > On Thu 2016-12-01 22:55:46, Sergey Senozhatsky wrote: > > We use printk-safe now which makes printk-recursion detection code > > in vprintk_emit() unreachable. The tricky thing here is that, apart > > from detecting and reporting printk recursions, that cod

Re: [RFC][PATCHv5 6/7] printk: use printk_safe buffers in printk

2016-12-12 Thread Sergey Senozhatsky
On (12/12/16 17:30), Petr Mladek wrote: > On Thu 2016-12-01 22:55:45, Sergey Senozhatsky wrote: > > Use printk_safe per-CPU buffers in printk recursion-prone blocks: > > -- around logbuf_lock protected sections in vprintk_emit() and > >console_unlock() > > -- around down_trylock_console_sem() a

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

2016-12-12 Thread Huang, Ying
Jan Kara writes: > 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/scm/linux/kernel/git/tytso/ext4.git dev >>

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

2016-12-12 Thread Masami Hiramatsu
Hello Marcin, 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 read directly. Add a helper method trace_kprobe_nhit() that > performs the required calculation. > > It will be used in a follow-up commit

Re: [PATCH v2 2/2] kprobes/trace: Fix kprobe selftest for newer gcc

2016-12-12 Thread Masami Hiramatsu
On Fri, 9 Dec 2016 15:19:38 +0100 Marcin Nowakowski wrote: > Commit 265a5b7ee3eb ("kprobes/trace: Fix kprobe selftest for gcc 4.6") > has added __used attribute to kprobe_trace_selftest_target to ensure > that the method is listed in kallsyms table. > > However, even though the method remains in

[PATCH v2 0/2] Add MediaTek crypto accelerator driver

2016-12-12 Thread Ryder Lee
Hello, This adds support for the MediaTek hardware accelerator on some SoCs. This driver currently implement: - SHA1 and SHA2 family(HMAC) hash algorithms. - AES block cipher in CBC/ECB mode with 128/196/256 bits keys. Changes since v2: - use byteorder conversion macros and type identifiers for

[PATCH v2 1/2] Add crypto driver support for some MediaTek chips

2016-12-12 Thread Ryder Lee
This adds support for the MediaTek hardware accelerator on mt7623/mt2701/mt8521p SoC. This driver currently implement: - SHA1 and SHA2 family(HMAC) hash algorithms. - AES block cipher in CBC/ECB mode with 128/196/256 bits keys. Signed-off-by: Ryder Lee --- drivers/crypto/Kconfig

[PATCH v2 2/2] crypto: mediatek - add DT bindings documentation

2016-12-12 Thread Ryder Lee
Add DT bindings documentation for the crypto driver Signed-off-by: Ryder Lee --- .../devicetree/bindings/crypto/mediatek-crypto.txt | 32 ++ 1 file changed, 32 insertions(+) create mode 100644 Documentation/devicetree/bindings/crypto/mediatek-crypto.txt diff --git a/Documen

Re: [LKP] [lkp-developer] [mm] 4db18597f8: invoked_oom-killer:gfp_mask=0x

2016-12-12 Thread Huang, Ying
Michal Hocko writes: > Hi, > the subject suggests there was an OOM killer invocation but there is > nothing like that in the attached log. Is the full log somewhere > availble? Sorry, there is not OOM killer invocation, just page allocation stall. I misread some text in the original log. Best R

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

2016-12-12 Thread Subhash Jadavani
On 2016-12-12 17:19, Joe Perches wrote: 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,

[PATCH v5] cgroup: Add new capability to allow a process to migrate other tasks between cgroups

2016-12-12 Thread John Stultz
This patch adds CAP_GROUP_MIGRATE and logic to allows a process to migrate other tasks between cgroups. In Android (where this feature originated), the ActivityManager tracks various application states (TOP_APP, FOREGROUND, BACKGROUND, SYSTEM, etc), and then as applications change states, the Sche

Re: [PATCH v5] cgroup: Add new capability to allow a process to migrate other tasks between cgroups

2016-12-12 Thread John Stultz
On Mon, Dec 12, 2016 at 5:39 PM, John Stultz wrote: > This patch adds CAP_GROUP_MIGRATE and logic to allows a process > to migrate other tasks between cgroups. > > In Android (where this feature originated), the ActivityManager > tracks various application states (TOP_APP, FOREGROUND, > BACKGROUND

Re: [LKP] [lkp-developer] [sched/fair] 4e5160766f: +149% ftq.noise.50% regression

2016-12-12 Thread Huang, Ying
Hi, Vincent, Vincent Guittot writes: > Hi Ying, > > On 12 December 2016 at 06:43, kernel test robot > wrote: >> Greeting, >> >> FYI, we noticed a 149% regression of ftq.noise.50% due to commit: >> >> >> commit: 4e5160766fcc9f41bbd38bac11f92dce993644aa ("sched/fair: Propagate >> asynchrous deta

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

2016-12-12 Thread Rafael J. Wysocki
Hi Linus, The tag name was incorrect in the one I sent previously, sorry about that. Please pull from the tag git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \ acpi-4.10-rc1 with top-most commit 80f1b3dea9d4262817b5510547b1313681669f66 Merge branch 'device-properties' on

Re: [RFC][PATCHv5 5/7] printk: report lost messages in printk safe/nmi contexts

2016-12-12 Thread Sergey Senozhatsky
On (12/12/16 16:58), Petr Mladek wrote: > On Thu 2016-12-01 22:55:44, Sergey Senozhatsky wrote: [..] > But not really because we report lost messages from both buffers > and from all CPUs here. [..] > The perfect solution would be to remember the number of lost messages > in struct printk_safe_seq_

[PATCH RFC] [media] s5k6aa: set usleep_range greater 0

2016-12-12 Thread Nicholas Mc Guire
though and preferably would increase that range. Patch was only compile tested with: x86_64_defconfig + MEDIA_SUPPORT=m MEDIA_CAMERA_SUPPORT=y (implies VIDEO_V4L2=m) MEDIA_DIGITAL_TV_SUPPORT=y, CONFIG_MEDIA_CONTROLLER=y, CONFIG_VIDEO_V4L2_SUBDEV_API=y Patch is against 4.9.0 (localversion-next is nex

[PATCH v3] llist: Clarify comments about when locking is needed

2016-12-12 Thread Joel Fernandes
llist.h comments are confusing about when locking is needed versus when it isn't. Clarify these comments by being more descriptive about why locking is needed for llist_del_first. Cc: Ingo Molnar Cc: Will Deacon Cc: Paul McKenney Acked-by: Huang Ying Acked-by: Mathieu Desnoyers Signed-off-by:

[GIT PULL] clk: changes for v4.10

2016-12-12 Thread Stephen Boyd
The following changes since commit b7d79eb4615e3eb5947355f7b4354818cba037f7: clk: bcm: Fix unmet Kconfig dependencies for CLK_BCM_63XX (2016-11-23 14:31:11 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git tags/clk-for-linus for you

Re: [PATCH v2 1/4] net: hix5hd2_gmac: add generic compatible string

2016-12-12 Thread Dongpo Li
On 2016/12/12 22:21, Rob Herring wrote: > On Mon, Dec 12, 2016 at 5:16 AM, Dongpo Li wrote: >> Hi Rob, >> >> On 2016/12/10 6:35, Rob Herring wrote: >>> On Mon, Dec 05, 2016 at 09:27:58PM +0800, Dongpo Li wrote: The "hix5hd2" is SoC name, add the generic ethernet driver name. The "hisi-

Re: [PATCH 0/6] USB support for Broadcom NSP SoC

2016-12-12 Thread Florian Fainelli
On 11/09/2016 01:33 AM, Yendapally Reddy Dhananjaya Reddy wrote: > This patch set contains the usb support for Broadcom NSP SoC. > The usb phy is connected through mdio interface. The mdio interface > can be used to access either internal phys or external phys using a > multiplexer. > > The first

Re: [PATCH v2 0/6] UBIFS related fscrypt updates

2016-12-12 Thread Theodore Ts'o
On Tue, Dec 06, 2016 at 11:53:52PM +0100, David Gstir wrote: > This series applies on top of Ted's fscrypt tree[0] addresses the review > comments from Eric. This patch series have been added to the fsbranch of the ext4.git tree, thanks. - Ted

[PATCH 1/5] selftests: firmware: only modprobe if driver is missing

2016-12-12 Thread Luis R. Rodriguez
No need to load test_firmware if its already there. Also use a more generic form to recommend what is required to be built. Signed-off-by: Luis R. Rodriguez --- tools/testing/selftests/firmware/fw_filesystem.sh | 19 +-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --gi

[PATCH 3/5] firmware: revamp firmware documentation

2016-12-12 Thread Luis R. Rodriguez
Understanding this code is getting out of control without any notes. Give the firmware_class driver a much needed documentation love, and while at it convert it to the new sphinx documentation format. Signed-off-by: Luis R. Rodriguez --- Documentation/driver-api/firmware/built-in-fw.rst | 36 +

<    1   2   3   4   5   6   7   8   >