Re: [PATCHv2] selftests/x86: Add {,_32,_64} targets

2018-01-18 Thread Shuah Khan
On 01/18/2018 03:26 PM, Dmitry Safonov wrote: > One can only use `make all` or `make _` > as make targets. > `make ` doesn't work as Ingo noticed: > x86> make test_vsyscall > gcc -O2 -g -std=gnu99 -pthread -Wall -no-pie test_vsyscall.c -o > test_vsyscall > /tmp/aBaoo3nb.o: In function

Re: [PATCH 30/35] x86/speculation: Use Indirect Branch Prediction Barrier in context switch

2018-01-18 Thread Tim Chen
On 01/18/2018 05:48 AM, Peter Zijlstra wrote: > >+ /* >+ * Avoid user/user BTB poisoning by flushing the branch >predictor >+ * when switching between processes. This stops one process from >+ * doing spectre-v2 attacks on another process's

[PATCH] drm/vmwgfx: Return boolean instead of integer in vmw_fence_obj_signaled

2018-01-18 Thread Gustavo A. R. Silva
Return statements in functions returning bool should use true/false instead of 1/0. This issue was detected with the help of Coccinelle. Signed-off-by: Gustavo A. R. Silva --- drivers/gpu/drm/vmwgfx/vmwgfx_fence.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [v2,03/11] arm64: Take into account ID_AA64PFR0_EL1.CSV3

2018-01-18 Thread Jon Masters
On 01/09/2018 05:00 AM, Will Deacon wrote: > On Mon, Jan 08, 2018 at 08:06:27PM -0800, Jayachandran C wrote: >> On Mon, Jan 08, 2018 at 05:51:00PM +, Will Deacon wrote: >>> On Mon, Jan 08, 2018 at 09:40:17AM -0800, Jayachandran C wrote: On Mon, Jan 08, 2018 at 09:20:09AM +, Marc

Re: [PATCH 4.4 045/115] sched/deadline: Throttle a constrained deadline task activated after the deadline

2018-01-18 Thread Ben Hutchings
On Mon, 2017-12-18 at 16:48 +0100, Greg Kroah-Hartman wrote: > 4.4-stable review patch.  If anyone has any objections, please let me > know. > > -- > > From: Daniel Bristot de Oliveira > > > [ Upstream commit df8eac8cafce7d086be3bd5cf5a838fa37594dfb ] [...]

[PATCH] drm/amdkfd: Use ARRAY_SIZE macro in kfd_build_sysfs_node_entry

2018-01-18 Thread Gustavo A. R. Silva
Use ARRAY_SIZE instead of dividing sizeof array with sizeof an element. This issue was detected with the help of Coccinelle. Signed-off-by: Gustavo A. R. Silva --- drivers/gpu/drm/amd/amdkfd/kfd_topology.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

linux-next: manual merge of the net-next tree with the net tree

2018-01-18 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the net-next tree got a conflict in: kernel/bpf/verifier.c between commit: 6f16101e6a8b ("bpf: mark dst unknown on inconsistent {s, u}bounds adjustments") from the net tree and commit: f4d7e40a5b71 ("bpf: introduce function calls (verification)")

RE: [PATCH v3] x86/microcode/intel: Extend BDW late-loading with LLC size check

2018-01-18 Thread Luck, Tony
if (c->x86 == 6 && c->x86_model == INTEL_FAM6_BROADWELL_X && c->x86_mask == 0x01 && + llc_size_per_core > 2621440 && c->microcode < 0x0b21) { pr_err_once("Erratum BDF90: late loading with revision < 0x0b21 (0x%x)

Re: [PATCH v2] arm64: Branch predictor hardening for Cavium ThunderX2

2018-01-18 Thread Jon Masters
Hi JC, Will, On 01/18/2018 06:28 PM, Jayachandran C wrote: > On Thu, Jan 18, 2018 at 01:27:15PM -0500, Jon Masters wrote: >> On 01/18/2018 12:56 PM, Jayachandran C wrote: >>> On Thu, Jan 18, 2018 at 01:53:55PM +, Will Deacon wrote: >>> I think in this case we have to choose between crashing

Re: net: r8169: a question of memory barrier in the r8169 driver

2018-01-18 Thread Francois Romieu
Peter Zijlstra : [...] > There is only 1 variable afaict. Memory barriers need at least 2 in > order to be able to do _anything_. I don't get your point: why don't {cur_tx, dirty_tx} qualify as said two variables ? -- Ueimor

Re: net: r8169: a question of memory barrier in the r8169 driver

2018-01-18 Thread Francois Romieu
Jia-Ju Bai : [...] > The function rtl8169_start_xmit reads tp->dirty_tx in TX_FRAGS_READY_FOR: > if (unlikely(!TX_FRAGS_READY_FOR(tp, skb_shinfo(skb)->nr_frags))) { > netif_err(tp, drv, dev, "BUG! Tx Ring full when queue awake!\n"); > goto err_stop_0; >

Re: [PATCH v6 06/36] nds32: Kernel booting and initialization

2018-01-18 Thread Arnd Bergmann
On Mon, Jan 15, 2018 at 6:53 AM, Greentime Hu wrote: I had not looked at this patch in enough detail earlier, sorry about that. It should be easy enough to fix though. > +#ifdef CONFIG_VGA_CONSOLE > +struct screen_info screen_info; > +#endif I would assume that you can't

[PATCH V5 1/2] nvme-pci: introduce RECONNECTING state to mark initializing procedure

2018-01-18 Thread Jianchao Wang
After Sagi's commit (nvme-rdma: fix concurrent reset and reconnect), both nvme-fc/rdma have following pattern: RESETTING- quiesce blk-mq queues, teardown and delete queues/ connections, clear out outstanding IO requests... RECONNECTING - establish new queues/connections and some

Re: [PATCH v2 3/3] tty: Use RCU read lock to iterate tasks and threads in __do_SAK()

2018-01-18 Thread Kirill Tkhai
On 17.01.2018 19:54, Eric W. Biederman wrote: > Kirill Tkhai writes: > >> There were made several efforts to make __do_SAK() >> working in process context long ago, but it does >> not solves the problem completely. Since __do_SAK() >> may take tasklist_lock for a long time,

[PATCH V5 0/2] nvme-pci: fix the timeout case when reset is ongoing

2018-01-18 Thread Jianchao Wang
Hello Please consider the following scenario. nvme_reset_ctrl -> set state to RESETTING -> queue reset_work (scheduling) nvme_reset_work -> nvme_dev_disable -> quiesce queues -> nvme_cancel_request on outstanding requests ---_boundary_

[PATCH V5 2/2] nvme-pci: fixup the timeout case when reset is ongoing

2018-01-18 Thread Jianchao Wang
Look at the following scenario. nvme_reset_ctrl -> set state to RESETTING -> queue reset_work (scheduling) nvme_reset_work -> nvme_dev_disable -> quiesce queues -> nvme_cancel_request on outstanding requests -> set state to RECONNECTING -> nvme initializing

Re: [PATCH v6 02/12] drivers: base: cacheinfo: setup DT cache properties early

2018-01-18 Thread Sudeep Holla
On 17/01/18 18:51, Jeremy Linton wrote: > Hi, > > On 01/17/2018 12:20 PM, Sudeep Holla wrote: >> >> >> On 16/01/18 21:07, Jeremy Linton wrote: >>> Hi, >>> >>> On 01/15/2018 06:33 AM, Sudeep Holla wrote: On Fri, Jan 12, 2018 at 06:59:10PM -0600, Jeremy Linton wrote: > The original

Re: [PATCH v6 08/36] nds32: MMU definitions

2018-01-18 Thread Arnd Bergmann
On Mon, Jan 15, 2018 at 6:53 AM, Greentime Hu wrote: > From: Greentime Hu > > This patch includes virtual memory layout, PHYS_OFFSET is defined as 0x0. It > also includes the 4KB/8KB page size configurations and pte operations. > > Signed-off-by:

Re: [PATCH v6 11/36] nds32: Cache and TLB routines

2018-01-18 Thread Arnd Bergmann
On Mon, Jan 15, 2018 at 6:53 AM, Greentime Hu wrote: > From: Greentime Hu > > This patch contains cache and TLB maintenance functions. > > Signed-off-by: Vincent Chen > Signed-off-by: Greentime Hu

Re: [PATCH V5 1/2] nvme-pci: introduce RECONNECTING state to mark initializing procedure

2018-01-18 Thread Max Gurtovoy
On 1/18/2018 12:10 PM, Jianchao Wang wrote: After Sagi's commit (nvme-rdma: fix concurrent reset and reconnect), both nvme-fc/rdma have following pattern: RESETTING- quiesce blk-mq queues, teardown and delete queues/ connections, clear out outstanding IO requests...

Re: [PATCH v6 10/36] nds32: MMU fault handling and page table management

2018-01-18 Thread Arnd Bergmann
On Mon, Jan 15, 2018 at 6:53 AM, Greentime Hu wrote: > From: Greentime Hu > > This patch includes page fault handler, mmap and fixup implementations. > > Signed-off-by: Vincent Chen > Signed-off-by: Greentime Hu

Re: Missing watchdog after ACPI watchdog creation failure

2018-01-18 Thread Mika Westerberg
On Wed, Jan 17, 2018 at 12:53:41PM +0100, Takashi Iwai wrote: > Unfortunately we couldn't get approval yet, since it's a prototype > machine. In that case, I think the system itself and its ACPI tables should be fixed if possible. Windows relies on that table as well so unless there is something

Re: [PATCH v6 12/36] nds32: Process management

2018-01-18 Thread Arnd Bergmann
On Mon, Jan 15, 2018 at 6:53 AM, Greentime Hu wrote: > +void machine_restart(char *__unused) > +{ > + /* > +* Clean and disable cache, and turn off interrupts > +*/ > + cpu_proc_fin(); > + > + /* > +* Tell the mm system that we are

Re: [PATCH v6 13/36] nds32: IRQ handling

2018-01-18 Thread Arnd Bergmann
On Mon, Jan 15, 2018 at 6:53 AM, Greentime Hu wrote: > From: Greentime Hu > > This patch includes irq related functions and irqchip_init(). > > Signed-off-by: Vincent Chen > Signed-off-by: Greentime Hu

Re: [PATCH v6 15/36] nds32: Device specific operations

2018-01-18 Thread Arnd Bergmann
On Mon, Jan 15, 2018 at 6:53 AM, Greentime Hu wrote: > From: Greentime Hu > > This patch introduces ioremap implementations. > > Signed-off-by: Vincent Chen > Signed-off-by: Greentime Hu Acked-by:

Re: [PATCH v6 20/36] nds32: Signal handling support

2018-01-18 Thread Arnd Bergmann
On Mon, Jan 15, 2018 at 6:53 AM, Greentime Hu wrote: > From: Greentime Hu > > This patch adds support for signal handling. > > Signed-off-by: Vincent Chen > Signed-off-by: Greentime Hu I never feel

Re: [RFC PATCH 2/2] gpio: provide a consumer when requesting a gpio

2018-01-18 Thread Linus Walleij
On Mon, Jan 15, 2018 at 5:24 PM, Ludovic Desroches wrote: > It can be useful for the pinmuxing layer to know which device is > requesting a GPIO. Add a consumer variant for gpiod_request to > reach this goal. > > GPIO chips managed by pin controllers should

[tip:irq/urgent] irq/matrix: Spread interrupts on allocation

2018-01-18 Thread tip-bot for Thomas Gleixner
Commit-ID: a0c9259dc4e1923a98356967ce8b732da1979df8 Gitweb: https://git.kernel.org/tip/a0c9259dc4e1923a98356967ce8b732da1979df8 Author: Thomas Gleixner AuthorDate: Wed, 17 Jan 2018 16:01:47 +0100 Committer: Thomas Gleixner CommitDate: Thu, 18 Jan

Re: [PATCH v6 28/36] nds32: defconfig

2018-01-18 Thread Arnd Bergmann
On Mon, Jan 15, 2018 at 6:53 AM, Greentime Hu wrote: > From: Greentime Hu > > This patch adds nds32 defconfig. > > Signed-off-by: Vincent Chen > Signed-off-by: Greentime Hu Acked-by: Arnd Bergmann

[PATCH -next] of: platform: fix OF node refcount leak

2018-01-18 Thread Sudeep Holla
We need to call of_node_put() for device nodes obtained with of_find_node_by_path(). Fixes: 3aa0582fdb82 ("of: platform: populate /firmware/ node from of_platform_default_populate_init()") Reported-by: Loys Ollivier Cc: Rob Herring Cc: Frank Rowand

Re: [PATCH v6 26/36] nds32: Device tree support

2018-01-18 Thread Arnd Bergmann
On Mon, Jan 15, 2018 at 6:53 AM, Greentime Hu wrote: > From: Greentime Hu > > This patch adds support for device tree. > > Signed-off-by: Vincent Chen > Signed-off-by: Greentime Hu Acked-by: Arnd

Re: [PATCH v6 27/36] nds32: Miscellaneous header files

2018-01-18 Thread Arnd Bergmann
On Mon, Jan 15, 2018 at 6:53 AM, Greentime Hu wrote: > From: Greentime Hu > > This patch introduces some miscellaneous header files. > > Signed-off-by: Vincent Chen > Signed-off-by: Greentime Hu

Re: dangers of bots on the mailing lists was Re: divide error in ___bpf_prog_run

2018-01-18 Thread Dmitry Vyukov
On Wed, Jan 17, 2018 at 11:11 AM, Henrique de Moraes Holschuh wrote: > On Wed, 17 Jan 2018, Dmitry Vyukov wrote: >> On Wed, Jan 17, 2018 at 10:32 AM, Pavel Machek wrote: >> > On Fri 2018-01-12 17:58:01, syzbot wrote: >> >> syzkaller hit the following crash on >> >>

Re: [PATCH v3 02/12] clk: sunxi-ng: Change formula for NKMP PLLs

2018-01-18 Thread Maxime Ripard
Hi, On Wed, Jan 17, 2018 at 09:14:11PM +0100, Jernej Skrabec wrote: > This commit changes formula from this: > > Freq = (parent_freq * N * K) / (M * P) > > to this: > > Freq = (parent_freq / M) * N * K / P > > This improves situation when N is in the range 1-255. PLL parent clock > is almost

Re: [PATCH v6 29/36] nds32: Build infrastructure

2018-01-18 Thread Arnd Bergmann
On Mon, Jan 15, 2018 at 6:53 AM, Greentime Hu wrote: > From: Greentime Hu > > This patch adds Makefile, Kconfig and vmlinux.lds.S files required for > building > an nds32 kernel. > > Signed-off-by: Vincent Chen >

Re: [PATCH v16 05/10] video: backlight: Add devres versions of of_find_backlight

2018-01-18 Thread Meghana Madhyastha
On Wed, Jan 17, 2018 at 05:09:57PM +, Daniel Thompson wrote: > On 16/01/18 10:34, Meghana Madhyastha wrote: > >Add devm_of_find_backlight and the corresponding release > >function because some drivers use devres versions of functions > >for acquiring device resources. > > > >Signed-off-by:

[PATCH 0/2] clk: add helpers for generic clocks

2018-01-18 Thread Jerome Brunet
This series exports an helper providing the divider mask in the generic divider and helpers to translate the between the index and the register value in the generic mux. The goal is to avoid duplicating this code in clock providers deriving from these generic clocks, something I plan do doing in

Re: [PATCH] epoll: avoid calling ep_call_nested() from ep_poll_safewake()

2018-01-18 Thread Hou Tao
Hi Jason, On 2017/10/18 22:03, Jason Baron wrote: > > > On 10/17/2017 11:37 AM, Davidlohr Bueso wrote: >> On Fri, 13 Oct 2017, Jason Baron wrote: >> >>> The ep_poll_safewake() function is used to wakeup potentially nested >>> epoll >>> file descriptors. The function uses ep_call_nested() to

Re: [PATCH v6 36/36] net: faraday add nds32 support.

2018-01-18 Thread Arnd Bergmann
On Mon, Jan 15, 2018 at 6:53 AM, Greentime Hu wrote: > From: Greentime Hu > > This patch is used to support nds32 architecture to use these faraday > mac IP. > > Signed-off-by: Greentime Hu Acked-by: Arnd Bergmann

Re: [PATCH v6 33/36] dt-bindings: nds32 SoC Bindings

2018-01-18 Thread Arnd Bergmann
On Mon, Jan 15, 2018 at 6:53 AM, Greentime Hu wrote: > From: Greentime Hu > > This patch adds nds32 SoC(AE3XX and AG101P) binding documents. > > Signed-off-by: Greentime Hu > Reviewed-by: Rob Herring

Re: [PATCH v6 31/36] dt-bindings: nds32 CPU Bindings

2018-01-18 Thread Arnd Bergmann
On Mon, Jan 15, 2018 at 6:53 AM, Greentime Hu wrote: > From: Greentime Hu > > This patch adds nds32 CPU binding documents. > > Signed-off-by: Vincent Chen > Signed-off-by: Rick Chen > Signed-off-by: Zong

[PATCH] [v2] IIO: ADC: stm32-dfsdm: remove unused variable again

2018-01-18 Thread Arnd Bergmann
The merge between commit abaca806fd13 ("IIO: ADC: stm32-dfsdm: code optimization") and commit 2353758bc2d4 ("IIO: ADC: stm32-dfsdm: avoid unused-variable warning") left one variable behind that is no longer needed and can be removed, as shown by the gcc warning:

Re: [PATCH v2] KVM: s390: wire up bpb feature

2018-01-18 Thread Christian Borntraeger
On 01/18/2018 10:59 AM, Cornelia Huck wrote: > On Wed, 17 Jan 2018 14:44:34 +0100 > Christian Borntraeger wrote: > >> The new firmware interfaces for branch prediction behaviour changes >> are transparently available for the guest. Nevertheless, there is >> new state

Re: [PATCH v2 03/31] net: Introduce net_sem for protection of pernet_list

2018-01-18 Thread Kirill Tkhai
On 17.01.2018 23:04, Andrei Vagin wrote: > On Mon, Nov 20, 2017 at 09:32:34PM +0300, Kirill Tkhai wrote: >> Curently mutex is used to protect pernet operations list. It makes >> cleanup_net() to execute ->exit methods of the same operations set, >> which was used on the time of ->init, even after

Re: [PATCH v6 07/36] nds32: Exception handling

2018-01-18 Thread Arnd Bergmann
On Mon, Jan 15, 2018 at 6:53 AM, Greentime Hu wrote: > From: Greentime Hu > > This patch includes the exception/interrupt entries, pt_reg structure and > related accessors. > > Signed-off-by: Vincent Chen > Signed-off-by:

Re: [PATCH 2/2] drm/msm/adreno: fix nvmem related link error

2018-01-18 Thread Lucas Stach
Am Mittwoch, den 17.01.2018, 16:52 -0500 schrieb Rob Clark: > On Mon, Jan 15, 2018 at 11:14 AM, Arnd Bergmann > wrote: > > When NVMEM is configured as a loadable module, and adreno > > is built-in, we get a link failure: > > > > drivers/gpu/drm/msm/adreno/a5xx_gpu.o: In function

Re: [PATCH v6 09/36] nds32: MMU initialization

2018-01-18 Thread Arnd Bergmann
On Mon, Jan 15, 2018 at 6:53 AM, Greentime Hu wrote: > From: Greentime Hu > > This patch includes memory initializations and highmem supporting. > > Signed-off-by: Vincent Chen > Signed-off-by: Greentime Hu

Re: [RESEND RFC PATCH 0/2] fixing the gpio ownership

2018-01-18 Thread Linus Walleij
Hi Ludovic, thanks for your patches! On Mon, Jan 15, 2018 at 5:24 PM, Ludovic Desroches wrote: > A few weeks ago, I have sent an RFC about adding bias support for GPIOs [1]. I was confused I think, because the issue of ownership and adding bias support were

Re: [PATCH v2 05/31] net: Allow pernet_operations to be executed in parallel

2018-01-18 Thread Kirill Tkhai
On 17.01.2018 21:34, Andrei Vagin wrote: > On Mon, Nov 20, 2017 at 09:32:55PM +0300, Kirill Tkhai wrote: >> This adds new pernet_operations::async flag to indicate operations, >> which ->init(), ->exit() and ->exit_batch() methods are allowed >> to be executed in parallel with the methods of any

Re: [PATCH v6 14/36] nds32: Atomic operations

2018-01-18 Thread Arnd Bergmann
On Mon, Jan 15, 2018 at 6:53 AM, Greentime Hu wrote: > From: Greentime Hu > > This patch includes the atomic and futex operations. Many atomic operations > use > the load-lock word(llw) and store-condition word(scw) operations. > > Signed-off-by:

Re: [PATCH v6 17/36] nds32: ELF definitions

2018-01-18 Thread Arnd Bergmann
On Mon, Jan 15, 2018 at 6:53 AM, Greentime Hu wrote: > From: Greentime Hu > > This patch adds definitions for the ELF format, relocation types, vdso > locations and EXEC_PAGESIZE. > > Signed-off-by: Vincent Chen >

Re: [PATCH v6 16/36] nds32: DMA mapping API

2018-01-18 Thread Arnd Bergmann
On Mon, Jan 15, 2018 at 6:53 AM, Greentime Hu wrote: > From: Greentime Hu > > This patch adds support for the DMA mapping API. It uses dma_map_ops for > flexibility. > > Signed-off-by: Vincent Chen > Signed-off-by: Greentime

Re: [PATCH v6 18/36] nds32: System calls handling

2018-01-18 Thread Arnd Bergmann
On Mon, Jan 15, 2018 at 6:53 AM, Greentime Hu wrote: > From: Greentime Hu > > This patch adds support for system calls. > > Signed-off-by: Vincent Chen > Signed-off-by: Greentime Hu You seem to have

Re: [PATCH v6 19/36] nds32: VDSO support

2018-01-18 Thread Arnd Bergmann
On Mon, Jan 15, 2018 at 6:53 AM, Greentime Hu wrote: > From: Greentime Hu > > This patch adds VDSO support. The VDSO code is currently used for > sys_rt_sigreturn() and optimised gettimeofday() (using the SoC timer counter). > > Signed-off-by: Vincent

[PATCH] soc: xilinx: xlnx_vcu: Fix && vs & typo

2018-01-18 Thread Dan Carpenter
We accidentally used a logical AND instead of a bitwise AND here. Fixes: cee8113a295a ("soc: xilinx: xlnx_vcu: Add Xilinx ZYNQMP VCU logicoreIP init driver") Signed-off-by: Dan Carpenter diff --git a/drivers/soc/xilinx/xlnx_vcu.c b/drivers/soc/xilinx/xlnx_vcu.c index

Re: [PATCH 08/11] fuse: Support fuse filesystems outside of init_user_ns

2018-01-18 Thread Alban Crequy
On Wed, Jan 17, 2018 at 8:31 PM, Seth Forshee wrote: > On Wed, Jan 17, 2018 at 07:56:59PM +0100, Alban Crequy wrote: >> On Wed, Jan 17, 2018 at 3:29 PM, Seth Forshee >> wrote: >> > On Wed, Jan 17, 2018 at 11:59:06AM +0100, Alban Crequy

Re: [PATCH v6 21/36] nds32: Library functions

2018-01-18 Thread Arnd Bergmann
On Mon, Jan 15, 2018 at 6:53 AM, Greentime Hu wrote: > From: Greentime Hu > > This patch add support for various library functions. > > Signed-off-by: Vincent Chen > Signed-off-by: Greentime Hu

Re: [RFC PATCH 2/5] sched: Add NOHZ_STATS_KICK

2018-01-18 Thread Morten Rasmussen
On Mon, Jan 15, 2018 at 10:43:18AM +0100, Peter Zijlstra wrote: > On Tue, Jan 02, 2018 at 03:44:57PM +, Morten Rasmussen wrote: > > > Vincent already proposed, why can't we just modify Brendan's > > CPU_NEWLY_IDLE proposal to do a stats update from idle_balance() every > > 32ms regardless of

[PATCH] rcu: refine structure rcu_node field for rcu boost

2018-01-18 Thread Liu, Changcheng
Do not allocate space for rcu boost field when RCU BOOST is not configured. Signed-off-by: Liu Changcheng diff --git a/kernel/rcu/tree.h b/kernel/rcu/tree.h index 46a5d19..88f087e 100644 --- a/kernel/rcu/tree.h +++ b/kernel/rcu/tree.h @@ -129,6 +129,7 @@ struct

Re: [PATCH v6 22/36] nds32: Debugging support

2018-01-18 Thread Arnd Bergmann
On Mon, Jan 15, 2018 at 6:53 AM, Greentime Hu wrote: > From: Greentime Hu > > This patch adds ptrace support. > > Signed-off-by: Vincent Chen > Signed-off-by: Greentime Hu I must have missed this

Re: [RFC PATCH 2/5] sched: Add NOHZ_STATS_KICK

2018-01-18 Thread Morten Rasmussen
On Mon, Jan 15, 2018 at 09:26:09AM +0100, Vincent Guittot wrote: > Le Wednesday 03 Jan 2018 à 10:16:00 (+0100), Vincent Guittot a écrit : > > Hi Peter, > > > > On 22 December 2017 at 21:42, Peter Zijlstra wrote: > > > On Fri, Dec 22, 2017 at 07:56:29PM +0100, Peter Zijlstra

Re: [PATCH v6 23/36] nds32: L2 cache support

2018-01-18 Thread Arnd Bergmann
On Mon, Jan 15, 2018 at 6:53 AM, Greentime Hu wrote: > From: Greentime Hu > > This patch adds L2 cache support. > > Signed-off-by: Vincent Chen > Signed-off-by: Greentime Hu Acked-by: Arnd Bergmann

Re: [PATCH] IIO: ADC: stm32-dfsdm: remove unused variable

2018-01-18 Thread Mark Brown
On Wed, Jan 17, 2018 at 09:09:19PM +0100, Arnd Bergmann wrote: > Mark, not sure how you want to proceed from here: if this is a branch > that can get rebased, it might be best to do that merge again, or even > drop one of the two copies of my earlier patch. Otherwise I can send > a new version of

Re: [PATCH v6 25/36] nds32: Generic timers support

2018-01-18 Thread Arnd Bergmann
On Mon, Jan 15, 2018 at 6:53 AM, Greentime Hu wrote: > From: Greentime Hu > > This patch adds support for timer. > > Signed-off-by: Vincent Chen > Signed-off-by: Greentime Hu > Reviewed-by: Linus

Re: [PATCH v6 24/36] nds32: Loadable modules

2018-01-18 Thread Arnd Bergmann
On Mon, Jan 15, 2018 at 6:53 AM, Greentime Hu wrote: > From: Greentime Hu > > This patch adds support for loadable modules. One detail: You still seem to have both the ELF_REL and ELF_RELA based functions implemented here, you should drop the unused

Re: [PATCH v6 32/36] dt-bindings: nds32 L2 cache controller Bindings

2018-01-18 Thread Arnd Bergmann
On Mon, Jan 15, 2018 at 6:53 AM, Greentime Hu wrote: > From: Greentime Hu > > This patch adds nds32 L2 cache controller binding documents. > > Signed-off-by: Greentime Hu > Reviewed-by: Rob Herring

Re: [PATCH v1] timer: Forward timer base before migrating timers

2018-01-18 Thread Thomas Gleixner
On Wed, 17 Jan 2018, Lingutla Chandrasekhar wrote: > In case when timers are migrated to a CPU, after it exits > idle, but before timer base is forwarded, either from > run_timer_softirq()/mod_timer()/add_timer_on(), it's > possible that migrated timers are queued, based on older > clock value.

Re: [PATCH v6 30/36] MAINTAINERS: Add nds32

2018-01-18 Thread Arnd Bergmann
On Mon, Jan 15, 2018 at 6:53 AM, Greentime Hu wrote: > From: Greentime Hu > > Signed-off-by: Greentime Hu Please add a changelog text to every single commit, otherwise: Acked-by: Arnd Bergmann

Re: [PATCH v6 34/36] dt-bindings: interrupt-controller: Andestech Internal Vector Interrupt Controller

2018-01-18 Thread Arnd Bergmann
On Mon, Jan 15, 2018 at 6:53 AM, Greentime Hu wrote: > 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:

Re: [PATCH v2] crypto/ahash: Require export/import in ahash

2018-01-18 Thread Kamil Konieczny
On 16.01.2018 19:38, Kamil Konieczny wrote: > Export and import were optional in async hash. As most drivers were > rewritten, they become mandatory now, so correct init of ahash > transformation. > > Signed-off-by: Kamil Konieczny Please drop this patch, as

Re: [PATCH v3 01/12] clk: sunxi-ng: Mask nkmp factors when setting register

2018-01-18 Thread Maxime Ripard
On Wed, Jan 17, 2018 at 09:14:10PM +0100, Jernej Skrabec wrote: > Currently, if one of the factors isn't present, bit 0 gets always set to > 1. For example, A83T has NMP PLLs modelled as NKMP PLL without K. Since > K is not specified, it's offset, width and shift is 0. Driver assumes > that lowest

[tip:x86/urgent] x86/mm: Rework wbinvd, hlt operation in stop_this_cpu()

2018-01-18 Thread tip-bot for Tom Lendacky
Commit-ID: f23d74f6c66c3697e032550eeef3f640391a3a7d Gitweb: https://git.kernel.org/tip/f23d74f6c66c3697e032550eeef3f640391a3a7d Author: Tom Lendacky AuthorDate: Wed, 17 Jan 2018 17:41:41 -0600 Committer: Thomas Gleixner CommitDate: Thu, 18

Re: [PATCH v16 01/10] video: backlight: Add helpers to enable and disable backlight

2018-01-18 Thread Meghana Madhyastha
On Wed, Jan 17, 2018 at 11:03:24PM +0100, Noralf Trønnes wrote: > > Den 17.01.2018 18.00, skrev Daniel Thompson: > > > > > >On 16/01/18 10:31, Meghana Madhyastha wrote: > >>Add helper functions backlight_enable and backlight_disable to > >>enable/disable a backlight device. These helper functions

[PATCH 2/2] clk: mux: add helper function for index/value translation

2018-01-18 Thread Jerome Brunet
Add helper functions for the translation between parent index and register value in the generic multiplexer function. The purpose of this change is avoid duplicating the code in other clock providers, using the same generic logic. Signed-off-by: Jerome Brunet ---

[tip:locking/core] lockdep: Assign lock keys on registration

2018-01-18 Thread tip-bot for Matthew Wilcox
Commit-ID: 64f29d1bc9fb8196df3d0f1df694245230e208c0 Gitweb: https://git.kernel.org/tip/64f29d1bc9fb8196df3d0f1df694245230e208c0 Author: Matthew Wilcox AuthorDate: Wed, 17 Jan 2018 07:14:12 -0800 Committer: Thomas Gleixner CommitDate: Thu, 18

[tip:locking/core] lockdep: Make lockdep checking constant

2018-01-18 Thread tip-bot for Matthew Wilcox
Commit-ID: 08f36ff642342fb058212099757cb5d40f158c2a Gitweb: https://git.kernel.org/tip/08f36ff642342fb058212099757cb5d40f158c2a Author: Matthew Wilcox AuthorDate: Wed, 17 Jan 2018 07:14:13 -0800 Committer: Thomas Gleixner CommitDate: Thu, 18

[PATCH 1/2] clk: divider: export clk_div_mask() helper

2018-01-18 Thread Jerome Brunet
Export clk_div_mask() in clk-provider header so every clock providers derived from the generic clock divider may share the definition instead of redefining it. Signed-off-by: Jerome Brunet --- drivers/clk/clk-divider.c| 24 +++-

Re: [PATCH v6 3/3] dt-bindings: timer: Add andestech atcpit100 timer binding doc

2018-01-18 Thread Arnd Bergmann
On Mon, Jan 15, 2018 at 6:57 AM, Greentime Hu wrote: > From: Rick Chen > > Add a document to describe Andestech atcpit100 timer and > binding information. > > Signed-off-by: Rick Chen > Signed-off-by: Greentime Hu

[tip:locking/core] lockdep: Convert some users to const

2018-01-18 Thread tip-bot for Matthew Wilcox
Commit-ID: 05b93801a23c21a6f355f4c492c51715d6ccc96d Gitweb: https://git.kernel.org/tip/05b93801a23c21a6f355f4c492c51715d6ccc96d Author: Matthew Wilcox AuthorDate: Wed, 17 Jan 2018 07:14:14 -0800 Committer: Thomas Gleixner CommitDate: Thu, 18

Re: [PATCH v6 2/3] clocksource/drivers/atcpit100: VDSO support

2018-01-18 Thread Arnd Bergmann
On Mon, Jan 15, 2018 at 6:57 AM, Greentime Hu wrote: > From: Rick Chen > > VDSO needs real-time cycle count to ensure the time accuracy. > Unlike others, nds32 architecture does not define clock source, > hence VDSO needs atcpit100 offering real-time

[PATCH] watchdog: core: make sure the watchdog_worker is not deferred

2018-01-18 Thread Christophe Leroy
commit 4cd13c21b207e ("softirq: Let ksoftirqd do its job") has the effect of deferring timer handling in case of high CPU load, hence delaying the delayed work allthought the worker is running which high realtime priority. As hrtimers are not managed by softirqs, this patch replaces the delayed

[GIT PULL] MMC fixes for v.4.15-rc9

2018-01-18 Thread Ulf Hansson
Hi Linus, Here's a PR with one MMC fixes intended for v4.15-rc9. Details about the highlights are as usual found in the signed tag. Please pull this in! Kind regards Ulf Hansson The following changes since commit 2bd7b4aacdb6efa5ccd4749c365c171b884791d2: mmc: s3mci: mark debug_regs[] as

Re: FW: [PATCH v20 2/4] mailbox: mediatek: Add Mediatek CMDQ driver

2018-01-18 Thread Jassi Brar
On Mon, Jan 8, 2018 at 2:08 PM, houlong wei wrote: > Hi Jassi, > > Sorry for reply so late. > According to previous discussion, there are two methods to move > dma_map_single() outside of spin_lock. > (1) put in mtk-cmdq-helper.c, as described by HS on 2017-02-09. > > I think a trade-off

Re: [PATCH v5 3/3] platform/chrome: Register cros_ec_accel_legacy driver

2018-01-18 Thread Gwendal Grignou
On Thu, Dec 7, 2017 at 1:31 AM, Lee Jones wrote: > On Fri, 01 Dec 2017, Gwendal Grignou wrote: > >> Checked against 3bf98755f9c670c5c10ca05cba22848d65117cb2 (CHROMIUM: >> iio: accel: Add cros_ec_accel_legacy driver) >> >> Fixup f2b141a242e59017dbc774dc916748670a41da0b (FIXUP: CHROMIUM: iio: >>

[PATCH RFC 0/2] mmc: sdhci-msm: Configuring IO_PAD support for sdhci-msm

2018-01-18 Thread Vijay Viswanath
>From the HPG: In some platform, SDCC controller can be connected to either an eMMC device or an SD card. The PADs for SD card are dual-voltage that support 3v/1.8v. Those PADs have a control signal (io_pad_pwr_switch/mode18 ) that indicates whether the PAD works in 3v or 1.8v. For SD usage the

[PATCH RFC 1/2] mmc: sdhci-msm: Add support to store supported vdd-io voltages

2018-01-18 Thread Vijay Viswanath
During probe check whether the vdd-io regulator of sdhc platform device can support 1.8V and 3V and store this information as a capability of platform device. Signed-off-by: Vijay Viswanath --- drivers/mmc/host/sdhci-msm.c | 38 ++ 1 file changed, 38

[PATCH RFC 2/2] mmc: sdhci-msm: support voltage pad switching

2018-01-18 Thread Vijay Viswanath
From: Krishna Konda The PADs for sdhc controller are dual-voltage that support 3v/1.8v. Those PADs have a control signal (io_pad_pwr_switch/mode18 ) that indicates whether the PAD works in 3v or 1.8v. SDHC core on msm platforms should have IO_PAD_PWR_SWITCH bit set/unset based on actual voltage

Re: [BUG 4.15-rc7] IRQ matrix management errors

2018-01-18 Thread Thomas Gleixner
On Wed, 17 Jan 2018, Keith Busch wrote: > On Wed, Jan 17, 2018 at 04:01:47PM +0100, Thomas Gleixner wrote: > > Which device is allocating gazillions of non-managed interrupts? > > I believe that would be the i40e. :) So enterprise grade insanity was spot on. Can you please provide the output of

Re: [PATCH v3 00/16] mmc: tmio: another batch of TMIO MMC fixes and cleanups

2018-01-18 Thread Ulf Hansson
On 17 January 2018 at 17:28, Masahiro Yamada wrote: > > In the previous batch (https://lkml.org/lkml/2017/11/24/428) > I sent 22 patches for TMIO MMC. > > 14 patches were applied, the rest is under discussion. > > This series consists of 16 patches. > > Patch 1-4: repost from v2. >

Re: [mm 4.15-rc8] Random oopses under memory pressure.

2018-01-18 Thread Tetsuo Handa
Tetsuo Handa wrote: > OK. I missed the mark. I overlooked that 4.11 already has this problem. > > I needed to bisect between 4.10 and 4.11, and I got plausible culprit. > > I haven't completed bisecting between b4fb8f66f1ae2e16 and c470abd4fde40ea6, > but > b4fb8f66f1ae2e16 ("mm, page_alloc:

Re: [PATCH 3/3] pinctrl: sx150x: add a static gpio/pinctrl pin range mapping

2018-01-18 Thread Peter Rosin
On 2018-01-18 08:58, Linus Walleij wrote: > On Wed, Jan 17, 2018 at 2:34 PM, Peter Rosin wrote: > >> Without such a range, gpiolib fails with -EPROBE_DEFER, pending the >> addition of the range. So, without a range, gpiolib will keep >> deferring indefinitely. >> >> Fixes: e10f72bf4b3e ("gpio:

Re: [PATCH 0/1] Re: kernel BUG at fs/userfaultfd.c:LINE!

2018-01-18 Thread Pavel Machek
On Wed 2018-01-17 15:26:31, Eric Biggers wrote: > On Wed, Jan 17, 2018 at 09:56:29AM +0100, Pavel Machek wrote: > > Hi! > > > > > > Andrea Arcangeli (1): > > > > userfaultfd: clear the vma->vm_userfaultfd_ctx if UFFD_EVENT_FORK > > > > fails > > > > > > > > fs/userfaultfd.c | 20

Re: [PATCH BUGFIX/IMPROVEMENT 0/2] block, bfq: two pending patches

2018-01-18 Thread Paolo Valente
> Il giorno 13 gen 2018, alle ore 12:05, Paolo Valente > ha scritto: > > Hi Jens, > here are again the two pending patches you asked me to resend [1]. One > of them, fixing read-starvation problems, was accompanied by a cover > letter. I'm pasting the content of that cover letter below. > >

Re: [PATCH v3 10/16] mmc: tmio: remove TMIO_MMC_WRPROTECT_DISABLE

2018-01-18 Thread Lee Jones
On Thu, 18 Jan 2018, Masahiro Yamada wrote: > The use of this flag has been replaced with MMC_CAP2_NO_WRITE_PROTECT. > No platform defines this flag any more. Remove. > > Signed-off-by: Masahiro Yamada > --- > > Changes in v3: > - newly added > > Changes in v2: None > >

Re: [PATCH v3 01/12] iommu/rockchip: Prohibiat unbind and remove

2018-01-18 Thread JeffyChen
Hi Tomasz, Thanks for your reply. and just found i forgot to add iommu clocks for other rockchip platforms(rk3399 already has that)...will also do that in the next version. On 01/18/2018 12:17 PM, Tomasz Figa wrote: On Thu, Jan 18, 2018 at 12:25 AM, Jeffy Chen wrote: Removal the IOMMUs

[PATCH v5 00/12] [dt-bindings] [media] Add document file and driver for Sony CXD2880 DVB-T2/T tuner + demodulator

2018-01-18 Thread Yasunari
From: Yasunari Takiguchi Hi, This is the patch series (version 5) of Sony CXD2880 DVB-T2/T tuner + demodulator driver.The driver supports DVB-API and interfaces through SPI. We have tested the driver on Raspberry Pi 3 and got picture and sound from a media player. The change history of

Re: FW: [PATCH v20 2/4] mailbox: mediatek: Add Mediatek CMDQ driver

2018-01-18 Thread houlong wei
Hi Jassi, There is one request for one GCE h/w buffer which contains a list of registers operation. I will resubmit a version and please review again. Thanks, Houlong On Thu, 2018-01-18 at 16:01 +0800, Jassi Brar wrote: > On Mon, Jan 8, 2018 at 2:08 PM, houlong wei wrote: > > Hi Jassi, > > > >

Re: [PATCH 1/6] backlight: Nuke unused backlight.props.state states

2018-01-18 Thread Lee Jones
On Wed, 17 Jan 2018, Daniel Thompson wrote: > On 17/01/18 14:01, Daniel Vetter wrote: > > The backlight power state handling is supremely confusing. We have: > > - props.power, using FB_BLANK_* defines > > - props.fb_blank, using the same, but deprecated int favour of > >props.state > > -

Re: [PATCH] mmc: sh_mmcif: remove redundant initialization of 'opc'

2018-01-18 Thread Ulf Hansson
On 17 January 2018 at 14:41, Colin King wrote: > From: Colin Ian King > > Variable opc is initialized with a value that is never read, opc > is later re-assigned a newer value, hence the initialization can > be removed. > > Cleans up clang warning: > drivers/mmc/host/sh_mmcif.c:919:6: warning:

[PATCH v5 00/12] [dt-bindings] [media] Add document file and driver for Sony CXD2880 DVB-T2/T tuner + demodulator

2018-01-18 Thread Yasunari.Takiguchi
From: Yasunari Takiguchi Hi, This is the patch series (version 5) of Sony CXD2880 DVB-T2/T tuner + demodulator driver.The driver supports DVB-API and interfaces through SPI. We have tested the driver on Raspberry Pi 3 and got picture and sound from a media player. The change history of

<    5   6   7   8   9   10   11   12   13   14   >