I need your assistance to invest!!!

2016-12-12 Thread Miss Margaret Carnegie
Dear Sir, I need your support to relocate and invest in your country. I ask your assistance because I don’t have knowledge about business and the rules that guide your country for safe investment. Will you promise to be sincere with me? Please contact me for more information details! With best

Re: [PATCH] orinoco: Use shash instead of ahash for MIC calculations

2016-12-12 Thread Eric Biggers
On Mon, Dec 12, 2016 at 12:55:55PM -0800, Andy Lutomirski wrote: > +int orinoco_mic(struct crypto_shash *tfm_michael, u8 *key, > u8 *da, u8 *sa, u8 priority, > u8 *data, size_t data_len, u8 *mic) > { > - AHASH_REQUEST_ON_STACK(req, tfm_michael); > - struct scatt

Re: [PATCH v5 2/2] mmc: sdhci-cadence: add Cadence SD4HC support

2016-12-12 Thread Ulf Hansson
[...] >>> + >>> +Optional properties: >>> +For eMMC configuration, supported speed modes are not indicated by the >>> SDHCI >>> +Capabilities Register. Instead, the following properties should be >>> specified >>> +if supported. See mmc.txt for details. >>> +- mmc-ddr-1_8v >>> +- mmc-ddr-1_2v

Re: [PATCH] clk: imx: pllv3: support fractional multiplier on vf610 PLL1/PLL2

2016-12-12 Thread Nikita Yushchenko
>> diff --git a/drivers/clk/imx/clk-pllv3.c b/drivers/clk/imx/clk-pllv3.c >> index 19f9b622981a..24a9e914e0d5 100644 >> --- a/drivers/clk/imx/clk-pllv3.c >> +++ b/drivers/clk/imx/clk-pllv3.c >> @@ -288,6 +291,87 @@ static const struct clk_ops clk_pllv3_av_ops = { >> .set_rate = clk_pllv3

Re: netlink: GPF in sock_sndtimeo

2016-12-12 Thread Richard Guy Briggs
On 2016-12-09 23:40, Cong Wang wrote: > On Fri, Dec 9, 2016 at 8:13 PM, Cong Wang wrote: > > On Fri, Dec 9, 2016 at 3:01 AM, Richard Guy Briggs wrote: > >> On 2016-12-08 22:57, Cong Wang wrote: > >>> On Thu, Dec 8, 2016 at 10:02 PM, Richard Guy Briggs > >>> wrote: > >>> > I also tried to extend

Re: [PATCH] clk: imx: pllv3: support fractional multiplier on vf610 PLL1/PLL2

2016-12-12 Thread Nikita Yushchenko
>> diff --git a/drivers/clk/imx/clk-pllv3.c b/drivers/clk/imx/clk-pllv3.c >> index 19f9b622981a..24a9e914e0d5 100644 >> --- a/drivers/clk/imx/clk-pllv3.c >> +++ b/drivers/clk/imx/clk-pllv3.c >> @@ -288,6 +291,87 @@ static const struct clk_ops clk_pllv3_av_ops = { >> .set_rate = clk_pllv3

[PATCH v5 2/2] usb: dwc3: core: Support the dwc3 host suspend/resume

2016-12-12 Thread Baolin Wang
For some mobile devices with strict power management, we also want to suspend the host when the slave is detached for power saving. Thus we add the host suspend/resume functions to support this requirement. Signed-off-by: Baolin Wang --- Changes since v4: - Remove Kconfig and just enable host su

[PATCH v5 1/2] usb: host: plat: Enable xhci plat runtime PM

2016-12-12 Thread Baolin Wang
Enable the xhci plat runtime PM for parent device to suspend/resume xhci. Also call pm_runtime_get_noresume() in probe() function in case the parent device doesn't call suspend/resume callback by runtime PM now. Signed-off-by: Baolin Wang --- Changes since v4: - No updates. Changes since v3: -

Re: epoll_wait inaccurate timeout

2016-12-12 Thread Dmitry Banschikov
On Mon, Dec 12, 2016 at 2:34 PM, Eric Wong wrote: > +Cc folks who may know about timer stuff on epoll. > > Dmitry Banschikov wrote: >> Hi! >> >> I have a problem caused by inaccurate timeouts in epoll_wait(2). >> Here are some parts of strace -tt output: > > Which kernel version are you using? I

[PATCHv2 4/5] perf tools: Allow to ignore missing pid

2016-12-12 Thread Jiri Olsa
On Tue, Dec 13, 2016 at 01:58:25AM +0900, Namhyung Kim wrote: SNIP > > } > > > > +static bool ignore_missing_thread(struct perf_evsel *evsel, > > + struct thread_map *threads, > > + int thread, int err) > > +{ > > + if (!evsel->ignore_m

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

2016-12-12 Thread Christian Gmeiner
2016-12-13 0:57 GMT+01:00 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_A

Re: [PATCH] clk: imx: pllv3: support fractional multiplier on vf610 PLL1/PLL2

2016-12-12 Thread Stephen Boyd
On 12/09, Nikita Yushchenko wrote: > diff --git a/drivers/clk/imx/clk-pllv3.c b/drivers/clk/imx/clk-pllv3.c > index 19f9b622981a..24a9e914e0d5 100644 > --- a/drivers/clk/imx/clk-pllv3.c > +++ b/drivers/clk/imx/clk-pllv3.c > @@ -288,6 +291,87 @@ static const struct clk_ops clk_pllv3_av_ops = { >

Re: [PATCH 3/5] firmware: revamp firmware documentation

2016-12-12 Thread Rafał Miłecki
On 12/13/2016 04:08 AM, Luis R. Rodriguez wrote: 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. It does help to understand the class/API, tha

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

2016-12-12 Thread Nicholas Piggin
On Mon, 12 Dec 2016 10:48:47 +0100 Stanislav Kozina wrote: > A runtime check is still done, with per-module vermagic which distros > can change when they bump the ABI version. Is it really necessary to > have more than that (i.e., per-symbol versioning)? > >>> From my point of

Issue with DRM and "reimplement IDR and IDA using the radix tree"

2016-12-12 Thread Alexandre Courbot
Hi Matthew, Trying the latest -next on the Jetson TK1 board (with two different DRM devices and display and render), I noticed that the GPU device probe always failed with error -ENOSPC. After investigating I figured out that this was due to the minor device allocation failing when a second DRM de

Re: [RFC PATCH 0/3] staging: remove fbdev drivers

2016-12-12 Thread Michel Dänzer
On 10/12/16 05:27 AM, Benjamin Herrenschmidt wrote: > On Fri, 2016-12-09 at 14:35 +0100, Daniel Vetter wrote: >>> As for multi userspace client, well, swapping an mmap between HW and >>> memory backing store is a somewhat solved problem already. >> >> Hm, I didn't know that, but then all existing d

[RFC][PATCH 1/5] usb: dwc2: Avoid sleeping while holding hsotg->lock

2016-12-12 Thread John Stultz
Basically when plugging in various cables in different orders, I'm occasionally seeing the following BUG splat: [ 86.215403] BUG: scheduling while atomic: kworker/u16:2/53/0x0002 [ 86.219164] usb 1-1: USB disconnect, device number 9 [ 86.226845] Preemption disabled at:[ 86.230218] [] d

[RFC][PATCH 4/5] usb: dwc2: Avoid suspending if we're in gadget mode

2016-12-12 Thread John Stultz
I've found when booting HiKey with the usb gadget cable attached if I then try to connect via adb, I get an infinite spew of: dwc2 f72c.usb: dwc2_hsotg_ep_sethalt(ep ffc0790ecb18 ep1out, 0) dwc2 f72c.usb: dwc2_hsotg_ep_sethalt(ep ffc0790eca18 ep1in, 0) It seems that the usb autosu

[RFC][PATCH 2/5] usb: dwc2: Workaround case where GOTGCTL state is wrong

2016-12-12 Thread John Stultz
When removing a USB-A to USB-otg adapter cable, we get a change status irq, and then in dwc2_conn_id_status_change, we erroniously see the GOTGCTL_CONID_B flag set. This causes us to get stuck in the "while (!dwc2_is_device_mode(hsotg))" loop, spitting out "Waiting for Peripheral Mode, Mode=Host"

[RFC][PATCH 0/5] Fixes and workarounds for dwc2 on HiKey board

2016-12-12 Thread John Stultz
I just wanted to send out my current queue of patches for dwc2 controller on the HiKey board. This does exclude my patchset[1] to add extcon support to dwc2, which John Youn suspects a pending rework of the dwc2 fifo init logic might make unnecssary. So in the meantime, I wanted to send out the o

[RFC][PATCH 5/5] usb: dwc2: Add a quirk to allow speed negotiation for Hisilicon Hi6220

2016-12-12 Thread John Stultz
From: Chen Yu The Hi6220's usb controller is limited in that it does not support "Split Transactions", so it does not support communicating with low-speed and full-speed devices behind a high-speed hub. Thus it requires a quirk so that we can manually drop the usb speed when low/full-speed are a

[RFC][PATCH 3/5] usb: dwc2: Force port resume on switching to device mode

2016-12-12 Thread John Stultz
From: Chen Yu We've seen failures when switching between host and gadget mode, which was diagnosed as being caused due to the bus being auto-suspended when we switched. So this patch forces a port resume when switching to device mode if the bus is suspended. Cc: Wei Xu Cc: Guodong Xu Cc: Amit

[GIT PULL] s390 patches for 4.10 merge window #1

2016-12-12 Thread Martin Schwidefsky
Hi Linus, please pull from the 'for-linus' branch of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git for-linus to receive the following updates: The main bulk of the s390 patches for the 4.10 merge window: * Add support for the contiguous memory allocator. * The recovery

[GIT PULL] xen: features and fixes for 4.10 rc0

2016-12-12 Thread Juergen Gross
Linus, Please git pull the following tag: git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip.git for-linus-4.10-rc0-tag xen: features and fixes for 4.10 rc0 These are some fixes, a move of some arm related headers to share them between arm and arm64 and a series introducing a helper to make

Re: [PATCH 0/4] UEFI: EFI_MEMORY_ATTRIBUTES_TABLE support for x86

2016-12-12 Thread joeyli
Hi Sai, On Wed, Dec 07, 2016 at 12:13:28PM -0800, Sai Praneeth Prakhya wrote: > On Wed, 2016-12-07 at 20:04 +, Matt Fleming wrote: > > On Wed, 07 Dec, at 11:01:06AM, Sai Praneeth Prakhya wrote: > > > > > > Thanks Matt! > > > > > > Would you like to see a new version of these patch series add

Re: CVE-2016-7097 causes acl leak

2016-12-12 Thread Cong Wang
On Mon, Dec 12, 2016 at 4:26 PM, Mark Salyzyn wrote: > > The leaks were introduced in 9p, gfs2, jfs and xfs drivers only. Only the 9p case is obvious to me: diff --git a/fs/9p/acl.c b/fs/9p/acl.c index b3c2cc7..082d227 100644 --- a/fs/9p/acl.c +++ b/fs/9p/acl.c @@ -277,6 +277,7 @@ static int v9

Re: [PATCH] SPCR: check bit width for the 16550 UART

2016-12-12 Thread Jon Masters
On 12/07/2016 10:23 AM, Mark Salter wrote: > On Tue, 2016-12-06 at 01:34 -0500, Jon Masters wrote: >> On 12/05/2016 10:55 PM, Duc Dang wrote: >>> On Mon, Dec 5, 2016 at 6:27 PM, Jon Masters wrote: HOWEVER while the console does come up, the use of "earlycon" on the command line (with n

Re: [PATCH 4/5] firmware: add SmPL report for custom fallback mechanism

2016-12-12 Thread Julia Lawall
On Mon, 12 Dec 2016, Luis R. Rodriguez wrote: > Even though most distributions today disable the fallback mechanism > by default we've determined that we cannot remove them from the kernel. > This is not well understood so document the reason and logic behind that. > > Recent discussions suggest

Re: [PATCH v3 1/4] pinctrl: aspeed: Read and write bits in LPC and GFX controllers

2016-12-12 Thread Andrew Jeffery
On Mon, 2016-12-12 at 10:27 -0600, Rob Herring wrote: > On Tue, Dec 06, 2016 at 02:11:49PM +1100, Andrew Jeffery wrote: > > The System Control Unit IP block in the Aspeed SoCs is typically where > > the pinmux configuration is found, but not always. A number of pins > > depend on state in one of LP

linux-next: Tree for Dec 13

2016-12-12 Thread Stephen Rothwell
Hi all, Please do not add any material for v4.11 to your linux-next included branches until after v4.10-rc1 has been released. Changes since 20161212: The hid tree lost its build failure. The spi tree lost its build failure. Non-merge commits (relative to Linus' tree): 8829 7664

[PATCH v2] btrfs: limit async_work allocation and worker func duration

2016-12-12 Thread Maxim Patlasov
Problem statement: unprivileged user who has read-write access to more than one btrfs subvolume may easily consume all kernel memory (eventually triggering oom-killer). Reproducer (./mkrmdir below essentially loops over mkdir/rmdir): [root@kteam1 ~]# cat prep.sh DEV=/dev/sdb mkfs.btrfs -f $DEV m

[PATCH v2] kasan: Support for r/w instrumentation control

2016-12-12 Thread Maninder Singh
This provide option to control sanity of read and write operations Both read and write instrumentation increase size of uImage, So using this option read or write instrumentation can be avoided if not required. Useful in case of module sanity, using this uImage sanity can be avoided. Also user spa

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

2016-12-12 Thread Wolfram Sang
On Mon, Dec 12, 2016 at 03:57:02PM -0800, Dmitry Torokhov wrote: > 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 w

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

2016-12-12 Thread Zhang Rui
Hi, Linus, Please pull from   git://git.kernel.org/pub/scm/linux/kernel/git/rzhang/linux.git next to receive the latest Thermal Management updates for v4.10-rc1 with top-most commit 0faf7dd5a947006978b549dfe29a01b710becf4a:   MAINTAINERS: Samsung: Update maintainer for PWM FAN and SAMSUNG THERMA

[PATCH RFC] [media] m5mols: add missing dependency on VIDEO_IR_I2C

2016-12-12 Thread Nicholas Mc Guire
SUBDRV_AUTOSELECT=y the "I2C module for IR" submenu (CONFIG_VIDEO_IR_I2C) is not displayed adding the VIDEO_IR_I2C to the dependency list makes this clear Q: should a patch like this carry a Fixes: tag ? Patch was tested against: x86_64_defconfig Patch is against 4.9.0 (localversion-next

DO YOU NEED A LOAN??

2016-12-12 Thread bancoleite
Are you in need of a loan? Apply for more details.

[PATCH] [media] m5mols: set usleep_range delta greater 0

2016-12-12 Thread Nicholas Mc Guire
MEDIA_CAMERA_SUPPORT=y, VIDEO_V4L2_SUBDEV_API, MEDIA_DIGITAL_TV-_SUPPORT=y MEDIA_RC_SUPPORT=y, MEDIA_CONTROLLER=y, VIDEO_V4L2_SUBDEV_API=y MEDIA_SUBDRV_AUTOSELECT=n, CONFIG_VIDEO_M5MOLS=m Patch is against 4.9.0 (localversion-next is next-20161212) drivers/media/i2c/m5mols/m5mols_core.c | 5 +++-- 1 file

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

2016-12-12 Thread Richard Guy Briggs
On 2016-12-12 15:18, Paul Moore wrote: > On Mon, Dec 12, 2016 at 5: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 wh

Re: [PATCH v3 6/6] mfd: dt: Move syscon bindings to syscon subdirectory

2016-12-12 Thread Andrew Jeffery
On Mon, 2016-12-12 at 09:39 -0600, Rob Herring wrote: > On Tue, Dec 06, 2016 at 01:53:21PM +1100, Andrew Jeffery wrote: > > The use of syscons is growing, lets collate them in their own part of > > the bindings tree. > > > > > > Signed-off-by: Andrew Jeffery > > --- > >  Documentation/devicetree/

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

2016-12-12 Thread Richard Guy Briggs
On 2016-12-12 12:10, Paul Moore wrote: > On Mon, Dec 12, 2016 at 5: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 wh

Re: [PATCH v3 4/6] mfd: dt: Add bindings for the Aspeed LPC Host Controller (LHC)

2016-12-12 Thread Andrew Jeffery
On Mon, 2016-12-12 at 09:30 -0600, Rob Herring wrote: > On Tue, Dec 06, 2016 at 01:53:19PM +1100, Andrew Jeffery wrote: > > The LPC bus pinmux configuration on fifth generation Aspeed SoCs depends > > on bits in both the System Control Unit and the LPC Host Controller. > > > > The Aspeed LPC Host

Re: [PATCH v5 2/2] mmc: sdhci-cadence: add Cadence SD4HC support

2016-12-12 Thread Masahiro Yamada
Hi Rob. 2016-12-13 2:14 GMT+09:00 Rob Herring : >> diff --git a/Documentation/devicetree/bindings/mmc/sdhci-cadence.txt >> b/Documentation/devicetree/bindings/mmc/sdhci-cadence.txt >> new file mode 100644 >> index 000..750374f >> --- /dev/null >> +++ b/Documentation/devicetree/bindings/mmc/sd

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

2016-12-12 Thread Doug Ledford
On 11/15/2016 1:10 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: [GIT pull] x86/cache: Updates for 4.10

2016-12-12 Thread Linus Torvalds
On Mon, Dec 12, 2016 at 1:53 AM, Thomas Gleixner wrote: > > This update provides the support for Intel Cache Allocation Technology, a > cache partitioning mechanism. Ugh, this is some funky stuff. And it's entirely x86-specific, with a rather odd special filesystem interface. It looks pretty sel

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

2016-12-12 Thread Boris Ostrovsky
Otherwise we may unexpectedly reference a non-zero node via, for example, acpi_get_node() while other parts of the kernel assume that only node 0 (which is what NUMA_NO_NODE is supposed to be converted to) is available. Signed-off-by: Boris Ostrovsky --- V2: * Drop __initdata from x86's numa_off

RE: [PATCH v2 9/9] NTB: Add ntb.h comments

2016-12-12 Thread Allen Hubbe
From: Serge Semin > > Signed-off-by: Serge Semin > > --- > include/linux/ntb.h | 17 +++-- > 1 file changed, 11 insertions(+), 6 deletions(-) > > diff --git a/include/linux/ntb.h b/include/linux/ntb.h > index fe0437c..c5a369c 100644 > --- a/include/linux/ntb.h > +++ b/include/linux

RE: [PATCH v2 7/9] NTB: Add new Memory Windows API documentation

2016-12-12 Thread Allen Hubbe
From: Serge Semin > Since the new API slightly changes the way a typical NTB client driver > works, the documentation file needs to be appropriately updated. > > Signed-off-by: Serge Semin Acked-by: Allen Hubbe > > --- > Documentation/ntb.txt | 99 > +

RE: [PATCH v2 8/9] NTB: Add PCIe Gen4 link speed

2016-12-12 Thread Allen Hubbe
From: Serge Semin > > Signed-off-by: Serge Semin Acked-by: Allen Hubbe > > --- > include/linux/ntb.h | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/include/linux/ntb.h b/include/linux/ntb.h > index 90746df..fe0437c 100644 > --- a/include/linux/ntb.h > +++ b/include/linux/ntb.h >

RE: [PATCH v2 6/9] NTB: Add Messaging NTB API

2016-12-12 Thread Allen Hubbe
From: Serge Semin > Some IDT NTB-capable PCIe-switches have message registers to communicate with > peer devices. This patch adds new NTB API callback methods, which can be used > to utilize these registers functionality: > ntb_msg_count(); - get number of message registers > ntb_msg_inbits(); -

RE: [PATCH v2 5/9] NTB: Alter Scratchpads API to support multi-ports devices

2016-12-12 Thread Allen Hubbe
From: Serge Semin > Even though there is no any real NTB hardware, which would have both more > than two ports and Scratchpad registers, it is logically correct to have > Scratchpad API accepting a peer port index as well. Intel/AMD drivers utilize > Primary and Secondary topology to split Scratch

RE: [PATCH v2 4/9] NTB: Alter MW API to support multi-ports devices

2016-12-12 Thread Allen Hubbe
From: Serge Semin > Multi-port NTB devices permit to share a memory between all accessible peers. > Memory Windows API is altered to correspondingly initialize and map memory > windows for such devices: > ntb_mw_count(pidx); - number of inbound memory windows, which can be > allocated > for share

RE: [PATCH v2 1/9] NTB: Make link-state API being declared first

2016-12-12 Thread Allen Hubbe
From: Serge Semin > Since link operations are usually performed before memory window access > operations, it's logically better to declared link-related API before any > other methods. Additionally it's good practice for readability to declare > NTB device callback methods of hadrware drivers with

RE: [PATCH v2 3/9] NTB: Alter link-state API to support multi-port devices

2016-12-12 Thread Allen Hubbe
From: Serge Semin > Multi-port devices permit the NTB connections between multiple domains, > so a local device can have NTB link being up with one peer and being > down with another. NTB link-state API is appropriately altered to return > a bitfield of the link-states between the local device and

RE: [PATCH v2 2/9] NTB: Add indexed ports NTB API

2016-12-12 Thread Allen Hubbe
From: Serge Semin > There are some NTB hardware, which can combine more than just two domains > over NTB. For instance, some IDT PCIe-switches can have NTB-functions > activated on more than two-ports. The different domains are distinguished > by ports they are connected to. So the new port-relate

Re: [PATCH 0/8] Sparse warning fixes in Lustre.

2016-12-12 Thread Oleg Drokin
On Dec 7, 2016, at 6:46 PM, Al Viro wrote: > On Wed, Dec 07, 2016 at 05:41:26PM -0500, Oleg Drokin wrote: >> This set of fixes aims at sparse warnings. > > Speaking of the stuff sparse catches there: class_process_proc_param(). > I've tried to describe what I think of that Fine Piece Of Software

RE: [RFC PATCH 0/4] KVM: Emulate UMIP (or almost do so)

2016-12-12 Thread Li, Liang Z
> UMIP (User-Mode Instruction Prevention) is a feature of future Intel > processors (Cannonlake?) that blocks SLDT, SGDT, STR, SIDT and SMSW from > user-mode processes. > > The idea here is to use virtualization intercepts to emulate UMIP; it slows > down the instructions when they're executed in

[PATCH V2] doc: add note on usleep_range range

2016-12-12 Thread Nicholas Mc Guire
worth noting in the documentation. Patch is against 4.9.0 (localversion-next is 20161212) Documentation/timers/timers-howto.txt | 7 +++ 1 file changed, 7 insertions(+) diff --git a/Documentation/timers/timers-howto.txt b/Documentation/timers/timers-howto.txt index 038f8c7..b5cdf82 100644

Re: arch/mips/vdso/elf.S:1:0: error: '-march=r3900' requires '-mfp32'

2016-12-12 Thread Ralf Baechle
On Sun, Dec 11, 2016 at 09:04:48AM +0800, kbuild test robot wrote: > FYI, the error/warning still remains. > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > master > head: 045169816b31b10faed984b01c390db1b32ee4c1 > commit: ebb5e78cc63417a35254a791de66e1cc84f963cc

[PATCH] doc: add note on usleep_range range

2016-12-12 Thread Nicholas Mc Guire
(localversion-next is 20161212) Documentation/timers/timers-howto.txt | 7 +++ 1 file changed, 7 insertions(+) diff --git a/Documentation/timers/timers-howto.txt b/Documentation/timers/timers-howto.txt index 038f8c7..b5cdf82 100644 --- a/Documentation/timers/timers-howto.txt +++ b/Documentation

Re: [PATCH 1/2] crypto: asymmetric_keys: set error code on failure

2016-12-12 Thread Herbert Xu
On Tue, Dec 13, 2016 at 08:53:11AM +1100, James Morris wrote: > On Mon, 12 Dec 2016, David Howells wrote: > > > From: Pan Bian > > > > In function public_key_verify_signature(), returns variable ret on > > error paths. When the call to kmalloc() fails, the value of ret is 0, > > and it is not se

regression, 4.8.10 -> 4.9.0 totally fail on NUMA machine, ACPI issue?

2016-12-12 Thread Denys Fedoryshchenko
Hi, Just attempted to upgrade from 4.8.10 to 4.9.10 with minimal kernel changes (oldconfig, but then attempted to add few options to solve problem (such as adding NR_CPUS and PCI options, didnt helped). My filesystem are residing on USB drive, and USB where flash are located is not working, so

Re: [PATCH v2 2/2] dt-bindings: Add DT bindings info for FlexRM ring manager

2016-12-12 Thread Anup Patel
On Fri, Dec 9, 2016 at 11:31 PM, Rob Herring wrote: > On Fri, Dec 02, 2016 at 10:08:56AM +0530, Anup Patel wrote: >> This patch adds device tree bindings document for the FlexRM >> ring manager found on Broadcom iProc SoCs. >> >> Reviewed-by: Ray Jui >> Reviewed-by: Scott Branden >> Signed-off-b

Re: [PATCH] crypto: Make a few drivers depend on !VMAP_STACK

2016-12-12 Thread Herbert Xu
On Mon, Dec 12, 2016 at 12:55:20PM -0800, Andy Lutomirski wrote: > Eric Biggers found several crypto drivers that point scatterlists at > the stack. These drivers should never load on x86, but, for future > safety, make them depend on !VMAP_STACK. > > No -stable backport should be needed as no re

Re: Remaining crypto API regressions with CONFIG_VMAP_STACK

2016-12-12 Thread Herbert Xu
On Mon, Dec 12, 2016 at 10:34:10AM -0800, Andy Lutomirski wrote: > > Here's my status. > > > drivers/crypto/bfin_crc.c:351 > > drivers/crypto/qce/sha.c:299 > > drivers/crypto/sahara.c:973,988 > > drivers/crypto/talitos.c:1910 > > drivers/crypto/qce/sha.c:325

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

2016-12-12 Thread Alex Williamson
On Tue, 13 Dec 2016 05:15:13 +0200 "Michael S. Tsirkin" wrote: > On Mon, Dec 12, 2016 at 03:43:13PM -0700, Alex Williamson wrote: > > > So just don't do it then. Topology must match between host and guest, > > > except maybe for the case of devices with host driver (e.g. PF) > > > which we might

Re: Remaining crypto API regressions with CONFIG_VMAP_STACK

2016-12-12 Thread Herbert Xu
On Mon, Dec 12, 2016 at 12:45:18PM -0600, Gary R Hook wrote: > 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-crypt

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

2016-12-12 Thread Herbert Xu
On Tue, Dec 13, 2016 at 12:05:19AM +0200, Michael S. Tsirkin wrote: > > > Sorry but it's too late for 4.10. It needed to have been in my > > tree before the merge window opened to make it for this cycle. > > Objections to me merging this? I'm preparing my tree right now. Sure feel free to merge

[PATCH] staging: Remove slicoss driver

2016-12-12 Thread Guenter Roeck
There is now a different driver for the slicoss devices in drivers/net/ethernet/alacritech/. That driver supports the same PCI device IDs as the driver in staging. Both drivers use the same configuration symbol (CONFIG_SLICOSS), which causes build failures for the staging driver. Presumably the dri

Re: [PATCH v6] pwm: add pwm driver for HiSilicon BVT SOCs

2016-12-12 Thread Jian Yuan
Hi, Thierry, Are there any issues with the PWM driver below. I would like to request some comment and advice form you, if you had reviewed the driver code. With best wishes, Jian Yuan On 2016/11/28 17:42, Jian Yuan wrote: > From: yuanjian > > Add PWM driver for the PWM controller found

Re: [PATCH] selftests: ftrace: Shift down default message verbosity

2016-12-12 Thread Masami Hiramatsu
Ping? On Fri, 25 Nov 2016 21:58:48 +0900 Masami Hiramatsu wrote: > Shift down default message verbosity, so that do not show > error results in stdout by default. Since that behavior > is same as giving --quiet option, this patch removes > --quiet and make --verbose increasing verbosity. > > In

Re: [PATCH 2/2] usb: host: xhci: Handle the right timeout command

2016-12-12 Thread Baolin Wang
Hi Mathias, On 12 December 2016 at 23:52, Mathias Nyman wrote: > On 05.12.2016 09:51, Baolin Wang wrote: >> >> If a command event is found on the event ring during an interrupt, >> we need to stop the command timer with del_timer(). Since del_timer() >> can fail if the timer is running and waitin

Re: [PATCH] Fix multiple definition error under lto

2016-12-12 Thread Eduardo Valentin
On Mon, Dec 12, 2016 at 11:45:06AM +0800, Zhang Rui wrote: > On Sat, 2016-11-26 at 17:25 -0500, Peter Foley wrote: > > drivers/thermal/built-in.o: In function `type_show.lto_priv.33': > > (.text+0x3d80): multiple definition of `type_show.lto_priv.33' > > drivers/base/built-in.o:(.text+0x2a40): firs

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

2016-12-12 Thread Michael S. Tsirkin
On Mon, Dec 12, 2016 at 03:43:13PM -0700, Alex Williamson wrote: > > So just don't do it then. Topology must match between host and guest, > > except maybe for the case of devices with host driver (e.g. PF) > > which we might be able to synchronize against. > > We're talking about host kernel lev

[PATCH 5/5] firmware: add DECLARE_FW_CUSTOM_FALLBACK() annotation

2016-12-12 Thread Luis R. Rodriguez
We need to ensure that when driver developers use the custom firmware fallback mechanism it was not a copy and paste bug. These use cases on upstream drivers are rare, we only have 2 upstream users and its for really old drivers. Since valid uses are rare but possible enable a white-list for its us

[PATCH 4/5] firmware: add SmPL report for custom fallback mechanism

2016-12-12 Thread Luis R. Rodriguez
Even though most distributions today disable the fallback mechanism by default we've determined that we cannot remove them from the kernel. This is not well understood so document the reason and logic behind that. Recent discussions suggest some future userspace development prospects which may ena

[PATCH 2/5] selftests: firmware: send expected errors to /dev/null

2016-12-12 Thread Luis R. Rodriguez
Error that we expect should not be spilled to stdout. Without this we get: ./fw_filesystem.sh: line 58: printf: write error: Invalid argument ./fw_filesystem.sh: line 63: printf: write error: No such device ./fw_filesystem.sh: line 69: echo: write error: No such file or directory ./fw_filesystem.

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

[PATCH 0/5] firmware: doc revamp

2016-12-12 Thread Luis R. Rodriguez
Greg, here's a few simple changes for documentation revamp and a few simple fixes for the firmware test script. I'm pretty sure this is too late for the next release so I am happy with this getting queued in until the merge window closes, posting now to iron out kinks once the merge window closes.

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

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

[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

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

[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

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_

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

[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

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

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

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

  1   2   3   4   5   6   7   8   >