Re: [PATCH] w1: w1-gpio: Convert to use GPIO descriptors

2017-12-08 Thread Linus Walleij
On Tue, Dec 5, 2017 at 11:40 PM, Evgeniy Polyakov wrote: > Sorry for late reply It's cool. Much to do. > 20.11.2017, 11:47, "Linus Walleij" : >> The w1 master driver includes a complete open drain emulation >> reimplementation among other things. >>

Re: [PATCH v2] mm: terminate shrink_slab loop if signal is pending

2017-12-08 Thread Michal Hocko
On Thu 07-12-17 17:23:05, Suren Baghdasaryan wrote: > Slab shrinkers can be quite time consuming and when signal > is pending they can delay handling of the signal. If fatal > signal is pending there is no point in shrinking that process > since it will be killed anyway. The thing is that we are

Re: [PATCH v3 2/2] clocksource: sprd: Add timer driver for Spreadtrum SC9860 platform

2017-12-08 Thread Baolin Wang
Hi Daniel, On 8 December 2017 at 14:58, Daniel Lezcano wrote: > On 08/12/2017 06:03, Baolin Wang wrote: >> The Spreadtrum SC9860 platform will use the architected timers as local >> clock events, but we also need a broadcast timer device to wakeup the >> cpus when the

Re: [PATCH 0/2] mm: introduce MAP_FIXED_SAFE

2017-12-08 Thread Michal Hocko
On Thu 07-12-17 11:57:27, Matthew Wilcox wrote: > On Thu, Dec 07, 2017 at 11:14:27AM -0800, Kees Cook wrote: > > On Wed, Dec 6, 2017 at 9:46 PM, Michael Ellerman > > wrote: > > > Matthew Wilcox writes: > > >> So, just like we currently say "exactly one

Re: WARNING in x86_emulate_insn

2017-12-08 Thread Tianyu Lan
2017-12-08 16:44 GMT+08:00 Ingo Molnar : > > * Tianyu Lan wrote: > >> Hi Jim: >> Thanks for your help. >> >> 2017-12-08 5:25 GMT+08:00 Jim Mattson : >> > Try disabling the module parameter, "unrestricted_guest." Make sure >>

Re: [PATCH 1/2] mm: NUMA stats code cleanup and enhancement

2017-12-08 Thread Michal Hocko
On Fri 08-12-17 16:38:46, kemi wrote: > > > On 2017年11月30日 17:45, Michal Hocko wrote: > > On Thu 30-11-17 17:32:08, kemi wrote: > > > Do not get me wrong. If we want to make per-node stats more optimal, > > then by all means let's do that. But having 3 sets of counters is just > > way to much.

[PATCH] cgroup: avoid cgroup root name longer than max

2017-12-08 Thread Ma Shimiao
cgroup root name has max length limit, we should avoid copying longer name than that to the name. Signed-off-by: Ma Shimiao --- kernel/cgroup/cgroup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/cgroup/cgroup.c

Re: [PATCH v2 1/3] x86/boot: add acpi rsdp address to setup_header

2017-12-08 Thread Ingo Molnar
* Juergen Gross wrote: > >> +Offset/size: 0x268/8 > >> +Protocol: 2.14+ > >> + > >> + This field can be set by the boot loader to tell the kernel the > >> + physical address of the ACPI RSDP table. > >> + > >> + A value of 0 indicates the kernel should fall back to the

Re: [PATCH] sched/autogroup: move sched.h include

2017-12-08 Thread Petr Mladek
On Fri 2017-12-08 17:24:22, Sergey Senozhatsky wrote: > Move local "sched.h" include to the bottom. sched.h defines > several macros that are getting redefined in ARCH-specific > code, for instance, finish_arch_post_lock_switch() and > prepare_arch_switch(), so we need ARCH-specific definitions >

Re: [PATCH 0/2] ARM: sun8i: a83t: Enable EMAC Ethernet

2017-12-08 Thread Maxime Ripard
On Fri, Dec 08, 2017 at 03:31:55PM +0800, Chen-Yu Tsai wrote: > Hi, > > This is my spin on enabling Ethernet on the A83T. It consists of > Corentin's dtsi patch plus my board level patch. There's nothing > really special about them. > > ChenYu Applied both, thanks! Maxime -- Maxime Ripard,

Re: WARNING in x86_emulate_insn

2017-12-08 Thread Wanpeng Li
2017-12-08 16:28 GMT+08:00 Tianyu Lan : > Hi Jim: > Thanks for your help. > > 2017-12-08 5:25 GMT+08:00 Jim Mattson : >> Try disabling the module parameter, "unrestricted_guest." Make sure >> that the module parameter,

Re: [PATCH v4 72/73] xfs: Convert mru cache to XArray

2017-12-08 Thread Byungchul Park
On 12/8/2017 4:25 PM, Dave Chinner wrote: On Fri, Dec 08, 2017 at 01:45:52PM +0900, Byungchul Park wrote: On Fri, Dec 08, 2017 at 09:22:16AM +1100, Dave Chinner wrote: On Thu, Dec 07, 2017 at 11:06:34AM -0500, Theodore Ts'o wrote: On Wed, Dec 06, 2017 at 06:06:48AM -0800, Matthew Wilcox

[PATCH net-next v4 2/2] net: thunderx: add timestamping support

2017-12-08 Thread Aleksey Makarov
From: Sunil Goutham This adds timestamping support for both receive and transmit paths. On the receive side no filters are supported i.e either all pkts will get a timestamp appended infront of the packet or none. On the transmit side HW doesn't support timestamp insertion

[PATCH net-next v4 0/2] net: thunderx: add support for PTP clock

2017-12-08 Thread Aleksey Makarov
This series adds support for IEEE 1588 Precision Time Protocol to Cavium ethernet driver. The first patch adds support for the Precision Time Protocol Clocks and Timestamping coprocessor (PTP) found on Cavium processors. It registers a new PTP clock in the PTP core and provides functions to use

[PATCH net-next v4 1/2] net: add support for Cavium PTP coprocessor

2017-12-08 Thread Aleksey Makarov
From: Radoslaw Biernacki This patch adds support for the Precision Time Protocol Clocks and Timestamping hardware found on Cavium ThunderX processors. Signed-off-by: Radoslaw Biernacki Signed-off-by: Aleksey Makarov ---

Re: [PATCH 4.14 00/75] 4.14.5-stable review

2017-12-08 Thread Greg Kroah-Hartman
On Thu, Dec 07, 2017 at 12:55:49PM -0800, Guenter Roeck wrote: > On Thu, Dec 07, 2017 at 02:07:22PM +0100, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.14.5 release. > > There are 75 patches in this series, all will be posted as a response > > to this one.

Re: [PATCH] tpm: return a TPM_RC_COMMAND_CODE response if a command isn't implemented

2017-12-08 Thread Jarkko Sakkinen
On Thu, Dec 07, 2017 at 05:56:17PM +, Roberts, William C wrote: > Reviewed-by: William Roberts Thanks I'll add this. /Jarkko

[PATCH] crypto: AF_ALG - fix race accessing cipher request

2017-12-08 Thread Stephan Müller
Hi Herbert, This patch would go on top of 7d2c3f54e6f646887d019faa45f35d6fe9fe82ce "crypto: af_alg - remove locking in async callback" found in Linus' tree which is not yet in the cryptodev-2.6 tree. In addition, this patch is already on top of the other patches discussed on this list fixing

Re: [PATCH v6 0/2] Fix corner cases with disabling CLKRUN in tpm_tis

2017-12-08 Thread Jarkko Sakkinen
On Wed, Dec 06, 2017 at 05:38:08PM -0800, Azhar Shaikh wrote: > Changes from v1: > - Patch 1: "tpm: Keep CLKRUN enabled throughout the duration of > transmit_cmd()" > - Add NULL checks before calling clk_toggle callback > - Use IS_ENABLED instead of ifdef in tpm_tis_clkrun_toggle() > - Do

[kernel-hardening][PATCH v6 1/3] arm: mm: dump: make page table dumping reusable

2017-12-08 Thread Jinbum Park
This patch refactors the arm page table dumping code, so multiple tables may be registered with the framework. This patch refers below commits of arm64. (4674fdb9f149 ("arm64: mm: dump: make page table dumping reusable")) (4ddb9bf83349 ("arm64: dump: Make ptdump debugfs a separate option"))

Re: a racy access flag clearing warning when calling mmap system call

2017-12-08 Thread Catalin Marinas
On Fri, Dec 08, 2017 at 11:19:52AM +0800, chenjiankang wrote: > 在 2017/12/7 21:23, Will Deacon 写道: > > diff --git a/arch/arm64/include/asm/pgtable.h > > b/arch/arm64/include/asm/pgtable.h > > index 149d05fb9421..8fe103b1e101 100644 > > --- a/arch/arm64/include/asm/pgtable.h > > +++

[kernel-hardening][PATCH v6 2/3] arm: mm: dump: make the page table dumping seq_file optional

2017-12-08 Thread Jinbum Park
This patch makes the page table dumping seq_file optional. It makes the page table dumping code usable for other cases. This patch refers below commit of arm64. (ae5d1cf358a5 ("arm64: dump: Make the page table dumping seq_file optional")) Reviewed-by: Kees Cook Tested-by:

[PATCH v9 0/6] stm32 clocksource driver rework

2017-12-08 Thread Benjamin Gaignard
version 9: - rebased on timer/master where timer_of_cleanup() exist - fix the comments done by Daniel on v8 - reword commits message to be more explicit about 16 bits counter issue - add one patch about copyrights and licences version 8: - rebased on timers/core - change timer_of_exit()

Re: [PATCH v2 5/5] perf-probe: Support escaped character in parser

2017-12-08 Thread Thomas-Mich Richter
On 12/07/2017 08:21 AM, Masami Hiramatsu wrote: > Support the special characters escaped by '\' in parser. > This allows user to specify versions directly like below. > > = > # ./perf probe -x /lib64/libc-2.25.so malloc_get_state\\@GLIBC_2.2.5 > Added new event: >

Re: [PATCH v2 2/3] x86/acpi: take rsdp address for boot params if available

2017-12-08 Thread Juergen Gross
On 08/12/17 12:26, Ingo Molnar wrote: > > * Juergen Gross wrote: > >> On 08/12/17 08:05, Ingo Molnar wrote: >>> >>> * Juergen Gross wrote: >> >> ... >> >>> acpi_physical_address acpi_arch_get_root_pointer(void) >>> { >>> return

Re: [PATCH] powerpc/xmon: use ARRAY_SIZE on various array sizing calculations

2017-12-08 Thread Michael Ellerman
Balbir Singh writes: > On Thu, Dec 7, 2017 at 10:01 PM, Colin King wrote: >> From: Colin Ian King >> >> Use the ARRAY_SIZE macro on several arrays to determine their size. >> Improvement suggested by coccinelle. > >

Re: [PATCH v2 0/5] perf-probe: Improve probing on versioned symbols

2017-12-08 Thread Thomas-Mich Richter
On 12/07/2017 08:19 AM, Masami Hiramatsu wrote: > Hi, > > Here is the 2nd version of the series for probing on > versioned symbols in libraries. This includes 5 patches > to fix the issues discussed on perf-users ML > (https://www.spinics.net/lists/linux-perf-users/msg04637.html) > > The first

Re: [PATCH -mm] mm, swap: Fix race between swapoff and some swap operations

2017-12-08 Thread Huang, Ying
Minchan Kim writes: > On Fri, Dec 08, 2017 at 04:41:38PM +0800, Huang, Ying wrote: >> Minchan Kim writes: >> >> > On Fri, Dec 08, 2017 at 01:41:10PM +0800, Huang, Ying wrote: >> >> Minchan Kim writes: >> >> >> >> > On Thu, Dec 07,

[PATCH 5/6] staging: fsl-dpaa2/eth: Compute needed headroom per frame

2017-12-08 Thread Ioana Radulescu
For non-linear skbs we build scatter-gather frames and allocate a new buffer for the S/G table in which we reserve the required headroom, so the actual skb headroom size doesn't matter. Rather than use a one-size-fits-all approach, decide when to enforce headroom requirements on a frame by frame

[PATCH 0/6] staging: fsl-dpaa2/eth: Frame buffer optimizations

2017-12-08 Thread Ioana Radulescu
This patchset continues the work related to frame buffer layout. The first two patches fix an issue and simplify some rather convoluted formulas introduced by a previous commit. The third adds a new counter for TX skb reallocations due to insufficient headroom. This helped us notice that most of

[PATCH 1/6] staging: fsl-dpaa2/eth: Fix access to FAS field

2017-12-08 Thread Ioana Radulescu
Commit 4b2d9fe87950 ("staging: fsl-dpaa2/eth: Extra headroom in RX buffers") removes the software annotation (SWA) area from the RX buffer layout, as it's not used by anyone, but fails to update the macros for accessing hardware annotation (HWA) fields, which is right after the SWA in the buffer

[PATCH 4/6] staging: fsl-dpaa2/eth: Don't enable FAS on Tx

2017-12-08 Thread Ioana Radulescu
For Tx confirmed frames that have an error indication in the frame descriptor, we look at the Frame Annotation Status field (in the buffer headroom) for details on the root cause and then print a debug message with that information. While useful in initial development stages, it doesn't bring

[PATCH 2/6] staging: fsl-dpaa2/eth: Don't set netdev->needed_headroom

2017-12-08 Thread Ioana Radulescu
Commit 4b2d9fe87950 ("staging: fsl-dpaa2/eth: Extra headroom in RX buffers") tried to avoid the performance penalty of doing skb reallocations in the network stack for IP forwarded frames between two DPAA2 Ethernet interfaces. This led to a (too) complicated formula that relies on the stack's

[PATCH 6/6] staging: fsl-dpaa2/eth: Make Tx buffer alignment optional

2017-12-08 Thread Ioana Radulescu
Aligning the Tx buffers at 64B is a performance optimization recommendation, not a hard requirement. Make optional the alignment of Tx FD buffers, without enforcing a reallocation in case there is not enough headroom for it. On Rx, we keep allocating buffers with enough headroom to allow Tx

Re: [RFC] Linux Lab: lightweight board farm for daily kernel development and testing

2017-12-08 Thread cee1
Hi Zhangjin, Cool~ With Docker all necessary bits are encapsulated in images, which saves lots of time of setting up a development environment. The online "web console", http://tinylab.cloud:6080/labs/, makes it further more convenient. 2017-12-08 20:29 GMT+08:00 Wu Zhangjin

Re: [PATCH v8 2/2] media: i2c: Add the ov7740 image sensor driver

2017-12-08 Thread Philippe Ombredanne
Wenyou, On Fri, Dec 8, 2017 at 2:55 AM, Wenyou Yang wrote: > The ov7740 (color) image sensor is a high performance VGA CMOS > image snesor, which supports for output formats: RAW RGB and YUV > and image sizes: VGA, and QVGA, CIF and any size smaller. > > Signed-off-by:

Re: [PATCH] LDT improvements

2017-12-08 Thread Andy Lutomirski
> On Dec 8, 2017, at 1:34 AM, Thomas Gleixner wrote: > >> On Fri, 8 Dec 2017, Ingo Molnar wrote: >> * Andy Lutomirski wrote: >>> I don't love mucking with user address space. I'm also quite nervous about >>> putting it in our near anything that could

Re: [RFC PATCH v3 1/7] ktask: add documentation

2017-12-08 Thread Daniel Jordan
On 12/08/2017 07:43 AM, Michal Hocko wrote: On Wed 06-12-17 15:32:48, Daniel Jordan wrote: On 12/06/2017 09:35 AM, Michal Hocko wrote: [...] There is also no mention about other characteristics (e.g. power management), resource isloataion etc. So > let me ask again. How do you control that

Re: [PATCH v9 4/6] clocksource: stm32: add clocksource support

2017-12-08 Thread Daniel Lezcano
On 08/12/2017 12:32, Benjamin Gaignard wrote: > The stm32 timer hardware is currently only used as a clock event device, > but it can be utilized as a clocksource as well. > > Implement this by enabling the free running counter in the hardware block > and converting the clock event part from a

Re: [PATCH] dt-bindings: at24/eeprom: add an undocumented compatible string

2017-12-08 Thread Javier Martinez Canillas
On Fri, Dec 8, 2017 at 2:10 PM, Bartosz Golaszewski wrote: > 2017-12-08 1:03 GMT+01:00 Javier Martinez Canillas : >> Hello Rob and Bartosz, >> >> On Thu, Dec 7, 2017 at 11:50 PM, Rob Herring wrote: >>> On Wed, Dec 06, 2017 at 11:12:19AM +0100,

Re: [PATCH V3] ACPI / GED: unregister interrupts during shutdown

2017-12-08 Thread Rafael J. Wysocki
On Fri, Dec 8, 2017 at 5:40 AM, Sinan Kaya wrote: > Some GED interrupts could be pending by the time we are doing a reboot. > > Even though GED driver uses devm_request_irq() to register the interrupt > handler, the handler is not being freed on time during a shutdown since

Re: [PATCH v1 2/2] drm/tinydrm: add driver for ST7735R panels

2017-12-08 Thread Noralf Trønnes
Den 06.12.2017 19.27, skrev Noralf Trønnes: Den 29.11.2017 04.01, skrev David Lechner: This adds a new driver for Sitronix ST7735R display panels. This has been tested using an Adafruit 1.8" TFT. Signed-off-by: David Lechner --- diff --git

[PATCH 4/6] ARM: configs: multi_v7: add stm32 support

2017-12-08 Thread Ludovic Barre
From: Ludovic Barre This patch adds stm32 support to multi_v7_defconfig Signed-off-by: Ludovic Barre --- arch/arm/configs/multi_v7_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/configs/multi_v7_defconfig

Re: [PATCH v2 net-next 4/4] bpftool: implement cgroup bpf operations

2017-12-08 Thread Roman Gushchin
On Thu, Dec 07, 2017 at 02:23:06PM -0800, Jakub Kicinski wrote: > On Thu, 7 Dec 2017 18:39:09 +, Roman Gushchin wrote: > > This patch adds basic cgroup bpf operations to bpftool: > > cgroup list, attach and detach commands. > > > > Usage is described in the corresponding man pages, > > and

Re: [PATCH v3 17/33] nds32: VDSO support

2017-12-08 Thread Mark Rutland
On Fri, Dec 08, 2017 at 07:54:42PM +0800, Greentime Hu wrote: > 2017-12-08 18:21 GMT+08:00 Mark Rutland : > > On Fri, Dec 08, 2017 at 05:12:00PM +0800, Greentime Hu wrote: > >> +static int grab_timer_node_info(void) > >> +{ > >> + struct device_node *timer_node; > >> + >

RE: [Regression 4.15-rc2] New messages `tpm tpm0: A TPM error (2314) occurred continue selftest`

2017-12-08 Thread Alexander.Steffen
> On Thu, Dec 07, 2017 at 03:56:07PM +, alexander.stef...@infineon.com > wrote: > > > > If these are intentional, it’d be great > > > to give some hint to the user, what effect this has. > > > > I agree that those error messages in their current form are not that > > helpful for the users.

[PATCH] media: v4l: xilinx: Use SPDX-License-Identifier

2017-12-08 Thread Dhaval Shah
SPDX-License-Identifier is used for the Xilinx Video IP and related drivers. Signed-off-by: Dhaval Shah --- drivers/media/platform/xilinx/xilinx-dma.c | 5 + drivers/media/platform/xilinx/xilinx-dma.h | 5 + drivers/media/platform/xilinx/xilinx-tpg.c | 5

AF_ALG: skb limits

2017-12-08 Thread Stephan Mueller
Am Freitag, 8. Dezember 2017, 12:39:06 CET schrieb Jonathan Cameron: Hi Jonathan, > > As a heads up, the other nasties we've found so far are around hitting > limits on the various socket buffers. When you run into those you can end > up with parts of the data to be encrypted going through

Re: [PATCH] futex: use fault_in to avoid infinite loop

2017-12-08 Thread chengjian (D)
On 2017/12/7 5:40, Peter Zijlstra wrote: @@ -3262,6 +3262,8 @@ static int futex_wait_requeue_pi(u32 __user *uaddr, unsigned int flags, SYSCALL_DEFINE2(set_robust_list, struct robust_list_head __user *, head, size_t, len) { + unsigned long address = (unsigned

Re: [RFC PATCH v3 1/7] ktask: add documentation

2017-12-08 Thread Michal Hocko
On Wed 06-12-17 15:32:48, Daniel Jordan wrote: > On 12/06/2017 09:35 AM, Michal Hocko wrote: [...] > > There is also no mention about other > > characteristics (e.g. power management), resource isloataion etc. So > let > > me ask again. How do you control that the parallelized operation > >

Re: [PATCH v2 2/2] uio: Introduce UIO driver dt-binding documentation

2017-12-08 Thread Andrey Zhizhikin
Hello Rob, Thanks for your reply here! > > No. See prior discussions: > > https://lkml.org/lkml/2016/5/18/457 > https://lkml.org/lkml/2017/10/8/238 Just for my clarify; to understand how to move on with the patch: Since UIO is not considered as a real HW and rather a aggregate, which could be

Re: [PATCH v7 15/37] tracing: Add variable support to hist triggers

2017-12-08 Thread Namhyung Kim
Hi Tom, On Wed, Dec 06, 2017 at 04:37:56PM -0600, Tom Zanussi wrote: > Add support for saving the value of a current event's event field by > assigning it to a variable that can be read by a subsequent event. > > The basic syntax for saving a variable is to simply prefix a unique > variable name

[PATCHv5 1/3] x86/boot/compressed/64: Rename pagetable.c to kaslr_64.c

2017-12-08 Thread Kirill A. Shutemov
The name of the file -- pagetable.c -- is misleading: it only contains helpers used for KASLR in 64-bit mode. Let's rename the file to reflect its content. Signed-off-by: Kirill A. Shutemov --- arch/x86/boot/compressed/Makefile| 2 +-

Re: [PATCH] dt-bindings: at24/eeprom: add an undocumented compatible string

2017-12-08 Thread Bartosz Golaszewski
2017-12-08 1:03 GMT+01:00 Javier Martinez Canillas : > Hello Rob and Bartosz, > > On Thu, Dec 7, 2017 at 11:50 PM, Rob Herring wrote: >> On Wed, Dec 06, 2017 at 11:12:19AM +0100, Bartosz Golaszewski wrote: >>> The "atmel,sdp" compatible is reported by

[PATCHv5 0/3] x86: 5-level related changes into decompression code

2017-12-08 Thread Kirill A. Shutemov
Here's few changes to x86 decompression code. The first patch is pure cosmetic change: it gives file with KASLR helpers a proper name. The last two patches bring support of booting into 5-level paging mode if a bootloader put the kernel above 4G. Patch 2/3 handles allocation of space for

[PATCHv5 2/3] x86/boot/compressed/64: Introduce place_trampoline()

2017-12-08 Thread Kirill A. Shutemov
If a bootloader enables 64-bit mode with 4-level paging, we might need to switch over to 5-level paging. The switching requires the disabling paging. It works fine if kernel itself is loaded below 4G. But if the bootloader put the kernel above 4G (not sure if anybody does this), we would lose

Re: [PATCH v7 19/37] tracing: Generalize per-element hist trigger data

2017-12-08 Thread Namhyung Kim
On Wed, Dec 06, 2017 at 04:38:00PM -0600, Tom Zanussi wrote: > Up until now, hist triggers only needed per-element support for saving > 'comm' data, which was saved directly as a private data pointer. > > In anticipation of the need to save other data besides 'comm', add a > new hist_elt_data

Re: [PATCH 1/1] base: power: runtime: Export pm_runtime_get/put_suppliers

2017-12-08 Thread Greg KH
On Fri, Dec 08, 2017 at 06:00:47PM +0530, Vivek Gautam wrote: > The device link allows the pm framework to tie the supplier and > consumer. So, whenever the consumer is powered-on, the supplier > is powered-on first. > > There are however cases in which the consumer wants to power-on > the

[PATCHv5 3/3] x86/boot/compressed/64: Handle 5-level paging boot if kernel is above 4G

2017-12-08 Thread Kirill A. Shutemov
This patch addresses a shortcoming in current boot process on machines that supports 5-level paging. If a bootloader enables 64-bit mode with 4-level paging, we might need to switch over to 5-level paging. The switching requires the disabling paging. It works fine if kernel itself is loaded below

Re: BUG: sleeping function called from invalid context at arch/x86/mm/fault.c:LINE

2017-12-08 Thread Andrey Konovalov
On Fri, Dec 1, 2017 at 9:19 AM, Dmitry Vyukov wrote: > On Thu, Nov 30, 2017 at 9:41 PM, Eric Biggers wrote: >> On Thu, Nov 30, 2017 at 11:55:00AM -0800, syzbot wrote: >>> Call Trace: >>> __dump_stack lib/dump_stack.c:17 [inline] >>>

RE: [PATCH] LDT improvements

2017-12-08 Thread David Laight
From: Andy Lutomirski > Sent: 08 December 2017 13:20 ... > >> - It would also be a cleaner approach all around, and would avoid the > >> fixmap > >> complications and the scheduler muckery. > > > > The error code of such an access is always 0x03. So I added a special > > handler, which checks

[PATCH 3/6] pinctrl: stm32: Add STM32MP157 MPU support

2017-12-08 Thread Ludovic Barre
From: Ludovic Barre This driver consists of 2 controllers due to a hole in mapping: -1 controller for GPIO bankA to K. -1 controller for GPIO bankZ. Signed-off-by: Alexandre Torgue Signed-off-by: Ludovic Barre ---

[PATCH 2/6] ARM: stm32: add initial support for STM32MP157

2017-12-08 Thread Ludovic Barre
From: Ludovic Barre This patch adds initial support of STM32MP157 microprocessor (MPU) based on Arm Cortex-A7. Under new ARCH_STM32_MPU flag we select the needed Cortex-A infrastructure (like gic, timer,...) Signed-off-by: Ludovic Barre ---

[PATCH 0/6] ARM: stm32: add initial STM32MPU support

2017-12-08 Thread Ludovic Barre
From: Ludovic Barre This patch series extends the existing STM32 microcontrollers (MCUs) family to microprocessors (MPUs). The MPU platform (based on Arm Cortex-A) is a continuation of the MCU one (based on Arm Cortex-M) in that it shares a wide number of hardware blocks.

[PATCH 1/6] ARM: stm32: prepare stm32 family to welcome armv7 architecture

2017-12-08 Thread Ludovic Barre
From: Ludovic Barre This patch prepares the STM32 machine for the integration of Cortex-A based microprocessor (MPU), on top of the existing Cortex-M microcontroller family (MCU). Since both MCUs and MPUs are sharing common hardware blocks we can keep using ARCH_STM32 flag

[PATCH 6/6] ARM: dts: stm32: add initial support of stm32mp157c eval board

2017-12-08 Thread Ludovic Barre
From: Ludovic Barre Add support of stm32mp157c evaluation board (part number: STM32MP157C-EV1) split in 2 elements: -Daughter board (part number: STM32MP157C-ED1) which includes CPU, memory and power supply -Mother board (part number: STM32MP157C-EM1) which includes

[PATCH 5/6] ARM: dts: stm32: add stm32mp157c initial support

2017-12-08 Thread Ludovic Barre
From: Ludovic Barre Add stm32mp157c initial support with: -Dual Cortex-A7 -Arm psci, timer, gic -Pinctrl -Uart Signed-off-by: Ludovic Barre --- arch/arm/boot/dts/stm32mp157-pinctrl.dtsi | 172 ++

Re: [PATCH v2 4/5] perf-probe: Find versioned symbols from map

2017-12-08 Thread Masami Hiramatsu
On Fri, 8 Dec 2017 12:08:41 +0100 Thomas-Mich Richter wrote: > On 12/07/2017 08:21 AM, Masami Hiramatsu wrote: > > Find versioned symbols correctly from map. > > Commit d80406453ad4 ("perf symbols: Allow user probes on > > versioned symbols") allows user to find

Re: [PATCH v5 2/4] clk: meson-axg: add clocks dt-bindings required header

2017-12-08 Thread Yixun Lan
On 12/08/17 17:33, Jerome Brunet wrote: > On Thu, 2017-12-07 at 16:10 -0600, Rob Herring wrote: >> On Thu, Dec 07, 2017 at 05:52:58PM +0800, Yixun Lan wrote: >>> From: Qiufang Dai >>> >>> Add the required header for the clocks ID dt-bindings >>> exported from various

Re: boot failure in 4.15-rc2 with afs in the trace

2017-12-08 Thread David Howells
David Howells wrote: > > [1.501264] BUG: unable to handle kernel NULL pointer dereference at > > 6714cfcb > > [1.502335] IP: rxrpc_release+0xd5/0x1c0 > > Is it fixed by current Linus? > > In particular commit c501256406fb19c306504ee1fe41a4ea208d4245: > >

Re: [PATCH] ASoC: atmel-classd: select correct Kconfig symbol

2017-12-08 Thread Alexandre Belloni
On 05/12/2017 at 23:07:59 +0100, Alexandre Belloni wrote: > On 05/12/2017 at 14:28:28 +0100, Arnd Bergmann wrote: > > On Tue, Dec 5, 2017 at 1:47 PM, Alexandre Belloni > > wrote: > > > On 05/12/2017 at 12:13:41 +0100, Arnd Bergmann wrote: > > > > > > Ok, does

Re: [PATCH] schedule: use unlikely()

2017-12-08 Thread Pavel Machek
On Thu 2017-11-30 08:07:44, Greg KH wrote: > On Thu, Nov 30, 2017 at 02:04:01AM -0500, Mikulas Patocka wrote: > > > > > > On Tue, 28 Nov 2017, Greg KH wrote: > > > > > On Mon, Nov 27, 2017 at 07:05:22PM -0500, Mikulas Patocka wrote: > > > > > > > > > > > > On Sat, 25 Nov 2017, Greg KH wrote:

[RFC] irqchip: add support for LS1021A external interrupt lines

2017-12-08 Thread Rasmus Villemoes
The LS1021A allows inverting the polarity of six interrupt lines IRQ[0:5] via the scfg_intpcr register, effectively allowing IRQ_TYPE_LEVEL_LOW and IRQ_TYPE_EDGE_FALLING for those. We just need to check the type, set the relevant bit in INTPCR accordingly, and fixup the type argument before

Re: [PATCH V6 4/7] OF: properties: Implement get_match_data() callback

2017-12-08 Thread Sinan Kaya
On 12/8/2017 4:11 AM, Lothar Waßmann wrote: >> While implementing the ACPI piece, I have to convert an unsigned long to >> (const void *) in ACPI code so that the APIs are compatible. >> > Just one more remark: Do you need write access to the data the pointer > returned by device_get_match_data()

RE: [PATCH 0/2] mm: introduce MAP_FIXED_SAFE

2017-12-08 Thread David Laight
From: Michael Ellerman > Sent: 08 December 2017 11:08 ... > If we had a time machine, the right set of flags would be: > > - MAP_FIXED: don't treat addr as a hint, fail if addr is not free > - MAP_REPLACE: replace an existing mapping (or force or clobber) > > But the two were conflated for

[PATCH] sched/autogroup: move sched.h include

2017-12-08 Thread Sergey Senozhatsky
Move local "sched.h" include to the bottom. sched.h defines several macros that are getting redefined in ARCH-specific code, for instance, finish_arch_post_lock_switch() and prepare_arch_switch(), so we need ARCH-specific definitions to come in first. Suggested-by: Martin Schwidefsky

Re: Traversing XFS mounted VM puts process in D state

2017-12-08 Thread Dinesh Pathak
On Fri, Dec 8, 2017 at 7:08 AM, Dave Chinner wrote: > [cc linux-...@vger.kernel.org] > > On Fri, Dec 08, 2017 at 06:42:32AM +0530, Dinesh Pathak wrote: >> Hi, We are mounting and traversing one backup of a VM with XFS filesystem. >> Sometimes during traversing, the process

Re: WARNING in x86_emulate_insn

2017-12-08 Thread Ingo Molnar
* Tianyu Lan wrote: > Hi Jim: > Thanks for your help. > > 2017-12-08 5:25 GMT+08:00 Jim Mattson : > > Try disabling the module parameter, "unrestricted_guest." Make sure > > that the module parameter, "emulate_invalid_guest_state" is

[tip:sched/core] sched/fair: Remove unused 'curr' parameter from wakeup_gran

2017-12-08 Thread tip-bot for Cheng Jian
Commit-ID: a555e9d86ee384d9d3cb3310a57aed33f7e053d4 Gitweb: https://git.kernel.org/tip/a555e9d86ee384d9d3cb3310a57aed33f7e053d4 Author: Cheng Jian AuthorDate: Thu, 7 Dec 2017 21:30:43 +0800 Committer: Ingo Molnar CommitDate: Fri, 8 Dec 2017

Re: [PATCH v2 1/3] x86/boot: add acpi rsdp address to setup_header

2017-12-08 Thread Juergen Gross
On 08/12/17 09:48, Ingo Molnar wrote: > > * Juergen Gross wrote: > +Offset/size: 0x268/8 +Protocol: 2.14+ + + This field can be set by the boot loader to tell the kernel the + physical address of the ACPI RSDP table. + + A value of 0

Re: [PATCH v4 2/5] kasan/Makefile: Support LLVM style asan parameters.

2017-12-08 Thread Alexander Potapenko
On Mon, Dec 4, 2017 at 8:17 PM, Paul Lawrence wrote: > From: Andrey Ryabinin > > LLVM doesn't understand GCC-style paramters ("--param asan-foo=bar"), > thus we currently we don't use inline/globals/stack instrumentation > when building the

Re: [PATCH v8 4/6] clocksource: stm32: only use 32 bits timers

2017-12-08 Thread Benjamin Gaignard
2017-12-08 9:34 GMT+01:00 Daniel Lezcano : > On 14/11/2017 09:52, Benjamin Gaignard wrote: >> The clock driving counters is at 90MHz so the maximum period >> for 16 bis counters is around 750 ms > > 728 us > >> which is a short period for a clocksource. > > Which

Re: Multiple oom_reaper BUGs: unmap_page_range racing with exit_mmap

2017-12-08 Thread David Rientjes
On Thu, 7 Dec 2017, David Rientjes wrote: > I'm backporting and testing the following patch against Linus's tree. To > clarify an earlier point, we don't actually have any change from upstream > code that allows for free_pgtables() before the > set_bit(MMF_OOM_SKIP);down_write();up_write()

[PATCH v4 03/12] clk: qcom: Add support for High-Frequency PLLs (HFPLLs)

2017-12-08 Thread Sricharan R
From: Stephen Boyd HFPLLs are the main frequency source for Krait CPU clocks. Add support for changing the rate of these PLLs. Signed-off-by: Stephen Boyd --- drivers/clk/qcom/Makefile| 1 + drivers/clk/qcom/clk-hfpll.c | 253

Re: [PATCH V3 2/2] Xen/PCIback: Implement PCI flr/slot/bus reset with 'reset' SysFS attribute

2017-12-08 Thread Jan Beulich
>>> On 07.12.17 at 23:21, wrote: > Due to the complexity with the PCI lock we cannot do the reset when a > device is bound ('echo $BDF > bind') or when unbound ('echo $BDF > unbind') > as the pci_[slot|bus]_reset also takes the same lock resulting in a > dead-lock. It

[PATCH v4 04/12] clk: qcom: Add HFPLL driver

2017-12-08 Thread Sricharan R
From: Stephen Boyd On some devices (MSM8974 for example), the HFPLLs are instantiated within the Krait processor subsystem as separate register regions. Add a driver for these PLLs so that we can provide HFPLL clocks for use by the system. Cc:

Re: [PATCH 0/1] About MIPS/Loongson maintainance

2017-12-08 Thread Jiaxun Yang
On 2017-12-08 Fri 07:51 +,James Hogan Wrote: > On Fri, Dec 08, 2017 at 12:01:46PM +0800, Jiaxun Yang wrote: > > Also we're going to separate code between > > Loongson2 and Loongson3 since they are becoming more and more > > identical. > > Do you mean you want to combine them? Sorry, my

Re: [PATCH v4 00/12] Krait clocks + Krait CPUfreq

2017-12-08 Thread Sricharan R
oops, got Mike's id wrong. Will just re-post fixing his id. On 12/8/2017 2:59 PM, Sricharan R wrote: > Mostly a resend of the v3 posted by Stephen quite some time back [1] > except for few changes. > Based on reading some feedback from list, > * Dropped the patch "clk: Add safe switch hook"

Re: [PATCH] LDT improvements

2017-12-08 Thread Thomas Gleixner
On Fri, 8 Dec 2017, Ingo Molnar wrote: > * Andy Lutomirski wrote: > > I don't love mucking with user address space. I'm also quite nervous about > > putting it in our near anything that could pass an access_ok check, since > > we're > > totally screwed if the bad guys can

[PATCH v4 12/12] cpufreq: dt: Reintroduce independent_clocks platform data

2017-12-08 Thread Sricharan R
The Platform data was removed earlier by, 'commit eb96924acddc ("cpufreq: dt: Kill platform-data")' since there were no users at that time. Now this is required when the each of the cpu clocks can be scaled independently, which is the case for krait cores. So reintroduce it. Signed-off-by:

[PATCH v3 25/33] nds32: Miscellaneous header files

2017-12-08 Thread Greentime Hu
From: Greentime Hu This patch introduces some miscellaneous header files. Signed-off-by: Vincent Chen Signed-off-by: Greentime Hu --- arch/nds32/include/asm/delay.h | 51 +++

[PATCH v3 29/33] dt-bindings: nds32 CPU Bindings

2017-12-08 Thread Greentime Hu
From: Greentime Hu This patch adds nds32 CPU binding documents. Signed-off-by: Vincent Chen Signed-off-by: Rick Chen Signed-off-by: Zong Li Signed-off-by: Greentime Hu ---

[PATCH v3 30/33] dt-bindings: nds32 SoC Bindings

2017-12-08 Thread Greentime Hu
From: Greentime Hu This patch adds nds32 SoC(AE3XX and AG101P) binding documents. Signed-off-by: Greentime Hu --- .../devicetree/bindings/nds32/andestech-boards | 40 1 file changed, 40 insertions(+) create mode

[PATCH v3 31/33] dt-bindings: interrupt-controller: Andestech Internal Vector Interrupt Controller

2017-12-08 Thread Greentime Hu
From: Greentime Hu This patch adds an irqchip driver document for the Andestech Internal Vector Interrupt Controller. Signed-off-by: Rick Chen Signed-off-by: Greentime Hu --- .../interrupt-controller/andestech,ativic32.txt

RE: [RFC] vfio/type1: Add IOVA_RANGE capability support

2017-12-08 Thread Shameerali Kolothum Thodi
Hi Alex, > -Original Message- > From: Alex Williamson [mailto:alex.william...@redhat.com] > Sent: Thursday, December 07, 2017 4:08 PM > To: Shameerali Kolothum Thodi > Cc: eric.au...@redhat.com; pmo...@linux.vnet.ibm.com; > k...@vger.kernel.org;

Re: [PATCH v3 09/21] fpga: intel-dfl-pci: add enumeration for feature devices

2017-12-08 Thread Wu Hao
On Thu, Dec 07, 2017 at 03:41:41PM -0600, Alan Tull wrote: > On Mon, Nov 27, 2017 at 12:42 AM, Wu Hao wrote: > > > +/* enumerate feature devices under pci device */ > > +static int cci_enumerate_feature_devs(struct pci_dev *pcidev) > > +{ > > + struct cci_drvdata *drvdata

Re: [PATCH] LDT improvements

2017-12-08 Thread Ingo Molnar
* Thomas Gleixner wrote: > On Fri, 8 Dec 2017, Ingo Molnar wrote: > > * Andy Lutomirski wrote: > > > I don't love mucking with user address space. I'm also quite nervous > > > about > > > putting it in our near anything that could pass an access_ok

[PATCH v3 32/33] irqchip: Andestech Internal Vector Interrupt Controller driver

2017-12-08 Thread Greentime Hu
From: Greentime Hu This patch adds the Andestech Internal Vector Interrupt Controller driver. You can find the spec here. Ch4.9 of AndeStar SPA V3 Manual. http://www.andestech.com/product.php?cls=9 Signed-off-by: Rick Chen Signed-off-by: Greentime

[PATCH v3 18/33] nds32: Signal handling support

2017-12-08 Thread Greentime Hu
From: Greentime Hu This patch adds support for signal handling. Signed-off-by: Vincent Chen Signed-off-by: Greentime Hu --- arch/nds32/include/uapi/asm/sigcontext.h | 73 +++ arch/nds32/kernel/signal.c

[PATCH v3 19/33] nds32: Library functions

2017-12-08 Thread Greentime Hu
From: Greentime Hu This patch add support for various library functions. Signed-off-by: Vincent Chen Signed-off-by: Greentime Hu --- arch/nds32/include/asm/string.h | 30 arch/nds32/include/asm/swab.h| 48

<    1   2   3   4   5   6   7   8   9   10   >