Re: [PATCH 0/2] cpufreq/opp: rework regulator initialization

2019-02-11 Thread Viresh Kumar
On 11-02-19, 13:22, Marek Szyprowski wrote: > Hi Viresh, > > On 2019-02-11 10:55, Viresh Kumar wrote: > > On 11-02-19, 10:52, Marek Szyprowski wrote: > >> On 2019-02-11 09:44, Viresh Kumar wrote: > >>> On 07-02-19, 13:22, Marek Szyprowski wrote: > Dear All, > > Recent commit

Re: [PATCH] arm64: dts: sdm845: Add dynamic CPU power coefficients

2019-02-11 Thread Amit Kucheria
On Tue, Feb 12, 2019 at 12:30 AM Matthias Kaehlcke wrote: > > Add dynamic power coefficients for the Silver and Gold CPU cores of > the Qualcomm SDM845. > > Signed-off-by: Matthias Kaehlcke Reviewed-by: Amit Kucheria > --- > arch/arm64/boot/dts/qcom/sdm845.dtsi | 8 > 1 file

Re: [PATCH v2] staging: erofs: keep corrupted fs from crashing kernel in erofs_namei()

2019-02-11 Thread Gao Xiang
kindly ping... some ideas about this patch v2? Thanks, On 2019/2/1 20:16, Gao Xiang wrote: > As Al pointed out, " > ... and while we are at it, what happens to > unsigned int nameoff = le16_to_cpu(de[mid].nameoff); > unsigned int matched = min(startprfx, endprfx); > > struct

Re: [RFC] On the Current Troubles of Mainlining Loongson Platform Drivers

2019-02-11 Thread tomli
> > > > That doesn't seem to explain even a quiet boot up taking several times > > longer than 4.19, and package installation over an ethernet connection > > (thus not using the console) also taking several times longer. > > Maybe it's a slow disk? > > ATA (libata) CS5536 driver is having

Re: [PATCH v2 0/4] Add max77620 charging & low battery support

2019-02-11 Thread Mark Zhang
On 2/7/2019 4:48 PM, Lee Jones wrote: > On Tue, 29 Jan 2019, Mark Zhang wrote: > >> This patch set adds support for max77620 backup battery charging and >> low battery monitoring. >> >> Changes in v2: >> - Add devicetree binding documentation >> >> Mark Zhang (4): >> mfd: max77620: Add backup

[GIT PULL] ext4 fix for 5.0-rc7

2019-02-11 Thread Theodore Y. Ts'o
The following changes since commit 49a57857aeea06ca831043acbb0fa5e0f50602fd: Linux 5.0-rc3 (2019-01-21 13:14:44 +1300) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4.git tags/ext4_for_linus_stable for you to fetch changes up to

Re: [5.0-rc5 regression] "scsi: kill off the legacy IO path" causes 5 minute delay during boot on Sun Blade 2500

2019-02-11 Thread James Bottomley
On Tue, 2019-02-12 at 03:37 +, Elliott, Robert (Persistent Memory) wrote: > > -Original Message- > > From: linux-kernel-ow...@vger.kernel.org > ow...@vger.kernel.org> On Behalf Of Jens Axboe > > Sent: Monday, February 11, 2019 8:50 PM > > To: James Bottomley ; Mikael > > Pettersson >

Re: [PATCH 3/3] devfreq: add mediatek cci devfreq

2019-02-11 Thread Chanwoo Choi
Hi Andrew-sh.Cheng, On 19. 1. 29. 오후 3:35, Andrew-sh Cheng wrote: > From: "Andrew-sh.Cheng" > > For big/little cpu cluster architecture, > not only CPU frequency, but CCI frequency will also affect performance. > > Little cores and cci share the same buck in Mediatek mt8183 IC, > so we add a

Re: [RFC PATCH] docs/memory-barriers.txt: Rewrite "KERNEL I/O BARRIER EFFECTS" section

2019-02-11 Thread Benjamin Herrenschmidt
On Mon, 2019-02-11 at 14:34 -0800, Linus Torvalds wrote: > On Mon, Feb 11, 2019 at 9:30 AM Will Deacon wrote: > > + > > + 1. All readX() and writeX() accesses to the same peripheral are > > ordered > > +with respect to each other. For example, this ensures that MMIO > > register > >

[PATCH] qcom: spmi-gpio: Fix boundary conditions IRQ domain translate

2019-02-11 Thread Bjorn Andersson
GPIOs on the SPMI PMIC are numbered 1..ngpio, so the boundary check in pmic_gpio_domain_translate() is off by one, correct this. Fixes: ca69e2d165eb ("qcom: spmi-gpio: add support for hierarchical IRQ chip") Signed-off-by: Bjorn Andersson --- drivers/pinctrl/qcom/pinctrl-spmi-gpio.c | 3 ++- 1

[PATCH] efi/libstub: refactor cmd_stubcopy

2019-02-11 Thread Masahiro Yamada
It took me a while to understand what is going on in the nested if-blocks. Simplify it by removing unneeded code. - if_changed automatically adds 'set -e', so any failure in the series of commands makes it immediately fail as a whole. So, the outer if block is entirely redundant. -

Re: [PATCH 3/3] mm/mincore: provide mapped status when cached status is not allowed

2019-02-11 Thread Jiri Kosina
On Fri, 1 Feb 2019, Vlastimil Babka wrote: > >> After "mm/mincore: make mincore() more conservative" we sometimes restrict > >> the > >> information about page cache residency, which we have to do without > >> breaking > >> existing userspace, if possible. We thus fake the resulting values as

RE: [5.0-rc5 regression] "scsi: kill off the legacy IO path" causes 5 minute delay during boot on Sun Blade 2500

2019-02-11 Thread Elliott, Robert (Persistent Memory)
> -Original Message- > From: linux-kernel-ow...@vger.kernel.org ow...@vger.kernel.org> On Behalf Of Jens Axboe > Sent: Monday, February 11, 2019 8:50 PM > To: James Bottomley ; Mikael > Pettersson > Cc: Linux SPARC Kernel Mailing List ; > linux-bl...@vger.kernel.org;

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

2019-02-11 Thread Andrea Parri
> > + if (!si) > > + goto bad_nofile; > > + > > + preempt_disable(); > > + if (!(si->flags & SWP_VALID)) > > + goto unlock_out; > > After Hugh alluded to barriers, it seems the read of SWP_VALID could be > reordered with the write in preempt_disable at runtime. Without

Re: [PATCH v2] mm/memory-hotplug: Add sysfs hot-remove trigger

2019-02-11 Thread Anshuman Khandual
On 02/11/2019 11:20 PM, Robin Murphy wrote: > ARCH_MEMORY_PROBE is a useful thing for testing and debugging hotplug, > but being able to exercise the (arguably trickier) hot-remove path would > be even more useful. Extend the feature to allow removal of offline > sections to be triggered

Re: [PATCH] sched/debug: Show intergroup and hierarchy sum wait time of a task group

2019-02-11 Thread 禹舟键
Hi, Peter I think hierarchy wait time for task groups is worth accounting despite with a little extra overhead. Because we can evaluate task groups' condition with a more direct metric. We cannot get the real situation just with some general metrics, like idle or loadavg, since their value is

[PATCH] kernel/configs: use .incbin directive to embed config_data.gz

2019-02-11 Thread Masahiro Yamada
This slightly optimizes the kernel/configs.c build. bin2c is not very efficient because it converts a data file into a huge array to embed it into a *.c file. Instead, we can use the .incbin directive. Also, this simplifies the code; Makefile is cleaner, and the way to get the offset/size of

[PATCH net-next v4] ipmr: ip6mr: Create new sockopt to clear mfc cache or vifs

2019-02-11 Thread Callum Sinclair
Currently the only way to clear the forwarding cache was to delete the entries one by one using the MRT_DEL_MFC socket option or to destroy and recreate the socket. Create a new socket option which with the use of optional flags can clear any combination of multicast entries (static or not

[PATCH net-next v4] ipmr: ip6mr: Create new sockopt to clear mfc cache or vifs

2019-02-11 Thread Callum Sinclair
Created a way to clear the multicast forwarding cache on a socket without having to either remove the entries manually using the delete entry socket option or destroy and recreate the multicast socket. Calling the socket option MRT_FLUSH will allow any combination of the four flag options to be

Re: [RFC PATCH] PCI/portdrv: Support for subtractive decode bridge

2019-02-11 Thread Honghui Zhang
On Thu, 2019-02-07 at 13:52 -0600, Bjorn Helgaas wrote: > On Thu, Feb 07, 2019 at 09:18:16AM -0600, Bjorn Helgaas wrote: > > On Fri, Dec 14, 2018 at 11:40:29AM +0800, honghui.zh...@mediatek.com wrote: > > > From: Honghui Zhang > > > > > > The Class Code for subtractive decode PCI-to-PCI bridge

[PATCH v2 24/26] userfaultfd: wp: UFFDIO_REGISTER_MODE_WP documentation update

2019-02-11 Thread Peter Xu
From: Martin Cracauer Adds documentation about the write protection support. Signed-off-by: Andrea Arcangeli [peterx: rewrite in rst format; fixups here and there] Signed-off-by: Peter Xu --- Documentation/admin-guide/mm/userfaultfd.rst | 51 1 file changed, 51

[PATCH v2 26/26] userfaultfd: selftests: add write-protect test

2019-02-11 Thread Peter Xu
This patch adds uffd tests for write protection. Instead of introducing new tests for it, let's simply squashing uffd-wp tests into existing uffd-missing test cases. Changes are: (1) Bouncing tests We do the write-protection in two ways during the bouncing test: - By using

[PATCH v2 25/26] userfaultfd: selftests: refactor statistics

2019-02-11 Thread Peter Xu
Introduce uffd_stats structure for statistics of the self test, at the same time refactor the code to always pass in the uffd_stats for either read() or poll() typed fault handling threads instead of using two different ways to return the statistic results. No functional change. With the new

[PATCH v2 23/26] userfaultfd: wp: don't wake up when doing write protect

2019-02-11 Thread Peter Xu
It does not make sense to try to wake up any waiting thread when we're write-protecting a memory region. Only wake up when resolving a write protected page fault. Signed-off-by: Peter Xu --- fs/userfaultfd.c | 13 - 1 file changed, 8 insertions(+), 5 deletions(-) diff --git

[PATCH v2 22/26] userfaultfd: wp: enabled write protection in userfaultfd API

2019-02-11 Thread Peter Xu
From: Shaohua Li Now it's safe to enable write protection in userfaultfd API Cc: Andrea Arcangeli Cc: Pavel Emelyanov Cc: Rik van Riel Cc: Kirill A. Shutemov Cc: Mel Gorman Cc: Hugh Dickins Cc: Johannes Weiner Signed-off-by: Shaohua Li Signed-off-by: Andrea Arcangeli Signed-off-by:

[PATCH v2 19/26] userfaultfd: introduce helper vma_find_uffd

2019-02-11 Thread Peter Xu
We've have multiple (and more coming) places that would like to find a userfault enabled VMA from a mm struct that covers a specific memory range. This patch introduce the helper for it, meanwhile apply it to the code. Suggested-by: Mike Rapoport Signed-off-by: Peter Xu --- mm/userfaultfd.c |

[PATCH v2 18/26] khugepaged: skip collapse if uffd-wp detected

2019-02-11 Thread Peter Xu
Don't collapse the huge PMD if there is any userfault write protected small PTEs. The problem is that the write protection is in small page granularity and there's no way to keep all these write protection information if the small pages are going to be merged into a huge PMD. The same thing

[PATCH v2 21/26] userfaultfd: wp: add the writeprotect API to userfaultfd ioctl

2019-02-11 Thread Peter Xu
From: Andrea Arcangeli v1: From: Shaohua Li v2: cleanups, remove a branch. [peterx writes up the commit message, as below...] This patch introduces the new uffd-wp APIs for userspace. Firstly, we'll allow to do UFFDIO_REGISTER with write protection tracking using the new

[PATCH v2 20/26] userfaultfd: wp: support write protection for userfault vma range

2019-02-11 Thread Peter Xu
From: Shaohua Li Add API to enable/disable writeprotect a vma range. Unlike mprotect, this doesn't split/merge vmas. Cc: Andrea Arcangeli Cc: Rik van Riel Cc: Kirill A. Shutemov Cc: Mel Gorman Cc: Hugh Dickins Cc: Johannes Weiner Signed-off-by: Shaohua Li Signed-off-by: Andrea Arcangeli

[PATCH v2 16/26] userfaultfd: wp: add pmd_swp_*uffd_wp() helpers

2019-02-11 Thread Peter Xu
Adding these missing helpers for uffd-wp operations with pmd swap/migration entries. Signed-off-by: Peter Xu --- arch/x86/include/asm/pgtable.h | 15 +++ include/asm-generic/pgtable_uffd.h | 15 +++ 2 files changed, 30 insertions(+) diff --git

[PATCH v2 17/26] userfaultfd: wp: support swap and page migration

2019-02-11 Thread Peter Xu
For either swap and page migration, we all use the bit 2 of the entry to identify whether this entry is uffd write-protected. It plays a similar role as the existing soft dirty bit in swap entries but only for keeping the uffd-wp tracking for a specific PTE/PMD. Something special here is that

[PATCH v2 14/26] userfaultfd: wp: handle COW properly for uffd-wp

2019-02-11 Thread Peter Xu
This allows uffd-wp to support write-protected pages for COW. For example, the uffd write-protected PTE could also be write-protected by other usages like COW or zero pages. When that happens, we can't simply set the write bit in the PTE since otherwise it'll change the content of every single

[PATCH v2 15/26] userfaultfd: wp: drop _PAGE_UFFD_WP properly when fork

2019-02-11 Thread Peter Xu
UFFD_EVENT_FORK support for uffd-wp should be already there, except that we should clean the uffd-wp bit if uffd fork event is not enabled. Detect that to avoid _PAGE_UFFD_WP being set even if the VMA is not being tracked by VM_UFFD_WP. Do this for both small PTEs and huge PMDs. Signed-off-by:

[PATCH v2 12/26] userfaultfd: wp: apply _PAGE_UFFD_WP bit

2019-02-11 Thread Peter Xu
Firstly, introduce two new flags MM_CP_UFFD_WP[_RESOLVE] for change_protection() when used with uffd-wp and make sure the two new flags are exclusively used. Then, - For MM_CP_UFFD_WP: apply the _PAGE_UFFD_WP bit and remove _PAGE_RW when a range of memory is write protected by uffd -

[PATCH v2 13/26] mm: export wp_page_copy()

2019-02-11 Thread Peter Xu
Export this function for usages outside page fault handlers. Signed-off-by: Peter Xu --- include/linux/mm.h | 2 ++ mm/memory.c| 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/include/linux/mm.h b/include/linux/mm.h index f38fbe9c8bc9..2fd14a62324b 100644 ---

[PATCH v2 09/26] userfaultfd: wp: userfaultfd_pte/huge_pmd_wp() helpers

2019-02-11 Thread Peter Xu
From: Andrea Arcangeli Implement helpers methods to invoke userfaultfd wp faults more selectively: not only when a wp fault triggers on a vma with vma->vm_flags VM_UFFD_WP set, but only if the _PAGE_UFFD_WP bit is set in the pagetable too. Signed-off-by: Andrea Arcangeli Signed-off-by: Peter

[PATCH v2 11/26] mm: merge parameters for change_protection()

2019-02-11 Thread Peter Xu
change_protection() was used by either the NUMA or mprotect() code, there's one parameter for each of the callers (dirty_accountable and prot_numa). Further, these parameters are passed along the calls: - change_protection_range() - change_p4d_range() - change_pud_range() -

[PATCH v2 10/26] userfaultfd: wp: add UFFDIO_COPY_MODE_WP

2019-02-11 Thread Peter Xu
From: Andrea Arcangeli This allows UFFDIO_COPY to map pages wrprotected. Signed-off-by: Andrea Arcangeli Signed-off-by: Peter Xu --- fs/userfaultfd.c | 5 +++-- include/linux/userfaultfd_k.h| 2 +- include/uapi/linux/userfaultfd.h | 11 +- mm/userfaultfd.c

[PATCH v2 08/26] userfaultfd: wp: add WP pagetable tracking to x86

2019-02-11 Thread Peter Xu
From: Andrea Arcangeli Accurate userfaultfd WP tracking is possible by tracking exactly which virtual memory ranges were writeprotected by userland. We can't relay only on the RW bit of the mapped pagetable because that information is destroyed by fork() or KSM or swap. If we were to relay on

Re: [PATCH] tracing: print function names instead of just address

2019-02-11 Thread Changbin Du
On Mon, Feb 11, 2019 at 02:55:32PM -0500, Steven Rostedt wrote: > On Sun, 10 Feb 2019 00:19:19 +0800 > Changbin Du wrote: > > > Here is an example for this change. > > > > $ sudo perf record -e 'ftrace:function' --filter='ip==schedule' > > $ sudo perf report > > I took this but changed the

[PATCH v2 06/26] userfaultfd: wp: add helper for writeprotect check

2019-02-11 Thread Peter Xu
From: Shaohua Li add helper for writeprotect check. Will use it later. Cc: Andrea Arcangeli Cc: Pavel Emelyanov Cc: Rik van Riel Cc: Kirill A. Shutemov Cc: Mel Gorman Cc: Hugh Dickins Cc: Johannes Weiner Signed-off-by: Shaohua Li Signed-off-by: Andrea Arcangeli Signed-off-by: Peter Xu

[PATCH v2 07/26] userfaultfd: wp: hook userfault handler to write protection fault

2019-02-11 Thread Peter Xu
From: Andrea Arcangeli There are several cases write protection fault happens. It could be a write to zero page, swaped page or userfault write protected page. When the fault happens, there is no way to know if userfault write protect the page before. Here we just blindly issue a userfault

[PATCH v2 04/26] mm: allow VM_FAULT_RETRY for multiple times

2019-02-11 Thread Peter Xu
The idea comes from a discussion between Linus and Andrea [1]. Before this patch we only allow a page fault to retry once. We achieved this by clearing the FAULT_FLAG_ALLOW_RETRY flag when doing handle_mm_fault() the second time. This was majorly used to avoid unexpected starvation of the

[PATCH v2 03/26] userfaultfd: don't retake mmap_sem to emulate NOPAGE

2019-02-11 Thread Peter Xu
The idea comes from the upstream discussion between Linus and Andrea: https://lkml.org/lkml/2017/10/30/560 A summary to the issue: there was a special path in handle_userfault() in the past that we'll return a VM_FAULT_NOPAGE when we detected non-fatal signals when waiting for userfault

[PATCH v2 05/26] mm: gup: allow VM_FAULT_RETRY for multiple times

2019-02-11 Thread Peter Xu
This is the gup counterpart of the change that allows the VM_FAULT_RETRY to happen for more than once. Signed-off-by: Peter Xu --- mm/gup.c | 17 + 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/mm/gup.c b/mm/gup.c index fa75a03204c1..ba387aec0d80 100644 ---

[PATCH v2 02/26] mm: userfault: return VM_FAULT_RETRY on signals

2019-02-11 Thread Peter Xu
The idea comes from the upstream discussion between Linus and Andrea: https://lkml.org/lkml/2017/10/30/560 A summary to the issue: there was a special path in handle_userfault() in the past that we'll return a VM_FAULT_NOPAGE when we detected non-fatal signals when waiting for userfault

Re: [RFC PATCH] PCI/portdrv: Support for subtractive decode bridge

2019-02-11 Thread Honghui Zhang
On Thu, 2019-02-07 at 09:18 -0600, Bjorn Helgaas wrote: > Hi Honghui, > > On Fri, Dec 14, 2018 at 11:40:29AM +0800, honghui.zh...@mediatek.com wrote: > > From: Honghui Zhang > > > > The Class Code for subtractive decode PCI-to-PCI bridge is 060401h, > > change the class_mask values to make

[PATCH v2 01/26] mm: gup: rename "nonblocking" to "locked" where proper

2019-02-11 Thread Peter Xu
There's plenty of places around __get_user_pages() that has a parameter "nonblocking" which does not really mean that "it won't block" (because it can really block) but instead it shows whether the mmap_sem is released by up_read() during the page fault handling mostly when VM_FAULT_RETRY is

[PATCH v2 00/26] userfaultfd: write protection support

2019-02-11 Thread Peter Xu
This series implements initial write protection support for userfaultfd. Currently both shmem and hugetlbfs are not supported yet, but only anonymous memory. This is the 2nd version of it. The latest code can also be found at: https://github.com/xzpeter/linux/tree/uffd-wp-merged Since

Re: [PATCH V2] blk-mq: insert rq with DONTPREP to hctx dispatch list when requeue

2019-02-11 Thread Jens Axboe
On 2/11/19 6:56 PM, Jianchao Wang wrote: > When requeue, if RQF_DONTPREP, rq has contained some driver > specific data, so insert it to hctx dispatch list to avoid any > merge. Take scsi as example, here is the trace event log (no > io scheduler, because RQF_STARTED would prevent merging), > >

Re: [5.0-rc5 regression] "scsi: kill off the legacy IO path" causes 5 minute delay during boot on Sun Blade 2500

2019-02-11 Thread Jens Axboe
On 2/11/19 7:13 PM, James Bottomley wrote: > On Mon, 2019-02-11 at 09:31 -0700, Jens Axboe wrote: >> On 2/11/19 9:28 AM, James Bottomley wrote: >>> On Mon, 2019-02-11 at 08:46 -0700, Jens Axboe wrote: On 2/11/19 8:42 AM, James Bottomley wrote: > On Mon, 2019-02-11 at 08:28 -0700, Jens

Re: [PATCH 5/5] kasan, slub: fix conflicts with CONFIG_SLAB_FREELIST_HARDENED

2019-02-11 Thread Qian Cai
On 2/11/19 4:59 PM, Andrey Konovalov wrote: > CONFIG_SLAB_FREELIST_HARDENED hashes freelist pointer with the address > of the object where the pointer gets stored. With tag based KASAN we don't > account for that when building freelist, as we call set_freepointer() with > the first argument

Re: [PATCH] perf/core: don't WARN for impossible rb sizes

2019-02-11 Thread Jin, Yao
Hi Mark, Looks I hit a regression issue on SKL desktop. For example, root@skl:/tmp# perf record -g -a failed to mmap with 12 (Cannot allocate memory) In this case, size = 1264, order_base_2 = 11, MAX_ORDER = 11 if (order_base_2(size) >= MAX_ORDER) goto fail; It will goto fail

Re: [RFC PATCH v4 01/12] __wr_after_init: Core and default arch

2019-02-11 Thread Matthew Wilcox
On Tue, Feb 12, 2019 at 01:27:38AM +0200, Igor Stoppa wrote: > +#ifndef CONFIG_PRMEM [...] > +#else > + > +#include It's a mistake to do conditional includes like this. That way you see include loops with some configs and not others. Our headers are already so messy, better to just include

Re: [PATCH] huegtlbfs: fix page leak during migration of file pages

2019-02-11 Thread Mike Kravetz
On 2/11/19 6:24 PM, Naoya Horiguchi wrote: > On Mon, Feb 11, 2019 at 03:06:27PM -0800, Mike Kravetz wrote: >> While looking at this, I think there is another issue. When a hugetlb >> page is migrated, we do not migrate the 'page_huge_active' state of the >> page. That should be moved as the page

[PATCHv13 2/3] ARM:socfpga-defconfig Intel FPGA Video and Image Processing Suite

2019-02-11 Thread Hean-Loong, Ong
From: Ong Hean Loong Intel FPGA Video and Image Processing Suite Frame Buffer II driver config for Arria 10 devkit and its variants Signed-off-by: Ong, Hean Loong --- arch/arm/configs/socfpga_defconfig |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git

[PATCHv13 1/3] ARM:dt-bindings:display Intel FPGA Video and Image Processing Suite

2019-02-11 Thread Hean-Loong, Ong
From: Ong, Hean Loong Device tree binding for Intel FPGA Video and Image Processing Suite. The bindings would set the max width, max height, bits per pixel and memory port width. The device tree binding only supports the Intel Arria10 devkit and its variants. Vendor name retained as altr. V12:

[PATCHv13 0/3] Intel FPGA Video and Image Processing Suite

2019-02-11 Thread Hean-Loong, Ong
From: Ong, Hean Loong The FPGA FrameBuffer Soft IP could be seen as the GPU and the DRM driver patch here is allocating memory for information to be streamed from the ARM/Linux to the display port. Basically the driver just wraps the information such as the pixels to be drawn by the Sodt IP

[PATCHv13 3/3] ARM:drm ivip Intel FPGA Video and Image Processing Suite

2019-02-11 Thread Hean-Loong, Ong
From: Ong, Hean Loong Driver for Intel FPGA Video and Image Processing Suite Frame Buffer II. The driver only supports the Intel Arria10 devkit and its variants. This driver can be either loaded staticlly or in modules. The OF device tree binding is located at:

[PATCH] f2fs: don't clear CP_QUOTA_NEED_FSCK_FLAG

2019-02-11 Thread Jaegeuk Kim
If we met this once, let fsck.f2fs clear this only. Note that, this addresses all the subtle fault injection test. Signed-off-by: Jaegeuk Kim --- fs/f2fs/checkpoint.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/fs/f2fs/checkpoint.c b/fs/f2fs/checkpoint.c index

Re: X450LCP lost abillity to turn the screen off

2019-02-11 Thread Marcos Paulo de Souza
Hello João, On 2/11/19 5:14 PM, João Paulo Rechi Vita wrote: > Hello Marcos, > > On Sun, Feb 10, 2019 at 5:05 PM Marcos Paulo de Souza > wrote: >> >> >> >> On 2/10/19 9:45 PM, Andy Shevchenko wrote: >>> On Sun, Feb 10, 2019 at 9:24 PM Marcos Paulo de Souza >>> wrote: Hi,

Re: [PATCH] huegtlbfs: fix page leak during migration of file pages

2019-02-11 Thread Naoya Horiguchi
On Mon, Feb 11, 2019 at 03:06:27PM -0800, Mike Kravetz wrote: > On 2/7/19 11:31 PM, Naoya Horiguchi wrote: > > On Thu, Feb 07, 2019 at 09:50:30PM -0800, Mike Kravetz wrote: > >> On 2/7/19 6:31 PM, Naoya Horiguchi wrote: > >>> On Thu, Feb 07, 2019 at 10:50:55AM -0800, Mike Kravetz wrote: > On

[PATCH v9 3/3] Documentation/filesystems/proc.txt: add AVX512_elapsed_ms

2019-02-11 Thread Aubrey Li
Added AVX512_elapsed_ms in /proc//status. Report it in Documentation/filesystems/proc.txt Signed-off-by: Aubrey Li Cc: Peter Zijlstra Cc: Andi Kleen Cc: Tim Chen Cc: Dave Hansen Cc: Arjan van de Ven --- Documentation/filesystems/proc.txt | 4 +++- 1 file changed, 3 insertions(+), 1

[PATCH v9 1/3] /proc/pid/status: Add support for architecture specific output

2019-02-11 Thread Aubrey Li
The architecture specific information of the running processes could be useful to the userland. Add support to examine process architecture specific information externally. Signed-off-by: Aubrey Li Cc: Peter Zijlstra Cc: Andi Kleen Cc: Tim Chen Cc: Dave Hansen Cc: Arjan van de Ven ---

[PATCH v9 2/3] x86,/proc/pid/status: Add AVX-512 usage elapsed time

2019-02-11 Thread Aubrey Li
AVX-512 components use could cause core turbo frequency drop. So it's useful to expose AVX-512 usage elapsed time as a heuristic hint for the user space job scheduler to cluster the AVX-512 using tasks together. Example: $ cat /proc/pid/status | grep AVX512_elapsed_ms AVX512_elapsed_ms: 1020

Re: [PATCH 3/3] mailbox: mediatek: Remove busylist

2019-02-11 Thread Dennis-YC Hsieh
Hi CK, On Tue, 2019-01-29 at 17:20 +0800, Houlong Wei (魏厚龙) wrote: > -Original Message- > From: CK Hu [mailto:ck...@mediatek.com] > Sent: Wednesday, January 16, 2019 1:05 PM > To: Jassi Brar ; Matthias Brugger > ; Houlong Wei (魏厚龙) > Cc: linux-kernel@vger.kernel.org;

Re: [PATCH 06/12] dma-mapping: improve selection of dma_declare_coherent availability

2019-02-11 Thread Paul Burton
Hi Christoph, On Mon, Feb 11, 2019 at 02:35:48PM +0100, Christoph Hellwig wrote: > This API is primarily used through DT entries, but two architectures > and two drivers call it directly. So instead of selecting the config > symbol for random architectures pull it in implicitly for the actual >

Dear Friend,

2019-02-11 Thread mrs clara david
Dear Friend, I am Mrs Clara David. am sending you this brief letter to solicit your partnership to transfer $18.5 million US Dollars.I shall send you more information and procedures when I receive positive response from you. please send me a message in my Email box (mrsclarada...@gmail.com) as i

[PATCH 5/6] x86, mm: skip 1G range if the range doesn't span PUD

2019-02-11 Thread Wei Yang
If the 1G aligned pfn exceed the range, we are sure there won't be possible 1G range. so we can just jump to split 2M range directly. Signed-off-by: Wei Yang --- arch/x86/mm/init.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/x86/mm/init.c b/arch/x86/mm/init.c

[PATCH 4/6] x86, mm: make split_mem_range() more easy to read

2019-02-11 Thread Wei Yang
As the comment explains, there are at most 5 possible ranges: kkkmmmGGGmmmkkk (A)(B)(C)(D)(E) While there are two ways to perceive: * C & D are extra ranges on X86_64 * B & C are extra ranges on X86_64 Current implementation takes the first way, which leads

Re: [5.0-rc5 regression] "scsi: kill off the legacy IO path" causes 5 minute delay during boot on Sun Blade 2500

2019-02-11 Thread James Bottomley
On Mon, 2019-02-11 at 09:31 -0700, Jens Axboe wrote: > On 2/11/19 9:28 AM, James Bottomley wrote: > > On Mon, 2019-02-11 at 08:46 -0700, Jens Axboe wrote: > > > On 2/11/19 8:42 AM, James Bottomley wrote: > > > > On Mon, 2019-02-11 at 08:28 -0700, Jens Axboe wrote: > > > > > On 2/11/19 8:25 AM,

Su buzón ha superado

2019-02-11 Thread Subred Integrada de Servicios de Salud
Su buzón ha superado el límite de almacenamiento definido por el administrador y no Enviar o recibir nuevos mensajes hasta validar su correo electrónico Haga clic en el siguiente enlace para confirmar su correo electrónico https://formcrafts.com/a/39246?preview=true gracias Administrador del

[PATCH 2/6] x86, mm: remove check in save_mr

2019-02-11 Thread Wei Yang
This check has been validated before calling save_mr. It is not necessary to do this again. Signed-off-by: Wei Yang --- arch/x86/mm/init.c | 14 ++ 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/arch/x86/mm/init.c b/arch/x86/mm/init.c index 1b980b70911a..6fb84be79c7c

Su buzón ha superado

2019-02-11 Thread Subred Integrada de Servicios de Salud
Su buzón ha superado el límite de almacenamiento definido por el administrador y no Enviar o recibir nuevos mensajes hasta validar su correo electrónico Haga clic en el siguiente enlace para confirmar su correo electrónico https://formcrafts.com/a/39246?preview=true gracias Administrador del

[PATCH 6/6] x86, mm: x86, mm: jump to split only 4K range when range doesn't span PMD

2019-02-11 Thread Wei Yang
In case the first attempt to round_up pfn with PMD_SIZE exceed the limit_pfn, this means we could only have 4K range. This patch jumps to split only 4K range for this case. Signed-off-by: Wei Yang --- arch/x86/mm/init.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

[PATCH 1/6] x86, mm: remove second argument of split_mem_range()

2019-02-11 Thread Wei Yang
The second argument is always zero. Signed-off-by: Wei Yang --- arch/x86/mm/init.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/x86/mm/init.c b/arch/x86/mm/init.c index ef99f3892e1f..1b980b70911a 100644 --- a/arch/x86/mm/init.c +++ b/arch/x86/mm/init.c @@

[PATCH 3/6] x86, mm: add comment for split_mem_range to help understanding

2019-02-11 Thread Wei Yang
Describing the possible ranges in split and marking ranges with name to help audience understand the logic. Also this prepares to illustrate a code refine next. Signed-off-by: Wei Yang --- arch/x86/mm/init.c | 51 -- 1 file changed, 45 insertions(+),

[PATCH 0/6] x86, mm: refine split_mem_range a little

2019-02-11 Thread Wei Yang
split_mem_range is used to prepare range before mapping kernel page table. Here are some patches to refine it. Patch [1-2] are trivial clean up. Patch [3] add some comment to illustrate the split process and prepare for following refine work. Patch [4-6] are the interesting refine.

Su buzón ha superado

2019-02-11 Thread Subred Integrada de Servicios de Salud
Su buzón ha superado el límite de almacenamiento definido por el administrador y no Enviar o recibir nuevos mensajes hasta validar su correo electrónico Haga clic en el siguiente enlace para confirmar su correo electrónico https://formcrafts.com/a/39246?preview=true gracias Administrador del

Su buzón ha superado

2019-02-11 Thread Subred Integrada de Servicios de Salud
Su buzón ha superado el límite de almacenamiento definido por el administrador y no Enviar o recibir nuevos mensajes hasta validar su correo electrónico Haga clic en el siguiente enlace para confirmar su correo electrónico https://formcrafts.com/a/39246?preview=true gracias Administrador del

Su buzón ha superado

2019-02-11 Thread Subred Integrada de Servicios de Salud
Su buzón ha superado el límite de almacenamiento definido por el administrador y no Enviar o recibir nuevos mensajes hasta validar su correo electrónico Haga clic en el siguiente enlace para confirmar su correo electrónico https://formcrafts.com/a/39246?preview=true gracias Administrador del

Su buzón ha superado

2019-02-11 Thread Subred Integrada de Servicios de Salud
Su buzón ha superado el límite de almacenamiento definido por el administrador y no Enviar o recibir nuevos mensajes hasta validar su correo electrónico Haga clic en el siguiente enlace para confirmar su correo electrónico https://formcrafts.com/a/39246?preview=true gracias Administrador del

Re: [PATCH] gpio: sprd: Add missing break in switch statement

2019-02-11 Thread Gustavo A. R. Silva
Hi Baolin, On 2/11/19 8:07 PM, Baolin Wang wrote: > Hi Gustavo, > > On Tue, 12 Feb 2019 at 02:50, Gustavo A. R. Silva > wrote: >> >> Fix the following warning by adding a missing break: >> >> drivers/gpio/gpio-eic-sprd.c: In function ‘sprd_eic_irq_set_type’: >>

Re: [RFC PATCH 4/4] mm: Add merge page notifier

2019-02-11 Thread Aaron Lu
On 2019/2/11 23:58, Alexander Duyck wrote: > On Mon, 2019-02-11 at 14:40 +0800, Aaron Lu wrote: >> On 2019/2/5 2:15, Alexander Duyck wrote: >>> From: Alexander Duyck >>> >>> Because the implementation was limiting itself to only providing hints on >>> pages huge TLB order sized or larger we

Re: [PATCH] gpio: sprd: Add missing break in switch statement

2019-02-11 Thread Baolin Wang
Hi Gustavo, On Tue, 12 Feb 2019 at 02:50, Gustavo A. R. Silva wrote: > > Fix the following warning by adding a missing break: > > drivers/gpio/gpio-eic-sprd.c: In function ‘sprd_eic_irq_set_type’: > drivers/gpio/gpio-eic-sprd.c:403:3: warning: this statement may fall through >

Re: [PATCH] mmc: mmc: Fix HS setting in mmc_hs400_to_hs200()

2019-02-11 Thread Chaotian Jing
On Tue, 2019-02-05 at 15:42 +0200, Adrian Hunter wrote: > On 5/02/19 3:06 PM, Ulf Hansson wrote: > > On Mon, 4 Feb 2019 at 14:42, Adrian Hunter wrote: > >> > >> On 4/02/19 12:54 PM, Ulf Hansson wrote: > >>> On Mon, 4 Feb 2019 at 10:58, Adrian Hunter > >>> wrote: > > On 1/02/19 10:10

Re: [PATCH 1/2] dma-mapping: add a kconfig symbol for arch_setup_dma_ops availability

2019-02-11 Thread Paul Burton
Hi Christoph, On Mon, Feb 04, 2019 at 09:14:19AM +0100, Christoph Hellwig wrote: > Signed-off-by: Christoph Hellwig > --- > arch/arc/Kconfig | 1 + > arch/arc/include/asm/Kbuild | 1 + > arch/arc/include/asm/dma-mapping.h | 13 - > arch/arm/Kconfig

Re: [PATCH v2] fs: Allow opening only regular files during execve().

2019-02-11 Thread Tetsuo Handa
Andrew Morton wrote: > > --- a/fs/open.c > > +++ b/fs/open.c > > @@ -733,6 +733,12 @@ static int do_dentry_open(struct file *f, > > return 0; > > } > > > > + /* Any file opened for execve()/uselib() has to be a regular file. */ > > + if (unlikely(f->f_flags & FMODE_EXEC &&

[PATCH V2] blk-mq: insert rq with DONTPREP to hctx dispatch list when requeue

2019-02-11 Thread Jianchao Wang
When requeue, if RQF_DONTPREP, rq has contained some driver specific data, so insert it to hctx dispatch list to avoid any merge. Take scsi as example, here is the trace event log (no io scheduler, because RQF_STARTED would prevent merging), kworker/0:1H-339 [000] ...1 2037.209289:

Re: [PATCH] blk-mq: insert rq with DONTPREP to hctx dispatch list when requeue

2019-02-11 Thread jianchao.wang
Hi Jens Thanks for your kindly response. On 2/12/19 7:20 AM, Jens Axboe wrote: > On 2/11/19 4:15 PM, Jens Axboe wrote: >> On 2/11/19 8:59 AM, Jens Axboe wrote: >>> On 2/10/19 10:41 PM, Jianchao Wang wrote: When requeue, if RQF_DONTPREP, rq has contained some driver specific data, so

[PATCH 2/2] PCI: imx6: Add code to request/control "pcie_aux" clock for i.MX8MQ

2019-02-11 Thread Andrey Smirnov
PCIe IP block has additional clock, "pcie_aux", that needs to be controlled by the driver. Add code to support that. Signed-off-by: Andrey Smirnov Cc: Bjorn Helgaas Cc: Fabio Estevam Cc: Chris Healy Cc: Lucas Stach Cc: Leonard Crestez Cc: "A.s. Dong" Cc: Richard Zhu Cc: linux-...@nxp.com

[PATCH 1/2] dt-bindings: imx6q-pcie: Add "pcie_aux" clock for imx8mq

2019-02-11 Thread Andrey Smirnov
Add a binding for an extra clock required on i.MX8MQ. Signed-off-by: Andrey Smirnov Cc: Bjorn Helgaas Cc: Fabio Estevam Cc: Chris Healy Cc: Lucas Stach Cc: Leonard Crestez Cc: "A.s. Dong" Cc: Richard Zhu Cc: linux-...@nxp.com Cc: linux-arm-ker...@lists.infradead.org Cc:

[PATCH 0/2] "pcie_aux" clock for i.MX8MQ

2019-02-11 Thread Andrey Smirnov
Lorenzo: This small series adds code to control "pcie_aux" clock. This is an oversight from original submission [pcie-imx8mq-v7], which was only discovered once I submitted an RFC for corresponding DT changes going via i.MX tree [imx-dt-rfc]. Thanks, Andrey Smirnov [imx-dt-rfc]

Re: [GIT PULL] csky fixes for v5.0-rc6

2019-02-11 Thread Guo Ren
On Mon, Feb 11, 2019 at 10:28:26AM -0800, Linus Torvalds wrote: > On Sun, Feb 10, 2019 at 9:08 PM wrote: > > > > arch/csky patches for 5.0-rc6 > > The bulk of this seems to be new hardware support code. > > Please send it during the 5.1 merge window, not as fixes at post-rc6 time. Ok, I'll

RE: [PATCH AUTOSEL 4.20 40/42] CIFS: Move credit processing to mid callbacks for SMB3

2019-02-11 Thread Pavel Shilovskiy
Sat, Feb 9 2019, 10:56AM, Sasha Levin wrote: > > From: Pavel Shilovsky > > [ Upstream commit ee258d79159afed52ca9372aeb9c1a51e89b32ee ] > > Currently we account for credits in the thread initiating a request > and waiting for a response. The demultiplex thread receives the response, > wakes up

Re: [PATCH net-next] ipvs: Use struct_size() helper

2019-02-11 Thread Gustavo A. R. Silva
On 2/11/19 5:40 PM, Pablo Neira Ayuso wrote: > On Fri, Feb 08, 2019 at 10:56:48AM +0100, Simon Horman wrote: >> On Thu, Feb 07, 2019 at 06:44:56PM -0600, Gustavo A. R. Silva wrote: >>> One of the more common cases of allocation size calculations is finding >>> the size of a structure that has a

INFO: task hung in reiserfs_sync_fs

2019-02-11 Thread Kyungtae Kim
I'm reporting a bug in linux-4.19.19: "INFO: task hung in reiserfs_sync_fs" (no reproducer) = INFO: task kworker/0:1:13513 blocked for more than 120 seconds. Not tainted 4.19.19 #1 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this

[PATCH] autofs: clear O_NONBLOCK on the pipe.

2019-02-11 Thread Ian Kent
From: NeilBrown autofs does not expect the pipe it is given to have O_NONBLOCK set - specifically if __kernel_write() in autofs_write() returns -EAGAIN, this is treated as a fatal error and the pipe is closed. For safety autofs should, therefore, clear the O_NONBLOCK flag. Releases of systemd

[PATCH] Input: synaptics_i2c - remove redundant spinlock

2019-02-11 Thread thesven73
From: Sven Van Asbroeck Remove a leftover spinlock. This was required back when mod_delayed_work() did not exist, and had to be implemented with a cancel + schedule. See commit e7c2f967445d ("workqueue: use mod_delayed_work() instead of __cancel + queue") schedule_delayed_work() and

[PATCH 1/3] soc: brcmstb: dpfe: use msleep() over udelay()

2019-02-11 Thread Markus Mayer
From: Markus Mayer To be more "scheduler friendly", we use msleep() rather than udelay() while we wait for the DCPU to respond. Signed-off-by: Markus Mayer --- drivers/memory/brcmstb_dpfe.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/memory/brcmstb_dpfe.c

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