Re: [PATCH v2 3/5] arm64: dts: Add ufs dts node

2017-06-18 Thread Guodong Xu
to > help improve the system] > It applies to: git://github.com/hisilicon/linux-hisi.git tags/hisi-arm64-dt-for-4.13-v2 > url: > https://github.com/0day-ci/linux/commits/Bu-Tao/scsi-ufs-add-ufs-driver-code-for-Hi3660-SoC/20170618-045141 > base: https://git.kernel.org/pub/scm/

Re: [PATCH 03/44] dmaengine: ioat: don't use DMA_ERROR_CODE

2017-06-18 Thread Christoph Hellwig
On Fri, Jun 16, 2017 at 01:40:24PM -0700, Alexander Duyck wrote: > dma_unmap_page on dest_dma if "op == IOAT_OP_XOR"? Odds are it is what > the compiler is already generating and will save a few lines of code > so what you end up with is something like: Honestly wanted to touch the code as little

Re: [PATCH 42/44] powerpc/cell: use the dma_supported method for ops switching

2017-06-18 Thread Christoph Hellwig
On Sun, Jun 18, 2017 at 06:50:27AM +1000, Benjamin Herrenschmidt wrote: > What is your rationale here ? (I have missed patch 0 it seems). Less code duplication, more modular dma_map_ops insteance. > dma_supported() was supposed to be pretty much a "const" function > simply informing whether a giv

Re: [RFC PATCH 1/2] mm: introduce bmap_walk()

2017-06-18 Thread Christoph Hellwig
On Sat, Jun 17, 2017 at 05:29:23AM -0700, Dan Williams wrote: > On Fri, Jun 16, 2017 at 10:22 PM, Christoph Hellwig wrote: > > On Fri, Jun 16, 2017 at 06:15:29PM -0700, Dan Williams wrote: > >> Refactor the core of generic_swapfile_activate() into bmap_walk() so > >> that it can be used by a new d

Re: [kernel-hardening] Re: [PATCH v4 06/13] iscsi: ensure RNG is seeded before use

2017-06-18 Thread Stephan Müller
Am Samstag, 17. Juni 2017, 05:45:57 CEST schrieb Lee Duncan: Hi Lee, > In your testing, how long might a process have to wait? Are we talking > seconds? Longer? What about timeouts? > In current kernels (starting with 4.8) this timeout should clear within a few seconds after boot. In older ker

Re: [PATCH v2 05/10] x86/mm: Rework lazy TLB mode and TLB freshness tracking

2017-06-18 Thread Nadav Amit
> On Jun 13, 2017, at 9:56 PM, Andy Lutomirski wrote: > > x86's lazy TLB mode used to be fairly weak -- it would switch to > init_mm the first time it tried to flush a lazy TLB. This meant an > unnecessary CR3 write and, if the flush was remote, an unnecessary > IPI. > > Rewrite it entirely.

Re: [RFC PATCH 2/2] mm, fs: daxfile, an interface for byte-addressable updates to pmem

2017-06-18 Thread Christoph Hellwig
On Sat, Jun 17, 2017 at 08:15:05PM -0700, Dan Williams wrote: > The hang up is that it requires per-fs enabling as it needs to be > careful to manage mmap_sem vs fs journal locks for example. I know the > in-development NOVA [1] filesystem is planning to support this out of > the gate. ext4 would b

Re: [PATCH v3 01/14] x86, uaccess: introduce copy_from_iter_flushcache for pmem / cache-bypass operations

2017-06-18 Thread Christoph Hellwig
On Fri, Jun 09, 2017 at 01:23:51PM -0700, Dan Williams wrote: > Implement a __copy_from_user_inatomic_flushcache, memcpy_page_flushcache, and > memcpy_flushcache, that guarantee that the destination buffer is not dirty in > the cpu cache on completion. The new copy_from_iter_flushcache and > sub-r

Re: [PATCH v3 02/14] dm: add ->copy_from_iter() dax operation support

2017-06-18 Thread Christoph Hellwig
> +size_t dax_copy_from_iter(struct dax_device *dax_dev, pgoff_t pgoff, void > *addr, > + size_t bytes, struct iov_iter *i) > +{ > + if (!dax_alive(dax_dev)) > + return 0; > + > + if (!dax_dev->ops->copy_from_iter) > + return copy_from_iter(addr, bytes,

Re: [PATCH v3 08/14] x86, dax, libnvdimm: move wb_cache_pmem() to libnvdimm

2017-06-18 Thread Christoph Hellwig
> +void clean_cache_range(void *addr, size_t size); > > static inline int > __copy_from_user_inatomic_nocache(void *dst, const void __user *src, > diff --git a/arch/x86/lib/usercopy_64.c b/arch/x86/lib/usercopy_64.c > index f42d2fd86ca3..baa80ff29da8 100644 > --- a/arch/x86/lib/usercopy_64.c >

Re: [PATCH v3 13/14] filesystem-dax: gate calls to dax_flush() on QUEUE_FLAG_WC

2017-06-18 Thread Christoph Hellwig
On Fri, Jun 09, 2017 at 01:24:56PM -0700, Dan Williams wrote: > Some platforms arrange for cpu caches to be flushed on power-fail. On > those platforms there is no requirement that the kernel track and flush > potentially dirty cache lines. Given that we still insert entries into > the radix for lo

[GIT pull] core fix for 4.12

2017-06-18 Thread Thomas Gleixner
Linus, please pull the latest core-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git core-urgent-for-linus A single fix which adds fortify_panic to the list of no return functions. Thanks, tglx --> Kees Cook (1): objtoo

[GIT pull] irq fix for 4.12

2017-06-18 Thread Thomas Gleixner
Linus, please pull the latest irq-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git irq-urgent-for-linus A fix, which adds a missing resource release to an error path. Thanks, tglx --> Heiner Kallweit (1): genirq: Relea

Re: sparc gcc 7.1 compile issue

2017-06-18 Thread Pavel Machek
Hi! > diff --git a/arch/sparc/include/asm/pgtable_32.h > b/arch/sparc/include/asm/pgtable_32.h > index ce6f569..cf19072 100644 > --- a/arch/sparc/include/asm/pgtable_32.h > +++ b/arch/sparc/include/asm/pgtable_32.h > @@ -91,9 +91,9 @@ extern unsigned long pfn_base; > * ZERO_PAGE is a global sha

[GIT pull] perf fixes for 4.12

2017-06-18 Thread Thomas Gleixner
Linus, please pull the latest perf-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git perf-urgent-for-linus Three fixes for the perf user space side: - Fix the probing of precise_ip level, which got broken recently for x86. - Unbreak the ARCH=x86_64

Re: [PATCH] ufs: Fix build errors on 32 bit machines

2017-06-18 Thread Guenter Roeck
On 06/17/2017 11:23 AM, Al Viro wrote: On Sat, Jun 17, 2017 at 10:35:13AM -0700, Guenter Roeck wrote: Various 32 builds fail with error messages such as ERROR: "__udivdi3" [fs/ufs/ufs.ko] undefined! due to a variable type change from 32 bit to 64 bit. Actually, that's not the only problem in

[GIT pull] timer fixes for 4.12

2017-06-18 Thread Thomas Gleixner
Linus, please pull the latest timers-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git timers-urgent-for-linus Three fixlets for timers: - Two hot-fixes for the alarmtimer based posix timers, which prevent a nasty DOS by self reschedulin

[patch v2 1/3] tty: add function to convert device name to number

2017-06-18 Thread Okash Khawaja
The function converts strings like ttyS0 and ttyUSB0 to dev_t like (4, 64) and (188, 0). It does this by scanning tty_drivers list for corresponding device name and index. If the driver is not registered, this function returns -ENODEV. It also acquires tty_mutex. Signed-off-by: Okash Khawaja ---

[patch v2 3/3] staging: speakup: make ttyio synths use device name

2017-06-18 Thread Okash Khawaja
This patch introduces new module parameter, dev, which takes a string representing the device that the external synth is connected to, e.g. ttyS0, ttyUSB0 etc. This is then used to communicate with the synth. That way, speakup can support more than ttyS*. As of this patch, it only supports ttyS*, t

[patch v2 0/3] staging: speakup: support more than ttyS*

2017-06-18 Thread Okash Khawaja
Hi, The patchset now contains a separate patch for dev name-to-number conversion functionality inside tty_io.c. These patches extend speakup support to ttyUSB* and lp*. They introduce a new module param dev whose function is similar to ser but instead of taking serial port number as argument, it

[patch v2 2/3] staging: speakup: check and convert dev name or ser to dev_t

2017-06-18 Thread Okash Khawaja
This patch adds functionality to validate and convert either a device name or 'ser' member of synth into dev_t. Subsequent patch in this set will call it to convert user-specified device into device number. For device name, this patch does some basic sanity checks on the string passed in. It curren

[GIT pull] x86 fixes for 4.12

2017-06-18 Thread Thomas Gleixner
Linus, please pull the latest x86-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-urgent-for-linus Two fixlets for x86: - Handle WARN_ONs proper with the new UD based WARN implementation - Disable 1G mappings when 2M mappings are disabl

Re: [PATCH 42/44] powerpc/cell: use the dma_supported method for ops switching

2017-06-18 Thread Benjamin Herrenschmidt
On Sun, 2017-06-18 at 00:13 -0700, Christoph Hellwig wrote: > On Sun, Jun 18, 2017 at 06:50:27AM +1000, Benjamin Herrenschmidt wrote: > > What is your rationale here ? (I have missed patch 0 it seems). > > Less code duplication, more modular dma_map_ops insteance. > > > dma_supported() was suppos

Re: [PATCH] kbuild: switch to thin archives

2017-06-18 Thread Pavel Machek
On Fri 2017-06-02 22:54:54, Nicholas Piggin wrote: > Switch from incremental build to thin archives for packaging built-in.o. > binutils version must be bumped to 2.20. Proposed patch for 4.13. > > Signed-off-by: Nicholas Piggin You should explain any advantage this is supposed to have.

Re: [PATCH 2/5] mtd: block2mtd: Add support for specifying MTD write size and subpage shift

2017-06-18 Thread Pavel Machek
Hi! > Am 02.06.2017 um 17:43 schrieb Pali Rohár: > > It is needed for creating emulated devices suitable for using in UBI > > layer > > and with UBIFS. > > Why? > >>> > >>> ubifs depends on write size of nand. And without those parameters as > >>> specified in cover let

Re: [PATCH 2/5] mtd: block2mtd: Add support for specifying MTD write size and subpage shift

2017-06-18 Thread Richard Weinberger
Pavel, Am 18.06.2017 um 12:06 schrieb Pavel Machek: > Hi! > >> Am 02.06.2017 um 17:43 schrieb Pali Rohár: >>> It is needed for creating emulated devices suitable for using in UBI >>> layer >>> and with UBIFS. >> >> Why? > > ubifs depends on write size of nand. And

Re: [PATCH 0/7] fujitsu-laptop: ACPI-related cleanups

2017-06-18 Thread Jonathan Woithe
Hi Michel On Fri, Jun 16, 2017 at 06:40:51AM +0200, Micha?? K??pie?? wrote: > In preparation for splitting fujitsu-laptop into two separate modules, I > prepared two more cleanup series to minimize the amount of code being > moved around. This first series contains all patches that touch ACPI in

Re: WARN_ON_ONCE() in process_one_work()?

2017-06-18 Thread Tejun Heo
Hello, On Sat, Jun 17, 2017 at 10:31:05AM -0700, Paul E. McKenney wrote: > On Sat, Jun 17, 2017 at 07:53:14AM -0400, Tejun Heo wrote: > > Hello, > > > > On Fri, Jun 16, 2017 at 10:36:58AM -0700, Paul E. McKenney wrote: > > > And no test failures from yesterday evening. So it looks like we get >

Re: [PATCH 06/31] cgroup-v2.txt: standardize document format

2017-06-18 Thread Tejun Heo
Hello, Andrew. Can you please apply Mauro's doc format update patch for cgroup-v2.txt? The mm part causes conflicts, so I think it'd be easier to route it through -mm. The patch to apply is in the following message. https://marc.info/?l=linux-cgroups&m=149771274105674&q=raw Thanks. -- tejun

Spende

2017-06-18 Thread Hamilton
Dies ist eine persönliche E-Mail, die an Sie gerichtet ist. Meine Namen sind Mary Hamilton, ich habe den Euro Million Jackpot von 13 Millionen Pfund im November 2014 gewonnen und ich habe gerade meine Charity Spende angefangen, indem ich eine Geldspende von $ 2.500.000,00 USD an drei (3) Gl

Re: [PATCH v3] ip6_tunnel: Correct tos value in collect_md mode

2017-06-18 Thread Peter Dawson
On Sat, 17 Jun 2017 11:38:05 +0800 Haishuang Yan wrote: > Same as ip_gre, geneve and vxlan, use key->tos as traffic class value. > > CC: Peter Dawson > Fixes: 0e9a709560db ("ip6_tunnel, ip6_gre: fix setting of DSCP on > encapsulated packets”) > Signed-off-by: Haishuang Yan > > --- > Changes s

Hi dear

2017-06-18 Thread Jack
Good day dear, i hope this mail meets you well? my name is Jack, from the U.S. I know this may seem inappropriate so i ask for your forgiveness but i wish to get to know you better, if I may be so bold. I consider myself an easy-going man, adventurous, honest and fun loving person but I am curre

LINUX 4.11.6. Leadtek - USB2.0 Winfast DTV dongle does not initialize correctly

2017-06-18 Thread CIJOML CIJOMLovic
Hello, after years of not using the dongle I wanted to use it. And I ended up like this. Previously dongle worked correctly. It is not broken I checked it in Windows. [ 22.050048] usb 3-1: new high-speed USB device number 3 using xhci_hcd [ 22.190321] usb 3-1: New USB device found, idVendor

Re: [PATCH] platform/x86: dell-laptop: Fix bogus keyboard backlight sysfs interface

2017-06-18 Thread Andy Shevchenko
On Fri, Jun 16, 2017 at 10:35 AM, Kai-Heng Feng wrote: > Dell Latitude 3160 does not have keyboard backlight, but there is a > sysfs interface for it, which does nothing at all. > > KBD_LED_OFF_TOKEN is the only token can be found. Since it doesn't have > KBD_LED_ON_TOKEN or KBD_LED_AUTO_*_TOKEN,

[PULL REQUEST] i2c for 4.12

2017-06-18 Thread Wolfram Sang
Linus, here is a pull request from I2C containing two driver bugfixes. Sorry for the Sunday pull request. I forgot to send it out on Friday. Thanks, Wolfram The following changes since commit 32c1431eea4881a6b17bd7c639315010aeefa452: Linux 4.12-rc5 (2017-06-11 16:48:20 -0700) are availa

[PATCH 1/3] ARM: dts: sunxi: add R_LRADC support for A83T

2017-06-18 Thread Ziping Chen
From: Ziping Chen The Allwinner A83T's R_LRADC is similiar with the Allwinner A10's LRADC, they can use the same driver. Add support for it. Signed-off-by: Ziping Chen --- arch/arm/boot/dts/sun8i-a83t.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-a83t

[PATCH 3/3] ARM: dts: sunxi: Add support for Sinlinx SinA83T board

2017-06-18 Thread Ziping Chen
From: Ziping Chen The Sinlinx SinA83T is an A83T core/daughter borad combo from Sinlinx. The board's wiki page: http://linux-sunxi.org/Sinlinx_SinA83T Add support for it. Signed-off-by: Ziping Chen --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/sun8i-a83t-sinl

[PATCH 2/3] ARM: dts: sunxi: add MMC support for A83T

2017-06-18 Thread Ziping Chen
From: Ziping Chen The Allwinner A83T's MMC can work with compatible "allwinner,sun7i-a20-mmc". Add support for it. Signed-off-by: Ziping Chen --- arch/arm/boot/dts/sun8i-a83t.dtsi | 69 +++ 1 file changed, 69 insertions(+) diff --git a/arch/arm/boot/dts/su

Re: [PATCH] i2c: xgene-slimpro: include linux/io.h for memremap

2017-06-18 Thread Wolfram Sang
On Thu, Jun 15, 2017 at 03:57:40PM +0200, Wolfram Sang wrote: > On Fri, Jun 09, 2017 at 12:29:12PM +0200, Arnd Bergmann wrote: > > The newly added support for the pcc mailbox fails to build > > in some configurations: > > > > drivers/i2c/busses/i2c-xgene-slimpro.c: In function > > 'xgene_slimpro_

[PATCH v5 0/4] USB Audio Gadget refactoring

2017-06-18 Thread Ruslan Bilovol
Hi Felipe, This is v5 of audio gadget refactoring. Note, that legacy f_uac1 function is broken since v4.10 by commit 7e4da3fcf7c9 ("usb: gadget: composite: Test get_alt() presence instead of set_alt()"). The fact that at v4.12-rc5 time nobody cares about may be a good sign that number of users is

[PATCH v5 2/4] usb: gadget: f_uac2: split out audio core

2017-06-18 Thread Ruslan Bilovol
Abstract the peripheral side ALSA sound card code from the f_uac2 function into a component that can be called by various functions, so the various flavors can be split apart and selectively reused. Visible changes: - add uac_params structure to pass audio paramteres for g_audio_setup - make

[PATCH v5 4/4] usb: gadget: add f_uac1 variant based on a new u_audio api

2017-06-18 Thread Ruslan Bilovol
This patch adds a new function 'f_uac1' (f_uac1 with virtual "ALSA card") that uses recently created u_audio API. Comparing to legacy f_uac1 function implementation it doesn't require any real Audio codec to be present on the device. In f_uac1 audio streams are simply sinked to and sourced from a v

[PATCH v5 3/4] usb: gadget: function: make current f_uac1 implementation legacy

2017-06-18 Thread Ruslan Bilovol
Before introducing new f_uac1 function (with virtual ALSA card) make current implementation legacy. This includes renaming of existing files, some variables, config options and documentation Signed-off-by: Ruslan Bilovol --- ...gadget-uac1 => configfs-usb-gadget-uac1_legacy} | 2 +- Documentat

[PATCH v5 1/4] usb: gadget: f_uac2: remove platform driver/device creation

2017-06-18 Thread Ruslan Bilovol
Simplify f_uac2 by removing platform driver/device creation; use composite's usb_gadget device as parent for sound card and for debug prints. This removes extra layer of code without any functional change. Signed-off-by: Ruslan Bilovol --- drivers/usb/gadget/function/f_uac2.c | 107 +

Re: [patch v2 1/3] tty: add function to convert device name to number

2017-06-18 Thread Andy Shevchenko
On Sun, Jun 18, 2017 at 11:58 AM, Okash Khawaja wrote: > The function converts strings like ttyS0 and ttyUSB0 to dev_t like > (4, 64) and (188, 0). It does this by scanning tty_drivers list for > corresponding device name and index. If the driver is not registered, > this function returns -ENODEV.

Re: [patch v2 2/3] staging: speakup: check and convert dev name or ser to dev_t

2017-06-18 Thread Andy Shevchenko
On Sun, Jun 18, 2017 at 11:58 AM, Okash Khawaja wrote: > This patch adds functionality to validate and convert either a device > name or 'ser' member of synth into dev_t. Subsequent patch in this set > will call it to convert user-specified device into device number. For > device name, this patch

Re: [patch v2 3/3] staging: speakup: make ttyio synths use device name

2017-06-18 Thread Andy Shevchenko
On Sun, Jun 18, 2017 at 11:58 AM, Okash Khawaja wrote: > This patch introduces new module parameter, dev, which takes a string > representing the device that the external synth is connected to, e.g. > ttyS0, ttyUSB0 etc. This is then used to communicate with the synth. > That way, speakup can supp

Re: [PATCH RESEND] i2c: add sc18is600 driver

2017-06-18 Thread Sebastian Reichel
Hi Andy, Thanks for your feedback. On Sat, Jun 17, 2017 at 09:13:32PM +0300, Andy Shevchenko wrote: > On Tue, Jun 13, 2017 at 6:47 PM, Sebastian Reichel wrote: > > This adds an I²C master driver for SPI -> I²C bus bridge chips. > > It currently supports NXP's SC18IS600 and SC18IS601, as well as

Re: [PATCH] dt-bindings: Add vendor prefix for Linksys

2017-06-18 Thread Rob Herring
On Fri, Jun 09, 2017 at 11:04:21AM +0200, Ralph Sennhauser wrote: > Linksys (http://www.linksys.com/us/) is a vendor of networking products > mostly for use by home and small business user. The brand is currently > owned by Belkin International, Inc. (http://www.belkin.com/us/). > > The vendor pre

Re: [PATCH 1/4] ARM: shmobile: Document Renesas H3-based Salvator-XS board DT bindings

2017-06-18 Thread Rob Herring
On Fri, Jun 09, 2017 at 01:43:46PM +0200, Geert Uytterhoeven wrote: > The Renesas Salvator-XS (Salvator-X 2nd version) development board can > be equipped with either an R-Car H3 ES2.0 or M3-W ES1.x SiP, which are > pin-compatible. > > Document board part number and compatible values for the versi

Re: [PATCH v2 1/3] dt-bindings: rng: add MediaTek MT7622 Hardware Random Generator bindings

2017-06-18 Thread Rob Herring
On Mon, Jun 12, 2017 at 11:56:54PM +0800, sean.w...@mediatek.com wrote: > From: Sean Wang > > Document the bindings used by MediaTek MT7622 SoC hardware random number > generator. > > Signed-off-by: Sean Wang > --- > Documentation/devicetree/bindings/rng/mtk-rng.txt | 4 +++- > 1 file changed,

Re: [PATCH 01/12] coresight replicator: Cleanup programmable replicator naming

2017-06-18 Thread Rob Herring
On Tue, Jun 13, 2017 at 10:55:28AM -0600, Mathieu Poirier wrote: > On Mon, Jun 12, 2017 at 03:36:40PM +0100, Suzuki K Poulose wrote: > > The Linux coresight drivers define the programmable ATB replicator as > > Qualcom replicator, while this is designed by ARM. This can cause confusion > > to a use

Re: [PATCH v2] mfd: Add driver for RAVE Supervisory Processor

2017-06-18 Thread Rob Herring
On Mon, Jun 12, 2017 at 06:23:58PM -0700, Andrey Smirnov wrote: > Add a driver for RAVE Supervisory Processor, an MCU implementing > varoius bits of housekeeping functionality (watchdoging, backlight > control, LED control, etc) on RAVE family of products by Zodiac > Inflight Innovations. > > This

Re: [PATCH V1 2/3] pinctrl: qcom: spmi-gpio: Add dtest route for digital input

2017-06-18 Thread Rob Herring
On Tue, Jun 13, 2017 at 02:16:04PM +0800, fengl...@codeaurora.org wrote: > From: Fenglin Wu > > Add property "qcom,dtest-buffer" to specify which dtest rail to feed > when the pin is configured as a digital input. > > Signed-off-by: Fenglin Wu > --- > .../devicetree/bindings/pinctrl/qcom,pmic-

Re: [PATCH v6 1/3] PCI: Add DT binding for tango PCIe controller

2017-06-18 Thread Rob Herring
On Tue, Jun 13, 2017 at 03:51:32PM +0200, Marc Gonzalez wrote: > Binding for the Sigma Designs SMP8759 SoC. > > Signed-off-by: Marc Gonzalez > --- > Changes from v5 to v6 > o Delete links to elinux.org > o Use explicit hex numbers instead of symbolic constants for sizes (in the > example) > o Ad

Re: [PATCH V4 1/3] dt-bindings: watchdog: add description for UniPhier WDT controller

2017-06-18 Thread Rob Herring
On Wed, Jun 14, 2017 at 04:53:43PM +0900, Keiji Hayashibara wrote: > Add uniphier-wdt dt-bindings documentation. > > Signed-off-by: Keiji Hayashibara > --- > .../devicetree/bindings/watchdog/uniphier-wdt.txt| 20 > > 1 file changed, 20 insertions(+) > create mode 10064

Re: [PATCH] dt-bindings: display: sunxi: Improve endpoint ID scheme readability

2017-06-18 Thread Rob Herring
On Wed, Jun 14, 2017 at 02:30:16PM +0800, Chen-Yu Tsai wrote: > The explanation for the endpoint ID numbering scheme is convoluted > and hard to understand. > > This patch aims to improve the readability of it by combining the > existing two paragraphs, while also providing a diagram example, > an

Re: [PATCH v1 1/2] ASoC: rockchip: add support for pdm controller

2017-06-18 Thread Rob Herring
On Tue, Jun 13, 2017 at 03:27:46PM +0800, Sugar Zhang wrote: > The Pulse Density Modulation Interface Controller (PDMC) is > a PDM interface controller and decoder that support PDM format. > It integrates a clock generator driving the PDM microphone > and embeds filters which decimate the incoming

Re: [PATCH v2] Documentation: clock: address more for clock-cells property

2017-06-18 Thread Rob Herring
On Wed, Jun 14, 2017 at 06:11:37PM +0800, Chunyan Zhang wrote: > Hi Geert, > > On 14 June 2017 at 17:42, Geert Uytterhoeven wrote: > > Hi Chunyan, > > > > On Wed, Jun 14, 2017 at 11:21 AM, Chunyan Zhang > > wrote: > >> The value of property 'clock-cells' is not determined only by the number > >>

Re: [PATCH v3 2/3] dt-bindings: spi/rockchip: add "cs-gpios" optional property

2017-06-18 Thread Rob Herring
On Wed, Jun 14, 2017 at 11:38:02AM +0800, Jeffy Chen wrote: > Update document devicetree bindings to support "cs-gpios" property. > > Signed-off-by: Jeffy Chen > --- > > Changes in v3: None > Changes in v2: None > > Documentation/devicetree/bindings/spi/spi-rockchip.txt | 2 ++ > 1 file change

Re: [PATCH v2 1/2] dt/bindings: Add bindings for Broadcom STB DRAM Sensors

2017-06-18 Thread Rob Herring
On Tue, Jun 13, 2017 at 03:37:09PM -0700, Markus Mayer wrote: > From: Markus Mayer > > Provide bindings for the Broadcom STB DDR PHY Front End (DPFE). > > Signed-off-by: Markus Mayer > --- > .../devicetree/bindings/soc/bcm/brcm,dpfe-cpu.txt | 27 > ++ > 1 file changed, 27

[PATCH] rt_mutex: don't initialize lockdep when not required

2017-06-18 Thread Levin, Alexander (Sasha Levin)
pi_mutex isn't supposed to be tracked by lockdep, but just passing NULLs for name and key will cause lockdep to spew a warning and die, which is not what we want it to do. Skip lockdep initialization if the caller passed NULLs for name and key, suggesting such initialization isn't desired. Fixes:

Re: [PATCH] of: update ePAPR references to point to Devicetree Specification

2017-06-18 Thread Rob Herring
On Tue, Jun 13, 2017 at 07:49:04PM -0700, frowand.l...@gmail.com wrote: > From: Frank Rowand > > The Devicetree Specification has superseded the ePAPR as the > base specification for bindings. Update files in Documentation > to reference the new document. > > Some files are not updated because

Re: [PATCH v5 1/4] dt-bindings: serial: Add bindings for the Amlogic Meson UARTs

2017-06-18 Thread Rob Herring
On Wed, Jun 14, 2017 at 10:29:14AM +0200, Neil Armstrong wrote: > From: Helmut Klein > > Add the documentation for the device tree binding of Amlogic Meson Serial > UART. > > Signed-off-by: Helmut Klein > Signed-off-by: Neil Armstrong > --- > .../bindings/serial/amlogic,meson-uart.txt

Re: [PATCH] dt-bindings: usb: exynos-usb: Add missing required VDD properties

2017-06-18 Thread Rob Herring
On Tue, Jun 13, 2017 at 06:29:25PM +0200, Krzysztof Kozlowski wrote: > Since commit bd8ce544ec35 ("usb: dwc3: exynos: Make provision for vdd > regulators") vdd33-supply and vdd10-supply are required so document them > in bindings. > > Signed-off-by: Krzysztof Kozlowski > --- > Documentation/devi

Re: [PATCH v1 1/2] dt-binding: ptp: add bindings document for dte based ptp clock

2017-06-18 Thread Rob Herring
On Mon, Jun 12, 2017 at 01:26:00PM -0700, Arun Parameswaran wrote: > Add device tree binding documentation for the Broadcom DTE > PTP clock driver. > > Signed-off-by: Arun Parameswaran > --- > Documentation/devicetree/bindings/ptp/brcm,ptp-dte.txt | 13 + > 1 file changed, 13 inserti

Re: [PATCH v2 2/4] dt-bindings: Add Broadcom STB USB PHY binding document

2017-06-18 Thread Rob Herring
On Tue, Jun 13, 2017 at 10:55:19AM -0400, Al Cooper wrote: > From: Al Cooper > > Add DT bindings document for Broadcom STB USB PHYs > > Signed-off-by: Al Cooper > --- > .../bindings/phy/brcm,brcmstb-usb-phy.txt | 42 > ++ > 1 file changed, 42 insertions(+) > crea

Re: [PATCH 1/3] dt-bindings: iio: humidity: add bindings for HDC100x sensors

2017-06-18 Thread Rob Herring
On Mon, Jun 12, 2017 at 09:49:08AM -0500, Michael Stecklein wrote: > Add the bindings for the family of HDC100x sensors. > > Signed-off-by: Michael Stecklein > --- > .../devicetree/bindings/iio/humidity/hdc100x.txt | 16 > > 1 file changed, 16 insertions(+) > create mo

Re: [PATCH V1 1/3] pinctrl: qcom: spmi-gpio: Add support for GPIO LV/MV subtype

2017-06-18 Thread Rob Herring
On Tue, Jun 13, 2017 at 02:16:03PM +0800, fengl...@codeaurora.org wrote: > From: Fenglin Wu > > GPIO LV (low voltage)/MV (medium voltage) subtypes have different > features and register mappings than 4CH/8CH subtypes. Add support > for LV and MV subtypes. > > Signed-off-by: Fenglin Wu > --- >

Re: [PATCH v4 4/6] regulator: pfuze100: add fsl,pmic-stby-poweroff property

2017-06-18 Thread Rob Herring
On Fri, Jun 09, 2017 at 04:07:37PM +0200, Oleksij Rempel wrote: > Document the new optional "fsl,pmic-stby-poweroff" property. > > Signed-off-by: Oleksij Rempel > --- > Documentation/devicetree/bindings/regulator/pfuze100.txt | 7 +++ > 1 file changed, 7 insertions(+) Acked-by: Rob Herring

Re: [PATCH 1/4] i2c: pca-platform: add devicetree awareness

2017-06-18 Thread Rob Herring
On Tue, Jun 13, 2017 at 01:56:38PM +1200, Chris Packham wrote: > Allow devices that use this driver to be registered via a > devicetree. > > Signed-off-by: Chris Packham > --- > .../devicetree/bindings/i2c/i2c-pca-platform.txt| 18 ++ It's preferred to split bindings to separ

Re: [PATCH RESEND] i2c: add sc18is600 driver

2017-06-18 Thread Andy Shevchenko
On Sun, Jun 18, 2017 at 5:02 PM, Sebastian Reichel wrote: > Thanks for your feedback. You're welcome! > On Sat, Jun 17, 2017 at 09:13:32PM +0300, Andy Shevchenko wrote: >> On Tue, Jun 13, 2017 at 6:47 PM, Sebastian Reichel wrote: >> > + snprintf(dev->adapter.name, sizeof(dev->adapter.na

[PATCH 4/4] perf ftrace: Add -D option for depth filter

2017-06-18 Thread Namhyung Kim
The -D/--graph-depth option is to set max graph depth. The following example traces max 2-depth of page fault handler. $ sudo perf ftrace -G __do_page_fault -D 2 -- hello ... 0) | __do_page_fault() { 0) 0.063 us|down_read_trylock(); 0) 0.251 us|fin

[PATCH 1/4] perf ftrace: Show error message when fails to set ftrace files

2017-06-18 Thread Namhyung Kim
It'd be better for debugging to show an error message when it fails to setup ftrace for some reason. Cc: Steven Rostedt Cc: Frederic Weisbecker Signed-off-by: Namhyung Kim --- tools/perf/builtin-ftrace.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tools/perf/buil

[PATCH 2/4] perf ftrace: Move setup_pager before opening trace_pipe

2017-06-18 Thread Namhyung Kim
The perf ftrace fails to reset tracer after finish the recording like below: $ sudo perf ftrace -v hello write 'nop' to tracing/current_tracer failed: Device or resource busy ... This is because the trace_pipe file is open in pager process. Move the pager setup before opening the file. Cc

[PATCH 3/4] perf ftrace: Add option for function filtering

2017-06-18 Thread Namhyung Kim
The -T/--trace-funcs and -N/--notrace-funcs options are to specify functions to enable/disable tracing dynamically. The -G/--graph-funcs and -g/--nograph-funcs options are to set filters for function graph tracer. For example, to trace fault handling functions only: $ sudo perf ftrace -T *faul

Re: [PATCH V2 net-next 2/8] net: hns3: Add support of the HNAE3 framework

2017-06-18 Thread Andrew Lunn
On Wed, Jun 14, 2017 at 12:10:29AM +0100, Salil Mehta wrote: > This patch adds the support of the HNAE3 (Hisilicon Network > Acceleration Engine 3) framework support to the HNS3 driver. > > Framework facilitates clients like ENET(HNS3 Ethernet Driver), RoCE > and user-space Ethernet drivers (like

Re: [PATCH V3 net-next 2/8] net: hns3: Add support of the HNAE3 framework

2017-06-18 Thread Andrew Lunn
> +static int __init hnae3_init(void) > +{ > + return 0; > +} > + > +static void __exit hnae3_exit(void) > +{ > +} > + > +module_init(hnae3_init); > +module_exit(hnae3_exit); I think init and exit functions are optional. Since your's don't do anything useful, please try without them.

Re: [PATCH 0/2] Two fixes for loop devices

2017-06-18 Thread Jens Axboe
On 06/17/2017 10:33 PM, NeilBrown wrote: > On Fri, Jun 16 2017, Jens Axboe wrote: > >> On 06/15/2017 11:02 PM, NeilBrown wrote: >>> Hi Jens, >>> one of these is a resend of a patch I sent a while back. >>> The other is new - loop closes files differently from close() >>> and in a way that can c

Re: [PATCH RESEND] i2c: add sc18is600 driver

2017-06-18 Thread Wolfram Sang
> + switch (dev->state) { > + case SC18IS600_STAT_OK: > + break; > + case SC18IS600_STAT_NAK_ADDR: > + return -EIO; > + case SC18IS600_STAT_NAK_DATA: > + return -EREMOTEIO; > + case SC18IS600_STAT_SIZE: > + return -EINVAL; > +

[PATCH] pptp: Remove unused variable in pptp_release()

2017-06-18 Thread Christos Gkekas
Variable opt in pptp_release() is set but never used, thus needs to be removed. Signed-off-by: Christos Gkekas --- drivers/net/ppp/pptp.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/net/ppp/pptp.c b/drivers/net/ppp/pptp.c index 1951b10..5b0fd89 100644 --- a/drivers/net/ppp/pptp.

Re: [kernel-hardening] Re: [PATCH v4 13/13] random: warn when kernel uses unseeded randomness

2017-06-18 Thread Theodore Ts'o
On Thu, Jun 15, 2017 at 01:59:43PM +0200, Stephan Müller wrote: > I would think that the issue regarding the logging is relevant for > cryptographic use cases or use cases requiring strong random numbers only. > Only those use cases should be fixed eventually to wait for a fully seeded > DRNG. >

Re: [PATCH V3 net-next 1/8] net: hns3: Add support of HNS3 Ethernet Driver for hip08 SoC

2017-06-18 Thread Bo Yu
Hi, On Sat, Jun 17, 2017 at 06:24:24PM +0100, Salil Mehta wrote: +static int hns3_fill_desc(struct hns3_enet_ring *ring, void *priv, + int size, dma_addr_t dma, int frag_end, + enum hns_desc_type type) +{ + struct hns3_desc_cb *desc_cb = &ring

Re: [PATCH V3 net-next 2/8] net: hns3: Add support of the HNAE3 framework

2017-06-18 Thread Bo Yu
Hi, On Sat, Jun 17, 2017 at 06:24:25PM +0100, Salil Mehta wrote: + * Unregister client from ae_dev + * start() + * Enable the hardware + * stop() + * Disable the hardware + * get_status() + * Get the carrier state of the back channel of the handle, 1 for ok, 0 for + * non-ok + * get_kse

Re: [PATCH V3 net-next 5/8] net: hns3: Add support of TX Scheduler & Shaper to HNS3 driver

2017-06-18 Thread Richard Cochran
On Sat, Jun 17, 2017 at 06:24:28PM +0100, Salil Mehta wrote: > + > +int hclge_tm_schd_init(struct hclge_dev *hdev); > +int hclge_tm_setup_tc(struct hclge_dev *hdev); The definition of this function DNE. > +int hclge_pause_setup_hw(struct hclge_dev *hdev); > + > +#endif > -- > 2.7.4 Thanks, Rich

Re: [PATCH v3 2/4] dt: bindings: Add bindings for bcm2835-aux-intc

2017-06-18 Thread Stefan Wahren
Hi Phil, > Phil Elwell hat am 14. Juni 2017 um 18:29 geschrieben: > > > Add bindings documentation for brcm,bcm2835-aux-intc and human-readable > declarations for the BCM2835 AUX IRQs. > > Signed-off-by: Phil Elwell > Reviewed-by: Florian Fainelli > --- > .../interrupt-controller/brcm,bcm28

Re: [PATCH V3 net-next 1/8] net: hns3: Add support of HNS3 Ethernet Driver for hip08 SoC

2017-06-18 Thread Bo Yu
Hi, On Sat, Jun 17, 2017 at 06:24:24PM +0100, Salil Mehta wrote: + struct notifier_block notifier_block; + /* Vxlan/Geneve information */ + struct hns3_udp_tunnel udp_tnl[HNS3_UDP_TNL_MAX]; +}; + +/* the distance between [begin, end) in a ring buffer + * note: there is a unuse s

[patch-rt] rtmutex: Fix lock stealing logic

2017-06-18 Thread Mike Galbraith
1. When trying to acquire an rtmutex, we first try to grab it without queueing the waiter, and explicitly check for that initial attempt in the !waiter path of __try_to_take_rt_mutex(). Checking whether the lock taker is top waiter before allowing a steal attempt in that path is a thinko: the loc

Re: [patch v2 2/3] staging: speakup: check and convert dev name or ser to dev_t

2017-06-18 Thread Okash Khawaja
Hi, Thanks for the reviews. Couple of things inlined below. On Sun, Jun 18, 2017 at 04:35:21PM +0300, Andy Shevchenko wrote: > > > +const char *lp_supported[] = { "acntsa", "bns", "dummy", "txprt" }; > > static ? Sure! > > + if (ser < 0 || ser > (255 - 64)) { > > > +pr_e

Re: [PATCH v3 4/4] dt-bindings: media: Document Synopsys Designware HDMI RX

2017-06-18 Thread Sylwester Nawrocki
Hi Jose, On 06/16/2017 06:38 PM, Jose Abreu wrote: > Document the bindings for the Synopsys Designware HDMI RX. > > Signed-off-by: Jose Abreu > new file mode 100644 > index 000..d30cc1e > --- /dev/null > +++ b/Documentation/devicetree/bindings/media/snps,dw-hdmi-rx.txt > @@ -0,0 +1,45 @@ >

Re: [kernel-hardening] Re: [PATCH v4 13/13] random: warn when kernel uses unseeded randomness

2017-06-18 Thread Stephan Müller
Am Sonntag, 18. Juni 2017, 17:46:25 CEST schrieb Theodore Ts'o: Hi Theodore, > > IMHO, users using the get_random_u64 or get_random_u32 are use cases that > > do not require a fully seeded DRNG thus do not need a cryptographically > > strong random number. Hence, I would think that the logging sh

Re: [PATCH v3 2/4] [media] platform: Add Synopsys Designware HDMI RX Controller Driver

2017-06-18 Thread Sylwester Nawrocki
On 06/16/2017 06:38 PM, Jose Abreu wrote: > This is an initial submission for the Synopsys Designware HDMI RX > Controller Driver. This driver interacts with a phy driver so that > a communication between them is created and a video pipeline is > configured. > > The controller + phy pipeline can t

Re: [Qemu-devel] [RFH] qemu-2.6 memory corruption with OVMF and linux-4.9

2017-06-18 Thread Philipp Hahn
Hello, Am 17.06.2017 um 18:51 schrieb Laszlo Ersek: > (I also recommend using the "vbindiff" tool for such problems, it is > great for picking out patterns.) > > ** ** ** ** ** ** ** ** 8 9 ** ** ** 13 14 15 > -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- > 01

Re: [PATCH 00/13] block: assorted cleanup for bio splitting and cloning.

2017-06-18 Thread Jens Axboe
On Sun, Jun 18 2017, NeilBrown wrote: > This is a resend of my series of patches working > towards removing the bioset work queues. > > This set is based on for-4.13/block. > > It incorporates the revised versions of all the patches that were > resent following feedback on the last set. > > It a

[PATCH V5 0/2] powerpc/dlpar: Correct display of hot-add/hot-remove CPUs and memory

2017-06-18 Thread Michael Bringmann
On Power systems with shared configurations of CPUs and memory, there are some issues with association of additional CPUs and memory to nodes when hot-adding resources. These patches address some of those problems. powerpc/hotplug: On systems like PowerPC which allow 'hot-add' of CPU or memory re

Re: [PATCH v4 01/28] dt-bindings: Add vendor prefix for Actions Semi

2017-06-18 Thread Andreas Färber
Am 06.06.2017 um 02:53 schrieb Andreas Färber: > Actions Semiconductor was listed on NASDAQ as ACTS until Dec 16, 2016. > > Cc: mp...@actions-semi.com > Acked-by: Rob Herring > Signed-off-by: Andreas Färber > --- > v3 -> v4: Unchanged > > v2 -> v3: > * Fixed sort order after rename > > v

Re: [PATCH] parport_serial: Add support for WCH CH382L PCI-E single parallel port card.

2017-06-18 Thread Alexander Gerasiov
Hello Andy, While preparing the update I suddenly found, that parport_serial.c is not the right place for this card. Since there is no serial ports on the board, it would be better to put it into parport_pc.c So I'll resubmit the patch right after I get access to the hardware to check, that I did

[PATCH V5 2/2] powerpc/numa: Update CPU topology when VPHN enabled

2017-06-18 Thread Michael Bringmann
powerpc/numa: Correct the currently broken capability to set the topology for shared CPUs in LPARs. At boot time for shared CPU lpars, the topology for each shared CPU is set to node zero, however, this is now updated correctly using the Virtual Processor Home Node (VPHN) capabilities information

Re: [PATCH v4 02/28] dt-bindings: arm: Document Actions Semi S500

2017-06-18 Thread Andreas Färber
Am 06.06.2017 um 02:54 schrieb Andreas Färber: > The Actions Semi S500 is a quad-core ARM Cortex-A9 SoC. > The LeMaker Guitar is an SODIMM-format module with that SoC. > > Acked-by: Rob Herring > Signed-off-by: Andreas Färber > --- > v2 -> v3 -> v4: unchanged > > v1 -> v2: > * Adopted "acti

[PATCH] MAINTAINERS: fix major alpha ordering

2017-06-18 Thread Randy Dunlap
From: Randy Dunlap Fix major alphabetic errors. No attempt to fix items that all begin with the same word (like ARM, BROADCOM, DRM, EDAC, FREESCALE, INTEL, OMAP, PCI, SAMSUNG, TI, USB, etc.). (diffstat +/- is different by one line because TI KEYSTONE MULTICORE had 2 blank lines after it.) Signe

  1   2   3   4   >