Re: [PATCH 3/3] clk: meson: clk-pll: drop hard-coded rates from pll tables

2018-07-19 Thread Neil Armstrong
On 17/07/2018 11:56, Jerome Brunet wrote: > Putting hard-coded rates inside the parameter tables assumes that > the parent is known and will never change. That's a big assumption > we should not make. > > We have everything we need to recalculate the output rate using > the parent rate and the res

[PATCH] pty: fix O_CLOEXEC for TIOCGPTPEER

2018-07-19 Thread Matthijs van Duin
It was being ignored because the flags were not passed to fd allocation. Fixes: 54ebbfb16034 ("tty: add TIOCGPTPEER ioctl") Signed-off-by: Matthijs van Duin --- drivers/tty/pty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tty/pty.c b/drivers/tty/pty.c index b0e2c

Re: [PATCH 2/3] clk: meson: clk-pll: remove od parameters

2018-07-19 Thread Neil Armstrong
On 17/07/2018 11:56, Jerome Brunet wrote: > Remove od parameters from pll clocks and add post dividers clocks > instead. Some clock, especially the one which feature several ods, > may provide output between those ods. Also, some drivers, such > as the hdmi driver, may require a more detailed contr

Re: [PATCH v3 4/7] dcache: allocate external names from reclaimable kmalloc caches

2018-07-19 Thread Mel Gorman
On Wed, Jul 18, 2018 at 03:36:17PM +0200, Vlastimil Babka wrote: > We can use the newly introduced kmalloc-reclaimable-X caches, to allocate > external names in dcache, which will take care of the proper accounting > automatically, and also improve anti-fragmentation page grouping. > > This effect

[PATCH V3 3/4] KVM: Add tlb remote flush callback in kvm_x86_ops.

2018-07-19 Thread Tianyu Lan
This patch is to provide a way for platforms to register hv tlb remote flush callback and this helps to optimize operation of tlb flush among vcpus for nested virtualization case. Signed-off-by: Lan Tianyu --- Change since v2: Rename kvm_arch_hv_flush_remote_tlb with kvm_arch_flush_remote_

[PATCH V3 4/4] KVM/x86: Add tlb_remote_flush callback support for vmx

2018-07-19 Thread Tianyu Lan
Register tlb_remote_flush callback for vmx when hyperv capability of nested guest mapping flush is detected. The interface can help to reduce overhead when flush ept table among vcpus for nested VM. The tradition way is to send IPIs to all affected vcpus and executes INVEPT on each vcpus. It will t

Re: [PATCH 2/2] mtd: rawnand: meson: add support for Amlogic NAND flash controller

2018-07-19 Thread Boris Brezillon
Hi Yixun, On Thu, 19 Jul 2018 16:13:47 +0800 Yixun Lan wrote: > >>> You're doing DMA on those buffers, and devm_kzalloc() is not > >>> DMA-friendly (returned buffers are not aligned on a cache line). Also, > >>> you don't have to allocate your own buffers because the core already > >>> allocate

[PATCH V3 0/4] KVM/x86/hyper-V: Introduce PV guest address space mapping flush support

2018-07-19 Thread Tianyu Lan
Hyper-V provides a para-virtualization hypercall HvFlushGuestPhysicalAddressSpace to flush nested VM address space mapping in l1 hypervisor and it's to reduce overhead of flushing ept tlb among vcpus. The tradition way is to send IPIs to all affected vcpus and executes INVEPT on each vcpus. It w

[PATCH V3 1/4] X86/Hyper-V: Add flush HvFlushGuestPhysicalAddressSpace hypercall support

2018-07-19 Thread Tianyu Lan
Hyper-V supports a pv hypercall HvFlushGuestPhysicalAddressSpace to flush nested VM address space mapping in l1 hypervisor and it's to reduce overhead of flushing ept tlb among vcpus. This patch is to implement it. Signed-off-by: Lan Tianyu --- arch/x86/hyperv/Makefile | 2 +- arch/x8

[PATCH V3 2/4] X86/Hyper-V: Add hyperv_nested_flush_guest_mapping ftrace support

2018-07-19 Thread Tianyu Lan
This patch is to add hyperv_nested_flush_guest_mapping support to trace hvFlushGuestPhysicalAddressSpace hypercall. Signed-off-by: Lan Tianyu --- arch/x86/hyperv/nested.c| 3 +++ arch/x86/include/asm/trace/hyperv.h | 14 ++ 2 files changed, 17 insertions(+) diff --git a

[RFC PATCH] mtd: nand: toshiba: Add support for ->exec_op()

2018-07-19 Thread KOBAYASHI Yoshitake
This patch is a patch to support TOSHIBA MEMORY CORPORATION BENAND memory devices. This use vendor specific command (TOSHIBA_NAND_CMD_ECC_STATUS) to know the exact bitflips. However, I could not test this patch because I do not have a platform that supports chip-> exec_op. Therefore, I post this

Re: [PATCH v3 3/7] mm, slab: allocate off-slab freelists as reclaimable when appropriate

2018-07-19 Thread Mel Gorman
On Wed, Jul 18, 2018 at 03:36:16PM +0200, Vlastimil Babka wrote: > In SLAB, OFF_SLAB caches allocate management structures (currently just the > freelist) from kmalloc caches when placement in a slab page together with > objects would lead to suboptimal memory usage. For SLAB_RECLAIM_ACCOUNT > cac

[PATCH v14 01/12] PCI: dwc: Fix EP link notification implementation

2018-07-19 Thread Gustavo Pimentel
Move specific features settings from EP shared code (pcie-designware-ep.c) to the driver (pcie-designware-plat.c). Previous implementation disables the EP link notification by default for all SoCs that uses EP DesignWare IP, which affects directly the dra7xx and artpec6 SoCs. Signed-off-by: Gusta

[PATCH v14 07/12] pci-epf-test/pci_endpoint_test: Cleanup PCI_ENDPOINT_TEST memspace

2018-07-19 Thread Gustavo Pimentel
Cleanup PCI_ENDPOINT_TEST memspace (by moving the interrupt number away from command section). Add IRQ_TYPE register to identify the triggered ID interrupt required for the READ/WRITE/COPY tests and raise IRQ test commands. Update documentation accordingly. Signed-off-by: Gustavo Pimentel Acked

[PATCH v14 09/12] pci-epf-test/pci_endpoint_test: Add MSI-X support

2018-07-19 Thread Gustavo Pimentel
Add MSI-X support and update driver documentation accordingly. Signed-off-by: Gustavo Pimentel Acked-by: Kishon Vijay Abraham I --- Change v2->v3: - New patch file created base on the previous patch "misc: pci_endpoint_test: Add MSI-X support" patch file following Kishon's suggestion. Change v3

[PATCH v14 03/12] PCI: Update xxx_pcie_ep_raise_irq() and pci_epc_raise_irq() signatures

2018-07-19 Thread Gustavo Pimentel
Change {cdns, dra7xx, artpec6, dw, rockchip}_pcie_ep_raise_irq() and pci_epc_raise_irq() signature, namely the interrupt_num variable type from u8 to u16 to accommodate 2048 maximum MSI-X interrupts. Signed-off-by: Gustavo Pimentel Acked-by: Alan Douglas Acked-by: Shawn Lin Acked-by: Jesper Nil

[PATCH v14 04/12] PCI: dwc: Add MSI-X callbacks handler

2018-07-19 Thread Gustavo Pimentel
Add PCIe config space capability search function. Add sysfs set/get interface to allow the change of EP MSI-X maximum number. Add EP MSI-X callback for triggering interruptions. Signed-off-by: Gustavo Pimentel Acked-by: Kishon Vijay Abraham I --- Change v1->v2: - Nothing changed, just to foll

Re: [PATCH 1/3] clk: meson: clk-pll: add enable bit

2018-07-19 Thread Neil Armstrong
On 17/07/2018 11:56, Jerome Brunet wrote: > Add the enable the bit of the pll clocks. > These pll clocks may be disabled but we can't model this as an external > gate since the pll needs to lock when enabled. > > Signed-off-by: Jerome Brunet > --- > drivers/clk/meson/axg.c | 28 +

RE: [PATCH] ARM: dts: imx7d: add missing OPP property for cpu0

2018-07-19 Thread Anson Huang
Hi, Shawn Anson Huang Best Regards! > -Original Message- > From: Shawn Guo [mailto:shawn...@kernel.org] > Sent: Thursday, July 19, 2018 11:20 AM > To: Anson Huang ; Viresh Kumar > > Cc: s.ha...@pengutronix.de; ker...@pengutronix.de; Fabio Estevam > ; robh...@kernel.org; mark.rutl...@arm

[PATCH] ARM: dts: imx7d: remove "operating-points" property for cpu1

2018-07-19 Thread Anson Huang
Commit b97872d4eb22 ("ARM: dts: imx: Add missing OPP properties for CPUs") added "operating-points" property for all CPUs, but i.MX7D already has "operating-points-v2" property on both CPUs, so no need to add "operating-points" property again, this patch removes it. Fixes: b97872d4eb22 ("ARM: dts:

Re: [PATCHv5 05/19] mm/page_alloc: Handle allocation for encrypted memory

2018-07-19 Thread Kirill A. Shutemov
On Wed, Jul 18, 2018 at 04:03:53PM -0700, Dave Hansen wrote: > I asked about this before and it still isn't covered in the description: > You were specifically asked (maybe in person at LSF/MM?) not to modify > allocator to pass the keyid around. Please specifically mention how > this design addre

Re: [PATCH v2 1/2] mm: fix race on soft-offlining free huge pages

2018-07-19 Thread Michal Hocko
On Thu 19-07-18 08:08:05, Naoya Horiguchi wrote: > On Thu, Jul 19, 2018 at 09:15:16AM +0200, Michal Hocko wrote: > > On Thu 19-07-18 06:19:45, Naoya Horiguchi wrote: > > > On Wed, Jul 18, 2018 at 10:50:32AM +0200, Michal Hocko wrote: [...] > > > > Why do we even need HWPoison flag here? Everything

Re: [RFC] perf annotate: option to report global percentage

2018-07-19 Thread Jiri Olsa
On Wed, Jul 18, 2018 at 02:55:14PM -0700, Stephane Eranian wrote: > Hi Jiri, > > As far as I know, once you go into annotate mode, via perf report TUI > mode, the percentage you see per instruction is relative to the > function. I would like the option to display the total percentage, > i..e, the

Re: [RFC PATCH] mtd: nand: toshiba: Add support for ->exec_op()

2018-07-19 Thread Boris Brezillon
On Thu, 19 Jul 2018 16:53:47 +0900 KOBAYASHI Yoshitake wrote: > This patch is a patch to support TOSHIBA MEMORY CORPORATION BENAND > memory devices. This use vendor specific command > (TOSHIBA_NAND_CMD_ECC_STATUS) to know the exact bitflips. However, I > could not test this patch because I do n

Re: [PATCH v3 2/7] mm, slab/slub: introduce kmalloc-reclaimable caches

2018-07-19 Thread Mel Gorman
On Wed, Jul 18, 2018 at 03:36:15PM +0200, Vlastimil Babka wrote: > Kmem caches can be created with a SLAB_RECLAIM_ACCOUNT flag, which indicates > they contain objects which can be reclaimed under memory pressure (typically > through a shrinker). This makes the slab pages accounted as > NR_SLAB_REC

Re: [PATCH 1/4] iio: adc: xilinx: Rename 'channels' variable name to 'iio_xadc_channels'

2018-07-19 Thread Michal Simek
On 18.7.2018 13:18, Lars-Peter Clausen wrote: > On 07/18/2018 01:12 PM, Manish Narani wrote: >> This patch fix the following checkpatch warning in xadc driver. >> - Reusing the krealloc arg is almost always a bug. >> >> Renamed the 'channels' variable as 'iio_xadc_channels' to fix the above >> warn

[PATCH v5] mtd: nand: toshiba: Add support for Toshiba Memory BENAND (Built-in ECC NAND)

2018-07-19 Thread KOBAYASHI Yoshitake
From: yoshitake.kobaya...@toshiba.co.jp This patch is a patch to support TOSHIBA MEMORY CORPORATION BENAND memory devices. Check the status of the built-in ECC with the Read Status command without using the vendor specific command. The Read Status command only knows whether there was bitflips ab

[PATCH] mm: adjust max read count in generic_file_buffered_read()

2018-07-19 Thread Chengguang Xu
When we try to truncate read count in generic_file_buffered_read(), should deliver (sb->s_maxbytes - offset) as maximum count not sb->s_maxbytes itself. Signed-off-by: Chengguang Xu --- mm/filemap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/filemap.c b/mm/filemap.c i

Re: [PATCH 1/7] drivers: qcom: rpmh-rsc: fix the loop index check in get_req_from_tcs

2018-07-19 Thread Raju P L S S S N
Hi all, This is an independent patch and not part of patch set. There was some issue while sending the patch using git send-email. Please ignore 1/7 in the mail subject. Sorry for multiple mails. Thanks, Raju. On 7/19/2018 12:43 PM, Raju P L S S S N wrote: From: "Raju P.L.S.S.S.N" get_req

Re: [PATCH 2/2] mtd: rawnand: meson: add support for Amlogic NAND flash controller

2018-07-19 Thread Yixun Lan
HI Boris: thanks for the quick response. On 07/19/18 03:08, Boris Brezillon wrote: > Hi Yixun, > > On Wed, 18 Jul 2018 17:38:56 +0800 > Yixun Lan wrote: > + +#define NFC_REG_CMD 0x00 +#define NFC_REG_CFG 0x04 +#define NFC_REG_DADR 0x

Re: [PATCH] reset: uniphier: add reset control support for SPI

2018-07-19 Thread Masahiro Yamada
2018-07-19 15:18 GMT+09:00 Keiji Hayashibara : > From: Kunihiko Hayashi > > Add reset control for SPI controller on UniPhier SoCs. > > Signed-off-by: Kunihiko Hayashi > --- Acked-by: Masahiro Yamada > drivers/reset/reset-uniphier.c | 9 + > 1 file changed, 9 insertions(+) > > diff -

Re: [PATCH v2 1/2] mm: fix race on soft-offlining free huge pages

2018-07-19 Thread Naoya Horiguchi
On Thu, Jul 19, 2018 at 09:15:16AM +0200, Michal Hocko wrote: > On Thu 19-07-18 06:19:45, Naoya Horiguchi wrote: > > On Wed, Jul 18, 2018 at 10:50:32AM +0200, Michal Hocko wrote: > > > On Wed 18-07-18 00:55:29, Naoya Horiguchi wrote: > > > > On Tue, Jul 17, 2018 at 04:27:43PM +0200, Michal Hocko wr

Re: [PATCH v3 1/7] mm, slab: combine kmalloc_caches and kmalloc_dma_caches

2018-07-19 Thread Mel Gorman
On Wed, Jul 18, 2018 at 03:36:14PM +0200, Vlastimil Babka wrote: > The kmalloc caches currently mainain separate (optional) array > kmalloc_dma_caches for __GFP_DMA allocations. There are tests for __GFP_DMA in > the allocation hotpaths. We can avoid the branches by combining kmalloc_caches > and k

Re: [PATCH] vfs: make open_with_fake_path() not contribute to nr_files

2018-07-19 Thread David Howells
Miklos Szeredi wrote: > Stacking file operations in overlay will store an extra open file for each > overlay file opened. > > The overhead is just that of "struct file" which is about 256bytes, because > overlay already pins an extra dentry and inode when the file is open, which > add up to a mu

[PATCH RESEND v2 2/2] drm/sun4i: sun4i: Introduce a quirk for lowest plane alpha support

2018-07-19 Thread Paul Kocialkowski
Not all sunxi platforms with the first version of the Display Engine support an alpha component on the plane with the lowest z position (as in: lowest z-pos), that gets blended with the background color. In particular, the A13 is known to have this limitation. However, it was recently discovered t

Re: [PATCH] drivers/base: stop new probing during shutdown

2018-07-19 Thread Rafael J. Wysocki
On Thursday, July 19, 2018 7:14:58 AM CEST Pingfan Liu wrote: > There is a race window in device_shutdown(), which may cause > -1. parent device shut down before child or > -2. no shutdown on a new probing device. > > For 1st, taking the following scenario: > device_shutdown

Re: [RFC PATCH v6 0/4] powerpc/fadump: Improvements and fixes for firmware-assisted dump.

2018-07-19 Thread Michal Hocko
On Wed 18-07-18 21:52:17, Mahesh Jagannath Salgaonkar wrote: > On 07/17/2018 05:22 PM, Michal Hocko wrote: > > On Tue 17-07-18 16:58:10, Mahesh Jagannath Salgaonkar wrote: > >> On 07/16/2018 01:56 PM, Michal Hocko wrote: > >>> On Mon 16-07-18 11:32:56, Mahesh J Salgaonkar wrote: > One of the p

Re: [PATCH 2/2] drm/probe_helper: Add drm_helper_probe_single_connector_modes_with_rpm()

2018-07-19 Thread Lukas Wunner
On Wed, Jul 18, 2018 at 04:56:40PM -0400, Lyude Paul wrote: > For nouveau, while the GPU is guaranteed to be on when a hotplug has > been received, the same assertion does not hold true if a connector > probe has been started by userspace without having had received a sysfs > event. > > So ensure

Re: [PATCH v2 16/17] MIPS: JZ4770: DTS: Add DMA nodes

2018-07-19 Thread Sergei Shtylyov
On 7/18/2018 9:20 PM, Paul Cercueil wrote: Add the two devicetree nodes for the two DMA cores of the JZ4770 SoC, disabled by default, as currently there are no clients for the DMA driver (until the MMC driver and/or others get a devicetree node). Signed-off-by: Paul Cercueil Tested-by: Mathieu

Re: [PATCH v5] mtd: nand: toshiba: Add support for Toshiba Memory BENAND (Built-in ECC NAND)

2018-07-19 Thread Boris Brezillon
On Thu, 19 Jul 2018 16:53:33 +0900 KOBAYASHI Yoshitake wrote: > From: yoshitake.kobaya...@toshiba.co.jp > > This patch is a patch to support TOSHIBA MEMORY CORPORATION BENAND > memory devices. Check the status of the built-in ECC with the Read > Status command without using the vendor specific

Re: [PATCH v2 17/17] MIPS: JZ4740: DTS: Add DMA nodes

2018-07-19 Thread Sergei Shtylyov
On 7/18/2018 9:20 PM, Paul Cercueil wrote: Add the devicetree nodes for the DMA core of the JZ4740 SoC, disabled by default, as currently there are no clients for the DMA driver (until the MMC driver and/or others get a devicetree node). Signed-off-by: Paul Cercueil Tested-by: Mathieu Malaterr

Re: [PATCH] pinctrl: uniphier: add spi pin-mux settings

2018-07-19 Thread kbuild test robot
/0day-ci/linux/commits/Keiji-Hayashibara/pinctrl-uniphier-add-spi-pin-mux-settings/20180719-144943 base: https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl.git devel config: mips-allyesconfig (attached as .config) compiler: mips-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0 reproduce

[PATCH] mm, oom: remove oom_lock from oom_reaper

2018-07-19 Thread Michal Hocko
From: Michal Hocko oom_reaper used to rely on the oom_lock since e2fe14564d33 ("oom_reaper: close race with exiting task"). We do not really need the lock anymore though. 212925802454 ("mm: oom: let oom_reap_task and exit_mmap run concurrently") has removed serialization with the exit path based

Re: [alsa-devel] [PATCH RESEND 02/15] ASoC: meson: add axg fifo base driver

2018-07-19 Thread Jerome Brunet
On Wed, 2018-07-18 at 17:39 +0200, Takashi Iwai wrote: > On Wed, 18 Jul 2018 13:50:54 +0200, > Mark Brown wrote: > > > > On Tue, Jul 17, 2018 at 05:42:51PM +0200, Jerome Brunet wrote: > > > > > + return !status ? IRQ_NONE : IRQ_HANDLED; > > > > Please just write normal conditional statements, it

Private Investment Debt/Loan Funding.

2018-07-19 Thread Erik
Dear Sir, I appreciate your contact. I represent an Investment Consortium in Hong Kong who will be interested in funding your Company's Project on a Debt Funding Basis/ Loan Application and The Investment Group requires serious minded companies in any area of Business Specialization, In view of

Re: UBSAN: Undefined behaviour in ./include/net/xfrm.h

2018-07-19 Thread Steffen Klassert
On Fri, Jun 22, 2018 at 11:46:44PM +0800, air icy wrote: > Hi, > > static inline bool addr4_match(__be32 a1, __be32 a2, u8 prefixlen) > { > /* C99 6.5.7 (3): u32 << 32 is undefined behaviour */ > if (sizeof(long) == 4 && prefixlen == 0) > return true; > return !((a1 ^ a2) & htonl(~0UL << (32 - pre

Re: [V9fs-developer] [PATCH v3] Fix a hard lockup case in the virtio transport

2018-07-19 Thread piaojun
LGTM On 2018/7/19 15:17, jiangyiwen wrote: > When client has multiple threads that issue io requests > all the time, and the server has a very good performance, > it may cause cpu is running in the irq context for a long > time because it can check virtqueue has buf in the *while* > loop. > > So

Re: [PATCH 1/2] drm/fb_helper: Add drm_fb_helper_output_poll_changed_with_rpm()

2018-07-19 Thread Lukas Wunner
On Wed, Jul 18, 2018 at 04:56:39PM -0400, Lyude Paul wrote: > When DP MST hubs get confused, they can occasionally stop responding for > a good bit of time up until the point where the DRM driver manages to > do the right DPCD accesses to get it to start responding again. In a > worst case scenario

potential deadlock in cpufreq-dt

2018-07-19 Thread Jiada Wang
Hello all After enable lockdep, by poking /sys/kernel/debug/sched_features, I triggered the following lockdep report: [ 34.410559] == [ 34.416766] WARNING: possible circular locking dependency detected [ 34.422987] 4.14.50-03493-g65adcd3b

Re: [PATCH] net/9p/trans_virtio.c: replace mutex_lock with spin_lock to protect 'virtio_chan_list'

2018-07-19 Thread piaojun
On 2018/7/19 11:36, Dominique Martinet wrote: > piaojun wrote on Thu, Jul 19, 2018: >>> piaojun wrote on Wed, Jul 18, 2018: >>> That's not a fast path operation, I don't mind changing things but I'd >>> like to understand why - these functions are only ever called at unmount >>> time or when som

Re: [PATCH V2 1/2] mux: adgs1408: new driver for Analog Devices ADGS1408/1409 mux …

2018-07-19 Thread Caprioru, Mircea
On Wed, 2018-07-18 at 14:49 +0200, Peter Rosin wrote: > On 2018-07-17 15:42, Mircea Caprioru wrote: > > This patch adds basic support for Analog Device ADGS1408/09 SPI mux > > controller. > > > > The device is probed and set to a disabled state. It uses the new > > mux > > controller framework. >

Re: [RFC] Make need_resched() return true when rcu_urgent_qs requested

2018-07-19 Thread David Woodhouse
On Thu, 2018-07-19 at 08:45 +0200, Christian Borntraeger wrote: > > > My thought would be something like this: > >  > >   if (context_tracking_cpu_is_enabled()) > >   rcu_kvm_enter(); > >   else > >   rcu_virt_note_context_switch(smp_processor_id()); > > In the pas

Re: [RFC] Make need_resched() return true when rcu_urgent_qs requested

2018-07-19 Thread David Woodhouse
On Wed, 2018-07-18 at 20:11 -0700, Paul E. McKenney wrote: > > > That is interesting. As I replied to Paul, we are already calling > > rcu_user_enter/exit() on guest_enter/exit_irqsoff(). So I'm wondering why > > you're seeing such an optimization by repeating those calls. > >  > > Perhaps the r

Re: [PATCH 1/6] drivers/md/raid5: Use irqsave variant of atomic_dec_and_lock()

2018-07-19 Thread Sebastian Andrzej Siewior
On 2018-07-18 19:44:05 [-0700], Shaohua Li wrote: > Since you sent a series, I suppose you want someone else to take it. But I can > take it for sure, will do soon. I'm sorry for the miss understanding. I tried to explain this in the cover letter. The prerequisites are already merged so then the a

[tip:x86/mm 3/8] mm/memory.c:339:2: error: implicit declaration of function 'tlb_flush_remove_tables_local'; did you mean 'tlb_remove_table'?

2018-07-19 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86/mm head: e9d8c61557687b7126101e9550bdf243223f0d8f commit: 2ff6ddf19c0ec40633bd14d8fe28a289816bd98d [3/8] x86/mm/tlb: Leave lazy TLB mode at page table free time config: arm-axm55xx_defconfig (attached as .config) compiler: a

Re: [PATCH 3/3] mm/page_alloc: Split context in free_area_init_node

2018-07-19 Thread Oscar Salvador
On Wed, Jul 18, 2018 at 10:34:19AM -0400, Pavel Tatashin wrote: > On Wed, Jul 18, 2018 at 8:47 AM wrote: > > > > From: Oscar Salvador > > > > If free_area_init_node gets called from memhotplug code, > > we do not need to call calculate_node_totalpages(), > > as the node has no pages. > > I am no

Re: [PATCHv5 03/19] mm/ksm: Do not merge pages with different KeyIDs

2018-07-19 Thread Kirill A. Shutemov
On Wed, Jul 18, 2018 at 10:38:27AM -0700, Dave Hansen wrote: > On 07/17/2018 04:20 AM, Kirill A. Shutemov wrote: > > Pages encrypted with different encryption keys are not allowed to be > > merged by KSM. Otherwise it would cross security boundary. > > Let's say I'm using plain AES (not AES-XTS).

Re: [PATCH] pinctrl: uniphier: add spi pin-mux settings

2018-07-19 Thread kbuild test robot
/linux/commits/Keiji-Hayashibara/pinctrl-uniphier-add-spi-pin-mux-settings/20180719-144943 base: https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl.git devel config: xtensa-allyesconfig (attached as .config) compiler: xtensa-linux-gcc (GCC) 8.1.0 reproduce: wget https

Re: [PATCHv5 02/19] mm: Do not use zero page in encrypted pages

2018-07-19 Thread Kirill A. Shutemov
On Wed, Jul 18, 2018 at 10:36:24AM -0700, Dave Hansen wrote: > On 07/17/2018 04:20 AM, Kirill A. Shutemov wrote: > > Zero page is not encrypted and putting it into encrypted VMA produces > > garbage. > > > > We can map zero page with KeyID-0 into an encrypted VMA, but this would > > be violation s

[V9fs-developer] [PATCH v3] Fix a hard lockup case in the virtio transport

2018-07-19 Thread jiangyiwen
When client has multiple threads that issue io requests all the time, and the server has a very good performance, it may cause cpu is running in the irq context for a long time because it can check virtqueue has buf in the *while* loop. So we should keep chan->lock in the whole loop. Signed-off-b

Re: [PATCH v2 1/2] mm: fix race on soft-offlining free huge pages

2018-07-19 Thread Michal Hocko
On Thu 19-07-18 06:19:45, Naoya Horiguchi wrote: > On Wed, Jul 18, 2018 at 10:50:32AM +0200, Michal Hocko wrote: > > On Wed 18-07-18 00:55:29, Naoya Horiguchi wrote: > > > On Tue, Jul 17, 2018 at 04:27:43PM +0200, Michal Hocko wrote: > > > > On Tue 17-07-18 14:32:31, Naoya Horiguchi wrote: > > > >

[PATCH 1/7] drivers: qcom: rpmh-rsc: fix the loop index check in get_req_from_tcs

2018-07-19 Thread Raju P L S S S N
From: "Raju P.L.S.S.S.N" get_req_from_tcs introduced in patch[1] returns tcs_request from tcs_group. The size of tcs (of type - tcs_group) array in rsc_drv is TCS_TYPE_NR. So the loop index needs to be iterated up to TCS_TYPE_NR only. [1] https://patchwork.kernel.org/patch/10477547/ Signed-off-

<    3   4   5   6   7   8