I am Mr. Hussein Harmuh from Syria. I got my information while I was searching a trusted person, I have a very profitable business offer for you and I can assure you that you will not regret being par

2018-06-29 Thread Hussein Harmuh
Col. Hussein Kharmusch

Re: [PATCH v3] add param that allows bootline control of hardened usercopy

2018-06-29 Thread kbuild test robot
Hi Chris, Thank you for the patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v4.18-rc2 next-20180629] [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 2/4] x86/split_lock: Align x86_capability to unsigned long to avoid split locked access

2018-06-29 Thread Thomas Gleixner
On Fri, 29 Jun 2018, Fenghua Yu wrote: > On Fri, Jun 29, 2018 at 05:00:51PM -0700, Fenghua Yu wrote: > diff --git a/arch/x86/boot/cpuflags.h b/arch/x86/boot/cpuflags.h > index 2e20814d3ce3..29de0ff74351 100644 > --- a/arch/x86/boot/cpuflags.h > +++ b/arch/x86/boot/cpuflags.h > @@ -9,7 +9,7 @@ stru

tools/include/asm-generic/bitsperlong.h:14:2: error: #error Inconsistent word size. Check asm/bitsperlong.h

2018-06-29 Thread kbuild test robot
Hi Alexei, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 1904148a361a07fb2d7cba1261d1d2c2f33c8d2e commit: 819dd92b9c0bc7bce9097d8c1f14240f471bb386 bpfilter: switch to CC from HOSTCC date: 4 weeks ago config: alp

Re: [PATCH v6] drivers/staging: Gasket driver framework + Apex driver

2018-06-29 Thread kbuild test robot
Hi Simon, Thank you for the patch! Yet something to improve: [auto build test ERROR on staging/staging-testing] [also build test ERROR on v4.18-rc2 next-20180629] [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

[PATCH] sparc32: cacheflush_32: Declare struct page

2018-06-29 Thread Guenter Roeck
Building allmodconfig images for sparc32 generates warnings such as arch/sparc/include/asm/cacheflush_32.h:40:37: warning: 'struct page' declared inside parameter list This results in odd warnings such as arch/sparc/include/asm/cacheflush_32.h:40:6: note: expected 'struct page *'

Re: [PATCH] ext4: Check superblock mapped prior to committing

2018-06-29 Thread Andreas Dilger
On Jun 29, 2018, at 1:36 PM, Jon Derrick wrote: > > This patch attempts to close a hole leading to a BUG seen with hot > removals during writes [1]. > > A block device (NVME namespace in this test case) is formatted to EXT4 > without partitions. It's mounted and write I/O is run to a file, then

Re: [PATCH 1/7] mm: allocate mm_cpumask dynamically based on nr_cpu_ids

2018-06-29 Thread kbuild test robot
Hi Rik, Thank you for the patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v4.18-rc2 next-20180629] [cannot apply to tip/x86/core] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https

Re: [RFC v3 PATCH 4/5] mm: mmap: zap pages with read mmap_sem for large mapping

2018-06-29 Thread Yang Shi
On 6/29/18 8:15 PM, Andrew Morton wrote: On Fri, 29 Jun 2018 19:28:15 -0700 Yang Shi wrote: we're adding a bunch of code to 32-bit kernels which will never be executed. I'm thinking it would be better to be much more explicit with "#ifdef CONFIG_64BIT" in this code, rather than relying u

Re: [PATCH] modsign: log module name in the event of an error

2018-06-29 Thread Joe Perches
On Fri, 2018-06-29 at 17:53 +0200, Jessica Yu wrote: > Now that we have the load_info struct all initialized (including > info->name, which contains the name of the module) before > module_sig_check(), make the load_info struct and hence module name > available to mod_verify_sig() so that we can lo

Re: [PATCH 2/2] drivers: core: Remove glue dirs from sysfs earlier

2018-06-29 Thread Benjamin Herrenschmidt
On Sat, 2018-06-30 at 11:04 +1000, Benjamin Herrenschmidt wrote: > I had a look (see my other email). It's non-trivial. We can still look > into it, but from what I gathered of how sysfs works, it's based on > kernfs which doesn't have the kobjects nor access to the reference > count, and is the ho

Re: [PATCH v3] add param that allows bootline control of hardened usercopy

2018-06-29 Thread kbuild test robot
Hi Chris, Thank you for the patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v4.18-rc2 next-20180629] [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 v7] drivers/staging: Gasket driver framework + Apex driver

2018-06-29 Thread Joe Perches
On Fri, 2018-06-29 at 22:49 -0400, Simon Que wrote: > The Gasket (Google ASIC Software, Kernel Extensions, and Tools) kernel > framework is a generic, flexible system that supports thin kernel > drivers. Gasket kernel drivers are expected to handle opening and > closing devices, mmap'ing BAR space

Re: [PATCH v2] kernel/memremap, kasan: Make ZONE_DEVICE with work with KASAN

2018-06-29 Thread Dan Williams
On Fri, Jun 29, 2018 at 7:33 PM, Andrew Morton wrote: > On Fri, 29 Jun 2018 19:49:32 +0300 Andrey Ryabinin > wrote: > >> KASAN learns about hot added memory via the memory hotplug notifier. >> The devm_memremap_pages() intentionally skips calling memory hotplug >> notifiers. > > Why does it do t

Re: [RFC v3 PATCH 4/5] mm: mmap: zap pages with read mmap_sem for large mapping

2018-06-29 Thread Andrew Morton
On Fri, 29 Jun 2018 19:28:15 -0700 Yang Shi wrote: > > > > we're adding a bunch of code to 32-bit kernels which will never be > > executed. > > > > I'm thinking it would be better to be much more explicit with "#ifdef > > CONFIG_64BIT" in this code, rather than relying upon the above magic. > >

[PATCH v2 1/2] mm/sparse: add sparse_init_nid()

2018-06-29 Thread Pavel Tatashin
sparse_init() requires to temporary allocate two large buffers: usemap_map and map_map. Baoquan He has identified that these buffers are so large that Linux is not bootable on small memory machines, such as a kdump boot. Baoquan provided a fix, which reduces these sizes of these buffers, but it is

[PATCH v2 0/2] sparse_init rewrite

2018-06-29 Thread Pavel Tatashin
Changelog: v1 - v2 - Addressed comments from Oscar Salvador In sparse_init() we allocate two large buffers to temporary hold usemap and memmap for the whole machine. However, we can avoid doing that if we changed sparse_init() to operated on per-node bases instead of doing it on the whole

[PATCH v2 2/2] mm/sparse: start using sparse_init_nid(), and remove old code

2018-06-29 Thread Pavel Tatashin
Change sprase_init() to only find the pnum ranges that belong to a specific node and call sprase_init_nid() for that range from sparse_init(). Delete all the code that became obsolete with this change. Signed-off-by: Pavel Tatashin --- include/linux/mm.h | 5 - mm/sparse-vmemmap.c | 39

Re: Mounting corrupted HFS+ causes kernel NULL pointer dereference

2018-06-29 Thread Ernesto A . Fernández
On Fri, Jun 29, 2018 at 03:45:43PM -0300, Ernesto A. Fernández wrote: > Hi again: > > A patch for your original report has already been added to the -mm tree. > > On Tue, Jun 12, 2018 at 09:43:26PM +0300, Anatoly Trosinenko wrote: > > Now, when mounting the attached hfsplus_16mb_segv to /mnt and

Re: [PATCH v2] kernel/memremap, kasan: Make ZONE_DEVICE with work with KASAN

2018-06-29 Thread Andrew Morton
On Fri, 29 Jun 2018 19:49:32 +0300 Andrey Ryabinin wrote: > KASAN learns about hot added memory via the memory hotplug notifier. > The devm_memremap_pages() intentionally skips calling memory hotplug > notifiers. Why does it do that? > So KASAN doesn't know anything about new memory added > by

Re: [RFC v3 PATCH 4/5] mm: mmap: zap pages with read mmap_sem for large mapping

2018-06-29 Thread Yang Shi
On 6/29/18 6:35 PM, Andrew Morton wrote: On Sat, 30 Jun 2018 06:39:44 +0800 Yang Shi wrote: And... diff --git a/mm/mmap.c b/mm/mmap.c index 87dcf83..d61e08b 100644 --- a/mm/mmap.c +++ b/mm/mmap.c @@ -2763,6 +2763,128 @@ static int munmap_lookup_vma(struct mm_struct *mm, struct vm_area_st

[PATCH] PCI: Make pci_get_rom_size() static

2018-06-29 Thread Bjorn Helgaas
From: Bjorn Helgaas pci_get_rom_size() is called only from pci_map_rom(), so it can be static. Make it static and remove the declaration from include/linux/pci.h. Signed-off-by: Bjorn Helgaas --- drivers/pci/rom.c |3 ++- include/linux/pci.h |1 - 2 files changed, 2 insertions(+), 2

Re: [RFC v3 PATCH 4/5] mm: mmap: zap pages with read mmap_sem for large mapping

2018-06-29 Thread Yang Shi
On 6/29/18 6:28 PM, Andrew Morton wrote: On Sat, 30 Jun 2018 06:39:44 +0800 Yang Shi wrote: When running some mmap/munmap scalability tests with large memory (i.e. 300GB), the below hung task issue may happen occasionally. INFO: task ps:14018 blocked for more than 120 seconds. Tai

Re: [PATCH v3] PCI: Expand documentation for pci_add_dma_alias()

2018-06-29 Thread Bjorn Helgaas
On Wed, May 30, 2018 at 02:13:11PM -0600, Logan Gunthorpe wrote: > Seeing there's been some confusion about the use of pci_add_dma_alias(), > expand the comment to describe why it must be called early and how > early it must be called. > > Also, expand on the purpose of this function and common re

Re: [PATCH v2 0/2] PCI Quirk Patchset for Microsemi Switchtec NTB

2018-06-29 Thread Bjorn Helgaas
On Wed, May 23, 2018 at 01:18:04PM -0700, dme...@gigaio.com wrote: > From: Doug Meyer > > This is a resend of the patch series to enable Microsemi Switchtec > NTB configurations to run with the IOMMU in the hosts turned on. > Because of the nature PCI Quirk implementation, it was preferable > to

Re: [PATCH] mm/fadvise: Fix signed overflow UBSAN complaint

2018-06-29 Thread Andrew Morton
On Fri, 29 Jun 2018 21:44:53 +0300 Andrey Ryabinin wrote: > Signed integer overflow is undefined according to the C standard. > The overflow in ksys_fadvise64_64() is deliberate, but since it is signed > overflow, UBSAN complains: > UBSAN: Undefined behaviour in mm/fadvise.c:76:10 >

Re: [RFC v3 PATCH 4/5] mm: mmap: zap pages with read mmap_sem for large mapping

2018-06-29 Thread Andrew Morton
On Sat, 30 Jun 2018 06:39:44 +0800 Yang Shi wrote: And... > diff --git a/mm/mmap.c b/mm/mmap.c > index 87dcf83..d61e08b 100644 > --- a/mm/mmap.c > +++ b/mm/mmap.c > @@ -2763,6 +2763,128 @@ static int munmap_lookup_vma(struct mm_struct *mm, > struct vm_area_struct **vma, > return 1; > }

Re: [RFC v3 PATCH 4/5] mm: mmap: zap pages with read mmap_sem for large mapping

2018-06-29 Thread Andrew Morton
On Sat, 30 Jun 2018 06:39:44 +0800 Yang Shi wrote: > When running some mmap/munmap scalability tests with large memory (i.e. > > 300GB), the below hung task issue may happen occasionally. > > INFO: task ps:14018 blocked for more than 120 seconds. >Tainted: GE 4.9.79-009.ali30

答复: 答复: 答复: 答复: [PATCH] ext4: e2fsprogs: fix inode bitmap num not integer,incompatible for ancient android devices

2018-06-29 Thread Gaoming (ming, consumer BG)
Yes, it is caused by using 1024 blocksize. It is historical problem, and I have to admit that's not good idea. I don't know why somebody choose it some years before. It has been corrected two years before or more early. But some ancient devices exist. It is not user data, no need to do file-ba

Re: [RFC PATCH 01/14] devres: Add devm_of_iomap()

2018-06-29 Thread Benjamin Herrenschmidt
On Fri, 2018-06-29 at 23:27 +0300, Andy Shevchenko wrote: > On Fri, Jun 29, 2018 at 12:14 PM, Linus Walleij > wrote: > > > I wonder if it is easy to find these cases and replace them with > > this neat function... > > Would be reasonable easy by using coccinelle. For the obvious ones yes. A lot

[PATCH v7 03/29] fpga: mgr: add status for fpga-manager

2018-06-29 Thread Wu Hao
This patch adds status sysfs interface for fpga manager, it's a read only interface which allows user to get fpga manager status, including full/partial reconfiguration error and other status information. It adds a status callback to fpga_manager_ops too, allows each fpga_manager driver to define i

Re: [PATCH V4] PCI: move early dump functionality from x86 arch into the common code

2018-06-29 Thread Bjorn Helgaas
On Mon, Jun 04, 2018 at 10:16:09PM -0400, Sinan Kaya wrote: > Move early dump functionality into common code so that it is available for > all archtiectures. No need to carry arch specific reads around as the read > hooks are already initialized by the time pci_setup_device() is getting > called du

[PATCH v7 04/29] fpga: mgr: add compat_id support

2018-06-29 Thread Wu Hao
This patch introduces compat_id support to fpga manager, it adds a fpga_compat_id pointer to fpga manager data structure to allow fpga manager drivers to save the compatibility id. This compat_id could be used for compatibility checking before doing partial reconfiguration to associated fpga region

[PATCH v7 05/29] fpga: region: add compat_id support

2018-06-29 Thread Wu Hao
This patch introduces a compat_id pointer member and sysfs interface for each fpga region, similar as compat_id for fpga manager, it allows applications to read the per region compat_id for compatibility checking before other actions on this fpga-region (e.g. PR). Signed-off-by: Wu Hao Acked-by:

[PATCH v7 07/29] fpga: dfl: add chardev support for feature devices

2018-06-29 Thread Wu Hao
For feature devices drivers, both the FPGA Management Engine (FME) and Accelerated Function Unit (AFU) driver need to expose user interfaces via the device file, for example, mmap and ioctls. This patch adds chardev support in the dfl driver for feature devices, FME and AFU. It reserves the charde

[PATCH v7 09/29] fpga: dfl: add feature device infrastructure

2018-06-29 Thread Wu Hao
From: Xiao Guangrong This patch abstracts the common operations of the sub features and defines the feature_ops data structure, including init, uinit and ioctl function pointers. And this patch adds some common helper functions for FME and AFU drivers, e.g. dfl_feature_dev_use_begin/end which are

[PATCH v7 11/29] fpga: dfl: add dfl_fpga_check_port_id function.

2018-06-29 Thread Wu Hao
This patch adds one common function in DFL framework. It uses port_ops get_id callback to get port id and compare it with given value. This function could be used as match function of the dfl_fpga_cdev_find_port function. Signed-off-by: Wu Hao Acked-by: Alan Tull --- v6: reabse and add Acked-by

[PATCH v7 14/29] fpga: dfl: add FPGA Management Engine driver basic framework

2018-06-29 Thread Wu Hao
From: Kang Luwei The FPGA Management Engine (FME) provides power, thermal management, performance counters, partial reconfiguration and other functions. For each function, it is packaged into a private feature linked to the FME feature device in the 'Device Feature List'. It's a platform device c

[PATCH v7 13/29] fpga: dfl-pci: add enumeration for feature devices

2018-06-29 Thread Wu Hao
The Device Feature List (DFL) is implemented in MMIO and features are linked via the DFLs. This patch enables pcie driver to prepare enumeration information (e.g. locations of all device feature lists in MMIO) and use common APIs provided by the Device Feature List framework to enumerate each featu

[PATCH v7 17/29] fpga: dfl: fme: add partial reconfiguration sub feature support

2018-06-29 Thread Wu Hao
From: Kang Luwei Partial Reconfiguration (PR) is the most important function for FME. It allows reconfiguration for given Port/Accelerated Function Unit (AFU). It creates platform devices for fpga-mgr, fpga-regions and fpga-bridges, and invokes fpga-region's interface (fpga_region_program_fpga)

[PATCH v7 19/29] fpga: dfl: fme-mgr: add compat_id support

2018-06-29 Thread Wu Hao
This patch adds compat_id support to fme manager driver, it reads the ID from the hardware register. And it could be used for compatibility check before partial reconfiguration. Signed-off-by: Wu Hao Acked-by: Alan Tull Acked-by: Moritz Fischer --- v6: add Acked-by from Alan. v7: add Acked-by f

[PATCH v7 18/29] fpga: dfl: add fpga manager platform driver for FME

2018-06-29 Thread Wu Hao
This patch adds fpga manager driver for FPGA Management Engine (FME). It implements fpga_manager_ops for FPGA Partial Reconfiguration function. Signed-off-by: Tim Whisonant Signed-off-by: Enno Luebbers Signed-off-by: Shiva Rao Signed-off-by: Christopher Rauer Signed-off-by: Kang Luwei Signed-

[PATCH v7 21/29] fpga: dfl: add fpga region platform driver for FME

2018-06-29 Thread Wu Hao
This patch adds fpga region platform driver for FPGA Management Engine. It register an fpga region with given fpga manager / bridge device. Signed-off-by: Tim Whisonant Signed-off-by: Enno Luebbers Signed-off-by: Shiva Rao Signed-off-by: Christopher Rauer Signed-off-by: Wu Hao Acked-by: Alan

[PATCH v7 24/29] fpga: dfl: afu: add port ops support

2018-06-29 Thread Wu Hao
This patch registers the port ops into the global list in the DFL framework, and it allows other modules to use the port ops. And This patch includes the implementation of the get_id and enable_set ops too. Signed-off-by: Wu Hao Acked-by: Alan Tull --- v6: rebase, fix copyright time and add Acke

[PATCH v7 25/29] fpga: dfl: afu: add header sub feature support

2018-06-29 Thread Wu Hao
The port header register set is always present for port, it is mainly for capability, control and status of the ports that AFU connected to. This patch implements header sub feature support. Below user interfaces are created by this patch. Sysfs interface: * /sys/class/fpga_region///id Read-onl

[PATCH v7 22/29] fpga: dfl: fme-region: add support for compat_id

2018-06-29 Thread Wu Hao
This patch adds compat_id support, it reuses fme manager's compat id, as the per region compat id is actually from the fme manager's register. Signed-off-by: Wu Hao Acked-by: Alan Tull Acked-by: Moritz Fischer --- v5: reuse fme manager's compat_id as per region compat_id v6: rebase, fix copyrig

[PATCH v7 27/29] fpga: dfl: afu: add afu sub feature support

2018-06-29 Thread Wu Hao
From: Xiao Guangrong User Accelerated Function Unit sub feature exposes the MMIO region of the AFU. After valid PR bitstream is programmed and the port is enabled, then this MMIO region could be accessed. This patch adds support to enumerate the AFU MMIO region and expose it to userspace via mma

[PATCH v7 29/29] MAINTAINERS: add entry for FPGA DFL drivers

2018-06-29 Thread Wu Hao
Add entry for FPGA Device Feature List (DFL) drivers. Signed-off-by: Wu Hao Acked-by: Alan Tull Acked-by: Moritz Fischer --- v7: add Acked-by from Alan and Moritz --- MAINTAINERS | 8 1 file changed, 8 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 07d1576..b9bb042 100644

[PATCH v7 26/29] fpga: dfl: afu: add DFL_FPGA_GET_API_VERSION/CHECK_EXTENSION ioctls support

2018-06-29 Thread Wu Hao
DFL_FPGA_GET_API_VERSION and DFL_FPGA_CHECK_EXTENSION ioctls are common ones which need to be supported by all feature devices drivers including FME and AFU. This patch implements above 2 ioctls in FPGA Accelerated Function Unit (AFU) driver. Signed-off-by: Tim Whisonant Signed-off-by: Enno Luebb

[PATCH v7 28/29] fpga: dfl: afu: add DFL_FPGA_PORT_DMA_MAP/UNMAP ioctls support

2018-06-29 Thread Wu Hao
DMA memory regions are required for Accelerated Function Unit (AFU) usage. These two ioctls allow user space applications to map user memory regions for dma, and unmap them after use. Iova is returned from driver to user space application via DFL_FPGA_PORT_DMA_MAP ioctl. Application needs to unmap

[PATCH v7 15/29] fpga: dfl: fme: add header sub feature support

2018-06-29 Thread Wu Hao
From: Kang Luwei The Header Register set is always present for FPGA Management Engine (FME), this patch implements init and uinit function for header sub feature and introduces several read-only sysfs interfaces for the capability and status. Sysfs interfaces: * /sys/class/fpga_region///ports_nu

[PATCH v7 20/29] fpga: dfl: add fpga bridge platform driver for FME

2018-06-29 Thread Wu Hao
This patch adds fpga bridge platform driver for FPGA Management Engine. It implements the enable_set callback for fpga bridge. Signed-off-by: Tim Whisonant Signed-off-by: Enno Luebbers Signed-off-by: Shiva Rao Signed-off-by: Christopher Rauer Signed-off-by: Wu Hao Acked-by: Alan Tull Acked-b

[PATCH v7 16/29] fpga: dfl: fme: add DFL_FPGA_GET_API_VERSION/CHECK_EXTENSION ioctls support

2018-06-29 Thread Wu Hao
DFL_FPGA_GET_API_VERSION and DFL_FPGA_CHECK_EXTENSION ioctls are common ones which need to be supported by all feature devices drivers including FME and AFU. Userspace application can use these ioctl interfaces to get the API info and check if specific extension is supported or not in current drive

[PATCH v7 23/29] fpga: dfl: add FPGA Accelerated Function Unit driver basic framework

2018-06-29 Thread Wu Hao
On DFL FPGA devices, the Accelerated Function Unit (AFU), can be reprogrammed for different functions. It connects to the FPGA infrastructure (static FPGA region) via a Port. Port CSRs are implemented separately from the AFU CSRs to provide control and status of the Port. Once valid PR bitstream is

[PATCH v7 12/29] fpga: add FPGA DFL PCIe device driver

2018-06-29 Thread Wu Hao
From: Zhang Yi This patch implements the basic framework of the driver for FPGA PCIe device which implements the Device Feature List (DFL) in its MMIO space. This driver is verified on Intel(R) PCIe-based FPGA DFL devices, including both integrated (e.g. Intel Server Platform with In-package FPGA

[PATCH v7 08/29] fpga: dfl: add dfl_fpga_cdev_find_port

2018-06-29 Thread Wu Hao
For feature devices, we need a method to find the port dedicated to the device. This patch adds a function dfl_fpga_cdev_find_port for this purpose. e.g. FPGA Management Engine (FME) Partial Reconfiguration sub feature, it uses this function to find dedicated port on the device for PR function impl

[PATCH v7 10/29] fpga: dfl: add dfl_fpga_port_ops support.

2018-06-29 Thread Wu Hao
In some cases, other DFL driver modules may need to access some port operations, e.g. disable / enable port for partial reconfiguration in FME module. In order to avoid dependency between port and FME modules, this patch introduces the dfl_fpga_port_ops support in DFL framework. A global dfl_fpga_p

[PATCH v7 06/29] fpga: add device feature list support

2018-06-29 Thread Wu Hao
Device Feature List (DFL) defines a feature list structure that creates a linked list of feature headers within the MMIO space to provide an extensible way of adding features. This patch introduces a kernel module to provide basic infrastructure to support FPGA devices which implement the Device Fe

[PATCH v7 01/29] docs: fpga: add a document for FPGA Device Feature List (DFL) Framework Overview

2018-06-29 Thread Wu Hao
Add a document for FPGA Device Feature List (DFL) Framework Overview. Signed-off-by: Enno Luebbers Signed-off-by: Xiao Guangrong Signed-off-by: Wu Hao Acked-by: Alan Tull --- v2: added FME fpga-mgr/bridge/region platform driver to driver organization. updated open discussion per current im

[PATCH v7 02/29] fpga: mgr: add region_id to fpga_image_info

2018-06-29 Thread Wu Hao
This patch adds region_id to fpga_image_info data structure, it allows driver to pass region id information to fpga-mgr via fpga_image_info for fpga reconfiguration function. Signed-off-by: Wu Hao Acked-by: Moritz Fischer Acked-by: Alan Tull --- v3: add one line comment for region_id v4: add Ac

[PATCH v7 00/29] FPGA Device Feature List (DFL) Device Drivers

2018-06-29 Thread Wu Hao
Hi All, Here is v7 patch-series adding drivers for FPGA DFL devices. This patch series provides a common framework to support FPGA Device Feature List (DFL) and also feature dev drivers under this DFL framework to provide interfaces for userspace applications to configure, enumerate, open and acc

Re: [PATCH 2/2] drivers: core: Remove glue dirs from sysfs earlier

2018-06-29 Thread Benjamin Herrenschmidt
On Fri, 2018-06-29 at 06:56 -0700, Linus Torvalds wrote: > On Thu, Jun 28, 2018 at 7:22 PM Benjamin Herrenschmidt > wrote: > > > > This fixes it by instead doing an explicit kobject_del() when > > the glue dir is empty, by keeping track of the number of > > child devices of the gluedir. > > Ugh.

Re: [PATCH 1/2] PCI: fix restoring resized BAR state on resume

2018-06-29 Thread Bjorn Helgaas
On Thu, Jun 14, 2018 at 02:21:45PM +0200, Christian König wrote: > Resize BARs after resume to the expected size again. > > Signed-off-by: Christian König > BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=199959 > CC: sta...@vger.kernel.org # v4.15+ I applied both of these to pci/resou

Re: [PATCH V2] PCI: Enable PASID when End-to-End TLP is supported by all bridges

2018-06-29 Thread Bjorn Helgaas
On Tue, Jun 19, 2018 at 10:14:46PM -0400, Sinan Kaya wrote: > A PCIe endpoint carries the process address space identifier (PASID) in > the TLP prefix as part of the memory read/write transaction. The address > information in the TLP is relevant only for a given PASID context. > > An IOMMU takes P

Re: New remoteproc driver for TI PRU

2018-06-29 Thread Suman Anna
Hi David, On 06/29/2018 12:44 PM, David Lechner wrote: > On 06/29/2018 04:58 AM, Roger Quadros wrote: >> +Suman & Tero >> >> Hi David, >> >> On 24/06/18 00:08, David Lechner wrote: >>> >>> Date: Sat, 23 Jun 2018 15:43:59 -0500 >>> Subject: [PATCH 0/8] New remoteproc driver for TI PRU >>> >>> This

Re: [PATCH v6] drivers/staging: Gasket driver framework + Apex driver

2018-06-29 Thread Randy Dunlap
On 06/29/18 17:02, Simon Que wrote: > diff --git a/drivers/staging/gasket/Kconfig b/drivers/staging/gasket/Kconfig > new file mode 100644 > index ..3465e8510fc2 > --- /dev/null > +++ b/drivers/staging/gasket/Kconfig > @@ -0,0 +1,23 @@ > +menu "Gasket devices" > + > +config STAGING_GASKE

Re: [PATCH v2 2/4] x86/split_lock: Align x86_capability to unsigned long to avoid split locked access

2018-06-29 Thread Fenghua Yu
On Fri, Jun 29, 2018 at 05:00:51PM -0700, Fenghua Yu wrote: > On Fri, Jun 29, 2018 at 11:44:44PM +0200, Thomas Gleixner wrote: > > On Fri, 29 Jun 2018, Dave Hansen wrote: > > > > > On 06/29/2018 01:38 PM, Fenghua Yu wrote: > > > > How to handle data that is used in generic code which can be used o

Re: [PATCH v2 2/4] x86/split_lock: Align x86_capability to unsigned long to avoid split locked access

2018-06-29 Thread Fenghua Yu
On Fri, Jun 29, 2018 at 11:44:44PM +0200, Thomas Gleixner wrote: > On Fri, 29 Jun 2018, Dave Hansen wrote: > > > On 06/29/2018 01:38 PM, Fenghua Yu wrote: > > > How to handle data that is used in generic code which can be used on > > > non-Intel platform? For exmple, if I do this change for struct

Re: [PATCH 3/3] arm64: dts: qcom: pm8998: Add thermal zone

2018-06-29 Thread Matthias Kaehlcke
On Fri, Jun 29, 2018 at 02:29:55PM -0700, David Collins wrote: > Hello Matthias, > > On 06/29/2018 11:51 AM, Matthias Kaehlcke wrote: > > On Thu, Jun 28, 2018 at 03:58:41PM -0700, Doug Anderson wrote: > >> Hi, > >> > >> On Thu, Jun 28, 2018 at 2:09 PM, Matthias Kaehlcke > >> wrote: > >>> Add pm8

Re: [PATCH v2 1/2] iio: light: Add support for vishay vcnl4035

2018-06-29 Thread kbuild test robot
Hi Parthiban, Thank you for the patch! Yet something to improve: [auto build test ERROR on iio/togreg] [also build test ERROR on v4.18-rc2 next-20180629] [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] PCI: Clean up resource allocation in devm_of_pci_get_host_bridge_resources()

2018-06-29 Thread Bjorn Helgaas
On Wed, May 16, 2018 at 02:31:44PM +0200, Jan Kiszka wrote: > Instead of first allocating and then freeing memory for struct resource > in case we cannot parse a PCI resource from the device tree, work > against a local struct and kmemdup it when we decide to go with it. > > Suggested-by: Andy She

Re: [PATCH v2] pci/aspm: Remove CONFIG_PCIEASPM_DEBUG

2018-06-29 Thread Bjorn Helgaas
On Thu, May 10, 2018 at 04:39:12PM -0700, Rajat Jain wrote: > Currently, the linux kernel disables ASPM when a device is > removed from the kernel. But it is not enabled again when > a new device is added on that slot even if it was originally > enabled (by the BIOS) when the system booted up (assu

[ANNOUNCE] 4.14.52-rt34

2018-06-29 Thread Steven Rostedt
Dear RT Folks, I'm pleased to announce the 4.14.52-rt34 stable release. This includes the merging of the stable releases, but also required pulling in ("Revert mm/vmstat.c: fix vmstat_update() preemption BUG") because v4.14.45 pulled in commit c7f26ccfb2c3 ("mm/vmstat.c: fix vmstat_update() pre

Re: [PATCH RESEND 0/3] K2G: mmc: Update mmc dt node to use

2018-06-29 Thread Santosh Shilimkar
On 6/27/2018 9:15 PM, Kishon Vijay Abraham I wrote: Santosh, On Friday 22 June 2018 03:46 PM, Kishon Vijay Abraham I wrote: Update mmc dt node to use sdhci-omap binding instead of omap_hsmmc binding. I've also updated keystone_defconfig to enable CONFIG_MMC_SDHCI_OMAP. Everyone who use a custo

[RFC v3 PATCH 5/5] x86: check VM_DEAD flag in page fault

2018-06-29 Thread Yang Shi
Check VM_DEAD flag of vma in page fault handler, if it is set, trigger SIGSEGV. Cc: Michal Hocko Cc: Thomas Gleixner Cc: Ingo Molnar Cc: "H. Peter Anvin" Signed-off-by: Yang Shi --- arch/x86/mm/fault.c | 4 1 file changed, 4 insertions(+) diff --git a/arch/x86/mm/fault.c b/arch/x86/mm/

[RFC v3 PATCH 3/5] mm: refactor do_munmap() to extract the common part

2018-06-29 Thread Yang Shi
Introduces two new helper functions: * munmap_addr_sanity() * munmap_lookup_vma() They will be used by do_munmap() and the new do_munmap with zapping large mapping early in the later patch. There is no functional change, just code refactor. Signed-off-by: Yang Shi --- mm/mmap.c | 107 +

[RFC v3 PATCH 2/5] mm: introduce VM_DEAD flag

2018-06-29 Thread Yang Shi
VM_DEAD flag is used to mark a vma is being unmapped, access to this area will trigger SIGSEGV. This flag will be used by the optimization for unmapping large address space (>= 1GB) in the later patch. It is 64 bit only at the moment, since: * we used up vm_flags bit for 32 bit * 32 bit machin

[RFC v3 PATCH 1/5] uprobes: make vma_has_uprobes non-static

2018-06-29 Thread Yang Shi
vma_has_uprobes() will be used in the following patch to check if a vma could be unmapped with holding read mmap_sem, but it is static. So, make it non-static to use outside uprobe. Cc: Peter Zijlstra Cc: Ingo Molnar Cc: Arnaldo Carvalho de Melo Cc: Alexander Shishkin Cc: Jiri Olsa Cc: Namhyu

[RFC v3 PATCH 4/5] mm: mmap: zap pages with read mmap_sem for large mapping

2018-06-29 Thread Yang Shi
When running some mmap/munmap scalability tests with large memory (i.e. > 300GB), the below hung task issue may happen occasionally. INFO: task ps:14018 blocked for more than 120 seconds. Tainted: GE 4.9.79-009.ali3000.alios7.x86_64 #1 "echo 0 > /proc/sys/kernel/hung_task_timeo

[RFC v3 PATCH 0/5] mm: zap pages with read mmap_sem in munmap for large mapping

2018-06-29 Thread Yang Shi
Background: Recently, when we ran some vm scalability tests on machines with large memory, we ran into a couple of mmap_sem scalability issues when unmapping large memory space, please refer to https://lkml.org/lkml/2017/12/14/733 and https://lkml.org/lkml/2018/2/20/576. History: Then akpm sugg

Re: [PATCH v1 1/2] PCI: Document patch submission hints

2018-06-29 Thread Lukas Wunner
On Fri, Jun 29, 2018 at 03:27:39PM -0500, Bjorn Helgaas wrote: > + - Wrap changelogs to fit in 80 columns when shown by "git show", which > +adds 4 spaces. I use "textwidth=75" in vim. I guess the ideal width is subjective, I usually wrap at 72 chars because then you've got 4 blanks on eithe

Re: [PATCH v2 2/4] x86/split_lock: Align x86_capability to unsigned long to avoid split locked access

2018-06-29 Thread Thomas Gleixner
On Fri, 29 Jun 2018, Dave Hansen wrote: > On 06/29/2018 01:38 PM, Fenghua Yu wrote: > > How to handle data that is used in generic code which can be used on > > non-Intel platform? For exmple, if I do this change for struct efi in > > include/linux/efi.h because set_bit() sets bits in efi.flags: >

Re: [PATCH V4 4/7] PCI: Unify try slot and bus reset API

2018-06-29 Thread Andy Shevchenko
On Thu, Jun 28, 2018 at 10:31 PM, Sinan Kaya wrote: > Drivers are expected to call pci_try_reset_slot() or pci_try_reset_bus() by > querying if a system supports hotplug or not. A survey showed that most > drivers don't do this and we are leaking hotplug capability to the user. > > Hide pci_try_sl

Re: [PATCH] ARM64: dts: meson-gxbb-nanopi-k2: Add HDMI, CEC and CVBS nodes

2018-06-29 Thread Kevin Hilman
Neil Armstrong writes: > The Amlogic Meson GXBB based Nanopi-K2 board has an HDMI connector > with CEC and CVBS available on the 40pin header. > This patch adds the nodes to enable HDMI, CEC and CVBS functionnalities. > > Signed-off-by: Neil Armstrong Applied to v4.19/dt64, Kevin

Re: [PATCH V4 7/7] PCI: Handle link reset via hotplug if supported

2018-06-29 Thread Andy Shevchenko
On Thu, Jun 28, 2018 at 10:31 PM, Sinan Kaya wrote: > If a bridge supports hotplug and observes a PCIe fatal error, the following > events happen: > > 1. AER driver removes the devices from PCI tree on fatal error > 2. AER driver brings down the link by issuing a secondary bus reset waits > for th

[PATCH] objtool: use .strtab if .shstrtab is not present

2018-06-29 Thread Simon Ser
Executables that are generated by Clang don't have a .shstrtab section, and store section names in .strtab instead. We can store section names generated by orc there in this case. Signed-off-by: Simon Ser --- tools/objtool/elf.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --g

Re: [PATCH 3/3] arm64: dts: qcom: pm8998: Add thermal zone

2018-06-29 Thread David Collins
Hello Matthias, On 06/29/2018 11:51 AM, Matthias Kaehlcke wrote: > On Thu, Jun 28, 2018 at 03:58:41PM -0700, Doug Anderson wrote: >> Hi, >> >> On Thu, Jun 28, 2018 at 2:09 PM, Matthias Kaehlcke wrote: >>> Add pm8998 thermal zone based on the examples in the spmi-temp-alarm >>> bindings. >>> >>> N

Re: [PATCH] bus: imx-weim: Remove VLA usage

2018-06-29 Thread Arnd Bergmann
On Fri, Jun 29, 2018 at 8:52 PM, Kees Cook wrote: > In the quest to remove all stack VLA usage from the kernel[1], this > switches to using a maximum size and adds a sanity check. > > [1] > https://lkml.kernel.org/r/CA+55aFzCG-zNmZwX4A2FQpadafLfEzK6CC=qpxydaacu1rq...@mail.gmail.com > > Cc: Maxime

Re: [PATCH] perf/arm-cci: Remove VLA usage

2018-06-29 Thread Arnd Bergmann
On Fri, Jun 29, 2018 at 8:45 PM, Kees Cook wrote: > In the quest to remove all stack VLA usage from the kernel[1], this > removes the VLA in favor of a maximum size and adds a sanity check > at registration time. The sizes are all explicitly enumerated already, > so this just collects them into ma

Re: linux-next: build failure after merge of the akpm-current tree

2018-06-29 Thread Alexey Dobriyan
On Fri, Jun 29, 2018 at 05:49:46PM +1000, Stephen Rothwell wrote: > fs/proc/inode.c:110:2: note: in expansion of macro 'BUILD_BUG_ON' > BUILD_BUG_ON(sizeof(struct proc_dir_entry) >= SIZEOF_PDE); > ^~~~ > > Caused by commit > > 527ae8759f10 ("proc: fixup PDE allocation bloat") > > I

Re: [PATCH] dma: ste_dma40: Remove VLA usage

2018-06-29 Thread Arnd Bergmann
On Fri, Jun 29, 2018 at 8:51 PM, Kees Cook wrote: > In the quest to remove all stack VLA usage from the kernel[1], this > switches to using a pre-allocated scratch register space, set up with > all other other allocations. > > [1] > https://lkml.kernel.org/r/CA+55aFzCG-zNmZwX4A2FQpadafLfEzK6CC=qp

[PATCH v6 01/21] s390/zcrypt: Add ZAPQ inline function.

2018-06-29 Thread Tony Krowiak
From: Harald Freudenberger Added new inline function ap_pqap_zapq() which is a C inline function wrapper for the AP PQAP(ZAPQ) instruction. Signed-off-by: Harald Freudenberger Signed-off-by: Tony Krowiak --- drivers/s390/crypto/ap_asm.h | 19 +++ 1 files changed, 19 insertio

[PATCH v6 02/21] s390/zcrypt: Review inline assembler constraints.

2018-06-29 Thread Tony Krowiak
From: Harald Freudenberger Reviewed and adapted the register use and asm constraints of the C inline assembler functions in accordance to the the AP instructions specifications. Signed-off-by: Harald Freudenberger Signed-off-by: Tony Krowiak --- drivers/s390/crypto/ap_asm.h | 40 +++

[PATCH v6 00/21] s390: vfio-ap: guest dedicated crypto adapters

2018-06-29 Thread Tony Krowiak
From: Tony Krowiak Notes: = * Patches 1-4 posted with this series are forthcoming via another patch series and should not be reviewed with this series. They have been included here because some of the functions in this patch series are dependent upon them. * In the previous review, Pie

[PATCH v6 04/21] s390/zcrypt: Integrate ap_asm.h into include/asm/ap.h.

2018-06-29 Thread Tony Krowiak
From: Harald Freudenberger Move all the inline functions from the ap bus header file ap_asm.h into the in-kernel api header file arch/s390/include/asm/ap.h so that KVM can make use of all the low level AP functions. Signed-off-by: Harald Freudenberger Signed-off-by: Tony Krowiak --- arch/s390

[PATCH v6 07/21] s390: vfio-ap: base implementation of VFIO AP device driver

2018-06-29 Thread Tony Krowiak
Introduces a new AP device driver. This device driver is built on the VFIO mediated device framework. The framework provides sysfs interfaces that facilitate passthrough access by guests to devices installed on the linux host. The VFIO AP device driver will serve two purposes: 1. Provide the inte

Kannst du mir helfen?

2018-06-29 Thread Mrs. Michelle Richard
Lieber geliebter, Bitte lesen Sie dies langsam und sorgfältig, da es eine der wichtigsten E-Mails sein kann, die Sie jemals bekommen.Ich bin Frau Michelle Richard, ich war mit dem verstorbenen Robert Richard verheiratet.Er arbeitete früher mit Shell Petroleum Development Company London und war auc

[PATCH v6 06/21] KVM: s390: refactor crypto initialization

2018-06-29 Thread Tony Krowiak
From: Tony Krowiak This patch refactors the code that initializes and sets up the crypto configuration for a guest. The following changes are implemented via this patch: 1. Prior to the introduction of AP device virtualization, it was not necessary to provide guest access to the CRYCB unle

[PATCH v6 10/21] s390: vfio-ap: sysfs interfaces to configure adapters

2018-06-29 Thread Tony Krowiak
Provides the sysfs interfaces for assigning AP adapters to and unassigning AP adapters from a mediated matrix device. The IDs of the AP adapters assigned to the mediated matrix device are stored in an AP mask (APM). The bits in the APM, from most significant to least significant bit, correspond to

[PATCH v6 09/21] s390: vfio-ap: structure for storing mdev matrix

2018-06-29 Thread Tony Krowiak
From: Tony Krowiak Introduces a new structure for storing the AP matrix configured for the mediated matrix device via its sysfs attributes files. Signed-off-by: Tony Krowiak --- drivers/s390/crypto/vfio_ap_ops.c | 12 drivers/s390/crypto/vfio_ap_private.h | 24

  1   2   3   4   5   6   >