[PATCH v6 4/5] ARM: dts: stm32: Add I2C1 support for STM32429 eval board

2016-12-12 Thread M'boumba Cedric Madianga
Signed-off-by: M'boumba Cedric Madianga --- arch/arm/boot/dts/stm32429i-eval.dts | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/stm32429i-eval.dts b/arch/arm/boot/dts/stm32429i-eval.dts index afb90bc..74e0045 100644 --- a/arch/arm/boot/dts/stm32429i-eval.dts +++ b/ar

[PATCH v6 3/5] ARM: dts: stm32: Add I2C1 support for STM32F429 SoC

2016-12-12 Thread M'boumba Cedric Madianga
Signed-off-by: Patrice Chotard Signed-off-by: M'boumba Cedric Madianga --- arch/arm/boot/dts/stm32f429.dtsi | 23 +++ 1 file changed, 23 insertions(+) diff --git a/arch/arm/boot/dts/stm32f429.dtsi b/arch/arm/boot/dts/stm32f429.dtsi index 7de52ee..cbdece7 100644 --- a/arch/ar

[PATCH v6 5/5] ARM: configs: stm32: Add I2C support for STM32 defconfig

2016-12-12 Thread M'boumba Cedric Madianga
Signed-off-by: M'boumba Cedric Madianga --- arch/arm/configs/stm32_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/configs/stm32_defconfig b/arch/arm/configs/stm32_defconfig index e7b56d4..9494eaf 100644 --- a/arch/arm/configs/stm32_defconfig +++ b/arch/arm/configs/stm32

[PATCH v6 1/5] dt-bindings: Document the STM32 I2C bindings

2016-12-12 Thread M'boumba Cedric Madianga
This patch adds documentation of device tree bindings for the STM32 I2C controller. Signed-off-by: M'boumba Cedric Madianga Acked-by: Rob Herring --- .../devicetree/bindings/i2c/i2c-stm32.txt | 33 ++ 1 file changed, 33 insertions(+) create mode 100644 Documentatio

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

2016-12-12 Thread David Howells
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 set to an errno before returning. This patch fixes the bug. Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=188891 Signed-o

[PATCH 2/2] sign-file: Fix inplace signing when src and dst names are both specified

2016-12-12 Thread David Howells
From: Alex Yashchenko When src and dst both are specified and they point to the same file the sign-file utility will write only signature to the dst file and the module (.ko file) body will not be written. That happens because we open the same file with "rb" and "wb" flags, from fopen man: w

RE: Misalignment, MIPS, and ip_hdr(skb)->version

2016-12-12 Thread David Laight
From: Måns Rullgård > Sent: 10 December 2016 13:25 ... > I solved this problem in an Ethernet driver by copying the initial part > of the packet to an aligned skb and appending the remainder using > skb_add_rx_frag(). The kernel network stack only cares about the > headers, so the alignment of the

Re: [PATCH v9] mtd: spi-nor: Add support for S3AN spi-nor devices

2016-12-12 Thread Ricardo Ribalda Delgado
Hi Marek Can I get a Reviewed-by or Signed-of? Thanks! On Fri, Dec 2, 2016 at 12:31 PM, Ricardo Ribalda Delgado wrote: > Xilinx Spartan-3AN FPGAs contain an In-System Flash where they keep > their configuration data and (optionally) some user data. > > The protocol of this flash follows most of

Re: [PATCH 2/2] FPGA: Add TS-7300 FPGA manager

2016-12-12 Thread Florian Fainelli
On 12/12/2016 08:01 AM, Alan Tull wrote: > On Sun, 11 Dec 2016, Florian Fainelli wrote: > >> Add support for loading bitstreams on the Altera Cyclone II FPGA >> populated on the TS-7300 board. This is done through the configuration >> and data registers offered through a memory interface between t

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

2016-12-12 Thread Rob Herring
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 LPC Host Control (LHC) or SoC Display > Controller (GFX) IP bloc

Re: [PATCH 1/2] net: ethernet: hisi_femac: Call SET_NETDEV_DEV()

2016-12-12 Thread Florian Fainelli
On 12/12/2016 04:03 AM, Dongpo Li wrote: > The hisi_femac driver calls into PHYLIB which now checks for > net_device->dev.parent, so make sure we do set it before calling into > any MDIO/PHYLIB related function. > > Fixes: ec988ad78ed6 ("phy: Don't increment MDIO bus refcount unless it's a > diff

Re: [PATCH 2/2] net: ethernet: hip04: Call SET_NETDEV_DEV()

2016-12-12 Thread Florian Fainelli
On 12/12/2016 04:03 AM, Dongpo Li wrote: > The hip04 driver calls into PHYLIB which now checks for > net_device->dev.parent, so make sure we do set it before calling into > any MDIO/PHYLIB related function. > > Fixes: ec988ad78ed6 ("phy: Don't increment MDIO bus refcount unless it's a > different

Re: [PATCH 0/2] net: ethernet: hisilicon: set dev->dev.parent before PHY connect

2016-12-12 Thread Florian Fainelli
On 12/12/2016 04:03 AM, Dongpo Li wrote: > This patch series builds atop: > ec988ad78ed6d184a7f4ca6b8e962b0e8f1de461 ("phy: Don't increment MDIO bus > refcount unless it's a different owner") > > I have checked all the hisilicon ethernet driver and found only two drivers > need to be fixed to make

Re: [PATCH v1] KVM: x86: avoid redundant REQ_EVENT

2016-12-12 Thread Radim Krčmář
2016-12-12 17:02+0300, Denis Plotnikov: > When processing KVM_REQ_EVENT, apic_update_ppr is called which may set > KVM_REQ_EVENT again if the recalculated value of PPR becomes smaller > than the previous one. This results in cancelling the guest entry and > reiterating in vcpu_enter_guest. > > How

Re: ATH9 driver issues on ARM64

2016-12-12 Thread Bjorn Helgaas
On Sat, Dec 10, 2016 at 02:40:48PM +, Bharat Kumar Gogada wrote: > Hi, > > After taking some more lecroy traces, we see that after 2nd ASSERT from EP on > ARM64 we see continuous data movement of 32 dwords or 12 dwords and never > sign of DEASSERT. > Comparatively on working traces (x86) aft

Re: Misalignment, MIPS, and ip_hdr(skb)->version

2016-12-12 Thread Måns Rullgård
David Laight writes: > From: Måns Rullgård >> Sent: 10 December 2016 13:25 > ... >> I solved this problem in an Ethernet driver by copying the initial part >> of the packet to an aligned skb and appending the remainder using >> skb_add_rx_frag(). The kernel network stack only cares about the >>

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

2016-12-12 Thread Petr Mladek
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() and up_console_sem() > > Note that this solution a

Re: [PATCH v2 3/5] staging: lustre: headers: sort headers affected by obdo move

2016-12-12 Thread Greg Kroah-Hartman
A: Top-posting. Q: What is the most annoying thing in e-mail? A: No. Q: Should I include quotations after my reply? http://daringfireball.net/2007/07/on_top On Mon, Dec 12, 2016 at 02:42:29PM +, Ben Evans wrote: > This was done to conform to the Lustre Coding Guidelines. What is this mythic

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

2016-12-12 Thread Guenter Roeck
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 hwmon: Acked-by: Guenter Roeck I'll assume for now that the patch will be

Re: [PATCH v2 2/2] ASoC: atmel: tse850: rely on the ssc to register as a cpu dai by itself

2016-12-12 Thread Rob Herring
On Tue, Dec 06, 2016 at 08:22:37PM +0100, Peter Rosin wrote: > This breaks devicetree compatibility, but in this case that is ok. All > affected units are either on my desk, or running an even older version > of the driver that is not compatible with the upstreamed version anyway > (and when these

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

2016-12-12 Thread Jan Kara
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 > > in testcase: nvml > with

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

2016-12-12 Thread Holger Hoffstätte
On Mon, 12 Dec 2016 15:54:43 +0100, David Sterba wrote: > On Fri, Dec 02, 2016 at 05:51:36PM -0800, Maxim Patlasov wrote: >> 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)

[PATCH 2/2] mm/thp/pagecache/collapse: Free the pte page table on collapse for thp page cache.

2016-12-12 Thread Aneesh Kumar K.V
With THP page cache, when trying to build a huge page from regular pte pages, we just clear the pmd entry. We will take another fault and at that point we will find the huge page in the radix tree, thereby using the huge page to complete the page fault The second fault path will allocate the neede

Re: [V2] mtd: devices: docg3:- Handle return value of devm_ioremap.

2016-12-12 Thread Robert Jarzmik
arvind Yadav writes: > There is problem, if you will use devm_ioremap_resource instead of > devm_ioremap, > than devm_ioremap_resource will call request_mem_region(). > request_mem_region() allows to tell the kernel that this driver is going to > use > this range of I/O addresses, which will pr

Re: [PATCH v2] iommu/intel-iommu: fix pasid table size encoding

2016-12-12 Thread Jacob Pan
Hi Joerg/David, Just wondering if you have any more comments? Thanks, Jacob On Tue, 6 Dec 2016 10:14:23 -0800 Jacob Pan wrote: > Different encodings are used to represent supported PASID bits > and number of PASID table entries. > The current code assigns ecap_pss directly to extended contex

[PATCH 1/2] mm/thp/pagecache: Only withdraw page table after a successful deposit

2016-12-12 Thread Aneesh Kumar K.V
The current code wrongly called withdraw in the error path. But we haven't depoisted the page table yet in the only error path in that function. So for now remove that withdraw completely. If we take that "out:" branch, we should have vmf->prealloc_pte already pointing to the allocated page table.

Re: [RFC][PATCHv5 7/7] printk: remove zap_locks() function

2016-12-12 Thread Petr Mladek
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 code also used > to zap_locks() in case of panic()

Re: [PATCH V4 04/11] megaraid_sas: SAS3.5 Generic Megaraid Controllers Stream Detection and IO Coalescing

2016-12-12 Thread Tomas Henzl
On 7.12.2016 00:00, Sasikumar Chandrasekaran wrote: > Detect sequential IO streams and pass those IOs directly to FW. > > This patch is depending on patch 3 > > Signed-off-by: Sasikumar Chandrasekaran > --- > drivers/scsi/megaraid/megaraid_sas.h| 5 +- > drivers/scsi/megaraid/megaraid_s

Re: [PATCH v2 3/4] dt-bindings: phy: Add support for QMP phy

2016-12-12 Thread Vivek Gautam
Hi Stephen, On Tue, Nov 29, 2016 at 4:25 AM, Stephen Boyd wrote: > On 11/22, Vivek Gautam wrote: >> diff --git a/Documentation/devicetree/bindings/phy/qcom-qmp-phy.txt >> b/Documentation/devicetree/bindings/phy/qcom-qmp-phy.txt >> new file mode 100644 >> index 000..ffb173b >> --- /dev/null >

Re: [for-next][PATCH 8/8] tracing/fgraph: Have wakeup and irqsoff tracers ignore graph functions too

2016-12-12 Thread Namhyung Kim
On Tue, Dec 13, 2016 at 01:33:42AM +0900, Namhyung Kim wrote: > From: "Steven Rostedt (Red Hat)" > > Currently both the wakeup and irqsoff traces do not handle set_graph_notrace > well. The ftrace infrastructure will ignore the return paths of all > functions leaving them hanging without an end:

Re: Omap3-isp isp_remove() access subdev.entity after media_device_cleanup()

2016-12-12 Thread Shuah Khan
On 12/12/2016 01:03 AM, Sakari Ailus wrote: > Hi Shuah, > > On Fri, Dec 09, 2016 at 09:52:44AM -0700, Shuah Khan wrote: >> Hi Sakari, >> >> I am looking at omap3 isp_remove() closely and I think there are a few >> issues there that could cause problems during unbind. >> >> isp_remove() tries to do

Fwd: [for-next][PATCH 7/8] fgraph: Handle a case where a tracer ignores set_graph_notrace

2016-12-12 Thread Namhyung Kim
Hi Steve, On Fri, Dec 9, 2016 at 11:27 PM, Steven Rostedt wrote: > From: "Steven Rostedt (Red Hat)" > > Both the wakeup and irqsoff tracers can use the function graph tracer when > the display-graph option is set. The problem is that they ignore the notrace > file, and record the entry of functi

Re: [PATCH 2/2] FPGA: Add TS-7300 FPGA manager

2016-12-12 Thread Alan Tull
On Mon, 12 Dec 2016, Florian Fainelli wrote: > On 12/12/2016 08:01 AM, Alan Tull wrote: > > On Sun, 11 Dec 2016, Florian Fainelli wrote: > > > >> Add support for loading bitstreams on the Altera Cyclone II FPGA > >> populated on the TS-7300 board. This is done through the configuration > >> and d

Re: [PATCH v5 2/4] drm: bridge: add support for TI ths8135

2016-12-12 Thread Rob Herring
On Wed, Dec 07, 2016 at 11:42:43AM +0100, Bartosz Golaszewski wrote: > THS8135 is a configurable video DAC. Add DT bindings for this chip and > use the dumb-vga-dac driver for now as no configuration is required to > make it work. > > Signed-off-by: Bartosz Golaszewski > --- > .../bindings/displ

Re: [PATCH v5 2/4] drm: bridge: add support for TI ths8135

2016-12-12 Thread Laurent Pinchart
Hello, On Monday 12 Dec 2016 10:45:47 Rob Herring wrote: > On Wed, Dec 07, 2016 at 11:42:43AM +0100, Bartosz Golaszewski wrote: > > THS8135 is a configurable video DAC. Add DT bindings for this chip and > > use the dumb-vga-dac driver for now as no configuration is required to > > make it work. >

Re: [for-next][PATCH 7/8] fgraph: Handle a case where a tracer ignores set_graph_notrace

2016-12-12 Thread Steven Rostedt
On Tue, 13 Dec 2016 01:30:01 +0900 Namhyung Kim wrote: > Sorry to miss updating those tracers. I guess it's no more necessary once > the patch 8 is applied so that functions in the notrace filter will not be > recorded. > > Or maybe we need to change the prepare_ftrace_return() so that the > g

ERROR: "bad_dma_ops" [sound/soc/bcm/snd-soc-cygnus.ko] undefined!

2016-12-12 Thread kbuild test robot
Hi Simran, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 69973b830859bc6529a7a0468ba0d80ee5117826 commit: 1200a7d9b2c65ffb2dd673add65cd5dc95671489 ASoC: cygnus: Add Cygnus audio DMA driver date: 7 months ago con

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

2016-12-12 Thread Shuah Khan
Hi Krzysztof, On 12/12/2016 05:05 AM, Krzysztof Opasiak wrote: > > Hi, > > On 12/09/2016 10:40 PM, Shuah Khan wrote: >> Hi Krzysztof, >> >> Thanks for getting to this so quickly. Couple of comments below: >> >> On 12/09/2016 10:15 AM, Krzysztof Opasiak wrote: >>> Add some simple script which cre

net: free the sbs in skbufhead

2016-12-12 Thread Sebastian Andrzej Siewior
In "skbufhead-raw-lock.patch" we moved the memory to a list and the hunk that cleared the list got misplaced. Cc: sta...@vger.kernel.org Signed-off-by: Sebastian Andrzej Siewior --- net/core/dev.c |8 1 file changed, 8 insertions(+) --- a/net/core/dev.c +++ b/net/core/dev.c @@ -520

Re: Re: [PATCH 1/1] arm/module: maximum utilization of module area.

2016-12-12 Thread Ard Biesheuvel
On 12 December 2016 at 15:28, Nicolas Pitre wrote: > On Mon, 12 Dec 2016, Vaneet Narang wrote: > >> Hi, >> >> >A PC24 relocation has a range of +/-32MB. This means that where-ever >> >the module is placed, it must be capable of reaching any function >> >within the kernel text, which may itself be

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

2016-12-12 Thread Namhyung Kim
Hi Jiri, On Mon, Dec 12, 2016 at 11:35:42AM +0100, Jiri Olsa wrote: > Adding perf_evsel::ignore_missing_cpu_thread bool. > > When set true, it allows perf to ignore error of missing > pid of perf event syscall. > > We remove missing thread id from the thread_map, so the > rest of the processing

Re: [PATCH v2 2/2] watchdog: introduce CONFIG_WATCHDOG_OPEN_DEADLINE

2016-12-12 Thread Guenter Roeck
Hi, On Mon, Dec 12, 2016 at 10:17:53AM +0100, Rasmus Villemoes wrote: > The watchdog framework takes care of feeding a hardware watchdog until > userspace opens /dev/watchdogN. If that never happens for some reason > (buggy init script, corrupt root filesystem or whatnot) but the kernel > itself i

Re: [V2] mtd: devices: docg3:- Handle return value of devm_ioremap.

2016-12-12 Thread Boris Brezillon
On Mon, 12 Dec 2016 17:32:58 +0100 Robert Jarzmik wrote: > arvind Yadav writes: > > > There is problem, if you will use devm_ioremap_resource instead of > > devm_ioremap, > > than devm_ioremap_resource will call request_mem_region(). > > request_mem_region() allows to tell the kernel that this

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

2016-12-12 Thread Rob Herring
On Wed, Dec 07, 2016 at 05:55:50PM +, Luis Oliveira wrote: > - Add slave definitions to i2c-designware-core > - Changes in Kconfig to auto-enable I2C_SLAVE when compiling the modules > - Add mode property to designware-core.txt that enable the "slave" selection: > - "mode" is an optional prop

Re: [V2] mtd: devices: docg3:- Handle return value of devm_ioremap.

2016-12-12 Thread Boris Brezillon
Hi Arvind, On Mon, 12 Dec 2016 21:33:05 +0530 arvind Yadav wrote: > There is problem, if you will use devm_ioremap_resource instead of > devm_ioremap, > than devm_ioremap_resource will call request_mem_region(). > request_mem_region() allows to tell the kernel that this driver is going > to us

Re: [GIT PULL] Openrisc changes for 4.10 merge

2016-12-12 Thread Linus Torvalds
On Mon, Dec 12, 2016 at 6:38 AM, Stafford Horne wrote: > > - This is my first pull request as the new OpenRISC architecture >maintainer. I hope I have things in order. Looks ok, but I note that I don't seem to find an email talking about the maintainership change. In general, I really prefe

Re: [PATCH 2/5] Documentation: fsl: dspi: Add fsl, ls1012a-dspi compatible string

2016-12-12 Thread Rob Herring
On Thu, Dec 08, 2016 at 05:23:01PM +0800, Yuan Yao wrote: > From: Yuan Yao > > new compatible string: "fsl,ls1012a-dspi". > > Signed-off-by: Yuan Yao > --- > Documentation/devicetree/bindings/spi/spi-fsl-dspi.txt | 1 + > 1 file changed, 1 insertion(+) Acked-by: Rob Herring

Re: [PATCH 3/5] Documentation: dt: mtd: add chip support for "jedec, spi-nor"

2016-12-12 Thread Rob Herring
On Thu, Dec 08, 2016 at 05:23:02PM +0800, Yuan Yao wrote: > From: Yuan Yao The compatible string is wrong in the subject. > > "sst25wf040b" and "en25s64" are also chip compatible with SPI NOR flash. > > Signed-off-by: Yuan Yao > --- > Documentation/devicetree/bindings/mtd/jedec,spi-nor.txt |

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

2016-12-12 Thread Paul Moore
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 when we store a refrence in > audit_sock and release it

Re: [PATCH] tags: honor COMPILED_SOURCE with apart output directory

2016-12-12 Thread Robert Jarzmik
Michal Marek writes: > Dne 6.12.2016 v 12:54 Robert Jarzmik napsal(a): >> Robert Jarzmik writes: >> >>> When the kernel is compiled with an "O=" argument, the object files are >>> not necessarily in the source tree, and more probably in another tree. >>> >>> In this situation, the current used

Re: [PATCH] iio: misc: add a generic regulator driver

2016-12-12 Thread Lars-Peter Clausen
On 12/06/2016 12:12 PM, Bartosz Golaszewski wrote: > 2016-12-03 10:11 GMT+01:00 Jonathan Cameron : >> On 30/11/16 10:10, Lars-Peter Clausen wrote: >>> On 11/29/2016 04:35 PM, Bartosz Golaszewski wrote: 2016-11-29 16:30 GMT+01:00 Lars-Peter Clausen : > On 11/29/2016 04:22 PM, Bartosz Golasz

Re: [media] bt8xx: One function call less in bttv_input_init() after error detection

2016-12-12 Thread SF Markus Elfring
>> I suggest to check return values immediately after each function call. >> An error situation can be detected earlier then and only the required >> clean-up functionality will be executed at the end. > > Which improvement does this bring? * How do you think about to avoid requesting additional

Re: [PATCH 0/8] device-dax: sub-division support

2016-12-12 Thread Jeff Moyer
Hi, Dan, Dan Williams writes: >>From [PATCH 6/8] dax: sub-division support: > > Device-DAX is a mechanism to establish mappings of performance / feature > differentiated memory with strict fault behavior guarantees. With > sub-division support a platform owner can provision sub-allocations of a

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

2016-12-12 Thread Rob Herring
On Thu, Dec 08, 2016 at 09:50:55PM +0900, Masahiro Yamada wrote: > Add a driver for the Cadence SD4HC SD/SDIO/eMMC Controller. > > For SD, it basically relies on the SDHCI standard code. > For eMMC, this driver provides some callbacks to support the > hardware part that is specific to this IP desi

Re: [for-next][PATCH 7/8] fgraph: Handle a case where a tracer ignores set_graph_notrace

2016-12-12 Thread Namhyung Kim
On Mon, Dec 12, 2016 at 11:49:20AM -0500, Steven Rostedt wrote: > On Tue, 13 Dec 2016 01:30:01 +0900 > Namhyung Kim wrote: > > > > Sorry to miss updating those tracers. I guess it's no more necessary once > > the patch 8 is applied so that functions in the notrace filter will not be > > recorde

Re: [RFC 00/10] implement alternative and much simpler id allocator

2016-12-12 Thread Tejun Heo
Hello, On Fri, Dec 09, 2016 at 02:01:40PM -0800, Andrew Morton wrote: > On Thu, 8 Dec 2016 02:22:55 +0100 Rasmus Villemoes > wrote: > > > TL;DR: these patches save 250 KB of memory, with more low-hanging > > fruit ready to pick. > > > > While browsing through the lib/idr.c code, I noticed tha

Re: [PATCH 5/5] Documentation: fsl-quadspi: Add fsl, ls1012a-qspi compatible string

2016-12-12 Thread Rob Herring
On Thu, Dec 08, 2016 at 05:23:04PM +0800, Yuan Yao wrote: > From: Yuan Yao Same problem in this subject too. > > new compatible string: "fsl,ls1012a-qspi". > > Signed-off-by: Yuan Yao > --- > Documentation/devicetree/bindings/mtd/fsl-quadspi.txt | 1 + > 1 file changed, 1 insertion(+) Acked

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

2016-12-12 Thread Rob Herring
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 convienence, not whether the values come from th

Re: [PATCH 3/4] dt-bindings: power/supply: Update TPS65217 properties

2016-12-12 Thread Rob Herring
On Fri, Dec 09, 2016 at 03:28:32PM +0900, Milo Kim wrote: > Add interrupt specifiers for USB and AC charger input. Interrupt numbers > are from the datasheet. > Fix wrong property for compatible string. > > Signed-off-by: Milo Kim > --- > .../devicetree/bindings/power/supply/tps65217_charger.txt

Re: [PATCHSET 0/6] perf sched timehist: Introduce --idle-hist option (v2)

2016-12-12 Thread Namhyung Kim
Hi David, On Sat, Dec 10, 2016 at 09:32:54AM -0700, David Ahern wrote: > On 12/8/16 7:47 AM, Namhyung Kim wrote: > > Hi, > > > > This patchset implements the idle hist feature which analyze reason of > > system > > idle. Sometimes I need to investigate what makes CPUs to go idle even > > thoug

Re: [PATCH 4/4] dt-bindings: input: Specify the interrupt number of TPS65217 power button

2016-12-12 Thread Rob Herring
On Fri, Dec 09, 2016 at 03:28:33PM +0900, Milo Kim wrote: > Specify the power button interrupt number which is from the datasheet. > > Signed-off-by: Milo Kim > --- > Documentation/devicetree/bindings/input/tps65218-pwrbutton.txt | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) Acked-

Re: [PATCH] iio: adc: max1027: allocate DMA-safe buffer

2016-12-12 Thread Lars-Peter Clausen
On 12/10/2016 09:53 PM, Marcus Folkesson wrote: > On Sat, Dec 10, 2016 at 05:36:34PM +, Jonathan Cameron wrote: >> On 09/12/16 10:24, Marcus Folkesson wrote: >>> The buffer needs to be DMA-safe when used with spi_read() >>> >>> Signed-off-by: Marcus Folkesson >> Please read the documentation i

RE: [RFC 00/10] implement alternative and much simpler id allocator

2016-12-12 Thread Matthew Wilcox
From: Tejun Heo [mailto:hte...@gmail.com] On Behalf Of Tejun Heo > Ah, yeah, great to see the silly implementation being replaced the > radix tree. ida_pre_get() looks suspicious tho. idr_preload() > immedicately being followed by idr_preload_end() probably is broken. > Maybe what we need is movi

Re: [PATCHSET 0/6] perf sched timehist: Introduce --idle-hist option (v2)

2016-12-12 Thread David Ahern
On 12/12/16 10:26 AM, Namhyung Kim wrote: > Do you mean adding an elapsed time so that it can see the cpu utilization (or > something similar)? Then we need to expose the elapsed time during record or > maybe just use time difference between first and last sample? I was thinking tstart = time of

[V1] ata: sata_mv:- Handle return value of devm_ioremap.

2016-12-12 Thread Arvind Yadav
Here, If devm_ioremap will fail. It will return NULL. Then hpriv->base = NULL - 0x2; Kernel can run into a NULL-pointer dereference. This error check will avoid NULL pointer dereference. Signed-off-by: Arvind Yadav --- drivers/ata/sata_mv.c | 3 +++ 1 file changed, 3 insertions(+) diff --gi

Re: [tpmdd-devel] [PATCH v3 1/3] tpm_crb: map locality registers

2016-12-12 Thread Jarkko Sakkinen
On Mon, Dec 12, 2016 at 03:28:01PM +, Winkler, Tomas wrote: > > > > I've tested is completley disjoint from the region pointed by the ACPI > > device > > tree (SSDT in PTT's case). > > > > Here's example device from my x250: > > > > Device (TPM) > > { > > Name (_HID, "MSFT0101" /* TPM 2.0 S

Re: [PATCH] doc: Explain light-handed markup preference a bit better

2016-12-12 Thread Mauro Carvalho Chehab
Em Thu, 8 Dec 2016 23:06:57 +0100 Daniel Vetter escreveu: > On Thu, Dec 8, 2016 at 10:10 AM, Mauro Carvalho Chehab > wrote: > > Em Wed, 7 Dec 2016 12:39:24 -0700 > > Jonathan Corbet escreveu: > > > >> On Wed, 7 Dec 2016 16:42:58 +0100 > >> Daniel Vetter wrote: > >> > >> > We already had a

Re: [PATCH] watchdog: bcm2835_wdt: set WDOG_HW_RUNNING bit when appropriate

2016-12-12 Thread Eric Anholt
Rasmus Villemoes writes: > A bootloader may start the watchdog device before handing control to > the kernel - in that case, we should tell the kernel about it so the > watchdog framework can keep it alive until userspace opens > /dev/watchdog0. I don't believe our current bootloaders (the close

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 09:45:42AM -0600, Josh Poimboeuf wrote: > Can you try with this? That's alot of stack: --- [0.00] WARNING: kernel stack frame pointer at bce03f40 in swapper:0 has bad value (null) [0.00] unwind stack type:0 next_sp: (null) mask:2

Re: [GIT PULL] Openrisc changes for 4.10 merge

2016-12-12 Thread Guenter Roeck
On Mon, Dec 12, 2016 at 09:05:36AM -0800, Linus Torvalds wrote: > On Mon, Dec 12, 2016 at 6:38 AM, Stafford Horne wrote: > > > > - This is my first pull request as the new OpenRISC architecture > >maintainer. I hope I have things in order. > > Looks ok, but I note that I don't seem to find a

Re: [PATCH] driver core: flush async calls before testing driver removal

2016-12-12 Thread Tejun Heo
Hello, On Sun, Dec 11, 2016 at 03:44:36AM +0200, Vladimir Zapolskiy wrote: > On 12/10/2016 03:04 PM, Greg Kroah-Hartman wrote: > > Hm, how does this not also get hit if you unbind/bind/unbind/bind/etc. > > from userspace as well? I don't think this is a > > CONFIG_DEBUG_TEST_DRIVER_REMOVE issue,

Re: [PATCH v2 3/3] kvm: svm: Use the hardware provided GPA instead of page walk

2016-12-12 Thread Brijesh Singh
Hi Paolo, On 12/09/2016 09:41 AM, Paolo Bonzini wrote: I am able to reproduce it on AMD HW using kvm-unit-tests. Looking at test, the initial thought is "push mem" has two operands (the memory being pushed and the stack pointer). The provided GPA could be either one of those. Aha, this make

Re: [tpmdd-devel] [PATCH v3 1/3] tpm_crb: map locality registers

2016-12-12 Thread Jarkko Sakkinen
On Mon, Dec 12, 2016 at 03:57:54PM +, Winkler, Tomas wrote: > > > On Mon, Dec 12, 2016 at 02:25:32PM +, Winkler, Tomas wrote: > > > > > > > > > > In order to provide access to locality registers, this commits > > > > > adds mapping of the head of the CRB registers, which are located right >

Re: [PATCH] doc: Explain light-handed markup preference a bit better

2016-12-12 Thread Jonathan Corbet
On Thu, 8 Dec 2016 23:06:57 +0100 Daniel Vetter wrote: > Hm yeah, separate conversion section makes sense. In that case I'll > adopt Jani's suggestion for more terseness in overview document, and > we can merge Mauro's proposal (or something like it) on top. And I'll > try to rebase onto latest d

Re: [media] bt8xx: One function call less in bttv_input_init() after error detection

2016-12-12 Thread Daniele Nicolodi
On 12/12/16 10:15 AM, SF Markus Elfring wrote: >>> I suggest to check return values immediately after each function call. >>> An error situation can be detected earlier then and only the required >>> clean-up functionality will be executed at the end. >> >> Which improvement does this bring? > > *

Re: [PATCH] ACPI: small formatting fixes

2016-12-12 Thread Nick Desaulniers
>From 47d3bcb76ef89ddbe74c8d8aacee1c0c6203a766 Mon Sep 17 00:00:00 2001 From: Nick Desaulniers Date: Mon, 12 Dec 2016 09:50:23 -0800 Subject: [PATCH v2] ACPI: small formatting fixes A quick cleanup that passes scripts/checkpatch.pl -f . Signed-off-by: Nick Desaulniers --- arch/x86/kernel/acpi/

Re: [rtc-linux] Re: [PATCH] rtc: max77683: avoid regmap bulk write for max77620

2016-12-12 Thread Krzysztof Kozlowski
On Mon, Dec 12, 2016 at 02:28:11PM +0100, Bartlomiej Zolnierkiewicz wrote: > > @@ -259,6 +262,32 @@ static const struct max77686_rtc_driver_data > > max77802_drv_data = { > > .rtc_irq_chip = &max77802_rtc_irq_chip, > > }; > > > > +static inline int _regmap_bulk_write(struct max77686_rtc_inf

Re: [tpmdd-devel] [PATCH v3 1/3] tpm_crb: map locality registers

2016-12-12 Thread Jarkko Sakkinen
On Mon, Dec 12, 2016 at 07:53:06PM +0200, Jarkko Sakkinen wrote: > On Mon, Dec 12, 2016 at 03:57:54PM +, Winkler, Tomas wrote: > > > > On Mon, Dec 12, 2016 at 02:25:32PM +, Winkler, Tomas wrote: > > > > > > > > > > > > In order to provide access to locality registers, this commits > > > > >

Re: [PATCH 0/2] Add maintainers to the admin guide

2016-12-12 Thread Jonathan Corbet
On Fri, 2 Dec 2016 10:15:13 -0200 Mauro Carvalho Chehab wrote: > On the past approaches, was planning to keep the documentation > about what's at the MAINTAINERS file inside it, but that would > require running an external script or use some Sphinx extension. > > This time, I took a much simple

Re: Clarification for acceptance statistics?

2016-12-12 Thread SF Markus Elfring
> Have you proposed a similar patch that was accepted? Yes. - It happened a few times. > I don't find record of it, but I may be wrong. It is really needed to clarify the corresponding software development history any further? Regards, Markus

[PATCH] media: platform: exynos4-is: constify v4l2_subdev_* structures

2016-12-12 Thread Bhumika Goyal
v4l2_subdev_{core/pad/video}_ops structures are stored in the fields of the v4l2_subdev_ops structure which are of type const. Also, v4l2_subdev_ops structure is passed to a function having its argument of type const. As these structures are never modified, so declare them as const. Done using Cocc

Re: [RFC 00/10] implement alternative and much simpler id allocator

2016-12-12 Thread Tejun Heo
Hello, Matthew. On Mon, Dec 12, 2016 at 05:35:17PM +, Matthew Wilcox wrote: > I know the preload followed by preload_end looks wrong. I don't > think it's broken though. If we get preempted, then the worst > situation is that we'll end up with the memory we preallocated being > allocated to

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 06:50:23PM +0100, Borislav Petkov wrote: > [0.00] bce03f40: ... > [0.00] bce03f48: bc0001b5 (start_cpu+0x5/0x14) > [0.00] bce03f50: bc0001b5 (start_cpu+0x5/0x14) > [0.00] bce03f5

[GIT PULL] regulator updates for v4.10

2016-12-12 Thread Mark Brown
The following changes since commit 69973b830859bc6529a7a0468ba0d80ee5117826: Linux 4.9 (2016-12-11 11:17:54 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git tags/regulator-v4.10 for you to fetch changes up to d00b74613fb18df

Re: [for-next][PATCH 7/8] fgraph: Handle a case where a tracer ignores set_graph_notrace

2016-12-12 Thread Steven Rostedt
On Tue, 13 Dec 2016 02:09:04 +0900 Namhyung Kim wrote: > > I wanted the simplest fix for stable. > > I think a simpler fix is just to return when it sees a negative record.. You're right, but I guess I was trying to get it someone closer to the final change too. -- Steve > > > diff --git

Re: [PATCH 1/1] Fixed to codestyle

2016-12-12 Thread Joe Perches
On Mon, 2016-12-12 at 07:49 -0600, Eric Sandeen wrote: > On 12/12/16 4:53 AM, Ozgur Karatas wrote: > > > > Hello, > > > > I have error to use uuid and I think the functions should be used when -i'm > > eye-catching- "(* uuid)". > > I tested it. > > > > Regards, > > > > Signed-off-by: Ozgur Kar

Re: [V2] mtd: devices: docg3:- Handle return value of devm_ioremap.

2016-12-12 Thread arvind Yadav
Hi Boris, Yes, It's possible that two driver can use same iomem region. For example you can check commit id - : 33cf75656923ff11d67a937a4f8e9344f58cea77 Here, It's not required. Thanks -Arvind On Monday 12 December 2016 10:34 PM, Boris Brezillon wrote: Hi Arvind, On Mon, 12 Dec 2016 21:33:05

Re: [PATCH v5 2/2] thinkpad_acpi: Add support for X1 Yoga (2016) Tablet Mode

2016-12-12 Thread Darren Hart
On Fri, Nov 11, 2016 at 03:15:03PM -0500, Lyude wrote: > For whatever reason, the X1 Yoga doesn't support the normal method of > querying for tablet mode. Instead of providing the MHKG method under the > hotkey handle, we're instead given the CMMD method under the EC handle. > Values on this handle

Re: [PATCH 1/1] Fixed to BUG_ON to WARN_ON def

2016-12-12 Thread Leon Romanovsky
On Mon, Dec 12, 2016 at 03:04:28PM +0200, Ozgur Karatas wrote: > Dear Romanovsky; Please avoid top-posting in your replies. Thanks > > I'm trying to learn english and I apologize for my mistake words and phrases. > So, I think the code when call to "sg_set_buf" and next time set memory and > bu

Re: [PATCH v2 3/5] staging: lustre: headers: sort headers affected by obdo move

2016-12-12 Thread Joe Perches
On Mon, 2016-12-12 at 17:34 +0100, Greg Kroah-Hartman wrote: > A: Top-posting. > Q: What is the most annoying thing in e-mail? > > A: No. > Q: Should I include quotations after my reply? > > http://daringfireball.net/2007/07/on_top > > On Mon, Dec 12, 2016 at 02:42:29PM +, Ben Evans wrote: >

Re: [V1] mtd: devices: docg3:- Handle return value of devm_ioremap.

2016-12-12 Thread Fabio Estevam
On Sun, Dec 11, 2016 at 5:15 PM, Marek Vasut wrote: >> ret = -ENOMEM; >> + base = devm_ioremap(dev, ress->start, DOC_IOSPACE_SIZE); >> + if (!base) >> + return ret; > > I think return -ENOMEM right away won't hurt here. Also, dev_err() > explaining the failure would be n

[PATCH v3 1/3] perf: add PERF_RECORD_NAMESPACES to include namespaces related info

2016-12-12 Thread Hari Bathini
With the advert of container technologies like docker, that depend on namespaces for isolation, there is a need for tracing support for namespaces. This patch introduces new PERF_RECORD_NAMESPACES event for tracing based on namespaces related info. Signed-off-by: Hari Bathini --- Changes from v2

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

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

[PATCH v3 2/3] perf tool: add PERF_RECORD_NAMESPACES to include namespaces related info

2016-12-12 Thread Hari Bathini
This patch updates perf tool to examine PERF_RECORD_NAMESPACES events emitted by the kernel when fork, clone, setns or unshare are invoked. Also, it synthesizes PERF_RECORD_NAMESPACES events for processes that were running prior to invocation of perf record, the data for which is taken from /proc/$

[PATCH v3 0/3] perf: add support for analyzing events for containers

2016-12-12 Thread Hari Bathini
Currently, there is no trivial mechanism to analyze events based on containers. perf -G can be used, but it will not filter events for the containers created after perf is invoked, making it difficult to assess/ analyze performance issues of multiple containers at once. This patch-set overcomes th

Re: Documenting the ioctl interfaces to discover relationships between namespaces

2016-12-12 Thread Eric W. Biederman
"Michael Kerrisk (man-pages)" writes: > On 12/11/2016 11:30 PM, Eric W. Biederman wrote: >> "Michael Kerrisk (man-pages)" writes: >> >>> [was: [PATCH 0/4 v3] Add an interface to discover relationships >>> between namespaces] >> >> One small comment below. >> >>> >>>Introspecting namespace

Re: [PATCH v2 3/5] staging: lustre: headers: sort headers affected by obdo move

2016-12-12 Thread Ben Evans
On 12/12/16, 11:34 AM, "Greg Kroah-Hartman" wrote: >What is this mythical guidelines, and why does it differ from the kernel >source ones? > >And again, why is this patch required? > >thanks, > >greg k-h > Here are the general guidelines for your reading pleasure: http://wiki.lustre.org/Lustre

Re: [RFT PATCH] ARM64: dts: meson-gxbb: Add reserved memory zone and usable memory range

2016-12-12 Thread Heinrich Schuchardt
.../arm64/boot/dts/amlogic/meson-gxl-s905x-p212.dts | 2 +- > arch/arm64/boot/dts/amlogic/meson-gxm-nexbox-a1.dts | 2 +- > 11 files changed, 31 insertions(+), 10 deletions(-) > I added your patch to next-20161212. My kernel config is available as https://github.com/xypron/kernel-od

Re: [PATCH v2 1/3] perf: add PERF_RECORD_NAMESPACES to include namespaces related info

2016-12-12 Thread Hari Bathini
Hi Peter, On Friday 09 December 2016 07:39 PM, Peter Zijlstra wrote: On Fri, Dec 09, 2016 at 12:10:20AM +0530, Hari Bathini wrote: Hi Peter, Sorry for taking so long to respond... On Thursday 24 November 2016 08:40 PM, Peter Zijlstra wrote: On Thu, Nov 24, 2016 at 08:14:29PM +0530, Hari B

[LSF/MM TOPIC][LSF/MM ATTEND] Enabling Peer-to-Peer DMAs between PCIe devices

2016-12-12 Thread Stephen Bates
Hi I'd like to discuss the topic of how best to enable DMAs between PCIe devices in the Linux kernel. There have been many attempts to add to the kernel the ability to DMA between two PCIe devices. However, to date, none of these have been accepted. However as PCIe devices like NICs, NVMe SSDs an

  1   2   3   4   5   6   7   8   >