Re: [rcu:dev.2019.03.27a 35/46] ERROR: "kfd_processes_srcu" [drivers/gpu/drm/amd/amdgpu/amdgpu.ko] undefined!

2019-03-28 Thread Paul E. McKenney
On Fri, Mar 29, 2019 at 04:11:48AM +0800, kbuild test robot wrote: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git > dev.2019.03.27a > head: 3833875fa13a3f442252a48784a18f27879a4551 > commit: 016b9910f5db3d900066a0c3a8b42855f70bb1cf [35/46] drivers/gpu/drm/amd: >

[PATCH 1/1] ARM: multi_v7_defconfig: enable the Amlogic Meson ADC and eFuse drivers

2019-03-28 Thread Martin Blumenstingl
With the SAR ADC driver ADC measurements can be taken though the IIO framework. Additionally the SAR ADC has a channel which is connected to an internal temperature sensor. The calibration data for this internal temperature sensor is stored in the eFuse. Enable the SAR ADC driver and the eFuse dri

[PATCH 0/1] Amlogic: update multi_v7_defconfig for the temperature sensor

2019-03-28 Thread Martin Blumenstingl
Linux 5.1 gained support for the temperature sensor on the 32-bit Amlogic SoCs. This requires the eFuse driver and the SAR ADC driver to be enabled in the kernel config. This last bit was missing so far. Three boards already have a iio-hwmon node defined. The driver for this is already enabled in

Re: [PATCH] x86/events: add event map for AMD Family 17h

2019-03-28 Thread Borislav Petkov
On Thu, Mar 21, 2019 at 09:15:22PM +, Phillips, Kim wrote: > From: Kim Phillips > > Family 17h differs from prior families by: > - not supporting an L2 cache miss event > - having re-enumerated PMC counters for: >- L2 cache references >- front & back end stalled cycles > > So we ad

Re: [PATCH v2 10/11] mm/hmm: add helpers for driver to safely take the mmap_sem v2

2019-03-28 Thread John Hubbard
On 3/25/19 7:40 AM, jgli...@redhat.com wrote: > From: Jérôme Glisse > > The device driver context which holds reference to mirror and thus to > core hmm struct might outlive the mm against which it was created. To > avoid every driver to check for that case provide an helper that check > if mm is

Re: [PATCH v2 00/25] Add generic support for composing LED class device name

2019-03-28 Thread Jacek Anaszewski
On 3/28/19 1:19 AM, Rob Herring wrote: On Sun, Mar 10, 2019 at 07:28:11PM +0100, Jacek Anaszewski wrote: Changes from v1: - improved led_parse_properties() to parse label property at first and return immediately after parsing succeeds - added tool get_led_device_info.sh for retrieving LED cl

Re: [PATCH 12/12] locking/rwsem: Make MSbit of count as guard bit to fail readlock

2019-03-28 Thread Waiman Long
On 03/28/2019 04:47 PM, Linus Torvalds wrote: > On Thu, Mar 28, 2019 at 11:12 AM Waiman Long wrote: >> With the merging of owner into count for x86-64, there is only 16 bits >> left for reader count. It is theoretically possible for an application to >> cause more than 64k readers to acquire a rws

Re: [PATCH 12/12] locking/rwsem: Make MSbit of count as guard bit to fail readlock

2019-03-28 Thread Linus Torvalds
On Thu, Mar 28, 2019 at 1:47 PM Linus Torvalds wrote: > > On Thu, Mar 28, 2019 at 11:12 AM Waiman Long wrote: > > > > With the merging of owner into count for x86-64, there is only 16 bits > > left for reader count. It is theoretically possible for an application to > > cause more than 64k reader

Re: [PATCH 12/12] locking/rwsem: Make MSbit of count as guard bit to fail readlock

2019-03-28 Thread Waiman Long
On 03/28/2019 04:56 PM, Linus Torvalds wrote: > On Thu, Mar 28, 2019 at 1:47 PM Linus Torvalds > wrote: >> On Thu, Mar 28, 2019 at 11:12 AM Waiman Long wrote: >>> With the merging of owner into count for x86-64, there is only 16 bits >>> left for reader count. It is theoretically possible for an

Re: [PATCH v2 06/11] mm/hmm: improve driver API to work and wait over a range v2

2019-03-28 Thread Ira Weiny
On Mon, Mar 25, 2019 at 10:40:06AM -0400, Jerome Glisse wrote: > From: Jérôme Glisse > > A common use case for HMM mirror is user trying to mirror a range > and before they could program the hardware it get invalidated by > some core mm event. Instead of having user re-try right away to > mirror

Re: [GIT PULL] PCI fixes for v5.1

2019-03-28 Thread pr-tracker-bot
The pull request you sent on Thu, 28 Mar 2019 14:03:40 -0500: > git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git > tags/pci-v5.1-fixes-1 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/9936328b41ce4bce8f20269dcac8cb476c8d0820 Thank you! -- Deet-doot-dot

Re: [PATCH v2 02/11] mm/hmm: use reference counting for HMM struct v2

2019-03-28 Thread Jerome Glisse
On Thu, Mar 28, 2019 at 01:43:13PM -0700, John Hubbard wrote: > On 3/28/19 12:11 PM, Jerome Glisse wrote: > > On Thu, Mar 28, 2019 at 04:07:20AM -0700, Ira Weiny wrote: > >> On Mon, Mar 25, 2019 at 10:40:02AM -0400, Jerome Glisse wrote: > >>> From: Jérôme Glisse > >>> > >>> Every time i read the c

Re: [PATCH v6 1/2] Bluetooth: hci_qca: Added support for WCN3998

2019-03-28 Thread kbuild test robot
Hi Harish, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on bluetooth-next/master] [also build test WARNING on next-20190328] [cannot apply to v5.1-rc2] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url

Re: [PATCH v6 1/2] Bluetooth: hci_qca: Added support for WCN3998

2019-03-28 Thread Matthias Kaehlcke
On Fri, Mar 29, 2019 at 05:05:49AM +0800, kbuild test robot wrote: > Hi Harish, > > Thank you for the patch! Perhaps something to improve: > > [auto build test WARNING on bluetooth-next/master] > [also build test WARNING on next-20190328] > [cannot apply to v5.1-rc2] > [

[PATCH 1/2] kernel.h: use parentheses around argument in u64_to_user_ptr()

2019-03-28 Thread Jann Horn
Use parentheses around uses of the argument in u64_to_user_ptr() to ensure that the cast doesn't apply to part of the argument. There are existing uses of the macro of the form `u64_to_user_ptr(A + B)`, which expands to `(void __user *)(uintptr_t)A + B` (the cast applies to the first operand of th

[PATCH 2/2] x86: fix __user annotations

2019-03-28 Thread Jann Horn
Fix __user annotations in various places across the x86 tree: - cast to wrong pointer type in __user_atomic_cmpxchg_inatomic() - generic_load_microcode() deals with a pointer that can be either a kernel pointer or a user pointer; change the code to pass it around as a __user pointer, and a

Re: [PATCH v2 04/11] mm/hmm: improve and rename hmm_vma_get_pfns() to hmm_range_snapshot() v2

2019-03-28 Thread Ira Weiny
On Mon, Mar 25, 2019 at 10:40:04AM -0400, Jerome Glisse wrote: > From: Jérôme Glisse > > Rename for consistency between code, comments and documentation. Also > improves the comments on all the possible returns values. Improve the > function by returning the number of populated entries in pfns ar

Re: [PATCH v2 10/11] mm/hmm: add helpers for driver to safely take the mmap_sem v2

2019-03-28 Thread Jerome Glisse
On Thu, Mar 28, 2019 at 01:54:01PM -0700, John Hubbard wrote: > On 3/25/19 7:40 AM, jgli...@redhat.com wrote: > > From: Jérôme Glisse > > > > The device driver context which holds reference to mirror and thus to > > core hmm struct might outlive the mm against which it was created. To > > avoid e

Re: [RESEND PATCH v1] moduleparam: Save information about built-in modules in separate file

2019-03-28 Thread Dmitry Torokhov
On Thu, Mar 28, 2019 at 11:45 AM Greg KH wrote: > > On Thu, Mar 28, 2019 at 10:41:59AM -0700, Lucas De Marchi wrote: > > On Wed, Mar 27, 2019 at 8:40 AM Jessica Yu wrote: > > > >No. There are definitely not all modules. I have a builtin > > > >sha256_generic, > > > >but I can't find him in the /

Re: [PATCH v2 06/11] mm/hmm: improve driver API to work and wait over a range v2

2019-03-28 Thread Jerome Glisse
On Thu, Mar 28, 2019 at 06:11:54AM -0700, Ira Weiny wrote: > On Mon, Mar 25, 2019 at 10:40:06AM -0400, Jerome Glisse wrote: > > From: Jérôme Glisse > > > > A common use case for HMM mirror is user trying to mirror a range > > and before they could program the hardware it get invalidated by > > so

Re: [PATCH v2 10/11] mm/hmm: add helpers for driver to safely take the mmap_sem v2

2019-03-28 Thread John Hubbard
On 3/28/19 2:30 PM, Jerome Glisse wrote: > On Thu, Mar 28, 2019 at 01:54:01PM -0700, John Hubbard wrote: >> On 3/25/19 7:40 AM, jgli...@redhat.com wrote: >>> From: Jérôme Glisse >>> >>> The device driver context which holds reference to mirror and thus to >>> core hmm struct might outlive the mm a

Re: [PATCH v2] mfd: cros: Update EC protocol to match current EC code

2019-03-28 Thread Gwendal Grignou
On Wed, Mar 27, 2019 at 2:31 AM Enric Balletbo i Serra wrote: > > Hi Gwendal, > > Unless my pwclient or patchwork is doing something weird I have some issues > trying to apply this patch. Could you check that is correctly formatted? In lore.kernel.org, the first 100 lines of the patch are missing.

Re: [PATCH v2 05/11] mm/hmm: improve and rename hmm_vma_fault() to hmm_range_fault() v2

2019-03-28 Thread Ira Weiny
On Mon, Mar 25, 2019 at 10:40:05AM -0400, Jerome Glisse wrote: > From: Jérôme Glisse > > Rename for consistency between code, comments and documentation. Also > improves the comments on all the possible returns values. Improve the > function by returning the number of populated entries in pfns ar

[rcu:dev.2019.03.27a 35/46] drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c:45: undefined reference to `kfd_processes_srcu'

2019-03-28 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git dev.2019.03.27a head: 3833875fa13a3f442252a48784a18f27879a4551 commit: 016b9910f5db3d900066a0c3a8b42855f70bb1cf [35/46] drivers/gpu/drm/amd: Dynamically allocate kfd_processes_srcu config: i386-randconfig-m1-201912 (a

Re: [PATCH 06/10] mm: vmscan: demote anon DRAM pages to PMEM node

2019-03-28 Thread Yang Shi
On 3/27/19 6:08 AM, Keith Busch wrote: On Tue, Mar 26, 2019 at 08:41:15PM -0700, Yang Shi wrote: On 3/26/19 5:35 PM, Keith Busch wrote: migration nodes have higher free capacity than source nodes. And since your attempting THP's without ever splitting them, that also requires lower fragmenta

Re: [PATCH v2 07/11] mm/hmm: add default fault flags to avoid the need to pre-fill pfns arrays.

2019-03-28 Thread John Hubbard
On 3/25/19 7:40 AM, jgli...@redhat.com wrote: > From: Jérôme Glisse > > The HMM mirror API can be use in two fashions. The first one where the HMM > user coalesce multiple page faults into one request and set flags per pfns > for of those faults. The second one where the HMM user want to pre-faul

Re: [PATCH 06/17] fpga: dfl: pci: enable SRIOV support.

2019-03-28 Thread Alan Tull
On Sun, Mar 24, 2019 at 10:24 PM Wu Hao wrote: > > This patch enables the standard sriov support. It allows user to > enable SRIOV (and VFs), then user could pass through accelerators > (VFs) into virtual machine or use VFs directly in host. > > Signed-off-by: Zhang Yi Z > Signed-off-by: Xu Yilun

Re: [PATCH v2 05/11] mm/hmm: improve and rename hmm_vma_fault() to hmm_range_fault() v2

2019-03-28 Thread Jerome Glisse
On Thu, Mar 28, 2019 at 06:43:51AM -0700, Ira Weiny wrote: > On Mon, Mar 25, 2019 at 10:40:05AM -0400, Jerome Glisse wrote: > > From: Jérôme Glisse > > > > Rename for consistency between code, comments and documentation. Also > > improves the comments on all the possible returns values. Improve t

Re: [PATCH 05/17] fpga: dfl: fme: add DFL_FPGA_FME_PORT_RELEASE/ASSIGN ioctl support.

2019-03-28 Thread Alan Tull
On Sun, Mar 24, 2019 at 10:23 PM Wu Hao wrote: > > In order to support virtualization usage via PCIe SRIOV, this patch > adds two ioctls under FPGA Management Engine (FME) to release and > assign back the port device. In order to safely turn Port from PF > into VF and enable PCIe SRIOV, it require

[PATCH REBASED] hugetlbfs: fix potential over/underflow setting node specific nr_hugepages

2019-03-28 Thread Mike Kravetz
The number of node specific huge pages can be set via a file such as: /sys/devices/system/node/node1/hugepages/hugepages-2048kB/nr_hugepages When a node specific value is specified, the global number of huge pages must also be adjusted. This adjustment is calculated as the specified node specific

Re: [PATCH v2 10/11] mm/hmm: add helpers for driver to safely take the mmap_sem v2

2019-03-28 Thread Jerome Glisse
On Thu, Mar 28, 2019 at 02:41:02PM -0700, John Hubbard wrote: > On 3/28/19 2:30 PM, Jerome Glisse wrote: > > On Thu, Mar 28, 2019 at 01:54:01PM -0700, John Hubbard wrote: > >> On 3/25/19 7:40 AM, jgli...@redhat.com wrote: > >>> From: Jérôme Glisse > >>> > >>> The device driver context which holds

Re: [RESEND PATCH v2 4/5] lib/list_sort: Simplify and remove MAX_LIST_LENGTH_BITS

2019-03-28 Thread Andrew Morton
On Tue, 19 Mar 2019 08:16:00 + George Spelvin wrote: > Rather than a fixed-size array of pending sorted runs, use the ->prev > links to keep track of things. This reduces stack usage, eliminates > some ugly overflow handling, and reduces the code size. > > Also: > * merge() no longer needs

Re: [PATCH v2 07/11] mm/hmm: add default fault flags to avoid the need to pre-fill pfns arrays.

2019-03-28 Thread Jerome Glisse
On Thu, Mar 28, 2019 at 02:59:50PM -0700, John Hubbard wrote: > On 3/25/19 7:40 AM, jgli...@redhat.com wrote: > > From: Jérôme Glisse > > > > The HMM mirror API can be use in two fashions. The first one where the HMM > > user coalesce multiple page faults into one request and set flags per pfns >

[ANNOUNCE] v5.0.5-rt3

2019-03-28 Thread Sebastian Andrzej Siewior
Dear RT folks! I'm pleased to announce the v5.0.5-rt3 patch set. Changes since v5.0.5-rt2: - Multiple fixes for build failures introduced by the printk series. Reported by the kbuild test robot, patched by John Ogness. - Various powerpc fixes: - Reorder TIF bits so the assembly cod

Re: [PATCH v2 07/11] mm/hmm: add default fault flags to avoid the need to pre-fill pfns arrays.

2019-03-28 Thread John Hubbard
On 3/28/19 3:12 PM, Jerome Glisse wrote: > On Thu, Mar 28, 2019 at 02:59:50PM -0700, John Hubbard wrote: >> On 3/25/19 7:40 AM, jgli...@redhat.com wrote: >>> From: Jérôme Glisse >>> >>> The HMM mirror API can be use in two fashions. The first one where the HMM >>> user coalesce multiple page fault

Re: [PATCH v2 10/11] mm/hmm: add helpers for driver to safely take the mmap_sem v2

2019-03-28 Thread John Hubbard
On 3/28/19 3:08 PM, Jerome Glisse wrote: > On Thu, Mar 28, 2019 at 02:41:02PM -0700, John Hubbard wrote: >> On 3/28/19 2:30 PM, Jerome Glisse wrote: >>> On Thu, Mar 28, 2019 at 01:54:01PM -0700, John Hubbard wrote: On 3/25/19 7:40 AM, jgli...@redhat.com wrote: > From: Jérôme Glisse [...]

Re: [PATCH v2 07/11] mm/hmm: add default fault flags to avoid the need to pre-fill pfns arrays.

2019-03-28 Thread Jerome Glisse
On Thu, Mar 28, 2019 at 03:19:06PM -0700, John Hubbard wrote: > On 3/28/19 3:12 PM, Jerome Glisse wrote: > > On Thu, Mar 28, 2019 at 02:59:50PM -0700, John Hubbard wrote: > >> On 3/25/19 7:40 AM, jgli...@redhat.com wrote: > >>> From: Jérôme Glisse > >>> > >>> The HMM mirror API can be use in two f

Re: [PATCH v2 07/11] mm/hmm: add default fault flags to avoid the need to pre-fill pfns arrays.

2019-03-28 Thread John Hubbard
On 3/28/19 3:31 PM, Jerome Glisse wrote: > On Thu, Mar 28, 2019 at 03:19:06PM -0700, John Hubbard wrote: >> On 3/28/19 3:12 PM, Jerome Glisse wrote: >>> On Thu, Mar 28, 2019 at 02:59:50PM -0700, John Hubbard wrote: On 3/25/19 7:40 AM, jgli...@redhat.com wrote: > From: Jérôme Glisse >

Re: [PATCH v2 10/11] mm/hmm: add helpers for driver to safely take the mmap_sem v2

2019-03-28 Thread Jerome Glisse
On Thu, Mar 28, 2019 at 03:25:39PM -0700, John Hubbard wrote: > On 3/28/19 3:08 PM, Jerome Glisse wrote: > > On Thu, Mar 28, 2019 at 02:41:02PM -0700, John Hubbard wrote: > >> On 3/28/19 2:30 PM, Jerome Glisse wrote: > >>> On Thu, Mar 28, 2019 at 01:54:01PM -0700, John Hubbard wrote: > On 3/25

Re: [PATCH v2 10/11] mm/hmm: add helpers for driver to safely take the mmap_sem v2

2019-03-28 Thread John Hubbard
On 3/28/19 3:40 PM, Jerome Glisse wrote: > On Thu, Mar 28, 2019 at 03:25:39PM -0700, John Hubbard wrote: >> On 3/28/19 3:08 PM, Jerome Glisse wrote: >>> On Thu, Mar 28, 2019 at 02:41:02PM -0700, John Hubbard wrote: On 3/28/19 2:30 PM, Jerome Glisse wrote: > On Thu, Mar 28, 2019 at 01:54:01

Re: [PATCH 06/10] mm: vmscan: demote anon DRAM pages to PMEM node

2019-03-28 Thread Keith Busch
On Thu, Mar 28, 2019 at 02:59:30PM -0700, Yang Shi wrote: > Yes, it still could fail. I can't tell which way is better for now. I > just thought scanning another round then migrating should be still > faster than swapping off the top of my head. I think it depends on the relative capacities betw

Re: [PATCH net-next v5 13/22] ethtool: provide driver/device information in GET_INFO request

2019-03-28 Thread Michal Kubecek
On Thu, Mar 28, 2019 at 01:09:04PM -0700, Jakub Kicinski wrote: > On Thu, 28 Mar 2019 17:34:39 +0100, Jiri Pirko wrote: > > Thu, Mar 28, 2019 at 10:53:47AM CET, mkube...@suse.cz wrote: > > >On Thu, Mar 28, 2019 at 10:21:26AM +0100, Jiri Pirko wrote: > > >> Wed, Mar 27, 2019 at 11:25:54PM CET, mku

mmotm 2019-03-28-15-50 uploaded

2019-03-28 Thread akpm
The mm-of-the-moment snapshot 2019-03-28-15-50 has been uploaded to http://www.ozlabs.org/~akpm/mmotm/ mmotm-readme.txt says README for mm-of-the-moment: http://www.ozlabs.org/~akpm/mmotm/ This is a snapshot of my -mm patch queue. Uploaded at random hopefully more than once a week. You wi

Re: [PATCH 2/4] dmaengine: imx-sdma: Add clock ratio 1:1 check

2019-03-28 Thread Fabio Estevam
change to the imx8mq for now this patch also adds an > im8mq-sdma compatible string. > > Signed-off-by: Angus Ainslie (Purism) This has already been applied and it is in linux-next: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?h=next-20190328&id=25aaa75df1e6

Re: [PATCH v2 10/11] mm/hmm: add helpers for driver to safely take the mmap_sem v2

2019-03-28 Thread Jerome Glisse
On Thu, Mar 28, 2019 at 03:43:33PM -0700, John Hubbard wrote: > On 3/28/19 3:40 PM, Jerome Glisse wrote: > > On Thu, Mar 28, 2019 at 03:25:39PM -0700, John Hubbard wrote: > >> On 3/28/19 3:08 PM, Jerome Glisse wrote: > >>> On Thu, Mar 28, 2019 at 02:41:02PM -0700, John Hubbard wrote: > On 3/28

[PATCH] x86: define LOADED_MM_SWITCHING with pointer-sized number

2019-03-28 Thread Jann Horn
sparse complains that LOADED_MM_SWITCHING's definition casts an int to a pointer: arch/x86/mm/tlb.c:409:17: warning: non size-preserving integer to pointer cast Use a pointer-sized integer constant instead. Signed-off-by: Jann Horn --- arch/x86/include/asm/tlbflush.h | 2 +- 1 file changed, 1

RE: [PATCH v19,RESEND 24/27] x86/vdso: Add __vdso_sgx_enter_enclave() to wrap SGX enclave transitions

2019-03-28 Thread Xing, Cedric
> It's certainly making progress. I like the fact that the callback is > now unconditional (if non-NULL) rather than being used just in case of > certain exit types. But, if we go down this route, let's name and > document it appropriately -- just call the function "callback" and > document it as

Re: [PATCH v2 10/11] mm/hmm: add helpers for driver to safely take the mmap_sem v2

2019-03-28 Thread John Hubbard
On 3/28/19 4:05 PM, Jerome Glisse wrote: > On Thu, Mar 28, 2019 at 03:43:33PM -0700, John Hubbard wrote: >> On 3/28/19 3:40 PM, Jerome Glisse wrote: >>> On Thu, Mar 28, 2019 at 03:25:39PM -0700, John Hubbard wrote: On 3/28/19 3:08 PM, Jerome Glisse wrote: > On Thu, Mar 28, 2019 at 02:41:02

[PATCH v1 1/2] MAINTAINERS: fix bad pattern in ARM/NUVOTON NPCM

2019-03-28 Thread Tomer Maimon
In the process of upstreaming architecture support for ARM/NUVOTON NPCM include/dt-bindings/clock/nuvoton,npcm7xx-clks.h was renamed include/dt-bindings/clock/nuvoton,npcm7xx-clock.h without updating MAINTAINERS. This updates the MAINTAINERS pattern to match the new name of this file. Fixes: 6a498

[PATCH v1 2/2] MAINTAINERS: Add maintainer and replacing reviewer ARM/NUVOTON NPCM

2019-03-28 Thread Tomer Maimon
Adding Tali Perry as Nuvoton NPCM maintainer Replacing Brendan Higgins Nuvoton NPCM reviewer with Benjamin Fair. Signed-off-by: Tomer Maimon --- MAINTAINERS | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 8b305d2f2a8a..4ece87fcc166 100644 ---

Re: [PATCH v1 1/2] MAINTAINERS: fix bad pattern in ARM/NUVOTON NPCM

2019-03-28 Thread Brendan Higgins
On Thu, Mar 28, 2019 at 4:13 PM Tomer Maimon wrote: > > In the process of upstreaming architecture support for ARM/NUVOTON NPCM > include/dt-bindings/clock/nuvoton,npcm7xx-clks.h was renamed > include/dt-bindings/clock/nuvoton,npcm7xx-clock.h without updating > MAINTAINERS. This updates the MAINTA

Re: [PATCH v2 07/11] mm/hmm: add default fault flags to avoid the need to pre-fill pfns arrays.

2019-03-28 Thread Jerome Glisse
On Thu, Mar 28, 2019 at 03:40:42PM -0700, John Hubbard wrote: > On 3/28/19 3:31 PM, Jerome Glisse wrote: > > On Thu, Mar 28, 2019 at 03:19:06PM -0700, John Hubbard wrote: > >> On 3/28/19 3:12 PM, Jerome Glisse wrote: > >>> On Thu, Mar 28, 2019 at 02:59:50PM -0700, John Hubbard wrote: > On 3/25

Re: [PATCH v2 10/11] mm/hmm: add helpers for driver to safely take the mmap_sem v2

2019-03-28 Thread Jerome Glisse
On Thu, Mar 28, 2019 at 04:20:37PM -0700, John Hubbard wrote: > On 3/28/19 4:05 PM, Jerome Glisse wrote: > > On Thu, Mar 28, 2019 at 03:43:33PM -0700, John Hubbard wrote: > >> On 3/28/19 3:40 PM, Jerome Glisse wrote: > >>> On Thu, Mar 28, 2019 at 03:25:39PM -0700, John Hubbard wrote: > On 3/28

Re: [PATCH v1 2/2] MAINTAINERS: Add maintainer and replacing reviewer ARM/NUVOTON NPCM

2019-03-28 Thread Brendan Higgins
On Thu, Mar 28, 2019 at 4:13 PM Tomer Maimon wrote: > > Adding Tali Perry as Nuvoton NPCM maintainer > Replacing Brendan Higgins Nuvoton NPCM reviewer with > Benjamin Fair. > > Signed-off-by: Tomer Maimon > --- Reviewed-by: Brendan Higgins

Re: [PATCH v2 07/11] mm/hmm: add default fault flags to avoid the need to pre-fill pfns arrays.

2019-03-28 Thread John Hubbard
On 3/28/19 4:21 PM, Jerome Glisse wrote: > On Thu, Mar 28, 2019 at 03:40:42PM -0700, John Hubbard wrote: >> On 3/28/19 3:31 PM, Jerome Glisse wrote: >>> On Thu, Mar 28, 2019 at 03:19:06PM -0700, John Hubbard wrote: On 3/28/19 3:12 PM, Jerome Glisse wrote: > On Thu, Mar 28, 2019 at 02:59:50

Re: [PATCH v2 10/11] mm/hmm: add helpers for driver to safely take the mmap_sem v2

2019-03-28 Thread John Hubbard
On 3/28/19 4:24 PM, Jerome Glisse wrote: > On Thu, Mar 28, 2019 at 04:20:37PM -0700, John Hubbard wrote: >> On 3/28/19 4:05 PM, Jerome Glisse wrote: >>> On Thu, Mar 28, 2019 at 03:43:33PM -0700, John Hubbard wrote: On 3/28/19 3:40 PM, Jerome Glisse wrote: > On Thu, Mar 28, 2019 at 03:25:39

Re: [PATCH v2 07/11] mm/hmm: add default fault flags to avoid the need to pre-fill pfns arrays.

2019-03-28 Thread Jerome Glisse
On Thu, Mar 28, 2019 at 04:28:47PM -0700, John Hubbard wrote: > On 3/28/19 4:21 PM, Jerome Glisse wrote: > > On Thu, Mar 28, 2019 at 03:40:42PM -0700, John Hubbard wrote: > >> On 3/28/19 3:31 PM, Jerome Glisse wrote: > >>> On Thu, Mar 28, 2019 at 03:19:06PM -0700, John Hubbard wrote: > On 3/28

linux-next: stats (Was: Linux 5.1-rc1)

2019-03-28 Thread Stephen Rothwell
Hi all, As usual, the executive friendly graph is at http://neuling.org/linux-next-size.html :-) (No merge commits counted, next-20190304 was the first linux-next after the merge window opened.) Commits in v5.1-rc1 (relative to v5.0):11241 Commits in next-20190304:

[PATCH v2 0/2] A couple hugetlbfs fixes

2019-03-28 Thread Mike Kravetz
I stumbled on these two hugetlbfs issues while looking at other things: - The 'restore reserve' functionality at page free time should not be adjusting subpool counts. - A BUG can be triggered (not easily) due to temporarily mapping a page before doing a COW. Both are described in detail in th

[PATCH v2 1/2] huegtlbfs: on restore reserve error path retain subpool reservation

2019-03-28 Thread Mike Kravetz
When a huge page is allocated, PagePrivate() is set if the allocation consumed a reservation. When freeing a huge page, PagePrivate is checked. If set, it indicates the reservation should be restored. PagePrivate being set at free huge page time mostly happens on error paths. When huge page rese

[PATCH v2 2/2] hugetlb: use same fault hash key for shared and private mappings

2019-03-28 Thread Mike Kravetz
hugetlb uses a fault mutex hash table to prevent page faults of the same pages concurrently. The key for shared and private mappings is different. Shared keys off address_space and file index. Private keys off mm and virtual address. Consider a private mappings of a populated hugetlbfs file. A

Re: [PATCH] drivers/acpi: Clear status of an event before enabling it

2019-03-28 Thread Furquan Shaikh
On Thu, Mar 28, 2019 at 1:57 AM Rafael J. Wysocki wrote: > > On Thu, Mar 28, 2019 at 1:46 AM Furquan Shaikh wrote: > > > > On Wed, Mar 27, 2019 at 5:24 AM Rafael J. Wysocki wrote: > > > > > > On Thu, Mar 21, 2019 at 3:16 AM Furquan Shaikh wrote: > > > > > > > > On Wed, Mar 20, 2019 at 5:11 PM R

[PATCH v2 2/2] MAINTAINERS: Add maintainer and replacing reviewer ARM/NUVOTON NPCM

2019-03-28 Thread Tomer Maimon
Adding Tali Perry as Nuvoton NPCM maintainer Replacing Brendan Higgins Nuvoton NPCM reviewer with Benjamin Fair. Signed-off-by: Tomer Maimon Reviewed-by: Brendan Higgins --- MAINTAINERS | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 8b305d2

[PATCH v2 1/2] MAINTAINERS: fix bad pattern in ARM/NUVOTON NPCM

2019-03-28 Thread Tomer Maimon
In the process of upstreaming architecture support for ARM/NUVOTON NPCM include/dt-bindings/clock/nuvoton,npcm7xx-clks.h was renamed include/dt-bindings/clock/nuvoton,npcm7xx-clock.h without updating MAINTAINERS. This updates the MAINTAINERS pattern to match the new name of this file. Fixes: 6a498

[PATCH] staging: rtl8192u: fix incorrect mask for EEPROMTxPowerLevelCCK setting

2019-03-28 Thread Colin King
From: Colin Ian King Currently the lower 8 bits of ret are being masked and left shifted by 8 bits always leaving a result of zero. The mask appears to be incorrect and should probably be 0xff00 instead of 0xff. Fix this. (Note: not tested). Fixes: 16feab644fd1 ("staging: rtl8192u: check retur

Re: [PATCH v2 06/11] mm/hmm: improve driver API to work and wait over a range v2

2019-03-28 Thread Ira Weiny
On Mon, Mar 25, 2019 at 10:40:06AM -0400, Jerome Glisse wrote: > From: Jérôme Glisse > > A common use case for HMM mirror is user trying to mirror a range > and before they could program the hardware it get invalidated by > some core mm event. Instead of having user re-try right away to > mirror

[PATCH v2 13/24] acpi doc: convert acpi/acpi-lid.txt to rst format

2019-03-28 Thread Changbin Du
This converts the plain text documentation to reStructuredText format and add it to Sphinx TOC tree. No essential content change. Signed-off-by: Changbin Du --- .../acpi/{acpi-lid.txt => acpi-lid.rst} | 48 --- Documentation/acpi/index.rst | 1 + 2 files c

[PATCH v2 11/24] acpi doc: convert acpi/dsdt-override.txt to rst format

2019-03-28 Thread Changbin Du
This converts the plain text documentation to reStructuredText format and add it to Sphinx TOC tree. No essential content change. Signed-off-by: Changbin Du --- .../acpi/{dsdt-override.txt => dsdt-override.rst} | 8 +++- Documentation/acpi/index.rst | 1 +

[PATCH v2 12/24] acpi doc: convert acpi/i2c-muxes.txt to rst format

2019-03-28 Thread Changbin Du
This converts the plain text documentation to reStructuredText format and add it to Sphinx TOC tree. No essential content change. Signed-off-by: Changbin Du --- Documentation/acpi/i2c-muxes.rst | 61 Documentation/acpi/i2c-muxes.txt | 58 -

[PATCH v2 10/24] acpi doc: convert acpi/initrd_table_override.txt to rst format

2019-03-28 Thread Changbin Du
This converts the plain text documentation to reStructuredText format and add it to Sphinx TOC tree. No essential content change. Signed-off-by: Changbin Du --- Documentation/acpi/index.rst | 1 + Documentation/acpi/initrd_table_override.rst | 120 +++ Documenta

Re: kernel BUG at drivers/android/binder_alloc.c:LINE! (3)

2019-03-28 Thread syzbot
Hello, syzbot tried to test the proposed patch but build/boot failed: timed out Tested on: commit: 0532a1b0 virt: vbox: Implement passing requestor info to t.. git tree: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git char-misc-linus kernel config: h

Re: [PATCH v3 1/2] dt-bindings: arm: coresight: Support static funnel

2019-03-28 Thread Leo Yan
On Thu, Mar 28, 2019 at 07:24:35PM +, Suzuki K Poulose wrote: > On 03/28/2019 02:35 AM, Leo Yan wrote: > > Document DT binding for static (non-configurable) funnel and give an > > example for it. > > > > Cc: Mathieu Poirier > > Cc: Suzuki K Poulose > > Cc: Wanglai Shi > > Signed-off-by: Leo

Re: [PATCH 04/10] mm: numa: promote pages to DRAM when it is accessed twice

2019-03-28 Thread kbuild test robot
Hi Yang, Thank you for the patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v5.1-rc2 next-20190328] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux

Re: [PATCH v2 02/11] mm/hmm: use reference counting for HMM struct v2

2019-03-28 Thread John Hubbard
On 3/28/19 2:21 PM, Jerome Glisse wrote: > On Thu, Mar 28, 2019 at 01:43:13PM -0700, John Hubbard wrote: >> On 3/28/19 12:11 PM, Jerome Glisse wrote: >>> On Thu, Mar 28, 2019 at 04:07:20AM -0700, Ira Weiny wrote: On Mon, Mar 25, 2019 at 10:40:02AM -0400, Jerome Glisse wrote: > From: Jérôme

MTCN#: 2501757333

2019-03-28 Thread Mrs Joy Isa
-- Attn E-mail Address Owner,Website: www.westernunion.com Address: Plot 1261, Adela Hopewell Street CO/B/REP, Republic Of Benin . Contact person: . Mrs. Joy Isa Email: ((westernunion...@gmail.com) We have concluded to effect your total payment of $4.5m USD through Western Union Money Transfer

Re: [PATCH v2 07/11] mm/hmm: add default fault flags to avoid the need to pre-fill pfns arrays.

2019-03-28 Thread Ira Weiny
On Thu, Mar 28, 2019 at 04:28:47PM -0700, John Hubbard wrote: > On 3/28/19 4:21 PM, Jerome Glisse wrote: > > On Thu, Mar 28, 2019 at 03:40:42PM -0700, John Hubbard wrote: > >> On 3/28/19 3:31 PM, Jerome Glisse wrote: > >>> On Thu, Mar 28, 2019 at 03:19:06PM -0700, John Hubbard wrote: > On 3/28

RE: [PATCH v4] HID: core: move Usage Page concatenation to Main item

2019-03-28 Thread Junge, Terry
On Thursday, March 28, 2019 6:49 AM Benjamin Tissoires wrote: >> >> Hi Nicolas, >> >> V4 looks good to me. > >Looks good to me too. > >Terry, can I consider this as a formal Rev-by you? Benjamin, Yes, thank you. What is the normal way of formally indicating Rev-by? Regards, Terry > >Cheers, >

Re: [PATCH v2 06/11] mm/hmm: improve driver API to work and wait over a range v2

2019-03-28 Thread Jerome Glisse
On Thu, Mar 28, 2019 at 09:12:21AM -0700, Ira Weiny wrote: > On Mon, Mar 25, 2019 at 10:40:06AM -0400, Jerome Glisse wrote: > > From: Jérôme Glisse > > > > A common use case for HMM mirror is user trying to mirror a range > > and before they could program the hardware it get invalidated by > > so

Re: [PATCH v2 02/11] mm/hmm: use reference counting for HMM struct v2

2019-03-28 Thread Ira Weiny
On Thu, Mar 28, 2019 at 05:39:26PM -0700, John Hubbard wrote: > On 3/28/19 2:21 PM, Jerome Glisse wrote: > > On Thu, Mar 28, 2019 at 01:43:13PM -0700, John Hubbard wrote: > >> On 3/28/19 12:11 PM, Jerome Glisse wrote: > >>> On Thu, Mar 28, 2019 at 04:07:20AM -0700, Ira Weiny wrote: > On Mon, M

Re: [PATCH v2 08/11] mm/hmm: mirror hugetlbfs (snapshoting, faulting and DMA mapping) v2

2019-03-28 Thread Ira Weiny
On Mon, Mar 25, 2019 at 10:40:08AM -0400, Jerome Glisse wrote: > From: Jérôme Glisse > > HMM mirror is a device driver helpers to mirror range of virtual address. > It means that the process jobs running on the device can access the same > virtual address as the CPU threads of that process. This

Re: kernel BUG at drivers/android/binder_alloc.c:LINE! (3)

2019-03-28 Thread Todd Kjos
Sigh. One more try... master with the same patch as an attachment. (the patch is already queued up in gregkh's 'char-misc-linus' branch). #syz test: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git master On Thu, Mar 28, 2019 at 5:20 PM syzbot wrote: > > Hello, > > syzbot tr

Re: [PATCH v2 02/11] mm/hmm: use reference counting for HMM struct v2

2019-03-28 Thread Jerome Glisse
On Thu, Mar 28, 2019 at 09:57:09AM -0700, Ira Weiny wrote: > On Thu, Mar 28, 2019 at 05:39:26PM -0700, John Hubbard wrote: > > On 3/28/19 2:21 PM, Jerome Glisse wrote: > > > On Thu, Mar 28, 2019 at 01:43:13PM -0700, John Hubbard wrote: > > >> On 3/28/19 12:11 PM, Jerome Glisse wrote: > > >>> On Thu

Re: [PATCH v2 07/11] mm/hmm: add default fault flags to avoid the need to pre-fill pfns arrays.

2019-03-28 Thread Jerome Glisse
On Thu, Mar 28, 2019 at 09:42:31AM -0700, Ira Weiny wrote: > On Thu, Mar 28, 2019 at 04:28:47PM -0700, John Hubbard wrote: > > On 3/28/19 4:21 PM, Jerome Glisse wrote: > > > On Thu, Mar 28, 2019 at 03:40:42PM -0700, John Hubbard wrote: > > >> On 3/28/19 3:31 PM, Jerome Glisse wrote: > > >>> On Thu,

Re: [PATCH v2 02/11] mm/hmm: use reference counting for HMM struct v2

2019-03-28 Thread John Hubbard
On 3/28/19 6:00 PM, Jerome Glisse wrote: > On Thu, Mar 28, 2019 at 09:57:09AM -0700, Ira Weiny wrote: >> On Thu, Mar 28, 2019 at 05:39:26PM -0700, John Hubbard wrote: >>> On 3/28/19 2:21 PM, Jerome Glisse wrote: On Thu, Mar 28, 2019 at 01:43:13PM -0700, John Hubbard wrote: > On 3/28/19 12:

[RFC PATCH] mm, kvm: account kvm_vcpu_mmap to kmemcg

2019-03-28 Thread Shakeel Butt
A VCPU of a VM can allocate upto three pages which can be mmap'ed by the user space application. At the moment this memory is not charged. On a large machine running large number of VMs (or small number of VMs having large number of VCPUs), this unaccounted memory can be very significant. So, this

Re: [PATCH v2 07/11] mm/hmm: add default fault flags to avoid the need to pre-fill pfns arrays.

2019-03-28 Thread John Hubbard
On 3/28/19 6:17 PM, Jerome Glisse wrote: > On Thu, Mar 28, 2019 at 09:42:31AM -0700, Ira Weiny wrote: >> On Thu, Mar 28, 2019 at 04:28:47PM -0700, John Hubbard wrote: >>> On 3/28/19 4:21 PM, Jerome Glisse wrote: On Thu, Mar 28, 2019 at 03:40:42PM -0700, John Hubbard wrote: > On 3/28/19 3:3

Re: [PATCH v2 07/11] mm/hmm: add default fault flags to avoid the need to pre-fill pfns arrays.

2019-03-28 Thread Jerome Glisse
On Thu, Mar 28, 2019 at 06:30:26PM -0700, John Hubbard wrote: > On 3/28/19 6:17 PM, Jerome Glisse wrote: > > On Thu, Mar 28, 2019 at 09:42:31AM -0700, Ira Weiny wrote: > >> On Thu, Mar 28, 2019 at 04:28:47PM -0700, John Hubbard wrote: > >>> On 3/28/19 4:21 PM, Jerome Glisse wrote: > On Thu, Ma

[PATCH] regulator: vctrl: Remove unneeded continue statement

2019-03-28 Thread Axel Lin
Signed-off-by: Axel Lin --- drivers/regulator/vctrl-regulator.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/regulator/vctrl-regulator.c b/drivers/regulator/vctrl-regulator.c index 78de002037c7..259864520a06 100644 --- a/drivers/regulator/vctrl-regulator.c +++ b

Re: [PATCH v2 02/11] mm/hmm: use reference counting for HMM struct v2

2019-03-28 Thread Jerome Glisse
On Thu, Mar 28, 2019 at 06:18:35PM -0700, John Hubbard wrote: > On 3/28/19 6:00 PM, Jerome Glisse wrote: > > On Thu, Mar 28, 2019 at 09:57:09AM -0700, Ira Weiny wrote: > >> On Thu, Mar 28, 2019 at 05:39:26PM -0700, John Hubbard wrote: > >>> On 3/28/19 2:21 PM, Jerome Glisse wrote: > On Thu, Ma

Re: [PATCH v2 07/11] mm/hmm: add default fault flags to avoid the need to pre-fill pfns arrays.

2019-03-28 Thread Jerome Glisse
On Thu, Mar 28, 2019 at 09:42:59PM -0400, Jerome Glisse wrote: > On Thu, Mar 28, 2019 at 06:30:26PM -0700, John Hubbard wrote: > > On 3/28/19 6:17 PM, Jerome Glisse wrote: > > > On Thu, Mar 28, 2019 at 09:42:31AM -0700, Ira Weiny wrote: > > >> On Thu, Mar 28, 2019 at 04:28:47PM -0700, John Hubbard

Re: [PATCH RFC] KVM: x86: vmx: throttle immediate exit through preemtion timer to assist buggy guests

2019-03-28 Thread Liran Alon
> On 28 Mar 2019, at 22:31, Vitaly Kuznetsov wrote: > > This is embarassing but we have another Windows/Hyper-V issue to workaround > in KVM (or QEMU). Hope "RFC" makes it less offensive. > > It was noticed that Hyper-V guest on q35 KVM/QEMU VM hangs on boot if e.g. > 'piix4-usb-uhci' device

[PATCH] max98357a:add dai without triggered by pcm

2019-03-28 Thread tony . zou . hq
From: Tony Zou max98357a's enable pin need setting independently when max98357a is shared I2S with other codec. add dai "max98357a-hifi" without pcm trigger, and use "Spk PA Switch" to set the enable pin. Signed-off-by: Tony Zou --- sound/soc/codecs/max98357a.c | 94

Re: [PATCH v2 07/11] mm/hmm: add default fault flags to avoid the need to pre-fill pfns arrays.

2019-03-28 Thread John Hubbard
On 3/28/19 6:59 PM, Jerome Glisse wrote: >> [...] > Indeed I did not realize there is an hmm "pfn" until I saw this function: > > /* > * hmm_pfn_from_pfn() - create a valid HMM pfn value from pfn > * @range: range use to encode HMM pfn value > * @pfn: pfn value for wh

Re: [PATCH v2 09/11] mm/hmm: allow to mirror vma of a file on a DAX backed filesystem v2

2019-03-28 Thread Ira Weiny
On Mon, Mar 25, 2019 at 10:40:09AM -0400, Jerome Glisse wrote: > From: Jérôme Glisse > > HMM mirror is a device driver helpers to mirror range of virtual address. > It means that the process jobs running on the device can access the same > virtual address as the CPU threads of that process. This

Re: [PATCH v2 07/11] mm/hmm: add default fault flags to avoid the need to pre-fill pfns arrays.

2019-03-28 Thread Jerome Glisse
On Thu, Mar 28, 2019 at 07:05:21PM -0700, John Hubbard wrote: > On 3/28/19 6:59 PM, Jerome Glisse wrote: > >> [...] > > Indeed I did not realize there is an hmm "pfn" until I saw this > > function: > > > > /* > > * hmm_pfn_from_pfn() - create a valid HMM pfn value from pfn

Re: [PATCH v2 02/11] mm/hmm: use reference counting for HMM struct v2

2019-03-28 Thread John Hubbard
On 3/28/19 6:50 PM, Jerome Glisse wrote: [...] >>> >>> The hmm_put() is just releasing the reference on the hmm struct. >>> >>> Here i feel i am getting contradicting requirement from different people. >>> I don't think there is a way to please everyone here. >>> >> >> That's not a true conflict: y

[PATCH v2 0/2] mtd: physmap: Using gpio-addrs

2019-03-28 Thread Chris Packham
I have a system with ADDR24 of the flash chip connected to a gpio pin. This series fixes a bug in physmap-core.c and adds an example for using gpio-addrs to the dt-binding based on the system I'm using. Chris Packham (2): mtd: maps: physmap: Store gpio_values correctly dt-binding: mtd: physmap

[PATCH v2 2/2] dt-binding: mtd: physmap: Add example using addr-gpios property

2019-03-28 Thread Chris Packham
Add an example showing how to use the addr-gpios property to deal with a system with limited IO space. Cc: devicet...@vger.kernel.org Signed-off-by: Chris Packham --- Changes in v2: - None .../devicetree/bindings/mtd/mtd-physmap.txt | 16 1 file changed, 16 insertions(+)

[PATCH v2 1/2] mtd: maps: physmap: Store gpio_values correctly

2019-03-28 Thread Chris Packham
When the gpio-addr-flash.c driver was merged with physmap-core.c the code to store the current gpio_values was lost. This meant that once a gpio was asserted it was never de-asserted. Fix this by storing the current offset in gpio_values like the old driver used to. Fixes: commit ba32ce95cbd9 ("mt

Re: [PATCH v2 09/11] mm/hmm: allow to mirror vma of a file on a DAX backed filesystem v2

2019-03-28 Thread Jerome Glisse
On Thu, Mar 28, 2019 at 11:04:26AM -0700, Ira Weiny wrote: > On Mon, Mar 25, 2019 at 10:40:09AM -0400, Jerome Glisse wrote: > > From: Jérôme Glisse > > > > HMM mirror is a device driver helpers to mirror range of virtual address. > > It means that the process jobs running on the device can access

<    1   2   3   4   5   6   7   >