Re: [PATCH v5] trace: ras: add ARM processor error information trace event

2017-06-26 Thread Xie XiuQi
Hi Boris, Thanks for your comments. On 2017/6/26 22:06, Borislav Petkov wrote: > On Sat, Jun 24, 2017 at 11:38:23AM +0800, Xie XiuQi wrote: >> Add a new trace event for ARM processor error information, so that >> the user will know what error occurred. With this information the >> user may take a

Re: [PATCH linux-next v4 0/4] i.MX ECSPI controller slave mode support

2017-06-26 Thread Sascha Hauer
On Thu, Jun 08, 2017 at 02:15:59PM +0900, Jiada Wang wrote: > Changes in v4: > * rebased to head of linux-next to resolve conflict > * optimized mx53_ecspi_rx_slave() > > Changes in v3: > * renamed several variables for for better readability > * created spi_imx_pio_transfer_slave() for slave pio

Re: [PATCH 1/7] drm/bridge: Support hotplugging panel-bridge.

2017-06-26 Thread Archit Taneja
On 06/24/2017 03:20 AM, Eric Anholt wrote: Boris Brezillon writes: On Thu, 22 Jun 2017 13:47:43 +0530 Archit Taneja wrote: On 06/22/2017 01:20 PM, Benjamin Gaignard wrote: 2017-06-20 19:31 GMT+02:00 Eric Anholt : Archit Taneja writes: On 06/16/2017 08:13 PM, Eric Anholt wrote: Arc

Re: [PATCH] firmware: remove request_firmware_into_buf()

2017-06-26 Thread Greg Kroah-Hartman
On Mon, Jun 26, 2017 at 01:22:41PM -0700, Bjorn Andersson wrote: > On Fri, Jun 23, 2017 at 9:03 AM, Greg Kroah-Hartman > wrote: > > As Luis pointed out, there are no in-kernel users of > > request_firmware_into_buf(), so remove it, and the now unused internal > > flag, which simplifies the logic a

RE: [PATCH 1/2] fsl/fman: propagate dma_ops

2017-06-26 Thread Madalin-cristian Bucur
> -Original Message- > From: geert.uytterhoe...@gmail.com [mailto:geert.uytterhoe...@gmail.com] > On Behalf Of Geert Uytterhoeven > Sent: Monday, June 26, 2017 7:24 PM > To: Madalin-cristian Bucur > Cc: net...@vger.kernel.org; David S. Miller ; > linuxppc-...@lists.ozlabs.org; linux-kernel

Re: [PATCH 3/3] Make LSM Writable Hooks a command line option

2017-06-26 Thread kbuild test robot
Hi Igor, [auto build test ERROR on mmotm/master] [cannot apply to linus/master linux/master v4.12-rc7 next-20170626] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Igor-Stoppa/ro-protection-for

[PATCH v2] arm: dts: omap3: Remove needless interrupt-parent property

2017-06-26 Thread karthik
From: Karthik Tummala All nodes inhert "interrupt-parent" property from root node. Removed the aforementioned property from usbhsohci, usbhsehci, ssi_port1, ssi_port2 nodes to avoid duplication. Signed-off-by: Karthik Tummala --- Changes for v2: - Made changes to subject & description as sugges

Re: [PATCH] ACPI / sleep: EC-based wakeup from suspend-to-idle on recent systems

2017-06-26 Thread Andy Shevchenko
On Tue, Jun 27, 2017 at 8:50 AM, Tom Lanyon wrote: > On 23 June 2017 at 12:40, Linus Torvalds > wrote: > Linux during s2idle => 6% battery drain per hour. > Win10 during sleep => 1% battery drain per hour. > > where Linux = 4.12-rc6 + the latest patch from your acpi-pm-test branch. > >

Re: mmotm 2017-06-23-15-03 uploaded

2017-06-26 Thread huang ying
On Sat, Jun 24, 2017 at 6:04 AM, wrote: > * mm-page_allocc-eliminate-unsigned-confusion-in-__rmqueue_fallback.patch After git bisecting, find the above patch will cause the following bug on i386 with memory eater + swap. [ 10.657876] BUG: unable to handle kernel paging request at 001fe2b8 [

[PATCH] rpmsg: Solve circular dependencies involving RPMSG_VIRTIO

2017-06-26 Thread Bjorn Andersson
While it's very common to use RPMSG for communicating with firmware running on these remoteprocs there is no functional dependency on RPMSG. As such RPMSG should be selected by the system integrator and not automatically by the remoteproc drivers. This does solve problems reported with circular Kc

Donation

2017-06-26 Thread Raymond Bell
I am Raymond Scott Bells, My wife and I won $50-million Lotto Max cheque,in Edmonton,we have decided to donate to the less privileged and charity projects all over the world, and make at least 5 people millionaires. To verify, please see our interview by visiting the web page below. http://www.ct

[PATCH 2/2] x86/CPU/AMD: Use L3 Cache info from CPUID to determine LLC ID

2017-06-26 Thread Suravee Suthikulpanit
CPUID_Fn801D_EAX_x03: Cache Properties (L3) [NumSharingCache] should be used to determine if the last-level cache (LLC) ID is the same as die ID or the core-complex (CCX) ID. In the former case, the number of cores within a die would be the same as the number of sharing threads. This is availab

[PATCH 1/2] x86/CPU/AMD: Present package as die instead of socket

2017-06-26 Thread Suravee Suthikulpanit
According to the Documentation/x86/topology.txt, AMD nomenclature for package is NUMA node (or die). However, this is not the case on AMD family17h multi-die processor platforms, which can have up to 4 dies per socket as shown in the following system topology. Die (Dx) View :

[PATCH 0/2] x86/CPU/AMD: Fix multi-die processor topology info

2017-06-26 Thread Suravee Suthikulpanit
This patch series changes how kernel derives cpu "package" from package-as-socket to package-as-die in order to fix following issues on AMD family17h multi-die processor platforms: * irqbalance fails to allocating IRQs to individual CPU within the die. * The scheduler fails to load-balance acro

Re: 答复: [RFC PATCH] char: misc: Init misc->list in a safe way

2017-06-26 Thread Greg Kroah-Hartman
A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? 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 Tue, Jun 27, 2017 at 02:0

Re: [PATCH v3 0/4] g_NCR5380: PDMA fixes and cleanup

2017-06-26 Thread Ondrej Zary
On Monday 26 June 2017, Ondrej Zary wrote: > On Monday 26 June 2017 09:30:33 Finn Thain wrote: > > Ondrej, would you please test this new series? > > > > Changed since v1: > > - PDMA transfer residual is calculated earlier. > > - End of DMA flag check is now polled (if there is any residual). > > >

RE: [PATCH] fsl/fman: add dependency on HAS_DMA

2017-06-26 Thread Madalin-cristian Bucur
> -Original Message- > From: geert.uytterhoe...@gmail.com [mailto:geert.uytterhoe...@gmail.com] > On Behalf Of Geert Uytterhoeven > Sent: Monday, June 26, 2017 7:17 PM > To: Fabio Estevam > Cc: Madalin-cristian Bucur ; > net...@vger.kernel.org; David S. Miller ; linuxppc- > d...@lists.ozla

Re: [PATCH for 4.12] Revert "pinctrl: rockchip: avoid hardirq-unsafe functions in irq_chip"

2017-06-26 Thread Tony Lindgren
* Brian Norris [170626 17:06]: > So I agree that the above commit was problematic, and that you have > fixed that in your patch ("PM / wakeirq: Convert to SRCU"). But I > noticed there were other threads where people have complained about the > $subject patch also causing problems with drivers tha

linux-next: Tree for Jun 27

2017-06-26 Thread Stephen Rothwell
Hi all, Changes since 20170626: The i2c tree still had its build failure so I used the version from next-20170623. The scsi tree gained a conflict against the jc_docs tree. The akpm tree lost its build failure. Non-merge commits (relative to Linus' tree): 9096 8702 files changed, 7

[PATCHv2 5/5] selftests: fix memory-hotplug test

2017-06-26 Thread Po-Hsu Lin
In the memory offline test, the $ration was used with RANDOM as the possibility to get it offlined, correct it to become the portion of available removable memory blocks. Also ask the tool to try to offline the next available memory block if the attempt is unsuccessful. It will only fail if all re

[PATCHv2 1/5] selftests: typo correction for memory-hotplug test

2017-06-26 Thread Po-Hsu Lin
Typo fixed for hotpluggable_offline_memory() in memory-hotplug test. Signed-off-by: Po-Hsu Lin --- .../selftests/memory-hotplug/mem-on-off-test.sh| 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tools/testing/selftests/memory-hotplug/mem-on-off-test.sh b/tool

[PATCHv2 3/5] selftests: check percentage range for memory-hotplug test

2017-06-26 Thread Po-Hsu Lin
Check the precentage range for -r flag in memory-hotplug test. Signed-off-by: Po-Hsu Lin --- .../selftests/memory-hotplug/mem-on-off-test.sh|4 1 file changed, 4 insertions(+) diff --git a/tools/testing/selftests/memory-hotplug/mem-on-off-test.sh b/tools/testing/selftests/memory-h

[PATCHv2 2/5] selftests: check hot-pluggagble memory for memory-hotplug test

2017-06-26 Thread Po-Hsu Lin
Check for hot-pluggable memory availability in prerequisite() of the memory-hotplug test. Signed-off-by: Po-Hsu Lin --- .../selftests/memory-hotplug/mem-on-off-test.sh|5 + 1 file changed, 5 insertions(+) diff --git a/tools/testing/selftests/memory-hotplug/mem-on-off-test.sh b/tool

[PATCHv2 0/5] selftests: fix memory-hotplug test

2017-06-26 Thread Po-Hsu Lin
This patchset will fix a typo, print the name of the memory notifier error injection test, add two extra checks and fixes the online / offline memory test in the memory-hotplug test. Po-Hsu Lin (5): selftests: typo correction for memory-hotplug test selftests: check hot-pluggagble memory for m

[PATCHv2 4/5] selftests: add missing test name in memory-hotplug test

2017-06-26 Thread Po-Hsu Lin
There is no prompt for testing memory notifier error injection, added with the same echo format of other tests above. Signed-off-by: Po-Hsu Lin --- .../selftests/memory-hotplug/mem-on-off-test.sh|1 + 1 file changed, 1 insertion(+) diff --git a/tools/testing/selftests/memory-hotplug/mem

[PATCH] arm: perf: make of_device_ids const

2017-06-26 Thread Arvind Yadav
of_device_ids are not supposed to change at runtime. All functions working with of_device_ids provided by work with const of_device_ids. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- arch/arm/kernel/perf_event_v6.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [Intel-gfx] [PATCH v9 5/7] vfio: Define vfio based dma-buf operations

2017-06-26 Thread Gerd Hoffmann
Hi, > Hmm, I don't like that interface.  Can you cite examples of other > ioctls that behave this way?  It doesn't feel like an elegant user > interface; the user can get the dmabuf, but only after they query the > dmabuf, even though the get-dmabuf ioctl returns the same data as the > query-pla

Re: [PATCH v2 16/51] block: bounce: avoid direct access to bvec table

2017-06-26 Thread Matthew Wilcox
On Mon, Jun 26, 2017 at 08:09:59PM +0800, Ming Lei wrote: > bio_for_each_segment_all(bvec, bio, i) { > - org_vec = bio_orig->bi_io_vec + i + start; > - > - if (bvec->bv_page == org_vec->bv_page) > - continue; > + orig_vec = bio_iter_iove

Re: [PATCH v13 08/14] ASoC: sun4i-codec: Add FM Left, FM Right, FM Playback Switch.

2017-06-26 Thread kbuild test robot
Hi Danny, [auto build test ERROR on asoc/for-next] [also build test ERROR on next-20170626] [cannot apply to v4.12-rc7] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Danny-Milosavljevic/ASoC

Re: [PATCH BUGFIX V2] block, bfq: update wr_busy_queues if needed on a queue split

2017-06-26 Thread Paolo Valente
> Il giorno 19 giu 2017, alle ore 13:43, Paolo Valente > ha scritto: > > This commit fixes a bug triggered by a non-trivial sequence of > events. These events are briefly described in the next two > paragraphs. The impatiens, or those who are familiar with queue > merging and splitting, can jum

[PATCH] regulator: core: Lookup based on supply name alone as last option

2017-06-26 Thread Gaurav Gupta
If there are two regulators with the same supply name, the current lookup just based on the supply name would always return the first one. Further in the function, there is code to check both dev name and supply name and return the matching regulator. This should be done before the lookup based on

Re: [PATCH] media: omap3isp: handle NULL return of omap3isp_video_format_info() in ccdc_is_shiftable().

2017-06-26 Thread Sakari Ailus
Hi Nikolaus, On Tue, Jun 27, 2017 at 07:46:51AM +0200, H. Nikolaus Schaller wrote: > Hi, > > > Am 26.06.2017 um 22:12 schrieb Sakari Ailus : > > > > Hi Nikolaus, > > > > On Mon, Jun 26, 2017 at 07:54:19PM +0200, H. Nikolaus Schaller wrote: > >> If a camera module driver specifies a format that

RE: BUG: unable to handle kernel NULL pointer dereference at 0000000000000038 !//RE: kernel BUG at kernel/locking/rtmutex.c:1027

2017-06-26 Thread Feng Feng24 Liu
Hi, Julia Thanks for your kindly hit. I will try this patch The problem is accidental. I will try to reproduce it. BTW, could you help to give the link about the emails which discuss about " nsfs: mark dentry with DCACHE_RCUACCESS ". I cannot find them(just patch email) T

Re: [PATCH] ACPI / sleep: EC-based wakeup from suspend-to-idle on recent systems

2017-06-26 Thread Tom Lanyon
On 23 June 2017 at 12:40, Linus Torvalds wrote: > On Thu, Jun 22, 2017 at 4:56 PM, Rafael J. Wysocki wrote: >> >> Some recent Dell laptops, including the XPS13 model numbers 9360 and >> 9365, cannot be woken up from suspend-to-idle by pressing the power >> button which is unexpected and makes tha

Re: omap3isp camera was Re: [PATCH v1 0/6] Add support of OV9655 camera

2017-06-26 Thread H. Nikolaus Schaller
> Am 26.06.2017 um 13:16 schrieb Pavel Machek : > > Hi! > >>> You may want to try this one: >>> >>> commit 0eae9d2a8f096f703cbc8f9a0ab155cd3cc14cef >>> Author: Pavel >>> Date: Mon Feb 13 21:26:51 2017 +0100 >>> >>> omap3isp: fix VP2SDR bit so capture (not preview) works >>> >>> This is

Re: [PATCH v1 1/6] DT bindings: add bindings for ov965x camera module

2017-06-26 Thread H. Nikolaus Schaller
> Am 26.06.2017 um 22:04 schrieb Sylwester Nawrocki : > > On 06/26/2017 12:35 PM, Hugues FRUCHET wrote: >>> What I am missing to support the GTA04 camera is the control of the >>> optional "vana-supply". >>> So the driver does not power up the camera module when needed and therefore >>> probing

Re: [PATCH] arm: dts: omap3: Remove interrupt-parent property

2017-06-26 Thread Suniel Mahesh
On Tuesday 27 June 2017 11:03 AM, kart...@techveda.org wrote: > From: Karthik Tummala > Please change the subject of the patch to something which is more meaningful and which reflect the changes done to the code base. > All nodes inhert "interrupt-parent" property from root > node. So removed t

Re: [PATCH] media: omap3isp: handle NULL return of omap3isp_video_format_info() in ccdc_is_shiftable().

2017-06-26 Thread H. Nikolaus Schaller
Hi, > Am 26.06.2017 um 22:12 schrieb Sakari Ailus : > > Hi Nikolaus, > > On Mon, Jun 26, 2017 at 07:54:19PM +0200, H. Nikolaus Schaller wrote: >> If a camera module driver specifies a format that is not >> supported by omap3isp this ends in a NULL pointer >> dereference instead of a simple fail.

[PATCH] drm/i915: Fix an error checking test

2017-06-26 Thread Christophe JAILLET
'dma_buf_vmap' returns NULL on error, not an error pointer. Fixes: 6cca22ede8a4 ("drm/i915: Add some mock tests for dmabuf interop") Signed-off-by: Christophe JAILLET --- drivers/gpu/drm/i915/selftests/i915_gem_dmabuf.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dr

Re: [PATCH 4/4] sched,fair: remove effective_load

2017-06-26 Thread Peter Zijlstra
On Mon, Jun 26, 2017 at 03:34:49PM -0400, Rik van Riel wrote: > On Mon, 2017-06-26 at 18:12 +0200, Peter Zijlstra wrote: > > On Mon, Jun 26, 2017 at 11:20:54AM -0400, Rik van Riel wrote: > > > > > Oh, indeed.  I guess in wake_affine() we should test > > > whether the CPUs are in the same NUMA node

Re: [PATCH 4/4] remoteproc/davinci: streamline the interrupt management

2017-06-26 Thread Bjorn Andersson
On Mon 26 Jun 09:09 PDT 2017, Suman Anna wrote: > Hi Bjorn, > > On 06/25/2017 04:19 PM, Bjorn Andersson wrote: > > On Thu 18 May 15:09 PDT 2017, Suman Anna wrote: > > > >> The davinci remoteproc driver is currently requesting its interrupt > >> that deals with the virtio kicks in probe, and that

Re: [PATCH v1 2/6] [media] ov9650: add device tree support

2017-06-26 Thread Sakari Ailus
On Mon, Jun 26, 2017 at 07:46:34PM +0200, H. Nikolaus Schaller wrote: > Hi, > > > Am 26.06.2017 um 18:31 schrieb Sakari Ailus : > > > > Hi Hugues, > > > > On Thu, Jun 22, 2017 at 05:05:38PM +0200, Hugues Fruchet wrote: > >> @@ -1545,15 +1577,22 @@ static int ov965x_remove(struct i2c_client *clie

[PATCH] arm: dts: omap3: Remove interrupt-parent property

2017-06-26 Thread karthik
From: Karthik Tummala All nodes inhert "interrupt-parent" property from root node. So removed that property from usbhsohci, usbhsehci, ssi_port1, ssi_port2 nodes. Signed-off-by: Karthik Tummala --- arch/arm/boot/dts/omap3.dtsi | 4 1 file changed, 4 deletions(-) diff --git a/arch/arm/boo

Re: [PATCH] lib/zstd: use div_u64() to let it build on 32-bit

2017-06-26 Thread Nick Terrell
Adam, I’ve applied the same patch in my tree. I’ll send out the update [1] once it's reviewed, since I also reduced the stack usage of functions using over 1 KB of stack space. You’re right that div_u64() will work, since the FSE functions are only called on blocks of at most 128 KB at a time. Per

Re: [PATCH] mm/memory_hotplug: remove an unused variable in move_pfn_range_to_zone()

2017-06-26 Thread Michal Hocko
On Tue 27-06-17 10:26:38, Anshuman Khandual wrote: > On 06/27/2017 04:49 AM, Wei Yang wrote: > > There is an unused variable in move_pfn_range_to_zone(). > > > > This patch just removes it. > > > > Signed-off-by: Wei Yang > > --- > > mm/memory_hotplug.c | 1 - > > 1 file changed, 1 deletion(-)

[PATCH 2/3] dts: RISC-V local interrupt controller docs

2017-06-26 Thread Palmer Dabbelt
This patch adds documentation on the RISC-V local interrupt controller, which is a per-hart interrupt controller that manages all interrupts entering a RISC-V hart. This interrupt controller is present on all RISC-V systems. Signed-off-by: Palmer Dabbelt --- .../interrupt-controller/riscv,cpu-i

[PATCH 3/3] dts: RISC-V PLIC documentation

2017-06-26 Thread Palmer Dabbelt
This patch adds documentation for the platform-level interrupt controller (PLIC) found in all RISC-V systems. This interrupt controller routes interrupts from all the devices in the system to each hart-local interrupt controller. Note: the DTS bindings for the PLIC aren't set in stone yet, as we

[PATCH 1/3] dts: RISC-V vendor prefix

2017-06-26 Thread Palmer Dabbelt
RISC-V systems use device tree to specify the memory layout of the system. This patch reserves the "riscv" vendor prefix, which will be used for devices that are specified by the various RISC-V ISA specifications. Signed-off-by: Palmer Dabbelt --- Documentation/devicetree/bindings/vendor-prefix

RISC-V Device Tree Documentation

2017-06-26 Thread Palmer Dabbelt
As part of submitting the RISC-V Linux port it was suggested that we write some documentation that describes our device tree bindings. Our port is still in progress, but it was suggested that we start sending patches to the relevant parties. There is one outstanding issue to resolve with the PLIC

[PATCH v4] usb: host: ohci-pxa27x: Handle return value of clk_prepare_enable

2017-06-26 Thread Arvind Yadav
clk_prepare_enable() can fail here and we must check its return value. Signed-off-by: Arvind Yadav --- drivers/usb/host/ohci-pxa27x.c | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/drivers/usb/host/ohci-pxa27x.c b/drivers/usb/host/ohci-pxa27x.c index 79efde8f..21c

[PATCH] usb: host: ohci-pxa27x: Handle return value of clk_prepare_enable

2017-06-26 Thread Arvind Yadav
clk_prepare_enable() can fail here and we must check its return value. Signed-off-by: Arvind Yadav --- Changes in v3: Change log correction. Add change log below '---'. Changes in v2: Remove useless initialization of retval. drivers/usb/host/ohci-pxa27x.c | 10 +

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

2017-06-26 Thread Scott Branden
Hi Rob/Florian, Thanks for input but still don't see any need for SoC specific compatible stings. IP revision specific yes. On 17-06-22 06:04 PM, Florian Fainelli wrote: On 06/22/2017 05:42 PM, Scott Branden wrote: On 17-06-21 08:19 PM, Rob Herring wrote: On Tue, Jun 20, 2017 at 3:48 PM, Sc

Re: [PATCH 3/3] Make LSM Writable Hooks a command line option

2017-06-26 Thread kbuild test robot
Hi Igor, [auto build test ERROR on mmotm/master] [cannot apply to linus/master linux/master v4.12-rc7 next-20170626] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Igor-Stoppa/ro-protection-for

[PATCH 1/2] irqchip: RISC-V Local Interrupt Controller Driver

2017-06-26 Thread Palmer Dabbelt
This patch adds a driver that manages the local interrupts on each RISC-V hart, as specifiec by the RISC-V supervisor level ISA manual. The local interrupt controller manages software interrupts, timer interrupts, and hardware interrupts (which are routed via the platform level interrupt controller

[PATCH 2/2] irqchip: New RISC-V PLIC Driver

2017-06-26 Thread Palmer Dabbelt
This patch adds a driver for the Platform Level Interrupt Controller (PLIC) specified as part of the RISC-V supervisor level ISA manual. The PLIC connocts global interrupt sources to the local interrupt controller on each hart. A PLIC is present on all RISC-V systems. Signed-off-by: Palmer Dabbel

RISC-V Interrupt Controllers

2017-06-26 Thread Palmer Dabbelt
This patch set contains two interrupt controller drivers for RISC-V systems: the local interrupt controller is a per-hart controller, and the PLIC is a per-chip controller.

Re: [PATCH v3 0/7] Isolate time_t data types for clock/timer syscalls

2017-06-26 Thread Deepa Dinamani
The series aims at isolating data conversions of time_t based structures: struct timespec and struct itimerspec at user space boundaries. This helps to later change the underlying types to handle y2038 changes to these. >>> >>> Nice... A few questions: >>> >>> * what about seti

Re: [PATCH] mm/memory_hotplug: remove an unused variable in move_pfn_range_to_zone()

2017-06-26 Thread Anshuman Khandual
On 06/27/2017 04:49 AM, Wei Yang wrote: > There is an unused variable in move_pfn_range_to_zone(). > > This patch just removes it. > > Signed-off-by: Wei Yang > --- > mm/memory_hotplug.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/mm/memory_hotplug.c b/mm/memory_hotplug.c > index 5

[PATCH] tty: New RISC-V SBI console driver

2017-06-26 Thread Palmer Dabbelt
The RISC-V ISA defines a simple console that is availiable via SBI calls on all systems. This patch adds a driver for this console interface that can act as both a target for early printk and as the system console. Signed-off-by: Palmer Dabbelt --- drivers/tty/hvc/Kconfig | 11 + drivers

RE: BUG: unable to handle kernel NULL pointer dereference at 0000000000000038 !//RE: kernel BUG at kernel/locking/rtmutex.c:1027

2017-06-26 Thread Feng Feng24 Liu
Hi, Sebastian I just add the RT patches, nothing else. Thanks Feng >-Original Message- >From: Sebastian Andrzej Siewior [mailto:sebastian.siew...@linutronix.de] >Sent: Monday, June 26, 2017 10:55 PM >To: Steven Rostedt >Cc: Feng Feng24 Liu; Mike Galbraith; linux-kernel@vger.kernel

RE: BUG: unable to handle kernel NULL pointer dereference at 0000000000000038 !//RE: kernel BUG at kernel/locking/rtmutex.c:1027

2017-06-26 Thread Feng Feng24 Liu
HI steve I have installed the openstack on the server, and create & destroy some virtual machines. Then I left it to run for about 2 days without do nothing. The problem happened I don't know what proc file it read by now, since when I found the problem on Monday, the ke

linux-next: build warning after merge of the rpmsg tree

2017-06-26 Thread Stephen Rothwell
Hi Bjorn, After merging the rpmsg tree, today's linux-next build (arm_multi_v7_defconfig) produced this warning: drivers/i2c/Kconfig:7:error: recursive dependency detected! For a resolution refer to Documentation/kbuild/kconfig-language.txt subsection "Kconfig recursive dependency limitations" dr

Re: [PATCH V5] powerpc/powernv : Add support for OPAL-OCC command/response interface

2017-06-26 Thread Cyril Bur
On Mon, 2017-06-26 at 11:02 +0530, Shilpasri G Bhat wrote: > In P9, OCC (On-Chip-Controller) supports shared memory based > commad-response interface. Within the shared memory there is an OPAL > command buffer and OCC response buffer that can be used to send > inband commands to OCC. This patch add

linux-next: manual merge of the scsi tree with the jc_docs tree

2017-06-26 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the scsi tree got a conflict in: drivers/scsi/scsi_transport_fc.c between commit: 739aca06a2d2 ("scsi: fix some kernel-doc markups") from the jc_docs tree and commit: 134699d2a896 ("scsi: fix typos and grammar in comments of scsi_transport_fc.c") fr

stdout-path (was Re: [PATCH 3/3 v6] ARC: hsdk: initial port for HSDK board)

2017-06-26 Thread Vineet Gupta
On 06/26/2017 07:25 PM, Alexey Brodkin wrote: + + chosen { + bootargs = "earlycon=uart8250,mmio32,0xf0005000,115200n8 console=ttyS0,115200n8 debug print-fatal-signals=1"; Use stdout-path for the console. Really, the bootargs should be blank and populated by the bootloader es

Re: [PATCH 0/6] sched: Minor fixes and cleanups

2017-06-26 Thread Viresh Kumar
On 24-05-17, 10:59, Viresh Kumar wrote: > Hi, > > The first patch fixes a potential regression we may observe on the UP > systems and the others are doing minor optimizations in the scheduler > core. > > They are all tested on ARM 32 (exynos) and 64 (hikey) bit platforms. Hi Ingo/Peter, Do you

Re: [PATCH v2] nvme: explicitly disable APST on quirked devices

2017-06-26 Thread Kai-Heng Feng
On Tue, Jun 27, 2017 at 2:05 AM, Andy Lutomirski wrote: > On Mon, Jun 26, 2017 at 12:01 AM, Kai-Heng Feng > wrote: >> A user reports APST is enabled, even when the NVMe is quirked or with >> option "default_ps_max_latency_us=0". >> >> The current logic will not set APST if the device is quirked.

[PATCH] lib/zstd: use div_u64() to let it build on 32-bit

2017-06-26 Thread Adam Borowski
David Sterba wrote: > > Thus, you want do_div() instead of /; do check widths and signedness of > > arguments. > > No do_div please, div_u64 or div64_u64. Good to know, the interface of do_div() is indeed weird. I guess Nick has found and fixed the offending divisions in his tree already, but thi

Re: [PATCH] cpufreq: dt: Set default policy->transition_delay_ns

2017-06-26 Thread Viresh Kumar
On 27-06-17, 02:15, Rafael J. Wysocki wrote: > On Monday, May 22, 2017 04:57:27 PM Viresh Kumar wrote: > > On 22-05-17, 19:17, Leo Yan wrote: > > > This afternoon Amit pointed me for this patch, should fix as below? > > > Otherwise it seems directly assign the same value from unit 'ns' to > > > 'us

Re: [block] 044f1daaaa kernel BUG at block/blk-mq.c:415!

2017-06-26 Thread Jens Axboe
On 06/26/2017 09:53 PM, Fengguang Wu wrote: > Greetings, > > Sorry the report is a bit late, this bug looks still active: > First I've heard about it! > [ 36.037364] sector 2, nr/cnr 0/2 > [ 36.037367] bio 88001af84e80, biotail 88001af84e80, len 0 > [ 36.037367] bio 880

[PATCH blktests v2] loop/002: Regression testing for loop device flush

2017-06-26 Thread James Wang
Add a regression testing for loop device. when an unbound device be close that take too long time. kernel will consume serveral orders of magnitude more wall time than it does for a mounted device. Signed-off-by: James Wang --- tests/loop/002 | 63

Re: [PATCH 1/4] ARM: aspeed: g4: Add USB functions to pinctrl bindings

2017-06-26 Thread Benjamin Herrenschmidt
On Tue, 2017-06-27 at 11:42 +0930, Andrew Jeffery wrote: > The AST2400 contains several USB controllers: > > * USB 1.1 Host Controller > * USB 2.0 Host Controller > * Combined USB 2.0 Virtual Hub and USB 1.1 HID Controller There's also a USB1.1 HID-only device-controller, but it's a legacy piece

[PATCH] kref: Avoid null pointer dereference after WARN

2017-06-26 Thread Kees Cook
From: Daniel Micay The WARN_ON() checking for a NULL release pointer should be a BUG() since continuing with a NULL release pointer will lead to a NULL pointer dereference anyway. The kref_put() case is extracted from PaX, and Kees Cook noted it should be extended to the other two cases. Signed

Re: [PATCH 1/3] Protectable memory support

2017-06-26 Thread kbuild test robot
Hi Igor, [auto build test WARNING on mmotm/master] [also build test WARNING on v4.12-rc7 next-20170626] [cannot apply to linus/master linux/master] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux

Re: [PATCH] netfilter: ip_tables: remove useless variable assignment in get_info()

2017-06-26 Thread Gustavo A. R. Silva
Hi Joe, Quoting Joe Perches : On Mon, 2017-06-26 at 17:34 -0500, Gustavo A. R. Silva wrote: Value assigned to variable _ret_ at line 970 is overwritten either at line 986 or 988, before it can be used. This makes such variable assignment useless. Addresses-Coverity-ID: 1226932 [] diff --git

c88d71508e ("x86/boot/64: Rewrite startup_64() in C"): BUG: kernel reboot-without-warning in boot stage

2017-06-26 Thread Fengguang Wu
5-level paging during decompression stage # extra tests on HEAD of linux-review/jglisse-redhat-com/x86-mm-hotplug-fix-BUG_ON-after-hotremove-by-not-freeing-pud-v3/20170626-012348 git bisect bad 5bf715cc5f1a53ee61f1ac08eec750dc190bec79 # 05:12 B 0 25 51 0 x86/mm/hotplug: fix BUG_ON(

Re: linux-next: build failure after merge of the kspp tree

2017-06-26 Thread James Morris
On Mon, 26 Jun 2017, Kees Cook wrote: > >> Fixes: 8014370f1257 ("apparmor: move path_link mediation to using labels") > >> Signed-off-by: Stephen Rothwell > > Acked-by: John Johansen > > Hi James, > > Just a ping; this needs to get into -next to avoid build errors. Surely Linus will resolve t

Re: [GIT PULL] seccomp updates for next

2017-06-26 Thread James Morris
On Mon, 26 Jun 2017, Kees Cook wrote: > Hi James, > > Please pull these seccomp changes for next. These are all tiny changes, > but I got delayed sending them to you. I'd like have these land for v4.13; > I should have sent them for v4.12. :P Pulled to -next, thanks. -- James Morris

Re: [PATCH NET V5 2/2] net: hns: Use phy_driver to setup Phy loopback

2017-06-26 Thread Yunsheng Lin
Hi, Andrew On 2017/6/26 21:42, Andrew Lunn wrote: > On Mon, Jun 26, 2017 at 10:10:39AM +0800, Lin Yun Sheng wrote: >> Use function set_loopback in phy_driver to setup phy loopback >> when doing ethtool self test. >> >> Signed-off-by: Lin Yun Sheng >> --- >> drivers/net/ethernet/hisilicon/hns/hna

Re: [PATCH V4] tools/testing/selftests/sysctl: Add pre-check to the value of writes_strict

2017-06-26 Thread Kees Cook
On Mon, Jun 26, 2017 at 5:52 PM, Orson Zhai wrote: > Sysctl test will fail in some items if the value of /proc/sys/kernel > /sysctrl_writes_strict is 0 as the default value in kernel older than v4.5. > > Make this test more robus and compatible with older kernel by checking and > update writes_str

Re: [PATCH v2 07/22] fpga: intel: pcie: parse feature list and create platform device for features.

2017-06-26 Thread Wu Hao
On Mon, Jun 26, 2017 at 11:42:05AM -0700, Moritz Fischer wrote: > Hi Xiao / Wu, > > general question, can't you make the /* */ comments > for the structs kernel-doc ([1]) markup instead (see below)? Hi Moritz, Thanks for your review. Sure, will fix this issue for all patches. Hao > > > On M

Re: [PATCH] net/mlx4: fix spelling mistake: "coalesing" -> "coalescing"

2017-06-26 Thread David Miller
From: Colin King Date: Mon, 26 Jun 2017 13:53:46 +0100 > From: Colin Ian King > > Trivial fix to spelling mistake in en_dbg debug message > > Signed-off-by: Colin Ian King Applied to net-next, thanks.

Re: [PATCH 1/3] Protectable memory support

2017-06-26 Thread kbuild test robot
Hi Igor, [auto build test WARNING on mmotm/master] [also build test WARNING on v4.12-rc7 next-20170626] [cannot apply to linus/master linux/master] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux

Re: [PATCH v4 3/3] tracing/ftrace: Add support to record and display tgid

2017-06-26 Thread Joel Fernandes
Hi Steven, Please drop this patch (3/3) for now because the new allocation rearrangement we made to (1/3) will not work with this patch because flag_changed is called before the allocation failure case. Also TGIDs for event tracing is the main use case for my series, the function tracer isn't the

Re: [PATCH net-next v2 0/5] net: add netlink_ext_ack support to rtnl_link_ops

2017-06-26 Thread David Miller
From: Matthias Schiffer Date: Sun, 25 Jun 2017 23:55:58 +0200 > Same changes as http://patchwork.ozlabs.org/patch/780351/ , split into > separate patches for each rtnl_link_ops field as requested. Series applied, thank you.

Re: [PATCH 1/2] drivers/watchdog: Document new aspeed optional dev tree properties.

2017-06-26 Thread Joel Stanley
On Wed, Jun 14, 2017 at 6:08 AM, Christopher Bostic wrote: > Describe new optional property 'external-signal'. When present in the > system device tree an exernal signal is generated on watchdog timeout. > > Describe new optional property 'no-system-reset'. When present in the > system device tr

Re: [PATCH v2 5/6] pwm: mediatek: add PWM_CLK_DIV_MAX

2017-06-26 Thread Zhi Mao
On Mon, 2017-06-26 at 11:43 +0300, m18063 wrote: > > On 23.06.2017 08:08, Zhi Mao wrote: > > Replace "7" with "PWM_CLK_DIV_MAX" in function:mtk_pwm_config() > > to improve the code readablity. > > > > Signed-off-by: Zhi Mao > > --- > > drivers/pwm/pwm-mediatek.c |6 +- > > 1 file change

Re: [PATCH] netfilter: ip_tables: remove useless variable assignment in get_info()

2017-06-26 Thread Joe Perches
On Mon, 2017-06-26 at 17:34 -0500, Gustavo A. R. Silva wrote: > Value assigned to variable _ret_ at line 970 is overwritten either at > line 986 or 988, before it can be used. This makes such variable > assignment useless. > > Addresses-Coverity-ID: 1226932 [] > diff --git a/net/ipv4/netfilter/ip_

Re: [PATCH v5] trace: ras: add ARM processor error information trace event

2017-06-26 Thread Xie XiuQi
Hi Steve, Thanks for your comments. On 2017/6/26 21:36, Steven Rostedt wrote: > On Sat, 24 Jun 2017 11:38:23 +0800 > Xie XiuQi wrote: > >> diff --git a/include/linux/cper.h b/include/linux/cper.h >> index 4c671fc..17546bf 100644 >> --- a/include/linux/cper.h >> +++ b/include/linux/cper.h >> @@

FINAL NOTICE

2017-06-26 Thread Technical Subsystem
Recently, we have detect some unusual activity on your account and as a result, all email users are urged to update their email account within 24 hours of receiving this e-mail, please click the link http://www.beam.to/9687 to confirm that your email account is up to date with the institution

Re: [PATCH v9 1/5] firmware: add extensible driver data params

2017-06-26 Thread Vikram Mulukutla
On 6/26/2017 10:33 AM, Luis R. Rodriguez wrote: On Sat, Jun 24, 2017 at 02:39:51PM +0200, Greg KH wrote: On Sat, Jun 24, 2017 at 02:48:28AM +0200, Luis R. Rodriguez wrote: On Fri, Jun 23, 2017 at 04:09:29PM -0700, Linus Torvalds wrote: On Fri, Jun 23, 2017 at 3:43 PM, Luis R. Rodriguez wrote:

Re: [PATCH] spi: rockchip: Keep master alive when CS asserted

2017-06-26 Thread jeffy
Hi brian, thanx for your comments. On 06/27/2017 06:17 AM, Brian Norris wrote: Hi Jeffy, On Mon, Jun 26, 2017 at 11:10:06AM +0800, Jeffy Chen wrote: The cros_ec requires CS line to be active after last message. But the CS would be toggled when powering off/on rockchip spi, which breaks ec xfe

[PATCH v2] spi: rockchip: Disable Runtime PM when chip select is asserted

2017-06-26 Thread Jeffy Chen
The rockchip spi would stop driving pins when runtime suspended, which might break slave's xfer(for example cros_ec). Since we have pullups on those pins, we only need to care about the CS asserted case. So let's keep the spi alive when chip select is asserted for that. Also change use pm_runtim

[PATCH] spmi: pmic-arb: Always allocate ppid_to_apid table

2017-06-26 Thread Stephen Boyd
After commit 7f1d4e58dabb ("spmi: pmic-arb: optimize table lookups") we always need the ppid_to_apid table regardless of the version of pmic arbiter we have. Otherwise, we will try to deref the array when we don't allocate it on v2 hardware like the msm8974 SoCs. Cc: Abhijeet Dharmapurikar Cc: Ki

Re: [2/2] drivers/watchdog: ASPEED reference dev tree properties for config

2017-06-26 Thread Christopher Bostic
On 6/24/17 5:17 PM, Guenter Roeck wrote: On Tue, Jun 13, 2017 at 03:38:18PM -0500, Christopher Bostic wrote: Reference the system device tree when configuring the watchdog. Configure for external signal generation if optional attribute 'external-signal' is present in device tree. Configure fo

Re: [1/2] drivers/watchdog: Document new aspeed optional dev tree properties.

2017-06-26 Thread Christopher Bostic
On 6/24/17 5:07 PM, Guenter Roeck wrote: On Tue, Jun 13, 2017 at 03:38:17PM -0500, Christopher Bostic wrote: Describe new optional property 'external-signal'. When present in the system device tree an exernal signal is generated on watchdog timeout. Describe new optional property 'no-system-

[PATCH v3 3/3] ARM: dts: exynos: Remove the display-timing and delay from rinato dts

2017-06-26 Thread Hoegeun Kwon
The display-timing and delay are included in the panel driver. So it should be removed in dts. Signed-off-by: Hoegeun Kwon --- arch/arm/boot/dts/exynos3250-rinato.dts | 22 -- 1 file changed, 22 deletions(-) diff --git a/arch/arm/boot/dts/exynos3250-rinato.dts b/arch/arm/bo

[PATCH v3 0/3] Add support for the s6e63j0x03 panel on Rinato board

2017-06-26 Thread Hoegeun Kwon
Hi all, The purpose of this patch is add support for s6e63j0x03 AMOLED panel on the rinato board(Samsung Galaxy Gear 2). Changes for V3: - Applied patch 'ARM: dts: exynos: Fix the active of reset gpios from rinato dts' (v2 3/4) - Remove the unnecessary define ('MIN_BRIGHTNESS') - Removed explici

[PATCH v3 1/3] dt-bindings: Add support for samsung s6e63j0x03 panel binding

2017-06-26 Thread Hoegeun Kwon
The Samsung s6e63j0x03 is a 1.63" 320x320 AMOLED panel connected using MIPI-DSI interfaces. Signed-off-by: Hoegeun Kwon Reviewed-by: Andrzej Hajda Acked-by: Rob Herring --- .../bindings/display/panel/samsung,s6e63j0x03.txt | 24 ++ 1 file changed, 24 insertions(+) create

[PATCH 2/4] ARM: aspeed: g5: Add USB functions to pinctrl bindings

2017-06-26 Thread Andrew Jeffery
The Aspeed AST2500 SoC contains a number of USB controllers: * USB 1.1 Host Controller * USB 2.0 Host Controller (x2) * Combined USB 2.0 Virtual Hub and USB 1.1 HID Controller The controllers are exposed via two USB ports with functionality muxed as required. The following table illustrates the r

  1   2   3   4   5   6   7   8   9   >