Re: [PATCH v3 bpf-next 1/4] tracing/probe: Add PERF_EVENT_IOC_QUERY_PROBE ioctl

2019-08-21 Thread Peter Zijlstra
On Wed, Aug 21, 2019 at 04:54:47PM +, Yonghong Song wrote: > Currently, in kernel/trace/bpf_trace.c, we have > > unsigned int trace_call_bpf(struct trace_event_call *call, void *ctx) > { > unsigned int ret; > > if (in_nmi()) /* not supported yet */ > return

Re: OMAP DRM regression on N900

2019-08-21 Thread Laurent Pinchart
Hi Aaro, On Sun, Aug 18, 2019 at 05:08:38PM +0300, Aaro Koskinen wrote: > Hi, > > I haven't got display working on N900 since v5.1. Bisected to: > > d17eb4537a7eb16da9eafbfd5717e12b45b77251 is the first bad commit > commit d17eb4537a7eb16da9eafbfd5717e12b45b77251 > Author: Laurent Pinchart >

Re: [PATCH v2] dt-bindings: arm-boards: Update pointer to ARM CPU bindings

2019-08-21 Thread Rob Herring
On Wed, 31 Jul 2019 13:42:01 +0200, Geert Uytterhoeven wrote: > The ARM CPU DT bindings were converted from plain text to YAML, but not > all referrers were updated. > > Fixes: 672951cbd1b70a9e ("dt-bindings: arm: Convert cpu binding to > json-schema") > Signed-off-by: Geert Uytterhoeven >

Re: [RFC PATCH v2 00/19] RDMA/FS DAX truncate proposal V1,000,002 ;-)

2019-08-21 Thread John Hubbard
On 8/21/19 11:13 AM, Jason Gunthorpe wrote: On Wed, Aug 21, 2019 at 11:02:00AM -0700, Ira Weiny wrote: On Tue, Aug 20, 2019 at 08:55:15AM -0300, Jason Gunthorpe wrote: On Tue, Aug 20, 2019 at 11:12:10AM +1000, Dave Chinner wrote: On Mon, Aug 19, 2019 at 09:38:41AM -0300, Jason Gunthorpe

Re: [PATCH v2 4/5] dt-bindings: usb-xhci: Add platform specific compatible for Stingray xHCI

2019-08-21 Thread Rob Herring
On Wed, 31 Jul 2019 15:49:54 +0530, Srinath Mannam wrote: > Add Platform specific compatible, because xHCI of this SoC has an issue > with HS port which has to reset on disconnect event. > > Signed-off-by: Srinath Mannam > --- > Documentation/devicetree/bindings/usb/usb-xhci.txt | 1 + > 1 file

Re: [PATCH] x86/apic: reset LDR in clear_local_APIC

2019-08-21 Thread Thomas Gleixner
Bandan, On Wed, 21 Aug 2019, Bandan Das wrote: > Thomas Gleixner writes: > So, in KVM: if we make sure that the logical destination map isn't filled up > if the virtual > apic is not enabled by software, it really doesn't matter whether the LDR for > an inactive CPU > has a stale value. > > In

Boot failure due to: x86/boot: Save fields explicitly, zero out everything else

2019-08-21 Thread John Hubbard
On 8/21/19 10:05 AM, Neil MacLeod wrote: Hi John The following bug might be of interest: https://bugzilla.kernel.org/show_bug.cgi?id=204645 Let me know if I can be of any help. Hi Neil, First of all, I'm pasting in the bug information so that it's directly available here:

re: Added Realtek rtl8192u driver to staging - static analysis report.

2019-08-21 Thread Colin Ian King
Hi, Static analysis of linux-next picked up an issue with the following commit: commit 8fc8598e61f6f384f3eaf1d9b09500c12af47b37 Author: Jerry Chuang Date: Tue Nov 3 07:17:11 2009 -0200 Staging: Added Realtek rtl8192u driver to staging In

Re: [RFC PATCH v2 00/19] RDMA/FS DAX truncate proposal V1,000,002 ;-)

2019-08-21 Thread Jason Gunthorpe
On Wed, Aug 21, 2019 at 11:02:00AM -0700, Ira Weiny wrote: > On Tue, Aug 20, 2019 at 08:55:15AM -0300, Jason Gunthorpe wrote: > > On Tue, Aug 20, 2019 at 11:12:10AM +1000, Dave Chinner wrote: > > > On Mon, Aug 19, 2019 at 09:38:41AM -0300, Jason Gunthorpe wrote: > > > > On Mon, Aug 19, 2019 at

Re: [PATCH v4 2/6] tpm: tpm_tis_spi: Introduce a flow control callback

2019-08-21 Thread Jarkko Sakkinen
On Mon, Aug 19, 2019 at 10:06:40AM -0700, Stephen Boyd wrote: > > AFAIK the flow control is not part of the SPI standard itself but is > > proprietary for each slave device. Thus, the flow control should be > > documented to the source code. I do not want flow control mechanisms to > > be

Re: kernel panic in 5.3-rc5, nfsd_reply_cache_stats_show+0x11

2019-08-21 Thread jane . chu
Hi, Dan, On 8/20/19 8:48 PM, Dan Williams wrote: On Tue, Aug 20, 2019 at 6:39 PM wrote: Hi, Apology if there is a better channel reporting the issue, if so, please let me know. I just saw below regression in 5.3-rc5 kernel, but not in 5.2-rc7 or earlier kernels. Is the error stable

Re: [PATCH 3/3] watchdog/aspeed: add support for dual boot

2019-08-21 Thread Guenter Roeck
On Wed, Aug 21, 2019 at 08:42:24PM +0300, Alexander Amelkin wrote: > 21.08.2019 19:32, Guenter Roeck wrote: > > On Wed, Aug 21, 2019 at 06:57:43PM +0300, Ivan Mikhaylov wrote: > >> Set WDT_CLEAR_TIMEOUT_AND_BOOT_CODE_SELECTION into WDT_CLEAR_TIMEOUT_STATUS > >> to clear out boot code source and

Re: [RFC] clk: Remove cached cores in parent map during unregister

2019-08-21 Thread Stephen Boyd
Quoting Stephen Boyd (2019-07-29 15:46:51) > Quoting Bjorn Andersson (2019-07-22 22:14:46) > > As clocks are registered their parents are resolved and the parent_map > > is updated to cache the clk_core objects of each existing parent. > > But in the event of a clock being unregistered this cache

[PATCH] remoteproc: qcom: q6v5-mss: fixup q6v5_pds_enable error handling

2019-08-21 Thread Sibi Sankar
dev_pm_domain_attach_by_name will return NULL if the requested power-domain is not a part device node. This could result in NULL pointer de-reference in q6v5_pds_enable. Fix this by checking for IS_ERR_OR_NULL and forward the appropriate error code. Fixes: 4760a896be88e ("remoteproc: q6v5-mss:

Re: [PATCH v3 8/8] arm64: dts: qcom: sm8150: Add apps shared nodes

2019-08-21 Thread Vinod Koul
On 21-08-19, 14:13, Amit Kucheria wrote: > On Tue, Aug 20, 2019 at 10:55 PM Vinod Koul wrote: > > > > Add hwlock, pmu, smem, tcsr_mutex_regs, apss_shared mailbox, apps_rsc > > including the rpmhcc child nodes to the SM8150 DTSI > > + > > spmi_bus: spmi@c44 { > > Sort by

[PATCH v5] kasan: add memory corruption identification for software tag-based mode

2019-08-21 Thread Andrey Ryabinin
From: Walter Wu This patch adds memory corruption identification at bug report for software tag-based mode, the report show whether it is "use-after-free" or "out-of-bound" error instead of "invalid-access" error. This will make it easier for programmers to see the memory corruption problem. We

Re: [RFC PATCH v2 00/19] RDMA/FS DAX truncate proposal V1,000,002 ;-)

2019-08-21 Thread Ira Weiny
On Tue, Aug 20, 2019 at 08:55:15AM -0300, Jason Gunthorpe wrote: > On Tue, Aug 20, 2019 at 11:12:10AM +1000, Dave Chinner wrote: > > On Mon, Aug 19, 2019 at 09:38:41AM -0300, Jason Gunthorpe wrote: > > > On Mon, Aug 19, 2019 at 07:24:09PM +1000, Dave Chinner wrote: > > > > > > > So that leaves

Re: [PATCH 00/14] per memcg lru_lock

2019-08-21 Thread Daniel Jordan
Hi Alex, On 8/20/19 5:48 AM, Alex Shi wrote: In some data center, containers are used widely to deploy different kind of services, then multiple memcgs share per node pgdat->lru_lock which cause heavy lock contentions when doing lru operation. On my 2 socket * 6 cores E5-2630 platform, 24

[PATCH v3 00/19][RFC] virtio-fs: Enable DAX support

2019-08-21 Thread Vivek Goyal
Hi, This patch series enables DAX support for virtio-fs filesystem. Patches are based on 5.3-rc5 kernel and need first patch series posted for virtio-fs support with subject "virtio-fs: shared file system for virtual machines". https://www.redhat.com/archives/virtio-fs/2019-August/msg00281.html

[PATCH 10/19] fuse: Introduce setupmapping/removemapping commands

2019-08-21 Thread Vivek Goyal
Introduce two new fuse commands to setup/remove memory mappings. This will be used to setup/tear down file mapping in dax window. Signed-off-by: Vivek Goyal Signed-off-by: Peng Tao --- include/uapi/linux/fuse.h | 39 +++ 1 file changed, 39 insertions(+)

[PATCH 02/19] dax: Pass dax_dev to dax_writeback_mapping_range()

2019-08-21 Thread Vivek Goyal
Right now dax_writeback_mapping_range() is passed a bdev and dax_dev is searched from that bdev name. virtio-fs does not have a bdev. So pass in dax_dev also to dax_writeback_mapping_range(). If dax_dev is passed in, bdev is not used otherwise dax_dev is searched using bdev. Cc: Dan Williams

[PATCH 03/19] virtio: Add get_shm_region method

2019-08-21 Thread Vivek Goyal
From: Sebastien Boeuf Virtio defines 'shared memory regions' that provide a continuously shared region between the host and guest. Provide a method to find a particular region on a device. Signed-off-by: Sebastien Boeuf Signed-off-by: Dr. David Alan Gilbert --- include/linux/virtio_config.h

Re: [PATCH v2 07/14] dt-bindings: dma: ti: Add document for K3 UDMA

2019-08-21 Thread Rob Herring
On Tue, Jul 30, 2019 at 12:34:43PM +0300, Peter Ujfalusi wrote: > New binding document for > Texas Instruments K3 NAVSS Unified DMA – Peripheral Root Complex (UDMA-P). > > UDMA-P is introduced as part of the K3 architecture and can be found on > AM654 and j721e. > > Signed-off-by: Peter Ujfalusi

[PATCH 09/19] fuse: implement FUSE_INIT map_alignment field

2019-08-21 Thread Vivek Goyal
The device communicates FUSE_SETUPMAPPING/FUSE_REMOVMAPPING alignment constraints via the FUST_INIT map_alignment field. Parse this field and ensure our DAX mappings meet the alignment constraints. We don't actually align anything differently since our mappings are already 2MB aligned. Just

Re: [PATCH v4 4/6] tpm: tpm_tis_spi: Export functionality to other drivers

2019-08-21 Thread Jarkko Sakkinen
On Mon, Aug 19, 2019 at 10:10:08AM -0700, Stephen Boyd wrote: > Quoting Jarkko Sakkinen (2019-08-19 09:40:05) > > On Mon, Aug 12, 2019 at 03:36:20PM -0700, Stephen Boyd wrote: > > > Export a new function, tpm_tis_spi_init(), and the associated > > > read/write/transfer APIs so that we can create

[PATCH 06/19] fuse, dax: add fuse_conn->dax_dev field

2019-08-21 Thread Vivek Goyal
From: Stefan Hajnoczi A struct dax_device instance is a prerequisite for the DAX filesystem APIs. Let virtio_fs associate a dax_device with a fuse_conn. Classic FUSE and CUSE set the pointer to NULL, disabling DAX. Signed-off-by: Stefan Hajnoczi --- fs/fuse/cuse.c | 3 ++-

[PATCH 18/19] fuse: Release file in process context

2019-08-21 Thread Vivek Goyal
fuse_file_put(sync) can be called with sync=true/false. If sync=true, it waits for release request response and then calls iput() in the caller's context. If sync=false, it does not wait for release request response, frees the fuse_file struct immediately and req->end function does the iput().

[PATCH 08/19] fuse: Keep a list of free dax memory ranges

2019-08-21 Thread Vivek Goyal
Divide the dax memory range into fixed size ranges (2MB for now) and put them in a list. This will track free ranges. Once an inode requires a free range, we will take one from here and put it in interval-tree of ranges assigned to inode. Signed-off-by: Vivek Goyal Signed-off-by: Peng Tao ---

[PATCH 14/19] fuse, dax: Take ->i_mmap_sem lock during dax page fault

2019-08-21 Thread Vivek Goyal
We need some kind of locking mechanism here. Normal file systems like ext4 and xfs seems to take their own semaphore to protect agains truncate while fault is going on. We have additional requirement to protect against fuse dax memory range reclaim. When a range has been selected for reclaim, we

[PATCH 16/19] dax: Create a range version of dax_layout_busy_page()

2019-08-21 Thread Vivek Goyal
While reclaiming a dax range, we do not want to unamap whole file instead want to make sure pages in a certain range do not have references taken on them. Hence create a version of the function which allows to pass in a range. Cc: Dan Williams Signed-off-by: Vivek Goyal --- fs/dax.c

[PATCH 04/19] virtio: Implement get_shm_region for PCI transport

2019-08-21 Thread Vivek Goyal
From: Sebastien Boeuf On PCI the shm regions are found using capability entries; find a region by searching for the capability. Cc: k...@vger.kernel.org Signed-off-by: Sebastien Boeuf Signed-off-by: Dr. David Alan Gilbert Signed-off-by: kbuild test robot ---

[PATCH 11/19] fuse, dax: Implement dax read/write operations

2019-08-21 Thread Vivek Goyal
This patch implements basic DAX support. mmap() is not implemented yet and will come in later patches. This patch looks into implemeting read/write. We make use of interval tree to keep track of per inode dax mappings. Do not use dax for file extending writes, instead just send WRITE message to

[PATCH 07/19] virtio_fs, dax: Set up virtio_fs dax_device

2019-08-21 Thread Vivek Goyal
From: Stefan Hajnoczi Setup a dax device. Use the shm capability to find the cache entry and map it. The DAX window is accessed by the fs/dax.c infrastructure and must have struct pages (at least on x86). Use devm_memremap_pages() to map the DAX window PCI BAR and allocate struct page.

[PATCH 13/19] fuse: Define dax address space operations

2019-08-21 Thread Vivek Goyal
This is done along the lines of ext4 and xfs. I primarily wanted ->writepages hook at this time so that I could call into dax_writeback_mapping_range(). This in turn will decide which pfns need to be written back. Signed-off-by: Vivek Goyal --- fs/fuse/file.c | 19 +++ 1 file

[PATCH 12/19] fuse, dax: add DAX mmap support

2019-08-21 Thread Vivek Goyal
From: Stefan Hajnoczi Add DAX mmap() support. Signed-off-by: Stefan Hajnoczi --- fs/fuse/file.c | 64 +- 1 file changed, 63 insertions(+), 1 deletion(-) diff --git a/fs/fuse/file.c b/fs/fuse/file.c index f323b7b04414..32870bb862e7 100644 ---

[PATCH 15/19] fuse: Maintain a list of busy elements

2019-08-21 Thread Vivek Goyal
This list will be used selecting fuse_dax_mapping to free when number of free mappings drops below a threshold. Signed-off-by: Vivek Goyal --- fs/fuse/file.c | 22 ++ fs/fuse/fuse_i.h | 8 fs/fuse/inode.c | 4 3 files changed, 34 insertions(+) diff --git

[PATCH 17/19] fuse: Add logic to free up a memory range

2019-08-21 Thread Vivek Goyal
Add logic to free up a busy memory range. Freed memory range will be returned to free pool. Add a worker which can be started to select and free some busy memory ranges. In certain cases (write path), process can steal one of its busy dax ranges (inline reclaim) if free range is not available.

[PATCH 01/19] dax: remove block device dependencies

2019-08-21 Thread Vivek Goyal
From: Stefan Hajnoczi Although struct dax_device itself is not tied to a block device, some DAX code assumes there is a block device. Make block devices optional by allowing bdev to be NULL in commonly used DAX APIs. When there is no block device: * Skip the partition offset calculation in

[PATCH 19/19] fuse: Take inode lock for dax inode truncation

2019-08-21 Thread Vivek Goyal
When a file is opened with O_TRUNC, we need to make sure that any other DAX operation is not in progress. DAX expects i_size to be stable. In fuse_iomap_begin() we check for i_size at multiple places and we expect i_size to not change. Another problem is, if we setup a mapping in

[PATCH 05/19] virtio: Implement get_shm_region for MMIO transport

2019-08-21 Thread Vivek Goyal
From: Sebastien Boeuf On MMIO a new set of registers is defined for finding SHM regions. Add their definitions and use them to find the region. Cc: k...@vger.kernel.org Signed-off-by: Sebastien Boeuf --- drivers/virtio/virtio_mmio.c | 32

[v2 PATCH -mm] mm: account deferred split THPs into MemAvailable

2019-08-21 Thread Yang Shi
Available memory is one of the most important metrics for memory pressure. Currently, the deferred split THPs are not accounted into available memory, but they are reclaimable actually, like reclaimable slabs. And, they seems very common with the common workloads when THP is enabled. A simple

Re: [PATCH v6 3/4] dt-bindings: arm: fsl: Add Kontron i.MX6UL N6310 compatibles

2019-08-21 Thread Krzysztof Kozlowski
On Tue, Aug 20, 2019 at 03:27:39PM -0500, Rob Herring wrote: > > I see. If I understand the schema correctly, this should look like: > > Looks correct, but a couple of comments. > > > diff --git a/Documentation/devicetree/bindings/arm/fsl.yaml > >

Re: [PATCH v1 03/63] Input: atmel_mxt_ts - only read messages in mxt_acquire_irq() when necessary

2019-08-21 Thread Dmitry Torokhov
On Wed, Aug 21, 2019 at 10:26:31PM +0900, Jiada Wang wrote: > Hi Dmitry > > On 2019/08/17 2:16, Dmitry Torokhov wrote: > > On Fri, Aug 16, 2019 at 05:28:52PM +0900, Jiada Wang wrote: > > > From: Nick Dyer > > > > > > The workaround of reading all messages until an invalid is received is a > > >

Re: [PATCH 15/15] riscv: disable the EFI PECOFF header for M-mode

2019-08-21 Thread Troy Benjegerdes
> On Aug 21, 2019, at 10:31 AM, Atish Patra wrote: > > On Tue, 2019-08-20 at 21:14 -0700, Troy Benjegerdes wrote: >>> On Aug 13, 2019, at 8:47 AM, Christoph Hellwig wrote: >>> >>> No point in bloating the kernel image with a bootloader header if >>> we run bare metal. >> >> I would say the

[RESEND PATCH] arm64: dts: rockchip: add rk3328 VPU node

2019-08-21 Thread Jonas Karlman
This patch add a VPU device node for rk3328. Signed-off-by: Jonas Karlman --- It would be great if this can be considered for v5.4, related dt-bindings commit has been merged in media tree for v5.4. Decoding using hantro driver has been tested on a Pine64 Rock64 RK3328 device. ---

Re: [PATCH v4] kasan: add memory corruption identification for software tag-based mode

2019-08-21 Thread Andrey Ryabinin
On 8/20/19 8:37 AM, Walter Wu wrote: > On Tue, 2019-08-06 at 13:43 +0800, Walter Wu wrote: >> This patch adds memory corruption identification at bug report for >> software tag-based mode, the report show whether it is "use-after-free" >> or "out-of-bound" error instead of "invalid-access"

Re: [PATCH v5 10/11] mfd: cros_ec: Use mfd_add_hotplug_devices() helper

2019-08-21 Thread Enric Balletbo i Serra
Hi Lee, On 12/8/19 9:24, Lee Jones wrote: > On Mon, 22 Jul 2019, Enric Balletbo i Serra wrote: > >> Use mfd_add_hotplug_devices() helper to register the subdevices. > > You need to state why this change is useful/required. > The reason for this change is to avoid a bit of boiler plate and be

Re: [PATCH 2/2] drivers: input: mouse: alps: drop unneeded likely() call around IS_ERR()

2019-08-21 Thread Dmitry Torokhov
Hi, On Wed, Aug 21, 2019 at 01:37:09PM +0200, Enrico Weigelt, metux IT consult wrote: > On 20.08.19 16:22, Pali Rohár wrote: > > Hi, > > > > In that case, wouldn't a comment be more suitable for that ? > > > > And why to add comment if current state of code is more-readable and > > does not

[PATCH] RDMA/iwpm: Delete unnecessary checks before the macro call “dev_kfree_skb”

2019-08-21 Thread Markus Elfring
From: Markus Elfring Date: Wed, 21 Aug 2019 19:30:09 +0200 The dev_kfree_skb() function performs also input parameter validation. Thus the test around the shown calls is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring ---

[PATCH v2] ARM: UNWINDER_FRAME_POINTER implementation for Clang

2019-08-21 Thread Nathan Huckleberry
The stackframe setup when compiled with clang is different. Since the stack unwinder expects the gcc stackframe setup it fails to print backtraces. This patch adds support for the clang stackframe setup. Link: https://github.com/ClangBuiltLinux/linux/issues/35 Cc:

Re: [PATCH] ALSA: pcm: add support for 352.8KHz and 384KHz sample rate

2019-08-21 Thread Takashi Iwai
On Wed, 21 Aug 2019 12:27:05 +0200, Srinivas Kandagatla wrote: > > From: Vidyakumar Athota > > Most of the modern codecs supports 352.8KHz and 384KHz sample rates. > Currently HW params fails to set 352.8Kz and 384KHz sample rate > as these are not in known rates list. > Add these new rates to

Re: [PATCH 0/3] dt-bindings: Convert Arm Mali GPUs to DT schema

2019-08-21 Thread Rob Herring
On Wed, Aug 21, 2019 at 12:24 PM Heiko Stuebner wrote: > > Am Dienstag, 20. August 2019, 21:59:56 CEST schrieb Rob Herring: > > This series converts the various Arm Mali GPU bindings to use the DT > > schema format. > > > > The Midgard and Bifrost bindings generate warnings on 'interrupt-names' >

Re: [PATCH] ARM: UNWINDER_FRAME_POINTER implementation for Clang

2019-08-21 Thread Nathan Huckleberry
On Tue, Aug 20, 2019 at 2:39 PM Nick Desaulniers wrote: > > On Tue, Aug 20, 2019 at 12:44 PM Nathan Huckleberry wrote: > > > > The stackframe setup when compiled with clang is different. > > Since the stack unwinder expects the gcc stackframe setup it > > fails to print backtraces. This patch

Re: [PATCH 00/11] Face lift for bu21013_ts driver

2019-08-21 Thread Dmitry Torokhov
On Wed, Aug 21, 2019 at 02:39:41PM +0200, Linus Walleij wrote: > On Sat, Aug 10, 2019 at 2:20 AM Dmitry Torokhov > wrote: > > > So your patch has prompted me to take a look at the driver and > > try to clean it up. I am sure I screwed up somewhere, but you said > > you have the device, so please

Re: [PATCH 3/3] watchdog/aspeed: add support for dual boot

2019-08-21 Thread Alexander Amelkin
21.08.2019 19:32, Guenter Roeck wrote: > On Wed, Aug 21, 2019 at 06:57:43PM +0300, Ivan Mikhaylov wrote: >> Set WDT_CLEAR_TIMEOUT_AND_BOOT_CODE_SELECTION into WDT_CLEAR_TIMEOUT_STATUS >> to clear out boot code source and re-enable access to the primary SPI flash >> chip while booted via wdt2 from

Re: [PATCH v5 08/11] mfd: cros_ec: Add convenience struct to define dedicated CrOS EC MCUs

2019-08-21 Thread Enric Balletbo i Serra
Hi Lee, On 12/8/19 9:16, Lee Jones wrote: > On Mon, 22 Jul 2019, Enric Balletbo i Serra wrote: > >> With the increasing use of dedicated CrOS EC MCUs, it takes a fair amount >> of boiler plate code to add those devices, add a struct that can be used >> to specify a dedicated CrOS EC MCU so we

[PATCH 10/13] fuse: Separate fuse device allocation and installation in fuse_conn

2019-08-21 Thread Vivek Goyal
As of now fuse_dev_alloc() both allocates a fuse device and installs it in fuse_conn list. fuse_dev_alloc() can fail if fuse_device allocation fails. virtio-fs needs to initialize multiple fuse devices (one per virtio queue). It initializes one fuse device as part of call to

[PATCH 08/13] fuse: extract fuse_fill_super_common()

2019-08-21 Thread Vivek Goyal
From: Stefan Hajnoczi fuse_fill_super() includes code to process the fd= option and link the struct fuse_dev to the fd's struct file. In virtio-fs there is no file descriptor because /dev/fuse is not used. This patch extracts fuse_fill_super_common() so that both classic fuse and virtio-fs can

[PATCH 01/13] fuse: delete dentry if timeout is zero

2019-08-21 Thread Vivek Goyal
From: Miklos Szeredi Don't hold onto dentry in lru list if need to re-lookup it anyway at next access. More advanced version of this patch would periodically flush out dentries from the lru which have gone stale. Signed-off-by: Miklos Szeredi --- fs/fuse/dir.c | 26 +++---

[PATCH 09/13] fuse: add fuse_iqueue_ops callbacks

2019-08-21 Thread Vivek Goyal
From: Stefan Hajnoczi The /dev/fuse device uses fiq->waitq and fasync to signal that requests are available. These mechanisms do not apply to virtio-fs. This patch introduces callbacks so alternative behavior can be used. Note that queue_interrupt() changes along these lines:

[PATCH 07/13] Export fuse_dequeue_forget() function

2019-08-21 Thread Vivek Goyal
File systems like virtio-fs need to do not have to play directly with forget list data structures. There is a helper function use that instead. Rename dequeue_forget() to fuse_dequeue_forget() and export it so that stacked filesystems can use it. Signed-off-by: Vivek Goyal --- fs/fuse/dev.c

[PATCH v3 00/13] virtio-fs: shared file system for virtual machines

2019-08-21 Thread Vivek Goyal
Hi, Here are the V3 patches for virtio-fs filesystem. This time I have broken the patch series in two parts. This is first part which does not contain DAX support. Second patch series will contain the patches for DAX support. I have also dropped RFC tag from first patch series as we believe its

[PATCH 04/13] fuse: export fuse_len_args()

2019-08-21 Thread Vivek Goyal
From: Stefan Hajnoczi virtio-fs will need to query the length of fuse_arg lists. Make the symbol visible. Signed-off-by: Stefan Hajnoczi --- fs/fuse/dev.c| 7 --- fs/fuse/fuse_i.h | 5 + 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/fs/fuse/dev.c b/fs/fuse/dev.c

[PATCH 11/13] virtio_fs: add skeleton virtio_fs.ko module

2019-08-21 Thread Vivek Goyal
From: Stefan Hajnoczi Add a basic file system module for virtio-fs. Signed-off-by: Stefan Hajnoczi Signed-off-by: Vivek Goyal Signed-off-by: Miklos Szeredi --- fs/fuse/Kconfig | 11 + fs/fuse/Makefile|1 + fs/fuse/fuse_i.h| 12 +

[PATCH 03/13] fuse: export fuse_end_request()

2019-08-21 Thread Vivek Goyal
From: Stefan Hajnoczi virtio-fs will need to complete requests from outside fs/fuse/dev.c. Make the symbol visible. Signed-off-by: Stefan Hajnoczi --- fs/fuse/dev.c| 19 ++- fs/fuse/fuse_i.h | 5 + 2 files changed, 15 insertions(+), 9 deletions(-) diff --git

[PATCH 02/13] fuse: Use default_file_splice_read for direct IO

2019-08-21 Thread Vivek Goyal
From: Miklos Szeredi --- fs/fuse/file.c | 15 ++- fs/splice.c| 3 ++- include/linux/fs.h | 2 ++ 3 files changed, 18 insertions(+), 2 deletions(-) diff --git a/fs/fuse/file.c b/fs/fuse/file.c index 5ae2828beb00..c45ffe6f1ecb 100644 --- a/fs/fuse/file.c +++

[PATCH 13/13] init/do_mounts.c: add virtio_fs root fs support

2019-08-21 Thread Vivek Goyal
It is useful to mount the root file system via virtio_fs. During testing a monolithic kernel is more convenient than an initramfs but we'll need to teach the kernel how to boot directly from virtio_fs. Signed-off-by: Stefan Hajnoczi --- init/do_mounts.c | 10 ++ 1 file changed, 10

[PATCH 06/13] fuse: export fuse_get_unique()

2019-08-21 Thread Vivek Goyal
From: Stefan Hajnoczi virtio-fs will need unique IDs for FORGET requests from outside fs/fuse/dev.c. Make the symbol visible. Signed-off-by: Stefan Hajnoczi --- fs/fuse/dev.c| 3 ++- fs/fuse/fuse_i.h | 5 + 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/fs/fuse/dev.c

[PATCH 12/13] virtio-fs: Do not provide abort interface in fusectl

2019-08-21 Thread Vivek Goyal
virtio-fs does not support aborting requests which are being processed. That is requests which have been sent to fuse daemon on host. So do not provide "abort" interface for virtio-fs in fusectl. Signed-off-by: Vivek Goyal --- fs/fuse/control.c | 4 ++-- fs/fuse/fuse_i.h| 4

[PATCH 05/13] fuse: Export fuse_send_init_request()

2019-08-21 Thread Vivek Goyal
This will be used by virtio-fs to send init request to fuse server after initialization of virt queues. Signed-off-by: Vivek Goyal --- fs/fuse/dev.c| 1 + fs/fuse/fuse_i.h | 1 + fs/fuse/inode.c | 3 ++- 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/fs/fuse/dev.c

RE: [PATCH 3/3] nvme: complete request in work queue on CPU with flooded interrupts

2019-08-21 Thread Long Li
>>>Subject: RE: [PATCH 3/3] nvme: complete request in work queue on CPU >>>with flooded interrupts >>> >>Subject: Re: [PATCH 3/3] nvme: complete request in work queue on >>>CPU >>with flooded interrupts >> >> >>> From: Long Li >>> >>> When a NVMe hardware queue is

[GIT PULL] KVM fixes for Linux 5.3-rc6

2019-08-21 Thread Paolo Bonzini
Linus, The following changes since commit a738b5e75b4c13be3485c82eb62c30047aa9f164: Merge tag 'kvmarm-fixes-for-5.3-2' of git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm into HEAD (2019-08-09 16:53:50 +0200) are available in the git repository at:

Re: [v2 PATCH] RISC-V: Optimize tlb flush path.

2019-08-21 Thread Atish Patra
On Wed, 2019-08-21 at 07:45 -0700, h...@infradead.org wrote: > Btw, for the next version it also might make sense to do one > optimization at a time. E.g. the empty cpumask one as the > first patch, the local cpu directly one next, and the threshold > based full flush as a third. ok sure. I will

Re: [PATCH -next v2] sched/fair: fix -Wunused-but-set-variable warnings

2019-08-21 Thread bsegall
Qian Cai writes: > The linux-next commit "sched/fair: Fix low cpu usage with high > throttling by removing expiration of cpu-local slices" [1] introduced a > few compilation warnings, > > kernel/sched/fair.c: In function '__refill_cfs_bandwidth_runtime': > kernel/sched/fair.c:4365:6: warning:

[PATCH] kbuild: remove unneeded dependency for $(DOC_TARGETS)

2019-08-21 Thread Masahiro Yamada
Commit 415008af3219 ("docs-rst: convert lsm from DocBook to ReST") stopped using if_changed_rule. No more users of if_changed* for the doc targets. Hence, fixdep is unneeded. Remove the dependency on scripts_basic. All the doc targets are phony. Depending on FORCE is odd. Signed-off-by: Masahiro

[PATCH] kbuild: remove unneeded comments and code from scripts/basic/Makefile

2019-08-21 Thread Masahiro Yamada
Kbuild descends into scripts/basic/ even before the Kconfig. I do not expect any other host programs added to this Makefile. Signed-off-by: Masahiro Yamada --- scripts/basic/Makefile | 14 ++ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/scripts/basic/Makefile

Re: [PATCH 15/15] riscv: disable the EFI PECOFF header for M-mode

2019-08-21 Thread Atish Patra
On Tue, 2019-08-20 at 21:14 -0700, Troy Benjegerdes wrote: > > On Aug 13, 2019, at 8:47 AM, Christoph Hellwig wrote: > > > > No point in bloating the kernel image with a bootloader header if > > we run bare metal. > > I would say the same for S-mode. EFI booting should be an option, not > a

Re: [PATCH] mfd: cros_ec: Update cros_ec_commands.h

2019-08-21 Thread Enric Balletbo i Serra
Hi Lee, On 12/8/19 9:28, Lee Jones wrote: > On Mon, 22 Jul 2019, Enric Balletbo i Serra wrote: > >> Hi Lee, >> >> On 11/7/19 19:17, Gwendal Grignou wrote: >>> Reviewed-by: Gwendal Grignou >>> >>> Note there is a patch series that move cros_ec_commands.h from >>> nclude/linux/mfd/ to

[PATCH] media: hantro: Enable VP8 decoding on RK3328

2019-08-21 Thread Jonas Karlman
RK3328 SoC has the same decoder IP block as RK3399, lets enable VP8 decoding on RK3328. Signed-off-by: Jonas Karlman --- drivers/staging/media/hantro/rk3399_vpu_hw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/media/hantro/rk3399_vpu_hw.c

Re: [PATCH RFC 1/4] ACPI: APEI: Add support to notify the vendor specific HW errors

2019-08-21 Thread James Morse
Hi, On 12/08/2019 11:11, Shiju Jose wrote: > Presently the vendor specific HW errors, in the non-standard format, > are not reported to the vendor drivers for the recovery. > > This patch adds support to notify the vendor specific HW errors to the > registered kernel drivers. > diff --git

Re: [PATCH RFC 2/4] ACPI: APEI: Add ghes_handle_memory_failure to the new notification method

2019-08-21 Thread James Morse
Hi, On 12/08/2019 11:11, Shiju Jose wrote: > This patch adds ghes_handle_memory_failure to the new error > notification method. The commit message doesn't answer the question: why? The existing code works. This just looks like additional churn. Given a user, I think the vendor specific example

Re: [PATCH RFC 0/4] ACPI: APEI: Add support to notify the vendor specific HW errors

2019-08-21 Thread James Morse
Hi, On 12/08/2019 11:11, Shiju Jose wrote: > Presently kernel does not support reporting the vendor specific HW errors, > in the non-standard format, to the vendor drivers for the recovery. 'non standard' here is probably a little jarring to the casual reader. You're referring to the UEFI

Re: [patch 07/44] posix-cpu-timers: Simplify sighand locking in run_posix_cpu_timers()

2019-08-21 Thread Thomas Gleixner
On Wed, 21 Aug 2019, Frederic Weisbecker wrote: > On Wed, Aug 21, 2019 at 03:25:01PM +0200, Thomas Gleixner wrote: > > On Wed, 21 Aug 2019, Frederic Weisbecker wrote: > > > > > On Mon, Aug 19, 2019 at 04:31:48PM +0200, Thomas Gleixner wrote: > > > > run_posix_cpu_timers() is called from the timer

Re: [EXT] Re: [PATCH net-next 0/1] Add BASE-T1 PHY support

2019-08-21 Thread Heiner Kallweit
On 20.08.2019 15:36, Christian Herber wrote: > On 19.08.2019 21:07, Heiner Kallweit wrote: >> Caution: EXT Email >> >> On 19.08.2019 08:32, Christian Herber wrote: >>> On 16.08.2019 22:59, Heiner Kallweit wrote: On 15.08.2019 17:32, Christian Herber wrote: > This patch adds basic support

Re: [PATCH] selftests/kvm: make platform_info_test pass on AMD

2019-08-21 Thread Paolo Bonzini
On 21/08/19 18:10, Vitaly Kuznetsov wrote: > Vitaly Kuznetsov writes: > >> test_msr_platform_info_disabled() generates EXIT_SHUTDOWN but VMCB state >> is undefined after that so an attempt to launch this guest again from >> test_msr_platform_info_enabled() fails. Reorder the tests to make test

Re: [PATCH] ALSA: usb-audio: Fix the mixer control range limiting issue

2019-08-21 Thread Takashi Iwai
On Wed, 21 Aug 2019 12:02:25 +0200, Srinivas Kandagatla wrote: > > From: Deepa Madiregama > > - mixer_ctl_set() function is limiting the volume level > to particular range. This results in incorrect initial > volume setting for that device. > - In USB mixer while calculating the dBmin/dBmax

[PATCH v2] mm/balloon_compaction: Informative allocation warnings

2019-08-21 Thread Nadav Amit
There is no reason to print generic warnings when balloon memory allocation fails, as failures are expected and can be handled gracefully. Since VMware balloon now uses balloon-compaction infrastructure, and suppressed these warnings before, it is also beneficial to suppress these warnings to keep

Re: [PATCH net-next] net: systemport: use devm_platform_ioremap_resource() to simplify code

2019-08-21 Thread Florian Fainelli
On 8/21/19 6:46 AM, YueHaibing wrote: > Use devm_platform_ioremap_resource() to simplify the code a bit. > This is detected by coccinelle. > > Reported-by: Hulk Robot > Signed-off-by: YueHaibing Reviewed-by: Florian Fainelli -- Florian

Re: [PATCH net-next] net: bcmgenet: use devm_platform_ioremap_resource() to simplify code

2019-08-21 Thread Florian Fainelli
On 8/21/19 6:41 AM, YueHaibing wrote: > Use devm_platform_ioremap_resource() to simplify the code a bit. > This is detected by coccinelle. > > Reported-by: Hulk Robot > Signed-off-by: YueHaibing Reviewed-by: Florian Fainelli -- Florian

Re: [PATCHv7] PCI: mobiveil: Fix the CPU base address setup in inbound window

2019-08-21 Thread Lorenzo Pieralisi
On Sat, Jul 13, 2019 at 10:11:29PM +0800, Hou Zhiqiang wrote: > The current code erroneously sets-up the CPU base address with > parameter 'pci_addr', which is passed to initialize the PCI > base address of the inbound window, and the upper 32-bit of the > CPU base address of the inbound window is

Re: [PATCH net] ixgbe: fix double clean of tx descriptors with xdp

2019-08-21 Thread Alexander Duyck
On Wed, Aug 21, 2019 at 9:22 AM Ilya Maximets wrote: > > On 21.08.2019 4:17, Alexander Duyck wrote: > > On Tue, Aug 20, 2019 at 8:58 AM Ilya Maximets > > wrote: > >> > >> On 20.08.2019 18:35, Alexander Duyck wrote: > >>> On Tue, Aug 20, 2019 at 8:18 AM Ilya Maximets > >>> wrote: > >

Re: [PATCH v3 bpf-next 1/4] tracing/probe: Add PERF_EVENT_IOC_QUERY_PROBE ioctl

2019-08-21 Thread Yonghong Song
On 8/21/19 4:08 AM, Peter Zijlstra wrote: > On Tue, Aug 20, 2019 at 10:58:47AM -0700, Daniel Xu wrote: >> Hi Peter, >> >> On Tue Aug 20, 2019 at 4:45 PM Peter Zijlstra wrote: >>> On Fri, Aug 16, 2019 at 03:31:46PM -0700, Daniel Xu wrote: It's useful to know [uk]probe's nmissed and nhit

Re: [PATCH v2 net] Add genphy_c45_config_aneg() function to phy-c45.c

2019-08-21 Thread Heiner Kallweit
On 21.08.2019 17:37, Andrew Lunn wrote: > On Wed, Aug 21, 2019 at 11:00:46AM +, Marco Hartmann wrote: >> Commit 34786005eca3 ("net: phy: prevent PHYs w/o Clause 22 regs from calling >> genphy_config_aneg") introduced a check that aborts phy_config_aneg() >> if the phy is a C45 phy. >> This

[PATCH] mtd: cfi_cmdset_0002: Fix do_erase_chip() to get chip as erasing mode

2019-08-21 Thread Tokunori Ikegami
The chip state is set to erasing by the function after getting chip. So it should be to get chip as erasing mode at first. But previously it was to get chip as writing mode then fix as erasing. Signed-off-by: Tokunori Ikegami Cc: linux-...@lists.infradead.org ---

[PATCH v2 2/3] ASoC: SOF: Add OF DSP device support

2019-08-21 Thread Pierre-Louis Bossart
From: Daniel Baluta Add support for device tree based SOF DSP devices. Signed-off-by: Daniel Baluta Signed-off-by: Pierre-Louis Bossart --- sound/soc/sof/Kconfig | 10 +++ sound/soc/sof/Makefile | 3 + sound/soc/sof/sof-of-dev.c | 143 + 3

Re: [PATCH] x86/apic: Update virtual irq base for DT/OF based system as well

2019-08-21 Thread Andy Shevchenko
On Wed, Aug 21, 2019 at 03:16:31PM +0200, Thomas Gleixner wrote: > On Wed, 21 Aug 2019, Andy Shevchenko wrote: > > On Wed, Aug 21, 2019 at 01:20:53PM +0200, Thomas Gleixner wrote: > > > But x86 implements arch_dynirq_lower_bound() which overrides the core > > > limit > > > and because

[PATCH v2 1/3] dt-bindings: dsp: fsl: Add DSP core binding support

2019-08-21 Thread Pierre-Louis Bossart
From: Daniel Baluta This describes the DSP device tree node. Signed-off-by: Daniel Baluta Reviewed-by: Rob Herring Signed-off-by: Pierre-Louis Bossart --- .../devicetree/bindings/dsp/fsl,dsp.yaml | 88 +++ 1 file changed, 88 insertions(+) create mode 100644

[PATCH v2 3/3] ASoC: SOF: imx: Add i.MX8 HW support

2019-08-21 Thread Pierre-Louis Bossart
From: Daniel Baluta Add support for the audio DSP hardware found on NXP i.MX8 platform. Signed-off-by: Daniel Baluta Signed-off-by: Pierre-Louis Bossart --- sound/soc/sof/Kconfig | 1 + sound/soc/sof/Makefile | 1 + sound/soc/sof/imx/Kconfig | 22 +++

[PATCH v2 0/3] ASoC: SOF: initial support for i.MX8

2019-08-21 Thread Pierre-Louis Bossart
The reviews for these patches took place already on mailing lists and GitHub, and the code is already integrated in the SOF tree (along with dependencies already accepted in the i.MX tree) Changes since v1: As agreed with Daniel and Mark, this v2 series includes the DT bindings (Fixed

Dear Friend,

2019-08-21 Thread Mrs Maria Ibrahim
Dear Friend, I am Mrs Maria Ibrahim. am sending you this brief letter to solicit your partnership to transfer $4.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

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